diff --git a/.gitignore b/.gitignore index e5296e6..bab39bf 100644 --- a/.gitignore +++ b/.gitignore @@ -15,11 +15,9 @@ build/android/libs/ build/android/obj/ build/itch.io/tic.js build/itch.io/console.zip -build/html/tic.js build/uwp/code8/ARM/ build/uwp/code8/x64/ build/uwp/code8/code8.VC.db -embed.html build/uwp/code8/Release/ build/uwp/code8/AppPackages/code8/code8_0.0.3.0_Test/ build/uwp/code8/BundleArtifacts/ diff --git a/build/html/tic.js b/build/html/tic.js new file mode 100644 index 0000000..24a045a --- /dev/null +++ b/build/html/tic.js @@ -0,0 +1,28 @@ +var Module=typeof Module!=="undefined"?Module:{};window.addEventListener("keydown",(function(e){if(e.ctrlKey&&[82].indexOf(e.keyCode)>-1||[8,27,33,34,35,36,37,38,39,40,122,58,59,60,61,62].indexOf(e.keyCode)>-1)e.preventDefault()}),false);Module.saveAs=Module.saveAs||(function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=(function(){return e.URL||e.webkitURL||e}),r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,i=(function(e){var t=new MouseEvent("click");e.dispatchEvent(t)}),a=/constructor/i.test(e.HTMLElement),f=/CriOS\/[\d]+/.test(navigator.userAgent),u=(function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)}),d="application/octet-stream",s=1e3*40,c=(function(e){var t=(function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}});setTimeout(t,s)}),l=(function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(i){u(i)}}}}),p=(function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e}),v=(function(t,u,s){if(!s){t=p(t)}var v=this,w=t.type,m=w===d,y,h=(function(){l(v,"writestart progress write writeend".split(" "))}),S=(function(){if((f||m&&a)&&e.FileReader){var r=new FileReader;r.onloadend=(function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()});r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)});v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout((function(){r.href=y;r.download=u;i(r);h();c(y);v.readyState=v.DONE}));return}S()}),w=v.prototype,m=(function(e,t,n){return new v(e,t||e.name||"download",n)});if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return(function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)})}w.abort=(function(){});w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m})(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define([],(function(){return saveAs}))}Module.showAddPopup=(function(callback){var modal=document.getElementById("add-modal");var span=document.getElementsByClassName("close")[0];modal.style.display="block";function cancel(){modal.style.display="none";callback(null,null)}span.onclick=cancel;window.onclick=(function(event){if(event.target==modal)cancel()});var uploadInput=document.getElementById("upload-input");uploadInput.onchange=(function(){var file=uploadInput.files[0];if(!file)return;var reader=new FileReader;reader.onload=(function(event){var rom=new Uint8Array(event.target.result);callback(file.name,rom);uploadInput.value="";modal.style.display="none"});reader.readAsArrayBuffer(file)})});var moduleOverrides={};var key;for(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 shell_read(filename,binary){var ret;ret=tryParseAsDataURI(filename);if(!ret){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);ret=nodeFS["readFileSync"](filename)}return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};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}}));process["on"]("unhandledRejection",(function(reason,p){process["exit"](1)}));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"]=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}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}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}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);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function shell_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(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw new Error("Unknown runtime environment. Where are we?")}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"}if(!Module["quit"]){Module["quit"]=(function(status,toThrow){throw toThrow})}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value;return 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){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i>2];var end=(ret+size+15|0)&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;if(end>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){HEAP32[DYNAMICTOP_PTR>>2]=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=0;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}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){var len=(str.length<<2)+1;ret=Runtime.stackAlloc(len);stringToUTF8(str,ret,len)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};function ccall(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)}}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 stop;ptr=ret;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 UTF8ToString(ptr)}Module["Pointer_stringify"]=Pointer_stringify;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx){var endPtr=idx;while(u8Array[endPtr])++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{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)}}}}function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}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}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}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}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function demangle(func){return func}function demangleAll(text){var regex=/__Z[\w\d_]+/g;return text.replace(regex,(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(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}var HEAP,buffer,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,STATICTOP,staticSealed;var STACK_BASE,STACKTOP,STACK_MAX;var DYNAMIC_BASE,DYNAMICTOP_PTR;STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0;staticSealed=false;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 allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||67108864;if(TOTAL_MEMORY0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["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)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}assert(Math["imul"]&&Math["fround"]&&Math["clz32"]&&Math["trunc"],"this is a legacy browser, build with LEGACY_VM_SUPPORT");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_round=Math.round;var Math_min=Math.min;var Math_clz32=Math.clz32;var Math_trunc=Math.trunc;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($0,$1,$2){var dir="";Module.Pointer_stringify($0).split("/").forEach((function(val){if(val.length){dir+="/"+val;FS.mkdir(dir)}}));FS.mount(IDBFS,{},dir);FS.syncfs(true,(function(error){if(error)console.log(error);else Runtime.dynCall("vi",$1,[$2])}))}),(function($0,$1){alert(UTF8ToString($0)+"\n\n"+UTF8ToString($1))}),(function(){if(typeof cartridge!="undefined"&&cartridge.length){var ptr=Module._malloc(cartridge.length);Module.writeArrayToMemory(cartridge,ptr);return ptr}else return 0}),(function(){return cartridge.length}),(function($0){Module._free($0)}),(function($0,$1,$2){var name=Pointer_stringify($0);var blob=new Blob([HEAPU8.subarray($1,$1+$2)],{type:"application/octet-stream"});Module.saveAs(blob,name)}),(function($0,$1){Module.showAddPopup((function(filename,rom){if(filename==null||rom==null){Runtime.dynCall("viiiii",$0,[0,0,0,$1,0])}else{var filePtr=Module._malloc(filename.length+1);stringToUTF8(filename,filePtr,filename.length+1);var dataPtr=Module._malloc(rom.length);writeArrayToMemory(rom,dataPtr);Runtime.dynCall("viiiii",$0,[filePtr,dataPtr,rom.length,$1,0]);Module._free(filePtr);Module._free(dataPtr)}}))}),(function(){FS.syncfs((function(){}))}),(function(){return screen.width}),(function(){return screen.height}),(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;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]=val>>24&255;src++;dst+=4}}else{var data32=new Int32Array(data.buffer);num=data32.length;data32.set(HEAP32.subarray(src,src+num))}ctx.putImageData(image,0,0);var url="url("+canvas.toDataURL()+"), auto";var urlBuf=_malloc(url.length+1);stringToUTF8(url,urlBuf,url.length+1);return urlBuf}),(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(){if(typeof AudioContext!=="undefined"){return 1}else if(typeof webkitAudioContext!=="undefined"){return 1}return 0}),(function(){if(typeof navigator.mediaDevices!=="undefined"&&typeof navigator.mediaDevices.getUserMedia!=="undefined"){return 1}else if(typeof navigator.webkitGetUserMedia!=="undefined"){return 1}return 0}),(function($0){if(typeof SDL2==="undefined"){SDL2={}}if(!$0){SDL2.audio={}}else{SDL2.capture={}}if(!SDL2.audioContext){if(typeof AudioContext!=="undefined"){SDL2.audioContext=new AudioContext}else if(typeof webkitAudioContext!=="undefined"){SDL2.audioContext=new webkitAudioContext}}return SDL2.audioContext===undefined?-1:0}),(function(){return SDL2.audioContext.sampleRate}),(function($0,$1,$2,$3){var have_microphone=(function(stream){if(SDL2.capture.silenceTimer!==undefined){clearTimeout(SDL2.capture.silenceTimer);SDL2.capture.silenceTimer=undefined}SDL2.capture.mediaStreamNode=SDL2.audioContext.createMediaStreamSource(stream);SDL2.capture.scriptProcessorNode=SDL2.audioContext.createScriptProcessor($1,$0,1);SDL2.capture.scriptProcessorNode.onaudioprocess=(function(audioProcessingEvent){if(SDL2===undefined||SDL2.capture===undefined){return}audioProcessingEvent.outputBuffer.getChannelData(0).fill(0);SDL2.capture.currentCaptureBuffer=audioProcessingEvent.inputBuffer;Runtime.dynCall("vi",$2,[$3])});SDL2.capture.mediaStreamNode.connect(SDL2.capture.scriptProcessorNode);SDL2.capture.scriptProcessorNode.connect(SDL2.audioContext.destination);SDL2.capture.stream=stream});var no_microphone=(function(error){});SDL2.capture.silenceBuffer=SDL2.audioContext.createBuffer($0,$1,SDL2.audioContext.sampleRate);SDL2.capture.silenceBuffer.getChannelData(0).fill(0);var silence_callback=(function(){SDL2.capture.currentCaptureBuffer=SDL2.capture.silenceBuffer;Runtime.dynCall("vi",$2,[$3])});SDL2.capture.silenceTimer=setTimeout(silence_callback,$1/SDL2.audioContext.sampleRate*1e3);if(navigator.mediaDevices!==undefined&&navigator.mediaDevices.getUserMedia!==undefined){navigator.mediaDevices.getUserMedia({audio:true,video:false}).then(have_microphone).catch(no_microphone)}else if(navigator.webkitGetUserMedia!==undefined){navigator.webkitGetUserMedia({audio:true,video:false},have_microphone,no_microphone)}}),(function($0,$1,$2,$3){SDL2.audio.scriptProcessorNode=SDL2.audioContext["createScriptProcessor"]($1,0,$0);SDL2.audio.scriptProcessorNode["onaudioprocess"]=(function(e){if(SDL2===undefined||SDL2.audio===undefined){return}SDL2.audio.currentOutputBuffer=e["outputBuffer"];Runtime.dynCall("vi",$2,[$3])});SDL2.audio.scriptProcessorNode["connect"](SDL2.audioContext["destination"])}),(function($0){if($0){if(SDL2.capture.silenceTimer!==undefined){clearTimeout(SDL2.capture.silenceTimer)}if(SDL2.capture.stream!==undefined){var tracks=SDL2.capture.stream.getAudioTracks();for(var i=0;i>2]}}}),(function($0,$1){Module.printErr("bad name in getProcAddress: "+[Pointer_stringify($0),Pointer_stringify($1)])})];function _emscripten_asm_const_i(code){return ASM_CONSTS[code]()}function _emscripten_asm_const_iii(code,a0,a1){return ASM_CONSTS[code](a0,a1)}function _emscripten_asm_const_iiiii(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_iiii(code,a0,a1,a2){return ASM_CONSTS[code](a0,a1,a2)}STATIC_BASE=Runtime.GLOBAL_BASE;STATICTOP=STATIC_BASE+336880;__ATINIT__.push();memoryInitializer="data:application/octet-stream;base64,AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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////////////////////////////////////AAAQACAAMABAAFAAYABwAIAAkAD//////////////////6AAsADAANAA4ADwAP////////////////////////////////////////////////////////////////////+gALAAwADQAOAA8AD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8HAAMABwAYABgAYABgAIAAAAHQAFAAkADQAVABkAHAAMIIEAAAABAQABAUIAQgEHAAcBAwADAQQABAEFAAUBBgAGAQEgASECIAIhAyADIQQgBCEBAAEBAgACARMAEwMAABNAAAAQADAAcADwAfAD8AfwD/AP8B/wP/B/8PYAcAAAAIUAAACBAAFAhzABIHHwAACHAAAAgwAAAJwAAQBwoAAAhgAAAIIAAACaAAAAgAAAAIgAAACEAAAAngABAHBgAACFgAAAgYAAAJkAATBzsAAAh4AAAIOAAACdAAEQcRAAAIaAAACCgAAAmwAAAICAAACIgAAAhIAAAJ8AAQBwQAAAhUAAAIFAAVCOMAEwcrAAAIdAAACDQAAAnIABEHDQAACGQAAAgkAAAJqAAACAQAAAiEAAAIRAAACegAEAcIAAAIXAAACBwAAAmYABQHUwAACHwAAAg8AAAJ2AASBxcAAAhsAAAILAAACbgAAAgMAAAIjAAACEwAAAn4ABAHAwAACFIAAAgSABUIowATByMAAAhyAAAIMgAACcQAEQcLAAAIYgAACCIAAAmkAAAIAgAACIIAAAhCAAAJ5AAQBwcAAAhaAAAIGgAACZQAFAdDAAAIegAACDoAAAnUABIHEwAACGoAAAgqAAAJtAAACAoAAAiKAAAISgAACfQAEAcFAAAIVgAACBYAQAgAABMHMwAACHYAAAg2AAAJzAARBw8AAAhmAAAIJgAACawAAAgGAAAIhgAACEYAAAnsABAHCQAACF4AAAgeAAAJnAAUB2MAAAh+AAAIPgAACdwAEgcbAAAIbgAACC4AAAm8AAAIDgAACI4AAAhOAAAJ/ABgBwAAAAhRAAAIEQAVCIMAEgcfAAAIcQAACDEAAAnCABAHCgAACGEAAAghAA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QKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgZmxhZyA9IGFyZzptYXRjaCgiLSgldyspIikKICAgICAgICAgIGlmIGZsYWcgdGhlbgogICAgICAgICAgICBkbwogICAgICAgICAgICAgIGxvY2FsIHNob3J0X25hbWUgPSBzcGVjW2ZsYWddCiAgICAgICAgICAgICAgaWYgc2hvcnRfbmFtZSB0aGVuCiAgICAgICAgICAgICAgICBvdXRbc2hvcnRfbmFtZV0gPSB0cnVlCiAgICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgZm9yIGNoYXIgaW4gZmxhZzpnbWF0Y2goIi4iKSBkbwogICAgICAgICAgICAgICAgICBvdXRbY2hhcl0gPSB0cnVlCiAgICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgICAgICBicmVhawogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgICAgdGFibGUuaW5zZXJ0KHJlbWFpbmluZywgYXJnKQogICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICB1bnRpbCB0cnVlCiAgICAgIGlmIG5vdCBfY29udGludWVfMCB0aGVuCiAgICAgICAgYnJlYWsKICAgICAgZW5kCiAgICBlbmQKICAgIHJldHVybiBvdXQsIHJlbWFpbmluZwogIGVuZAogIHJldHVybiB7CiAgICBwYXJzZV9hcmd1bWVudHMgPSBwYXJzZV9hcmd1bWVudHMsCiAgICBwYXJzZV9zcGVjID0gcGFyc2Vfc3BlYwogIH0KICAKZW5kCnBhY2thZ2UucHJlbG9hZFsnbW9vbnNjcmlwdC5jbWQud2F0Y2hlcnMnXSA9IGZ1bmN0aW9uKCkKICBsb2NhbCByZW1vdmVfZHVwZXMKICByZW1vdmVfZHVwZXMgPSBmdW5jdGlvbihsaXN0LCBrZXlfZm4pCiAgICBsb2NhbCBzZWVuID0geyB9CiAgICByZXR1cm4gKGZ1bmN0aW9uKCkKICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgbG9jYWwgX2xlbl8wID0gMQogICAgICBmb3IgX2luZGV4XzAgPSAxLCAjbGlzdCBkbwogICAgICAgIGxvY2FsIF9jb250aW51ZV8wID0gZmFsc2UKICAgICAgICByZXBlYXQKICAgICAgICAgIGxvY2FsIGl0ZW0gPSBsaXN0W19pbmRleF8wXQogICAgICAgICAgbG9jYWwga2V5CiAgICAgICAgICBpZiBrZXlfZm4gdGhlbgogICAgICAgICAgICBrZXkgPSBrZXlfZm4oaXRlbSkKICAgICAgICAgIGVsc2UKICAgICAgICAgICAga2V5ID0gaXRlbQogICAgICAgICAgZW5kCiAgICAgICAgICBpZiBzZWVuW2tleV0gdGhlbgogICAgICAgICAgICBfY29udGludWVfMCA9IHRydWUKICAgICAgICAgICAgYnJlYWsKICAgICAgICAgIGVuZAogICAgICAgICAgc2VlbltrZXldID0gdHJ1ZQogICAgICAgICAgbG9jYWwgX3ZhbHVlXzAgPSBpdGVtCiAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gX3ZhbHVlXzAKICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgIHVudGlsIHRydWUKICAgICAgICBpZiBub3QgX2NvbnRpbnVlXzAgdGhlbgogICAgICAgICAgYnJlYWsKICAgICAgICBlbmQKICAgICAgZW5kCiAgICAgIHJldHVybiBfYWNjdW1fMAogICAgZW5kKSgpCiAgZW5kCiAgbG9jYWwgcGx1cmFsCiAgcGx1cmFsID0gZnVuY3Rpb24oY291bnQsIHdvcmQpCiAgICByZXR1cm4gdG9zdHJpbmcoY291bnQpIC4uICIgIiAuLiB0b3N0cmluZyh3b3JkKSAuLiB0b3N0cmluZyhjb3VudCA9PSAxIGFuZCAiIiBvciAicyIpCiAgZW5kCiAgbG9jYWwgV2F0Y2hlcgogIGRvCiAgICBsb2NhbCBfY2xhc3NfMAogICAg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NlbGYpCiAgICAgICAgbG9jYWwgcGFyc2VfZGlyCiAgICAgICAgcGFyc2VfZGlyID0gcmVxdWlyZSgibW9vbnNjcmlwdC5jbWQubW9vbmMiKS5wYXJzZV9kaXIKICAgICAgICBsb2NhbCBkaXJzCiAgICAgICAgZG8KICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgICAgICBsb2NhbCBfbGlzdF8wID0gc2VsZi5maWxlX2xpc3QKICAgICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNfbGlzdF8wIGRvCiAgICAgICAgICAgIGxvY2FsIF9kZXNfMCA9IF9saXN0XzBbX2luZGV4XzBdCiAgICAgICAgICAgIGxvY2FsIGZpbGVfcGF0aAogICAgICAgICAgICBmaWxlX3BhdGggPSBfZGVzXzBbMV0KICAgICAgICAgICAgbG9jYWwgZGlyID0gcGFyc2VfZGlyKGZpbGVfcGF0aCkKICAgICAgICAgICAgaWYgZGlyID09ICIiIHRoZW4KICAgICAgICAgICAgICBkaXIgPSAiLi8iCiAgICAgICAgICAgIGVuZAogICAgICAgICAgICBsb2NhbCBfdmFsdWVfMCA9IGRpcgogICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gX3ZhbHVlXzAKICAgICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgZW5kCiAgICAgICAgICBkaXJzID0gX2FjY3VtXzAKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gcmVtb3ZlX2R1cGVzKGRpcnMpCiAgICAgIGVuZCwKICAgICAgZWFjaF91cGRhdGUgPSBmdW5jdGlvbihzZWxmKQogICAgICAgIHJldHVybiBjb3JvdXRpbmUud3JhcChmdW5jdGlvbigpCiAgICAgICAgICBsb2NhbCBkaXJzID0gc2VsZjpnZXRfZGlycygpCiAgICAgICAgICBzZWxmOnByaW50X3N0YXJ0KCJpbm90aWZ5IiwgcGx1cmFsKCNkaXJzLCAiZGlyIikpCiAgICAgICAgICBsb2NhbCB3ZF90YWJsZSA9IHsgfQogICAgICAgICAgbG9jYWwgaW5vdGlmeSA9IHJlcXVpcmUoImlub3RpZnkiKQogICAgICAgICAgbG9jYWwgaGFuZGxlID0gaW5vdGlmeS5pbml0KCkKICAgICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNkaXJzIGRvCiAgICAgICAgICAgIGxvY2FsIGRpciA9IGRpcnNbX2luZGV4XzBdCiAgICAgICAgICAgIGxvY2FsIHdkID0gaGFuZGxlOmFkZHdhdGNoKGRpciwgaW5vdGlmeS5JTl9DTE9TRV9XUklURSwgaW5vdGlmeS5JTl9NT1ZFRF9UTykKICAgICAgICAgICAgd2RfdGFibGVbd2RdID0gZGlyCiAgICAgICAgICBlbmQKICAgICAgICAgIHdoaWxlIHRydWUgZG8KICAgICAgICAgICAgbG9jYWwgZXZlbnRzID0gaGFuZGxlOnJlYWQoKQogICAgICAgICAgICBpZiBub3QgKGV2ZW50cykgdGhlbgogICAgICAgICAgICAgIGJyZWFrCiAgICAgICAgICAgIGVuZAogICAgICAgICAgICBmb3IgX2luZGV4XzAgPSAxLCAjZXZlbnRzIGRvCiAgICAgICAgICAgICAgbG9jYWwgX2NvbnRpbnVlXzAgPSBmYWxzZQogICAgICAgICAgICAgIHJlcGVhdAogICAgICAgICAgICAgICAgbG9jYWwgZXYgPSBldmVudHNbX2luZGV4XzBdCiAgICAgICAgICAgICAgICBsb2NhbCBmbmFtZSA9IGV2Lm5hbWUKICAgICAgICAgICAgICAgIGlmIG5vdCAoZm5hbWU6bWF0Y2goIiUubW9vbiQiKSkgdGhlbgogICAgICAgICAgICAgICAgICBfY29udGludWVfMCA9IHRydWUKICAgICAgICAgICAgICAgICAgYnJlYWsKICAgICAgICAgICAgICAgIGVuZAogICAgICAgICAgICAgICAgbG9jYWwgZGlyID0gd2RfdGFibGVbZXYud2RdCiAgICAgICAgICAgICAgICBpZiBkaXIgfj0gIi4vIiB0aGVuCiAgICAgICAgICAgICAgICAgIGZuYW1lID0gZGlyIC4uIGZuYW1lCiAgICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICAgIGNvcm91dGluZS55aWVsZChmbmFtZSkKICAgICAgICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgICAgICAgIHVudGlsIHRydWUKICAgICAgICAgICAgICBpZiBub3QgX2NvbnRpbnVlXzAgdGhlbgogICAgICAgICAgICAgICAgYnJlYWsKICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgZW5kCiAgICAgICAgICBlbmQKICAgICAgICBlbmQpCiAgICAgIGVuZAogICAgfQogICAgX2Jhc2VfMC5fX2luZGV4ID0gX2Jhc2VfMAogICAgc2V0bWV0YXRhYmxlKF9iYXNlXzAsIF9wYXJlbnRfMC5fX2Jhc2UpCiAgICBfY2xhc3NfMCA9IHNldG1ldGF0YWJsZSh7CiAgICAgIF9faW5pdCA9IGZ1bmN0aW9uKHNlbGYsIC4uLikKICAgICAgICByZXR1cm4gX2NsYXNzXzAuX19wYXJlbnQuX19pbml0KHNlbGYsIC4uLikKICAgICAgZW5kLAogICAgICBfX2Jhc2UgPSBfYmFzZV8wLAogICAgICBfX25hbWUgPSAiSW5vdGlmeVdhY2hlciIsCiAgICAgIF9fcGFyZW50ID0gX3BhcmVudF8wCiAgICB9LCB7CiAgICAgIF9faW5kZXggPSBmdW5jdGlvbihjbHMsIG5hbWUpCiAgICAgICAgbG9jYWwgdmFsID0gcmF3Z2V0KF9iYXNlXzAsIG5hbWUpCiAgICAgICAgaWYgdmFsID09IG5pbCB0aGVuCiAgICAgICAgICBsb2NhbCBwYXJlbnQgPSByYXdnZXQoY2xzLCAiX19wYXJlbnQiKQogICAgICAgICAgaWYgcGFyZW50IHRoZW4KICAgICAgICAgICAgcmV0dXJuIHBhcmVudFtuYW1lXQogICAgICAgICAgZW5kCiAgICAgICAgZWxzZQogICAgICAgICAgcmV0dXJuIHZhbAogICAgICAgIGVuZAogICAgICBlbmQsCiAgICA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luc3RhbGwgTHVhU29ja2V0IikKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gc2xlZXAKICAgICAgZW5kLAogICAgICBlYWNoX3VwZGF0ZSA9IGZ1bmN0aW9uKHNlbGYpCiAgICAgICAgcmV0dXJuIGNvcm91dGluZS53cmFwKGZ1bmN0aW9uKCkKICAgICAgICAgIGxvY2FsIGxmcyA9IHJlcXVpcmUoImxmcyIpCiAgICAgICAgICBsb2NhbCBzbGVlcCA9IHNlbGY6Z2V0X3NsZWVwX2Z1bmMoKQogICAgICAgICAgc2VsZjpwcmludF9zdGFydCgicG9sbGluZyIsIHBsdXJhbCgjc2VsZi5maWxlX2xpc3QsICJmaWxlcyIpKQogICAgICAgICAgbG9jYWwgbW9kX3RpbWUgPSB7IH0KICAgICAgICAgIHdoaWxlIHRydWUgZG8KICAgICAgICAgICAgbG9jYWwgX2xpc3RfMCA9IHNlbGYuZmlsZV9saXN0CiAgICAgICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNfbGlzdF8wIGRvCiAgICAgICAgICAgICAgbG9jYWwgX2NvbnRpbnVlXzAgPSBmYWxzZQogICAgICAgICAgICAgIHJlcGVhdAogICAgICAgICAgICAgICAgbG9jYWwgX2Rlc18wID0gX2xpc3RfMFtfaW5kZXhfMF0KICAgICAgICAgICAgICAgIGxvY2FsIGZpbGUKICAgICAgICAgICAgICAgIGZpbGUgPSBfZGVzXzBbMV0KICAgICAgICAgICAgICAgIGxvY2FsIHRpbWUgPSBsZnMuYXR0cmlidXRlcyhmaWxlLCAibW9kaWZpY2F0aW9uIikKICAgICAgICAgICAgICAgIHByaW50KGZpbGUsIHRpbWUpCiAgICAgICAgICAgICAgICBpZiBub3QgKHRpbWUpIHRoZW4KICAgICAgICAgICAgICAgICAgbW9kX3RpbWVbZmlsZV0gPSBuaWwKICAgICAgICAgICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgICAgICAgICAgIGJyZWFrCiAgICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICAgIGlmIG5vdCAobW9kX3RpbWVbZmlsZV0pIHRoZW4KICAgICAgICAgICAgICAgICAgbW9kX3RpbWVbZmlsZV0gPSB0aW1lCiAgICAgICAgICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgICAgICBpZiB0aW1lID4gbW9kX3RpbWVbZmlsZV0gdGhlbgogICAgICAgICAgICAgICAgICBtb2RfdGltZVtmaWxlXSA9IHRpbWUKICAgICAgICAgICAgICAgICAgY29yb3V0aW5lLnlpZWxkKGZpbGUpCiAgICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgICAgICAgIHVudGlsIHRydWUKICAgICAgICAgICAgICBpZiBub3QgX2NvbnRpbnVlXzAgdGhlbgogICAgICAgICAgICAgICAgYnJlYWsKICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIHNsZWVwKHNlbGYucG9sbGluZ19yYXRlKQogICAgICAgICAgZW5kCiAgICAgICAgZW5kKQogICAgICBlbmQKICAgIH0KICAgIF9iYXNlXzAuX19pbmRleCA9IF9iYXNlXzAKICAgIHNldG1ldGF0YWJsZShfYmFzZV8wLCBfcGFyZW50XzAuX19iYXNlKQogICAgX2NsYXNzXzAgPSBzZXRtZXRhdGFibGUoewogICAgICBfX2luaXQgPSBmdW5jdGlvbihzZWxmLCAuLi4pCiAgICAgICAgcmV0dXJuIF9jbGFzc18wLl9fcGFyZW50Ll9faW5pdChzZWxmLCAuLi4pCiAgICAgIGVuZCwKICAgICAgX19iYXNlID0gX2Jhc2VfMCwKICAgICAgX19uYW1lID0gIlNsZWVwV2F0Y2hlciIsCiAgICAgIF9fcGFyZW50ID0gX3BhcmVudF8wCiAgICB9LCB7CiAgICAgIF9faW5kZXggPSBmdW5jdGlvbihjbHMsIG5hbWUpCiAg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iAiXG4iKQogIGVuZAogIGxvY2FsIGNyZWF0ZV9jb3VudGVyCiAgY3JlYXRlX2NvdW50ZXIgPSBmdW5jdGlvbigpCiAgICByZXR1cm4gc2V0bWV0YXRhYmxlKHsgfSwgewogICAgICBfX2luZGV4ID0gZnVuY3Rpb24oc2VsZiwgbmFtZSkKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgdGJsID0gc2V0bWV0YXRhYmxlKHsgfSwgewogICAgICAgICAgICBfX2luZGV4ID0gZnVuY3Rpb24oc2VsZikKICAgICAgICAgICAgICByZXR1cm4gMAogICAgICAgICAgICBlbmQKICAgICAgICAgIH0pCiAgICAgICAgICBzZWxmW25hbWVdID0gdGJsCiAgICAgICAgICByZXR1cm4gdGJsCiAgICAgICAgZW5kCiAgICAgIGVuZAogICAgfSkKICBlbmQKICBsb2NhbCBwb3NpdGlvbl90b19saW5lcwogIHBvc2l0aW9uX3RvX2xpbmVzID0gZnVuY3Rpb24oZmlsZV9jb250ZW50LCBwb3NpdGlvbnMpCiAgICBsb2NhbCBsaW5lcyA9IHsgfQogICAgbG9jYWwgY3VycmVudF9wb3MgPSAwCiAgICBsb2NhbCBsaW5lX25vID0gMQogICAgZm9yIGNoYXIgaW4gZmlsZV9jb250ZW50OmdtYXRjaCgiLiIpIGRvCiAgICAgIGRvCiAgICAgICAgbG9jYWwgY291bnQgPSByYXdnZXQocG9zaXRpb25zLCBjdXJyZW50X3BvcykKICAgICAgICBpZiBjb3VudCB0aGVuCiAgICAgICAgICBsaW5lc1tsaW5lX25vXSA9IGNvdW50CiAgICAgICAgZW5kCiAgICAgIGVuZAogICAgICBpZiBjaGFyID09ICJcbiIgdGhlbgogICAgICAgIGxpbmVfbm8gPSBsaW5lX25vICsgMQogICAgICBlbmQKICAgICAgY3VycmVudF9wb3MgPSBjdXJyZW50X3BvcyArIDEKICAgIGVuZAogICAgcmV0dXJuIGxpbmVzCiAgZW5kCiAgbG9jYWwgZm9ybWF0X2ZpbGUKICBmb3JtYXRf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AgICAgICBsb2NhbCBfZm5fMCA9IF9iYXNlXzEucHJvY2Vzc19saW5lCiAgICAgICAgICByZXR1cm4gZnVuY3Rpb24oLi4uKQogICAgICAgICAgICByZXR1cm4gX2ZuXzAoX2Jhc2VfMSwgLi4uKQogICAgICAgICAgZW5kCiAgICAgICAgZW5kKSgpLCAibCIpCiAgICAgIGVuZCwKICAgICAgc3RvcCA9IGZ1bmN0aW9uKHNlbGYpCiAgICAgICAgcmV0dXJuIGRlYnVnLnNldGhvb2soKQogICAgICBlbmQsCiAgICAgIHByaW50X3Jlc3VsdHMgPSBmdW5jdGlvbihzZWxmKQogICAgICAgIHJldHVybiBzZWxmOmZvcm1hdF9yZXN1bHRzKCkKICAgICAgZW5kLAogICAgICBwcm9jZXNzX2xpbmUgPSBmdW5jdGlvbihzZWxmLCBfLCBsaW5lX25vKQogICAgICAgIGxvY2FsIGRlYnVnX2RhdGEgPSBkZWJ1Zy5nZXRpbmZvKDIsICJTIikKICAgICAgICBsb2NhbCBzb3VyY2UgPSBkZWJ1Z19kYXRhLnNvdXJjZQogICAgICAgIHNlbGYubGluZV9jb3VudHNbc291cmNlXVtsaW5lX25vXSA9IHNlbGYubGluZV9jb3VudHNbc291cmNlXVtsaW5lX25vXSArIDEKICAgICAgZW5kLAogICAgICBmb3JtYXRfcmVzdWx0cyA9IGZ1bmN0aW9uKHNlbGYpCiAgICAgICAgbG9jYWwgbGluZV90YWJsZSA9IHJlcXVpcmUoIm1vb25zY3JpcHQubGluZV90YWJsZXMiKQogICAgICAgIGxvY2FsIHBvc2l0aW9ucyA9IGNyZWF0ZV9jb3VudGVyKCkKICAgICAgICBmb3IgZmlsZSwgbGluZXMgaW4gcGFpcnMoc2VsZi5saW5lX2NvdW50cykgZG8KICAgICAgICAgIGxvY2FsIF9jb250aW51ZV8wID0gZmFsc2UKICAgICAgICAgIHJlcGVhdAogICAgICAgICAgICBsb2NhbCBmaWxlX3RhYmxlID0gbGluZV90YWJsZVtmaWxlXQogICAgICAgICAgICBpZiBub3QgKGZpbGVfdGFibGUpIHRoZW4KICAgICAgICAgICAgICBfY29udGludWVfMCA9IHRydWUKICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICBlbmQKICAgICAgICAgICAgZm9yIGxpbmUsIGNvdW50IGluIHBhaXJzKGxpbmVzKSBkbwogICAgICAgICAgICAgIGxvY2FsIF9jb250aW51ZV8xID0gZmFsc2UKICAgICAgICAgICAgICByZXBlYXQKICAgICAgICAgICAgICAgIGxvY2FsIHBvc2l0aW9uID0gZmlsZV90YWJsZVtsaW5lXQogICAgICAgICAgICAgICAgaWYgbm90IChwb3NpdGlvbikgdGhlbgogICAgICAgICAgICAgICAgICBfY29udGludWVfMSA9IHRydWUKICAgICAgICAgICAgICAgICAgYnJlYWsKICAgICAgICAgICAgICAgIGVuZAogICAgICAgICAgICAgICAgcG9zaXRpb25zW2ZpbGVdW3Bvc2l0aW9uXSA9IHBvc2l0aW9uc1tmaWxlXVtwb3NpdGlvbl0gKyBjb3VudAogICAgICAgICAgICAgICAgX2NvbnRpbnVlXzEgPSB0cnVlCiAgICAgICAgICAgICAgdW50aWwgdHJ1ZQogICAgICAgICAgICAgIGlmIG5vdCBfY29udGludWVfMSB0aGVuCiAgICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICAgIGVuZAogICAgICAgICAgICBlbmQKICAgICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgICB1bnRpbCB0cnVlCiAgICAgICAgICBpZiBub3QgX2NvbnRpbnVlXzAgdGhlbgogICAgICAgICAgICBicmVhawogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgICAgZm9yIGZpbGUsIHBzIGluIHBhaXJzKHBvc2l0aW9ucykgZG8KICAgICAgICAgIGZvcm1hdF9maWxlKGZpbGUsIHBzKQogICAgICAgIGVuZAogICAgICBlbmQKICAgIH0KICAgIF9iYXNlXzAuX19pbmRleCA9IF9iYXNlXzAKICAgIF9jbGFzc18wID0gc2V0bWV0YXR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1ZycsCiAgICAnZG9maWxlJywKICAgICdlcnJvcicsCiAgICAnZ2V0ZmVudicsCiAgICAnZ2V0bWV0YXRhYmxlJywKICAgICdpbycsCiAgICAnaXBhaXJzJywKICAgICdsb2FkJywKICAgICdsb2FkZmlsZScsCiAgICAnbG9hZHN0cmluZycsCiAgICAnbWF0aCcsCiAgICAnbW9kdWxlJywKICAgICduZXh0JywKICAgICdvcycsCiAgICAncGFja2FnZScsCiAgICAncGFpcnMnLAogICAgJ3BjYWxsJywKICAgICdwcmludCcsCiAgICAncmF3ZXF1YWwnLAogICAgJ3Jhd2dldCcsCiAgICAncmF3bGVuJywKICAgICdyYXdzZXQnLAogICAgJ3JlcXVpcmUnLAogICAgJ3NlbGVjdCcsCiAgICAnc2V0ZmVudicsCiAgICAnc2V0bWV0YXRhYmxlJywKICAgICdzdHJpbmcnLAogICAgJ3RhYmxlJywKICAgICd0b251bWJlcicsCiAgICAndG9zdHJpbmcnLAogICAgJ3R5cGUnLAogICAgJ3VucGFjaycsCiAgICAneHBjYWxsJywKICAgICJuaWwiLAogICAgInRydWUiLAogICAgImZhbHNlIgogIH0pCiAgbG9jYWwgTGludGVyQmxvY2sKICBkbwogICAgbG9jYWwgX2NsYXNzXzAKICAgIGxvY2FsIF9wYXJlbnRfMCA9IEJsb2NrCiAgICBsb2NhbCBfYmFzZV8wID0gewogICAgICBsaW50X21hcmtfdXNlZCA9IGZ1bmN0aW9uKHNlbGYsIG5hbWUpCiAgICAgICAgaWYgc2VsZi5saW50X3VudXNlZF9uYW1lcyBhbmQgc2VsZi5saW50X3VudXNlZF9uYW1lc1tuYW1lXSB0aGVuCiAgICAgICAgICBzZWxmLmxpbnRfdW51c2VkX25hbWVzW25hbWVdID0gZmFsc2UKICAgICAgICAgIHJldHVybiAKICAgICAgICBlbmQKICAgICAgICBpZiBzZWxmLnBhcmVudCB0aGVuCiAgICAgICAgICByZXR1cm4gc2VsZi5wYXJlbnQ6bGludF9tYXJrX3VzZWQobmFtZSkKICAgICAgICBlbmQKICAgICAgZW5kLAogICAgICBsaW50X2NoZWNrX3VudXNlZCA9IGZ1bmN0aW9uKHNlbGYpCiAgICAgICAgaWYgbm90IChzZWxmLmxpbnRfdW51c2VkX25hbWVzIGFuZCBuZXh0KHNlbGYubGludF91bnVzZWRfbmFtZXMpKSB0aGVuCiAgICAgICAgICByZXR1cm4gCiAgICAgICAgZW5kCiAgICAgICAgbG9jYWwgbmFtZXNfYnlfcG9zaXRpb24gPSB7IH0KICAgICAgICBmb3IgbmFtZSwgcG9zIGluIHBhaXJzKHNlbGYubGludF91bnVzZWRfbmFtZXMpIGRvCiAgICAgICAgICBsb2NhbCBfY29udGludWVfMCA9IGZhbHNlCiAgICAgICAgICByZXBlYXQKICAgICAgICAgICAgaWYgbm90IChwb3MpIHRoZW4KICAgICAgICAgICAgICBfY29udGludWVfMCA9IHRydWUKICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICBlbmQKICAgICAgICAgICAgbmFtZXNfYnlfcG9zaXRpb25bcG9zXSA9IG5hbWVzX2J5X3Bvc2l0aW9uW3Bvc10gb3IgeyB9CiAgICAgICAgICAgIGluc2VydChuYW1lc19ieV9wb3NpdGlvbltwb3NdLCBuYW1lKQogICAgICAgICAgICBfY29udGludWVfMCA9IHRydWUKICAgICAgICAgIHVudGlsIHRydWUKICAgICAgICAgIGlmIG5vdCBfY29udGludWVfMCB0aGVuCiAgICAgICAgICAgIGJyZWFrCiAgICAgICAgICBlbmQKICAgICAgICBlbmQKICAgICAgICBsb2NhbCB0dXBsZXMKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgIGZvciBwb3MsIG5hbWVzIGluIHBhaXJzKG5hbWVzX2J5X3Bvc2l0aW9uKSBkbwogICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gewogICAgICAgICAgICAgIHBvcywKICAgICAgICAgICAgICBuYW1lcwogICAgICAgICAgICB9CiAgICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgIGVuZAogICAgICAgICAgdHVwbGVzID0gX2FjY3VtXzAKICAgICAgICBlbmQKICAgICAgICB0YWJsZS5zb3J0KHR1cGxlcywgZnVuY3Rpb24oYSwgYikKICAgICAgICAgIHJldHVybiBhWzFdIDwgYlsxXQogICAgICAgIGVuZCkKICAgICAgICBmb3IgX2luZGV4XzAgPSAxLCAjdHVwbGVzIGRvCiAgICAgICAgICBsb2NhbCBfZGVzXzAgPSB0dXBsZXNbX2luZGV4XzBdCiAgICAgICAgICBsb2NhbCBwb3MsIG5hbWVzCiAgICAgICAgICBwb3MsIG5hbWVzID0gX2Rlc18wWzFdLCBfZGVzXzBbMl0KICAgICAgICAgIGluc2VydChzZWxmOmdldF9yb290X2Jsb2NrKCkubGludF9lcnJvcnMsIHsKICAgICAgICAgICAgImFzc2lnbmVkIGJ1dCB1bnVzZWQgIiAuLiB0b3N0cmluZyh0YWJsZS5jb25jYXQoKGZ1bmN0aW9uKCkKICAgICAgICAgICAgICBsb2NhbCBfYWNjdW1fMCA9IHsgfQogICAgICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgICAgICBmb3IgX2luZGV4XzEgPSAxLCAjbmFtZXMgZG8KICAgICAgICAgICAgICAgIGxvY2FsIG4gPSBuYW1lc1tfaW5kZXhfMV0KICAgICAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSAiYCIgLi4gdG9zdHJpbmcobikgLi4gImAiCiAgICAgICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgICAgcmV0dXJuIF9hY2N1bV8wCiAgICAgICAgICAgIGVuZCkoKSwgIiwgIikpLAogICAgICAgICAgICBwb3MKICAgICAgICAgIH0pCiAgICAgICAgZW5kCiAgICAgIGVuZCwKICAgICAgcmVuZGVyID0gZnVuY3Rpb24oc2VsZiwgLi4uKQogICAgICAgIHNlbGY6bGludF9jaGVja191bnVzZWQoKQogICAgICAgIHJldHVybiBfY2xhc3NfMC5fX3BhcmVudC5fX2Jhc2UucmVuZGVyKHNlbGYsIC4uLikKICAgICAgZW5kLAogICAgICBibG9jayA9IGZ1bmN0aW9uKHNlbGYsIC4uLikKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgX3dpdGhfMCA9IF9jbGFzc18wLl9fcGFyZW50Ll9fYmFzZS5ibG9jayhzZWxmLCAuLi4pCiAgICAgICAgICBfd2l0aF8wLmJsb2NrID0gc2VsZi5ibG9jawogICAgICAgICAgX3dpdGhfMC5yZW5kZXIgPSBzZWxmLnJlbmRlcgogICAgICAgICAgX3dpdGhfMC5nZXRfcm9vdF9ibG9jayA9IHNlbGYuZ2V0X3Jvb3RfYmxvY2sKICAgICAgICAgIF93aXRoXzAubGludF9jaGVja191bnVzZWQgPSBzZWxmLmxpbnRfY2hlY2tfdW51c2VkCiAgICAgICAgICBfd2l0aF8wLmxpbnRfbWFya191c2VkID0gc2VsZi5saW50X21hcmtfdXNlZAogICAgICAgICAgX3dpdGhfMC52YWx1ZV9jb21waWxlcnMgPSBzZWxmLnZhbHVlX2NvbXBpbGVycwogICAgICAgICAgX3dpdGhfMC5zdGF0ZW1lbnRfY29tcGlsZXJzID0gc2VsZi5zdGF0ZW1lbnRfY29tcGlsZXJzCiAgICAgICAgICByZXR1cm4gX3dpdGhfMAogICAgICAgIGVuZAogICAgICBlbmQKICAgIH0KICAgIF9iYXNlXzAuX19pbmRleCA9IF9iYXNlXzAKICAgIHNldG1ldGF0YWJsZShfYmFzZV8wLCBfcGFyZW50XzAuX19iYXNlKQogICAgX2NsYXNzXzAgPSBzZXRtZXRhdGFibGUoewogICAgICBfX2luaXQgPSBmdW5jdGlvbihzZWxmLCB3aGl0ZWxpc3RfZ2xvYmFscywgLi4uKQogICAgICAgIGlmIHdoaXRlbGlzdF9nbG9iYWxzID09IG5pbCB0aGVuCiAgICAgICAgICB3aGl0ZWxpc3RfZ2xvYmFscyA9IGRlZmF1bHRfd2hpdGVsaXN0CiAgICAgICAgZW5kCiAgICAgICAgX2NsYXNzXzAuX19wYXJlbnQuX19pbml0KHNlbGYsIC4uLikKICAgICAgICBzZWxmLmdldF9yb290X2Jsb2NrID0gZnVuY3Rpb24oKQogICAgICAgICAgcmV0dXJuIHNlbGYKICAgICAgICBlbmQKICAgICAgICBzZWxmLmxpbnRfZXJyb3JzID0geyB9CiAgICAgICAgbG9jYWwgdmMgPSBzZWxmLnZhbHVlX2NvbXBpbGVycwogICAgICAgIHNlbGYudmFsdWVfY29tcGlsZXJzID0gc2V0bWV0YXRhYmxlKHsKICAgICAgICAgIHJlZiA9IGZ1bmN0aW9uKGJsb2NrLCB2YWwpCiAgICAgICAgICAgIGxvY2FsIG5hbWUgPSB2YWxbMl0KICAgICAgICAgICAgaWYgbm90IChibG9jazpoYXNfbmFtZShuYW1lKSBvciB3aGl0ZWxpc3RfZ2xvYmFsc1tuYW1lXSBvciBuYW1lOm1hdGNoKCIlLiIpKSB0aGVuCiAgICAgICAgICAgICAgaW5zZXJ0KHNlbGYubGludF9lcnJvcnMsIHsKICAgICAgICAgICAgICAgICJhY2Nlc3NpbmcgZ2xvYmFsIGAiIC4uIHRvc3RyaW5nKG5hbWUpIC4uICJgIiwKICAgICAgICAgICAgICAgIHZhbFstMV0KICAgICAgICAgICAgICB9KQogICAgICAgICAgICBlbmQKICAgICAgICAgICAgYmxvY2s6bGludF9tYXJrX3VzZWQobmFtZSkKICAgICAgICAgICAgcmV0dXJuIHZjLnJlZihibG9jaywgdmFsKQogICAgICAgICAgZW5kCiAgICAgICAgfSwgewogICAgICAgICAgX19pbmRleCA9IHZjCiAgICAgICAgfSkKICAgICAgICBsb2NhbCBzYyA9IHNlbGYuc3RhdGVtZW50X2NvbXBpbGVycwogICAgICAgIHNlbGYuc3RhdGVtZW50X2NvbXBpbGVycyA9IHNldG1ldGF0YWJsZSh7CiAgICAgICAgICBhc3NpZ24gPSBmdW5jdGlvbihibG9jaywgbm9kZSkKICAgICAgICAgICAgbG9jYWwgbmFtZXMgPSBub2RlWzJdCiAgICAgICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNuYW1lcyBkbwogICAgICAgICAgICAgIGxvY2FsIF9jb250aW51ZV8wID0gZmFsc2UKICAgICAgICAgICAgICByZXBlYXQKICAgICAgICAgICAgICAgIGxvY2FsIG5hbWUgPSBuYW1lc1tfaW5kZXhfMF0KICAgICAgICAgICAgICAgIGlmIHR5cGUobmFtZSkgPT0gInRhYmxlIiBhbmQgbmFtZVsxXSA9PSAidGVtcF9uYW1lIiB0aGVuCiAgICAgICAgICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgICAgICBsb2NhbCByZWFsX25hbWUsIGlzX2xvY2FsID0gYmxvY2s6ZXh0cmFjdF9hc3NpZ25fbmFtZShuYW1lKQogICAgICAgICAgICAgICAgaWYgbm90IChpc19sb2NhbCBvciByZWFsX25hbWUgYW5kIG5vdCBibG9jazpoYXNfbmFtZShyZWFsX25hbWUsIHRydWUpKSB0aGVuCiAgICAgICAgICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgICAgICBpZiByZWFsX25hbWUgPT0gIl8iIHRoZW4KICAgICAgICAgICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgICAgICAgICAgIGJyZWFrCiAgICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICAgIGJsb2NrLmxpbnRfdW51c2VkX25hbWVzID0gYmxvY2subGludF91bnVzZWRfbmFtZXMgb3IgeyB9CiAgICAgICAgICAgICAgICBibG9jay5saW50X3VudXNlZF9uYW1lc1tyZWFsX25hbWVdID0gbm9kZVstMV0gb3IgMAogICAgICAgICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgICAgICAgdW50aWwgdHJ1ZQogICAgICAgICAgICAgIGlmIG5vdCBfY29udGludWVfMCB0aGVuCiAgICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICAgIGVuZAogICAgICAgICAgICBlbmQKICAgICAgICAgICAgcmV0dXJuIHNjLmFzc2lnbihibG9jaywgbm9kZSkKICAgICAgICAgIGVuZAogICAgICAgIH0sIHsKICAgICAgICAgIF9faW5kZXggPSBzYwogICAgICAgIH0pCiAgICAgIGVuZCwKICAgICAgX19iYXNlID0gX2Jhc2VfMCwKICAgICAgX19uYW1lID0gIkxpbnRlckJsb2NrIiwKICAgICAgX19wYXJlbnQgPSBfcGFyZW50XzAKICAgIH0sIHsKICAgICAgX19pbmRleCA9IGZ1bmN0aW9uKGNscywgbmFtZSkKICAgICAgICBsb2NhbCB2YWwgPSByYXdnZXQoX2Jhc2VfMCwgbmFtZSkKICAgICAgICBpZiB2YWwgPT0gbmlsIHRoZW4KICAgICAgICAgIGxvY2FsIHBhcmVudCA9IHJhd2dldChjbHMsICJfX3BhcmVudCIpCiAgICAgICAgICBpZiBwYXJlbnQgdGhlbgogICAgICAgICAgICByZXR1cm4gcGFyZW50W25hbWVdCiAgICAgICAgICBlbmQKICAgICAgICBlbHNlCiAgICAgICAgICByZXR1cm4gdmFsCiAgICAgICAgZW5kCiAgICAgIGVuZCwKICAgICAgX19jYWxsID0gZnVuY3Rpb24oY2xzLCAuLi4pCiAgICAgICAgbG9jYWwgX3NlbGZfMCA9IHNldG1ldGF0YWJsZSh7fSwgX2Jhc2VfMCkKICAgICAgICBjbHMuX19pbml0KF9zZWxmXzAsIC4uLikKICAgICAgICByZXR1cm4gX3NlbGZfMAogICAgICBlbmQKICAgIH0pCiAgICBfYmFzZV8wLl9fY2xhc3MgPSBfY2xhc3NfMAogICAgaWYgX3BhcmVudF8wLl9faW5oZXJpdGVkIHRoZW4KICAgICAgX3BhcmVudF8wLl9faW5oZXJpdGVkKF9wYXJlbnRfMCwgX2NsYXNzXzApCiAgICBlbmQKICAgIExpbnRlckJsb2NrID0gX2NsYXNzXzAKICBlbmQKICBsb2NhbCBmb3JtYXRfbGludAogIGZvcm1hdF9saW50ID0gZnVuY3Rpb24oZXJyb3JzLCBjb2RlLCBoZWFkZXIpCiAgICBpZiBub3QgKG5leHQoZXJyb3JzKSkgdGhlbgogICAgICByZXR1cm4gCiAgICBlbmQKICAgIGxvY2FsIHBvc190b19saW5lLCBnZXRfbGluZQogICAgZG8KICAgICAgbG9jYWwgX29ial8wID0gcmVxdWlyZSgibW9vbnNjcmlwdC51dGlsIikKICAgICAgcG9zX3RvX2xpbmUsIGdldF9saW5lID0gX29ial8wLnBvc190b19saW5lLCBfb2JqXzAuZ2V0X2xpbmUKICAgIGVuZAogICAgbG9jYWwgZm9ybWF0dGVkCiAgICBkbwogICAgICBsb2NhbCBfYWNjdW1fMCA9IHsgfQogICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNlcnJvcnMgZG8KICAgICAgICBsb2NhbCBfZGVzXzAgPSBlcnJvcnNbX2luZGV4XzBdCiAgICAgICAgbG9jYWwgbXNnLCBwb3MKICAgICAgICBtc2csIHBvcyA9IF9kZXNfMFsxXSwgX2Rlc18wWzJdCiAgICAgICAgaWYgcG9zIHRoZW4KICAgICAgICAgIGxvY2FsIGxpbmUgPSBwb3NfdG9fbGluZShjb2RlLCBwb3MpCiAgICAgICAgICBtc2cgPSAibGluZSAiIC4uIHRvc3RyaW5nKGxpbmUpIC4uICI6ICIgLi4gdG9zdHJpbmcobXNnKQogICAgICAgICAgbG9jYWwgbGluZV90ZXh0ID0gIj4gIiAuLiBnZXRfbGluZShjb2RlLCBsaW5lKQogICAgICAgICAgbG9jYWwgc2VwX2xlbiA9IG1hdGgubWF4KCNtc2csICNsaW5lX3RleHQpCiAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gdGFibGUuY29uY2F0KHsKICAgICAgICAgICAgbXNnLAogICAgICAgICAgICAoIj0iKTpyZXAoc2VwX2xlbiksCiAgICAgICAgICAgIGxpbmVfdGV4dAogICAgICAgICAgfSwgIlxuIikKICAgICAgICBlbHNlCiAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gbXNnCiAgICAgICAgZW5kCiAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICBlbmQKICAgICAgZm9ybWF0dGVkID0gX2FjY3VtXzAKICAgIGVuZAogICAgaWYgaGVhZGVyIHRoZW4KICAgICAgdGFibGUuaW5zZXJ0KGZvcm1hdHRlZCwgMSwgaGVhZGVyKQogICAgZW5kCiAgICByZXR1cm4gdGFibGUuY29uY2F0KGZvcm1hdHRlZCwgIlxuXG4iKQogIGVuZAogIGxvY2FsIHdoaXRlbGlzdF9mb3JfZmlsZQogIGRvCiAgICBsb2NhbCBsaW50X2NvbmZpZwogICAgd2hpdGVsaXN0X2Zvcl9maWxlID0gZnVuY3Rpb24oZm5hbWUpCiAgICAgIGlmIG5vdCAobGludF9jb25maWcpIHRoZW4KICAgICAgICBsaW50X2NvbmZpZyA9IHsgfQogICAgICAgIHBjYWxsKGZ1bmN0aW9uKCkKICAgICAgICAgIGxpbnRfY29uZmlnID0gcmVxdWlyZSgibGludF9jb25maWciKQogICAgICAgIGVuZCkKICAgICAgZW5kCiAgICAgIGlmIG5vdCAobGludF9jb25maWcud2hpdGVsaXN0X2dsb2JhbHMpIHRoZW4KICAgICAgICByZXR1cm4gZGVmYXVsdF93aGl0ZWxpc3QKICAgICAgZW5kCiAgICAgIGxvY2FsIGZpbmFsX2xpc3QgPSB7IH0KICAgICAgZm9yIHBhdHRlcm4sIGxpc3QgaW4gcGFpcnMobGludF9jb25maWcud2hpdGVsaXN0X2dsb2JhbHMpIGRvCiAgICAgICAgaWYgZm5hbWU6bWF0Y2gocGF0dGVybikgdGhlbgogICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI2xpc3QgZG8KICAgICA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GFjayB7IiAuLiBjb25jYXQoc2VsZiwgIiwgIikgLi4gIn0+IgogICAgICBlbmQsCiAgICAgIHBvcCA9IGZ1bmN0aW9uKHNlbGYpCiAgICAgICAgcmV0dXJuIHJlbW92ZShzZWxmKQogICAgICBlbmQsCiAgICAgIHB1c2ggPSBmdW5jdGlvbihzZWxmLCB2YWx1ZSwgLi4uKQogICAgICAgIGluc2VydChzZWxmLCB2YWx1ZSkKICAgICAgICBpZiAuLi4gdGhlbgogICAgICAgICAgcmV0dXJuIHNlbGY6cHVzaCguLi4pCiAgICAgICAgZWxzZQogICAgICAgICAgcmV0dXJuIHZhbHVlCiAgICAgICAgZW5kCiAgICAgIGVuZCwKICAgICAgdG9wID0gZnVuY3Rpb24oc2VsZikKICAgICAgICByZXR1cm4gc2VsZlsjc2VsZl0KICAgICAgZW5kCiAgICB9CiAgICBfYmFzZV8wLl9faW5kZXggPSBfYmFzZV8wCiAgICBfY2xhc3NfMCA9IHNldG1ldGF0YWJsZSh7CiAgICAgIF9faW5pdCA9IGZ1bmN0aW9uKHNlbGYsIC4uLikKICAgICAgICBzZWxmOnB1c2goLi4uKQogICAgICAgIHJldHVybiBuaWwKICAgICAgZW5kLAogICAgICBfX2Jhc2UgPSBfYmFzZV8wLAogICAgICBfX25hbWUgPSAiU3RhY2siCiAgICB9LCB7CiAgICAgIF9faW5kZXggPSBfYmFzZV8wLAogICAgICBfX2NhbGwgPSBmdW5jdGlvbihjbHMsIC4uLikKICAgICAgICBsb2NhbCBfc2VsZl8wID0gc2V0bWV0YXRhYmxlKHt9LCBfYmFzZV8wKQogICAgICAgIGNscy5fX2luaXQoX3NlbGZfMCwgLi4uKQogICAgICAgIHJldHVybiBfc2VsZl8wCiAgICAgIGVuZAogICAgfSkKICAgIF9iYXNlXzAuX19jbGFzcyA9IF9jbGFzc18wCiAgICBTdGFjayA9IF9jbGFzc18wCiAgZW5kCiAgbG9jYWwgbHVhX2tleXdvcmRzID0gU2V0KHsKICAgICdhbmQnLAogICAgJ2JyZWFrJywKICAgICdkbycsCiAgICAnZWxzZScsCiAgICAnZWxzZWlmJywKICAgICdlbmQnLAogICAgJ2ZhbHNlJywKICAgICdmb3InLAogICAgJ2Z1bmN0aW9uJywKICAgICdpZicsCiAgICAnaW4nLAogICAgJ2xvY2FsJywKICAgICduaWwnLAogICAgJ25vdCcsCiAgICAnb3InLAogICAgJ3JlcGVhdCcsCiAgICAncmV0dXJuJywKICAgICd0aGVuJywKICAgICd0cnVlJywKICAgICd1bnRpbCcsCiAgICAnd2hpbGUnCiAgfSkKICByZXR1cm4gewogICAgU2V0ID0gU2V0LAogICAgU3RhY2sgPSBTdGFjaywKICAgIGx1YV9rZXl3b3JkcyA9IGx1YV9rZXl3b3JkcwogIH0KICAKZW5kCnBhY2thZ2UucHJlbG9hZFsnbW9vbnNjcmlwdC51dGlsJ10gPSBmdW5jdGlvbigpCiAgbG9jYWwgY29uY2F0CiAgY29uY2F0ID0gdGFibGUuY29uY2F0CiAgbG9jYWwgdW5wYWNrID0gdW5wYWNrIG9yIHRhYmxlLnVucGFjawogIGxvY2FsIHR5cGUgPSB0eXBlCiAgbG9jYWwgbW9vbiA9IHsKICAgIGlzX29iamVjdCA9IGZ1bmN0aW9uKHZhbHVlKQogICAgICByZXR1cm4gdHlwZSh2YWx1ZSkgPT0gInRhYmxlIiBhbmQgdmFsdWUuX19jbGFzcwogICAgZW5kLAogICAgaXNfYSA9IGZ1bmN0aW9uKHRoaW5nLCB0KQogICAgICBpZiBub3QgKHR5cGUodGhpbmcpID09ICJ0YWJsZSIpIHRoZW4KICAgICAgICByZXR1cm4gZmFsc2UKICAgICAgZW5kCiAgICAgIGxvY2FsIGNscyA9IHRoaW5nLl9fY2xhc3MKICAgICAgd2hpbGUgY2xzIGRvCiAgICAgICAgaWYgY2xzID09IHQgdGhlbgogICAgICAgICAgcmV0dXJuIHRydWUKICAgICAgICBlbmQKICAgICAgICBjbHMgPSBjbHMuX19wYXJlbnQKICAgICAgZW5kCiAgICAgI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XSA9IHRydWUKICAgICAgICBkZXB0aCA9IGRlcHRoICsgMQogICAgICAgIGxvY2FsIGxpbmVzCiAgICAgICAgZG8KICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgICAgICBmb3IgaywgdiBpbiBwYWlycyh3aGF0KSBkbwogICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gKCIgIik6cmVwKGRlcHRoICogNCkgLi4gIlsiIC4uIHRvc3RyaW5nKGspIC4uICJdID0gIiAuLiBfZHVtcCh2LCBkZXB0aCkKICAgICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgZW5kCiAgICAgICAgICBsaW5lcyA9IF9hY2N1bV8wCiAgICAgICAgZW5kCiAgICAgICAgc2Vlblt3aGF0XSA9IGZhbHNlCiAgICAgICAgcmV0dXJuICJ7XG4iIC4uIGNvbmNhdChsaW5lcykgLi4gKCIgIik6cmVwKChkZXB0aCAtIDEpICogNCkgLi4gIn1cbiIKICAgICAgZWxzZQogICAgICAgIHJldHVybiB0b3N0cmluZyh3aGF0KSAuLiAiXG4iCiAgICAgIGVuZAogICAgZW5kCiAgICByZXR1cm4gX2R1bXAod2hhdCkKICBlbmQKICBsb2NhbCBkZWJ1Z19wb3NtYXAKICBkZWJ1Z19wb3NtYXAgPSBmdW5jdGlvbihwb3NtYXAsIG1vb25fY29kZSwgbHVhX2NvZGUpCiAgICBsb2NhbCB0dXBsZXMKICAgIGRvCiAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgZm9yIGssIHYgaW4gcGFpcnMocG9zbWFwKSBkbwogICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSB7CiAgICAgICAgICBrLAogICAgICAgICAgdgogICAgICAgIH0KICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgIGVuZAogICAgICB0dXBsZXMgP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V8wCiAgICAgICAgICBlbmQpKCksICIsICIpCiAgICAgICAgICByZXR1cm4gX3dpdGhfMAogICAgICAgIGVuZAogICAgICBlbmQKICAgIGVuZCwKICAgIGRlY2xhcmVfd2l0aF9zaGFkb3dzID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgbG9jYWwgbmFtZXMgPSBub2RlWzJdCiAgICAgIHNlbGY6ZGVjbGFyZShuYW1lcykKICAgICAgZG8KICAgICAgICBsb2NhbCBfd2l0aF8wID0gc2VsZjpsaW5lKCJsb2NhbCAiKQogICAgICAgIF93aXRoXzA6YXBwZW5kX2xpc3QoKGZ1bmN0aW9uKCkKICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgICAgICBmb3IgX2luZGV4XzAgPSAxLCAjbmFtZXMgZG8KICAgICAgICAgICAgbG9jYWwgbmFtZSA9IG5hbWVzW19pbmRleF8wXQogICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gc2VsZjpuYW1lKG5hbWUpCiAgICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgIGVuZAogICAgICAgICAgcmV0dXJuIF9hY2N1bV8wCiAgICAgICAgZW5kKSgpLCAiLCAiKQogICAgICAgIHJldHVybiBfd2l0aF8wCiAgICAgIGVuZAogICAgZW5kLAogICAgYXNzaWduID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgbG9jYWwgbmFtZXMsIHZhbHVlcyA9IHVucGFjayhub2RlLCAyKQogICAgICBsb2NhbCB1bmRlY2xhcmVkID0gc2VsZjpkZWNsYXJlKG5hbWVzKQogICAgICBsb2NhbCBkZWNsYXJlID0gImxvY2FsICIgLi4gY29uY2F0KHVuZGVjbGFyZWQsICIsICIpCiAgICAgIGxvY2FsIGhhc19mbmRlZiA9IGZhbHNlCiAgICAgIGxvY2FsIGkgPSAxCiAgICAgIHdoaWxlIGkgPD0gI3ZhbHVlcyBkbwogICAgICAgIGlmIG50eXBlKHZhbHVlc1tpXSkgPT0gImZuZGVmIiB0aGVuCiAgICAgICAgICBoYXNfZm5kZWYgPSB0cnVlCiAgICAgICAgZW5kCiAgICAgICAgaSA9IGkgKyAxCiAgICAgIGVuZAogICAgICBkbwogICAgICAgIGxvY2FsIF93aXRoXzAgPSBzZWxmOmxpbmUoKQogICAgICAgIGlmICN1bmRlY2xhcmVkID09ICNuYW1lcyBhbmQgbm90IGhhc19mbmRlZiB0aGVuCiAgICAgICAgICBfd2l0aF8wOmFwcGVuZChkZWNsYXJlKQogICAgICAgIGVsc2UKICAgICAgICAgIGlmICN1bmRlY2xhcmVkID4gMCB0aGVuCiAgICAgICAgICAgIHNlbGY6YWRkKGRlY2xhcmUsIG5vZGVbLTFdKQogICAgICAgICAgZW5kCiAgICAgICAgICBfd2l0aF8wOmFwcGVuZF9saXN0KChmdW5jdGlvbigpCiAgICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI25hbWVzIGRvCiAgICAgICAgICAgICAgbG9jYWwgbmFtZSA9IG5hbWVzW19pbmRleF8wXQogICAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBzZWxmOnZhbHVlKG5hbWUpCiAgICAgICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgICBlbmQKICAgICAgICAgICAgcmV0dXJuIF9hY2N1bV8wCiAgICAgICAgICBlbmQpKCksICIsICIpCiAgICAgICAgZW5kCiAgICAgICAgX3dpdGhfMDphcHBlbmQoIiA9ICIpCiAgICAgICAgX3dpdGhfMDphcHBlbmRfbGlzdCgoZnVuY3Rpb24oKQogICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICN2YWx1ZXMgZG8KICAgICAgICAgICAgbG9jYWwgdiA9IHZhbHVlc1tfaW5kZXhfMF0KICAgICAgICAgICAgX2FjY3VtXzBbX2xlbl8wXSA9IHNlbGY6dmFsdWUodikKICAgICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgZW5kCiAgICAgICAgICByZXR1cm4gX2FjY3VtXzAKICAgICAgICBlbmQpKCksICIsICIpCiAgICAgICAgcmV0dXJuIF93aXRoXzAKICAgICAgZW5kCiAgICBlbmQsCiAgICBbInJldHVybiJdID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgcmV0dXJuIHNlbGY6bGluZSgicmV0dXJuICIsIChmdW5jdGlvbigpCiAgICAgICAgaWYgbm9kZVsyXSB+PSAiIiB0aGVuCiAgICAgICAgICByZXR1cm4gc2VsZjp2YWx1ZShub2RlWzJdKQogICAgICAgIGVuZAogICAgICBlbmQpKCkpCiAgICBlbmQsCiAgICBbImJyZWFrIl0gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICByZXR1cm4gImJyZWFrIgogICAgZW5kLAogICAgWyJpZiJdID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgbG9jYWwgY29uZCwgYmxvY2sgPSBub2RlWzJdLCBub2RlWzNdCiAgICAgIGxvY2FsIHJvb3QKICAgICAgZG8KICAgICAgICBsb2NhbCBfd2l0aF8wID0gc2VsZjpibG9jayhzZWxmOmxpbmUoImlmICIsIHNlbGY6dmFsdWUoY29uZCksICIgdGhlbiIpKQogICAgICAgIF93aXRoXzA6c3RtcyhibG9jaykKICAgICAgICByb290ID0gX3dpdGhfMAogICAgICBlbmQKICAgICAgbG9jYWwgY3VycmVudCA9IHJvb3QKICAgICAgbG9jYWwgYWRkX2NsYXVzZQogICAgICBhZGRfY2xhdXNlID0gZnVuY3Rpb24oY2xhdXNlKQogICAgICAgIGxvY2FsIHR5cGUgPSBjbGF1c2VbMV0KICAgICAgICBsb2NhbCBpID0gMgogICAgICAgIGxvY2FsIG5leHQKICAgICAgICBpZiB0eXBlID09ICJlbHNlIiB0aGVuCiAgICAgICAgICBuZXh0ID0gc2VsZjpibG9jaygiZWxzZSIpCiAgICAgICAgZWxzZQogICAgICAgICAgaSA9IGkgKyAxCiAgICAgICAgICBuZXh0ID0gc2VsZjpibG9jayhzZWxmOmxpbmUoImVsc2VpZiAiLCBzZWxmOnZhbHVlKGNsYXVzZVsyXSksICIgdGhlbiIpKQogICAgICAgIGVuZAogICAgICAgIG5leHQ6c3RtcyhjbGF1c2VbaV0pCiAgICAgICAgY3VycmVudC5uZXh0ID0gbmV4dAogICAgICAgIGN1cnJlbnQgPSBuZXh0CiAgICAgIGVuZAogICAgICBmb3IgX2luZGV4XzAgPSA0LCAjbm9kZSBkbwogICAgICAgIGxvY2FsIGNvbmQgPSBub2RlW19pbmRleF8wXQogICAgICAgIGFkZF9jbGF1c2UoY29uZCkKICAgICAgZW5kCiAgICAgIHJldHVybiByb290CiAgICBlbmQsCiAgICBbInJlcGVhdCJdID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgbG9jYWwgY29uZCwgYmxvY2sgPSB1bnBhY2sobm9kZSwgMikKICAgICAgZG8KICAgICAgICBsb2NhbCBfd2l0aF8wID0gc2VsZjpibG9jaygicmVwZWF0Iiwgc2VsZjpsaW5lKCJ1bnRpbCAiLCBzZWxmOnZhbHVlKGNvbmQpKSkKICAgICAgICBfd2l0aF8wOnN0bXMoYmxvY2spCiAgICAgICAgcmV0dXJuIF93aXRoXzAKICAgICAgZW5kCiAgICBlbmQsCiAgICBbIndoaWxlIl0gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBjb25kLCBibG9jayA9IHVucGFjayhub2RlLCAyKQogICAgICBkbwogICAgICAgIGxvY2FsIF93aXRoXzAgPSBzZWxmOmJsb2NrKHNlbGY6bGluZSgid2hpbGUgIiwgc2VsZjp2YWx1ZShjb25kKSwgIiBkbyIpKQogICAgICAgIF93aXRoXzA6c3RtcyhibG9jaykKICAgICAgICByZXR1cm4gX3dpdGhfMAogICAgICBlbmQKICAgIGVuZCwKICAgIFsiZm9yIl0gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBuYW1lLCBib3VuZHMsIGJsb2NrID0gdW5wYWNrKG5vZGUsIDIpCiAgICAgIGxvY2FsIGxvb3AgPSBzZWxmOmxpbmUoImZvciAiLCBzZWxmOm5hbWUobmFtZSksICIgPSAiLCBzZWxmOnZhbHVlKHsKICAgICAgICAiZXhwbGlzdCIsCiAgICAgICAgdW5wYWNrKGJvdW5kcykKICAgICAgfSksICIgZG8iKQogICAgICBkbwogICAgICAgIGxvY2FsIF93aXRoXzAgPSBzZWxmOmJsb2NrKGxvb3ApCiAgICAgICAgX3dpdGhfMDpkZWNsYXJlKHsKICAgICAgICAgIG5hbWUKICAgICAgICB9KQogICAgICAgIF93aXRoXzA6c3RtcyhibG9jaykKICAgICAgICByZXR1cm4gX3dpdGhfMAogICAgICBlbmQKICAgIGVuZCwKICAgIGZvcmVhY2ggPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBuYW1lcywgZXhwcywgYmxvY2sgPSB1bnBhY2sobm9kZSwgMikKICAgICAgbG9jYWwgbG9vcAogICAgICBkbwogICAgICAgIGxvY2FsIF93aXRoXzAgPSBzZWxmOmxpbmUoKQogICAgICAgIF93aXRoXzA6YXBwZW5kKCJmb3IgIikKICAgICAgICBsb29wID0gX3dpdGhfMAogICAgICBlbmQKICAgICAgZG8KICAgICAgICBsb2NhbCBfd2l0aF8wID0gc2VsZjpibG9jayhsb29wKQogICAgICAgIGxvb3A6YXBwZW5kX2xpc3QoKGZ1bmN0aW9uKCkKICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgICAgICBmb3IgX2luZGV4XzAgPSAxLCAjbmFtZXMgZG8KICAgICAgICAgICAgbG9jYWwgbmFtZSA9IG5hbWVzW19pbmRleF8wXQogICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gX3dpdGhfMDpuYW1lKG5hbWUsIGZhbHNlKQogICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICBlbmQKICAgICAgICAgIHJldHVybiBfYWNjdW1fMAogICAgICAgIGVuZCkoKSwgIiwgIikKICAgICAgICBsb29wOmFwcGVuZCgiIGluICIpCiAgICAgICAgbG9vcDphcHBlbmRfbGlzdCgoZnVuY3Rpb24oKQogICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNleHBzIGRvCiAgICAgICAgICAgIGxvY2FsIGV4cCA9IGV4cHNbX2luZGV4XzBdCiAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBzZWxmOnZhbHVlKGV4cCkKICAgICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgZW5kCiAgICAgICAgICByZXR1cm4gX2FjY3VtXzAKICAgICAgICBlbmQpKCksICIsIikKICAgICAgICBsb29wOmFwcGVuZCgiIGRvIikKICAgICAgICBfd2l0aF8wOmRlY2xhcmUobmFtZXMpCiAgICAgICAgX3dpdGhfMDpzdG1zKGJsb2NrKQogICAgICAgIHJldHVybiBfd2l0aF8wCiAgICAgIGVuZAogICAgZW5kLAogICAgZXhwb3J0ID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgbG9jYWwgbmFtZXMgPSB1bnBhY2sobm9kZSwgMikKICAgICAgaWYgdHlwZShuYW1lcykgPT0gInN0cmluZyIgdGhlbgogICAgICAgIGlmIG5hbWVzID09ICIqIiB0aGVuCiAgICAgICAgICBzZWxmLmV4cG9ydF9hbGwgPSB0cnVlCiAgICAgICAgZWxzZWlmIG5hbWVzID09ICJeIiB0aGVuCiAg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GFpcnMobm9kZSkgZG8KICAgICAgICAgICAgaWYgaSA+IDEgdGhlbgogICAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBfY29tcChpLCB2KQogICAgICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgICAgZW5kCiAgICAgICAgICBlbmQKICAgICAgICAgIHJldHVybiBfYWNjdW1fMAogICAgICAgIGVuZCkoKSwgIiAiKQogICAgICAgIHJldHVybiBfd2l0aF8wCiAgICAgIGVuZAogICAgZW5kLAogICAgZXhwbGlzdCA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIGRvCiAgICAgICAgbG9jYWwgX3dpdGhfMCA9IHNlbGY6bGluZSgpCiAgICAgICAgX3dpdGhfMDphcHBlbmRfbGlzdCgoZnVuY3Rpb24oKQogICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgIGZvciBfaW5kZXhfMCA9IDIsICNub2RlIGRvCiAgICAgICAgICAgIGxvY2FsIHYgPSBub2RlW19pbmRleF8wXQogICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gc2VsZjp2YWx1ZSh2KQogICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICBlbmQKICAgICAgICAgIHJldHVybiBfYWNjdW1fMAogICAgICAgIGVuZCkoKSwgIiwgIikKICAgICAgICByZXR1cm4gX3dpdGhfMAogICAgICBlbmQKICAgIGVuZCwKICAgIHBhcmVucyA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIHJldHVybiBzZWxmOmxpbmUoIigiLCBzZWxmOnZhbHVlKG5vZGVbMl0pLCAiKSIpCiAgICBlbmQsCiAgICBzdHJpbmcgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBkZWxpbSwgaW5uZXIgPSB1bnBhY2sobm9kZSwgMikKICAgICAgbG9jYWwgZW5kX2RlbGltID0gZGVsaW06Z3N1YigiJVsiLCAiXSIpCiAgICAgIGlmIGRlbGltID09ICInIiBvciBkZWxpbSA9PSAnIicgdGhlbgogICAgICAgIGlubmVyID0gaW5uZXI6Z3N1YigiW1xyXG5dIiwgc3RyaW5nX2NoYXJzKQogICAgICBlbmQKICAgICAgcmV0dXJuIGRlbGltIC4uIGlubmVyIC4uIGVuZF9kZWxpbQogICAgZW5kLAogICAgY2hhaW4gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBjYWxsZWUgPSBub2RlWzJdCiAgICAgIGxvY2FsIGNhbGxlZV90eXBlID0gbnR5cGUoY2FsbGVlKQogICAgICBsb2NhbCBpdGVtX29mZnNldCA9IDMKICAgICAgaWYgY2FsbGVlX3R5cGUgPT0gImRvdCIgb3IgY2FsbGVlX3R5cGUgPT0gImNvbG9uIiBvciBjYWxsZWVfdHlwZSA9PSAiaW5kZXgiIHRoZW4KICAgICAgICBjYWxsZWUgPSBzZWxmOmdldCgic2NvcGVfdmFyIikKICAgICAgICBpZiBub3QgKGNhbGxlZSkgdGhlbgogICAgICAgICAgdXNlcl9lcnJvcigiU2hvcnQtZG90IHN5bnRheCBtdXN0IGJlIGNhbGxlZCB3aXRoaW4gYSB3aXRoIGJsb2NrIikKICAgICAgICBlbmQKICAgICAgICBpdGVtX29mZnNldCA9IDIKICAgICAgZW5kCiAgICAgIGlmIGNhbGxlZV90eXBlID09ICJyZWYiIGFuZCBjYWxsZWVbMl0gPT0gInN1cGVyIiBvciBjYWxsZWUgPT0gInN1cGVyIiB0aGVuCiAgICAgICAgZG8KICAgICAgICAgIGxvY2FsIHN1cCA9IHNlbGY6Z2V0KCJzdXBlciIpCiAgICAgICAgICBpZiBzdXAgdGhlbgogICAgICAgICAgICByZXR1cm4gc2VsZjp2YWx1ZShzdXAoc2VsZiwgbm9kZSkpCiAgICAgICAgICBlbmQKICAgICAgICBlbmQKICAgICAgZW5kCiAgICAgIGxvY2F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xsZWVfdmFsdWUsICIpIikKICAgICAgZW5kCiAgICAgIGxvY2FsIGFjdGlvbnMKICAgICAgZG8KICAgICAgICBsb2NhbCBfd2l0aF8wID0gc2VsZjpsaW5lKCkKICAgICAgICBmb3IgX2luZGV4XzAgPSBpdGVtX29mZnNldCwgI25vZGUgZG8KICAgICAgICAgIGxvY2FsIGFjdGlvbiA9IG5vZGVbX2luZGV4XzBdCiAgICAgICAgICBfd2l0aF8wOmFwcGVuZChjaGFpbl9pdGVtKGFjdGlvbikpCiAgICAgICAgZW5kCiAgICAgICAgYWN0aW9ucyA9IF93aXRoXzAKICAgICAgZW5kCiAgICAgIHJldHVybiBzZWxmOmxpbmUoY2FsbGVlX3ZhbHVlLCBhY3Rpb25zKQogICAgZW5kLAogICAgZm5kZWYgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBhcmdzLCB3aGl0ZWxpc3QsIGFycm93LCBibG9jayA9IHVucGFjayhub2RlLCAyKQogICAgICBsb2NhbCBkZWZhdWx0X2FyZ3MgPSB7IH0KICAgICAgbG9jYWwgc2VsZl9hcmdzID0geyB9CiAgICAgIGxvY2FsIGFyZ19uYW1lcwogICAgICBkbwogICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgbG9jYWwgX2xlbl8wID0gMQogICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNhcmdzIGRvCiAgICAgICAgICBsb2NhbCBhcmcgPSBhcmdzW19pbmRleF8wXQogICAgICAgICAgbG9jYWwgbmFtZSwgZGVmYXVsdF92YWx1ZSA9IHVucGFjayhhcmcpCiAgICAgICAgICBpZiB0eXBlKG5hbWUpID09ICJzdHJpbmciIHRoZW4KICAgICAgICAgICAgbmFtZSA9IG5hbWUKICAgICAgICAgIGVsc2UKICAgICAgICAgICAgaWYgbmFtZVsxXSA9PSAic2VsZiIgb3IgbmFtZVsxXSA9PSAic2VsZl9jbGFzcyIgdGhlbgogICAgICAgICAgICAgIGluc2VydChzZWxmX2FyZ3MsIG5hbWUpCiAgICAgICAgICAgIGVuZAogICAgICAgICAgICBuYW1lID0gbmFtZVsyXQogICAgICAgICAgZW5kCiAgICAgICAgICBpZiBkZWZhdWx0X3ZhbHVlIHRoZW4KICAgICAgICAgICAgaW5zZXJ0KGRlZmF1bHRfYXJncywgYXJnKQogICAgICAgICAgZW5kCiAgICAgICAgICBsb2NhbCBfdmFsdWVfMCA9IG5hbWUKICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBfdmFsdWVfMAogICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgIGVuZAogICAgICAgIGFyZ19uYW1lcyA9IF9hY2N1bV8wCiAgICAgIGVuZAogICAgICBpZiBhcnJvdyA9PSAiZmF0IiB0aGVuCiAgICAgICAgaW5zZXJ0KGFyZ19uYW1lcywgMSwgInNlbGYiKQogICAgICBlbmQKICAgICAgZG8KICAgICAgICBsb2NhbCBfd2l0aF8wID0gc2VsZjpibG9jaygpCiAgICAgICAgaWYgI3doaXRlbGlzdCA+IDAgdGhlbgogICAgICAgICAgX3dpdGhfMDp3aGl0ZWxpc3RfbmFtZXMod2hpdGVsaXN0KQogICAgICAgIGVuZAogICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNhcmdfbmFtZXMgZG8KICAgICAgICAgIGxvY2FsIG5hbWUgPSBhcmdfbmFtZXNbX2luZGV4XzBdCiAgICAgICAgICBfd2l0aF8wOnB1dF9uYW1lKG5hbWUpCiAgICAgICAgZW5kCiAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI2RlZmF1bHRfYXJncyBkbwogICAgICAgICAgbG9jYWwgZGVmYXVsdCA9IGRlZmF1bHRfYXJnc1tfaW5kZXhfMF0KICAgICAgICAgIGxvY2FsIG5hbWUsIHZhbHVlID0gdW5wYWNrKGRlZmF1bHQpCiAgICAgICAgICBpZiB0eXBlKG5hbWUpID09ICJ0YWJsZSIgdGhlbgogICAgICAgICAgICBuYW1lID0gbmFtZVsyXQogICAgICAgICAgZW5kCiAgICAgICAgICBfd2l0aF8wOnN0bSh7CiAgICAgICAgICAgICdpZicsCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAnZXhwJywKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAicmVmIiwKICAgICAgICAgICAgICAgIG5hbWUKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICc9PScsCiAgICAgICAgICAgICAgJ25pbCcKICAgICAgICAgICAgfSwKICAgICAgICAgICAgewogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICdhc3NpZ24nLAogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBuYW1lCiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICB2YWx1ZQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfSkKICAgICAgICBlbmQKICAgICAgICBsb2NhbCBzZWxmX2FyZ192YWx1ZXMKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNzZWxmX2FyZ3MgZG8KICAgICAgICAgICAgbG9jYWwgYXJnID0gc2VsZl9hcmdzW19pbmRleF8wXQogICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gYXJnWzJdCiAgICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgIGVuZAogICAgICAgICAgc2VsZl9hcmdfdmFsdWVzID0gX2FjY3VtXzAKICAgICAgICBlbmQKICAgICAgICBpZiAjc2VsZl9hcmdzID4gMCB0aGVuCiAgICAgICAgICBfd2l0aF8wOnN0bSh7CiAgICAgICAgICAgICJhc3NpZ24iLAogICAgICAgICAgICBzZWxmX2FyZ3MsCiAgICAgICAgICAgIHNlbGZfYXJnX3ZhbHVlcwogICAgICAgICAgfSkKICAgICAgICBlbmQKICAgICAgICBfd2l0aF8wOnN0bXMoYmxvY2spCiAgICAgICAgaWYgI2FyZ3MgPiAjYXJnX25hbWVzIHRoZW4KICAgICAgICAgIGRvCiAgICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI2FyZ3MgZG8KICAgICAgICAgICAgICBsb2NhbCBhcmcgPSBhcmdzW19pbmRleF8wXQogICAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBhcmdbMV0KICAgICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICAgIGVuZAogICAgICAgICAgICBhcmdfbmFtZXMgPSBfYWNjdW1fMAogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgICAgX3dpdGhfMC5oZWFkZXIgPSAiZnVuY3Rpb24oIiAuLiBjb25jYXQoYXJnX25hbWVzLCAiLCAiKSAuLiAiKSIKICAgICAgICByZXR1cm4gX3dpdGhfMAogICAgICBlbmQKICAgIGVuZCwKICAgIHRhYmxlID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgbG9jYWwgaXRlbXMgPSB1bnBhY2sobm9kZSwgMikKICAgICAgZG8KICAgICAgICBsb2NhbCBfd2l0aF8wID0gc2VsZjpibG9jaygieyIsICJ9IikKICAgICAgICBsb2NhbCBmb3JtYXRfbGluZQogICAgICAgIGZvcm1hdF9saW5lID0gZnVuY3Rpb24odHVwbGUpCiAgICAgICAgICBpZiAjdHVwbGUgPT0gMiB0aGVuCiAgICAgICAgICAgIGxvY2FsIGtleSwgdmFsdWUgPSB1bnBhY2sodHVwbGUpCiAgICAgICAgICAgIGlmIG50eXBlKGtleSkgPT0gImtleV9saXRlcmFsIiBhbmQgZGF0YS5sdWFfa2V5d29yZHNba2V5WzJdXSB0aGVuCiAgICAgICAgICAgICAga2V5ID0gewogICAgICAgICAgICAgICAgInN0cmluZyIsCiAgICAgICAgICAgICAgICAnIicsCiAgICAgICAgICAgICAgICBrZXlbMl0KICAgICAgICAgICAgICB9CiAgICAgICAgICAgIGVuZAogICAgICAgICAgICBsb2NhbCBhc3NpZ24KICAgICAgICAgICAgaWYgbnR5cGUoa2V5KSA9PSAia2V5X2xpdGVyYWwiIHRoZW4KICAgICAgICAgICAgICBhc3NpZ24gPSBrZXlbMl0KICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgIGFzc2lnbiA9IHNlbGY6bGluZSgiWyIsIF93aXRoXzA6dmFsdWUoa2V5KSwgIl0iKQogICAgICAgICAgICBlbmQKICAgICAgICAgICAgbG9jYWwgb3V0ID0gc2VsZjpsaW5lKGFzc2lnbiwgIiA9ICIsIF93aXRoXzA6dmFsdWUodmFsdWUpKQogICAgICAgICAgICByZXR1cm4gb3V0CiAgICAgICAgICBlbHNlCiAgICAgICAgICAgIHJldHVybiBzZWxmOmxpbmUoX3dpdGhfMDp2YWx1ZSh0dXBsZVsxXSkpCiAgICAgICAgICBlbmQKICAgICAgICBlbmQKICAgICAgICBpZiBpdGVtcyB0aGVuCiAgICAgICAgICBsb2NhbCBjb3VudCA9ICNpdGVtcwogICAgICAgICAgZm9yIGksIHR1cGxlIGluIGlwYWlycyhpdGVtcykgZG8KICAgICAgICAgICAgbG9jYWwgbGluZSA9IGZvcm1hdF9saW5lKHR1cGxlKQogICAgICAgICAgICBpZiBub3QgKGNvdW50ID09IGkpIHRoZW4KICAgICAgICAgICAgICBsaW5lOmFwcGVuZCh0YWJsZV9kZWxpbSkKICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIF93aXRoXzA6YWRkKGxpbmUpCiAgICAgICAgICBlbmQKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gX3dpdGhfMAogICAgICBlbmQKICAgIGVuZCwKICAgIG1pbnVzID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgcmV0dXJuIHNlbGY6bGluZSgiL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RydWN0X2NvbXByZWhlbnNpb24KICBjb25zdHJ1Y3RfY29tcHJlaGVuc2lvbiA9IHJlcXVpcmUoIm1vb25zY3JpcHQudHJhbnNmb3JtLmNvbXByZWhlbnNpb24iKS5jb25zdHJ1Y3RfY29tcHJlaGVuc2lvbgogIGxvY2FsIHVucGFjawogIHVucGFjayA9IHJlcXVpcmUoIm1vb25zY3JpcHQudXRpbCIpLnVucGFjawogIGxvY2FsIHdpdGhfY29udGludWVfbGlzdGVuZXIKICB3aXRoX2NvbnRpbnVlX2xpc3RlbmVyID0gZnVuY3Rpb24oYm9keSkKICAgIGxvY2FsIGNvbnRpbnVlX25hbWUgPSBuaWwKICAgIHJldHVybiB7CiAgICAgIFJ1bihmdW5jdGlvbihzZWxmKQogICAgICAgIHJldHVybiBzZWxmOmxpc3RlbigiY29udGludWUiLCBmdW5jdGlvbigpCiAgICAgICAgICBpZiBub3QgKGNvbnRpbnVlX25hbWUpIHRoZW4KICAgICAgICAgICAgY29udGludWVfbmFtZSA9IE5hbWVQcm94eSgiY29udGludWUiKQogICAgICAgICAgICBzZWxmOnB1dF9uYW1lKGNvbnRpbnVlX25hbWUpCiAgICAgICAgICBlbmQKICAgICAgICAgIHJldHVybiBjb250aW51ZV9uYW1lCiAgICAgICAgZW5kKQogICAgICBlbmQpLAogICAgICBidWlsZC5ncm91cChib2R5KSwKICAgICAgUnVuKGZ1bmN0aW9uKHNlbGYpCiAgICAgICAgaWYgbm90IChjb250aW51ZV9uYW1lKSB0aGVuCiAgICAgICAgICByZXR1cm4gCiAgICAgICAgZW5kCiAgICAgICAgbG9jYWwgbGFzdCA9IGxhc3Rfc3RtKGJvZHkpCiAgICAgICAgbG9jYWwgZW5jbG9zZV9saW5lcyA9IHR5cGVzLnRlcm1pbmF0aW5nW2xhc3QgYW5kIG50eXBlKGxhc3QpXQogICAgICAgIHNlbGY6cHV0X25hbWUoY29udGludWVfbmFtZSwgbmlsKQogICAgICAgIHJldHVybiBzZWxmOnNwbGljZShmdW5jdGlvbihsaW5lcykKICAgICAgICAgIGlmIGVuY2xvc2VfbGluZXMgdGhlbgogICAgICAgICAgICBsaW5lcyA9IHsKICAgICAgICAgICAgICAiZG8iLAogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGxpbmVzCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICBlbmQKICAgICAgICAgIHJldHVybiB7CiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiYXNzaWduIiwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICBjb250aW51ZV9uYW1lCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAiZmFsc2UiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgInJlcGVhdCIsCiAgICAgICAgICAgICAgInRydWUiLAogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGxpbmVzLAogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAiYXNzaWduIiwKICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlX25hbWUKICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICJ0cnVlIgogICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlmIiwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibm90IiwKICAgICAgICAgICAgICAgIGNvbnRpbnVlX25hbWUKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgImJyZWFrIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIGVuZCkKICAgICAgZW5kKQogICAgfQogIGVuZAogIGxvY2FsIGV4dHJhY3RfZGVjbGFyYXRpb25zCiAgZXh0cmFjdF9kZWNsYXJhdGlvbnMgPSBmdW5jdGlvbihzZWxmLCBib2R5LCBzdGFydCwgb3V0KQogICAgaWYgYm9keSA9PSBuaWwgdGhlbgogICAgICBib2R5ID0gc2VsZi5jdXJyZW50X3N0bXMKICAgIGVuZAogICAgaWYgc3RhcnQgPT0gbmlsIHRoZW4KICAgICAgc3RhcnQgPSBzZWxmLmN1cnJlbnRfc3RtX2kgKyAxCiAgICBlbmQKICAgIGlmIG91dCA9PSBuaWwgdGhlbgogICAgICBvdXQgPSB7IH0KICAgIGVuZAogICAgZm9yIGkgPSBzdGFydCwgI2JvZHkgZG8KICAgICAgbG9jYWwgX2NvbnRpbnVlXzAgPSBmYWxzZQogICAgICByZXBlYXQKICAgICAgICBsb2NhbCBzdG0gPSBib2R5W2ldCiAgICAgICAgaWYgc3RtID09IG5pbCB0aGVuCiAgICAgICAgICBfY29udGludWVfMCA9IHRydWUKICAgICAgICAgIGJyZWFrCiAgICAgICAgZW5kCiAgICAgICAgc3RtID0gc2VsZi50cmFuc2Zvcm0uc3RhdGVtZW50KHN0bSkKICAgICAgICBib2R5W2ldID0gc3RtCiAgICAgICAgbG9jYWwgX2V4cF8wID0gc3RtWzFdCiAgICAgICAgaWYgImFzc2lnbiIgPT0gX2V4cF8wIG9yICJkZWNsYXJlIiA9PSBfZXhwXzAgdGhlbgogICAgICAgICAgbG9jYWwgX2xpc3RfMCA9IHN0bVsyXQogICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI19saXN0XzAgZG8KICAgICAgICAgICAgbG9jYWwgbmFtZSA9IF9saXN0XzBbX2luZGV4XzBdCiAgICAgICAgICAgIGlmIG50eXBlKG5hbWUpID09ICJyZWYiIHRoZW4KICAgICAgICAgICAgICBpbnNlcnQob3V0LCBuYW1lKQogICAgICAgICAgICBlbHNlaWYgdHlwZShuYW1lKSA9PSAic3RyaW5nIiB0aGVuCiAgICAgICAgICAgICAgaW5zZXJ0KG91dCwgbmFtZSkKICAgICAgICAgICAgZW5kCiAgICAgICAgICBlbmQKICAgICAgICBlbHNlaWYgImdyb3VwIiA9PSBfZXhwXzAgdGhlbgogICAgICAgICAgZXh0cmFjdF9kZWNsYXJhdGlvbnMoc2VsZiwgc3RtWzJdLCAxLCBvdXQpCiAgICAgICAgZW5kCiAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgIHVudGlsIHRydWUKICAgICAgaWYgbm90IF9jb250aW51ZV8wIHRoZW4KICAgICAgICBicmVhawogICAgICBlbmQKICAgIGVuZAogICAgcmV0dXJuIG91dAogIGVuZAogIGxvY2FsIGV4cGFuZF9lbHNlaWZfYXNzaWduCiAgZXhwYW5kX2Vsc2VpZl9hc3NpZ24gPSBmdW5jdGlvbihpZnN0bSkKICAgIGZvciBpID0gNCwgI2lmc3RtIGRvCiAgICAgIGxvY2FsIGNhc2UgPSBpZnN0bVtpXQogICAgICBpZiBudHlwZShjYXNlKSA9PSAiZWxzZWlmIiBhbmQgbnR5cGUoY2FzZVsyXSkgPT0gImFzc2lnbiIgdGhlbgogICAgICAgIGxvY2FsIHNwbGl0ID0gewogICAgICAgICAgdW5wYWNrKGlmc3RtLCAxLCBpIC0gMSkKICAgICAgICB9CiAgICAgICAgaW5zZXJ0KHNwbGl0LCB7CiAgICAgICAgICAiZWxzZSIsCiAgICAgICAgICB7CiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWYiLAogICAgICAgICAgICAgIGNhc2VbMl0sCiAgICAgICAgICAgICAgY2FzZVszXSwKICAgICAgICAgICAgICB1bnBhY2soaWZzdG0sIGkgKyAxKQogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgfSkKICAgICAgICByZXR1cm4gc3BsaXQKICAgICAgZW5kCiAgICBlbmQKICAgIHJldHVybiBpZnN0bQogIGVuZAogIHJldHVybiBUcmFuc2Zvcm1lcih7CiAgICB0cmFuc2Zvcm0gPSBmdW5jdGlvbihzZWxmLCB0dXBsZSkKICAgICAgbG9jYWwgXywgbm9kZSwgZm4KICAgICAgXywgbm9kZSwgZm4gPSB0dXBsZVsxXSwgdHVwbGVbMl0sIHR1cGxlWzNdCiAgICAgIHJldHVybiBmbihub2RlKQogICAgZW5kLAogICAgcm9vdF9zdG1zID0gZnVuY3Rpb24oc2VsZiwgYm9keSkKICAgICAgcmV0dXJuIHRyYW5zZm9ybV9sYXN0X3N0bShib2R5LCBpbXBsaWNpdGx5X3JldHVybihzZWxmKSkKICAgIGVuZCwKICAgIFsicmV0dXJuIl0gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCByZXRfdmFsID0gbm9kZVsyXQogICAgICBsb2NhbCByZXRfdmFsX3R5cGUgPSBudHlwZShyZXRfdmFsKQogICAgICBpZiByZXRfdmFsX3R5cGUgPT0gImV4cGxpc3QiIGFuZCAjcmV0X3ZhbCA9PSAyIHRoZW4KICAgICAgICByZXRfdmFsID0gcmV0X3ZhbFsyXQogICAgICAgIHJldF92YWxfdHlwZSA9IG50eXBlKHJldF92YWwpCiAgICAgIGVuZAogICAgICBpZiB0eXBlcy5jYXNjYWRpbmdbcmV0X3ZhbF90eXBlXSB0aGVuCiAgICAgICAgcmV0dXJuIGltcGxpY2l0bHlfcmV0dXJuKHNlbGYpKHJldF92YWwpCiAgICAgIGVuZAogICAgICBpZiByZXRfdmFsX3R5cGUgPT0gImNoYWluIiBvciByZXRfdmFsX3R5cGUgPT0gImNvbXByZWhlbnNpb24iIG9yIHJldF92YWxfdHlwZSA9PSAidGJsY29tcHJlaGVuc2lvbiIgdGhlbgogICAgICAgIGxvY2FsIFZhbHVlID0gcmVxdWlyZSgibW9vbnNjcmlwdC50cmFuc2Zvcm0udmFsdWUiKQogICAgICAgIHJldF92YWwgPSBWYWx1ZTp0cmFuc2Zvcm1fb25jZShzZWxmLCByZXRfdmFsKQogICAgICAgIGlmIG50eXBlKHJldF92YWwpID09ICJibG9ja19leHAiIHRoZW4KICAgICAgICAgIHJldHVybiBidWlsZC5ncm91cCh0cmFuc2Zvcm1fbGFzdF9zdG0ocmV0X3ZhbFsyXSwgZnVuY3Rpb24oc3RtKQogICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgICJyZXR1cm4iLAogICAgICAgICAgICAgIHN0bQogICAgICAgICAgICB9CiAgICAgICAgICBlbmQpKQogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgbm9kZVsyXSA9IHJldF92YWwKICAgICAgcmV0dXJuIG5vZGUKICAgIGVuZCwKICAgIGRlY2xhcmVfZ2xvYiA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIGxvY2FsIG5hbWVzID0gZXh0cmFjdF9kZWNsYXJhdGlvbnMoc2VsZikKICAgICAgaWYgbm9kZVsyXSA9PSAiXiIgdGhlbgogICAgICAgIGRvCiAgICAgICAgICBsb2NhbCBfYWNjdW1fMCA9IHsgfQogICAgICAgICAgbG9jYWwgX2xlbl8wID0gMQogICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI25hbWVzIGRvCiAgICAgICAgICAgIGxvY2FsIF9jb250aW51ZV8wID0gZmFsc2UKICAgICAgICAgICAgcmVwZWF0CiAgICAgICAgICAgICAgbG9jYWwgbmFtZSA9IG5hbWVzW19pbmRleF8wXQogICAgICAgICAgICAgIGxvY2FsIHN0cl9uYW1lCiAgICAgICAgICAgICAgaWYgbnR5cGUobmFtZSkgPT0gInJlZiIgdGhlbgogICAgICAgICAgICAgICAgc3RyX25hbWUgPSBuYW1lWzJdCiAgICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgc3RyX25hbWUgPSBuYW1lCiAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgICAgaWYgbm90IChzdHJfbmFtZTptYXRjaCgiXiV1IikpIHRoZW4KICAgICAgICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgICAgICAgICAgYnJlYWsKICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICBsb2NhbCBfdmFsdWVfMCA9IG5hbWUKICAgICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gX3ZhbHVlXzAKICAgICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgICAgIHVudGlsIHRydWUKICAgICAgICAgICAgaWYgbm90IF9jb250aW51ZV8wIHRoZW4KICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICBlbmQKICAgICAgICAgIGVuZAogICAgICAgICAgbmFtZXMgPSBfYWNjdW1fMAogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgcmV0dXJuIHsKICAgICAgICAiZGVjbGFyZSIsCiAgICAgICAgbmFtZXMKICAgICAgfQogICAgZW5kLAogICAgYXNzaWduID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgbG9jYWwgbmFtZXMsIHZhbHVlcyA9IHVucGFjayhub2RlLCAyKQogICAgICBsb2NhbCBudW1fdmFsdWVzID0gI3ZhbHVlcwogICAgICBsb2NhbCBudW1fbmFtZXMgPSAjdmFsdWVzCiAgICAgIGlmIG51bV9uYW1lcyA9PSAxIGFuZCBudW1fdmFsdWVzID09IDEgdGhlbgogICAgICAgIGxvY2FsIGZpcnN0X3ZhbHVlID0gdmFsdWVzWzFdCiAgICAgICAgbG9jYWwgZmlyc3RfbmFtZSA9IG5hbWVzWzFdCiAgICAgICAgbG9jYWwgZmlyc3RfdHlwZSA9IG50eXBlKGZpcnN0X3ZhbHVlKQogICAgICAgIGlmIGZpcnN0X3R5cGUgPT0gImNoYWluIiB0aGVuCiAgICAgICAgICBsb2NhbCBWYWx1ZSA9IHJlcXVpcmUoIm1vb25zY3JpcHQudHJhbnNmb3JtLnZhbHVlIikKICAgICAgICAgIGZpcnN0X3ZhbHVlID0gVmFsdWU6dHJhbnNmb3JtX29uY2Uoc2VsZiwgZmlyc3RfdmFsdWUpCiAgICAgICAgICBmaXJzdF90eXBlID0gbnR5cGUoZmlyc3RfdmFsdWUpCiAgICAgICAgZW5kCiAgICAgICAgbG9jYWwgX2V4cF8wID0gbnR5cGUoZmlyc3RfdmFsdWUpCiAgICAgICAgaWYgImJsb2NrX2V4cCIgPT0gX2V4cF8wIHRoZW4KICAgICAgICAgIGxvY2FsIGJsb2NrX2JvZHkgPSBmaXJzdF92YWx1ZVsyXQogICAgICAgICAgbG9jYWwgaWR4ID0gI2Jsb2NrX2JvZHkKICAgICAgICAgIGJsb2NrX2JvZHlbaWR4XSA9IGJ1aWxkLmFzc2lnbl9vbmUoZmlyc3RfbmFtZSwgYmxvY2tfYm9keVtpZHhdKQogICAgICAgICAgcmV0dXJuIGJ1aWxkLmdyb3VwKHsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJkZWNsYXJlIiwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICBmaXJzdF9uYW1lCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImRvIiwKICAgICAgICAgICAgICBibG9ja19ib2R5CiAgICAgICAgICAgIH0KICAgICAgICAgIH0pCiAgICAgICAgZWxzZWlmICJjb21wcmVoZW5zaW9uIiA9PSBfZXhwXzAgb3IgInRibGNvbXByZWhlbnNpb24iID09IF9leHBfMCBvciAiZm9yZWFjaCIgPT0gX2V4cF8wIG9yICJmb3IiID09IF9leHBfMCBvciAid2hpbGUiID09IF9leHBfMCB0aGVuCiAgICAgICAgICBsb2NhbCBWYWx1ZSA9IHJlcXVpcmUoIm1vb25zY3JpcHQudHJhbnNmb3JtLnZhbHVlIikKICAgICAgICAgIHJldHVybiBidWlsZC5hc3NpZ25fb25lKGZpcnN0X25hbWUsIFZhbHVlOnRyYW5zZm9ybV9vbmNlKHNlbGYsIGZpcnN0X3ZhbHVlKSkKICAgICAgICBlbHNlCiAgICAgICAgICB2YWx1ZXNbMV0gPSBmaXJzdF92YWx1ZQogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgbG9jYWwgdHJhbnNmb3JtZWQKICAgICAgaWYgbnVtX3ZhbHVlcyA9PSAxIHRoZW4KICAgICAgICBsb2NhbCB2YWx1ZSA9IHZhbHVlc1sxXQogICAgICAgIGxvY2FsIHQgPSBudHlwZSh2YWx1ZSkKICAgICAgICBpZiB0ID09ICJkZWNvcmF0ZWQiIHRoZW4KICAgICAgICAgIHZhbHVlID0gc2VsZi50cmFuc2Zvcm0uc3RhdGVtZW50KHZhbHVlKQogICAgICAgICAgdCA9IG50eXBlKHZhbHVlKQogICAgICAgIGVuZAogICAgICAgIGlmIHR5cGVzLmNhc2NhZGluZ1t0XSB0aGVuCiAgICAgICAgICBsb2NhbCByZXQKICAgICAgICAgIHJldCA9IGZ1bmN0aW9uKHN0bSkKICAgICAgICAgICAgaWYgaXNfdmFsdWUoc3RtKSB0aGVuCiAgICAgICAgICAgICAgcmV0dXJuIHsKICAgICAgICAgICAgICAgICJhc3NpZ24iLAogICAgICAgICAgICAgICAgbmFtZXMsCiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHN0bQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgIHJldHVybiBzdG0KICAgICAgICAgICAgZW5kCiAgICAgICAgICBlbmQKICAgICAgICAgIHRyYW5zZm9ybWVkID0gYnVpbGQuZ3JvdXAoewogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImRlY2xhcmUiLAogICAgICAgICAgICAgIG5hbWVzCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNlbGYudHJhbnNmb3JtLnN0YXRlbWVudCh2YWx1ZSwgcmV0LCBub2RlKQogICAgICAgICAgfSkKICAgICAgICBlbmQKICAgICAgZW5kCiAgICAgIG5vZGUgPSB0cmFuc2Zvcm1lZCBvciBub2RlCiAgICAgIGlmIGRlc3RydWN0dXJlLmhhc19kZXN0cnVjdHVyZShuYW1lcykgdGhlbgogICAgICAgIHJldHVybiBkZXN0cnVjdHVyZS5zcGxpdF9hc3NpZ24oc2VsZiwgbm9kZSkKICAgICAgZW5kCiAgICAgIHJldHVybiBub2RlCiAgICBlbmQsCiAgICBjb250aW51ZSA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIGxvY2FsIGNvbnRpbnVlX25hbWUgPSBzZWxmOnNlbmQoImNvbnRpbnVlIikKICAgICAgaWYgbm90IChjb250aW51ZV9uYW1lKSB0aGVuCiAgICAgICAgZXJyb3IoImNvbnRpbnVlIG11c3QgYmUgaW5zaWRlIG9mIGEgbG9vcCIpCiAgICAgIGVuZAogICAgICByZXR1cm4gYnVpbGQuZ3JvdXAoewogICAgICAgIGJ1aWxkLmFzc2lnbl9vbmUoY29udGludWVfbmFtZSwgInRydWUiKSwKICAgICAgICB7CiAgICAgICAgICAiYnJlYWsiCiAgICAgICAgfQogICAgICB9KQogICAgZW5kLAogICAgZXhwb3J0ID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgaWYgI25vZGUgPiAyIHRoZW4KICAgICAgICBpZiBub2RlWzJdID09ICJjbGFzcyIgdGhlbgogICAgICAgICAgbG9jYWwgY2xzID0gc21hcnRfbm9kZShub2RlWzNdKQogICAgICAgICAgcmV0dXJuIGJ1aWxkLmdyb3VwKHsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJleHBvcnQiLAogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGNscy5uYW1lCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICBjbHMKICAgICAgICAgIH0pCiAgICAgICAgZWxzZQogICAgICAgICAgcmV0dXJuIGJ1aWxkLmdyb3VwKHsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJleHBvcnQiLAogICAgICAgICAgICAgIG5vZGVbMl0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgYnVpbGQuYXNzaWduKHsKICAgICAgICAgICAgICBuYW1lcyA9IG5vZGVbMl0sCiAgICAgICAgICAgICAgdmFsdWVzID0gbm9kZVszXQogICAgICAgICAgICB9KQogICAgICAgICAgfSkKICAgICAgICBlbmQKICAgICAgZWxzZQogICAgICAgIHJldHVybiBuaWwKICAgICAgZW5kCiAgICBlbmQsCiAgICB1cGRhdGUgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBuYW1lLCBvcCwgZXhwID0gdW5wYWNrKG5vZGUsIDIpCiAgICAgIGxvY2FsIG9wX2ZpbmFsID0gb3A6bWF0Y2goIl4oLispPSQiKQogICAgICBpZiBub3Qgb3BfZmluYWwgdGhlbgogICAgICAgIGVycm9yKCJVbmtub3duIG9wOiAiIC4uIG9wKQogICAgICBlbmQKICAgICAgaWYgbm90ICh2YWx1ZV9pc19zaW5ndWxhcihleHApKSB0aGVuCiAgICAgICAgZXhwID0gewogICAgICAgICAgInBhcmVucyIsCiAgICAgICAgICBleHAKICAgICAgICB9CiAgICAgIGVuZAogICAgICByZXR1cm4gYnVpbGQuYXNzaWduX29uZShuYW1lLCB7CiAgICAgICAgImV4cCIsCiAgICAgICAgbmFtZSwKICAgICAgICBvcF9maW5hbCwKICAgICAgICBleHAKICAgICAgfSkKICAgIGVuZCwKICAgIGltcG9ydCA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIGxvY2FsIG5hbWVzLCBzb3VyY2UgPSB1bnBhY2sobm9kZSwgMikKICAgICAgbG9jYWwgdGFibGVfdmFsdWVzCiAgICAgIGRvCiAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI25hbWVzIGRvCiAgICAgICAgICBsb2NhbCBuYW1lID0gbmFtZXNbX2luZGV4XzBdCiAgICAgICAgICBsb2NhbCBkZXN0X25hbWUKICAgICAgICAgIGlmIG50eXBlKG5hbWUpID09ICJjb2xvbiIgdGhlbgogICAgICAgICAgICBkZXN0X25hbWUgPSBuYW1lWzJdCiAgICAgICAgICBlbHNlCiAgICAgICAgICAgIGRlc3RfbmFtZSA9IG5hbWUKICAgICAgICAgIGVuZAogICAgICAgICAgbG9jYWwgX3ZhbHVlXzAgPSB7CiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAia2V5X2xpdGVyYWwiLAogICAgICAgICAgICAgIG5hbWUKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZGVzdF9uYW1lCiAgICAgICAgICB9CiAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gX3ZhbHVlXzAKICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICBlbmQKICAgICAgICB0YWJsZV92YWx1ZXMgPSBfYWNjdW1fMAogICAgICBlbmQKICAgICAgbG9jYWwgZGVzdCA9IHsKICAgICAgICAidGFibGUiLAogICAgICAgIHRhYmxlX3ZhbHVlcwogICAgICB9CiAgICAgIHJldHVybiB7CiAgICAgICAgImFzc2lnbiIsCiAgICAgICAgewogICAgICAgICAgZGVzdAogICAgICAgIH0sCiAgICAgICAgewogICAgICAgICAgc291cmNlCiAgICAgICAgfSwKICAgICAgICBbLTFdID0gbm9kZVstMV0KICAgICAgfQogICAgZW5kLAogICAgY29tcHJlaGVuc2lvbiA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUsIGFjdGlvbikKICAgICAgbG9jYWwgZXhwLCBjbGF1c2VzID0gdW5wYWNrKG5vZGUsIDIpCiAgICAgIGFjdGlvbiA9IGFjdGlvbiBvciBmdW5jdGlvbihleHApCiAgICAgICAgcmV0dXJuIHsKICAgICAgICAgIGV4cAogICAgICAgIH0KICAgICAgZW5kCiAgICAgIHJldHVybiBjb25zdHJ1Y3RfY29tcHJlaGVuc2lvbihhY3Rpb24oZXhwKSwgY2xhdXNlcykKICAgIGVuZCwKICAgIFsiZG8iXSA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUsIHJldCkKICAgICAgaWYgcmV0IHRoZW4KICAgICAgICBub2RlWzJdID0gdHJhbnNmb3JtX2xhc3Rfc3RtKG5vZGVbMl0sIHJldCkKICAgICAgZW5kCiAgICAgIHJldHVybiBub2RlCiAgICBlbmQsCiAgICBkZWNvcmF0ZWQgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBzdG0sIGRlYyA9IHVucGFjayhub2RlLCAyKQogICAgICBsb2NhbCB3cmFwcGVkCiAgICAgIGxvY2FsIF9leHBfMCA9IGRlY1sxXQogICAgICBpZiAiaWYiID09IF9leHBfMCB0aGVuCiAgICAgICAgbG9jYWwgY29uZCwgZmFpbCA9IHVucGFjayhkZWMsIDIpCiAgICAgICAgaWYgZmFpbCB0aGVuCiAgICAgICAgICBmYWlsID0gewogICAgICAgICAgICAiZWxzZSIsCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICBmYWlsCiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICBlbmQKICAgICAgICB3cmFwcGVkID0gewogICAgICAgICAgImlmIiwKICAgICAgICAgIGNvbmQsCiAgICAgICAgICB7CiAgICAgICAgICAgIHN0bQogICAgICAgICAgfSwKICAgICAgICAgIGZhaWwKICAgICAgICB9CiAgICAgIGVsc2VpZiAidW5sZXNzIiA9PSBfZXhwXzAgdGhlbgogICAgICAgIHdyYXBwZWQgPSB7CiAgICAgICAgICAidW5sZXNzIiwKICAgICAgICAgIGRlY1syXSwKICAgICAgICAgIHsKICAgICAgICAgICAgc3RtCiAgICAgICAgICB9CiAgICAgICAgfQogICAgICBlbHNlaWYgImNvbXByZWhlbnNpb24iID09IF9leHBfMCB0aGVuCiAgICAgICAgd3JhcHBlZCA9IHsKICAgICAgICAgICJjb21wcmVoZW5zaW9uIiwKICAgICAgICAgIHN0bSwKICAgICAgICAgIGRlY1syXQogICAgICAgIH0KICAgICAgZWxzZQogICAgICAgIHdyYXBwZWQgPSBlcnJvcigiVW5rbm93biBkZWNvcmF0b3IgIiAuLiBkZWNbMV0pCiAgICAgIGVuZAogICAgICBpZiBudHlwZShzdG0pID09ICJhc3NpZ24iIHRoZW4KICAgICAgICB3cmFwcGVkID0gYnVpbGQuZ3JvdXAoewogICAgICAgICAgYnVpbGQuZGVjbGFyZSh7CiAgICAgICAgICAgIG5hbWVzID0gKGZ1bmN0aW9uKCkKICAgICAgICAgICAgICBsb2NhbCBfYWNjdW1fMCA9IHsgfQogICAgICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgICAgICBsb2NhbCBfbGlzdF8wID0gc3RtWzJdCiAgICAgICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI19saXN0XzAgZG8KICAgICAgICAgICAgICAgIGxvY2FsIG5hbWUgPSBfbGlzdF8wW19pbmRleF8wXQogICAgICAgICAgICAgICAgaWYgbnR5cGUobmFtZSkgPT0gInJlZiIgdGhlbgogICAgICAgICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gbmFtZQogICAgICAgICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICByZXR1cm4gX2FjY3VtXzAKICAgICAgICAgICAgZW5kKSgpCiAgICAgICAgICB9KSwKICAgICAgICAgIHdyYXBwZWQKICAgICAgICB9KQogICAgICBlbmQKICAgICAgcmV0dXJuIHdyYXBwZWQKICAgIGVuZCwKICAgIHVubGVzcyA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIGxvY2FsIGNsYXVzZSA9IG5vZGVbMl0KICAgICAgaWYgbnR5cGUoY2xhdXNlKSA9PSAiYXNzaWduIiB0aGVuCiAgICAgICAgaWYgZGVzdHJ1Y3R1cmUuaGFzX2Rlc3RydWN0dXJlKGNsYXVzZVsyXSkgdGhlbgogICAgICAgICAgZXJyb3IoImRlc3RydWN0dXJlIG5vdCBhbGxvd2VkIGluIHVubGVzcyBhc3NpZ25tZW50IikKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gYnVpbGRbImRvIl0oewogICAgICAgICAgY2xhdXNlLAogICAgICAgICAgewogICAgICAgICAgICAiaWYiLAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgIm5vdCIsCiAgICAgICAgICAgICAgY2xhdXNlWzJdWzFdCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHVucGFjayhub2RlLCAzKQogICAgICAgICAgfQogICAgICAgIH0pCiAgICAgIGVsc2UKICAgICAgICByZXR1cm4gewogICAgICAgICAgImlmIiwKICAgICAgICAgIHsKICAgICAgICAgICAgIm5vdCIsCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAicGFyZW5zIiwKICAgICAgICAgICAgICBjbGF1c2UKICAgICAgICAgICAgfQogICAgICAgICAgfSwKICAgICAgICAgIHVucGFjayhub2RlLCAzKQogICAgICAgIH0KICAgICAgZW5kCiAgICBlbmQsCiAgICBbImlmIl0gPSBmdW5jdGlvbihzZWxmLCBub2RlLCByZXQpCiAgICAgIGlmIG50eXBlKG5vZGVbMl0pID09ICJhc3NpZ24iIHRoZW4KICAgICAgICBsb2NhbCBhc3NpZ24sIGJvZHkgPSB1bnBhY2sobm9kZSwgMikKICAgICAgICBpZiBkZXN0cnVjdHVyZS5oYXNfZGVzdHJ1Y3R1cmUoYXNzaWduWzJdKSB0aGVuCiAgICAgICAgICBsb2NhbCBuYW1lID0gTmFtZVByb3h5KCJkZXMiKQogICAgICAgICAgYm9keSA9IHsKICAgICAgICAgICAgZGVzdHJ1Y3R1cmUuYnVpbGRfYXNzaWduKHNlbGYsIGFzc2lnblsyXVsxXSwgbmFtZSksCiAgICAgICAgICAgIGJ1aWxkLmdyb3VwKG5vZGVbM10pCiAgICAgICAgICB9CiAgICAgICAgICByZXR1cm4gYnVpbGRbImRvIl0oewogICAgICAgICAgICBidWlsZC5hc3NpZ25fb25lKG5hbWUsIGFzc2lnblszXVsxXSksCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWYiLAogICAgICAgICAgICAgIG5hbWUsCiAgICAgICAgICAgICAgYm9keSwKICAgICAgICAgICAgICB1bnBhY2sobm9kZSwgNCkKICAgICAgICAgICAgfQogICAgICAgICAgfSkKICAgICAgICBlbHNlCiAgICAgICAgICBsb2NhbCBuYW1lID0gYXNzaWduWzJdWzFdCiAgICAgICAgICByZXR1cm4gYnVpbGRbImRvIl0oewogICAgICAgICAgICBhc3NpZ24sCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWYiLAogICAgICAgICAgICAgIG5hbWUsCiAgICAgICAgICAgICAgdW5wYWNrKG5vZGUsIDMpCiAgICAgICAgICAgIH0KICAgICAgICAgIH0pCiAgICAgICAgZW5kCiAgICAgIGVuZAogICAgICBub2RlID0gZXhwYW5kX2Vsc2VpZl9hc3NpZ24obm9kZSkKICAgICAgaWYgcmV0IHRoZW4KICAgICAgICBzbWFydF9ub2RlKG5vZGUpCiAgICAgICAgbm9kZVsndGhlbiddID0gdHJhbnNmb3JtX2xhc3Rfc3RtKG5vZGVbJ3RoZW4nXSwgcmV0KQogICAgICAgIGZvciBpID0gNCwgI25vZGUgZG8KICAgICAgICAgIGxvY2FsIGNhc2UgPSBub2RlW2ldCiAgICAgICAgICBsb2NhbCBib2R5X2lkeCA9ICNub2RlW2ldCiAgICAgICAgICBjYXNlW2JvZHlfaWR4XSA9IHRyYW5zZm9ybV9sYXN0X3N0bShjYXNlW2JvZHlfaWR4XSwgcmV0KQogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgcmV0dXJuIG5vZGUKICAgIGVuZCwKICAgIHdpdGggPSBmdW5jdGlvbihzZWxmLCBub2RlLCByZXQpCiAgICAgIGxvY2FsIGV4cCwgYmxvY2sgPSB1bnBhY2sobm9kZSwgMikKICAgICAgbG9jYWwgY29weV9zY29wZSA9IHRydWUKICAgICAgbG9jYWwgc2NvcGVfbmFtZSwgbmFtZWRfYXNzaWduCiAgICAgIGRvCiAgICAgICAgbG9jYWwgbGFzdCA9IGxhc3Rfc3RtKGJsb2NrKQogICAgICAgIGlmIGxhc3QgdGhlbgogICAgICAgICAgaWYgdHlwZXMudGVybWluYXRpbmdbbnR5cGUobGFzdCldIHRoZW4KICAgICAgICAgICAgcmV0ID0gZmFsc2UKICAgICAgICAgIGVuZAogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgaWYgbnR5cGUoZXhwKSA9PSAiYXNzaWduIiB0aGVuCiAgICAgICAgbG9jYWwgbmFtZXMsIHZhbHVlcyA9IHVucGFjayhleHAsIDIpCiAgICAgICAgbG9jYWwgZmlyc3RfbmFtZSA9IG5hbWVzWzFdCiAgICAgICAgaWYgbnR5cGUoZmlyc3RfbmFtZSkgPT0gInJlZiIgdGhlbgogICAgICAgICAgc2NvcGVfbmFtZSA9IGZpcnN0X25hbWUKICAgICAgICAgIG5hbWVkX2Fzc2lnbiA9IGV4cAogICAgICAgICAgZXhwID0gdmFsdWVzWzFdCiAgICAgICAgICBjb3B5X3Njb3BlID0gZmFsc2UKICAgICAgICBlbHNlCiAgICAgICAgICBzY29wZV9uYW1lID0gTmFtZVByb3h5KCJ3aXRoIikKICAgICAgICAgIGV4cCA9IHZhbHVlc1sxXQogICAgICAgICAgdmFsdWVzWzFdID0gc2NvcGVfbmFtZQogICAgICAgICAgbmFtZWRfYXNzaWduID0gewogICAgICAgICAgICAiYXNzaWduIiwKICAgICAgICAgICAgbmFtZXMsCiAgICAgICAgICAgIHZhbHVlcwogICAgICAgICAgfQogICAgICAgIGVuZAogICAgICBlbHNlaWYgc2VsZjppc19sb2NhbChleHApIHRoZW4KICAgICAgICBzY29wZV9uYW1lID0gZXhwCiAgICAgICAgY29weV9zY29wZSA9IGZhbHNlCiAgICAgIGVuZAogICAgICBzY29wZV9uYW1lID0gc2NvcGVfbmFtZSBvciBOYW1lUHJveHkoIndpdGgiKQogICAgICBsb2NhbCBvdXQgPSBidWlsZFsiZG8iXSh7CiAgICAgICAgY29weV9zY29wZSBhbmQgYnVpbGQuYXNzaWduX29uZShzY29wZV9uYW1lLCBleHApIG9yIE5PT1AsCiAgICAgICAgbmFtZWRfYXNzaWduIG9yIE5PT1AsCiAgICAgICAgUnVuKGZ1bmN0aW9uKHNlbGYpCiAgICAgICAgICByZXR1cm4gc2VsZjpzZXQoInNjb3BlX3ZhciIsIHNjb3BlX25hbWUpCiAgICAgICAgZW5kKSwKICAgICAgICB1bnBhY2soYmxvY2spCiAgICAgIH0pCiAgICAgIGlmIHJldCB0aGVuCiAgICAgICAgdGFibGUuaW5zZXJ0KG91dFsyXSwgcmV0KHNjb3BlX25hbWUpKQogICAgICBlbmQKICAgICAgcmV0dXJuIG91dAogICAgZW5kLAogICAgZm9yZWFjaCA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUsIF8pCiAgICAgIHNtYXJ0X25vZGUobm9kZSkKICAgICAgbG9jYWwgc291cmNlID0gdW5wYWNrKG5vZGUuaXRlcikKICAgICAgbG9jYWwgZGVzdHJ1Y3R1cmVzID0geyB9CiAgICAgIGRvCiAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgICAgZm9yIGksIG5hbWUgaW4gaXBhaXJzKG5vZGUubmFtZXMpIGRvCiAgICAgICAgICBpZiBudHlwZShuYW1lKSA9PSAidGFibGUiIHRoZW4KICAgICAgICAgICAgZG8KICAgICAgICAgICAgICBsb2NhbCBwcm94eSA9IE5hbWVQcm94eSgiZGVzIikKICAgICAgICAgICAgICBpbnNlcnQoZGVzdHJ1Y3R1cmVzLCBkZXN0cnVjdHVyZS5idWlsZF9hc3NpZ24oc2VsZiwgbmFtZSwgcHJveHkpKQogICAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBwcm94eQogICAgICAgICAgICBlbmQKICAgICAgICAgIGVsc2UKICAgICAgICAgICAgX2FjY3VtXzBbX2xlbl8wXSA9IG5hbWUKICAgICAgICAgIGVuZAogICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgIGVuZAogICAgICAgIG5vZGUubmFtZXMgPSBfYWNjdW1fMAogICAgICBlbmQKICAgICAgaWYgbmV4dChkZXN0cnVjdHVyZXMpIHRoZW4KICAgICAgICBpbnNlcnQoZGVzdHJ1Y3R1cmVzLCBidWlsZC5ncm91cChub2RlLmJvZHkpKQogICAgICAgIG5vZGUuYm9keSA9IGRlc3RydWN0dXJlcwogICAgICBlbmQKICAgICAgaWYgbnR5cGUoc291cmNlKSA9PSAidW5wYWNrIiB0aGVuCiAgICAgICAgbG9jYWwgbGlzdCA9IHNvdXJjZVsyXQogICAgICAgIGxvY2FsIGluZGV4X25hbWUgPSBOYW1lUHJveHkoImluZGV4IikKICAgICAgICBsb2NhbCBsaXN0X25hbWUgPSBzZWxmOmlzX2xvY2FsKGxpc3QpIGFuZCBsaXN0IG9yIE5hbWVQcm94eSgibGlzdCIpCiAgICAgICAgbG9jYWwgc2xpY2VfdmFyID0gbmlsCiAgICAgICAgbG9jYWwgYm91bmRzCiAgICAgICAgaWYgaXNfc2xpY2UobGlzdCkgdGhlbgogICAgICAgICAgbG9jYWwgc2xpY2UgPSBsaXN0WyNsaXN0XQogICAgICAgICAgdGFibGUucmVtb3ZlKGxpc3QpCiAgICAgICAgICB0YWJsZS5yZW1vdmUoc2xpY2UsIDEpCiAgICAgICAgICBpZiBzZWxmOmlzX2xvY2FsKGxpc3QpIHRoZW4KICAgICAgICAgICAgbGlzdF9uYW1lID0gbGlzdAogICAgICAgICAgZW5kCiAgICAgICAgICBpZiBzbGljZVsyXSBhbmQgc2xpY2VbMl0gfj0gIiIgdGhlbgogICAgICAgICAgICBsb2NhbCBtYXhfdG1wX25hbWUgPSBOYW1lUHJveHkoIm1heCIpCiAgICAgICAgICAgIHNsaWNlX3ZhciA9IGJ1aWxkLmFzc2lnbl9vbmUobWF4X3RtcF9uYW1lLCBzbGljZVsyXSkKICAgICAgICAgICAgc2xpY2VbMl0gPSB7CiAgICAgICAgICAgICAgImV4cCIsCiAgICAgICAgICAgICAgbWF4X3RtcF9uYW1lLAogICAgICAgICAgICAgICI8IiwKICAgICAgICAgICAgICAwLAogICAgICAgICAgICAgICJhbmQiLAogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICJsZW5ndGgiLAogICAgICAgICAgICAgICAgbGlzdF9uYW1lCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAiKyIsCiAgICAgICAgICAgICAgbWF4X3RtcF9uYW1lLAogICAgICAgICAgICAgICJvciIsCiAgICAgICAgICAgICAgbWF4X3RtcF9uYW1lCiAgICAgICAgICAgIH0KICAgICAgICAgIGVsc2UKICAgICAgICAgICAgc2xpY2VbMl0gPSB7CiAgICAgICAgICAgICAgImxlbmd0aCIsCiAgICAgICAgICAgICAgbGlzdF9uYW1lCiAgICAgICAgICAgIH0KICAgICAgICAgIGVuZAogICAgICAgICAgYm91bmRzID0gc2xpY2UKICAgICAgICBlbHNlCiAgICAgICAgICBib3VuZHMgPSB7CiAgICAgICAgICAgIDEsCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAibGVuZ3RoIiwKICAgICAgICAgICAgICBsaXN0X25hbWUKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIGVuZAogICAgICAgIGxvY2FsIG5hbWVzCiAgICAgICAgZG8KICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgICAgICBsb2NhbCBfbGlzdF8wID0gbm9kZS5uYW1lcwogICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI19saXN0XzAgZG8KICAgICAgICAgICAgbG9jYWwgbiA9IF9saXN0XzBbX2luZGV4XzBdCiAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBpc19uYW1lX3Byb3h5KG4pIGFuZCBuIG9yIExvY2FsTmFtZShuKSBvciBuCiAgICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgIGVuZAogICAgICAgICAgbmFtZXMgPSBfYWNjdW1fMAogICAgICAgIGVuZAogICAgICAgIHJldHVybiBidWlsZC5ncm91cCh7CiAgICAgICAgICBsaXN0X25hbWUgfj0gbGlzdCBhbmQgYnVpbGQuYXNzaWduX29uZShsaXN0X25hbWUsIGxpc3QpIG9yIE5PT1AsCiAgICAgICAgICBzbGljZV92YXIgb3IgTk9PUCwKICAgICAgICAgIGJ1aWxkWyJmb3IiXSh7CiAgICAgICAgICAgIG5hbWUgPSBpbmRleF9uYW1lLAogICAgICAgICAgICBib3VuZHMgPSBib3VuZHMsCiAgICAgICAgICAgIGJvZHkgPSB7CiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgImFzc2lnbiIsCiAgICAgICAgICAgICAgICBuYW1lcywKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgTmFtZVByb3h5LmluZGV4KGxpc3RfbmFtZSwgaW5kZXhfbmFtZSkKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgIGJ1aWxkLmdyb3VwKG5vZGUuYm9keSkKICAgICAgICAgICAgfQogICAgICAgICAgfSkKICAgICAgICB9KQogICAgICBlbmQKICAgICAgbm9kZS5ib2R5ID0gd2l0aF9jb250aW51ZV9saXN0ZW5lcihub2RlLmJvZHkpCiAgICBlbmQsCiAgICBbIndoaWxlIl0gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBzbWFydF9ub2RlKG5vZGUpCiAgICAgIG5vZGUuYm9keSA9IHdpdGhfY29udGludWVfbGlzdGVuZXIobm9kZS5ib2R5KQogICAgZW5kLAogICAgWyJmb3IiXSA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIHNtYXJ0X25vZGUobm9kZSkKICAgICAgbm9kZS5ib2R5ID0gd2l0aF9jb250aW51ZV9saXN0ZW5lcihub2RlLmJvZHkpCiAgICBlbmQsCiAgICBzd2l0Y2ggPSBmdW5jdGlvbihzZWxmLCBub2RlLCByZXQpCiAgICAgIGxvY2FsIGV4cCwgY29uZHMgPSB1bnBhY2sobm9kZSwgMikKICAgICAgbG9jYWwgZXhwX25hbWUgPSBOYW1lUHJveHkoImV4cCIpCiAgICAgIGxvY2FsIGNvbnZlcnRfY29uZAogICAgICBjb252ZXJ0X2NvbmQgPSBmdW5jdGlvbihjb25kKQogICAgICAgIGxvY2FsIHQsIGNhc2VfZXhwcywgYm9keSA9IHVucGFjayhjb25kKQogICAgICAgIGxvY2FsIG91dCA9IHsgfQogICAgICAgIGluc2VydChvdXQsIHQgPT0gImNhc2UiIGFuZCAiZWxzZWlmIiBvciAiZWxzZSIpCiAgICAgICAgaWYgdCB+PSAiZWxzZSIgdGhlbgogICAgICAgICAgbG9jYWwgY29uZF9leHAgPSB7IH0KICAgICAgICAgIGZvciBpLCBjYXNlIGluIGlwYWlycyhjYXNlX2V4cHMpIGRvCiAgICAgICAgICAgIGlmIGkgPT0gMSB0aGVuCiAgICAgICAgICAgICAgaW5zZXJ0KGNvbmRfZXhwLCAiZXhwIikKICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgIGluc2VydChjb25kX2V4cCwgIm9yIikKICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIGlmIG5vdCAodmFsdWVfaXNfc2luZ3VsYXIoY2FzZSkpIHRoZW4KICAgICAgICAgICAgICBjYXNlID0gewogICAgICAgICAgICAgICAgInBhcmVucyIsCiAgICAgICAgICAgICAgICBjYXNlCiAgICAgICAgICAgICAgfQogICAgICAgICAgICBlbmQKICAgICAgICAgICAgaW5zZXJ0KGNvbmRfZXhwLCB7CiAgICAgICAgICAgICAgImV4cCIsCiAgICAgICAgICAgICAgY2FzZSwKICAgICAgICAgICAgICAiPT0iLAogICAgICAgICAgICAgIGV4cF9uYW1lCiAgICAgICAgICAgIH0pCiAgICAgICAgICBlbmQKICAgICAgICAgIGluc2VydChvdXQsIGNvbmRfZXhwKQogICAgICAgIGVsc2UKICAgICAgICAgIGJvZHkgPSBjYXNlX2V4cHMKICAgICAgICBlbmQKICAgICAgICBpZiByZXQgdGhlbgogICAgICAgICAgYm9keSA9IHRyYW5zZm9ybV9sYXN0X3N0bShib2R5LCByZXQpCiAgICAgICAgZW5kCiAgICAgICAgaW5zZXJ0KG91dCwgYm9keSkKICAgICAgICByZXR1cm4gb3V0CiAgICAgIGVuZAogICAgICBsb2NhbCBmaXJzdCA9IHRydWUKICAgICAgbG9jYWwgaWZfc3RtID0gewogICAgICAgICJpZiIKICAgICAgfQogICAgICBmb3IgX2luZGV4XzAgPSAxLCAjY29uZHMgZG8KICAgICAgICBsb2NhbCBjb25kID0gY29uZHNbX2luZGV4XzBdCiAgICAgICAgbG9jYWwgaWZfY29uZCA9IGNvbnZlcnRfY29uZChjb25kKQogICAgICAgIGlmIGZpcnN0IHRoZW4KICAgICAgICAgIGZpcnN0ID0gZmFsc2UKICAgICAgICAgIGluc2VydChpZl9zdG0sIGlmX2NvbmRbMl0pCiAgICAgICAgICBpbnNlcnQoaWZfc3RtLCBpZl9jb25kWzNdKQogICAgICAgIGVsc2UKICAgICAgICAgIGluc2VydChpZl9zdG0sIGlmX2NvbmQpCiAgICAgICAgZW5kCiAgICAgIGVuZAogICAgICByZXR1cm4gYnVpbGQuZ3JvdXAoewogICAgICAgIGJ1aWxkLmFzc2lnbl9vbmUoZXhwX25hbWUsIGV4cCksCiAgICAgICAgaWZfc3RtCiAgICAgIH0pCiAgICBlbmQsCiAgICBjbGFzcyA9IHJlcXVpcmUoIm1vb25zY3JpcHQudHJhbnNmb3JtLmNsYXNzIikKICB9KQogIAplbmQKcGFja2FnZS5wcmVsb2FkWydtb29uc2NyaXB0LnRyYW5zZm9ybS5jbGFzcyddID0gZnVuY3Rpb24oKQogIGxvY2FsIE5hbWVQcm94eSwgTG9jYWxOYW1lCiAgZG8KICAgIGxvY2FsIF9vYmpfMCA9IHJlcXVpcmUoIm1vb25zY3JpcHQudHJhbnNmb3JtLm5hbWVzIikKICAgIE5hbWVQcm94eSwgTG9jYWxOYW1lID0gX29ial8wLk5hbWVQcm94eSwgX29ial8wLkxvY2FsTmFtZQogIGVu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XdfY2hhaW4gPSByZWxhdGl2ZV9wYXJlbnQKICAgIGxvY2FsIF9leHBfMCA9IGhlYWRbMV0KICAgIGlmICJjYWxsIiA9PSBfZXhwXzAgdGhlbgogICAgICBpZiBvbl9iYXNlIHRoZW4KICAgICAgICBpbnNlcnQobmV3X2NoYWluLCB7CiAgICAgICAgICAiZG90IiwKICAgICAgICAgICJfX2Jhc2UiCiAgICAgICAgfSkKICAgICAgZW5kCiAgICAgIGxvY2FsIGNhbGxpbmdfbmFtZSA9IGJsb2NrOmdldCgiY3VycmVudF9tZXRob2QiKQogICAgICBhc3NlcnQoY2FsbGluZ19uYW1lLCAibWlzc2luZyBjYWxsaW5nIG5hbWUiKQogICAgICBjaGFpbl90YWlsWzFdID0gewogICAgICAgICJjYWxsIiwKICAgICAgICB7CiAgICAgICAgICAic2VsZiIsCiAgICAgICAgICB1bnBhY2soaGVhZFsyXSkKICAgICAgICB9CiAgICAgIH0KICAgICAgaWYgbnR5cGUoY2FsbGluZ19uYW1lKSA9PSAia2V5X2xpdGVyYWwiIHRoZW4KICAgICAgICBpbnNlcnQobmV3X2NoYWluLCB7CiAgICAgICAgICAiZG90IiwKICAgICAgICAgIGNhbGxpbmdfbmFtZVsyXQogICAgICAgIH0pCiAgICAgIGVsc2UKICAgICAgICBpbnNlcnQobmV3X2NoYWluLCB7CiAgICAgICAgICAiaW5kZXgiLAogICAgICAgICAgY2FsbGluZ19uYW1lCiAgICAgICAgfSkKICAgICAgZW5kCiAgICBlbHNlaWYgImNvbG9uIiA9PSBfZXhwXzAgdGhlbgogICAgICBsb2NhbCBjYWxsID0gY2hhaW5fdGFpbFsyXQogICAgICBpZiBjYWxsIGFuZCBjYWxsWzFdID09ICJjYWxsIiB0aGVuCiAgICAgICAgY2hhaW5fdGFpbFsxXSA9IHsKICAgICAgICAgICJkb3QiLAogICAgICAgICAgaGVhZFsyXQogICAgICAgIH0KICAgICAgICBjaGFpbl90YWlsWzJdID0gewogICAgICAgICAgImNhbGwiLAogICAgICAgICAgewogICAgICAgICAgICAic2VsZiIsCiAgICAgICAgICAgIHVucGFjayhjYWxsWzJdKQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgZW5kCiAgICBlbmQKICAgIGZvciBfaW5kZXhfMCA9IDEsICNjaGFpbl90YWlsIGRvCiAgICAgIGxvY2FsIGl0ZW0gPSBjaGFpbl90YWlsW19pbmRleF8wXQogICAgICBpbnNlcnQobmV3X2NoYWluLCBpdGVtKQogICAgZW5kCiAgICByZXR1cm4gbmV3X2NoYWluCiAgZW5kCiAgbG9jYWwgc3VwZXJfc2NvcGUKICBzdXBlcl9zY29wZSA9IGZ1bmN0aW9uKHZhbHVlLCB0LCBrZXkpCiAgICBsb2NhbCBwcmV2X21ldGhvZAogICAgcmV0dXJuIHsKICAgICAgInNjb3BlZCIsCiAgICAgIFJ1bihmdW5jdGlvbihzZWxmKQogICAgICAgIHByZXZfbWV0aG9kID0gc2VsZjpnZXQoImN1cnJlbnRfbWV0aG9kIikKICAgICAgICBzZWxmOnNldCgiY3VycmVudF9tZXRob2QiLCBrZXkpCiAgICAgICAgcmV0dXJuIHNlbGY6c2V0KCJzdXBlciIsIHQpCiAgICAgIGVuZCksCiAgICAgIHZhbHVlLAogICAgICBSdW4oZnVuY3Rpb24oc2VsZikKICAgICAgICByZXR1cm4gc2VsZjpzZXQoImN1cnJlbnRfbWV0aG9kIiwgcHJldl9tZXRob2QpCiAgICAgIGVuZCkKICAgIH0KICBlbmQKICByZXR1cm4gZnVuY3Rpb24oc2VsZiwgbm9kZSwgcmV0LCBwYXJlbnRfYXNzaWduKQogICAgbG9jYWwgbmFtZSwgcGFyZW50X3ZhbCwgYm9keSA9IHVucGFjayhub2RlLCAyKQogICAgaWYgcGFyZW50X3ZhbCA9PSAiIiB0aGVuCiAgICAgIHBhcmVudF92YWwgPSBuaWwKICAgIGVuZAogICAgbG9jYWwgcGFyZW50X2Nsc19uYW1lID0gTmFtZVByb3h5KCJwYXJlbnQiKQogICAgbG9jYWwgY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JrZXlfbGl0ZXJhbCIsCiAgICAgICAgICAgICAga1syXQogICAgICAgICAgICB9KQogICAgICAgICAgICBpbnNlcnQoc3RhdGVtZW50cywgYnVpbGQuYXNzaWduX29uZShrLCB2KSkKICAgICAgICAgIGVsc2UKICAgICAgICAgICAgaW5zZXJ0KHByb3BlcnRpZXMsIHR1cGxlKQogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgIGVuZAogICAgZW5kCiAgICBsb2NhbCBjb25zdHJ1Y3RvcgogICAgZG8KICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgbG9jYWwgX2xlbl8wID0gMQogICAgICBmb3IgX2luZGV4XzAgPSAxLCAjcHJvcGVydGllcyBkbwogICAgICAgIGxvY2FsIF9jb250aW51ZV8wID0gZmFsc2UKICAgICAgICByZXBlYXQKICAgICAgICAgIGxvY2FsIHR1cGxlID0gcHJvcGVydGllc1tfaW5kZXhfMF0KICAgICAgICAgIGxvY2FsIGtleSA9IHR1cGxlWzFdCiAgICAgICAgICBsb2NhbCBfdmFsdWVfMAogICAgICAgICAgaWYga2V5WzFdID09ICJrZXlfbGl0ZXJhbCIgYW5kIGtleVsyXSA9PSBDT05TVFJVQ1RPUl9OQU1FIHRoZW4KICAgICAgICAgICAgY29uc3RydWN0b3IgPSB0dXBsZVsyXQogICAgICAgICAgICBfY29udGludWVfMCA9IHRydWUKICAgICAgICAgICAgYnJlYWsKICAgICAgICAgIGVsc2UKICAgICAgICAgICAgbG9jYWwgdmFsCiAgICAgICAgICAgIGtleSwgdmFsID0gdHVwbGVbMV0sIHR1cGxlWzJdCiAgICAgICAgICAgIF92YWx1ZV8wID0gewogICAgICAgICAgICAgIGtleSwKICAgICAgICAgICAgICBzdXBlcl9zY29wZSh2YWwsIGNsc19pbnN0YW5jZV9zdXBlciwga2V5KQogICAgICAgICAgICB9CiAgICAgICAgICBlbmQKICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBfdmFsdWVfMAogICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgdW50aWwgdHJ1ZQogICAgICAgIGlmIG5vdCBfY29udGludWVfMCB0aGVuCiAgICAgICAgICBicmVhawogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgcHJvcGVydGllcyA9IF9hY2N1bV8wCiAgICBlbmQKICAgIGlmIG5vdCAoY29uc3RydWN0b3IpIHRoZW4KICAgICAgaWYgcGFyZW50X3ZhbCB0aGVuCiAgICAgICAgY29uc3RydWN0b3IgPSBidWlsZC5mbmRlZih7CiAgICAgICAgICBhcmdzID0gewogICAgICAgICAgICB7CiAgICAgICAgICAgICAgIi4uLiIKICAgICAgICAgICAgfQogICAgICAgICAgfSwKICAgICAgICAgIGFycm93ID0gImZhdCIsCiAgICAgICAgICBib2R5ID0gewogICAgICAgICAgICBidWlsZC5jaGFpbih7CiAgICAgICAgICAgICAgYmFzZSA9ICJzdXBlciIsCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgImNhbGwiLAogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAiLi4uIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSkKICAgICAgICAgIH0KICAgICAgICB9KQogICAgICBlbHNlCiAgICAgICAgY29uc3RydWN0b3IgPSBidWlsZC5mbmRlZigpCiAgICAgIGVuZAogICAgZW5kCiAgICBsb2NhbCByZWFsX25hbWUgPSBuYW1lIG9yIHBhcmVudF9hc3NpZ24gYW5kIHBhcmVudF9hc3NpZ25bMl1bMV0KICAgIGxvY2FsIF9leHBfMCA9IG50eXBlKHJlYWxfbmFtZSkKICAgIGlmICJjaGFpbiIgPT0gX2V4cF8wIHRoZW4KICAgICAgbG9jYWwgbGFzdCA9IHJlYWxfbmFtZVsjcmVhbF9uYW1lXQogICAgICBsb2NhbCBfZXhwXzEgPSBudHlwZShsYXN0KQogICAgICBpZiAiZG90IiA9PSBfZXhwXzEgdGhlbgogICAgICAgIHJlYWxfbmFtZSA9IHsKICAgICAgICAgICJzdHJpbmciLAogICAgICAgICAgJyInLAogICAgICAgICAgbGFzdFsyXQogICAgICAgIH0KICAgICAgZWxzZWlmICJpbmRleCIgPT0gX2V4cF8xIHRoZW4KICAgICAgICByZWFsX25hbWUgPSBsYXN0WzJdCiAgICAgIGVsc2UKICAgICAgICByZWFsX25hbWUgPSAibmlsIgogICAgICBlbmQKICAgIGVsc2VpZiAibmlsIiA9PSBfZXhwXzAgdGhlbgogICAgICByZWFsX25hbWUgPSAibmlsIgogICAgZWxzZQogICAgICBsb2NhbCBuYW1lX3QgPSB0eXBlKHJlYWxfbmFtZSkKICAgICAgbG9jYWwgZmxhdHRlbmVkX25hbWUKICAgICAgaWYgbmFtZV90ID09ICJzdHJpbmciIHRoZW4KICAgICAgICBmbGF0dGVuZWRfbmFtZSA9IHJlYWxfbmFtZQogICAgICBlbHNlaWYgbmFtZV90ID09ICJ0YWJsZSIgYW5kIHJlYWxfbmFtZVsxXSA9PSAicmVmIiB0aGVuCiAgICAgICAgZmxhdHRlbmVkX25hbWUgPSByZWFsX25hbWVbMl0KICAgICAgZWxzZQogICAgICAgIGZsYXR0ZW5lZF9uYW1lID0gZXJyb3IoImRvbid0IGtub3cgaG93IHRvIGV4dHJhY3QgbmFtZSBmcm9tICIgLi4gdG9zdHJpbmcobmFtZV90KSkKICAgICAgZW5kCiAgICAgIHJlYWxfbmFtZSA9IHsKICAgICAgICAic3RyaW5nIiwKICAgICAgICAnIicsCiAgICAgICAgZmxhdHRlbmVkX25hbWUKICAgICAgfQogICAgZW5kCiAgICBsb2NhbCBjbHMgPSBidWlsZC50YWJsZSh7CiAgICAgIHsKICAgICAgICAiX19pbml0IiwKICAgICAgICBzdXBlcl9zY29wZShjb25zdHJ1Y3RvciwgY2xzX3N1cGVyLCB7CiAgICAgICAgICAia2V5X2xpdGVyYWwiLAogICAgICAgICAgIl9faW5pdCIKICAgICAgICB9KQogICAgICB9LAogICAgICB7CiAgICAgICAgIl9fYmFzZSIsCiAgICAgICAgYmFzZV9uYW1lCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiX19uYW1lIiwKICAgICAgICByZWFsX25hbWUKICAgICAgfSwKICAgICAgcGFyZW50X3ZhbCBhbmQgewogICAgICAgICJfX3BhcmVudCIsCiAgICAgICAgcGFyZW50X2Nsc19uYW1lCiAgICAgIH0gb3IgbmlsCiAgICB9KQogICAgbG9jYWwgY2xhc3NfaW5kZXgKICAgIGlmIHBhcmVudF92YWwgdGhlbgogICAgICBsb2NhbCBjbGFzc19sb29rdXAgPSBidWlsZFsiaWYiXSh7CiAgICAgICAgY29uZCA9IHsKICAgICAgICAgICJleHAiLAogICAgICAgICAgewogICAgICAgICAgICAicmVmIiwKICAgICAgICAgICAgInZhbCIKICAgICAgICAgIH0sCiAgICAgICAgICAiPT0iLAogICAgICAgICAgIm5pbCIKICAgICAgICB9LAogICAgICAgIFsidGhlbiJdID0gewogICAgICAgICAgYnVpbGQuYXNzaWduX29uZShMb2NhbE5hbWUoInBhcmVudCIpLCBidWlsZC5jaGFpbih7CiAgICAgICAgICAgIGJhc2UgPSAicmF3Z2V0IiwKICAgICAgICAgICAgewogICAgICAgICAgICAgICJjYWxsIiwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICJyZWYiLAogICAgICAgICAgICAgICAgICAiY2xzIgogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgInN0cmluZyIsCiAgICAgICAgICAgICAgICAgICciJywKICAgICAgICAgICAgICAgICAgIl9fcGFyZW50IgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfSkpLAogICAgICAgICAgYnVpbGRbImlmIl0oewogICAgICAgICAgICBjb25kID0gTG9jYWxOYW1lKCJwYXJlbnQiKSwKICAgICAgICAgICAgWyJ0aGVuIl0gPSB7CiAgICAgICAgICAgICAgYnVpbGQuY2hhaW4oewogICAgICAgICAgICAgICAgYmFzZSA9IExvY2FsTmFtZSgicGFyZW50IiksCiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICJpbmRleCIsCiAgICAgICAgICAgICAgICAgICJuYW1lIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0pCiAgICAgICAgICAgIH0KICAgICAgICAgIH0pCiAgICAgICAgfQogICAgICB9KQogICAgICBpbnNlcnQoY2xhc3NfbG9va3VwLCB7CiAgICAgICAgImVsc2UiLAogICAgICAgIHsKICAgICAgICAgICJ2YWwiCiAgICAgICAgfQogICAgICB9KQogICAgICBjbGFzc19pbmRleCA9IGJ1aWxkLmZuZGVmKHsKICAgICAgICBhcmdzID0gewogICAgICAgICAgewogICAgICAgICAgICAiY2xzIgogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgIm5hbWUiCiAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICBib2R5ID0gewogICAgICAgICAgYnVpbGQuYXNzaWduX29uZShMb2NhbE5hbWUoInZhbCIpLCBidWlsZC5jaGFpbih7CiAgICAgICAgICAgIGJhc2UgPSAicmF3Z2V0IiwKICAgICAgICAgICAgewogICAgICAgICAgICAgICJjYWxsIiwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICBiYXNlX25hbWUsCiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICJyZWYiLAogICAgICAgICAgICAgICAgICAibmFtZSIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0pKSwKICAgICAgICAgIGNsYXNzX2xvb2t1cAogICAgICAgIH0KICAgICAgfSkKICAgIGVsc2UKICAgICAgY2xhc3NfaW5kZXggPSBiYXNlX25hbWUKICAgIGVuZAogICAgbG9jYWwgY2xzX210ID0gYnVpbGQudGFibGUoewogICAgICB7CiAgICAgICAgIl9faW5kZXgiLAogICAgICAgIGNsYXNzX2luZGV4CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiX19jYWxsIiwKICAgICAgICBidWlsZC5mbmRlZih7CiAgICAgICAgICBhcmdzID0gewogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImNscyIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgewogICAgICAgICAgICAgICIuLi4iCiAgICAgICAgICAgIH0KICAgICAgICAgIH0sCiAgICAgICAgICBib2R5ID0gewogICAgICAgICAgICBidWlsZC5hc3NpZ25fb25lKHNlbGZfbmFtZSwgYnVpbGQuY2hhaW4oewogICAgICAgICAgICAgIGJhc2UgPSAic2V0bWV0YXRhYmxlIiwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAiY2FsbCIsCiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICJ7fSIsCiAgICAgICAgICAgICAgICAgIGJhc2VfbmFtZQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSkpLAogICAgICAgICAgICBidWlsZC5jaGFpbih7CiAgICAgICAgICAgICAgYmFzZSA9ICJjbHMuX19pbml0IiwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAiY2FsbCIsCiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNlbGZfbmFtZSwKICAgICAgICAgICAgICAgICAgIi4uLiIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pLAogICAgICAgICAgICBzZWxmX25hbWUKICAgICAgICAgIH0KICAgICAgICB9KQogICAgICB9CiAgICB9KQogICAgY2xzID0gYnVpbGQuY2hhaW4oewogICAgICBiYXNlID0gInNldG1ldGF0YWJsZSIsCiAgICAgIHsKICAgICAgICAiY2FsbCIsCiAgICAgICAgewogICAgICAgICAgY2xzLAogICAgICAgICAgY2xzX210CiAgICAgICAgfQogICAgICB9CiAgICB9KQogICAgbG9jYWwgdmFsdWUgPSBuaWwKICAgIGRvCiAgICAgIGxvY2FsIG91dF9ib2R5ID0gewogICAgICAgIFJ1bihmdW5jdGlvbihzZWxmKQogICAgICAgICAgaWYgbmFtZSB0aGVuCiAgICAgICAgICAgIHJldHVybiBzZWxmOnB1dF9uYW1lKG5hbWUpCiAgICAgICAgICBlbmQKICAgICAgICBlbmQpLAogICAgICAgIHsKICAgICAgICAgICJkZWNsYXJlIiwKICAgICAgICAgIHsKICAgICAgICAgICAgY2xzX25hbWUKICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICJkZWNsYXJlX2dsb2IiLAogICAgICAgICAgIioiCiAgICAgICAgfSwKICAgICAgICBwYXJlbnRfdmFsIGFuZCBidWlsZC5hc3NpZ25fb25lKHBhcmVudF9jbHNfbmFtZSwgcGFyZW50X3ZhbCkgb3IgTk9PUCwKICAgICAgICBidWlsZC5hc3NpZ25fb25lKGJhc2VfbmFtZSwgewogICAgICAgICAgInRhYmxlIiwKICAgICAgICAgIHByb3BlcnRpZXMKICAgICAgICB9KSwKICAgICAgICBidWlsZC5hc3NpZ25fb25lKGJhc2VfbmFtZTpjaGFpbigiX19pbmRleCIpLCBiYXNlX25hbWUpLAogICAgICAgIHBhcmVudF92YWwgYW5kIGJ1aWxkLmNoYWluKHsKICAgICAgICAgIGJhc2UgPSAic2V0bWV0YXRhYmxlIiwKICAgICAgICAgIHsKICAgICAgICAgICAgImNhbGwiLAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgYmFzZV9uYW1lLAogICAgICAgICAgICAgIGJ1aWxkLmNoYWluKHsKICAgICAgICAgICAgICAgIGJhc2UgPSBwYXJlbnRfY2xzX25hbWUsCiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICJkb3QiLAogICAgICAgICAgICAgICAgICAiX19iYXNlIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0pCiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICB9KSBvciBOT09QLAogICAgICAgIGJ1aWxkLmFzc2lnbl9vbmUoY2xzX25hbWUsIGNscyksCiAgICAgICAgYnVpbGQuYXNzaWduX29uZShiYXNlX25hbWU6Y2hhaW4oIl9fY2xhc3MiKSwgY2xzX25hbWUpLAogICAgICAgIGJ1aWxkLmdyb3VwKChmdW5jdGlvbigpCiAgICAgICAgICBpZiAjc3RhdGVtZW50cyA+IDAgdGhlbgogICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgIGJ1aWxkLmFzc2lnbl9vbmUoTG9jYWxOYW1lKCJzZWxmIiksIGNsc19uYW1lKSwKICAgICAgICAgICAgICBidWlsZC5ncm91cChzdGF0ZW1lbnRzKQogICAgICAgICAgICB9CiAgICAgICAgICBlbmQKICAgICAgICBlbmQpKCkpLAogICAgICAgIHBhcmVudF92YWwgYW5kIGJ1aWxkWyJpZiJdKHsKICAgICAgICAgIGNvbmQgPSB7CiAgICAgICAgICAgICJleHAiLAogICAgICAgICAgICBwYXJlbnRfY2xzX25hbWU6Y2hhaW4oIl9faW5oZXJpdGVkIikKICAgICAgICAgIH0sCiAgICAgICAgICBbInRoZW4iXSA9IHsKICAgICAgICAgICAgcGFyZW50X2Nsc19uYW1lOmNoYWluKCJfX2luaGVyaXRlZCIsIHsKICAgICAgICAgICAgICAiY2FsbCIsCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgcGFyZW50X2Nsc19uYW1lLAogICAgICAgICAgICAgICAgY2xzX25hbWUKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pCiAgICAgICAgICB9CiAgICAgICAgfSkgb3IgTk9PUCwKICAgICAgICBidWlsZC5ncm91cCgoZnVuY3Rpb24oKQogICAgICAgICAgaWYgbmFtZSB0aGVuCiAgICAgICAgICAgIHJldHVybiB7CiAgICAgICAgICAgICAgYnVpbGQuYXNzaWduX29uZShuYW1lLCBjbHNfbmFtZSkKICAgICAgICAgICAgfQogICAgICAgICAgZW5kCiAgICAgICAgZW5kKSgpKSwKICAgICAgICAoZnVuY3Rpb24oKQogICAgICAgICAgaWYgcmV0IHRoZW4KICAgICAgICAgICAgcmV0dXJuIHJldChjbHNfbmFtZSkKICAgICAgICAgIGVuZAogICAgICAgIGVuZCkoKQogICAgICB9CiAgICAgIHZhbHVlID0gYnVpbGQuZ3JvdXAoewogICAgICAgIGJ1aWxkLmdyb3VwKChmdW5jdGlvbigpCiAgICAgICAgICBpZiBudHlwZShuYW1lKSA9PSAidmFsdWUiIHRoZW4KICAgICAgICAgICAgcmV0dXJuIHsKICAgICAgICAgICAgICBidWlsZC5kZWNsYXJlKHsKICAgICAgICAgICAgICAgIG5hbWVzID0gewogICAgICAgICAgICAgICAgICBuYW1lCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgfQogICAgICAgICAgZW5kCiAgICAgICAgZW5kKSgpKSwKICAgICAgICBidWlsZFsiZG8iXShvdXRfYm9keSkKICAgICAgfSkKICAgIGVuZAogICAgcmV0dXJuIHZhbHVlCiAgZW5kCiAgCmVuZApwYWNrYWdlLnByZWxvYWRbJ21vb25zY3JpcHQudHJhbnNmb3JtLmRlc3RydWN0dXJlJ10gPSBmdW5jdGlvbigpCiAgbG9jYWwgbnR5cGUsIG10eXBlLCBidWlsZAogIGRvCiAgICBsb2NhbCBfb2JqXzAgPSByZXF1aXJlKCJtb29uc2NyaXB0LnR5cGVzIikKICAgIG50eXBlLCBtdHlwZSwgYnVpbGQgPSBfb2JqXzAubnR5cGUsIF9vYmpfMC5tdHlwZSwgX29ial8wLmJ1aWxkCiAgZW5kCiAgbG9jYWwgTmFtZVByb3h5CiAgTmFtZVByb3h5ID0gcmVxdWlyZSgibW9vbnNjcmlwdC50cmFuc2Zvcm0ubmFtZXMiKS5OYW1lUHJveHkKICBsb2NhbCBpbnNlcnQKICBpbnNlcnQgPSB0YWJsZS5pbnNlcnQKICBsb2NhbCB1bnBhY2sKICB1bnBhY2sgPSByZXF1aXJlKCJtb29uc2NyaXB0LnV0aWwiKS51bnBhY2s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kCiAgICBsb2NhbCBpID0gMQogICAgbG9jYWwgX2xpc3RfMCA9IG5hbWVbMl0KICAgIGZvciBfaW5kZXhfMCA9IDEsICNfbGlzdF8wIGRvCiAgICAgIGxvY2FsIHR1cGxlID0gX2xpc3RfMFtfaW5kZXhfMF0KICAgICAgbG9jYWwgdmFsdWUsIHN1ZmZpeAogICAgICBpZiAjdHVwbGUgPT0gMSB0aGVuCiAgICAgICAgbG9jYWwgcyA9IHsKICAgICAgICAgICJpbmRleCIsCiAgICAgICAgICB7CiAgICAgICAgICAgICJudW1iZXIiLAogICAgICAgICAgICBpCiAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGkgPSBpICsgMQogICAgICAgIHZhbHVlLCBzdWZmaXggPSB0dXBsZVsxXSwgcwogICAgICBlbHNlCiAgICAgICAgbG9jYWwga2V5ID0gdHVwbGVbMV0KICAgICAgICBsb2NhbCBzCiAgICAgICAgaWYgbnR5cGUoa2V5KSA9PSAia2V5X2xpdGVyYWwiIHRoZW4KICAgICAgICAgIGxvY2FsIGtleV9uYW1lID0ga2V5WzJdCiAgICAgICAgICBpZiBudHlwZShrZXlfbmFtZSkgPT0gImNvbG9uIiB0aGVuCiAgICAgICAgICAgIHMgPSBrZXlfbmFtZQogICAgICAgICAgZWxzZQogICAgICAgICAgICBzID0gewogICAgICAgICAgICAgICJkb3QiLAogICAgICAgICAgICAgIGtleV9uYW1lCiAgICAgICAgICAgIH0KICAgICAgICAgIGVuZAogICAgICAgIGVsc2UKICAgICAgICAgIHMgPSB7CiAgICAgICAgICAgICJpbmRleCIsCiAgICAgICAgICAgIGtleQogICAgICAgICAgfQogICAgICAgIGVuZAogICAgICAgIHZhbHVlLCBzdWZmaXggPSB0dXBsZVsyXSwgcwogICAgICBlbmQKICAgICAgc3VmZml4ID0gam9pbihwcmVmaXgsIHsKICAgICAgICBzdWZmaXgKICAgICAgfSkKICAgICAgbG9jYWwgX2V4cF8wID0gbnR5cGUodmFsdWUpCiAgICAgIGlmICJ2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duX29uZShvYmosIHJlY2VpdmVyKSwKICAgICAgICAgIHsKICAgICAgICAgICAgImFzc2lnbiIsCiAgICAgICAgICAgIG5hbWVzLAogICAgICAgICAgICB2YWx1ZXMKICAgICAgICAgIH0KICAgICAgICB9KQogICAgICAgIG9iaiA9IG9iagogICAgICBlbmQKICAgIGVuZAogICAgZm9yIF9pbmRleF8wID0gMSwgI2V4dHJhY3RlZF9uYW1lcyBkbwogICAgICBsb2NhbCB0dXBsZSA9IGV4dHJhY3RlZF9uYW1lc1tfaW5kZXhfMF0KICAgICAgaW5zZXJ0KG5hbWVzLCB0dXBsZVsxXSkKICAgICAgbG9jYWwgY2hhaW4KICAgICAgaWYgb2JqIHRoZW4KICAgICAgICBjaGFpbiA9IE5hbWVQcm94eS5jaGFpbihvYmosIHVucGFjayh0dXBsZVsyXSkpCiAgICAgIGVsc2UKICAgICAgICBjaGFpbiA9ICJuaWwiCiAgICAgIGVuZAogICAgICBpbnNlcnQodmFsdWVzLCBjaGFpbikKICAgIGVuZAogICAgcmV0dXJuIGJ1aWxkLmdyb3VwKHsKICAgICAgewogICAgICAgICJkZWNsYXJlIiwKICAgICAgICBuYW1lcwogICAgICB9LAogICAgICBpbm5lcgogICAgfSkKICBlbmQKICBsb2NhbCBzcGxpdF9hc3NpZ24KICBzcGxpdF9hc3NpZ24gPSBmdW5jdGlvbihzY29wZSwgYXNzaWduKQogICAgbG9jYWwgbmFtZXMsIHZhbHVlcyA9IHVucGFjayhhc3NpZ24sIDIpCiAgICBsb2NhbCBnID0geyB9CiAgICBsb2NhbCB0b3RhbF9uYW1lcyA9ICNuYW1lcwogICAgbG9jYWwgdG90YWxfdmFsdWVzID0gI3ZhbHVlcwogICAgbG9jYWwgc3RhcnQgPSAxCiAgICBmb3IgaSwgbiBpbiBpcGFpcnMobmFtZXMpIGRvCiAgICAgIGlmIG50eXBlKG4pID09ICJ0YWJsZSIgdGhlbgogICAgICAgIGlmIGkgPiBzdGFydCB0aGVuCiAgICAgICAgICBsb2NhbCBzdG9wID0gaSAtIDEKICAgICAgICAgIGluc2VydChnLCB7CiAgICAgICAgICAgICJhc3NpZ24iLAogICAgICAgICAgICAoZnVuY3Rpb24oKQogICAgICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICAgICAgbG9jYWwgX2xlbl8wID0gMQogICAgICAgICAgICAgIGZvciBpID0gc3RhcnQsIHN0b3AgZG8KICAgICAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBuYW1lc1tpXQogICAgICAgICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgICAgIGVuZAogICAgICAgICAgICAgIHJldHVybiBfYWNjdW1fMAogICAgICAgICAgICBlbmQpKCksCiAgICAgICAgICAgIChmdW5jdGlvbigpCiAgICAgICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgICAgICBsb2NhbCBfbGVuXzAgPSAxCiAgICAgICAgICAgICAgZm9yIGkgPSBzdGFydCwgc3RvcCBkbwogICAgICAgICAgICAgICAgX2FjY3VtXzBbX2xlbl8wXSA9IHZhbHVlc1tpXQogICAgICAgICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgICAgIGVuZAogICAgICAgICAgICAgIHJldHVybiBfYWNjdW1fMAogICAgICAgICAgICBlbmQpKCkKICAgICAgICAgIH0pCiAgICAgICAgZW5kCiAgICAgICAgaW5zZXJ0KGcsIGJ1aWxkX2Fzc2lnbihzY29wZSwgbiwgdmFsdWVzW2ldKSkKICAgICAgICBzdGFydCA9IGkgKyAxCiAgICAgIGVuZAogICAgZW5kCiAgICBpZiB0b3RhbF9uYW1lcyA+PSBzdGFydCBvciB0b3RhbF92YWx1ZXMgPj0gc3RhcnQgdGhlbgogICAgICBsb2NhbCBuYW1lX3NsaWNlCiAgICAgIGlmIHRvdGFsX25hbWVzIDwgc3RhcnQgdGhlbgogICAgICAgIG5hbWVfc2xpY2UgPSB7CiAgICAgICAgICAiXyIKICAgICAgICB9CiAgICAgIGVsc2UKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgIGZvciBpID0gc3RhcnQsIHRvdGFsX25hbWVzIGRvCiAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBuYW1lc1tpXQogICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICBlbmQKICAgICAgICAgIG5hbWVfc2xpY2UgPSBfYWNjdW1fMAogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgbG9jYWwgdmFsdWVfc2xpY2UKICAgICAgaWYgdG90YWxfdmFsdWVzIDwgc3RhcnQgdGhlbgogICAgICAgIHZhbHVlX3NsaWNlID0gewogICAgICAgICAgIm5pbCIKICAgICAgICB9CiAgICAgIGVsc2UKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgIGZvciBpID0gc3RhcnQsIHRvdGFsX3ZhbHVlcyBkbwogICAgICAgICAgICBfYWNjdW1fMFtfbGVuXzBdID0gdmFsdWVzW2ldCiAgICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgIGVuZAogICAgICAgICAgdmFsdWVfc2xpY2UgPSBfYWNjdW1fMAogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgaW5zZXJ0KGcsIHsKICAgICAgICAiYXNzaWduIiwKICAgICAgICBuYW1lX3NsaWNlLAogICAgICAgIHZhbHVlX3NsaWNlCiAgICAgIH0pCiAgICBlbmQKICAgIHJldHVybiBidWlsZC5ncm91cChnKQogIGVuZAogIHJldHVybiB7CiAgICBoYXNfZGVzdHJ1Y3R1cmUgPSBoYXNfZGVzdHJ1Y3R1cmUsCiAgICBzcGxpdF9hc3NpZ24gPSBzcGxpdF9hc3NpZ24sC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c3NfMAogICAgTG9jYWxOYW1lID0gX2NsYXNzXzAKICBlbmQKICBsb2NhbCBOYW1lUHJveHkKICBkbwogICAgbG9jYWwgX2NsYXNzXzAKICAgIGxvY2FsIF9iYXNlXzAgPSB7CiAgICAgIGdldF9uYW1lID0gZnVuY3Rpb24oc2VsZiwgc2NvcGUsIGRvbnRfcHV0KQogICAgICAgIGlmIGRvbnRfcHV0ID09IG5pbCB0aGVuCiAgICAgICAgICBkb250X3B1dCA9IHRydWUKICAgICAgICBlbmQKICAgICAgICBpZiBub3Qgc2VsZi5uYW1lIHRoZW4KICAgICAgICAgIHNlbGYubmFtZSA9IHNjb3BlOmZyZWVfbmFtZShzZWxmLnByZWZpeCwgZG9udF9wdXQpCiAgICAgICAgZW5kCiAgICAgICAgcmV0dXJuIHNlbGYubmFtZQogICAgICBlbmQsCiAgICAgIGNoYWluID0gZnVuY3Rpb24oc2VsZiwgLi4uKQogICAgICAgIGxvY2FsIGl0ZW1zID0gewogICAgICAgICAgYmFzZSA9IHNlbGYsCiAgICAgICAgICAuLi4KICAgICAgICB9CiAgICAgICAgZm9yIGssIHYgaW4gaXBhaXJzKGl0ZW1zKSBkbwogICAgICAgICAgaWYgdHlwZSh2KSA9PSAic3RyaW5nIiB0aGVuCiAgICAgICAgICAgIGl0ZW1zW2tdID0gewogICAgICAgICAgICAgICJkb3QiLAogICAgICAgICAgICAgIHYKICAgICAgICAgICAgfQogICAgICAgICAgZWxzZQogICAgICAgICAgICBpdGVtc1trXSA9IHYKICAgICAgICAgIGVuZAogICAgICAgIGVuZAogICAgICAgIHJldHVybiBidWlsZC5jaGFpbihpdGVtcykKICAgICAgZW5kLAogICAgICBpbmRleCA9IGZ1bmN0aW9uKHNlbGYsIGtleSkKICAgICAgICBpZiB0eXBlKGtleSkgPT0gInN0cmluZyIgdGhlbgogICAgICAgICAga2V5ID0gewogICAgICAgICAgICAicmVmIiwKICAgICAgICAgICAga2V5CiAgICAgICAgICB9CiAgICAgICAgZW5kCiAgICAgICAgcmV0dXJuIGJ1aWxkLmNoYWluKHsKICAgICAgICAgIGJhc2UgPSBzZWxmLAogICAgICAgICAgewogICAgICAgICAgICAiaW5kZXgiLAogICAgICAgICAgICBrZXkKICAgICAgICAgIH0KICAgICAgICB9KQogICAgICBlbmQsCiAgICAgIF9fdG9zdHJpbmcgPSBmdW5jdGlvbihzZWxmKQogICAgICAgIGlmIHNlbGYubmFtZSB0aGVuCiAgICAgICAgICByZXR1cm4gKCJuYW1lPCVzPiIpOmZvcm1hdChzZWxmLm5hbWUpCiAgICAgICAgZWxzZQogICAgICAgICAgcmV0dXJuICgibmFtZTxwcmVmaXgoJXMpPiIpOmZvcm1hdChzZWxmLnByZWZpeCkKICAgICAgICBlbmQKICAgICAgZW5kCiAgICB9CiAgICBfYmFzZV8wLl9faW5kZXggPSBfYmFzZV8wCiAgICBfY2xhc3NfMCA9IHNldG1ldGF0YWJsZSh7CiAgICAgIF9faW5pdCA9IGZ1bmN0aW9uKHNlbGYsIHByZWZpeCkKICAgICAgICBzZWxmLnByZWZpeCA9IHByZWZpeAogICAgICAgIHNlbGZbMV0gPSAidGVtcF9uYW1lIgogICAgICBlbmQsCiAgICAgIF9fYmFzZSA9IF9iYXNlXzAsCiAgICAgIF9fbmFtZSA9ICJOYW1lUHJveHkiCiAgICB9LCB7CiAgICAgIF9faW5kZXggPSBfYmFzZV8wLAogICAgICBfX2NhbGwgPSBmdW5jdGlvbihjbHMsIC4uLikKICAgICAgICBsb2NhbCBfc2VsZl8wID0gc2V0bWV0YXRhYmxlKHt9LCBfYmFzZV8wKQogICAgICAgIGNscy5fX2luaXQoX3NlbGZfMCwgLi4uKQogICAgICAgIHJldHVybiBfc2VsZl8wCiAgICAgIGVuZAogICAgfSkKICAgIF9iYXNlXzAuX19jbGFzcyA9IF9jbGFzc18wCiAgICBOYW1lUHJveHkgPSBfY2xhc3NfMAogIGVuZAogIGxvY2FsIGlzX25hbWVfcHJveHkKICBpc19uYW1lX3Byb3h5ID0gZnVu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G9yLAogICAgWyJkbyJdID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgcmV0dXJuIGJ1aWxkLmJsb2NrX2V4cChub2RlWzJdKQogICAgZW5kLAogICAgZGVjb3JhdGVkID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgcmV0dXJuIHNlbGYudHJhbnNmb3JtLnN0YXRlbWVudChub2RlKQogICAgZW5kLAogICAgY2xhc3MgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICByZXR1cm4gYnVpbGQuYmxvY2tfZXhwKHsKICAgICAgICBub2RlCiAgICAgIH0pCiAgICBlbmQsCiAgICBzdHJpbmcgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBkZWxpbSA9IG5vZGVbMl0KICAgICAgbG9jYWwgY29udmVydF9wYXJ0CiAgICAgIGNvbnZlcnRfcGFydCA9IGZ1bmN0aW9uKHBhcnQpCiAgICAgICAgaWYgdHlwZShwYXJ0KSA9PSAic3RyaW5nIiBvciBwYXJ0ID09IG5pbCB0aGVuCiAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAic3RyaW5nIiwKICAgICAgICAgICAgZGVsaW0sCiAgICAgICAgICAgIHBhcnQgb3IgIiIKICAgICAgICAgIH0KICAgICAgICBlbHNlCiAgICAgICAgICByZXR1cm4gYnVpbGQuY2hhaW4oewogICAgICAgICAgICBiYXNlID0gInRvc3RyaW5nIiwKICAgICAgICAgICAgewogICAgICAgICAgICAgICJjYWxsIiwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICBwYXJ0WzJdCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICB9KQogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgaWYgI25vZGUgPD0gMyB0aGVuCiAgICAgICAgaWYgdHlwZShub2RlWzNdKSA9PSAic3RyaW5nIiB0aGVuCiAgICAgICAgICByZXR1cm4gbm9kZQogICAgICAgIGVsc2UKICAgICAgICAgIHJldHVybiBjb252ZXJ0X3BhcnQobm9kZVszXSkKICAgICAgICBlbmQKICAgICAgZW5kCiAgICAgIGxvY2FsIGUgPSB7CiAgICAgICAgImV4cCIsCiAgICAgICAgY29udmVydF9wYXJ0KG5vZGVbM10pCiAgICAgIH0KICAgICAgZm9yIGkgPSA0LCAjbm9kZSBkbwogICAgICAgIGluc2VydChlLCAiLi4iKQogICAgICAgIGluc2VydChlLCBjb252ZXJ0X3BhcnQobm9kZVtpXSkpCiAgICAgIGVuZAogICAgICByZXR1cm4gZQogICAgZW5kLAogICAgY29tcHJlaGVuc2lvbiA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIGxvY2FsIGEgPSBBY2N1bXVsYXRvcigpCiAgICAgIG5vZGUgPSBzZWxmLnRyYW5zZm9ybS5zdGF0ZW1lbnQobm9kZSwgZnVuY3Rpb24oZXhwKQogICAgICAgIHJldHVybiBhOm11dGF0ZV9ib2R5KHsKICAgICAgICAgIGV4cAogICAgICAgIH0pCiAgICAgIGVuZCkKICAgICAgcmV0dXJuIGE6d3JhcChub2RlKQogICAgZW5kLAogICAgdGJsY29tcHJlaGVuc2lvbiA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgIGxvY2FsIGV4cGxpc3QsIGNsYXVzZXMgPSB1bnBhY2sobm9kZSwgMikKICAgICAgbG9jYWwga2V5X2V4cCwgdmFsdWVfZXhwID0gdW5wYWNrKGV4cGxpc3QpCiAgICAgIGxvY2FsIGFjY3VtID0gTmFtZVByb3h5KCJ0YmwiKQogICAgICBsb2NhbCBpbm5lcgogICAgICBpZiB2YWx1ZV9leHAgdGhlbgogICAgICAgIGxvY2FsIGRlc3QgPSBidWlsZC5jaGFpbih7CiAgICAgICAgICBiYXNlID0gYWNjdW0sCiAgICAgICAgICB7CiAgICAgICAgICAgICJpbmRleCIsCiAgICAgICAgICAgIGtleV9leHAKICAgICAgICAgIH0KICAgICAgICB9KQogICAgICAgIGlubmVyID0gewogICAgICAgICAgYnVpbGQuYXNzaWduX29uZShkZXN0LCB2YWx1ZV9leHApCiAgICAgICAgfQogICAgICBlbHNlCiAgICAgICAgbG9jYWwga2V5X25hbWUsIHZhbF9uYW1lID0gTmFtZVByb3h5KCJrZXkiKSwgTmFtZVByb3h5KCJ2YWwiKQogICAgICAgIGxvY2FsIGRlc3QgPSBidWlsZC5jaGFpbih7CiAgICAgICAgICBiYXNlID0gYWNjdW0sCiAgICAgICAgICB7CiAgICAgICAgICAgICJpbmRleCIsCiAgICAgICAgICAgIGtleV9uYW1lCiAgICAgICAgICB9CiAgICAgICAgfSkKICAgICAgICBpbm5lciA9IHsKICAgICAgICAgIGJ1aWxkLmFzc2lnbih7CiAgICAgICAgICAgIG5hbWVzID0gewogICAgICAgICAgICAgIGtleV9uYW1lLAogICAgICAgICAgICAgIHZhbF9uYW1lCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHZhbHVlcyA9IHsKICAgICAgICAgICAgICBrZXlfZXhwCiAgICAgICAgICAgIH0KICAgICAgICAgIH0pLAogICAgICAgICAgYnVpbGQuYXNzaWduX29uZShkZXN0LCB2YWxfbmFtZSkKICAgICAgICB9CiAgICAgIGVuZAogICAgICByZXR1cm4gYnVpbGQuYmxvY2tfZXhwKHsKICAgICAgICBidWlsZC5hc3NpZ25fb25lKGFjY3VtLCBidWlsZC50YWJsZSgpKSwKICAgICAgICBjb25zdHJ1Y3RfY29tcHJlaGVuc2lvbihpbm5lciwgY2xhdXNlcyksCiAgICAgICAgYWNjdW0KICAgICAgfSkKICAgIGVuZCwKICAgIGZuZGVmID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgc21hcnRfbm9kZShub2RlKQogICAgICBub2RlLmJvZHkgPSB0cmFuc2Zvcm1fbGFzdF9zdG0obm9kZS5ib2R5LCBpbXBsaWNpdGx5X3JldHVybihzZWxmKSkKICAgICAgbm9kZS5ib2R5ID0gewogICAgICAgIFJ1bihmdW5jdGlvbihzZWxmKQogICAgICAgICAgcmV0dXJuIHNlbGY6bGlzdGVuKCJ2YXJhcmdzIiwgZnVuY3Rpb24oKSBlbmQpCiAgICAgICAgZW5kKSwKICAgICAgICB1bnBhY2sobm9kZS5ib2R5KQogICAgICB9CiAgICAgIHJldHVybiBub2RlCiAgICBlbmQsCiAgICBbImlmIl0gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICByZXR1cm4gYnVpbGQuYmxvY2tfZXhwKHsKICAgICAgICBub2RlCiAgICAgIH0pCiAgICBlbmQsCiAgICB1bmxlc3MgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICByZXR1cm4gYnVpbGQuYmxvY2tfZXhwKHsKICAgICAgICBub2RlCiAgICAgIH0pCiAgICBlbmQsCiAgICB3aXRoID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgcmV0dXJuIGJ1aWxkLmJsb2NrX2V4cCh7CiAgICAgICAgbm9kZQogICAgICB9KQogICAgZW5kLAogICAgc3dpdGNoID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgcmV0dXJuIGJ1aWxkLmJsb2NrX2V4cCh7CiAgICAgICAgbm9kZQogICAgICB9KQogICAgZW5kLAogICAgY2hhaW4gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBmb3IgaSA9IDIsICNub2RlIGRvCiAgICAgICAgbG9jYWwgcGFydCA9IG5vZGVbaV0KICAgICAgICBpZiBudHlwZShwYXJ0KSA9PSAiZG90IiBhbmQgbHVhX2tleXdvcmRzW3BhcnRbMl1dIHRoZW4KICAgICAgICAgIG5vZGVbaV0gPSB7CiAgICAgICAgICAgICJpbmRleCIsCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAic3RyaW5nIiwKICAgICAgICAgICAgICAnIicsCiAgICAgICAgICAgICAgcGFydFsyXQogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgZW5kCiAgICAgIGVuZAogICAgICBpZiBudHlwZShub2RlWzJdKSA9PSAic3RyaW5nIiB0aGVuCiAgICAgICAgbm9kZVsyXSA9IHsKICAgICAgICAgICJwYXJlbnMiLAogICAgICAgICAgbm9kZVsyXQogICAgICAgIH0KICAgICAgZW5kCiAgICAgIGlmIGNoYWluX2lzX3N0dWIobm9kZSkgdGhlbgogICAgICAgIGxvY2FsIGJhc2VfbmFtZSA9IE5hbWVQcm94eSgiYmFzZSIpCiAgICAgICAgbG9jYWwgZm5fbmFtZSA9IE5hbWVQcm94eSgiZm4iKQogICAgICAgIGxvY2FsIGNvbG9uID0gdGFibGUucmVtb3ZlKG5vZGUpCiAgICAgICAgbG9jYWwgaXNfc3VwZXIgPSBudHlwZShub2RlWzJdKSA9PSAicmVmIiBhbmQgbm9kZVsyXVsyXSA9PSAic3VwZXIiCiAgICAgICAgcmV0dXJuIGJ1aWxkLmJsb2NrX2V4cCh7CiAgICAgICAgICBidWlsZC5hc3NpZ24oewogICAgICAgICAgICBuYW1lcyA9IHsKICAgICAgICAgICAgICBiYXNlX25hbWUKICAgICAgICAgICAgfSwKICAgICAgICAgICAgdmFsdWVzID0gewogICAgICAgICAgICAgIG5vZGUKICAgICAgICAgICAgfQogICAgICAgICAgfSksCiAgICAgICAgICBidWlsZC5hc3NpZ24oewogICAgICAgICAgICBuYW1lcyA9IHsKICAgICAgICAgICAgICBmbl9uYW1lCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHZhbHVlcyA9IHsKICAgICAgICAgICAgICBidWlsZC5jaGFpbih7CiAgICAgICAgICAgICAgICBiYXNlID0gYmFzZV9uYW1lLAogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAiZG90IiwKICAgICAgICAgICAgICAgICAgY29sb25bMl0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICB9KQogICAgICAgICAgICB9CiAgICAgICAgICB9KSwKICAgICAgICAgIGJ1aWxkLmZuZGVmKHsKICAgICAgICAgICAgYXJncyA9IHsKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAiLi4uIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgYm9keSA9IHsKICAgICAgICAgICAgICBidWlsZC5jaGFpbih7CiAgICAgICAgICAgICAgICBiYXNlID0gZm5fbmFtZSwKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgImNhbGwiLAogICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgaXNfc3VwZXIgYW5kICJzZWxmIiBvciBiYXNlX25hbWUsCiAgICAgICAgICAgICAgICAgICAgIi4uLiIKICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0pCiAgICAgICAgICAgIH0KICAgICAgICAgIH0pCiAgICAgICAgfSkKICAgICAgZW5kCiAgICBlbmQsCiAgICBibG9ja19leHAgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICBsb2NhbCBib2R5ID0gdW5wYWNrKG5vZGUsIDIpCiAgICAgIGxvY2FsIGZuID0gbmlsCiAgICAgIGxvY2FsIGFyZ19saXN0ID0geyB9CiAgICAgIGZuID0gc21hcnRfbm9kZShidWlsZC5mbmRlZih7CiAgICAgICAgYm9keSA9IHsKICAgICAgICAgIFJ1bihmdW5jdGlvbihzZWxmKQogICAgICAgICAgICByZXR1cm4gc2VsZjpsaXN0ZW4oInZhcmFyZ3MiLCBmdW5jdGlvbigpCiAgICAgICAgICAgICAgaW5zZXJ0KGFyZ19saXN0LCAiLi4uIikKICAgICAgICAgICAgICBpbnNlcnQoZm4uYXJncywgewogICAgICAgICAgICAgICAgIi4uLiIKICAgICAgICAgICAgICB9KQogICAgICAgICAgICAgIHJldHVybiBzZWxmOnVubGlzdGVuKCJ2YXJhcmdzIikKICAgICAgICAgICAgZW5kKQogICAgICAgICAgZW5kKSwKICAgICAgICAgIHVucGFjayhib2R5KQogICAgICAgIH0KICAgICAgfSkpCiAgICAgIHJldHVybiBidWlsZC5jaGFpbih7CiAgICAgICAgYmFzZSA9IHsKICAgICAgICAgICJwYXJlbnM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AgICAgYm9keV9pZHggPSB7CiAgICAgICAgWyJmb3IiXSA9IDQsCiAgICAgICAgWyJ3aGlsZSJdID0gMywKICAgICAgICBmb3JlYWNoID0gNAogICAgICB9LAogICAgICBjb252ZXJ0ID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgICBsb2NhbCBpbmRleCA9IHNlbGYuYm9keV9pZHhbbnR5cGUobm9kZSldCiAgICAgICAgbm9kZVtpbmRleF0gPSBzZWxmOm11dGF0ZV9ib2R5KG5vZGVbaW5kZXhdKQogICAgICAgIHJldHVybiBzZWxmOndyYXAobm9kZSkKICAgICAgZW5kLAogICAgICB3cmFwID0gZnVuY3Rpb24oc2VsZiwgbm9kZSwgZ3JvdXBfdHlwZSkKICAgICAgICBpZiBncm91cF90eXBlID09IG5pbCB0aGVuCiAgICAgICAgICBncm91cF90eXBlID0gImJsb2NrX2V4cCIKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gYnVpbGRbZ3JvdXBfdHlwZV0oewogICAgICAgICAgYnVpbGQuYXNzaWduX29uZShzZWxmLmFjY3VtX25hbWUsIGJ1aWxkLnRhYmxlKCkpLAogICAgICAgICAgYnVpbGQuYXNzaWduX29uZShzZWxmLmxlbl9uYW1lLCAxKSwKICAgICAgICAgIG5vZGUsCiAgICAgICAgICBncm91cF90eXBlID09ICJibG9ja19leHAiIGFuZCBzZWxmLmFjY3VtX25hbWUgb3IgTk9PUAogICAgICAgIH0pCiAgICAgIGVuZCwKICAgICAgbXV0YXRlX2JvZHkgPSBmdW5jdGlvbihzZWxmLCBib2R5KQogICAgICAgIGxvY2FsIHNpbmdsZV9zdG0gPSBpc19zaW5ndWxhcihib2R5KQogICAgICAgIGxvY2FsIHZhbAogICAgICAgIGlmIHNpbmdsZV9zdG0gYW5kIHR5cGVzLmlzX3ZhbHVlKHNpbmdsZV9zdG0pIHRoZW4KICAgICAgICAgIGJvZHkgPSB7IH0KICAgICAgICAgIHZhbCA9IHNpbmdsZV9zdG0KICAgICAgICBlbHNlCiAgICAgICAgICBib2R5ID0gdHJhbnNmb3JtX2xhc3Rfc3RtKGJvZHksIGZ1bmN0aW9uKG4pCiAgICAgICAgICAgIGlmIHR5cGVzLmlzX3ZhbHVlKG4pIHRoZW4KICAgICAgICAgICAgICByZXR1cm4gYnVpbGQuYXNzaWduX29uZShzZWxmLnZhbHVlX25hbWUsIG4pCiAgICAgICAgICAgIGVsc2UKICAgICAgICAgICAgICByZXR1cm4gYnVpbGQuZ3JvdXAoewogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAiZGVjbGFyZSIsCiAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICBzZWxmLnZhbHVlX25hbWUKICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIG4KICAgICAgICAgICAgICB9KQogICAgICAgICAgICBlbmQKICAgICAgICAgIGVuZCkKICAgICAgICAgIHZhbCA9IHNlbGYudmFsdWVfbmFtZQogICAgICAgIGVuZAogICAgICAgIGxvY2FsIHVwZGF0ZSA9IHsKICAgICAgICAgIGJ1aWxkLmFzc2lnbl9vbmUoTmFtZVByb3h5LmluZGV4KHNlbGYuYWNjdW1fbmFtZSwgc2VsZi5sZW5fbmFtZSksIHZhbCksCiAgICAgICAgICB7CiAgICAgICAgICAgICJ1cGRhdGUiLAogICAgICAgICAgICBzZWxmLmxlbl9uYW1lLAogICAgICAgICAgICAiKz0iLAogICAgICAgICAgICAxCiAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGluc2VydChib2R5LCBidWlsZC5ncm91cCh1cGRhdGUpKQogICAgICAgIHJldHVybiBib2R5CiAgICAgIGVuZAogICAgfQogICAgX2Jhc2VfMC5fX2luZGV4ID0gX2Jhc2VfMAogICAgX2NsYXNzXzAgPSBzZXRtZXRhdGFibGUoewogICAgICBfX2luaXQgPSBmdW5jdGlvbihzZWxmLCBhY2N1bV9uYW1lKQogICAgICAgIHNlbGYuYWNjdW1fbmF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b24gPSBmdW5jdGlvbihpbm5lciwgY2xhdXNlcykKICAgIGxvY2FsIGN1cnJlbnRfc3RtcyA9IGlubmVyCiAgICBmb3IgaSA9ICNjbGF1c2VzLCAxLCAtMSBkbwogICAgICBsb2NhbCBjbGF1c2UgPSBjbGF1c2VzW2ldCiAgICAgIGxvY2FsIHQgPSBjbGF1c2VbMV0KICAgICAgbG9jYWwgX2V4cF8wID0gdAogICAgICBpZiAiZm9yIiA9PSBfZXhwXzAgdGhlbgogICAgICAgIGxvY2FsIF8sIG5hbWUsIGJvdW5kcwogICAgICAgIF8sIG5hbWUsIGJvdW5kcyA9IGNsYXVzZVsxXSwgY2xhdXNlWzJdLCBjbGF1c2VbM10KICAgICAgICBjdXJyZW50X3N0bXMgPSB7CiAgICAgICAgICAiZm9yIiwKICAgICAgICAgIG5hbWUsCiAgICAgICAgICBib3VuZHMsCiAgICAgICAgICBjdXJyZW50X3N0bXMKICAgICAgICB9CiAgICAgIGVsc2VpZiAiZm9yZWFjaCIgPT0gX2V4cF8wIHRoZW4KICAgICAgICBsb2NhbCBfLCBuYW1lcywgaXRlcgogICAgICAgIF8sIG5hbWVzLCBpdGVyID0gY2xhdXNlWzFdLCBjbGF1c2VbMl0sIGNsYXVzZVszXQogICAgICAgIGN1cnJlbnRfc3RtcyA9IHsKICAgICAgICAgICJmb3JlYWNoIiwKICAgICAgICAgIG5hbWVzLAogICAgICAgICAgewogICAgICAgICAgICBpdGVyCiAgICAgICAgICB9LAogICAgICAgICAgY3VycmVudF9zdG1zCiAgICAgICAgfQogICAgICBlbHNlaWYgIndoZW4iID09IF9leHBfMCB0aGVuCiAgICAgICAgbG9jYWwgXywgY29uZAogICAgICAgIF8sIGNvbmQgPSBjbGF1c2VbMV0sIGNsYXVzZVsyXQogICAgICAgIGN1cnJlbnRfc3RtcyA9IHsKICAgICAgICAgICJpZiIsCiAgICAgICAgICBjb25kLAogICAgICAgICAgY3VycmVudF9zdG1zCiAgICAgICAgfQogICAgICBlbHNlCi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gdHJhbnNmb3JtZXIgdGhlbgogICAgICAgICAgcmV0dXJuIHRyYW5zZm9ybWVyKHNjb3BlLCBub2RlLCAuLi4pIG9yIG5vZGUKICAgICAgICBlbHNlCiAgICAgICAgICByZXR1cm4gbm9kZQogICAgICAgIGVuZAogICAgICBlbmQsCiAgICAgIHRyYW5zZm9ybSA9IGZ1bmN0aW9uKHNlbGYsIHNjb3BlLCBub2RlLCAuLi4pCiAgICAgICAgaWYgc2VsZi5zZWVuX25vZGVzW25vZGVdIHRoZW4KICAgICAgICAgIHJldHVybiBub2RlCiAgICAgICAgZW5kCiAgICAgICAgc2VsZi5zZWVuX25vZGVzW25vZGVdID0gdHJ1ZQogICAgICAgIHdoaWxlIHRydWUgZG8KICAgICAgICAgIGxvY2FsIHRyYW5zZm9ybWVyID0gc2VsZi50cmFuc2Zvcm1lcnNbbnR5cGUobm9kZSldCiAgICAgICAgICBsb2NhbCByZXMKICAgICAgICAgIGlmIHRyYW5zZm9ybWVyIHRoZW4KICAgICAgICAgICAgcmVzID0gdHJhbnNmb3JtZXIoc2NvcGUsIG5vZGUsIC4uLikgb3Igbm9kZQogICAgICAgICAgZWxzZQogICAgICAgICAgICByZXMgPSBub2RlCiAgICAgICAgICBlbmQKICAgICAgICAgIGlmIHJlcyA9PSBub2RlIHRoZW4KICAgICAgICAgICAgcmV0dXJuIG5vZGUKICAgICAgICAgIGVuZAogICAgICAgICAgbm9kZSA9IHJlcwogICAgICAgIGVuZAogICAgICAgIHJldHVybiBub2RlCiAgICAgIGVuZCwKICAgICAgYmluZCA9IGZ1bmN0aW9uKHNlbGYsIHNjb3BlKQogICAgICAgIHJldHVybiBmdW5jdGlvbiguLi4pCiAgICAgICAgICByZXR1cm4gc2VsZjp0cmFuc2Zvcm0oc2NvcGUsIC4uLikKICAgICAgICBlbmQKICAgICAgZW5kLAogICAgICBfX2NhbGwgPSBmdW5jdGlvbihzZWxmLCAuLi4pCiAgICAgICAgcmV0dXJuIHNlbGY6dHJhbnNmb3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iICAiCiAgICAgIGxvY2FsIGlwcmludAogICAgICBpcHJpbnQgPSBmdW5jdGlvbiguLi4pCiAgICAgICAgbG9jYWwgYXJncyA9IHRhYmxlLmNvbmNhdCgoZnVuY3Rpb24oLi4uKQogICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgIGxvY2FsIF9saXN0XzAgPSB7CiAgICAgICAgICAgIC4uLgogICAgICAgICAgfQogICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI19saXN0XzAgZG8KICAgICAgICAgICAgbG9jYWwgYSA9IF9saXN0XzBbX2luZGV4XzBdCiAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSB0b3N0cmluZyhhKQogICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICBlbmQKICAgICAgICAgIHJldHVybiBfYWNjdW1fMAogICAgICAgIGVuZCkoLi4uKSwgIiwgIikKICAgICAgICByZXR1cm4gaW8uc3RkZXJyOndyaXRlKHRvc3RyaW5nKGluZGVudF9jaGFyOnJlcChpbmRlbnQpKSAuLiB0b3N0cmluZyhhcmdzKSAuLiAiXG4iKQogICAgICBlbmQKICAgICAgd3JhcF9uYW1lID0gZnVuY3Rpb24obmFtZSkKICAgICAgICBsb2NhbCB2ID0gVihuYW1lKQogICAgICAgIHYgPSBDbXQoIiIsIGZ1bmN0aW9uKHN0ciwgcG9zKQogICAgICAgICAgbG9jYWwgcmVzdCA9IHN0cjpzdWIocG9zLCAtMSk6bWF0Y2goIl4oW15cbl0qKSIpCiAgICAgICAgICBpcHJpbnQoIiogIiAuLiB0b3N0cmluZyhuYW1lKSAuLiAiICgiIC4uIHRvc3RyaW5nKHJlc3QpIC4uICIpIikKICAgICAgICAgIGluZGVudCA9IGluZGVudCArIDEKICAgICAgICAgIHJldHVybiB0cnVlCiAgICAgICAgZW5kKSAqIENtdCh2LCBmdW5jdGlvbihzdHIsIHBvcywgLi4uKQogICAgICAgICAgaXByaW50KG5hbWUsIHRydWUpCiAgICAgICAgICBpbmRlbnQgPSBpbmRlbnQgLSAxCiAgICAgICAgICByZXR1cm4gdHJ1ZSwgLi4uCiAgICAgICAgZW5kKSArIENtdCgiIiwgZnVuY3Rpb24oKQogICAgICAgICAgaXByaW50KG5hbWUsIGZhbHNlKQogICAgICAgICAgaW5kZW50ID0gaW5kZW50IC0gMQogICAgICAgICAgcmV0dXJuIGZhbHNlCiAgICAgICAgZW5kKQogICAgICAgIHJldHVybiB2CiAgICAgIGVuZAogICAgZW5kCiAgICByZXR1cm4gc2V0ZmVudihmbiwgc2V0bWV0YXRhYmxlKHsgfSwgewogICAgICBfX2luZGV4ID0gZnVuY3Rpb24oc2VsZiwgbmFtZSkKICAgICAgICBsb2NhbCB2YWx1ZSA9IGVudltuYW1lXQogICAgICAgIGlmIHZhbHVlIH49IG5pbCB0aGVuCiAgICAgICAgICByZXR1cm4gdmFsdWUKICAgICAgICBlbmQKICAgICAgICBpZiBuYW1lOm1hdGNoKCJeW0EtWl1bQS1aYS16MC05XSokIikgdGhlbgogICAgICAgICAgbG9jYWwgdiA9IHdyYXBfbmFtZShuYW1lKQogICAgICAgICAgcmV0dXJuIHYKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gZXJyb3IoInVua25vd24gdmFyaWFibGUgcmVmZXJlbmNlZDogIiAuLiB0b3N0cmluZyhuYW1lKSkKICAgICAgZW5kCiAgICB9KSkKICBlbmQKICByZXR1cm4gewogICAgd3JhcF9lbnYgPSB3cmFwX2VudgogIH0KICAKZW5kCnBhY2thZ2UucHJlbG9hZFsnbW9vbnNjcmlwdC5wYXJzZS51dGlsJ10gPSBmdW5jdGlvbigpCiAgbG9jYWwgdW5wYWNrCiAgdW5wYWNrID0gcmVxdWlyZSgibW9vbnNjcmlwdC51dGlsIikudW5wYWNrCiAgbG9jYWwgUCwgQywgUywgQ3AsIENtdCwgVgogIGRvCiAgICBsb2NhbCBfb2JqX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Il4oLi0pXG4iKQogICAgICBpZiBtIHRoZW4KICAgICAgICByZXR1cm4gbQogICAgICBlbmQKICAgIGVuZAogICAgcmV0dXJuIHN0cjptYXRjaCgiXi4tJCIpCiAgZW5kCiAgbG9jYWwgc2hvd19saW5lX3Bvc2l0aW9uCiAgc2hvd19saW5lX3Bvc2l0aW9uID0gZnVuY3Rpb24oc3RyLCBwb3MsIGNvbnRleHQpCiAgICBpZiBjb250ZXh0ID09IG5pbCB0aGVuCiAgICAgIGNvbnRleHQgPSB0cnVlCiAgICBlbmQKICAgIGxvY2FsIGxpbmVzID0gewogICAgICB7IH0KICAgIH0KICAgIGZvciBjIGluIHN0cjpnbWF0Y2goIi4iKSBkbwogICAgICBsaW5lc1sjbGluZXNdID0gbGluZXNbI2xpbmVzXSBvciB7IH0KICAgICAgdGFibGUuaW5zZXJ0KGxpbmVzWyNsaW5lc10sIGMpCiAgICAgIGlmIGMgPT0gIlxuIiB0aGVuCiAgICAgICAgbGluZXNbI2xpbmVzICsgMV0gPSB7IH0KICAgICAgZW5kCiAgICBlbmQKICAgIGZvciBpLCBsaW5lIGluIGlwYWlycyhsaW5lcykgZG8KICAgICAgbGluZXNbaV0gPSB0YWJsZS5jb25jYXQobGluZSkKICAgIGVuZAogICAgbG9jYWwgb3V0CiAgICBsb2NhbCByZW1haW5pbmcgPSBwb3MgLSAxCiAgICBmb3IgaywgbGluZSBpbiBpcGFpcnMobGluZXMpIGRvCiAgICAgIGlmIHJlbWFpbmluZyA8ICNsaW5lIHRoZW4KICAgICAgICBsb2NhbCBsZWZ0ID0gbGluZTpzdWIoMSwgcmVtYWluaW5nKQogICAgICAgIGxvY2FsIHJpZ2h0ID0gbGluZTpzdWIocmVtYWluaW5nICsgMSkKICAgICAgICBvdXQgPSB7CiAgICAgICAgICB0b3N0cmluZyhsZWZ0KSAuLiAi4peJIiAuLiB0b3N0cmluZyhyaWdodCkKICAgICAgICB9CiAgICAgICAgaWYgY29udGV4dCB0aGVuCiAgICAgICAgICBkbwogICAgICAgICAgICBsb2NhbCBiZWZvcmUgPSBsaW5lc1trIC0gMV0KICAgICAgICAgICAgaWYgYmVmb3JlIHRoZW4KICAgICAgICAgICAgICB0YWJsZS5pbnNlcnQob3V0LCAxLCBiZWZvcmUpCiAgICAgICAgICAgIGVuZAogICAgICAgICAgZW5kCiAgICAgICAgICBkbwogICAgICAgICAgICBsb2NhbCBhZnRlciA9IGxpbmVzW2sgKyAxXQogICAgICAgICAgICBpZiBhZnRlciB0aGVuCiAgICAgICAgICAgICAgdGFibGUuaW5zZXJ0KG91dCwgYWZ0ZXIpCiAgICAgICAgICAgIGVuZAogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgICAgYnJlYWsKICAgICAgZWxzZQogICAgICAgIHJlbWFpbmluZyA9IHJlbWFpbmluZyAtICNsaW5lCiAgICAgIGVuZAogICAgZW5kCiAgICBpZiBub3QgKG91dCkgdGhlbgogICAgICByZXR1cm4gIi0iCiAgICBlbmQKICAgIG91dCA9IHRhYmxlLmNvbmNhdChvdXQpCiAgICByZXR1cm4gKG91dDpnc3ViKCJcbiokIiwgIiIpKQogIGVuZAogIGxvY2FsIG1hcmsKICBtYXJrID0gZnVuY3Rpb24obmFtZSkKICAgIHJldHVybiBmdW5jdGlvbiguLi4pCiAgICAgIHJldHVybiB7CiAgICAgICAgbmFtZSwKICAgICAgICAuLi4KICAgICAgfQogICAgZW5kCiAgZW5kCiAgbG9jYWwgcG9zCiAgcG9zID0gZnVuY3Rpb24ocGF0dCkKICAgIHJldHVybiAoQ3AoKSAqIHBhdHQpIC8gZnVuY3Rpb24ocG9zLCB2YWx1ZSkKICAgICAgaWYgdHlwZSh2YWx1ZSkgPT0gInRhYmxlIiB0aGVuCiAgICAgICAgdmFsdWVbLTFdID0gcG9zCiAgICAgIGVuZAogICAgICByZXR1cm4gdmFsdWUKICAgIGVuZAogIGVuZAogIGxvY2FsIGdvdAogIGdvdCA9IGZ1bmN0aW9uKHdoYXQsIGNvbnRleHQp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PT0gX2V4cF8wIHRoZW4KICAgICAgICByZXR1cm4gewogICAgICAgICAgImFzc2lnbiIsCiAgICAgICAgICBsaHNfZXhwcywKICAgICAgICAgIHVucGFjayhhc3NpZ24sIDIpCiAgICAgICAgfQogICAgICBlbHNlaWYgInVwZGF0ZSIgPT0gX2V4cF8wIHRoZW4KICAgICAgICByZXR1cm4gewogICAgICAgICAgInVwZGF0ZSIsCiAgICAgICAgICBsaHNfZXhwc1sxXSwKICAgICAgICAgIHVucGFjayhhc3NpZ24sIDIpCiAgICAgICAgfQogICAgICBlbHNlCiAgICAgICAgcmV0dXJuIGVycm9yKCJ1bmtub3duIGFzc2lnbiBleHByZXNzaW9uOiAiIC4uIHRvc3RyaW5nKHQpKQogICAgICBlbmQKICAgIGVuZAogIGVuZAogIGxvY2FsIGZvcm1hdF9zaW5nbGVfYXNzaWduCiAgZm9ybWF0X3NpbmdsZV9hc3NpZ24gPSBmdW5jdGlvbihsaHMsIGFzc2lnbikKICAgIGlmIGFzc2lnbiB0aGVuCiAgICAgIHJldHVybiBmb3JtYXRfYXNzaWduKHsKICAgICAgICBsaHMKICAgICAgfSwgYXNzaWduKQogICAgZWxzZQogICAgICByZXR1cm4gbGhzCiAgICBlbmQKICBlbmQKICBsb2NhbCBzeW0KICBzeW0gPSBmdW5jdGlvbihjaGFycykKICAgIHJldHVybiBTcGFjZSAqIGNoYXJzCiAgZW5kCiAgbG9jYWwgc3lteAogIHN5bXggPSBmdW5jdGlvbihjaGFycykKICAgIHJldHVybiBjaGFycwogIGVuZAogIGxvY2FsIHNpbXBsZV9zdHJpbmcKICBzaW1wbGVfc3RyaW5nID0gZnVuY3Rpb24oZGVsaW0sIGFsbG93X2ludGVycG9sYXRpb24pCiAgICBsb2NhbCBpbm5lciA9IFAoIlxcIiAuLiB0b3N0cmluZyhkZWxpbSkpICsgIlxcXFwiICsgKDEgLSBQKGRlbGltKSkKICAgIGlmIGFsbG93X2ludGVycG9sYXRpb24gdGhlbgogICAgICBsb2NhbCBpbnRlcnAgPSBzeW14KCcjeycpICogVigiRXhwIikgKiBzeW0oJ30nKQogICAgICBpbm5lciA9IChDKChpbm5lciAtIGludGVycCkgXiAxKSArIGludGVycCAvIG1hcmsoImludGVycG9sYXRlIikpIF4gMAogICAgZWxzZQogICAgICBpbm5lciA9IEMoaW5uZXIgXiAwKQogICAgZW5kCiAgICByZXR1cm4gQyhzeW14KGRlbGltKSkgKiBpbm5lciAqIHN5bShkZWxpbSkgLyBtYXJrKCJzdHJpbmciKQogIGVuZAogIGxvY2FsIHdyYXBfZnVuY19hcmcKICB3cmFwX2Z1bmNfYXJnID0gZnVuY3Rpb24odmFsdWUpCiAgICByZXR1cm4gewogICAgICAiY2FsbCIsCiAgICAgIHsKICAgICAgICB2YWx1ZQogICAgICB9CiAgICB9CiAgZW5kCiAgbG9jYWwgam9pbl9jaGFpbgogIGpvaW5fY2hhaW4gPSBmdW5jdGlvbihjYWxsZWUsIGFyZ3MpCiAgICBpZiAjYXJncyA9PSAwIHRoZW4KICAgICAgcmV0dXJuIGNhbGxlZQogICAgZW5kCiAgICBhcmdzID0gewogICAgICAiY2FsbCIsCiAgICAgIGFyZ3MKICAgIH0KICAgIGlmIG50eXBlKGNhbGxlZSkgPT0gImNoYWluIiB0aGVuCiAgICAgIHRhYmxlLmluc2VydChjYWxsZWUsIGFyZ3MpCiAgICAgIHJldHVybiBjYWxsZWUKICAgIGVuZAogICAgcmV0dXJuIHsKICAgICAgImNoYWluIiwKICAgICAgY2FsbGVlLAogICAgICBhcmdzCiAgICB9CiAgZW5kCiAgbG9jYWwgd3JhcF9kZWNvcmF0b3IKICB3cmFwX2RlY29yYXRvciA9IGZ1bmN0aW9uKHN0bSwgZGVjKQogICAgaWYgbm90IChkZWMpIHRoZW4KICAgICAgcmV0dXJuIHN0bQogICAgZW5kCiAgICByZXR1cm4gewogICAgICAiZGVjb3JhdGVkIiwKICAgICAgc3RtLAogICAgICBkZWMKICAgIH0KICBlbmQKICBsb2NhbCBjaGVja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gICBsb2NhbCBfLCBlcnIgPSB4cGNhbGwoKGZ1bmN0aW9uKCkKICAgICAgICAgIHRyZWUgPSBmaWxlX2dyYW1tYXI6bWF0Y2goc3RyKQogICAgICAgIGVuZCksIGZ1bmN0aW9uKGVycikKICAgICAgICAgIHJldHVybiBkZWJ1Zy50cmFjZWJhY2soZXJyLCAyKQogICAgICAgIGVuZCkKICAgICAgICBpZiB0eXBlKGVycikgPT0gInN0cmluZyIgdGhlbgogICAgICAgICAgcmV0dXJuIG5pbCwgZXJyCiAgICAgICAgZW5kCiAgICAgICAgaWYgbm90ICh0cmVlKSB0aGVuCiAgICAgICAgICBsb2NhbCBtc2cKICAgICAgICAgIGxvY2FsIGVycl9wb3MgPSBzdGF0ZS5sYXN0X3BvcwogICAgICAgICAgaWYgZXJyIHRoZW4KICAgICAgICAgICAgbG9jYWwgbm9kZQogICAgICAgICAgICBub2RlLCBtc2cgPSB1bnBhY2soZXJyKQogICAgICAgICAgICBpZiBtc2cgdGhlbgogICAgICAgICAgICAgIG1zZyA9ICIgIiAuLiBtc2cKICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIGVycl9wb3MgPSBub2RlWy0xXQogICAgICAgICAgZW5kCiAgICAgICAgICBsb2NhbCBsaW5lX25vID0gcG9zX3RvX2xpbmUoc3RyLCBlcnJfcG9zKQogICAgICAgICAgbG9jYWwgbGluZV9zdHIgPSBnZXRfbGluZShzdHIsIGxpbmVfbm8pIG9yICIiCiAgICAgICAgICByZXR1cm4gbmlsLCBlcnJfbXNnOmZvcm1hdChtc2cgb3IgIiIsIGxpbmVfbm8sIHRyaW0obGluZV9zdHIpKQogICAgICAgIGVuZAogICAgICAgIHJldHVybiB0cmVlCiAgICAgIGVuZAogICAgfQogIGVuZAogIHJldHVybiB7CiAgICBleHRyYWN0X2xpbmUgPSBleHRyYWN0X2xpbmUsCiAgICBidWlsZF9ncmFtbWFyID0gYnVpbGRfZ3JhbW1hciwKICAgIHN0cmluZyA9IGZ1bmN0aW9uK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ub2RlX3R5cGVzID0gewogICAgY2xhc3MgPSB7CiAgICAgIHsKICAgICAgICAibmFtZSIsCiAgICAgICAgIlRtcCIKICAgICAgfSwKICAgICAgewogICAgICAgICJib2R5IiwKICAgICAgICB0CiAgICAgIH0KICAgIH0sCiAgICBmbmRlZiA9IHsKICAgICAgewogICAgICAgICJhcmdzIiwKICAgICAgICB0CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAid2hpdGVsaXN0IiwKICAgICAgICB0CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiYXJyb3ciLAogICAgICAgICJzbGltIgogICAgICB9LAogICAgICB7CiAgICAgICAgImJvZHkiLAogICAgICAgIHQKICAgICAgfQogICAgfSwKICAgIGZvcmVhY2ggPSB7CiAgICAgIHsKICAgICAgICAibmFtZXMiLAogICAgICAgIHQKICAgICAgfSwKICAgICAgewogICAgICAgICJpdGVyIgogICAgICB9LAogICAgICB7CiAgICAgICAgImJvZHkiLAogICAgICAgIHQKICAgICAgfQogICAgfSwKICAgIFsiZm9yIl0gPSB7CiAgICAgIHsKICAgICAgICAibmFtZSIKICAgICAgfSwKICAgICAgewogICAgICAgICJib3VuZHMiLAogICAgICAgIHQKICAgICAgfSwKICAgICAgewogICAgICAgICJib2R5IiwKICAgICAgICB0CiAgICAgIH0KICAgIH0sCiAgICBbIndoaWxlIl0gPSB7CiAgICAgIHsKICAgICAgICAiY29uZCIsCiAgICAgICAgdAogICAgICB9LAogICAgICB7CiAgICAgICAgImJvZHkiLAogICAgICAgIHQKICAgICAgfQogICAgfSwKICAgIGFzc2lnbiA9IHsKICAgICAgewogICAgICAgICJuYW1lcyIsCiAgICAgICAgdAogICAgICB9LAogICAgICB7CiAgICAgICAgInZhbHVlcyIsCiAgICAgICAgdAogICAgICB9CiAgICB9LAogICAgZGVjbGFyZSA9IHsKICAgICAgewogICAgICAgICJuYW1lcyIsCiAgICAgICAgdAogICAgICB9CiAgICB9LAogICAgWyJpZiJdID0gewogICAgICB7CiAgICAgICAgImNvbmQiLAogICAgICAgIHQKICAgICAgfSwKICAgICAgewogICAgICAgICJ0aGVuIiwKICAgICAgICB0CiAgICAgIH0KICAgIH0KICB9CiAgbG9jYWwgYnVpbGRfdGFibGUKICBidWlsZF90YWJsZSA9IGZ1bmN0aW9uKCkKICAgIGxvY2FsIGtleV90YWJsZSA9IHsgfQogICAgZm9yIG5vZGVfbmFtZSwgYXJncyBpbiBwYWlycyhub2RlX3R5cGVzKSBkbwogICAgICBsb2NhbCBpbmRleCA9IHsgfQogICAgICBmb3IgaSwgdHVwbGUgaW4gaXBhaXJzKGFyZ3MpIGRvCiAgICAgICAgbG9jYWwgcHJvcF9uYW1lID0gdHVwbGVbMV0KICAgICAgICBpbmRleFtwcm9wX25hbWVdID0gaSArIDEKICAgICAgZW5kCiAgICAgIGtleV90YWJsZVtub2RlX25hbWVdID0gaW5kZXgKICAgIGVuZAogICAgcmV0dXJuIGtleV90YWJsZQogIGVuZAogIGxvY2FsIGtleV90YWJsZSA9IGJ1aWxkX3RhYmxlKCkKICBsb2NhbCBtYWtlX2J1aWxkZXIKICBtYWtlX2J1aWxkZXIgPSBmdW5jdGlvbihuYW1lKQogICAgbG9jYWwgc3BlYyA9IG5vZGVfdHlwZXNbbmFtZV0KICAgIGlmIG5vdCBzcGVjIHRoZW4KICAgICAgZXJyb3IoImRvbid0IGtub3cgaG93IHRvIGJ1aWxkIG5vZGU6ICIgLi4gbmFtZSkKICAgIGVuZAogICAgcmV0dXJuIGZ1bmN0aW9uKHByb3BzKQogICAgICBpZiBwcm9wcyA9PSBuaWwgdGhlbgogICAgICAgIHByb3BzID0geyB9CiAgICAgIGVuZAogICAgICBsb2NhbCBub2RlID0gewogICAgICAgIG5hbWUKICAgICAgfQogICAgICBmb3IgaSwgYXJnIGluIGlwYWlycyhzcGVjKSBkbwogICAgICAgIGxvY2FsIGtleSwgZGVmYXVsdF92YWx1ZSA9IHVucGFjayhhcmcpCiAgICAgICAgbG9jYWwgdmFsCiAgICAgICAgaWYgcHJvcHNba2V5XSB0aGVuCiAgICAgICAgICB2YWwgPSBwcm9wc1trZXldCiAgICAgICAgZWxzZQogICAgICAgICAgdmFsID0gZGVmYXVsdF92YWx1ZQogICAgICAgIGVuZAogICAgICAgIGlmIHZhbCA9PSB0IHRoZW4KICAgICAgICAgIHZhbCA9IHsgfQogICAgICAgIGVuZAogICAgICAgIG5vZGVbaSArIDFdID0gdmFsCiAgICAgIGVuZAogICAgICByZXR1cm4gbm9kZQogICAgZW5kCiAgZW5kCiAgbG9jYWwgYnVpbGQgPSBuaWwKICBidWlsZCA9IHNldG1ldGF0YWJsZSh7CiAgICBncm91cCA9IGZ1bmN0aW9uKGJvZHkpCiAgICAgIGlmIGJvZHkgPT0gbmlsIHRoZW4KICAgICAgICBib2R5ID0geyB9CiAgICAgIGVuZAogICAgICByZXR1cm4gewogICAgICAgICJncm91cCIsCiAgICAgICAgYm9keQogICAgICB9CiAgICBlbmQsCiAgICBbImRvIl0gPSBmdW5jdGlvbihib2R5KQogICAgICByZXR1cm4gewogICAgICAgICJkbyIsCiAgICAgICAgYm9keQogICAgICB9CiAgICBlbmQsCiAgICBhc3NpZ25fb25lID0gZnVuY3Rpb24obmFtZSwgdmFsdWUpCiAgICAgIHJldHVybiBidWlsZC5hc3NpZ24oewogICAgICAgIG5hbWVzID0gewogICAgICAgICAgbmFtZQogICAgICAgIH0sCiAgICAgICAgdmFsdWVzID0gewogICAgICAgICAgdmFsdWUKICAgICAgICB9CiAgICAgIH0pCiAgICBlbmQsCiAgICB0YWJsZSA9IGZ1bmN0aW9uKHRibCkKICAgICAgaWYgdGJsID09IG5pbCB0aGVuCiAgICAgICAgdGJsID0geyB9CiAgICAgIGVuZAogICAgICBmb3IgX2luZGV4XzAgPSAxLCAjdGJsIGRvCiAgICAgICAgbG9jYWwgdHVwbGUgPSB0YmxbX2luZGV4XzBdCiAgICAgICAgaWYgdHlwZSh0dXBsZVsxXSkgPT0gInN0cmluZyIgdGhlbgogICAgICAgICAgdHVwbGVbMV0gPSB7CiAgICAgICAgICAgICJrZXlfbGl0ZXJhbCIsCiAgICAgICAgICAgIHR1cGxlWzFdCiAgICAgICAgICB9CiAgICAgICAgZW5kCiAgICAgIGVuZAogICAgICByZXR1cm4gewogICAgICAgICJ0YWJsZSIsCiAgICAgICAgdGJsCiAgICAgIH0KICAgIGVuZCwKICAgIGJsb2NrX2V4cCA9IGZ1bmN0aW9uKGJvZHkpCiAgICAgIHJldHVybiB7CiAgICAgICAgImJsb2NrX2V4cCIsCiAgICAgICAgYm9keQogICAgICB9CiAgICBlbmQsCiAgICBjaGFpbiA9IGZ1bmN0aW9uKHBhcnRzKQogICAgICBsb2NhbCBiYXNlID0gcGFydHMuYmFzZSBvciBlcnJvcigiZXhwZWN0aW5nIGJhc2UgcHJvcGVydHkgZm9yIGNoYWluIikKICAgICAgaWYgdHlwZShiYXNlKSA9PSAic3RyaW5nIiB0aGVuCiAgICAgICAgYmFzZSA9IHsKICAgICAgICAgICJyZWYiLAogICAgICAgICAgYmFzZQogICAgICAgIH0KICAgICAgZW5kCiAgICAgIGxvY2FsIG5vZGUgPSB7CiAgICAgICAgImNoYWluIiwKICAgICAgICBiYXNlCiAgICAgIH0KICAgICAgZm9yIF9pbmRleF8wID0gMSwgI3BhcnRzIGRvCiAgICAgICAgbG9jYWwgcGFydCA9IHBhcnRzW19pbmRleF8wXQogICAgICAgIGluc2VydChub2RlLCBwYXJ0KQogICAgICBlbmQKICAgICAgcmV0dXJuIG5vZGUKICAgIGVuZAogIH0sIHsKICAgIF9faW5kZXggPSBmdW5jdGlvbihzZWxmLCBuYW1lKQogICAgICBzZWxmW25hbWVdID0gbWFrZV9idWlsZGVyKG5hbWUpCiAgICAgIHJldHVybiByYXdnZXQoc2VsZiwgbmFtZSkKICAgIGVuZAogIH0pCiAgbG9jYWwgc21hcnRfbm9kZV9tdCA9IHNldG1ldGF0YWJsZSh7IH0sIHsKICAgIF9faW5kZXggPSBmdW5jdGlvbihzZWxmLCBub2RlX3R5cGUpCiAgICAgIGxvY2FsIGluZGV4ID0ga2V5X3RhYmxlW25vZGVfdHlwZV0KICAgICAgbG9jYWwgbXQgPSB7CiAgICAgICAgc21hcnRfbm9kZSA9IHRydWUsCiAgICAgICAgX19pbmRleCA9IGZ1bmN0aW9uKG5vZGUsIGtleSkKICAgICAgICAgIGlmIGluZGV4W2tleV0gdGhlbgogICAgICAgICAgICByZXR1cm4gcmF3Z2V0KG5vZGUsIGluZGV4W2tleV0pCiAgICAgICAgICBlbHNlaWYgdHlwZShrZXkpID09ICJzdHJpbmciIHRoZW4KICAgICAgICAgICAgcmV0dXJuIGVycm9yKCJ1bmtub3duIGtleTogYCIgLi4ga2V5IC4uICJgIG9uIG5vZGUgdHlwZTogYCIgLi4gbnR5cGUobm9kZSkgLi4gImAiKQogICAgICAgICAgZW5kCiAgICAgICAgZW5kLAogICAgICAgIF9fbmV3aW5kZXggPSBmdW5jdGlvbihub2RlLCBrZXksIHZhbHVlKQogICAgICAgICAgaWYgaW5kZXhba2V5XSB0aGVuCiAgICAgICAgICAgIGtleSA9IGluZGV4W2tleV0KICAgICAgICAgIGVuZAogICAgICAgICAgcmV0dXJuIHJhd3NldChub2RlLCBrZXksIHZhbHVlKQogICAgICAgIGVuZAogICAgICB9CiAgICAgIHNlbGZbbm9kZV90eXBlXSA9IG10CiAgICAgIHJldHVybiBtdAogICAgZW5kCiAgfSkKICBsb2NhbCBzbWFydF9ub2RlCiAgc21hcnRfbm9kZSA9IGZ1bmN0aW9uKG5vZGUpCiAgICByZXR1cm4gc2V0bWV0YXRhYmxlKG5vZGUsIHNtYXJ0X25vZGVfbXRbbnR5cGUobm9kZSldKQogIGVuZAogIGxvY2FsIE5PT1AgPSB7CiAgICAibm9vcCIKICB9CiAgcmV0dXJuIHsKICAgIG50eXBlID0gbnR5cGUsCiAgICBzbWFydF9ub2RlID0gc21hcnRfbm9kZSwKICAgIGJ1aWxkID0gYnVpbGQsCiAgICBpc192YWx1ZSA9IGlzX3ZhbHVlLAogIC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saW5lX3RhYmxlcywgY3JlYXRlX21vb25wYXRoLCB0b19sdWEsIG1vb25fbG9hZGVyLCBsb2Fkc3RyaW5nLCBsb2FkZmlsZSwgZG9maWxlLCBpbnNlcnRfbG9hZGVyLCByZW1vdmVfbG9hZGVyCiAgZGlyc2VwID0gIi8iCiAgbGluZV90YWJsZXMgPSByZXF1aXJlKCJtb29uc2NyaXB0LmxpbmVfdGFibGVzIikKICBjcmVhdGVfbW9vbnBhdGggPSBmdW5jdGlvbihwYWNrYWdlX3BhdGgpCiAgICBsb2NhbCBtb29ucGF0aHMKICAgIGRvCiAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgbG9jYWwgX2xpc3RfMCA9IHNwbGl0KHBhY2thZ2VfcGF0aCwgIjsiKQogICAgICBmb3IgX2luZGV4XzAgPSAxLCAjX2xpc3RfMCBkbwogICAgICAgIGxvY2FsIF9jb250aW51ZV8wID0gZmFsc2UKICAgICAgICByZXBlYXQKICAgICAgICAgIGxvY2FsIHBhdGggPSBfbGlzdF8wW19pbmRleF8wXQogICAgICAgICAgbG9jYWwgcHJlZml4ID0gcGF0aDptYXRjaCgiXiguLSklLmx1YSQiKQogICAgICAgICAgaWYgbm90IChwcmVmaXgpIHRoZW4KICAgICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgICAgIGJyZWFrCiAgICAgICAgICBlbmQKICAgICAgICAgIGxvY2FsIF92YWx1ZV8wID0gcHJlZml4IC4uICIubW9vbiIKICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBfdmFsdWVfMAogICAgICAgICAgX2xlbl8wID0gX2xlbl8wICsgMQogICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgdW50aWwgdHJ1ZQogICAgICAgIGlmIG5vdCBfY29udGludWVfMCB0aGVuCiAgICAgICAgICBicmVhawogICAgICAgIGVuZAogICAgICBlbmQKICAgICAgbW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MAogICAgbG9jYWwgX2Jhc2VfMCA9IHsKICAgICAgbWFya19wb3MgPSBmdW5jdGlvbihzZWxmLCBwb3MsIGxpbmUpCiAgICAgICAgaWYgbGluZSA9PSBuaWwgdGhlbgogICAgICAgICAgbGluZSA9ICNzZWxmCiAgICAgICAgZW5kCiAgICAgICAgaWYgbm90IChzZWxmLnBvc21hcFtsaW5lXSkgdGhlbgogICAgICAgICAgc2VsZi5wb3NtYXBbbGluZV0gPSBwb3MKICAgICAgICBlbmQKICAgICAgZW5kLAogICAgICBhZGQgPSBmdW5jdGlvbihzZWxmLCBpdGVtKQogICAgICAgIGxvY2FsIF9leHBfMCA9IG10eXBlKGl0ZW0pCiAgICAgICAgaWYgTGluZSA9PSBfZXhwXzAgdGhlbgogICAgICAgICAgaXRlbTpyZW5kZXIoc2VsZikKICAgICAgICBlbHNlaWYgQmxvY2sgPT0gX2V4cF8wIHRoZW4KICAgICAgICAgIGl0ZW06cmVuZGVyKHNlbGYpCiAgICAgICAgZWxzZQogICAgICAgICAgc2VsZlsjc2VsZiArIDFdID0gaXRlbQogICAgICAgIGVuZAogICAgICAgIHJldHVybiBzZWxmCiAgICAgIGVuZCwKICAgICAgZmxhdHRlbl9wb3NtYXAgPSBmdW5jdGlvbihzZWxmLCBsaW5lX25vLCBvdXQpCiAgICAgICAgaWYgbGluZV9ubyA9PSBuaWwgdGhlbgogICAgICAgICAgbGluZV9ubyA9IDAKICAgICAgICBlbmQKICAgICAgICBpZiBvdXQgPT0gbmlsIHRoZW4KICAgICAgICAgIG91dCA9IHsgfQogICAgICAgIGVuZAogICAgICAgIGxvY2FsIHBvc21hcCA9IHNlbGYucG9zbWFwCiAgICAgICAgZm9yIGksIGwgaW4gaXBhaXJzKHNlbGYpIGRvCiAgICAgICAgICBsb2NhbCBfZXhwXzAgPSBtdHlwZShsKQogICAgICAgICAgaWYgInN0cmluZyIgPT0gX2V4cF8wIG9yIERlbGF5ZWRMaW5lID09IF9leHBfMCB0aGVuCiAgICAgICAgICAgIGxpbmVfbm8gPSBsaW5lX25vICsgMQogICAgICAgICAgICBvdXRbbGluZV9ub10gPSBwb3NtYXBbaV0KICAgICAgICAgICAgZm9yIF8gaW4gbDpnbWF0Y2goIlxuIikgZG8KICAgICAgICAgICAgICBsaW5lX25vID0gbGluZV9ubyArIDEKICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIG91dFtsaW5lX25vXSA9IHBvc21hcFtpXQogICAgICAgICAgZWxzZWlmIExpbmVzID09IF9leHBfMCB0aGVuCiAgICAgICAgICAgIGxvY2FsIF8KICAgICAgICAgICAgXywgbGluZV9ubyA9IGw6ZmxhdHRlbl9wb3NtYXAobGluZV9ubywgb3V0KQogICAgICAgICAgZWxzZQogICAgICAgICAgICBlcnJvcigiVW5rbm93biBpdGVtIGluIExpbmVzOiAiIC4uIHRvc3RyaW5nKGwpKQogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgICAgcmV0dXJuIG91dCwgbGluZV9ubwogICAgICBlbmQsCiAgICAgIGZsYXR0ZW4gPSBmdW5jdGlvbihzZWxmLCBpbmRlbnQsIGJ1ZmZlcikKICAgICAgICBpZiBpbmRlbnQgPT0gbmlsIHRoZW4KICAgICAgICAgIGluZGVudCA9IG5pbAogICAgICAgIGVuZAogICAgICAgIGlmIGJ1ZmZlciA9PSBuaWwgdGhlbgogICAgICAgICAgYnVmZmVyID0geyB9CiAgICAgICAgZW5kCiAgICAgICAgZm9yIGkgPSAxLCAjc2VsZiBkbwogICAgICAgICAgbG9jYWwgbCA9IHNlbGZbaV0KICAgICAgICAgIGxvY2FsIHQgPSBtdHlwZShsKQogICAgICAgICAgaWYgdCA9PSBEZWxheWVkTGluZSB0aGVuCiAgICAgICAgICAgIGwgPSBsOnJlbmRlcigpCiAgICAgICAgICAgIHQgPSAic3RyaW5nIgogICAgICAgICAgZW5kCiAgICAgICAgICBsb2NhbCBfZXhwXzAgPSB0CiAgICAgICAgICBpZiAic3RyaW5nIiA9PSBfZXhwXzAgdGhlbgogICAgICAgICAgICBpZiBpbmRlbnQgdGhlbgogICAgICAgICAgICAgIGluc2VydChidWZmZXIsIGluZGVudCkKICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIGluc2VydChidWZmZXIsIGwpCiAgICAgICAgICAgIGlmICJzdHJpbmciID09IHR5cGUoc2VsZltpICsgMV0pIHRoZW4KICAgICAgICAgICAgICBsb2NhbCBsYyA9IGw6c3ViKC0xKQogICAgICAgICAgICAgIGlmIChsYyA9PSAiKSIgb3IgbGMgPT0gIl0iKSBhbmQgc2VsZltpICsgMV06c3ViKDEsIDEpID09ICIoIiB0aGVuCiAgICAgICAgICAgICAgICBpbnNlcnQoYnVmZmVyLCAiOyIpCiAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIGVuZAogICAgICAgICAgICBpbnNlcnQoYnVmZmVyLCAiXG4iKQogICAgICAgICAgZWxzZWlmIExpbmVzID09IF9leHBfMCB0aGVuCiAgICAgICAgICAgIGw6ZmxhdHRlbihpbmRlbnQgYW5kIGluZGVudCAuLiBpbmRlbnRfY2hhciBvciBpbmRlbnRfY2hhciwgYnVmZmVyKQogICAgICAgICAgZWxzZQogICAgICAgICAgICBlcnJvcigiVW5rbm93biBpdGVtIGluIExpbmVzOiAiIC4uIHRvc3RyaW5nKGwpKQogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgICAgcmV0dXJuIGJ1ZmZlcgogICAgICBlbmQsCiAgICAgIF9fdG9zdHJpbmcgPSBmdW5jdGlvbihzZWxmKQogICAgICAgIGxvY2FsIHN0cmlwCiAgICAgICAgc3RyaXAgPSBmdW5jdGlvbih0KQogICAgICAgICAgaWYgInRhYmxlIiA9PSB0eXBlKHQpIHRoZW4KICAgICAgICAgICAgbG9jYWwgX2FjY3VtXzAgPSB7IH0KICAgICAgICAgICAgbG9jYWwgX2xlbl8wID0gMQogICAgICAgICAgICBmb3IgX2luZGV4XzAgPSAxLCAjdCBkbwogICAgICAgICAgICAgIGxvY2FsIHYgPSB0W19pbmRleF8wXQogICAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBzdHJpcCh2KQogICAgICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIHJldHVybiBfYWNjdW1fMAogICAgICAgICAgZWxzZQogICAgICAgICAgICByZXR1cm4gdAogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgICAgcmV0dXJuICJMaW5lczwiIC4uIHRvc3RyaW5nKHV0aWwuZHVtcChzdHJpcChzZWxmKSk6c3ViKDEsIC0yKSkgLi4gIj4iCiAgICAgIGVuZAogICAgfQogICAgX2Jhc2VfMC5fX2luZGV4ID0gX2Jhc2VfMAogICAgX2NsYXNzXzAgPSBzZXRtZXRhdGFibGUoewogICAgICBfX2luaXQgPSBmdW5jdGlvbihzZWxmKQogICAgICAgIHNlbGYucG9zbWFwID0geyB9CiAgICAgIGVuZCwKICAgICAgX19iYXNlID0gX2Jhc2VfMCwKICAgICAgX19uYW1lID0gIkxpbmVzIgogICAgfSwgewogICAgICBfX2luZGV4ID0gX2Jhc2VfMCwKICAgICAgX19jYWxsID0gZnVuY3Rpb24oY2xzLCAuLi4pCiAgICAgICAgbG9jYWwgX3NlbGZfMCA9IHNldG1ldGF0YWJsZSh7fSwgX2Jhc2VfMCkKICAgICAgICBjbHMuX19pbml0KF9zZWxmXzAsIC4uLikKICAgICAgICByZXR1cm4gX3NlbGZfMAogICAgICBlbmQKICAgIH0pCiAgICBfYmFzZV8wLl9fY2xhc3MgPSBfY2xhc3NfMAogICAgTGluZXMgPSBfY2xhc3NfMAogIGVuZAogIGRvCiAgICBsb2NhbCBfY2xhc3NfMAogICAgbG9jYWwgX2Jhc2VfMCA9IHsKICAgICAgcG9zID0gbmlsLAogICAgICBhcHBlbmRfbGlzdCA9IGZ1bmN0aW9uKHNlbGYsIGl0ZW1zLCBkZWxpbSkKICAgICAgICBmb3IgaSA9IDEsICNpdGVtcyBkbwogICAgICAgICAgc2VsZjphcHBlbmQoaXRlbXNbaV0pCiAgICAgICAgICBpZiBpIDwgI2l0ZW1zIHRoZW4KICAgICAgICAgICAgaW5zZXJ0KHNlbGYsIGRlbGltKQogICAgICAgICAgZW5kCiAgICAgICAgZW5kCiAgICAgICAgcmV0dXJuIG5pbAogICAgICBlbmQsCiAgICAgIGFwcGVuZCA9IGZ1bmN0aW9uKHNlbGYsIGZpcnN0LCAuLi4pCiAgICAgICAgaWYgTGluZSA9PSBtdHlwZShmaXJzdCkgdGhlbgogICAgICAgICAgaWYgbm90IChzZWxmLnBvcykgdGhlbgogICAgICAgICAgICBzZWxmLnBvcyA9IGZpcnN0LnBvcwogICAgICAgICAgZW5kCiAgICAgICAgICBmb3IgX2luZGV4XzAgPSAxLCAjZmlyc3QgZG8KICAgICAgICAgICAgbG9jYWwgdmFsdWUgPSBmaXJzdFtfaW5kZXhfMF0KICAgICAgICAgICAgc2VsZjphcHBlbmQodmFsdWUpCiAgICAgICAgICBlbmQKICAgICAgICBlbHNlCiAgICAgICAgICBpbnNlcnQoc2VsZiwgZmlyc3QpCiAgICAgICAgZW5kCiAgICAgICAgaWYgLi4uIHRoZW4KICAgICAgICAgIHJldHVybiBzZWxmOmFwcGVuZCguLi4pCiAgICAgICAgZW5kCiAgICAgIGVuZCwKICAgICAgcmVuZGVyID0gZnVuY3Rpb24oc2VsZiwgYnVmZmVyKQogICAgICAgIGxvY2FsIGN1cnJlbnQgPSB7IH0KICAgICAgICBsb2NhbCBhZGRfY3VycmVudAogICAgICAgIGFkZF9jdXJyZW50ID0gZnVuY3Rpb24oKQogICAgICAgICAgYnVmZmVyOmFkZChjb25jYXQoY3VycmVudCkpCiAgICAgICAgICByZXR1cm4gYnVmZmVyOm1hcmtfcG9zKHNlbGYucG9zKQogICAgICAgIGVuZAogICAgICAgIGZvciBfaW5kZXhfMCA9IDEsICNzZWxmIGRvCiAgICAgICAgICBsb2NhbCBjaHVuayA9IHNlbGZbX2luZGV4XzBdCiAgICAgICAgICBsb2NhbCBfZXhwXzAgPSBtdHlwZShjaHVuaykKICAgICAgICAgIGlmIEJsb2NrID09IF9leHBfMCB0aGVuCiAgICAgICAgICAgIGxvY2FsIF9saXN0XzAgPSBjaHVuazpyZW5kZXIoTGluZXMoKSkKICAgICAgICAgICAgZm9yIF9pbmRleF8xID0gMSwgI19saXN0XzAgZG8KICAgICAgICAgICAgICBsb2NhbCBibG9ja19jaHVuayA9IF9saXN0XzBbX2luZGV4XzFdCiAgICAgICAgICAgICAgaWYgInN0cmluZyIgPT0gdHlwZShibG9ja19jaHVuaykgdGhlbgogICAgICAgICAgICAgICAgaW5zZXJ0KGN1cnJlbnQsIGJsb2NrX2NodW5rKQogICAgICAgICAgICAgIGVsc2UKICAgICAgICAgICAgICAgIGFkZF9jdXJyZW50KCkKICAgICAgICAgICAgICAgIGJ1ZmZlcjphZGQoYmxvY2tfY2h1bmspCiAgICAgICAgICAgICAgICBjdXJyZW50ID0geyB9CiAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIGVuZAogICAgICAgICAgZWxzZQogICAgICAgICAgICBpbnNlcnQoY3VycmVudCwgY2h1bmspCiAgICAgICAgICBlbmQKICAgICAgICBlbmQKICAgICAgICBpZiBjdXJyZW50WzFdIHRoZW4KICAgICAgICAgIGFkZF9jdXJyZW50KCkKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gYnVmZmVyCiAgICAgIGVuZCwKICAgICAgX190b3N0cmluZyA9IGZ1bmN0aW9uKHNlbGYpCiAgICAgICAgcmV0dXJuICJMaW5lPCIgLi4gdG9zdHJpbmcodXRpbC5kdW1wKHNlbGYpOnN1YigxLCAtMikpIC4uICI+IgogICAgICBlbmQKICAgIH0KICAgIF9iYXNlXzAuX19pbmRleCA9IF9iYXNlXzAKICAgIF9jbGFzc18wID0gc2V0bWV0YXRhYmxlKHsKICAgICAgX19pbml0ID0gZnVuY3Rpb24oKSBlbmQsCiAgICAgIF9fYmFzZSA9IF9iYXNlXzAsCiAgIC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2VsZiwgbmFtZSwgZm4pCiAgICAgICAgc2VsZi5fbGlzdGVuZXJzW25hbWVdID0gZm4KICAgICAgZW5kLAogICAgICB1bmxpc3RlbiA9IGZ1bmN0aW9uKHNlbGYsIG5hbWUpCiAgICAgICAgc2VsZi5fbGlzdGVuZXJzW25hbWVdID0gbmlsCiAgICAgIGVuZCwKICAgICAgc2VuZCA9IGZ1bmN0aW9uKHNlbGYsIG5hbWUsIC4uLikKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgZm4gPSBzZWxmLl9saXN0ZW5lcnNbbmFtZV0KICAgICAgICAgIGlmIGZuIHRoZW4KICAgICAgICAgICAgcmV0dXJuIGZuKHNlbGYsIC4uLikKICAgICAgICAgIGVuZAogICAgICAgIGVuZAogICAgICBlbmQsCiAgICAgIGV4dHJhY3RfYXNzaWduX25hbWUgPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICAgIGxvY2FsIGlzX2xvY2FsID0gZmFsc2UKICAgICAgICBsb2NhbCByZWFsX25hbWUKICAgICAgICBsb2NhbCBfZXhwXzAgPSBtdHlwZShub2RlKQogICAgICAgIGlmIExvY2FsTmFtZSA9PSBfZXhwXzAgdGhlbgogICAgICAgICAgaXNfbG9jYWwgPSB0cnVlCiAgICAgICAgICByZWFsX25hbWUgPSBub2RlOmdldF9uYW1lKHNlbGYpCiAgICAgICAgZWxzZWlmIE5hbWVQcm94eSA9PSBfZXhwXzAgdGhlbgogICAgICAgICAgcmVhbF9uYW1lID0gbm9kZTpnZXRfbmFtZShzZWxmKQogICAgICAgIGVsc2VpZiAidGFibGUiID09IF9leHBfMCB0aGVuCiAgICAgICAgICByZWFsX25hbWUgPSBub2RlWzFdID09ICJyZWYiIGFuZCBub2RlWzJdCiAgICAgICAgZWxzZWlmICJzdHJpbmciID09IF9leHBfMCB0aGVuCiAgICAgICAgICByZWFsX25hbWUgPSBub2RlCiAgICAgICAgZW5kCiAgICAgICAgcmV0dXJuIHJlYWxfbmFtZSwgaXNfbG9jYWwKICAgICAgZW5kLAogICAgICBkZWNsYXJlID0gZnVuY3Rpb24oc2VsZiwgbmFtZXMpCiAgICAgICAgbG9jYWwgdW5kZWNsYXJlZAogICAgICAgIGRvCiAgICAgICAgICBsb2NhbCBfYWNjdW1fMCA9IHsgfQogICAgICAgICAgbG9jYWwgX2xlbl8wID0gMQogICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI25hbWVzIGRvCiAgICAgICAgICAgIGxvY2FsIF9jb250aW51ZV8wID0gZmFsc2UKICAgICAgICAgICAgcmVwZWF0CiAgICAgICAgICAgICAgbG9jYWwgbmFtZSA9IG5hbWVzW19pbmRleF8wXQogICAgICAgICAgICAgIGxvY2FsIHJlYWxfbmFtZSwgaXNfbG9jYWwgPSBzZWxmOmV4dHJhY3RfYXNzaWduX25hbWUobmFtZSkKICAgICAgICAgICAgICBpZiBub3QgKGlzX2xvY2FsIG9yIHJlYWxfbmFtZSBhbmQgbm90IHNlbGY6aGFzX25hbWUocmVhbF9uYW1lLCB0cnVlKSkgdGhlbgogICAgICAgICAgICAgICAgX2NvbnRpbnVlXzAgPSB0cnVlCiAgICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICAgIGVuZAogICAgICAgICAgICAgIHNlbGY6cHV0X25hbWUocmVhbF9uYW1lKQogICAgICAgICAgICAgIGlmIHNlbGY6bmFtZV9leHBvcnRlZChyZWFsX25hbWUpIHRoZW4KICAgICAgICAgICAgICAgIF9jb250aW51ZV8wID0gdHJ1ZQogICAgICAgICAgICAgICAgYnJlYWsKICAgICAgICAgICAgICBlbmQKICAgICAgICAgICAgICBsb2NhbCBfdmFsdWVfMCA9IHJlYWxfbmFtZQogICAgICAgICAgICAgIF9hY2N1bV8wW19sZW5fMF0gPSBfdmFsdWVfMAogICAgICAgICAgICAgIF9sZW5fMCA9IF9sZW5fMCArIDEKICAgICAgICAgICAgICBfY29udGludWVfMCA9IHRydWUKICAgICAgICAgICAgdW50aWwgdHJ1ZQogICAgICAgICAgICBpZiBub3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WUpIHRoZW4KICAgICAgICAgIHJldHVybiB0cnVlCiAgICAgICAgZW5kCiAgICAgICAgbG9jYWwgeWVzID0gc2VsZi5fbmFtZXNbbmFtZV0KICAgICAgICBpZiB5ZXMgPT0gbmlsIGFuZCBzZWxmLnBhcmVudCB0aGVuCiAgICAgICAgICBpZiBub3Qgc2VsZi5fbmFtZV93aGl0ZWxpc3Qgb3Igc2VsZi5fbmFtZV93aGl0ZWxpc3RbbmFtZV0gdGhlbgogICAgICAgICAgICByZXR1cm4gc2VsZi5wYXJlbnQ6aGFzX25hbWUobmFtZSwgdHJ1ZSkKICAgICAgICAgIGVuZAogICAgICAgIGVsc2UKICAgICAgICAgIHJldHVybiB5ZXMKICAgICAgICBlbmQKICAgICAgZW5kLAogICAgICBpc19sb2NhbCA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUpCiAgICAgICAgbG9jYWwgdCA9IG10eXBlKG5vZGUpCiAgICAgICAgaWYgdCA9PSAic3RyaW5nIiB0aGVuCiAgICAgICAgICByZXR1cm4gc2VsZjpoYXNfbmFtZShub2RlLCBmYWxzZSkKICAgICAgICBlbmQKICAgICAgICBpZiB0ID09IE5hbWVQcm94eSBvciB0ID09IExvY2FsTmFtZSB0aGVuCiAgICAgICAgICByZXR1cm4gdHJ1ZQogICAgICAgIGVuZAogICAgICAgIGlmIHQgPT0gInRhYmxlIiB0aGVuCiAgICAgICAgICBpZiBub2RlWzFdID09ICJyZWYiIG9yIChub2RlWzFdID09ICJjaGFpbiIgYW5kICNub2RlID09IDIpIHRoZW4KICAgICAgICAgICAgcmV0dXJuIHNlbGY6aXNfbG9jYWwobm9kZVsyXSkKICAgICAgICAgIGVuZAogICAgICAgIGVuZAogICAgICAgIHJldHVybiBmYWxzZQogICAgICBlbmQsCiAgICAgIGZyZWVfbmFtZSA9IGZ1bmN0aW9uKHNlbGYsIHByZWZpeCwgZG9udF9wdXQpCiAgICAgICAgcHJlZml4ID0gcHJlZml4IG9yICJtb29uIgogICAgICAgIGxvY2FsIHNlYXJjaGluZyA9IHRydWUKICAgICAgICBsb2NhbCBuYW1lLCBpID0gbmlsLCAwCiAgICAgICAgd2hpbGUgc2VhcmNoaW5nIGRvCiAgICAgICAgICBuYW1lID0gY29uY2F0KHsKICAgICAgICAgICAgIiIsCiAgICAgICAgICAgIHByZWZpeCwKICAgICAgICAgICAgaQogICAgICAgICAgfSwgIl8iKQogICAgICAgICAgaSA9IGkgKyAxCiAgICAgICAgICBzZWFyY2hpbmcgPSBzZWxmOmhhc19uYW1lKG5hbWUsIHRydWUpCiAgICAgICAgZW5kCiAgICAgICAgaWYgbm90IGRvbnRfcHV0IHRoZW4KICAgICAgICAgIHNlbGY6cHV0X25hbWUobmFtZSkKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gbmFtZQogICAgICBlbmQsCiAgICAgIGluaXRfZnJlZV92YXIgPSBmdW5jdGlvbihzZWxmLCBwcmVmaXgsIHZhbHVlKQogICAgICAgIGxvY2FsIG5hbWUgPSBzZWxmOmZyZWVfbmFtZShwcmVmaXgsIHRydWUpCiAgICAgICAgc2VsZjpzdG0oewogICAgICAgICAgImFzc2lnbiIsCiAgICAgICAgICB7CiAgICAgICAgICAgIG5hbWUKICAgICAgICAgIH0sCiAgICAgICAgICB7CiAgICAgICAgICAgIHZhbHVlCiAgICAgICAgICB9CiAgICAgICAgfSkKICAgICAgICByZXR1cm4gbmFtZQogICAgICBlbmQsCiAgICAgIGFkZCA9IGZ1bmN0aW9uKHNlbGYsIGl0ZW0sIHBvcykKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgX3dpdGhfMCA9IHNlbGYuX2xpbmVzCiAgICAgICAgICBfd2l0aF8wOmFkZChpdGVtKQogICAgICAgICAgaWYgcG9zIHRoZW4KICAgICAgICAgICAgX3dpdGhfMDptYXJrX3Bvcyhwb3MpCiAgICAgICAgICBlbmQKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gaXRlbQogICAgICBlbmQsCiAgICAgIHJlbmRlciA9IGZ1bmN0aW9uKHNlbGYsIGJ1ZmZlcikKICAgICAgICBidWZmZXI6YWRkKHNlbGYuaGVhZGVyKQogICAgICAgIGJ1ZmZlcjptYXJrX3BvcyhzZWxmLnBvcykKICAgICAgICBpZiBzZWxmLm5leHQgdGhlbgogICAgICAgICAgYnVmZmVyOmFkZChzZWxmLl9saW5lcykKICAgICAgICAgIHNlbGYubmV4dDpyZW5kZXIoYnVmZmVyKQogICAgICAgIGVsc2UKICAgICAgICAgIGlmICNzZWxmLl9saW5lcyA9PSAwIGFuZCAic3RyaW5nIiA9PSB0eXBlKGJ1ZmZlclsjYnVmZmVyXSkgdGhlbgogICAgICAgICAgICBidWZmZXJbI2J1ZmZlcl0gPSBidWZmZXJbI2J1ZmZlcl0gLi4gKCIgIiAuLiAodW5wYWNrKExpbmVzKCk6YWRkKHNlbGYuZm9vdGVyKSkpKQogICAgICAgICAgZWxzZQogICAgICAgICAgICBidWZmZXI6YWRkKHNlbGYuX2xpbmVzKQogICAgICAgICAgICBidWZmZXI6YWRkKHNlbGYuZm9vdGVyKQogICAgICAgICAgICBidWZmZXI6bWFya19wb3Moc2VsZi5wb3MpCiAgICAgICAgICBlbmQKICAgICAgICBlbmQKICAgICAgICByZXR1cm4gYnVmZmVyCiAgICAgIGVuZCwKICAgICAgYmxvY2sgPSBmdW5jdGlvbihzZWxmLCBoZWFkZXIsIGZvb3RlcikKICAgICAgICByZXR1cm4gQmxvY2soc2VsZiwgaGVhZGVyLCBmb290ZXIpCiAgICAgIGVuZCwKICAgICAgbGluZSA9IGZ1bmN0aW9uKHNlbGYsIC4uLikKICAgICAgICBkbwogICAgICAgICAgbG9jYWwgX3dpdGhfMCA9IExpbmUoKQogICAgICAgICAgX3dpdGhfMDphcHBlbmQoLi4uKQogICAgICAgICAgcmV0dXJuIF93aXRoXzAKICAgICAgICBlbmQKICAgICAgZW5kLAogICAgICBpc19zdG0gPSBmdW5jdGlvbihzZWxmLCBub2RlKQogICAgICAgIHJldHVybiBzZWxmLnN0YXRlbWVudF9jb21waWxlcnNbbnR5cGUobm9kZSldIH49IG5pbAogICAgICBlbmQsCiAgICAgIGlzX3ZhbHVlID0gZnVuY3Rpb24oc2VsZiwgbm9kZSkKICAgICAgICBsb2NhbCB0ID0gbnR5cGUobm9kZSkKICAgICAgICByZXR1cm4gc2VsZi52YWx1ZV9jb21waWxlcnNbdF0gfj0gbmlsIG9yIHQgPT0gInZhbHVlIgogICAgICBlbmQsCiAgICAgIG5hbWUgPSBmdW5jdGlvbihzZWxmLCBub2RlLCAuLi4pCiAgICAgICAgaWYgdHlwZShub2RlKSA9PSAic3RyaW5nIiB0aGVuCiAgICAgICAgICByZXR1cm4gbm9kZQogICAgICAgIGVsc2UKICAgICAgICAgIHJldHVybiBzZWxmOnZhbHVlKG5vZGUsIC4uLikKICAgICAgICBlbmQKICAgICAgZW5kLAogICAgICB2YWx1ZSA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUsIC4uLikKICAgICAgICBub2RlID0gc2VsZi50cmFuc2Zvcm0udmFsdWUobm9kZSkKICAgICAgICBsb2NhbCBhY3Rpb24KICAgICAgICBpZiB0eXBlKG5vZGUpIH49ICJ0YWJsZSIgdGhlbgogICAgICAgICAgYWN0aW9uID0gInJhd192YWx1ZSIKICAgICAgICBlbHNlCiAgICAgICAgICBhY3Rpb24gPSBub2RlWzFdCiAgICAgICAgZW5kCiAgICAgICAgbG9jYWwgZm4gPSBzZWxmLnZhbHVlX2NvbXBpbGVyc1thY3Rpb25dCiAgICAgICAgaWYgbm90IChmbikgdGhlbgogICAgICAgICAgZXJyb3IoewogICAgICAgICAgICAiY29tcGlsZS1lcnJvciIsCiAgICAgICAgICAgICJGYWlsZWQgdG8gZmluZCB2YWx1ZSBjb21waWxlciBmb3I6ICIgLi4gZHVtcC52YWx1ZShub2RlKSwKICAgICAgICAgICAgbm9kZVstMV0KICAgICAgICAgIH0pCiAgICAgICAgZW5kCiAgICAgICAgbG9jYWwgb3V0ID0gZm4oc2VsZiwgbm9kZSwgLi4uKQogICAgICAgIGlmIHR5cGUobm9kZSkgPT0gInRhYmxlIiBhbmQgbm9kZVstMV0gdGhlbgogICAgICAgICAgaWYgdHlwZShvdXQpID09ICJzdHJpbmciIHRoZW4KICAgICAgICAgICAgZG8KICAgICAgICAgICAgICBsb2NhbCBfd2l0aF8wID0gTGluZSgpCiAgICAgICAgICAgICAgX3dpdGhfMDphcHBlbmQob3V0KQogICAgICAgICAgICAgIG91dCA9IF93aXRoXzAKICAgICAgICAgICAgZW5kCiAgICAgICAgICBlbmQKICAgICAgICAgIG91dC5wb3MgPSBub2RlWy0xXQogICAgICAgIGVuZAogICAgICAgIHJldHVybiBvdXQKICAgICAgZW5kLAogICAgICB2YWx1ZXMgPSBmdW5jdGlvbihzZWxmLCB2YWx1ZXMsIGRlbGltKQogICAgICAgIGRlbGltID0gZGVsaW0gb3IgJywgJwogICAgICAgIGRvCiAgICAgICAgICBsb2NhbCBfd2l0aF8wID0gTGluZSgpCiAgICAgICAgICBfd2l0aF8wOmFwcGVuZF9saXN0KChmdW5jdGlvbigpCiAgICAgICAgICAgIGxvY2FsIF9hY2N1bV8wID0geyB9CiAgICAgICAgICAgIGxvY2FsIF9sZW5fMCA9IDEKICAgICAgICAgICAgZm9yIF9pbmRleF8wID0gMSwgI3ZhbHVlcyBkbwogICAgICAgICAgICAgIGxvY2FsIHYgPSB2YWx1ZXNbX2luZGV4XzBdCiAgICAgICAgICAgICAgX2FjY3VtXzBbX2xlbl8wXSA9IHNlbGY6dmFsdWUodikKICAgICAgICAgICAgICBfbGVuXzAgPSBfbGVuXzAgKyAxCiAgICAgICAgICAgIGVuZAogICAgICAgICAgICByZXR1cm4gX2FjY3VtXzAKICAgICAgICAgIGVuZCkoKSwgZGVsaW0pCiAgICAgICAgICByZXR1cm4gX3dpdGhfMAogICAgICAgIGVuZAogICAgICBlbmQsCiAgICAgIHN0bSA9IGZ1bmN0aW9uKHNlbGYsIG5vZGUsIC4uLikKICAgICAgICBpZiBub3Qgbm9kZSB0aGVuCiAgICAgICAgICByZXR1cm4gCiAgICAgICAgZW5kCiAgICAgICAgbm9kZSA9IHNlbGYudHJhbnNmb3JtLnN0YXRlbWVudChub2RlKQogICAgICAgIGxvY2FsIHJlc3VsdAogICAgICAgIGRvCiAgICAgICAgICBsb2NhbCBmbiA9IHNlbGYuc3RhdGVtZW50X2NvbXBpbGVyc1tudHlwZShub2RlKV0KICAgICAgICAgIGlmIGZuIHRoZW4KICAgICAgICAgICAgcmVzdWx0ID0gZm4oc2VsZiwgbm9kZSwgLi4uKQogICAgICAgICAgZWxzZQogICAgICAgICAgICBpZiB2YWx1ZV9jYW5fYmVfc3RhdGVtZW50KG5vZGUpIHRoZW4KICAgICAgICAgICAgICByZXN1bHQgPSBzZWxmOnZhbHVlKG5vZGUpCiAgICAgICAgICAgIGVsc2UKICAgICAgICAgICAgICByZXN1bHQgPSBzZWxmOnN0bSh7CiAgICAgICAgICAgICAgICAiYXNzaWduIiwKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgIl8iCiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBub2RlCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgZW5kCiAgICAgICAgICBlbmQKICAgICAgICBlbmQKICAgICAgICBpZiByZXN1bHQgdGhlbgogICAgICAgICAgaWYgdHlwZShub2RlKSA9PSAidGFibGUiIGFuZCB0eXBlKHJlc3VsdCkgPT0gInRhYmxlIiBhbmQgbm9kZVstMV0gdGhlbgogICAgICAgICAgICByZXN1bHQucG9zID0gbm9kZVstMV0KICAgICAgICAgIGVuZAogICAgICAgICAgc2VsZjphZGQocmVzdWx0KQogICAgICAgIGVuZAogICAgICAgIHJldHVybiBuaWwKICAgICAgZW5kLAogICAgICBzdG1zID0gZnVuY3Rpb24oc2VsZiwgc3RtcywgcmV0KQogICAgICAgIGlmIHJldCB0aGVuCiAgICAgICAgICBlcnJvcigiZGVwcmVjYXRlZCBzdG1zIGNhbGwsIHVzZSB0cmFuc2Zvcm1lciIpCiAgICAgICAgZW5kCiAgICAgICAgbG9jYWwgY3VycmVudF9zdG1zLCBjdXJyZW50X3N0bV9pCiAgICAgICAgY3VycmVudF9zdG1zLCBjdXJyZW50X3N0bV9pID0gc2VsZi5jdXJyZW50X3N0bXMsIHNlbGYuY3VycmVudF9zdG1faQogICAgICAgIHNlbGYuY3VycmVudF9zdG1zID0gc3RtcwogICAgICAgIGZvciBpID0gMSwgI3N0bXMgZG8KICAgICAgICAgIHNlbGYuY3VycmVudF9zdG1faSA9IGkKICAgICAgICAgIHNlbGY6c3RtKHN0bXNbaV0pCiAgICAgICAgZW5kCiAgICAgICAgc2VsZi5jdXJyZW50X3N0bXMgPSBjdXJyZW50X3N0bXMKICAgICAgICBzZWxmLmN1cnJlbnRfc3RtX2kgPSBjdXJyZW50X3N0bV9pCiAgICAgICAgcmV0dXJuIG5pbAogICAgICBlbmQsCiAgICAgIHNwbGljZSA9IGZ1bmN0aW9uKHNlbGYsIGZuKQogICAgICAgIGxvY2FsIGxpbmVzID0gewogICAgICAgICAgImxpbmVzIiwKICAgICAgICAgIHNlbGYuX2xpbmVzCiAgICAgICAgfQogICAgICAgIHNlbGYuX2xpbmVzID0gTGluZXMoKQogICAgICAgIHJldHVybiBzZWxmOnN0bXMoZm4obGluZXMpKQogICAgICBlbmQKICAgIH0KICAgIF9iYXNlXzAuX19pbmRleCA9IF9iYXNlXzAKICAgIF9jbGFzc18wID0gc2V0bWV0YXRhYmxlKHsKICAgICAgX19pbml0ID0gZnVuY3Rpb24oc2VsZiwgcGFyZW50LCBoZWFkZXIsIGZvb3RlcikKICAgICAgICBzZWxmLnBhcmVudCwgc2VsZi5oZWFkZXIsIHNlbGYuZm9vdGVyID0gcGFyZW50LCBoZWFkZXIsIGZvb3RlcgogICAgICAgIHNlbGYuX2xpbmVzID0gTGluZXMoKQogICAgICAgIHNlbGYuX25hbWVzID0geyB9CiAgICAgICAgc2VsZi5fc3RhdGUgPSB7IH0KICAgICAgICBzZWxmLl9saXN0ZW5lcnMgPSB7IH0KICAgICAgICBkbwogICAgICAgICAgc2VsZi50cmFuc2Zvcm0gPSB7CiAgICAgICAgICAgIHZhbHVlID0gdHJhbnNmb3JtLlZhbHVlOmJpbmQoc2VsZiksCiAgICAgICAgICAgIHN0YXRlbWVudCA9IHRyYW5zZm9ybS5TdGF0ZW1lbnQ6YmluZChzZWxmKQogICAgICAgICAgfQogICAgICAgIGVuZAogICAgICAgIGlmIHNlbGYucGFyZW50IHRoZW4KICAgICAgICAgIHNlbGYucm9vdCA9IHNlbGYucGFyZW50LnJvb3QKICAgICAgICAgIHNlbGYuaW5kZW50ID0gc2VsZi5wYXJlbnQuaW5kZW50ICsgMQogICAgICAgICAgc2V0bWV0YXRhYmxlKHNlbGYuX3N0YXRlLCB7CiAgICAgICAgICAgIF9faW5kZXggPSBzZWxmLnBhcmVudC5fc3RhdGUKICAgICAgICAgIH0pCiAgICAgICAgICByZXR1cm4gc2V0bWV0YXRhYmxlKHNlbGYuX2xpc3RlbmVycywgewogICAgICAgICAgICBfX2luZGV4ID0gc2VsZi5wYXJlbnQuX2xpc3RlbmVycwogICAgICAgICAgfSkKICAgICAgICBlbHNlCiAgICAgICAgICBzZWxmLmluZGVudCA9IDAKICAgICAgICBlbmQKICAgICAgZW5kLAogICAgICBfX2Jhc2UgPSBfYmFzZV8wLAogICAgICBfX25hbWUgPSAiQmxvY2siCiAgICB9LCB7CiAgICAgIF9faW5kZXggPSBfYmFzZV8wLAogICAgICBfX2NhbGwgPSBmdW5jdGlvbihjbHMsIC4uLikKICAgICAgICBsb2NhbCBfc2VsZl8wID0gc2V0bWV0YXRhYmxlKHt9LCBfYmFzZV8wKQogICAgICAgIGNscy5fX2luaXQoX3NlbGZfMCwgLi4uKQogICAgICAgIHJldHVybiBfc2VsZl8wCiAgICAgIGVuZAogICAgfSkKICAgIF9iYXNlXzAuX19jbGFzcyA9IF9jbGFzc18wC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X3BhcmVudC5fX2luaXQoc2VsZikKICAgICAgZW5kLAogICAgICBfX2Jhc2UgPSBfYmFzZV8wLAogICAgICBfX25hbWUgPSAiUm9vdEJsb2NrIiwKICAgICAgX19wYXJlbnQgPSBfcGFyZW50XzAKICAgIH0sIHsKICAgICAgX19pbmRleCA9IGZ1bmN0aW9uKGNscywgbmFtZSkKICAgICAgICBsb2NhbCB2YWwgPSByYXdnZXQoX2Jhc2VfMCwgbmFtZSkKICAgICAgICBpZiB2YWwgPT0gbmlsIHRoZW4KICAgICAgICAgIGxvY2FsIHBhcmVudCA9IHJhd2dldChjbHMsICJfX3BhcmVudCIpCiAgICAgICAgICBpZiBwYXJlbnQgdGhlbgogICAgICAgICAgICByZXR1cm4gcGFyZW50W25hbWVdCiAgICAgICAgICBlbmQKICAgICAgICBlbHNlCiAgICAgICAgICByZXR1cm4gdmFsCiAgICAgICAgZW5kCiAgICAgIGVuZCwKICAgICAgX19jYWxsID0gZnVuY3Rpb24oY2xzLCAuLi4pCiAgICAgICAgbG9jYWwgX3NlbGZfMCA9IHNldG1ldGF0YWJsZSh7fSwgX2Jhc2VfMCkKICAgICAgICBjbHMuX19pbml0KF9zZWxmXzAsIC4uLikKICAgICAgICByZXR1cm4gX3NlbGZfMAogICAgICBlbmQKICAgIH0pCiAgICBfYmFzZV8wLl9fY2xhc3MgPSBfY2xhc3NfMAogICAgaWYgX3BhcmVudF8wLl9faW5oZXJpdGVkIHRoZW4KICAgICAgX3BhcmVudF8wLl9faW5oZXJpdGVkKF9wYXJlbnRfMCwgX2NsYXNzXzApCiAgICBlbmQKICAgIFJvb3RCbG9jayA9IF9jbGFzc18wCiAgZW5kCiAgbG9jYWwgZm9ybWF0X2Vycm9yCiAgZm9ybWF0X2Vycm9yID0gZnVuY3Rpb24obXNnLCBwb3MsIGZpbGVfc3RyKQogICAgbG9jYWwgbGluZV9tZXNzYWdlCiAgICBpZiBwb3MgdGhlbgogICAgICBsb2NhbCBsaW5lID0gcG9zX3RvX2x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NzKSB0aGVuCiAgICAgIGxvY2FsIGVycm9yX21zZywgZXJyb3JfcG9zCiAgICAgIGlmIHR5cGUoZXJyKSA9PSAidGFibGUiIHRoZW4KICAgICAgICBsb2NhbCBfZXhwXzAgPSBlcnJbMV0KICAgICAgICBpZiAidXNlci1lcnJvciIgPT0gX2V4cF8wIG9yICJjb21waWxlLWVycm9yIiA9PSBfZXhwXzAgdGhlbgogICAgICAgICAgZXJyb3JfbXNnLCBlcnJvcl9wb3MgPSB1bnBhY2soZXJyLCAyKQogICAgICAgIGVsc2UKICAgICAgICAgIGVycm9yX21zZywgZXJyb3JfcG9zID0gZXJyb3IoIlVua25vd24gZXJyb3IgdGhyb3duIiwgdXRpbC5kdW1wKGVycm9yX21zZykpCiAgICAgICAgZW5kCiAgICAgIGVsc2UKICAgICAgICBlcnJvcl9tc2csIGVycm9yX3BvcyA9IGNvbmNhdCh7CiAgICAgICAgICBlcnIsCiAgICAgICAgICBkZWJ1Zy50cmFjZWJhY2socnVubmVyKQogICAgICAgIH0sICJcbiIpCiAgICAgIGVuZAogICAgICByZXR1cm4gbmlsLCBlcnJvcl9tc2csIGVycm9yX3BvcyBvciBzY29wZS5sYXN0X3BvcwogICAgZW5kCiAgICBsb2NhbCBsdWFfY29kZSA9IHNjb3BlOnJlbmRlcigpCiAgICBsb2NhbCBwb3NtYXAgPSBzY29wZS5fbGluZXM6ZmxhdHRlbl9wb3NtYXAoKQogICAgcmV0dXJuIGx1YV9jb2RlLCBwb3NtYXAKICBlbmQKICBkbwogICAgbG9jYWwgZGF0YSA9IHJlcXVpcmUoIm1vb25zY3JpcHQuZGF0YSIpCiAgICBmb3IgbmFtZSwgY2xzIGluIHBhaXJzKHsKICAgICAgTGluZSA9IExpbmUsCiAgICAgIExpbmVzID0gTGluZXMsCiAgICAgIERlbGF5ZWRMaW5lID0gRGVsYXllZExpbmUKICAgIH0pIGRvCiAgICAgIGRhdGFbbmFtZV0gPSBjbHMKICAgIGVuZAogIGVuZAogIHJldHV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KQogICAgbG9jYWwgb2xkX2VudiA9IGdldGZlbnYoZm4pCiAgICBsb2NhbCBlbnYgPSBzZXRtZXRhdGFibGUoeyB9LCB7CiAgICAgIF9faW5kZXggPSBmdW5jdGlvbihzZWxmLCBuYW1lKQogICAgICAgIGxvY2FsIHZhbCA9IHNjb3BlW25hbWVdCiAgICAgICAgaWYgdmFsIH49IG5pbCB0aGVuCiAgICAgICAgICByZXR1cm4gdmFsCiAgICAgICAgZWxzZQogICAgICAgICAgcmV0dXJuIG9sZF9lbnZbbmFtZV0KICAgICAgICBlbmQKICAgICAgZW5kCiAgICB9KQogICAgc2V0ZmVudihmbiwgZW52KQogICAgcmV0dXJuIGZuKC4uLikKICBlbmQKICBiaW5kX21ldGhvZHMgPSBmdW5jdGlvbihvYmopCiAgICByZXR1cm4gc2V0bWV0YXRhYmxlKHsgfSwgewogICAgICBfX2luZGV4ID0gZnVuY3Rpb24oc2VsZiwgbmFtZSkKICAgICAgICBsb2NhbCB2YWwgPSBvYmpbbmFtZV0KICAgICAgICBpZiB2YWwgYW5kIGx1YS50eXBlKHZhbCkgPT0gImZ1bmN0aW9uIiB0aGVuCiAgICAgICAgICBsb2NhbCBib3VuZAogICAgICAgICAgYm91bmQgPSBmdW5jdGlvbiguLi4pCiAgICAgICAgICAgIHJldHVybiB2YWwob2JqLCAuLi4pCiAgICAgICAgICBlbmQKICAgICAgICAgIHNlbGZbbmFtZV0gPSBib3VuZAogICAgICAgICAgcmV0dXJuIGJvdW5kCiAgICAgICAgZWxzZQogICAgICAgICAgcmV0dXJuIHZhbAogICAgICAgIGVuZAogICAgICBlbmQKICAgIH0pCiAgZW5kCiAgZGVmYXVsdGJsID0gZnVuY3Rpb24odCwgZm4pCiAgICBpZiBub3QgZm4gdGhlbgogICAgICBmbiA9IHQKICAgICAgdCA9IHsgfQogICAgZW5kCiAgICByZXR1cm4gc2V0bWV0YXRhYmxlKHQsIHsKICAgICAgX19pbmRleCA9IGZ1bmN0aW9uKHNlbGYsIG5hbWUpCiAgICAgICAgbG9jYWwgdmFsID0gZm4oc2VsZiwgbmFtZSkKICAgICAgICByYXdzZXQoc2VsZiwgbmFtZSwgdmFsKQogICAgICAgIHJldHVybiB2YWwKICAgICAgZW5kCiAgICB9KQogIGVuZAogIGV4dGVuZCA9IGZ1bmN0aW9uKC4uLikKICAgIGxvY2FsIHRibHMgPSB7CiAgICAgIC4uLgogICAgfQogICAgaWYgI3RibHMgPCAyIHRoZW4KICAgICAgcmV0dXJuIAogICAgZW5kCiAgICBmb3IgaSA9IDEsICN0YmxzIC0gMSBkbwogICAgICBsb2NhbCBhID0gdGJsc1tpXQogICAgICBsb2NhbCBiID0gdGJsc1tpICsgMV0KICAgICAgc2V0bWV0YXRhYmxlKGEsIHsKICAgICAgICBfX2luZGV4ID0gYgogICAgICB9KQogICAgZW5kCiAgICByZXR1cm4gdGJsc1sxXQogIGVuZAogIGNvcHkgPSBmdW5jdGlvbihzZWxmKQogICAgbG9jYWwgX3RibF8wID0geyB9CiAgICBmb3Iga2V5LCB2YWwgaW4gcGFpcnMoc2VsZikgZG8KICAgICAgX3RibF8wW2tleV0gPSB2YWwKICAgIGVuZAogICAgcmV0dXJuIF90YmxfMAogIGVuZAogIG1peGluID0gZnVuY3Rpb24oc2VsZiwgY2xzLCAuLi4pCiAgICBmb3Iga2V5LCB2YWwgaW4gcGFpcnMoY2xzLl9fYmFzZSkgZG8KICAgICAgaWYgbm90IGtleTptYXRjaCgiXl9fIikgdGhlbgogICAgICAgIHNlbGZba2V5XSA9IHZhbAogICAgICBlbmQKICAgIGVuZAogICAgcmV0dXJuIGNscy5fX2luaXQoc2VsZiwgLi4uKQogIGVuZAogIG1peGluX29iamVjdCA9IGZ1bmN0aW9uKHNlbGYsIG9iamVjdCwgbWV0aG9kcykKICAgIGZvciBfaW5kZXhfMCA9IDEsICNtZXRob2RzIGRvCiAgICAgIGxvY2FsIG5hbWUgPSBtZXRob2RzW19pbmRleF8wXQogICAgICBzZWxmW25hbWVdID0gZnVuY3Rpb24ocGFyZW50LCAuLi4pCiAgICAgICAgcmV0dXJuIG9iamVjdFtuYW1lXShvYmplY3QsIC4uLikKICAgICAgZW5kCiAgICBlbmQKICBlbmQKICBtaXhpbl90YWJsZSA9IGZ1bmN0aW9uKHNlbGYsIHRibCwga2V5cykKICAgIGlmIGtleXMgdGhlbgogICAgICBmb3IgX2luZGV4XzAgPSAxLCAja2V5cyBkbwogICAgICAgIGxvY2FsIGtleSA9IGtleXNbX2luZGV4XzBdCiAgICAgICAgc2VsZltrZXldID0gdGJsW2tleV0KICAgICAgZW5kCiAgICBlbHNlCiAgICAgIGZvciBrZXksIHZhbCBpbiBwYWlycyh0YmwpIGRvCiAgICAgICAgc2VsZltrZXldID0gdmFsCiAgICAgIGVuZAogICAgZW5kCiAgZW5kCiAgZm9sZCA9IGZ1bmN0aW9uKGl0ZW1zLCBmbikKICAgIGxvY2FsIGxlbiA9ICNpdGVtcwogICAgaWYgbGVuID4gMSB0aGVuCiAgICAgIGxvY2FsIGFjY3VtID0gZm4oaXRlbXNbMV0sIGl0ZW1zWzJdKQogICAgICBmb3IgaSA9IDMsIGxlbiBkbwogICAgICAgIGFjY3VtID0gZm4oYWNjdW0sIGl0ZW1zW2ldKQogICAgICBlbmQKICAgICAgcmV0dXJuIGFjY3VtCiAgICBlbHNlCiAgICAgIHJldHVybiBpdGVtc1sxXQogICAgZW5kCiAgZW5kCiAgcmV0dXJuIHsKICAgIGR1bXAgPSBkdW1wLAogICAgcCA9IHAsCiAgICBpc19vYmplY3QgPSBpc19vYmplY3QsCiAgICB0eXBlID0gdHlwZSwKICAgIGRlYnVnID0gZGVidWcsCiAgICBydW5fd2l0aF9zY29wZSA9IHJ1bl93aXRoX3Njb3BlLAogICAgYmluZF9tZXRob2RzID0gYmluZF9tZXRob2RzLAogICAgZGVmYXVsdGJsID0gZGVmYXVsdGJsLAogICAgZXh0ZW5kID0gZXh0ZW5kLAogICAgY29weSA9IGNvcHksCiAgICBtaXhpbiA9IG1peG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QuYwBpbnZhbGlkIGRlc2NyaXB0b3IAbm90IGNhbGxhYmxlAG5vdCBleHRlbnNpYmxlAG5vdCBjb25maWd1cmFibGUAJXMgbm90IGNvbnN0cnVjdGFibGUAIChsaW5lICVsZCkAZHVrX2pzX2NvbXBpbGVyLmMAaW52YWxpZCBnZXR0ZXIvc2V0dGVyIG5hbWUAZnVuY3Rpb24gbmFtZSByZXF1aXJlZABleHBlY3RlZCBpZGVudGlmaWVyAAEgAAAAAAAAAAAAAAAAAAwMAAAAIAAAAAAAAAAAAAAAAAAAICAgAAAAAAAAAAAAAAAAIBMiEiITAAMMDAwMCwsLCw4ODw8PEBERDQ0NCggJAAAHBgUABAQEBAQEBAQEBAQEBCAgIHBhcnNlIGVycm9yAGR1a191dGlsX2J1ZndyaXRlci5jAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAP////////////8AAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAZHVrX2xleGVyLmMAaW52YWxpZCBlc2NhcGUAdW50ZXJtaW5hdGVkIHN0cmluZwD///////////////////////////////////////////////////////////////8AAQIDBAUGBwgJ/////////woLDA0OD///////////////////////////////////CgsMDQ4P////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////dG9rZW4gbGltaXQAaW52YWxpZCB0b2tlbgBpbnZhbGlkIG51bWJlciBsaXRlcmFsAHVudGVybWluYXRlZCByZWdleHAAdW50ZXJtaW5hdGVkIGNvbW1lbnQAY29tcGlsZXIgcmVjdXJzaW9uIGxpbWl0AHRlbXAgbGltaXQAcmVnaXN0ZXIgbGltaXQAaW52YWxpZCBhcmd1bWVudCBuYW1lAGJ5dGVjb2RlIGxpbWl0AGludmFsaWQgZnVuY3Rpb24gbmFtZQBjb25zdCBsaW1pdABpbnZhbGlkIGJhc2U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AwQFBgcICQoLDA0ODxAREhMUFRYXGBn///////8aGxwdHh8gISIjJCUmJygpKissLS4vMDEyM/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8gICAgICAgICAgeyJfYnVmIjoiACglcCkAeyJfcHRyIjoiJXAifQB7Il9wdHIiOiJudWxsIn0AZHVrX2JpX2pzb24uYwBjeWNsaWMgaW5wdXQAanNvbiBlbmNvZGUgcmVjdXJzaW9uIGxpbWl0AICAgICAgICA4vTugObygICAgICAgICAgICAgICAgICAICGiIyQlJicoKSorLC0uLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpb3F1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX6BgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYFudW1iZXIgb3V0c2lkZSByYW5nZQBpbnZhbGlkIGpzb24gKGF0IG9mZnNldCAlbGQpAAAAAAAAAAAAAAEBAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AgICAgcmdiID0gbWF0MyggMSwgICAgICAgIDEsICAgICAgIDEsICAgICAgICAgICAgICAgICAgICAgMCwgICAgICAgLTAuMzk0NjUsIDIuMDMyMTEsICAgICAgICAgICAgICAgICAgICAgMS4xMzk4MywgLTAuNTgwNjAsIDApICogeXV2OyAgICAgICAgIGdsX0ZyYWdDb2xvciA9IHZlYzQocmdiLCAxKTsgICAgICAgICBnbF9GcmFnQ29sb3IgKj0gdV9tb2R1bGF0aW9uOyAgICAgfSAAICAgICBwcmVjaXNpb24gbWVkaXVtcCBmbG9hdDsgICAgIHVuaWZvcm0gc2FtcGxlcjJEIHVfdGV4dHVyZTsgICAgIHVuaWZvcm0gc2FtcGxlcjJEIHVfdGV4dHVyZV91OyAgICAgdW5pZm9ybSB2ZWM0IHVfbW9kdWxhdGlvbjsgICAgIHZhcnlpbmcgdmVjMiB2X3RleENvb3JkOyAgICAgICAgIHZvaWQgbWFpbigpICAgICB7ICAgICAgICAgbWVkaXVtcCB2ZWMzIHl1djsgICAgICAgICBsb3dwIHZlYzMgcmdiOyAgICAgICAgIHl1di54ID0gdGV4dHVyZTJEKHVfdGV4dHVyZSwgICB2X3RleENvb3JkKS5yOyAgICAgICAgIHl1di55eiA9IHRleHR1cmUyRCh1X3RleHR1cmVfdSwgdl90ZXhDb29yZCkuYXIgLSAwLjU7ICAgICAgICAgcmdiID0gbWF0MyggMSwgICAgICAgIDEsICAgICAgIDEsICAgICAgICAgICAgICAgICAgICAgMCwgICAgICAgLTAuMzk0NjUsIDIuMDMyMTEsICAgICAgICAgICAgICAgICAgICAgMS4xMzk4MywgLTAuNTgwNjAsIDApICogeXV2OyAgICAgICAgIGdsX0ZyYWdDb2xvciA9IHZlYzQocmdiLCAxKTsgICAgICAgICBnbF9GcmFnQ29sb3IgKj0gdV9tb2R1bGF0aW9uOyAgICAgfSAAaW50IEdMRVMyX1JlbmRlckNvcHkoU0RMX1JlbmRlcmVyICosIFNETF9UZXh0dXJlICosIGNvbnN0IFNETF9S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2xUZXhQYXJhbWV0ZXJmAGdsVmVydGV4QXR0cmliMmYAZ2xTdGVuY2lsRnVuYwBnbFN0ZW5jaWxPcABnbFZpZXdwb3J0AGdsQ2xlYXJDb2xvcgBnbFNjaXNzb3IAZ2xWZXJ0ZXhBdHRyaWIzZgBnbENvbG9yTWFzawBnbFJlbmRlcmJ1ZmZlclN0b3JhZ2UAZ2xCbGVuZEZ1bmNTZXBhcmF0ZQBnbEJsZW5kQ29sb3IAZ2xTdGVuY2lsRnVuY1NlcGFyYXRlAGdsU3RlbmNpbE9wU2VwYXJhdGUAZ2xWZXJ0ZXhBdHRyaWI0ZgBnbENvcHlUZXhJbWFnZTJEAGdsQ29weVRleFN1YkltYWdlMkQAZ2xEcmF3QnVmZmVycwBNb2R1bGUucHJpbnRFcnIoJ2JhZCBuYW1lIGluIGdldFByb2NBZGRyZXNzOiAnICsgW1BvaW50ZXJfc3RyaW5naWZ5KCQwKSwgUG9pbnRlcl9zdHJpbmdpZnkoJDEpXSkA/////////////////////////////////////////////////////////////////wABAgMEBQYHCAn/////////CgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiP///////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AAQIEBwMGBQARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAARMJCwsAAAkGCwAACwAGEQAAABEREQAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAARAAoKERERAAoAAAIACQsAAAAJAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA0AAAAEDQAAAAAJDgAAAAAADgAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAPAAAAAA8AAAAACRA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cgdHlwZSBmb3Igc29ja2V0AFByb3RvY29sIG5vdCBhdmFpbGFibGUAUHJvdG9jb2wgbm90IHN1cHBvcnRlZABTb2NrZXQgdHlwZSBub3Qgc3VwcG9ydGVkAE5vdCBzdXBwb3J0ZWQAUHJvdG9jb2wgZmFtaWx5IG5vdCBzdXBwb3J0ZWQAQWRkcmVzcyBmYW1pbHkgbm90IHN1cHBvcnRlZCBieSBwcm90b2NvbABBZGRyZXNzIG5vdCBhdmFpbGFibGUATmV0d29yayBpcyBkb3duAE5ldHdvcmsgdW5yZWFjaGFibGUAQ29ubmVjdGlvbiByZXNldCBieSBuZXR3b3JrAENvbm5lY3Rpb24gYWJvcnRlZABObyBidWZmZXIgc3BhY2UgYXZhaWxhYmxlAFNvY2tldCBpcyBjb25uZWN0ZWQAU29ja2V0IG5vdCBjb25uZWN0ZWQAQ2Fubm90IHNlbmQgYWZ0ZXIgc29ja2V0IHNodXRkb3duAE9wZXJhdGlvbiBhbHJlYWR5IGluIHByb2dyZXNzAE9wZXJhdGlvbiBpbiBwcm9ncmVzcwBTdGFsZSBmaWxlIGhhbmRsZQBSZW1vdGUgSS9PIGVycm9yAFF1b3RhIGV4Y2VlZGVkAE5vIG1lZGl1bSBmb3VuZABXcm9uZyBtZWRpdW0gdHlwZQBObyBlcnJvciBpbmZvcm1hdGlvbgAAL3Byb2Mvc2VsZi9mZC8AaW5maW5pdHkAbmFuAHJ3YQ==";var tempDoublePtr=STATICTOP;STATICTOP+=16;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()}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);function ___lock(){}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.length: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&=~2097152;flags&=~2048;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)}),mkdirTree:(function(path,mode){var dirs=path.split("/");var d="";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);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len}),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 ___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 ___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;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 ___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 ___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 ___syscall15(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),mode=SYSCALLS.get();FS.chmod(path,mode);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}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 ___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 ___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<=count){var id;var type;var name=stream.getdents.pop();if(name[0]==="."){id=1;type=4}else{var child=FS.lookupNode(stream.node,name);id=child.id;type=FS.isChrdev(child.mode)?2:FS.isDir(child.mode)?4:FS.isLink(child.mode)?10:8}HEAP32[dirp+pos>>2]=id;HEAP32[dirp+pos+4>>2]=stream.position;HEAP16[dirp+pos+8>>1]=268;HEAP8[dirp+pos+10>>0]=type;stringToUTF8(name,dirp+pos+11,256);pos+=268}return pos}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}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 ___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 ___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 ___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 ___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 ___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)};case 21523:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};default:abort("bad ioctl syscall "+op)}}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 ___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 ___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 ___unlock(){}function _abort(){Module["abort"]()}function _emscripten_get_now(){abort()}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 _difftime(time1,time0){return time1-time0}var DLFCN={error:null,errorMsg:null,loadedLibs:{},loadedLibNames:{}};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 _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}}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_set_main_loop_timing(mode,value){Browser.mainLoop.timingMode=mode;Browser.mainLoop.timingValue=value;if(!Browser.mainLoop.func){return 1}if(mode==0){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setTimeout(){var timeUntilNextTick=Math.max(0,Browser.mainLoop.tickStartTime+value-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,timeUntilNextTick)};Browser.mainLoop.method="timeout"}else if(mode==1){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_rAF(){Browser.requestAnimationFrame(Browser.mainLoop.runner)};Browser.mainLoop.method="rAF"}else if(mode==2){if(typeof setImmediate==="undefined"){var setImmediates=[];var emscriptenMainLoopMessageId="setimmediate";function Browser_setImmediate_messageHandler(event){if(event.data===emscriptenMainLoopMessageId||event.data.target===emscriptenMainLoopMessageId){event.stopPropagation();setImmediates.shift()()}}addEventListener("message",Browser_setImmediate_messageHandler,true);setImmediate=function Browser_emulated_setImmediate(func){setImmediates.push(func);if(ENVIRONMENT_IS_WORKER){if(Module["setImmediates"]===undefined)Module["setImmediates"]=[];Module["setImmediates"].push(func);postMessage({target:emscriptenMainLoopMessageId})}else postMessage(emscriptenMainLoopMessageId,"*")}}Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setImmediate(){setImmediate(Browser.mainLoop.runner)};Browser.mainLoop.method="immediate"}return 0}function _emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg,noSetTiming){Module["noExitRuntime"]=true;assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=func;Browser.mainLoop.arg=arg;var browserIterationFunc;if(typeof arg!=="undefined"){browserIterationFunc=(function(){Module["dynCall_vi"](func,arg)})}else{browserIterationFunc=(function(){Module["dynCall_v"](func)})}var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){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}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}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(browserIterationFunc);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);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["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&&Module["canvas"].requestPointerLock){Module["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}}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["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||(function(){});canvas.exitFullscreen=canvas.exitFullscreen.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);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)||(canvasContainer["webkitRequestFullScreen"]?(function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}):null);if(vrDevice){canvasContainer.requestFullscreen({vrDisplay:vrDevice})}else{canvasContainer.requestFullscreen()}}),requestFullScreen:(function(lockPointer,resizeCanvas,vrDevice){Module.printErr("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead.");Browser.requestFullScreen=(function(lockPointer,resizeCanvas,vrDevice){return Browser.requestFullscreen(lockPointer,resizeCanvas,vrDevice)});return Browser.requestFullscreen(lockPointer,resizeCanvas,vrDevice)}),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){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";Module["readAsync"](url,(function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)}),(function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}}));if(dep)addRunDependency(dep)}),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 _eglBindAPI(api){if(api==12448){EGL.setErrorCode(12288);return 1}else{EGL.setErrorCode(12300);return 0}}function _eglChooseConfig(display,attrib_list,configs,config_size,numConfigs){return EGL.chooseConfig(display,attrib_list,configs,config_size,numConfigs)}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);Module["dynCall_vii"](GLUT.passiveMotionFunc,lastX,lastY)}else if(GLUT.buttons!=0&&GLUT.motionFunc){event.preventDefault();GLUT.saveModifiers(event);Module["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);Module["dynCall_viii"](GLUT.specialFunc,key,Browser.mouseX,Browser.mouseY)}}else{key=GLUT.getASCIIKey(event);if(key!==null&&GLUT.keyboardFunc){event.preventDefault();GLUT.saveModifiers(event);Module["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);Module["dynCall_viii"](GLUT.specialUpFunc,key,Browser.mouseX,Browser.mouseY)}}else{key=GLUT.getASCIIKey(event);if(key!==null&&GLUT.keyboardUpFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_viii"](GLUT.keyboardUpFunc,key,Browser.mouseX,Browser.mouseY)}}}}),touchHandler:(function(event){if(event.target!=Module["canvas"]){return}var touches=event.changedTouches,main=touches[0],type="";switch(event.type){case"touchstart":type="mousedown";break;case"touchmove":type="mousemove";break;case"touchend":type="mouseup";break;default:return}var simulatedEvent=document.createEvent("MouseEvent");simulatedEvent.initMouseEvent(type,true,true,window,1,main.screenX,main.screenY,main.clientX,main.clientY,false,false,false,false,0,null);main.target.dispatchEvent(simulatedEvent);event.preventDefault()}),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);Module["dynCall_viiii"](GLUT.mouseFunc,button,0,Browser.mouseX,Browser.mouseY)}}),onFullscreenEventChange:(function(event){var width;var height;if(document["fullscreen"]||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){Module["dynCall_vii"](GLUT.reshapeFunc,width,height)}_glutPostRedisplay()}),requestFullscreen:(function(){Browser.requestFullscreen(false,false)}),requestFullScreen:(function(){Module.printErr("GLUT.requestFullScreen() is deprecated. Please call GLUT.requestFullscreen instead.");GLUT.requestFullScreen=(function(){return GLUT.requestFullscreen()});return GLUT.requestFullscreen()}),exitFullscreen:(function(){var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["webkitCancelFullScreen"]||(function(){});CFS.apply(document,[])}),cancelFullScreen:(function(){Module.printErr("GLUT.cancelFullScreen() is deprecated. Please call GLUT.exitFullscreen instead.");GLUT.cancelFullScreen=(function(){return GLUT.exitFullscreen()});return GLUT.exitFullscreen()})};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,alpha:(GLUT.initDisplayMode&8)!=0};Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes);return Module.ctx?1:0}var GL={counter:1,lastError:0,buffers:[],mappedBuffers:{},programs:[],framebuffers:[],renderbuffers:[],textures:[],uniforms:[],shaders:[],vaos:[],contexts:[],currentContext:null,offscreenCanvases:{},timerQueriesEXT:[],byteSizeByTypeRoot:5120,byteSizeByType:[1,1,2,2,4,4,4,2,3,4,8],programInfos:{},stringCache:{},tempFixedLengthArray:[],packAlignment:4,unpackAlignment:4,init:(function(){GL.miniTempBuffer=new Float32Array(GL.MINI_TEMP_BUFFER_SIZE);for(var i=0;i>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}),createContext:(function(canvas,webGLContextAttributes){if(typeof webGLContextAttributes["majorVersion"]==="undefined"&&typeof webGLContextAttributes["minorVersion"]==="undefined"){webGLContextAttributes["majorVersion"]=1;webGLContextAttributes["minorVersion"]=0}var ctx;var errorInfo="?";function onContextCreationError(event){errorInfo=event.statusMessage||errorInfo}try{canvas.addEventListener("webglcontextcreationerror",onContextCreationError,false);try{if(webGLContextAttributes["majorVersion"]==1&&webGLContextAttributes["minorVersion"]==0){ctx=canvas.getContext("webgl",webGLContextAttributes)||canvas.getContext("experimental-webgl",webGLContextAttributes)}else if(webGLContextAttributes["majorVersion"]==2&&webGLContextAttributes["minorVersion"]==0){ctx=canvas.getContext("webgl2",webGLContextAttributes)}else{throw"Unsupported WebGL context version "+majorVersion+"."+minorVersion+"!"}}finally{canvas.removeEventListener("webglcontextcreationerror",onContextCreationError,false)}if(!ctx)throw":("}catch(e){Module.print("Could not create canvas: "+[errorInfo,e,JSON.stringify(webGLContextAttributes)]);return 0}if(!ctx)return 0;var context=GL.registerContext(ctx,webGLContextAttributes);return context}),registerContext:(function(ctx,webGLContextAttributes){var handle=GL.getNewId(GL.contexts);var context={handle:handle,attributes:webGLContextAttributes,version:webGLContextAttributes["majorVersion"],GLctx:ctx};if(ctx.canvas)ctx.canvas.GLctxObject=context;GL.contexts[handle]=context;if(typeof webGLContextAttributes["enableExtensionsByDefault"]==="undefined"||webGLContextAttributes["enableExtensionsByDefault"]){GL.initExtensions(context)}return handle}),makeContextCurrent:(function(contextHandle){var context=GL.contexts[contextHandle];if(!context)return false;GLctx=Module.ctx=context.GLctx;GL.currentContext=context;return true}),getContext:(function(contextHandle){return GL.contexts[contextHandle]}),deleteContext:(function(contextHandle){if(GL.currentContext===GL.contexts[contextHandle])GL.currentContext=null;if(typeof JSEvents==="object")JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);if(GL.contexts[contextHandle]&&GL.contexts[contextHandle].GLctx.canvas)GL.contexts[contextHandle].GLctx.canvas.GLctxObject=undefined;GL.contexts[contextHandle]=null}),initExtensions:(function(context){if(!context)context=GL.currentContext;if(context.initExtensionsDone)return;context.initExtensionsDone=true;var GLctx=context.GLctx;context.maxVertexAttribs=GLctx.getParameter(GLctx.MAX_VERTEX_ATTRIBS);if(context.version<2){var instancedArraysExt=GLctx.getExtension("ANGLE_instanced_arrays");if(instancedArraysExt){GLctx["vertexAttribDivisor"]=(function(index,divisor){instancedArraysExt["vertexAttribDivisorANGLE"](index,divisor)});GLctx["drawArraysInstanced"]=(function(mode,first,count,primcount){instancedArraysExt["drawArraysInstancedANGLE"](mode,first,count,primcount)});GLctx["drawElementsInstanced"]=(function(mode,count,type,indices,primcount){instancedArraysExt["drawElementsInstancedANGLE"](mode,count,type,indices,primcount)})}var vaoExt=GLctx.getExtension("OES_vertex_array_object");if(vaoExt){GLctx["createVertexArray"]=(function(){return vaoExt["createVertexArrayOES"]()});GLctx["deleteVertexArray"]=(function(vao){vaoExt["deleteVertexArrayOES"](vao)});GLctx["bindVertexArray"]=(function(vao){vaoExt["bindVertexArrayOES"](vao)});GLctx["isVertexArray"]=(function(vao){return vaoExt["isVertexArrayOES"](vao)})}var drawBuffersExt=GLctx.getExtension("WEBGL_draw_buffers");if(drawBuffersExt){GLctx["drawBuffers"]=(function(n,bufs){drawBuffersExt["drawBuffersWEBGL"](n,bufs)})}}GLctx.disjointTimerQueryExt=GLctx.getExtension("EXT_disjoint_timer_query");var automaticallyEnabledExtensions=["OES_texture_float","OES_texture_half_float","OES_standard_derivatives","OES_vertex_array_object","WEBGL_compressed_texture_s3tc","WEBGL_depth_texture","OES_element_index_uint","EXT_texture_filter_anisotropic","ANGLE_instanced_arrays","OES_texture_float_linear","OES_texture_half_float_linear","WEBGL_compressed_texture_atc","WEBKIT_WEBGL_compressed_texture_pvrtc","WEBGL_compressed_texture_pvrtc","EXT_color_buffer_half_float","WEBGL_color_buffer_float","EXT_frag_depth","EXT_sRGB","WEBGL_draw_buffers","WEBGL_shared_resources","EXT_shader_texture_lod","EXT_color_buffer_float"];var exts=GLctx.getSupportedExtensions();if(exts&&exts.length>0){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,maxUniformBlockNameLength:-1};var ptable=GL.programInfos[program];var utable=ptable.uniforms;var numUniforms=GLctx.getProgramParameter(p,GLctx.ACTIVE_UNIFORMS);for(var i=0;i>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 _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 _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 _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 _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}}function _eglGetDisplay(nativeDisplayType){EGL.setErrorCode(12288);return 62e3}function _eglGetProcAddress(name_){return _emscripten_GetProcAddress(name_)}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 _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 _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 _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 _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}function _eglWaitGL(){return _eglWaitClient.apply(null,arguments)}function _eglWaitNative(nativeEngineId){EGL.setErrorCode(12288);return 1}function _emscripten_async_wget(url,file,onload,onerror){Module["noExitRuntime"]=true;var _url=Pointer_stringify(url);var _file=Pointer_stringify(file);_file=PATH.resolve(FS.cwd(),_file);function doCallback(callback){if(callback){var stack=Runtime.stackSave();Module["dynCall_vi"](callback,allocate(intArrayFromString(_file),"i8",ALLOC_STACK));Runtime.stackRestore(stack)}}var destinationDirectory=PATH.dirname(_file);FS.createPreloadedFile(destinationDirectory,PATH.basename(_file),_url,true,true,(function(){doCallback(onload)}),(function(){doCallback(onerror)}),false,false,(function(){try{FS.unlink(_file)}catch(e){}FS.mkdirTree(destinationDirectory)}))}function _emscripten_cancel_main_loop(){Browser.mainLoop.pause();Browser.mainLoop.func=null}var JSEvents={keyEvent:0,mouseEvent:0,wheelEvent:0,uiEvent:0,focusEvent:0,deviceOrientationEvent:0,deviceMotionEvent:0,fullscreenChangeEvent:0,pointerlockChangeEvent:0,visibilityChangeEvent:0,touchEvent:0,lastGamepadState:null,lastGamepadStateFrame:null,numGamepadsConnected:0,previousFullscreenElement:null,previousScreenX:null,previousScreenY:null,removeEventListenersRegistered:false,staticInit:(function(){if(typeof window!=="undefined"){window.addEventListener("gamepadconnected",(function(){++JSEvents.numGamepadsConnected}));window.addEventListener("gamepaddisconnected",(function(){--JSEvents.numGamepadsConnected}));var firstState=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():null;if(firstState){JSEvents.numGamepadsConnected=firstState.length}}}),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;stringToUTF8(e.locale?e.locale:"",JSEvents.keyEvent+88,32);stringToUTF8(e.char?e.char:"",JSEvents.keyEvent+120,32);HEAP32[JSEvents.keyEvent+152>>2]=e.charCode;HEAP32[JSEvents.keyEvent+156>>2]=e.keyCode;HEAP32[JSEvents.keyEvent+160>>2]=e.which;var shouldCancel=Module["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}if(e.type!=="wheel"&&e.type!=="mousewheel"){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=Module["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=Module["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"]||0;HEAPF64[JSEvents.wheelEvent+80>>3]=-(e["wheelDeltaY"]?e["wheelDeltaY"]:e["wheelDelta"]);HEAPF64[JSEvents.wheelEvent+88>>3]=0;HEAP32[JSEvents.wheelEvent+96>>2]=0;var shouldCancel=Module["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=Module["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:"";stringToUTF8(nodeName,JSEvents.focusEvent+0,128);stringToUTF8(id,JSEvents.focusEvent+128,128);var shouldCancel=Module["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=Module["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.deviceMotionEvent>>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=Module["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=Module["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.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:"";stringToUTF8(nodeName,eventStruct+8,128);stringToUTF8(id,eventStruct+136,128);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=Module["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:"";stringToUTF8(nodeName,eventStruct+4,128);stringToUTF8(id,eventStruct+132,128)}),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=Module["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)}),registerPointerlockErrorEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,0,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=Module["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=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.touchEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:eventTypeString=="touchstart"||eventTypeString=="touchend",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;stringToUTF8(e.id,eventStruct+1304,64);stringToUTF8(e.mapping,eventStruct+1368,64)}),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=Module["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=Module["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=Module["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=Module["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)})};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){Module["dynCall_iiii"](__currentFullscreenStrategy.canvasResizedCallback,37,0,__currentFullscreenStrategy.canvasResizedCallbackUserData)}return 0}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_get_device_pixel_ratio(){return window.devicePixelRatio||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_sample_gamepad_data(){if(!JSEvents.numGamepadsConnected)return;if(Browser.mainLoop.currentFrameNumber!==JSEvents.lastGamepadStateFrame||!Browser.mainLoop.currentFrameNumber){JSEvents.lastGamepadState=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads:null;JSEvents.lastGamepadStateFrame=Browser.mainLoop.currentFrameNumber}}function _emscripten_get_gamepad_status(index,gamepadState){__emscripten_sample_gamepad_data();if(!JSEvents.lastGamepadState)return-1;if(index<0||index>=JSEvents.lastGamepadState.length)return-5;if(!JSEvents.lastGamepadState[index])return-7;JSEvents.fillGamepadEventData(gamepadState,JSEvents.lastGamepadState[index]);return 0}function _emscripten_get_num_gamepads(){if(!JSEvents.numGamepadsConnected)return 0;__emscripten_sample_gamepad_data();if(!JSEvents.lastGamepadState)return-1;return JSEvents.lastGamepadState.length}function _emscripten_get_pointerlock_status(pointerlockStatus){if(pointerlockStatus)JSEvents.fillPointerlockChangeEventData(pointerlockStatus);if(!document.body||!document.body.requestPointerLock&&!document.body.mozRequestPointerLock&&!document.body.webkitRequestPointerLock&&!document.body.msRequestPointerLock){return-1}return 0}function _emscripten_glActiveTexture(x0){GLctx["activeTexture"](x0)}function _emscripten_glAttachShader(program,shader){GLctx.attachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_glBindAttribLocation(program,index,name){name=Pointer_stringify(name);GLctx.bindAttribLocation(GL.programs[program],index,name)}function _emscripten_glBindBuffer(target,buffer){var bufferObj=buffer?GL.buffers[buffer]:null;GLctx.bindBuffer(target,bufferObj)}function _emscripten_glBindFramebuffer(target,framebuffer){GLctx.bindFramebuffer(target,framebuffer?GL.framebuffers[framebuffer]:null)}function _emscripten_glBindProgramARB(){Module["printErr"]("missing function: emscripten_glBindProgramARB");abort(-1)}function _emscripten_glBindRenderbuffer(target,renderbuffer){GLctx.bindRenderbuffer(target,renderbuffer?GL.renderbuffers[renderbuffer]:null)}function _emscripten_glBindTexture(target,texture){GLctx.bindTexture(target,texture?GL.textures[texture]:null)}function _emscripten_glBindVertexArray(vao){GLctx["bindVertexArray"](GL.vaos[vao])}function _emscripten_glBlendColor(x0,x1,x2,x3){GLctx["blendColor"](x0,x1,x2,x3)}function _emscripten_glBlendEquation(x0){GLctx["blendEquation"](x0)}function _emscripten_glBlendEquationSeparate(x0,x1){GLctx["blendEquationSeparate"](x0,x1)}function _emscripten_glBlendFunc(x0,x1){GLctx["blendFunc"](x0,x1)}function _emscripten_glBlendFuncSeparate(x0,x1,x2,x3){GLctx["blendFuncSeparate"](x0,x1,x2,x3)}function _emscripten_glBufferData(target,size,data,usage){if(!data){GLctx.bufferData(target,size,usage)}else{GLctx.bufferData(target,HEAPU8.subarray(data,data+size),usage)}}function _emscripten_glBufferSubData(target,offset,size,data){GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _emscripten_glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _emscripten_glClear(x0){GLctx["clear"](x0)}function _emscripten_glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _emscripten_glClearDepth(x0){GLctx["clearDepth"](x0)}function _emscripten_glClearDepthf(x0){GLctx["clearDepth"](x0)}function _emscripten_glClearStencil(x0){GLctx["clearStencil"](x0)}function _emscripten_glClientActiveTexture(){Module["printErr"]("missing function: emscripten_glClientActiveTexture");abort(-1)}function _emscripten_glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _emscripten_glColorPointer(){Module["printErr"]("missing function: emscripten_glColorPointer");abort(-1)}function _emscripten_glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _emscripten_glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexSubImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _emscripten_glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _emscripten_glCullFace(x0){GLctx["cullFace"](x0)}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_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 _emscripten_glDeleteObjectARB(){Module["printErr"]("missing function: emscripten_glDeleteObjectARB");abort(-1)}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_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 _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 _emscripten_glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _emscripten_glDeleteVertexArrays(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDepthFunc(x0){GLctx["depthFunc"](x0)}function _emscripten_glDepthMask(flag){GLctx.depthMask(!!flag)}function _emscripten_glDepthRange(x0,x1){GLctx["depthRange"](x0,x1)}function _emscripten_glDepthRangef(x0,x1){GLctx["depthRange"](x0,x1)}function _emscripten_glDetachShader(program,shader){GLctx.detachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_glDisable(x0){GLctx["disable"](x0)}function _emscripten_glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _emscripten_glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _emscripten_glDrawArraysInstanced(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawBuffers(n,bufs){var bufArray=GL.tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawElementsInstanced(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawRangeElements(){Module["printErr"]("missing function: emscripten_glDrawRangeElements");abort(-1)}function _emscripten_glEnable(x0){GLctx["enable"](x0)}function _emscripten_glEnableClientState(){Module["printErr"]("missing function: emscripten_glEnableClientState");abort(-1)}function _emscripten_glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _emscripten_glFinish(){GLctx["finish"]()}function _emscripten_glFlush(){GLctx["flush"]()}function _emscripten_glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _emscripten_glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _emscripten_glFrontFace(x0){GLctx["frontFace"](x0)}function _emscripten_glFrustum(){Module["printErr"]("missing function: emscripten_glFrustum");abort(-1)}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_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 _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 _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_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 _emscripten_glGenerateMipmap(x0){GLctx["generateMipmap"](x0)}function _emscripten_glGetActiveAttrib(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx.getActiveAttrib(program,index);if(!info)return;if(bufSize>0&&name){var numBytesWrittenExclNull=stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glGetActiveUniform(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx.getActiveUniform(program,index);if(!info)return;if(bufSize>0&&name){var numBytesWrittenExclNull=stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}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 _emscripten_glGetAttribLocation(program,name){program=GL.programs[program];name=Pointer_stringify(name);return GLctx.getAttribLocation(program,name)}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}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_glGetBooleanv(name_,p){emscriptenWebGLGet(name_,p,"Boolean")}function _emscripten_glGetBufferParameteriv(target,value,data){if(!data){GL.recordError(1281);return}HEAP32[data>>2]=GLctx.getBufferParameter(target,value)}function _emscripten_glGetError(){if(GL.lastError){var error=GL.lastError;GL.lastError=0;return error}else{return GLctx.getError()}}function _emscripten_glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,"Float")}function _emscripten_glGetFramebufferAttachmentParameteriv(target,attachment,pname,params){var result=GLctx.getFramebufferAttachmentParameter(target,attachment,pname);HEAP32[params>>2]=result}function _emscripten_glGetInfoLogARB(){Module["printErr"]("missing function: emscripten_glGetInfoLogARB");abort(-1)}function _emscripten_glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,"Integer")}function _emscripten_glGetObjectParameterivARB(){Module["printErr"]("missing function: emscripten_glGetObjectParameterivARB");abort(-1)}function _emscripten_glGetPointerv(){Module["printErr"]("missing function: emscripten_glGetPointerv");abort(-1)}function _emscripten_glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";if(maxLength>0&&infoLog){var numBytesWrittenExclNull=stringToUTF8(log,infoLog,maxLength);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);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){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,GLctx.ACTIVE_ATTRIBUTES);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,GLctx.ACTIVE_UNIFORM_BLOCKS);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _emscripten_glGetRenderbufferParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getRenderbufferParameter(target,pname)}function _emscripten_glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";if(maxLength>0&&infoLog){var numBytesWrittenExclNull=stringToUTF8(log,infoLog,maxLength);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}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_glGetShaderSource(shader,bufSize,length,source){var result=GLctx.getShaderSource(GL.shaders[shader]);if(!result)return;if(bufSize>0&&source){var numBytesWrittenExclNull=stringToUTF8(result,source,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}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 if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source===null||source.length==0?0:source.length+1;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function _emscripten_glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7936:case 7937:case 37445:case 37446:ret=allocate(intArrayFromString(GLctx.getParameter(name_)),"i8",ALLOC_NORMAL);break;case 7938:var glVersion=GLctx.getParameter(GLctx.VERSION);{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=allocate(intArrayFromString(glVersion),"i8",ALLOC_NORMAL);break;case 7939:var exts=GLctx.getSupportedExtensions();var gl_exts=[];for(var i=0;i>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTexParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getTexParameter(target,pname)}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]=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*4>>2]=data[i];break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+type}}}}function _emscripten_glGetUniformfv(program,location,params){emscriptenWebGLGetUniform(program,location,params,"Float")}function _emscripten_glGetUniformiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,"Integer")}function _emscripten_glGetVertexAttribPointerv(index,pname,pointer){if(!pointer){GL.recordError(1281);return}HEAP32[pointer>>2]=GLctx.getVertexAttribOffset(index,pname)}function emscriptenWebGLGetVertexAttrib(index,pname,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getVertexAttrib(index,pname);if(pname==34975){HEAP32[params>>2]=data["name"]}else 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*4>>2]=data[i];break;case"FloatToInteger":HEAP32[params+i*4>>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_glGetVertexAttribiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,"FloatToInteger")}function _emscripten_glHint(x0,x1){GLctx["hint"](x0,x1)}function _emscripten_glIsBuffer(buffer){var b=GL.buffers[buffer];if(!b)return 0;return GLctx.isBuffer(b)}function _emscripten_glIsEnabled(x0){return GLctx["isEnabled"](x0)}function _emscripten_glIsFramebuffer(framebuffer){var fb=GL.framebuffers[framebuffer];if(!fb)return 0;return GLctx.isFramebuffer(fb)}function _emscripten_glIsProgram(program){program=GL.programs[program];if(!program)return 0;return GLctx.isProgram(program)}function _emscripten_glIsRenderbuffer(renderbuffer){var rb=GL.renderbuffers[renderbuffer];if(!rb)return 0;return GLctx.isRenderbuffer(rb)}function _emscripten_glIsShader(shader){var s=GL.shaders[shader];if(!s)return 0;return GLctx.isShader(s)}function _emscripten_glIsTexture(texture){var texture=GL.textures[texture];if(!texture)return 0;return GLctx.isTexture(texture)}function _emscripten_glIsVertexArray(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glLineWidth(x0){GLctx["lineWidth"](x0)}function _emscripten_glLinkProgram(program){GLctx.linkProgram(GL.programs[program]);GL.programInfos[program]=null;GL.populateUniformTable(program)}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 _emscripten_glLoadMatrixf(){Module["printErr"]("missing function: emscripten_glLoadMatrixf");abort(-1)}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 _emscripten_glNormalPointer(){Module["printErr"]("missing function: emscripten_glNormalPointer");abort(-1)}function _emscripten_glPixelStorei(pname,param){if(pname==3333){GL.packAlignment=param}else if(pname==3317){GL.unpackAlignment=param}GLctx.pixelStorei(pname,param)}function _emscripten_glPolygonOffset(x0,x1){GLctx["polygonOffset"](x0,x1)}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:numChannels=1;break;case 6410:numChannels=2;break;case 6407:case 35904:numChannels=3;break;case 6408:case 35906:numChannels=4;break;default:GL.recordError(1280);return null}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 null}var bytes=emscriptenWebGLComputeImageSize(width,height,sizePerPixel,GL.unpackAlignment);switch(type){case 5121:return HEAPU8.subarray(pixels,pixels+bytes);case 5126:return HEAPF32.subarray(pixels>>2,pixels+bytes>>2);case 5125:case 34042:return HEAPU32.subarray(pixels>>2,pixels+bytes>>2);case 5123:case 33635:case 32819:case 32820:case 36193:return HEAPU16.subarray(pixels>>1,pixels+bytes>>1);default:GL.recordError(1280);return null}}function _emscripten_glReadPixels(x,y,width,height,format,type,pixels){var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _emscripten_glReleaseShaderCompiler(){}function _emscripten_glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _emscripten_glRotatef(){Module["printErr"]("missing function: emscripten_glRotatef");abort(-1)}function _emscripten_glSampleCoverage(value,invert){GLctx.sampleCoverage(value,!!invert)}function _emscripten_glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _emscripten_glShaderBinary(){GL.recordError(1280)}function _emscripten_glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _emscripten_glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _emscripten_glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _emscripten_glStencilMask(x0){GLctx["stencilMask"](x0)}function _emscripten_glStencilMaskSeparate(x0,x1){GLctx["stencilMaskSeparate"](x0,x1)}function _emscripten_glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _emscripten_glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _emscripten_glTexCoordPointer(){Module["printErr"]("missing function: emscripten_glTexCoordPointer");abort(-1)}function _emscripten_glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixelData)}function _emscripten_glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _emscripten_glTexParameterfv(target,pname,params){var param=HEAPF32[params>>2];GLctx.texParameterf(target,pname,param)}function _emscripten_glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _emscripten_glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _emscripten_glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _emscripten_glUniform1f(location,v0){GLctx.uniform1f(GL.uniforms[location],v0)}function _emscripten_glUniform1fv(location,count,value){var view;if(count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[count-1];for(var i=0;i>2]}}else{view=HEAPF32.subarray(value>>2,value+count*4>>2)}GLctx.uniform1fv(GL.uniforms[location],view)}function _emscripten_glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}function _emscripten_glUniform1iv(location,count,value){GLctx.uniform1iv(GL.uniforms[location],HEAP32.subarray(value>>2,value+count*4>>2))}function _emscripten_glUniform2f(location,v0,v1){GLctx.uniform2f(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2fv(location,count,value){var view;if(2*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2fv(GL.uniforms[location],view)}function _emscripten_glUniform2i(location,v0,v1){GLctx.uniform2i(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2iv(location,count,value){GLctx.uniform2iv(GL.uniforms[location],HEAP32.subarray(value>>2,value+count*8>>2))}function _emscripten_glUniform3f(location,v0,v1,v2){GLctx.uniform3f(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3fv(location,count,value){var view;if(3*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3fv(GL.uniforms[location],view)}function _emscripten_glUniform3i(location,v0,v1,v2){GLctx.uniform3i(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3iv(location,count,value){GLctx.uniform3iv(GL.uniforms[location],HEAP32.subarray(value>>2,value+count*12>>2))}function _emscripten_glUniform4f(location,v0,v1,v2,v3){GLctx.uniform4f(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4fv(location,count,value){var view;if(4*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(GL.uniforms[location],view)}function _emscripten_glUniform4i(location,v0,v1,v2,v3){GLctx.uniform4i(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4iv(location,count,value){GLctx.uniform4iv(GL.uniforms[location],HEAP32.subarray(value>>2,value+count*16>>2))}function _emscripten_glUniformMatrix2fv(location,count,transpose,value){var view;if(4*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix3fv(location,count,transpose,value){var view;if(9*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[9*count-1];for(var i=0;i<9*count;i+=9){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2];view[i+4]=HEAPF32[value+(4*i+16)>>2];view[i+5]=HEAPF32[value+(4*i+20)>>2];view[i+6]=HEAPF32[value+(4*i+24)>>2];view[i+7]=HEAPF32[value+(4*i+28)>>2];view[i+8]=HEAPF32[value+(4*i+32)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*36>>2)}GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix4fv(location,count,transpose,value){var view;if(16*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[16*count-1];for(var i=0;i<16*count;i+=16){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2];view[i+4]=HEAPF32[value+(4*i+16)>>2];view[i+5]=HEAPF32[value+(4*i+20)>>2];view[i+6]=HEAPF32[value+(4*i+24)>>2];view[i+7]=HEAPF32[value+(4*i+28)>>2];view[i+8]=HEAPF32[value+(4*i+32)>>2];view[i+9]=HEAPF32[value+(4*i+36)>>2];view[i+10]=HEAPF32[value+(4*i+40)>>2];view[i+11]=HEAPF32[value+(4*i+44)>>2];view[i+12]=HEAPF32[value+(4*i+48)>>2];view[i+13]=HEAPF32[value+(4*i+52)>>2];view[i+14]=HEAPF32[value+(4*i+56)>>2];view[i+15]=HEAPF32[value+(4*i+60)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*64>>2)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUseProgram(program){GLctx.useProgram(program?GL.programs[program]:null)}function _emscripten_glValidateProgram(program){GLctx.validateProgram(GL.programs[program])}function _emscripten_glVertexAttrib1f(x0,x1){GLctx["vertexAttrib1f"](x0,x1)}function _emscripten_glVertexAttrib1fv(index,v){GLctx.vertexAttrib1f(index,HEAPF32[v>>2])}function _emscripten_glVertexAttrib2f(x0,x1,x2){GLctx["vertexAttrib2f"](x0,x1,x2)}function _emscripten_glVertexAttrib2fv(index,v){GLctx.vertexAttrib2f(index,HEAPF32[v>>2],HEAPF32[v+4>>2])}function _emscripten_glVertexAttrib3f(x0,x1,x2,x3){GLctx["vertexAttrib3f"](x0,x1,x2,x3)}function _emscripten_glVertexAttrib3fv(index,v){GLctx.vertexAttrib3f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2])}function _emscripten_glVertexAttrib4f(x0,x1,x2,x3,x4){GLctx["vertexAttrib4f"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttrib4fv(index,v){GLctx.vertexAttrib4f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2],HEAPF32[v+12>>2])}function _emscripten_glVertexAttribDivisor(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}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_glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}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){Module["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 _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 _emscripten_set_blur_callback(target,userData,useCapture,callbackfunc){JSEvents.registerFocusEventCallback(target,userData,useCapture,callbackfunc,12,"blur");return 0}function _emscripten_set_canvas_size(width,height){Browser.setCanvasSize(width,height)}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 _emscripten_set_focus_callback(target,userData,useCapture,callbackfunc){JSEvents.registerFocusEventCallback(target,userData,useCapture,callbackfunc,13,"focus");return 0}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 _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_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_keydown_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,2,"keydown");return 0}function _emscripten_set_keypress_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,1,"keypress");return 0}function _emscripten_set_keyup_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,3,"keyup");return 0}function _emscripten_set_mousedown_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,5,"mousedown");return 0}function _emscripten_set_mouseenter_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,33,"mouseenter");return 0}function _emscripten_set_mouseleave_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,34,"mouseleave");return 0}function _emscripten_set_mousemove_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,8,"mousemove");return 0}function _emscripten_set_mouseup_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,6,"mouseup");return 0}function _emscripten_set_resize_callback(target,userData,useCapture,callbackfunc){JSEvents.registerUiEventCallback(target,userData,useCapture,callbackfunc,10,"resize");return 0}function _emscripten_set_touchcancel_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,25,"touchcancel");return 0}function _emscripten_set_touchend_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,23,"touchend");return 0}function _emscripten_set_touchmove_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,24,"touchmove");return 0}function _emscripten_set_touchstart_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,22,"touchstart");return 0}function _emscripten_set_visibilitychange_callback(userData,useCapture,callbackfunc){JSEvents.registerVisibilityChangeEventCallback(document,userData,useCapture,callbackfunc,21,"visibilitychange");return 0}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 __exit(status){Module["exit"](status)}function _exit(status){__exit(status)}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.UTF-8";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 _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _glClear(x0){GLctx["clear"](x0)}var ___tm_timezone=allocate(intArrayFromString("GMT"),"i8",ALLOC_STATIC);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 _llvm_exp2_f32(x){return Math.pow(2,x)}function _llvm_exp2_f64(){return _llvm_exp2_f32.apply(null,arguments)}var _llvm_pow_f64=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 _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=(summerOffset!=winterOffset&&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 _longjmp(env,value){Module["setThrew"](env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}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(summerOffset!=winterOffset&&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 _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 _sigaction(signum,act,oldact){return 0}var __sigalrm_handler=0;function _signal(sig,func){if(sig==14){__sigalrm_handler=func}else{}return 0}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 _strptime(buf,format,tm){var pattern=Pointer_stringify(format);var SPECIAL_CHARS="\\!@#$^&*()+=-[]/{}|:<>?,.";for(var i=0,ii=SPECIAL_CHARS.length;i=0;i=pattern.indexOf("%")){capture.push(pattern[i+1]);pattern=pattern.replace(new RegExp("\\%"+pattern[i+1],"g"),"")}var matches=(new RegExp("^"+pattern,"i")).exec(Pointer_stringify(buf));function initDate(){function fixup(value,min,max){return typeof value!=="number"||isNaN(value)?min:value>=min?value<=max?value:max:min}return{year:fixup(HEAP32[tm+20>>2]+1900,1970,9999),month:fixup(HEAP32[tm+16>>2],0,11),day:fixup(HEAP32[tm+12>>2],1,31),hour:fixup(HEAP32[tm+8>>2],0,23),min:fixup(HEAP32[tm+4>>2],0,59),sec:fixup(HEAP32[tm>>2],0,59)}}if(matches){var date=initDate();var value;function getMatch(symbol){var pos=capture.indexOf(symbol);if(pos>=0){return matches[pos+1]}return}if(value=getMatch("S")){date.sec=parseInt(value)}if(value=getMatch("M")){date.min=parseInt(value)}if(value=getMatch("H")){date.hour=parseInt(value)}else if(value=getMatch("I")){var hour=parseInt(value);if(value=getMatch("p")){hour+=value.toUpperCase()[0]==="P"?12:0}date.hour=hour}if(value=getMatch("Y")){date.year=parseInt(value)}else if(value=getMatch("y")){var year=parseInt(value);if(value=getMatch("C")){year+=parseInt(value)*100}else{year+=year<69?2e3:1900}date.year=year}if(value=getMatch("m")){date.month=parseInt(value)-1}else if(value=getMatch("b")){date.month=MONTH_NUMBERS[value.substring(0,3).toUpperCase()]||0}if(value=getMatch("d")){date.day=parseInt(value)}else if(value=getMatch("j")){var day=parseInt(value);var leapYear=__isLeapYear(date.year);for(var month=0;month<12;++month){var daysUntilMonth=__arraySum(leapYear?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,month-1);if(day<=daysUntilMonth+(leapYear?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[month]){date.day=day-daysUntilMonth}}}else if(value=getMatch("a")){var weekDay=value.substring(0,3).toUpperCase();if(value=getMatch("U")){var weekDayNumber=DAY_NUMBERS_SUN_FIRST[weekDay];var weekNumber=parseInt(value);var janFirst=new Date(date.year,0,1);var endDate;if(janFirst.getDay()===0){endDate=__addDays(janFirst,weekDayNumber+7*(weekNumber-1))}else{endDate=__addDays(janFirst,7-janFirst.getDay()+weekDayNumber+7*(weekNumber-1))}date.day=endDate.getDate();date.month=endDate.getMonth()}else if(value=getMatch("W")){var weekDayNumber=DAY_NUMBERS_MON_FIRST[weekDay];var weekNumber=parseInt(value);var janFirst=new Date(date.year,0,1);var endDate;if(janFirst.getDay()===1){endDate=__addDays(janFirst,weekDayNumber+7*(weekNumber-1))}else{endDate=__addDays(janFirst,7-janFirst.getDay()+1+weekDayNumber+7*(weekNumber-1))}date.day=endDate.getDate();date.month=endDate.getMonth()}}var fullDate=new Date(date.year,date.month,date.day,date.hour,date.min,date.sec,0);HEAP32[tm>>2]=fullDate.getSeconds();HEAP32[tm+4>>2]=fullDate.getMinutes();HEAP32[tm+8>>2]=fullDate.getHours();HEAP32[tm+12>>2]=fullDate.getDate();HEAP32[tm+16>>2]=fullDate.getMonth();HEAP32[tm+20>>2]=fullDate.getFullYear()-1900;HEAP32[tm+24>>2]=fullDate.getDay();HEAP32[tm+28>>2]=__arraySum(__isLeapYear(fullDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,fullDate.getMonth()-1)+fullDate.getDate()-1;HEAP32[tm+32>>2]=0;return buf+intArrayFromString(matches[0]).length-1}return 0}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}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()}if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function _emscripten_get_now_actual(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else if(typeof self==="object"&&self["performance"]&&typeof self["performance"]["now"]==="function"){_emscripten_get_now=(function(){return self["performance"]["now"]()})}else if(typeof performance==="object"&&typeof performance["now"]==="function"){_emscripten_get_now=(function(){return performance["now"]()})}else{_emscripten_get_now=Date.now}Module["requestFullScreen"]=function Module_requestFullScreen(lockPointer,resizeCanvas,vrDevice){Module.printErr("Module.requestFullScreen is deprecated. Please call Module.requestFullscreen instead.");Module["requestFullScreen"]=Module["requestFullscreen"];Browser.requestFullScreen(lockPointer,resizeCanvas,vrDevice)};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)};var GLctx;GL.init();JSEvents.staticInit();___buildEnvironment(ENV);DYNAMICTOP_PTR=Runtime.staticAlloc(4);STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=Runtime.alignMemory(STACK_MAX);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;staticSealed=true;var ASSERTIONS=false;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}function intArrayToString(array){var ret=[];for(var i=0;i255){if(ASSERTIONS){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.")}chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var decodeBase64=typeof atob==="function"?atob:(function(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i>2]|0;a:while(1){F=c[c[o>>2]>>2]|0;K=F+12|0;G=c[(c[K>>2]|0)+44>>2]|0;H=o+16|0;I=o+20|0;J=o+4|0;f=c[H>>2]|0;b:while(1){i=c[I>>2]|0;c[I>>2]=i+4;i=c[i>>2]|0;g=a[qa>>0]|0;if((g&12)!=0?(bb=(c[qb>>2]|0)+-1|0,c[qb>>2]=bb,!((bb|0)!=0&(g&4)==0)):0){v=c[X>>2]|0;f=g&255;if((f&8|0)!=0&(bb|0)==0){c[qb>>2]=c[$a>>2];t=1}else t=0;u=v+34|0;g=d[u>>0]|0;if(!(g&64)){if(t)fw(e,3,-1);do if(!(f&4)){g=v+20|0;f=g}else{p=c[(c[c[v>>2]>>2]|0)+12>>2]|0;s=v+20|0;f=c[s>>2]|0;g=c[p+48>>2]|0;k=(f-g>>2)+-1|0;p=c[p+56>>2]|0;q=(p|0)==0;if(q)r=-1;else r=c[p+(k<<2)>>2]|0;if(k|0?(fb=c[Za>>2]|0,f>>>0>fb>>>0):0){if(q)f=-1;else f=c[p+((fb-g>>2)+-1<<2)>>2]|0;if((r|0)==(f|0)){f=s;g=s;break}}fw(e,2,r);f=s;g=s}while(0);f=c[f>>2]|0;c[Za>>2]=f;if((a[_a>>0]|0)==1){E=22;break a}}else a[u>>0]=g&191;C=c[H>>2]|0}else C=f;y=i>>>6&255;x=C+(y<<4)|0;do switch(i&63){case 38:{E=602;break b}case 0:{f=C+(i>>>23<<4)|0;c[x>>2]=c[f>>2];c[x+4>>2]=c[f+4>>2];c[x+8>>2]=c[f+8>>2];c[x+12>>2]=c[f+12>>2];f=C;continue b}case 1:{f=G+(i>>>14<<4)|0;c[x>>2]=c[f>>2];c[x+4>>2]=c[f+4>>2];c[x+8>>2]=c[f+8>>2];c[x+12>>2]=c[f+12>>2];f=C;continue b}case 2:{f=c[I>>2]|0;c[I>>2]=f+4;f=G+((c[f>>2]|0)>>>6<<4)|0;c[x>>2]=c[f>>2];c[x+4>>2]=c[f+4>>2];c[x+8>>2]=c[f+8>>2];c[x+12>>2]=c[f+12>>2];f=C;continue b}case 3:{c[x>>2]=i>>>23;c[C+(y<<4)+8>>2]=1;if(!(i&8372224)){f=C;continue b}c[I>>2]=(c[I>>2]|0)+4;f=C;continue b}case 4:{g=i>>>23;f=x;while(1){c[f+8>>2]=0;if(!g){f=C;continue b}else{g=g+-1|0;f=f+16|0}}}case 5:{f=c[c[F+16+(i>>>23<<2)>>2]>>2]|0;c[x>>2]=c[f>>2];c[x+4>>2]=c[f+4>>2];c[x+8>>2]=c[f+8>>2];c[x+12>>2]=c[f+12>>2];f=C;continue b}case 6:{f=i>>>14;wx(e,c[c[F+16+(i>>>23<<2)>>2]>>2]|0,(f&256|0)==0?C+((f&511)<<4)|0:G+((f&255)<<4)|0,x);f=c[H>>2]|0;continue b}case 7:{f=i>>>14;wx(e,C+(i>>>23<<4)|0,(f&256|0)==0?C+((f&511)<<4)|0:G+((f&255)<<4)|0,x);f=c[H>>2]|0;continue b}case 8:{x=i>>>23;f=i>>>14;xx(e,c[c[F+16+(y<<2)>>2]>>2]|0,(x&256|0)==0?C+(x<<4)|0:G+((x&255)<<4)|0,(f&256|0)==0?C+((f&511)<<4)|0:G+((f&255)<<4)|0);f=c[H>>2]|0;continue b}case 9:{y=c[F+16+(i>>>23<<2)>>2]|0;f=c[y>>2]|0;c[f>>2]=c[x>>2];c[f+4>>2]=c[x+4>>2];c[f+8>>2]=c[x+8>>2];c[f+12>>2]=c[x+12>>2];f=c[y>>2]|0;if(!((f|0)==(y+8|0)?(c[f+8>>2]&64|0)!=0:0)){f=C;continue b}g=c[Wa>>2]|0;f=c[f>>2]|0;if((d[g+61>>0]|0)>=2){f=C;continue b}if(!(a[f+5>>0]&3)){f=C;continue b}uw(g,f);f=C;continue b}case 10:{y=i>>>23;f=i>>>14;xx(e,x,(y&256|0)==0?C+(y<<4)|0:G+((y&255)<<4)|0,(f&256|0)==0?C+((f&511)<<4)|0:G+((f&255)<<4)|0);f=c[H>>2]|0;continue b}case 11:{k=i>>>23;r=i>>>14;f=r&511;q=c[Wa>>2]|0;g=q+4|0;p=jg[c[q>>2]&31](c[g>>2]|0,0,5,32)|0;if(!p){if(!(c[q+140>>2]|0)){E=46;break a}Fw(e,1);g=jg[c[q>>2]&31](c[g>>2]|0,0,5,32)|0;if(!g){E=46;break a}else p=g}w=q+12|0;c[w>>2]=(c[w>>2]|0)+32;a[p+5>>0]=a[q+60>>0]&3;a[p+4>>0]=5;w=q+64|0;c[p>>2]=c[w>>2];c[w>>2]=p;c[p+24>>2]=0;a[p+6>>0]=-1;c[p+12>>2]=0;c[p+8>>2]=0;c[p+16>>2]=316104;a[p+7>>0]=0;c[p+20>>2]=316104;c[x>>2]=p;c[C+(y<<4)+8>>2]=69;if(f|k|0){g=i>>>26&31;if(g)k=(k&7|8)<>>17&31;if(g)f=(r&7|8)<>2]|0)+12>>2]|0)>0){c[rb>>2]=C+(y+1<<4);Ew(e);c[rb>>2]=c[J>>2]}f=c[H>>2]|0;continue b}case 12:{w=C+(i>>>23<<4)|0;f=C+(y+1<<4)|0;c[f>>2]=c[w>>2];c[f+4>>2]=c[w+4>>2];c[f+8>>2]=c[w+8>>2];c[f+12>>2]=c[w+12>>2];f=i>>>14;wx(e,w,(f&256|0)==0?C+((f&511)<<4)|0:G+((f&255)<<4)|0,x);f=c[H>>2]|0;continue b}case 13:{k=i>>>23;k=(k&256|0)==0?C+(k<<4)|0:G+((k&255)<<4)|0;i=i>>>14;i=(i&256|0)==0?C+((i&511)<<4)|0:G+((i&255)<<4)|0;f=c[k+8>>2]|0;c:do switch(f|0){case 19:if((c[i+8>>2]|0)==19){w=k;f=i;w=lQ(c[f>>2]|0,c[f+4>>2]|0,c[w>>2]|0,c[w+4>>2]|0)|0;f=x;c[f>>2]=w;c[f+4>>2]=z;c[C+(y<<4)+8>>2]=19;f=C;continue b}else{E=k;m=+((c[E>>2]|0)>>>0)+4294967296.0*+(c[E+4>>2]|0);E=69;break c}case 3:{n=+h[k>>3];E=70;break}default:if((f&15|0)==4){g=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){v=(c[cb>>2]|0)==19;E=hb;w=c[E>>2]|0;E=c[E+4>>2]|0;c[j>>2]=w;c[j+4>>2]=E;m=v?+(w>>>0)+4294967296.0*+(E|0):+h[j>>3];E=69;break c}}}while(0);if((E|0)==69){n=m;E=70}d:do if((E|0)==70){E=0;f=c[i+8>>2]|0;if((f|0)==3)m=+h[i>>3];else do if((f|0)==19){w=i;m=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){u=(c[ab>>2]|0)==19;w=hb;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;m=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}break d}while(0);h[x>>3]=n+m;c[C+(y<<4)+8>>2]=3;f=C;continue b}while(0);if(!(rx(e,k,i,x,6)|0)){E=84;break a}f=c[H>>2]|0;continue b}case 14:{k=i>>>23;k=(k&256|0)==0?C+(k<<4)|0:G+((k&255)<<4)|0;i=i>>>14;i=(i&256|0)==0?C+((i&511)<<4)|0:G+((i&255)<<4)|0;f=c[k+8>>2]|0;e:do switch(f|0){case 19:if((c[i+8>>2]|0)==19){f=k;w=i;w=mQ(c[f>>2]|0,c[f+4>>2]|0,c[w>>2]|0,c[w+4>>2]|0)|0;f=x;c[f>>2]=w;c[f+4>>2]=z;c[C+(y<<4)+8>>2]=19;f=C;continue b}else{E=k;m=+((c[E>>2]|0)>>>0)+4294967296.0*+(c[E+4>>2]|0);E=98;break e}case 3:{n=+h[k>>3];E=99;break}default:if((f&15|0)==4){g=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){v=(c[eb>>2]|0)==19;E=hb;w=c[E>>2]|0;E=c[E+4>>2]|0;c[j>>2]=w;c[j+4>>2]=E;m=v?+(w>>>0)+4294967296.0*+(E|0):+h[j>>3];E=98;break e}}}while(0);if((E|0)==98){n=m;E=99}f:do if((E|0)==99){E=0;f=c[i+8>>2]|0;if((f|0)==3)m=+h[i>>3];else do if((f|0)==19){w=i;m=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){u=(c[db>>2]|0)==19;w=hb;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;m=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}break f}while(0);h[x>>3]=n-m;c[C+(y<<4)+8>>2]=3;f=C;continue b}while(0);if(!(rx(e,k,i,x,7)|0)){E=113;break a}f=c[H>>2]|0;continue b}case 15:{k=i>>>23;k=(k&256|0)==0?C+(k<<4)|0:G+((k&255)<<4)|0;i=i>>>14;i=(i&256|0)==0?C+((i&511)<<4)|0:G+((i&255)<<4)|0;f=c[k+8>>2]|0;g:do switch(f|0){case 19:if((c[i+8>>2]|0)==19){w=k;f=i;w=rQ(c[f>>2]|0,c[f+4>>2]|0,c[w>>2]|0,c[w+4>>2]|0)|0;f=x;c[f>>2]=w;c[f+4>>2]=z;c[C+(y<<4)+8>>2]=19;f=C;continue b}else{E=k;m=+((c[E>>2]|0)>>>0)+4294967296.0*+(c[E+4>>2]|0);E=127;break g}case 3:{n=+h[k>>3];E=128;break}default:if((f&15|0)==4){g=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){v=(c[Y>>2]|0)==19;E=hb;w=c[E>>2]|0;E=c[E+4>>2]|0;c[j>>2]=w;c[j+4>>2]=E;m=v?+(w>>>0)+4294967296.0*+(E|0):+h[j>>3];E=127;break g}}}while(0);if((E|0)==127){n=m;E=128}h:do if((E|0)==128){E=0;f=c[i+8>>2]|0;if((f|0)==3)m=+h[i>>3];else do if((f|0)==19){w=i;m=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){u=(c[gb>>2]|0)==19;w=hb;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;m=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}break h}while(0);h[x>>3]=n*m;c[C+(y<<4)+8>>2]=3;f=C;continue b}while(0);if(!(rx(e,k,i,x,8)|0)){E=142;break a}f=c[H>>2]|0;continue b}case 18:{k=i>>>23;k=(k&256|0)==0?C+(k<<4)|0:G+((k&255)<<4)|0;i=i>>>14;i=(i&256|0)==0?C+((i&511)<<4)|0:G+((i&255)<<4)|0;f=c[k+8>>2]|0;i:do if((f|0)==3){m=+h[k>>3];E=156}else{do if((f|0)==19){E=k;m=+((c[E>>2]|0)>>>0)+4294967296.0*+(c[E+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){v=(c[_>>2]|0)==19;E=hb;w=c[E>>2]|0;E=c[E+4>>2]|0;c[j>>2]=w;c[j+4>>2]=E;m=v?+(w>>>0)+4294967296.0*+(E|0):+h[j>>3];break}}break i}while(0);E=156}while(0);j:do if((E|0)==156){E=0;f=c[i+8>>2]|0;if((f|0)==3)n=+h[i>>3];else do if((f|0)==19){w=i;n=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){u=(c[Z>>2]|0)==19;w=hb;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;n=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}break j}while(0);h[x>>3]=m/n;c[C+(y<<4)+8>>2]=3;f=C;continue b}while(0);if(!(rx(e,k,i,x,11)|0)){E=170;break a}f=c[H>>2]|0;continue b}case 20:{r=i>>>23;r=(r&256|0)==0?C+(r<<4)|0:G+((r&255)<<4)|0;q=i>>>14;q=(q&256|0)==0?C+((q&511)<<4)|0:G+((q&255)<<4)|0;f=c[r+8>>2]|0;do if((f|0)!=19){i=r;k:while(1){switch(f|0){case 3:{E=176;break k}case 19:{E=179;break k}default:{}}if((f&15|0)!=4){E=186;break}g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=186;break}i=hb;f=c[V>>2]|0}if((E|0)==176){n=+h[i>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){f=~~m>>>0;g=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=187}else E=186}else if((E|0)==179){g=i;f=c[g>>2]|0;g=c[g+4>>2]|0;E=187}if((E|0)==186){E=0;break}else if((E|0)==187){p=f;E=188;break}}else{g=r;p=c[g>>2]|0;g=c[g+4>>2]|0;E=188}while(0);l:do if((E|0)==188){E=0;f=c[q+8>>2]|0;do if((f|0)!=19){k=q;m:while(1){switch(f|0){case 3:{E=192;break m}case 19:{E=195;break m}default:{}}if((f&15|0)!=4){E=202;break}i=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)!=(f+1|0)){E=202;break}k=hb;f=c[W>>2]|0}if((E|0)==192){n=+h[k>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){i=~~m>>>0;f=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=203}else E=202}else if((E|0)==195){f=k;i=c[f>>2]|0;f=c[f+4>>2]|0;E=203}if((E|0)==202){E=0;break l}else if((E|0)==203){E=0;break}}else{f=q;i=c[f>>2]|0;f=c[f+4>>2]|0}while(0);c[x>>2]=i&p;c[x+4>>2]=f&g;c[C+(y<<4)+8>>2]=19;f=C;continue b}while(0);sx(e,r,q,x,13);f=c[H>>2]|0;continue b}case 21:{r=i>>>23;r=(r&256|0)==0?C+(r<<4)|0:G+((r&255)<<4)|0;q=i>>>14;q=(q&256|0)==0?C+((q&511)<<4)|0:G+((q&255)<<4)|0;f=c[r+8>>2]|0;do if((f|0)!=19){i=r;n:while(1){switch(f|0){case 3:{E=210;break n}case 19:{E=213;break n}default:{}}if((f&15|0)!=4){E=220;break}g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=220;break}i=hb;f=c[T>>2]|0}if((E|0)==210){n=+h[i>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){f=~~m>>>0;g=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=221}else E=220}else if((E|0)==213){g=i;f=c[g>>2]|0;g=c[g+4>>2]|0;E=221}if((E|0)==220){E=0;break}else if((E|0)==221){p=f;E=222;break}}else{g=r;p=c[g>>2]|0;g=c[g+4>>2]|0;E=222}while(0);o:do if((E|0)==222){E=0;f=c[q+8>>2]|0;do if((f|0)!=19){k=q;p:while(1){switch(f|0){case 3:{E=226;break p}case 19:{E=229;break p}default:{}}if((f&15|0)!=4){E=236;break}i=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)!=(f+1|0)){E=236;break}k=hb;f=c[U>>2]|0}if((E|0)==226){n=+h[k>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){i=~~m>>>0;f=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=237}else E=236}else if((E|0)==229){f=k;i=c[f>>2]|0;f=c[f+4>>2]|0;E=237}if((E|0)==236){E=0;break o}else if((E|0)==237){E=0;break}}else{f=q;i=c[f>>2]|0;f=c[f+4>>2]|0}while(0);c[x>>2]=i|p;c[x+4>>2]=f|g;c[C+(y<<4)+8>>2]=19;f=C;continue b}while(0);sx(e,r,q,x,14);f=c[H>>2]|0;continue b}case 22:{r=i>>>23;r=(r&256|0)==0?C+(r<<4)|0:G+((r&255)<<4)|0;q=i>>>14;q=(q&256|0)==0?C+((q&511)<<4)|0:G+((q&255)<<4)|0;f=c[r+8>>2]|0;do if((f|0)!=19){i=r;q:while(1){switch(f|0){case 3:{E=244;break q}case 19:{E=247;break q}default:{}}if((f&15|0)!=4){E=254;break}g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=254;break}i=hb;f=c[R>>2]|0}if((E|0)==244){n=+h[i>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){f=~~m>>>0;g=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=255}else E=254}else if((E|0)==247){g=i;f=c[g>>2]|0;g=c[g+4>>2]|0;E=255}if((E|0)==254){E=0;break}else if((E|0)==255){p=f;k=g;E=256;break}}else{k=r;p=c[k>>2]|0;k=c[k+4>>2]|0;E=256}while(0);r:do if((E|0)==256){E=0;f=c[q+8>>2]|0;do if((f|0)!=19){i=q;s:while(1){switch(f|0){case 3:{E=260;break s}case 19:{E=263;break s}default:{}}if((f&15|0)!=4){E=270;break}g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=270;break}i=hb;f=c[S>>2]|0}if((E|0)==260){n=+h[i>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){g=~~m>>>0;f=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=271}else E=270}else if((E|0)==263){f=i;g=c[f>>2]|0;f=c[f+4>>2]|0;E=271}if((E|0)==270){E=0;break r}else if((E|0)==271){E=0;break}}else{f=q;g=c[f>>2]|0;f=c[f+4>>2]|0}while(0);c[x>>2]=g^p;c[x+4>>2]=f^k;c[C+(y<<4)+8>>2]=19;f=C;continue b}while(0);sx(e,r,q,x,15);f=c[H>>2]|0;continue b}case 23:{r=i>>>23;r=(r&256|0)==0?C+(r<<4)|0:G+((r&255)<<4)|0;q=i>>>14;q=(q&256|0)==0?C+((q&511)<<4)|0:G+((q&255)<<4)|0;f=c[r+8>>2]|0;do if((f|0)!=19){i=r;t:while(1){switch(f|0){case 3:{E=278;break t}case 19:{E=281;break t}default:{}}if((f&15|0)!=4){E=288;break}g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=288;break}i=hb;f=c[O>>2]|0}if((E|0)==278){n=+h[i>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){f=~~m>>>0;g=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=289}else E=288}else if((E|0)==281){g=i;f=c[g>>2]|0;g=c[g+4>>2]|0;E=289}if((E|0)==288){E=0;break}else if((E|0)==289){p=f;k=g;E=290;break}}else{k=r;p=c[k>>2]|0;k=c[k+4>>2]|0;E=290}while(0);u:do if((E|0)==290){E=0;f=c[q+8>>2]|0;do if((f|0)!=19){i=q;v:while(1){switch(f|0){case 3:{E=294;break v}case 19:{E=297;break v}default:{}}if((f&15|0)!=4){E=304;break}g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=304;break}i=hb;f=c[Q>>2]|0}if((E|0)==294){n=+h[i>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){f=~~m>>>0;g=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=305}else E=304}else if((E|0)==297){g=i;f=c[g>>2]|0;g=c[g+4>>2]|0;E=305}if((E|0)==304){E=0;break u}else if((E|0)==305){E=0;break}}else{f=q;g=c[f+4>>2]|0;f=c[f>>2]|0}while(0);if((g|0)<0){w=(g|0)<-1|(g|0)==-1&f>>>0<4294967233;f=mQ(0,0,f|0,g|0)|0;f=wQ(p|0,k|0,f|0)|0;f=w?0:f;g=w?0:z}else{g=(g|0)>0|(g|0)==0&f>>>0>63;f=xQ(p|0,k|0,f|0)|0;f=g?0:f;g=g?0:z}c[x>>2]=f;c[x+4>>2]=g;c[C+(y<<4)+8>>2]=19;f=C;continue b}while(0);sx(e,r,q,x,16);f=c[H>>2]|0;continue b}case 24:{r=i>>>23;r=(r&256|0)==0?C+(r<<4)|0:G+((r&255)<<4)|0;q=i>>>14;q=(q&256|0)==0?C+((q&511)<<4)|0:G+((q&255)<<4)|0;f=c[r+8>>2]|0;do if((f|0)!=19){i=r;w:while(1){switch(f|0){case 3:{E=315;break w}case 19:{E=318;break w}default:{}}if((f&15|0)!=4){E=325;break}g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=325;break}i=hb;f=c[L>>2]|0}if((E|0)==315){n=+h[i>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){f=~~m>>>0;g=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=326}else E=325}else if((E|0)==318){g=i;f=c[g>>2]|0;g=c[g+4>>2]|0;E=326}if((E|0)==325){E=0;break}else if((E|0)==326){p=f;k=g;E=327;break}}else{k=r;p=c[k>>2]|0;k=c[k+4>>2]|0;E=327}while(0);x:do if((E|0)==327){E=0;f=c[q+8>>2]|0;do if((f|0)!=19){i=q;y:while(1){switch(f|0){case 3:{E=331;break y}case 19:{E=334;break y}default:{}}if((f&15|0)!=4){E=341;break}g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=341;break}i=hb;f=c[M>>2]|0}if((E|0)==331){n=+h[i>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){f=~~m>>>0;g=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=342}else E=341}else if((E|0)==334){g=i;f=c[g>>2]|0;g=c[g+4>>2]|0;E=342}if((E|0)==341){E=0;break x}else if((E|0)==342){E=0;break}}else{f=q;g=c[f+4>>2]|0;f=c[f>>2]|0}while(0);if((g|0)>0|(g|0)==0&f>>>0>0){g=(g|0)>0|(g|0)==0&f>>>0>63;f=wQ(p|0,k|0,f|0)|0;f=g?0:f;g=g?0:z}else{w=mQ(0,0,f|0,g|0)|0;g=(g|0)<-1|(g|0)==-1&f>>>0<4294967233;f=xQ(p|0,k|0,w|0)|0;f=g?0:f;g=g?0:z}c[x>>2]=f;c[x+4>>2]=g;c[C+(y<<4)+8>>2]=19;f=C;continue b}while(0);sx(e,r,q,x,17);f=c[H>>2]|0;continue b}case 16:{k=i>>>23;k=(k&256|0)==0?C+(k<<4)|0:G+((k&255)<<4)|0;p=i>>>14;p=(p&256|0)==0?C+((p&511)<<4)|0:G+((p&255)<<4)|0;f=c[k+8>>2]|0;z:do switch(f|0){case 19:{if((c[p+8>>2]|0)!=19){E=k;m=+((c[E>>2]|0)>>>0)+4294967296.0*+(c[E+4>>2]|0);E=364;break z}i=c[k>>2]|0;k=c[k+4>>2]|0;g=p;f=c[g>>2]|0;g=c[g+4>>2]|0;w=lQ(f|0,g|0,1,0)|0;v=z;if(v>>>0<0|(v|0)==0&w>>>0<2)if((f|0)==0&(g|0)==0){E=352;break a}else{f=0;g=0}else{v=sQ(i|0,k|0,f|0,g|0)|0;w=z;u=(g^k|0)<0&((v|0)!=0|(w|0)!=0);f=lQ((u?f:0)|0,(u?g:0)|0,v|0,w|0)|0;g=z}c[x>>2]=f;c[x+4>>2]=g;c[C+(y<<4)+8>>2]=19;f=C;continue b}case 3:{n=+h[k>>3];E=365;break}default:if((f&15|0)==4){g=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){v=(c[aa>>2]|0)==19;E=hb;w=c[E>>2]|0;E=c[E+4>>2]|0;c[j>>2]=w;c[j+4>>2]=E;m=v?+(w>>>0)+4294967296.0*+(E|0):+h[j>>3];E=364;break z}}}while(0);if((E|0)==364){n=m;E=365}A:do if((E|0)==365){E=0;f=c[p+8>>2]|0;if((f|0)==3)m=+h[p>>3];else do if((f|0)==19){w=p;m=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[p>>2]|0)+16|0,hb)|0;f=c[p>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){u=(c[$>>2]|0)==19;w=hb;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;m=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}break A}while(0);n=+GO(n,m);h[x>>3]=m*n<0.0?m+n:n;c[C+(y<<4)+8>>2]=3;f=C;continue b}while(0);if(!(rx(e,k,p,x,9)|0)){E=379;break a}f=c[H>>2]|0;continue b}case 19:{k=i>>>23;k=(k&256|0)==0?C+(k<<4)|0:G+((k&255)<<4)|0;i=i>>>14;i=(i&256|0)==0?C+((i&511)<<4)|0:G+((i&255)<<4)|0;f=c[k+8>>2]|0;B:do switch(f|0){case 19:{if((c[i+8>>2]|0)!=19){E=k;m=+((c[E>>2]|0)>>>0)+4294967296.0*+(c[E+4>>2]|0);E=399;break B}q=k;p=c[q>>2]|0;q=c[q+4>>2]|0;k=i;i=c[k>>2]|0;k=c[k+4>>2]|0;w=lQ(i|0,k|0,1,0)|0;v=z;if(!(v>>>0<0|(v|0)==0&w>>>0<2)){g=pQ(p|0,q|0,i|0,k|0)|0;f=z;if((k^q|0)<0){w=sQ(p|0,q|0,i|0,k|0)|0;w=((w|0)!=0|(z|0)!=0)<<31>>31;g=lQ(w|0,((w|0)<0)<<31>>31|0,g|0,f|0)|0;f=z}}else{if((i|0)==0&(k|0)==0){E=385;break a}g=mQ(0,0,p|0,q|0)|0;f=z}c[x>>2]=g;c[x+4>>2]=f;c[C+(y<<4)+8>>2]=19;f=C;continue b}case 3:{n=+h[k>>3];E=400;break}default:if((f&15|0)==4){g=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){v=(c[ca>>2]|0)==19;E=hb;w=c[E>>2]|0;E=c[E+4>>2]|0;c[j>>2]=w;c[j+4>>2]=E;m=v?+(w>>>0)+4294967296.0*+(E|0):+h[j>>3];E=399;break B}}}while(0);if((E|0)==399){n=m;E=400}C:do if((E|0)==400){E=0;f=c[i+8>>2]|0;if((f|0)==3)m=+h[i>>3];else do if((f|0)==19){w=i;m=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){u=(c[ba>>2]|0)==19;w=hb;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;m=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}break C}while(0);h[x>>3]=+A(+(n/m));c[C+(y<<4)+8>>2]=3;f=C;continue b}while(0);if(!(rx(e,k,i,x,12)|0)){E=414;break a}f=c[H>>2]|0;continue b}case 17:{k=i>>>23;k=(k&256|0)==0?C+(k<<4)|0:G+((k&255)<<4)|0;i=i>>>14;i=(i&256|0)==0?C+((i&511)<<4)|0:G+((i&255)<<4)|0;f=c[k+8>>2]|0;D:do if((f|0)==3){m=+h[k>>3];E=428}else{do if((f|0)==19){E=k;m=+((c[E>>2]|0)>>>0)+4294967296.0*+(c[E+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[k>>2]|0)+16|0,hb)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){v=(c[ea>>2]|0)==19;E=hb;w=c[E>>2]|0;E=c[E+4>>2]|0;c[j>>2]=w;c[j+4>>2]=E;m=v?+(w>>>0)+4294967296.0*+(E|0):+h[j>>3];break}}break D}while(0);E=428}while(0);E:do if((E|0)==428){E=0;f=c[i+8>>2]|0;if((f|0)==3)n=+h[i>>3];else do if((f|0)==19){w=i;n=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((f&15|0)==4){g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){u=(c[da>>2]|0)==19;w=hb;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;n=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}break E}while(0);h[x>>3]=+D(+m,+n);c[C+(y<<4)+8>>2]=3;f=C;continue b}while(0);if(!(rx(e,k,i,x,10)|0)){E=442;break a}f=c[H>>2]|0;continue b}case 25:{f=i>>>23;i=C+(f<<4)|0;f=c[C+(f<<4)+8>>2]|0;F:do switch(f|0){case 19:{w=i;f=x;c[f>>2]=mQ(0,0,c[w>>2]|0,c[w+4>>2]|0)|0;c[f+4>>2]=z;c[C+(y<<4)+8>>2]=19;f=C;continue b}case 3:{m=+h[i>>3];break}default:{if((f&15|0)==4){g=Iw((c[i>>2]|0)+16|0,hb)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){u=(c[ja>>2]|0)==19;w=hb;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;m=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break F}}if(!(rx(e,i,i,x,18)|0)){E=455;break a}f=c[H>>2]|0;continue b}}while(0);h[x>>3]=-m;c[C+(y<<4)+8>>2]=3;f=C;continue b}case 26:{w=i>>>23;k=C+(w<<4)|0;do if((c[C+(w<<4)+8>>2]|0)!=19){g=k;G:while(1){f=c[g+8>>2]|0;switch(f|0){case 3:{E=461;break G}case 19:{E=464;break G}default:{}}if((f&15|0)!=4){E=472;break}i=Iw((c[g>>2]|0)+16|0,hb)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0))g=hb;else{E=472;break}}if((E|0)==461){n=+h[g>>3];m=+A(+n);if(!(n!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){g=~~m>>>0;f=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=470}else E=472}else if((E|0)==464){f=g;g=c[f>>2]|0;f=c[f+4>>2]|0;E=470}if((E|0)==470){E=0;break}else if((E|0)==472){E=0;sx(e,k,k,x,19);f=c[H>>2]|0;continue b}}else{f=k;g=c[f>>2]|0;f=c[f+4>>2]|0}while(0);c[x>>2]=~g;c[x+4>>2]=~f;c[C+(y<<4)+8>>2]=19;f=C;continue b}case 27:{f=i>>>23;switch(c[C+(f<<4)+8>>2]|0){case 0:{f=1;break}case 1:{f=(c[C+(f<<4)>>2]|0)==0;break}default:f=0}c[x>>2]=f&1;c[C+(y<<4)+8>>2]=1;f=C;continue b}case 28:{Cx(e,x,C+(i>>>23<<4)|0);f=c[H>>2]|0;continue b}case 29:{k=i>>>23;f=i>>>14&511;c[rb>>2]=C+(f+1<<4);Bx(e,1-k+f|0);f=c[H>>2]|0;C=f+(y<<4)|0;g=f+(k<<4)|0;c[C>>2]=c[g>>2];c[C+4>>2]=c[g+4>>2];c[C+8>>2]=c[g+8>>2];c[C+12>>2]=c[g+12>>2];if((c[(c[Wa>>2]|0)+12>>2]|0)>0){c[rb>>2]=y>>>0>=k>>>0?f+(y+1<<4)|0:g;Ew(e);f=c[J>>2]|0;c[rb>>2]=f}else f=c[J>>2]|0;C=c[H>>2]|0;c[rb>>2]=f;f=C;continue b}case 30:{H:do if(y|0?(fa=(c[H>>2]|0)+(y+-1<<4)|0,ga=c[Ra>>2]|0,ga|0):0){g=ga;do{f=c[g>>2]|0;if(f>>>0>>0)break H;k=g+8|0;c[Ra>>2]=c[k>>2];if(c[g+4>>2]|0){c[k>>2]=c[f>>2];c[k+4>>2]=c[f+4>>2];c[k+8>>2]=c[f+8>>2];c[k+12>>2]=c[f+12>>2];c[g>>2]=k;if((c[g+16>>2]&64|0?(ha=c[Wa>>2]|0,ia=c[k>>2]|0,(d[ha+61>>0]|0)<2):0)?a[ia+5>>0]&3:0)uw(ha,ia)}else{y=c[Wa>>2]|0;jg[c[y>>2]&31](c[y+4>>2]|0,g,24,0)|0;y=y+12|0;c[y>>2]=(g|0?-24:0)+(c[y>>2]|0)}g=c[Ra>>2]|0}while((g|0)!=0)}while(0);c[I>>2]=(c[I>>2]|0)+((i>>>14)+-131071<<2);f=C;continue b}case 31:{x=i>>>23;f=i>>>14;C=(Ax(e,(x&256|0)==0?C+(x<<4)|0:G+((x&255)<<4)|0,(f&256|0)==0?C+((f&511)<<4)|0:G+((f&255)<<4)|0)|0)==(y|0);f=c[I>>2]|0;if(C){k=c[f>>2]|0;g=k>>>6&255;if((g|0)!=0?(ka=(c[H>>2]|0)+(g+-1<<4)|0,la=c[Ra>>2]|0,(la|0)!=0):0){g=la;do{f=c[g>>2]|0;if(f>>>0>>0)break;i=g+8|0;c[Ra>>2]=c[i>>2];if(c[g+4>>2]|0){c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[g>>2]=i;if((c[g+16>>2]&64|0?(ma=c[Wa>>2]|0,na=c[i>>2]|0,(d[ma+61>>0]|0)<2):0)?a[na+5>>0]&3:0)uw(ma,na)}else{C=c[Wa>>2]|0;jg[c[C>>2]&31](c[C+4>>2]|0,g,24,0)|0;C=C+12|0;c[C>>2]=(g|0?-24:0)+(c[C>>2]|0)}g=c[Ra>>2]|0}while((g|0)!=0);f=c[I>>2]|0}f=f+((k>>>14)+-131070<<2)|0}else f=f+4|0;c[I>>2]=f;f=c[H>>2]|0;continue b}case 32:{x=i>>>23;f=i>>>14;C=(yx(e,(x&256|0)==0?C+(x<<4)|0:G+((x&255)<<4)|0,(f&256|0)==0?C+((f&511)<<4)|0:G+((f&255)<<4)|0)|0)==(y|0);f=c[I>>2]|0;if(C){k=c[f>>2]|0;g=k>>>6&255;if((g|0)!=0?(oa=(c[H>>2]|0)+(g+-1<<4)|0,pa=c[Ra>>2]|0,(pa|0)!=0):0){g=pa;do{f=c[g>>2]|0;if(f>>>0>>0)break;i=g+8|0;c[Ra>>2]=c[i>>2];if(c[g+4>>2]|0){c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[g>>2]=i;if((c[g+16>>2]&64|0?(sa=c[Wa>>2]|0,ta=c[i>>2]|0,(d[sa+61>>0]|0)<2):0)?a[ta+5>>0]&3:0)uw(sa,ta)}else{C=c[Wa>>2]|0;jg[c[C>>2]&31](c[C+4>>2]|0,g,24,0)|0;C=C+12|0;c[C>>2]=(g|0?-24:0)+(c[C>>2]|0)}g=c[Ra>>2]|0}while((g|0)!=0);f=c[I>>2]|0}f=f+((k>>>14)+-131070<<2)|0}else f=f+4|0;c[I>>2]=f;f=c[H>>2]|0;continue b}case 33:{x=i>>>23;f=i>>>14;C=(zx(e,(x&256|0)==0?C+(x<<4)|0:G+((x&255)<<4)|0,(f&256|0)==0?C+((f&511)<<4)|0:G+((f&255)<<4)|0)|0)==(y|0);f=c[I>>2]|0;if(C){k=c[f>>2]|0;g=k>>>6&255;if((g|0)!=0?(ua=(c[H>>2]|0)+(g+-1<<4)|0,va=c[Ra>>2]|0,(va|0)!=0):0){g=va;do{f=c[g>>2]|0;if(f>>>0>>0)break;i=g+8|0;c[Ra>>2]=c[i>>2];if(c[g+4>>2]|0){c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[g>>2]=i;if((c[g+16>>2]&64|0?(wa=c[Wa>>2]|0,xa=c[i>>2]|0,(d[wa+61>>0]|0)<2):0)?a[xa+5>>0]&3:0)uw(wa,xa)}else{C=c[Wa>>2]|0;jg[c[C>>2]&31](c[C+4>>2]|0,g,24,0)|0;C=C+12|0;c[C>>2]=(g|0?-24:0)+(c[C>>2]|0)}g=c[Ra>>2]|0}while((g|0)!=0);f=c[I>>2]|0}f=f+((k>>>14)+-131070<<2)|0}else f=f+4|0;c[I>>2]=f;f=c[H>>2]|0;continue b}case 34:{f=c[C+(y<<4)+8>>2]|0;g=(f|0)==0;if(!(i&8372224)){if(!g)if(!((f|0)==1?!(c[x>>2]|0):0))E=545}else if(!g){if((f|0)==1?(c[x>>2]|0)==0:0)E=545}else E=545;if((E|0)==545){E=0;c[I>>2]=(c[I>>2]|0)+4;f=C;continue b}f=c[I>>2]|0;k=c[f>>2]|0;g=k>>>6&255;if((g|0)!=0?(za=(c[H>>2]|0)+(g+-1<<4)|0,Aa=c[Ra>>2]|0,(Aa|0)!=0):0){g=Aa;do{f=c[g>>2]|0;if(f>>>0>>0)break;i=g+8|0;c[Ra>>2]=c[i>>2];if(c[g+4>>2]|0){c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[g>>2]=i;if((c[g+16>>2]&64|0?(Ba=c[Wa>>2]|0,Ca=c[i>>2]|0,(d[Ba+61>>0]|0)<2):0)?a[Ca+5>>0]&3:0)uw(Ba,Ca)}else{y=c[Wa>>2]|0;jg[c[y>>2]&31](c[y+4>>2]|0,g,24,0)|0;y=y+12|0;c[y>>2]=(g|0?-24:0)+(c[y>>2]|0)}g=c[Ra>>2]|0}while((g|0)!=0);f=c[I>>2]|0}c[I>>2]=f+((k>>>14)+-131070<<2);f=C;continue b}case 35:{g=i>>>23;f=C+(g<<4)|0;g=c[C+(g<<4)+8>>2]|0;k=(g|0)==0;if(!(i&8372224)){if(!k)if(!((g|0)==1?!(c[f>>2]|0):0))E=565}else if(!k){if((g|0)==1?(c[f>>2]|0)==0:0)E=565}else E=565;if((E|0)==565){E=0;c[I>>2]=(c[I>>2]|0)+4;f=C;continue b};c[x>>2]=c[f>>2];c[x+4>>2]=c[f+4>>2];c[x+8>>2]=c[f+8>>2];c[x+12>>2]=c[f+12>>2];f=c[I>>2]|0;k=c[f>>2]|0;g=k>>>6&255;if((g|0)!=0?(Da=(c[H>>2]|0)+(g+-1<<4)|0,Ea=c[Ra>>2]|0,(Ea|0)!=0):0){g=Ea;do{f=c[g>>2]|0;if(f>>>0>>0)break;i=g+8|0;c[Ra>>2]=c[i>>2];if(c[g+4>>2]|0){c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[g>>2]=i;if((c[g+16>>2]&64|0?(Fa=c[Wa>>2]|0,Ga=c[i>>2]|0,(d[Fa+61>>0]|0)<2):0)?a[Ga+5>>0]&3:0)uw(Fa,Ga)}else{y=c[Wa>>2]|0;jg[c[y>>2]&31](c[y+4>>2]|0,g,24,0)|0;y=y+12|0;c[y>>2]=(g|0?-24:0)+(c[y>>2]|0)}g=c[Ra>>2]|0}while((g|0)!=0);f=c[I>>2]|0}c[I>>2]=f+((k>>>14)+-131070<<2);f=C;continue b}case 36:{g=i>>>23;f=i>>>14&511;if(g|0)c[rb>>2]=C+(y+g<<4);if(!(gw(e,x,f+-1|0)|0)){E=584;break b}if(f|0)c[rb>>2]=c[J>>2];f=c[H>>2]|0;continue b}case 37:{f=i>>>23;if(f|0)c[rb>>2]=C+(y+f<<4);if(!(gw(e,x,-1)|0)){E=589;break b}f=c[H>>2]|0;continue b}case 39:{f=C+(y+2<<4)|0;if((c[C+(y<<4)+8>>2]|0)==19){v=f;w=c[v>>2]|0;v=c[v+4>>2]|0;f=x;f=lQ(c[f>>2]|0,c[f+4>>2]|0,w|0,v|0)|0;g=z;p=C+(y+1<<4)|0;k=c[p>>2]|0;p=c[p+4>>2]|0;if((v|0)>0|(v|0)==0&w>>>0>0){if((g|0)>(p|0)|(g|0)==(p|0)&f>>>0>k>>>0){f=C;continue b}}else if((p|0)>(g|0)|(p|0)==(g|0)&k>>>0>f>>>0){f=C;continue b}c[I>>2]=(c[I>>2]|0)+((i>>>14)+-131071<<2);c[x>>2]=f;c[x+4>>2]=g;y=y+3|0;x=C+(y<<4)|0;c[x>>2]=f;c[x+4>>2]=g;c[C+(y<<4)+8>>2]=19;f=C;continue b}else{sb=+h[f>>3];m=sb+ +h[x>>3];n=+h[C+(y+1<<4)>>3];if(sb>0.0){if(!(m<=n)){f=C;continue b}}else if(!(n<=m)){f=C;continue b}c[I>>2]=(c[I>>2]|0)+((i>>>14)+-131071<<2);h[x>>3]=m;f=y+3|0;h[C+(f<<4)>>3]=m;c[C+(f<<4)+8>>2]=3;f=C;continue b}}case 40:{s=y+1|0;u=C+(s<<4)|0;t=y+2|0;v=C+(t<<4)|0;w=C+(y<<4)+8|0;I:do if((c[w>>2]|0)==19?(c[C+(t<<4)+8>>2]|0)==19:0){q=v;p=c[q>>2]|0;q=c[q+4>>2]|0;r=(q|0)<0;g=u;J:while(1){f=c[g+8>>2]|0;switch(f|0){case 3:{E=632;break J}case 19:{E=634;break J}default:{}}if((f&15|0)!=4){E=641;break}k=Iw((c[g>>2]|0)+16|0,hb)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0))g=hb;else{E=641;break}}if((E|0)==632){sb=+h[g>>3];m=+A(+sb);m=r&sb!=m?m+1.0:m;if(m>=-9223372036854775808.0&m<9223372036854775808.0){k=~~m>>>0;g=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;E=640}else E=641}else if((E|0)==634){k=c[g>>2]|0;g=c[g+4>>2]|0;E=640}do if((E|0)==640){f=C+(s<<4)+8|0;E=656}else if((E|0)==641){E=0;f=C+(s<<4)+8|0;g=c[f>>2]|0;if((g|0)==3)m=+h[u>>3];else do if((g|0)==19){y=u;m=+((c[y>>2]|0)>>>0)+4294967296.0*+(c[y+4>>2]|0)}else{if((g&15|0)==4){k=Iw((c[u>>2]|0)+16|0,hb)|0;g=c[u>>2]|0;if((a[g+4>>0]|0)==4)g=d[g+7>>0]|0;else g=c[g+12>>2]|0;if((k|0)==(g+1|0)){s=(c[ra>>2]|0)==19;y=hb;t=c[y>>2]|0;y=c[y+4>>2]|0;c[j>>2]=t;c[j+4>>2]=y;m=s?+(t>>>0)+4294967296.0*+(y|0):+h[j>>3];break}}E=658;break I}while(0);if(m>0.0)if(r){q=-1;g=2147483647;k=0;p=0;break}else{k=-1;g=2147483647;E=656;break}else if((q|0)>-1|(q|0)==-1&p>>>0>4294967295){q=0;g=-2147483648;k=0;p=0;break}else{k=0;g=-2147483648;E=656;break}}while(0);if((E|0)==656){E=0;p=x;q=k;k=c[p>>2]|0;p=c[p+4>>2]|0}y=u;c[y>>2]=q;c[y+4>>2]=g;c[f>>2]=19;y=v;y=mQ(k|0,p|0,c[y>>2]|0,c[y+4>>2]|0)|0;f=x;c[f>>2]=y;c[f+4>>2]=z;f=19}else E=658;while(0);if((E|0)==658){E=0;k=C+(s<<4)+8|0;f=c[k>>2]|0;if((f|0)==3){f=u;m=+h[u>>3]}else{if((f|0)==19){y=u;m=+((c[y>>2]|0)>>>0)+4294967296.0*+(c[y+4>>2]|0)}else{if((f&15|0)!=4){E=669;break a}g=Iw((c[u>>2]|0)+16|0,hb)|0;f=c[u>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=669;break a}r=(c[Ma>>2]|0)==19;y=hb;s=c[y>>2]|0;y=c[y+4>>2]|0;c[j>>2]=s;c[j+4>>2]=y;m=r?+(s>>>0)+4294967296.0*+(y|0):+h[j>>3]}f=u}h[f>>3]=m;c[k>>2]=3;k=C+(t<<4)+8|0;f=c[k>>2]|0;if((f|0)==3){f=v;n=+h[v>>3]}else{if((f|0)==19){y=v;m=+((c[y>>2]|0)>>>0)+4294967296.0*+(c[y+4>>2]|0)}else{if((f&15|0)!=4){E=681;break a}g=Iw((c[v>>2]|0)+16|0,hb)|0;f=c[v>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=681;break a}t=(c[Ha>>2]|0)==19;y=hb;u=c[y>>2]|0;y=c[y+4>>2]|0;c[j>>2]=u;c[j+4>>2]=y;m=t?+(u>>>0)+4294967296.0*+(y|0):+h[j>>3]}f=v;n=m}h[f>>3]=n;c[k>>2]=3;f=c[w>>2]|0;if((f|0)==3){f=x;m=+h[x>>3]}else{if((f|0)==19){y=x;m=+((c[y>>2]|0)>>>0)+4294967296.0*+(c[y+4>>2]|0)}else{if((f&15|0)!=4){E=693;break a}g=Iw((c[x>>2]|0)+16|0,hb)|0;f=c[x>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){E=693;break a}u=(c[ya>>2]|0)==19;y=hb;v=c[y>>2]|0;y=c[y+4>>2]|0;c[j>>2]=v;c[j+4>>2]=y;m=u?+(v>>>0)+4294967296.0*+(y|0):+h[j>>3]}f=x}h[f>>3]=m-n;f=3}c[w>>2]=f;c[I>>2]=(c[I>>2]|0)+((i>>>14)+-131071<<2);f=C;continue b}case 41:{k=C+(y+3<<4)|0;f=C+(y+5<<4)|0;g=C+(y+2<<4)|0;c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];c[f+12>>2]=c[g+12>>2];f=C+(y+4<<4)|0;g=C+(y+1<<4)|0;c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];c[f+12>>2]=c[g+12>>2];c[k>>2]=c[x>>2];c[k+4>>2]=c[x+4>>2];c[k+8>>2]=c[x+8>>2];c[k+12>>2]=c[x+12>>2];c[rb>>2]=C+(y+6<<4);f=i>>>14&511;g=(b[Sa>>1]|0)+1<<16>>16;b[Sa>>1]=g;if((g&65535)>199){if(g<<16>>16==200){E=698;break a}if((g&65535)>224){E=700;break a}}if(!(gw(e,k,f)|0))Ex(e);b[Sa>>1]=(b[Sa>>1]|0)+-1<<16>>16;C=c[H>>2]|0;c[rb>>2]=c[J>>2];g=c[I>>2]|0;c[I>>2]=g+4;g=c[g>>2]|0;f=C;i=g;g=C+((g>>>6&255)<<4)|0;break}case 42:{f=C;g=x;break}case 43:{f=i>>>23;g=i>>>14&511;if(!f)f=((c[rb>>2]|0)-x>>4)+-1|0;if(!g){g=c[I>>2]|0;c[I>>2]=g+4;g=(c[g>>2]|0)>>>6}x=c[x>>2]|0;i=f+-50+(g*50|0)|0;w=x+8|0;if(i>>>0>(c[w>>2]|0)>>>0){if((c[x+16>>2]|0)==316104)g=0;else g=1<>0];mx(e,x,i,g)}if((f|0)>0){r=x+5|0;s=x+12|0;t=x+28|0;u=x+7|0;v=x+16|0;while(1){p=f+y|0;q=C+(p<<4)|0;g=lQ(i|0,0,-1,-1)|0;E=z;K:do if(E>>>0<0|((E|0)==0?g>>>0<(c[w>>2]|0)>>>0:0)){g=(c[s>>2]|0)+(g<<4)|0;E=724}else{g=(c[v>>2]|0)+(((1<>0])+-1&i)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(E=g+16|0,(c[E+4>>2]|0)==0?(c[E>>2]|0)==(i|0):0):0)break;k=c[g+28>>2]|0;if(!k){E=725;break K}g=g+(k<<5)|0}E=724}while(0);if((E|0)==724){E=0;if((g|0)==316088)E=725}if((E|0)==725){E=0;g=hb;c[g>>2]=i;c[g+4>>2]=0;c[Ua>>2]=19;g=nx(e,x,hb)|0};i=i+-1|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];if((c[C+(p<<4)+8>>2]&64|0?(Ta=a[r>>0]|0,Ta&4):0)?a[(c[q>>2]|0)+5>>0]&3:0){q=c[Wa>>2]|0;a[r>>0]=Ta&-5;q=q+80|0;c[t>>2]=c[q>>2];c[q>>2]=x}if((f|0)<=1)break;else f=f+-1|0}}c[rb>>2]=c[J>>2];f=C;continue b}case 44:{u=c[(c[(c[K>>2]|0)+52>>2]|0)+(i>>>14<<2)>>2]|0;v=u+68|0;g=c[v>>2]|0;s=c[u+12>>2]|0;t=c[u+64>>2]|0;L:do if(!g)E=739;else{if((s|0)>0){i=0;do{f=d[t+(i<<3)+5>>0]|0;if(!(a[t+(i<<3)+4>>0]|0))f=c[c[F+16+(f<<2)>>2]>>2]|0;else f=C+(f<<4)|0;if((c[c[g+16+(i<<2)>>2]>>2]|0)!=(f|0)){E=739;break L}i=i+1|0}while((i|0)<(s|0))}c[x>>2]=g;c[C+(y<<4)+8>>2]=70}while(0);if((E|0)==739){E=0;i=(s<<2)+16|0;k=c[Wa>>2]|0;f=k+4|0;g=jg[c[k>>2]&31](c[f>>2]|0,0,6,i)|0;if((i|0)!=0&(g|0)==0){if(!(c[k+140>>2]|0)){E=742;break a}Fw(e,1);f=jg[c[k>>2]&31](c[f>>2]|0,0,6,i)|0;if(!f){E=742;break a}else g=f}w=k+12|0;c[w>>2]=i+(c[w>>2]|0);a[g+5>>0]=a[k+60>>0]&3;a[g+4>>0]=6;i=k+64|0;c[g>>2]=c[i>>2];c[i>>2]=g;i=g+12|0;c[i>>2]=0;a[g+6>>0]=s;if(s){k=g+16|0;f=s;do{f=f+-1|0;c[k+(f<<2)>>2]=0}while((f|0)!=0);c[i>>2]=u;c[x>>2]=g;c[C+(y<<4)+8>>2]=70;if((s|0)>0){r=0;do{f=d[t+(r<<3)+5>>0]|0;if(!(a[t+(r<<3)+4>>0]|0)){f=c[F+16+(f<<2)>>2]|0;c[g+16+(r<<2)>>2]=f}else{q=C+(f<<4)|0;f=c[Ra>>2]|0;M:do if(!f){i=Ra;E=753}else{i=Ra;while(1){k=c[f>>2]|0;if(k>>>0>>0){E=753;break M}if((k|0)==(q|0))break M;i=f+8|0;f=c[i>>2]|0;if(!f){E=753;break}}}while(0);if((E|0)==753){E=0;p=c[Wa>>2]|0;k=p+4|0;f=jg[c[p>>2]&31](c[k>>2]|0,0,0,24)|0;if(!f){if(!(c[p+140>>2]|0)){E=756;break a}Fw(e,1);f=jg[c[p>>2]&31](c[k>>2]|0,0,0,24)|0;if(!f){E=756;break a}}x=p+12|0;c[x>>2]=(c[x>>2]|0)+24;c[f+4>>2]=0;c[f+8>>2]=c[i>>2];c[f+12>>2]=1;c[i>>2]=f;c[f>>2]=q;if((c[Va>>2]|0)==(e|0)){x=(c[Wa>>2]|0)+104|0;c[Va>>2]=c[x>>2];c[x>>2]=e}}c[g+16+(r<<2)>>2]=f}x=f+4|0;c[x>>2]=(c[x>>2]|0)+1;r=r+1|0}while((r|0)!=(s|0))}}else{c[i>>2]=u;c[x>>2]=g;c[C+(y<<4)+8>>2]=70}if(!(a[u+5>>0]&4))c[v>>2]=g}if((c[(c[Wa>>2]|0)+12>>2]|0)>0){c[rb>>2]=C+(y+1<<4);Ew(e);c[rb>>2]=c[J>>2]}f=c[H>>2]|0;continue b}case 45:{x=i>>>23;g=x+-1|0;i=(C-(c[o>>2]|0)>>4)-(d[(c[K>>2]|0)+6>>0]|0)|0;q=i+-1|0;if(!x){f=c[rb>>2]|0;if(((c[Qa>>2]|0)-f>>4|0)<(i|0)){g=c[Xa>>2]|0;if((g|0)>1e6){E=771;break a}C=i+4+(f-(c[Ya>>2]|0)>>4)|0;f=g<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(C|0)?C:f;if((f|0)>1e6){E=773;break a}ew(e,f)}f=c[H>>2]|0;c[rb>>2]=f+(q+y<<4);g=q}else f=C;if((g|0)<=0)continue b;p=1-i|0;i=0;while(1){k=i+y|0;if((i|0)<(q|0)){C=f+(k<<4)|0;x=f+(p+i<<4)|0;c[C>>2]=c[x>>2];c[C+4>>2]=c[x+4>>2];c[C+8>>2]=c[x+8>>2];c[C+12>>2]=c[x+12>>2]}else c[f+(k<<4)+8>>2]=0;i=i+1|0;if((i|0)==(g|0))continue b}}default:{f=C;continue b}}while(0);if(!(c[g+24>>2]|0))continue;C=g+16|0;c[g>>2]=c[C>>2];c[g+4>>2]=c[C+4>>2];c[g+8>>2]=c[C+8>>2];c[g+12>>2]=c[C+12>>2];c[I>>2]=(c[I>>2]|0)+((i>>>14)+-131071<<2)}if((E|0)==584){E=0;o=c[X>>2]|0;K=o+34|0;a[K>>0]=a[K>>0]|8;continue}else if((E|0)==589){E=0;k=c[X>>2]|0;o=c[k+8>>2]|0;p=c[k>>2]|0;q=c[o>>2]|0;r=k+16|0;s=(c[r>>2]|0)+(d[(c[(c[p>>2]|0)+12>>2]|0)+6>>0]<<4)|0;N:do if((c[(c[K>>2]|0)+28>>2]|0)>0?(Ia=c[o+16>>2]|0,Ja=c[Ra>>2]|0,Ja|0):0){g=Ja;do{f=c[g>>2]|0;if(f>>>0>>0)break N;i=g+8|0;c[Ra>>2]=c[i>>2];if(c[g+4>>2]|0){c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[g>>2]=i;if((c[g+16>>2]&64|0?(Ka=c[Wa>>2]|0,La=c[i>>2]|0,(d[Ka+61>>0]|0)<2):0)?a[La+5>>0]&3:0)uw(Ka,La)}else{K=c[Wa>>2]|0;jg[c[K>>2]&31](c[K+4>>2]|0,g,24,0)|0;K=K+12|0;c[K>>2]=(g|0?-24:0)+(c[K>>2]|0)}g=c[Ra>>2]|0}while((g|0)!=0)}while(0);if(p>>>0>>0){f=p;g=0;do{K=q+(g<<4)|0;c[K>>2]=c[f>>2];c[K+4>>2]=c[f+4>>2];c[K+8>>2]=c[f+8>>2];c[K+12>>2]=c[f+12>>2];g=g+1|0;f=p+(g<<4)|0}while(f>>>0>>0)}K=p;c[o+16>>2]=q+((c[r>>2]|0)-K>>4<<4);K=q+((c[rb>>2]|0)-K>>4<<4)|0;c[rb>>2]=K;c[o+4>>2]=K;c[o+20>>2]=c[k+20>>2];K=o+34|0;a[K>>0]=a[K>>0]|32;c[X>>2]=o;continue}else if((E|0)==602){E=0;k=i>>>23;O:do if((c[(c[K>>2]|0)+28>>2]|0)>0?(Na=c[Ra>>2]|0,Na|0):0){g=Na;do{f=c[g>>2]|0;if(f>>>0>>0)break O;i=g+8|0;c[Ra>>2]=c[i>>2];if(c[g+4>>2]|0){c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[g>>2]=i;if((c[g+16>>2]&64|0?(Oa=c[Wa>>2]|0,Pa=c[i>>2]|0,(d[Oa+61>>0]|0)<2):0)?a[Pa+5>>0]&3:0)uw(Oa,Pa)}else{K=c[Wa>>2]|0;jg[c[K>>2]&31](c[K+4>>2]|0,g,24,0)|0;K=K+12|0;c[K>>2]=(g|0?-24:0)+(c[K>>2]|0)}g=c[Ra>>2]|0}while((g|0)!=0)}while(0);if(!k)f=(c[rb>>2]|0)-x>>4;else f=k+-1|0;g=hw(e,x,f)|0;if(!(a[o+34>>0]&8)){E=616;break}f=c[X>>2]|0;if(!g){o=f;continue}c[rb>>2]=c[f+4>>2];o=f;continue}}switch(E|0){case 22:{if(!t){pb=f+-4|0;c[g>>2]=pb;pb=a[u>>0]|0;pb=pb|64;a[u>>0]=pb;pb=c[rb>>2]|0;pb=pb+-16|0;c[v>>2]=pb;cw(e,1)}c[qb>>2]=1;qb=f+-4|0;c[g>>2]=qb;qb=a[u>>0]|0;qb=qb|64;a[u>>0]=qb;rb=c[rb>>2]|0;rb=rb+-16|0;c[v>>2]=rb;cw(e,1);break}case 46:{cw(e,4);break}case 84:{aw(e,k,i,281238);break}case 113:{aw(e,k,i,281238);break}case 142:{aw(e,k,i,281238);break}case 170:{aw(e,k,i,281238);break}case 352:{_v(e,281637,ib);break}case 379:{aw(e,k,p,281238);break}case 385:{_v(e,281611,jb);break}case 414:{aw(e,k,i,281238);break}case 442:{aw(e,k,i,281238);break}case 455:{aw(e,i,i,281238);break}case 616:{l=pb;return}case 669:{_v(e,281663,lb);break}case 681:{_v(e,281692,mb);break}case 693:{_v(e,281720,nb);break}case 698:{_v(e,279702,ob);break}case 700:{cw(e,6);break}case 742:{cw(e,4);break}case 756:{cw(e,4);break}case 771:{cw(e,6);break}case 773:{ew(e,1000200);_v(e,283170,kb);break}}}function Fx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;n=p;o=b+8|0;h=b+16|0;i=(c[o>>2]|0)-((c[c[h>>2]>>2]|0)+16)|0;k=i>>4;Wv(b,281871,d)|0;j=b+12|0;f=c[j>>2]|0;g=c[o>>2]|0;e=f+280+(((285394>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(285394,d+16|0)|0){d=jx(b,285394,7)|0;c[e>>2]=d}c[g>>2]=d;c[g+8>>2]=(a[d+4>>0]|64)&255;g=c[o>>2]|0;c[o>>2]=g+16;wx(b,f+40|0,g,g);f=k+1|0;if(!(Gx(b,f,2)|0)){if((i|0)<=-16){n=0;b=(c[o>>2]|0)+(f<<4)|0;c[o>>2]=b;l=p;return n|0}d=c[c[h>>2]>>2]|0;g=c[o>>2]|0;f=d+(f<<4)|0;if(g>>>0>=f>>>0){n=0;b=f;c[o>>2]=b;l=p;return n|0}d=(d+(k<<4)+8+4+(3-g)|0)>>>4;e=g;do{c[e+8>>2]=0;e=e+16|0}while(e>>>0>>0);c[o>>2]=g+(d+1<<4);n=0;b=f;c[o>>2]=b;l=p;return n|0}d=c[o>>2]|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;m=9;break}case 3:{if((c[(c[j>>2]|0)+12>>2]|0)>0){Ew(b);d=c[o>>2]|0}d=d+-16|0;Jw(b,d);m=9;break}default:d=0}if((m|0)==9)d=(c[d>>2]|0)+16|0;if(!(yN(d,281873,3)|0)){Gv(b,d+3|0);e=c[o>>2]|0;d=e+-16|0;e=e+-32|0;do{c[n>>2]=c[e>>2];c[n+4>>2]=c[e+4>>2];c[n+8>>2]=c[e+8>>2];c[n+12>>2]=c[e+12>>2];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[d>>2]=c[n>>2];c[d+4>>2]=c[n+4>>2];c[d+8>>2]=c[n+8>>2];c[d+12>>2]=c[n+12>>2];e=e+16|0;d=d+-16|0}while(e>>>0>>0);c[o>>2]=(c[o>>2]|0)+-16}Dv(b,f);n=1;b=(c[o>>2]|0)+-32|0;c[o>>2]=b;l=p;return n|0}function Gx(b,e,f){b=b|0;e=e|0;f=f|0;var 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;v=l;l=l+16|0;u=v;if(!f){u=0;l=v;return u|0}s=b+8|0;g=c[s>>2]|0;if((g+-16|0)==316088){u=0;l=v;return u|0}if((c[g+-8>>2]&15|0)!=5){u=0;l=v;return u|0}c[g+8>>2]=0;c[s>>2]=g+16;if(!(Sv(b,-2)|0)){u=0;l=v;return u|0}h=f+-1|0;i=b+16|0;j=(e|0)>0;k=(e|0)<-1000999;m=(e|0)==-1001e3;t=b+12|0;n=-1001e3-e|0;o=n+-1|0;while(1){g=c[s>>2]|0;if((g+-32|0)!=316088?(c[g+-24>>2]&15|0)==4:0){f=c[i>>2]|0;do if(!j){if(!k){p=g+(e<<4)|0;r=16;break}if(m){p=(c[t>>2]|0)+40|0;r=16;break}f=c[f>>2]|0;if((c[f+8>>2]|0)!=22){p=c[f>>2]|0;p=(n|0)>(d[p+6>>0]|0|0)?316088:p+16+(o<<4)|0;r=16}}else{p=(c[f>>2]|0)+(e<<4)|0;p=p>>>0>>0?p:316088;r=16}while(0);if(((r|0)==16?(r=0,q=g+-16|0,(p|0)!=316088&(q|0)!=316088):0)?Ax(0,p,q)|0:0){r=18;break}f=(Gx(b,e,h)|0)==0;g=c[s>>2]|0;if(!f){r=20;break}}c[s>>2]=g+-16;if(!(Sv(b,-2)|0)){g=0;r=33;break}}if((r|0)==18){c[s>>2]=(c[s>>2]|0)+-16;u=1;l=v;return u|0}else if((r|0)==20){f=g+-16|0;g=g+-32|0;do{c[u>>2]=c[g>>2];c[u+4>>2]=c[g+4>>2];c[u+8>>2]=c[g+8>>2];c[u+12>>2]=c[g+12>>2];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];c[f>>2]=c[u>>2];c[f+4>>2]=c[u+4>>2];c[f+8>>2]=c[u+8>>2];c[f+12>>2]=c[u+12>>2];g=g+16|0;f=f+-16|0}while(g>>>0>>0);c[s>>2]=(c[s>>2]|0)+-16;g=c[t>>2]|0;if((c[g+12>>2]|0)>0){Ew(b);g=c[t>>2]|0}f=g+280+(((314101>>>0)%127|0)<<2)|0;g=c[f>>2]|0;if(wN(314101,g+16|0)|0){g=jx(b,314101,1)|0;c[f>>2]=g}f=c[s>>2]|0;c[f>>2]=g;c[f+8>>2]=(a[g+4>>0]|64)&255;f=c[s>>2]|0;c[s>>2]=f+16;g=f;f=f+-16|0;do{c[u>>2]=c[f>>2];c[u+4>>2]=c[f+4>>2];c[u+8>>2]=c[f+8>>2];c[u+12>>2]=c[f+12>>2];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[g>>2]=c[u>>2];c[g+4>>2]=c[u+4>>2];c[g+8>>2]=c[u+8>>2];c[g+12>>2]=c[u+12>>2];f=f+16|0;g=g+-16|0}while(f>>>0>>0);if((c[(c[t>>2]|0)+12>>2]|0)>0)Ew(b);Bx(b,3);u=1;l=v;return u|0}else if((r|0)==33){l=v;return g|0}return 0}function Hx(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=l;l=l+128|0;i=j+16|0;g=j+8|0;f=j;h=j+28|0;e=c[a+16>>2]|0;if((e|0)==(a+48|0)){c[f>>2]=b;c[f+4>>2]=d;Ix(a,281877,f);l=j;return 0}c[h+96>>2]=e;Wv(a,285042,h)|0;if(!(wN(c[h+8>>2]|0,281899)|0)){b=b+-1|0;if(!b){c[g>>2]=c[h+4>>2];c[g+4>>2]=d;Ix(a,281906,g);l=j;return 0}else g=b}else g=b;f=h+4|0;b=c[f>>2]|0;if(!b){a:do if(!(Fx(a,h)|0))b=285673;else{e=a+8|0;b=c[e>>2]|0;switch(c[b+-8>>2]&15){case 4:{b=b+-16|0;break}case 3:{if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);b=c[e>>2]|0}b=b+-16|0;Jw(a,b);break}default:{b=0;break a}}b=(c[b>>2]|0)+16|0}while(0);c[f>>2]=b}c[i>>2]=g;c[i+4>>2]=b;c[i+8>>2]=d;Ix(a,281936,i);l=j;return 0}function Ix(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;k=l;l=l+128|0;j=k;h=k+24|0;k=k+8|0;c[k>>2]=e;f=c[b+16>>2]|0;e=b+48|0;if(((f|0)!=(e|0)?(i=c[f+8>>2]|0,(i|0)!=(e|0)):0)?(c[h+96>>2]=i,Wv(b,281966,h)|0,g=c[h+20>>2]|0,(g|0)>0):0){c[j>>2]=h+36;c[j+4>>2]=g;Hv(b,281969,j)|0;e=b+12|0}else{e=b+12|0;f=c[e>>2]|0;if((c[f+12>>2]|0)>0){Ew(b);f=c[e>>2]|0}g=f+280+(((334803>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(334803,f+16|0)|0){f=jx(b,334803,0)|0;c[g>>2]=f}j=b+8|0;i=c[j>>2]|0;c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;c[j>>2]=(c[j>>2]|0)+16}if((c[(c[e>>2]|0)+12>>2]|0)<=0){Kw(b,d,k)|0;Tv(b,2);$v(b)}Ew(b);Kw(b,d,k)|0;Tv(b,2);$v(b)}function Jx(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[b+16>>2]|0;h=(e|0)>0;do if(!h){if((e|0)>=-1000999){f=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){f=(c[b+12>>2]|0)+40|0;break}f=-1001e3-e|0;g=c[j>>2]|0;if((c[g+8>>2]|0)==22)f=316088;else{l=c[g>>2]|0;f=(f|0)>(d[l+6>>0]|0|0)?316088:l+16+(f+-1<<4)|0}}else{f=(c[j>>2]|0)+(e<<4)|0;f=f>>>0<(c[b+8>>2]|0)>>>0?f:316088}while(0);switch(c[f+8>>2]&15){case 7:{l=(c[f>>2]|0)+24|0;i=12;break}case 2:{f=c[f>>2]|0;if(f|0){l=f;i=12}break}default:{}}do if((i|0)==12){do if(!h){if((e|0)>=-1000999){f=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){f=(c[b+12>>2]|0)+40|0;break}g=-1001e3-e|0;f=c[j>>2]|0;if((c[f+8>>2]|0)==22)f=316088;else{f=c[f>>2]|0;f=(g|0)>(d[f+6>>0]|0|0)?316088:f+16+(g+-1<<4)|0}}else{f=(c[j>>2]|0)+(e<<4)|0;f=f>>>0<(c[b+8>>2]|0)>>>0?f:316088}while(0);g=c[f+8>>2]|0;switch(g&15){case 5:{f=(c[f>>2]|0)+24|0;break}case 7:{f=(c[f>>2]|0)+8|0;break}default:f=(c[b+12>>2]|0)+244+((g&15)<<2)|0}f=c[f>>2]|0;if(f|0){k=b+8|0;h=c[k>>2]|0;c[h>>2]=f;c[h+8>>2]=69;h=c[k>>2]|0;i=h+16|0;c[k>>2]=i;j=c[b+12>>2]|0;g=j+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(b,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[h+24>>2]=(a[f+4>>0]|64)&255;g=c[k>>2]|0;c[k>>2]=g+16;wx(b,j+40|0,g,g);g=c[k>>2]|0;f=g+-16|0;g=g+-32|0;if(!((f|0)!=316088&(g|0)!=316088)){c[k>>2]=g;break}j=(Ax(0,f,g)|0)==0;c[k>>2]=(c[k>>2]|0)+-32;if(!j){e=l;return e|0}}}while(0);Kx(b,e,285773);e=0;return e|0}function Kx(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;q=r+16|0;m=r;n=b+16|0;g=c[n>>2]|0;o=(e|0)>0;do if(!o){if((e|0)>=-1000999){g=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){g=(c[b+12>>2]|0)+40|0;break}h=-1001e3-e|0;g=c[g>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(h|0)>(d[g+6>>0]|0|0)?316088:g+16+(h+-1<<4)|0}}else{g=(c[g>>2]|0)+(e<<4)|0;g=g>>>0<(c[b+8>>2]|0)>>>0?g:316088}while(0);h=c[g+8>>2]|0;switch(h&15){case 5:{g=(c[g>>2]|0)+24|0;break}case 7:{g=(c[g>>2]|0)+8|0;break}default:g=(c[b+12>>2]|0)+244+((h&15)<<2)|0}g=c[g>>2]|0;do if(g|0){k=b+8|0;j=c[k>>2]|0;c[j>>2]=g;c[j+8>>2]=69;c[k>>2]=(c[k>>2]|0)+16;j=b+12|0;g=c[j>>2]|0;if((c[g+12>>2]|0)>0){Ew(b);g=c[j>>2]|0}h=g+280+(((281977>>>0)%127|0)<<2)|0;g=c[h>>2]|0;if(wN(281977,g+16|0)|0){g=jx(b,281977,6)|0;c[h>>2]=g}i=c[k>>2]|0;c[i>>2]=g;c[i+8>>2]=(a[g+4>>0]|64)&255;g=c[k>>2]|0;c[k>>2]=g+16;i=ox(c[g+-16>>2]|0,g)|0;c[g>>2]=c[i>>2];c[g+4>>2]=c[i+4>>2];c[g+8>>2]=c[i+8>>2];c[g+12>>2]=c[i+12>>2];g=c[k>>2]|0;i=c[g+-8>>2]&15;if(!i){c[k>>2]=g+-32;break}h=g+-16|0;g=g+-32|0;do{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[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[h>>2]=c[m>>2];c[h+4>>2]=c[m+4>>2];c[h+8>>2]=c[m+8>>2];c[h+12>>2]=c[m+12>>2];g=g+16|0;h=h+-16|0}while(g>>>0>>0);h=c[k>>2]|0;g=h+-16|0;c[k>>2]=g;if((i|0)==4){switch(c[h+-24>>2]&15){case 4:{g=h+-32|0;break}case 3:{p=25;break}default:{p=0;c[q>>2]=f;f=q+4|0;c[f>>2]=p;q=Hv(b,281999,q)|0;Hx(b,e,q)|0;l=r;return}}if((p|0)==25){if((c[(c[j>>2]|0)+12>>2]|0)>0){Ew(b);g=c[k>>2]|0}g=g+-16|0;Jw(b,g)}p=(c[g>>2]|0)+16|0;c[q>>2]=f;f=q+4|0;c[f>>2]=p;q=Hv(b,281999,q)|0;Hx(b,e,q)|0;l=r;return}}while(0);j=c[n>>2]|0;do if(o){i=c[j>>2]|0;g=i+(e<<4)|0;h=c[b+8>>2]|0;if(g>>>0>>0)p=37;else{g=i;p=41}}else{if((e|0)>=-1000999){g=(c[b+8>>2]|0)+(e<<4)|0;p=37;break}if((e|0)==-1001e3){g=(c[b+12>>2]|0)+40|0;p=37;break}i=-1001e3-e|0;g=c[j>>2]|0;if((c[g+8>>2]|0)!=22){h=c[g>>2]|0;if((i|0)>(d[h+6>>0]|0|0)){h=i;p=47}else{g=h+16+(i+-1<<4)|0;p=37}}else g=0}while(0);do if((p|0)==37){if((g|0)!=316088?(c[g+8>>2]&15|0)==2:0){p=281984;c[q>>2]=f;f=q+4|0;c[f>>2]=p;q=Hv(b,281999,q)|0;Hx(b,e,q)|0;l=r;return}if(o){g=c[j>>2]|0;h=c[b+8>>2]|0;p=41;break}if((e|0)>=-1000999){g=(c[b+8>>2]|0)+(e<<4)|0;p=48;break}if((e|0)!=-1001e3){g=c[j>>2]|0;if((c[g+8>>2]|0)==22){g=0;break}else{h=-1001e3-e|0;p=47;break}}else{g=(c[b+12>>2]|0)+40|0;p=48;break}}while(0);if((p|0)==41){g=g+(e<<4)|0;if(g>>>0>>0)p=48;else g=0}else if((p|0)==47){g=c[g>>2]|0;if((h|0)>(d[g+6>>0]|0|0))g=0;else{g=g+16+(h+-1<<4)|0;p=48}}if((p|0)==48)if((g|0)==316088)g=0;else g=(c[g+8>>2]&15)+1|0;p=c[5104+(g<<2)>>2]|0;c[q>>2]=f;f=q+4|0;c[f>>2]=p;q=Hv(b,281999,q)|0;Hx(b,e,q)|0;l=r;return}function Lx(b,e){b=b|0;e=e|0;var f=0.0,g=0,i=0,k=0,m=0,n=0;n=l;l=l+16|0;m=n;g=c[b+16>>2]|0;do if((e|0)<=0){if((e|0)>=-1000999){i=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){i=(c[b+12>>2]|0)+40|0;break}i=-1001e3-e|0;g=c[g>>2]|0;if((c[g+8>>2]|0)==22)i=316088;else{k=c[g>>2]|0;i=(i|0)>(d[k+6>>0]|0)?316088:k+16+(i+-1<<4)|0}}else{i=(c[g>>2]|0)+(e<<4)|0;i=i>>>0<(c[b+8>>2]|0)>>>0?i:316088}while(0);g=c[i+8>>2]|0;if((g|0)==3){f=+h[i>>3];l=n;return +f}do if((g|0)==19){m=i;f=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((g&15|0)==4){k=Iw((c[i>>2]|0)+16|0,m)|0;g=c[i>>2]|0;if((a[g+4>>0]|0)==4)g=d[g+7>>0]|0;else g=c[g+12>>2]|0;if((k|0)==(g+1|0)){b=(c[m+8>>2]|0)==19;e=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=e;c[j+4>>2]=m;f=b?+(e>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}Kx(b,e,281100);f=0.0;l=n;return +f}while(0);l=n;return +f}function Mx(b,e){b=b|0;e=e|0;var f=0,g=0,i=0,j=0.0,k=0,m=0,n=0,o=0,p=0.0;o=l;l=l+16|0;n=o;i=b+16|0;f=c[i>>2]|0;k=(e|0)>0;do if(!k){if((e|0)>=-1000999){f=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){f=(c[b+12>>2]|0)+40|0;break}g=-1001e3-e|0;f=c[f>>2]|0;if((c[f+8>>2]|0)==22)f=316088;else{f=c[f>>2]|0;f=(g|0)>(d[f+6>>0]|0)?316088:f+16+(g+-1<<4)|0}}else{f=(c[f>>2]|0)+(e<<4)|0;f=f>>>0<(c[b+8>>2]|0)>>>0?f:316088}while(0);g=c[f+8>>2]|0;if((g|0)==19){e=f;b=c[e+4>>2]|0;e=c[e>>2]|0;z=b;l=o;return e|0}a:while(1){switch(g|0){case 3:{m=13;break a}case 19:{m=16;break a}default:{}}if((g&15|0)!=4)break;g=Iw((c[f>>2]|0)+16|0,n)|0;f=c[f>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0))break;f=n;g=c[n+8>>2]|0}if((m|0)==13){p=+h[f>>3];j=+A(+p);if(!(p!=j)?j>=-9223372036854775808.0&j<9223372036854775808.0:0){g=~~j>>>0;f=+B(j)>=1.0?(j>0.0?~~+P(+A(j/4294967296.0),4294967295.0)>>>0:~~+N((j-+(~~j>>>0))/4294967296.0)>>>0):0;m=23}}else if((m|0)==16){g=c[f>>2]|0;f=c[f+4>>2]|0;m=23}if((m|0)==23){b=f;e=g;z=b;l=o;return e|0}f=c[i>>2]|0;do if(!k){if((e|0)>=-1000999){g=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){g=(c[b+12>>2]|0)+40|0;break}g=-1001e3-e|0;f=c[f>>2]|0;if((c[f+8>>2]|0)==22)g=316088;else{m=c[f>>2]|0;g=(g|0)>(d[m+6>>0]|0)?316088:m+16+(g+-1<<4)|0}}else{g=(c[f>>2]|0)+(e<<4)|0;g=g>>>0<(c[b+8>>2]|0)>>>0?g:316088}while(0);f=c[g+8>>2]|0;if((f|0)!=3)do if((f|0)!=19){if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,n)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0))break}Kx(b,e,281100);b=0;e=0;z=b;l=o;return e|0}while(0);Hx(b,e,282059)|0;b=0;e=0;z=b;l=o;return e|0}function Nx(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var i=0,j=0,k=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;r=l;l=l+16|0;q=r;n=b+16|0;m=c[n>>2]|0;o=(e|0)>0;do if(o){i=(c[m>>2]|0)+(e<<4)|0;if(i>>>0>=(c[b+8>>2]|0)>>>0){b=g;e=f;z=b;l=r;return e|0}}else{if((e|0)>=-1000999){i=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){i=(c[b+12>>2]|0)+40|0;break}j=-1001e3-e|0;i=c[m>>2]|0;if((c[i+8>>2]|0)==22){b=g;e=f;z=b;l=r;return e|0}i=c[i>>2]|0;if((j|0)>(d[i+6>>0]|0)){b=g;e=f;z=b;l=r;return e|0}else i=i+16+(j+-1<<4)|0}while(0);if((i|0)==316088){b=g;e=f;z=b;l=r;return e|0}if(!(c[i+8>>2]&15)){b=g;e=f;z=b;l=r;return e|0}do if(!o){if((e|0)>=-1000999){i=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){i=(c[b+12>>2]|0)+40|0;break}j=-1001e3-e|0;i=c[m>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(j|0)>(d[i+6>>0]|0)?316088:i+16+(j+-1<<4)|0}}else{i=(c[m>>2]|0)+(e<<4)|0;i=i>>>0<(c[b+8>>2]|0)>>>0?i:316088}while(0);j=c[i+8>>2]|0;if((j|0)==19){e=i;b=c[e+4>>2]|0;e=c[e>>2]|0;z=b;l=r;return e|0}a:while(1){switch(j|0){case 3:{p=23;break a}case 19:{p=26;break a}default:{}}if((j&15|0)!=4)break;j=Iw((c[i>>2]|0)+16|0,q)|0;i=c[i>>2]|0;if((a[i+4>>0]|0)==4)i=d[i+7>>0]|0;else i=c[i+12>>2]|0;if((j|0)!=(i+1|0))break;i=q;j=c[q+8>>2]|0}if((p|0)==23){s=+h[i>>3];k=+A(+s);if(!(s!=k)?k>=-9223372036854775808.0&k<9223372036854775808.0:0){j=~~k>>>0;i=+B(k)>=1.0?(k>0.0?~~+P(+A(k/4294967296.0),4294967295.0)>>>0:~~+N((k-+(~~k>>>0))/4294967296.0)>>>0):0;p=33}}else if((p|0)==26){j=c[i>>2]|0;i=c[i+4>>2]|0;p=33}if((p|0)==33){b=i;e=j;z=b;l=r;return e|0}i=c[n>>2]|0;do if(!o){if((e|0)>=-1000999){j=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){j=(c[b+12>>2]|0)+40|0;break}j=-1001e3-e|0;i=c[i>>2]|0;if((c[i+8>>2]|0)==22)j=316088;else{p=c[i>>2]|0;j=(j|0)>(d[p+6>>0]|0)?316088:p+16+(j+-1<<4)|0}}else{j=(c[i>>2]|0)+(e<<4)|0;j=j>>>0<(c[b+8>>2]|0)>>>0?j:316088}while(0);i=c[j+8>>2]|0;if((i|0)!=3)do if((i|0)!=19){if((i&15|0)==4){f=Iw((c[j>>2]|0)+16|0,q)|0;i=c[j>>2]|0;if((a[i+4>>0]|0)==4)i=d[i+7>>0]|0;else i=c[i+12>>2]|0;if((f|0)==(i+1|0))break}Kx(b,e,281100);b=0;e=0;z=b;l=r;return e|0}while(0);Hx(b,e,282059)|0;b=0;e=0;z=b;l=r;return e|0}function Ox(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,m=0;m=l;l=l+32|0;k=m;f=c[a+12>>2]|0;i=a+4|0;d=c[i>>2]|0;j=a+8|0;e=c[j>>2]|0;if((d-e|0)>>>0>=b>>>0){a=c[a>>2]|0;k=e;k=a+k|0;l=m;return k|0}h=d<<1;h=(h-e|0)>>>0>>0?e+b|0:h;if(h>>>0>>0|(h-e|0)>>>0>>0)Ix(f,282096,m+16|0);g=Uv(f,h)|0;CQ(g|0,c[a>>2]|0,c[j>>2]|0)|0;if((c[a>>2]|0)!=(a+16|0)){b=f+8|0;e=c[b>>2]|0;d=e+-16|0;e=e+-32|0;do{c[k>>2]=c[e>>2];c[k+4>>2]=c[e+4>>2];c[k+8>>2]=c[e+8>>2];c[k+12>>2]=c[e+12>>2];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[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];c[d+8>>2]=c[k+8>>2];c[d+12>>2]=c[k+12>>2];e=e+16|0;d=d+-16|0}while(e>>>0>>0);c[b>>2]=(c[b>>2]|0)+-16}c[a>>2]=g;c[i>>2]=h;a=g;k=c[j>>2]|0;k=a+k|0;l=m;return k|0}function Px(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;k=m;f=c[b+12>>2]|0;j=f+8|0;e=c[j>>2]|0;switch(c[e+-8>>2]&15){case 4:{e=e+-16|0;g=5;break}case 3:{if((c[(c[f+12>>2]|0)+12>>2]|0)>0){Ew(f);e=c[j>>2]|0}e=e+-16|0;Jw(f,e);g=5;break}default:{i=0;f=0}}if((g|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;i=e+16|0}h=b+16|0;if((c[b>>2]|0)!=(h|0)){g=c[j>>2]|0;e=g+-16|0;g=g+-32|0;do{c[k>>2]=c[g>>2];c[k+4>>2]=c[g+4>>2];c[k+8>>2]=c[g+8>>2];c[k+12>>2]=c[g+12>>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[e>>2]=c[k>>2];c[e+4>>2]=c[k+4>>2];c[e+8>>2]=c[k+8>>2];c[e+12>>2]=c[k+12>>2];g=g+16|0;e=e+-16|0}while(g>>>0>>0)}CQ(Ox(b,f)|0,i|0,f|0)|0;g=b+8|0;c[g>>2]=(c[g>>2]|0)+f;b=(c[b>>2]|0)!=(h|0);g=b?-2:-1;h=c[j>>2]|0;f=h+-16|0;e=h+(g<<4)|0;g=g+1|0;if((g|0)<-1){i=f;g=h+(g<<4)|0;do{c[k>>2]=c[g>>2];c[k+4>>2]=c[g+4>>2];c[k+8>>2]=c[g+8>>2];c[k+12>>2]=c[g+12>>2];c[g>>2]=c[i>>2];c[g+4>>2]=c[i+4>>2];c[g+8>>2]=c[i+8>>2];c[g+12>>2]=c[i+12>>2];c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];g=g+16|0;i=i+-16|0}while(g>>>0>>0)}if(!b){k=c[j>>2]|0;k=k+-16|0;c[j>>2]=k;l=m;return}do{c[k>>2]=c[e>>2];c[k+4>>2]=c[e+4>>2];c[k+8>>2]=c[e+8>>2];c[k+12>>2]=c[e+12>>2];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[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];e=e+16|0;f=f+-16|0}while(e>>>0>>0);k=c[j>>2]|0;k=k+-16|0;c[j>>2]=k;l=m;return}function Qx(b,e,f){b=b|0;e=e|0;f=f|0;var 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;w=l;l=l+1120|0;r=w+56|0;o=w+40|0;k=w+24|0;g=w+16|0;p=w;n=w+72|0;j=w+1104|0;v=b+8|0;q=b+16|0;s=(c[v>>2]|0)-((c[c[q>>2]>>2]|0)+16)|0;t=s>>4;u=t+1|0;if(e){c[g>>2]=e;Hv(b,282120,g)|0;i=bP(e,285675)|0;c[n+4>>2]=i;if(!i){g=LN(c[8240]|0)|0;h=(Fv(b,u,0)|0)+1|0;c[k>>2]=282141;c[k+4>>2]=h;c[k+8>>2]=g;Hv(b,282124,k)|0;g=c[v>>2]|0;h=g+-16|0;j=c[q>>2]|0;do if((s|0)<=-16){if((u|0)>=-1000999){g=g+(u<<4)|0;break}if((u|0)==-1001e3){g=(c[b+12>>2]|0)+40|0;break}i=-1001001-t|0;g=c[j>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(i|0)>(d[g+6>>0]|0|0)?316088:g+16+(i+-1<<4)|0}}else{b=(c[j>>2]|0)+(u<<4)|0;g=b>>>0>>0?b:316088}while(0);i=g+16|0;if(i>>>0>>0){j=h;do{c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];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];i=i+16|0;j=j+-16|0}while(i>>>0>>0)}if(g>>>0>>0)do{c[k>>2]=c[g>>2];c[k+4>>2]=c[g+4>>2];c[k+8>>2]=c[g+8>>2];c[k+12>>2]=c[g+12>>2];c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[h>>2]=c[k>>2];c[h+4>>2]=c[k+4>>2];c[h+8>>2]=c[k+8>>2];c[h+12>>2]=c[k+12>>2];g=g+16|0;h=h+-16|0}while(g>>>0>>0);b=7;u=c[v>>2]|0;u=u+-16|0;c[v>>2]=u;l=w;return b|0}}else{h=b+12|0;g=c[h>>2]|0;if((c[g+12>>2]|0)>0){Ew(b);g=c[h>>2]|0}h=g+280+(((282113>>>0)%127|0)<<2)|0;g=c[h>>2]|0;if(wN(282113,g+16|0)|0){g=jx(b,282113,6)|0;c[h>>2]=g}k=c[v>>2]|0;c[k>>2]=g;c[k+8>>2]=(a[g+4>>0]|64)&255;c[v>>2]=(c[v>>2]|0)+16;c[n+4>>2]=33140}if(Rx(n,j)|0){k=c[n>>2]|0;c[n>>2]=k+1;a[n+8+k>>0]=10}g=c[j>>2]|0;i=(e|0)!=0;do if(i&(g|0)==27){h=n+4|0;k=YP(e,c[h>>2]|0)|0;c[h>>2]=k;if(k|0){Rx(n,j)|0;g=c[j>>2]|0;break}g=LN(c[8240]|0)|0;h=(Fv(b,u,0)|0)+1|0;c[o>>2]=282146;c[o+4>>2]=h;c[o+8>>2]=g;Hv(b,282124,o)|0;g=c[v>>2]|0;h=g+-16|0;j=c[q>>2]|0;do if((s|0)<=-16){if((u|0)>=-1000999){g=g+(u<<4)|0;break}if((u|0)==-1001e3){g=(c[b+12>>2]|0)+40|0;break}i=-1001001-t|0;g=c[j>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(i|0)>(d[g+6>>0]|0|0)?316088:g+16+(i+-1<<4)|0}}else{b=(c[j>>2]|0)+(u<<4)|0;g=b>>>0>>0?b:316088}while(0);i=g+16|0;if(i>>>0>>0){j=h;do{c[o>>2]=c[i>>2];c[o+4>>2]=c[i+4>>2];c[o+8>>2]=c[i+8>>2];c[o+12>>2]=c[i+12>>2];c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];c[j+12>>2]=c[o+12>>2];i=i+16|0;j=j+-16|0}while(i>>>0>>0)}if(g>>>0>>0)do{c[o>>2]=c[g>>2];c[o+4>>2]=c[g+4>>2];c[o+8>>2]=c[g+8>>2];c[o+12>>2]=c[g+12>>2];c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[h>>2]=c[o>>2];c[h+4>>2]=c[o+4>>2];c[h+8>>2]=c[o+8>>2];c[h+12>>2]=c[o+12>>2];g=g+16|0;h=h+-16|0}while(g>>>0>>0);b=7;u=c[v>>2]|0;u=u+-16|0;c[v>>2]=u;l=w;return b|0}while(0);if((g|0)!=-1){o=c[n>>2]|0;c[n>>2]=o+1;a[n+8+o>>0]=g}g=c[v>>2]|0;switch(c[g+-8>>2]&15){case 4:{g=g+-16|0;m=46;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);g=c[v>>2]|0}g=g+-16|0;Jw(b,g);m=46;break}default:g=0}if((m|0)==46)g=(c[g>>2]|0)+16|0;e=Rv(b,16,n,g,f)|0;g=c[n+4>>2]|0;h=mP(g)|0;if(i)hP(g)|0;if(!h){g=c[v>>2]|0;h=g+-16|0;j=c[q>>2]|0;do if((s|0)<=-16){if((u|0)>=-1000999){g=g+(u<<4)|0;break}if((u|0)==-1001e3){g=(c[b+12>>2]|0)+40|0;break}i=-1001001-t|0;g=c[j>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(i|0)>(d[g+6>>0]|0|0)?316088:g+16+(i+-1<<4)|0}}else{b=(c[j>>2]|0)+(u<<4)|0;g=b>>>0>>0?b:316088}while(0);i=g+16|0;if(i>>>0>>0){j=h;do{c[p>>2]=c[i>>2];c[p+4>>2]=c[i+4>>2];c[p+8>>2]=c[i+8>>2];c[p+12>>2]=c[i+12>>2];c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[j>>2]=c[p>>2];c[j+4>>2]=c[p+4>>2];c[j+8>>2]=c[p+8>>2];c[j+12>>2]=c[p+12>>2];i=i+16|0;j=j+-16|0}while(i>>>0>>0)}if(g>>>0>>0)do{c[p>>2]=c[g>>2];c[p+4>>2]=c[g+4>>2];c[p+8>>2]=c[g+8>>2];c[p+12>>2]=c[g+12>>2];c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[h>>2]=c[p>>2];c[h+4>>2]=c[p+4>>2];c[h+8>>2]=c[p+8>>2];c[h+12>>2]=c[p+12>>2];g=g+16|0;h=h+-16|0}while(g>>>0>>0);b=e;u=c[v>>2]|0;u=u+-16|0;c[v>>2]=u;l=w;return b|0}if((s|0)>-32){h=c[c[q>>2]>>2]|0;j=c[v>>2]|0;g=h+(t+2<<4)|0;if(j>>>0>>0){h=(h+(u<<4)+8+4+(3-j)|0)>>>4;i=j;do{c[i+8>>2]=0;i=i+16|0}while(i>>>0>>0);c[v>>2]=j+(h+1<<4)}}else g=(c[v>>2]|0)+(t+2<<4)|0;c[v>>2]=g;g=LN(c[8240]|0)|0;h=(Fv(b,u,0)|0)+1|0;c[r>>2]=282153;c[r+4>>2]=h;c[r+8>>2]=g;Hv(b,282124,r)|0;g=c[v>>2]|0;h=g+-16|0;j=c[q>>2]|0;do if((s|0)<=-16){if((u|0)>=-1000999){g=g+(u<<4)|0;break}if((u|0)==-1001e3){g=(c[b+12>>2]|0)+40|0;break}i=-1001001-t|0;g=c[j>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(i|0)>(d[g+6>>0]|0|0)?316088:g+16+(i+-1<<4)|0}}else{b=(c[j>>2]|0)+(u<<4)|0;g=b>>>0>>0?b:316088}while(0);i=g+16|0;if(i>>>0>>0){j=h;do{c[r>>2]=c[i>>2];c[r+4>>2]=c[i+4>>2];c[r+8>>2]=c[i+8>>2];c[r+12>>2]=c[i+12>>2];c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[j>>2]=c[r>>2];c[j+4>>2]=c[r+4>>2];c[j+8>>2]=c[r+8>>2];c[j+12>>2]=c[r+12>>2];i=i+16|0;j=j+-16|0}while(i>>>0>>0)}if(g>>>0>>0)do{c[r>>2]=c[g>>2];c[r+4>>2]=c[g+4>>2];c[r+8>>2]=c[g+8>>2];c[r+12>>2]=c[g+12>>2];c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[h>>2]=c[r>>2];c[h+4>>2]=c[r+4>>2];c[h+8>>2]=c[r+8>>2];c[h+12>>2]=c[r+12>>2];g=g+16|0;h=h+-16|0}while(g>>>0>>0);b=7;u=c[v>>2]|0;u=u+-16|0;c[v>>2]=u;l=w;return b|0}function Rx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;c[b>>2]=0;f=b+4|0;e=NP(c[f>>2]|0)|0;a:do switch(e|0){case -1:{b=0;e=-1;break}case 239:{e=c[b>>2]|0;c[b>>2]=e+1;a[b+8+e>>0]=-17;e=NP(c[f>>2]|0)|0;switch(e|0){case -1:{b=0;e=-1;break a}case 187:break;default:{g=5;break a}}e=c[b>>2]|0;c[b>>2]=e+1;a[b+8+e>>0]=-69;e=NP(c[f>>2]|0)|0;switch(e|0){case -1:{b=0;e=-1;break a}case 191:break;default:{g=5;break a}}a[(c[b>>2]|0)+(b+8)>>0]=-65;c[b>>2]=0;e=NP(c[f>>2]|0)|0;g=5;break}default:g=5}while(0);if((g|0)==5){c[d>>2]=e;if((e|0)!=35){g=0;return g|0}b:while(1)switch(NP(c[f>>2]|0)|0){case 10:case -1:break b;default:{}}b=1;e=NP(c[f>>2]|0)|0}c[d>>2]=e;g=b;return g|0}function Sx(a,b,d){a=a|0;b=b|0;d=d|0;a=c[b>>2]|0;if((a|0)>0){c[d>>2]=a;c[b>>2]=0;b=b+8|0;return b|0}a=b+4|0;if(lP(c[a>>2]|0)|0){b=0;return b|0}b=b+8|0;c[d>>2]=XP(b,1,1024,c[a>>2]|0)|0;return b|0}function Tx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=b+4|0;e=c[a>>2]|0;if(!e){b=0;return b|0}c[d>>2]=e;c[a>>2]=0;b=c[b>>2]|0;return b|0}function Ux(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=l;l=l+16|0;i=j;f=c[a+16>>2]|0;do if((b|0)<=0){if((b|0)>=-1000999){b=(c[a+8>>2]|0)+(b<<4)|0;break}if((b|0)==-1001e3){b=(c[a+12>>2]|0)+40|0;break}g=-1001e3-b|0;b=c[f>>2]|0;if((c[b+8>>2]|0)==22)b=316088;else{b=c[b>>2]|0;b=(g|0)>(d[b+6>>0]|0|0)?316088:b+16+(g+-1<<4)|0}}else{b=(c[f>>2]|0)+(b<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:316088}while(0);f=c[b+8>>2]|0;switch(f&15){case 5:{b=(c[b>>2]|0)+24|0;break}case 7:{b=(c[b>>2]|0)+8|0;break}default:b=(c[a+12>>2]|0)+244+((f&15)<<2)|0}b=c[b>>2]|0;if(!b){i=0;l=j;return i|0}h=a+8|0;f=c[h>>2]|0;c[f>>2]=b;c[f+8>>2]=69;c[h>>2]=(c[h>>2]|0)+16;Gv(a,e);f=c[h>>2]|0;b=f+-16|0;f=ox(c[f+-32>>2]|0,b)|0;c[b>>2]=c[f>>2];c[b+4>>2]=c[f+4>>2];c[b+8>>2]=c[f+8>>2];c[b+12>>2]=c[f+12>>2];b=c[h>>2]|0;f=c[b+-8>>2]&15;if(!f){f=0;b=b+-32|0}else{g=b+-16|0;b=b+-32|0;do{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[b>>2]=c[g>>2];c[b+4>>2]=c[g+4>>2];c[b+8>>2]=c[g+8>>2];c[b+12>>2]=c[g+12>>2];c[g>>2]=c[i>>2];c[g+4>>2]=c[i+4>>2];c[g+8>>2]=c[i+8>>2];c[g+12>>2]=c[i+12>>2];b=b+16|0;g=g+-16|0}while(b>>>0>>0);b=(c[h>>2]|0)+-16|0}c[h>>2]=b;i=f;l=j;return i|0}function Vx(b){b=b|0;var e=0,f=0.0,g=0,i=0,j=0,k=0,m=0,n=0,o=0.0;n=l;l=l+32|0;k=n+16|0;j=n;g=(c[c[b+16>>2]>>2]|0)+16|0;m=b+8|0;e=c[m>>2]|0;Cx(b,e,g>>>0>>0?g:316088);g=c[m>>2]|0;c[m>>2]=g+16;e=c[g+8>>2]|0;if((e|0)==19){k=g;b=c[k+4>>2]|0;k=c[k>>2]|0;j=c[m>>2]|0;j=j+-16|0;c[m>>2]=j;z=b;l=n;return k|0}a:while(1){switch(e|0){case 3:{i=5;break a}case 19:{i=8;break a}default:{}}if((e&15|0)!=4){i=16;break}i=Iw((c[g>>2]|0)+16|0,j)|0;e=c[g>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)!=(e+1|0)){i=16;break}g=j;e=c[j+8>>2]|0}if((i|0)==5){o=+h[g>>3];f=+A(+o);if(!(o!=f)?f>=-9223372036854775808.0&f<9223372036854775808.0:0){g=~~f>>>0;e=+B(f)>=1.0?(f>0.0?~~+P(+A(f/4294967296.0),4294967295.0)>>>0:~~+N((f-+(~~f>>>0))/4294967296.0)>>>0):0;i=15}else i=16}else if((i|0)==8){e=g;g=c[e>>2]|0;e=c[e+4>>2]|0;i=15}if((i|0)==15){b=e;k=g;j=c[m>>2]|0;j=j+-16|0;c[m>>2]=j;z=b;l=n;return k|0}else if((i|0)==16){Ix(b,282158,k);b=0;k=0;j=c[m>>2]|0;j=j+-16|0;c[m>>2]=j;z=b;l=n;return k|0}return 0}function Wx(e,f,g){e=e|0;f=f|0;g=g|0;var i=0,k=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,C=0,D=0,E=0.0;D=l;l=l+48|0;x=D+40|0;w=D+32|0;y=D+24|0;v=D+16|0;z=D;if((f+1000999|0)>>>0>1000999){n=e+16|0;q=n;r=f;n=c[n>>2]|0}else{q=e+16|0;n=c[q>>2]|0;r=((c[e+8>>2]|0)-(c[n>>2]|0)>>4)+f|0}t=(r|0)>0;do if(!t){if((r|0)>=-1000999){i=(c[e+8>>2]|0)+(r<<4)|0;break}if((r|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}i=-1001e3-r|0;k=c[n>>2]|0;if((c[k+8>>2]|0)==22)i=316088;else{p=c[k>>2]|0;i=(i|0)>(d[p+6>>0]|0)?316088:p+16+(i+-1<<4)|0}}else{i=(c[n>>2]|0)+(r<<4)|0;i=i>>>0<(c[e+8>>2]|0)>>>0?i:316088}while(0);k=c[i+8>>2]|0;switch(k&15){case 5:{i=(c[i>>2]|0)+24|0;break}case 7:{i=(c[i>>2]|0)+8|0;break}default:i=(c[e+12>>2]|0)+244+((k&15)<<2)|0}i=c[i>>2]|0;do if(!i){q=n;C=42}else{p=e+8|0;o=c[p>>2]|0;c[o>>2]=i;c[o+8>>2]=69;c[p>>2]=(c[p>>2]|0)+16;o=e+12|0;i=c[o>>2]|0;if((c[i+12>>2]|0)>0){Ew(e);i=c[o>>2]|0}k=i+280+(((282190>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(282190,i+16|0)|0){i=jx(e,282190,10)|0;c[k>>2]=i}n=c[p>>2]|0;c[n>>2]=i;c[n+8>>2]=(a[i+4>>0]|64)&255;i=c[p>>2]|0;c[p>>2]=i+16;n=ox(c[i+-16>>2]|0,i)|0;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];i=c[p>>2]|0;if(!(c[i+-8>>2]&15)){c[p>>2]=i+-32;q=c[q>>2]|0;C=42;break}k=i+-16|0;i=i+-32|0;do{c[z>>2]=c[i>>2];c[z+4>>2]=c[i+4>>2];c[z+8>>2]=c[i+8>>2];c[z+12>>2]=c[i+12>>2];c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];c[k>>2]=c[z>>2];c[k+4>>2]=c[z+4>>2];c[k+8>>2]=c[z+8>>2];c[k+12>>2]=c[z+12>>2];i=i+16|0;k=k+-16|0}while(i>>>0>>0);n=(c[p>>2]|0)+-16|0;c[p>>2]=n;i=c[q>>2]|0;do if(!t){if((r|0)>=-1000999){i=n+(r<<4)|0;break}if((r|0)==-1001e3){i=(c[o>>2]|0)+40|0;break}k=-1001e3-r|0;i=c[i>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}}else{i=(c[i>>2]|0)+(r<<4)|0;i=i>>>0>>0?i:316088}while(0);c[n>>2]=c[i>>2];c[n+4>>2]=c[i+4>>2];c[n+8>>2]=c[i+8>>2];c[n+12>>2]=c[i+12>>2];k=c[p>>2]|0;c[p>>2]=k+16;k=k+-16|0;n=e+106|0;i=(b[n>>1]|0)+1<<16>>16;b[n>>1]=i;if((i&65535)>199){if(i<<16>>16==200)_v(e,279702,v);if((i&65535)>224)cw(e,6)}i=e+104|0;b[i>>1]=(b[i>>1]|0)+1<<16>>16;if(!(gw(e,k,1)|0))Ex(e);b[i>>1]=(b[i>>1]|0)+-1<<16>>16;b[n>>1]=(b[n>>1]|0)+-1<<16>>16}while(0);a:do if((C|0)==42){p=(f|0)>0;do if(p){i=(c[q>>2]|0)+(f<<4)|0;k=c[e+8>>2]|0;if(i>>>0>>0)C=50;else C=136}else{if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;C=50;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;C=50;break}n=-1001e3-f|0;i=c[q>>2]|0;if((c[i+8>>2]|0)!=22?(s=c[i>>2]|0,(n|0)<=(d[s+6>>0]|0)):0){i=s+16+(n+-1<<4)|0;C=50}else C=142}while(0);do if((C|0)==50){b:do if((i|0)!=316088)switch(c[i+8>>2]&15){case 3:{do if(!p){if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}i=-1001e3-f|0;k=c[q>>2]|0;if((c[k+8>>2]|0)==22)i=316088;else{C=c[k>>2]|0;i=(i|0)>(d[C+6>>0]|0)?316088:C+16+(i+-1<<4)|0}}else{i=(c[q>>2]|0)+(f<<4)|0;i=i>>>0<(c[e+8>>2]|0)>>>0?i:316088}while(0);if((c[i+8>>2]|0)!=19){do if(!p){if((f|0)>=-1000999){k=(c[e+8>>2]|0)+(f<<4)|0;break}if((f|0)==-1001e3){k=(c[e+12>>2]|0)+40|0;break}k=-1001e3-f|0;i=c[q>>2]|0;if((c[i+8>>2]|0)==22)k=316088;else{C=c[i>>2]|0;k=(k|0)>(d[C+6>>0]|0)?316088:C+16+(k+-1<<4)|0}}else{k=(c[q>>2]|0)+(f<<4)|0;k=k>>>0<(c[e+8>>2]|0)>>>0?k:316088}while(0);i=c[k+8>>2]|0;c:do if((i|0)==3)m=+h[k>>3];else d:do if((i|0)==19){C=k;m=+((c[C>>2]|0)>>>0)+4294967296.0*+(c[C+4>>2]|0)}else{do if((i&15|0)==4){n=Iw((c[k>>2]|0)+16|0,z)|0;i=c[k>>2]|0;if((a[i+4>>0]|0)==4)i=d[i+7>>0]|0;else i=c[i+12>>2]|0;if((n|0)!=(i+1|0))break;y=(c[z+8>>2]|0)==19;C=z;z=c[C>>2]|0;C=c[C+4>>2]|0;c[j>>2]=z;c[j+4>>2]=C;m=y?+(z>>>0)+4294967296.0*+(C|0):+h[j>>3];break d}while(0);m=0.0;break c}while(0);while(0);h[w>>3]=m;Hv(e,282204,w)|0;break a}do if(!p){if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}k=-1001e3-f|0;i=c[q>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}}else{i=(c[q>>2]|0)+(f<<4)|0;i=i>>>0<(c[e+8>>2]|0)>>>0?i:316088}while(0);k=c[i+8>>2]|0;do if((k|0)!=19){e:while(1){switch(k|0){case 3:{C=73;break e}case 19:{C=76;break e}default:{}}if((k&15|0)!=4){C=84;break}k=Iw((c[i>>2]|0)+16|0,z)|0;i=c[i>>2]|0;if((a[i+4>>0]|0)==4)i=d[i+7>>0]|0;else i=c[i+12>>2]|0;if((k|0)!=(i+1|0)){C=84;break}i=z;k=c[z+8>>2]|0}if((C|0)==73){E=+h[i>>3];m=+A(+E);if(!(E!=m)?m>=-9223372036854775808.0&m<9223372036854775808.0:0){k=~~m>>>0;i=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;C=83}else C=84}else if((C|0)==76){k=c[i>>2]|0;i=c[i+4>>2]|0;C=83}if((C|0)==83)break;else if((C|0)==84){k=0;i=0;break}}else{k=c[i>>2]|0;i=c[i+4>>2]|0}while(0);C=y;c[C>>2]=k;c[C+4>>2]=i;Hv(e,282201,y)|0;break a}case 4:{n=e+8|0;o=c[n>>2]|0;do if(!p){if((f|0)>=-1000999){i=o+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}k=-1001e3-f|0;i=c[q>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}}else{i=(c[q>>2]|0)+(f<<4)|0;i=i>>>0>>0?i:316088}while(0);c[o>>2]=c[i>>2];c[o+4>>2]=c[i+4>>2];c[o+8>>2]=c[i+8>>2];c[o+12>>2]=c[i+12>>2];c[n>>2]=(c[n>>2]|0)+16;break a}case 1:{do if(!p){if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}k=-1001e3-f|0;i=c[q>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}}else{i=(c[q>>2]|0)+(f<<4)|0;i=i>>>0<(c[e+8>>2]|0)>>>0?i:316088}while(0);switch(c[i+8>>2]|0){case 0:{i=306849;break}case 1:{i=c[i>>2]|0?307279:306849;break}default:i=307279}Gv(e,i);break a}case 0:{k=e+12|0;i=c[k>>2]|0;if((c[i+12>>2]|0)>0){Ew(e);i=c[k>>2]|0}k=i+280+(((287092>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(287092,i+16|0)|0){i=jx(e,287092,3)|0;c[k>>2]=i}C=e+8|0;z=c[C>>2]|0;c[z>>2]=i;c[z+8>>2]=(a[i+4>>0]|64)&255;c[C>>2]=(c[C>>2]|0)+16;break a}default:break b}while(0);if(p){k=c[e+8>>2]|0;C=136;break}if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;C=144;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;C=144;break}else{n=-1001e3-f|0;C=142;break}}while(0);if((C|0)==136){i=(c[q>>2]|0)+(f<<4)|0;if(i>>>0>>0)C=144;else{i=k;k=284643;C=148}}else if((C|0)==142){i=c[q>>2]|0;if((c[i+8>>2]|0)!=22?(u=c[i>>2]|0,(n|0)<=(d[u+6>>0]|0)):0){i=u+16+(n+-1<<4)|0;C=144}else{k=284643;C=154}}do if((C|0)==144){if((i|0)==316088)i=0;else i=(c[i+8>>2]&15)+1|0;k=c[5104+(i<<2)>>2]|0;if(p){i=c[e+8>>2]|0;C=148;break}if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}else{n=-1001e3-f|0;C=154;break}}while(0);if((C|0)==148){C=(c[q>>2]|0)+(f<<4)|0;i=C>>>0>>0?C:316088}else if((C|0)==154){i=c[q>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(n|0)>(d[i+6>>0]|0)?316088:i+16+(n+-1<<4)|0}}switch(c[i+8>>2]&63){case 5:{i=c[i>>2]|0;break}case 6:{i=c[i>>2]|0;break}case 38:{i=c[i>>2]|0;break}case 22:{i=c[i>>2]|0;break}case 8:{i=c[i>>2]|0;break}case 7:{i=(c[i>>2]|0)+24|0;break}case 2:{i=c[i>>2]|0;break}default:i=0}c[x>>2]=k;c[x+4>>2]=i;Hv(e,282207,x)|0}while(0);k=e+8|0;i=c[k>>2]|0;switch(c[i+-8>>2]&15){case 4:{i=i+-16|0;break}case 3:{if((c[(c[e+12>>2]|0)+12>>2]|0)>0){Ew(e);i=c[k>>2]|0}i=i+-16|0;Jw(e,i);break}default:{if(!g){g=0;l=D;return g|0}c[g>>2]=0;g=0;l=D;return g|0}}if(!g)i=c[i>>2]|0;else{i=c[i>>2]|0;if((a[i+4>>0]|0)==4)k=d[i+7>>0]|0;else k=c[i+12>>2]|0;c[g>>2]=k}g=i+16|0;l=D;return g|0}function Xx(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=l;l=l+16|0;p=t;f=t+4|0;g=e+20|0;c[f>>2]=g;r=a+16|0;m=c[r>>2]|0;s=a+8|0;n=c[s>>2]|0;o=n;do if(((c[a+24>>2]|0)-o>>4|0)>(g|0)){j=n;k=g;q=5}else{if(((o-(c[a+28>>2]|0)>>4)+5|0)<=(999980-e|0)?(dw(a,168,f)|0)==0:0){j=c[s>>2]|0;k=c[f>>2]|0;q=5;break}c[p>>2]=282214;Ix(a,282039,p)}while(0);if((q|0)==5?(h=m+4|0,i=j+(k<<4)|0,(c[h>>2]|0)>>>0>>0):0)c[h>>2]=i;a:do if(c[b>>2]|0){p=-2-e|0;q=0-e|0;if((e|0)<=0){i=(e|0)==0;j=a+12|0;while(1){f=c[b+4>>2]|0;if(i){o=c[s>>2]|0;c[o>>2]=f;g=22;f=o}else{if((c[(c[j>>2]|0)+12>>2]|0)>0)Ew(a);h=qw(a,e)|0;c[h+12>>2]=f;f=(c[s>>2]|0)+(q<<4)|0;c[s>>2]=f;g=e;do{g=g+-1|0;o=h+16+(g<<4)|0;n=f+(g<<4)|0;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[o+12>>2]=c[n+12>>2];f=c[s>>2]|0}while((g|0)!=0);c[f>>2]=h;g=102}c[f+8>>2]=g;c[s>>2]=(c[s>>2]|0)+16;Lv(a,p,c[b>>2]|0);b=b+8|0;if(!(c[b>>2]|0))break a}}j=(e|0)>1000999;k=(q|0)==-1001e3;m=a+12|0;n=e+-1001e3|0;o=e+-1001001|0;do{i=c[s>>2]|0;h=i;g=0;while(1){f=c[r>>2]|0;do if(j){if(k){f=(c[m>>2]|0)+40|0;break}f=c[f>>2]|0;if((c[f+8>>2]|0)==22)f=316088;else{f=c[f>>2]|0;f=(n|0)>(d[f+6>>0]|0|0)?316088:f+16+(o<<4)|0}}else f=h+(q<<4)|0;while(0);c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];f=(c[s>>2]|0)+16|0;c[s>>2]=f;g=g+1|0;if((g|0)==(e|0))break;else{h=f;i=f}}f=c[b+4>>2]|0;if((c[(c[m>>2]|0)+12>>2]|0)>0)Ew(a);h=qw(a,e)|0;c[h+12>>2]=f;g=(c[s>>2]|0)+(q<<4)|0;c[s>>2]=g;f=e;do{f=f+-1|0;i=h+16+(f<<4)|0;u=g+(f<<4)|0;c[i>>2]=c[u>>2];c[i+4>>2]=c[u+4>>2];c[i+8>>2]=c[u+8>>2];c[i+12>>2]=c[u+12>>2];g=c[s>>2]|0}while((f|0)!=0);c[g>>2]=h;c[g+8>>2]=102;c[s>>2]=(c[s>>2]|0)+16;Lv(a,p,c[b>>2]|0);b=b+8|0}while((c[b>>2]|0)!=0)}while(0);if((e|0)>=0){u=(c[s>>2]|0)+(0-e<<4)|0;c[s>>2]=u;l=t;return}f=c[c[r>>2]>>2]|0;h=c[s>>2]|0;b=f+(0-e<<4)|0;if(h>>>0>=b>>>0){u=b;c[s>>2]=u;l=t;return}f=(f+(~e<<4)+8+4+(3-h)|0)>>>4;g=h;do{c[g+8>>2]=0;g=g+16|0}while(g>>>0>>0);c[s>>2]=h+(f+1<<4);u=b;c[s>>2]=u;l=t;return}function Yx(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;j=b+12|0;g=c[j>>2]|0;l=b+8|0;h=c[l>>2]|0;k=(d>>>0)%127|0;f=g+280+(k<<2)|0;e=c[f>>2]|0;if(wN(d,e+16|0)|0){e=jx(b,d,JO(d)|0)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;e=c[l>>2]|0;c[l>>2]=e+16;wx(b,g+40|0,e,e);e=c[l>>2]|0;if((c[e+-8>>2]&15|0)==5)return;c[l>>2]=e+-16;if((c[(c[j>>2]|0)+12>>2]|0)>0)Ew(b);h=px(b)|0;i=c[l>>2]|0;c[i>>2]=h;c[i+8>>2]=69;i=c[l>>2]|0;h=i+16|0;c[l>>2]=h;c[h>>2]=c[i>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];h=c[l>>2]|0;i=h+16|0;c[l>>2]=i;g=c[j>>2]|0;f=g+280+(k<<2)|0;e=c[f>>2]|0;if(wN(d,e+16|0)|0){e=jx(b,d,JO(d)|0)|0;c[f>>2]=e}c[i>>2]=e;c[h+24>>2]=(a[e+4>>0]|64)&255;d=c[l>>2]|0;c[l>>2]=d+16;xx(b,g+40|0,d,d+-16|0);c[l>>2]=(c[l>>2]|0)+-32;return}function Zx(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;n=r+16|0;q=r;o=d+12|0;i=c[o>>2]|0;p=d+8|0;j=c[p>>2]|0;h=i+280+(((285394>>>0)%127|0)<<2)|0;g=c[h>>2]|0;if(wN(285394,g+16|0)|0){g=jx(d,285394,7)|0;c[h>>2]=g}c[j>>2]=g;c[j+8>>2]=(a[g+4>>0]|64)&255;g=c[p>>2]|0;c[p>>2]=g+16;wx(d,i+40|0,g,g);g=c[p>>2]|0;if((c[g+-8>>2]&15|0)!=5){c[p>>2]=g+-16;if((c[(c[o>>2]|0)+12>>2]|0)>0)Ew(d);i=px(d)|0;j=c[p>>2]|0;c[j>>2]=i;c[j+8>>2]=69;j=c[p>>2]|0;i=j+16|0;c[p>>2]=i;c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];i=c[p>>2]|0;j=i+16|0;c[p>>2]=j;k=c[o>>2]|0;h=k+280+(((285394>>>0)%127|0)<<2)|0;g=c[h>>2]|0;if(wN(285394,g+16|0)|0){g=jx(d,285394,7)|0;c[h>>2]=g}c[j>>2]=g;c[i+24>>2]=(a[g+4>>0]|64)&255;g=c[p>>2]|0;c[p>>2]=g+16;xx(d,k+40|0,g,g+-16|0);g=(c[p>>2]|0)+-32|0;c[p>>2]=g}k=(e>>>0)%127|0;i=(c[o>>2]|0)+280+(k<<2)|0;h=c[i>>2]|0;if(wN(e,h+16|0)|0){h=jx(d,e,JO(e)|0)|0;c[i>>2]=h}c[g>>2]=h;c[g+8>>2]=(a[h+4>>0]|64)&255;h=c[p>>2]|0;c[p>>2]=h+16;wx(d,g+-16|0,h,h);g=c[p>>2]|0;h=g+-16|0;i=g+-8|0;switch(c[i>>2]|0){case 0:{m=16;break}case 1:{if(!(c[h>>2]|0))m=16;break}default:{}}if((m|0)==16){c[p>>2]=h;c[h>>2]=f;c[i>>2]=22;c[p>>2]=(c[p>>2]|0)+16;Gv(d,e);h=(c[p>>2]|0)+-32|0;i=d+106|0;g=(b[i>>1]|0)+1<<16>>16;b[i>>1]=g;if((g&65535)>199){if(g<<16>>16==200)_v(d,279702,n);if((g&65535)>224)cw(d,6)}g=d+104|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;if(!(gw(d,h,1)|0))Ex(d);b[g>>1]=(b[g>>1]|0)+-1<<16>>16;b[i>>1]=(b[i>>1]|0)+-1<<16>>16;i=c[p>>2]|0;j=i+-16|0;c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];i=c[p>>2]|0;j=i+16|0;c[p>>2]=j;h=(c[o>>2]|0)+280+(k<<2)|0;g=c[h>>2]|0;if(wN(e,g+16|0)|0){g=jx(d,e,JO(e)|0)|0;c[h>>2]=g}c[j>>2]=g;c[i+24>>2]=(a[g+4>>0]|64)&255;g=c[p>>2]|0;c[p>>2]=g+16;xx(d,i+-32|0,g,g+-16|0);g=(c[p>>2]|0)+-32|0;c[p>>2]=g}h=g+-16|0;g=g+-32|0;do{c[q>>2]=c[g>>2];c[q+4>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0;d=h+-16|0;h=h+-32|0;do{c[x>>2]=c[h>>2];c[x+4>>2]=c[h+4>>2];c[x+8>>2]=c[h+8>>2];c[x+12>>2]=c[h+12>>2];c[h>>2]=c[d>>2];c[h+4>>2]=c[d+4>>2];c[h+8>>2]=c[d+8>>2];c[h+12>>2]=c[d+12>>2];c[d>>2]=c[x>>2];c[d+4>>2]=c[x+4>>2];c[d+8>>2]=c[x+8>>2];c[d+12>>2]=c[x+12>>2];h=h+16|0;d=d+-16|0}while(h>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[w>>2]=g;c[s>>2]=j;d=c[u>>2]|0}else g=c[w>>2]|0;CQ(g+d|0,m|0,k|0)|0;h=(c[u>>2]|0)+k|0;c[u>>2]=h;d=c[t>>2]|0;g=c[w>>2]|0;if((c[(c[d+12>>2]|0)+12>>2]|0)>0)Ew(d);u=jx(d,g,h)|0;h=d+8|0;d=c[h>>2]|0;c[d>>2]=u;c[d+8>>2]=(a[u+4>>0]|64)&255;d=c[h>>2]|0;c[h>>2]=d+16;if((c[w>>2]|0)!=(v|0)){g=d;d=d+-16|0;do{c[x>>2]=c[d>>2];c[x+4>>2]=c[d+4>>2];c[x+8>>2]=c[d+8>>2];c[x+12>>2]=c[d+12>>2];c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];c[g>>2]=c[x>>2];c[g+4>>2]=c[x+4>>2];c[g+8>>2]=c[x+8>>2];c[g+12>>2]=c[x+12>>2];d=d+16|0;g=g+-16|0}while(d>>>0>>0);c[h>>2]=(c[h>>2]|0)+-16}g=b+8|0;d=c[g>>2]|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;break}case 3:{y=38;break}default:{y=0;l=z;return y|0}}if((y|0)==38){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);d=c[g>>2]|0}d=d+-16|0;Jw(b,d)}y=(c[d>>2]|0)+16|0;l=z;return y|0}function $x(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!d){UM(b);a=0;return a|0}else{a=VM(b,d)|0;return a|0}return 0}function ay(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=l;l=l+16|0;f=g;d=a+8|0;b=c[d>>2]|0;switch(c[b+-8>>2]&15){case 4:{b=b+-16|0;e=5;break}case 3:{if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);b=c[d>>2]|0}b=b+-16|0;Jw(a,b);e=5;break}default:b=0}if((e|0)==5)b=(c[b>>2]|0)+16|0;c[f>>2]=b;wP(0,282232,f);iP(32772)|0;l=g;return 0}function by(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=b+12|0;k=b+8|0;g=c[k>>2]|0;e=c[(c[j>>2]|0)+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)e=(c[e+12>>2]|0)+16|0;else{e=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[e+24>>2]|0)==19?(h=e+16|0,(c[h>>2]|0)==2&(c[h+4>>2]|0)==0):0)break;f=c[e+28>>2]|0;if(!f){e=316088;break a}e=e+(f<<5)|0}}while(0);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[k>>2]=(c[k>>2]|0)+16;Xx(b,5244,0);g=c[k>>2]|0;h=g+-16|0;c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];g=c[k>>2]|0;h=g+16|0;c[k>>2]=h;f=(c[j>>2]|0)+280+(((282308>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(282308,e+16|0)|0){e=jx(b,282308,2)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;e=c[k>>2]|0;c[k>>2]=e+16;xx(b,g+-16|0,e,e+-16|0);c[k>>2]=(c[k>>2]|0)+-32;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((282311>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(282311,e+16|0)|0){e=jx(b,282311,7)|0;c[f>>2]=e}g=c[k>>2]|0;c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;g=c[k>>2]|0;h=g+16|0;c[k>>2]=h;f=(c[j>>2]|0)+280+(((282319>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(282319,e+16|0)|0){e=jx(b,282319,8)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;e=c[k>>2]|0;c[k>>2]=e+16;xx(b,g+-16|0,e,e+-16|0);c[k>>2]=(c[k>>2]|0)+-32;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((287092>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(287092,e+16|0)|0){e=jx(b,287092,3)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((281083>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281083,e+16|0)|0){e=jx(b,281083,7)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((281091>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281091,e+16|0)|0){e=jx(b,281091,8)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((281100>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281100,e+16|0)|0){e=jx(b,281100,6)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((287470>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(287470,e+16|0)|0){e=jx(b,287470,6)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((281107>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281107,e+16|0)|0){e=jx(b,281107,5)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((287066>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(287066,e+16|0)|0){e=jx(b,287066,8)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((281091>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281091,e+16|0)|0){e=jx(b,281091,8)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((281113>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281113,e+16|0)|0){e=jx(b,281113,6)|0;c[f>>2]=e}h=c[k>>2]|0;c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;c[k>>2]=(c[k>>2]|0)+16;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+4|0;g=jg[c[e>>2]&31](c[f>>2]|0,0,6,160)|0;do if(!g){if(!(c[e+140>>2]|0))cw(b,4);Fw(b,1);f=jg[c[e>>2]&31](c[f>>2]|0,0,6,160)|0;if(f|0){i=f;break}cw(b,4)}else i=g;while(0);g=e+12|0;c[g>>2]=(c[g>>2]|0)+160;a[i+5>>0]=a[e+60>>0]&3;a[i+4>>0]=38;g=e+64|0;c[i>>2]=c[g>>2];c[g>>2]=i;a[i+6>>0]=9;c[i+12>>2]=391;g=c[k>>2]|0;c[k>>2]=g+-144;h=i+144|0;g=g+-16|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=i+128|0;g=(c[k>>2]|0)+112|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=i+112|0;g=(c[k>>2]|0)+96|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=i+96|0;g=(c[k>>2]|0)+80|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=i+80|0;g=(c[k>>2]|0)+64|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=i+64|0;g=(c[k>>2]|0)+48|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=i+48|0;g=(c[k>>2]|0)+32|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=i+32|0;g=(c[k>>2]|0)+16|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=c[k>>2]|0;g=i+16|0;c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];g=c[k>>2]|0;c[g>>2]=i;c[g+8>>2]=102;g=c[k>>2]|0;h=g+16|0;c[k>>2]=h;i=g+-16|0;e=(c[j>>2]|0)+280+(((285869>>>0)%127|0)<<2)|0;f=c[e>>2]|0;if(!(wN(285869,f+16|0)|0)){j=f;c[h>>2]=j;j=j+4|0;j=a[j>>0]|0;j=j|64;j=j&255;h=g+24|0;c[h>>2]=j;h=c[k>>2]|0;j=h+16|0;c[k>>2]=j;j=h+-16|0;xx(b,i,h,j);b=c[k>>2]|0;b=b+-32|0;c[k>>2]=b;return 1}else{j=jx(b,285869,4)|0;c[e>>2]=j;c[h>>2]=j;j=j+4|0;j=a[j>>0]|0;j=j|64;j=j&255;h=g+24|0;c[h>>2]=j;h=c[k>>2]|0;j=h+16|0;c[k>>2]=j;j=h+-16|0;xx(b,i,h,j);b=c[k>>2]|0;b=b+-32|0;c[k>>2]=b;return 1}return 0}function cy(a){a=a|0;var b=0,e=0,f=0,g=0,h=0;e=a+16|0;f=c[c[e>>2]>>2]|0;g=f+16|0;h=a+8|0;b=c[h>>2]|0;if(g>>>0>=b>>>0|(g|0)==316088){Hx(a,1,283727)|0;g=c[h>>2]|0;f=c[c[e>>2]>>2]|0}else g=b;e=f+16|0;if(e>>>0>=g>>>0|(e|0)==316088)b=-1;else b=c[f+24>>2]&15;b=-1001001-b|0;do if((b|0)<=0){if((b|0)>=-1000999){b=g+(b<<4)|0;break}if((b|0)==-1001e3){b=(c[a+12>>2]|0)+40|0;break}b=-1001e3-b|0;if((c[f+8>>2]|0)==22)b=316088;else{a=c[f>>2]|0;b=(b|0)>(d[a+6>>0]|0|0)?316088:a+16+(b+-1<<4)|0}}else{b=f+(b<<4)|0;b=b>>>0>>0?b:316088}while(0);c[g>>2]=c[b>>2];c[g+4>>2]=c[b+4>>2];c[g+8>>2]=c[b+8>>2];c[g+12>>2]=c[b+12>>2];c[h>>2]=(c[h>>2]|0)+16;return 1}function dy(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;k=o;m=b+16|0;d=c[c[m>>2]>>2]|0;g=d+16|0;n=b+8|0;f=c[n>>2]|0;h=g>>>0>>0;e=h?g:316088;i=f;switch(c[e+8>>2]|0){case 0:break;case 1:{if(c[e>>2]|0)j=3;break}default:j=3}if((j|0)==3){b=i-g>>4;l=o;return b|0}if((g|0)==316088|h^1){Hx(b,1,283727)|0;f=c[n>>2]|0;d=c[c[m>>2]>>2]|0}e=f+-16|0;d=d+16|0;d=d>>>0>>0?d:316088;f=d+16|0;if(f>>>0>>0){g=e;do{c[k>>2]=c[f>>2];c[k+4>>2]=c[f+4>>2];c[k+8>>2]=c[f+8>>2];c[k+12>>2]=c[f+12>>2];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[g>>2]=c[k>>2];c[g+4>>2]=c[k+4>>2];c[g+8>>2]=c[k+8>>2];c[g+12>>2]=c[k+12>>2];f=f+16|0;g=g+-16|0}while(f>>>0>>0)}if(d>>>0>>0)do{c[k>>2]=c[d>>2];c[k+4>>2]=c[d+4>>2];c[k+8>>2]=c[d+8>>2];c[k+12>>2]=c[d+12>>2];c[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[e>>2]=c[k>>2];c[e+4>>2]=c[k+4>>2];c[e+8>>2]=c[k+8>>2];c[e+12>>2]=c[k+12>>2];d=d+16|0;e=e+-16|0}while(d>>>0>>0);c[n>>2]=(c[n>>2]|0)+-16;e=b+12|0;d=c[e>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[e>>2]|0}e=d+280+(((282770>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(282770,d+16|0)|0){d=jx(b,282770,17)|0;c[e>>2]=d}g=c[n>>2]|0;c[g>>2]=d;c[g+8>>2]=(a[d+4>>0]|64)&255;g=(c[n>>2]|0)+16|0;c[n>>2]=g;d=c[c[m>>2]>>2]|0;f=d+32|0;if(g>>>0>>0){d=(d+24+4+(3-g)|0)>>>4;e=g;do{c[e+8>>2]=0;e=e+16|0}while(e>>>0>>0);c[n>>2]=g+(d+1<<4)}c[n>>2]=f;gy(b)|0;b=0;l=o;return b|0}function ey(b){b=b|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;m=o;g=b+16|0;f=c[c[g>>2]>>2]|0;i=f+16|0;n=b+8|0;e=c[n>>2]|0;a:do if(!(i>>>0>=e>>>0|(i|0)==316088)?(j=c[f+24>>2]|0,(j&15|0)!=0):0){switch(j&15){case 4:{e=i;break}case 3:{k=4;break}default:{Kx(b,1,287470);e=0;break a}}if((k|0)==4){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[g>>2]>>2]|0;e=c[n>>2]|0}k=f+16|0;e=k>>>0>>0?k:316088;Jw(b,e)}e=(c[e>>2]|0)+16|0}else e=282714;while(0);if(wN(282722,e)|0)if(wN(282727,e)|0)if(wN(282714,e)|0)if(wN(283204,e)|0)if(wN(282735,e)|0)if(wN(282740,e)|0)if(wN(282749,e)|0)if(!(wN(282760,e)|0))e=7;else{c[m>>2]=e;e=Hx(b,1,Hv(b,282019,m)|0)|0}else e=6;else e=5;else e=4;else e=3;else e=2;else e=1;else e=0;m=c[5444+(e<<2)>>2]|0;e=Nx(b,2,0,0)|0;f=c[b+12>>2]|0;b:do switch(m|0){case 0:{a[f+63>>0]=0;e=0;k=27;break}case 1:{e=f+12|0;k=f+8|0;c[k>>2]=(c[e>>2]|0)+(c[k>>2]|0);c[e>>2]=0;a[f+63>>0]=1;e=0;k=27;break}case 2:{Fw(b,0);e=0;k=27;break}case 3:{k=c[f+8>>2]|0;m=c[f+12>>2]|0;b=c[n>>2]|0;h[b>>3]=+((m+k|0)>>>10|0)+ +(m+k&1023|0)*.0009765625;k=3;m=b+8|0;c[m>>2]=k;b=b+16|0;c[n>>2]=b;l=o;return 1}case 4:{e=(c[f+12>>2]|0)+(c[f+8>>2]|0)&1023;k=27;break}case 5:{g=f+63|0;i=a[g>>0]|0;a[g>>0]=1;do if(e){e=e<<10;k=f+12|0;m=(c[k>>2]|0)+e|0;j=f+8|0;c[j>>2]=(c[j>>2]|0)-e;c[k>>2]=m;if((m|0)>0){Ew(b);break}else{a[g>>0]=i;e=0;k=26;break b}}else{m=f+12|0;k=f+8|0;c[k>>2]=(c[m>>2]|0)+1600+(c[k>>2]|0);c[m>>2]=-1600;Ew(b)}while(0);a[g>>0]=i;e=(a[f+61>>0]|0)==7&1;k=26;break}case 6:{b=f+124|0;k=c[b>>2]|0;c[b>>2]=e;e=k;k=27;break}case 7:{b=f+128|0;k=c[b>>2]|0;c[b>>2]=(e|0)>40?e:40;e=k;k=27;break}case 9:{e=d[f+63>>0]|0;k=26;break}default:{e=-1;k=27}}while(0);if((k|0)==26){b=c[n>>2]|0;c[b>>2]=(e|0)!=0&1;k=1;m=b+8|0;c[m>>2]=k;b=b+16|0;c[n>>2]=b;l=o;return 1}else if((k|0)==27){b=c[n>>2]|0;k=b;c[k>>2]=e;c[k+4>>2]=((e|0)<0)<<31>>31;k=19;m=b+8|0;c[m>>2]=k;b=b+16|0;c[n>>2]=b;l=o;return 1}return 0}function fy(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;j=n+8|0;i=n;k=a+16|0;e=c[c[k>>2]>>2]|0;f=e+16|0;m=a+8|0;d=c[m>>2]|0;a:do if(!(f>>>0>=d>>>0|(f|0)==316088)?(g=c[e+24>>2]|0,(g&15|0)!=0):0){switch(g&15){case 4:{d=f;break}case 3:{h=4;break}default:{Kx(a,1,287470);f=0;break a}}if((h|0)==4){if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);e=c[c[k>>2]>>2]|0;d=c[m>>2]|0}h=e+16|0;d=h>>>0>>0?h:316088;Jw(a,d)}f=(c[d>>2]|0)+16|0}else f=0;while(0);d=c[c[k>>2]>>2]|0;g=c[m>>2]|0;h=d+32|0;if(g>>>0>>0){d=(d+24+4+(3-g)|0)>>>4;e=g;do{c[e+8>>2]=0;e=e+16|0}while(e>>>0>>0);c[m>>2]=g+(d+1<<4)}c[m>>2]=h;if(Qx(a,f,0)|0)$v(a);h=(c[m>>2]|0)+-16|0;f=a+104|0;g=b[f>>1]|0;if(!(g<<16>>16)){d=c[k>>2]|0;c[d+16>>2]=17;c[d+24>>2]=0;d=a+106|0;e=(b[d>>1]|0)+1<<16>>16;b[d>>1]=e;if((e&65535)>199){if(e<<16>>16==200)_v(a,279702,i);if((e&65535)>224)cw(a,6)}if(!(gw(a,h,-1)|0))Ex(a)}else{d=a+106|0;e=(b[d>>1]|0)+1<<16>>16;b[d>>1]=e;if((e&65535)>199){if(e<<16>>16==200)_v(a,279702,j);if((e&65535)>224)cw(a,6)}b[f>>1]=g+1<<16>>16;if(!(gw(a,h,-1)|0))Ex(a);b[f>>1]=(b[f>>1]|0)+-1<<16>>16}b[d>>1]=(b[d>>1]|0)+-1<<16>>16;f=c[k>>2]|0;g=f+4|0;d=c[m>>2]|0;e=d;if((c[g>>2]|0)>>>0>=d>>>0){m=c[f>>2]|0;m=m+16|0;m=e-m|0;m=m>>4;m=m+-1|0;l=n;return m|0}c[g>>2]=d;m=c[f>>2]|0;m=m+16|0;m=e-m|0;m=m>>4;m=m+-1|0;l=n;return m|0}function gy(b){b=b|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;k=l;l=l+112|0;m=k;k=k+8|0;e=Nx(b,2,1,0)|0;o=b+16|0;g=c[c[o>>2]>>2]|0;p=b+8|0;h=c[p>>2]|0;i=g+32|0;if(h>>>0>>0){d=(g+24+4+(3-h)|0)>>>4;f=h;do{c[f+8>>2]=0;f=f+16|0}while(f>>>0>>0);c[p>>2]=h+(d+1<<4)}c[p>>2]=i;if(!((e|0)>0?((c[g+24>>2]&15)+-3|0)>>>0<2:0))$v(b);d=c[o>>2]|0;f=b+48|0;if((e|0)!=0&(d|0)!=(f|0)){do{i=e;e=e+-1|0;d=c[d+8>>2]|0}while((i|0)>1&(d|0)!=(f|0));if(!((e|0)!=0|(d|0)==(f|0))?(c[k+96>>2]=d,Wv(b,281966,k)|0,j=c[k+20>>2]|0,(j|0)>0):0){c[m>>2]=k+36;c[m+4>>2]=j;Hv(b,281969,m)|0;f=c[p>>2]|0;d=b+12|0;e=f}else n=11}else n=11;if((n|0)==11){f=b+12|0;d=c[f>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[f>>2]|0}e=d+280+(((334803>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(334803,d+16|0)|0){d=jx(b,334803,0)|0;c[e>>2]=d}n=c[p>>2]|0;c[n>>2]=d;c[n+8>>2]=(a[d+4>>0]|64)&255;n=(c[p>>2]|0)+16|0;c[p>>2]=n;d=f;e=n;f=n}o=(c[c[o>>2]>>2]|0)+16|0;o=o>>>0>>0?o:316088;c[f>>2]=c[o>>2];c[f+4>>2]=c[o+4>>2];c[f+8>>2]=c[o+8>>2];c[f+12>>2]=c[o+12>>2];c[p>>2]=(c[p>>2]|0)+16;if((c[(c[d>>2]|0)+12>>2]|0)>0)Ew(b);Bx(b,2);$v(b);return 0}function hy(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=a+16|0;b=c[c[e>>2]>>2]|0;f=b+16|0;g=a+8|0;d=c[g>>2]|0;if(f>>>0>=d>>>0|(f|0)==316088){Hx(a,1,283727)|0;f=c[g>>2]|0;b=c[c[e>>2]>>2]|0}else f=d;b=b+16|0;b=b>>>0>>0?b:316088;d=c[b+8>>2]|0;switch(d&15){case 5:{b=(c[b>>2]|0)+24|0;break}case 7:{b=(c[b>>2]|0)+8|0;break}default:b=(c[a+12>>2]|0)+244+((d&15)<<2)|0}b=c[b>>2]|0;if(!b){c[f+8>>2]=0;c[g>>2]=f+16;return 1}else{c[f>>2]=b;c[f+8>>2]=69;c[g>>2]=(c[g>>2]|0)+16;Ux(a,1,282488)|0;return 1}return 0}function iy(a){a=a|0;var b=0;b=(Ux(a,1,285786)|0)!=0;zy(a,282705,1,b?393:392);return 3}function jy(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;k=m;i=a+16|0;d=c[c[i>>2]>>2]|0;b=d+16|0;j=a+8|0;f=c[j>>2]|0;a:do if(!(b>>>0>=f>>>0|(b|0)==316088)?(e=c[d+24>>2]|0,(e&15|0)!=0):0){switch(e&15){case 4:break;case 3:{h=4;break}default:{Kx(a,1,287470);f=0;break a}}if((h|0)==4){if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);d=c[c[i>>2]>>2]|0;b=c[j>>2]|0}else b=f;f=d+16|0;b=f>>>0>>0?f:316088;Jw(a,b)}f=(c[b>>2]|0)+16|0}else f=0;while(0);d=c[c[i>>2]>>2]|0;e=d+32|0;b=c[j>>2]|0;b:do if(!(e>>>0>=b>>>0|(e|0)==316088)?(g=c[d+40>>2]|0,(g&15|0)!=0):0){switch(g&15){case 4:{b=e;break}case 3:{h=12;break}default:{Kx(a,2,287470);b=0;break b}}if((h|0)==12){if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);d=c[c[i>>2]>>2]|0;b=c[j>>2]|0}h=d+32|0;b=h>>>0>>0?h:316088;Jw(a,b)}b=(c[b>>2]|0)+16|0}else b=0;while(0);e=(c[c[i>>2]>>2]|0)+48|0;e=(e|0)!=316088?e>>>0<(c[j>>2]|0)>>>0:0;d=e?3:0;if(Qx(a,f,b)|0){d=c[j>>2]|0;c[d+8>>2]=0;c[j>>2]=d+16;b=d;d=d+-16|0;do{c[k>>2]=c[d>>2];c[k+4>>2]=c[d+4>>2];c[k+8>>2]=c[d+8>>2];c[k+12>>2]=c[d+12>>2];c[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[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];c[b+8>>2]=c[k+8>>2];c[b+12>>2]=c[k+12>>2];d=d+16|0;b=b+-16|0}while(d>>>0>>0);k=2;l=m;return k|0}if(!e){k=1;l=m;return k|0}k=c[j>>2]|0;i=(c[c[i>>2]>>2]|0)+(d<<4)|0;i=i>>>0>>0?i:316088;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];c[j>>2]=(c[j>>2]|0)+16;if(Vv(a,-2,1)|0){k=1;l=m;return k|0}c[j>>2]=(c[j>>2]|0)+-16;k=1;l=m;return k|0}function ky(b){b=b|0;var 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;u=l;l=l+16|0;t=u;r=b+16|0;f=c[c[r>>2]>>2]|0;g=f+16|0;s=b+8|0;e=c[s>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;q=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[r>>2]>>2]|0;e=c[s>>2]|0}q=f+16|0;e=q>>>0>>0?q:316088;Jw(b,e);q=5;break}default:{j=0;g=0}}if((q|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)g=d[e+7>>0]|0;else g=c[e+12>>2]|0;j=e+16|0;f=c[c[r>>2]>>2]|0;e=c[s>>2]|0}h=f+48|0;a:do if(!(h>>>0>=e>>>0|(h|0)==316088)?(i=c[f+56>>2]|0,(i&15|0)!=0):0){switch(i&15){case 4:{e=h;break}case 3:{q=12;break}default:{Kx(b,3,287470);k=0;break a}}if((q|0)==12){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[r>>2]>>2]|0;e=c[s>>2]|0}n=f+48|0;e=n>>>0>>0?n:316088;Jw(b,e)}k=(c[e>>2]|0)+16|0}else k=282631;while(0);f=c[c[r>>2]>>2]|0;n=f+64|0;e=c[s>>2]|0;if(n>>>0>=e>>>0|(n|0)==316088)h=-1;else h=c[f+72>>2]&15;m=(h|0)!=-1;n=m?4:0;h=f+32|0;i=h>>>0>=e>>>0|(h|0)==316088;if(!j){b:do if(!i?(p=c[f+40>>2]|0,(p&15|0)!=0):0){switch(p&15){case 4:{e=h;break}case 3:{q=32;break}default:{Kx(b,2,287470);i=0;break b}}if((q|0)==32){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[r>>2]>>2]|0;e=c[s>>2]|0}q=f+32|0;e=q>>>0>>0?q:316088;Jw(b,e)}i=(c[e>>2]|0)+16|0}else i=282634;while(0);e=c[c[r>>2]>>2]|0;q=e+16|0;f=c[s>>2]|0;if(!(!(q>>>0>=f>>>0|(q|0)==316088)?(c[e+24>>2]&15|0)==6:0)){Kx(b,1,287066);e=c[c[r>>2]>>2]|0;f=c[s>>2]|0}h=e+96|0;if(f>>>0>>0){e=(e+88+4+(3-f)|0)>>>4;g=f;do{c[g+8>>2]=0;g=g+16|0}while(g>>>0>>0);c[s>>2]=f+(e+1<<4)}c[s>>2]=h;e=Rv(b,18,0,i,k)|0}else{c:do if(!i?(o=c[f+40>>2]|0,(o&15|0)!=0):0){switch(o&15){case 4:{e=h;break}case 3:{q=23;break}default:{Kx(b,2,287470);e=0;break c}}if((q|0)==23){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[r>>2]>>2]|0;e=c[s>>2]|0}q=f+32|0;e=q>>>0>>0?q:316088;Jw(b,e)}e=(c[e>>2]|0)+16|0}else e=j;while(0);c[t>>2]=j;c[t+4>>2]=g;e=Rv(b,7,t,e,k)|0}if(e|0){f=c[s>>2]|0;c[f+8>>2]=0;c[s>>2]=f+16;e=f;f=f+-16|0;do{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];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[t>>2];c[e+4>>2]=c[t+4>>2];c[e+8>>2]=c[t+8>>2];c[e+12>>2]=c[t+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);t=2;l=u;return t|0}if(!m){t=1;l=u;return t|0}t=c[s>>2]|0;r=(c[c[r>>2]>>2]|0)+(n<<4)|0;r=r>>>0>>0?r:316088;c[t>>2]=c[r>>2];c[t+4>>2]=c[r+4>>2];c[t+8>>2]=c[r+8>>2];c[t+12>>2]=c[r+12>>2];c[s>>2]=(c[s>>2]|0)+16;if(Vv(b,-2,1)|0){t=1;l=u;return t|0}c[s>>2]=(c[s>>2]|0)+-16;t=1;l=u;return t|0}function ly(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+16|0;d=c[c[b>>2]>>2]|0;f=d+16|0;g=a+8|0;e=c[g>>2]|0;if(!(!(f>>>0>=e>>>0|(f|0)==316088)?(c[d+24>>2]&15|0)==5:0)){Kx(a,1,281107);d=c[c[b>>2]>>2]|0;e=c[g>>2]|0}f=d+48|0;if(e>>>0>>0){b=(d+40+4+(3-e)|0)>>>4;d=e;do{c[d+8>>2]=0;d=d+16|0}while(d>>>0>>0);c[g>>2]=e+(b+1<<4)}c[g>>2]=f;if(Sv(a,1)|0){a=2;return a|0}a=c[g>>2]|0;c[a+8>>2]=0;c[g>>2]=a+16;a=1;return a|0}function my(a){a=a|0;zy(a,282623,0,244);return 3}function ny(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+16|0;i=j;g=a+16|0;b=c[c[g>>2]>>2]|0;f=b+16|0;h=a+8|0;d=c[h>>2]|0;if(f>>>0>=d>>>0|(f|0)==316088){Hx(a,1,283727)|0;b=c[c[g>>2]>>2]|0;d=c[h>>2]|0}c[d>>2]=1;c[d+8>>2]=1;c[h>>2]=d+16;b=b>>>0>>0?b+16|0:316088;e=d+-16|0;if(b>>>0>>0){f=b;do{c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[i>>2];c[e+4>>2]=c[i+4>>2];c[e+8>>2]=c[i+8>>2];c[e+12>>2]=c[i+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0)}if(b>>>0>>0)do{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[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[d>>2]=c[i>>2];c[d+4>>2]=c[i+4>>2];c[d+8>>2]=c[i+8>>2];c[d+12>>2]=c[i+12>>2];b=b+16|0;d=d+-16|0}while(b>>>0>>0);if((Pv(a,((c[h>>2]|0)-((c[c[g>>2]>>2]|0)+16)>>4)+-2|0,-1,0,0,19)|0)>>>0>1){a=c[h>>2]|0;c[a>>2]=0;c[a+8>>2]=1;i=a+16|0;c[h>>2]=i;a=a+-16|0;c[i>>2]=c[a>>2];c[i+4>>2]=c[a+4>>2];c[i+8>>2]=c[a+8>>2];c[i+12>>2]=c[a+12>>2];c[h>>2]=(c[h>>2]|0)+16;i=2;l=j;return i|0}else{i=(c[h>>2]|0)-((c[c[g>>2]>>2]|0)+16)>>4;l=j;return i|0}return 0}function oy(e){e=e|0;var 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;t=l;l=l+16|0;s=t+8|0;r=t;n=e+8|0;j=c[n>>2]|0;o=e+16|0;m=j-((c[c[o>>2]>>2]|0)+16)|0;p=m>>4;q=e+12|0;i=c[q>>2]|0;f=c[i+40>>2]|0;k=j;a:do if((c[f+8>>2]|0)>>>0>1)h=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(h=g+16|0,(c[h>>2]|0)==2&(c[h+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){h=316088;break a}g=g+(f<<5)|0}h=g}while(0);g=i+280+(((282447>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(282447,f+16|0)|0){f=jx(e,282447,8)|0;c[g>>2]=f}c[j>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[n>>2]|0;c[n>>2]=k+16;wx(e,h,k,k);b:do if((m|0)>=16){h=e+106|0;i=e+104|0;f=c[n>>2]|0;j=1;c:while(1){g=f+-16|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];f=(c[n>>2]|0)+16|0;c[n>>2]=f;g=(c[c[o>>2]>>2]|0)+(j<<4)|0;g=g>>>0>>0?g:316088;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];f=c[n>>2]|0;c[n>>2]=f+16;f=f+-16|0;g=(b[h>>1]|0)+1<<16>>16;b[h>>1]=g;if((g&65535)>199){if(g<<16>>16==200){f=16;break}if((g&65535)>224){f=18;break}}b[i>>1]=(b[i>>1]|0)+1<<16>>16;if(!(gw(e,f,1)|0))Ex(e);b[i>>1]=(b[i>>1]|0)+-1<<16>>16;b[h>>1]=(b[h>>1]|0)+-1<<16>>16;f=c[n>>2]|0;switch(c[f+-8>>2]&15){case 4:{f=f+-16|0;break}case 3:{if((c[(c[q>>2]|0)+12>>2]|0)>0){Ew(e);f=c[n>>2]|0}f=f+-16|0;Jw(e,f);break}default:{f=29;break c}}g=c[f>>2]|0;if((a[g+4>>0]|0)==4)f=d[g+7>>0]|0;else f=c[g+12>>2]|0;if((j|0)>1)WP(9,33264);YO(g+16|0,1,f,33264)|0;f=(c[n>>2]|0)+-16|0;c[n>>2]=f;if((j|0)>=(p|0))break b;else j=j+1|0}if((f|0)==16)_v(e,279702,r);else if((f|0)==18)cw(e,6);else if((f|0)==29){Ix(e,282580,s);l=t;return 0}}while(0);WP(10,33264);iP(33264)|0;l=t;return 0}function py(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=a+16|0;b=c[c[d>>2]>>2]|0;g=b+16|0;f=a+8|0;e=c[f>>2]|0;if(g>>>0>=e>>>0|(g|0)==316088){Hx(a,1,283727)|0;e=c[f>>2]|0;b=c[c[d>>2]>>2]|0}g=b+32|0;if(g>>>0>=e>>>0|(g|0)==316088){Hx(a,2,283727)|0;b=c[c[d>>2]>>2]|0;e=c[f>>2]|0}d=b+16|0;d=d>>>0>>0?d:316088;b=b+32|0;b=b>>>0>>0?b:316088;if(!((d|0)!=316088&(b|0)!=316088)){a=0;g=e;a=a&1;c[g>>2]=a;a=g+8|0;c[a>>2]=1;g=g+16|0;c[f>>2]=g;return 1}a=(Ax(0,d,b)|0)!=0;g=c[f>>2]|0;a=a&1;c[g>>2]=a;a=g+8|0;c[a>>2]=1;g=g+16|0;c[f>>2]=g;return 1}function qy(a){a=a|0;var b=0,e=0,f=0,g=0,h=0;e=a+16|0;b=c[c[e>>2]>>2]|0;h=b+16|0;g=a+8|0;f=c[g>>2]|0;if(!(h>>>0>=f>>>0|(h|0)==316088)?(c[b+24>>2]&14|0)==4:0)e=f;else{Hx(a,1,282555)|0;b=c[c[e>>2]>>2]|0;e=c[g>>2]|0}b=b+16|0;b=b>>>0>>0?b:316088;switch(c[b+8>>2]&63){case 4:{b=d[(c[b>>2]|0)+7>>0]|0;break}case 20:{b=c[(c[b>>2]|0)+12>>2]|0;break}case 7:{b=c[(c[b>>2]|0)+12>>2]|0;break}case 5:{b=qx(c[b>>2]|0)|0;break}default:b=0}h=e;c[h>>2]=b;c[h+4>>2]=0;c[e+8>>2]=19;c[g>>2]=e+16;return 1}function ry(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=a+16|0;b=c[c[e>>2]>>2]|0;f=b+16|0;g=a+8|0;d=c[g>>2]|0;if(!(!(f>>>0>=d>>>0|(f|0)==316088)?(c[b+24>>2]&15|0)==5:0)){Kx(a,1,281107);b=c[c[e>>2]>>2]|0;d=c[g>>2]|0}f=b+32|0;if(f>>>0>=d>>>0|(f|0)==316088){Hx(a,2,283727)|0;b=c[c[e>>2]>>2]|0;d=c[g>>2]|0}e=b+48|0;if(d>>>0>>0){a=(b+40+4+(3-d)|0)>>>4;f=d;do{c[f+8>>2]=0;f=f+16|0}while(f>>>0>>0);c[g>>2]=d+(a+1<<4)}c[g>>2]=e;g=b+32|0;f=ox(c[b+16>>2]|0,g)|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];return 1}function sy(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=b+16|0;d=c[c[f>>2]>>2]|0;h=d+16|0;i=b+8|0;e=c[i>>2]|0;if(!(!(h>>>0>=e>>>0|(h|0)==316088)?(c[d+24>>2]&15|0)==5:0)){Kx(b,1,281107);d=c[c[f>>2]>>2]|0;e=c[i>>2]|0}h=d+32|0;if(h>>>0>=e>>>0|(h|0)==316088){Hx(b,2,283727)|0;d=c[c[f>>2]>>2]|0;e=c[i>>2]|0}h=d+48|0;if(h>>>0>=e>>>0|(h|0)==316088){Hx(b,3,283727)|0;d=c[c[f>>2]>>2]|0;e=c[i>>2]|0}f=d+64|0;if(e>>>0>>0){g=(d+56+4+(3-e)|0)>>>4;h=e;do{c[h+8>>2]=0;h=h+16|0}while(h>>>0>>0);c[i>>2]=e+(g+1<<4)}c[i>>2]=f;g=c[d+16>>2]|0;e=d+32|0;d=ox(g,e)|0;if((d|0)==316088)d=nx(b,g,e)|0;h=(c[i>>2]|0)+-16|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];a[g+6>>0]=0;d=c[i>>2]|0;if(!(c[d+-8>>2]&64)){b=d+-32|0;c[i>>2]=b;return 1}e=g+5|0;f=a[e>>0]|0;if(!(f&4)){b=d+-32|0;c[i>>2]=b;return 1}if(!(a[(c[d+-16>>2]|0)+5>>0]&3)){b=d+-32|0;c[i>>2]=b;return 1}b=c[b+12>>2]|0;a[e>>0]=f&-5;b=b+80|0;c[g+28>>2]=c[b>>2];c[b>>2]=g;b=d+-32|0;c[i>>2]=b;return 1}function ty(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=b+8|0;d=c[j>>2]|0;g=b+16|0;e=c[c[g>>2]>>2]|0;h=e+16|0;k=d-h>>4;if(!(h>>>0>=d>>>0|(h|0)==316088)?(f=c[e+24>>2]|0,(f&15|0)==4):0){switch(f&15){case 4:{d=h;i=7;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[g>>2]>>2]|0;d=c[j>>2]|0}i=e+16|0;d=i>>>0>>0?i:316088;Jw(b,d);i=7;break}default:d=0}if((i|0)==7)d=(c[d>>2]|0)+16|0;if((a[d>>0]|0)==35){i=k+-1|0;b=c[j>>2]|0;k=b;c[k>>2]=i;c[k+4>>2]=((i|0)<0)<<31>>31;c[b+8>>2]=19;c[j>>2]=b+16;b=1;return b|0}}d=Mx(b,1)|0;j=z;g=(j|0)<0;i=((k|0)<0)<<31>>31;f=lQ(d|0,j|0,k|0,i|0)|0;h=(j|0)>(i|0)|(j|0)==(i|0)&d>>>0>k>>>0;d=g?f:h?k:d;j=g?z:h?i:j;if(!((j|0)>0|(j|0)==0&d>>>0>0))Hx(b,1,282536)|0;b=k-d|0;return b|0}function uy(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=l;l=l+16|0;g=i;b=a+16|0;e=c[c[b>>2]>>2]|0;d=e+32|0;h=a+8|0;f=c[h>>2]|0;if(d>>>0>=f>>>0|(d|0)==316088)d=-1;else d=c[e+40>>2]&15;j=e+16|0;if(!(!(j>>>0>=f>>>0|(j|0)==316088)?(c[e+24>>2]&15|0)==5:0))Kx(a,1,281107);switch(d|0){case 0:case 5:break;default:Hx(a,2,283129)|0}if(Ux(a,1,282488)|0){Ix(a,282500,g);l=i;return 1}b=c[c[b>>2]>>2]|0;e=c[h>>2]|0;f=b+48|0;if(e>>>0>>0){b=(b+40+4+(3-e)|0)>>>4;d=e;do{c[d+8>>2]=0;d=d+16|0}while(d>>>0>>0);c[h>>2]=e+(b+1<<4)}c[h>>2]=f;Ov(a,1);l=i;return 1}function vy(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;j=b+16|0;f=c[c[j>>2]>>2]|0;m=f+32|0;o=b+8|0;e=c[o>>2]|0;if(!(m>>>0>=e>>>0|(m|0)==316088)?(c[f+40>>2]&15|0)!=0:0){m=Mx(b,2)|0;h=z;f=c[c[j>>2]>>2]|0;l=f+16|0;e=c[o>>2]|0;if(!(!(l>>>0>=e>>>0|(l|0)==316088)?(c[f+24>>2]&15|0)==4:0)){Kx(b,1,287470);f=c[c[j>>2]>>2]|0;e=c[o>>2]|0}g=f+16|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;n=28;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[j>>2]>>2]|0;e=c[o>>2]|0}n=f+16|0;e=n>>>0>>0?n:316088;Jw(b,e);n=28;break}default:{Kx(b,1,287470);l=0;k=0}}if((n|0)==28){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;l=e+16|0;k=f}j=lQ(m|0,h|0,-2,-1)|0;i=z;if(!(i>>>0<0|(i|0)==0&j>>>0<35))Hx(b,2,282463)|0;e=MP(l,282481)|0;f=l+e|0;switch(a[f>>0]|0){case 45:{f=l+(e+1)|0;b=1;break}case 43:{f=l+(e+1)|0;b=0;break}default:b=0}e=a[f>>0]|0;a:do if(!(aO(e&255)|0)){g=0;f=0;e=0}else{i=((m|0)<0)<<31>>31;h=0;j=0;while(1){g=e&255;if((g+-48|0)>>>0<10)e=(e<<24>>24)+-48|0;else e=(oN(g)|0)+-55|0;if((e|0)>=(m|0)){g=0;f=0;e=0;break a}g=rQ(h|0,j|0,m|0,i|0)|0;h=lQ(e|0,((e|0)<0)<<31>>31|0,g|0,z|0)|0;j=z;g=f+1|0;e=a[g>>0]|0;if(!(aO(e&255)|0))break;else f=g}g=f+((MP(g,282481)|0)+1)|0;e=(b|0)!=0;f=mQ(0,0,h|0,j|0)|0;f=e?f:h;e=e?z:j}while(0);if((g|0)==(l+k|0)){m=c[o>>2]|0;l=m;c[l>>2]=f;c[l+4>>2]=e;c[m+8>>2]=19;e=m+16|0}else n=48}else n=3;b:do if((n|0)==3){m=f+16|0;if(m>>>0>=e>>>0|(m|0)==316088){Hx(b,1,283727)|0;f=c[c[j>>2]>>2]|0;i=c[o>>2]|0}else i=e;e=f+16|0;g=e>>>0>>0;if(!((e|0)==316088|g^1)?(h=f+24|0,(c[h>>2]&15|0)==3):0){e=f+32|0;if(i>>>0>=e>>>0)break;f=(h+4+(3-i)|0)>>>4;g=i;do{c[g+8>>2]=0;g=g+16|0}while(g>>>0>>0);c[o>>2]=i+(f+1<<4);break}e=g?e:316088;switch(c[e+8>>2]&15){case 4:break;case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[j>>2]>>2]|0;e=c[o>>2]|0}else e=i;n=f+16|0;e=n>>>0>>0?n:316088;Jw(b,e);break}default:{n=48;break b}}e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;e=Iw(e+16|0,c[o>>2]|0)|0;if(e|0)c[o>>2]=(c[o>>2]|0)+16;if((e|0)==(f+1|0))return 1;else n=48}while(0);if((n|0)==48){e=c[o>>2]|0;c[e+8>>2]=0;e=e+16|0}c[o>>2]=e;return 1}function wy(a){a=a|0;var b=0;b=(c[c[a+16>>2]>>2]|0)+16|0;if(!((b|0)==316088?1:b>>>0>=(c[a+8>>2]|0)>>>0)){Wx(a,1,0)|0;return 1}Hx(a,1,283727)|0;Wx(a,1,0)|0;return 1}function xy(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;j=k;g=a+8|0;b=c[g>>2]|0;h=a+16|0;d=c[c[h>>2]>>2]|0;i=b-(d+16)>>4;f=d+32|0;if(!(!(f>>>0>=b>>>0|(f|0)==316088)?(c[d+40>>2]&15|0)==6:0)){Kx(a,2,287066);b=c[g>>2]|0;d=c[c[h>>2]>>2]|0}c[b>>2]=1;c[b+8>>2]=1;e=b+16|0;c[g>>2]=e;d=d>>>0>>0?d+16|0:316088;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];d=c[g>>2]|0;e=d+16|0;c[g>>2]=e;b=(c[c[h>>2]>>2]|0)+48|0;b=b>>>0>>0?b:316088;e=d+-32|0;if(b>>>0>>0){f=b;do{c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0)}e=d;f=d+-16|0;do{c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);if(b>>>0>>0)do{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];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[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];b=b+16|0;d=d+-16|0}while(b>>>0>>0);if((Pv(a,i+-2|0,-1,2,2,19)|0)>>>0>1){a=c[g>>2]|0;c[a>>2]=0;c[a+8>>2]=1;j=a+16|0;c[g>>2]=j;a=a+-16|0;c[j>>2]=c[a>>2];c[j+4>>2]=c[a+4>>2];c[j+8>>2]=c[a+8>>2];c[j+12>>2]=c[a+12>>2];c[g>>2]=(c[g>>2]|0)+16;j=2;l=k;return j|0}else{j=((c[g>>2]|0)-((c[c[h>>2]>>2]|0)+16)>>4)+-2|0;l=k;return j|0}return 0}function yy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=a+8|0;if(b>>>0>1){d=c[e>>2]|0;c[d>>2]=0;c[d+8>>2]=1;b=d+16|0;c[e>>2]=b;d=d+-16|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[e>>2]=(c[e>>2]|0)+16;b=2;return b|0}else{b=((c[e>>2]|0)-((c[c[a+16>>2]>>2]|0)+16)>>4)-d|0;return b|0}return 0}function zy(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,k=0;j=l;l=l+16|0;i=j;if(!(Ux(a,1,d)|0)){g=a+16|0;i=c[c[g>>2]>>2]|0;k=i+16|0;h=a+8|0;d=c[h>>2]|0;if(!(!(k>>>0>=d>>>0|(k|0)==316088)?(c[i+24>>2]&15|0)==5:0)){Kx(a,1,281107);d=c[h>>2]|0}c[d>>2]=f;c[d+8>>2]=22;k=c[h>>2]|0;d=k+16|0;c[h>>2]=d;g=c[c[g>>2]>>2]|0;g=g>>>0>>0?g+16|0:316088;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];d=c[h>>2]|0;g=d+16|0;c[h>>2]=g;if(!e){c[d+24>>2]=0;c[h>>2]=d+32;l=j;return}else{k=g;c[k>>2]=0;c[k+4>>2]=0;c[d+24>>2]=19;c[h>>2]=d+32;l=j;return}}h=a+8|0;g=c[h>>2]|0;d=(c[c[a+16>>2]>>2]|0)+16|0;d=d>>>0>>0?d:316088;c[g>>2]=c[d>>2];c[g+4>>2]=c[d+4>>2];c[g+8>>2]=c[d+8>>2];c[g+12>>2]=c[d+12>>2];g=c[h>>2]|0;c[h>>2]=g+16;g=g+-16|0;h=a+106|0;d=(b[h>>1]|0)+1<<16>>16;b[h>>1]=d;if((d&65535)>199){if(d<<16>>16==200)_v(a,279702,i);if((d&65535)>224)cw(a,6)}d=a+104|0;b[d>>1]=(b[d>>1]|0)+1<<16>>16;if(!(gw(a,g,3)|0))Ex(a);b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[h>>1]=(b[h>>1]|0)+-1<<16>>16;l=j;return}function Ay(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;o=r+16|0;n=r+8|0;i=r;j=r+20|0;c[j>>2]=22;p=e+16|0;k=c[p>>2]|0;q=e+8|0;f=c[q>>2]|0;h=f;do if(((c[e+24>>2]|0)-h|0)>352){i=f;f=22;m=5}else{if(((h-(c[e+28>>2]|0)>>4)+5|0)<=999978?(dw(e,168,j)|0)==0:0){i=c[q>>2]|0;f=c[j>>2]|0;m=5;break}c[i>>2]=282642;Ix(e,282039,i);f=c[q>>2]|0;h=f}while(0);if((m|0)==5){h=k+4|0;f=i+(f<<4)|0;if((c[h>>2]|0)>>>0>>0)c[h>>2]=f;h=i;f=i}i=(c[c[p>>2]>>2]|0)+16|0;h=i>>>0>>0?i:316088;c[f>>2]=c[h>>2];c[f+4>>2]=c[h+4>>2];c[f+8>>2]=c[h+8>>2];c[f+12>>2]=c[h+12>>2];h=c[q>>2]|0;c[q>>2]=h+16;i=e+106|0;f=(b[i>>1]|0)+1<<16>>16;b[i>>1]=f;if((f&65535)>199){if(f<<16>>16==200)_v(e,279702,n);if((f&65535)>224)cw(e,6)}f=e+104|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;if(!(gw(e,h,1)|0))Ex(e);b[f>>1]=(b[f>>1]|0)+-1<<16>>16;b[i>>1]=(b[i>>1]|0)+-1<<16>>16;f=c[q>>2]|0;i=f+-16|0;h=c[f+-8>>2]|0;if((i|0)!=316088&(h&15|0)==0){c[q>>2]=i;c[g>>2]=0;g=0;l=r;return g|0}if(((h&15)+-3|0)>>>0>=2){Ix(e,282668,o);f=c[q>>2]|0}h=f+-16|0;i=(c[c[p>>2]>>2]|0)+80|0;i=i>>>0>>0?i:316088;c[i>>2]=c[h>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];i=(c[q>>2]|0)+-16|0;c[q>>2]=i;h=c[c[p>>2]>>2]|0;f=h+80|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:break;case 3:{if((c[(c[e+12>>2]|0)+12>>2]|0)>0){Ew(e);h=c[c[p>>2]>>2]|0;f=c[q>>2]|0}else f=i;q=h+80|0;f=q>>>0>>0?q:316088;Jw(e,f);break}default:{if(!g){g=0;l=r;return g|0}c[g>>2]=0;g=0;l=r;return g|0}}if(!g)f=c[f>>2]|0;else{f=c[f>>2]|0;if((a[f+4>>0]|0)==4)h=d[f+7>>0]|0;else h=c[f+12>>2]|0;c[g>>2]=h}g=f+16|0;l=r;return g|0}function By(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;i=Mx(a,2)|0;i=lQ(i|0,z|0,1,0)|0;h=z;b=a+8|0;f=c[b>>2]|0;d=f;c[d>>2]=i;c[d+4>>2]=h;c[f+8>>2]=19;d=f+16|0;e=c[c[a+16>>2]>>2]|0;g=d;c[g>>2]=i;c[g+4>>2]=h;c[f+24>>2]=19;c[b>>2]=f+32;wx(a,e>>>0>>0?e+16|0:316088,d,d);return ((c[(c[b>>2]|0)+-8>>2]&15|0)==0?1:2)|0}function Cy(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Mx(a,2)|0;h=z;i=lQ(g|0,h|0,1,0)|0;j=z;f=a+16|0;b=c[c[f>>2]>>2]|0;l=b+16|0;k=a+8|0;e=c[k>>2]|0;if(!(!(l>>>0>=e>>>0|(l|0)==316088)?(c[b+24>>2]&15|0)==5:0)){Kx(a,1,281107);e=c[k>>2]|0;b=c[c[f>>2]>>2]|0}a=e;c[a>>2]=i;c[a+4>>2]=j;c[e+8>>2]=19;a=e+16|0;c[k>>2]=a;b=c[(b>>>0>>0?b+16|0:316088)>>2]|0;a:do if(h>>>0<0|((h|0)==0?g>>>0<(c[b+8>>2]|0)>>>0:0))b=(c[b+12>>2]|0)+(g<<4)|0;else{b=(c[b+16>>2]|0)+(((1<<(d[b+7>>0]|0))+-1&i)<<5)|0;while(1){if((c[b+24>>2]|0)==19?(l=b+16|0,(c[l>>2]|0)==(i|0)?(c[l+4>>2]|0)==(j|0):0):0)break;e=c[b+28>>2]|0;if(!e){b=316088;break a}b=b+(e<<5)|0}}while(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];l=c[k>>2]|0;c[k>>2]=l+16;return ((c[l+8>>2]&15|0)==0?1:2)|0}function Dy(a,b,d){a=a|0;b=b|0;d=d|0;return ((c[a+8>>2]|0)-((c[c[a+16>>2]>>2]|0)+16)>>4)+-1|0}function Ey(a){a=a|0;var b=0,d=0,e=0,f=0;d=l;l=l+16|0;b=d;if(a|0?(c[(c[a+12>>2]|0)+140>>2]|0)!=960:0)Ix(a,282282,b);if((c[(c[a+12>>2]|0)+12>>2]|0)>0)Ew(a);b=px(a)|0;e=a+8|0;f=c[e>>2]|0;c[f>>2]=b;c[f+8>>2]=69;c[e>>2]=(c[e>>2]|0)+16;mx(a,b,0,7);Xx(a,5476,0);l=d;return 1}function Fy(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+16|0;d=c[c[b>>2]>>2]|0;f=d+16|0;e=a+8|0;if(!(!((f|0)==316088?1:f>>>0>=(c[e>>2]|0)>>>0)?(c[d+24>>2]&15|0)==6:0))Kx(a,1,287066);d=ex(a)|0;f=c[e>>2]|0;b=(c[c[b>>2]>>2]|0)+16|0;b=b>>>0>>0?b:316088;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];b=c[e>>2]|0;c[e>>2]=b+16;if((d|0)==(a|0))return 1;c[e>>2]=b;f=d+8|0;a=c[f>>2]|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[f>>2]=(c[f>>2]|0)+16;return 1}function Gy(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;j=k;i=a+16|0;f=c[c[i>>2]>>2]|0;e=f+16|0;h=a+8|0;g=c[h>>2]|0;e=e>>>0>>0?e:316088;if((c[e+8>>2]|0)==72?(b=c[e>>2]|0,(b|0)!=0):0)e=g;else{Hx(a,1,282925)|0;f=c[c[i>>2]>>2]|0;e=c[h>>2]|0;b=0}f=Ny(a,b,(e-(f+16)>>4)+-1|0)|0;g=c[h>>2]|0;if((f|0)<0){c[g>>2]=0;c[g+8>>2]=1;c[h>>2]=g+16;e=g;b=g+-16|0;do{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];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];c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];b=b+16|0;e=e+-16|0}while(b>>>0>>0);j=2;l=k;return j|0}c[g>>2]=1;c[g+8>>2]=1;e=g+16|0;c[h>>2]=e;h=f+1|0;b=c[i>>2]|0;do if((f|0)>1000998){if((f|0)==1000999){b=(c[a+12>>2]|0)+40|0;break}b=c[b>>2]|0;if((c[b+8>>2]|0)==22)b=316088;else{b=c[b>>2]|0;b=(f+-1000999|0)>(d[b+6>>0]|0|0)?316088:b+16+(f+-1001e3<<4)|0}}else b=e+(~f<<4)|0;while(0);e=g+-16|0;if(b>>>0>>0){f=b;do{c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0)}if(b>>>0>>0){e=g;do{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];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];c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];b=b+16|0;e=e+-16|0}while(b>>>0>>0)}j=h;l=k;return j|0}function Hy(a){a=a|0;var b=0,d=0;b=a+8|0;d=c[b>>2]|0;c[d>>2]=a;c[d+8>>2]=72;d=c[b>>2]|0;c[d+16>>2]=(c[(c[a+12>>2]|0)+136>>2]|0)==(a|0)&1;c[d+24>>2]=1;c[b>>2]=d+32;return 2}function Iy(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=(c[c[b+16>>2]>>2]|0)+16|0;i=b+8|0;d=d>>>0<(c[i>>2]|0)>>>0?d:316088;if(!((c[d+8>>2]|0)==72?(e=c[d>>2]|0,(e|0)!=0):0)){Hx(b,1,282925)|0;e=0}a:do if((e|0)==(b|0)){e=b+12|0;d=c[e>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[e>>2]|0}e=d+280+(((282802>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(!(wN(282802,d+16|0)|0))break;else{d=jx(b,282802,7)|0;c[e>>2]=d;break}}else switch(a[e+6>>0]|0){case 1:{e=b+12|0;d=c[e>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[e>>2]|0}e=d+280+(((282941>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(!(wN(282941,d+16|0)|0))break a;else{d=jx(b,282941,9)|0;c[e>>2]=d;break a}}case 0:{h=c[e+16>>2]|0;if((h|0)!=(e+48|0)){e=b+12|0;d=c[e>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[e>>2]|0}e=d+280+(((282951>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(!(wN(282951,d+16|0)|0))break a;else{d=jx(b,282951,6)|0;c[e>>2]=d;break a}}f=b+12|0;d=c[f>>2]|0;g=(c[d+12>>2]|0)>0;if((c[e+8>>2]|0)==((c[h>>2]|0)+16|0)){if(g){Ew(b);d=c[f>>2]|0}e=d+280+(((282958>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(!(wN(282958,d+16|0)|0))break a;else{d=jx(b,282958,4)|0;c[e>>2]=d;break a}}else{if(g){Ew(b);d=c[f>>2]|0}e=d+280+(((282941>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(!(wN(282941,d+16|0)|0))break a;else{d=jx(b,282941,9)|0;c[e>>2]=d;break a}}}default:{e=b+12|0;d=c[e>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[e>>2]|0}e=d+280+(((282958>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(!(wN(282958,d+16|0)|0))break a;else{d=jx(b,282958,4)|0;c[e>>2]=d;break a}}}while(0);b=c[i>>2]|0;c[b>>2]=d;c[b+8>>2]=(a[d+4>>0]|64)&255;c[i>>2]=(c[i>>2]|0)+16;return 1}function Jy(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=b+16|0;f=c[c[d>>2]>>2]|0;e=f+16|0;g=b+8|0;if(!(!((e|0)==316088?1:e>>>0>=(c[g>>2]|0)>>>0)?(c[f+24>>2]&15|0)==6:0))Kx(b,1,287066);e=ex(b)|0;f=c[g>>2]|0;d=(c[c[d>>2]>>2]|0)+16|0;d=d>>>0>>0?d:316088;c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];d=c[g>>2]|0;c[g>>2]=d+16;if((e|0)!=(b|0)){c[g>>2]=d;f=e+8|0;e=c[f>>2]|0;c[e>>2]=c[d>>2];c[e+4>>2]=c[d+4>>2];c[e+8>>2]=c[d+8>>2];c[e+12>>2]=c[d+12>>2];c[f>>2]=(c[f>>2]|0)+16}d=b+12|0;e=c[d>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[d>>2]|0}d=e+4|0;f=jg[c[e>>2]&31](c[d>>2]|0,0,6,32)|0;if(!f){if(!(c[e+140>>2]|0))cw(b,4);Fw(b,1);d=jg[c[e>>2]&31](c[d>>2]|0,0,6,32)|0;if(!d)cw(b,4);else h=d}else h=f;f=e+12|0;c[f>>2]=(c[f>>2]|0)+32;a[h+5>>0]=a[e+60>>0]&3;a[h+4>>0]=38;f=e+64|0;c[h>>2]=c[f>>2];c[f>>2]=h;a[h+6>>0]=1;c[h+12>>2]=394;f=(c[g>>2]|0)+-16|0;c[g>>2]=f;b=h+16|0;c[b>>2]=c[f>>2];c[b+4>>2]=c[f+4>>2];c[b+8>>2]=c[f+8>>2];c[b+12>>2]=c[f+12>>2];b=c[g>>2]|0;c[b>>2]=h;c[b+8>>2]=102;c[g>>2]=(c[g>>2]|0)+16;return 1}function Ky(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;j=k+8|0;i=k;e=c[d+8>>2]|0;f=c[d+16>>2]|0;g=c[f>>2]|0;h=e-(g+16)>>4;if(!(b[d+104>>1]|0)){a[d+6>>0]=1;c[f+28>>2]=g-(c[d+28>>2]|0);if(!(a[f+34>>0]&2)){c[f+16>>2]=0;c[f>>2]=e+(~h<<4);cw(d,1)}else{l=k;return 0}}else if((c[(c[d+12>>2]|0)+136>>2]|0)==(d|0))_v(d,279799,j);else _v(d,279757,i);return 0}function Ly(a){a=a|0;var d=0,e=0;d=a+8|0;e=c[d>>2]|0;c[e>>2]=(b[a+104>>1]|0)==0&1;c[e+8>>2]=1;c[d>>2]=e+16;return 1}function My(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;g=l;l=l+112|0;j=g+104|0;m=g;f=b+16|0;e=c[c[f>>2]>>2]|0;if((c[e+8>>2]|0)==22)d=316088;else{d=c[e>>2]|0;d=(a[d+6>>0]|0)==0?316088:d+16|0}if((c[d+8>>2]|0)==72)d=c[d>>2]|0;else d=0;k=b+8|0;d=Ny(b,d,(c[k>>2]|0)-(e+16)>>4)|0;if((d|0)>=0){l=g;return d|0}if(((c[(c[k>>2]|0)+-8>>2]&15)+-3|0)>>>0>=2)$v(b);e=c[f>>2]|0;d=b+48|0;if(((e|0)!=(d|0)?(i=c[e+8>>2]|0,(i|0)!=(d|0)):0)?(c[m+96>>2]=i,Wv(b,281966,m)|0,h=c[m+20>>2]|0,(h|0)>0):0){c[j>>2]=m+36;c[j+4>>2]=h;Hv(b,281969,j)|0;d=c[k>>2]|0}else{e=b+12|0;d=c[e>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[e>>2]|0}e=d+280+(((334803>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(334803,d+16|0)|0){d=jx(b,334803,0)|0;c[e>>2]=d}j=c[k>>2]|0;c[j>>2]=d;c[j+8>>2]=(a[d+4>>0]|64)&255;d=(c[k>>2]|0)+16|0;c[k>>2]=d}e=d+-16|0;d=d+-32|0;do{c[m>>2]=c[d>>2];c[m+4>>2]=c[d+4>>2];c[m+8>>2]=c[d+8>>2];c[m+12>>2]=c[d+12>>2];c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[e>>2]=c[m>>2];c[e+4>>2]=c[m+4>>2];c[e+8>>2]=c[m+8>>2];c[e+12>>2]=c[m+12>>2];d=d+16|0;e=e+-16|0}while(d>>>0>>0);if((c[(c[b+12>>2]|0)+12>>2]|0)>0)Ew(b);Bx(b,2);$v(b);return 0}function Ny(f,g,h){f=f|0;g=g|0;h=h|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=l;l=l+16|0;G=J+4|0;E=J;c[G>>2]=h;H=g+16|0;m=c[H>>2]|0;I=g+8|0;j=c[I>>2]|0;k=j;do if(((c[g+24>>2]|0)-k>>4|0)>(h|0)){n=h;o=k}else{if(((k-(c[g+28>>2]|0)>>4)+5|0)<=(1e6-h|0)?(dw(g,168,G)|0)==0:0){o=c[I>>2]|0;j=o;n=c[G>>2]|0;break}j=f+12|0;i=c[j>>2]|0;if((c[i+12>>2]|0)>0){Ew(f);i=c[j>>2]|0}j=i+280+(((282840>>>0)%127|0)<<2)|0;i=c[j>>2]|0;if(wN(282840,i+16|0)|0){i=jx(f,282840,28)|0;c[j>>2]=i}f=f+8|0;I=c[f>>2]|0;c[I>>2]=i;c[I+8>>2]=(a[i+4>>0]|64)&255;c[f>>2]=(c[f>>2]|0)+16;f=-1;l=J;return f|0}while(0);k=m+4|0;j=j+(n<<4)|0;if((c[k>>2]|0)>>>0>>0)c[k>>2]=j;A=g+6|0;if((a[A>>0]|0)==0?(o|0)==((c[c[H>>2]>>2]|0)+16|0):0){j=f+12|0;i=c[j>>2]|0;if((c[i+12>>2]|0)>0){Ew(f);i=c[j>>2]|0}j=i+280+(((282869>>>0)%127|0)<<2)|0;i=c[j>>2]|0;if(wN(282869,i+16|0)|0){i=jx(f,282869,28)|0;c[j>>2]=i}f=f+8|0;I=c[f>>2]|0;c[I>>2]=i;c[I+8>>2]=(a[i+4>>0]|64)&255;c[f>>2]=(c[f>>2]|0)+16;f=-1;l=J;return f|0}F=(f|0)==(g|0);if((!F?(q=f+8|0,p=(c[q>>2]|0)+(0-h<<4)|0,c[q>>2]=p,(h|0)>0):0)?(i=c[I>>2]|0,c[i>>2]=c[p>>2],c[i+4>>2]=c[p+4>>2],c[i+8>>2]=c[p+8>>2],c[i+12>>2]=c[p+12>>2],i=(c[I>>2]|0)+16|0,c[I>>2]=i,(h|0)!=1):0){j=1;do{z=(c[q>>2]|0)+(j<<4)|0;c[i>>2]=c[z>>2];c[i+4>>2]=c[z+4>>2];c[i+8>>2]=c[z+8>>2];c[i+12>>2]=c[z+12>>2];i=(c[I>>2]|0)+16|0;c[I>>2]=i;j=j+1|0}while((j|0)!=(h|0))}c[G>>2]=h;x=g+104|0;y=b[x>>1]|0;if(!f)i=1;else i=(e[f+106>>1]|0)+1&65535;z=g+106|0;b[z>>1]=i;b[x>>1]=0;i=dw(g,169,G)|0;c[E>>2]=i;a:do if((i|0)!=-1){if((i|0)>1){r=g+28|0;s=g+109|0;t=g+92|0;u=g+88|0;w=g+12|0;v=g+32|0;b:while(1){j=c[H>>2]|0;if(!j)break;while(1){o=j+34|0;if(a[o>>0]&16)break;j=c[j+8>>2]|0;if(!j){D=59;break b}}p=c[r>>2]|0;q=c[j+28>>2]|0;h=p+q|0;k=c[v>>2]|0;c:do if(k|0)do{m=c[k>>2]|0;if(m>>>0>>0)break c;n=k+8|0;c[v>>2]=c[n>>2];if(c[k+4>>2]|0){c[n>>2]=c[m>>2];c[n+4>>2]=c[m+4>>2];c[n+8>>2]=c[m+8>>2];c[n+12>>2]=c[m+12>>2];c[k>>2]=n;if((c[k+16>>2]&64|0?(B=c[w>>2]|0,C=c[n>>2]|0,(d[B+61>>0]|0)<2):0)?a[C+5>>0]&3:0)uw(B,C)}else{n=c[w>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,k,24,0)|0;n=n+12|0;c[n>>2]=(k|0?-24:0)+(c[n>>2]|0)}k=c[v>>2]|0}while((k|0)!=0);while(0);switch(i|0){case 4:{n=c[(c[w>>2]|0)+144>>2]|0;c[h>>2]=n;c[p+(q+8)>>2]=(a[n+4>>0]|64)&255;break}case 6:{n=jx(g,279678,23)|0;c[h>>2]=n;c[p+(q+8)>>2]=(a[n+4>>0]|64)&255;break}default:{n=(c[I>>2]|0)+-16|0;c[h>>2]=c[n>>2];c[h+4>>2]=c[n+4>>2];c[h+8>>2]=c[n+8>>2];c[h+12>>2]=c[n+12>>2]}}k=p+(q+16)|0;c[I>>2]=k;c[H>>2]=j;a[s>>0]=a[o>>0]&1;b[x>>1]=0;i=j;do{h=c[i+4>>2]|0;k=k>>>0>>0?h:k;i=c[i+8>>2]|0}while((i|0)!=0);p=k-(c[r>>2]|0)|0;o=(p>>4)+1|0;o=((o|0)/8|0)+10+o|0;o=(o|0)<1e6?o:1e6;k=j+12|0;i=c[k>>2]|0;d:do if((c[t>>2]|0)>1e6){c[k>>2]=0;if(i|0)do{q=i;i=c[i+12>>2]|0;h=c[w>>2]|0;jg[c[h>>2]&31](c[h+4>>2]|0,q,36,0)|0;h=h+12|0;c[h>>2]=(q|0?-36:0)+(c[h>>2]|0)}while((i|0)!=0)}else if(i|0){m=j;do{n=m;m=c[i+12>>2]|0;if(!m)break d;h=c[w>>2]|0;jg[c[h>>2]&31](c[h+4>>2]|0,i,36,0)|0;h=h+12|0;c[h>>2]=(i|0?-36:0)+(c[h>>2]|0);c[k>>2]=m;c[m+8>>2]=n;k=m+12|0;i=c[k>>2]|0}while((i|0)!=0)}while(0);if((p|0)<=15999984?(o|0)<(c[t>>2]|0):0)ew(g,o);c[u>>2]=c[j+20>>2];i=dw(g,170,E)|0;c[E>>2]=i;if((i|0)<=1)break a}if((D|0)==59?(i|0)<=1:0)break;a[A>>0]=i;j=c[I>>2]|0;switch(i|0){case 4:{i=c[(c[w>>2]|0)+144>>2]|0;c[j>>2]=i;c[j+8>>2]=(a[i+4>>0]|64)&255;i=4;break}case 6:{i=jx(g,279678,23)|0;c[j>>2]=i;c[j+8>>2]=(a[i+4>>0]|64)&255;i=c[E>>2]|0;break}default:{E=j+-16|0;c[j>>2]=c[E>>2];c[j+4>>2]=c[E+4>>2];c[j+8>>2]=c[E+8>>2];c[j+12>>2]=c[E+12>>2]}}E=j+16|0;c[I>>2]=E;c[(c[H>>2]|0)+4>>2]=E}}else{c[E>>2]=2;i=2}while(0);b[x>>1]=y;b[z>>1]=(b[z>>1]|0)+-1<<16>>16;if(i>>>0>=2){if(F){f=-1;l=J;return f|0}H=(c[I>>2]|0)+-16|0;c[I>>2]=H;f=f+8|0;I=c[f>>2]|0;c[I>>2]=c[H>>2];c[I+4>>2]=c[H+4>>2];c[I+8>>2]=c[H+8>>2];c[I+12>>2]=c[H+12>>2];c[f>>2]=(c[f>>2]|0)+16;f=-1;l=J;return f|0}o=(c[I>>2]|0)-((c[c[H>>2]>>2]|0)+16)|0;i=o>>4;j=i+1|0;c[G>>2]=j;n=c[f+16>>2]|0;p=f+8|0;m=c[p>>2]|0;k=m;do if(((c[f+24>>2]|0)-k>>4|0)<=(j|0)){if(((k-(c[f+28>>2]|0)>>4)+5|0)<=(999999-i|0)?(dw(f,168,G)|0)==0:0){m=c[p>>2]|0;j=c[G>>2]|0;break}k=~i;if((o|0)<0){j=c[c[H>>2]>>2]|0;m=c[I>>2]|0;i=j+(0-i<<4)|0;if(m>>>0>>0){j=(j+(k<<4)+8+4+(3-m)|0)>>>4;k=m;do{c[k+8>>2]=0;k=k+16|0}while(k>>>0>>0);c[I>>2]=m+(j+1<<4)}}else i=(c[I>>2]|0)+(0-i<<4)|0;c[I>>2]=i;j=f+12|0;i=c[j>>2]|0;if((c[i+12>>2]|0)>0){Ew(f);i=c[j>>2]|0}j=i+280+(((282898>>>0)%127|0)<<2)|0;i=c[j>>2]|0;if(wN(282898,i+16|0)|0){i=jx(f,282898,26)|0;c[j>>2]=i}f=c[p>>2]|0;c[f>>2]=i;c[f+8>>2]=(a[i+4>>0]|64)&255;c[p>>2]=(c[p>>2]|0)+16;f=-1;l=J;return f|0}while(0);k=n+4|0;j=m+(j<<4)|0;if((c[k>>2]|0)>>>0>>0)c[k>>2]=j;if(F){f=i;l=J;return f|0}j=(c[I>>2]|0)+(0-i<<4)|0;c[I>>2]=j;if((o|0)<=0){f=i;l=J;return f|0}f=c[p>>2]|0;c[f>>2]=c[j>>2];c[f+4>>2]=c[j+4>>2];c[f+8>>2]=c[j+8>>2];c[f+12>>2]=c[j+12>>2];j=(c[p>>2]|0)+16|0;c[p>>2]=j;if((i|0)==1){f=1;l=J;return f|0}else k=1;do{f=(c[I>>2]|0)+(k<<4)|0;c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];j=(c[p>>2]|0)+16|0;c[p>>2]=j;k=k+1|0}while((k|0)!=(i|0));l=J;return i|0}function Oy(a){a=a|0;var b=0,d=0,e=0,f=0;d=l;l=l+16|0;b=d;if(a|0?(c[(c[a+12>>2]|0)+140>>2]|0)!=960:0)Ix(a,282282,b);if((c[(c[a+12>>2]|0)+12>>2]|0)>0)Ew(a);b=px(a)|0;e=a+8|0;f=c[e>>2]|0;c[f>>2]=b;c[f+8>>2]=69;c[e>>2]=(c[e>>2]|0)+16;mx(a,b,0,16);Xx(a,5540,0);l=d;return 1}function Py(a){a=a|0;var b=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;s=l;l=l+272|0;r=s;q=s+8|0;p=s+16|0;YO(283425,11,1,32772)|0;iP(32772)|0;if(!(kP(p,250)|0)){l=s;return 0}i=q+4|0;j=a+8|0;k=q+4|0;m=a+28|0;n=a+16|0;o=a+12|0;while(1){if(!(wN(p,283437)|0)){h=17;break}g=JO(p)|0;c[q>>2]=p;c[i>>2]=g;if(!((Rv(a,7,q,283443,0)|0)==0?(g=(c[j>>2]|0)+-16|0,c[q>>2]=g,c[k>>2]=0,!(mw(a,148,q,g-(c[m>>2]|0)|0,0)|0)):0)){b=c[j>>2]|0;switch(c[b+-8>>2]&15){case 4:{b=b+-16|0;h=10;break}case 3:{if((c[(c[o>>2]|0)+12>>2]|0)>0){Ew(a);b=c[j>>2]|0}b=b+-16|0;Jw(a,b);h=10;break}default:b=0}if((h|0)==10){h=0;b=(c[b>>2]|0)+16|0}c[r>>2]=b;wP(0,283460,r);iP(32772)|0}b=c[c[n>>2]>>2]|0;d=c[j>>2]|0;e=b+16|0;if(d>>>0>>0){f=(b+8+4+(3-d)|0)>>>4;g=d;while(1){c[g+8>>2]=0;if(g>>>0>>0)g=g+16|0;else break}c[j>>2]=d+(f+1<<4)}c[j>>2]=e;YO(283425,11,1,32772)|0;iP(32772)|0;if(!(kP(p,250)|0)){h=17;break}}if((h|0)==17){l=s;return 0}return 0}function Qy(a){a=a|0;var b=0,e=0,f=0,g=0,h=0;f=c[c[a+16>>2]>>2]|0;e=f+16|0;a=a+8|0;b=c[a>>2]|0;if(!(e>>>0>=b>>>0|(e|0)==316088)?(c[f+24>>2]&15|0)==7:0){f=c[e>>2]|0;h=f+16|0;g=c[h+4>>2]|0;e=b;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[b+8>>2]=d[f+6>>0];f=c[a>>2]|0;f=f+16|0;c[a>>2]=f;return 1}c[b+8>>2]=0;h=b;h=h+16|0;c[a>>2]=h;return 1}function Ry(b){b=b|0;var 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;r=l;l=l+32|0;j=r+16|0;m=r;q=r+20|0;f=c[c[b+16>>2]>>2]|0;g=f+16|0;p=b+8|0;h=c[p>>2]|0;if(!(g>>>0>=h>>>0|(g|0)==316088)?(e=c[f+24>>2]|0,(e&15|0)==8):0)if((e|0)==72)o=c[g>>2]|0;else o=0;else o=b;n=d[o+108>>0]|0;e=c[o+84>>2]|0;do if(!e){c[h+8>>2]=0;e=h+16|0}else{if((e|0)!=171){f=b+12|0;e=c[f>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[f>>2]|0}f=e+280+(((283411>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283411,e+16|0)|0){e=jx(b,283411,13)|0;c[f>>2]=e}m=c[p>>2]|0;c[m>>2]=e;c[m+8>>2]=(a[e+4>>0]|64)&255;e=(c[p>>2]|0)+16|0;break}k=(c[b+12>>2]|0)+40|0;c[m>>2]=319808;c[m+8>>2]=2;k=ox(c[k>>2]|0,m)|0;c[h>>2]=c[k>>2];c[h+4>>2]=c[k+4>>2];c[h+8>>2]=c[k+8>>2];c[h+12>>2]=c[k+12>>2];c[p>>2]=(c[p>>2]|0)+16;k=(o|0)==(b|0);a:do if(k)e=o+8|0;else{c[m>>2]=1;i=c[o+16>>2]|0;e=o+8|0;f=c[e>>2]|0;g=f;do if(((c[o+24>>2]|0)-g|0)>16)h=1;else{if(((g-(c[o+28>>2]|0)>>4)+5|0)<=999999?(dw(o,168,m)|0)==0:0){f=c[e>>2]|0;h=c[m>>2]|0;break}Ix(b,283170,j);break a}while(0);g=i+4|0;f=f+(h<<4)|0;if((c[g>>2]|0)>>>0>>0)c[g>>2]=f}while(0);f=c[e>>2]|0;c[f>>2]=o;c[f+8>>2]=72;f=c[e>>2]|0;c[e>>2]=f+16;if(k)e=c[p>>2]|0;else{c[e>>2]=f;e=c[p>>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[e+12>>2]=c[f+12>>2];e=(c[p>>2]|0)+16|0;c[p>>2]=e}f=e+-16|0;e=ox(c[e+-32>>2]|0,f)|0;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];f=c[p>>2]|0;e=f+-16|0;f=f+-32|0;do{c[m>>2]=c[f>>2];c[m+4>>2]=c[f+4>>2];c[m+8>>2]=c[f+8>>2];c[m+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[m>>2];c[e+4>>2]=c[m+4>>2];c[e+8>>2]=c[m+8>>2];c[e+12>>2]=c[m+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);e=(c[p>>2]|0)+-16|0}while(0);c[p>>2]=e;if(!(n&1))e=0;else{a[q>>0]=99;e=1}if(n&2){a[q+e>>0]=114;e=e+1|0}if(n&4){a[q+e>>0]=108;e=e+1|0}a[q+e>>0]=0;f=b+12|0;e=c[f>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[f>>2]|0}e=e+280+(((q>>>0)%127|0)<<2)|0;f=c[e>>2]|0;if(!(wN(q,f+16|0)|0)){m=f;q=c[p>>2]|0;c[q>>2]=m;m=m+4|0;m=a[m>>0]|0;m=m|64;m=m&255;q=q+8|0;c[q>>2]=m;q=c[p>>2]|0;m=o+96|0;m=c[m>>2]|0;o=(m|0)<0;o=o<<31>>31;b=q+16|0;n=b;c[n>>2]=m;b=b+4|0;c[b>>2]=o;b=q+24|0;c[b>>2]=19;q=q+32|0;c[p>>2]=q;l=r;return 3}else{m=jx(b,q,JO(q)|0)|0;c[e>>2]=m;q=c[p>>2]|0;c[q>>2]=m;m=m+4|0;m=a[m>>0]|0;m=m|64;m=m&255;q=q+8|0;c[q>>2]=m;q=c[p>>2]|0;m=o+96|0;m=c[m>>2]|0;o=(m|0)<0;o=o<<31>>31;b=q+16|0;n=b;c[n>>2]=m;b=b+4|0;c[b>>2]=o;b=q+24|0;c[b>>2]=19;q=q+32|0;c[p>>2]=q;l=r;return 3}return 0}function Sy(b){b=b|0;var 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;t=l;l=l+128|0;n=t+24|0;k=t+16|0;r=t;q=t+28|0;o=b+16|0;f=c[c[o>>2]>>2]|0;g=f+16|0;s=b+8|0;e=c[s>>2]|0;a:do if(!(g>>>0>=e>>>0|(g|0)==316088)?(h=c[f+24>>2]|0,(h&15|0)==8):0){if((h|0)==72)m=c[g>>2]|0;else m=0;g=f+48|0;b:do if(!(g>>>0>=e>>>0|(g|0)==316088)?(j=c[f+56>>2]|0,(j&15|0)!=0):0){switch(j&15){case 4:{e=g;break}case 3:{p=16;break}default:{Kx(b,3,287470);i=0;break b}}if((p|0)==16){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[o>>2]>>2]|0;e=c[s>>2]|0}j=f+48|0;e=j>>>0>>0?j:316088;Jw(b,e)}i=(c[e>>2]|0)+16|0}else i=283264;while(0);if((m|0)==(b|0)){m=b;j=3;k=1;e=2}else{c[r>>2]=3;h=c[m+16>>2]|0;f=m+8|0;e=c[f>>2]|0;g=e;do if(((c[m+24>>2]|0)-g|0)>48)g=3;else{if(((g-(c[m+28>>2]|0)>>4)+5|0)<=999997?(dw(m,168,r)|0)==0:0){e=c[f>>2]|0;g=c[r>>2]|0;break}Ix(b,283170,k);j=3;k=0;e=2;break a}while(0);f=h+4|0;e=e+(g<<4)|0;if((c[f>>2]|0)>>>0>>0)c[f>>2]=e;j=3;k=0;e=2}}else p=3;while(0);c:do if((p|0)==3){g=f+32|0;if(!(g>>>0>=e>>>0|(g|0)==316088)?(i=c[f+40>>2]|0,(i&15|0)!=0):0){switch(i&15){case 4:break;case 3:{p=6;break}default:{Kx(b,2,287470);m=b;j=2;k=1;e=1;i=0;break c}}if((p|0)==6){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[o>>2]>>2]|0;e=c[s>>2]|0}g=f+32|0;g=g>>>0>>0?g:316088;Jw(b,g)}m=b;j=2;k=1;e=1;i=(c[g>>2]|0)+16|0}else{m=b;j=2;k=1;e=1;i=283264}}while(0);h=c[c[o>>2]>>2]|0;g=h+(e<<4)|0;if(!((g|0)==316088?1:g>>>0>=(c[s>>2]|0)>>>0)?(c[h+(e<<4)+8>>2]&15|0)==6:0){c[n>>2]=i;f=Hv(b,283271,n)|0;n=c[s>>2]|0;e=(c[c[o>>2]>>2]|0)+(e<<4)|0;e=e>>>0>>0?e:316088;c[n>>2]=c[e>>2];c[n+4>>2]=c[e+4>>2];c[n+8>>2]=c[e+8>>2];c[n+12>>2]=c[e+12>>2];e=c[s>>2]|0;c[s>>2]=e+16;if((m|0)==(b|0))i=f;else{c[s>>2]=e;i=m+8|0;o=c[i>>2]|0;c[o>>2]=c[e>>2];c[o+4>>2]=c[e+4>>2];c[o+8>>2]=c[e+8>>2];c[o+12>>2]=c[e+12>>2];c[i>>2]=(c[i>>2]|0)+16;i=f}}else p=34;do if((p|0)==34){e=Mx(b,e)|0;if((e|0)>=0){f=c[m+16>>2]|0;h=m+48|0;if((e|0)!=0&(f|0)!=(h|0)){g=e;while(1){e=g+-1|0;f=c[f+8>>2]|0;if((g|0)>1&(f|0)!=(h|0))g=e;else break}}if(!((e|0)!=0|(f|0)==(h|0))){c[q+96>>2]=f;break}}b=c[s>>2]|0;c[b+8>>2]=0;c[s>>2]=b+16;b=1;l=t;return b|0}while(0);if(!(Wv(m,i,q)|0)){b=Hx(b,j,283275)|0;l=t;return b|0}j=b+12|0;if((c[(c[j>>2]|0)+12>>2]|0)>0)Ew(b);p=px(b)|0;g=c[s>>2]|0;c[g>>2]=p;c[g+8>>2]=69;g=(c[s>>2]|0)+16|0;c[s>>2]=g;if(KO(i,83)|0){Gv(b,c[q+16>>2]|0);g=c[s>>2]|0;f=(c[j>>2]|0)+280+(((283290>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283290,e+16|0)|0){e=jx(b,283290,6)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;e=c[s>>2]|0;c[s>>2]=e+16;xx(b,g+-32|0,e,e+-16|0);c[s>>2]=(c[s>>2]|0)+-32;g=q+36|0;e=c[j>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[j>>2]|0}f=e+280+(((g>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(g,e+16|0)|0){e=jx(b,g,JO(g)|0)|0;c[f>>2]=e}g=c[s>>2]|0;c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;g=c[s>>2]|0;h=g+16|0;c[s>>2]=h;f=(c[j>>2]|0)+280+(((283297>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283297,e+16|0)|0){e=jx(b,283297,9)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;f=c[s>>2]|0;c[s>>2]=f+16;xx(b,g+-16|0,f,f+-16|0);g=c[s>>2]|0;f=c[q+24>>2]|0;h=g+-32|0;c[h>>2]=f;c[h+4>>2]=((f|0)<0)<<31>>31;c[g+-24>>2]=19;h=g+-16|0;c[s>>2]=h;f=(c[j>>2]|0)+280+(((283307>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283307,e+16|0)|0){e=jx(b,283307,11)|0;c[f>>2]=e}c[h>>2]=e;c[g+-8>>2]=(a[e+4>>0]|64)&255;f=c[s>>2]|0;c[s>>2]=f+16;xx(b,g+-48|0,f,f+-16|0);g=c[s>>2]|0;f=c[q+28>>2]|0;h=g+-32|0;c[h>>2]=f;c[h+4>>2]=((f|0)<0)<<31>>31;c[g+-24>>2]=19;h=g+-16|0;c[s>>2]=h;f=(c[j>>2]|0)+280+(((283319>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283319,e+16|0)|0){e=jx(b,283319,15)|0;c[f>>2]=e}c[h>>2]=e;c[g+-8>>2]=(a[e+4>>0]|64)&255;f=c[s>>2]|0;c[s>>2]=f+16;xx(b,g+-48|0,f,f+-16|0);c[s>>2]=(c[s>>2]|0)+-32;Gv(b,c[q+12>>2]|0);g=c[s>>2]|0;f=(c[j>>2]|0)+280+(((283335>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283335,e+16|0)|0){e=jx(b,283335,4)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;p=c[s>>2]|0;c[s>>2]=p+16;xx(b,g+-32|0,p,p+-16|0);g=(c[s>>2]|0)+-32|0;c[s>>2]=g}if(KO(i,108)|0){f=c[q+20>>2]|0;h=g;c[h>>2]=f;c[h+4>>2]=((f|0)<0)<<31>>31;c[g+8>>2]=19;h=g+16|0;c[s>>2]=h;f=(c[j>>2]|0)+280+(((283340>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283340,e+16|0)|0){e=jx(b,283340,11)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;p=c[s>>2]|0;c[s>>2]=p+16;xx(b,g+-16|0,p,p+-16|0);g=(c[s>>2]|0)+-32|0;c[s>>2]=g}if(KO(i,117)|0){h=g;c[h>>2]=d[q+32>>0];c[h+4>>2]=0;c[g+8>>2]=19;h=g+16|0;c[s>>2]=h;f=(c[j>>2]|0)+280+(((283352>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283352,e+16|0)|0){e=jx(b,283352,4)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;h=c[s>>2]|0;c[s>>2]=h+16;xx(b,g+-16|0,h,h+-16|0);g=c[s>>2]|0;h=g+-32|0;c[h>>2]=d[q+33>>0];c[h+4>>2]=0;c[g+-24>>2]=19;h=g+-16|0;c[s>>2]=h;f=(c[j>>2]|0)+280+(((283357>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283357,e+16|0)|0){e=jx(b,283357,7)|0;c[f>>2]=e}c[h>>2]=e;c[g+-8>>2]=(a[e+4>>0]|64)&255;h=c[s>>2]|0;c[s>>2]=h+16;xx(b,g+-48|0,h,h+-16|0);g=c[s>>2]|0;c[g+-32>>2]=(a[q+34>>0]|0)!=0&1;c[g+-24>>2]=1;h=g+-16|0;c[s>>2]=h;f=(c[j>>2]|0)+280+(((283365>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283365,e+16|0)|0){e=jx(b,283365,8)|0;c[f>>2]=e}c[h>>2]=e;c[g+-8>>2]=(a[e+4>>0]|64)&255;p=c[s>>2]|0;c[s>>2]=p+16;xx(b,g+-48|0,p,p+-16|0);g=(c[s>>2]|0)+-32|0;c[s>>2]=g}if(KO(i,110)|0){Gv(b,c[q+4>>2]|0);g=c[s>>2]|0;f=(c[j>>2]|0)+280+(((305003>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(305003,e+16|0)|0){e=jx(b,305003,4)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;f=c[s>>2]|0;c[s>>2]=f+16;xx(b,g+-32|0,f,f+-16|0);c[s>>2]=(c[s>>2]|0)+-32;Gv(b,c[q+8>>2]|0);g=c[s>>2]|0;f=(c[j>>2]|0)+280+(((283374>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283374,e+16|0)|0){e=jx(b,283374,8)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;p=c[s>>2]|0;c[s>>2]=p+16;xx(b,g+-32|0,p,p+-16|0);g=(c[s>>2]|0)+-32|0;c[s>>2]=g}if(KO(i,116)|0){c[g>>2]=(a[q+35>>0]|0)!=0&1;c[g+8>>2]=1;h=g+16|0;c[s>>2]=h;f=(c[j>>2]|0)+280+(((283383>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283383,e+16|0)|0){e=jx(b,283383,10)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;q=c[s>>2]|0;c[s>>2]=q+16;xx(b,g+-16|0,q,q+-16|0);g=(c[s>>2]|0)+-32|0;c[s>>2]=g}if(KO(i,76)|0){if(!k){if((m|0)!=(b|0)){g=m+8|0;q=(c[g>>2]|0)+-16|0;c[g>>2]=q;g=c[s>>2]|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[s>>2]|0)+16|0;c[s>>2]=g}}else{f=g+-16|0;e=g+-32|0;do{c[r>>2]=c[e>>2];c[r+4>>2]=c[e+4>>2];c[r+8>>2]=c[e+8>>2];c[r+12>>2]=c[e+12>>2];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[f>>2]=c[r>>2];c[f+4>>2]=c[r+4>>2];c[f+8>>2]=c[r+8>>2];c[f+12>>2]=c[r+12>>2];e=e+16|0;f=f+-16|0}while(e>>>0>>0);g=c[s>>2]|0}f=(c[j>>2]|0)+280+(((283394>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283394,e+16|0)|0){e=jx(b,283394,11)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;q=c[s>>2]|0;c[s>>2]=q+16;xx(b,g+-32|0,q,q+-16|0);g=(c[s>>2]|0)+-32|0;c[s>>2]=g}if(!(KO(i,102)|0)){b=1;l=t;return b|0}if(!k){if((m|0)!=(b|0)){g=m+8|0;r=(c[g>>2]|0)+-16|0;c[g>>2]=r;g=c[s>>2]|0;c[g>>2]=c[r>>2];c[g+4>>2]=c[r+4>>2];c[g+8>>2]=c[r+8>>2];c[g+12>>2]=c[r+12>>2];g=(c[s>>2]|0)+16|0;c[s>>2]=g}}else{f=g+-16|0;e=g+-32|0;do{c[r>>2]=c[e>>2];c[r+4>>2]=c[e+4>>2];c[r+8>>2]=c[e+8>>2];c[r+12>>2]=c[e+12>>2];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[f>>2]=c[r>>2];c[f+4>>2]=c[r+4>>2];c[f+8>>2]=c[r+8>>2];c[f+12>>2]=c[r+12>>2];e=e+16|0;f=f+-16|0}while(e>>>0>>0);g=c[s>>2]|0}f=(c[j>>2]|0)+280+(((283406>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(283406,e+16|0)|0){e=jx(b,283406,4)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;r=c[s>>2]|0;c[s>>2]=r+16;xx(b,g+-32|0,r,r+-16|0);c[s>>2]=(c[s>>2]|0)+-32;b=1;l=t;return b|0}function Ty(b){b=b|0;var 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;v=l;l=l+32|0;n=v+16|0;u=v;m=b+16|0;f=c[c[m>>2]>>2]|0;g=f+16|0;t=b+8|0;if(!((g|0)==316088?1:g>>>0>=(c[t>>2]|0)>>>0)?(e=c[f+24>>2]|0,(e&15|0)==8):0)if((e|0)==72){s=c[g>>2]|0;f=1}else{s=0;f=1}else{s=b;f=0}e=Mx(b,f|2)|0;j=f+1|0;r=c[c[m>>2]>>2]|0;f=r+(j<<4)|0;g=c[t>>2]|0;if(!(f>>>0>=g>>>0|(f|0)==316088)?(c[r+(j<<4)+8>>2]&15|0)==6:0){f=f>>>0>>0?f:316088;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=c[t>>2]|0;c[t>>2]=f+16;h=(a[b+6>>0]|0)==1;if(h){r=c[m>>2]|0;s=c[r>>2]|0;t=c[b+28>>2]|0;u=r+28|0;c[r>>2]=t+(c[u>>2]|0);c[u>>2]=s-t}a:do if((c[f+8>>2]|0)==70?(i=c[(c[f>>2]|0)+12>>2]|0,k=c[i+32>>2]|0,(k|0)>0):0){g=c[i+60>>2]|0;f=0;while(1){if((c[g+(f*12|0)+4>>2]|0)>0){e=0;break a}if((c[g+(f*12|0)+8>>2]|0)>0){e=e+-1|0;if(!e)break}f=f+1|0;if((f|0)>=(k|0)){e=0;break a}}e=(c[g+(f*12|0)>>2]|0)+16|0}else e=0;while(0);if(h){r=c[m>>2]|0;s=c[r>>2]|0;t=c[b+28>>2]|0;u=r+28|0;c[r>>2]=t+(c[u>>2]|0);c[u>>2]=s-t}Gv(b,e);b=1;l=v;return b|0}f=Mx(b,j)|0;if((f|0)>=0){r=s+16|0;k=c[r>>2]|0;i=s+48|0;if((f|0)!=0&(k|0)!=(i|0)){h=f;g=k;while(1){f=h+-1|0;g=c[g+8>>2]|0;if((h|0)>1&(g|0)!=(i|0))h=f;else{o=g;break}}}else o=k;if(!((f|0)!=0|(o|0)==(i|0))){p=(s|0)==(b|0);b:do if(!p){c[u>>2]=1;h=s+8|0;f=c[h>>2]|0;g=f;do if(((c[s+24>>2]|0)-g|0)>16)h=1;else{if(((g-(c[s+28>>2]|0)>>4)+5|0)<=999999?(dw(s,168,u)|0)==0:0){f=c[h>>2]|0;h=c[u>>2]|0;break}Ix(b,283170,n);break b}while(0);g=k+4|0;f=f+(h<<4)|0;if((c[g>>2]|0)>>>0>>0)c[g>>2]=f}while(0);n=s+6|0;m=a[n>>0]|0;if(m<<24>>24==1){h=c[r>>2]|0;i=c[h>>2]|0;j=c[s+28>>2]|0;k=h+28|0;c[h>>2]=j+(c[k>>2]|0);c[k>>2]=i-j}c:do if(a[o+34>>0]&2){if((e|0)<0){g=c[o>>2]|0;h=d[(c[(c[g>>2]|0)+12>>2]|0)+6>>0]|0;if((((c[o+16>>2]|0)-g>>4)-h|0)<=(0-e|0)){e=m;g=0;break}f=279430;e=g+(h-e<<4)|0;q=53;break}g=c[o+16>>2]|0;f=c[(c[c[o>>2]>>2]|0)+12>>2]|0;i=(c[o+20>>2]|0)-(c[f+48>>2]|0)>>2;j=c[f+32>>2]|0;if((j|0)>0){k=c[f+60>>2]|0;f=e;h=0;while(1){if((c[k+(h*12|0)+4>>2]|0)>=(i|0)){q=48;break c}if((c[k+(h*12|0)+8>>2]|0)>=(i|0)){f=f+-1|0;if(!f)break}h=h+1|0;if((h|0)>=(j|0)){q=48;break c}}f=(c[k+(h*12|0)>>2]|0)+16|0;q=52}else q=48}else{g=(c[o>>2]|0)+16|0;q=48}while(0);if((q|0)==48){if((c[r>>2]|0)==(o|0))f=s+8|0;else f=c[o+12>>2]|0;if((e|0)>0?((c[f>>2]|0)-g>>4|0)>=(e|0):0){f=279417;q=52}else{e=m;g=0}}if((q|0)==52){e=g+(e+-1<<4)|0;q=53}if((q|0)==53){g=s+8|0;q=c[g>>2]|0;c[q>>2]=c[e>>2];c[q+4>>2]=c[e+4>>2];c[q+8>>2]=c[e+8>>2];c[q+12>>2]=c[e+12>>2];c[g>>2]=(c[g>>2]|0)+16;e=a[n>>0]|0;g=f}if(e<<24>>24==1){n=c[r>>2]|0;o=c[n>>2]|0;q=c[s+28>>2]|0;r=n+28|0;c[n>>2]=q+(c[r>>2]|0);c[r>>2]=o-q}if(!g){b=c[t>>2]|0;c[b+8>>2]=0;c[t>>2]=b+16;b=1;l=v;return b|0}if(!p){s=s+8|0;r=(c[s>>2]|0)+-16|0;c[s>>2]=r;s=c[t>>2]|0;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2];c[s+12>>2]=c[r+12>>2];c[t>>2]=(c[t>>2]|0)+16}f=b+12|0;e=c[f>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[f>>2]|0}f=e+280+(((g>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(g,e+16|0)|0){e=jx(b,g,JO(g)|0)|0;c[f>>2]=e}f=c[t>>2]|0;c[f>>2]=e;c[f+8>>2]=(a[e+4>>0]|64)&255;f=c[t>>2]|0;c[t>>2]=f+16;e=f;f=f+-16|0;do{c[u>>2]=c[f>>2];c[u+4>>2]=c[f+4>>2];c[u+8>>2]=c[f+8>>2];c[u+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[u>>2];c[e+4>>2]=c[u+4>>2];c[e+8>>2]=c[u+8>>2];c[e+12>>2]=c[u+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);b=2;l=v;return b|0}}b=Hx(b,j,283151)|0;l=v;return b|0}function Uy(a){a=a|0;var b=0,d=0;b=a+8|0;d=c[b>>2]|0;a=(c[a+12>>2]|0)+40|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[b>>2]=(c[b>>2]|0)+16;return 1}function Vy(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=a+16|0;b=c[c[e>>2]>>2]|0;f=b+16|0;g=a+8|0;d=c[g>>2]|0;if(f>>>0>=d>>>0|(f|0)==316088){Hx(a,1,283727)|0;f=c[g>>2]|0;b=c[c[e>>2]>>2]|0}else f=d;b=b+16|0;b=b>>>0>>0?b:316088;d=c[b+8>>2]|0;switch(d&15){case 5:{b=(c[b>>2]|0)+24|0;break}case 7:{b=(c[b>>2]|0)+8|0;break}default:b=(c[a+12>>2]|0)+244+((d&15)<<2)|0}b=c[b>>2]|0;if(!b){c[f+8>>2]=0;f=f+16|0;c[g>>2]=f;return 1}else{c[f>>2]=b;c[f+8>>2]=69;f=c[g>>2]|0;f=f+16|0;c[g>>2]=f;return 1}return 0}function Wy(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+16|0;j=k;h=Mx(b,2)|0;g=b+16|0;e=c[c[g>>2]>>2]|0;m=e+16|0;i=b+8|0;f=c[i>>2]|0;if(!(!(m>>>0>=f>>>0|(m|0)==316088)?(c[e+24>>2]&15|0)==6:0)){Kx(b,1,287066);f=c[i>>2]|0;e=c[c[g>>2]>>2]|0}e=e+16|0;e=e>>>0>>0?e:316088;a:do switch(c[e+8>>2]&63){case 38:{e=c[e>>2]|0;if((h|0)<=0){m=0;l=k;return m|0}if((d[e+6>>0]|0|0)<(h|0)){m=0;l=k;return m|0}else{g=334803;e=e+16+(h+-1<<4)|0;break a}}case 6:{e=c[e>>2]|0;g=c[e+12>>2]|0;if((h|0)<=0){m=0;l=k;return m|0}if((c[g+12>>2]|0)<(h|0)){m=0;l=k;return m|0}m=h+-1|0;h=c[c[e+16+(m<<2)>>2]>>2]|0;e=c[(c[g+64>>2]|0)+(m<<3)>>2]|0;if(!e){g=279406;e=h}else{g=e+16|0;e=h}break}default:{m=0;l=k;return m|0}}while(0);m=e;c[f>>2]=c[m>>2];c[f+4>>2]=c[m+4>>2];c[f+8>>2]=c[m+8>>2];c[f+12>>2]=c[m+12>>2];c[i>>2]=(c[i>>2]|0)+16;if(!g){m=0;l=k;return m|0}f=b+12|0;e=c[f>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[f>>2]|0}f=e+280+(((g>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(g,e+16|0)|0){e=jx(b,g,JO(g)|0)|0;c[f>>2]=e}f=c[i>>2]|0;c[f>>2]=e;c[f+8>>2]=(a[e+4>>0]|64)&255;f=c[i>>2]|0;c[i>>2]=f+16;e=f;f=f+-16|0;do{c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);m=2;l=k;return m|0}function Xy(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=Mx(b,2)|0;k=b+16|0;e=c[c[k>>2]>>2]|0;j=e+16|0;l=b+8|0;f=c[l>>2]|0;if(!(!(j>>>0>=f>>>0|(j|0)==316088)?(c[e+24>>2]&15|0)==6:0)){Kx(b,1,287066);f=c[l>>2]|0;e=c[c[k>>2]>>2]|0}e=e+16|0;e=e>>>0>>0?e:316088;switch(c[e+8>>2]&63){case 38:{e=c[e>>2]|0;if((m|0)>0?(d[e+6>>0]|0|0)>=(m|0):0){g=334803;e=e+16+(m+-1<<4)|0;h=12}else h=13;break}case 6:{e=c[e>>2]|0;g=c[e+12>>2]|0;if((m|0)>0?(c[g+12>>2]|0)>=(m|0):0){j=m+-1|0;h=c[c[e+16+(j<<2)>>2]>>2]|0;e=c[(c[g+64>>2]|0)+(j<<3)>>2]|0;if(!e){g=279406;e=h;h=12}else{g=e+16|0;e=h;h=12}}else h=13;break}default:h=13}if((h|0)==12?(j=e,c[f>>2]=c[j>>2],c[f+4>>2]=c[j+4>>2],c[f+8>>2]=c[j+8>>2],c[f+12>>2]=c[j+12>>2],c[l>>2]=(c[l>>2]|0)+16,(g|0)==0):0)h=13;if((h|0)==13)Hx(b,2,283220)|0;j=Mx(b,4)|0;f=c[c[k>>2]>>2]|0;i=f+48|0;e=c[l>>2]|0;if(!(i>>>0>=e>>>0|(i|0)==316088)?(c[f+56>>2]&15|0)==6:0){i=e;e=f}else{Kx(b,3,287066);i=c[l>>2]|0;e=c[c[k>>2]>>2]|0}e=e+48|0;e=e>>>0>>0?e:316088;switch(c[e+8>>2]&63){case 38:{e=c[e>>2]|0;if((j|0)>0?(d[e+6>>0]|0|0)>=(j|0):0){f=334803;e=e+16+(j+-1<<4)|0;h=25}else h=26;break}case 6:{e=c[e>>2]|0;f=c[e+12>>2]|0;if((j|0)>0?(c[f+12>>2]|0)>=(j|0):0){h=j+-1|0;g=c[c[e+16+(h<<2)>>2]>>2]|0;e=c[(c[f+64>>2]|0)+(h<<3)>>2]|0;if(!e){f=279406;e=g;h=25}else{f=e+16|0;e=g;h=25}}else h=26;break}default:h=26}if((h|0)==25){c[i>>2]=c[e>>2];c[i+4>>2]=c[e+4>>2];c[i+8>>2]=c[e+8>>2];c[i+12>>2]=c[e+12>>2];e=(c[l>>2]|0)+16|0;c[l>>2]=e;if(!f)h=26}if((h|0)==26){Hx(b,4,283220)|0;e=c[l>>2]|0}f=c[c[k>>2]>>2]|0;i=f+16|0;i=c[(i>>>0>>0?i:316088)+8>>2]|0;if(!((i|0)==22^(i|0)!=102)){Hx(b,1,283242)|0;f=c[c[k>>2]>>2]|0;e=c[l>>2]|0}i=f+48|0;i=c[(i>>>0>>0?i:316088)+8>>2]|0;if(!((i|0)==22^(i|0)!=102)){Hx(b,3,283242)|0;f=c[c[k>>2]>>2]|0;e=c[l>>2]|0}g=f+16|0;g=(c[(g>>>0>>0?g:316088)>>2]|0)+16+(m+-1<<2)|0;f=f+48|0;e=(c[(f>>>0>>0?f:316088)>>2]|0)+16+(j+-1<<2)|0;f=c[g>>2]|0;l=f+4|0;m=(c[l>>2]|0)+-1|0;c[l>>2]=m;if((m|0)==0?(c[f>>2]|0)==(f+8|0):0){m=c[b+12>>2]|0;jg[c[m>>2]&31](c[m+4>>2]|0,f,24,0)|0;m=m+12|0;c[m>>2]=(f|0?-24:0)+(c[m>>2]|0)}f=c[e>>2]|0;c[g>>2]=f;g=f+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[f>>2]|0;e=f+8|0;if((g|0)!=(e|0))c[e+4>>2]=1;if(!((g|0)==(f+8|0)?(c[g+8>>2]&64|0)!=0:0))return 0;f=c[b+12>>2]|0;e=c[g>>2]|0;if((d[f+61>>0]|0)>=2)return 0;if(!(a[e+5>>0]&3))return 0;uw(f,e);return 0}function Yy(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=Mx(a,2)|0;i=a+16|0;b=c[c[i>>2]>>2]|0;h=b+16|0;k=a+8|0;e=c[k>>2]|0;if(!(!(h>>>0>=e>>>0|(h|0)==316088)?(c[b+24>>2]&15|0)==6:0)){Kx(a,1,287066);e=c[k>>2]|0;b=c[c[i>>2]>>2]|0}b=b+16|0;b=b>>>0>>0?b:316088;switch(c[b+8>>2]&63){case 38:{b=c[b>>2]|0;if((j|0)>0?(d[b+6>>0]|0|0)>=(j|0):0){h=334803;b=b+16+(j+-1<<4)|0;f=12}else f=13;break}case 6:{b=c[b>>2]|0;f=c[b+12>>2]|0;if((j|0)>0?(c[f+12>>2]|0)>=(j|0):0){h=j+-1|0;g=c[c[b+16+(h<<2)>>2]>>2]|0;b=c[(c[f+64>>2]|0)+(h<<3)>>2]|0;if(!b){h=279406;b=g;f=12}else{h=b+16|0;b=g;f=12}}else f=13;break}default:f=13}if((f|0)==12){c[e>>2]=c[b>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];c[e+12>>2]=c[b+12>>2];b=(c[k>>2]|0)+16|0;c[k>>2]=b;if(!h)f=13;else g=b}if((f|0)==13){Hx(a,2,283220)|0;g=c[k>>2]|0}e=(c[c[i>>2]>>2]|0)+16|0;f=e>>>0>>0;b=f?e:316088;switch(c[b+8>>2]&63){case 6:{j=c[(c[(f?e:316088)>>2]|0)+16+(j+-1<<2)>>2]|0;c[g>>2]=j;j=g+8|0;c[j>>2]=2;j=c[k>>2]|0;j=j+16|0;c[k>>2]=j;return 1}case 38:{j=(c[b>>2]|0)+16+(j+-1<<4)|0;c[g>>2]=j;j=g+8|0;c[j>>2]=2;j=c[k>>2]|0;j=j+16|0;c[k>>2]=j;return 1}default:{j=0;c[g>>2]=j;j=g+8|0;c[j>>2]=2;j=c[k>>2]|0;j=j+16|0;c[k>>2]=j;return 1}}return 0}function Zy(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=b+16|0;e=c[c[g>>2]>>2]|0;i=e+16|0;j=b+8|0;f=c[j>>2]|0;if(!(!(i>>>0>=f>>>0|(i|0)==316088)?(c[e+24>>2]&15|0)==7:0)){Kx(b,1,281091);e=c[c[g>>2]>>2]|0;f=c[j>>2]|0}i=e+32|0;if(i>>>0>=f>>>0|(i|0)==316088){Hx(b,2,283727)|0;e=c[c[g>>2]>>2]|0;f=c[j>>2]|0}g=e+48|0;if(f>>>0>>0){h=(e+40+4+(3-f)|0)>>>4;i=f;do{c[i+8>>2]=0;i=i+16|0}while(i>>>0>>0);c[j>>2]=f+(h+1<<4)}c[j>>2]=g;f=e+16|0;i=c[f>>2]|0;k=e+32|0;g=c[k+4>>2]|0;h=i+16|0;c[h>>2]=c[k>>2];c[h+4>>2]=g;a[i+6>>0]=c[e+40>>2];i=c[j>>2]|0;if(!(c[i+-8>>2]&64)){k=i;k=k+-16|0;c[j>>2]=k;return 1}f=(c[f>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4)){k=i;k=k+-16|0;c[j>>2]=k;return 1}h=c[i+-16>>2]|0;if(!(a[h+5>>0]&3)){k=i;k=k+-16|0;c[j>>2]=k;return 1}e=c[b+12>>2]|0;if((d[e+61>>0]|0)<2){uw(e,h);k=c[j>>2]|0;k=k+-16|0;c[j>>2]=k;return 1}else{a[f>>0]=a[e+60>>0]&3|g&-8;k=i;k=k+-16|0;c[j>>2]=k;return 1}return 0}function _y(b){b=b|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;y=l;l=l+32|0;m=y+16|0;n=y;t=b+16|0;g=c[c[t>>2]>>2]|0;d=g+16|0;w=b+8|0;h=c[w>>2]|0;if(!(d>>>0>=h>>>0|(d|0)==316088)?(e=c[g+24>>2]|0,(e&15|0)==8):0)if((e|0)==72){x=c[d>>2]|0;f=1}else{x=0;f=1}else{x=b;f=0}q=f+1|0;s=g+(q<<4)|0;if(!(s>>>0>=h>>>0|(s|0)==316088)?(c[g+(q<<4)+8>>2]&15|0)!=0:0){d=f|2;e=Fv(b,d,0)|0;if(!e)Kx(b,d,287470);s=c[c[t>>2]>>2]|0;r=s+(q<<4)|0;if(!(!((r|0)==316088?1:r>>>0>=(c[w>>2]|0)>>>0)?(c[s+(q<<4)+8>>2]&15|0)==6:0))Kx(b,q,287066);o=Nx(b,f+3|0,0,0)|0;s=(KO(e,99)|0)!=0&1;k=(KO(e,114)|0)==0;s=k?s:s|2;k=(KO(e,108)|0)==0;s=k?s:s|4;k=w;f=c[w>>2]|0;r=o;p=171;s=(o|0)>0?s|8:s}else{f=g+((f|2)<<4)|0;if(h>>>0>>0){d=(g+(q<<4)+8+4+(3-h)|0)>>>4;e=h;do{c[e+8>>2]=0;e=e+16|0}while(e>>>0>>0);c[w>>2]=h+(d+1<<4)}c[w>>2]=f;k=w;r=0;p=0;s=0}o=b+12|0;h=(c[o>>2]|0)+40|0;c[n>>2]=319808;c[n+8>>2]=2;h=ox(c[h>>2]|0,n)|0;c[f>>2]=c[h>>2];c[f+4>>2]=c[h+4>>2];c[f+8>>2]=c[h+8>>2];c[f+12>>2]=c[h+12>>2];h=c[w>>2]|0;c[w>>2]=h+16;if(!(c[h+8>>2]&15)){if((c[(c[o>>2]|0)+12>>2]|0)>0)Ew(b);e=px(b)|0;d=c[w>>2]|0;c[d>>2]=e;c[d+8>>2]=69;c[w>>2]=(c[w>>2]|0)+16;mx(b,e,0,2);e=c[k>>2]|0;d=e+-16|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[w>>2]=(c[w>>2]|0)+16;e=c[(c[o>>2]|0)+40>>2]|0;c[n>>2]=319808;c[n+8>>2]=2;d=ox(e,n)|0;if((d|0)==316088)d=nx(b,e,n)|0;h=(c[w>>2]|0)+-16|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];d=c[w>>2]|0;if((c[d+-8>>2]&64|0?(i=e+5|0,j=a[i>>0]|0,j&4):0)?a[(c[d+-16>>2]|0)+5>>0]&3:0){h=c[o>>2]|0;a[i>>0]=j&-5;j=h+80|0;c[e+28>>2]=c[j>>2];c[j>>2]=e}c[w>>2]=d+-16;d=c[o>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[o>>2]|0}e=d+280+(((283185>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(283185,d+16|0)|0){d=jx(b,283185,1)|0;c[e>>2]=d}f=c[w>>2]|0;c[f>>2]=d;c[f+8>>2]=(a[d+4>>0]|64)&255;f=c[w>>2]|0;g=f+16|0;c[w>>2]=g;e=(c[o>>2]|0)+280+(((283187>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(283187,d+16|0)|0){d=jx(b,283187,6)|0;c[e>>2]=d}c[g>>2]=d;c[f+24>>2]=(a[d+4>>0]|64)&255;i=c[w>>2]|0;c[w>>2]=i+16;xx(b,f+-16|0,i,i+-16|0);i=c[w>>2]|0;j=i+-32|0;c[w>>2]=j;i=i+-48|0;c[j>>2]=c[i>>2];c[j+4>>2]=c[i+4>>2];c[j+8>>2]=c[i+8>>2];c[j+12>>2]=c[i+12>>2];c[w>>2]=(c[w>>2]|0)+16;Ov(b,-2)}i=(x|0)==(b|0);a:do if(i)d=x+8|0;else{c[n>>2]=1;h=c[x+16>>2]|0;d=x+8|0;e=c[d>>2]|0;f=e;do if(((c[x+24>>2]|0)-f|0)>16){g=e;e=1}else{if(((f-(c[x+28>>2]|0)>>4)+5|0)<=999999?(dw(x,168,n)|0)==0:0){g=c[d>>2]|0;e=c[n>>2]|0;break}Ix(b,283170,m);break a}while(0);f=h+4|0;e=g+(e<<4)|0;if((c[f>>2]|0)>>>0>>0)c[f>>2]=e}while(0);e=c[d>>2]|0;c[e>>2]=x;c[e+8>>2]=72;e=c[d>>2]|0;c[d>>2]=e+16;if(i){e=c[k>>2]|0;d=e}else{c[d>>2]=e;d=c[k>>2]|0;c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];e=(c[w>>2]|0)+16|0;c[w>>2]=e;d=e}f=(c[c[t>>2]>>2]|0)+(q<<4)|0;f=f>>>0>>0?f:316088;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];e=c[w>>2]|0;c[w>>2]=e+16;f=c[e+-32>>2]|0;e=e+-16|0;d=ox(f,e)|0;if((d|0)==316088)d=nx(b,f,e)|0;b=(c[w>>2]|0)+-16|0;c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];a[f+6>>0]=0;d=c[w>>2]|0;if((c[d+-8>>2]&64|0?(u=f+5|0,v=a[u>>0]|0,v&4):0)?a[(c[d+-16>>2]|0)+5>>0]&3:0){b=c[o>>2]|0;a[u>>0]=v&-5;v=b+80|0;c[f+28>>2]=c[v>>2];c[v>>2]=f}c[w>>2]=d+-32;f=(p|0)==0|(s|0)==0;d=f?0:p;e=c[x+16>>2]|0;if(!(a[e+34>>0]&2)){w=x+84|0;c[w>>2]=d;w=x+96|0;c[w>>2]=r;w=x+100|0;c[w>>2]=r;w=s&255;w=f?0:w;x=x+108|0;a[x>>0]=w;l=y;return 0}c[x+20>>2]=c[e+20>>2];w=x+84|0;c[w>>2]=d;w=x+96|0;c[w>>2]=r;w=x+100|0;c[w>>2]=r;w=s&255;w=f?0:w;x=x+108|0;a[x>>0]=w;l=y;return 0}function $y(b){b=b|0;var 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;u=l;l=l+16|0;m=u;n=u+4|0;k=b+16|0;f=c[c[k>>2]>>2]|0;g=f+16|0;o=b+8|0;if(!((g|0)==316088?1:g>>>0>=(c[o>>2]|0)>>>0)?(e=c[f+24>>2]|0,(e&15|0)==8):0)if((e|0)==72){s=c[g>>2]|0;j=1}else{s=0;j=1}else{s=b;j=0}h=j+1|0;e=Mx(b,h)|0;r=Mx(b,j|2)|0;if((e|0)>=0){t=s+16|0;f=c[t>>2]|0;i=s+48|0;if((e|0)!=0&(f|0)!=(i|0)){g=e;while(1){e=g+-1|0;f=c[f+8>>2]|0;if((g|0)>1&(f|0)!=(i|0))g=e;else{p=f;break}}}else p=f;if(!((e|0)!=0|(p|0)==(i|0))){i=j+3|0;e=c[c[k>>2]>>2]|0;h=e+(i<<4)|0;f=c[o>>2]|0;if(h>>>0>=f>>>0|(h|0)==316088){Hx(b,i,283727)|0;e=c[c[k>>2]>>2]|0;h=c[o>>2]|0}else h=f;g=e+((j|4)<<4)|0;if(h>>>0>>0){e=(e+(i<<4)+8+4+(3-h)|0)>>>4;f=h;do{c[f+8>>2]=0;f=f+16|0}while(f>>>0>>0);c[o>>2]=h+(e+1<<4)}c[o>>2]=g;if((s|0)!=(b|0)){c[n>>2]=1;h=c[t>>2]|0;e=s+8|0;g=c[e>>2]|0;f=g;do if(((c[s+24>>2]|0)-f|0)>16){e=1;q=21}else{if(((f-(c[s+28>>2]|0)>>4)+5|0)<=999999?(dw(s,168,n)|0)==0:0){g=c[e>>2]|0;e=c[n>>2]|0;q=21;break}Ix(b,283170,m)}while(0);do if((q|0)==21){f=h+4|0;e=g+(e<<4)|0;if((c[f>>2]|0)>>>0>>0){c[f>>2]=e;break}else break}while(0);m=(c[o>>2]|0)+-16|0;c[o>>2]=m;o=s+8|0;n=c[o>>2]|0;c[n>>2]=c[m>>2];c[n+4>>2]=c[m+4>>2];c[n+8>>2]=c[m+8>>2];c[n+12>>2]=c[m+12>>2];c[o>>2]=(c[o>>2]|0)+16}m=s+6|0;e=a[m>>0]|0;if(e<<24>>24==1){j=c[t>>2]|0;k=c[j>>2]|0;n=c[s+28>>2]|0;o=j+28|0;c[j>>2]=n+(c[o>>2]|0);c[o>>2]=k-n}a:do if(a[p+34>>0]&2){if((r|0)<0){g=c[p>>2]|0;h=d[(c[(c[g>>2]|0)+12>>2]|0)+6>>0]|0;if((((c[p+16>>2]|0)-g>>4)-h|0)<=(0-r|0)){f=0;break}f=279430;e=g+(h-r<<4)|0;q=45;break}g=c[p+16>>2]|0;f=c[(c[c[p>>2]>>2]|0)+12>>2]|0;i=(c[p+20>>2]|0)-(c[f+48>>2]|0)>>2;j=c[f+32>>2]|0;if((j|0)>0){k=c[f+60>>2]|0;f=r;h=0;while(1){if((c[k+(h*12|0)+4>>2]|0)>=(i|0)){q=40;break a}if((c[k+(h*12|0)+8>>2]|0)>=(i|0)){f=f+-1|0;if(!f)break}h=h+1|0;if((h|0)>=(j|0)){q=40;break a}}f=(c[k+(h*12|0)>>2]|0)+16|0;q=44}else q=40}else{g=(c[p>>2]|0)+16|0;q=40}while(0);if((q|0)==40){if((c[t>>2]|0)==(p|0))f=s+8|0;else f=c[p+12>>2]|0;if((r|0)>0?((c[f>>2]|0)-g>>4|0)>=(r|0):0){f=279417;q=44}else f=0}if((q|0)==44){e=g+(r+-1<<4)|0;q=45}if((q|0)==45){r=s+8|0;q=(c[r>>2]|0)+-16|0;c[e>>2]=c[q>>2];c[e+4>>2]=c[q+4>>2];c[e+8>>2]=c[q+8>>2];c[e+12>>2]=c[q+12>>2];c[r>>2]=(c[r>>2]|0)+-16;e=a[m>>0]|0}if(e<<24>>24==1){p=c[t>>2]|0;q=c[p>>2]|0;r=c[s+28>>2]|0;t=p+28|0;c[p>>2]=r+(c[t>>2]|0);c[t>>2]=q-r}if(!f){t=s+8|0;c[t>>2]=(c[t>>2]|0)+-16}Gv(b,f);b=1;l=u;return b|0}}b=Hx(b,h,283151)|0;l=u;return b|0}function az(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+16|0;d=c[c[b>>2]>>2]|0;f=d+32|0;h=a+8|0;e=c[h>>2]|0;if(f>>>0>=e>>>0|(f|0)==316088)g=3;else switch(c[d+40>>2]&15){case 0:case 5:{f=e;break}default:g=3}if((g|0)==3){Hx(a,2,283129)|0;d=c[c[b>>2]>>2]|0;f=c[h>>2]|0}e=d+48|0;if(f>>>0>=e>>>0){c[h>>2]=e;Ov(a,1);return 1}b=(d+40+4+(3-f)|0)>>>4;d=f;do{c[d+8>>2]=0;d=d+16|0}while(d>>>0>>0);c[h>>2]=f+(b+1<<4);c[h>>2]=e;Ov(a,1);return 1}function bz(b){b=b|0;var d=0,e=0,f=0,g=0;d=b+16|0;f=(c[c[d>>2]>>2]|0)+48|0;g=b+8|0;if((f|0)==316088?1:f>>>0>=(c[g>>2]|0)>>>0)Hx(b,3,283727)|0;e=Mx(b,2)|0;f=c[c[d>>2]>>2]|0;d=f+16|0;if(!(!((d|0)==316088?1:d>>>0>=(c[g>>2]|0)>>>0)?(c[f+24>>2]&15|0)==6:0))Kx(b,1,287066);f=Vv(b,1,e)|0;if(!f){g=0;return g|0}e=b+12|0;d=c[e>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[e>>2]|0}e=d+280+(((f>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(f,d+16|0)|0){d=jx(b,f,JO(f)|0)|0;c[e>>2]=d}b=c[g>>2]|0;c[b>>2]=d;c[b+8>>2]=(a[d+4>>0]|64)&255;c[g>>2]=(c[g>>2]|0)+16;g=1;return g|0}function cz(b){b=b|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,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=l;l=l+176|0;D=I+56|0;C=I+48|0;F=I+40|0;E=I+32|0;B=I+24|0;n=I+16|0;A=I;z=I+64|0;G=b+16|0;d=c[c[G>>2]>>2]|0;e=d+16|0;H=b+8|0;if(!((e|0)==316088?1:e>>>0>=(c[H>>2]|0)>>>0)?(f=c[d+24>>2]|0,(f&15|0)==8):0)if((f|0)==72){x=c[e>>2]|0;e=1}else{x=0;e=1}else{x=b;e=0}d=e+1|0;k=Fv(b,d,0)|0;m=(k|0)==0;if((m?(g=c[c[G>>2]>>2]|0,h=g+(d<<4)|0,i=c[H>>2]|0,!(h>>>0>=i>>>0|(h|0)==316088)):0)?c[g+(d<<4)+8>>2]&15|0:0){b=h>>>0>>0?h:316088;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[H>>2]=(c[H>>2]|0)+16;l=I;return 1}o=Nx(b,e|2,(x|0)==(b|0)&1,0)|0;w=(c[H>>2]|0)-((c[c[G>>2]>>2]|0)+16)>>4;u=x+16|0;v=x+48|0;d=1;h=1;while(1){if((d|0)<0)break;e=c[u>>2]|0;if((d|0)!=0&(e|0)!=(v|0)){g=d;while(1){f=g+-1|0;e=c[e+8>>2]|0;if((g|0)>1&(e|0)!=(v|0))g=f;else break}}else f=d;if((f|0)!=0|(e|0)==(v|0))break;h=d;d=d<<1}if((h|0)<(d|0)){j=h;do{e=d+j|0;i=(e|0)/2|0;if((e|0)<-1)e=1;else{g=c[u>>2]|0;if((e+1|0)>>>0>2&(g|0)!=(v|0)){h=i;e=g;while(1){f=h+-1|0;e=c[e+8>>2]|0;if((h|0)>1&(e|0)!=(v|0))h=f;else break}}else{f=i;e=g}e=(f|0)!=0|(e|0)==(v|0)}d=e?i:d;j=e?j:i+1|0}while((j|0)<(d|0));i=d}else i=d;s=(i+-1|0)>22?12:0;if(!m){c[n>>2]=k;Hv(b,283460,n)|0}t=b+12|0;d=c[t>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[t>>2]|0}e=d+280+(((281757>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(281757,d+16|0)|0){d=jx(b,281757,16)|0;c[e>>2]=d}e=c[H>>2]|0;c[e>>2]=d;c[e+8>>2]=(a[d+4>>0]|64)&255;e=(c[H>>2]|0)+16|0;c[H>>2]=e;d=e;if((o|0)>=0){f=c[u>>2]|0;if((o|0)!=0&(f|0)!=(v|0)){h=o;while(1){g=h+-1|0;f=c[f+8>>2]|0;if((h|0)>1&(f|0)!=(v|0))h=g;else break}}else g=o;if(!((g|0)!=0|(f|0)==(v|0))){r=z+96|0;c[r>>2]=f;h=i+-11|0;i=z+36|0;j=z+20|0;k=z+8|0;m=z+12|0;n=z+24|0;p=z+4|0;q=z+35|0;d=o;while(1){d=d+1|0;do if((d|0)==(s|0)){d=c[t>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[t>>2]|0}e=d+280+(((281774>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(281774,d+16|0)|0){d=jx(b,281774,5)|0;c[e>>2]=d}o=c[H>>2]|0;c[o>>2]=d;c[o+8>>2]=(a[d+4>>0]|64)&255;c[H>>2]=(c[H>>2]|0)+16;d=h}else{Wv(x,281780,z)|0;c[B>>2]=i;Hv(b,281785,B)|0;e=c[j>>2]|0;if((e|0)>0){c[E>>2]=e;Hv(b,281791,E)|0}e=c[t>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[t>>2]|0}f=e+280+(((281795>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281795,e+16|0)|0){e=jx(b,281795,4)|0;c[f>>2]=e}o=c[H>>2]|0;c[o>>2]=e;c[o+8>>2]=(a[e+4>>0]|64)&255;c[H>>2]=(c[H>>2]|0)+16;a:do if(!(Fx(b,z)|0)){e=c[k>>2]|0;if(a[e>>0]|0){o=c[p>>2]|0;c[C>>2]=e;c[C+4>>2]=o;Hv(b,281814,C)|0;break}switch(a[c[m>>2]>>0]|0){case 109:{e=c[t>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[t>>2]|0}f=e+280+(((281822>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281822,e+16|0)|0){e=jx(b,281822,10)|0;c[f>>2]=e}o=c[H>>2]|0;c[o>>2]=e;c[o+8>>2]=(a[e+4>>0]|64)&255;c[H>>2]=(c[H>>2]|0)+16;break a}case 67:{e=c[t>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[t>>2]|0}f=e+280+(((285673>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285673,e+16|0)|0){e=jx(b,285673,1)|0;c[f>>2]=e}o=c[H>>2]|0;c[o>>2]=e;c[o+8>>2]=(a[e+4>>0]|64)&255;c[H>>2]=(c[H>>2]|0)+16;break a}default:{o=c[n>>2]|0;c[D>>2]=i;c[D+4>>2]=o;Hv(b,281833,D)|0;break a}}}else{e=c[H>>2]|0;switch(c[e+-8>>2]&15){case 4:{e=e+-16|0;y=52;break}case 3:{if((c[(c[t>>2]|0)+12>>2]|0)>0){Ew(b);e=c[H>>2]|0}e=e+-16|0;Jw(b,e);y=52;break}default:e=0}if((y|0)==52){y=0;e=(c[e>>2]|0)+16|0}c[F>>2]=e;Hv(b,281800,F)|0;f=c[H>>2]|0;e=f+-16|0;f=f+-32|0;do{c[A>>2]=c[f>>2];c[A+4>>2]=c[f+4>>2];c[A+8>>2]=c[f+8>>2];c[A+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[A>>2];c[e+4>>2]=c[A+4>>2];c[e+8>>2]=c[A+8>>2];c[e+12>>2]=c[A+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);c[H>>2]=(c[H>>2]|0)+-16}while(0);if(!(a[q>>0]|0)){f=c[H>>2]|0;e=f}else{e=c[t>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[t>>2]|0}f=e+280+(((281850>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(281850,e+16|0)|0){e=jx(b,281850,20)|0;c[f>>2]=e}f=c[H>>2]|0;c[f>>2]=e;c[f+8>>2]=(a[e+4>>0]|64)&255;f=(c[H>>2]|0)+16|0;c[H>>2]=f;e=f}e=(e-((c[c[G>>2]>>2]|0)+16)>>4)-w|0;if((e|0)<=1){if(e|0)break;o=jx(b,334803,0)|0;c[f>>2]=o;c[f+8>>2]=(a[o+4>>0]|64)&255;c[H>>2]=(c[H>>2]|0)+16;break}if((c[(c[t>>2]|0)+12>>2]|0)>0)Ew(b);Bx(b,e)}while(0);if((d|0)<0)break;e=c[u>>2]|0;if((d|0)!=0&(e|0)!=(v|0)){g=d;while(1){f=g+-1|0;e=c[e+8>>2]|0;if((g|0)>1&(e|0)!=(v|0))g=f;else break}}else f=d;if((f|0)!=0|(e|0)==(v|0))break;c[r>>2]=e}e=c[H>>2]|0;d=e}}d=(d-((c[c[G>>2]>>2]|0)+16)>>4)-w|0;if((d|0)<=1){if(!d){b=jx(b,334803,0)|0;c[e>>2]=b;c[e+8>>2]=(a[b+4>>0]|64)&255;c[H>>2]=(c[H>>2]|0)+16}}else{if((c[(c[t>>2]|0)+12>>2]|0)>0)Ew(b);Bx(b,d)}l=I;return 1}function dz(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=l;l=l+32|0;g=h+16|0;i=h;j=(c[a+12>>2]|0)+40|0;c[i>>2]=319808;c[i+8>>2]=2;f=a+8|0;e=c[f>>2]|0;i=ox(c[j>>2]|0,i)|0;c[e>>2]=c[i>>2];c[e+4>>2]=c[i+4>>2];c[e+8>>2]=c[i+8>>2];c[e+12>>2]=c[i+12>>2];e=c[f>>2]|0;i=e+16|0;c[f>>2]=i;c[i>>2]=a;c[e+24>>2]=72;e=c[f>>2]|0;c[f>>2]=e+16;i=ox(c[e+-16>>2]|0,e)|0;c[e>>2]=c[i>>2];c[e+4>>2]=c[i+4>>2];c[e+8>>2]=c[i+8>>2];c[e+12>>2]=c[i+12>>2];if((c[(c[f>>2]|0)+-8>>2]&15|0)!=6){l=h;return}Gv(a,c[5676+(c[d>>2]<<2)>>2]|0);d=c[d+20>>2]|0;if((d|0)>-1){e=c[f>>2]|0;j=e;c[j>>2]=d;c[j+4>>2]=((d|0)<0)<<31>>31;d=19}else{d=0;e=c[f>>2]|0}c[e+8>>2]=d;c[f>>2]=e+16;e=e+-32|0;f=a+106|0;d=(b[f>>1]|0)+1<<16>>16;b[f>>1]=d;if((d&65535)>199){if(d<<16>>16==200)_v(a,279702,g);if((d&65535)>224)cw(a,6)}d=a+104|0;b[d>>1]=(b[d>>1]|0)+1<<16>>16;if(!(gw(a,e,0)|0))Ex(a);b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[f>>1]=(b[f>>1]|0)+-1<<16>>16;l=h;return}function ez(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;d=m;if(b|0?(c[(c[b+12>>2]|0)+140>>2]|0)!=960:0)Ix(b,282282,d);j=b+12|0;if((c[(c[j>>2]|0)+12>>2]|0)>0)Ew(b);f=px(b)|0;k=b+8|0;g=c[k>>2]|0;c[g>>2]=f;c[g+8>>2]=69;c[k>>2]=(c[k>>2]|0)+16;mx(b,f,0,35);Xx(b,5696,0);f=c[k>>2]|0;h[f>>3]=3.141592653589793;c[f+8>>2]=3;g=f+16|0;c[k>>2]=g;e=(c[j>>2]|0)+280+(((283464>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(283464,d+16|0)|0){d=jx(b,283464,2)|0;c[e>>2]=d}c[g>>2]=d;c[f+24>>2]=(a[d+4>>0]|64)&255;g=c[k>>2]|0;c[k>>2]=g+16;xx(b,f+-16|0,g,g+-16|0);f=c[k>>2]|0;h[f+-32>>3]=t;c[f+-24>>2]=3;g=f+-16|0;c[k>>2]=g;e=(c[j>>2]|0)+280+(((283467>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(283467,d+16|0)|0){d=jx(b,283467,4)|0;c[e>>2]=d}c[g>>2]=d;c[f+-8>>2]=(a[d+4>>0]|64)&255;g=c[k>>2]|0;c[k>>2]=g+16;xx(b,f+-48|0,g,g+-16|0);f=c[k>>2]|0;g=f+-32|0;c[g>>2]=-1;c[g+4>>2]=2147483647;c[f+-24>>2]=19;g=f+-16|0;c[k>>2]=g;e=(c[j>>2]|0)+280+(((283472>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(283472,d+16|0)|0){d=jx(b,283472,10)|0;c[e>>2]=d}c[g>>2]=d;c[f+-8>>2]=(a[d+4>>0]|64)&255;g=c[k>>2]|0;c[k>>2]=g+16;xx(b,f+-48|0,g,g+-16|0);f=c[k>>2]|0;g=f+-32|0;c[g>>2]=0;c[g+4>>2]=-2147483648;c[f+-24>>2]=19;g=f+-16|0;c[k>>2]=g;i=f+-48|0;d=(c[j>>2]|0)+280+(((283483>>>0)%127|0)<<2)|0;e=c[d>>2]|0;if(!(wN(283483,e+16|0)|0)){j=e;c[g>>2]=j;j=j+4|0;j=a[j>>0]|0;j=j|64;j=j&255;g=f+-8|0;c[g>>2]=j;g=c[k>>2]|0;j=g+16|0;c[k>>2]=j;j=g+-16|0;xx(b,i,g,j);b=c[k>>2]|0;b=b+-32|0;c[k>>2]=b;l=m;return 1}else{j=jx(b,283483,10)|0;c[d>>2]=j;c[g>>2]=j;j=j+4|0;j=a[j>>0]|0;j=j|64;j=j&255;g=f+-8|0;c[g>>2]=j;g=c[k>>2]|0;j=g+16|0;c[k>>2]=j;j=g+-16|0;xx(b,i,g,j);b=c[k>>2]|0;b=b+-32|0;c[k>>2]=b;l=m;return 1}return 0}function fz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0.0;b=(c[c[a+16>>2]>>2]|0)+16|0;d=a+8|0;e=c[d>>2]|0;b=b>>>0>>0?b:316088;if((c[b+8>>2]|0)==19){a=b;g=c[a>>2]|0;a=c[a+4>>2]|0;f=(a|0)<0;i=mQ(0,0,g|0,a|0)|0;b=e;c[b>>2]=f?i:g;c[b+4>>2]=f?z:a;b=19;a=e;e=a+8|0;c[e>>2]=b;a=a+16|0;c[d>>2]=a;return 1}else{j=+B(+(+Lx(a,1)));i=c[d>>2]|0;h[i>>3]=j;f=3;g=i+8|0;c[g>>2]=f;i=i+16|0;c[d>>2]=i;return 1}return 0}function gz(a){a=a|0;var b=0,d=0.0;d=+H(+(+Lx(a,1)));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function hz(a){a=a|0;var b=0,d=0.0;d=+I(+(+Lx(a,1)));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function iz(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0.0,o=0,p=0;p=l;l=l+16|0;m=p;n=+Lx(b,1);i=c[c[b+16>>2]>>2]|0;k=i+32|0;o=b+8|0;a:do if(!((k|0)==316088?1:k>>>0>=(c[o>>2]|0)>>>0)?(f=c[i+40>>2]|0,g=f&15,(g|0)!=0):0){if((f|0)==3){e=+h[k>>3];break}do if((f|0)==19){m=k;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((g|0)==4){g=Iw((c[k>>2]|0)+16|0,m)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0)){k=(c[m+8>>2]|0)==19;b=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=b;c[j+4>>2]=m;e=k?+(b>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}Kx(b,2,281100);e=0.0;break a}while(0)}else e=1.0;while(0);n=+K(+n,+e);m=c[o>>2]|0;h[m>>3]=n;c[m+8>>2]=3;c[o>>2]=m+16;l=p;return 1}function jz(a){a=a|0;var b=0.0,d=0,e=0,f=0,g=0;d=c[c[a+16>>2]>>2]|0;e=d+16|0;g=a+8|0;f=c[g>>2]|0;if((c[(e>>>0>>0?e:316088)+8>>2]|0)!=19){b=+N(+(+Lx(a,1)));if(b>=-9223372036854775808.0&b<9223372036854775808.0){d=+B(b)>=1.0?(b>0.0?~~+P(+A(b/4294967296.0),4294967295.0)>>>0:~~+N((b-+(~~b>>>0))/4294967296.0)>>>0):0;f=c[g>>2]|0;e=f;c[e>>2]=~~b>>>0;c[e+4>>2]=d;c[f+8>>2]=19;f=f+16|0;c[g>>2]=f;return 1}else{f=c[g>>2]|0;h[f>>3]=b;c[f+8>>2]=3;f=f+16|0;c[g>>2]=f;return 1}}e=d+32|0;if(f>>>0>=e>>>0){f=e;c[g>>2]=f;return 1}a=(d+24+4+(3-f)|0)>>>4;d=f;do{c[d+8>>2]=0;d=d+16|0}while(d>>>0>>0);c[g>>2]=f+(a+1<<4);f=e;c[g>>2]=f;return 1}function kz(a){a=a|0;var b=0,d=0.0;d=+E(+(+Lx(a,1)));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function lz(a){a=a|0;var b=0,d=0.0;d=+Lx(a,1)*57.29577951308232;a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function mz(a){a=a|0;var b=0,d=0.0;d=+L(+(+Lx(a,1)));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function nz(b){b=b|0;var e=0,f=0,g=0.0,i=0,j=0,k=0,m=0,n=0,o=0,p=0.0;o=l;l=l+16|0;j=o;k=b+16|0;f=(c[c[k>>2]>>2]|0)+16|0;n=b+8|0;i=c[n>>2]|0;f=f>>>0>>0?f:316088;e=c[f+8>>2]|0;do if((e|0)==19){e=f;f=c[e>>2]|0;e=c[e+4>>2]|0}else{a:while(1){switch(e|0){case 3:{m=5;break a}case 19:{m=8;break a}default:{}}if((e&15|0)!=4)break;i=Iw((c[f>>2]|0)+16|0,j)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)!=(e+1|0))break;f=j;e=c[j+8>>2]|0}if((m|0)==5){p=+h[f>>3];g=+A(+p);if(!(p!=g)?g>=-9223372036854775808.0&g<9223372036854775808.0:0){f=~~g>>>0;e=+B(g)>=1.0?(g>0.0?~~+P(+A(g/4294967296.0),4294967295.0)>>>0:~~+N((g-+(~~g>>>0))/4294967296.0)>>>0):0;m=15}}else if((m|0)==8){e=f;f=c[e>>2]|0;e=c[e+4>>2]|0;m=15}if((m|0)==15){i=c[n>>2]|0;break}m=(c[c[k>>2]>>2]|0)+16|0;e=c[n>>2]|0;if(!(m>>>0>=e>>>0|(m|0)==316088)){k=0;m=e;b=m+8|0;c[b>>2]=k;m=m+16|0;c[n>>2]=m;l=o;return 1}Hx(b,1,283727)|0;k=0;m=c[n>>2]|0;b=m+8|0;c[b>>2]=k;m=m+16|0;c[n>>2]=m;l=o;return 1}while(0);k=i;c[k>>2]=f;c[k+4>>2]=e;k=19;m=i;b=m+8|0;c[b>>2]=k;m=m+16|0;c[n>>2]=m;l=o;return 1}function oz(a){a=a|0;var b=0.0,d=0,e=0,f=0,g=0;d=c[c[a+16>>2]>>2]|0;e=d+16|0;g=a+8|0;f=c[g>>2]|0;if((c[(e>>>0>>0?e:316088)+8>>2]|0)!=19){b=+A(+(+Lx(a,1)));if(b>=-9223372036854775808.0&b<9223372036854775808.0){d=+B(b)>=1.0?(b>0.0?~~+P(+A(b/4294967296.0),4294967295.0)>>>0:~~+N((b-+(~~b>>>0))/4294967296.0)>>>0):0;f=c[g>>2]|0;e=f;c[e>>2]=~~b>>>0;c[e+4>>2]=d;c[f+8>>2]=19;f=f+16|0;c[g>>2]=f;return 1}else{f=c[g>>2]|0;h[f>>3]=b;c[f+8>>2]=3;f=f+16|0;c[g>>2]=f;return 1}}e=d+32|0;if(f>>>0>=e>>>0){f=e;c[g>>2]=f;return 1}a=(d+24+4+(3-f)|0)>>>4;d=f;do{c[d+8>>2]=0;d=d+16|0}while(d>>>0>>0);c[g>>2]=f+(a+1<<4);f=e;c[g>>2]=f;return 1}function pz(b){b=b|0;var e=0,f=0.0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.0;p=l;l=l+16|0;k=p;i=c[c[b+16>>2]>>2]|0;j=i+16|0;o=b+8|0;e=c[o>>2]|0;if((c[(j>>>0>>0?j:316088)+8>>2]|0)==19?(g=i+32|0,g=g>>>0>>0?g:316088,(c[g+8>>2]|0)==19):0){n=g;m=c[n>>2]|0;n=c[n+4>>2]|0;i=lQ(m|0,n|0,1,0)|0;g=z;if(g>>>0<0|(g|0)==0&i>>>0<2){if((m|0)==0&(n|0)==0){Hx(b,2,283742)|0;e=c[o>>2]|0}k=e;c[k>>2]=0;c[k+4>>2]=0;k=19;n=e;m=n+8|0;c[m>>2]=k;n=n+16|0;c[o>>2]=n;l=p;return 1}e=j>>>0>>0?j:316088;g=c[e+8>>2]|0;do if((g|0)!=19){a:while(1){switch(g|0){case 3:{i=11;break a}case 19:{i=14;break a}default:{}}if((g&15|0)!=4){i=22;break}g=Iw((c[e>>2]|0)+16|0,k)|0;e=c[e>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)!=(e+1|0)){i=22;break}e=k;g=c[k+8>>2]|0}if((i|0)==11){q=+h[e>>3];f=+A(+q);if(!(q!=f)?f>=-9223372036854775808.0&f<9223372036854775808.0:0){g=~~f>>>0;e=+B(f)>=1.0?(f>0.0?~~+P(+A(f/4294967296.0),4294967295.0)>>>0:~~+N((f-+(~~f>>>0))/4294967296.0)>>>0):0;i=21}else i=22}else if((i|0)==14){g=c[e>>2]|0;e=c[e+4>>2]|0;i=21}if((i|0)==21)break;else if((i|0)==22){g=0;e=0;break}}else{g=c[e>>2]|0;e=c[e+4>>2]|0}while(0);m=sQ(g|0,e|0,m|0,n|0)|0;n=c[o>>2]|0;k=n;c[k>>2]=m;c[k+4>>2]=z;k=19;m=n+8|0;c[m>>2]=k;n=n+16|0;c[o>>2]=n;l=p;return 1}q=+Lx(b,1);q=+GO(q,+Lx(b,2));n=c[o>>2]|0;h[n>>3]=q;k=3;m=n+8|0;c[m>>2]=k;n=n+16|0;c[o>>2]=n;l=p;return 1}function qz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=Mx(a,1)|0;g=z;d=Mx(a,2)|0;f=z;a=a+8|0;b=c[a>>2]|0;c[b>>2]=(g>>>0>>0|(g|0)==(f|0)&e>>>0>>0)&1;c[b+8>>2]=1;c[a>>2]=b+16;return 1}function rz(a){a=a|0;var b=0.0,d=0.0,e=0,f=0,g=0,i=0;d=+Lx(a,1);g=c[c[a+16>>2]>>2]|0;i=g+32|0;e=a+8|0;do if(!((i|0)==316088?1:i>>>0>=(c[e>>2]|0)>>>0)?(c[g+40>>2]&15|0)!=0:0){b=+Lx(a,2);if(b==2.0){b=+UO(d);break}if(b==10.0){b=+TO(d);break}else{b=+M(+d)/+M(+b);break}}else f=3;while(0);if((f|0)==3)b=+M(+d);i=c[e>>2]|0;h[i>>3]=b;c[i+8>>2]=3;c[e>>2]=i+16;return 1}function sz(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+8|0;e=c[h>>2]|0;g=a+16|0;b=c[g>>2]|0;j=e-((c[b>>2]|0)+16)|0;f=j>>4;do if((j|0)>0)if((f|0)!=1){b=2;e=1;while(1){j=(Ev(a,e,b,1)|0)==0;e=j?e:b;if((b|0)==(f|0))break;else b=b+1|0}b=c[h>>2]|0;g=c[g>>2]|0;if((e|0)<=0){if((e|0)>=-1000999){e=b+(e<<4)|0;break}if((e|0)==-1001e3){e=(c[a+12>>2]|0)+40|0;break}f=-1001e3-e|0;e=c[g>>2]|0;if((c[e+8>>2]|0)==22)e=316088;else{e=c[e>>2]|0;e=(f|0)>(d[e+6>>0]|0|0)?316088:e+16+(f+-1<<4)|0}}else{f=b;i=7}}else i=5;else{Hx(a,1,283727)|0;b=c[g>>2]|0;e=c[h>>2]|0;i=5}while(0);if((i|0)==5){g=b;f=e;b=e;e=1;i=7}if((i|0)==7){e=(c[g>>2]|0)+(e<<4)|0;e=e>>>0>>0?e:316088};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];c[h>>2]=(c[h>>2]|0)+16;return 1}function tz(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+8|0;e=c[h>>2]|0;g=a+16|0;b=c[g>>2]|0;j=e-((c[b>>2]|0)+16)|0;f=j>>4;do if((j|0)>0)if((f|0)!=1){b=2;e=1;while(1){j=(Ev(a,b,e,1)|0)==0;e=j?e:b;if((b|0)==(f|0))break;else b=b+1|0}b=c[h>>2]|0;g=c[g>>2]|0;if((e|0)<=0){if((e|0)>=-1000999){e=b+(e<<4)|0;break}if((e|0)==-1001e3){e=(c[a+12>>2]|0)+40|0;break}f=-1001e3-e|0;e=c[g>>2]|0;if((c[e+8>>2]|0)==22)e=316088;else{e=c[e>>2]|0;e=(f|0)>(d[e+6>>0]|0|0)?316088:e+16+(f+-1<<4)|0}}else{f=b;i=7}}else i=5;else{Hx(a,1,283727)|0;b=c[g>>2]|0;e=c[h>>2]|0;i=5}while(0);if((i|0)==5){g=b;f=e;b=e;e=1;i=7}if((i|0)==7){e=(c[g>>2]|0)+(e<<4)|0;e=e>>>0>>0?e:316088};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];c[h>>2]=(c[h>>2]|0)+16;return 1}function uz(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,g=0,i=0,j=0;g=c[c[a+16>>2]>>2]|0;f=g+16|0;j=a+8|0;i=c[j>>2]|0;if((c[(f>>>0>>0?f:316088)+8>>2]|0)==19){a=g+32|0;if(i>>>0>>0){b=(g+24+4+(3-i)|0)>>>4;f=i;do{c[f+8>>2]=0;f=f+16|0}while(f>>>0>>0);c[j>>2]=i+(b+1<<4)}h[a>>3]=0.0;c[g+40>>2]=3;i=g+48|0;c[j>>2]=i;return 2}d=+Lx(a,1);if(d<0.0)e=+N(+d);else e=+A(+d);if(e>=-9223372036854775808.0&e<9223372036854775808.0){i=+B(e)>=1.0?(e>0.0?~~+P(+A(e/4294967296.0),4294967295.0)>>>0:~~+N((e-+(~~e>>>0))/4294967296.0)>>>0):0;b=c[j>>2]|0;a=b;c[a>>2]=~~e>>>0;c[a+4>>2]=i;a=19}else{b=c[j>>2]|0;h[b>>3]=e;a=3}c[b+8>>2]=a;i=b+16|0;c[j>>2]=i;h[i>>3]=d==e?0.0:d-e;c[b+24>>2]=3;i=b+32|0;c[j>>2]=i;return 2}function vz(a){a=a|0;var b=0,d=0.0;d=+Lx(a,1)*.017453292519943295;a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function wz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0,j=0,k=0,m=0;j=l;l=l+16|0;g=+(RP()|0)*4.656612873077393e-10;i=a+8|0;d=c[i>>2]|0;b=d;switch(d-((c[c[a+16>>2]>>2]|0)+16)>>4|0){case 0:{h[d>>3]=g;c[b+8>>2]=3;c[i>>2]=b+16;l=j;return 1}case 1:{b=1;e=0;f=1;break}case 2:{f=Mx(a,1)|0;b=2;e=z;break}default:{Ix(a,283664,j);l=j;return 1}}b=Mx(a,b)|0;d=z;if((d|0)<(e|0)|(d|0)==(e|0)&b>>>0>>0)Hx(a,1,283690)|0;k=lQ(f|0,e|0,-1,2147483647)|0;m=z;if((e|0)<0&((d|0)>(m|0)|(d|0)==(m|0)&b>>>0>k>>>0))Hx(a,1,283708)|0;a=mQ(b|0,d|0,f|0,e|0)|0;g=g*(+(a>>>0)+4294967296.0*+(z|0)+1.0);a=lQ(~~g>>>0|0,(+B(g)>=1.0?(g>0.0?~~+P(+A(g/4294967296.0),4294967295.0)>>>0:~~+N((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0,f|0,e|0)|0;m=c[i>>2]|0;k=m;c[k>>2]=a;c[k+4>>2]=z;c[m+8>>2]=19;c[i>>2]=m+16;l=j;return 1}function xz(a){a=a|0;a=~~+Lx(a,1)>>>0;QP(a);RP()|0;return 0}function yz(a){a=a|0;var b=0,d=0.0;d=+F(+(+Lx(a,1)));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function zz(a){a=a|0;var b=0,d=0.0;d=+C(+(+Lx(a,1)));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function Az(a){a=a|0;var b=0,d=0.0;d=+G(+(+Lx(a,1)));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function Bz(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=c[c[b+16>>2]>>2]|0;f=e+16|0;i=b+8|0;d=c[i>>2]|0;g=f>>>0>>0;if(!((f|0)==316088|g^1)?(h=c[e+24>>2]|0,(h&15|0)==3):0){e=b+12|0;d=c[e>>2]|0;f=(c[d+12>>2]|0)>0;if((h|0)==19){if(f){Ew(b);d=c[e>>2]|0}e=d+280+(((283650>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(283650,d+16|0)|0){d=jx(b,283650,7)|0;c[e>>2]=d}b=c[i>>2]|0;c[b>>2]=d;c[b+8>>2]=(a[d+4>>0]|64)&255;b=c[i>>2]|0;b=b+16|0;c[i>>2]=b;return 1}else{if(f){Ew(b);d=c[e>>2]|0}e=d+280+(((283658>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(283658,d+16|0)|0){d=jx(b,283658,5)|0;c[e>>2]=d}b=c[i>>2]|0;c[b>>2]=d;c[b+8>>2]=(a[d+4>>0]|64)&255;b=c[i>>2]|0;b=b+16|0;c[i>>2]=b;return 1}}if((f|0)==316088|g^1){Hx(b,1,283727)|0;d=c[i>>2]|0}c[d+8>>2]=0;b=d;b=b+16|0;c[i>>2]=b;return 1}function Cz(a){a=a|0;var b=0,d=0.0;d=+rN(+Lx(a,1));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function Dz(a){a=a|0;var b=0,d=0.0;d=+sN(+Lx(a,1));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function Ez(a){a=a|0;var b=0,d=0.0;d=+VO(+Lx(a,1));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function Fz(a){a=a|0;var b=0,d=0.0;d=+Lx(a,1);d=+D(+d,+(+Lx(a,2)));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function Gz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0;b=l;l=l+16|0;f=b;g=+SN(+Lx(a,1),f);a=a+8|0;d=c[a>>2]|0;h[d>>3]=g;c[d+8>>2]=3;f=c[f>>2]|0;e=d+16|0;c[e>>2]=f;c[e+4>>2]=((f|0)<0)<<31>>31;c[d+24>>2]=19;c[a>>2]=d+32;l=b;return 2}function Hz(a){a=a|0;var b=0,d=0.0;d=+Lx(a,1);b=Mx(a,2)|0;d=+SO(d,b);a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function Iz(a){a=a|0;var b=0,d=0.0;d=+TO(+Lx(a,1));a=a+8|0;b=c[a>>2]|0;h[b>>3]=d;c[b+8>>2]=3;c[a>>2]=b+16;return 1}function Jz(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;d=k;if(b|0?(c[(c[b+12>>2]|0)+140>>2]|0)!=960:0)Ix(b,282282,d);i=b+12|0;if((c[(c[i>>2]|0)+12>>2]|0)>0)Ew(b);h=px(b)|0;j=b+8|0;g=c[j>>2]|0;c[g>>2]=h;c[g+8>>2]=69;c[j>>2]=(c[j>>2]|0)+16;mx(b,h,0,17);Xx(b,5984,0);if((c[(c[i>>2]|0)+12>>2]|0)>0)Ew(b);d=px(b)|0;h=c[j>>2]|0;c[h>>2]=d;c[h+8>>2]=69;c[j>>2]=(c[j>>2]|0)+16;mx(b,d,0,1);d=c[i>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[i>>2]|0}e=d+280+(((334803>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(334803,d+16|0)|0){d=jx(b,334803,0)|0;c[e>>2]=d}f=c[j>>2]|0;c[f>>2]=d;c[f+8>>2]=(a[d+4>>0]|64)&255;f=c[j>>2]|0;g=f+16|0;c[j>>2]=g;f=f+-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];c[j>>2]=(c[j>>2]|0)+16;Ov(b,-2);g=c[j>>2]|0;f=g+-16|0;c[j>>2]=f;g=g+-48|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];f=c[j>>2]|0;g=f+16|0;c[j>>2]=g;h=f+-16|0;d=(c[i>>2]|0)+280+(((285786>>>0)%127|0)<<2)|0;e=c[d>>2]|0;if(!(wN(285786,e+16|0)|0)){i=e;c[g>>2]=i;i=i+4|0;i=a[i>>0]|0;i=i|64;i=i&255;g=f+24|0;c[g>>2]=i;g=c[j>>2]|0;i=g+16|0;c[j>>2]=i;i=g+-16|0;xx(b,h,g,i);b=c[j>>2]|0;b=b+-48|0;c[j>>2]=b;l=k;return 1}else{i=jx(b,285786,7)|0;c[d>>2]=i;c[g>>2]=i;i=i+4|0;i=a[i>>0]|0;i=i|64;i=i&255;g=f+24|0;c[g>>2]=i;g=c[j>>2]|0;i=g+16|0;c[j>>2]=i;i=g+-16|0;xx(b,h,g,i);b=c[j>>2]|0;b=b+-48|0;c[j>>2]=b;l=k;return 1}return 0}function Kz(b){b=b|0;var 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;y=l;l=l+16|0;w=y+8|0;n=y;r=y+12|0;p=b+16|0;f=c[c[p>>2]>>2]|0;g=f+16|0;x=b+8|0;e=c[x>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;q=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[p>>2]>>2]|0;e=c[x>>2]|0}q=f+16|0;e=q>>>0>>0?q:316088;Jw(b,e);q=5;break}default:{Kx(b,1,287470);o=0;f=0}}if((q|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;o=e+16|0}e=Nx(b,2,1,0)|0;g=z;if(!((g|0)>-1|(g|0)==-1&e>>>0>4294967295))if(f>>>0<(0-e|0)>>>0){e=0;g=0}else{e=lQ(e|0,g|0,1,0)|0;e=lQ(e|0,z|0,f|0,0)|0;g=z}i=Nx(b,3,e,g)|0;h=z;if(!((h|0)>-1|(h|0)==-1&i>>>0>4294967295))if(f>>>0<(0-i|0)>>>0){h=0;i=0}else{i=lQ(i|0,h|0,1,0)|0;i=lQ(i|0,z|0,f|0,0)|0;h=z}k=(g|0)>0|(g|0)==0&e>>>0>1;m=k?e:1;k=k?g:0;e=(h|0)>0|(h|0)==0&i>>>0>f>>>0;f=e?f:i;e=e?0:h;if((e|0)<(k|0)|(e|0)==(k|0)&f>>>0>>0){x=0;l=y;return x|0}j=mQ(f|0,e|0,m|0,k|0)|0;i=z;if((i|0)>0|(i|0)==0&j>>>0>2147483646){Ix(b,284831,n);x=0;l=y;return x|0}e=j+1|0;i=j+21|0;c[r>>2]=i;f=c[p>>2]|0;g=c[x>>2]|0;h=g;do if(((c[b+24>>2]|0)-h>>4|0)>(i|0)){u=g;v=i;q=23}else{if(((h-(c[b+28>>2]|0)>>4)+5|0)<=(999979-j|0)?(dw(b,168,r)|0)==0:0){u=c[x>>2]|0;v=c[r>>2]|0;q=23;break}c[w>>2]=284831;Ix(b,282039,w)}while(0);if((q|0)==23?(s=f+4|0,t=u+(v<<4)|0,(c[s>>2]|0)>>>0>>0):0)c[s>>2]=t;if((j|0)<=-1){x=e;l=y;return x|0}f=lQ(m|0,k|0,-1,0)|0;g=z;h=c[x>>2]|0;i=0;while(1){b=lQ(f|0,g|0,i|0,0)|0;w=h;c[w>>2]=d[o+b>>0];c[w+4>>2]=0;c[h+8>>2]=19;h=h+16|0;c[x>>2]=h;if((i|0)>=(j|0))break;else i=i+1|0}l=y;return e|0}function Lz(b){b=b|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;r=l;l=l+8224|0;q=r;p=r+16|0;h=b+8|0;j=(c[h>>2]|0)-((c[c[b+16>>2]>>2]|0)+16)|0;k=j>>4;n=p+12|0;c[n>>2]=b;o=p+16|0;c[p>>2]=o;m=p+8|0;c[m>>2]=0;i=p+4|0;c[i>>2]=8192;if(k>>>0>8192){d=k>>>0>16384?k:16384;f=Uv(b,d)|0;CQ(f|0,c[p>>2]|0,c[m>>2]|0)|0;if((c[p>>2]|0)!=(o|0)){g=c[h>>2]|0;e=g+-16|0;g=g+-32|0;do{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[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[e>>2]=c[q>>2];c[e+4>>2]=c[q+4>>2];c[e+8>>2]=c[q+8>>2];c[e+12>>2]=c[q+12>>2];g=g+16|0;e=e+-16|0}while(g>>>0>>0);c[h>>2]=(c[h>>2]|0)+-16}c[p>>2]=f;c[i>>2]=d;d=c[m>>2]|0}else{f=o;d=0}g=f+d|0;if((j|0)>=16){e=1;while(1){d=Mx(b,e)|0;if(!((d&255|0)==(d|0)&0==(z|0)))Hx(b,e,284812)|0;a[g+(e+-1)>>0]=d;if((e|0)==(k|0))break;else e=e+1|0}d=c[m>>2]|0;f=c[p>>2]|0}e=d+k|0;c[m>>2]=e;d=c[n>>2]|0;if((c[(c[d+12>>2]|0)+12>>2]|0)>0)Ew(d);n=jx(d,f,e)|0;f=d+8|0;d=c[f>>2]|0;c[d>>2]=n;c[d+8>>2]=(a[n+4>>0]|64)&255;d=c[f>>2]|0;c[f>>2]=d+16;if((c[p>>2]|0)==(o|0)){l=r;return 1}e=d;d=d+-16|0;do{c[q>>2]=c[d>>2];c[q+4>>2]=c[d+4>>2];c[q+8>>2]=c[d+8>>2];c[q+12>>2]=c[d+12>>2];c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[e>>2]=c[q>>2];c[e+4>>2]=c[q+4>>2];c[e+8>>2]=c[q+8>>2];c[e+12>>2]=c[q+12>>2];d=d+16|0;e=e+-16|0}while(d>>>0>>0);c[f>>2]=(c[f>>2]|0)+-16;l=r;return 1}function Mz(b){b=b|0;var d=0,e=0,f=0,g=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;w=l;l=l+8256|0;s=w+16|0;v=w;r=w+8232|0;u=w+24|0;e=b+16|0;f=c[c[e>>2]>>2]|0;d=f+32|0;j=b+8|0;g=c[j>>2]|0;d=d>>>0>>0?d:316088;switch(c[d+8>>2]|0){case 0:{d=0;break}case 1:{d=(c[d>>2]|0)!=0;break}default:d=1}k=d&1;q=f+16|0;if(!(q>>>0>=g>>>0|(q|0)==316088)?(c[f+24>>2]&15|0)==6:0)e=g;else{Kx(b,1,287066);f=c[c[e>>2]>>2]|0;e=c[j>>2]|0}d=f+32|0;if(e>>>0>>0){g=(f+24+4+(3-e)|0)>>>4;i=e;do{c[i+8>>2]=0;i=i+16|0}while(i>>>0>>0);c[j>>2]=e+(g+1<<4)}c[j>>2]=d;o=u+12|0;c[o>>2]=b;q=u+16|0;c[u>>2]=q;p=u+8|0;c[p>>2]=0;c[u+4>>2]=8192;if((c[f+24>>2]|0)==70){j=c[(c[f+16>>2]|0)+12>>2]|0;c[r>>2]=b;m=r+4|0;c[m>>2]=5;n=r+8|0;c[n>>2]=u;c[r+12>>2]=k;i=r+16|0;c[q>>2]=1635077147;c[p>>2]=4;c[i>>2]=0;a[u+20>>0]=83;c[p>>2]=5;a[v>>0]=0;e=c[m>>2]|0;f=c[r>>2]|0;g=c[n>>2]|0;d=jg[e&31](f,v,1,g)|0;c[i>>2]=d;if(!d){d=jg[e&31](f,281334,6,g)|0;c[i>>2]=d;a[v>>0]=4;if(!d){d=jg[c[m>>2]&31](c[r>>2]|0,v,1,c[n>>2]|0)|0;c[i>>2]=d;a[v>>0]=4;if(!d){d=jg[c[m>>2]&31](c[r>>2]|0,v,1,c[n>>2]|0)|0;c[i>>2]=d;a[v>>0]=4;if(!d){d=jg[c[m>>2]&31](c[r>>2]|0,v,1,c[n>>2]|0)|0;c[i>>2]=d;a[v>>0]=8;if(!d){d=jg[c[m>>2]&31](c[r>>2]|0,v,1,c[n>>2]|0)|0;c[i>>2]=d;a[v>>0]=8;if(!d){d=jg[c[m>>2]&31](c[r>>2]|0,v,1,c[n>>2]|0)|0;c[i>>2]=d;k=v;c[k>>2]=22136;c[k+4>>2]=0;if(!d){d=jg[c[m>>2]&31](c[r>>2]|0,v,8,c[n>>2]|0)|0;c[i>>2]=d;h[v>>3]=370.5;if(!d){d=jg[c[m>>2]&31](c[r>>2]|0,v,8,c[n>>2]|0)|0;c[i>>2]=d}}else t=25}else t=23}else t=21}else t=19}else t=17}else t=15}else{a[v>>0]=4;t=15}if((t|0)==15){a[v>>0]=4;t=17}if((t|0)==17){a[v>>0]=4;t=19}if((t|0)==19){a[v>>0]=8;t=21}if((t|0)==21){a[v>>0]=8;t=23}if((t|0)==23){k=v;c[k>>2]=22136;c[k+4>>2]=0;t=25}if((t|0)==25)h[v>>3]=370.5;a[v>>0]=c[j+12>>2];if(!d)c[i>>2]=jg[c[m>>2]&31](c[r>>2]|0,v,1,c[n>>2]|0)|0;ow(j,0,r);if(!(c[i>>2]|0)){e=c[o>>2]|0;f=c[u>>2]|0;d=c[p>>2]|0;if((c[(c[e+12>>2]|0)+12>>2]|0)>0)Ew(e);t=jx(e,f,d)|0;f=e+8|0;d=c[f>>2]|0;c[d>>2]=t;c[d+8>>2]=(a[t+4>>0]|64)&255;d=c[f>>2]|0;c[f>>2]=d+16;if((c[u>>2]|0)==(q|0)){l=w;return 1}e=d;d=d+-16|0;do{c[v>>2]=c[d>>2];c[v+4>>2]=c[d+4>>2];c[v+8>>2]=c[d+8>>2];c[v+12>>2]=c[d+12>>2];c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[e>>2]=c[v>>2];c[e+4>>2]=c[v+4>>2];c[e+8>>2]=c[v+8>>2];c[e+12>>2]=c[v+12>>2];d=d+16|0;e=e+-16|0}while(d>>>0>>0);c[f>>2]=(c[f>>2]|0)+-16;l=w;return 1}}Ix(b,284782,s);l=w;return 1}function Nz(a){a=a|0;return cA(a,1)|0}function Oz(b){b=b|0;var e=0,f=0,g=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,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;da=l;l=l+8432|0;Z=da+160|0;Y=da+152|0;X=da+144|0;W=da+136|0;V=da+128|0;T=da+120|0;S=da+112|0;R=da+104|0;Q=da+96|0;P=da+88|0;O=da+80|0;N=da+72|0;M=da+64|0;aa=da+56|0;$=da+48|0;_=da+40|0;U=da+32|0;L=da+24|0;K=da+16|0;ca=da;J=da+8376|0;G=da+8384|0;ba=da+168|0;H=da+8400|0;I=da+8380|0;w=b+8|0;e=c[w>>2]|0;i=b+16|0;f=c[c[i>>2]>>2]|0;g=f+16|0;F=e-g>>4;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;v=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[i>>2]>>2]|0;e=c[w>>2]|0}v=f+16|0;e=v>>>0>>0?v:316088;Jw(b,e);v=5;break}default:{Kx(b,1,287470);e=0;f=0}}if((v|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;e=e+16|0}q=e+f|0;t=ba+12|0;c[t>>2]=b;u=ba+16|0;c[ba>>2]=u;r=ba+8|0;c[r>>2]=0;s=ba+4|0;c[s>>2]=8192;a:do if((f|0)>0){o=H+1|0;p=1;n=e;b:while(1){k=n;while(1){f=a[k>>0]|0;if(f<<24>>24==37){n=k+1|0;if((a[n>>0]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e=e+-16|0}while(f>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[ba>>2]=g;c[s>>2]=j;g=a[k>>0]|0;e=c[r>>2]|0;f=1}else{g=f;f=1}}k=k+f|0;c[r>>2]=e+1;a[(c[ba>>2]|0)+e>>0]=g;if(k>>>0>=q>>>0){v=132;break b}}g=c[t>>2]|0;f=c[s>>2]|0;e=c[r>>2]|0;if((f-e|0)>>>0<428){j=f<<1;j=(j-e|0)>>>0<428?e+428|0:j;if(j>>>0>>0|(j-e|0)>>>0<428)Ix(g,282096,U);f=Uv(g,j)|0;CQ(f|0,c[ba>>2]|0,c[r>>2]|0)|0;if((c[ba>>2]|0)!=(u|0)){i=g+8|0;g=c[i>>2]|0;e=g+-16|0;g=g+-32|0;do{c[ca>>2]=c[g>>2];c[ca+4>>2]=c[g+4>>2];c[ca+8>>2]=c[g+8>>2];c[ca+12>>2]=c[g+12>>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[e>>2]=c[ca>>2];c[e+4>>2]=c[ca+4>>2];c[e+8>>2]=c[ca+8>>2];c[e+12>>2]=c[ca+12>>2];g=g+16|0;e=e+-16|0}while(g>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[ba>>2]=f;c[s>>2]=j;e=c[r>>2]|0}else f=c[ba>>2]|0;m=f+e|0;k=p;p=p+1|0;if((k|0)>=(F|0))Hx(b,p,284643)|0;e=a[n>>0]|0;c:do if(!(e<<24>>24)){e=0;f=n}else{f=n;while(1){if(!(MN(284652,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);k=n;if((f-k|0)>>>0>5){Ix(b,284658,_);e=a[f>>0]|0}j=((e&255)+-48|0)>>>0<10?f+1|0:f;j=((d[j>>0]|0)+-48|0)>>>0<10?j+1|0:j;e=a[j>>0]|0;if(e<<24>>24==46){g=j+1|0;i=((d[g>>0]|0)+-48|0)>>>0<10;f=i?j+2|0:g;e=a[f>>0]|0;if(((e&255)+-48|0)>>>0<10){f=(i?g:j)+2|0;e=a[f>>0]|0}}else f=j;if(((e&255)+-48|0)>>>0<10)Ix(b,284690,$);a[H>>0]=37;e=f-k|0;CQ(o|0,n|0,e+1|0)|0;a[H+(e+2)>>0]=0;n=f+1|0;e=a[f>>0]|0;d:do switch(e|0){case 99:{c[aa>>2]=Mx(b,p)|0;e=zN(m,H,aa)|0;break}case 88:case 120:case 117:case 111:case 105:case 100:{j=Mx(b,p)|0;k=z;e=JO(H)|0;g=H+(e+-1)|0;i=a[g>>0]|0;a[g>>0]=a[284735]|0;a[g+1>>0]=a[284736]|0;a[g+2>>0]=a[284737]|0;a[H+(e+1)>>0]=i;a[H+(e+2)>>0]=0;e=M;c[e>>2]=j;c[e+4>>2]=k;e=zN(m,H,M)|0;break}case 65:case 97:{a[H+(JO(H)|0)>>0]=0;h[N>>3]=+Lx(b,p);e=zN(m,H,N)|0;break}case 71:case 103:case 102:case 69:case 101:{a[H+(JO(H)|0)>>0]=0;h[O>>3]=+Lx(b,p);e=zN(m,H,O)|0;break}case 113:{k=Fv(b,p,J)|0;if(!k)Kx(b,p,287470);e=c[r>>2]|0;f=c[s>>2]|0;if(e>>>0>=f>>>0?(x=c[t>>2]|0,(f|0)==(e|0)):0){j=e<<1;j=(j|0)==(e|0)?e+1|0:j;if(j>>>0>>0)Ix(x,282096,P);g=Uv(x,j)|0;CQ(g|0,c[ba>>2]|0,c[r>>2]|0)|0;if((c[ba>>2]|0)!=(u|0)){i=x+8|0;f=c[i>>2]|0;e=f+-16|0;f=f+-32|0;do{c[ca>>2]=c[f>>2];c[ca+4>>2]=c[f+4>>2];c[ca+8>>2]=c[f+8>>2];c[ca+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[ca>>2];c[e+4>>2]=c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+-32|0;do{c[ca>>2]=c[f>>2];c[ca+4>>2]=c[f+4>>2];c[ca+8>>2]=c[f+8>>2];c[ca+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[ca>>2];c[e+4>>2]=c[ca+4>>2];c[e+8>>2]=c[ca+8>>2];c[e+12>>2]=c[ca+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[ba>>2]=g;c[s>>2]=j;e=c[r>>2]|0}m=a[k>>0]|0;c[r>>2]=e+1;a[(c[ba>>2]|0)+e>>0]=m;break}case 0:{e=0;v=93;break}default:if(!(cO(e&255)|0)){g=c[r>>2]|0;f=c[s>>2]|0;if(g>>>0>=f>>>0?(B=c[t>>2]|0,(f|0)==(g|0)):0){j=g<<1;j=(j|0)==(g|0)?g+1|0:j;if(j>>>0>>0)Ix(B,282096,W);g=Uv(B,j)|0;CQ(g|0,c[ba>>2]|0,c[r>>2]|0)|0;if((c[ba>>2]|0)!=(u|0)){i=B+8|0;f=c[i>>2]|0;e=f+-16|0;f=f+-32|0;do{c[ca>>2]=c[f>>2];c[ca+4>>2]=c[f+4>>2];c[ca+8>>2]=c[f+8>>2];c[ca+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[ca>>2];c[e+4>>2]=c[ca+4>>2];c[e+8>>2]=c[ca+8>>2];c[e+12>>2]=c[ca+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[ba>>2]=g;c[s>>2]=j;f=c[r>>2]|0;e=a[k>>0]|0}else f=g;c[r>>2]=f+1;a[(c[ba>>2]|0)+f>>0]=e}else v=93}if((v|0)==93){v=0;e=e&255;if(((d[k+1>>0]|0)+-48|0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>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[ca>>2];c[e+4>>2]=c[ca+4>>2];c[e+8>>2]=c[ca+8>>2];c[e+12>>2]=c[ca+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[ba>>2]=g;c[s>>2]=j;e=c[r>>2]|0}c[r>>2]=e+1;a[(c[ba>>2]|0)+e>>0]=34;e=0;break}case 115:{e=Wx(b,p,I)|0;k=(KO(H,46)|0)==0;if(k&(c[I>>2]|0)>>>0>99){Px(ba);e=0;break d}else{c[Y>>2]=e;e=zN(m,H,Y)|0;c[w>>2]=(c[w>>2]|0)+-16;break d}}default:break b}while(0);g=(c[r>>2]|0)+e|0;c[r>>2]=g;if(n>>>0>=q>>>0)break a}if((v|0)==132){g=c[r>>2]|0;break}c[Z>>2]=e;Ix(b,284748,Z);l=da;return 1}else g=0;while(0);e=c[t>>2]|0;f=c[ba>>2]|0;if((c[(c[e+12>>2]|0)+12>>2]|0)>0)Ew(e);aa=jx(e,f,g)|0;g=e+8|0;e=c[g>>2]|0;c[e>>2]=aa;c[e+8>>2]=(a[aa+4>>0]|64)&255;e=c[g>>2]|0;c[g>>2]=e+16;if((c[ba>>2]|0)==(u|0)){l=da;return 1}f=e;e=e+-16|0;do{c[ca>>2]=c[e>>2];c[ca+4>>2]=c[e+4>>2];c[ca+8>>2]=c[e+8>>2];c[ca+12>>2]=c[e+12>>2];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[f>>2]=c[ca>>2];c[f+4>>2]=c[ca+4>>2];c[f+8>>2]=c[ca+8>>2];c[f+12>>2]=c[ca+12>>2];e=e+16|0;f=f+-16|0}while(e>>>0>>0);c[g>>2]=(c[g>>2]|0)+-16;l=da;return 1}function Pz(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=b+16|0;e=c[c[f>>2]>>2]|0;h=e+16|0;i=b+8|0;d=c[i>>2]|0;switch(c[(h>>>0>>0?h:316088)+8>>2]&15){case 4:break;case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[f>>2]>>2]|0;d=c[i>>2]|0}h=e+16|0;Jw(b,h>>>0>>0?h:316088);break}default:Kx(b,1,287470)}d=c[c[f>>2]>>2]|0;h=d+32|0;e=c[i>>2]|0;switch(c[(h>>>0>>0?h:316088)+8>>2]&15){case 4:break;case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);d=c[c[f>>2]>>2]|0;e=c[i>>2]|0}h=d+32|0;Jw(b,h>>>0>>0?h:316088);break}default:Kx(b,2,287470)}d=c[c[f>>2]>>2]|0;e=c[i>>2]|0;f=d+48|0;if(e>>>0>>0){g=(d+40+4+(3-e)|0)>>>4;h=e;do{c[h+8>>2]=0;h=h+16|0}while(h>>>0>>0);c[i>>2]=e+(g+1<<4)}e=f;c[e>>2]=0;c[e+4>>2]=0;c[d+56>>2]=19;c[i>>2]=d+64;d=b+12|0;e=c[d>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[d>>2]|0}d=e+4|0;f=jg[c[e>>2]&31](c[d>>2]|0,0,6,64)|0;if(!f){if(!(c[e+140>>2]|0))cw(b,4);Fw(b,1);d=jg[c[e>>2]&31](c[d>>2]|0,0,6,64)|0;if(!d)cw(b,4);else j=d}else j=f;b=e+12|0;c[b>>2]=(c[b>>2]|0)+64;a[j+5>>0]=a[e+60>>0]&3;a[j+4>>0]=38;b=e+64|0;c[j>>2]=c[b>>2];c[b>>2]=j;a[j+6>>0]=3;c[j+12>>2]=395;b=c[i>>2]|0;c[i>>2]=b+-48;h=j+48|0;b=b+-16|0;c[h>>2]=c[b>>2];c[h+4>>2]=c[b+4>>2];c[h+8>>2]=c[b+8>>2];c[h+12>>2]=c[b+12>>2];h=j+32|0;b=(c[i>>2]|0)+16|0;c[h>>2]=c[b>>2];c[h+4>>2]=c[b+4>>2];c[h+8>>2]=c[b+8>>2];c[h+12>>2]=c[b+12>>2];h=c[i>>2]|0;b=j+16|0;c[b>>2]=c[h>>2];c[b+4>>2]=c[h+4>>2];c[b+8>>2]=c[h+8>>2];c[b+12>>2]=c[h+12>>2];b=c[i>>2]|0;c[b>>2]=j;c[b+8>>2]=102;c[i>>2]=(c[i>>2]|0)+16;return 1}function Qz(e){e=e|0;var 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,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;fa=l;l=l+8592|0;ba=fa+88|0;Y=fa+80|0;X=fa+72|0;W=fa+64|0;V=fa+56|0;$=fa+48|0;_=fa+40|0;Z=fa+32|0;U=fa+24|0;T=fa+16|0;ea=fa;S=fa+8304|0;ca=fa+96|0;j=e+16|0;g=c[c[j>>2]>>2]|0;h=g+16|0;da=e+8|0;f=c[da>>2]|0;h=h>>>0>>0?h:316088;switch(c[h+8>>2]&15){case 4:{f=h;H=5;break}case 3:{if((c[(c[e+12>>2]|0)+12>>2]|0)>0){Ew(e);g=c[c[j>>2]>>2]|0;f=c[da>>2]|0}H=g+16|0;f=H>>>0>>0?H:316088;Jw(e,f);H=5;break}default:{Kx(e,1,287470);k=0;g=0}}if((H|0)==5){f=c[f>>2]|0;if((a[f+4>>0]|0)==4)g=d[f+7>>0]|0;else g=c[f+12>>2]|0;k=f+16|0}h=c[c[j>>2]>>2]|0;i=h+32|0;f=c[da>>2]|0;i=i>>>0>>0?i:316088;switch(c[i+8>>2]&15){case 4:{f=i;H=14;break}case 3:{if((c[(c[e+12>>2]|0)+12>>2]|0)>0){Ew(e);h=c[c[j>>2]>>2]|0;f=c[da>>2]|0}H=h+32|0;f=H>>>0>>0?H:316088;Jw(e,f);H=14;break}default:{Kx(e,2,287470);i=0;h=0}}if((H|0)==14){f=c[f>>2]|0;if((a[f+4>>0]|0)==4)h=d[f+7>>0]|0;else h=c[f+12>>2]|0;i=f+16|0}f=c[c[j>>2]>>2]|0;aa=f+48|0;if((aa|0)==316088?1:aa>>>0>=(c[da>>2]|0)>>>0)F=-1;else F=c[f+56>>2]&15;C=Nx(e,4,g+1|0,0)|0;D=z;E=(a[i>>0]|0)==94;if((F+-3|0)>>>0>=4)Hx(e,3,284537)|0;J=ca+12|0;c[J>>2]=e;aa=ca+16|0;c[ca>>2]=aa;K=ca+8|0;c[K>>2]=0;I=ca+4|0;c[I>>2]=8192;B=E?i+1|0:i;A=S+16|0;c[A>>2]=e;c[S>>2]=200;y=S+4|0;c[y>>2]=k;G=S+8|0;c[G>>2]=k+g;c[S+12>>2]=B+(h+(E<<31>>31));v=S+20|0;w=S+28|0;x=S+24|0;m=0;n=0;a:while(1){if(!((m|0)<(D|0)|(m|0)==(D|0)&n>>>0>>0)){H=127;break}c[v>>2]=0;u=dA(S,k,B)|0;if(u){n=lQ(n|0,m|0,1,0)|0;m=z;t=c[A>>2]|0;b:do switch(F|0){case 6:{f=t+8|0;p=c[f>>2]|0;g=(c[c[t+16>>2]>>2]|0)+48|0;g=g>>>0

>>0?g:316088;c[p>>2]=c[g>>2];c[p+4>>2]=c[g+4>>2];c[p+8>>2]=c[g+8>>2];c[p+12>>2]=c[g+12>>2];c[f>>2]=(c[f>>2]|0)+16;p=c[v>>2]|0;p=(k|0)!=0&(p|0)==0?1:p;g=c[A>>2]|0;h=p+20|0;c[ea>>2]=h;i=c[g+16>>2]|0;j=g+8|0;e=c[j>>2]|0;o=e;do if(((c[g+24>>2]|0)-o>>4|0)>(h|0)){N=e;O=h;H=31}else{if(((o-(c[g+28>>2]|0)>>4)+5|0)<=(999980-p|0)?(dw(g,168,ea)|0)==0:0){N=c[j>>2]|0;O=c[ea>>2]|0;H=31;break}c[T>>2]=287700;Ix(g,282039,T)}while(0);if((H|0)==31?(0,L=i+4|0,M=N+(O<<4)|0,(c[L>>2]|0)>>>0>>0):0)c[L>>2]=M;if((p|0)>0){g=0;do{eA(S,g,k,u);g=g+1|0}while((g|0)!=(p|0))}h=(c[f>>2]|0)+(~p<<4)|0;i=t+106|0;g=(b[i>>1]|0)+1<<16>>16;b[i>>1]=g;if((g&65535)>199){if(g<<16>>16==200){H=39;break a}if((g&65535)>224){H=41;break a}}g=t+104|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;if(!(gw(t,h,1)|0))Ex(t);b[g>>1]=(b[g>>1]|0)+-1<<16>>16;b[i>>1]=(b[i>>1]|0)+-1<<16>>16;H=105;break}case 5:{do if((c[v>>2]|0)>0){g=c[w>>2]|0;if((g|0)!=-1){f=c[x>>2]|0;if((g|0)==-2){s=f+1-(c[y>>2]|0)|0;f=t+8|0;g=c[f>>2]|0;H=g;c[H>>2]=s;c[H+4>>2]=((s|0)<0)<<31>>31;c[g+8>>2]=19;g=g+16|0;c[f>>2]=g;break}else h=t}else{Ix(t,284325,Z);h=c[A>>2]|0;f=c[x>>2]|0}if((c[(c[h+12>>2]|0)+12>>2]|0)>0)Ew(h);H=jx(h,f,g)|0;g=h+8|0;f=c[g>>2]|0;c[f>>2]=H;c[f+8>>2]=(a[H+4>>0]|64)&255;c[g>>2]=(c[g>>2]|0)+16;g=t+8|0;f=g;g=c[g>>2]|0}else{if((c[(c[t+12>>2]|0)+12>>2]|0)>0)Ew(t);H=jx(t,k,u-k|0)|0;f=t+8|0;g=c[f>>2]|0;c[g>>2]=H;c[g+8>>2]=(a[H+4>>0]|64)&255;g=(c[f>>2]|0)+16|0;c[f>>2]=g}while(0);s=(c[c[t+16>>2]>>2]|0)+48|0;H=g+-16|0;wx(t,s>>>0>>0?s:316088,H,H);H=105;break}default:{h=t+16|0;g=c[c[h>>2]>>2]|0;f=g+48|0;s=t+8|0;i=c[s>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:break;case 3:{if((c[(c[t+12>>2]|0)+12>>2]|0)>0){Ew(t);g=c[c[h>>2]>>2]|0;f=c[s>>2]|0}else f=i;r=g+48|0;f=r>>>0>>0?r:316088;Jw(t,f);break}default:break b}f=c[f>>2]|0;if((a[f+4>>0]|0)==4)r=d[f+7>>0]|0;else r=c[f+12>>2]|0;p=f+16|0;if(r|0){q=u-k|0;f=0;do{o=p+f|0;g=a[o>>0]|0;do if(g<<24>>24==37){f=f+1|0;o=p+f|0;g=a[o>>0]|0;h=g<<24>>24;if(((g&255)+-48|0)>>>0>=10){if(g<<24>>24!=37){c[$>>2]=37;Ix(t,284568,$)}g=c[K>>2]|0;h=c[I>>2]|0;if(g>>>0>=h>>>0?(Q=c[J>>2]|0,(h|0)==(g|0)):0){e=g<<1;e=(e|0)==(g|0)?g+1|0:e;if(e>>>0>>0)Ix(Q,282096,V);i=Uv(Q,e)|0;CQ(i|0,c[ca>>2]|0,c[K>>2]|0)|0;if((c[ca>>2]|0)!=(aa|0)){j=Q+8|0;h=c[j>>2]|0;g=h+-16|0;h=h+-32|0;do{c[ea>>2]=c[h>>2];c[ea+4>>2]=c[h+4>>2];c[ea+8>>2]=c[h+8>>2];c[ea+12>>2]=c[h+12>>2];c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[g>>2]=c[ea>>2];c[g+4>>2]=c[ea+4>>2];c[g+8>>2]=c[ea+8>>2];c[g+12>>2]=c[ea+12>>2];h=h+16|0;g=g+-16|0}while(h>>>0>>0);c[j>>2]=(c[j>>2]|0)+-16}c[ca>>2]=i;c[I>>2]=e;g=c[K>>2]|0}o=a[o>>0]|0;c[K>>2]=g+1;a[(c[ca>>2]|0)+g>>0]=o;break}if(g<<24>>24!=48){eA(S,h+-49|0,k,u);Wx(t,-1,0)|0;h=c[s>>2]|0;g=h+-16|0;h=h+-32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ca>>2]|0,c[K>>2]|0)|0;if((c[ca>>2]|0)!=(aa|0)){j=P+8|0;h=c[j>>2]|0;g=h+-16|0;h=h+-32|0;do{c[ea>>2]=c[h>>2];c[ea+4>>2]=c[h+4>>2];c[ea+8>>2]=c[h+8>>2];c[ea+12>>2]=c[h+12>>2];c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[g>>2]=c[ea>>2];c[g+4>>2]=c[ea+4>>2];c[g+8>>2]=c[ea+8>>2];c[g+12>>2]=c[ea+12>>2];h=h+16|0;g=g+-16|0}while(h>>>0>>0);c[j>>2]=(c[j>>2]|0)+-16}c[ca>>2]=i;c[I>>2]=e;h=c[K>>2]|0;g=a[o>>0]|0}else h=i;c[K>>2]=h+1;a[(c[ca>>2]|0)+h>>0]=g}while(0);f=f+1|0}while(f>>>0>>0)}}}while(0);if((H|0)==105){H=0;g=c[f>>2]|0;h=g+-16|0;g=c[g+-8>>2]|0;switch(g|0){case 0:{H=108;break}case 1:{if(!(c[h>>2]|0))H=108;else{f=g&15;H=112}break}default:{f=g&15;if((f+-3|0)>>>0>=2)H=112}}if((H|0)==108){H=0;c[f>>2]=h;if((c[(c[t+12>>2]|0)+12>>2]|0)>0)Ew(t);s=jx(t,k,u-k|0)|0;t=c[f>>2]|0;c[t>>2]=s;c[t+8>>2]=(a[s+4>>0]|64)&255;c[f>>2]=(c[f>>2]|0)+16}else if((H|0)==112){H=0;c[X>>2]=c[5104+(((h|0)==316088?0:f+1|0)<<2)>>2];Ix(t,284610,X)}Px(ca)}if(u>>>0>k>>>0)k=u;else H=115}else H=115;if((H|0)==115){H=0;if(k>>>0>=(c[G>>2]|0)>>>0){H=127;break}f=c[K>>2]|0;g=c[I>>2]|0;if(f>>>0>=g>>>0?(R=c[J>>2]|0,(g|0)==(f|0)):0){j=f<<1;j=(j|0)==(f|0)?f+1|0:j;if(j>>>0>>0)Ix(R,282096,Y);h=Uv(R,j)|0;CQ(h|0,c[ca>>2]|0,c[K>>2]|0)|0;if((c[ca>>2]|0)!=(aa|0)){i=R+8|0;g=c[i>>2]|0;f=g+-16|0;g=g+-32|0;do{c[ea>>2]=c[g>>2];c[ea+4>>2]=c[g+4>>2];c[ea+8>>2]=c[g+8>>2];c[ea+12>>2]=c[g+12>>2];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];c[f>>2]=c[ea>>2];c[f+4>>2]=c[ea+4>>2];c[f+8>>2]=c[ea+8>>2];c[f+12>>2]=c[ea+12>>2];g=g+16|0;f=f+-16|0}while(g>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[ca>>2]=h;c[I>>2]=j;f=c[K>>2]|0}u=a[k>>0]|0;c[K>>2]=f+1;a[(c[ca>>2]|0)+f>>0]=u;k=k+1|0}if(E){H=127;break}}if((H|0)==39)_v(t,279702,U);else if((H|0)==41)cw(t,6);else if((H|0)==127){e=(c[G>>2]|0)-k|0;h=c[J>>2]|0;g=c[I>>2]|0;f=c[K>>2]|0;if((g-f|0)>>>0>>0){j=g<<1;j=(j-f|0)>>>0>>0?f+e|0:j;if(j>>>0>>0|(j-f|0)>>>0>>0)Ix(h,282096,ba);g=Uv(h,j)|0;CQ(g|0,c[ca>>2]|0,c[K>>2]|0)|0;if((c[ca>>2]|0)!=(aa|0)){i=h+8|0;h=c[i>>2]|0;f=h+-16|0;h=h+-32|0;do{c[ea>>2]=c[h>>2];c[ea+4>>2]=c[h+4>>2];c[ea+8>>2]=c[h+8>>2];c[ea+12>>2]=c[h+12>>2];c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];c[f>>2]=c[ea>>2];c[f+4>>2]=c[ea+4>>2];c[f+8>>2]=c[ea+8>>2];c[f+12>>2]=c[ea+12>>2];h=h+16|0;f=f+-16|0}while(h>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[ca>>2]=g;c[I>>2]=j;f=c[K>>2]|0}else g=c[ca>>2]|0;CQ(g+f|0,k|0,e|0)|0;h=(c[K>>2]|0)+e|0;c[K>>2]=h;f=c[J>>2]|0;g=c[ca>>2]|0;if((c[(c[f+12>>2]|0)+12>>2]|0)>0)Ew(f);ba=jx(f,g,h)|0;h=f+8|0;f=c[h>>2]|0;c[f>>2]=ba;c[f+8>>2]=(a[ba+4>>0]|64)&255;f=c[h>>2]|0;c[h>>2]=f+16;if((c[ca>>2]|0)==(aa|0)){ea=c[da>>2]|0;ca=ea;ba=ca;c[ba>>2]=n;ca=ca+4|0;c[ca>>2]=m;ca=ea+8|0;c[ca>>2]=19;ea=ea+16|0;c[da>>2]=ea;l=fa;return 2}g=f;f=f+-16|0;do{c[ea>>2]=c[f>>2];c[ea+4>>2]=c[f+4>>2];c[ea+8>>2]=c[f+8>>2];c[ea+12>>2]=c[f+12>>2];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[g>>2]=c[ea>>2];c[g+4>>2]=c[ea+4>>2];c[g+8>>2]=c[ea+8>>2];c[g+12>>2]=c[ea+12>>2];f=f+16|0;g=g+-16|0}while(f>>>0>>0);c[h>>2]=(c[h>>2]|0)+-16;ea=c[da>>2]|0;ca=ea;ba=ca;c[ba>>2]=n;ca=ca+4|0;c[ca>>2]=m;ca=ea+8|0;c[ca>>2]=19;ea=ea+16|0;c[da>>2]=ea;l=fa;return 2}return 0}function Rz(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;g=b+16|0;f=c[c[g>>2]>>2]|0;e=f+16|0;j=b+8|0;h=c[j>>2]|0;e=e>>>0>>0?e:316088;switch(c[e+8>>2]&15){case 4:{i=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[g>>2]>>2]|0;e=c[j>>2]|0}else e=h;i=f+16|0;e=i>>>0>>0?i:316088;Jw(b,e);i=5;break}default:{Kx(b,1,287470);e=0}}do if((i|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4){e=d[e+7>>0]|0;break}else{e=c[e+12>>2]|0;break}}while(0);i=c[j>>2]|0;b=i;c[b>>2]=e;c[b+4>>2]=0;c[i+8>>2]=19;c[j>>2]=i+16;return 1}function Sz(b){b=b|0;var 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;s=l;l=l+8224|0;r=s;q=s+16|0;h=b+16|0;f=c[c[h>>2]>>2]|0;g=f+16|0;o=b+8|0;e=c[o>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;i=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[h>>2]>>2]|0;e=c[o>>2]|0}i=f+16|0;e=i>>>0>>0?i:316088;Jw(b,e);i=5;break}default:{Kx(b,1,287470);k=0;f=0}}if((i|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;k=e+16|0}m=q+12|0;c[m>>2]=b;p=q+16|0;c[q>>2]=p;n=q+8|0;c[n>>2]=0;j=q+4|0;c[j>>2]=8192;if(f>>>0>8192){i=f>>>0>16384?f:16384;g=Uv(b,i)|0;CQ(g|0,c[q>>2]|0,c[n>>2]|0)|0;if((c[q>>2]|0)!=(p|0)){h=c[o>>2]|0;e=h+-16|0;h=h+-32|0;do{c[r>>2]=c[h>>2];c[r+4>>2]=c[h+4>>2];c[r+8>>2]=c[h+8>>2];c[r+12>>2]=c[h+12>>2];c[h>>2]=c[e>>2];c[h+4>>2]=c[e+4>>2];c[h+8>>2]=c[e+8>>2];c[h+12>>2]=c[e+12>>2];c[e>>2]=c[r>>2];c[e+4>>2]=c[r+4>>2];c[e+8>>2]=c[r+8>>2];c[e+12>>2]=c[r+12>>2];h=h+16|0;e=e+-16|0}while(h>>>0>>0);c[o>>2]=(c[o>>2]|0)+-16}c[q>>2]=g;c[j>>2]=i;e=c[n>>2]|0}else{g=p;e=0}h=g+e|0;if(!f)f=0;else{e=0;do{a[h+e>>0]=eN(d[k+e>>0]|0)|0;e=e+1|0}while((e|0)!=(f|0));e=c[n>>2]|0;g=c[q>>2]|0}f=e+f|0;c[n>>2]=f;e=c[m>>2]|0;if((c[(c[e+12>>2]|0)+12>>2]|0)>0)Ew(e);o=jx(e,g,f)|0;g=e+8|0;e=c[g>>2]|0;c[e>>2]=o;c[e+8>>2]=(a[o+4>>0]|64)&255;e=c[g>>2]|0;c[g>>2]=e+16;if((c[q>>2]|0)==(p|0)){l=s;return 1}f=e;e=e+-16|0;do{c[r>>2]=c[e>>2];c[r+4>>2]=c[e+4>>2];c[r+8>>2]=c[e+8>>2];c[r+12>>2]=c[e+12>>2];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[f>>2]=c[r>>2];c[f+4>>2]=c[r+4>>2];c[f+8>>2]=c[r+8>>2];c[f+12>>2]=c[r+12>>2];e=e+16|0;f=f+-16|0}while(e>>>0>>0);c[g>>2]=(c[g>>2]|0)+-16;l=s;return 1}function Tz(a){a=a|0;return cA(a,0)|0}function Uz(b){b=b|0;var 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;y=l;l=l+8240|0;n=y+16|0;x=y;w=y+24|0;k=b+16|0;f=c[c[k>>2]>>2]|0;g=f+16|0;v=b+8|0;e=c[v>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;j=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[k>>2]>>2]|0;e=c[v>>2]|0}j=f+16|0;e=j>>>0>>0?j:316088;Jw(b,e);j=5;break}default:{Kx(b,1,287470);u=0;f=0}}if((j|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;u=e+16|0}t=Mx(b,2)|0;i=z;g=c[c[k>>2]>>2]|0;h=g+48|0;e=c[v>>2]|0;a:do if(!(h>>>0>=e>>>0|(h|0)==316088)?(m=c[g+56>>2]|0,(m&15|0)!=0):0){switch(m&15){case 4:{e=h;break}case 3:{j=13;break}default:{Kx(b,3,287470);r=0;g=0;break a}}if((j|0)==13){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);g=c[c[k>>2]>>2]|0;e=c[v>>2]|0}s=g+48|0;e=s>>>0>>0?s:316088;Jw(b,e)}e=c[e>>2]|0;if((a[e+4>>0]|0)==4)g=d[e+7>>0]|0;else g=c[e+12>>2]|0;r=e+16|0}else{r=334803;g=0}while(0);if((i|0)<0|(i|0)==0&t>>>0<1){f=b+12|0;e=c[f>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[f>>2]|0}f=e+280+(((334803>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(334803,e+16|0)|0){e=jx(b,334803,0)|0;c[f>>2]=e}x=c[v>>2]|0;c[x>>2]=e;c[x+8>>2]=(a[e+4>>0]|64)&255;c[v>>2]=(c[v>>2]|0)+16;l=y;return 1}o=g+f|0;if(o>>>0>=f>>>0?(s=pQ(2147483647,0,t|0,i|0)|0,q=z,!(0>(q|0)|0==(q|0)&o>>>0>s>>>0)):0){n=O(f,t)|0;p=lQ(t|0,i|0,-1,0)|0;n=(O(g,p)|0)+n|0;p=w+12|0;c[p>>2]=b;s=w+16|0;c[w>>2]=s;q=w+8|0;c[q>>2]=0;m=w+4|0;c[m>>2]=8192;if(n>>>0>8192){k=n>>>0>16384?n:16384;e=Uv(b,k)|0;CQ(e|0,c[w>>2]|0,c[q>>2]|0)|0;if((c[w>>2]|0)!=(s|0)){j=c[v>>2]|0;h=j+-16|0;j=j+-32|0;do{c[x>>2]=c[j>>2];c[x+4>>2]=c[j+4>>2];c[x+8>>2]=c[j+8>>2];c[x+12>>2]=c[j+12>>2];c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2];c[j+12>>2]=c[h+12>>2];c[h>>2]=c[x>>2];c[h+4>>2]=c[x+4>>2];c[h+8>>2]=c[x+8>>2];c[h+12>>2]=c[x+12>>2];j=j+16|0;h=h+-16|0}while(j>>>0>>0);c[v>>2]=(c[v>>2]|0)+-16}c[w>>2]=e;c[m>>2]=k;h=c[q>>2]|0}else{e=s;h=0}h=e+h|0;CQ(h|0,u|0,f|0)|0;if((i|0)>0|(i|0)==0&t>>>0>1){k=(g|0)==0;j=t;while(1){j=lQ(j|0,i|0,-1,-1)|0;i=z;e=h+f|0;if(!k){CQ(e|0,r|0,g|0)|0;e=h+o|0}CQ(e|0,u|0,f|0)|0;if(!((i|0)>0|(i|0)==0&j>>>0>1))break;else h=e}}g=(c[q>>2]|0)+n|0;c[q>>2]=g;e=c[p>>2]|0;f=c[w>>2]|0;if((c[(c[e+12>>2]|0)+12>>2]|0)>0)Ew(e);v=jx(e,f,g)|0;g=e+8|0;e=c[g>>2]|0;c[e>>2]=v;c[e+8>>2]=(a[v+4>>0]|64)&255;e=c[g>>2]|0;c[g>>2]=e+16;if((c[w>>2]|0)!=(s|0)){f=e;e=e+-16|0;do{c[x>>2]=c[e>>2];c[x+4>>2]=c[e+4>>2];c[x+8>>2]=c[e+8>>2];c[x+12>>2]=c[e+12>>2];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[f>>2]=c[x>>2];c[f+4>>2]=c[x+4>>2];c[f+8>>2]=c[x+8>>2];c[f+12>>2]=c[x+12>>2];e=e+16|0;f=f+-16|0}while(e>>>0>>0);c[g>>2]=(c[g>>2]|0)+-16}l=y;return 1}Ix(b,284260,n);l=y;return 1}function Vz(b){b=b|0;var 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;s=l;l=l+8224|0;r=s;q=s+16|0;h=b+16|0;f=c[c[h>>2]>>2]|0;g=f+16|0;o=b+8|0;e=c[o>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;i=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[h>>2]>>2]|0;e=c[o>>2]|0}i=f+16|0;e=i>>>0>>0?i:316088;Jw(b,e);i=5;break}default:{Kx(b,1,287470);k=0;f=0}}if((i|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;k=e+16|0}m=q+12|0;c[m>>2]=b;p=q+16|0;c[q>>2]=p;n=q+8|0;c[n>>2]=0;j=q+4|0;c[j>>2]=8192;if(f>>>0>8192){i=f>>>0>16384?f:16384;g=Uv(b,i)|0;CQ(g|0,c[q>>2]|0,c[n>>2]|0)|0;if((c[q>>2]|0)!=(p|0)){h=c[o>>2]|0;e=h+-16|0;h=h+-32|0;do{c[r>>2]=c[h>>2];c[r+4>>2]=c[h+4>>2];c[r+8>>2]=c[h+8>>2];c[r+12>>2]=c[h+12>>2];c[h>>2]=c[e>>2];c[h+4>>2]=c[e+4>>2];c[h+8>>2]=c[e+8>>2];c[h+12>>2]=c[e+12>>2];c[e>>2]=c[r>>2];c[e+4>>2]=c[r+4>>2];c[e+8>>2]=c[r+8>>2];c[e+12>>2]=c[r+12>>2];h=h+16|0;e=e+-16|0}while(h>>>0>>0);c[o>>2]=(c[o>>2]|0)+-16}c[q>>2]=g;c[j>>2]=i;e=c[n>>2]|0}else{g=p;e=0}h=g+e|0;if(!f)f=0;else{e=0;do{a[h+e>>0]=a[k+(f+~e)>>0]|0;e=e+1|0}while((e|0)!=(f|0));e=c[n>>2]|0;g=c[q>>2]|0}f=e+f|0;c[n>>2]=f;e=c[m>>2]|0;if((c[(c[e+12>>2]|0)+12>>2]|0)>0)Ew(e);o=jx(e,g,f)|0;g=e+8|0;e=c[g>>2]|0;c[e>>2]=o;c[e+8>>2]=(a[o+4>>0]|64)&255;e=c[g>>2]|0;c[g>>2]=e+16;if((c[q>>2]|0)==(p|0)){l=s;return 1}f=e;e=e+-16|0;do{c[r>>2]=c[e>>2];c[r+4>>2]=c[e+4>>2];c[r+8>>2]=c[e+8>>2];c[r+12>>2]=c[e+12>>2];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[f>>2]=c[r>>2];c[f+4>>2]=c[r+4>>2];c[f+8>>2]=c[r+8>>2];c[f+12>>2]=c[r+12>>2];e=e+16|0;f=f+-16|0}while(e>>>0>>0);c[g>>2]=(c[g>>2]|0)+-16;l=s;return 1}function Wz(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=b+16|0;f=c[c[h>>2]>>2]|0;g=f+16|0;l=b+8|0;e=c[l>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;i=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[h>>2]>>2]|0;e=c[l>>2]|0}i=f+16|0;e=i>>>0>>0?i:316088;Jw(b,e);i=5;break}default:{Kx(b,1,287470);k=0;f=0}}if((i|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;k=e+16|0}g=Mx(b,2)|0;e=z;if(!((e|0)>-1|(e|0)==-1&g>>>0>4294967295))if(f>>>0<(0-g|0)>>>0){e=0;g=0}else{g=lQ(g|0,e|0,1,0)|0;g=lQ(g|0,z|0,f|0,0)|0;e=z}i=Nx(b,3,-1,-1)|0;h=z;if(!((h|0)>-1|(h|0)==-1&i>>>0>4294967295))if(f>>>0<(0-i|0)>>>0){h=0;i=0}else{i=lQ(i|0,h|0,1,0)|0;i=lQ(i|0,z|0,f|0,0)|0;h=z}m=(e|0)>0|(e|0)==0&g>>>0>1;j=m?g:1;g=m?e:0;e=(h|0)>0|(h|0)==0&i>>>0>f>>>0;f=e?f:i;e=e?0:h;if(!((e|0)<(g|0)|(e|0)==(g|0)&f>>>0>>0)){e=mQ(f|0,e|0,j|0,g|0)|0;if((c[(c[b+12>>2]|0)+12>>2]|0)>0)Ew(b);b=jx(b,k+(j+-1)|0,e+1|0)|0;m=c[l>>2]|0;c[m>>2]=b;b=b+4|0;b=a[b>>0]|0;b=b|64;b=b&255;m=m+8|0;c[m>>2]=b;m=c[l>>2]|0;m=m+16|0;c[l>>2]=m;return 1}f=b+12|0;e=c[f>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[f>>2]|0}e=e+280+(((334803>>>0)%127|0)<<2)|0;f=c[e>>2]|0;if(!(wN(334803,f+16|0)|0)){b=f;m=c[l>>2]|0;c[m>>2]=b;b=b+4|0;b=a[b>>0]|0;b=b|64;b=b&255;m=m+8|0;c[m>>2]=b;m=c[l>>2]|0;m=m+16|0;c[l>>2]=m;return 1}else{b=jx(b,334803,0)|0;c[e>>2]=b;m=c[l>>2]|0;c[m>>2]=b;b=b+4|0;b=a[b>>0]|0;b=b|64;b=b&255;m=m+8|0;c[m>>2]=b;m=c[l>>2]|0;m=m+16|0;c[l>>2]=m;return 1}return 0}function Xz(b){b=b|0;var 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;s=l;l=l+8224|0;r=s;q=s+16|0;h=b+16|0;f=c[c[h>>2]>>2]|0;g=f+16|0;o=b+8|0;e=c[o>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;i=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[h>>2]>>2]|0;e=c[o>>2]|0}i=f+16|0;e=i>>>0>>0?i:316088;Jw(b,e);i=5;break}default:{Kx(b,1,287470);k=0;f=0}}if((i|0)==5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[r>>2];c[f+4>>2]=c[r+4>>2];c[f+8>>2]=c[r+8>>2];c[f+12>>2]=c[r+12>>2];e=e+16|0;f=f+-16|0}while(e>>>0>>0);c[g>>2]=(c[g>>2]|0)+-16;l=s;return 1}function Yz(b){b=b|0;var d=0,e=0,f=0,i=0,j=0.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,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;Y=l;l=l+8384|0;R=Y+128|0;Q=Y+120|0;P=Y+112|0;O=Y+104|0;V=Y+96|0;U=Y+88|0;T=Y+80|0;S=Y+72|0;N=Y+64|0;M=Y+56|0;X=Y+40|0;W=Y+136|0;F=Y+8368|0;E=Y+8364|0;K=Y+8360|0;J=Y+8356|0;L=Y;G=Y+8352|0;H=Y+8348|0;I=Y+8344|0;i=b+16|0;e=c[c[i>>2]>>2]|0;f=e+16|0;k=b+8|0;d=c[k>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{d=f;u=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[i>>2]>>2]|0;d=c[k>>2]|0}u=e+16|0;d=u>>>0>>0?u:316088;Jw(b,d);u=5;break}default:{Kx(b,1,287470);d=0}}if((u|0)==5)d=(c[d>>2]|0)+16|0;c[E>>2]=d;c[F>>2]=b;x=F+4|0;c[x>>2]=1;c[F+8>>2]=1;v=c[k>>2]|0;c[v+8>>2]=0;c[k>>2]=v+16;v=W+12|0;c[v>>2]=b;A=W+16|0;c[W>>2]=A;y=W+8|0;c[y>>2]=0;w=W+4|0;c[w>>2]=8192;if(!(a[d>>0]|0)){e=A;d=0}else{q=1;e=0;while(1){p=$z(F,e,E,K,J)|0;o=c[J>>2]|0;r=c[K>>2]|0;t=o+e+r|0;d=o+-1|0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f+8|0;f=c[i>>2]|0;d=f+-16|0;f=f+-32|0;do{c[X>>2]=c[f>>2];c[X+4>>2]=c[f+4>>2];c[X+8>>2]=c[f+8>>2];c[X+12>>2]=c[f+12>>2];c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];c[d>>2]=c[X>>2];c[d+4>>2]=c[X+4>>2];c[d+8>>2]=c[X+8>>2];c[d+12>>2]=c[X+12>>2];f=f+16|0;d=d+-16|0}while(f>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[W>>2]=e;c[w>>2]=k;d=c[y>>2]|0}else e=c[W>>2]|0;m=e+d|0;i=(n|0)!=0;k=r+-1|0;a[m+(i?0:k)>>0]=o;do if((r|0)>1){if(i){d=o;e=p;f=1;while(1){d=wQ(d|0,e|0,8)|0;a[m+f>>0]=d;f=f+1|0;if((f|0)==(r|0))break;else e=z}}else{d=o;e=p;f=1;while(1){d=wQ(d|0,e|0,8)|0;a[m+(k-f)>>0]=d;f=f+1|0;if((f|0)==(r|0))break;else e=z}}if((p|0)<0&(r|0)>8)if(i){EQ(m+8|0,-1,r+-8|0)|0;break}else{d=8;do{a[m+(k-d)>>0]=-1;d=d+1|0}while((d|0)!=(r|0))}}while(0);c[y>>2]=(c[y>>2]|0)+r;d=s;e=t;break}case 1:{f=Mx(b,s)|0;d=z;if((r|0)<8?(q=xQ(1,0,r<<3|0)|0,p=z,!(d>>>0

>>0|(d|0)==(p|0)&f>>>0>>0)):0)Hx(b,s,284166)|0;o=c[x>>2]|0;k=c[v>>2]|0;i=c[w>>2]|0;e=c[y>>2]|0;if((i-e|0)>>>0>>0){n=i<<1;n=(n-e|0)>>>0>>0?e+r|0:n;if(n>>>0>>0|(n-e|0)>>>0>>0)Ix(k,282096,S);i=Uv(k,n)|0;CQ(i|0,c[W>>2]|0,c[y>>2]|0)|0;if((c[W>>2]|0)!=(A|0)){m=k+8|0;k=c[m>>2]|0;e=k+-16|0;k=k+-32|0;do{c[X>>2]=c[k>>2];c[X+4>>2]=c[k+4>>2];c[X+8>>2]=c[k+8>>2];c[X+12>>2]=c[k+12>>2];c[k>>2]=c[e>>2];c[k+4>>2]=c[e+4>>2];c[k+8>>2]=c[e+8>>2];c[k+12>>2]=c[e+12>>2];c[e>>2]=c[X>>2];c[e+4>>2]=c[X+4>>2];c[e+8>>2]=c[X+8>>2];c[e+12>>2]=c[X+12>>2];k=k+16|0;e=e+-16|0}while(k>>>0>>0);c[m>>2]=(c[m>>2]|0)+-16}c[W>>2]=i;c[w>>2]=n;e=c[y>>2]|0}else i=c[W>>2]|0;k=i+e|0;e=(o|0)!=0;i=r+-1|0;a[k+(e?0:i)>>0]=f;if((r|0)>1)if(e){e=1;while(1){f=wQ(f|0,d|0,8)|0;a[k+e>>0]=f;e=e+1|0;if((e|0)==(r|0))break;else d=z}}else{e=1;while(1){f=wQ(f|0,d|0,8)|0;a[k+(i-e)>>0]=f;e=e+1|0;if((e|0)==(r|0))break;else d=z}}c[y>>2]=(c[y>>2]|0)+r;d=s;e=t;break}case 2:{f=c[v>>2]|0;e=c[w>>2]|0;d=c[y>>2]|0;if((e-d|0)>>>0>>0){k=e<<1;k=(k-d|0)>>>0>>0?d+r|0:k;if(k>>>0>>0|(k-d|0)>>>0>>0)Ix(f,282096,T);e=Uv(f,k)|0;CQ(e|0,c[W>>2]|0,c[y>>2]|0)|0;if((c[W>>2]|0)!=(A|0)){i=f+8|0;f=c[i>>2]|0;d=f+-16|0;f=f+-32|0;do{c[X>>2]=c[f>>2];c[X+4>>2]=c[f+4>>2];c[X+8>>2]=c[f+8>>2];c[X+12>>2]=c[f+12>>2];c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];c[d>>2]=c[X>>2];c[d+4>>2]=c[X+4>>2];c[d+8>>2]=c[X+8>>2];c[d+12>>2]=c[X+12>>2];f=f+16|0;d=d+-16|0}while(f>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[W>>2]=e;c[w>>2]=k;d=c[y>>2]|0}else e=c[W>>2]|0;d=e+d|0;j=+Lx(b,s);if((r|0)==4)g[L>>2]=j;else h[L>>3]=j;e=(r|0)==0;if((c[x>>2]|0)==1){if(!e){e=r;f=L;while(1){e=e+-1|0;a[d>>0]=a[f>>0]|0;if(!e)break;else{f=f+1|0;d=d+1|0}}}}else if(!e){f=d+(r+-1)|0;d=r;e=L;while(1){d=d+-1|0;a[f>>0]=a[e>>0]|0;if(!d)break;else{f=f+-1|0;e=e+1|0}}}c[y>>2]=(c[y>>2]|0)+(c[K>>2]|0);d=s;e=t;break}case 3:{m=Fv(b,s,G)|0;if(!m)Kx(b,s,287470);if((c[G>>2]|0)!=(r|0))Hx(b,s,284184)|0;f=c[v>>2]|0;e=c[w>>2]|0;d=c[y>>2]|0;if((e-d|0)>>>0>>0){k=e<<1;k=(k-d|0)>>>0>>0?d+r|0:k;if(k>>>0>>0|(k-d|0)>>>0>>0)Ix(f,282096,U);e=Uv(f,k)|0;CQ(e|0,c[W>>2]|0,c[y>>2]|0)|0;if((c[W>>2]|0)!=(A|0)){i=f+8|0;f=c[i>>2]|0;d=f+-16|0;f=f+-32|0;do{c[X>>2]=c[f>>2];c[X+4>>2]=c[f+4>>2];c[X+8>>2]=c[f+8>>2];c[X+12>>2]=c[f+12>>2];c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];c[d>>2]=c[X>>2];c[d+4>>2]=c[X+4>>2];c[d+8>>2]=c[X+8>>2];c[d+12>>2]=c[X+12>>2];f=f+16|0;d=d+-16|0}while(f>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[W>>2]=e;c[w>>2]=k;d=c[y>>2]|0}else e=c[W>>2]|0;CQ(e+d|0,m|0,r|0)|0;c[y>>2]=(c[y>>2]|0)+r;d=s;e=t;break}case 4:{o=Fv(b,s,H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]=c[d+8>>2];c[e+12>>2]=c[d+12>>2];c[d>>2]=c[X>>2];c[d+4>>2]=c[X+4>>2];c[d+8>>2]=c[X+8>>2];c[d+12>>2]=c[X+12>>2];e=e+16|0;d=d+-16|0}while(e>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}c[W>>2]=f;c[w>>2]=k;d=c[y>>2]|0}c[y>>2]=d+1;a[(c[W>>2]|0)+d>>0]=0;u=156;break}case 8:case 7:{u=156;break}default:{d=s;e=t}}if((u|0)==156){u=0;d=q;e=t}if(!(a[c[E>>2]>>0]|0))break;else q=d}b=c[v>>2]|0;e=c[W>>2]|0;d=c[y>>2]|0}if((c[(c[b+12>>2]|0)+12>>2]|0)>0)Ew(b);V=jx(b,e,d)|0;e=b+8|0;d=c[e>>2]|0;c[d>>2]=V;c[d+8>>2]=(a[V+4>>0]|64)&255;d=c[e>>2]|0;c[e>>2]=d+16;if((c[W>>2]|0)==(A|0)){l=Y;return 1}b=d;d=d+-16|0;do{c[X>>2]=c[d>>2];c[X+4>>2]=c[d+4>>2];c[X+8>>2]=c[d+8>>2];c[X+12>>2]=c[d+12>>2];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[b>>2]=c[X>>2];c[b+4>>2]=c[X+4>>2];c[b+8>>2]=c[X+8>>2];c[b+12>>2]=c[X+12>>2];d=d+16|0;b=b+-16|0}while(d>>>0>>0);c[e>>2]=(c[e>>2]|0)+-16;l=Y;return 1}function Zz(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;k=o+12|0;j=o+8|0;n=o+4|0;m=o;g=b+16|0;e=c[c[g>>2]>>2]|0;f=e+16|0;i=b+8|0;d=c[i>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{d=f;h=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[g>>2]>>2]|0;d=c[i>>2]|0}h=e+16|0;d=h>>>0>>0?h:316088;Jw(b,d);h=5;break}default:{Kx(b,1,287470);d=0}}if((h|0)==5)d=(c[d>>2]|0)+16|0;c[j>>2]=d;c[k>>2]=b;c[k+4>>2]=1;c[k+8>>2]=1;if(!(a[d>>0]|0)){b=0;k=0;n=c[i>>2]|0;m=n;j=m;c[j>>2]=b;m=m+4|0;c[m>>2]=k;m=n+8|0;c[m>>2]=19;n=n+16|0;c[i>>2]=n;l=o;return 1}else f=0;do{d=$z(k,f,j,n,m)|0;e=(c[n>>2]|0)+(c[m>>2]|0)|0;c[n>>2]=e;if(f>>>0>(2147483647-e|0)>>>0)Hx(b,1,284102)|0;f=e+f|0;if((d&-2|0)==4)Hx(b,1,284126)|0}while((a[c[j>>2]>>0]|0)!=0);b=f;k=0;n=c[i>>2]|0;m=n;j=m;c[j>>2]=b;m=m+4|0;c[m>>2]=k;m=n+8|0;c[m>>2]=19;n=n+16|0;c[i>>2]=n;l=o;return 1}function _z(b){b=b|0;var e=0,f=0,i=0,j=0.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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=l;l=l+80|0;H=J+40|0;w=J;E=J+56|0;D=J+52|0;G=J+48|0;F=J+44|0;x=b+16|0;f=c[c[x>>2]>>2]|0;i=f+16|0;I=b+8|0;e=c[I>>2]|0;i=i>>>0>>0?i:316088;switch(c[i+8>>2]&15){case 4:{e=i;v=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[x>>2]>>2]|0;e=c[I>>2]|0}v=f+16|0;e=v>>>0>>0?v:316088;Jw(b,e);v=5;break}default:{Kx(b,1,287470);k=0}}if((v|0)==5)k=(c[e>>2]|0)+16|0;c[D>>2]=k;f=c[c[x>>2]>>2]|0;i=f+32|0;e=c[I>>2]|0;i=i>>>0>>0?i:316088;switch(c[i+8>>2]&15){case 4:{e=i;v=11;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[x>>2]>>2]|0;e=c[I>>2]|0}v=f+32|0;e=v>>>0>>0?v:316088;Jw(b,e);v=11;break}default:{Kx(b,2,287470);u=0;t=0}}if((v|0)==11){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;u=e+16|0;t=f}e=Nx(b,3,1,0)|0;f=z;if(!((f|0)>-1|(f|0)==-1&e>>>0>4294967295))if(t>>>0<(0-e|0)>>>0)e=0;else{e=lQ(e|0,f|0,1,0)|0;e=lQ(e|0,z|0,t|0,0)|0}e=e+-1|0;if(e>>>0>t>>>0)Hx(b,3,283808)|0;c[E>>2]=b;s=E+4|0;c[s>>2]=1;c[E+8>>2]=1;if(!(a[k>>0]|0)){H=0;D=e;D=D+1|0;G=c[I>>2]|0;F=G;E=F;c[E>>2]=D;F=F+4|0;c[F>>2]=0;F=G+8|0;c[F>>2]=19;G=G+16|0;c[I>>2]=G;I=H+1|0;l=J;return I|0}p=b+24|0;q=b+12|0;r=b+28|0;n=0;while(1){m=$z(E,e,D,G,F)|0;i=c[F>>2]|0;k=c[G>>2]|0;o=i+e|0;if((k+i|0)>>>0>~e>>>0|(o+k|0)>>>0>t>>>0)Hx(b,2,283839)|0;c[w>>2]=22;e=c[x>>2]|0;f=c[I>>2]|0;i=f;do if(((c[p>>2]|0)-i|0)>352){B=f;C=22;v=29}else{if(((i-(c[r>>2]|0)>>4)+5|0)<=999978?(dw(b,168,w)|0)==0:0){B=c[I>>2]|0;C=c[w>>2]|0;v=29;break}c[H>>2]=283861;Ix(b,282039,H)}while(0);if((v|0)==29?(v=0,y=e+4|0,A=B+(C<<4)|0,(c[y>>2]|0)>>>0>>0):0)c[y>>2]=A;f=n+1|0;switch(m|0){case 1:case 0:{m=aA(b,u+o|0,c[s>>2]|0,k,(m|0)==0&1)|0;e=c[I>>2]|0;n=e;c[n>>2]=m;c[n+4>>2]=z;c[e+8>>2]=19;c[I>>2]=e+16;e=o;break}case 2:{e=u+o|0;i=(k|0)==0;if((c[s>>2]|0)==1){if(!i){i=w;while(1){k=k+-1|0;a[i>>0]=a[e>>0]|0;if(!k)break;else{e=e+1|0;i=i+1|0}}}}else if(!i){i=w+(k+-1)|0;while(1){k=k+-1|0;a[i>>0]=a[e>>0]|0;if(!k)break;else{i=i+-1|0;e=e+1|0}}}e=c[G>>2]|0;if((e|0)==4)j=+g[w>>2];else j=+h[w>>3];k=c[I>>2]|0;h[k>>3]=j;c[k+8>>2]=3;c[I>>2]=k+16;k=e;e=o;break}case 3:{if((c[(c[q>>2]|0)+12>>2]|0)>0)Ew(b);n=jx(b,u+o|0,k)|0;e=c[I>>2]|0;c[e>>2]=n;c[e+8>>2]=(a[n+4>>0]|64)&255;c[I>>2]=(c[I>>2]|0)+16;e=o;break}case 4:{i=aA(b,u+o|0,c[s>>2]|0,k,0)|0;e=i+o|0;if((e+k|0)>>>0>t>>>0)Hx(b,2,283839)|0;if((c[(c[q>>2]|0)+12>>2]|0)>0)Ew(b);n=jx(b,u+(k+o)|0,i)|0;o=c[I>>2]|0;c[o>>2]=n;c[o+8>>2]=(a[n+4>>0]|64)&255;c[I>>2]=(c[I>>2]|0)+16;break}case 5:{e=u+o|0;i=JO(e)|0;if((c[(c[q>>2]|0)+12>>2]|0)>0)Ew(b);n=jx(b,e,i)|0;e=c[I>>2]|0;c[e>>2]=n;c[e+8>>2]=(a[n+4>>0]|64)&255;c[I>>2]=(c[I>>2]|0)+16;e=o+1+i|0;break}case 8:case 6:case 7:{f=n;e=o;break}default:e=o}e=k+e|0;if(!(a[c[D>>2]>>0]|0))break;else n=f}E=e+1|0;H=c[I>>2]|0;G=H;F=G;c[F>>2]=E;G=G+4|0;c[G>>2]=0;G=H+8|0;c[G>>2]=19;H=H+16|0;c[I>>2]=H;I=f+1|0;l=J;return I|0}function $z(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;k=l;l=l+16|0;i=k;j=bA(b,e,f)|0;h=c[f>>2]|0;c[i>>2]=h;do if((j|0)==7){if(a[c[e>>2]>>0]|0){e=(bA(b,e,i)|0)==3;h=c[i>>2]|0;if(!(e|(h|0)==0))break}Hx(c[b>>2]|0,1,283924)|0}while(0);if((j|0)==3|(h|0)<2){d=0;c[g>>2]=d;l=k;return j|0}f=c[b+8>>2]|0;if((h|0)>(f|0)){c[i>>2]=f;h=f}f=h+-1|0;if(f&h|0)Hx(c[b>>2]|0,1,283959)|0;d=h-(f&d)&f;c[g>>2]=d;l=k;return j|0}function aA(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,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;p=q+8|0;o=q;k=(f|0)>8;i=k?8:f;j=i+-1|0;if((f|0)>0){m=(e|0)==0;n=f+-1|0;if(m){e=0;h=0;while(1){e=xQ(e|0,h|0,8)|0;h=z;e=d[b+(n-j)>>0]|0|e;if((j|0)>0)j=j+-1|0;else break}}else{e=0;h=0;while(1){e=xQ(e|0,h|0,8)|0;h=z;e=d[b+j>>0]|0|e;if((j|0)>0)j=j+-1|0;else break}}if((f|0)>=8){if(!k){b=h;f=e;z=b;l=q;return f|0}j=(g|0)==0|((h|0)>-1|(h|0)==-1&e>>>0>4294967295)?0:255;if(m){do{if((d[b+(n-i)>>0]|0|0)!=(j|0)){c[o>>2]=f;Ix(a,283878,o)}i=i+1|0}while((i|0)<(f|0));z=h;l=q;return e|0}else{do{if((d[b+i>>0]|0|0)!=(j|0)){c[p>>2]=f;Ix(a,283878,p)}i=i+1|0}while((i|0)<(f|0));z=h;l=q;return e|0}}}else{e=0;h=0}if(!g){b=h;f=e;z=b;l=q;return f|0}b=xQ(1,0,(f<<3)+-1|0)|0;f=z;f=mQ(e^b|0,h^f|0,b|0,f|0)|0;b=z;z=b;l=q;return f|0}function bA(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,m=0,n=0,o=0;o=l;l=l+48|0;h=o+40|0;k=o+32|0;j=o+24|0;n=o+16|0;m=o+8|0;i=o;f=c[d>>2]|0;g=f+1|0;c[d>>2]=g;f=a[f>>0]|0;c[e>>2]=0;do switch(f|0){case 98:{c[e>>2]=1;e=0;l=o;return e|0}case 66:{c[e>>2]=1;e=1;l=o;return e|0}case 104:{c[e>>2]=2;e=0;l=o;return e|0}case 72:{c[e>>2]=2;e=1;l=o;return e|0}case 108:{c[e>>2]=4;e=0;l=o;return e|0}case 76:{c[e>>2]=4;e=1;l=o;return e|0}case 106:{c[e>>2]=8;e=0;l=o;return e|0}case 74:{c[e>>2]=8;e=1;l=o;return e|0}case 84:{c[e>>2]=4;e=1;l=o;return e|0}case 102:{c[e>>2]=4;e=2;l=o;return e|0}case 100:{c[e>>2]=8;e=2;l=o;return e|0}case 110:{c[e>>2]=8;e=2;l=o;return e|0}case 105:{if(((a[g>>0]|0)+-48|0)>>>0<10){f=0;do{n=g;g=g+1|0;c[d>>2]=g;f=(f*10|0)+-48+(a[n>>0]|0)|0}while((f|0)<214748364&((a[g>>0]|0)+-48|0)>>>0<10);if((f+-1|0)>>>0>15){b=c[b>>2]|0;c[i>>2]=f;c[i+4>>2]=16;Ix(b,284e3,i)}}else f=4;c[e>>2]=f;e=0;l=o;return e|0}case 73:{if(((a[g>>0]|0)+-48|0)>>>0<10){f=0;do{n=g;g=g+1|0;c[d>>2]=g;f=(f*10|0)+-48+(a[n>>0]|0)|0}while((f|0)<214748364&((a[g>>0]|0)+-48|0)>>>0<10);if((f+-1|0)>>>0>15){b=c[b>>2]|0;c[m>>2]=f;c[m+4>>2]=16;Ix(b,284e3,m)}}else f=4;c[e>>2]=f;e=1;l=o;return e|0}case 115:{if(((a[g>>0]|0)+-48|0)>>>0<10){f=0;do{m=g;g=g+1|0;c[d>>2]=g;f=(f*10|0)+-48+(a[m>>0]|0)|0}while((f|0)<214748364&((a[g>>0]|0)+-48|0)>>>0<10);if((f+-1|0)>>>0>15){b=c[b>>2]|0;c[n>>2]=f;c[n+4>>2]=16;Ix(b,284e3,n)}}else f=4;c[e>>2]=f;e=4;l=o;return e|0}case 99:{if(((a[g>>0]|0)+-48|0)>>>0<10){f=0;do{n=g;g=g+1|0;c[d>>2]=g;f=(f*10|0)+-48+(a[n>>0]|0)|0}while((f|0)<214748364&((a[g>>0]|0)+-48|0)>>>0<10);c[e>>2]=f;if((f|0)!=-1){e=3;l=o;return e|0}}else c[e>>2]=-1;Ix(c[b>>2]|0,284040,j);e=3;l=o;return e|0}case 120:{c[e>>2]=1;e=6;l=o;return e|0}case 88:{e=7;l=o;return e|0}case 32:break;case 60:{c[b+4>>2]=1;break}case 62:{c[b+4>>2]=0;break}case 61:{c[b+4>>2]=1;break}case 33:{if(((a[g>>0]|0)+-48|0)>>>0<10){f=0;do{e=g;g=g+1|0;c[d>>2]=g;f=(f*10|0)+-48+(a[e>>0]|0)|0}while((f|0)<214748364&((a[g>>0]|0)+-48|0)>>>0<10);if((f+-1|0)>>>0>15){e=c[b>>2]|0;c[k>>2]=f;c[k+4>>2]=16;Ix(e,284e3,k)}}else f=8;c[b+8>>2]=f;break}case 122:{e=5;l=o;return e|0}default:{e=c[b>>2]|0;c[h>>2]=f;Ix(e,284075,h)}}while(0);e=8;l=o;return e|0}function cA(b,e){b=b|0;e=e|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+304|0;B=G+8|0;A=G;D=G+296|0;E=G+16|0;m=b+16|0;g=c[c[m>>2]>>2]|0;h=g+16|0;C=b+8|0;f=c[C>>2]|0;h=h>>>0>>0?h:316088;switch(c[h+8>>2]&15){case 4:{f=h;F=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);g=c[c[m>>2]>>2]|0;f=c[C>>2]|0}F=g+16|0;f=F>>>0>>0?F:316088;Jw(b,f);F=5;break}default:{Kx(b,1,287470);q=0;n=0}}if((F|0)==5){f=c[f>>2]|0;if((a[f+4>>0]|0)==4)g=d[f+7>>0]|0;else g=c[f+12>>2]|0;q=f+16|0;n=g}g=c[c[m>>2]>>2]|0;h=g+32|0;f=c[C>>2]|0;h=h>>>0>>0?h:316088;switch(c[h+8>>2]&15){case 4:{f=h;F=14;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);g=c[c[m>>2]>>2]|0;f=c[C>>2]|0}F=g+32|0;f=F>>>0>>0?F:316088;Jw(b,f);F=14;break}default:{Kx(b,2,287470);j=0;p=0}}if((F|0)==14){f=c[f>>2]|0;if((a[f+4>>0]|0)==4)g=d[f+7>>0]|0;else g=c[f+12>>2]|0;j=f+16|0;p=g}g=Nx(b,3,1,0)|0;f=z;if(!((f|0)>-1|(f|0)==-1&g>>>0>4294967295))if(n>>>0<(0-g|0)>>>0)i=1;else{g=lQ(g|0,f|0,1,0)|0;g=lQ(g|0,z|0,n|0,0)|0;f=z;F=22}else F=22;if((F|0)==22)if(!((f|0)<0|(f|0)==0&g>>>0<1)){o=lQ(n|0,0,1,0)|0;k=z;if((f|0)>(k|0)|(f|0)==(k|0)&g>>>0>o>>>0){F=c[C>>2]|0;c[F+8>>2]=0;c[C>>2]=F+16;F=1;l=G;return F|0}else i=g}else i=1;k=(e|0)!=0;a:do if(k){g=(c[c[m>>2]>>2]|0)+64|0;f=c[C>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]|0){case 0:{h=0;F=28;break}case 1:{if(!(c[g>>2]|0)){h=0;F=28}break}default:{}}if((F|0)==28)while(1){F=0;g=j+h|0;if(iQ(g,284287)|0){F=39;break a}h=h+1+(JO(g)|0)|0;if(h>>>0>p>>>0)break;else F=28}g=q+(i+-1)|0;h=n-i+1|0;b:do if(!p){if(!g)break a}else{if(p>>>0>h>>>0)break a;m=p+-1|0;if((h|0)==(m|0))break a;n=a[j>>0]|0;k=j+1|0;e=h-m|0;while(1){h=MN(g,n,e)|0;if(!h)break a;i=g;g=h+1|0;if(!(xN(g,k,m)|0)){g=h;break b}j=g;h=i+e|0;if((h|0)==(j|0))break a;else e=h-j|0}}while(0);E=g-q|0;D=E+1|0;F=f;c[F>>2]=D;c[F+4>>2]=((D|0)<0)<<31>>31;c[f+8>>2]=19;F=f+16|0;c[F>>2]=E+p;c[F+4>>2]=0;c[f+24>>2]=19;c[C>>2]=f+32;F=2;l=G;return F|0}else F=39;while(0);do if((F|0)==39){f=q+(i+-1)|0;m=(a[j>>0]|0)==94;e=m?j+1|0:j;o=E+16|0;c[o>>2]=b;c[E>>2]=200;c[E+4>>2]=q;i=E+8|0;c[i>>2]=q+n;c[E+12>>2]=e+(p+(m<<31>>31));j=E+20|0;c[j>>2]=0;g=dA(E,f,e)|0;h=(g|0)==0;c:do if(m)if(h)F=67;else{n=g;m=f}else if(h)while(1){if(f>>>0>=(c[i>>2]|0)>>>0){F=67;break c}f=f+1|0;c[j>>2]=0;g=dA(E,f,e)|0;if(g){n=g;m=f;break}}else{n=g;m=f}while(0);if((F|0)==67){f=c[C>>2]|0;break}if(!k){f=c[j>>2]|0;f=(m|0)!=0&(f|0)==0?1:f;g=c[o>>2]|0;h=f+20|0;c[D>>2]=h;i=c[g+16>>2]|0;j=g+8|0;e=c[j>>2]|0;k=e;do if(((c[g+24>>2]|0)-k>>4|0)>(h|0)){x=e;y=h;F=58}else{if(((k-(c[g+28>>2]|0)>>4)+5|0)<=(999980-f|0)?(dw(g,168,D)|0)==0:0){x=c[j>>2]|0;y=c[D>>2]|0;F=58;break}c[B>>2]=287700;Ix(g,282039,B)}while(0);if((F|0)==58?(v=i+4|0,w=x+(y<<4)|0,(c[v>>2]|0)>>>0>>0):0)c[v>>2]=w;if((f|0)>0){g=0;do{eA(E,g,m,n);g=g+1|0}while((g|0)!=(f|0))}}else{g=q;h=1-g+m|0;k=c[C>>2]|0;f=k;c[f>>2]=h;c[f+4>>2]=((h|0)<0)<<31>>31;c[k+8>>2]=19;g=n-g|0;f=k+16|0;c[f>>2]=g;c[f+4>>2]=((g|0)<0)<<31>>31;c[k+24>>2]=19;c[C>>2]=k+32;k=c[j>>2]|0;f=c[o>>2]|0;g=k+20|0;c[D>>2]=g;h=c[f+16>>2]|0;i=f+8|0;j=c[i>>2]|0;e=j;do if(((c[f+24>>2]|0)-e>>4|0)>(g|0)){t=j;u=g;F=47}else{if(((e-(c[f+28>>2]|0)>>4)+5|0)<=(999980-k|0)?(dw(f,168,D)|0)==0:0){t=c[i>>2]|0;u=c[D>>2]|0;F=47;break}c[A>>2]=287700;Ix(f,282039,A)}while(0);if((F|0)==47?(r=h+4|0,s=t+(u<<4)|0,(c[r>>2]|0)>>>0>>0):0)c[r>>2]=s;if((k|0)>0){f=0;do{eA(E,f,0,0);f=f+1|0}while((f|0)!=(k|0))}f=k+2|0}F=f;l=G;return F|0}while(0);c[f+8>>2]=0;c[C>>2]=f+16;F=1;l=G;return F|0}function dA(b,e,f){b=b|0;e=e|0;f=f|0;var 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,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=l;l=l+96|0;L=X+80|0;K=X+72|0;J=X+64|0;I=X+56|0;H=X+48|0;N=X+40|0;M=X+32|0;R=X+24|0;P=X+16|0;O=X+8|0;W=c[b>>2]|0;c[b>>2]=W+-1;if(!W)Ix(c[b+16>>2]|0,284344,X);F=b+12|0;g=c[F>>2]|0;a:do if((g|0)!=(f|0)){W=b+8|0;T=b+16|0;G=b+4|0;S=b+20|0;A=b+24+(0<<3)+4|0;b:while(1){y=e+1|0;x=e+-1|0;z=f;c:while(1){f=a[z>>0]|0;d:do switch(f<<24>>24|0){case 40:{Q=7;break b}case 41:{Q=16;break b}case 36:{f=z+1|0;if((f|0)==(g|0)){Q=23;break b}else{v=f;w=f;Q=89}break}case 37:{f=z+1|0;i=a[f>>0]|0;switch(i<<24>>24|0){case 98:{Q=25;break c}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{Q=70;break c}case 102:break;default:{if((f|0)==(g|0))Ix(c[T>>2]|0,284470,K);v=z+2|0;w=f;Q=89;break d}}h=z+2|0;if((a[h>>0]|0)==91)f=91;else{Ix(c[T>>2]|0,284435,N);f=a[h>>0]|0}i=z+3|0;switch(f<<24>>24|0){case 37:{if((i|0)==(c[F>>2]|0))Ix(c[T>>2]|0,284470,H);v=z+4|0;break}case 91:{f=(a[i>>0]|0)==94?z+4|0:i;do{if((f|0)==(c[F>>2]|0))Ix(c[T>>2]|0,284505,I);g=f+1|0;if((a[f>>0]|0)==37)f=g>>>0<(c[F>>2]|0)>>>0?f+2|0:g;else f=g}while((a[f>>0]|0)!=93);v=f+1|0;break}default:v=i}if((e|0)==(c[G>>2]|0))g=0;else g=a[x>>0]|0;q=g&255;u=v+-1|0;t=(a[i>>0]|0)==94;r=t?i:h;t=t&1;f=t^1;n=r+1|0;s=n>>>0>>0;e:do if(s){o=g&255;g=r;p=n;while(1){h=a[p>>0]|0;i=g+2|0;j=a[i>>0]|0;do if(h<<24>>24==37)if(!(fA(q,j&255)|0))g=i;else{g=f;break e}else{if(j<<24>>24==45?(B=g+3|0,B>>>0>>0):0){if((h&255)>>>0>q>>>0){g=B;break}if((d[B>>0]|0)>>>0>>0){g=B;break}else{g=f;break e}}if(h<<24>>24==o<<24>>24){g=f;break e}else g=p}while(0);p=g+1|0;if(p>>>0>=u>>>0){g=t;break}}}else g=t;while(0);if(g|0){e=0;break a}o=a[e>>0]|0;p=o&255;f:do if(s){g=r;while(1){h=a[n>>0]|0;i=g+2|0;j=a[i>>0]|0;do if(h<<24>>24==37)if(!(fA(p,j&255)|0))g=i;else break f;else{if(j<<24>>24==45?(C=g+3|0,C>>>0>>0):0){if((h&255)>(o&255)){g=C;break}if((d[C>>0]|0)<(o&255)){g=C;break}else break f}if(h<<24>>24==o<<24>>24)break f;else g=n}while(0);n=g+1|0;if(n>>>0>=u>>>0){f=t;break}}}else f=t;while(0);if(!f){e=0;break a}else f=v;break}default:{h=z+1|0;if(f<<24>>24==91){f=(a[h>>0]|0)==94?z+2|0:h;while(1){if((f|0)==(g|0))Ix(c[T>>2]|0,284505,L);g=f+1|0;if((a[f>>0]|0)==37)f=g>>>0<(c[F>>2]|0)>>>0?f+2|0:g;else f=g;if((a[f>>0]|0)==93)break;g=c[F>>2]|0}v=f+1|0;w=h;Q=89}else{v=h;w=h;Q=89}}}while(0);g:do if((Q|0)==89){Q=0;u=c[W>>2]|0;do if(u>>>0>e>>>0){q=a[e>>0]|0;r=q&255;s=a[z>>0]|0;t=s<<24>>24;h:do switch(t|0){case 46:{f=a[v>>0]|0;break}case 37:{g=fA(r,d[w>>0]|0)|0;Q=104;break}case 91:{o=v+-1|0;p=(a[w>>0]|0)==94;f=p?w:z;p=p&1;g=p^1;h=f+1|0;if(h>>>0>>0)while(1){i=a[h>>0]|0;j=f+2|0;n=a[j>>0]|0;do if(i<<24>>24==37)if(!(fA(r,n&255)|0))f=j;else{Q=104;break h}else{if(n<<24>>24==45?(E=f+3|0,E>>>0>>0):0){if((i&255)>(q&255)){f=E;break}if((d[E>>0]|0)<(q&255)){f=E;break}else{Q=104;break h}}if(i<<24>>24==q<<24>>24){Q=104;break h}else f=h}while(0);h=f+1|0;if(h>>>0>=o>>>0){g=p;Q=104;break}}else{g=p;Q=104}break}default:{g=s<<24>>24==q<<24>>24&1;Q=104}}while(0);if((Q|0)==104){Q=0;f=a[v>>0]|0;if(!g)break}switch(f<<24>>24|0){case 43:{e=y;break b}case 42:{Q=112;break b}case 45:{Q=109;break b}case 63:break;default:{e=y;f=v;break c}}f=v+1|0;g=dA(b,y,f)|0;if(!g)break g;else{e=g;break a}}else f=a[v>>0]|0;while(0);switch(f<<24>>24){case 45:case 63:case 42:break;default:{e=0;break a}}f=v+1|0}while(0);g=c[F>>2]|0;if((f|0)==(g|0))break a;else z=f}if((Q|0)==25){Q=0;f=z+2|0;if((g+-1|0)>>>0<=f>>>0)Ix(c[T>>2]|0,284388,M);n=a[e>>0]|0;if(n<<24>>24!=(a[f>>0]|0)){e=0;break a}i=a[z+3>>0]|0;j=c[W>>2]|0;if(y>>>0>>0){h=y;f=1}else{e=0;break a}while(1){g=a[h>>0]|0;if(g<<24>>24==i<<24>>24){f=f+-1|0;if(!f)break}else f=(g<<24>>24==n<<24>>24&1)+f|0;e=h+1|0;if(e>>>0>>0){y=h;h=e;e=y}else{e=0;break a}}e=e+2|0;f=z+4|0}else if((Q|0)==70){Q=0;f=i&255;h=f+-49|0;if(((i&255)>=49?(h|0)<(c[S>>2]|0):0)?(D=c[b+24+(h<<3)+4>>2]|0,(D|0)!=-1):0)f=D;else{y=c[T>>2]|0;c[J>>2]=f+-48;Ix(y,284298,J);f=c[A>>2]|0}if(((c[W>>2]|0)-e|0)>>>0>>0){e=0;break a}g=e+f|0;if((g|0)==0|(xN(c[b+24+(h<<3)>>2]|0,e,f)|0)!=0){e=0;break a}e=g;f=z+2|0}g=c[F>>2]|0;if((f|0)==(g|0))break a}if((Q|0)==7){g=z+1|0;if((a[g>>0]|0)==41){f=c[S>>2]|0;if((f|0)>31)Ix(c[T>>2]|0,287700,O);c[b+24+(f<<3)>>2]=e;c[b+24+(f<<3)+4>>2]=-2;c[S>>2]=f+1;e=dA(b,e,z+2|0)|0;if(e|0)break;c[S>>2]=(c[S>>2]|0)+-1;e=0;break}else{f=c[S>>2]|0;if((f|0)>31)Ix(c[T>>2]|0,287700,P);c[b+24+(f<<3)>>2]=e;c[b+24+(f<<3)+4>>2]=-1;c[S>>2]=f+1;e=dA(b,e,g)|0;if(e|0)break;c[S>>2]=(c[S>>2]|0)+-1;e=0;break}}else if((Q|0)==16){h=z+1|0;g=c[S>>2]|0;do{W=g;g=g+-1|0;if((W|0)<=0){Q=19;break}f=b+24+(g<<3)+4|0}while((c[f>>2]|0)!=-1);if((Q|0)==19){Ix(c[T>>2]|0,284364,R);f=b+24+(g<<3)+4|0}c[f>>2]=e-(c[b+24+(g<<3)>>2]|0);e=dA(b,e,h)|0;if(e|0)break;c[f>>2]=-1;e=0;break}else if((Q|0)==23){e=(e|0)==(c[W>>2]|0)?e:0;break}else if((Q|0)==109){q=v+1|0;f=dA(b,e,q)|0;if(f|0){e=f;break}p=v+-1|0;while(1){if((c[W>>2]|0)>>>0<=e>>>0){e=0;break a}n=a[e>>0]|0;o=n&255;f=a[z>>0]|0;i:do switch(f<<24>>24|0){case 46:break;case 37:{k=fA(o,d[w>>0]|0)|0;Q=146;break}case 91:{m=(a[w>>0]|0)==94;f=m?w:z;m=m&1;k=m^1;g=f+1|0;if(g>>>0

>>0)while(1){h=a[g>>0]|0;i=f+2|0;j=a[i>>0]|0;do if(h<<24>>24==37)if(!(fA(o,j&255)|0))f=i;else{Q=146;break i}else{if(j<<24>>24==45?(V=f+3|0,V>>>0

>>0):0){if((h&255)>(n&255)){f=V;break}if((d[V>>0]|0)<(n&255)){f=V;break}else{Q=146;break i}}if(h<<24>>24==n<<24>>24){Q=146;break i}else f=g}while(0);g=f+1|0;if(g>>>0>=p>>>0){k=m;Q=146;break}}else{k=m;Q=146}break}default:{k=f<<24>>24==n<<24>>24&1;Q=146}}while(0);if((Q|0)==146?(Q=0,(k|0)==0):0){e=0;break a}e=e+1|0;f=dA(b,e,q)|0;if(f|0){e=f;break a}}}if(u>>>0>e>>>0){q=v+-1|0;g=e;f=0;do{o=a[g>>0]|0;p=o&255;j:do switch(t|0){case 46:break;case 37:{m=fA(p,d[w>>0]|0)|0;Q=129;break}case 91:{n=(a[w>>0]|0)==94;g=n?w:z;n=n&1;m=n^1;h=g+1|0;if(h>>>0>>0)while(1){i=a[h>>0]|0;j=g+2|0;k=a[j>>0]|0;do if(i<<24>>24==37)if(!(fA(p,k&255)|0))g=j;else{Q=129;break j}else{if(k<<24>>24==45?(U=g+3|0,U>>>0>>0):0){if((i&255)>(o&255)){g=U;break}if((d[U>>0]|0)<(o&255)){g=U;break}else{Q=129;break j}}if(i<<24>>24==o<<24>>24){Q=129;break j}else g=h}while(0);h=g+1|0;if(h>>>0>=q>>>0){m=n;Q=129;break}}else{m=n;Q=129}break}default:{m=s<<24>>24==o<<24>>24&1;Q=129}}while(0);if((Q|0)==129?(Q=0,(m|0)==0):0)break;f=f+1|0;g=e+f|0}while(u>>>0>g>>>0);if((f|0)<=-1){e=0;break}}else f=0;h=v+1|0;while(1){g=dA(b,e+f|0,h)|0;if(g|0){e=g;break a}if((f|0)>0)f=f+-1|0;else{e=0;break}}}while(0);c[b>>2]=(c[b>>2]|0)+1;l=X;return e|0}function eA(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;i=l;l=l+16|0;g=i+8|0;h=i;if((c[b+20>>2]|0)<=(d|0)){g=c[b+16>>2]|0;if(d|0){c[h>>2]=d+1;Ix(g,284298,h);l=i;return}if((c[(c[g+12>>2]|0)+12>>2]|0)>0)Ew(g);h=jx(g,e,f-e|0)|0;b=g+8|0;d=c[b>>2]|0;c[d>>2]=h;c[d+8>>2]=(a[h+4>>0]|64)&255;c[b>>2]=(c[b>>2]|0)+16;l=i;return}e=c[b+24+(d<<3)+4>>2]|0;if((e|0)!=-1){f=c[b+16>>2]|0;g=c[b+24+(d<<3)>>2]|0;if((e|0)==-2){e=g+1-(c[b+4>>2]|0)|0;b=f+8|0;d=c[b>>2]|0;h=d;c[h>>2]=e;c[h+4>>2]=((e|0)<0)<<31>>31;c[d+8>>2]=19;c[b>>2]=d+16;l=i;return}}else{f=b+16|0;Ix(c[f>>2]|0,284325,g);f=c[f>>2]|0;g=c[b+24+(d<<3)>>2]|0}if((c[(c[f+12>>2]|0)+12>>2]|0)>0)Ew(f);h=jx(f,g,e)|0;b=f+8|0;d=c[b>>2]|0;c[d>>2]=h;c[d+8>>2]=(a[h+4>>0]|64)&255;c[b>>2]=(c[b>>2]|0)+16;l=i;return}function fA(a,b){a=a|0;b=b|0;do switch(eN(b)|0){case 97:{a=bO(a)|0;break}case 99:{a=cO(a)|0;break}case 100:{a=(a+-48|0)>>>0<10&1;break}case 103:{a=dO(a)|0;break}case 108:{a=pN(a)|0;break}case 112:{a=fO(a)|0;break}case 115:{a=kN(a)|0;break}case 117:{a=fN(a)|0;break}case 119:{a=aO(a)|0;break}case 120:{a=gO(a)|0;break}case 122:{a=(a|0)==0&1;break}default:{b=(b|0)==(a|0)&1;return b|0}}while(0);b=(pN(b)|0)==0;b=b?(a|0)==0&1:a;return b|0}function gA(b){b=b|0;var e=0,f=0,g=0,i=0,j=0,k=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,B=0,C=0,D=0,E=0,F=0,G=0,H=0.0;G=l;l=l+304|0;E=G+16|0;x=G;F=G+24|0;t=b+16|0;g=c[c[t>>2]>>2]|0;f=c[g+8>>2]|0;if((f|0)==22)e=316088;else{e=c[g>>2]|0;e=(a[e+6>>0]|0)==0?316088:e+16|0}switch(c[e+8>>2]&15){case 4:{s=9;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[t>>2]>>2]|0;f=c[e+8>>2]|0}else e=g;if((f|0)==22)e=316088;else{e=c[e>>2]|0;e=(a[e+6>>0]|0)==0?316088:e+16|0}Jw(b,e);s=9;break}default:{r=0;i=g;g=0}}if((s|0)==9){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)g=d[e+7>>0]|0;else g=c[e+12>>2]|0;i=c[c[t>>2]>>2]|0;r=e+16|0;f=c[i+8>>2]|0}if((f|0)==22)e=316088;else{e=c[i>>2]|0;e=(d[e+6>>0]|0)<2?316088:e+32|0}switch(c[e+8>>2]&15){case 4:{s=21;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[t>>2]>>2]|0;f=c[e+8>>2]|0}else e=i;if((f|0)==22)e=316088;else{e=c[e>>2]|0;e=(d[e+6>>0]|0)<2?316088:e+32|0}Jw(b,e);s=21;break}default:{m=0;e=i;i=0}}if((s|0)==21){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)i=d[e+7>>0]|0;else i=c[e+12>>2]|0;q=c[c[t>>2]>>2]|0;m=e+16|0;f=c[q+8>>2]|0;e=q}q=F+16|0;c[q>>2]=b;c[F>>2]=200;c[F+4>>2]=r;k=F+8|0;c[k>>2]=r+g;c[F+12>>2]=m+i;if((f|0)==22)f=316088;else{f=c[e>>2]|0;f=(d[f+6>>0]|0)<3?316088:f+48|0}e=c[f+8>>2]|0;do if((e|0)!=19){a:while(1){switch(e|0){case 3:{s=31;break a}case 19:{s=34;break a}default:{}}if((e&15|0)!=4){s=42;break}i=Iw((c[f>>2]|0)+16|0,x)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)!=(e+1|0)){s=42;break}f=x;e=c[x+8>>2]|0}if((s|0)==31){H=+h[f>>3];n=+A(+H);if(!(H!=n)?n>=-9223372036854775808.0&n<9223372036854775808.0:0){e=~~n>>>0;s=41}else s=42}else if((s|0)==34){e=f;e=c[e>>2]|0;s=41}if((s|0)==41)break;else if((s|0)==42){e=0;break}}else e=c[f>>2]|0;while(0);if((e|0)>(g|0)){F=0;l=G;return F|0}j=F+20|0;p=r+e|0;while(1){c[j>>2]=0;o=dA(F,p,m)|0;if(o|0)break;e=p+1|0;if(e>>>0>(c[k>>2]|0)>>>0){e=0;s=65;break}else p=e}if((s|0)==65){l=G;return e|0}e=o-r|0;e=lQ(e|0,((e|0)<0)<<31>>31|0,(o|0)==(p|0)|0,0)|0;i=b+8|0;f=c[i>>2]|0;g=f;c[g>>2]=e;c[g+4>>2]=z;g=f+8|0;c[g>>2]=19;c[i>>2]=f+16;e=c[c[t>>2]>>2]|0;if((c[e+8>>2]|0)==22)e=316088;else{e=c[e>>2]|0;e=(d[e+6>>0]|0)<3?316088:e+48|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];do if((c[g>>2]&64|0?(u=(c[c[c[t>>2]>>2]>>2]|0)+5|0,v=a[u>>0]|0,v&4):0)?(w=c[f>>2]|0,a[w+5>>0]&3):0){e=c[b+12>>2]|0;if((d[e+61>>0]|0)<2){uw(e,w);break}else{a[u>>0]=a[e+60>>0]&3|v&-8;break}}while(0);c[i>>2]=(c[i>>2]|0)+-16;e=c[j>>2]|0;e=(p|0)!=0&(e|0)==0?1:e;f=c[q>>2]|0;g=e+20|0;c[x>>2]=g;i=c[f+16>>2]|0;j=f+8|0;k=c[j>>2]|0;m=k;do if(((c[f+24>>2]|0)-m>>4|0)>(g|0)){C=k;D=g;s=58}else{if(((m-(c[f+28>>2]|0)>>4)+5|0)<=(999980-e|0)?(dw(f,168,x)|0)==0:0){C=c[j>>2]|0;D=c[x>>2]|0;s=58;break}c[E>>2]=287700;Ix(f,282039,E)}while(0);if((s|0)==58?(y=i+4|0,B=C+(D<<4)|0,(c[y>>2]|0)>>>0>>0):0)c[y>>2]=B;if((e|0)>0)f=0;else{F=e;l=G;return F|0}do{eA(F,f,p,o);f=f+1|0}while((f|0)!=(e|0));l=G;return e|0}function hA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;CQ(Ox(e,d)|0,b|0,d|0)|0;b=e+8|0;c[b>>2]=(c[b>>2]|0)+d;return 0}function iA(a){a=a|0;var b=0,d=0,e=0,f=0;d=l;l=l+16|0;b=d;if(a|0?(c[(c[a+12>>2]|0)+140>>2]|0)!=960:0)Ix(a,282282,b);if((c[(c[a+12>>2]|0)+12>>2]|0)>0)Ew(a);b=px(a)|0;e=a+8|0;f=c[e>>2]|0;c[f>>2]=b;c[f+8>>2]=69;c[e>>2]=(c[e>>2]|0)+16;mx(a,b,0,7);Xx(a,6128,0);l=d;return 1}function jA(b){b=b|0;var 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,A=0,B=0,C=0;C=l;l=l+8272|0;y=C+40|0;w=C+32|0;v=C+16|0;B=C;j=C+8264|0;A=C+56|0;i=b+16|0;f=c[c[i>>2]>>2]|0;e=f+32|0;x=b+8|0;h=c[x>>2]|0;a:do if(!(e>>>0>=h>>>0|(e|0)==316088)?(g=c[f+40>>2]|0,(g&15|0)!=0):0){switch(g&15){case 4:break;case 3:{k=4;break}default:{Kx(b,2,287470);p=0;f=0;break a}}if((k|0)==4){if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[i>>2]>>2]|0;e=c[x>>2]|0}else e=h;u=f+32|0;e=u>>>0>>0?u:316088;Jw(b,e)}e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;p=e+16|0}else{p=334803;f=0}while(0);qA(b,j);g=Nx(b,3,1,0)|0;h=z;u=c[c[i>>2]>>2]|0;t=u+64|0;if(!((t|0)==316088?1:t>>>0>=(c[x>>2]|0)>>>0)?(c[u+72>>2]&15|0)!=0:0){s=Mx(b,4)|0;r=z}else{s=Vx(b)|0;r=z}q=A+12|0;c[q>>2]=b;u=A+16|0;c[A>>2]=u;t=A+8|0;c[t>>2]=0;o=A+4|0;c[o>>2]=8192;if(!((h|0)<(r|0)|(h|0)==(r|0)&g>>>0>>0))if((g|0)==(s|0)&(h|0)==(r|0)){e=c[j>>2]|0;k=32}else{f=u;e=0}else{e=c[j>>2]|0;n=g;m=h;do{jg[e&31](b,1,n,m)|0;g=c[x>>2]|0;h=c[g+-8>>2]&15;if((h+-3|0)>>>0>=2){c[v>>2]=c[5104+(((g+-16|0)==316088?0:h+1|0)<<2)>>2];k=v+8|0;c[k>>2]=n;c[k+4>>2]=m;Ix(b,285082,v)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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];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[b>>2]=c[B>>2];c[b+4>>2]=c[B+4>>2];c[b+8>>2]=c[B+8>>2];c[b+12>>2]=c[B+12>>2];e=e+16|0;b=b+-16|0}while(e>>>0>>0);c[f>>2]=(c[f>>2]|0)+-16;l=C;return 1}function kA(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+16|0;j=k+8|0;qA(a,j);f=Vx(a)|0;g=z;i=lQ(f|0,g|0,1,0)|0;e=z;switch((c[a+8>>2]|0)-((c[c[a+16>>2]>>2]|0)+16)>>4|0){case 2:{d=i;b=e;break}case 3:{h=2;break}default:{Ix(a,285044,k);l=k;return 0}}if((h|0)==2){d=Mx(a,2)|0;b=z;if((b|0)<0|(b|0)==0&d>>>0<1|((b|0)>(e|0)|(b|0)==(e|0)&d>>>0>i>>>0))Hx(a,2,284992)|0;if(!((g|0)<(b|0)|(g|0)==(b|0)&f>>>0>>0)){g=c[j>>2]|0;h=c[j+4>>2]|0;f=i;do{m=f;f=lQ(f|0,e|0,-1,-1)|0;i=e;e=z;jg[g&31](a,1,f,e)|0;Eg[h&63](a,1,m,i)}while((e|0)>(b|0)|(e|0)==(b|0)&f>>>0>d>>>0)}}Eg[c[j+4>>2]&63](a,1,d,b);l=k;return 0}function lA(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;h=k;i=a+8|0;b=a+16|0;g=(c[i>>2]|0)-((c[c[b>>2]>>2]|0)+16)|0;j=g>>4;if((c[(c[a+12>>2]|0)+12>>2]|0)>0)Ew(a);e=px(a)|0;d=c[i>>2]|0;c[d>>2]=e;c[d+8>>2]=69;c[i>>2]=(c[i>>2]|0)+16;mx(a,e,j,1);e=c[i>>2]|0;d=e+-16|0;b=(c[c[b>>2]>>2]|0)+16|0;b=b>>>0>>0?b:316088;e=e+-32|0;if(b>>>0>>0){f=b;do{c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e>>2]=c[h>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];c[e+12>>2]=c[h+12>>2];f=f+16|0;e=e+-16|0}while(f>>>0>>0)}if(b>>>0>>0)do{c[h>>2]=c[b>>2];c[h+4>>2]=c[b+4>>2];c[h+8>>2]=c[b+8>>2];c[h+12>>2]=c[b+12>>2];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[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];b=b+16|0;d=d+-16|0}while(b>>>0>>0);if((g|0)>0)b=j;else{g=(j|0)<0;g=g<<31>>31;h=c[i>>2]|0;f=h;e=f;c[e>>2]=j;j=f+4|0;c[j>>2]=g;j=h+8|0;c[j>>2]=19;j=h+16|0;c[i>>2]=j;Lv(a,1,285042);l=k;return 1}while(1){Nv(a,1,b,((b|0)<0)<<31>>31);if((b|0)>1)b=b+-1|0;else break}g=(j|0)<0;g=g<<31>>31;h=c[i>>2]|0;f=h;e=f;c[e>>2]=j;j=f+4|0;c[j>>2]=g;j=h+8|0;c[j>>2]=19;j=h+16|0;c[i>>2]=j;Lv(a,1,285042);l=k;return 1}function mA(a){a=a|0;var b=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;p=l;l=l+32|0;j=p;k=p+16|0;m=p+8|0;qA(a,m);e=Nx(a,2,1,0)|0;d=z;g=a+16|0;o=c[c[g>>2]>>2]|0;n=o+48|0;i=a+8|0;if(!((n|0)==316088?1:n>>>0>=(c[i>>2]|0)>>>0)?(c[o+56>>2]&15|0)!=0:0){o=Mx(a,3)|0;n=z}else{o=Vx(a)|0;n=z}if((n|0)<(d|0)|(n|0)==(d|0)&o>>>0>>0){a=0;l=p;return a|0}b=mQ(o|0,n|0,e|0,d|0)|0;f=z;a:do if(!(f>>>0>0|(f|0)==0&b>>>0>2147483646)){b=lQ(b|0,f|0,1,0)|0;c[k>>2]=b;g=c[g>>2]|0;h=c[i>>2]|0;f=h;do if(((c[a+24>>2]|0)-f>>4|0)>(b|0))f=b;else{if(((f-(c[a+28>>2]|0)>>4)+5|0)<=(1e6-b|0)?(dw(a,168,k)|0)==0:0){h=c[i>>2]|0;f=c[k>>2]|0;break}break a}while(0);g=g+4|0;f=h+(f<<4)|0;if((c[g>>2]|0)>>>0>>0)c[g>>2]=f;f=c[m>>2]|0;while(1){jg[f&31](a,1,e,d)|0;m=e;e=lQ(e|0,d|0,1,0)|0;if(!((d|0)<(n|0)|(d|0)==(n|0)&m>>>0>>0))break;else d=z}l=p;return b|0}while(0);Ix(a,285015,j);a=0;l=p;return a|0}function nA(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=l;l=l+16|0;f=i;qA(a,f);d=Vx(a)|0;b=z;g=Nx(a,2,d,b)|0;e=z;if(!((g|0)==(d|0)&(e|0)==(b|0))?(h=lQ(d|0,b|0,1,0)|0,j=z,(e|0)<0|(e|0)==0&g>>>0<1|((e|0)>(j|0)|(e|0)==(j|0)&g>>>0>h>>>0)):0)Hx(a,1,284992)|0;h=c[f>>2]|0;jg[h&31](a,1,g,e)|0;f=c[f+4>>2]|0;if(!((e|0)<(b|0)|(e|0)==(b|0)&g>>>0>>0)){h=g;j=e;g=a+8|0;e=c[g>>2]|0;d=e+8|0;c[d>>2]=0;e=e+16|0;c[g>>2]=e;Eg[f&63](a,1,h,j);l=i;return 1}do{k=g;g=lQ(g|0,e|0,1,0)|0;j=e;e=z;jg[h&31](a,1,g,e)|0;Eg[f&63](a,1,k,j)}while((e|0)<(b|0)|(e|0)==(b|0)&g>>>0>>0);k=a+8|0;j=c[k>>2]|0;h=j+8|0;c[h>>2]=0;j=j+16|0;c[k>>2]=j;Eg[f&63](a,1,d,b);l=i;return 1}function oA(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=Mx(a,2)|0;k=z;d=Mx(a,3)|0;e=z;m=Mx(a,4)|0;n=z;o=a+16|0;b=c[c[o>>2]>>2]|0;i=b+80|0;l=a+8|0;if((i|0)==316088?1:i>>>0>=(c[l>>2]|0)>>>0)g=1;else g=c[b+88>>2]&15|0?5:1;do if(!((e|0)<(k|0)|(e|0)==(k|0)&d>>>0>>0)){do if(!(Ux(a,1,285786)|0)){i=c[c[o>>2]>>2]|0;h=i+16|0;if(!((h|0)==316088?1:h>>>0>=(c[l>>2]|0)>>>0)?(c[i+24>>2]&15|0)==5:0){h=7;break}Kx(a,1,281107);h=7}else h=6;while(0);do if(!(Ux(a,g,284931)|0)){i=c[c[o>>2]>>2]|0;f=i+(g<<4)|0;if(!((f|0)==316088?1:f>>>0>=(c[l>>2]|0)>>>0)?(c[i+(g<<4)+8>>2]&15|0)==5:0){i=19;break}Kx(a,g,281107);i=19}else i=18;while(0);f=lQ(j|0,k|0,-1,2147483647)|0;b=z;if(!((k|0)>0|(k|0)==0&j>>>0>0|((e|0)<(b|0)|(e|0)==(b|0)&d>>>0>>0)))Hx(a,3,284942)|0;f=mQ(d|0,e|0,j|0,k|0)|0;b=z;e=mQ(-1,2147483647,f|0,b|0)|0;d=z;if((n|0)>(d|0)|(n|0)==(d|0)&m>>>0>e>>>0)Hx(a,4,284968)|0;d=(b|0)>-1|(b|0)==-1&f>>>0>4294967295;if((n|0)>(k|0)|(n|0)==(k|0)&m>>>0>j>>>0){if(d)d=f;else break;while(1){f=lQ(d|0,b|0,j|0,k|0)|0;jg[h&31](a,1,f,z)|0;f=lQ(d|0,b|0,m|0,n|0)|0;Eg[i&63](a,g,f,z);f=d;d=lQ(d|0,b|0,-1,-1)|0;if(!((b|0)>0|(b|0)==0&f>>>0>0))break;else b=z}}else{if(d){d=0;e=0}else break;while(1){p=lQ(d|0,e|0,j|0,k|0)|0;jg[h&31](a,1,p,z)|0;p=lQ(d|0,e|0,m|0,n|0)|0;Eg[i&63](a,g,p,z);p=d;d=lQ(d|0,e|0,1,0)|0;if(!((e|0)<(b|0)|(e|0)==(b|0)&p>>>0>>0))break;else e=z}}}while(0);p=c[l>>2]|0;a=(c[c[o>>2]>>2]|0)+(g<<4)|0;a=a>>>0

>>0?a:316088;c[p>>2]=c[a>>2];c[p+4>>2]=c[a+4>>2];c[p+8>>2]=c[a+8>>2];c[p+12>>2]=c[a+12>>2];c[l>>2]=(c[l>>2]|0)+16;return 1}function pA(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;e=n;f=n+16|0;m=n+8|0;qA(a,m);j=Vx(a)|0;c[f>>2]=70;i=a+16|0;g=c[i>>2]|0;k=a+8|0;b=c[k>>2]|0;d=b;do if(((c[a+24>>2]|0)-d|0)>1120){e=b;b=70;h=5}else{if(((d-(c[a+28>>2]|0)>>4)+5|0)<=999930?(dw(a,168,f)|0)==0:0){e=c[k>>2]|0;b=c[f>>2]|0;h=5;break}c[e>>2]=334803;Ix(a,282039,e);d=c[k>>2]|0}while(0);if((h|0)==5){d=g+4|0;b=e+(b<<4)|0;if((c[d>>2]|0)>>>0>>0)c[d>>2]=b;d=e}b=c[c[i>>2]>>2]|0;h=b+32|0;a:do if(h>>>0>=d>>>0|(h|0)==316088)f=d;else{switch(c[b+40>>2]&15){case 6:case 0:{f=d;break a}default:{}}Kx(a,2,287066);b=c[c[i>>2]>>2]|0;f=c[k>>2]|0}while(0);e=b+48|0;if(f>>>0>=e>>>0){c[k>>2]=e;rA(a,m,1,j);l=n;return 0}b=(b+40+4+(3-f)|0)>>>4;d=f;do{c[d+8>>2]=0;d=d+16|0}while(d>>>0>>0);c[k>>2]=f+(b+1<<4);c[k>>2]=e;rA(a,m,1,j);l=n;return 0}function qA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;c[d>>2]=0;j=d+4|0;c[j>>2]=0;i=b+16|0;e=(c[c[i>>2]>>2]|0)+16|0;h=b+8|0;f=c[h>>2]|0;e=e>>>0>>0?e:316088;g=c[e+8>>2]|0;switch(g&15){case 5:{e=(c[e>>2]|0)+24|0;break}case 7:{e=(c[e>>2]|0)+8|0;break}default:e=(c[b+12>>2]|0)+244+((g&15)<<2)|0}e=c[e>>2]|0;if(e){c[f>>2]=e;c[f+8>>2]=69;c[h>>2]=(c[h>>2]|0)+16;g=b+12|0;e=c[g>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[g>>2]|0}f=e+280+(((285786>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285786,e+16|0)|0){e=jx(b,285786,7)|0;c[f>>2]=e}f=c[h>>2]|0;c[f>>2]=e;c[f+8>>2]=(a[e+4>>0]|64)&255;f=c[h>>2]|0;c[h>>2]=f+16;e=ox(c[f+-16>>2]|0,f)|0;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];if(c[(c[h>>2]|0)+-8>>2]&15|0)c[d>>2]=6;e=c[g>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[g>>2]|0}f=e+280+(((284931>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(284931,e+16|0)|0){e=jx(b,284931,10)|0;c[f>>2]=e}g=c[h>>2]|0;c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;e=c[h>>2]|0;c[h>>2]=e+16;g=ox(c[e+-32>>2]|0,e)|0;c[e>>2]=c[g>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];e=c[h>>2]|0;if(c[e+-8>>2]&15|0)c[j>>2]=18;f=e+-48|0;c[h>>2]=f;e=c[d>>2]|0;if((e|0)!=0?(c[j>>2]|0)!=0:0)return}else e=0;i=c[c[i>>2]>>2]|0;h=i+16|0;if(!(!(h>>>0>=f>>>0|(h|0)==316088)?(c[i+24>>2]&15|0)==5:0)){Kx(b,1,281107);e=c[d>>2]|0}if(!e)c[d>>2]=7;if(c[j>>2]|0)return;c[j>>2]=19;return}function rA(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+16|0;u=v+8|0;t=v;if((e|0)<=(d|0)){l=v;return}r=b+4|0;s=a+8|0;while(1){g=((d|0)<0)<<31>>31;jg[c[b>>2]&31](a,1,d,g)|0;h=((e|0)<0)<<31>>31;jg[c[b>>2]&31](a,1,e,h)|0;if(!(sA(a,-1,-2)|0))c[s>>2]=(c[s>>2]|0)+-32;else{Eg[c[r>>2]&63](a,1,d,g);Eg[c[r>>2]&63](a,1,e,h)}f=e-d|0;if((f|0)==1){d=25;break}i=(e+d|0)/2|0;j=((i|0)<0)<<31>>31;jg[c[b>>2]&31](a,1,i,j)|0;jg[c[b>>2]&31](a,1,d,g)|0;do if(!(sA(a,-2,-1)|0)){c[s>>2]=(c[s>>2]|0)+-16;jg[c[b>>2]&31](a,1,e,h)|0;if(!(sA(a,-1,-2)|0)){c[s>>2]=(c[s>>2]|0)+-32;break}else{Eg[c[r>>2]&63](a,1,i,j);Eg[c[r>>2]&63](a,1,e,h);break}}else{Eg[c[r>>2]&63](a,1,i,j);Eg[c[r>>2]&63](a,1,d,g)}while(0);if((f|0)==2){d=25;break}jg[c[b>>2]&31](a,1,i,j)|0;p=c[s>>2]|0;q=p+-16|0;c[p>>2]=c[q>>2];c[p+4>>2]=c[q+4>>2];c[p+8>>2]=c[q+8>>2];c[p+12>>2]=c[q+12>>2];c[s>>2]=(c[s>>2]|0)+16;p=e+-1|0;q=((p|0)<0)<<31>>31;jg[c[b>>2]&31](a,1,p,q)|0;Eg[c[r>>2]&63](a,1,i,j);Eg[c[r>>2]&63](a,1,p,q);h=d;j=p;while(1){f=h+1|0;g=((f|0)<0)<<31>>31;jg[c[b>>2]&31](a,1,f,g)|0;if(!(sA(a,-1,-2)|0)){o=f;n=f;f=h}else while(1){if((e|0)<=(f|0))Ix(a,284896,t);c[s>>2]=(c[s>>2]|0)+-16;g=f+1|0;h=((g|0)<0)<<31>>31;jg[c[b>>2]&31](a,1,g,h)|0;if(!(sA(a,-1,-2)|0)){o=g;n=g;g=h;break}else f=g}h=j+-1|0;i=((h|0)<0)<<31>>31;jg[c[b>>2]&31](a,1,h,i)|0;if(!(sA(a,-3,-1)|0)){m=h;k=h;h=j}else while(1){if((h|0)<=(d|0))Ix(a,284896,u);c[s>>2]=(c[s>>2]|0)+-16;i=h+-1|0;j=((i|0)<0)<<31>>31;jg[c[b>>2]&31](a,1,i,j)|0;if(!(sA(a,-3,-1)|0)){m=i;k=i;i=j;break}else h=i}if((h|0)<=(o|0))break;Eg[c[r>>2]&63](a,1,n,g);Eg[c[r>>2]&63](a,1,k,i);h=o;j=m}c[s>>2]=(c[s>>2]|0)+-48;jg[c[b>>2]&31](a,1,p,q)|0;jg[c[b>>2]&31](a,1,n,g)|0;Eg[c[r>>2]&63](a,1,p,q);Eg[c[r>>2]&63](a,1,n,g);p=(o-d|0)<(e-o|0);o=f+2|0;n=d;d=p?o:d;q=e;e=p?e:f;rA(a,b,p?n:o,p?f:q);if((e|0)<=(d|0)){d=25;break}}if((d|0)==25){l=v;return}}function sA(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;m=o;k=a+16|0;j=c[c[k>>2]>>2]|0;g=j+32|0;n=a+8|0;h=c[n>>2]|0;if(!(g>>>0>=h>>>0|(g|0)==316088)?(c[j+40>>2]&15|0)==0:0){n=Ev(a,e,f,1)|0;l=o;return n|0}j=g>>>0>>0?g:316088;c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];c[h+12>>2]=c[j+12>>2];j=(c[n>>2]|0)+16|0;c[n>>2]=j;g=e+-1|0;i=c[k>>2]|0;do if((e|0)<=1){if((e|0)>=-1000998){g=j+(g<<4)|0;break}if((g|0)==-1001e3){g=(c[a+12>>2]|0)+40|0;break}h=-1000999-e|0;g=c[i>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(h|0)>(d[g+6>>0]|0|0)?316088:g+16+(h+-1<<4)|0}}else{g=(c[i>>2]|0)+(g<<4)|0;g=g>>>0>>0?g:316088}while(0);c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];e=(c[n>>2]|0)+16|0;c[n>>2]=e;g=f+-2|0;i=c[k>>2]|0;do if((f|0)<=2){if((g|0)>=-1000999){g=e+(g<<4)|0;break}if((g|0)==-1001e3){g=(c[a+12>>2]|0)+40|0;break}h=-1000998-f|0;g=c[i>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(h|0)>(d[g+6>>0]|0|0)?316088:g+16+(h+-1<<4)|0}}else{g=(c[i>>2]|0)+(g<<4)|0;g=g>>>0>>0?g:316088}while(0);c[e>>2]=c[g>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];h=c[n>>2]|0;c[n>>2]=h+16;h=h+-32|0;i=a+106|0;g=(b[i>>1]|0)+1<<16>>16;b[i>>1]=g;if((g&65535)>199){if(g<<16>>16==200)_v(a,279702,m);if((g&65535)>224)cw(a,6)}g=a+104|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;if(!(gw(a,h,1)|0))Ex(a);b[g>>1]=(b[g>>1]|0)+-1<<16>>16;b[i>>1]=(b[i>>1]|0)+-1<<16>>16;a=c[n>>2]|0;g=a+-16|0;switch(c[a+-8>>2]|0){case 0:{h=0;break}case 1:{h=(c[g>>2]|0)!=0;break}default:h=1}c[n>>2]=g;n=h&1;l=o;return n|0}function tA(b){b=b|0;var 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;u=l;l=l+32|0;m=u+16|0;i=u;r=b+12|0;if((c[(c[r>>2]|0)+12>>2]|0)>0)Ew(b);g=px(b)|0;s=b+8|0;h=c[s>>2]|0;c[h>>2]=g;c[h+8>>2]=69;c[s>>2]=(c[s>>2]|0)+16;if((c[(c[r>>2]|0)+12>>2]|0)>0)Ew(b);g=px(b)|0;h=c[s>>2]|0;c[h>>2]=g;c[h+8>>2]=69;c[s>>2]=(c[s>>2]|0)+16;mx(b,g,0,1);g=c[s>>2]|0;c[g>>2]=396;c[g+8>>2]=22;g=c[s>>2]|0;h=g+16|0;c[s>>2]=h;f=(c[r>>2]|0)+280+(((286503>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(286503,e+16|0)|0){e=jx(b,286503,4)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;f=c[s>>2]|0;c[s>>2]=f+16;xx(b,g+-16|0,f,f+-16|0);c[s>>2]=(c[s>>2]|0)+-32;Ov(b,-2);f=c[(c[r>>2]|0)+40>>2]|0;c[i>>2]=319812;c[i+8>>2]=2;e=ox(f,i)|0;if((e|0)==316088)e=nx(b,f,i)|0;i=(c[s>>2]|0)+-16|0;c[e>>2]=c[i>>2];c[e+4>>2]=c[i+4>>2];c[e+8>>2]=c[i+8>>2];c[e+12>>2]=c[i+12>>2];e=c[s>>2]|0;if((c[e+-8>>2]&64|0?(j=f+5|0,k=a[j>>0]|0,k&4):0)?a[(c[e+-16>>2]|0)+5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>2];c[e+12>>2]=c[o+12>>2];e=c[s>>2]|0;c[e>>2]=p;c[e+8>>2]=102;c[s>>2]=(c[s>>2]|0)+16;Nv(b,-2,3,0);e=c[s>>2]|0;p=e+-32|0;c[e>>2]=c[p>>2];c[e+4>>2]=c[p+4>>2];c[e+8>>2]=c[p+8>>2];c[e+12>>2]=c[p+12>>2];c[s>>2]=(c[s>>2]|0)+16;e=c[r>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[r>>2]|0}f=e+4|0;g=jg[c[e>>2]&31](c[f>>2]|0,0,6,32)|0;if(!g){if(!(c[e+140>>2]|0))cw(b,4);Fw(b,1);f=jg[c[e>>2]&31](c[f>>2]|0,0,6,32)|0;if(!f)cw(b,4);else q=f}else q=g;f=e+12|0;c[f>>2]=(c[f>>2]|0)+32;a[q+5>>0]=a[e+60>>0]&3;a[q+4>>0]=38;f=e+64|0;c[q>>2]=c[f>>2];c[f>>2]=q;a[q+6>>0]=1;c[q+12>>2]=400;f=(c[s>>2]|0)+-16|0;c[s>>2]=f;g=q+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];g=c[s>>2]|0;c[g>>2]=q;c[g+8>>2]=102;c[s>>2]=(c[s>>2]|0)+16;Nv(b,-2,4,0);g=c[s>>2]|0;f=(c[r>>2]|0)+280+(((285135>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285135,e+16|0)|0){e=jx(b,285135,9)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;e=c[s>>2]|0;c[s>>2]=e+16;xx(b,g+-32|0,e,e+-16|0);c[s>>2]=(c[s>>2]|0)+-32;e=c[r>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[r>>2]|0}f=e+280+(((285145>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285145,e+16|0)|0){e=jx(b,285145,150)|0;c[f>>2]=e}g=c[s>>2]|0;c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;g=c[s>>2]|0;h=g+16|0;c[s>>2]=h;f=(c[r>>2]|0)+280+(((285296>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285296,e+16|0)|0){e=jx(b,285296,4)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;e=c[s>>2]|0;c[s>>2]=e+16;xx(b,g+-16|0,e,e+-16|0);c[s>>2]=(c[s>>2]|0)+-32;e=c[r>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[r>>2]|0}f=e+280+(((285301>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285301,e+16|0)|0){e=jx(b,285301,68)|0;c[f>>2]=e}g=c[s>>2]|0;c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;g=c[s>>2]|0;h=g+16|0;c[s>>2]=h;f=(c[r>>2]|0)+280+(((285370>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285370,e+16|0)|0){e=jx(b,285370,5)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;e=c[s>>2]|0;c[s>>2]=e+16;xx(b,g+-16|0,e,e+-16|0);c[s>>2]=(c[s>>2]|0)+-32;e=c[r>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[r>>2]|0}f=e+280+(((285376>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285376,e+16|0)|0){e=jx(b,285376,10)|0;c[f>>2]=e}g=c[s>>2]|0;c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;g=c[s>>2]|0;h=g+16|0;c[s>>2]=h;f=(c[r>>2]|0)+280+(((285387>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285387,e+16|0)|0){e=jx(b,285387,6)|0;c[f>>2]=e}c[h>>2]=e;c[g+24>>2]=(a[e+4>>0]|64)&255;f=c[s>>2]|0;c[s>>2]=f+16;xx(b,g+-16|0,f,f+-16|0);c[s>>2]=(c[s>>2]|0)+-32;Yx(b,285394);g=c[s>>2]|0;f=(c[r>>2]|0)+280+(((285402>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285402,e+16|0)|0){e=jx(b,285402,6)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;f=c[s>>2]|0;c[s>>2]=f+16;xx(b,g+-32|0,f,f+-16|0);c[s>>2]=(c[s>>2]|0)+-32;Yx(b,285409);g=c[s>>2]|0;f=(c[r>>2]|0)+280+(((285418>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285418,e+16|0)|0){e=jx(b,285418,7)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;e=c[s>>2]|0;c[s>>2]=e+16;xx(b,g+-32|0,e,e+-16|0);g=(c[s>>2]|0)+-32|0;c[s>>2]=g;e=c[(c[r>>2]|0)+40>>2]|0;if((c[e+8>>2]|0)>>>0>1){r=(c[e+12>>2]|0)+16|0;c[g>>2]=c[r>>2];c[g+4>>2]=c[r+4>>2];c[g+8>>2]=c[r+8>>2];c[g+12>>2]=c[r+12>>2];r=c[s>>2]|0;t=r+16|0;c[s>>2]=t;r=r+-16|0;c[t>>2]=c[r>>2];c[t+4>>2]=c[r+4>>2];c[t+8>>2]=c[r+8>>2];c[t+12>>2]=c[r+12>>2];t=c[s>>2]|0;t=t+16|0;c[s>>2]=t;Xx(b,6256,1);t=c[s>>2]|0;t=t+-16|0;c[s>>2]=t;l=u;return 1}f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(r=f+16|0,(c[r>>2]|0)==2&(c[r+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){e=316088;t=85;break}f=f+(e<<5)|0}if((t|0)==85){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];r=c[s>>2]|0;t=r+16|0;c[s>>2]=t;r=r+-16|0;c[t>>2]=c[r>>2];c[t+4>>2]=c[r+4>>2];c[t+8>>2]=c[r+8>>2];c[t+12>>2]=c[r+12>>2];t=c[s>>2]|0;t=t+16|0;c[s>>2]=t;Xx(b,6256,1);t=c[s>>2]|0;t=t+-16|0;c[s>>2]=t;l=u;return 1}r=f;c[g>>2]=c[r>>2];c[g+4>>2]=c[r+4>>2];c[g+8>>2]=c[r+8>>2];c[g+12>>2]=c[r+12>>2];r=c[s>>2]|0;t=r+16|0;c[s>>2]=t;r=r+-16|0;c[t>>2]=c[r>>2];c[t+4>>2]=c[r+4>>2];c[t+8>>2]=c[r+8>>2];c[t+12>>2]=c[r+12>>2];t=c[s>>2]|0;t=t+16|0;c[s>>2]=t;Xx(b,6256,1);t=c[s>>2]|0;t=t+-16|0;c[s>>2]=t;l=u;return 1}function uA(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=Vx(a)|0;e=z;if(!((e|0)>0|(e|0)==0&b>>>0>0))return 0;k=a+16|0;j=a+8|0;do{a=(c[c[k>>2]>>2]|0)+16|0;g=c[j>>2]|0;a=c[(a>>>0>>0?a:316088)>>2]|0;h=b;b=lQ(b|0,e|0,-1,-1)|0;i=e;e=z;a:do if(e>>>0<0|((e|0)==0?b>>>0<(c[a+8>>2]|0)>>>0:0))a=(c[a+12>>2]|0)+(b<<4)|0;else{a=(c[a+16>>2]|0)+(((1<<(d[a+7>>0]|0))+-1&h)<<5)|0;while(1){if((c[a+24>>2]|0)==19?(f=a+16|0,(c[f>>2]|0)==(h|0)?(c[f+4>>2]|0)==(i|0):0):0)break;f=c[a+28>>2]|0;if(!f){a=316088;break a}a=a+(f<<5)|0}}while(0);c[g>>2]=c[a>>2];c[g+4>>2]=c[a+4>>2];c[g+8>>2]=c[a+8>>2];c[g+12>>2]=c[a+12>>2]}while((i|0)>0|(i|0)==0&h>>>0>1);return 0}function vA(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;k=m;g=b+16|0;e=c[c[g>>2]>>2]|0;f=e+16|0;j=b+8|0;d=c[j>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{d=f;h=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[g>>2]>>2]|0;d=c[j>>2]|0}h=e+16|0;d=h>>>0>>0?h:316088;Jw(b,d);h=5;break}default:{Kx(b,1,287470);i=0}}if((h|0)==5)i=(c[d>>2]|0)+16|0;h=b+12|0;f=c[h>>2]|0;g=c[j>>2]|0;e=f+280+(((285409>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(285409,d+16|0)|0){d=jx(b,285409,8)|0;c[e>>2]=d}c[g>>2]=d;c[g+8>>2]=(a[d+4>>0]|64)&255;e=c[j>>2]|0;c[j>>2]=e+16;wx(b,f+40|0,e,e);f=c[j>>2]|0;e=(c[h>>2]|0)+280+(((i>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(i,d+16|0)|0){d=jx(b,i,JO(i)|0)|0;c[e>>2]=d}c[f>>2]=d;c[f+8>>2]=(a[d+4>>0]|64)&255;h=c[j>>2]|0;c[j>>2]=h+16;wx(b,f+-16|0,h,h);if(c[(c[j>>2]|0)+-8>>2]&15|0){l=m;return 1}c[k>>2]=i;Hv(b,285692,k)|0;l=m;return 1}function wA(b){b=b|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;p=l;l=l+32|0;n=p+8|0;i=p;j=b+16|0;e=c[c[j>>2]>>2]|0;f=e+16|0;o=b+8|0;d=c[o>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{d=f;m=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[j>>2]>>2]|0;d=c[o>>2]|0}m=e+16|0;d=m>>>0>>0?m:316088;Jw(b,d);m=5;break}default:{Kx(b,1,287470);h=0}}if((m|0)==5)h=(c[d>>2]|0)+16|0;d=c[c[j>>2]>>2]|0;if((c[d+8>>2]|0)==22)f=316088;else{f=c[d>>2]|0;f=(a[f+6>>0]|0)==0?316088:f+16|0}g=c[o>>2]|0;k=b+12|0;e=(c[k>>2]|0)+280+(((285296>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(285296,d+16|0)|0){d=jx(b,285296,4)|0;c[e>>2]=d}c[g>>2]=d;c[g+8>>2]=(a[d+4>>0]|64)&255;d=c[o>>2]|0;c[o>>2]=d+16;wx(b,f,d,d);d=c[o>>2]|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;m=16;break}case 3:{if((c[(c[k>>2]|0)+12>>2]|0)>0){Ew(b);d=c[o>>2]|0}d=d+-16|0;Jw(b,d);m=16;break}default:{c[i>>2]=285296;Ix(b,285495,i);d=0}}if((m|0)==16)d=(c[d>>2]|0)+16|0;g=AA(b,h,d,314101,308375)|0;if(!g){b=1;l=p;return b|0}if(!(Qx(b,g,0)|0)){d=c[k>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[k>>2]|0}e=d+280+(((g>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(g,d+16|0)|0){d=jx(b,g,JO(g)|0)|0;c[e>>2]=d}b=c[o>>2]|0;c[b>>2]=d;c[b+8>>2]=(a[d+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+16;b=2;l=p;return b|0}e=c[c[j>>2]>>2]|0;f=e+16|0;d=c[o>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{e=f;m=30;break}case 3:{if((c[(c[k>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[j>>2]>>2]|0;d=c[o>>2]|0}e=e+16|0;e=e>>>0>>0?e:316088;Jw(b,e);d=c[o>>2]|0;m=30;break}default:e=0}if((m|0)==30)e=(c[e>>2]|0)+16|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;m=35;break}case 3:{if((c[(c[k>>2]|0)+12>>2]|0)>0){Ew(b);d=c[o>>2]|0}d=d+-16|0;Jw(b,d);m=35;break}default:d=0}if((m|0)==35)d=(c[d>>2]|0)+16|0;c[n>>2]=e;c[n+4>>2]=g;c[n+8>>2]=d;Ix(b,285525,n);b=0;l=p;return b|0}function xA(b){b=b|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;p=l;l=l+32|0;n=p+8|0;i=p;j=b+16|0;e=c[c[j>>2]>>2]|0;f=e+16|0;o=b+8|0;d=c[o>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{d=f;m=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[j>>2]>>2]|0;d=c[o>>2]|0}m=e+16|0;d=m>>>0>>0?m:316088;Jw(b,d);m=5;break}default:{Kx(b,1,287470);h=0}}if((m|0)==5)h=(c[d>>2]|0)+16|0;d=c[c[j>>2]>>2]|0;if((c[d+8>>2]|0)==22)f=316088;else{f=c[d>>2]|0;f=(a[f+6>>0]|0)==0?316088:f+16|0}g=c[o>>2]|0;k=b+12|0;e=(c[k>>2]|0)+280+(((285370>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(285370,d+16|0)|0){d=jx(b,285370,5)|0;c[e>>2]=d}c[g>>2]=d;c[g+8>>2]=(a[d+4>>0]|64)&255;d=c[o>>2]|0;c[o>>2]=d+16;wx(b,f,d,d);d=c[o>>2]|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;m=16;break}case 3:{if((c[(c[k>>2]|0)+12>>2]|0)>0){Ew(b);d=c[o>>2]|0}d=d+-16|0;Jw(b,d);m=16;break}default:{c[i>>2]=285370;Ix(b,285495,i);d=0}}if((m|0)==16)d=(c[d>>2]|0)+16|0;g=AA(b,h,d,314101,308375)|0;if(!g){b=1;l=p;return b|0}if(!(BA(b,g,h)|0)){d=c[k>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[k>>2]|0}e=d+280+(((g>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(g,d+16|0)|0){d=jx(b,g,JO(g)|0)|0;c[e>>2]=d}b=c[o>>2]|0;c[b>>2]=d;c[b+8>>2]=(a[d+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+16;b=2;l=p;return b|0}e=c[c[j>>2]>>2]|0;f=e+16|0;d=c[o>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{e=f;m=30;break}case 3:{if((c[(c[k>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[j>>2]>>2]|0;d=c[o>>2]|0}e=e+16|0;e=e>>>0>>0?e:316088;Jw(b,e);d=c[o>>2]|0;m=30;break}default:e=0}if((m|0)==30)e=(c[e>>2]|0)+16|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;m=35;break}case 3:{if((c[(c[k>>2]|0)+12>>2]|0)>0){Ew(b);d=c[o>>2]|0}d=d+-16|0;Jw(b,d);m=35;break}default:d=0}if((m|0)==35)d=(c[d>>2]|0)+16|0;c[n>>2]=e;c[n+4>>2]=g;c[n+8>>2]=d;Ix(b,285525,n);b=0;l=p;return b|0}function yA(b){b=b|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;r=l;l=l+32|0;k=r+24|0;p=r+8|0;j=r;m=b+16|0;e=c[c[m>>2]>>2]|0;f=e+16|0;q=b+8|0;d=c[q>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{d=f;o=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);e=c[c[m>>2]>>2]|0;d=c[q>>2]|0}o=e+16|0;d=o>>>0>>0?o:316088;Jw(b,d);o=5;break}default:{Kx(b,1,287470);i=0}}if((o|0)==5)i=(c[d>>2]|0)+16|0;d=KO(i,46)|0;if(!d){b=0;l=r;return b|0}n=b+12|0;if((c[(c[n>>2]|0)+12>>2]|0)>0)Ew(b);d=jx(b,i,d-i|0)|0;e=c[q>>2]|0;c[e>>2]=d;c[e+8>>2]=(a[d+4>>0]|64)&255;e=c[q>>2]|0;d=e+16|0;c[q>>2]=d;switch(c[e+8>>2]&15){case 4:{d=e;o=14;break}case 3:{if((c[(c[n>>2]|0)+12>>2]|0)>0){Ew(b);d=c[q>>2]|0}d=d+-16|0;Jw(b,d);o=14;break}default:h=0}if((o|0)==14)h=(c[d>>2]|0)+16|0;d=c[c[m>>2]>>2]|0;if((c[d+8>>2]|0)==22)f=316088;else{f=c[d>>2]|0;f=(a[f+6>>0]|0)==0?316088:f+16|0}g=c[q>>2]|0;e=(c[n>>2]|0)+280+(((285370>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(285370,d+16|0)|0){d=jx(b,285370,5)|0;c[e>>2]=d}c[g>>2]=d;c[g+8>>2]=(a[d+4>>0]|64)&255;d=c[q>>2]|0;c[q>>2]=d+16;wx(b,f,d,d);d=c[q>>2]|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;o=24;break}case 3:{if((c[(c[n>>2]|0)+12>>2]|0)>0){Ew(b);d=c[q>>2]|0}d=d+-16|0;Jw(b,d);o=24;break}default:{c[j>>2]=285370;Ix(b,285495,j);d=0}}if((o|0)==24)d=(c[d>>2]|0)+16|0;g=AA(b,h,d,314101,308375)|0;if(!g){b=1;l=r;return b|0}switch(BA(b,g,i)|0){case 0:{d=c[n>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[n>>2]|0}e=d+280+(((g>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(g,d+16|0)|0){d=jx(b,g,JO(g)|0)|0;c[e>>2]=d}b=c[q>>2]|0;c[b>>2]=d;c[b+8>>2]=(a[d+4>>0]|64)&255;c[q>>2]=(c[q>>2]|0)+16;b=2;l=r;return b|0}case 2:{c[k>>2]=i;c[k+4>>2]=g;Hv(b,285571,k)|0;b=1;l=r;return b|0}default:{e=c[c[m>>2]>>2]|0;f=e+16|0;d=c[q>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]&15){case 4:{e=f;o=32;break}case 3:{if((c[(c[n>>2]|0)+12>>2]|0)>0){Ew(b);d=c[q>>2]|0;e=c[c[m>>2]>>2]|0}e=e+16|0;e=e>>>0>>0?e:316088;Jw(b,e);d=c[q>>2]|0;o=32;break}default:e=0}if((o|0)==32)e=(c[e>>2]|0)+16|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;o=37;break}case 3:{if((c[(c[n>>2]|0)+12>>2]|0)>0){Ew(b);d=c[q>>2]|0}d=d+-16|0;Jw(b,d);o=37;break}default:d=0}if((o|0)==37)d=(c[d>>2]|0)+16|0;c[p>>2]=e;c[p+4>>2]=g;c[p+8>>2]=d;Ix(b,285525,p);b=0;l=r;return b|0}}return 0}function zA(e){e=e|0;var 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,A=0,B=0,C=0,D=0;C=l;l=l+8256|0;x=C+40|0;v=C+32|0;u=C+24|0;k=C+16|0;w=C;t=C+48|0;A=e+16|0;g=c[c[A>>2]>>2]|0;h=g+16|0;B=e+8|0;f=c[B>>2]|0;h=h>>>0>>0?h:316088;switch(c[h+8>>2]&15){case 4:{f=h;r=5;break}case 3:{if((c[(c[e+12>>2]|0)+12>>2]|0)>0){Ew(e);g=c[c[A>>2]>>2]|0;f=c[B>>2]|0}r=g+16|0;f=r>>>0>>0?r:316088;Jw(e,f);r=5;break}default:{Kx(e,1,287470);y=0}}if((r|0)==5)y=(c[f>>2]|0)+16|0;i=c[c[A>>2]>>2]|0;f=c[B>>2]|0;j=i+32|0;if(f>>>0>>0){g=(i+24+4+(3-f)|0)>>>4;h=f;do{c[h+8>>2]=0;h=h+16|0}while(h>>>0>>0);c[B>>2]=f+(g+1<<4)}c[B>>2]=j;s=e+12|0;h=c[s>>2]|0;g=h+280+(((285394>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285394,f+16|0)|0){f=jx(e,285394,7)|0;c[g>>2]=f}c[j>>2]=f;c[i+40>>2]=(a[f+4>>0]|64)&255;i=c[B>>2]|0;c[B>>2]=i+16;wx(e,h+40|0,i,i);h=(c[c[A>>2]>>2]|0)+32|0;i=c[B>>2]|0;q=(y>>>0)%127|0;g=(c[s>>2]|0)+280+(q<<2)|0;f=c[g>>2]|0;if(wN(y,f+16|0)|0){f=jx(e,y,JO(y)|0)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;j=c[B>>2]|0;c[B>>2]=j+16;wx(e,h>>>0>>0?h:316088,j,j);i=c[B>>2]|0;j=i+-16|0;switch(c[i+-8>>2]|0){case 0:break;case 1:{r=18;break}default:{l=C;return 1}}if((r|0)==18?c[j>>2]|0:0){l=C;return 1}c[B>>2]=j;n=t+12|0;c[n>>2]=e;o=t+16|0;c[t>>2]=o;p=t+8|0;c[p>>2]=0;c[t+4>>2]=8192;f=c[c[A>>2]>>2]|0;if((c[f+8>>2]|0)==22)h=316088;else{h=c[f>>2]|0;h=(a[h+6>>0]|0)==0?316088:h+16|0}g=(c[s>>2]|0)+280+(((285135>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285135,f+16|0)|0){f=jx(e,285135,9)|0;c[g>>2]=f}c[j>>2]=f;c[i+-8>>2]=(a[f+4>>0]|64)&255;m=c[B>>2]|0;c[B>>2]=m+16;wx(e,h,m,m);if((c[(c[B>>2]|0)+-8>>2]&15|0)!=5)Ix(e,285434,k);k=e+106|0;m=e+104|0;j=1;while(1){h=((j|0)<0)<<31>>31;f=(c[c[A>>2]>>2]|0)+48|0;i=c[B>>2]|0;f=c[(f>>>0>>0?f:316088)>>2]|0;g=lQ(j|0,h|0,-1,-1)|0;D=z;a:do if(D>>>0<0|((D|0)==0?g>>>0<(c[f+8>>2]|0)>>>0:0))f=(c[f+12>>2]|0)+(g<<4)|0;else{f=(c[f+16>>2]|0)+(((1<>0])+-1&j)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(D=f+16|0,(c[D>>2]|0)==(j|0)?(c[D+4>>2]|0)==(h|0):0):0)break;g=c[f+28>>2]|0;if(!g){f=316088;break a}f=f+(g<<5)|0}}while(0);c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];f=c[B>>2]|0;c[B>>2]=f+16;if(!(c[f+8>>2]&15)){c[B>>2]=f;f=c[n>>2]|0;g=c[t>>2]|0;h=c[p>>2]|0;if((c[(c[f+12>>2]|0)+12>>2]|0)>0)Ew(f);D=jx(f,g,h)|0;h=f+8|0;f=c[h>>2]|0;c[f>>2]=D;c[f+8>>2]=(a[D+4>>0]|64)&255;f=c[h>>2]|0;c[h>>2]=f+16;if((c[t>>2]|0)!=(o|0)){g=f;f=f+-16|0;do{c[w>>2]=c[f>>2];c[w+4>>2]=c[f+4>>2];c[w+8>>2]=c[f+8>>2];c[w+12>>2]=c[f+12>>2];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[g>>2]=c[w>>2];c[g+4>>2]=c[w+4>>2];c[g+8>>2]=c[w+8>>2];c[g+12>>2]=c[w+12>>2];f=f+16|0;g=g+-16|0}while(f>>>0>>0);c[h>>2]=(c[h>>2]|0)+-16}f=c[B>>2]|0;switch(c[f+-8>>2]&15){case 4:{f=f+-16|0;r=46;break}case 3:{if((c[(c[s>>2]|0)+12>>2]|0)>0){Ew(e);f=c[B>>2]|0}f=f+-16|0;Jw(e,f);r=46;break}default:f=0}if((r|0)==46){r=0;f=(c[f>>2]|0)+16|0}c[u>>2]=y;c[u+4>>2]=f;Ix(e,285470,u)}Gv(e,y);f=(c[B>>2]|0)+-32|0;g=(b[k>>1]|0)+1<<16>>16;b[k>>1]=g;if((g&65535)>199){if(g<<16>>16==200){r=50;break}if((g&65535)>224){r=52;break}}b[m>>1]=(b[m>>1]|0)+1<<16>>16;if(!(gw(e,f,2)|0))Ex(e);b[m>>1]=(b[m>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+-1<<16>>16;g=c[B>>2]|0;h=g+-32|0;f=c[g+-24>>2]|0;if((h|0)!=316088&(f&15|0)==6){r=60;break}if(((f&15)+-3|0)>>>0<2){c[B>>2]=g+-16;Px(t)}else c[B>>2]=h;j=j+1|0}if((r|0)==50)_v(e,279702,v);else if((r|0)==52)cw(e,6);else if((r|0)==60){Gv(e,y);g=c[B>>2]|0;f=g+-16|0;g=g+-32|0;do{c[w>>2]=c[g>>2];c[w+4>>2]=c[g+4>>2];c[w+8>>2]=c[g+8>>2];c[w+12>>2]=c[g+12>>2];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];c[f>>2]=c[w>>2];c[f+4>>2]=c[w+4>>2];c[f+8>>2]=c[w+8>>2];c[f+12>>2]=c[w+12>>2];g=g+16|0;f=f+-16|0}while(g>>>0>>0);f=(c[B>>2]|0)+-48|0;g=(b[k>>1]|0)+1<<16>>16;b[k>>1]=g;if((g&65535)>199){if(g<<16>>16==200)_v(e,279702,x);if((g&65535)>224)cw(e,6)}b[m>>1]=(b[m>>1]|0)+1<<16>>16;if(!(gw(e,f,1)|0))Ex(e);b[m>>1]=(b[m>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+-1<<16>>16;f=c[B>>2]|0;if((f+-16|0)!=316088?(c[f+-8>>2]&15|0)==0:0)i=f;else{Lv(e,2,y);i=c[B>>2]|0}h=(c[c[A>>2]>>2]|0)+32|0;g=(c[s>>2]|0)+280+(q<<2)|0;f=c[g>>2]|0;if(wN(y,f+16|0)|0){f=jx(e,y,JO(y)|0)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;f=c[B>>2]|0;c[B>>2]=f+16;wx(e,h>>>0>>0?h:316088,f,f);f=c[B>>2]|0;if(c[f+-8>>2]&15|0){l=C;return 1}c[f>>2]=1;c[f+8>>2]=1;D=f+16|0;c[B>>2]=D;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];c[B>>2]=(c[B>>2]|0)+16;Lv(e,2,y);l=C;return 1}return 0}function AA(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+8240|0;n=s+16|0;r=s;q=s+24|0;m=q+12|0;c[m>>2]=b;p=q+16|0;c[q>>2]=p;o=q+8|0;c[o>>2]=0;c[q+4>>2]=8192;if(a[f>>0]|0)d=_x(b,d,f,g)|0;i=b+12|0;j=b+8|0;f=e;a:while(1){switch(a[f>>0]|0){case 0:break a;case 59:{f=f+1|0;continue a}default:{}}g=KO(f,59)|0;if(!g)h=f+(JO(f)|0)|0;else h=g;if((c[(c[i>>2]|0)+12>>2]|0)>0)Ew(b);g=jx(b,f,h-f|0)|0;f=c[j>>2]|0;c[f>>2]=g;c[f+8>>2]=(a[g+4>>0]|64)&255;f=c[j>>2]|0;g=f+16|0;c[j>>2]=g;if(!h)break;switch(c[f+8>>2]&15){case 4:{g=f;k=15;break}case 3:{if((c[(c[i>>2]|0)+12>>2]|0)>0){Ew(b);g=c[j>>2]|0}g=g+-16|0;Jw(b,g);k=15;break}default:g=0}if((k|0)==15){k=0;g=(c[g>>2]|0)+16|0}e=_x(b,g,285673,d)|0;f=c[j>>2]|0;g=f+-16|0;f=f+-32|0;do{c[r>>2]=c[f>>2];c[r+4>>2]=c[f+4>>2];c[r+8>>2]=c[f+8>>2];c[r+12>>2]=c[f+12>>2];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[g>>2]=c[r>>2];c[g+4>>2]=c[r+4>>2];c[g+8>>2]=c[r+8>>2];c[g+12>>2]=c[r+12>>2];f=f+16|0;g=g+-16|0}while(f>>>0>>0);c[j>>2]=(c[j>>2]|0)+-16;g=bP(e,285675)|0;if(g|0){k=19;break}c[n>>2]=e;Hv(b,285677,n)|0;f=c[j>>2]|0;g=f+-16|0;f=f+-32|0;do{c[r>>2]=c[f>>2];c[r+4>>2]=c[f+4>>2];c[r+8>>2]=c[f+8>>2];c[r+12>>2]=c[f+12>>2];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[g>>2]=c[r>>2];c[g+4>>2]=c[r+4>>2];c[g+8>>2]=c[r+8>>2];c[g+12>>2]=c[r+12>>2];f=f+16|0;g=g+-16|0}while(f>>>0>>0);c[j>>2]=(c[j>>2]|0)+-16;Px(q);f=h}if((k|0)==19){hP(g)|0;r=e;l=s;return r|0}d=c[m>>2]|0;f=c[q>>2]|0;g=c[o>>2]|0;if((c[(c[d+12>>2]|0)+12>>2]|0)>0)Ew(d);o=jx(d,f,g)|0;f=d+8|0;g=c[f>>2]|0;c[g>>2]=o;c[g+8>>2]=(a[o+4>>0]|64)&255;g=c[f>>2]|0;c[f>>2]=g+16;if((c[q>>2]|0)==(p|0)){r=0;l=s;return r|0}d=g;g=g+-16|0;do{c[r>>2]=c[g>>2];c[r+4>>2]=c[g+4>>2];c[r+8>>2]=c[g+8>>2];c[r+12>>2]=c[g+12>>2];c[g>>2]=c[d>>2];c[g+4>>2]=c[d+4>>2];c[g+8>>2]=c[d+8>>2];c[g+12>>2]=c[d+12>>2];c[d>>2]=c[r>>2];c[d+4>>2]=c[r+4>>2];c[d+8>>2]=c[r+8>>2];c[d+12>>2]=c[r+12>>2];g=g+16|0;d=d+-16|0}while(g>>>0>>0);c[f>>2]=(c[f>>2]|0)+-16;r=0;l=s;return r|0}function BA(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=l;l=l+16|0;h=i+8|0;g=i;e=_x(b,e,314101,285601)|0;f=KO(e,45)|0;do if(f){if((c[(c[b+12>>2]|0)+12>>2]|0)>0)Ew(b);e=jx(b,e,f-e|0)|0;j=b+8|0;k=c[j>>2]|0;c[k>>2]=e;c[k+8>>2]=(a[e+4>>0]|64)&255;c[j>>2]=(c[j>>2]|0)+16;c[g>>2]=e+16;e=CA(b,d,Hv(b,285603,g)|0)|0;if((e|0)==2){e=f+1|0;break}else{k=e;l=i;return k|0}}while(0);c[h>>2]=e;k=CA(b,d,Hv(b,285603,h)|0)|0;l=i;return k|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,m=0,n=0;n=l;l=l+16|0;i=n;k=b+12|0;g=(c[k>>2]|0)+40|0;c[i>>2]=319812;c[i+8>>2]=2;m=b+8|0;h=c[m>>2]|0;i=ox(c[g>>2]|0,i)|0;c[h>>2]=c[i>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];h=c[m>>2]|0;i=h+16|0;c[m>>2]=i;g=(c[k>>2]|0)+280+(((d>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(d,f+16|0)|0){f=jx(b,d,JO(d)|0)|0;c[g>>2]=f}c[i>>2]=f;c[h+24>>2]=(a[f+4>>0]|64)&255;g=c[m>>2]|0;c[m>>2]=g+16;wx(b,h,g,g);g=c[m>>2]|0;switch(c[g+-8>>2]&15){case 7:{f=g+-32|0;c[m>>2]=f;break}case 2:{i=c[g+-16>>2]|0;f=g+-32|0;c[m>>2]=f;if(!i)j=8;break}default:{c[m>>2]=g+-32;j=8}}if((j|0)==8){f=c[k>>2]|0;if((c[f+12>>2]|0)>0){Ew(b);f=c[k>>2]|0}g=f+280+(((285614>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285614,f+16|0)|0){f=jx(b,285614,58)|0;c[g>>2]=f}b=c[m>>2]|0;c[b>>2]=f;c[b+8>>2]=(a[f+4>>0]|64)&255;b=1;k=(c[m>>2]|0)+16|0;c[m>>2]=k;l=n;return b|0}if((a[e>>0]|0)==42){c[f>>2]=1;c[g+-24>>2]=1;b=0;k=g+-16|0;c[m>>2]=k;l=n;return b|0}f=c[k>>2]|0;if((c[f+12>>2]|0)>0){Ew(b);f=c[k>>2]|0}g=f+280+(((285614>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285614,f+16|0)|0){f=jx(b,285614,58)|0;c[g>>2]=f}b=c[m>>2]|0;c[b>>2]=f;c[b+8>>2]=(a[f+4>>0]|64)&255;b=2;k=(c[m>>2]|0)+16|0;c[m>>2]=k;l=n;return b|0}function DA(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;j=k;g=a+16|0;d=c[c[g>>2]>>2]|0;e=d+16|0;i=a+8|0;b=c[i>>2]|0;e=e>>>0>>0?e:316088;switch(c[e+8>>2]&15){case 4:{b=e;h=5;break}case 3:{if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);d=c[c[g>>2]>>2]|0;b=c[i>>2]|0}h=d+16|0;b=h>>>0>>0?h:316088;Jw(a,b);h=5;break}default:{Kx(a,1,287470);f=0}}if((h|0)==5)f=(c[b>>2]|0)+16|0;d=c[c[g>>2]>>2]|0;e=d+32|0;b=c[i>>2]|0;e=e>>>0>>0?e:316088;switch(c[e+8>>2]&15){case 4:{b=e;h=11;break}case 3:{if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);d=c[c[g>>2]>>2]|0;b=c[i>>2]|0}h=d+32|0;b=h>>>0>>0?h:316088;Jw(a,b);h=11;break}default:{Kx(a,2,287470);b=0}}if((h|0)==11)b=(c[b>>2]|0)+16|0;e=CA(a,f,b)|0;if(!e){j=1;l=k;return j|0}d=c[i>>2]|0;c[d+8>>2]=0;c[i>>2]=d+16;b=d;d=d+-16|0;do{c[j>>2]=c[d>>2];c[j+4>>2]=c[d+4>>2];c[j+8>>2]=c[d+8>>2];c[j+12>>2]=c[d+12>>2];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[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];d=d+16|0;b=b+-16|0}while(d>>>0>>0);Gv(a,(e|0)==1?285744:285751);j=3;l=k;return j|0}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,m=0,n=0,o=0;o=l;l=l+16|0;n=o;j=a+16|0;d=c[c[j>>2]>>2]|0;e=d+16|0;m=a+8|0;b=c[m>>2]|0;e=e>>>0>>0?e:316088;switch(c[e+8>>2]&15){case 4:{b=e;h=5;break}case 3:{if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);d=c[c[j>>2]>>2]|0;b=c[m>>2]|0}h=d+16|0;b=h>>>0>>0?h:316088;Jw(a,b);h=5;break}default:{Kx(a,1,287470);i=0}}if((h|0)==5)i=(c[b>>2]|0)+16|0;d=c[c[j>>2]>>2]|0;e=d+32|0;b=c[m>>2]|0;e=e>>>0>>0?e:316088;switch(c[e+8>>2]&15){case 4:{b=e;h=11;break}case 3:{if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);d=c[c[j>>2]>>2]|0;b=c[m>>2]|0}h=d+32|0;b=h>>>0>>0?h:316088;Jw(a,b);h=11;break}default:{Kx(a,2,287470);g=0}}if((h|0)==11)g=(c[b>>2]|0)+16|0;d=c[c[j>>2]>>2]|0;b=d+48|0;e=c[m>>2]|0;a:do if(!(b>>>0>=e>>>0|(b|0)==316088)?(f=c[d+56>>2]|0,(f&15|0)!=0):0){switch(f&15){case 4:break;case 3:{h=16;break}default:{Kx(a,3,287470);f=0;break a}}if((h|0)==16){if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);d=c[c[j>>2]>>2]|0;b=c[m>>2]|0}else b=e;f=d+48|0;b=f>>>0>>0?f:316088;Jw(a,b)}f=(c[b>>2]|0)+16|0}else f=314101;while(0);d=c[c[j>>2]>>2]|0;e=d+64|0;b=c[m>>2]|0;b:do if(!(e>>>0>=b>>>0|(e|0)==316088)?(k=c[d+72>>2]|0,(k&15|0)!=0):0){switch(k&15){case 4:{b=e;break}case 3:{h=24;break}default:{Kx(a,4,287470);b=0;break b}}if((h|0)==24){if((c[(c[a+12>>2]|0)+12>>2]|0)>0){Ew(a);d=c[c[j>>2]>>2]|0;b=c[m>>2]|0}k=d+64|0;b=k>>>0>>0?k:316088;Jw(a,b)}b=(c[b>>2]|0)+16|0}else b=308375;while(0);if(AA(a,i,g,f,b)|0){n=1;l=o;return n|0}d=c[m>>2]|0;c[d+8>>2]=0;c[m>>2]=d+16;b=d;d=d+-16|0;do{c[n>>2]=c[d>>2];c[n+4>>2]=c[d+4>>2];c[n+8>>2]=c[d+8>>2];c[n+12>>2]=c[d+12>>2];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[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];c[b+12>>2]=c[n+12>>2];d=d+16|0;b=b+-16|0}while(d>>>0>>0);n=2;l=o;return n|0}function FA(a){a=a|0;var b=0,d=0;b=Jx(a,1)|0;d=c[a+12>>2]|0;a=b+4|0;c[b>>2]=jg[c[d>>2]&31](c[d+4>>2]|0,c[b>>2]|0,c[a>>2]<<2,0)|0;c[a>>2]=0;return 0}function GA(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+16|0;j=m+8|0;i=m;e=aB(a,1,0)|0;f=c[c[a+16>>2]>>2]|0;b=f+32|0;g=a+8|0;h=c[g>>2]|0;b=b>>>0>>0?b:316088;switch(c[b+8>>2]|0){case 1:{k=2;break}case 0:{Ix(a,286445,i);Ix(a,286445,j);l=m;return 0}default:{}}if((k|0)==2?(c[b>>2]|0)==0:0){Ix(a,286445,i);Ix(a,286445,j);l=m;return 0}k=f+16|0;k=c[(k>>>0>>0?k:316088)>>2]|0;n=k+16|0;b=c[n+4>>2]|0;f=h;c[f>>2]=c[n>>2];c[f+4>>2]=b;c[h+8>>2]=d[k+6>>0];c[g>>2]=(c[g>>2]|0)+16;cB(a,0,0,e);c[g>>2]=(c[g>>2]|0)+-16;Ix(a,286445,i);Ix(a,286445,j);l=m;return 0}function HA(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;f=l;l=l+16|0;e=f+8|0;b=Jx(a,1)|0;Ix(a,286445,f);if(c[b>>2]|0){Ix(a,286445,e);l=f;return 0}i=(c[c[a+16>>2]>>2]|0)+16|0;g=a+8|0;h=c[g>>2]|0;i=c[(i>>>0>>0?i:316088)>>2]|0;m=i+16|0;k=c[m+4>>2]|0;j=h;c[j>>2]=c[m>>2];c[j+4>>2]=k;c[h+8>>2]=d[i+6>>0];c[g>>2]=(c[g>>2]|0)+16;cB(a,0,0,b+8|0);c[g>>2]=(c[g>>2]|0)+-16;rB(a,b)|0;Ix(a,286445,e);l=f;return 0}function IA(f){f=f|0;var g=0,i=0,j=0,k=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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=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.0;na=l;l=l+5168|0;ja=na+64|0;ia=na+56|0;ha=na+48|0;ga=na+40|0;fa=na+32|0;ea=na+24|0;ma=na;n=na+360|0;da=na+352|0;ca=na+328|0;m=na+72|0;aB(f,1,0)|0;g=Jx(f,1)|0;i=c[g>>2]|0;if(!i){Y=f+16|0;X=(c[c[Y>>2]>>2]|0)+16|0;la=f+8|0;i=c[la>>2]|0;X=c[(X>>>0>>0?X:316088)>>2]|0;T=X+16|0;U=c[T+4>>2]|0;V=i;c[V>>2]=c[T>>2];c[V+4>>2]=U;c[i+8>>2]=d[X+6>>0];c[la>>2]=(c[la>>2]|0)+16;cB(f,0,0,g+8|0);c[la>>2]=(c[la>>2]|0)+-16;i=rB(f,g)|0}else{Y=f+16|0;la=f+8|0}j=c[c[Y>>2]>>2]|0;k=j+32|0;g=c[la>>2]|0;k=k>>>0>>0?k:316088;switch(c[k+8>>2]&15){case 4:{g=k;W=8;break}case 3:{if((c[(c[f+12>>2]|0)+12>>2]|0)>0){Ew(f);j=c[c[Y>>2]>>2]|0;g=c[la>>2]|0}W=j+32|0;g=W>>>0>>0?W:316088;Jw(f,g);W=8;break}default:{Kx(f,2,287470);X=0;j=0}}if((W|0)==8){g=c[g>>2]|0;if((a[g+4>>0]|0)==4)j=d[g+7>>0]|0;else j=c[g+12>>2]|0;X=g+16|0}g=Nx(f,3,1,0)|0;k=z;if((k|0)>0|(k|0)==0&g>>>0>0)g=g>>>0>j>>>0?j:g+-1|0;else{g=mQ(0,0,g|0,k|0)|0;g=j>>>0>>0?0:j-g|0}R=c[la>>2]|0;T=R-((c[c[Y>>2]>>2]|0)+16)|0;V=T>>4;c[R+8>>2]=0;k=R+16|0;c[la>>2]=k;c[k>>2]=m;c[R+24>>2]=2;R=c[la>>2]|0;k=R+16|0;c[la>>2]=k;U=c[c[Y>>2]>>2]|0;U=c[(U>>>0>>0?U+16|0:316088)>>2]|0;F=U+16|0;E=c[F+4>>2]|0;c[k>>2]=c[F>>2];c[k+4>>2]=E;c[R+24>>2]=d[U+6>>0];R=c[la>>2]|0;U=R+16|0;c[la>>2]=U;k=X+g|0;E=X+j|0;c[da>>2]=n+4800;c[n+4>>2]=6676;c[n>>2]=k;c[n+8>>2]=0;c[U>>2]=n;c[R+24>>2]=2;c[la>>2]=(c[la>>2]|0)+16;R=V+2|0;U=X;F=ca+16|0;G=ca+8|0;H=ca+4|0;I=ca+12|0;J=((j|0)<0)<<31>>31;K=ca+20|0;L=f+24|0;M=f+106|0;O=f+104|0;S=f+12|0;Q=f+28|0;D=32;t=0;u=0;g=n+12|0;a:while(1){b:do switch(a[i>>0]|0){case 9:{W=20;break a}case 20:{n=(d[i+1>>0]|0)>>>4;a[m+(t<<3)+7>>0]=n+1;n=k+(0-n)|0;W=201;break}case 8:{v=u;w=t;x=D;y=m;C=k;i=c[g+-8>>2]|0;g=g+-12|0;u=v;t=w;D=x;m=y;k=C;continue a}case 0:{if(k>>>0>>0){v=g;w=u;x=t;y=D;C=m;k=k+1|0;i=i+4|0;g=v;u=w;t=x;D=y;m=C;continue a}else i=t;break}case 3:if(k>>>0>>0){s=g;v=u;w=t;x=D;y=m;C=k;i=i+8|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}else{s=g;v=u;w=t;x=D;y=m;C=k;i=i+(c[i+4>>2]<<2)|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}case 1:{if(k>>>0>>0?(a[k>>0]|0)==(a[i+1>>0]|0):0){v=g;w=u;x=t;y=D;C=m;k=k+1|0;i=i+4|0;g=v;u=w;t=x;D=y;m=C;continue a}else i=t;break}case 4:if(k>>>0>>0?(a[k>>0]|0)==(a[i+1>>0]|0):0){s=g;v=u;w=t;x=D;y=m;C=k;i=i+8|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}else{s=g;v=u;w=t;x=D;y=m;C=k;i=i+(c[i+4>>2]<<2)|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}case 2:{C=d[k>>0]|0;if(k>>>0>>0?(1<<(C&7)&d[i+4+(C>>>3)>>0]|0)!=0:0){v=g;w=u;x=t;y=D;C=m;k=k+1|0;i=i+36|0;g=v;u=w;t=x;D=y;m=C;continue a}else i=t;break}case 5:{C=d[k>>0]|0;if(k>>>0>>0?(1<<(C&7)&d[i+8+(C>>>3)>>0]|0)!=0:0){s=g;v=u;w=t;x=D;y=m;C=k;i=i+40|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}else{s=g;v=u;w=t;x=D;y=m;C=k;i=i+(c[i+4>>2]<<2)|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}}case 7:{n=d[i+1>>0]|0;if((n|0)>(k-U|0))i=t;else{v=g;w=u;x=t;y=D;C=m;k=k+(0-n)|0;i=i+4|0;g=v;u=w;t=x;D=y;m=C;continue a}break}case 6:{c:do if(k>>>0>>0){n=i+4|0;do{C=d[k>>0]|0;if(!(1<<(C&7)&d[n+(C>>>3)>>0]))break c;k=k+1|0}while(k>>>0>>0)}while(0);v=g;w=u;x=t;y=D;C=m;i=i+36|0;g=v;u=w;t=x;D=y;m=C;continue a}case 11:{s=g;v=u;w=t;x=D;y=m;C=k;i=i+(c[i+4>>2]<<2)|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}case 10:{if((g|0)==(c[da>>2]|0))g=UB(f,da,V)|0;c[g+4>>2]=i+(c[i+4>>2]<<2);c[g>>2]=k;c[g+8>>2]=t;v=u;w=t;x=D;y=m;C=k;i=i+8|0;g=g+12|0;u=v;t=w;D=x;m=y;k=C;continue a}case 12:{if((g|0)==(c[da>>2]|0))g=UB(f,da,V)|0;c[g>>2]=0;c[g+4>>2]=i+8;v=u;w=t;x=D;y=m;C=k;i=i+(c[i+4>>2]<<2)|0;g=g+12|0;u=v;t=w;D=x;m=y;k=C;continue a}case 14:{v=u;w=t;x=D;y=m;C=k;i=i+(c[i+4>>2]<<2)|0;g=g+-12|0;u=v;t=w;D=x;m=y;k=C;continue a}case 15:{c[g+-12>>2]=k;c[g+-4>>2]=t;s=g;v=u;w=t;x=D;y=m;C=k;i=i+(c[i+4>>2]<<2)|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}case 16:{w=g+-12|0;x=u;y=D;C=m;k=c[w>>2]|0;t=c[g+-4>>2]|0;i=i+(c[i+4>>2]<<2)|0;g=w;u=x;D=y;m=C;continue a}case 17:{i=t;g=g+-12|0;break}case 18:{i=t;break}case 23:{q=c[la>>2]|0;r=c[Y>>2]|0;w=q-((c[r>>2]|0)+16)>>4;c[F>>2]=X;c[G>>2]=f;c[H>>2]=m;c[I>>2]=V;C=m+(t<<3)|0;n=C;o=0;while(1){x=n;while(1){n=x;x=x+-8|0;if(!(a[n+-2>>0]|0)){W=71;break}if(!(a[n+-1>>0]|0)){W=73;break}}if((W|0)==71){n=x;o=o+1|0;continue}else if((W|0)==73){W=0;if(!o)break;else{n=x;o=o+-1|0;continue}}}y=w+1|0;o=q;d:do if(x>>>0>>0){n=x;while(1){if((a[n+6>>0]|0)==13)break;n=n+8|0;if(n>>>0>=C>>>0){v=0;break d}}v=e[n+4>>1]|0}else v=0;while(0);a[m+(t<<3)+6>>0]=0;c[C>>2]=k;c[ca>>2]=x;c[K>>2]=0;c[ma>>2]=24;do if(((c[L>>2]|0)-q|0)>384){$=o;aa=24;W=82}else{if(((q-(c[Q>>2]|0)>>4)+5|0)<=999976?(dw(f,168,ma)|0)==0:0){$=c[la>>2]|0;aa=c[ma>>2]|0;W=82;break}c[ea>>2]=287674;Ix(f,282039,ea)}while(0);if((W|0)==82?(W=0,Z=r+4|0,_=$+(aa<<4)|0,(c[Z>>2]|0)>>>0<_>>>0):0)c[Z>>2]=_;Jv(c[G>>2]|0,(c[I>>2]|0)+3|0,e[(c[ca>>2]|0)+4>>1]|0,0)|0;r=c[la>>2]|0;q=(c[c[Y>>2]>>2]|0)+32|0;q=q>>>0>>0?q:316088;c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2];c[r+12>>2]=c[q+12>>2];r=c[la>>2]|0;q=k+1-(c[F>>2]|0)|0;n=r+16|0;c[n>>2]=q;c[n+4>>2]=((q|0)<0)<<31>>31;c[r+24>>2]=19;c[la>>2]=r+32;r=c[ca>>2]|0;n=r+8|0;c[ca>>2]=n;q=a[r+7>>0]|0;if(!(q<<24>>24)){if(a[r+14>>0]|0){n=0;do{n=(VB(ca)|0)+n|0;o=c[ca>>2]|0}while((a[o+6>>0]|0)!=0);if(!n){n=o;W=93}}else W=93;if((W|0)==93){W=0;q=c[G>>2]|0;o=c[r>>2]|0;n=(c[n>>2]|0)-o|0;if((c[(c[q+12>>2]|0)+12>>2]|0)>0)Ew(q);s=jx(q,o,n)|0;o=q+8|0;n=c[o>>2]|0;c[n>>2]=s;c[n+8>>2]=(a[s+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+16;o=c[ca>>2]|0;n=1}c[ca>>2]=o+8}else{o=c[G>>2]|0;n=c[r>>2]|0;if((c[(c[o+12>>2]|0)+12>>2]|0)>0)Ew(o);r=jx(o,n,(q&255)+-1|0)|0;n=o+8|0;s=c[n>>2]|0;c[s>>2]=r;c[s+8>>2]=(a[r+4>>0]|64)&255;c[n>>2]=(c[n>>2]|0)+16;n=1}n=(c[la>>2]|0)+(-3-n<<4)|0;o=(b[M>>1]|0)+1<<16>>16;b[M>>1]=o;if((o&65535)>199){if(o<<16>>16==200){W=99;break a}if((o&65535)>224){W=101;break a}}b[O>>1]=(b[O>>1]|0)+1<<16>>16;if(!(gw(f,n,-1)|0))Ex(f);b[O>>1]=(b[O>>1]|0)+-1<<16>>16;b[M>>1]=(b[M>>1]|0)+-1<<16>>16;o=c[Y>>2]|0;q=o+4|0;n=c[la>>2]|0;if((c[q>>2]|0)>>>0>>0)c[q>>2]=n;if(!v){q=o;r=n;n=0}else{if((v|0)<=(w|0)){s=v;while(1){o=n+-16|0;q=(c[c[Y>>2]>>2]|0)+(v<<4)|0;n=q>>>0>>0?q:316088;q=n+16|0;if(q>>>0>>0){r=o;do{c[ma>>2]=c[q>>2];c[ma+4>>2]=c[q+4>>2];c[ma+8>>2]=c[q+8>>2];c[ma+12>>2]=c[q+12>>2];c[q>>2]=c[r>>2];c[q+4>>2]=c[r+4>>2];c[q+8>>2]=c[r+8>>2];c[q+12>>2]=c[r+12>>2];c[r>>2]=c[ma>>2];c[r+4>>2]=c[ma+4>>2];c[r+8>>2]=c[ma+8>>2];c[r+12>>2]=c[ma+12>>2];q=q+16|0;r=r+-16|0}while(q>>>0>>0)}if(n>>>0>>0)do{c[ma>>2]=c[n>>2];c[ma+4>>2]=c[n+4>>2];c[ma+8>>2]=c[n+8>>2];c[ma+12>>2]=c[n+12>>2];c[n>>2]=c[o>>2];c[n+4>>2]=c[o+4>>2];c[n+8>>2]=c[o+8>>2];c[n+12>>2]=c[o+12>>2];c[o>>2]=c[ma>>2];c[o+4>>2]=c[ma+4>>2];c[o+8>>2]=c[ma+8>>2];c[o+12>>2]=c[ma+12>>2];n=n+16|0;o=o+-16|0}while(n>>>0>>0);n=(c[la>>2]|0)+-16|0;c[la>>2]=n;if((s|0)>=(w|0))break;else s=s+1|0}o=c[Y>>2]|0}q=o;r=n;n=y-v|0}w=t-(C-x>>3)|0;u=u-n|0;v=y-n|0;s=k-U|0;t=(v|0)>0;do if(!t){if((v|0)>=-1000999){k=r+(v<<4)|0;break}if((v|0)==-1001e3){k=(c[S>>2]|0)+40|0;break}k=-1001e3-v|0;n=c[q>>2]|0;if((c[n+8>>2]|0)==22)k=316088;else{C=c[n>>2]|0;k=(k|0)>(d[C+6>>0]|0)?316088:C+16+(k+-1<<4)|0}}else{k=(c[q>>2]|0)+(v<<4)|0;k=k>>>0>>0?k:316088}while(0);switch(c[k+8>>2]|0){case 0:{W=125;break}case 1:{if(!(c[k>>2]|0))W=125;break}default:{}}if((W|0)==125){W=0;if(!t){c[la>>2]=r+(v<<4);i=w;break b}i=c[q>>2]|0;n=i+(v<<4)|0;if(r>>>0>>0){i=(i+(v+-1<<4)+8+4+(3-r)|0)>>>4;k=r;do{c[k+8>>2]=0;k=k+16|0}while(k>>>0>>0);c[la>>2]=r+(i+1<<4)}c[la>>2]=n;i=w;break b}do if(t){k=c[q>>2]|0;n=k+(v<<4)|0;if(n>>>0>>0){k=n;W=140}else W=144}else{if((v|0)>=-1000999){k=r+(v<<4)|0;W=140;break}if((v|0)==-1001e3){k=(c[S>>2]|0)+40|0;W=140;break}n=-1001e3-v|0;k=c[q>>2]|0;if((c[k+8>>2]|0)!=22){o=c[k>>2]|0;if((n|0)>(d[o+6>>0]|0))W=150;else{k=o+16+(n+-1<<4)|0;W=140}}else{n=316088;W=151}}while(0);do if((W|0)==140){W=0;if((k|0)!=316088?(c[k+8>>2]&15|0)==1:0){k=s;break}if(t){k=c[q>>2]|0;W=144;break}if((v|0)>=-1000999){n=r+(v<<4)|0;W=151;break}if((v|0)!=-1001e3){k=c[q>>2]|0;if((c[k+8>>2]|0)==22){n=316088;W=151;break}else{n=-1001e3-v|0;W=150;break}}else{n=(c[S>>2]|0)+40|0;W=151;break}}while(0);if((W|0)==144){n=k+(v<<4)|0;n=n>>>0>>0?n:316088;W=151}else if((W|0)==150){C=c[k>>2]|0;n=(n|0)>(d[C+6>>0]|0)?316088:C+16+(n+-1<<4)|0;W=151}do if((W|0)==151){W=0;k=c[n+8>>2]|0;do if((k|0)!=19){e:while(1){switch(k|0){case 3:{W=155;break e}case 19:{W=158;break e}default:{}}if((k&15|0)!=4){W=166;break}o=Iw((c[n>>2]|0)+16|0,ma)|0;k=c[n>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((o|0)!=(k+1|0)){W=166;break}n=ma;k=c[ma+8>>2]|0}if((W|0)==155){oa=+h[n>>3];p=+A(+oa);if(!(oa!=p)?p>=-9223372036854775808.0&p<9223372036854775808.0:0){k=~~p>>>0;n=+B(p)>=1.0?(p>0.0?~~+P(+A(p/4294967296.0),4294967295.0)>>>0:~~+N((p-+(~~p>>>0))/4294967296.0)>>>0):0;W=165}else W=166}else if((W|0)==158){k=c[n>>2]|0;n=c[n+4>>2]|0;W=165}if((W|0)==165){W=0;o=k;break}else if((W|0)==166){W=0;o=0;n=0;break}}else{o=c[n>>2]|0;n=c[n+4>>2]|0}while(0);k=lQ(o|0,n|0,-1,-1)|0;C=z;y=((s|0)<0)<<31>>31;if((n|0)>(y|0)|(n|0)==(y|0)&o>>>0>s>>>0?!((C|0)>(J|0)|(C|0)==(J|0)&k>>>0>j>>>0):0)break;Ix(f,287526,ga)}while(0);n=c[la>>2]|0;o=n+-16|0;r=c[Y>>2]|0;do if(!t){if((v|0)>=-1000999){n=n+(v<<4)|0;break}if((v|0)==-1001e3){n=(c[S>>2]|0)+40|0;break}q=-1001e3-v|0;n=c[r>>2]|0;if((c[n+8>>2]|0)==22)n=316088;else{n=c[n>>2]|0;n=(q|0)>(d[n+6>>0]|0)?316088:n+16+(q+-1<<4)|0}}else{C=(c[r>>2]|0)+(v<<4)|0;n=C>>>0>>0?C:316088}while(0);q=n+16|0;if(q>>>0>>0){r=o;do{c[ma>>2]=c[q>>2];c[ma+4>>2]=c[q+4>>2];c[ma+8>>2]=c[q+8>>2];c[ma+12>>2]=c[q+12>>2];c[q>>2]=c[r>>2];c[q+4>>2]=c[r+4>>2];c[q+8>>2]=c[r+8>>2];c[q+12>>2]=c[r+12>>2];c[r>>2]=c[ma>>2];c[r+4>>2]=c[ma+4>>2];c[r+8>>2]=c[ma+8>>2];c[r+12>>2]=c[ma+12>>2];q=q+16|0;r=r+-16|0}while(q>>>0>>0)}if(n>>>0>>0)do{c[ma>>2]=c[n>>2];c[ma+4>>2]=c[n+4>>2];c[ma+8>>2]=c[n+8>>2];c[ma+12>>2]=c[n+12>>2];c[n>>2]=c[o>>2];c[n+4>>2]=c[o+4>>2];c[n+8>>2]=c[o+8>>2];c[n+12>>2]=c[o+12>>2];c[o>>2]=c[ma>>2];c[o+4>>2]=c[ma+4>>2];c[o+8>>2]=c[ma+8>>2];c[o+12>>2]=c[ma+12>>2];n=n+16|0;o=o+-16|0}while(n>>>0>>0);n=(c[la>>2]|0)+-16|0;c[la>>2]=n;if((k|0)==-1)i=w;else{k=X+k|0;n=n-((c[c[Y>>2]>>2]|0)+16)|0;q=(n>>4)-v|0;u=u+1+q|0;if((q|0)>-1){if((n|0)>524240)Ix(f,287574,ha);n=w+3+q|0;if((n|0)<(D|0))o=D;else{if((n|0)>134217726)Ix(f,287700,ia);o=Uv(f,n<<4)|0;CQ(o|0,m|0,w<<3|0)|0;Dv(f,R);c[la>>2]=(c[la>>2]|0)+-16;m=o;o=n<<1}a[m+(w<<3)+6>>0]=14;a[m+(w<<3)+7>>0]=0;b[m+(w<<3)+4>>1]=0;t=v+65535|0;s=q+2|0;r=w+1|0;q=1;while(1){a[m+(r<<3)+6>>0]=13;D=q+w|0;a[m+(D<<3)+7>>0]=1;b[m+(D<<3)+4>>1]=t+q;c[m+(D<<3)>>2]=k;q=q+1|0;if((q|0)==(s|0))break;else r=q+w|0}D=s+w|0;a[m+(D<<3)+6>>0]=0;a[m+(D<<3)+7>>0]=1;c[m+(D<<3)>>2]=k}else{o=D;n=w}C=g;D=o;t=n;i=i+4|0;g=C;continue a}break}case 22:{n=t+-1|0;o=m+(n<<3)+7|0;if((a[o>>0]|0)==0?(ba=k-(c[m+(n<<3)>>2]|0)|0,(ba|0)<255):0){a[o>>0]=ba+1;s=g;v=u;w=t;x=D;y=m;C=k;i=i+4|0;g=s;u=v;t=w;D=x;m=y;k=C;continue a}a[m+(t<<3)+7>>0]=1;n=k;W=201;break}case 21:{a[m+(t<<3)+7>>0]=0;n=k;W=201;break}default:{ka=0;break a}}while(0);if((W|0)==201){W=0;c[m+(t<<3)>>2]=n;b[m+(t<<3)+4>>1]=b[i+2>>1]|0;a[m+(t<<3)+6>>0]=a[i+1>>0]&15;o=t+1|0;if((o|0)<(D|0))n=D;else{if((t|0)>134217725)Ix(f,287700,ja);n=Uv(f,o<<4)|0;CQ(n|0,m|0,o<<3|0)|0;Dv(f,R);c[la>>2]=(c[la>>2]|0)+-16;m=n;n=o<<1}x=g;y=u;C=k;D=n;t=o;i=i+4|0;g=x;u=y;k=C;continue}v=g;while(1){g=v+-12|0;k=c[g>>2]|0;if(!k)v=g;else break}t=c[v+-4>>2]|0;if((u|0)>0){n=m+(i<<3)|0;f:do if((t|0)<(i|0)){i=m+(t<<3)|0;while(1){if((a[i+6>>0]|0)==13)break;i=i+8|0;if(i>>>0>=n>>>0){i=0;break f}}C=b[i+4>>1]|0;o=C&65535;if(C<<16>>16){i=c[la>>2]|0;n=c[c[Y>>2]>>2]|0;q=i-(n+16)>>4;r=i;s=n+(o<<4)|0;if(r>>>0>>0){i=(n+(o+-1<<4)+8+4+(3-i)|0)>>>4;n=r;do{c[n+8>>2]=0;n=n+16|0}while(n>>>0>>0);c[la>>2]=r+(i+1<<4)}c[la>>2]=s;i=1-o+q|0}else i=0}else i=0;while(0);i=u-i|0}else i=u;y=D;C=m;u=i;i=c[v+-8>>2]|0;D=y;m=C}if((W|0)==20){a[m+(t<<3)+6>>0]=0;c[m+(t<<3)>>2]=0;ka=k}else if((W|0)==99)_v(f,279702,fa);else if((W|0)==101)cw(f,6);if(!ka){ma=c[la>>2]|0;c[ma+8>>2]=0;c[la>>2]=ma+16;ma=1;l=na;return ma|0}g=c[Y>>2]|0;do if((T|0)<=-32){if((R|0)>=-1000999){g=(c[la>>2]|0)+(R<<4)|0;break}if((R|0)==-1001e3){g=(c[S>>2]|0)+40|0;break}i=-1001002-V|0;g=c[g>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(i|0)>(d[g+6>>0]|0)?316088:g+16+(i+-1<<4)|0}}else{g=(c[g>>2]|0)+(R<<4)|0;g=g>>>0<(c[la>>2]|0)>>>0?g:316088}while(0);switch(c[g+8>>2]&15){case 7:{g=(c[g>>2]|0)+24|0;break}case 2:{g=c[g>>2]|0;break}default:g=0}if(a[g+6>>0]|0){c[ma>>2]=g;c[ma+4>>2]=g;c[ma+8>>2]=f;c[ma+16>>2]=X;c[ma+20>>2]=0;c[ma+12>>2]=V;g=0;do g=(VB(ma)|0)+g|0;while((a[(c[ma>>2]|0)+6>>0]|0)!=0);if(!g)W=223}else W=223;if((W|0)==223){ka=1-U+ka|0;g=c[la>>2]|0;ma=g;c[ma>>2]=ka;c[ma+4>>2]=((ka|0)<0)<<31>>31;c[g+8>>2]=19;c[la>>2]=g+16;g=1}ma=g;l=na;return ma|0}function JA(b){b=b|0;var 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;s=l;l=l+16|0;n=s;e=aB(b,1,0)|0;r=qB(e)|0;if((r|0)<=-1)Hx(b,1,286357)|0;if(oB(e)|0)Hx(b,1,286391)|0;if((r|0)>=256)Hx(b,1,286413)|0;k=aB(b,1,n)|0;p=Uv(b,(c[n>>2]<<3)+16|0)|0;o=b+12|0;g=c[o>>2]|0;q=b+8|0;h=c[q>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[q>>2]|0;c[q>>2]=h+16;wx(b,g+40|0,h,h);h=c[q>>2]|0;f=h+-16|0;c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];h=c[q>>2]|0;c[q>>2]=h+16;f=h+-32|0;e=c[f>>2]|0;u=h;t=c[u+4>>2]|0;g=e+16|0;c[g>>2]=c[u>>2];c[g+4>>2]=t;a[e+6>>0]=c[h+8>>2];e=c[q>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(i=(c[f>>2]|0)+5|0,j=a[i>>0]|0,(j&4)!=0):0)?(m=c[e+-16>>2]|0,(a[m+5>>0]&3)!=0):0){f=c[o>>2]|0;if((d[f+61>>0]|0)<2){uw(f,m);e=c[q>>2]|0;break}else{a[i>>0]=a[f+60>>0]&3|j&-8;break}}while(0);c[q>>2]=e+-16;Ov(b,-2);c[p>>2]=0;c[p+4>>2]=0;a[p+8>>0]=14;CQ(p+16|0,k|0,c[n>>2]<<3|0)|0;e=(c[c[b+16>>2]>>2]|0)+16|0;u=c[q>>2]|0;e=c[(e>>>0>>0?e:316088)>>2]|0;n=e+16|0;b=c[n+4>>2]|0;i=u;c[i>>2]=c[n>>2];c[i+4>>2]=b;c[u+8>>2]=d[e+6>>0];u=c[q>>2]|0;c[q>>2]=u+16;e=u+-16|0;i=c[e>>2]|0;b=u;n=c[b+4>>2]|0;t=i+16|0;c[t>>2]=c[b>>2];c[t+4>>2]=n;a[i+6>>0]=c[u+8>>2];i=c[q>>2]|0;if(!(c[i+-8>>2]&64)){u=i;u=u+-16|0;c[q>>2]=u;u=p+12|0;c[u>>2]=r;l=s;return 1}f=(c[e>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4)){u=i;u=u+-16|0;c[q>>2]=u;u=p+12|0;c[u>>2]=r;l=s;return 1}h=c[i+-16>>2]|0;if(!(a[h+5>>0]&3)){u=i;u=u+-16|0;c[q>>2]=u;u=p+12|0;c[u>>2]=r;l=s;return 1}e=c[o>>2]|0;if((d[e+61>>0]|0)<2){uw(e,h);u=c[q>>2]|0;u=u+-16|0;c[q>>2]=u;u=p+12|0;c[u>>2]=r;l=s;return 1}else{a[f>>0]=a[e+60>>0]&3|g&-8;u=i;u=u+-16|0;c[q>>2]=u;u=p+12|0;c[u>>2]=r;l=s;return 1}return 0}function KA(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;n=Uv(e,16)|0;m=e+12|0;h=c[m>>2]|0;o=e+8|0;i=c[o>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;i=c[o>>2]|0;c[o>>2]=i+16;wx(e,h+40|0,i,i);i=c[o>>2]|0;g=i+-16|0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];i=c[o>>2]|0;c[o>>2]=i+16;g=i+-32|0;f=c[g>>2]|0;q=i;p=c[q+4>>2]|0;h=f+16|0;c[h>>2]=c[q>>2];c[h+4>>2]=p;a[f+6>>0]=c[i+8>>2];f=c[o>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(j=(c[g>>2]|0)+5|0,k=a[j>>0]|0,(k&4)!=0):0)?(l=c[f+-16>>2]|0,(a[l+5>>0]&3)!=0):0){g=c[m>>2]|0;if((d[g+61>>0]|0)<2){uw(g,l);f=c[o>>2]|0;break}else{a[j>>0]=a[g+60>>0]&3|k&-8;break}}while(0);c[o>>2]=f+-16;Ov(e,-2);c[n>>2]=0;c[n+4>>2]=0;a[n+8>>0]=11;q=c[c[e+16>>2]>>2]|0;p=q+16|0;if(!(!((p|0)==316088?1:p>>>0>=(c[o>>2]|0)>>>0)?(c[q+24>>2]&15|0)!=0:0))Hx(e,1,286334)|0;if((c[(c[m>>2]|0)+12>>2]|0)>0)Ew(e);q=px(e)|0;f=c[o>>2]|0;c[f>>2]=q;c[f+8>>2]=69;c[o>>2]=(c[o>>2]|0)+16;mx(e,q,1,0);q=c[o>>2]|0;f=q+-32|0;j=c[f>>2]|0;k=q+-16|0;l=c[k+4>>2]|0;p=j+16|0;c[p>>2]=c[k>>2];c[p+4>>2]=l;a[j+6>>0]=c[q+-8>>2];j=c[o>>2]|0;if(!(c[j+-8>>2]&64)){p=j;p=p+-16|0;c[o>>2]=p;p=fB(e,1)|0;p=p&65535;q=n+10|0;b[q>>1]=p;return 1}g=(c[f>>2]|0)+5|0;h=a[g>>0]|0;if(!(h&4)){p=j;p=p+-16|0;c[o>>2]=p;p=fB(e,1)|0;p=p&65535;q=n+10|0;b[q>>1]=p;return 1}i=c[j+-16>>2]|0;if(!(a[i+5>>0]&3)){p=j;p=p+-16|0;c[o>>2]=p;p=fB(e,1)|0;p=p&65535;q=n+10|0;b[q>>1]=p;return 1}f=c[m>>2]|0;if((d[f+61>>0]|0)<2){uw(f,i);p=c[o>>2]|0;p=p+-16|0;c[o>>2]=p;p=fB(e,1)|0;p=p&65535;q=n+10|0;b[q>>1]=p;return 1}else{a[g>>0]=a[f+60>>0]&3|h&-8;p=j;p=p+-16|0;c[o>>2]=p;p=fB(e,1)|0;p=p&65535;q=n+10|0;b[q>>1]=p;return 1}return 0}function LA(e){e=e|0;var 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;s=l;l=l+16|0;o=s;n=aB(e,1,o)|0;q=Uv(e,(c[o>>2]<<3)+16|0)|0;p=e+12|0;h=c[p>>2]|0;r=e+8|0;i=c[r>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;i=c[r>>2]|0;c[r>>2]=i+16;wx(e,h+40|0,i,i);i=c[r>>2]|0;g=i+-16|0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];i=c[r>>2]|0;c[r>>2]=i+16;g=i+-32|0;f=c[g>>2]|0;u=i;t=c[u+4>>2]|0;h=f+16|0;c[h>>2]=c[u>>2];c[h+4>>2]=t;a[f+6>>0]=c[i+8>>2];f=c[r>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(j=(c[g>>2]|0)+5|0,k=a[j>>0]|0,(k&4)!=0):0)?(m=c[f+-16>>2]|0,(a[m+5>>0]&3)!=0):0){g=c[p>>2]|0;if((d[g+61>>0]|0)<2){uw(g,m);f=c[r>>2]|0;break}else{a[j>>0]=a[g+60>>0]&3|k&-8;break}}while(0);c[r>>2]=f+-16;Ov(e,-2);c[q>>2]=0;c[q+4>>2]=0;a[q+8>>0]=15;CQ(q+16|0,n|0,c[o>>2]<<3|0)|0;f=(c[c[e+16>>2]>>2]|0)+16|0;u=c[r>>2]|0;f=c[(f>>>0>>0?f:316088)>>2]|0;o=f+16|0;e=c[o+4>>2]|0;j=u;c[j>>2]=c[o>>2];c[j+4>>2]=e;c[u+8>>2]=d[f+6>>0];u=c[r>>2]|0;c[r>>2]=u+16;f=u+-16|0;j=c[f>>2]|0;e=u;o=c[e+4>>2]|0;t=j+16|0;c[t>>2]=c[e>>2];c[t+4>>2]=o;a[j+6>>0]=c[u+8>>2];j=c[r>>2]|0;if(!(c[j+-8>>2]&64)){u=j;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=5;u=q+10|0;b[u>>1]=0;l=s;return 1}g=(c[f>>2]|0)+5|0;h=a[g>>0]|0;if(!(h&4)){u=j;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=5;u=q+10|0;b[u>>1]=0;l=s;return 1}i=c[j+-16>>2]|0;if(!(a[i+5>>0]&3)){u=j;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=5;u=q+10|0;b[u>>1]=0;l=s;return 1}f=c[p>>2]|0;if((d[f+61>>0]|0)<2){uw(f,i);u=c[r>>2]|0;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=5;u=q+10|0;b[u>>1]=0;l=s;return 1}else{a[g>>0]=a[f+60>>0]&3|h&-8;u=j;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=5;u=q+10|0;b[u>>1]=0;l=s;return 1}return 0}function MA(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,A=0,B=0;B=e+8|0;A=(c[B>>2]|0)-((c[c[e+16>>2]>>2]|0)+16)|0;g=A>>4;switch(g|0){case 0:{k=Uv(e,16)|0;j=e+12|0;h=c[j>>2]|0;i=c[B>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;A=c[B>>2]|0;c[B>>2]=A+16;wx(e,h+40|0,A,A);A=c[B>>2]|0;g=A+-16|0;c[A>>2]=c[g>>2];c[A+4>>2]=c[g+4>>2];c[A+8>>2]=c[g+8>>2];c[A+12>>2]=c[g+12>>2];A=c[B>>2]|0;c[B>>2]=A+16;g=A+-32|0;f=c[g>>2]|0;x=A;y=c[x+4>>2]|0;z=f+16|0;c[z>>2]=c[x>>2];c[z+4>>2]=y;a[f+6>>0]=c[A+8>>2];f=c[B>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(r=(c[g>>2]|0)+5|0,s=a[r>>0]|0,(s&4)!=0):0)?(t=c[f+-16>>2]|0,(a[t+5>>0]&3)!=0):0){g=c[j>>2]|0;if((d[g+61>>0]|0)<2){uw(g,t);f=c[B>>2]|0;break}else{a[r>>0]=a[g+60>>0]&3|s&-8;break}}while(0);c[B>>2]=f+-16;Ov(e,-2);c[k>>2]=0;c[k+4>>2]=0;a[k+8>>0]=3;return 1}case 1:{k=Uv(e,24)|0;j=e+12|0;h=c[j>>2]|0;i=c[B>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;A=c[B>>2]|0;c[B>>2]=A+16;wx(e,h+40|0,A,A);A=c[B>>2]|0;g=A+-16|0;c[A>>2]=c[g>>2];c[A+4>>2]=c[g+4>>2];c[A+8>>2]=c[g+8>>2];c[A+12>>2]=c[g+12>>2];A=c[B>>2]|0;c[B>>2]=A+16;g=A+-32|0;f=c[g>>2]|0;x=A;y=c[x+4>>2]|0;z=f+16|0;c[z>>2]=c[x>>2];c[z+4>>2]=y;a[f+6>>0]=c[A+8>>2];f=c[B>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(l=(c[g>>2]|0)+5|0,m=a[l>>0]|0,(m&4)!=0):0)?(n=c[f+-16>>2]|0,(a[n+5>>0]&3)!=0):0){g=c[j>>2]|0;if((d[g+61>>0]|0)<2){uw(g,n);f=c[B>>2]|0;break}else{a[l>>0]=a[g+60>>0]&3|m&-8;break}}while(0);c[B>>2]=f+-16;Ov(e,-2);c[k>>2]=0;c[k+4>>2]=0;a[k+8>>0]=15;a[k+9>>0]=2;a[k+16>>0]=3;if((c[(c[j>>2]|0)+12>>2]|0)>0)Ew(e);A=px(e)|0;g=c[B>>2]|0;c[g>>2]=A;c[g+8>>2]=69;c[B>>2]=(c[B>>2]|0)+16;mx(e,A,1,0);A=c[B>>2]|0;g=A+-32|0;f=c[g>>2]|0;x=A+-16|0;y=c[x+4>>2]|0;z=f+16|0;c[z>>2]=c[x>>2];c[z+4>>2]=y;a[f+6>>0]=c[A+-8>>2];f=c[B>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(u=(c[g>>2]|0)+5|0,v=a[u>>0]|0,(v&4)!=0):0)?(w=c[f+-16>>2]|0,(a[w+5>>0]&3)!=0):0){g=c[j>>2]|0;if((d[g+61>>0]|0)<2){uw(g,w);f=c[B>>2]|0;break}else{a[u>>0]=a[g+60>>0]&3|v&-8;break}}while(0);c[B>>2]=f+-16;b[k+10>>1]=fB(e,1)|0;return 1}default:{l=Uv(e,(g*24|0)+8|0)|0;k=e+12|0;i=c[k>>2]|0;j=c[B>>2]|0;h=i+280+(((285773>>>0)%127|0)<<2)|0;f=c[h>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[h>>2]=f}c[j>>2]=f;c[j+8>>2]=(a[f+4>>0]|64)&255;w=c[B>>2]|0;c[B>>2]=w+16;wx(e,i+40|0,w,w);w=c[B>>2]|0;h=w+-16|0;c[w>>2]=c[h>>2];c[w+4>>2]=c[h+4>>2];c[w+8>>2]=c[h+8>>2];c[w+12>>2]=c[h+12>>2];w=c[B>>2]|0;c[B>>2]=w+16;h=w+-32|0;f=c[h>>2]|0;t=w;u=c[t+4>>2]|0;v=f+16|0;c[v>>2]=c[t>>2];c[v+4>>2]=u;a[f+6>>0]=c[w+8>>2];f=c[B>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(o=(c[h>>2]|0)+5|0,p=a[o>>0]|0,(p&4)!=0):0)?(q=c[f+-16>>2]|0,(a[q+5>>0]&3)!=0):0){h=c[k>>2]|0;if((d[h+61>>0]|0)<2){uw(h,q);f=c[B>>2]|0;break}else{a[o>>0]=a[h+60>>0]&3|p&-8;break}}while(0);c[B>>2]=f+-16;Ov(e,-2);c[l>>2]=0;c[l+4>>2]=0;j=l+8|0;if((c[(c[k>>2]|0)+12>>2]|0)>0)Ew(e);f=px(e)|0;h=c[B>>2]|0;c[h>>2]=f;c[h+8>>2]=69;h=(c[B>>2]|0)+16|0;c[B>>2]=h;if((A|0)>0){mx(e,f,g,0);h=c[B>>2]|0}i=h+-32|0;f=c[i>>2]|0;u=h+-16|0;v=c[u+4>>2]|0;w=f+16|0;c[w>>2]=c[u>>2];c[w+4>>2]=v;a[f+6>>0]=c[h+-8>>2];f=c[B>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(x=(c[i>>2]|0)+5|0,y=a[x>>0]|0,(y&4)!=0):0)?(z=c[f+-16>>2]|0,(a[z+5>>0]&3)!=0):0){h=c[k>>2]|0;if((d[h+61>>0]|0)<2){uw(h,z);f=c[B>>2]|0;break}else{a[x>>0]=a[h+60>>0]&3|y&-8;break}}while(0);c[B>>2]=f+-16;a[j>>0]=15;a[l+9>>0]=14;b[l+10>>1]=0;f=l+16|0;if((A|0)<32){h=f;g=1}else{h=f;i=1;while(1){a[h>>0]=6;B=f+4|0;c[B>>2]=3;a[f+8>>0]=15;a[f+9>>0]=2;a[f+16>>0]=3;b[f+10>>1]=fB(e,i)|0;f=f+(c[B>>2]<<3)|0;i=i+1|0;if((i|0)==(g|0)){h=f;break}else h=f}}a[h>>0]=15;a[f+1>>0]=2;a[f+8>>0]=3;b[f+2>>1]=fB(e,g)|0;return 1}}return 0}function NA(e){e=e|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0;D=l;l=l+16|0;A=D;o=D+4|0;w=e+16|0;B=c[c[w>>2]>>2]|0;s=B+32|0;C=e+8|0;if(!(!((s|0)==316088?1:s>>>0>=(c[C>>2]|0)>>>0)?(c[B+40>>2]&15|0)==6:0))Kx(e,2,287066);n=aB(e,1,o)|0;B=Uv(e,(c[o>>2]<<3)+16|0)|0;s=e+12|0;h=c[s>>2]|0;i=c[C>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;i=c[C>>2]|0;c[C>>2]=i+16;wx(e,h+40|0,i,i);i=c[C>>2]|0;g=i+-16|0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];i=c[C>>2]|0;c[C>>2]=i+16;g=i+-32|0;f=c[g>>2]|0;F=i;E=c[F+4>>2]|0;h=f+16|0;c[h>>2]=c[F>>2];c[h+4>>2]=E;a[f+6>>0]=c[i+8>>2];f=c[C>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(j=(c[g>>2]|0)+5|0,k=a[j>>0]|0,(k&4)!=0):0)?(m=c[f+-16>>2]|0,(a[m+5>>0]&3)!=0):0){g=c[s>>2]|0;if((d[g+61>>0]|0)<2){uw(g,m);f=c[C>>2]|0;break}else{a[j>>0]=a[g+60>>0]&3|k&-8;break}}while(0);c[C>>2]=f+-16;Ov(e,-2);c[B>>2]=0;c[B+4>>2]=0;a[B+8>>0]=16;CQ(B+16|0,n|0,c[o>>2]<<3|0)|0;g=(c[c[w>>2]>>2]|0)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F+16|0:316088)>>2]|0;v=F+16|0;w=c[v+4>>2]|0;c[E>>2]=c[v>>2];c[E+4>>2]=w;c[g+24>>2]=d[F+6>>0];g=c[C>>2]|0;c[C>>2]=g+16;a:do if((g|0)!=316088?(x=c[g+8>>2]|0,(x&15|0)==5):0)switch(x&63){case 4:{m=d[(c[g>>2]|0)+7>>0]|0;break a}case 20:{m=c[(c[g>>2]|0)+12>>2]|0;break a}case 7:{m=c[(c[g>>2]|0)+12>>2]|0;break a}case 5:{m=qx(c[g>>2]|0)|0;break a}default:{m=0;break a}}else m=0;while(0);f=g+-16|0;b:do if((f|0)!=316088?(y=c[g+-8>>2]|0,(y&15|0)==5):0)switch(y&63){case 4:{f=d[(c[f>>2]|0)+7>>0]|0;break b}case 20:{f=c[(c[f>>2]|0)+12>>2]|0;break b}case 7:{f=c[(c[f>>2]|0)+12>>2]|0;break b}case 5:{f=qx(c[f>>2]|0)|0;break b}default:{f=0;break b}}else f=0;while(0);if((f+m|0)>65535)Ix(e,286123,A);if(!m){E=0;F=c[C>>2]|0;F=F+-32|0;c[C>>2]=F;bB(0,E);E=fB(e,2)|0;E=E&65535;F=B+10|0;b[F>>1]=E;l=D;return 1}if((m|0)<1){E=f;F=c[C>>2]|0;F=F+-32|0;c[C>>2]=F;bB(0,E);E=fB(e,2)|0;E=E&65535;F=B+10|0;b[F>>1]=E;l=D;return 1}else k=1;while(1){i=((k|0)<0)<<31>>31;j=c[C>>2]|0;g=c[j+-16>>2]|0;h=lQ(k|0,i|0,-1,-1)|0;F=z;c:do if(F>>>0<0|((F|0)==0?h>>>0<(c[g+8>>2]|0)>>>0:0))g=(c[g+12>>2]|0)+(h<<4)|0;else{g=(c[g+16>>2]|0)+(((1<<(d[g+7>>0]|0))+-1&k)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(F=g+16|0,(c[F>>2]|0)==(k|0)?(c[F+4>>2]|0)==(i|0):0):0)break;h=c[g+28>>2]|0;if(!h){g=316088;break c}g=g+(h<<5)|0}}while(0);c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];c[C>>2]=(c[C>>2]|0)+16;F=k+f|0;Nv(e,-3,F,((F|0)<0)<<31>>31);if((k|0)==(m|0))break;else k=k+1|0}E=c[C>>2]|0;E=E+-32|0;c[C>>2]=E;bB(0,f);E=fB(e,2)|0;E=E&65535;F=B+10|0;b[F>>1]=E;l=D;return 1}function OA(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[c[e+16>>2]>>2]|0)+16|0;n=e+8|0;if((o|0)==316088?1:o>>>0>=(c[n>>2]|0)>>>0)Hx(e,1,283727)|0;o=Uv(e,24)|0;m=e+12|0;h=c[m>>2]|0;i=c[n>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;i=c[n>>2]|0;c[n>>2]=i+16;wx(e,h+40|0,i,i);i=c[n>>2]|0;g=i+-16|0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];i=c[n>>2]|0;c[n>>2]=i+16;g=i+-32|0;f=c[g>>2]|0;q=i;p=c[q+4>>2]|0;h=f+16|0;c[h>>2]=c[q>>2];c[h+4>>2]=p;a[f+6>>0]=c[i+8>>2];f=c[n>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(j=(c[g>>2]|0)+5|0,k=a[j>>0]|0,(k&4)!=0):0)?(l=c[f+-16>>2]|0,(a[l+5>>0]&3)!=0):0){g=c[m>>2]|0;if((d[g+61>>0]|0)<2){uw(g,l);f=c[n>>2]|0;break}else{a[j>>0]=a[g+60>>0]&3|k&-8;break}}while(0);c[n>>2]=f+-16;Ov(e,-2);c[o>>2]=0;c[o+4>>2]=0;a[o+8>>0]=15;a[o+9>>0]=3;a[o+16>>0]=3;if((c[(c[m>>2]|0)+12>>2]|0)>0)Ew(e);q=px(e)|0;f=c[n>>2]|0;c[f>>2]=q;c[f+8>>2]=69;c[n>>2]=(c[n>>2]|0)+16;mx(e,q,1,0);q=c[n>>2]|0;f=q+-32|0;j=c[f>>2]|0;k=q+-16|0;l=c[k+4>>2]|0;p=j+16|0;c[p>>2]=c[k>>2];c[p+4>>2]=l;a[j+6>>0]=c[q+-8>>2];j=c[n>>2]|0;if(!(c[j+-8>>2]&64)){p=j;p=p+-16|0;c[n>>2]=p;p=fB(e,1)|0;p=p&65535;q=o+10|0;b[q>>1]=p;return 1}g=(c[f>>2]|0)+5|0;h=a[g>>0]|0;if(!(h&4)){p=j;p=p+-16|0;c[n>>2]=p;p=fB(e,1)|0;p=p&65535;q=o+10|0;b[q>>1]=p;return 1}i=c[j+-16>>2]|0;if(!(a[i+5>>0]&3)){p=j;p=p+-16|0;c[n>>2]=p;p=fB(e,1)|0;p=p&65535;q=o+10|0;b[q>>1]=p;return 1}f=c[m>>2]|0;if((d[f+61>>0]|0)<2){uw(f,i);p=c[n>>2]|0;p=p+-16|0;c[n>>2]=p;p=fB(e,1)|0;p=p&65535;q=o+10|0;b[q>>1]=p;return 1}else{a[g>>0]=a[f+60>>0]&3|h&-8;p=j;p=p+-16|0;c[n>>2]=p;p=fB(e,1)|0;p=p&65535;q=o+10|0;b[q>>1]=p;return 1}return 0}function PA(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;n=Mx(e,1)|0;o=Uv(e,24)|0;j=e+12|0;h=c[j>>2]|0;p=e+8|0;i=c[p>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;i=c[p>>2]|0;c[p>>2]=i+16;wx(e,h+40|0,i,i);i=c[p>>2]|0;g=i+-16|0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];i=c[p>>2]|0;c[p>>2]=i+16;g=i+-32|0;f=c[g>>2]|0;r=i;q=c[r+4>>2]|0;h=f+16|0;c[h>>2]=c[r>>2];c[h+4>>2]=q;a[f+6>>0]=c[i+8>>2];f=c[p>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(k=(c[g>>2]|0)+5|0,l=a[k>>0]|0,(l&4)!=0):0)?(m=c[f+-16>>2]|0,(a[m+5>>0]&3)!=0):0){g=c[j>>2]|0;if((d[g+61>>0]|0)<2){uw(g,m);f=c[p>>2]|0;break}else{a[k>>0]=a[g+60>>0]&3|l&-8;break}}while(0);c[p>>2]=f+-16;Ov(e,-2);c[o>>2]=0;c[o+4>>2]=0;a[o+8>>0]=15;a[o+9>>0]=4;a[o+16>>0]=3;b[o+10>>1]=n;if((n+-1|0)>>>0<32767)return 1;Hx(e,1,286311)|0;return 1}function QA(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;m=Uv(b,24)|0;i=b+12|0;g=c[i>>2]|0;n=b+8|0;h=c[n>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[n>>2]|0;c[n>>2]=h+16;wx(b,g+40|0,h,h);h=c[n>>2]|0;f=h+-16|0;c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];h=c[n>>2]|0;c[n>>2]=h+16;f=h+-32|0;e=c[f>>2]|0;p=h;o=c[p+4>>2]|0;g=e+16|0;c[g>>2]=c[p>>2];c[g+4>>2]=o;a[e+6>>0]=c[h+8>>2];e=c[n>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(j=(c[f>>2]|0)+5|0,k=a[j>>0]|0,(k&4)!=0):0)?(l=c[e+-16>>2]|0,(a[l+5>>0]&3)!=0):0){f=c[i>>2]|0;if((d[f+61>>0]|0)<2){uw(f,l);e=c[n>>2]|0;break}else{a[j>>0]=a[f+60>>0]&3|k&-8;break}}while(0);c[n>>2]=e+-16;Ov(b,-2);c[m>>2]=0;c[m+4>>2]=0;a[m+8>>0]=15;a[m+9>>0]=1;a[m+16>>0]=3;return 1}function RA(e){e=e|0;var 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;s=l;l=l+16|0;o=s;n=aB(e,1,o)|0;q=Uv(e,(c[o>>2]<<3)+16|0)|0;p=e+12|0;h=c[p>>2]|0;r=e+8|0;i=c[r>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;i=c[r>>2]|0;c[r>>2]=i+16;wx(e,h+40|0,i,i);i=c[r>>2]|0;g=i+-16|0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];i=c[r>>2]|0;c[r>>2]=i+16;g=i+-32|0;f=c[g>>2]|0;u=i;t=c[u+4>>2]|0;h=f+16|0;c[h>>2]=c[u>>2];c[h+4>>2]=t;a[f+6>>0]=c[i+8>>2];f=c[r>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(j=(c[g>>2]|0)+5|0,k=a[j>>0]|0,(k&4)!=0):0)?(m=c[f+-16>>2]|0,(a[m+5>>0]&3)!=0):0){g=c[p>>2]|0;if((d[g+61>>0]|0)<2){uw(g,m);f=c[r>>2]|0;break}else{a[j>>0]=a[g+60>>0]&3|k&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h=a[g>>0]|0;if(!(h&4)){u=j;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=6;u=q+10|0;b[u>>1]=0;l=s;return 1}i=c[j+-16>>2]|0;if(!(a[i+5>>0]&3)){u=j;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=6;u=q+10|0;b[u>>1]=0;l=s;return 1}f=c[p>>2]|0;if((d[f+61>>0]|0)<2){uw(f,i);u=c[r>>2]|0;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=6;u=q+10|0;b[u>>1]=0;l=s;return 1}else{a[g>>0]=a[f+60>>0]&3|h&-8;u=j;u=u+-16|0;c[r>>2]=u;u=q+9|0;a[u>>0]=6;u=q+10|0;b[u>>1]=0;l=s;return 1}return 0}function TA(e){e=e|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0;D=l;l=l+16|0;A=D;o=D+4|0;w=e+16|0;B=c[c[w>>2]>>2]|0;s=B+32|0;C=e+8|0;if(!(!((s|0)==316088?1:s>>>0>=(c[C>>2]|0)>>>0)?(c[B+40>>2]&15|0)==6:0))Kx(e,2,287066);n=aB(e,1,o)|0;B=Uv(e,(c[o>>2]<<3)+16|0)|0;s=e+12|0;h=c[s>>2]|0;i=c[C>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;i=c[C>>2]|0;c[C>>2]=i+16;wx(e,h+40|0,i,i);i=c[C>>2]|0;g=i+-16|0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];i=c[C>>2]|0;c[C>>2]=i+16;g=i+-32|0;f=c[g>>2]|0;F=i;E=c[F+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>0]=c[F+-8>>2];f=c[C>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(t=(c[g>>2]|0)+5|0,u=a[t>>0]|0,(u&4)!=0):0)?(v=c[f+-16>>2]|0,(a[v+5>>0]&3)!=0):0){g=c[s>>2]|0;if((d[g+61>>0]|0)<2){uw(g,v);f=c[C>>2]|0;break}else{a[t>>0]=a[g+60>>0]&3|u&-8;break}}while(0);E=f+-16|0;c[C>>2]=E;g=c[f+-32>>2]|0;v=g+16|0;F=c[v+4>>2]|0;c[E>>2]=c[v>>2];c[E+4>>2]=F;c[f+-8>>2]=d[g+6>>0];g=c[C>>2]|0;E=g+16|0;c[C>>2]=E;F=c[c[w>>2]>>2]|0;F=c[(F>>>0>>0?F+16|0:316088)>>2]|0;v=F+16|0;w=c[v+4>>2]|0;c[E>>2]=c[v>>2];c[E+4>>2]=w;c[g+24>>2]=d[F+6>>0];g=c[C>>2]|0;c[C>>2]=g+16;a:do if((g|0)!=316088?(x=c[g+8>>2]|0,(x&15|0)==5):0)switch(x&63){case 4:{m=d[(c[g>>2]|0)+7>>0]|0;break a}case 20:{m=c[(c[g>>2]|0)+12>>2]|0;break a}case 7:{m=c[(c[g>>2]|0)+12>>2]|0;break a}case 5:{m=qx(c[g>>2]|0)|0;break a}default:{m=0;break a}}else m=0;while(0);f=g+-16|0;b:do if((f|0)!=316088?(y=c[g+-8>>2]|0,(y&15|0)==5):0)switch(y&63){case 4:{f=d[(c[f>>2]|0)+7>>0]|0;break b}case 20:{f=c[(c[f>>2]|0)+12>>2]|0;break b}case 7:{f=c[(c[f>>2]|0)+12>>2]|0;break b}case 5:{f=qx(c[f>>2]|0)|0;break b}default:{f=0;break b}}else f=0;while(0);if((f+m|0)>65535)Ix(e,286123,A);if(!m){E=0;F=c[C>>2]|0;F=F+-32|0;c[C>>2]=F;bB(0,E);E=fB(e,2)|0;E=E&65535;F=B+10|0;b[F>>1]=E;l=D;return 1}if((m|0)<1){E=f;F=c[C>>2]|0;F=F+-32|0;c[C>>2]=F;bB(0,E);E=fB(e,2)|0;E=E&65535;F=B+10|0;b[F>>1]=E;l=D;return 1}else k=1;while(1){i=((k|0)<0)<<31>>31;j=c[C>>2]|0;g=c[j+-16>>2]|0;h=lQ(k|0,i|0,-1,-1)|0;F=z;c:do if(F>>>0<0|((F|0)==0?h>>>0<(c[g+8>>2]|0)>>>0:0))g=(c[g+12>>2]|0)+(h<<4)|0;else{g=(c[g+16>>2]|0)+(((1<<(d[g+7>>0]|0))+-1&k)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(F=g+16|0,(c[F>>2]|0)==(k|0)?(c[F+4>>2]|0)==(i|0):0):0)break;h=c[g+28>>2]|0;if(!h){g=316088;break c}g=g+(h<<5)|0}}while(0);c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];c[C>>2]=(c[C>>2]|0)+16;F=k+f|0;Nv(e,-3,F,((F|0)<0)<<31>>31);if((k|0)==(m|0))break;else k=k+1|0}E=c[C>>2]|0;E=E+-32|0;c[C>>2]=E;bB(0,f);E=fB(e,2)|0;E=E&65535;F=B+10|0;b[F>>1]=E;l=D;return 1}function UA(e){e=e|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+16|0;E=H;D=H+4|0;F=e+16|0;j=c[c[F>>2]>>2]|0;i=j+32|0;G=e+8|0;if(!((i|0)==316088?1:i>>>0>=(c[G>>2]|0)>>>0)?c[j+40>>2]&15|0:0){j=aB(e,1,D)|0;p=Uv(e,(c[D>>2]<<3)+16|0)|0;o=e+12|0;h=c[o>>2]|0;i=c[G>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+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=14;if((c[(c[o>>2]|0)+12>>2]|0)>0)Ew(e);D=px(e)|0;g=c[G>>2]|0;c[g>>2]=D;c[g+8>>2]=69;c[G>>2]=(c[G>>2]|0)+16;mx(e,D,1,0);D=c[G>>2]|0;g=D+-32|0;f=c[g>>2]|0;u=D+-16|0;v=c[u+4>>2]|0;w=f+16|0;c[w>>2]=c[u>>2];c[w+4>>2]=v;a[f+6>>0]=c[D+-8>>2];f=c[G>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(x=(c[g>>2]|0)+5|0,y=a[x>>0]|0,(y&4)!=0):0)?(A=c[f+-16>>2]|0,(a[A+5>>0]&3)!=0):0){g=c[o>>2]|0;if((d[g+61>>0]|0)<2){uw(g,A);f=c[G>>2]|0;break}else{a[x>>0]=a[g+60>>0]&3|y&-8;break}}while(0);D=f+-16|0;c[G>>2]=D;g=c[f+-32>>2]|0;A=g+16|0;y=c[A+4>>2]|0;c[D>>2]=c[A>>2];c[D+4>>2]=y;c[f+-8>>2]=d[g+6>>0];g=c[G>>2]|0;D=g+16|0;c[G>>2]=D;F=c[c[F>>2]>>2]|0;F=c[(F>>>0>>0?F+16|0:316088)>>2]|0;y=F+16|0;A=c[y+4>>2]|0;c[D>>2]=c[y>>2];c[D+4>>2]=A;c[g+24>>2]=d[F+6>>0];g=c[G>>2]|0;c[G>>2]=g+16;a:do if((g|0)!=316088?(B=c[g+8>>2]|0,(B&15|0)==5):0)switch(B&63){case 4:{m=d[(c[g>>2]|0)+7>>0]|0;break a}case 20:{m=c[(c[g>>2]|0)+12>>2]|0;break a}case 7:{m=c[(c[g>>2]|0)+12>>2]|0;break a}case 5:{m=qx(c[g>>2]|0)|0;break a}default:{m=0;break a}}else m=0;while(0);f=g+-16|0;b:do if((f|0)!=316088?(C=c[g+-8>>2]|0,(C&15|0)==5):0)switch(C&63){case 4:{f=d[(c[f>>2]|0)+7>>0]|0;break b}case 20:{f=c[(c[f>>2]|0)+12>>2]|0;break b}case 7:{f=c[(c[f>>2]|0)+12>>2]|0;break b}case 5:{f=qx(c[f>>2]|0)|0;break b}default:{f=0;break b}}else f=0;while(0);if((f+m|0)>65535)Ix(e,286123,E);if(m){if((m|0)>=1){k=1;while(1){i=((k|0)<0)<<31>>31;j=c[G>>2]|0;g=c[j+-16>>2]|0;h=lQ(k|0,i|0,-1,-1)|0;F=z;c:do if(F>>>0<0|((F|0)==0?h>>>0<(c[g+8>>2]|0)>>>0:0))g=(c[g+12>>2]|0)+(h<<4)|0;else{g=(c[g+16>>2]|0)+(((1<<(d[g+7>>0]|0))+-1&k)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(F=g+16|0,(c[F>>2]|0)==(k|0)?(c[F+4>>2]|0)==(i|0):0):0)break;h=c[g+28>>2]|0;if(!h){g=316088;break c}g=g+(h<<5)|0}}while(0);c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];c[G>>2]=(c[G>>2]|0)+16;F=k+f|0;Nv(e,-3,F,((F|0)<0)<<31>>31);if((k|0)==(m|0))break;else k=k+1|0}}}else f=0;c[G>>2]=(c[G>>2]|0)+-32;bB(0,f);G=p;e=(fB(e,2)|0)&65535;G=G+10|0;b[G>>1]=e;l=H;return 1}j=aB(e,1,D)|0;m=Uv(e,(c[D>>2]<<3)+16|0)|0;k=e+12|0;h=c[k>>2]|0;i=c[G>>2]|0;g=h+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;E=c[G>>2]|0;c[G>>2]=E+16;wx(e,h+40|0,E,E);E=c[G>>2]|0;g=E+-16|0;c[E>>2]=c[g>>2];c[E+4>>2]=c[g+4>>2];c[E+8>>2]=c[g+8>>2];c[E+12>>2]=c[g+12>>2];E=c[G>>2]|0;c[G>>2]=E+16;g=E+-32|0;f=c[g>>2]|0;A=E;B=c[A+4>>2]|0;C=f+16|0;c[C>>2]=c[A>>2];c[C+4>>2]=B;a[f+6>>0]=c[E+8>>2];f=c[G>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(o=(c[g>>2]|0)+5|0,p=a[o>>0]|0,(p&4)!=0):0)?(q=c[f+-16>>2]|0,(a[q+5>>0]&3)!=0):0){g=c[k>>2]|0;if((d[g+61>>0]|0)<2){uw(g,q);f=c[G>>2]|0;break}else{a[o>>0]=a[g+60>>0]&3|p&-8;break}}while(0);c[G>>2]=f+-16;Ov(e,-2);c[m>>2]=0;c[m+4>>2]=0;a[m+8>>0]=15;CQ(m+16|0,j|0,c[D>>2]<<3|0)|0;g=(c[c[F>>2]>>2]|0)+16|0;e=c[G>>2]|0;g=c[(g>>>0>>0?g:316088)>>2]|0;E=g+16|0;D=c[E+4>>2]|0;f=e;c[f>>2]=c[E>>2];c[f+4>>2]=D;c[e+8>>2]=d[g+6>>0];e=c[G>>2]|0;c[G>>2]=e+16;g=e+-16|0;f=c[g>>2]|0;D=e;E=c[D+4>>2]|0;F=f+16|0;c[F>>2]=c[D>>2];c[F+4>>2]=E;a[f+6>>0]=c[e+8>>2];f=c[G>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(r=(c[g>>2]|0)+5|0,s=a[r>>0]|0,(s&4)!=0):0)?(t=c[f+-16>>2]|0,(a[t+5>>0]&3)!=0):0){g=c[k>>2]|0;if((d[g+61>>0]|0)<2){uw(g,t);f=c[G>>2]|0;break}else{a[r>>0]=a[g+60>>0]&3|s&-8;break}}while(0);c[G>>2]=f+-16;a[m+9>>0]=14;G=m;e=0;G=G+10|0;b[G>>1]=e;l=H;return 1}function VA(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+16|0;e=(c[c[b>>2]>>2]|0)+16|0;f=a+8|0;if((e|0)==316088?1:e>>>0>=(c[f>>2]|0)>>>0)Hx(a,1,283727)|0;aB(a,1,0)|0;b=c[c[b>>2]>>2]|0;d=c[f>>2]|0;e=b+32|0;if(d>>>0>=e>>>0){c[f>>2]=e;return 1}b=(b+24+4+(3-d)|0)>>>4;a=d;do{c[a+8>>2]=0;a=a+16|0}while(a>>>0>>0);c[f>>2]=d+(b+1<<4);c[f>>2]=e;return 1}function WA(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;h=b+16|0;f=c[c[h>>2]>>2]|0;g=f+16|0;p=b+8|0;e=c[p>>2]|0;g=g>>>0>>0?g:316088;switch(c[g+8>>2]&15){case 4:{e=g;i=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[c[h>>2]>>2]|0;e=c[p>>2]|0}i=f+16|0;e=i>>>0>>0?i:316088;Jw(b,e);i=5;break}default:{Kx(b,1,287470);e=0;f=0}}if((i|0)==5){e=c[e>>2]|0;if((a[e+4>>0]|0)==4)f=d[e+7>>0]|0;else f=c[e+12>>2]|0;e=e+16|0}l=Uv(b,48)|0;k=b+12|0;i=c[k>>2]|0;j=c[p>>2]|0;h=i+280+(((285773>>>0)%127|0)<<2)|0;g=c[h>>2]|0;if(wN(285773,g+16|0)|0){g=jx(b,285773,12)|0;c[h>>2]=g}c[j>>2]=g;c[j+8>>2]=(a[g+4>>0]|64)&255;j=c[p>>2]|0;c[p>>2]=j+16;wx(b,i+40|0,j,j);j=c[p>>2]|0;h=j+-16|0;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2];c[j+12>>2]=c[h+12>>2];j=c[p>>2]|0;c[p>>2]=j+16;h=j+-32|0;g=c[h>>2]|0;r=j;q=c[r+4>>2]|0;i=g+16|0;c[i>>2]=c[r>>2];c[i+4>>2]=q;a[g+6>>0]=c[j+8>>2];g=c[p>>2]|0;do if(((c[g+-8>>2]&64|0)!=0?(m=(c[h>>2]|0)+5|0,n=a[m>>0]|0,(n&4)!=0):0)?(o=c[g+-16>>2]|0,(a[o+5>>0]&3)!=0):0){h=c[k>>2]|0;if((d[h+61>>0]|0)<2){uw(h,o);g=c[p>>2]|0;break}else{a[m>>0]=a[h+60>>0]&3|n&-8;break}}while(0);c[p>>2]=g+-16;Ov(b,-2);c[l>>2]=0;c[l+4>>2]=0;a[l+8>>0]=1;g=l+16|0;h=g+32|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));if(!f)return 1;while(1){f=f+-1|0;q=d[e>>0]|0;r=l+((q>>>3)+16)|0;a[r>>0]=1<<(q&7)|d[r>>0];if(!f)break;else e=e+1|0}return 1}function XA(b){b=b|0;var 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;s=l;l=l+16|0;r=s;n=b+8|0;o=(c[n>>2]|0)-((c[c[b+16>>2]>>2]|0)+16)|0;p=o>>4;q=Uv(b,48)|0;i=b+12|0;g=c[i>>2]|0;h=c[n>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[n>>2]|0;c[n>>2]=h+16;wx(b,g+40|0,h,h);h=c[n>>2]|0;f=h+-16|0;c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];h=c[n>>2]|0;c[n>>2]=h+16;f=h+-32|0;e=c[f>>2]|0;u=h;t=c[u+4>>2]|0;g=e+16|0;c[g>>2]=c[u>>2];c[g+4>>2]=t;a[e+6>>0]=c[h+8>>2];e=c[n>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(j=(c[f>>2]|0)+5|0,k=a[j>>0]|0,(k&4)!=0):0)?(m=c[e+-16>>2]|0,(a[m+5>>0]&3)!=0):0){f=c[i>>2]|0;if((d[f+61>>0]|0)<2){uw(f,m);e=c[n>>2]|0;break}else{a[j>>0]=a[f+60>>0]&3|k&-8;break}}while(0);c[n>>2]=e+-16;Ov(b,-2);c[q>>2]=0;c[q+4>>2]=0;a[q+8>>0]=1;e=q+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));if((o|0)<16){l=s;return 1}else h=1;while(1){e=Fv(b,h,r)|0;if(!e)Kx(b,h,287470);if((c[r>>2]|0)!=2)Hx(b,h,285968)|0;f=a[e>>0]|0;g=e+1|0;if((f&255)<=(d[g>>0]|0)){e=f&255;while(1){u=q+((e>>3)+16)|0;a[u>>0]=d[u>>0]|0|1<<(e&7);if((e|0)<(d[g>>0]|0|0))e=e+1|0;else break}}if((h|0)==(p|0))break;else h=h+1|0}l=s;return 1} +function mu(b){b=b|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;v=l;l=l+16|0;f=v+4|0;q=v;s=b+76|0;d=c[s>>2]|0;t=b+72|0;o=c[t>>2]|0;o=(d|0)!=(o|0)?o:0;do if((c[((o|0)==0?944:o)>>2]|0)!=2){Ho(b,0)|0;d=c[t>>2]|0;d=(c[s>>2]|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8)d=c[d+8>>2]|0;else d=0;d=wp(d)|0;if(d>>>0>715827881)Jn(b,278290,100663669,269112);else{g=d;e=c[s>>2]|0;break}}else{g=0;e=d}while(0);if(e>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);d=Po(c[b+44>>2]|0,g*3|0,1,f)|0;if(!d)Mn(b,268491,4824);o=c[s>>2]|0;c[o>>2]=10;c[o+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=(c[s>>2]|0)+16|0;c[s>>2]=d;o=c[f>>2]|0;do if(g){c[q>>2]=o;n=c[t>>2]|0;d=(d|0)!=(n|0)?n:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=8)In(b,1812,0,287470);d=c[d+8>>2]|0;if(!d)In(b,1812,0,287470);n=d+28|0;m=n+(c[d+20>>2]|0)|0;do if(n>>>0>>0){e=n;i=0;a:while(1){if(e>>>0>>0){j=35;break}g=e+1|0;d=a[e>>0]|0;e=d&255;do if(d<<24>>24<=-1){if((d&255)<192){j=35;break a}if((d&255)<224){f=1;d=e&31;break}if((d&255)<240){f=2;d=e&15;break}if((d&255)<248){f=3;d=e&7;break}if((d&255)<252){f=4;d=e&3;break}if((d&255)>=254)if(d<<24>>24==-1){j=35;break a}else{f=6;d=0;break}else{f=5;d=e&1;break}}else{f=0;d=e&127}while(0);if((g+f|0)>>>0>m>>>0){j=35;break}if(f){e=g;while(1){k=e;e=e+1|0;d=a[k>>0]&63|d<<6;if((f|0)<=1)break;else f=f+-1|0}if((d|0)>=128)if((d|0)>1114111){d=e;j=48}else j=40;else j=37}else{e=g;j=37}if((j|0)==37){j=0;if(!i){k=c[q>>2]|0;c[q>>2]=k+1;a[k>>0]=d;d=0}else j=40}b:do if((j|0)==40){j=0;do if((d&-2048|0)==55296){f=(i|0)==0;if((d|0)<56320){if(f)break b;h=65533;f=3;g=c[q>>2]|0;j=54;break b}else{if(f){d=e;j=48;break b}d=d+-56613888+(i<<10)|0;break}}else if(i){k=c[q>>2]|0;a[k>>0]=-17;a[k+1>>0]=-65;a[k+2>>0]=-67;c[q>>2]=k+3}while(0);g=c[q>>2]|0;if(d>>>0>=128)if(d>>>0>=2048)if(d>>>0>=65536)if(d>>>0>=2097152)if(d>>>0<67108864){h=d;f=5;d=0;j=54}else{h=d;f=d>>>31|6;i=0;k=g;j=55}else{h=d;f=4;d=0;j=54}else{h=d;f=3;d=0;j=54}else{h=d;f=2;d=0;j=54}else{i=0;h=0;f=1;j=57}}while(0);if((j|0)==48){e=d;h=65533;f=3;d=i;g=c[q>>2]|0;j=54}if((j|0)==54){i=d;k=g;j=55}if((j|0)==55){j=a[268912+(f+-1)>>0]|0;d=h;g=f;do{g=g+-1|0;a[k+g>>0]=d&63|128;d=d>>>6}while((g|0)>1);h=j;g=k;j=57}if((j|0)==57){a[g>>0]=d+(h&255);c[q>>2]=(c[q>>2]|0)+f;d=i}if(e>>>0>>0)i=d;else{j=59;break}}if((j|0)==35)lo(b,271603,282);else if((j|0)==59){if(!d){j=60;break}p=c[q>>2]|0;a[p>>0]=-17;a[p+1>>0]=-65;a[p+2>>0]=-67;p=p+3|0;c[q>>2]=p;break}}else j=60;while(0);if((j|0)==60)p=c[q>>2]|0;e=p-o|0;q=c[t>>2]|0;d=(c[s>>2]|0)-q>>4;d=d|0?q+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=10)In(b,1847,-1,268387);d=c[d+8>>2]|0;if(!d)In(b,1847,-1,268387);if((c[d>>2]&384|0)==128){Kn(b,d,e);u=e;r=c[s>>2]|0;break}else Jn(b,268394,100663313,268411)}else{u=0;r=d}while(0);t=c[t>>2]|0;d=r-t>>4;d=d|0?t+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=10)In(b,1847,-1,268387);d=c[d+8>>2]|0;if(!d)In(b,1847,-1,268387);else{b=Iq(b,-1342168960,53)|0;c[b+40>>2]=d;t=d+4|0;c[t>>2]=(c[t>>2]|0)+1;c[b+48>>2]=0;c[b+52>>2]=u;a[b+56>>0]=0;a[b+57>>0]=0;a[b+58>>0]=1;l=v;return 1}return 0}function nu(a){a=a|0;var b=0,d=0;b=a+76|0;if((c[b>>2]|0)>>>0<(c[a+68>>2]|0)>>>0){a=Fo(a,278284,5)|0;d=c[b>>2]|0;c[b>>2]=d+16;c[d>>2]=8;c[d+8>>2]=a;b=a+4|0;c[b>>2]=(c[b>>2]|0)+1;return 1}else Sn(a,3931);return 0}function ou(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;l=b+76|0;f=c[l>>2]|0;e=b+72|0;g=c[e>>2]|0;d=(f|0)!=(g|0)?g:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 9:{d=c[d+8>>2]|0;if(!d)In(b,2094,0,268820);else{m=d;h=f;i=g}break}case 6:{vo(b,0);i=c[e>>2]|0;m=c[i+8>>2]|0;h=c[l>>2]|0;break}default:In(b,2094,0,268820)}e=h;d=(h|0)!=(i|0)?i:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 6:break;case 9:{j=6;break}default:In(b,1964,0,287066)}if((j|0)==6){d=c[d+8>>2]|0;if(!d)In(b,1964,0,287066);if(!(c[d>>2]&6656))In(b,1964,0,287066)}if(e>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4373);i=b+44|0;d=c[i>>2]|0;h=ur(d,432)|0;if(!h)Mn(b,278264,197);e=h+4|0;EQ(e|0,0,428)|0;c[h>>2]=-1879048063;f=d+24|0;g=c[f>>2]|0;if(g|0)c[g+12>>2]=h;c[h+12>>2]=0;c[h+8>>2]=g;c[f>>2]=h;c[h+44>>2]=d;c[h+52>>2]=1e6;c[h+56>>2]=1e4;c[h+60>>2]=1e4;a[h+49>>0]=1;c[h+428>>2]=c[b+428>>2];j=c[l>>2]|0;c[j>>2]=9;c[j+8>>2]=h;c[e>>2]=1;c[l>>2]=(c[l>>2]|0)+16;if(!(vr(c[i>>2]|0,h)|0))Mn(b,268491,4400);else k=0;do{d=c[b+132+(k<<2)>>2]|0;c[h+132+(k<<2)>>2]=d;if(d|0){j=d+4|0;c[j>>2]=(c[j>>2]|0)+1}k=k+1|0}while((k|0)!=74);e=c[h+280>>2]|0;b=h+20|0;d=c[b>>2]|0;c[b>>2]=e;if(e|0){b=e+4|0;c[b>>2]=(c[b>>2]|0)+1}if(d|0?(k=d+4|0,b=(c[k>>2]|0)+-1|0,c[k>>2]=b,(b|0)==0):0)fp(c[i>>2]|0,d);d=c[(c[l>>2]|0)+-8>>2]|0;a[d+49>>0]=1;e=d+76|0;f=c[e>>2]|0;if(f>>>0<(c[d+68>>2]|0)>>>0){c[e>>2]=f+16;c[f>>2]=9;c[f+8>>2]=m;m=m+4|0;c[m>>2]=(c[m>>2]|0)+1;return 1}else Sn(d,3761);return 0}function pu(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[(c[a+44>>2]|0)+124>>2]|0;e=a+76|0;f=c[e>>2]|0;b=f>>>0<(c[a+68>>2]|0)>>>0;if(!d){if(!b)Sn(a,3772);c[e>>2]=f+16;return 1}else{if(!b)Sn(a,3761);c[e>>2]=f+16;c[f>>2]=9;c[f+8>>2]=d;f=d+4|0;c[f>>2]=(c[f>>2]|0)+1;return 1}return 0}function qu(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;o=b+76|0;q=b+72|0;d=c[q>>2]|0;d=(c[o>>2]|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(b,1864,0,281113);d=c[d+8>>2]|0;if(!d)In(b,1864,0,281113);if((c[d>>2]&-134217728|0)!=-1879048192)In(b,1864,0,281113);r=gq(b,2)|0;_n(b,2);if((c[b+96>>2]|0)>>>0<2)Cu(b,186);if(!(c[c[(c[b+88>>2]|0)+-32>>2]>>2]&2048))Cu(b,186);switch(a[d+49>>0]|0){case 4:break;case 1:{m=8;break}default:Cu(b,186)}if((m|0)==8){if(c[d+96>>2]|0)Cu(b,186);f=c[d+76>>2]|0;if((f-(c[d+64>>2]|0)|0)!=16)Cu(b,186);d=f+-16|0;e=c[o>>2]|0;k=b+68|0;if(e>>>0>=(c[k>>2]|0)>>>0)Sn(b,3761);c[o>>2]=e+16;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];if(c[d>>2]&8|0){l=(c[f+-8>>2]|0)+4|0;c[l>>2]=(c[l>>2]|0)+1}j=b+428|0;l=b+44|0;i=1e4;while(1){e=c[o>>2]|0;d=e;if((c[e+-16>>2]|0)!=9){n=d;p=e;break}if(!(c[c[e+-8>>2]>>2]&512)){n=d;p=e;break}g=d-(c[q>>2]|0)|0;f=g>>4;h=f+-1|0;if(!f){m=18;break}d=c[(c[j>>2]|0)+404>>2]|0;if(e>>>0>=(c[k>>2]|0)>>>0){m=20;break}c[o>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[q>>2]|0;f=(c[o>>2]|0)-e>>4;d=((g|0)<16?f:0)+h|0;if(d>>>0>=f>>>0){m=22;break}ro(b,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[q>>2]|0;f=(c[o>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1){m=24;break}s=e+(d<<4)|0;g=e+(f+-1<<4)|0;h=c[s>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(s|0,s+16|0,g-s|0)|0;c[g>>2]=2;e=(c[o>>2]|0)+-16|0;c[o>>2]=e;if((h&8|0)!=0?(h=d+4|0,s=(c[h>>2]|0)+-1|0,c[h>>2]=s,(s|0)==0):0){go(c[l>>2]|0,d);e=c[o>>2]|0}f=c[q>>2]|0;e=e-f>>4;if(!e){m=29;break}g=f+(e+-1<<4)|0;d=e+-2|0;if((e|0)==1){m=31;break}h=f+(d<<4)|0;s=c[h>>2]|0;d=c[f+(d<<4)+8>>2]|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[g>>2]=2;c[o>>2]=(c[o>>2]|0)+-16;do if(s&8|0){h=d+4|0;s=(c[h>>2]|0)+-1|0;c[h>>2]=s;if(s|0)break;go(c[l>>2]|0,d)}while(0);i=i+-1|0;if(!i){m=36;break}}if((m|0)==18)$n(b,267,-1);else if((m|0)==20)Sn(b,3761);else if((m|0)==22)$n(b,342,h);else if((m|0)==24)$n(b,342,-2);else if((m|0)==29)$n(b,342,-1);else if((m|0)==31)$n(b,342,-2);else if((m|0)==36){p=c[o>>2]|0;n=p}e=c[q>>2]|0;d=n-e>>4;d=d|0?e+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(b,1834,-1,268820);d=c[d+8>>2]|0;if(!d)In(b,1834,-1,268820);if(!(c[d>>2]&2048))Cu(b,186);if((p|0)==(e|0))Jn(b,268491,50336874,268507);n=p+-16|0;c[o>>2]=n;s=c[p+-16>>2]|0;d=c[p+-8>>2]|0;c[n>>2]=2;if(s&8|0?(p=d+4|0,s=(c[p>>2]|0)+-1|0,c[p>>2]=s,(s|0)==0):0)go(c[l>>2]|0,d)}if(r|0)Ep(b,106);h=b+44|0;d=c[h>>2]|0;c[d+76>>2]=3;e=d+104|0;f=c[q>>2]|0;if(c[f>>2]&8|0){s=(c[f+8>>2]|0)+4|0;c[s>>2]=(c[s>>2]|0)+1}if(c[e>>2]&8){d=c[d+112>>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[e+12>>2]=c[f+12>>2];p=d+4|0;s=(c[p>>2]|0)+-1|0;c[p>>2]=s;if(!s)go(c[h>>2]|0,d)}else{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]}e=c[h>>2]|0;g=e+88|0;d=c[q>>2]|0;f=d+16|0;if(c[f>>2]&8|0){s=(c[d+24>>2]|0)+4|0;c[s>>2]=(c[s>>2]|0)+1}if(!(c[g>>2]&8)){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];s=c[h>>2]|0;s=s+80|0;c[s>>2]=r;Do(b)}d=c[e+96>>2]|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];q=d+4|0;s=(c[q>>2]|0)+-1|0;c[q>>2]=s;if(s|0){s=c[h>>2]|0;s=s+80|0;c[s>>2]=r;Do(b)}go(c[h>>2]|0,d);s=c[h>>2]|0;s=s+80|0;c[s>>2]=r;Do(b);return 0}function ru(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=gq(a,1)|0;_n(a,1);if(!(c[a+116>>2]|0))Cu(a,302);if((c[a+96>>2]|0)>>>0<2)Cu(a,302);if(!(c[c[(c[a+88>>2]|0)+-32>>2]>>2]&2048))Cu(a,302);if((c[a+100>>2]|0)!=1)Cu(a,302);if(d|0)Ep(a,106);e=a+44|0;b=c[e>>2]|0;c[b+76>>2]=2;f=b+88|0;g=c[a+72>>2]|0;if(c[g>>2]&8|0){h=(c[g+8>>2]|0)+4|0;c[h>>2]=(c[h>>2]|0)+1}if(!(c[f>>2]&8)){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];h=c[e>>2]|0;h=h+80|0;c[h>>2]=d;Do(a)}b=c[b+96>>2]|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];g=b+4|0;h=(c[g>>2]|0)+-1|0;c[g>>2]=h;if(h|0){h=c[e>>2]|0;h=h+80|0;c[h>>2]=d;Do(a)}go(c[e>>2]|0,b);h=c[e>>2]|0;h=h+80|0;c[h>>2]=d;Do(a);return 0}function su(a){a=a|0;Tn(a,278217,8);return 0}function tu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+72>>2]|0;a:do switch(c[b+-16>>2]|0){case 9:{b=c[b+-8>>2]|0;if(!(c[b>>2]&8192))Jn(a,278145,100663477,278161);else{g=b;break a}break}case 10:{g=c[b+-8>>2]|0;break}default:Jn(a,278145,100663477,278161)}while(0);b=c[g>>2]|0;if((b&3|0)==2){a=Iq(a,-1744822144,45)|0;c[a+40>>2]=g;f=g+4|0;c[f>>2]=(c[f>>2]|0)+1;c[a+52>>2]=c[g+16>>2];a=1;return a|0}f=g+44|0;e=c[f>>2]|0;if(!e){if((b&-134217728|0)==-1744830464){a=0;return a|0}b=c[g+40>>2]|0;if(!b){a=0;return a|0}e=Iq(a,-1744822144,45)|0;c[e+40>>2]=b;d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=e+52|0;c[d>>2]=c[b+16>>2];b=c[f>>2]|0;if(!b){c[e+48>>2]=0;c[d>>2]=(c[g+52>>2]|0)+(c[g+48>>2]|0);c[f>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;if(!e){a=0;return a|0}}else e=b}b=a+76|0;d=c[b>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[b>>2]=d+16;c[d>>2]=9;c[d+8>>2]=e;a=e+4|0;c[a>>2]=(c[a>>2]|0)+1;a=1;return a|0}function uu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0.0;b=c[a+72>>2]|0;a:do switch(c[b+-16>>2]|0){case 9:{b=c[b+-8>>2]|0;if(!(c[b>>2]&8192))Jn(a,278145,100663477,278161);else{e=b;break a}break}case 10:{e=c[b+-8>>2]|0;break}default:Jn(a,278145,100663477,278161)}while(0);if((c[e>>2]&3|0)==2){b=a+76|0;d=c[b>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){f=b;g=d;i=e+16|0}else Sn(a,3902)}else{b=a+76|0;d=c[b>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){f=b;g=d;i=e+52|0}else Sn(a,3902)}j=+((c[i>>2]|0)>>>0);c[f>>2]=g+16;c[g>>2]=0;h[g+8>>3]=j;return 1}function vu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0;b=c[a+72>>2]|0;a:do switch(c[b+-16>>2]|0){case 9:{b=c[b+-8>>2]|0;if(!(c[b>>2]&8192))Jn(a,278145,100663477,278161);else{f=b;break a}break}case 10:{f=c[b+-8>>2]|0;break}default:Jn(a,278145,100663477,278161)}while(0);b=a+76|0;d=c[b>>2]|0;e=d>>>0<(c[a+68>>2]|0)>>>0;if((c[f>>2]&3|0)==2)if(e){g=0.0;a=d+16|0;c[b>>2]=a;c[d>>2]=0;a=d+8|0;h[a>>3]=g;return 1}else Sn(a,3902);if(!e)Sn(a,3902);g=+((c[f+48>>2]|0)>>>0);a=d+16|0;c[b>>2]=a;c[d>>2]=0;a=d+8|0;h[a>>3]=g;return 1}function wu(f){f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.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=l;l=l+16|0;p=F;g=c[f+88>>2]|0;if(!g)Jn(f,268476,100663783,278172);if(!(c[g+32>>2]&4))Jn(f,268476,100663783,278172);i=c[g+16>>2]|0;if(i)if(!(c[i>>2]&4096))g=0;else g=b[i+46>>1]|0;else g=(c[g+4>>2]|0)>>>8<<24>>24;B=g&3;C=g>>>2&15;z=1<>0]|0;y=d[278208+C>>0]|0;D=f+76|0;i=c[D>>2]|0;E=f+72|0;g=c[E>>2]|0;n=(i|0)!=(g|0)?g:0;if((c[((n|0)==0?944:n)>>2]|0)==10){vo(f,0);g=c[E>>2]|0;i=c[D>>2]|0}g=(i|0)!=(g|0)?g:0;do if((c[g>>2]|0)!=9){aq(f,0);g=c[E>>2]|0;g=(c[D>>2]|0)!=(g|0)?g:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(r=+h[g+8>>3],(XO(r)|0)!=0):0)if(!(r<-2147483648.0))if(r>2147483647.0){A=0;w=2147483647;v=3;break}else{k=0;i=~~r;g=3;j=40;break}else Jn(f,278145,50332697,271432);else{A=0;w=0;v=3}}else{n=c[g+8>>2]|0;g=c[n>>2]|0;if((g&-134217728|0)!=-1744830464){if(!(g&8192)){k=0;i=zp(f,0)|0;g=2;j=40;break}g=c[n+40>>2]|0;i=c[n+52>>2]|0;j=i>>>(d[n+56>>0]|0);if(!g)Tn(f,278145,854);if(((c[n+48>>2]|0)+i|0)>>>0>(c[g+16>>2]|0)>>>0){k=n;i=j;g=2;j=40;break}k=n;i=j;g=(1<>0]&e[35320+(C<<1)>>1]|0)==0&1;j=40;break}aq(f,1);i=c[E>>2]|0;j=(c[D>>2]|0)-i>>4;g=j>>>0>1?i+16|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(s=+h[g+8>>3],(XO(s)|0)!=0):0){if(s<-2147483648.0)Jn(f,278145,50332697,271432);g=~~s;if(!(s>2147483647.0))if((g|0)<0)Jn(f,278145,50332697,271432);else q=g;else q=2147483647}else q=0;k=n+52|0;g=c[k>>2]|0;if(!(g>>>0>=q>>>0&(q&m|0)==0))Jn(f,278145,50332697,271432);A=j>>>0>2?i+32|0:0;if((c[((A|0)==0?944:A)>>2]|0)==2){g=g-q|0;if(!(g&m))u=g;else Jn(f,278145,50332697,271432)}else{aq(f,2);g=c[E>>2]|0;g=(c[D>>2]|0)-g>>4>>>0>2?g+32|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(t=+h[g+8>>3],(XO(t)|0)!=0):0){if(t<-2147483648.0)Jn(f,278145,50332697,271432);g=~~t;if(!(t>2147483647.0))if((g|0)<0)Jn(f,278145,50332697,271432);else o=g;else o=2147483647}else o=0;g=o<>>B|0)!=(o|0))Jn(f,278145,50332697,271432);if(g>>>0>((c[k>>2]|0)-q|0)>>>0)Jn(f,278145,50332697,271432);else u=g}g=Iq(f,y<<27|8320,x)|0;i=c[n+40>>2]|0;if(!i)Tn(f,278145,827);c[g+40>>2]=i;f=i+4|0;c[f>>2]=(c[f>>2]|0)+1;c[g+48>>2]=(c[n+48>>2]|0)+q;c[g+52>>2]=u;a[g+56>>0]=B;a[g+57>>0]=C;a[g+58>>0]=1;c[g+44>>2]=n;f=n+4|0;c[f>>2]=(c[f>>2]|0)+1;l=F;return 1}while(0);if((j|0)==40)if((i|0)<0)Jn(f,278145,50332697,271432);else{A=k;w=i;v=g}k=w<>>B|0)!=(w|0))Jn(f,278145,50332697,271432);if((c[D>>2]|0)>>>0>=(c[f+68>>2]|0)>>>0)Sn(f,4815);if(k>>>0>2147483646)Jn(f,268491,50336467,268447);q=f+44|0;g=Po(c[q>>2]|0,k,0,p)|0;if(!g)Mn(f,268491,4824);j=c[D>>2]|0;c[j>>2]=10;c[j+8>>2]=g;j=g+4|0;c[j>>2]=(c[j>>2]|0)+1;j=c[D>>2]|0;c[D>>2]=j+16;j=c[j+8>>2]|0;o=Iq(f,y<<27|8320,x)|0;c[o+40>>2]=j;p=j+4|0;c[p>>2]=(c[p>>2]|0)+1;c[o+52>>2]=k;a[o+56>>0]=B;p=o+57|0;a[p>>0]=C;a[o+58>>0]=1;switch(v&3){case 0:{if(!(c[j>>2]&128))i=j+24|0;else i=c[j+20>>2]|0;g=c[A+40>>2]|0;if(!(c[g>>2]&128))g=g+24|0;else g=c[g+20>>2]|0;CQ(i+(c[o+48>>2]|0)|0,g+(c[A+48>>2]|0)|0,k|0)|0;l=F;return 1}case 1:{n=1<>0];g=c[A+40>>2]|0;if(!(c[g>>2]&128))g=g+24|0;else g=c[g+20>>2]|0;i=g+(c[A+48>>2]|0)|0;if(!(c[j>>2]&128))g=j+24|0;else g=c[j+20>>2]|0;C=c[A+52>>2]|0;m=i+C|0;if(!C){l=F;return 1}k=A+57|0;j=g+(c[o+48>>2]|0)|0;while(1){Lq(f,a[k>>0]|0,i,n);Dq(f,a[p>>0]|0,j,z);g=c[D>>2]|0;if((g|0)==(c[E>>2]|0)){j=66;break}B=g+-16|0;c[D>>2]=B;C=c[g+-16>>2]|0;g=c[g+-8>>2]|0;c[B>>2]=2;if(C&8|0?(B=g+4|0,C=(c[B>>2]|0)+-1|0,c[B>>2]=C,(C|0)==0):0)go(c[q>>2]|0,g);i=i+n|0;if((i|0)==(m|0)){j=73;break}else j=j+z|0}if((j|0)==66)Jn(f,268491,50336874,268507);else if((j|0)==73){l=F;return 1}break}case 2:{if(!w){l=F;return 1}else g=0;do{Zp(f,0,g)|0;Tp(f,-2,g);g=g+1|0}while((g|0)!=(w|0));l=F;return 1}default:{l=F;return 1}}return 0}function xu(b){b=b|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0.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=l;l=l+16|0;B=G;A=Bu(b,3)|0;r=A+40|0;if(!(c[r>>2]|0)){l=G;return 0}E=b+76|0;f=c[E>>2]|0;F=b+72|0;i=c[F>>2]|0;z=(f|0)!=(i|0)?i:0;if((c[((z|0)==0?944:z)>>2]|0)==10){vo(b,0);i=c[F>>2]|0;f=c[E>>2]|0}f=(f|0)!=(i|0)?i:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(b,1834,0,268820);x=c[f+8>>2]|0;if(!x)In(b,1834,0,268820);aq(b,1);z=c[E>>2]|0;f=c[F>>2]|0;f=z-f>>4>>>0>1?f+16|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(o=+h[f+8>>3],(XO(o)|0)!=0):0){if(o<-2147483648.0)Tn(b,278145,1668);f=~~o;if(!(o>2147483647.0))if((f|0)<0)Tn(b,278145,1668);else k=f;else k=2147483647}else k=0;y=A+56|0;v=a[y>>0]|0;i=v&255;p=k<>>i|0)!=(k|0))Jn(b,278145,50333543,271432);f=A+52|0;q=c[f>>2]|0;if(q>>>0

>>0)Jn(b,278145,50333543,271432);if(!(c[x>>2]&8192)){g=zp(b,0)|0;if(g<<(d[y>>0]|0)>>>0>((c[f>>2]|0)-p|0)>>>0)Jn(b,278145,50333543,271432);f=c[E>>2]|0;if(f>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3997);c[E>>2]=f+16;if(c[b+96>>2]|0?(j=c[F>>2]|0,E=j+-16|0,F=c[E>>2]|0,c[f>>2]=c[E>>2],c[f+4>>2]=c[E+4>>2],c[f+8>>2]=c[E+8>>2],c[f+12>>2]=c[E+12>>2],F&8|0):0){F=(c[j+-8>>2]|0)+4|0;c[F>>2]=(c[F>>2]|0)+1}if(!g){l=G;return 0}else f=0;do{Zp(b,0,f)|0;Tp(b,2,f+k|0);f=f+1|0}while((f|0)!=(g|0));l=G;return 0}n=c[x+40>>2]|0;if(!n){l=G;return 0}w=c[x+52>>2]|0;u=x+56|0;s=a[u>>0]|0;m=w>>>(s&255);t=m<>>0>(q-p|0)>>>0|(t>>>i|0)!=(m|0))Jn(b,278145,50333543,271432);m=c[A+48>>2]|0;i=c[r>>2]|0;j=c[i+16>>2]|0;if((t+p+m|0)>>>0>j>>>0){l=G;return 0}if(!(c[n>>2]&128))f=n+24|0;else f=c[n+20>>2]|0;k=c[x+48>>2]|0;r=f+k|0;if(!(c[i>>2]&128))f=i+24|0;else f=c[i+20>>2]|0;i=f+m+p|0;if((q+m|0)>>>0>j>>>0){l=G;return 0}if((w+k|0)>>>0>(c[n+16>>2]|0)>>>0){l=G;return 0}q=A+57|0;p=x+57|0;if(1<<(d[p>>0]|0)&(e[35320+((d[q>>0]|0)<<1)>>1]|0)|0){DQ(i|0,r|0,t|0)|0;l=G;return 0}do if((r+w|0)>>>0>i>>>0&r>>>0<(i+t|0)>>>0){if(z>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);if(w>>>0>2147483646)Jn(b,268491,50336467,268447);f=Po(c[b+44>>2]|0,w,4,B)|0;if(!f)Mn(b,268491,4824);else{g=c[E>>2]|0;c[g>>2]=10;c[g+8>>2]=f;g=f+4|0;c[g>>2]=(c[g>>2]|0)+1;c[E>>2]=(c[E>>2]|0)+16;g=c[B>>2]|0;CQ(g|0,r|0,w|0)|0;C=a[u>>0]|0;D=a[y>>0]|0;break}}else{g=r;C=s;D=v}while(0);n=1<<(C&255);k=1<<(D&255);m=g+w|0;if(!w){l=G;return 0}j=b+44|0;while(1){Lq(b,a[p>>0]|0,g,n);Dq(b,a[q>>0]|0,i,k);f=c[E>>2]|0;if((f|0)==(c[F>>2]|0)){f=40;break}C=f+-16|0;c[E>>2]=C;D=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[C>>2]=2;do if(D&8|0){C=f+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;go(c[j>>2]|0,f)}while(0);g=g+n|0;if((g|0)==(m|0)){f=54;break}else i=i+k|0}if((f|0)==40)Jn(b,268491,50336874,268507);else if((f|0)==54){l=G;return 0}return 0}function yu(a){a=a|0;Au(a)|0;return 1}function zu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+76|0;g=c[h>>2]|0;b=a+72|0;d=c[b>>2]|0;e=(g|0)!=(d|0);j=e?d:0;if((c[((j|0)==0?944:j)>>2]|0)==10)return 1;if(!e)$n(a,342,0);switch(c[d>>2]|0){case 9:{b=c[d+8>>2]|0;if(!(c[b>>2]&8192))Jn(a,278145,100663521,278161);else{f=b;i=g}break}case 10:{vo(a,0);f=c[(c[b>>2]|0)+8>>2]|0;i=c[h>>2]|0;break}default:Jn(a,278145,100663521,278161)}b=c[f+40>>2]|0;d=i>>>0<(c[a+68>>2]|0)>>>0;if(!b){if(!d)Sn(a,3772);c[h>>2]=i+16;return 1}else{if(!d)Sn(a,3761);c[h>>2]=i+16;c[i>>2]=10;c[i+8>>2]=b;j=b+4|0;c[j>>2]=(c[j>>2]|0)+1;return 1}return 0}function Au(b){b=b|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;p=l;l=l+16|0;m=p+4|0;f=p;o=b+76|0;i=c[o>>2]|0;n=b+72|0;g=c[n>>2]|0;h=g;d=(i|0)!=(h|0)?g:0;d=(d|0)==0?944:d;e=c[d>>2]|0;k=i;a:do switch(c[4924+(e<<2)>>2]|0){case 4:{d=ar(b,0,0,2147483647,m)|0;if((c[o>>2]|0)>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);if(d>>>0>2147483646)Jn(b,268491,50336467,268447);d=Po(c[b+44>>2]|0,d,0,m)|0;if(!d)Mn(b,268491,4824);else{b=c[o>>2]|0;c[b>>2]=10;c[b+8>>2]=d;b=d+4|0;c[b>>2]=(c[b>>2]|0)+1;c[o>>2]=(c[o>>2]|0)+16;break a}break}case 7:{j=31;break}case 6:{f=c[g+8>>2]|0;if((c[f>>2]&-134217728|0)==-1744830464){d=f+40|0;e=c[d>>2]|0;if(!e)Tn(b,278145,575);if(c[f+48>>2]|0)Tn(b,278145,581);if((c[f+52>>2]|0)!=(c[e+16>>2]|0))Tn(b,278145,581);if(k>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[o>>2]=k+16;c[k>>2]=10;c[k+8>>2]=e;o=e+4|0;c[o>>2]=(c[o>>2]|0)+1;o=d;o=c[o>>2]|0;l=p;return o|0}else j=31;break}case 5:{if((e|0)!=8)In(b,1821,0,287470);d=c[d+8>>2]|0;if(!d)In(b,1821,0,287470);if(c[d>>2]&512|0)In(b,1821,0,287470);if(k>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,935);if((k|0)==(g|0))$n(b,342,0);c[o>>2]=k+16;n=i;c[n>>2]=c[g>>2];c[n+4>>2]=c[g+4>>2];c[n+8>>2]=c[g+8>>2];c[n+12>>2]=c[g+12>>2];if(c[k>>2]&8|0){n=(c[k+8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}Sp(b,f,2);break}default:Tn(b,278145,596)}while(0);b:do if((j|0)==31){if((i|0)==(h|0))$n(b,267,0);d=c[(c[b+428>>2]|0)+320>>2]|0;g=b+68|0;if(k>>>0>=(c[g>>2]|0)>>>0)Sn(b,3761);c[o>>2]=k+16;c[k>>2]=8;c[k+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[n>>2]|0;e=(c[o>>2]|0)-d>>4;if(!e)$n(b,342,0);ro(b,d,d+(e+-1<<4)|0)|0;f=c[n>>2]|0;e=(c[o>>2]|0)-f>>4;d=e+-2|0;if(e>>>0<=1)$n(b,342,-2);i=f+(d<<4)|0;j=f+(e+-1<<4)|0;k=c[i>>2]|0;d=c[f+(d<<4)+8>>2]|0;DQ(i|0,i+16|0,j-i|0)|0;c[j>>2]=2;c[o>>2]=(c[o>>2]|0)+-16;if(k&8|0?(j=d+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0)go(c[b+44>>2]|0,d);h=ar(b,-1,0,2147483647,m)|0;e=c[o>>2]|0;if((e|0)==(c[n>>2]|0))Jn(b,268491,50336874,268507);d=e+-16|0;c[o>>2]=d;k=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[d>>2]=2;if((k&8|0)!=0?(j=e+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0){go(c[b+44>>2]|0,e);d=c[o>>2]|0}if(d>>>0>=(c[g>>2]|0)>>>0)Sn(b,4815);if(h>>>0>2147483646)Jn(b,268491,50336467,268447);g=b+44|0;d=Po(c[g>>2]|0,h,4,m)|0;if(!d)Mn(b,268491,4824);f=c[o>>2]|0;c[f>>2]=10;c[f+8>>2]=d;f=d+4|0;c[f>>2]=(c[f>>2]|0)+1;c[o>>2]=(c[o>>2]|0)+16;f=c[m>>2]|0;if((h|0)>0){e=0;while(1){Zp(b,0,e)|0;a[f+e>>0]=Eq(b,-1)|0;d=c[o>>2]|0;if((d|0)==(c[n>>2]|0))break;k=d+-16|0;c[o>>2]=k;m=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[k>>2]=2;if(m&8|0?(k=d+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)go(c[g>>2]|0,d);e=e+1|0;if((e|0)>=(h|0))break b}Jn(b,268491,50336874,268507)}}while(0);o=(c[o>>2]|0)+-8|0;o=c[o>>2]|0;l=p;return o|0}function Bu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=a+72|0;e=c[g>>2]|0;switch(c[e+-16>>2]|0){case 9:{d=c[e+-8>>2]|0;if(c[d>>2]&8192|0){a=d;return a|0}break}case 10:{if(!(b&2)){a=c[e+-8>>2]|0;return a|0}f=a+76|0;d=c[f>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[f>>2]=d+16;if(c[a+96>>2]|0){b=e+-16|0;c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];e=(c[e+-8>>2]|0)+4|0;c[e>>2]=(c[e>>2]|0)+1}vo(a,-1);b=c[(c[f>>2]|0)+-8>>2]|0;h=c[g>>2]|0;i=h+-16|0;e=c[i>>2]|0;h=h+-8|0;d=c[h>>2]|0;c[i>>2]=9;c[h>>2]=b;h=b+4|0;c[h>>2]=(c[h>>2]|0)+1;if(e&8|0?(h=d+4|0,i=(c[h>>2]|0)+-1|0,c[h>>2]=i,(i|0)==0):0)go(c[a+44>>2]|0,d);d=c[f>>2]|0;if((d|0)==(c[g>>2]|0))Jn(a,268491,50336874,268507);h=d+-16|0;c[f>>2]=h;i=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[h>>2]=2;if(i&8|0?(h=d+4|0,i=(c[h>>2]|0)+-1|0,c[h>>2]=i,(i|0)==0):0)go(c[a+44>>2]|0,d);i=b;return i|0}default:{}}if(!(b&1)){i=0;return i|0}else Jn(a,278145,100663477,278161);return 0}function Cu(a,b){a=a|0;b=b|0;Jn(a,278234,b|100663296,278250)}function Du(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=a+76|0;g=a+72|0;e=(c[h>>2]|0)-(c[g>>2]|0)>>4;f=((b|0)<0?e:0)+b|0;if(f>>>0>=e>>>0)$n(a,267,b);Eu(a,d);d=c[g>>2]|0;e=(c[h>>2]|0)-d>>4;b=((f|0)<0?e:0)+f|0;if(b>>>0>=e>>>0)$n(a,342,f);f=ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[g>>2]|0;e=(c[h>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);i=d+(b<<4)|0;e=d+(e+-1<<4)|0;g=c[i>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(i|0,i+16|0,e-i|0)|0;c[e>>2]=2;c[h>>2]=(c[h>>2]|0)+-16;if(!(g&8))return f|0;h=b+4|0;i=(c[h>>2]|0)+-1|0;c[h>>2]=i;if(i|0)return f|0;go(c[a+44>>2]|0,b);return f|0}function Eu(a,b){a=a|0;b=b|0;var d=0,e=0;if(!b){b=a+76|0;d=c[b>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3787);c[b>>2]=d+16;c[d>>2]=3;return}d=JO(b)|0;e=a+76|0;if((c[e>>2]|0)>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3931);if((d|0)<0)Jn(a,268491,50335592,268919);a=Fo(a,b,d)|0;d=c[e>>2]|0;c[e>>2]=d+16;c[d>>2]=8;c[d+8>>2]=a;a=a+4|0;c[a>>2]=(c[a>>2]|0)+1;return}function Fu(b,e){b=b|0;e=e|0;var 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,A=0;A=l;l=l+16|0;o=A;z=b+76|0;h=c[z>>2]|0;p=b+72|0;w=c[p>>2]|0;w=(h|0)!=(w|0)?w:0;if((c[((w|0)==0?944:w)>>2]|0)==2){if(h>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);k=b+44|0;h=Po(c[k>>2]|0,0,4,o)|0;if(!h)Mn(b,268491,4824);j=c[z>>2]|0;c[j>>2]=10;c[j+8>>2]=h;h=h+4|0;c[h>>2]=(c[h>>2]|0)+1;h=(c[z>>2]|0)+16|0;c[z>>2]=h;j=c[p>>2]|0;h=h-j>>4;if(!h)$n(b,342,-1);h=j+(h+-1<<4)|0;w=c[j>>2]|0;i=c[j+8>>2]|0;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2];c[j+12>>2]=c[h+12>>2];c[h>>2]=2;h=(c[z>>2]|0)+-16|0;c[z>>2]=h;if((w&8|0)!=0?(v=i+4|0,w=(c[v>>2]|0)+-1|0,c[v>>2]=w,(w|0)==0):0){go(c[k>>2]|0,i);h=c[z>>2]|0}}m=c[p>>2]|0;n=m;i=(h|0)!=(n|0)?m:0;i=(i|0)==0?944:i;switch(c[i>>2]|0){case 10:{s=c[(c[i+8>>2]|0)+16>>2]|0;break}case 9:{i=c[i+8>>2]|0;if(!(c[i>>2]&8192))In(b,1744,0,268387);j=c[i+40>>2]|0;if(!j)In(b,1744,0,268387);k=c[i+52>>2]|0;if((k+(c[i+48>>2]|0)|0)>>>0>(c[j+16>>2]|0)>>>0)In(b,1744,0,268387);else s=k;break}default:In(b,1744,0,268387)}h=h-n>>4>>>0>1?m+16|0:0;h=c[((h|0)==0?944:h)>>2]|0;if(1907>>>h&1){if(435>>>h&1|0)Jn(b,268491,100666767,269278);if(Du(b,1,278317)|0)u=gq(b,-1)|0;else u=0}else u=0;if(s>>>0>715827878)Jn(b,278290,100663552,269112);w=b+68|0;if((c[z>>2]|0)>>>0>=(c[w>>2]|0)>>>0)Sn(b,4815);h=Po(c[b+44>>2]|0,(s*3|0)+3|0,4,o)|0;if(!h)Mn(b,268491,4824);t=c[z>>2]|0;c[t>>2]=10;c[t+8>>2]=h;t=h+4|0;c[t>>2]=(c[t>>2]|0)+1;t=(c[z>>2]|0)+16|0;c[z>>2]=t;v=c[o>>2]|0;h=c[p>>2]|0;h=(t|0)!=(h|0)?h:0;h=(h|0)==0?944:h;a:do switch(c[h>>2]|0){case 10:{h=c[h+8>>2]|0;g=c[h+16>>2]|0;if(!(c[h>>2]&128)){h=h+24|0;break a}else{h=c[h+20>>2]|0;break a}}case 9:{h=c[h+8>>2]|0;if(((c[h>>2]&8192|0)!=0?(q=c[h+40>>2]|0,(q|0)!=0):0)?(r=c[h+48>>2]|0,g=c[h+52>>2]|0,(g+r|0)>>>0<=(c[q+16>>2]|0)>>>0):0){if(!(c[q>>2]&128))h=q+24|0;else h=c[q+20>>2]|0;h=h+r|0}else{g=0;h=0}break}default:{g=0;h=0}}while(0);if((s|0)!=(g|0))Jn(b,278290,100663629,271132);t=h+s|0;b:do if((s|0)>0){n=e+6|0;o=e+5|0;p=e+4|0;q=e+7|0;r=e+9|0;s=e+8|0;g=h;i=v;c:while(1){h=g;k=a[n>>0]|0;while(1){m=h+1|0;j=a[h>>0]|0;g=j&255;d:do if(!(k<<24>>24))if(j<<24>>24<=-1){if((j+62&255)<30){a[n>>0]=1;c[e>>2]=g&31;h=m;g=1;break}if((j&-16)<<24>>24==-32){switch(j<<24>>24){case -32:{a[o>>0]=-96;break}case -19:{a[p>>0]=-97;break}default:{}}a[n>>0]=2;c[e>>2]=g&15;h=m;g=2;break}if((j+16&255)<5){switch(j<<24>>24){case -16:{a[o>>0]=-112;break}case -12:{a[p>>0]=-113;break}default:{}}a[n>>0]=3;c[e>>2]=g&7;h=m;g=3}else{h=m;x=64}}else{h=m;x=65}else{if((d[o>>0]|0)<=(j&255)?(d[p>>0]|0)>=(j&255):0){a[o>>0]=-128;a[p>>0]=-65;g=c[e>>2]<<6|g&63;c[e>>2]=g;j=k+-1<<24>>24;a[n>>0]=j;if(j<<24>>24){h=m;g=j;break}c[e>>2]=0;a[n>>0]=0;if((g|0)>=0){h=m;x=65;break}switch(g|0){case -1:{h=m;g=0;break d}case -3:break;default:{h=m;x=64;break d}}}else{c[e>>2]=0;a[n>>0]=0;a[o>>0]=-128;a[p>>0]=-65}x=64}while(0);if((x|0)==64)if(!(a[s>>0]|0)){g=65533;x=65}else break c;if((x|0)==65){x=0;if(a[q>>0]|0){x=69;break}a[q>>0]=1;if((g|0)!=65279){x=69;break}if(!(a[r>>0]|0))g=0;else{g=65279;x=74;break}}if(h>>>0>>0)k=g;else{f=i;break b}}do if((x|0)==69){x=0;if(g>>>0<128){a[i>>0]=g;g=1;break}if(g>>>0<2048){a[i>>0]=g>>>6&31|192;a[i+1>>0]=g&63|128;g=2;break}if(g>>>0<65536)x=74;else{g=g+-65536|0;a[i>>0]=-19;a[i+1>>0]=g>>>16&15|160;a[i+2>>0]=g>>>10&63|128;a[i+3>>0]=-19;a[i+4>>0]=g>>>6&15|176;a[i+5>>0]=g&63|128;g=6}}while(0);if((x|0)==74){x=0;a[i>>0]=g>>>12&15|224;a[i+1>>0]=g>>>6&63|128;a[i+2>>0]=g&63|128;g=3}i=i+g|0;if(h>>>0>>0)g=h;else{f=i;break b}}Jn(b,278290,100663629,271132)}else f=v;while(0);if(!u){g=e+6|0;do if(a[g>>0]|0)if(!(a[e+8>>0]|0)){a[f>>0]=-17;a[f+1>>0]=-65;a[f+2>>0]=-67;y=f+3|0;break}else Jn(b,278290,100663629,271132);else y=f;while(0);c[e>>2]=0;a[e+4>>0]=-65;a[e+5>>0]=-128;a[g>>0]=0;a[e+7>>0]=0;f=y}if((c[z>>2]|0)>>>0>=(c[w>>2]|0)>>>0)Sn(b,3931);f=(v|0)==0?0:f-v|0;if((f|0)<0)Jn(b,268491,50335592,268919);else{b=Fo(b,v,f)|0;e=c[z>>2]|0;c[z>>2]=e+16;c[e>>2]=8;c[e+8>>2]=b;z=b+4|0;c[z>>2]=(c[z>>2]|0)+1;l=A;return}}function Gu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0;j=a+76|0;i=a+72|0;d=(c[j>>2]|0)-(c[i>>2]|0)>>4;d=d>>>0>1?d+-2|0:-2147483648;Eu(a,b);f=c[i>>2]|0;g=(c[j>>2]|0)-f>>4;e=((d|0)<0?g:0)+d|0;if(e>>>0>=g>>>0)$n(a,342,d);if((g|0)==1)$n(a,342,-2);d=g+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,f+(e<<4)|0,f+(g+-1<<4)|0,c[f+(d<<4)>>2]|0,c[f+(d<<4)+4>>2]|0,+h[f+(d<<4)+8>>3],b)|0;e=c[j>>2]|0;if(e-(c[i>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;a=e+-16|0;i=c[a>>2]|0;b=c[e+-8>>2]|0;c[a>>2]=2;if(i&8|0?(a=b+4|0,i=(c[a>>2]|0)+-1|0,c[a>>2]=i,(i|0)==0):0)Wn(c[d>>2]|0,b);a=e+-32|0;i=c[a>>2]|0;b=c[e+-24>>2]|0;c[a>>2]=2;if(i&8|0?(a=b+4|0,i=(c[a>>2]|0)+-1|0,c[a>>2]=i,(i|0)==0):0)Wn(c[d>>2]|0,b);c[j>>2]=e+-32;b=c[d>>2]|0;if(!(c[b+32>>2]|0))return;Rn(b);return}function Hu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+76|0;h=c[b>>2]|0;if(h>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[b>>2]=h+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);d=a+72|0;e=c[d>>2]|0;f=e+-16|0;g=c[f>>2]|0;if((g&-2|0)==2)Jn(a,268491,100667321,271411);c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];if(g&8|0){h=(c[e+-8>>2]|0)+4|0;c[h>>2]=(c[h>>2]|0)+1}Ho(a,-1)|0;h=c[d>>2]|0;a=(c[b>>2]|0)-h>>4;a=a|0?h+(a+-1<<4)|0:0;a=(a|0)==0?944:a;if((c[a>>2]|0)!=8){h=0;return h|0}h=c[a+8>>2]|0;return h|0}function Iu(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0.0,o=0,p=0,q=0,r=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=l;l=l+64|0;E=H;z=H+16|0;G=b+76|0;F=b+72|0;D=c[F>>2]|0;e=(c[G>>2]|0)-D>>4;e=e>>>0>1?D+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9){D=b+428|0;D=c[D>>2]|0;D=D+44|0;D=c[D>>2]|0;D=D+28|0;In(b,2153,-2,D)}e=c[e+8>>2]|0;if(!e){D=b+428|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=z+12|0;c[v>>2]=m+(c[x+20>>2]|0);m=i+28|0;w=z+16|0;c[w>>2]=m;o=m+(c[i+20>>2]|0)|0;c[z+20>>2]=o;y=z+24|0;c[y>>2]=0;c[z+36>>2]=1e4;c[z+44>>2]=1e9;if(m>>>0>=o>>>0)lo(b,271603,282);i=m+1|0;e=a[m>>0]|0;f=e&255;do if(e<<24>>24>-1){q=0;r=f&127}else{if((e&255)<192)lo(b,271603,282);if((e&255)<224){q=1;r=f&31;break}if((e&255)<240){q=2;r=f&15;break}if((e&255)<248){q=3;r=f&7;break}if((e&255)<252){q=4;r=f&3;break}if((e&255)<254){q=5;r=f&1;break}if(e<<24>>24!=-1){q=6;r=0;break}lo(b,271603,282)}while(0);if((i+q|0)>>>0>o>>>0)lo(b,271603,282);if(!q)k=r;else{k=q;e=r;while(1){f=i+1|0;e=a[i>>0]&63|e<<6;if((k|0)>1){i=f;k=k+-1|0}else{i=f;k=e;break}}}c[p>>2]=k;if(!(i>>>0>=m>>>0&i>>>0>>0))lo(b,271603,282);f=i+1|0;e=a[i>>0]|0;i=e&255;do if(e<<24>>24>-1){j=0;t=i&127}else{if((e&255)<192)lo(b,271603,282);if((e&255)<224){j=1;t=i&31;break}if((e&255)<240){j=2;t=i&15;break}if((e&255)<248){j=3;t=i&7;break}if((e&255)<252){j=4;t=i&3;break}if((e&255)<254){j=5;t=i&1;break}if(e<<24>>24!=-1){j=6;t=0;break}lo(b,271603,282)}while(0);if((f+j|0)>>>0>o>>>0)lo(b,271603,282);if(!j)e=t;else{e=t;while(1){i=f+1|0;e=a[f>>0]&63|e<<6;if((j|0)>1){f=i;j=j+-1|0}else{f=i;break}}}p=z+28|0;c[p>>2]=e;c[w>>2]=f;m=k&1|d;e=e<<2;if(g>>>0>=(c[A>>2]|0)>>>0)Sn(b,4815);if(e>>>0>2147483646)Jn(b,268491,50336467,268447);q=b+44|0;e=Po(c[q>>2]|0,e,0,E)|0;if(!e)Mn(b,268491,4824);g=c[G>>2]|0;c[g>>2]=10;c[g+8>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[G>>2]|0;j=g+16|0;c[G>>2]=j;e=c[F>>2]|0;k=j-e|0;f=k>>4;e=f|0?e+(f+-1<<4)|0:0;e=(e|0)==0?944:e;do if((c[e>>2]|0)==10){e=c[e+8>>2]|0;if(!(c[e>>2]&128)){e=e+24|0;break}else{e=c[e+20>>2]|0;break}}else e=0;while(0);c[y>>2]=e;i=f+-4|0;if(f>>>0<=3)$n(b,267,-4);e=c[(c[D>>2]|0)+188>>2]|0;if(j>>>0>=(c[A>>2]|0)>>>0)Sn(b,3761);c[G>>2]=g+32;c[j>>2]=8;c[g+24>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[F>>2]|0;g=(c[G>>2]|0)-f>>4;e=((k|0)<64?g:0)+i|0;if(e>>>0>=g>>>0)$n(b,342,i);ro(b,f+(e<<4)|0,f+(g+-1<<4)|0)|0;f=c[F>>2]|0;g=(c[G>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(b,342,-2);r=f+(e<<4)|0;t=f+(g+-1<<4)|0;d=c[r>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(r|0,r+16|0,t-r|0)|0;c[t>>2]=2;c[G>>2]=(c[G>>2]|0)+-16;do if(d&8|0){t=e+4|0;d=(c[t>>2]|0)+-1|0;c[t>>2]=d;if(d|0)break;go(c[q>>2]|0,e)}while(0);aq(b,-1);g=c[G>>2]|0;f=c[F>>2]|0;e=g-f>>4;e=e|0?f+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if(!(c[e>>2]|0))n=+h[e+8>>3];else n=s;if((g|0)==(f|0))Jn(b,268491,50336874,268507);t=g+-16|0;c[G>>2]=t;d=c[g+-16>>2]|0;e=c[g+-8>>2]|0;c[t>>2]=2;do if(d&8|0){t=e+4|0;d=(c[t>>2]|0)+-1|0;c[t>>2]=d;if(d|0)break;go(c[q>>2]|0,e)}while(0);j=(m|0)!=0;do if(j){if(n<0.0){o=152;break}if(n>+((wp(x)|0)>>>0)){o=152;break}e=~~n>>>0;o=91}else{e=0;o=91}while(0);a:do if((o|0)==91){f=c[u>>2]|0;f=f+(Jq(b,x,e)|0)|0;b:do if(!(Ju(z,c[w>>2]|0,f)|0)){while(1){e=e+1|0;if(e>>>0>(wp(x)|0)>>>0){o=152;break a}g=c[v>>2]|0;if(!(f>>>0>>0?f>>>0>=(c[u>>2]|0)>>>0:0))break;do{f=f+1|0;if(f>>>0>=g>>>0)break}while((a[f>>0]&-64)<<24>>24==-128);if(Ju(z,c[w>>2]|0,f)|0){B=e;break b}}lo(b,278356,101)}else B=e;while(0);g=xo(b,48)|0;i=c[q>>2]|0;c[g>>2]=272679041;e=i+24|0;f=c[e>>2]|0;if(f|0)c[f+12>>2]=g;c[g+12>>2]=0;c[g+8>>2]=f;c[e>>2]=g;e=c[b+160>>2]|0;z=g+20|0;f=c[z>>2]|0;c[z>>2]=e;if(e|0){z=e+4|0;c[z>>2]=(c[z>>2]|0)+1}do if(f|0){x=f+4|0;z=(c[x>>2]|0)+-1|0;c[x>>2]=z;if(z|0)break;fp(i,f)}while(0);e=c[G>>2]|0;c[e>>2]=9;c[e+8>>2]=g;e=g+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[G>>2]|0;f=e+16|0;c[G>>2]=f;if(f>>>0>=(c[A>>2]|0)>>>0)Sn(b,3902);x=e+32|0;c[G>>2]=x;c[f>>2]=0;h[e+24>>3]=+(B>>>0);z=c[F>>2]|0;e=x-z>>4;e=e>>>0>1?z+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9)In(b,1834,-2,268820);e=c[e+8>>2]|0;if(!e)In(b,1834,-2,268820);ho(b,e,c[(c[D>>2]|0)+196>>2]|0,7);e=c[G>>2]|0;if(e>>>0>=(c[A>>2]|0)>>>0)Sn(b,935);f=c[F>>2]|0;g=e-f>>4;if(g>>>0<=3)$n(b,342,-4);z=f+(g+-4<<4)|0;c[G>>2]=e+16;c[e>>2]=c[z>>2];c[e+4>>2]=c[z+4>>2];c[e+8>>2]=c[z+8>>2];c[e+12>>2]=c[z+12>>2];if(c[e>>2]&8|0){z=(c[e+8>>2]|0)+4|0;c[z>>2]=(c[z>>2]|0)+1}z=c[F>>2]|0;e=(c[G>>2]|0)-z>>4;e=e>>>0>1?z+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9)In(b,1834,-2,268820);e=c[e+8>>2]|0;if(!e)In(b,1834,-2,268820);ho(b,e,c[(c[D>>2]|0)+416>>2]|0,7);c:do if(c[p>>2]|0){e=0;i=0;d:while(1){f=c[y>>2]|0;g=c[f+(i<<2)>>2]|0;do if(!g)o=128;else{f=c[f+((i|1)<<2)>>2]|0;if((f|0)==0|f>>>0>>0){o=128;break}f=f-g|0;if((c[G>>2]|0)>>>0>=(c[A>>2]|0)>>>0){o=123;break d}if((f|0)<0){o=125;break d}z=Fo(b,g,f)|0;x=c[G>>2]|0;c[G>>2]=x+16;c[x>>2]=8;c[x+8>>2]=z;z=z+4|0;c[z>>2]=(c[z>>2]|0)+1;if(i|0)break;e=(zp(b,-1)|0)+B|0}while(0);if((o|0)==128){o=0;f=c[G>>2]|0;if(f>>>0>=(c[A>>2]|0)>>>0){o=129;break}c[G>>2]=f+16}Tp(b,-2,i>>>1);i=i+2|0;if(i>>>0>=(c[p>>2]|0)>>>0){C=e;break c}}if((o|0)==123)Sn(b,3931);else if((o|0)==125)Jn(b,268491,50335592,268919);else if((o|0)==129)Sn(b,3772)}else C=0;while(0);if(!j)break;i=c[G>>2]|0;f=c[A>>2]|0;if(i>>>0>=f>>>0)Sn(b,3902);g=i+16|0;c[G>>2]=g;c[i>>2]=0;h[i+8>>3]=+(C>>>0);k=g-(c[F>>2]|0)|0;C=k>>4;m=C+-6|0;if(C>>>0<=5)$n(b,267,-6);e=c[(c[D>>2]|0)+188>>2]|0;if(g>>>0>=f>>>0)Sn(b,3761);c[G>>2]=i+32;c[g>>2]=8;c[i+24>>2]=e;i=e+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[F>>2]|0;j=(c[G>>2]|0)-i>>4;g=((k|0)<96?j:0)+m|0;if(g>>>0>=j>>>0)$n(b,342,m);if((j|0)==1)$n(b,342,-2);f=j+-2|0;e=c[b+88>>2]|0;if(!e)e=1;else e=c[e+32>>2]&1;cp(b,i+(g<<4)|0,i+(j+-1<<4)|0,c[i+(f<<4)>>2]|0,c[i+(f<<4)+4>>2]|0,+h[i+(f<<4)+8>>3],e)|0;f=c[G>>2]|0;if(f-(c[F>>2]|0)>>4>>>0<2)Jn(b,268491,50336767,268507);C=f+-16|0;D=c[C>>2]|0;e=c[f+-8>>2]|0;c[C>>2]=2;do if(D&8|0){C=e+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;Wn(c[q>>2]|0,e)}while(0);C=f+-32|0;D=c[C>>2]|0;e=c[f+-24>>2]|0;c[C>>2]=2;do if(D&8|0){C=e+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;Wn(c[q>>2]|0,e)}while(0);c[G>>2]=f+-32;e=c[q>>2]|0;if(!(c[e+32>>2]|0))break;Rn(e)}while(0);do if((o|0)==152){i=c[G>>2]|0;f=c[A>>2]|0;if(i>>>0>=f>>>0)Sn(b,3787);e=i+16|0;c[G>>2]=e;c[i>>2]=3;if(e>>>0>=f>>>0)Sn(b,3868);g=i+32|0;c[G>>2]=g;c[e>>2]=0;h[i+24>>3]=0.0;k=g-(c[F>>2]|0)|0;C=k>>4;m=C+-6|0;if(C>>>0<=5)$n(b,267,-6);e=c[(c[D>>2]|0)+188>>2]|0;if(g>>>0>=f>>>0)Sn(b,3761);c[G>>2]=i+48;c[g>>2]=8;c[i+40>>2]=e;i=e+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[F>>2]|0;j=(c[G>>2]|0)-i>>4;g=((k|0)<96?j:0)+m|0;if(g>>>0>=j>>>0)$n(b,342,m);if((j|0)==1)$n(b,342,-2);f=j+-2|0;e=c[b+88>>2]|0;if(!e)e=1;else e=c[e+32>>2]&1;cp(b,i+(g<<4)|0,i+(j+-1<<4)|0,c[i+(f<<4)>>2]|0,c[i+(f<<4)+4>>2]|0,+h[i+(f<<4)+8>>3],e)|0;f=c[G>>2]|0;if(f-(c[F>>2]|0)>>4>>>0<2)Jn(b,268491,50336767,268507);C=f+-16|0;D=c[C>>2]|0;e=c[f+-8>>2]|0;c[C>>2]=2;do if(D&8|0){C=e+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;Wn(c[q>>2]|0,e)}while(0);C=f+-32|0;D=c[C>>2]|0;e=c[f+-24>>2]|0;c[C>>2]=2;do if(D&8|0){C=e+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;Wn(c[q>>2]|0,e)}while(0);c[G>>2]=f+-32;e=c[q>>2]|0;if(!(c[e+32>>2]|0))break;Rn(e)}while(0);i=c[G>>2]|0;f=c[F>>2]|0;e=f;g=i-e>>4;if(g>>>0<=4)$n(b,342,-5);j=f+(g+-5<<4)|0;f=f+(g+-1<<4)|0;g=f-j|0;if(!g)f=i;else{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];DQ(j+16|0,j|0,g|0)|0;c[j>>2]=c[E>>2];c[j+4>>2]=c[E+4>>2];c[j+8>>2]=c[E+8>>2];c[j+12>>2]=c[E+12>>2];f=c[G>>2]|0;e=c[F>>2]|0}if(f-e>>4>>>0<4)Jn(b,268491,50336767,268507);F=f+-16|0;b=c[F>>2]|0;e=c[f+-8>>2]|0;c[F>>2]=2;do if(b&8|0){F=e+4|0;b=(c[F>>2]|0)+-1|0;c[F>>2]=b;if(b|0)break;Wn(c[q>>2]|0,e)}while(0);F=f+-32|0;b=c[F>>2]|0;e=c[f+-24>>2]|0;c[F>>2]=2;do if(b&8|0){F=e+4|0;b=(c[F>>2]|0)+-1|0;c[F>>2]=b;if(b|0)break;Wn(c[q>>2]|0,e)}while(0);F=f+-48|0;b=c[F>>2]|0;e=c[f+-40>>2]|0;c[F>>2]=2;do if(b&8|0){F=e+4|0;b=(c[F>>2]|0)+-1|0;c[F>>2]=b;if(b|0)break;Wn(c[q>>2]|0,e)}while(0);F=f+-64|0;b=c[F>>2]|0;e=c[f+-56>>2]|0;c[F>>2]=2;do if(b&8|0){F=e+4|0;b=(c[F>>2]|0)+-1|0;c[F>>2]=b;if(b|0)break;Wn(c[q>>2]|0,e)}while(0);c[G>>2]=f+-64;e=c[q>>2]|0;if(!(c[e+32>>2]|0)){l=H;return}Rn(e);l=H;return}function Ju(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,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;_=l;l=l+16|0;S=_;Z=b+32|0;j=c[Z>>2]|0;if(j>>>0>=(c[b+36>>2]|0)>>>0)Jn(c[b>>2]|0,278356,50331798,278378);c[Z>>2]=j+1;x=b+40|0;j=c[x>>2]|0;y=b+44|0;if(j>>>0>=(c[y>>2]|0)>>>0){Y=b;Y=c[Y>>2]|0;Jn(Y,278356,50331806,278410)}F=b+16|0;G=b+20|0;V=b+12|0;W=b+8|0;z=b+4|0;U=b+28|0;Y=b+24|0;o=d;v=e;d=j;a:while(1){c[x>>2]=d+1;t=o+1|0;w=a[o>>0]|0;b:do switch(w<<24>>24){case 1:{b=v;d=684;break a}case 9:{d=331;break a}case 10:{d=394;break a}case 11:{d=491;break a}case 12:{d=514;break a}case 14:case 13:{d=573;break a}case 2:{s=c[b>>2]|0;p=c[G>>2]|0;if(!(t>>>0

>>0?t>>>0>=(c[F>>2]|0)>>>0:0)){d=27;break a}e=o+2|0;j=a[t>>0]|0;d=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=27;break a}if((j&255)<224){o=1;j=d&31;break}if((j&255)<240){o=2;j=d&15;break}if((j&255)<248){o=3;j=d&7;break}if((j&255)<252){o=4;j=d&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=27;break a}else{o=6;j=0;break}else{o=5;j=d&1;break}}else{o=0;j=d&127}while(0);if((e+o|0)>>>0>p>>>0){d=27;break a}if(!o)r=j;else while(1){d=e+1|0;j=a[e>>0]&63|j<<6;if((o|0)>1){e=d;o=o+-1|0}else{e=d;r=j;break}}d=v;q=c[V>>2]|0;if(d>>>0>>0){if(d>>>0<(c[W>>2]|0)>>>0){d=47;break a}j=d+1|0;d=a[d>>0]|0;o=d&255;do if(d<<24>>24<=-1){if((d&255)<192){d=47;break a}if((d&255)<224){p=1;d=o&31;break}if((d&255)<240){p=2;d=o&15;break}if((d&255)<248){p=3;d=o&7;break}if((d&255)<252){p=4;d=o&3;break}if((d&255)>=254)if(d<<24>>24==-1){d=47;break a}else{p=6;d=0;break}else{p=5;d=o&1;break}}else{p=0;d=o&127}while(0);if((j+p|0)>>>0>q>>>0){d=47;break a}if(p)while(1){o=j+1|0;d=a[j>>0]&63|d<<6;if((p|0)>1){j=o;p=p+-1|0}else{j=o;break}}if(c[z>>2]&2){w=zq(0,d,-1,-1,1)|0;d=(w|0)<0|(d|0)>127&(w|0)<128?d:w}}else{j=v;d=-1}if((r|0)!=(d|0)){d=685;break a}break}case 3:{j=v;p=c[V>>2]|0;if(j>>>0>=p>>>0){d=685;break a}q=c[b>>2]|0;if(j>>>0<(c[W>>2]|0)>>>0){d=70;break a}d=j+1|0;j=a[j>>0]|0;e=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=70;break a}if((j&255)<224){o=1;j=e&31;break}if((j&255)<240){o=2;j=e&15;break}if((j&255)<248){o=3;j=e&7;break}if((j&255)<252){o=4;j=e&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=70;break a}else{o=6;j=0;break}else{o=5;j=e&1;break}}else{o=0;j=e&127}while(0);if((d+o|0)>>>0>p>>>0){d=70;break a}if(o)while(1){e=d+1|0;j=a[d>>0]&63|j<<6;if((o|0)>1){d=e;o=o+-1|0}else{d=e;break}}if(c[z>>2]&2){w=zq(0,j,-1,-1,1)|0;j=(w|0)<0|(j|0)>127&(w|0)<128?j:w}if((j|0)<0){d=685;break a}if((j|0)<8232)switch(j|0){case 10:case 13:{d=685;break a}default:{e=t;j=d;break b}}else switch(j|0){case 8232:case 8233:{d=685;break a}default:{e=t;j=d;break b}}}case 5:case 4:{s=c[b>>2]|0;p=c[G>>2]|0;if(!(t>>>0

>>0?t>>>0>=(c[F>>2]|0)>>>0:0)){d=93;break a}e=o+2|0;j=a[t>>0]|0;d=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=93;break a}if((j&255)<224){o=1;j=d&31;break}if((j&255)<240){o=2;j=d&15;break}if((j&255)<248){o=3;j=d&7;break}if((j&255)<252){o=4;j=d&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=93;break a}else{o=6;j=0;break}else{o=5;j=d&1;break}}else{o=0;j=d&127}while(0);if((e+o|0)>>>0>p>>>0){d=93;break a}if(!o)r=j;else while(1){d=e+1|0;j=a[e>>0]&63|j<<6;if((o|0)>1){e=d;o=o+-1|0}else{e=d;r=j;break}}d=v;q=c[V>>2]|0;if(d>>>0>=q>>>0){d=685;break a}if(d>>>0<(c[W>>2]|0)>>>0){d=113;break a}j=d+1|0;d=a[d>>0]|0;o=d&255;do if(d<<24>>24<=-1){if((d&255)<192){d=113;break a}if((d&255)<224){p=1;d=o&31;break}if((d&255)<240){p=2;d=o&15;break}if((d&255)<248){p=3;d=o&7;break}if((d&255)<252){p=4;d=o&3;break}if((d&255)>=254)if(d<<24>>24==-1){d=113;break a}else{p=6;d=0;break}else{p=5;d=o&1;break}}else{p=0;d=o&127}while(0);if((j+p|0)>>>0>q>>>0){d=113;break a}if(p)while(1){o=j+1|0;d=a[j>>0]&63|d<<6;if((p|0)>1){j=o;p=p+-1|0}else{j=o;break}}if(!(c[z>>2]&2))v=d;else{v=zq(0,d,-1,-1,1)|0;v=(v|0)<0|(d|0)>127&(v|0)<128?d:v}if((v|0)<0){d=685;break a}if(!r)d=0;else{t=c[F>>2]|0;u=c[G>>2]|0;s=r;d=0;do{if(!(e>>>0>=t>>>0&e>>>0>>0)){d=137;break a}q=e+1|0;e=a[e>>0]|0;o=e&255;do if(e<<24>>24<=-1){if((e&255)<192){d=137;break a}if((e&255)<224){p=1;e=o&31;break}if((e&255)<240){p=2;e=o&15;break}if((e&255)<248){p=3;e=o&7;break}if((e&255)<252){p=4;e=o&3;break}if((e&255)>=254)if(e<<24>>24==-1){d=137;break a}else{p=6;e=0;break}else{p=5;e=o&1;break}}else{p=0;e=o&127}while(0);if((q+p|0)>>>0>u>>>0){d=137;break a}if(!p){o=q;r=e}else while(1){o=q+1|0;e=a[q>>0]&63|e<<6;if((p|0)>1){q=o;p=p+-1|0}else{r=e;break}}if(!(o>>>0>=t>>>0&o>>>0>>0)){d=156;break a}e=o+1|0;o=a[o>>0]|0;p=o&255;do if(o<<24>>24<=-1){if((o&255)<192){d=156;break a}if((o&255)<224){q=1;o=p&31;break}if((o&255)<240){q=2;o=p&15;break}if((o&255)<248){q=3;o=p&7;break}if((o&255)<252){q=4;o=p&3;break}if((o&255)>=254)if(o<<24>>24==-1){d=156;break a}else{q=6;o=0;break}else{q=5;o=p&1;break}}else{q=0;o=p&127}while(0);if((e+q|0)>>>0>u>>>0){d=156;break a}if(q)while(1){p=e+1|0;o=a[e>>0]&63|o<<6;if((q|0)>1){e=p;q=q+-1|0}else{e=p;break}}d=(v|0)<(r|0)|(v|0)>(o|0)?d:1;s=s+-1|0}while((s|0)!=0)}d=(d|0)!=0;if(w<<24>>24==4)if(d)break b;else{d=685;break a}else if(d){d=685;break a}else break b}case 16:{j=v;d=c[W>>2]|0;if(j>>>0>d>>>0){r=c[z>>2]|0;if(!(r&4)){d=685;break a}q=c[b>>2]|0;p=c[V>>2]|0;if(d>>>0>j>>>0|p>>>0>>0){d=166;break a}else e=j;while(1){j=e+-1|0;if(j>>>0>>0){d=166;break a}o=a[j>>0]|0;if((o&-64)<<24>>24==-128)e=j;else break}if(j>>>0>=p>>>0){d=685;break a}j=o&255;do if(o<<24>>24<=-1){if((o&255)<192){d=185;break a}if((o&255)<224){d=1;j=j&31;break}if((o&255)<240){d=2;j=j&15;break}if((o&255)<248){d=3;j=j&7;break}if((o&255)<252){d=4;j=j&3;break}if((o&255)>=254)if(o<<24>>24==-1){d=185;break a}else{d=6;j=0;break}else{d=5;j=j&1;break}}else{d=0;j=j&127}while(0);if((e+d|0)>>>0>p>>>0){d=185;break a}if(d)while(1){j=a[e>>0]&63|j<<6;if((d|0)>1){e=e+1|0;d=d+-1|0}else break}if(r&2){w=zq(0,j,-1,-1,1)|0;j=(w|0)<0|(j|0)>127&(w|0)<128?j:w}if((j|0)<8232)switch(j|0){case 10:case 13:{e=t;j=v;break b}default:{d=685;break a}}else switch(j|0){case 8232:case 8233:{e=t;j=v;break b}default:{d=685;break a}}}else{e=t;j=v}break}case 17:{j=v;p=c[V>>2]|0;if(j>>>0

>>0){q=c[b>>2]|0;if(j>>>0<(c[W>>2]|0)>>>0){d=208;break a}e=j+1|0;j=a[j>>0]|0;o=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=208;break a}if((j&255)<224){d=1;j=o&31;break}if((j&255)<240){d=2;j=o&15;break}if((j&255)<248){d=3;j=o&7;break}if((j&255)<252){d=4;j=o&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=208;break a}else{d=6;j=0;break}else{d=5;j=o&1;break}}else{d=0;j=o&127}while(0);if((e+d|0)>>>0>p>>>0){d=208;break a}if(d)while(1){j=a[e>>0]&63|j<<6;if((d|0)>1){e=e+1|0;d=d+-1|0}else break}if(c[z>>2]&2){w=zq(0,j,-1,-1,1)|0;j=(w|0)<0|(j|0)>127&(w|0)<128?j:w}if((j|0)>=0){if(!(c[z>>2]&4)){d=685;break a}if((j|0)<8232)switch(j|0){case 10:case 13:{e=t;j=v;break b}default:{d=685;break a}}else switch(j|0){case 8232:case 8233:{e=t;j=v;break b}default:{d=685;break a}}}else{e=t;j=v}}else{e=t;j=v}break}case 19:case 18:{s=v;j=c[W>>2]|0;if(s>>>0>j>>>0){q=c[b>>2]|0;p=c[V>>2]|0;if(j>>>0>s>>>0|p>>>0>>0){d=218;break a}else e=s;while(1){d=e+-1|0;if(d>>>0>>0){d=218;break a}o=a[d>>0]|0;if((o&-64)<<24>>24==-128)e=d;else break}if(d>>>0

>>0){j=o&255;do if(o<<24>>24<=-1){if((o&255)<192){d=237;break a}if((o&255)<224){d=1;j=j&31;break}if((o&255)<240){d=2;j=j&15;break}if((o&255)<248){d=3;j=j&7;break}if((o&255)<252){d=4;j=j&3;break}if((o&255)>=254)if(o<<24>>24==-1){d=237;break a}else{d=6;j=0;break}else{d=5;j=j&1;break}}else{d=0;j=j&127}while(0);if((e+d|0)>>>0>p>>>0){d=237;break a}if(d)while(1){j=a[e>>0]&63|j<<6;if((d|0)>1){e=e+1|0;d=d+-1|0}else break}if(c[z>>2]&2){u=zq(0,j,-1,-1,1)|0;j=(u|0)<0|(j|0)>127&(u|0)<128?j:u}}else j=-1;r=((j+-48|0)>>>0<10|(j+-97|0)>>>0<26|((j|0)==95|(j+-65|0)>>>0<26))&1}else r=0;p=c[V>>2]|0;if(s>>>0

>>0){q=c[b>>2]|0;if(s>>>0<(c[W>>2]|0)>>>0){d=260;break a}e=s+1|0;j=a[s>>0]|0;o=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=260;break a}if((j&255)<224){d=1;j=o&31;break}if((j&255)<240){d=2;j=o&15;break}if((j&255)<248){d=3;j=o&7;break}if((j&255)<252){d=4;j=o&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=260;break a}else{d=6;j=0;break}else{d=5;j=o&1;break}}else{d=0;j=o&127}while(0);if((e+d|0)>>>0>p>>>0){d=260;break a}if(d)while(1){j=a[e>>0]&63|j<<6;if((d|0)>1){e=e+1|0;d=d+-1|0}else break}if(c[z>>2]&2){u=zq(0,j,-1,-1,1)|0;j=(u|0)<0|(j|0)>127&(u|0)<128?j:u}j=((j+-48|0)>>>0<10|(j+-97|0)>>>0<26|((j|0)==95|(j+-65|0)>>>0<26))&1}else j=0;j=(r|0)==(j|0);if(w<<24>>24==18)if(j){d=685;break a}else{e=t;j=v;break b}else if(j){e=t;j=v;break b}else{d=685;break a}}case 6:{q=c[b>>2]|0;p=c[G>>2]|0;if(!(t>>>0

>>0?t>>>0>=(c[F>>2]|0)>>>0:0)){d=285;break a}d=o+2|0;j=a[t>>0]|0;e=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=285;break a}if((j&255)<224){o=1;j=e&31;break}if((j&255)<240){o=2;j=e&15;break}if((j&255)<248){o=3;j=e&7;break}if((j&255)<252){o=4;j=e&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=285;break a}else{o=6;j=0;break}else{o=5;j=e&1;break}}else{o=0;j=e&127}while(0);if((d+o|0)>>>0>p>>>0){d=285;break a}if(o)while(1){e=d+1|0;j=a[d>>0]&63|j<<6;if((o|0)>1){d=e;o=o+-1|0}else{d=e;break}}e=j>>>1;e=d+((j&1|0)==0?e:0-e|0)|0;j=v;break}case 7:{q=c[b>>2]|0;p=c[G>>2]|0;if(!(t>>>0

>>0?t>>>0>=(c[F>>2]|0)>>>0:0)){d=306;break a}o=o+2|0;j=a[t>>0]|0;d=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=306;break a}if((j&255)<224){e=1;j=d&31;break}if((j&255)<240){e=2;j=d&15;break}if((j&255)<248){e=3;j=d&7;break}if((j&255)<252){e=4;j=d&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=306;break a}else{e=6;j=0;break}else{e=5;j=d&1;break}}else{e=0;j=d&127}while(0);if((o+e|0)>>>0>p>>>0){d=306;break a}if(e)while(1){d=o+1|0;j=a[o>>0]&63|j<<6;if((e|0)>1){o=d;e=e+-1|0}else{o=d;break}}d=j>>>1;e=Ju(b,o,v)|0;if(e|0){d=309;break a}e=o+((j&1|0)==0?d:0-d|0)|0;j=v;break}case 8:{q=c[b>>2]|0;p=c[G>>2]|0;if(!(t>>>0

>>0?t>>>0>=(c[F>>2]|0)>>>0:0)){d=328;break a}e=o+2|0;j=a[t>>0]|0;d=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=328;break a}if((j&255)<224){o=1;j=d&31;break}if((j&255)<240){o=2;j=d&15;break}if((j&255)<248){o=3;j=d&7;break}if((j&255)<252){o=4;j=d&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=328;break a}else{o=6;j=0;break}else{o=5;j=d&1;break}}else{o=0;j=d&127}while(0);if((e+o|0)>>>0>p>>>0){d=328;break a}if(o)while(1){d=e+1|0;j=a[e>>0]&63|j<<6;if((o|0)>1){e=d;o=o+-1|0}else{e=d;break}}w=j>>>1;j=Ju(b,e+((j&1|0)==0?w:0-w|0)|0,v)|0;if(!j)j=v;else{d=330;break a}break}case 15:{q=c[b>>2]|0;p=c[G>>2]|0;if(!(t>>>0

>>0?t>>>0>=(c[F>>2]|0)>>>0:0)){d=633;break a}e=o+2|0;j=a[t>>0]|0;d=j&255;do if(j<<24>>24<=-1){if((j&255)<192){d=633;break a}if((j&255)<224){o=1;j=d&31;break}if((j&255)<240){o=2;j=d&15;break}if((j&255)<248){o=3;j=d&7;break}if((j&255)<252){o=4;j=d&3;break}if((j&255)>=254)if(j<<24>>24==-1){d=633;break a}else{o=6;j=0;break}else{o=5;j=d&1;break}}else{o=0;j=d&127}while(0);if((e+o|0)>>>0>p>>>0){d=633;break a}if(o)while(1){d=e+1|0;j=a[e>>0]&63|j<<6;if((o|0)>1){e=d;o=o+-1|0}else{e=d;break}}j=j<<1;if(j>>>0<2){b=q;d=686;break a}u=j|1;if(u>>>0>=(c[U>>2]|0)>>>0){b=q;d=686;break a}w=c[Y>>2]|0;j=c[w+(j<<2)>>2]|0;if((j|0)!=0?j>>>0<(c[w+(u<<2)>>2]|0)>>>0:0){o=j;j=v;while(1){s=c[V>>2]|0;if(o>>>0>>0){r=c[b>>2]|0;if(o>>>0<(c[W>>2]|0)>>>0){d=657;break a}d=o+1|0;o=a[o>>0]|0;p=o&255;do if(o<<24>>24<=-1){if((o&255)<192){d=657;break a}if((o&255)<224){q=1;o=p&31;break}if((o&255)<240){q=2;o=p&15;break}if((o&255)<248){q=3;o=p&7;break}if((o&255)<252){q=4;o=p&3;break}if((o&255)>=254)if(o<<24>>24==-1){d=657;break a}else{q=6;o=0;break}else{q=5;o=p&1;break}}else{q=0;o=p&127}while(0);if((d+q|0)>>>0>s>>>0){d=657;break a}if(q)while(1){p=d+1|0;o=a[d>>0]&63|o<<6;if((q|0)>1){d=p;q=q+-1|0}else{d=p;break}}if(!(c[z>>2]&2))t=d;else{w=zq(0,o,-1,-1,1)|0;t=d;s=c[V>>2]|0;o=(w|0)<0|(o|0)>127&(w|0)<128?o:w}}else{t=o;o=-1}d=j;do if(d>>>0>>0){r=c[b>>2]|0;if(d>>>0<(c[W>>2]|0)>>>0){d=679;break a}j=d+1|0;d=a[d>>0]|0;p=d&255;do if(d<<24>>24<=-1){if((d&255)<192){d=679;break a}if((d&255)<224){q=1;d=p&31;break}if((d&255)<240){q=2;d=p&15;break}if((d&255)<248){q=3;d=p&7;break}if((d&255)<252){q=4;d=p&3;break}if((d&255)>=254)if(d<<24>>24==-1){d=679;break a}else{q=6;d=0;break}else{q=5;d=p&1;break}}else{q=0;d=p&127}while(0);if((j+q|0)>>>0>s>>>0){d=679;break a}if(q)while(1){p=j+1|0;d=a[j>>0]&63|d<<6;if((q|0)>1){j=p;q=q+-1|0}else{j=p;break}}if(!(c[z>>2]&2))break;w=zq(0,d,-1,-1,1)|0;d=(w|0)<0|(d|0)>127&(w|0)<128?d:w}else d=-1;while(0);if((o|0)!=(d|0)){d=685;break a}if(t>>>0<(c[(c[Y>>2]|0)+(u<<2)>>2]|0)>>>0)o=t;else break}}else j=v;break}default:{d=8;break a}}while(0);d=c[x>>2]|0;if(d>>>0>=(c[y>>2]|0)>>>0){d=6;break}else{o=e;v=j}}c:switch(d|0){case 6:{_=c[b>>2]|0;Jn(_,278356,50331806,278410);break}case 8:{_=c[b>>2]|0;lo(_,278356,667);break}case 27:{lo(s,271603,282);break}case 47:{lo(s,271603,282);break}case 70:{lo(q,271603,282);break}case 93:{lo(s,271603,282);break}case 113:{lo(s,271603,282);break}case 137:{lo(c[b>>2]|0,271603,282);break}case 156:{lo(c[b>>2]|0,271603,282);break}case 166:{lo(q,278356,70);break}case 185:{lo(q,271603,282);break}case 208:{lo(q,271603,282);break}case 218:{lo(q,278356,70);break}case 237:{lo(q,271603,282);break}case 260:{lo(q,271603,282);break}case 285:{lo(q,271603,282);break}case 306:{lo(q,271603,282);break}case 309:{b=e;d=684;break}case 328:{lo(q,271603,282);break}case 330:{b=j;d=684;break}case 331:{e=c[b>>2]|0;n=c[F>>2]|0;d=c[G>>2]|0;if(!(t>>>0>=n>>>0&t>>>0>>0))lo(e,271603,282);i=o+2|0;g=a[t>>0]|0;j=g&255;do if(g<<24>>24<=-1){if((g&255)<192)lo(e,271603,282);if((g&255)<224){m=1;C=j&31;break}if((g&255)<240){m=2;C=j&15;break}if((g&255)<248){m=3;C=j&7;break}if((g&255)<252){m=4;C=j&3;break}if((g&255)<254){m=5;C=j&1;break}if(g<<24>>24==-1)lo(e,271603,282);else{m=6;C=0}}else{m=0;C=j&127}while(0);if((i+m|0)>>>0>d>>>0)lo(e,271603,282);if(!m)m=C;else{g=C;while(1){j=i+1|0;g=a[i>>0]&63|g<<6;if((m|0)>1){i=j;m=m+-1|0}else{i=j;m=g;break}}}if(!(i>>>0>=n>>>0&i>>>0>>0))lo(e,271603,282);j=i+1|0;g=a[i>>0]|0;i=g&255;do if(g<<24>>24<=-1){if((g&255)<192)lo(e,271603,282);if((g&255)<224){k=1;K=i&31;break}if((g&255)<240){k=2;K=i&15;break}if((g&255)<248){k=3;K=i&7;break}if((g&255)<252){k=4;K=i&3;break}if((g&255)<254){k=5;K=i&1;break}if(g<<24>>24==-1)lo(e,271603,282);else{k=6;K=0}}else{k=0;K=i&127}while(0);if((j+k|0)>>>0>d>>>0)lo(e,271603,282);if(!k)k=K;else{g=K;while(1){i=j+1|0;g=a[j>>0]&63|g<<6;if((k|0)>1){j=i;k=k+-1|0}else{j=i;k=g;break}}}if(!(j>>>0>=n>>>0&j>>>0>>0))lo(e,271603,282);i=j+1|0;g=a[j>>0]|0;j=g&255;do if(g<<24>>24>-1){h=0;f=j&127}else{if((g&255)<192)lo(e,271603,282);if((g&255)<224){h=1;f=j&31;break}if((g&255)<240){h=2;f=j&15;break}if((g&255)<248){h=3;f=j&7;break}if((g&255)<252){h=4;f=j&3;break}if((g&255)<254){h=5;f=j&1;break}if(g<<24>>24!=-1){h=6;f=0;break}lo(e,271603,282)}while(0);if((i+h|0)>>>0>d>>>0)lo(e,271603,282);if(h)while(1){g=i+1|0;f=a[i>>0]&63|f<<6;if((h|0)>1){i=g;h=h+-1|0}else{i=g;break}}h=f>>>1;h=i+((f&1|0)==0?h:0-h|0)|0;g=0;f=v;while(1){if(g>>>0>=m>>>0?(R=Ju(b,h,f)|0,R|0):0)break;f=Ju(b,i,f)|0;if(!f){d=685;break c}g=g+1|0;if(g>>>0>k>>>0){d=685;break c}}b=R;d=684;break}case 394:{d=c[b>>2]|0;j=c[F>>2]|0;n=c[G>>2]|0;if(!(t>>>0>=j>>>0&t>>>0>>0))lo(d,271603,282);g=o+2|0;f=a[t>>0]|0;h=f&255;do if(f<<24>>24<=-1){if((f&255)<192)lo(d,271603,282);if((f&255)<224){A=1;D=h&31;break}if((f&255)<240){A=2;D=h&15;break}if((f&255)<248){A=3;D=h&7;break}if((f&255)<252){A=4;D=h&3;break}if((f&255)<254){A=5;D=h&1;break}if(f<<24>>24==-1)lo(d,271603,282);else{A=6;D=0}}else{A=0;D=h&127}while(0);if((g+A|0)>>>0>n>>>0)lo(d,271603,282);if(!A)e=D;else{i=A;f=D;while(1){h=g+1|0;f=a[g>>0]&63|f<<6;if((i|0)>1){g=h;i=i+-1|0}else{g=h;e=f;break}}}if(!(g>>>0>=j>>>0&g>>>0>>0))lo(d,271603,282);h=g+1|0;f=a[g>>0]|0;g=f&255;do if(f<<24>>24<=-1){if((f&255)<192)lo(d,271603,282);if((f&255)<224){H=1;L=g&31;break}if((f&255)<240){H=2;L=g&15;break}if((f&255)<248){H=3;L=g&7;break}if((f&255)<252){H=4;L=g&3;break}if((f&255)<254){H=5;L=g&1;break}if(f<<24>>24==-1)lo(d,271603,282);else{H=6;L=0}}else{H=0;L=g&127}while(0);if((h+H|0)>>>0>n>>>0)lo(d,271603,282);if(!H)k=L;else{i=H;f=L;while(1){g=h+1|0;f=a[h>>0]&63|f<<6;if((i|0)>1){h=g;i=i+-1|0}else{h=g;k=f;break}}}if(!(h>>>0>=j>>>0&h>>>0>>0))lo(d,271603,282);g=h+1|0;f=a[h>>0]|0;h=f&255;do if(f<<24>>24>-1){N=0;P=h&127}else{if((f&255)<192)lo(d,271603,282);if((f&255)<224){N=1;P=h&31;break}if((f&255)<240){N=2;P=h&15;break}if((f&255)<248){N=3;P=h&7;break}if((f&255)<252){N=4;P=h&3;break}if((f&255)<254){N=5;P=h&1;break}if(f<<24>>24!=-1){N=6;P=0;break}lo(d,271603,282)}while(0);if((g+N|0)>>>0>n>>>0)lo(d,271603,282);if(!N)m=P;else{i=N;f=P;while(1){h=g+1|0;f=a[g>>0]&63|f<<6;if((i|0)>1){g=h;i=i+-1|0}else{g=h;m=f;break}}}if(!(g>>>0>=j>>>0&g>>>0>>0))lo(d,271603,282);i=g+1|0;f=a[g>>0]|0;g=f&255;do if(f<<24>>24>-1){Q=0;T=g&127}else{if((f&255)<192)lo(d,271603,282);if((f&255)<224){Q=1;T=g&31;break}if((f&255)<240){Q=2;T=g&15;break}if((f&255)<248){Q=3;T=g&7;break}if((f&255)<252){Q=4;T=g&3;break}if((f&255)<254){Q=5;T=g&1;break}if(f<<24>>24!=-1){Q=6;T=0;break}lo(d,271603,282)}while(0);if((i+Q|0)>>>0>n>>>0)lo(d,271603,282);if(!Q)f=T;else{h=Q;f=T;while(1){g=i+1|0;f=a[i>>0]&63|f<<6;if((h|0)>1){i=g;h=h+-1|0}else{i=g;break}}}j=f>>>1;j=(f&1|0)==0?j:0-j|0;d:do if(!k){f=0;g=v}else{f=0;g=v;do{h=Ju(b,i,g)|0;if(!h)break d;g=h;f=f+1|0}while(f>>>0>>0)}while(0);if(f>>>0>>0){d=685;break}k=i+j|0;e:do if(m){f:while(1){h=Ju(b,k,g)|0;if(h|0){X=h;break e}if((f|0)==(e|0)){d=685;break c}i=c[b>>2]|0;j=c[W>>2]|0;if(g>>>0>>0?1:g>>>0>(c[V>>2]|0)>>>0){b=i;d=489;break}else h=m;do{do{g=g+-1|0;if(g>>>0>>0){b=i;d=489;break f}}while((a[g>>0]&-64)<<24>>24==-128);h=h+-1|0}while((h|0)!=0);f=f+-1|0;if(f>>>0>>0){d=685;break c}}if((d|0)==489)lo(b,278356,70)}else{while(1){h=Ju(b,k,g)|0;if(h|0){X=h;break e}if((f|0)==(e|0)){d=685;break c}if(g>>>0<(c[W>>2]|0)>>>0?1:g>>>0>(c[V>>2]|0)>>>0)break;f=f+-1|0;if(f>>>0>>0){d=685;break c}}Y=c[b>>2]|0;lo(Y,278356,70)}while(0);b=X;d=684;break}case 491:{m=c[b>>2]|0;k=c[G>>2]|0;if(!(t>>>0>>0?t>>>0>=(c[F>>2]|0)>>>0:0))lo(m,271603,282);h=o+2|0;f=a[t>>0]|0;j=f&255;do if(f<<24>>24<=-1){if((f&255)<192)lo(m,271603,282);if((f&255)<224){i=1;g=j&31;break}if((f&255)<240){i=2;g=j&15;break}if((f&255)<248){i=3;g=j&7;break}if((f&255)<252){i=4;g=j&3;break}if((f&255)<254){i=5;g=j&1;break}if(f<<24>>24==-1)lo(m,271603,282);else{i=6;g=0}}else{i=0;g=j&127}while(0);if((h+i|0)>>>0>k>>>0)lo(m,271603,282);if(i)while(1){f=h+1|0;g=a[h>>0]&63|g<<6;if((i|0)>1){h=f;i=i+-1|0}else{h=f;break}}if(g>>>0>=(c[U>>2]|0)>>>0){X=m;lo(X,278356,667)}X=(c[Y>>2]|0)+(g<<2)|0;f=c[X>>2]|0;c[X>>2]=v;b=Ju(b,h,v)|0;if(!b){c[(c[Y>>2]|0)+(g<<2)>>2]=f;d=685;break}else{d=684;break}}case 514:{j=c[b>>2]|0;k=c[F>>2]|0;m=c[G>>2]|0;if(!(t>>>0>=k>>>0&t>>>0>>0))lo(j,271603,282);g=o+2|0;f=a[t>>0]|0;h=f&255;do if(f<<24>>24<=-1){if((f&255)<192)lo(j,271603,282);if((f&255)<224){B=1;n=h&31;break}if((f&255)<240){B=2;n=h&15;break}if((f&255)<248){B=3;n=h&7;break}if((f&255)<252){B=4;n=h&3;break}if((f&255)<254){B=5;n=h&1;break}if(f<<24>>24==-1)lo(j,271603,282);else{B=6;n=0}}else{B=0;n=h&127}while(0);if((g+B|0)>>>0>m>>>0)lo(j,271603,282);if(B){i=B;f=n;while(1){h=g+1|0;f=a[g>>0]&63|f<<6;if((i|0)>1){g=h;i=i+-1|0}else{g=h;n=f;break}}}if(!(g>>>0>=k>>>0&g>>>0>>0))lo(j,271603,282);i=g+1|0;f=a[g>>0]|0;g=f&255;do if(f<<24>>24<=-1){if((f&255)<192)lo(j,271603,282);if((f&255)<224){I=1;M=g&31;break}if((f&255)<240){I=2;M=g&15;break}if((f&255)<248){I=3;M=g&7;break}if((f&255)<252){I=4;M=g&3;break}if((f&255)<254){I=5;M=g&1;break}if(f<<24>>24==-1)lo(j,271603,282);else{I=6;M=0}}else{I=0;M=g&127}while(0);if((i+I|0)>>>0>m>>>0)lo(j,271603,282);if(!I){k=i;h=M}else{h=I;f=M;while(1){g=i+1|0;f=a[i>>0]&63|f<<6;if((h|0)>1){i=g;h=h+-1|0}else{k=g;h=f;break}}}if((h|0)==0?1:(h+n|0)>>>0>(c[U>>2]|0)>>>0){X=j;lo(X,278356,667)}g=c[j+76>>2]|0;f=(g-(c[j+64>>2]|0)>>4)+65|0;if((c[j+80>>2]|0)>>>0>>0){Yn(j,f,4)|0;g=c[b>>2]|0;j=g;g=c[g+76>>2]|0}i=h<<2;h=j+76|0;if(g>>>0>=(c[j+68>>2]|0)>>>0)Sn(j,4815);if(i>>>0>2147483646)Jn(j,268491,50336467,268447);f=Po(c[j+44>>2]|0,i,4,S)|0;if(!f)Mn(j,268491,4824);X=c[h>>2]|0;c[X>>2]=10;c[X+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;c[h>>2]=(c[h>>2]|0)+16;f=c[S>>2]|0;CQ(f|0,(c[Y>>2]|0)+(n<<2)|0,i|0)|0;EQ((c[Y>>2]|0)+(n<<2)|0,0,i|0)|0;h=Ju(b,k,v)|0;if(!h){CQ((c[Y>>2]|0)+(n<<2)|0,f|0,i|0)|0;g=c[b>>2]|0;b=g+76|0;f=c[b>>2]|0;if((f|0)==(c[g+72>>2]|0))Jn(g,268491,50336874,268507);X=f+-16|0;c[b>>2]=X;Y=c[f+-16>>2]|0;b=c[f+-8>>2]|0;c[X>>2]=2;if(!(Y&8)){d=685;break}X=b+4|0;Y=(c[X>>2]|0)+-1|0;c[X>>2]=Y;if(Y|0){d=685;break}go(c[g+44>>2]|0,b);d=685;break}g=c[b>>2]|0;b=g+76|0;f=c[b>>2]|0;if((f|0)==(c[g+72>>2]|0))Jn(g,268491,50336874,268507);X=f+-16|0;c[b>>2]=X;Y=c[f+-16>>2]|0;b=c[f+-8>>2]|0;c[X>>2]=2;do if(Y&8|0){X=b+4|0;Y=(c[X>>2]|0)+-1|0;c[X>>2]=Y;if(Y|0)break;go(c[g+44>>2]|0,b)}while(0);b=h;d=684;break}case 573:{f=c[b>>2]|0;h=c[f+76>>2]|0;g=(h-(c[f+64>>2]|0)>>4)+65|0;if((c[f+80>>2]|0)>>>0>>0){Yn(f,g,4)|0;h=c[b>>2]|0;f=h;h=c[h+76>>2]|0}g=c[U>>2]<<2;i=f+76|0;if(h>>>0>=(c[f+68>>2]|0)>>>0)Sn(f,4815);if(g>>>0>2147483646)Jn(f,268491,50336467,268447);g=Po(c[f+44>>2]|0,g,4,S)|0;if(!g)Mn(f,268491,4824);k=c[i>>2]|0;c[k>>2]=10;c[k+8>>2]=g;k=g+4|0;c[k>>2]=(c[k>>2]|0)+1;c[i>>2]=(c[i>>2]|0)+16;k=c[S>>2]|0;CQ(k|0,c[Y>>2]|0,c[U>>2]<<2|0)|0;j=c[b>>2]|0;h=c[G>>2]|0;if(!(t>>>0>>0?t>>>0>=(c[F>>2]|0)>>>0:0))lo(j,271603,282);i=o+2|0;f=a[t>>0]|0;g=f&255;do if(f<<24>>24<=-1){if((f&255)<192)lo(j,271603,282);if((f&255)<224){E=1;J=g&31;break}if((f&255)<240){E=2;J=g&15;break}if((f&255)<248){E=3;J=g&7;break}if((f&255)<252){E=4;J=g&3;break}if((f&255)<254){E=5;J=g&1;break}if(f<<24>>24==-1)lo(j,271603,282);else{E=6;J=0}}else{E=0;J=g&127}while(0);if((i+E|0)>>>0>h>>>0)lo(j,271603,282);if(!E)f=J;else{h=E;f=J;while(1){g=i+1|0;f=a[i>>0]&63|f<<6;if((h|0)>1){i=g;h=h+-1|0}else{i=g;break}}}h=f>>>1;h=(f&1|0)==0?h:0-h|0;f=v;g=(Ju(b,i,f)|0)!=0;if(w<<24>>24==13){if(g)d=603}else if(!g)d=603;if((d|0)==603?(O=Ju(b,i+h|0,f)|0,O|0):0){g=c[b>>2]|0;b=g+76|0;f=c[b>>2]|0;if((f|0)==(c[g+72>>2]|0))Jn(g,268491,50336874,268507);X=f+-16|0;c[b>>2]=X;Y=c[f+-16>>2]|0;b=c[f+-8>>2]|0;c[X>>2]=2;if(Y&8|0?(X=b+4|0,Y=(c[X>>2]|0)+-1|0,c[X>>2]=Y,(Y|0)==0):0)go(c[g+44>>2]|0,b);b=O;d=684;break}CQ(c[Y>>2]|0,k|0,c[U>>2]<<2|0)|0;g=c[b>>2]|0;b=g+76|0;f=c[b>>2]|0;if((f|0)==(c[g+72>>2]|0))Jn(g,268491,50336874,268507);X=f+-16|0;c[b>>2]=X;Y=c[f+-16>>2]|0;b=c[f+-8>>2]|0;c[X>>2]=2;if((Y&8|0)!=0?(X=b+4|0,Y=(c[X>>2]|0)+-1|0,c[X>>2]=Y,(Y|0)==0):0){go(c[g+44>>2]|0,b);d=685}else d=685;break}case 633:{lo(q,271603,282);break}case 657:{lo(r,271603,282);break}case 679:{lo(r,271603,282);break}case 686:{lo(b,278356,667);break}}if((d|0)==684){c[Z>>2]=(c[Z>>2]|0)+-1;Z=b;l=_;return Z|0}else if((d|0)==685){c[Z>>2]=(c[Z>>2]|0)+-1;Z=0;l=_;return Z|0}return 0}function Ku(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+76|0;if(!b){d=c[g>>2]|0;b=c[a+72>>2]|0;b=(d|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if(((c[b>>2]|0)==9?(e=c[b+8>>2]|0,(e|0)!=0):0)?(c[e>>2]&-134217728|0)==1476395008:0)return}else d=c[g>>2]|0;b=c[a+196>>2]|0;e=a+68|0;if(d>>>0>=(c[e>>2]|0)>>>0)Sn(a,3761);c[g>>2]=d+16;c[d>>2]=9;c[d+8>>2]=b;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[g>>2]|0;if(f>>>0>=(c[e>>2]|0)>>>0)Sn(a,935);b=a+72|0;d=c[b>>2]|0;if((f|0)==(d|0))$n(a,342,0);c[g>>2]=f+16;c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];if(c[f>>2]&8|0){f=(c[f+8>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+1}op(a,1);d=c[b>>2]|0;b=(c[g>>2]|0)-d>>4;if(!b)$n(a,342,-1);e=d+(b+-1<<4)|0;f=c[d>>2]|0;b=c[d+8>>2]|0;c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[e>>2]=2;c[g>>2]=(c[g>>2]|0)+-16;if(!(f&8))return;f=b+4|0;g=(c[f>>2]|0)+-1|0;c[f>>2]=g;if(g|0)return;go(c[a+44>>2]|0,b);return}function Lu(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0.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;w=l;l=l+16|0;r=b+76|0;u=c[r>>2]|0;s=b+72|0;f=u-(c[s>>2]|0)|0;t=f>>4;if(u>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);if(t>>>0>2147483646)Jn(b,268491,50336467,268447);q=b+44|0;e=Po(c[q>>2]|0,t,1,w)|0;if(!e)Mn(b,268491,4824);u=c[r>>2]|0;c[u>>2]=10;c[u+8>>2]=e;u=e+4|0;c[u>>2]=(c[u>>2]|0)+1;u=c[r>>2]|0;c[r>>2]=u+16;u=c[u+8>>2]|0;p=u+20|0;g=c[p>>2]|0;e=g;if((f|0)<=0){t=e;v=e;v=t-v|0;Kn(b,u,v);Ro(b);l=w;return}o=(d|0)==0;f=0;d=e;m=g+t|0;while(1){if(o){j=Eq(b,f)|0;if((m-d|0)>>>0<7){e=d-e|0;g=e+71+(e>>>4)|0;if(g>>>0>>0){v=31;break}Kn(b,u,g);n=c[p>>2]|0;d=n+e|0;e=n;n=n+g|0}else n=m;if(j>>>0<128){k=0;g=1}else{if(j>>>0>=2048)if(j>>>0>=65536)if(j>>>0>=2097152)if(j>>>0<67108864){g=5;v=38}else g=j>>>31|6;else{g=4;v=38}else{g=3;v=38}else{g=2;v=38}if((v|0)==38)v=0;k=a[268912+(g+-1)>>0]|0;m=g;do{m=m+-1|0;a[d+m>>0]=j&63|128;j=j>>>6}while((m|0)>1)}a[d>>0]=j+(k&255);d=d+g|0;g=n}else{g=c[s>>2]|0;if(f>>>0>=(c[r>>2]|0)-g>>4>>>0){v=11;break}i=+jo(b,g+(f<<4)|0);k=c[s>>2]|0;j=k+(f<<4)|0;n=c[j>>2]|0;k=k+(f<<4)+8|0;g=c[k>>2]|0;c[j>>2]=0;h[k>>3]=i;if(n&8|0?(k=g+4|0,n=(c[k>>2]|0)+-1|0,c[k>>2]=n,(n|0)==0):0)go(c[q>>2]|0,g);k=~~i;if(k>>>0>1114111|+(k|0)!=i){v=16;break}if((m-d|0)>>>0<6){e=d-e|0;g=e+70+(e>>>4)|0;if(g>>>0>>0){v=19;break}Kn(b,u,g);j=c[p>>2]|0;d=j+e|0;e=j;j=j+g|0}else j=m;do if(k>>>0>=128){if(k>>>0<2048){a[d>>0]=k>>>6&31|192;a[d+1>>0]=k&63|128;g=2;break}if(k>>>0<65536){a[d>>0]=k>>>12&15|224;a[d+1>>0]=k>>>6&63|128;a[d+2>>0]=k&63|128;g=3;break}else{g=k+-65536|0;a[d>>0]=-19;a[d+1>>0]=g>>>16&15|160;a[d+2>>0]=g>>>10&63|128;a[d+3>>0]=-19;a[d+4>>0]=g>>>6&15|176;a[d+5>>0]=g&63|128;g=6;break}}else{a[d>>0]=k;g=1}while(0);d=d+g|0;g=j}f=f+1|0;if((f|0)<(t|0))m=g;else{v=43;break}}if((v|0)==11)$n(b,267,f);else if((v|0)==16)Jn(b,278340,50331838,271432);else if((v|0)==19)Jn(b,269610,50331716,268447);else if((v|0)==31)Jn(b,269610,50331716,268447);else if((v|0)==43){v=d-e|0;Kn(b,u,v);Ro(b);l=w;return}}function Mu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=l;l=l+16|0;h=i;f=a+76|0;e=c[f>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[f>>2]=e+16;b=a+72|0;if(c[a+96>>2]|0?(d=c[b>>2]|0,j=d+-16|0,g=c[j>>2]|0,c[e>>2]=c[j>>2],c[e+4>>2]=c[j+4>>2],c[e+8>>2]=c[j+8>>2],c[e+12>>2]=c[j+12>>2],g&8|0):0){j=(c[d+-8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}g=c[b>>2]|0;e=(c[f>>2]|0)-g>>4;d=e+-1|0;f=g+(d<<4)|0;b=e|0?f:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9){j=a+428|0;j=c[j>>2]|0;j=j+44|0;j=c[j>>2]|0;j=j+28|0;In(a,2153,-1,j)}b=c[b+8>>2]|0;if(!b){j=a+428|0;j=c[j>>2]|0;j=j+44|0;j=c[j>>2]|0;j=j+28|0;In(a,2153,-1,j)}if((c[b>>2]&-134217728|0)!=1476395008){j=a+428|0;j=c[j>>2]|0;j=j+44|0;j=c[j>>2]|0;j=j+28|0;In(a,2153,-1,j)}if(!e)$n(a,342,0);if(!d){l=i;return}c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];DQ(g+16|0,g|0,d<<4|0)|0;c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];l=i;return}function Nu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=a+76|0;e=c[i>>2]|0;f=a+72|0;d=c[f>>2]|0;g=e-d>>4;h=((b|0)<0?g:0)+b|0;if(h>>>0>=g>>>0)$n(a,267,b);switch(c[d+(h<<4)>>2]|0){case 5:case 8:case 9:case 10:{g=c[d+(h<<4)+8>>2]|0;break}default:g=0}if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3974);c[i>>2]=e+16;c[e>>2]=5;c[e+8>>2]=g;d=c[f>>2]|0;e=(c[i>>2]|0)-d>>4;if(!e)$n(a,342,-1);f=d+(e+-1<<4)|0;b=((h|0)<0?e:0)+h|0;if(b>>>0>=e>>>0)$n(a,342,h);e=d+(b<<4)|0;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<<4)|0,i+(j+-1<<4)|0)|0;i=c[z>>2]|0;j=(c[A>>2]|0)-i>>4;h=j+-2|0;if(j>>>0<=1)$n(a,342,-2);D=i+(h<<4)|0;B=i+(j+-1<<4)|0;C=c[D>>2]|0;i=c[i+(h<<4)+8>>2]|0;DQ(D|0,D+16|0,B-D|0)|0;c[B>>2]=2;h=(c[A>>2]|0)+-16|0;c[A>>2]=h;do if(C&8){C=i+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;go(c[a+44>>2]|0,i);h=c[A>>2]|0}while(0);if(!k){m=0;o=0}else{i=c[z>>2]|0;j=h-i>>4;if(!j)$n(a,342,-1);i=i+(j+-1<<4)|0;do if((c[i>>2]|0)==2){o=0;q=h}else{i=(i|0)==0?944:i;switch(c[i>>2]|0){case 9:{m=i+8|0;p=h;break}case 6:{vo(a,-1);p=c[A>>2]|0;m=p+-8|0;break}default:Jn(a,268642,100668329,269311)}h=c[m>>2]|0;if(!h)Jn(a,268642,100668329,269311);if(c[h>>2]&6656|0){o=h;q=p;break}Jn(a,268642,100668329,269311)}while(0);m=1;b=b|128;h=q}D=h-(c[z>>2]|0)>>4;k=(x?D:0)+y|0;if(k>>>0>=D>>>0)$n(a,267,y);i=c[(c[v>>2]|0)+324>>2]|0;if(h>>>0>=(c[w>>2]|0)>>>0)Sn(a,3761);c[A>>2]=h+16;c[h>>2]=8;c[h+8>>2]=i;i=i+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[z>>2]|0;j=(c[A>>2]|0)-i>>4;h=((k|0)<0?j:0)+k|0;if(h>>>0>=j>>>0)$n(a,342,k);k=ro(a,i+(h<<4)|0,i+(j+-1<<4)|0)|0;i=c[z>>2]|0;j=(c[A>>2]|0)-i>>4;h=j+-2|0;if(j>>>0<=1)$n(a,342,-2);B=i+(h<<4)|0;C=i+(j+-1<<4)|0;D=c[B>>2]|0;i=c[i+(h<<4)+8>>2]|0;DQ(B|0,B+16|0,C-B|0)|0;c[C>>2]=2;h=(c[A>>2]|0)+-16|0;c[A>>2]=h;do if(D&8){C=i+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;go(c[a+44>>2]|0,i);h=c[A>>2]|0}while(0);if(!k)n=0;else{i=c[z>>2]|0;j=h-i>>4;if(!j)$n(a,342,-1);i=i+(j+-1<<4)|0;do if((c[i>>2]|0)==2){n=0;t=h}else{i=(i|0)==0?944:i;switch(c[i>>2]|0){case 9:{r=i+8|0;s=h;break}case 6:{vo(a,-1);s=c[A>>2]|0;r=s+-8|0;break}default:Jn(a,268642,100668329,269311)}h=c[r>>2]|0;if(!h)Jn(a,268642,100668329,269311);if(c[h>>2]&6656|0){n=h;t=s;break}Jn(a,268642,100668329,269311)}while(0);m=1;b=b|256;h=t}D=h-(c[z>>2]|0)>>4;k=(x?D:0)+y|0;if(k>>>0>=D>>>0)$n(a,267,y);i=c[(c[v>>2]|0)+148>>2]|0;if(h>>>0>=(c[w>>2]|0)>>>0)Sn(a,3761);c[A>>2]=h+16;c[h>>2]=8;c[h+8>>2]=i;i=i+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[z>>2]|0;j=(c[A>>2]|0)-i>>4;h=((k|0)<0?j:0)+k|0;if(h>>>0>=j>>>0)$n(a,342,k);k=ro(a,i+(h<<4)|0,i+(j+-1<<4)|0)|0;i=c[z>>2]|0;j=(c[A>>2]|0)-i>>4;h=j+-2|0;if(j>>>0<=1)$n(a,342,-2);B=i+(h<<4)|0;C=i+(j+-1<<4)|0;D=c[B>>2]|0;h=c[i+(h<<4)+8>>2]|0;DQ(B|0,B+16|0,C-B|0)|0;c[C>>2]=2;c[A>>2]=(c[A>>2]|0)+-16;do if(D&8|0){C=h+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;go(c[a+44>>2]|0,h)}while(0);do if(k)if(!(gq(a,-1)|0)){b=b|16;break}else{b=b|18;break}while(0);i=c[A>>2]|0;D=i-(c[z>>2]|0)>>4;k=(x?D:0)+y|0;if(k>>>0>=D>>>0)$n(a,267,y);h=c[(c[v>>2]|0)+144>>2]|0;if(i>>>0>=(c[w>>2]|0)>>>0)Sn(a,3761);c[A>>2]=i+16;c[i>>2]=8;c[i+8>>2]=h;i=h+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[z>>2]|0;j=(c[A>>2]|0)-i>>4;h=((k|0)<0?j:0)+k|0;if(h>>>0>=j>>>0)$n(a,342,k);k=ro(a,i+(h<<4)|0,i+(j+-1<<4)|0)|0;i=c[z>>2]|0;j=(c[A>>2]|0)-i>>4;h=j+-2|0;if(j>>>0<=1)$n(a,342,-2);B=i+(h<<4)|0;C=i+(j+-1<<4)|0;D=c[B>>2]|0;h=c[i+(h<<4)+8>>2]|0;DQ(B|0,B+16|0,C-B|0)|0;c[C>>2]=2;c[A>>2]=(c[A>>2]|0)+-16;do if(D&8|0){C=h+4|0;D=(c[C>>2]|0)+-1|0;c[C>>2]=D;if(D|0)break;go(c[a+44>>2]|0,h)}while(0);do if(k)if(!(gq(a,-1)|0)){b=b|32;break}else{b=b|36;break}while(0);if((l|0)!=0&(m|0)!=0)Jn(a,268642,100668329,269311);else{c[d>>2]=b;c[e>>2]=u;c[f>>2]=o;c[g>>2]=n;return}}function Pu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0.0;m=a+76|0;e=c[m>>2]|0;j=a+68|0;if(e>>>0>=(c[j>>2]|0)>>>0)Sn(a,3997);c[m>>2]=e+16;l=a+72|0;if(c[a+96>>2]|0?(b=c[l>>2]|0,i=b+-16|0,k=c[i>>2]|0,c[e>>2]=c[i>>2],c[e+4>>2]=c[i+4>>2],c[e+8>>2]=c[i+8>>2],c[e+12>>2]=c[i+12>>2],k&8|0):0){k=(c[b+-8>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}e=c[m>>2]|0;b=c[l>>2]|0;i=e-b|0;f=i>>4;k=f+-1|0;b=f|0?b+(k<<4)|0:0;b=(b|0)==0?944:b;switch(c[b>>2]|0){case 0:{d=e;break}case 9:{g=7;break}default:Jn(a,278535,100663321,278551)}if((g|0)==7){b=c[b+8>>2]|0;if(!b)Jn(a,278535,100663321,278551);if((c[b>>2]&-134217728|0)!=1342177280)Jn(a,278535,100663321,278551);d=e;if(!f)$n(a,267,-1);b=c[(c[a+428>>2]|0)+356>>2]|0;if(d>>>0>=(c[j>>2]|0)>>>0)Sn(a,3761);c[m>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[l>>2]|0;e=(c[m>>2]|0)-d>>4;b=((i|0)<16?e:0)+k|0;if(b>>>0>=e>>>0)$n(a,342,k);ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[l>>2]|0;e=(c[m>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);i=d+(b<<4)|0;j=d+(e+-1<<4)|0;k=c[i>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(i|0,i+16|0,j-i|0)|0;c[j>>2]=2;d=(c[m>>2]|0)+-16|0;c[m>>2]=d;if((k&8|0)!=0?(j=b+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0){go(c[a+44>>2]|0,b);d=c[m>>2]|0}e=c[l>>2]|0;d=d-e>>4;b=d+-2|0;if(d>>>0<=1)$n(a,342,-2);j=e+(b<<4)|0;d=e+(d+-1<<4)|0;k=c[j>>2]|0;b=c[e+(b<<4)+8>>2]|0;DQ(j|0,j+16|0,d-j|0)|0;c[d>>2]=2;d=(c[m>>2]|0)+-16|0;c[m>>2]=d;if((k&8|0)!=0?(j=b+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0){go(c[a+44>>2]|0,b);d=c[m>>2]|0}}m=c[l>>2]|0;b=d-m>>4;b=b|0?m+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if(c[b>>2]|0){n=s;return +n}n=+h[b+8>>3];return +n}function Qu(a,b){a=+a;b=+b;return +(+K(+a,+b))}function Ru(a,b){a=+a;b=+b;var c=0;c=XO(b)|0;if(!c){b=s;return +b}if((c|0)==1&+B(+a)==1.0){b=s;return +b}b=+D(+a,+b);return +b}function Su(a){a=+a;return +(+B(+a))}function Tu(a){a=+a;return +(+H(+a))}function Uu(a){a=+a;return +(+I(+a))}function Vu(a){a=+a;return +(+J(+a))}function Wu(a){a=+a;return +(+N(+a))}function Xu(a){a=+a;return +(+E(+a))}function Yu(a){a=+a;return +(+L(+a))}function Zu(a){a=+a;return +(+A(+a))}function _u(a){a=+a;return +(+M(+a))}function $u(a){a=+a;if((XO(a)|0)>>>0<3)return +a;if(a>=-.5&a<.5){a=a<0.0?-0.0:0.0;return +a}else{a=+A(+(a+.5));return +a}return 0.0}function av(a){a=+a;return +(+F(+a))}function bv(a){a=+a;return +(+C(+a))}function cv(a){a=+a;return +(+G(+a))}function dv(a){a=+a;return +(+RO(a))}function ev(a){a=+a;return +(+UO(a))}function fv(a){a=+a;return +(+TO(a))}function gv(a){a=+a;return +(+WO(a))}function hv(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;do if((f|0)==37){f=b+24|0;i=c[f>>2]|0;e=(c[b+32>>2]|0)-i|0;if(e>>>0>4){e=a[i>>0]|0;if(e<<24>>24==117){e=a[269806+(d[i+1>>0]|0)>>0]|0;if((((e<<24>>24>-1?(h=a[269806+(d[i+2>>0]|0)>>0]|0,h<<24>>24>-1):0)?(j=a[269806+(d[i+3>>0]|0)>>0]|0,j<<24>>24>-1):0)?(k=a[269806+(d[i+4>>0]|0)>>0]|0,k<<24>>24>-1):0)?(g=(k<<24>>24)+((j<<24>>24)+((h<<24>>24)+(e<<24>>24<<4)<<4)<<4)|0,(g|0)>-1):0){c[f>>2]=i+5;break}else e=117}}else{if(e>>>0<=1){g=37;break}e=a[i>>0]|0}e=a[269806+(e&255)>>0]|0;if((e<<24>>24>-1?(l=a[269806+(d[i+1>>0]|0)>>0]|0,l<<24>>24>-1):0)?(m=(l<<24>>24)+(e<<24>>24<<4)|0,(m|0)>-1):0){c[f>>2]=i+2;g=m}else g=37}else g=f;while(0);k=b+8|0;j=b+16|0;f=c[k>>2]|0;e=f;do if(((c[j>>2]|0)-f|0)>>>0<7){h=c[b>>2]|0;i=b+12|0;e=f-(c[i>>2]|0)|0;f=e+71+(e>>>4)|0;if(f>>>0>>0)Jn(h,269610,50331716,268447);else{b=b+20|0;Kn(h,c[b>>2]|0,f);b=c[(c[b>>2]|0)+20>>2]|0;o=b+e|0;c[k>>2]=o;c[i>>2]=b;c[j>>2]=b+f;break}}else o=e;while(0);if(g>>>0<128){m=g;b=0;n=1;b=b&255;b=m+b|0;b=b&255;a[o>>0]=b;o=c[k>>2]|0;o=o+n|0;c[k>>2]=o;return}if(g>>>0>=2048)if(g>>>0>=65536)if(g>>>0>=2097152)if(g>>>0<67108864){e=5;n=21}else e=g>>>31|6;else{e=4;n=21}else{e=3;n=21}else{e=2;n=21}f=a[268912+(e+-1)>>0]|0;h=e;do{h=h+-1|0;a[o+h>>0]=g&63|128;g=g>>>6}while((h|0)>1);n=f&255;n=g+n|0;n=n&255;a[o>>0]=n;o=c[k>>2]|0;o=o+e|0;c[k>>2]=o;return}function iv(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+48|0;t=u;c[t>>2]=b;Ho(b,0)|0;h=b+76|0;g=c[h>>2]|0;f=c[b+72>>2]|0;f=(g|0)!=(f|0)?f:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8)i=c[f+8>>2]|0;else i=0;c[t+4>>2]=i;s=t+8|0;k=i+20|0;j=c[k>>2]|0;if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);if(j>>>0>2147483646)Jn(b,268491,50336467,268447);f=Po(c[b+44>>2]|0,j,1,u+36|0)|0;if(!f)Mn(b,268491,4824);m=c[h>>2]|0;c[m>>2]=10;c[m+8>>2]=f;m=f+4|0;c[m>>2]=(c[m>>2]|0)+1;m=c[h>>2]|0;c[h>>2]=m+16;m=c[m+8>>2]|0;p=t+20|0;c[p>>2]=m;f=c[m+20>>2]|0;c[s>>2]=f;q=t+12|0;c[q>>2]=f;r=t+16|0;c[r>>2]=f+j;g=i+28|0;o=t+28|0;c[o>>2]=g;h=g+(c[k>>2]|0)|0;k=t+32|0;c[k>>2]=h;n=t+24|0;c[n>>2]=g;if(g>>>0>>0)f=g;else{d=f;t=f;e=m;t=d-t|0;Kn(b,e,t);e=c[p>>2]|0;e=e+20|0;e=c[e>>2]|0;t=e+t|0;c[s>>2]=t;c[q>>2]=e;c[r>>2]=t;Ro(b);l=u;return}a:while(1){g=f+1|0;f=a[f>>0]|0;i=f&255;do if(f<<24>>24<=-1){if((f&255)<192){f=27;break a}if((f&255)<224){j=1;f=i&31;break}if((f&255)<240){j=2;f=i&15;break}if((f&255)<248){j=3;f=i&7;break}if((f&255)<252){j=4;f=i&3;break}if((f&255)>=254)if(f<<24>>24==-1){f=27;break a}else{j=6;f=0;break}else{j=5;f=i&1;break}}else{j=0;f=i&127}while(0);if((g+j|0)>>>0>h>>>0){f=27;break}if(j)while(1){h=g+1|0;f=a[g>>0]&63|f<<6;if((j|0)>1){g=h;j=j+-1|0}else{g=h;break}}c[n>>2]=g;Dg[d&63](t,e,f);f=c[n>>2]|0;h=c[k>>2]|0;if(f>>>0>=h>>>0){f=30;break}if(f>>>0<(c[o>>2]|0)>>>0){f=27;break}}if((f|0)==27)lo(b,271603,282);else if((f|0)==30){d=c[s>>2]|0;t=c[q>>2]|0;e=c[p>>2]|0;t=d-t|0;Kn(b,e,t);e=c[p>>2]|0;e=e+20|0;e=c[e>>2]|0;t=e+t|0;c[s>>2]=t;c[q>>2]=e;c[r>>2]=t;Ro(b);l=u;return}}function jv(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;j=b+8|0;k=b+16|0;g=c[j>>2]|0;e=g;do if(((c[k>>2]|0)-g|0)>>>0<6){h=c[b>>2]|0;i=b+12|0;e=g-(c[i>>2]|0)|0;g=e+70+(e>>>4)|0;if(g>>>0>>0)Jn(h,269610,50331716,268447);else{l=b+20|0;Kn(h,c[l>>2]|0,g);h=c[(c[l>>2]|0)+20>>2]|0;l=h+e|0;c[j>>2]=l;c[i>>2]=h;c[k>>2]=h+g;break}}else l=e;while(0);if((f|0)<0){k=c[b>>2]|0;Jn(k,278604,100663677,278620)}if((f|0)<128){if((d[278588+(f>>>3)>>0]|0)&1<<(f&7)|0){c[j>>2]=l+1;a[l>>0]=f;return}}else if((f|0)>=256){if((f|0)>=65536){b=c[b>>2]|0;Jn(b,278604,100663677,278620)}a[l>>0]=37;a[l+1>>0]=117;a[l+2>>0]=a[314085+(f>>>12)>>0]|0;a[l+3>>0]=a[314085+(f>>>8&15)>>0]|0;a[l+4>>0]=a[314085+(f>>>4&15)>>0]|0;a[l+5>>0]=a[314085+(f&15)>>0]|0;c[j>>2]=l+6;return}a[l>>0]=37;a[l+1>>0]=a[314085+(f>>>4)>>0]|0;a[l+2>>0]=a[314085+(f&15)>>0]|0;c[j>>2]=l+3;return}function kv(b,e,f){b=b|0;e=e|0;f=f|0;var 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;t=l;l=l+16|0;r=t;s=b+8|0;o=b+16|0;j=c[s>>2]|0;i=j;do if(((c[o>>2]|0)-j|0)>>>0<21){m=c[b>>2]|0;n=b+12|0;i=j-(c[n>>2]|0)|0;j=i+85+(i>>>4)|0;if(j>>>0>>0)Jn(m,269610,50331716,268447);else{q=b+20|0;Kn(m,c[q>>2]|0,j);m=c[(c[q>>2]|0)+20>>2]|0;q=m+i|0;c[s>>2]=q;c[n>>2]=m;c[o>>2]=m+j;break}}else q=i;while(0);if((f|0)<0){o=c[b>>2]|0;Jn(o,278604,117440715,278620)}if((f|0)<128?(d[e+(f>>>3)>>0]|0)&1<<(f&7)|0:0){c[s>>2]=q+1;a[q>>0]=f;l=t;return}a:do switch(f&-1024|0){case 55296:{e=b+24|0;n=c[b+32>>2]|0;j=c[e>>2]|0;if(!(j>>>0>>0?j>>>0>=(c[b+28>>2]|0)>>>0:0)){o=c[b>>2]|0;Jn(o,278604,117440715,278620)}i=j+1|0;j=a[j>>0]|0;m=j&255;do if(j<<24>>24<=-1){if((j&255)<192){o=c[b>>2]|0;Jn(o,278604,117440715,278620)}if((j&255)<224){k=1;g=m&31;break}if((j&255)<240){k=2;g=m&15;break}if((j&255)<248){k=3;g=m&7;break}if((j&255)<252){k=4;g=m&3;break}if((j&255)<254){k=5;g=m&1;break}if(j<<24>>24==-1){o=c[b>>2]|0;Jn(o,278604,117440715,278620)}else{k=6;g=0}}else{k=0;g=m&127}while(0);if((i+k|0)>>>0>n>>>0){o=c[b>>2]|0;Jn(o,278604,117440715,278620)}if(k)while(1){j=i+1|0;g=a[i>>0]&63|g<<6;if((k|0)>1){i=j;k=k+-1|0}else{i=j;break}}c[e>>2]=i;if((g&-1024|0)==56320){h=(f<<10)+-56613888+g|0;break a}else{f=c[b>>2]|0;Jn(f,278604,117440715,278620)}break}case 56320:{f=c[b>>2]|0;Jn(f,278604,117440715,278620);break}default:if((f|0)>1114111){f=c[b>>2]|0;Jn(f,278604,117440715,278620)}else h=f}while(0);if(h>>>0<128){i=0;j=1}else{if(h>>>0>=2048)if(h>>>0>=65536)if(h>>>0>=2097152)if(h>>>0<67108864){g=5;p=36}else g=h>>>31|6;else{g=4;p=36}else{g=3;p=36}else{g=2;p=36}i=a[268912+(g+-1)>>0]|0;j=g;do{j=j+-1|0;a[r+j>>0]=h&63|128;h=h>>>6}while((j|0)>1);j=g}p=h+(i&255)|0;a[r>>0]=p;a[q>>0]=37;a[q+1>>0]=a[314085+(p>>>4&15)>>0]|0;g=q+3|0;a[q+2>>0]=a[314085+(p&15)>>0]|0;c[s>>2]=g;if((j|0)>1)h=1;else{l=t;return}do{q=d[r+h>>0]|0;a[g>>0]=37;a[g+1>>0]=a[314085+(q>>>4)>>0]|0;a[g+2>>0]=a[314085+(q&15)>>0]|0;g=g+3|0;c[s>>2]=g;h=h+1|0}while((h|0)!=(j|0));l=t;return}function lv(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;r=b+8|0;l=b+16|0;i=c[r>>2]|0;g=i;do if(((c[l>>2]|0)-i|0)>>>0<7){j=c[b>>2]|0;k=b+12|0;g=i-(c[k>>2]|0)|0;i=g+71+(g>>>4)|0;if(i>>>0>>0)Jn(j,269610,50331716,268447);else{n=b+20|0;Kn(j,c[n>>2]|0,i);n=c[(c[n>>2]|0)+20>>2]|0;h=n+g|0;c[r>>2]=h;c[k>>2]=n;c[l>>2]=n+i;break}}else h=g;while(0);if((f|0)!=37){if(f>>>0<128){i=0;g=1}else{if(f>>>0>=2048)if(f>>>0>=65536)if(f>>>0>=2097152)if(f>>>0<67108864){g=5;o=45}else g=f>>>31|6;else{g=4;o=45}else{g=3;o=45}else{g=2;o=45}i=a[268912+(g+-1)>>0]|0;j=g;do{j=j+-1|0;a[h+j>>0]=f&63|128;f=f>>>6}while((j|0)>1)}a[h>>0]=f+(i&255);b=g;q=c[r>>2]|0;b=q+b|0;c[r>>2]=b;return}n=b+24|0;k=c[n>>2]|0;i=(c[b+32>>2]|0)-k|0;if(i>>>0<2){o=c[b>>2]|0;Jn(o,278604,117440853,278620)}g=a[269806+(d[k>>0]|0)>>0]|0;if(g<<24>>24<=-1){o=c[b>>2]|0;Jn(o,278604,117440853,278620)}j=k+1|0;f=a[269806+(d[j>>0]|0)>>0]|0;if(f<<24>>24<=-1){o=c[b>>2]|0;Jn(o,278604,117440853,278620)}g=(f<<24>>24)+(g<<24>>24<<4)|0;if((g|0)<0){o=c[b>>2]|0;Jn(o,278604,117440853,278620)}if((g|0)<128)if(!((d[e+(g>>>3)>>0]|0)&1<<(g&7))){c[r>>2]=h+1;a[h>>0]=g;b=2;r=n;q=c[r>>2]|0;b=q+b|0;c[r>>2]=b;return}else{a[h>>0]=37;a[h+1>>0]=a[k>>0]|0;a[h+2>>0]=a[j>>0]|0;c[r>>2]=h+3;b=2;r=n;q=c[r>>2]|0;b=q+b|0;c[r>>2]=b;return}if((g|0)<192){o=c[b>>2]|0;Jn(o,278604,117440853,278620)}if((g|0)>=224)if((g|0)>=240)if((g|0)<248){p=4;q=65536;m=7}else{o=c[b>>2]|0;Jn(o,278604,117440853,278620)}else{p=3;q=2048;m=15}else{p=2;q=128;m=31}if(i>>>0<((p*3|0)+-1|0)>>>0){o=c[b>>2]|0;Jn(o,278604,117440853,278620)}e=1;l=m&g;while(1){j=k+3|0;g=a[269806+(d[j>>0]|0)>>0]|0;if(g<<24>>24<=-1){o=49;break}f=a[269806+(d[k+4>>0]|0)>>0]|0;if(f<<24>>24<=-1){o=49;break}g=(f<<24>>24)+(g<<24>>24<<4)|0;if((g&-2147483456|0)!=128){o=49;break}i=l<<6;f=g&63|i;e=e+1|0;if(e>>>0>=p>>>0){o=22;break}else{l=f;k=j}}if((o|0)==22){c[n>>2]=k+5;if((f|0)<(q|0)|(f|0)>1114111|(i&-2048|0)==55296){b=c[b>>2]|0;Jn(b,278604,117440853,278620)}if((f|0)<=65535)if(f>>>0<128){i=1;g=0}else{if(f>>>0>=2048)if(f>>>0<65536)j=3;else j=l>>>25&1|6;else j=2;g=a[268912+(j+-1)>>0]|0;i=j;do{i=i+-1|0;a[h+i>>0]=f&63|128;f=f>>>6}while((i|0)>1);i=j}else{k=f+-65536|0;f=(k>>10)+55296|0;if(f>>>0<128){i=0;g=1}else{if(f>>>0>=2048)if(f>>>0>=65536)if(f>>>0>=2097152)if(f>>>0<67108864){g=5;o=29}else g=f>>>31|6;else{g=4;o=29}else{g=3;o=29}else{g=2;o=29}i=a[268912+(g+-1)>>0]|0;j=g;do{j=j+-1|0;a[h+j>>0]=f&63|128;f=f>>>6}while((j|0)>1)}a[h>>0]=f+(i&255);h=(c[r>>2]|0)+g|0;c[r>>2]=h;a[h+2>>0]=k&63|128;a[h+1>>0]=k>>>6&15|176;f=13;i=3;g=-32}a[h>>0]=f+(g&255);b=i;q=c[r>>2]|0;b=q+b|0;c[r>>2]=b;return}else if((o|0)==49){r=c[b>>2]|0;Jn(r,278604,117440853,278620)}}function mv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=a+76|0;e=c[g>>2]|0;f=a+68|0;if(e>>>0>=(c[f>>2]|0)>>>0)Sn(a,3997);c[g>>2]=e+16;if(c[a+96>>2]|0?(d=c[a+72>>2]|0,i=d+-16|0,h=c[i>>2]|0,c[e>>2]=c[i>>2],c[e+4>>2]=c[i+4>>2],c[e+8>>2]=c[i+8>>2],c[e+12>>2]=c[i+12>>2],h&8|0):0){i=(c[d+-8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}b=c[(c[a+428>>2]|0)+(b<<2)>>2]|0;d=c[g>>2]|0;if(d>>>0>=(c[f>>2]|0)>>>0)Sn(a,3761);c[g>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[g>>2]|0;if(d>>>0>=(c[f>>2]|0)>>>0)Sn(a,935);b=c[a+72>>2]|0;if((d|0)==(b|0))$n(a,342,0);c[g>>2]=d+16;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];if(!(c[d>>2]&8)){qp(a,-3,125);return}i=(c[d+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1;qp(a,-3,125);return}function nv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0.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,B=0,C=0,D=0,E=0,F=0;F=l;l=l+96|0;z=F+88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0)+1;d=c[D>>2]|0;if(d>>>0>=(c[E>>2]|0)>>>0)Sn(a,3997);c[D>>2]=d+16;if(c[k>>2]|0?(m=c[C>>2]|0,t=m+-16|0,u=c[t>>2]|0,c[d>>2]=c[t>>2],c[d+4>>2]=c[t+4>>2],c[d+8>>2]=c[t+8>>2],c[d+12>>2]=c[t+12>>2],u&8|0):0){u=(c[m+-8>>2]|0)+4|0;c[u>>2]=(c[u>>2]|0)+1}e=c[D>>2]|0;t=c[C>>2]|0;s=e-t>>4;u=((v|0)<0?s:0)+v|0;u=u>>>0>>0?t+(u<<4)|0:0;a:do if((c[((u|0)==0?944:u)>>2]|0)==9){s=a+64|0;t=a+80|0;u=a+44|0;r=0;d=0;b:while(1){e=(e-(c[s>>2]|0)>>4)+69|0;if((c[t>>2]|0)>>>0>>0)Yn(a,e,4)|0;Zp(a,v,r)|0;Zp(a,v,r|1)|0;e=c[C>>2]|0;q=(c[D>>2]|0)-e>>4;f=q+-1|0;if(!q){e=29;break}j=+jo(a,e+(f<<4)|0);g=c[C>>2]|0;p=g+(f<<4)|0;q=c[p>>2]|0;f=g+(f<<4)+8|0;e=c[f>>2]|0;c[p>>2]=0;h[f>>3]=j;f=g;if((q&8|0)!=0?(p=e+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0){go(c[u>>2]|0,e);f=c[C>>2]|0;g=f}n=~~+GO(j,4294967296.0);p=~~+A(+(j*2.3283064365386963e-10));k=c[D>>2]|0;e=k-g>>4;e=e>>>0>1?g+(e+-2<<4)|0:0;e=(e|0)==0?944:e;i=c[e>>2]|0;m=k;c:do switch(c[4924+(i<<2)>>2]|0){case 6:case 9:{q=d+1|0;if((i|0)==9)o=c[e+8>>2]|0;else o=0;g=k-f|0;k=g>>4;i=k+-2|0;if(k>>>0<=1){e=37;break b}d=c[(c[w>>2]|0)+344>>2]|0;if(m>>>0>=(c[E>>2]|0)>>>0){e=39;break b}c[D>>2]=m+16;c[m>>2]=8;c[m+8>>2]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)==8;do if(k){g=c[i+8>>2]|0;if(!g)break;if(c[g>>2]&512|0)break;switch(b|0){case 1:{e=62;break b}case 0:{d=1;e=117;break b}default:{}}}while(0);d=f>>>0>1?e+(f+-2<<4)|0:0;d=(d|0)==0?944:d;do if((c[d>>2]|0)==8){d=c[d+8>>2]|0;if(!d){m=278854;break}if(c[d>>2]&512|0){m=278854;break}if((d|0)==(c[(c[w>>2]|0)+60>>2]|0)){m=278854;break}m=d+28|0}else m=278854;while(0);do if(k){d=c[i+8>>2]|0;if(!d)break;d=c[d>>2]&512|0?0:d}else d=0;while(0);e=(d|0)==0?0:d+28|0;e=e|0?e:334803;f=p&2|0?278861:334803;g=p&16|0?278871:334803;i=p&4|0?278883:334803;k=p&8|0?278894:334803;d=p&1|0?278909:334803;do if(o)if(!(c[o>>2]&4096)){c[y>>2]=m;c[y+4>>2]=e;c[y+8>>2]=n;c[y+12>>2]=d;c[y+16>>2]=f;c[y+20>>2]=i;c[y+24>>2]=g;c[y+28>>2]=k;Go(a,278967,y);break}else{c[B>>2]=m;c[B+4>>2]=e;c[B+8>>2]=d;c[B+12>>2]=f;c[B+16>>2]=i;c[B+20>>2]=g;c[B+24>>2]=k;Go(a,278939,B);break}else{c[x>>2]=m;c[x+4>>2]=d;c[x+8>>2]=f;c[x+12>>2]=i;c[x+16>>2]=g;c[x+20>>2]=k;Go(a,278917,x)}while(0);e=c[C>>2]|0;f=(c[D>>2]|0)-e>>4;if(!f){e=79;break b}g=e+(f+-1<<4)|0;d=f+-5|0;if(f>>>0<=4){e=81;break b}o=e+(d<<4)|0;p=c[o>>2]|0;d=c[e+(d<<4)+8>>2]|0;c[o>>2]=c[g>>2];c[o+4>>2]=c[g+4>>2];c[o+8>>2]=c[g+8>>2];c[o+12>>2]=c[g+12>>2];c[g>>2]=2;c[D>>2]=(c[D>>2]|0)+-16;do if(p&8|0){o=d+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(p|0)break;go(c[u>>2]|0,d)}while(0);Qp(a);d=q;break}case 5:{if(!(p&1))switch(b|0){case 0:{e=88;break b}case 1:{e=93;break b}default:{}}if((i|0)==8)e=c[e+8>>2]|0;else e=0;f=(e|0)==0?0:e+28|0;c[z>>2]=f|0?f:278992;c[z+4>>2]=n;Go(a,278997,z);f=c[C>>2]|0;g=(c[D>>2]|0)-f>>4;if(!g){e=99;break b}i=f+(g+-1<<4)|0;e=g+-3|0;if(g>>>0<=2){e=101;break b}p=f+(e<<4)|0;q=c[p>>2]|0;f=c[f+(e<<4)+8>>2]|0;c[p>>2]=c[i>>2];c[p+4>>2]=c[i+4>>2];c[p+8>>2]=c[i+8>>2];c[p+12>>2]=c[i+12>>2];c[i>>2]=2;e=(c[D>>2]|0)+-16|0;c[D>>2]=e;do if(q&8){p=f+4|0;q=(c[p>>2]|0)+-1|0;c[p>>2]=q;if(q|0)break;go(c[u>>2]|0,f);e=c[D>>2]|0}while(0);if((e|0)==(c[C>>2]|0)){e=106;break b}p=e+-16|0;c[D>>2]=p;q=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[p>>2]=2;if(!(q&8))break c;p=e+4|0;q=(c[p>>2]|0)+-1|0;c[p>>2]=q;if(q|0)break c;go(c[u>>2]|0,e);break}default:{e=111;break b}}while(0);r=r+2|0;e=c[D>>2]|0}switch(e|0){case 29:{$n(a,267,-1);break}case 37:{$n(a,267,-2);break}case 39:{Sn(a,3761);break}case 41:{$n(a,342,i);break}case 43:{$n(a,342,-2);break}case 48:{$n(a,267,-3);break}case 50:{Sn(a,3761);break}case 52:{$n(a,342,i);break}case 54:{$n(a,342,-2);break}case 62:{if(d>>>0>=(c[E>>2]|0)>>>0)Sn(a,3868);c[D>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(n|0);E=1;l=F;return E|0}case 79:{$n(a,342,-1);break}case 81:{$n(a,342,-5);break}case 88:{if((m|0)==(g|0))Jn(a,268491,50336874,268507);a=m+-16|0;c[D>>2]=a;E=c[m+-16>>2]|0;d=c[m+-8>>2]|0;c[a>>2]=2;if(!(E&8)){E=1;l=F;return E|0}D=d+4|0;E=(c[D>>2]|0)+-1|0;c[D>>2]=E;if(E|0){E=1;l=F;return E|0}go(c[u>>2]|0,d);E=1;l=F;return E|0}case 93:{if(m>>>0>=(c[E>>2]|0)>>>0)Sn(a,3868);c[D>>2]=m+16;c[m>>2]=0;h[m+8>>3]=+(n|0);E=1;l=F;return E|0}case 99:{$n(a,342,-1);break}case 101:{$n(a,342,-3);break}case 106:{Jn(a,268491,50336874,268507);break}case 111:{iq(a);if((d|0)<=9)break a;d=c[(c[w>>2]|0)+260>>2]|0;e=c[D>>2]|0;if(e>>>0<(c[E>>2]|0)>>>0){c[D>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;E=d+4|0;c[E>>2]=(c[E>>2]|0)+1;break a}else Sn(a,3761);break}case 117:{l=F;return d|0}}}while(0);if((b|0)!=-1){E=0;l=F;return E|0}Io(a,-2-v+((c[D>>2]|0)-(c[C>>2]|0)>>4)|0,1);E=1;l=F;return E|0}function ov(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;s=a+76|0;f=c[s>>2]|0;i=a+72|0;r=f-(c[i>>2]|0)>>4;h=((b|0)<0?r:0)+b|0;if(h>>>0>=r>>>0)$n(a,267,b);b=c[(c[a+428>>2]|0)+380>>2]|0;if(f>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[s>>2]=f+16;c[f>>2]=8;c[f+8>>2]=b;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[i>>2]|0;g=(c[s>>2]|0)-f>>4;b=((h|0)<0?g:0)+h|0;if(b>>>0>=g>>>0)$n(a,342,h);ro(a,f+(b<<4)|0,f+(g+-1<<4)|0)|0;f=c[i>>2]|0;g=(c[s>>2]|0)-f>>4;b=g+-2|0;if(g>>>0<=1)$n(a,342,-2);q=f+(b<<4)|0;g=f+(g+-1<<4)|0;r=c[q>>2]|0;b=c[f+(b<<4)+8>>2]|0;DQ(q|0,q+16|0,g-q|0)|0;c[g>>2]=2;f=(c[s>>2]|0)+-16|0;c[s>>2]=f;g=f;if((r&8|0)!=0?(q=b+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0){go(c[a+44>>2]|0,b);b=c[s>>2]|0;r=b}else{r=f;b=g}q=c[i>>2]|0;b=b-q>>4;b=b|0?q+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if(((((c[b>>2]|0)==10?(j=c[b+8>>2]|0,(j|0)!=0):0)?(k=e>>>6,p=e-(k<<6)|0,n=c[j+16>>2]|0,n>>>0>=5):0)?(m=j+24|0,(c[m>>2]|0)>>>0>e>>>0):0)?(l=k<<1|1,o=c[m+(l+1<<2)>>2]|0,n>>>0>=o>>>0):0){f=c[m+(l<<2)>>2]|0;m=m+o|0;l=n-o|0;if(p){g=0;b=0;h=0;do{if((h|0)<1){j=g;k=h;i=g;while(1){b=b<<8;e=i+1|0;if(i>>>0>>0){g=e;b=d[m+i>>0]|0|b;i=e}else g=j;k=k+8|0;if((k|0)>=1)break;else j=g}h=h+8+(0-h&-8)|0}e=h+-1|0;do if(!(1<>>0>>0){g=e;b=d[m+i>>0]|0|b;i=e}else g=k;j=j+8|0;if((j|0)>=1)break;else k=g}k=h+7+(1-h&-8)|0}else k=e;h=k+-1|0;if(!(1<>>0>>0){g=e;b=d[m+i>>0]|0|b;i=e}else g=j;h=h+8|0;if((h|0)>=2)break;else j=g}h=k+7+(2-k&-8)|0}h=h+-2|0;f=f+1+(b>>>h&3)|0;break}if((k|0)<2){e=g;do{b=b<<8;i=g+1|0;if(g>>>0>>0){e=i;b=d[m+g>>0]|0|b;g=i}h=h+8|0}while((h|0)<1);h=k+7+(1-k&-8)|0}else e=g;j=h+-1|0;if(!(1<>>0>>0){g=e;b=d[m+i>>0]|0|b;i=e}if((j|0)<0)j=j+8|0;else break}h=h+7+(8-h&-8)|0}else{h=j;g=e}h=h+-8|0;f=f+-128+(b>>>h&255)|0;break}if((h|0)<17){g=e;f=e;e=j;do{b=b<<8;i=f+1|0;if(f>>>0>>0){g=i;b=d[m+f>>0]|0|b;f=i}e=e+8|0}while((e|0)<16);j=h+7+(16-h&-8)|0}else g=e;f=j+-16|0;k=b>>>f<<16;if((f|0)<16){e=g;h=g;while(1){b=b<<8;i=h+1|0;if(h>>>0>>0){g=i;b=d[m+h>>0]|0|b;h=i}else g=e;f=f+8|0;if((f|0)>=16)break;else e=g}f=j+-8+(31-j&-8)|0}h=f+-16|0;f=b>>>h&65535|k}while(0);p=p+-1|0}while((p|0)!=0)}}else f=0;if((r|0)==(q|0))Jn(a,268491,50336874,268507);q=r+-16|0;c[s>>2]=q;s=c[r+-16>>2]|0;b=c[r+-8>>2]|0;c[q>>2]=2;if(!(s&8))return f|0;r=b+4|0;s=(c[r>>2]|0)+-1|0;c[r>>2]=s;if(s|0)return f|0;go(c[a+44>>2]|0,b);return f|0}function pv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,i=0,k=0.0,l=0,m=0,n=0,o=0,p=0;p=a+76|0;g=c[p>>2]|0;m=a+68|0;if(g>>>0>=(c[m>>2]|0)>>>0)Sn(a,3997);c[p>>2]=g+16;o=a+72|0;if(c[a+96>>2]|0?(f=c[o>>2]|0,l=f+-16|0,n=c[l>>2]|0,c[g>>2]=c[l>>2],c[g+4>>2]=c[l+4>>2],c[g+8>>2]=c[l+8>>2],c[g+12>>2]=c[l+12>>2],n&8|0):0){n=(c[f+-8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}g=c[p>>2]|0;f=c[o>>2]|0;l=g-f|0;i=l>>4;n=i+-1|0;f=i|0?f+(n<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)Jn(a,279138,100664195,279152);f=c[f+8>>2]|0;if(!f)Jn(a,279138,100664195,279152);if((c[f>>2]&-134217728|0)!=805306368)Jn(a,279138,100664195,279152);if(!i)$n(a,267,-1);f=c[(c[a+428>>2]|0)+356>>2]|0;if(g>>>0>=(c[m>>2]|0)>>>0)Sn(a,3761);c[p>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;g=f+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[o>>2]|0;i=(c[p>>2]|0)-g>>4;f=((l|0)<16?i:0)+n|0;if(f>>>0>=i>>>0)$n(a,342,n);ro(a,g+(f<<4)|0,g+(i+-1<<4)|0)|0;g=c[o>>2]|0;i=(c[p>>2]|0)-g>>4;f=i+-2|0;if(i>>>0<=1)$n(a,342,-2);l=g+(f<<4)|0;m=g+(i+-1<<4)|0;n=c[l>>2]|0;f=c[g+(f<<4)+8>>2]|0;DQ(l|0,l+16|0,m-l|0)|0;c[m>>2]=2;g=(c[p>>2]|0)+-16|0;c[p>>2]=g;if((n&8|0)!=0?(m=f+4|0,n=(c[m>>2]|0)+-1|0,c[m>>2]=n,(n|0)==0):0){go(c[a+44>>2]|0,f);g=c[p>>2]|0}f=c[o>>2]|0;n=g-f>>4;g=n+-1|0;if(!n)$n(a,267,-1);k=+jo(a,f+(g<<4)|0);f=c[o>>2]|0;l=f+(g<<4)|0;n=c[l>>2]|0;m=f+(g<<4)+8|0;g=c[m>>2]|0;c[l>>2]=0;h[m>>3]=k;if((n&8|0)!=0?(m=g+4|0,n=(c[m>>2]|0)+-1|0,c[m>>2]=n,(n|0)==0):0){go(c[a+44>>2]|0,g);f=c[o>>2]|0}g=c[p>>2]|0;if((g|0)==(f|0))Jn(a,268491,50336874,268507);o=g+-16|0;c[p>>2]=o;p=c[g+-16>>2]|0;f=c[g+-8>>2]|0;c[o>>2]=2;if(p&8|0?(o=f+4|0,p=(c[o>>2]|0)+-1|0,c[o>>2]=p,(p|0)==0):0)go(c[a+44>>2]|0,f);h[j>>3]=k;p=c[j+4>>2]&2147483647;if(p>>>0>2146435072|(p|0)==2146435072&(c[j>>2]|0)>>>0>0)if(!(b&2))e=(b&1|0)==0?k:0.0;else Jn(a,279138,50332559,279166);else e=k;if(!(b&16))f=0;else{b=qv(e)|0;f=b;e=e+ +(b*1e3|0)}if(!d)return +e;c[d>>2]=f;return +e}function qv(a){a=+a;var b=0,d=0,e=0,f=0,g=0;g=l;l=l+192|0;e=g+184|0;b=g;f=g+64|0;h[j>>3]=a;d=c[j+4>>2]&2146435072;if(!(d>>>0<2146435072|(d|0)==2146435072&0<0)){f=0;l=g;return f|0}if(!(a>=-86400000864.0e5&a<=86400000864.0e5)){f=0;l=g;return f|0}rv(a,g+152|0,b,8);c[e>>2]=~~(+sv(b,0)/1.0e3);b=f;d=b+88|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));Jf(e|0,f|0)|0;d=f+44|0;Nf(e|0,d|0)|0;c[f+32>>2]=0;c[f+76>>2]=0;b=Pf(f|0)|0;d=Pf(d|0)|0;if((b|0)==-1|(d|0)==-1){f=0;l=g;return f|0}f=~~+jb(d|0,b|0);l=g;return f|0}function rv(a,b,e,f){a=+a;b=b|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0;t=+GO(a,864.0e5);r=~~(t<0.0?t+864.0e5:t);g=~~+A(+(a/864.0e5));o=(r|0)%1e3|0;c[b+24>>2]=o;p=((r|0)/1e3|0|0)%60|0;c[b+20>>2]=p;q=((r|0)/6e4|0|0)%60|0;c[b+16>>2]=q;r=(r|0)/36e5|0;c[b+12>>2]=r;n=g+140000004|0;s=(n|0)%7|0;c[b+28>>2]=s;if((g|0)>-1)i=(g>>>0)/365|0;else i=(g|0)/366|0;g=-719050-g|0;l=i+1970|0;while(1){i=l+-1969|0;j=l+-1901|0;m=l+-2e3|0;k=l+-1601|0;m=g+(l*365|0)+((((i|0)>-1?i:l+-1972|0)|0)/4|0)+((((j|0)>-1?j:m)|0)/-100|0)+((((k|0)>-1?k:m)|0)/400|0)|0;if((m|0)<1)break;l=l+-1+((m+-1|0)/-366|0)|0}g=0-m|0;if(!(l&3))if(!((l|0)%100|0))k=((l|0)%400|0|0)==0&1;else k=1;else k=0;if((m|0)<=-31){g=-31-m|0;i=k|28;if((g|0)>=(i|0)){j=g-i|0;if((j|0)>=31){g=j+-31|0;if((g|0)>=30){g=j+-61|0;if((g|0)>=31){g=j+-92|0;if((g|0)>=30){g=j+-122|0;if((g|0)>=31){g=j+-153|0;if((g|0)>=31){g=j+-184|0;if((g|0)>=30){g=j+-214|0;if((g|0)>=31){g=j+-245|0;if((g|0)<30)i=10;else{g=j+-275|0;u=(g|0)<31;i=u?11:12;g=u?g:j+-306|0}}else i=9}else i=8}else i=7}else i=6}else i=5}else i=4}else i=3}else{i=2;g=j}}else i=1}else i=0;if((f&8|0)!=0&(l+-1971|0)>>>0>66){l=(n+m|0)%7|0;l=(d[279191+((k|0)==0?l:l+7|0)>>0]|0)+1970|0}c[b>>2]=l;k=b+4|0;c[k>>2]=i;j=b+8|0;c[j>>2]=g;if(f&4){i=i+1|0;c[k>>2]=i;g=g+1|0;c[j>>2]=g}if(!e)return;h[e>>3]=+(l|0);h[e+8>>3]=+(i|0);h[e+16>>3]=+(g|0);h[e+24>>3]=+(r|0);h[e+32>>3]=+(q|0);h[e+40>>3]=+(p|0);h[e+48>>3]=+(o|0);h[e+56>>3]=+(s|0);return}function sv(a,b){a=a|0;b=b|0;var e=0.0,f=0,g=0,i=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,t=0,u=0;e=+h[a>>3];h[j>>3]=e;f=c[j+4>>2]|0;n=f&2146435072;if(n>>>0<2146435072|(n|0)==2146435072&0<0){e=+A(+(+B(+e)));e=(f|0)>-1|(f|0)==-1&(c[j>>2]|0)>>>0>4294967295?e:-e;h[a>>3]=e}f=a+8|0;i=+h[f>>3];h[j>>3]=i;g=c[j+4>>2]|0;n=g&2146435072;if(n>>>0<2146435072|(n|0)==2146435072&0<0){i=+A(+(+B(+i)));i=(g|0)>-1|(g|0)==-1&(c[j>>2]|0)>>>0>4294967295?i:-i;h[f>>3]=i}f=a+16|0;k=+h[f>>3];h[j>>3]=k;g=c[j+4>>2]|0;n=g&2146435072;if(n>>>0<2146435072|(n|0)==2146435072&0<0){k=+A(+(+B(+k)));k=(g|0)>-1|(g|0)==-1&(c[j>>2]|0)>>>0>4294967295?k:-k;h[f>>3]=k}f=a+24|0;l=+h[f>>3];h[j>>3]=l;g=c[j+4>>2]|0;n=g&2146435072;if(n>>>0<2146435072|(n|0)==2146435072&0<0){l=+A(+(+B(+l)));l=(g|0)>-1|(g|0)==-1&(c[j>>2]|0)>>>0>4294967295?l:-l;h[f>>3]=l}f=a+32|0;m=+h[f>>3];h[j>>3]=m;g=c[j+4>>2]|0;n=g&2146435072;if(n>>>0<2146435072|(n|0)==2146435072&0<0){p=+A(+(+B(+m)));p=(g|0)>-1|(g|0)==-1&(c[j>>2]|0)>>>0>4294967295?p:-p;h[f>>3]=p}else p=m;f=a+40|0;m=+h[f>>3];h[j>>3]=m;g=c[j+4>>2]|0;n=g&2146435072;if(n>>>0<2146435072|(n|0)==2146435072&0<0){o=+A(+(+B(+m)));o=(g|0)>-1|(g|0)==-1&(c[j>>2]|0)>>>0>4294967295?o:-o;h[f>>3]=o}else o=m;f=a+48|0;m=+h[f>>3];h[j>>3]=m;g=c[j+4>>2]|0;n=g&2146435072;if(n>>>0<2146435072|(n|0)==2146435072&0<0){m=+A(+(+B(+m)));m=(g|0)>-1|(g|0)==-1&(c[j>>2]|0)>>>0>4294967295?m:-m;h[f>>3]=m}l=m+(l*36.0e5+0.0+p*6.0e4+o*1.0e3);h[j>>3]=e;n=c[j+4>>2]&2146435072;if((n>>>0<2146435072|(n|0)==2146435072&0<0?(h[j>>3]=i,n=c[j+4>>2]&2146435072,n>>>0<2146435072|(n|0)==2146435072&0<0):0)?(q=e+ +A(+(i/12.0)),r=+GO(i,12.0),r=r<0.0?r+12.0:r,q>=-271821.0&q<=275760.0):0){g=~~q;u=g+-1969|0;a=g+-1901|0;f=g+-2e3|0;n=g+-1601|0;f=(g*365|0)+-719050+((((u|0)>-1?u:g+-1972|0)|0)/4|0)+((((a|0)>-1?a:f)|0)/-100|0)+((((n|0)>-1?n:f)|0)/400|0)|0;if(!(g&3))if(!((g|0)%100|0))g=((g|0)%400|0|0)==0&1;else g=1;else g=0;n=~~r;if((n|0)>0){a=(g|0)!=0;g=0;do{f=(a&(g|0)==1&1)+f+(d[279179+g>>0]|0)|0;g=g+1|0}while((g|0)!=(n|0))}e=(k+ +(f|0))*864.0e5}else e=s;e=l+e;if(b&16){g=qv(e)|0;if((g|0)<999999999)switch(g|0){case 0:{f=0;break}default:t=15}else switch(g|0){case 999999999:{f=0;g=999999999;t=16;break}default:t=15}if((t|0)==15){a=qv(e-+(g*1e3|0))|0;if((a|0)!=(g|0))if(a){f=qv(e-+(a*1e3|0))|0;if((f|0)!=(a|0))if((f|0)!=(g|0)){g=qv(e-+(f*1e3|0))|0;if((g|0)!=(f|0))if((g|0)==(a|0)){g=a;t=16}else f=g}else{f=a;t=16}else f=a}else{f=g;g=0;t=16}else f=g}if((t|0)==16)f=(f|0)>(g|0)?f:g;e=e-+(f*1e3|0)}h[j>>3]=e;f=c[j+4>>2]|0;u=f&2146435072;if(!(u>>>0<2146435072|(u|0)==2146435072&0<0)){r=s;return +r}if(!(e>=-864.0e13&e<=864.0e13)){r=s;return +r}r=+A(+(+B(+e)));r=(f|0)>-1|(f|0)==-1&(c[j>>2]|0)>>>0>4294967295?r:-r;return +r}function tv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0.0;m=a+76|0;n=a+72|0;d=c[n>>2]|0;j=(c[m>>2]|0)-d>>4;l=(b|0)<0;e=(l?j:0)+b|0;if(e>>>0>=j>>>0)$n(a,267,b);o=+jo(a,d+(e<<4)|0);f=c[n>>2]|0;g=f+(e<<4)|0;j=c[g>>2]|0;i=f+(e<<4)+8|0;d=c[i>>2]|0;c[g>>2]=0;h[i>>3]=o;if((j&8|0)!=0?(i=d+4|0,j=(c[i>>2]|0)+-1|0,c[i>>2]=j,(j|0)==0):0){go(c[a+44>>2]|0,d);f=c[n>>2]|0}g=c[m>>2]|0;i=g-f>>4;e=(l?i:0)+b|0;i=e>>>0>>0;e=f+(e<<4)|0;d=i?e:0;d=(d|0)==0?944:d;f=g;if((c[d>>2]|0)==0?(j=d+8|0,d=c[j+4>>2]&2147483647,d>>>0>2146435072|(d|0)==2146435072&(c[j>>2]|0)>>>0>0):0)return;j=a+68|0;if(f>>>0>=(c[j>>2]|0)>>>0)Sn(a,935);if(!i)$n(a,342,b);c[m>>2]=f+16;i=g;c[i>>2]=c[e>>2];c[i+4>>2]=c[e+4>>2];c[i+8>>2]=c[e+8>>2];c[i+12>>2]=c[e+12>>2];if(c[f>>2]&8|0){i=(c[f+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}aq(a,-1);d=c[m>>2]|0;g=c[n>>2]|0;f=g;e=d-f>>4;e=e|0?g+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==0?(k=+h[e+8>>3],k>=0.0&k<=99.0):0){if(d>>>0>=(c[j>>2]|0)>>>0)Sn(a,3835);e=d+16|0;c[m>>2]=e;c[d>>2]=0;h[d+8>>3]=k+1900.0;e=e-f>>4;if(!e)$n(a,342,-1);f=g+(e+-1<<4)|0;d=(l?e:0)+b|0;if(d>>>0>=e>>>0)$n(a,342,b);l=g+(d<<4)|0;b=c[l>>2]|0;e=c[g+(d<<4)+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];c[l+12>>2]=c[f+12>>2];c[f>>2]=2;d=(c[m>>2]|0)+-16|0;c[m>>2]=d;if((b&8|0)!=0?(l=e+4|0,b=(c[l>>2]|0)+-1|0,c[l>>2]=b,(b|0)==0):0){go(c[a+44>>2]|0,e);d=c[m>>2]|0}}if((d|0)==(c[n>>2]|0))Jn(a,268491,50336874,268507);b=d+-16|0;c[m>>2]=b;n=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[b>>2]=2;if(!(n&8))return;m=d+4|0;n=(c[m>>2]|0)+-1|0;c[m>>2]=n;if(n|0)return;go(c[a+44>>2]|0,d);return}function uv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0,i=0,j=0,k=0,l=0,m=0;tv(a,0);if((d|0)>0){i=a+76|0;j=a+72|0;e=c[j>>2]|0;if((c[i>>2]|0)==(e|0))$n(a,267,0);f=+jo(a,e);m=c[j>>2]|0;k=c[m>>2]|0;l=m+8|0;e=c[l>>2]|0;c[m>>2]=0;h[l>>3]=f;if(k&8|0?(l=e+4|0,m=(c[l>>2]|0)+-1|0,c[l>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,e);h[b>>3]=f;if((d|0)!=1){e=c[j>>2]|0;if((c[i>>2]|0)-e>>4>>>0<=1)$n(a,267,1);f=+jo(a,e+16|0);l=c[j>>2]|0;k=l+16|0;m=c[k>>2]|0;l=l+24|0;e=c[l>>2]|0;c[k>>2]=0;h[l>>3]=f;if(m&8|0?(l=e+4|0,m=(c[l>>2]|0)+-1|0,c[l>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,e);h[b+8>>3]=f;if((d|0)>2){e=c[j>>2]|0;if((c[i>>2]|0)-e>>4>>>0<=2)$n(a,267,2);f=+jo(a,e+32|0);l=c[j>>2]|0;k=l+32|0;m=c[k>>2]|0;l=l+40|0;e=c[l>>2]|0;c[k>>2]=0;h[l>>3]=f;if(m&8|0?(l=e+4|0,m=(c[l>>2]|0)+-1|0,c[l>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,e);h[b+16>>3]=f+-1.0;if((d|0)!=3){e=c[j>>2]|0;if((c[i>>2]|0)-e>>4>>>0<=3)$n(a,267,3);f=+jo(a,e+48|0);l=c[j>>2]|0;k=l+48|0;m=c[k>>2]|0;l=l+56|0;e=c[l>>2]|0;c[k>>2]=0;h[l>>3]=f;if(m&8|0?(l=e+4|0,m=(c[l>>2]|0)+-1|0,c[l>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,e);h[b+24>>3]=f;if((d|0)>4){e=c[j>>2]|0;if((c[i>>2]|0)-e>>4>>>0<=4)$n(a,267,4);f=+jo(a,e+64|0);l=c[j>>2]|0;k=l+64|0;m=c[k>>2]|0;l=l+72|0;e=c[l>>2]|0;c[k>>2]=0;h[l>>3]=f;if(m&8|0?(l=e+4|0,m=(c[l>>2]|0)+-1|0,c[l>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,e);h[b+32>>3]=f;if((d|0)!=5){e=c[j>>2]|0;if((c[i>>2]|0)-e>>4>>>0<=5)$n(a,267,5);f=+jo(a,e+80|0);l=c[j>>2]|0;k=l+80|0;m=c[k>>2]|0;l=l+88|0;e=c[l>>2]|0;c[k>>2]=0;h[l>>3]=f;do if(m&8|0){l=e+4|0;m=(c[l>>2]|0)+-1|0;c[l>>2]=m;if(m|0)break;go(c[a+44>>2]|0,e)}while(0);h[b+40>>3]=f;if((d|0)>6){e=c[j>>2]|0;if((c[i>>2]|0)-e>>4>>>0<=6)$n(a,267,6);f=+jo(a,e+96|0);l=c[j>>2]|0;k=l+96|0;m=c[k>>2]|0;l=l+104|0;e=c[l>>2]|0;c[k>>2]=0;h[l>>3]=f;do if(m&8|0){l=e+4|0;m=(c[l>>2]|0)+-1|0;c[l>>2]=m;if(m|0)break;go(c[a+44>>2]|0,e)}while(0);h[b+48>>3]=f;if((d|0)==7){f=0.0;m=b+56|0;h[m>>3]=f;return}e=c[j>>2]|0;if((c[i>>2]|0)-e>>4>>>0<=7)$n(a,267,7);f=+jo(a,e+112|0);l=c[j>>2]|0;k=l+112|0;m=c[k>>2]|0;l=l+120|0;e=c[l>>2]|0;c[k>>2]=0;h[l>>3]=f;if(!(m&8)){m=b+56|0;h[m>>3]=f;return}l=e+4|0;m=(c[l>>2]|0)+-1|0;c[l>>2]=m;if(m|0){m=b+56|0;h[m>>3]=f;return}go(c[a+44>>2]|0,e);m=b+56|0;h[m>>3]=f;return}}else g=37}else g=30}else g=23}else g=16}else g=9}else{h[b>>3]=0.0;g=9}if((g|0)==9){h[b+8>>3]=0.0;g=16}if((g|0)==16){h[b+16>>3]=0.0;g=23}if((g|0)==23){h[b+24>>3]=0.0;g=30}if((g|0)==30){h[b+32>>3]=0.0;g=37}if((g|0)==37)h[b+40>>3]=0.0;h[b+48>>3]=0.0;f=0.0;m=b+56|0;h[m>>3]=f;return}function vv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0.0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=l;l=l+112|0;r=z+64|0;x=z+68|0;y=z;e=x;f=e+36|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));v=x+4|0;c[v>>2]=1;w=x+8|0;c[w>>2]=1;switch(a[d>>0]|0){case 43:{q=0;e=d+1|0;break}case 45:{q=1;e=d+1|0;break}default:{q=0;e=d}}f=0;o=0;a:while(1){k=a[e>>0]|0;if((k+-48&255)>=10)break;i=0;j=0;k=k&255;e=e+1|0;while(1){if(j>>>0>8)break a;m=(f|0)==6;n=j>>>0>2;p=m&n;j=((m&n^1)&1)+j|0;i=p?i:k+-48+(i*10|0)|0;f=p?6:f;p=e;e=e+1|0;p=a[p>>0]|0;if((p+-48&255)>=10)break;else k=p&255}if(!j)break;if((f|0)==6&j>>>0<3)do{i=i*10|0;j=j+1|0}while((j|0)!=3);c[x+(f<<2)>>2]=i;switch(p<<24>>24){case 43:{i=9;break}case 45:{i=10;break}case 84:{i=11;break}case 32:{i=12;break}case 58:{i=13;break}case 46:{i=14;break}case 90:{i=15;break}case 0:{i=16;break}default:break a}n=(1<>2]|0;if((j&n|0)==(n|0)){f=j>>>21;i=(f&1|0)==0?i:1;if(!(f&2))if(!(f&4)){f=20;j=j>>>17&15;o=i}else{f=(a[e>>0]|0)==0?29:10;j=k;o=i}else{f=29;j=k;o=i}}else{f=22;j=k;o=i}switch(f&31){case 20:{t=26;break b}case 22:break;default:break b}m=m+1|0;if(m>>>0>=11){t=28;break}else{k=j;i=o}}if((t|0)==26){t=0;f=p<<24>>24==0?10:0}else if((t|0)==28){t=0;if((m|0)==11)break;else f=p<<24>>24==0?10:0}switch(f|0){case 0:{f=j;break}case 29:{t=30;break a}default:break a}}if((t|0)==30){if(q|0)c[x>>2]=0-(c[x>>2]|0);k=c[x+28>>2]|0;e=x+12|0;f=c[e>>2]|0;i=c[x+32>>2]|0;m=x+16|0;j=c[m>>2]|0;if(!o){f=f-k|0;c[e>>2]=f;e=j-i|0}else{f=f+k|0;c[e>>2]=f;e=j+i|0}c[m>>2]=e;u=(c[v>>2]|0)+-1|0;c[v>>2]=u;v=(c[w>>2]|0)+-1|0;c[w>>2]=v;h[y>>3]=+(c[x>>2]|0);h[y+8>>3]=+(u|0);h[y+16>>3]=+(v|0);h[y+24>>3]=+(f|0);h[y+32>>3]=+(e|0);h[y+40>>3]=+(c[x+20>>2]|0);h[y+48>>3]=+(c[x+24>>2]|0);h[y+56>>3]=+(k|0);g=+sv(y,0);e=b+76|0;f=c[e>>2]|0;if(f>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3835);c[e>>2]=f+16;c[f>>2]=0;h[f+8>>3]=g;l=z;return}e=y;f=e+64|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));c[r>>2]=d;NO(y,64,294455,r);a[y+63>>0]=0;e=x;f=e+44|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));if(Uf(y|0,279211,x|0)|0?(c[x+32>>2]=-1,u=Pf(x|0)|0,(u|0)>-1):0){e=b+76|0;f=c[e>>2]|0;if(f>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3835);c[e>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+(u|0)*1.0e3;l=z;return}e=b+76|0;f=c[e>>2]|0;if(f>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3916);c[e>>2]=f+16;c[f>>2]=0;h[f+8>>3]=s;l=z;return}function wv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=a+76|0;f=c[j>>2]|0;h=a+68|0;if(f>>>0>=(c[h>>2]|0)>>>0)Sn(a,3997);c[j>>2]=f+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);i=a+72|0;b=c[i>>2]|0;d=b+-16|0;e=c[d>>2]|0;if((e&-2|0)==2)Jn(a,268491,100667321,271411);c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];if(e&8|0){g=(c[b+-8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}vo(a,-1);b=c[j>>2]|0;f=b-(c[i>>2]|0)|0;e=f>>4;g=e+-1|0;if(!e)$n(a,267,-1);d=c[(c[a+428>>2]|0)+320>>2]|0;if(b>>>0>=(c[h>>2]|0)>>>0)Sn(a,3761);c[j>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[i>>2]|0;e=(c[j>>2]|0)-d>>4;b=((f|0)<16?e:0)+g|0;if(b>>>0>=e>>>0)$n(a,342,g);ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[i>>2]|0;e=(c[j>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);g=d+(b<<4)|0;h=d+(e+-1<<4)|0;i=c[g>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(g|0,g+16|0,h-g|0)|0;c[h>>2]=2;c[j>>2]=(c[j>>2]|0)+-16;if(!(i&8)){j=Eq(a,-1)|0;return j|0}i=b+4|0;j=(c[i>>2]|0)+-1|0;c[i>>2]=j;if(j|0){j=Eq(a,-1)|0;return j|0}go(c[a+44>>2]|0,b);j=Eq(a,-1)|0;return j|0}function xv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=d-b|0;if((e|0)<1)return;g=a+44|0;do{k=c[g>>2]|0;m=k+144|0;r=m;p=c[r>>2]|0;r=c[r+4>>2]|0;k=k+152|0;n=k;o=c[n>>2]|0;n=c[n+4>>2]|0;f=lQ(o|0,n|0,p|0,r|0)|0;i=z;o=o^p;n=n^r;q=xQ(p|0,r|0,55)|0;l=z;r=wQ(p|0,r|0,9)|0;l=(z|l)^n;p=xQ(o|0,n|0,14)|0;c[m>>2]=(r|q)^o^p;c[m+4>>2]=l^z;m=xQ(o|0,n|0,36)|0;l=z;n=wQ(o|0,n|0,28)|0;c[k>>2]=n|m;c[k+4>>2]=z|l;i=wQ(f|0,i|0,12)|0;f=z|1072693248;c[j>>2]=i;c[j+4>>2]=f;yv(a,~~(+(e+1|0)*(+h[j>>3]+-1.0))+b|0,b);f=d;e=b;while(1){do{e=e+1|0;if((e|0)>=(d|0))break}while((zv(a,e,b)|0)<=-1);a:do if((f|0)>(b|0))do{if((zv(a,b,f)|0)>-1)break a;f=f+-1|0}while((f|0)>(b|0));while(0);if((e|0)>=(f|0))break;yv(a,e,f);f=f+-1|0}yv(a,b,f);xv(a,b,f+-1|0);b=f+1|0;e=d-b|0}while((e|0)>=1);return}function yv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0;if((b|0)==(d|0))return;i=Zp(a,1,b)|0;if(!(Zp(a,1,d)|0)){f=a+76|0;j=c[f>>2]|0;g=a+72|0;e=j;if(j-(c[g>>2]|0)>>4>>>0<=1)$n(a,267,1);if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);c[f>>2]=e+16;c[e>>2]=0;h[e+8>>3]=+(b>>>0);sq(a,1);b=c[f>>2]|0;if((b|0)==(c[g>>2]|0))Jn(a,268491,50336874,268507);g=b+-16|0;c[f>>2]=g;j=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[g>>2]=2;if(j&8|0?(g=b+4|0,j=(c[g>>2]|0)+-1|0,c[g>>2]=j,(j|0)==0):0)go(c[a+44>>2]|0,b)}else Tp(a,1,b);if(i|0){Tp(a,1,d);return}e=a+76|0;j=c[e>>2]|0;f=a+72|0;b=j;if(j-(c[f>>2]|0)>>4>>>0<=1)$n(a,267,1);if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);c[e>>2]=b+16;c[b>>2]=0;h[b+8>>3]=+(d>>>0);sq(a,1);b=c[e>>2]|0;if((b|0)==(c[f>>2]|0))Jn(a,268491,50336874,268507);d=b+-16|0;c[e>>2]=d;j=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[d>>2]=2;if(!(j&8))return;d=b+4|0;j=(c[d>>2]|0)+-1|0;c[d>>2]=j;if(j|0)return;go(c[a+44>>2]|0,b);return}function zv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0.0,i=0,j=0,k=0,m=0,n=0,o=0;n=l;l=l+16|0;j=n;if((b|0)==(d|0)){a=0;l=n;return a|0}m=Zp(a,1,b)|0;b=(Zp(a,1,d)|0)!=0;do if(m)if(b){m=a+76|0;b=c[m>>2]|0;k=a+72|0;d=c[k>>2]|0;f=b-d>>4;o=f>>>0>1?d+(f+-2<<4)|0:0;e=(f|0)!=0;f=e?d+(f+-1<<4)|0:0;f=(c[((f|0)==0?944:f)>>2]|0)==2;i=b;if((c[((o|0)==0?944:o)>>2]|0)==2){b=(f^1)&1;break}if(!f){o=e?d:0;if((c[((o|0)==0?944:o)>>2]|0)==2){Ho(a,-2)|0;o=c[k>>2]|0;b=(c[m>>2]|0)-o>>4;b=b>>>0>1?o+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==8)f=c[b+8>>2]|0;else f=0;Ho(a,-1)|0;o=c[k>>2]|0;b=(c[m>>2]|0)-o>>4;b=b|0?o+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==8)b=c[b+8>>2]|0;else b=0;d=c[f+20>>2]|0;e=c[b+20>>2]|0;b=xN(f+28|0,b+28|0,d>>>0<=e>>>0?d:e)|0;if((b|0)<0){b=-1;break}b=(b|0)==0?(d>>>0>>0?-1:d>>>0>e>>>0&1):1;break}if(i>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);if((i|0)==(d|0))$n(a,342,0);c[m>>2]=i+16;o=b;c[o>>2]=c[d>>2];c[o+4>>2]=c[d+4>>2];c[o+8>>2]=c[d+8>>2];c[o+12>>2]=c[d+12>>2];if(c[i>>2]&8|0){o=(c[i+8>>2]|0)+4|0;c[o>>2]=(c[o>>2]|0)+1}b=c[k>>2]|0;d=(c[m>>2]|0)-b>>4;if(d>>>0<=2)$n(a,342,-3);e=b+(d+-3<<4)|0;b=b+(d+-1<<4)|0;d=b-e|0;if(d|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];DQ(e+16|0,e|0,d|0)|0;c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2]}Tq(a,2);b=c[k>>2]|0;o=(c[m>>2]|0)-b>>4;d=o+-1|0;if(!o)$n(a,267,-1);g=+jo(a,b+(d<<4)|0);e=c[k>>2]|0;i=e+(d<<4)|0;o=c[i>>2]|0;j=e+(d<<4)+8|0;b=c[j>>2]|0;c[i>>2]=0;h[j>>3]=g;if((o&8|0)!=0?(j=b+4|0,o=(c[j>>2]|0)+-1|0,c[j>>2]=o,(o|0)==0):0){go(c[a+44>>2]|0,b);e=c[k>>2]|0}d=g<0.0?-1:g>0.0&1;b=c[m>>2]|0;if((b|0)==(e|0))Jn(a,268491,50336874,268507);k=b+-16|0;c[m>>2]=k;o=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[k>>2]=2;if(!(o&8)){o=d;l=n;return o|0}m=b+4|0;o=(c[m>>2]|0)+-1|0;c[m>>2]=o;if(o|0){o=d;l=n;return o|0}go(c[a+44>>2]|0,b);o=d;l=n;return o|0}else b=-1}else b=-1;else b=b&1;while(0);iq(a);o=b;l=n;return o|0}function Av(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[a+132>>2]|0;g=a+76|0;e=c[g>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[g>>2]=e+16;c[e>>2]=9;c[e+8>>2]=d;f=d+4|0;c[f>>2]=(c[f>>2]|0)+1;f=Du(a,-1,b)|0;d=c[a+72>>2]|0;e=(c[g>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);i=d+(b<<4)|0;h=d+(e+-1<<4)|0;e=c[i>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(i|0,i+16|0,h-i|0)|0;c[h>>2]=2;c[g>>2]=(c[g>>2]|0)+-16;if(!(e&8))return f|0;h=b+4|0;i=(c[h>>2]|0)+-1|0;c[h>>2]=i;if(i|0)return f|0;go(c[a+44>>2]|0,b);return f|0}function Bv(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;b=c[a+132>>2]|0;k=a+76|0;d=c[k>>2]|0;j=a+68|0;if(d>>>0>=(c[j>>2]|0)>>>0)Sn(a,3761);c[k>>2]=d+16;c[d>>2]=9;c[d+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[k>>2]|0;h=a+72|0;f=b-(c[h>>2]|0)|0;i=f>>4;g=i+-1|0;if(!i)$n(a,267,-1);i=a+428|0;d=c[(c[i>>2]|0)+356>>2]|0;if(b>>>0>=(c[j>>2]|0)>>>0)Sn(a,3761);c[k>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[h>>2]|0;e=(c[k>>2]|0)-d>>4;b=((f|0)<16?e:0)+g|0;if(b>>>0>=e>>>0)$n(a,342,g);f=ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[h>>2]|0;e=(c[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2]|0)+356>>2]|0,4);break}}while(0);d=c[h>>2]|0;e=(c[k>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);i=d+(b<<4)|0;j=d+(e+-1<<4)|0;l=c[i>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(i|0,i+16|0,j-i|0)|0;c[j>>2]=2;c[k>>2]=(c[k>>2]|0)+-16;if(!(l&8))return;k=b+4|0;l=(c[k>>2]|0)+-1|0;c[k>>2]=l;if(l|0)return;go(c[a+44>>2]|0,b);return}function Cv(a,b){a=a|0;b=b|0;var d=0,e=0;e=l;l=l+16|0;d=c[a+92>>2]|0;if((d|0)>1e6)cw(a,6);b=(c[b>>2]|0)+5+((c[a+8>>2]|0)-(c[a+28>>2]|0)>>4)|0;d=d<<1;d=(d|0)<1e6?d:1e6;d=(d|0)<(b|0)?b:d;if((d|0)>1e6){ew(a,1000200);_v(a,283170,e)}else{ew(a,d);l=e;return}}function Dv(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;h=b+16|0;f=c[h>>2]|0;i=c[b+8>>2]|0;j=i+-16|0;do if((e|0)<=0){if((e|0)>=-1000999){e=i+(e<<4)|0;break}if((e|0)==-1001e3){e=(c[b+12>>2]|0)+40|0;break}g=-1001e3-e|0;e=c[f>>2]|0;if((c[e+8>>2]|0)==22)e=316088;else{e=c[e>>2]|0;e=(g|0)>(d[e+6>>0]|0|0)?316088:e+16+(g+-1<<4)|0};c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];if(!(c[i+-8>>2]&64))return;g=(c[c[c[h>>2]>>2]>>2]|0)+5|0;h=a[g>>0]|0;if(!(h&4))return;f=c[j>>2]|0;if(!(a[f+5>>0]&3))return;e=c[b+12>>2]|0;if((d[e+61>>0]|0)<2){uw(e,f);return}else{a[g>>0]=a[e+60>>0]&3|h&-8;return}}else{e=(c[f>>2]|0)+(e<<4)|0;e=e>>>0>>0?e:316088}while(0);c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];return}function Ev(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;i=c[a+16>>2]|0;do if((b|0)<=0){if((b|0)>=-1000999){h=(c[a+8>>2]|0)+(b<<4)|0;break}if((b|0)==-1001e3){h=(c[a+12>>2]|0)+40|0;break}b=-1001e3-b|0;g=c[i>>2]|0;if((c[g+8>>2]|0)==22)h=316088;else{h=c[g>>2]|0;h=(b|0)>(d[h+6>>0]|0|0)?316088:h+16+(b+-1<<4)|0}}else{h=(c[i>>2]|0)+(b<<4)|0;h=h>>>0<(c[a+8>>2]|0)>>>0?h:316088}while(0);do if((e|0)<=0){if((e|0)>=-1000999){b=(c[a+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){b=(c[a+12>>2]|0)+40|0;break}g=-1001e3-e|0;b=c[i>>2]|0;if((c[b+8>>2]|0)==22){f=0;return f|0}else{b=c[b>>2]|0;b=(g|0)>(d[b+6>>0]|0|0)?316088:b+16+(g+-1<<4)|0;break}}else{b=(c[i>>2]|0)+(e<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:316088}while(0);if(!((h|0)!=316088&(b|0)!=316088)){f=0;return f|0}switch(f|0){case 0:{f=Ax(a,h,b)|0;return f|0}case 1:{f=yx(a,h,b)|0;return f|0}case 2:{f=zx(a,h,b)|0;return f|0}default:{f=0;return f|0}}return 0}function Fv(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;i=b+16|0;j=c[i>>2]|0;l=(e|0)>0;do if(!l){if((e|0)>=-1000999){g=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){g=(c[b+12>>2]|0)+40|0;break}g=-1001e3-e|0;h=c[j>>2]|0;if((c[h+8>>2]|0)==22)g=316088;else{h=c[h>>2]|0;g=(g|0)>(d[h+6>>0]|0)?316088:h+16+(g+-1<<4)|0}}else{g=(c[j>>2]|0)+(e<<4)|0;g=g>>>0<(c[b+8>>2]|0)>>>0?g:316088}while(0);switch(c[g+8>>2]&15){case 4:break;case 3:{k=12;break}default:{if(!f){f=0;return f|0}c[f>>2]=0;f=0;return f|0}}if((k|0)==12){h=b+12|0;if((c[(c[h>>2]|0)+12>>2]|0)>0){Ew(b);g=c[i>>2]|0}else g=j;do if(!l){if((e|0)>=-1000999){g=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){g=(c[h>>2]|0)+40|0;break}h=-1001e3-e|0;g=c[g>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(h|0)>(d[g+6>>0]|0)?316088:g+16+(h+-1<<4)|0}}else{g=(c[g>>2]|0)+(e<<4)|0;g=g>>>0<(c[b+8>>2]|0)>>>0?g:316088}while(0);Jw(b,g)}if(!f)g=c[g>>2]|0;else{g=c[g>>2]|0;if((a[g+4>>0]|0)==4)h=d[g+7>>0]|0;else h=c[g+12>>2]|0;c[f>>2]=h}f=g+16|0;return f|0}function Gv(b,d){b=b|0;d=d|0;var e=0,f=0;if(!d){b=b+8|0;d=c[b>>2]|0;c[d+8>>2]=0;d=d+16|0;c[b>>2]=d;return}f=b+12|0;e=c[f>>2]|0;if((c[e+12>>2]|0)>0){Ew(b);e=c[f>>2]|0}f=e+280+(((d>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(d,e+16|0)|0){e=jx(b,d,JO(d)|0)|0;c[f>>2]=e}d=b+8|0;b=c[d>>2]|0;c[b>>2]=e;c[b+8>>2]=(a[e+4>>0]|64)&255;b=d;d=c[d>>2]|0;d=d+16|0;c[b>>2]=d;return}function Hv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=l;l=l+16|0;e=f;if((c[(c[a+12>>2]|0)+12>>2]|0)>0)Ew(a);c[e>>2]=d;d=Kw(a,b,e)|0;l=f;return d|0}function Iv(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=c[a+16>>2]|0;do if((b|0)<=0){if((b|0)>=-1000999){b=(c[a+8>>2]|0)+(b<<4)|0;break}if((b|0)==-1001e3){b=(c[a+12>>2]|0)+40|0;break}g=-1001e3-b|0;b=c[h>>2]|0;if((c[b+8>>2]|0)==22)b=316088;else{b=c[b>>2]|0;b=(g|0)>(d[b+6>>0]|0|0)?316088:b+16+(g+-1<<4)|0}}else{b=(c[h>>2]|0)+(b<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:316088}while(0);h=a+8|0;g=c[h>>2]|0;i=g;c[i>>2]=e;c[i+4>>2]=f;c[g+8>>2]=19;c[h>>2]=g+16;wx(a,b,g,g);return c[(c[h>>2]|0)+-8>>2]&15|0}function Jv(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=c[a+16>>2]|0;do if((b|0)<=0){if((b|0)>=-1000999){b=(c[a+8>>2]|0)+(b<<4)|0;break}if((b|0)==-1001e3){b=(c[a+12>>2]|0)+40|0;break}g=-1001e3-b|0;b=c[h>>2]|0;if((c[b+8>>2]|0)==22)b=316088;else{b=c[b>>2]|0;b=(g|0)>(d[b+6>>0]|0|0)?316088:b+16+(g+-1<<4)|0}}else{b=(c[h>>2]|0)+(b<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:316088}while(0);h=a+8|0;a=c[h>>2]|0;b=c[b>>2]|0;g=lQ(e|0,f|0,-1,-1)|0;i=z;a:do if(i>>>0<0|((i|0)==0?g>>>0<(c[b+8>>2]|0)>>>0:0))b=(c[b+12>>2]|0)+(g<<4)|0;else{b=(c[b+16>>2]|0)+(((1<<(d[b+7>>0]|0))+-1&e)<<5)|0;while(1){if((c[b+24>>2]|0)==19?(i=b+16|0,(c[i>>2]|0)==(e|0)?(c[i+4>>2]|0)==(f|0):0):0)break;g=c[b+28>>2]|0;if(!g){b=316088;break a}b=b+(g<<5)|0}}while(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=c[h>>2]|0;c[h>>2]=i+16;return c[i+8>>2]&15|0}function Kv(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;h=c[b+12>>2]|0;f=c[h+40>>2]|0;a:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<<(d[f+7>>0]|0))+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(j=g+16|0,(c[j>>2]|0)==2&(c[j+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break a}g=g+(f<<5)|0}}while(0);i=b+8|0;j=c[i>>2]|0;h=h+280+(((e>>>0)%127|0)<<2)|0;f=c[h>>2]|0;if(wN(e,f+16|0)|0){f=jx(b,e,JO(e)|0)|0;c[h>>2]=f}c[j>>2]=f;c[j+8>>2]=(a[f+4>>0]|64)&255;e=c[i>>2]|0;c[i>>2]=e+16;xx(b,g,e,e+-16|0);c[i>>2]=(c[i>>2]|0)+-32;return}function Lv(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=c[b+16>>2]|0;do if((e|0)<=0){if((e|0)>=-1000999){h=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){h=(c[b+12>>2]|0)+40|0;break}h=-1001e3-e|0;e=c[g>>2]|0;if((c[e+8>>2]|0)==22)h=316088;else{j=c[e>>2]|0;h=(h|0)>(d[j+6>>0]|0|0)?316088:j+16+(h+-1<<4)|0}}else{h=(c[g>>2]|0)+(e<<4)|0;h=h>>>0<(c[b+8>>2]|0)>>>0?h:316088}while(0);i=b+8|0;j=c[i>>2]|0;g=(c[b+12>>2]|0)+280+(((f>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(f,e+16|0)|0){e=jx(b,f,JO(f)|0)|0;c[g>>2]=e}c[j>>2]=e;c[j+8>>2]=(a[e+4>>0]|64)&255;f=c[i>>2]|0;c[i>>2]=f+16;xx(b,h,f,f+-16|0);c[i>>2]=(c[i>>2]|0)+-32;return}function Mv(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=c[a+16>>2]|0;do if((b|0)<=0){if((b|0)>=-1000999){b=(c[a+8>>2]|0)+(b<<4)|0;break}if((b|0)==-1001e3){b=(c[a+12>>2]|0)+40|0;break}g=-1001e3-b|0;b=c[h>>2]|0;if((c[b+8>>2]|0)==22)b=316088;else{b=c[b>>2]|0;b=(g|0)>(d[b+6>>0]|0|0)?316088:b+16+(g+-1<<4)|0}}else{b=(c[h>>2]|0)+(b<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:316088}while(0);h=a+8|0;g=c[h>>2]|0;i=g;c[i>>2]=e;c[i+4>>2]=f;c[g+8>>2]=19;c[h>>2]=g+16;xx(a,b,g,g+-16|0);c[h>>2]=(c[h>>2]|0)+-32;return}function Nv(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,m=0,n=0;n=l;l=l+16|0;m=n;i=c[b+16>>2]|0;do if((e|0)<=0){if((e|0)>=-1000999){e=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){e=(c[b+12>>2]|0)+40|0;break}h=-1001e3-e|0;e=c[i>>2]|0;if((c[e+8>>2]|0)==22)e=316088;else{e=c[e>>2]|0;e=(h|0)>(d[e+6>>0]|0|0)?316088:e+16+(h+-1<<4)|0}}else{e=(c[i>>2]|0)+(e<<4)|0;e=e>>>0<(c[b+8>>2]|0)>>>0?e:316088}while(0);j=c[e>>2]|0;k=b+8|0;i=(c[k>>2]|0)+-16|0;e=lQ(f|0,g|0,-1,-1)|0;h=z;a:do if(h>>>0<0|((h|0)==0?e>>>0<(c[j+8>>2]|0)>>>0:0)){e=(c[j+12>>2]|0)+(e<<4)|0;h=17}else{e=(c[j+16>>2]|0)+(((1<<(d[j+7>>0]|0))+-1&f)<<5)|0;while(1){if((c[e+24>>2]|0)==19?(h=e+16|0,(c[h>>2]|0)==(f|0)?(c[h+4>>2]|0)==(g|0):0):0)break;h=c[e+28>>2]|0;if(!h){h=18;break a}e=e+(h<<5)|0}h=17}while(0);if((h|0)==17)if((e|0)==316088)h=18;if((h|0)==18){e=m;c[e>>2]=f;c[e+4>>2]=g;c[m+8>>2]=19;e=nx(b,j,m)|0};c[e>>2]=c[i>>2];c[e+4>>2]=c[i+4>>2];c[e+8>>2]=c[i+8>>2];c[e+12>>2]=c[i+12>>2];e=c[k>>2]|0;if(!(c[e+-8>>2]&64)){b=e+-16|0;c[k>>2]=b;l=n;return}h=j+5|0;i=a[h>>0]|0;if(!(i&4)){b=e+-16|0;c[k>>2]=b;l=n;return}if(!(a[(c[e+-16>>2]|0)+5>>0]&3)){b=e+-16|0;c[k>>2]=b;l=n;return}b=c[b+12>>2]|0;a[h>>0]=i&-5;b=b+80|0;c[j+28>>2]=c[b>>2];c[b>>2]=j;b=e+-16|0;c[k>>2]=b;l=n;return}function Ov(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=c[b+16>>2]|0;do if((e|0)<=0){if((e|0)>=-1000999){j=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){j=(c[b+12>>2]|0)+40|0;break}g=-1001e3-e|0;e=c[f>>2]|0;if((c[e+8>>2]|0)==22)j=316088;else{j=c[e>>2]|0;j=(g|0)>(d[j+6>>0]|0|0)?316088:j+16+(g+-1<<4)|0}}else{j=(c[f>>2]|0)+(e<<4)|0;j=j>>>0<(c[b+8>>2]|0)>>>0?j:316088}while(0);l=b+8|0;e=c[l>>2]|0;if(!(c[e+-8>>2]|0)){i=0;k=0}else{k=c[e+-16>>2]|0;i=k}e=c[j+8>>2]|0;switch(e&15){case 5:{c[(c[j>>2]|0)+24>>2]=i;if(!k){b=c[l>>2]|0;b=b+-16|0;c[l>>2]=b;return}e=c[j>>2]|0;f=e+5|0;g=a[f>>0]|0;do if((g&4)!=0?(a[k+5>>0]&3)!=0:0){h=c[b+12>>2]|0;if((d[h+61>>0]|0)<2){uw(h,k);e=c[j>>2]|0;break}else{a[f>>0]=a[h+60>>0]&3|g&-8;break}}while(0);vw(b,e,k);b=c[l>>2]|0;b=b+-16|0;c[l>>2]=b;return}case 7:{c[(c[j>>2]|0)+8>>2]=k;if(!k){b=c[l>>2]|0;b=b+-16|0;c[l>>2]=b;return}e=c[j>>2]|0;f=e+5|0;g=a[f>>0]|0;do if((g&4)!=0?(a[k+5>>0]&3)!=0:0){h=c[b+12>>2]|0;if((d[h+61>>0]|0)<2){uw(h,i);e=c[j>>2]|0;break}else{a[f>>0]=a[h+60>>0]&3|g&-8;break}}while(0);vw(b,e,k);b=c[l>>2]|0;b=b+-16|0;c[l>>2]=b;return}default:{c[(c[b+12>>2]|0)+244+((e&15)<<2)>>2]=k;b=c[l>>2]|0;b=b+-16|0;c[l>>2]=b;return}}}function Pv(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,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;q=r;n=r+8|0;if(!h)h=0;else{m=c[e+16>>2]|0;do if((h|0)<=0){if((h|0)>=-1000999){h=(c[e+8>>2]|0)+(h<<4)|0;break}if((h|0)==-1001e3){h=(c[e+12>>2]|0)+40|0;break}k=-1001e3-h|0;h=c[m>>2]|0;if((c[h+8>>2]|0)==22)h=316088;else{h=c[h>>2]|0;h=(k|0)>(d[h+6>>0]|0)?316088:h+16+(k+-1<<4)|0}}else{h=(c[m>>2]|0)+(h<<4)|0;h=h>>>0<(c[e+8>>2]|0)>>>0?h:316088}while(0);h=h-(c[e+28>>2]|0)|0}p=e+8|0;o=(c[p>>2]|0)+(~f<<4)|0;c[n>>2]=o;if((j|0)!=0?(b[e+104>>1]|0)==0:0){k=c[e+16>>2]|0;c[k+16>>2]=j;c[k+24>>2]=i;c[k+28>>2]=o-(c[e+28>>2]|0);f=e+88|0;n=k+20|0;c[n>>2]=c[f>>2];c[f>>2]=h;h=k+34|0;a[h>>0]=a[e+109>>0]|a[h>>0]&-18|16;k=e+106|0;m=(b[k>>1]|0)+1<<16>>16;b[k>>1]=m;if((m&65535)>199){if(m<<16>>16==200)_v(e,279702,q);if((m&65535)>224)cw(e,6)}if(!(gw(e,o,g)|0))Ex(e);b[k>>1]=(b[k>>1]|0)+-1<<16>>16;a[h>>0]=a[h>>0]&-17;c[f>>2]=c[n>>2];m=0}else{c[n+4>>2]=g;m=mw(e,148,n,o-(c[e+28>>2]|0)|0,h)|0}if((g|0)!=-1){l=r;return m|0}k=(c[e+16>>2]|0)+4|0;h=c[p>>2]|0;if((c[k>>2]|0)>>>0>=h>>>0){l=r;return m|0}c[k>>2]=h;l=r;return m|0}function Qv(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;g=i;h=c[d>>2]|0;e=c[d+4>>2]|0;f=a+106|0;d=(b[f>>1]|0)+1<<16>>16;b[f>>1]=d;if((d&65535)>199){if(d<<16>>16==200)_v(a,279702,g);if((d&65535)>224)cw(a,6)}d=a+104|0;b[d>>1]=(b[d>>1]|0)+1<<16>>16;if(!(gw(a,h,e)|0))Ex(a);b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[f>>1]=(b[f>>1]|0)+-1<<16>>16;l=i;return}function Rv(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=l;l=l+80|0;j=k+20|0;q=k;c[q+16>>2]=e;c[q+8>>2]=f;c[q+12>>2]=g;c[q>>2]=0;c[q+4>>2]=0;g=e+104|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;c[j>>2]=q;c[j+56>>2]=(h|0)==0?285673:h;c[j+52>>2]=i;q=j+16|0;c[q>>2]=0;p=j+24|0;c[p>>2]=0;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]=c[h+8>>2];c[u+12>>2]=c[h+12>>2];v=c[v>>2]|0;h=c[v>>2]|0;if(!((h|0)==(v+8|0)?(c[h+8>>2]&64|0)!=0:0)){l=k;return j|0}g=c[f>>2]|0;h=c[h>>2]|0;if((d[g+61>>0]|0)>=2){l=k;return j|0}if(!(a[h+5>>0]&3)){l=k;return j|0}uw(g,h);l=k;return j|0}function Sv(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;h=q;e=c[a+16>>2]|0;do if((b|0)<=0){if((b|0)>=-1000999){b=(c[a+8>>2]|0)+(b<<4)|0;break}if((b|0)==-1001e3){b=(c[a+12>>2]|0)+40|0;break}f=-1001e3-b|0;b=c[e>>2]|0;if((c[b+8>>2]|0)==22)b=316088;else{b=c[b>>2]|0;b=(f|0)>(d[b+6>>0]|0|0)?316088:b+16+(f+-1<<4)|0}}else{b=(c[e>>2]|0)+(b<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:316088}while(0);k=c[b>>2]|0;o=a+8|0;m=c[o>>2]|0;n=m+-16|0;i=m+-8|0;switch(c[i>>2]|0){case 0:{g=c[k+8>>2]|0;b=0;break}case 19:{f=n;b=c[f>>2]|0;f=c[f+4>>2]|0;if(!(!(f>>>0>0|(f|0)==0&b>>>0>2147483648|((f|0)<0|(f|0)==0&b>>>0<1)|(b|0)==0)?(g=c[k+8>>2]|0,b>>>0<=g>>>0):0))p=13;break}default:p=13}if((p|0)==13){e=lx(k,n)|0;b=e+16|0;a:do if(!(Ax(0,b,n)|0)){while(1){if(((c[e+24>>2]|0)==10?c[i>>2]&64|0:0)?(c[b>>2]|0)==(c[n>>2]|0):0){j=e;break a}b=c[e+28>>2]|0;if(!b)break;f=e+(b<<5)|0;b=e+(b<<5)+16|0;if(Ax(0,b,n)|0){j=f;break a}else e=f}_v(a,281008,h)}else j=e;while(0);b=c[k+8>>2]|0;g=b;b=b+1+(j-(c[k+16>>2]|0)>>5)|0}a=k+12|0;while(1){if(b>>>0>=g>>>0)break;e=c[a>>2]|0;f=b+1|0;if(!(c[e+(b<<4)+8>>2]|0))b=f;else{p=25;break}}if((p|0)==25){p=n;c[p>>2]=f;c[p+4>>2]=0;c[i>>2]=19;p=e+(b<<4)|0;c[m>>2]=c[p>>2];c[m+4>>2]=c[p+4>>2];c[m+8>>2]=c[p+8>>2];c[m+12>>2]=c[p+12>>2];p=1;k=(p|0)==0;n=c[o>>2]|0;m=n+-16|0;n=n+16|0;n=k?m:n;c[o>>2]=n;l=q;return p|0}b=b-g|0;a=1<<(d[k+7>>0]|0);if((b|0)>=(a|0)){p=0;k=(p|0)==0;n=c[o>>2]|0;m=n+-16|0;n=n+16|0;n=k?m:n;c[o>>2]=n;l=q;return p|0}e=k+16|0;f=c[e>>2]|0;while(1){if(c[f+(b<<5)+8>>2]|0)break;b=b+1|0;if((b|0)>=(a|0)){b=0;p=31;break}}if((p|0)==31){m=(b|0)==0;p=c[o>>2]|0;n=p+-16|0;p=p+16|0;p=m?n:p;c[o>>2]=p;l=q;return b|0}p=f+(b<<5)+16|0;c[n>>2]=c[p>>2];c[n+4>>2]=c[p+4>>2];c[n+8>>2]=c[p+8>>2];c[n+12>>2]=c[p+12>>2];p=(c[e>>2]|0)+(b<<5)|0;c[m>>2]=c[p>>2];c[m+4>>2]=c[p+4>>2];c[m+8>>2]=c[p+8>>2];c[m+12>>2]=c[p+12>>2];p=1;k=(p|0)==0;n=c[o>>2]|0;m=n+-16|0;n=n+16|0;n=k?m:n;c[o>>2]=n;l=q;return p|0}function Tv(b,d){b=b|0;d=d|0;var e=0;if((d|0)>1){if((c[(c[b+12>>2]|0)+12>>2]|0)>0)Ew(b);Bx(b,d);return}else{if(d|0)return;d=b+8|0;e=c[d>>2]|0;b=jx(b,334803,0)|0;c[e>>2]=b;c[e+8>>2]=(a[b+4>>0]|64)&255;c[d>>2]=(c[d>>2]|0)+16;return}}function Uv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=b+12|0;if((c[(c[e>>2]|0)+12>>2]|0)>0)Ew(b);if(d>>>0>4294967271)Hw(b);h=d+24|0;g=c[e>>2]|0;f=g+4|0;e=jg[c[g>>2]&31](c[f>>2]|0,0,7,h)|0;if((h|0)!=0&(e|0)==0){if(!(c[g+140>>2]|0))cw(b,4);Fw(b,1);e=jg[c[g>>2]&31](c[f>>2]|0,0,7,h)|0;if(!e)cw(b,4);else i=e}else i=e;f=g+12|0;c[f>>2]=h+(c[f>>2]|0);a[i+5>>0]=a[g+60>>0]&3;a[i+4>>0]=7;g=g+64|0;c[i>>2]=c[g>>2];c[g>>2]=i;c[i+12>>2]=d;c[i+8>>2]=0;g=316088;h=c[g+4>>2]|0;d=i+16|0;c[d>>2]=c[g>>2];c[d+4>>2]=h;a[i+6>>0]=0;d=b+8|0;b=c[d>>2]|0;c[b>>2]=i;c[b+8>>2]=71;c[d>>2]=(c[d>>2]|0)+16;return i+24|0}function Vv(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=c[b+16>>2]|0;do if((e|0)<=0){if((e|0)>=-1000999){e=(c[b+8>>2]|0)+(e<<4)|0;break}if((e|0)==-1001e3){e=(c[b+12>>2]|0)+40|0;break}h=-1001e3-e|0;e=c[g>>2]|0;if((c[e+8>>2]|0)==22)e=316088;else{e=c[e>>2]|0;e=(h|0)>(d[e+6>>0]|0|0)?316088:e+16+(h+-1<<4)|0}}else{e=(c[g>>2]|0)+(e<<4)|0;e=e>>>0<(c[b+8>>2]|0)>>>0?e:316088}while(0);a:do switch(c[e+8>>2]&63){case 38:{e=c[e>>2]|0;if((f|0)<=0){b=0;return b|0}if((d[e+6>>0]|0|0)<(f|0)){b=0;return b|0}else{i=334803;h=e+16+(f+-1<<4)|0;f=0;break a}}case 6:{e=c[e>>2]|0;g=c[e+12>>2]|0;if((f|0)<=0){b=0;return b|0}if((c[g+12>>2]|0)<(f|0)){b=0;return b|0}i=f+-1|0;f=c[e+16+(i<<2)>>2]|0;h=c[f>>2]|0;e=c[(c[g+64>>2]|0)+(i<<3)>>2]|0;if(!e){i=279406;e=0}else{i=e+16|0;e=0}break}default:{b=0;return b|0}}while(0);g=b+8|0;j=(c[g>>2]|0)+-16|0;c[g>>2]=j;c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];c[h+12>>2]=c[j+12>>2];if(!e){e=f;if(!f){j=i;return j|0}j=c[e>>2]|0;if(!((j|0)==(e+8|0)?(c[j+8>>2]&64|0)!=0:0)){j=i;return j|0}g=c[b+12>>2]|0;e=c[c[f>>2]>>2]|0;if((d[g+61>>0]|0)>=2){j=i;return j|0}if(!(a[e+5>>0]&3)){j=i;return j|0}uw(g,e);j=i;return j|0}g=c[g>>2]|0;if(!(c[g+8>>2]&64)){j=i;return j|0}h=e+5|0;f=a[h>>0]|0;if(!(f&4)){j=i;return j|0}g=c[g>>2]|0;if(!(a[g+5>>0]&3)){j=i;return j|0}e=c[b+12>>2]|0;if((d[e+61>>0]|0)<2){uw(e,g);j=i;return j|0}else{a[h>>0]=a[e+60>>0]&3|f&-8;j=i;return j|0}return 0}function Wv(b,e,f){b=b|0;e=e|0;f=f|0;var 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,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;Y=l;l=l+16|0;X=Y;V=b+6|0;if((a[V>>0]|0)==1){N=c[b+16>>2]|0;O=c[N>>2]|0;R=c[b+28>>2]|0;U=N+28|0;c[N>>2]=R+(c[U>>2]|0);c[U>>2]=O-R}if((a[e>>0]|0)==62){O=b+8|0;U=(c[O>>2]|0)+-16|0;c[O>>2]=U;e=e+1|0;O=0}else{U=c[f+96>>2]|0;O=U;U=c[U>>2]|0}if((c[U+8>>2]&31|0)==6)R=c[U>>2]|0;else R=0;g=a[e>>0]|0;a:do if(!(g<<24>>24))t=1;else{o=(R|0)==0;p=f+16|0;q=f+24|0;r=f+28|0;s=f+12|0;u=f+36|0;v=R+4|0;w=R+12|0;x=(O|0)==0;y=f+20|0;A=O+34|0;B=O+20|0;C=f+32|0;D=f+34|0;E=f+33|0;F=R+6|0;G=f+35|0;H=f+8|0;I=f+4|0;J=O+8|0;K=b+12|0;L=f+45|0;M=f+95|0;N=f+39|0;n=e;t=1;while(1){b:do switch(g<<24>>24|0){case 83:{if(!o?(a[v>>0]|0)!=38:0){m=c[w>>2]|0;k=c[m+72>>2]|0;k=(k|0)==0?279445:k+16|0;c[p>>2]=k;g=c[m+36>>2]|0;c[q>>2]=g;c[r>>2]=c[m+40>>2];g=(g|0)==0?279448:279453}else{c[p>>2]=279440;c[q>>2]=-1;c[r>>2]=-1;k=279440;g=308253}c[s>>2]=g;m=JO(k)|0;switch(a[k>>0]|0){case 61:{g=k+1|0;if(m>>>0>60){j=u;h=j+59|0;do{a[j>>0]=a[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(h|0));a[M>>0]=0;break b}else{CQ(u|0,g|0,m|0)|0;break b}}case 64:if(m>>>0>60){a[u>>0]=a[287140]|0;a[u+1>>0]=a[287141]|0;a[u+2>>0]=a[287142]|0;j=N;g=k+(m+-56)|0;h=j+57|0;do{a[j>>0]=a[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(h|0));break b}else{CQ(u|0,k+1|0,m|0)|0;break b}default:{i=KO(k,10)|0;j=u;g=280332;h=j+9|0;do{a[j>>0]=a[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(h|0));g=(i|0)==0;if(m>>>0<45&g){CQ(L|0,k|0,m|0)|0;g=m+9|0}else{g=g?m:i-k|0;g=g>>>0<45?g:45;CQ(L|0,k|0,g|0)|0;m=g+9+(f+36)|0;a[m>>0]=a[287140]|0;a[m+1>>0]=a[287141]|0;a[m+2>>0]=a[287142]|0;g=g+12|0}m=f+36+g|0;a[m>>0]=a[280342]|0;a[m+1>>0]=a[280343]|0;a[m+2>>0]=a[280344]|0;break b}}}case 108:{if((!x?(a[A>>0]&2)!=0:0)?(S=c[(c[c[O>>2]>>2]|0)+12>>2]|0,T=c[S+56>>2]|0,(T|0)!=0):0)g=c[T+(((c[B>>2]|0)-(c[S+48>>2]|0)>>2)+-1<<2)>>2]|0;else g=-1;c[y>>2]=g;break}case 117:{if(!o){a[C>>0]=a[F>>0]|0;if((a[v>>0]|0)!=38){m=c[w>>2]|0;a[D>>0]=a[m+7>>0]|0;a[E>>0]=a[m+6>>0]|0;break b}}else a[C>>0]=0;a[D>>0]=1;a[E>>0]=0;break}case 116:{if(x)g=0;else g=a[A>>0]&32;a[G>>0]=g;break}case 110:{c:do if((!x?(a[A>>0]&32)==0:0)?(P=c[J>>2]|0,Q=a[P+34>>0]|0,(Q&2)!=0):0){g=c[(c[c[P>>2]>>2]|0)+12>>2]|0;i=c[g+48>>2]|0;h=((c[P+20>>2]|0)-i>>2)+-1|0;i=c[i+(h<<2)>>2]|0;d:do if(!(Q&4)){do switch(i&63){case 41:{g=279457;h=279457;break d}case 37:case 36:{m=Xv(g,h,i>>>6&255,I)|0;c[H>>2]=m;if(!m)break c;else break b}case 33:{g=21;break}case 32:{g=20;break}case 31:{g=5;break}case 10:case 8:{g=1;break}case 24:case 23:case 22:case 21:case 20:case 19:case 18:case 17:case 16:case 15:case 14:case 13:{g=(i&63)+-7|0;break}case 25:{g=18;break}case 26:{g=19;break}case 28:{g=4;break}case 29:{g=22;break}default:g=0}while(0);g=(c[(c[K>>2]|0)+148+(g<<2)>>2]|0)+16|0;h=279470}else{g=285673;h=279481}while(0);c[I>>2]=g;c[H>>2]=h;break b}else W=54;while(0);if((W|0)==54){W=0;c[H>>2]=0}c[H>>2]=334803;c[I>>2]=0;break}case 102:case 76:break;default:t=0}while(0);n=n+1|0;g=a[n>>0]|0;if(!(g<<24>>24))break a}}while(0);if(KO(e,102)|0){W=b+8|0;f=c[W>>2]|0;c[f>>2]=c[U>>2];c[f+4>>2]=c[U+4>>2];c[f+8>>2]=c[U+8>>2];c[f+12>>2]=c[U+12>>2];c[W>>2]=(c[W>>2]|0)+16}if((a[V>>0]|0)==1){f=c[b+16>>2]|0;U=c[f>>2]|0;V=c[b+28>>2]|0;W=f+28|0;c[f>>2]=V+(c[W>>2]|0);c[W>>2]=U-V}if(!(KO(e,76)|0)){l=Y;return t|0}if(R|0?(a[R+4>>0]|0)!=38:0){j=R+12|0;k=c[(c[j>>2]|0)+56>>2]|0;m=px(b)|0;W=b+8|0;V=c[W>>2]|0;c[V>>2]=m;c[V+8>>2]=69;c[W>>2]=(c[W>>2]|0)+16;if((c[(c[j>>2]|0)+24>>2]|0)<=0){l=Y;return t|0}n=m+8|0;o=m+12|0;p=X+8|0;q=m+7|0;r=m+16|0;s=0;do{h=c[k+(s<<2)>>2]|0;i=((h|0)<0)<<31>>31;e=lQ(h|0,i|0,-1,-1)|0;W=z;e:do if(W>>>0<0|((W|0)==0?e>>>0<(c[n>>2]|0)>>>0:0)){e=(c[o>>2]|0)+(e<<4)|0;W=78}else{e=(c[r>>2]|0)+(((1<>0])+-1&h)<<5)|0;while(1){if((c[e+24>>2]|0)==19?(W=e+16|0,(c[W>>2]|0)==(h|0)?(c[W+4>>2]|0)==(i|0):0):0)break;g=c[e+28>>2]|0;if(!g){W=79;break e}e=e+(g<<5)|0}W=78}while(0);if((W|0)==78){W=0;if((e|0)==316088)W=79}if((W|0)==79){e=X;c[e>>2]=h;c[e+4>>2]=i;c[p>>2]=19;e=nx(b,m,X)|0}c[e>>2]=1;c[e+8>>2]=1;s=s+1|0}while((s|0)<(c[(c[j>>2]|0)+24>>2]|0));l=Y;return t|0}X=b+8|0;b=c[X>>2]|0;c[b+8>>2]=0;c[X>>2]=b+16;l=Y;return t|0}function Xv(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;m=b+48|0;p=c[b+32>>2]|0;n=(p|0)>0;o=b+60|0;a:while(1){b:do if(n){i=c[o>>2]|0;g=e+1|0;h=0;do{if((c[i+(h*12|0)+4>>2]|0)>(d|0))break b;if((c[i+(h*12|0)+8>>2]|0)>(d|0)){g=g+-1|0;if(!g){k=9;break a}}h=h+1|0}while((h|0)<(p|0))}while(0);c[f>>2]=0;if((d|0)<=0){d=0;k=54;break}l=c[m>>2]|0;j=0;k=0;i=-1;while(1){g=c[l+(k<<2)>>2]|0;h=g>>>6&255;switch(g&63){case 4:{if((h|0)<=(e|0)?(h+(g>>>23)|0)>=(e|0):0){g=j;i=(k|0)<(j|0)?-1:k}else g=j;break}case 41:{if((h+2|0)>(e|0))g=j;else{g=j;i=(k|0)<(j|0)?-1:k}break}case 37:case 36:{if((h|0)>(e|0))g=j;else{g=j;i=(k|0)<(j|0)?-1:k}break}case 30:{g=k+-131070+(g>>>14)|0;g=(g|0)>(j|0)&((g|0)<=(d|0)&(k|0)<(g|0))?g:j;break}default:if((h|0)==(e|0)?(a[280345+(g&63)>>0]&64)!=0:0){g=j;i=(k|0)<(j|0)?-1:k}else g=j}k=k+1|0;if((k|0)==(d|0))break;else j=g}if((i|0)==-1){d=0;k=54;break}g=c[l+(i<<2)>>2]|0;switch(g&63){case 7:case 6:{k=26;break a}case 5:{k=43;break a}case 12:{k=48;break a}case 1:{k=44;break a}case 2:{k=45;break a}case 0:break;default:{d=0;k=54;break a}}e=g>>>23;if(e>>>0>=(g>>>6&255)>>>0){d=0;k=54;break}else d=i}if((k|0)==9){c[f>>2]=(c[i+(h*12|0)>>2]|0)+16;f=287086;return f|0}else if((k|0)==26){h=g>>>14;j=h&511;d=g>>>23;c:do if((g&63|0)==7)if(n){g=c[o>>2]|0;d=d+1|0;e=0;while(1){if((c[g+(e*12|0)+4>>2]|0)>(i|0)){g=0;break c}if((c[g+(e*12|0)+8>>2]|0)>(i|0)){d=d+-1|0;if(!d)break}e=e+1|0;if((e|0)>=(p|0)){g=0;break c}}g=(c[g+(e*12|0)>>2]|0)+16|0}else g=0;else{g=c[(c[b+64>>2]|0)+(d<<3)>>2]|0;g=(g|0)==0?285673:g+16|0}while(0);if(!(h&256)){b=Xv(b,i,j,f)|0;if(!((b|0)!=0?(a[b>>0]|0)==99:0)){d=285673;k=40}}else{e=h&255;d=c[b+44>>2]|0;if((c[d+(e<<4)+8>>2]&15|0)==4){d=(c[d+(e<<4)>>2]|0)+16|0;k=40}else{d=285673;k=40}}if((k|0)==40)c[f>>2]=d;if(!g){f=279493;return f|0}f=(wN(g,287028)|0)==0;f=f?279486:279493;return f|0}else if((k|0)==43){b=c[(c[b+64>>2]|0)+(g>>>23<<3)>>2]|0;c[f>>2]=(b|0)==0?285673:b+16|0;f=279508;return f|0}else if((k|0)==44)e=g>>>14;else if((k|0)==45)e=(c[l+(i+1<<2)>>2]|0)>>>6;else if((k|0)==48){d=g>>>14;if(!(d&256)){b=Xv(b,i,d&511,f)|0;if(b|0?(a[b>>0]|0)==99:0){f=281899;return f|0}}else{e=d&255;d=c[b+44>>2]|0;if((c[d+(e<<4)+8>>2]&15|0)==4){c[f>>2]=(c[d+(e<<4)>>2]|0)+16;f=281899;return f|0}}c[f>>2]=285673;f=281899;return f|0}else if((k|0)==54)return d|0;d=c[b+44>>2]|0;if((c[d+(e<<4)+8>>2]&15|0)!=4){f=0;return f|0}c[f>>2]=(c[d+(e<<4)>>2]|0)+16;f=279499;return f|0}function Yv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=c[5104+((c[b+8>>2]&15)+1<<2)>>2]|0;b=Zv(a,b)|0;c[e>>2]=d;c[e+4>>2]=f;c[e+8>>2]=b;_v(a,279516,e)}function Zv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;k=m;j=m+8|0;c[j>>2]=0;g=c[b+16>>2]|0;if(!(a[g+34>>0]&2)){k=334803;l=m;return k|0}h=c[c[g>>2]>>2]|0;e=a[h+6>>0]|0;a:do if(!(e<<24>>24))i=7;else{f=e&255;e=0;while(1){if((c[c[h+16+(e<<2)>>2]>>2]|0)==(d|0))break;e=e+1|0;if((e|0)>=(f|0)){i=7;break a}}f=c[(c[(c[h+12>>2]|0)+64>>2]|0)+(e<<3)>>2]|0;f=(f|0)==0?285673:f+16|0;c[j>>2]=f;e=279508}while(0);do if((i|0)==7){f=c[g+16>>2]|0;e=d-f|0;if((e|0)<=-16){k=334803;l=m;return k|0}if((e|0)>=((c[g+4>>2]|0)-f|0)){k=334803;l=m;return k|0}i=c[h+12>>2]|0;e=Xv(i,((c[g+20>>2]|0)-(c[i+48>>2]|0)>>2)+-1|0,e>>4,j)|0;if(!e){k=334803;l=m;return k|0}else{f=c[j>>2]|0;break}}while(0);c[k>>2]=e;c[k+4>>2]=f;k=Lw(b,279553,k)|0;l=m;return k|0}function _v(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,m=0,n=0;k=l;l=l+96|0;n=k;m=k+32|0;k=k+16|0;g=c[b+16>>2]|0;c[k>>2]=e;k=Kw(b,d,k)|0;if(!(a[g+34>>0]&2))$v(b);d=c[(c[c[g>>2]>>2]|0)+12>>2]|0;f=c[d+72>>2]|0;e=c[d+56>>2]|0;if(!e)j=-1;else j=c[e+(((c[g+20>>2]|0)-(c[d+48>>2]|0)>>2)+-1<<2)>>2]|0;a:do if(!f){a[m>>0]=63;a[m+1>>0]=0}else{g=f+16|0;i=JO(g)|0;switch(a[g>>0]|0){case 61:{d=g+1|0;if(i>>>0>60){f=m;e=f+59|0;do{a[f>>0]=a[d>>0]|0;f=f+1|0;d=d+1|0}while((f|0)<(e|0));a[m+59>>0]=0;break a}else{CQ(m|0,d|0,i|0)|0;break a}}case 64:if(i>>>0>60){a[m>>0]=a[287140]|0;a[m+1>>0]=a[287141]|0;a[m+2>>0]=a[287142]|0;f=m+3|0;d=g+(i+-56)|0;e=f+57|0;do{a[f>>0]=a[d>>0]|0;f=f+1|0;d=d+1|0}while((f|0)<(e|0));break a}else{CQ(m|0,g+1|0,i|0)|0;break a}default:{h=KO(g,10)|0;f=m;d=280332;e=f+9|0;do{a[f>>0]=a[d>>0]|0;f=f+1|0;d=d+1|0}while((f|0)<(e|0));d=m+9|0;e=(h|0)==0;if(i>>>0<45&e){CQ(d|0,g|0,i|0)|0;d=i+9|0}else{i=e?i:h-g|0;i=i>>>0<45?i:45;CQ(d|0,g|0,i|0)|0;d=m+(i+9)|0;a[d>>0]=a[287140]|0;a[d+1>>0]=a[287141]|0;a[d+2>>0]=a[287142]|0;d=i+12|0}i=m+d|0;a[i>>0]=a[280342]|0;a[i+1>>0]=a[280343]|0;a[i+2>>0]=a[280344]|0;break a}}}while(0);c[n>>2]=m;c[n+4>>2]=j;c[n+8>>2]=k;Lw(b,279543,n)|0;$v(b)}function $v(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;g=l;l=l+16|0;d=c[a+88>>2]|0;if(!d)cw(a,2);d=(c[a+28>>2]|0)+d|0;f=a+8|0;e=c[f>>2]|0;h=e+-16|0;c[e>>2]=c[h>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];c[e+12>>2]=c[h+12>>2];e=(c[f>>2]|0)+-16|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];e=c[f>>2]|0;c[f>>2]=e+16;e=e+-16|0;f=a+106|0;d=(b[f>>1]|0)+1<<16>>16;b[f>>1]=d;if((d&65535)>199){if(d<<16>>16==200)_v(a,279702,g);if((d&65535)>224)cw(a,6)}d=a+104|0;b[d>>1]=(b[d>>1]|0)+1<<16>>16;if(!(gw(a,e,1)|0))Ex(a);b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[f>>1]=(b[f>>1]|0)+-1<<16>>16;cw(a,2)}function aw(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;i=l;l=l+16|0;h=c[e+8>>2]|0;if((h|0)==3){j=f;Yv(b,j,g)}if((h|0)!=19){if((h&15|0)==4){i=Iw((c[e>>2]|0)+16|0,i)|0;h=c[e>>2]|0;if((a[h+4>>0]|0)==4)h=d[h+7>>0]|0;else h=c[h+12>>2]|0;e=(i|0)==(h+1|0)?f:e}}else e=f;j=e;Yv(b,j,g)}function bw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=l;l=l+16|0;g=f+8|0;e=c[5104+((b&15)+1<<2)>>2]|0;b=c[5104+((d&15)+1<<2)>>2]|0;if((e|0)==(b|0)){c[f>>2]=e;_v(a,279615,f)}else{c[g>>2]=e;c[g+4>>2]=b;_v(a,279648,g)}}function cw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=c[b+44>>2]|0;if(e|0){c[e+160>>2]=d;Of(e+4|0,1)}i=c[b+12>>2]|0;a[b+6>>0]=d;f=i+136|0;e=c[f>>2]|0;if(c[e+44>>2]|0){g=e+8|0;h=c[g>>2]|0;c[g>>2]=h+16;g=(c[b+8>>2]|0)+-16|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];cw(c[f>>2]|0,d)}h=i+132|0;if(!(c[h>>2]|0))hb();g=b+8|0;e=c[g>>2]|0;switch(d|0){case 4:{d=c[i+144>>2]|0;c[e>>2]=d;c[e+8>>2]=(a[d+4>>0]|64)&255;break}case 6:{d=jx(b,279678,23)|0;c[e>>2]=d;c[e+8>>2]=(a[d+4>>0]|64)&255;break}default:{d=e+-16|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]}}f=e+16|0;c[g>>2]=f;e=(c[b+16>>2]|0)+4|0;if((c[e>>2]|0)>>>0>>0)c[e>>2]=f;gg[c[h>>2]&511](b)|0;hb()}function dw(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,m=0,n=0,q=0,r=0,s=0;s=l;l=l+176|0;n=4;q=TM(40)|0;c[q>>2]=0;m=s;h=a+106|0;i=b[h>>1]|0;j=m+160|0;c[j>>2]=0;k=a+44|0;c[m>>2]=c[k>>2];c[k>>2]=m;n=AQ(m+4|0,1,q|0,n|0)|0;q=z;o=0;f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,n|0,q|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;if((g|0)==1)f=z;else f=0;while(1){if(f|0){r=6;break}o=0;ua(d|0,a|0,e|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,n|0,q|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;if((g|0)==1)f=z;else break}if((r|0)==6){r=c[m>>2]|0;c[k>>2]=r;b[h>>1]=i;r=c[j>>2]|0;UM(n|0);l=s;return r|0}r=c[m>>2]|0;c[k>>2]=r;b[h>>1]=i;r=c[j>>2]|0;UM(n|0);l=s;return r|0}function ew(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;i=b+28|0;f=c[i>>2]|0;n=b+92|0;e=c[n>>2]|0;if((d+1|0)>>>0>268435455)Hw(b);k=e<<4;l=d<<4;m=c[b+12>>2]|0;j=(f|0)!=0;g=m+4|0;h=jg[c[m>>2]&31](c[g>>2]|0,f,k,l)|0;if((l|0)!=0&(h|0)==0){if(!(c[m+140>>2]|0))cw(b,4);Fw(b,1);g=jg[c[m>>2]&31](c[g>>2]|0,f,k,l)|0;if(!g)cw(b,4);else o=g}else o=h;m=m+12|0;c[m>>2]=(j?0-k|0:0)+l+(c[m>>2]|0);c[i>>2]=o;if((e|0)<(d|0))do{c[o+(e<<4)+8>>2]=0;e=e+1|0}while((e|0)!=(d|0));c[n>>2]=d;c[b+24>>2]=o+(d+-5<<4);e=b+8|0;c[e>>2]=o+((c[e>>2]|0)-f>>4<<4);e=c[b+32>>2]|0;if(e|0)do{c[e>>2]=o+((c[e>>2]|0)-f>>4<<4);e=c[e+8>>2]|0}while((e|0)!=0);e=c[b+16>>2]|0;if(!e)return;do{b=e+4|0;c[b>>2]=o+((c[b>>2]|0)-f>>4<<4);c[e>>2]=o+((c[e>>2]|0)-f>>4<<4);if(a[e+34>>0]&2){b=e+16|0;c[b>>2]=o+((c[b>>2]|0)-f>>4<<4)}e=c[e+8>>2]|0}while((e|0)!=0);return}function fw(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=l;l=l+112|0;r=s;q=s+4|0;g=c[b+84>>2]|0;if(!g){l=s;return}m=b+109|0;if(!(a[m>>0]|0)){l=s;return}o=c[b+16>>2]|0;p=b+8|0;f=c[p>>2]|0;h=b+28|0;k=c[h>>2]|0;t=f;i=t-k|0;j=o+4|0;k=(c[j>>2]|0)-k|0;c[q>>2]=d;c[q+20>>2]=e;c[q+96>>2]=o;do if(((c[b+24>>2]|0)-t|0)<336){f=c[b+92>>2]|0;if((f|0)>1e6)cw(b,6);t=(i>>4)+25|0;f=f<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(t|0)?t:f;if((f|0)>1e6){ew(b,1000200);_v(b,283170,r)}else{ew(b,f);n=c[p>>2]|0;break}}else n=f;while(0);c[j>>2]=n+320;a[m>>0]=0;t=o+34|0;a[t>>0]=a[t>>0]|4;Bg[g&255](b,q);a[m>>0]=1;r=c[h>>2]|0;c[j>>2]=r+k;c[p>>2]=r+i;a[t>>0]=a[t>>0]&-5;l=s;return}function gw(e,f,g){e=e|0;f=f|0;g=g|0;var 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,A=0,B=0;B=l;l=l+32|0;p=B+24|0;w=B+16|0;t=B+8|0;q=B;y=e+28|0;u=e+24|0;A=e+8|0;v=e+92|0;z=e+12|0;a:while(1){i=c[y>>2]|0;m=f;k=i;x=m-k|0;switch(c[f+8>>2]&63){case 22:{h=3;break a}case 38:{h=4;break a}case 6:{h=22;break a}default:{}}h=c[A>>2]|0;if(((c[u>>2]|0)-h|0)<32){f=c[v>>2]|0;if((f|0)>1e6){h=59;break}s=(h-k>>4)+6|0;f=f<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(s|0)?s:f;if((f|0)>1e6){h=61;break}ew(e,f);f=c[y>>2]|0}else f=i;f=f+x|0;h=c[f+8>>2]|0;switch(h&15){case 5:{h=(c[f>>2]|0)+24|0;break}case 7:{h=(c[f>>2]|0)+8|0;break}default:h=(c[z>>2]|0)+244+((h&15)<<2)|0}h=c[h>>2]|0;b:do if(!h)i=316088;else{k=c[(c[z>>2]|0)+240>>2]|0;i=(c[h+16>>2]|0)+(((1<>0])+-1&c[k+8>>2])<<5)|0;while(1){if((c[i+24>>2]|0)==68?(c[i+16>>2]|0)==(k|0):0)break;h=c[i+28>>2]|0;if(!h){i=316088;break b}i=i+(h<<5)|0}}while(0);if((c[i+8>>2]&15|0)!=6){h=75;break}h=c[A>>2]|0;if(h>>>0>f>>>0){do{x=h;h=h+-16|0;c[x>>2]=c[h>>2];c[x+4>>2]=c[h+4>>2];c[x+8>>2]=c[h+8>>2];c[x+12>>2]=c[h+12>>2]}while(h>>>0>f>>>0);h=c[A>>2]|0}c[A>>2]=h+16;c[f>>2]=c[i>>2];c[f+4>>2]=c[i+4>>2];c[f+8>>2]=c[i+8>>2];c[f+12>>2]=c[i+12>>2]}if((h|0)==3)o=f;else if((h|0)==4)o=(c[f>>2]|0)+12|0;else if((h|0)==22){s=c[(c[f>>2]|0)+12>>2]|0;f=c[A>>2]|0;q=f-m>>4;o=q+-1|0;if((c[(c[z>>2]|0)+12>>2]|0)>0){Ew(e);f=c[A>>2]|0}r=s+8|0;h=d[r>>0]|0;do if(((c[u>>2]|0)-f>>4|0)<=(h|0)){i=c[v>>2]|0;if((i|0)>1e6)cw(e,6);p=h+5+(f-(c[y>>2]|0)>>4)|0;f=i<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(p|0)?p:f;if((f|0)>1e6){ew(e,1000200);_v(e,283170,t)}else{ew(e,f);break}}while(0);m=a[s+6>>0]|0;p=m&255;if((q|0)>(p|0))k=o;else{h=c[A>>2]|0;i=p+1|0;k=h;f=o;while(1){c[k+8>>2]=0;f=f+1|0;if((f|0)>=(p|0))break;else k=k+16|0}c[A>>2]=h+(i-q<<4);k=p}if(!(a[s+7>>0]|0)){n=c[y>>2]|0;f=n;n=n+(x+16)|0}else{f=c[A>>2]|0;h=f;i=d[r>>0]|0;do if(((c[u>>2]|0)-h>>4|0)<=(i|0)){f=c[v>>2]|0;if((f|0)>1e6)cw(e,6);v=i+5+(h-(c[y>>2]|0)>>4)|0;f=f<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(v|0)?v:f;if((f|0)>1e6){ew(e,1000200);_v(e,283170,w)}else{ew(e,f);n=c[A>>2]|0;break}}else n=f;while(0);if(m<<24>>24?(c[A>>2]=n+16,w=0-k|0,v=n+(w<<4)|0,c[n>>2]=c[v>>2],c[n+4>>2]=c[v+4>>2],c[n+8>>2]=c[v+8>>2],c[n+12>>2]=c[v+12>>2],c[n+(w<<4)+8>>2]=0,m<<24>>24!=1):0){f=1;do{v=c[A>>2]|0;c[A>>2]=v+16;w=f-k|0;u=n+(w<<4)|0;c[v>>2]=c[u>>2];c[v+4>>2]=c[u+4>>2];c[v+8>>2]=c[u+8>>2];c[v+12>>2]=c[u+12>>2];c[n+(w<<4)+8>>2]=0;f=f+1|0}while((f|0)!=(p|0))}f=c[y>>2]|0}k=f+x|0;m=e+16|0;f=c[(c[m>>2]|0)+12>>2]|0;if(!f){i=c[z>>2]|0;f=i+4|0;h=jg[c[i>>2]&31](c[f>>2]|0,0,0,36)|0;if(!h){if(!(c[i+140>>2]|0))cw(e,4);Fw(e,1);f=jg[c[i>>2]&31](c[f>>2]|0,0,0,36)|0;if(!f)cw(e,4);else j=f}else j=h;z=i+12|0;c[z>>2]=(c[z>>2]|0)+36;z=c[m>>2]|0;c[z+12>>2]=j;c[j+8>>2]=z;c[j+12>>2]=0}else j=f;c[m>>2]=j;b[j+32>>1]=g;c[j>>2]=k;c[j+16>>2]=n;g=n+(d[r>>0]<<4)|0;c[j+4>>2]=g;f=c[s+48>>2]|0;i=j+20|0;c[i>>2]=f;h=j+34|0;a[h>>0]=2;c[A>>2]=g;if(!(a[e+108>>0]&1)){e=0;l=B;return e|0}c[i>>2]=f+4;A=c[j+8>>2]|0;if((a[A+34>>0]&2)!=0?(c[(c[A+20>>2]|0)+-4>>2]&63|0)==37:0){a[h>>0]=34;f=4}else f=0;fw(e,f,-1);c[i>>2]=(c[i>>2]|0)+-4;e=0;l=B;return e|0}else if((h|0)==59)cw(e,6);else if((h|0)==61){ew(e,1000200);_v(e,283170,p)}else if((h|0)==75)Yv(e,f,283194);k=c[o>>2]|0;if((c[(c[z>>2]|0)+12>>2]|0)>0)Ew(e);h=c[A>>2]|0;do if(((c[u>>2]|0)-h|0)<336){f=c[v>>2]|0;if((f|0)>1e6)cw(e,6);w=(h-(c[y>>2]|0)>>4)+25|0;f=f<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(w|0)?w:f;if((f|0)>1e6){ew(e,1000200);_v(e,283170,q)}else{ew(e,f);break}}while(0);j=e+16|0;f=c[(c[j>>2]|0)+12>>2]|0;if(!f){i=c[z>>2]|0;f=i+4|0;h=jg[c[i>>2]&31](c[f>>2]|0,0,0,36)|0;if(!h){if(!(c[i+140>>2]|0))cw(e,4);Fw(e,1);f=jg[c[i>>2]&31](c[f>>2]|0,0,0,36)|0;if(!f)cw(e,4);else r=f}else r=h;f=i+12|0;c[f>>2]=(c[f>>2]|0)+36;f=c[j>>2]|0;c[f+12>>2]=r;c[r+8>>2]=f;c[r+12>>2]=0;f=r}c[j>>2]=f;b[f+32>>1]=g;c[f>>2]=(c[y>>2]|0)+x;c[f+4>>2]=(c[A>>2]|0)+320;a[f+34>>0]=0;if(a[e+108>>0]&1)fw(e,0,-1);g=gg[k&511](e)|0;hw(e,(c[A>>2]|0)+(0-g<<4)|0,g)|0;e=1;l=B;return e|0}function hw(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=a+16|0;i=c[j>>2]|0;g=d[a+108>>0]|0;if(!(g&6))h=c[i+8>>2]|0;else{if(g&2){k=a+28|0;e=e-(c[k>>2]|0)|0;fw(a,1,-1);e=(c[k>>2]|0)+e|0}h=c[i+8>>2]|0;c[a+20>>2]=c[h+20>>2]}g=c[i>>2]|0;i=b[i+32>>1]|0;k=i<<16>>16;c[j>>2]=h;if(i<<16>>16!=0&(f|0)>0){h=0-k|0;j=-2-f-((f|0)<1?~f:-2)|0;j=j>>>0>>0?h:j;h=k;i=g;while(1){c[i>>2]=c[e>>2];c[i+4>>2]=c[e+4>>2];c[i+8>>2]=c[e+8>>2];c[i+12>>2]=c[e+12>>2];h=h+-1|0;if(!((h|0)!=0&(f|0)>1))break;else{f=f+-1|0;e=e+16|0;i=i+16|0}}i=j+k|0;g=g+(0-j<<4)|0}else i=k;if((i|0)>0){e=i;h=g}else{j=g;a=a+8|0;c[a>>2]=j;a=k+1|0;return a|0}while(1){c[h+8>>2]=0;if((e|0)>1){e=e+-1|0;h=h+16|0}else break}j=g+(i<<4)|0;a=a+8|0;c[a>>2]=j;a=k+1|0;return a|0}function iw(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=l;l=l+16|0;g=i;h=a+106|0;f=(b[h>>1]|0)+1<<16>>16;b[h>>1]=f;if((f&65535)>199){if(f<<16>>16==200)_v(a,279702,g);if((f&65535)>224)cw(a,6)}f=(e|0)!=0;if(!f){g=a+104|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16}if(!(gw(a,c,d)|0))Ex(a);if(f){d=b[h>>1]|0;d=d+-1<<16>>16;b[h>>1]=d;l=i;return}d=a+104|0;b[d>>1]=(b[d>>1]|0)+-1<<16>>16;d=b[h>>1]|0;d=d+-1<<16>>16;b[h>>1]=d;l=i;return}function jw(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;f=c[f>>2]|0;k=d+8|0;i=c[k>>2]|0;g=i+(0-f<<4)|0;l=d+16|0;j=c[l>>2]|0;if((e[d+106>>1]|0)>199)lw(d,279702,g);h=d+6|0;switch(a[h>>0]|0){case 0:{if((j|0)!=(d+48|0))lw(d,279719,g);if(gw(d,i+(~f<<4)|0,-1)|0)return;Ex(d);return}case 1:{a[h>>0]=0;c[j>>2]=(c[d+28>>2]|0)+(c[j+28>>2]|0);if(!(a[j+34>>0]&2)){h=c[j+16>>2]|0;if(h){f=ig[h&63](d,1,c[j+24>>2]|0)|0;g=(c[k>>2]|0)+(0-f<<4)|0}hw(d,g,f)|0}else Ex(d);f=c[l>>2]|0;i=d+48|0;if((f|0)==(i|0))return;j=d+88|0;do{h=f+34|0;g=a[h>>0]|0;if(!(g&2)){g=g&255;if(g&16|0){a[h>>0]=g&239;c[j>>2]=c[f+20>>2]}if((b[f+32>>1]|0)==-1?(m=f+4|0,n=c[k>>2]|0,(c[m>>2]|0)>>>0>>0):0)c[m>>2]=n;h=ig[c[f+16>>2]&63](d,1,c[f+24>>2]|0)|0;hw(d,(c[k>>2]|0)+(0-h<<4)|0,h)|0}else{Dx(d);Ex(d)}f=c[l>>2]|0}while((f|0)!=(i|0));return}default:lw(d,282869,g)}}function kw(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(!f)i=e+16|0;else{j=c[f>>2]|0;i=e+16|0;k=c[i>>2]|0;f=k+34|0;g=d[f>>0]|0;if(g&16|0){a[f>>0]=g&239;c[e+88>>2]=c[k+20>>2]}if((b[k+32>>1]|0)==-1){g=k+4|0;f=e+8|0;h=c[f>>2]|0;if((c[g>>2]|0)>>>0>>0)c[g>>2]=h}else f=e+8|0;l=ig[c[k+16>>2]&63](e,j,c[k+24>>2]|0)|0;hw(e,(c[f>>2]|0)+(0-l<<4)|0,l)|0}f=c[i>>2]|0;j=e+48|0;if((f|0)==(j|0))return;k=e+8|0;l=e+88|0;do{h=f+34|0;g=a[h>>0]|0;if(!(g&2)){g=g&255;if(g&16|0){a[h>>0]=g&239;c[l>>2]=c[f+20>>2]}if((b[f+32>>1]|0)==-1?(m=f+4|0,n=c[k>>2]|0,(c[m>>2]|0)>>>0>>0):0)c[m>>2]=n;h=ig[c[f+16>>2]&63](e,1,c[f+24>>2]|0)|0;hw(e,(c[k>>2]|0)+(0-h<<4)|0,h)|0}else{Dx(e);Ex(e)}f=c[i>>2]|0}while((f|0)!=(j|0));return}function lw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=b+8|0;c[f>>2]=e;d=kx(b,d)|0;c[e>>2]=d;c[e+8>>2]=(a[d+4>>0]|64)&255;c[f>>2]=(c[f>>2]|0)+16;cw(b,-1)}function mw(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;p=e+16|0;u=c[p>>2]|0;q=e+109|0;r=a[q>>0]|0;s=e+104|0;t=b[s>>1]|0;x=e+88|0;y=c[x>>2]|0;c[x>>2]=i;w=dw(e,f,g)|0;if(!w){c[x>>2]=y;return w|0}v=e+28|0;j=c[v>>2]|0;k=j+h|0;l=e+32|0;i=c[l>>2]|0;a:do if(i|0){m=e+12|0;do{f=c[i>>2]|0;if(f>>>0>>0)break a;g=i+8|0;c[l>>2]=c[g>>2];if(c[i+4>>2]|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];c[i>>2]=g;if((c[i+16>>2]&64|0?(n=c[m>>2]|0,o=c[g>>2]|0,(d[n+61>>0]|0)<2):0)?a[o+5>>0]&3:0)uw(n,o)}else{g=c[m>>2]|0;jg[c[g>>2]&31](c[g+4>>2]|0,i,24,0)|0;g=g+12|0;c[g>>2]=(i|0?-24:0)+(c[g>>2]|0)}i=c[l>>2]|0}while((i|0)!=0)}while(0);switch(w|0){case 4:{o=c[(c[e+12>>2]|0)+144>>2]|0;c[k>>2]=o;c[j+(h+8)>>2]=(a[o+4>>0]|64)&255;break}case 6:{o=jx(e,279678,23)|0;c[k>>2]=o;c[j+(h+8)>>2]=(a[o+4>>0]|64)&255;break}default:{o=(c[e+8>>2]|0)+-16|0;c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];c[k+12>>2]=c[o+12>>2]}}i=j+(h+16)|0;c[e+8>>2]=i;c[p>>2]=u;a[q>>0]=r;b[s>>1]=t;g=u;if(u){f=g;do{u=c[f+4>>2]|0;i=i>>>0>>0?u:i;f=c[f+8>>2]|0}while((f|0)!=0)}m=i-(c[v>>2]|0)|0;l=(m>>4)+1|0;l=((l|0)/8|0)+10+l|0;l=(l|0)<1e6?l:1e6;n=e+92|0;f=g+12|0;i=c[f>>2]|0;b:do if((c[n>>2]|0)>1e6){c[f>>2]=0;if(i|0){f=e+12|0;do{u=i;i=c[i+12>>2]|0;v=c[f>>2]|0;jg[c[v>>2]&31](c[v+4>>2]|0,u,36,0)|0;v=v+12|0;c[v>>2]=(u|0?-36:0)+(c[v>>2]|0)}while((i|0)!=0)}}else if(i|0){k=e+12|0;do{j=g;g=c[i+12>>2]|0;if(!g)break b;v=c[k>>2]|0;jg[c[v>>2]&31](c[v+4>>2]|0,i,36,0)|0;v=v+12|0;c[v>>2]=(i|0?-36:0)+(c[v>>2]|0);c[f>>2]=g;c[g+8>>2]=j;f=g+12|0;i=c[f>>2]|0}while((i|0)!=0)}while(0);if((m|0)>15999984){c[x>>2]=y;return w|0}if((l|0)>=(c[n>>2]|0)){c[x>>2]=y;return w|0}ew(e,l);c[x>>2]=y;return w|0}function nw(b,e){b=b|0;e=e|0;var f=0,g=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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+256|0;r=H+184|0;q=H+176|0;k=H+168|0;C=H+160|0;x=H+152|0;w=H+144|0;v=H+136|0;u=H+128|0;t=H+120|0;j=H+112|0;D=H+240|0;E=H+88|0;G=H;y=H+192|0;f=c[e>>2]|0;s=c[f>>2]|0;c[f>>2]=s+-1;if(!s){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,D)|0;i=c[D>>2]|0;if((g|0)==0|(i|0)==0)f=-1;else{c[f>>2]=i+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}s=f}else{p=f+4|0;s=c[p>>2]|0;c[p>>2]=s+1;s=d[s>>0]|0}f=c[e+52>>2]|0;g=(f|0)==0;if((s|0)!=27){if(!g?(KO(f,116)|0)==0:0){c[k>>2]=298509;c[k+4>>2]=f;Lw(b,279841,k)|0;cw(b,3)}p=c[e>>2]|0;n=e+4|0;o=e+16|0;m=c[e+56>>2]|0;k=b+12|0;i=c[k>>2]|0;f=i+4|0;g=jg[c[i>>2]&31](c[f>>2]|0,0,6,20)|0;if(!g){if(!(c[i+140>>2]|0))cw(b,4);Fw(b,1);f=jg[c[i>>2]&31](c[f>>2]|0,0,6,20)|0;if(!f)cw(b,4);else A=f}else A=g;j=i+12|0;c[j>>2]=(c[j>>2]|0)+20;a[A+5>>0]=a[i+60>>0]&3;a[A+4>>0]=6;j=i+64|0;c[A>>2]=c[j>>2];c[j>>2]=A;j=A+12|0;c[j>>2]=0;a[A+6>>0]=1;c[A+16>>2]=0;x=b+8|0;f=c[x>>2]|0;c[f>>2]=A;c[f+8>>2]=70;f=(c[x>>2]|0)+16|0;c[x>>2]=f;i=b+24|0;do if(((c[i>>2]|0)-f|0)<16){g=c[b+92>>2]|0;if((g|0)>1e6)cw(b,6);C=(f-(c[b+28>>2]|0)>>4)+5|0;f=g<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(C|0)?C:f;if((f|0)>1e6){ew(b,1000200);_v(b,283170,q)}else{ew(b,f);break}}while(0);C=px(b)|0;c[G+64>>2]=C;g=c[x>>2]|0;c[g>>2]=C;c[g+8>>2]=69;g=(c[x>>2]|0)+16|0;c[x>>2]=g;do if(((c[i>>2]|0)-g|0)<16){f=c[b+92>>2]|0;if((f|0)>1e6)cw(b,6);C=(g-(c[b+28>>2]|0)>>4)+5|0;f=f<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(C|0)?C:f;if((f|0)>1e6){ew(b,1000200);_v(b,283170,r)}else{ew(b,f);break}}while(0);w=sw(b)|0;c[j>>2]=w;c[y>>2]=w;f=(c[k>>2]|0)+280+(((m>>>0)%127|0)<<2)|0;g=c[f>>2]|0;if(wN(m,g+16|0)|0){g=jx(b,m,JO(m)|0)|0;c[f>>2]=g}u=w+72|0;c[u>>2]=g;v=G+60|0;c[v>>2]=n;t=G+68|0;c[t>>2]=o;c[e+44>>2]=0;c[e+32>>2]=0;c[e+20>>2]=0;e=G+16|0;c[e>>2]=0;a[G+80>>0]=46;k=G+52|0;c[k>>2]=b;c[G>>2]=s;c[G+32>>2]=289;c[G+56>>2]=p;p=G+48|0;c[p>>2]=0;q=G+4|0;c[q>>2]=1;r=G+8|0;c[r>>2]=1;s=G+72|0;c[s>>2]=g;j=G+76|0;c[j>>2]=jx(b,287028,4)|0;k=c[k>>2]|0;m=c[v>>2]|0;f=c[m>>2]|0;m=c[m+8>>2]|0;n=c[k+12>>2]|0;o=(f|0)!=0;g=n+4|0;i=jg[c[n>>2]&31](c[g>>2]|0,f,m,32)|0;if(!i){if(!(c[n+140>>2]|0))cw(k,4);Fw(k,1);f=jg[c[n>>2]&31](c[g>>2]|0,f,m,32)|0;if(!f)cw(k,4);else z=f}else z=i;f=n+12|0;c[f>>2]=(o?32-m|0:32)+(c[f>>2]|0);f=c[v>>2]|0;c[f>>2]=z;c[f+8>>2]=32;c[y+4>>2]=c[p>>2];c[y+8>>2]=G;c[p>>2]=y;c[y+16>>2]=0;c[y+20>>2]=0;c[y+24>>2]=-1;c[y+28>>2]=0;c[y+32>>2]=0;f=y+40|0;c[f>>2]=0;a[f+4>>0]=0;f=c[t>>2]|0;c[y+36>>2]=c[f+4>>2];c[u>>2]=c[s>>2];a[w+8>>0]=2;a[D+14>>0]=0;a[D+12>>0]=0;c[D+4>>2]=c[f+28>>2];c[D+8>>2]=c[f+16>>2];a[D+13>>0]=0;c[D>>2]=0;c[y+12>>2]=D;a[w+7>>0]=1;c[E+16>>2]=-1;c[E+20>>2]=-1;c[E>>2]=8;c[E+8>>2]=0;Mw(y,c[j>>2]|0,E)|0;c[r>>2]=c[q>>2];f=G+32|0;if((c[f>>2]|0)==289){f=QB(G,G+24|0)|0;c[e>>2]=f}else{F=G+16|0;c[F>>2]=c[f>>2];c[F+4>>2]=c[f+4>>2];c[F+8>>2]=c[f+8>>2];c[F+12>>2]=c[f+12>>2];c[f>>2]=289;F=174}a:while(1){if((F|0)==174){F=0;f=c[e>>2]|0}switch(f|0){case 277:case 289:case 262:case 261:case 260:break a;default:{}}Nw(G);if((f|0)==274){F=177;break}else F=174}if((F|0)==177)f=c[e>>2]|0;if((f|0)!=289)Ow(G,289);Pw(G);c[x>>2]=(c[x>>2]|0)+-16;G=A;rw(b,G);l=H;return}if(!g?(KO(f,98)|0)==0:0){c[j>>2]=279883;c[j+4>>2]=f;Lw(b,279841,j)|0;cw(b,3)}q=c[e>>2]|0;g=e+4|0;f=c[e+56>>2]|0;switch(a[f>>0]|0){case 61:case 64:{f=f+1|0;break}case 27:{f=281260;break}default:{}}c[G+12>>2]=f;c[G>>2]=b;r=G+4|0;c[r>>2]=q;c[G+8>>2]=g;m=q+16|0;n=q+8|0;o=q+12|0;p=q+4|0;j=3;k=E;f=c[q>>2]|0;while(1){if(!f){g=ig[c[n>>2]&63](c[m>>2]|0,c[o>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=19;break}c[q>>2]=f;c[p>>2]=g;i=g}else i=c[p>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[q>>2]|0)-g|0;c[q>>2]=f;c[p>>2]=(c[p>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==19?j|0:0)tx(G,281274);if(xN(281285,E,3)|0)tx(G,281289);m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=29;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==29?j|0:0)tx(G,281274);if((a[E>>0]|0)!=83)tx(G,281295);m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=39;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==39?j|0:0)tx(G,281274);if(a[E>>0]|0)tx(G,281315);m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=6;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=49;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==49?j|0:0)tx(G,281274);if(xN(281334,E,6)|0)tx(G,281341);m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=59;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==59?j|0:0)tx(G,281274);if((a[E>>0]|0)!=4){A=c[G>>2]|0;c[t>>2]=281371;tx(G,Lw(A,281351,t)|0)}m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=69;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==69?j|0:0)tx(G,281274);if((a[E>>0]|0)!=4){A=c[G>>2]|0;c[u>>2]=281375;tx(G,Lw(A,281351,u)|0)}m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=79;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==79?j|0:0)tx(G,281274);if((a[E>>0]|0)!=4){A=c[G>>2]|0;c[v>>2]=281382;tx(G,Lw(A,281351,v)|0)}m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=89;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==89?j|0:0)tx(G,281274);if((a[E>>0]|0)!=8){A=c[G>>2]|0;c[w>>2]=281394;tx(G,Lw(A,281351,w)|0)}m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=99;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==99?j|0:0)tx(G,281274);if((a[E>>0]|0)!=8){A=c[G>>2]|0;c[x>>2]=281406;tx(G,Lw(A,281351,x)|0)}m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=8;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=109;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==109?j|0:0)tx(G,281274);A=E;if(!((c[A>>2]|0)==22136&(c[A+4>>2]|0)==0))tx(G,281417);m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=8;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=119;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==119?j|0:0)tx(G,281274);if(+h[E>>3]!=370.5)tx(G,281440);m=c[r>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=E;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,D)|0;f=c[D>>2]|0;if((g|0)==0|(f|0)==0){F=129;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;A=j>>>0>f>>>0;g=A?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!A)break;else{j=j-g|0;k=k+g|0}}if((F|0)==129?j|0:0)tx(G,281274);m=a[E>>0]|0;f=m&255;j=(f<<2)+16|0;k=c[b+12>>2]|0;g=k+4|0;i=jg[c[k>>2]&31](c[g>>2]|0,0,6,j)|0;if(!i){if(!(c[k+140>>2]|0))cw(b,4);Fw(b,1);g=jg[c[k>>2]&31](c[g>>2]|0,0,6,j)|0;if(!g)cw(b,4);else B=g}else B=i;i=k+12|0;c[i>>2]=j+(c[i>>2]|0);a[B+5>>0]=a[k+60>>0]&3;a[B+4>>0]=6;i=k+64|0;c[B>>2]=c[i>>2];c[i>>2]=B;i=B+12|0;c[i>>2]=0;a[B+6>>0]=m;if(m<<24>>24){g=B+16|0;do{f=f+-1|0;c[g+(f<<2)>>2]=0}while((f|0)!=0)}F=b+8|0;f=c[F>>2]|0;c[f>>2]=B;c[f+8>>2]=70;f=(c[F>>2]|0)+16|0;c[F>>2]=f;do if(((c[b+24>>2]|0)-f|0)<16){g=c[b+92>>2]|0;if((g|0)>1e6)cw(b,6);F=(f-(c[b+28>>2]|0)>>4)+5|0;f=g<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(F|0)?F:f;if((f|0)>1e6){ew(b,1000200);_v(b,283170,C)}else{ew(b,f);break}}while(0);F=sw(b)|0;c[i>>2]=F;ux(G,F,0);G=B;rw(b,G);l=H;return}function ow(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+16|0;r=s;q=e+12|0;if((c[q>>2]|0)==0?(f=c[b+72>>2]|0,(f|0)!=(d|0)):0){pw(f,e);f=e+16|0;d=f;f=c[f>>2]|0}else{a[r>>0]=0;d=e+16|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c[o>>2]&31](c[e>>2]|0,r,1,c[p>>2]|0)|0;c[d>>2]=f}break}case 3:{h[r>>3]=+h[k>>3];if(!f){f=jg[c[o>>2]&31](c[e>>2]|0,r,8,c[p>>2]|0)|0;c[d>>2]=f}break}case 19:{i=k;j=c[i+4>>2]|0;k=r;c[k>>2]=c[i>>2];c[k+4>>2]=j;if(!f){f=jg[c[o>>2]&31](c[e>>2]|0,r,8,c[p>>2]|0)|0;c[d>>2]=f}break}default:{}}m=m+1|0;if((m|0)==(g|0))break a}}while(0);o=b+12|0;n=c[o>>2]|0;c[r>>2]=n;if(!f){f=jg[c[e+4>>2]&31](c[e>>2]|0,r,4,c[e+8>>2]|0)|0;c[d>>2]=f}if((n|0)>0){j=b+64|0;k=e+4|0;m=e+8|0;i=0;do{g=c[j>>2]|0;a[r>>0]=a[g+(i<<3)+4>>0]|0;if(!f){f=jg[c[k>>2]&31](c[e>>2]|0,r,1,c[m>>2]|0)|0;c[d>>2]=f;g=c[j>>2]|0}a[r>>0]=a[g+(i<<3)+5>>0]|0;if(!f){f=jg[c[k>>2]&31](c[e>>2]|0,r,1,c[m>>2]|0)|0;c[d>>2]=f}i=i+1|0}while((i|0)!=(n|0))}j=c[b+28>>2]|0;c[r>>2]=j;if(!f)c[d>>2]=jg[c[e+4>>2]&31](c[e>>2]|0,r,4,c[e+8>>2]|0)|0;if((j|0)>0){f=b+52|0;g=b+72|0;i=0;do{ow(c[(c[f>>2]|0)+(i<<2)>>2]|0,c[g>>2]|0,e);i=i+1|0}while((i|0)!=(j|0))}if(!(c[q>>2]|0))j=c[b+24>>2]|0;else j=0;c[r>>2]=j;f=c[d>>2]|0;if(!f){g=e+4|0;i=e+8|0;f=jg[c[g>>2]&31](c[e>>2]|0,r,4,c[i>>2]|0)|0;c[d>>2]=f;if(!f){f=jg[c[g>>2]&31](c[e>>2]|0,c[b+56>>2]|0,j<<2,c[i>>2]|0)|0;c[d>>2]=f}}if(!(c[q>>2]|0))n=c[b+32>>2]|0;else n=0;c[r>>2]=n;if(!f){f=jg[c[e+4>>2]&31](c[e>>2]|0,r,4,c[e+8>>2]|0)|0;c[d>>2]=f}if((n|0)>0){i=b+60|0;j=e+4|0;k=e+8|0;m=0;do{pw(c[(c[i>>2]|0)+(m*12|0)>>2]|0,e);g=c[i>>2]|0;c[r>>2]=c[g+(m*12|0)+4>>2];f=c[d>>2]|0;if(!f){f=jg[c[j>>2]&31](c[e>>2]|0,r,4,c[k>>2]|0)|0;c[d>>2]=f;g=c[i>>2]|0}c[r>>2]=c[g+(m*12|0)+8>>2];if(!f){f=jg[c[j>>2]&31](c[e>>2]|0,r,4,c[k>>2]|0)|0;c[d>>2]=f}m=m+1|0}while((m|0)!=(n|0))}if(!(c[q>>2]|0))g=c[o>>2]|0;else g=0;c[r>>2]=g;if(!f)c[d>>2]=jg[c[e+4>>2]&31](c[e>>2]|0,r,4,c[e+8>>2]|0)|0;if((g|0)<=0){l=s;return}f=b+64|0;d=0;do{pw(c[(c[f>>2]|0)+(d<<3)>>2]|0,e);d=d+1|0}while((d|0)!=(g|0));l=s;return}function pw(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;i=k+4|0;j=k;if(!b){a[i>>0]=0;f=e+16|0;if(!(c[f>>2]|0))c[f>>2]=jg[c[e+4>>2]&31](c[e>>2]|0,i,1,c[e+8>>2]|0)|0;l=k;return}if((a[b+4>>0]|0)==4)f=d[b+7>>0]|0;else f=c[b+12>>2]|0;f=f+1|0;c[j>>2]=f;h=b+16|0;do if(f>>>0>=255){a[i>>0]=-1;b=e+16|0;if(c[b>>2]|0){l=k;return}f=e+4|0;g=e+8|0;i=jg[c[f>>2]&31](c[e>>2]|0,i,1,c[g>>2]|0)|0;c[b>>2]=i;if(!i){f=jg[c[f>>2]&31](c[e>>2]|0,j,4,c[g>>2]|0)|0;c[b>>2]=f;break}else{l=k;return}}else{a[i>>0]=f;b=e+16|0;f=c[b>>2]|0;if(!f){f=jg[c[e+4>>2]&31](c[e>>2]|0,i,1,c[e+8>>2]|0)|0;c[b>>2]=f}}while(0);if(f|0){l=k;return}c[b>>2]=jg[c[e+4>>2]&31](c[e>>2]|0,h,(c[j>>2]|0)+-1|0,c[e+8>>2]|0)|0;l=k;return}function qw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=(d<<4)+16|0;h=c[b+12>>2]|0;e=h+4|0;f=jg[c[h>>2]&31](c[e>>2]|0,0,6,g)|0;if((g|0)!=0&(f|0)==0){if(!(c[h+140>>2]|0))cw(b,4);Fw(b,1);e=jg[c[h>>2]&31](c[e>>2]|0,0,6,g)|0;if(!e)cw(b,4);else i=e}else i=f;b=h+12|0;c[b>>2]=g+(c[b>>2]|0);a[i+5>>0]=a[h+60>>0]&3;a[i+4>>0]=38;b=h+64|0;c[i>>2]=c[b>>2];c[b>>2]=i;a[i+6>>0]=d;return i|0}function rw(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=e+6|0;if(!(a[h>>0]|0))return;i=b+12|0;k=0;while(1){j=c[i>>2]|0;g=j+4|0;f=jg[c[j>>2]&31](c[g>>2]|0,0,0,24)|0;if(!f){if(!(c[j+140>>2]|0)){f=6;break}Fw(b,1);f=jg[c[j>>2]&31](c[g>>2]|0,0,0,24)|0;if(!f){f=6;break}}j=j+12|0;c[j>>2]=(c[j>>2]|0)+24;c[f+4>>2]=1;c[f>>2]=f+8;c[f+16>>2]=0;c[e+16+(k<<2)>>2]=f;k=k+1|0;if((k|0)>=(d[h>>0]|0)){f=8;break}}if((f|0)==6)cw(b,4);else if((f|0)==8)return}function sw(b){b=b|0;var d=0,e=0,f=0,g=0;f=c[b+12>>2]|0;d=f+4|0;e=jg[c[f>>2]&31](c[d>>2]|0,0,9,80)|0;if(!e){if(!(c[f+140>>2]|0))cw(b,4);Fw(b,1);d=jg[c[f>>2]&31](c[d>>2]|0,0,9,80)|0;if(!d)cw(b,4);else g=d}else g=e;d=f+12|0;c[d>>2]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g=0,h=0,i=0;i=b+16|0;h=e;f=a[e+5>>0]|0;a:while(1){g=h+5|0;e=f&-4;a[g>>0]=e;switch(a[h+4>>0]|0){case 4:{f=3;break a}case 20:{f=4;break a}case 6:{f=10;break a}case 38:{f=11;break a}case 5:{f=12;break a}case 8:{f=13;break a}case 9:{f=14;break a}case 7:break;default:{f=15;break a}}f=c[h+8>>2]|0;if((f|0)!=0?(a[f+5>>0]&3)!=0:0){uw(b,f);e=a[g>>0]|0}a[g>>0]=e|4;c[i>>2]=(c[h+12>>2]|0)+24+(c[i>>2]|0);e=c[h+16>>2]|0;if(!(a[h+6>>0]&64)){f=15;break}f=a[e+5>>0]|0;if(!(f&3)){f=15;break}else h=e}if((f|0)==3){a[g>>0]=e|4;c[i>>2]=(d[h+7>>0]|0)+17+(c[i>>2]|0);return}else if((f|0)==4){a[g>>0]=e|4;c[i>>2]=(c[h+12>>2]|0)+17+(c[i>>2]|0);return}else if((f|0)==10){b=b+76|0;c[h+8>>2]=c[b>>2];c[b>>2]=h;return}else if((f|0)==11){b=b+76|0;c[h+8>>2]=c[b>>2];c[b>>2]=h;return}else if((f|0)==12){b=b+76|0;c[h+28>>2]=c[b>>2];c[b>>2]=h;return}else if((f|0)==13){b=b+76|0;c[h+36>>2]=c[b>>2];c[b>>2]=h;return}else if((f|0)==14){b=b+76|0;c[h+76>>2]=c[b>>2];c[b>>2]=h;return}else if((f|0)==15)return}function vw(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;o=c[b+12>>2]|0;p=e+5|0;i=a[p>>0]|0;if((f|0)==0|(i&8)!=0)return;j=f+6|0;k=a[j>>0]|0;if(k&4)return;h=c[o+156>>2]|0;f=(c[f+16>>2]|0)+(((1<<(d[f+7>>0]|0))+-1&c[h+8>>2])<<5)|0;while(1){if((c[f+24>>2]|0)==68?(c[f+16>>2]|0)==(h|0):0){l=6;break}g=c[f+28>>2]|0;if(!g){f=316088;break}f=f+(g<<5)|0}if(!(c[f+8>>2]|0)){a[j>>0]=k|4;return}if(!f)return;if(((a[o+61>>0]|0)+-2&255)<4?(a[p>>0]=a[o+60>>0]&3|i&-8,m=o+68|0,n=c[m>>2]|0,(n|0)==(e|0)):0){do f=ww(b,n,1)|0;while((f|0)==(n|0));c[m>>2]=f}g=o+64|0;while(1){f=c[g>>2]|0;if((f|0)==(e|0))break;else g=f}c[g>>2]=c[e>>2];o=o+72|0;c[e>>2]=c[o>>2];c[o>>2]=e;a[p>>0]=a[p>>0]|8;return}function ww(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;p=b+12|0;t=d[(c[p>>2]|0)+60>>0]|0;s=t^3;t=t&3;h=c[e>>2]|0;g=(h|0)==0;if(!((f|0)!=0&(g^1))){b=e;t=g;b=t?0:b;return b|0}o=f+-1|0;while(1){g=h+5|0;f=d[g>>0]|0;a:do if(!((f^3)&s)){c[e>>2]=c[h>>2];switch(a[h+4>>0]|0){case 9:{tw(b,h);break a}case 6:{j=h+6|0;g=a[j>>0]|0;if(!(g<<24>>24))g=g&255;else{i=0;while(1){f=c[h+16+(i<<2)>>2]|0;if(((f|0)!=0?(m=f+4|0,n=(c[m>>2]|0)+-1|0,c[m>>2]=n,(n|0)==0):0)?(c[f>>2]|0)==(f+8|0):0){n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,f,24,0)|0;f=n+12|0;c[f>>2]=(c[f>>2]|0)+-24;f=a[j>>0]|0}else f=g;i=i+1|0;g=f&255;if((i|0)>=(g|0))break;else g=f}}m=g<<2;n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,h,m+16|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-16-m|0:0)+(c[n>>2]|0);break a}case 38:{m=d[h+6>>0]<<4;n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,h,m+16|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-16-m|0:0)+(c[n>>2]|0);break a}case 5:{g=c[h+16>>2]|0;if((g|0)!=316104){m=32<>0];n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,g,m,0)|0;n=n+12|0;c[n>>2]=(g|0?0-m|0:0)+(c[n>>2]|0)}l=c[h+12>>2]|0;m=c[h+8>>2]<<4;n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,l,m,0)|0;n=n+12|0;c[n>>2]=(l|0?0-m|0:0)+(c[n>>2]|0);n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,h,32,0)|0;n=n+12|0;c[n>>2]=(h|0?-32:0)+(c[n>>2]|0);break a}case 8:{n=h+-4|0;m=h+28|0;g=c[m>>2]|0;k=h+32|0;f=c[k>>2]|0;if(f){l=h+12|0;do{i=c[f>>2]|0;if(i>>>0>>0)break;j=f+8|0;c[k>>2]=c[j>>2];if(c[f+4>>2]|0){c[j>>2]=c[i>>2];c[j+4>>2]=c[i+4>>2];c[j+8>>2]=c[i+8>>2];c[j+12>>2]=c[i+12>>2];c[f>>2]=j;if((c[f+16>>2]&64|0?(q=c[l>>2]|0,r=c[j>>2]|0,(d[q+61>>0]|0)<2):0)?a[r+5>>0]&3:0)uw(q,r)}else{j=c[l>>2]|0;jg[c[j>>2]&31](c[j+4>>2]|0,f,24,0)|0;j=j+12|0;c[j>>2]=(f|0?-24:0)+(c[j>>2]|0)}f=c[k>>2]|0}while((f|0)!=0);g=c[m>>2]|0}if(g|0){c[h+16>>2]=h+48;l=h+60|0;i=c[l>>2]|0;c[l>>2]=0;if(!i)f=h+12|0;else{f=h+12|0;g=i;do{k=g;g=c[g+12>>2]|0;l=c[f>>2]|0;jg[c[l>>2]&31](c[l+4>>2]|0,k,36,0)|0;l=l+12|0;c[l>>2]=(k|0?-36:0)+(c[l>>2]|0)}while((g|0)!=0);g=c[m>>2]|0}l=c[h+92>>2]<<4;m=c[f>>2]|0;jg[c[m>>2]&31](c[m+4>>2]|0,g,l,0)|0;m=m+12|0;c[m>>2]=(g|0?0-l|0:0)+(c[m>>2]|0)}m=c[p>>2]|0;jg[c[m>>2]&31](c[m+4>>2]|0,n,116,0)|0;n=m+12|0;c[n>>2]=(c[n>>2]|0)+-116;break a}case 7:{m=c[h+12>>2]|0;n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,h,m+24|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-24-m|0:0)+(c[n>>2]|0);break a}case 4:{i=c[p>>2]|0;g=(c[i+24>>2]|0)+(((c[i+32>>2]|0)+-1&c[h+8>>2])<<2)|0;f=c[g>>2]|0;if((f|0)!=(h|0))do{g=f+12|0;f=c[g>>2]|0}while((f|0)!=(h|0));c[g>>2]=c[h+12>>2];m=i+28|0;c[m>>2]=(c[m>>2]|0)+-1;m=d[h+7>>0]|0;n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,h,m+17|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-17-m|0:0)+(c[n>>2]|0);break a}case 20:{m=c[h+12>>2]|0;n=c[p>>2]|0;jg[c[n>>2]&31](c[n+4>>2]|0,h,m+17|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-17-m|0:0)+(c[n>>2]|0);break a}default:break a}}else{a[g>>0]=f&248|t;e=h}while(0);h=c[e>>2]|0;g=(h|0)==0;f=g^1;if(!((o|0)!=0&f))break;else o=(f<<31>>31)+o|0}b=g?0:e;return b|0}function xw(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;m=l;l=l+16|0;n=m;k=c[b+12>>2]|0;f=k+96|0;h=c[f>>2]|0;c[f>>2]=c[h>>2];f=k+64|0;c[h>>2]=c[f>>2];c[f>>2]=h;f=h+5|0;g=d[f>>0]|0;a[f>>0]=g&247;if(((a[k+61>>0]|0)+-2&255)<4)a[f>>0]=a[k+60>>0]&3|g&240;i=h;g=a[h+4>>0]|0;j=(g|64)&255;switch(g&15){case 5:{f=h+24|0;break}case 7:{f=h+8|0;break}default:f=k+244+((j&15)<<2)|0}f=c[f>>2]|0;a:do if(!f)f=316088;else{h=c[k+156>>2]|0;f=(c[f+16>>2]|0)+(((1<<(d[f+7>>0]|0))+-1&c[h+8>>2])<<5)|0;while(1){if((c[f+24>>2]|0)==68?(c[f+16>>2]|0)==(h|0):0)break;g=c[f+28>>2]|0;if(!g){f=316088;break a}f=f+(g<<5)|0}}while(0);if((c[f+8>>2]&15|0)!=6){l=m;return}o=b+109|0;p=a[o>>0]|0;k=k+63|0;h=a[k>>0]|0;a[o>>0]=0;a[k>>0]=0;g=b+8|0;q=c[g>>2]|0;c[q>>2]=c[f>>2];c[q+4>>2]=c[f+4>>2];c[q+8>>2]=c[f+8>>2];c[q+12>>2]=c[f+12>>2];f=c[g>>2]|0;c[f+16>>2]=i;c[f+24>>2]=j;f=c[g>>2]|0;c[g>>2]=f+32;f=mw(b,166,0,f-(c[b+28>>2]|0)|0,0)|0;a[o>>0]=p;a[k>>0]=h;if(!((e|0)!=0&(f|0)!=0)){l=m;return}if((f|0)!=2){q=f;cw(b,q)}f=c[g>>2]|0;if((c[f+-8>>2]&15|0)==4)f=(c[f+-16>>2]|0)+16|0;else f=279890;c[n>>2]=f;Lw(b,279901,n)|0;q=5;cw(b,q)}function yw(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+16|0;e=h;f=(c[a+8>>2]|0)+-32|0;g=a+106|0;d=(b[g>>1]|0)+1<<16>>16;b[g>>1]=d;if((d&65535)>199){if(d<<16>>16==200)_v(a,279702,e);if((d&65535)>224)cw(a,6)}d=a+104|0;b[d>>1]=(b[d>>1]|0)+1<<16>>16;if(!(gw(a,f,0)|0))Ex(a);b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[g>>1]=(b[g>>1]|0)+-1<<16>>16;l=h;return}function zw(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;v=b+12|0;w=c[v>>2]|0;j=w+61|0;switch(a[j>>0]|0){case 7:{e=w+16|0;c[e>>2]=c[w+32>>2]<<2;d=w+76|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;d=c[w+136>>2]|0;if(a[d+5>>0]&3)uw(w,d);if(c[w+48>>2]&64|0?(f=c[w+40>>2]|0,a[f+5>>0]&3):0)uw(w,f);Aw(w);d=c[w+96>>2]|0;if(d|0)do{if(a[d+5>>0]&3)uw(w,d);d=c[d>>2]|0}while((d|0)!=0);a[j>>0]=0;w=c[e>>2]|0;return w|0}case 0:{d=w+16|0;c[d>>2]=0;Bw(w);if(!(c[w+76>>2]|0))a[j>>0]=1;w=c[d>>2]|0;return w|0}case 1:{d=w+76|0;if(!(c[d>>2]|0))r=w;else{do Bw(w);while((c[d>>2]|0)!=0);r=c[v>>2]|0}h=c[r+80>>2]|0;a[r+61>>0]=8;s=r+16|0;c[s>>2]=0;if(a[b+5>>0]&3)uw(r,b);if(c[r+48>>2]&64|0?(e=c[r+40>>2]|0,a[e+5>>0]&3):0)uw(r,e);Aw(r);e=r+104|0;d=c[e>>2]|0;a:do if(d|0)do{while(1){f=d+32|0;if((a[d+5>>0]&7)==0?c[f>>2]|0:0)break;o=d+40|0;c[e>>2]=c[o>>2];c[o>>2]=d;d=c[f>>2]|0;if(d|0)do{f=d+8|0;g=f+4|0;if(c[g>>2]|0){d=c[d>>2]|0;if(c[d+8>>2]&64|0?(i=c[d>>2]|0,a[i+5>>0]&3):0)uw(r,i);c[g>>2]=0}d=c[f>>2]|0}while((d|0)!=0);d=c[e>>2]|0;if(!d)break a}e=d+40|0;d=c[e>>2]|0}while((d|0)!=0);while(0);j=r+76|0;if(c[j>>2]|0)do Bw(r);while((c[j>>2]|0)!=0);f=c[s>>2]|0;c[j>>2]=h;if(h|0)do Bw(r);while((c[j>>2]|0)!=0);c[s>>2]=0;i=r+88|0;while(1){d=c[i>>2]|0;c[i>>2]=0;e=0;b:while(1){do{if(!d)break b;o=d;d=c[d+28>>2]|0}while(!(Cw(r,o)|0));if(!(c[j>>2]|0)){e=1;continue}while(1){Bw(r);if(!(c[j>>2]|0)){e=1;continue b}}}if(!e)break}k=r+84|0;Dw(r,c[k>>2]|0,0);l=r+92|0;Dw(r,c[l>>2]|0,0);m=c[k>>2]|0;n=c[l>>2]|0;d=c[s>>2]|0;h=r+96|0;g=h;while(1){e=c[g>>2]|0;if(!e)break;else g=e}o=d+f|0;f=r+72|0;d=c[f>>2]|0;c:do if(d|0){e=g;while(1){g=d;while(1){if(!(a[g+5>>0]&3))break;c[f>>2]=c[g>>2];c[g>>2]=c[e>>2];c[e>>2]=g;d=c[f>>2]|0;if(!d)break c;else{e=g;g=d}}d=c[g>>2]|0;if(!d)break;else f=g}}while(0);c[r+120>>2]=1;d=c[h>>2]|0;if(d|0)do{if(a[d+5>>0]&3)uw(r,d);d=c[d>>2]|0}while((d|0)!=0);if(c[j>>2]|0)do Bw(r);while((c[j>>2]|0)!=0);c[s>>2]=0;while(1){d=c[i>>2]|0;c[i>>2]=0;e=0;d:while(1){do{if(!d)break d;h=d;d=c[d+28>>2]|0}while(!(Cw(r,h)|0));if(!(c[j>>2]|0)){e=1;continue}while(1){Bw(r);if(!(c[j>>2]|0)){e=1;continue d}}}if(!e)break}d=c[i>>2]|0;if(d|0)do{j=a[d+7>>0]|0;e=c[d+16>>2]|0;i=e+(1<<(j&255)<<5)|0;if(j<<24>>24!=31)do{f=e+8|0;do if(c[f>>2]|0?(p=e+24|0,q=c[p>>2]|0,q&64|0):0){g=c[e+16>>2]|0;h=(a[g+5>>0]&3)==0;if((q&15|0)==4){if(h)break;uw(r,g);break}else{if(h)break;c[f>>2]=0;c[p>>2]=10;break}}while(0);e=e+32|0}while(e>>>0>>0);d=c[d+28>>2]|0}while((d|0)!=0);d=c[l>>2]|0;if(d|0)do{q=a[d+7>>0]|0;e=c[d+16>>2]|0;i=e+(1<<(q&255)<<5)|0;if(q<<24>>24!=31)do{f=e+8|0;do if(c[f>>2]|0?(t=e+24|0,u=c[t>>2]|0,u&64|0):0){g=c[e+16>>2]|0;h=(a[g+5>>0]&3)==0;if((u&15|0)==4){if(h)break;uw(r,g);break}else{if(h)break;c[f>>2]=0;c[t>>2]=10;break}}while(0);e=e+32|0}while(e>>>0>>0);d=c[d+28>>2]|0}while((d|0)!=0);Dw(r,c[k>>2]|0,m);Dw(r,c[l>>2]|0,n);d=r+144|0;f=0;do{e=r+280+(f<<2)|0;if(a[(c[e>>2]|0)+5>>0]&3)c[e>>2]=c[d>>2];f=f+1|0}while((f|0)!=127);h=r+60|0;a[h>>0]=a[h>>0]^3;h=c[s>>2]|0;d=c[v>>2]|0;a[d+61>>0]=2;e=d+64|0;g=0;do{g=g+1|0;f=ww(b,e,1)|0}while((f|0)==(e|0));c[d+68>>2]=f;c[w+20>>2]=(c[w+12>>2]|0)+(c[w+8>>2]|0);w=o+h+(g*5|0)|0;return w|0}case 2:{d=w+72|0;e=w+68|0;f=c[e>>2]|0;if(f|0?(u=w+12|0,v=c[u>>2]|0,b=ww(b,f,80)|0,c[e>>2]=b,w=w+20|0,c[w>>2]=(c[u>>2]|0)-v+(c[w>>2]|0),b|0):0){w=400;return w|0}a[j>>0]=3;c[e>>2]=d;w=0;return w|0}case 3:{d=w+96|0;e=w+68|0;f=c[e>>2]|0;if(f|0?(u=w+12|0,v=c[u>>2]|0,b=ww(b,f,80)|0,c[e>>2]=b,w=w+20|0,c[w>>2]=(c[u>>2]|0)-v+(c[w>>2]|0),b|0):0){w=400;return w|0}a[j>>0]=4;c[e>>2]=d;w=0;return w|0}case 4:{d=w+68|0;e=c[d>>2]|0;if(e|0?(u=w+12|0,v=c[u>>2]|0,b=ww(b,e,80)|0,c[d>>2]=b,w=w+20|0,c[w>>2]=(c[u>>2]|0)-v+(c[w>>2]|0),b|0):0){w=400;return w|0}a[j>>0]=5;c[d>>2]=0;w=0;return w|0}case 5:{v=(c[w+136>>2]|0)+5|0;a[v>>0]=a[w+60>>0]&3|a[v>>0]&-8;if((a[w+62>>0]|0)!=1){e=w+12|0;g=c[e>>2]|0;v=w+108|0;t=c[v>>2]|0;f=w+116|0;d=c[f>>2]|0;u=jg[c[w>>2]&31](c[w+4>>2]|0,t,d,0)|0;d=(t|0?0-d|0:0)+(c[e>>2]|0)|0;c[e>>2]=d;c[v>>2]=u;c[f>>2]=0;f=c[w+32>>2]|0;if((c[w+28>>2]|0)<((f|0)/4|0|0)){ix(b,(f|0)/2|0);d=c[e>>2]|0}w=w+20|0;c[w>>2]=d-g+(c[w>>2]|0)}a[j>>0]=6;w=0;return w|0}case 6:{f=w+96|0;if(c[f>>2]|0?(a[w+62>>0]|0)!=1:0){g=w+120|0;d=0;while(1){e=c[g>>2]|0;if(d>>>0>=e>>>0){h=117;break}xw(b,1);d=d+1|0;if(!(c[f>>2]|0)){e=0;break}}if((h|0)==117)e=e<<1;c[g>>2]=e;w=d*5|0;return w|0}a[j>>0]=7;w=0;return w|0}default:{w=0;return w|0}}return 0}function Aw(b){b=b|0;var d=0;d=c[b+244>>2]|0;if(d|0?a[d+5>>0]&3:0)uw(b,d);d=c[b+248>>2]|0;if(d|0?a[d+5>>0]&3:0)uw(b,d);d=c[b+252>>2]|0;if(d|0?a[d+5>>0]&3:0)uw(b,d);d=c[b+256>>2]|0;if(d|0?a[d+5>>0]&3:0)uw(b,d);d=c[b+260>>2]|0;if(d|0?a[d+5>>0]&3:0)uw(b,d);d=c[b+264>>2]|0;if(d|0?a[d+5>>0]&3:0)uw(b,d);d=c[b+268>>2]|0;if(d|0?a[d+5>>0]&3:0)uw(b,d);d=c[b+272>>2]|0;if(d|0?a[d+5>>0]&3:0)uw(b,d);d=c[b+276>>2]|0;if(!d)return;if(!(a[d+5>>0]&3))return;uw(b,d);return}function Bw(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;f=b+76|0;t=c[f>>2]|0;k=t+5|0;e=d[k>>0]|0;a[k>>0]=e|4;switch(a[t+4>>0]|0){case 5:{n=t+28|0;c[f>>2]=c[n>>2];j=c[t+24>>2]|0;do if(j){h=j+6|0;i=a[h>>0]|0;if(!(i&8)){f=c[b+160>>2]|0;e=(c[j+16>>2]|0)+(((1<>0])+-1&c[f+8>>2])<<5)|0;while(1){if((c[e+24>>2]|0)==68?(c[e+16>>2]|0)==(f|0):0){q=7;break}g=c[e+28>>2]|0;if(!g){e=316088;break}e=e+(g<<5)|0}if(!(c[e+8>>2]|0)){a[h>>0]=i|8;e=0}}else e=0;if(a[j+5>>0]&3)uw(b,j);if(((e|0)!=0?(c[e+8>>2]&15|0)==4:0)?(m=(c[e>>2]|0)+16|0,l=KO(m,107)|0,l=(l|0)!=0,m=(KO(m,118)|0)!=0,l|m):0){a[k>>0]=a[k>>0]&-5;if(l)if(m){s=b+92|0;c[n>>2]=c[s>>2];c[s>>2]=t;break}else{Cw(b,t)|0;break}s=a[t+7>>0]|0;f=c[t+16>>2]|0;j=f+(1<<(s&255)<<5)|0;e=(c[t+8>>2]|0)!=0&1;if(s<<24>>24!=31)do{g=f+8|0;h=f+24|0;i=(c[h>>2]&64|0)==0;if(!(c[g>>2]|0)){if(!i?(a[(c[f+16>>2]|0)+5>>0]&3)!=0:0)c[h>>2]=10}else{if(!i?(p=c[f+16>>2]|0,a[p+5>>0]&3):0)uw(b,p);if(!e){h=c[g>>2]|0;do if(h&64){e=c[f>>2]|0;g=a[e+5>>0]&3;if((h&15|0)!=4){e=g&255;break}if(g<<24>>24){uw(b,e);e=0}else e=0}else e=0;while(0);e=(e|0)!=0&1}}f=f+32|0}while(f>>>0>>0);if(!(a[b+61>>0]|0)){s=b+80|0;c[n>>2]=c[s>>2];c[s>>2]=t;break}if(e|0){s=b+84|0;c[n>>2]=c[s>>2];c[s>>2]=t}}else q=41}else q=41;while(0);if((q|0)==41){i=t+16|0;e=c[i>>2]|0;k=e+(1<>0]<<5)|0;j=t+8|0;f=c[j>>2]|0;if(f){h=t+12|0;g=0;do{e=c[h>>2]|0;if((c[e+(g<<4)+8>>2]&64|0)!=0?(o=c[e+(g<<4)>>2]|0,(a[o+5>>0]&3)!=0):0){uw(b,o);f=c[j>>2]|0}g=g+1|0}while(g>>>0>>0);e=c[i>>2]|0}if(e>>>0>>0)do{g=e+8|0;f=c[g>>2]|0;h=e+24|0;i=(c[h>>2]&64|0)==0;if(!f){if(!i?a[(c[e+16>>2]|0)+5>>0]&3:0)c[h>>2]=10}else{if(!i?(r=c[e+16>>2]|0,(a[r+5>>0]&3)!=0):0){uw(b,r);f=c[g>>2]|0}if(f&64|0?(s=c[e>>2]|0,a[s+5>>0]&3):0)uw(b,s)}e=e+32|0}while(e>>>0>>0)}e=(c[t+8>>2]<<4)+32+(32<>0])|0;break}case 6:{c[f>>2]=c[t+8>>2];e=c[t+12>>2]|0;if(e|0?a[e+5>>0]&3:0)uw(b,e);i=t+6|0;e=a[i>>0]|0;if(!(e<<24>>24))e=e&255;else{j=b+61|0;h=0;while(1){f=c[t+16+(h<<2)>>2]|0;do if(f){g=c[f>>2]|0;f=f+8|0;if((g|0)!=(f|0)?(a[j>>0]|0)!=8:0){c[f+4>>2]=1;f=e;break}if((c[g+8>>2]&64|0)!=0?(n=c[g>>2]|0,(a[n+5>>0]&3)!=0):0){uw(b,n);f=a[i>>0]|0}else f=e}else f=e;while(0);h=h+1|0;e=f&255;if((h|0)>=(e|0))break;else e=f}}e=(e<<2)+16|0;break}case 38:{c[f>>2]=c[t+8>>2];h=t+6|0;e=a[h>>0]|0;if(!(e<<24>>24))e=e&255;else{g=0;while(1){if((c[t+16+(g<<4)+8>>2]&64|0)!=0?(i=c[t+16+(g<<4)>>2]|0,(a[i+5>>0]&3)!=0):0){uw(b,i);f=a[h>>0]|0}else f=e;g=g+1|0;e=f&255;if((g|0)>=(e|0))break;else e=f}}e=(e<<4)+16|0;break}case 8:{s=t+36|0;c[f>>2]=c[s>>2];i=b+80|0;c[s>>2]=c[i>>2];c[i>>2]=t;a[k>>0]=e&251;i=t+28|0;f=c[i>>2]|0;if(!f)e=1;else{g=t+8|0;e=c[g>>2]|0;if(f>>>0>>0)do{if((c[f+8>>2]&64|0)!=0?(h=c[f>>2]|0,(a[h+5>>0]&3)!=0):0){uw(b,h);e=c[g>>2]|0}f=f+16|0}while(f>>>0>>0);do if((a[b+61>>0]|0)==8){e=t+92|0;g=(c[i>>2]|0)+(c[e>>2]<<4)|0;if(f>>>0>>0)do{c[f+8>>2]=0;f=f+16|0}while(f>>>0>>0);f=t+40|0;if((c[f>>2]|0)==(t|0)?(c[t+32>>2]|0)!=0:0){s=b+104|0;c[f>>2]=c[s>>2];c[s>>2]=t}}else{if((a[b+62>>0]|0)==1){e=t+92|0;break}h=c[t+16>>2]|0;if(h){f=h;do{s=c[f+4>>2]|0;e=e>>>0>>0?s:e;f=c[f+8>>2]|0}while((f|0)!=0)}l=e-(c[i>>2]|0)|0;k=(l>>4)+1|0;k=((k|0)/8|0)+10+k|0;k=(k|0)<1e6?k:1e6;e=t+92|0;g=h+12|0;f=c[g>>2]|0;a:do if((c[e>>2]|0)>1e6){c[g>>2]=0;if(f|0){g=t+12|0;do{r=f;f=c[f+12>>2]|0;s=c[g>>2]|0;jg[c[s>>2]&31](c[s+4>>2]|0,r,36,0)|0;s=s+12|0;c[s>>2]=(r|0?-36:0)+(c[s>>2]|0)}while((f|0)!=0)}}else if(f|0){j=t+12|0;do{i=h;h=c[f+12>>2]|0;if(!h)break a;s=c[j>>2]|0;jg[c[s>>2]&31](c[s+4>>2]|0,f,36,0)|0;s=s+12|0;c[s>>2]=(f|0?-36:0)+(c[s>>2]|0);c[g>>2]=h;c[h+8>>2]=i;g=h+12|0;f=c[g>>2]|0}while((f|0)!=0)}while(0);if((l|0)<=15999984?(k|0)<(c[e>>2]|0):0)ew(t,k)}while(0);e=(c[e>>2]<<4)+112|0}break}case 9:{c[f>>2]=c[t+76>>2];e=t+68|0;s=c[e>>2]|0;if(s|0?a[s+5>>0]&3:0)c[e>>2]=0;e=c[t+72>>2]|0;if(e|0?a[e+5>>0]&3:0)uw(b,e);l=t+16|0;e=c[l>>2]|0;if((e|0)>0){h=t+44|0;g=0;do{f=c[h>>2]|0;if((c[f+(g<<4)+8>>2]&64|0)!=0?(j=c[f+(g<<4)>>2]|0,(a[j+5>>0]&3)!=0):0){uw(b,j);e=c[l>>2]|0}g=g+1|0}while((g|0)<(e|0))}k=t+12|0;e=c[k>>2]|0;if((e|0)>0){h=t+64|0;g=0;do{f=c[(c[h>>2]|0)+(g<<3)>>2]|0;if((f|0)!=0?(a[f+5>>0]&3)!=0:0){uw(b,f);e=c[k>>2]|0}g=g+1|0}while((g|0)<(e|0))}j=t+28|0;e=c[j>>2]|0;if((e|0)>0){h=t+52|0;g=0;do{f=c[(c[h>>2]|0)+(g<<2)>>2]|0;if((f|0)!=0?(a[f+5>>0]&3)!=0:0){uw(b,f);e=c[j>>2]|0}g=g+1|0}while((g|0)<(e|0))}i=t+32|0;f=c[i>>2]|0;if((f|0)>0){h=t+60|0;g=0;do{e=c[(c[h>>2]|0)+(g*12|0)>>2]|0;if((e|0)!=0?(a[e+5>>0]&3)!=0:0){uw(b,e);f=c[i>>2]|0}g=g+1|0}while((g|0)<(f|0));e=c[j>>2]|0}e=(f*12|0)+80+(c[l>>2]<<4)+(c[k>>2]<<3)+((c[t+20>>2]|0)+e+(c[t+24>>2]|0)<<2)|0;break}default:return}b=b+16|0;c[b>>2]=(c[b>>2]|0)+e;return}function Cw(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;l=e+16|0;f=c[l>>2]|0;p=f+(1<>0]<<5)|0;m=e+8|0;g=c[m>>2]|0;if(!g){i=f;g=0}else{j=e+12|0;h=g;i=0;g=0;while(1){f=c[j>>2]|0;if((c[f+(i<<4)+8>>2]&64|0)!=0?(k=c[f+(i<<4)>>2]|0,(a[k+5>>0]&3)!=0):0){uw(b,k);f=c[m>>2]|0;g=1}else f=h;i=i+1|0;if(i>>>0>=f>>>0)break;else h=f}i=c[l>>2]|0}if(i>>>0

>>0){h=0;f=0;n=i;do{k=n+8|0;l=c[k>>2]|0;i=n+24|0;m=c[i>>2]|0;j=(m&64|0)==0;a:do if(!l){if(!j?(a[(c[n+16>>2]|0)+5>>0]&3)!=0:0)c[i>>2]=10}else{do if(j){o=l;q=17}else{i=c[n+16>>2]|0;j=(a[i+5>>0]&3)==0;if((m&15|0)==4){if(j){o=l;q=17;break}uw(b,i);o=c[k>>2]|0;q=17;break}i=(l&64|0)==0;if(j)if(i)break a;else break;if(i){h=1;break a}h=1;f=(a[(c[n>>2]|0)+5>>0]&3)==0?f:1;break a}while(0);if((q|0)==17?(q=0,(o&64|0)==0):0)break;i=c[n>>2]|0;if(a[i+5>>0]&3){uw(b,i);g=1}}while(0);n=n+32|0}while(n>>>0

>>0)}else{h=0;f=0}do if(a[b+61>>0]|0){if(f|0){f=b+88|0;break}if(!h)return g|0;else{f=b+92|0;break}}else f=b+80|0;while(0);c[e+28>>2]=c[f>>2];c[f>>2]=e;return g|0}function Dw(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;if((e|0)==(f|0))return;do{n=e+16|0;g=c[n>>2]|0;p=g+(1<<(d[e+7>>0]|0)<<5)|0;o=e+8|0;h=c[o>>2]|0;if(h){m=e+12|0;g=h;l=0;do{h=c[m>>2]|0;j=h+(l<<4)+8|0;k=c[j>>2]|0;do if(k&64){h=c[h+(l<<4)>>2]|0;i=(a[h+5>>0]&3)==0;if((k&15|0)==4){if(i)break;uw(b,h);g=c[o>>2]|0;break}else{if(i)break;c[j>>2]=0;break}}while(0);l=l+1|0}while(l>>>0>>0);g=c[n>>2]|0}if(g>>>0

>>0)do{h=g+8|0;i=c[h>>2]|0;do if(i&64|0){j=c[g>>2]|0;k=(a[j+5>>0]&3)==0;if((i&15|0)==4){if(k)break;uw(b,j);break}if((!k?(c[h>>2]=0,q=g+24|0,c[q>>2]&64|0):0)?a[(c[g+16>>2]|0)+5>>0]&3:0)c[q>>2]=10}while(0);g=g+32|0}while(g>>>0

>>0);e=c[e+28>>2]|0}while((e|0)!=(f|0));return}function Ew(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=b+12|0;k=c[j>>2]|0;h=k+12|0;d=c[h>>2]|0;i=k+128|0;e=c[i>>2]|0;f=((d|0)/200|0)+1|0;if(!(a[k+63>>0]|0)){b=k+8|0;c[b>>2]=d+16e3+(c[b>>2]|0);c[h>>2]=-16e3;return}d=O(f,e)|0;g=k+61|0;e=(f|0)<(2147483647/(e|0)|0|0)?d:2147483647;do{e=e-(zw(b)|0)|0;d=(a[g>>0]|0)==7;if((e|0)<=-1600){l=6;break}}while(!d);if((l|0)==6?!d:0){g=((e|0)/(c[i>>2]|0)|0)*200|0;d=k+8|0;c[d>>2]=(c[h>>2]|0)-g+(c[d>>2]|0);c[h>>2]=g;g=c[j>>2]|0;d=g+96|0;g=g+120|0;a:do if(!(c[d>>2]|0))d=0;else{f=0;while(1){e=c[g>>2]|0;if(f>>>0>=e>>>0)break;xw(b,1);if(!(c[d>>2]|0)){d=0;break a}else f=f+1|0}d=e<<1}while(0);c[g>>2]=d;return}i=((c[k+20>>2]|0)>>>0)/100|0;g=c[k+124>>2]|0;l=k+8|0;k=c[l>>2]|0;j=c[h>>2]|0;b=O(g,0-i|0)|0;b=j+k+((g|0)<(2147483647/(i>>>0)|0|0)?b:-2147483647)|0;c[l>>2]=j-b+k;c[h>>2]=b;return}function Fw(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;h=b+12|0;j=c[h>>2]|0;if(e|0)a[j+62>>0]=1;e=j+61|0;g=a[e>>0]|0;if((g&255)<2){a[e>>0]=2;e=j+64|0;do f=ww(b,e,1)|0;while((f|0)==(e|0));c[j+68>>2]=f;g=c[h>>2]|0;e=g;g=a[g+61>>0]|0}else e=j;f=e+61|0;if(g<<24>>24==7)g=7;else{do zw(b)|0;while((a[f>>0]|0)!=7);g=c[h>>2]|0;e=g;g=a[g+61>>0]|0}f=e+61|0;if(!(1<<(g&255)&-129)){do zw(b)|0;while(!(1<>0]&-129|0));g=c[h>>2]|0;e=g;g=a[g+61>>0]|0}f=e+61|0;if(g<<24>>24!=6){do zw(b)|0;while((a[f>>0]|0)!=6);e=c[h>>2]|0;if((a[e+61>>0]|0)!=7)i=16}else i=16;if((i|0)==16){e=e+61|0;do zw(b)|0;while((a[e>>0]|0)!=7)}a[j+62>>0]=0;f=((c[j+20>>2]|0)>>>0)/100|0;e=c[j+124>>2]|0;i=j+8|0;h=c[i>>2]|0;b=j+12|0;g=c[b>>2]|0;j=O(e,0-f|0)|0;j=g+h+((e|0)<(2147483647/(f>>>0)|0|0)?j:-2147483647)|0;c[i>>2]=g-j+h;c[b>>2]=j;return}function Gw(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,m=0;m=l;l=l+16|0;i=m;h=c[d>>2]|0;if((h|0)>=((f|0)/2|0|0))if((h|0)<(f|0))k=f;else{c[i>>2]=g;c[i+4>>2]=f;_v(a,279931,i)}else{k=h<<1;k=(k|0)>4?k:4}if((k+1|0)>>>0>(4294967295/(e>>>0)|0)>>>0)Hw(a);j=O(h,e)|0;i=O(k,e)|0;g=c[a+12>>2]|0;e=(b|0)!=0;h=g+4|0;f=jg[c[g>>2]&31](c[h>>2]|0,b,j,i)|0;if(!((i|0)!=0&(f|0)==0)){a=f;b=g+12|0;g=c[b>>2]|0;j=0-j|0;j=e?j:0;j=j+i|0;j=j+g|0;c[b>>2]=j;c[d>>2]=k;l=m;return a|0}if(!(c[g+140>>2]|0))cw(a,4);Fw(a,1);h=jg[c[g>>2]&31](c[h>>2]|0,b,j,i)|0;if(!h)cw(a,4);else{a=h;b=g+12|0;g=c[b>>2]|0;j=0-j|0;j=e?j:0;j=j+i|0;j=j+g|0;c[b>>2]=j;c[d>>2]=k;l=m;return a|0}return 0}function Hw(a){a=a|0;var b=0;b=l;l=l+16|0;_v(a,279957,b)}function Iw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.0,r=0;r=l;l=l+16|0;p=r;i=b;while(1){f=a[i>>0]|0;g=i+1|0;if(!(a[286771+((f&255)+1)>>0]&8))break;else i=g}switch(f<<24>>24){case 45:{o=1;f=g;break}case 43:{o=0;f=g;break}default:{o=0;f=i}}g=a[f>>0]|0;a:do if(g<<24>>24==48){switch(a[f+1>>0]|0){case 88:case 120:break;default:{n=8;break a}}f=f+2|0;g=a[f>>0]|0;i=a[286771+((g&255)+1)>>0]|0;if(!(i&16)){j=0;k=0;m=1}else{j=0;i=0;while(1){j=xQ(j|0,i|0,4)|0;g=g<<24>>24;k=g+-48|0;k=k>>>0>9?(g|32)+-87|0:k;j=lQ(k|0,((k|0)<0)<<31>>31|0,j|0,z|0)|0;k=z;f=f+1|0;g=a[f>>0]|0;i=a[286771+((g&255)+1)>>0]|0;if(!(i&16)){m=0;break}else i=k}}}else n=8;while(0);if((n|0)==8){i=g&255;if((i+-48|0)>>>0>9){i=a[286771+(i+1)>>0]|0;j=0;k=0;m=1}else{j=0;k=0;do{n=rQ(j|0,k|0,10,0)|0;i=z;m=g<<24>>24;m=lQ(m|0,((m|0)<0)<<31>>31|0,-48,-1)|0;j=lQ(m|0,z|0,n|0,i|0)|0;k=z;f=f+1|0;g=a[f>>0]|0;i=g&255}while((i+-48|0)>>>0<=9);i=a[286771+(i+1)>>0]|0;m=0}}if(!(i&8))i=f;else{do{f=f+1|0;g=a[f>>0]|0}while((a[286771+((g&255)+1)>>0]&8)!=0);i=f}do if(g<<24>>24!=0|(m|0)!=0|(i|0)==0){if((iQ(b,280252)|0)==0?(q=+dQ(b,p),e=c[p>>2]|0,(e|0)!=(b|0)):0){f=a[e>>0]|0;if(a[286771+((f&255)+1)>>0]&8){do{e=e+1|0;f=a[e>>0]|0}while((a[286771+((f&255)+1)>>0]&8)!=0);c[p>>2]=e}if(!(f<<24>>24))if(!e){b=0;l=r;return b|0}else{h[d>>3]=q;f=3;break}}b=0;l=r;return b|0}else{e=(o|0)!=0;p=mQ(0,0,j|0,k|0)|0;f=d;c[f>>2]=e?p:j;c[f+4>>2]=e?z:k;f=19;e=i}while(0);c[d+8>>2]=f;b=1-b+e|0;l=r;return b|0}function Jw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0;j=l;l=l+80|0;f=j+8|0;e=j;i=j+16|0;g=d+8|0;if((c[g>>2]|0)!=19){h[f>>3]=+h[d>>3];e=zN(i,280260,f)|0;if(!(a[i+(MP(i,280266)|0)>>0]|0)){a[i+e>>0]=46;a[i+(e+1)>>0]=48;e=e+2|0}}else{m=d;k=c[m+4>>2]|0;f=e;c[f>>2]=c[m>>2];c[f+4>>2]=k;e=zN(i,280255,e)|0}m=jx(b,i,e)|0;c[d>>2]=m;c[g>>2]=(a[m+4>>0]|64)&255;l=j;return}function Kw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=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,A=0,B=0,C=0,D=0,E=0,F=0,G=0.0;F=l;l=l+80|0;E=F+32|0;y=F+24|0;t=F+16|0;u=F+8|0;x=F;q=F+72|0;r=F+48|0;s=F+40|0;j=KO(d,37)|0;n=b+24|0;C=b+8|0;f=c[C>>2]|0;i=f;g=(c[n>>2]|0)-i|0;a:do if(j){o=s+7|0;p=b+92|0;m=b+28|0;k=0;b:while(1){if((g|0)<48){f=c[p>>2]|0;if((f|0)>1e6){f=5;break}i=(i-(c[m>>2]|0)>>4)+7|0;f=f<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(i|0)?i:f;if((f|0)>1e6){f=7;break}ew(b,f);f=c[C>>2]|0}c[C>>2]=f+16;d=jx(b,d,j-d|0)|0;c[f>>2]=d;c[f+8>>2]=(a[d+4>>0]|64)&255;d=a[j+1>>0]|0;c:do switch(d|0){case 115:{g=(c[e>>2]|0)+(4-1)&~(4-1);d=c[g>>2]|0;c[e>>2]=g+4;d=(d|0)==0?314047:d;g=JO(d)|0;i=c[C>>2]|0;c[C>>2]=i+16;g=jx(b,d,g)|0;c[i>>2]=g;c[i+8>>2]=(a[g+4>>0]|64)&255;break}case 99:{i=(c[e>>2]|0)+(4-1)&~(4-1);f=c[i>>2]|0;c[e>>2]=i+4;a[q>>0]=f;f=f&255;if((f+-32|0)>>>0>94){c[u>>2]=f;Lw(b,280278,u)|0;break c}else{i=c[C>>2]|0;c[C>>2]=i+16;g=jx(b,q,1)|0;c[i>>2]=g;c[i+8>>2]=(a[g+4>>0]|64)&255;break c}}case 100:{i=c[C>>2]|0;c[C>>2]=i+16;g=(c[e>>2]|0)+(4-1)&~(4-1);d=c[g>>2]|0;c[e>>2]=g+4;g=i;c[g>>2]=d;c[g+4>>2]=((d|0)<0)<<31>>31;c[i+8>>2]=19;Jw(b,(c[C>>2]|0)+-16|0);break}case 73:{i=c[C>>2]|0;c[C>>2]=i+16;g=(c[e>>2]|0)+(8-1)&~(8-1);d=g;f=c[d>>2]|0;d=c[d+4>>2]|0;c[e>>2]=g+8;g=i;c[g>>2]=f;c[g+4>>2]=d;c[i+8>>2]=19;Jw(b,(c[C>>2]|0)+-16|0);break}case 102:{i=c[C>>2]|0;c[C>>2]=i+16;g=(c[e>>2]|0)+(8-1)&~(8-1);G=+h[g>>3];c[e>>2]=g+8;h[i>>3]=G;c[i+8>>2]=3;Jw(b,(c[C>>2]|0)+-16|0);break}case 112:{i=(c[e>>2]|0)+(4-1)&~(4-1);g=c[i>>2]|0;c[e>>2]=i+4;c[t>>2]=g;g=zN(r,280284,t)|0;i=c[C>>2]|0;c[C>>2]=i+16;g=jx(b,r,g)|0;c[i>>2]=g;c[i+8>>2]=(a[g+4>>0]|64)&255;break}case 85:{i=(c[e>>2]|0)+(4-1)&~(4-1);f=c[i>>2]|0;c[e>>2]=i+4;if(f>>>0<128){a[o>>0]=f;f=1}else{g=63;i=1;while(1){d=i+1|0;a[s+(8-i)>>0]=f&63|128;f=f>>>6;g=g>>>1;if(f>>>0<=g>>>0)break;else i=d}a[s+(7-i)>>0]=g<<1^254|f;f=d}i=c[C>>2]|0;c[C>>2]=i+16;g=jx(b,s+(8-f)|0,f)|0;c[i>>2]=g;c[i+8>>2]=(a[g+4>>0]|64)&255;break}case 37:{i=c[C>>2]|0;c[C>>2]=i+16;g=jx(b,280287,1)|0;c[i>>2]=g;c[i+8>>2]=(a[g+4>>0]|64)&255;break}default:{f=24;break b}}while(0);k=k+2|0;d=j+2|0;j=KO(d,37)|0;f=c[C>>2]|0;i=f;g=(c[n>>2]|0)-i|0;if(!j){A=d;v=g;z=i;w=f;D=k;break a}}if((f|0)==5)cw(b,6);else if((f|0)==7){ew(b,1000200);_v(b,283170,x)}else if((f|0)==24){c[y>>2]=d;_v(b,280289,y)}}else{A=d;v=g;z=i;w=f;D=0}while(0);do if((v|0)<32){f=c[b+92>>2]|0;if((f|0)>1e6)cw(b,6);z=(z-(c[b+28>>2]|0)>>4)+6|0;f=f<<1;f=(f|0)<1e6?f:1e6;f=(f|0)<(z|0)?z:f;if((f|0)>1e6){ew(b,1000200);_v(b,283170,E)}else{ew(b,f);B=c[C>>2]|0;break}}else B=w;while(0);E=JO(A)|0;c[C>>2]=B+16;E=jx(b,A,E)|0;c[B>>2]=E;c[B+8>>2]=(a[E+4>>0]|64)&255;if((D|0)<=0){E=c[C>>2]|0;E=E+-16|0;E=c[E>>2]|0;E=E+16|0;l=F;return E|0}Bx(b,D|1);E=c[C>>2]|0;E=E+-16|0;E=c[E>>2]|0;E=E+16|0;l=F;return E|0}function Lw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=d;d=Kw(a,b,f)|0;l=e;return d|0}function Mw(b,e,f){b=b|0;e=e|0;f=f|0;var 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;r=l;l=l+32|0;o=r+8|0;n=r;p=c[b>>2]|0;h=p+12|0;g=c[h>>2]|0;q=b+43|0;k=d[q>>0]|0;if((k+1|0)>>>0>255){m=b+8|0;i=c[(c[m>>2]|0)+52>>2]|0;j=c[p+36>>2]|0;if(!j){t=280571;c[o>>2]=280999;s=o+4|0;c[s>>2]=255;s=o+8|0;c[s>>2]=t;s=Lw(i,280585,o)|0;t=c[m>>2]|0;NB(t,s)}c[n>>2]=j;s=Lw(i,280551,n)|0;c[o>>2]=280999;t=o+4|0;c[t>>2]=255;t=o+8|0;c[t>>2]=s;t=Lw(i,280585,o)|0;s=c[m>>2]|0;NB(s,t)}if((k|0)<(g|0)){h=g;i=c[p+64>>2]|0}else{t=p+64|0;i=Gw(c[(c[b+8>>2]|0)+52>>2]|0,c[t>>2]|0,h,8,255,280999)|0;c[t>>2]=i;h=c[h>>2]|0}if((g|0)<(h|0))do{c[i+(g<<3)>>2]=0;g=g+1|0}while((g|0)!=(h|0));j=a[q>>0]|0;h=j&255;a[i+(h<<3)+4>>0]=(c[f>>2]|0)==8&1;a[i+(h<<3)+5>>0]=c[f+8>>2];c[i+(h<<3)>>2]=e;h=p+5|0;i=a[h>>0]|0;if(!(i&4)){t=j;s=t+1<<24>>24;a[q>>0]=s;t=t&255;l=r;return t|0}if(!(a[e+5>>0]&3)){t=j;s=t+1<<24>>24;a[q>>0]=s;t=t&255;l=r;return t|0}g=c[(c[(c[b+8>>2]|0)+52>>2]|0)+12>>2]|0;if((d[g+61>>0]|0)<2){uw(g,e);t=a[q>>0]|0;s=t+1<<24>>24;a[q>>0]=s;t=t&255;l=r;return t|0}else{a[h>>0]=a[g+60>>0]&3|i&-8;t=j;s=t+1<<24>>24;a[q>>0]=s;t=t&255;l=r;return t|0}return 0}function Nw(e){e=e|0;var 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,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=l;l=l+224|0;u=U+208|0;p=U+192|0;L=U+176|0;k=U+160|0;x=U+144|0;m=U+128|0;j=U+112|0;i=U+104|0;N=U+72|0;G=U+48|0;q=U+24|0;n=U;Q=e+4|0;P=c[Q>>2]|0;S=e+48|0;O=c[S>>2]|0;T=e+52|0;h=(c[T>>2]|0)+106|0;R=(b[h>>1]|0)+1<<16>>16;b[h>>1]=R;if((R&65535)>200){g=O+8|0;h=c[(c[g>>2]|0)+52>>2]|0;f=c[(c[O>>2]|0)+36>>2]|0;if(!f){V=280571;c[j>>2]=280617;R=j+4|0;c[R>>2]=200;R=j+8|0;c[R>>2]=V;R=Lw(h,280585,j)|0;V=c[g>>2]|0;NB(V,R)}c[i>>2]=f;R=Lw(h,280551,i)|0;c[j>>2]=280617;V=j+4|0;c[V>>2]=200;V=j+8|0;c[V>>2]=R;V=Lw(h,280585,j)|0;R=c[g>>2]|0;NB(R,V)}R=e+16|0;do switch(c[R>>2]|0){case 59:{c[e+8>>2]=P;f=e+32|0;if((c[f>>2]|0)==289){c[R>>2]=QB(e,e+24|0)|0;V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}else{V=e+16|0;c[V>>2]=c[f>>2];c[V+4>>2]=c[f+4>>2];c[V+8>>2]=c[f+8>>2];c[V+12>>2]=c[f+12>>2];c[f>>2]=289;V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}}case 267:{c[G>>2]=-1;Tw(e,G);a:while(1){f=c[R>>2]|0;switch(f|0){case 260:{M=12;break a}case 261:break;default:{g=f;break a}}Tw(e,G)}if((M|0)==12){c[e+8>>2]=c[Q>>2];f=e+32|0;if((c[f>>2]|0)==289)c[R>>2]=QB(e,e+24|0)|0;else{V=e+16|0;c[V>>2]=c[f>>2];c[V+4>>2]=c[f+4>>2];c[V+8>>2]=c[f+8>>2];c[V+12>>2]=c[f+12>>2];c[f>>2]=289}g=c[S>>2]|0;a[N+14>>0]=0;a[N+12>>0]=a[g+42>>0]|0;V=c[(c[g+8>>2]|0)+68>>2]|0;c[N+4>>2]=c[V+28>>2];c[N+8>>2]=c[V+16>>2];a[N+13>>0]=0;V=g+12|0;c[N>>2]=c[V>>2];c[V>>2]=N;b:do{f=c[R>>2]|0;switch(f|0){case 277:case 289:case 262:case 261:case 260:break b;default:{}}Nw(e)}while((f|0)!=274);Qw(g);g=c[R>>2]|0}f=c[Q>>2]|0;if((g|0)!=262)if((f|0)==(P|0))Ow(e,262);else{V=c[T>>2]|0;N=MB(e,262)|0;Q=MB(e,267)|0;c[m>>2]=N;c[m+4>>2]=Q;c[m+8>>2]=P;NB(e,Lw(V,280626,m)|0)}c[e+8>>2]=f;f=e+32|0;if((c[f>>2]|0)==289)c[R>>2]=QB(e,e+24|0)|0;else{V=e+16|0;c[V>>2]=c[f>>2];c[V+4>>2]=c[f+4>>2];c[V+8>>2]=c[f+8>>2];c[V+12>>2]=c[f+12>>2];c[f>>2]=289}k=c[G>>2]|0;c[O+20>>2]=c[O+16>>2];f=O+24|0;do if((k|0)!=-1){g=c[f>>2]|0;if((g|0)==-1){c[f>>2]=k;break}j=c[(c[O>>2]|0)+48>>2]|0;while(1){h=j+(g<<2)|0;i=c[h>>2]|0;f=(i>>>14)+-131071|0;f=(f|0)==-1?-1:g+1+f|0;if((f|0)==-1)break;else g=f}f=k+~g|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[O+8>>2]|0,286657);else{c[h>>2]=(f<<14)+2147467264|i&16383;break}}while(0);V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}case 278:{r=e+8|0;c[r>>2]=P;s=e+32|0;if((c[s>>2]|0)==289)c[R>>2]=QB(e,e+24|0)|0;else{V=e+16|0;c[V>>2]=c[s>>2];c[V+4>>2]=c[s+4>>2];c[V+8>>2]=c[s+8>>2];c[V+12>>2]=c[s+12>>2];c[s>>2]=289}p=O+16|0;o=c[p>>2]|0;q=O+20|0;c[q>>2]=o;Uw(e,N,0)|0;if((c[N>>2]|0)==1)c[N>>2]=3;HB(c[S>>2]|0,N);t=c[N+20>>2]|0;a[G+14>>0]=1;a[G+12>>0]=a[O+42>>0]|0;u=O+8|0;V=c[(c[u>>2]|0)+68>>2]|0;c[G+4>>2]=c[V+28>>2];c[G+8>>2]=c[V+16>>2];a[G+13>>0]=0;V=O+12|0;c[G>>2]=c[V>>2];c[V>>2]=G;if((c[R>>2]|0)!=259)Ow(e,259);c[r>>2]=c[Q>>2];if((c[s>>2]|0)==289)c[R>>2]=QB(e,e+24|0)|0;else{V=e+16|0;c[V>>2]=c[s>>2];c[V+4>>2]=c[s+4>>2];c[V+8>>2]=c[s+8>>2];c[V+12>>2]=c[s+12>>2];c[s>>2]=289}g=c[S>>2]|0;a[N+14>>0]=0;a[N+12>>0]=a[g+42>>0]|0;V=c[(c[g+8>>2]|0)+68>>2]|0;c[N+4>>2]=c[V+28>>2];c[N+8>>2]=c[V+16>>2];a[N+13>>0]=0;V=g+12|0;c[N>>2]=c[V>>2];c[V>>2]=N;c:do{f=c[R>>2]|0;switch(f|0){case 277:case 289:case 262:case 261:case 260:break c;default:{}}Nw(e)}while((f|0)!=274);Qw(g);n=O+24|0;g=c[n>>2]|0;c[n>>2]=-1;j=xB(O,2147450910)|0;do if((g|0)!=-1)if((j|0)!=-1){h=c[(c[O>>2]|0)+48>>2]|0;i=j;while(1){k=h+(i<<2)|0;m=c[k>>2]|0;f=(m>>>14)+-131071|0;f=(f|0)==-1?-1:i+1+f|0;if((f|0)==-1)break;else i=f}f=g+~i|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[u>>2]|0,286657);else{c[k>>2]=(f<<14)+2147467264|m&16383;w=j;break}}else w=g;else w=j;while(0);yB(O,w,o);f=c[Q>>2]|0;if((c[R>>2]|0)!=262)if((f|0)==(P|0))Ow(e,262);else{V=c[T>>2]|0;N=MB(e,262)|0;Q=MB(e,278)|0;c[x>>2]=N;c[x+4>>2]=Q;c[x+8>>2]=P;NB(e,Lw(V,280626,x)|0)}c[r>>2]=f;if((c[s>>2]|0)==289)c[R>>2]=QB(e,e+24|0)|0;else{V=e+16|0;c[V>>2]=c[s>>2];c[V+4>>2]=c[s+4>>2];c[V+8>>2]=c[s+8>>2];c[V+12>>2]=c[s+12>>2];c[s>>2]=289}Qw(O);c[q>>2]=c[p>>2];do if((t|0)!=-1){f=c[n>>2]|0;if((f|0)==-1){c[n>>2]=t;break}j=c[(c[O>>2]|0)+48>>2]|0;while(1){h=j+(f<<2)|0;i=c[h>>2]|0;g=(i>>>14)+-131071|0;g=(g|0)==-1?-1:f+1+g|0;if((g|0)==-1)break;else f=g}f=t+~f|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[u>>2]|0,286657);else{c[h>>2]=(f<<14)+2147467264|i&16383;break}}while(0);V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}case 259:{h=e+8|0;c[h>>2]=P;i=e+32|0;if((c[i>>2]|0)==289){c[R>>2]=QB(e,e+24|0)|0;g=c[S>>2]|0}else{g=e+16|0;c[g>>2]=c[i>>2];c[g+4>>2]=c[i+4>>2];c[g+8>>2]=c[i+8>>2];c[g+12>>2]=c[i+12>>2];c[i>>2]=289;g=O}a[N+14>>0]=0;a[N+12>>0]=a[g+42>>0]|0;V=c[(c[g+8>>2]|0)+68>>2]|0;c[N+4>>2]=c[V+28>>2];c[N+8>>2]=c[V+16>>2];a[N+13>>0]=0;V=g+12|0;c[N>>2]=c[V>>2];c[V>>2]=N;d:do{f=c[R>>2]|0;switch(f|0){case 277:case 289:case 262:case 261:case 260:break d;default:{}}Nw(e)}while((f|0)!=274);Qw(g);f=c[Q>>2]|0;if((c[R>>2]|0)!=262)if((f|0)==(P|0))Ow(e,262);else{V=c[T>>2]|0;O=MB(e,262)|0;Q=MB(e,259)|0;c[k>>2]=O;c[k+4>>2]=Q;c[k+8>>2]=P;NB(e,Lw(V,280626,k)|0)}c[h>>2]=f;if((c[i>>2]|0)==289){c[R>>2]=QB(e,e+24|0)|0;V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}else{V=e+16|0;c[V>>2]=c[i>>2];c[V+4>>2]=c[i+4>>2];c[V+8>>2]=c[i+8>>2];c[V+12>>2]=c[i+12>>2];c[i>>2]=289;V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}}case 264:{a[q+14>>0]=1;a[q+12>>0]=a[O+42>>0]|0;v=c[(c[O+8>>2]|0)+68>>2]|0;c[q+4>>2]=c[v+28>>2];c[q+8>>2]=c[v+16>>2];a[q+13>>0]=0;v=O+12|0;c[q>>2]=c[v>>2];c[v>>2]=q;v=e+8|0;c[v>>2]=P;w=e+32|0;if((c[w>>2]|0)==289){f=QB(e,e+24|0)|0;c[R>>2]=f}else{f=e+16|0;c[f>>2]=c[w>>2];c[f+4>>2]=c[w+4>>2];c[f+8>>2]=c[w+8>>2];c[f+12>>2]=c[w+12>>2];c[w>>2]=289;f=c[R>>2]|0}if((f|0)!=292)Ow(e,292);u=e+24|0;g=c[u>>2]|0;c[v>>2]=c[Q>>2];if((c[w>>2]|0)==289){f=QB(e,u)|0;c[R>>2]=f}else{f=e+16|0;c[f>>2]=c[w>>2];c[f+4>>2]=c[w+4>>2];c[f+8>>2]=c[w+8>>2];c[f+12>>2]=c[w+12>>2];c[w>>2]=289;f=c[R>>2]|0}switch(f|0){case 61:{h=c[S>>2]|0;i=h+44|0;j=d[i>>0]|0;Vw(e,PB(e,280663,11)|0);Vw(e,PB(e,280675,11)|0);Vw(e,PB(e,280687,10)|0);Vw(e,g);if((c[R>>2]|0)!=61)Ow(e,61);c[v>>2]=c[Q>>2];if((c[w>>2]|0)==289)c[R>>2]=QB(e,u)|0;else{V=e+16|0;c[V>>2]=c[w>>2];c[V+4>>2]=c[w+4>>2];c[V+8>>2]=c[w+8>>2];c[V+12>>2]=c[w+12>>2];c[w>>2]=289}Uw(e,N,0)|0;BB(c[S>>2]|0,N);if((c[R>>2]|0)!=44)Ow(e,44);c[v>>2]=c[Q>>2];if((c[w>>2]|0)==289)c[R>>2]=QB(e,u)|0;else{V=e+16|0;c[V>>2]=c[w>>2];c[V+4>>2]=c[w+4>>2];c[V+8>>2]=c[w+8>>2];c[V+12>>2]=c[w+12>>2];c[w>>2]=289}Uw(e,N,0)|0;BB(c[S>>2]|0,N);if((c[R>>2]|0)==44){c[v>>2]=c[Q>>2];if((c[w>>2]|0)==289)c[R>>2]=QB(e,u)|0;else{V=e+16|0;c[V>>2]=c[w>>2];c[V+4>>2]=c[w+4>>2];c[V+8>>2]=c[w+8>>2];c[V+12>>2]=c[w+12>>2];c[w>>2]=289}Uw(e,N,0)|0;BB(c[S>>2]|0,N)}else{g=d[i>>0]|0;c[N>>2]=1;c[N+8>>2]=2;f=G;c[f>>2]=1;c[f+4>>2]=0;c[G+8>>2]=19;f=zB(h,N,G)|0;g=g<<6;if((f|0)<262144)xB(h,g|f<<14|1)|0;else{xB(h,g|2)|0;xB(h,f<<6|46)|0}f=(d[i>>0]|0)+1|0;g=(c[h>>2]|0)+8|0;do if(f>>>0>(d[g>>0]|0)>>>0)if(f>>>0>254)NB(c[h+8>>2]|0,286692);else{s=f&255;a[g>>0]=s;break}else s=f&255;while(0);a[i>>0]=s}Ww(e,j,P,1,1);break}case 268:case 44:{q=c[S>>2]|0;p=q+44|0;r=d[p>>0]|0;Vw(e,PB(e,280698,15)|0);Vw(e,PB(e,280714,11)|0);Vw(e,PB(e,280726,13)|0);Vw(e,g);f=c[R>>2]|0;do if((f|0)==44){g=e+16|0;h=4;while(1){c[v>>2]=c[Q>>2];if((c[w>>2]|0)==289){f=QB(e,u)|0;c[R>>2]=f}else{c[g>>2]=c[w>>2];c[g+4>>2]=c[w+4>>2];c[g+8>>2]=c[w+8>>2];c[g+12>>2]=c[w+12>>2];c[w>>2]=289;f=c[R>>2]|0}if((f|0)!=292){M=124;break}f=c[u>>2]|0;c[v>>2]=c[Q>>2];if((c[w>>2]|0)==289)c[R>>2]=QB(e,u)|0;else{c[g>>2]=c[w>>2];c[g+4>>2]=c[w+4>>2];c[g+8>>2]=c[w+8>>2];c[g+12>>2]=c[w+12>>2];c[w>>2]=289}Vw(e,f);f=c[R>>2]|0;if((f|0)==44)h=h+1|0;else{M=129;break}}if((M|0)==124)Ow(e,292);else if((M|0)==129){t=f;K=h+-2|0;break}}else{t=f;K=1}while(0);if((t|0)!=268)Ow(e,268);f=c[Q>>2]|0;c[v>>2]=f;if((c[w>>2]|0)==289){c[R>>2]=QB(e,u)|0;o=c[Q>>2]|0}else{o=e+16|0;c[o>>2]=c[w>>2];c[o+4>>2]=c[w+4>>2];c[o+8>>2]=c[w+8>>2];c[o+12>>2]=c[w+12>>2];c[w>>2]=289;o=f}Uw(e,N,0)|0;if((c[R>>2]|0)==44){g=e+16|0;f=1;do{c[v>>2]=c[Q>>2];if((c[w>>2]|0)==289)c[R>>2]=QB(e,u)|0;else{c[g>>2]=c[w>>2];c[g+4>>2]=c[w+4>>2];c[g+8>>2]=c[w+8>>2];c[g+12>>2]=c[w+12>>2];c[w>>2]=289}BB(c[S>>2]|0,N);Uw(e,N,0)|0;f=f+1|0}while((c[R>>2]|0)==44)}else f=1;n=c[S>>2]|0;m=3-f|0;f=c[N>>2]|0;switch(f|0){case 14:case 13:{i=m+1|0;i=(i|0)>0?i:0;switch(f|0){case 13:{V=(c[(c[n>>2]|0)+48>>2]|0)+(c[N+8>>2]<<2)|0;c[V>>2]=c[V>>2]&-8372225|(i<<14)+16384&8372224;break}case 14:{V=N+8|0;h=c[n>>2]|0;f=c[h+48>>2]|0;g=f+(c[V>>2]<<2)|0;c[g>>2]=c[g>>2]&8388607|(i<<23)+8388608;V=f+(c[V>>2]<<2)|0;f=n+44|0;g=d[f>>0]|0;c[V>>2]=g<<6|c[V>>2]&-16321;g=g+1|0;h=h+8|0;do if(g>>>0>(d[h>>0]|0)>>>0)if(g>>>0>254)NB(c[n+8>>2]|0,286692);else{A=g&255;a[h>>0]=A;break}else A=g&255;while(0);a[f>>0]=A;break}default:{}}if((i|0)>1){h=n+44|0;f=(d[h>>0]|0)+(i+-1)|0;g=(c[n>>2]|0)+8|0;do if((f|0)>(d[g>>0]|0))if((f|0)>254)NB(c[n+8>>2]|0,286692);else{F=f&255;a[g>>0]=F;break}else F=f&255;while(0);a[h>>0]=F}break}case 0:{M=158;break}default:{BB(n,N);M=158}}e:do if((M|0)==158?(m|0)>0:0){f=n+44|0;j=d[f>>0]|0;k=j+m|0;i=c[n>>2]|0;g=i+8|0;do if((k|0)>(d[g>>0]|0))if((k|0)>254)NB(c[n+8>>2]|0,286692);else{H=k&255;a[g>>0]=H;break}else H=k&255;while(0);a[f>>0]=H;h=k+-1|0;f=c[n+16>>2]|0;do if((f|0)>(c[n+20>>2]|0)?(I=(c[i+48>>2]|0)+(f+-1<<2)|0,J=c[I>>2]|0,(J&63|0)==4):0){f=J>>>6&255;g=f+(J>>>23)|0;if(f>>>0>j>>>0|(g+1|0)>>>0>>0?f>>>0>>0|(f|0)>(k|0):0)break;V=f>>>0>>0?f:j;c[I>>2]=((g|0)>(h|0)?g:h)-V<<23|V<<6|J&8372287;break e}while(0);xB(n,j<<6|(m<<23)+-8388608|4)|0}while(0);f=(d[p>>0]|0)+3|0;g=(c[q>>2]|0)+8|0;do if(f>>>0>(d[g>>0]|0)>>>0)if(f>>>0>254)NB(c[q+8>>2]|0,286692);else{a[g>>0]=f;break}while(0);Ww(e,r,o,K,0);break}default:NB(e,280740)}f=c[Q>>2]|0;if((c[R>>2]|0)!=262)if((f|0)==(P|0))Ow(e,262);else{V=c[T>>2]|0;N=MB(e,262)|0;Q=MB(e,264)|0;c[L>>2]=N;c[L+4>>2]=Q;c[L+8>>2]=P;NB(e,Lw(V,280626,L)|0)}c[v>>2]=f;if((c[w>>2]|0)==289)c[R>>2]=QB(e,u)|0;else{V=e+16|0;c[V>>2]=c[w>>2];c[V+4>>2]=c[w+4>>2];c[V+8>>2]=c[w+8>>2];c[V+12>>2]=c[w+12>>2];c[w>>2]=289}Qw(O);V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}case 273:{m=c[O+16>>2]|0;c[O+20>>2]=m;a[G+14>>0]=1;V=a[O+42>>0]|0;a[G+12>>0]=V;j=c[(c[O+8>>2]|0)+68>>2]|0;i=c[j+28>>2]|0;c[G+4>>2]=i;j=c[j+16>>2]|0;c[G+8>>2]=j;a[G+13>>0]=0;h=O+12|0;c[G>>2]=c[h>>2];a[q+14>>0]=0;k=q+12|0;a[k>>0]=V;c[q+4>>2]=i;c[q+8>>2]=j;j=q+13|0;a[j>>0]=0;c[q>>2]=G;c[h>>2]=q;h=e+8|0;c[h>>2]=P;i=e+32|0;if((c[i>>2]|0)==289){f=QB(e,e+24|0)|0;c[R>>2]=f}else{M=e+16|0;c[M>>2]=c[i>>2];c[M+4>>2]=c[i+4>>2];c[M+8>>2]=c[i+8>>2];c[M+12>>2]=c[i+12>>2];c[i>>2]=289;M=187}f:while(1){if((M|0)==187){M=0;f=c[R>>2]|0}switch(f|0){case 277:case 289:case 262:case 261:case 260:{g=f;break f}default:{}}Nw(e);if((f|0)==274){M=190;break}else M=187}if((M|0)==190)g=c[R>>2]|0;f=c[Q>>2]|0;if((g|0)!=277)if((f|0)==(P|0))Ow(e,277);else{V=c[T>>2]|0;M=MB(e,277)|0;Q=MB(e,273)|0;c[p>>2]=M;c[p+4>>2]=Q;c[p+8>>2]=P;NB(e,Lw(V,280626,p)|0)}c[h>>2]=f;if((c[i>>2]|0)==289)c[R>>2]=QB(e,e+24|0)|0;else{V=e+16|0;c[V>>2]=c[i>>2];c[V+4>>2]=c[i+4>>2];c[V+8>>2]=c[i+8>>2];c[V+12>>2]=c[i+12>>2];c[i>>2]=289}Uw(e,N,0)|0;if((c[N>>2]|0)==1)c[N>>2]=3;HB(c[S>>2]|0,N);i=c[N+20>>2]|0;if(!((a[j>>0]|0)==0|(i|0)==-1)){h=c[(c[O>>2]|0)+48>>2]|0;g=(d[k>>0]<<6)+64&16320;f=i;do{e=h+(f<<2)|0;R=c[e>>2]|0;V=(R>>>14)+-131071|0;c[e>>2]=R&-16321|g;f=(V|0)==-1?-1:f+1+V|0}while((f|0)!=-1)}Qw(O);yB(O,i,m);Qw(O);V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}case 265:{g=e+8|0;c[g>>2]=P;h=e+32|0;if((c[h>>2]|0)==289){f=QB(e,e+24|0)|0;c[R>>2]=f}else{f=e+16|0;c[f>>2]=c[h>>2];c[f+4>>2]=c[h+4>>2];c[f+8>>2]=c[h+8>>2];c[f+12>>2]=c[h+12>>2];c[h>>2]=289;f=c[R>>2]|0}if((f|0)!=292)Ow(e,292);f=e+24|0;i=c[f>>2]|0;c[g>>2]=c[Q>>2];if((c[h>>2]|0)==289)c[R>>2]=QB(e,f)|0;else{V=e+16|0;c[V>>2]=c[h>>2];c[V+4>>2]=c[h+4>>2];c[V+8>>2]=c[h+8>>2];c[V+12>>2]=c[h+12>>2];c[h>>2]=289}f=c[S>>2]|0;if(!(Xw(f,i,q,1)|0)){Xw(f,c[e+76>>2]|0,q,1)|0;V=c[S>>2]|0;c[N>>2]=i;c[N+8>>2]=(a[i+4>>0]|64)&255;V=zB(V,N,N)|0;c[G+16>>2]=-1;c[G+20>>2]=-1;c[G>>2]=4;c[G+8>>2]=V;V=q+8|0;a[V+2>>0]=c[V>>2];b[V>>1]=FB(f,G)|0;a[V+3>>0]=(c[q>>2]|0)==9?9:8;c[q>>2]=10}g:while(1){switch(c[R>>2]|0){case 58:{M=217;break g}case 46:break;default:{f=0;break g}}Yw(e,q)}if((M|0)==217){Yw(e,q);f=1}Zw(e,n,f,P);GB(c[S>>2]|0,q,n);V=c[S>>2]|0;c[(c[(c[V>>2]|0)+56>>2]|0)+((c[V+16>>2]|0)+-1<<2)>>2]=P;V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}case 269:{k=e+8|0;c[k>>2]=P;j=e+32|0;if((c[j>>2]|0)==289){f=QB(e,e+24|0)|0;c[R>>2]=f}else{f=e+16|0;c[f>>2]=c[j>>2];c[f+4>>2]=c[j+4>>2];c[f+8>>2]=c[j+8>>2];c[f+12>>2]=c[j+12>>2];c[j>>2]=289;f=c[R>>2]|0}if((f|0)==265){c[k>>2]=c[Q>>2];if((c[j>>2]|0)==289){f=QB(e,e+24|0)|0;c[R>>2]=f}else{f=e+16|0;c[f>>2]=c[j>>2];c[f+4>>2]=c[j+4>>2];c[f+8>>2]=c[j+8>>2];c[f+12>>2]=c[j+12>>2];c[j>>2]=289;f=c[R>>2]|0}h=c[S>>2]|0;if((f|0)!=292)Ow(e,292);f=e+24|0;g=c[f>>2]|0;c[k>>2]=c[Q>>2];if((c[j>>2]|0)==289)c[R>>2]=QB(e,f)|0;else{V=e+16|0;c[V>>2]=c[j>>2];c[V+4>>2]=c[j+4>>2];c[V+8>>2]=c[j+8>>2];c[V+12>>2]=c[j+12>>2];c[j>>2]=289}Vw(e,g);R=c[S>>2]|0;P=R+42|0;V=(d[P>>0]|0)+1|0;a[P>>0]=V;c[(c[(c[R>>2]|0)+60>>2]|0)+((b[(c[c[(c[R+8>>2]|0)+68>>2]>>2]|0)+((c[R+36>>2]|0)+(V&255)+-1<<1)>>1]|0)*12|0)+4>>2]=c[R+16>>2];Zw(e,N,0,c[Q>>2]|0);c[(c[(c[h>>2]|0)+60>>2]|0)+((b[(c[c[(c[h+8>>2]|0)+68>>2]>>2]|0)+((c[h+36>>2]|0)+(c[N+8>>2]|0)<<1)>>1]|0)*12|0)+4>>2]=c[h+16>>2];V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}if((f|0)!=292)Ow(e,292);h=e+24|0;i=e+16|0;f=0;h:while(1){g=c[h>>2]|0;c[k>>2]=c[Q>>2];if((c[j>>2]|0)==289)c[R>>2]=QB(e,h)|0;else{c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[j>>2]=289}Vw(e,g);f=f+1|0;switch(c[R>>2]|0){case 61:{M=243;break h}case 44:break;default:{M=251;break h}}c[k>>2]=c[Q>>2];if((c[j>>2]|0)==289){g=QB(e,h)|0;c[R>>2]=g}else{c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[j>>2]=289;g=c[R>>2]|0}if((g|0)!=292){M=234;break}}i:do if((M|0)==234)Ow(e,292);else if((M|0)==243){c[k>>2]=c[Q>>2];if((c[j>>2]|0)==289)c[R>>2]=QB(e,h)|0;else{c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[j>>2]=289}Uw(e,N,0)|0;if((c[R>>2]|0)==44){g=1;do{c[k>>2]=c[Q>>2];if((c[j>>2]|0)==289)c[R>>2]=QB(e,h)|0;else{c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[j>>2]=289}BB(c[S>>2]|0,N);Uw(e,N,0)|0;g=g+1|0}while((c[R>>2]|0)==44)}else g=1;h=c[N>>2]|0;k=c[S>>2]|0;g=f-g|0;switch(h|0){case 0:{B=g;E=k;M=269;break i}case 14:case 13:break;default:{BB(k,N);B=g;E=k;M=269;break i}}j=g+1|0;j=(j|0)>0?j:0;switch(h|0){case 13:{V=(c[(c[k>>2]|0)+48>>2]|0)+(c[N+8>>2]<<2)|0;c[V>>2]=c[V>>2]&-8372225|(j<<14)+16384&8372224;break}case 14:{V=N+8|0;i=c[k>>2]|0;g=c[i+48>>2]|0;h=g+(c[V>>2]<<2)|0;c[h>>2]=c[h>>2]&8388607|(j<<23)+8388608;V=g+(c[V>>2]<<2)|0;g=k+44|0;h=d[g>>0]|0;c[V>>2]=h<<6|c[V>>2]&-16321;h=h+1|0;i=i+8|0;do if(h>>>0>(d[i>>0]|0)>>>0)if(h>>>0>254)NB(c[k+8>>2]|0,286692);else{v=h&255;a[i>>0]=v;break}else v=h&255;while(0);a[g>>0]=v;break}default:{}}if((j|0)>1){i=k+44|0;g=(d[i>>0]|0)+(j+-1)|0;h=(c[k>>2]|0)+8|0;do if((g|0)>(d[h>>0]|0))if((g|0)>254)NB(c[k+8>>2]|0,286692);else{y=g&255;a[h>>0]=y;break}else y=g&255;while(0);a[i>>0]=y}}else if((M|0)==251){c[N>>2]=0;B=f;E=c[S>>2]|0;M=269}while(0);j:do if((M|0)==269?(B|0)>0:0){g=E+44|0;k=d[g>>0]|0;m=k+B|0;j=c[E>>2]|0;h=j+8|0;do if((m|0)>(d[h>>0]|0))if((m|0)>254)NB(c[E+8>>2]|0,286692);else{z=m&255;a[h>>0]=z;break}else z=m&255;while(0);a[g>>0]=z;i=m+-1|0;g=c[E+16>>2]|0;do if((g|0)>(c[E+20>>2]|0)?(C=(c[j+48>>2]|0)+(g+-1<<2)|0,D=c[C>>2]|0,(D&63|0)==4):0){g=D>>>6&255;h=g+(D>>>23)|0;if(g>>>0>k>>>0|(h+1|0)>>>0>>0?g>>>0>>0|(g|0)>(m|0):0)break;V=g>>>0>>0?g:k;c[C>>2]=((h|0)>(i|0)?h:i)-V<<23|V<<6|D&8372287;break j}while(0);xB(E,k<<6|(B<<23)+-8388608|4)|0}while(0);V=c[S>>2]|0;i=V+42|0;j=(d[i>>0]|0)+f|0;a[i>>0]=j;i=c[V+16>>2]|0;g=c[(c[V>>2]|0)+60>>2]|0;h=c[c[(c[V+8>>2]|0)+68>>2]>>2]|0;j=(c[V+36>>2]|0)+(j&255)|0;do{c[g+((b[h+(j-f<<1)>>1]|0)*12|0)+4>>2]=i;f=f+-1|0}while((f|0)!=0);V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}case 288:{k=e+8|0;c[k>>2]=P;m=e+32|0;if((c[m>>2]|0)==289){f=QB(e,e+24|0)|0;c[R>>2]=f}else{f=e+16|0;c[f>>2]=c[m>>2];c[f+4>>2]=c[m+4>>2];c[f+8>>2]=c[m+8>>2];c[f+12>>2]=c[m+12>>2];c[m>>2]=289;f=c[R>>2]|0}if((f|0)!=292)Ow(e,292);g=e+24|0;o=c[g>>2]|0;c[k>>2]=c[Q>>2];if((c[m>>2]|0)==289)c[R>>2]=QB(e,g)|0;else{V=e+16|0;c[V>>2]=c[m>>2];c[V+4>>2]=c[m+4>>2];c[V+8>>2]=c[m+8>>2];c[V+12>>2]=c[m+12>>2];c[m>>2]=289}h=c[S>>2]|0;s=e+68|0;n=c[s>>2]|0;q=n+24|0;r=h+12|0;f=c[(c[r>>2]|0)+4>>2]|0;p=n+28|0;i=c[p>>2]|0;k:do if((f|0)<(i|0)){j=c[q>>2]|0;while(1){if((c[j+(f<<4)>>2]|0)==(o|0))break;f=f+1|0;if((f|0)>=(i|0))break k}O=h+8|0;V=c[(c[O>>2]|0)+52>>2]|0;N=c[j+(f<<4)+8>>2]|0;c[u>>2]=o+16;c[u+4>>2]=N;V=Lw(V,280761,u)|0;Sw(c[O>>2]|0,V)}while(0);if((c[R>>2]|0)!=288)Ow(e,288);c[k>>2]=c[Q>>2];if((c[m>>2]|0)==289)c[R>>2]=QB(e,g)|0;else{V=e+16|0;c[V>>2]=c[m>>2];c[V+4>>2]=c[m+4>>2];c[V+8>>2]=c[m+8>>2];c[V+12>>2]=c[m+12>>2];c[m>>2]=289}g=c[h+16>>2]|0;h=c[p>>2]|0;f=n+32|0;if((h|0)<(c[f>>2]|0))f=c[q>>2]|0;else{f=Gw(c[T>>2]|0,c[q>>2]|0,f,16,32767,280392)|0;c[q>>2]=f}c[f+(h<<4)>>2]=o;c[f+(h<<4)+8>>2]=P;a[f+(h<<4)+12>>0]=a[(c[S>>2]|0)+42>>0]|0;c[f+(h<<4)+4>>2]=g;c[p>>2]=h+1;l:while(1){switch(c[R>>2]|0){case 289:case 262:case 261:case 260:{M=309;break l}case 288:case 59:break;default:{M=308;break l}}Nw(e)}if((M|0)==308)f=c[q>>2]|0;else if((M|0)==309){f=c[q>>2]|0;a[f+(h<<4)+12>>0]=a[(c[r>>2]|0)+12>>0]|0}k=f+(h<<4)|0;f=c[s>>2]|0;h=c[(c[(c[S>>2]|0)+12>>2]|0)+8>>2]|0;j=f+16|0;g=c[j>>2]|0;if((h|0)>=(g|0)){V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}i=f+12|0;f=g;m:while(1){while(1){if((c[(c[i>>2]|0)+(h<<4)>>2]|0)!=(c[k>>2]|0))break;Rw(e,h,k);f=c[j>>2]|0;if((h|0)>=(f|0)){M=360;break m}}h=h+1|0;if((h|0)>=(f|0)){M=360;break}}if((M|0)==360){V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}break}case 274:{n=e+8|0;c[n>>2]=P;m=e+32|0;if((c[m>>2]|0)==289){f=QB(e,e+24|0)|0;c[R>>2]=f;k=c[S>>2]|0}else{k=e+16|0;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];c[m>>2]=289;k=O;f=c[R>>2]|0}n:do switch(f|0){case 59:case 277:case 289:case 262:case 261:case 260:{g=0;f=0;break}default:{Uw(e,N,0)|0;if((c[R>>2]|0)==44){g=e+24|0;h=e+16|0;f=1;do{c[n>>2]=c[Q>>2];if((c[m>>2]|0)==289)c[R>>2]=QB(e,g)|0;else{c[h>>2]=c[m>>2];c[h+4>>2]=c[m+4>>2];c[h+8>>2]=c[m+8>>2];c[h+12>>2]=c[m+12>>2];c[m>>2]=289}BB(c[S>>2]|0,N);Uw(e,N,0)|0;f=f+1|0}while((c[R>>2]|0)==44)}else f=1;g=c[N>>2]|0;if((g+-13|0)>>>0>=2)if((f|0)==1){g=EB(k,N)|0;f=1;break n}else{BB(k,N);g=d[k+42>>0]|0;break n}switch(g|0){case 13:{M=(c[(c[k>>2]|0)+48>>2]|0)+(c[N+8>>2]<<2)|0;c[M>>2]=c[M>>2]&-8372225;M=335;break}case 14:{V=N+8|0;j=c[k>>2]|0;h=c[j+48>>2]|0;i=h+(c[V>>2]<<2)|0;c[i>>2]=c[i>>2]&8388607;V=h+(c[V>>2]<<2)|0;h=k+44|0;i=d[h>>0]|0;c[V>>2]=i<<6|c[V>>2]&-16321;i=i+1|0;j=j+8|0;do if(i>>>0>(d[j>>0]|0)>>>0)if(i>>>0>254)NB(c[k+8>>2]|0,286692);else{r=i&255;a[j>>0]=r;break}else r=i&255;while(0);a[h>>0]=r;break}default:M=335}if((M|0)==335?(f|0)==1&(g|0)==13:0){V=(c[(c[k>>2]|0)+48>>2]|0)+(c[N+8>>2]<<2)|0;c[V>>2]=c[V>>2]&-64|37}g=d[k+42>>0]|0;f=-1}}while(0);xB(k,g<<6|(f<<23)+8388608|38)|0;do if((c[R>>2]|0)==59){c[n>>2]=c[Q>>2];if((c[m>>2]|0)==289){c[R>>2]=QB(e,e+24|0)|0;break}else{V=e+16|0;c[V>>2]=c[m>>2];c[V+4>>2]=c[m+4>>2];c[V+8>>2]=c[m+8>>2];c[V+12>>2]=c[m+12>>2];c[m>>2]=289;break}}while(0);V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}case 266:case 258:{j=O+24|0;g=c[j>>2]|0;c[j>>2]=-1;j=xB(O,2147450910)|0;do if((g|0)!=-1)if((j|0)!=-1){h=c[(c[O>>2]|0)+48>>2]|0;i=j;while(1){k=h+(i<<2)|0;m=c[k>>2]|0;f=(m>>>14)+-131071|0;f=(f|0)==-1?-1:i+1+f|0;if((f|0)==-1)break;else i=f}f=g+~i|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[O+8>>2]|0,286657);else{c[k>>2]=(f<<14)+2147467264|m&16383;o=j;break}}else o=g;else o=j;while(0);_w(e,o);V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}default:{f=N+8|0;$w(e,f);o:do switch(c[R>>2]|0){case 44:case 61:{c[N>>2]=0;ax(e,N,1);break}default:if((c[f>>2]|0)==13){V=(c[(c[O>>2]|0)+48>>2]|0)+(c[N+16>>2]<<2)|0;c[V>>2]=c[V>>2]&-8372225|16384;break o}else NB(e,280799)}while(0);V=c[S>>2]|0;S=V+42|0;S=a[S>>0]|0;V=V+44|0;a[V>>0]=S;V=c[T>>2]|0;V=V+106|0;T=b[V>>1]|0;T=T+-1<<16>>16;b[V>>1]=T;l=U;return}}while(0)}function Ow(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=c[a+52>>2]|0;c[d>>2]=MB(a,b)|0;NB(a,Lw(e,280539,d)|0)}function Pw(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;x=c[e+52>>2]|0;v=e+48|0;w=c[v>>2]|0;t=c[w>>2]|0;xB(w,8388646)|0;Qw(w);o=w+16|0;e=c[o>>2]|0;if((e+1|0)>>>0>1073741823)Hw(x);l=t+48|0;g=c[l>>2]|0;m=t+20|0;k=c[m>>2]<<2;h=e<<2;u=x+12|0;i=c[u>>2]|0;j=(g|0)!=0;e=i+4|0;f=jg[c[i>>2]&31](c[e>>2]|0,g,k,h)|0;if((h|0)!=0&(f|0)==0){if(!(c[i+140>>2]|0))cw(x,4);Fw(x,1);e=jg[c[i>>2]&31](c[e>>2]|0,g,k,h)|0;if(!e)cw(x,4);else n=e}else n=f;e=i+12|0;c[e>>2]=(j?0-k|0:0)+h+(c[e>>2]|0);c[l>>2]=n;e=c[o>>2]|0;c[m>>2]=e;if((e+1|0)>>>0>1073741823)Hw(x);k=t+56|0;g=c[k>>2]|0;l=t+24|0;m=c[l>>2]<<2;h=e<<2;i=c[u>>2]|0;j=(g|0)!=0;e=i+4|0;f=jg[c[i>>2]&31](c[e>>2]|0,g,m,h)|0;if((h|0)!=0&(f|0)==0){if(!(c[i+140>>2]|0))cw(x,4);Fw(x,1);e=jg[c[i>>2]&31](c[e>>2]|0,g,m,h)|0;if(!e)cw(x,4);else p=e}else p=f;e=i+12|0;c[e>>2]=(j?0-m|0:0)+h+(c[e>>2]|0);c[k>>2]=p;c[l>>2]=c[o>>2];k=w+28|0;e=c[k>>2]|0;if((e+1|0)>>>0>268435455)Hw(x);l=t+44|0;g=c[l>>2]|0;m=t+16|0;n=c[m>>2]<<4;h=e<<4;i=c[u>>2]|0;j=(g|0)!=0;e=i+4|0;f=jg[c[i>>2]&31](c[e>>2]|0,g,n,h)|0;if((h|0)!=0&(f|0)==0){if(!(c[i+140>>2]|0))cw(x,4);Fw(x,1);e=jg[c[i>>2]&31](c[e>>2]|0,g,n,h)|0;if(!e)cw(x,4);else q=e}else q=f;e=i+12|0;c[e>>2]=(j?0-n|0:0)+h+(c[e>>2]|0);c[l>>2]=q;c[m>>2]=c[k>>2];m=w+32|0;e=c[m>>2]|0;if((e+1|0)>>>0>1073741823)Hw(x);n=t+52|0;j=c[n>>2]|0;k=t+28|0;l=c[k>>2]<<2;g=e<<2;h=c[u>>2]|0;i=(j|0)!=0;e=h+4|0;f=jg[c[h>>2]&31](c[e>>2]|0,j,l,g)|0;if((g|0)!=0&(f|0)==0){if(!(c[h+140>>2]|0))cw(x,4);Fw(x,1);e=jg[c[h>>2]&31](c[e>>2]|0,j,l,g)|0;if(!e)cw(x,4);else r=e}else r=f;h=h+12|0;c[h>>2]=(i?0-l|0:0)+g+(c[h>>2]|0);c[n>>2]=r;c[k>>2]=c[m>>2];h=t+60|0;e=c[h>>2]|0;i=t+32|0;j=(c[i>>2]|0)*12|0;k=w+40|0;r=b[k>>1]|0;l=(r<<16>>16)*12|0;m=c[u>>2]|0;n=(e|0)!=0;f=m+4|0;g=jg[c[m>>2]&31](c[f>>2]|0,e,j,l)|0;if(r<<16>>16!=0&(g|0)==0){if(!(c[m+140>>2]|0))cw(x,4);Fw(x,1);e=jg[c[m>>2]&31](c[f>>2]|0,e,j,l)|0;if(!e)cw(x,4);else s=e}else s=g;g=m+12|0;c[g>>2]=(n?0-j|0:0)+l+(c[g>>2]|0);c[h>>2]=s;c[i>>2]=b[k>>1];n=t+64|0;g=c[n>>2]|0;h=t+12|0;i=c[h>>2]<<3;j=w+43|0;t=a[j>>0]|0;k=(t&255)<<3;l=c[u>>2]|0;m=(g|0)!=0;e=l+4|0;f=jg[c[l>>2]&31](c[e>>2]|0,g,i,k)|0;if(t<<24>>24!=0&(f|0)==0){if(!(c[l+140>>2]|0))cw(x,4);Fw(x,1);e=jg[c[l>>2]&31](c[e>>2]|0,g,i,k)|0;if(!e)cw(x,4);else y=e}else y=f;t=l+12|0;c[t>>2]=(m?0-i|0:0)+k+(c[t>>2]|0);c[n>>2]=y;c[h>>2]=d[j>>0];c[v>>2]=c[w+4>>2];if((c[(c[u>>2]|0)+12>>2]|0)<=0)return;Ew(x);return}function Qw(e){e=e|0;var 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;z=l;l=l+16|0;u=z;r=e+12|0;v=c[r>>2]|0;x=e+8|0;s=c[x>>2]|0;do if(c[v>>2]|0?a[v+13>>0]|0:0){o=e+24|0;g=c[o>>2]|0;c[o>>2]=-1;j=xB(e,2147450910)|0;do if((g|0)!=-1)if((j|0)!=-1){h=c[(c[e>>2]|0)+48>>2]|0;i=j;while(1){k=h+(i<<2)|0;m=c[k>>2]|0;f=(m>>>14)+-131071|0;f=(f|0)==-1?-1:i+1+f|0;if((f|0)==-1)break;else i=f}f=g+~i|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[x>>2]|0,286657);else{c[k>>2]=(f<<14)+2147467264|m&16383;n=10;break}}else p=g;else n=10;while(0);if((n|0)==10)if((j|0)==-1){c[e+20>>2]=c[e+16>>2];break}else p=j;j=c[(c[e>>2]|0)+48>>2]|0;g=(d[v+12>>0]<<6)+64&16320;f=p;do{q=j+(f<<2)|0;n=c[q>>2]|0;t=(n>>>14)+-131071|0;c[q>>2]=n&-16321|g;f=(t|0)==-1?-1:f+1+t|0}while((f|0)!=-1);c[e+20>>2]=c[e+16>>2];if((p|0)!=-1){f=c[o>>2]|0;if((f|0)==-1){c[o>>2]=p;break}while(1){h=j+(f<<2)|0;i=c[h>>2]|0;g=(i>>>14)+-131071|0;g=(g|0)==-1?-1:f+1+g|0;if((g|0)==-1)break;else f=g}f=p+~f|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[x>>2]|0,286657);else{c[h>>2]=(f<<14)+2147467264|i&16383;break}}}while(0);a:do if(a[v+14>>0]|0){n=s+52|0;f=c[n>>2]|0;g=(c[f+12>>2]|0)+280+(((287037>>>0)%127|0)<<2)|0;h=c[g>>2]|0;if(wN(287037,h+16|0)|0){h=jx(f,287037,5)|0;c[g>>2]=h}m=s+68|0;j=c[m>>2]|0;g=j+24|0;k=s+48|0;f=c[k>>2]|0;o=c[f+16>>2]|0;p=j+28|0;q=c[p>>2]|0;i=j+32|0;if((q|0)<(c[i>>2]|0))g=c[g>>2]|0;else{f=Gw(c[n>>2]|0,c[g>>2]|0,i,16,32767,280392)|0;c[g>>2]=f;g=f;f=c[k>>2]|0;j=c[m>>2]|0}c[g+(q<<4)>>2]=h;c[g+(q<<4)+8>>2]=0;a[g+(q<<4)+12>>0]=a[f+42>>0]|0;c[g+(q<<4)+4>>2]=o;c[p>>2]=q+1;k=(c[j+24>>2]|0)+(q<<4)|0;g=c[(c[f+12>>2]|0)+8>>2]|0;i=j+16|0;f=c[i>>2]|0;if((g|0)<(f|0)){h=j+12|0;do{while(1){if((c[(c[h>>2]|0)+(g<<4)>>2]|0)!=(c[k>>2]|0))break;Rw(s,g,k);f=c[i>>2]|0;if((g|0)>=(f|0))break a}g=g+1|0}while((g|0)<(f|0))}}while(0);o=c[v>>2]|0;c[r>>2]=o;t=v+12|0;j=a[t>>0]|0;n=e+42|0;f=a[n>>0]|0;g=f&255;p=c[(c[x>>2]|0)+68>>2]|0;r=p+4|0;c[r>>2]=(j&255)-g+(c[r>>2]|0);if((j&255)<(f&255)){h=c[e+16>>2]|0;m=c[e+36>>2]|0;i=c[(c[e>>2]|0)+60>>2]|0;k=c[p>>2]|0;f=g;while(1){r=(f&255)+-1<<24>>24;c[i+((b[k+((r&255)+m<<1)>>1]|0)*12|0)+8>>2]=h;if((r&255)>(j&255))f=f+-1|0;else break}a[n>>0]=j;f=j}a[e+44>>0]=f;f=c[s+68>>2]|0;c[f+28>>2]=c[v+4>>2];h=c[v+8>>2]|0;if(!o){if((h|0)>=(c[f+16>>2]|0)){l=z;return}f=c[f+12>>2]|0;g=c[f+(h<<4)>>2]|0;if((a[g+4>>0]|0)!=4){r=280439;q=s+52|0;q=c[q>>2]|0;o=g+16|0;n=f+(h<<4)+8|0;n=c[n>>2]|0;c[u>>2]=o;o=u+4|0;c[o>>2]=n;r=Lw(q,r,u)|0;Sw(s,r)}r=a[g+6>>0]|0?280405:280439;q=s+52|0;q=c[q>>2]|0;o=g+16|0;n=f+(h<<4)+8|0;n=c[n>>2]|0;c[u>>2]=o;o=u+4|0;c[o>>2]=n;u=Lw(q,r,u)|0;Sw(s,u)}s=p+16|0;if((h|0)>=(c[s>>2]|0)){l=z;return}r=p+12|0;q=v+13|0;p=h;while(1){f=c[r>>2]|0;i=f+(p<<4)+12|0;g=j&255;if((d[i>>0]|0)>(j&255)){if(a[q>>0]|0?(w=c[f+(p<<4)+4>>2]|0,(w|0)!=-1):0){h=c[(c[e>>2]|0)+48>>2]|0;g=(g<<6)+64&16320;f=w;do{u=h+(f<<2)|0;o=c[u>>2]|0;v=(o>>>14)+-131071|0;c[u>>2]=o&-16321|g;f=(v|0)==-1?-1:f+1+v|0}while((f|0)!=-1)}a[i>>0]=j}o=c[x>>2]|0;k=c[o+48>>2]|0;f=c[o+68>>2]|0;m=c[f+12>>2]|0;g=c[(c[k+12>>2]|0)+4>>2]|0;j=c[f+28>>2]|0;b:do if((g|0)<(j|0)){h=c[f+24>>2]|0;i=c[m+(p<<4)>>2]|0;f=g;while(1){n=h+(f<<4)|0;if((c[n>>2]|0)==(i|0))break;f=f+1|0;if((f|0)>=(j|0)){f=1;break b}}f=a[h+(f<<4)+12>>0]|0;if((d[m+(p<<4)+12>>0]|0)>(f&255)?(y=c[m+(p<<4)+4>>2]|0,(y|0)!=-1):0){h=c[(c[k>>2]|0)+48>>2]|0;g=((f&255)<<6)+64&16320;f=y;do{u=h+(f<<2)|0;m=c[u>>2]|0;v=(m>>>14)+-131071|0;c[u>>2]=m&-16321|g;f=(v|0)==-1?-1:f+1+v|0}while((f|0)!=-1)}Rw(o,p,n);f=0}else f=1;while(0);f=f+p|0;if((f|0)>=(c[s>>2]|0))break;j=a[t>>0]|0;p=f}l=z;return}function Rw(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;o=l;l=l+16|0;m=o;h=c[e+48>>2]|0;i=c[e+68>>2]|0;n=i+12|0;j=c[n>>2]|0;k=a[j+(f<<4)+12>>0]|0;if((k&255)<(d[g+12>>0]|0)){p=c[e+52>>2]|0;q=c[j+(f<<4)+8>>2]|0;k=(c[(c[(c[h>>2]|0)+60>>2]|0)+((b[(c[c[(c[h+8>>2]|0)+68>>2]>>2]|0)+((c[h+36>>2]|0)+(k&255)<<1)>>1]|0)*12|0)>>2]|0)+16|0;c[m>>2]=(c[j+(f<<4)>>2]|0)+16;c[m+4>>2]=q;c[m+8>>2]=k;Sw(e,Lw(p,280483,m)|0)}yB(h,c[j+(f<<4)+4>>2]|0,c[g+4>>2]|0);i=i+16|0;h=(c[i>>2]|0)+-1|0;if((h|0)<=(f|0)){q=h;c[i>>2]=q;l=o;return}do{q=c[n>>2]|0;h=q+(f<<4)|0;f=f+1|0;q=q+(f<<4)|0;c[h>>2]=c[q>>2];c[h+4>>2]=c[q+4>>2];c[h+8>>2]=c[q+8>>2];c[h+12>>2]=c[q+12>>2];h=(c[i>>2]|0)+-1|0}while((f|0)<(h|0));c[i>>2]=h;l=o;return}function Sw(a,b){a=a|0;b=b|0;c[a+16>>2]=0;NB(a,b)}function Tw(b,d){b=b|0;d=d|0;var 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;s=l;l=l+48|0;i=s+24|0;j=s;h=b+48|0;r=c[h>>2]|0;e=b+4|0;f=b+8|0;c[f>>2]=c[e>>2];g=b+32|0;if((c[g>>2]|0)==289){n=b+16|0;c[n>>2]=QB(b,b+24|0)|0}else{n=b+16|0;c[n>>2]=c[g>>2];c[n+4>>2]=c[g+4>>2];c[n+8>>2]=c[g+8>>2];c[n+12>>2]=c[g+12>>2];c[g>>2]=289;n=b+16|0}Uw(b,j,0)|0;if((c[n>>2]|0)!=275)Ow(b,275);c[f>>2]=c[e>>2];if((c[g>>2]|0)==289){e=QB(b,b+24|0)|0;c[n>>2]=e}else{e=b+16|0;c[e>>2]=c[g>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];c[g>>2]=289;e=c[n>>2]|0}a:do switch(e|0){case 258:case 266:{IB(c[h>>2]|0,j);a[i+14>>0]=0;a[i+12>>0]=a[r+42>>0]|0;m=r+8|0;k=c[(c[m>>2]|0)+68>>2]|0;c[i+4>>2]=c[k+28>>2];c[i+8>>2]=c[k+16>>2];a[i+13>>0]=0;k=r+12|0;c[i>>2]=c[k>>2];c[k>>2]=i;_w(b,c[j+16>>2]|0);b:while(1){switch(c[n>>2]|0){case 289:case 262:case 261:case 260:{o=13;break b}case 288:case 59:break;default:break b}Nw(b)}if((o|0)==13){Qw(r);l=s;return}i=r+24|0;f=c[i>>2]|0;c[i>>2]=-1;i=xB(r,2147450910)|0;if((f|0)!=-1)if((i|0)!=-1){g=c[(c[r>>2]|0)+48>>2]|0;h=i;while(1){j=g+(h<<2)|0;k=c[j>>2]|0;e=(k>>>14)+-131071|0;e=(e|0)==-1?-1:h+1+e|0;if((e|0)==-1)break;else h=e}e=f+~h|0;if((((e|0)>-1?e:0-e|0)|0)>131071)NB(c[m>>2]|0,286657);else{c[j>>2]=(e<<14)+2147467264|k&16383;q=i;break a}}else q=f;else q=i;break}default:{HB(c[h>>2]|0,j);a[i+14>>0]=0;a[i+12>>0]=a[r+42>>0]|0;q=c[(c[r+8>>2]|0)+68>>2]|0;c[i+4>>2]=c[q+28>>2];c[i+8>>2]=c[q+16>>2];a[i+13>>0]=0;q=r+12|0;c[i>>2]=c[q>>2];c[q>>2]=i;q=c[j+20>>2]|0}}while(0);c:do{e=c[n>>2]|0;switch(e|0){case 277:case 289:case 262:case 261:case 260:break c;default:{}}Nw(b)}while((e|0)!=274);Qw(r);m=r+24|0;do if((c[n>>2]&-2|0)==260){f=c[m>>2]|0;c[m>>2]=-1;i=xB(r,2147450910)|0;do if((f|0)!=-1)if((i|0)!=-1){g=c[(c[r>>2]|0)+48>>2]|0;h=i;while(1){j=g+(h<<2)|0;k=c[j>>2]|0;e=(k>>>14)+-131071|0;e=(e|0)==-1?-1:h+1+e|0;if((e|0)==-1)break;else h=e}e=f+~h|0;if((((e|0)>-1?e:0-e|0)|0)>131071)NB(c[r+8>>2]|0,286657);else{c[j>>2]=(e<<14)+2147467264|k&16383;o=33;break}}else p=f;else o=33;while(0);if((o|0)==33)if((i|0)==-1)break;else p=i;e=c[d>>2]|0;if((e|0)==-1){c[d>>2]=p;break}i=c[(c[r>>2]|0)+48>>2]|0;while(1){g=i+(e<<2)|0;h=c[g>>2]|0;f=(h>>>14)+-131071|0;f=(f|0)==-1?-1:e+1+f|0;if((f|0)==-1)break;else e=f}e=p+~e|0;if((((e|0)>-1?e:0-e|0)|0)>131071)NB(c[r+8>>2]|0,286657);else{c[g>>2]=h&16383|(e<<14)+2147467264;break}}while(0);c[r+20>>2]=c[r+16>>2];if((q|0)==-1){l=s;return}e=c[m>>2]|0;if((e|0)==-1){c[m>>2]=q;l=s;return}i=c[(c[r>>2]|0)+48>>2]|0;while(1){g=i+(e<<2)|0;h=c[g>>2]|0;f=(h>>>14)+-131071|0;f=(f|0)==-1?-1:e+1+f|0;if((f|0)==-1)break;else e=f}e=q+~e|0;if((((e|0)>-1?e:0-e|0)|0)>131071)NB(c[r+8>>2]|0,286657);c[g>>2]=(e<<14)+2147467264|h&16383;l=s;return}function Uw(e,f,g){e=e|0;f=f|0;g=g|0;var 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,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=l;l=l+80|0;p=L+56|0;o=L+48|0;s=L+24|0;J=L;I=e+48|0;r=c[I>>2]|0;K=e+52|0;B=(c[K>>2]|0)+106|0;D=(b[B>>1]|0)+1<<16>>16;b[B>>1]=D;if((D&65535)>200){m=r+8|0;n=c[(c[m>>2]|0)+52>>2]|0;k=c[(c[r>>2]|0)+36>>2]|0;if(!k){B=280571;c[p>>2]=280617;D=p+4|0;c[D>>2]=200;D=p+8|0;c[D>>2]=B;D=Lw(n,280585,p)|0;B=c[m>>2]|0;NB(B,D)}c[o>>2]=k;B=Lw(n,280551,o)|0;c[p>>2]=280617;D=p+4|0;c[D>>2]=200;D=p+8|0;c[D>>2]=B;D=Lw(n,280585,p)|0;B=c[m>>2]|0;NB(B,D)}D=e+16|0;a:do switch(c[D>>2]|0){case 271:{m=2;C=9;break}case 45:{m=0;C=9;break}case 126:{m=1;C=9;break}case 35:{m=3;C=9;break}case 290:{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];C=65;break}case 291:{c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=6;C=f+8|0;c[C>>2]=0;A=e+24|0;B=c[A+4>>2]|0;c[C>>2]=c[A>>2];c[C+4>>2]=B;C=65;break}case 293:{C=c[e+24>>2]|0;c[s>>2]=C;c[s+8>>2]=(a[C+4>>0]|64)&255;C=zB(r,s,s)|0;c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=4;c[f+8>>2]=C;C=65;break}case 270:{c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=1;c[f+8>>2]=0;C=65;break}case 276:{c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=2;c[f+8>>2]=0;C=65;break}case 263:{c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=3;c[f+8>>2]=0;C=65;break}case 281:{if(!(a[(c[r>>2]|0)+7>>0]|0))NB(e,280914);else{C=xB(r,8388653)|0;c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=14;c[f+8>>2]=C;C=65;break a}break}case 123:{cx(e,f);C=68;break}case 265:{j=e+4|0;i=c[j>>2]|0;c[e+8>>2]=i;k=e+32|0;if((c[k>>2]|0)==289){c[D>>2]=QB(e,e+24|0)|0;i=c[j>>2]|0}else{C=e+16|0;c[C>>2]=c[k>>2];c[C+4>>2]=c[k+4>>2];c[C+8>>2]=c[k+8>>2];c[C+12>>2]=c[k+12>>2];c[k>>2]=289}Zw(e,f,0,i);C=68;break}default:{$w(e,f);C=68}}while(0);do if((C|0)==9){n=c[e+4>>2]|0;c[e+8>>2]=n;k=e+32|0;if((c[k>>2]|0)==289)c[D>>2]=QB(e,e+24|0)|0;else{B=e+16|0;c[B>>2]=c[k>>2];c[B+4>>2]=c[k+4>>2];c[B+8>>2]=c[k+8>>2];c[B+12>>2]=c[k+12>>2];c[k>>2]=289}Uw(e,f,12)|0;p=c[I>>2]|0;c[s+20>>2]=-1;c[s+16>>2]=-1;c[s>>2]=6;B=s+8|0;c[B>>2]=0;c[B+4>>2]=0;if((m|0)==2){AB(p,f);switch(c[f>>2]|0){case 3:case 1:{c[f>>2]=2;break}case 2:case 6:case 5:case 4:{c[f>>2]=3;break}case 11:{m=c[(c[p>>2]|0)+48>>2]|0;k=c[f+8>>2]|0;n=m+(k<<2)|0;if(!((k|0)>0?(j=m+(k+-1<<2)|0,i=c[j>>2]|0,((i&63)+-31|0)>>>0<5):0)){j=n;i=c[n>>2]|0}c[j>>2]=((i&16320|0)==0&1)<<6|i&-16321;break}case 7:{C=28;break}case 12:{i=p+44|0;j=(d[i>>0]|0)+1|0;k=(c[p>>2]|0)+8|0;do if(j>>>0>(d[k>>0]|0)>>>0)if(j>>>0>254)NB(c[p+8>>2]|0,286692);else{t=j&255;a[k>>0]=t;break}else t=j&255;while(0);a[i>>0]=t;DB(p,f,(t&255)+-1|0);if((c[f>>2]|0)==7)C=28;else{j=f+8|0;i=j;j=c[j>>2]|0;C=31}break}default:{}}if((C|0)==28){i=f+8|0;j=c[i>>2]|0;if((j&256|0)==0?(d[p+42>>0]|0)<=(j|0):0){C=p+44|0;a[C>>0]=(a[C>>0]|0)+-1<<24>>24;C=31}else C=31}if((C|0)==31){c[i>>2]=xB(p,j<<23|27)|0;c[f>>2]=12}C=f+20|0;i=c[C>>2]|0;o=f+16|0;j=c[o>>2]|0;c[C>>2]=j;c[o>>2]=i;if((j|0)!=-1){n=c[(c[p>>2]|0)+48>>2]|0;do{k=n+(j<<2)|0;if((j|0)>0?(u=n+(j+-1<<2)|0,v=c[u>>2]|0,((v&63)+-31|0)>>>0<5):0){i=u;m=v}else{i=k;m=c[k>>2]|0}if((m&63|0)==35)c[i>>2]=m&8372224|m>>>23<<6|34;C=((c[k>>2]|0)>>>14)+-131071|0;j=(C|0)==-1?-1:j+1+C|0}while((j|0)!=-1);i=c[o>>2]|0}if((i|0)!=-1){n=c[(c[p>>2]|0)+48>>2]|0;do{k=n+(i<<2)|0;if((i|0)>0?(w=n+(i+-1<<2)|0,x=c[w>>2]|0,((x&63)+-31|0)>>>0<5):0){j=w;m=x}else{j=k;m=c[k>>2]|0}if((m&63|0)==35)c[j>>2]=m&8372224|m>>>23<<6|34;C=((c[k>>2]|0)>>>14)+-131071|0;i=(C|0)==-1?-1:i+1+C|0}while((i|0)!=-1)}}else JB(p,m+25|0,f,s,n);C=68}else if((C|0)==65){c[e+8>>2]=c[e+4>>2];i=e+32|0;if((c[i>>2]|0)==289){q=QB(e,e+24|0)|0;c[D>>2]=q;break}else{C=e+16|0;c[C>>2]=c[i>>2];c[C+4>>2]=c[i+4>>2];c[C+8>>2]=c[i+8>>2];c[C+12>>2]=c[i+12>>2];c[i>>2]=289;C=68;break}}while(0);if((C|0)==68)q=c[D>>2]|0;do switch(q|0){case 43:{i=0;break}case 45:{i=1;break}case 42:{i=2;break}case 37:{i=3;break}case 94:{i=4;break}case 47:{i=5;break}case 279:{i=6;break}case 38:{i=7;break}case 124:{i=8;break}case 126:{i=9;break}case 286:{i=10;break}case 287:{i=11;break}case 280:{i=12;break}case 285:{i=16;break}case 282:{i=13;break}case 60:{i=14;break}case 284:{i=15;break}case 62:{i=17;break}case 283:{i=18;break}case 257:{i=19;break}case 272:{i=20;break}default:{J=21;K=c[K>>2]|0;K=K+106|0;f=b[K>>1]|0;f=f+-1<<16>>16;b[K>>1]=f;l=L;return J|0}}while(0);r=e+4|0;s=e+8|0;t=e+32|0;u=e+24|0;v=J+20|0;w=f+20|0;x=J+16|0;y=f+16|0;z=J+8|0;A=f+8|0;B=e+16|0;b:while(1){if((d[280957+(i<<1)>>0]|0)<=(g|0)){C=155;break}o=c[r>>2]|0;c[s>>2]=o;if((c[t>>2]|0)==289)c[D>>2]=QB(e,u)|0;else{c[B>>2]=c[t>>2];c[B+4>>2]=c[t+4>>2];c[B+8>>2]=c[t+8>>2];c[B+12>>2]=c[t+12>>2];c[t>>2]=289}m=c[I>>2]|0;c:do switch(i|0){case 19:{HB(m,f);i=Uw(e,J,2)|0;j=c[I>>2]|0;C=114;break}case 20:{IB(m,f);i=Uw(e,J,1)|0;j=c[I>>2]|0;C=123;break}case 12:{AB(m,f);if(((c[f>>2]|0)==7?(E=c[A>>2]|0,(E&256|0)==0):0)?(d[m+42>>0]|0)<=(E|0):0){C=m+44|0;a[C>>0]=(a[C>>0]|0)+-1<<24>>24}k=m+44|0;i=(d[k>>0]|0)+1|0;j=(c[m>>2]|0)+8|0;if(i>>>0>(d[j>>0]|0)>>>0){if(i>>>0>254){C=105;break b}i=i&255;a[j>>0]=i}else i=i&255;a[k>>0]=i;CB(m,f,(i&255)+-1|0);i=Uw(e,J,8)|0;n=c[I>>2]|0;C=132;break}case 11:case 10:case 9:case 8:case 7:case 4:case 3:case 6:case 5:case 2:case 1:case 0:{if(((c[y>>2]|0)==-1?(c[w>>2]|0)==-1:0)?((c[f>>2]|0)+-5|0)>>>0<2:0){C=113;break c}FB(m,f)|0;C=113;break}default:{FB(m,f)|0;C=113}}while(0);d:do if((C|0)==113){C=0;k=Uw(e,J,d[280957+(i<<1)+1>>0]|0)|0;j=c[I>>2]|0;switch(i|0){case 19:{i=k;C=114;break d}case 20:{i=k;C=123;break d}case 12:{n=j;i=k;C=132;break d}case 11:case 10:case 9:case 8:case 7:case 4:case 3:case 6:case 5:case 2:case 1:case 0:{JB(j,i+13|0,f,J,o);i=k;break d}case 15:case 14:case 13:{KB(j,i+18|0,1,f,J);i=k;break d}case 18:case 17:case 16:{KB(j,i+15|0,0,f,J);i=k;break d}default:{i=k;break d}}}while(0);do if((C|0)==114){AB(j,J);n=c[w>>2]|0;do if((n|0)!=-1){k=c[v>>2]|0;if((k|0)==-1){c[v>>2]=n;break}q=c[(c[j>>2]|0)+48>>2]|0;while(1){o=q+(k<<2)|0;p=c[o>>2]|0;m=(p>>>14)+-131071|0;m=(m|0)==-1?-1:k+1+m|0;if((m|0)==-1)break;else k=m}k=n+~k|0;if((((k|0)>-1?k:0-k|0)|0)>131071){C=120;break b}c[o>>2]=(k<<14)+2147467264|p&16383}while(0);c[f>>2]=c[J>>2];c[f+4>>2]=c[J+4>>2];c[f+8>>2]=c[J+8>>2];c[f+12>>2]=c[J+12>>2];c[f+16>>2]=c[J+16>>2];c[f+20>>2]=c[J+20>>2]}else if((C|0)==123){AB(j,J);n=c[y>>2]|0;do if((n|0)!=-1){k=c[x>>2]|0;if((k|0)==-1){c[x>>2]=n;break}q=c[(c[j>>2]|0)+48>>2]|0;while(1){o=q+(k<<2)|0;p=c[o>>2]|0;m=(p>>>14)+-131071|0;m=(m|0)==-1?-1:k+1+m|0;if((m|0)==-1)break;else k=m}k=n+~k|0;if((((k|0)>-1?k:0-k|0)|0)>131071){C=129;break b}c[o>>2]=(k<<14)+2147467264|p&16383}while(0);c[f>>2]=c[J>>2];c[f+4>>2]=c[J+4>>2];c[f+8>>2]=c[J+8>>2];c[f+12>>2]=c[J+12>>2];c[f+16>>2]=c[J+16>>2];c[f+20>>2]=c[J+20>>2]}else if((C|0)==132){if((c[x>>2]|0)==(c[v>>2]|0))AB(n,J);else EB(n,J)|0;if((c[J>>2]|0)==12?(F=(c[(c[n>>2]|0)+48>>2]|0)+(c[z>>2]<<2)|0,G=c[F>>2]|0,(G&63|0)==29):0){j=c[A>>2]|0;if((c[f>>2]|0)==7&(j&256|0)==0?(d[n+42>>0]|0)<=(j|0):0){C=n+44|0;a[C>>0]=(a[C>>0]|0)+-1<<24>>24}c[F>>2]=j<<23|G&8388607;c[f>>2]=12;c[A>>2]=c[z>>2];break}AB(n,J);if(((c[J>>2]|0)==7?(H=c[z>>2]|0,(H&256|0)==0):0)?(d[n+42>>0]|0)<=(H|0):0){C=n+44|0;a[C>>0]=(a[C>>0]|0)+-1<<24>>24}m=n+44|0;j=(d[m>>0]|0)+1|0;k=(c[n>>2]|0)+8|0;if(j>>>0>(d[k>>0]|0)>>>0){if(j>>>0>254){C=148;break b}j=j&255;a[k>>0]=j}else j=j&255;a[m>>0]=j;CB(n,J,(j&255)+-1|0);JB(n,29,f,J,o)}while(0);if((i|0)==21){i=21;C=155;break}}if((C|0)==105)NB(c[m+8>>2]|0,286692);else if((C|0)==120)NB(c[j+8>>2]|0,286657);else if((C|0)==129)NB(c[j+8>>2]|0,286657);else if((C|0)==148)NB(c[n+8>>2]|0,286692);else if((C|0)==155){K=c[K>>2]|0;K=K+106|0;J=b[K>>1]|0;J=J+-1<<16>>16;b[K>>1]=J;l=L;return i|0}return 0}function Vw(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+32|0;q=s+8|0;p=s;o=c[e+48>>2]|0;r=c[e+68>>2]|0;m=c[o>>2]|0;g=m+32|0;i=c[g>>2]|0;n=o+40|0;if((b[n>>1]|0)<(i|0)){h=i;j=c[m+60>>2]|0}else{h=m+60|0;j=Gw(c[e+52>>2]|0,c[h>>2]|0,g,12,32767,280898)|0;c[h>>2]=j;h=c[g>>2]|0}if((i|0)<(h|0)){g=i;do{c[j+(g*12|0)>>2]=0;g=g+1|0}while((g|0)!=(h|0))}k=b[n>>1]|0;c[j+((k<<16>>16)*12|0)>>2]=f;g=m+5|0;h=a[g>>0]|0;do if((h&4)!=0?(a[f+5>>0]&3)!=0:0){i=c[(c[e+52>>2]|0)+12>>2]|0;if((d[i+61>>0]|0)<2){uw(i,f);m=b[n>>1]|0;break}else{a[g>>0]=a[i+60>>0]&3|h&-8;m=k;break}}else m=k;while(0);b[n>>1]=m+1<<16>>16;j=r+4|0;k=c[j>>2]|0;if((k+1-(c[o+36>>2]|0)|0)>200){h=o+8|0;i=c[(c[h>>2]|0)+52>>2]|0;g=c[(c[o>>2]|0)+36>>2]|0;if(!g){n=280571;c[q>>2]=280898;o=q+4|0;c[o>>2]=200;o=q+8|0;c[o>>2]=n;o=Lw(i,280585,q)|0;n=c[h>>2]|0;NB(n,o)}c[p>>2]=g;o=Lw(i,280551,p)|0;c[q>>2]=280898;p=q+4|0;c[p>>2]=200;p=q+8|0;c[p>>2]=o;q=Lw(i,280585,q)|0;p=c[h>>2]|0;NB(p,q)}g=r+8|0;if((k+2|0)>(c[g>>2]|0)){q=Gw(c[e+52>>2]|0,c[r>>2]|0,g,2,2147483647,280898)|0;c[r>>2]=q;e=c[j>>2]|0;r=q;q=e+1|0;c[j>>2]=q;e=r+(e<<1)|0;b[e>>1]=m;l=s;return}else{e=k;r=c[r>>2]|0;q=e+1|0;c[j>>2]=q;e=r+(e<<1)|0;b[e>>1]=m;l=s;return}}function Ww(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,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=l;l=l+32|0;u=B+16|0;s=B;r=e+48|0;y=c[r>>2]|0;q=y+42|0;v=(d[q>>0]|0)+3|0;a[q>>0]=v;A=y+16|0;o=c[A>>2]|0;x=y+8|0;p=c[(c[y>>2]|0)+60>>2]|0;w=c[c[(c[x>>2]|0)+68>>2]>>2]|0;v=(c[y+36>>2]|0)+(v&255)|0;c[p+((b[w+(v+-3<<1)>>1]|0)*12|0)+4>>2]=o;c[p+((b[w+(v+-2<<1)>>1]|0)*12|0)+4>>2]=o;c[p+((b[w+(v+-1<<1)>>1]|0)*12|0)+4>>2]=o;v=e+16|0;if((c[v>>2]|0)!=259)Ow(e,259);c[e+8>>2]=c[e+4>>2];j=e+32|0;if((c[j>>2]|0)==289)c[v>>2]=QB(e,e+24|0)|0;else{w=e+16|0;c[w>>2]=c[j>>2];c[w+4>>2]=c[j+4>>2];c[w+8>>2]=c[j+8>>2];c[w+12>>2]=c[j+12>>2];c[j>>2]=289}w=(i|0)!=0;do if(!w){n=y+24|0;i=c[n>>2]|0;c[n>>2]=-1;n=xB(y,2147450910)|0;if((i|0)!=-1)if((n|0)!=-1){k=c[(c[y>>2]|0)+48>>2]|0;m=n;while(1){o=k+(m<<2)|0;p=c[o>>2]|0;j=(p>>>14)+-131071|0;j=(j|0)==-1?-1:m+1+j|0;if((j|0)==-1)break;else m=j}j=i+~m|0;if((((j|0)>-1?j:0-j|0)|0)>131071)NB(c[x>>2]|0,286657);else{c[o>>2]=(j<<14)+2147467264|p&16383;z=n;break}}else z=i;else z=n}else z=xB(y,f<<6|2147450920)|0;while(0);a[s+14>>0]=0;a[s+12>>0]=a[q>>0]|0;q=c[x>>2]|0;p=c[q+68>>2]|0;c[s+4>>2]=c[p+28>>2];c[s+8>>2]=c[p+16>>2];a[s+13>>0]=0;p=y+12|0;c[s>>2]=c[p>>2];c[p>>2]=s;p=c[r>>2]|0;s=p+42|0;j=(d[s>>0]|0)+h|0;o=j&255;a[s>>0]=o;if(h|0){n=c[p+16>>2]|0;k=c[(c[p>>2]|0)+60>>2]|0;m=c[c[(c[p+8>>2]|0)+68>>2]>>2]|0;i=(c[p+36>>2]|0)+(j&255)|0;j=h;do{c[k+((b[m+(i-j<<1)>>1]|0)*12|0)+4>>2]=n;j=j+-1|0}while((j|0)!=0)}i=y+44|0;k=(d[i>>0]|0)+h|0;j=(c[y>>2]|0)+8|0;do if((k|0)>(d[j>>0]|0))if((k|0)>254)NB(q,286692);else{t=k&255;a[j>>0]=t;break}else t=k&255;while(0);a[i>>0]=t;a[u+14>>0]=0;a[u+12>>0]=o;t=c[(c[p+8>>2]|0)+68>>2]|0;c[u+4>>2]=c[t+28>>2];c[u+8>>2]=c[t+16>>2];a[u+13>>0]=0;t=p+12|0;c[u>>2]=c[t>>2];c[t>>2]=u;a:do{j=c[v>>2]|0;switch(j|0){case 277:case 289:case 262:case 261:case 260:break a;default:{}}Nw(e)}while((j|0)!=274);Qw(p);Qw(y);c[y+20>>2]=c[A>>2];j=y+24|0;do if((z|0)!=-1){i=c[j>>2]|0;if((i|0)==-1){c[j>>2]=z;break}n=c[(c[y>>2]|0)+48>>2]|0;while(1){k=n+(i<<2)|0;m=c[k>>2]|0;j=(m>>>14)+-131071|0;j=(j|0)==-1?-1:i+1+j|0;if((j|0)==-1)break;else i=j}j=z+~i|0;if((((j|0)>-1?j:0-j|0)|0)>131071)NB(c[x>>2]|0,286657);else{c[k>>2]=(j<<14)+2147467264|m&16383;break}}while(0);j=f<<6;if(w){f=j|2147450919;f=xB(y,f)|0;h=z+1|0;yB(y,f,h);h=c[A>>2]|0;h=h+-1|0;A=c[y>>2]|0;A=A+56|0;A=c[A>>2]|0;h=A+(h<<2)|0;c[h>>2]=g;l=B;return}else{xB(y,j|h<<14|41)|0;c[(c[(c[y>>2]|0)+56>>2]|0)+((c[A>>2]|0)+-1<<2)>>2]=g;f=j+128|2147450922;f=xB(y,f)|0;h=z+1|0;yB(y,f,h);h=c[A>>2]|0;h=h+-1|0;A=c[y>>2]|0;A=A+56|0;A=c[A>>2]|0;h=A+(h<<2)|0;c[h>>2]=g;l=B;return}}function Xw(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,n=0,o=0;if(!e){o=0;return o|0}k=e+8|0;l=e+36|0;i=c[e>>2]|0;j=i+60|0;n=d[e+42>>0]|0;while(1){m=n+-1|0;if((n|0)<=0)break;if((c[(c[j>>2]|0)+((b[(c[c[(c[k>>2]|0)+68>>2]>>2]|0)+((c[l>>2]|0)+m<<1)>>1]|0)*12|0)>>2]|0)==(f|0)){o=5;break}else n=m}if((o|0)==5){c[g+16>>2]=-1;c[g+20>>2]=-1;c[g>>2]=8;c[g+8>>2]=m;if(h|0){o=8;return o|0}h=e+12|0;do h=c[h>>2]|0;while((d[h+12>>0]|0)>=(n|0));a[h+13>>0]=1;o=8;return o|0}j=c[i+64>>2]|0;h=a[e+43>>0]|0;a:do if(h<<24>>24){i=h&255;h=0;while(1){if((c[j+(h<<3)>>2]|0)==(f|0))break;h=h+1|0;if((h|0)>=(i|0)){o=14;break a}}if((h|0)<0)o=14}else o=14;while(0);do if((o|0)==14)if(!(Xw(c[e+4>>2]|0,f,g,0)|0)){o=0;return o|0}else{h=Mw(e,f,g)|0;break}while(0);c[g+16>>2]=-1;c[g+20>>2]=-1;c[g>>2]=9;c[g+8>>2]=h;o=9;return o|0}function Yw(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+48|0;p=q+24|0;o=q;i=d+48|0;j=c[i>>2]|0;if(!((c[e>>2]|0)==9?(c[e+16>>2]|0)==(c[e+20>>2]|0):0))EB(j,e)|0;n=d+4|0;k=d+8|0;c[k>>2]=c[n>>2];m=d+32|0;if((c[m>>2]|0)==289){f=QB(d,d+24|0)|0;h=d+16|0;c[h>>2]=f}else{f=d+16|0;c[f>>2]=c[m>>2];c[f+4>>2]=c[m+4>>2];c[f+8>>2]=c[m+8>>2];c[f+12>>2]=c[m+12>>2];c[m>>2]=289;f=d+16|0;h=f;f=c[f>>2]|0}if((f|0)!=292)Ow(d,292);f=d+24|0;g=c[f>>2]|0;c[k>>2]=c[n>>2];if((c[m>>2]|0)==289)c[h>>2]=QB(d,f)|0;else{d=d+16|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]=c[m+12>>2];c[m>>2]=289}d=c[i>>2]|0;c[p>>2]=g;c[p+8>>2]=(a[g+4>>0]|64)&255;p=zB(d,p,p)|0;c[o+16>>2]=-1;c[o+20>>2]=-1;c[o>>2]=4;c[o+8>>2]=p;p=e+8|0;a[p+2>>0]=c[p>>2];b[p>>1]=FB(j,o)|0;a[p+3>>0]=(c[e>>2]|0)==9?9:8;c[e>>2]=10;l=q;return}function Zw(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var 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,A=0,B=0;B=l;l=l+80|0;A=B;z=B+32|0;s=B+16|0;x=e+48|0;q=c[x>>2]|0;y=e+52|0;r=c[y>>2]|0;p=c[q>>2]|0;q=q+32|0;j=p+28|0;k=c[j>>2]|0;o=p+52|0;if(((c[q>>2]|0)>=(k|0)?(m=Gw(r,c[o>>2]|0,j,4,262143,280858)|0,c[o>>2]=m,n=c[j>>2]|0,(k|0)<(n|0)):0)?(i=k+1|0,c[m+(k<<2)>>2]=0,(i|0)<(n|0)):0)do{c[(c[o>>2]|0)+(i<<2)>>2]=0;i=i+1|0}while((i|0)!=(n|0));m=sw(r)|0;j=c[q>>2]|0;c[q>>2]=j+1;c[(c[o>>2]|0)+(j<<2)>>2]=m;j=p+5|0;k=a[j>>0]|0;do if(k&4?a[m+5>>0]&3:0){i=c[r+12>>2]|0;if((d[i+61>>0]|0)<2){uw(i,m);break}else{a[j>>0]=a[i+60>>0]&3|k&-8;break}}while(0);c[z>>2]=m;c[m+36>>2]=h;c[z+4>>2]=c[x>>2];c[z+8>>2]=e;c[x>>2]=z;c[z+16>>2]=0;c[z+20>>2]=0;c[z+24>>2]=-1;c[z+28>>2]=0;c[z+32>>2]=0;u=z+40|0;c[u>>2]=0;a[u+4>>0]=0;u=c[e+68>>2]|0;c[z+36>>2]=c[u+4>>2];c[m+72>>2]=c[e+72>>2];a[m+8>>0]=2;a[s+14>>0]=0;a[s+12>>0]=0;c[s+4>>2]=c[u+28>>2];c[s+8>>2]=c[u+16>>2];a[s+13>>0]=0;c[s>>2]=0;c[z+12>>2]=s;s=e+16|0;if((c[s>>2]|0)!=40)Ow(e,40);r=e+4|0;t=e+8|0;c[t>>2]=c[r>>2];u=e+32|0;if((c[u>>2]|0)==289)c[s>>2]=QB(e,e+24|0)|0;else{q=e+16|0;c[q>>2]=c[u>>2];c[q+4>>2]=c[u+4>>2];c[q+8>>2]=c[u+8>>2];c[q+12>>2]=c[u+12>>2];c[u>>2]=289}if(!g){p=c[x>>2]|0;q=p;p=c[p>>2]|0}else{Vw(e,PB(e,280868,4)|0);q=c[x>>2]|0;p=q+42|0;g=(d[p>>0]|0)+1|0;a[p>>0]=g;p=c[q>>2]|0;c[(c[p+60>>2]|0)+((b[(c[c[(c[q+8>>2]|0)+68>>2]>>2]|0)+((c[q+36>>2]|0)+(g&255)+-1<<1)>>1]|0)*12|0)+4>>2]=c[q+16>>2]}n=p+7|0;a[n>>0]=0;i=c[s>>2]|0;a:do if((i|0)==41)i=0;else{k=e+24|0;m=e+16|0;j=0;b:while(1){switch(i|0){case 281:break b;case 292:break;default:{w=28;break b}}i=c[k>>2]|0;c[t>>2]=c[r>>2];if((c[u>>2]|0)==289)c[s>>2]=QB(e,k)|0;else{c[m>>2]=c[u>>2];c[m+4>>2]=c[u+4>>2];c[m+8>>2]=c[u+8>>2];c[m+12>>2]=c[u+12>>2];c[u>>2]=289}Vw(e,i);j=j+1|0;if(a[n>>0]|0){i=j;break a}if((c[s>>2]|0)!=44){i=j;break a}c[t>>2]=c[r>>2];if((c[u>>2]|0)==289){i=QB(e,k)|0;c[s>>2]=i;continue}else{c[m>>2]=c[u>>2];c[m+4>>2]=c[u+4>>2];c[m+8>>2]=c[u+8>>2];c[m+12>>2]=c[u+12>>2];c[u>>2]=289;i=c[s>>2]|0;continue}}if((w|0)==28)NB(e,280873);c[t>>2]=c[r>>2];if((c[u>>2]|0)==289)c[s>>2]=QB(e,k)|0;else{c[m>>2]=c[u>>2];c[m+4>>2]=c[u+4>>2];c[m+8>>2]=c[u+8>>2];c[m+12>>2]=c[u+12>>2];c[u>>2]=289}a[n>>0]=1;i=j}while(0);k=c[x>>2]|0;g=k+42|0;j=(d[g>>0]|0)+i|0;a[g>>0]=j;if(i|0){o=c[k+16>>2]|0;m=c[(c[k>>2]|0)+60>>2]|0;n=c[c[(c[k+8>>2]|0)+68>>2]>>2]|0;j=(c[k+36>>2]|0)+(j&255)|0;do{c[m+((b[n+(j-i<<1)>>1]|0)*12|0)+4>>2]=o;i=i+-1|0}while((i|0)!=0)}j=a[q+42>>0]|0;a[p+6>>0]=j;i=q+44|0;j=(d[i>>0]|0)+(j&255)|0;k=(c[q>>2]|0)+8|0;do if(j>>>0>(d[k>>0]|0)>>>0)if(j>>>0>254)NB(c[q+8>>2]|0,286692);else{v=j&255;a[k>>0]=v;break}else v=j&255;while(0);a[i>>0]=v;if((c[s>>2]|0)!=41)Ow(e,41);c[t>>2]=c[r>>2];if((c[u>>2]|0)==289){i=QB(e,e+24|0)|0;c[s>>2]=i}else{w=e+16|0;c[w>>2]=c[u>>2];c[w+4>>2]=c[u+4>>2];c[w+8>>2]=c[u+8>>2];c[w+12>>2]=c[u+12>>2];c[u>>2]=289;w=47}c:while(1){if((w|0)==47){w=0;i=c[s>>2]|0}switch(i|0){case 277:case 289:case 262:case 261:case 260:{j=i;break c}default:{}}Nw(e);if((i|0)==274){w=50;break}else w=47}if((w|0)==50)j=c[s>>2]|0;i=c[r>>2]|0;c[(c[z>>2]|0)+40>>2]=i;if((j|0)!=262)if((i|0)==(h|0))Ow(e,262);else{z=c[y>>2]|0;w=MB(e,262)|0;y=MB(e,265)|0;c[A>>2]=w;c[A+4>>2]=y;c[A+8>>2]=h;NB(e,Lw(z,280626,A)|0)}c[t>>2]=i;if((c[u>>2]|0)==289){c[s>>2]=QB(e,e+24|0)|0;A=c[x>>2]|0;A=A+4|0;A=c[A>>2]|0;y=A+32|0;y=c[y>>2]|0;y=y<<14;y=y+-16384|0;y=y|44;y=xB(A,y)|0;z=f+16|0;c[z>>2]=-1;z=f+20|0;c[z>>2]=-1;c[f>>2]=12;z=f+8|0;c[z>>2]=y;BB(A,f);Pw(e);l=B;return}else{A=e+16|0;c[A>>2]=c[u>>2];c[A+4>>2]=c[u+4>>2];c[A+8>>2]=c[u+8>>2];c[A+12>>2]=c[u+12>>2];c[u>>2]=289;A=c[x>>2]|0;A=A+4|0;A=c[A>>2]|0;y=A+32|0;y=c[y>>2]|0;y=y<<14;y=y+-16384|0;y=y|44;y=xB(A,y)|0;z=f+16|0;c[z>>2]=-1;z=f+20|0;c[z>>2]=-1;c[f>>2]=12;z=f+8|0;c[z>>2]=y;BB(A,f);Pw(e);l=B;return}}function _w(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;h=b+4|0;m=c[h>>2]|0;j=b+16|0;g=(c[j>>2]|0)==266;k=b+8|0;c[k>>2]=m;l=b+32|0;if((c[l>>2]|0)==289)c[j>>2]=QB(b,b+24|0)|0;else{n=b+16|0;c[n>>2]=c[l>>2];c[n+4>>2]=c[l+4>>2];c[n+8>>2]=c[l+8>>2];c[n+12>>2]=c[l+12>>2];c[l>>2]=289}do if(g){if((c[j>>2]|0)!=292)Ow(b,292);g=b+24|0;i=c[g>>2]|0;c[k>>2]=c[h>>2];if((c[l>>2]|0)==289){c[j>>2]=QB(b,g)|0;break}else{n=b+16|0;c[n>>2]=c[l>>2];c[n+4>>2]=c[l+4>>2];c[n+8>>2]=c[l+8>>2];c[n+12>>2]=c[l+12>>2];c[l>>2]=289;break}}else{g=c[b+52>>2]|0;h=(c[g+12>>2]|0)+280+(((287037>>>0)%127|0)<<2)|0;i=c[h>>2]|0;if(!(wN(287037,i+16|0)|0))break;else{i=jx(g,287037,5)|0;c[h>>2]=i;break}}while(0);j=b+68|0;k=c[j>>2]|0;g=k+12|0;l=k+16|0;n=c[l>>2]|0;h=k+20|0;if((n|0)<(c[h>>2]|0))g=c[g>>2]|0;else{k=Gw(c[b+52>>2]|0,c[g>>2]|0,h,16,32767,280392)|0;c[g>>2]=k;g=k;k=c[j>>2]|0}c[g+(n<<4)>>2]=i;c[g+(n<<4)+8>>2]=m;m=c[b+48>>2]|0;a[g+(n<<4)+12>>0]=a[m+42>>0]|0;c[g+(n<<4)+4>>2]=e;c[l>>2]=n+1;l=c[k+12>>2]|0;g=c[(c[m+12>>2]|0)+4>>2]|0;j=c[k+28>>2]|0;if((g|0)>=(j|0))return;h=c[k+24>>2]|0;i=c[l+(n<<4)>>2]|0;while(1){k=h+(g<<4)|0;if((c[k>>2]|0)==(i|0))break;g=g+1|0;if((g|0)>=(j|0)){o=25;break}}if((o|0)==25)return;g=a[h+(g<<4)+12>>0]|0;if((d[l+(n<<4)+12>>0]|0)>(g&255)?(f=c[l+(n<<4)+4>>2]|0,(f|0)!=-1):0){h=c[(c[m>>2]|0)+48>>2]|0;g=((g&255)<<6)+64&16320;do{e=h+(f<<2)|0;m=c[e>>2]|0;o=(m>>>14)+-131071|0;c[e>>2]=m&-16321|g;f=(o|0)==-1?-1:f+1+o|0}while((f|0)!=-1)}Rw(b,n,k);return}function $w(e,f){e=e|0;f=f|0;var 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,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=l;l=l+112|0;j=N+88|0;L=N+72|0;m=N+24|0;J=N+48|0;K=N;E=e+48|0;M=c[E>>2]|0;G=e+4|0;H=c[G>>2]|0;I=e+16|0;switch(c[I>>2]|0){case 40:{i=e+8|0;c[i>>2]=H;h=e+32|0;if((c[h>>2]|0)==289)c[I>>2]=QB(e,e+24|0)|0;else{D=e+16|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[h>>2]=289}Uw(e,f,0)|0;g=c[G>>2]|0;if((c[I>>2]|0)!=41)if((g|0)==(H|0))Ow(e,41);else{D=c[e+52>>2]|0;B=MB(e,41)|0;C=MB(e,40)|0;c[j>>2]=B;c[j+4>>2]=C;c[j+8>>2]=H;NB(e,Lw(D,280626,j)|0)}c[i>>2]=g;if((c[h>>2]|0)==289){g=e+24|0;c[I>>2]=QB(e,g)|0}else{g=e+16|0;c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[h>>2]=289;g=e+24|0}AB(c[E>>2]|0,f);D=h;B=h;C=g;A=g;break}case 292:{j=e+24|0;g=c[j>>2]|0;k=e+8|0;c[k>>2]=H;i=e+32|0;if((c[i>>2]|0)==289){c[I>>2]=QB(e,j)|0;h=c[E>>2]|0}else{h=e+16|0;c[h>>2]=c[i>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];c[i>>2]=289;h=M}if(!(Xw(h,g,f,1)|0)){Xw(h,c[e+76>>2]|0,f,1)|0;D=c[E>>2]|0;c[L>>2]=g;c[L+8>>2]=(a[g+4>>0]|64)&255;D=zB(D,L,L)|0;c[m+16>>2]=-1;c[m+20>>2]=-1;c[m>>2]=4;c[m+8>>2]=D;D=f+8|0;a[D+2>>0]=c[D>>2];b[D>>1]=FB(h,m)|0;a[D+3>>0]=(c[f>>2]|0)==9?9:8;c[f>>2]=10}D=i;B=i;C=j;A=j;i=k;break}default:NB(e,280812)}m=K+16|0;n=K+20|0;o=K+8|0;p=f+16|0;q=f+20|0;r=J+16|0;s=J+20|0;t=f+8|0;u=t+2|0;v=t+3|0;w=e+16|0;x=L+8|0;y=M+42|0;z=M+44|0;a:while(1)switch(c[I>>2]|0){case 46:{Yw(e,f);continue a}case 91:{if(!((c[f>>2]|0)==9?(c[p>>2]|0)==(c[q>>2]|0):0))EB(M,f)|0;c[i>>2]=c[G>>2];if((c[B>>2]|0)==289)c[I>>2]=QB(e,C)|0;else{c[w>>2]=c[D>>2];c[w+4>>2]=c[D+4>>2];c[w+8>>2]=c[D+8>>2];c[w+12>>2]=c[D+12>>2];c[B>>2]=289}Uw(e,J,0)|0;g=c[E>>2]|0;if((c[r>>2]|0)==(c[s>>2]|0))AB(g,J);else EB(g,J)|0;if((c[I>>2]|0)!=93){g=33;break a}c[i>>2]=c[G>>2];if((c[B>>2]|0)==289)c[I>>2]=QB(e,C)|0;else{c[w>>2]=c[D>>2];c[w+4>>2]=c[D+4>>2];c[w+8>>2]=c[D+8>>2];c[w+12>>2]=c[D+12>>2];c[B>>2]=289}a[u>>0]=c[t>>2];b[t>>1]=FB(M,J)|0;a[v>>0]=(c[f>>2]|0)==9?9:8;c[f>>2]=10;continue a}case 58:{c[i>>2]=c[G>>2];if((c[B>>2]|0)==289){g=QB(e,C)|0;c[I>>2]=g}else{c[w>>2]=c[D>>2];c[w+4>>2]=c[D+4>>2];c[w+8>>2]=c[D+8>>2];c[w+12>>2]=c[D+12>>2];c[B>>2]=289;g=c[I>>2]|0}if((g|0)!=292){g=42;break a}g=c[A>>2]|0;c[i>>2]=c[G>>2];if((c[B>>2]|0)==289)c[I>>2]=QB(e,C)|0;else{c[w>>2]=c[D>>2];c[w+4>>2]=c[D+4>>2];c[w+8>>2]=c[D+8>>2];c[w+12>>2]=c[D+12>>2];c[B>>2]=289}j=c[E>>2]|0;c[L>>2]=g;c[x>>2]=(a[g+4>>0]|64)&255;j=zB(j,L,L)|0;c[m>>2]=-1;c[n>>2]=-1;c[K>>2]=4;c[o>>2]=j;EB(M,f)|0;j=c[t>>2]|0;if((c[f>>2]|0)==7&(j&256|0)==0?(d[y>>0]|0|0)<=(j|0):0)a[z>>0]=(a[z>>0]|0)+-1<<24>>24;k=d[z>>0]|0;c[t>>2]=k;c[f>>2]=7;g=k+2|0;h=(c[M>>2]|0)+8|0;if(g>>>0>(d[h>>0]|0)>>>0){if(g>>>0>254){g=52;break a}g=g&255;a[h>>0]=g}else g=g&255;a[z>>0]=g;xB(M,j<<23|k<<6|(FB(M,K)|0)<<14|12)|0;if(((c[K>>2]|0)==7?(F=c[o>>2]|0,(F&256|0)==0):0)?(d[y>>0]|0|0)<=(F|0):0)a[z>>0]=(a[z>>0]|0)+-1<<24>>24;bx(e,f,H);continue a}case 123:case 293:case 40:{BB(M,f);bx(e,f,H);continue a}default:{g=60;break a}}if((g|0)==33)Ow(e,93);else if((g|0)==42)Ow(e,292);else if((g|0)==52)NB(c[M+8>>2]|0,286692);else if((g|0)==60){l=N;return}}function ax(f,g,h){f=f|0;g=g|0;h=h|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=l;l=l+80|0;C=I+64|0;B=I+56|0;H=I+32|0;y=I;G=g+8|0;if(((c[G>>2]|0)+-8|0)>>>0>=3)NB(f,280799);o=f+16|0;a:do switch(c[o>>2]|0){case 44:{c[f+8>>2]=c[f+4>>2];i=f+32|0;if((c[i>>2]|0)==289)c[o>>2]=QB(f,f+24|0)|0;else{F=f+16|0;c[F>>2]=c[i>>2];c[F+4>>2]=c[i+4>>2];c[F+8>>2]=c[i+8>>2];c[F+12>>2]=c[i+12>>2];c[i>>2]=289}c[y>>2]=g;j=y+8|0;$w(f,j);j=c[j>>2]|0;v=f+48|0;if((j|0)!=10){u=c[v>>2]|0;t=u+44|0;n=a[t>>0]|0;o=n&255;m=n&255;p=c[y+16>>2]|0;q=(j|0)==8;if(q){k=g;i=0;do{if((c[k+8>>2]|0)==10){j=k+16|0;g=j+3|0;if((a[g>>0]|0)==8?(w=j+2|0,(d[w>>0]|0)==(p|0)):0){a[g>>0]=8;a[w>>0]=n;i=1}if((b[j>>1]|0)==(p|0)){b[j>>1]=m;i=1}}k=c[k>>2]|0}while((k|0)!=0)}else{i=0;do{if(((c[g+8>>2]|0)==10?(k=g+16|0,r=k+3|0,(d[r>>0]|0)==(j|0)):0)?(s=k+2|0,(d[s>>0]|0)==(p|0)):0){a[r>>0]=8;a[s>>0]=n;i=1}g=c[g>>2]|0}while((g|0)!=0)}if(i|0){xB(u,o<<6|(q?0:5)|p<<23)|0;i=(d[t>>0]|0)+1|0;g=(c[u>>2]|0)+8|0;do if(i>>>0>(d[g>>0]|0)>>>0)if(i>>>0>254)NB(c[u+8>>2]|0,286692);else{x=i&255;a[g>>0]=x;break}else x=i&255;while(0);a[t>>0]=x}}i=c[v>>2]|0;if(((e[(c[f+52>>2]|0)+106>>1]|0)+h|0)<=200){ax(f,y,h+1|0);D=H;A=v;break a}g=i+8|0;j=c[(c[g>>2]|0)+52>>2]|0;i=c[(c[i>>2]|0)+36>>2]|0;if(!i){f=280571;c[C>>2]=280617;h=C+4|0;c[h>>2]=200;h=C+8|0;c[h>>2]=f;h=Lw(j,280585,C)|0;f=c[g>>2]|0;NB(f,h)}c[B>>2]=i;f=Lw(j,280551,B)|0;c[C>>2]=280617;h=C+4|0;c[h>>2]=200;h=C+8|0;c[h>>2]=f;h=Lw(j,280585,C)|0;f=c[g>>2]|0;NB(f,h);break}case 61:{k=f+4|0;m=f+8|0;c[m>>2]=c[k>>2];n=f+32|0;if((c[n>>2]|0)==289)c[o>>2]=QB(f,f+24|0)|0;else{D=f+16|0;c[D>>2]=c[n>>2];c[D+4>>2]=c[n+4>>2];c[D+8>>2]=c[n+8>>2];c[D+12>>2]=c[n+12>>2];c[n>>2]=289}Uw(f,H,0)|0;r=f+48|0;if((c[o>>2]|0)==44){g=f+24|0;j=f+16|0;i=1;do{c[m>>2]=c[k>>2];if((c[n>>2]|0)==289)c[o>>2]=QB(f,g)|0;else{c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];c[j+12>>2]=c[n+12>>2];c[n>>2]=289}BB(c[r>>2]|0,H);Uw(f,H,0)|0;i=i+1|0}while((c[o>>2]|0)==44);q=i}else q=1;o=c[r>>2]|0;if((q|0)==(h|0)){switch(c[H>>2]|0){case 13:{c[H>>2]=7;h=H+8|0;c[h>>2]=(c[(c[(c[o>>2]|0)+48>>2]|0)+(c[h>>2]<<2)>>2]|0)>>>6&255;break}case 14:{h=(c[(c[o>>2]|0)+48>>2]|0)+(c[H+8>>2]<<2)|0;c[h>>2]=c[h>>2]&8388607|16777216;c[H>>2]=12;break}default:{}}GB(o,G,H);l=I;return}p=h-q|0;i=c[H>>2]|0;switch(i|0){case 14:case 13:{k=p+1|0;k=(k|0)>0?k:0;switch(i|0){case 13:{f=(c[(c[o>>2]|0)+48>>2]|0)+(c[H+8>>2]<<2)|0;c[f>>2]=c[f>>2]&-8372225|(k<<14)+16384&8372224;break}case 14:{f=H+8|0;j=c[o>>2]|0;i=c[j+48>>2]|0;g=i+(c[f>>2]<<2)|0;c[g>>2]=c[g>>2]&8388607|(k<<23)+8388608;f=i+(c[f>>2]<<2)|0;i=o+44|0;g=d[i>>0]|0;c[f>>2]=g<<6|c[f>>2]&-16321;g=g+1|0;j=j+8|0;do if(g>>>0>(d[j>>0]|0)>>>0)if(g>>>0>254)NB(c[o+8>>2]|0,286692);else{t=g&255;a[j>>0]=t;break}else t=g&255;while(0);a[i>>0]=t;break}default:{}}if((k|0)>1){j=o+44|0;i=(d[j>>0]|0)+(k+-1)|0;g=(c[o>>2]|0)+8|0;do if((i|0)>(d[g>>0]|0))if((i|0)>254)NB(c[o+8>>2]|0,286692);else{u=i&255;a[g>>0]=u;break}else u=i&255;while(0);a[j>>0]=u}break}case 0:{v=61;break}default:{BB(o,H);v=61}}b:do if((v|0)==61?(p|0)>0:0){i=o+44|0;m=d[i>>0]|0;n=m+p|0;k=c[o>>2]|0;g=k+8|0;do if((n|0)>(d[g>>0]|0))if((n|0)>254)NB(c[o+8>>2]|0,286692);else{z=n&255;a[g>>0]=z;break}else z=n&255;while(0);a[i>>0]=z;j=n+-1|0;i=c[o+16>>2]|0;do if((i|0)>(c[o+20>>2]|0)?(E=(c[k+48>>2]|0)+(i+-1<<2)|0,F=c[E>>2]|0,(F&63|0)==4):0){i=F>>>6&255;g=i+(F>>>23)|0;if(i>>>0>m>>>0|(g+1|0)>>>0>>0?i>>>0>>0|(i|0)>(n|0):0)break;f=i>>>0>>0?i:m;c[E>>2]=((g|0)>(j|0)?g:j)-f<<23|f<<6|F&8372287;break b}while(0);xB(o,m<<6|(p<<23)+-8388608|4)|0}while(0);if((q|0)>(h|0)){D=(c[r>>2]|0)+44|0;a[D>>0]=p+(d[D>>0]|0);D=H;A=r}else{D=H;A=r}break}default:Ow(f,61)}while(0);h=c[A>>2]|0;f=(d[h+44>>0]|0)+-1|0;c[H+16>>2]=-1;c[H+20>>2]=-1;c[D>>2]=7;c[H+8>>2]=f;GB(h,G,H);l=I;return}function bx(b,e,f){b=b|0;e=e|0;f=f|0;var 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;s=l;l=l+64|0;o=s+40|0;g=s+24|0;r=s;i=b+48|0;q=c[i>>2]|0;p=b+16|0;a:do switch(c[p>>2]|0){case 40:{j=b+4|0;k=b+8|0;c[k>>2]=c[j>>2];m=b+32|0;if((c[m>>2]|0)==289){g=QB(b,b+24|0)|0;c[p>>2]=g}else{g=b+16|0;c[g>>2]=c[m>>2];c[g+4>>2]=c[m+4>>2];c[g+8>>2]=c[m+8>>2];c[g+12>>2]=c[m+12>>2];c[m>>2]=289;g=c[p>>2]|0}if((g|0)!=41){Uw(b,r,0)|0;if((c[p>>2]|0)==44){g=b+24|0;h=b+16|0;do{c[k>>2]=c[j>>2];if((c[m>>2]|0)==289)c[p>>2]=QB(b,g)|0;else{c[h>>2]=c[m>>2];c[h+4>>2]=c[m+4>>2];c[h+8>>2]=c[m+8>>2];c[h+12>>2]=c[m+12>>2];c[m>>2]=289}BB(c[i>>2]|0,r);Uw(b,r,0)|0}while((c[p>>2]|0)==44)}switch(c[r>>2]|0){case 13:{n=(c[(c[q>>2]|0)+48>>2]|0)+(c[r+8>>2]<<2)|0;c[n>>2]=c[n>>2]&-8372225;break}case 14:{t=r+8|0;i=c[q>>2]|0;g=c[i+48>>2]|0;h=g+(c[t>>2]<<2)|0;c[h>>2]=c[h>>2]&8388607;t=g+(c[t>>2]<<2)|0;g=q+44|0;h=d[g>>0]|0;c[t>>2]=h<<6|c[t>>2]&-16321;h=h+1|0;i=i+8|0;do if(h>>>0>(d[i>>0]|0)>>>0)if(h>>>0>254)NB(c[q+8>>2]|0,286692);else{n=h&255;a[i>>0]=n;break}else n=h&255;while(0);a[g>>0]=n;break}default:{}}if((c[p>>2]|0)!=41)if((c[j>>2]|0)==(f|0))Ow(b,41);else{t=c[b+52>>2]|0;i=MB(b,41)|0;n=MB(b,40)|0;c[o>>2]=i;c[o+4>>2]=n;c[o+8>>2]=f;NB(b,Lw(t,280626,o)|0)}}else c[r>>2]=0;c[k>>2]=c[j>>2];if((c[m>>2]|0)==289){c[p>>2]=QB(b,b+24|0)|0;break a}else{t=b+16|0;c[t>>2]=c[m>>2];c[t+4>>2]=c[m+4>>2];c[t+8>>2]=c[m+8>>2];c[t+12>>2]=c[m+12>>2];c[m>>2]=289;break a}}case 123:{cx(b,r);break}case 293:{h=b+24|0;t=c[h>>2]|0;c[g>>2]=t;c[g+8>>2]=(a[t+4>>0]|64)&255;g=zB(q,g,g)|0;c[r+16>>2]=-1;c[r+20>>2]=-1;c[r>>2]=4;c[r+8>>2]=g;c[b+8>>2]=c[b+4>>2];g=b+32|0;if((c[g>>2]|0)==289){c[p>>2]=QB(b,h)|0;break a}else{t=b+16|0;c[t>>2]=c[g>>2];c[t+4>>2]=c[g+4>>2];c[t+8>>2]=c[g+8>>2];c[t+12>>2]=c[g+12>>2];c[g>>2]=289;break a}}default:NB(b,280830)}while(0);g=e+8|0;h=c[g>>2]|0;switch(c[r>>2]|0){case 0:break;case 14:case 13:{t=0;r=h<<6;t=r|t;t=t|32804;t=xB(q,t)|0;r=e+16|0;c[r>>2]=-1;r=e+20|0;c[r>>2]=-1;c[e>>2]=13;c[g>>2]=t;t=q+16|0;t=c[t>>2]|0;t=t+-1|0;e=c[q>>2]|0;e=e+56|0;e=c[e>>2]|0;t=e+(t<<2)|0;c[t>>2]=f;f=h+1|0;f=f&255;t=q+44|0;a[t>>0]=f;l=s;return}default:BB(q,r)}t=(d[q+44>>0]|0)-h<<23;r=h<<6;t=r|t;t=t|32804;t=xB(q,t)|0;r=e+16|0;c[r>>2]=-1;r=e+20|0;c[r>>2]=-1;c[e>>2]=13;c[g>>2]=t;t=q+16|0;t=c[t>>2]|0;t=t+-1|0;e=c[q>>2]|0;e=e+56|0;e=c[e>>2]|0;t=e+(t<<2)|0;c[t>>2]=f;f=h+1|0;f=f&255;t=q+44|0;a[t>>0]=f;l=s;return}function cx(b,e){b=b|0;e=e|0;var 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,A=0;A=l;l=l+64|0;p=A+40|0;s=A;j=b+48|0;v=c[j>>2]|0;n=b+4|0;o=c[n>>2]|0;w=xB(v,11)|0;r=s+36|0;c[r>>2]=0;z=s+28|0;c[z>>2]=0;y=s+32|0;c[y>>2]=0;x=s+24|0;c[x>>2]=e;c[e+16>>2]=-1;c[e+20>>2]=-1;c[e>>2]=12;c[e+8>>2]=w;c[s+16>>2]=-1;c[s+20>>2]=-1;c[s>>2]=0;q=s+8|0;c[q>>2]=0;BB(c[j>>2]|0,e);j=b+16|0;if((c[j>>2]|0)!=123)Ow(b,123);k=b+8|0;c[k>>2]=c[n>>2];m=b+32|0;if((c[m>>2]|0)==289){e=QB(b,b+24|0)|0;c[j>>2]=e}else{e=b+16|0;c[e>>2]=c[m>>2];c[e+4>>2]=c[m+4>>2];c[e+8>>2]=c[m+8>>2];c[e+12>>2]=c[m+12>>2];c[m>>2]=289;e=c[j>>2]|0}a:do if((e|0)!=125){f=b+24|0;g=b+16|0;h=b+40|0;i=b+32|0;e=0;b:while(1){if(e|0?(BB(v,s),c[s>>2]=0,(c[r>>2]|0)==50):0){LB(v,c[(c[x>>2]|0)+8>>2]|0,c[y>>2]|0,50);c[r>>2]=0}c:do switch(c[j>>2]|0){case 292:{e=QB(b,h)|0;c[i>>2]=e;if((e|0)==61){dx(b,s);break c}else{Uw(b,s,0)|0;c[y>>2]=(c[y>>2]|0)+1;c[r>>2]=(c[r>>2]|0)+1;break c}}case 91:{dx(b,s);break}default:{Uw(b,s,0)|0;c[y>>2]=(c[y>>2]|0)+1;c[r>>2]=(c[r>>2]|0)+1}}while(0);d:do switch(c[j>>2]|0){case 125:break a;case 44:{c[k>>2]=c[n>>2];if((c[m>>2]|0)==289){e=QB(b,f)|0;c[j>>2]=e;break d}else{c[g>>2]=c[m>>2];c[g+4>>2]=c[m+4>>2];c[g+8>>2]=c[m+8>>2];c[g+12>>2]=c[m+12>>2];c[m>>2]=289;t=21;break d}}case 59:{c[k>>2]=c[n>>2];if((c[m>>2]|0)==289){c[j>>2]=QB(b,f)|0;t=21;break d}else{c[g>>2]=c[m>>2];c[g+4>>2]=c[m+4>>2];c[g+8>>2]=c[m+8>>2];c[g+12>>2]=c[m+12>>2];c[m>>2]=289;t=21;break d}}default:break b}while(0);if((t|0)==21){t=0;e=c[j>>2]|0}if((e|0)==125)break a;e=c[s>>2]|0}if((c[n>>2]|0)==(o|0))Ow(b,125);else{t=c[b+52>>2]|0;h=MB(b,125)|0;i=MB(b,123)|0;c[p>>2]=h;c[p+4>>2]=i;c[p+8>>2]=o;NB(b,Lw(t,280626,p)|0)}}while(0);c[k>>2]=c[n>>2];if((c[m>>2]|0)==289)c[j>>2]=QB(b,b+24|0)|0;else{t=b+16|0;c[t>>2]=c[m>>2];c[t+4>>2]=c[m+4>>2];c[t+8>>2]=c[m+8>>2];c[t+12>>2]=c[m+12>>2];c[m>>2]=289}e=c[r>>2]|0;do if(e|0){switch(c[s>>2]|0){case 0:{t=44;break}case 13:{t=(c[(c[v>>2]|0)+48>>2]|0)+(c[q>>2]<<2)|0;c[t>>2]=c[t>>2]&-8372225;t=42;break}case 14:{f=c[v>>2]|0;t=c[f+48>>2]|0;g=t+(c[q>>2]<<2)|0;c[g>>2]=c[g>>2]&8388607;t=t+(c[q>>2]<<2)|0;g=v+44|0;e=d[g>>0]|0;c[t>>2]=e<<6|c[t>>2]&-16321;e=e+1|0;f=f+8|0;do if(e>>>0>(d[f>>0]|0)>>>0)if(e>>>0>254)NB(c[v+8>>2]|0,286692);else{u=e&255;a[f>>0]=u;break}else u=e&255;while(0);a[g>>0]=u;t=42;break}default:{BB(v,s);e=c[r>>2]|0;t=44}}if((t|0)==42){LB(v,c[(c[x>>2]|0)+8>>2]|0,c[y>>2]|0,-1);c[y>>2]=(c[y>>2]|0)+-1;break}else if((t|0)==44){LB(v,c[(c[x>>2]|0)+8>>2]|0,c[y>>2]|0,e);break}}while(0);h=(c[(c[v>>2]|0)+48>>2]|0)+(w<<2)|0;g=c[h>>2]&8388607;e=c[y>>2]|0;if(e>>>0>=8){if(e>>>0>127){f=0;do{y=e+15|0;e=y>>>4;f=f+4|0}while(y>>>0>2047)}else f=0;if(e>>>0>15)do{y=e+1|0;e=y>>>1;f=f+1|0}while(y>>>0>31);e=(f<<3)+8|e+-8}g=e<<23|g;c[h>>2]=g;g=g&-8372225;e=c[z>>2]|0;if(e>>>0<8){z=e;z=z<<14;z=z&8372224;z=z|g;c[h>>2]=z;l=A;return}if(e>>>0>127){f=0;do{z=e+15|0;e=z>>>4;f=f+4|0}while(z>>>0>2047)}else f=0;if(e>>>0>15)do{z=e+1|0;e=z>>>1;f=f+1|0}while(z>>>0>31);z=(f<<3)+8|e+-8;z=z<<14;z=z&8372224;z=z|g;c[h>>2]=z;l=A;return}function dx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+64|0;h=q+48|0;o=q+24|0;p=q;i=b+48|0;j=c[i>>2]|0;k=j+44|0;m=a[k>>0]|0;n=b+16|0;do if((c[n>>2]|0)!=292){f=b+4|0;g=b+8|0;c[g>>2]=c[f>>2];h=b+32|0;if((c[h>>2]|0)==289)c[n>>2]=QB(b,b+24|0)|0;else{e=b+16|0;c[e>>2]=c[h>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];c[e+12>>2]=c[h+12>>2];c[h>>2]=289}Uw(b,o,0)|0;e=c[i>>2]|0;if((c[o+16>>2]|0)==(c[o+20>>2]|0))AB(e,o);else EB(e,o)|0;if((c[n>>2]|0)!=93)Ow(b,93);c[g>>2]=c[f>>2];if((c[h>>2]|0)==289){c[n>>2]=QB(b,b+24|0)|0;break}else{i=b+16|0;c[i>>2]=c[h>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];c[h>>2]=289;break}}else{f=b+24|0;g=c[f>>2]|0;c[b+8>>2]=c[b+4>>2];e=b+32|0;if((c[e>>2]|0)==289){c[n>>2]=QB(b,f)|0;e=c[i>>2]|0}else{i=b+16|0;c[i>>2]=c[e>>2];c[i+4>>2]=c[e+4>>2];c[i+8>>2]=c[e+8>>2];c[i+12>>2]=c[e+12>>2];c[e>>2]=289;e=j}c[h>>2]=g;c[h+8>>2]=(a[g+4>>0]|64)&255;i=zB(e,h,h)|0;c[o+16>>2]=-1;c[o+20>>2]=-1;c[o>>2]=4;c[o+8>>2]=i}while(0);i=d+28|0;c[i>>2]=(c[i>>2]|0)+1;if((c[n>>2]|0)!=61)Ow(b,61);c[b+8>>2]=c[b+4>>2];e=b+32|0;if((c[e>>2]|0)==289){c[n>>2]=QB(b,b+24|0)|0;n=FB(j,o)|0;Uw(b,p,0)|0;o=d+24|0;o=c[o>>2]|0;o=o+8|0;o=c[o>>2]|0;p=FB(j,p)|0;o=o<<6;b=n<<23;b=o|b;p=p<<14;p=b|p;p=p|10;xB(j,p)|0;a[k>>0]=m;l=q;return}else{n=b+16|0;c[n>>2]=c[e>>2];c[n+4>>2]=c[e+4>>2];c[n+8>>2]=c[e+8>>2];c[n+12>>2]=c[e+12>>2];c[e>>2]=289;n=FB(j,o)|0;Uw(b,p,0)|0;o=d+24|0;o=c[o>>2]|0;o=o+8|0;o=c[o>>2]|0;p=FB(j,p)|0;o=o<<6;b=n<<23;b=o|b;p=p<<14;p=b|p;p=p|10;xB(j,p)|0;a[k>>0]=m;l=q;return}}function ex(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;i=e+12|0;j=c[i>>2]|0;if((c[j+12>>2]|0)>0){Ew(e);h=c[i>>2]|0}else h=j;f=h+4|0;g=jg[c[h>>2]&31](c[f>>2]|0,0,8,116)|0;if(!g){if(!(c[h+140>>2]|0))cw(e,4);Fw(e,1);f=jg[c[h>>2]&31](c[f>>2]|0,0,8,116)|0;if(!f)cw(e,4);else o=f}else o=g;k=h+12|0;c[k>>2]=(c[k>>2]|0)+116;k=o+4|0;a[o+9>>0]=a[j+60>>0]&3;a[o+8>>0]=8;l=j+64|0;c[k>>2]=c[l>>2];c[l>>2]=k;l=e+8|0;m=c[l>>2]|0;c[m>>2]=k;c[m+8>>2]=72;c[l>>2]=(c[l>>2]|0)+16;c[o+16>>2]=j;l=o+32|0;c[l>>2]=0;m=o+20|0;c[m>>2]=0;n=o+96|0;c[n>>2]=0;c[o+44>>2]=k;c[o+48>>2]=0;b[o+110>>1]=0;f=o+88|0;c[f>>2]=0;h=o+112|0;a[h>>0]=0;g=o+100|0;c[g>>2]=0;a[o+113>>0]=1;c[o+36>>2]=0;b[o+108>>1]=1;a[o+10>>0]=0;c[o+92>>2]=0;a[h>>0]=a[e+108>>0]|0;h=c[e+96>>2]|0;c[g>>2]=h;c[f>>2]=c[e+84>>2];c[o+104>>2]=h;h=(c[j+136>>2]|0)+-4|0;h=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;h=c[i>>2]|0;f=h+4|0;g=jg[c[h>>2]&31](c[f>>2]|0,0,0,640)|0;if(!g){if(!(c[h+140>>2]|0))cw(e,4);Fw(e,1);f=jg[c[h>>2]&31](c[f>>2]|0,0,0,640)|0;if(!f)cw(e,4);else p=f}else p=g;e=h+12|0;c[e>>2]=(c[e>>2]|0)+640;c[l>>2]=p;c[n>>2]=40;n=p+8|0;c[n>>2]=0;c[p+24>>2]=0;c[p+40>>2]=0;c[p+56>>2]=0;c[p+72>>2]=0;c[p+88>>2]=0;c[p+104>>2]=0;c[p+120>>2]=0;c[p+136>>2]=0;c[p+152>>2]=0;c[p+168>>2]=0;c[p+184>>2]=0;c[p+200>>2]=0;c[p+216>>2]=0;c[p+232>>2]=0;c[p+248>>2]=0;c[p+264>>2]=0;c[p+280>>2]=0;c[p+296>>2]=0;c[p+312>>2]=0;c[p+328>>2]=0;c[p+344>>2]=0;c[p+360>>2]=0;c[p+376>>2]=0;c[p+392>>2]=0;c[p+408>>2]=0;c[p+424>>2]=0;c[p+440>>2]=0;c[p+456>>2]=0;c[p+472>>2]=0;c[p+488>>2]=0;c[p+504>>2]=0;c[p+520>>2]=0;c[p+536>>2]=0;c[p+552>>2]=0;c[p+568>>2]=0;c[p+584>>2]=0;c[p+600>>2]=0;c[p+616>>2]=0;c[p+632>>2]=0;c[o+28>>2]=p+560;e=o+52|0;c[o+60>>2]=0;c[o+64>>2]=0;a[o+86>>0]=0;c[e>>2]=p;c[o+12>>2]=p+16;c[n>>2]=0;c[o+56>>2]=p+336;c[m>>2]=e;return k|0}function fx(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+32|0;g=k+8|0;h=k;i=jg[e&31](f,0,8,912)|0;if(!i){j=0;l=k;return j|0}j=i+4|0;m=i+120|0;c[j>>2]=0;a[i+8>>0]=8;a[i+180>>0]=1;a[i+9>>0]=1;c[i+16>>2]=m;c[i+32>>2]=0;c[i+20>>2]=0;c[i+96>>2]=0;c[i+44>>2]=j;c[i+48>>2]=0;b[i+110>>1]=0;c[i+88>>2]=0;a[i+112>>0]=0;c[i+100>>2]=0;a[i+113>>0]=1;c[i+104>>2]=0;c[i+36>>2]=0;b[i+108>>1]=1;a[i+10>>0]=0;c[i+92>>2]=0;c[m>>2]=e;c[i+124>>2]=f;c[i+256>>2]=j;e=Vf(0)|0;c[h>>2]=e;c[g>>2]=j;c[g+4>>2]=h;c[g+8>>2]=316088;c[g+12>>2]=20;e=e^16;e=(e<<5)+(e>>>2)+(d[g+15>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+14>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+13>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+12>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+11>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+10>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+9>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+8>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+7>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+6>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+5>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+4>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+3>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+2>>0]|0)^e;e=(e<<5)+(e>>>2)+(d[g+1>>0]|0)^e;c[i+176>>2]=(e<<5)+(e>>>2)+(d[g>>0]|0)^e;a[i+183>>0]=0;g=i+140|0;c[i+168>>2]=0;c[i+228>>2]=0;c[i+236>>2]=0;c[i+252>>2]=0;c[i+260>>2]=0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;a[i+181>>0]=7;a[i+182>>0]=0;g=i+128|0;e=i+184|0;h=e+44|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(h|0));c[g>>2]=912;c[i+132>>2]=0;c[i+240>>2]=0;c[i+244>>2]=200;c[i+248>>2]=200;e=i+364|0;h=e+36|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(h|0));if(!(dw(j,167,0)|0)){m=j;l=k;return m|0}hx(j);m=0;l=k;return m|0}function gx(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;j=n;k=b+12|0;m=c[k>>2]|0;e=m+4|0;f=jg[c[m>>2]&31](c[e>>2]|0,0,0,640)|0;if(!f){if(!(c[m+140>>2]|0))cw(b,4);Fw(b,1);e=jg[c[m>>2]&31](c[e>>2]|0,0,0,640)|0;if(!e)cw(b,4);else g=e}else g=f;h=m+12|0;c[h>>2]=(c[h>>2]|0)+640;c[b+28>>2]=g;c[b+92>>2]=40;h=g+8|0;c[h>>2]=0;c[g+24>>2]=0;c[g+40>>2]=0;c[g+56>>2]=0;c[g+72>>2]=0;c[g+88>>2]=0;c[g+104>>2]=0;c[g+120>>2]=0;c[g+136>>2]=0;c[g+152>>2]=0;c[g+168>>2]=0;c[g+184>>2]=0;c[g+200>>2]=0;c[g+216>>2]=0;c[g+232>>2]=0;c[g+248>>2]=0;c[g+264>>2]=0;c[g+280>>2]=0;c[g+296>>2]=0;c[g+312>>2]=0;c[g+328>>2]=0;c[g+344>>2]=0;c[g+360>>2]=0;c[g+376>>2]=0;c[g+392>>2]=0;c[g+408>>2]=0;c[g+424>>2]=0;c[g+440>>2]=0;c[g+456>>2]=0;c[g+472>>2]=0;c[g+488>>2]=0;c[g+504>>2]=0;c[g+520>>2]=0;c[g+536>>2]=0;c[g+552>>2]=0;c[g+568>>2]=0;c[g+584>>2]=0;c[g+600>>2]=0;c[g+616>>2]=0;c[g+632>>2]=0;c[b+24>>2]=g+560;i=b+48|0;c[b+56>>2]=0;c[b+60>>2]=0;a[b+82>>0]=0;c[i>>2]=g;c[b+8>>2]=g+16;c[h>>2]=0;c[b+52>>2]=g+336;c[b+16>>2]=i;i=px(b)|0;c[m+40>>2]=i;c[m+48>>2]=69;mx(b,i,2,0);g=b;h=i+8|0;a:do if(!(c[h>>2]|0)){e=(c[i+16>>2]|0)+(((a[i+7>>0]|0)!=0&1)<<5)|0;while(1){if((c[e+24>>2]|0)==19?(f=e+16|0,(c[f>>2]|0)==1&(c[f+4>>2]|0)==0):0)break;f=c[e+28>>2]|0;if(!f){f=14;break a}e=e+(f<<5)|0}f=13}else{e=c[i+12>>2]|0;f=13}while(0);if((f|0)==13)if((e|0)==316088)f=14;if((f|0)==14){e=j;c[e>>2]=1;c[e+4>>2]=0;c[j+8>>2]=19;e=nx(b,i,j)|0}c[e>>2]=g;c[e+8>>2]=72;g=px(b)|0;b:do if((c[h>>2]|0)>>>0>1){e=(c[i+12>>2]|0)+16|0;f=23}else{e=(c[i+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[e+24>>2]|0)==19?(h=e+16|0,(c[h>>2]|0)==2&(c[h+4>>2]|0)==0):0)break;f=c[e+28>>2]|0;if(!f){f=24;break b}e=e+(f<<5)|0}f=23}while(0);if((f|0)==23)if((e|0)==316088)f=24;if((f|0)==24){e=j;c[e>>2]=2;c[e+4>>2]=0;c[j+8>>2]=19;e=nx(b,i,j)|0}c[e>>2]=g;c[e+8>>2]=69;f=c[k>>2]|0;ix(b,128);h=jx(b,286607,17)|0;g=f+144|0;c[g>>2]=h;e=c[k>>2]|0;j=h+5|0;a[j>>0]=a[j>>0]&-4;c[e+64>>2]=c[h>>2];e=e+100|0;c[h>>2]=c[e>>2];c[e>>2]=h;e=0;while(1){c[f+280+(e<<2)>>2]=h;e=e+1|0;if((e|0)==127)break;h=c[g>>2]|0}e=c[k>>2]|0;i=0;do{g=c[5148+(i<<2)>>2]|0;h=e+280+(((g>>>0)%127|0)<<2)|0;f=c[h>>2]|0;if(wN(g,f+16|0)|0){f=jx(b,g,JO(g)|0)|0;c[h>>2]=f;e=c[k>>2]|0}c[e+148+(i<<2)>>2]=f;e=c[k>>2]|0;h=c[e+148+(i<<2)>>2]|0;j=h+5|0;a[j>>0]=a[j>>0]&-4;c[e+64>>2]=c[h>>2];j=e+100|0;c[h>>2]=c[j>>2];c[j>>2]=h;i=i+1|0}while((i|0)!=24);j=jx(b,287028,4)|0;e=c[k>>2]|0;i=j+5|0;a[i>>0]=a[i>>0]&-4;c[e+64>>2]=c[j>>2];i=e+100|0;c[j>>2]=c[i>>2];c[i>>2]=j;i=0;do{g=c[6528+(i<<2)>>2]|0;h=e+280+(((g>>>0)%127|0)<<2)|0;f=c[h>>2]|0;if(wN(g,f+16|0)|0){f=jx(b,g,JO(g)|0)|0;c[h>>2]=f;e=c[k>>2]|0}j=f+5|0;a[j>>0]=a[j>>0]&-4;c[e+64>>2]=c[f>>2];j=e+100|0;c[f>>2]=c[j>>2];c[j>>2]=f;i=i+1|0;a[f+6>>0]=i}while((i|0)!=22);a[m+63>>0]=1;c[m+140>>2]=960;l=n;return}function hx(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;m=b+12|0;n=c[m>>2]|0;l=b+28|0;j=c[l>>2]|0;k=b+32|0;e=c[k>>2]|0;if(!e)h=n;else{do{g=c[e>>2]|0;if(g>>>0>>0)break;f=e+8|0;c[k>>2]=c[f>>2];if(c[e+4>>2]|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[e>>2]=f;if((c[e+16>>2]&64|0?(h=c[m>>2]|0,i=c[f>>2]|0,(d[h+61>>0]|0)<2):0)?a[i+5>>0]&3:0)uw(h,i)}else{g=c[m>>2]|0;jg[c[g>>2]&31](c[g+4>>2]|0,e,24,0)|0;g=g+12|0;c[g>>2]=(e|0?-24:0)+(c[g>>2]|0)}e=c[k>>2]|0}while((e|0)!=0);h=c[m>>2]|0}f=h+96|0;while(1){e=c[f>>2]|0;if(!e)break;else f=e}g=h+72|0;e=c[g>>2]|0;if(!e)e=h;else{while(1){c[g>>2]=c[e>>2];c[e>>2]=c[f>>2];c[f>>2]=e;f=c[g>>2]|0;if(!f)break;else{k=e;e=f;f=k}}e=c[m>>2]|0}e=e+96|0;if(c[e>>2]|0)do xw(b,0);while((c[e>>2]|0)!=0);a[h+60>>0]=3;a[h+62>>0]=0;ww(b,g,-1)|0;ww(b,h+64|0,-1)|0;ww(b,h+100|0,-1)|0;k=c[m>>2]|0;e=c[k+24>>2]|0;g=c[k+32>>2]<<2;jg[c[k>>2]&31](c[k+4>>2]|0,e,g,0)|0;k=k+12|0;c[k>>2]=(e|0?0-g|0:0)+(c[k>>2]|0);k=n+108|0;g=c[k>>2]|0;e=n+116|0;h=c[e>>2]|0;i=c[m>>2]|0;j=jg[c[i>>2]&31](c[i+4>>2]|0,g,h,0)|0;i=i+12|0;c[i>>2]=(g|0?0-h|0:0)+(c[i>>2]|0);c[k>>2]=j;c[e>>2]=0;e=c[l>>2]|0;if(!e){m=c[n>>2]|0;n=n+4|0;n=c[n>>2]|0;b=b+-4|0;jg[m&31](n,b,912,0)|0;return}c[b+16>>2]=b+48;k=b+60|0;f=c[k>>2]|0;c[k>>2]=0;if(f){e=f;do{j=e;e=c[e+12>>2]|0;k=c[m>>2]|0;jg[c[k>>2]&31](c[k+4>>2]|0,j,36,0)|0;k=k+12|0;c[k>>2]=(j|0?-36:0)+(c[k>>2]|0)}while((e|0)!=0);e=c[l>>2]|0}l=c[b+92>>2]<<4;m=c[m>>2]|0;jg[c[m>>2]&31](c[m+4>>2]|0,e,l,0)|0;m=m+12|0;c[m>>2]=(e|0?0-l|0:0)+(c[m>>2]|0);m=c[n>>2]|0;n=n+4|0;n=c[n>>2]|0;b=b+-4|0;jg[m&31](n,b,912,0)|0;return}function ix(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;m=a+12|0;k=c[m>>2]|0;n=k+24|0;o=k+32|0;e=c[o>>2]|0;if((e|0)<(b|0)){if((b+1|0)>>>0>1073741823)Hw(a);g=c[n>>2]|0;h=e<<2;i=b<<2;j=(g|0)!=0;e=k+4|0;f=jg[c[k>>2]&31](c[e>>2]|0,g,h,i)|0;if((i|0)!=0&(f|0)==0){if(!(c[k+140>>2]|0))cw(a,4);Fw(a,1);e=jg[c[k>>2]&31](c[e>>2]|0,g,h,i)|0;if(!e)cw(a,4);else l=e}else l=f;e=k+12|0;c[e>>2]=(j?0-h|0:0)+i+(c[e>>2]|0);c[n>>2]=l;e=c[o>>2]|0;if((e|0)<(b|0)?(c[l+(e<<2)>>2]=0,d=e+1|0,(d|0)!=(b|0)):0)do{c[(c[n>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}if((e|0)>0){f=b+-1|0;g=0;do{l=(c[n>>2]|0)+(g<<2)|0;d=c[l>>2]|0;c[l>>2]=0;if(d|0)do{j=d+12|0;k=d;d=c[j>>2]|0;l=c[k+8>>2]&f;c[j>>2]=c[(c[n>>2]|0)+(l<<2)>>2];c[(c[n>>2]|0)+(l<<2)>>2]=k}while((d|0)!=0);g=g+1|0}while((g|0)!=(e|0))}if((e|0)<=(b|0)){c[o>>2]=b;return}if((b+1|0)>>>0>1073741823)Hw(a);h=c[n>>2]|0;i=e<<2;j=b<<2;f=c[m>>2]|0;g=(h|0)!=0;d=f+4|0;e=jg[c[f>>2]&31](c[d>>2]|0,h,i,j)|0;if((j|0)!=0&(e|0)==0){if(!(c[f+140>>2]|0))cw(a,4);Fw(a,1);d=jg[c[f>>2]&31](c[d>>2]|0,h,i,j)|0;if(!d)cw(a,4);else p=d}else p=e;a=f+12|0;c[a>>2]=(g?0-i|0:0)+j+(c[a>>2]|0);c[n>>2]=p;c[o>>2]=b;return}function jx(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;if(f>>>0>=41){if((f+1|0)>>>0>4294967279)Hw(b);i=c[b+12>>2]|0;j=c[i+56>>2]|0;k=f+17|0;h=i+4|0;g=jg[c[i>>2]&31](c[h>>2]|0,0,4,k)|0;if((k|0)!=0&(g|0)==0){if(!(c[i+140>>2]|0))cw(b,4);Fw(b,1);g=jg[c[i>>2]&31](c[h>>2]|0,0,4,k)|0;if(!g)cw(b,4);else l=g}else l=g;b=i+12|0;c[b>>2]=k+(c[b>>2]|0);a[l+5>>0]=a[i+60>>0]&3;a[l+4>>0]=20;b=i+64|0;c[l>>2]=c[b>>2];c[b>>2]=l;c[l+8>>2]=j;a[l+6>>0]=0;b=l+16|0;CQ(b|0,e|0,f|0)|0;a[b+f>>0]=0;c[l+12>>2]=f;e=l;return e|0}p=b+12|0;l=c[p>>2]|0;g=c[l+56>>2]^f;i=(f>>>5)+1|0;if(i>>>0<=f>>>0){h=f;do{g=(g<<5)+(g>>>2)+(d[e+(h+-1)>>0]|0)^g;h=h-i|0}while(h>>>0>=i>>>0)}m=l+32|0;j=c[m>>2]|0;n=l+24|0;k=(c[n>>2]|0)+((j+-1&g)<<2)|0;h=c[k>>2]|0;a:do if(h|0){i=h;while(1){if((d[i+7>>0]|0|0)==(f|0)?(xN(e,i+16|0,f)|0)==0:0)break;h=c[i+12>>2]|0;if(!h)break a;else i=h}g=i+5|0;h=a[g>>0]^3;if(((a[l+60>>0]^3)&h)<<24>>24){e=i;return e|0}a[g>>0]=h;e=i;return e|0}while(0);o=l+28|0;if((j|0)<1073741824?(c[o>>2]|0)>=(j|0):0){ix(b,j<<1);l=c[p>>2]|0;k=(c[n>>2]|0)+(((c[m>>2]|0)+-1&g)<<2)|0}j=f+17|0;h=l+4|0;i=jg[c[l>>2]&31](c[h>>2]|0,0,4,j)|0;if((j|0)!=0&(i|0)==0){if(!(c[l+140>>2]|0))cw(b,4);Fw(b,1);h=jg[c[l>>2]&31](c[h>>2]|0,0,4,j)|0;if(!h)cw(b,4);else q=h}else q=i;b=l+12|0;c[b>>2]=j+(c[b>>2]|0);a[q+5>>0]=a[l+60>>0]&3;a[q+4>>0]=4;b=l+64|0;c[q>>2]=c[b>>2];c[b>>2]=q;c[q+8>>2]=g;a[q+6>>0]=0;b=q+16|0;CQ(b|0,e|0,f|0)|0;a[b+f>>0]=0;a[q+7>>0]=f;c[q+12>>2]=c[k>>2];c[k>>2]=q;c[o>>2]=(c[o>>2]|0)+1;e=q;return e|0}function kx(a,b){a=a|0;b=b|0;var d=0,e=0;d=(c[a+12>>2]|0)+280+(((b>>>0)%127|0)<<2)|0;e=c[d>>2]|0;if(!(wN(b,e+16|0)|0)){b=e;return b|0}else{b=jx(a,b,JO(b)|0)|0;c[d>>2]=b;return b|0}return 0}function lx(b,e){b=b|0;e=e|0;var f=0.0,g=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;g=n;switch(c[e+8>>2]&63){case 19:{e=(1<>0])+-1&c[e>>2];break}case 3:{f=+SN(+h[e>>3],g)*2147483648.0;if(f>=-9223372036854775808.0&f<9223372036854775808.0){e=(c[g>>2]|0)+(~~f>>>0)|0;e=e>>31^e}else e=0;e=(e|0)%((1<>0])+-1|1|0)|0;break}case 4:{e=(1<>0])+-1&c[(c[e>>2]|0)+8>>2];break}case 20:{e=c[e>>2]|0;m=e+6|0;if(!(a[m>>0]|0)){j=e+16|0;g=c[e+12>>2]|0;k=e+8|0;e=c[k>>2]^g;i=(g>>>5)+1|0;if(i>>>0<=g>>>0)do{e=(e<<5)+(e>>>2)+(d[j+(g+-1)>>0]|0)^e;g=g-i|0}while(g>>>0>=i>>>0);c[k>>2]=e;a[m>>0]=1}else e=c[e+8>>2]|0;e=(1<>0])+-1&e;break}case 1:{e=(1<>0])+-1&c[e>>2];break}case 2:{e=((c[e>>2]|0)>>>0)%(((1<>0])+-1|1)>>>0)|0;break}case 22:{e=((c[e>>2]|0)>>>0)%(((1<>0])+-1|1)>>>0)|0;break}default:e=((c[e>>2]|0)>>>0)%(((1<>0])+-1|1)>>>0)|0}l=n;return (c[b+16>>2]|0)+(e<<5)|0}function mx(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,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=l;l=l+32|0;s=C+16|0;w=C;t=e+8|0;x=c[t>>2]|0;u=e+7|0;A=a[u>>0]|0;y=A&255;v=e+16|0;B=c[v>>2]|0;if(x>>>0>>0){if((f+1|0)>>>0>268435455)Hw(b);m=e+12|0;h=c[m>>2]|0;n=x<<4;o=f<<4;p=c[b+12>>2]|0;q=(h|0)!=0;j=p+4|0;k=jg[c[p>>2]&31](c[j>>2]|0,h,n,o)|0;if((o|0)!=0&(k|0)==0){if(!(c[p+140>>2]|0))cw(b,4);Fw(b,1);h=jg[c[p>>2]&31](c[j>>2]|0,h,n,o)|0;if(!h)cw(b,4);else r=h}else r=k;h=p+12|0;c[h>>2]=(q?0-n|0:0)+o+(c[h>>2]|0);c[m>>2]=r;h=c[t>>2]|0;if(h>>>0>>0)do{c[r+(h<<4)+8>>2]=0;h=h+1|0}while((h|0)!=(f|0));c[t>>2]=f}if(!g){c[v>>2]=316104;j=0;i=316104;h=0}else{h=g+-1|0;if(h>>>0>255){k=h;j=0;while(1){j=j+8|0;h=k>>>8;if(k>>>0>65535)k=h;else break}}else j=0;o=(d[279996+h>>0]|0)+j|0;if((o|0)>30)_v(b,281030,s);j=1<>>0>134217727)Hw(b);m=j<<5;n=c[b+12>>2]|0;h=n+4|0;k=jg[c[n>>2]&31](c[h>>2]|0,0,0,m)|0;if((m|0)!=0&(k|0)==0){if(!(c[n+140>>2]|0))cw(b,4);Fw(b,1);h=jg[c[n>>2]&31](c[h>>2]|0,0,0,m)|0;if(!h)cw(b,4);else i=h}else i=k;h=n+12|0;c[h>>2]=m+(c[h>>2]|0);c[v>>2]=i;h=0;do{c[i+(h<<5)+28>>2]=0;c[i+(h<<5)+24>>2]=0;c[i+(h<<5)+8>>2]=0;h=h+1|0}while((h|0)<(j|0));h=o&255}a[u>>0]=h;c[e+20>>2]=i+(j<<5);if(x>>>0>f>>>0){c[t>>2]=f;p=e+12|0;m=w+8|0;i=f;while(1){h=c[p>>2]|0;if(!(c[h+(i<<4)+8>>2]|0))h=i+1|0;else{k=h+(i<<4)|0;h=i+1|0;a:do if(i>>>0<(c[t>>2]|0)>>>0){i=k;j=37}else{i=(c[v>>2]|0)+(((1<<(d[u>>0]|0))+-1&h)<<5)|0;while(1){if((c[i+24>>2]|0)==19?(s=i+16|0,(c[s+4>>2]|0)==0?(c[s>>2]|0)==(h|0):0):0)break;j=c[i+28>>2]|0;if(!j){j=38;break a}i=i+(j<<5)|0}j=37}while(0);if((j|0)==37){j=0;if((i|0)==316088)j=38}if((j|0)==38){i=w;c[i>>2]=h;c[i+4>>2]=0;c[m>>2]=19;i=nx(b,e,w)|0};c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2]}if((h|0)==(x|0))break;else i=h}if((f+1|0)>>>0>268435455)Hw(b);n=c[p>>2]|0;o=x<<4;j=f<<4;k=c[b+12>>2]|0;m=(n|0)!=0;h=k+4|0;i=jg[c[k>>2]&31](c[h>>2]|0,n,o,j)|0;if((j|0)!=0&(i|0)==0){if(!(c[k+140>>2]|0))cw(b,4);Fw(b,1);h=jg[c[k>>2]&31](c[h>>2]|0,n,o,j)|0;if(!h)cw(b,4);else z=h}else z=i;f=k+12|0;c[f>>2]=(m?0-o|0:0)+j+(c[f>>2]|0);c[p>>2]=z}n=1<>24!=31){k=n;do{m=k;k=k+-1|0;if(c[B+(k<<5)+8>>2]|0){j=B+(k<<5)|0;i=B+(k<<5)+16|0;h=ox(e,i)|0;if((h|0)==316088)h=nx(b,e,i)|0;c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];c[h+12>>2]=c[j+12>>2]}}while((m|0)>1)}if((B|0)==316104){l=C;return}A=n<<5;e=c[b+12>>2]|0;jg[c[e>>2]&31](c[e+4>>2]|0,B,A,0)|0;e=e+12|0;c[e>>2]=(B|0?0-A|0:0)+(c[e>>2]|0);l=C;return}function nx(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=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,y=0.0;x=l;l=l+160|0;i=x+152|0;v=x+16|0;g=x;switch(c[f+8>>2]|0){case 0:{_v(b,281045,x+144|0);break}case 3:{j=3;break}default:w=f}do if((j|0)==3){y=+h[f>>3];k=+A(+y);if(!(y!=k)?k>=-9223372036854775808.0&k<9223372036854775808.0:0){s=+B(k)>=1.0?(k>0.0?~~+P(+A(k/4294967296.0),4294967295.0)>>>0:~~+N((k-+(~~k>>>0))/4294967296.0)>>>0):0;w=g;c[w>>2]=~~k>>>0;c[w+4>>2]=s;c[g+8>>2]=19;w=g;break}y=+h[f>>3];if(y==y&0.0==0.0)w=f;else _v(b,281064,i)}while(0);g=lx(e,w)|0;m=g+8|0;do if((g|0)==316104|(c[m>>2]|0)!=0){f=e+20|0;s=c[e+16>>2]|0;n=c[f>>2]|0;while(1){if(n>>>0<=s>>>0)break;o=n+-32|0;c[f>>2]=o;if(!(c[n+-8>>2]|0)){j=40;break}else n=o}if((j|0)==40){f=lx(e,g+16|0)|0;if((f|0)==(g|0)){i=g+28|0;f=c[i>>2]|0;if(!f)f=o;else{v=o;c[n+-4>>2]=g+(f<<5)-v>>5;f=v}c[i>>2]=f-g>>5;g=o;break}else{while(1){j=f+28|0;i=f+(c[j>>2]<<5)|0;if((i|0)==(g|0))break;else f=i}i=o;c[j>>2]=i-f>>5;c[o>>2]=c[g>>2];c[o+4>>2]=c[g+4>>2];c[o+8>>2]=c[g+8>>2];c[o+12>>2]=c[g+12>>2];c[o+16>>2]=c[g+16>>2];c[o+20>>2]=c[g+20>>2];c[o+24>>2]=c[g+24>>2];c[o+28>>2]=c[g+28>>2];f=g+28|0;if(c[f>>2]|0){v=n+-4|0;c[v>>2]=(c[v>>2]|0)+(g-i>>5);c[f>>2]=0}c[m>>2]=0;break}}g=v;f=g+128|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(f|0));n=e+12|0;o=c[e+8>>2]|0;g=0;f=1;p=0;q=1;while(1){if(q>>>0>o>>>0)if(f>>>0>o>>>0){q=g;break}else m=o;else m=q;if(f>>>0>m>>>0){i=f;f=0}else{j=c[n>>2]|0;i=f;f=0;do{f=((c[j+(i+-1<<4)+8>>2]|0)!=0&1)+f|0;i=i+1|0}while(i>>>0<=m>>>0)}r=v+(p<<2)|0;c[r>>2]=(c[r>>2]|0)+f;g=f+g|0;p=p+1|0;if((p|0)>=32){q=g;break}else{f=i;q=q<<1}}m=0;g=1<<(d[e+7>>0]|0);r=0;a:while(1){do{p=g;g=g+-1|0;if(!p)break a}while(!(c[s+(g<<5)+8>>2]|0));if((c[s+(g<<5)+24>>2]|0)==19?(p=s+(g<<5)+16|0,t=c[p>>2]|0,p=c[p+4>>2]|0,!(p>>>0>0|(p|0)==0&t>>>0>2147483648|((p|0)<0|(p|0)==0&t>>>0<1)|(t|0)==0)):0){f=t+-1|0;if(f>>>0>255){j=f;i=0;while(1){i=i+8|0;f=j>>>8;if(j>>>0>65535)j=f;else break}}else i=0;f=v+((d[279996+f>>0]|0)+i<<2)|0;c[f>>2]=(c[f>>2]|0)+1;f=1}else f=0;m=f+m|0;r=r+1|0}j=m+q|0;if((c[w+8>>2]|0)==19?(t=w,u=c[t>>2]|0,t=c[t+4>>2]|0,!(t>>>0>0|(t|0)==0&u>>>0>2147483648|((t|0)<0|(t|0)==0&u>>>0<1)|(u|0)==0)):0){g=u+-1|0;if(g>>>0>255){i=g;f=0;while(1){f=f+8|0;g=i>>>8;if(i>>>0>65535)i=g;else break}}else f=0;g=v+((d[279996+g>>0]|0)+f<<2)|0;c[g>>2]=(c[g>>2]|0)+1;g=1}else g=0;m=j+g|0;if(!m){f=0;g=0}else{n=0;j=0;o=0;f=0;g=0;p=1;while(1){i=c[v+(o<<2)>>2]|0;if(!i)i=j;else{t=i+j|0;u=t>>>0>n>>>0;i=t;f=u?t:f;g=u?p:g}n=p&2147483647;if(m>>>0<=n>>>0)break;else{j=i;o=o+1|0;p=p<<1}}}mx(b,e,g,q+1+r-f|0);g=ox(e,w)|0;if((g|0)!=316088){e=g;l=x;return e|0}e=nx(b,e,w)|0;l=x;return e|0}while(0);t=w;u=c[t+4>>2]|0;v=g+16|0;c[v>>2]=c[t>>2];c[v+4>>2]=u;v=c[w+8>>2]|0;c[g+24>>2]=v;if((v&64|0?(p=e+5|0,q=a[p>>0]|0,q&4):0)?a[(c[w>>2]|0)+5>>0]&3:0){b=c[b+12>>2]|0;a[p>>0]=q&-5;b=b+80|0;c[e+28>>2]=c[b>>2];c[b>>2]=e}e=g;l=x;return e|0}function ox(b,e){b=b|0;e=e|0;var f=0,g=0,i=0,j=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0.0;q=l;l=l+16|0;k=q;f=c[e+8>>2]|0;a:do switch(f&63){case 4:{i=c[e>>2]|0;g=(c[b+16>>2]|0)+(((1<>0])+-1&c[i+8>>2])<<5)|0;while(1){if((c[g+24>>2]|0)==68?(c[g+16>>2]|0)==(i|0):0)break;f=c[g+28>>2]|0;if(!f){p=316088;o=41;break}g=g+(f<<5)|0}if((o|0)==41){l=q;return p|0}p=g;l=q;return p|0}case 19:{k=e;i=c[k>>2]|0;k=c[k+4>>2]|0;f=lQ(i|0,k|0,-1,-1)|0;e=z;if(e>>>0<0|((e|0)==0?f>>>0<(c[b+8>>2]|0)>>>0:0)){p=(c[b+12>>2]|0)+(f<<4)|0;l=q;return p|0}g=(c[b+16>>2]|0)+(((1<>0])+-1&i)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(b=g+16|0,(c[b>>2]|0)==(i|0)?(c[b+4>>2]|0)==(k|0):0):0)break;f=c[g+28>>2]|0;if(!f){p=316088;o=41;break}g=g+(f<<5)|0}if((o|0)==41){l=q;return p|0}p=g;l=q;return p|0}case 3:{i=e;b:while(1){switch(f|0){case 3:{o=18;break b}case 19:{o=21;break b}default:{}}if((f&15|0)!=4){o=28;break}g=Iw((c[i>>2]|0)+16|0,k)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){o=28;break}i=k;f=c[k+8>>2]|0}if((o|0)==18){r=+h[i>>3];j=+A(+r);if(!(r!=j)?j>=-9223372036854775808.0&j<9223372036854775808.0:0){m=+B(j)>=1.0?(j>0.0?~~+P(+A(j/4294967296.0),4294967295.0)>>>0:~~+N((j-+(~~j>>>0))/4294967296.0)>>>0):0;n=~~j>>>0}else o=28}else if((o|0)==21){n=i;m=c[n+4>>2]|0;n=c[n>>2]|0}if((o|0)==28)break a;f=lQ(n|0,m|0,-1,-1)|0;e=z;if(e>>>0<0|((e|0)==0?f>>>0<(c[b+8>>2]|0)>>>0:0)){p=(c[b+12>>2]|0)+(f<<4)|0;l=q;return p|0}g=(c[b+16>>2]|0)+(((1<>0])+-1&n)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(b=g+16|0,(c[b>>2]|0)==(n|0)?(c[b+4>>2]|0)==(m|0):0):0)break;f=c[g+28>>2]|0;if(!f){p=316088;o=41;break}g=g+(f<<5)|0}if((o|0)==41){l=q;return p|0}p=g;l=q;return p|0}case 0:{p=316088;l=q;return p|0}default:{}}while(0);f=lx(b,e)|0;c:do if(!(Ax(0,f+16|0,e)|0)){while(1){g=c[f+28>>2]|0;if(!g){p=316088;break}i=f+(g<<5)|0;if(!(Ax(0,f+(g<<5)+16|0,e)|0))f=i;else{f=i;break c}}l=q;return p|0}while(0);p=f;l=q;return p|0}function px(b){b=b|0;var d=0,e=0,f=0,g=0;f=c[b+12>>2]|0;d=f+4|0;e=jg[c[f>>2]&31](c[d>>2]|0,0,5,32)|0;if(!e){if(!(c[f+140>>2]|0))cw(b,4);Fw(b,1);d=jg[c[f>>2]&31](c[d>>2]|0,0,5,32)|0;if(!d)cw(b,4);else g=d}else g=e;b=f+12|0;c[b>>2]=(c[b>>2]|0)+32;a[g+5>>0]=a[f+60>>0]&3;a[g+4>>0]=5;b=f+64|0;c[g>>2]=c[b>>2];c[b>>2]=g;c[g+24>>2]=0;a[g+6>>0]=-1;c[g+12>>2]=0;c[g+8>>2]=0;c[g+16>>2]=316104;a[g+7>>0]=0;c[g+20>>2]=316104;return g|0}function qx(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=c[a+8>>2]|0;if(b|0?(e=c[a+12>>2]|0,(c[e+(b+-1<<4)+8>>2]|0)==0):0){if(b>>>0>1)a=0;else{k=0;return k|0}do{k=(a+b|0)>>>1;j=(c[e+(k+-1<<4)+8>>2]|0)==0;b=j?k:b;a=j?a:k}while((b-a|0)>>>0>1);return a|0}j=c[a+16>>2]|0;if((j|0)==316104){k=b;return k|0}k=a+12|0;i=a+7|0;g=b+1|0;a=b;while(1){e=lQ(g|0,0,-1,-1)|0;f=z;a:do if(f>>>0<0|(f|0)==0&e>>>0>>0)e=(c[k>>2]|0)+(e<<4)|0;else{e=j+(((1<<(d[i>>0]|0))+-1&g)<<5)|0;while(1){if((c[e+24>>2]|0)==19?(f=e+16|0,(c[f+4>>2]|0)==0?(c[f>>2]|0)==(g|0):0):0)break;f=c[e+28>>2]|0;if(!f){e=316088;break a}e=e+(f<<5)|0}}while(0);if(!(c[e+8>>2]|0))break;if(g>>>0>1073741823){f=1;h=18;break}a=g;g=g<<1}if((h|0)==18){while(1){a=lQ(f|0,0,-1,-1)|0;h=z;b:do if(h>>>0<0|(h|0)==0&a>>>0>>0)a=(c[k>>2]|0)+(a<<4)|0;else{a=j+(((1<<(d[i>>0]|0))+-1&f)<<5)|0;while(1){if((c[a+24>>2]|0)==19?(h=a+16|0,(c[h+4>>2]|0)==0?(c[h>>2]|0)==(f|0):0):0)break;e=c[a+28>>2]|0;if(!e){a=316088;break b}a=a+(e<<5)|0}}while(0);if(!(c[a+8>>2]|0))break;else{f=f+1|0;h=18}}k=f+-1|0;return k|0}if((g-a|0)>>>0<=1){k=a;return k|0}do{h=(g+a|0)>>>1;e=lQ(h|0,0,-1,-1)|0;f=z;c:do if(f>>>0<0|(f|0)==0&e>>>0>>0)e=(c[k>>2]|0)+(e<<4)|0;else{e=j+(((1<<(d[i>>0]|0))+2147483647&h)<<5)|0;while(1){if((c[e+24>>2]|0)==19?(f=e+16|0,(c[f+4>>2]|0)==0?(c[f>>2]|0)==(h|0):0):0)break;f=c[e+28>>2]|0;if(!f){e=316088;break c}e=e+(f<<5)|0}}while(0);f=(c[e+8>>2]|0)==0;g=f?h:g;a=f?a:h}while((g-a|0)>>>0>1);return a|0}function rx(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;i=c[e+8>>2]|0;switch(i&15){case 5:{i=(c[e>>2]|0)+24|0;break}case 7:{i=(c[e>>2]|0)+8|0;break}default:i=(c[b+12>>2]|0)+244+((i&15)<<2)|0}i=c[i>>2]|0;a:do if(!i)i=316088;else{k=c[(c[b+12>>2]|0)+148+(h<<2)>>2]|0;i=(c[i+16>>2]|0)+(((1<<(d[i+7>>0]|0))+-1&c[k+8>>2])<<5)|0;while(1){if((c[i+24>>2]|0)==68?(c[i+16>>2]|0)==(k|0):0)break;j=c[i+28>>2]|0;if(!j){i=316088;break a}i=i+(j<<5)|0}}while(0);b:do if(!(c[i+8>>2]|0)){i=c[f+8>>2]|0;switch(i&15){case 5:{i=(c[f>>2]|0)+24|0;break}case 7:{i=(c[f>>2]|0)+8|0;break}default:i=(c[b+12>>2]|0)+244+((i&15)<<2)|0}i=c[i>>2]|0;if(!i)i=316088;else{k=c[(c[b+12>>2]|0)+148+(h<<2)>>2]|0;i=(c[i+16>>2]|0)+(((1<<(d[i+7>>0]|0))+-1&c[k+8>>2])<<5)|0;while(1){if((c[i+24>>2]|0)==68?(c[i+16>>2]|0)==(k|0):0)break;j=c[i+28>>2]|0;if(!j){i=316088;break b}i=i+(j<<5)|0}}}while(0);if(!(c[i+8>>2]|0)){g=0;return g|0}j=b+28|0;k=c[j>>2]|0;h=b+8|0;l=c[h>>2]|0;c[h>>2]=l+16;c[l>>2]=c[i>>2];c[l+4>>2]=c[i+4>>2];c[l+8>>2]=c[i+8>>2];c[l+12>>2]=c[i+12>>2];i=c[h>>2]|0;c[h>>2]=i+16;c[i>>2]=c[e>>2];c[i+4>>2]=c[e+4>>2];c[i+8>>2]=c[e+8>>2];c[i+12>>2]=c[e+12>>2];e=c[h>>2]|0;c[h>>2]=e+16;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];iw(b,(c[h>>2]|0)+-48|0,1,a[(c[b+16>>2]|0)+34>>0]&2);g=(c[j>>2]|0)+(g-k)|0;f=(c[h>>2]|0)+-16|0;c[h>>2]=f;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];g=1;return g|0}function sx(b,e,f,g,i){b=b|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0.0,k=0,m=0,n=0,o=0,p=0.0;k=l;l=l+32|0;o=k+16|0;m=k;if(rx(b,e,f,g,i)|0){l=k;return}switch(i|0){case 22:{Yv(b,((c[e+8>>2]&15)+-3|0)>>>0<2?f:e,279564);break}case 19:case 17:case 16:case 15:case 14:case 13:{k=e+8|0;i=c[k>>2]|0;if((i|0)!=3)do if((i|0)!=19){if((i&15|0)==4){g=Iw((c[e>>2]|0)+16|0,m)|0;i=c[e>>2]|0;if((a[i+4>>0]|0)==4)i=d[i+7>>0]|0;else i=c[i+12>>2]|0;if((g|0)==(i+1|0))break}aw(b,e,f,281209)}while(0);i=c[f+8>>2]|0;if((i|0)!=3)do if((i|0)!=19){if((i&15|0)==4){g=Iw((c[f>>2]|0)+16|0,m)|0;i=c[f>>2]|0;if((a[i+4>>0]|0)==4)i=d[i+7>>0]|0;else i=c[i+12>>2]|0;if((g|0)==(i+1|0))break}aw(b,e,f,281209)}while(0);i=c[k>>2]|0;if((i|0)==19){k=f;k=Zv(b,k)|0;c[o>>2]=k;_v(b,279576,o)}g=e;a:while(1){switch(i|0){case 3:{n=25;break a}case 19:{e=f;break a}default:{}}if((i&15|0)!=4)break;k=Iw((c[g>>2]|0)+16|0,m)|0;i=c[g>>2]|0;if((a[i+4>>0]|0)==4)i=d[i+7>>0]|0;else i=c[i+12>>2]|0;if((k|0)!=(i+1|0))break;g=m;i=c[m+8>>2]|0}if((n|0)==25){p=+h[g>>3];j=+A(+p);if(!(p!=j))e=j>=-9223372036854775808.0&j<9223372036854775808.0?f:e}n=e;n=Zv(b,n)|0;c[o>>2]=n;_v(b,279576,o);break}default:aw(b,e,f,281238)}}function tx(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=c[a>>2]|0;c[d>>2]=c[a+12>>2];c[d+4>>2]=b;Lw(e,281465,d)|0;cw(c[a>>2]|0,3)}function ux(b,e,f){b=b|0;e=e|0;f=f|0;var g=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,A=0,B=0,C=0,D=0,E=0,F=0,G=0;F=l;l=l+16|0;C=F+8|0;D=F;B=vx(b)|0;y=e+72|0;c[y>>2]=(B|0)==0?f:B;B=b+4|0;m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=7;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;v=j>>>0>f>>>0;g=v?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!v)break;else{j=j-g|0;k=k+g|0}}if((E|0)==7?j|0:0)tx(b,281274);c[e+36>>2]=c[D>>2];m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=15;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;v=j>>>0>f>>>0;g=v?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!v)break;else{j=j-g|0;k=k+g|0}}if((E|0)==15?j|0:0)tx(b,281274);c[e+40>>2]=c[D>>2];m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=23;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;v=j>>>0>f>>>0;g=v?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!v)break;else{j=j-g|0;k=k+g|0}}if((E|0)==23?j|0:0)tx(b,281274);a[e+6>>0]=a[D>>0]|0;m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=31;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;v=j>>>0>f>>>0;g=v?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!v)break;else{j=j-g|0;k=k+g|0}}if((E|0)==31?j|0:0)tx(b,281274);a[e+7>>0]=a[D>>0]|0;m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=39;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;v=j>>>0>f>>>0;g=v?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!v)break;else{j=j-g|0;k=k+g|0}}if((E|0)==39?j|0:0)tx(b,281274);a[e+8>>0]=a[D>>0]|0;m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=47;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;v=j>>>0>f>>>0;g=v?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!v)break;else{j=j-g|0;k=k+g|0}}if((E|0)==47?j|0:0)tx(b,281274);i=c[D>>2]|0;j=c[b>>2]|0;if((i+1|0)>>>0>1073741823)Hw(j);m=i<<2;k=c[j+12>>2]|0;f=k+4|0;g=jg[c[k>>2]&31](c[f>>2]|0,0,0,m)|0;if((m|0)!=0&(g|0)==0){if(!(c[k+140>>2]|0))cw(j,4);Fw(j,1);f=jg[c[k>>2]&31](c[f>>2]|0,0,0,m)|0;if(!f)cw(j,4);else r=f}else r=g;k=k+12|0;c[k>>2]=m+(c[k>>2]|0);c[e+48>>2]=r;c[e+20>>2]=i;k=c[B>>2]|0;a:do if(m|0){n=k+16|0;o=k+8|0;p=k+12|0;q=k+4|0;j=r;f=c[k>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0)break;c[k>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;v=m>>>0>f>>>0;g=v?f:m;CQ(j|0,i|0,g|0)|0;f=(c[k>>2]|0)-g|0;c[k>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!v)break a;else{m=m-g|0;j=j+g|0}}if(m|0)tx(b,281274)}while(0);m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=70;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;v=j>>>0>f>>>0;g=v?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!v)break;else{j=j-g|0;k=k+g|0}}if((E|0)==70?j|0:0)tx(b,281274);v=c[D>>2]|0;i=c[b>>2]|0;if((v+1|0)>>>0>268435455)Hw(i);j=v<<4;k=c[i+12>>2]|0;f=k+4|0;g=jg[c[k>>2]&31](c[f>>2]|0,0,0,j)|0;if((j|0)!=0&(g|0)==0){if(!(c[k+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[k>>2]&31](c[f>>2]|0,0,0,j)|0;if(!f)cw(i,4);else s=f}else s=g;u=k+12|0;c[u>>2]=j+(c[u>>2]|0);u=e+44|0;c[u>>2]=s;c[e+16>>2]=v;b:do if((v|0)>0){f=0;do{c[s+(f<<4)+8>>2]=0;f=f+1|0}while((f|0)!=(v|0));m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=86;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;t=j>>>0>f>>>0;g=t?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!t)break;else{j=j-g|0;k=k+g|0}}if((E|0)==86?j|0:0)tx(b,281274);r=s;t=0;c:while(1){switch(a[D>>0]|0){case 0:{f=0;E=118;break}case 1:{m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=96;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==96?(0,j|0):0){E=97;break c}c[r>>2]=d[D>>0];f=1;E=118;break}case 3:{m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=8;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=105;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==105?(0,j|0):0){E=106;break c}h[r>>3]=+h[D>>3];f=3;E=118;break}case 19:{m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=8;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=114;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==114?(0,j|0):0){E=115;break c}G=D;E=c[G+4>>2]|0;f=r;c[f>>2]=c[G>>2];c[f+4>>2]=E;f=19;E=118;break}case 20:case 4:{f=vx(b)|0;c[r>>2]=f;f=(a[f+4>>0]|64)&255;E=118;break}default:{}}if((E|0)==118){E=0;c[s+(t<<4)+8>>2]=f}t=t+1|0;if((t|0)>=(v|0))break b;s=c[u>>2]|0;r=s+(t<<4)|0;m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0)break;c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(G){j=j-g|0;k=k+g|0}else continue c}if(j|0){E=88;break}}if((E|0)==88)tx(b,281274);else if((E|0)==97)tx(b,281274);else if((E|0)==106)tx(b,281274);else if((E|0)==115)tx(b,281274)}while(0);m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=133;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==133?j|0:0)tx(b,281274);s=c[D>>2]|0;i=c[b>>2]|0;if((s+1|0)>>>0>536870911)Hw(i);j=s<<3;k=c[i+12>>2]|0;f=k+4|0;g=jg[c[k>>2]&31](c[f>>2]|0,0,0,j)|0;if((j|0)!=0&(g|0)==0){if(!(c[k+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[k>>2]&31](c[f>>2]|0,0,0,j)|0;if(!f)cw(i,4);else w=f}else w=g;u=k+12|0;c[u>>2]=j+(c[u>>2]|0);u=e+64|0;c[u>>2]=w;c[e+12>>2]=s;d:do if((s|0)>0){f=0;do{c[w+(f<<3)>>2]=0;f=f+1|0}while((f|0)!=(s|0));r=0;while(1){m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=150;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==150?(E=0,j|0):0){E=151;break}a[(c[u>>2]|0)+(r<<3)+4>>0]=a[D>>0]|0;m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=1;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=158;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==158?(E=0,j|0):0){E=159;break}a[(c[u>>2]|0)+(r<<3)+5>>0]=a[D>>0]|0;r=r+1|0;if((r|0)>=(s|0))break d}if((E|0)==151)tx(b,281274);else if((E|0)==159)tx(b,281274)}while(0);m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=167;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==167?j|0:0)tx(b,281274);m=c[D>>2]|0;i=c[b>>2]|0;if((m+1|0)>>>0>1073741823)Hw(i);j=m<<2;k=c[i+12>>2]|0;f=k+4|0;g=jg[c[k>>2]&31](c[f>>2]|0,0,0,j)|0;if((j|0)!=0&(g|0)==0){if(!(c[k+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[k>>2]&31](c[f>>2]|0,0,0,j)|0;if(!f)cw(i,4);else x=f}else x=g;g=k+12|0;c[g>>2]=j+(c[g>>2]|0);g=e+52|0;c[g>>2]=x;c[e+28>>2]=m;if((m|0)>0){c[x>>2]=0;if((m|0)!=1){f=1;do{c[(c[g>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)!=(m|0))}f=0;do{G=sw(c[b>>2]|0)|0;c[(c[g>>2]|0)+(f<<2)>>2]=G;ux(b,c[(c[g>>2]|0)+(f<<2)>>2]|0,c[y>>2]|0);f=f+1|0}while((f|0)!=(m|0))}m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=186;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==186?j|0:0)tx(b,281274);i=c[D>>2]|0;j=c[b>>2]|0;if((i+1|0)>>>0>1073741823)Hw(j);m=i<<2;k=c[j+12>>2]|0;f=k+4|0;g=jg[c[k>>2]&31](c[f>>2]|0,0,0,m)|0;if((m|0)!=0&(g|0)==0){if(!(c[k+140>>2]|0))cw(j,4);Fw(j,1);f=jg[c[k>>2]&31](c[f>>2]|0,0,0,m)|0;if(!f)cw(j,4);else z=f}else z=g;k=k+12|0;c[k>>2]=m+(c[k>>2]|0);c[e+56>>2]=z;c[e+24>>2]=i;k=c[B>>2]|0;e:do if(m|0){n=k+16|0;o=k+8|0;p=k+12|0;q=k+4|0;j=z;f=c[k>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0)break;c[k>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=m>>>0>f>>>0;g=G?f:m;CQ(j|0,i|0,g|0)|0;f=(c[k>>2]|0)-g|0;c[k>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break e;else{m=m-g|0;j=j+g|0}}if(m|0)tx(b,281274)}while(0);m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=209;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==209?j|0:0)tx(b,281274);t=c[D>>2]|0;i=c[b>>2]|0;if((t+1|0)>>>0>357913941)Hw(i);j=t*12|0;k=c[i+12>>2]|0;f=k+4|0;g=jg[c[k>>2]&31](c[f>>2]|0,0,0,j)|0;if((j|0)!=0&(g|0)==0){if(!(c[k+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[k>>2]&31](c[f>>2]|0,0,0,j)|0;if(!f)cw(i,4);else A=f}else A=g;s=k+12|0;c[s>>2]=j+(c[s>>2]|0);s=e+60|0;c[s>>2]=A;c[e+32>>2]=t;f:do if((t|0)>0){f=0;do{c[A+(f*12|0)>>2]=0;f=f+1|0}while((f|0)!=(t|0));r=0;while(1){m=vx(b)|0;c[(c[s>>2]|0)+(r*12|0)>>2]=m;m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=226;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==226?(E=0,j|0):0){E=227;break}c[(c[s>>2]|0)+(r*12|0)+4>>2]=c[D>>2];m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=234;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==234?(E=0,j|0):0){E=235;break}c[(c[s>>2]|0)+(r*12|0)+8>>2]=c[D>>2];r=r+1|0;if((r|0)>=(t|0))break f}if((E|0)==227)tx(b,281274);else if((E|0)==235)tx(b,281274)}while(0);m=c[B>>2]|0;n=m+16|0;o=m+8|0;p=m+12|0;q=m+4|0;j=4;k=D;f=c[m>>2]|0;while(1){if(!f){g=ig[c[o>>2]&63](c[n>>2]|0,c[p>>2]|0,C)|0;f=c[C>>2]|0;if((g|0)==0|(f|0)==0){E=243;break}c[m>>2]=f;c[q>>2]=g;i=g}else i=c[q>>2]|0;G=j>>>0>f>>>0;g=G?f:j;CQ(k|0,i|0,g|0)|0;f=(c[m>>2]|0)-g|0;c[m>>2]=f;c[q>>2]=(c[q>>2]|0)+g;if(!G)break;else{j=j-g|0;k=k+g|0}}if((E|0)==243?j|0:0)tx(b,281274);f=c[D>>2]|0;if((f|0)>0)g=0;else{l=F;return}do{G=vx(b)|0;c[(c[u>>2]|0)+(g<<3)>>2]=G;g=g+1|0}while((g|0)!=(f|0));l=F;return}function vx(b){b=b|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;v=l;l=l+16|0;u=v+4|0;p=v+8|0;t=v;r=b+4|0;j=c[r>>2]|0;k=j+16|0;m=j+8|0;n=j+12|0;o=j+4|0;h=1;i=p;e=c[j>>2]|0;while(1){if(!e){f=ig[c[m>>2]&63](c[k>>2]|0,c[n>>2]|0,u)|0;e=c[u>>2]|0;if((f|0)==0|(e|0)==0){q=7;break}c[j>>2]=e;c[o>>2]=f;g=f}else g=c[o>>2]|0;w=h>>>0>e>>>0;f=w?e:h;CQ(i|0,g|0,f|0)|0;e=(c[j>>2]|0)-f|0;c[j>>2]=e;c[o>>2]=(c[o>>2]|0)+f;if(!w)break;else{h=h-f|0;i=i+f|0}}if((q|0)==7?h|0:0)tx(b,281274);w=a[p>>0]|0;e=w&255;c[t>>2]=e;if(w<<24>>24==-1){j=c[r>>2]|0;k=j+16|0;m=j+8|0;n=j+12|0;o=j+4|0;h=4;i=t;e=c[j>>2]|0;while(1){if(!e){f=ig[c[m>>2]&63](c[k>>2]|0,c[n>>2]|0,u)|0;e=c[u>>2]|0;if((f|0)==0|(e|0)==0){q=16;break}c[j>>2]=e;c[o>>2]=f;g=f}else g=c[o>>2]|0;w=h>>>0>e>>>0;f=w?e:h;CQ(i|0,g|0,f|0)|0;e=(c[j>>2]|0)-f|0;c[j>>2]=e;c[o>>2]=(c[o>>2]|0)+f;if(!w)break;else{h=h-f|0;i=i+f|0}}if((q|0)==16?h|0:0)tx(b,281274);e=c[t>>2]|0}if(!e){w=0;l=v;return w|0}o=c[b>>2]|0;p=c[b+8>>2]|0;h=e+-1|0;c[t>>2]=h;m=p+8|0;n=c[m>>2]|0;if(n>>>0>=h>>>0){d=c[p>>2]|0;if(!h)s=d;else q=27}else{i=h>>>0>32?h:32;e=c[p>>2]|0;j=c[o+12>>2]|0;k=(e|0)!=0;f=j+4|0;g=jg[c[j>>2]&31](c[f>>2]|0,e,n,i)|0;if((i|0)!=0&(g|0)==0){if(!(c[j+140>>2]|0))cw(o,4);Fw(o,1);e=jg[c[j>>2]&31](c[f>>2]|0,e,n,i)|0;if(!e)cw(o,4);else d=e}else d=g;q=j+12|0;c[q>>2]=(k?0-n|0:0)+i+(c[q>>2]|0);c[p>>2]=d;c[m>>2]=i;q=27}a:do if((q|0)==27){j=c[r>>2]|0;k=j+16|0;m=j+8|0;n=j+12|0;o=j+4|0;i=d;f=c[j>>2]|0;while(1){if(!f){e=ig[c[m>>2]&63](c[k>>2]|0,c[n>>2]|0,u)|0;f=c[u>>2]|0;if((e|0)==0|(f|0)==0)break;c[j>>2]=f;c[o>>2]=e}else e=c[o>>2]|0;w=h>>>0>f>>>0;g=w?f:h;CQ(i|0,e|0,g|0)|0;f=(c[j>>2]|0)-g|0;c[j>>2]=f;c[o>>2]=(c[o>>2]|0)+g;if(!w){s=d;break a}else{h=h-g|0;i=i+g|0}}if(!h)s=d;else tx(b,281274)}while(0);w=jx(c[b>>2]|0,s,c[t>>2]|0)|0;l=v;return w|0}function wx(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+16|0;q=s;o=b+12|0;n=e;e=c[e+8>>2]|0;m=0;while(1){if((e|0)==69){e=c[n>>2]|0;p=ox(e,f)|0;if(c[p+8>>2]|0)break;e=c[e+24>>2]|0;if(!e)break;j=e+6|0;k=a[j>>0]|0;if(k&1)break;i=c[(c[o>>2]|0)+148>>2]|0;h=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+-1&c[i+8>>2])<<5)|0;while(1){if((c[h+24>>2]|0)==68?(c[h+16>>2]|0)==(i|0):0){r=10;break}e=c[h+28>>2]|0;if(!e){h=316088;break}h=h+(e<<5)|0}if((r|0)==10)r=0;e=c[h+8>>2]|0;if(!e){r=14;break}if(!h)break}else{e=c[n+8>>2]|0;switch(e&15){case 5:{e=(c[n>>2]|0)+24|0;break}case 7:{e=(c[n>>2]|0)+8|0;break}default:e=(c[o>>2]|0)+244+((e&15)<<2)|0}e=c[e>>2]|0;a:do if(!e)h=316088;else{i=c[(c[o>>2]|0)+148>>2]|0;h=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+-1&c[i+8>>2])<<5)|0;while(1){if((c[h+24>>2]|0)==68?(c[h+16>>2]|0)==(i|0):0)break;e=c[h+28>>2]|0;if(!e){h=316088;break a}h=h+(e<<5)|0}}while(0);e=c[h+8>>2]|0;if(!e){r=29;break}}m=m+1|0;if((e&15|0)==6){r=31;break}if((m|0)>=2e3){r=32;break}else n=h}if((r|0)==14)a[j>>0]=k|1;else if((r|0)==29)Yv(b,n,281490);else if((r|0)==31){q=b+28|0;r=c[q>>2]|0;p=b+8|0;o=c[p>>2]|0;c[p>>2]=o+16;c[o>>2]=c[h>>2];c[o+4>>2]=c[h+4>>2];c[o+8>>2]=c[h+8>>2];c[o+12>>2]=c[h+12>>2];o=c[p>>2]|0;c[p>>2]=o+16;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[o+12>>2]=c[n+12>>2];o=c[p>>2]|0;c[p>>2]=o+16;c[o>>2]=c[f>>2];c[o+4>>2]=c[f+4>>2];c[o+8>>2]=c[f+8>>2];c[o+12>>2]=c[f+12>>2];iw(b,(c[p>>2]|0)+-48|0,1,a[(c[b+16>>2]|0)+34>>0]&2);r=(c[q>>2]|0)+(g-r)|0;q=(c[p>>2]|0)+-16|0;c[p>>2]=q;c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2];c[r+12>>2]=c[q+12>>2];l=s;return}else if((r|0)==32)_v(b,281496,q);c[g>>2]=c[p>>2];c[g+4>>2]=c[p+4>>2];c[g+8>>2]=c[p+8>>2];c[g+12>>2]=c[p+12>>2];l=s;return}function xx(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+16|0;q=u;s=b+12|0;o=e;e=c[e+8>>2]|0;n=0;while(1){if((e|0)==69){t=c[o>>2]|0;m=ox(t,f)|0;if(c[m+8>>2]|0){p=m;break}e=c[t+24>>2]|0;if(!e){r=16;break}j=e+6|0;k=a[j>>0]|0;if(k&2){r=16;break}i=c[(c[s>>2]|0)+152>>2]|0;h=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+-1&c[i+8>>2])<<5)|0;while(1){if((c[h+24>>2]|0)==68?(c[h+16>>2]|0)==(i|0):0){r=10;break}e=c[h+28>>2]|0;if(!e){h=316088;break}h=h+(e<<5)|0}if((r|0)==10)r=0;e=c[h+8>>2]|0;if(!e){r=14;break}if(!h){r=16;break}}else{e=c[o+8>>2]|0;switch(e&15){case 5:{e=(c[o>>2]|0)+24|0;break}case 7:{e=(c[o>>2]|0)+8|0;break}default:e=(c[s>>2]|0)+244+((e&15)<<2)|0}e=c[e>>2]|0;a:do if(!e)h=316088;else{i=c[(c[s>>2]|0)+152>>2]|0;h=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+-1&c[i+8>>2])<<5)|0;while(1){if((c[h+24>>2]|0)==68?(c[h+16>>2]|0)==(i|0):0)break;e=c[h+28>>2]|0;if(!e){h=316088;break a}h=h+(e<<5)|0}}while(0);e=c[h+8>>2]|0;if(!e){r=34;break}}n=n+1|0;if((e&15|0)==6){r=36;break}if((n|0)>=2e3){r=37;break}else o=h}if((r|0)==14){a[j>>0]=k|2;r=16}else if((r|0)==34)Yv(b,o,281490);else if((r|0)==36){t=b+8|0;s=c[t>>2]|0;c[t>>2]=s+16;c[s>>2]=c[h>>2];c[s+4>>2]=c[h+4>>2];c[s+8>>2]=c[h+8>>2];c[s+12>>2]=c[h+12>>2];s=c[t>>2]|0;c[t>>2]=s+16;c[s>>2]=c[o>>2];c[s+4>>2]=c[o+4>>2];c[s+8>>2]=c[o+8>>2];c[s+12>>2]=c[o+12>>2];s=c[t>>2]|0;c[t>>2]=s+16;c[s>>2]=c[f>>2];c[s+4>>2]=c[f+4>>2];c[s+8>>2]=c[f+8>>2];c[s+12>>2]=c[f+12>>2];s=c[t>>2]|0;c[t>>2]=s+16;c[s>>2]=c[g>>2];c[s+4>>2]=c[g+4>>2];c[s+8>>2]=c[g+8>>2];c[s+12>>2]=c[g+12>>2];iw(b,(c[t>>2]|0)+-64|0,0,a[(c[b+16>>2]|0)+34>>0]&2);l=u;return}else if((r|0)==37)_v(b,281535,q);if((r|0)==16)if((m|0)==316088)p=nx(b,t,f)|0;else p=m;c[p>>2]=c[g>>2];c[p+4>>2]=c[g+4>>2];c[p+8>>2]=c[g+8>>2];c[p+12>>2]=c[g+12>>2];a[t+6>>0]=0;if(!(c[g+8>>2]&64)){l=u;return}e=t+5|0;h=a[e>>0]|0;if(!(h&4)){l=u;return}if(!(a[(c[g>>2]|0)+5>>0]&3)){l=u;return}g=c[s>>2]|0;a[e>>0]=h&-5;g=g+80|0;c[t+28>>2]=c[g>>2];c[g>>2]=t;l=u;return}function yx(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0;j=e+8|0;g=c[j>>2]|0;switch(g&15){case 3:{k=c[f+8>>2]|0;if((k&15|0)==3)if((g|0)==19){g=e;j=c[g>>2]|0;g=c[g+4>>2]|0;if((k|0)==19){k=c[f+4>>2]|0;f=((g|0)<(k|0)|((g|0)==(k|0)?j>>>0<(c[f>>2]|0)>>>0:0))&1;return f|0}i=+h[f>>3];f=lQ(j|0,g|0,0,2097152)|0;k=z;if(k>>>0<4194304|(k|0)==4194304&f>>>0<1){f=+(j>>>0)+4294967296.0*+(g|0)=9223372036854775808.0){f=1;return f|0}if(!(i>-9223372036854775808.0)){f=0;return f|0}f=+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0;f=((f|0)>(g|0)|(f|0)==(g|0)&~~i>>>0>>>0>j>>>0)&1;return f|0}else{i=+h[e>>3];if((k|0)==3){f=i<+h[f>>3]&1;return f|0}if(!(i==i&0.0==0.0)){f=0;return f|0}j=f;g=c[j>>2]|0;j=c[j+4>>2]|0;f=lQ(g|0,j|0,0,2097152)|0;k=z;if(!(k>>>0<4194304|(k|0)==4194304&f>>>0<1))if(!(i>=9223372036854775808.0))if(!(i>=-9223372036854775808.0))g=0;else{f=+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0;g=(f|0)>(j|0)|(f|0)==(j|0)&~~i>>>0>>>0>=g>>>0}else g=1;else g=+(g>>>0)+4294967296.0*+(j|0)<=i;f=(g^1)&1;return f|0}break}case 4:{if((c[f+8>>2]&15|0)==4){g=c[e>>2]|0;j=c[f>>2]|0;e=g+16|0;if((a[g+4>>0]|0)==4)b=d[g+7>>0]|0;else b=c[g+12>>2]|0;k=j+16|0;if((a[j+4>>0]|0)==4)j=d[j+7>>0]|0;else j=c[j+12>>2]|0;g=hO(e,k)|0;a:do if(!g){f=j;while(1){g=JO(e)|0;if((g|0)==(f|0)){g=0;break a}if((g|0)==(b|0)){g=-1;break a}j=g+1|0;e=e+j|0;k=k+j|0;g=hO(e,k)|0;if(g|0)break;else{b=b-j|0;f=f-j|0}}}while(0);f=g>>>31;return f|0}break}default:{}}g=b+8|0;if(!(rx(b,e,f,c[g>>2]|0,20)|0))bw(b,c[j>>2]|0,c[f+8>>2]|0);g=c[g>>2]|0;switch(c[g+8>>2]|0){case 1:{f=(c[g>>2]|0)!=0&1;return f|0}case 0:{f=0;return f|0}default:{f=1;return f|0}}return 0}function zx(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0,l=0;j=e+8|0;g=c[j>>2]|0;switch(g&15){case 3:{k=c[f+8>>2]|0;if((k&15|0)==3)if((g|0)==19){g=e;j=c[g>>2]|0;g=c[g+4>>2]|0;if((k|0)==19){e=c[f+4>>2]|0;f=(g|0)<(e|0)|((g|0)==(e|0)?j>>>0<=(c[f>>2]|0)>>>0:0);f=f&1;return f|0}i=+h[f>>3];f=lQ(j|0,g|0,0,2097152)|0;e=z;if(e>>>0<4194304|(e|0)==4194304&f>>>0<1){f=+(j>>>0)+4294967296.0*+(g|0)<=i;f=f&1;return f|0}if(i>=9223372036854775808.0){f=1;f=f&1;return f|0}if(!(i>=-9223372036854775808.0)){f=0;f=f&1;return f|0}f=+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0;f=(f|0)>(g|0)|(f|0)==(g|0)&~~i>>>0>>>0>=j>>>0;f=f&1;return f|0}else{i=+h[e>>3];if((k|0)==3){f=i<=+h[f>>3];f=f&1;return f|0}if(!(i==i&0.0==0.0)){f=0;f=f&1;return f|0}j=f;g=c[j>>2]|0;j=c[j+4>>2]|0;f=lQ(g|0,j|0,0,2097152)|0;e=z;if(!(e>>>0<4194304|(e|0)==4194304&f>>>0<1))if(!(i>=9223372036854775808.0))if(i>-9223372036854775808.0){f=+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0;g=(f|0)>(j|0)|(f|0)==(j|0)&~~i>>>0>>>0>g>>>0}else g=0;else g=1;else g=+(g>>>0)+4294967296.0*+(j|0)>2]&15|0)==4){g=c[e>>2]|0;j=c[f>>2]|0;b=g+16|0;if((a[g+4>>0]|0)==4)k=d[g+7>>0]|0;else k=c[g+12>>2]|0;e=j+16|0;if((a[j+4>>0]|0)==4)j=d[j+7>>0]|0;else j=c[j+12>>2]|0;g=hO(b,e)|0;a:do if(!g){f=j;while(1){g=JO(b)|0;j=(g|0)==(k|0);if((g|0)==(f|0))break;if(j){g=-1;break a}j=g+1|0;b=b+j|0;e=e+j|0;g=hO(b,e)|0;if(g|0)break a;else{k=k-j|0;f=f-j|0}}g=(j^1)&1}while(0);f=(g|0)<1;f=f&1;return f|0}break}default:{}}g=b+8|0;if(rx(b,e,f,c[g>>2]|0,21)|0){g=c[g>>2]|0;switch(c[g+8>>2]|0){case 1:{f=(c[g>>2]|0)!=0;f=f&1;return f|0}case 0:{f=0;f=f&1;return f|0}default:{f=1;f=f&1;return f|0}}}k=b+16|0;l=(c[k>>2]|0)+34|0;a[l>>0]=a[l>>0]|-128;if(!(rx(b,f,e,c[g>>2]|0,20)|0)){l=(c[k>>2]|0)+34|0;a[l>>0]=a[l>>0]^-128;bw(b,c[j>>2]|0,c[f+8>>2]|0)}g=c[g>>2]|0;switch(c[g+8>>2]|0){case 0:{g=1;break}case 1:{g=(c[g>>2]|0)==0;break}default:g=0}l=(c[k>>2]|0)+34|0;a[l>>0]=a[l>>0]^-128;l=g;l=l&1;return l|0}function Ax(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,i=0,j=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;t=l;l=l+16|0;r=t;g=c[e+8>>2]|0;m=f+8|0;i=c[m>>2]|0;if((g^i)&63|0){b=g&15;if(!((b|0)==3&(b|0)==(i&15|0))){s=0;s=s&1;l=t;return s|0}do if((g|0)==19){b=e;g=i;n=c[b>>2]|0;i=c[b+4>>2]|0}else{k=r+8|0;a:while(1){switch(g|0){case 3:{s=7;break a}case 19:{s=10;break a}default:{}}if((g&15|0)!=4)break;i=Iw((c[e>>2]|0)+16|0,r)|0;g=c[e>>2]|0;if((a[g+4>>0]|0)==4)g=d[g+7>>0]|0;else g=c[g+12>>2]|0;if((i|0)!=(g+1|0))break;e=r;g=c[k>>2]|0}if((s|0)==7){u=+h[e>>3];j=+A(+u);if(!(u!=j)?j>=-9223372036854775808.0&j<9223372036854775808.0:0){e=~~j>>>0;i=+B(j)>=1.0?(j>0.0?~~+P(+A(j/4294967296.0),4294967295.0)>>>0:~~+N((j-+(~~j>>>0))/4294967296.0)>>>0):0;s=18}}else if((s|0)==10){i=e;e=c[i>>2]|0;i=c[i+4>>2]|0;s=18}if((s|0)==18){g=c[m>>2]|0;n=e;break}s=0;s=s&1;l=t;return s|0}while(0);do if((g|0)==19){g=f;e=c[g>>2]|0;g=c[g+4>>2]|0}else{m=r+8|0;e=f;b:while(1){switch(g|0){case 3:{s=23;break b}case 19:{s=26;break b}default:{}}if((g&15|0)!=4)break;k=Iw((c[e>>2]|0)+16|0,r)|0;g=c[e>>2]|0;if((a[g+4>>0]|0)==4)g=d[g+7>>0]|0;else g=c[g+12>>2]|0;if((k|0)!=(g+1|0))break;e=r;g=c[m>>2]|0}if((s|0)==23){u=+h[e>>3];j=+A(+u);if(!(u!=j)?j>=-9223372036854775808.0&j<9223372036854775808.0:0){e=~~j>>>0;g=+B(j)>=1.0?(j>0.0?~~+P(+A(j/4294967296.0),4294967295.0)>>>0:~~+N((j-+(~~j>>>0))/4294967296.0)>>>0):0;s=34}}else if((s|0)==26){g=e;e=c[g>>2]|0;g=c[g+4>>2]|0;s=34}if((s|0)==34)break;s=0;s=s&1;l=t;return s|0}while(0);s=(n|0)==(e|0)&(i|0)==(g|0);s=s&1;l=t;return s|0}c:do switch(g&63){case 19:{b=e;s=f;s=(c[b>>2]|0)==(c[s>>2]|0)?(c[b+4>>2]|0)==(c[s+4>>2]|0):0;s=s&1;l=t;return s|0}case 3:{s=+h[e>>3]==+h[f>>3];s=s&1;l=t;return s|0}case 1:{s=(c[e>>2]|0)==(c[f>>2]|0);s=s&1;l=t;return s|0}case 2:{s=(c[e>>2]|0)==(c[f>>2]|0);s=s&1;l=t;return s|0}case 22:{s=(c[e>>2]|0)==(c[f>>2]|0);s=s&1;l=t;return s|0}case 4:{s=(c[e>>2]|0)==(c[f>>2]|0);s=s&1;l=t;return s|0}case 20:{i=c[e>>2]|0;g=c[f>>2]|0;e=c[i+12>>2]|0;if((i|0)==(g|0)){s=1;s=s&1;l=t;return s|0}if((e|0)!=(c[g+12>>2]|0)){s=0;s=s&1;l=t;return s|0}s=(xN(i+16|0,g+16|0,e)|0)==0;s=s&1;l=t;return s|0}case 7:{g=c[e>>2]|0;m=c[f>>2]|0;if((g|0)==(m|0)){s=1;s=s&1;l=t;return s|0}if(!b){s=0;s=s&1;l=t;return s|0}g=c[g+8>>2]|0;do if(g|0?(n=g+6|0,o=a[n>>0]|0,(o&32)==0):0){k=c[(c[b+12>>2]|0)+168>>2]|0;g=(c[g+16>>2]|0)+(((1<>0])+-1&c[k+8>>2])<<5)|0;while(1){if((c[g+24>>2]|0)==68?(c[g+16>>2]|0)==(k|0):0){s=53;break}i=c[g+28>>2]|0;if(!i){g=316088;break}g=g+(i<<5)|0}if(c[g+8>>2]|0)if(!g)break;else break c;else{a[n>>0]=o|32;break}}while(0);g=c[m+8>>2]|0;if(!g){s=0;s=s&1;l=t;return s|0}m=g+6|0;n=a[m>>0]|0;if(n&32){s=0;s=s&1;l=t;return s|0}k=c[(c[b+12>>2]|0)+168>>2]|0;g=(c[g+16>>2]|0)+(((1<>0])+-1&c[k+8>>2])<<5)|0;while(1){if((c[g+24>>2]|0)==68?(c[g+16>>2]|0)==(k|0):0){s=64;break}i=c[g+28>>2]|0;if(!i){g=316088;break}g=g+(i<<5)|0}if(!(c[g+8>>2]|0)){a[m>>0]=n|32;s=0;s=s&1;l=t;return s|0}else s=93;break}case 5:{g=c[e>>2]|0;m=c[f>>2]|0;if((g|0)==(m|0)){s=1;s=s&1;l=t;return s|0}if(!b){s=0;s=s&1;l=t;return s|0}g=c[g+24>>2]|0;do if(g|0?(p=g+6|0,q=a[p>>0]|0,(q&32)==0):0){k=c[(c[b+12>>2]|0)+168>>2]|0;g=(c[g+16>>2]|0)+(((1<>0])+-1&c[k+8>>2])<<5)|0;while(1){if((c[g+24>>2]|0)==68?(c[g+16>>2]|0)==(k|0):0){s=76;break}i=c[g+28>>2]|0;if(!i){g=316088;break}g=g+(i<<5)|0}if(c[g+8>>2]|0)if(!g)break;else break c;else{a[p>>0]=q|32;break}}while(0);g=c[m+24>>2]|0;if(!g){s=0;s=s&1;l=t;return s|0}m=g+6|0;n=a[m>>0]|0;if(n&32){s=0;s=s&1;l=t;return s|0}k=c[(c[b+12>>2]|0)+168>>2]|0;g=(c[g+16>>2]|0)+(((1<>0])+-1&c[k+8>>2])<<5)|0;while(1){if((c[g+24>>2]|0)==68?(c[g+16>>2]|0)==(k|0):0){s=87;break}i=c[g+28>>2]|0;if(!i){g=316088;break}g=g+(i<<5)|0}if(!(c[g+8>>2]|0)){a[m>>0]=n|32;s=0;s=s&1;l=t;return s|0}else s=93;break}case 0:{s=1;s=s&1;l=t;return s|0}default:{s=(c[e>>2]|0)==(c[f>>2]|0);s=s&1;l=t;return s|0}}while(0);if((s|0)==93)if(!g){s=0;s=s&1;l=t;return s|0}s=b+8|0;q=c[s>>2]|0;p=b+28|0;r=c[p>>2]|0;c[s>>2]=q+16;o=q;c[o>>2]=c[g>>2];c[o+4>>2]=c[g+4>>2];c[o+8>>2]=c[g+8>>2];c[o+12>>2]=c[g+12>>2];g=c[s>>2]|0;c[s>>2]=g+16;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];g=c[s>>2]|0;c[s>>2]=g+16;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];iw(b,(c[s>>2]|0)+-48|0,1,a[(c[b+16>>2]|0)+34>>0]&2);g=(c[p>>2]|0)+(q-r)|0;f=(c[s>>2]|0)+-16|0;c[s>>2]=f;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];g=c[s>>2]|0;switch(c[g+8>>2]|0){case 1:{s=(c[g>>2]|0)!=0;s=s&1;l=t;return s|0}case 0:{s=0;s=s&1;l=t;return s|0}default:{s=1;s=s&1;l=t;return s|0}}return 0}function Bx(b,e){b=b|0;e=e|0;var 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;v=l;l=l+16|0;t=v;r=b+8|0;s=b+12|0;q=c[r>>2]|0;a:while(1){h=q+-32|0;i=q+-24|0;j=q+-16|0;b:do if(((c[i>>2]&15)+-3|0)>>>0<2){g=q+-8|0;f=c[g>>2]|0;switch(f&15){case 4:break;case 3:{Jw(b,j);f=c[g>>2]|0;break}default:{u=5;break b}}if((f|0)==68?(a[(c[j>>2]|0)+7>>0]|0)==0:0){if((c[i>>2]&15|0)!=3){f=2;break}Jw(b,h);f=2;break}if((c[i>>2]|0)==68?(a[(c[h>>2]|0)+7>>0]|0)==0:0){c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];c[h+12>>2]=c[j+12>>2];f=2;break}f=c[j>>2]|0;if((a[f+4>>0]|0)==4)g=d[f+7>>0]|0;else g=c[f+12>>2]|0;c:do if((e|0)>1){f=1;h=g;while(1){p=~f;g=q+(p<<4)|0;switch(c[q+(p<<4)+8>>2]&15){case 4:break;case 3:{Jw(b,g);break}default:{g=h;break c}}g=c[g>>2]|0;if((a[g+4>>0]|0)==4)g=d[g+7>>0]|0;else g=c[g+12>>2]|0;if(g>>>0>=~h>>>0){u=24;break a}g=g+h|0;f=f+1|0;if((f|0)<(e|0))h=g;else break c}}else f=1;while(0);m=c[s>>2]|0;n=m+108|0;o=m+116|0;p=c[o>>2]|0;if(p>>>0>>0){j=g>>>0>32?g:32;g=c[n>>2]|0;k=(g|0)!=0;i=m+4|0;h=jg[c[m>>2]&31](c[i>>2]|0,g,p,j)|0;if((j|0)!=0&(h|0)==0){if(!(c[m+140>>2]|0)){u=31;break a}Fw(b,1);h=jg[c[m>>2]&31](c[i>>2]|0,g,p,j)|0;if(!h){u=31;break a}}m=m+12|0;c[m>>2]=(k?0-p|0:0)+j+(c[m>>2]|0);c[n>>2]=h;c[o>>2]=j}else h=c[n>>2]|0;j=f;k=0;while(1){g=c[q+(0-j<<4)>>2]|0;if((a[g+4>>0]|0)==4)i=d[g+7>>0]|0;else i=c[g+12>>2]|0;CQ(h+k|0,g+16|0,i|0)|0;k=i+k|0;if((j|0)<=1)break;else j=j+-1|0}p=0-f|0;o=jx(b,h,k)|0;c[q+(p<<4)>>2]=o;c[q+(p<<4)+8>>2]=(a[o+4>>0]|64)&255}else u=5;while(0);if((u|0)==5){u=0;if(!(rx(b,h,j,h,22)|0)){u=6;break}else f=2}e=e+1-f|0;q=(c[r>>2]|0)+(1-f<<4)|0;c[r>>2]=q;if((e|0)<=1){u=40;break}}if((u|0)==6)Yv(b,((c[i>>2]&15)+-3|0)>>>0<2?j:h,279564);else if((u|0)==24)_v(b,281574,t);else if((u|0)==31)cw(b,4);else if((u|0)==40){l=v;return}}function Cx(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;g=c[f+8>>2]|0;a:do switch(g&63){case 5:{j=c[f>>2]|0;g=c[j+24>>2]|0;do if(g|0?(k=g+6|0,l=a[k>>0]|0,(l&16)==0):0){i=c[(c[b+12>>2]|0)+164>>2]|0;g=(c[g+16>>2]|0)+(((1<<(d[g+7>>0]|0))+-1&c[i+8>>2])<<5)|0;while(1){if((c[g+24>>2]|0)==68?(c[g+16>>2]|0)==(i|0):0){m=7;break}h=c[g+28>>2]|0;if(!h){g=316088;break}g=g+(h<<5)|0}if(c[g+8>>2]|0)if(!g)break;else{j=g;break a}else{a[k>>0]=l|16;break}}while(0);b=qx(j)|0;f=e;c[f>>2]=b;c[f+4>>2]=((b|0)<0)<<31>>31;c[e+8>>2]=19;return}case 4:{b=e;c[b>>2]=d[(c[f>>2]|0)+7>>0];c[b+4>>2]=0;c[e+8>>2]=19;return}case 20:{b=e;c[b>>2]=c[(c[f>>2]|0)+12>>2];c[b+4>>2]=0;c[e+8>>2]=19;return}default:{switch(g&15){case 5:{g=(c[f>>2]|0)+24|0;break}case 7:{g=(c[f>>2]|0)+8|0;break}default:g=(c[b+12>>2]|0)+244+((g&15)<<2)|0}g=c[g>>2]|0;b:do if(!g)g=316088;else{i=c[(c[b+12>>2]|0)+164>>2]|0;g=(c[g+16>>2]|0)+(((1<<(d[g+7>>0]|0))+-1&c[i+8>>2])<<5)|0;while(1){if((c[g+24>>2]|0)==68?(c[g+16>>2]|0)==(i|0):0)break;h=c[g+28>>2]|0;if(!h){g=316088;break b}g=g+(h<<5)|0}}while(0);if(!(c[g+8>>2]|0))Yv(b,f,281597);else j=g}}while(0);k=b+28|0;l=c[k>>2]|0;m=b+8|0;i=c[m>>2]|0;c[m>>2]=i+16;c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];j=c[m>>2]|0;c[m>>2]=j+16;c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];j=c[m>>2]|0;c[m>>2]=j+16;c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];iw(b,(c[m>>2]|0)+-48|0,1,a[(c[b+16>>2]|0)+34>>0]&2);f=(c[k>>2]|0)+(e-l)|0;e=(c[m>>2]|0)+-16|0;c[m>>2]=e;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];return}function Dx(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[b+16>>2]|0;h=i+16|0;e=c[h>>2]|0;j=i+20|0;k=c[j>>2]|0;l=c[k+-4>>2]|0;switch(l&63){case 12:case 7:case 6:case 28:case 26:case 25:case 17:case 16:case 24:case 23:case 22:case 21:case 20:case 19:case 18:case 15:case 14:case 13:{l=e+((l>>>6&255)<<4)|0;j=b+8|0;k=(c[j>>2]|0)+-16|0;c[j>>2]=k;c[l>>2]=c[k>>2];c[l+4>>2]=c[k+4>>2];c[l+8>>2]=c[k+8>>2];c[l+12>>2]=c[k+12>>2];return}case 31:case 32:case 33:{f=b+8|0;g=c[f>>2]|0;switch(c[g+-8>>2]|0){case 0:{e=1;break}case 1:{e=(c[g+-16>>2]|0)==0;break}default:e=0}e=e&1;c[f>>2]=g+-16;f=i+34|0;g=d[f>>0]|0;if(!(g&128))e=e^1;else a[f>>0]=g^128;if((e|0)==(l>>>6&255|0))return;c[j>>2]=k+4;return}case 29:{f=b+8|0;k=c[f>>2]|0;j=k+-16|0;g=k+-32|0;e=g-(e+(l>>>23<<4))|0;k=k+-48|0;c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];c[k+12>>2]=c[j+12>>2];if((e|0)>16){c[f>>2]=g;Bx(b,e>>4)}l=(c[h>>2]|0)+((l>>>6&255)<<4)|0;k=(c[f>>2]|0)+-16|0;c[l>>2]=c[k>>2];c[l+4>>2]=c[k+4>>2];c[l+8>>2]=c[k+8>>2];c[l+12>>2]=c[k+12>>2];c[f>>2]=c[i+4>>2];return}case 41:{c[b+8>>2]=c[i+4>>2];return}case 36:{if(!(l&8372224))return;c[b+8>>2]=c[i+4>>2];return}default:return}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)+4|0;c[x>>2]=(c[x>>2]|0)+1}x=c[g>>2]|0;j=(c[w>>2]|0)-x>>4;j=j>>>0>2?x+(j+-3<<4)|0:0;j=(j|0)==0?944:j;if((c[j>>2]|0)!=9)In(a,1834,-3,268820);k=c[j+8>>2]|0;if(!k)In(a,1834,-3,268820);po(a,-2,1);x=c[g>>2]|0;j=(c[w>>2]|0)-x>>4;j=j>>>0>1?x+(j+-2<<4)|0:0;j=(j|0)==0?944:j;if((c[j>>2]|0)==8?(q=c[j+8>>2]|0,(q|0)!=0):0)j=q;else r=46;do if((r|0)==46){Ho(a,-2)|0;x=c[g>>2]|0;j=(c[w>>2]|0)-x>>4;j=j>>>0>1?x+(j+-2<<4)|0:0;j=(j|0)==0?944:j;if((c[j>>2]|0)!=8){j=0;break}j=c[j+8>>2]|0}while(0);ho(a,k,j,0);k=c[w>>2]|0;j=c[g>>2]|0;if((k|0)==(j|0))Jn(a,268491,50336874,268507);l=k+-16|0;c[w>>2]=l;x=c[k+-16>>2]|0;k=c[k+-8>>2]|0;c[l>>2]=2;do if(!(x&8))k=l;else{r=k+4|0;x=(c[r>>2]|0)+-1|0;c[r>>2]=x;if(x|0){k=l;break}go(c[p>>2]|0,k);k=c[w>>2]|0;j=c[g>>2]|0}while(0);c[u+52>>2]=o;c[u+56>>2]=o;c[n>>2]=(c[n>>2]|0)+2;if((k|0)==(j|0))Jn(a,268491,50336874,268507);r=k+-16|0;c[w>>2]=r;x=c[k+-16>>2]|0;j=c[k+-8>>2]|0;c[r>>2]=2;if(!(x&8))break;r=j+4|0;x=(c[r>>2]|0)+-1|0;c[r>>2]=x;if(x|0)break;go(c[p>>2]|0,j)}while(0);p=a+72|0;o=a+428|0;q=a+44|0;n=0;while(1){g=e[34148+(n<<1)>>1]|0;j=c[w>>2]|0;d=j-(c[p>>2]|0)|0;x=d>>4;f=x+-1|0;if(!x){r=62;break}k=c[(c[o>>2]|0)+(g<<2)>>2]|0;if(j>>>0>=(c[v>>2]|0)>>>0){r=64;break}c[w>>2]=j+16;c[j>>2]=8;c[j+8>>2]=k;k=k+4|0;c[k>>2]=(c[k>>2]|0)+1;k=c[p>>2]|0;l=(c[w>>2]|0)-k>>4;j=((d|0)<16?l:0)+f|0;if(j>>>0>=l>>>0){r=66;break}d=ro(a,k+(j<<4)|0,k+(l+-1<<4)|0)|0;k=c[p>>2]|0;l=(c[w>>2]|0)-k>>4;j=l+-2|0;if(l>>>0<=1){r=68;break}f=k+(j<<4)|0;r=k+(l+-1<<4)|0;x=c[f>>2]|0;j=c[k+(j<<4)+8>>2]|0;DQ(f|0,f+16|0,r-f|0)|0;c[r>>2]=2;c[w>>2]=(c[w>>2]|0)+-16;if(x&8|0?(r=j+4|0,x=(c[r>>2]|0)+-1|0,c[r>>2]=x,(x|0)==0):0)go(c[q>>2]|0,j);if(!d){j=c[w>>2]|0;if((j|0)==(c[p>>2]|0)){r=78;break}r=j+-16|0;c[w>>2]=r;x=c[j+-16>>2]|0;j=c[j+-8>>2]|0;c[r>>2]=2;if(x&8|0?(r=j+4|0,x=(c[r>>2]|0)+-1|0,c[r>>2]=x,(x|0)==0):0)go(c[q>>2]|0,j)}else{x=c[p>>2]|0;j=(c[w>>2]|0)-x>>4;j=j>>>0>2?x+(j+-3<<4)|0:0;j=(j|0)==0?944:j;if((c[j>>2]|0)!=9){r=75;break}j=c[j+8>>2]|0;if(!j){r=75;break}ho(a,j,c[(c[o>>2]|0)+(g<<2)>>2]|0,4)}n=n+1|0;if(n>>>0>=4){r=83;break}}if((r|0)==62)$n(a,267,-1);else if((r|0)==64)Sn(a,3761);else if((r|0)==66)$n(a,342,f);else if((r|0)==68)$n(a,342,-2);else if((r|0)==75)In(a,1834,-3,268820);else if((r|0)==78)Jn(a,268491,50336874,268507);else if((r|0)==83){j=c[w>>2]|0;d=j-(c[p>>2]|0)|0;x=d>>4;f=x+-1|0;if(!x)$n(a,267,-1);k=c[(c[o>>2]|0)+368>>2]|0;if(j>>>0>=(c[v>>2]|0)>>>0)Sn(a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;x=(c[s>>2]|0)+-1|0;c[s>>2]=x;if(x|0)break;go(c[q>>2]|0,j);k=c[p>>2]|0}while(0);l=c[w>>2]|0;if(l-k>>4>>>0<3)Jn(a,268491,50336767,268507);s=l+-16|0;x=c[s>>2]|0;j=c[l+-8>>2]|0;c[s>>2]=2;do if(x&8|0){s=j+4|0;x=(c[s>>2]|0)+-1|0;c[s>>2]=x;if(x|0)break;Wn(c[q>>2]|0,j)}while(0);s=l+-32|0;x=c[s>>2]|0;j=c[l+-24>>2]|0;c[s>>2]=2;do if(x&8|0){s=j+4|0;x=(c[s>>2]|0)+-1|0;c[s>>2]=x;if(x|0)break;Wn(c[q>>2]|0,j)}while(0);s=l+-48|0;x=c[s>>2]|0;j=c[l+-40>>2]|0;c[s>>2]=2;do if(x&8|0){s=j+4|0;x=(c[s>>2]|0)+-1|0;c[s>>2]=x;if(x|0)break;Wn(c[q>>2]|0,j)}while(0);c[w>>2]=l+-48;j=c[q>>2]|0;if(c[j+32>>2]|0)Rn(j);l=m>=0.0&m<=4294967295.0?~~m>>>0:0;break a}case 6:{l=(c[j+4>>2]|0)>>>4&15;break a}case 10:{l=c[(c[j+8>>2]|0)+16>>2]|0;break a}case 8:{j=c[j+8>>2]|0;if(c[j>>2]&512|0){l=0;break a}l=wp(j)|0;break a}default:{l=0;break a}}}while(0);k=c[w>>2]|0;if((k|0)==(c[p>>2]|0))Jn(a,268491,50336874,268507);j=k+-16|0;c[w>>2]=j;x=c[k+-16>>2]|0;k=c[k+-8>>2]|0;c[j>>2]=2;if((x&8|0)!=0?(s=k+4|0,x=(c[s>>2]|0)+-1|0,c[s>>2]=x,(x|0)==0):0){go(c[q>>2]|0,k);j=c[w>>2]|0}if(j>>>0>=(c[v>>2]|0)>>>0)Sn(a,3902);s=j+16|0;c[w>>2]=s;c[j>>2]=0;h[j+8>>3]=+(l>>>0);x=c[p>>2]|0;j=s-x>>4;j=j>>>0>2?x+(j+-3<<4)|0:0;j=(j|0)==0?944:j;if((c[j>>2]|0)!=9)In(a,1834,-3,268820);j=c[j+8>>2]|0;if(!j)In(a,1834,-3,268820);ho(a,j,c[(c[o>>2]|0)+320>>2]|0,4);do if(!((i|0)==0|t)){Bq(a,134234240,3)|0;j=c[w>>2]|0;if(j>>>0>=(c[v>>2]|0)>>>0)Sn(a,935);k=c[p>>2]|0;l=j-k>>4;if(l>>>0<=2)$n(a,342,-3);x=k+(l+-3<<4)|0;c[w>>2]=j+16;c[j>>2]=c[x>>2];c[j+4>>2]=c[x+4>>2];c[j+8>>2]=c[x+8>>2];c[j+12>>2]=c[x+12>>2];if(c[j>>2]&8|0){x=(c[j+8>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}x=c[p>>2]|0;j=(c[w>>2]|0)-x>>4;j=j>>>0>1?x+(j+-2<<4)|0:0;j=(j|0)==0?944:j;if((c[j>>2]|0)!=9)In(a,1834,-2,268820);j=c[j+8>>2]|0;if(!j)In(a,1834,-2,268820);ho(a,j,c[(c[o>>2]|0)+204>>2]|0,5);j=c[w>>2]|0;l=c[p>>2]|0;k=j-l>>4;k=k|0?l+(k+-1<<4)|0:0;k=(k|0)==0?944:k;do if((c[k>>2]|0)==9){k=c[k+8>>2]|0;if(!k){k=l;break}yp(a,k);k=c[p>>2]|0;j=c[w>>2]|0}else k=l;while(0);j=j-k>>4;j=j>>>0>2?k+(j+-3<<4)|0:0;j=(j|0)==0?944:j;if((c[j>>2]|0)!=9)In(a,1834,-3,268820);j=c[j+8>>2]|0;if(!j)In(a,1834,-3,268820);else{ho(a,j,c[(c[o>>2]|0)+200>>2]|0,1);break}}while(0);if(c[u>>2]&65536|0){j=c[w>>2]|0;l=j-(c[p>>2]|0)>>4;if(l>>>0<=1)$n(a,267,-2);k=c[(c[o>>2]|0)+276>>2]|0;if(j>>>0>=(c[v>>2]|0)>>>0)Sn(a,3761);c[w>>2]=j+16;c[j>>2]=8;c[j+8>>2]=k;d=k+4|0;c[d>>2]=(c[d>>2]|0)+1;d=a+268|0;j=c[d>>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>>2]=8;c[j+8>>2]=k;k=k+4|0;c[k>>2]=(c[k>>2]|0)+1;k=c[p>>2]|0;l=(c[w>>2]|0)-k>>4;j=((d|0)<16?l:0)+f|0;if(j>>>0>=l>>>0)$n(a,342,f);d=ro(a,k+(j<<4)|0,k+(l+-1<<4)|0)|0;k=c[p>>2]|0;l=(c[w>>2]|0)-k>>4;j=l+-2|0;if(l>>>0<=1)$n(a,342,-2);u=k+(j<<4)|0;v=k+(l+-1<<4)|0;x=c[u>>2]|0;j=c[k+(j<<4)+8>>2]|0;DQ(u|0,u+16|0,v-u|0)|0;c[v>>2]=2;c[w>>2]=(c[w>>2]|0)+-16;do if(x&8|0){v=j+4|0;x=(c[v>>2]|0)+-1|0;c[v>>2]=x;if(x|0)break;go(c[q>>2]|0,j)}while(0);do if(d){x=c[p>>2]|0;j=(c[w>>2]|0)-x>>4;j=j>>>0>2?x+(j+-3<<4)|0:0;j=(j|0)==0?944:j;if((c[j>>2]|0)!=9)In(a,1834,-3,268820);j=c[j+8>>2]|0;if(!j)In(a,1834,-3,268820);else{ho(a,j,c[(c[o>>2]|0)+344>>2]|0,4);break}}else{j=c[w>>2]|0;if((j|0)==(c[p>>2]|0))Jn(a,268491,50336874,268507);v=j+-16|0;c[w>>2]=v;x=c[j+-16>>2]|0;j=c[j+-8>>2]|0;c[v>>2]=2;if(!(x&8))break;v=j+4|0;x=(c[v>>2]|0)+-1|0;c[v>>2]=x;if(x|0)break;go(c[q>>2]|0,j)}while(0);l=c[w>>2]|0;j=c[p>>2]|0;k=l-j>>4;k=k>>>0>1?j+(k+-2<<4)|0:0;k=(k|0)==0?944:k;do if((c[k>>2]|0)==9){k=c[k+8>>2]|0;if(!k){k=l;break}yp(a,k);k=c[w>>2]|0;j=c[p>>2]|0}else k=l;while(0);if((k|0)==(j|0))Jn(a,268491,50336874,268507);a=k+-16|0;c[w>>2]=a;x=c[k+-16>>2]|0;j=c[k+-8>>2]|0;c[a>>2]=2;if(!(x&8))return;w=j+4|0;x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p)Rp(c[f>>2]|0,e);f=c[f>>2]|0;if(!(c[f+32>>2]|0))break;Rn(f);break}}if(!g){p=0;l=n;return p|0}else Jn(b,268642,100667671,269358)}while(0);if((m|0)==-1){p=1;l=n;return p|0}if(!(c[d>>2]&16777216)){p=1;l=n;return p|0}p=c[(c[b+428>>2]|0)+392>>2]|0;if(!(io(b,d,p,c[p+16>>2]|0,k,1)|0)){p=1;l=n;return p|0}g=b+76|0;i=c[g>>2]|0;h=c[b+72>>2]|0;f=i-h>>4;f=f|0?h+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(b,1834,-1,268820);j=c[f+8>>2]|0;if(!j)In(b,1834,-1,268820);if((i|0)==(h|0))Jn(b,268491,50336874,268507);o=i+-16|0;c[g>>2]=o;p=c[i+-16>>2]|0;f=c[i+-8>>2]|0;c[o>>2]=2;if(p&8|0?(o=f+4|0,p=(c[o>>2]|0)+-1|0,c[o>>2]=p,(p|0)==0):0)go(c[b+44>>2]|0,f);ip(b,j,e,0)|0;p=1;l=n;return p|0}function jp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+108|0;j=(c[h>>2]|0)+4|0;if(j>>>0>=(c[a+60>>2]|0)>>>0)Jn(a,271146,50331987,271167);f=c[a+44>>2]|0;g=j*20|0;e=f+36|0;i=c[e>>2]|0;c[e>>2]=i+-1;if((i|0)<1)Ln(f,2);d=f+8|0;e=f+16|0;i=a+104|0;b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if((g|0)==0|(b|0)!=0)if(!b)Mn(a,271146,353);else{a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,0);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,0);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(b|0){a=b;c[i>>2]=a;c[h>>2]=j;return}Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b)Mn(a,271146,353);else{a=b;c[i>>2]=a;c[h>>2]=j;return}}function kp(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0;r=a+104|0;g=c[r>>2]|0;q=a+112|0;f=c[q>>2]|0;p=a+96|0;j=(c[p>>2]|0)+-1|0;m=g;k=g+(f*20|0)|0;while(1){i=k;k=k+-20|0;if(k>>>0>>0){i=30;break}if((c[i+-12>>2]|0)!=(j|0)){i=30;break}i=c[i+-4>>2]|0;if((i&47|0)==33){i=5;break}if((i&15|0)==2&(i>>>8|0)==(d|0)){i=22;break}}if((i|0)==5){n=(k-m|0)/20|0;l=+(d>>>0);m=a+64|0;j=c[m>>2]|0;f=c[g+(n*20|0)+12>>2]|0;g=j+(f<<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>>2]|0)+4;r=r+(n*20|0)+16|0;c[r>>2]=c[r>>2]&-33;return}else if((i|0)==22){j=(k-m|0)/20|0;c[(c[a+88>>2]|0)+28>>2]=(c[g+(j*20|0)+4>>2]|0)+(((e|0)==5&1)<<2);j=j+1|0;a:do if(f>>>0>j>>>0){k=a+84|0;i=a+44|0;while(1){f=f+-1|0;if(c[g+(f*20|0)+16>>2]&128|0?(a=(c[k>>2]|0)+((c[g+(f*20|0)+8>>2]|0)*48|0)+24|0,n=c[a>>2]|0,p=c[n+20>>2]|0,c[a>>2]=p,p=p+4|0,c[p>>2]=(c[p>>2]|0)+1,p=n+4|0,a=(c[p>>2]|0)+-1|0,c[p>>2]=a,(a|0)==0):0)bo(c[i>>2]|0,n);if(f>>>0<=j>>>0)break a;g=c[r>>2]|0}}while(0);c[q>>2]=j;return}else if((i|0)==30)lo(a,269128,1533)}function lp(a,b,d){a=a|0;b=b|0;d=d|0;c[a+76>>2]=b;b=a+88|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];if(!(c[d>>2]&8))return;d=(c[d+8>>2]|0)+4|0;c[d>>2]=(c[d>>2]|0)+1;return}function mp(a){a=a|0;Ep(a,106);return}function np(a){a=a|0;var b=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;p=l;l=l+1168|0;j=p;m=a+76|0;f=c[m>>2]|0;n=a+72|0;b=c[n>>2]|0;b=(f|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=8){l=p;return 1}e=c[b+8>>2]|0;if(!e){l=p;return 1}if(c[e>>2]&512|0){l=p;return 1}g=a+88|0;b=c[g>>2]|0;i=a+96|0;k=c[i>>2]|0;if(k>>>0>1?(c[(c[a+84>>2]|0)+(k*48|0)+-96+32>>2]&1|0)!=0:0)b=c[b+32>>2]<<1&32|8;else b=8;d=c[(c[a+428>>2]|0)+416>>2]|0;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];c[j+4>>2]=c[e+4>>2];c[j+8>>2]=c[e+8>>2];c[j+12>>2]=c[e+12>>2];DQ(d+16|0,d|0,b<<4|0)|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]}hp(a,h,f,f,0)}b=(c[a+64>>2]|0)+(c[(c[g>>2]|0)+((c[i>>2]|0)*48|0)+-96+36>>2]<<4)+-16|0;d=c[m>>2]|0;if(d>>>0>=(c[k>>2]|0)>>>0)Sn(a,3761);c[m>>2]=d+16;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];if(c[b>>2]&8|0){b=c[b+8>>2]|0;o=36}}while(0);if((o|0)==36){o=b+4|0;c[o>>2]=(c[o>>2]|0)+1}b=(c[m>>2]|0)-(c[n>>2]|0)|0;if((b|0)<32)Tn(a,268476,76);so(a,0,0,(b+-32|0)>>>4);l=p;return 1}function op(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=l;l=l+32|0;i=u+16|0;q=u;d=~b;s=a+76|0;f=c[s>>2]|0;t=a+72|0;g=c[t>>2]|0;h=f-g>>4;p=((b|0)>-1?h:0)+d|0;e=f;if(p>>>0>=h>>>0)$n(a,267,d);n=a+68|0;if(e>>>0>=(c[n>>2]|0)>>>0)Sn(a,935);o=(p|0)<0;d=(o?h:0)+p|0;if(d>>>0>=h>>>0)$n(a,342,p);j=g+(d<<4)|0;c[s>>2]=e+16;r=f;c[r>>2]=c[j>>2];c[r+4>>2]=c[j+4>>2];c[r+8>>2]=c[j+8>>2];c[r+12>>2]=c[j+12>>2];if(c[e>>2]&8|0){r=(c[e+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}j=a+428|0;r=a+44|0;a:while(1){f=c[s>>2]|0;d=f;switch(c[f+-16>>2]|0){case 6:{d=29;break a}case 9:break;default:{d=102;break a}}e=c[c[f+-8>>2]>>2]|0;if((e&6656|0)==0|(e&256|0)==0){d=102;break}if(!(e&512)){d=29;break}g=d-(c[t>>2]|0)|0;e=g>>4;h=e+-1|0;if(!e){d=14;break}d=c[(c[j>>2]|0)+404>>2]|0;if(f>>>0>=(c[n>>2]|0)>>>0){d=16;break}c[s>>2]=f+16;c[f>>2]=8;c[f+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[t>>2]|0;f=(c[s>>2]|0)-e>>4;d=((g|0)<16?f:0)+h|0;if(d>>>0>=f>>>0){d=18;break}ro(a,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[t>>2]|0;f=(c[s>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1){d=20;break}v=e+(d<<4)|0;g=e+(f+-1<<4)|0;h=c[v>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(v|0,v+16|0,g-v|0)|0;c[g>>2]=2;e=(c[s>>2]|0)+-16|0;c[s>>2]=e;if((h&8|0)!=0?(h=d+4|0,v=(c[h>>2]|0)+-1|0,c[h>>2]=v,(v|0)==0):0){go(c[r>>2]|0,d);e=c[s>>2]|0}f=c[t>>2]|0;e=e-f>>4;d=e+-2|0;if(e>>>0<=1){d=25;break}g=f+(d<<4)|0;h=f+(e+-1<<4)|0;v=c[g>>2]|0;d=c[f+(d<<4)+8>>2]|0;DQ(g|0,g+16|0,h-g|0)|0;c[h>>2]=2;c[s>>2]=(c[s>>2]|0)+-16;if(!(v&8))continue;h=d+4|0;v=(c[h>>2]|0)+-1|0;c[h>>2]=v;if(v|0)continue;go(c[r>>2]|0,d)}if((d|0)==14)$n(a,267,-1);else if((d|0)==16)Sn(a,3761);else if((d|0)==18)$n(a,342,h);else if((d|0)==20)$n(a,342,-2);else if((d|0)==25)$n(a,342,-2);else if((d|0)==29){if(f>>>0>=(c[n>>2]|0)>>>0)Sn(a,4255);f=xo(a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c[q+4>>2]=c[g+4>>2];c[q+8>>2]=c[g+8>>2];c[q+12>>2]=c[g+12>>2];DQ(i+16|0,i|0,h|0)|0;c[i>>2]=c[q>>2];c[i+4>>2]=c[q+4>>2];c[i+8>>2]=c[q+8>>2];c[i+12>>2]=c[q+12>>2];d=c[t>>2]|0;f=c[s>>2]|0;e=d}if((f|0)==(e|0))Jn(a,268491,50336874,268507);q=f+-16|0;c[s>>2]=q;v=c[f+-16>>2]|0;e=c[f+-8>>2]|0;c[q>>2]=2;f=q;do if(v&8){q=e+4|0;v=(c[q>>2]|0)+-1|0;c[q>>2]=v;if(v|0)break;go(c[r>>2]|0,e);f=c[s>>2]|0;d=c[t>>2]|0}while(0);d=f-d|0;e=(b<<4)+32|0;if(d>>>0>>0)Tn(a,268521,942);so(a,b,2,(d-e|0)>>>4);d=c[s>>2]|0;e=c[t>>2]|0;f=d-e>>4;g=e+(f+-1<<4)|0;v=f|0?g:0;do if(!(447>>>(c[((v|0)==0?944:v)>>2]|0)&1)){d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);b=e+(d<<4)|0;v=c[b>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(b|0,b+16|0,g-b|0)|0;c[g>>2]=2;c[s>>2]=(c[s>>2]|0)+-16;if(!(v&8))break;b=d+4|0;v=(c[b>>2]|0)+-1|0;c[b>>2]=v;if(v|0)break;go(c[r>>2]|0,d)}else{if((d|0)==(e|0))Jn(a,268491,50336874,268507);b=d+-16|0;c[s>>2]=b;v=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[b>>2]=2;if(!(v&8))break;b=d+4|0;v=(c[b>>2]|0)+-1|0;c[b>>2]=v;if(v|0)break;go(c[r>>2]|0,d)}while(0);d=c[a+40>>2]|0;if(d|0)c[(c[a+88>>2]|0)+28>>2]=c[d>>2];v=c[t>>2]|0;d=(c[s>>2]|0)-v>>4;d=d|0?v+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9){l=u;return}g=c[d+8>>2]|0;if(!g){l=u;return}f=c[a+208>>2]|0;if(!f){l=u;return}else{d=1e4;e=g}while(1){if((e|0)==(f|0)){d=99;break}if(!d){d=103;break}e=c[e+20>>2]|0;if(!e){d=103;break}else d=d+-1|0}if((d|0)==99){if(c[g>>2]&128|0)Dp(a,a,0,0,1,g);Ep(a,105);l=u;return}else if((d|0)==103){l=u;return}}else if((d|0)==102){c[i>>2]=Fp(a,-1)|0;ao(a,268476,100663729,269375,i)}}function pp(b,d,e,f,g,i,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0.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;Q=l;l=l+48|0;B=Q+32|0;M=Q+8|0;P=Q+4|0;N=Q;O=d&8;w=d&16;D=d&32;J=d&64;z=d&128;y=d&256;v=d&1;C=d&2;E=d&4;K=d&512;L=c[f+16>>2]|0;do if(c[e>>2]&4194304){if((c[(c[b+428>>2]|0)+320>>2]|0)!=(f|0)){if((L|0)==-1){I=0;H=0;F=0;G=0;x=23;break}if(L>>>0<(c[e+40>>2]|0)>>>0){I=0;H=0;F=0;G=0;x=23;break}if((K|0)!=0|(c[e+44>>2]|0)==0){I=0;H=0;F=L+1|0;G=0;x=23;break}else break}if(J){u=c[e+40>>2]|0;o=b+72|0;m=c[o>>2]|0;n=m+(g<<4)|0;if(!(c[n>>2]|0))r=+h[m+(g<<4)+8>>3];else r=+jo(b,n);s=~~r>>>0;t=+(s>>>0);if(t!=r)Jn(b,268642,50334652,268662);q=b+76|0;m=c[q>>2]|0;if(m>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3902);I=m+16|0;c[q>>2]=I;c[m>>2]=0;h[m+8>>3]=t;n=c[o>>2]|0;o=I-n>>4;if(!o)$n(b,342,-1);p=n+(o+-1<<4)|0;m=((g|0)<0?o:0)+g|0;if(m>>>0>=o>>>0)$n(b,342,g);H=n+(m<<4)|0;I=c[H>>2]|0;m=c[n+(m<<4)+8>>2]|0;c[H>>2]=c[p>>2];c[H+4>>2]=c[p+4>>2];c[H+8>>2]=c[p+8>>2];c[H+12>>2]=c[p+12>>2];c[p>>2]=2;c[q>>2]=(c[q>>2]|0)+-16;if(I&8|0?(H=m+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[b+44>>2]|0,m);if(s>>>0>>0){m=(d&9|0)==8;if((K|0)!=0|(c[e+44>>2]|0)==0){I=u;H=s;v=m?1:v;F=0;G=m&1;x=23}}else{I=u;H=s;F=0;G=0;x=23}}else{I=0;H=0;F=0;G=0;x=23}}else{I=0;H=0;F=0;G=0;x=23}while(0);a:do if((x|0)==23){b:do if(io(b,e,f,L,M,1)|0){A=(w|0)!=0;do if(A){m=c[M>>2]|0;n=(m&2|0)!=0;if(!C)if(n){B=M;break}else{x=76;break}else if(n){x=76;break}else{B=M;break}}else x=76;while(0);c:do if((x|0)==76){do if(D|0){m=c[M>>2]|0;n=(m&4|0)!=0;if(!E)if(n){B=M;break c}else break;else if(n)break;else{B=M;break c}}while(0);do if(J|0){m=c[M>>2]|0;if(m&8|0){B=M;break c}o=c[b+72>>2]|0;p=(c[b+76>>2]|0)-o>>4;if(!p)$n(b,342,-1);n=((g|0)<0?p:0)+g|0;if(n>>>0

>>0)if(!(Zo(0,o+(p+-1<<4)|0,o+(n<<4)|0,1)|0)){B=M;break c}else break;else $n(b,342,g)}while(0);do if(O|0){m=c[M>>2]|0;if(m&8|0){B=M;break c}n=(m&1|0)!=0;if(!v)if(n){B=M;break c}else break;else if(n)break;else{B=M;break c}}while(0);if(y|0){m=c[M>>2]|0;if(!(m&8)){B=M;break}if((c[M+8>>2]|0)!=(j|0)){B=M;break}}if(!z)break b;m=c[M>>2]|0;if((m&8|0)!=0?(c[M+4>>2]|0)==(i|0):0)break b;else B=M}while(0);q=m&4|K;do if(!q){if((d&36|0)==36)break a;if(A){n=(C|0)!=0;if(!(m&2))if(n)break a;else break;else if(n)break;else break a}}while(0);u=(y|0)!=0;w=(z|0)!=0;do if(!(d&384)){o=(J|0)!=0;p=(O|0)!=0;if(d&72){q=(q|0)!=0;if(!(m&8)){if(q)break;n=(m&1|0)==0;if((v|0)!=0&(p&n))break a;if(!(o&n))break;o=c[b+72>>2]|0;p=(c[b+76>>2]|0)-o>>4;if(!p)$n(b,342,-1);n=((g|0)<0?p:0)+g|0;if(n>>>0

>>0)if(!(Zo(0,o+(p+-1<<4)|0,o+(n<<4)|0,1)|0))break a;else break;else $n(b,342,g)}if(!q)break a;p=M+12|0;q=c[p>>2]|0;if((q|0)<0)break a;s=e+16|0;n=c[s>>2]|0;z=n+(q<<4)|0;m=c[z>>2]|0;c[z>>2]=0;if((m|0)!=0?(y=m+4|0,z=(c[y>>2]|0)+-1|0,c[y>>2]=z,(z|0)==0):0){bo(c[b+44>>2]|0,m);m=c[s>>2]|0;o=m}else{o=n;m=n}z=o+(q<<4)+4|0;n=c[z>>2]|0;c[z>>2]=0;if((n|0)!=0?(y=n+4|0,z=(c[y>>2]|0)+-1|0,c[y>>2]=z,(z|0)==0):0){bo(c[b+44>>2]|0,n);m=c[s>>2]|0;n=m}else n=o;c[n+(q<<4)>>2]=2;z=e+24|0;m=m+((c[z>>2]|0)*20|0)+q|0;a[m>>0]=a[m>>0]&-2;m=(c[s>>2]|0)+((c[z>>2]|0)*20|0)+(c[p>>2]|0)|0;a[m>>0]=a[m>>0]&-9;m=c[B>>2]&-10;c[B>>2]=m}}else{n=(q|0)!=0;if(m&8|0){if(n)break;if(u?(c[M+8>>2]|0)!=(j|0):0)break a;if(!w)break;if((c[M+4>>2]|0)==(i|0))break;else break a}if(!n)break a;if((c[M+20>>2]|0)>-1){Ap(b,e);m=b+76|0;n=c[m>>2]|0;if((n|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);y=n+-16|0;c[m>>2]=y;z=c[n+-16>>2]|0;m=c[n+-8>>2]|0;c[y>>2]=2;if(z&8|0?(y=m+4|0,z=(c[y>>2]|0)+-1|0,c[y>>2]=z,(z|0)==0):0)go(c[b+44>>2]|0,m);io(b,e,f,L,M,1)|0}p=c[M+12>>2]|0;if((p|0)<0)break a;q=e+16|0;n=c[q>>2]|0;y=n+(p<<4)|0;z=c[y>>2]|0;m=c[n+(p<<4)+8>>2]|0;c[y>>2]=2;if((z&8|0)!=0?(y=m+4|0,z=(c[y>>2]|0)+-1|0,c[y>>2]=z,(z|0)==0):0){Wn(c[b+44>>2]|0,m);m=c[q>>2]|0;o=m}else{o=n;m=n}c[o+(p<<4)>>2]=0;c[o+(p<<4)+4>>2]=0;z=e+24|0;m=m+((c[z>>2]|0)*20|0)+p|0;a[m>>0]=a[m>>0]&-2;m=(c[q>>2]|0)+((c[z>>2]|0)*20|0)+p|0;a[m>>0]=a[m>>0]|8;m=c[B>>2]&-10|8;c[B>>2]=m}while(0);do if(A)if(!C){m=m&-3;break}else{m=m|2;break}while(0);do if(D)if(!E){m=m&-5;break}else{m=m|4;break}while(0);do if(O)if(!v){m=m&-2;break}else{m=m|1;break}while(0);s=c[M+20>>2]|0;do if((s|0)>-1){if((m|0)!=7){Ap(b,e);n=b+76|0;o=c[n>>2]|0;if((o|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);D=o+-16|0;c[n>>2]=D;E=c[o+-16>>2]|0;n=c[o+-8>>2]|0;c[D>>2]=2;if(E&8|0?(D=n+4|0,E=(c[D>>2]|0)+-1|0,c[D>>2]=E,(E|0)==0):0)go(c[b+44>>2]|0,n);io(b,e,f,L,M,1)|0;break}n=c[b+72>>2]|0;i=(c[b+76>>2]|0)-n>>4;m=((g|0)<0?i:0)+g|0;if(m>>>0>=i>>>0)$n(b,342,g);p=n+(m<<4)|0;o=c[e+24>>2]|0;o=(c[e+16>>2]|0)+(o*21|0)+(0-o&7)|0;q=o+(s<<4)|0;if(c[p>>2]&8|0){i=(c[n+(m<<4)+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}if(!(c[q>>2]&8)){c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2];c[q+12>>2]=c[p+12>>2];x=204;break b}m=c[o+(s<<4)+8>>2]|0;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2];c[q+12>>2]=c[p+12>>2];j=m+4|0;i=(c[j>>2]|0)+-1|0;c[j>>2]=i;if(i|0){x=204;break b}go(c[b+44>>2]|0,m);x=204;break b}while(0);s=c[M+12>>2]|0;n=(s|0)>-1;if(!n){if((c[(c[b+428>>2]|0)+320>>2]|0)==(f|0)?c[e>>2]&4194304|0:0){if((c[B>>2]^m)&6|0)break a;c[e+44>>2]=m&1^1}}else a[(c[e+16>>2]|0)+((c[e+24>>2]|0)*20|0)+s>>0]=m;if(u){if((s|0)<0)break a;E=(c[e+16>>2]|0)+(s<<4)+4|0;m=c[E>>2]|0;c[E>>2]=j;if(j|0){j=j+4|0;c[j>>2]=(c[j>>2]|0)+1}if(m|0?(E=m+4|0,j=(c[E>>2]|0)+-1|0,c[E>>2]=j,(j|0)==0):0)fp(c[b+44>>2]|0,m)}if(w){if((s|0)<0)break a;j=(c[e+16>>2]|0)+(s<<4)|0;m=c[j>>2]|0;c[j>>2]=i;if(i|0){i=i+4|0;c[i>>2]=(c[i>>2]|0)+1}if(m|0?(j=m+4|0,i=(c[j>>2]|0)+-1|0,c[j>>2]=i,(i|0)==0):0)fp(c[b+44>>2]|0,m)}if(J){if(!n){if((c[(c[b+428>>2]|0)+320>>2]|0)!=(f|0))break a;if(!(c[e>>2]&4194304))break a;c[e+40>>2]=H;x=204;break}n=c[b+72>>2]|0;i=(c[b+76>>2]|0)-n>>4;m=((g|0)<0?i:0)+g|0;if(m>>>0>=i>>>0)$n(b,342,g);p=n+(m<<4)|0;o=c[e+16>>2]|0;q=o+(s<<4)|0;if(c[p>>2]&8|0){i=(c[n+(m<<4)+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}if(!(c[q>>2]&8)){c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2];c[q+12>>2]=c[p+12>>2];x=204;break}m=c[o+(s<<4)+8>>2]|0;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2];c[q+12>>2]=c[p+12>>2];j=m+4|0;i=(c[j>>2]|0)+-1|0;c[j>>2]=i;if(!i){go(c[b+44>>2]|0,m);x=204}else x=204}else x=204}else{o=c[e>>2]|0;if(!(o&128|K))if(!k){P=0;l=Q;return P|0}else Jn(b,268642,100669212,269343);m=(d&18|0)==18;if(d&384|0){w=m?10:8;w=(d&36|0)==36?w|4:w;if(!((L|0)==-1|(o&32768|0)==0))Ap(b,e);q=e+28|0;p=c[q>>2]|0;u=e+24|0;n=c[u>>2]|0;if(p>>>0>=n>>>0){if(!p)m=0;else{m=0;o=0;n=(c[e+16>>2]|0)+(n<<4)|0;while(1){m=((c[n>>2]|0)!=0&1)+m|0;o=o+1|0;if((o|0)==(p|0))break;else n=n+4|0}}o=((m+16|0)>>>3)+m|0;do if(o>>>0>7){if(o>>>0>63){m=2;n=o;do{E=n;n=n>>>6;m=m<<6}while(E>>>0>4095);if(!n)break}else{m=2;n=o}do{n=n>>>1;m=m<<1}while((n|0)!=0)}else m=0;while(0);ko(b,e,o,c[e+32>>2]|0,m,0);p=c[q>>2]|0;n=c[u>>2]|0}c[q>>2]=p+1;m=e+16|0;c[(c[m>>2]|0)+(n<<4)+(p<<2)>>2]=f;o=f+4|0;c[o>>2]=(c[o>>2]|0)+1;o=c[e+36>>2]|0;if(!o){m=c[m>>2]|0;n=m}else{s=c[m>>2]|0;q=s+(n*21|0)+(0-n&7)+(c[e+32>>2]<<4)|0;o=o+-1|0;m=c[f+12>>2]|0;while(1){m=m&o;n=q+(m<<2)|0;if((c[n>>2]|0)>>>0>4294967293)break;else m=m+1|0}c[n>>2]=p;n=s;m=s}c[n+(p<<4)>>2]=i;c[n+(p<<4)+4>>2]=j;if(i|0){i=i+4|0;c[i>>2]=(c[i>>2]|0)+1}if(j|0){i=j+4|0;c[i>>2]=(c[i>>2]|0)+1}a[m+((c[u>>2]|0)*20|0)+p>>0]=w;x=204;break}x=(O|0)!=0&(v|0)!=0&1;x=m?x|2:x;x=(d&36|0)==36?x|4:x;do if(J){n=c[b+72>>2]|0;i=(c[b+76>>2]|0)-n>>4;m=((g|0)<0?i:0)+g|0;if(m>>>0>>0){A=c[n+(m<<4)>>2]|0;i=n+(m<<4)+4|0;c[B>>2]=c[i>>2];c[B+4>>2]=c[i+4>>2];c[B+8>>2]=c[i+8>>2];break}else $n(b,342,g)}else A=2;while(0);if(!((L|0)==-1|(o&32768|0)==0))Ap(b,e);q=e+28|0;p=c[q>>2]|0;w=e+24|0;n=c[w>>2]|0;if(p>>>0>=n>>>0){if(!p)m=0;else{m=0;o=0;n=(c[e+16>>2]|0)+(n<<4)|0;while(1){m=((c[n>>2]|0)!=0&1)+m|0;o=o+1|0;if((o|0)==(p|0))break;else n=n+4|0}}o=((m+16|0)>>>3)+m|0;do if(o>>>0>7){if(o>>>0>63){m=2;n=o;do{i=n;n=n>>>6;m=m<<6}while(i>>>0>4095);if(!n)break}else{m=2;n=o}do{n=n>>>1;m=m<<1}while((n|0)!=0)}else m=0;while(0);ko(b,e,o,c[e+32>>2]|0,m,0);p=c[q>>2]|0;n=c[w>>2]|0}c[q>>2]=p+1;u=e+16|0;c[(c[u>>2]|0)+(n<<4)+(p<<2)>>2]=f;o=f+4|0;c[o>>2]=(c[o>>2]|0)+1;o=c[e+36>>2]|0;if(!o)m=c[u>>2]|0;else{m=c[u>>2]|0;s=m+(n*21|0)+(0-n&7)+(c[e+32>>2]<<4)|0;q=o+-1|0;n=c[f+12>>2]|0;while(1){n=n&q;o=s+(n<<2)|0;if((c[o>>2]|0)>>>0>4294967293)break;else n=n+1|0}c[o>>2]=p}c[m+(p<<4)>>2]=A;i=m+(p<<4)+4|0;c[i>>2]=c[B>>2];c[i+4>>2]=c[B+4>>2];c[i+8>>2]=c[B+8>>2];if(A&8|0){i=(c[m+(p<<4)+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}a[(c[u>>2]|0)+((c[w>>2]|0)*20|0)+p>>0]=x;x=204}while(0);do if((x|0)==204){m=c[e>>2]|0;if(m&4194304|0){if(F|0)c[e+40>>2]=F;if(!(H>>>0>>0?(c[(c[b+428>>2]|0)+320>>2]|0)==(f|0):0))break;m=Bp(b,e,I,H,K,P)|0;c[e+40>>2]=c[P>>2];if(G|0)c[e+44>>2]=1;if(!m)break a;else break}if(!((L|0)==-1|(m&16777216|0)==0)){c[P>>2]=0;c[N>>2]=0;do if(Cp(b,e,f,M,P,N)|0){if(d&384|0){ip(b,c[P>>2]|0,f,0)|0;break}do if(J|0){o=c[b+72>>2]|0;p=(c[b+76>>2]|0)-o>>4;m=p|0?o+(p+-1<<4)|0:0;m=(m|0)==0?944:m;if((c[m>>2]|0)!=8)In(b,1812,-1,287470);n=c[m+8>>2]|0;if(!n)In(b,1812,-1,287470);m=((g|0)<0?p:0)+g|0;if(m>>>0

>>0){bp(b,c[N>>2]|0,0,n,o+(m<<4)|0,1);break}else $n(b,342,g)}while(0);if(!((O|0)==0|(v|0)!=0))ip(b,c[P>>2]|0,f,0)|0}while(0)}}while(0);m=c[b+44>>2]|0;if(!(c[m+32>>2]|0)){P=1;l=Q;return P|0}Rn(m);P=1;l=Q;return P|0}while(0);if(!k){P=0;l=Q;return P|0}else Jn(b,268642,100669219,269358);return 0}function qp(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;n=a+76|0;p=a+72|0;h=c[p>>2]|0;f=(c[n>>2]|0)-h|0;i=f>>4;e=((b|0)<0?i:0)+b|0;e=e>>>0>>0?h+(e<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9)In(a,1834,b,268820);q=c[e+8>>2]|0;if(!q)In(a,1834,b,268820);if((d&72|0)!=0&(d&384|0)!=0)Jn(a,269294,100663791,269311);e=(f|0)<16?-2147483648:i+-1|0;if(!(d&256))m=0;else{g=(e|0)<0;b=(g?i:0)+e|0;b=b>>>0>>0?h+(b<<4)|0:0;b=(b|0)==0?944:b;f=c[b>>2]|0;if(1467>>>f&1|0)Jn(a,268491,100666767,269278);switch(f|0){case 9:{b=c[b+8>>2]|0;if(!b)j=0;else l=11;break}case 6:{vo(a,e);b=c[(c[(g?n:p)>>2]|0)+(e<<4)+8>>2]|0;if(!b)j=0;else l=11;break}default:j=0}if((l|0)==11)if(!(c[b>>2]&6656))Jn(a,269294,100663795,269330);else j=b;e=e+-1|0;m=j}if(!(d&128))k=0;else{f=c[p>>2]|0;j=(c[n>>2]|0)-f>>4;g=(e|0)<0;b=(g?j:0)+e|0;b=b>>>0>>0?f+(b<<4)|0:0;b=(b|0)==0?944:b;f=c[b>>2]|0;if(1467>>>f&1|0)Jn(a,268491,100666767,269278);switch(f|0){case 9:{b=c[b+8>>2]|0;if(!b)k=0;else l=19;break}case 6:{vo(a,e);b=c[(c[(g?n:p)>>2]|0)+(e<<4)+8>>2]|0;if(!b)k=0;else l=19;break}default:k=0}if((l|0)==19)if(!(c[b>>2]&6656))Jn(a,269294,100663795,269330);else k=b;e=e+-1|0}h=(d&64|0)==0;j=h?-1:e;h=e+((h^1)<<31>>31)|0;po(a,h,1);b=c[n>>2]|0;l=c[p>>2]|0;e=l;g=b-e>>4;i=(h|0)<0;f=(i?g:0)+h|0;f=f>>>0>>0?l+(f<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8?(o=c[f+8>>2]|0,(o|0)!=0):0)g=o;else{Ho(a,h)|0;b=c[n>>2]|0;p=c[p>>2]|0;f=p;o=b-f>>4;e=(i?o:0)+h|0;e=e>>>0>>0?p+(e<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==8){g=c[e+8>>2]|0;e=f}else{g=0;e=f}}p=b-e>>4;o=(i?p:0)+h|0;if((o|0)<0|o>>>0>=p>>>0)$n(a,362,h);else{pp(a,d,q,g,j,k,m,1)|0;_n(a,h);return}}function rp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;m=o;if(!((d|0)!=-1&(c[b>>2]&32768|0)!=0)){n=a+76|0;e=c[n>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);c[n>>2]=e+16;c[e>>2]=0;h[e+8>>3]=+(d>>>0);Ho(a,-1)|0;k=a+72|0;f=c[k>>2]|0;g=(c[n>>2]|0)-f>>4;j=f+(g+-1<<4)|0;e=g|0?j:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==8)i=c[e+8>>2]|0;else i=0;if(g>>>0<=1)$n(a,342,-2);e=f+(g+-2<<4)|0;f=j-e|0;if(f|0){c[m>>2]=c[j>>2];c[m+4>>2]=c[j+4>>2];c[m+8>>2]=c[j+8>>2];c[m+12>>2]=c[j+12>>2];DQ(e+16|0,e|0,f|0)|0;c[e>>2]=c[m>>2];c[e+4>>2]=c[m+4>>2];c[e+8>>2]=c[m+8>>2];c[e+12>>2]=c[m+12>>2]}ho(a,b,i,7);e=c[n>>2]|0;if((e|0)==(c[k>>2]|0))Jn(a,268491,50336874,268507);d=e+-16|0;c[n>>2]=d;n=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[d>>2]=2;if(!(n&8)){l=o;return}d=e+4|0;n=(c[d>>2]|0)+-1|0;c[d>>2]=n;if(n|0){l=o;return}go(c[a+44>>2]|0,e);l=o;return}if((c[b+32>>2]|0)>>>0>d>>>0)e=b+24|0;else{e=b+24|0;ko(a,b,c[e>>2]|0,((d+16|0)>>>3)+d|0,c[b+36>>2]|0,0)}f=c[e>>2]|0;f=(c[b+16>>2]|0)+(f*21|0)+(0-f&7)|0;j=f+(d<<4)|0;k=a+76|0;m=a+72|0;g=c[m>>2]|0;e=(c[k>>2]|0)-g>>4;if(!e)$n(a,342,-1);e=e+-1|0;i=g+(e<<4)|0;if(c[i>>2]&8|0){n=(c[g+(e<<4)+8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}if(c[j>>2]&8){e=c[f+(d<<4)+8>>2]|0;c[j>>2]=c[i>>2];c[j+4>>2]=c[i+4>>2];c[j+8>>2]=c[i+8>>2];c[j+12>>2]=c[i+12>>2];d=e+4|0;n=(c[d>>2]|0)+-1|0;c[d>>2]=n;if(!n)go(c[a+44>>2]|0,e)}else{c[j>>2]=c[i>>2];c[j+4>>2]=c[i+4>>2];c[j+8>>2]=c[i+8>>2];c[j+12>>2]=c[i+12>>2]}e=c[k>>2]|0;if((e|0)==(c[m>>2]|0))Jn(a,268491,50336874,268507);d=e+-16|0;c[k>>2]=d;n=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[d>>2]=2;if(!(n&8)){l=o;return}d=e+4|0;n=(c[d>>2]|0)+-1|0;c[d>>2]=n;if(n|0){l=o;return}go(c[a+44>>2]|0,e);l=o;return}function sp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0;k=a+76|0;e=c[k>>2]|0;j=a+72|0;g=e-(c[j>>2]|0)>>4;i=((b|0)<0?g:0)+b|0;if(i>>>0>=g>>>0)$n(a,267,b);b=c[(c[a+428>>2]|0)+(d<<2)>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[k>>2]=e+16;c[e>>2]=8;c[e+8>>2]=b;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[j>>2]|0;g=(c[k>>2]|0)-f>>4;e=((i|0)<0?g:0)+i|0;if(e>>>0>=g>>>0)$n(a,342,i);if((g|0)==1)$n(a,342,-2);d=g+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,f+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g>>>0>=k>>>0)Sn(b,3761);c[K>>2]=i+32;c[g>>2]=8;c[i+24>>2]=j;k=j+4|0;c[k>>2]=(c[k>>2]|0)+1;k=c[I>>2]|0;n=(c[K>>2]|0)-k>>4;j=((m|0)<32?n:0)+o|0;if(j>>>0>=n>>>0)$n(b,342,o);if((n|0)==1)$n(b,342,-2);i=n+-2|0;g=c[G>>2]|0;if(!g)g=1;else g=c[g+32>>2]&1;cp(b,k+(j<<4)|0,k+(n+-1<<4)|0,c[k+(i<<4)>>2]|0,c[k+(i<<4)+4>>2]|0,+h[k+(i<<4)+8>>3],g)|0;i=c[K>>2]|0;if(i-(c[I>>2]|0)>>4>>>0<2)Jn(b,268491,50336767,268507);B=i+-16|0;C=c[B>>2]|0;g=c[i+-8>>2]|0;c[B>>2]=2;do if(C&8|0){B=g+4|0;C=(c[B>>2]|0)+-1|0;c[B>>2]=C;if(C|0)break;Wn(c[J>>2]|0,g)}while(0);B=i+-32|0;C=c[B>>2]|0;g=c[i+-24>>2]|0;c[B>>2]=2;do if(C&8|0){B=g+4|0;C=(c[B>>2]|0)+-1|0;c[B>>2]=C;if(C|0)break;Wn(c[J>>2]|0,g)}while(0);c[K>>2]=i+-32;g=c[J>>2]|0;if(c[g+32>>2]|0)Rn(g);do if(!(e&128)){if(!(c[f>>2]&67108864)){E=167;break}i=c[F>>2]|0;g=yo(f,c[i+408>>2]|0)|0;if(!g)Jn(b,268642,100663682,269229);g=c[g+8>>2]|0;f=yo(f,c[i+404>>2]|0)|0;if(!f)Jn(b,268642,100663693,269229);m=c[f+8>>2]|0;f=c[K>>2]|0;if(f>>>0>=(c[H>>2]|0)>>>0)Sn(b,3761);c[K>>2]=f+16;c[f>>2]=9;c[f+8>>2]=g;f=g+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[K>>2]|0;j=f-(c[I>>2]|0)|0;C=j>>4;k=C+-1|0;if(!C)$n(b,267,-1);g=c[(c[F>>2]|0)+292>>2]|0;if(f>>>0>=(c[H>>2]|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,268507);C=i+-16|0;E=c[C>>2]|0;g=c[i+-8>>2]|0;c[C>>2]=2;do if(E&8|0){C=g+4|0;E=(c[C>>2]|0)+-1|0;c[C>>2]=E;if(E|0)break;Wn(c[J>>2]|0,g)}while(0);C=i+-32|0;E=c[C>>2]|0;g=c[i+-24>>2]|0;c[C>>2]=2;do if(E&8|0){C=g+4|0;E=(c[C>>2]|0)+-1|0;c[C>>2]=E;if(E|0)break;Wn(c[J>>2]|0,g)}while(0);i=i+-32|0;c[K>>2]=i;g=c[J>>2]|0;if(c[g+32>>2]|0){Rn(g);i=c[K>>2]|0}if(i-(c[I>>2]|0)>>4>>>0<2)Jn(b,268491,50336767,268507);C=i+-16|0;E=c[C>>2]|0;g=c[i+-8>>2]|0;c[C>>2]=2;do if(E&8|0){C=g+4|0;E=(c[C>>2]|0)+-1|0;c[C>>2]=E;if(E|0)break;Wn(c[J>>2]|0,g)}while(0);C=i+-32|0;E=c[C>>2]|0;g=c[i+-24>>2]|0;c[C>>2]=2;do if(E&8|0){C=g+4|0;E=(c[C>>2]|0)+-1|0;c[C>>2]=E;if(E|0)break;Wn(c[J>>2]|0,g)}while(0);c[K>>2]=i+-32;g=c[J>>2]|0;if(!(c[g+32>>2]|0)){E=165;break}Rn(g);E=165;break}f=c[K>>2]|0;g=c[I>>2]|0;i=f-g>>4;if(i>>>0<=1)$n(b,342,-2);j=g+(i+-2<<4)|0;g=g+(i+-1<<4)|0;i=g-j|0;if(i){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];DQ(j+16|0,j|0,i|0)|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];f=c[K>>2]|0}if(f>>>0>=(c[H>>2]|0)>>>0)Sn(b,3761);c[K>>2]=f+16;c[f>>2]=9;c[f+8>>2]=m;f=m+4|0;c[f>>2]=(c[f>>2]|0)+1;f=(c[K>>2]|0)-(c[I>>2]|0)|0;if((f|0)<48)Tn(b,268476,76);so(b,1,0,(f+-48|0)>>>4);D=c[I>>2]|0;f=(c[K>>2]|0)-D>>4;f=f|0?D+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(b,1834,-1,268820);if(!(c[f+8>>2]|0))In(b,1834,-1,268820);vp(b,m,e);g=c[K>>2]|0;D=c[I>>2]|0;f=g-D>>4;f=f|0?D+(f+-1<<4)|0:0;f=(f|0)==0?944:f;a:do switch(c[f>>2]|0){case 9:{f=c[f+8>>2]|0;if(c[f>>2]&4194304|0){n=c[f+40>>2]|0;E=127;break a}if(g>>>0>=(c[H>>2]|0)>>>0)Sn(b,3761);c[K>>2]=g+16;c[g>>2]=9;c[g+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[(c[F>>2]|0)+320>>2]|0;g=c[K>>2]|0;if(g>>>0>=(c[H>>2]|0)>>>0)Sn(b,3761);c[K>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[K>>2]|0;ro(b,f+-32|0,f+-16|0)|0;f=c[I>>2]|0;F=(c[K>>2]|0)-f>>4;g=F+-1|0;if(!F)$n(b,267,-1);p=+jo(b,f+(g<<4)|0);D=c[I>>2]|0;C=D+(g<<4)|0;F=c[C>>2]|0;g=D+(g<<4)+8|0;f=c[g>>2]|0;c[C>>2]=0;h[g>>3]=p;g=D;do if(F&8){D=f+4|0;F=(c[D>>2]|0)+-1|0;c[D>>2]=F;if(F|0)break;go(c[J>>2]|0,f);g=c[I>>2]|0}while(0);i=c[K>>2]|0;if(i-g>>4>>>0<3)Jn(b,268491,50336767,268507);D=i+-16|0;F=c[D>>2]|0;f=c[i+-8>>2]|0;c[D>>2]=2;do if(F&8|0){D=f+4|0;F=(c[D>>2]|0)+-1|0;c[D>>2]=F;if(F|0)break;Wn(c[J>>2]|0,f)}while(0);D=i+-32|0;F=c[D>>2]|0;f=c[i+-24>>2]|0;c[D>>2]=2;do if(F&8|0){D=f+4|0;F=(c[D>>2]|0)+-1|0;c[D>>2]=F;if(F|0)break;Wn(c[J>>2]|0,f)}while(0);D=i+-48|0;F=c[D>>2]|0;f=c[i+-40>>2]|0;c[D>>2]=2;do if(F&8|0){D=f+4|0;F=(c[D>>2]|0)+-1|0;c[D>>2]=F;if(F|0)break;Wn(c[J>>2]|0,f)}while(0);c[K>>2]=i+-48;f=c[J>>2]|0;if(c[f+32>>2]|0)Rn(f);if(p>=0.0&p<=4294967295.0){n=~~p>>>0;E=127}break}case 6:{n=(c[f+4>>2]|0)>>>4&15;E=127;break}case 10:{n=c[(c[f+8>>2]|0)+16>>2]|0;E=127;break}case 8:{f=c[f+8>>2]|0;if(c[f>>2]&512|0)break a;n=wp(f)|0;E=127;break}default:{}}while(0);b:do if((E|0)==127){if(!n)break;else m=0;while(1){g=c[K>>2]|0;f=c[I>>2]|0;i=g-f|0;F=i>>4;k=F+-1|0;j=f;if(!F){E=129;break}if(g>>>0>=(c[H>>2]|0)>>>0){E=131;break}F=g+16|0;c[K>>2]=F;c[g>>2]=0;h[g+8>>3]=+(m>>>0);g=F-f>>4;f=((i|0)<16?g:0)+k|0;if(f>>>0>=g>>>0){E=133;break}ro(b,j+(f<<4)|0,j+(g+-1<<4)|0)|0;g=c[I>>2]|0;i=(c[K>>2]|0)-g>>4;f=i+-2|0;if(i>>>0<=1){E=135;break}D=g+(f<<4)|0;E=g+(i+-1<<4)|0;F=c[D>>2]|0;g=c[g+(f<<4)+8>>2]|0;DQ(D|0,D+16|0,E-D|0)|0;c[E>>2]=2;f=(c[K>>2]|0)+-16|0;c[K>>2]=f;do if(F&8){E=g+4|0;F=(c[E>>2]|0)+-1|0;c[E>>2]=F;if(F|0)break;go(c[J>>2]|0,g);f=c[K>>2]|0}while(0);if(f>>>0>=(c[H>>2]|0)>>>0){E=140;break}i=f+16|0;c[K>>2]=i;c[f>>2]=4;c[f+8>>2]=1;g=c[I>>2]|0;i=i-g>>4;if(i>>>0<=4){E=142;break}j=i+-1|0;f=c[G>>2]|0;if(!f)f=1;else f=c[f+32>>2]&1;cp(b,g+(i+-5<<4)|0,g+(i+-2<<4)|0,c[g+(j<<4)>>2]|0,c[g+(j<<4)+4>>2]|0,+h[g+(j<<4)+8>>3],f)|0;g=c[K>>2]|0;if(g-(c[I>>2]|0)>>4>>>0<2){E=147;break}E=g+-16|0;F=c[E>>2]|0;f=c[g+-8>>2]|0;c[E>>2]=2;do if(F&8|0){E=f+4|0;F=(c[E>>2]|0)+-1|0;c[E>>2]=F;if(F|0)break;Wn(c[J>>2]|0,f)}while(0);E=g+-32|0;F=c[E>>2]|0;f=c[g+-24>>2]|0;c[E>>2]=2;do if(F&8|0){E=f+4|0;F=(c[E>>2]|0)+-1|0;c[E>>2]=F;if(F|0)break;Wn(c[J>>2]|0,f)}while(0);c[K>>2]=g+-32;f=c[J>>2]|0;if(c[f+32>>2]|0)Rn(f);m=m+1|0;if(m>>>0>=n>>>0)break b}if((E|0)==129)$n(b,267,-1);else if((E|0)==131)Sn(b,3902);else if((E|0)==133)$n(b,342,k);else if((E|0)==135)$n(b,342,-2);else if((E|0)==140)Sn(b,3811);else if((E|0)==142)$n(b,342,-5);else if((E|0)==147)Jn(b,268491,50336767,268507)}while(0);g=c[K>>2]|0;if(g-(c[I>>2]|0)>>4>>>0<2)Jn(b,268491,50336767,268507);G=g+-16|0;H=c[G>>2]|0;f=c[g+-8>>2]|0;c[G>>2]=2;do if(H&8|0){G=f+4|0;H=(c[G>>2]|0)+-1|0;c[G>>2]=H;if(H|0)break;Wn(c[J>>2]|0,f)}while(0);G=g+-32|0;H=c[G>>2]|0;f=c[g+-24>>2]|0;c[G>>2]=2;do if(H&8|0){G=f+4|0;H=(c[G>>2]|0)+-1|0;c[G>>2]=H;if(H|0)break;Wn(c[J>>2]|0,f)}while(0);g=g+-32|0;c[K>>2]=g;f=c[J>>2]|0;if(!(c[f+32>>2]|0))f=g;else{Rn(f);f=c[K>>2]|0}i=c[I>>2]|0;g=f-i>>4;f=g+-2|0;if(g>>>0<=1)$n(b,342,-2);G=i+(f<<4)|0;H=i+(g+-1<<4)|0;I=c[G>>2]|0;f=c[i+(f<<4)+8>>2]|0;DQ(G|0,G+16|0,H-G|0)|0;c[H>>2]=2;c[K>>2]=(c[K>>2]|0)+-16;if(!(I&8)){yp(b,L);l=M;return}I=f+4|0;K=(c[I>>2]|0)+-1|0;c[I>>2]=K;if(K|0){yp(b,L);l=M;return}go(c[J>>2]|0,f);yp(b,L);l=M;return}else E=165;while(0);do if((E|0)==165){if(f|0){E=167;break}D=e&64}while(0);c:do if((E|0)==167){t=(e&1|0)==0;u=L+28|0;v=e&64;w=(v|0)==0;x=L+16|0;y=L+24|0;z=(e&16|0)==0;A=(e&8|0)==0;B=(e&32|0)==0;C=(e&2|0)==0;s=(e&4|0)==0;g=2;d:while(1){i=c[f>>2]|0;j=(i&8388608|0)!=0;do if((i&8192|0)==0&(j^1)){if(t|(i&33554432|0)==0)break;xp(b,c[(c[F>>2]|0)+320>>2]|0)}else{if(j){q=c[(c[J>>2]|0)+592>>2]|0;i=c[f+36>>2]|0;j=c[f+24>>2]|0;e=c[f+16>>2]|0;e:do if(i){o=e+(j*21|0)+(0-j&7)+(c[f+32>>2]<<4)|0;n=i+-1|0;m=e+(j<<4)|0;i=0;k=c[q+12>>2]&n;f:while(1){j=c[o+(k<<2)>>2]|0;switch(j|0){case -1:{j=19;break}case -2:{E=177;break}default:if((c[m+(j<<2)>>2]|0)==(q|0)){i=j;j=1}else E=177}if((E|0)==177){E=0;j=0;k=k+1&n}switch(j&31){case 19:{i=-1;E=180;break e}case 0:break;default:break f}}if(!j){i=-1;E=180}}else{j=e+(j<<4)|0;k=c[f+28>>2]|0;if(!k){i=-1;E=180;break}else i=0;while(1){if((c[j+(i<<2)>>2]|0)==(q|0)){E=180;break e}i=i+1|0;if(i>>>0>=k>>>0){i=-1;E=180;break}}}while(0);if((E|0)==180)E=0;if((i|0)>-1)i=c[e+(i<<4)+8>>2]|0;else i=0;o=wp(i)|0}else{if(!(a[f+58>>0]|0))break;o=(c[f+52>>2]|0)>>>(d[f+56>>0]|0)}if(o|0){n=0;do{i=mo(c[J>>2]|0,n)|0;if(!i){E=188;break d}j=c[K>>2]|0;if(j>>>0>=(c[H>>2]|0)>>>0){E=190;break d}c[K>>2]=j+16;c[j>>2]=8;c[j+8>>2]=i;i=i+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[K>>2]|0;if(i>>>0>=(c[H>>2]|0)>>>0){E=192;break d}k=i+16|0;c[K>>2]=k;c[i>>2]=4;c[i+8>>2]=1;j=c[I>>2]|0;k=k-j>>4;if(k>>>0<=2){E=194;break d}m=k+-1|0;i=c[G>>2]|0;if(!i)i=1;else i=c[i+32>>2]&1;cp(b,j+(k+-3<<4)|0,j+(k+-2<<4)|0,c[j+(m<<4)>>2]|0,c[j+(m<<4)+4>>2]|0,+h[j+(m<<4)+8>>3],i)|0;j=c[K>>2]|0;if(j-(c[I>>2]|0)>>4>>>0<2){E=199;break d}e=j+-16|0;r=c[e>>2]|0;i=c[j+-8>>2]|0;c[e>>2]=2;do if(r&8|0){e=i+4|0;r=(c[e>>2]|0)+-1|0;c[e>>2]=r;if(r|0)break;Wn(c[J>>2]|0,i)}while(0);e=j+-32|0;r=c[e>>2]|0;i=c[j+-24>>2]|0;c[e>>2]=2;do if(r&8|0){e=i+4|0;r=(c[e>>2]|0)+-1|0;c[e>>2]=r;if(r|0)break;Wn(c[J>>2]|0,i)}while(0);c[K>>2]=j+-32;i=c[J>>2]|0;if(c[i+32>>2]|0)Rn(i);n=n+1|0}while(n>>>0>>0)}if(t)break;xp(b,c[(c[F>>2]|0)+320>>2]|0)}while(0);o=f+32|0;if(c[o>>2]|0){q=f+16|0;e=f+24|0;n=0;do{r=c[e>>2]|0;do if((c[(c[q>>2]|0)+(r*21|0)+(0-r&7)+(n<<4)>>2]|0)!=7){i=mo(c[J>>2]|0,n)|0;if(!i){E=213;break d}j=c[K>>2]|0;if(j>>>0>=(c[H>>2]|0)>>>0){E=215;break d}c[K>>2]=j+16;c[j>>2]=8;c[j+8>>2]=i;i=i+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[K>>2]|0;if(i>>>0>=(c[H>>2]|0)>>>0){E=217;break d}k=i+16|0;c[K>>2]=k;c[i>>2]=4;c[i+8>>2]=1;j=c[I>>2]|0;k=k-j>>4;if(k>>>0<=2){E=219;break d}m=k+-1|0;i=c[G>>2]|0;if(!i)i=1;else i=c[i+32>>2]&1;cp(b,j+(k+-3<<4)|0,j+(k+-2<<4)|0,c[j+(m<<4)>>2]|0,c[j+(m<<4)+4>>2]|0,+h[j+(m<<4)+8>>3],i)|0;j=c[K>>2]|0;if(j-(c[I>>2]|0)>>4>>>0<2){E=224;break d}m=j+-16|0;r=c[m>>2]|0;i=c[j+-8>>2]|0;c[m>>2]=2;do if(r&8|0){m=i+4|0;r=(c[m>>2]|0)+-1|0;c[m>>2]=r;if(r|0)break;Wn(c[J>>2]|0,i)}while(0);m=j+-32|0;r=c[m>>2]|0;i=c[j+-24>>2]|0;c[m>>2]=2;do if(r&8|0){m=i+4|0;r=(c[m>>2]|0)+-1|0;c[m>>2]=r;if(r|0)break;Wn(c[J>>2]|0,i)}while(0);c[K>>2]=j+-32;i=c[J>>2]|0;if(!(c[i+32>>2]|0))break;Rn(i)}while(0);n=n+1|0}while(n>>>0<(c[o>>2]|0)>>>0)}if(!(t|(c[f>>2]&4194304|0)==0))xp(b,c[(c[F>>2]|0)+320>>2]|0);q=f+28|0;g:do if(!(c[q>>2]|0))g=c[u>>2]|0;else{e=f+16|0;r=f+24|0;i=0;o=0;do{j=c[e>>2]|0;k=c[r>>2]|0;m=c[j+(k<<4)+(o<<2)>>2]|0;do if(m){if(t?(a[j+(k*20|0)+o>>0]&2)==0:0)break;j=c[m>>2]|0;if(!(j&512)){if(!A)break}else if(s|C&(j&1024|0)!=0)break;k=(j&256|0)!=0;n=k?1:i;if(!(k|B))break;i=c[K>>2]|0;if(i>>>0>=(c[H>>2]|0)>>>0){E=243;break d}c[K>>2]=i+16;c[i>>2]=8;c[i+8>>2]=m;i=m+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[K>>2]|0;if(i>>>0>=(c[H>>2]|0)>>>0){E=245;break d}k=i+16|0;c[K>>2]=k;c[i>>2]=4;c[i+8>>2]=1;j=c[I>>2]|0;k=k-j>>4;if(k>>>0<=2){E=247;break d}m=k+-1|0;i=c[G>>2]|0;if(!i)i=1;else i=c[i+32>>2]&1;cp(b,j+(k+-3<<4)|0,j+(k+-2<<4)|0,c[j+(m<<4)>>2]|0,c[j+(m<<4)+4>>2]|0,+h[j+(m<<4)+8>>3],i)|0;j=c[K>>2]|0;if(j-(c[I>>2]|0)>>4>>>0<2){E=252;break d}k=j+-16|0;m=c[k>>2]|0;i=c[j+-8>>2]|0;c[k>>2]=2;do if(m&8|0){k=i+4|0;m=(c[k>>2]|0)+-1|0;c[k>>2]=m;if(m|0)break;Wn(c[J>>2]|0,i)}while(0);k=j+-32|0;m=c[k>>2]|0;i=c[j+-24>>2]|0;c[k>>2]=2;do if(m&8|0){k=i+4|0;m=(c[k>>2]|0)+-1|0;c[k>>2]=m;if(m|0)break;Wn(c[J>>2]|0,i)}while(0);c[K>>2]=j+-32;i=c[J>>2]|0;if(!(c[i+32>>2]|0)){i=n;break}Rn(i);i=n}while(0);o=o+1|0}while(o>>>0<(c[q>>2]|0)>>>0);e=c[u>>2]|0;if(!(w&(i|0)!=0&(g+1|0)<(e|0))){g=e;break}q=(c[x>>2]|0)+(c[y>>2]<<4)|0;o=q+(g<<2)|0;q=q+(e<<2)|0;g=o+4|0;if(g>>>0>=q>>>0){g=e;break}n=c[(c[o>>2]|0)+16>>2]|0;while(1){while(1){k=c[g>>2]|0;m=c[k+16>>2]|0;if(m>>>0>>0)j=g;else break;while(1){i=j;j=j+-4|0;if((c[(c[j>>2]|0)+16>>2]|0)>>>0>>0)break;if((j|0)==(o|0)){i=o;break}}DQ(i+4|0,i|0,g-i|0)|0;c[i>>2]=k;g=g+4|0;if(g>>>0>=q>>>0){g=e;break g}}g=g+4|0;if(g>>>0>>0)n=m;else{g=e;break}}}while(0);if(!z){D=v;break c}f=c[f+20>>2]|0;if(!f){D=v;break c}}switch(E|0){case 188:{Mn(b,269042,802);break}case 190:{Sn(b,3761);break}case 192:{Sn(b,3811);break}case 194:{$n(b,342,-3);break}case 199:{Jn(b,268491,50336767,268507);break}case 213:{Mn(b,269042,802);break}case 215:{Sn(b,3761);break}case 217:{Sn(b,3811);break}case 219:{$n(b,342,-3);break}case 224:{Jn(b,268491,50336767,268507);break}case 243:{Sn(b,3761);break}case 245:{Sn(b,3811);break}case 247:{$n(b,342,-3);break}case 252:{Jn(b,268491,50336767,268507);break}}}while(0);g=c[I>>2]|0;i=(c[K>>2]|0)-g>>4;f=i+-2|0;if(i>>>0<=1)$n(b,342,-2);G=g+(f<<4)|0;H=g+(i+-1<<4)|0;I=c[G>>2]|0;f=c[g+(f<<4)+8>>2]|0;DQ(G|0,G+16|0,H-G|0)|0;c[H>>2]=2;c[K>>2]=(c[K>>2]|0)+-16;do if(I&8|0){I=f+4|0;K=(c[I>>2]|0)+-1|0;c[I>>2]=K;if(K|0)break;go(c[J>>2]|0,f)}while(0);if(!D){yp(b,L);l=M;return}f=c[L+28>>2]|0;if((f|0)<=3){yp(b,L);l=M;return}n=(c[L+16>>2]|0)+(c[L+24>>2]<<4)|0;o=n+8|0;n=n+(f<<2)|0;f=o+4|0;if(f>>>0>=n>>>0){yp(b,L);l=M;return}m=c[(c[o>>2]|0)+16>>2]|0;h:while(1){while(1){j=c[f>>2]|0;k=c[j+16>>2]|0;if(k>>>0>>0)i=f;else break;while(1){g=i;i=i+-4|0;if((c[(c[i>>2]|0)+16>>2]|0)>>>0>>0)break;if((i|0)==(o|0)){g=o;break}}DQ(g+4|0,g|0,f-g|0)|0;c[g>>2]=j;f=f+4|0;if(f>>>0>=n>>>0){E=284;break h}}f=f+4|0;if(f>>>0>>0)m=k;else{E=284;break}}if((E|0)==284){yp(b,L);l=M;return}}function up(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0.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;w=l;l=l+32|0;r=w;v=a+76|0;f=c[v>>2]|0;u=a+72|0;d=c[u>>2]|0;i=f-d|0;e=i>>4;j=e+-1|0;d=e|0?d+(j<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(a,1834,-1,268820);q=c[d+8>>2]|0;if(!q)In(a,1834,-1,268820);if(!e)$n(a,267,-1);s=a+428|0;d=c[(c[s>>2]|0)+360>>2]|0;t=a+68|0;if(f>>>0>=(c[t>>2]|0)>>>0)Sn(a,3761);c[v>>2]=f+16;c[f>>2]=8;c[f+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[u>>2]|0;f=(c[v>>2]|0)-e>>4;d=((i|0)<16?f:0)+j|0;if(d>>>0>=f>>>0)$n(a,342,j);ro(a,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[u>>2]|0;f=(c[v>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);o=e+(d<<4)|0;f=e+(f+-1<<4)|0;p=c[o>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(o|0,o+16|0,f-o|0)|0;c[f>>2]=2;f=(c[v>>2]|0)+-16|0;c[v>>2]=f;e=f;if((p&8|0)!=0?(o=d+4|0,p=(c[o>>2]|0)+-1|0,c[o>>2]=p,(p|0)==0):0){go(c[a+44>>2]|0,d);f=c[v>>2]|0;e=f}i=c[u>>2]|0;j=i;d=e-j>>4;d=d|0?i+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if(c[d>>2]|0)In(a,190,-1,281100);g=+h[d+8>>3];if(!(g<0.0|(XO(g)|0)==0))if(g>4294967295.0)o=-1;else o=~~g>>>0;else o=0;if((f|0)==(i|0))Jn(a,268491,50336874,268507);i=f+-16|0;c[v>>2]=i;p=c[f+-16>>2]|0;d=c[f+-8>>2]|0;c[i>>2]=2;e=i;if((p&8|0)!=0?(n=d+4|0,p=(c[n>>2]|0)+-1|0,c[n>>2]=p,(p|0)==0):0){go(c[a+44>>2]|0,d);e=c[v>>2]|0;i=e;d=c[u>>2]|0}else d=j;j=e-d|0;p=j>>4;k=p+-1|0;if(!p)$n(a,267,-1);d=c[(c[s>>2]|0)+404>>2]|0;if(i>>>0>=(c[t>>2]|0)>>>0)Sn(a,3761);c[v>>2]=i+16;c[i>>2]=8;c[i+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[u>>2]|0;f=(c[v>>2]|0)-e>>4;d=((j|0)<16?f:0)+k|0;if(d>>>0>=f>>>0)$n(a,342,k);ro(a,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[u>>2]|0;f=(c[v>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);m=e+(d<<4)|0;n=e+(f+-1<<4)|0;p=c[m>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(m|0,m+16|0,n-m|0)|0;c[n>>2]=2;e=(c[v>>2]|0)+-16|0;c[v>>2]=e;if((p&8|0)!=0?(n=d+4|0,p=(c[n>>2]|0)+-1|0,c[n>>2]=p,(p|0)==0):0){go(c[a+44>>2]|0,d);e=c[v>>2]|0}f=c[u>>2]|0;d=e-f>>4;d=d|0?f+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(a,1834,-1,268820);p=c[d+8>>2]|0;if(!p)In(a,1834,-1,268820);i=(c[p>>2]&67108864|0)==0;if((e|0)==(f|0))Jn(a,268491,50336874,268507);m=e+-16|0;c[v>>2]=m;n=c[e+-16>>2]|0;d=c[e+-8>>2]|0;c[m>>2]=2;do if(n&8|0){m=d+4|0;n=(c[m>>2]|0)+-1|0;c[m>>2]=n;if(n|0)break;go(c[a+44>>2]|0,d)}while(0);m=q+28|0;a:do if(o>>>0<(c[m>>2]|0)>>>0){n=q+16|0;k=q+24|0;if(i)d=o;else{n=c[(c[n>>2]|0)+(c[k>>2]<<4)+(o<<2)>>2]|0;d=o+1|0;break}b:while(1){j=c[(c[n>>2]|0)+(c[k>>2]<<4)+(d<<2)>>2]|0;d=d+1|0;i=c[j+16>>2]|0;e=1e4;f=p;while(1){if(io(a,f,j,i,r,2)|0)break b;if(!e)break;f=c[f+20>>2]|0;if(!f)break;else e=e+-1|0}if(d>>>0>=(c[m>>2]|0)>>>0){n=0;break a}}n=j}else{n=0;d=o}while(0);e=c[v>>2]|0;f=c[t>>2]|0;if(e>>>0>=f>>>0)Sn(a,3902);i=e+16|0;c[v>>2]=i;c[e>>2]=0;h[e+8>>3]=+(d>>>0);k=i-(c[u>>2]|0)|0;r=k>>4;m=r+-2|0;if(r>>>0<=1)$n(a,267,-2);d=c[(c[s>>2]|0)+360>>2]|0;if(i>>>0>=f>>>0)Sn(a,3761);c[v>>2]=e+32;c[i>>2]=8;c[e+24>>2]=d;i=d+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[u>>2]|0;j=(c[v>>2]|0)-i>>4;f=((k|0)<32?j:0)+m|0;if(f>>>0>=j>>>0)$n(a,342,m);if((j|0)==1)$n(a,342,-2);e=j+-2|0;d=c[a+88>>2]|0;if(!d)d=1;else d=c[d+32>>2]&1;cp(a,i+(f<<4)|0,i+(j+-1<<4)|0,c[i+(e<<4)>>2]|0,c[i+(e<<4)+4>>2]|0,+h[i+(e<<4)+8>>3],d)|0;e=c[v>>2]|0;if(e-(c[u>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);i=a+44|0;r=e+-16|0;s=c[r>>2]|0;d=c[e+-8>>2]|0;c[r>>2]=2;do if(s&8|0){r=d+4|0;s=(c[r>>2]|0)+-1|0;c[r>>2]=s;if(s|0)break;Wn(c[i>>2]|0,d)}while(0);r=e+-32|0;s=c[r>>2]|0;d=c[e+-24>>2]|0;c[r>>2]=2;do if(s&8|0){r=d+4|0;s=(c[r>>2]|0)+-1|0;c[r>>2]=s;if(s|0)break;Wn(c[i>>2]|0,d)}while(0);d=e+-32|0;c[v>>2]=d;e=c[i>>2]|0;if(c[e+32>>2]|0){Rn(e);d=c[v>>2]|0}if(!n){if((d|0)==(c[u>>2]|0))Jn(a,268491,50336874,268507);a=d+-16|0;c[v>>2]=a;v=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[a>>2]=2;if(!(v&8)){v=0;l=w;return v|0}a=d+4|0;v=(c[a>>2]|0)+-1|0;c[a>>2]=v;if(v|0){v=0;l=w;return v|0}go(c[i>>2]|0,d);v=0;l=w;return v|0}if(d>>>0>=(c[t>>2]|0)>>>0)Sn(a,3761);c[v>>2]=d+16;c[d>>2]=8;c[d+8>>2]=n;s=n+4|0;c[s>>2]=(c[s>>2]|0)+1;if(!b){e=c[u>>2]|0;f=(c[v>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);t=e+(d<<4)|0;u=e+(f+-1<<4)|0;a=c[t>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(t|0,t+16|0,u-t|0)|0;c[u>>2]=2;c[v>>2]=(c[v>>2]|0)+-16;if(!(a&8)){v=1;l=w;return v|0}a=d+4|0;v=(c[a>>2]|0)+-1|0;c[a>>2]=v;if(v|0){v=1;l=w;return v|0}go(c[i>>2]|0,d);v=1;l=w;return v|0}d=c[v>>2]|0;if(d>>>0>=(c[t>>2]|0)>>>0)Sn(a,3761);c[v>>2]=d+16;c[d>>2]=9;c[d+8>>2]=p;f=p+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[v>>2]|0;if(f>>>0>=(c[t>>2]|0)>>>0)Sn(a,935);d=c[u>>2]|0;e=f-d>>4;if(e>>>0<=1)$n(a,342,-2);t=d+(e+-2<<4)|0;c[v>>2]=f+16;c[f>>2]=c[t>>2];c[f+4>>2]=c[t+4>>2];c[f+8>>2]=c[t+8>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2]|0,e);f=c[w>>2]|0}n=c[q>>2]|0;e=f-n>>4;e=e|0?n+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8){m=22;break}e=c[e+8>>2]|0;if(!e){m=22;break}if(s){n=c[f+-8>>2]|0;if((io(a,b,n,c[n+16>>2]|0,y,0)|0)!=0?(c[y>>2]&2|0)!=0:0)m=26;else m=47}else m=26;do if((m|0)==26){m=0;e=c[e>>2]|0;if(!(e&512)){if(!t){m=47;break}}else{if(v){m=47;break}if(p&(e&1024|0)!=0){m=47;break}}k=o+1|0;f=c[w>>2]|0;e=c[q>>2]|0;g=f-e|0;n=g>>4;i=n+-2|0;j=e;if(n>>>0<=1){m=31;break a}if(f>>>0>=(c[r>>2]|0)>>>0){m=33;break a}d=f+16|0;c[w>>2]=d;c[f>>2]=0;h[f+8>>3]=+(o>>>0);d=d-e>>4;g=((g|0)<32?d:0)+i|0;if(g>>>0>=d>>>0){m=35;break a}if((d|0)==1){m=37;break a}f=d+-2|0;e=c[u>>2]|0;if(!e)e=1;else e=c[e+32>>2]&1;cp(a,j+(g<<4)|0,j+(d+-1<<4)|0,c[j+(f<<4)>>2]|0,c[j+(f<<4)+4>>2]|0,+h[j+(f<<4)+8>>3],e)|0;f=c[w>>2]|0;if(f-(c[q>>2]|0)>>4>>>0<2){m=42;break a}n=f+-16|0;o=c[n>>2]|0;e=c[f+-8>>2]|0;c[n>>2]=2;do if(o&8|0){n=e+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0)break;Wn(c[A>>2]|0,e)}while(0);n=f+-32|0;o=c[n>>2]|0;e=c[f+-24>>2]|0;c[n>>2]=2;do if(o&8|0){n=e+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0)break;Wn(c[A>>2]|0,e)}while(0);c[w>>2]=f+-32;e=c[A>>2]|0;if(!(c[e+32>>2]|0)){e=k;break}Rn(e);e=k}while(0);if((m|0)==47){e=c[w>>2]|0;if((e|0)==(c[q>>2]|0)){m=48;break}m=e+-16|0;c[w>>2]=m;n=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[m>>2]=2;if((n&8|0)!=0?(m=e+4|0,n=(c[m>>2]|0)+-1|0,c[m>>2]=n,(n|0)==0):0){go(c[A>>2]|0,e);e=o}else e=o}x=x+1|0;if(x>>>0>=z>>>0){m=54;break}m=c[w>>2]|0;k=c[q>>2]|0;n=m-k|0;j=n>>4;if(j>>>0<=1){m=10;break}else o=e}switch(m|0){case 10:{$n(a,267,-2);break}case 12:{Sn(a,3902);break}case 14:{$n(a,342,i);break}case 16:{$n(a,342,-2);break}case 22:{Jn(a,269243,100663327,269258);break}case 31:{$n(a,267,-2);break}case 33:{Sn(a,3902);break}case 35:{$n(a,342,i);break}case 37:{$n(a,342,-2);break}case 42:{Jn(a,268491,50336767,268507);break}case 48:{Jn(a,268491,50336874,268507);break}case 54:{l=B;return}}}function wp(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=b+24|0;d=c[j>>2]|0;if(d|0){j=d;return j|0}d=b+28|0;i=c[b+20>>2]|0;h=d+i|0;a:do if(i>>>0<16)e=0;else{f=d;if(!(f&3))e=0;else{e=0;while(1){g=d+1|0;f=a[d>>0]|0;e=(f<<24>>24<0&(f&255)<192&1)+e|0;f=g;if(!(f&3)){d=g;break}else d=g}}g=d+(h-f&-4)|0;while(1){do{if((d|0)==(g|0)){d=g;break a}f=d;d=d+4|0;f=c[f>>2]|0}while(!(f&-2139062144|0));f=f^-2139062144;e=(f>>>0<1073741824&1)+e+((f&12582912|0)==0&1)+((f&49152|0)==0&1)+((f&192|0)==0&1)|0}}while(0);if((d|0)!=(h|0))do{g=a[d>>0]|0;d=d+1|0;e=(g<<24>>24<0&(g&255)<192&1)+e|0}while((d|0)!=(h|0));d=i-e|0;c[j>>2]=d;if(e|0){j=d;return j|0}c[b>>2]=c[b>>2]|128;j=d;return j|0}function xp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0;i=a+76|0;d=c[i>>2]|0;e=a+68|0;if(d>>>0>=(c[e>>2]|0)>>>0)Sn(a,3761);c[i>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[i>>2]|0;if(b>>>0>=(c[e>>2]|0)>>>0)Sn(a,3811);e=b+16|0;c[i>>2]=e;c[b>>2]=4;c[b+8>>2]=1;g=a+72|0;d=c[g>>2]|0;e=e-d>>4;if(e>>>0<=2)$n(a,342,-3);f=e+-1|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,d+(e+-3<<4)|0,d+(e+-2<<4)|0,c[d+(f<<4)>>2]|0,c[d+(f<<4)+4>>2]|0,+h[d+(f<<4)+8>>3],b)|0;e=c[i>>2]|0;if(e-(c[g>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;g=e+-16|0;a=c[g>>2]|0;b=c[e+-8>>2]|0;c[g>>2]=2;if(a&8|0?(g=b+4|0,a=(c[g>>2]|0)+-1|0,c[g>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,b);g=e+-32|0;a=c[g>>2]|0;b=c[e+-24>>2]|0;c[g>>2]=2;if(a&8|0?(g=b+4|0,a=(c[g>>2]|0)+-1|0,c[g>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,b);c[i>>2]=e+-32;b=c[d>>2]|0;if(!(c[b+32>>2]|0))return;Rn(b);return}function yp(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[b+28>>2]|0;if(!h){i=0;d=c[b+24>>2]|0}else{d=c[b+24>>2]|0;e=0;f=0;g=(c[b+16>>2]|0)+(d<<4)|0;while(1){e=((c[g>>2]|0)!=0&1)+e|0;f=f+1|0;if((f|0)==(h|0)){i=e;break}else g=g+4|0}}h=c[b+32>>2]|0;if(!h){d=0;e=0}else{d=(c[b+16>>2]|0)+(d*21|0)+(0-d&7)|0;f=-1;e=0;g=0;while(1){j=(c[d>>2]|0)==7;e=((j^1)&1)+e|0;f=j?f:g;g=g+1|0;if((g|0)==(h|0))break;else d=d+16|0}d=f+1|0}f=d>>>3<<1>>>0>e>>>0;h=f?0:d;g=(f?e:0)+i|0;f=f&1;if(g>>>0<=7){j=0;ko(a,b,g,h,j,f);return}if(g>>>0>63){d=2;e=g;do{j=e;e=e>>>6;d=d<<6}while(j>>>0>4095);if(!e){j=d;ko(a,b,g,h,j,f);return}}else{d=2;e=g}do{e=e>>>1;d=d<<1}while((e|0)!=0);ko(a,b,g,h,d,f);return}function zp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,g=0,i=0,j=0,k=0;i=a+76|0;d=c[i>>2]|0;g=a+72|0;e=c[g>>2]|0;j=d-e>>4;b=((b|0)<0?j:0)+b|0;b=b>>>0>>0?e+(b<<4)|0:0;b=(b|0)==0?944:b;switch(c[b>>2]|0){case 9:{b=c[b+8>>2]|0;if(c[b>>2]&4194304|0){j=c[b+40>>2]|0;return j|0}e=a+68|0;if(d>>>0>=(c[e>>2]|0)>>>0)Sn(a,3761);c[i>>2]=d+16;c[d>>2]=9;c[d+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[(c[a+428>>2]|0)+320>>2]|0;d=c[i>>2]|0;if(d>>>0>=(c[e>>2]|0)>>>0)Sn(a,3761);c[i>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[i>>2]|0;ro(a,b+-32|0,b+-16|0)|0;b=c[g>>2]|0;j=(c[i>>2]|0)-b>>4;d=j+-1|0;if(!j)$n(a,267,-1);f=+jo(a,b+(d<<4)|0);b=c[g>>2]|0;k=b+(d<<4)|0;j=c[k>>2]|0;e=b+(d<<4)+8|0;d=c[e>>2]|0;c[k>>2]=0;h[e>>3]=f;if((j&8|0)!=0?(j=d+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0){go(c[a+44>>2]|0,d);b=c[g>>2]|0}e=c[i>>2]|0;if(e-b>>4>>>0<3)Jn(a,268491,50336767,268507);d=a+44|0;j=e+-16|0;k=c[j>>2]|0;b=c[e+-8>>2]|0;c[j>>2]=2;if(k&8|0?(j=b+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0)Wn(c[d>>2]|0,b);j=e+-32|0;k=c[j>>2]|0;b=c[e+-24>>2]|0;c[j>>2]=2;if(k&8|0?(j=b+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0)Wn(c[d>>2]|0,b);j=e+-48|0;k=c[j>>2]|0;b=c[e+-40>>2]|0;c[j>>2]=2;if(k&8|0?(j=b+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0)Wn(c[d>>2]|0,b);c[i>>2]=e+-48;b=c[d>>2]|0;if(c[b+32>>2]|0)Rn(b);k=f>=0.0&f<=4294967295.0?~~f>>>0:0;return k|0}case 6:{k=(c[b+4>>2]|0)>>>4&15;return k|0}case 10:{k=c[(c[b+8>>2]|0)+16>>2]|0;return k|0}case 8:{b=c[b+8>>2]|0;if(c[b>>2]&512|0){k=0;return k|0}k=wp(b)|0;return k|0}default:{k=0;return k|0}}return 0}function Ap(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=c[b+28>>2]|0;if(!h){e=0;d=c[b+24>>2]|0}else{d=c[b+24>>2]|0;e=0;f=0;g=(c[b+16>>2]|0)+(d<<4)|0;while(1){e=((c[g>>2]|0)!=0&1)+e|0;f=f+1|0;if((f|0)==(h|0))break;else g=g+4|0}}h=c[b+32>>2]|0;if(!h)d=0;else{f=(c[b+16>>2]|0)+(d*21|0)+(0-d&7)|0;d=0;g=0;while(1){d=((c[f>>2]|0)!=7&1)+d|0;g=g+1|0;if((g|0)==(h|0))break;else f=f+16|0}}f=d+e|0;f=((f+16|0)>>>3)+f|0;if(f>>>0<=7){h=0;ko(a,b,f,0,h,1);return}if(f>>>0>63){d=2;e=f;do{h=e;e=e>>>6;d=d<<6}while(h>>>0>4095);if(!e){h=d;ko(a,b,f,0,h,1);return}}else{d=2;e=f}do{e=e>>>1;d=d<<1}while((e|0)!=0);ko(a,b,f,0,d,1);return}function Bp(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(c[d>>2]&32768|0){o=c[d+32>>2]|0;e=o>>>0>e>>>0?e:o;if(e>>>0>f>>>0){k=d+16|0;j=d+24|0;i=b+44|0;do{e=e+-1|0;g=c[j>>2]|0;g=(c[k>>2]|0)+(g*21|0)+(0-g&7)|0;d=g+(e<<4)|0;b=c[d>>2]|0;g=c[g+(e<<4)+8>>2]|0;c[d>>2]=7;if(b&8|0?(d=g+4|0,b=(c[d>>2]|0)+-1|0,c[d>>2]=b,(b|0)==0):0)go(c[i>>2]|0,g)}while(e>>>0>f>>>0)}c[h>>2]=f;h=1;return h|0}n=(g|0)!=0;o=d+28|0;g=c[o>>2]|0;if(!n)if(!g)e=f;else{e=c[d+16>>2]|0;l=c[d+24>>2]|0;k=e+(l<<4)|0;l=e+(l*20|0)|0;e=f;j=0;do{i=c[k+(j<<2)>>2]|0;if(((i|0)!=0?(c[i>>2]&256|0)!=0:0)?(m=c[i+16>>2]|0,m>>>0>=f>>>0):0)e=(m>>>0>>0?1:(a[l+j>>0]&4)!=0)?e:m+1|0;j=j+1|0}while((j|0)!=(g|0));i=17}else{e=f;i=17}if((i|0)==17)if(g){l=d+16|0;m=d+24|0;k=n?2:0;j=0;do{i=c[(c[l>>2]|0)+(c[m>>2]<<4)+(j<<2)>>2]|0;if(((i|0)!=0?(c[i>>2]&256|0)!=0:0)?(c[i+16>>2]|0)>>>0>=e>>>0:0){ip(b,d,i,k)|0;g=c[o>>2]|0}j=j+1|0}while(j>>>0>>0)}c[h>>2]=e;h=(e|0)==(f|0)&1;return h|0}function Cp(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;l=a+428|0;n=c[(c[l>>2]|0)+392>>2]|0;if(!(io(a,b,n,c[n+16>>2]|0,e,1)|0)){g=0;return g|0}m=a+76|0;j=c[m>>2]|0;k=a+72|0;i=c[k>>2]|0;h=j-i>>4;h=h|0?i+(h+-1<<4)|0:0;h=(h|0)==0?944:h;if((c[h>>2]|0)!=9)In(a,1834,-1,268820);n=c[h+8>>2]|0;if(!n)In(a,1834,-1,268820);if((j|0)==(i|0))Jn(a,268491,50336874,268507);o=j+-16|0;c[m>>2]=o;i=c[j+-16>>2]|0;h=c[j+-8>>2]|0;c[o>>2]=2;if(i&8|0?(j=h+4|0,o=(c[j>>2]|0)+-1|0,c[j>>2]=o,(o|0)==0):0)go(c[a+44>>2]|0,h);if(!(io(a,n,d,c[d+16>>2]|0,e,1)|0)){o=0;return o|0}j=c[(c[l>>2]|0)+396>>2]|0;io(a,b,j,c[j+16>>2]|0,e,1)|0;j=c[m>>2]|0;i=c[k>>2]|0;h=j-i>>4;h=h|0?i+(h+-1<<4)|0:0;h=(h|0)==0?944:h;if((c[h>>2]|0)!=9)In(a,1834,-1,268820);b=c[h+8>>2]|0;if(!b)In(a,1834,-1,268820);if((j|0)==(i|0))Jn(a,268491,50336874,268507);l=j+-16|0;c[m>>2]=l;o=c[j+-16>>2]|0;h=c[j+-8>>2]|0;c[l>>2]=2;if(o&8|0?(m=h+4|0,o=(c[m>>2]|0)+-1|0,c[m>>2]=o,(o|0)==0):0)go(c[a+44>>2]|0,h);c[f>>2]=n;c[g>>2]=b;o=1;return o|0}function Dp(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 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,A=0,B=0.0;z=l;l=l+32|0;o=z;u=z+8|0;y=a+120|0;t=c[y>>2]|0;do if(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=(c[s>>2]|0)-m>>4;k=((k|0)<32?n:0)+o|0;if(k>>>0>=n>>>0)$n(a,342,o);if((n|0)==1)$n(a,342,-2);j=n+-2|0;i=c[a+88>>2]|0;if(!i)i=1;else i=c[i+32>>2]&1;cp(a,m+(k<<4)|0,m+(n+-1<<4)|0,c[m+(j<<4)>>2]|0,c[m+(j<<4)+4>>2]|0,+h[m+(j<<4)+8>>3],i)|0;k=c[s>>2]|0;if(k-(c[r>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);j=a+44|0;t=k+-16|0;A=c[t>>2]|0;i=c[k+-8>>2]|0;c[t>>2]=2;if(A&8|0?(t=i+4|0,A=(c[t>>2]|0)+-1|0,c[t>>2]=A,(A|0)==0):0)Wn(c[j>>2]|0,i);t=k+-32|0;A=c[t>>2]|0;i=c[k+-24>>2]|0;c[t>>2]=2;if(A&8|0?(t=i+4|0,A=(c[t>>2]|0)+-1|0,c[t>>2]=A,(A|0)==0):0)Wn(c[j>>2]|0,i);c[s>>2]=k+-32;i=c[j>>2]|0;if(c[i+32>>2]|0)Rn(i)}while(0);t=a+428|0;k=c[(c[t>>2]|0)+340>>2]|0;m=c[k+16>>2]|0;j=1e4;i=g;while(1){if(io(a,i,k,m,u,2)|0){v=41;break}if(!j)break;i=c[i+20>>2]|0;if(!i)break;else j=j+-1|0}if((v|0)==41){l=z;return}n=b+96|0;i=c[n>>2]|0;i=i>>>0<11?i<<1:20;j=c[y>>2]|0;if(j)i=(c[j+4>>2]|0)==0?i:i+2|0;r=(d|0)!=0;do if(r){j=JO(d)|0;k=a+76|0;if((c[k>>2]|0)>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3931);if((j|0)<0)Jn(a,268491,50335592,268919);else{w=Fo(a,d,j)|0;A=c[k>>2]|0;c[k>>2]=A+16;c[A>>2]=8;c[A+8>>2]=w;w=w+4|0;c[w>>2]=(c[w>>2]|0)+1;w=i+2|0;break}}else w=i;while(0);m=xo(a,48)|0;s=a+44|0;k=c[s>>2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+(i*48|0)+28>>2]|0)-(c[j+48>>2]|0)>>2;j=(j|0)==0?0:j+-1|0}else j=0;B=+(j>>>0)+ +((c[m+(i*48|0)+32>>2]|0)>>>0)*4294967296.0;c[k+16>>2]=0;h[k+24>>3]=B;i=i+-1|0;if((i|0)<(o|0))break;else k=k+32|0}}if(r){j=c[p>>2]|0;k=(c[q>>2]|0)-j>>4;i=k+-2|0;if(k>>>0<=1)$n(a,342,-2);f=j+(i<<4)|0;b=j+(k+-1<<4)|0;A=c[f>>2]|0;i=c[j+(i<<4)+8>>2]|0;DQ(f|0,f+16|0,b-f|0)|0;c[b>>2]=2;c[q>>2]=(c[q>>2]|0)+-16;if(A&8|0?(b=i+4|0,A=(c[b>>2]|0)+-1|0,c[b>>2]=A,(A|0)==0):0)go(c[s>>2]|0,i)}A=c[p>>2]|0;i=(c[q>>2]|0)-A>>4;i=i>>>0>1?A+(i+-2<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=9)In(a,1834,-2,268820);i=c[i+8>>2]|0;if(!i)In(a,1834,-2,268820);ho(a,i,c[(c[t>>2]|0)+340>>2]|0,7);l=z;return}function Ep(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,m=0;m=l;l=l+16|0;j=m;k=a+44|0;if(c[c[k>>2]>>2]&2|0){l=m;return}d=c[a+272>>2]|0;if(!d){l=m;return}b=yo(d,c[(c[a+428>>2]|0)+(b<<2)>>2]|0)|0;if(!b){l=m;return}h=a+76|0;d=c[h>>2]|0;i=a+68|0;if(d>>>0>=(c[i>>2]|0)>>>0)Sn(a,3761);c[h>>2]=d+16;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];if(c[b>>2]&8|0){g=(c[b+8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}b=c[h>>2]|0;g=a+72|0;d=c[g>>2]|0;e=b-d>>4;if(e>>>0<=1)$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;k=V;j=W;i=X;continue}f=c[F>>2]|0}c[k>>2]=j;h=f+124|0;if(q){f=c[h>>2]|0;if(!f){g=0;f=0}else{g=c[f+128>>2]|0;f=c[f+124>>2]|0}c[q+124>>2]=f;c[q+128>>2]=g;f=c[F>>2]|0}c[h>>2]=q;a[n>>0]=m;c[f+132>>2]=E;X=f+56|0;c[X>>2]=(c[X>>2]|0)+-1;if(!(c[f+32>>2]|0)){f=1;g=48;break}o=0;oa(213,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,K|0,J|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;if((g|0)==1){g=C;h=B;r=A;s=y;x=D;M=w;N=v;O=u;P=t;Q=F;R=E;S=q;T=n;U=m;V=k;W=j;X=i;f=z;C=g;B=h;A=r;y=s;D=x;w=M;v=N;u=O;t=P;F=Q;E=R;q=S;n=T;m=U;k=V;j=W;i=X}else{g=47;break}}if((g|0)==7){c[(c[F>>2]|0)+72>>2]=i;X=0;UM(K|0);l=L;return X|0}else if((g|0)==47){X=1;UM(K|0);l=L;return X|0}else if((g|0)==48){UM(K|0);l=L;return f|0}return 0}function Hp(b,d){b=b|0;d=d|0;var 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;r=l;l=l+16|0;k=b+76|0;f=c[k>>2]|0;m=b+72|0;e=c[m>>2]|0;i=f-e|0;j=i>>4;q=d+8|0;n=c[d>>2]|0;o=n&8;p=(o|0)!=0;e=j|0?e+(j+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==8)h=c[e+8>>2]|0;else h=0;e=(f-(c[b+64>>2]|0)>>4)+72|0;if((c[b+80>>2]|0)>>>0>>0){Yn(b,e,4)|0;e=c[k>>2]|0}else e=f;g=b+68|0;if(e>>>0>=(c[g>>2]|0)>>>0)Sn(b,4815);e=Po(c[b+44>>2]|0,0,1,r)|0;if(!e)Mn(b,268491,4824);s=c[k>>2]|0;c[s>>2]=10;c[s+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[k>>2]|0;s=e+16|0;c[k>>2]=s;f=c[g>>2]|0;if(s>>>0>=f>>>0)Sn(b,3772);s=e+32|0;c[k>>2]=s;if(s>>>0>=f>>>0)Sn(b,3772);s=e+48|0;c[k>>2]=s;if(s>>>0>=f>>>0)Sn(b,3772);s=e+64|0;c[k>>2]=s;if(s>>>0>=f>>>0)Sn(b,3772);c[k>>2]=e+80;c[q>>2]=b;c[d+12>>2]=h;f=j+1|0;c[d+952>>2]=f;h=j+2|0;c[d+956>>2]=h;c[d+960>>2]=j+3;c[d+964>>2]=j+4;c[d+972>>2]=2500;s=d+16|0;c[d+788>>2]=b;c[d+808>>2]=f;c[d+812>>2]=h;c[d+816>>2]=j;c[d+820>>2]=c[(c[((i|0)<0?k:m)>>2]|0)+(j<<4)+8>>2];c[d+844>>2]=1e8;c[d+1152>>2]=0;c[d+1156>>2]=1;c[d+800>>2]=0;c[d+804>>2]=1;c[s>>2]=d+20;Jp(s,0);c[d+932>>2]=0;Kp(q);if(n&4096|0){a[d+1134>>0]=n>>>5&1;a[d+1128>>0]=1;a[d+1131>>0]=1;a[d+1132>>0]=1;Mp(q,-1);Mp(q,13);Np(q,0);Op(q);l=r;return 1}e=c[(c[b+428>>2]|0)+((p?33:27)<<2)>>2]|0;f=c[k>>2]|0;if(f>>>0>=(c[g>>2]|0)>>>0)Sn(b,3761);c[k>>2]=f+16;c[f>>2]=8;c[f+8>>2]=e;s=e+4|0;c[s>>2]=(c[s>>2]|0)+1;s=c[m>>2]|0;e=(c[k>>2]|0)-s>>4;e=e|0?s+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==8)e=c[e+8>>2]|0;else e=0;c[d+996>>2]=e;a[d+1134>>0]=n>>>5&1;a[d+1129>>0]=o>>>3;a[d+1130>>0]=(p^1)&1;Lp(q,1,1,-1);Op(q);l=r;return 1}function Ip(a){a=a|0;var b=0,d=0,e=0;b=a+76|0;if((c[b>>2]|0)==(c[a+72>>2]|0))Tn(a,268491,5368);d=a+40|0;e=c[d>>2]|0;if(e|0){c[(c[a+88>>2]|0)+28>>2]=c[e>>2];c[d>>2]=0}mp(a);lp(c[a+44>>2]|0,1,(c[b>>2]|0)+-16|0);Do(a)}function Jp(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;o=b+788|0;g=c[o>>2]|0;h=c[b+776>>2]|0;p=b+784|0;f=c[p>>2]|0;m=h+(c[b+780>>2]|0)|0;e=b+4+e|0;k=b+772|0;n=h;if((e|0)==(k|0)){b=g;n=f;c[p>>2]=n;c[o>>2]=b;return}l=m;h=h+f|0;a:while(1){c[e+4>>2]=f;c[e+8>>2]=g;b:do if(h>>>0>>0){f=h+1|0;h=a[h>>0]|0;j=h&255;if(h<<24>>24>-1){if((h&255)>=14){h=f;f=j;break}switch(h<<24>>24){case 10:break;case 13:{if(f>>>0>>0?(a[f>>0]|0)==10:0){h=f;f=j;break b}break}default:{h=f;f=j;break b}}h=f;g=g+1|0;f=j;break}if((h&255)<192){e=21;break a}if((h&255)>=224)if((h&255)>=240)if((h&255)<248){i=3;h=7}else{e=21;break a}else{i=2;h=15}else{i=1;h=31}if(i>>>0>(l-f|0)>>>0){e=21;break a}j=h&j;while(1){if(!i)break;h=f+1|0;f=d[f>>0]|0;if((f&192|0)==128){j=f&63|j<<6;i=i+-1|0;f=h}else{f=h;e=21;break a}}if(j>>>0>1114111){e=21;break a}h=f;g=((j|1|0)==8233&1)+g|0;f=j}else f=-1;while(0);c[e>>2]=f;e=e+12|0;f=h-n|0;if((e|0)==(k|0)){e=22;break}}if((e|0)==21){c[p>>2]=f-n;c[o>>2]=g;Jn(c[b+772>>2]|0,269759,83886395,271132)}else if((e|0)==22){c[p>>2]=f;c[o>>2]=g;return}}function Kp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n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c[n>>2]|0;c[r>>2]=9;r=r+8|0;c[r>>2]=e;r=e+4|0;m=c[r>>2]|0;m=m+1|0;c[r>>2]=m;r=c[n>>2]|0;r=r+16|0;c[n>>2]=r;p=p+7|0;r=a+1044|0;c[r>>2]=p;r=c[o>>2]|0;p=r+(p<<4)+8|0;p=c[p>>2]|0;r=a+1016|0;c[r>>2]=p;l=q;return}function Lp(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0.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;xa=l;l=l+16|0;na=xa;c[na>>2]=-1;oa=c[d>>2]|0;wa=d+960|0;i=c[wa>>2]|0;if((i|0)>=(c[d+964>>2]|0))Jn(oa,269408,50332058,270152);c[wa>>2]=i+1;i=((c[oa+76>>2]|0)-(c[oa+64>>2]|0)>>4)+80|0;if((c[oa+80>>2]|0)>>>0>>0)Yn(oa,i,4)|0;ma=d+8|0;la=c[ma>>2]|0;ka=c[la+4>>2]|0;la=c[la+8>>2]|0;ja=(f|0)!=0;if(ja){qa=d+1052|0;i=c[qa>>2]|0;f=i+1|0;c[qa>>2]=f;if((i|0)>65534)Jn(c[d>>2]|0,269408,50333568,270177);j=d+1056|0;if((i|0)>=(c[j>>2]|0))c[j>>2]=f;c[na>>2]=i}else i=-1;da=d+1128|0;a[da>>0]=1;ea=d+1129|0;a[ea>>0]=1;qa=d+1130|0;fa=d+1131|0;ga=d+1132|0;ha=d+1133|0;ia=d+1116|0;b[qa>>1]=0;b[qa+2>>1]=0>>>16;c[ia>>2]=i;if((g|0)>-1){Mp(d,g);A=d+896|0}else{A=d+896|0;c[A>>2]=0;Mp(d,-1)}Yp(d,1,e);B=d+1135|0;C=d+792|0;D=d+796|0;E=d+12|0;pa=d+924|0;F=d+972|0;qa=d+976|0;G=d+1020|0;H=d+1108|0;I=d+1032|0;J=d+1008|0;L=d+1044|0;M=d+1016|0;N=ja?na:0;O=d+1121|0;P=d+1040|0;Q=d+1052|0;R=d+1056|0;S=(N|0)==0;T=d+1028|0;U=d+1048|0;V=d+1092|0;W=d+1096|0;X=d+1120|0;Y=d+1125|0;Z=d+988|0;_=d+1126|0;$=d+1134|0;aa=d+1060|0;ba=d+1064|0;ca=d+1068|0;y=1;K=a[B>>0]|0;a:while(1){z=y;y=y+1|0;c[C>>2]=ka;c[D>>2]=la;c[ma>>2]=E;Jp(ma,0);c[A>>2]=0;c[pa>>2]=0;Mp(d,-1);n=c[d>>2]|0;c[F>>2]=c[qa>>2];i=c[G>>2]|0;p=n+76|0;j=c[p>>2]|0;q=n+72|0;f=j-(c[q>>2]|0)>>4;i=((i|0)<0?f:0)+i|0;g=n+68|0;if(j>>>0>=(c[g>>2]|0)>>>0){i=16;break}c[p>>2]=j+16;c[j>>2]=0;h[j+8>>3]=0.0;sp(n,i>>>0>>0?i:-2147483648,80);c[H>>2]=0;i=c[I>>2]|0;j=c[p>>2]|0;f=j-(c[q>>2]|0)>>4;i=((i|0)<0?f:0)+i|0;if(j>>>0>=(c[g>>2]|0)>>>0){i=18;break}c[p>>2]=j+16;c[j>>2]=0;h[j+8>>3]=0.0;sp(n,i>>>0>>0?i:-2147483648,80);f=c[J>>2]|0;m=n+44|0;i=c[m>>2]|0;w=i+36|0;x=c[w>>2]|0;c[w>>2]=x+-1;if((x|0)<1)Ln(i,2);x=f+20|0;w=ig[c[i+8>>2]&63](c[i+16>>2]|0,c[x>>2]|0,0)|0;c[f+16>>2]=0;c[x>>2]=w;if((c[p>>2]|0)>>>0>=(c[g>>2]|0)>>>0){i=22;break}i=xo(n,40)|0;f=c[m>>2]|0;c[i>>2]=134234241;f=f+24|0;j=c[f>>2]|0;if(j|0)c[j+12>>2]=i;c[i+12>>2]=0;c[i+8>>2]=j;c[f>>2]=i;j=c[p>>2]|0;c[j>>2]=9;c[j+8>>2]=i;j=i+4|0;c[j>>2]=(c[j>>2]|0)+1;j=(c[p>>2]|0)+16|0;c[p>>2]=j;g=c[L>>2]|0;f=c[q>>2]|0;j=j-f>>4;if(!j){i=26;break}k=f+(j+-1<<4)|0;i=((g|0)<0?j:0)+g|0;if(i>>>0>=j>>>0){i=28;break}w=f+(i<<4)|0;x=c[w>>2]|0;i=c[f+(i<<4)+8>>2]|0;c[w>>2]=c[k>>2];c[w+4>>2]=c[k+4>>2];c[w+8>>2]=c[k+8>>2];c[w+12>>2]=c[k+12>>2];c[k>>2]=2;c[p>>2]=(c[p>>2]|0)+-16;if(x&8|0?(w=i+4|0,x=(c[w>>2]|0)+-1|0,c[w>>2]=x,(x|0)==0):0)go(c[m>>2]|0,i);c[M>>2]=c[(c[q>>2]|0)+(c[L>>2]<<4)+8>>2];a[da>>0]=1;a[ea>>0]=0;x=c[d>>2]|0;v=a[O>>0]|0;i=zp(x,c[P>>2]|0)|0;if(i|0){k=x+76|0;m=x+68|0;n=x+72|0;g=0;do{Zp(x,c[P>>2]|0,g)|0;f=c[k>>2]|0;if(a[_>>0]|0){j=c[f+-8>>2]|0;if(c[j>>2]&8192|0){i=173;break a}if(f>>>0>=(c[m>>2]|0)>>>0){i=37;break a}if((f-(c[n>>2]|0)|0)<16){i=39;break a}w=f+-16|0;c[k>>2]=f+16;c[f>>2]=c[w>>2];c[f+4>>2]=c[w+4>>2];c[f+8>>2]=c[w+8>>2];c[f+12>>2]=c[w+12>>2];if(c[f>>2]&8|0){w=(c[f+8>>2]|0)+4|0;c[w>>2]=(c[w>>2]|0)+1}if(_p(x,c[L>>2]|0)|0){i=173;break a}if(c[j>>2]&4096|0){i=173;break a}f=c[k>>2]|0}if(f>>>0>=(c[m>>2]|0)>>>0){i=46;break a}c[k>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+(g>>>0);$p(x,c[L>>2]|0);g=g+1|0}while(g>>>0>>0)}c[Q>>2]=i;f=c[R>>2]|0;if((f|0)<(i|0)){c[R>>2]=i;f=i}if(!S){j=i+1|0;c[Q>>2]=j;if((i|0)>65534){i=52;break}if((i|0)>=(f|0)){c[R>>2]=j;f=j}c[N>>2]=i;i=j}if(a[B>>0]|0){j=i+3|0;c[Q>>2]=j;if((j|0)>65535){i=58;break}if((j|0)>(f|0))c[R>>2]=j;c[aa>>2]=i;c[ba>>2]=i+1;c[ca>>2]=i+2;i=j}if((i|0)>256){i=172;break}w=zp(x,c[T>>2]|0)|0;s=(w|0)==0;t=x+76|0;u=x+72|0;if(s)r=u;else{q=x+68|0;m=v<<24>>24==0?19:23;p=x+44|0;n=0;while(1){Zp(x,c[T>>2]|0,n|1)|0;aq(x,-1);g=c[t>>2]|0;j=c[u>>2]|0;i=g-j>>4;i=i|0?j+(i+-1<<4)|0:0;i=(i|0)==0?944:i;do if(!(c[i>>2]|0)){o=+h[i+8>>3];if(!(XO(o)|0)){i=0;break}if(o<-2147483648.0){i=-2147483648;break}if(o>2147483647.0){i=2147483647;break}i=~~o}else i=0;while(0);k=i>>8;f=i&255;if((g|0)==(j|0)){i=72;break a}j=g+-16|0;c[t>>2]=j;r=c[g+-16>>2]|0;i=c[g+-8>>2]|0;c[j>>2]=2;do if(r&8|0){g=i+4|0;r=(c[g>>2]|0)+-1|0;c[g>>2]=r;if(r|0)break;go(c[p>>2]|0,i)}while(0);if((f|0)==1){Zp(x,c[T>>2]|0,n)|0;do if(!(a[X>>0]|0)){j=c[Q>>2]|0;i=j+1|0;c[Q>>2]=i;if((j|0)>65534){i=112;break a}if((j|0)>=(c[R>>2]|0))c[R>>2]=i;i=c[t>>2]|0;if(i>>>0>=(c[q>>2]|0)>>>0){i=116;break a}if((i-(c[u>>2]|0)|0)<16){i=118;break a}r=i+-16|0;c[t>>2]=i+16;c[i>>2]=c[r>>2];c[i+4>>2]=c[r+4>>2];c[i+8>>2]=c[r+8>>2];c[i+12>>2]=c[r+12>>2];if(c[i>>2]&8|0){r=(c[i+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}i=cq(d)|0;f=c[t>>2]|0;if(f>>>0>=(c[q>>2]|0)>>>0){i=122;break a}c[t>>2]=f+16;c[f>>2]=3;bq(d,156,j,k);dq(d,16784,m,i,j);c[Q>>2]=j}else{i=c[t>>2]|0;if(i>>>0>=(c[q>>2]|0)>>>0){i=79;break a}if((i-(c[u>>2]|0)|0)<16){i=81;break a}r=i+-16|0;c[t>>2]=i+16;c[i>>2]=c[r>>2];c[i+4>>2]=c[r+4>>2];c[i+8>>2]=c[r+8>>2];c[i+12>>2]=c[r+12>>2];if(c[i>>2]&8|0){r=(c[i+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}if(!(_p(x,c[L>>2]|0)|0)){f=c[Q>>2]|0;i=f+1|0;c[Q>>2]=i;if((f|0)>65534){i=105;break a}if((f|0)>=(c[R>>2]|0))c[R>>2]=i;bq(d,156,f,k);i=c[t>>2]|0;if(i>>>0>=(c[q>>2]|0)>>>0){i=109;break a}c[t>>2]=i+16;c[i>>2]=0;h[i+8>>3]=+(f|0);break}i=c[t>>2]|0;if(i>>>0>=(c[q>>2]|0)>>>0){i=86;break a}if((i-(c[u>>2]|0)|0)<16){i=88;break a}r=i+-16|0;c[t>>2]=i+16;c[i>>2]=c[r>>2];c[i+4>>2]=c[r+4>>2];c[i+8>>2]=c[r+8>>2];c[i+12>>2]=c[r+12>>2];if(c[i>>2]&8|0){r=(c[i+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}g=c[L>>2]|0;f=c[u>>2]|0;j=(c[t>>2]|0)-f>>4;i=((g|0)<0?j:0)+g|0;if(i>>>0>=j>>>0){i=92;break a}ro(x,f+(i<<4)|0,f+(j+-1<<4)|0)|0;f=c[u>>2]|0;j=(c[t>>2]|0)-f>>4;i=j+-2|0;if(j>>>0<=1){i=94;break a}ya=f+(i<<4)|0;g=f+(j+-1<<4)|0;r=c[ya>>2]|0;i=c[f+(i<<4)+8>>2]|0;DQ(ya|0,ya+16|0,g-ya|0)|0;c[g>>2]=2;c[t>>2]=(c[t>>2]|0)+-16;do if(r&8|0){r=i+4|0;ya=(c[r>>2]|0)+-1|0;c[r>>2]=ya;if(ya|0)break;go(c[p>>2]|0,i)}while(0);aq(x,-1);ya=c[u>>2]|0;i=(c[t>>2]|0)-ya>>4;i=i|0?ya+(i+-1<<4)|0:0;i=(i|0)==0?944:i;do if(!(c[i>>2]|0)){o=+h[i+8>>3];if(!(XO(o)|0)){i=0;break}if(o<-2147483648.0){i=-2147483648;break}if(o>2147483647.0){i=2147483647;break}i=~~o}else i=0;while(0);bq(d,156,i,k)}while(0);$p(x,c[L>>2]|0)}n=n+2|0;if(n>>>0>=w>>>0){r=u;break}}}f=c[L>>2]|0;g=c[t>>2]|0;ya=g-(c[r>>2]|0)>>4;j=((f|0)<0?ya:0)+f|0;if(j>>>0>=ya>>>0){i=127;break}p=x+428|0;i=c[(c[p>>2]|0)+268>>2]|0;q=x+68|0;if(g>>>0>=(c[q>>2]|0)>>>0){i=129;break}c[t>>2]=g+16;c[g>>2]=8;c[g+8>>2]=i;ya=i+4|0;c[ya>>2]=(c[ya>>2]|0)+1;if(_p(x,j)|0)a[$>>0]=1;if(!s){n=x+44|0;k=v<<24>>24==0?3:7;m=0;do{Zp(x,c[T>>2]|0,m|1)|0;aq(x,-1);g=c[t>>2]|0;j=c[u>>2]|0;i=g-j>>4;i=i|0?j+(i+-1<<4)|0:0;i=(i|0)==0?944:i;do if(!(c[i>>2]|0)){o=+h[i+8>>3];if(!(XO(o)|0)){i=0;break}if(o<-2147483648.0){i=-2147483648;break}if(o>2147483647.0){i=2147483647;break}i=~~o}else i=0;while(0);f=i&255;if((g|0)==(j|0)){i=140;break a}v=g+-16|0;c[t>>2]=v;ya=c[g+-16>>2]|0;i=c[g+-8>>2]|0;c[v>>2]=2;do if(ya&8|0){v=i+4|0;ya=(c[v>>2]|0)+-1|0;c[v>>2]=ya;if(ya|0)break;go(c[n>>2]|0,i)}while(0);b:do if(!f){Zp(x,c[T>>2]|0,m)|0;if(_p(x,c[L>>2]|0)|0)break;Zp(x,c[T>>2]|0,m)|0;j=c[t>>2]|0;i=j+-8|0;do if((c[i>>2]|0)==(c[(c[p>>2]|0)+268>>2]|0)){if(a[$>>0]|0)break;if((j|0)==(c[u>>2]|0)){i=149;break a}v=j+-16|0;c[t>>2]=v;ya=c[j+-16>>2]|0;i=c[i>>2]|0;c[v>>2]=2;if(!(ya&8))break b;v=i+4|0;ya=(c[v>>2]|0)+-1|0;c[v>>2]=ya;if(ya|0)break b;go(c[n>>2]|0,i);break b}while(0);if(!(a[X>>0]|0)){if(j>>>0>=(c[q>>2]|0)>>>0){i=162;break a}if((j-(c[r>>2]|0)|0)<16){i=164;break a}ya=j+-16|0;c[t>>2]=j+16;c[j>>2]=c[ya>>2];c[j+4>>2]=c[ya+4>>2];c[j+8>>2]=c[ya+8>>2];c[j+12>>2]=c[ya+12>>2];if(c[j>>2]&8|0){ya=(c[j+8>>2]|0)+4|0;c[ya>>2]=(c[ya>>2]|0)+1}i=cq(d)|0;f=c[t>>2]|0;if(f>>>0>=(c[q>>2]|0)>>>0){i=168;break a}c[t>>2]=f+16;c[f>>2]=3;dq(d,16784,k,i,0)}else{i=c[Q>>2]|0;f=i+1|0;c[Q>>2]=f;if((i|0)>65534){i=155;break a}if((i|0)>=(c[R>>2]|0))c[R>>2]=f;if(j>>>0>=(c[q>>2]|0)>>>0){i=159;break a}c[t>>2]=j+16;c[j>>2]=0;h[j+8>>3]=+(i|0)}$p(x,c[L>>2]|0)}while(0);m=m+2|0}while(m>>>0>>0)}c[ia>>2]=c[na>>2];c[U>>2]=c[Q>>2];c[V>>2]=0;c[W>>2]=0;a[fa>>0]=0;a[ga>>0]=0;a[ha>>0]=0;do if(a[X>>0]|0){if(a[Y>>0]|0)break;i=c[Z>>2]|0;if(!i)break;i=c[i>>2]|0;if(!(a[_>>0]|0))if((i&6144|0)==2048){i=203;break a}else break;else if(!(i&12288))break;else{i=203;break a}}while(0);if(ja)bq(d,6,0,0);Yp(d,1,e);ya=K;K=a[B>>0]|0;if(ya<<24>>24==K<<24>>24){i=185;break}if((z|0)>1){i=184;break}}switch(i|0){case 16:{Sn(n,3902);break}case 18:{Sn(n,3902);break}case 22:{Sn(n,4255);break}case 26:{$n(n,342,-1);break}case 28:{$n(n,342,g);break}case 37:{Sn(x,955);break}case 39:{$n(x,958,-1);break}case 46:{Sn(x,3902);break}case 52:{Jn(c[d>>2]|0,269408,50333568,270177);break}case 58:{Jn(c[d>>2]|0,269408,50333568,270177);break}case 72:{Jn(x,268491,50336874,268507);break}case 79:{Sn(x,955);break}case 81:{$n(x,958,-1);break}case 86:{Sn(x,955);break}case 88:{$n(x,958,-1);break}case 92:{$n(x,342,g);break}case 94:{$n(x,342,-2);break}case 105:{Jn(c[d>>2]|0,269408,50333568,270177);break}case 109:{Sn(x,3868);break}case 112:{Jn(c[d>>2]|0,269408,50333568,270177);break}case 116:{Sn(x,955);break}case 118:{$n(x,958,-1);break}case 122:{Sn(x,3787);break}case 127:{$n(x,267,f);break}case 129:{Sn(x,3761);break}case 140:{Jn(x,268491,50336874,268507);break}case 149:{Jn(x,268491,50336874,268507);break}case 155:{Jn(c[d>>2]|0,269408,50333568,270177);break}case 159:{Sn(x,3868);break}case 162:{Sn(x,955);break}case 164:{$n(x,958,-1);break}case 168:{Sn(x,3787);break}case 172:{Jn(x,269408,50338722,270188);break}case 173:{Jn(x,269408,83893159,270203);break}case 184:{lo(oa,269408,7330);break}case 185:{i=c[na>>2]|0;do if((i|0)<=-1){g=d+980|0;k=d+972|0;i=c[k>>2]|0;f=i;do if(((c[g>>2]|0)-f|0)>>>0<=7){j=c[d>>2]|0;i=f-(c[qa>>2]|0)|0;f=i+72+(i>>>4)|0;if(f>>>0>>0)Jn(j,269610,50331716,268447);else{ya=d+984|0;Kn(j,c[ya>>2]|0,f);ya=c[(c[ya>>2]|0)+20>>2]|0;ra=ya+i|0;c[k>>2]=ra;c[qa>>2]=ya;c[g>>2]=ya+f;break}}else ra=i;while(0);j=ra+8|0;c[k>>2]=j;f=c[d+876>>2]|0;if(!f)f=c[pa>>2]|0;c[ra>>2]=162;c[ra+4>>2]=f;i=c[qa>>2]|0;if((f|0)>2147418112|(j-i|0)>>>0>2147418112)Jn(c[d>>2]|0,269408,50332823,270225);else{ta=i;sa=j;break}}else{bq(d,161,0,i);ta=c[qa>>2]|0;sa=c[d+972>>2]|0}while(0);m=(sa-ta|0)>>>3;if(!m){ya=c[wa>>2]|0;ya=ya+-1|0;c[wa>>2]=ya;l=xa;return}else g=0;do{k=0;i=0;do{f=ta+(k<<3)|0;j=c[f>>2]|0;if((j&255|0)==160?(ua=j>>>8,va=c[ta+(k+-8388607+ua<<3)>>2]|0,(va&255|0)==160):0){c[f>>2]=(ua<<8)+256+va&-256^-2147483488;i=i+1|0}k=k+1|0}while((k|0)!=(m|0));g=g+1|0}while(g>>>0<3&(i|0)!=0);ya=c[wa>>2]|0;ya=ya+-1|0;c[wa>>2]=ya;l=xa;return}case 203:{Jn(oa,269408,83893453,270240);break}}}function Mp(b,e){b=b|0;e=e|0;var f=0,g=0,i=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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;k=c[b>>2]|0;H=b+896|0;i=c[H>>2]|0;f=b+1136|0;if(!(a[f>>0]|0))p=((d[269496+i>>0]|0)>>>5&1^1)&255;else{a[f>>0]=0;p=0}if(!((e|0)<0|(i|0)==(e|0)))Jn(k,269408,83886549,269598);f=b+848|0;e=H;i=f+48|0;do{c[f>>2]=c[e>>2];f=f+4|0;e=e+4|0}while((f|0)<(i|0));Up(k,c[b+944>>2]|0,c[b+952>>2]|0);Up(k,c[b+948>>2]|0,c[b+956>>2]|0);E=b+8|0;y=a[b+1126>>0]|0;F=b+832|0;G=(c[F>>2]|0)+1|0;c[F>>2]=G;if((G|0)>=(c[b+836>>2]|0))Jn(c[b+780>>2]|0,269759,50333434,270062);c[H>>2]=0;G=b+900|0;c[G>>2]=-1;A=b+928|0;c[A>>2]=0;m=b+924|0;n=b+920|0;F=b+12|0;D=F;o=b+840|0;f=0;a:while(1){l=c[E>>2]|0;c[m>>2]=c[l+8>>2];k=(f|0)==0;b:while(1){e=c[l+4>>2]|0;c[n>>2]=e;x=c[l>>2]|0;c:do switch(x|0){case 123:{g=3121;C=344;break a}case 125:{C=345;break a}case 40:{C=346;break a}case 41:{C=347;break a}case 91:{C=348;break a}case 93:{C=349;break a}case 59:{C=350;break a}case 44:{C=351;break a}case 62:{C=97;break a}case 61:{C=101;break a}case 33:{C=104;break a}case 43:{C=107;break a}case 42:{C=116;break a}case 37:{C=119;break a}case 38:{C=120;break a}case 124:{C=121;break a}case 94:{C=122;break a}case 126:{C=352;break a}case 63:{B=f;g=3156;break a}case 58:{C=123;break a}case 39:case 34:{C=124;break a}case 10:{C=12;break b}case 13:{C=208;break b}case 8233:case 8232:break b;case 9:case 32:{e=l+12|0;c[E>>2]=e;i=D-e+768|0;if(i>>>0<72){DQ(F|0,e|0,i|0)|0;c[E>>2]=F;Jp(E,i)}break}case 35:{if(!((e|0)==0?(c[l+12>>2]|0)==33:0)){C=361;break a}if(!(c[o>>2]&64)){C=361;break a}else{e=l;i=35}do{if((i|0)<8232)switch(i|0){case 10:case 13:break c;default:{}}else switch(i|0){case 8232:case 8233:break c;default:{}}e=e+12|0;c[E>>2]=e;i=D-e+768|0;if(i>>>0<72){DQ(F|0,e|0,i|0)|0;c[E>>2]=F;Jp(E,i);e=c[E>>2]|0}i=c[e>>2]|0}while((i|0)>=0);break}case 47:{e=c[l+12>>2]|0;switch(e|0){case 42:{C=25;break b}case 47:{e=l;i=47;break}default:{C=34;break a}}do{if((i|0)<8232)switch(i|0){case 10:case 13:break c;default:{}}else switch(i|0){case 8232:case 8233:break c;default:{}}e=e+12|0;c[E>>2]=e;i=D-e+768|0;if(i>>>0<72){DQ(F|0,e|0,i|0)|0;c[E>>2]=F;Jp(E,i);e=c[E>>2]|0}i=c[e>>2]|0}while((i|0)>=0);break}case 46:{if(((c[l+12>>2]|0)+-48|0)>>>0<10)C=215;else{g=3127;C=344;break a}break}case 60:{e=c[l+12>>2]|0;switch(e|0){case 60:{C=95;break a}case 33:break;default:{g=e;e=3130;C=96;break a}}if((c[l+24>>2]|0)!=45){g=33;e=3130;C=96;break a}if((c[l+36>>2]|0)==45){e=l;i=60}else{g=33;e=3130;C=96;break a}do{if((i|0)<8232)switch(i|0){case 10:case 13:break c;default:{}}else switch(i|0){case 8232:case 8233:break c;default:{}}e=e+12|0;c[E>>2]=e;i=D-e+768|0;if(i>>>0<72){DQ(F|0,e|0,i|0)|0;c[E>>2]=F;Jp(E,i);e=c[E>>2]|0}i=c[e>>2]|0}while((i|0)>=0);break}case 45:{e=c[l+12>>2]|0;if(k){f=0;g=e;C=115;break a}if((e|0)!=45){g=e;C=115;break a}if((c[l+24>>2]|0)==62){e=l;i=45}else{g=45;C=115;break a}do{if((i|0)<8232)switch(i|0){case 10:case 13:break c;default:{}}else switch(i|0){case 8232:case 8233:break c;default:{}}e=e+12|0;c[E>>2]=e;i=D-e+768|0;if(i>>>0<72){DQ(F|0,e|0,i|0)|0;c[E>>2]=F;Jp(E,i);e=c[E>>2]|0}i=c[e>>2]|0}while((i|0)>=0);break}default:if((x|0)<128)if((x|0)>-1){C=215;break c}else{e=0;C=217;break c}else{e=(Wp(264713,1036,x)|0)!=0;C=217;break c}}while(0);if((C|0)==215){e=(a[269631+x>>0]|0)>0;C=217}if((C|0)==217){C=0;if((x|0)==92|e){C=218;break a}if((x|0)==46|(x+-48|0)>>>0<10){C=271;break a}d:do switch(x>>8|0){case 0:{switch((x&255)<<24>>24){case -96:case 32:case 12:case 11:case 9:break;default:{C=343;break a}}break}case 32:{if((x&255)>>>0>=11)switch((x&255)<<24>>24){case 47:case 95:break;default:{C=343;break a}}break}default:{if((x|0)<12288)switch(x|0){case 5760:case 6158:break d;default:{C=343;break a}}if((x|0)<65279)switch(x|0){case 12288:break d;default:{C=343;break a}}else switch(x|0){case 65279:break d;default:{C=343;break a}}}}while(0);e=l+12|0;c[E>>2]=e;i=D-e+768|0;if(i>>>0<72){DQ(F|0,e|0,i|0)|0;c[E>>2]=F;Jp(E,i)}}l=c[E>>2]|0}if((C|0)==12){C=0;f=l+12|0;c[E>>2]=f;e=D-f+768|0;if(e>>>0>=72){f=1;continue}DQ(F|0,f|0,e|0)|0;c[E>>2]=F;Jp(E,e);f=1;continue}else if((C|0)==25){C=0;i=l+24|0;c[E>>2]=i;e=D-i+768|0;if(e>>>0<72){DQ(F|0,i|0,e|0)|0;c[E>>2]=F;Jp(E,e);e=c[E>>2]|0;k=e}else{k=i;e=i}e=c[e>>2]|0;if((e|0)<0){C=365;break}else l=0;while(1){i=k+12|0;c[E>>2]=i;k=D-i+768|0;if(k>>>0<72){DQ(F|0,i|0,k|0)|0;c[E>>2]=F;Jp(E,k)}if((e|0)==47&(l|0)!=0)continue a;if((e|0)<8232)switch(e|0){case 10:case 13:{f=1;break}default:C=32}else switch(e|0){case 8232:case 8233:{f=1;break}default:C=32}if((C|0)==32)C=0;k=c[E>>2]|0;i=c[k>>2]|0;if((i|0)<0){C=365;break a}else{l=(e|0)==42&1;e=i}}}else if((C|0)==208?(C=0,(c[l+12>>2]|0)==10):0){f=l+24|0;c[E>>2]=f;e=D-f+768|0;if(e>>>0>=72){f=1;continue}DQ(F|0,f|0,e|0)|0;c[E>>2]=F;Jp(E,e);f=1;continue}f=l+12|0;c[E>>2]=f;e=D-f+768|0;if(e>>>0>=72){f=1;continue}DQ(F|0,f|0,e|0)|0;c[E>>2]=F;Jp(E,e);f=1}e:switch(C|0){case 34:{if(!p){B=f;g=(e|0)==61?6234:3141;break}t=b+812|0;e=c[t>>2]|0;i=c[e+16>>2]|0;s=b+780|0;if(i>>>0>=256){Kn(c[s>>2]|0,e,256);i=c[t>>2]|0;e=i;i=c[i+16>>2]|0}u=b+828|0;c[u>>2]=e;n=c[e+20>>2]|0;o=b+816|0;c[o>>2]=n;p=b+820|0;c[p>>2]=n;q=b+824|0;c[q>>2]=n+i;n=b+816|0;k=0;f:while(1){i=(c[E>>2]|0)+12|0;c[E>>2]=i;e=D-i+768|0;if(e>>>0<72){DQ(F|0,i|0,e|0)|0;c[E>>2]=F;Jp(E,e);i=c[E>>2]|0;e=i}else e=i;m=c[e>>2]|0;if((m|0)<0){C=364;break}if((m|0)<8232)switch(m|0){case 10:case 13:{C=364;break f}default:{}}else switch(m|0){case 8232:case 8233:{C=364;break f}default:{}}g:do switch(k|0){case 0:switch(m|0){case 47:{C=44;break f}case 92:{k=1;break g}case 91:{k=2;break g}default:{k=0;break g}}case 1:{k=0;break}case 2:{k=(m|0)==93?0:(m|0)==92?3:2;break}default:k=2}while(0);i=c[n>>2]|0;e=i;if(((c[q>>2]|0)-i|0)>>>0<6){l=c[s>>2]|0;e=i-(c[p>>2]|0)|0;i=e+70+(e>>>4)|0;if(i>>>0>>0){C=55;break}Kn(l,c[u>>2]|0,i);C=c[(c[u>>2]|0)+20>>2]|0;e=C+e|0;c[n>>2]=e;c[p>>2]=C;c[q>>2]=C+i}do if(m>>>0>=128){if(m>>>0<2048){a[e>>0]=m>>>6&31|192;a[e+1>>0]=m&63|128;e=2;break}if(m>>>0<65536){a[e>>0]=m>>>12&15|224;a[e+1>>0]=m>>>6&63|128;a[e+2>>0]=m&63|128;e=3;break}else{C=m+-65536|0;a[e>>0]=-19;a[e+1>>0]=C>>>16&15|160;a[e+2>>0]=C>>>10&63|128;a[e+3>>0]=-19;a[e+4>>0]=C>>>6&15|176;a[e+5>>0]=C&63|128;e=6;break}}else{a[e>>0]=m;e=1}while(0);c[n>>2]=(c[n>>2]|0)+e}if((C|0)==44){g=i+12|0;c[E>>2]=g;e=D-g+768|0;if(e>>>0<72){DQ(F|0,g|0,e|0)|0;c[E>>2]=F;Jp(E,e)}c[b+912>>2]=Vp(E,c[b+800>>2]|0)|0;g=c[t>>2]|0;e=c[g+16>>2]|0;if(e>>>0>=256){Kn(c[s>>2]|0,g,256);e=c[t>>2]|0;g=e;e=c[e+16>>2]|0}c[u>>2]=g;B=c[g+20>>2]|0;c[o>>2]=B;c[p>>2]=B;c[q>>2]=B+e;while(1){k=c[c[E>>2]>>2]|0;if((k|0)<128){if((k|0)<=-1)break;if(!(a[269631+k>>0]|0))break}else if((Wp(264713,1036,k)|0)==0?(Wp(265791,530,k)|0)==0:0)break;e=c[n>>2]|0;g=e;if(((c[q>>2]|0)-e|0)>>>0<6){i=c[s>>2]|0;g=e-(c[p>>2]|0)|0;e=g+70+(g>>>4)|0;if(e>>>0>>0){C=72;break}Kn(i,c[u>>2]|0,e);B=c[(c[u>>2]|0)+20>>2]|0;g=B+g|0;c[n>>2]=g;c[p>>2]=B;c[q>>2]=B+e}do if(k>>>0>=128){if(k>>>0<2048){a[g>>0]=k>>>6&31|192;a[g+1>>0]=k&63|128;g=2;break}if(k>>>0<65536){a[g>>0]=k>>>12&15|224;a[g+1>>0]=k>>>6&63|128;a[g+2>>0]=k&63|128;g=3;break}else{B=k+-65536|0;a[g>>0]=-19;a[g+1>>0]=B>>>16&15|160;a[g+2>>0]=B>>>10&63|128;a[g+3>>0]=-19;a[g+4>>0]=B>>>6&15|176;a[g+5>>0]=B&63|128;g=6;break}}else{a[g>>0]=k;g=1}while(0);c[n>>2]=(c[n>>2]|0)+g;g=(c[E>>2]|0)+12|0;c[E>>2]=g;e=D-g+768|0;if(e>>>0>=72)continue;DQ(F|0,g|0,e|0)|0;c[E>>2]=F;Jp(E,e)}if((C|0)==72)Jn(i,269610,50331716,268447);c[b+916>>2]=Vp(E,c[b+804>>2]|0)|0;e=c[t>>2]|0;g=c[e+16>>2]|0;if(g>>>0>=256){Kn(c[s>>2]|0,e,256);g=c[t>>2]|0;e=g;g=c[g+16>>2]|0}c[u>>2]=e;B=c[e+20>>2]|0;c[o>>2]=B;c[p>>2]=B;c[q>>2]=B+g;B=f;g=101;break}else if((C|0)==55)Jn(l,269610,50331716,268447);else if((C|0)==364)Jn(c[s>>2]|0,269759,83887882,270111);break}case 95:{if((c[l+24>>2]|0)==61){B=f;g=9309}else{g=60;e=6218;C=96}break}case 97:{g=c[l+12>>2]|0;e=(g|0)==62;h:do if(e){switch(c[l+24>>2]|0){case 61:{B=f;g=9310;break e}case 62:break;default:break h}B=f;g=(c[l+36>>2]|0)==61?12383:9292;break e}while(0);B=f;g=(g|0)==61?6205:e?6219:3131;break}case 101:{g=(c[l+12>>2]|0)==61;if(g?(c[l+24>>2]|0)==61:0){B=f;g=9280;break}B=f;g=g?6206:3158;break}case 104:{g=(c[l+12>>2]|0)==61;if(g?(c[l+24>>2]|0)==61:0){B=f;g=9281;break}B=f;g=g?6207:3152;break}case 107:{g=c[l+12>>2]|0;B=f;g=(g|0)==43?6216:(g|0)==61?6231:3138;break}case 115:{B=f;g=(g|0)==45?6217:(g|0)==61?6232:3139;break}case 116:{g=c[l+12>>2]|0;e=(g|0)==42;if(e?(c[l+24>>2]|0)==61:0){B=f;g=9308;break}B=f;g=e?6215:(g|0)==61?6233:3140;break}case 119:{B=f;g=(c[l+12>>2]|0)==61?6235:3142;break}case 120:{g=c[l+12>>2]|0;B=f;g=(g|0)==38?6226:(g|0)==61?6240:3149;break}case 121:{g=c[l+12>>2]|0;B=f;g=(g|0)==124?6227:(g|0)==61?6241:3150;break}case 122:{B=f;g=(c[l+12>>2]|0)==61?6242:3151;break}case 123:{B=f;g=3157;break}case 124:{u=b+812|0;e=c[u>>2]|0;i=c[e+16>>2]|0;p=b+780|0;if(i>>>0>=256){Kn(c[p>>2]|0,e,256);i=c[u>>2]|0;e=i;i=c[i+16>>2]|0}v=b+828|0;c[v>>2]=e;n=c[e+20>>2]|0;q=b+816|0;c[q>>2]=n;s=b+820|0;c[s>>2]=n;t=b+824|0;c[t>>2]=n+i;n=y<<24>>24!=0;o=b+816|0;e=1;i:while(1){i=(c[E>>2]|0)+(e*12|0)|0;c[E>>2]=i;e=D-i+768|0;if(e>>>0<72){DQ(F|0,i|0,e|0)|0;c[E>>2]=F;Jp(E,e);e=c[E>>2]|0;k=e}else{k=i;e=i}l=c[k>>2]|0;if((l|0)==(x|0)){C=130;break}if((l|0)!=92){if((l+-32|0)>>>0<96){i=c[t>>2]|0;y=c[o>>2]|0;e=y;if((i|0)==(y|0)){k=c[p>>2]|0;e=i-(c[s>>2]|0)|0;i=e+65+(e>>>4)|0;if(i>>>0>>0){C=186;break}Kn(k,c[v>>2]|0,i);y=c[(c[v>>2]|0)+20>>2]|0;e=y+e|0;c[o>>2]=e;c[s>>2]=y;c[t>>2]=y+i}c[o>>2]=e+1;a[e>>0]=l;e=1;continue}if((l|0)<0){C=204;break}if((l|0)<8232)switch(l|0){case 10:case 13:{C=204;break i}default:{}}else switch(l|0){case 8232:case 8233:{C=204;break i}default:{}}i=c[o>>2]|0;e=i;if(((c[t>>2]|0)-i|0)>>>0<6){k=c[p>>2]|0;e=i-(c[s>>2]|0)|0;i=e+70+(e>>>4)|0;if(i>>>0>>0){C=193;break}Kn(k,c[v>>2]|0,i);y=c[(c[v>>2]|0)+20>>2]|0;e=y+e|0;c[o>>2]=e;c[s>>2]=y;c[t>>2]=y+i}do if(l>>>0>=128){if(l>>>0<2048){a[e>>0]=l>>>6&31|192;a[e+1>>0]=l&63|128;e=2;break}if(l>>>0<65536){a[e>>0]=l>>>12&15|224;a[e+1>>0]=l>>>6&63|128;a[e+2>>0]=l&63|128;e=3;break}else{y=l+-65536|0;a[e>>0]=-19;a[e+1>>0]=y>>>16&15|160;a[e+2>>0]=y>>>10&63|128;a[e+3>>0]=-19;a[e+4>>0]=y>>>6&15|176;a[e+5>>0]=y&63|128;e=6;break}}else{a[e>>0]=l;e=1}while(0);c[o>>2]=(c[o>>2]|0)+e;e=1;continue}l=c[k+12>>2]|0;j:do switch(l|0){case 92:case 34:case 39:{i=l;e=2;C=174;break}case 98:{i=8;e=2;C=174;break}case 102:{i=12;e=2;C=174;break}case 110:{i=10;e=2;C=174;break}case 114:{i=13;e=2;C=174;break}case 116:{i=9;e=2;C=174;break}case 118:{i=11;e=2;C=174;break}case 117:case 120:{l=Xp(E,1)|0;i=c[o>>2]|0;e=i;if(((c[t>>2]|0)-i|0)>>>0<6){k=c[p>>2]|0;e=i-(c[s>>2]|0)|0;i=e+70+(e>>>4)|0;if(i>>>0>>0){C=142;break i}Kn(k,c[v>>2]|0,i);y=c[(c[v>>2]|0)+20>>2]|0;e=y+e|0;c[o>>2]=e;c[s>>2]=y;c[t>>2]=y+i}do if(l>>>0>=128){if(l>>>0<2048){a[e>>0]=l>>>6&31|192;a[e+1>>0]=l&63|128;e=2;break}if(l>>>0<65536){a[e>>0]=l>>>12&15|224;a[e+1>>0]=l>>>6&63|128;a[e+2>>0]=l&63|128;e=3;break}else{y=l+-65536|0;a[e>>0]=-19;a[e+1>>0]=y>>>16&15|160;a[e+2>>0]=y>>>10&63|128;a[e+3>>0]=-19;a[e+4>>0]=y>>>6&15|176;a[e+5>>0]=y&63|128;e=6;break}}else{a[e>>0]=l;e=1}while(0);c[o>>2]=(c[o>>2]|0)+e;e=0;break}case 13:{e=(c[k+24>>2]|0)==10?3:2;break}case 8233:case 8232:case 10:{e=2;break}default:{i=l+-48|0;if(i>>>0<10){if((l&-8|0)!=48){i=l;e=2;C=174;break j}e=c[k+24>>2]|0;if((e&-8|0)==48?(w=(i<<3)+-48+e|0,(w|0)<=255):0){e=c[k+36>>2]|0;if((e&-8|0)==48?(z=(w<<3)+-48+e|0,(z|0)<=255):0){e=4;i=z}else{e=3;i=w;C=156}}else{e=2;C=156}if((i|0)<0|n&((i|0)!=0|(e|0)!=2)){C=203;break i}else{C=174;break j}}if((l|0)<0){C=204;break i}i=c[o>>2]|0;e=i;if(((c[t>>2]|0)-i|0)>>>0<6){k=c[p>>2]|0;e=i-(c[s>>2]|0)|0;i=e+70+(e>>>4)|0;if(i>>>0>>0){C=164;break i}Kn(k,c[v>>2]|0,i);y=c[(c[v>>2]|0)+20>>2]|0;e=y+e|0;c[o>>2]=e;c[s>>2]=y;c[t>>2]=y+i}do if(l>>>0>=128){if(l>>>0<2048){a[e>>0]=l>>>6&31|192;a[e+1>>0]=l&63|128;e=2;break}if(l>>>0<65536){a[e>>0]=l>>>12&15|224;a[e+1>>0]=l>>>6&63|128;a[e+2>>0]=l&63|128;e=3;break}else{y=l+-65536|0;a[e>>0]=-19;a[e+1>>0]=y>>>16&15|160;a[e+2>>0]=y>>>10&63|128;a[e+3>>0]=-19;a[e+4>>0]=y>>>6&15|176;a[e+5>>0]=y&63|128;e=6;break}}else{a[e>>0]=l;e=1}while(0);c[o>>2]=(c[o>>2]|0)+e;e=2}}while(0);if((C|0)==174){C=0;l=c[o>>2]|0;k=l;if(((c[t>>2]|0)-l|0)>>>0<6){m=c[p>>2]|0;k=l-(c[s>>2]|0)|0;l=k+70+(k>>>4)|0;if(l>>>0>>0){C=176;break}Kn(m,c[v>>2]|0,l);y=c[(c[v>>2]|0)+20>>2]|0;k=y+k|0;c[o>>2]=k;c[s>>2]=y;c[t>>2]=y+l}if(i>>>0<128){a[k>>0]=i;i=1}else{a[k>>0]=i>>>6&31|192;a[k+1>>0]=i&63|128;i=2}c[o>>2]=(c[o>>2]|0)+i}c[A>>2]=(c[A>>2]|0)+1}if((C|0)==130){g=e+12|0;c[E>>2]=g;e=D-g+768|0;if(e>>>0<72){DQ(F|0,g|0,e|0)|0;c[E>>2]=F;Jp(E,e)}e=b+800|0;Vp(E,c[e>>2]|0)|0;i=c[p>>2]|0;e=c[e>>2]|0;c[b+912>>2]=c[(c[((e|0)<0?i+76|0:i+72|0)>>2]|0)+(e<<4)+8>>2];e=c[u>>2]|0;g=c[e+16>>2]|0;if(g>>>0>=256){Kn(i,e,256);g=c[u>>2]|0;e=g;g=c[g+16>>2]|0}c[v>>2]=e;B=c[e+20>>2]|0;c[q>>2]=B;c[s>>2]=B;c[t>>2]=B+g;B=f;g=100;break}else if((C|0)==142)Jn(k,269610,50331716,268447);else if((C|0)==164)Jn(k,269610,50331716,268447);else if((C|0)==176)Jn(m,269610,50331716,268447);else if((C|0)==186)Jn(k,269610,50331716,268447);else if((C|0)==193)Jn(k,269610,50331716,268447);else if((C|0)==203)Jn(c[p>>2]|0,269759,83887019,269771);else if((C|0)==204)Jn(c[p>>2]|0,269759,83887023,269786);break}case 218:{s=b+812|0;e=c[s>>2]|0;i=c[e+16>>2]|0;u=b+780|0;if(i>>>0>=256){Kn(c[u>>2]|0,e,256);i=c[s>>2]|0;e=i;i=c[i+16>>2]|0}t=b+828|0;c[t>>2]=e;n=c[e+20>>2]|0;o=b+816|0;c[o>>2]=n;p=b+820|0;c[p>>2]=n;q=b+824|0;c[q>>2]=n+i;n=b+816|0;m=1;k:while(1){e=c[E>>2]|0;l=c[e>>2]|0;if((l|0)!=92){if((l|0)<128){if((l|0)<=-1){C=263;break}if(!(a[269631+l>>0]|0)){C=263;break}}else if((Wp(264713,1036,l)|0)==0?(Wp(265791,530,l)|0)==0:0){C=263;break}i=c[n>>2]|0;e=i;if(((c[q>>2]|0)-i|0)>>>0<6){k=c[u>>2]|0;e=i-(c[p>>2]|0)|0;i=e+70+(e>>>4)|0;if(i>>>0>>0){C=252;break}Kn(k,c[t>>2]|0,i);C=c[(c[t>>2]|0)+20>>2]|0;e=C+e|0;c[n>>2]=e;c[p>>2]=C;c[q>>2]=C+i}do if(l>>>0>=128){if(l>>>0<2048){a[e>>0]=l>>>6&31|192;a[e+1>>0]=l&63|128;e=2;break}if(l>>>0<65536){a[e>>0]=l>>>12&15|224;a[e+1>>0]=l>>>6&63|128;a[e+2>>0]=l&63|128;e=3;break}else{C=l+-65536|0;a[e>>0]=-19;a[e+1>>0]=C>>>16&15|160;a[e+2>>0]=C>>>10&63|128;a[e+3>>0]=-19;a[e+4>>0]=C>>>6&15|176;a[e+5>>0]=C&63|128;e=6;break}}else{a[e>>0]=l;e=1}while(0);c[n>>2]=(c[n>>2]|0)+e;e=(c[E>>2]|0)+12|0;c[E>>2]=e;i=D-e+768|0;if(i>>>0>=72){m=0;continue}DQ(F|0,e|0,i|0)|0;c[E>>2]=F;Jp(E,i);m=0;continue}if((c[e+12>>2]|0)!=117){C=363;break}l=Xp(E,1)|0;i=c[n>>2]|0;e=i;if(((c[q>>2]|0)-i|0)>>>0<6){k=c[u>>2]|0;e=i-(c[p>>2]|0)|0;i=e+70+(e>>>4)|0;if(i>>>0>>0){C=225;break}Kn(k,c[t>>2]|0,i);C=c[(c[t>>2]|0)+20>>2]|0;e=C+e|0;c[n>>2]=e;c[p>>2]=C;c[q>>2]=C+i}do if(l>>>0>=128){if(l>>>0<2048){a[e>>0]=l>>>6&31|192;a[e+1>>0]=l&63|128;e=2;break}if(l>>>0<65536){a[e>>0]=l>>>12&15|224;a[e+1>>0]=l>>>6&63|128;a[e+2>>0]=l&63|128;e=3;break}else{C=l+-65536|0;a[e>>0]=-19;a[e+1>>0]=C>>>16&15|160;a[e+2>>0]=C>>>10&63|128;a[e+3>>0]=-19;a[e+4>>0]=C>>>6&15|176;a[e+5>>0]=C&63|128;e=6;break}}else{a[e>>0]=l;e=1}while(0);c[n>>2]=(c[n>>2]|0)+e;e=(l|0)<128;do if(!m)if(e){if((l|0)<=-1){C=363;break k}if(!(a[269631+l>>0]|0)){C=363;break k}else break}else{if(Wp(264713,1036,l)|0)break;if(!(Wp(265791,530,l)|0)){C=363;break k}else break}else{if(!e)if(!(Wp(264713,1036,l)|0)){C=363;break k}else break;if((l|0)<=-1){C=363;break k}if((a[269631+l>>0]|0)<=0){C=363;break k}}while(0);c[A>>2]=(c[A>>2]|0)+1;m=0}if((C|0)==225)Jn(k,269610,50331716,268447);else if((C|0)==252)Jn(k,269610,50331716,268447);else if((C|0)==263){k=Vp(E,c[b+800>>2]|0)|0;c[b+912>>2]=k;c[G>>2]=1;e=c[s>>2]|0;g=c[e+16>>2]|0;if(g>>>0>=256){Kn(c[u>>2]|0,e,256);g=c[s>>2]|0;e=g;g=c[g+16>>2]|0}c[t>>2]=e;i=c[e+20>>2]|0;c[o>>2]=i;c[p>>2]=i;c[q>>2]=i+g;i=y<<24>>24?164:155;if(c[A>>2]|0){B=f;g=1;break}e=c[(c[u>>2]|0)+428>>2]|0;g=119;while(1){if((c[e+(g<<2)>>2]|0)==(k|0))break;g=g+1|0;if((g|0)>=(i|0)){B=f;g=1;break e}}B=f;g=g+-117|0;break}else if((C|0)==363)Jn(c[u>>2]|0,269759,83887878,269771);break}case 271:{w=b+812|0;g=c[w>>2]|0;e=c[g+16>>2]|0;if(e>>>0<256)k=g;else{Kn(c[b+780>>2]|0,g,256);e=c[w>>2]|0;l=c[E>>2]|0;k=e;e=c[e+16>>2]|0}s=b+828|0;c[s>>2]=k;g=c[k+20>>2]|0;t=b+816|0;c[t>>2]=g;u=b+820|0;c[u>>2]=g;v=b+824|0;c[v>>2]=g+e;i=c[l+12>>2]|0;l:do if((x|0)==48)switch(i|32|0){case 120:{i=0;e=24;k=16;g=l;break l}case 111:{i=0;e=24;k=8;g=l;break l}case 98:{i=0;e=24;k=2;g=l;break l}default:{if((i+-48|0)>>>0>=10){i=0;e=0;k=10;g=l;break l}if(y<<24>>24){B=b+780|0;B=c[B>>2]|0;Jn(B,269759,83887874,270088)}if(e>>>0<6){Kn(c[b+780>>2]|0,k,70);g=c[(c[s>>2]|0)+20>>2]|0;c[t>>2]=g;c[u>>2]=g;c[v>>2]=g+70}a[g>>0]=48;c[t>>2]=(c[t>>2]|0)+1;i=1;e=12;k=8;g=c[E>>2]|0;break l}}else{i=0;e=0;k=10;g=l}while(0);g=g+e|0;c[E>>2]=g;e=D-g+768|0;if(e>>>0<72){DQ(F|0,g|0,e|0)|0;c[E>>2]=F;Jp(E,e)}o=(i|0)!=0;p=b+816|0;g=b+780|0;e=0;q=k;m:while(1){l=c[c[E>>2]>>2]|0;do if((l+-48|0)>>>0>=10){if((q|0)==16){if(l>>>0<256)if((a[269806+l>>0]|0)<0)C=291;else{m=e;n=16;break}}else C=291;if((C|0)==291?(C=0,(l|0)==46):0)if((q|0)!=10|(e|0)>0)break m;else{m=1;n=10;break}if((l|32|0)==101)if((q|0)!=10|(e|0)>1)break m;else{m=2;n=10;break}else if((e|0)!=2|(l|0)==45^(l|0)!=43)break m;else{m=3;n=q;break}}else{m=(e|0)==2?3:e;n=o&(e|0)==0&(l|1|0)==57?10:q}while(0);i=c[p>>2]|0;e=i;if(((c[v>>2]|0)-i|0)>>>0<6){k=c[g>>2]|0;e=i-(c[u>>2]|0)|0;i=e+70+(e>>>4)|0;if(i>>>0>>0){C=298;break}Kn(k,c[s>>2]|0,i);B=c[(c[s>>2]|0)+20>>2]|0;e=B+e|0;c[p>>2]=e;c[u>>2]=B;c[v>>2]=B+i}do if(l>>>0>=128){if(l>>>0<2048){a[e>>0]=l>>>6&31|192;a[e+1>>0]=l&63|128;e=2;break}if(l>>>0<65536){a[e>>0]=l>>>12&15|224;a[e+1>>0]=l>>>6&63|128;a[e+2>>0]=l&63|128;e=3;break}else{B=l+-65536|0;a[e>>0]=-19;a[e+1>>0]=B>>>16&15|160;a[e+2>>0]=B>>>10&63|128;a[e+3>>0]=-19;a[e+4>>0]=B>>>6&15|176;a[e+5>>0]=B&63|128;e=6;break}}else{a[e>>0]=l;e=1}while(0);c[p>>2]=(c[p>>2]|0)+e;e=(c[E>>2]|0)+12|0;c[E>>2]=e;i=D-e+768|0;if(i>>>0>=72){e=m;q=n;continue}DQ(F|0,e|0,i|0)|0;c[E>>2]=F;Jp(E,i);e=m;q=n}if((C|0)==298)Jn(k,269610,50331716,268447);p=b+800|0;Vp(E,c[p>>2]|0)|0;i=c[g>>2]|0;k=c[p>>2]|0;l=i+76|0;m=c[l>>2]|0;if(m>>>0>=(c[i+68>>2]|0)>>>0)Sn(i,935);n=c[i+72>>2]|0;B=m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16>>2]|0}c[s>>2]=i;B=c[i+20>>2]|0;c[t>>2]=B;c[u>>2]=B;c[v>>2]=B+e;e=c[c[E>>2]>>2]|0;if((e+-48|0)>>>0<10){B=g;B=c[B>>2]|0;Jn(B,269759,83887874,270088)}do if((e|0)<128){if((e|0)<=-1)break;if((a[269631+e>>0]|0)<=0)break;B=c[g>>2]|0;Jn(B,269759,83887874,270088)}else{if(!(Wp(264713,1036,e)|0))break;B=c[g>>2]|0;Jn(B,269759,83887874,270088)}while(0);h[b+904>>3]=r;B=f;g=99;break}case 343:{if((x|0)<0){B=f;g=0}else{A=b+780|0;A=c[A>>2]|0;Jn(A,269759,83887870,270074)}break}case 344:{B=f;break}case 345:{B=f;g=3122;break}case 346:{B=f;g=3125;break}case 347:{B=f;g=3126;break}case 348:{B=f;g=3123;break}case 349:{B=f;g=3124;break}case 350:{B=f;g=3128;break}case 351:{B=f;g=3129;break}case 352:{B=f;g=3153;break}case 361:{A=b+780|0;A=c[A>>2]|0;Jn(A,269759,83887870,270074);break}case 365:{Jn(c[b+780>>2]|0,269759,83887886,270131);break}}if((C|0)==96){B=f;g=(g|0)==61?6204:e}e=(c[E>>2]|0)+(g>>>8)|0;c[E>>2]=e;f=D-e+768|0;if(f>>>0<72){DQ(F|0,e|0,f|0)|0;c[E>>2]=F;Jp(E,f)}f=g&255;c[H>>2]=f;if((c[G>>2]|0)<0)c[G>>2]=f;c[b+932>>2]=B;if(B|0){G=1;H=b+936|0;c[H>>2]=G;return}switch((g&255)<<24>>24){case 0:case 50:{G=1;H=b+936|0;c[H>>2]=G;return}default:{}}G=0;H=b+936|0;c[H>>2]=G;return}function Np(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.0;g=c[a>>2]|0;i=(b&16|0)==0;e=i?a+896|0:a+848|0;d=(c[e+4>>2]|0)==1;a:do if(!(b&2)){if(!d){if(!(b&1))break;Jn(g,269408,83893585,269453)}b=c[e+16>>2]|0;d=g+76|0;e=c[d>>2]|0;if(e>>>0<(c[g+68>>2]|0)>>>0){c[d>>2]=e+16;c[e>>2]=8;c[e+8>>2]=b;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=d;j=17;break}else Sn(g,3761)}else{b:do if(!d){switch(c[e>>2]|0){case 100:break b;case 99:break;default:Jn(g,269408,83893568,269426)}b=g+76|0;d=c[b>>2]|0;if(d>>>0<(c[g+68>>2]|0)>>>0){l=+h[e+8>>3];c[b>>2]=d+16;c[d>>2]=0;h[d+8>>3]=l;Ho(g,-1)|0;f=b;j=17;break a}else Sn(g,3835)}while(0);b=c[e+16>>2]|0;d=g+76|0;e=c[d>>2]|0;if(e>>>0<(c[g+68>>2]|0)>>>0){c[d>>2]=e+16;c[e>>2]=8;c[e+8>>2]=b;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=d;j=17;break}else Sn(g,3761)}while(0);if((j|0)==17?(c[a+988>>2]=c[(c[f>>2]|0)+-8>>2],i):0)Mp(a,-1);Mp(a,53);k=c[a>>2]|0;e=a+896|0;b=c[e>>2]|0;if((b|0)==54){Mp(a,-1);Lp(a,0,0,49);Op(a);return}f=a+912|0;g=k+76|0;i=k+68|0;j=a+1040|0;d=0;while(1){if(d){Mp(a,57);b=c[e>>2]|0}if((b|0)!=1){j=24;break}b=c[f>>2]|0;d=c[g>>2]|0;if(d>>>0>=(c[i>>2]|0)>>>0){j=26;break}c[g>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=zp(k,c[j>>2]|0)|0;Tp(k,c[j>>2]|0,b);Mp(a,-1);b=c[e>>2]|0;if((b|0)==54){j=28;break}else d=1}if((j|0)==24)Jn(k,269408,83893502,269476);else if((j|0)==26)Sn(k,3761);else if((j|0)==28){Mp(a,-1);Lp(a,0,0,49);Op(a);return}}function Op(d){d=d|0;var f=0,g=0,i=0,j=0.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,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+16|0;y=F;s=d+972|0;E=c[d>>2]|0;v=Pp(E)|0;D=v+20|0;f=c[D>>2]|0;c[D>>2]=0;if(f|0?(C=f+4|0,D=(c[C>>2]|0)+-1|0,c[C>>2]=D,(D|0)==0):0)fp(c[E+44>>2]|0,f);if(!(a[d+1120>>0]|0)){if(a[d+1121>>0]|0?a[d+1126>>0]|0:0)c[v>>2]=c[v>>2]|262144}else{g=c[v>>2]|0;f=g|262144;c[v>>2]=f;do if(!(a[d+1134>>0]|0)){if((a[d+1131>>0]|0)==0?(a[d+1130>>0]|0)==0:0)break;f=g|1310720;c[v>>2]=f}while(0);if(a[d+1123>>0]|0?c[d+988>>2]|0:0)c[v>>2]=f|524288}if(a[d+1126>>0]|0)c[v>>2]=c[v>>2]|65536;if(a[d+1127>>0]|0)c[v>>2]=c[v>>2]|131072;if(a[d+1124>>0]|0)c[v>>2]=c[v>>2]|256;t=d+992|0;f=c[t>>2]|0;if(!(c[f>>2]&4194304)){k=E+76|0;g=c[k>>2]|0;i=E+68|0;if(g>>>0>=(c[i>>2]|0)>>>0)Sn(E,3761);c[k>>2]=g+16;c[g>>2]=9;c[g+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[(c[E+428>>2]|0)+320>>2]|0;g=c[k>>2]|0;if(g>>>0>=(c[i>>2]|0)>>>0)Sn(E,3761);c[k>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;i=f+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[k>>2]|0;ro(E,i+-32|0,i+-16|0)|0;i=E+72|0;f=c[i>>2]|0;D=(c[k>>2]|0)-f>>4;g=D+-1|0;if(!D)$n(E,267,-1);j=+jo(E,f+(g<<4)|0);C=c[i>>2]|0;B=C+(g<<4)|0;D=c[B>>2]|0;C=C+(g<<4)+8|0;f=c[C>>2]|0;c[B>>2]=0;h[C>>3]=j;if(D&8|0?(C=f+4|0,D=(c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c[D>>2]=f+16;f=c[f+8>>2]|0;c[v+40>>2]=f;A=f+4|0;c[A>>2]=(c[A>>2]|0)+1;f=f+24|0;if(q){m=q<<2;i=f;k=0;while(1){g=c[t>>2]|0;if((c[g>>2]&32768|0)!=0?(c[g+32>>2]|0)>>>0>k>>>0:0){A=c[g+24>>2]|0;g=(c[g+16>>2]|0)+(A*21|0)+(0-A&7)+(k<<4)|0}else g=0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];if(c[g>>2]&8|0){A=(c[g+8>>2]|0)+4|0;c[A>>2]=(c[A>>2]|0)+1}k=k+1|0;if((k|0)==(q|0))break;else i=i+16|0}f=f+(m<<2)|0}c[v+44>>2]=f;k=n>>>0>2;if(k){i=0;while(1){g=c[r>>2]|0;A=c[g+24>>2]|0;A=c[(c[g+16>>2]|0)+(A*21|0)+(0-A&7)+(i*3<<4)+8>>2]|0;g=f+4|0;c[f>>2]=A;A=A+4|0;c[A>>2]=(c[A>>2]|0)+1;i=i+1|0;if(i>>>0>=o>>>0)break;else f=g}}else g=f;c[v+48>>2]=g;z=c[p>>2]|0;u=(B|0)==0;if(!u){f=0;do{c[g+(f<<2)>>2]=c[z+(f<<3)>>2];f=f+1|0}while((f|0)!=(B|0))}f=c[D>>2]|0;A=E+72|0;if((f|0)==(c[A>>2]|0))Jn(E,268491,50336874,268507);s=f+-16|0;c[D>>2]=s;t=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[s>>2]=2;if(t&8|0?(s=f+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)go(c[w>>2]|0,f);b[v+60>>1]=c[d+1056>>2];f=c[d+1012>>2]|0;if(!(c[f>>2]&4194304)){g=c[D>>2]|0;if(g>>>0>=(c[C>>2]|0)>>>0)Sn(E,3761);c[D>>2]=g+16;c[g>>2]=9;c[g+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;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]=0;i=k+4|0;v=(c[i>>2]|0)+-1|0;c[i>>2]=v;if(v|0)break;Rp(c[n>>2]|0,k)}while(0);m=m+1|0}while((m|0)!=(q|0));f=c[r>>2]|0}v=c[s+72>>2]|0;f=f-v>>4;f=f|0?v+(f+-1<<4)|0:0;f=(f|0)==0?944:f;do if((c[f>>2]|0)==9){f=c[f+8>>2]|0;if(!f)break;yp(s,f)}while(0);if((g|0)>0){v=c[A>>2]|0;f=(c[D>>2]|0)-v>>4;f=f>>>0>1?v+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(E,1834,-2,268820);f=c[f+8>>2]|0;if(!f)In(E,1834,-2,268820);else{ho(E,f,c[(c[E+428>>2]|0)+372>>2]|0,0);break}}else{f=c[D>>2]|0;if((f|0)==(c[A>>2]|0))Jn(E,268491,50336874,268507);s=f+-16|0;c[D>>2]=s;v=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[s>>2]=2;if(!(v&8))break;s=f+4|0;v=(c[s>>2]|0)+-1|0;c[s>>2]=v;if(v|0)break;go(c[w>>2]|0,f);break}}while(0);g=d+1040|0;f=zp(E,c[g>>2]|0)|0;do if((f|0)==(e[t>>1]|0)){f=(f|0)!=0;if(!(a[d+1131>>0]|0))if(f&(a[d+1130>>0]|0)!=0){x=117;break}else break;else if(f){x=117;break}else break}else x=117;while(0);do if((x|0)==117){g=c[g>>2]|0;i=c[D>>2]|0;if(i>>>0>=(c[C>>2]|0)>>>0)Sn(E,935);k=c[A>>2]|0;x=i-k>>4;f=((g|0)<0?x:0)+g|0;if(f>>>0>=x>>>0)$n(E,342,g);x=k+(f<<4)|0;c[D>>2]=i+16;c[i>>2]=c[x>>2];c[i+4>>2]=c[x+4>>2];c[i+8>>2]=c[x+8>>2];c[i+12>>2]=c[x+12>>2];if(c[i>>2]&8|0){x=(c[i+8>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}x=c[A>>2]|0;f=(c[D>>2]|0)-x>>4;f=f>>>0>1?x+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(E,1834,-2,268820);f=c[f+8>>2]|0;if(!f)In(E,1834,-2,268820);else{ho(E,f,c[(c[E+428>>2]|0)+368>>2]|0,0);break}}while(0);f=c[d+988>>2]|0;do if(f|0){g=c[D>>2]|0;if(g>>>0>=(c[C>>2]|0)>>>0)Sn(E,3761);c[D>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;x=f+4|0;c[x>>2]=(c[x>>2]|0)+1;x=c[A>>2]|0;f=(c[D>>2]|0)-x>>4;f=f>>>0>1?x+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(E,1834,-2,268820);f=c[f+8>>2]|0;if(!f)In(E,1834,-2,268820);else{ho(E,f,c[(c[E+428>>2]|0)+344>>2]|0,0);break}}while(0);f=(B+63|0)>>>6<<3|4;if((c[D>>2]|0)>>>0>=(c[C>>2]|0)>>>0)Sn(E,4815);g=Po(c[w>>2]|0,f,1,y)|0;if(!g)Mn(E,268491,4824);t=c[D>>2]|0;c[t>>2]=10;c[t+8>>2]=g;t=g+4|0;c[t>>2]=(c[t>>2]|0)+1;t=c[D>>2]|0;c[D>>2]=t+16;t=c[t+8>>2]|0;s=t+20|0;c[c[s>>2]>>2]=B;if(!u){i=0;do{Kn(E,t,f+276|0);r=c[s>>2]|0;y=i>>>5|1;g=c[z+(i<<3)+4>>2]|0;c[r+(y<<2)>>2]=g;c[r+(y+1<<2)>>2]=f;r=r+f|0;i=i+1|0;if(i>>>0>>0&(i&63|0)!=0){q=g;g=0;m=0;k=0;do{n=q;q=c[z+(i<<3)+4>>2]|0;n=q-n|0;do if(!n){m=m<<1;o=k+1|0;if((k|0)<=6){k=o;break}p=6-k|0;p=(p|0)>-8?p:-8;n=o;do if(g>>>0<276){n=n+-8|0;a[r+g>>0]=m>>>n;g=g+1|0}else n=n+-8|0;while((n|0)>7);k=k+-7-(p+o&-8)|0}else{if((n+-1|0)>>>0<4){m=n+7|m<<4;k=k+4|0;if((k|0)>7)n=k;else break;do if(g>>>0<276){n=n+-8|0;a[r+g>>0]=m>>>n;g=g+1|0}else n=n+-8|0;while((n|0)>7);k=k&7;break}if((n+128|0)>>>0<256){m=n+1664|m<<11;n=k+11|0;if((n|0)<=7){k=n;break}do if(g>>>0<276){n=n+-8|0;a[r+g>>0]=m>>>n;g=g+1|0}else n=n+-8|0;while((n|0)>7);k=k+3&7;break}o=q>>>16;n=m<<19|o|458752;m=k+19|0;if((m|0)>7){do if(g>>>0<276){m=m+-8|0;a[r+g>>0]=n>>>m;g=g+1|0}else m=m+-8|0;while((m|0)>7);n=k+3&7}else n=m;m=o<<16|q&65535;k=n+16|0;if((k|0)<=7)break;do if(g>>>0<276){k=k+-8|0;a[r+g>>0]=m>>>k;g=g+1|0}else k=k+-8|0;while((k|0)>7);k=n&7}while(0);i=i+1|0}while(i>>>0>>0&(i&63|0)!=0)}else{g=0;m=0;k=0}k=8-k|0;if((k|0)>0&g>>>0<276){a[r+g>>0]=m<>>0>>0)}Kn(E,t,f);Sp(E,0,0);B=c[A>>2]|0;f=(c[D>>2]|0)-B>>4;f=f>>>0>1?B+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(E,1834,-2,268820);f=c[f+8>>2]|0;if(!f)In(E,1834,-2,268820);i=E+428|0;ho(E,f,c[(c[i>>2]|0)+380>>2]|0,0);f=c[d+4>>2]|0;do if(f|0){g=c[D>>2]|0;if(g>>>0>=(c[C>>2]|0)>>>0)Sn(E,3761);c[D>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;d=f+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[A>>2]|0;f=(c[D>>2]|0)-d>>4;f=f>>>0>1?d+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(E,1834,-2,268820);f=c[f+8>>2]|0;if(!f)In(E,1834,-2,268820);else{ho(E,f,c[(c[i>>2]|0)+348>>2]|0,0);break}}while(0);d=c[A>>2]|0;f=(c[D>>2]|0)-d>>4;f=f|0?d+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9){l=F;return}f=c[f+8>>2]|0;if(!f){l=F;return}yp(E,f);l=F;return}function Pp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+76|0;if((c[b>>2]|0)>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4430);f=xo(a,64)|0;g=a+44|0;e=c[g>>2]|0;c[f>>2]=402655361;e=e+24|0;d=c[e>>2]|0;if(d|0)c[d+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=d;c[e>>2]=f;if(!f)Mn(a,268491,4442);e=c[b>>2]|0;c[e>>2]=9;c[e+8>>2]=f;e=f+4|0;c[e>>2]=(c[e>>2]|0)+1;c[b>>2]=(c[b>>2]|0)+16;a=c[a+152>>2]|0;e=f+20|0;b=c[e>>2]|0;c[e>>2]=a;if(a|0){e=a+4|0;c[e>>2]=(c[e>>2]|0)+1}if(!b)return f|0;d=b+4|0;e=(c[d>>2]|0)+-1|0;c[d>>2]=e;if(e|0)return f|0;fp(c[g>>2]|0,b);return f|0}function Qp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=a+76|0;e=c[d>>2]|0;if(e-(c[a+72>>2]|0)>>4>>>0<3)Jn(a,268491,50336767,268507);b=a+44|0;g=e+-16|0;f=c[g>>2]|0;a=c[e+-8>>2]|0;c[g>>2]=2;if(f&8|0?(f=a+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0)Wn(c[b>>2]|0,a);f=e+-32|0;g=c[f>>2]|0;a=c[e+-24>>2]|0;c[f>>2]=2;if(g&8|0?(f=a+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0)Wn(c[b>>2]|0,a);f=e+-48|0;g=c[f>>2]|0;a=c[e+-40>>2]|0;c[f>>2]=2;if(g&8|0?(f=a+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0)Wn(c[b>>2]|0,a);c[d>>2]=e+-48;a=c[b>>2]|0;if(!(c[a+32>>2]|0))return;Rn(a);return}function Rp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(c[a+48>>2]|0)return;d=a+188|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+200|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+212|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+224|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;f=a+180|0;c[f>>2]=(c[f>>2]|0)+-1;f=(c[a+168>>2]|0)+((c[a+172>>2]&c[b+12>>2])<<2)|0;e=0;d=f;while(1){d=c[d>>2]|0;if((d|0)==(b|0))break;else{e=d;d=d+8|0}}c[(e|0?e+8|0:f)>>2]=c[b+8>>2];Bg[c[a+12>>2]&255](c[a+16>>2]|0,b);return}function Sp(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+16|0;n=s;r=a+76|0;e=c[r>>2]|0;o=a+72|0;g=c[o>>2]|0;f=e-g|0;i=f>>4;q=i+-1|0;if(!i)$n(a,267,-1);p=(f|0)<16;f=(p?i:0)+q|0;f=f>>>0>>0?g+(f<<4)|0:0;f=(f|0)==0?944:f;do if((c[f>>2]|0)==10?(j=c[f+8>>2]|0,(j|0)!=0):0){g=c[j>>2]|0;if(!(g&128))i=j+24|0;else i=c[j+20>>2]|0;h=c[j+16>>2]|0;f=(d|0)==2;if((g>>>7&1|0)==(d|0))if(f|(g&256|0)==0)break;else{k=h;m=15;break}else if(f)break;else{k=h;m=15;break}}else m=11;while(0);do if((m|0)==11){Ho(a,q)|0;f=c[r>>2]|0;k=c[o>>2]|0;j=f-k>>4;e=(p?j:0)+q|0;e=e>>>0>>0?k+(e<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8)In(a,1812,q,287470);e=c[e+8>>2]|0;if(!e)In(a,1812,q,287470);else{i=e+28|0;k=c[e+20>>2]|0;e=f;m=15;break}}while(0);if((m|0)==15){if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4815);if(k>>>0>2147483646)Jn(a,268491,50336467,268447);j=a+44|0;e=Po(c[j>>2]|0,k,(d|0)==1&1,n)|0;if(!e)Mn(a,268491,4824);d=c[r>>2]|0;c[d>>2]=10;c[d+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=(c[r>>2]|0)+16|0;c[r>>2]=e;if(k){CQ(c[n>>2]|0,i|0,k|0)|0;e=c[r>>2]|0}g=c[o>>2]|0;f=e-g>>4;if(!f)$n(a,342,-1);h=g+(f+-1<<4)|0;e=(p?f:0)+q|0;if(e>>>0>=f>>>0)$n(a,342,q);q=g+(e<<4)|0;a=c[q>>2]|0;e=c[g+(e<<4)+8>>2]|0;c[q>>2]=c[h>>2];c[q+4>>2]=c[h+4>>2];c[q+8>>2]=c[h+8>>2];c[q+12>>2]=c[h+12>>2];c[h>>2]=2;c[r>>2]=(c[r>>2]|0)+-16;if((a&8|0)!=0?(a=e+4|0,r=(c[a>>2]|0)+-1|0,c[a>>2]=r,(r|0)==0):0){go(c[j>>2]|0,e);h=k}else h=k}if(!b){l=s;return}c[b>>2]=h;l=s;return}function Tp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,l=0;k=a+76|0;e=c[k>>2]|0;j=a+72|0;f=c[j>>2]|0;l=e-f>>4;g=((b|0)<0?l:0)+b|0;i=f;if(g>>>0>=l>>>0)$n(a,267,b);if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);l=e+16|0;c[k>>2]=l;c[e>>2]=0;h[e+8>>3]=+(d>>>0);f=l-f>>4;d=((g|0)<0?f:0)+g|0;if(d>>>0>=f>>>0)$n(a,342,g);if((f|0)==1)$n(a,342,-2);e=f+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,i+(d<<4)|0,i+(f+-1<<4)|0,c[i+(e<<4)>>2]|0,c[i+(e<<4)+4>>2]|0,+h[i+(e<<4)+8>>3],b)|0;d=c[k>>2]|0;if(d-(c[j>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);e=a+44|0;j=d+-16|0;l=c[j>>2]|0;b=c[d+-8>>2]|0;c[j>>2]=2;if(l&8|0?(j=b+4|0,l=(c[j>>2]|0)+-1|0,c[j>>2]=l,(l|0)==0):0)Wn(c[e>>2]|0,b);j=d+-32|0;l=c[j>>2]|0;b=c[d+-24>>2]|0;c[j>>2]=2;if(l&8|0?(j=b+4|0,l=(c[j>>2]|0)+-1|0,c[j>>2]=l,(l|0)==0):0)Wn(c[e>>2]|0,b);c[k>>2]=d+-32;b=c[e>>2]|0;if(!(c[b+32>>2]|0))return;Rn(b);return}function Up(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=c[a+72>>2]|0;e=(c[a+76>>2]|0)-h>>4;f=((b|0)<0?e:0)+b|0;if(f>>>0>=e>>>0)$n(a,342,b);g=h+(f<<4)|0;b=((d|0)<0?e:0)+d|0;if(b>>>0>=e>>>0)$n(a,342,d);d=h+(b<<4)|0;if(c[g>>2]&8|0){f=(c[h+(f<<4)+8>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+1}if(!(c[d>>2]&8)){c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];return}b=c[h+(b<<4)+8>>2]|0;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];g=b+4|0;h=(c[g>>2]|0)+-1|0;c[g>>2]=h;if(h|0)return;go(c[a+44>>2]|0,b);return}function Vp(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+772>>2]|0;d=c[a+812>>2]|0;j=i+76|0;if((c[j>>2]|0)>>>0>=(c[i+68>>2]|0)>>>0)Sn(i,3931);a=(d|0)==0?0:(c[a+808>>2]|0)-d|0;if((a|0)<0)Jn(i,268491,50335592,268919);f=Fo(i,d,a)|0;d=c[j>>2]|0;c[j>>2]=d+16;c[d>>2]=8;c[d+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;f=i+72|0;d=c[f>>2]|0;e=(c[j>>2]|0)-d>>4;if(!e)$n(i,342,-1);g=d+(e+-1<<4)|0;h=(b|0)<0;a=(h?e:0)+b|0;if(a>>>0>=e>>>0)$n(i,342,b);k=d+(a<<4)|0;e=c[k>>2]|0;a=c[d+(a<<4)+8>>2]|0;c[k>>2]=c[g>>2];c[k+4>>2]=c[g+4>>2];c[k+8>>2]=c[g+8>>2];c[k+12>>2]=c[g+12>>2];c[g>>2]=2;c[j>>2]=(c[j>>2]|0)+-16;if(!(e&8)){k=h?j:f;k=c[k>>2]|0;k=k+(b<<4)+8|0;k=c[k>>2]|0;return k|0}g=a+4|0;k=(c[g>>2]|0)+-1|0;c[g>>2]=k;if(k|0){k=h?j:f;k=c[k>>2]|0;k=k+(b<<4)+8|0;k=c[k>>2]|0;return k|0}go(c[i+44>>2]|0,a);k=h?j:f;k=c[k>>2]|0;k=k+(b<<4)+8|0;k=c[k>>2]|0;return k|0}function Wp(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;m=0;g=0;e=0;i=0;a:while(1){if((i|0)<4){j=g;k=i;f=g;while(1){e=e<<8;h=f+1|0;if(f>>>0>>0){g=h;e=d[a+f>>0]|0|e;f=h}else g=j;k=k+8|0;if((k|0)>=4)break;else j=g}i=i+8+(3-i&-8)|0}j=i+-4|0;l=e>>>j;f=l&15;b:do switch(l&15){case 0:{e=0;f=55;break a}case 15:{if((j|0)<8){h=g;f=g;while(1){e=e<<8;g=f+1|0;if(f>>>0>>0){h=g;e=d[a+f>>0]|0|e;f=g}if((j|0)<0)j=j+8|0;else break}j=i+4+(11-i&-8)|0}else h=g;i=j+-8|0;f=e>>>i&255;if(f>>>0<254){f=f+15|0;g=h;j=i;break b}if((f|0)==254){if((i|0)<12){g=h;f=h;do{e=e<<8;h=f+1|0;if(f>>>0>>0){g=h;e=d[a+f>>0]|0|e;f=h}i=i+8|0}while((i|0)<12);f=(19-j&-8)+j|0}else{f=i;g=h}j=f+-12|0;f=(e>>>j&4095)+269|0;break b}else{if((i|0)<24){g=h;f=h;do{e=e<<8;h=f+1|0;if(f>>>0>>0){g=h;e=d[a+f>>0]|0|e;f=h}i=i+8|0}while((i|0)<24);f=(31-j&-8)+j|0}else{f=i;g=h}j=f+-24|0;f=(e>>>j&16777215)+4365|0;break b}}default:{}}while(0);if((j|0)<4){l=g;h=g;k=j;while(1){e=e<<8;i=h+1|0;if(h>>>0>>0){g=i;e=d[a+h>>0]|0|e;h=i}else g=l;k=k+8|0;if((k|0)>=4)break;else l=g}l=j+8+(3-j&-8)|0}else l=j;i=l+-4|0;h=e>>>i&15;do if((h|0)==15){if((i|0)<8){k=g;h=g;while(1){e=e<<8;j=h+1|0;if(h>>>0>>0){g=j;e=d[a+h>>0]|0|e;h=j}else g=k;if((i|0)<0){k=g;i=i+8|0}else break}i=l+4+(11-l&-8)|0}k=i+-8|0;h=e>>>k&255;if(h>>>0<254){h=h+15|0;i=k;break}if((h|0)==254){if((k|0)<12){l=g;h=g;while(1){e=e<<8;j=h+1|0;if(h>>>0>>0){g=j;e=d[a+h>>0]|0|e;h=j}else g=l;k=k+8|0;if((k|0)>=12)break;else l=g}h=(19-i&-8)+i|0}else h=k;i=h+-12|0;h=(e>>>i&4095)+269|0;break}else{if((k|0)<24){l=g;h=g;while(1){e=e<<8;j=h+1|0;if(h>>>0>>0){g=j;e=d[a+h>>0]|0|e;h=j}else g=l;k=k+8|0;if((k|0)>=24)break;else l=g}h=(31-i&-8)+i|0}else h=k;i=h+-24|0;h=(e>>>i&16777215)+4365|0;break}}while(0);l=f+m|0;m=h+l|0;if(!((l|0)>(c|0)|(m|0)<(c|0))){e=1;f=55;break}}if((f|0)==55)return e|0;return 0}function Xp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[b>>2]|0;if((c[e+12>>2]|0)==117){d=d|0?(c[e+24>>2]|0)==123:0;f=d?0:4;d=d?36:24}else{f=2;d=24}d=e+d|0;c[b>>2]=d;i=b+4|0;j=i;e=j-d+768|0;if(e>>>0<72){DQ(i|0,d|0,e|0)|0;c[b>>2]=i;Jp(b,e);d=0;g=f}else{d=0;g=f}while(1){e=c[b>>2]|0;h=c[e>>2]|0;e=e+12|0;c[b>>2]=e;f=j-e+768|0;if(f>>>0<72){DQ(i|0,e|0,f|0)|0;c[b>>2]=i;Jp(b,f)}if(h>>>0<256){f=a[269806+h>>0]|0;f=(f<<24>>24>-1?f:-1)<<24>>24}else f=-1;if((g|0)>0){e=g+-1|0;if((f|0)<0){e=15;break}d=f+(d<<4)|0;if(!e){e=16;break}else{g=e;continue}}else{if((f|0)<=-1){e=14;break}d=f+(d<<4)|0;if((d|0)>1114111){e=15;break}else{g=-1;continue}}}if((e|0)==14)if((g|0)==0|(h|0)!=125){b=b+772|0;b=c[b>>2]|0;Jn(b,269759,83886824,269771)}else{b=d;return b|0}else if((e|0)==15){b=b+772|0;b=c[b>>2]|0;Jn(b,269759,83886824,269771)}else if((e|0)==16)return d|0;return 0}function Yp(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=l;l=l+32|0;h=j;i=c[a>>2]|0;g=i+76|0;e=c[g>>2]|0;f=(e-(c[i+64>>2]|0)>>4)+80|0;if((c[i+80>>2]|0)>>>0>>0){Yn(i,f,4)|0;e=c[g>>2]|0}f=e;k=h+4|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[h>>2]=1;c[h+8>>2]=1;e=e-(c[i+72>>2]|0)>>4;c[h+16>>2]=e;c[h+28>>2]=e+1;e=c[i+68>>2]|0;if(f>>>0>=e>>>0)Sn(i,3772);k=f+16|0;c[g>>2]=k;if(k>>>0>=e>>>0)Sn(i,3772);c[g>>2]=f+32;e=a+896|0;f=c[e>>2]|0;if(!d){if((f|0)==50){Mp(a,-1);iq(i);l=j;return}do hq(a,h,b);while((c[e>>2]|0)!=50);Mp(a,-1);iq(i);l=j;return}else{if(!f){Mp(a,-1);iq(i);l=j;return}do hq(a,h,b);while((c[e>>2]|0)!=0);Mp(a,-1);iq(i);l=j;return}}function Zp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,l=0;k=a+76|0;e=c[k>>2]|0;j=a+72|0;f=c[j>>2]|0;l=e-f>>4;g=((b|0)<0?l:0)+b|0;i=f;if(g>>>0>=l>>>0)$n(a,267,b);if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);b=e+16|0;c[k>>2]=b;c[e>>2]=0;h[e+8>>3]=+(d>>>0);e=b-f>>4;b=((g|0)<0?e:0)+g|0;if(b>>>0>=e>>>0)$n(a,342,g);f=ro(a,i+(b<<4)|0,i+(e+-1<<4)|0)|0;e=c[j>>2]|0;d=(c[k>>2]|0)-e>>4;b=d+-2|0;if(d>>>0<=1)$n(a,342,-2);i=e+(b<<4)|0;j=e+(d+-1<<4)|0;l=c[i>>2]|0;b=c[e+(b<<4)+8>>2]|0;DQ(i|0,i+16|0,j-i|0)|0;c[j>>2]=2;c[k>>2]=(c[k>>2]|0)+-16;if(!(l&8))return f|0;k=b+4|0;l=(c[k>>2]|0)+-1|0;c[k>>2]=l;if(l|0)return f|0;go(c[a+44>>2]|0,b);return f|0}function _p(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=a+76|0;h=a+72|0;e=c[h>>2]|0;f=(c[g>>2]|0)-e>>4;d=((b|0)<0?f:0)+b|0;if(d>>>0>=f>>>0)$n(a,342,b);b=eq(a,e+(d<<4)|0,e+(f+-1<<4)|0)|0;d=c[g>>2]|0;if((d|0)==(c[h>>2]|0))Jn(a,268491,50336874,268507);f=d+-16|0;c[g>>2]=f;h=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[f>>2]=2;if(!(h&8))return b|0;g=d+4|0;h=(c[g>>2]|0)+-1|0;c[g>>2]=h;if(h|0)return b|0;go(c[a+44>>2]|0,d);return b|0}function $p(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0;j=a+76|0;i=a+72|0;f=c[i>>2]|0;g=(c[j>>2]|0)-f>>4;e=((b|0)<0?g:0)+b|0;if(e>>>0>=g>>>0)$n(a,342,b);if(g>>>0<=1)$n(a,342,-2);d=g+-1|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,f+(e<<4)|0,f+(g+-2<<4)|0,c[f+(d<<4)>>2]|0,c[f+(d<<4)+4>>2]|0,+h[f+(d<<4)+8>>3],b)|0;e=c[j>>2]|0;if(e-(c[i>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;a=e+-16|0;i=c[a>>2]|0;b=c[e+-8>>2]|0;c[a>>2]=2;if(i&8|0?(a=b+4|0,i=(c[a>>2]|0)+-1|0,c[a>>2]=i,(i|0)==0):0)Wn(c[d>>2]|0,b);a=e+-32|0;i=c[a>>2]|0;b=c[e+-24>>2]|0;c[a>>2]=2;if(i&8|0?(a=b+4|0,i=(c[a>>2]|0)+-1|0,c[a>>2]=i,(i|0)==0):0)Wn(c[d>>2]|0,b);c[j>>2]=e+-32;b=c[d>>2]|0;if(!(c[b+32>>2]|0))return;Rn(b);return}function aq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,g=0,i=0,k=0,l=0;i=a+76|0;g=a+72|0;e=c[g>>2]|0;l=(c[i>>2]|0)-e>>4;k=(b|0)<0;d=(k?l:0)+b|0;if(d>>>0>=l>>>0)$n(a,342,b);f=+jo(a,e+(d<<4)|0);h[j>>3]=f;d=c[j>>2]|0;e=c[j+4>>2]|0;if(0==0&(e&2146435072|0)==2146435072)f=(d|0)!=0|(e&1048575|0)!=0?0.0:f;else{f=+A(+(+B(+f)));f=(e|0)>-1|(e|0)==-1&d>>>0>4294967295?f:-f}e=c[g>>2]|0;l=(c[i>>2]|0)-e>>4;d=(k?l:0)+b|0;if(d>>>0>=l>>>0)$n(a,342,b);k=e+(d<<4)|0;l=c[k>>2]|0;b=e+(d<<4)+8|0;d=c[b>>2]|0;c[k>>2]=0;h[b>>3]=f;if(!(l&8))return;b=d+4|0;l=(c[b>>2]|0)+-1|0;c[b>>2]=l;if(l|0)return;go(c[a+44>>2]|0,d);return}function bq(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,u=0,v=0,w=0,x=0,y=0,z=0;if((f&2147418112)>>>0>=65536){z=c[b>>2]|0;Jn(z,269408,50333192,270188)}if(e>>>0<256){n=e<<8|d&255|f<<16;l=b+980|0;m=b+972|0;h=c[m>>2]|0;i=h;do if(((c[l>>2]|0)-i|0)>>>0<=7){j=c[b>>2]|0;k=b+976|0;h=i-(c[k>>2]|0)|0;i=h+72+(h>>>4)|0;if(i>>>0>>0)Jn(j,269610,50331716,268447);else{z=b+984|0;Kn(j,c[z>>2]|0,i);z=c[(c[z>>2]|0)+20>>2]|0;o=z+h|0;c[m>>2]=o;c[k>>2]=z;c[l>>2]=z+i;break}}else o=h;while(0);i=o+8|0;c[m>>2]=i;h=c[b+876>>2]|0;if(!h)h=c[b+924>>2]|0;c[o>>2]=n;c[o+4>>2]=h;if((h|0)>2147418112?1:(i-(c[b+976>>2]|0)|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else return}if(!((d&256|0)==0&e>>>0<65536)){z=c[b>>2]|0;Jn(z,269408,50333192,270188)}a[b+1135>>0]=1;p=c[b+1060>>2]<<8;z=f<<16|d&255|p;if(!(d&2048)){f=b+980|0;g=c[f>>2]|0;d=b+972|0;h=c[d>>2]|0;i=h;do if((g-i|0)>>>0<=7){j=c[b>>2]|0;k=b+976|0;g=i-(c[k>>2]|0)|0;h=g+72+(g>>>4)|0;if(h>>>0>>0)Jn(j,269610,50331716,268447);else{t=b+984|0;Kn(j,c[t>>2]|0,h);t=c[(c[t>>2]|0)+20>>2]|0;q=t+g|0;c[d>>2]=q;c[k>>2]=t;t=t+h|0;c[f>>2]=t;break}}else{q=h;t=g}while(0);j=q+8|0;c[d>>2]=j;o=b+876|0;k=c[o>>2]|0;l=j;if(!k)h=c[b+924>>2]|0;else h=k;c[q>>2]=z;c[q+4>>2]=h;m=b+976|0;g=c[m>>2]|0;n=l-g|0;if((h|0)>2147418112|n>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);i=e<<16|p|1;do if((t-l|0)>>>0<=7){g=c[b>>2]|0;h=n+72+(n>>>4)|0;if(h>>>0>>0)Jn(g,269610,50331716,268447);else{y=b+984|0;Kn(g,c[y>>2]|0,h);y=c[(c[y>>2]|0)+20>>2]|0;x=y+n|0;c[d>>2]=x;c[m>>2]=y;c[f>>2]=y+h;u=c[o>>2]|0;break}}else{x=j;u=k;y=g}while(0);h=x+8|0;c[d>>2]=h;if(!u)g=c[b+924>>2]|0;else g=u;c[x>>2]=i;c[x+4>>2]=g;if((g|0)>2147418112|(h-y|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else return}else{m=p|e<<16;f=b+980|0;h=c[f>>2]|0;d=b+972|0;i=c[d>>2]|0;j=i;do if((h-j|0)>>>0<=7){k=c[b>>2]|0;l=b+976|0;h=j-(c[l>>2]|0)|0;i=h+72+(h>>>4)|0;if(i>>>0>>0)Jn(k,269610,50331716,268447);else{s=b+984|0;Kn(k,c[s>>2]|0,i);s=c[(c[s>>2]|0)+20>>2]|0;r=s+h|0;c[d>>2]=r;c[l>>2]=s;s=s+i|0;c[f>>2]=s;break}}else{s=h;r=i}while(0);j=r+8|0;c[d>>2]=j;o=b+876|0;k=c[o>>2]|0;l=j;if(!k)i=c[b+924>>2]|0;else i=k;c[r>>2]=m;c[r+4>>2]=i;m=b+976|0;h=c[m>>2]|0;n=l-h|0;if((i|0)>2147418112|n>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);do if((s-l|0)>>>0<=7){h=c[b>>2]|0;i=n+72+(n>>>4)|0;if(i>>>0>>0)Jn(h,269610,50331716,268447);else{w=b+984|0;Kn(h,c[w>>2]|0,i);w=c[(c[w>>2]|0)+20>>2]|0;v=w+n|0;c[d>>2]=v;c[m>>2]=w;c[f>>2]=w+i;g=c[o>>2]|0;break}}else{v=j;g=k;w=h}while(0);h=v+8|0;c[d>>2]=h;if(!g)g=c[b+924>>2]|0;c[v>>2]=z;c[v+4>>2]=g;if((g|0)>2147418112|(h-w|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else return}}function cq(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;l=c[a>>2]|0;d=a+1020|0;f=zp(l,c[d>>2]|0)|0;j=l+76|0;g=(c[j>>2]|0)+-16|0;h=(f|0)<256?f:256;do if((f|0)>0){b=a+992|0;k=0;while(1){m=c[b>>2]|0;e=c[m+24>>2]|0;if(Zo(0,g,(c[m+16>>2]|0)+(e*21|0)+(0-e&7)+(k<<4)|0,1)|0)break;e=k+1|0;if((e|0)<(h|0))k=e;else{i=10;break}}if((i|0)==10){if((f|0)<=65535)break;Jn(c[a>>2]|0,269408,50333628,270262)}a=c[j>>2]|0;if((a|0)==(c[l+72>>2]|0))Jn(l,268491,50336874,268507);i=a+-16|0;c[j>>2]=i;m=c[a+-16>>2]|0;a=c[a+-8>>2]|0;c[i>>2]=2;if(!(m&8)){m=k;m=m|-2147483648;return m|0}j=a+4|0;m=(c[j>>2]|0)+-1|0;c[j>>2]=m;if(m|0){m=k;m=m|-2147483648;return m|0}go(c[l+44>>2]|0,a);m=k;m=m|-2147483648;return m|0}while(0);Tp(l,c[d>>2]|0,f);m=f;m=m|-2147483648;return m|0}function dq(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,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;I=d&255;do if(e>>>0>=256){if(!((d&256|0)==0&e>>>0<65536)){q=c[b>>2]|0;Jn(q,269408,50333104,270188)}a[b+1135>>0]=1;q=c[b+1060>>2]|0;if(!(d&2048)){if(!((I|0)==152&(e+1|0)>>>0>65535)){x=q;C=e;break}p=c[b>>2]|0;Jn(p,269408,50333104,270188)}p=q<<8|e<<16;n=b+980|0;o=b+972|0;e=c[o>>2]|0;k=e;do if(((c[n>>2]|0)-k|0)>>>0<=7){l=c[b>>2]|0;m=b+976|0;e=k-(c[m>>2]|0)|0;k=e+72+(e>>>4)|0;if(k>>>0>>0)Jn(l,269610,50331716,268447);else{r=b+984|0;Kn(l,c[r>>2]|0,k);l=c[(c[r>>2]|0)+20>>2]|0;r=l+e|0;c[o>>2]=r;c[m>>2]=l;c[n>>2]=l+k;break}}else r=e;while(0);k=r+8|0;c[o>>2]=k;e=c[b+876>>2]|0;if(!e)e=c[b+924>>2]|0;c[r>>2]=p;c[r+4>>2]=e;if((e|0)>2147418112?1:(k-(c[b+976>>2]|0)|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{x=q;C=-1}}else{x=e;C=-1}while(0);a:do if((f|0)<0){e=f&2147483647;if(e>>>0<256){w=d>>>14&1;M=e;A=d;N=-1;break}if(e>>>0>=65536){s=c[b>>2]|0;Jn(s,269408,50333104,270188)}a[b+1135>>0]=1;q=c[b+1064>>2]|0;p=f<<16|q<<8|2;n=b+980|0;o=b+972|0;e=c[o>>2]|0;k=e;do if(((c[n>>2]|0)-k|0)>>>0<=7){l=c[b>>2]|0;m=b+976|0;e=k-(c[m>>2]|0)|0;k=e+72+(e>>>4)|0;if(k>>>0>>0)Jn(l,269610,50331716,268447);else{s=b+984|0;Kn(l,c[s>>2]|0,k);s=c[(c[s>>2]|0)+20>>2]|0;t=s+e|0;c[o>>2]=t;c[m>>2]=s;c[n>>2]=s+k;break}}else t=e;while(0);k=t+8|0;c[o>>2]=k;e=c[b+876>>2]|0;if(!e)e=c[b+924>>2]|0;c[t>>2]=p;c[t+4>>2]=e;if((e|0)>2147418112?1:(k-(c[b+976>>2]|0)|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{w=0;M=q;A=d;N=-1}}else if(f>>>0>=256){if(!((d&512|0)==0&f>>>0<65536)){t=c[b>>2]|0;Jn(t,269408,50333104,270188)}a[b+1135>>0]=1;q=c[b+1064>>2]|0;if(!(d&4096)){switch((d&255)<<24>>24){case -75:case -71:{e=f+32768|0;if(e>>>0<65536)bq(b,3,q,e);else{bq(b,3,q,(f>>>16)+32768|0);bq(b,4,q,f&65535)}w=0;M=q;A=d+1|0;N=-1;break a}default:{}}p=q<<8|f<<16;n=b+980|0;o=b+972|0;e=c[o>>2]|0;k=e;do if(((c[n>>2]|0)-k|0)>>>0<=7){l=c[b>>2]|0;m=b+976|0;e=k-(c[m>>2]|0)|0;k=e+72+(e>>>4)|0;if(k>>>0>>0)Jn(l,269610,50331716,268447);else{t=b+984|0;Kn(l,c[t>>2]|0,k);t=c[(c[t>>2]|0)+20>>2]|0;s=t+e|0;c[o>>2]=s;c[m>>2]=t;c[n>>2]=t+k;break}}else s=e;while(0);k=s+8|0;c[o>>2]=k;e=c[b+876>>2]|0;if(!e)e=c[b+924>>2]|0;c[s>>2]=p;c[s+4>>2]=e;if((e|0)>2147418112?1:(k-(c[b+976>>2]|0)|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{w=0;M=q;A=d;N=-1}}else{w=0;M=q;A=d;N=f}}else{w=0;M=f;A=d;N=-1}while(0);do if((g|0)<0){e=g&2147483647;if(e>>>0<256){Q=e;R=-1;y=A>>>13&2|w;break}if(e>>>0>=65536){u=c[b>>2]|0;Jn(u,269408,50333104,270188)}a[b+1135>>0]=1;q=c[b+1068>>2]|0;p=g<<16|q<<8|2;n=b+980|0;o=b+972|0;e=c[o>>2]|0;k=e;do if(((c[n>>2]|0)-k|0)>>>0<=7){l=c[b>>2]|0;m=b+976|0;e=k-(c[m>>2]|0)|0;k=e+72+(e>>>4)|0;if(k>>>0>>0)Jn(l,269610,50331716,268447);else{u=b+984|0;Kn(l,c[u>>2]|0,k);u=c[(c[u>>2]|0)+20>>2]|0;v=u+e|0;c[o>>2]=v;c[m>>2]=u;c[n>>2]=u+k;break}}else v=e;while(0);k=v+8|0;c[o>>2]=k;e=c[b+876>>2]|0;if(!e)e=c[b+924>>2]|0;c[v>>2]=p;c[v+4>>2]=e;if((e|0)>2147418112?1:(k-(c[b+976>>2]|0)|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{Q=q;R=-1;y=w}}else if(g>>>0>=256){if(!(g>>>0<65536&(A&1024|0)==0)){v=c[b>>2]|0;Jn(v,269408,50333104,270188)}a[b+1135>>0]=1;q=c[b+1068>>2]|0;if(!(A&8192)){p=q<<8|g<<16;n=b+980|0;o=b+972|0;e=c[o>>2]|0;k=e;do if(((c[n>>2]|0)-k|0)>>>0<=7){l=c[b>>2]|0;m=b+976|0;e=k-(c[m>>2]|0)|0;k=e+72+(e>>>4)|0;if(k>>>0>>0)Jn(l,269610,50331716,268447);else{v=b+984|0;Kn(l,c[v>>2]|0,k);v=c[(c[v>>2]|0)+20>>2]|0;u=v+e|0;c[o>>2]=u;c[m>>2]=v;c[n>>2]=v+k;break}}else u=e;while(0);k=u+8|0;c[o>>2]=k;e=c[b+876>>2]|0;if(!e)e=c[b+924>>2]|0;c[u>>2]=p;c[u+4>>2]=e;if((e|0)>2147418112?1:(k-(c[b+976>>2]|0)|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{Q=q;R=-1;y=w}}else{Q=q;R=g;y=w}}else{Q=g;R=-1;y=w}while(0);p=x<<8;o=M<<16|p|A&255|Q<<24|y;f=b+980|0;e=c[f>>2]|0;s=b+972|0;k=c[s>>2]|0;l=k;do if((e-l|0)>>>0<=7){m=c[b>>2]|0;n=b+976|0;e=l-(c[n>>2]|0)|0;k=e+72+(e>>>4)|0;if(k>>>0>>0)Jn(m,269610,50331716,268447);else{B=b+984|0;Kn(m,c[B>>2]|0,k);B=c[(c[B>>2]|0)+20>>2]|0;z=B+e|0;c[s>>2]=z;c[n>>2]=B;B=B+k|0;c[f>>2]=B;break}}else{z=k;B=e}while(0);l=z+8|0;c[s>>2]=l;r=b+876|0;m=c[r>>2]|0;n=l;if(!m)k=c[b+924>>2]|0;else k=m;c[z>>2]=o;c[z+4>>2]=k;q=b+976|0;e=c[q>>2]|0;o=n-e|0;if((k|0)>2147418112|o>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);if(A&32768){c[b+968>>2]=o>>>3;do if((B-n|0)>>>0<=7){e=c[b>>2]|0;k=o+72+(o>>>4)|0;if(k>>>0>>0)Jn(e,269610,50331716,268447);else{F=b+984|0;Kn(e,c[F>>2]|0,k);F=c[(c[F>>2]|0)+20>>2]|0;D=F+o|0;c[s>>2]=D;c[q>>2]=F;G=F+k|0;c[f>>2]=G;E=c[r>>2]|0;break}}else{D=l;E=m;F=e;G=B}while(0);k=D+8|0;c[s>>2]=k;l=k;if(!E)e=c[b+924>>2]|0;else e=E;c[D>>2]=160;c[D+4>>2]=e;if((e|0)>2147418112|(l-F|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{U=k;V=G;X=l;Y=F;W=E}}else{U=l;V=B;X=n;Y=e;W=m}if((C|0)>-1){o=C<<16;n=o|p|1;do if((V-U|0)>>>0<=7){e=c[b>>2]|0;k=X-Y|0;l=k+72+(k>>>4)|0;if(l>>>0>>0)Jn(e,269610,50331716,268447);else{K=b+984|0;Kn(e,c[K>>2]|0,l);K=c[(c[K>>2]|0)+20>>2]|0;H=K+k|0;c[s>>2]=H;c[q>>2]=K;L=K+l|0;c[f>>2]=L;J=c[r>>2]|0;break}}else{H=U;J=W;K=Y;L=V}while(0);k=H+8|0;c[s>>2]=k;m=k;if(!J)e=c[b+924>>2]|0;else e=J;c[H>>2]=n;c[H+4>>2]=e;n=m-K|0;if((e|0)>2147418112|n>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);if((I|0)!=152)return;l=o+65536|p+256|1;do if((L-m|0)>>>0<=7){e=c[b>>2]|0;k=n+72+(n>>>4)|0;if(k>>>0>>0)Jn(e,269610,50331716,268447);else{P=b+984|0;Kn(e,c[P>>2]|0,k);P=c[(c[P>>2]|0)+20>>2]|0;O=P+n|0;c[s>>2]=O;c[q>>2]=P;c[f>>2]=P+k;j=c[r>>2]|0;break}}else{O=k;j=J;P=K}while(0);e=O+8|0;c[s>>2]=e;if(!j)j=c[b+924>>2]|0;c[O>>2]=l;c[O+4>>2]=j;if((j|0)>2147418112|(e-P|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else return}if((N|0)>-1){l=M<<8|N<<16|1;do if((V-U|0)>>>0<=7){j=c[b>>2]|0;e=X-Y|0;k=e+72+(e>>>4)|0;if(k>>>0>>0)Jn(j,269610,50331716,268447);else{T=b+984|0;Kn(j,c[T>>2]|0,k);T=c[(c[T>>2]|0)+20>>2]|0;S=T+e|0;c[s>>2]=S;c[q>>2]=T;c[f>>2]=T+k;i=c[r>>2]|0;break}}else{S=U;i=W;T=Y}while(0);j=S+8|0;c[s>>2]=j;if(!i)i=c[b+924>>2]|0;c[S>>2]=l;c[S+4>>2]=i;if((i|0)>2147418112|(j-T|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else return}if((R|0)<=-1)return;k=Q<<8|R<<16|1;do if((V-U|0)>>>0<=7){e=c[b>>2]|0;i=X-Y|0;j=i+72+(i>>>4)|0;if(j>>>0>>0)Jn(e,269610,50331716,268447);else{_=b+984|0;Kn(e,c[_>>2]|0,j);_=c[(c[_>>2]|0)+20>>2]|0;Z=_+i|0;c[s>>2]=Z;c[q>>2]=_;c[f>>2]=_+j;h=c[r>>2]|0;break}}else{Z=U;h=W;_=Y}while(0);i=Z+8|0;c[s>>2]=i;if(!h)h=c[b+924>>2]|0;c[Z>>2]=k;c[Z+4>>2]=h;if((h|0)>2147418112|(i-_|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else return}function eq(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+48|0;q=s;r=s+24|0;n=s+16|0;c[q>>2]=c[d>>2];c[q+4>>2]=c[d+4>>2];c[q+8>>2]=c[d+8>>2];c[q+12>>2]=c[d+12>>2];switch(c[b>>2]|0){case 9:{d=c[b+8>>2]|0;h=a+76|0;f=c[h>>2]|0;if(f>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[h>>2]=f+16;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];i=c[q>>2]|0;if(i&8|0){m=(c[q+8>>2]|0)+4|0;c[m>>2]=(c[m>>2]|0)+1}f=c[h>>2]|0;do if((c[f+-16>>2]|0)!=8){po(a,-1,1);g=a+72|0;m=c[g>>2]|0;f=(c[h>>2]|0)-m>>4;f=f|0?m+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8?(j=c[f+8>>2]|0,j|0):0){f=j;break}Ho(a,-1)|0;m=c[g>>2]|0;f=(c[h>>2]|0)-m>>4;f=f|0?m+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8)f=c[f+8>>2]|0;else f=0}else f=c[f+-8>>2]|0;while(0);k=f;b=c[f+16>>2]|0;g=i;m=40;break}case 10:{h=a+76|0;d=c[h>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[h>>2]=d+16;c[d>>2]=c[q>>2];c[d+4>>2]=c[q+4>>2];c[d+8>>2]=c[q+8>>2];c[d+12>>2]=c[q+12>>2];j=c[q>>2]|0;if(j&8|0){k=(c[q+8>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}f=c[h>>2]|0;do if((c[f+-16>>2]|0)!=8){po(a,-1,1);f=c[h>>2]|0;g=a+72|0;k=c[g>>2]|0;d=f-k>>4;d=d|0?k+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8?(i=c[d+8>>2]|0,i|0):0){d=i;break}Ho(a,-1)|0;f=c[h>>2]|0;k=c[g>>2]|0;d=f-k>>4;d=d|0?k+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8)d=c[d+8>>2]|0;else d=0}else d=c[f+-8>>2]|0;while(0);g=c[d+16>>2]|0;if((c[(c[b+8>>2]|0)+16>>2]|0)>>>0<=g>>>0?(c[(c[a+428>>2]|0)+320>>2]|0)!=(d|0):0){k=d;d=c[a+344>>2]|0;b=g;g=j;m=40}else{e=1;o=h;p=f}break}case 6:{i=a+76|0;d=c[i>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[i>>2]=d+16;c[d>>2]=c[q>>2];c[d+4>>2]=c[q+4>>2];c[d+8>>2]=c[q+8>>2];c[d+12>>2]=c[q+12>>2];j=c[q>>2]|0;if(j&8|0){k=(c[q+8>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}d=c[i>>2]|0;do if((c[d+-16>>2]|0)!=8){po(a,-1,1);d=c[i>>2]|0;g=a+72|0;k=c[g>>2]|0;f=d-k>>4;f=f|0?k+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8?(h=c[f+8>>2]|0,h|0):0){g=h;break}Ho(a,-1)|0;f=c[i>>2]|0;k=c[g>>2]|0;d=f-k>>4;d=d|0?k+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8){g=c[d+8>>2]|0;d=f}else{g=0;d=f}}else g=c[d+-8>>2]|0;while(0);f=c[g+16>>2]|0;k=c[a+428>>2]|0;if((c[k+320>>2]|0)!=(g|0)?(c[k+344>>2]|0)!=(g|0):0){k=g;d=c[a+152>>2]|0;b=f;g=j;m=40}else{e=1;o=i;p=d}break}default:Jn(a,268642,100666152,270274)}do if((m|0)==40){do if(!(c[d>>2]&67108864))g=b;else{m=(fq(a,d,72,q,n)|0)==0;d=c[n>>2]|0;if(m){g=c[k+16>>2]|0;break}i=a+76|0;e=c[i>>2]|0;f=a+68|0;if(e>>>0>=(c[f>>2]|0)>>>0)Sn(a,3761);c[i>>2]=e+16;c[e>>2]=9;c[e+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[i>>2]|0;if(e>>>0>=(c[f>>2]|0)>>>0)Sn(a,3761);c[i>>2]=e+16;c[e>>2]=c[q>>2];c[e+4>>2]=c[q+4>>2];c[e+8>>2]=c[q+8>>2];c[e+12>>2]=c[q+12>>2];if(g&8|0){q=(c[q+8>>2]|0)+4|0;c[q>>2]=(c[q>>2]|0)+1}g=a+72|0;e=(c[i>>2]|0)-(c[g>>2]|0)|0;if(((e>>4)+-2|0)<2)Tn(a,268476,76);if(e>>>0<64)Tn(a,268521,942);so(a,2,0,(e+-64|0)>>>4);h=gq(a,-1)|0;if((h|0)==0?io(a,d,k,b,r,0)|0:0){if(!(c[r>>2]&4))Jn(a,268642,100666195,270293);if(!(c[d>>2]&128))Jn(a,268642,100666195,270293)}f=c[i>>2]|0;if(f-(c[g>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;r=f+-16|0;a=c[r>>2]|0;e=c[f+-8>>2]|0;c[r>>2]=2;if(a&8|0?(r=e+4|0,a=(c[r>>2]|0)+-1|0,c[r>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,e);r=f+-32|0;a=c[r>>2]|0;e=c[f+-24>>2]|0;c[r>>2]=2;if(a&8|0?(r=e+4|0,a=(c[r>>2]|0)+-1|0,c[r>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,e);c[i>>2]=f+-32;e=c[d>>2]|0;if(c[e+32>>2]|0)Rn(e);a=h;l=s;return a|0}while(0);f=1e4;while(1){if(io(a,d,k,g,r,0)|0){e=1;m=71;break}if(!f){m=69;break}d=c[d+20>>2]|0;if(!d){e=0;m=71;break}else f=f+-1|0}if((m|0)==69)Jn(a,268642,50333655,270308);else if((m|0)==71){p=a+76|0;o=p;p=c[p>>2]|0;break}}while(0);if((p|0)==(c[a+72>>2]|0))Jn(a,268491,50336874,268507);q=p+-16|0;c[o>>2]=q;r=c[p+-16>>2]|0;d=c[p+-8>>2]|0;c[q>>2]=2;if(!(r&8)){a=e;l=s;return a|0}q=d+4|0;r=(c[q>>2]|0)+-1|0;c[q>>2]=r;if(r|0){a=e;l=s;return a|0}go(c[a+44>>2]|0,d);a=e;l=s;return a|0}function fq(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,m=0,n=0;n=l;l=l+16|0;m=n;if(!(c[b>>2]&67108864)){m=0;l=n;return m|0}j=a+428|0;h=c[j>>2]|0;g=yo(b,c[h+408>>2]|0)|0;if(!g)Jn(a,268642,100663682,269229);i=c[g+8>>2]|0;g=yo(b,c[h+404>>2]|0)|0;if(!g)Jn(a,268642,100663693,269229);c[f>>2]=c[g+8>>2];if((c[e>>2]|0)==8?c[c[e+8>>2]>>2]&1024|0:0){m=0;l=n;return m|0}k=a+76|0;g=c[k>>2]|0;b=(g-(c[a+64>>2]|0)>>4)+84|0;if((c[a+80>>2]|0)>>>0>>0){Yn(a,b,4)|0;g=c[k>>2]|0}f=a+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,268507);b=a+44|0;a=h+-16|0;m=c[a>>2]|0;g=c[h+-8>>2]|0;c[a>>2]=2;if(m&8|0?(a=g+4|0,m=(c[a>>2]|0)+-1|0,c[a>>2]=m,(m|0)==0):0)Wn(c[b>>2]|0,g);a=h+-32|0;m=c[a>>2]|0;g=c[h+-24>>2]|0;c[a>>2]=2;if(m&8|0?(a=g+4|0,m=(c[a>>2]|0)+-1|0,c[a>>2]=m,(m|0)==0):0)Wn(c[b>>2]|0,g);c[k>>2]=h+-32;g=c[b>>2]|0;if(!(c[g+32>>2]|0)){m=0;l=n;return m|0}Rn(g);m=0;l=n;return m|0}function gq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=c[a+72>>2]|0;i=(c[a+76>>2]|0)-g>>4;f=((b|0)<0?i:0)+b|0;if(f>>>0>=i>>>0)$n(a,267,b);h=g+(f<<4)|0;e=c[h>>2]|0;switch(e|0){case 3:case 2:{d=0;i=11;break}case 4:{b=g+(f<<4)+8|0;d=c[b>>2]|0;i=9;break}case 8:{d=(c[(c[g+(f<<4)+8>>2]|0)+20>>2]|0)!=0&1;i=10;break}case 10:case 9:{d=1;i=10;break}case 5:{b=g+(f<<4)+8|0;d=(c[b>>2]|0)!=0&1;i=9;break}case 6:{d=1;b=g+(f<<4)+8|0;i=9;break}default:{d=g+(f<<4)+8|0;i=c[d>>2]|0;d=c[d+4>>2]|0;d=(((i|0)==0&(d&2147483647|0)==0|((i|0)!=0|(d&1048575|0)!=0)&(0==0&(d&2146435072|0)==2146435072))^1)&1;i=11}}if((i|0)==9){c[h>>2]=4;c[b>>2]=d;i=d;return i|0}else if((i|0)==10){i=g+(f<<4)+8|0;b=c[i>>2]|0;c[h>>2]=4;c[i>>2]=d}else if((i|0)==11){i=g+(f<<4)+8|0;b=c[i>>2]|0;c[h>>2]=4;c[i>>2]=d;if(!(e&8)){i=d;return i|0}}h=b+4|0;i=(c[h>>2]|0)+-1|0;c[h>>2]=i;if(i|0){i=d;return i|0}go(c[a+44>>2]|0,b);i=d;return i|0}function hq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=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,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;Na=l;l=l+16|0;y=Na+4|0;A=Na;qa=c[b>>2]|0;Ma=b+960|0;g=c[Ma>>2]|0;if((g|0)>=(c[b+964>>2]|0))Jn(qa,269408,50332058,270152);c[Ma>>2]=g+1;Ia=b+1052|0;Ja=c[Ia>>2]|0;Ga=b+972|0;Fa=b+976|0;Ea=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;Ka=b+1032|0;La=zp(qa,c[Ka>>2]|0)|0;na=b+1092|0;c[na>>2]=(c[na>>2]|0)+1;na=b+1128|0;o=a[na>>0]|0;a[na>>0]=0;Da=b+896|0;xa=b+1072|0;ya=b+1076|0;za=b+1080|0;Aa=b+1084|0;Ba=b+1088|0;k=b+848|0;p=b+864|0;m=qa+428|0;g=-1;a:while(1){j=c[Da>>2]|0;switch(j|0){case 9:case 12:case 19:case 27:{Ha=jq(b,g)|0;kq(b,c[(c[m>>2]|0)+60>>2]|0,Ea,Ha);j=c[Da>>2]|0;break}default:Ha=g}switch(j|0){case 13:{Ca=7;break a}case 49:{Ca=14;break a}case 25:{Ca=16;break a}case 24:{Ca=19;break a}case 56:{f=2;Ca=463;break a}case 14:{Ca=22;break a}case 9:{Ca=46;break a}case 27:{Ca=54;break a}case 12:{Ca=70;break a}case 2:case 5:{Ca=175;break a}case 18:{Ca=205;break a}case 28:{Ca=235;break a}case 19:{Ca=271;break a}case 21:{Ca=325;break a}case 22:{Ca=331;break a}case 6:{Ca=445;break a}default:{}}g=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);switch(c[xa>>2]|0){case 0:{Ca=447;break a}case 1:break;default:{f=3;Ca=460;break a}}if(c[ya>>2]|0){f=3;Ca=460;break}g=c[k>>2]|0;if((g|0)!=1){Ca=452;break}if((c[Da>>2]|0)!=85){f=3;Ca=460;break}e=c[p>>2]|0;Mp(b,-1);g=jq(b,Ha)|0;kq(b,e,Ea,g);e=0}b:switch(Ca|0){case 7:{if((e|0)==0?a[b+1126>>0]|0:0)Jn(qa,269408,83892396,270330);Mp(b,-1);f=lq(b,9)|0;if(a[b+1129>>0]|0){g=b+1028|0;e=zp(qa,c[g>>2]|0)|0;Tp(qa,c[g>>2]|0,e);i=qa+76|0;j=c[i>>2]|0;if(j>>>0<(c[qa+68>>2]|0)>>>0){c[i>>2]=j+16;c[j>>2]=0;h[j+8>>3]=+(f<<8|1|0);Tp(qa,c[g>>2]|0,e+1|0);Ca=469;break}else Sn(qa,3868)}else Ca=469;break}case 14:{Mp(b,-1);Yp(b,0,0);if((Ha|0)>-1){f=c[Fa>>2]|0;g=f;f=(c[Ga>>2]|0)-f|0;Ca=470}break}case 16:{Mp(b,-1);mq(b,d,1024,y,A);if((c[Da>>2]|0)==57)do{Mp(b,-1);mq(b,d,1024,y,A)}while((c[Da>>2]|0)==57);f=2;Ca=463;break}case 19:{Mp(b,-1);mq(b,d,0,y,A);if((c[Da>>2]|0)==57)do{Mp(b,-1);mq(b,d,0,y,A)}while((c[Da>>2]|0)==57);f=2;Ca=463;break}case 22:{i=c[Ia>>2]|0;Mp(b,-1);Mp(b,53);f=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(f,269408,83890914,270361);oq(b,d,-1);f=pq(b,d+8|0,-1,1)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=f;bq(b,f>>>31|48,0,f);f=c[Ga>>2]|0;g=c[Fa>>2]|0;e=f-g|0;m=e>>>3;k=b+980|0;do if(((c[k>>2]|0)-f|0)>>>0<=7){f=c[b>>2]|0;g=e+72+(e>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{x=b+984|0;Kn(f,c[x>>2]|0,g);x=c[(c[x>>2]|0)+20>>2]|0;w=x+e|0;c[Ga>>2]=w;c[Fa>>2]=x;c[k>>2]=x+g;break}}else{w=f;x=g}while(0);g=w+8|0;c[Ga>>2]=g;j=b+876|0;f=c[j>>2]|0;if(!f)f=c[b+924>>2]|0;c[w>>2]=160;c[w+4>>2]=f;if((f|0)>2147418112|(g-x|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);c[Ia>>2]=i;Mp(b,54);hq(b,d,0);do if((c[Da>>2]|0)==10){Mp(b,-1);f=c[Ga>>2]|0;g=c[Fa>>2]|0;e=f-g|0;i=e>>>3;do if(((c[k>>2]|0)-f|0)>>>0<=7){f=c[b>>2]|0;g=e+72+(e>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{M=b+984|0;Kn(f,c[M>>2]|0,g);M=c[(c[M>>2]|0)+20>>2]|0;J=M+e|0;c[Ga>>2]=J;c[Fa>>2]=M;c[k>>2]=M+g;break}}else{J=f;M=g}while(0);e=J+8|0;c[Ga>>2]=e;f=c[j>>2]|0;if(!f)g=c[b+924>>2]|0;else g=f;c[J>>2]=160;c[J+4>>2]=g;f=e-M|0;if((g|0)>2147418112|f>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{c[M+(m<<3)>>2]=((f>>>3)-m<<8)+2147483392|160;hq(b,d,0);O=c[Ga>>2]|0;N=c[Fa>>2]|0;K=i;L=O-N|0;break}}else{O=c[Ga>>2]|0;N=c[Fa>>2]|0;K=m;L=O-N|0}while(0);c[N+(K<<3)>>2]=((L>>>3)-K<<8)+2147483392|160;if((Ha|0)>-1){g=N;f=O-N|0;Ca=470}break}case 46:{g=c[b+1008>>2]|0;f=c[g+16>>2]|0;g=c[g+20>>2]|0;c:do if((f|0)>0){f=g+f|0;do{if((c[f+-16>>2]|0)!=(Ha|0))break c;f=f+-20|0;c[f>>2]=3}while(f>>>0>g>>>0)}while(0);Mp(b,-1);f=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;hq(b,d,0);g=Ea+2|0;Ca=c[Fa>>2]|0;c[Ca+(g<<3)>>2]=((((c[Ga>>2]|0)-Ca|0)>>>3)-g<<8)+2147483392|160;Mp(b,27);Mp(b,53);g=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(g,269408,83890914,270361);oq(b,d,-1);Ca=pq(b,d+8|0,-1,1)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=Ca;bq(b,Ca>>>31|50,0,Ca);qq(b,f);Mp(b,54);f=Ea+1|0;Ca=c[Fa>>2]|0;c[Ca+(f<<3)>>2]=((((c[Ga>>2]|0)-Ca|0)>>>3)-f<<8)+2147483392|160;f=6;Ca=463;break}case 54:{g=c[b+1008>>2]|0;f=c[g+16>>2]|0;g=c[g+20>>2]|0;d:do if((f|0)>0){f=g+f|0;do{if((c[f+-16>>2]|0)!=(Ha|0))break d;f=f+-20|0;c[f>>2]=3}while(f>>>0>g>>>0)}while(0);k=c[Ia>>2]|0;Mp(b,-1);Mp(b,53);Da=c[Fa>>2]|0;m=((c[Ga>>2]|0)-Da|0)>>>3;f=Ea+2|0;c[Da+(f<<3)>>2]=(m-f<<8)+2147483392|160;f=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(f,269408,83890914,270361);oq(b,d,-1);f=pq(b,d+8|0,-1,1)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=f;bq(b,f>>>31|48,0,f);f=c[Ga>>2]|0;g=c[Fa>>2]|0;e=f-g|0;j=e>>>3;i=b+980|0;do if(((c[i>>2]|0)-f|0)>>>0<=7){f=c[b>>2]|0;g=e+72+(e>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{C=b+984|0;Kn(f,c[C>>2]|0,g);C=c[(c[C>>2]|0)+20>>2]|0;B=C+e|0;c[Ga>>2]=B;c[Fa>>2]=C;c[i>>2]=C+g;break}}else{B=f;C=g}while(0);g=B+8|0;c[Ga>>2]=g;f=c[b+876>>2]|0;if(!f)f=c[b+924>>2]|0;c[B>>2]=160;c[B+4>>2]=f;if((f|0)>2147418112|(g-C|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{c[Ia>>2]=k;Mp(b,54);hq(b,d,0);qq(b,m);Ca=c[Fa>>2]|0;Fa=((c[Ga>>2]|0)-Ca|0)>>>3;Ga=Ca;c[Ga+(j<<3)>>2]=(Fa-j<<8)+2147483392|160;Ca=Ea+1|0;c[Ga+(Ca<<3)>>2]=(Fa-Ca<<8)+2147483392|160;Ca=469;break}break}case 70:{g=c[b+1008>>2]|0;f=c[g+16>>2]|0;g=c[g+20>>2]|0;e:do if((f|0)>0){f=g+f|0;do{if((c[f+-16>>2]|0)!=(Ha|0))break e;f=f+-20|0;c[f>>2]=3}while(f>>>0>g>>>0)}while(0);k=c[b>>2]|0;u=c[Ia>>2]|0;t=u+2|0;c[Ia>>2]=t;if((t|0)>65535)Jn(k,269408,50333568,270177);f=b+1056|0;if((t|0)>(c[f>>2]|0))c[f>>2]=t;Mp(b,-1);Mp(b,53);f:do if((c[Da>>2]|0)==24){Mp(b,-1);mq(b,d,256,y,A);c[Ia>>2]=t;switch(c[Da>>2]|0){case 15:{g=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;f=c[y>>2]|0;if((f|0)>-1)bq(b,0,f,u);else bq(b,2206,u,c[A>>2]|0);s=g;Ca=145;break f}case 57:{do{Mp(b,-1);mq(b,d,256,y,A)}while((c[Da>>2]|0)==57);break}default:{}}}else{m=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=0;nq(b,d,772);if((c[Da>>2]|0)!=15){Da=c[Ia>>2]|0;oq(b,d,-1);c[Ia>>2]=Da;break}if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(k,269408,83891479,270390);switch(c[d>>2]|0){case 4:{g=c[d+16>>2]|0;e=k+76|0;i=c[e>>2]|0;if(i>>>0>=(c[k+68>>2]|0)>>>0)Sn(k,935);j=c[k+72>>2]|0;Da=i-j>>4;f=((g|0)<0?Da:0)+g|0;if(f>>>0>=Da>>>0)$n(k,342,g);Da=j+(f<<4)|0;c[e>>2]=i+16;c[i>>2]=c[Da>>2];c[i+4>>2]=c[Da+4>>2];c[i+8>>2]=c[Da+8>>2];c[i+12>>2]=c[Da+12>>2];if(c[i>>2]&8|0){Da=(c[i+8>>2]|0)+4|0;c[Da>>2]=(c[Da>>2]|0)+1}if(!(rq(b,y,A)|0))bq(b,2206,u,c[A>>2]|0);else bq(b,0,c[y>>2]|0,u);s=m;Ca=145;break f}case 3:{dq(b,18544,pq(b,d+8|0,-1,0)|0,pq(b,d+20|0,-1,1)|0,u);s=m;Ca=145;break f}default:{i=c[Ia>>2]|0;oq(b,d,-1);c[Ia>>2]=i;i=b+980|0;f=c[Ga>>2]|0;g=f;do if(((c[i>>2]|0)-g|0)>>>0<=7){e=c[b>>2]|0;f=g-(c[Fa>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0)Jn(e,269610,50331716,268447);else{Da=b+984|0;Kn(e,c[Da>>2]|0,g);Da=c[(c[Da>>2]|0)+20>>2]|0;D=Da+f|0;c[Ga>>2]=D;c[Fa>>2]=Da;c[i>>2]=Da+g;break}}else D=f;while(0);g=D+8|0;c[Ga>>2]=g;f=c[b+876>>2]|0;if(!f)f=c[b+924>>2]|0;c[D>>2]=190;c[D+4>>2]=f;if(!((f|0)>2147418112?1:(g-(c[Fa>>2]|0)|0)>>>0>2147418112)){s=m;Ca=145;break f}Jn(c[b>>2]|0,269408,50332823,270225)}}}while(0);if((Ca|0)==145){c[Ia>>2]=t;e=s<<3;i=c[b>>2]|0;r=b+980|0;f=c[Ga>>2]|0;do if(((c[r>>2]|0)-f|0)>>>0<8){f=f-(c[Fa>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0)Jn(i,269610,50331716,268447);else{$=b+984|0;Kn(i,c[$>>2]|0,g);$=c[(c[$>>2]|0)+20>>2]|0;aa=$+f|0;c[Ga>>2]=aa;c[Fa>>2]=$;c[r>>2]=$+g;ba=Ga;break}}else{ba=Ga;$=c[Fa>>2]|0;aa=f}while(0);Da=$+e|0;DQ(Da+8|0,Da|0,aa-e-$|0)|0;o=b+924|0;f=c[o>>2]|0;c[Da>>2]=160;c[Da+4>>2]=f;Da=(c[ba>>2]|0)+8|0;c[ba>>2]=Da;f=c[Fa>>2]|0;if((Da-f|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50333321,270225);p=s+1|0;g=c[Ga>>2]|0;e=g-f|0;q=e>>>3;do if(((c[r>>2]|0)-g|0)>>>0<=7){f=c[b>>2]|0;g=e+72+(e>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{ka=b+984|0;Kn(f,c[ka>>2]|0,g);ka=c[(c[ka>>2]|0)+20>>2]|0;ja=ka+e|0;c[Ga>>2]=ja;c[Fa>>2]=ka;c[r>>2]=ka+g;break}}else{ja=g;ka=f}while(0);g=ja+8|0;c[Ga>>2]=g;i=b+876|0;f=c[i>>2]|0;if(!f)f=c[o>>2]|0;c[ja>>2]=160;c[ja+4>>2]=f;if((f|0)>2147418112|(g-ka|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);Mp(b,-1);m=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;f=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(f,269408,83890914,270361);oq(b,d,-1);f=pq(b,d+8|0,-1,0)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=f;j=u+1|0;dq(b,4284,0,j,f);f=c[Ga>>2]|0;g=c[Fa>>2]|0;e=f-g|0;k=e>>>3;do if(((c[r>>2]|0)-f|0)>>>0<=7){f=c[b>>2]|0;g=e+72+(e>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{pa=b+984|0;Kn(f,c[pa>>2]|0,g);pa=c[(c[pa>>2]|0)+20>>2]|0;oa=pa+e|0;c[Ga>>2]=oa;c[Fa>>2]=pa;c[r>>2]=pa+g;break}}else{oa=f;pa=g}while(0);g=oa+8|0;c[Ga>>2]=g;f=c[i>>2]|0;if(!f)f=c[o>>2]|0;c[oa>>2]=160;c[oa+4>>2]=f;if((f|0)>2147418112|(g-pa|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);c[Ia>>2]=t;Mp(b,54);Da=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;hq(b,d,0);i=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;dq(b,37053,0,u,j);e=c[b+968>>2]|0;qq(b,p);g=c[Fa>>2]|0;f=((c[Ga>>2]|0)-g|0)>>>3;c[g+(s<<3)>>2]=(m-s<<8)+2147483392|160;c[g+(q<<3)>>2]=(Da-q<<8)+2147483392|160;c[g+(k<<3)>>2]=(i-k<<8)+2147483392|160;if((e|0)>=0)c[g+(e<<3)>>2]=(f-e<<8)+2147483392|160;Ca=Ea+1|0;c[g+(Ca<<3)>>2]=(f-Ca<<8)+2147483392|160;Ca=Ea+2|0;c[g+(Ca<<3)>>2]=(i-Ca<<8)+2147483392|160;Ca=469;break}c[Ia>>2]=u;Mp(b,56);q=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,516);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0){f=c[Ga>>2]|0;g=c[Fa>>2]|0;i=f-g|0;e=b+980|0;do if(((c[e>>2]|0)-f|0)>>>0<=7){f=c[b>>2]|0;g=i+72+(i>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{W=b+984|0;Kn(f,c[W>>2]|0,g);W=c[(c[W>>2]|0)+20>>2]|0;V=W+i|0;c[Ga>>2]=V;c[Fa>>2]=W;c[e>>2]=W+g;break}}else{V=f;W=g}while(0);g=V+8|0;c[Ga>>2]=g;f=c[b+876>>2]|0;if(!f)f=c[b+924>>2]|0;c[V>>2]=160;c[V+4>>2]=f;if((f|0)>2147418112|(g-W|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{la=i;ma=-1}}else{oq(b,d,-1);f=pq(b,d+8|0,-1,1)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=f;bq(b,f>>>31|50,0,f);f=c[Ga>>2]|0;g=c[Fa>>2]|0;p=f-g|0;o=b+980|0;e=c[o>>2]|0;do if((e-f|0)>>>0<=7){f=c[b>>2]|0;g=p+72+(p>>>4)|0;if(g>>>0

>>0)Jn(f,269610,50331716,268447);else{ca=b+984|0;Kn(f,c[ca>>2]|0,g);ca=c[(c[ca>>2]|0)+20>>2]|0;_=ca+p|0;c[Ga>>2]=_;c[Fa>>2]=ca;da=ca+g|0;c[o>>2]=da;break}}else{_=f;ca=g;da=e}while(0);g=_+8|0;c[Ga>>2]=g;k=b+876|0;e=c[k>>2]|0;i=g;if(!e)f=c[b+924>>2]|0;else f=e;c[_>>2]=160;c[_+4>>2]=f;j=i-ca|0;if((f|0)>2147418112|j>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);m=j>>>3;do if((da-i|0)>>>0<=7){f=c[b>>2]|0;g=j+72+(j>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{ha=b+984|0;Kn(f,c[ha>>2]|0,g);ha=c[(c[ha>>2]|0)+20>>2]|0;ga=ha+j|0;c[Ga>>2]=ga;c[Fa>>2]=ha;c[o>>2]=ha+g;fa=c[k>>2]|0;break}}else{ga=g;fa=e;ha=ca}while(0);g=ga+8|0;c[Ga>>2]=g;if(!fa)f=c[b+924>>2]|0;else f=fa;c[ga>>2]=160;c[ga+4>>2]=f;if((f|0)>2147418112|(g-ha|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{la=p;ma=m}}j=la>>>3;c[Ia>>2]=u;Mp(b,56);k=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,516);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)i=1;else{i=c[Ia>>2]|0;oq(b,d,-1);c[Ia>>2]=i;qq(b,q);i=0}c[Ia>>2]=u;Mp(b,54);e=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;hq(b,d,0);if(i)qq(b,q);else qq(b,k);g=c[Fa>>2]|0;f=((c[Ga>>2]|0)-g|0)>>>3;c[g+(j<<3)>>2]=(e-j<<8)+2147483392|160;if((ma|0)>=0)c[g+(ma<<3)>>2]=(f-ma<<8)+2147483392|160;Ca=Ea+1|0;c[g+(Ca<<3)>>2]=(f-Ca<<8)+2147483392|160;Ca=Ea+2|0;c[g+(Ca<<3)>>2]=((i?q:k)-Ca<<8)+2147483392|160;Ca=469;break}case 175:{g=c[b>>2]|0;o=(j|0)==2;Mp(b,-1);f=c[Da>>2]|0;if(((f|0)!=56?(c[b+932>>2]|0)==0:0)?(c[b+936>>2]|0)==0:0){if((f|0)!=1)Jn(g,269408,83891812,270426);j=c[b+912>>2]|0;k=c[b>>2]|0;i=c[b+1008>>2]|0;Ga=c[i+16>>2]|0;i=c[i+20>>2]|0;m=i+Ga|0;if((Ga|0)<=0)Jn(k,269408,83888847,270412);e=k+428|0;g:do if(!o){f=m;while(1){g=f;f=f+-20|0;if((c[g+-12>>2]|0)==(j|0)){if(c[f>>2]&2|0){t=g;v=f;break g}if((c[(c[e>>2]|0)+60>>2]|0)!=(j|0)){Ca=198;break}}if(f>>>0<=i>>>0){Ca=199;break}}if((Ca|0)==198)Jn(k,269408,83888838,270412);else if((Ca|0)==199)Jn(k,269408,83888847,270412)}else{f=m;do{g=f;f=f+-20|0;if((c[g+-12>>2]|0)==(j|0)){t=g;v=f;break g}}while(f>>>0>i>>>0);Jn(k,269408,83888847,270412)}while(0);f=c[t+-16>>2]|0;i=c[t+-8>>2]|0;e=c[t+-4>>2]|0;Mp(b,-1);g=(v|0)==(m+-20|0)&1}else{j=c[(c[g+428>>2]|0)+60>>2]|0;k=c[b>>2]|0;i=c[b+1008>>2]|0;Ga=c[i+16>>2]|0;i=c[i+20>>2]|0;m=i+Ga|0;if((Ga|0)<=0)Jn(k,269408,83888847,270412);e=k+428|0;h:do if(!o){f=m;while(1){g=f;f=f+-20|0;if((c[g+-12>>2]|0)==(j|0)){if(c[f>>2]&2|0){z=g;u=f;break h}if((c[(c[e>>2]|0)+60>>2]|0)!=(j|0)){Ca=186;break}}if(f>>>0<=i>>>0){Ca=187;break}}if((Ca|0)==186)Jn(k,269408,83888838,270412);else if((Ca|0)==187)Jn(k,269408,83888847,270412)}else{f=m;do{g=f;f=f+-20|0;if((c[g+-12>>2]|0)==(j|0)){z=g;u=f;break h}}while(f>>>0>i>>>0);Jn(k,269408,83888847,270412)}while(0);g=(u|0)==(m+-20|0)&1;e=c[z+-4>>2]|0;i=c[z+-8>>2]|0;f=c[z+-16>>2]|0}if(g|0?(i|0)==(c[b+1100>>2]|0):0){qq(b,e+(o?1:2)|0);f=18;Ca=463;break}else{bq(b,o?167:168,0,f);f=18;Ca=463;break}}case 205:{f=c[b>>2]|0;Mp(b,-1);if(!(a[b+1120>>0]|0))Jn(f,269408,83891853,270455);if(((c[Da>>2]|0)!=56?(c[b+932>>2]|0)==0:0)?(c[b+936>>2]|0)==0:0){i=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;f=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(f,269408,83890914,270361);oq(b,d,-1);e=pq(b,d+8|0,-1,1)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=e;g=c[Fa>>2]|0;f=((c[Ga>>2]|0)-g|0)>>>3;if(((c[b+1100>>2]|0)==0&f>>>0>i>>>0?(q=g+(f+-1<<3)|0,r=c[q>>2]|0,(r&255|0)==176):0)?(e|0)>=(c[b+1048>>2]|0):0)c[q>>2]=r&-256|177;if((e|0)>-1){bq(b,161,0,e);f=18;Ca=463;break}i=e&2147483647;e=c[b>>2]|0;Zp(e,c[b+1020>>2]|0,i)|0;f=e+76|0;g=c[f>>2]|0;Ga=c[e+72>>2]|0;j=g-Ga>>4;j=j|0?Ga+(j+-1<<4)|0:0;j=(c[((j|0)==0?944:j)>>2]|0)==0;if((g|0)==(Ga|0))Jn(e,268491,50336874,268507);Fa=g+-16|0;c[f>>2]=Fa;Ga=c[g+-16>>2]|0;f=c[g+-8>>2]|0;c[Fa>>2]=2;if(Ga&8|0?(Fa=f+4|0,Ga=(c[Fa>>2]|0)+-1|0,c[Fa>>2]=Ga,(Ga|0)==0):0)go(c[e+44>>2]|0,f);if(j){bq(b,164,0,i);f=18;Ca=463;break}else{bq(b,163,0,i);f=18;Ca=463;break}}i=b+980|0;f=c[Ga>>2]|0;g=f;do if(((c[i>>2]|0)-g|0)>>>0<=7){e=c[b>>2]|0;f=g-(c[Fa>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0)Jn(e,269610,50331716,268447);else{Ea=b+984|0;Kn(e,c[Ea>>2]|0,g);Ea=c[(c[Ea>>2]|0)+20>>2]|0;s=Ea+f|0;c[Ga>>2]=s;c[Fa>>2]=Ea;c[i>>2]=Ea+g;break}}else s=f;while(0);g=s+8|0;c[Ga>>2]=g;f=c[b+876>>2]|0;if(!f)f=c[b+924>>2]|0;c[s>>2]=162;c[s+4>>2]=f;if((f|0)>2147418112?1:(g-(c[Fa>>2]|0)|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{f=18;Ca=463}break}case 235:{r=b+1104|0;c[r>>2]=(c[r>>2]|0)+1;if(a[b+1126>>0]|0)Jn(c[b>>2]|0,269408,83892205,270470);s=b+1100|0;c[s>>2]=(c[s>>2]|0)+1;Mp(b,-1);i=c[Ia>>2]|0;g=i+2|0;c[Ia>>2]=g;if((g|0)>65535)Jn(c[b>>2]|0,269408,50333568,270177);e=b+1056|0;if((g|0)>(c[e>>2]|0))c[e>>2]=g;Mp(b,53);g=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(g,269408,83890914,270361);oq(b,d,i);q=pq(b,d+8|0,i,0)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=q;Mp(b,54);q=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;bq(b,425,8,i);p=b+980|0;g=c[p>>2]|0;e=c[Ga>>2]|0;i=e;do if((g-i|0)>>>0<=7){j=c[b>>2]|0;g=i-(c[Fa>>2]|0)|0;e=g+72+(g>>>4)|0;if(e>>>0>>0)Jn(j,269610,50331716,268447);else{I=b+984|0;Kn(j,c[I>>2]|0,e);I=c[(c[I>>2]|0)+20>>2]|0;F=I+g|0;c[Ga>>2]=F;c[Fa>>2]=I;I=I+e|0;c[p>>2]=I;break}}else{F=e;I=g}while(0);i=F+8|0;c[Ga>>2]=i;o=b+876|0;j=c[o>>2]|0;k=i;if(!j)e=c[b+924>>2]|0;else e=j;c[F>>2]=193;c[F+4>>2]=e;g=c[Fa>>2]|0;m=k-g|0;if((e|0)>2147418112|m>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);do if((I-k|0)>>>0<=7){g=c[b>>2]|0;e=m+72+(m>>>4)|0;if(e>>>0>>0)Jn(g,269610,50331716,268447);else{Q=b+984|0;Kn(g,c[Q>>2]|0,e);Q=c[(c[Q>>2]|0)+20>>2]|0;P=Q+m|0;c[Ga>>2]=P;c[Fa>>2]=Q;c[p>>2]=Q+e;f=c[o>>2]|0;break}}else{P=i;f=j;Q=g}while(0);g=P+8|0;c[Ga>>2]=g;if(!f)f=c[b+924>>2]|0;c[P>>2]=193;c[P+4>>2]=f;if((f|0)>2147418112|(g-Q|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);hq(b,d,0);f=c[Ga>>2]|0;g=f;do if(((c[p>>2]|0)-g|0)>>>0<=7){e=c[b>>2]|0;f=g-(c[Fa>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0)Jn(e,269610,50331716,268447);else{d=b+984|0;Kn(e,c[d>>2]|0,g);d=c[(c[d>>2]|0)+20>>2]|0;ea=d+f|0;c[Ga>>2]=ea;c[Fa>>2]=d;c[p>>2]=d+g;break}}else ea=f;while(0);g=ea+8|0;c[Ga>>2]=g;f=c[o>>2]|0;if(!f)e=c[b+924>>2]|0;else e=f;c[ea>>2]=170;c[ea+4>>2]=e;Ga=c[Fa>>2]|0;f=g-Ga|0;g=Ga;if((e|0)>2147418112|f>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);f=f>>>3;Ga=q+2|0;c[g+(Ga<<3)>>2]=(f-Ga<<8)+2147483392|160;c[s>>2]=(c[s>>2]|0)+-1;if((Ha|0)>-1){Ga=Ea+1|0;c[g+(Ga<<3)>>2]=(f-Ga<<8)+2147483392|160}c[r>>2]=(c[r>>2]|0)+-1;Ca=469;break}case 271:{g=c[b+1008>>2]|0;f=c[g+16>>2]|0;g=c[g+20>>2]|0;i:do if((f|0)>0){f=g+f|0;do{if((c[f+-16>>2]|0)!=(Ha|0))break i;f=f+-20|0;c[f>>2]=1}while(f>>>0>g>>>0)}while(0);z=c[b>>2]|0;Mp(b,-1);Mp(b,53);f=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(f,269408,83890914,270361);oq(b,d,-1);p=d+8|0;q=pq(b,p,-1,1)|0;c[d>>2]=1;r=d+8|0;c[r>>2]=2;s=d+12|0;c[s>>2]=q;Mp(b,54);Mp(b,49);t=c[Ia>>2]|0;u=b+1056|0;v=b+980|0;w=b+876|0;x=b+924|0;y=b+984|0;g=-1;o=-1;i=-1;j:while(1){c[Ia>>2]=t;switch(c[Da>>2]|0){case 50:{Ca=315;break j}case 3:{if((g|0)>=0){Ca=c[Fa>>2]|0;c[Ca+(g<<3)>>2]=((((c[Ga>>2]|0)-Ca|0)>>>3)-g<<8)+2147483392|160}Mp(b,-1);f=c[b>>2]|0;c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0){Ca=284;break j}oq(b,d,-1);f=pq(b,p,-1,1)|0;c[d>>2]=1;c[r>>2]=2;c[s>>2]=f;Mp(b,85);g=c[Ia>>2]|0;e=g+1|0;c[Ia>>2]=e;if((g|0)>65534){Ca=286;break j}if((g|0)>=(c[u>>2]|0))c[u>>2]=e;dq(b,16408,g,q,f);bq(b,g>>>31|48,0,g);k=i;Ca=293;break}case 7:{if((i|0)>-1){Ca=323;break j}Mp(b,-1);Mp(b,85);if((g|0)<0){k=-2;Ca=293}else{e=c[Ga>>2]|0;f=c[Fa>>2]|0;Ca=302}break}default:{Ca=323;break j}}if((Ca|0)==293){Ca=0;e=c[Ga>>2]|0;f=c[Fa>>2]|0;i=e-f|0;g=i>>>3;if(((c[v>>2]|0)-e|0)>>>0<=7){f=c[b>>2]|0;e=i+72+(i>>>4)|0;if(e>>>0>>0){Ca=295;break}Kn(f,c[y>>2]|0,e);f=c[(c[y>>2]|0)+20>>2]|0;wa=f+i|0;c[Ga>>2]=wa;c[Fa>>2]=f;c[v>>2]=f+e;e=wa}j=e+8|0;c[Ga>>2]=j;i=c[w>>2]|0;if(!i)i=c[x>>2]|0;c[e>>2]=160;c[e+4>>2]=i;if((i|0)>2147418112|(j-f|0)>>>0>2147418112){Ca=300;break}if((k|0)==-2){e=j;Ca=302}else{m=g;e=j}}if((Ca|0)==302){m=g;k=(e-f|0)>>>3}if((o|0)>=0)c[f+(o<<3)>>2]=(((e-f|0)>>>3)-o<<8)+2147483392|160;k:while(1){switch(c[Da>>2]|0){case 3:case 7:case 50:break k;default:{}}hq(b,d,0)}f=c[Ga>>2]|0;g=c[Fa>>2]|0;e=f-g|0;j=e>>>3;if(((c[v>>2]|0)-f|0)>>>0>7)i=g;else{g=c[b>>2]|0;f=e+72+(e>>>4)|0;if(f>>>0>>0){Ca=309;break}Kn(g,c[y>>2]|0,f);i=c[(c[y>>2]|0)+20>>2]|0;Ca=i+e|0;c[Ga>>2]=Ca;c[Fa>>2]=i;c[v>>2]=i+f;f=Ca}e=f+8|0;c[Ga>>2]=e;g=c[w>>2]|0;if(!g)g=c[x>>2]|0;c[f>>2]=160;c[f+4>>2]=g;if((g|0)>2147418112|(e-i|0)>>>0>2147418112){Ca=314;break}else{g=m;o=j;i=k}}if((Ca|0)==284)Jn(f,269408,83890914,270361);else if((Ca|0)==286)Jn(c[b>>2]|0,269408,50333568,270177);else if((Ca|0)==295)Jn(f,269610,50331716,268447);else if((Ca|0)==300)Jn(c[b>>2]|0,269408,50332823,270225);else if((Ca|0)==309)Jn(g,269610,50331716,268447);else if((Ca|0)==314)Jn(c[b>>2]|0,269408,50332823,270225);else if((Ca|0)==315){Mp(b,-1);f=(g|0)<0;if((i|0)>-1){if(!f)c[(c[Fa>>2]|0)+(g<<3)>>2]=(i-g<<8)+2147483392|160}else if(!f){d=c[Fa>>2]|0;c[d+(g<<3)>>2]=((((c[Ga>>2]|0)-d|0)>>>3)-g<<8)+2147483392|160}f=c[Fa>>2]|0;g=((c[Ga>>2]|0)-f|0)>>>3;if((o|0)>=0)c[f+(o<<3)>>2]=(g-o<<8)+2147483392|160;Ca=Ea+1|0;c[f+(Ca<<3)>>2]=(g-Ca<<8)+2147483392|160;Ca=469;break}else if((Ca|0)==323)Jn(z,269408,83891678,270490);break}case 325:{Mp(b,-1);f=c[b>>2]|0;if(c[b+932>>2]|0)Jn(f,269408,83891954,270515);c[xa>>2]=0;c[ya>>2]=0;c[za>>2]=0;c[Aa>>2]=1;c[Ba>>2]=1;nq(b,d,4);if((c[xa>>2]|0)==0?(c[ya>>2]|0)==0:0)Jn(f,269408,83890914,270361);oq(b,d,-1);f=pq(b,d+8|0,-1,0)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=f;bq(b,173,0,f);f=18;Ca=463;break}case 331:{w=c[b>>2]|0;z=b+1100|0;c[z>>2]=(c[z>>2]|0)+1;Mp(b,-1);y=c[Ia>>2]|0;f=y+2|0;c[Ia>>2]=f;if((f|0)>65535)Jn(c[b>>2]|0,269408,50333568,270177);g=b+1056|0;if((f|0)>(c[g>>2]|0))c[g>>2]=f;v=((c[Ga>>2]|0)-(c[Fa>>2]|0)|0)>>>3;bq(b,2,y,0);f=c[Ga>>2]|0;g=c[Fa>>2]|0;j=f-g|0;x=j>>>3;u=b+980|0;e=c[u>>2]|0;do if((e-f|0)>>>0<=7){f=c[b>>2]|0;g=j+72+(j>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{G=b+984|0;Kn(f,c[G>>2]|0,g);G=c[(c[G>>2]|0)+20>>2]|0;E=G+j|0;c[Ga>>2]=E;c[Fa>>2]=G;H=G+g|0;c[u>>2]=H;break}}else{E=f;G=g;H=e}while(0);g=E+8|0;c[Ga>>2]=g;t=b+876|0;e=c[t>>2]|0;j=g;if(!e)f=c[b+924>>2]|0;else f=e;c[E>>2]=193;c[E+4>>2]=f;k=j-G|0;if((f|0)>2147418112|k>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);do if((H-j|0)>>>0<=7){f=c[b>>2]|0;g=k+72+(k>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{T=b+984|0;Kn(f,c[T>>2]|0,g);T=c[(c[T>>2]|0)+20>>2]|0;R=T+k|0;c[Ga>>2]=R;c[Fa>>2]=T;U=T+g|0;c[u>>2]=U;S=c[t>>2]|0;break}}else{R=g;S=e;T=G;U=H}while(0);g=R+8|0;c[Ga>>2]=g;e=g;if(!S)f=c[b+924>>2]|0;else f=S;c[R>>2]=193;c[R+4>>2]=f;j=e-T|0;if((f|0)>2147418112|j>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);do if((U-e|0)>>>0<=7){f=c[b>>2]|0;g=j+72+(j>>>4)|0;if(g>>>0>>0)Jn(f,269610,50331716,268447);else{Z=b+984|0;Kn(f,c[Z>>2]|0,g);Z=c[(c[Z>>2]|0)+20>>2]|0;Y=Z+j|0;c[Ga>>2]=Y;c[Fa>>2]=Z;c[u>>2]=Z+g;X=c[t>>2]|0;break}}else{Y=g;X=S;Z=T}while(0);g=Y+8|0;c[Ga>>2]=g;if(!X)f=c[b+924>>2]|0;else f=X;c[Y>>2]=193;c[Y+4>>2]=f;if((f|0)>2147418112|(g-Z|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);Mp(b,49);Yp(b,0,0);f=c[Ga>>2]|0;g=f;do if(((c[u>>2]|0)-g|0)>>>0<=7){e=c[b>>2]|0;f=g-(c[Fa>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0)Jn(e,269610,50331716,268447);else{Ea=b+984|0;Kn(e,c[Ea>>2]|0,g);Ea=c[(c[Ea>>2]|0)+20>>2]|0;ia=Ea+f|0;c[Ga>>2]=ia;c[Fa>>2]=Ea;c[u>>2]=Ea+g;break}}else ia=f;while(0);j=ia+8|0;c[Ga>>2]=j;f=c[t>>2]|0;if(!f)f=c[b+924>>2]|0;c[ia>>2]=170;c[ia+4>>2]=f;g=c[Fa>>2]|0;e=j-g|0;if((f|0)>2147418112|e>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);f=c[Da>>2]|0;do if((f|0)==4){s=e>>>3;Mp(b,-1);Mp(b,53);if((c[Da>>2]|0)!=1)Jn(w,269408,83892195,270529);g=c[b+912>>2]|0;p=w+76|0;f=c[p>>2]|0;q=w+68|0;if(f>>>0>=(c[q>>2]|0)>>>0)Sn(w,3761);c[p>>2]=f+16;c[f>>2]=8;c[f+8>>2]=g;Ea=g+4|0;c[Ea>>2]=(c[Ea>>2]|0)+1;do if(a[b+1126>>0]|0){f=c[w+428>>2]|0;if((g|0)==(c[f+132>>2]|0))Jn(w,269408,83892195,270529);if((g|0)!=(c[f+268>>2]|0))break;Jn(w,269408,83892195,270529)}while(0);f=c[p>>2]|0;if(f>>>0>=(c[q>>2]|0)>>>0)Sn(w,955);m=w+72|0;if((f-(c[m>>2]|0)|0)<16)$n(w,958,-1);Ea=f+-16|0;c[p>>2]=f+16;c[f>>2]=c[Ea>>2];c[f+4>>2]=c[Ea+4>>2];c[f+8>>2]=c[Ea+8>>2];c[f+12>>2]=c[Ea+12>>2];if(c[f>>2]&8|0){Ea=(c[f+8>>2]|0)+4|0;c[Ea>>2]=(c[Ea>>2]|0)+1}r=cq(b)|0;Mp(b,-1);Mp(b,54);Mp(b,49);f=c[p>>2]|0;if(f>>>0>=(c[q>>2]|0)>>>0)Sn(w,955);if((f-(c[m>>2]|0)|0)<16)$n(w,958,-1);Ea=f+-16|0;c[p>>2]=f+16;c[f>>2]=c[Ea>>2];c[f+4>>2]=c[Ea+4>>2];c[f+8>>2]=c[Ea+8>>2];c[f+12>>2]=c[Ea+12>>2];if(c[f>>2]&8|0){Ea=(c[f+8>>2]|0)+4|0;c[Ea>>2]=(c[Ea>>2]|0)+1}o=b+1044|0;g=c[o>>2]|0;e=c[m>>2]|0;j=(c[p>>2]|0)-e>>4;f=((g|0)<0?j:0)+g|0;if(f>>>0>=j>>>0)$n(w,342,g);ro(w,e+(f<<4)|0,e+(j+-1<<4)|0)|0;g=c[m>>2]|0;e=(c[p>>2]|0)-g>>4;f=e+-2|0;if(e>>>0<=1)$n(w,342,-2);d=g+(f<<4)|0;e=g+(e+-1<<4)|0;Ea=c[d>>2]|0;f=c[g+(f<<4)+8>>2]|0;DQ(d|0,d+16|0,e-d|0)|0;c[e>>2]=2;e=(c[p>>2]|0)+-16|0;c[p>>2]=e;g=e;do if(Ea&8){d=f+4|0;Ea=(c[d>>2]|0)+-1|0;c[d>>2]=Ea;if(Ea|0)break;go(c[w+44>>2]|0,f);e=c[p>>2]|0;g=e}while(0);j=c[m>>2]|0;f=g-j>>4;f=f|0?j+(f+-1<<4)|0:0;f=(f|0)==0?944:f;l:do switch(c[f>>2]|0){case 2:{k=-2;break}case 3:{k=-1;break}case 0:{n=+h[f+8>>3];if(!(XO(n)|0)){k=0;break l}if(n<-2147483648.0){k=-2147483648;break l}if(n>2147483647.0){k=2147483647;break l}k=~~n;break}default:k=0}while(0);if((e|0)==(j|0))Jn(w,268491,50336874,268507);f=e+-16|0;c[p>>2]=f;Ea=c[e+-16>>2]|0;g=c[e+-8>>2]|0;c[f>>2]=2;do if(Ea&8){d=g+4|0;Ea=(c[d>>2]|0)+-1|0;c[d>>2]=Ea;if(Ea|0)break;go(c[w+44>>2]|0,g);f=c[p>>2]|0}while(0);if(f>>>0>=(c[q>>2]|0)>>>0)Sn(w,955);if((f-(c[m>>2]|0)|0)<16)$n(w,958,-1);Ea=f+-16|0;c[p>>2]=f+16;c[f>>2]=c[Ea>>2];c[f+4>>2]=c[Ea+4>>2];c[f+8>>2]=c[Ea+8>>2];c[f+12>>2]=c[Ea+12>>2];if(c[f>>2]&8|0){Ea=(c[f+8>>2]|0)+4|0;c[Ea>>2]=(c[Ea>>2]|0)+1}f=c[p>>2]|0;if(f>>>0>=(c[q>>2]|0)>>>0)Sn(w,3787);c[p>>2]=f+16;c[f>>2]=3;$p(w,c[o>>2]|0);bq(b,2206,y,r);Yp(b,0,0);m:do switch(k|0){case -2:{sq(w,c[o>>2]|0);break}case -1:{f=c[p>>2]|0;if(f>>>0<(c[q>>2]|0)>>>0){c[p>>2]=f+16;c[f>>2]=3;Ca=421;break m}else Sn(w,3787);break}default:{f=c[p>>2]|0;if(f>>>0<(c[q>>2]|0)>>>0){c[p>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+(k|0);Ca=421;break m}else Sn(w,3868)}}while(0);if((Ca|0)==421)$p(w,c[o>>2]|0);f=c[Ga>>2]|0;g=f;do if(((c[u>>2]|0)-g|0)>>>0<=7){e=c[b>>2]|0;f=g-(c[Fa>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0)Jn(e,269610,50331716,268447);else{Ea=b+984|0;Kn(e,c[Ea>>2]|0,g);Ea=c[(c[Ea>>2]|0)+20>>2]|0;ra=Ea+f|0;c[Ga>>2]=ra;c[Fa>>2]=Ea;c[u>>2]=Ea+g;break}}else ra=f;while(0);e=ra+8|0;c[Ga>>2]=e;f=c[t>>2]|0;if(!f)f=c[b+924>>2]|0;c[ra>>2]=171;c[ra+4>>2]=f;g=c[Fa>>2]|0;if((f|0)>2147418112|(e-g|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225);else{wa=s;va=r;i=5;sa=c[Da>>2]|0;ta=e;ua=g;break}}else{wa=-1;va=0;i=0;sa=f;ta=j;ua=g}while(0);if((sa|0)==11){Mp(b,-1);Mp(b,49);Yp(b,0,0);dq(b,172,0,y,0);f=(ta-ua|0)>>>3;i=i|2}else f=-1;j=(i&1|0)!=0;m=(i&2|0)==0;if(m&(j^1))Jn(w,269408,83892195,270529);k=c[Fa>>2]|0;g=k+(v<<3)|0;e=k;do if((va|0)<0)if((va&2147418112|y)>>>0>65535)Jn(c[b>>2]|0,269408,50333376,270188);else{c[g>>2]=c[g>>2]|va<<16;break}else c[g>>2]=192;while(0);c[k+(x<<3)>>2]=y<<16|i<<8|169;g=x+1|0;if(j)c[k+(g<<3)>>2]=(wa-g<<8)+2147483392|160;g=x+2|0;if(m)f=((c[Ga>>2]|0)-e|0)>>>3;c[k+(g<<3)>>2]=(f-g<<8)+2147483392|160;c[z>>2]=(c[z>>2]|0)+-1;Ca=469;break}case 445:{Mp(b,-1);f=2;Ca=463;break}case 447:{if(!(c[ya>>2]|0))Jn(g,269408,83890914,270361);else{f=3;Ca=460}break}case 452:{if(o<<24>>24!=0&(g|0)==100){f=c[p>>2]|0;if((c[b+880>>2]|0)>0){f=11;Ca=460}else switch(c[f+20>>2]|0){case 10:{if(yN(f+28|0,270541,10)|0){f=11;Ca=460;break b}a[b+1126>>0]=1;f=11;Ca=460;break b}case 14:{if(yN(f+28|0,270552,14)|0){f=11;Ca=460;break b}a[b+1127>>0]=1;f=11;Ca=460;break b}default:{f=11;Ca=460;break b}}}else{f=3;Ca=460}break}}do if((Ca|0)==460){g=c[b+1116>>2]|0;if((g|0)>-1){oq(b,d,g);Ca=pq(b,d+8|0,g,0)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=Ca;Ca=463;break}else{Ca=c[Ia>>2]|0;oq(b,d,-1);c[Ia>>2]=Ca;Ca=463;break}}else if((Ca|0)==470){Ga=Ea+1|0;c[g+(Ga<<3)>>2]=((f>>>3)-Ga<<8)+2147483392|160;Ca=471}while(0);if((Ca|0)==463){if((c[Da>>2]|0)!=56){if(!(c[b+936>>2]|f&4))Jn(qa,269408,83892733,270567)}else Mp(b,-1);if(!(f&8))Ca=469;else{a[na>>0]=1;Ca=469}}if((Ca|0)==469?(Ha|0)>-1:0)Ca=471;if((Ca|0)==471)bq(b,166,0,Ha);c[Ia>>2]=Ja;j=c[b>>2]|0;f=c[Ka>>2]|0;g=j+76|0;i=c[g>>2]|0;e=i-(c[j+72>>2]|0)>>4;f=((f|0)<0?e:0)+f|0;if(i>>>0<(c[j+68>>2]|0)>>>0){c[g>>2]=i+16;c[i>>2]=0;h[i+8>>3]=+(La>>>0);sp(j,f>>>0>>0?f:-2147483648,80);Kn(j,c[b+1008>>2]|0,La*20|0);c[Ma>>2]=(c[Ma>>2]|0)+-1;l=Na;return}else Sn(j,3902)}function iq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=a+76|0;e=c[d>>2]|0;if(e-(c[a+72>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);b=a+44|0;g=e+-16|0;f=c[g>>2]|0;a=c[e+-8>>2]|0;c[g>>2]=2;if(f&8|0?(f=a+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0)Wn(c[b>>2]|0,a);f=e+-32|0;g=c[f>>2]|0;a=c[e+-24>>2]|0;c[f>>2]=2;if(g&8|0?(f=a+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0)Wn(c[b>>2]|0,a);c[d>>2]=e+-32;a=c[b>>2]|0;if(!(c[a+32>>2]|0))return;Rn(a);return}function jq(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;if((b|0)>-1){q=b;return q|0}m=a+1096|0;o=c[m>>2]|0;c[m>>2]=o+1;bq(a,165,0,o);m=a+980|0;b=c[m>>2]|0;n=a+972|0;e=c[n>>2]|0;f=e;do if((b-f|0)>>>0<=7){g=c[a>>2]|0;h=a+976|0;b=f-(c[h>>2]|0)|0;e=b+72+(b>>>4)|0;if(e>>>0>>0)Jn(g,269610,50331716,268447);else{l=a+984|0;Kn(g,c[l>>2]|0,e);l=c[(c[l>>2]|0)+20>>2]|0;i=l+b|0;c[n>>2]=i;c[h>>2]=l;l=l+e|0;c[m>>2]=l;break}}else{i=e;l=b}while(0);f=i+8|0;c[n>>2]=f;k=a+876|0;g=c[k>>2]|0;h=f;if(!g)e=c[a+924>>2]|0;else e=g;c[i>>2]=193;c[i+4>>2]=e;i=a+976|0;b=c[i>>2]|0;j=h-b|0;if((e|0)>2147418112|j>>>0>2147418112)Jn(c[a>>2]|0,269408,50332823,270225);do if((l-h|0)>>>0<=7){b=c[a>>2]|0;e=j+72+(j>>>4)|0;if(e>>>0>>0)Jn(b,269610,50331716,268447);else{q=a+984|0;Kn(b,c[q>>2]|0,e);q=c[(c[q>>2]|0)+20>>2]|0;p=q+j|0;c[n>>2]=p;c[i>>2]=q;c[m>>2]=q+e;d=c[k>>2]|0;break}}else{p=f;d=g;q=b}while(0);b=p+8|0;c[n>>2]=b;if(!d)d=c[a+924>>2]|0;c[p>>2]=193;c[p+4>>2]=d;if((d|0)>2147418112|(b-q|0)>>>0>2147418112)Jn(c[a>>2]|0,269408,50332823,270225);else{q=o;return q|0}return 0}function kq(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;k=c[a>>2]|0;l=a+1008|0;i=c[l>>2]|0;h=c[i+20>>2]|0;i=c[i+16>>2]|0;j=(i|0)/20|0;a:do if((i|0)>0){g=k+428|0;f=h+i|0;while(1){if((c[f+-12>>2]|0)==(b|0)?(c[(c[g>>2]|0)+60>>2]|0)!=(b|0):0)break;f=f+-20|0;if(f>>>0<=h>>>0)break a}Jn(k,269408,83888708,271116)}while(0);f=k+76|0;g=c[f>>2]|0;if(g>>>0<(c[k+68>>2]|0)>>>0){c[f>>2]=g+16;c[g>>2]=8;c[g+8>>2]=b;h=b+4|0;c[h>>2]=(c[h>>2]|0)+1;Tp(k,c[a+1032>>2]|0,j);Kn(k,c[l>>2]|0,i+20|0);l=c[l>>2]|0;l=(c[l+20>>2]|0)+(c[l+16>>2]|0)+-20|0;c[l>>2]=1;c[l+4>>2]=e;c[l+8>>2]=b;c[l+12>>2]=c[a+1100>>2];c[l+16>>2]=d;return}else Sn(k,3761)}function lq(d,e){d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0.0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+160|0;B=G+80|0;D=G;E=G+132|0;C=G+146|0;F=c[d>>2]|0;if(a[d+1129>>0]|0){x=d+972|0;y=F+76|0;j=F+72|0;k=(c[y>>2]|0)-(c[j>>2]|0)|0;z=k>>4;f=B;g=x;i=f+52|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(i|0));o=d+1024|0;p=c[o>>2]|0;r=d+1028|0;f=D;g=r;i=f+80|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(i|0));s=d+1108|0;t=c[s>>2]|0;u=d+1112|0;c[E>>2]=c[u>>2];c[E+4>>2]=c[u+4>>2];c[E+8>>2]=c[u+8>>2];b[E+12>>1]=b[u+12>>1]|0;v=d+1126|0;w=a[v>>0]|0;m=d+1127|0;f=C;g=m;i=f+13|0;do{a[f>>0]=a[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(i|0));EQ(x|0,0,168)|0;Kp(d);a[v>>0]=w;a[d+1120>>0]=1;a[d+1125>>0]=e>>>1&1;a[d+1123>>0]=(e&7|0)==0&1;a[d+1124>>0]=(e&6|0)==0&1;Np(d,e);A=t+1|0;if((t|0)>65535)Jn(c[d>>2]|0,269408,50339297,271101);g=t*3|0;Tp(F,p,g);f=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f=m;g=C;i=f+13|0;do{a[f>>0]=a[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(i|0));F=t;l=G;return F|0}k=d+1108|0;p=c[k>>2]|0;c[k>>2]=p+1;k=d+1024|0;e=p*3|0;Zp(F,c[k>>2]|0,e+1|0)|0;aq(F,-1);o=F+76|0;i=c[o>>2]|0;j=F+72|0;g=c[j>>2]|0;f=i-g>>4;f=f|0?g+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(n=+h[f+8>>3],(XO(n)|0)!=0):0)if(!(n<-2147483648.0))if(n>2147483647.0)m=2147483647;else m=~~n;else m=-2147483648;else m=0;if((i|0)==(g|0))Jn(F,268491,50336874,268507);D=i+-16|0;c[o>>2]=D;E=c[i+-16>>2]|0;f=c[i+-8>>2]|0;c[D>>2]=2;if(E&8|0?(D=f+4|0,E=(c[D>>2]|0)+-1|0,c[D>>2]=E,(E|0)==0):0)go(c[F+44>>2]|0,f);Zp(F,c[k>>2]|0,e+2|0)|0;aq(F,-1);e=c[o>>2]|0;i=c[j>>2]|0;f=e-i>>4;f=f|0?i+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(q=+h[f+8>>3],(XO(q)|0)!=0):0)if(!(q<-2147483648.0))if(q>2147483647.0)g=2147483647;else g=~~q;else g=-2147483648;else g=0;if((e|0)==(i|0))Jn(F,268491,50336874,268507);D=e+-16|0;c[o>>2]=D;E=c[e+-16>>2]|0;f=c[e+-8>>2]|0;c[D>>2]=2;if(E&8|0?(D=f+4|0,E=(c[D>>2]|0)+-1|0,c[D>>2]=E,(E|0)==0):0)go(c[F+44>>2]|0,f);F=d+8|0;c[d+792>>2]=m;c[d+796>>2]=g;c[F>>2]=d+12;Jp(F,0);c[d+896>>2]=0;c[d+924>>2]=0;Mp(d,-1);Mp(d,50);F=p;l=G;return F|0}function mq(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var 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;v=l;l=l+16|0;s=v+4|0;t=v;u=c[b>>2]|0;q=b+896|0;if((c[q>>2]|0)!=1)Jn(u,269408,83891107,271072);o=c[b+912>>2]|0;if(a[b+1126>>0]|0?c[o>>2]&8192|0:0)Jn(u,269408,83891107,271072);do if(a[b+1129>>0]|0){j=b+1028|0;k=zp(u,c[j>>2]|0)|0;m=u+76|0;i=c[m>>2]|0;n=u+68|0;if(i>>>0>=(c[n>>2]|0)>>>0)Sn(u,3761);c[m>>2]=i+16;c[i>>2]=8;c[i+8>>2]=o;i=o+4|0;c[i>>2]=(c[i>>2]|0)+1;Tp(u,c[j>>2]|0,k);i=c[m>>2]|0;if(i>>>0<(c[n>>2]|0)>>>0){c[m>>2]=i+16;c[i>>2]=0;h[i+8>>3]=0.0;Tp(u,c[j>>2]|0,k+1|0);p=n;r=m;break}else Sn(u,3868)}else{p=u+68|0;r=u+76|0}while(0);i=c[r>>2]|0;if(i>>>0>=(c[p>>2]|0)>>>0)Sn(u,3761);c[r>>2]=i+16;c[i>>2]=8;c[i+8>>2]=o;i=o+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[r>>2]|0;if(i>>>0>=(c[p>>2]|0)>>>0)Sn(u,955);j=u+72|0;if((i-(c[j>>2]|0)|0)<16)$n(u,958,-1);p=i+-16|0;c[r>>2]=i+16;c[i>>2]=c[p>>2];c[i+4>>2]=c[p+4>>2];c[i+8>>2]=c[p+8>>2];c[i+12>>2]=c[p+12>>2];if(c[i>>2]&8|0){p=(c[i+8>>2]|0)+4|0;c[p>>2]=(c[p>>2]|0)+1}rq(b,s,t)|0;Mp(b,-1);do if((c[q>>2]|0)==86){Mp(b,-1);i=c[b>>2]|0;p=b+1072|0;c[p>>2]=0;q=b+1076|0;c[q>>2]=0;c[b+1080>>2]=0;c[b+1084>>2]=1;c[b+1088>>2]=e>>>8&1^1;nq(b,d,e|6);if(((e&512|0)==0?(c[p>>2]|0)==0:0)?(c[q>>2]|0)==0:0)Jn(i,269408,83890914,270361);i=c[s>>2]|0;if((i|0)>-1){oq(b,d,i);b=pq(b,d+8|0,i,0)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=b;break}else{oq(b,d,-1);e=pq(b,d+8|0,-1,0)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=e;bq(b,2206,e,c[t>>2]|0);break}}else if(e&1024|0)Jn(u,269408,83891107,271072);while(0);i=c[r>>2]|0;if((i|0)==(c[j>>2]|0))Jn(u,268491,50336874,268507);d=i+-16|0;c[r>>2]=d;r=c[i+-16>>2]|0;i=c[i+-8>>2]|0;c[d>>2]=2;if(!(r&8)){u=c[t>>2]|0;c[g>>2]=u;u=c[s>>2]|0;c[f>>2]=u;l=v;return}d=i+4|0;r=(c[d>>2]|0)+-1|0;c[d>>2]=r;if(r|0){u=c[t>>2]|0;c[g>>2]=u;u=c[s>>2]|0;c[f>>2]=u;l=v;return}go(c[u+44>>2]|0,i);u=c[t>>2]|0;c[g>>2]=u;u=c[s>>2]|0;c[f>>2]=u;l=v;return}function nq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0.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,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;ja=l;l=l+48|0;da=ja+36|0;ea=ja+32|0;fa=ja;ga=c[b>>2]|0;ha=b+960|0;f=c[ha>>2]|0;if((f|0)>=(c[b+964>>2]|0))Jn(ga,269408,50332058,270152);c[ha>>2]=f+1;k=ga+76|0;f=c[k>>2]|0;g=(f-(c[ga+64>>2]|0)>>4)+80|0;if((c[ga+80>>2]|0)>>>0>>0){Yn(ga,g,4)|0;f=c[k>>2]|0}i=f;ca=e&255;c[fa>>2]=0;c[fa+4>>2]=0;c[fa+8>>2]=0;c[fa+12>>2]=0;c[fa+16>>2]=0;c[fa+20>>2]=0;c[fa+24>>2]=0;f=f-(c[ga+72>>2]|0)>>4;$=fa+16|0;c[$>>2]=f;aa=fa+28|0;c[aa>>2]=f+1;f=c[ga+68>>2]|0;if(i>>>0>=f>>>0)Sn(ga,3772);ba=i+16|0;c[k>>2]=ba;if(ba>>>0>=f>>>0)Sn(ga,3772);g=i+32|0;c[k>>2]=g;ba=b+896|0;switch(c[ba>>2]|0){case 54:case 56:{if(!(e&512))Jn(ga,269408,83890876,270361);if(g>>>0>=f>>>0)Sn(ga,3772);c[k>>2]=i+48;tq(c[b>>2]|0,d);iq(ga);ia=c[ha>>2]|0;ia=ia+-1|0;c[ha>>2]=ia;l=ja;return}default:{}}Mp(b,-1);C=c[b>>2]|0;Y=b+1052|0;D=c[Y>>2]|0;Z=b+1072|0;c[Z>>2]=(c[Z>>2]|0)+1;_=b+848|0;X=c[_>>2]|0;c[d>>2]=0;a:do switch(X|0){case 20:{g=D+1|0;c[Y>>2]=g;if((D|0)>65534)Jn(C,269408,50333568,270177);f=b+1056|0;if((D|0)>=(c[f>>2]|0))c[f>>2]=g;bq(b,5,0,D);c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=D;break}case 1:{uq(b,d,c[b+864>>2]|0);break}case 35:{f=C+76|0;g=c[f>>2]|0;if(g>>>0<(c[C+68>>2]|0)>>>0){c[f>>2]=g+16;c[g>>2]=3;ia=251;break a}else Sn(C,3787);break}case 36:{f=C+76|0;g=c[f>>2]|0;if(g>>>0<(c[C+68>>2]|0)>>>0){c[f>>2]=g+16;c[g>>2]=4;c[g+8>>2]=1;ia=251;break a}else Sn(C,3811);break}case 37:{f=C+76|0;g=c[f>>2]|0;if(g>>>0<(c[C+68>>2]|0)>>>0){c[f>>2]=g+16;c[g>>2]=4;c[g+8>>2]=0;ia=251;break a}else Sn(C,3822);break}case 99:{f=C+76|0;g=c[f>>2]|0;if(g>>>0<(c[C+68>>2]|0)>>>0){j=+h[b+856>>3];c[f>>2]=g+16;c[g>>2]=0;h[g+8>>3]=j;ia=251;break a}else Sn(C,3835);break}case 100:{f=c[b+864>>2]|0;g=C+76|0;i=c[g>>2]|0;if(i>>>0<(c[C+68>>2]|0)>>>0){c[g>>2]=i+16;c[i>>2]=8;c[i+8>>2]=f;ia=f+4|0;c[ia>>2]=(c[ia>>2]|0)+1;ia=251;break a}else Sn(C,3761);break}case 101:{f=D+1|0;c[Y>>2]=f;if((D|0)>65534)Jn(C,269408,50333568,270177);g=b+1056|0;if((D|0)>=(c[g>>2]|0))c[g>>2]=f;f=c[b+864>>2]|0;i=C+76|0;g=c[i>>2]|0;k=C+68|0;if(g>>>0>=(c[k>>2]|0)>>>0)Sn(C,3761);c[i>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[b+868>>2]|0;g=c[i>>2]|0;if(g>>>0<(c[k>>2]|0)>>>0){c[i>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;X=f+4|0;c[X>>2]=(c[X>>2]|0)+1;vq(C);X=cq(b)|0;dq(b,16532,D,X,cq(b)|0);c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=D;break a}else Sn(C,3761);break}case 51:{f=D+1|0;c[Y>>2]=f;if((D|0)>65534)Jn(C,269408,50333568,270177);p=b+1056|0;if((D|0)>=(c[p>>2]|0))c[p>>2]=f;bq(b,180,0,D);q=c[Y>>2]|0;o=d+8|0;r=d+8|0;s=d+12|0;i=0;g=0;k=0;f=0;b:while(1){c:while(1){c[Y>>2]=q;e=c[ba>>2]|0;if((e|0)==52){ia=76;break b}else{m=0;n=i}while(1){i=(e|0)==57;if(!g){if(i){ia=58;break}do if(!m){g=c[Y>>2]|0;f=g+1|0;c[Y>>2]=f;if((g|0)>65534){ia=61;break b}if((g|0)>=(c[p>>2]|0))c[p>>2]=f;f=n+32768|0;if(f>>>0<65536){bq(b,3,g,f);f=n;break}else{bq(b,3,g,(n>>16)+32768|0);bq(b,4,g,n&65535);f=n;break}}while(0);g=c[Y>>2]|0;i=g+1|0;c[Y>>2]=i;if((g|0)>65534){ia=68;break b}if((g|0)>=(c[p>>2]|0))c[p>>2]=i;c[Y>>2]=g;nq(b,d,6);oq(b,d,g);e=pq(b,o,g,0)|0;c[d>>2]=1;c[r>>2]=2;c[s>>2]=e;c[Y>>2]=i;e=m+1|0;i=n+1|0;if(e>>>0>19){ia=72;break c}else{m=e;g=1}}else{if(!i){ia=85;break b}Mp(b,-1);i=n;g=0}e=c[ba>>2]|0;if((e|0)==52)break;else n=i}if((ia|0)==58){ia=0;Mp(b,-1);i=n+1|0;g=0}if(m){ia=74;break}}if((ia|0)==72){ia=0;g=1;n=f;k=f+e|0;f=m+2|0}else if((ia|0)==74){ia=0;n=f;k=m+f|0;f=m+1|0}dq(b,3257,D,q,f);f=n}if((ia|0)==61)Jn(c[b>>2]|0,269408,50333568,270177);else if((ia|0)==68)Jn(c[b>>2]|0,269408,50333568,270177);else if((ia|0)==76){Mp(b,-1);if(i>>>0>k>>>0){g=c[Y>>2]|0;f=g+1|0;c[Y>>2]=f;if((g|0)>65534)Jn(c[b>>2]|0,269408,50333568,270177);if((g|0)>=(c[p>>2]|0))c[p>>2]=f;f=i+32768|0;if(f>>>0<65536)bq(b,3,g,f);else{bq(b,3,g,(i>>16)+32768|0);bq(b,4,g,i&65535)}bq(b,2235,D,g)}c[Y>>2]=q;c[d>>2]=1;c[r>>2]=2;c[s>>2]=D;break a}else if((ia|0)==85)Jn(C,269408,83889022,270657);break}case 49:{x=D+1|0;c[Y>>2]=x;if((D|0)>65534)Jn(C,269408,50333568,270177);o=b+1056|0;if((D|0)>=(c[o>>2]|0))c[o>>2]=x;bq(b,179,0,D);p=b+896|0;g=c[p>>2]|0;do if((g|0)!=50){q=b+848|0;r=b+864|0;s=C+428|0;t=D+3|0;u=(t|0)>65535;v=D+2|0;w=d+8|0;y=d+8|0;z=d+12|0;i=0;f=0;d:while(1){if(i){if((g|0)!=57){ia=129;break}Mp(b,-1);if((c[p>>2]|0)==50){ia=127;break}}Mp(b,-1);if(f>>>0>9){dq(b,3253,D,x,f<<1);c[Y>>2]=x;f=0}m=f<<1;n=m+x|0;g=n+2|0;c[Y>>2]=g;if((g|0)>65535){ia=100;break}if((g|0)>(c[o>>2]|0))c[o>>2]=g;i=c[q>>2]|0;if((i|0)==1){X=c[r>>2]|0;e=c[s>>2]|0;g=1;k=(X|0)==(c[e+284>>2]|0);e=(X|0)==(c[e+324>>2]|0)}else{g=0;k=0;e=0}if(k|e?(c[p>>2]|0)!=85:0){if(f|0)dq(b,3253,D,x,m);c[Y>>2]=t;if(u){ia=110;break}if((t|0)>(c[o>>2]|0))c[o>>2]=t;if(wq(b,d,p,x)|0){ia=129;break}bq(b,156,v,lq(b,2)|0);bq(b,k?2232:2231,D,x);f=0}else ia=115;e:do if((ia|0)==115){ia=0;f:do if(g){switch(c[p>>2]|0){case 50:case 57:break;default:break f}wq(b,d,q,n)|0;uq(b,d,c[r>>2]|0);X=n+1|0;oq(b,d,X);X=pq(b,w,X,0)|0;c[d>>2]=1;c[y>>2]=2;c[z>>2]=X;f=f+1|0;break e}while(0);g:do switch(i|0){case 99:case 100:case 1:{if((c[p>>2]|0)!=53)if((i|0)==51){ia=124;break g}else{ia=125;break g}if(wq(b,d,q,n)|0){ia=129;break d}bq(b,156,n+1|0,lq(b,20)|0);f=f+1|0;break e}case 51:{ia=124;break}default:ia=125}while(0);if((ia|0)==124){ia=0;c[Y>>2]=n;nq(b,d,4);oq(b,d,n);X=pq(b,w,n,0)|0;c[d>>2]=1;c[y>>2]=2;c[z>>2]=X;Mp(b,52)}else if((ia|0)==125?(ia=0,wq(b,d,q,n)|0):0){ia=129;break d}Mp(b,85);X=n+1|0;c[Y>>2]=X;nq(b,d,6);oq(b,d,X);X=pq(b,w,X,0)|0;c[d>>2]=1;c[y>>2]=2;c[z>>2]=X;f=f+1|0}while(0);g=c[p>>2]|0;if((g|0)==50){ia=127;break}else i=1}if((ia|0)==100)Jn(c[b>>2]|0,269408,50333568,270177);else if((ia|0)==110)Jn(c[b>>2]|0,269408,50333568,270177);else if((ia|0)==127){if(!f){A=z;B=y;break}dq(b,3253,D,x,f<<1);A=z;B=y;break}else if((ia|0)==129)Jn(C,269408,83889284,270634)}else{A=d+12|0;B=d+8|0}while(0);c[Y>>2]=x;Mp(b,-1);c[d>>2]=1;c[B>>2]=2;c[A>>2]=D;break}case 53:{X=b+1080|0;c[X>>2]=(c[X>>2]|0)+1;W=b+1088|0;V=c[W>>2]|0;c[W>>2]=1;nq(b,d,4);Mp(b,54);c[W>>2]=V;c[X>>2]=(c[X>>2]|0)+-1;break}case 17:{f=D+1|0;c[Y>>2]=f;if((D|0)>65534)Jn(C,269408,50333568,270177);k=b+1056|0;if((D|0)>=(c[k>>2]|0))c[k>>2]=f;nq(b,d,36);oq(b,d,D);e=d+8|0;X=pq(b,e,D,0)|0;c[d>>2]=1;m=d+8|0;c[m>>2]=2;n=d+12|0;c[n>>2]=X;c[Y>>2]=f;if((c[ba>>2]|0)==53){Mp(b,-1);h:do if((c[ba>>2]|0)==54)o=0;else{f=0;while(1){if((f|0)>0)Mp(b,57);g=c[Y>>2]|0;i=g+1|0;c[Y>>2]=i;if((g|0)>65534)break;if((g|0)>=(c[k>>2]|0))c[k>>2]=i;c[Y>>2]=g;nq(b,d,6);oq(b,d,g);X=pq(b,e,g,0)|0;c[d>>2]=1;c[m>>2]=2;c[n>>2]=X;c[Y>>2]=i;f=f+1|0;if((c[ba>>2]|0)==54){o=f;break h}}Jn(c[b>>2]|0,269408,50333568,270177)}while(0);Mp(b,54);f=o}else f=0;bq(b,434,f,D);c[d>>2]=1;c[m>>2]=2;c[n>>2]=D;break}case 13:{g=D+1|0;c[Y>>2]=g;if((D|0)>65534)Jn(C,269408,50333568,270177);f=b+1056|0;if((D|0)>=(c[f>>2]|0))c[f>>2]=g;bq(b,156,D,lq(b,0)|0);c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=D;break}case 8:{nq(b,d,30);switch(c[d>>2]|0){case 4:{if(a[b+1126>>0]|0)Jn(C,269408,83889572,270590);f=D+1|0;c[Y>>2]=f;if((D|0)>65534)Jn(c[b>>2]|0,269408,50333568,270177);g=b+1056|0;if((D|0)>=(c[g>>2]|0))c[g>>2]=f;g=d+16|0;i=c[g>>2]|0;o=C+76|0;k=c[o>>2]|0;m=C+68|0;if(k>>>0>=(c[m>>2]|0)>>>0)Sn(C,935);n=C+72|0;e=c[n>>2]|0;X=k-e>>4;f=((i|0)<0?X:0)+i|0;if(f>>>0>=X>>>0)$n(C,342,i);X=e+(f<<4)|0;c[o>>2]=k+16;c[k>>2]=c[X>>2];c[k+4>>2]=c[X+4>>2];c[k+8>>2]=c[X+8>>2];c[k+12>>2]=c[X+12>>2];if(c[k>>2]&8|0){X=(c[k+8>>2]|0)+4|0;c[X>>2]=(c[X>>2]|0)+1}if(!(rq(b,da,ea)|0)){i=c[g>>2]|0;k=c[o>>2]|0;if(k>>>0>=(c[m>>2]|0)>>>0)Sn(C,935);g=c[n>>2]|0;X=k-g>>4;f=((i|0)<0?X:0)+i|0;if(f>>>0>=X>>>0)$n(C,342,i);X=g+(f<<4)|0;c[o>>2]=k+16;c[k>>2]=c[X>>2];c[k+4>>2]=c[X+4>>2];c[k+8>>2]=c[X+8>>2];c[k+12>>2]=c[X+12>>2];if(c[k>>2]&8|0){X=(c[k+8>>2]|0)+4|0;c[X>>2]=(c[X>>2]|0)+1}X=cq(b)|0;c[ea>>2]=X;bq(b,159,D,X)}else bq(b,9,0,D);c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=D;break a}case 3:{f=D+1|0;c[Y>>2]=f;if((D|0)>65534)Jn(c[b>>2]|0,269408,50333568,270177);g=b+1056|0;if((D|0)>=(c[g>>2]|0))c[g>>2]=f;dq(b,16500,D,pq(b,d+8|0,-1,0)|0,pq(b,d+20|0,-1,1)|0);c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=D;break a}default:{f=C+76|0;g=c[f>>2]|0;if(g>>>0<(c[C+68>>2]|0)>>>0){c[f>>2]=g+16;c[g>>2]=4;c[g+8>>2]=1;ia=251;break a}else Sn(C,3811)}}break}case 26:{nq(b,d,30);f=c[Y>>2]|0;oq(b,d,-1);c[Y>>2]=f;f=C+76|0;g=c[f>>2]|0;if(g>>>0<(c[C+68>>2]|0)>>>0){c[f>>2]=g+16;ia=251;break a}else Sn(C,3772);break}case 23:{nq(b,d,30);if((c[d>>2]|0)==4){g=c[d+16>>2]|0;i=C+76|0;k=c[i>>2]|0;if(k>>>0>=(c[C+68>>2]|0)>>>0)Sn(C,935);e=c[C+72>>2]|0;X=k-e>>4;f=((g|0)<0?X:0)+g|0;if(f>>>0>=X>>>0)$n(C,342,g);X=e+(f<<4)|0;c[i>>2]=k+16;c[k>>2]=c[X>>2];c[k+4>>2]=c[X+4>>2];c[k+8>>2]=c[X+8>>2];c[k+12>>2]=c[X+12>>2];if(c[k>>2]&8|0){X=(c[k+8>>2]|0)+4|0;c[X>>2]=(c[X>>2]|0)+1}if(rq(b,da,ea)|0){k=14;ia=218;break a}f=c[Y>>2]|0;g=f+1|0;c[Y>>2]=g;if((f|0)>65534)Jn(c[b>>2]|0,269408,50333568,270177);i=b+1056|0;if((f|0)>=(c[i>>2]|0))c[i>>2]=g;bq(b,15,f,c[ea>>2]|0);c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=f}else{k=14;ia=218}break}case 72:{f=32888;ia=224;break}case 73:{f=33913;ia=224;break}case 66:{nq(b,d,30);if(!(((c[d>>2]|0)==1?(c[d+8>>2]|0)==1:0)?(X=c[d+16>>2]|0,W=c[C+72>>2]|0,V=(c[C+76>>2]|0)-W>>4,X=((X|0)<0?V:0)+X|0,X=X>>>0>>0?W+(X<<4)|0:0,!(c[((X|0)==0?944:X)>>2]|0)):0)){k=13;ia=218}break}case 67:{nq(b,d,30);if(((c[d>>2]|0)==1?(c[d+8>>2]|0)==1:0)?(m=c[d+16>>2]|0,n=c[C+72>>2]|0,W=(c[C+76>>2]|0)-n>>4,X=((m|0)<0?W:0)+m|0,X=X>>>0>>0?n+(X<<4)|0:0,(c[((X|0)==0?944:X)>>2]|0)==0):0){X=n+(m<<4)+8|0;j=-+h[X>>3];c[n+(m<<4)>>2]=0;h[X>>3]=j}else{k=12;ia=218}break}case 81:{nq(b,d,30);k=10;ia=218;break}case 80:{nq(b,d,30);if((c[d>>2]|0)==1?(c[d+8>>2]|0)==1:0){f=c[C+72>>2]|0;g=c[d+16>>2]|0;i=f+(g<<4)|0;switch(c[i>>2]|0){case 0:break;case 4:{X=f+(g<<4)+8|0;W=c[X>>2]|0;c[i>>2]=4;c[X>>2]=W^1;break a}default:{k=11;ia=218;break a}}g=f+(g<<4)+8|0;j=+h[g>>3];if(!(j==0.0))if(j==1.0)f=0;else{k=11;ia=218;break a}else f=1;c[i>>2]=4;c[g>>2]=f}else{k=11;ia=218}break}default:Jn(C,269408,83889736,269598)}while(0);if((ia|0)==218){oq(b,d,-1);e=pq(b,d+8|0,-1,0)|0;c[d>>2]=1;m=d+8|0;c[m>>2]=2;n=d+12|0;c[n>>2]=e;if((e|0)<(c[b+1048>>2]|0)){f=c[Y>>2]|0;g=f+1|0;c[Y>>2]=g;if((f|0)>65534)Jn(c[b>>2]|0,269408,50333568,270177);i=b+1056|0;if((f|0)>=(c[i>>2]|0))c[i>>2]=g}else f=e;bq(b,k,f,e);c[d>>2]=1;c[m>>2]=2;c[n>>2]=f}else if((ia|0)==224){m=f&121;f=f>>>8;n=D+1|0;c[Y>>2]=n;if((D|0)>65534)Jn(C,269408,50333568,270177);g=b+1056|0;if((D|0)>=(c[g>>2]|0))c[g>>2]=n;nq(b,d,30);switch(c[d>>2]|0){case 4:{i=c[d+16>>2]|0;k=C+76|0;f=C+72|0;if(a[b+1126>>0]|0?c[c[(c[((i|0)<0?k:f)>>2]|0)+(i<<4)+8>>2]>>2]&8192|0:0)Jn(C,269408,83889839,270615);e=c[k>>2]|0;if(e>>>0>=(c[C+68>>2]|0)>>>0)Sn(C,935);g=c[f>>2]|0;X=e-g>>4;f=((i|0)<0?X:0)+i|0;if(f>>>0>=X>>>0)$n(C,342,i);X=g+(f<<4)|0;c[k>>2]=e+16;c[e>>2]=c[X>>2];c[e+4>>2]=c[X+4>>2];c[e+8>>2]=c[X+8>>2];c[e+12>>2]=c[X+12>>2];if(c[e>>2]&8|0){X=(c[e+8>>2]|0)+4|0;c[X>>2]=(c[X>>2]|0)+1}if(!(rq(b,da,ea)|0))bq(b,m|4,D,c[ea>>2]|0);else bq(b,m,D,c[da>>2]|0);break}case 3:{dq(b,f|16384,D,pq(b,d+8|0,-1,0)|0,pq(b,d+20|0,-1,1)|0);break}default:{oq(b,d,D);e=pq(b,d+8|0,D,0)|0;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=e;bq(b,13,0,D);e=b+980|0;m=b+972|0;f=c[m>>2]|0;g=f;do if(((c[e>>2]|0)-g|0)>>>0<=7){i=c[b>>2]|0;k=b+976|0;f=g-(c[k>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0)Jn(i,269610,50331716,268447);else{X=b+984|0;Kn(i,c[X>>2]|0,g);X=c[(c[X>>2]|0)+20>>2]|0;p=X+f|0;c[m>>2]=p;c[k>>2]=X;c[e>>2]=X+g;break}}else p=f;while(0);g=p+8|0;c[m>>2]=g;f=c[b+876>>2]|0;if(!f)f=c[b+924>>2]|0;c[p>>2]=190;c[p+4>>2]=f;if((f|0)>2147418112?1:(g-(c[b+976>>2]|0)|0)>>>0>2147418112)Jn(c[b>>2]|0,269408,50332823,270225)}}c[Y>>2]=n;c[d>>2]=1;c[d+8>>2]=2;c[d+12>>2]=D}else if((ia|0)==251)tq(c[b>>2]|0,d);w=b+1088|0;x=b+1076|0;y=b+900|0;t=d+8|0;u=d+12|0;v=d+16|0;z=fa+8|0;A=fa+12|0;B=b+912|0;C=fa+20|0;D=b+1136|0;E=fa+4|0;F=d+4|0;G=d+20|0;H=fa+24|0;I=d+24|0;J=d+28|0;K=d+8|0;L=fa+8|0;M=b+1056|0;N=b+1130|0;O=b+972|0;P=b+980|0;Q=b+876|0;R=b+924|0;S=b+976|0;T=b+984|0;s=b+1126|0;U=d+20|0;V=b+1048|0;W=b+972|0;X=b+932|0;i:while(1){f=c[ba>>2]|0;if((f|0)==15)if(!(c[w>>2]|0))f=0;else ia=257;else if((f|1|0)==73?(c[X>>2]|0)!=0:0)f=0;else ia=257;if((ia|0)==257){ia=0;f=a[269496+f>>0]<<1&62}if(ca>>>0>=f>>>0){ia=459;break}Mp(b,-1);r=c[b>>2]|0;f=c[x>>2]|0;c[x>>2]=f+1;do switch(c[_>>2]|0){case 55:{oq(b,d,-1);if((c[y>>2]|0)!=1){ia=261;break i}c[fa>>2]=3;m=c[b>>2]|0;g=c[u>>2]|0;f=c[v>>2]|0;c[z>>2]=c[t>>2];c[A>>2]=g;Up(m,f,c[$>>2]|0);f=c[B>>2]|0;m=r+76|0;g=c[m>>2]|0;if(g>>>0>=(c[r+68>>2]|0)>>>0){ia=263;break i}c[m>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;g=f+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[aa>>2]|0;i=c[r+72>>2]|0;k=(c[m>>2]|0)-i>>4;if(!k){ia=265;break i}e=i+(k+-1<<4)|0;f=((g|0)<0?k:0)+g|0;if(f>>>0>=k>>>0){ia=267;break i}p=i+(f<<4)|0;q=c[p>>2]|0;f=c[i+(f<<4)+8>>2]|0;c[p>>2]=c[e>>2];c[p+4>>2]=c[e+4>>2];c[p+8>>2]=c[e+8>>2];c[p+12>>2]=c[e+12>>2];c[e>>2]=2;c[m>>2]=(c[m>>2]|0)+-16;if(q&8|0?(p=f+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)go(c[r+44>>2]|0,f);c[C>>2]=1;a[D>>0]=1;Mp(b,-1);break}case 51:{oq(b,d,-1);p=pq(b,K,-1,3)|0;c[d>>2]=1;c[t>>2]=2;c[u>>2]=p;nq(b,fa,4);oq(b,fa,-1);Mp(b,52);c[fa>>2]=3;p=c[b>>2]|0;r=c[A>>2]|0;q=c[$>>2]|0;c[C>>2]=c[L>>2];c[H>>2]=r;Up(p,q,c[aa>>2]|0);q=c[b>>2]|0;p=c[u>>2]|0;r=c[v>>2]|0;c[L>>2]=c[K>>2];c[A>>2]=p;Up(q,r,c[$>>2]|0);break}case 53:{p=c[Y>>2]|0;i=p+2|0;c[Y>>2]=i;if((i|0)>65535){ia=274;break i}if((i|0)>(c[M>>2]|0))c[M>>2]=i;switch(c[d>>2]|0){case 4:{m=c[v>>2]|0;g=(m|0)<0;n=r+76|0;f=r+72|0;if((c[(c[(g?n:f)>>2]|0)+(m<<4)+8>>2]|0)==(c[(c[r+428>>2]|0)+132>>2]|0)){a[N>>0]=1;k=175}else k=176;o=c[n>>2]|0;if(o>>>0>=(c[r+68>>2]|0)>>>0){ia=281;break i}e=c[f>>2]|0;q=o-e>>4;f=(g?q:0)+m|0;if(f>>>0>=q>>>0){ia=283;break i}r=e+(f<<4)|0;c[n>>2]=o+16;c[o>>2]=c[r>>2];c[o+4>>2]=c[r+4>>2];c[o+8>>2]=c[r+8>>2];c[o+12>>2]=c[r+12>>2];if(c[o>>2]&8|0){r=(c[o+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}if(!(rq(b,da,ea)|0))dq(b,16536,p,c[ea>>2]|0,0);else bq(b,2222,c[da>>2]|0,p);break}case 3:{pq(b,K,p+1|0,0)|0;oq(b,d,p);k=pq(b,K,p,0)|0;c[d>>2]=1;c[t>>2]=2;c[u>>2]=k;k=176;break}default:{oq(b,d,p);k=pq(b,K,p,0)|0;c[d>>2]=1;c[t>>2]=2;c[u>>2]=k;bq(b,2222,p,p);k=176}}c[Y>>2]=i;if((c[ba>>2]|0)==54)f=0;else{f=0;do{if((f|0)>0){Mp(b,57);g=c[Y>>2]|0}else g=i;i=g+1|0;c[Y>>2]=i;if((g|0)>65534){ia=296;break i}if((g|0)>=(c[M>>2]|0))c[M>>2]=i;c[Y>>2]=g;nq(b,fa,6);oq(b,fa,g);r=pq(b,L,g,0)|0;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=r;c[Y>>2]=i;f=f+1|0}while((c[ba>>2]|0)!=54)}Mp(b,54);bq(b,k|256,f,p);c[Y>>2]=p+1;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=p;break}case 72:{f=8944128;ia=429;break}case 73:{f=9206528;ia=429;break}case 71:{f=18463;ia=359;break}case 68:{f=15390;ia=359;break}case 69:{f=16414;ia=359;break}case 70:{f=17438;ia=359;break}case 66:{f=13340;ia=359;break}case 67:{f=14364;ia=359;break}case 74:{f=22554;ia=359;break}case 75:{f=24602;ia=359;break}case 76:{f=23578;ia=359;break}case 58:{f=10264;ia=359;break}case 59:{f=8216;ia=359;break}case 60:{f=11288;ia=359;break}case 61:{f=9240;ia=359;break}case 16:{f=25624;ia=359;break}case 15:{f=26648;ia=359;break}case 62:{f=4118;ia=359;break}case 63:{f=5142;ia=359;break}case 64:{f=6166;ia=359;break}case 65:{f=7190;ia=359;break}case 77:{f=19476;ia=359;break}case 79:{f=21522;ia=359;break}case 78:{f=20496;ia=359;break}case 82:{f=269;ia=360;break}case 83:{f=11;ia=360;break}case 84:{n=c[Y>>2]|0;o=n+1|0;c[Y>>2]=o;if((n|0)>65534){ia=325;break i}if((n|0)>=(c[M>>2]|0))c[M>>2]=o;oq(b,d,n);f=pq(b,K,n,0)|0;c[d>>2]=1;c[t>>2]=2;c[u>>2]=f;bq(b,n>>>31|48,0,n);f=c[O>>2]|0;g=c[S>>2]|0;i=f-g|0;m=i>>>3;if(((c[P>>2]|0)-f|0)>>>0>7)k=g;else{f=c[b>>2]|0;g=i+72+(i>>>4)|0;if(g>>>0>>0){ia=330;break i}Kn(f,c[T>>2]|0,g);k=c[(c[T>>2]|0)+20>>2]|0;f=k+i|0;c[O>>2]=f;c[S>>2]=k;c[P>>2]=k+g}i=f+8|0;c[O>>2]=i;g=c[Q>>2]|0;if(!g)g=c[R>>2]|0;c[f>>2]=160;c[f+4>>2]=g;if((g|0)>2147418112|(i-k|0)>>>0>2147418112){ia=335;break i}nq(b,fa,6);oq(b,fa,n);f=pq(b,L,n,0)|0;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=f;Mp(b,85);f=c[O>>2]|0;g=c[S>>2]|0;i=f-g|0;e=i>>>3;if(((c[P>>2]|0)-f|0)>>>0<=7){f=c[b>>2]|0;g=i+72+(i>>>4)|0;if(g>>>0>>0){ia=338;break i}Kn(f,c[T>>2]|0,g);r=c[(c[T>>2]|0)+20>>2]|0;f=r+i|0;c[O>>2]=f;c[S>>2]=r;c[P>>2]=r+g;g=r}k=f+8|0;c[O>>2]=k;i=c[Q>>2]|0;if(!i)i=c[R>>2]|0;c[f>>2]=160;c[f+4>>2]=i;f=k-g|0;if((i|0)>2147418112|f>>>0>2147418112){ia=343;break i}c[g+(m<<3)>>2]=((f>>>3)-m<<8)+2147483392|160;nq(b,fa,6);oq(b,fa,n);pq(b,L,n,0)|0;r=c[S>>2]|0;c[r+(e<<3)>>2]=((((c[O>>2]|0)-r|0)>>>3)-e<<8)+2147483392|160;c[Y>>2]=o;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=n;break}case 86:{q=256;ia=373;break}case 87:{q=52;ia=373;break}case 88:{q=56;ia=373;break}case 89:{q=60;ia=373;break}case 90:{q=64;ia=373;break}case 91:{q=68;ia=373;break}case 92:{q=72;ia=373;break}case 93:{q=88;ia=373;break}case 94:{q=96;ia=373;break}case 95:{q=92;ia=373;break}case 96:{q=76;ia=373;break}case 97:{q=80;ia=373;break}case 98:{q=84;ia=373;break}case 57:{r=c[Y>>2]|0;oq(b,d,-1);c[Y>>2]=r;nq(b,fa,5);oq(b,fa,-1);break}default:{ia=358;break i}}while(0);j:do if((ia|0)==359){ia=0;oq(b,d,-1);nq(b,fa,f&31);oq(b,fa,-1);c[fa>>2]=2;c[E>>2]=f>>>8;c[C>>2]=c[z>>2];c[H>>2]=c[A>>2];Up(r,c[$>>2]|0,c[aa>>2]|0);c[z>>2]=c[t>>2];c[A>>2]=c[u>>2];Up(r,c[v>>2]|0,c[$>>2]|0)}else if((ia|0)==360){ia=0;m=f&15;n=c[Y>>2]|0;g=n+1|0;c[Y>>2]=g;if((n|0)>65534){ia=361;break i}if((n|0)>=(c[M>>2]|0))c[M>>2]=g;oq(b,d,n);g=pq(b,K,n,0)|0;c[d>>2]=1;c[t>>2]=2;c[u>>2]=g;bq(b,f>>>7^50,0,n);f=c[O>>2]|0;g=c[S>>2]|0;i=f-g|0;e=i>>>3;if(((c[P>>2]|0)-f|0)>>>0>7)k=g;else{f=c[b>>2]|0;g=i+72+(i>>>4)|0;if(g>>>0>>0){ia=366;break i}Kn(f,c[T>>2]|0,g);k=c[(c[T>>2]|0)+20>>2]|0;f=k+i|0;c[O>>2]=f;c[S>>2]=k;c[P>>2]=k+g}i=f+8|0;c[O>>2]=i;g=c[Q>>2]|0;if(!g)g=c[R>>2]|0;c[f>>2]=160;c[f+4>>2]=g;if((g|0)>2147418112|(i-k|0)>>>0>2147418112){ia=371;break i}nq(b,fa,m);oq(b,fa,n);pq(b,L,n,0)|0;r=c[S>>2]|0;c[r+(e<<3)>>2]=((((c[O>>2]|0)-r|0)>>>3)-e<<8)+2147483392|160;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=n}else if((ia|0)==373){ia=0;p=(c[Z>>2]|0)==1&(f|0)==0;switch(c[d>>2]|0){case 4:{i=c[v>>2]|0;k=r+76|0;f=r+72|0;if(a[s>>0]|0?c[c[(c[((i|0)<0?k:f)>>2]|0)+(i<<4)+8>>2]>>2]&8192|0:0){ia=457;break i}e=c[k>>2]|0;if(e>>>0>=(c[r+68>>2]|0)>>>0){ia=377;break i}g=c[f>>2]|0;o=e-g>>4;f=((i|0)<0?o:0)+i|0;if(f>>>0>=o>>>0){ia=379;break i}r=g+(f<<4)|0;c[k>>2]=e+16;c[e>>2]=c[r>>2];c[e+4>>2]=c[r+4>>2];c[e+8>>2]=c[r+8>>2];c[e+12>>2]=c[r+12>>2];if(c[e>>2]&8|0){r=(c[e+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}rq(b,da,ea)|0;do if((q|0)==256){nq(b,fa,7);if(!p){if((c[fa>>2]|0)==1){if((c[z>>2]|0)!=2)break;f=c[A>>2]|0;if((f|0)<=-1)break;if((f|0)>=(c[V>>2]|0))break}oq(b,fa,-1);r=pq(b,L,-1,3)|0;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=r}}else{k=c[Y>>2]|0;f=k+1|0;c[Y>>2]=f;if((k|0)>65534){ia=390;break i}g=c[M>>2]|0;if((k|0)>=(g|0)){c[M>>2]=f;g=f}o=c[da>>2]|0;if((o|0)<=-1){bq(b,157,k,c[ea>>2]|0);nq(b,fa,7);oq(b,fa,-1);r=pq(b,L,-1,1)|0;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=r;dq(b,q|16384,k,k,r);c[A>>2]=k;break}do if(p){f=k;k=o}else{i=k+2|0;c[Y>>2]=i;if((k|0)>65533){ia=396;break i}if((f|0)<(g|0))break;c[M>>2]=i}while(0);g=c[O>>2]|0;i=c[S>>2]|0;bq(b,0,f,o);e=((c[O>>2]|0)-(c[S>>2]|0)|0)>>>3;nq(b,fa,7);oq(b,fa,-1);n=pq(b,L,-1,1)|0;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=n;m=c[O>>2]|0;if(((m-(c[S>>2]|0)|0)>>>3|0)==(e|0)){c[W>>2]=m+(g-i-(e<<3)&-8);f=o}dq(b,q|16384,k,f,n);c[A>>2]=k;if((k|0)<(c[V>>2]|0))break;c[Y>>2]=k+1}while(0);f=c[da>>2]|0;do if((f|0)>-1){if((c[fa>>2]|0)==1){r=c[b>>2]|0;c[d>>2]=1;c[F>>2]=c[E>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[A>>2]=k;f=c[O>>2]|0;g=f;if(((c[P>>2]|0)-g|0)>>>0<=7){i=c[b>>2]|0;f=g-(c[S>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0){ia=422;break i}Kn(i,c[T>>2]|0,g);r=c[(c[T>>2]|0)+20>>2]|0;f=r+f|0;c[O>>2]=f;c[S>>2]=r;c[P>>2]=r+g}i=f+8|0;c[O>>2]=i;g=c[Q>>2]|0;if(!g)g=c[R>>2]|0;c[f>>2]=190;c[f+4>>2]=g;if((g|0)>2147418112?1:(i-(c[S>>2]|0)|0)>>>0>2147418112){ia=427;break i}c[fa>>2]=1;c[z>>2]=2;c[A>>2]=k;break j}}}else if((ia|0)==429){ia=0;m=f>>>8&123;f=f>>>16;n=c[Y>>2]|0;o=n+1|0;c[Y>>2]=o;if((n|0)>65534){ia=430;break i}if((n|0)>=(c[M>>2]|0))c[M>>2]=o;switch(c[d>>2]|0){case 4:{i=c[v>>2]|0;k=r+76|0;f=r+72|0;if(a[s>>0]|0?c[c[(c[((i|0)<0?k:f)>>2]|0)+(i<<4)+8>>2]>>2]&8192|0:0){ia=456;break i}e=c[k>>2]|0;if(e>>>0>=(c[r+68>>2]|0)>>>0){ia=437;break i}g=c[f>>2]|0;q=e-g>>4;f=((i|0)<0?q:0)+i|0;if(f>>>0>=q>>>0){ia=439;break i}r=g+(f<<4)|0;c[k>>2]=e+16;c[e>>2]=c[r>>2];c[e+4>>2]=c[r+4>>2];c[e+8>>2]=c[r+8>>2];c[e+12>>2]=c[r+12>>2];if(c[e>>2]&8|0){r=(c[e+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}if(!(rq(b,da,ea)|0))bq(b,m|4,n,c[ea>>2]|0);else bq(b,m,n,c[da>>2]|0);break}case 3:{dq(b,f|16384,n,pq(b,K,-1,0)|0,pq(b,U,-1,1)|0);break}default:{oq(b,d,n);f=pq(b,K,n,0)|0;c[d>>2]=1;c[t>>2]=2;c[u>>2]=f;bq(b,13,0,n);f=c[O>>2]|0;g=f;if(((c[P>>2]|0)-g|0)>>>0<=7){i=c[b>>2]|0;f=g-(c[S>>2]|0)|0;g=f+72+(f>>>4)|0;if(g>>>0>>0){ia=449;break i}Kn(i,c[T>>2]|0,g);r=c[(c[T>>2]|0)+20>>2]|0;f=r+f|0;c[O>>2]=f;c[S>>2]=r;c[P>>2]=r+g}i=f+8|0;c[O>>2]=i;g=c[Q>>2]|0;if(!g)g=c[R>>2]|0;c[f>>2]=190;c[f+4>>2]=g;if((g|0)>2147418112?1:(i-(c[S>>2]|0)|0)>>>0>2147418112){ia=454;break i}}}c[Y>>2]=o;c[fa>>2]=1;c[z>>2]=2;c[A>>2]=n}while(0);r=c[b>>2]|0;c[d>>2]=c[fa>>2];c[F>>2]=c[E>>2];c[t>>2]=c[z>>2];c[u>>2]=c[A>>2];c[G>>2]=c[C>>2];c[I>>2]=c[H>>2];Up(r,c[$>>2]|0,c[v>>2]|0);Up(r,c[aa>>2]|0,c[J>>2]|0)}switch(ia|0){case 261:{Jn(r,269408,83889894,269476);break}case 263:{Sn(r,3761);break}case 265:{$n(r,342,-1);break}case 267:{$n(r,342,g);break}case 274:{Jn(r,269408,50333568,270177);break}case 281:{Sn(r,935);break}case 283:{$n(r,342,m);break}case 296:{Jn(c[b>>2]|0,269408,50333568,270177);break}case 325:{Jn(r,269408,50333568,270177);break}case 330:{Jn(f,269610,50331716,268447);break}case 335:{Jn(c[b>>2]|0,269408,50332823,270225);break}case 338:{Jn(f,269610,50331716,268447);break}case 343:{Jn(c[b>>2]|0,269408,50332823,270225);break}case 358:{Jn(r,269408,83890296,269598);break}case 361:{Jn(r,269408,50333568,270177);break}case 366:{Jn(f,269610,50331716,268447);break}case 371:{Jn(c[b>>2]|0,269408,50332823,270225);break}case 377:{Sn(r,935);break}case 379:{$n(r,342,i);break}case 390:{Jn(c[b>>2]|0,269408,50333568,270177);break}case 396:{Jn(c[b>>2]|0,269408,50333568,270177);break}case 415:{Jn(c[b>>2]|0,269408,50333568,270177);break}case 422:{Jn(i,269610,50331716,268447);break}case 427:{Jn(c[b>>2]|0,269408,50332823,270225);break}case 430:{Jn(r,269408,50333568,270177);break}case 437:{Sn(r,935);break}case 439:{$n(r,342,i);break}case 449:{Jn(i,269610,50331716,268447);break}case 454:{Jn(c[b>>2]|0,269408,50332823,270225);break}case 456:{Jn(r,269408,83890787,270615);break}case 457:{Jn(r,269408,83890791,269178);break}case 459:{iq(ga);ia=c[ha>>2]|0;ia=ia+-1|0;c[ha>>2]=ia;l=ja;return}}}function oq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,i=0,j=0,k=0.0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;u=l;l=l+16|0;n=u+4|0;o=u;t=c[a>>2]|0;switch(c[b>>2]|0){case 2:{j=b+8|0;a:do if((c[j>>2]|0)==1?(c[b+20>>2]|0)==1:0){r=t+72|0;p=c[r>>2]|0;q=b+16|0;m=c[q>>2]|0;n=b+28|0;i=c[n>>2]|0;f=p+(i<<4)|0;o=p+(m<<4)|0;g=c[o>>2]|0;if(!g){if(c[f>>2]|0)break;f=p+(m<<4)+8|0;k=+h[f>>3];e=+h[p+(i<<4)+8>>3];t=(c[b+4>>2]|0)+-52|0;switch(t>>>2|t<<30|0){case 0:{e=k+e;break}case 1:{e=k-e;break}case 2:{e=k*e;break}case 3:{e=k/e;break}case 5:{a=XO(e)|0;if((a|0)!=0?!((a|0)==1&+B(+k)==1.0):0)e=+D(+k,+e);else e=s;break}default:break a}c[b>>2]=1;c[o>>2]=0;h[f>>3]=e;l=u;return}if(((g|0)==8?(c[b+4>>2]|0)==52:0)?(c[f>>2]|0)==8:0){o=t+76|0;f=c[o>>2]|0;j=t+68|0;if(f>>>0>=(c[j>>2]|0)>>>0)Sn(t,935);a=f-p>>4;d=((m|0)<0?a:0)+m|0;if(d>>>0>=a>>>0)$n(t,342,m);a=p+(d<<4)|0;c[o>>2]=f+16;c[f>>2]=c[a>>2];c[f+4>>2]=c[a+4>>2];c[f+8>>2]=c[a+8>>2];c[f+12>>2]=c[a+12>>2];if(c[f>>2]&8|0){a=(c[f+8>>2]|0)+4|0;c[a>>2]=(c[a>>2]|0)+1}g=c[n>>2]|0;i=c[o>>2]|0;if(i>>>0>=(c[j>>2]|0)>>>0)Sn(t,935);f=c[r>>2]|0;a=i-f>>4;d=((g|0)<0?a:0)+g|0;if(d>>>0>=a>>>0)$n(t,342,g);a=f+(d<<4)|0;c[o>>2]=i+16;c[i>>2]=c[a>>2];c[i+4>>2]=c[a+4>>2];c[i+8>>2]=c[a+8>>2];c[i+12>>2]=c[a+12>>2];if(c[i>>2]&8|0){a=(c[i+8>>2]|0)+4|0;c[a>>2]=(c[a>>2]|0)+1}Io(t,2,0);j=c[q>>2]|0;g=c[r>>2]|0;f=(c[o>>2]|0)-g>>4;if(!f)$n(t,342,-1);i=g+(f+-1<<4)|0;d=((j|0)<0?f:0)+j|0;if(d>>>0>=f>>>0)$n(t,342,j);r=g+(d<<4)|0;a=c[r>>2]|0;d=c[g+(d<<4)+8>>2]|0;c[r>>2]=c[i>>2];c[r+4>>2]=c[i+4>>2];c[r+8>>2]=c[i+8>>2];c[r+12>>2]=c[i+12>>2];c[i>>2]=2;c[o>>2]=(c[o>>2]|0)+-16;if(a&8|0?(r=d+4|0,a=(c[r>>2]|0)+-1|0,c[r>>2]=a,(a|0)==0):0)go(c[t+44>>2]|0,d);c[b>>2]=1;l=u;return}}while(0);i=pq(a,j,-1,5)|0;j=pq(a,b+20|0,-1,5)|0;if((d|0)<=-1){d=c[a+1048>>2]|0;if((i|0)<(d|0))if((j|0)<(d|0)){t=a+1052|0;d=c[t>>2]|0;f=d+1|0;c[t>>2]=f;if((d|0)>65534)Jn(c[a>>2]|0,269408,50333568,270177);g=a+1056|0;if((d|0)>=(c[g>>2]|0))c[g>>2]=f}else d=j;else d=i}dq(a,c[b+4>>2]|16384,d,i,j);c[b>>2]=1;c[b+8>>2]=2;c[b+12>>2]=d;l=u;return}case 3:{i=pq(a,b+8|0,-1,5)|0;j=pq(a,b+20|0,-1,5)|0;if((d|0)<=-1){d=c[a+1048>>2]|0;if((i|0)<(d|0))if((j|0)<(d|0)){t=a+1052|0;d=c[t>>2]|0;f=d+1|0;c[t>>2]=f;if((d|0)>65534)Jn(c[a>>2]|0,269408,50333568,270177);g=a+1056|0;if((d|0)>=(c[g>>2]|0))c[g>>2]=f}else d=j;else d=i}dq(a,16492,d,i,j);c[b>>2]=1;c[b+8>>2]=2;c[b+12>>2]=d;l=u;return}case 4:{g=c[b+16>>2]|0;i=t+76|0;j=c[i>>2]|0;if(j>>>0>=(c[t+68>>2]|0)>>>0)Sn(t,935);m=c[t+72>>2]|0;r=j-m>>4;f=((g|0)<0?r:0)+g|0;if(f>>>0>=r>>>0)$n(t,342,g);t=m+(f<<4)|0;c[i>>2]=j+16;c[j>>2]=c[t>>2];c[j+4>>2]=c[t+4>>2];c[j+8>>2]=c[t+8>>2];c[j+12>>2]=c[t+12>>2];if(c[j>>2]&8|0){t=(c[j+8>>2]|0)+4|0;c[t>>2]=(c[t>>2]|0)+1}if(!(rq(a,n,o)|0)){if((d|0)<=-1){t=a+1052|0;d=c[t>>2]|0;f=d+1|0;c[t>>2]=f;if((d|0)>65534)Jn(c[a>>2]|0,269408,50333568,270177);g=a+1056|0;if((d|0)>=(c[g>>2]|0))c[g>>2]=f}bq(a,157,d,c[o>>2]|0)}else d=c[n>>2]|0;c[b>>2]=1;c[b+8>>2]=2;c[b+12>>2]=d;l=u;return}case 1:{l=u;return}default:lo(t,269408,2391)}}function pq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0.0,k=0,l=0,m=0,n=0;m=c[a>>2]|0;switch(c[b>>2]|0){case 1:{l=c[m+72>>2]|0;k=c[b+8>>2]|0;switch(c[l+(k<<4)>>2]|0){case 2:{if((d|0)<=-1){l=a+1052|0;d=c[l>>2]|0;f=d+1|0;c[l>>2]=f;if((d|0)>65534)Jn(m,269408,50333568,270177);b=a+1056|0;if((d|0)>=(c[b>>2]|0))c[b>>2]=f}bq(a,6,0,d);a=d;return a|0}case 3:{if((d|0)<=-1){l=a+1052|0;d=c[l>>2]|0;f=d+1|0;c[l>>2]=f;if((d|0)>65534)Jn(m,269408,50333568,270177);b=a+1056|0;if((d|0)>=(c[b>>2]|0))c[b>>2]=f}bq(a,7,0,d);a=d;return a|0}case 4:{if((d|0)<=-1){e=a+1052|0;d=c[e>>2]|0;f=d+1|0;c[e>>2]=f;if((d|0)>65534)Jn(m,269408,50333568,270177);b=a+1056|0;if((d|0)>=(c[b>>2]|0))c[b>>2]=f}bq(a,c[l+(k<<4)+8>>2]|0?8:9,0,d);a=d;return a|0}case 8:{f=m+76|0;g=c[f>>2]|0;if(g>>>0>=(c[m+68>>2]|0)>>>0)Sn(m,935);n=g-l>>4;b=((k|0)<0?n:0)+k|0;if(b>>>0>=n>>>0)$n(m,342,k);n=l+(b<<4)|0;c[f>>2]=g+16;c[g>>2]=c[n>>2];c[g+4>>2]=c[n+4>>2];c[g+8>>2]=c[n+8>>2];c[g+12>>2]=c[n+12>>2];if(c[g>>2]&8|0){n=(c[g+8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}g=cq(a)|0;if(e&1|0){n=g;return n|0}if((d|0)<=-1){n=a+1052|0;d=c[n>>2]|0;b=d+1|0;c[n>>2]=b;if((d|0)>65534)Jn(c[a>>2]|0,269408,50333568,270177);f=a+1056|0;if((d|0)>=(c[f>>2]|0))c[f>>2]=b}bq(a,2,d,g);n=d;return n|0}default:{e=(e&1|0)!=0;if((!e?(i=+h[l+(k<<4)+8>>3],g=~~i,+(g|0)==i):0)?(h[j>>3]=i,n=c[j+4>>2]|0,(g|0)!=0|((n|0)>-1|(n|0)==-1&(c[j>>2]|0)>>>0>4294967295)):0){if((d|0)<=-1){n=a+1052|0;d=c[n>>2]|0;f=d+1|0;c[n>>2]=f;if((d|0)>65534)Jn(m,269408,50333568,270177);b=a+1056|0;if((d|0)>=(c[b>>2]|0))c[b>>2]=f}b=g+32768|0;if(b>>>0<65536){bq(a,3,d,b);n=d;return n|0}else{bq(a,3,d,(g>>16)+32768|0);bq(a,4,d,g&65535);n=d;return n|0}}f=m+76|0;g=c[f>>2]|0;if(g>>>0>=(c[m+68>>2]|0)>>>0)Sn(m,935);n=g-l>>4;b=((k|0)<0?n:0)+k|0;if(b>>>0>=n>>>0)$n(m,342,k);n=l+(b<<4)|0;c[f>>2]=g+16;c[g>>2]=c[n>>2];c[g+4>>2]=c[n+4>>2];c[g+8>>2]=c[n+8>>2];c[g+12>>2]=c[n+12>>2];if(c[g>>2]&8|0){n=(c[g+8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}g=cq(a)|0;if(e){n=g;return n|0}if((d|0)<=-1){n=a+1052|0;d=c[n>>2]|0;b=d+1|0;c[n>>2]=b;if((d|0)>65534)Jn(c[a>>2]|0,269408,50333568,270177);f=a+1056|0;if((d|0)>=(c[f>>2]|0))c[f>>2]=b}bq(a,2,d,g);n=d;return n|0}}}case 2:{g=c[b+4>>2]|0;b=(g|0)<0;if((d|0)>-1){if(b){bq(a,2,d,g);n=d;return n|0}if((g|0)==(d|0)){n=d;return n|0}bq(a,0,d,g);n=d;return n|0}if(b){if(e&1|0){n=g;return n|0}n=a+1052|0;b=c[n>>2]|0;f=b+1|0;c[n>>2]=f;if((b|0)>65534)Jn(m,269408,50333568,270177);d=a+1056|0;if((b|0)>=(c[d>>2]|0))c[d>>2]=f;bq(a,2,b,g);n=b;return n|0}if(!(e&2)){n=g;return n|0}if((g|0)>=(c[a+1048>>2]|0)){n=g;return n|0}n=a+1052|0;b=c[n>>2]|0;f=b+1|0;c[n>>2]=f;if((b|0)>65534)Jn(m,269408,50333568,270177);d=a+1056|0;if((b|0)>=(c[d>>2]|0))c[d>>2]=f;bq(a,0,b,g);n=b;return n|0}default:lo(m,269408,2192)}return 0}function qq(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;j=a+972|0;d=c[j>>2]|0;g=a+976|0;f=c[g>>2]|0;h=d-f|0;b=b-(h>>>3)+8388607|0;if(b>>>0>=16777216)Jn(c[a>>2]|0,269408,50333225,270188);i=b<<8|160;e=a+980|0;do if(((c[e>>2]|0)-d|0)>>>0<=7){b=c[a>>2]|0;d=h+72+(h>>>4)|0;if(d>>>0>>0)Jn(b,269610,50331716,268447);else{l=a+984|0;Kn(b,c[l>>2]|0,d);l=c[(c[l>>2]|0)+20>>2]|0;k=l+h|0;c[j>>2]=k;c[g>>2]=l;c[e>>2]=l+d;break}}else{k=d;l=f}while(0);d=k+8|0;c[j>>2]=d;b=c[a+876>>2]|0;if(!b)b=c[a+924>>2]|0;c[k>>2]=i;c[k+4>>2]=b;if((b|0)>2147418112|(d-l|0)>>>0>2147418112)Jn(c[a>>2]|0,269408,50332823,270225);else return}function rq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0;s=c[b>>2]|0;p=s+76|0;f=c[p>>2]|0;if(f>>>0>=(c[s+68>>2]|0)>>>0)Sn(s,955);q=s+72|0;if((f-(c[q>>2]|0)|0)<16)$n(s,958,-1);o=f+-16|0;c[p>>2]=f+16;c[f>>2]=c[o>>2];c[f+4>>2]=c[o+4>>2];c[f+8>>2]=c[o+8>>2];c[f+12>>2]=c[o+12>>2];if(c[f>>2]&8|0){o=(c[f+8>>2]|0)+4|0;c[o>>2]=(c[o>>2]|0)+1}o=c[b>>2]|0;m=o+76|0;f=c[m>>2]|0;if((c[f+-8>>2]|0)==(c[(c[o+428>>2]|0)+268>>2]|0))a[b+1131>>0]=1;l=b+1104|0;do if((c[l>>2]|0)<=0){i=c[b+1044>>2]|0;k=o+72|0;j=c[k>>2]|0;g=f-j>>4;f=((i|0)<0?g:0)+i|0;if(f>>>0>=g>>>0)$n(o,342,i);ro(o,j+(f<<4)|0,j+(g+-1<<4)|0)|0;g=c[k>>2]|0;i=(c[m>>2]|0)-g>>4;f=i+-2|0;if(i>>>0<=1)$n(o,342,-2);t=g+(f<<4)|0;i=g+(i+-1<<4)|0;j=c[t>>2]|0;f=c[g+(f<<4)+8>>2]|0;DQ(t|0,t+16|0,i-t|0)|0;c[i>>2]=2;g=(c[m>>2]|0)+-16|0;c[m>>2]=g;i=g;if((j&8|0)!=0?(j=f+4|0,t=(c[j>>2]|0)+-1|0,c[j>>2]=t,(t|0)==0):0){go(c[o+44>>2]|0,f);i=c[m>>2]|0;g=i}f=c[k>>2]|0;t=i-f>>4;t=t|0?f+(t+-1<<4)|0:0;if(c[((t|0)==0?944:t)>>2]|0){if((g|0)==(f|0))Jn(o,268491,50336874,268507);s=g+-16|0;c[m>>2]=s;t=c[g+-16>>2]|0;f=c[g+-8>>2]|0;c[s>>2]=2;if(t&8|0?(s=f+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)go(c[o+44>>2]|0,f);if((c[b+1100>>2]|0)>0){r=36;break}if((c[l>>2]|0)>0){r=36;break}a[b+1132>>0]=1;break}aq(o,-1);j=c[m>>2]|0;i=c[k>>2]|0;f=j-i>>4;f=f|0?i+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(n=+h[f+8>>3],(XO(n)|0)!=0):0)if(!(n<-2147483648.0))if(n>2147483647.0)g=2147483647;else g=~~n;else g=-2147483648;else g=0;if((j|0)==(i|0))Jn(o,268491,50336874,268507);l=j+-16|0;c[m>>2]=l;t=c[j+-16>>2]|0;f=c[j+-8>>2]|0;c[l>>2]=2;if(t&8|0?(m=f+4|0,t=(c[m>>2]|0)+-1|0,c[m>>2]=t,(t|0)==0):0)go(c[o+44>>2]|0,f);if((g|0)>-1){c[d>>2]=g;c[e>>2]=0;f=c[p>>2]|0;if((f|0)==(c[q>>2]|0))Jn(s,268491,50336874,268507);r=f+-16|0;c[p>>2]=r;t=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[r>>2]=2;if(!(t&8)){t=1;return t|0}r=f+4|0;t=(c[r>>2]|0)+-1|0;c[r>>2]=t;if(t|0){t=1;return t|0}go(c[s+44>>2]|0,f);t=1;return t|0}}else r=36;while(0);if((r|0)==36){a[b+1132>>0]=1;a[b+1133>>0]=1}t=cq(b)|0;c[d>>2]=-1;c[e>>2]=t;t=0;return t|0}function sq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=a+76|0;h=a+72|0;e=c[h>>2]|0;f=(c[g>>2]|0)-e>>4;d=((b|0)<0?f:0)+b|0;if(d>>>0>=f>>>0)$n(a,342,b);b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;dp(a,e+(d<<4)|0,e+(f+-1<<4)|0,b)|0;b=c[g>>2]|0;if((b|0)==(c[h>>2]|0))Jn(a,268491,50336874,268507);f=b+-16|0;c[g>>2]=f;h=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[f>>2]=2;if(!(h&8))return;g=b+4|0;h=(c[g>>2]|0)+-1|0;c[g>>2]=h;if(h|0)return;go(c[a+44>>2]|0,b);return}function tq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[b>>2]=1;c[b+8>>2]=1;e=c[b+16>>2]|0;h=a+76|0;f=c[a+72>>2]|0;d=(c[h>>2]|0)-f>>4;if(!d)$n(a,342,-1);g=f+(d+-1<<4)|0;b=((e|0)<0?d:0)+e|0;if(b>>>0>=d>>>0)$n(a,342,e);d=f+(b<<4)|0;e=c[d>>2]|0;b=c[f+(b<<4)+8>>2]|0;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];c[g>>2]=2;c[h>>2]=(c[h>>2]|0)+-16;if(!(e&8))return;g=b+4|0;h=(c[g>>2]|0)+-1|0;c[g>>2]=h;if(h|0)return;go(c[a+44>>2]|0,b);return}function uq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[a>>2]|0;f=e+76|0;g=c[f>>2]|0;if(g>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,3761);c[f>>2]=g+16;c[g>>2]=8;c[g+8>>2]=d;h=d+4|0;c[h>>2]=(c[h>>2]|0)+1;h=c[a>>2]|0;c[b>>2]=4;c[b+8>>2]=1;d=c[b+16>>2]|0;g=h+76|0;e=c[h+72>>2]|0;f=(c[g>>2]|0)-e>>4;if(!f)$n(h,342,-1);b=e+(f+-1<<4)|0;a=((d|0)<0?f:0)+d|0;if(a>>>0>=f>>>0)$n(h,342,d);d=e+(a<<4)|0;f=c[d>>2]|0;a=c[e+(a<<4)+8>>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[b>>2]=2;c[g>>2]=(c[g>>2]|0)+-16;if(!(f&8))return;g=a+4|0;b=(c[g>>2]|0)+-1|0;c[g>>2]=b;if(b|0)return;go(c[h+44>>2]|0,a);return}function vq(b){b=b|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,z=0,A=0,B=0,C=0,D=0;D=l;l=l+912|0;t=D+904|0;A=D+4|0;w=D;C=b+76|0;g=c[C>>2]|0;B=b+72|0;f=c[B>>2]|0;e=g-f>>4;d=e>>>0>1?f+(e+-2<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=8)In(b,1821,-2,287470);r=c[d+8>>2]|0;if(!r)In(b,1821,-2,287470);if(c[r>>2]&512|0)In(b,1821,-2,287470);d=e|0?f+(e+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=8)In(b,1821,-1,287470);q=c[d+8>>2]|0;if(!q)In(b,1821,-1,287470);if(c[q>>2]&512|0)In(b,1821,-1,287470);p=c[g+-24>>2]|0;o=p+28|0;p=c[p+20>>2]|0;do if(!p)if(g>>>0<(c[b+68>>2]|0)>>>0){p=Fo(b,270679,4)|0;o=c[C>>2]|0;c[C>>2]=o+16;c[o>>2]=8;c[o+8>>2]=p;p=p+4|0;c[p>>2]=(c[p>>2]|0)+1;break}else Sn(b,3931);else{if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);if(p>>>0>2147483646)Jn(b,268491,50336467,268447);d=Po(c[b+44>>2]|0,p,1,t)|0;if(!d)Mn(b,268491,4824);n=c[C>>2]|0;c[n>>2]=10;c[n+8>>2]=d;n=d+4|0;c[n>>2]=(c[n>>2]|0)+1;n=c[C>>2]|0;c[C>>2]=n+16;n=c[n+8>>2]|0;m=n+20|0;f=c[m>>2]|0;g=f;j=0;k=0;e=f;f=f+p|0;while(1){h=j;j=a[o+k>>0]|0;d=g;if((f-d|0)>>>0>1){i=e;d=g}else{e=d-e|0;d=e+66+(e>>>4)|0;if(d>>>0>>0){d=22;break}Kn(b,n,d);g=c[m>>2]|0;i=g;f=g+d|0;d=g+e|0}if(!(h<<24>>24==92|j<<24>>24!=47)){a[d>>0]=92;d=d+1|0}g=d+1|0;a[d>>0]=j;k=k+1|0;if(k>>>0>=p>>>0){d=27;break}else e=i}if((d|0)==22)Jn(b,269610,50331716,268447);else if((d|0)==27){Kn(b,n,g-i|0);Ro(b);break}}while(0);h=A+8|0;n=A+4|0;EQ(n|0,0,896)|0;c[A>>2]=b;c[A+780>>2]=b;c[A+784>>2]=r+28;c[A+788>>2]=c[r+20>>2];c[A+836>>2]=1e8;c[A+892>>2]=1e4;d=q+28|0;g=d+(c[q+20>>2]|0)|0;a:do if(d>>>0>>0){e=0;b:while(1){switch(a[d>>0]|0){case 103:{if(!(e&1))f=1;else{d=34;break b}break}case 105:{if(!(e&2))f=2;else{d=34;break b}break}case 109:{if(!(e&4))f=4;else{d=34;break b}break}default:{d=34;break b}}d=d+1|0;e=f|e;if(d>>>0>=g>>>0){s=e;break a}}if((d|0)==34)Jn(b,270684,83886975,270706)}else s=0;while(0);c[n>>2]=s;k=A+864|0;if((c[C>>2]|0)>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);m=b+44|0;d=Po(c[m>>2]|0,64,1,t)|0;if(!d)Mn(b,268491,4824);e=c[C>>2]|0;c[e>>2]=10;c[e+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[C>>2]|0;c[C>>2]=e+16;e=c[e+8>>2]|0;g=A+876|0;c[g>>2]=e;e=c[e+20>>2]|0;c[k>>2]=e;i=A+868|0;c[i>>2]=e;j=A+872|0;c[j>>2]=e+64;c[A+792>>2]=0;c[A+796>>2]=1;c[h>>2]=A+12;Jp(h,0);e=c[j>>2]|0;t=c[k>>2]|0;d=t;do if((e|0)==(t|0)){f=c[A>>2]|0;d=e-(c[i>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);else{Kn(f,c[g>>2]|0,e);t=c[(c[g>>2]|0)+20>>2]|0;u=t+d|0;c[k>>2]=u;c[i>>2]=t;c[j>>2]=t+e;break}}else u=d;while(0);c[k>>2]=u+1;a[u>>0]=11;e=c[j>>2]|0;u=c[k>>2]|0;d=u;do if((e|0)==(u|0)){f=c[A>>2]|0;d=e-(c[i>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);else{Kn(f,c[g>>2]|0,e);u=c[(c[g>>2]|0)+20>>2]|0;v=u+d|0;c[k>>2]=v;c[i>>2]=u;c[j>>2]=u+e;break}}else v=d;while(0);c[k>>2]=v+1;a[v>>0]=0;xq(A,1,w);e=c[j>>2]|0;w=c[k>>2]|0;d=w;do if((e|0)==(w|0)){f=c[A>>2]|0;d=e-(c[i>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);else{Kn(f,c[g>>2]|0,e);w=c[(c[g>>2]|0)+20>>2]|0;x=w+d|0;c[k>>2]=x;c[i>>2]=w;c[j>>2]=w+e;break}}else x=d;while(0);c[k>>2]=x+1;a[x>>0]=11;e=c[j>>2]|0;x=c[k>>2]|0;d=x;do if((e|0)==(x|0)){f=c[A>>2]|0;d=e-(c[i>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);else{Kn(f,c[g>>2]|0,e);x=c[(c[g>>2]|0)+20>>2]|0;y=x+d|0;c[k>>2]=y;c[i>>2]=x;c[j>>2]=x+e;break}}else y=d;while(0);c[k>>2]=y+1;a[y>>0]=1;e=c[j>>2]|0;y=c[k>>2]|0;d=y;do if((e|0)==(y|0)){f=c[A>>2]|0;d=e-(c[i>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);else{Kn(f,c[g>>2]|0,e);y=c[(c[g>>2]|0)+20>>2]|0;z=y+d|0;c[k>>2]=z;c[i>>2]=y;c[j>>2]=y+e;break}}else z=d;while(0);c[k>>2]=z+1;a[z>>0]=1;d=c[A+880>>2]|0;if((c[A+884>>2]|0)>>>0>d>>>0)Jn(b,270684,83887142,270727);yq(A,0,(d<<1)+2|0)|0;yq(A,0,c[n>>2]|0)|0;e=(c[k>>2]|0)-(c[i>>2]|0)|0;Kn(b,c[g>>2]|0,e);f=c[(c[g>>2]|0)+20>>2]|0;e=f+e|0;c[k>>2]=e;c[i>>2]=f;c[j>>2]=e;Ro(b);e=c[B>>2]|0;f=(c[C>>2]|0)-e>>4;d=f+-4|0;if(f>>>0<=3)$n(b,342,-4);y=e+(d<<4)|0;z=e+(f+-1<<4)|0;A=c[y>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(y|0,y+16|0,z-y|0)|0;c[z>>2]=2;e=(c[C>>2]|0)+-16|0;c[C>>2]=e;if((A&8|0)!=0?(z=d+4|0,A=(c[z>>2]|0)+-1|0,c[z>>2]=A,(A|0)==0):0){go(c[m>>2]|0,d);e=c[C>>2]|0}f=c[B>>2]|0;e=e-f>>4;d=e+-3|0;if(e>>>0<=2)$n(b,342,-3);A=f+(d<<4)|0;B=f+(e+-1<<4)|0;b=c[A>>2]|0;d=c[f+(d<<4)+8>>2]|0;DQ(A|0,A+16|0,B-A|0)|0;c[B>>2]=2;c[C>>2]=(c[C>>2]|0)+-16;if(!(b&8)){l=D;return}b=d+4|0;C=(c[b>>2]|0)+-1|0;c[b>>2]=C;if(C|0){l=D;return}go(c[m>>2]|0,d);l=D;return}function wq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0.0;a:do switch(c[d+4>>2]|0){case 100:case 1:{j=c[a>>2]|0;g=c[d+16>>2]|0;i=j+76|0;f=c[i>>2]|0;if(f>>>0<(c[j+68>>2]|0)>>>0){c[i>>2]=f+16;c[f>>2]=8;c[f+8>>2]=g;k=g+4|0;c[k>>2]=(c[k>>2]|0)+1;k=c[a>>2]|0;break a}else Sn(j,3761);break}default:{if((c[d>>2]|0)!=99){e=1;return e|0}f=c[a>>2]|0;g=f+76|0;i=c[g>>2]|0;if(i>>>0<(c[f+68>>2]|0)>>>0){l=+h[d+8>>3];c[g>>2]=i+16;c[i>>2]=0;h[i+8>>3]=l;k=f;break a}else Sn(f,3835)}}while(0);tq(k,b);j=e+1|0;k=a+1052|0;c[k>>2]=j;oq(a,b,e);e=pq(a,b+8|0,e,0)|0;c[b>>2]=1;c[b+8>>2]=2;c[b+12>>2]=e;c[k>>2]=j;e=0;return e|0}function xq(d,e,f){d=d|0;e=e|0;f=f|0;var 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,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;_=l;l=l+16|0;R=_;S=d+880|0;h=c[S>>2]|0;T=d+864|0;U=d+868|0;O=(c[T>>2]|0)-(c[U>>2]|0)|0;Z=d+888|0;g=c[Z>>2]|0;if(g>>>0>=(c[d+892>>2]|0)>>>0)Jn(c[d>>2]|0,270684,50332031,270752);c[Z>>2]=g+1;w=d+8|0;x=d+844|0;y=d+832|0;Y=(c[y>>2]|0)+1|0;c[y>>2]=Y;z=d+836|0;if((Y|0)>=(c[z>>2]|0)){Y=d+780|0;Y=c[Y>>2]|0;Jn(Y,269759,50333807,270062)}A=d+852|0;B=d+12|0;C=B;D=d+872|0;E=d+876|0;F=O+1|0;G=d+856|0;H=d+860|0;I=d+848|0;J=d+4|0;K=d+884|0;L=d+896|0;M=d+792|0;N=d+796|0;t=1;s=0;V=1;X=-1;v=1;W=-1;Y=0;g=-1;a:while(1){c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;c[x+12>>2]=0;c[x+16>>2]=0;i=c[w>>2]|0;j=c[i>>2]|0;k=c[i+12>>2]|0;b:do switch(j|0){case 124:{m=3073;break}case 94:{m=3075;break}case 36:{m=3076;break}case 63:{c[G>>2]=0;c[H>>2]=1;m=(k|0)==63;c[I>>2]=(m^1)&1;m=m?6146:3074;break}case 42:{c[G>>2]=0;c[H>>2]=-1;m=(k|0)==63;c[I>>2]=(m^1)&1;m=m?6146:3074;break}case 43:{c[G>>2]=1;c[H>>2]=-1;m=(k|0)==63;c[I>>2]=(m^1)&1;m=m?6146:3074;break}case 123:{q=c[i+4>>2]|0;r=c[i+8>>2]|0;p=-1;while(1){n=0;o=0;while(1){j=i+12|0;c[w>>2]=j;i=C-j+768|0;if(i>>>0<72){DQ(B|0,j|0,i|0)|0;c[w>>2]=B;Jp(w,i);m=c[w>>2]|0;i=m}else{i=j;m=j}j=c[i>>2]|0;if((j+-48|0)>>>0>=10)break;u=a[269806+j>>0]|0;n=((u<<24>>24>-1?u:-1)<<24>>24)+(n*10|0)|0;o=o+1|0}k=(o|0)>9;if((j|0)!=44){u=23;break}if((p|0)!=-1|k){u=30;break}if((c[i+12>>2]|0)==125){u=20;break}else p=n}if((u|0)==20){u=0;if(o){c[G>>2]=n;c[H>>2]=-1;i=m+24|0;c[w>>2]=i;j=C-i+768|0;if(j>>>0<72){DQ(B|0,i|0,j|0)|0;c[w>>2]=B;Jp(w,j)}}else u=30}else if((u|0)==23){u=0;if(!((o|0)==0|(k|(j|0)!=125))){c[G>>2]=(p|0)==-1?n:p;c[H>>2]=n;i=m+12|0;c[w>>2]=i;j=C-i+768|0;if(j>>>0<72){DQ(B|0,i|0,j|0)|0;c[w>>2]=B;Jp(w,j)}}else u=30}if((u|0)==30){u=0;c[M>>2]=q;c[N>>2]=r;c[w>>2]=B;Jp(w,0);c[A>>2]=123;m=3082;break b}i=c[w>>2]|0;if((c[i>>2]|0)!=63){c[I>>2]=1;m=2;break b}c[I>>2]=0;i=i+12|0;c[w>>2]=i;j=C-i+768|0;if(j>>>0<72){DQ(B|0,i|0,j|0)|0;c[w>>2]=B;Jp(w,j);m=2}else m=2;break}case 46:{m=3081;break}case 92:do switch(k|0){case 98:{m=6149;break b}case 66:{m=6150;break b}case 102:{c[A>>2]=12;m=6154;break b}case 110:{c[A>>2]=10;m=6154;break b}case 116:{c[A>>2]=9;m=6154;break b}case 114:{c[A>>2]=13;m=6154;break b}case 118:{c[A>>2]=11;m=6154;break b}case 99:{i=c[i+24>>2]|0;if(((i&-33)+-65|0)>>>0>=26){u=70;break a}c[A>>2]=(i|0)%32|0;m=9226;break b}case 117:case 120:{c[A>>2]=Xp(w,0)|0;m=10;break b}case 100:{m=6155;break b}case 68:{m=6156;break b}case 115:{m=6157;break b}case 83:{m=6158;break b}case 119:{m=6159;break b}case 87:{m=6160;break b}default:{if((k+-48|0)>>>0>=10){if((k|0)<=-1){u=70;break a}c[A>>2]=k;m=6154;break b}if((k|0)==48){if(((c[i+24>>2]|0)+-48|0)>>>0<10){u=70;break a}c[A>>2]=0;m=6154;break b}else{m=0;n=0}while(1){j=i+12|0;c[w>>2]=j;i=C-j+768|0;if(i>>>0<72){DQ(B|0,j|0,i|0)|0;c[w>>2]=B;Jp(w,i);i=c[w>>2]|0;k=i}else{k=j;i=j}j=c[k>>2]|0;if((j+-48|0)>>>0>=10)break;j=a[269806+j>>0]|0;if((m|0)>7){u=70;break a}else{m=m+1|0;n=((j<<24>>24>-1?j:-1)<<24>>24)+(n*10|0)|0}}c[A>>2]=n;m=17;break b}}while(0);case 40:{if((k|0)==63)switch(c[i+24>>2]|0){case 61:{m=9223;break b}case 33:{m=9224;break b}case 58:{m=9235;break b}default:{u=71;break a}}else m=3090;break}case 41:{m=3094;break}case 91:{m=(k|0)==94?6165:3092;break}case -1:{m=0;break}default:{c[A>>2]=j;m=3082}}while(0);i=(c[w>>2]|0)+(m>>>8)|0;c[w>>2]=i;j=C-i+768|0;if(j>>>0<72){DQ(B|0,i|0,j|0)|0;c[w>>2]=B;Jp(w,j)}i=m&31;c[x>>2]=i;k=h;h=c[S>>2]|0;c:do switch(m&31){case 22:{u=403;break a}case 0:{u=405;break a}case 1:{if((W|0)>-1){i=(c[T>>2]|0)-(c[U>>2]|0)+v|0;if((i|0)<0){if((i|0)<=-63)if((i|0)<=-1022)if((i|0)<=-32765)if((i|0)>-1048572)g=-4;else g=(i|0)>-33554427?-5:(i|0)>-1073741818?-6:-7;else g=-3;else g=-2;else g=-1;g=0-(i+g)<<1|1}else g=i<<1;i=V+W+(yq(d,W,g)|0)|0;if((i|0)<0){if((i|0)<=-63)if((i|0)<=-1022)if((i|0)<=-32765)if((i|0)>-1048572)g=-4;else g=(i|0)>-33554427?-5:(i|0)>-1073741818?-6:-7;else g=-3;else g=-2;else g=-1;g=0-(i+g)<<1|1}else g=i<<1;yq(d,X,g)|0}j=c[d>>2]|0;i=c[D>>2]|0;g=c[T>>2]|0;if((i|0)==(g|0)){g=i-(c[U>>2]|0)|0;i=g+65+(g>>>4)|0;if(i>>>0>>0){u=94;break a}Kn(j,c[E>>2]|0,i);t=c[(c[E>>2]|0)+20>>2]|0;g=t+g|0;c[T>>2]=g;c[U>>2]=t;c[D>>2]=t+i;i=t}else i=c[U>>2]|0;t=i+O|0;D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)>-33554427?-5:(o|0)>-1073741818?-6:-7;else g=-3;else g=-2;else g=-1;g=0-(o+g)<<1|1}else g=o<<1;yq(d,i,g)|0;g=-1;i=-1;k=X;m=W;j=-1;break c}else{if(k){i=m+65+(m>>>4)|0;if(i>>>0>>0){u=113;break a}Kn(n,c[E>>2]|0,i);j=c[(c[E>>2]|0)+20>>2]|0;r=j+m|0;c[T>>2]=r;c[U>>2]=j;c[D>>2]=j+i;i=r}r=j+g|0;DQ(r+1|0,r|0,i+t-j|0)|0;a[r>>0]=10;c[T>>2]=(c[T>>2]|0)+1;i=g+1|0;i=(yq(d,i,p)|0)+i|0;i=i+(yq(d,i,q)|0)|0;i=i+(yq(d,i,s)|0)|0;if((o|0)<0){if((o|0)<=-63)if((o|0)<=-1022)if((o|0)<=-32765)if((o|0)>-1048572)g=-4;else g=(o|0)>-33554427?-5:(o|0)>-1073741818?-6:-7;else g=-3;else g=-2;else g=-1;g=0-(o+g)<<1|1}else g=o<<1;yq(d,i,g)|0;g=-1;i=-1;k=X;m=W;j=-1;break c}}if((c[((i|0)==-1?G:H)>>2]|0)>>>0>1e3){u=138;break a}if((h|0)==(k|0))m=c[T>>2]|0;else{yq(d,g,h-k<<1)|0;yq(d,g,(k<<1)+2|0)|0;k=c[d>>2]|0;j=c[D>>2]|0;i=c[T>>2]|0;if((j|0)==(i|0)){i=j-(c[U>>2]|0)|0;j=i+65+(i>>>4)|0;if(j>>>0>>0){u=144;break a}Kn(k,c[E>>2]|0,j);s=c[(c[E>>2]|0)+20>>2]|0;i=s+i|0;c[T>>2]=i;c[U>>2]=s;c[D>>2]=s+j;j=s}else j=c[U>>2]|0;m=j+g|0;DQ(m+1|0,m|0,i+t-j|0)|0;a[m>>0]=12;m=(c[T>>2]|0)+1|0;c[T>>2]=m;i=c[H>>2]|0;j=c[G>>2]|0}p=m-(c[U>>2]|0)|0;t=p-g|0;if(j){o=t+64|0;do{n=c[d>>2]|0;if(((c[D>>2]|0)-m|0)>>>0>>0){k=m-(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-k|0)|0;a[n>>0]=7}k=(c[T>>2]|0)+1|0;c[T>>2]=k;k=k-(c[U>>2]|0)+p|0;if((k|0)<0){do if((k|0)>-63)j=-1;else{if((k|0)>-1022){j=-2;break}if((k|0)>-32765){j=-3;break}if((k|0)>-1048572){j=-4;break}j=(k|0)>-33554427?-5:(k|0)>-1073741818?-6:-7}while(0);j=0-(k+j)<<1|1}else j=k<<1;yq(d,q,j)|0;i=i+-1|0;if(!i)break d;m=c[T>>2]|0}}}else{if(!(c[G>>2]|0)){i=m;if((c[D>>2]|0)==(m|0)){k=c[d>>2]|0;i=m-(c[U>>2]|0)|0;j=i+65+(i>>>4)|0;if(j>>>0>>0){u=159;break a}Kn(k,c[E>>2]|0,j);s=c[(c[E>>2]|0)+20>>2]|0;i=s+i|0;c[T>>2]=i;c[U>>2]=s;c[D>>2]=s+j}c[T>>2]=i+1;a[i>>0]=6;j=(c[T>>2]|0)-(c[U>>2]|0)|0;if((t|0)<0){do if((t|0)>-63)i=-1;else{if((t|0)>-1022){i=-2;break}if((t|0)>-32765){i=-3;break}i=(t|0)>-1048572?-4:(t|0)>-33554427?-5:(t|0)>-1073741818?-6:-7}while(0);i=0-(t+i)<<1|1}else i=t<<1;yq(d,j,i)|0;k=c[d>>2]|0;i=c[T>>2]|0;if(((c[D>>2]|0)-i|0)>>>0>>0){i=i-(c[U>>2]|0)|0;j=t+64+i+(i>>>4)|0;if(j>>>0>>0){u=171;break a}Kn(k,c[E>>2]|0,j);s=c[(c[E>>2]|0)+20>>2]|0;i=s+i|0;c[T>>2]=i;c[U>>2]=s;c[D>>2]=s+j;j=s}else j=c[U>>2]|0;CQ(i|0,j+g|0,t|0)|0;m=(c[T>>2]|0)+t|0;c[T>>2]=m}j=(c[D>>2]|0)==(m|0);i=m;if(!(c[I>>2]|0)){if(j){k=c[d>>2]|0;i=m-(c[U>>2]|0)|0;j=i+65+(i>>>4)|0;if(j>>>0>>0){u=182;break a}Kn(k,c[E>>2]|0,j);s=c[(c[E>>2]|0)+20>>2]|0;i=s+i|0;c[T>>2]=i;c[U>>2]=s;c[D>>2]=s+j}c[T>>2]=i+1;a[i>>0]=7}else{if(j){k=c[d>>2]|0;i=m-(c[U>>2]|0)|0;j=i+65+(i>>>4)|0;if(j>>>0>>0){u=177;break a}Kn(k,c[E>>2]|0,j);s=c[(c[E>>2]|0)+20>>2]|0;i=s+i|0;c[T>>2]=i;c[U>>2]=s;c[D>>2]=s+j}c[T>>2]=i+1;a[i>>0]=8}j=~t;k=(c[T>>2]|0)-(c[U>>2]|0)|0;if((t|0)>-1){do if((t|0)>=62)if((t|0)<1021)i=-2;else{if((t|0)<32764){i=-3;break}i=(t|0)<1048571?-4:(t|0)<33554426?-5:(t|0)<1073741817?-6:-7}else i=-1;while(0);i=0-(i+j)<<1|1}else i=j<<1;yq(d,k,i)|0}while(0);i=(c[U>>2]|0)+g|0;g=i+t|0;DQ(i|0,g|0,(c[T>>2]|0)-g|0)|0;c[T>>2]=(c[T>>2]|0)+(0-t);g=-1;i=-1;k=X;m=W;j=-1;break}case 3:{i=c[D>>2]|0;t=c[T>>2]|0;g=t;if((i|0)==(t|0)){j=c[d>>2]|0;g=i-(c[U>>2]|0)|0;i=g+65+(g>>>4)|0;if(i>>>0>>0){u=226;break a}Kn(j,c[E>>2]|0,i);t=c[(c[E>>2]|0)+20>>2]|0;g=t+g|0;c[T>>2]=g;c[U>>2]=t;c[D>>2]=t+i}c[T>>2]=g+1;a[g>>0]=16;g=-1;i=-1;k=X;m=W;j=Y;break}case 4:{i=c[D>>2]|0;t=c[T>>2]|0;g=t;if((i|0)==(t|0)){j=c[d>>2]|0;g=i-(c[U>>2]|0)|0;i=g+65+(g>>>4)|0;if(i>>>0>>0){u=231;break a}Kn(j,c[E>>2]|0,i);t=c[(c[E>>2]|0)+20>>2]|0;g=t+g|0;c[T>>2]=g;c[U>>2]=t;c[D>>2]=t+i}c[T>>2]=g+1;a[g>>0]=17;g=-1;i=-1;k=X;m=W;j=Y;break}case 5:{i=c[D>>2]|0;t=c[T>>2]|0;g=t;if((i|0)==(t|0)){j=c[d>>2]|0;g=i-(c[U>>2]|0)|0;i=g+65+(g>>>4)|0;if(i>>>0>>0){u=236;break a}Kn(j,c[E>>2]|0,i);t=c[(c[E>>2]|0)+20>>2]|0;g=t+g|0;c[T>>2]=g;c[U>>2]=t;c[D>>2]=t+i}c[T>>2]=g+1;a[g>>0]=18;g=-1;i=-1;k=X;m=W;j=Y;break}case 6:{i=c[D>>2]|0;t=c[T>>2]|0;g=t;if((i|0)==(t|0)){j=c[d>>2]|0;g=i-(c[U>>2]|0)|0;i=g+65+(g>>>4)|0;if(i>>>0>>0){u=241;break a}Kn(j,c[E>>2]|0,i);t=c[(c[E>>2]|0)+20>>2]|0;g=t+g|0;c[T>>2]=g;c[U>>2]=t;c[D>>2]=t+i}c[T>>2]=g+1;a[g>>0]=19;g=-1;i=-1;k=X;m=W;j=Y;break}case 8:case 7:{k=(i|0)==7?13:14;m=(c[T>>2]|0)-(c[U>>2]|0)|0;xq(d,0,R);i=c[D>>2]|0;t=c[T>>2]|0;g=t;if((i|0)==(t|0)){j=c[d>>2]|0;g=i-(c[U>>2]|0)|0;i=g+65+(g>>>4)|0;if(i>>>0>>0){u=246;break a}Kn(j,c[E>>2]|0,i);t=c[(c[E>>2]|0)+20>>2]|0;g=t+g|0;c[T>>2]=g;c[U>>2]=t;c[D>>2]=t+i}c[T>>2]=g+1;a[g>>0]=1;yq(d,m,k)|0;j=m+1|0;i=(c[T>>2]|0)-(c[U>>2]|0)+~m|0;if((i|0)<0){if((i|0)<=-63)if((i|0)<=-1022)if((i|0)<=-32765)if((i|0)>-1048572)g=-4;else g=(i|0)>-33554427?-5:(i|0)>-1073741818?-6:-7;else g=-3;else g=-2;else g=-1;g=0-(i+g)<<1|1}else g=i<<1;yq(d,j,g)|0;g=-1;i=-1;k=X;m=W;j=-1;break}case 9:{u=c[T>>2]|0;j=u-(c[U>>2]|0)|0;g=u;if((c[D>>2]|0)==(u|0)){i=c[d>>2]|0;g=j+65+(j>>>4)|0;if(g>>>0>>0){u=259;break a}Kn(i,c[E>>2]|0,g);t=c[(c[E>>2]|0)+20>>2]|0;u=t+j|0;c[T>>2]=u;c[U>>2]=t;c[D>>2]=t+g;g=u}c[T>>2]=g+1;a[g>>0]=3;n=1;g=j;u=408;break}case 10:{t=c[T>>2]|0;g=t-(c[U>>2]|0)|0;i=t;if((c[D>>2]|0)==(t|0)){i=c[d>>2]|0;j=g+65+(g>>>4)|0;if(j>>>0>>0){u=264;break a}Kn(i,c[E>>2]|0,j);t=c[(c[E>>2]|0)+20>>2]|0;i=t+g|0;c[T>>2]=i;c[U>>2]=t;c[D>>2]=t+j}c[T>>2]=i+1;a[i>>0]=2;i=c[A>>2]|0;if(c[J>>2]&2){t=zq(0,i,-1,-1,1)|0;i=(t|0)<0|(i|0)>127&(t|0)<128?i:t}k=c[T>>2]|0;j=k;if(((c[D>>2]|0)-k|0)>>>0<7){m=c[d>>2]|0;j=k-(c[U>>2]|0)|0;k=j+71+(j>>>4)|0;if(k>>>0>>0){u=270;break a}Kn(m,c[E>>2]|0,k);t=c[(c[E>>2]|0)+20>>2]|0;n=t+j|0;c[T>>2]=n;c[U>>2]=t;c[D>>2]=t+k}else n=j;if(i>>>0<128){k=0;j=1}else{if(i>>>0>=2048)if(i>>>0>=65536)if(i>>>0>=2097152)if(i>>>0<67108864){j=5;u=277}else j=i>>>31|6;else{j=4;u=277}else{j=3;u=277}else{j=2;u=277}k=a[268912+(j+-1)>>0]|0;m=j;do{m=m+-1|0;a[n+m>>0]=i&63|128;i=i>>>6}while((m|0)>1)}a[n>>0]=i+(k&255);c[T>>2]=(c[T>>2]|0)+j;n=1;u=408;break}case 16:case 15:case 14:case 13:case 12:case 11:{u=c[T>>2]|0;g=u-(c[U>>2]|0)|0;k=5-(m&1)|0;n=i+-11>>1;m=c[4204+(n<<2)>>2]|0;n=a[270942+n>>0]|0;o=n&255;i=u;if((c[D>>2]|0)==(u|0)){j=c[d>>2]|0;i=g+65+(g>>>4)|0;if(i>>>0>>0){u=283;break a}Kn(j,c[E>>2]|0,i);t=c[(c[E>>2]|0)+20>>2]|0;u=t+g|0;c[T>>2]=u;c[U>>2]=t;c[D>>2]=t+i;i=u}c[T>>2]=i+1;a[i>>0]=k;j=c[D>>2]|0;u=c[T>>2]|0;i=u;if((j|0)==(u|0)){k=c[d>>2]|0;i=j-(c[U>>2]|0)|0;j=i+65+(i>>>4)|0;if(j>>>0>>0){u=287;break a}Kn(k,c[E>>2]|0,j);u=c[(c[E>>2]|0)+20>>2]|0;i=u+i|0;c[T>>2]=i;c[U>>2]=u;c[D>>2]=u+j}c[T>>2]=i+1;a[i>>0]=n;p=m;o=o<<1;j=c[T>>2]|0;while(1){o=o+-1|0;n=b[p>>1]|0;p=p+2|0;k=n&65535;i=j;if(((c[D>>2]|0)-j|0)>>>0<7){m=c[d>>2]|0;i=j-(c[U>>2]|0)|0;j=i+71+(i>>>4)|0;if(j>>>0>>0){u=292;break a}Kn(m,c[E>>2]|0,j);u=c[(c[E>>2]|0)+20>>2]|0;i=u+i|0;c[T>>2]=i;c[U>>2]=u;c[D>>2]=u+j}if((n&65535)<128){m=0;j=1}else{j=(n&65535)<2048?2:3;m=a[268912+(j+-1)>>0]|0;n=j;do{n=n+-1|0;a[i+n>>0]=k&63|128;k=k>>>6}while((n|0)>1)}a[i>>0]=k+(m&255);j=(c[T>>2]|0)+j|0;c[T>>2]=j;if(!o){n=1;u=408;break}}break}case 17:{m=c[A>>2]|0;if(m>>>0>(c[K>>2]|0)>>>0)c[K>>2]=m;t=c[T>>2]|0;g=t-(c[U>>2]|0)|0;i=t;if((c[D>>2]|0)==(t|0)){i=c[d>>2]|0;j=g+65+(g>>>4)|0;if(j>>>0>>0){u=302;break a}Kn(i,c[E>>2]|0,j);t=c[(c[E>>2]|0)+20>>2]|0;i=t+g|0;c[T>>2]=i;c[U>>2]=t;c[D>>2]=t+j}c[T>>2]=i+1;a[i>>0]=15;j=c[T>>2]|0;i=j;if(((c[D>>2]|0)-j|0)>>>0<7){k=c[d>>2]|0;i=j-(c[U>>2]|0)|0;j=i+71+(i>>>4)|0;if(j>>>0>>0){u=306;break a}Kn(k,c[E>>2]|0,j);t=c[(c[E>>2]|0)+20>>2]|0;n=t+i|0;c[T>>2]=n;c[U>>2]=t;c[D>>2]=t+j}else n=i;if(m>>>0<128){j=m;k=0;i=1}else{if(m>>>0>=2048)if(m>>>0>=65536)if(m>>>0>=2097152)if(m>>>0<67108864){i=5;u=313}else i=m>>>31|6;else{i=4;u=313}else{i=3;u=313}else{i=2;u=313}k=a[268912+(i+-1)>>0]|0;j=m;m=i;do{m=m+-1|0;a[n+m>>0]=j&63|128;j=j>>>6}while((m|0)>1)}a[n>>0]=j+(k&255);c[T>>2]=(c[T>>2]|0)+i;n=-1;u=408;break}case 18:{t=c[T>>2]|0;g=t-(c[U>>2]|0)|0;p=h+1|0;c[S>>2]=p;i=t;if((c[D>>2]|0)==(t|0)){i=c[d>>2]|0;j=g+65+(g>>>4)|0;if(j>>>0>>0){u=319;break a}Kn(i,c[E>>2]|0,j);t=c[(c[E>>2]|0)+20>>2]|0;i=t+g|0;c[T>>2]=i;c[U>>2]=t;c[D>>2]=t+j}c[T>>2]=i+1;a[i>>0]=11;o=p<<1;j=c[T>>2]|0;i=j;if(((c[D>>2]|0)-j|0)>>>0<7){k=c[d>>2]|0;i=j-(c[U>>2]|0)|0;j=i+71+(i>>>4)|0;if(j>>>0>>0){u=323;break a}Kn(k,c[E>>2]|0,j);t=c[(c[E>>2]|0)+20>>2]|0;n=t+i|0;c[T>>2]=n;c[U>>2]=t;c[D>>2]=t+j}else n=i;if(o>>>0<128){j=o;k=0;i=1}else{if(o>>>0>=2048)if(o>>>0>=65536)if(o>>>0>=2097152)if(o>>>0<67108864){i=5;u=330}else i=p>>>30|6;else{i=4;u=330}else{i=3;u=330}else{i=2;u=330}if((u|0)==330)u=0;k=a[268912+(i+-1)>>0]|0;j=o;m=i;do{m=m+-1|0;a[n+m>>0]=j&63|128;j=j>>>6}while((m|0)>1)}a[n>>0]=j+(k&255);c[T>>2]=(c[T>>2]|0)+i;xq(d,0,R);j=c[D>>2]|0;t=c[T>>2]|0;i=t;if((j|0)==(t|0)){k=c[d>>2]|0;i=j-(c[U>>2]|0)|0;j=i+65+(i>>>4)|0;if(j>>>0>>0){u=335;break a}Kn(k,c[E>>2]|0,j);t=c[(c[E>>2]|0)+20>>2]|0;i=t+i|0;c[T>>2]=i;c[U>>2]=t;c[D>>2]=t+j}c[T>>2]=i+1;a[i>>0]=11;j=o|1;k=c[T>>2]|0;i=k;if(((c[D>>2]|0)-k|0)>>>0<7){m=c[d>>2]|0;i=k-(c[U>>2]|0)|0;k=i+71+(i>>>4)|0;if(k>>>0>>0){u=339;break a}Kn(m,c[E>>2]|0,k);t=c[(c[E>>2]|0)+20>>2]|0;n=t+i|0;c[T>>2]=n;c[U>>2]=t;c[D>>2]=t+k}else n=i;if(j>>>0<128){k=0;i=1}else{if(j>>>0>=2048)if(j>>>0>=65536)if(j>>>0>=2097152)if(j>>>0<67108864){i=5;u=346}else i=p>>>30|6;else{i=4;u=346}else{i=3;u=346}else{i=2;u=346}k=a[268912+(i+-1)>>0]|0;m=i;do{m=m+-1|0;a[n+m>>0]=j&63|128;j=j>>>6}while((m|0)>1)}a[n>>0]=j+(k&255);c[T>>2]=(c[T>>2]|0)+i;n=-1;u=408;break}case 19:{g=(c[T>>2]|0)-(c[U>>2]|0)|0;xq(d,0,R);n=c[R>>2]|0;u=408;break}case 21:case 20:{u=c[T>>2]|0;g=u-(c[U>>2]|0)|0;k=(i|0)==20;i=u;if((c[D>>2]|0)==(u|0)){j=c[d>>2]|0;i=g+65+(g>>>4)|0;if(i>>>0>>0){u=353;break a}Kn(j,c[E>>2]|0,i);t=c[(c[E>>2]|0)+20>>2]|0;u=t+g|0;c[T>>2]=u;c[U>>2]=t;c[D>>2]=t+i;i=u}c[T>>2]=i+1;a[i>>0]=k?4:5;p=(c[T>>2]|0)-(c[U>>2]|0)|0;c[L>>2]=0;n=-1;o=0;i=0;e:while(1){j=(c[w>>2]|0)+(i*12|0)|0;c[w>>2]=j;i=C-j+768|0;if(i>>>0<72){DQ(B|0,j|0,i|0)|0;c[w>>2]=B;Jp(w,i);i=c[w>>2]|0;m=i}else{m=j;i=j}j=c[m>>2]|0;if((j|0)<0){u=401;break a}f:do switch(j|0){case 93:break e;case 45:{if((o|0)!=0|(n|0)<0){j=45;i=1;u=388}else{u=n;o=1;i=1;n=u;continue e}break}case 92:{j=c[m+12>>2]|0;g:do switch(j|0){case 98:{j=8;i=2;u=388;break f}case 102:{j=12;i=2;u=388;break f}case 110:{j=10;i=2;u=388;break f}case 116:{j=9;i=2;u=388;break f}case 114:{j=13;i=2;u=388;break f}case 118:{j=11;i=2;u=388;break f}case 99:{i=c[m+24>>2]|0;if(((i&-33)+-65|0)>>>0>=26){u=399;break a}j=(i|0)%32|0;i=3;u=390;break}case 117:case 120:{j=Xp(w,0)|0;i=0;u=390;break}case 100:{Aq(d,48,57,1);u=389;break}case 68:{Aq(d,0,47,1);Aq(d,58,65535,1);u=389;break}case 115:{Aq(d,9,13,1);Aq(d,32,32,1);Aq(d,160,160,1);Aq(d,5760,5760,1);Aq(d,6158,6158,1);Aq(d,8192,8202,1);Aq(d,8232,8233,1);Aq(d,8239,8239,1);Aq(d,8287,8287,1);Aq(d,12288,12288,1);Aq(d,65279,65279,1);u=389;break}case 83:{Aq(d,0,8,1);Aq(d,14,31,1);Aq(d,33,159,1);Aq(d,161,5759,1);Aq(d,5761,6157,1);Aq(d,6159,8191,1);Aq(d,8203,8231,1);Aq(d,8234,8238,1);Aq(d,8240,8286,1);Aq(d,8288,12287,1);Aq(d,12289,65278,1);Aq(d,65280,65535,1);u=389;break}case 119:{Aq(d,48,57,1);Aq(d,65,90,1);Aq(d,95,95,1);Aq(d,97,122,1);u=389;break}case 87:{Aq(d,0,47,1);Aq(d,58,64,1);Aq(d,91,94,1);Aq(d,96,96,1);Aq(d,123,65535,1);u=389;break}default:{k=j+-48|0;if(k>>>0>=10)if((j|0)>-1){i=2;u=388;break f}else{u=399;break a}if((j&-8|0)!=48){i=2;u=388;break f}i=c[m+24>>2]|0;if((i&-8|0)==48?(P=(k<<3)+-48+i|0,(P|0)<=255):0){i=c[m+36>>2]|0;if((i&-8|0)==48?(Q=(P<<3)+-48+i|0,(Q|0)<=255):0){j=Q;i=4;u=390;break g}else{i=3;j=P}}else{i=2;j=k}u=390}}while(0);do if((u|0)==389)if((n|0)>-1)i=2;else{t=o;u=n;i=2;o=t;n=u;continue e}else if((u|0)==390){u=0;k=(n|0)>-1;if((j|0)<0)if(k)break;else{t=o;u=n;o=t;n=u;continue e}else if(k)break f;else{u=o;n=j;o=u;continue e}}while(0);if(o|0){u=400;break a}Aq(d,n,n,0);n=-1;o=0;continue e}default:{i=1;u=388}}while(0);if((u|0)==388)if((n|0)<=-1){u=o;n=j;o=u;continue}if(!o){Aq(d,n,n,0);n=j;o=0;continue}if((n|0)>(j|0)){u=400;break a}Aq(d,n,j,0);n=-1;o=0}if((n|0)>-1){Aq(d,n,n,0);i=c[w>>2]|0}i=i+12|0;c[w>>2]=i;j=C-i+768|0;if(j>>>0<72){DQ(B|0,i|0,j|0)|0;c[w>>2]=B;Jp(w,j)}yq(d,p,c[L>>2]|0)|0;n=1;u=408;break}default:{u=407;break a}}while(0);if((u|0)==408){u=0;if((g|0)>-1){i=n;k=X;m=W;j=(n|0)<0?-1:((Y|0)>-1?n:0)+Y|0}else{i=n;k=X;m=W;j=Y}}t=(c[y>>2]|0)+1|0;c[y>>2]=t;if((t|0)>=(c[z>>2]|0)){u=69;break}else{t=0-g|0;s=i;V=0-k|0;X=k;v=0-m|0;W=m;Y=j}}switch(u|0){case 69:{S=d+780|0;S=c[S>>2]|0;Jn(S,269759,50333807,270062);break}case 70:{Jn(c[d+780>>2]|0,269759,83888243,270784);break}case 71:{Jn(c[d+780>>2]|0,269759,83888247,270806);break}case 94:{Jn(j,269610,50331716,268447);break}case 98:{Jn(j,269610,50331716,268447);break}case 102:{Jn(c[d>>2]|0,270684,83886536,270827);break}case 104:{Jn(c[d>>2]|0,270684,83886539,270861);break}case 108:{Jn(k,269610,50331716,268447);break}case 113:{Jn(n,269610,50331716,268447);break}case 126:{Jn(n,269610,50331716,268447);break}case 138:{Jn(c[d>>2]|0,270684,50332175,270901);break}case 144:{Jn(k,269610,50331716,268447);break}case 152:{Jn(n,269610,50331716,268447);break}case 159:{Jn(k,269610,50331716,268447);break}case 171:{Jn(k,269610,50331716,268447);break}case 177:{Jn(k,269610,50331716,268447);break}case 182:{Jn(k,269610,50331716,268447);break}case 198:{Jn(n,269610,50331716,268447);break}case 204:{Jn(n,269610,50331716,268447);break}case 210:{Jn(n,269610,50331716,268447);break}case 226:{Jn(j,269610,50331716,268447);break}case 231:{Jn(j,269610,50331716,268447);break}case 236:{Jn(j,269610,50331716,268447);break}case 241:{Jn(j,269610,50331716,268447);break}case 246:{Jn(j,269610,50331716,268447);break}case 259:{Jn(i,269610,50331716,268447);break}case 264:{Jn(i,269610,50331716,268447);break}case 270:{Jn(m,269610,50331716,268447);break}case 283:{Jn(j,269610,50331716,268447);break}case 287:{Jn(k,269610,50331716,268447);break}case 292:{Jn(m,269610,50331716,268447);break}case 302:{Jn(i,269610,50331716,268447);break}case 306:{Jn(k,269610,50331716,268447);break}case 319:{Jn(i,269610,50331716,268447);break}case 323:{Jn(k,269610,50331716,268447);break}case 335:{Jn(k,269610,50331716,268447);break}case 339:{Jn(m,269610,50331716,268447);break}case 353:{Jn(j,269610,50331716,268447);break}case 399:{Jn(c[d+780>>2]|0,269759,83888505,270784);break}case 400:{Jn(c[d+780>>2]|0,269759,83888509,270945);break}case 401:{Jn(c[d+780>>2]|0,269759,83888513,270959);break}case 403:{if(e|0)Jn(c[d>>2]|0,270684,83886870,270988);break}case 405:{if(!e)Jn(c[d>>2]|0,270684,83886876,271019);break}case 407:{Jn(c[d>>2]|0,270684,83886881,271045);break}}if((W|0)<=-1){c[f>>2]=Y;f=c[Z>>2]|0;f=f+-1|0;c[Z>>2]=f;l=_;return}h=(c[T>>2]|0)-(c[U>>2]|0)+v|0;if((h|0)<0){if((h|0)<=-63)if((h|0)<=-1022)if((h|0)<=-32765)if((h|0)>-1048572)g=-4;else g=(h|0)>-33554427?-5:(h|0)>-1073741818?-6:-7;else g=-3;else g=-2;else g=-1;g=0-(h+g)<<1|1}else g=h<<1;h=V+W+(yq(d,W,g)|0)|0;if((h|0)<0){if((h|0)<=-63)if((h|0)<=-1022)if((h|0)<=-32765)if((h|0)>-1048572)g=-4;else g=(h|0)>-33554427?-5:(h|0)>-1073741818?-6:-7;else g=-3;else g=-2;else g=-1;g=0-(h+g)<<1|1}else g=h<<1;yq(d,X,g)|0;c[f>>2]=Y;f=c[Z>>2]|0;f=f+-1|0;c[Z>>2]=f;l=_;return}function yq(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,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;n=q;if(e>>>0<128){g=0;f=1}else{if(e>>>0>=2048)if(e>>>0>=65536)if(e>>>0>=2097152)if(e>>>0<67108864){f=5;g=6}else f=e>>>31|6;else{f=4;g=6}else{f=3;g=6}else{f=2;g=6}g=a[268912+(f+-1)>>0]|0;h=f;do{h=h+-1|0;a[n+h>>0]=e&63|128;e=e>>>6}while((h|0)>1)}a[n>>0]=e+(g&255);h=c[b>>2]|0;i=b+864|0;j=b+872|0;e=c[i>>2]|0;k=b+868|0;do if(((c[j>>2]|0)-e|0)>>>0>>0){e=e-(c[k>>2]|0)|0;g=f+64+e+(e>>>4)|0;if(g>>>0>>0)Jn(h,269610,50331716,268447);else{o=b+876|0;Kn(h,c[o>>2]|0,g);o=c[(c[o>>2]|0)+20>>2]|0;p=o+e|0;c[i>>2]=p;c[k>>2]=o;c[j>>2]=o+g;m=i;break}}else{m=i;o=c[k>>2]|0;p=e}while(0);b=o+d|0;DQ(b+f|0,b|0,p-d-o|0)|0;CQ(b|0,n|0,f|0)|0;c[m>>2]=(c[m>>2]|0)+f;l=q;return f|0}function zq(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,t=0,u=0;h=(h|0)!=0;if((e|0)<128){h=(((h?-97:-65)+e|0)>>>0<26?(h?-32:32):0)+e|0;if(!b){b=h;return b|0}u=c[b>>2]|0;c[b>>2]=u+1;a[u>>0]=h;b=h;return b|0}do if((e|0)==931&(h^1)){if((f|0)<128){if(((f&-33)+-65|0)>>>0>=26)break}else{if(!(Wp(264713,1036,f)|0))break;if(Wp(265749,42,f)|0)break}if((g|0)<128){if(((g&-33)+-65|0)>>>0<26)break}else if(Wp(264713,1036,g)|0?(Wp(265749,42,g)|0)==0:0)break;if(!b){b=962;return b|0}u=c[b>>2]|0;a[u+1>>0]=-126;a[u>>0]=-49;c[b>>2]=(c[b>>2]|0)+2;b=962;return b|0}while(0);u=h?266321:267707;t=h?1386:680;f=0;g=0;h=0;j=0;a:while(1){r=f+1|0;if((j|0)<6){i=g;f=g;k=j;do{h=h<<8;g=f+1|0;if(f>>>0>>0){i=g;h=d[u+f>>0]|0|h;f=g}k=k+8|0}while((k|0)<6);k=j+8+(5-j&-8)|0}else{k=j;i=g}j=k+-6|0;f=h>>>j;switch(f&63){case 0:{f=r;g=i;continue a}case 63:{p=42;break a}default:{}}g=f&63;f=h;while(1){q=g+-1|0;if((j|0)<16){l=i;h=i;k=j;while(1){f=f<<8;g=h+1|0;if(h>>>0>>0){i=g;f=d[u+h>>0]|0|f;h=g}else i=l;k=k+8|0;if((k|0)>=16)break;else l=i}j=j+8+(15-j&-8)|0;k=f;h=f}else k=f;g=j+-16|0;p=k>>>g&65535;if((g|0)<16){l=i;f=k;h=i;while(1){f=f<<8;k=h+1|0;if(h>>>0>>0){i=k;f=d[u+h>>0]|0|f;h=k}else i=l;g=g+8|0;if((g|0)>=16)break;else l=i}g=j+-8+(31-j&-8)|0;k=f;h=f}o=g+-16|0;if((o|0)<7){l=i;n=o;f=k;h=i;while(1){f=f<<8;j=h+1|0;if(h>>>0>>0){i=j;m=d[u+h>>0]|0|f;h=j}else{i=l;m=f}n=n+8|0;if((n|0)>=7)break;else{l=i;f=m}}g=g+-8+(22-g&-8)|0;f=m;h=m}else{g=o;f=k}j=g+-7|0;if(((p|0)<=(e|0)?(s=e-p|0,(s|0)<(O(f>>>j&127,r)|0)):0)?((s|0)%(r|0)|0|0)==0:0){p=41;break a}if(!q){f=r;g=i;continue a}else g=q}}b:do if((p|0)==41)j=(k>>>o&65535)+s|0;else if((p|0)==42){if((j|0)<7){g=i;f=i;do{h=h<<8;i=f+1|0;if(f>>>0>>0){g=i;h=d[u+f>>0]|0|h;f=i}j=j+8|0}while((j|0)<7);f=k+2+(12-k&-8)|0}else{f=j;g=i}j=f+-7|0;n=h>>>j&127;i=h;f=h;while(1){if(!n)break;n=n+-1|0;if((j|0)<16){l=g;f=g;k=j;while(1){h=i<<8;i=f+1|0;if(f>>>0>>0){g=i;h=d[u+f>>0]|0|h;f=i}else g=l;k=k+8|0;if((k|0)>=16)break;else{l=g;i=h}}j=j+8+(15-j&-8)|0;i=h;f=h}h=j+-16|0;m=i>>>h&65535;if((h|0)<16){l=g;f=g;k=h;while(1){h=i<<8;i=f+1|0;if(f>>>0>>0){g=i;h=d[u+f>>0]|0|h;f=i}else g=l;k=k+8|0;if((k|0)>=16)break;else{l=g;i=h}}j=j+-8+(31-j&-8)|0;i=h;f=h}else j=h;j=j+-16|0;if((m|0)==(e|0)){p=96;break}}if((p|0)==96){j=i>>>j&65535;break}if((j|0)<7){l=g;h=i;f=g;k=j;while(1){h=h<<8;i=f+1|0;if(f>>>0>>0){g=i;h=d[u+f>>0]|0|h;f=i}else g=l;k=k+8|0;if((k|0)>=7)break;else l=g}j=j+8+(6-j&-8)|0;f=h;i=h}j=j+-7|0;h=i>>>j&127;if(!h)j=e;else{while(1){h=h+-1|0;if((j|0)<16){m=g;k=g;l=j;while(1){f=i<<8;i=k+1|0;if(k>>>0>>0){g=i;f=d[u+k>>0]|0|f;k=i}else g=m;l=l+8|0;if((l|0)>=16)break;else{m=g;i=f}}j=j+8+(15-j&-8)|0;i=f}l=j+-16|0;o=i>>>l&65535;if((l|0)<2){m=g;k=g;while(1){f=i<<8;i=k+1|0;if(k>>>0>>0){g=i;f=d[u+k>>0]|0|f;k=i}else g=m;l=l+8|0;if((l|0)>=2)break;else{m=g;i=f}}l=j+-8+(17-j&-8)|0;i=f}n=l+-2|0;j=i>>>n&3;if((o|0)==(e|0))break;if(!j)j=n;else while(1){j=j+-1|0;if((n|0)<16){m=g;k=g;l=n;while(1){f=i<<8;i=k+1|0;if(k>>>0>>0){g=i;f=d[u+k>>0]|0|f;k=i}else g=m;l=l+8|0;if((l|0)>=16)break;else{m=g;i=f}}k=n+8+(15-n&-8)|0;i=f}else k=n;k=k+-16|0;if(!j){j=k;break}else n=k}if(!h){j=e;break b}}if((b|0)==0|(j|0)==0){b=-1;return b|0}h=n;while(1){j=j+-1|0;if((h|0)<16){k=g;l=h;do{f=f<<8;i=g+1|0;if(g>>>0>>0){k=i;f=d[u+g>>0]|0|f;g=i}l=l+8|0}while((l|0)<16);h=h+8+(15-h&-8)|0;n=k}else n=g;h=h+-16|0;g=f>>>h&65535;m=c[b>>2]|0;if(g>>>0<128){k=0;i=1}else{i=g>>>0<2048?2:3;k=a[268912+(i+-1)>>0]|0;l=i;do{l=l+-1|0;a[m+l>>0]=g&63|128;g=g>>>6}while((l|0)>1)}a[m>>0]=g+(k&255);c[b>>2]=(c[b>>2]|0)+i;if(!j){h=-1;break}else g=n}return h|0}}while(0);if(!b){b=j;return b|0}k=c[b>>2]|0;if(j>>>0<128){f=j;g=0;h=1}else{if(j>>>0>=2048)if(j>>>0>=65536)if(j>>>0>=2097152)if(j>>>0<67108864){h=5;p=103}else h=j>>>31|6;else{h=4;p=103}else{h=3;p=103}else{h=2;p=103}g=a[268912+(h+-1)>>0]|0;f=j;i=h;do{i=i+-1|0;a[k+i>>0]=f&63|128;f=f>>>6}while((i|0)>1)}a[k>>0]=f+(g&255);c[b>>2]=(c[b>>2]|0)+h;b=j;return b|0}function Aq(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,u=0,v=0,w=0;if((f|0)==0?c[b+4>>2]&2|0:0){k=zq(0,d,-1,-1,1)|0;h=b+864|0;r=b+872|0;s=b+868|0;t=b+876|0;n=b+896|0;k=(k|0)<0|(d|0)>127&(k|0)<128?d:k;f=d;a:while(1){p=k;while(1){g=f;f=f+1|0;if((g|0)>=(e|0)){w=32;break a}m=zq(0,f,-1,-1,1)|0;m=(m|0)<0|(g|0)>126&(m|0)<128?f:m;if((m|0)!=(p+1|0))break;else p=m}i=c[h>>2]|0;g=i;if(((c[r>>2]|0)-i|0)>>>0<7){j=c[b>>2]|0;g=i-(c[s>>2]|0)|0;i=g+71+(g>>>4)|0;if(i>>>0>>0){w=9;break}Kn(j,c[t>>2]|0,i);j=c[(c[t>>2]|0)+20>>2]|0;l=j+g|0;c[h>>2]=l;c[s>>2]=j;c[r>>2]=j+i}else l=g;if(k>>>0<128){i=k;j=0;g=1}else{if(k>>>0>=2048)if(k>>>0>=65536)if(k>>>0>=2097152)if(k>>>0<67108864){g=5;w=16}else g=k>>>31|6;else{g=4;w=16}else{g=3;w=16}else{g=2;w=16}if((w|0)==16)w=0;j=a[268912+(g+-1)>>0]|0;i=k;k=g;do{k=k+-1|0;a[l+k>>0]=i&63|128;i=i>>>6}while((k|0)>1)}a[l>>0]=i+(j&255);g=(c[h>>2]|0)+g|0;c[h>>2]=g;i=g;if(((c[r>>2]|0)-i|0)>>>0<7){j=c[b>>2]|0;g=i-(c[s>>2]|0)|0;i=g+71+(g>>>4)|0;if(i>>>0>>0){w=21;break}Kn(j,c[t>>2]|0,i);k=c[(c[t>>2]|0)+20>>2]|0;l=k+g|0;c[h>>2]=l;c[s>>2]=k;c[r>>2]=k+i}else l=g;if(p>>>0<128){i=p;j=0;g=1}else{if(p>>>0>=2048)if(p>>>0>=65536)if(p>>>0>=2097152)if(p>>>0<67108864){g=5;w=28}else g=p>>>31|6;else{g=4;w=28}else{g=3;w=28}else{g=2;w=28}if((w|0)==28)w=0;j=a[268912+(g+-1)>>0]|0;i=p;k=g;do{k=k+-1|0;a[l+k>>0]=i&63|128;i=i>>>6}while((k|0)>1)}a[l>>0]=i+(j&255);c[h>>2]=(c[h>>2]|0)+g;c[n>>2]=(c[n>>2]|0)+1;k=m}if((w|0)==9)Jn(j,269610,50331716,268447);else if((w|0)==21)Jn(j,269610,50331716,268447);else if((w|0)==32){d=c[h>>2]|0;f=d;do if(((c[r>>2]|0)-d|0)>>>0<7){e=c[b>>2]|0;f=d-(c[s>>2]|0)|0;d=f+71+(f>>>4)|0;if(d>>>0>>0)Jn(e,269610,50331716,268447);else{Kn(e,c[t>>2]|0,d);v=c[(c[t>>2]|0)+20>>2]|0;o=v+f|0;c[h>>2]=o;c[s>>2]=v;c[r>>2]=v+d;break}}else o=f;while(0);if(k>>>0<128){d=k;e=0;f=1}else{if(k>>>0>=2048)if(k>>>0>=65536)if(k>>>0>=2097152)if(k>>>0<67108864){f=5;w=41}else f=k>>>31|6;else{f=4;w=41}else{f=3;w=41}else{f=2;w=41}e=a[268912+(f+-1)>>0]|0;d=k;g=f;do{g=g+-1|0;a[o+g>>0]=d&63|128;d=d>>>6}while((g|0)>1)}a[o>>0]=d+(e&255);f=(c[h>>2]|0)+f|0;c[h>>2]=f;d=f;do if(((c[r>>2]|0)-d|0)>>>0<7){e=c[b>>2]|0;f=d-(c[s>>2]|0)|0;d=f+71+(f>>>4)|0;if(d>>>0>>0)Jn(e,269610,50331716,268447);else{Kn(e,c[t>>2]|0,d);v=c[(c[t>>2]|0)+20>>2]|0;u=v+f|0;c[h>>2]=u;c[s>>2]=v;c[r>>2]=v+d;break}}else u=f;while(0);if(p>>>0<128){s=p;v=1;w=h;t=0;t=t&255;t=s+t|0;t=t&255;a[u>>0]=t;u=c[w>>2]|0;v=u+v|0;c[w>>2]=v;b=b+896|0;w=c[b>>2]|0;w=w+1|0;c[b>>2]=w;return}if(p>>>0>=2048)if(p>>>0>=65536)if(p>>>0>=2097152)if(p>>>0<67108864){f=5;w=53}else f=p>>>31|6;else{f=4;w=53}else{f=3;w=53}else{f=2;w=53}d=a[268912+(f+-1)>>0]|0;e=p;g=f;do{g=g+-1|0;a[u+g>>0]=e&63|128;e=e>>>6}while((g|0)>1);g=u;w=d&255;w=e+w|0;w=w&255;a[g>>0]=w;w=c[h>>2]|0;w=w+f|0;c[h>>2]=w;b=b+896|0;w=c[b>>2]|0;w=w+1|0;c[b>>2]=w;return}}h=b+864|0;k=b+872|0;g=c[h>>2]|0;f=g;do if(((c[k>>2]|0)-g|0)>>>0<7){i=c[b>>2]|0;j=b+868|0;f=g-(c[j>>2]|0)|0;g=f+71+(f>>>4)|0;if(g>>>0>>0)Jn(i,269610,50331716,268447);else{u=b+876|0;Kn(i,c[u>>2]|0,g);u=c[(c[u>>2]|0)+20>>2]|0;q=u+f|0;c[h>>2]=q;c[j>>2]=u;c[k>>2]=u+g;break}}else q=f;while(0);if(d>>>0<128){g=0;f=1}else{if(d>>>0>=2048)if(d>>>0>=65536)if(d>>>0>=2097152)if(d>>>0<67108864){f=5;w=65}else f=d>>>31|6;else{f=4;w=65}else{f=3;w=65}else{f=2;w=65}g=a[268912+(f+-1)>>0]|0;i=f;do{i=i+-1|0;a[q+i>>0]=d&63|128;d=d>>>6}while((i|0)>1)}a[q>>0]=d+(g&255);f=(c[h>>2]|0)+f|0;c[h>>2]=f;d=f;do if(((c[k>>2]|0)-d|0)>>>0<7){g=c[b>>2]|0;i=b+868|0;f=d-(c[i>>2]|0)|0;d=f+71+(f>>>4)|0;if(d>>>0>>0)Jn(g,269610,50331716,268447);else{u=b+876|0;Kn(g,c[u>>2]|0,d);u=c[(c[u>>2]|0)+20>>2]|0;v=u+f|0;c[h>>2]=v;c[i>>2]=u;c[k>>2]=u+d;break}}else v=f;while(0);if(e>>>0<128){s=e;u=1;w=h;t=0;t=t&255;t=s+t|0;t=t&255;a[v>>0]=t;v=c[w>>2]|0;v=v+u|0;c[w>>2]=v;b=b+896|0;w=c[b>>2]|0;w=w+1|0;c[b>>2]=w;return}if(e>>>0>=2048)if(e>>>0>=65536)if(e>>>0>=2097152)if(e>>>0<67108864){f=5;w=77}else f=e>>>31|6;else{f=4;w=77}else{f=3;w=77}else{f=2;w=77}d=a[268912+(f+-1)>>0]|0;g=f;do{g=g+-1|0;a[v+g>>0]=e&63|128;e=e>>>6}while((g|0)>1);g=v;w=d&255;w=e+w|0;w=w&255;a[g>>0]=w;w=c[h>>2]|0;w=w+f|0;c[h>>2]=w;b=b+896|0;w=c[b>>2]|0;w=w+1|0;c[b>>2]=w;return}function Bq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=a+76|0;if((c[f>>2]|0)>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4255);g=xo(a,40)|0;h=a+44|0;e=c[h>>2]|0;c[g>>2]=b|1;b=e+24|0;e=c[b>>2]|0;if(e|0)c[e+12>>2]=g;c[g+12>>2]=0;c[g+8>>2]=e;c[b>>2]=g;e=c[f>>2]|0;c[e>>2]=9;c[e+8>>2]=g;e=g+4|0;c[e>>2]=(c[e>>2]|0)+1;c[f>>2]=(c[f>>2]|0)+16;if((d|0)<=-1)return g|0;b=c[a+132+(d<<2)>>2]|0;f=g+20|0;e=c[f>>2]|0;c[f>>2]=b;if(b|0){f=b+4|0;c[f>>2]=(c[f>>2]|0)+1}if(!e)return g|0;d=e+4|0;f=(c[d>>2]|0)+-1|0;c[d>>2]=f;if(f|0)return g|0;fp(c[h>>2]|0,e);return g|0}function Cq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=a+76|0;if((c[g>>2]|0)>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4255);f=xo(a,40)|0;h=a+44|0;d=c[h>>2]|0;c[f>>2]=134234241;d=d+24|0;b=c[d>>2]|0;if(b|0)c[b+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=b;c[d>>2]=f;d=c[g>>2]|0;c[d>>2]=9;c[d+8>>2]=f;d=f+4|0;c[d>>2]=(c[d>>2]|0)+1;d=(c[g>>2]|0)+16|0;c[g>>2]=d;e=c[a+144>>2]|0;f=f+20|0;b=c[f>>2]|0;c[f>>2]=e;if(e|0){f=e+4|0;c[f>>2]=(c[f>>2]|0)+1}if(!b){g=d;h=a+72|0;h=c[h>>2]|0;h=g-h|0;h=h>>4;h=h+-1|0;return h|0}e=b+4|0;f=(c[e>>2]|0)+-1|0;c[e>>2]=f;if(f|0){g=d;h=a+72|0;h=c[h>>2]|0;h=g-h|0;h=h>>4;h=h+-1|0;return h|0}fp(c[h>>2]|0,b);g=c[g>>2]|0;h=a+72|0;h=c[h>>2]|0;h=g-h|0;h=h>>4;h=h+-1|0;return h|0}function Dq(d,e,f,i){d=d|0;e=e|0;f=f|0;i=i|0;var k=0,m=0.0,n=0,o=0,p=0,q=0,r=0;p=l;l=l+16|0;o=p;do switch(e<<24>>24){case 0:{a[o>>0]=Eq(d,-1)|0;CQ(f|0,o|0,i|0)|0;l=p;return}case 1:{n=d+72|0;e=c[n>>2]|0;q=(c[d+76>>2]|0)-e>>4;k=q+-1|0;if(!q)$n(d,267,-1);m=+jo(d,e+(k<<4)|0);n=c[n>>2]|0;r=n+(k<<4)|0;q=c[r>>2]|0;n=n+(k<<4)+8|0;e=c[n>>2]|0;c[r>>2]=0;h[n>>3]=m;if(q&8|0?(q=e+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0)go(c[d+44>>2]|0,e);do if(!(m<=0.0))if(!(m>=255.0)){h[j>>3]=m;r=c[j+4>>2]&2147483647;if(!(r>>>0>2146435072|(r|0)==2146435072&(c[j>>2]|0)>>>0>0))if(m-+A(+m)==.5){e=(~~m&255)+1&254;break}else{e=~~(m+.5)&255;break}else e=0}else e=-1;else e=0;while(0);a[o>>0]=e;CQ(f|0,o|0,i|0)|0;l=p;return}case 2:{a[o>>0]=Fq(d,-1)|0;CQ(f|0,o|0,i|0)|0;l=p;return}case 3:{b[o>>1]=Eq(d,-1)|0;CQ(f|0,o|0,i|0)|0;l=p;return}case 4:{b[o>>1]=Fq(d,-1)|0;CQ(f|0,o|0,i|0)|0;l=p;return}case 5:{c[o>>2]=Eq(d,-1)|0;CQ(f|0,o|0,i|0)|0;l=p;return}case 6:{c[o>>2]=Fq(d,-1)|0;CQ(f|0,o|0,i|0)|0;l=p;return}case 7:{k=d+72|0;e=c[k>>2]|0;r=(c[d+76>>2]|0)-e>>4;n=r+-1|0;if(!r)$n(d,267,-1);m=+jo(d,e+(n<<4)|0);q=c[k>>2]|0;k=q+(n<<4)|0;r=c[k>>2]|0;q=q+(n<<4)+8|0;e=c[q>>2]|0;c[k>>2]=0;h[q>>3]=m;if(r&8|0?(q=e+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0)go(c[d+44>>2]|0,e);g[o>>2]=m;CQ(f|0,o|0,i|0)|0;l=p;return}case 8:{k=d+72|0;e=c[k>>2]|0;r=(c[d+76>>2]|0)-e>>4;n=r+-1|0;if(!r)$n(d,267,-1);m=+jo(d,e+(n<<4)|0);q=c[k>>2]|0;k=q+(n<<4)|0;r=c[k>>2]|0;q=q+(n<<4)+8|0;e=c[q>>2]|0;c[k>>2]=0;h[q>>3]=m;if(r&8|0?(q=e+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0)go(c[d+44>>2]|0,e);h[o>>3]=m;CQ(f|0,o|0,i|0)|0;l=p;return}default:{}}while(0)}function Eq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0.0,i=0,k=0,l=0,m=0;l=a+76|0;i=a+72|0;e=c[i>>2]|0;f=(c[l>>2]|0)-e>>4;m=(b|0)<0;d=(m?f:0)+b|0;if(d>>>0>=f>>>0)$n(a,342,b);g=+jo(a,e+(d<<4)|0);h[j>>3]=g;d=c[j>>2]|0;e=c[j+4>>2]|0;f=e&2146435072;a:do if((f|0)<2146435072){switch(f|0){case 0:break;default:{k=6;break a}}if((e|0)<0)k=6;else f=0}else switch(f|0){case 2146435072:{f=0;break}default:k=6}while(0);if((k|0)==6){g=+A(+(+B(+g)));g=+GO((e|0)>-1|(e|0)==-1&d>>>0>4294967295?g:-g,4294967296.0);f=~~(g<0.0?g+4294967296.0:g)>>>0}e=c[i>>2]|0;l=(c[l>>2]|0)-e>>4;d=(m?l:0)+b|0;if(d>>>0>=l>>>0)$n(a,342,b);l=e+(d<<4)|0;b=c[l>>2]|0;m=e+(d<<4)+8|0;d=c[m>>2]|0;c[l>>2]=0;h[m>>3]=+(f>>>0);if(!(b&8))return f|0;m=d+4|0;b=(c[m>>2]|0)+-1|0;c[m>>2]=b;if(b|0)return f|0;go(c[a+44>>2]|0,d);return f|0}function Fq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0.0,i=0,k=0,l=0,m=0;l=a+76|0;i=a+72|0;e=c[i>>2]|0;f=(c[l>>2]|0)-e>>4;m=(b|0)<0;d=(m?f:0)+b|0;if(d>>>0>=f>>>0)$n(a,342,b);g=+jo(a,e+(d<<4)|0);h[j>>3]=g;d=c[j>>2]|0;e=c[j+4>>2]|0;f=e&2146435072;a:do if((f|0)<2146435072){switch(f|0){case 0:break;default:{k=6;break a}}if((e|0)<0)k=6;else f=0}else switch(f|0){case 2146435072:{f=0;break}default:k=6}while(0);if((k|0)==6){g=+A(+(+B(+g)));g=+GO((e|0)>-1|(e|0)==-1&d>>>0>4294967295?g:-g,4294967296.0);g=g<0.0?g+4294967296.0:g;f=~~(g>=2147483648.0?g+-4294967296.0:g)}e=c[i>>2]|0;l=(c[l>>2]|0)-e>>4;d=(m?l:0)+b|0;if(d>>>0>=l>>>0)$n(a,342,b);l=e+(d<<4)|0;b=c[l>>2]|0;m=e+(d<<4)+8|0;d=c[m>>2]|0;c[l>>2]=0;h[m>>3]=+(f|0);if(!(b&8))return f|0;m=d+4|0;b=(c[m>>2]|0)+-1|0;c[m>>2]=b;if(b|0)return f|0;go(c[a+44>>2]|0,d);return f|0}function Gq(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=a+76|0;if((c[i>>2]|0)>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4466);if(!d)Tn(a,268491,4500);if(e>>>0>=32767)if((e|0)==-1)g=-1;else Tn(a,268491,4500);else g=e&65535;h=xo(a,48)|0;j=a+44|0;e=c[j>>2]|0;c[h>>2]=f|1;e=e+24|0;f=c[e>>2]|0;if(f|0)c[f+12>>2]=h;c[h+12>>2]=0;c[h+8>>2]=f;c[e>>2]=h;c[h+40>>2]=d;b[h+44>>1]=g;f=c[i>>2]|0;c[f>>2]=9;c[f+8>>2]=h;f=h+4|0;c[f>>2]=(c[f>>2]|0)+1;c[i>>2]=(c[i>>2]|0)+16;f=c[a+152>>2]|0;i=h+20|0;e=c[i>>2]|0;c[i>>2]=f;if(f|0){i=f+4|0;c[i>>2]=(c[i>>2]|0)+1}if(!e)return;h=e+4|0;i=(c[h>>2]|0)+-1|0;c[h>>2]=i;if(i|0)return;fp(c[j>>2]|0,e);return}function Hq(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+80|0;r=s+64|0;p=s;Go(b,269035,p);m=d;n=a[268698+(m>>>28)>>0]|0;a[p>>0]=n;f=a[268698+(m>>>24&15)>>0]|0;a[p+1>>0]=f;g=a[268698+(m>>>20&15)>>0]|0;a[p+2>>0]=g;h=a[268698+(m>>>16&15)>>0]|0;a[p+3>>0]=h;i=a[268698+(m>>>12&15)>>0]|0;a[p+4>>0]=i;j=a[268698+(m>>>8&15)>>0]|0;a[p+5>>0]=j;k=a[268698+(m>>>4&15)>>0]|0;a[p+6>>0]=k;m=a[268698+(m&15)>>0]|0;a[p+7>>0]=m;q=b+76|0;d=c[q>>2]|0;if(d>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3931);o=c[b+44>>2]|0;g=(n&255)+(((f&255)+(((g&255)+(((h&255)+(((i&255)+(((j&255)+(((k&255)+(((m&255)+((c[o+140>>2]^8)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0;f=c[(c[o+168>>2]|0)+((c[o+172>>2]&g)<<2)>>2]|0;a:do if(f|0){while(1){if(((c[f+12>>2]|0)==(g|0)?(c[f+20>>2]|0)==8:0)?(xN(p,f+28|0,8)|0)==0:0)break;f=c[f+8>>2]|0;if(!f)break a}p=d+16|0;c[q>>2]=p;c[d>>2]=8;q=d+8|0;c[q>>2]=f;q=f+4|0;p=c[q>>2]|0;p=p+1|0;c[q>>2]=p;c[r>>2]=e;Go(b,269065,r);Io(b,3,0);l=s;return}while(0);d=no(o,p,8,g)|0;if(!d)Mn(b,269042,789);p=d;o=c[q>>2]|0;n=o+16|0;c[q>>2]=n;c[o>>2]=8;q=o+8|0;c[q>>2]=p;q=p+4|0;p=c[q>>2]|0;p=p+1|0;c[q>>2]=p;c[r>>2]=e;Go(b,269065,r);Io(b,3,0);l=s;return}function Iq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=a+76|0;if((c[g>>2]|0)>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4598);h=xo(a,60)|0;f=c[a+44>>2]|0;c[h>>2]=b|1;b=f+24|0;e=c[b>>2]|0;if(e|0)c[e+12>>2]=h;c[h+12>>2]=0;c[h+8>>2]=e;c[b>>2]=h;b=c[a+132+(d<<2)>>2]|0;d=h+20|0;e=c[d>>2]|0;c[d>>2]=b;if(b|0){d=b+4|0;c[d>>2]=(c[d>>2]|0)+1}if(e|0?(a=e+4|0,d=(c[a>>2]|0)+-1|0,c[a>>2]=d,(d|0)==0):0)fp(f,e);f=c[g>>2]|0;c[f>>2]=9;c[f+8>>2]=h;f=h+4|0;c[f>>2]=(c[f>>2]|0)+1;c[g>>2]=(c[g>>2]|0)+16;return h|0}function Jq(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+16|0;t=u;if(c[d>>2]&128|0){t=e;l=u;return t|0}h=wp(d)|0;if(c[d>>2]&128|0){t=e;l=u;return t|0}s=c[b+44>>2]|0;q=h>>>0>16;a:do if(q){j=0;f=0;do{k=s+188+(f*12|0)|0;m=(c[k>>2]|0)==(d|0);j=m?k:j;f=f+1|0}while((f|0)<4&(m^1));k=h-e|0;h=d+28|0;m=h+(c[d+20>>2]|0)|0;if(j){f=c[j+8>>2]|0;if(f>>>0>e>>>0){i=f-e|0;if(i>>>0>e>>>0|i>>>0>k>>>0){f=m;i=h;m=1;p=20;break}f=h+(c[j+4>>2]|0)|0;if(!i){i=1;p=31;break}b:while(1){do{f=f+-1|0;if(f>>>0>>0)break b}while((a[f>>0]&-64)<<24>>24==-128);i=i+-1|0;if(!i){n=f;g=j;o=h;r=1;break a}}lo(b,271503,307)}else{i=e-f|0;if(i>>>0>e>>>0|i>>>0>k>>>0){f=m;i=h;m=1;p=20;break}f=h+(c[j+4>>2]|0)|0;if(!i){i=1;p=31;break}c:while(1){do{f=f+1|0;if(f>>>0>=m>>>0)break c}while((a[f>>0]&-64)<<24>>24==-128);i=i+-1|0;if(!i){n=f;g=j;o=h;r=1;break a}}lo(b,271503,307)}}else{j=0;f=m;i=h;m=0;p=20}}else{p=d+28|0;j=0;k=h-e|0;f=p+(c[d+20>>2]|0)|0;i=p;m=0;h=p;p=20}while(0);d:do if((p|0)==20)if(k>>>0>>0){if(!k){i=m;p=31;break}e:while(1){do{f=f+-1|0;if(f>>>0>>0)break e}while((a[f>>0]&-64)<<24>>24==-128);k=k+-1|0;if(!k){n=f;g=j;o=h;r=m;break d}}lo(b,271503,307)}else{if(!e){f=i;i=m;p=31;break}else k=e;f:while(1){do{i=i+1|0;if(i>>>0>=f>>>0)break f}while((a[i>>0]&-64)<<24>>24==-128);k=k+-1|0;if(!k){n=i;g=j;o=h;r=m;break d}}lo(b,271503,307)}while(0);if((p|0)==31)if(!f)lo(b,271503,307);else{n=f;g=j;o=h;r=i}h=n-o|0;if(!q){t=h;l=u;return t|0}if(!r){g=s+224|0;c[g>>2]=d}c[g+4>>2]=h;c[g+8>>2]=e;f=s+188|0;if(g>>>0<=f>>>0){t=h;l=u;return t|0};c[t>>2]=c[g>>2];c[t+4>>2]=c[g+4>>2];c[t+8>>2]=c[g+8>>2];DQ(s+200|0,f|0,g-f|0)|0;c[f>>2]=c[t>>2];c[f+4>>2]=c[t+4>>2];c[f+8>>2]=c[t+8>>2];t=h;l=u;return t|0}function Kq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=a+76|0;e=c[a+72>>2]|0;f=(c[h>>2]|0)-e>>4;if(!f)$n(a,342,-1);g=e+(f+-1<<4)|0;d=((b|0)<0?f:0)+b|0;if(d>>>0>=f>>>0)$n(a,342,b);b=e+(d<<4)|0;f=c[b>>2]|0;d=c[e+(d<<4)+8>>2]|0;c[b>>2]=c[g>>2];c[b+4>>2]=c[g+4>>2];c[b+8>>2]=c[g+8>>2];c[b+12>>2]=c[g+12>>2];c[g>>2]=2;c[h>>2]=(c[h>>2]|0)+-16;if(!(f&8))return;g=d+4|0;h=(c[g>>2]|0)+-1|0;c[g>>2]=h;if(h|0)return;go(c[a+44>>2]|0,d);return}function Lq(f,i,j,k){f=f|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0.0,q=0;q=l;l=l+16|0;o=q;CQ(o|0,j|0,k|0)|0;a:do switch(i<<24>>24){case 1:case 0:{i=f+76|0;j=c[i>>2]|0;if(j>>>0<(c[f+68>>2]|0)>>>0){m=i;n=j;p=+(d[o>>0]|0);break a}else Sn(f,3902);break}case 2:{j=f+76|0;i=c[j>>2]|0;if(i>>>0<(c[f+68>>2]|0)>>>0){m=j;n=i;p=+(a[o>>0]|0);break a}else Sn(f,3868);break}case 3:{i=f+76|0;j=c[i>>2]|0;if(j>>>0<(c[f+68>>2]|0)>>>0){m=i;n=j;p=+(e[o>>1]|0);break a}else Sn(f,3902);break}case 4:{i=f+76|0;j=c[i>>2]|0;if(j>>>0<(c[f+68>>2]|0)>>>0){m=i;n=j;p=+(b[o>>1]|0);break a}else Sn(f,3868);break}case 5:{i=f+76|0;j=c[i>>2]|0;if(j>>>0<(c[f+68>>2]|0)>>>0){m=i;n=j;p=+((c[o>>2]|0)>>>0);break a}else Sn(f,3902);break}case 6:{i=f+76|0;j=c[i>>2]|0;if(j>>>0<(c[f+68>>2]|0)>>>0){m=i;n=j;p=+(c[o>>2]|0);break a}else Sn(f,3868);break}case 7:{i=f+76|0;j=c[i>>2]|0;if(j>>>0<(c[f+68>>2]|0)>>>0){m=i;n=j;p=+g[o>>2]}else Sn(f,3835);break}case 8:{i=f+76|0;j=c[i>>2]|0;if(j>>>0<(c[f+68>>2]|0)>>>0){m=i;n=j;p=+h[o>>3]}else Sn(f,3835);break}default:{}}while(0);c[m>>2]=n+16;c[n>>2]=0;h[n+8>>3]=p;l=q;return}function Mq(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;t=b+76|0;o=c[t>>2]|0;q=b+72|0;e=c[q>>2]|0;f=o-e>>4;s=((d|0)<0?f:0)+d|0;if(s>>>0>=f>>>0)$n(b,267,d);r=(s|0)<0;d=(r?f:0)+s|0;d=d>>>0>>0?e+(d<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=8)In(b,1812,s,287470);d=c[d+8>>2]|0;if(!d)In(b,1812,s,287470);l=d+28|0;k=l+(c[d+20>>2]|0)|0;a:do if(l>>>0>>0){h=l;b:while(1){if(h>>>0>>0){n=25;break}e=h+1|0;d=a[h>>0]|0;f=d&255;do if(d<<24>>24<=-1){if((d&255)<192){n=25;break b}if((d&255)<224){g=1;d=f&31;break}if((d&255)<240){g=2;d=f&15;break}if((d&255)<248){g=3;d=f&7;break}if((d&255)<252){g=4;d=f&3;break}if((d&255)>=254)if(d<<24>>24==-1){n=25;break b}else{g=6;d=0;break}else{g=5;d=f&1;break}}else{g=0;d=f&127}while(0);if((e+g|0)>>>0>k>>>0){n=25;break}if(g)while(1){f=e+1|0;d=a[e>>0]&63|d<<6;if((g|0)>1){e=f;g=g+-1|0}else{e=f;break}}c:do switch(d>>8|0){case 0:{switch((d&255)<<24>>24){case -96:case 32:case 12:case 11:case 9:break;default:n=31}break}case 32:{if((d&255)>>>0>=11)switch((d&255)<<24>>24){case 47:case 95:break;default:n=31}break}default:{if((d|0)<8232)if((d|0)<5760)switch(d|0){case 10:case 13:break c;default:{i=h;n=33;break b}}else switch(d|0){case 5760:case 6158:break c;default:{i=h;n=33;break b}}if((d|0)<12288)switch(d|0){case 8232:case 8233:break c;default:{i=h;n=33;break b}}if((d|0)<65279)switch(d|0){case 12288:break c;default:{i=h;n=33;break b}}else switch(d|0){case 65279:break c;default:{i=h;n=33;break b}}}}while(0);d:do if((n|0)==31){n=0;if((d|0)<8232)switch(d|0){case 10:case 13:break d;default:{i=h;n=33;break b}}else switch(d|0){case 8232:case 8233:break d;default:{i=h;n=33;break b}}}while(0);if(e>>>0>>0)h=e;else{i=e;n=33;break}}if((n|0)==25)lo(b,271603,282);else if((n|0)==33){if((i|0)==(k|0)){m=k;p=k;break}else j=k;e:while(1){d=j;do{if(d>>>0<=l>>>0)break;d=d+-1|0}while((a[d>>0]&-64)<<24>>24==-128);if(!(d>>>0>=l>>>0&d>>>0>>0)){n=55;break}h=d+1|0;e=a[d>>0]|0;f=e&255;do if(e<<24>>24<=-1){if((e&255)<192){n=55;break e}if((e&255)<224){g=1;e=f&31;break}if((e&255)<240){g=2;e=f&15;break}if((e&255)<248){g=3;e=f&7;break}if((e&255)<252){g=4;e=f&3;break}if((e&255)>=254)if(e<<24>>24==-1){n=55;break e}else{g=6;e=0;break}else{g=5;e=f&1;break}}else{g=0;e=f&127}while(0);if((h+g|0)>>>0>k>>>0){n=55;break}if(g)while(1){e=a[h>>0]&63|e<<6;if((g|0)>1){h=h+1|0;g=g+-1|0}else break}f:do switch(e>>8|0){case 0:{switch((e&255)<<24>>24){case -96:case 32:case 12:case 11:case 9:break;default:n=61}break}case 32:{if((e&255)>>>0>=11)switch((e&255)<<24>>24){case 47:case 95:break;default:n=61}break}default:{if((e|0)<8232)if((e|0)<5760)switch(e|0){case 10:case 13:break f;default:{m=j;p=i;break a}}else switch(e|0){case 5760:case 6158:break f;default:{m=j;p=i;break a}}if((e|0)<12288)switch(e|0){case 8232:case 8233:break f;default:{m=j;p=i;break a}}if((e|0)<65279)switch(e|0){case 12288:break f;default:{m=j;p=i;break a}}else switch(e|0){case 65279:break f;default:{m=j;p=i;break a}}}}while(0);g:do if((n|0)==61){n=0;if((e|0)<8232)switch(e|0){case 10:case 13:break g;default:{m=j;p=i;break a}}else switch(e|0){case 8232:case 8233:break g;default:{m=j;p=i;break a}}}while(0);if(d>>>0>l>>>0)j=d;else{m=d;p=i;break a}}if((n|0)==55)lo(b,271603,282)}}else{m=k;p=l}while(0);d=m>>>0

>>0?p:m;if((p|0)==(l|0)&(d|0)==(k|0))return;if(o>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3931);d=(p|0)==0?0:d-p|0;if((d|0)<0)Jn(b,268491,50335592,268919);e=Fo(b,p,d)|0;f=c[t>>2]|0;c[t>>2]=f+16;c[f>>2]=8;c[f+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[q>>2]|0;f=(c[t>>2]|0)-e>>4;if(!f)$n(b,342,-1);g=e+(f+-1<<4)|0;d=(r?f:0)+s|0;if(d>>>0>=f>>>0)$n(b,342,s);r=e+(d<<4)|0;s=c[r>>2]|0;d=c[e+(d<<4)+8>>2]|0;c[r>>2]=c[g>>2];c[r+4>>2]=c[g+4>>2];c[r+8>>2]=c[g+8>>2];c[r+12>>2]=c[g+12>>2];c[g>>2]=2;c[t>>2]=(c[t>>2]|0)+-16;if(!(s&8))return;s=d+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)return;go(c[b+44>>2]|0,d);return}function Nq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=a+76|0;e=c[a+72>>2]|0;f=(c[i>>2]|0)-e|0;g=f>>4;h=g+-1|0;if(!g)$n(a,267,-1);f=((f|0)<16?g:0)+h|0;e=f>>>0>>0?e+(f<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8)In(a,1812,h,287470);e=c[e+8>>2]|0;if(!e)In(a,1812,h,287470);f=wp(e)|0;d=f>>>0>d>>>0?d:f;f=Jq(a,e,d>>>0>>0?d:b)|0;e=Fo(a,e+28+f|0,(Jq(a,e,d)|0)-f|0)|0;f=c[i>>2]|0;if(f>>>0<(c[a+68>>2]|0)>>>0){c[i>>2]=f+16;c[f>>2]=8;c[f+8>>2]=e;i=e+4|0;c[i>>2]=(c[i>>2]|0)+1;Kq(a,h);return}else Sn(a,3761)}function Oq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0.0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+16|0;p=q+8|0;i=a+40|0;k=c[i>>2]|0;if(k|0){c[(c[a+88>>2]|0)+28>>2]=c[k>>2];c[i>>2]=0}m=a+44|0;r=c[m>>2]|0;n=r+64|0;if(!(c[n>>2]|0)){o=a+56|0;c[o>>2]=10019;c[n>>2]=1;i=a+76|0;k=((c[i>>2]|0)-(c[a+64>>2]|0)>>4)+65|0;if((c[a+80>>2]|0)>>>0>>0)Yn(a,k,4)|0;c[p>>2]=d;Pq(a,b|16777216,e,f,0,p);Ep(a,106);i=c[i>>2]|0;p=i+-16|0;f=c[m>>2]|0;c[f+76>>2]=1;f=f+88|0;c[f>>2]=c[p>>2];c[f+4>>2]=c[p+4>>2];c[f+8>>2]=c[p+8>>2];c[f+12>>2]=c[p+12>>2];if(c[p>>2]&8|0){p=(c[i+-8>>2]|0)+4|0;c[p>>2]=(c[p>>2]|0)+1}c[o>>2]=1e4;c[(c[m>>2]|0)+64>>2]=0;Do(a)}c[a+56>>2]=1e4;c[n>>2]=0;i=c[a+292>>2]|0;if(!i){g=+(b|0);h[q>>3]=g;i=0}else{c[q>>2]=i;g=+h[q>>3];i=9}c[r+76>>2]=1;c[r+88>>2]=i;h[r+96>>3]=g;if(i&8|0){h[j>>3]=g;r=(c[j>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}Do(a)}function Pq(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;f=l;l=l+16|0;h=f;c[h>>2]=g;Qq(a,b,d,e,294455,h);l=f;return}function Qq(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 i=0,j=0,k=0,l=0,m=0;l=b&16777216;i=b&-16777217;switch(i|0){case 2:{b=21;break}case 3:{b=23;break}case 4:{b=25;break}case 5:{b=27;break}case 6:{b=29;break}case 7:{b=31;break}default:b=19}Rq(a,939540608,c[a+132+(b<<2)>>2]|0);do if(!f){g=a+76|0;b=c[g>>2]|0;if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3868);m=b+16|0;c[g>>2]=m;c[b>>2]=0;h[b+8>>3]=+(i|0);f=a+72|0;i=c[f>>2]|0;b=m-i>>4;b=b>>>0>1?i+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);else{ho(a,b,c[(c[a+428>>2]|0)+208>>2]|0,5);j=g;k=f;break}}else{So(a,f,g);f=a+76|0;g=a+72|0;m=c[g>>2]|0;b=(c[f>>2]|0)-m>>4;b=b>>>0>1?m+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);else{ho(a,b,c[(c[a+428>>2]|0)+208>>2]|0,5);j=f;k=g;break}}while(0);m=c[k>>2]|0;b=(c[j>>2]|0)-m>>4;b=b|0?m+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)return;i=c[b+8>>2]|0;if(!i)return;g=c[a+208>>2]|0;if(!g)return;else{b=1e4;f=i}while(1){if((f|0)==(g|0)){b=25;break}if(!b){b=28;break}f=c[f+20>>2]|0;if(!f){b=28;break}else b=b+-1|0}if((b|0)==25){if(c[i>>2]&128|0)Dp(a,a,d,e,l,i);Ep(a,105);return}else if((b|0)==28)return}function Rq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+76|0;if((c[e>>2]|0)>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4255);f=xo(a,40)|0;g=a+44|0;a=c[g>>2]|0;c[f>>2]=b|1;a=a+24|0;b=c[a>>2]|0;if(b|0)c[b+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=b;c[a>>2]=f;a=c[e>>2]|0;c[a>>2]=9;c[a+8>>2]=f;a=f+4|0;c[a>>2]=(c[a>>2]|0)+1;c[e>>2]=(c[e>>2]|0)+16;f=f+20|0;a=c[f>>2]|0;c[f>>2]=d;if(d|0){d=d+4|0;c[d>>2]=(c[d>>2]|0)+1}if(!a)return;f=a+4|0;d=(c[f>>2]|0)+-1|0;c[f>>2]=d;if(d|0)return;fp(c[g>>2]|0,a);return}function Sq(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=l;l=l+16|0;c[h>>2]=g;Qq(a,b,d,e,f,h);Ip(a)}function Tq(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,m=0,n=0;n=l;l=l+16|0;j=n;k=a+76|0;e=c[k>>2]|0;m=a+72|0;d=c[m>>2]|0;h=(e-d>>4)-b|0;i=d;if((b|0)<0|(h|0)<1)Tn(a,268476,49);if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3772);e=e+16|0;c[k>>2]=e;g=e-d>>4;f=((h|0)<0?g:0)+h|0;if(f>>>0>=g>>>0)$n(a,342,h);h=i+(f<<4)|0;f=i+(g+-1<<4)|0;g=f-h|0;if(g){c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];DQ(h+16|0,h|0,g|0)|0;c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];c[h+12>>2]=c[j+12>>2];e=c[k>>2]|0;d=c[m>>2]|0}d=e-d|0;e=(b<<4)+32|0;if(d>>>0>>0)Tn(a,268521,942);else{so(a,b,0,(d-e|0)>>>4);l=n;return}}function Uq(a,b){a=a|0;b=b|0;yp(a,c[(c[a+76>>2]|0)+-8>>2]|0);return 0}function Vq(a,b){a=a|0;b=b|0;var d=0,e=0;if(c[a+48>>2]|0)return;d=c[b+8>>2]|0;e=c[b+12>>2]|0;if(!e)c[a+24>>2]=d;else c[e+8>>2]=d;if(d|0)c[d+12>>2]=e;if((c[b>>2]&384|0)==128){e=a+12|0;d=a+16|0;Bg[c[e>>2]&255](c[d>>2]|0,c[b+20>>2]|0)}else{e=a+12|0;d=a+16|0}Bg[c[e>>2]&255](c[d>>2]|0,b);return}function Wq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+16|0;i=j;e=a+76|0;d=c[e>>2]|0;f=c[a+72>>2]|0;g=(d-f>>4)-b|0;h=f;if((b|0)<0|(g|0)<1)Tn(a,268476,124);if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3772);d=d+16|0;c[e>>2]=d;e=d-f>>4;d=((g|0)<0?e:0)+g|0;if(d>>>0>=e>>>0)$n(a,342,g);f=h+(d<<4)|0;d=h+(e+-1<<4)|0;e=d-f|0;if(!e){i=Gp(a,b,0)|0;l=j;return i|0};c[i>>2]=c[d>>2];c[i+4>>2]=c[d+4>>2];c[i+8>>2]=c[d+8>>2];c[i+12>>2]=c[d+12>>2];DQ(f+16|0,f|0,e|0)|0;c[f>>2]=c[i>>2];c[f+4>>2]=c[i+4>>2];c[f+8>>2]=c[i+8>>2];c[f+12>>2]=c[i+12>>2];i=Gp(a,b,0)|0;l=j;return i|0}function Xq(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;o=(d|0)!=0;if(o)c[d>>2]=0;j=a+76|0;k=a+72|0;p=c[k>>2]|0;q=(c[j>>2]|0)-p>>4;g=(b|0)<0;f=(g?q:0)+b|0;f=f>>>0>>0?p+(f<<4)|0:0;f=(f|0)==0?944:f;switch(c[f>>2]|0){case 10:{e=c[f+8>>2]|0;if(o)c[d>>2]=c[e+16>>2];if(!(c[e>>2]&128)){q=e+24|0;return q|0}else{q=c[e+20>>2]|0;return q|0}}case 9:{l=9;break}default:{}}if((((l|0)==9?(h=c[f+8>>2]|0,c[h>>2]&8192|0):0)?(i=c[h+40>>2]|0,i|0):0)?(m=h+48|0,e=c[m>>2]|0,n=c[h+52>>2]|0,(n+e|0)>>>0<=(c[i+16>>2]|0)>>>0):0){if(!(c[i>>2]&128))f=i+24|0;else f=c[i+20>>2]|0;if(o){c[d>>2]=n;e=c[m>>2]|0}q=f+e|0;return q|0}Ho(a,b)|0;q=c[k>>2]|0;p=(c[j>>2]|0)-q>>4;e=(g?p:0)+b|0;e=e>>>0

>>0?q+(e<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8)In(a,1812,b,287470);e=c[e+8>>2]|0;if(!e)In(a,1812,b,287470);if(d|0)c[d>>2]=c[e+20>>2];q=e+28|0;return q|0}function Yq(e,f){e=e|0;f=f|0;var 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;t=l;l=l+16|0;i=t+4|0;o=t;s=e+76|0;p=e+72|0;q=(c[s>>2]|0)-(c[p>>2]|0)>>4;r=((f|0)<0?q:0)+f|0;if(r>>>0>=q>>>0)$n(e,267,f);n=Xq(e,r,o)|0;f=c[o>>2]|0;if(f&1|0)Jn(e,271833,100663895,271132);f=f>>>1;if((c[s>>2]|0)>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,4815);if((f|0)==2147483647)Jn(e,268491,50336467,268447);q=e+44|0;f=Po(c[q>>2]|0,f,4,i)|0;if(!f)Mn(e,268491,4824);k=c[s>>2]|0;c[k>>2]=10;c[k+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;c[s>>2]=(c[s>>2]|0)+16;f=c[i>>2]|0;i=c[o>>2]|0;k=i&-8;do if(k){j=0;while(1){v=a[269806+(d[n+(j|1)>>0]|0)>>0]|b[34808+(d[n+j>>0]<<1)>>1];a[f>>0]=v;w=a[269806+(d[n+(j|3)>>0]|0)>>0]|b[34808+(d[n+(j|2)>>0]<<1)>>1];a[f+1>>0]=w;u=a[269806+(d[n+(j|5)>>0]|0)>>0]|b[34808+(d[n+(j|4)>>0]<<1)>>1];a[f+2>>0]=u;i=a[269806+(d[n+(j|7)>>0]|0)>>0]|b[34808+(d[n+(j|6)>>0]<<1)>>1];a[f+3>>0]=i;if((w|v|u|i|0)<0){i=25;break}f=f+4|0;j=j+8|0;if(j>>>0>=k>>>0){i=11;break}}if((i|0)==11){g=j;h=f;m=c[o>>2]|0;break}else if((i|0)==25)Jn(e,271833,100663895,271132)}else{g=0;h=f;m=i}while(0);a:do if(g>>>0>>0){while(1){f=a[269806+(d[n+(g|1)>>0]|0)>>0]|a[269806+(d[n+g>>0]|0)>>0]<<4;if((f|0)<0)break;a[h>>0]=f;g=g+2|0;if(g>>>0>=(c[o>>2]|0)>>>0)break a;else h=h+1|0}Jn(e,271833,100663895,271132)}while(0);f=c[p>>2]|0;h=(c[s>>2]|0)-f>>4;if(!h)$n(e,342,-1);i=f+(h+-1<<4)|0;g=((r|0)<0?h:0)+r|0;if(g>>>0>=h>>>0)$n(e,342,r);v=f+(g<<4)|0;w=c[v>>2]|0;g=c[f+(g<<4)+8>>2]|0;c[v>>2]=c[i>>2];c[v+4>>2]=c[i+4>>2];c[v+8>>2]=c[i+8>>2];c[v+12>>2]=c[i+12>>2];c[i>>2]=2;c[s>>2]=(c[s>>2]|0)+-16;if(!(w&8)){l=t;return}v=g+4|0;w=(c[v>>2]|0)+-1|0;c[v>>2]=w;if(w|0){l=t;return}go(c[q>>2]|0,g);l=t;return}function Zq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=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,A=0,B=0,C=0.0;B=l;l=l+352|0;p=B+348|0;t=B;A=a+76|0;k=c[A>>2]|0;w=a+72|0;y=k-(c[w>>2]|0)|0;z=y>>4;u=t+4|0;EQ(u|0,0,344)|0;c[t>>2]=a;n=t+28|0;c[n>>2]=-1;c[t+36>>2]=f;c[t+40>>2]=f&1;g=f&2;c[t+44>>2]=g;v=f&4;c[t+48>>2]=v;i=f&8;c[t+52>>2]=i;j=f&12;c[t+56>>2]=j;f=t+72|0;c[f>>2]=152;if(!v){if(i|0){c[f>>2]=113;c[t+76>>2]=114;c[t+80>>2]=116;c[t+84>>2]=115;f=117;q=5}}else{c[f>>2]=58;c[t+76>>2]=59;c[t+80>>2]=61;c[t+84>>2]=60;f=(g>>>1)+117|0;q=5}if((q|0)==5)c[t+88>>2]=f;if(!j)c[t+68>>2]=770;s=a+68|0;if(k>>>0>=(c[s>>2]|0)>>>0)Sn(a,4815);v=a+44|0;f=Po(c[v>>2]|0,128,1,p)|0;if(!f)Mn(a,268491,4824);j=c[A>>2]|0;c[j>>2]=10;c[j+8>>2]=f;j=f+4|0;c[j>>2]=(c[j>>2]|0)+1;j=c[A>>2]|0;k=j+16|0;c[A>>2]=k;j=c[j+8>>2]|0;c[t+16>>2]=j;j=c[j+20>>2]|0;c[u>>2]=j;r=t+8|0;c[r>>2]=j;c[t+12>>2]=j+128;if(k>>>0>=(c[s>>2]|0)>>>0)Sn(a,4255);f=xo(a,40)|0;g=c[v>>2]|0;c[f>>2]=134234241;g=g+24|0;i=c[g>>2]|0;if(i|0)c[i+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=i;c[g>>2]=f;i=c[A>>2]|0;c[i>>2]=9;c[i+8>>2]=f;i=f+4|0;c[i>>2]=(c[i>>2]|0)+1;i=(c[A>>2]|0)+16|0;c[A>>2]=i;j=c[w>>2]|0;k=i-j>>4;c[t+32>>2]=k+-1;g=j;f=((d|0)<0?k:0)+d|0;f=f>>>0>>0?g+(f<<4)|0:0;f=(f|0)==0?944:f;do if((c[f>>2]|0)==9?(m=c[f+8>>2]|0,(m|0)!=0):0){f=c[m>>2]|0;if(f&6656|0){c[t+20>>2]=m;break}if((f&-134217728|0)==268435456){i=xo(a,48)|0;j=c[v>>2]|0;c[i>>2]=272679041;f=j+24|0;g=c[f>>2]|0;if(g|0)c[g+12>>2]=i;c[i+12>>2]=0;c[i+8>>2]=g;c[f>>2]=i;f=c[a+160>>2]|0;m=i+20|0;g=c[m>>2]|0;c[m>>2]=f;if(f|0){m=f+4|0;c[m>>2]=(c[m>>2]|0)+1}if(g|0?(k=g+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)fp(j,g);k=c[A>>2]|0;c[k>>2]=9;c[k+8>>2]=i;k=i+4|0;c[k>>2]=(c[k>>2]|0)+1;k=c[A>>2]|0;m=k-(c[w>>2]|0)>>4;c[A>>2]=k+16;c[n>>2]=m;_q(a,d,96);a:do if($q(a,-1,1)|0){g=0;while(1){b:while(1){d=c[w>>2]|0;f=(c[A>>2]|0)-d>>4;f=f|0?d+(f+-1<<4)|0:0;switch(c[f>>2]|0){case 0:break b;case 8:{if(!(c[c[f+8>>2]>>2]&512))break b;break}case 9:{switch((c[c[f+8>>2]>>2]|0)>>>27&31){case 10:case 12:break b;default:{}}break}default:{}}iq(a);if(!($q(a,-1,1)|0))break a}Ho(a,-1)|0;Tp(a,-4,g);g=g+1|0;f=c[A>>2]|0;if((f|0)==(c[w>>2]|0))break;n=f+-16|0;c[A>>2]=n;d=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[n>>2]=2;do if(d&8|0){n=f+4|0;d=(c[n>>2]|0)+-1|0;c[n>>2]=d;if(d|0)break;go(c[v>>2]|0,f)}while(0);if(!($q(a,-1,1)|0))break a}Jn(a,268491,50336874,268507)}while(0);f=c[A>>2]|0;g=c[w>>2]|0;j=g;if((f|0)==(g|0))Jn(a,268491,50336874,268507);i=f+-16|0;c[A>>2]=i;d=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[i>>2]=2;if((d&8|0)!=0?(n=f+4|0,d=(c[n>>2]|0)+-1|0,c[n>>2]=d,(d|0)==0):0){go(c[v>>2]|0,f);j=c[w>>2]|0;g=j;i=c[A>>2]|0}}}while(0);d=i-g>>4;m=(e|0)<0;f=(m?d:0)+e|0;f=f>>>0>>0?g+(f<<4)|0:0;f=(f|0)==0?944:f;c:do if((c[f>>2]|0)==9?(o=c[f+8>>2]|0,o|0):0){switch((c[o>>2]|0)>>>27&31){case 10:break;case 12:{Ho(a,e)|0;break c}default:break c}o=i-j>>4;f=(m?o:0)+e|0;if(f>>>0>=o>>>0)$n(a,267,e);C=+jo(a,j+(f<<4)|0);d=c[w>>2]|0;n=d+(f<<4)|0;o=c[n>>2]|0;d=d+(f<<4)+8|0;f=c[d>>2]|0;c[n>>2]=0;h[d>>3]=C;if(o&8|0?(d=f+4|0,o=(c[d>>2]|0)+-1|0,c[d>>2]=o,(o|0)==0):0)go(c[v>>2]|0,f)}while(0);k=c[A>>2]|0;f=c[w>>2]|0;g=k-f>>4;i=(m?g:0)+e|0;g=i>>>0>>0;i=f+(i<<4)|0;f=g?i:0;f=(f|0)==0?944:f;j=k;d:do switch(c[f>>2]|0){case 0:{f=ar(a,e,0,10,p)|0;if((c[A>>2]|0)>>>0>=(c[s>>2]|0)>>>0)Sn(a,3931);if((f|0)<0)Jn(a,268491,50335592,268919);else{q=Fo(a,272119,f)|0;p=c[A>>2]|0;c[A>>2]=p+16;c[p>>2]=8;c[p+8>>2]=q;q=q+4|0;c[q>>2]=(c[q>>2]|0)+1;q=69;break d}break}case 8:{p=c[f+8>>2]|0;if(p|0?(c[p>>2]&512|0)==0:0){if(j>>>0>=(c[s>>2]|0)>>>0)Sn(a,935);if(!g)$n(a,342,e);c[A>>2]=j+16;q=k;c[q>>2]=c[i>>2];c[q+4>>2]=c[i+4>>2];c[q+8>>2]=c[i+8>>2];c[q+12>>2]=c[i+12>>2];if(c[j>>2]&8|0){q=(c[j+8>>2]|0)+4|0;c[q>>2]=(c[q>>2]|0)+1}Nq(a,0,10);q=69}break}default:{}}while(0);if((q|0)==69)c[t+24>>2]=c[(c[A>>2]|0)+-8>>2];f=t+24|0;q=c[f>>2]|0;if(q|0?(c[q+20>>2]|0)==0:0)c[f>>2]=0;d=Cq(a)|0;g=c[A>>2]|0;if(g>>>0>=(c[s>>2]|0)>>>0)Sn(a,935);i=c[w>>2]|0;q=g-i>>4;f=((b|0)<0?q:0)+b|0;if(f>>>0>=q>>>0)$n(a,342,b);b=i+(f<<4)|0;c[A>>2]=g+16;c[g>>2]=c[b>>2];c[g+4>>2]=c[b+4>>2];c[g+8>>2]=c[b+8>>2];c[g+12>>2]=c[b+12>>2];if(c[g>>2]&8|0){b=(c[g+8>>2]|0)+4|0;c[b>>2]=(c[b>>2]|0)+1}f=c[A>>2]|0;i=f-(c[w>>2]|0)|0;b=i>>4;j=b+-2|0;if(b>>>0<=1)$n(a,267,-2);n=a+428|0;g=c[(c[n>>2]|0)+60>>2]|0;if(f>>>0>=(c[s>>2]|0)>>>0)Sn(a,3761);c[A>>2]=f+16;c[f>>2]=8;c[f+8>>2]=g;k=g+4|0;c[k>>2]=(c[k>>2]|0)+1;k=c[w>>2]|0;m=(c[A>>2]|0)-k>>4;i=((i|0)<32?m:0)+j|0;if(i>>>0>=m>>>0)$n(a,342,j);if((m|0)==1)$n(a,342,-2);g=m+-2|0;f=c[a+88>>2]|0;if(!f)f=1;else f=c[f+32>>2]&1;cp(a,k+(i<<4)|0,k+(m+-1<<4)|0,c[k+(g<<4)>>2]|0,c[k+(g<<4)+4>>2]|0,+h[k+(g<<4)+8>>3],f)|0;g=c[A>>2]|0;if(g-(c[w>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);q=g+-16|0;b=c[q>>2]|0;f=c[g+-8>>2]|0;c[q>>2]=2;do if(b&8|0){q=f+4|0;b=(c[q>>2]|0)+-1|0;c[q>>2]=b;if(b|0)break;Wn(c[v>>2]|0,f)}while(0);q=g+-32|0;b=c[q>>2]|0;f=c[g+-24>>2]|0;c[q>>2]=2;do if(b&8|0){q=f+4|0;b=(c[q>>2]|0)+-1|0;c[q>>2]=b;if(b|0)break;Wn(c[v>>2]|0,f)}while(0);g=g+-32|0;c[A>>2]=g;f=c[v>>2]|0;if(c[f+32>>2]|0){Rn(f);g=c[A>>2]|0}f=c[(c[n>>2]|0)+60>>2]|0;if(g>>>0>=(c[s>>2]|0)>>>0)Sn(a,3761);c[A>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;b=f+4|0;c[b>>2]=(c[b>>2]|0)+1;c[t+64>>2]=1e3;do if(!(br(t,d)|0)){f=c[A>>2]|0;if(f>>>0<(c[s>>2]|0)>>>0){x=f+16|0;c[A>>2]=x;break}else Sn(a,3772)}else{g=c[r>>2]|0;if((c[A>>2]|0)>>>0>=(c[s>>2]|0)>>>0)Sn(a,3931);f=(g|0)==0?0:(c[u>>2]|0)-g|0;if((f|0)<0)Jn(a,268491,50335592,268919);else{x=Fo(a,g,f)|0;u=c[A>>2]|0;c[A>>2]=u+16;c[u>>2]=8;c[u+8>>2]=x;x=x+4|0;c[x>>2]=(c[x>>2]|0)+1;x=c[A>>2]|0;break}}while(0);i=c[w>>2]|0;g=x-i>>4;if(!g)$n(a,342,-1);j=i+(g+-1<<4)|0;f=((y|0)<0?g:0)+z|0;if(f>>>0>=g>>>0)$n(a,342,z);x=i+(f<<4)|0;y=c[x>>2]|0;f=c[i+(f<<4)+8>>2]|0;c[x>>2]=c[j>>2];c[x+4>>2]=c[j+4>>2];c[x+8>>2]=c[j+8>>2];c[x+12>>2]=c[j+12>>2];c[j>>2]=2;c[A>>2]=(c[A>>2]|0)+-16;if(!(y&8)){A=z+1|0;_n(a,A);l=B;return}y=f+4|0;A=(c[y>>2]|0)+-1|0;c[y>>2]=A;if(A|0){A=z+1|0;_n(a,A);l=B;return}go(c[v>>2]|0,f);A=z+1|0;_n(a,A);l=B;return}function _q(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=a+76|0;h=c[g>>2]|0;if(h>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);i=a+72|0;f=c[i>>2]|0;j=h-f>>4;e=((b|0)<0?j:0)+b|0;if(e>>>0>=j>>>0)$n(a,342,b);j=f+(e<<4)|0;c[g>>2]=h+16;c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];c[h+12>>2]=c[j+12>>2];if(c[h>>2]&8|0){j=(c[h+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}j=c[i>>2]|0;e=(c[g>>2]|0)-j>>4;e=e|0?j+(e+-1<<4)|0:0;e=(e|0)==0?944:e;switch(c[e>>2]|0){case 9:{if(!(c[e+8>>2]|0))In(a,2094,-1,268820);else{tp(a,d);return}break}case 6:case 10:{vo(a,-1);tp(a,d);return}default:In(a,2094,-1,268820)}}function $q(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;i=a+76|0;j=c[i>>2]|0;e=c[a+72>>2]|0;f=j-e>>4;g=((b|0)<0?f:0)+b|0;f=g>>>0>>0;g=e+(g<<4)|0;e=f?g:0;e=(e|0)==0?944:e;h=j;if((c[e>>2]|0)!=9)In(a,1834,b,268820);if(!(c[e+8>>2]|0))In(a,1834,b,268820);if(h>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);if(!f)$n(a,342,b);c[i>>2]=h+16;c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];if(!(c[h>>2]&8)){j=up(a,d)|0;return j|0}j=(c[h+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1;j=up(a,d)|0;return j|0}function ar(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0;o=a+76|0;p=a+72|0;i=c[p>>2]|0;q=(c[o>>2]|0)-i>>4;n=(b|0)<0;g=(n?q:0)+b|0;if(g>>>0>=q>>>0)$n(a,342,b);k=+jo(a,i+(g<<4)|0);h[j>>3]=k;g=c[j>>2]|0;i=c[j+4>>2]|0;if(0==0&(i&2146435072|0)==2146435072)m=(g|0)!=0|(i&1048575|0)!=0?0.0:k;else{m=+A(+(+B(+k)));m=(i|0)>-1|(i|0)==-1&g>>>0>4294967295?m:-m}k=+(d|0);l=+(e|0);if(!(ml){k=l;d=e;i=1}else{k=m;d=~~m;i=0}else i=1;q=c[p>>2]|0;p=(c[o>>2]|0)-q>>4;o=(n?p:0)+b|0;o=o>>>0

>>0?q+(o<<4)|0:0;q=c[o>>2]|0;p=o+8|0;g=c[p>>2]|0;c[o>>2]=0;h[p>>3]=k;if(q&8|0?(p=g+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)go(c[a+44>>2]|0,g);if(f|0){c[f>>2]=i;return d|0}if(!i)return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)!=0?(c[f>>2]&6656|0)!=0:0))o=35;break}default:o=35}if((o|0)==35){if((g|0)==(k|0))Jn(K,268491,50336874,268507);m=g+-16|0;c[u>>2]=m;o=c[g+-16>>2]|0;e=c[g+-8>>2]|0;c[m>>2]=2;if(!(o&8))break;m=e+4|0;o=(c[m>>2]|0)+-1|0;c[m>>2]=o;if(o|0)break;go(c[K+44>>2]|0,e);break}if(g>>>0>=(c[m>>2]|0)>>>0)Sn(K,935);e=g-i>>4;if(e>>>0<=1)$n(K,342,-2);o=k+(e+-2<<4)|0;c[u>>2]=g+16;c[g>>2]=c[o>>2];c[g+4>>2]=c[o+4>>2];c[g+8>>2]=c[o+8>>2];c[g+12>>2]=c[o+12>>2];if(c[g>>2]&8|0){o=(c[g+8>>2]|0)+4|0;c[o>>2]=(c[o>>2]|0)+1}g=c[u>>2]|0;if(g>>>0>=(c[m>>2]|0)>>>0)Sn(K,935);e=c[t>>2]|0;f=g-e>>4;if(f>>>0<=3)$n(K,342,-4);o=e+(f+-4<<4)|0;c[u>>2]=g+16;c[g>>2]=c[o>>2];c[g+4>>2]=c[o+4>>2];c[g+8>>2]=c[o+8>>2];c[g+12>>2]=c[o+12>>2];if(c[g>>2]&8|0){o=(c[g+8>>2]|0)+4|0;c[o>>2]=(c[o>>2]|0)+1}e=(c[u>>2]|0)-(c[t>>2]|0)|0;if((e|0)<48)Tn(K,268476,76);so(K,1,0,(e+-48|0)>>>4);f=c[t>>2]|0;g=(c[u>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(K,342,-2);k=f+(e<<4)|0;m=f+(g+-1<<4)|0;o=c[k>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(k|0,k+16|0,m-k|0)|0;c[m>>2]=2;c[u>>2]=(c[u>>2]|0)+-16;if(o&8|0?(m=e+4|0,o=(c[m>>2]|0)+-1|0,c[m>>2]=o,(o|0)==0):0)go(c[K+44>>2]|0,e)}while(0);e=c[b+20>>2]|0;if(e|0){f=c[u>>2]|0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|0;d=f+(g+-1<<4)|0;o=c[m>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(m|0,m+16|0,d-m|0)|0;c[d>>2]=2;c[u>>2]=(c[u>>2]|0)+-16;if(o&8|0?(d=e+4|0,o=(c[d>>2]|0)+-1|0,c[d>>2]=o,(o|0)==0):0)go(c[K+44>>2]|0,e)}m=c[u>>2]|0;g=m;a:do if((c[m+-16>>2]|0)==9){f=c[m+-8>>2]|0;e=c[f>>2]|0;if(e&8192|0?c[b+36>>2]&12|0:0){e=c[f+40>>2]|0;if(e|0?(n=c[f+48>>2]|0,r=c[f+52>>2]|0,(r+n|0)>>>0<=(c[e+16>>2]|0)>>>0):0){if(!(c[e>>2]&128))e=e+24|0;else e=c[e+20>>2]|0;d=e+n|0;g=r<<1;m=b+12|0;n=b+4|0;e=c[n>>2]|0;f=e;do if(((c[m>>2]|0)-f|0)>>>0<(g+11|0)>>>0){i=c[b>>2]|0;k=b+8|0;f=f-(c[k>>2]|0)|0;e=g+75+f+(f>>>4)|0;if(e>>>0>>0)Jn(i,269610,50331716,268447);else{J=b+16|0;Kn(i,c[J>>2]|0,e);J=c[(c[J>>2]|0)+20>>2]|0;s=J+f|0;c[n>>2]=s;c[k>>2]=J;c[m>>2]=J+e;break}}else s=e;while(0);if(!(c[b+48>>2]|0)){f=s;e=272129;g=f+9|0;do{a[f>>0]=a[e>>0]|0;f=f+1|0;e=e+1|0}while((f|0)<(g|0));e=cr(d,r,s+9|0)|0;a[e>>0]=34;a[e+1>>0]=125;e=e+2|0}else{a[s>>0]=124;e=cr(d,r,s+1|0)|0;a[e>>0]=124;e=e+1|0}c[n>>2]=e;o=245;break}i=c[b>>2]|0;k=c[(c[i+428>>2]|0)+608>>2]|0;m=c[k+20>>2]|0;d=b+4|0;n=b+12|0;f=c[d>>2]|0;e=f;do if(((c[n>>2]|0)-f|0)>>>0>>0){g=b+8|0;e=f-(c[g>>2]|0)|0;f=m+64+e+(e>>>4)|0;if(f>>>0>>0)Jn(i,269610,50331716,268447);else{b=b+16|0;Kn(i,c[b>>2]|0,f);b=c[(c[b>>2]|0)+20>>2]|0;q=b+e|0;c[d>>2]=q;c[g>>2]=b;c[n>>2]=b+f;break}}else q=e;while(0);CQ(q|0,k+28|0,m|0)|0;c[d>>2]=(c[d>>2]|0)+m;o=245;break}switch(e>>>27&31){case 10:{f=c[t>>2]|0;s=g-f>>4;e=s+-1|0;if(!s)$n(K,267,-1);M=+jo(K,f+(e<<4)|0);r=c[t>>2]|0;q=r+(e<<4)|0;s=c[q>>2]|0;r=r+(e<<4)+8|0;e=c[r>>2]|0;c[q>>2]=0;h[r>>3]=M;if(!(s&8)){o=121;break a}r=e+4|0;s=(c[r>>2]|0)+-1|0;c[r>>2]=s;if(s|0){o=121;break a}go(c[K+44>>2]|0,e);o=121;break a}case 12:{Ho(K,-1)|0;o=121;break a}case 5:case 17:{i=g-(c[t>>2]|0)|0;s=i>>4;k=s+-1|0;if(!s)$n(K,267,-1);e=c[(c[K+428>>2]|0)+356>>2]|0;if(m>>>0>=(c[K+68>>2]|0)>>>0)Sn(K,3761);c[u>>2]=m+16;c[m>>2]=8;c[m+8>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[t>>2]|0;g=(c[u>>2]|0)-f>>4;e=((i|0)<16?g:0)+k|0;if(e>>>0>=g>>>0)$n(K,342,k);ro(K,f+(e<<4)|0,f+(g+-1<<4)|0)|0;f=c[t>>2]|0;g=(c[u>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(K,342,-2);q=f+(e<<4)|0;r=f+(g+-1<<4)|0;s=c[q>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(q|0,q+16|0,r-q|0)|0;c[r>>2]=2;f=(c[u>>2]|0)+-16|0;c[u>>2]=f;if((s&8|0)!=0?(r=e+4|0,s=(c[r>>2]|0)+-1|0,c[r>>2]=s,(s|0)==0):0){go(c[K+44>>2]|0,e);f=c[u>>2]|0}g=c[t>>2]|0;f=f-g>>4;e=f+-2|0;if(f>>>0<=1)$n(K,342,-2);q=g+(e<<4)|0;r=g+(f+-1<<4)|0;s=c[q>>2]|0;e=c[g+(e<<4)+8>>2]|0;DQ(q|0,q+16|0,r-q|0)|0;c[r>>2]=2;c[u>>2]=(c[u>>2]|0)+-16;if(!(s&8)){o=121;break a}r=e+4|0;s=(c[r>>2]|0)+-1|0;c[r>>2]=s;if(s|0){o=121;break a}go(c[K+44>>2]|0,e);o=121;break a}default:{if(!(e&6656)){o=121;break a}if(!(c[b+36>>2]&12)){o=246;break a}i=c[b>>2]|0;k=c[(c[i+428>>2]|0)+(c[b+88>>2]<<2)>>2]|0;m=c[k+20>>2]|0;d=b+4|0;n=b+12|0;f=c[d>>2]|0;e=f;do if(((c[n>>2]|0)-f|0)>>>0>>0){g=b+8|0;e=f-(c[g>>2]|0)|0;f=m+64+e+(e>>>4)|0;if(f>>>0>>0)Jn(i,269610,50331716,268447);else{b=b+16|0;Kn(i,c[b>>2]|0,f);b=c[(c[b>>2]|0)+20>>2]|0;p=b+e|0;c[d>>2]=p;c[g>>2]=b;c[n>>2]=b+f;break}}else p=e;while(0);CQ(p|0,k+28|0,m|0)|0;c[d>>2]=(c[d>>2]|0)+m;o=245;break a}}}else o=121;while(0);b:do if((o|0)==121){f=c[b+68>>2]|0;e=c[u>>2]|0;t=c[t>>2]|0;u=e-t>>4;u=u|0?t+(u+-1<<4)|0:0;if(!(c[4216+(c[((u|0)==0?944:u)>>2]<<2)>>2]&f)){if(f&1024|0)Jn(K,268491,100666767,269278);switch(c[e+-16>>2]|0){case 2:{i=c[b>>2]|0;k=c[(c[i+428>>2]|0)+(c[b+72>>2]<<2)>>2]|0;m=c[k+20>>2]|0;d=b+4|0;n=b+12|0;f=c[d>>2]|0;e=f;do if(((c[n>>2]|0)-f|0)>>>0>>0){g=b+8|0;e=f-(c[g>>2]|0)|0;f=m+64+e+(e>>>4)|0;if(f>>>0>>0)Jn(i,269610,50331716,268447);else{b=b+16|0;Kn(i,c[b>>2]|0,f);b=c[(c[b>>2]|0)+20>>2]|0;w=b+e|0;c[d>>2]=w;c[g>>2]=b;c[n>>2]=b+f;break}}else w=e;while(0);CQ(w|0,k+28|0,m|0)|0;c[d>>2]=(c[d>>2]|0)+m;o=245;break b}case 3:{i=c[b>>2]|0;k=c[(c[i+428>>2]|0)+608>>2]|0;m=c[k+20>>2]|0;d=b+4|0;n=b+12|0;f=c[d>>2]|0;e=f;do if(((c[n>>2]|0)-f|0)>>>0>>0){g=b+8|0;e=f-(c[g>>2]|0)|0;f=m+64+e+(e>>>4)|0;if(f>>>0>>0)Jn(i,269610,50331716,268447);else{b=b+16|0;Kn(i,c[b>>2]|0,f);b=c[(c[b>>2]|0)+20>>2]|0;x=b+e|0;c[d>>2]=x;c[g>>2]=b;c[n>>2]=b+f;break}}else x=e;while(0);CQ(x|0,k+28|0,m|0)|0;c[d>>2]=(c[d>>2]|0)+m;o=245;break b}case 4:{n=c[b>>2]|0;i=c[(c[n+428>>2]|0)+((c[e+-8>>2]|0?153:154)<<2)>>2]|0;k=c[i+20>>2]|0;m=b+4|0;d=b+12|0;f=c[m>>2]|0;e=f;do if(((c[d>>2]|0)-f|0)>>>0>>0){g=b+8|0;e=f-(c[g>>2]|0)|0;f=k+64+e+(e>>>4)|0;if(f>>>0>>0)Jn(n,269610,50331716,268447);else{b=b+16|0;Kn(n,c[b>>2]|0,f);b=c[(c[b>>2]|0)+20>>2]|0;y=b+e|0;c[m>>2]=y;c[g>>2]=b;c[d>>2]=b+f;break}}else y=e;while(0);CQ(y|0,i+28|0,k|0)|0;c[m>>2]=(c[m>>2]|0)+k;o=245;break b}case 5:{e=c[e+-8>>2]|0;f=J;g=f+64|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));k=(e|0)!=0;k=(c[b+48>>2]|0)==0?(k?272144:272158):k?272139:314047;c[v>>2]=e;NO(J,63,k,v);k=JO(J)|0;m=b+4|0;d=b+12|0;f=c[m>>2]|0;e=f;do if(((c[d>>2]|0)-f|0)>>>0>>0){g=c[b>>2]|0;i=b+8|0;e=f-(c[i>>2]|0)|0;f=k+64+e+(e>>>4)|0;if(f>>>0>>0)Jn(g,269610,50331716,268447);else{b=b+16|0;Kn(g,c[b>>2]|0,f);b=c[(c[b>>2]|0)+20>>2]|0;B=b+e|0;c[m>>2]=B;c[i>>2]=b;c[d>>2]=b+f;break}}else B=e;while(0);CQ(B|0,J|0,k|0)|0;c[m>>2]=(c[m>>2]|0)+k;o=245;break b}case 8:{e=c[e+-8>>2]|0;if(c[e>>2]&512|0){o=246;break b}dr(b,e);o=245;break b}case 9:{if((c[c[e+-8>>2]>>2]&-134217728|0)!=268435456){fr(b);o=245;break b}t=c[b>>2]|0;er(b,J);r=(c[J>>2]|0)+-1|0;w=b+4|0;x=b+12|0;f=c[x>>2]|0;E=c[w>>2]|0;e=E;do if((f|0)==(E|0)){g=c[b>>2]|0;i=b+8|0;e=f-(c[i>>2]|0)|0;f=e+65+(e>>>4)|0;if(f>>>0>>0)Jn(g,269610,50331716,268447);else{E=b+16|0;Kn(g,c[E>>2]|0,f);E=c[(c[E>>2]|0)+20>>2]|0;z=E+e|0;c[w>>2]=z;c[i>>2]=E;c[x>>2]=E+f;break}}else z=e;while(0);c[w>>2]=z+1;a[z>>0]=91;n=zp(t,r)|0;do if(n|0){s=b+24|0;o=t+76|0;p=t+68|0;u=b+8|0;v=b+16|0;q=b+60|0;d=0;while(1){if(c[s>>2]|0){i=c[q>>2]|0;f=c[x>>2]|0;E=c[w>>2]|0;e=E;if((f|0)==(E|0)){g=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=e+65+(e>>>4)|0;if(f>>>0>>0){o=157;break}Kn(g,c[v>>2]|0,f);E=c[(c[v>>2]|0)+20>>2]|0;e=E+e|0;c[w>>2]=e;c[u>>2]=E;c[x>>2]=E+f}c[w>>2]=e+1;a[e>>0]=10;if(i|0){g=c[s>>2]|0;k=g+28|0;g=c[g+20>>2]|0;m=O(g,i)|0;e=c[w>>2]|0;f=e;if(((c[x>>2]|0)-f|0)>>>0>>0){i=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=m+64+e+(e>>>4)|0;if(f>>>0>>0){o=162;break}Kn(i,c[v>>2]|0,f);E=c[(c[v>>2]|0)+20>>2]|0;i=E+e|0;c[w>>2]=i;c[u>>2]=E;c[x>>2]=E+f}else i=e;CQ(i|0,k|0,g|0)|0;f=i+g|0;e=m-g|0;if(e>>>0>=g>>>0)do{CQ(f|0,i|0,g|0)|0;f=f+g|0;e=e-g|0;g=g<<1}while(e>>>0>=g>>>0);CQ(f|0,i|0,e|0)|0;c[w>>2]=f+e}}e=c[o>>2]|0;if(e>>>0>=(c[p>>2]|0)>>>0){o=168;break}c[o>>2]=e+16;c[e>>2]=0;h[e+8>>3]=+(d>>>0);Ho(t,-1)|0;if(!(br(b,r)|0)){g=c[b>>2]|0;i=c[(c[g+428>>2]|0)+608>>2]|0;k=c[i+20>>2]|0;f=c[w>>2]|0;e=f;if(((c[x>>2]|0)-f|0)>>>0>>0){e=f-(c[u>>2]|0)|0;f=k+64+e+(e>>>4)|0;if(f>>>0>>0){o=173;break}Kn(g,c[v>>2]|0,f);E=c[(c[v>>2]|0)+20>>2]|0;e=E+e|0;c[w>>2]=e;c[u>>2]=E;c[x>>2]=E+f}CQ(e|0,i+28|0,k|0)|0;f=(c[w>>2]|0)+k|0;c[w>>2]=f}else f=c[w>>2]|0;e=f;if((c[x>>2]|0)==(f|0)){g=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=e+65+(e>>>4)|0;if(f>>>0>>0){o=178;break}Kn(g,c[v>>2]|0,f);E=c[(c[v>>2]|0)+20>>2]|0;e=E+e|0;c[w>>2]=e;c[u>>2]=E;c[x>>2]=E+f}c[w>>2]=e+1;a[e>>0]=44;d=d+1|0;if(d>>>0>=n>>>0){o=181;break}}if((o|0)==157)Jn(g,269610,50331716,268447);else if((o|0)==162)Jn(i,269610,50331716,268447);else if((o|0)==168)Sn(t,3902);else if((o|0)==173)Jn(g,269610,50331716,268447);else if((o|0)==178)Jn(g,269610,50331716,268447);else if((o|0)==181){f=b+4|0;e=(c[f>>2]|0)+-1|0;c[f>>2]=e;f=e;if(!(c[s>>2]|0))break;i=(c[q>>2]|0)+-1|0;do if((c[x>>2]|0)==(f|0)){g=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=e+65+(e>>>4)|0;if(f>>>0>>0)Jn(g,269610,50331716,268447);else{Kn(g,c[v>>2]|0,f);E=c[(c[v>>2]|0)+20>>2]|0;F=E+e|0;c[w>>2]=F;c[u>>2]=E;c[x>>2]=E+f;break}}else F=e;while(0);c[w>>2]=F+1;a[F>>0]=10;if(!i)break;g=c[s>>2]|0;k=g+28|0;g=c[g+20>>2]|0;m=O(g,i)|0;e=c[w>>2]|0;f=e;do if(((c[x>>2]|0)-f|0)>>>0>>0){i=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=m+64+e+(e>>>4)|0;if(f>>>0>>0)Jn(i,269610,50331716,268447);else{Kn(i,c[v>>2]|0,f);F=c[(c[v>>2]|0)+20>>2]|0;G=F+e|0;c[w>>2]=G;c[u>>2]=F;c[x>>2]=F+f;break}}else G=e;while(0);CQ(G|0,k|0,g|0)|0;f=G+g|0;e=m-g|0;if(e>>>0>=g>>>0)do{CQ(f|0,G|0,g|0)|0;f=f+g|0;e=e-g|0;g=g<<1}while(e>>>0>=g>>>0);CQ(f|0,G|0,e|0)|0;c[w>>2]=f+e;break}}while(0);f=c[x>>2]|0;G=c[w>>2]|0;e=G;do if((f|0)==(G|0)){g=c[b>>2]|0;i=b+8|0;e=f-(c[i>>2]|0)|0;f=e+65+(e>>>4)|0;if(f>>>0>>0)Jn(g,269610,50331716,268447);else{G=b+16|0;Kn(g,c[G>>2]|0,f);G=c[(c[G>>2]|0)+20>>2]|0;H=G+e|0;c[w>>2]=H;c[i>>2]=G;c[x>>2]=G+f;break}}else H=e;while(0);c[w>>2]=H+1;a[H>>0]=93;f=c[b>>2]|0;e=b+60|0;H=c[e>>2]|0;c[e>>2]=H+-1;e=c[J>>2]|0;if((H|0)>=65){c[I>>2]=c[(c[((e|0)<1?f+76|0:f+72|0)>>2]|0)+(e+-1<<4)+8>>2];Go(f,280284,I);sq(f,c[b+32>>2]|0)}_n(f,e);o=245;break b}case 10:{if(!(c[b+56>>2]|0)){vo(K,-1);fr(b);o=245;break b}e=c[e+-8>>2]|0;if(!(c[e>>2]&128))o=e+24|0;else o=c[e+20>>2]|0;d=c[e+16>>2]|0;g=d<<1;m=b+12|0;n=b+4|0;e=c[n>>2]|0;f=e;do if(((c[m>>2]|0)-f|0)>>>0<(g+11|0)>>>0){i=c[b>>2]|0;k=b+8|0;f=f-(c[k>>2]|0)|0;e=g+75+f+(f>>>4)|0;if(e>>>0>>0)Jn(i,269610,50331716,268447);else{J=b+16|0;Kn(i,c[J>>2]|0,e);J=c[(c[J>>2]|0)+20>>2]|0;C=J+f|0;c[n>>2]=C;c[k>>2]=J;c[m>>2]=J+e;break}}else C=e;while(0);if(!(c[b+48>>2]|0)){f=C;e=272129;g=f+9|0;do{a[f>>0]=a[e>>0]|0;f=f+1|0;e=e+1|0}while((f|0)<(g|0));e=cr(o,d,C+9|0)|0;a[e>>0]=34;a[e+1>>0]=125;e=e+2|0}else{a[C>>0]=124;e=cr(o,d,C+1|0)|0;a[e>>0]=124;e=e+1|0}c[n>>2]=e;o=245;break b}case 6:{i=c[b>>2]|0;k=c[(c[i+428>>2]|0)+(c[b+88>>2]<<2)>>2]|0;m=c[k+20>>2]|0;d=b+4|0;n=b+12|0;f=c[d>>2]|0;e=f;do if(((c[n>>2]|0)-f|0)>>>0>>0){g=b+8|0;e=f-(c[g>>2]|0)|0;f=m+64+e+(e>>>4)|0;if(f>>>0>>0)Jn(i,269610,50331716,268447);else{b=b+16|0;Kn(i,c[b>>2]|0,f);b=c[(c[b>>2]|0)+20>>2]|0;A=b+e|0;c[d>>2]=A;c[g>>2]=b;c[n>>2]=b+f;break}}else A=e;while(0);CQ(A|0,k+28|0,m|0)|0;c[d>>2]=(c[d>>2]|0)+m;o=245;break b}default:{n=c[b>>2]|0;i=n+76|0;k=c[i>>2]|0;M=+h[k+-8>>3];e=XO(M)|0;h[j>>3]=M;f=wQ(c[j>>2]|0,c[j+4>>2]|0,63)|0;g=(e|0)==0;if((e|1|0)==1){if(!(c[b+36>>2]&12))e=152;else{do if(!g)if(!f){e=b+84|0;break}else{e=b+80|0;break}else e=b+76|0;while(0);e=c[e>>2]|0}m=c[(c[n+428>>2]|0)+(e<<2)>>2]|0;f=c[m+20>>2]|0;e=b+4|0;d=b+12|0;i=c[e>>2]|0;g=i;do if(((c[d>>2]|0)-i|0)>>>0>>0){k=b+8|0;g=i-(c[k>>2]|0)|0;i=f+64+g+(g>>>4)|0;if(i>>>0>>0)Jn(n,269610,50331716,268447);else{b=b+16|0;Kn(n,c[b>>2]|0,i);b=c[(c[b>>2]|0)+20>>2]|0;E=b+g|0;c[e>>2]=E;c[k>>2]=b;c[d>>2]=b+i;break}}else E=g;while(0);CQ(E|0,m+28|0,f|0)|0}else{do if((e|0)==2&(f|0)!=0?(c[b+56>>2]|0)!=0:0){e=c[(c[n+428>>2]|0)+248>>2]|0;if(k>>>0<(c[n+68>>2]|0)>>>0){c[i>>2]=k+16;c[k>>2]=8;c[k+8>>2]=e;J=e+4|0;c[J>>2]=(c[J>>2]|0)+1;break}else Sn(n,3761)}else o=226;while(0);if((o|0)==226)Jo(n,10,0,0);d=c[(c[i>>2]|0)+-8>>2]|0;f=c[d+20>>2]|0;e=b+4|0;n=b+12|0;i=c[e>>2]|0;g=i;do if(((c[n>>2]|0)-i|0)>>>0>>0){k=c[b>>2]|0;m=b+8|0;g=i-(c[m>>2]|0)|0;i=f+64+g+(g>>>4)|0;if(i>>>0>>0)Jn(k,269610,50331716,268447);else{b=b+16|0;Kn(k,c[b>>2]|0,i);b=c[(c[b>>2]|0)+20>>2]|0;D=b+g|0;c[e>>2]=D;c[m>>2]=b;c[n>>2]=b+i;break}}else D=g;while(0);CQ(D|0,d+28|0,f|0)|0}c[e>>2]=(c[e>>2]|0)+f;o=245;break b}}}else o=246}while(0);if((o|0)==245){iq(K);K=1;l=L;return K|0}else if((o|0)==246){iq(K);K=0;l=L;return K|0}return 0}function cr(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=(f&1|0)!=0;l=f+1|0;h=k?l:f;m=e&-4;if(!m)g=0;else{i=(m+-1|0)>>>2;j=h+((i<<3)+8)|0;g=0;while(1){b[h>>1]=b[34296+((d[c+g>>0]|0)<<1)>>1]|0;b[h+2>>1]=b[34296+((d[c+(g|1)>>0]|0)<<1)>>1]|0;b[h+4>>1]=b[34296+((d[c+(g|2)>>0]|0)<<1)>>1]|0;b[h+6>>1]=b[34296+((d[c+(g|3)>>0]|0)<<1)>>1]|0;g=g+4|0;if(g>>>0>=m>>>0)break;else h=h+8|0}g=(i<<2)+4|0;h=j}if(k){DQ(f|0,l|0,m<<1|0)|0;h=h+-1|0}if(g>>>0>=e>>>0){e=h;return e|0}j=e-g|0;i=h;while(1){m=d[c+g>>0]|0;a[i>>0]=a[268698+(m>>>4)>>0]|0;a[i+1>>0]=a[268698+(m&15)>>0]|0;g=g+1|0;if((g|0)==(e|0))break;else i=i+2|0}e=h+(j<<1)|0;return e|0} +function _j(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+32|0;t=v+8|0;g=v;f=v+12|0;h=f;i=88299;j=h+11|0;do{a[h>>0]=a[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));c[g>>2]=e+1;zN(f,f,g)|0;q=c[b>>2]|0;lg[c[q+2439660>>2]&31](q,f,d,40,15)|0;q=b+12|0;p=e<<3;k=d+-1|0;m=d+32|0;n=d+104|0;e=0;do{f=e*7|0;o=f+56|0;j=c[48]|0;if(((j|0)>=(d|0)&(j|0)<(n|0)?(r=c[49]|0,(r|0)>=(o|0)):0)?(s=f+63|0,(r|0)<(s|0)):0){c[68]=11;if(((((a[205]|0)!=0?(j=c[52]|0,(j|0)>=(d|0)&(j|0)<(n|0)):0)?(j=c[53]|0,(j|0)>=(o|0)&(j|0)<(s|0)):0)?(j=c[54]|0,(j|0)>=(d|0)&(j|0)<(n|0)):0)?(j=c[55]|0,(j|0)>=(o|0)&(j|0)<(s|0)):0){a[205]=0;h=e+p|0;c[q>>2]=h;g=h}else{g=e+p|0;h=c[q>>2]|0}j=c[b>>2]|0;f=f+55|0;Gg[c[j+2439688>>2]&7](j,k,f,104,7,1);if((h|0)==(g|0))u=16;else j=0}else{g=e+p|0;if((c[q>>2]|0)==(g|0)){f=f+55|0;u=16}else j=0}if((u|0)==16){u=0;j=c[b>>2]|0;Gg[c[j+2439688>>2]&7](j,k,f,104,7,15);j=1}h=c[b>>2]|0;lg[c[h+2439660>>2]&31](h,c[2444+(e<<2)>>2]|0,d,o,j?0:7)|0;h=c[b>>2]|0;i=c[h+2439660>>2]|0;f=c[292+(g<<2)>>2]|0;if(f>>>0>511){c[t>>2]=309866;_D(309840,t);f=0}else f=c[321536+(f<<2)>>2]|0;g=OM(f)|0;lg[i&31](h,g,m,o,j?0:15)|0;e=e+1|0}while((e|0)!=8);l=v;return}function $j(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=b+65712|0;if(!(c[f>>2]|0))c[f>>2]=TM(880)|0;k=b+65652|0;i=c[k>>2]|0;if(i|0){UM(c[i+8>>2]|0);f=c[i>>2]|0;while(1){g=c[f+4>>2]|0;if(!g)break;else f=g}if(f|0)do{g=f;f=c[f>>2]|0;h=c[g+8>>2]|0;if(h|0)UM(h);UM(g)}while((f|0)!=0);UM(i)}j=b+65656|0;i=c[j>>2]|0;if(i|0){UM(c[i+8>>2]|0);f=c[i>>2]|0;while(1){g=c[f+4>>2]|0;if(!g)break;else f=g}if(f|0)do{g=f;f=c[f>>2]|0;h=c[g+8>>2]|0;if(h|0)UM(h);UM(g)}while((f|0)!=0);UM(i)}c[b>>2]=d;d=b+4|0;c[d>>2]=e;c[b+8>>2]=e;h=b+12|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[b+36>>2]=8;c[b+40>>2]=240;c[b+44>>2]=122;EQ(b+48|0,0,65612)|0;c[b+65660>>2]=1;h=b+65664|0;i=h+44|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));c[b+65708>>2]=-1;c[b+65716>>2]=0;c[b+65720>>2]=201;c[b+65724>>2]=202;c[b+65728>>2]=149;c[b+65732>>2]=203;g=TM(16)|0;c[g+12>>2]=e;c[g+4>>2]=65536;f=TM(65536)|0;c[g+8>>2]=f;CQ(f|0,e|0,65536)|0;f=TM(20)|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[g>>2]=f;c[k>>2]=g;g=b+8|0;f=TM(16)|0;c[f+12>>2]=g;c[f+4>>2]=24;h=TM(24)|0;c[f+8>>2]=h;i=h+24|0;do{a[h>>0]=a[g>>0]|0;h=h+1|0;g=g+1|0}while((h|0)<(i|0));h=TM(20)|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[f>>2]=h;c[j>>2]=f;ek(b);h=b+68|0;EQ(h|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[b>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)return;Eg[g&63](f,c[d>>2]|0,h,(c[225]|0)+16|0);return}function ak(d){d=d|0;var 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,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=l;l=l+16|0;J=aa;V=aa+8|0;W=aa+4|0;f=d+28|0;g=c[f>>2]|0;if(g|0)c[f>>2]=g+-1;Y=d+16|0;c[Y>>2]=(c[Y>>2]|0)+1;Y=d+65660|0;a:do switch(c[Y>>2]|0){case 0:{dh();break}case 1:{f=eh()|0;b:do if(f|0){q=d+52|0;r=d+48|0;o=d+4|0;p=d+8|0;s=d+20|0;t=d+12|0;u=d+65652|0;v=d+65656|0;w=d+68|0;x=d+65664|0;y=d+8|0;z=d+65700|0;A=d+65704|0;B=d+65708|0;C=d+8|0;while(1){c:do switch(c[f>>2]|0){case 1027:{i=((c[f+20>>2]|0)>0?-3:3)+(c[q>>2]|0)|0;c[q>>2]=i;if((c[r>>2]|0)<0)c[r>>2]=0;if((i|0)>=0){g=c[o>>2]|0;h=a[g>>0]|0;if(!(h<<24>>24))f=0;else{f=0;do{g=g+1|0;f=(h<<24>>24==10&1)+f|0;h=a[g>>0]|0}while(h<<24>>24!=0)}if((i|0)<=(f|0))break c}else f=0;c[q>>2]=f;break}case 768:{k=c[f+16+4>>2]|0;switch(k|0){case 1073742054:case 1073742050:case 1073742053:case 1073742049:case 1073742052:case 1073742048:break c;default:{}}f=e[160510]|0;d:do if(!(f&3264)){if(f&3|0)switch(((k|0)==127?1:((k|0)==1073741897)<<31>>31)&3){case 1:{X=20;break}case 2:{X=21;break}case 3:{X=35;break}default:{}}}else{if((k|0)<120)switch(k|0){case 99:{X=21;break d}case 118:{X=35;break d}default:break d}if((k|0)<1073741897)switch(k|0){case 120:{X=20;break d}default:break d}else switch(k|0){case 1073741897:{X=21;break d}default:break d}}while(0);if((X|0)==20){X=0;fk(d)}else if((X|0)==21){X=0;f=c[p>>2]|0;h=c[t>>2]|0;e:do if((h|0)==0|(h|0)==(f|0)){g=c[o>>2]|0;if(g>>>0>>0){h=g;do{n=h;h=h+1|0;g=(a[n>>0]|0)==10?h:g}while((h|0)!=(f|0))}do{h=a[f>>0]|0;if(!(h<<24>>24))break e;f=f+1|0}while(h<<24>>24!=10)}else{g=h>>>0>>0?h:f;f=h>>>0>f>>>0?h:f}while(0);f=f-g|0;h=TM(f+1|0)|0;if(h|0){CQ(h|0,g|0,f|0)|0;a[h+f>>0]=0;f=c[79957]|0;do if(f){g=c[f+240>>2]|0;if(!g){n=f+288|0;UM(c[n>>2]|0);c[n>>2]=aP(h)|0;break}else{hg[g&63](f,h)|0;break}}else _D(310107,J);while(0);UM(h)}}else if((X|0)==35){X=0;gk(d)}f=e[160510]|0;f:do switch(k|0){case 1073741902:case 1073741899:case 1073741901:case 1073741898:case 1073741903:case 1073741904:case 1073741905:case 1073741906:{if(!(f&3)){c[t>>2]=0;break f}if(!(c[t>>2]|0))c[t>>2]=c[p>>2];break}default:{}}while(0);g:do if(f&3264){h:do if(!(f&192)){if(f&3072|0){if((k|0)<121)switch(k|0){case 97:{X=61;break h}case 102:{X=86;break h}case 103:{X=91;break h}case 47:{X=95;break h}case 111:{X=93;break h}default:break g}if((k|0)<1073741901){if((k|0)<122)switch(k|0){case 121:{X=76;break h}default:break g}if((k|0)<1073741898)switch(k|0){case 122:{X=62;break h}default:break g}else switch(k|0){case 1073741898:{X=113;break h}default:break g}}switch(k|0){case 1073741901:{X=114;break h}case 1073741904:{g=c[o>>2]|0;i=c[p>>2]|0;if(g>>>0>>0){h=g;f=g;do{n=h;h=h+1|0;f=(a[n>>0]|0)==10?h:f}while((h|0)!=(i|0));h=f}else h=g;c[p>>2]=h;f=h;if(g>>>0>>0){i=g;do{n=i;i=i+1|0;g=(a[n>>0]|0)==10?i:g}while((i|0)!=(h|0))}break}case 1073741903:{g=c[o>>2]|0;i=c[p>>2]|0;if(g>>>0>>0){h=g;f=g;do{n=h;h=h+1|0;f=(a[n>>0]|0)==10?h:f}while((h|0)!=(i|0));j=f}else j=g;n=a[j>>0]|0;h=n<<24>>24==10;if(n<<24>>24!=0&(h^1)){i=j;f=0;do{i=h?i:i+1|0;f=f+1|0;n=a[i>>0]|0;h=n<<24>>24==10}while(n<<24>>24!=0&(h^1))}else f=0;i=j+f|0;c[p>>2]=i;f=i;if(g>>>0>>0){h=g;do{n=h;h=h+1|0;g=(a[n>>0]|0)==10?h:g}while((h|0)!=(i|0))}break}default:break g}c[s>>2]=f-g}if((k|0)<111)switch(k|0){case 97:{X=61;break h}case 102:{X=86;break h}case 103:{X=91;break h}case 47:{X=95;break h}default:break g}if((k|0)<122)switch(k|0){case 111:{X=93;break h}case 121:{X=76;break h}default:break g}if((k|0)<1073741898)switch(k|0){case 122:{X=62;break h}default:break g}else switch(k|0){case 1073741901:{X=114;break h}case 1073741898:{X=113;break h}default:break g}}else{if((k|0)<121){switch(k|0){case 97:{X=61;break h}case 102:{X=86;break h}case 103:{X=91;break h}case 111:{X=93;break h}case 47:{X=95;break h}case 9:break;default:break g}jk(d,(f&3|0)!=0,1);break g}if((k|0)>=1073741901)switch(k|0){case 1073741901:{X=114;break h}case 1073741904:{hk(d);break g}case 1073741903:{ik(d);break g}default:break g}if((k|0)<122)switch(k|0){case 121:{X=76;break h}default:break g}if((k|0)<1073741898)switch(k|0){case 122:{X=62;break h}default:break g}else switch(k|0){case 1073741898:{X=113;break h}default:break g}}while(0);if((X|0)==61){X=0;n=c[o>>2]|0;c[t>>2]=n;c[p>>2]=n+(JO(n)|0);break}else if((X|0)==62){X=0;k=c[u>>2]|0;f=c[k>>2]|0;if(c[f+4>>2]|0){g=c[f+12>>2]|0;j=f+16|0;if(g>>>0<(c[j>>2]|0)>>>0){h=f+8|0;i=k+8|0;f=g;g=0;while(1){n=(c[i>>2]|0)+f|0;a[n>>0]=a[n>>0]^a[(c[h>>2]|0)+g>>0];f=f+1|0;if(f>>>0>=(c[j>>2]|0)>>>0)break;else g=g+1|0}f=c[k>>2]|0}c[k>>2]=c[f+4>>2]}CQ(c[k+12>>2]|0,c[k+8>>2]|0,c[k+4>>2]|0)|0;k=c[v>>2]|0;f=c[k>>2]|0;if(c[f+4>>2]|0){g=c[f+12>>2]|0;j=f+16|0;if(g>>>0<(c[j>>2]|0)>>>0){h=f+8|0;i=k+8|0;f=g;g=0;while(1){n=(c[i>>2]|0)+f|0;a[n>>0]=a[n>>0]^a[(c[h>>2]|0)+g>>0];f=f+1|0;if(f>>>0>=(c[j>>2]|0)>>>0)break;else g=g+1|0}f=c[k>>2]|0}c[k>>2]=c[f+4>>2]}CQ(c[k+12>>2]|0,c[k+8>>2]|0,c[k+4>>2]|0)|0;ek(d);EQ(w|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[d>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)break;Eg[g&63](f,c[o>>2]|0,w,(c[225]|0)+16|0);break}else if((X|0)==76){X=0;j=c[u>>2]|0;f=c[c[j>>2]>>2]|0;if(f|0?(c[j>>2]=f,D=c[f+12>>2]|0,E=f+16|0,D>>>0<(c[E>>2]|0)>>>0):0){h=f+8|0;i=j+8|0;f=D;g=0;while(1){n=(c[i>>2]|0)+f|0;a[n>>0]=a[n>>0]^a[(c[h>>2]|0)+g>>0];f=f+1|0;if(f>>>0>=(c[E>>2]|0)>>>0)break;else g=g+1|0}}CQ(c[j+12>>2]|0,c[j+8>>2]|0,c[j+4>>2]|0)|0;j=c[v>>2]|0;f=c[c[j>>2]>>2]|0;if(f|0?(c[j>>2]=f,F=c[f+12>>2]|0,G=f+16|0,F>>>0<(c[G>>2]|0)>>>0):0){h=f+8|0;i=j+8|0;f=F;g=0;while(1){n=(c[i>>2]|0)+f|0;a[n>>0]=a[n>>0]^a[(c[h>>2]|0)+g>>0];f=f+1|0;if(f>>>0>=(c[G>>2]|0)>>>0)break;else g=g+1|0}}CQ(c[j+12>>2]|0,c[j+8>>2]|0,c[j+4>>2]|0)|0;ek(d);EQ(w|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[d>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)break;Eg[g&63](f,c[o>>2]|0,w,(c[225]|0)+16|0);break}else if((X|0)==86){X=0;if((c[Y>>2]|0)==2)break;a[x>>0]=0;g=c[y>>2]|0;c[z>>2]=g;n=c[t>>2]|0;c[A>>2]=n;f=n;if(n|0?(H=c[(g>>>0>>0?p:t)>>2]|0,I=(c[(g>>>0>f>>>0?p:t)>>2]|0)-H|0,(I+-1|0)>>>0<32):0){EQ(d+65664+I|0,0,34-I|0)|0;CQ(x|0,H|0,I|0)|0}c[Y>>2]=2;break}else if((X|0)==91){X=0;if((c[Y>>2]|0)==3)break;a[x>>0]=0;c[z>>2]=c[y>>2];c[A>>2]=c[t>>2];c[B>>2]=-1;c[Y>>2]=3;break}else if((X|0)==93){X=0;if((c[Y>>2]|0)==4)break;a[x>>0]=0;c[z>>2]=c[y>>2];c[A>>2]=c[t>>2];kk(d);c[Y>>2]=4;break}else if((X|0)==95){X=0;m=c[d>>2]|0;m=c[(gg[c[m+2439828>>2]&511](m)|0)+44>>2]|0;n=JO(m)|0;k=c[o>>2]|0;h=c[p>>2]|0;if(k>>>0>>0){g=k;f=k;do{j=g;g=g+1|0;f=(a[j>>0]|0)==10?g:f}while((g|0)!=(h|0))}else f=k;j=a[f>>0]|0;h=j<<24>>24==10;if(j<<24>>24!=0&(h^1)){i=f;g=0;do{i=h?i:i+1|0;g=g+1|0;ba=a[i>>0]|0;h=ba<<24>>24==10}while(ba<<24>>24!=0&(h^1))}else g=0;h=f+g|0;g=f;f=j;i:while(1){switch(f<<24>>24){case 9:case 32:break;default:break i}if(g>>>0>=h>>>0)break;f=g+1|0;g=f;f=a[f>>0]|0}if(!(xN(g,m,n)|0)){ba=g+n|0;DQ(g|0,ba|0,(JO(ba)|0)+1|0)|0;f=c[p>>2]|0;if(f>>>0>ba>>>0)c[p>>2]=f+(0-n)}else{if(((JO(k)|0)+n|0)>>>0>65535)break;DQ(g+n|0,g|0,(JO(g)|0)+1|0)|0;CQ(g|0,m|0,n|0)|0;f=c[p>>2]|0;if(f>>>0>g>>>0)c[p>>2]=f+n}c[t>>2]=0;if(Sj(c[u>>2]|0)|0)Sj(c[v>>2]|0)|0;EQ(w|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[d>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)break;Eg[g&63](f,c[o>>2]|0,w,(c[225]|0)+16|0);break}else if((X|0)==113){X=0;c[C>>2]=c[o>>2];c[s>>2]=0;break}else if((X|0)==114){X=0;f=c[o>>2]|0;ba=JO(f)|0;h=f+ba|0;c[p>>2]=h;i=h;if((ba|0)>0){g=f;do{ba=g;g=g+1|0;f=(a[ba>>0]|0)==10?g:f}while((g|0)!=(h|0))}c[s>>2]=i-f;break}}else{if(f&768|0)switch(k|0){case 1073741904:{hk(d);break g}case 1073741903:{ik(d);break g}default:break g}if((k|0)>=1073741901)switch(k|0){case 1073741906:{f=c[o>>2]|0;m=c[p>>2]|0;if(f>>>0>>0){g=f;h=f;i=f;while(1){j=h+1|0;k=(a[h>>0]|0)==10;f=k?i:g;if((j|0)==(m|0)){i=f;break}else{g=f;h=j;i=k?j:i}}}else i=f;ba=a[i>>0]|0;g=ba<<24>>24==10;if(ba<<24>>24!=0&(g^1)){h=i;f=0;do{h=g?h:h+1|0;f=f+1|0;ba=a[h>>0]|0;g=ba<<24>>24==10}while(ba<<24>>24!=0&(g^1))}else f=0;ba=c[s>>2]|0;c[p>>2]=i+(f>>>0>ba>>>0?ba:f);break g}case 1073741905:{f=c[p>>2]|0;while(1){g=a[f>>0]|0;if(!(g<<24>>24)){g=0;break}f=f+1|0;if(g<<24>>24==10){X=130;break}}if((X|0)==130){X=0;ba=a[f>>0]|0;h=ba<<24>>24==10;if(ba<<24>>24!=0&(h^1)){i=f;g=0;do{i=h?i:i+1|0;g=g+1|0;ba=a[i>>0]|0;h=ba<<24>>24==10}while(ba<<24>>24!=0&(h^1))}else g=0}ba=c[s>>2]|0;c[p>>2]=f+(g>>>0>ba>>>0?ba:g);break g}case 1073741904:{f=c[o>>2]|0;g=c[p>>2]|0;if(g>>>0<=f>>>0)break g;h=g+-1|0;c[p>>2]=h;i=h;if(f>>>0>>0){g=f;do{ba=g;g=g+1|0;f=(a[ba>>0]|0)==10?g:f}while((g|0)!=(h|0))}c[s>>2]=i-f;break g}case 1073741903:{h=c[p>>2]|0;if(!(a[h>>0]|0))break g;ba=h+1|0;c[p>>2]=ba;i=ba;f=c[o>>2]|0;if(f>>>0>>0){g=f;do{ba=g;g=g+1|0;f=(a[ba>>0]|0)==10?g:f}while((ba|0)!=(h|0))}c[s>>2]=i-f;break g}case 1073741901:{f=c[o>>2]|0;i=c[p>>2]|0;if(f>>>0>>0){h=f;g=f;do{ba=h;h=h+1|0;g=(a[ba>>0]|0)==10?h:g}while((h|0)!=(i|0));j=g}else j=f;ba=a[j>>0]|0;h=ba<<24>>24==10;if(ba<<24>>24!=0&(h^1)){i=j;g=0;do{i=h?i:i+1|0;g=g+1|0;ba=a[i>>0]|0;h=ba<<24>>24==10}while(ba<<24>>24!=0&(h^1))}else g=0;h=j+g|0;c[p>>2]=h;i=h;if(f>>>0>>0){g=f;do{ba=g;g=g+1|0;f=(a[ba>>0]|0)==10?g:f}while((g|0)!=(h|0))}c[s>>2]=i-f;break g}case 1073741902:{c[V>>2]=0;c[W>>2]=0;h=c[o>>2]|0;g=a[h>>0]|0;if(!(g<<24>>24)){g=0;h=0;f=0}else{j=c[p>>2]|0;i=h;f=g;while(1){if((j|0)==(i|0)){f=0;break}if(f<<24>>24==10){c[V>>2]=0;f=W}else f=V;c[f>>2]=(c[f>>2]|0)+1;i=i+1|0;f=a[i>>0]|0;if(!(f<<24>>24)){f=0;break}}do{h=h+1|0;f=(g<<24>>24==10&1)+f|0;g=a[h>>0]|0}while(g<<24>>24!=0);g=c[W>>2]|0;h=c[V>>2]|0}lk(d,h,(g|0)<(f+-17|0)?g+17|0:f);break g}default:break g}if((k|0)<127)switch(k|0){case 8:{f=c[p>>2]|0;g=c[t>>2]|0;if(!((g|0)==0|(g|0)==(f|0))){ba=g>>>0>>0?g:f;n=g>>>0>f>>>0?g:f;DQ(ba|0,n|0,(JO(n)|0)+1|0)|0;c[p>>2]=ba;c[t>>2]=0;if(Sj(c[u>>2]|0)|0)Sj(c[v>>2]|0)|0;EQ(w|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[d>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)break g;Eg[g&63](f,c[o>>2]|0,w,(c[225]|0)+16|0);break g}if(f>>>0<=(c[o>>2]|0)>>>0)break g;ba=f+-1|0;c[p>>2]=ba;DQ(ba|0,f|0,JO(ba)|0)|0;if(Sj(c[u>>2]|0)|0)Sj(c[v>>2]|0)|0;EQ(w|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[d>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)break g;Eg[g&63](f,c[o>>2]|0,w,(c[225]|0)+16|0);break g}case 13:{h=c[p>>2]|0;f=c[t>>2]|0;if(!((f|0)==0|(f|0)==(h|0))){ba=f>>>0>>0?f:h;n=f>>>0>h>>>0?f:h;DQ(ba|0,n|0,(JO(n)|0)+1|0)|0;c[p>>2]=ba;c[t>>2]=0;if(Sj(c[u>>2]|0)|0)Sj(c[v>>2]|0)|0;EQ(w|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[d>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)break g;Eg[g&63](f,c[o>>2]|0,w,(c[225]|0)+16|0);break g}f=c[o>>2]|0;if(f>>>0>>0){g=f;do{ba=g;g=g+1|0;f=(a[ba>>0]|0)==10?g:f}while((g|0)!=(h|0));g=0}else g=0;j:while(1){switch(a[f>>0]|0){case 9:case 32:break;default:break j}g=g+1|0;f=f+1|0}g=(f>>>0>h>>>0?h-f|0:0)+g|0;mk(d,10);if(!g)break g;else f=0;while(1){mk(d,9);f=f+1|0;if((f|0)==(g|0))break g}}case 9:{jk(d,(f&3|0)!=0,(f&192|0)!=0);break g}default:break g}if((k|0)<1073741898){switch(k|0){case 127:break;default:break g}f=c[p>>2]|0;g=c[t>>2]|0;if((g|0)==0|(g|0)==(f|0)){DQ(f|0,f+1|0,JO(f)|0)|0;if(Sj(c[u>>2]|0)|0)Sj(c[v>>2]|0)|0;EQ(w|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[d>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)break;Eg[g&63](f,c[o>>2]|0,w,(c[225]|0)+16|0);break}else{ba=g>>>0>>0?g:f;n=g>>>0>f>>>0?g:f;DQ(ba|0,n|0,(JO(n)|0)+1|0)|0;c[p>>2]=ba;c[t>>2]=0;if(Sj(c[u>>2]|0)|0)Sj(c[v>>2]|0)|0;EQ(w|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[d>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g)break;Eg[g&63](f,c[o>>2]|0,w,(c[225]|0)+16|0);break}}switch(k|0){case 1073741898:{f=c[o>>2]|0;i=c[p>>2]|0;if(f>>>0>>0){h=f;g=f;do{ba=h;h=h+1|0;g=(a[ba>>0]|0)==10?h:g}while((h|0)!=(i|0))}else g=f;c[p>>2]=g;i=g;if(f>>>0>>0){h=f;do{ba=h;h=h+1|0;f=(a[ba>>0]|0)==10?h:f}while((h|0)!=(g|0))}c[s>>2]=i-f;break g}case 1073741899:break;default:break g}c[V>>2]=0;c[W>>2]=0;f=c[o>>2]|0;g=a[f>>0]|0;if(!(g<<24>>24)){f=0;g=0}else{i=c[p>>2]|0;h=f;f=g;do{if((i|0)==(h|0))break;if(f<<24>>24==10){c[V>>2]=0;f=W}else f=V;c[f>>2]=(c[f>>2]|0)+1;h=h+1|0;f=a[h>>0]|0}while(f<<24>>24!=0);f=c[W>>2]|0;g=c[V>>2]|0}lk(d,g,(f|0)>17?f+-17|0:0)}while(0);ek(d);break}case 771:{f=f+12|0;if((JO(f)|0)==1){mk(d,a[f>>0]|0);ek(d)}break}default:{}}while(0);f=eh()|0;if(!f)break b}}while(0);do if(!(a[284]|0))a[d+65>>0]=0;else{g=276;f=c[g>>2]|0;g=c[g+4>>2]|0;h=d+48|0;i=d+65|0;if(!(a[i>>0]|0)){c[d+56>>2]=((c[h>>2]|0)*6|0)+f;c[d+60>>2]=((c[d+52>>2]|0)*7|0)+g;a[i>>0]=1;break}ba=(c[d+56>>2]|0)-f|0;c[h>>2]=(ba|0)/6|0;f=(c[d+60>>2]|0)-g|0;i=(f|0)/7|0;j=d+52|0;c[j>>2]=i;if((ba|0)<-5)c[d+48>>2]=0;if((f|0)>=-6){g=c[d+4>>2]|0;h=a[g>>0]|0;if(!(h<<24>>24))f=0;else{f=0;do{g=g+1|0;f=(h<<24>>24==10&1)+f|0;h=a[g>>0]|0}while(h<<24>>24!=0)}if((i|0)<=(f|0))break}else f=0;c[j>>2]=f}while(0);h=c[48]|0;j=d+32|0;i=c[j>>2]|0;do if((((h|0)>=(i|0)?(O=d+40|0,K=(c[O>>2]|0)+i|0,(h|0)<(K|0)):0)?(M=c[49]|0,P=d+36|0,N=c[P>>2]|0,(M|0)>=(N|0)):0)?(Q=d+44|0,L=(c[Q>>2]|0)+N|0,(M|0)<(L|0)):0){c[68]=1;k=d+64|0;if(a[k>>0]|0){if((a[244]|0?(ba=c[62]|0,(ba|0)>=(i|0)&(ba|0)<(K|0)):0)?(ba=c[63]|0,(ba|0)>=(N|0)&(ba|0)<(L|0)):0){c[d+48>>2]=((c[d+56>>2]|0)-h|0)/6|0;f=(c[d+60>>2]|0)-M|0;i=(f|0)/7|0;j=d+52|0;c[j>>2]=i;g=d+48|0;if((c[g>>2]|0)<0)c[g>>2]=0;if((f|0)>=-6){g=c[d+4>>2]|0;h=a[g>>0]|0;if(!(h<<24>>24))f=0;else{f=0;do{g=g+1|0;f=(h<<24>>24==10&1)+f|0;h=a[g>>0]|0}while(h<<24>>24!=0)}if((i|0)<=(f|0))break}else f=0;c[j>>2]=f;break}a[k>>0]=0;break}do if(((a[204]|0)!=0?(ba=c[52]|0,(ba|0)>=(i|0)&(ba|0)<(K|0)):0)?(ba=c[53]|0,(ba|0)>=(N|0)&(ba|0)<(L|0)):0){g=d+8|0;f=c[g>>2]|0;lk(d,(c[d+48>>2]|0)+((h-i|0)/6|0)|0,(c[d+52>>2]|0)+((M-N|0)/7|0)|0);if(b[160510]&3){c[d+12>>2]=c[g>>2];c[g>>2]=f;break}f=d+24|0;if(!(c[f>>2]|0)){ba=c[g>>2]|0;c[d+12>>2]=ba;c[f>>2]=ba}}else X=239;while(0);if((X|0)==239){f=d+24|0;if((c[f>>2]|0)==(c[d+8>>2]|0))c[d+12>>2]=0;c[f>>2]=0}if((((a[244]|0?(R=c[62]|0,S=c[j>>2]|0,(R|0)>=(S|0)):0)?(R|0)<((c[O>>2]|0)+S|0):0)?(T=c[63]|0,U=c[P>>2]|0,(T|0)>=(U|0)):0)?(T|0)<((c[Q>>2]|0)+U|0):0){a[k>>0]=1;c[d+56>>2]=((c[d+48>>2]|0)*6|0)+(c[48]|0);c[d+60>>2]=((c[d+52>>2]|0)*7|0)+(c[49]|0)}}while(0);ba=c[d>>2]|0;Bg[c[ba+2439672>>2]&255](ba,a[(c[225]|0)+24>>0]|0);nk(d,1);ba=c[d>>2]|0;Gg[c[ba+2439688>>2]&7](ba,0,129,240,7,15);ba=c[d>>2]|0;lg[c[ba+2439664>>2]&31](ba,d+65604|0,0,130,a[(c[225]|0)+24>>0]|0)|0;break}case 2:{f=eh()|0;k:do if(f|0){g=d+65664|0;h=d+8|0;i=d+65700|0;j=d+12|0;k=d+65704|0;m=d+8|0;n=d+4|0;while(1){l:do switch(c[f>>2]|0){case 768:{f=c[f+16+4>>2]|0;m:do if((f|0)<1073741904){if((f|0)<13){switch(f|0){case 8:break;default:break l}if(!(a[g>>0]|0))break l;a[(JO(g)|0)+-1+(d+65664)>>0]=0;qk(d,zP(c[n>>2]|0,g)|0);break l}if((f|0)>=1073741903)switch(f|0){case 1073741903:break m;default:break l}switch(f|0){case 13:break;default:break l}if((c[Y>>2]|0)==1)break l;a[g>>0]=0;c[i>>2]=c[h>>2];c[k>>2]=c[j>>2];c[Y>>2]=1;break l}else switch(f|0){case 1073741905:case 1073741904:case 1073741906:break;default:break l}while(0);if(a[g>>0]|0){V=(f|2|0)==1073741906;W=c[m>>2]|0;ba=c[j>>2]|0;qk(d,ig[(V?9:8)&63](c[n>>2]|0,(V?W>>>0>>0:W>>>0>ba>>>0)?W:ba,g)|0)}break}case 771:{f=f+12|0;if((JO(f)|0)==1?((JO(g)|0)+1|0)>>>0<34:0){hQ(g,f)|0;qk(d,zP(c[n>>2]|0,g)|0)}break}default:{}}while(0);f=eh()|0;if(!f)break k}}while(0);ba=c[d>>2]|0;Bg[c[ba+2439672>>2]&255](ba,a[(c[225]|0)+24>>0]|0);nk(d,0);rk(d,88334);ba=c[d>>2]|0;Gg[c[ba+2439688>>2]&7](ba,0,129,240,7,15);ba=c[d>>2]|0;lg[c[ba+2439664>>2]&31](ba,d+65604|0,0,130,a[(c[225]|0)+24>>0]|0)|0;break}case 3:{g=eh()|0;n:do if(!g)f=d+65708|0;else{m=d+65664|0;n=d+8|0;o=d+65700|0;p=d+12|0;q=d+65704|0;k=d+4|0;f=d+65708|0;r=d+48|0;s=d+52|0;t=d+8|0;while(1){o:do switch(c[g>>2]|0){case 768:{switch(c[g+16+4>>2]|0){case 13:break;case 8:{if(!(a[m>>0]|0))break o;a[(JO(m)|0)+-1+(d+65664)>>0]=0;j=fQ(m)|0;j=(j|0)==0?0:j+-1|0;h=c[k>>2]|0;i=a[h>>0]|0;if(!(i<<24>>24))g=0;else{g=0;do{h=h+1|0;g=(i<<24>>24==10&1)+g|0;i=a[h>>0]|0}while(i<<24>>24!=0)}i=(j|0)>(g|0)?g:j;c[p>>2]=0;lk(d,0,i);c[f>>2]=i;c[V>>2]=0;c[W>>2]=0;i=c[k>>2]|0;g=a[i>>0]|0;if(g<<24>>24){j=c[t>>2]|0;h=i;do{if((j|0)==(h|0))break;if(g<<24>>24==10){c[V>>2]=0;g=W}else g=V;c[g>>2]=(c[g>>2]|0)+1;h=h+1|0;g=a[h>>0]|0}while(g<<24>>24!=0);ba=c[V>>2]|0;g=(c[W>>2]|0)+-8|0;c[r>>2]=ba+-20;c[s>>2]=g;if((ba|0)<20)X=301;else j=g}else{c[r>>2]=-20;c[s>>2]=-8;g=-8;X=301}if((X|0)==301){X=0;c[r>>2]=0;j=g}if((j|0)>=0){h=a[i>>0]|0;if(!(h<<24>>24))g=0;else{g=0;do{i=i+1|0;g=(h<<24>>24==10&1)+g|0;h=a[i>>0]|0}while(h<<24>>24!=0)}if((j|0)>(g|0))X=306}else{g=0;X=306}if((X|0)==306){X=0;c[s>>2]=g}ek(d);break o}default:break o}if(a[m>>0]|0){j=fQ(m)|0;j=(j|0)==0?0:j+-1|0;h=c[k>>2]|0;i=a[h>>0]|0;if(!(i<<24>>24))g=0;else{g=0;do{h=h+1|0;g=(i<<24>>24==10&1)+g|0;i=a[h>>0]|0}while(i<<24>>24!=0)}i=(j|0)>(g|0)?g:j;c[p>>2]=0;lk(d,0,i);c[f>>2]=i;c[V>>2]=0;c[W>>2]=0;i=c[k>>2]|0;g=a[i>>0]|0;if(g<<24>>24){j=c[t>>2]|0;h=i;do{if((j|0)==(h|0))break;if(g<<24>>24==10){c[V>>2]=0;g=W}else g=V;c[g>>2]=(c[g>>2]|0)+1;h=h+1|0;g=a[h>>0]|0}while(g<<24>>24!=0);ba=c[V>>2]|0;g=(c[W>>2]|0)+-8|0;c[r>>2]=ba+-20;c[s>>2]=g;if((ba|0)<20)X=281;else j=g}else{c[r>>2]=-20;c[s>>2]=-8;g=-8;X=281}if((X|0)==281){X=0;c[r>>2]=0;j=g}if((j|0)>=0){h=a[i>>0]|0;if(!(h<<24>>24))g=0;else{g=0;do{i=i+1|0;g=(h<<24>>24==10&1)+g|0;h=a[i>>0]|0}while(h<<24>>24!=0)}if((j|0)>(g|0))X=286}else{g=0;X=286}if((X|0)==286){X=0;c[s>>2]=g}ek(d)}if((c[Y>>2]|0)!=1){a[m>>0]=0;c[o>>2]=c[n>>2];c[q>>2]=c[p>>2];c[Y>>2]=1}break}case 771:{g=g+12|0;if(((JO(g)|0)==1?((JO(m)|0)+1|0)>>>0<34:0)?((a[g>>0]|0)+-48&255)<10:0){hQ(m,g)|0;j=fQ(m)|0;j=(j|0)==0?0:j+-1|0;h=c[k>>2]|0;i=a[h>>0]|0;if(!(i<<24>>24))g=0;else{g=0;do{h=h+1|0;g=(i<<24>>24==10&1)+g|0;i=a[h>>0]|0}while(i<<24>>24!=0)}i=(j|0)>(g|0)?g:j;c[p>>2]=0;lk(d,0,i);c[f>>2]=i;c[V>>2]=0;c[W>>2]=0;i=c[k>>2]|0;g=a[i>>0]|0;if(g<<24>>24){j=c[t>>2]|0;h=i;do{if((j|0)==(h|0))break;if(g<<24>>24==10){c[V>>2]=0;g=W}else g=V;c[g>>2]=(c[g>>2]|0)+1;h=h+1|0;g=a[h>>0]|0}while(g<<24>>24!=0);ba=c[V>>2]|0;g=(c[W>>2]|0)+-8|0;c[r>>2]=ba+-20;c[s>>2]=g;if((ba|0)<20)X=321;else j=g}else{c[r>>2]=-20;c[s>>2]=-8;g=-8;X=321}if((X|0)==321){X=0;c[r>>2]=0;j=g}if((j|0)>=0){h=a[i>>0]|0;if(!(h<<24>>24))g=0;else{g=0;do{i=i+1|0;g=(h<<24>>24==10&1)+g|0;h=a[i>>0]|0}while(h<<24>>24!=0)}if((j|0)>(g|0))X=326}else{g=0;X=326}if((X|0)==326){X=0;c[s>>2]=g}ek(d)}break}default:{}}while(0);g=eh()|0;if(!g)break n}}while(0);ba=c[d>>2]|0;Bg[c[ba+2439672>>2]&255](ba,a[(c[225]|0)+24>>0]|0);f=c[f>>2]|0;if((f|0)>-1){ba=c[d>>2]|0;Gg[c[ba+2439688>>2]&7](ba,0,((f-(c[d+52>>2]|0)|0)*6|0)+8|0,240,7,a[(c[225]|0)+25>>0]|0)}nk(d,0);rk(d,88341);ba=c[d>>2]|0;Gg[c[ba+2439688>>2]&7](ba,0,129,240,7,15);ba=c[d>>2]|0;lg[c[ba+2439664>>2]&31](ba,d+65604|0,0,130,a[(c[225]|0)+24>>0]|0)|0;break}case 4:{f=eh()|0;p:do if(f|0){k=d+65716|0;m=d+65712|0;n=d+4|0;o=d+8|0;p=d+12|0;q=d+48|0;r=d+52|0;s=d+8|0;t=d+65664|0;u=d+8|0;v=d+65700|0;w=d+65704|0;while(1){q:do switch(c[f>>2]|0){case 768:{f=c[f+16+4>>2]|0;if((f|0)<1073741905){switch(f|0){case 13:break;case 8:{if(!(a[t>>0]|0))break q;a[(JO(t)|0)+-1+(d+65664)>>0]=0;kk(d);break q}default:break q}f=c[m>>2]|0;g=c[k>>2]|0;h=c[f+(g*44|0)+40>>2]|0;if(!h){j=c[n>>2]|0;c[o>>2]=j;h=j;f=0}else{c[s>>2]=h;f=h+(JO(f+(g*44|0)|0)|0)|0;j=c[n>>2]|0}c[p>>2]=f;c[V>>2]=0;c[W>>2]=0;f=a[j>>0]|0;if(f<<24>>24){g=j;do{if((h|0)==(g|0))break;if(f<<24>>24==10){c[V>>2]=0;f=W}else f=V;c[f>>2]=(c[f>>2]|0)+1;g=g+1|0;f=a[g>>0]|0}while(f<<24>>24!=0);ba=c[V>>2]|0;f=(c[W>>2]|0)+-8|0;c[q>>2]=ba+-20;c[r>>2]=f;if((ba|0)<20)X=380;else i=f}else{c[q>>2]=-20;c[r>>2]=-8;f=-8;X=380}if((X|0)==380){X=0;c[q>>2]=0;i=f}if((i|0)>=0){g=a[j>>0]|0;if(!(g<<24>>24))f=0;else{f=0;h=j;do{h=h+1|0;f=(g<<24>>24==10&1)+f|0;g=a[h>>0]|0}while(g<<24>>24!=0)}if((i|0)>(f|0))X=385}else{f=0;X=385}if((X|0)==385){X=0;c[r>>2]=f}ek(d);if((c[Y>>2]|0)==1)break q;a[t>>0]=0;c[v>>2]=c[u>>2];c[w>>2]=c[p>>2];c[Y>>2]=1;break q}switch(f|0){case 1073741906:break;case 1073741905:{f=c[k>>2]|0;if((f|0)>=19)break q;g=c[m>>2]|0;f=f+1|0;i=c[g+(f*44|0)+40>>2]|0;if(!i)break q;c[k>>2]=f;c[s>>2]=i;f=i+(JO(g+(f*44|0)|0)|0)|0;h=c[n>>2]|0;c[p>>2]=f;c[V>>2]=0;c[W>>2]=0;f=a[h>>0]|0;if(f<<24>>24){g=h;do{if((i|0)==(g|0))break;if(f<<24>>24==10){c[V>>2]=0;f=W}else f=V;c[f>>2]=(c[f>>2]|0)+1;g=g+1|0;f=a[g>>0]|0}while(f<<24>>24!=0);ba=c[V>>2]|0;f=(c[W>>2]|0)+-8|0;c[q>>2]=ba+-20;c[r>>2]=f;if((ba|0)<20)X=363;else i=f}else{c[q>>2]=-20;c[r>>2]=-8;f=-8;X=363}if((X|0)==363){X=0;c[q>>2]=0;i=f}if((i|0)>=0){g=a[h>>0]|0;if(!(g<<24>>24))f=0;else{f=0;do{h=h+1|0;f=(g<<24>>24==10&1)+f|0;g=a[h>>0]|0}while(g<<24>>24!=0)}if((i|0)>(f|0))X=368}else{f=0;X=368}if((X|0)==368){X=0;c[r>>2]=f}ek(d);break q}default:break q}f=c[k>>2]|0;if((f|0)>0){f=f+-1|0;c[k>>2]=f;g=c[m>>2]|0;h=c[g+(f*44|0)+40>>2]|0;if(!h){j=c[n>>2]|0;c[o>>2]=j;h=j;f=0}else{c[s>>2]=h;f=h+(JO(g+(f*44|0)|0)|0)|0;j=c[n>>2]|0}c[p>>2]=f;c[V>>2]=0;c[W>>2]=0;f=a[j>>0]|0;if(f<<24>>24){g=j;do{if((h|0)==(g|0))break;if(f<<24>>24==10){c[V>>2]=0;f=W}else f=V;c[f>>2]=(c[f>>2]|0)+1;g=g+1|0;f=a[g>>0]|0}while(f<<24>>24!=0);ba=c[V>>2]|0;f=(c[W>>2]|0)+-8|0;c[q>>2]=ba+-20;c[r>>2]=f;if((ba|0)<20)X=347;else i=f}else{c[q>>2]=-20;c[r>>2]=-8;f=-8;X=347}if((X|0)==347){X=0;c[q>>2]=0;i=f}if((i|0)>=0){g=a[j>>0]|0;if(!(g<<24>>24))f=0;else{f=0;h=j;do{h=h+1|0;f=(g<<24>>24==10&1)+f|0;g=a[h>>0]|0}while(g<<24>>24!=0)}if((i|0)>(f|0))X=352}else{f=0;X=352}if((X|0)==352){X=0;c[r>>2]=f}ek(d)}break}case 771:{f=f+12|0;if((JO(f)|0)==1?((JO(t)|0)+1|0)>>>0<34:0){hQ(t,f)|0;kk(d)}break}default:{}}while(0);f=eh()|0;if(!f)break p}}while(0);ba=c[d>>2]|0;Bg[c[ba+2439672>>2]&255](ba,a[(c[225]|0)+24>>0]|0);nk(d,0);rk(d,88348);ba=c[d>>2]|0;Gg[c[ba+2439688>>2]&7](ba,0,129,240,7,15);ba=c[d>>2]|0;lg[c[ba+2439664>>2]&31](ba,d+65604|0,0,130,a[(c[225]|0)+24>>0]|0)|0;if(((((c[48]|0)+-168|0)>>>0<72?(x=c[49]|0,(x+-14|0)>>>0<122):0)?(ba=x+-14|0,y=(ba|0)/7|0,(ba|0)<140):0)?(z=c[d+65712>>2]|0,A=c[z+(y*44|0)+40>>2]|0,A|0):0){c[68]=11;if((a[204]|0?((c[52]|0)+-168|0)>>>0<72:0)?((c[53]|0)+-14|0)>>>0<122:0){c[d+65716>>2]=y;c[d+8>>2]=A;f=A+(JO(z+(y*44|0)|0)|0)|0;i=c[d+4>>2]|0;c[d+12>>2]=f;c[V>>2]=0;c[W>>2]=0;f=a[i>>0]|0;if(f<<24>>24){g=i;do{if((A|0)==(g|0))break;if(f<<24>>24==10){c[V>>2]=0;f=W}else f=V;c[f>>2]=(c[f>>2]|0)+1;g=g+1|0;f=a[g>>0]|0}while(f<<24>>24!=0);ba=c[V>>2]|0;f=(c[W>>2]|0)+-8|0;g=d+48|0;c[g>>2]=ba+-20;h=d+52|0;c[h>>2]=f;if((ba|0)<20)X=407;else j=f}else{g=d+48|0;c[g>>2]=-20;h=d+52|0;c[h>>2]=-8;f=-8;X=407}if((X|0)==407){c[g>>2]=0;j=f}if((j|0)>=0){g=a[i>>0]|0;if(!(g<<24>>24))f=0;else{f=0;do{i=i+1|0;f=(g<<24>>24==10&1)+f|0;g=a[i>>0]|0}while(g<<24>>24!=0)}if((j|0)>(f|0))X=412}else{f=0;X=412}if((X|0)==412)c[h>>2]=f;ek(d)}if(((((a[205]|0?((c[52]|0)+-168|0)>>>0<72:0)?((c[53]|0)+-14|0)>>>0<122:0)?((c[54]|0)+-168|0)>>>0<72:0)?((c[55]|0)+-14|0)>>>0<122:0)?(a[205]=0,(c[Y>>2]|0)!=1):0){a[d+65664>>0]=0;c[d+65700>>2]=c[d+8>>2];c[d+65704>>2]=c[d+12>>2];c[Y>>2]=1}}f=c[d>>2]|0;Gg[c[f+2439688>>2]&7](f,167,14,73,122,8);f=c[d+65712>>2]|0;g=f+40|0;h=c[d>>2]|0;if(!(c[g>>2]|0)){lg[c[h+2439664>>2]&31](h,88355,168,15,15)|0;break a}Gg[c[h+2439688>>2]&7](h,167,((c[d+65716>>2]|0)*7|0)+14|0,73,7,6);if(c[g>>2]|0){g=15;while(1){ba=c[d>>2]|0;lg[c[ba+2439664>>2]&31](ba,f,168,g,15)|0;if(!(c[f+84>>2]|0))break;else{g=g+7|0;f=f+44|0}}}break}default:{}}while(0);k=c[d>>2]|0;Gg[c[k+2439688>>2]&7](k,0,0,240,7,15);k=d+65724|0;m=d+65664|0;n=d+8|0;o=d+65700|0;p=d+12|0;q=d+65704|0;r=d+8|0;s=d+65708|0;j=0;do{f=j*7|0;t=f+212|0;g=c[48]|0;do if((g|0)>=(t|0)?(Z=f+219|0,(g|0)<(Z|0)&(c[49]|0)>>>0<7):0){c[68]=11;KP(804,c[2476+(j<<2)>>2]|0,39)|0;if(((a[205]|0)!=0?(ba=c[52]|0,(ba|0)>=(t|0)&(ba|0)<(Z|0)&(c[53]|0)>>>0<7):0)?(ba=c[54]|0,(ba|0)>=(t|0)&(ba|0)<(Z|0)&(c[55]|0)>>>0<7):0){a[205]=0;if(!j){dh();f=3;break}f=j+1|0;if((c[Y>>2]|0)==(f|0)){vg[c[k>>2]&511](d);f=3;X=442;break}a[m>>0]=0;i=c[n>>2]|0;c[o>>2]=i;g=c[p>>2]|0;c[q>>2]=g;h=g;switch(j|0){case 1:{if(g|0?(_=c[(i>>>0>>0?r:p)>>2]|0,$=(c[(i>>>0>h>>>0?r:p)>>2]|0)-_|0,($+-1|0)>>>0<32):0){EQ(d+65664+$|0,0,34-$|0)|0;CQ(m|0,_|0,$|0)|0}break}case 2:{c[s>>2]=-1;break}case 3:{kk(d);break}default:{}}c[Y>>2]=f;f=3;X=442}else{f=3;X=442}}else{f=10;X=442}while(0);if((X|0)==442){X=0;if(j|0?(j|0)==((c[Y>>2]|0)+-1|0):0){f=c[d>>2]|0;Gg[c[f+2439688>>2]&7](f,t,0,7,7,8);f=15}}Xg(t,0,88363+(j<<3)|0,f&255);j=j+1|0}while((j|0)!=4);Vg(c[d>>2]|0,a[(c[225]|0)+24>>0]|0);ba=d+65648|0;c[ba>>2]=(c[ba>>2]|0)+1;l=aa;return}function bk(a){a=a|0;var b=0,d=0,e=0;b=a+65660|0;if((c[b>>2]|0)==1)return;e=a+65700|0;c[a+8>>2]=c[e>>2];d=a+65704|0;c[a+12>>2]=c[d>>2];c[e>>2]=0;c[d>>2]=0;c[b>>2]=1;ek(a);return}function ck(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+16|0;g=m;switch(d|0){case 0:{fk(b);l=m;return}case 1:{d=c[b+8>>2]|0;f=c[b+12>>2]|0;a:do if((f|0)==0|(f|0)==(d|0)){e=c[b+4>>2]|0;if(e>>>0>>0){f=e;do{b=f;f=f+1|0;e=(a[b>>0]|0)==10?f:e}while((f|0)!=(d|0))}do{f=a[d>>0]|0;if(!(f<<24>>24))break a;d=d+1|0}while(f<<24>>24!=10)}else{e=f>>>0>>0?f:d;d=f>>>0>d>>>0?f:d}while(0);d=d-e|0;f=TM(d+1|0)|0;if(!f){l=m;return}CQ(f|0,e|0,d|0)|0;a[f+d>>0]=0;e=c[79957]|0;do if(e){d=c[e+240>>2]|0;if(!d){b=e+288|0;UM(c[b>>2]|0);c[b>>2]=aP(f)|0;break}else{hg[d&63](e,f)|0;break}}else _D(310107,g);while(0);UM(f);l=m;return}case 2:{gk(b);l=m;return}case 3:{i=c[b+65652>>2]|0;d=c[i>>2]|0;if(c[d+4>>2]|0){e=c[d+12>>2]|0;h=d+16|0;if(e>>>0<(c[h>>2]|0)>>>0){f=d+8|0;g=i+8|0;d=e;e=0;while(1){k=(c[g>>2]|0)+d|0;a[k>>0]=a[k>>0]^a[(c[f>>2]|0)+e>>0];d=d+1|0;if(d>>>0>=(c[h>>2]|0)>>>0)break;else e=e+1|0}d=c[i>>2]|0}c[i>>2]=c[d+4>>2]}CQ(c[i+12>>2]|0,c[i+8>>2]|0,c[i+4>>2]|0)|0;i=c[b+65656>>2]|0;d=c[i>>2]|0;if(c[d+4>>2]|0){e=c[d+12>>2]|0;h=d+16|0;if(e>>>0<(c[h>>2]|0)>>>0){f=d+8|0;g=i+8|0;d=e;e=0;while(1){k=(c[g>>2]|0)+d|0;a[k>>0]=a[k>>0]^a[(c[f>>2]|0)+e>>0];d=d+1|0;if(d>>>0>=(c[h>>2]|0)>>>0)break;else e=e+1|0}d=c[i>>2]|0}c[i>>2]=c[d+4>>2]}CQ(c[i+12>>2]|0,c[i+8>>2]|0,c[i+4>>2]|0)|0;ek(b);d=b+68|0;EQ(d|0,a[(c[225]|0)+22>>0]|0,65536)|0;e=c[b>>2]|0;e=gg[c[e+2439828>>2]&511](e)|0;f=c[e+24>>2]|0;if(!f){l=m;return}Eg[f&63](e,c[b+4>>2]|0,d,(c[225]|0)+16|0);l=m;return}case 4:{h=c[b+65652>>2]|0;d=c[c[h>>2]>>2]|0;if(d|0?(c[h>>2]=d,e=c[d+12>>2]|0,i=d+16|0,e>>>0<(c[i>>2]|0)>>>0):0){f=d+8|0;g=h+8|0;d=e;e=0;while(1){n=(c[g>>2]|0)+d|0;a[n>>0]=a[n>>0]^a[(c[f>>2]|0)+e>>0];d=d+1|0;if(d>>>0>=(c[i>>2]|0)>>>0)break;else e=e+1|0}}CQ(c[h+12>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0)|0;h=c[b+65656>>2]|0;d=c[c[h>>2]>>2]|0;if(d|0?(c[h>>2]=d,j=c[d+12>>2]|0,k=d+16|0,j>>>0<(c[k>>2]|0)>>>0):0){f=d+8|0;g=h+8|0;d=j;e=0;while(1){n=(c[g>>2]|0)+d|0;a[n>>0]=a[n>>0]^a[(c[f>>2]|0)+e>>0];d=d+1|0;if(d>>>0>=(c[k>>2]|0)>>>0)break;else e=e+1|0}}CQ(c[h+12>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0)|0;ek(b);d=b+68|0;EQ(d|0,a[(c[225]|0)+22>>0]|0,65536)|0;e=c[b>>2]|0;e=gg[c[e+2439828>>2]&511](e)|0;f=c[e+24>>2]|0;if(!f){l=m;return}Eg[f&63](e,c[b+4>>2]|0,d,(c[225]|0)+16|0);l=m;return}default:{l=m;return}}}function dk(b){b=b|0;var d=0,e=0,f=0;ek(b);d=b+68|0;EQ(d|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[b>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;e=c[f+24>>2]|0;if(!e)return;Eg[e&63](f,c[b+4>>2]|0,d,(c[225]|0)+16|0);return}function ek(b){b=b|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;q=l;l=l+80|0;p=q+16|0;o=q;g=q+28|0;h=q+24|0;m=q+32|0;c[g>>2]=0;c[h>>2]=0;n=b+4|0;k=c[n>>2]|0;d=a[k>>0]|0;if(!(d<<24>>24))j=0;else{f=c[b+8>>2]|0;e=k;do{if((f|0)==(e|0))break;if(d<<24>>24==10){c[g>>2]=0;d=h}else d=g;c[d>>2]=(c[d>>2]|0)+1;e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0);j=c[g>>2]|0}e=b+48|0;d=c[e>>2]|0;if((j|0)>=(d|0)){if((j|0)>=(d+40|0)){d=j+-39|0;i=11}}else{d=j;i=11}if((i|0)==11)c[e>>2]=d;h=c[h>>2]|0;e=b+52|0;d=c[e>>2]|0;if((h|0)>=(d|0)){if((h|0)>=(d+17|0)){d=h+-16|0;i=15}}else{d=h;i=15}if((i|0)==15)c[e>>2]=d;c[b+28>>2]=30;g=b+65604|0;d=g;e=d+40|0;do{c[d>>2]=538976288;d=d+4|0}while((d|0)<(e|0));d=a[k>>0]|0;if(!(d<<24>>24))d=1;else{f=0;e=k;do{e=e+1|0;f=(d<<24>>24==10&1)+f|0;d=a[e>>0]|0}while(d<<24>>24!=0);d=f+1|0}c[o>>2]=h+1;c[o+4>>2]=d;c[o+8>>2]=j+1;zN(m,88310,o)|0;CQ(g|0,m|0,JO(m)|0)|0;o=JO(c[n>>2]|0)|0;c[p>>2]=o;c[p+4>>2]=65536;zN(m,88328,p)|0;EQ((c[n>>2]|0)+o|0,0,65536-o|0)|0;p=JO(m)|0;CQ(b+65645+(0-p)+-1|0,m|0,p|0)|0;l=q;return}function fk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;g=j;h=b+8|0;d=c[h>>2]|0;i=b+12|0;f=c[i>>2]|0;a:do if((f|0)==0|(f|0)==(d|0)){e=c[b+4>>2]|0;if(e>>>0>>0){f=e;do{k=f;f=f+1|0;e=(a[k>>0]|0)==10?f:e}while((f|0)!=(d|0))}do{f=a[d>>0]|0;if(!(f<<24>>24))break a;d=d+1|0}while(f<<24>>24!=10)}else{e=f>>>0>>0?f:d;d=f>>>0>d>>>0?f:d}while(0);d=d-e|0;f=TM(d+1|0)|0;if(f|0){CQ(f|0,e|0,d|0)|0;a[f+d>>0]=0;e=c[79957]|0;do if(e){d=c[e+240>>2]|0;if(!d){k=e+288|0;UM(c[k>>2]|0);c[k>>2]=aP(f)|0;break}else{hg[d&63](e,f)|0;break}}else _D(310107,g);while(0);UM(f)}d=c[h>>2]|0;e=c[i>>2]|0;if(!((e|0)==0|(e|0)==(d|0))){k=e>>>0>>0?e:d;d=e>>>0>d>>>0?e:d;DQ(k|0,d|0,(JO(d)|0)+1|0)|0;c[h>>2]=k;c[i>>2]=0;d=b+65652|0;if(Sj(c[d>>2]|0)|0)Sj(c[b+65656>>2]|0)|0;e=b+68|0;EQ(e|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[b>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(g)Eg[g&63](f,c[b+4>>2]|0,e,(c[225]|0)+16|0)}else d=b+65652|0;if(!(Sj(c[d>>2]|0)|0)){l=j;return}Sj(c[b+65656>>2]|0)|0;l=j;return}function gk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;g=k+8|0;f=c[79957]|0;if(!f){_D(310223,k);l=k;return}e=c[f+248>>2]|0;if(!e){e=c[f+288>>2]|0;if(!e){l=k;return}if(!(a[e>>0]|0)){l=k;return}else h=9}else{if(!(gg[e&511](f)|0)){l=k;return}e=c[79957]|0;if(!e){_D(310165,g);j=aP(334803)|0}else{f=e;h=9}}do if((h|0)==9){e=c[f+244>>2]|0;if(!e){j=c[f+288>>2]|0;j=aP(j|0?j:334803)|0;break}else{j=gg[e&511](f)|0;break}}while(0);if(!j){l=k;return}e=a[j>>0]|0;if(e<<24>>24?(i=j+1|0,d=j+(e<<24>>24!=13&1)|0,h=a[i>>0]|0,a[d>>0]=h,h<<24>>24):0){e=i;do{i=e;e=e+1|0;d=d+((a[i>>0]|0)!=13&1)|0;i=a[e>>0]|0;a[d>>0]=i}while(i<<24>>24!=0)}d=JO(j)|0;if(d|0){h=b+8|0;e=c[h>>2]|0;f=b+12|0;g=c[f>>2]|0;if(!((g|0)==0|(g|0)==(e|0))){i=g>>>0>>0?g:e;g=g>>>0>e>>>0?g:e;DQ(i|0,g|0,(JO(g)|0)+1|0)|0;c[h>>2]=i;c[f>>2]=0;if(Sj(c[b+65652>>2]|0)|0)Sj(c[b+65656>>2]|0)|0;e=b+68|0;EQ(e|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[b>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(g|0)Eg[g&63](f,c[b+4>>2]|0,e,(c[225]|0)+16|0)}f=c[h>>2]|0;g=b+4|0;i=JO(c[g>>2]|0)|0;e=65536-i|0;if((i+d|0)>>>0>65536){a[j+e>>0]=0;d=e}DQ(f+d|0,f|0,(JO(f)|0)+1|0)|0;CQ(f|0,j|0,d|0)|0;c[h>>2]=(c[h>>2]|0)+d;if(Sj(c[b+65652>>2]|0)|0)Sj(c[b+65656>>2]|0)|0;f=b+68|0;EQ(f|0,a[(c[225]|0)+22>>0]|0,65536)|0;e=c[b>>2]|0;e=gg[c[e+2439828>>2]&511](e)|0;d=c[e+24>>2]|0;if(d|0)Eg[d&63](e,c[g>>2]|0,f,(c[225]|0)+16|0)}UM(j);l=k;return}function hk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b+4>>2]|0;g=b+8|0;e=(c[g>>2]|0)+-1|0;if(e>>>0<=d>>>0)return;f=a[e>>0]|0;a:do if(f<<24>>24==95|(aO(f<<24>>24)|0)!=0)while(1){if(e>>>0<=d>>>0)break a;f=e+-1|0;h=a[f>>0]|0;if(h<<24>>24==95|(aO(h<<24>>24)|0)!=0)e=f;else break}else while(1){if(e>>>0<=d>>>0)break a;f=e+-1|0;h=a[f>>0]|0;if(h<<24>>24==95|(aO(h<<24>>24)|0)!=0)break;else e=f}while(0);c[g>>2]=e;g=e;if(d>>>0>>0){f=d;do{h=f;f=f+1|0;d=(a[h>>0]|0)==10?f:d}while((f|0)!=(e|0))}c[b+20>>2]=g-d;return}function ik(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b+4>>2]|0;f=d+(JO(d)|0)|0;g=b+8|0;e=c[g>>2]|0;if(e>>>0>=f>>>0)return;h=a[e>>0]|0;a:do if(h<<24>>24==95|(aO(h<<24>>24)|0)!=0)do{e=e+1|0;if(e>>>0>=f>>>0)break a;h=a[e>>0]|0}while(h<<24>>24==95|(aO(h<<24>>24)|0)!=0);else do{e=e+1|0;if(e>>>0>=f>>>0)break a;h=a[e>>0]|0}while(!(h<<24>>24==95|(aO(h<<24>>24)|0)!=0));while(0);c[g>>2]=e;g=e;if(d>>>0>>0){f=d;do{h=f;f=f+1|0;d=(a[h>>0]|0)==10?f:d}while((f|0)!=(e|0))}c[b+20>>2]=g-d;return}function jk(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;f=b+8|0;g=c[f>>2]|0;n=b+12|0;h=c[n>>2]|0;i=(h|0)!=0;l=i&(h|0)!=(g|0);if(!(d|e|l)){sk(b,9);return}j=i&h>>>0>>0?h:g;e=i&h>>>0>g>>>0?h:g;m=b+4|0;g=c[m>>2]|0;if(g>>>0>>0){h=g;do{k=h;h=h+1|0;g=(a[k>>0]|0)==10?h:g}while((h|0)!=(j|0));k=g}else k=g;if(!k)return;if(d){g=k;h=0;do{switch(a[g>>0]|0){case 32:case 9:{DQ(g|0,g+1|0,(JO(g)|0)+1|0)|0;h=1;e=e+-1|0;break}default:{}}do{i=a[g>>0]|0;if(!(i<<24>>24))break;g=g+1|0}while(i<<24>>24!=10)}while(g>>>0>>0&(g|0)!=0);if(!(h&1))return}else{g=k;while(1){DQ(g+1|0,g|0,(JO(g)|0)+1|0)|0;a[g>>0]=9;j=e+1|0;i=9;while(1){h=g+1|0;if(i<<24>>24==10)break;i=a[h>>0]|0;if(!(i<<24>>24))break;else g=h}if(g>>>0>>0){g=h;e=j}else{e=j;break}}}if(!l){if(k>>>0<=e>>>0)o=20}else{c[f>>2]=k;f=n;o=20}if((o|0)==20)c[f>>2]=e;if(Sj(c[b+65652>>2]|0)|0)Sj(c[b+65656>>2]|0)|0;g=b+68|0;EQ(g|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[b>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;e=c[f+24>>2]|0;if(!e)return;Eg[e&63](f,c[m>>2]|0,g,(c[225]|0)+16|0);return}function kk(b){b=b|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;v=l;l=l+96|0;s=v+48|0;t=v+8|0;m=v;r=b+65716|0;c[r>>2]=0;p=b+65712|0;EQ(c[p>>2]|0,0,880)|0;q=c[p>>2]|0;f=c[b>>2]|0;g=s;h=g+40|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));k=b+65664|0;d=JO(k)|0;d=d>>>0<39?d:39;EQ(t+d|0,0,40-d|0)|0;CQ(t|0,k|0,d|0)|0;a[t+d>>0]=0;d=a[t>>0]|0;if(d<<24>>24){e=t;do{a[e>>0]=eN(d&255)|0;e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0)}d=c[(gg[c[f+2439828>>2]&511](f)|0)+20>>2]|0;if(d|0?(c[m>>2]=0,n=b+4|0,o=hg[d&63](c[n>>2]|0,m)|0,(c[m>>2]|0)>0):0){k=a[t>>0]|0;d=0;j=0;do{e=(c[n>>2]|0)+(c[o+(j<<3)>>2]|0)|0;i=q+(d*44|0)+40|0;c[i>>2]=e;f=q+(d*44|0)|0;g=f;h=g+40|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));h=c[o+(j<<3)+4>>2]|0;CQ(f|0,e|0,((h|0)<39?h:39)|0)|0;do if(k<<24>>24){e=JO(f)|0;e=e>>>0<39?e:39;CQ(s|0,f|0,e|0)|0;a[s+e>>0]=0;e=a[s>>0]|0;if(e<<24>>24){f=s;do{a[f>>0]=eN(e&255)|0;f=f+1|0;e=a[f>>0]|0}while(e<<24>>24!=0)}if(!(zP(s,t)|0)){c[i>>2]=0;break}else{d=d+1|0;break}}else d=d+1|0;while(0);j=j+1|0}while((d|0)<20?(j|0)<(c[m>>2]|0):0)}qO(c[p>>2]|0,20,44,9);f=c[p>>2]|0;d=c[r>>2]|0;e=c[f+(d*44|0)+40>>2]|0;if(!e){g=c[b+4>>2]|0;c[b+8>>2]=g;e=g;d=0}else{c[b+8>>2]=e;d=e+(JO(f+(d*44|0)|0)|0)|0;g=c[b+4>>2]|0}c[b+12>>2]=d;c[s>>2]=0;c[t>>2]=0;d=a[g>>0]|0;if(d<<24>>24){f=g;do{if((e|0)==(f|0))break;if(d<<24>>24==10){c[s>>2]=0;d=t}else d=s;c[d>>2]=(c[d>>2]|0)+1;f=f+1|0;d=a[f>>0]|0}while(d<<24>>24!=0);s=c[s>>2]|0;e=(c[t>>2]|0)+-8|0;d=b+48|0;c[d>>2]=s+-20;f=b+52|0;c[f>>2]=e;if((s|0)<20)u=25;else h=f}else{d=b+48|0;c[d>>2]=-20;f=b+52|0;c[f>>2]=-8;e=-8;u=25}if((u|0)==25){c[d>>2]=0;h=f}if((e|0)>=0){f=a[g>>0]|0;if(!(f<<24>>24))d=0;else{d=0;do{g=g+1|0;d=(f<<24>>24==10&1)+d|0;f=a[g>>0]|0}while(f<<24>>24!=0)}if((e|0)<=(d|0)){ek(b);l=v;return}}else d=0;c[h>>2]=d;ek(b);l=v;return}function lk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=c[b+4>>2]|0;g=a[f>>0]|0;a:do if(g<<24>>24){k=0;j=0;h=f;while(1){i=(k|0)==(e|0);if((j|0)==(d|0)&i){g=3;break}if(g<<24>>24==10){if((j|0)<(d|0)&i){g=8;break}i=k+1|0;j=0}else{i=k;j=j+1|0}h=h+1|0;g=a[h>>0]|0;if(!(g<<24>>24))break a;else k=i}if((g|0)==3){c[b+8>>2]=h;i=h;if(f>>>0>>0){g=f;do{e=g;g=g+1|0;f=(a[e>>0]|0)==10?g:f}while((g|0)!=(h|0))}c[b+20>>2]=i-f;ek(b);return}else if((g|0)==8){c[b+8>>2]=h;i=h;if(f>>>0>>0){g=f;do{e=g;g=g+1|0;f=(a[e>>0]|0)==10?g:f}while((g|0)!=(h|0))}c[b+20>>2]=i-f;ek(b);return}}else h=f;while(0);c[b+8>>2]=h;i=h;if(f>>>0>>0){g=f;do{e=g;g=g+1|0;f=(a[e>>0]|0)==10?g:f}while((g|0)!=(h|0))}c[b+20>>2]=i-f;ek(b);return}function mk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=b+8|0;f=c[e>>2]|0;g=b+12|0;h=c[g>>2]|0;if((h|0)==0|(h|0)==(f|0)){sk(b,d);return}i=h>>>0>>0?h:f;h=h>>>0>f>>>0?h:f;DQ(i|0,h|0,(JO(h)|0)+1|0)|0;c[e>>2]=i;c[g>>2]=0;if(Sj(c[b+65652>>2]|0)|0)Sj(c[b+65656>>2]|0)|0;e=b+68|0;EQ(e|0,a[(c[225]|0)+22>>0]|0,65536)|0;f=c[b>>2]|0;f=gg[c[f+2439828>>2]&511](f)|0;g=c[f+24>>2]|0;if(!g){sk(b,d);return}Eg[g&63](f,c[b+4>>2]|0,e,(c[225]|0)+16|0);sk(b,d);return}function nk(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;s=(O(c[b+48>>2]|0,-6)|0)+(c[b+32>>2]|0)|0;f=(O(c[b+52>>2]|0,-7)|0)+(c[b+36>>2]|0)|0;g=c[b+4>>2]|0;o=b+12|0;r=c[o>>2]|0;p=b+8|0;e=c[p>>2]|0;q=r>>>0>>0?r:e;r=r>>>0>e>>>0?r:e;l=a[g>>0]|0;if(!(l<<24>>24)){k=s;j=f;h=-1;i=0;f=-1}else{j=f;n=b+68|0;k=s;h=-1;i=0;f=-1;while(1){m=k+6|0;if((j+6|0)>>>0<142&m>>>0<246){if(!(g>>>0>>0&(g>>>0>=q>>>0&(c[o>>2]|0)!=0))){if(a[(c[225]|0)+27>>0]|0){e=c[b>>2]|0;lg[c[e+2439656>>2]&31](e,l,k+1|0,j+1|0,0)|0}}else{e=c[b>>2]|0;Gg[c[e+2439688>>2]&7](e,k+-1|0,j+-1|0,7,7,a[(c[225]|0)+25>>0]|0)}e=c[b>>2]|0;lg[c[e+2439656>>2]&31](e,l,k,j,a[n>>0]|0)|0;e=c[p>>2]|0}t=(e|0)==(g|0);i=t?l:i;f=t?j:f;h=t?k:h;k=l<<24>>24==10;j=k?j+7|0:j;k=k?s:m;g=g+1|0;l=a[g>>0]|0;if(!(l<<24>>24))break;else n=n+1|0}}e=(e|0)==(g|0);f=e?j:f;e=e?k:h;if(!((e|f|0)>-1&d))return;if((c[b+28>>2]|0)==0?(((c[b+65648>>2]|0)>>>0)%60|0)>>>0>=30:0)return;t=c[b>>2]|0;Gg[c[t+2439688>>2]&7](t,e+-1|0,f+-1|0,7,7,a[(c[225]|0)+26>>0]|0);if(!(i<<24>>24))return;t=c[b>>2]|0;lg[c[t+2439656>>2]&31](t,i,e,f,a[(c[225]|0)+24>>0]|0)|0;return}function ok(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=JO(c)|0;a:do if(!d)b=0;else do{b=b+-1|0;if(b>>>0>>0){b=0;break a}}while((xN(b,c,d)|0)!=0);while(0);return b|0}function pk(a,b,c){a=a|0;b=b|0;c=c|0;return zP(b,c)|0}function qk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;h=k+4|0;i=k;if(!d){l=k;return}c[b+8>>2]=d;c[b+12>>2]=d+(JO(b+65664|0)|0);c[h>>2]=0;c[i>>2]=0;g=c[b+4>>2]|0;e=a[g>>0]|0;if(e<<24>>24){f=g;do{if((f|0)==(d|0))break;if(e<<24>>24==10){c[h>>2]=0;e=i}else e=h;c[e>>2]=(c[e>>2]|0)+1;f=f+1|0;e=a[f>>0]|0}while(e<<24>>24!=0);h=c[h>>2]|0;e=(c[i>>2]|0)+-8|0;f=b+48|0;c[f>>2]=h+-20;d=b+52|0;c[d>>2]=e;if((h|0)<20)j=9;else h=e}else{f=b+48|0;c[f>>2]=-20;d=b+52|0;c[d>>2]=-8;e=-8;j=9}if((j|0)==9){c[f>>2]=0;h=e}if((h|0)>=0){f=a[g>>0]|0;if(!(f<<24>>24))e=0;else{e=0;do{g=g+1|0;e=(f<<24>>24==10&1)+e|0;f=a[g>>0]|0}while(f<<24>>24!=0)}if((h|0)>(e|0))j=14}else{e=0;j=14}if((j|0)==14)c[d>>2]=e;ek(b);l=k;return}function rk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[b>>2]|0;Gg[c[g+2439688>>2]&7](g,0,7,240,7,8);g=c[b>>2]|0;lg[c[g+2439664>>2]&31](g,d,0,8,15)|0;g=c[b>>2]|0;h=c[g+2439664>>2]|0;e=b+65664|0;f=(JO(d)|0)*6|0;lg[h&31](g,e,f,8,15)|0;d=JO(d)|0;d=((JO(e)|0)+d|0)*6|0;if((c[b+28>>2]|0)==0?(((c[b+65648>>2]|0)>>>0)%60|0)>>>0>=30:0)return;h=c[b>>2]|0;Gg[c[h+2439688>>2]&7](h,d+-1|0,7,7,7,a[(c[225]|0)+26>>0]|0);h=c[b>>2]|0;lg[c[h+2439656>>2]&31](h,32,d,8,a[(c[225]|0)+24>>0]|0)|0;return}function sk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=b+4|0;if((JO(c[h>>2]|0)|0)>>>0>65535)return;f=b+8|0;g=c[f>>2]|0;DQ(g+1|0,g|0,(JO(g)|0)+1|0)|0;g=c[f>>2]|0;c[f>>2]=g+1;a[g>>0]=d;if(Sj(c[b+65652>>2]|0)|0)Sj(c[b+65656>>2]|0)|0;g=c[b+8>>2]|0;d=c[h>>2]|0;f=g;if(d>>>0>>0){e=d;do{i=e;e=e+1|0;d=(a[i>>0]|0)==10?e:d}while((e|0)!=(f|0))}c[b+20>>2]=g-d;f=b+68|0;EQ(f|0,a[(c[225]|0)+22>>0]|0,65536)|0;d=c[b>>2]|0;d=gg[c[d+2439828>>2]&511](d)|0;e=c[d+24>>2]|0;if(!e)return;Eg[e&63](d,c[h>>2]|0,f,(c[225]|0)+16|0);return}function tk(a,b){a=a|0;b=b|0;if(!(c[a+40>>2]|0)){b=1;return b|0}if(!(c[b+40>>2]|0)){b=-1;return b|0}b=IO(a,b)|0;return b|0}function uk(b){b=b|0;var 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;s=l;l=l+16|0;r=s;e=eh()|0;if(e|0){g=b+28|0;h=b+12|0;i=b+16|0;do{a:do if((c[e>>2]|0)==768)switch(c[e+16>>2]|0){case 80:{c[g>>2]=c[g>>2]&1^1;m=c[3]|0;n=m+1309748|0;n=d[n>>0]|d[n+1>>0]<<8;Ig[c[m+2439748>>2]&7](m,2,(n&65535)>>>8&15,n&7,-1,0,15,0);break a}case 43:case 79:{c[g>>2]=c[g>>2]&1^1;m=c[3]|0;n=m+1309748|0;n=d[n>>0]|d[n+1>>0]<<8;Ig[c[m+2439748>>2]&7](m,2,(n&65535)>>>8&15,n&7,-1,0,15,0);break a}case 44:case 40:{e=c[h>>2]|0;f=c[i>>2]|0;if(!(c[g>>2]|0)){Bg[e&255](1,f);e=c[47]|0;if((e|0)==2){n=c[3]|0;vg[c[n+2439788>>2]&511](n);c[45]=2;break a}else{Wg(e);break a}}else{Bg[e&255](0,f);e=c[47]|0;if((e|0)==2){n=c[3]|0;vg[c[n+2439788>>2]&511](n);c[45]=2;break a}else{Wg(e);break a}}}default:break a}while(0);e=eh()|0}while((e|0)!=0)}e=b+4|0;if(!(a[e>>0]|0)){m=c[3]|0;n=m+1309616|0;n=d[n>>0]|d[n+1>>0]<<8;Ig[c[m+2439748>>2]&7](m,0,(n&65535)>>>8&15,n&7,-1,0,15,0);a[e>>0]=1}CQ(c[b>>2]|0,c[b+8>>2]|0,16320)|0;k=c[b>>2]|0;h=b+32|0;e=c[h>>2]|0;m=60-e|0;i=b+36|0;f=c[i>>2]|0;n=37-f|0;j=n+-6|0;g=c[48]|0;if(((((((g|0)>=(m|0)?(o=m+120|0,(g|0)<(o|0)):0)?(p=c[49]|0,!((p|0)<(j|0)|(p|0)>(n|0))):0)?(c[68]=11,a[204]|0):0)?(t=c[52]|0,(t|0)>=(m|0)&(t|0)<(o|0)):0)?(t=c[53]|0,!((t|0)<(j|0)|(t|0)>(n|0))):0)?(q=b+48|0,(a[q>>0]|0)==0):0){c[b+40>>2]=e+g;c[b+44>>2]=f+p;a[q>>0]=1}e=b+48|0;if(a[e>>0]|0?(c[68]=11,c[h>>2]=(c[b+40>>2]|0)-(c[48]|0),c[i>>2]=(c[b+44>>2]|0)-(c[49]|0),!((a[204]|0)!=0&(c[52]|0)>>>0<240&(c[53]|0)>>>0<136)):0)a[e>>0]=0;t=k+2439688|0;Gg[c[t>>2]&7](k,m,n,120,61,8);Gg[c[k+2439692>>2]&7](k,m,n,120,61,15);h=k+2439684|0;f=n+61|0;Gg[c[h>>2]&7](k,m,f,m+119|0,f,0);f=n+-5|0;Gg[c[t>>2]&7](k,m,f,120,5,15);Gg[c[h>>2]&7](k,m+1|0,j,m+118|0,j,15);h=k+2439660|0;t=lg[c[h>>2]&31](k,88453,0,-6,0)|0;lg[c[h>>2]&31](k,88453,((120-t|0)/2|0)+m|0,f,7)|0;a[r>>0]=14;Lg[c[k+2439700>>2]&1](k,k+1260276|0,2,m+6|0,n+-4|0,2,2,r,1,1,0,0);f=b+24|0;if((c[f>>2]|0)<=0){r=m+34|0;t=n+45|0;xk(b,88462,r,t,1,6,204,0);r=m+66|0;xk(b,88466,r,t,5,11,205,1);l=s;return}g=b+20|0;e=0;do{r=((120-(lg[c[h>>2]&31](k,c[(c[g>>2]|0)+(e<<2)>>2]|0,0,-6,0)|0)|0)/2|0)+m|0;q=e;e=e+1|0;t=(e*7|0)+n|0;lg[c[h>>2]&31](k,c[(c[g>>2]|0)+(q<<2)>>2]|0,r,t+1|0,0)|0;lg[c[h>>2]&31](k,c[(c[g>>2]|0)+(q<<2)>>2]|0,r,t,15)|0}while((e|0)<(c[f>>2]|0));r=m+34|0;t=n+45|0;xk(b,88462,r,t,1,6,204,0);r=m+66|0;xk(b,88466,r,t,5,11,205,1);l=s;return}function vk(a){a=a|0;Bg[c[a+12>>2]&255](0,c[a+16>>2]|0);a=c[47]|0;if((a|0)==2){a=c[3]|0;vg[c[a+2439788>>2]&511](a);c[45]=2;return}else{Wg(a);return}}function wk(a){a=a|0;Bg[c[a+12>>2]&255](1,c[a+16>>2]|0);a=c[47]|0;if((a|0)==2){a=c[3]|0;vg[c[a+2439788>>2]&511](a);c[45]=2;return}else{Wg(a);return}}function xk(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,m=0,n=0,o=0,p=0;o=c[b>>2]|0;l=c[48]|0;do if((((l|0)>=(e|0)?(m=e+20|0,(l|0)<(m|0)):0)?(k=c[49]|0,(k|0)>=(f|0)):0)?(n=f+9|0,(k|0)<(n|0)):0){c[68]=11;if(((a[204]|0)!=0?(l=c[52]|0,(l|0)>=(e|0)&(l|0)<(m|0)):0)?(l=c[53]|0,(l|0)>=(f|0)&(l|0)<(n|0)):0){c[b+28>>2]=j;k=1}else k=0;if(((((a[205]|0)!=0?(l=c[52]|0,(l|0)>=(e|0)&(l|0)<(m|0)):0)?(l=c[53]|0,(l|0)>=(f|0)&(l|0)<(n|0)):0)?(l=c[54]|0,(l|0)>=(e|0)&(l|0)<(m|0)):0)?(m=c[55]|0,(m|0)>=(f|0)&(m|0)<(n|0)):0){a[205]=0;vg[i&511](b);l=o+2439688|0;m=c[l>>2]|0;g=f+1|0;if(k)l=m;else{p=18;break}}else p=16;if((p|0)==16){l=o+2439688|0;m=c[l>>2]|0;g=f+1|0;if(k)l=m;else{p=18;break}}Gg[l&7](o,e,g,20,9,15)}else p=15;while(0);if((p|0)==15){l=o+2439688|0;h=g;k=0;m=c[l>>2]|0;g=f+1|0;p=18}if((p|0)==18){Gg[m&7](o,e,g,20,9,0);Gg[c[l>>2]&7](o,e,f,20,9,15)}i=o+2439660|0;p=lg[c[i>>2]&31](o,d,0,-6,0)|0;lg[c[i>>2]&31](o,d,((21-p|0)/2|0)+e|0,(k?3:2)+f|0,h)|0;if((c[b+28>>2]|0)!=(j|0))return;p=e+-5|0;Xg(p,f+3|0,88469,0);Xg(p,f+2|0,88469,15);return}function yk(a){a=a|0;Bg[c[a+12>>2]&255](0,c[a+16>>2]|0);a=c[47]|0;if((a|0)==2){a=c[3]|0;vg[c[a+2439788>>2]&511](a);c[45]=2;return}else{Wg(a);return}}function zk(b){b=b|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+4160|0;w=F+16|0;v=F+8|0;E=F;y=F+56|0;z=F+24|0;D=b+16|0;c[D>>2]=(c[D>>2]|0)+1;e=eh()|0;if(e|0){h=b+28|0;f=b+4|0;do{if((c[e>>2]|0)==769?(g=c[h>>2]|0,(g|0)>=0):0){e=c[e+16>>2]|0;if((e|0)!=41){c[292+(g<<2)>>2]=e;q=c[f>>2]|0;s=q+4096|0;PO(y,s)|0;EQ(s|0,0,4096)|0;Ei(q,88477,292,384,1)|0;PO(s,y)|0}c[h>>2]=-1}e=eh()|0}while((e|0)!=0)}if((c[45]|0)!=11){l=F;return}e=b+8|0;if(!(a[e>>0]|0)){q=c[3]|0;s=q+1309616|0;s=d[s>>0]|d[s+1>>0]<<8;Ig[c[q+2439748>>2]&7](q,0,(s&65535)>>>8&15,s&7,-1,0,15,0);a[e>>0]=1}CQ(c[b>>2]|0,c[b+12>>2]|0,16320)|0;f=b+52|0;switch(c[f>>2]|0){case 0:{E=c[b>>2]|0;if(jg[c[E+2439796>>2]&31](E,0,30,5)|0){e=b+20|0;f=c[e>>2]|0;do{f=(f|0)<1?4:(f+-1|0)%5|0;c[e>>2]=f}while(!(a[c[2492+(f<<2)>>2]>>0]|0));D=c[3]|0;E=D+1309748|0;E=d[E>>0]|d[E+1>>0]<<8;Ig[c[D+2439748>>2]&7](D,2,(E&65535)>>>8&15,E&7,-1,0,15,0)}E=c[b>>2]|0;s=b+20|0;if(jg[c[E+2439796>>2]&31](E,1,30,5)|0){e=c[s>>2]|0;do{e=(e+1|0)%5|0;c[s>>2]=e}while(!(a[c[2492+(e<<2)>>2]>>0]|0));D=c[3]|0;E=D+1309748|0;E=d[E>>0]|d[E+1>>0]<<8;Ig[c[D+2439748>>2]&7](D,2,(E&65535)>>>8&15,E&7,-1,0,15,0)}E=c[b>>2]|0;if(jg[c[E+2439796>>2]&31](E,4,-1,-1)|0)vg[c[2512+(c[s>>2]<<2)>>2]&511](b);m=c[b>>2]|0;Ak(b);n=82-(c[b+32>>2]|0)|0;o=53-(c[b+36>>2]|0)|0;p=m+2439660|0;q=n+-7|0;r=n+86|0;e=0;while(1){j=c[2492+(e<<2)>>2]|0;if(a[j>>0]|0){k=o+(e*7|0)|0;E=c[48]|0;if(((E|0)>=(n|0)&(E|0)<(r|0)?(t=c[49]|0,(t|0)>=(k|0)):0)?(u=k+7|0,(t|0)<(u|0)):0){c[68]=11;if(((a[204]|0)!=0?(E=c[52]|0,(E|0)>=(n|0)&(E|0)<(r|0)):0)?(E=c[53]|0,(E|0)>=(k|0)&(E|0)<(u|0)):0){c[s>>2]=e;f=1}else f=0;if((((a[205]|0?(E=c[52]|0,(E|0)>=(n|0)&(E|0)<(r|0)):0)?(E=c[53]|0,(E|0)>=(k|0)&(E|0)<(u|0)):0)?(E=c[54]|0,(E|0)>=(n|0)&(E|0)<(r|0)):0)?(E=c[55]|0,(E|0)>=(k|0)&(E|0)<(u|0)):0)break;g=c[p>>2]|0;i=k+1|0;if(f)lg[g&31](m,j,n,i,10)|0;else{h=10;f=i;x=40}}else{h=15;g=c[p>>2]|0;f=k+1|0;x=40}if((x|0)==40){x=0;lg[g&31](m,j,n,f,0)|0;lg[c[p>>2]&31](m,j,n,k,h)|0}if((e|0)==(c[s>>2]|0)){Xg(q,k+1|0,88495,0);Xg(q,k,88495,15)}}e=e+1|0;if(e>>>0>=5){x=100;break}}if((x|0)==100){l=F;return}a[205]=0;vg[c[2512+(e<<2)>>2]&511](b);l=F;return}case 1:{u=b+28|0;if((c[u>>2]|0)<0?(t=c[b>>2]|0,jg[c[t+2439796>>2]&31](t,4,-1,-1)|0):0){c[f>>2]=0;s=c[3]|0;t=s+1309748|0;t=d[t>>0]|d[t+1>>0]<<8;Ig[c[s+2439748>>2]&7](s,2,(t&65535)>>>8&15,t&7,-1,0,15,0)}Ak(b);i=c[b>>2]|0;q=60-(c[b+32>>2]|0)|0;t=37-(c[b+36>>2]|0)|0;m=q+25|0;j=t+49|0;e=c[48]|0;if((((e|0)>=(m|0)?(n=q+49|0,(e|0)<(n|0)):0)?(k=c[49]|0,(k|0)>=(j|0)):0)?(o=t+55|0,(k|0)<(o|0)):0){c[68]=11;if((a[204]|0)!=0?(s=c[52]|0,(s|0)>=(m|0)&(s|0)<(n|0)):0){h=c[53]|0;h=(h|0)<(o|0)&(h|0)>=(j|0)}else h=0;if((((a[205]|0?(s=c[52]|0,(s|0)>=(m|0)&(s|0)<(n|0)):0)?(s=c[53]|0,(s|0)>=(j|0)&(s|0)<(o|0)):0)?(s=c[54]|0,(s|0)>=(m|0)&(s|0)<(n|0)):0)?(s=c[55]|0,(s|0)>=(j|0)&(s|0)<(o|0)):0){a[205]=0;c[u>>2]=-1;c[f>>2]=0;E=c[3]|0;b=E+1309748|0;b=d[b>>0]|d[b+1>>0]<<8;Ig[c[E+2439748>>2]&7](E,2,(b&65535)>>>8&15,b&7,-1,0,15,0);l=F;return}f=i+2439660|0;g=c[f>>2]|0;e=t+50|0;if(h)lg[g&31](i,88503,m,e,10)|0;else{h=10;x=64}}else{f=i+2439660|0;h=15;e=t+50|0;g=c[f>>2]|0;x=64}if((x|0)==64){lg[g&31](i,88503,m,e,0)|0;lg[c[f>>2]&31](i,88503,m,j,h)|0}p=q+18|0;Xg(p,e,88508,0);Xg(p,j,88508,15);p=t+4|0;s=c[b>>2]|0;i=s+2439688|0;Gg[c[i>>2]&7](s,m,p,90,41,15);n=s+2439676|0;Eg[c[n>>2]&63](s,m,p,8);k=q+114|0;Eg[c[n>>2]&63](s,k,p,8);p=t+45|0;j=t+44|0;Eg[c[n>>2]&63](s,m,j,0);Eg[c[n>>2]&63](s,k,j,0);Gg[c[i>>2]&7](s,q+26|0,p,88,1,0);s=b+24|0;i=q+98|0;j=t+47|0;k=t+54|0;m=t+53|0;n=t+46|0;o=t+54|0;e=0;do{h=i+(O(e,-17)|0)|0;g=c[b>>2]|0;do if((c[s>>2]|0)==(e|0)){x=g+2439688|0;Gg[c[x>>2]&7](g,h,p,15,9,15);f=g+2439676|0;Eg[c[f>>2]&63](g,h,m,0);Eg[c[f>>2]&63](g,h+14|0,m,0);Gg[c[x>>2]&7](g,h+1|0,k,13,1,0);a[y>>0]=a[88516]|0;a[y+1>>0]=a[88517]|0;a[y+2>>0]=a[88518]|0;e=e+1|0;c[v>>2]=e;zN(y,88519,v)|0;lg[c[g+2439664>>2]&31](g,y,h+2|0,j,7)|0}else{f=c[48]|0;if(((f|0)>=(h|0)?(r=h+15|0,(f|0)<(r|0)):0)?(x=c[49]|0,(x|0)>=(j|0)&(x|0)<(o|0)):0){c[68]=11;if(((a[204]|0)!=0?(x=c[52]|0,(x|0)>=(h|0)&(x|0)<(r|0)):0)?(x=c[53]|0,(x|0)>=(j|0)&(x|0)<(o|0)):0){c[s>>2]=e;c[u>>2]=-1;e=e+1|0;break}else f=10}else f=7;Gg[c[g+2439688>>2]&7](g,h,n,15,8,3);x=g+2439676|0;Eg[c[x>>2]&63](g,h,m,8);Eg[c[x>>2]&63](g,h+14|0,m,8);a[y>>0]=a[88516]|0;a[y+1>>0]=a[88517]|0;a[y+2>>0]=a[88518]|0;e=e+1|0;c[w>>2]=e;zN(y,88519,w)|0;lg[c[g+2439664>>2]&31](g,y,h+2|0,j,f)|0}while(0)}while((e|0)!=2);r=q+28|0;q=t+7|0;i=c[b>>2]|0;a[y>>0]=0;j=i+2439700|0;k=i+1260276|0;m=z+5|0;n=i+2439660|0;h=0;do{o=r+(((h|0)/4|0)*43|0)|0;p=q+(((h|0)%4|0)*9|0)|0;f=(c[s>>2]<<3)+h|0;e=c[48]|0;if((((e|0)>=(o|0)?(A=o+41|0,(e|0)<(A|0)):0)?(B=c[49]|0,(B|0)>=(p|0)):0)?(C=p+8|0,(B|0)<(C|0)):0){c[68]=11;if(((((a[205]|0)!=0?(b=c[52]|0,(b|0)>=(o|0)&(b|0)<(A|0)):0)?(b=c[53]|0,(b|0)>=(p|0)&(b|0)<(C|0)):0)?(b=c[54]|0,(b|0)>=(o|0)&(b|0)<(A|0)):0)?(b=c[55]|0,(b|0)>=(p|0)&(b|0)<(C|0)):0){a[205]=0;c[u>>2]=(c[u>>2]|0)!=(f|0)?f:-1;g=7}else g=7}else g=0;if(!((c[u>>2]|0)==(f|0)?((c[D>>2]|0)%60|0|0)<30:0)){Lg[c[j>>2]&1](i,k,h+8|0,o,p,1,1,y,1,1,0,0);e=c[292+(f<<2)>>2]|0;if(!e)e=287140;else{if(e>>>0>511){c[E>>2]=309866;_D(309840,E);e=0}else e=c[321536+(e<<2)>>2]|0;e=OM(e)|0}PO(z,e)|0;if((JO(z)|0)>>>0>5)a[m>>0]=0;lg[c[n>>2]&31](i,z,o+10|0,p+2|0,g)|0}h=h+1|0}while((h|0)!=8);l=F;return}default:{l=F;return}}}function Ak(b){b=b|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;r=l;l=l+16|0;p=r;n=b+32|0;e=c[n>>2]|0;o=b+36|0;d=c[o>>2]|0;g=60-e|0;q=c[b>>2]|0;i=31-d|0;m=c[48]|0;if((((((((m|0)>=(g|0)?(j=g+120|0,(m|0)<(j|0)):0)?(k=c[49]|0,(k|0)>=(i|0)):0)?(f=i+7|0,(k|0)<(f|0)):0)?(c[68]=11,a[204]|0):0)?(s=c[52]|0,(s|0)>=(g|0)&(s|0)<(j|0)):0)?(s=c[53]|0,(s|0)>=(i|0)&(s|0)<(f|0)):0)?(h=b+48|0,(a[h>>0]|0)==0):0){c[b+40>>2]=e+m;c[b+44>>2]=d+k;a[h>>0]=1}f=b+48|0;if(a[f>>0]|0){c[68]=11;e=(c[b+40>>2]|0)-m|0;c[n>>2]=e;d=(c[b+44>>2]|0)-(c[49]|0)|0;c[o>>2]=d;if(!((a[204]|0)!=0&(c[52]|0)>>>0<240&(c[53]|0)>>>0<136))a[f>>0]=0}o=60-e|0;s=37-d|0;m=q+2439688|0;Gg[c[m>>2]&7](q,o,s,120,61,8);Gg[c[q+2439692>>2]&7](q,o,s,120,61,15);n=q+2439684|0;b=s+61|0;Gg[c[n>>2]&7](q,o,b,o+119|0,b,0);b=s+-5|0;Gg[c[m>>2]&7](q,o,b,120,5,15);m=s+-6|0;Gg[c[n>>2]&7](q,o+1|0,m,o+118|0,m,15);m=q+2439660|0;n=lg[c[m>>2]&31](q,88523,0,-6,0)|0;lg[c[m>>2]&31](q,88523,((120-n|0)/2|0)+o|0,b,7)|0;a[p>>0]=14;Lg[c[q+2439700>>2]&1](q,q+1260276|0,0,o+6|0,s+-4|0,2,2,p,1,1,0,0);l=r;return}function Bk(a){a=a|0;a=c[3]|0;vg[c[a+2439788>>2]&511](a);c[45]=2;return}function Ck(a){a=a|0;var b=0;a=c[a>>2]|0;vg[c[a+2439780>>2]&511](a);a=c[45]|0;switch(a|0){case 11:case 10:case 9:case 1:case 0:break;case 12:{c[46]=3;break}case 2:return;default:c[46]=a}li(c[223]|0,c[222]|0,c[3]|0);c[45]=2;b=c[79957]|0;if(!b)return;a=c[b+224>>2]|0;if(!a)return;if(!(gg[a&511](b)|0))return;if((c[45]|2|0)!=3)return;PM();return}function Dk(a){a=a|0;var b=0,e=0;e=c[3]|0;b=e+1309748|0;b=d[b>>0]|d[b+1>>0]<<8;Ig[c[e+2439748>>2]&7](e,2,(b&65535)>>>8&15,b&7,-1,0,15,0);c[a+52>>2]=1;c[a+24>>2]=0;return}function Ek(b){b=b|0;var d=0,e=0;b=c[45]|0;a:do if((c[46]|0)==12){b:do switch(b|0){case 12:break a;case 2:{e=c[3]|0;vg[c[e+2439784>>2]&511](e);e=c[3]|0;vg[c[e+2439780>>2]&511](e);break}default:{e=c[3]|0;vg[c[e+2439780>>2]&511](e);switch(b|0){case 10:case 9:case 11:case 1:case 0:break b;default:{}}c[46]=b}}while(0);b=c[229]|0;vg[c[b+48>>2]&511](b);c[45]=12;b=c[79957]|0;if(((b|0?(d=c[b+224>>2]|0,d|0):0)?gg[d&511](b)|0:0)?(c[45]|2|0)==3:0)PM()}else{c:do switch(b|0){case 1:break a;case 2:{d=c[3]|0;vg[c[d+2439784>>2]&511](d);d=c[3]|0;vg[c[d+2439780>>2]&511](d);break}default:{d=c[3]|0;vg[c[d+2439780>>2]&511](d);switch(b|0){case 10:case 9:case 11:case 0:break c;case 12:{c[46]=3;break c}default:{c[46]=b;break c}}}}while(0);c[45]=1;b=c[79957]|0;if(((b|0?(e=c[b+224>>2]|0,e|0):0)?gg[e&511](b)|0:0)?(c[45]|2|0)==3:0)PM()}while(0);a[(c[222]|0)+13125>>0]=0;return}function Fk(b){b=b|0;var 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,A=0,B=0,C=0,D=0,E=0;E=l;l=l+12304|0;D=E+4104|0;r=E+4096|0;w=E;C=E+4112|0;p=E+8208|0;s=E+4108|0;g=b+20|0;if(!(a[g>>0]|0)){Hk(b);c[b+16>>2]=2548;c[638]=0;if((c[640]|0)>0){f=c[637]|0;e=0;do{B=c[f+(e<<2)>>2]|0;c[c[B+12>>2]>>2]=c[B>>2];e=e+1|0}while((e|0)<(c[640]|0))}c[638]=0;c[642]=0;a[g>>0]=1}e=b+24|0;c[e>>2]=(c[e>>2]|0)+1;do{}while((eh()|0)!=0);o=c[b>>2]|0;Bg[c[o+2439672>>2]&255](o,0);n=c[b>>2]|0;i=(c[e>>2]|0)%16|0;j=n+1260276|0;k=n+2439700|0;f=0;g=0;while(1){m=(f<<4)-i|0;e=0;h=g;while(1){if(h&1|0)Lg[c[k>>2]&1](n,j,34,(e<<4)-i|0,m,2,2,0,0,1,0,0);e=e+1|0;if((e|0)==17)break;else h=h+1|0}f=f+1|0;if((f|0)==10)break;else g=g+17|0}B=b+40|0;if((c[B>>2]|0)<=0){C=o+2439660|0;D=lg[c[C>>2]&31](o,88665,0,-6,15)|0;lg[c[C>>2]&31](o,88665,(240-D|0)/2|0,65,15)|0;l=E;return}o=b+16|0;f=c[o>>2]|0;e=c[f+4>>2]|0;do if((e|0)>(c[f+8>>2]|0)){e=c[f+20>>2]|0;if(e){vg[e&511](b);f=c[o>>2]|0}i=c[f+16>>2]|0;if(!i){e=c[f+4>>2]|0;break}c[o>>2]=i;f=i+4|0;c[f>>2]=0;g=i+12|0;if((c[g>>2]|0)>0){h=c[i>>2]|0;e=0;do{y=c[h+(e<<2)>>2]|0;c[c[y+12>>2]>>2]=c[y>>2];e=e+1|0}while((e|0)<(c[g>>2]|0))}c[f>>2]=0;c[i+20>>2]=0;e=0;f=i}while(0);m=f+12|0;n=f+4|0;if((c[m>>2]|0)>0){k=c[f>>2]|0;j=0;do{i=c[k+(j<<2)>>2]|0;g=c[i+8>>2]|0;h=c[i+4>>2]|0;if((e|0)<(g|0)){y=c[i>>2]|0;e=((O(h-y|0,e)|0)/(g|0)|0)+y|0}else e=h;c[c[i+12>>2]>>2]=e;j=j+1|0;e=c[n>>2]|0}while((j|0)<(c[m>>2]|0))}c[n>>2]=e+1;g=b+28|0;y=b+32|0;e=c[y>>2]|0;do if(e|0){e=e+(e>>31|1)|0;c[y>>2]=e;if((e|0)<-9){c[y>>2]=0;v=c[g>>2]|0;c[g>>2]=v+-1;if((v|0)>=1)break;c[g>>2]=(c[B>>2]|0)+-1;break}else{if((e|0)<=9)break;c[y>>2]=0;v=(c[g>>2]|0)+1|0;c[g>>2]=(v|0)<(c[B>>2]|0)?v:0;break}}while(0);if((f|0)==317036){g=c[b>>2]|0;h=g+2439796|0;if(jg[c[h>>2]&31](g,0,20,10)|0){c[y>>2]=-1;u=c[3]|0;v=u+1309748|0;v=d[v>>0]|d[v+1>>0]<<8;Ig[c[u+2439748>>2]&7](u,2,(v&65535)>>>8&15,v&7,-1,0,15,0)}if(jg[c[h>>2]&31](g,1,20,10)|0){c[y>>2]=1;u=c[3]|0;v=u+1309748|0;v=d[v>>0]|d[v+1>>0]<<8;Ig[c[u+2439748>>2]&7](u,2,(v&65535)>>>8&15,v&7,-1,0,15,0)}do if(jg[c[h>>2]&31](g,4,-1,-1)|0){e=c[b+36>>2]|0;f=c[b+28>>2]|0;if(a[e+(f*24|0)+20>>0]|0){Ik(b,c[e+(f*24|0)+4>>2]|0);break}c[o>>2]=2652;c[664]=0;if((c[666]|0)>0){f=c[663]|0;e=0;do{v=c[f+(e<<2)>>2]|0;c[c[v+12>>2]>>2]=c[v>>2];e=e+1|0}while((e|0)<(c[666]|0))}c[664]=0;c[668]=206}while(0);if(jg[c[h>>2]&31](g,5,-1,-1)|0)Ik(b,287137)}i=c[b>>2]|0;t=b+36|0;j=c[t>>2]|0;u=b+28|0;k=c[u>>2]|0;v=b+4|0;f=c[v>>2]|0;e=f+4096|0;if((wN(e,84366)|0)!=0?(xN(e,84384,18)|0)!=0:0){c[C>>2]=0;e=j+(k*24|0)+4|0;g=Ci(f,c[e>>2]|0,C)|0;if(g|0){h=TM(1178356)|0;if(h|0){e=c[e>>2]|0;o=(wN(e+(JO(e)|0)+-4|0,88600)|0)==0;f=c[C>>2]|0;if(o){o=c[b+8>>2]|0;lg[c[o+13136>>2]&31](o,e,g,f,h)|0}else Eg[c[i+2439808>>2]&63](h,g,f,1);if(c[h+1047792>>2]|0)Kk(c[b>>2]|0,c[u>>2]|0,c[t>>2]|0,h+1047796|0);UM(h)}UM(g)}}else x=61;if(((x|0)==61?(q=c[j+(k*24|0)+8>>2]|0,q|0):0)?(c[j+(k*24|0)+16>>2]|0)==0:0){c[s>>2]=0;EQ(C|0,0,4096)|0;c[w>>2]=q;zN(C,88605,w)|0;e=c[v>>2]|0;o=e+4096|0;PO(w,o)|0;EQ(o|0,0,4096)|0;e=Ci(e,C,s)|0;PO(o,w)|0;do if(!e){EQ(p|0,0,4096)|0;c[r>>2]=q;zN(p,88625,r)|0;e=TM(0)|0;c[s>>2]=0;if(!e)break;else{s=c[v>>2]|0;x=s+4096|0;PO(w,x)|0;EQ(x|0,0,4096)|0;Ei(s,C,e,0,0)|0;PO(x,w)|0;x=68;break}}else x=68;while(0);if((x|0)==68){Kk(c[b>>2]|0,c[u>>2]|0,c[t>>2]|0,e);UM(e)}}f=c[(c[t>>2]|0)+((c[u>>2]|0)*24|0)+16>>2]|0;if(f|0){g=c[b>>2]|0;e=0;do{i=e*120|0;h=g+i|0;i=f+i|0;j=h+120|0;do{a[h>>0]=a[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));e=e+1|0}while((e|0)!=136);if(c[(c[t>>2]|0)+((c[u>>2]|0)*24|0)+16>>2]|0){m=c[79267]|0;s=c[b>>2]|0;e=c[79268]|0;if(e|0?(x=10-e|0,A=((x|0)/2|0)+62|0,x=(x|0)<-125,z=x?0:A,A=e+2+(x?A:0)+z|0,A=(A|0)<136?A:136,(z|0)<(A|0)):0){i=z;do{j=i*240|0;h=0;do{z=h+j|0;k=s+(z>>>1)|0;z=z&1;f=d[k>>0]|0;e=f&15;g=z|0?f>>>4:f;if(!z){e=f&240;a[k>>0]=e;f=g&3}else{a[k>>0]=e;f=g<<4&48}a[k>>0]=f|e;h=h+1|0}while((h|0)!=240);i=i+1|0}while((i|0)<(A|0))}if((c[B>>2]|0)>0){r=s+2439660|0;q=(m|0)<-3?0:m+3|0;m=m+4|0;n=0;do{o=63-(c[y>>2]|0)+((n-(c[u>>2]|0)|0)*10|0)|0;p=lg[c[r>>2]&31](s,c[(c[t>>2]|0)+(n*24|0)>>2]|0,0,-6,0)|0;e=(o|0)<-1?0:o+1|0;p=m+p|0;o=o+9|0;p=(p|0)<240?p:240;o=(o|0)<136?o:136;if((e|0)<(o|0)&(q|0)<(p|0))do{j=e*240|0;i=q;do{A=i+j|0;k=s+(A>>>1)|0;A=A&1;g=d[k>>0]|0;f=g&15;h=A|0?g>>>4:g;if(!A){f=g&240;a[k>>0]=f;g=h&3}else{a[k>>0]=f;g=h<<4&48}a[k>>0]=g|f;i=i+1|0}while((i|0)<(p|0));e=e+1|0}while((e|0)<(o|0));n=n+1|0}while((n|0)<(c[B>>2]|0))}}}e=c[79267]|0;g=c[b>>2]|0;A=c[79268]|0;Gg[c[g+2439688>>2]&7](g,0,((10-A|0)/2|0)+63|0,240,A,6);if((c[B>>2]|0)>0){h=g+2439660|0;f=e+4|0;e=0;do{z=c[(c[t>>2]|0)+(e*24|0)>>2]|0;A=63-(c[y>>2]|0)+((e-(c[u>>2]|0)|0)*10|0)|0;lg[c[h>>2]&31](g,z,f,A+3|0,0)|0;lg[c[h>>2]&31](g,z,f,A+2|0,15)|0;e=e+1|0}while((e|0)<(c[B>>2]|0))}f=c[79265]|0;e=c[b>>2]|0;h=e+2439688|0;Gg[c[h>>2]&7](e,0,f+-10|0,240,10,8);Gg[c[h>>2]&7](e,0,f,240,1,0);h=C;i=88644;j=h+12|0;do{a[h>>0]=a[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));B=f+-8|0;A=e+2439660|0;z=f+-7|0;lg[c[A>>2]&31](e,C,4,z,0)|0;lg[c[A>>2]&31](e,C,4,B,15)|0;a[C>>0]=0;w=e+2439700|0;x=e+1260276|0;y=f+-9|0;Lg[c[w>>2]&1](e,x,12,150,y,1,1,C,1,1,0,0);lg[c[A>>2]&31](e,88122,160,z,0)|0;lg[c[A>>2]&31](e,88122,160,B,15)|0;Lg[c[w>>2]&1](e,x,13,204,y,1,1,C,1,1,0,0);lg[c[A>>2]&31](e,88656,214,z,0)|0;lg[c[A>>2]&31](e,88656,214,B,15)|0;B=136-(c[79266]|0)|0;b=c[b>>2]|0;A=b+2439688|0;Gg[c[A>>2]&7](b,0,B,240,10,8);Gg[c[A>>2]&7](b,0,B+10|0,240,1,0);c[D>>2]=(c[v>>2]|0)+4096;zN(C,88661,D)|0;D=b+2439660|0;lg[c[D>>2]&31](b,C,4,B+3|0,0)|0;lg[c[D>>2]&31](b,C,4,B+2|0,15)|0;l=E;return}function Gk(a){a=a|0;var b=0,d=0;c[a+16>>2]=2548;c[638]=0;if((c[640]|0)<=0){c[638]=0;c[642]=0;return}b=c[637]|0;a=0;do{d=c[b+(a<<2)>>2]|0;c[c[d+12>>2]>>2]=c[d>>2];a=a+1|0}while((a|0)<(c[640]|0));c[638]=0;c[642]=0;return}function Hk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+4112|0;k=m;h=m+16|0;i=m+4|0;j=b+36|0;e=c[j>>2]|0;if(e|0){g=b+40|0;if((c[g>>2]|0)>0){d=0;while(1){UM(c[e+(d*24|0)+4>>2]|0);e=c[j>>2]|0;f=c[e+(d*24|0)+8>>2]|0;if(f){UM(f);e=c[j>>2]|0}f=c[e+(d*24|0)+16>>2]|0;if(f){UM(f);e=c[j>>2]|0}e=c[e+(d*24|0)>>2]|0;if(e|0)UM(e);d=d+1|0;if((d|0)>=(c[g>>2]|0))break;e=c[j>>2]|0}d=c[j>>2]|0}else d=e;UM(d);c[j>>2]=0;c[g>>2]=0}c[b+28>>2]=0;c[b+32>>2]=0;d=TM(6144)|0;c[i>>2]=d;e=i+4|0;c[e>>2]=0;c[i+8>>2]=b;f=b+4|0;g=c[f>>2]|0;if(!(a[g+4096>>0]|0)){k=g;yi(k,4,i);k=c[i>>2]|0;c[j>>2]=k;j=c[e>>2]|0;k=b+40|0;c[k>>2]=j;l=m;return}c[e>>2]=1;c[d+4>>2]=aP(287137)|0;c[k>>2]=287137;zN(h,88699,k)|0;c[d>>2]=aP(h)|0;c[d+8>>2]=0;c[d+12>>2]=0;a[d+20>>0]=1;c[d+16>>2]=0;a[d+21>>0]=0;k=c[f>>2]|0;yi(k,4,i);k=c[i>>2]|0;c[j>>2]=k;j=c[e>>2]|0;k=b+40|0;c[k>>2]=j;l=m;return}function Ik(b,e){b=b|0;e=e|0;var f=0,g=0;g=(wN(e,287137)|0)==0;f=c[b+4>>2]|0;if(g){if(!(a[f+4096>>0]|0))return;f=c[3]|0;g=f+1309748|0;g=d[g>>0]|d[g+1>>0]<<8;Ig[c[f+2439748>>2]&7](f,2,(g&65535)>>>8&15,g&7,-1,0,15,0);c[b+16>>2]=2756;c[690]=0;if((c[692]|0)>0){e=c[689]|0;b=0;do{g=c[e+(b<<2)>>2]|0;c[c[g+12>>2]>>2]=c[g>>2];b=b+1|0}while((b|0)<(c[692]|0))}c[690]=0;c[694]=207;return}else{if(!(Ai(f,e)|0))return;f=c[3]|0;g=f+1309748|0;g=d[g>>0]|d[g+1>>0]<<8;Ig[c[f+2439748>>2]&7](f,2,(g&65535)>>>8&15,g&7,-1,0,15,0);c[b+16>>2]=2780;c[696]=0;if((c[698]|0)>0){e=c[695]|0;b=0;do{g=c[e+(b<<2)>>2]|0;c[c[g+12>>2]>>2]=c[g>>2];b=b+1|0}while((b|0)<(c[698]|0))}c[696]=0;c[700]=208;return}}function Jk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=l;l=l+16|0;d=h;e=c[b+36>>2]|0;f=c[b+28>>2]|0;if(a[e+(f*24|0)+21>>0]|0){g=TM(1178356)|0;if(g|0){c[d>>2]=0;e=e+(f*24|0)+4|0;f=Ci(c[b+4>>2]|0,c[e>>2]|0,d)|0;i=c[b+8>>2]|0;lg[c[i+13136>>2]&31](i,c[e>>2]|0,f,c[d>>2]|0,g)|0;CQ((c[b>>2]|0)+81920|0,g|0,1178356)|0;bh();UM(g)}}else{i=c[b+8>>2]|0;Bg[c[i+13132>>2]&255](i,c[e+(f*24|0)+4>>2]|0)}b=c[3]|0;vg[c[b+2439780>>2]&511](b);b=c[45]|0;switch(b|0){case 11:case 10:case 9:case 1:case 0:break;case 12:{c[46]=3;break}case 2:{c[46]=12;l=h;return}default:c[46]=b}li(c[223]|0,c[222]|0,c[3]|0);c[45]=2;b=c[79957]|0;if(!b){c[46]=12;l=h;return}d=c[b+224>>2]|0;if(!d){c[46]=12;l=h;return}if(!(gg[d&511](b)|0)){c[46]=12;l=h;return}if((c[45]|2|0)!=3){c[46]=12;l=h;return}PM();c[46]=12;l=h;return}function Kk(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,q=0;o=f+(e*24|0)+16|0;c[o>>2]=TM(16320)|0;p=ui(g)|0;if(!p)return;if((c[p+8>>2]|0)==240?(c[p+12>>2]|0)==136:0){n=p+4|0;m=0;do{l=c[n>>2]|0;i=d[(c[p>>2]|0)+m>>0]|0;g=d[l+(i*3|0)>>0]|0;h=d[l+(i*3|0)+1>>0]|0;i=d[l+(i*3|0)+2>>0]|0;l=0;e=0;f=-1;while(1){k=g-(d[b+2308020+(e*3|0)>>0]|0)|0;q=h-(d[b+2308020+(e*3|0)+1>>0]|0)|0;j=i-(d[b+2308020+(e*3|0)+2>>0]|0)|0;j=(O(q,q)|0)+(O(k,k)|0)+(O(j,j)|0)|0;k=j>>>0>>0;l=k?e:l;e=e+1|0;if((e|0)==16)break;else f=k?j:f}g=(c[o>>2]|0)+(m>>>1)|0;e=d[g>>0]|0;if(!(m&1)){f=e&240;a[g>>0]=f;e=l&15}else{f=e&15;a[g>>0]=f;e=l<<4&4080}a[g>>0]=e|f;m=m+1|0}while((m|0)!=32640)}e=c[p>>2]|0;if(e|0)UM(e);e=c[p+4>>2]|0;if(e|0)UM(e);UM(p);return}function Lk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+8208|0;m=o;j=o+4104|0;k=o+8|0;f=b+4|0;PO(j,(c[f>>2]|0)+4096|0)|0;d=c[f>>2]|0;e=d+4096|0;if(!(wN(e,84366)|0))EQ(e|0,0,4096)|0;else{i=JO(e)|0;d=d+4096+i|0;a:do if((i|0)>0)do{if((a[d>>0]|0)==47)break a;d=d+-1|0}while(d>>>0>e>>>0);while(0);a[d>>0]=0}Hk(b);g=(c[f>>2]|0)+4096|0;h=b+40|0;d=c[h>>2]|0;if((d|0)<=0){l=o;return}i=b+36|0;e=0;while(1){f=c[i>>2]|0;if(a[f+(e*24|0)+20>>0]|0){d=c[f+(e*24|0)+4>>2]|0;if(!(a[g>>0]|0))PO(k,d)|0;else{c[m>>2]=g;c[m+4>>2]=d;zN(k,88693,m)|0}if(!(wN(k,j)|0))break;d=c[h>>2]|0}e=e+1|0;if((e|0)>=(d|0)){n=17;break}}if((n|0)==17){l=o;return}c[b+28>>2]=e;l=o;return}function Mk(b){b=b|0;var d=0,e=0,f=0,g=0;f=c[b+4>>2]|0;g=c[(c[b+36>>2]|0)+((c[b+28>>2]|0)*24|0)+4>>2]|0;if(!(Ai(f,g)|0)){Hk(b);return}d=f+4096|0;e=JO(d)|0;if(e|0){f=f+4096+e|0;a[f>>0]=47;a[f+1>>0]=0}hQ(d,g)|0;Hk(b);return}function Nk(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,m=0,n=0,o=0,p=0;p=l;l=l+4112|0;i=p;h=p+8|0;o=g&1;if(!g?wN(b+(JO(b)|0)+-4|0,43061)|0:0){o=f+4|0;o=c[o>>2]|0;o=(o|0)<256;l=p;return o|0}n=c[f>>2]|0;k=f+4|0;m=c[k>>2]|0;c[k>>2]=m+1;j=n+(m*24|0)|0;c[n+(m*24|0)+4>>2]=aP(b)|0;if(!g){f=aP(b)|0;c[j>>2]=f;if(!(wN(b+(JO(b)|0)+-4|0,43061)|0)){a[f+((JO(f)|0)+-4)>>0]=0;g=0;f=c[j>>2]|0}else g=1;h=zP(f,88704)|0;if(!h)h=f;else{do{PO(h,h+4|0)|0;a[h>>0]=38;h=zP(f,88704)|0}while((h|0)!=0);h=c[j>>2]|0}f=zP(h,88710)|0;if(f)do{PO(f,f+4|0)|0;a[f>>0]=39;f=zP(h,88710)|0}while((f|0)!=0)}else{c[i>>2]=b;zN(h,88699,i)|0;c[j>>2]=aP(h)|0;g=0}if(!d)f=0;else f=aP(d)|0;c[n+(m*24|0)+8>>2]=f;c[n+(m*24|0)+12>>2]=e;a[n+(m*24|0)+20>>0]=o;c[n+(m*24|0)+16>>2]=0;a[n+(m*24|0)+21>>0]=g&1;o=k;o=c[o>>2]|0;o=(o|0)<256;l=p;return o|0}function Ok(b,c,d,e,f,g,h,i){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;g=l;l=l+16|0;j=g;a[j>>0]=h;Pk(b,b+24576+((c&255)<<5)|0,d,e,j,1,i,0,0);i=O(i,f)|0;l=g;return i|0}function Pk(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;m=0;do{y=d[(m>>>1)+(b+16368)>>0]|0;a[332633+m>>0]=m&1|0?y>>>4:y&15;m=m+1|0}while((m|0)!=16);if((i|0)>0){m=0;do{a[332633+(d[h+m>>0]|0)>>0]=-1;m=m+1|0}while((m|0)!=(i|0))}h=l&1;m=k&3;switch(l&3){case 1:{m=m^1;break}case 2:{m=m^3;break}case 3:{m=m^2;break}default:{}}m=(h|2|0)==3?m|4:m;if((j|0)!=1){x=(m&1|0)!=0;y=(m&2|0)!=0;r=(m&4|0)==0;s=b+2589048|0;t=b+2589056|0;u=b+2589044|0;v=b+2589052|0;w=b+2589360|0;q=(j|0)<1;p=0;do{o=y?7-p|0:p;n=g;g=g+j|0;l=0;m=f;do{k=x?7-l|0:l;k=((r?o:k)<<3)+(r?k:o)|0;h=d[e+(k>>>1)>>0]|0;h=k&1|0?h>>>4:h&15;if(!((a[332633+h>>0]|0)==-1|q)){i=(h>>>1)+(b+16368)|0;k=m+j|0;if(!(h&1)){h=n;do{if((c[s>>2]|0)<=(h|0)?(c[t>>2]|0)>(h|0):0){A=c[u>>2]|0;z=c[v>>2]|0;Fg[c[w>>2]&15](b,(A|0)<(m|0)?m:A,(k|0)<(z|0)?k:z,h,a[i>>0]&15)}h=h+1|0}while((h|0)<(g|0));m=k}else{h=n;do{if((c[s>>2]|0)<=(h|0)?(c[t>>2]|0)>(h|0):0){z=c[u>>2]|0;A=c[v>>2]|0;Fg[c[w>>2]&15](b,(z|0)<(m|0)?m:z,(k|0)<(A|0)?k:A,h,(d[i>>0]|0)>>>4)}h=h+1|0}while((h|0)<(g|0));m=k}}else m=m+j|0;l=l+1|0}while((l|0)!=8);p=p+1|0}while((p|0)!=8);return}p=(c[b+2589044>>2]|0)-f|0;p=(p|0)>0?p:0;l=(c[b+2589048>>2]|0)-g|0;l=(l|0)>0?l:0;q=(c[b+2589052>>2]|0)-f|0;q=(q|0)<8?q:8;r=(c[b+2589056>>2]|0)-g|0;r=(r|0)<8?r:8;i=l+g|0;o=p+f|0;switch(m|0){case 4:{if((l|0)>=(r|0))return;g=b+2589352|0;if((p|0)>=(q|0))return;while(1){m=p;h=o;while(1){A=(m<<3)+l|0;k=d[e+(A>>>1)>>0]|0;k=a[332633+(A&1|0?k>>>4:k&15)>>0]|0;if(k<<24>>24!=-1)Eg[c[g>>2]&63](b,h,i,k);m=m+1|0;if((m|0)>=(q|0))break;else h=h+1|0}l=l+1|0;if((l|0)>=(r|0))break;else i=i+1|0}return}case 6:{if((l|0)>=(r|0))return;n=b+2589352|0;if((p|0)>=(q|0))return;while(1){k=7-l|0;m=p;h=o;while(1){A=(m<<3)+k|0;g=d[e+(A>>>1)>>0]|0;g=a[332633+(A&1|0?g>>>4:g&15)>>0]|0;if(g<<24>>24!=-1)Eg[c[n>>2]&63](b,h,i,g);m=m+1|0;if((m|0)>=(q|0))break;else h=h+1|0}l=l+1|0;if((l|0)>=(r|0))break;else i=i+1|0}return}case 5:{if((l|0)>=(r|0))return;g=b+2589352|0;if((p|0)>=(q|0))return;while(1){m=p;h=o;while(1){A=(7-m<<3)+l|0;k=d[e+(A>>>1)>>0]|0;k=a[332633+(A&1|0?k>>>4:k&15)>>0]|0;if(k<<24>>24!=-1)Eg[c[g>>2]&63](b,h,i,k);m=m+1|0;if((m|0)>=(q|0))break;else h=h+1|0}l=l+1|0;if((l|0)>=(r|0))break;else i=i+1|0}return}case 7:{if((l|0)>=(r|0))return;n=b+2589352|0;if((p|0)>=(q|0))return;while(1){k=7-l|0;m=p;h=o;while(1){A=(7-m<<3)+k|0;g=d[e+(A>>>1)>>0]|0;g=a[332633+(A&1|0?g>>>4:g&15)>>0]|0;if(g<<24>>24!=-1)Eg[c[n>>2]&63](b,h,i,g);m=m+1|0;if((m|0)>=(q|0))break;else h=h+1|0}l=l+1|0;if((l|0)>=(r|0))break;else i=i+1|0}return}case 0:{if((l|0)>=(r|0))return;n=b+2589352|0;if((p|0)>=(q|0))return;while(1){k=l<<3;m=p;h=o;while(1){A=m+k|0;g=d[e+(A>>>1)>>0]|0;g=a[332633+(A&1|0?g>>>4:g&15)>>0]|0;if(g<<24>>24!=-1)Eg[c[n>>2]&63](b,h,i,g);m=m+1|0;if((m|0)>=(q|0))break;else h=h+1|0}l=l+1|0;if((l|0)>=(r|0))break;else i=i+1|0}return}case 2:{if((l|0)>=(r|0))return;n=b+2589352|0;if((p|0)>=(q|0))return;while(1){k=7-l<<3;m=p;h=o;while(1){A=m+k|0;g=d[e+(A>>>1)>>0]|0;g=a[332633+(A&1|0?g>>>4:g&15)>>0]|0;if(g<<24>>24!=-1)Eg[c[n>>2]&63](b,h,i,g);m=m+1|0;if((m|0)>=(q|0))break;else h=h+1|0}l=l+1|0;if((l|0)>=(r|0))break;else i=i+1|0}return}case 1:{if((l|0)>=(r|0))return;n=b+2589352|0;if((p|0)>=(q|0))return;while(1){g=l<<3;m=p;h=o;while(1){A=7-m+g|0;k=d[e+(A>>>1)>>0]|0;k=a[332633+(A&1|0?k>>>4:k&15)>>0]|0;if(k<<24>>24!=-1)Eg[c[n>>2]&63](b,h,i,k);m=m+1|0;if((m|0)>=(q|0))break;else h=h+1|0}l=l+1|0;if((l|0)>=(r|0))break;else i=i+1|0}return}case 3:{if((l|0)>=(r|0))return;n=b+2589352|0;if((p|0)>=(q|0))return;while(1){k=7-l<<3;m=p;h=o;while(1){A=7-m+k|0;g=d[e+(A>>>1)>>0]|0;g=a[332633+(A&1|0?g>>>4:g&15)>>0]|0;if(g<<24>>24!=-1)Eg[c[n>>2]&63](b,h,i,g);m=m+1|0;if((m|0)>=(q|0))break;else h=h+1|0}l=l+1|0;if((l|0)>=(r|0))break;else i=i+1|0}return}default:Ga(89740,89784,324,89794)}}function Qk(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,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;A=e&255;i=0;while(1){z=d[(i>>>1)+(b+24576+(A<<5))>>0]|0;if(((i&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24){l=7;e=8;m=4;break}y=i+8|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24){l=7;e=8;m=4;break}y=i+16|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24){l=7;e=8;m=4;break}y=i+24|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24){l=7;e=8;m=4;break}y=i+32|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24){l=7;e=8;m=4;break}y=i+40|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24){l=7;e=8;m=4;break}y=i+48|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24){l=7;e=8;m=4;break}y=i+56|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24){l=7;e=8;m=4;break}i=i+1|0;if((i|0)>=8){e=8;break}}a:do if((m|0)==4)while(1){z=d[(l>>>1)+(b+24576+(A<<5))>>0]|0;if(((l&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24)break a;y=l+8|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24)break a;y=l+16|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24)break a;y=l+24|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24)break a;y=l+32|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24)break a;y=l+40|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24)break a;y=l+48|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24)break a;y=l+56|0;z=d[(y>>>1)+(b+24576+(A<<5))>>0]|0;if(((y&1|0?z>>>4:z&15)&255)<<24>>24!=j<<24>>24)break a;e=e+-1|0;if((l|0)>(i|0)){l=l+-1|0;m=4}else break}while(0);t=(e|0)>(i|0);u=(k|0)>0;v=b+2589048|0;w=b+2589056|0;x=b+2589044|0;y=b+2589052|0;z=b+2589360|0;l=g;s=0;do{if(t){q=s<<3;r=l+k|0;if(u){m=f;p=i;do{o=p+q|0;g=d[(o>>>1)+(b+24576+(A<<5))>>0]|0;g=o&1|0?g>>>4:g&15;if((g&255)<<24>>24!=j<<24>>24){n=(g>>>1)+(b+16368)|0;o=m+k|0;if(!(g&1)){g=l;do{if((c[v>>2]|0)<=(g|0)?(c[w>>2]|0)>(g|0):0){C=c[x>>2]|0;B=c[y>>2]|0;Fg[c[z>>2]&15](b,(C|0)<(m|0)?m:C,(o|0)<(B|0)?o:B,g,a[n>>0]&15)}g=g+1|0}while((g|0)<(r|0));m=o}else{g=l;do{if((c[v>>2]|0)<=(g|0)?(c[w>>2]|0)>(g|0):0){B=c[x>>2]|0;C=c[y>>2]|0;Fg[c[z>>2]&15](b,(B|0)<(m|0)?m:B,(o|0)<(C|0)?o:C,g,(d[n>>0]|0)>>>4)}g=g+1|0}while((g|0)<(r|0));m=o}}else m=m+k|0;p=p+1|0}while((p|0)!=(e|0));l=r}else l=r}else l=l+k|0;s=s+1|0}while((s|0)!=8);C=e-i|0;return O(C|0?C+1|0:h,k)|0}function Rk(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0,h=0,i=0,j=0,k=0.0;g=TM(2672096)|0;EQ(g|0,0,2672096)|0;c[g+2588580>>2]=g+65508;c[g+2588584>>2]=g+69988;c[g+2439656>>2]=5;c[g+2439660>>2]=6;c[g+2439664>>2]=7;c[g+2439668>>2]=1;c[g+2439672>>2]=150;c[g+2439676>>2]=5;c[g+2439680>>2]=10;c[g+2439684>>2]=1;c[g+2439688>>2]=2;c[g+2439692>>2]=3;c[g+2439696>>2]=1;c[g+2439700>>2]=1;c[g+2439704>>2]=1;c[g+2439708>>2]=1;c[g+2439712>>2]=3;c[g+2439716>>2]=2;c[g+2439720>>2]=4;c[g+2439724>>2]=5;c[g+2439728>>2]=1;c[g+2439732>>2]=1;c[g+2439736>>2]=6;c[g+2439740>>2]=4;c[g+2439744>>2]=151;c[g+2439748>>2]=2;c[g+2439752>>2]=11;c[g+2439756>>2]=7;c[g+2439760>>2]=8;c[g+2439764>>2]=1;c[g+2439768>>2]=152;c[g+2439772>>2]=12;c[g+2439776>>2]=153;h=g+2439780|0;c[h>>2]=209;c[g+2439784>>2]=210;c[g+2439788>>2]=211;c[g+2439792>>2]=6;c[g+2439796>>2]=3;c[g+2439800>>2]=10;c[g+2439804>>2]=4;c[g+2439808>>2]=7;c[g+2439812>>2]=11;c[g+2439816>>2]=13;c[g+2439820>>2]=212;c[g+2439824>>2]=8;c[g+2439828>>2]=381;c[g+2588576>>2]=a;b=((a|0)/60|0)<<1;c[g+2440928>>2]=b;c[g+2440924>>2]=TM(b)|0;b=(a|0)/10|0;if((a|0)<=-10)Ga(89982,89992,115,90011);d=b<<2;i=TM(d+104|0)|0;if(i|0){j=i;c[j>>2]=0;c[j+4>>2]=1;c[i+20>>2]=b;b=i+8|0;c[b>>2]=-2147483648;c[b+4>>2]=0;c[i+16>>2]=0;c[i+24>>2]=0;EQ(i+32|0,0,d+72|0)|0}c[g+2588572>>2]=i;e=+(a|0)*4503599627370496.0/18.0e5;a=~~e>>>0;b=+B(e)>=1.0?(e>0.0?~~+P(+A(e/4294967296.0),4294967295.0)>>>0:~~+N((e-+(~~e>>>0))/4294967296.0)>>>0):0;j=i;c[j>>2]=a;c[j+4>>2]=b;f=+(a>>>0)+4294967296.0*+(b>>>0);k=e-f;if(!(k>=0.0&k<1.0))Ga(90020,89992,144,90070);if(!(f>2]|0;vg[j&511](g);return g|0}d=lQ(a|0,b|0,1,0)|0;j=i;c[j>>2]=d;c[j+4>>2]=z;j=c[h>>2]|0;vg[j&511](g);return g|0}function Sk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Vl(a,b,c,d,6,6,e,1)|0}function Tk(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;i=d;a:while(1){h=d;b:while(1){g=c+1|0;c=a[c>>0]|0;switch(c<<24>>24){case 0:break a;case 10:break b;default:{}}h=(Wl(b,c,h,e,6,6,f,1)|0)+h|0;c=g}i=(h|0)>(i|0)?h:i;c=g;e=e+6|0}return ((h|0)>(i|0)?h:i)-d|0}function Uk(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;i=d;a:while(1){h=d;b:while(1){g=c+1|0;c=a[c>>0]|0;switch(c<<24>>24){case 0:break a;case 10:break b;default:{}}h=(Vl(b,c,h,e,6,6,f,1)|0)+h|0;c=g}i=(h|0)>(i|0)?h:i;c=g;e=e+6|0}return ((h|0)>(i|0)?h:i)-d|0}function Vk(b,c,d,e,f,g,h){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,k=0,l=0,m=0;l=g?2:1;m=h*6|0;k=d;a:while(1){j=d;b:while(1){i=c+1|0;g=a[c>>0]|0;switch(g<<24>>24){case 0:break a;case 10:break b;default:{}}j=(ng[l&15](b,g,j,e,6,6,f,h)|0)+j|0;c=i}k=(j|0)>(k|0)?j:k;c=i;e=e+m|0}return ((j|0)>(k|0)?j:k)-d|0}function Wk(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;m=b+2589044|0;if(!(xN(m,2532,16)|0)){EQ(b|0,e&15|e<<4&255|0,16320)|0;return}n=c[m>>2]|0;o=b+2589048|0;f=c[o>>2]|0;i=b+2589052|0;j=c[i>>2]|0;k=b+2589056|0;l=c[k>>2]|0;if((l|0)<=(f|0))return;e=e&15;g=(e>>>1)+(b+16368)|0;h=b+2589360|0;if(!(e&1)){e=f;while(1){if((f|0)<=(e|0)?(c[k>>2]|0)>(e|0):0){p=c[m>>2]|0;f=c[i>>2]|0;Fg[c[h>>2]&15](b,(p|0)<(n|0)?n:p,(j|0)<(f|0)?j:f,e,a[g>>0]&15)}e=e+1|0;if((e|0)==(l|0))break;f=c[o>>2]|0}return}else{e=f;while(1){if((f|0)<=(e|0)?(c[k>>2]|0)>(e|0):0){f=c[m>>2]|0;p=c[i>>2]|0;Fg[c[h>>2]&15](b,(f|0)<(n|0)?n:f,(j|0)<(p|0)?j:p,e,(d[g>>0]|0)>>>4)}e=e+1|0;if((e|0)==(l|0))break;f=c[o>>2]|0}return}}function Xk(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0;if((c[a+2589044>>2]|0)>(b|0))return;if((c[a+2589048>>2]|0)>(e|0))return;if((c[a+2589052>>2]|0)<=(b|0))return;if((c[a+2589056>>2]|0)<=(e|0))return;g=f&15;f=d[(g>>>1)+(a+16368)>>0]|0;Eg[c[a+2589352>>2]&63](a,b,e,(g&1|0?f>>>4:f&15)&255);return}function Yk(a,b,d){a=a|0;b=b|0;d=d|0;if((d|0)>135|((b|0)>239|(d|b|0)<0)){d=0;return d|0}d=ig[c[a+2589356>>2]&63](a,b,d)|0;return d|0}function Zk(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;u=g-e|0;u=(u|0)>-1?u:0-u|0;v=(g|0)>(e|0)?1:-1;l=h-f|0;l=(l|0)>-1?l:0-l|0;m=(h|0)>(f|0)?1:-1;n=b+2589044|0;if((((c[n>>2]|0)<=(e|0)?(c[b+2589048>>2]|0)<=(f|0):0)?(c[b+2589052>>2]|0)>(e|0):0)?(c[b+2589056>>2]|0)>(f|0):0){s=i&15;t=d[(s>>>1)+(b+16368)>>0]|0;Eg[c[b+2589352>>2]&63](b,e,f,(s&1|0?t>>>4:t&15)&255)}if((g|0)==(e|0)&(h|0)==(f|0))return;o=0-l|0;j=(((u|0)>(l|0)?u:o)|0)/2|0;p=0-u|0;q=b+2589048|0;r=b+2589052|0;s=b+2589056|0;t=b+2589352|0;i=i&15;k=(i>>>1)+(b+16368)|0;if(!(i&1)){i=f;do{w=(j|0)>(p|0);e=(w?v:0)+e|0;f=(j|0)<(l|0);i=(f?m:0)+i|0;j=(w?o:0)+j+(f?u:0)|0;if((((c[n>>2]|0)<=(e|0)?(c[q>>2]|0)<=(i|0):0)?(c[r>>2]|0)>(e|0):0)?(c[s>>2]|0)>(i|0):0)Eg[c[t>>2]&63](b,e,i,a[k>>0]&15)}while(!((i|0)==(h|0)&(e|0)==(g|0)));return}else{i=f;do{f=(j|0)>(p|0);e=(f?v:0)+e|0;w=(j|0)<(l|0);i=(w?m:0)+i|0;j=(f?o:0)+j+(w?u:0)|0;if((((c[n>>2]|0)<=(e|0)?(c[q>>2]|0)<=(i|0):0)?(c[r>>2]|0)>(e|0):0)?(c[s>>2]|0)>(i|0):0)Eg[c[t>>2]&63](b,e,i,(d[k>>0]|0)>>>4)}while(!((i|0)==(h|0)&(e|0)==(g|0)));return}}function _k(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;o=h+f|0;if((h|0)<=0)return;m=b+2589048|0;n=b+2589056|0;h=i&15;k=(h>>>1)+(b+16368)|0;l=b+2589044|0;i=g+e|0;g=b+2589052|0;j=b+2589360|0;if(!(h&1)){h=f;do{if((c[m>>2]|0)<=(h|0)?(c[n>>2]|0)>(h|0):0){p=c[l>>2]|0;f=c[g>>2]|0;Fg[c[j>>2]&15](b,(p|0)<(e|0)?e:p,(i|0)<(f|0)?i:f,h,a[k>>0]&15)}h=h+1|0}while((h|0)<(o|0));return}else{h=f;do{if((c[m>>2]|0)<=(h|0)?(c[n>>2]|0)>(h|0):0){f=c[l>>2]|0;p=c[g>>2]|0;Fg[c[j>>2]&15](b,(f|0)<(e|0)?e:f,(i|0)<(p|0)?i:p,h,(d[k>>0]|0)>>>4)}h=h+1|0}while((h|0)<(o|0));return}}function $k(a,b,e,f,g,h){a=a|0;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;i=a+2589048|0;j=c[i>>2]|0;if((j|0)<=(e|0)?(c[a+2589056>>2]|0)>(e|0):0){k=h&15;j=d[(k>>>1)+(a+16368)>>0]|0;n=c[a+2589044>>2]|0;m=f+b|0;l=c[a+2589052>>2]|0;Fg[c[a+2589360>>2]&15](a,(n|0)<(b|0)?b:n,(m|0)<(l|0)?m:l,e,(k&1|0?j>>>4:j&15)&255);j=c[i>>2]|0}i=g+e|0;if((j|0)>=(i|0)){Ul(a,b,e,g,h);n=b+-1|0;n=n+f|0;Ul(a,n,e,g,h);return}if((c[a+2589056>>2]|0)<(i|0)){Ul(a,b,e,g,h);n=b+-1|0;n=n+f|0;Ul(a,n,e,g,h);return}m=h&15;n=d[(m>>>1)+(a+16368)>>0]|0;j=c[a+2589044>>2]|0;k=f+b|0;l=c[a+2589052>>2]|0;Fg[c[a+2589360>>2]&15](a,(j|0)<(b|0)?b:j,(k|0)<(l|0)?k:l,i+-1|0,(m&1|0?n>>>4:n&15)&255);Ul(a,b,e,g,h);n=b+-1|0;n=n+f|0;Ul(a,n,e,g,h);return}function al(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;if((c|0)>=512)return;Pk(a,b+(c<<5)|0,d,e,f,g,1,0,0);return}function bl(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;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,B=0,C=0;t=j<<3;if((f|0)<=0)return;u=(g|0)>0;v=(k|2|0)==3;w=f+-1|0;x=(k|1|0)==3;y=g+-1|0;z=(l|2|0)==2;C=(l|0)==3;s=0;do{a:do if(u){q=v?w-s|0:s;B=O(s,t)|0;A=B+d|0;B=B+e|0;r=w-q|0;switch(l|0){case 2:{n=r+c|0;m=0;do{o=n+(y-(x?y-m|0:m)<<4)|0;p=O(m,t)|0;q=(o|0)<512;if(z){if(q)Pk(a,b+(o<<5)|0,A,p+e|0,h,i,j,k,2)}else if(q)Pk(a,b+(o<<5)|0,p+d|0,B,h,i,j,k,2);m=m+1|0}while((m|0)!=(g|0));break}case 1:{p=0;while(1){m=x?y-p|0:p;switch(k|0){case 0:case 3:{m=y-m|0;n=q;break}default:n=r}m=n+c+(m<<4)|0;n=O(p,t)|0;o=(m|0)<512;if(z){if(o)Pk(a,b+(m<<5)|0,A,n+e|0,h,i,j,k,1)}else if(o)Pk(a,b+(m<<5)|0,n+d|0,B,h,i,j,k,1);p=p+1|0;if((p|0)==(g|0))break a}}default:{p=0;do{m=x?y-p|0:p;b:do if(C){switch(k|0){case 0:case 3:{n=r;break b}default:{}}m=y-m|0;n=q}else n=q;while(0);m=n+c+(m<<4)|0;n=O(p,t)|0;o=(m|0)<512;if(z){if(o)Pk(a,b+(m<<5)|0,A,n+e|0,h,i,j,k,l)}else if(o)Pk(a,b+(m<<5)|0,n+d|0,B,h,i,j,k,l);p=p+1|0}while((p|0)!=(g|0))}}}while(0);s=s+1|0}while((s|0)!=(f|0));return}function cl(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;Tl(a,b,c,d,e,f,g,h,i,j,k,0,0);return}function dl(a,b,c,d,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;Tl(a,b,c,d,e,f,g,h,i,j,k,l,m);return}function el(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(d>>>0>239|e>>>0>135)return;a[c+(e*240|0)+d>>0]=f;return}function fl(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;if(d>>>0>239|e>>>0>135){e=0;return e|0}e=a[c+(e*240|0)+d>>0]|0;return e|0}function gl(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;EQ(317076,-1,272)|0;i=0;do{b[317348+(i<<1)>>1]=240;i=i+1|0}while((i|0)!=136);m=0-g|0;n=0;l=2-(g<<1)|0;while(1){k=e-m|0;i=n+f|0;if(i>>>0<136){j=317348+(i<<1)|0;if((b[j>>1]|0)>(k|0))b[j>>1]=k;i=317076+(i<<1)|0;if((b[i>>1]|0)<(k|0))b[i>>1]=k}k=e-n|0;i=f-m|0;if(i>>>0<136){j=317348+(i<<1)|0;if((b[j>>1]|0)>(k|0))b[j>>1]=k;i=317076+(i<<1)|0;if((b[i>>1]|0)<(k|0))b[i>>1]=k}k=m+e|0;i=f-n|0;if(i>>>0<136){j=317348+(i<<1)|0;if((b[j>>1]|0)>(k|0))b[j>>1]=k;i=317076+(i<<1)|0;if((b[i>>1]|0)<(k|0))b[i>>1]=k}k=n+e|0;i=m+f|0;if(i>>>0<136){j=317348+(i<<1)|0;if((b[j>>1]|0)>(k|0))b[j>>1]=k;i=317076+(i<<1)|0;if((b[i>>1]|0)<(k|0))b[i>>1]=k}i=(l|0)>(n|0);j=n+1|0;k=(i?0:j<<1|1)+l|0;n=i?n:j;j=(l|0)>(m|0)|(k|0)>(n|0);i=m+1|0;m=j?i:m;if((m|0)>=0)break;else l=(j?i<<1|1:0)+k|0}n=c[a+2589048>>2]|0;i=f-g|0;i=(n|0)>(i|0)?n:i;n=c[a+2589056>>2]|0;j=g+f|0;n=(n|0)>(j|0)?j+1|0:n;h=h&15;j=d[(h>>>1)+(a+16368)>>0]|0;j=(h&1|0?j>>>4:j&15)&255;if((i|0)>=(n|0))return;k=a+2589044|0;l=a+2589052|0;m=a+2589360|0;do{e=b[317348+(i<<1)>>1]|0;f=c[k>>2]|0;g=(b[317076+(i<<1)>>1]|0)+1|0;h=c[l>>2]|0;Fg[c[m>>2]&15](a,(e|0)>(f|0)?e:f,(g|0)<(h|0)?g:h,i,j);i=i+1|0}while((i|0)<(n|0));return}function hl(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,p=0,q=0,r=0;q=a+2589044|0;r=a+2589048|0;n=a+2589052|0;o=a+2589056|0;p=a+2589352|0;m=g&15;l=(m>>>1)+(a+16368)|0;m=(m&1|0)!=0;i=2-(f<<1)|0;k=0;j=0-f|0;while(1){g=b-j|0;f=k+e|0;h=c[q>>2]|0;if((((h|0)<=(g|0)?(c[r>>2]|0)<=(f|0):0)?(c[n>>2]|0)>(g|0):0)?(c[o>>2]|0)>(f|0):0){h=d[l>>0]|0;Eg[c[p>>2]&63](a,g,f,(m?h>>>4:h&15)&255);h=c[q>>2]|0}g=b-k|0;f=e-j|0;if((((h|0)<=(g|0)?(c[r>>2]|0)<=(f|0):0)?(c[n>>2]|0)>(g|0):0)?(c[o>>2]|0)>(f|0):0){h=d[l>>0]|0;Eg[c[p>>2]&63](a,g,f,(m?h>>>4:h&15)&255);h=c[q>>2]|0}g=j+b|0;f=e-k|0;if((((h|0)<=(g|0)?(c[r>>2]|0)<=(f|0):0)?(c[n>>2]|0)>(g|0):0)?(c[o>>2]|0)>(f|0):0){h=d[l>>0]|0;Eg[c[p>>2]&63](a,g,f,(m?h>>>4:h&15)&255);h=c[q>>2]|0}g=k+b|0;f=j+e|0;if((((h|0)<=(g|0)?(c[r>>2]|0)<=(f|0):0)?(c[n>>2]|0)>(g|0):0)?(c[o>>2]|0)>(f|0):0){h=d[l>>0]|0;Eg[c[p>>2]&63](a,g,f,(m?h>>>4:h&15)&255)}f=(i|0)>(k|0);h=k+1|0;k=f?k:h;h=(f?0:h<<1|1)+i|0;f=(i|0)>(j|0)|(h|0)>(k|0);g=j+1|0;j=f?g:j;if((j|0)>=0)break;else i=(f?g<<1|1:0)+h|0}return}function il(a,e,f,g,h,i,j,k){a=a|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;EQ(317076,-1,272)|0;l=0;do{b[317348+(l<<1)>>1]=240;l=l+1|0}while((l|0)!=136);r=g-e|0;r=(r|0)>-1?r:0-r|0;s=(g|0)>(e|0)?1:-1;t=h-f|0;t=(t|0)>-1?t:0-t|0;u=(h|0)>(f|0)?1:-1;if(f>>>0<136){l=317348+(f<<1)|0;if((b[l>>1]|0)>(e|0))b[l>>1]=e;l=317076+(f<<1)|0;if((b[l>>1]|0)<(e|0))b[l>>1]=e}if(!((g|0)==(e|0)&(h|0)==(f|0))){p=0-t|0;q=0-r|0;m=(((r|0)>(t|0)?r:p)|0)/2|0;n=f;o=e;do{l=(m|0)>(q|0);o=(l?s:0)+o|0;v=(m|0)<(t|0);n=(v?u:0)+n|0;m=(l?p:0)+m+(v?r:0)|0;if(n>>>0<136){l=317348+(n<<1)|0;if((b[l>>1]|0)>(o|0))b[l>>1]=o;l=317076+(n<<1)|0;if((b[l>>1]|0)<(o|0))b[l>>1]=o}}while(!((n|0)==(h|0)&(o|0)==(g|0)))}r=i-g|0;r=(r|0)>-1?r:0-r|0;s=(i|0)>(g|0)?1:-1;t=j-h|0;t=(t|0)>-1?t:0-t|0;v=(j|0)>(h|0);u=v?1:-1;if(h>>>0<136){l=317348+(h<<1)|0;if((b[l>>1]|0)>(g|0))b[l>>1]=g;l=317076+(h<<1)|0;if((b[l>>1]|0)<(g|0))b[l>>1]=g}if(!((i|0)==(g|0)&(j|0)==(h|0))){p=0-t|0;q=0-r|0;n=(((r|0)>(t|0)?r:p)|0)/2|0;o=h;m=g;do{l=(n|0)>(q|0);m=(l?s:0)+m|0;g=(n|0)<(t|0);o=(g?u:0)+o|0;n=(l?p:0)+n+(g?r:0)|0;if(o>>>0<136){l=317348+(o<<1)|0;if((b[l>>1]|0)>(m|0))b[l>>1]=m;l=317076+(o<<1)|0;if((b[l>>1]|0)<(m|0))b[l>>1]=m}}while(!((o|0)==(j|0)&(m|0)==(i|0)))}t=e-i|0;t=(t|0)>-1?t:0-t|0;q=(e|0)>(i|0)?1:-1;r=f-j|0;r=(r|0)>-1?r:0-r|0;s=(f|0)>(j|0)?1:-1;if(j>>>0<136){l=317348+(j<<1)|0;if((b[l>>1]|0)>(i|0))b[l>>1]=i;l=317076+(j<<1)|0;if((b[l>>1]|0)<(i|0))b[l>>1]=i}if(!((e|0)==(i|0)&(f|0)==(j|0))){o=0-r|0;p=0-t|0;m=(((t|0)>(r|0)?t:o)|0)/2|0;n=j;do{u=(m|0)>(p|0);i=(u?q:0)+i|0;g=(m|0)<(r|0);n=(g?s:0)+n|0;m=(u?o:0)+m+(g?t:0)|0;if(n>>>0<136){l=317348+(n<<1)|0;if((b[l>>1]|0)>(i|0))b[l>>1]=i;l=317076+(n<<1)|0;if((b[l>>1]|0)<(i|0))b[l>>1]=i}}while(!((n|0)==(f|0)&(i|0)==(e|0)))}l=k&15;p=d[(l>>>1)+(a+16368)>>0]|0;p=(l&1|0?p>>>4:p&15)&255;l=v?h:j;l=(l|0)>(f|0)?f:l;l=(l|0)>0?l:0;i=(j|0)<(h|0)?h:j;i=(i|0)<(f|0)?f:i;i=(i|0)>135?136:i+1|0;if((l|0)>=(i|0))return;m=a+2589044|0;n=a+2589052|0;o=a+2589360|0;do{k=b[317348+(l<<1)>>1]|0;f=c[m>>2]|0;h=(b[317076+(l<<1)>>1]|0)+1|0;j=c[n>>2]|0;Fg[c[o>>2]&15](a,(k|0)>(f|0)?k:f,(h|0)<(j|0)?h:j,l,p);l=l+1|0}while((l|0)<(i|0));return}function jl(a,e,f,h,i,j,k,m,n,o,p,q,r,s,t){a=a|0;e=+e;f=+f;h=+h;i=+i;j=+j;k=+k;m=+m;n=+n;o=+o;p=+p;q=+q;r=+r;s=s|0;t=t|0;var u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0.0,F=0.0,G=0.0,H=0.0,I=0,J=0,K=0;I=l;l=l+48|0;v=I+32|0;w=I+16|0;x=I;g[v>>2]=e;g[v+4>>2]=f;g[v+8>>2]=m;g[v+12>>2]=n;g[w>>2]=h;g[w+4>>2]=i;g[w+8>>2]=o;g[w+12>>2]=p;g[x>>2]=j;g[x+4>>2]=k;g[x+8>>2]=q;g[x+12>>2]=r;EQ(317076,-1,272)|0;u=0;do{b[317348+(u<<1)>>1]=240;u=u+1|0}while((u|0)!=136);Sl(v,w);Sl(w,x);Sl(x,v);y=a+2589044|0;z=a+2589048|0;A=a+2589052|0;B=a+2589056|0;C=a+2589352|0;x=0;do{D=317076+(x<<1)|0;u=b[D>>1]|0;v=b[317348+(x<<1)>>1]|0;w=v<<16>>16;J=(u<<16>>16)-w|0;e=+(J|0);if((J|0)>0?(E=+g[318164+(x<<2)>>2],F=(+g[317620+(x<<2)>>2]-E)/e,G=+g[319252+(x<<2)>>2],H=(+g[318708+(x<<2)>>2]-G)/e,v<<16>>16<=u<<16>>16):0){e=E;p=G;while(1){do if(w>>>0<240){u=~~p;v=~~e;if(s){K=(v|0)%1920|0;J=((K|0)>0?K:0)+1919-K|0;v=(u|0)%1088|0;u=((v|0)>0?v:0)+1087-v|0;J=K+(J-((J>>>0)%1920|0))|0;u=v+(u-((u>>>0)%1088|0))|0;u=d[(d[((u>>>3)*240|0)+(J>>3)+(a+32768)>>0]<<5)+(a+16384)+((u<<3&56|J&6)>>>1)>>0]|0;u=J&1|0?u>>>4:u&15;if((u&255)<<24>>24==t<<24>>24)break;if((c[y>>2]|0)>(w|0))break;if((c[z>>2]|0)>(x|0))break;if((c[A>>2]|0)<=(w|0))break;if((c[B>>2]|0)<=(x|0))break;K=d[(u>>>1)+(a+16368)>>0]|0;Eg[c[C>>2]&63](a,w,x,(u&1|0?K>>>4:K&15)&255);break}else{u=d[((v>>>3&15|u<<1&496)<<5)+(a+16384)+((v&6|u<<3&56)>>>1)>>0]|0;u=v&1|0?u>>>4:u&15;if((u&255)<<24>>24==t<<24>>24)break;if((c[y>>2]|0)>(w|0))break;if((c[z>>2]|0)>(x|0))break;if((c[A>>2]|0)<=(w|0))break;if((c[B>>2]|0)<=(x|0))break;K=d[(u>>>1)+(a+16368)>>0]|0;Eg[c[C>>2]&63](a,w,x,(u&1|0?K>>>4:K&15)&255);break}}while(0);if((w|0)<(b[D>>1]|0)){e=F+e;p=H+p;w=w+1|0}else break}}x=x+1|0}while((x|0)!=136);l=I;return}function kl(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=a+2589044|0;c[i>>2]=b;j=a+2589048|0;c[j>>2]=d;g=e+b|0;h=a+2589052|0;c[h>>2]=g;f=f+d|0;e=a+2589056|0;c[e>>2]=f;if((b|0)<0)c[i>>2]=0;if((d|0)<0)c[j>>2]=0;if((g|0)>240)c[h>>2]=240;if((f|0)<=136)return;c[e>>2]=136;return}function ll(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;k=e+2589108|0;l=k+(j*20|0)+14|0;m=a[l>>0]|15;a[l>>0]=m;if((f|0)>-1){e=(c[e+2588580>>2]|0)+256+(f*66|0)+60|0;a[l>>0]=(d[e>>0]|d[e+1>>0]<<8)&112|m&-113}m=~~+FQ(+(+Lf(+((+(g+-8+(h*12|0)|0)+-49.0)/12.0))*440.0));c[k+(j*20|0)+16>>2]=i;b[k+(j*20|0)+12>>1]=m;c[k+(j*20|0)+8>>2]=f;c[k+(j*20|0)+4>>2]=-1;c[k+(j*20|0)>>2]=-1;return}function ml(d,e){d=d|0;e=e|0;var f=0;d=d+2589108|0;f=d+(e*20|0)+14|0;a[f>>0]=a[f>>0]|15;c[d+(e*20|0)+16>>2]=-1;b[d+(e*20|0)+12>>1]=16;c[d+(e*20|0)+8>>2]=-1;c[d+(e*20|0)+4>>2]=-1;c[d+(e*20|0)>>2]=-1;return}function nl(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;n=e+2589108|0;m=n+(j*20|0)+14|0;k=a[m>>0]&-16|k&15;a[m>>0]=k;if((f|0)>-1){if((l<<29>>29|0)!=(l|0)){l=(c[e+2588580>>2]|0)+256+(f*66|0)+60|0;l=(((d[l>>0]|d[l+1>>0]<<8)<<9&65535)<<16>>16>>13&65535)<<24>>24}a[m>>0]=(l&255)<<4&112|k&-113}h=~~+FQ(+(+Lf(+((+(g+-8+(h*12|0)|0)+-49.0)/12.0))*440.0));c[n+(j*20|0)+16>>2]=i;b[n+(j*20|0)+12>>1]=h;c[n+(j*20|0)+8>>2]=f;c[n+(j*20|0)+4>>2]=-1;c[n+(j*20|0)>>2]=-1;return}function ol(b,c,e){b=b|0;c=c|0;e=e|0;e=c+2589108+(e*20|0)+4|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 pl(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;Rl(a,b,d,e,f);if((b|0)<=-1)return;c[a+2589188>>2]=2;return}function ql(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;Rl(a,b,d,e,f);if((b|0)<=-1)return;c[a+2589188>>2]=1;return}function rl(a){a=a|0;var b=0.0,d=0,e=0;a=a+2588588|0;e=fg[c[(c[a>>2]|0)+16>>2]&7]()|0;a=c[a>>2]|0;d=a+24|0;d=mQ(e|0,z|0,c[d>>2]|0,c[d+4>>2]|0)|0;d=rQ(d|0,z|0,1e3,0)|0;b=+(d>>>0)+4294967296.0*+(z>>>0);a=fg[c[a+20>>2]&7]()|0;return +(b/(+(a>>>0)+4294967296.0*+(z>>>0)))}function sl(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;g=b+2588588|0;c[g>>2]=e;t=b+2589368|0;do if((a[t>>0]|0)==0?(u=TM(524288)|0,u|0):0){EQ(u|0,0,524288)|0;f=b+1064128|0;if(JO(f)|0)hQ(u,f)|0;f=b+933160|0;if(JO(f)|0)hQ(u,f)|0;f=b+802192|0;if(JO(f)|0)hQ(u,f)|0;f=b+671224|0;if(JO(f)|0)hQ(u,f)|0;f=b+540256|0;if(JO(f)|0)hQ(u,f)|0;f=b+409288|0;if(JO(f)|0)hQ(u,f)|0;f=b+278320|0;if(JO(f)|0)hQ(u,f)|0;f=b+147352|0;if(JO(f)|0)hQ(u,f)|0;f=c[e+32>>2]|0;if(f|0)Bg[f&255](c[e+36>>2]|0,u);if(!(a[u>>0]|0)){t=c[g>>2]|0;Bg[c[t+4>>2]&255](c[t+36>>2]|0,89964);UM(u);return}r=Il(u)|0;f=b+2589364|0;g=c[f>>2]|0;h=g&63^63;if(h&1|0)CQ(b+16384|0,b+81920|0,8192)|0;if(h&2|0)CQ(b+24576|0,b+90112|0,8192)|0;if(h&4|0)CQ(b+32768|0,b+98304|0,32640)|0;if(h&8|0)CQ(b+65508|0,b+130944|0,4480)|0;if(h&16|0)CQ(b+69988|0,b+135424|0,11928)|0;if(h&32|0){i=b+16320|0;j=b+1129664|0;k=i+48|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0))}c[f>>2]=h|g;do if(c[b+1129712>>2]|0){q=ui(b+1129716|0)|0;if(!q)break;do if((c[q+8>>2]|0)==240){if((c[q+12>>2]|0)!=136)break;o=c[q+4>>2]|0;p=c[q>>2]|0;n=0;do{j=d[p+n>>0]|0;h=d[o+(j*3|0)>>0]|0;i=d[o+(j*3|0)+1>>0]|0;j=d[o+(j*3|0)+2>>0]|0;m=0;f=0;g=-1;while(1){l=h-(d[b+1129664+(f*3|0)>>0]|0)|0;v=i-(d[b+1129664+(f*3|0)+1>>0]|0)|0;k=j-(d[b+1129664+(f*3|0)+2>>0]|0)|0;k=(O(v,v)|0)+(O(l,l)|0)+(O(k,k)|0)|0;l=k>>>0>>0;m=l?f:m;f=f+1|0;if((f|0)==16)break;else g=l?k:g}h=b+(n>>>1)|0;f=d[h>>0]|0;if(!(n&1)){g=f&240;a[h>>0]=g;f=m&15}else{g=f&15;a[h>>0]=g;f=m<<4&4080}a[h>>0]=f|g;n=n+1|0}while((n|0)!=32640)}while(0);f=c[q>>2]|0;if(f|0)UM(f);f=c[q+4>>2]|0;if(f|0)UM(f);UM(q)}while(0);h=b+2440920|0;a[h>>0]=0;g=r+44|0;f=Jl(u,89941,c[g>>2]|0)|0;do if(!f)s=39;else{v=(wN(f,263179)|0)==0;UM(f);if(!v){s=39;break}f=a[h>>0]|2}while(0);a:do if((s|0)==39){f=Jl(u,89941,c[g>>2]|0)|0;do if(f|0){v=(wN(f,89947)|0)==0;UM(f);if(!v)break;f=a[h>>0]|1;break a}while(0);f=Jl(u,89941,c[g>>2]|0)|0;if(!f){f=-1;break}v=(wN(f,89955)|0)==0;UM(f);if(!v){f=-1;break}f=a[h>>0]|4}while(0);a[h>>0]=f;s=fg[c[e+16>>2]&7]()|0;v=e+24|0;c[v>>2]=s;c[v+4>>2]=z;v=hg[c[r>>2]&63](b,u)|0;UM(u);if(v){c[b+2589276>>2]=c[r+8>>2];c[b+2589280>>2]=c[r+12>>2];c[b+2589284>>2]=c[r+16>>2];a[t>>0]=1;break}else return}while(0);vg[c[b+2589276>>2]&511](b);return}function tl(b,d,e){b=b|0;d=d|0;e=e|0;if(!(a[b+2589368>>0]|0))return;Dg[c[b+2589280>>2]&63](b,d,e);return}function ul(b,d){b=b|0;d=d|0;if(!(a[b+2589368>>0]|0))return;Bg[c[b+2589284>>2]&255](b,d);return}function vl(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=d+16320|0;e=d+1129664|0;j=i+48|0;do{c[i>>2]=c[e>>2];i=i+4|0;e=e+4|0}while((i|0)<(j|0));i=d+16368|0;h=i;a[h>>0]=16;a[h+1>>0]=50;a[h+2>>0]=84;a[h+3>>0]=118;i=i+4|0;a[i>>0]=-19088744;a[i+1>>0]=-19088744>>8;a[i+2>>0]=-19088744>>16;a[i+3>>0]=-19088744>>24;c[d+16376>>2]=0;c[d+2589044>>2]=0;c[d+2589048>>2]=0;c[d+2589052>>2]=240;c[d+2589056>>2]=136;i=d+2589108|0;h=d+2589196|0;e=d+2589060|0;c[i>>2]=c[729];c[i+4>>2]=c[730];c[i+8>>2]=c[731];c[i+12>>2]=c[732];c[i+16>>2]=c[733];c[h>>2]=c[729];c[h+4>>2]=c[730];c[h+8>>2]=c[731];c[h+12>>2]=c[732];i=d+65436|0;j=i+18|0;do{b[i>>1]=0;i=i+2|0}while((i|0)<(j|0));c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;e=d+2589128|0;c[e>>2]=c[729];c[e+4>>2]=c[730];c[e+8>>2]=c[731];c[e+12>>2]=c[732];c[e+16>>2]=c[733];e=d+2589216|0;c[e>>2]=c[729];c[e+4>>2]=c[730];c[e+8>>2]=c[731];c[e+12>>2]=c[732];i=d+65454|0;j=i+18|0;do{b[i>>1]=0;i=i+2|0}while((i|0)<(j|0));f=d+2589072|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;f=d+2589148|0;c[f>>2]=c[729];c[f+4>>2]=c[730];c[f+8>>2]=c[731];c[f+12>>2]=c[732];c[f+16>>2]=c[733];f=d+2589236|0;c[f>>2]=c[729];c[f+4>>2]=c[730];c[f+8>>2]=c[731];c[f+12>>2]=c[732];i=d+65472|0;j=i+18|0;do{b[i>>1]=0;i=i+2|0}while((i|0)<(j|0));g=d+2589084|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;g=d+2589168|0;c[g>>2]=c[729];c[g+4>>2]=c[730];c[g+8>>2]=c[731];c[g+12>>2]=c[732];c[g+16>>2]=c[733];g=d+2589256|0;c[g>>2]=c[729];c[g+4>>2]=c[730];c[g+8>>2]=c[731];c[g+12>>2]=c[732];i=d+65490|0;j=i+18|0;do{b[i>>1]=0;i=i+2|0}while((i|0)<(j|0));i=d+2589096|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;a[d+81916>>0]=-1;c[d+2589188>>2]=0;a[d+2589210>>0]=15;c[d+2589212>>2]=-1;b[d+2589208>>1]=16;c[d+2589204>>2]=-1;c[d+2589200>>2]=-1;c[h>>2]=-1;a[d+2589230>>0]=15;c[d+2589232>>2]=-1;b[d+2589228>>1]=16;c[d+2589224>>2]=-1;c[d+2589220>>2]=-1;c[e>>2]=-1;a[d+2589250>>0]=15;c[d+2589252>>2]=-1;b[d+2589248>>1]=16;c[d+2589244>>2]=-1;c[d+2589240>>2]=-1;c[f>>2]=-1;a[d+2589270>>0]=15;c[d+2589272>>2]=-1;b[d+2589268>>1]=16;c[d+2589264>>2]=-1;c[d+2589260>>2]=-1;c[g>>2]=-1;EQ(c[d+2440924>>2]|0,0,c[d+2440928>>2]|0)|0;a[d+2589368>>0]=0;c[d+2589280>>2]=0;c[d+2589284>>2]=0;c[d+2589352>>2]=9;c[d+2589356>>2]=11;c[d+2589360>>2]=9;f=d+2440856|0;i=f;j=i+64|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));e=d+147352|0;e=Jl(e,89934,c[(Il(e)|0)+44>>2]|0)|0;if(!e)return;KP(f,e,63)|0;UM(e);return}function wl(a){a=a|0;var b=0,d=0,e=0,f=0;CQ(a+2589376|0,a+2588592|0,780)|0;CQ(a+2590156|0,a|0,81920)|0;b=c[a+2588588>>2]|0;f=b+24|0;e=c[f+4>>2]|0;d=a+2672080|0;c[d>>2]=c[f>>2];c[d+4>>2]=e;b=fg[c[b+16>>2]&7]()|0;a=a+2672088|0;c[a>>2]=b;c[a+4>>2]=z;return}function xl(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+2588588|0;d=c[b>>2]|0;if(!d)return;CQ(a+2588592|0,a+2589376|0,780)|0;CQ(a|0,a+2590156|0,81920)|0;e=a+2672080|0;f=c[e>>2]|0;e=c[e+4>>2]|0;d=fg[c[d+16>>2]&7]()|0;d=lQ(d|0,z|0,f|0,e|0)|0;a=a+2672088|0;a=mQ(d|0,z|0,c[a>>2]|0,c[a+4>>2]|0)|0;d=(c[b>>2]|0)+24|0;c[d>>2]=a;c[d+4>>2]=z;return}function yl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=a+2589364|0;f=(c[g>>2]&63^63)&((b|0)==0?63:b);if(d>>>0>=8)Ga(89895,89784,1419,89925);b=(f&1|0)==0;if(e){if(!b)CQ(a+81920+(d*130968|0)|0,a+16384|0,8192)|0;if(f&2|0)CQ(a+81920+(d*130968|0)+8192|0,a+24576|0,8192)|0;if(f&4|0)CQ(a+81920+(d*130968|0)+16384|0,a+32768|0,32640)|0;if(f&8|0)CQ(a+81920+(d*130968|0)+49024|0,a+65508|0,4480)|0;if(f&16|0)CQ(a+81920+(d*130968|0)+53504|0,a+69988|0,11928)|0}else{if(!b)CQ(a+16384|0,a+81920+(d*130968|0)|0,8192)|0;if(f&2|0)CQ(a+24576|0,a+81920+(d*130968|0)+8192|0,8192)|0;if(f&4|0)CQ(a+32768|0,a+81920+(d*130968|0)+16384|0,32640)|0;if(f&8|0)CQ(a+65508|0,a+81920+(d*130968|0)+49024|0,4480)|0;if(f&16|0)CQ(a+69988|0,a+81920+(d*130968|0)+53504|0,11928)|0}if(!(f&32)){a=c[g>>2]|0;f=a|f;c[g>>2]=f;return}if(e){e=a+1129664|0;b=a+16320|0;d=e+48|0;do{c[e>>2]=c[b>>2];e=e+4|0;b=b+4|0}while((e|0)<(d|0));a=c[g>>2]|0;f=a|f;c[g>>2]=f;return}else{e=a+16320|0;b=a+1129664|0;d=e+48|0;do{c[e>>2]=c[b>>2];e=e+4|0;b=b+4|0}while((e|0)<(d|0));a=c[g>>2]|0;f=a|f;c[g>>2]=f;return}}function zl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;if((b|0)<0){b=c[a+65408>>2]&~c[a+2588592>>2];return b|0}f=a+2588592|0;if((e|d|0)<0){b=1<>2]&c[a+65408>>2];return b|0}g=c[a+2588596+(b<<2)>>2]|0;if(g>>>0>=d>>>0)if((e|0)!=0?((g>>>0)%(e>>>0)|0|0)!=0:0)f=c[f>>2]|0;else f=0;else f=c[f>>2]|0;b=1<>2];return b|0}function Al(b,d){b=b|0;d=d|0;b=b+65416|0;if(!(d<<24>>24)){d=c[b>>2]|0;d=(d|0)!=0;return d|0}if(((a[b>>0]|0)!=d<<24>>24?(a[b+1>>0]|0)!=d<<24>>24:0)?(a[b+2>>0]|0)!=d<<24>>24:0)b=(a[b+3>>0]|0)==d<<24>>24;else b=1;d=b&1;d=(d|0)!=0;return d|0}function Bl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;i=d&255;if(d<<24>>24){g=b+2588724|0;if((f|e|0)>-1?(h=c[b+2588728+(i<<2)>>2]|0,h>>>0>=e>>>0):0)if((f|0)!=0?((h>>>0)%(f>>>0)|0|0)!=0:0)if(((a[g>>0]|0)!=d<<24>>24?(a[b+2588725>>0]|0)!=d<<24>>24:0)?(a[b+2588726>>0]|0)!=d<<24>>24:0)h=(a[b+2588727>>0]|0)==d<<24>>24;else h=1;else h=0;else if(((a[g>>0]|0)!=d<<24>>24?(a[b+2588725>>0]|0)!=d<<24>>24:0)?(a[b+2588726>>0]|0)!=d<<24>>24:0)h=(a[b+2588727>>0]|0)==d<<24>>24;else h=1;g=b+65416|0;if((a[g>>0]|0)==d<<24>>24){d=1;b=h^1;b=d&b;return b|0}if((a[g+1>>0]|0)==d<<24>>24){d=1;b=h^1;b=d&b;return b|0}if((a[g+2>>0]|0)==d<<24>>24){d=1;b=h^1;b=d&b;return b|0}d=(a[g+3>>0]|0)==d<<24>>24;b=h^1;b=d&b;return b|0}g=b+65416|0;h=b+2588724|0;d=a[g>>0]|0;if((((d<<24>>24?(a[h>>0]|0)!=d<<24>>24:0)?(a[b+2588725>>0]|0)!=d<<24>>24:0)?(a[b+2588726>>0]|0)!=d<<24>>24:0)?(a[b+2588727>>0]|0)!=d<<24>>24:0){b=1;return b|0}d=a[g+1>>0]|0;if((((d<<24>>24?(a[h>>0]|0)!=d<<24>>24:0)?(a[b+2588725>>0]|0)!=d<<24>>24:0)?(a[b+2588726>>0]|0)!=d<<24>>24:0)?(a[b+2588727>>0]|0)!=d<<24>>24:0){b=1;return b|0}d=a[g+2>>0]|0;if((((d<<24>>24?(a[h>>0]|0)!=d<<24>>24:0)?(a[b+2588725>>0]|0)!=d<<24>>24:0)?(a[b+2588726>>0]|0)!=d<<24>>24:0)?(a[b+2588727>>0]|0)!=d<<24>>24:0){b=1;return b|0}d=a[g+3>>0]|0;if((((d<<24>>24?(a[h>>0]|0)!=d<<24>>24:0)?(a[b+2588725>>0]|0)!=d<<24>>24:0)?(a[b+2588726>>0]|0)!=d<<24>>24:0)?(a[b+2588727>>0]|0)!=d<<24>>24:0){b=1;return b|0}b=0;return b|0}function Cl(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;l=e+f|0;EQ(b|0,0,1178356)|0;if(g){h=b+1047744|0;i=89847;j=h+48|0;do{a[h>>0]=a[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0))}if((f|0)<=0)return;i=b+1047744|0;j=b+1047796|0;k=b+1047792|0;if(!g){do{f=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;h=e+4|0;do switch(f&31){case 1:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)|0,h|0,(e>>>0<8192?e:8192)|0)|0;break}case 2:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+8192|0,h|0,(e>>>0<8192?e:8192)|0)|0;break}case 4:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+16384|0,h|0,(e>>>0<32640?e:32640)|0)|0;break}case 5:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+65432|0,h|0,e|0)|0;break}case 9:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+49280|0,h|0,(e>>>0<4224?e:4224)|0)|0;break}case 10:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+49024|0,h|0,(e>>>0<256?e:256)|0)|0;break}case 14:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+65024|0,h|0,(e>>>0<408?e:408)|0)|0;break}case 13:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+53504|0,h|0,(e>>>0<11520?e:11520)|0)|0;break}case 3:{e=f>>>8&65535;CQ(j|0,h|0,e|0)|0;c[k>>2]=e;break}default:e=f>>>8&65535}while(0);e=h+e|0}while(e>>>0>>0);return}do{f=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;h=e+4|0;do switch(f&31){case 1:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)|0,h|0,(e>>>0<8192?e:8192)|0)|0;break}case 2:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+8192|0,h|0,(e>>>0<8192?e:8192)|0)|0;break}case 4:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+16384|0,h|0,(e>>>0<32640?e:32640)|0)|0;break}case 5:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+65432|0,h|0,e|0)|0;break}case 9:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+49280|0,h|0,(e>>>0<4224?e:4224)|0)|0;break}case 10:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+49024|0,h|0,(e>>>0<256?e:256)|0)|0;break}case 14:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+65024|0,h|0,(e>>>0<408?e:408)|0)|0;break}case 13:{e=f>>>8&65535;CQ(b+((f>>>5&7)*130968|0)+53504|0,h|0,(e>>>0<11520?e:11520)|0)|0;break}case 12:{e=f>>>8&65535;CQ(i|0,h|0,(e>>>0<48?e:48)|0)|0;break}case 3:{e=f>>>8&65535;CQ(j|0,h|0,e|0)|0;c[k>>2]=e;break}default:e=f>>>8&65535}while(0);e=h+e|0}while(e>>>0>>0);return}function Dl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=0;e=d;do{h=b+(i*130968|0)|0;g=b+(i*130968|0)+8191|0;f=8192;do{if(a[g>>0]|0)break;f=f+-1|0;g=g+-1|0}while(g>>>0>=h>>>0);g=e+4|0;if(f){j=i<<5|f<<8&16776960|1;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}h=b+(i*130968|0)+8192|0;g=b+(i*130968|0)+16383|0;f=8192;do{if(a[g>>0]|0)break;f=f+-1|0;g=g+-1|0}while(g>>>0>=h>>>0);g=e+4|0;if(f){j=i<<5|f<<8&16776960|2;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}h=b+(i*130968|0)+16384|0;g=b+(i*130968|0)+49023|0;f=32640;do{if(a[g>>0]|0)break;f=f+-1|0;g=g+-1|0}while(g>>>0>=h>>>0);g=e+4|0;if(f){j=i<<5|f<<8&16776960|4;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}h=b+(i*130968|0)+65432|0;g=b+(i*130968|0)+130967|0;f=65536;do{if(a[g>>0]|0)break;f=f+-1|0;g=g+-1|0}while(g>>>0>=h>>>0);g=e+4|0;if(f){j=i<<5|f<<8&16776960|5;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}h=b+(i*130968|0)+49280|0;g=b+(i*130968|0)+53503|0;f=4224;do{if(a[g>>0]|0)break;f=f+-1|0;g=g+-1|0}while(g>>>0>=h>>>0);g=e+4|0;if(f){j=i<<5|f<<8&16776960|9;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}h=b+(i*130968|0)+49024|0;g=b+(i*130968|0)+49279|0;f=256;do{if(a[g>>0]|0)break;f=f+-1|0;g=g+-1|0}while(g>>>0>=h>>>0);g=e+4|0;if(f){j=i<<5|f<<8&16776960|10;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}h=b+(i*130968|0)+53504|0;g=b+(i*130968|0)+65023|0;f=11520;do{if(a[g>>0]|0)break;f=f+-1|0;g=g+-1|0}while(g>>>0>=h>>>0);g=e+4|0;if(f){j=i<<5|f<<8&16776960|13;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}h=b+(i*130968|0)+65024|0;g=b+(i*130968|0)+65431|0;f=408;do{if(a[g>>0]|0)break;f=f+-1|0;g=g+-1|0}while(g>>>0>=h>>>0);g=e+4|0;if(f){j=i<<5|f<<8&16776960|14;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}i=i+1|0}while((i|0)!=8);h=b+1047744|0;g=47;f=48;while(1){if(a[h+g>>0]|0)break;f=f+-1|0;if((g|0)<1)break;else g=g+-1|0}g=e+4|0;if(f){j=f<<8&16776960|12;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,h|0,f|0)|0;e=g+f|0}f=c[b+1047792>>2]|0;g=e+4|0;if(!f){b=e;j=d;j=b-j|0;return j|0}j=f<<8&16776960|3;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;CQ(g|0,b+1047796|0,f|0)|0;b=g+f|0;j=d;j=b-j|0;return j|0}function El(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,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=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,_=0,$=0,aa=0,ba=0,ca=0,da=0;$=f+2588580|0;c[$>>2]=g;P=f+2588584|0;c[P>>2]=h;ba=f+65436|0;g=ba;i=g+72|0;do{b[g>>1]=0;g=g+2|0}while((g|0)<(i|0));L=f+2589188|0;i=c[L>>2]|0;a:do if(i|0){M=f+81916|0;N=a[M>>0]|0;aa=f+2589192|0;g=O((c[aa>>2]|0)*6|0,(a[h+11520+(N*51|0)+48>>0]|0)+150|0)|0;g=((g|0)/((a[h+11520+(N*51|0)+50>>0]|0)+6|0)|0|0)/900|0;b:do if((g|0)>=(64-(d[h+11520+(N*51|0)+49>>0]|0)|0)){c[aa>>2]=0;j=f+2589196|0;k=f+2589210|0;l=a[k>>0]|15;a[k>>0]=l;m=f+2589212|0;c[m>>2]=-1;n=f+2589208|0;b[n>>1]=16;o=f+2589204|0;c[o>>2]=-1;p=f+2589200|0;c[p>>2]=-1;c[j>>2]=-1;q=f+2589230|0;r=a[q>>0]|15;a[q>>0]=r;s=f+2589232|0;c[s>>2]=-1;t=f+2589228|0;b[t>>1]=16;u=f+2589224|0;c[u>>2]=-1;v=f+2589220|0;c[v>>2]=-1;w=f+2589216|0;c[w>>2]=-1;x=f+2589250|0;y=a[x>>0]|15;a[x>>0]=y;z=f+2589252|0;c[z>>2]=-1;A=f+2589248|0;b[A>>1]=16;B=f+2589244|0;c[B>>2]=-1;C=f+2589240|0;c[C>>2]=-1;D=f+2589236|0;c[D>>2]=-1;E=f+2589270|0;F=a[E>>0]|15;a[E>>0]=F;G=f+2589272|0;c[G>>2]=-1;H=f+2589268|0;b[H>>1]=16;I=f+2589264|0;c[I>>2]=-1;J=f+2589260|0;c[J>>2]=-1;K=f+2589256|0;c[K>>2]=-1;switch(i|0){case 2:break;case 1:{if(a[f+81919>>0]&1){g=0;break b}a[M>>0]=-1;c[L>>2]=0;a[k>>0]=l;c[m>>2]=-1;b[n>>1]=16;c[o>>2]=-1;c[p>>2]=-1;c[j>>2]=-1;a[q>>0]=r;c[s>>2]=-1;b[t>>1]=16;c[u>>2]=-1;c[v>>2]=-1;c[w>>2]=-1;a[x>>0]=y;c[z>>2]=-1;b[A>>1]=16;c[B>>2]=-1;c[C>>2]=-1;c[D>>2]=-1;a[E>>0]=F;c[G>>2]=-1;b[H>>1]=16;c[I>>2]=-1;c[J>>2]=-1;c[K>>2]=-1;break a}default:{g=0;break b}}g=f+81917|0;i=(a[g>>0]|0)+1<<24>>24;a[g>>0]=i;if(i<<24>>24>15)if(!(a[f+81919>>0]&1)){a[M>>0]=-1;c[L>>2]=0;a[k>>0]=l;c[m>>2]=-1;b[n>>1]=16;c[o>>2]=-1;c[p>>2]=-1;c[j>>2]=-1;a[q>>0]=r;c[s>>2]=-1;b[t>>1]=16;c[u>>2]=-1;c[v>>2]=-1;c[w>>2]=-1;a[x>>0]=y;c[z>>2]=-1;b[A>>1]=16;c[B>>2]=-1;c[C>>2]=-1;c[D>>2]=-1;a[E>>0]=F;c[G>>2]=-1;b[H>>1]=16;c[I>>2]=-1;c[J>>2]=-1;c[K>>2]=-1;break a}else{a[g>>0]=0;g=0;break}ca=(i<<24>>24)*3|0;da=a[h+11520+(N*51|0)+ca>>0]|0;i=d[ca+1+(h+11520+(N*51|0))>>0]<<8;ca=d[ca+2+(h+11520+(N*51|0))>>0]|0;if((ca>>>2|0)==(0-((da&63)+((i|da&255)>>>6&63)+((ca<<16|i)>>>12&63))|0))if(!(a[f+81919>>0]&1)){a[M>>0]=-1;c[L>>2]=0;a[k>>0]=l;c[m>>2]=-1;b[n>>1]=16;c[o>>2]=-1;c[p>>2]=-1;c[j>>2]=-1;a[q>>0]=r;c[s>>2]=-1;b[t>>1]=16;c[u>>2]=-1;c[v>>2]=-1;c[w>>2]=-1;a[x>>0]=y;c[z>>2]=-1;b[A>>1]=16;c[B>>2]=-1;c[C>>2]=-1;c[D>>2]=-1;a[E>>0]=F;c[G>>2]=-1;b[H>>1]=16;c[I>>2]=-1;c[J>>2]=-1;c[K>>2]=-1;break a}else{a[g>>0]=0;g=0;break}else g=0}while(0);k=f+81918|0;if((g|0)==(a[k>>0]|0))i=f+2589196|0;else{a[k>>0]=g;l=f+81917|0;i=f+2589196|0;j=0;do{m=(a[l>>0]|0)*3|0;m=(d[m+2+(h+11520+(N*51|0))>>0]<<16|(d[m+1+(h+11520+(N*51|0))>>0]<<8|d[h+11520+(N*51|0)+m>>0]))>>>(j*6|0)&63;if((m|0?(Q=c[P>>2]|0,R=m+-1|0,S=Q+(R*192|0)+((a[k>>0]|0)*3|0)|0,S=((d[S>>0]|d[S+1>>0]<<8)&65535|d[S+2>>0]<<16)&15,T=S&16777215,S&16777215|0):0)?(U=i+(j*20|0)+14|0,V=a[U>>0]|0,a[U>>0]=V|15,W=i+(j*20|0)+16|0,c[W>>2]=-1,X=i+(j*20|0)+12|0,b[X>>1]=16,Y=i+(j*20|0)+8|0,c[Y>>2]=-1,Z=i+(j*20|0)+4|0,c[Z>>2]=-1,_=i+(j*20|0)|0,c[_>>2]=-1,(S&16777215)>>>0>3):0){ca=Q+(R*192|0)+((a[k>>0]|0)*3|0)|0;ca=(d[ca>>0]|d[ca+1>>0]<<8)&65535|d[ca+2>>0]<<16;da=Q+(R*192|0)+(g*3|0)|0;da=(d[da>>0]|d[da+1>>0]<<8)&65535|d[da+2>>0]<<16;da=((da&16777215)>>>10&32|(da&16777215)>>>16&31)&16777215;M=((ca&16777215)>>>4&15|V&-16)^15;a[U>>0]=M;L=(c[$>>2]|0)+256+(da*66|0)+60|0;a[U>>0]=(d[L>>0]|d[L+1>>0]<<8)&112|M&-113;ca=~~+FQ(+(+Lf(+(+(T+-61+(((ca&16777215)>>>21)*12&16777215)|0)/12.0))*440.0));c[W>>2]=-1;b[X>>1]=ca;c[Y>>2]=da;c[Z>>2]=-1;c[_>>2]=-1}j=j+1|0}while((j|0)!=4)}g=c[i+8>>2]|0;if((g|0)>-1)Nl(f,g,e[i+12>>1]|0,i,ba);g=c[i+28>>2]|0;if((g|0)>-1)Nl(f,g,e[i+32>>1]|0,i+20|0,f+65454|0);g=c[i+48>>2]|0;if((g|0)>-1)Nl(f,g,e[i+52>>1]|0,i+40|0,f+65472|0);g=c[i+68>>2]|0;if((g|0)>-1)Nl(f,g,e[i+72>>1]|0,i+60|0,f+65490|0);c[aa>>2]=(c[aa>>2]|0)+1}while(0);g=c[f+2589116>>2]|0;if((g|0)>-1)Nl(f,g,e[f+2589120>>1]|0,f+2589108|0,ba);g=c[f+2589136>>2]|0;if((g|0)>-1)Nl(f,g,e[f+2589140>>1]|0,f+2589128|0,f+65454|0);g=c[f+2589156>>2]|0;if((g|0)>-1)Nl(f,g,e[f+2589160>>1]|0,f+2589148|0,f+65472|0);g=c[f+2589176>>2]|0;if((g|0)>-1)Nl(f,g,e[f+2589180>>1]|0,f+2589168|0,f+65490|0);i=f+2588592|0;k=f+2588596|0;l=f+65408|0;g=0;do{da=1<>2]&da;j=k+(g<<2)|0;if((ca|0)!=0?(ca|0)==(c[l>>2]&da|0):0)m=(c[j>>2]|0)+1|0;else m=0;c[j>>2]=m;g=g+1|0}while((g|0)!=32);l=f+2588724|0;m=f+65416|0;n=f+2588728|0;o=m+1|0;p=m+2|0;q=m+3|0;r=f+2588725|0;s=f+2588726|0;t=f+2588727|0;k=0;do{g=k&255;if(((a[l>>0]|0)!=g<<24>>24?(a[r>>0]|0)!=g<<24>>24:0)?(a[s>>0]|0)!=g<<24>>24:0)j=(a[t>>0]|0)==g<<24>>24;else j=1;if(((a[m>>0]|0)!=g<<24>>24?(a[o>>0]|0)!=g<<24>>24:0)?(a[p>>0]|0)!=g<<24>>24:0)g=(a[q>>0]|0)==g<<24>>24;else g=1;i=n+(k<<2)|0;if(j&g)g=(c[i>>2]|0)+1|0;else g=0;c[i>>2]=g;k=k+1|0}while((k|0)!=79);c[f+2589352>>2]=9;c[f+2589356>>2]=11;c[f+2589364>>2]=0;c[f+2589360>>2]=9;return}function Fl(a){a=a|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;c[a+2588592>>2]=c[a+65408>>2];c[a+2588724>>2]=c[a+65416>>2];o=a+2589060|0;p=a+2588572|0;n=0;do{l=a+65436+(n*18|0)|0;g=o+(n*12|0)|0;k=(xN(332649,a+65436+(n*18|0)+2|0,16)|0)==0;m=c[p>>2]|0;a:do if(k){k=o+(n*12|0)+4|0;f=c[k>>2]|0;if(!f){c[k>>2]=1;h=1}else h=f;f=b[l>>1]&4095;if(!(f<<16>>16))i=4096;else{i=~~+FQ(+(112500.0/+(f&65535)+-1.0));i=(i|0)<10?10:(i|0)<4096?i:4096}f=c[g>>2]|0;if((f|0)<3e4){j=o+(n*12|0)+8|0;while(1){q=h>>1;c[k>>2]=0-(h&1)&24576^q;q=((O(q&1|0?16380:0,(e[l>>1]|0)>>>12&65535)|0)>>>0)/15|0;h=q-(c[j>>2]|0)|0;c[j>>2]=q;Yl(m,f,h);f=(c[g>>2]|0)+i|0;c[g>>2]=f;if((f|0)>=3e4)break a;h=c[k>>2]|0}}}else{f=b[l>>1]<<1&8190;if(!(f<<16>>16))h=4096;else{h=~~+FQ(+(112500.0/+(f&65535)+-1.0));h=(h|0)<10?10:(h|0)<4096?h:4096}f=c[g>>2]|0;if((f|0)<3e4){i=o+(n*12|0)+4|0;j=o+(n*12|0)+8|0;do{q=((c[i>>2]|0)+1|0)%32|0;c[i>>2]=q;k=d[(q>>>1)+(a+65436+(n*18|0)+2)>>0]|0;k=((O((q&1|0?k>>>4:k&15)*1092|0,(e[l>>1]|0)>>>12&65535)|0)>>>0)/15|0;q=k-(c[j>>2]|0)|0;c[j>>2]=k;Yl(m,f,q);f=(c[g>>2]|0)+h|0;c[g>>2]=f}while((f|0)<3e4)}}while(0);c[g>>2]=f+-3e4;n=n+1|0}while((n|0)!=4);g=c[p>>2]|0;p=g;p=rQ(c[p>>2]|0,c[p+4>>2]|0,3e4,0)|0;q=g+8|0;m=q;m=lQ(p|0,z|0,c[m>>2]|0,c[m+4>>2]|0)|0;p=z;o=wQ(m|0,p|0,52)|0;n=g+16|0;o=lQ(c[n>>2]|0,0,o|0,z|0)|0;c[n>>2]=o;c[q>>2]=m;c[q+4>>2]=p&1048575;if((o|0)>(c[g+20>>2]|0))Ga(90085,89992,190,90105);i=c[a+2440924>>2]|0;q=c[a+2588576>>2]|0;f=(q|0)/60|0;if((q|0)<=-60)Ga(90120,89992,210,90131);k=(o|0)<(f|0)?o:f;if(!k){f=a+2589352|0;c[f>>2]=10;f=a+2589356|0;c[f>>2]=12;f=a+2589360|0;c[f>>2]=10;f=a+2589288|0;g=a+1129664|0;Ji(g);g=316940;h=f+64|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));return}l=g+32|0;m=l+(k<<2)|0;j=g+24|0;h=c[j>>2]|0;f=i;g=l;while(1){q=h>>15;p=c[g>>2]|0;q=(q<<16>>16|0)==(q|0)?q:h>>31^32767;b[f>>1]=q;g=g+4|0;h=p+h-(q<<6)|0;if((g|0)==(m|0))break;else f=f+2|0}c[j>>2]=h;f=o+(18-k)|0;c[n>>2]=o-k;DQ(l|0,m|0,f<<2|0)|0;EQ(l+(f<<2)|0,0,k<<2|0)|0;f=a+2589352|0;c[f>>2]=10;f=a+2589356|0;c[f>>2]=12;f=a+2589360|0;c[f>>2]=10;f=a+2589288|0;g=a+1129664|0;Ji(g);g=316940;h=f+64|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));return}function Gl(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,q=0,r=0;n=b+16320|0;Ji(n);k=(e|0)!=0;if(k){Dg[e&63](b,0,g);Ji(n)}q=b+16376|0;j=c[316940+((a[q>>0]&15)<<2)>>2]|0;h=256;i=b+2440932|0;while(1){c[i>>2]=j;c[i+4>>2]=j;c[i+8>>2]=j;c[i+12>>2]=j;h=h+-1|0;if(!h)break;else i=i+16|0}h=b+2445028|0;o=b+16378|0;p=b+16377|0;if(k){k=0;while(1){l=c[316940+((a[q>>0]&15)<<2)>>2]|0;c[h>>2]=l;c[h+4>>2]=l;c[h+8>>2]=l;c[h+12>>2]=l;c[h+16>>2]=l;c[h+20>>2]=l;c[h+24>>2]=l;c[h+28>>2]=l;l=h+32|0;m=((k+136+(a[o>>0]|0)|0)%136|0)*240>>1;i=0;j=(240-(a[p>>0]|0)|0)%240|0;while(1){r=d[b+(i+m)>>0]|0;c[l+(((j>>>0)%240|0)<<2)>>2]=c[316940+((r&15)<<2)>>2];c[l+((((j+1|0)>>>0)%240|0)<<2)>>2]=c[316940+(r>>>4<<2)>>2];i=i+1|0;if((i|0)==120)break;else j=j+2|0}r=c[316940+((a[q>>0]&15)<<2)>>2]|0;c[h+992>>2]=r;c[h+996>>2]=r;c[h+1e3>>2]=r;c[h+1004>>2]=r;c[h+1008>>2]=r;c[h+1012>>2]=r;c[h+1016>>2]=r;c[h+1020>>2]=r;r=k;k=k+1|0;if((r|0)<135){Dg[e&63](b,k,g);Ji(n)}if((k|0)==136)break;else h=h+1024|0}}else{k=0;while(1){l=c[316940+((a[q>>0]&15)<<2)>>2]|0;c[h>>2]=l;c[h+4>>2]=l;c[h+8>>2]=l;c[h+12>>2]=l;c[h+16>>2]=l;c[h+20>>2]=l;c[h+24>>2]=l;c[h+28>>2]=l;l=h+32|0;m=((k+136+(a[o>>0]|0)|0)%136|0)*240>>1;i=0;j=(240-(a[p>>0]|0)|0)%240|0;while(1){r=d[b+(i+m)>>0]|0;c[l+(((j>>>0)%240|0)<<2)>>2]=c[316940+((r&15)<<2)>>2];c[l+((((j+1|0)>>>0)%240|0)<<2)>>2]=c[316940+(r>>>4<<2)>>2];i=i+1|0;if((i|0)==120)break;else j=j+2|0}r=c[316940+((a[q>>0]&15)<<2)>>2]|0;c[h+992>>2]=r;c[h+996>>2]=r;c[h+1e3>>2]=r;c[h+1004>>2]=r;c[h+1008>>2]=r;c[h+1012>>2]=r;c[h+1016>>2]=r;c[h+1020>>2]=r;k=k+1|0;if((k|0)==136)break;else h=h+1024|0}}j=c[316940+((a[q>>0]&15)<<2)>>2]|0;h=256;i=b+2584292|0;while(1){c[i>>2]=j;c[i+4>>2]=j;c[i+8>>2]=j;c[i+12>>2]=j;h=h+-1|0;if(!h)break;else i=i+16|0}if(!f)return;Bg[f&255](b,g);return}function Hl(a){a=a|0;return Il(a+147352|0)|0}function Il(a){a=a|0;var b=0,c=0;b=Jl(a,89803,263052)|0;if(b|0?(c=(wN(b,89810)|0)==0,UM(b),c):0){c=4020;return c|0}b=Jl(a,89803,263052)|0;if(b|0?(c=(wN(b,89815)|0)==0,UM(b),c):0){c=4020;return c|0}b=Jl(a,89803,287134)|0;if(b|0?(c=(wN(b,89826)|0)==0,UM(b),c):0){c=2936;return c|0}b=Jl(a,89803,287134)|0;if(b|0?(c=(wN(b,89829)|0)==0,UM(b),c):0){c=2936;return c|0}c=3564;return c|0}function Jl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=l;l=l+16|0;f=h;g=JO(89840)|0;g=TM((JO(d)|0)+g|0)|0;if(!g){g=0;l=h;return g|0}c[f>>2]=e;c[f+4>>2]=d;zN(g,89840,f)|0;b=zP(b,g)|0;if(!b){UM(g);g=0;l=h;return g|0}d=b+(JO(g)|0)|0;UM(g);if(!d){g=0;l=h;return g|0}b=KO(d,10)|0;if(!b){g=0;l=h;return g|0}while(1)if(d>>>0>>0&(a[d>>0]|0)<33)d=d+1|0;else break;while(1){e=b+-1|0;if(b>>>0>d>>>0&(a[e>>0]|0)<33)b=e;else break}b=b-d|0;e=TM(b+1|0)|0;if(!e){g=0;l=h;return g|0}EQ(e+b|0,0,(b|0)!=-1|0)|0;CQ(e|0,d|0,b|0)|0;g=e;l=h;return g|0}function Kl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+2440932+(b<<2)+(d<<8<<2)+4128>>2]=c[a+2589288+((e&255)<<2)>>2];return}function Ll(a,b,d){a=a|0;b=b|0;d=d|0;b=c[a+2440932+(b<<2)+(d<<8<<2)+4128>>2]|0;if((c[a+2589288>>2]|0)==(b|0)){a=0;return a|0}if((c[a+2589292>>2]|0)==(b|0)){a=1;return a|0}if((c[a+2589296>>2]|0)==(b|0)){a=2;return a|0}if((c[a+2589300>>2]|0)==(b|0)){a=3;return a|0}if((c[a+2589304>>2]|0)==(b|0)){a=4;return a|0}if((c[a+2589308>>2]|0)==(b|0)){a=5;return a|0}if((c[a+2589312>>2]|0)==(b|0)){a=6;return a|0}if((c[a+2589316>>2]|0)==(b|0)){a=7;return a|0}if((c[a+2589320>>2]|0)==(b|0)){a=8;return a|0}if((c[a+2589324>>2]|0)==(b|0)){a=9;return a|0}if((c[a+2589328>>2]|0)==(b|0)){a=10;return a|0}if((c[a+2589332>>2]|0)==(b|0)){a=11;return a|0}if((c[a+2589336>>2]|0)==(b|0)){a=12;return a|0}if((c[a+2589340>>2]|0)==(b|0)){a=13;return a|0}if((c[a+2589344>>2]|0)==(b|0)){a=14;return a|0}else return ((c[a+2589348>>2]|0)==(b|0)?15:0)|0;return 0}function Ml(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=c[a+2589288+((f&255)<<2)>>2]|0;if((b|0)>=(d|0))return;f=e<<8;do{c[a+2440932+(b<<2)+(f<<2)+4128>>2]=g;b=b+1|0}while((b|0)!=(d|0));return}function Nl(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;k=h+16|0;j=c[k>>2]|0;if((j|0)>0){j=j+-1|0;c[k>>2]=j}if((f|0)<0|(j|0)==0){c[h+4>>2]=-1;c[h>>2]=-1;return}s=e+2588580|0;r=c[s>>2]|0;j=(c[h>>2]|0)+1|0;c[h>>2]=j;p=a[h+14>>0]|0;k=(p<<1&255)<<24>>24>>5;do if(k<<24>>24){e=k<<24>>24;if(k<<24>>24>0){o=O(e+1|0,j)|0;break}else{o=(j|0)/(1-e|0)|0;break}}else o=j;while(0);n=r+256+(f*66|0)+62|0;q=h+4|0;j=(o|0)<29?o:29;k=a[n>>0]|0;e=(k&255)>15;if((o|0)>0){if(e){l=k&15;h=(l+((k&255)>>>4)&255)+-1|0;l=l&255;k=0;e=0;do{k=(k|0)<(h|0)?k+1|0:l;e=e+1|0}while((e|0)!=(o|0))}else k=j;a[q>>0]=k;k=a[n+1>>0]|0;if((k&255)>15){l=k&15;h=(l+((k&255)>>>4)&255)+-1|0;l=l&255;k=0;e=0;do{k=(k|0)<(h|0)?k+1|0:l;e=e+1|0}while((e|0)!=(o|0))}else k=j;m=k&255;a[q+1>>0]=m;k=a[n+2>>0]|0;if((k&255)>15){l=k&15;h=(l+((k&255)>>>4)&255)+-1|0;l=l&255;k=0;e=0;do{k=(k|0)<(h|0)?k+1|0:l;e=e+1|0}while((e|0)!=(o|0))}else k=j;k=k&255;a[q+2>>0]=k;e=a[n+3>>0]|0;if((e&255)>15){l=e&15;h=(l+((e&255)>>>4)&255)+-1|0;l=l&255;j=0;e=0;do{j=(j|0)<(h|0)?j+1|0:l;e=e+1|0}while((e|0)!=(o|0))}h=j&255;j=m}else{h=j&255;a[q>>0]=e?0:h;j=(d[n+1>>0]|0)>15?0:h;a[q+1>>0]=j;k=(d[n+2>>0]|0)>15?0:h;a[q+2>>0]=k;h=(d[n+3>>0]|0)>15?0:h}a[q+3>>0]=h;e=r+256+(f*66|0)+(j<<24>>24<<1)|0;e=O(((d[e>>0]|d[e+1>>0]<<8)&15^15)&65535,p&15)|0;if(e>>>0<=14)return;j=r+256+(f*66|0)+(k<<24>>24<<1)|0;k=r+256+(f*66|0)+60|0;k=d[k>>0]|d[k+1>>0]<<8;j=O(((k&128)>>>6^2)+-1|0,((d[j>>0]|d[j+1>>0]<<8)&65535)>>>8&15)|0;if(!((j&255)<<24>>24))j=g;else j=~~+FQ(+(+Lf(+((+(j<<24>>24|0)+(+UO(+(g|0)/440.0)*12.0+49.0)+-49.0)/12.0))*440.0));g=r+256+(f*66|0)+(h<<24>>24<<1)|0;b[i>>1]=(O(((d[g>>0]|d[g+1>>0]<<8)<<16>>16>>12&65535)<<24>>24,k&8?16:1)|0)+j&4095|(((e>>>0)/15|0)&65535)<<12&65535;j=r+256+(f*66|0)+(a[q>>0]<<1)|0;e=i+2|0;j=(c[s>>2]|0)+((((d[j>>0]|d[j+1>>0]<<8)&65535)>>>4&15)<<4)|0;k=e+16|0;do{a[e>>0]=a[j>>0]|0;e=e+1|0;j=j+1|0}while((e|0)<(k|0));return}function Ol(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0;g=(e*240|0)+c|0;e=b+(g>>>1)|0;c=d[e>>0]|0;b=f&255;if(!(g&1)){g=c&240;a[e>>0]=g;f=b&15;g=f|g;g=g&255;a[e>>0]=g;return}else{g=c&15;a[e>>0]=g;f=b<<4;g=f|g;g=g&255;a[e>>0]=g;return}}function Pl(a,b,c){a=a|0;b=b|0;c=c|0;b=(c*240|0)+b|0;c=d[a+(b>>>1)>>0]|0;return (b&1|0?c>>>4:c&15)&255|0}function Ql(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;k=g&255;l=k<<4|k;j=l&255;if((c|0)>=(e|0))return;i=f*240|0;if(!(c&1))g=c;else{f=i+c|0;h=b+(f>>>1)|0;g=d[h>>0]|0;if(!(f&1)){f=g&240;a[h>>0]=f;g=k&15}else{f=g&15;a[h>>0]=f;g=l<<4&4080}a[h>>0]=g|f;g=c+1|0}f=e-g>>1;if((f|0)>0)EQ(b+(g+i>>1)|0,j|0,f|0)|0;if(!(e&1))return;e=e+-1+i|0;h=b+(e>>>1)|0;g=d[h>>0]|0;if(!(e&1)){f=g&240;a[h>>0]=f;g=k&15}else{f=g&15;a[h>>0]=f;g=l<<4&4080}a[h>>0]=g|f;return}function Rl(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a[d+81916>>0]=e;if((e|0)<0){c[d+2589188>>2]=0;g=d+2589210|0;a[g>>0]=a[g>>0]|15;c[d+2589212>>2]=-1;b[d+2589208>>1]=16;c[d+2589204>>2]=-1;c[d+2589200>>2]=-1;c[d+2589196>>2]=-1;g=d+2589230|0;a[g>>0]=a[g>>0]|15;c[d+2589232>>2]=-1;b[d+2589228>>1]=16;c[d+2589224>>2]=-1;c[d+2589220>>2]=-1;c[d+2589216>>2]=-1;g=d+2589250|0;a[g>>0]=a[g>>0]|15;c[d+2589252>>2]=-1;b[d+2589248>>1]=16;c[d+2589244>>2]=-1;c[d+2589240>>2]=-1;c[d+2589236>>2]=-1;g=d+2589270|0;a[g>>0]=a[g>>0]|15;c[d+2589272>>2]=-1;b[d+2589268>>1]=16;c[d+2589264>>2]=-1;c[d+2589260>>2]=-1;c[d+2589256>>2]=-1;return}a[d+81918>>0]=g;a[d+81917>>0]=(f|0)>0?f:0;f=d+81919|0;a[f>>0]=a[f>>0]&-2|h&1;c[d+2589188>>2]=2;f=c[d+2588584>>2]|0;if((g|0)>-1){g=O(g*900|0,(a[f+11520+(e*51|0)+50>>0]|0)+6|0)|0;f=((g|0)/((a[f+11520+(e*51|0)+48>>0]|0)+150|0)|0|0)/6|0}else f=0;c[d+2589192>>2]=f;return}function Sl(a,c){a=a|0;c=c|0;var d=0.0,e=0.0,f=0.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;p=+g[c+4>>2]<+g[a+4>>2];h=p?a:c;a=p?c:a;f=+g[h+4>>2];j=+g[a+4>>2];d=f-j;if(!~~d)return;k=+g[a>>2];n=(+g[h>>2]-k)/d;i=+g[a+8>>2];o=(+g[h+8>>2]-i)/d;e=+g[a+12>>2];m=(+g[h+12>>2]-e)/d;l=+(~~f|0);if(j>>0<136){a=317348+(h<<1)|0;if((b[a>>1]|0)>(c|0)){b[a>>1]=c;g[318164+(h<<2)>>2]=i;g[319252+(h<<2)>>2]=e}a=317076+(h<<1)|0;if((b[a>>1]|0)<(c|0)){b[a>>1]=c;g[317620+(h<<2)>>2]=i;g[318708+(h<<2)>>2]=e}}f=f+1.0;if(!(f>0]=n;G=o<<3;H=j+h|0;if((j|0)<=0){l=K;return}F=i+g|0;y=(i|0)>0;z=J+4|0;A=J+8|0;B=(p|0)==0;C=239-g|0;D=~g;E=g+240|0;v=h;w=135-h|0;x=~h;u=h+136|0;while(1){t=((v|0)>0?v:0)+w|0;t=t-((t>>>0)%136|0)|0;j=x-t|0;j=((j|0)>-136?j:-136)+u+t|0;j=v+t+(((j>>>0)%136|0)-j)|0;if(y){t=j*240|0;if(B){n=k;j=g;i=C;h=D;r=E;while(1){L=((j|0)>0?j:0)+i|0;L=L-((L>>>0)%240|0)|0;s=h-L|0;s=((s|0)>-240?s:-240)+r+L|0;s=a[e+(t+(j+L+(((s>>>0)%240|0)-s)))>>0]|0;a[J>>0]=s;c[z>>2]=0;c[A>>2]=0;Pk(b,f+((s&255)<<5)|0,n,m,I,1,o,0,0);j=j+1|0;if((j|0)>=(F|0))break;else{n=n+G|0;i=i+-1|0;h=h+-1|0;r=r+1|0}}}else{n=k;i=g;h=C;r=D;s=E;while(1){M=((i|0)>0?i:0)+h|0;M=M-((M>>>0)%240|0)|0;L=r-M|0;L=((L|0)>-240?L:-240)+s+M|0;L=i+M+(((L>>>0)%240|0)-L)|0;a[J>>0]=a[e+(t+L)>>0]|0;c[z>>2]=0;c[A>>2]=0;Eg[p&63](q,L,j,J);Pk(b,f+((d[J>>0]|0)<<5)|0,n,m,I,1,o,c[z>>2]|0,c[A>>2]|0);i=i+1|0;if((i|0)>=(F|0))break;else{n=n+G|0;h=h+-1|0;r=r+-1|0;s=s+1|0}}}}v=v+1|0;if((v|0)>=(H|0))break;else{m=m+G|0;w=w+-1|0;x=x+-1|0;u=u+1|0}}l=K;return}function Ul(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;if(e>>>0>239)return;o=(f|0)>0?f:0;i=g+f|0;i=(i|0)<136?i:136;if((o|0)>=(i|0))return;j=b+2589044|0;k=b+2589048|0;l=b+2589052|0;m=b+2589056|0;n=b+2589352|0;h=h&15;g=(h>>>1)+(b+16368)|0;if(!(h&1)){f=o;do{if((((c[j>>2]|0)<=(e|0)?(c[k>>2]|0)<=(f|0):0)?(c[l>>2]|0)>(e|0):0)?(c[m>>2]|0)>(f|0):0)Eg[c[n>>2]&63](b,e,f,a[g>>0]&15);f=f+1|0}while((f|0)<(i|0));return}else{f=o;do{if((((c[j>>2]|0)<=(e|0)?(c[k>>2]|0)<=(f|0):0)?(c[l>>2]|0)>(e|0):0)?(c[m>>2]|0)>(f|0):0)Eg[c[n>>2]&63](b,e,f,(d[g>>0]|0)>>>4);f=f+1|0}while((f|0)<(i|0));return}}function Vl(b,c,d,e,f,g,h,i){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,k=0,l=0,m=0,n=0,o=0;j=d+-2+(i*7|0)|0;k=j-i|0;l=k-i|0;m=l-i|0;n=m-i|0;o=n-i|0;g=0;f=((c&255)<<3)+(b+2438632)|0;while(1){d=a[f>>0]|0;if(d&4){_k(b,j,e,i,i,h);d=a[f>>0]|0}if(d&8){_k(b,k,e,i,i,h);d=a[f>>0]|0}if(d&16){_k(b,l,e,i,i,h);d=a[f>>0]|0}if(d&32){_k(b,m,e,i,i,h);d=a[f>>0]|0}if(d&64){_k(b,n,e,i,i,h);d=a[f>>0]|0}if(d<<24>>24<=-1)_k(b,o,e,i,i,h);g=g+1|0;if((g|0)==6)break;else{e=e+i|0;f=f+1|0}}return i*6|0}function Wl(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=((e&255)<<3)+(b+2438632)|0;q=d[z>>0]|0;r=z+1|0;s=z+2|0;t=z+3|0;u=z+4|0;v=z+5|0;if((((((q&128|0)==0?(p=a[r>>0]|0,p<<24>>24>-1):0)?(l=a[s>>0]|0,l<<24>>24>-1):0)?(m=a[t>>0]|0,m<<24>>24>-1):0)?(n=a[u>>0]|0,n<<24>>24>-1):0)?(o=a[v>>0]|0,o<<24>>24>-1):0)if((q&64|0)==0?((p|l|m|n|o)&64)==0:0)if((q&32|0)==0?((p|l|m|n|o)&32)==0:0)if((q&16|0)==0?((p|l|m|n|o)&16)==0:0)if((q&8|0)==0?((p|l|m|n|o)&8)==0:0)if((q&4|0)==0?((p|l|m|n|o)&4)==0:0){e=6;l=6}else{l=5;w=3}else{l=4;w=3}else{l=3;w=3}else{l=2;w=3}else{l=1;w=3}else{l=0;w=3}a:do if((w|0)==3){i=5;e=6;while(1){h=128>>>i;if(q&h|0)break a;if((d[r>>0]|0)&h|0)break a;if((d[s>>0]|0)&h|0)break a;if((d[t>>0]|0)&h|0)break a;if((d[u>>0]|0)&h|0)break a;if((d[v>>0]|0)&h|0)break a;e=e+-1|0;if((i|0)>(l|0))i=i+-1|0;else break}}while(0);x=b+2589048|0;y=b+2589056|0;s=j&15;r=(s>>>1)+(b+16368)|0;s=(s&1|0)==0;t=b+2589044|0;u=b+2589052|0;v=b+2589360|0;w=(e|0)<=(l|0)|(k|0)<1;q=0;n=z;while(1){m=g;g=g+k|0;if(!w){i=l;o=f;do{p=o;o=o+k|0;if((d[n>>0]|0)&128>>>i|0)if(s){h=m;do{if((c[x>>2]|0)<=(h|0)?(c[y>>2]|0)>(h|0):0){j=c[t>>2]|0;z=c[u>>2]|0;Fg[c[v>>2]&15](b,(j|0)<(p|0)?p:j,(o|0)<(z|0)?o:z,h,a[r>>0]&15)}h=h+1|0}while((h|0)<(g|0))}else{h=m;do{if((c[x>>2]|0)<=(h|0)?(c[y>>2]|0)>(h|0):0){j=c[t>>2]|0;z=c[u>>2]|0;Fg[c[v>>2]&15](b,(j|0)<(p|0)?p:j,(o|0)<(z|0)?o:z,h,(d[r>>0]|0)>>>4)}h=h+1|0}while((h|0)<(g|0))}i=i+1|0}while((i|0)!=(e|0))}q=q+1|0;if((q|0)==6)break;else n=n+1|0}f=e-l|0;return O(f|0?f+1|0:4,k)|0}function Xl(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,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;D=b+28|0;E=b+36|0;F=b+44|0;G=f+7|0;H=d;I=f+5|0;q=f+1|0;r=b+52|0;s=b+60|0;t=b+56|0;u=f+3|0;x=b+48|0;z=f+2|0;B=f+4|0;C=b+40|0;o=b+32|0;g=d;b=0;d=0;h=0;i=0;m=0;n=0;a:while(1){l=a[g>>0]|0;if(b|0){L=c[o>>2]|0;J=zP(g,L)|0;K=(J|0)==0;L=(K?b:J)+(JO(K?b:L)|0)|0;K=b;EQ(e+(K-H)|0,a[B>>0]|0,L-K|0)|0;K=n;J=m;j=i;k=h;l=d;g=L;b=0;n=K;m=J;i=j;h=k;d=l;continue}if(d|0){b=c[C>>2]|0;J=zP(g,b)|0;l=(J|0)==0;b=(l?d:J)+(JO(l?d:b)|0)|0;l=d;EQ(e+(l-H)|0,a[f>>0]|0,b-l|0)|0;l=n;J=m;K=i;L=h;g=b;b=0;d=0;n=l;m=J;i=K;h=L;continue}if(h|0){b=a[h>>0]|0;d=h;while(1){d=KO(d+1|0,b)|0;if(!d){p=12;break}if((a[d+-1>>0]|0)!=92){p=11;break}if((a[d+-2>>0]|0)==92){p=11;break}}if((p|0)==11){p=0;b=d+1|0}else if((p|0)==12){p=0;b=h+(JO(h)|0)|0}J=h;EQ(e+(J-H)|0,a[f>>0]|0,b-J|0)|0;J=n;K=m;L=i;g=b;b=0;d=0;h=0;n=J;m=K;i=L;continue}if(i|0){d=g;b=l;b:while(1){switch(b<<24>>24){case 0:case 10:break b;default:{}}b=d+1|0;d=b;b=a[b>>0]|0}K=i;EQ(e+(K-H)|0,a[B>>0]|0,d-K|0)|0;K=n;L=m;g=d;b=0;d=0;h=0;i=0;n=K;m=L;continue}if(m|0){k=g;b=l;c:while(1){switch(b<<24>>24){case 0:case 10:break c;default:{}}if(!(b<<24>>24==95|(aO(b<<24>>24)|0)!=0))break;b=k+1|0;k=b;b=a[b>>0]|0}i=m;j=k-i|0;d=c[r>>2]|0;d:do if((d|0)>0){g=c[x>>2]|0;b=0;while(1){h=c[g+(b<<2)>>2]|0;if((j|0)==(JO(h)|0)?(xN(m,h,j)|0)==0:0)break;b=b+1|0;if((b|0)>=(d|0))break d}EQ(e+(i-H)|0,a[z>>0]|0,j|0)|0;L=n;g=k;b=0;d=0;h=0;i=0;m=0;n=L;continue a}while(0);g=c[s>>2]|0;if((g|0)<=0){L=n;g=k;b=0;d=0;h=0;i=0;m=0;n=L;continue}h=c[t>>2]|0;b=0;while(1){d=c[h+(b<<2)>>2]|0;if((j|0)==(JO(d)|0)?(xN(m,d,j)|0)==0:0)break;b=b+1|0;if((b|0)>=(g|0)){L=n;g=k;b=0;d=0;h=0;i=0;m=0;n=L;continue a}}EQ(e+(i-H)|0,a[u>>0]|0,j|0)|0;L=n;g=k;b=0;d=0;h=0;i=0;m=0;n=L;continue}if(n|0){h=n+1|0;i=n+2|0;j=n;b=l;e:while(1){switch(b<<24>>24){case 0:case 10:break e;default:{}}d=b<<24>>24;f:do if((d+-48|0)>>>0>=10){g:do if((a[n>>0]|0)==48){switch(a[h>>0]|0){case 88:case 120:break;default:break g}if(gO(a[i>>0]|0)|0){if((g-j|0)>=2?(gO(d)|0)==0:0)break e;b=g+1|0;break f}}while(0);switch(b<<24>>24){case 69:case 101:case 46:break;default:break e}b=g+1|0;if(((a[b>>0]|0)+-48|0)>>>0>=10)break e}else b=g+1|0;while(0);g=b;b=a[b>>0]|0}EQ(e+(j-H)|0,a[q>>0]|0,g-j|0)|0;b=0;d=0;h=0;i=0;m=0;n=0;continue}b=c[D>>2]|0;if(b|0?(v=JO(b)|0,(xN(g,b,v)|0)==0):0){b=g;g=g+v|0;d=0;h=0;i=0;m=0;n=0;continue}b=c[E>>2]|0;if(b|0?(w=JO(b)|0,(xN(g,b,w)|0)==0):0){d=g;g=g+w|0;b=0;h=0;i=0;m=0;n=0;continue}b=l<<24>>24;switch(l<<24>>24){case 39:case 34:{h=g;g=g+1|0;b=0;d=0;i=0;m=0;n=0;continue a}default:{}}d=c[F>>2]|0;if(d|0?(y=JO(d)|0,(xN(g,d,y)|0)==0):0){i=g;g=g+y|0;b=0;d=0;h=0;m=0;n=0;continue}if(l<<24>>24==95|(bO(b)|0)!=0){m=g;g=g+1|0;b=0;d=0;h=0;i=0;n=0;continue}if((b+-48|0)>>>0<10){n=g;g=g+1|0;b=0;d=0;h=0;i=0;m=0;continue}if(l<<24>>24==46?(A=g+1|0,((a[A>>0]|0)+-48|0)>>>0<10):0){n=g;g=A;b=0;d=0;h=0;i=0;m=0;continue}if(!(fO(b)|0)){if(cO(b)|0){b=G;p=68}}else{b=I;p=68}if((p|0)==68){p=0;a[e+(g-H)>>0]=a[b>>0]|0}if(!(l<<24>>24))break;else{g=g+1|0;b=0;d=0;h=0;i=0;m=0;n=0}}return}function Yl(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=a;i=rQ(c[i>>2]|0,c[i+4>>2]|0,d|0,0)|0;g=a+8|0;g=lQ(i|0,z|0,c[g>>2]|0,c[g+4>>2]|0)|0;i=z;j=a+32|0;h=j+(c[a+16>>2]<<2)|0;f=wQ(g|0,i|0,52)|0;f=h+(f<<2)|0;g=wQ(g|0,i|0,47)|0;g=g&31;h=32-g|0;i=(O(i&32767,e)|0)>>15;d=e-i|0;if(f>>>0>(j+((c[a+20>>2]|0)+2<<2)|0)>>>0)Ga(90149,89992,311,90198);else{a=O(b[33556+(g<<4)>>1]|0,d)|0;e=O(b[33556+(g<<4)+16>>1]|0,i)|0;c[f>>2]=(c[f>>2]|0)+a+e;e=O(b[33556+(g<<4)+2>>1]|0,d)|0;a=O(b[33556+(g<<4)+18>>1]|0,i)|0;j=f+4|0;c[j>>2]=(c[j>>2]|0)+e+a;j=O(b[33556+(g<<4)+4>>1]|0,d)|0;a=O(b[33556+(g<<4)+20>>1]|0,i)|0;e=f+8|0;c[e>>2]=(c[e>>2]|0)+j+a;e=O(b[33556+(g<<4)+6>>1]|0,d)|0;a=O(b[33556+(g<<4)+22>>1]|0,i)|0;j=f+12|0;c[j>>2]=(c[j>>2]|0)+e+a;j=O(b[33556+(g<<4)+8>>1]|0,d)|0;a=O(b[33556+(g<<4)+24>>1]|0,i)|0;e=f+16|0;c[e>>2]=(c[e>>2]|0)+j+a;e=O(b[33556+(g<<4)+10>>1]|0,d)|0;a=O(b[33556+(g<<4)+26>>1]|0,i)|0;j=f+20|0;c[j>>2]=(c[j>>2]|0)+e+a;j=O(b[33556+(g<<4)+12>>1]|0,d)|0;a=O(b[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f|0){xr(c[f+44>>2]|0);c[x>>2]=0}w=TM(896)|0;t=w;a:do if(!w)h=0;else{EQ(w|0,0,896)|0;r=w+4|0;c[r>>2]=12;c[w+8>>2]=13;c[w+12>>2]=154;s=w+16|0;c[s>>2]=b;c[w+20>>2]=155;u=w+52|0;c[u>>2]=1;v=w+56|0;c[v>>2]=1;c[w+132>>2]=0;c[w+136>>2]=1e3;k=w+140|0;c[k>>2]=t^5381;c[w+88>>2]=2;c[w+104>>2]=2;f=TM(4096)|0;m=w+168|0;c[m>>2]=f;b:do if(f|0){c[w+176>>2]=1024;n=w+172|0;c[n>>2]=1023;EQ(f|0,0,4096)|0;j=y+4|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[y>>2]=273363;c[y+8>>2]=903;j=0;do{i=tr(y,o)|0;f=c[k>>2]^i;h=(i>>>5)+1|0;if(h>>>0>i>>>0)g=f;else{g=i;do{f=(d[o+(g+-1)>>0]|0)+(f*33|0)|0;g=g-h|0}while(g>>>0>=h>>>0);g=f}f=c[(c[m>>2]|0)+((c[n>>2]&g)<<2)>>2]|0;c:do if(!f)q=13;else while(1){if(((c[f+12>>2]|0)==(g|0)?(c[f+20>>2]|0)==(i|0):0)?(xN(o,f+28|0,i)|0)==0:0)break c;f=c[f+8>>2]|0;if(!f){q=13;break}}while(0);if((q|0)==13){q=0;f=no(w,o,i,g)|0;if(!f){q=19;break}}switch(j|0){case 33:case 67:{c[f>>2]=c[f>>2]|8192;break}default:if(j>>>0>118?(p=c[f>>2]|0,c[f>>2]=p|2048,j>>>0>154):0)c[f>>2]=p|6144}i=f+4|0;c[i>>2]=(c[i>>2]|0)+1;c[w+236+(j<<2)>>2]=f;j=j+1|0}while(j>>>0<164);if((q|0)==19)break;h=ur(w,432)|0;if(h|0){g=h+4|0;EQ(g|0,0,428)|0;c[h>>2]=-1879048063;j=w+24|0;f=c[j>>2]|0;if(f|0)c[f+12>>2]=h;c[h+12>>2]=0;c[h+8>>2]=f;c[j>>2]=h;i=h+44|0;c[i>>2]=w;c[h+52>>2]=1e6;c[h+56>>2]=1e4;c[h+60>>2]=1e4;a[h+49>>0]=1;c[h+428>>2]=w+236;k=w+120|0;c[k>>2]=h;c[g>>2]=1;if(vr(w,h)|0){wr(h);g=c[h+280>>2]|0;q=h+20|0;f=c[q>>2]|0;c[q>>2]=g;if(g|0){q=g+4|0;c[q>>2]=(c[q>>2]|0)+1}if(f|0?(p=f+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)fp(c[i>>2]|0,f);p=w+36|0;q=c[p>>2]|0;c[p>>2]=q+-1;if((q|0)<1)Ln(w,2);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;do if(!f){Ln(w,0);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(!f){Ln(w,0);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(!f){Ln(w,1);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(!f){Ln(w,1);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(!f){Ln(w,1);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(!f){Ln(w,1);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(!f){Ln(w,1);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(!f){Ln(w,1);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(f|0)break;Ln(w,1);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(f|0)break;Ln(w,1);f=hg[c[r>>2]&63](c[s>>2]|0,40)|0;if(f|0)break;c[w+128>>2]=0;break b}}}}}}}}while(0);i=f+4|0;g=i;h=g+36|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));c[f>>2]=134234241;g=c[j>>2]|0;if(g|0)c[g+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=g;c[j>>2]=f;c[w+128>>2]=f;c[i>>2]=1;f=c[k>>2]|0;if(Ef(y|0,0)|0)l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,s|0,28)|0;c[h>>2]=(m|n)^o^p;c[h+4>>2]=q;h=r;c[h>>2]=s|t;c[h+4>>2]=z|w;c[u>>2]=0;c[v>>2]=0;h=c[k>>2]|0;break a}}}while(0);if(c[w+120>>2]|0){c[u>>2]=0;c[v>>2]=0}xr(w);h=0}while(0);c[x>>2]=h;Bv(h);g=h+76|0;f=c[g>>2]|0;if(f>>>0>=(c[h+68>>2]|0)>>>0)Sn(h,3974);c[g>>2]=f+16;c[f>>2]=5;c[f+8>>2]=b;Gu(h,90292);f=c[g>>2]|0;if((f|0)==(c[h+72>>2]|0))Jn(h,268491,50336874,268507);v=f+-16|0;c[g>>2]=v;w=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[v>>2]=2;if(w&8|0?(v=f+4|0,w=(c[v>>2]|0)+-1|0,c[v>>2]=w,(w|0)==0):0)go(c[h+44>>2]|0,f);m=0;while(1){if(m>>>0>=3){Gq(c[x>>2]|0,c[3260+(m<<3)>>2]|0,c[3260+(m<<3)+4>>2]|0,436687232);n=c[x>>2]|0;j=c[3108+(m<<2)>>2]|0;f=c[n+132>>2]|0;k=n+76|0;g=c[k>>2]|0;if(g>>>0>=(c[n+68>>2]|0)>>>0){q=64;break}c[k>>2]=g+16;c[g>>2]=9;c[g+8>>2]=f;i=f+4|0;c[i>>2]=(c[i>>2]|0)+1;i=n+72|0;f=c[i>>2]|0;g=(c[k>>2]|0)-f>>4;if(g>>>0<=1){q=66;break}h=f+(g+-2<<4)|0;f=f+(g+-1<<4)|0;g=f-h|0;if(g|0){c[y>>2]=c[f>>2];c[y+4>>2]=c[f+4>>2];c[y+8>>2]=c[f+8>>2];c[y+12>>2]=c[f+12>>2];DQ(h+16|0,h|0,g|0)|0;c[h>>2]=c[y>>2];c[h+4>>2]=c[y+4>>2];c[h+8>>2]=c[y+8>>2];c[h+12>>2]=c[y+12>>2]}Gu(n,j);f=c[k>>2]|0;if((f|0)==(c[i>>2]|0)){q=70;break}v=f+-16|0;c[k>>2]=v;w=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[v>>2]=2;if(w&8|0?(v=f+4|0,w=(c[v>>2]|0)+-1|0,c[v>>2]=w,(w|0)==0):0)go(c[n+44>>2]|0,f)}m=m+1|0;if((m|0)==38){q=75;break}}if((q|0)==64)Sn(n,3761);else if((q|0)==66)$n(n,342,-2);else if((q|0)==70)Jn(n,268491,50336874,268507);else if((q|0)==75){j=c[x>>2]|0;g=(e|0)==0;if(g)f=0;else f=JO(e)|0;c[y+4>>2]=e;c[y>>2]=f;c[y+8>>2]=3712;h=j+76|0;i=j+72|0;if(((c[h>>2]|0)-(c[i>>2]|0)|0)<0)Tn(j,268476,219);if(!(Vn(j,13,y,0,1)|0)){if(g)f=0;else f=JO(e)|0;c[y+4>>2]=e;c[y>>2]=f;c[y+8>>2]=3720;if(((c[h>>2]|0)-(c[i>>2]|0)|0)<0)Tn(j,268476,219);if(!(Vn(j,13,y,0,1)|0)){f=c[j+132>>2]|0;g=c[h>>2]|0;if(g>>>0>=(c[j+68>>2]|0)>>>0)Sn(j,3761);c[h>>2]=g+16;c[g>>2]=9;c[g+8>>2]=f;y=f+4|0;c[y>>2]=(c[y>>2]|0)+1;if(((c[h>>2]|0)-(c[i>>2]|0)|0)<32)Tn(j,268476,153);if(!(Gp(j,0,0)|0)){b=1;l=A;return b|0}}}b=c[b+2588588>>2]|0;y=c[b+4>>2]|0;b=c[b+36>>2]|0;f=nr(j)|0;Bg[y&255](b,f);f=c[h>>2]|0;if((f|0)==(c[i>>2]|0))Jn(j,268491,50336874,268507);y=f+-16|0;c[h>>2]=y;b=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[y>>2]=2;if(!(b&8)){b=0;l=A;return b|0}y=f+4|0;b=(c[y>>2]|0)+-1|0;c[y>>2]=b;if(b|0){b=0;l=A;return b|0}go(c[j+44>>2]|0,f);b=0;l=A;return b|0}return 0}function _l(a){a=a|0;var b=0;a=a+2588564|0;b=c[a>>2]|0;if(!b)return;xr(c[b+44>>2]|0);c[a>>2]=0;return}function $l(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a+2588564>>2]|0;if(!d)return;if(!(Av(d,263055)|0)){d=c[a+2588588>>2]|0;Bg[c[d+4>>2]&255](c[d+36>>2]|0,263244);return}if(!(Wq(d,0)|0))return;b=c[a+2588588>>2]|0;e=c[b+4>>2]|0;b=c[b+36>>2]|0;a=nr(d)|0;Bg[e&255](b,a);a=d+76|0;b=c[a>>2]|0;if((b|0)==(c[d+72>>2]|0))Jn(d,268491,50336874,268507);f=b+-16|0;c[a>>2]=f;e=c[b+-16>>2]|0;a=c[b+-8>>2]|0;c[f>>2]=2;if(!(e&8))return;e=a+4|0;f=(c[e>>2]|0)+-1|0;c[e>>2]=f;if(f|0)return;go(c[d+44>>2]|0,a);return}function am(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=c[a+2588564>>2]|0;g=(Av(f,263059)|0)==0;e=f+76|0;d=c[e>>2]|0;if(g){if((d|0)==(c[f+72>>2]|0))Jn(f,268491,50336874,268507);b=d+-16|0;c[e>>2]=b;g=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[b>>2]=2;if(!(g&8))return;e=d+4|0;g=(c[e>>2]|0)+-1|0;c[e>>2]=g;if(g|0)return;go(c[f+44>>2]|0,d);return}if(d>>>0>=(c[f+68>>2]|0)>>>0)Sn(f,3868);c[e>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(b|0);if(!(Wq(f,1)|0)){d=c[e>>2]|0;if((d|0)==(c[f+72>>2]|0))Jn(f,268491,50336874,268507);b=d+-16|0;c[e>>2]=b;g=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[b>>2]=2;if(!(g&8))return;e=d+4|0;g=(c[e>>2]|0)+-1|0;c[e>>2]=g;if(g|0)return;go(c[f+44>>2]|0,d);return}else{g=c[a+2588588>>2]|0;b=c[g+4>>2]|0;g=c[g+36>>2]|0;d=nr(f)|0;Bg[b&255](g,d);d=c[e>>2]|0;if((d|0)==(c[f+72>>2]|0))Jn(f,268491,50336874,268507);b=d+-16|0;c[e>>2]=b;g=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[b>>2]=2;if(!(g&8))return;e=d+4|0;g=(c[e>>2]|0)+-1|0;c[e>>2]=g;if(g|0)return;go(c[f+44>>2]|0,d);return}}function bm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+2588564>>2]|0;if(!(Av(d,263068)|0)){b=d+76|0;a=c[b>>2]|0;if((a|0)==(c[d+72>>2]|0))Jn(d,268491,50336874,268507);f=a+-16|0;c[b>>2]=f;e=c[a+-16>>2]|0;b=c[a+-8>>2]|0;c[f>>2]=2;if(!(e&8))return;e=b+4|0;f=(c[e>>2]|0)+-1|0;c[e>>2]=f;if(f|0)return;go(c[d+44>>2]|0,b);return}if(!(Wq(d,0)|0)){b=d+76|0;a=c[b>>2]|0;if((a|0)==(c[d+72>>2]|0))Jn(d,268491,50336874,268507);e=a+-16|0;c[b>>2]=e;f=c[a+-16>>2]|0;b=c[a+-8>>2]|0;c[e>>2]=2;if(!(f&8))return;e=b+4|0;f=(c[e>>2]|0)+-1|0;c[e>>2]=f;if(f|0)return;go(c[d+44>>2]|0,b);return}else{a=c[a+2588588>>2]|0;f=c[a+4>>2]|0;a=c[a+36>>2]|0;b=nr(d)|0;Bg[f&255](a,b);b=d+76|0;a=c[b>>2]|0;if((a|0)==(c[d+72>>2]|0))Jn(d,268491,50336874,268507);e=a+-16|0;c[b>>2]=e;f=c[a+-16>>2]|0;b=c[a+-8>>2]|0;c[e>>2]=2;if(!(f&8))return;e=b+4|0;f=(c[e>>2]|0)+-1|0;c[e>>2]=f;if(f|0)return;go(c[d+44>>2]|0,b);return}}function cm(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;c[d>>2]=0;e=c[79949]|0;if(e|0){UM(e);c[79949]=0}g=zP(b,269025)|0;if(!g){n=0;return n|0}f=0;h=0;e=0;do{m=g+9|0;j=9;while(1){i=g+j|0;l=a[i>>0]|0;if(!(l<<24>>24)){g=i;break}i=l<<24>>24==95|(aO(l<<24>>24)|0)!=0;k=(i&1)+j|0;if(i)j=k;else{n=8;break}}if((n|0)==8){n=0;i=l<<24>>24==40?j:9;g=g+k|0;if((i|0)>9){if(!f)f=TM(8)|0;else f=VM(h,(c[d>>2]<<3)+8|0)|0;c[79949]=f;e=c[d>>2]|0;c[f+(e<<3)>>2]=m-b;c[f+(e<<3)+4>>2]=i+-9;c[d>>2]=(c[d>>2]|0)+1;e=f;h=f}}g=zP(g,269025)|0}while((g|0)!=0);return e|0}function dm(a){a=a|0;var b=0,d=0,e=0,f=0.0,g=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0.0,o=0,p=0,q=0;Bv(a);Du(a,-1,90292)|0;p=Nu(a,-1)|0;iq(a);q=a+76|0;d=c[q>>2]|0;m=a+72|0;b=c[m>>2]|0;o=(d|0)!=(b|0)?b:0;if((c[((o|0)==0?944:o)>>2]&-2|0)==2)o=334803;else{o=Ho(a,0)|0;b=c[m>>2]|0;d=c[q>>2]|0}l=d-b>>4>>>0>1?b+16|0:0;if((c[((l|0)==0?944:l)>>2]&-2|0)!=2){aq(a,1);d=c[q>>2]|0;b=c[m>>2]|0;e=d-b>>4>>>0>1?b+16|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==0?(f=+h[e+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0)l=2147483647;else l=~~f;else l=-2147483648;else l=0}else l=0;j=d-b>>4>>>0>2?b+32|0:0;if((c[((j|0)==0?944:j)>>2]&-2|0)!=2){aq(a,2);d=c[q>>2]|0;b=c[m>>2]|0;e=d-b>>4>>>0>2?b+32|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==0?(i=+h[e+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)j=2147483647;else j=~~i;else j=-2147483648;else j=0}else j=0;g=d-b>>4>>>0>3?b+48|0:0;if((c[((g|0)==0?944:g)>>2]&-2|0)!=2){aq(a,3);d=c[q>>2]|0;b=c[m>>2]|0;e=d-b>>4>>>0>3?b+48|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==0?(k=+h[e+8>>3],!((XO(k)|0)==0|k<-2147483648.0)):0)if(k>2147483647.0)g=-1;else g=~~k&255;else g=0}else g=15;e=d-b>>4>>>0>4?b+64|0:0;if((c[((e|0)==0?944:e)>>2]&-2|0)==2)e=0;else{e=(gq(a,4)|0)!=0;d=c[q>>2]|0;b=c[m>>2]|0}d=d-b>>4>>>0>5?b+80|0:0;if((c[((d|0)==0?944:d)>>2]&-2|0)!=2){aq(a,5);b=c[m>>2]|0;b=(c[q>>2]|0)-b>>4>>>0>5?b+80|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(n=+h[b+8>>3],(XO(n)|0)!=0):0)if(!(n<-2147483648.0))if(n>2147483647.0)b=2147483647;else b=~~n;else b=-2147483648;else b=0}else b=1;b=mg[c[p+2439668>>2]&7](p,o|0?o:287092,l,j,g,e,b)|0;d=c[q>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){c[q>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(b>>>0);return 1}else Sn(a,3902);return 0}function em(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0,i=0,j=0;Bv(a);Du(a,-1,90292)|0;g=Nu(a,-1)|0;iq(a);i=c[g+2439672>>2]|0;e=a+76|0;f=a+72|0;j=c[f>>2]|0;j=(c[e>>2]|0)!=(j|0)?j:0;if(((c[((j|0)==0?944:j)>>2]&-2|0)!=2?(aq(a,0),b=c[f>>2]|0,b=(c[e>>2]|0)!=(b|0)?b:0,b=(b|0)==0?944:b,(c[b>>2]|0)==0):0)?(d=+h[b+8>>3],!((XO(d)|0)==0|d<-2147483648.0)):0)if(d>2147483647.0)b=-1;else b=~~d&255;else b=0;Bg[i&255](g,b);return 0}function fm(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0,i=0,j=0,k=0.0,l=0;aq(a,0);l=a+76|0;j=a+72|0;b=c[j>>2]|0;b=(c[l>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(e=+h[b+8>>3],(XO(e)|0)!=0):0)if(!(e<-2147483648.0))if(e>2147483647.0)i=2147483647;else i=~~e;else i=-2147483648;else i=0;aq(a,1);b=c[j>>2]|0;b=(c[l>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0)d=2147483647;else d=~~f;else d=-2147483648;else d=0;Bv(a);Du(a,-1,90292)|0;g=Nu(a,-1)|0;iq(a);b=c[j>>2]|0;b=(c[l>>2]|0)-b>>4>>>0>2?b+32|0:0;if((c[((b|0)==0?944:b)>>2]&-2|0)==2){b=ig[c[g+2439680>>2]&63](g,i,d)|0;d=c[l>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);c[l>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(b&255);l=1;return l|0}aq(a,2);b=c[j>>2]|0;b=(c[l>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],!((XO(k)|0)==0|k<-2147483648.0)):0)if(k>2147483647.0)b=-1;else b=~~k&255;else b=0;Eg[c[g+2439676>>2]&63](g,i,d,b);l=0;return l|0}function gm(a){a=a|0;var b=0,d=0.0,e=0,f=0.0,g=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0.0;aq(a,0);m=a+76|0;n=a+72|0;b=c[n>>2]|0;b=(c[m>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)l=2147483647;else l=~~d;else l=-2147483648;else l=0;aq(a,1);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0)j=2147483647;else j=~~f;else j=-2147483648;else j=0;aq(a,2);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(i=+h[b+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)g=2147483647;else g=~~i;else g=-2147483648;else g=0;aq(a,3);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>3?b+48|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0)e=2147483647;else e=~~k;else e=-2147483648;else e=0;aq(a,4);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>4?b+64|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(o=+h[b+8>>3],!((XO(o)|0)==0|o<-2147483648.0)):0)if(o>2147483647.0)b=-1;else b=~~o&255;else b=0;Bv(a);Du(a,-1,90292)|0;n=Nu(a,-1)|0;iq(a);Gg[c[n+2439684>>2]&7](n,l,j,g,e,b);return 0}function hm(a){a=a|0;var b=0,d=0.0,e=0,f=0.0,g=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0.0;aq(a,0);m=a+76|0;n=a+72|0;b=c[n>>2]|0;b=(c[m>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)l=2147483647;else l=~~d;else l=-2147483648;else l=0;aq(a,1);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0)j=2147483647;else j=~~f;else j=-2147483648;else j=0;aq(a,2);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(i=+h[b+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)g=2147483647;else g=~~i;else g=-2147483648;else g=0;aq(a,3);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>3?b+48|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0)e=2147483647;else e=~~k;else e=-2147483648;else e=0;aq(a,4);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>4?b+64|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(o=+h[b+8>>3],!((XO(o)|0)==0|o<-2147483648.0)):0)if(o>2147483647.0)b=-1;else b=~~o&255;else b=0;Bv(a);Du(a,-1,90292)|0;n=Nu(a,-1)|0;iq(a);Gg[c[n+2439688>>2]&7](n,l,j,g,e,b);return 0}function im(a){a=a|0;var b=0,d=0.0,e=0,f=0.0,g=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0.0;aq(a,0);m=a+76|0;n=a+72|0;b=c[n>>2]|0;b=(c[m>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)l=2147483647;else l=~~d;else l=-2147483648;else l=0;aq(a,1);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0)j=2147483647;else j=~~f;else j=-2147483648;else j=0;aq(a,2);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(i=+h[b+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)g=2147483647;else g=~~i;else g=-2147483648;else g=0;aq(a,3);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>3?b+48|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0)e=2147483647;else e=~~k;else e=-2147483648;else e=0;aq(a,4);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>4?b+64|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(o=+h[b+8>>3],!((XO(o)|0)==0|o<-2147483648.0)):0)if(o>2147483647.0)b=-1;else b=~~o&255;else b=0;Bv(a);Du(a,-1,90292)|0;n=Nu(a,-1)|0;iq(a);Gg[c[n+2439692>>2]&7](n,l,j,g,e,b);return 0}function jm(b){b=b|0;var d=0,e=0.0,f=0,g=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0,v=0,w=0.0,x=0,y=0;x=b+76|0;f=c[x>>2]|0;y=b+72|0;d=c[y>>2]|0;v=(f|0)!=(d|0)?d:0;if((c[((v|0)==0?944:v)>>2]&-2|0)!=2){aq(b,0);f=c[x>>2]|0;d=c[y>>2]|0;g=(f|0)!=(d|0)?d:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(e=+h[g+8>>3],(XO(e)|0)!=0):0)if(!(e<-2147483648.0))if(e>2147483647.0)v=2147483647;else v=~~e;else v=-2147483648;else v=0}else v=0;u=f-d>>4>>>0>1?d+16|0:0;if((c[((u|0)==0?944:u)>>2]&-2|0)!=2){aq(b,1);f=c[x>>2]|0;d=c[y>>2]|0;g=f-d>>4>>>0>1?d+16|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(l=+h[g+8>>3],(XO(l)|0)!=0):0)if(!(l<-2147483648.0))if(l>2147483647.0)u=2147483647;else u=~~l;else u=-2147483648;else u=0}else u=0;s=f-d>>4>>>0>2?d+32|0:0;if((c[((s|0)==0?944:s)>>2]&-2|0)!=2){aq(b,2);f=c[x>>2]|0;d=c[y>>2]|0;g=f-d>>4>>>0>2?d+32|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(m=+h[g+8>>3],(XO(m)|0)!=0):0)if(!(m<-2147483648.0))if(m>2147483647.0)s=2147483647;else s=~~m;else s=-2147483648;else s=0}else s=0;d=f-d>>4>>>0>3?d+48|0:0;d=(d|0)==0?944:d;f=c[d>>2]|0;a:do if((f&-2|0)==2)j=0;else{if(((f|0)==9?(i=c[d+8>>2]|0,i|0):0)?(c[i>>2]&-134217728|0)==268435456:0){k=b+44|0;j=0;while(1){Zp(b,3,j)|0;i=c[x>>2]|0;g=c[y>>2]|0;f=i-g>>4;f=f|0?g+(f+-1<<4)|0:0;if((c[((f|0)==0?944:f)>>2]&-2|0)==2)break;aq(b,-1);f=c[y>>2]|0;d=(c[x>>2]|0)-f>>4;d=d|0?f+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(p=+h[d+8>>3],(XO(p)|0)!=0):0)if(!(p<-2147483648.0))if(p>2147483647.0)d=2147483647;else d=~~p;else d=-2147483648;else d=0;a[332665+j>>0]=d;f=j+1|0;d=c[x>>2]|0;if((d|0)==(c[y>>2]|0)){n=36;break}i=d+-16|0;c[x>>2]=i;j=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[i>>2]=2;if(j&8|0?(i=d+4|0,j=(c[i>>2]|0)+-1|0,c[i>>2]=j,(j|0)==0):0)go(c[k>>2]|0,d);if((f|0)<16)j=f;else{j=f;break a}}if((n|0)==36)Jn(b,268491,50336874,268507);if((i|0)==(g|0))Jn(b,268491,50336874,268507);g=i+-16|0;c[x>>2]=g;n=c[i+-16>>2]|0;d=c[i+-8>>2]|0;c[g>>2]=2;if(!(n&8))break;i=d+4|0;n=(c[i>>2]|0)+-1|0;c[i>>2]=n;if(n|0)break;go(c[k>>2]|0,d);break}aq(b,3);d=c[y>>2]|0;d=(c[x>>2]|0)-d>>4>>>0>3?d+48|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(o=+h[d+8>>3],(XO(o)|0)!=0):0)if(!(o<-2147483648.0))if(o>2147483647.0)d=2147483647;else d=~~o;else d=-2147483648;else d=0;a[332665]=d;j=1}while(0);f=c[x>>2]|0;d=c[y>>2]|0;n=f-d>>4>>>0>4?d+64|0:0;if((c[((n|0)==0?944:n)>>2]&-2|0)!=2){aq(b,4);g=c[x>>2]|0;d=c[y>>2]|0;f=g-d>>4>>>0>4?d+64|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(q=+h[f+8>>3],(XO(q)|0)!=0):0)if(!(q<-2147483648.0))if(q>2147483647.0){f=g;n=2147483647}else{f=g;n=~~q}else{f=g;n=-2147483648}else{f=g;n=0}}else n=1;k=f-d>>4>>>0>5?d+80|0:0;if((c[((k|0)==0?944:k)>>2]&-2|0)!=2){aq(b,5);g=c[x>>2]|0;d=c[y>>2]|0;f=g-d>>4>>>0>5?d+80|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(r=+h[f+8>>3],(XO(r)|0)!=0):0)if(!(r<-2147483648.0))if(r>2147483647.0){f=g;k=2147483647}else{f=g;k=~~r}else{f=g;k=-2147483648}else{f=g;k=0}}else k=0;i=f-d>>4>>>0>6?d+96|0:0;if((c[((i|0)==0?944:i)>>2]&-2|0)!=2){aq(b,6);g=c[x>>2]|0;d=c[y>>2]|0;f=g-d>>4>>>0>6?d+96|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(t=+h[f+8>>3],(XO(t)|0)!=0):0)if(!(t<-2147483648.0))if(t>2147483647.0){f=g;i=2147483647}else{f=g;i=~~t}else{f=g;i=-2147483648}else{f=g;i=0}}else i=0;g=f-d>>4>>>0>7?d+112|0:0;if((c[((g|0)==0?944:g)>>2]&-2|0)!=2){aq(b,7);g=c[x>>2]|0;d=c[y>>2]|0;f=g-d>>4>>>0>7?d+112|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(w=+h[f+8>>3],(XO(w)|0)!=0):0)if(!(w<-2147483648.0))if(w>2147483647.0){f=g;g=2147483647}else{f=g;g=~~w}else{f=g;g=-2147483648}else{f=g;g=0}}else g=1;f=f-d>>4>>>0>8?d+128|0:0;if((c[((f|0)==0?944:f)>>2]&-2|0)==2){y=1;Bv(b);Du(b,-1,90292)|0;x=Nu(b,-1)|0;iq(b);f=x+2439700|0;f=c[f>>2]|0;b=x+16384|0;Lg[f&1](x,b,v,u,s,g,y,332665,j,n,k,i);return 0}aq(b,8);d=c[y>>2]|0;d=(c[x>>2]|0)-d>>4>>>0>8?d+128|0:0;d=(d|0)==0?944:d;if(c[d>>2]|0){y=0;Bv(b);Du(b,-1,90292)|0;x=Nu(b,-1)|0;iq(b);f=x+2439700|0;f=c[f>>2]|0;b=x+16384|0;Lg[f&1](x,b,v,u,s,g,y,332665,j,n,k,i);return 0}e=+h[d+8>>3];if(!(XO(e)|0)){y=0;Bv(b);Du(b,-1,90292)|0;x=Nu(b,-1)|0;iq(b);f=x+2439700|0;f=c[f>>2]|0;b=x+16384|0;Lg[f&1](x,b,v,u,s,g,y,332665,j,n,k,i);return 0}if(e<-2147483648.0){y=-2147483648;Bv(b);Du(b,-1,90292)|0;x=Nu(b,-1)|0;iq(b);f=x+2439700|0;f=c[f>>2]|0;b=x+16384|0;Lg[f&1](x,b,v,u,s,g,y,332665,j,n,k,i);return 0}if(e>2147483647.0){y=2147483647;Bv(b);Du(b,-1,90292)|0;x=Nu(b,-1)|0;iq(b);f=x+2439700|0;f=c[f>>2]|0;b=x+16384|0;Lg[f&1](x,b,v,u,s,g,y,332665,j,n,k,i);return 0}y=~~e;Bv(b);Du(b,-1,90292)|0;x=Nu(b,-1)|0;iq(b);f=x+2439700|0;f=c[f>>2]|0;b=x+16384|0;Lg[f&1](x,b,v,u,s,g,y,332665,j,n,k,i);return 0}function km(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0,i=0;Bv(a);Du(a,-1,90292)|0;f=Nu(a,-1)|0;iq(a);g=a+76|0;b=c[g>>2]|0;d=a+72|0;i=c[d>>2]|0;i=(b|0)!=(i|0)?i:0;if((c[((i|0)==0?944:i)>>2]&-2|0)==2){if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);e=+((c[f+65408>>2]|0)>>>0);c[g>>2]=b+16;c[b>>2]=0;h[b+8>>3]=e;return 1}aq(a,0);i=c[g>>2]|0;b=c[d>>2]|0;b=(i|0)!=(b|0)?b:0;b=(b|0)==0?944:b;d=i;if((c[b>>2]|0)==0?(e=+h[b+8>>3],!((XO(e)|0)==0|e<-2147483648.0)):0)if(e>2147483647.0)b=31;else b=~~e&31;else b=0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3799);i=(1<>2]|0)!=0&1;c[g>>2]=d+16;c[d>>2]=4;c[d+8>>2]=i;return 1}function lm(a){a=a|0;var b=0,d=0,e=0,f=0.0,g=0.0,i=0.0,j=0,k=0.0,l=0,m=0,n=0;Bv(a);Du(a,-1,90292)|0;l=Nu(a,-1)|0;iq(a);m=a+76|0;b=c[m>>2]|0;j=a+72|0;e=c[j>>2]|0;d=e;n=(b|0)!=(d|0)?e:0;if((c[((n|0)==0?944:n)>>2]&-2|0)==2){b=jg[c[l+2439796>>2]&31](l,-1,-1,-1)|0;d=c[m>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);c[m>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(b>>>0);return 1}b=b-d>>4;n=b>>>0>1?e+16|0:0;if((c[((n|0)==0?944:n)>>2]&-2|0)==2?(n=b>>>0>2?e+32|0:0,(c[((n|0)==0?944:n)>>2]&-2|0)==2):0){aq(a,0);b=c[j>>2]|0;b=(c[m>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],!((XO(f)|0)==0|f<-2147483648.0)):0)if(f>2147483647.0)b=31;else b=~~f&31;else b=0;b=jg[c[l+2439796>>2]&31](l,b,-1,-1)|0;d=c[m>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3799);c[m>>2]=d+16;c[d>>2]=4;c[d+8>>2]=(b|0)!=0&1;return 1}aq(a,0);b=c[j>>2]|0;b=(c[m>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(g=+h[b+8>>3],!((XO(g)|0)==0|g<-2147483648.0)):0)if(g>2147483647.0)e=31;else e=~~g&31;else e=0;aq(a,1);b=c[j>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(i=+h[b+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)d=2147483647;else d=~~i;else d=-2147483648;else d=0;aq(a,2);b=c[j>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0)b=2147483647;else b=~~k;else b=-2147483648;else b=0;b=jg[c[l+2439796>>2]&31](l,e,d,b)|0;d=c[m>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3799);c[m>>2]=d+16;c[d>>2]=4;c[d+8>>2]=(b|0)!=0&1;return 1}function mm(a){a=a|0;var b=0,e=0,f=0,g=0,i=0.0,j=0,k=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0,r=0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+32|0;x=y+16|0;g=y+8|0;j=y;u=y+24|0;v=y+20|0;Bv(a);Du(a,-1,90292)|0;w=Nu(a,-1)|0;iq(a);r=a+76|0;e=c[r>>2]|0;s=a+72|0;f=c[s>>2]|0;q=(e|0)!=(f|0)?f:0;if((c[((q|0)==0?944:q)>>2]&-2|0)!=2){aq(a,0);e=c[r>>2]|0;f=c[s>>2]|0;b=(e|0)!=(f|0)?f:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(i=+h[b+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)q=2147483647;else q=~~i;else q=-2147483648;else q=0}else q=-1;c[u>>2]=-1;c[v>>2]=-1;if((q|0)>=64)Sq(a,1,90299,343,264045,g);do if((q|0)>-1){b=w+65764+(q*66|0)+60|0;b=d[b>>0]|d[b+1>>0]<<8;c[u>>2]=(b&65535)>>>8&15;c[v>>2]=b&7;b=((b<<9&65535)<<16>>16>>13&65535)<<24>>24;g=e-f>>4>>>0>1?f+16|0:0;g=c[((g|0)==0?944:g)>>2]|0;if((g&-2|0)!=2){if((g|0)==8)if(Ii(Ho(a,1)|0,u,v)|0){f=c[s>>2]|0;e=c[r>>2]|0;break}else Sq(a,1,90299,328,263994,j);aq(a,1);e=c[r>>2]|0;f=c[s>>2]|0;g=e-f>>4>>>0>1?f+16|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(k=+h[g+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0)g=2147483647;else g=~~k;else g=-2147483648;else g=0;c[u>>2]=(g|0)%12|0;c[v>>2]=(g|0)/12|0}}else b=8;while(0);m=e-f>>4>>>0>2?f+32|0:0;if((c[((m|0)==0?944:m)>>2]&-2|0)!=2){aq(a,2);e=c[r>>2]|0;f=c[s>>2]|0;g=e-f>>4>>>0>2?f+32|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(n=+h[g+8>>3],(XO(n)|0)!=0):0)if(!(n<-2147483648.0))if(n>2147483647.0)m=2147483647;else m=~~n;else m=-2147483648;else m=0}else m=-1;j=e-f>>4>>>0>3?f+48|0:0;if((c[((j|0)==0?944:j)>>2]&-2|0)!=2){aq(a,3);e=c[r>>2]|0;f=c[s>>2]|0;g=e-f>>4>>>0>3?f+48|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(o=+h[g+8>>3],(XO(o)|0)!=0):0)if(!(o<-2147483648.0))if(o>2147483647.0)j=2147483647;else j=~~o;else j=-2147483648;else j=0}else j=0;g=e-f>>4>>>0>4?f+64|0:0;if((c[((g|0)==0?944:g)>>2]&-2|0)!=2){aq(a,4);e=c[r>>2]|0;f=c[s>>2]|0;g=e-f>>4>>>0>4?f+64|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(p=+h[g+8>>3],!((XO(p)|0)==0|p<-2147483648.0)):0)if(p>2147483647.0)g=15;else g=~~p&15;else g=0}else g=15;f=e-f>>4>>>0>5?f+80|0:0;if((c[((f|0)==0?944:f)>>2]&-2|0)!=2){aq(a,5);b=c[s>>2]|0;b=(c[r>>2]|0)-b>>4>>>0>5?b+80|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(t=+h[b+8>>3],(XO(t)|0)!=0):0)if(!(t<-2147483648.0))if(t>2147483647.0)b=2147483647;else b=~~t;else b=-2147483648;else b=0}if(j>>>0<4){Bg[c[w+2439744>>2]&255](w,j);Ig[c[w+2439748>>2]&7](w,q,c[u>>2]|0,c[v>>2]|0,m,j,g,b);l=y;return 0}else Sq(a,1,90299,359,264028,x);return 0}function nm(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0,j=0.0,k=0,m=0.0,n=0,o=0.0,p=0,q=0.0,r=0,s=0.0,t=0,u=0.0,v=0.0,w=0,x=0,y=0,z=0,A=0;A=l;l=l+16|0;z=A;w=a+76|0;b=c[w>>2]|0;x=a+72|0;d=c[x>>2]|0;y=(b|0)!=(d|0)?d:0;if((c[((y|0)==0?944:y)>>2]&-2|0)!=2){aq(a,0);e=c[w>>2]|0;d=c[x>>2]|0;b=(e|0)!=(d|0)?d:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(g=+h[b+8>>3],(XO(g)|0)!=0):0)if(!(g<-2147483648.0))if(g>2147483647.0){y=2147483647;b=e}else{y=~~g;b=e}else{y=-2147483648;b=e}else{y=0;b=e}}else y=0;t=b-d>>4>>>0>1?d+16|0:0;if((c[((t|0)==0?944:t)>>2]&-2|0)!=2){aq(a,1);e=c[w>>2]|0;d=c[x>>2]|0;b=e-d>>4>>>0>1?d+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(j=+h[b+8>>3],(XO(j)|0)!=0):0)if(!(j<-2147483648.0))if(j>2147483647.0){t=2147483647;b=e}else{t=~~j;b=e}else{t=-2147483648;b=e}else{t=0;b=e}}else t=0;r=b-d>>4>>>0>2?d+32|0:0;if((c[((r|0)==0?944:r)>>2]&-2|0)!=2){aq(a,2);e=c[w>>2]|0;d=c[x>>2]|0;b=e-d>>4>>>0>2?d+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(m=+h[b+8>>3],(XO(m)|0)!=0):0)if(!(m<-2147483648.0))if(m>2147483647.0){r=2147483647;b=e}else{r=~~m;b=e}else{r=-2147483648;b=e}else{r=0;b=e}}else r=30;p=b-d>>4>>>0>3?d+48|0:0;if((c[((p|0)==0?944:p)>>2]&-2|0)!=2){aq(a,3);e=c[w>>2]|0;d=c[x>>2]|0;b=e-d>>4>>>0>3?d+48|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(o=+h[b+8>>3],(XO(o)|0)!=0):0)if(!(o<-2147483648.0))if(o>2147483647.0){b=e;p=2147483647}else{b=e;p=~~o}else{b=e;p=-2147483648}else{b=e;p=0}}else p=17;n=b-d>>4>>>0>4?d+64|0:0;if((c[((n|0)==0?944:n)>>2]&-2|0)!=2){aq(a,4);e=c[w>>2]|0;d=c[x>>2]|0;b=e-d>>4>>>0>4?d+64|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(q=+h[b+8>>3],(XO(q)|0)!=0):0)if(!(q<-2147483648.0))if(q>2147483647.0){b=e;n=2147483647}else{b=e;n=~~q}else{b=e;n=-2147483648}else{b=e;n=0}}else n=0;k=b-d>>4>>>0>5?d+80|0:0;if((c[((k|0)==0?944:k)>>2]&-2|0)!=2){aq(a,5);e=c[w>>2]|0;d=c[x>>2]|0;b=e-d>>4>>>0>5?d+80|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(s=+h[b+8>>3],(XO(s)|0)!=0):0)if(!(s<-2147483648.0))if(s>2147483647.0){b=e;k=2147483647}else{b=e;k=~~s}else{b=e;k=-2147483648}else{b=e;k=0}}else k=0;i=b-d>>4>>>0>6?d+96|0:0;if((c[((i|0)==0?944:i)>>2]&-2|0)!=2){aq(a,6);e=c[w>>2]|0;d=c[x>>2]|0;b=e-d>>4>>>0>6?d+96|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(u=+h[b+8>>3],!((XO(u)|0)==0|u<-2147483648.0)):0)if(u>2147483647.0){b=e;i=-1}else{b=e;i=~~u&255}else{b=e;i=0}}else i=-1;f=b-d>>4>>>0>7?d+112|0:0;if((c[((f|0)==0?944:f)>>2]&-2|0)!=2){aq(a,7);b=c[x>>2]|0;b=(c[w>>2]|0)-b>>4>>>0>7?b+112|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(v=+h[b+8>>3],(XO(v)|0)!=0):0)if(!(v<-2147483648.0))if(v>2147483647.0)f=2147483647;else f=~~v;else f=-2147483648;else f=0}else f=1;Bv(a);Du(a,-1,90292)|0;e=Nu(a,-1)|0;iq(a);b=c[x>>2]|0;b=(c[w>>2]|0)-b>>4>>>0>8?b+128|0:0;b=(b|0)==0?944:b;d=c[b>>2]|0;if((d&-2|0)==2){Kg[c[e+2439704>>2]&15](e,e+32768|0,e+16384|0,y,t,r,p,n,k,i,f);l=A;return 0}if(!(d&8))b=0;else b=c[b+8>>2]|0;c[z>>2]=a;c[z+4>>2]=b;w=c[e+2439708>>2]|0;Bv(a);Du(a,-1,90292)|0;x=Nu(a,-1)|0;iq(a);Mg[w&1](x,e+32768|0,e+16384|0,y,t,r,p,n,k,i,f,11,z);l=A;return 0}function om(a){a=a|0;var b=0,d=0,e=0,f=0.0,g=0,i=0,j=0.0,k=0;k=a+76|0;d=c[k>>2]|0;i=a+72|0;b=c[i>>2]|0;e=(d|0)!=(b|0)?b:0;if((c[((e|0)==0?944:e)>>2]&-2|0)!=2){aq(a,0);e=c[k>>2]|0;b=c[i>>2]|0;d=(e|0)!=(b|0)?b:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(f=+h[d+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0){d=e;e=2147483647}else{d=e;e=~~f}else{d=e;e=-2147483648}else{d=e;e=0}}else e=0;d=d-b>>4>>>0>1?b+16|0:0;if(((c[((d|0)==0?944:d)>>2]&-2|0)!=2?(aq(a,1),g=c[i>>2]|0,g=(c[k>>2]|0)-g>>4>>>0>1?g+16|0:0,g=(g|0)==0?944:g,(c[g>>2]|0)==0):0)?(j=+h[g+8>>3],(XO(j)|0)!=0):0)if(!(j<-2147483648.0))if(j>2147483647.0)b=2147483647;else b=~~j;else b=-2147483648;else b=0;Bv(a);Du(a,-1,90292)|0;d=Nu(a,-1)|0;iq(a);b=jg[c[d+2439716>>2]&31](d,d+32768|0,e,b)|0;d=c[k>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){c[k>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(b&255);return 1}else Sn(a,3902);return 0}function pm(a){a=a|0;var b=0,d=0,e=0,f=0.0,g=0,i=0.0,j=0,k=0,l=0,m=0.0;k=a+76|0;d=c[k>>2]|0;l=a+72|0;b=c[l>>2]|0;g=(d|0)!=(b|0)?b:0;if((c[((g|0)==0?944:g)>>2]&-2|0)!=2){aq(a,0);e=c[k>>2]|0;b=c[l>>2]|0;d=(e|0)!=(b|0)?b:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(f=+h[d+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0){d=e;g=2147483647}else{d=e;g=~~f}else{d=e;g=-2147483648}else{d=e;g=0}}else g=0;e=d-b>>4>>>0>1?b+16|0:0;if((c[((e|0)==0?944:e)>>2]&-2|0)!=2){aq(a,1);e=c[k>>2]|0;b=c[l>>2]|0;d=e-b>>4>>>0>1?b+16|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(i=+h[d+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0){d=e;e=2147483647}else{d=e;e=~~i}else{d=e;e=-2147483648}else{d=e;e=0}}else e=0;d=d-b>>4>>>0>2?b+32|0:0;if(((c[((d|0)==0?944:d)>>2]&-2|0)!=2?(aq(a,2),j=c[l>>2]|0,j=(c[k>>2]|0)-j>>4>>>0>2?j+32|0:0,j=(j|0)==0?944:j,(c[j>>2]|0)==0):0)?(m=+h[j+8>>3],!((XO(m)|0)==0|m<-2147483648.0)):0)if(m>2147483647.0)b=-1;else b=~~m&255;else b=0;Bv(a);Du(a,-1,90292)|0;l=Nu(a,-1)|0;iq(a);Fg[c[l+2439712>>2]&15](l,l+32768|0,g,e,b);return 1}function qm(a){a=a|0;var b=0,e=0.0,f=0,g=0,i=0;aq(a,0);i=a+76|0;b=c[a+72>>2]|0;b=(c[i>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;do if((c[b>>2]|0)==0?(e=+h[b+8>>3],(XO(e)|0)!=0):0)if(e<-2147483648.0|e>2147483647.0){i=0;return i|0}else{b=~~e;break}else b=0;while(0);if(!((b|0)>-1&b>>>0<81920)){i=0;return i|0}Bv(a);Du(a,-1,90292)|0;f=Nu(a,-1)|0;iq(a);g=c[i>>2]|0;if(g>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);e=+(d[f+b>>0]|0);c[i>>2]=g+16;c[g>>2]=0;h[g+8>>3]=e;i=1;return i|0}function rm(b){b=b|0;var d=0,e=0.0,f=0,g=0,i=0,j=0.0;aq(b,0);g=b+76|0;i=b+72|0;d=c[i>>2]|0;d=(c[g>>2]|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(e=+h[d+8>>3],(XO(e)|0)!=0):0)if(!(e<-2147483648.0))if(e>2147483647.0)f=2147483647;else f=~~e;else f=-2147483648;else f=0;aq(b,1);d=c[i>>2]|0;d=(c[g>>2]|0)-d>>4>>>0>1?d+16|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(j=+h[d+8>>3],!((XO(j)|0)==0|j<-2147483648.0)):0)if(j>2147483647.0)d=-1;else d=~~j&255;else d=0;if(!((f|0)>-1&f>>>0<81920))return 0;Bv(b);Du(b,-1,90292)|0;i=Nu(b,-1)|0;iq(b);a[i+f>>0]=d;return 0}function sm(a){a=a|0;var b=0,e=0.0,f=0,g=0,i=0;aq(a,0);i=a+76|0;b=c[a+72>>2]|0;b=(c[i>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;do if((c[b>>2]|0)==0?(e=+h[b+8>>3],(XO(e)|0)!=0):0)if(e<-2147483648.0|e>2147483647.0){i=0;return i|0}else{b=~~e;break}else b=0;while(0);if(!((b|0)>-1&b>>>0<163840)){i=0;return i|0}Bv(a);Du(a,-1,90292)|0;f=Nu(a,-1)|0;iq(a);f=d[f+(b>>>1)>>0]|0;g=c[i>>2]|0;if(g>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);c[i>>2]=g+16;c[g>>2]=0;h[g+8>>3]=+((b&1|0?f>>>4:f&15)>>>0);i=1;return i|0}function tm(b){b=b|0;var e=0,f=0,g=0.0,i=0,j=0.0,k=0;aq(b,0);f=b+76|0;i=b+72|0;e=c[i>>2]|0;e=(c[f>>2]|0)!=(e|0)?e:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==0?(g=+h[e+8>>3],(XO(g)|0)!=0):0)if(!(g<-2147483648.0))if(g>2147483647.0)k=2147483647;else k=~~g;else k=-2147483648;else k=0;aq(b,1);e=c[i>>2]|0;e=(c[f>>2]|0)-e>>4>>>0>1?e+16|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==0?(j=+h[e+8>>3],(XO(j)|0)!=0):0)if(!(j<-2147483648.0))if(j>2147483647.0)f=2147483647;else f=~~j;else f=-2147483648;else f=0;if(!((k|0)>-1&k>>>0<163840))return 0;Bv(b);Du(b,-1,90292)|0;i=Nu(b,-1)|0;iq(b);i=i+(k>>>1)|0;e=d[i>>0]|0;if(!(k&1)){b=e&240;a[i>>0]=b;e=f&15;f=b}else{b=e&15;a[i>>0]=b;e=f<<4&4080;f=b}a[i>>0]=e|f;return 0}function um(a){a=a|0;var b=0,d=0.0,e=0,f=0.0,g=0,i=0,j=0,k=0.0;aq(a,0);i=a+76|0;j=a+72|0;b=c[j>>2]|0;b=(c[i>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)g=2147483647;else g=~~d;else g=-2147483648;else g=0;aq(a,1);b=c[j>>2]|0;b=(c[i>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0)e=2147483647;else e=~~f;else e=-2147483648;else e=0;aq(a,2);b=c[j>>2]|0;b=(c[i>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0)b=2147483647;else b=~~k;else b=-2147483648;else b=0;j=81920-b|0;if((e|0)>(j|0)|((g|0)>(j|0)|(b>>>0>81920|(e|g|b|0)<0)))return 0;Bv(a);Du(a,-1,90292)|0;j=Nu(a,-1)|0;iq(a);CQ(j+g|0,j+e|0,b|0)|0;return 0}function vm(a){a=a|0;var b=0,d=0.0,e=0,f=0.0,g=0,i=0,j=0,k=0.0;aq(a,0);i=a+76|0;j=a+72|0;b=c[j>>2]|0;b=(c[i>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)g=2147483647;else g=~~d;else g=-2147483648;else g=0;aq(a,1);b=c[j>>2]|0;b=(c[i>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],!((XO(f)|0)==0|f<-2147483648.0)):0)if(f>2147483647.0)e=-1;else e=~~f&255;else e=0;aq(a,2);b=c[j>>2]|0;b=(c[i>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0)b=2147483647;else b=~~k;else b=-2147483648;else b=0;if((g|0)>(81920-b|0)|(b>>>0>81920|(b|g|0)<0))return 0;Bv(a);Du(a,-1,90292)|0;j=Nu(a,-1)|0;iq(a);EQ(j+g|0,e|0,b|0)|0;return 0}function wm(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0.0,j=0;Bv(a);Du(a,-1,90292)|0;j=Nu(a,-1)|0;iq(a);e=a+76|0;d=c[e>>2]|0;f=a+72|0;b=c[f>>2]|0;g=(d|0)!=(b|0)?b:0;if((c[((g|0)==0?944:g)>>2]&-2|0)==2)g=334803;else{g=Ho(a,0)|0;b=c[f>>2]|0;d=c[e>>2]|0}d=d-b>>4>>>0>1?b+16|0:0;if((c[((d|0)==0?944:d)>>2]&-2|0)!=2){aq(a,1);b=c[f>>2]|0;b=(c[e>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(i=+h[b+8>>3],!((XO(i)|0)==0|i<-2147483648.0)):0)if(i>2147483647.0)b=-1;else b=~~i&255;else b=0}else b=15;j=c[j+2588588>>2]|0;Dg[c[j>>2]&63](c[j+36>>2]|0,g|0?g:287092,b);return 0}function xm(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0,i=0,j=0,k=0,m=0,n=0.0,o=0,p=0;p=l;l=l+16|0;i=p;Bv(a);Du(a,-1,90292)|0;g=Nu(a,-1)|0;iq(a);aq(a,0);o=a+76|0;b=c[o>>2]|0;m=a+72|0;j=c[m>>2]|0;k=j;d=(b|0)!=(k|0)?j:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(e=+h[d+8>>3],(XO(e)|0)!=0):0){if(e<-2147483648.0|e>2147483647.0)Sq(a,1,90299,580,263742,i);d=~~e;if(d>>>0<256)f=d;else Sq(a,1,90299,580,263742,i)}else f=0;f=g+2439832+(f<<2)|0;g=c[f>>2]|0;k=b-k>>4>>>0>1?j+16|0:0;if((c[((k|0)==0?944:k)>>2]&-2|0)!=2){aq(a,1);b=c[o>>2]|0;d=c[m>>2]|0;d=b-d>>4>>>0>1?d+16|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(n=+h[d+8>>3],(XO(n)|0)!=0):0)if(!(n<-2147483648.0))if(n>2147483647.0)d=2147483647;else d=~~n;else d=-2147483648;else d=0;c[f>>2]=d}if(b>>>0<(c[a+68>>2]|0)>>>0){c[o>>2]=b+16;c[b>>2]=0;h[b+8>>3]=+(g|0);l=p;return 1}else Sn(a,3868);return 0}function ym(a){a=a|0;var b=0.0,d=0,e=0;Bv(a);Du(a,-1,90292)|0;d=Nu(a,-1)|0;iq(a);b=+eg[c[d+2439764>>2]&1](d);d=a+76|0;e=c[d>>2]|0;if(e>>>0<(c[a+68>>2]|0)>>>0){c[d>>2]=e+16;c[e>>2]=0;h[e+8>>3]=b;return 1}else Sn(a,3835);return 0}function zm(a){a=a|0;var b=0;Bv(a);Du(a,-1,90292)|0;b=Nu(a,-1)|0;iq(a);a=c[b+2588588>>2]|0;vg[c[a+8>>2]&511](c[a+36>>2]|0);return 0}function Am(b){b=b|0;var d=0,e=0.0,f=0,g=0.0,i=0,j=0,k=0,l=0,m=0.0,n=0.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;Bv(b);Du(b,-1,90292)|0;x=Nu(b,-1)|0;iq(b);v=Ho(b,0)|0;aq(b,1);z=b+76|0;k=b+72|0;d=c[k>>2]|0;d=(c[z>>2]|0)-d>>4>>>0>1?d+16|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(e=+h[d+8>>3],(XO(e)|0)!=0):0)if(!(e<-2147483648.0))if(e>2147483647.0)w=2147483647;else w=~~e;else w=-2147483648;else w=0;aq(b,2);d=c[k>>2]|0;d=(c[z>>2]|0)-d>>4>>>0>2?d+32|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(g=+h[d+8>>3],(XO(g)|0)!=0):0)if(!(g<-2147483648.0))if(g>2147483647.0)r=2147483647;else r=~~g;else r=-2147483648;else r=0;aq(b,3);d=c[z>>2]|0;f=c[k>>2]|0;j=d-f>>4;i=j>>>0>3?f+48|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)==0?(m=+h[i+8>>3],!((XO(m)|0)==0|m<-2147483648.0)):0)if(m>2147483647.0)u=-1;else u=~~m&255;else u=0;t=j>>>0>4?f+64|0:0;if((c[((t|0)==0?944:t)>>2]&-2|0)!=2){aq(b,4);i=c[z>>2]|0;f=c[k>>2]|0;d=i-f>>4>>>0>4?f+64|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(n=+h[d+8>>3],(XO(n)|0)!=0):0)if(!(n<-2147483648.0))if(n>2147483647.0){t=2147483647;d=i}else{t=~~n;d=i}else{t=-2147483648;d=i}else{t=0;d=i}}else t=8;p=d-f>>4>>>0>5?f+80|0:0;if((c[((p|0)==0?944:p)>>2]&-2|0)!=2){aq(b,5);i=c[z>>2]|0;f=c[k>>2]|0;d=i-f>>4>>>0>5?f+80|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(q=+h[d+8>>3],(XO(q)|0)!=0):0)if(!(q<-2147483648.0))if(q>2147483647.0){d=i;p=2147483647}else{d=i;p=~~q}else{d=i;p=-2147483648}else{d=i;p=0}}else p=8;o=d-f>>4>>>0>6?f+96|0:0;if((c[((o|0)==0?944:o)>>2]&-2|0)==2)o=3;else{o=(gq(b,6)|0)!=0;f=c[k>>2]|0;d=c[z>>2]|0;o=o?4:3}l=d-f>>4>>>0>7?f+112|0:0;do if((c[((l|0)==0?944:l)>>2]&-2|0)!=2){aq(b,7);f=c[z>>2]|0;d=c[k>>2]|0;d=f-d>>4>>>0>7?d+112|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(s=+h[d+8>>3],XO(s)|0):0){if(s<-2147483648.0){y=-2147483648;break}if(s>2147483647.0){y=2147483647;break}d=~~s;if(d|0){y=d;break}}if(f>>>0<(c[b+68>>2]|0)>>>0){s=0.0;b=f;y=b+16|0;c[z>>2]=y;c[b>>2]=0;z=b+8|0;h[z>>3]=s;return 1}else Sn(b,3868)}else y=1;while(0);k=O(y,p)|0;l=w;d=v;i=r;a:while(1){j=w;b:while(1){f=d+1|0;d=a[d>>0]|0;switch(d<<24>>24){case 0:break a;case 10:break b;default:{}}j=(ng[o&15](x,d,j,i,t,p,u,y)|0)+j|0;d=f}l=(j|0)>(l|0)?j:l;d=f;i=i+k|0}d=c[z>>2]|0;if(d>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3868);s=+(((j|0)>(l|0)?j:l)-w|0);b=d;y=b+16|0;c[z>>2]=y;c[b>>2]=0;z=b+8|0;h[z>>3]=s;return 1}function Bm(a){a=a|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0.0;Bv(a);Du(a,-1,90292)|0;l=Nu(a,-1)|0;iq(a);j=xo(a,48)|0;i=c[a+44>>2]|0;c[j>>2]=272679041;f=i+24|0;g=c[f>>2]|0;if(g|0)c[g+12>>2]=j;c[j+12>>2]=0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(d<-2147483648.0)return 0;if(!(d>2147483647.0)){b=~~d;if((b|0)<0)return 0;else i=b}else i=2147483647}else i=0;aq(a,0);b=c[l>>2]|0;b=(c[k>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(g=+h[b+8>>3],(XO(g)|0)!=0):0)if(!(g<-2147483648.0))if(g>2147483647.0)f=2147483647;else f=~~g;else f=-2147483648;else f=0;aq(a,1);b=c[l>>2]|0;b=(c[k>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(j=+h[b+8>>3],(XO(j)|0)!=0):0)if(!(j<-2147483648.0))if(j>2147483647.0)e=2147483647;else e=~~j;else e=-2147483648;else e=0;aq(a,3);b=c[l>>2]|0;b=(c[k>>2]|0)-b>>4>>>0>3?b+48|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(m=+h[b+8>>3],!((XO(m)|0)==0|m<-2147483648.0)):0)if(m>2147483647.0)b=-1;else b=~~m&255;else b=0;Bv(a);Du(a,-1,90292)|0;l=Nu(a,-1)|0;iq(a);Fg[c[l+2439720>>2]&15](l,f,e,i,b);return 0}function Dm(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0.0,i=0,j=0.0,k=0,l=0,m=0.0;aq(a,2);k=a+76|0;l=a+72|0;b=c[l>>2]|0;b=(c[k>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0){if(d<-2147483648.0)return 0;if(!(d>2147483647.0)){b=~~d;if((b|0)<0)return 0;else i=b}else i=2147483647}else i=0;aq(a,0);b=c[l>>2]|0;b=(c[k>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(g=+h[b+8>>3],(XO(g)|0)!=0):0)if(!(g<-2147483648.0))if(g>2147483647.0)f=2147483647;else f=~~g;else f=-2147483648;else f=0;aq(a,1);b=c[l>>2]|0;b=(c[k>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(j=+h[b+8>>3],(XO(j)|0)!=0):0)if(!(j<-2147483648.0))if(j>2147483647.0)e=2147483647;else e=~~j;else e=-2147483648;else e=0;aq(a,3);b=c[l>>2]|0;b=(c[k>>2]|0)-b>>4>>>0>3?b+48|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(m=+h[b+8>>3],!((XO(m)|0)==0|m<-2147483648.0)):0)if(m>2147483647.0)b=-1;else b=~~m&255;else b=0;Bv(a);Du(a,-1,90292)|0;l=Nu(a,-1)|0;iq(a);Fg[c[l+2439724>>2]&15](l,f,e,i,b);return 0}function Em(a){a=a|0;var b=0,d=0.0,e=0,f=0.0,g=0,i=0.0,j=0,k=0.0,l=0,m=0.0,n=0,o=0.0,p=0,q=0,r=0,s=0.0;aq(a,0);q=a+76|0;r=a+72|0;b=c[r>>2]|0;b=(c[q>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)p=2147483647;else p=~~d;else p=-2147483648;else p=0;aq(a,1);b=c[r>>2]|0;b=(c[q>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0)n=2147483647;else n=~~f;else n=-2147483648;else n=0;aq(a,2);b=c[r>>2]|0;b=(c[q>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(i=+h[b+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)l=2147483647;else l=~~i;else l=-2147483648;else l=0;aq(a,3);b=c[r>>2]|0;b=(c[q>>2]|0)-b>>4>>>0>3?b+48|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0)j=2147483647;else j=~~k;else j=-2147483648;else j=0;aq(a,4);b=c[r>>2]|0;b=(c[q>>2]|0)-b>>4>>>0>4?b+64|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(m=+h[b+8>>3],(XO(m)|0)!=0):0)if(!(m<-2147483648.0))if(m>2147483647.0)g=2147483647;else g=~~m;else g=-2147483648;else g=0;aq(a,5);b=c[r>>2]|0;b=(c[q>>2]|0)-b>>4>>>0>5?b+80|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(o=+h[b+8>>3],(XO(o)|0)!=0):0)if(!(o<-2147483648.0))if(o>2147483647.0)e=2147483647;else e=~~o;else e=-2147483648;else e=0;aq(a,6);b=c[r>>2]|0;b=(c[q>>2]|0)-b>>4>>>0>6?b+96|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(s=+h[b+8>>3],!((XO(s)|0)==0|s<-2147483648.0)):0)if(s>2147483647.0)b=-1;else b=~~s&255;else b=0;Bv(a);Du(a,-1,90292)|0;r=Nu(a,-1)|0;iq(a);Ig[c[r+2439728>>2]&7](r,p,n,l,j,g,e,b);return 0}function Fm(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=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.0,r=0,s=0.0,t=0.0,u=0,v=0,w=0;u=a+76|0;v=a+72|0;b=c[v>>2]|0;if((c[u>>2]|0)==(b|0))$n(a,267,0);e=+jo(a,b);d=c[v>>2]|0;r=c[d>>2]|0;p=d+8|0;b=c[p>>2]|0;c[d>>2]=0;h[p>>3]=e;if((r&8|0)!=0?(p=b+4|0,r=(c[p>>2]|0)+-1|0,c[p>>2]=r,(r|0)==0):0){go(c[a+44>>2]|0,b);d=c[v>>2]|0}if((c[u>>2]|0)-d>>4>>>0<=1)$n(a,267,1);f=+jo(a,d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=6)$n(a,267,6);l=+jo(a,b+96|0);d=c[v>>2]|0;p=d+96|0;w=c[p>>2]|0;r=d+104|0;b=c[r>>2]|0;c[p>>2]=0;h[r>>3]=l;if((w&8|0)!=0?(r=b+4|0,w=(c[r>>2]|0)+-1|0,c[r>>2]=w,(w|0)==0):0){go(c[a+44>>2]|0,b);d=c[v>>2]|0}if((c[u>>2]|0)-d>>4>>>0<=7)$n(a,267,7);m=+jo(a,d+112|0);d=c[v>>2]|0;p=d+112|0;w=c[p>>2]|0;r=d+120|0;b=c[r>>2]|0;c[p>>2]=0;h[r>>3]=m;if((w&8|0)!=0?(r=b+4|0,w=(c[r>>2]|0)+-1|0,c[r>>2]=w,(w|0)==0):0){go(c[a+44>>2]|0,b);d=c[v>>2]|0}if((c[u>>2]|0)-d>>4>>>0<=8)$n(a,267,8);n=+jo(a,d+128|0);d=c[v>>2]|0;p=d+128|0;w=c[p>>2]|0;r=d+136|0;b=c[r>>2]|0;c[p>>2]=0;h[r>>3]=n;if((w&8|0)!=0?(r=b+4|0,w=(c[r>>2]|0)+-1|0,c[r>>2]=w,(w|0)==0):0){go(c[a+44>>2]|0,b);d=c[v>>2]|0}if((c[u>>2]|0)-d>>4>>>0<=9)$n(a,267,9);o=+jo(a,d+144|0);d=c[v>>2]|0;p=d+144|0;w=c[p>>2]|0;r=d+152|0;b=c[r>>2]|0;c[p>>2]=0;h[r>>3]=o;do if(w&8){r=b+4|0;w=(c[r>>2]|0)+-1|0;c[r>>2]=w;if(w|0)break;go(c[a+44>>2]|0,b);d=c[v>>2]|0}while(0);t=o;if((c[u>>2]|0)-d>>4>>>0<=10)$n(a,267,10);o=+jo(a,d+160|0);d=c[v>>2]|0;p=d+160|0;w=c[p>>2]|0;r=d+168|0;b=c[r>>2]|0;c[p>>2]=0;h[r>>3]=o;do if(w&8){r=b+4|0;w=(c[r>>2]|0)+-1|0;c[r>>2]=w;if(w|0)break;go(c[a+44>>2]|0,b);d=c[v>>2]|0}while(0);s=o;if((c[u>>2]|0)-d>>4>>>0<=11)$n(a,267,11);o=+jo(a,d+176|0);r=c[v>>2]|0;p=r+176|0;w=c[p>>2]|0;r=r+184|0;b=c[r>>2]|0;c[p>>2]=0;h[r>>3]=o;do if(w&8|0){r=b+4|0;w=(c[r>>2]|0)+-1|0;c[r>>2]=w;if(w|0)break;go(c[a+44>>2]|0,b)}while(0);q=o;Bv(a);Du(a,-1,90292)|0;r=Nu(a,-1)|0;iq(a);d=c[u>>2]|0;b=c[v>>2]|0;w=d-b>>4>>>0>12?b+192|0:0;if((c[((w|0)==0?944:w)>>2]&-2|0)==2)p=0;else{p=(gq(a,12)|0)!=0;b=c[v>>2]|0;d=c[u>>2]|0}w=d-b>>4>>>0>13?b+208|0:0;if((c[((w|0)==0?944:w)>>2]&-2|0)==2){w=-1;v=r+2439732|0;v=c[v>>2]|0;Ag[v&1](r,e,f,g,i,j,k,l,m,n,t,s,q,p,w);return 0}aq(a,13);b=c[v>>2]|0;b=(c[u>>2]|0)-b>>4>>>0>13?b+208|0:0;b=(b|0)==0?944:b;if(c[b>>2]|0){w=0;v=r+2439732|0;v=c[v>>2]|0;Ag[v&1](r,e,f,g,i,j,k,l,m,n,t,s,q,p,w);return 0}o=+h[b+8>>3];if((XO(o)|0)==0|o<-2147483648.0){w=0;v=r+2439732|0;v=c[v>>2]|0;Ag[v&1](r,e,f,g,i,j,k,l,m,n,t,s,q,p,w);return 0}if(o>2147483647.0){w=-1;v=r+2439732|0;v=c[v>>2]|0;Ag[v&1](r,e,f,g,i,j,k,l,m,n,t,s,q,p,w);return 0}w=~~o&255;v=r+2439732|0;v=c[v>>2]|0;Ag[v&1](r,e,f,g,i,j,k,l,m,n,t,s,q,p,w);return 0}function Gm(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0.0;aq(a,0);m=a+76|0;n=a+72|0;b=c[n>>2]|0;b=(c[m>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)l=2147483647;else l=~~d;else l=-2147483648;else l=0;aq(a,1);b=c[m>>2]|0;e=c[n>>2]|0;g=b-e>>4;f=g>>>0>1?e+16|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(i=+h[f+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)j=2147483647;else j=~~i;else j=-2147483648;else j=0;g=g>>>0>2?e+32|0:0;if((c[((g|0)==0?944:g)>>2]&-2|0)!=2){aq(a,2);f=c[m>>2]|0;e=c[n>>2]|0;b=f-e>>4>>>0>2?e+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0){b=f;f=2147483647}else{b=f;f=~~k}else{b=f;f=-2147483648}else{b=f;f=0}}else f=240;g=b-e>>4>>>0>3?e+48|0:0;if((c[((g|0)==0?944:g)>>2]&-2|0)!=2){aq(a,3);b=c[n>>2]|0;b=(c[m>>2]|0)-b>>4>>>0>3?b+48|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(o=+h[b+8>>3],(XO(o)|0)!=0):0)if(!(o<-2147483648.0))if(o>2147483647.0)b=2147483647;else b=~~o;else b=-2147483648;else b=0}else b=136;Bv(a);Du(a,-1,90292)|0;n=Nu(a,-1)|0;iq(a);Fg[c[n+2439736>>2]&15](n,l,j,f,b);return 0}function Hm(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0.0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0;Bv(a);Du(a,-1,90292)|0;o=Nu(a,-1)|0;iq(a);j=a+76|0;k=a+72|0;m=c[k>>2]|0;m=(c[j>>2]|0)!=(m|0)?m:0;if((c[((m|0)==0?944:m)>>2]&-2|0)!=2){aq(a,0);b=c[k>>2]|0;b=(c[j>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)m=2147483647;else m=~~d;else m=-2147483648;else m=0}else m=-1;l=o+2439756|0;Fg[c[l>>2]&15](o,-1,0,0,0);if((m|0)<=-1)return 0;b=c[j>>2]|0;e=c[k>>2]|0;i=b-e>>4>>>0>1?e+16|0:0;if((c[((i|0)==0?944:i)>>2]&-2|0)!=2){aq(a,1);b=c[j>>2]|0;e=c[k>>2]|0;f=b-e>>4>>>0>1?e+16|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(g=+h[f+8>>3],(XO(g)|0)!=0):0)if(!(g<-2147483648.0))if(g>2147483647.0)i=2147483647;else i=~~g;else i=-2147483648;else i=0}else i=-1;f=b-e>>4>>>0>2?e+32|0:0;if((c[((f|0)==0?944:f)>>2]&-2|0)!=2){aq(a,2);f=c[j>>2]|0;e=c[k>>2]|0;b=f-e>>4>>>0>2?e+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(n=+h[b+8>>3],(XO(n)|0)!=0):0)if(!(n<-2147483648.0))if(n>2147483647.0){b=f;f=2147483647}else{b=f;f=~~n}else{b=f;f=-2147483648}else{b=f;f=0}}else f=-1;k=b-e>>4>>>0>3?e+48|0:0;if((c[((k|0)==0?944:k)>>2]&-2|0)==2)b=1;else b=(gq(a,3)|0)!=0;Fg[c[l>>2]&15](o,m,i,f,b);return 0}function Im(a){a=a|0;var b=0,d=0,e=0,f=0.0,g=0,i=0,j=0,k=0.0,m=0,n=0,o=0;o=l;l=l+16|0;n=o;Bv(a);Du(a,-1,90292)|0;m=Nu(a,-1)|0;iq(a);g=a+76|0;b=c[g>>2]|0;i=a+72|0;d=c[i>>2]|0;j=(b|0)!=(d|0)?d:0;if((c[((j|0)==0?944:j)>>2]&-2|0)!=2){aq(a,0);b=c[g>>2]|0;d=c[i>>2]|0;e=(b|0)!=(d|0)?d:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==0?(f=+h[e+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0))if(f>2147483647.0)j=2147483647;else j=~~f;else j=-2147483648;else j=0}else j=0;e=b-d>>4>>>0>1?d+16|0:0;if((c[((e|0)==0?944:e)>>2]&-2|0)!=2){aq(a,1);e=c[g>>2]|0;d=c[i>>2]|0;b=e-d>>4>>>0>1?d+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(k=+h[b+8>>3],(XO(k)|0)!=0):0)if(!(k<-2147483648.0))if(k>2147483647.0){b=e;e=2147483647}else{b=e;e=~~k}else{b=e;e=-2147483648}else{b=e;e=0}}else e=0;i=b-d>>4>>>0>2?d+32|0:0;if((c[((i|0)==0?944:i)>>2]&-2|0)==2)b=0;else b=gq(a,2)|0;if(e>>>0<8){Eg[c[m+2439792>>2]&63](m,j,e,(b|0)!=0);l=o;return 0}else Sq(a,1,90299,765,263399,n);return 0}function Jm(b){b=b|0;var c=0;Bv(b);Du(b,-1,90292)|0;c=Nu(b,-1)|0;iq(b);a[c+2589368>>0]=0;return 0}function Km(a){a=a|0;var b=0,d=0,e=0,f=0.0,g=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;j=m;Bv(a);Du(a,-1,90292)|0;i=Nu(a,-1)|0;iq(a);k=a+76|0;e=a+72|0;d=c[e>>2]|0;d=(c[k>>2]|0)!=(d|0)?d:0;if((c[((d|0)==0?944:d)>>2]&-2|0)==2){b=hg[c[i+2439800>>2]&63](i,0)|0;d=c[k>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){j=d;a=b;a=a&1;i=j+16|0;c[k>>2]=i;c[j>>2]=4;k=j+8|0;c[k>>2]=a;l=m;return 1}else Sn(a,3799)}aq(a,0);b=c[e>>2]|0;b=(c[k>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(f=+h[b+8>>3],(XO(f)|0)!=0):0)if(!(f<-2147483648.0)){if(f>2147483647.0)Sq(a,1,90299,255,263301,j);b=~~f;if((b&255)>>>0<79)g=b;else Sq(a,1,90299,255,263301,j)}else g=-2147483648;else g=0;b=hg[c[i+2439800>>2]&63](i,g&255)|0;d=c[k>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){j=d;a=b;a=a&1;i=j+16|0;c[k>>2]=i;c[j>>2]=4;k=j+8|0;c[k>>2]=a;l=m;return 1}else Sn(a,3799);return 0}function Lm(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0,j=0.0,k=0,m=0.0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;i=q;Bv(a);Du(a,-1,90292)|0;n=Nu(a,-1)|0;iq(a);p=a+76|0;k=a+72|0;f=c[k>>2]|0;f=(c[p>>2]|0)!=(f|0)?f:0;if((c[((f|0)==0?944:f)>>2]&-2|0)==2){b=jg[c[n+2439804>>2]&31](n,0,-1,-1)|0;d=c[p>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){o=d;a=b;a=a&1;n=o+16|0;c[p>>2]=n;c[o>>2]=4;p=o+8|0;c[p>>2]=a;l=q;return 1}else Sn(a,3799)}aq(a,0);d=c[p>>2]|0;f=c[k>>2]|0;e=f;b=(d|0)!=(e|0)?f:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(g=+h[b+8>>3],!((XO(g)|0)==0|g<-2147483648.0)):0){if(g>2147483647.0)Sq(a,1,90299,278,263301,i);b=~~g;if((b&255)>>>0>78)Sq(a,1,90299,278,263301,i);else o=b&255}else o=0;b=d-e>>4;i=b>>>0>1?f+16|0:0;if((c[((i|0)==0?944:i)>>2]&-2|0)==2?(i=b>>>0>2?f+32|0:0,(c[((i|0)==0?944:i)>>2]&-2|0)==2):0){b=jg[c[n+2439804>>2]&31](n,o,-1,-1)|0;d=c[p>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){o=d;a=b;a=a&1;n=o+16|0;c[p>>2]=n;c[o>>2]=4;p=o+8|0;c[p>>2]=a;l=q;return 1}else Sn(a,3799)}aq(a,1);b=c[k>>2]|0;b=(c[p>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(j=+h[b+8>>3],(XO(j)|0)!=0):0)if(!(j<-2147483648.0))if(j>2147483647.0)d=2147483647;else d=~~j;else d=-2147483648;else d=0;aq(a,2);b=c[k>>2]|0;b=(c[p>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(m=+h[b+8>>3],(XO(m)|0)!=0):0)if(!(m<-2147483648.0))if(m>2147483647.0)b=2147483647;else b=~~m;else b=-2147483648;else b=0;b=jg[c[n+2439804>>2]&31](n,o,d,b)|0;d=c[p>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){o=d;a=b;a=a&1;n=o+16|0;c[p>>2]=n;c[o>>2]=4;p=o+8|0;c[p>>2]=a;l=q;return 1}else Sn(a,3799);return 0}function Mm(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|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,y=0,z=0.0;y=c[b>>2]|0;p=c[b+4>>2]|0;x=y+76|0;q=c[x>>2]|0;r=y+68|0;b=c[r>>2]|0;if(q>>>0>=b>>>0)Sn(y,4969);i=q+16|0;c[x>>2]=i;if(!p)k=i;else{b=c[p>>2]|0;if(!(b&16)){i=p+4|0;j=i;i=c[i>>2]|0}else{b=b&-49;c[p>>2]=b;j=p+4|0;i=(c[j>>2]|0)+-1|0;c[j>>2]=i;m=c[y+44>>2]|0;n=p+8|0;k=c[n>>2]|0;o=p+12|0;l=c[o>>2]|0;if(k|0)c[k+12>>2]=l;if(!l)c[m+32>>2]=k;else c[l+8>>2]=k;k=m+24|0;l=c[k>>2]|0;if(l|0)c[l+12>>2]=p;c[o>>2]=0;c[n>>2]=l;c[k>>2]=p}k=b&255;c[q>>2]=(k&3)==0?8:(k&3)==1?9:10;c[q+8>>2]=p;c[j>>2]=i+1;k=c[x>>2]|0;b=c[r>>2]|0}if(k>>>0>=b>>>0)Sn(y,3868);z=+(d[g>>0]|0);i=k+16|0;c[x>>2]=i;c[k>>2]=0;h[k+8>>3]=z;if(i>>>0>=b>>>0)Sn(y,3868);j=k+32|0;c[x>>2]=j;c[i>>2]=0;h[k+24>>3]=+(e|0);if(j>>>0>=b>>>0)Sn(y,3868);c[x>>2]=k+48;c[j>>2]=0;h[k+40>>3]=+(f|0);Wq(y,3)|0;l=y+72|0;f=c[l>>2]|0;b=(c[x>>2]|0)-f>>4;b=b|0?f+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if(((c[b>>2]|0)==9?(s=c[b+8>>2]|0,(s|0)!=0):0)?(c[s>>2]&-134217728|0)==268435456:0){Zp(y,-1,0)|0;aq(y,-1);j=c[x>>2]|0;i=c[l>>2]|0;b=j-i>>4;b=b|0?i+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(u=+h[b+8>>3],!((XO(u)|0)==0|u<-2147483648.0)):0)if(u>2147483647.0)b=-1;else b=~~u&255;else b=0;a[g>>0]=b;if((j|0)==(i|0))Jn(y,268491,50336874,268507);f=j+-16|0;c[x>>2]=f;s=c[j+-16>>2]|0;b=c[j+-8>>2]|0;c[f>>2]=2;if(s&8|0?(f=b+4|0,s=(c[f>>2]|0)+-1|0,c[f>>2]=s,(s|0)==0):0)go(c[y+44>>2]|0,b);Zp(y,-1,1)|0;aq(y,-1);i=c[x>>2]|0;j=c[l>>2]|0;b=i-j>>4;b=b|0?j+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(v=+h[b+8>>3],(XO(v)|0)!=0):0)if(!(v<-2147483648.0))if(v>2147483647.0)b=2147483647;else b=~~v;else b=-2147483648;else b=0;c[g+4>>2]=b;if((i|0)==(j|0))Jn(y,268491,50336874,268507);f=i+-16|0;c[x>>2]=f;s=c[i+-16>>2]|0;b=c[i+-8>>2]|0;c[f>>2]=2;if(s&8|0?(f=b+4|0,s=(c[f>>2]|0)+-1|0,c[f>>2]=s,(s|0)==0):0)go(c[y+44>>2]|0,b);Zp(y,-1,2)|0;aq(y,-1);k=c[x>>2]|0;b=c[l>>2]|0;i=k-b>>4;i=i|0?b+(i+-1<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)==0?(w=+h[i+8>>3],(XO(w)|0)!=0):0)if(!(w<-2147483648.0))if(w>2147483647.0)i=2147483647;else i=~~w;else i=-2147483648;else i=0;c[g+8>>2]=i;if((k|0)==(b|0))Jn(y,268491,50336874,268507);j=k+-16|0;c[x>>2]=j;g=c[k+-16>>2]|0;i=c[k+-8>>2]|0;c[j>>2]=2;if((g&8|0)!=0?(s=i+4|0,g=(c[s>>2]|0)+-1|0,c[s>>2]=g,(g|0)==0):0){go(c[y+44>>2]|0,i);j=c[x>>2]|0;b=c[l>>2]|0}}else{aq(y,-1);j=c[x>>2]|0;b=c[l>>2]|0;i=j-b>>4;i=i|0?b+(i+-1<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)==0?(t=+h[i+8>>3],!((XO(t)|0)==0|t<-2147483648.0)):0)if(t>2147483647.0)i=-1;else i=~~t&255;else i=0;a[g>>0]=i}if((j|0)==(b|0))Jn(y,268491,50336874,268507);g=j+-16|0;c[x>>2]=g;x=c[j+-16>>2]|0;b=c[j+-8>>2]|0;c[g>>2]=2;if(!(x&8))return;g=b+4|0;x=(c[g>>2]|0)+-1|0;c[g>>2]=x;if(x|0)return;go(c[y+44>>2]|0,b);return}function Nm(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,m=0,n=0,o=0;o=l;l=l+16|0;j=o;e=a+2588568|0;d=c[e>>2]|0;if(d|0){hx(c[(c[d+12>>2]|0)+136>>2]|0);c[e>>2]=0}d=fx(1,0)|0;if(d|0)c[(c[d+12>>2]|0)+132>>2]=380;c[e>>2]=d;Zx(d,282308,382);m=d+8|0;c[m>>2]=(c[m>>2]|0)+-16;Zx(d,263279,383);c[m>>2]=(c[m>>2]|0)+-16;Zx(d,281107,384);c[m>>2]=(c[m>>2]|0)+-16;Zx(d,287470,385);c[m>>2]=(c[m>>2]|0)+-16;Zx(d,263289,386);c[m>>2]=(c[m>>2]|0)+-16;Tm(a);m=c[e>>2]|0;i=m+16|0;d=c[c[i>>2]>>2]|0;k=m+8|0;e=c[k>>2]|0;f=d+16|0;if(e>>>0>>0){g=(d+8+4+(3-e)|0)>>>4;h=e;while(1){c[h+8>>2]=0;if(h>>>0>>0)h=h+16|0;else break}c[k>>2]=e+(g+1<<4)}c[k>>2]=f;h=JO(b)|0;c[j>>2]=b;c[j+4>>2]=h;if(!(Rv(m,7,j,b,0)|0)){f=(c[k>>2]|0)+-16|0;c[j>>2]=f;c[j+4>>2]=-1;f=mw(m,148,j,f-(c[m+28>>2]|0)|0,0)|0;e=(c[i>>2]|0)+4|0;d=c[k>>2]|0;if((c[e>>2]|0)>>>0>>0)c[e>>2]=d;if(!f){n=1;l=o;return n|0}}else d=c[k>>2]|0;f=c[a+2588588>>2]|0;e=c[f+4>>2]|0;f=c[f+36>>2]|0;switch(c[d+-8>>2]&15){case 4:{d=d+-16|0;n=18;break}case 3:{if((c[(c[m+12>>2]|0)+12>>2]|0)>0){Ew(m);d=c[k>>2]|0}d=d+-16|0;Jw(m,d);n=18;break}default:d=0}if((n|0)==18)d=(c[d>>2]|0)+16|0;Bg[e&255](f,d);n=0;l=o;return n|0}function Om(a){a=a|0;var b=0;a=a+2588568|0;b=c[a>>2]|0;if(!b)return;hx(c[(c[b+12>>2]|0)+136>>2]|0);c[a>>2]=0;return}function Pm(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;j=o;m=c[b+2588568>>2]|0;if(!m){l=o;return}k=m+12|0;g=c[k>>2]|0;e=c[g+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(i=f+16|0,(c[i>>2]|0)==2&(c[i+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break a}f=f+(e<<5)|0}}while(0);i=m+8|0;h=c[i>>2]|0;g=g+280+(((263055>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263055,e+16|0)|0){e=jx(m,263055,3)|0;c[g>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[i>>2]|0;c[i>>2]=h+16;wx(m,f,h,h);h=c[i>>2]|0;e=h+-16|0;if((e|0)!=316088?(c[h+-8>>2]&15|0)==6:0){c[j>>2]=e;c[j+4>>2]=0;if(!(mw(m,148,j,e-(c[m+28>>2]|0)|0,0)|0)){l=o;return}g=c[b+2588588>>2]|0;f=c[g+4>>2]|0;g=c[g+36>>2]|0;e=c[i>>2]|0;switch(c[e+-8>>2]&15){case 4:{e=e+-16|0;n=20;break}case 3:{if((c[(c[k>>2]|0)+12>>2]|0)>0){Ew(m);e=c[i>>2]|0}e=e+-16|0;Jw(m,e);n=20;break}default:e=0}if((n|0)==20)e=(c[e>>2]|0)+16|0;Bg[f&255](g,e);l=o;return}c[i>>2]=e;n=c[b+2588588>>2]|0;Bg[c[n+4>>2]&255](c[n+36>>2]|0,263244);l=o;return}function Qm(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;k=p;n=c[b+2588568>>2]|0;if(!n){l=p;return}m=n+12|0;h=c[m>>2]|0;f=c[h+40>>2]|0;a:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<<(d[f+7>>0]|0))+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(j=g+16|0,(c[j>>2]|0)==2&(c[j+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break a}g=g+(f<<5)|0}}while(0);j=n+8|0;i=c[j>>2]|0;h=h+280+(((263059>>>0)%127|0)<<2)|0;f=c[h>>2]|0;if(wN(263059,f+16|0)|0){f=jx(n,263059,8)|0;c[h>>2]=f}c[i>>2]=f;c[i+8>>2]=(a[f+4>>0]|64)&255;f=c[j>>2]|0;c[j>>2]=f+16;wx(n,g,f,f);f=c[j>>2]|0;g=f+-16|0;if((g|0)!=316088?(c[f+-8>>2]&15|0)==6:0){i=f;c[i>>2]=e;c[i+4>>2]=((e|0)<0)<<31>>31;c[f+8>>2]=19;c[j>>2]=f+16;c[k>>2]=g;c[k+4>>2]=0;if(!(mw(n,148,k,g-(c[n+28>>2]|0)|0,0)|0)){l=p;return}h=c[b+2588588>>2]|0;g=c[h+4>>2]|0;h=c[h+36>>2]|0;f=c[j>>2]|0;switch(c[f+-8>>2]&15){case 4:{f=f+-16|0;o=20;break}case 3:{if((c[(c[m>>2]|0)+12>>2]|0)>0){Ew(n);f=c[j>>2]|0}f=f+-16|0;Jw(n,f);o=20;break}default:f=0}if((o|0)==20)f=(c[f>>2]|0)+16|0;Bg[g&255](h,f);l=p;return}c[j>>2]=g;l=p;return}function Rm(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;j=o;m=c[b+2588568>>2]|0;if(!m){l=o;return}k=m+12|0;g=c[k>>2]|0;e=c[g+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(i=f+16|0,(c[i>>2]|0)==2&(c[i+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break a}f=f+(e<<5)|0}}while(0);i=m+8|0;h=c[i>>2]|0;g=g+280+(((263068>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263068,e+16|0)|0){e=jx(m,263068,3)|0;c[g>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[i>>2]|0;c[i>>2]=h+16;wx(m,f,h,h);h=c[i>>2]|0;e=h+-16|0;if((e|0)!=316088?(c[h+-8>>2]&15|0)==6:0){c[j>>2]=e;c[j+4>>2]=0;if(!(mw(m,148,j,e-(c[m+28>>2]|0)|0,0)|0)){l=o;return}g=c[b+2588588>>2]|0;f=c[g+4>>2]|0;g=c[g+36>>2]|0;e=c[i>>2]|0;switch(c[e+-8>>2]&15){case 4:{e=e+-16|0;n=20;break}case 3:{if((c[(c[k>>2]|0)+12>>2]|0)>0){Ew(m);e=c[i>>2]|0}e=e+-16|0;Jw(m,e);n=20;break}default:e=0}if((n|0)==20)e=(c[e>>2]|0)+16|0;Bg[f&255](g,e);l=o;return}c[i>>2]=e;l=o;return}function Sm(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;c[d>>2]=0;e=c[79950]|0;if(e|0){UM(e);c[79950]=0}f=zP(b,263234)|0;if(!f){n=0;return n|0}g=0;h=0;e=0;do{m=f+9|0;i=a[m>>0]|0;if(i<<24>>24){l=9;k=9;a:while(1){j=(aO(i<<24>>24)|0)!=0;o=i<<24>>24==58|(i<<24>>24==95|j);l=o?l:i<<24>>24==40?k:l;k=(o&1)+k|0;if(!j)switch(i<<24>>24){case 58:case 95:break;default:{n=9;break a}}j=f+k|0;i=a[j>>0]|0;if(!(i<<24>>24)){f=j;break}}if((n|0)==9){n=0;f=f+k|0}if((l|0)>9){if(!g)g=TM(8)|0;else g=VM(h,(c[d>>2]<<3)+8|0)|0;c[79950]=g;e=c[d>>2]|0;c[g+(e<<3)>>2]=m-b;c[g+(e<<3)+4>>2]=l+-9;c[d>>2]=(c[d>>2]|0)+1;e=g;h=g}}else f=m;f=zP(f,263234)|0}while((f|0)!=0);return e|0}function Tm(b){b=b|0;var d=0,e=0,f=0,g=0;d=b+2588568|0;e=(c[d>>2]|0)+8|0;f=c[e>>2]|0;c[f>>2]=b;c[f+8>>2]=2;c[e>>2]=(c[e>>2]|0)+16;Kv(c[d>>2]|0,263294);b=0;do{if((b+-3|0)>>>0<35){f=c[3716+(b<<2)>>2]|0;e=(c[d>>2]|0)+8|0;g=c[e>>2]|0;c[g>>2]=c[3868+(b<<2)>>2];c[g+8>>2]=22;c[e>>2]=(c[e>>2]|0)+16;Kv(c[d>>2]|0,f)}b=b+1|0}while((b|0)!=38);b=(c[d>>2]|0)+8|0;g=c[b>>2]|0;c[g>>2]=387;c[g+8>>2]=22;c[b>>2]=(c[b>>2]|0)+16;Kv(c[d>>2]|0,282350);b=(c[d>>2]|0)+8|0;g=c[b>>2]|0;c[g>>2]=388;c[g+8>>2]=22;c[b>>2]=(c[b>>2]|0)+16;Kv(c[d>>2]|0,282370);b=c[d>>2]|0;d=c[b+16>>2]|0;if(!(a[d+34>>0]&2)){g=b+84|0;c[g>>2]=156;g=b+96|0;c[g>>2]=1e8;g=b+100|0;c[g>>2]=1e8;g=b+108|0;a[g>>0]=8;return}c[b+20>>2]=c[d+20>>2];g=b+84|0;c[g>>2]=156;g=b+96|0;c[g>>2]=1e8;g=b+100|0;c[g>>2]=1e8;g=b+108|0;a[g>>0]=8;return}function Um(a){a=a|0;var b=0;b=l;l=l+16|0;Ix(a,264384,b);l=b;return 0}function Vm(a){a=a|0;var b=0;b=l;l=l+16|0;Ix(a,264356,b);l=b;return 0}function Wm(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;j=k;g=c[b+12>>2]|0;e=c[g+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(i=f+16|0,(c[i>>2]|0)==2&(c[i+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break a}f=f+(e<<5)|0}}while(0);i=b+8|0;h=c[i>>2]|0;g=g+280+(((263294>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[g>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[i>>2]|0;c[i>>2]=h+16;wx(b,f,h,h);h=c[i>>2]|0;f=h+-16|0;switch(c[h+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[i>>2]=f;e=c[e+2588588>>2]|0;f=c[e+12>>2]|0;if(!f){l=k;return}if(!(gg[f&511](c[e+36>>2]|0)|0)){l=k;return}Ix(b,264323,j);l=k;return}function Xm(e){e=e|0;var f=0,g=0,i=0.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;y=l;l=l+32|0;p=y+16|0;v=y;x=e+8|0;o=c[x>>2]|0;r=e+16|0;s=o-((c[c[r>>2]>>2]|0)+16)|0;t=s>>4;n=o;if((s|0)<=0){x=0;l=y;return x|0}q=e+12|0;m=c[q>>2]|0;f=c[m+40>>2]|0;a:do if((c[f+8>>2]|0)>>>0>1)k=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(u=g+16|0,(c[u>>2]|0)==2&(c[u+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){k=316088;break a}g=g+(f<<5)|0}k=g}while(0);g=m+280+(((263294>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(263294,f+16|0)|0){f=jx(e,263294,6)|0;c[g>>2]=f}c[o>>2]=f;c[n+8>>2]=(a[f+4>>0]|64)&255;n=c[x>>2]|0;c[x>>2]=n+16;wx(e,k,n,n);n=c[x>>2]|0;o=n+-16|0;switch(c[n+-8>>2]&15){case 7:{u=(c[o>>2]|0)+24|0;break}case 2:{u=c[o>>2]|0;break}default:u=0}c[x>>2]=o;m=c[q>>2]|0;f=c[m+40>>2]|0;b:do if((c[f+8>>2]|0)>>>0>1)k=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){k=316088;break b}g=g+(f<<5)|0}k=g}while(0);g=m+280+(((282447>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(282447,f+16|0)|0){f=jx(e,282447,8)|0;c[g>>2]=f}c[o>>2]=f;c[n+-8>>2]=(a[f+4>>0]|64)&255;f=c[x>>2]|0;c[x>>2]=f+16;wx(e,k,f,f);f=c[x>>2]|0;g=f+-16|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];f=c[x>>2]|0;g=f+16|0;c[x>>2]=g;k=c[c[r>>2]>>2]|0;k=k>>>0>>0?k+16|0:316088;c[g>>2]=c[k>>2];c[g+4>>2]=c[k+4>>2];c[g+8>>2]=c[k+8>>2];c[g+12>>2]=c[k+12>>2];g=c[x>>2]|0;c[x>>2]=g+16;g=g+-16|0;k=e+106|0;f=(b[k>>1]|0)+1<<16>>16;b[k>>1]=f;if((f&65535)>199){if(f<<16>>16==200)_v(e,279702,p);if((f&65535)>224)cw(e,6)}f=e+104|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;if(!(gw(e,g,1)|0))Ex(e);b[f>>1]=(b[f>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+-1<<16>>16;f=c[x>>2]|0;switch(c[f+-8>>2]&15){case 4:{g=f;f=f+-16|0;w=38;break}case 3:{if((c[(c[q>>2]|0)+12>>2]|0)>0){Ew(e);f=c[x>>2]|0}f=f+-16|0;Jw(e,f);g=c[x>>2]|0;w=38;break}default:q=0}if((w|0)==38){q=(c[f>>2]|0)+16|0;f=g}f=f+-32|0;c[x>>2]=f;if((s|0)>32){g=(c[c[r>>2]>>2]|0)+32|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)i=+h[g>>3];else do if((f|0)==19){e=g;i=+((c[e>>2]|0)>>>0)+4294967296.0*+(c[e+4>>2]|0)}else{if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,v)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0)){o=(c[v+8>>2]|0)==19;e=v;p=c[e>>2]|0;e=c[e+4>>2]|0;c[j>>2]=p;c[j+4>>2]=e;i=o?+(p>>>0)+4294967296.0*+(e|0):+h[j>>3];break}}i=0.0;break c}while(0);while(0);p=~~i;g=(c[c[r>>2]>>2]|0)+48|0;g=g>>>0<(c[x>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)i=+h[g>>3];else do if((f|0)==19){e=g;i=+((c[e>>2]|0)>>>0)+4294967296.0*+(c[e+4>>2]|0)}else{if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,v)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0)){n=(c[v+8>>2]|0)==19;e=v;o=c[e>>2]|0;e=c[e+4>>2]|0;c[j>>2]=o;c[j+4>>2]=e;i=n?+(o>>>0)+4294967296.0*+(e|0):+h[j>>3];break}}i=0.0;break d}while(0);while(0);f=~~i;if((t|0)!=3){k=(c[c[r>>2]>>2]|0)+64|0;k=k>>>0<(c[x>>2]|0)>>>0?k:316088;g=c[k+8>>2]|0;e:do if((g|0)==3)i=+h[k>>3];else do if((g|0)==19){e=k;i=+((c[e>>2]|0)>>>0)+4294967296.0*+(c[e+4>>2]|0)}else{if((g&15|0)==4){m=Iw((c[k>>2]|0)+16|0,v)|0;g=c[k>>2]|0;if((a[g+4>>0]|0)==4)g=d[g+7>>0]|0;else g=c[g+12>>2]|0;if((m|0)==(g+1|0)){n=(c[v+8>>2]|0)==19;e=v;o=c[e>>2]|0;e=c[e+4>>2]|0;c[j>>2]=o;c[j+4>>2]=e;i=n?+(o>>>0)+4294967296.0*+(e|0):+h[j>>3];break}}i=0.0;break e}while(0);while(0);g=(~~i|0)%16|0;if((s|0)>64){n=c[c[r>>2]>>2]|0;k=n+80|0;o=c[x>>2]|0;k=k>>>0>>0?k:316088;switch(c[k+8>>2]|0){case 0:{m=0;break}case 1:{m=(c[k>>2]|0)!=0;break}default:m=1}if((t|0)!=5){n=n+96|0;n=n>>>0>>0?n:316088;k=c[n+8>>2]|0;f:do if((k|0)==3)i=+h[n>>3];else g:do if((k|0)==19){v=n;i=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{do if((k&15|0)==4){o=Iw((c[n>>2]|0)+16|0,v)|0;k=c[n>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((o|0)!=(k+1|0))break;s=(c[v+8>>2]|0)==19;t=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=t;c[j+4>>2]=v;i=s?+(t>>>0)+4294967296.0*+(v|0):+h[j>>3];break g}while(0);i=0.0;break f}while(0);while(0);k=~~i;if(!k){f=0;g=0}else{n=p;w=95}}else{n=p;k=1;w=95}}else{n=p;k=1;m=0;w=95}}else{n=p;k=1;m=0;g=15;w=95}}else{n=0;k=1;m=0;g=15;f=0;w=95}if((w|0)==95){g=mg[c[u+2439668>>2]&7](u,q|0?q:287092,n,f,g&255,m,k)|0;f=g;g=((g|0)<0)<<31>>31}w=c[x>>2]|0;v=w;c[v>>2]=f;c[v+4>>2]=g;c[w+8>>2]=19;c[x>>2]=w+16;x=1;l=y;return x|0}function Ym(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+16|0;r=s;o=b+8|0;n=c[o>>2]|0;p=b+16|0;q=n-((c[c[p>>2]>>2]|0)+16)|0;k=c[b+12>>2]|0;f=c[k+40>>2]|0;m=n;a:do if((c[f+8>>2]|0)>>>0>1)i=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(i=g+16|0,(c[i>>2]|0)==2&(c[i+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){i=316088;break a}g=g+(f<<5)|0}i=g}while(0);g=k+280+(((263294>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[g>>2]=f}c[n>>2]=f;c[m+8>>2]=(a[f+4>>0]|64)&255;n=c[o>>2]|0;c[o>>2]=n+16;wx(b,i,n,n);n=c[o>>2]|0;f=n+-16|0;switch(c[n+-8>>2]&15){case 7:{b=(c[f>>2]|0)+24|0;break}case 2:{b=c[f>>2]|0;break}default:b=0}c[o>>2]=f;k=c[b+2439672>>2]|0;if((q|0)!=16){r=0;Bg[k&255](b,r);l=s;return 0}g=(c[c[p>>2]>>2]|0)+16|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){r=g;e=+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,r)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){p=(c[r+8>>2]|0)==19;q=c[r>>2]|0;r=c[r+4>>2]|0;c[j>>2]=q;c[j+4>>2]=r;e=p?+(q>>>0)+4294967296.0*+(r|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);r=~~e&255;Bg[k&255](b,r);l=s;return 0}function Zm(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+32|0;r=s;o=b+8|0;f=c[o>>2]|0;p=b+16|0;g=(c[c[p>>2]>>2]|0)+16|0;q=f-g|0;if((q|0)<=16){Ix(b,264285,s+16|0);r=0;l=s;return r|0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,r)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){k=(c[r+8>>2]|0)==19;n=r;m=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=m;c[j+4>>2]=n;e=k?+(m>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);n=~~e;g=(c[c[p>>2]>>2]|0)+32|0;g=g>>>0<(c[o>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,r)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[r+8>>2]|0)==19;m=r;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);m=~~e;i=c[b+12>>2]|0;f=c[i+40>>2]|0;c:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break c}g=g+(f<<5)|0}}while(0);k=c[o>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;f=c[o>>2]|0;c[o>>2]=f+16;wx(b,g,f,f);b=c[o>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{k=(c[f>>2]|0)+24|0;break}case 2:{k=c[f>>2]|0;break}default:k=0}c[o>>2]=f;if((q|0)==32){p=(ig[c[k+2439680>>2]&63](k,n,m)|0)&255;r=c[o>>2]|0;q=r;c[q>>2]=p;c[q+4>>2]=0;c[r+8>>2]=19;c[o>>2]=r+16;r=1;l=s;return r|0}g=(c[c[p>>2]>>2]|0)+48|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){r=g;e=+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,r)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){p=(c[r+8>>2]|0)==19;q=c[r>>2]|0;r=c[r+4>>2]|0;c[j>>2]=q;c[j+4>>2]=r;e=p?+(q>>>0)+4294967296.0*+(r|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);Eg[c[k+2439676>>2]&63](k,n,m,~~e&255);r=0;l=s;return r|0}function _m(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+32|0;m=s;r=b+8|0;f=c[r>>2]|0;k=b+16|0;g=(c[c[k>>2]>>2]|0)+16|0;if((f-g|0)!=80){Ix(b,264240,s+16|0);l=s;return 0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){q=g;e=+((c[q>>2]|0)>>>0)+4294967296.0*+(c[q+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){o=(c[m+8>>2]|0)==19;q=m;p=c[q>>2]|0;q=c[q+4>>2]|0;c[j>>2]=p;c[j+4>>2]=q;e=o?+(p>>>0)+4294967296.0*+(q|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);q=~~e;g=(c[c[k>>2]>>2]|0)+32|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){n=(c[m+8>>2]|0)==19;p=m;o=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=o;c[j+4>>2]=p;e=n?+(o>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);p=~~e;g=(c[c[k>>2]>>2]|0)+48|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;o=m;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;e=i?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);o=~~e;g=(c[c[k>>2]>>2]|0)+64|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;e=g?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);n=~~e;g=(c[c[k>>2]>>2]|0)+80|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;e:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break e}while(0);while(0);m=~~e;i=c[b+12>>2]|0;f=c[i+40>>2]|0;f:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break f}g=g+(f<<5)|0}}while(0);k=c[r>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[r>>2]|0;c[r>>2]=k+16;wx(b,g,k,k);b=c[r>>2]|0;g=b+-16|0;switch(c[b+-8>>2]&15){case 7:{f=(c[g>>2]|0)+24|0;break}case 2:{f=c[g>>2]|0;break}default:f=0}c[r>>2]=g;Gg[c[f+2439684>>2]&7](f,q,p,o,n,m&255);l=s;return 0}function $m(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+32|0;m=s;r=b+8|0;f=c[r>>2]|0;k=b+16|0;g=(c[c[k>>2]>>2]|0)+16|0;if((f-g|0)!=80){Ix(b,264199,s+16|0);l=s;return 0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){q=g;e=+((c[q>>2]|0)>>>0)+4294967296.0*+(c[q+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){o=(c[m+8>>2]|0)==19;q=m;p=c[q>>2]|0;q=c[q+4>>2]|0;c[j>>2]=p;c[j+4>>2]=q;e=o?+(p>>>0)+4294967296.0*+(q|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);q=~~e;g=(c[c[k>>2]>>2]|0)+32|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){n=(c[m+8>>2]|0)==19;p=m;o=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=o;c[j+4>>2]=p;e=n?+(o>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);p=~~e;g=(c[c[k>>2]>>2]|0)+48|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;o=m;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;e=i?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);o=~~e;g=(c[c[k>>2]>>2]|0)+64|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;e=g?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);n=~~e;g=(c[c[k>>2]>>2]|0)+80|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;e:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break e}while(0);while(0);m=~~e;i=c[b+12>>2]|0;f=c[i+40>>2]|0;f:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break f}g=g+(f<<5)|0}}while(0);k=c[r>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[r>>2]|0;c[r>>2]=k+16;wx(b,g,k,k);b=c[r>>2]|0;g=b+-16|0;switch(c[b+-8>>2]&15){case 7:{f=(c[g>>2]|0)+24|0;break}case 2:{f=c[g>>2]|0;break}default:f=0}c[r>>2]=g;Gg[c[f+2439688>>2]&7](f,q,p,o,n,m&255);l=s;return 0}function an(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+32|0;m=s;r=b+8|0;f=c[r>>2]|0;k=b+16|0;g=(c[c[k>>2]>>2]|0)+16|0;if((f-g|0)!=80){Ix(b,264157,s+16|0);l=s;return 0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){q=g;e=+((c[q>>2]|0)>>>0)+4294967296.0*+(c[q+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){o=(c[m+8>>2]|0)==19;q=m;p=c[q>>2]|0;q=c[q+4>>2]|0;c[j>>2]=p;c[j+4>>2]=q;e=o?+(p>>>0)+4294967296.0*+(q|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);q=~~e;g=(c[c[k>>2]>>2]|0)+32|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){n=(c[m+8>>2]|0)==19;p=m;o=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=o;c[j+4>>2]=p;e=n?+(o>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);p=~~e;g=(c[c[k>>2]>>2]|0)+48|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;o=m;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;e=i?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);o=~~e;g=(c[c[k>>2]>>2]|0)+64|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;e=g?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);n=~~e;g=(c[c[k>>2]>>2]|0)+80|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;e:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break e}while(0);while(0);m=~~e;i=c[b+12>>2]|0;f=c[i+40>>2]|0;f:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break f}g=g+(f<<5)|0}}while(0);k=c[r>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[r>>2]|0;c[r>>2]=k+16;wx(b,g,k,k);b=c[r>>2]|0;g=b+-16|0;switch(c[b+-8>>2]&15){case 7:{f=(c[g>>2]|0)+24|0;break}case 2:{f=c[g>>2]|0;break}default:f=0}c[r>>2]=g;Gg[c[f+2439692>>2]&7](f,q,p,o,n,m&255);l=s;return 0}function bn(b){b=b|0;var e=0.0,f=0,g=0,i=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,A=0;A=l;l=l+16|0;x=A;y=b+8|0;f=c[y>>2]|0;w=b+16|0;g=(c[c[w>>2]>>2]|0)+16|0;v=f-g|0;s=v>>4;if((v|0)>0){g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){u=g;e=+((c[u>>2]|0)>>>0)+4294967296.0*+(c[u+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){q=(c[x+8>>2]|0)==19;u=x;t=c[u>>2]|0;u=c[u+4>>2]|0;c[j>>2]=t;c[j+4>>2]=u;e=q?+(t>>>0)+4294967296.0*+(u|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);u=~~e;if((v|0)>32){g=(c[c[w>>2]>>2]|0)+32|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){t=g;e=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){p=(c[x+8>>2]|0)==19;t=x;q=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=q;c[j+4>>2]=t;e=p?+(q>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);n=~~e;g=(c[c[w>>2]>>2]|0)+48|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){t=g;e=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){p=(c[x+8>>2]|0)==19;t=x;q=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=q;c[j+4>>2]=t;e=p?+(q>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);o=~~e;if((s|0)!=3){i=c[c[w>>2]>>2]|0;f=i+64|0;k=c[y>>2]|0;g=f>>>0>>0;d:do if(!((f|0)==316088|g^1)?(c[i+72>>2]&15|0)==5:0){q=x+8|0;p=1;g=0;while(1){m=((p|0)<0)<<31>>31;f=i+64|0;f=c[(f>>>0>>0?f:316088)>>2]|0;i=lQ(p|0,m|0,-1,-1)|0;t=z;e:do if(t>>>0<0|((t|0)==0?i>>>0<(c[f+8>>2]|0)>>>0:0))f=(c[f+12>>2]|0)+(i<<4)|0;else{f=(c[f+16>>2]|0)+(((1<>0])+-1&p)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(t=f+16|0,(c[t>>2]|0)==(p|0)?(c[t+4>>2]|0)==(m|0):0):0)break;i=c[f+28>>2]|0;if(!i){f=316088;break e}f=f+(i<<5)|0}}while(0);c[k>>2]=c[f>>2];c[k+4>>2]=c[f+4>>2];c[k+8>>2]=c[f+8>>2];c[k+12>>2]=c[f+12>>2];k=c[y>>2]|0;f=k+16|0;c[y>>2]=f;i=c[k+8>>2]|0;if((i|0)!=3)if((i|0)!=19){if((i&15|0)!=4)break;m=Iw((c[k>>2]|0)+16|0,x)|0;f=c[k>>2]|0;if((a[f+4>>0]|0)==4)i=d[f+7>>0]|0;else i=c[f+12>>2]|0;f=c[y>>2]|0;if((m|0)!=(i+1|0))break}i=f+-16|0;f=c[f+-8>>2]|0;f:do if((f|0)==3)e=+h[i>>3];else g:do if((f|0)==19){t=i;e=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{do if((f&15|0)==4){k=Iw((c[i>>2]|0)+16|0,x)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)!=(f+1|0))break;k=(c[q>>2]|0)==19;t=x;m=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=m;c[j+4>>2]=t;e=k?+(m>>>0)+4294967296.0*+(t|0):+h[j>>3];break g}while(0);e=0.0;break f}while(0);while(0);a[332681+(p+-1)>>0]=~~e;g=g+1|0;k=(c[y>>2]|0)+-16|0;c[y>>2]=k;f=p+1|0;if((f|0)>=17){m=g;break d}p=f;i=c[c[w>>2]>>2]|0}c[y>>2]=f+-16;m=g}else r=74;while(0);if((r|0)==74){g=g?f:316088;f=c[g+8>>2]|0;h:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){t=g;e=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){q=(c[x+8>>2]|0)==19;t=x;r=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=r;c[j+4>>2]=t;e=q?+(r>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}e=0.0;break h}while(0);while(0);a[332681]=~~e;m=1}if((v|0)>64){g=(c[c[w>>2]>>2]|0)+80|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;i:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){t=g;e=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){q=(c[x+8>>2]|0)==19;t=x;r=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=r;c[j+4>>2]=t;e=q?+(r>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}e=0.0;break i}while(0);while(0);r=~~e;if((s|0)!=5){g=(c[c[w>>2]>>2]|0)+96|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;j:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){t=g;e=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){q=(c[x+8>>2]|0)==19;t=x;s=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=s;c[j+4>>2]=t;e=q?+(s>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}e=0.0;break j}while(0);while(0);s=~~e;if((v|0)>96){g=(c[c[w>>2]>>2]|0)+112|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;k:do if((f|0)==3)e=+h[g>>3];else l:do if((f|0)==19){t=g;e=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{do if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)!=(f+1|0))break;p=(c[x+8>>2]|0)==19;t=x;q=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=q;c[j+4>>2]=t;e=p?+(q>>>0)+4294967296.0*+(t|0):+h[j>>3];break l}while(0);e=0.0;break k}while(0);while(0);t=~~e;if((v|0)>128){g=(c[c[w>>2]>>2]|0)+128|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;m:do if((f|0)==3)e=+h[g>>3];else n:do if((f|0)==19){v=g;e=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{do if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)!=(f+1|0))break;p=(c[x+8>>2]|0)==19;v=x;q=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=q;c[j+4>>2]=v;e=p?+(q>>>0)+4294967296.0*+(v|0):+h[j>>3];break n}while(0);e=0.0;break m}while(0);while(0);p=~~e;g=(c[c[w>>2]>>2]|0)+144|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;o:do if((f|0)==3)e=+h[g>>3];else p:do if((f|0)==19){x=g;e=+((c[x>>2]|0)>>>0)+4294967296.0*+(c[x+4>>2]|0)}else{do if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)!=(f+1|0))break;v=(c[x+8>>2]|0)==19;w=c[x>>2]|0;x=c[x+4>>2]|0;c[j>>2]=w;c[j+4>>2]=x;e=v?+(w>>>0)+4294967296.0*+(x|0):+h[j>>3];break p}while(0);e=0.0;break o}while(0);while(0);q=~~e}else{q=1;p=1}}else{t=0;q=1;p=1}}else{t=0;s=0;q=1;p=1}}else{t=0;s=0;r=1;q=1;p=1}}else{t=0;s=0;r=1;q=1;p=1;m=0}}else{t=0;s=0;r=1;q=1;p=1;o=0;n=0;m=0}}else{u=0;t=0;s=0;r=1;q=1;p=1;o=0;n=0;m=0}i=c[b+12>>2]|0;f=c[i+40>>2]|0;q:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(x=g+16|0,(c[x>>2]|0)==2&(c[x+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break q}g=g+(f<<5)|0}}while(0);k=c[y>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;f=c[y>>2]|0;c[y>>2]=f+16;wx(b,g,f,f);b=c[y>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{b=(c[f>>2]|0)+24|0;c[y>>2]=f;x=b+2439700|0;x=c[x>>2]|0;y=b+16384|0;Lg[x&1](b,y,u,n,o,p,q,332681,m,r,s,t);l=A;return 0}case 2:{b=c[f>>2]|0;c[y>>2]=f;x=b+2439700|0;x=c[x>>2]|0;y=b+16384|0;Lg[x&1](b,y,u,n,o,p,q,332681,m,r,s,t);l=A;return 0}default:{b=0;c[y>>2]=f;x=b+2439700|0;x=c[x>>2]|0;y=b+16384|0;Lg[x&1](b,y,u,n,o,p,q,332681,m,r,s,t);l=A;return 0}}return 0}function cn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+32|0;m=p+16|0;o=p;i=c[b+12>>2]|0;f=c[i+40>>2]|0;a:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(n=g+16|0,(c[n>>2]|0)==2&(c[n+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break a}g=g+(f<<5)|0}}while(0);n=b+8|0;k=c[n>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;f=c[n>>2]|0;c[n>>2]=f+16;wx(b,g,f,f);f=c[n>>2]|0;g=f+-16|0;switch(c[f+-8>>2]&15){case 7:{k=(c[g>>2]|0)+24|0;break}case 2:{k=c[g>>2]|0;break}default:k=0}c[n>>2]=g;i=(c[c[b+16>>2]>>2]|0)+16|0;switch(g-i>>4|0){case 0:{o=g;c[o>>2]=c[k+65408>>2];c[o+4>>2]=0;c[f+-8>>2]=19;c[n>>2]=f;o=1;l=p;return o|0}case 1:{g=i>>>0>>0?i:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,o)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){b=(c[o+8>>2]|0)==19;m=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=m;c[j+4>>2]=o;e=b?+(m>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);o=c[n>>2]|0;c[o>>2]=(1<<(~~e&31)&c[k+65408>>2]|0)!=0&1;c[o+8>>2]=1;c[n>>2]=o+16;o=1;l=p;return o|0}default:{Ix(b,264129,m);o=0;l=p;return o|0}}return 0}function dn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;m=r+16|0;p=r;i=c[b+12>>2]|0;f=c[i+40>>2]|0;a:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(q=g+16|0,(c[q>>2]|0)==2&(c[q+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break a}g=g+(f<<5)|0}}while(0);q=b+8|0;k=c[q>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;o=c[q>>2]|0;c[q>>2]=o+16;wx(b,g,o,o);o=c[q>>2]|0;f=o+-16|0;switch(c[o+-8>>2]&15){case 7:{o=(c[f>>2]|0)+24|0;break}case 2:{o=c[f>>2]|0;break}default:o=0}c[q>>2]=f;n=b+16|0;g=(c[c[n>>2]>>2]|0)+16|0;switch(f-g>>4|0){case 0:{n=jg[c[o+2439796>>2]&31](o,-1,-1,-1)|0;p=c[q>>2]|0;o=p;c[o>>2]=n;c[o+4>>2]=0;c[p+8>>2]=19;c[q>>2]=p+16;q=1;l=r;return q|0}case 1:{g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,p)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){m=(c[p+8>>2]|0)==19;n=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=n;c[j+4>>2]=p;e=m?+(n>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);o=jg[c[o+2439796>>2]&31](o,~~e&31,-1,-1)|0;p=c[q>>2]|0;c[p>>2]=(o|0)!=0&1;c[p+8>>2]=1;c[q>>2]=p+16;q=1;l=r;return q|0}case 3:{g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,p)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){k=(c[p+8>>2]|0)==19;m=p;b=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=b;c[j+4>>2]=m;e=k?+(b>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);b=~~e&31;g=(c[c[n>>2]>>2]|0)+32|0;g=g>>>0<(c[q>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,p)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[p+8>>2]|0)==19;m=p;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);k=~~e;g=(c[c[n>>2]>>2]|0)+48|0;g=g>>>0<(c[q>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;e:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,p)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){m=(c[p+8>>2]|0)==19;n=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=n;c[j+4>>2]=p;e=m?+(n>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break e}while(0);while(0);o=jg[c[o+2439796>>2]&31](o,b,k,~~e)|0;p=c[q>>2]|0;c[p>>2]=(o|0)!=0&1;c[p+8>>2]=1;c[q>>2]=p+16;q=1;l=r;return q|0}default:{Ix(b,264084,m);q=0;l=r;return q|0}}return 0}function en(b){b=b|0;var e=0,f=0,g=0.0,i=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,A=0,B=0,C=0;C=l;l=l+64|0;o=C+32|0;z=C+24|0;r=C+16|0;y=C;A=C+48|0;B=C+44|0;v=b+8|0;n=c[v>>2]|0;w=b+16|0;s=n-((c[c[w>>2]>>2]|0)+16)|0;u=s>>4;m=n;if((s|0)<=0){Ix(b,264064,C+40|0);l=C;return 0}p=b+12|0;k=c[p>>2]|0;e=c[k+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)i=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(x=f+16|0,(c[x>>2]|0)==2&(c[x+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){i=316088;break a}f=f+(e<<5)|0}i=f}while(0);f=k+280+(((263294>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[f>>2]=e}c[n>>2]=e;c[m+8>>2]=(a[e+4>>0]|64)&255;x=c[v>>2]|0;c[v>>2]=x+16;wx(b,i,x,x);x=c[v>>2]|0;e=x+-16|0;switch(c[x+-8>>2]&15){case 7:{x=(c[e>>2]|0)+24|0;break}case 2:{x=c[e>>2]|0;break}default:x=0}c[v>>2]=e;c[A>>2]=-1;c[B>>2]=-1;f=(c[c[w>>2]>>2]|0)+16|0;f=f>>>0>>0?f:316088;e=c[f+8>>2]|0;b:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){t=f;g=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,y)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){m=(c[y+8>>2]|0)==19;t=y;n=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=n;c[j+4>>2]=t;g=m?+(n>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}g=0.0;break b}while(0);while(0);t=~~g;if((t|0)>=64){Ix(b,264045,o);l=C;return 0}if((t|0)>-1){e=x+65764+(t*66|0)+60|0;e=d[e>>0]|d[e+1>>0]<<8;c[A>>2]=(e&65535)>>>8&15;c[B>>2]=e&7;e=((e<<9&65535)<<16>>16>>13&65535)<<24>>24}else e=8;if((s|0)>16){i=c[c[w>>2]>>2]|0;k=i+32|0;f=c[v>>2]|0;k=k>>>0>>0?k:316088;m=c[k+8>>2]|0;if((m|0)!=19){if(((m&15)+-3|0)>>>0<2){switch(m&15){case 4:{f=k;q=39;break}case 3:{if((c[(c[p>>2]|0)+12>>2]|0)>0){Ew(b);i=c[c[w>>2]>>2]|0;f=c[v>>2]|0}q=i+32|0;f=q>>>0>>0?q:316088;Jw(b,f);q=39;break}default:f=0}if((q|0)==39)f=(c[f>>2]|0)+16|0;if(!(Ii(f,A,B)|0)){Ix(b,263994,r);l=C;return 0}}}else{r=c[k>>2]|0;c[A>>2]=(r|0)%12|0;c[B>>2]=(r|0)/12|0}if((s|0)>32){i=(c[c[w>>2]>>2]|0)+48|0;i=i>>>0<(c[v>>2]|0)>>>0?i:316088;f=c[i+8>>2]|0;c:do if((f|0)==3)g=+h[i>>3];else do if((f|0)==19){r=i;g=+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0)}else{if((f&15|0)==4){k=Iw((c[i>>2]|0)+16|0,y)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0)){p=(c[y+8>>2]|0)==19;r=y;q=c[r>>2]|0;r=c[r+4>>2]|0;c[j>>2]=q;c[j+4>>2]=r;g=p?+(q>>>0)+4294967296.0*+(r|0):+h[j>>3];break}}g=0.0;break c}while(0);while(0);k=~~g;if((u|0)!=3){i=(c[c[w>>2]>>2]|0)+64|0;i=i>>>0<(c[v>>2]|0)>>>0?i:316088;f=c[i+8>>2]|0;d:do if((f|0)==3)g=+h[i>>3];else do if((f|0)==19){r=i;g=+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[i>>2]|0)+16|0,y)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){p=(c[y+8>>2]|0)==19;r=y;q=c[r>>2]|0;r=c[r+4>>2]|0;c[j>>2]=q;c[j+4>>2]=r;g=p?+(q>>>0)+4294967296.0*+(r|0):+h[j>>3];break}}g=0.0;break d}while(0);while(0);i=~~g;if((s|0)>64){m=(c[c[w>>2]>>2]|0)+80|0;m=m>>>0<(c[v>>2]|0)>>>0?m:316088;f=c[m+8>>2]|0;e:do if((f|0)==3)g=+h[m>>3];else f:do if((f|0)==19){s=m;g=+((c[s>>2]|0)>>>0)+4294967296.0*+(c[s+4>>2]|0)}else{do if((f&15|0)==4){n=Iw((c[m>>2]|0)+16|0,y)|0;f=c[m>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((n|0)!=(f+1|0))break;q=(c[y+8>>2]|0)==19;s=y;r=c[s>>2]|0;s=c[s+4>>2]|0;c[j>>2]=r;c[j+4>>2]=s;g=q?+(r>>>0)+4294967296.0*+(s|0):+h[j>>3];break f}while(0);g=0.0;break e}while(0);while(0);f=~~g;if((u|0)!=5){m=(c[c[w>>2]>>2]|0)+96|0;m=m>>>0<(c[v>>2]|0)>>>0?m:316088;e=c[m+8>>2]|0;g:do if((e|0)==3)g=+h[m>>3];else h:do if((e|0)==19){y=m;g=+((c[y>>2]|0)>>>0)+4294967296.0*+(c[y+4>>2]|0)}else{do if((e&15|0)==4){n=Iw((c[m>>2]|0)+16|0,y)|0;e=c[m>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((n|0)!=(e+1|0))break;v=(c[y+8>>2]|0)==19;w=c[y>>2]|0;y=c[y+4>>2]|0;c[j>>2]=w;c[j+4>>2]=y;g=v?+(w>>>0)+4294967296.0*+(y|0):+h[j>>3];break h}while(0);g=0.0;break g}while(0);while(0);e=~~g}}else f=15;if(i>>>0>=4){Ix(b,264028,z);l=C;return 0}}else{i=0;f=15}}else{k=-1;i=0;f=15}}else{k=-1;i=0;f=15}Bg[c[x+2439744>>2]&255](x,i);Ig[c[x+2439748>>2]&7](x,t,c[A>>2]|0,c[B>>2]|0,k,i,f&15,e);l=C;return 0}function fn(b){b=b|0;var e=0,f=0,g=0,i=0,k=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,y=0,B=0,C=0,D=0,E=0.0;D=l;l=l+16|0;B=D;C=b+8|0;e=c[C>>2]|0;m=b+16|0;f=(c[c[m>>2]>>2]|0)+16|0;i=e-f|0;o=i>>4;if((i|0)>16){f=f>>>0>>0?f:316088;e=c[f+8>>2]|0;a:do if((e|0)==3)k=+h[f>>3];else do if((e|0)==19){y=f;k=+((c[y>>2]|0)>>>0)+4294967296.0*+(c[y+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,B)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){w=(c[B+8>>2]|0)==19;y=B;x=c[y>>2]|0;y=c[y+4>>2]|0;c[j>>2]=x;c[j+4>>2]=y;k=w?+(x>>>0)+4294967296.0*+(y|0):+h[j>>3];break}}k=0.0;break a}while(0);while(0);y=~~k;f=(c[c[m>>2]>>2]|0)+32|0;f=f>>>0<(c[C>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;b:do if((e|0)==3)k=+h[f>>3];else do if((e|0)==19){x=f;k=+((c[x>>2]|0)>>>0)+4294967296.0*+(c[x+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,B)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){v=(c[B+8>>2]|0)==19;x=B;w=c[x>>2]|0;x=c[x+4>>2]|0;c[j>>2]=w;c[j+4>>2]=x;k=v?+(w>>>0)+4294967296.0*+(x|0):+h[j>>3];break}}k=0.0;break b}while(0);while(0);x=~~k;if((i|0)>48){f=(c[c[m>>2]>>2]|0)+48|0;f=f>>>0<(c[C>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;c:do if((e|0)==3)k=+h[f>>3];else do if((e|0)==19){w=f;k=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,B)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){u=(c[B+8>>2]|0)==19;w=B;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;k=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}k=0.0;break c}while(0);while(0);w=~~k;f=(c[c[m>>2]>>2]|0)+64|0;f=f>>>0<(c[C>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;d:do if((e|0)==3)k=+h[f>>3];else do if((e|0)==19){v=f;k=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,B)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){t=(c[B+8>>2]|0)==19;v=B;u=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=u;c[j+4>>2]=v;k=t?+(u>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}k=0.0;break d}while(0);while(0);r=~~k;if((i|0)>80){f=(c[c[m>>2]>>2]|0)+80|0;f=f>>>0<(c[C>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;e:do if((e|0)==3)k=+h[f>>3];else do if((e|0)==19){v=f;k=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,B)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){t=(c[B+8>>2]|0)==19;v=B;u=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=u;c[j+4>>2]=v;k=t?+(u>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}k=0.0;break e}while(0);while(0);s=~~k;f=(c[c[m>>2]>>2]|0)+96|0;f=f>>>0<(c[C>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;f:do if((e|0)==3)k=+h[f>>3];else do if((e|0)==19){v=f;k=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,B)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){t=(c[B+8>>2]|0)==19;v=B;u=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=u;c[j+4>>2]=v;k=t?+(u>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}k=0.0;break f}while(0);while(0);t=~~k;if((o|0)!=6){f=(c[c[m>>2]>>2]|0)+112|0;f=f>>>0<(c[C>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;g:do if((e|0)==3)k=+h[f>>3];else do if((e|0)==19){v=f;k=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,B)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){g=(c[B+8>>2]|0)==19;v=B;u=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=u;c[j+4>>2]=v;k=g?+(u>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}k=0.0;break g}while(0);while(0);u=~~k&255;if((i|0)>112){f=(c[c[m>>2]>>2]|0)+128|0;f=f>>>0<(c[C>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;h:do if((e|0)==3)k=+h[f>>3];else i:do if((e|0)==19){v=f;k=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{do if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,B)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)!=(e+1|0))break;g=(c[B+8>>2]|0)==19;v=B;i=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=i;c[j+4>>2]=v;k=g?+(i>>>0)+4294967296.0*+(v|0):+h[j>>3];break i}while(0);k=0.0;break h}while(0);while(0);v=~~k;if(((o|0)!=8?(n=c[c[m>>2]>>2]|0,o=n+144|0,p=c[C>>2]|0,!(o>>>0>=p>>>0|(o|0)==316088)):0)?(c[n+152>>2]&15|0)==6:0){e=p+-16|0;if((e|0)!=316088?(c[p+-8>>2]&15|0)==0:0){c[C>>2]=e;e=-1;n=b+12|0}else{n=b+12|0;e=c[(c[(c[n>>2]|0)+40>>2]|0)+16>>2]|0;while(1){if((c[e+24>>2]|0)==19?(o=e+16|0,(c[o>>2]|0)==0&(c[o+4>>2]|0)==0):0){q=111;break}f=c[e+28>>2]|0;if(!f){e=316088;break}e=e+(f<<5)|0}c[p>>2]=c[e>>2];c[p+4>>2]=c[e+4>>2];c[p+8>>2]=c[e+8>>2];c[p+12>>2]=c[e+12>>2];e=c[C>>2]|0;c[C>>2]=e+16;f=c[e+8>>2]|0;do if((f|0)!=19){j:while(1){switch(f|0){case 3:{q=118;break j}case 19:{q=121;break j}default:{}}if((f&15|0)!=4){q=129;break}f=Iw((c[e>>2]|0)+16|0,B)|0;e=c[e>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((f|0)!=(e+1|0)){q=129;break}e=B;f=c[B+8>>2]|0}do if((q|0)==118){E=+h[e>>3];k=+A(+E);if(E!=k){q=129;break}if(!(k>=-9223372036854775808.0&k<9223372036854775808.0)){q=129;break}e=~~k>>>0;q=128}else if((q|0)==121){e=c[e>>2]|0;q=128}while(0);if((q|0)==128){q=130;break}else if((q|0)==129){c[C>>2]=(c[C>>2]|0)+-16;q=140;break}}else{e=c[e>>2]|0;q=130}while(0);do if((q|0)==130){m=(c[C>>2]|0)+-16|0;c[C>>2]=m;if(!e){q=140;break}i=((e|0)<0)<<31>>31;f=c[(c[n>>2]|0)+40>>2]|0;g=lQ(e|0,i|0,-1,-1)|0;p=z;k:do if(p>>>0<0|((p|0)==0?g>>>0<(c[f+8>>2]|0)>>>0:0))f=(c[f+12>>2]|0)+(g<<4)|0;else{f=(c[f+16>>2]|0)+(((1<>0])+-1&e)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(p=f+16|0,(c[p>>2]|0)==(e|0)?(c[p+4>>2]|0)==(i|0):0):0)break;g=c[f+28>>2]|0;if(!g){f=316088;break k}f=f+(g<<5)|0}}while(0);c[m>>2]=c[f>>2];c[m+4>>2]=c[f+4>>2];c[m+8>>2]=c[f+8>>2];c[m+12>>2]=c[f+12>>2];c[C>>2]=(c[C>>2]|0)+16;Nv(b,-1001e3,0,0)}while(0);if((q|0)==140){p=c[n>>2]|0;e=p+40|0;switch(c[p+48>>2]&63){case 4:{e=d[(c[e>>2]|0)+7>>0]|0;break}case 20:{e=c[(c[e>>2]|0)+12>>2]|0;break}case 7:{e=c[(c[e>>2]|0)+12>>2]|0;break}case 5:{e=qx(c[e>>2]|0)|0;break}default:e=0}e=e+1|0}Nv(b,-1001e3,e,((e|0)<0)<<31>>31)}c[B>>2]=b;m=B+4|0;c[m>>2]=e;g=c[n>>2]|0;e=c[g+40>>2]|0;l:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(p=f+16|0,(c[p>>2]|0)==2&(c[p+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break l}f=f+(e<<5)|0}}while(0);i=c[C>>2]|0;g=g+280+(((263294>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[g>>2]=e}c[i>>2]=e;c[i+8>>2]=(a[e+4>>0]|64)&255;p=c[C>>2]|0;c[C>>2]=p+16;wx(b,f,p,p);p=c[C>>2]|0;f=p+-16|0;switch(c[p+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[C>>2]=f;Mg[c[e+2439708>>2]&1](e,e+32768|0,e+16384|0,y,x,w,r,s,t,u,v,12,B);g=c[m>>2]|0;if((g|0)>-1){i=c[C>>2]|0;e=c[(c[(c[n>>2]|0)+40>>2]|0)+16>>2]|0;while(1){if((c[e+24>>2]|0)==19?(B=e+16|0,(c[B>>2]|0)==0&(c[B+4>>2]|0)==0):0){q=165;break}f=c[e+28>>2]|0;if(!f){e=316088;break}e=e+(f<<5)|0}c[i>>2]=c[e>>2];c[i+4>>2]=c[e+4>>2];c[i+8>>2]=c[e+8>>2];c[i+12>>2]=c[e+12>>2];c[C>>2]=(c[C>>2]|0)+16;x=((g|0)<0)<<31>>31;Nv(b,-1001e3,g,x);B=c[C>>2]|0;y=B;c[y>>2]=g;c[y+4>>2]=x;c[B+8>>2]=19;c[C>>2]=B+16;Nv(b,-1001e3,0,0)}l=D;return 0}}else v=1}else{v=1;u=-1}}else{v=1;u=-1;t=0;s=0}}else{w=30;v=1;u=-1;t=0;s=0;r=17}}else{y=0;x=0;w=30;v=1;u=-1;t=0;s=0;r=17}o=b+12|0;g=c[o>>2]|0;e=c[g+40>>2]|0;m:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(B=f+16|0,(c[B>>2]|0)==2&(c[B+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break m}f=f+(e<<5)|0}}while(0);i=c[C>>2]|0;g=g+280+(((263294>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[g>>2]=e}c[i>>2]=e;c[i+8>>2]=(a[e+4>>0]|64)&255;m=c[C>>2]|0;c[C>>2]=m+16;wx(b,f,m,m);m=c[C>>2]|0;n=m+-16|0;switch(c[m+-8>>2]&15){case 7:{p=(c[n>>2]|0)+24|0;break}case 2:{p=c[n>>2]|0;break}default:p=0}c[C>>2]=n;q=c[p+2439704>>2]|0;i=c[o>>2]|0;e=c[i+40>>2]|0;n:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(B=f+16|0,(c[B>>2]|0)==2&(c[B+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){g=316088;break n}f=f+(e<<5)|0}g=f}while(0);f=i+280+(((263294>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[f>>2]=e}c[n>>2]=e;c[m+-8>>2]=(a[e+4>>0]|64)&255;f=c[C>>2]|0;c[C>>2]=f+16;wx(b,g,f,f);b=c[C>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[C>>2]=f;Kg[q&15](e,p+32768|0,p+16384|0,y,x,w,r,s,t,u,v);l=D;return 0}function gn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+32|0;m=p;o=b+8|0;f=c[o>>2]|0;k=b+16|0;g=(c[c[k>>2]>>2]|0)+16|0;if((f-g|0)!=32){Ix(b,263967,p+16|0);o=0;l=p;return o|0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;e=g?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);n=~~e;g=(c[c[k>>2]>>2]|0)+32|0;g=g>>>0<(c[o>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);m=~~e;i=c[b+12>>2]|0;f=c[i+40>>2]|0;c:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break c}g=g+(f<<5)|0}}while(0);k=c[o>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[o>>2]|0;c[o>>2]=k+16;wx(b,g,k,k);b=c[o>>2]|0;g=b+-16|0;switch(c[b+-8>>2]&15){case 7:{f=(c[g>>2]|0)+24|0;break}case 2:{f=c[g>>2]|0;break}default:f=0}c[o>>2]=g;m=(jg[c[f+2439716>>2]&31](f,f+32768|0,n,m)|0)&255;b=c[o>>2]|0;n=b;c[n>>2]=m;c[n+4>>2]=0;c[b+8>>2]=19;c[o>>2]=b+16;o=1;l=p;return o|0}function hn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+32|0;m=q;p=b+8|0;f=c[p>>2]|0;k=b+16|0;g=(c[c[k>>2]>>2]|0)+16|0;if((f-g|0)!=48){Ix(b,263967,q+16|0);l=q;return 0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;o=m;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;e=i?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);o=~~e;g=(c[c[k>>2]>>2]|0)+32|0;g=g>>>0<(c[p>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;e=g?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);n=~~e;g=(c[c[k>>2]>>2]|0)+48|0;g=g>>>0<(c[p>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);m=~~e&255;i=c[b+12>>2]|0;f=c[i+40>>2]|0;d:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break d}g=g+(f<<5)|0}}while(0);k=c[p>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[p>>2]|0;c[p>>2]=k+16;wx(b,g,k,k);b=c[p>>2]|0;g=b+-16|0;switch(c[b+-8>>2]&15){case 7:{f=(c[g>>2]|0)+24|0;break}case 2:{f=c[g>>2]|0;break}default:f=0}c[p>>2]=g;Fg[c[f+2439712>>2]&15](f,f+32768|0,o,n,m);l=q;return 0}function jn(b){b=b|0;var e=0,f=0.0,g=0,i=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;n=o;i=c[b+12>>2]|0;e=c[i+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{g=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(m=g+16|0,(c[m>>2]|0)==2&(c[m+4>>2]|0)==0):0)break;e=c[g+28>>2]|0;if(!e){g=316088;break a}g=g+(e<<5)|0}}while(0);m=b+8|0;k=c[m>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;e=c[i>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[i>>2]=e}c[k>>2]=e;c[k+8>>2]=(a[e+4>>0]|64)&255;k=c[m>>2]|0;c[m>>2]=k+16;wx(b,g,k,k);k=c[m>>2]|0;e=k+-16|0;switch(c[k+-8>>2]&15){case 7:{k=(c[e>>2]|0)+24|0;break}case 2:{k=c[e>>2]|0;break}default:k=0}c[m>>2]=e;g=(c[c[b+16>>2]>>2]|0)+16|0;g=g>>>0>>0?g:316088;e=c[g+8>>2]|0;b:do if((e|0)==3)f=+h[g>>3];else do if((e|0)==19){n=g;f=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[g>>2]|0)+16|0,n)|0;e=c[g>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){i=(c[n+8>>2]|0)==19;b=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=b;c[j+4>>2]=n;f=i?+(b>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}f=0.0;break b}while(0);while(0);e=~~f;if(!((e|0)>-1&e>>>0<81920)){n=0;l=o;return n|0}n=c[m>>2]|0;b=n;c[b>>2]=d[k+e>>0];c[b+4>>2]=0;c[n+8>>2]=19;c[m>>2]=n+16;n=1;l=o;return n|0}function kn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;o=p;i=c[b+12>>2]|0;f=c[i+40>>2]|0;a:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(n=g+16|0,(c[n>>2]|0)==2&(c[n+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break a}g=g+(f<<5)|0}}while(0);m=b+8|0;k=c[m>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;n=c[m>>2]|0;c[m>>2]=n+16;wx(b,g,n,n);n=c[m>>2]|0;f=n+-16|0;switch(c[n+-8>>2]&15){case 7:{n=(c[f>>2]|0)+24|0;break}case 2:{n=c[f>>2]|0;break}default:n=0}c[m>>2]=f;b=b+16|0;g=(c[c[b>>2]>>2]|0)+16|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){k=g;e=+((c[k>>2]|0)>>>0)+4294967296.0*+(c[k+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,o)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[o+8>>2]|0)==19;k=o;i=c[k>>2]|0;k=c[k+4>>2]|0;c[j>>2]=i;c[j+4>>2]=k;e=g?+(i>>>0)+4294967296.0*+(k|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);k=~~e;g=(c[c[b>>2]>>2]|0)+32|0;g=g>>>0<(c[m>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,o)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){b=(c[o+8>>2]|0)==19;m=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=m;c[j+4>>2]=o;e=b?+(m>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);if(!((k|0)>-1&k>>>0<81920)){l=p;return 0}a[n+k>>0]=~~e;l=p;return 0}function ln(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;k=o;n=b+8|0;f=c[n>>2]|0;g=(c[c[b+16>>2]>>2]|0)+16|0;if((f-g|0)!=16){Ix(b,263934,o+16|0);n=0;l=o;return n|0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,k)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[k+8>>2]|0)==19;m=k;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);m=~~e;if(!((m|0)>-1&m>>>0<163840)){n=0;l=o;return n|0}i=c[b+12>>2]|0;f=c[i+40>>2]|0;b:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break b}g=g+(f<<5)|0}}while(0);k=c[n>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;i=c[n>>2]|0;c[n>>2]=i+16;wx(b,g,i,i);g=c[n>>2]|0;i=g+-16|0;switch(c[g+-8>>2]&15){case 7:{f=(c[i>>2]|0)+24|0;break}case 2:{f=c[i>>2]|0;break}default:f=0}c[n>>2]=i;k=d[f+(m>>>1)>>0]|0;b=i;c[b>>2]=m&1|0?k>>>4:k&15;c[b+4>>2]=0;c[g+-8>>2]=19;c[n>>2]=g;n=1;l=o;return n|0}function mn(b){b=b|0;var e=0,f=0,g=0.0,i=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+32|0;m=p;o=b+8|0;e=c[o>>2]|0;k=b+16|0;f=(c[c[k>>2]>>2]|0)+16|0;if((e-f|0)!=32){Ix(b,263895,p+16|0);l=p;return 0}f=f>>>0>>0?f:316088;e=c[f+8>>2]|0;a:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){n=f;g=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,m)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){f=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;g=f?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}g=0.0;break a}while(0);while(0);n=~~g;f=(c[c[k>>2]>>2]|0)+32|0;f=f>>>0<(c[o>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;b:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){m=f;g=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,m)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;g=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}g=0.0;break b}while(0);while(0);if(!((n|0)>-1&n>>>0<163840)){l=p;return 0}m=~~g;i=c[b+12>>2]|0;e=c[i+40>>2]|0;c:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(k=f+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break c}f=f+(e<<5)|0}}while(0);k=c[o>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;e=c[i>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[i>>2]=e}c[k>>2]=e;c[k+8>>2]=(a[e+4>>0]|64)&255;k=c[o>>2]|0;c[o>>2]=k+16;wx(b,f,k,k);b=c[o>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[o>>2]=f;i=e+(n>>>1)|0;e=d[i>>0]|0;if(!(n&1)){f=e&240;a[i>>0]=f;e=m&15}else{f=e&15;a[i>>0]=f;e=m<<4&4080}a[i>>0]=e|f;l=p;return 0}function nn(b){b=b|0;var e=0,f=0,g=0.0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;o=r+16|0;m=r;q=b+8|0;e=c[q>>2]|0;k=b+16|0;f=(c[c[k>>2]>>2]|0)+16|0;if((e-f|0)==48){f=f>>>0>>0?f:316088;e=c[f+8>>2]|0;a:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){p=f;g=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,m)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){i=(c[m+8>>2]|0)==19;p=m;n=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=n;c[j+4>>2]=p;g=i?+(n>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}g=0.0;break a}while(0);while(0);p=~~g;f=(c[c[k>>2]>>2]|0)+32|0;f=f>>>0<(c[q>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;b:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){n=f;g=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,m)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){f=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;g=f?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}g=0.0;break b}while(0);while(0);n=~~g;f=(c[c[k>>2]>>2]|0)+48|0;f=f>>>0<(c[q>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;c:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){m=f;g=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,m)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;g=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}g=0.0;break c}while(0);while(0);m=~~g;k=81920-m|0;if(!((n|0)>(k|0)|((p|0)>(k|0)|(m>>>0>81920|(n|p|m|0)<0)))){i=c[b+12>>2]|0;e=c[i+40>>2]|0;d:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(o=f+16|0,(c[o>>2]|0)==2&(c[o+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break d}f=f+(e<<5)|0}}while(0);k=c[q>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;e=c[i>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[i>>2]=e}c[k>>2]=e;c[k+8>>2]=(a[e+4>>0]|64)&255;o=c[q>>2]|0;c[q>>2]=o+16;wx(b,f,o,o);b=c[q>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[q>>2]=f;CQ(e+p|0,e+n|0,m|0)|0;l=r;return 0}}Ix(b,263856,o);l=r;return 0}function on(b){b=b|0;var e=0,f=0,g=0.0,i=0,k=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+32|0;p=s+16|0;n=s;r=b+8|0;e=c[r>>2]|0;k=b+16|0;f=(c[c[k>>2]>>2]|0)+16|0;if((e-f|0)==48){f=f>>>0>>0?f:316088;e=c[f+8>>2]|0;a:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){q=f;g=+((c[q>>2]|0)>>>0)+4294967296.0*+(c[q+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,n)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){i=(c[n+8>>2]|0)==19;q=n;o=c[q>>2]|0;q=c[q+4>>2]|0;c[j>>2]=o;c[j+4>>2]=q;g=i?+(o>>>0)+4294967296.0*+(q|0):+h[j>>3];break}}g=0.0;break a}while(0);while(0);q=~~g;f=(c[c[k>>2]>>2]|0)+32|0;f=f>>>0<(c[r>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;b:do if((e|0)==3)m=+h[f>>3];else{do if((e|0)==19){o=f;g=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,n)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){f=(c[n+8>>2]|0)==19;o=n;i=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=i;c[j+4>>2]=o;g=f?+(i>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}m=0.0;break b}while(0);m=g}while(0);f=(c[c[k>>2]>>2]|0)+48|0;f=f>>>0<(c[r>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;c:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){o=f;g=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,n)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){k=(c[n+8>>2]|0)==19;o=n;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;g=k?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}g=0.0;break c}while(0);while(0);o=~~g;if(!((q|0)>(81920-o|0)|(o>>>0>81920|(o|q|0)<0))){n=~~m&255;i=c[b+12>>2]|0;e=c[i+40>>2]|0;d:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(p=f+16|0,(c[p>>2]|0)==2&(c[p+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break d}f=f+(e<<5)|0}}while(0);k=c[r>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;e=c[i>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[i>>2]=e}c[k>>2]=e;c[k+8>>2]=(a[e+4>>0]|64)&255;p=c[r>>2]|0;c[r>>2]=p+16;wx(b,f,p,p);b=c[r>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[r>>2]=f;EQ(e+q|0,n|0,o|0)|0;l=s;return 0}}Ix(b,263817,p);l=s;return 0}function pn(e){e=e|0;var f=0,g=0.0,i=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;x=l;l=l+32|0;p=x+16|0;w=x;t=e+8|0;o=c[t>>2]|0;u=e+16|0;v=o-((c[c[u>>2]>>2]|0)+16)|0;q=e+12|0;m=c[q>>2]|0;f=c[m+40>>2]|0;n=o;a:do if((c[f+8>>2]|0)>>>0>1)k=(c[f+12>>2]|0)+16|0;else{i=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[i+24>>2]|0)==19?(r=i+16|0,(c[r>>2]|0)==2&(c[r+4>>2]|0)==0):0)break;f=c[i+28>>2]|0;if(!f){k=316088;break a}i=i+(f<<5)|0}k=i}while(0);i=m+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(e,263294,6)|0;c[i>>2]=f}c[o>>2]=f;c[n+8>>2]=(a[f+4>>0]|64)&255;n=c[t>>2]|0;c[t>>2]=n+16;wx(e,k,n,n);n=c[t>>2]|0;o=n+-16|0;switch(c[n+-8>>2]&15){case 7:{r=(c[o>>2]|0)+24|0;break}case 2:{r=c[o>>2]|0;break}default:r=0}c[t>>2]=o;if((v|0)<=0){l=x;return 0}m=c[q>>2]|0;f=c[m+40>>2]|0;b:do if((c[f+8>>2]|0)>>>0>1)k=(c[f+12>>2]|0)+16|0;else{i=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[i+24>>2]|0)==19?(k=i+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[i+28>>2]|0;if(!f){k=316088;break b}i=i+(f<<5)|0}k=i}while(0);i=m+280+(((282447>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(282447,f+16|0)|0){f=jx(e,282447,8)|0;c[i>>2]=f}c[o>>2]=f;c[n+-8>>2]=(a[f+4>>0]|64)&255;f=c[t>>2]|0;c[t>>2]=f+16;wx(e,k,f,f);f=c[t>>2]|0;i=f+-16|0;c[f>>2]=c[i>>2];c[f+4>>2]=c[i+4>>2];c[f+8>>2]=c[i+8>>2];c[f+12>>2]=c[i+12>>2];f=c[t>>2]|0;i=f+16|0;c[t>>2]=i;k=c[c[u>>2]>>2]|0;k=k>>>0>>0?k+16|0:316088;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];i=c[t>>2]|0;c[t>>2]=i+16;i=i+-16|0;k=e+106|0;f=(b[k>>1]|0)+1<<16>>16;b[k>>1]=f;if((f&65535)>199){if(f<<16>>16==200)_v(e,279702,p);if((f&65535)>224)cw(e,6)}f=e+104|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;if(!(gw(e,i,1)|0))Ex(e);b[f>>1]=(b[f>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+-1<<16>>16;f=c[t>>2]|0;switch(c[f+-8>>2]&15){case 4:{i=f;f=f+-16|0;s=38;break}case 3:{if((c[(c[q>>2]|0)+12>>2]|0)>0){Ew(e);f=c[t>>2]|0}f=f+-16|0;Jw(e,f);i=c[t>>2]|0;s=38;break}default:m=0}if((s|0)==38){m=(c[f>>2]|0)+16|0;f=i}f=f+-32|0;c[t>>2]=f;if((v|0)==16)f=15;else{i=(c[c[u>>2]>>2]|0)+32|0;i=i>>>0>>0?i:316088;f=c[i+8>>2]|0;c:do if((f|0)==3)g=+h[i>>3];else do if((f|0)==19){w=i;g=+((c[w>>2]|0)>>>0)+4294967296.0*+(c[w+4>>2]|0)}else{if((f&15|0)==4){k=Iw((c[i>>2]|0)+16|0,w)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0)){u=(c[w+8>>2]|0)==19;v=c[w>>2]|0;w=c[w+4>>2]|0;c[j>>2]=v;c[j+4>>2]=w;g=u?+(v>>>0)+4294967296.0*+(w|0):+h[j>>3];break}}g=0.0;break c}while(0);while(0);f=~~g&255}w=c[r+2588588>>2]|0;Dg[c[w>>2]&63](c[w+36>>2]|0,m|0?m:287092,f);l=x;return 0}function qn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+32|0;o=u+24|0;p=u+16|0;s=u;t=b+8|0;n=c[t>>2]|0;q=b+16|0;r=n-((c[c[q>>2]>>2]|0)+16)|0;k=c[b+12>>2]|0;f=c[k+40>>2]|0;m=n;a:do if((c[f+8>>2]|0)>>>0>1)i=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(i=g+16|0,(c[i>>2]|0)==2&(c[i+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){i=316088;break a}g=g+(f<<5)|0}i=g}while(0);g=k+280+(((263294>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[g>>2]=f}c[n>>2]=f;c[m+8>>2]=(a[f+4>>0]|64)&255;n=c[t>>2]|0;c[t>>2]=n+16;wx(b,i,n,n);n=c[t>>2]|0;f=n+-16|0;switch(c[n+-8>>2]&15){case 7:{k=(c[f>>2]|0)+24|0;break}case 2:{k=c[f>>2]|0;break}default:k=0}c[t>>2]=f;if((r|0)<=0){Ix(b,263775,o);t=0;l=u;return t|0}g=(c[c[q>>2]>>2]|0)+16|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,s)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){m=(c[s+8>>2]|0)==19;o=s;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;e=m?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);f=~~e;if(f>>>0>=256){Ix(b,263742,p);t=0;l=u;return t|0}k=k+2439832+(f<<2)|0;m=c[k>>2]|0;if((r|0)>16){g=(c[c[q>>2]>>2]|0)+32|0;g=g>>>0<(c[t>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){s=g;e=+((c[s>>2]|0)>>>0)+4294967296.0*+(c[s+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,s)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){q=(c[s+8>>2]|0)==19;r=c[s>>2]|0;s=c[s+4>>2]|0;c[j>>2]=r;c[j+4>>2]=s;e=q?+(r>>>0)+4294967296.0*+(s|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);c[k>>2]=~~e}s=c[t>>2]|0;r=s;c[r>>2]=m;c[r+4>>2]=((m|0)<0)<<31>>31;c[s+8>>2]=19;c[t>>2]=s+16;t=1;l=u;return t|0}function rn(b){b=b|0;var e=0,f=0,g=0,i=0,j=0,k=0.0;g=c[b+12>>2]|0;e=c[g+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(j=f+16|0,(c[j>>2]|0)==2&(c[j+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break a}f=f+(e<<5)|0}}while(0);j=b+8|0;i=c[j>>2]|0;g=g+280+(((263294>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[g>>2]=e}c[i>>2]=e;c[i+8>>2]=(a[e+4>>0]|64)&255;i=c[j>>2]|0;c[j>>2]=i+16;wx(b,f,i,i);b=c[j>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[j>>2]=f;k=+eg[c[e+2439764>>2]&1](e);b=c[j>>2]|0;h[b>>3]=k;c[b+8>>2]=3;c[j>>2]=b+16;return 1}function sn(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;g=c[b+12>>2]|0;e=c[g+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(i=f+16|0,(c[i>>2]|0)==2&(c[i+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break a}f=f+(e<<5)|0}}while(0);i=b+8|0;h=c[i>>2]|0;g=g+280+(((263294>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[g>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[i>>2]|0;c[i>>2]=h+16;wx(b,f,h,h);b=c[i>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[i>>2]=f;b=c[e+2588588>>2]|0;vg[c[b+8>>2]&511](c[b+36>>2]|0);return 0}function tn(e){e=e|0;var f=0,g=0,i=0.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,A=0,B=0;B=l;l=l+32|0;p=B+16|0;x=B;q=e+12|0;k=c[q>>2]|0;f=c[k+40>>2]|0;a:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(A=g+16|0,(c[A>>2]|0)==2&(c[A+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break a}g=g+(f<<5)|0}}while(0);A=e+8|0;m=c[A>>2]|0;k=k+280+(((263294>>>0)%127|0)<<2)|0;f=c[k>>2]|0;if(wN(263294,f+16|0)|0){f=jx(e,263294,6)|0;c[k>>2]=f}c[m>>2]=f;c[m+8>>2]=(a[f+4>>0]|64)&255;n=c[A>>2]|0;c[A>>2]=n+16;wx(e,g,n,n);n=c[A>>2]|0;o=n+-16|0;switch(c[n+-8>>2]&15){case 7:{y=(c[o>>2]|0)+24|0;break}case 2:{y=c[o>>2]|0;break}default:y=0}c[A>>2]=o;u=e+16|0;w=o-((c[c[u>>2]>>2]|0)+16)|0;v=w>>4;if((w|0)<=0){A=0;l=B;return A|0}m=c[q>>2]|0;f=c[m+40>>2]|0;b:do if((c[f+8>>2]|0)>>>0>1)k=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(t=g+16|0,(c[t>>2]|0)==2&(c[t+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){k=316088;break b}g=g+(f<<5)|0}k=g}while(0);g=m+280+(((282447>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(282447,f+16|0)|0){f=jx(e,282447,8)|0;c[g>>2]=f}c[o>>2]=f;c[n+-8>>2]=(a[f+4>>0]|64)&255;f=c[A>>2]|0;c[A>>2]=f+16;wx(e,k,f,f);f=c[A>>2]|0;g=f+-16|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];f=c[A>>2]|0;g=f+16|0;c[A>>2]=g;k=c[c[u>>2]>>2]|0;k=k>>>0>>0?k+16|0:316088;c[g>>2]=c[k>>2];c[g+4>>2]=c[k+4>>2];c[g+8>>2]=c[k+8>>2];c[g+12>>2]=c[k+12>>2];g=c[A>>2]|0;c[A>>2]=g+16;g=g+-16|0;k=e+106|0;f=(b[k>>1]|0)+1<<16>>16;b[k>>1]=f;if((f&65535)>199){if(f<<16>>16==200)_v(e,279702,p);if((f&65535)>224)cw(e,6)}f=e+104|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;if(!(gw(e,g,1)|0))Ex(e);b[f>>1]=(b[f>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+-1<<16>>16;f=c[A>>2]|0;switch(c[f+-8>>2]&15){case 4:{g=f;f=f+-16|0;z=38;break}case 3:{if((c[(c[q>>2]|0)+12>>2]|0)>0){Ew(e);f=c[A>>2]|0}f=f+-16|0;Jw(e,f);g=c[A>>2]|0;z=38;break}default:m=0}if((z|0)==38){m=(c[f>>2]|0)+16|0;f=g}f=f+-32|0;c[A>>2]=f;if((w|0)>32){g=(c[c[u>>2]>>2]|0)+32|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)i=+h[g>>3];else do if((f|0)==19){t=g;i=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0)){r=(c[x+8>>2]|0)==19;t=x;s=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=s;c[j+4>>2]=t;i=r?+(s>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}i=0.0;break c}while(0);while(0);e=~~i;g=(c[c[u>>2]>>2]|0)+48|0;g=g>>>0<(c[A>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)i=+h[g>>3];else do if((f|0)==19){t=g;i=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0)){r=(c[x+8>>2]|0)==19;t=x;s=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=s;c[j+4>>2]=t;i=r?+(s>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}i=0.0;break d}while(0);while(0);n=~~i;if((v|0)!=3){g=(c[c[u>>2]>>2]|0)+64|0;g=g>>>0<(c[A>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;e:do if((f|0)==3)i=+h[g>>3];else do if((f|0)==19){t=g;i=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0)){r=(c[x+8>>2]|0)==19;t=x;s=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=s;c[j+4>>2]=t;i=r?+(s>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}i=0.0;break e}while(0);while(0);t=~~i&255;if((w|0)>80){g=(c[c[u>>2]>>2]|0)+80|0;g=g>>>0<(c[A>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;f:do if((f|0)==3)i=+h[g>>3];else g:do if((f|0)==19){s=g;i=+((c[s>>2]|0)>>>0)+4294967296.0*+(c[s+4>>2]|0)}else{do if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)!=(f+1|0))break;q=(c[x+8>>2]|0)==19;s=x;r=c[s>>2]|0;s=c[s+4>>2]|0;c[j>>2]=r;c[j+4>>2]=s;i=q?+(r>>>0)+4294967296.0*+(s|0):+h[j>>3];break g}while(0);i=0.0;break f}while(0);while(0);r=~~i;g=(c[c[u>>2]>>2]|0)+96|0;g=g>>>0<(c[A>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;h:do if((f|0)==3)i=+h[g>>3];else i:do if((f|0)==19){s=g;i=+((c[s>>2]|0)>>>0)+4294967296.0*+(c[s+4>>2]|0)}else{do if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)!=(f+1|0))break;p=(c[x+8>>2]|0)==19;s=x;q=c[s>>2]|0;s=c[s+4>>2]|0;c[j>>2]=q;c[j+4>>2]=s;i=p?+(q>>>0)+4294967296.0*+(s|0):+h[j>>3];break i}while(0);i=0.0;break h}while(0);while(0);s=~~i;if((v|0)!=6){g=c[c[u>>2]>>2]|0;f=g+112|0;k=c[A>>2]|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]|0){case 0:{q=3;break}case 1:{q=c[f>>2]|0?4:3;break}default:q=4}if((w|0)>112){g=g+128|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;j:do if((f|0)==3)i=+h[g>>3];else k:do if((f|0)==19){x=g;i=+((c[x>>2]|0)>>>0)+4294967296.0*+(c[x+4>>2]|0)}else{do if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,x)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)!=(f+1|0))break;v=(c[x+8>>2]|0)==19;w=c[x>>2]|0;x=c[x+4>>2]|0;c[j>>2]=w;c[j+4>>2]=x;i=v?+(w>>>0)+4294967296.0*+(x|0):+h[j>>3];break k}while(0);i=0.0;break j}while(0);while(0);f=~~i;if(!f){f=0;g=0}else z=120}else{f=1;z=120}}else{f=1;q=3;z=120}}else{f=1;s=8;r=8;q=3;z=120}}else{f=1;t=0;s=8;r=8;q=3;z=120}}else{f=1;t=0;s=8;r=8;n=0;e=0;q=3;z=120}if((z|0)==120){p=O(f,s)|0;o=e;g=m;l:while(1){m=e;m:while(1){k=g+1|0;g=a[g>>0]|0;switch(g<<24>>24){case 0:break l;case 10:break m;default:{}}m=(ng[q&15](y,g,m,n,r,s,t,f)|0)+m|0;g=k}o=(m|0)>(o|0)?m:o;g=k;n=n+p|0}g=((m|0)>(o|0)?m:o)-e|0;f=g;g=((g|0)<0)<<31>>31}z=c[A>>2]|0;y=z;c[y>>2]=f;c[y+4>>2]=g;c[z+8>>2]=19;c[A>>2]=z+16;A=1;l=B;return A|0}function un(f){f=f|0;var g=0,h=0,i=0,j=0,k=0;i=c[f+12>>2]|0;g=c[i+40>>2]|0;a:do if((c[g+8>>2]|0)>>>0>1)h=(c[g+12>>2]|0)+16|0;else{h=(c[g+16>>2]|0)+(((1<<(d[g+7>>0]|0))+3&2)<<5)|0;while(1){if((c[h+24>>2]|0)==19?(k=h+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;g=c[h+28>>2]|0;if(!g){h=316088;break a}h=h+(g<<5)|0}}while(0);k=f+8|0;j=c[k>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(263294,g+16|0)|0){g=jx(f,263294,6)|0;c[i>>2]=g}c[j>>2]=g;c[j+8>>2]=(a[g+4>>0]|64)&255;i=c[k>>2]|0;c[k>>2]=i+16;wx(f,h,i,i);h=c[k>>2]|0;i=h+-16|0;j=h+-8|0;switch(c[j>>2]&15){case 7:{g=(c[i>>2]|0)+24|0;break}case 2:{g=c[i>>2]|0;break}default:g=0}f=i;c[f>>2]=d[g+65412>>0];c[f+4>>2]=0;c[j>>2]=19;f=h;c[f>>2]=d[g+65413>>0];c[f+4>>2]=0;c[h+8>>2]=19;f=h+16|0;c[k>>2]=f;j=g+65414|0;c[f>>2]=b[j>>1]&1;c[h+24>>2]=1;f=h+32|0;c[k>>2]=f;c[f>>2]=(e[j>>1]|0)>>>1&1;c[h+40>>2]=1;f=h+48|0;c[k>>2]=f;c[f>>2]=(e[j>>1]|0)>>>2&1;c[h+56>>2]=1;c[k>>2]=h+64;return 5}function vn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;m=r;q=b+8|0;f=c[q>>2]|0;k=b+16|0;g=c[c[k>>2]>>2]|0;if((f-(g+16)|0)!=64){Ix(b,263698,r+16|0);l=r;return 0}g=g+48|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){n=(c[m+8>>2]|0)==19;p=m;o=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=o;c[j+4>>2]=p;e=n?+(o>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);p=~~e;if((p|0)<0){l=r;return 0}g=(c[c[k>>2]>>2]|0)+16|0;g=g>>>0<(c[q>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;o=m;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;e=i?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);o=~~e;g=(c[c[k>>2]>>2]|0)+32|0;g=g>>>0<(c[q>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;e=g?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);n=~~e;g=(c[c[k>>2]>>2]|0)+64|0;g=g>>>0<(c[q>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);m=~~e;i=c[b+12>>2]|0;f=c[i+40>>2]|0;e:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break e}g=g+(f<<5)|0}}while(0);k=c[q>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[q>>2]|0;c[q>>2]=k+16;wx(b,g,k,k);b=c[q>>2]|0;g=b+-16|0;switch(c[b+-8>>2]&15){case 7:{f=(c[g>>2]|0)+24|0;break}case 2:{f=c[g>>2]|0;break}default:f=0}c[q>>2]=g;Fg[c[f+2439720>>2]&15](f,o,n,p,m&255);l=r;return 0}function wn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;m=r;q=b+8|0;f=c[q>>2]|0;k=b+16|0;g=c[c[k>>2]>>2]|0;if((f-(g+16)|0)!=64){Ix(b,263653,r+16|0);l=r;return 0}g=g+48|0;g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){n=(c[m+8>>2]|0)==19;p=m;o=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=o;c[j+4>>2]=p;e=n?+(o>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);p=~~e;if((p|0)<0){l=r;return 0}g=(c[c[k>>2]>>2]|0)+16|0;g=g>>>0<(c[q>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;o=m;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;e=i?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);o=~~e;g=(c[c[k>>2]>>2]|0)+32|0;g=g>>>0<(c[q>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;e=g?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);n=~~e;g=(c[c[k>>2]>>2]|0)+64|0;g=g>>>0<(c[q>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);m=~~e;i=c[b+12>>2]|0;f=c[i+40>>2]|0;e:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break e}g=g+(f<<5)|0}}while(0);k=c[q>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[q>>2]|0;c[q>>2]=k+16;wx(b,g,k,k);b=c[q>>2]|0;g=b+-16|0;switch(c[b+-8>>2]&15){case 7:{f=(c[g>>2]|0)+24|0;break}case 2:{f=c[g>>2]|0;break}default:f=0}c[q>>2]=g;Fg[c[f+2439724>>2]&15](f,o,n,p,m&255);l=r;return 0}function xn(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+32|0;m=u;t=b+8|0;f=c[t>>2]|0;k=b+16|0;g=(c[c[k>>2]>>2]|0)+16|0;if((f-g|0)!=112){Ix(b,263603,u+16|0);l=u;return 0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){s=g;e=+((c[s>>2]|0)>>>0)+4294967296.0*+(c[s+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){q=(c[m+8>>2]|0)==19;s=m;r=c[s>>2]|0;s=c[s+4>>2]|0;c[j>>2]=r;c[j+4>>2]=s;e=q?+(r>>>0)+4294967296.0*+(s|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);s=~~e;g=(c[c[k>>2]>>2]|0)+32|0;g=g>>>0<(c[t>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){r=g;e=+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){p=(c[m+8>>2]|0)==19;r=m;q=c[r>>2]|0;r=c[r+4>>2]|0;c[j>>2]=q;c[j+4>>2]=r;e=p?+(q>>>0)+4294967296.0*+(r|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);r=~~e;g=(c[c[k>>2]>>2]|0)+48|0;g=g>>>0<(c[t>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){q=g;e=+((c[q>>2]|0)>>>0)+4294967296.0*+(c[q+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){o=(c[m+8>>2]|0)==19;q=m;p=c[q>>2]|0;q=c[q+4>>2]|0;c[j>>2]=p;c[j+4>>2]=q;e=o?+(p>>>0)+4294967296.0*+(q|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);q=~~e;g=(c[c[k>>2]>>2]|0)+64|0;g=g>>>0<(c[t>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){n=(c[m+8>>2]|0)==19;p=m;o=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=o;c[j+4>>2]=p;e=n?+(o>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);p=~~e;g=(c[c[k>>2]>>2]|0)+80|0;g=g>>>0<(c[t>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;e:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){o=g;e=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;o=m;n=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=n;c[j+4>>2]=o;e=i?+(n>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}e=0.0;break e}while(0);while(0);o=~~e;g=(c[c[k>>2]>>2]|0)+96|0;g=g>>>0<(c[t>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;f:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){n=g;e=+((c[n>>2]|0)>>>0)+4294967296.0*+(c[n+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[m+8>>2]|0)==19;n=m;i=c[n>>2]|0;n=c[n+4>>2]|0;c[j>>2]=i;c[j+4>>2]=n;e=g?+(i>>>0)+4294967296.0*+(n|0):+h[j>>3];break}}e=0.0;break f}while(0);while(0);n=~~e;g=(c[c[k>>2]>>2]|0)+112|0;g=g>>>0<(c[t>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;g:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,m)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){i=(c[m+8>>2]|0)==19;k=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=k;c[j+4>>2]=m;e=i?+(k>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break g}while(0);while(0);m=~~e;i=c[b+12>>2]|0;f=c[i+40>>2]|0;h:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(k=g+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break h}g=g+(f<<5)|0}}while(0);k=c[t>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[t>>2]|0;c[t>>2]=k+16;wx(b,g,k,k);b=c[t>>2]|0;g=b+-16|0;switch(c[b+-8>>2]&15){case 7:{f=(c[g>>2]|0)+24|0;break}case 2:{f=c[g>>2]|0;break}default:f=0}c[t>>2]=g;Ig[c[f+2439728>>2]&7](f,s,r,q,p,o,n,m&255);l=u;return 0}function yn(b){b=b|0;var e=0.0,f=0,g=0,i=0.0,k=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,w=0.0,x=0.0,y=0,z=0,A=0,B=0,C=0;C=l;l=l+32|0;B=C;y=b+8|0;f=c[y>>2]|0;z=b+16|0;g=(c[c[z>>2]>>2]|0)+16|0;v=f-g|0;A=v>>4;if((v|0)<=176){Ix(b,263509,C+16|0);l=C;return 0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;a:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){v=g;e=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;e=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}e=0.0;break a}while(0);while(0);g=(c[c[z>>2]>>2]|0)+32|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)i=+h[g>>3];else do if((f|0)==19){v=g;i=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;i=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}i=0.0;break b}while(0);while(0);g=(c[c[z>>2]>>2]|0)+48|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)k=+h[g>>3];else do if((f|0)==19){v=g;k=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;k=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}k=0.0;break c}while(0);while(0);g=(c[c[z>>2]>>2]|0)+64|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)n=+h[g>>3];else do if((f|0)==19){v=g;n=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;n=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}n=0.0;break d}while(0);while(0);g=(c[c[z>>2]>>2]|0)+80|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;e:do if((f|0)==3)o=+h[g>>3];else do if((f|0)==19){v=g;o=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;o=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}o=0.0;break e}while(0);while(0);g=(c[c[z>>2]>>2]|0)+96|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;f:do if((f|0)==3)p=+h[g>>3];else do if((f|0)==19){v=g;p=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;p=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}p=0.0;break f}while(0);while(0);g=(c[c[z>>2]>>2]|0)+112|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;g:do if((f|0)==3)q=+h[g>>3];else do if((f|0)==19){v=g;q=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;q=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}q=0.0;break g}while(0);while(0);g=(c[c[z>>2]>>2]|0)+128|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;h:do if((f|0)==3)r=+h[g>>3];else do if((f|0)==19){v=g;r=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;r=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}r=0.0;break h}while(0);while(0);g=(c[c[z>>2]>>2]|0)+144|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;i:do if((f|0)==3)s=+h[g>>3];else do if((f|0)==19){v=g;s=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;s=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}s=0.0;break i}while(0);while(0);g=(c[c[z>>2]>>2]|0)+160|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;j:do if((f|0)==3)t=+h[g>>3];else do if((f|0)==19){v=g;t=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;t=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}t=0.0;break j}while(0);while(0);g=(c[c[z>>2]>>2]|0)+176|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;k:do if((f|0)==3)u=+h[g>>3];else do if((f|0)==19){v=g;u=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;u=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}u=0.0;break k}while(0);while(0);x=u;g=(c[c[z>>2]>>2]|0)+192|0;g=g>>>0<(c[y>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;l:do if((f|0)==3)u=+h[g>>3];else do if((f|0)==19){v=g;u=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((f&15|0)==4){m=Iw((c[g>>2]|0)+16|0,B)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((m|0)==(f+1|0)){g=(c[B+8>>2]|0)==19;v=B;m=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=m;c[j+4>>2]=v;u=g?+(m>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}u=0.0;break l}while(0);while(0);w=u;m=c[b+12>>2]|0;f=c[m+40>>2]|0;m:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(v=g+16|0,(c[v>>2]|0)==2&(c[v+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break m}g=g+(f<<5)|0}}while(0);v=c[y>>2]|0;m=m+280+(((263294>>>0)%127|0)<<2)|0;f=c[m>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[m>>2]=f}c[v>>2]=f;c[v+8>>2]=(a[f+4>>0]|64)&255;v=c[y>>2]|0;c[y>>2]=v+16;wx(b,g,v,v);b=c[y>>2]|0;v=b+-16|0;switch(c[b+-8>>2]&15){case 7:{b=(c[v>>2]|0)+24|0;break}case 2:{b=c[v>>2]|0;break}default:b=0}c[y>>2]=v;if((A|0)!=12){m=c[c[z>>2]>>2]|0;f=m+208|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]|0){case 0:{g=0;break}case 1:{g=(c[f>>2]|0)!=0;break}default:g=1}if((A|0)==13)f=-1;else{m=m+224|0;m=m>>>0>>0?m:316088;f=c[m+8>>2]|0;n:do if((f|0)==3)u=+h[m>>3];else o:do if((f|0)==19){B=m;u=+((c[B>>2]|0)>>>0)+4294967296.0*+(c[B+4>>2]|0)}else{do if((f&15|0)==4){v=Iw((c[m>>2]|0)+16|0,B)|0;f=c[m>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((v|0)!=(f+1|0))break;z=(c[B+8>>2]|0)==19;A=c[B>>2]|0;B=c[B+4>>2]|0;c[j>>2]=A;c[j+4>>2]=B;u=z?+(A>>>0)+4294967296.0*+(B|0):+h[j>>3];break o}while(0);u=0.0;break n}while(0);while(0);f=~~u&255}}else{g=0;f=-1}Ag[c[b+2439732>>2]&1](b,e,i,k,n,o,p,q,r,s,t,x,w,g,f);l=C;return 0}function zn(b){b=b|0;var e=0,f=0,g=0.0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+32|0;f=v+16|0;o=v;u=b+8|0;n=c[u>>2]|0;k=b+16|0;e=(c[c[k>>2]>>2]|0)+16|0;m=n;switch(n-e>>4|0){case 0:{k=c[b+12>>2]|0;e=c[k+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)i=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(t=f+16|0,(c[t>>2]|0)==2&(c[t+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){i=316088;break a}f=f+(e<<5)|0}i=f}while(0);f=k+280+(((263294>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[f>>2]=e}c[n>>2]=e;c[m+8>>2]=(a[e+4>>0]|64)&255;f=c[u>>2]|0;c[u>>2]=f+16;wx(b,i,f,f);b=c[u>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[u>>2]=f;Fg[c[e+2439736>>2]&15](e,0,0,240,136);l=v;return 0}case 4:{f=e>>>0>>0?e:316088;e=c[f+8>>2]|0;b:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){t=f;g=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,o)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){r=(c[o+8>>2]|0)==19;t=o;s=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=s;c[j+4>>2]=t;g=r?+(s>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}g=0.0;break b}while(0);while(0);t=~~g;f=(c[c[k>>2]>>2]|0)+32|0;f=f>>>0<(c[u>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;c:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){s=f;g=+((c[s>>2]|0)>>>0)+4294967296.0*+(c[s+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,o)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){q=(c[o+8>>2]|0)==19;s=o;r=c[s>>2]|0;s=c[s+4>>2]|0;c[j>>2]=r;c[j+4>>2]=s;g=q?+(r>>>0)+4294967296.0*+(s|0):+h[j>>3];break}}g=0.0;break c}while(0);while(0);s=~~g;f=(c[c[k>>2]>>2]|0)+48|0;f=f>>>0<(c[u>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;d:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){r=f;g=+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,o)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){p=(c[o+8>>2]|0)==19;r=o;q=c[r>>2]|0;r=c[r+4>>2]|0;c[j>>2]=q;c[j+4>>2]=r;g=p?+(q>>>0)+4294967296.0*+(r|0):+h[j>>3];break}}g=0.0;break d}while(0);while(0);r=~~g;f=(c[c[k>>2]>>2]|0)+64|0;f=f>>>0<(c[u>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;e:do if((e|0)==3)g=+h[f>>3];else do if((e|0)==19){q=f;g=+((c[q>>2]|0)>>>0)+4294967296.0*+(c[q+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[f>>2]|0)+16|0,o)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){n=(c[o+8>>2]|0)==19;q=o;p=c[q>>2]|0;q=c[q+4>>2]|0;c[j>>2]=p;c[j+4>>2]=q;g=n?+(p>>>0)+4294967296.0*+(q|0):+h[j>>3];break}}g=0.0;break e}while(0);while(0);q=~~g;o=b+12|0;i=c[o>>2]|0;e=c[i+40>>2]|0;f:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(p=f+16|0,(c[p>>2]|0)==2&(c[p+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break f}f=f+(e<<5)|0}}while(0);k=c[u>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;e=c[i>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[i>>2]=e}c[k>>2]=e;c[k+8>>2]=(a[e+4>>0]|64)&255;m=c[u>>2]|0;c[u>>2]=m+16;wx(b,f,m,m);m=c[u>>2]|0;n=m+-16|0;switch(c[m+-8>>2]&15){case 7:{e=(c[n>>2]|0)+24|0;break}case 2:{e=c[n>>2]|0;break}default:e=0}c[u>>2]=n;p=c[e+2439736>>2]|0;k=c[o>>2]|0;e=c[k+40>>2]|0;g:do if((c[e+8>>2]|0)>>>0>1)i=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(o=f+16|0,(c[o>>2]|0)==2&(c[o+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){i=316088;break g}f=f+(e<<5)|0}i=f}while(0);f=k+280+(((263294>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[f>>2]=e}c[n>>2]=e;c[m+-8>>2]=(a[e+4>>0]|64)&255;f=c[u>>2]|0;c[u>>2]=f+16;wx(b,i,f,f);b=c[u>>2]|0;f=b+-16|0;switch(c[b+-8>>2]&15){case 7:{e=(c[f>>2]|0)+24|0;break}case 2:{e=c[f>>2]|0;break}default:e=0}c[u>>2]=f;Fg[p&15](e,t,s,r,q);l=v;return 0}default:{Ix(b,263460,f);l=v;return 0}}return 0}function An(b){b=b|0;var e=0,f=0,g=0,i=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+32|0;o=v+16|0;r=v;s=b+8|0;n=c[s>>2]|0;t=b+16|0;p=n-((c[c[t>>2]>>2]|0)+16)|0;u=p>>4;k=c[b+12>>2]|0;e=c[k+40>>2]|0;m=n;a:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(q=f+16|0,(c[q>>2]|0)==2&(c[q+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){g=316088;break a}f=f+(e<<5)|0}g=f}while(0);f=k+280+(((263294>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[f>>2]=e}c[n>>2]=e;c[m+8>>2]=(a[e+4>>0]|64)&255;q=c[s>>2]|0;c[s>>2]=q+16;wx(b,g,q,q);q=c[s>>2]|0;e=q+-16|0;switch(c[q+-8>>2]&15){case 7:{q=(c[e>>2]|0)+24|0;break}case 2:{q=c[e>>2]|0;break}default:q=0}c[s>>2]=e;if(!u){Fg[c[q+2439756>>2]&15](q,-1,0,0,0);l=v;return 0}if((p|0)<=0){Ix(b,263426,o);l=v;return 0}n=q+2439756|0;Fg[c[n>>2]&15](q,-1,0,0,0);f=(c[c[t>>2]>>2]|0)+16|0;f=f>>>0<(c[s>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;b:do if((e|0)==3)i=+h[f>>3];else do if((e|0)==19){o=f;i=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,r)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){m=(c[r+8>>2]|0)==19;o=r;b=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=b;c[j+4>>2]=o;i=m?+(b>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}i=0.0;break b}while(0);while(0);m=~~i;c:do if((u|0)!=1){f=(c[c[t>>2]>>2]|0)+32|0;f=f>>>0<(c[s>>2]|0)>>>0?f:316088;e=c[f+8>>2]|0;d:do if((e|0)==3)i=+h[f>>3];else do if((e|0)==19){o=f;i=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,r)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){k=(c[r+8>>2]|0)==19;o=r;b=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=b;c[j+4>>2]=o;i=k?+(b>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}i=0.0;break d}while(0);while(0);e=~~i;if((p|0)>32){g=(c[c[t>>2]>>2]|0)+48|0;g=g>>>0<(c[s>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;e:do if((f|0)==3)i=+h[g>>3];else do if((f|0)==19){r=g;i=+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0)}else{if((f&15|0)==4){k=Iw((c[g>>2]|0)+16|0,r)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((k|0)==(f+1|0)){o=(c[r+8>>2]|0)==19;p=c[r>>2]|0;r=c[r+4>>2]|0;c[j>>2]=p;c[j+4>>2]=r;i=o?+(p>>>0)+4294967296.0*+(r|0):+h[j>>3];break}}i=0.0;break e}while(0);while(0);k=~~i;if((u|0)==3){g=1;f=k}else{f=(c[c[t>>2]>>2]|0)+64|0;f=f>>>0<(c[s>>2]|0)>>>0?f:316088;switch(c[f+8>>2]|0){case 0:{g=0;f=k;break c}case 1:{g=(c[f>>2]|0)!=0;f=k;break c}default:{g=1;f=k;break c}}}}else{g=1;f=-1}}else{g=1;f=-1;e=-1}while(0);Fg[c[n>>2]&15](q,m,e,f,g);l=v;return 0}function Bn(b){b=b|0;var e=0,f=0,g=0,i=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;q=r+16|0;o=r;g=c[b+12>>2]|0;e=c[g+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(p=f+16|0,(c[p>>2]|0)==2&(c[p+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break a}f=f+(e<<5)|0}}while(0);n=b+8|0;k=c[n>>2]|0;g=g+280+(((263294>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[g>>2]=e}c[k>>2]=e;c[k+8>>2]=(a[e+4>>0]|64)&255;p=c[n>>2]|0;c[n>>2]=p+16;wx(b,f,p,p);p=c[n>>2]|0;e=p+-16|0;switch(c[p+-8>>2]&15){case 7:{p=(c[e>>2]|0)+24|0;break}case 2:{p=c[e>>2]|0;break}default:p=0}c[n>>2]=e;m=b+16|0;f=(c[c[m>>2]>>2]|0)+16|0;if((e-f|0)>0){f=f>>>0>>0?f:316088;e=c[f+8>>2]|0;b:do if((e|0)==3)i=+h[f>>3];else do if((e|0)==19){k=f;i=+((c[k>>2]|0)>>>0)+4294967296.0*+(c[k+4>>2]|0)}else{if((e&15|0)==4){g=Iw((c[f>>2]|0)+16|0,o)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((g|0)==(e+1|0)){f=(c[o+8>>2]|0)==19;k=o;g=c[k>>2]|0;k=c[k+4>>2]|0;c[j>>2]=g;c[j+4>>2]=k;i=f?+(g>>>0)+4294967296.0*+(k|0):+h[j>>3];break}}i=0.0;break b}while(0);while(0);g=~~i;e=c[n>>2]|0;f=c[c[m>>2]>>2]|0;if((e-(f+16)|0)>16){f=f+32|0;f=f>>>0>>0?f:316088;e=c[f+8>>2]|0;c:do if((e|0)==3)i=+h[f>>3];else do if((e|0)==19){o=f;i=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((e&15|0)==4){k=Iw((c[f>>2]|0)+16|0,o)|0;e=c[f>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((k|0)==(e+1|0)){f=(c[o+8>>2]|0)==19;k=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=k;c[j+4>>2]=o;i=f?+(k>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}i=0.0;break c}while(0);while(0);e=~~i;k=c[n>>2]|0;f=c[c[m>>2]>>2]|0;d:do if((k-(f+16)|0)>32){f=f+48|0;f=f>>>0>>0?f:316088;switch(c[f+8>>2]|0){case 0:{f=0;break d}case 1:{f=(c[f>>2]|0)!=0;break d}default:{f=1;break d}}}else f=0;while(0);if(e>>>0>=8){Ix(b,263399,q);l=r;return 0}}else{f=0;e=0}}else{g=0;f=0;e=0}Eg[c[p+2439792>>2]&63](p,g,e,f);l=r;return 0}function Cn(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;g=c[b+12>>2]|0;e=c[g+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)f=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(i=f+16|0,(c[i>>2]|0)==2&(c[i+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){f=316088;break a}f=f+(e<<5)|0}}while(0);i=b+8|0;h=c[i>>2]|0;g=g+280+(((263294>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[g>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;e=c[i>>2]|0;c[i>>2]=e+16;wx(b,f,e,e);b=c[i>>2]|0;e=b+-16|0;switch(c[b+-8>>2]&15){case 7:{b=(c[e>>2]|0)+24|0;c[i>>2]=e;b=b+2589368|0;a[b>>0]=0;return 0}case 2:{b=c[e>>2]|0;c[i>>2]=e;b=b+2589368|0;a[b>>0]=0;return 0}default:{b=0;c[i>>2]=e;b=b+2589368|0;a[b>>0]=0;return 0}}return 0}function Dn(b){b=b|0;var e=0,f=0.0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+32|0;m=q+24|0;p=q+16|0;o=q;i=c[b+12>>2]|0;e=c[i+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{g=(c[e+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(n=g+16|0,(c[n>>2]|0)==2&(c[n+4>>2]|0)==0):0)break;e=c[g+28>>2]|0;if(!e){g=316088;break a}g=g+(e<<5)|0}}while(0);n=b+8|0;k=c[n>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;e=c[i>>2]|0;if(wN(263294,e+16|0)|0){e=jx(b,263294,6)|0;c[i>>2]=e}c[k>>2]=e;c[k+8>>2]=(a[e+4>>0]|64)&255;k=c[n>>2]|0;c[n>>2]=k+16;wx(b,g,k,k);k=c[n>>2]|0;e=k+-16|0;switch(c[k+-8>>2]&15){case 7:{k=(c[e>>2]|0)+24|0;break}case 2:{k=c[e>>2]|0;break}default:k=0}c[n>>2]=e;g=(c[c[b+16>>2]>>2]|0)+16|0;switch(e-g>>4|0){case 0:{b=hg[c[k+2439800>>2]&63](k,0)|0;p=c[n>>2]|0;c[p>>2]=b&1;c[p+8>>2]=1;c[n>>2]=p+16;p=1;l=q;return p|0}case 1:{g=g>>>0>>0?g:316088;e=c[g+8>>2]|0;b:do if((e|0)==3)f=+h[g>>3];else do if((e|0)==19){o=g;f=+((c[o>>2]|0)>>>0)+4294967296.0*+(c[o+4>>2]|0)}else{if((e&15|0)==4){i=Iw((c[g>>2]|0)+16|0,o)|0;e=c[g>>2]|0;if((a[e+4>>0]|0)==4)e=d[e+7>>0]|0;else e=c[e+12>>2]|0;if((i|0)==(e+1|0)){i=(c[o+8>>2]|0)==19;m=c[o>>2]|0;o=c[o+4>>2]|0;c[j>>2]=m;c[j+4>>2]=o;f=i?+(m>>>0)+4294967296.0*+(o|0):+h[j>>3];break}}f=0.0;break b}while(0);while(0);e=~~f;if((e&255)>>>0<79){b=hg[c[k+2439800>>2]&63](k,e&255)|0;p=c[n>>2]|0;c[p>>2]=b&1;c[p+8>>2]=1;c[n>>2]=p+16;p=1;l=q;return p|0}else{Ix(b,263301,p);p=0;l=q;return p|0}}default:{Ix(b,263371,m);p=0;l=q;return p|0}}return 0}function En(b){b=b|0;var e=0.0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+32|0;p=t+24|0;o=t+16|0;s=t;i=c[b+12>>2]|0;f=c[i+40>>2]|0;a:do if((c[f+8>>2]|0)>>>0>1)g=(c[f+12>>2]|0)+16|0;else{g=(c[f+16>>2]|0)+(((1<>0])+3&2)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(r=g+16|0,(c[r>>2]|0)==2&(c[r+4>>2]|0)==0):0)break;f=c[g+28>>2]|0;if(!f){g=316088;break a}g=g+(f<<5)|0}}while(0);r=b+8|0;k=c[r>>2]|0;i=i+280+(((263294>>>0)%127|0)<<2)|0;f=c[i>>2]|0;if(wN(263294,f+16|0)|0){f=jx(b,263294,6)|0;c[i>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;q=c[r>>2]|0;c[r>>2]=q+16;wx(b,g,q,q);q=c[r>>2]|0;f=q+-16|0;switch(c[q+-8>>2]&15){case 7:{q=(c[f>>2]|0)+24|0;break}case 2:{q=c[f>>2]|0;break}default:q=0}c[r>>2]=f;n=b+16|0;g=(c[c[n>>2]>>2]|0)+16|0;k=f-g>>4;if(!k){q=jg[c[q+2439804>>2]&31](q,0,-1,-1)|0;s=c[r>>2]|0;c[s>>2]=q&1;c[s+8>>2]=1;c[r>>2]=s+16;s=1;l=t;return s|0}g=g>>>0>>0?g:316088;f=c[g+8>>2]|0;b:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){m=g;e=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,s)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){g=(c[s+8>>2]|0)==19;m=s;i=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=i;c[j+4>>2]=m;e=g?+(i>>>0)+4294967296.0*+(m|0):+h[j>>3];break}}e=0.0;break b}while(0);while(0);i=~~e;m=i&255;if((i&255)>>>0>78){Ix(b,263301,o);s=1;l=t;return s|0}switch(k|0){case 1:{q=jg[c[q+2439804>>2]&31](q,m,-1,-1)|0;s=c[r>>2]|0;c[s>>2]=q&1;c[s+8>>2]=1;c[r>>2]=s+16;s=1;l=t;return s|0}case 3:{g=(c[c[n>>2]>>2]|0)+32|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;c:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){p=g;e=+((c[p>>2]|0)>>>0)+4294967296.0*+(c[p+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,s)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){b=(c[s+8>>2]|0)==19;p=s;o=c[p>>2]|0;p=c[p+4>>2]|0;c[j>>2]=o;c[j+4>>2]=p;e=b?+(o>>>0)+4294967296.0*+(p|0):+h[j>>3];break}}e=0.0;break c}while(0);while(0);k=~~e;g=(c[c[n>>2]>>2]|0)+48|0;g=g>>>0<(c[r>>2]|0)>>>0?g:316088;f=c[g+8>>2]|0;d:do if((f|0)==3)e=+h[g>>3];else do if((f|0)==19){s=g;e=+((c[s>>2]|0)>>>0)+4294967296.0*+(c[s+4>>2]|0)}else{if((f&15|0)==4){i=Iw((c[g>>2]|0)+16|0,s)|0;f=c[g>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((i|0)==(f+1|0)){o=(c[s+8>>2]|0)==19;p=c[s>>2]|0;s=c[s+4>>2]|0;c[j>>2]=p;c[j+4>>2]=s;e=o?+(p>>>0)+4294967296.0*+(s|0):+h[j>>3];break}}e=0.0;break d}while(0);while(0);q=jg[c[q+2439804>>2]&31](q,m,k,~~e)|0;s=c[r>>2]|0;c[s>>2]=q&1;c[s+8>>2]=1;c[r>>2]=s+16;s=1;l=t;return s|0}default:{Ix(b,263324,p);s=0;l=t;return s|0}}return 0}function Fn(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var i=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=l;l=l+16|0;r=s;p=c[b>>2]|0;m=c[b+4>>2]|0;n=((m|0)<0)<<31>>31;q=p+8|0;o=c[q>>2]|0;b=c[(c[p+12>>2]|0)+40>>2]|0;k=lQ(m|0,n|0,-1,-1)|0;t=z;a:do if(t>>>0<0|((t|0)==0?k>>>0<(c[b+8>>2]|0)>>>0:0))b=(c[b+12>>2]|0)+(k<<4)|0;else{b=(c[b+16>>2]|0)+(((1<>0])+-1&m)<<5)|0;while(1){if((c[b+24>>2]|0)==19?(t=b+16|0,(c[t>>2]|0)==(m|0)?(c[t+4>>2]|0)==(n|0):0):0)break;k=c[b+28>>2]|0;if(!k){b=316088;break a}b=b+(k<<5)|0}}while(0);c[o>>2]=c[b>>2];c[o+4>>2]=c[b+4>>2];c[o+8>>2]=c[b+8>>2];c[o+12>>2]=c[b+12>>2];b=c[q>>2]|0;k=b+16|0;c[k>>2]=d[g>>0];c[k+4>>2]=0;c[b+24>>2]=19;k=b+32|0;c[k>>2]=e;c[k+4>>2]=((e|0)<0)<<31>>31;c[b+40>>2]=19;k=b+48|0;c[k>>2]=f;c[k+4>>2]=((f|0)<0)<<31>>31;c[b+56>>2]=19;c[q>>2]=b+64;c[r>>2]=b;c[r+4>>2]=3;mw(p,148,r,b-(c[p+28>>2]|0)|0,0)|0;b=c[q>>2]|0;k=b+-48|0;b=c[b+-40>>2]|0;b:do if((b|0)==3)i=+h[k>>3];else do if((b|0)==19){t=k;i=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((b&15|0)==4){m=Iw((c[k>>2]|0)+16|0,r)|0;b=c[k>>2]|0;if((a[b+4>>0]|0)==4)b=d[b+7>>0]|0;else b=c[b+12>>2]|0;if((m|0)==(b+1|0)){f=(c[r+8>>2]|0)==19;t=r;p=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=p;c[j+4>>2]=t;i=f?+(p>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}i=0.0;break b}while(0);while(0);a[g>>0]=~~i;b=c[q>>2]|0;k=b+-32|0;b=c[b+-24>>2]|0;c:do if((b|0)==3)i=+h[k>>3];else do if((b|0)==19){t=k;i=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((b&15|0)==4){m=Iw((c[k>>2]|0)+16|0,r)|0;b=c[k>>2]|0;if((a[b+4>>0]|0)==4)b=d[b+7>>0]|0;else b=c[b+12>>2]|0;if((m|0)==(b+1|0)){f=(c[r+8>>2]|0)==19;t=r;p=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=p;c[j+4>>2]=t;i=f?+(p>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}i=0.0;break c}while(0);while(0);c[g+4>>2]=~~i;b=c[q>>2]|0;k=b+-16|0;b=c[b+-8>>2]|0;if((b|0)==3){i=+h[k>>3];r=~~i;t=g+8|0;c[t>>2]=r;l=s;return}do if((b|0)==19){t=k;i=+((c[t>>2]|0)>>>0)+4294967296.0*+(c[t+4>>2]|0)}else{if((b&15|0)==4){m=Iw((c[k>>2]|0)+16|0,r)|0;b=c[k>>2]|0;if((a[b+4>>0]|0)==4)b=d[b+7>>0]|0;else b=c[b+12>>2]|0;if((m|0)==(b+1|0)){q=(c[r+8>>2]|0)==19;t=r;r=c[t>>2]|0;t=c[t+4>>2]|0;c[j>>2]=r;c[j+4>>2]=t;i=q?+(r>>>0)+4294967296.0*+(t|0):+h[j>>3];break}}i=0.0;r=~~i;t=g+8|0;c[t>>2]=r;l=s;return}while(0);r=~~i;t=g+8|0;c[t>>2]=r;l=s;return}function Gn(e,f){e=e|0;f=f|0;var g=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;y=l;l=l+32|0;v=y+8|0;n=y;w=y+16|0;u=e+2588568|0;g=c[u>>2]|0;if(g|0){hx(c[(c[g+12>>2]|0)+136>>2]|0);c[u>>2]=0}s=fx(1,0)|0;r=s+12|0;if(s|0)c[(c[r>>2]|0)+132>>2]=380;c[u>>2]=s;Zx(s,282308,382);t=s+8|0;c[t>>2]=(c[t>>2]|0)+-16;Zx(s,264500,389);c[t>>2]=(c[t>>2]|0)+-16;Zx(s,263279,383);c[t>>2]=(c[t>>2]|0)+-16;Zx(s,281107,384);c[t>>2]=(c[t>>2]|0)+-16;Zx(s,287470,385);c[t>>2]=(c[t>>2]|0)+-16;Zx(s,263289,386);c[t>>2]=(c[t>>2]|0)+-16;Zx(s,282963,390);j=c[t>>2]|0;k=j+-16|0;c[t>>2]=k;m=c[r>>2]|0;i=m+280+(((285773>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(285773,g+16|0)|0){g=jx(s,285773,12)|0;c[i>>2]=g}c[k>>2]=g;c[j+-8>>2]=(a[g+4>>0]|64)&255;g=c[t>>2]|0;c[t>>2]=g+16;wx(s,m+40|0,g,g);g=c[t>>2]|0;if(!(c[g+-8>>2]&15)){c[t>>2]=g+-16;if((c[(c[r>>2]|0)+12>>2]|0)>0)Ew(s);q=px(s)|0;g=c[t>>2]|0;c[g>>2]=q;c[g+8>>2]=69;c[t>>2]=(c[t>>2]|0)+16;g=c[r>>2]|0;if((c[g+12>>2]|0)>0){Ew(s);g=c[r>>2]|0}i=g+280+(((285773>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(285773,g+16|0)|0){g=jx(s,285773,12)|0;c[i>>2]=g}j=c[t>>2]|0;c[j>>2]=g;c[j+8>>2]=(a[g+4>>0]|64)&255;j=c[t>>2]|0;k=j+16|0;c[t>>2]=k;i=(c[r>>2]|0)+280+(((281977>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(281977,g+16|0)|0){g=jx(s,281977,6)|0;c[i>>2]=g}c[k>>2]=g;c[j+24>>2]=(a[g+4>>0]|64)&255;k=c[t>>2]|0;c[t>>2]=k+16;xx(s,j+-16|0,k,k+-16|0);k=c[t>>2]|0;j=k+-32|0;c[t>>2]=j;k=k+-48|0;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=c[k+8>>2];c[j+12>>2]=c[k+12>>2];j=c[t>>2]|0;k=j+16|0;c[t>>2]=k;m=c[r>>2]|0;i=m+280+(((285773>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(285773,g+16|0)|0){g=jx(s,285773,12)|0;c[i>>2]=g}c[k>>2]=g;c[j+24>>2]=(a[g+4>>0]|64)&255;g=c[t>>2]|0;c[t>>2]=g+16;xx(s,m+40|0,g,g+-16|0);g=(c[t>>2]|0)+-32|0;c[t>>2]=g}h[g>>3]=400.0;c[g+8>>2]=3;k=g+16|0;c[t>>2]=k;m=c[r>>2]|0;j=m+280+(((287613>>>0)%127|0)<<2)|0;i=c[j>>2]|0;if(wN(287613,i+16|0)|0){i=jx(s,287613,13)|0;c[j>>2]=i}c[k>>2]=i;c[g+24>>2]=(a[i+4>>0]|64)&255;g=c[t>>2]|0;c[t>>2]=g+16;xx(s,m+40|0,g,g+-16|0);c[t>>2]=(c[t>>2]|0)+-32;Xx(s,6272,0);g=c[r>>2]|0;if((c[g+140>>2]|0)!=960){Ix(s,282282,n);g=c[r>>2]|0}if((c[g+12>>2]|0)>0)Ew(s);j=px(s)|0;k=c[t>>2]|0;c[k>>2]=j;c[k+8>>2]=69;c[t>>2]=(c[t>>2]|0)+16;mx(s,j,0,22);Xx(s,6344,0);j=c[t>>2]|0;k=j+-16|0;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=c[k+8>>2];c[j+12>>2]=c[k+12>>2];j=c[t>>2]|0;k=j+16|0;c[t>>2]=k;i=(c[r>>2]|0)+280+(((285786>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(285786,g+16|0)|0){g=jx(s,285786,7)|0;c[i>>2]=g}c[k>>2]=g;c[j+24>>2]=(a[g+4>>0]|64)&255;m=c[t>>2]|0;c[t>>2]=m+16;xx(s,j+-32|0,m,m+-16|0);m=c[t>>2]|0;n=m+-32|0;c[t>>2]=n;o=s+16|0;p=n-((c[c[o>>2]>>2]|0)+16)|0;q=p>>4;k=c[r>>2]|0;g=c[k+40>>2]|0;a:do if((c[g+8>>2]|0)>>>0>1)j=(c[g+12>>2]|0)+16|0;else{i=(c[g+16>>2]|0)+(((1<<(d[g+7>>0]|0))+3&2)<<5)|0;while(1){if((c[i+24>>2]|0)==19?(j=i+16|0,(c[j>>2]|0)==2&(c[j+4>>2]|0)==0):0)break;g=c[i+28>>2]|0;if(!g){j=316088;break a}i=i+(g<<5)|0}j=i}while(0);i=k+280+(((264500>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(264500,g+16|0)|0){g=jx(s,264500,7)|0;c[i>>2]=g}c[n>>2]=g;c[m+-24>>2]=(a[g+4>>0]|64)&255;i=c[t>>2]|0;c[t>>2]=i+16;wx(s,j,i,i);j=c[t>>2]|0;i=(c[r>>2]|0)+280+(((285402>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(285402,g+16|0)|0){g=jx(s,285402,6)|0;c[i>>2]=g}c[j>>2]=g;c[j+8>>2]=(a[g+4>>0]|64)&255;i=c[t>>2]|0;c[t>>2]=i+16;wx(s,j+-16|0,i,i);j=c[t>>2]|0;i=(c[r>>2]|0)+280+(((264508>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(264508,g+16|0)|0){g=jx(s,264508,4)|0;c[i>>2]=g}c[j>>2]=g;c[j+8>>2]=(a[g+4>>0]|64)&255;g=c[t>>2]|0;c[t>>2]=g+16;wx(s,j+-16|0,g,g);g=c[t>>2]|0;j=g+-16|0;if((j|0)!=316088?(c[g+-8>>2]&15|0)==0:0){c[t>>2]=j;g=c[o>>2]|0;do if((p|0)<=0){if((p|0)>=-16015984){g=j+(q<<4)|0;break}if((q|0)==-1001e3){g=(c[r>>2]|0)+40|0;break}i=-1001e3-q|0;g=c[g>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(i|0)>(d[g+6>>0]|0|0)?316088:g+16+(i+-1<<4)|0}}else{g=(c[g>>2]|0)+(q<<4)|0;g=g>>>0>>0?g:316088}while(0);c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];j=c[t>>2]|0;k=j+16|0;c[t>>2]=k;i=(c[r>>2]|0)+280+(((264508>>>0)%127|0)<<2)|0;g=c[i>>2]|0;if(wN(264508,g+16|0)|0){g=jx(s,264508,4)|0;c[i>>2]=g}c[k>>2]=g;c[j+24>>2]=(a[g+4>>0]|64)&255;k=c[t>>2]|0;c[t>>2]=k+16;xx(s,j+-16|0,k,k+-16|0);k=(c[t>>2]|0)+-32|0;c[t>>2]=k}else k=g;if((p|0)>-16){i=c[c[o>>2]>>2]|0;g=i+(q+1<<4)|0;if(k>>>0>>0){i=(i+(q<<4)+8+4+(3-k)|0)>>>4;j=k;do{c[j+8>>2]=0;j=j+16|0}while(j>>>0>>0);c[t>>2]=k+(i+1<<4)}}else g=k+(q+1<<4)|0;c[t>>2]=g;Tm(e);o=c[u>>2]|0;g=c[c[o+16>>2]>>2]|0;n=o+8|0;i=c[n>>2]|0;j=g+16|0;if(i>>>0>>0){k=(g+8+4+(3-i)|0)>>>4;m=i;while(1){c[m+8>>2]=0;if(m>>>0>>0)m=m+16|0;else break}c[n>>2]=i+(k+1<<4)}c[n>>2]=j;c[w>>2]=90311;c[w+4>>2]=172730;if(Rv(o,7,w,264513,0)|0){e=c[e+2588588>>2]|0;Bg[c[e+4>>2]&255](c[e+36>>2]|0,264528);e=0;l=y;return e|0}i=(c[n>>2]|0)+-16|0;j=o+106|0;g=(b[j>>1]|0)+1<<16>>16;b[j>>1]=g;if((g&65535)>199){if(g<<16>>16==200)_v(o,279702,v);if((g&65535)>224)cw(o,6)}g=o+104|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;if(!(gw(o,i,0)|0))Ex(o);b[g>>1]=(b[g>>1]|0)+-1<<16>>16;b[j>>1]=(b[j>>1]|0)+-1<<16>>16;c[w>>2]=264558;c[w+4>>2]=100;if(Rv(o,7,w,264659,0)|0){e=c[e+2588588>>2]|0;Bg[c[e+4>>2]&255](c[e+36>>2]|0,264678);e=0;l=y;return e|0}Gv(o,f);f=(c[n>>2]|0)+-32|0;c[w>>2]=f;c[w+4>>2]=1;if(!(mw(o,148,w,f-(c[o+28>>2]|0)|0,0)|0)){e=1;l=y;return e|0}g=c[n>>2]|0;switch(c[g+-8>>2]&15){case 4:{g=g+-16|0;break}case 3:{x=87;break}default:{e=1;l=y;return e|0}}if((x|0)==87){if((c[(c[o+12>>2]|0)+12>>2]|0)>0){Ew(o);g=c[n>>2]|0}g=g+-16|0;Jw(o,g)}e=c[e+2588588>>2]|0;Bg[c[e+4>>2]&255](c[e+36>>2]|0,(c[g>>2]|0)+16|0);e=0;l=y;return e|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,m=0;c[d>>2]=0;e=c[79951]|0;if(e|0){UM(e);c[79951]=0}f=zP(b,264496)|0;if(!f){d=0;return d|0}l=b;g=0;j=0;e=0;while(1){k=f+3|0;a:do if(f>>>0>=b>>>0)do{i=a[f>>0]|0;if(i<<24>>24==95|(aO(i<<24>>24)|0)!=0)break a;f=f+-1|0}while(f>>>0>=b>>>0);while(0);i=f+-1|0;b:do if(i>>>0>>0)h=f;else{h=f;do{m=a[i>>0]|0;if(!(m<<24>>24==95|(aO(m<<24>>24)|0)!=0))break b;h=h+-1|0;i=i+-1|0}while(i>>>0>=b>>>0)}while(0);if(f>>>0>h>>>0){if(!g)g=TM(8)|0;else g=VM(j,(c[d>>2]<<3)+8|0)|0;c[79951]=g;e=c[d>>2]|0;c[g+(e<<3)>>2]=h-l;c[g+(e<<3)+4>>2]=f+1-h;c[d>>2]=(c[d>>2]|0)+1;e=g;h=g}else h=j;f=zP(k,264496)|0;if(!f)break;else j=h}return e|0}function In(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=Fp(a,d)|0;c[f>>2]=e;c[f+4>>2]=g;c[f+8>>2]=d;ao(a,268491,b|100663296,271714,f)}function Jn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Oq(a,c>>>24,d,b,c&16777215)}function Kn(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(d>>>0>2147483646)Jn(a,268429,50331680,268447);h=c[a+44>>2]|0;i=h+36|0;l=c[i>>2]|0;c[i>>2]=l+-1;if((l|0)<1)Ln(h,2);f=h+8|0;g=h+16|0;l=b+20|0;e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;i=(d|0)==0;if(!(i|(e|0)!=0)){Ln(h,0);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,0);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,1);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,1);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,1);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,1);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,1);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,1);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,1);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){Ln(h,1);e=ig[c[f>>2]&63](c[g>>2]|0,c[l>>2]|0,d)|0;if(!e){e=0;j=8}else k=e}else k=e}else k=e}else k=e}else k=e}else k=e}else k=e}else k=e}else k=e}else k=e}else j=8;if((j|0)==8)if(i|(e|0)!=0)k=e;else Mn(a,268429,69);e=b+16|0;f=c[e>>2]|0;if(f>>>0>=d>>>0){c[e>>2]=d;c[l>>2]=k;return}EQ(k+f|0,0,d-f|0)|0;c[e>>2]=d;c[l>>2]=k;return} +function Ng(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function Og(){return l|0}function Pg(a){a=a|0;l=a}function Qg(a,b){a=a|0;b=b|0;l=a;m=b}function Rg(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Sg(a){a=a|0;z=a}function Tg(){return z|0}function Ug(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,m=0,n=0,o=0;o=l;l=l+32|0;i=o+8|0;m=o+12|0;if(!b){n=0;l=o;return n|0}h=c[79957]|0;if(!h){_D(310223,o);n=0;l=o;return n|0}g=c[h+248>>2]|0;if(!g){g=c[h+288>>2]|0;if(!g){n=0;l=o;return n|0}if(!(a[g>>0]|0)){n=0;l=o;return n|0}else j=10}else{if(!(gg[g&511](h)|0)){n=0;l=o;return n|0}g=c[79957]|0;if(!g){_D(310165,i);k=aP(334803)|0}else{h=g;j=10}}do if((j|0)==10){g=c[h+244>>2]|0;if(!g){k=c[h+288>>2]|0;k=aP(k|0?k:334803)|0;break}else{k=gg[g&511](h)|0;break}}while(0);if(!k){n=0;l=o;return n|0}if(f){j=JO(k)|0;if((j|0)>0){g=0;i=0;do{h=a[k+i>>0]|0;if(!(kN(h<<24>>24)|0)){a[k+g>>0]=h;g=g+1|0}i=i+1|0}while((i|0)!=(j|0))}else g=0;a[k+g>>0]=0}g=JO(k)|0;f=(g|0)==(d<<1|0);if(f?(a[m>>0]=a[38110]|0,a[m+1>>0]=a[38111]|0,a[m+2>>0]=a[38112]|0,a[m+3>>0]=a[38113]|0,a[m+4>>0]=a[38114]|0,n=(g|0)/2|0,(g|0)>1):0){j=m+(e?3:2)|0;i=m+(e?2:3)|0;g=k;h=0;while(1){a[j>>0]=a[g>>0]|0;a[i>>0]=a[g+1>>0]|0;a[b+h>>0]=nN(m)|0;h=h+1|0;if((h|0)>=(n|0))break;else g=g+2|0}}UM(k);n=f;l=o;return n|0}function Vg(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=0;l=-1;do{j=h*7|0;g=c[48]|0;e=j+7|0;if(!((g|0)>=(e|0)|(g|0)<(j|0)|(c[49]|0)>>>0>6)){c[68]=11;KP(804,c[968+(h<<2)>>2]|0,39)|0;if((((a[205]|0)!=0?(i=c[52]|0,(i|0)>=(j|0)):0)?(i|0)<(e|0)&(c[53]|0)>>>0<7:0)?(g=c[54]|0,(g|0)>=(j|0)&(g|0)<(e|0)&(c[55]|0)>>>0<7):0){a[205]=0;Wg(c[988+(h<<2)>>2]|0);e=3}else e=3}else e=10;l=(c[45]|0)==(c[988+(h<<2)>>2]|0)?h:l;f=(l|0)==(h|0);if(f){Xg(j,0,38115,d);g=h<<3;Xg(j,1,38123+g|0,0)}else g=h<<3;Xg(j,0,38123+g|0,f?15:e);h=h+1|0}while((h|0)!=5);if((l|0)>-1)g=0;else return;do{f=g*7|0;h=f+144|0;j=c[48]|0;f=f+151|0;a:do if(!((c[49]|0)>>>0>6|((j|0)>=(f|0)|(j|0)<(h|0)))){c[68]=11;e=c[1048+(g<<2)>>2]&255;KP(804,c[1088+(g<<2)>>2]|0,39)|0;if(a[204]|0?(j=c[52]|0,!((j|0)>=(f|0)|(j|0)<(h|0)|(c[53]|0)>>>0>6)):0){f=15;break}if((((a[205]|0)!=0?(k=c[52]|0,(k|0)>=(h|0)):0)?(k|0)<(f|0)&(c[53]|0)>>>0<7:0)?(j=c[54]|0,(j|0)>=(h|0)&(j|0)<(f|0)&(c[55]|0)>>>0<7):0){a[205]=0;f=c[1068+(g<<2)>>2]|0;switch(c[45]|0){case 3:{j=c[864+((a[754]|0)*20|0)>>2]|0;Bg[c[j+65728>>2]&255](j,f);f=e;e=15;break a}case 4:{j=c[864+((a[755]|0)*20|0)+4>>2]|0;Bg[c[j+68>>2]&255](j,f);f=e;e=15;break a}case 5:{j=c[864+((a[756]|0)*20|0)+8>>2]|0;Bg[c[j+120>>2]&255](j,f);f=e;e=15;break a}case 7:{j=c[864+((a[757]|0)*20|0)+12>>2]|0;Bg[c[j+40>>2]&255](j,f);f=e;e=15;break a}case 8:{j=c[864+((a[758]|0)*20|0)+16>>2]|0;Bg[c[j+96>>2]&255](j,f);f=e;e=15;break a}default:{f=e;e=15;break a}}}else{f=e;e=15}}else{f=10;e=15}while(0);Gg[c[(c[12>>2]|0)+2439688>>2]&7](b,h,0,7,7,e);Xg(h,0,38328+(g<<3)|0,f);g=g+1|0}while((g|0)!=5);if(a[752]|0)return;k=(JO(804)|0)==0;e=c[(c[3]|0)+2439660>>2]|0;if(k){lg[e&31](b,c[1008+(l<<2)>>2]|0,42,1,3)|0;return}else{lg[e&31](b,804,42,1,0)|0;return}}function Wg(b){b=b|0;var d=0,e=0;d=c[45]|0;if((d|0)==(b|0))return;if((d|0)==2){e=c[3]|0;vg[c[e+2439784>>2]&511](e)}if((b|0)!=2){e=c[3]|0;vg[c[e+2439780>>2]&511](e)}switch(d|0){case 11:case 10:case 9:case 2:case 1:case 0:break;case 12:{c[46]=3;break}default:c[46]=d}switch(b|0){case 6:{Tj(c[224]|0,c[3]|0,c[864+((a[756]|0)*20|0)+8>>2]|0);break}case 2:{li(c[223]|0,c[222]|0,c[3]|0);break}case 12:{e=c[229]|0;vg[c[e+48>>2]&511](e);break}default:{}}c[45]=b;b=c[79957]|0;if(!b)return;d=c[b+224>>2]|0;if(!d)return;if(!(gg[d&511](b)|0))return;if((c[45]|2|0)!=3)return;PM();return}function Xg(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;k=b+7|0;l=b+1|0;m=b+2|0;n=b+3|0;o=b+4|0;p=b+5|0;j=b+6|0;i=0;while(1){h=i+d|0;g=a[e>>0]|0;if(g&1){g=c[3]|0;Eg[c[g+2439676>>2]&63](g,k,h,f);g=a[e>>0]|0}if(g&2){g=c[3]|0;Eg[c[g+2439676>>2]&63](g,j,h,f);g=a[e>>0]|0}if(g&4){g=c[3]|0;Eg[c[g+2439676>>2]&63](g,p,h,f);g=a[e>>0]|0}if(g&8){g=c[3]|0;Eg[c[g+2439676>>2]&63](g,o,h,f);g=a[e>>0]|0}if(g&16){g=c[3]|0;Eg[c[g+2439676>>2]&63](g,n,h,f);g=a[e>>0]|0}if(g&32){g=c[3]|0;Eg[c[g+2439676>>2]&63](g,m,h,f);g=a[e>>0]|0}if(g&64){g=c[3]|0;Eg[c[g+2439676>>2]&63](g,l,h,f);g=a[e>>0]|0}if(g<<24>>24<=-1){g=c[3]|0;Eg[c[g+2439676>>2]&63](g,b,h,f)}i=i+1|0;if((i|0)==8)break;else e=e+1|0}return}function Yg(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;n=l;l=l+176|0;h=n;i=n+152|0;if(c[45]|0){f=(c[3]|0)+81920|0;c[h+8>>2]=1732584193;c[h+12>>2]=-271733879;c[h+16>>2]=-1732584194;c[h+20>>2]=271733878;c[h>>2]=0;j=h+4|0;c[j>>2]=0;k=h+24|0;g=1178356;e=0;d=0;while(1){b=(g|0)<512?g:512;o=e+b&536870911;c[h>>2]=o;if(o>>>0>>0){d=d+1|0;c[j>>2]=d}c[j>>2]=d+(b>>>29);d=e&63;do if(d){e=64-d|0;d=h+24+d|0;if(b>>>0>>0){CQ(d|0,f|0,b|0)|0;break}else{CQ(d|0,f|0,e|0)|0;si(h,k,64)|0;d=f+e|0;b=b-e|0;m=9;break}}else{d=f;m=9}while(0);if((m|0)==9){m=0;if(b>>>0>63){d=si(h,d,b&-64)|0;b=b&63}CQ(k|0,d|0,b|0)|0}if((g|0)<=512)break;f=f+512|0;g=g+-512|0;e=c[h>>2]|0;d=c[j>>2]|0}ti(i,h);if(xN(i,16,16)|0){if((c[45]|0)==10){l=n;return}b=c[227]|0;e=c[3]|0;d=b+8|0;o=c[d>>2]|0;c[b>>2]=e;a[b+4>>0]=0;c[b+12>>2]=116;c[b+16>>2]=0;c[b+20>>2]=1028;c[b+24>>2]=5;k=b+28|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;a[k+20>>0]=0;c[b+52>>2]=180;c[b+56>>2]=181;b=o;if(!o){b=TM(16320)|0;c[d>>2]=b;if(b|0)m=18}else m=18;if((m|0)==18)CQ(b|0,e|0,16320)|0;b=c[45]|0;c[47]=b;a:do switch(b|0){case 2:{o=c[3]|0;vg[c[o+2439784>>2]&511](o);o=c[3]|0;vg[c[o+2439780>>2]&511](o);break}case 10:{l=n;return}default:{o=c[3]|0;vg[c[o+2439780>>2]&511](o);switch(b|0){case 9:case 11:case 1:case 0:break a;case 12:{c[46]=3;break a}default:{c[46]=b;break a}}}}while(0);c[45]=10;b=c[79957]|0;if(!b){l=n;return}d=c[b+224>>2]|0;if(!d){l=n;return}if(!(gg[d&511](b)|0)){l=n;return}if((c[45]|2|0)!=3){l=n;return}PM();l=n;return}}a[924]=1;l=n;return}function Zg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if((c[45]|0)==10)return;j=c[227]|0;g=c[3]|0;f=j+8|0;i=c[f>>2]|0;c[j>>2]=g;a[j+4>>0]=0;c[j+12>>2]=117;c[j+16>>2]=e;c[j+20>>2]=b;c[j+24>>2]=d;b=j+28|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;a[b+20>>0]=0;c[j+52>>2]=180;c[j+56>>2]=181;b=i;if(!i){b=TM(16320)|0;c[f>>2]=b;if(b|0)h=4}else h=4;if((h|0)==4)CQ(b|0,g|0,16320)|0;b=c[45]|0;c[47]=b;a:do switch(b|0){case 2:{j=c[3]|0;vg[c[j+2439784>>2]&511](j);j=c[3]|0;vg[c[j+2439780>>2]&511](j);break}case 10:return;default:{j=c[3]|0;vg[c[j+2439780>>2]&511](j);switch(b|0){case 9:case 11:case 1:case 0:break a;case 12:{c[46]=3;break a}default:{c[46]=b;break a}}}}while(0);c[45]=10;b=c[79957]|0;if(!b)return;d=c[b+224>>2]|0;if(!d)return;if(!(gg[d&511](b)|0))return;if((c[45]|2|0)!=3)return;PM();return}function _g(b,c){b=b|0;c=c|0;a[924]=b&1;return}function $g(){var b=0,d=0,e=0,f=0,g=0;d=c[229]|0;g=c[3]|0;f=c[222]|0;b=c[f+4916>>2]|0;e=TM(4104)|0;EQ(e|0,0,4104)|0;c[d>>2]=g;c[d+4>>2]=b;c[d+8>>2]=f;c[d+12>>2]=e;c[d+16>>2]=317012;a[d+20>>0]=0;e=d+24|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[d+44>>2]=182;c[d+48>>2]=183;Hi(b,88586);b=c[45]|0;a:do switch(b|0){case 2:{g=c[3]|0;vg[c[g+2439784>>2]&511](g);g=c[3]|0;vg[c[g+2439780>>2]&511](g);break}case 12:return;default:{g=c[3]|0;vg[c[g+2439780>>2]&511](g);switch(b|0){case 10:case 9:case 11:case 1:case 0:break a;default:{}}c[46]=b}}while(0);b=c[229]|0;vg[c[b+48>>2]&511](b);c[45]=12;b=c[79957]|0;if(!b)return;d=c[b+224>>2]|0;if(!d)return;if(!(gg[d&511](b)|0))return;if((c[45]|2|0)!=3)return;PM();return}function ah(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+4128|0;d=k+16|0;b=k;i=k+24|0;CQ(i|0,38438,4096)|0;a=(c[222]|0)+4920|0;if(JO(a)|0){c[b>>2]=42542;c[b+4>>2]=a;zN(i,42534,b)|0}e=c[10]|0;a=c[79957]|0;do if(!a)_D(288260,k+8|0);else{if(e|0?(c[e>>2]|0)==(a+280|0):0){a=e+8|0;b=c[a>>2]|0;if((b|0)==(i|0))break;UM(b);c[a>>2]=aP(i)|0;a=c[79957]|0;b=c[a+40>>2]|0;if(!b)break;Bg[b&255](a,e);break}_D(307482,d)}while(0);e=(c[3]|0)+81920|0;c[i+8>>2]=1732584193;c[i+12>>2]=-271733879;c[i+16>>2]=-1732584194;c[i+20>>2]=271733878;c[i>>2]=0;g=i+4|0;c[g>>2]=0;h=i+24|0;f=1178356;d=0;b=0;while(1){a=(f|0)<512?f:512;m=d+a&536870911;c[i>>2]=m;if(m>>>0>>0){b=b+1|0;c[g>>2]=b}c[g>>2]=b+(a>>>29);b=d&63;do if(b){d=64-b|0;b=i+24+b|0;if(a>>>0>>0){CQ(b|0,e|0,a|0)|0;break}else{CQ(b|0,e|0,d|0)|0;si(i,h,64)|0;b=e+d|0;a=a-d|0;j=18;break}}else{b=e;j=18}while(0);if((j|0)==18){j=0;if(a>>>0>63){b=si(i,b,a&-64)|0;a=a&63}CQ(h|0,b|0,a|0)|0}if((f|0)<=512)break;e=e+512|0;f=f+-512|0;d=c[i>>2]|0;b=c[g>>2]|0}ti(16,i);j=c[222]|0;j=Gi(c[j+4916>>2]|0,j+4920|0)|0;m=32;c[m>>2]=j;c[m+4>>2]=z;l=k;return}function bh(){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;n=l;l=l+4128|0;f=n+16|0;e=n;k=n+24|0;d=c[3]|0;b[377]=0;b[378]=0;a[758]=0;$j(c[216]|0,d,d+147352|0);Oi(c[217]|0,c[3]|0,d+81920|0);gj(c[218]|0,c[3]|0,d+98304|0);tj(c[219]|0,c[3]|0,d+130944|0);Dj(c[220]|0,c[3]|0,d+135424|0);Tj(c[224]|0,c[3]|0,c[864+((a[756]|0)*20|0)+8>>2]|0);CQ(k|0,38438,4096)|0;d=(c[222]|0)+4920|0;if(JO(d)|0){c[e>>2]=42542;c[e+4>>2]=d;zN(k,42534,e)|0}g=c[10]|0;d=c[79957]|0;do if(!d)_D(288260,n+8|0);else{if(g|0?(c[g>>2]|0)==(d+280|0):0){d=g+8|0;e=c[d>>2]|0;if((e|0)==(k|0))break;UM(e);c[d>>2]=aP(k)|0;d=c[79957]|0;e=c[d+40>>2]|0;if(!e)break;Bg[e&255](d,g);break}_D(307482,f)}while(0);g=(c[3]|0)+81920|0;c[k+8>>2]=1732584193;c[k+12>>2]=-271733879;c[k+16>>2]=-1732584194;c[k+20>>2]=271733878;c[k>>2]=0;i=k+4|0;c[i>>2]=0;j=k+24|0;h=1178356;f=0;e=0;while(1){d=(h|0)<512?h:512;o=f+d&536870911;c[k>>2]=o;if(o>>>0>>0){e=e+1|0;c[i>>2]=e}c[i>>2]=e+(d>>>29);e=f&63;do if(e){f=64-e|0;e=k+24+e|0;if(d>>>0>>0){CQ(e|0,g|0,d|0)|0;break}else{CQ(e|0,g|0,f|0)|0;si(k,j,64)|0;e=g+f|0;d=d-f|0;m=18;break}}else{e=g;m=18}while(0);if((m|0)==18){m=0;if(d>>>0>63){e=si(k,e,d&-64)|0;d=d&63}CQ(j|0,e|0,d|0)|0}if((h|0)<=512)break;g=g+512|0;h=h+-512|0;f=c[k>>2]|0;e=c[i>>2]|0}ti(16,k);m=c[222]|0;m=Gi(c[m+4916>>2]|0,m+4920|0)|0;o=32;c[o>>2]=m;c[o+4>>2]=z;l=n;return}function ch(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+176|0;g=m;h=m+152|0;e=(c[3]|0)+81920|0;c[g+8>>2]=1732584193;c[g+12>>2]=-271733879;c[g+16>>2]=-1732584194;c[g+20>>2]=271733878;c[g>>2]=0;i=g+4|0;c[i>>2]=0;j=g+24|0;f=1178356;d=0;b=0;while(1){a=(f|0)<512?f:512;n=d+a&536870911;c[g>>2]=n;if(n>>>0>>0){b=b+1|0;c[i>>2]=b}c[i>>2]=b+(a>>>29);b=d&63;do if(b){d=64-b|0;b=g+24+b|0;if(a>>>0>>0){CQ(b|0,e|0,a|0)|0;break}else{CQ(b|0,e|0,d|0)|0;si(g,j,64)|0;b=e+d|0;a=a-d|0;k=8;break}}else{b=e;k=8}while(0);if((k|0)==8){k=0;if(a>>>0>63){b=si(g,b,a&-64)|0;a=a&63}CQ(j|0,b|0,a|0)|0}if((f|0)<=512)break;e=e+512|0;f=f+-512|0;d=c[g>>2]|0;b=c[i>>2]|0}ti(h,g);n=(xN(h,16,16)|0)!=0;l=m;return n|0}function dh(){var a=0,b=0;a=c[3]|0;vg[c[a+2439780>>2]&511](a);a=c[45]|0;switch(a|0){case 2:{li(c[223]|0,c[222]|0,c[3]|0);return}case 11:case 10:case 9:case 1:case 0:break;case 12:{c[46]=3;break}default:c[46]=a}li(c[223]|0,c[222]|0,c[3]|0);c[45]=2;a=c[79957]|0;if(!a)return;b=c[a+224>>2]|0;if(!b)return;if(!(gg[b&511](a)|0))return;if((c[45]|2|0)!=3)return;PM();return}function eh(){var f=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,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,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;ea=l;l=l+4320|0;ba=ea+4312|0;aa=ea+4304|0;$=ea+4296|0;_=ea+4288|0;W=ea+4280|0;V=ea+4272|0;U=ea+4264|0;T=ea+4256|0;Q=ea+4248|0;P=ea+4240|0;S=ea+4232|0;A=ea+4224|0;C=ea+4216|0;B=ea+4208|0;Z=ea+4200|0;Y=ea+4192|0;X=ea+4184|0;R=ea+4176|0;D=ea+4168|0;M=ea+4160|0;L=ea+4152|0;K=ea+4144|0;N=ea+4136|0;E=ea+4128|0;J=ea+4120|0;I=ea+4112|0;H=ea+4104|0;G=ea+4096|0;F=ea;f=c[79957]|0;if(f|0)vg[c[f+204>>2]&511](f);if(!(((((((((((((((c[79997]|0)!=0?(o=c[79997]|0,(o|0)!=0):0)?(c[o>>2]&1|0)!=0:0)?(n=c[79997]|0,(n|0)!=0):0)?(c[n>>2]&2|0)!=0:0)?(h=c[79997]|0,(h|0)!=0):0)?(c[h>>2]&4|0)!=0:0)?(i=c[79997]|0,(i|0)!=0):0)?(c[i>>2]&8|0)!=0:0)?(j=c[79997]|0,(j|0)!=0):0)?(c[j>>2]&16|0)!=0:0)?(k=c[79997]|0,(k|0)!=0):0)?(c[k>>2]&32|0)!=0:0)?(m=c[79997]|0,(m|0)!=0):0)?(c[m>>2]&64|0)!=0:0))da=7;if((da|0)==7?(p=c[80956]|0,p|0):0){q=F+8|0;r=F+12|0;s=F+13|0;t=F+8|0;u=F+12|0;v=F+13|0;w=F+4|0;x=F+4|0;do{n=p;p=c[p+60>>2]|0;c[80957]=n;MM(n);o=n+52|0;if(c[o>>2]|0){h=n+8|0;if((c[h>>2]|0)>0){i=n+16|0;f=0;do{NM(n,f&255,b[(c[i>>2]|0)+(f<<1)>>1]|0);f=f+1|0}while((f|0)<(c[h>>2]|0))}k=n+36|0;f=c[k>>2]|0;if((f|0)>0){m=n+40|0;j=0;do{h=j&255;c[F>>2]=1540;i=j&255;do if((i|0)<(f|0)?(y=(c[m>>2]|0)+i|0,a[y>>0]|0):0){a[y>>0]=0;i=c[F>>2]|0;f=c[319964+((i>>>8&255)<<2)>>2]|0;if(f|0?c[f+((i>>>5&7)<<2)>>2]&1<<(i&31)|0:0)break;c[t>>2]=c[n>>2];a[u>>0]=h;a[v>>0]=0;c[w>>2]=uI()|0;f=c[80247]|0;if(f|0)do{hg[c[f>>2]&63](c[f+4>>2]|0,F)|0;f=c[f+8>>2]|0}while((f|0)!=0);if((vI(F,1,0,0,0)|0)>=1)wI(F)}while(0);j=j+1|0;f=c[k>>2]|0}while((j|0)<(f|0))}k=n+20|0;f=c[k>>2]|0;if((f|0)>0){m=n+24|0;j=0;do{h=j&255;i=j&255;do if((i|0)<(f|0)?(z=(c[m>>2]|0)+i|0,a[z>>0]|0):0){a[z>>0]=0;i=c[79997]|0;if(i|0?c[i>>2]&4|0:0)break;c[F>>2]=1538;c[q>>2]=c[n>>2];a[r>>0]=h;a[s>>0]=0;c[x>>2]=uI()|0;f=c[80247]|0;if(f|0)do{hg[c[f>>2]&63](c[f+4>>2]|0,F)|0;f=c[f+8>>2]|0}while((f|0)!=0);if((vI(F,1,0,0,0)|0)>=1)wI(F)}while(0);j=j+1|0;f=c[k>>2]|0}while((j|0)<(f|0))}c[o>>2]=0}c[80957]=0;if((c[n+48>>2]|0)<1)CM(n)}while((p|0)!=0)}do if(c[79990]|0){c[79990]=0;z=c[79992]|0;if(z|0?c[z>>2]&1|0:0)break;c[F>>2]=256;c[F+4>>2]=uI()|0;f=c[80247]|0;if(f|0)do{hg[c[f>>2]&63](c[f+4>>2]|0,F)|0;f=c[f+8>>2]|0}while((f|0)!=0);if((vI(F,1,0,0,0)|0)>=1)wI(F)}while(0);switch(vI(316032,1,2,0,65535)|0){case 0:case -1:{a:do if((c[45]|0)==2)da=359;else{f=c[80896]|0;if((f|0)<=0){_D(298246,A);f=c[80896]|0;if((f|0)>0){o=0;p=0;da=337}}else{p=c[c[80897]>>2]|0;o=c[p>>2]|0;p=c[p+4>>2]|0;da=337}b:do if((da|0)==337){k=c[80897]|0;h=0;while(1){i=c[k+(h<<2)>>2]|0;Z=i;if((c[Z>>2]|0)==(o|0)?(c[Z+4>>2]|0)==(p|0):0)break;h=h+1|0;if((h|0)>=(f|0))break b}if((h|0)>-1&(h|0)<(f|0)){if(!i){da=359;break a}if((c[i+8>>2]|0)==2)h=0;else{da=359;break a}while(1){i=c[k+(h<<2)>>2]|0;Z=i;if((c[Z>>2]|0)==(o|0)?(c[Z+4>>2]|0)==(p|0):0)break;j=h+1|0;if((j|0)<(f|0))h=j;else{da=347;break}}if((da|0)==347)_D(298246,P);if(!((h|0)>-1&(h|0)<(f|0)))_D(298246,P);if((c[i+8>>2]|0)<=0)_D(309966,Q);i=c[c[i+16>>2]>>2]|0;h=~~(+g[i+8>>2]*240.0);i=~~(+g[i+12>>2]*136.0);j=c[80896]|0;if((j|0)<=0)_D(298246,T);k=c[80897]|0;f=0;while(1){m=c[k+(f<<2)>>2]|0;Z=m;if((c[Z>>2]|0)==(o|0)?(c[Z+4>>2]|0)==(p|0):0)break;n=f+1|0;if((n|0)<(j|0))f=n;else{da=355;break}}if((da|0)==355)_D(298246,T);if(!((f|0)>-1&(f|0)<(j|0)))_D(298246,T);if((c[m+8>>2]|0)>0){Y=c[c[m+16>>2]>>2]|0;Z=(~~(+g[Y+12>>2]*136.0)+i|0)/2|0;c[69]=(~~(+g[Y+8>>2]*240.0)+h|0)/2|0;c[70]=Z;a[284]=1;break a}else _D(309966,U)}}while(0);_D(298246,S);da=359}while(0);do if((da|0)==359?(a[284]|0)==0:0){c[48]=c[79974];c[49]=c[79975];c[50]=c[79980];h=c[10]|0;f=c[79957]|0;do if(!f){_D(288260,V);i=0;j=0}else{if(h|0?(c[h>>2]|0)==(f+280|0):0){i=c[h+24>>2]|0;j=c[h+28>>2]|0;break}_D(307482,W);i=0;j=0}while(0);do if((i*136|0)<(j*240|0)){h=(i|0)%240|0;f=i-h|0;k=(f*136|0)/240|0;h=(h|0)/2|0;if((i|0)>(j|0)){m=k;i=(j-k|0)/2|0;break}else{m=k;i=(f|0)/30|0;break}}else{da=(j|0)%136|0;m=j-da|0;f=(m*240|0)/136|0;h=(i-f|0)/2|0;i=(da|0)/2|0}while(0);if(f|0)c[48]=(((c[48]|0)-h|0)*240|0)/(f|0)|0;f=c[49]|0;if(m){f=((f-i|0)*136|0)/(m|0)|0;c[49]=f}i=c[50]|0;j=c[48]|0;h=(i&1|0)==0;if(!(a[204]|0)){if(!h){a[204]=1;c[52]=j;c[53]=f}}else if(h){c[54]=j;c[55]=f;a[205]=1;a[204]=0}h=(i&2|0)==0;if(!(a[224]|0)){if(!h){a[224]=1;c[57]=j;c[58]=f}}else if(h){c[59]=j;c[60]=f;a[225]=1;a[224]=0}h=(i&4|0)==0;if(!(a[244]|0)){if(h)break;a[244]=1;c[62]=j;c[63]=f;break}else{if(!h)break;c[64]=j;c[65]=f;a[245]=1;a[244]=0;break}}while(0);if((c[45]|0)!=2){lh();da=0;l=ea;return da|0}f=c[3]|0;h=a[f+2440920>>0]|0;if(h&1){lh();h=c[3]|0;f=h;h=a[h+2440920>>0]|0}if(h&2){f=c[41]|0;c:do if((f|0)!=0?(c[f+44>>2]|0)!=0:0){j=f+36|0;k=c[j>>2]|0;if((k|0)>5){h=f+40|0;f=5;do{i=c[j>>2]|0;if((i|0)>(f|0)){if(a[(c[h>>2]|0)+f>>0]|0){da=402;break c}}else{c[_>>2]=i;_D(310026,_)}f=f+1|0}while((f|0)<(k|0))}a[704]=0;f=1;da=411}else{f=0;da=411}while(0);d:do if((da|0)==411){h=c[42]|0;if((h|0)!=0?(c[h+44>>2]|0)!=0:0)if((f|0)==0|685!=0){k=h+36|0;m=c[k>>2]|0;if((m|0)>5){i=h+40|0;h=5;do{j=c[k>>2]|0;if((j|0)>(h|0)){if(a[(c[i>>2]|0)+h>>0]|0){da=402;break d}}else{c[$>>2]=j;_D(310026,$)}h=h+1|0}while((h|0)<(m|0))}a[704]=0;f=f+1|0}else f=1;h=c[43]|0;e:do if((h|0)!=0?(c[h+44>>2]|0)!=0:0){switch(f|0){case 0:break;case 1:{if(!685){f=1;break e}break}default:break e}k=h+36|0;m=c[k>>2]|0;if((m|0)>5){i=h+40|0;h=5;do{j=c[k>>2]|0;if((j|0)>(h|0)){if(a[(c[i>>2]|0)+h>>0]|0){da=402;break d}}else{c[aa>>2]=j;_D(310026,aa)}h=h+1|0}while((h|0)<(m|0))}a[704]=0;f=f+1|0}while(0);h=c[44]|0;if(h|0?c[h+44>>2]|0:0){switch(f|0){case 0:break;case 1:{if(!685)break d;break}default:break d}j=h+36|0;k=c[j>>2]|0;if((k|0)>5){h=h+40|0;f=5;do{i=c[j>>2]|0;if((i|0)>(f|0)){if(a[(c[h>>2]|0)+f>>0]|0){da=402;break d}}else{c[ba>>2]=i;_D(310026,ba)}f=f+1|0}while((f|0)<(k|0))}a[704]=0}}while(0);f:do if((da|0)==402?(a[704]|0)==0:0){g:do switch(c[45]|0){case 2:{if(!(a[(c[222]|0)+13125>>0]|0))break f;f=c[3]|0;vg[c[f+2439784>>2]&511](f);f=c[3]|0;vg[c[f+2439780>>2]&511](f);f=c[228]|0;i=c[3]|0;ba=c[230]|0;h=f+12|0;da=c[h>>2]|0;c[f>>2]=i;c[f+4>>2]=ba;a[f+8>>0]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=-1;ba=f+32|0;c[ba>>2]=0;c[ba+4>>2]=0;c[ba+8>>2]=0;c[ba+12>>2]=0;a[ba+16>>0]=0;c[f+52>>2]=0;c[f+56>>2]=184;f=da;if(!da){f=TM(16320)|0;c[h>>2]=f;if(!f){f=11;break g}}CQ(f|0,i|0,16320)|0;f=11;break}case 11:{f=c[3]|0;vg[c[f+2439788>>2]&511](f);f=2;break}default:break f}while(0);c[45]=f;a[704]=1}while(0);da=c[48]|0;h=c[49]|0;da=(da|0)>0?da:0;h=(h|0)>0?h:0;f=c[3]|0;a[f+65412>>0]=(da|0)<239?da:239;a[f+65413>>0]=(h|0)<135?h:135;h=f+65414|0;b[h>>1]=b[h>>1]&-8|d[204]|a[224]<<1&255|a[244]<<2&255;h=a[f+2440920>>0]|0}if(!(h&4)){da=0;l=ea;return da|0}i=f+65416|0;c[i>>2]=0;c[72]=321022;h=0;f=0;do{if((a[321022+h>>0]|0)!=0?(ca=a[42648+h>>0]|0,ca<<24>>24!=0):0){a[i+f>>0]=ca;f=f+1|0}h=h+1|0}while(h>>>0<232&f>>>0<4);f=0;l=ea;return f|0}default:{}}switch(c[79008]|0){case 768:{if(a[316045]|0){da=316032;l=ea;return da|0}h=e[158028]|0;i=c[45]|0;h:do switch(i|0){case 1:if(!(a[(c[222]|0)+13124>>0]|0)){da=0;l=ea;return da|0}else{f=c[79013]|0;break h}case 2:{f=c[79013]|0;if(a[(c[222]|0)+13125>>0]|0)da=56;break}case 0:{da=0;l=ea;return da|0}default:{f=c[79013]|0;if((i|0)==11)da=56}}while(0);i:do if((da|0)==56){j:do if((f|0)<1073741889){if((f|0)>=27){if((f|0)<1073741888){switch(f|0){case 27:break j;default:f=316032}l=ea;return f|0}switch(f|0){case 1073741888:break;default:{da=316032;l=ea;return da|0}}f=c[3]|0;if((i|0)!=2){da=0;l=ea;return da|0}Eg[c[f+2439824>>2]&63](f,c[f+2439772>>2]|0,c[f+2439776>>2]|0,0);j=TM(130560)|0;if(!j){da=0;l=ea;return da|0}i=0;f=f+2445028|0;h=j;while(1){CQ(h|0,f+32|0,960)|0;i=i+1|0;if((i|0)==136)break;else{f=f+1024|0;h=h+960|0}}h=c[3]|0;xi(h+1129716|0,h+1129712|0,240,136,j,1,1);UM(j);c[190]=120;h=764;f=42574;i=h+21|0;do{a[h>>0]=a[f>>0]|0;h=h+1|0;f=f+1|0}while((h|0)<(i|0));da=0;l=ea;return da|0}switch(f|0){case 13:break;default:{da=316032;l=ea;return da|0}}if(!(h&512)){f=13;break i}k=a[860]|0;a[860]=k^1;j=c[10]|0;k=k<<24>>24==0?4097:0;f=c[79957]|0;if(!f){_D(288260,I);da=0;l=ea;return da|0}if(j|0?(c[j>>2]|0)==(f+280|0):0){f=j+48|0;h=c[f>>2]|0;i=h&4097;if((k|0)==(i|0)){da=0;l=ea;return da|0}c[f>>2]=h&-4098|k;if(!(sI(j,(k&1|0)!=0&(h&68|0)==4&1)|0)){da=0;l=ea;return da|0}c[f>>2]=c[f>>2]&-4098|i;da=0;l=ea;return da|0}_D(307482,J);da=0;l=ea;return da|0}else switch(f|0){case 1073742094:break j;case 1073741892:{k=a[860]|0;a[860]=k^1;j=c[10]|0;k=k<<24>>24==0?4097:0;f=c[79957]|0;if(!f){_D(288260,G);da=0;l=ea;return da|0}if(j|0?(c[j>>2]|0)==(f+280|0):0){f=j+48|0;h=c[f>>2]|0;i=h&4097;if((k|0)==(i|0)){da=0;l=ea;return da|0}c[f>>2]=h&-4098|k;if(!(sI(j,(k&1|0)!=0&(h&68|0)==4&1)|0)){da=0;l=ea;return da|0}c[f>>2]=c[f>>2]&-4098|i;da=0;l=ea;return da|0}_D(307482,H);da=0;l=ea;return da|0}case 1073741889:{c[213]=1;da=TM(147456)|0;c[212]=da;if(!da){da=0;l=ea;return da|0}a[844]=1;c[214]=0;da=0;l=ea;return da|0}default:{da=316032;l=ea;return da|0}}while(0);f=c[3]|0;do if((i|0)==11){vg[c[f+2439788>>2]&511](f);f=2}else{vg[c[f+2439784>>2]&511](f);f=c[3]|0;vg[c[f+2439780>>2]&511](f);f=c[228]|0;i=c[3]|0;ca=c[230]|0;h=f+12|0;da=c[h>>2]|0;c[f>>2]=i;c[f+4>>2]=ca;a[f+8>>0]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=-1;ca=f+32|0;c[ca>>2]=0;c[ca+4>>2]=0;c[ca+8>>2]=0;c[ca+12>>2]=0;a[ca+16>>0]=0;c[f+52>>2]=0;c[f+56>>2]=184;f=da;if(!da){f=TM(16320)|0;c[h>>2]=f;if(!f){f=11;break}}CQ(f|0,i|0,16320)|0;f=11}while(0);c[45]=f;a[704]=1;da=0;l=ea;return da|0}while(0);k:do if(!(h&256)){if((f|0)<1073741884){if((f|0)<114){switch(f|0){case 27:{da=253;break k}case 113:{da=207;break k}case 13:{da=234;break k}default:f=316032}l=ea;return f|0}if((f|0)<1073741882){switch(f|0){case 114:{da=209;break k}case 115:{da=219;break k}default:f=316032}l=ea;return f|0}switch(f|0){case 1073741882:{l:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 3:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 11:case 10:case 9:case 1:case 0:break l;case 12:{c[46]=3;break l}default:{c[46]=i;break l}}}}while(0);c[45]=3;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}case 1073741883:{m:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 4:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 10:case 9:case 1:case 11:break m;case 12:{c[46]=3;break m}default:{c[46]=i;break m}}}}while(0);c[45]=4;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}default:{da=316032;l=ea;return da|0}}}switch(f|0){case 1073741892:{da=226;break k}case 1073742094:{da=253;break k}case 1073741884:{n:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 5:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 10:case 9:case 1:case 11:break n;case 12:{c[46]=3;break n}default:{c[46]=i;break n}}}}while(0);c[45]=5;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}case 1073741885:{o:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 7:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 10:case 9:case 1:case 11:break o;case 12:{c[46]=3;break o}default:{c[46]=i;break o}}}}while(0);c[45]=7;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}case 1073741886:{p:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 8:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 10:case 9:case 1:case 11:break p;case 12:{c[46]=3;break p}default:{c[46]=i;break p}}}}while(0);c[45]=8;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}case 1073741888:{f=c[3]|0;if((i|0)!=2){da=0;l=ea;return da|0}Eg[c[f+2439824>>2]&63](f,c[f+2439772>>2]|0,c[f+2439776>>2]|0,0);j=TM(130560)|0;if(!j){da=0;l=ea;return da|0}i=0;f=f+2445028|0;h=j;while(1){CQ(h|0,f+32|0,960)|0;i=i+1|0;if((i|0)==136)break;else{f=f+1024|0;h=h+960|0}}h=c[3]|0;xi(h+1129716|0,h+1129712|0,240,136,j,1,1);UM(j);c[190]=120;h=764;f=42574;i=h+21|0;do{a[h>>0]=a[f>>0]|0;h=h+1|0;f=f+1|0}while((h|0)<(i|0));da=0;l=ea;return da|0}case 1073741889:{c[213]=1;da=TM(147456)|0;c[212]=da;if(!da){da=0;l=ea;return da|0}a[844]=1;c[214]=0;da=0;l=ea;return da|0}default:{da=316032;l=ea;return da|0}}}else{if((f|0)>=53){if((f|0)>=114)if((f|0)<1073741892){switch(f|0){case 114:{da=209;break k}case 115:{da=219;break k}default:f=316032}l=ea;return f|0}else{switch(f|0){case 1073742094:{da=253;break k}case 1073741892:{da=226;break k}default:f=316032}l=ea;return f|0}switch(f|0){case 113:{da=207;break k}case 96:{q:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 1:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 9:case 11:case 10:break q;case 12:{c[46]=3;break q}default:{c[46]=i;break q}}}}while(0);c[45]=1;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}case 53:{r:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 8:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 10:case 9:case 1:case 11:break r;case 12:{c[46]=3;break r}default:{c[46]=i;break r}}}}while(0);c[45]=8;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}default:{da=316032;l=ea;return da|0}}}switch(f|0){case 13:{da=234;break k}case 27:{da=253;break k}case 49:{s:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 3:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 11:case 10:case 9:case 1:case 0:break s;case 12:{c[46]=3;break s}default:{c[46]=i;break s}}}}while(0);c[45]=3;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}case 50:{t:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 4:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 10:case 9:case 1:case 11:break t;case 12:{c[46]=3;break t}default:{c[46]=i;break t}}}}while(0);c[45]=4;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}case 51:{u:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 5:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 10:case 9:case 1:case 11:break u;case 12:{c[46]=3;break u}default:{c[46]=i;break u}}}}while(0);c[45]=5;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}case 52:{v:do switch(i|0){case 2:{da=c[3]|0;vg[c[da+2439784>>2]&511](da);da=c[3]|0;vg[c[da+2439780>>2]&511](da);break}case 7:{da=0;l=ea;return da|0}default:{da=c[3]|0;vg[c[da+2439780>>2]&511](da);switch(i|0){case 10:case 9:case 1:case 11:break v;case 12:{c[46]=3;break v}default:{c[46]=i;break v}}}}while(0);c[45]=7;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}default:{da=316032;l=ea;return da|0}}}while(0);if((da|0)==207){if(!(h&3264)){da=316032;l=ea;return da|0}Yg();da=0;l=ea;return da|0}else if((da|0)==209){if(!(h&3264)){da=316032;l=ea;return da|0}f=c[3]|0;vg[c[f+2439780>>2]&511](f);f=c[45]|0;switch(f|0){case 2:{li(c[223]|0,c[222]|0,c[3]|0);da=0;l=ea;return da|0}case 11:case 10:case 9:case 1:case 0:break;case 12:{c[46]=3;break}default:c[46]=f}li(c[223]|0,c[222]|0,c[3]|0);c[45]=2;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}else if((da|0)==219){if(!(h&3264)){da=316032;l=ea;return da|0}da=c[222]|0;switch(gg[c[da+13156>>2]&511](da)|0){case 0:{c[E>>2]=(c[222]|0)+4920;zN(F,42595,E)|0;if((JO(F)|0)>0){f=0;do{da=F+f|0;a[da>>0]=oN(a[da>>0]|0)|0;f=f+1|0}while((f|0)<(JO(F)|0))}c[190]=120;PO(764,F)|0;da=0;l=ea;return da|0}case 2:{c[190]=120;h=764;f=42607;i=h+27|0;do{a[h>>0]=a[f>>0]|0;h=h+1|0;f=f+1|0}while((h|0)<(i|0));da=0;l=ea;return da|0}default:{c[190]=120;h=764;f=42634;i=h+14|0;do{a[h>>0]=a[f>>0]|0;h=h+1|0;f=f+1|0}while((h|0)<(i|0));da=0;l=ea;return da|0}}}else if((da|0)==226){k=a[860]|0;a[860]=k^1;j=c[10]|0;k=k<<24>>24==0?4097:0;f=c[79957]|0;if(!f){_D(288260,N);da=0;l=ea;return da|0}if(j|0?(c[j>>2]|0)==(f+280|0):0){f=j+48|0;h=c[f>>2]|0;i=h&4097;if((k|0)==(i|0)){da=0;l=ea;return da|0}c[f>>2]=h&-4098|k;if(!(sI(j,(k&1|0)!=0&(h&68|0)==4&1)|0)){da=0;l=ea;return da|0}c[f>>2]=c[f>>2]&-4098|i;da=0;l=ea;return da|0}_D(307482,K);da=0;l=ea;return da|0}else if((da|0)==234){if(h&512|0){k=a[860]|0;a[860]=k^1;j=c[10]|0;k=k<<24>>24==0?4097:0;f=c[79957]|0;if(!f){_D(288260,L);da=0;l=ea;return da|0}if(j|0?(c[j>>2]|0)==(f+280|0):0){f=j+48|0;h=c[f>>2]|0;i=h&4097;if((k|0)==(i|0)){da=0;l=ea;return da|0}c[f>>2]=h&-4098|k;if(!(sI(j,(k&1|0)!=0&(h&68|0)==4&1)|0)){da=0;l=ea;return da|0}c[f>>2]=c[f>>2]&-4098|i;da=0;l=ea;return da|0}_D(307482,M);da=0;l=ea;return da|0}if(!(h&3264)){da=316032;l=ea;return da|0}f=c[3]|0;vg[c[f+2439780>>2]&511](f);f=c[45]|0;switch(f|0){case 2:{li(c[223]|0,c[222]|0,c[3]|0);da=0;l=ea;return da|0}case 11:case 10:case 9:case 1:case 0:break;case 12:{c[46]=3;break}default:c[46]=f}li(c[223]|0,c[222]|0,c[3]|0);c[45]=2;f=c[79957]|0;if(!f){da=0;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=0;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=0;l=ea;return da|0}if((c[45]|2|0)!=3){da=0;l=ea;return da|0}PM();da=0;l=ea;return da|0}else if((da|0)==253){f=c[864+((a[754]|0)*20|0)>>2]|0;switch(i|0){case 3:{if((c[f+65660>>2]|0)!=1){vg[c[f+65724>>2]&511](f);da=0;l=ea;return da|0}break}case 9:{da=c[226]|0;vg[c[da+20>>2]&511](da);da=0;l=ea;return da|0}case 10:{da=c[227]|0;vg[c[da+56>>2]&511](da);da=0;l=ea;return da|0}default:{}}Wg((i|0)==1?c[46]|0:1);da=0;l=ea;return da|0}break}case 1541:{q=c[79010]|0;if(q>>>0>=4){da=316032;l=ea;return da|0}r=164+(q<<2)|0;f=c[r>>2]|0;if(f|0)CM(f);f=c[80933]|0;w:do if((f|0)>(q|0)){f=c[80956]|0;x:do if(f|0){j=c[80932]|0;k=(q|0)>0;while(1){if(k){i=q;h=j;while(1){h=c[h+1320>>2]|0;if((i|0)>1)i=i+-1|0;else break}}else h=j;if((c[h+12>>2]|0)==(c[f>>2]|0))break;f=c[f+60>>2]|0;if(!f)break x}da=f+48|0;c[da>>2]=(c[da>>2]|0)+1;break w}while(0);f=TM(64)|0;if(!f){_D(294618,R);f=0;break}h=f;i=h+64|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));h=c[80932]|0;k=(q|0)>0;if(k){j=q;i=h;while(1){i=c[i+1320>>2]|0;if((j|0)>1)j=j+-1|0;else{j=i;break}}}else j=h;do if(!j)_D(309987,X);else{i=j+16|0;if(c[i>>2]|0){_D(310002,Y);break}c[f>>2]=c[j+12>>2];c[f+44>>2]=j;c[i>>2]=f;n=f+20|0;c[n>>2]=0;o=f+28|0;c[o>>2]=0;p=f+36|0;c[p>>2]=c[j+20>>2];j=c[j+24>>2]|0;m=f+8|0;c[m>>2]=j;if(k){i=q;while(1){h=c[h+1320>>2]|0;if((i|0)>1)i=i+-1|0;else break}}h=c[h+4>>2]|0;if(!h){i=0;h=j}else{i=aP(h)|0;h=c[m>>2]|0}c[f+4>>2]=i;if((h|0)>0){c[f+12>>2]=TM(h<<1)|0;c[f+16>>2]=TM(c[m>>2]<<1)|0}h=c[n>>2]|0;if((h|0)>0)c[f+24>>2]=TM(h)|0;h=c[o>>2]|0;if((h|0)>0)c[f+32>>2]=TM(h<<3)|0;h=c[p>>2]|0;if((h|0)>0)c[f+40>>2]=TM(h)|0;i=c[m>>2]|0;if(!((i|0)>0?!(c[f+12>>2]|0):0))da=294;do if((da|0)==294){if((c[n>>2]|0)>0?(c[f+24>>2]|0)==0:0)break;if((c[o>>2]|0)>0?(c[f+32>>2]|0)==0:0)break;if((c[p>>2]|0)>0?(c[f+40>>2]|0)==0:0)break;h=c[f+12>>2]|0;if(h|0){EQ(h|0,0,i<<1|0)|0;EQ(c[f+16>>2]|0,0,c[m>>2]<<1|0)|0}h=c[f+24>>2]|0;if(h|0)EQ(h|0,0,c[n>>2]|0)|0;h=c[f+32>>2]|0;if(h|0)EQ(h|0,0,c[o>>2]<<3|0)|0;h=c[f+40>>2]|0;if(h|0)EQ(h|0,0,c[p>>2]|0)|0;c[f+56>>2]=-1;da=f+48|0;c[da>>2]=(c[da>>2]|0)+1;c[f+60>>2]=c[80956];c[80956]=f;MM(f);break w}while(0);_D(294618,Z);CM(f);f=0;break w}while(0);UM(f);f=0}else{c[D>>2]=f;_D(305831,D);f=0}while(0);c[r>>2]=f;da=316032;l=ea;return da|0}case 1542:{f=c[79010]|0;if(f>>>0>=4){da=316032;l=ea;return da|0}f=164+(f<<2)|0;h=c[f>>2]|0;if(!h){da=316032;l=ea;return da|0}CM(h);c[f>>2]=0;da=316032;l=ea;return da|0}case 512:switch(a[316044]|0){case 5:{h=c[10]|0;f=c[79957]|0;do if(!f){_D(288260,B);f=0;h=0;da=321}else{if(h|0?(c[h>>2]|0)==(f+280|0):0){f=c[h+24>>2]|0;h=c[h+28>>2]|0;if((f|0)<(h|0)){da=321;break}i=(f|0)/15|0;j=2;break}_D(307482,C);f=0;h=0;da=321}while(0);if((da|0)==321){i=(f|0)/6|0;j=3;h=h<<1}aa=O(i,-3)|0;da=(h+aa|0)/(j|0)|0;c[177]=i;c[178]=0;c[179]=da;ba=i<<1;ca=f-ba|0;c[180]=ca;c[181]=da+ba;ba=da+i|0;c[182]=f-i;c[183]=ba;c[184]=aa+f;c[185]=ba;c[186]=ca;c[187]=da;da=316032;l=ea;return da|0}case 12:{f=c[864+((a[754]|0)*20|0)>>2]|0;da=c[222]|0;Bg[c[da+4128>>2]&255](da,c[f+4>>2]|0);if(!(a[(c[222]|0)+4124>>0]|0)){da=316032;l=ea;return da|0}h=c[f+65732>>2]|0;if(!h){da=316032;l=ea;return da|0}vg[h&511](f);da=316032;l=ea;return da|0}default:{da=316032;l=ea;return da|0}}case 1793:{f=c[79957]|0;if(!f){da=316032;l=ea;return da|0}h=c[f+224>>2]|0;if(!h){da=316032;l=ea;return da|0}if(!(gg[h&511](f)|0)){da=316032;l=ea;return da|0}if((c[45]|2|0)!=3){da=316032;l=ea;return da|0}PM();da=316032;l=ea;return da|0}case 256:{Yg();da=316032;l=ea;return da|0}default:{da=316032;l=ea;return da|0}}return 0}function fh(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[864+((a[754]|0)*20|0)>>2]|0;d=c[b+65732>>2]|0;if(d|0)vg[d&511](b);mh();i=c[3]|0;EQ(i+2438632|0,0,1024)|0;g=0;do{j=g<<3;f=0;do{h=f;f=f+1|0;e=f<<3;h=h+j+(i+2438632)|0;d=((e+-1|0)>>>1)+(i+1268468+(g<<5))|0;b=a[d>>0]|0;if((b&255)>=16){a[h>>0]=a[h>>0]|1;b=a[d>>0]|0}if(b&15)a[h>>0]=a[h>>0]|2;d=((e+-3|0)>>>1)+(i+1268468+(g<<5))|0;b=a[d>>0]|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2]=0;R=Ka+20|0;c[R>>2]=32768;S=Ka+32|0;c[S>>2]=0;va=Ka+56|0;c[va>>2]=0;wa=Ka+60|0;c[wa>>2]=0;T=Ka+1328|0;V=Ka+108|0;c[V>>2]=T;W=Ka+80|0;c[W>>2]=T;X=Ka+76|0;c[X>>2]=T;Y=Ka+7104|0;c[Y>>2]=1;$=Ka+7108|0;c[$>>2]=-1;b:do if((g|0)!=0|(h|0)==0){Ia=Ka+24|0;ca=sa+1|0;Ha=Ka+16|0;da=Ka+64|0;ea=Ka+84|0;fa=Ka+88|0;ga=Ka+72|0;ha=Ka+7112|0;ia=Ka+68|0;ja=sa+2|0;ka=sa+3|0;la=Ka+104|0;ma=Ka+96|0;na=Ka+100|0;oa=Ka+624|0;pa=Ka+112|0;qa=Ka+752|0;ra=Ka+92|0;M=La;q=0;i=0;o=h;h=0;j=10485760;n=g;s=10485760;g=0;O=0;c:while(1){d:do switch(q|0){case 28:{g=1;N=341;break c}case 29:{Ea=j;ua=i;ta=h;za=s;Ca=-3;xa=O;break c}case 0:{p=c[Ga>>2]|0;if(!p){c[Ka>>2]=12;k=o;t=j;m=n;n=M;p=O;break d}if(i>>>0<16){k=o;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0<16)n=m;else{q=h;break}}}else{k=o;q=h;m=n}if((q|0)==35615&(p&2|0)!=0){c[Ia>>2]=0;a[sa>>0]=31;a[ca>>0]=-117;c[Ia>>2]=kC(0,sa,2)|0;c[Ka>>2]=1;i=0;h=0;t=j;n=M;p=O;break d}c[Ha>>2]=0;h=c[S>>2]|0;if(h|0)c[h+48>>2]=-1;if(p&1|0?((((q<<8&65280)+(q>>>8)|0)>>>0)%31|0|0)==0:0){if((q&15|0)!=8){c[Ka>>2]=29;h=q;t=j;n=M;p=O;break d}h=q>>>4;i=i+-4|0;n=h&15;o=n+8|0;p=c[ya>>2]|0;if(p){if(o>>>0>p>>>0){c[Ka>>2]=29;t=j;n=M;p=O;break d}}else c[ya>>2]=o;c[R>>2]=256<>2]=1;c[Ka>>2]=q>>>12&2^11;i=0;h=0;t=j;n=M;p=O;break d}c[Ka>>2]=29;h=q;t=j;n=M;p=O;break}case 1:{if(i>>>0<16){k=o;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0<16)n=m;else break}}else{k=o;m=n}c[Ha>>2]=h;if((h&255|0)!=8){c[Ka>>2]=29;t=j;n=M;p=O;break d}if(h&57344|0){c[Ka>>2]=29;t=j;n=M;p=O;break d}i=c[S>>2]|0;if(i|0)c[i>>2]=h>>>8&1;if(h&512|0){a[sa>>0]=h;a[ca>>0]=h>>>8;c[Ia>>2]=kC(c[Ia>>2]|0,sa,2)|0}c[Ka>>2]=2;i=0;h=0;N=49;break}case 2:{if(i>>>0<32){k=o;m=n;N=49}else{k=o;N=51}break}case 3:{if(i>>>0<16){k=o;N=57}else{k=o;N=59}break}case 4:{p=c[Ha>>2]|0;k=o;N=64;break}case 5:{m=c[Ha>>2]|0;k=o;N=75;break}case 6:{m=c[Ha>>2]|0;k=o;p=n;N=85;break}case 7:{m=c[Ha>>2]|0;k=o;p=n;N=98;break}case 8:{m=c[Ha>>2]|0;k=o;N=111;break}case 9:{if(i>>>0<32){k=o;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0>=32)break;else n=m}}else{k=o;m=n}c[Ia>>2]=zQ(h|0)|0;c[Ka>>2]=10;i=0;h=0;N=123;break}case 10:{k=o;m=n;N=123;break}case 12:case 11:{k=o;m=n;N=126;break}case 13:{L=i&7;h=h>>>L;i=i-L|0;if(i>>>0<32){k=o;m=n;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;n=m+1|0;h=(d[m>>0]<>>0<32)m=n;else break}}else k=o;m=h&65535;if((m|0)==(h>>>16^65535|0)){c[da>>2]=m;c[Ka>>2]=14;i=0;h=0;N=143;break d}else{c[Ka>>2]=29;t=j;m=n;n=M;p=O;break d}}case 14:{k=o;N=143;break}case 15:{k=o;N=144;break}case 16:{if(i>>>0<14){k=o;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0<14)n=m;else{o=k;break}}}else m=n;K=(h&31)+257|0;c[ma>>2]=K;L=(h>>>5&31)+1|0;c[na>>2]=L;n=(h>>>10&15)+4|0;c[ra>>2]=n;h=h>>>14;i=i+-14|0;if(K>>>0>286|L>>>0>30){c[Ka>>2]=29;k=o;t=j;n=M;p=O;break d}else{c[la>>2]=0;c[Ka>>2]=17;k=0;q=n;N=154;break d}}case 17:{k=c[la>>2]|0;m=c[ra>>2]|0;if(k>>>0>>0){q=m;m=n;N=154}else{g=k;k=o;m=n;N=155}break}case 18:{p=c[la>>2]|0;k=o;m=n;N=165;break}case 19:{k=o;m=n;N=199;break}case 20:{k=o;m=n;N=200;break}case 21:{p=c[ga>>2]|0;k=o;m=n;N=278;break}case 22:{k=o;m=n;N=285;break}case 23:{p=c[ga>>2]|0;k=o;m=n;N=297;break}case 24:{k=o;m=n;N=303;break}case 25:{if(!j){j=0;N=341;break c}a[M>>0]=c[da>>2];c[Ka>>2]=20;k=o;t=j+-1|0;m=n;n=M+1|0;p=O;break}case 26:{t=c[Ga>>2]|0;if(t){if(i>>>0<32){k=o;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0<32)n=m;else break}}else{k=o;m=n}q=s-j|0;r=O+q|0;c[Fa>>2]=(c[Fa>>2]|0)+q;if((s|0)==(j|0)){o=c[Ha>>2]|0;n=c[Ia>>2]|0}else{o=c[Ha>>2]|0;n=c[Ia>>2]|0;p=M+(0-q)|0;if(!o)n=jC(n,p,q)|0;else n=kC(n,p,q)|0;c[Ia>>2]=n}O=zQ(h|0)|0;if((((o|0)==0?O:h)|0)==(n|0)){i=0;h=0;o=j;n=r}else{c[Ka>>2]=29;t=j;s=j;n=M;p=r;break d}}else{k=o;m=n;o=s;n=O}c[Ka>>2]=27;q=t;p=n;N=333;break}case 27:{q=c[Ga>>2]|0;k=o;m=n;o=s;p=O;N=333;break}default:{N=363;break b}}while(0);if((N|0)==49)while(1){N=0;if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;n=m+1|0;h=(d[m>>0]<>>0>=32){N=51;break}else{m=n;N=49}}else if((N|0)==123){if(!(c[Q>>2]|0)){N=124;break}c[Ia>>2]=1;c[Ka>>2]=11;N=126}else if((N|0)==143){c[Ka>>2]=15;N=144}else if((N|0)==154){N=0;n=o;while(1){if(i>>>0<3){if(!n){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}o=i+8|0;p=n+-1|0;h=(d[m>>0]<>2]=n;b[Ka+112+(e[37620+(k<<1)>>1]<<1)>>1]=h&7;h=h>>>3;i=o+-3|0;if(n>>>0>>0){k=n;n=p}else{g=n;k=p;N=155;break}}}else if((N|0)==333){N=0;if(!q){N=340;break}if(!(c[Ha>>2]|0)){N=340;break}if(i>>>0<32){n=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=o;Ca=g;xa=p;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0<32)n=m;else break}}if((h|0)==(c[Fa>>2]|0)){i=0;h=0;N=340;break}c[Ka>>2]=29;t=j;s=o;n=M}do if((N|0)==51){i=c[S>>2]|0;if(i|0)c[i+4>>2]=h;if(c[Ha>>2]&512|0){a[sa>>0]=h;a[ca>>0]=h>>>8;a[ja>>0]=h>>>16;a[ka>>0]=h>>>24;c[Ia>>2]=kC(c[Ia>>2]|0,sa,4)|0}c[Ka>>2]=3;i=0;h=0;N=57}else if((N|0)==126){N=0;if(c[P>>2]|0){t=i&7;c[Ka>>2]=26;i=i-t|0;h=h>>>t;t=j;n=M;p=O;break}if(i>>>0<3){if(!k){N=341;break c}n=i+8|0;k=k+-1|0;h=(d[m>>0]<>2]=h&1;switch(h>>>1&3){case 0:{i=13;break}case 1:{c[X>>2]=35444;c[ea>>2]=9;c[W>>2]=37492;c[fa>>2]=5;i=19;break}case 2:{i=16;break}case 3:{i=29;break}default:{N=135;break c}}c[Ka>>2]=i;i=n+-3|0;h=h>>>3;t=j;n=M;p=O}else if((N|0)==144){N=0;m=c[da>>2]|0;if(!m){c[Ka>>2]=11;t=j;m=n;n=M;p=O;break}o=m>>>0>k>>>0?k:m;o=o>>>0>j>>>0?j:o;if(!o){N=341;break c}CQ(M|0,n|0,o|0)|0;c[da>>2]=(c[da>>2]|0)-o;k=k-o|0;t=j-o|0;m=n+o|0;n=M+o|0;p=O}else if((N|0)==155){N=0;if(g>>>0<19){do{b[Ka+112+(e[37620+(g<<1)>>1]<<1)>>1]=0;g=g+1|0}while((g|0)!=19);c[la>>2]=19}c[V>>2]=T;c[X>>2]=T;c[ea>>2]=7;g=gC(0,pa,19,V,ea,qa)|0;if(!g){c[la>>2]=0;c[Ka>>2]=18;p=0;g=0;N=165;break}else{c[Ka>>2]=29;t=j;n=M;p=O;break}}while(0);e:do if((N|0)==57)while(1){N=0;if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0>=16){n=m;N=59;break}else{n=m;N=57}}else if((N|0)==165){N=0;o=c[ma>>2]|0;n=c[na>>2]|0;do if(p>>>0<(n+o|0)>>>0){u=p;t=o;f:while(1){q=(1<>2])+-1|0;p=q&h;r=c[X>>2]|0;o=d[r+(p<<2)+1>>0]|0;if(i>>>0>>0){o=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=o+1|0;h=(d[o>>0]<>0]|0;if(i>>>0>>0)o=m;else{q=o;break}}}else q=o;o=b[r+(p<<2)+2>>1]|0;if((o&65535)>=16){switch(o<<16>>16){case 16:{p=q+2|0;if(i>>>0

>>0){o=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=o+1|0;h=(d[o>>0]<>>0

>>0)o=m;else break}}h=h>>>q;i=i-q|0;if(!u){N=179;break f}i=i+-2|0;p=(h&3)+3|0;h=h>>>2;o=e[Ka+112+(u+-1<<1)>>1]|0;break}case 17:{p=q+3|0;if(i>>>0

>>0){o=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=o+1|0;h=(d[o>>0]<>>0

>>0)o=m;else break}}h=h>>>q;i=-3-q+i|0;p=(h&7)+3|0;h=h>>>3;o=0;break}default:{p=q+7|0;if(i>>>0

>>0){o=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=o+1|0;h=(d[o>>0]<>>0

>>0)o=m;else break}}h=h>>>q;i=-7-q+i|0;p=(h&127)+11|0;h=h>>>7;o=0}}if((u+p|0)>>>0>(n+t|0)>>>0){N=189;break}o=o&65535;n=p+-1|0;c[la>>2]=u+1;b[Ka+112+(u<<1)>>1]=o;if(n)do{L=c[la>>2]|0;n=n+-1|0;c[la>>2]=L+1;b[Ka+112+(L<<1)>>1]=o}while((n|0)!=0)}else{c[la>>2]=u+1;b[Ka+112+(u<<1)>>1]=o;i=i-q|0;h=h>>>q}u=c[la>>2]|0;t=c[ma>>2]|0;n=c[na>>2]|0;if(u>>>0>=(n+t|0)>>>0){N=191;break}}if((N|0)==179){N=0;c[Ka>>2]=29;t=j;n=M;p=O;break e}else if((N|0)==189){N=0;c[Ka>>2]=29;t=j;n=M;p=O;break e}else if((N|0)==191){N=0;if((c[Ka>>2]|0)==29){t=j;n=M;p=O;break e}else{o=t;break}}}while(0);if(!(b[oa>>1]|0)){c[Ka>>2]=29;t=j;n=M;p=O;break}c[V>>2]=T;c[X>>2]=T;c[ea>>2]=9;g=gC(1,pa,o,V,ea,qa)|0;if(g|0){c[Ka>>2]=29;t=j;n=M;p=O;break}c[W>>2]=c[V>>2];c[fa>>2]=6;g=gC(2,Ka+112+(c[ma>>2]<<1)|0,c[na>>2]|0,V,fa,qa)|0;if(!g){c[Ka>>2]=19;g=0;N=199;break}else{c[Ka>>2]=29;t=j;n=M;p=O;break}}while(0);if((N|0)==59){i=c[S>>2]|0;if(i|0){c[i+8>>2]=h&255;c[i+12>>2]=h>>>8}i=c[Ha>>2]|0;if(i&512|0){a[sa>>0]=h;a[ca>>0]=h>>>8;c[Ia>>2]=kC(c[Ia>>2]|0,sa,2)|0}c[Ka>>2]=4;p=i;i=0;h=0;N=64}else if((N|0)==199){c[Ka>>2]=20;N=200}do if((N|0)==64){N=0;if(!(p&1024)){m=c[S>>2]|0;if(m)c[m+16>>2]=0}else{if(i>>>0<16){m=n;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;n=m+1|0;h=(d[m>>0]<>>0>=16)break;else m=n}}c[da>>2]=h;i=c[S>>2]|0;if(i|0)c[i+20>>2]=h;if(!(p&512)){i=0;h=0}else{a[sa>>0]=h;a[ca>>0]=h>>>8;c[Ia>>2]=kC(c[Ia>>2]|0,sa,2)|0;i=0;h=0}}c[Ka>>2]=5;m=p;N=75}else if((N|0)==200){N=0;if(!(j>>>0>257&k>>>0>5)){c[$>>2]=0;q=(1<>2])+-1|0;p=q&h;t=c[X>>2]|0;n=a[t+(p<<2)+1>>0]|0;o=n&255;if(o>>>0>i>>>0){n=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>0]|0;o=n&255;if(o>>>0>i>>>0)n=m;else break}}q=a[t+(p<<2)>>0]|0;r=b[t+(p<<2)+2>>1]|0;p=q&255;if(q<<24>>24!=0&(p&240|0)==0){r=r&65535;q=(1<>>o)+r|0;n=a[t+(p<<2)+1>>0]|0;if(((n&255)+o|0)>>>0>i>>>0){n=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>o)+r|0;n=a[t+(p<<2)+1>>0]|0;if(((n&255)+o|0)>>>0>i>>>0)n=m;else break}}r=b[t+(p<<2)+2>>1]|0;q=a[t+(p<<2)>>0]|0;c[$>>2]=o;p=o;i=i-o|0;h=h>>>o}else p=0;n=n&255;h=h>>>n;i=i-n|0;c[$>>2]=p+n;c[da>>2]=r&65535;n=q&255;if(!(q<<24>>24)){c[Ka>>2]=25;t=j;n=M;p=O;break}if(n&32|0){c[$>>2]=-1;c[Ka>>2]=11;t=j;n=M;p=O;break}if(!(n&64)){p=n&15;c[ga>>2]=p;c[Ka>>2]=21;N=278;break}else{c[Ka>>2]=29;t=j;n=M;p=O;break}}c[va>>2]=h;c[wa>>2]=i;K=m+(k+-6)|0;L=M+(j+-258)|0;D=c[Da>>2]|0;E=c[Aa>>2]|0;F=c[Ja>>2]|0;G=c[X>>2]|0;H=c[W>>2]|0;I=(1<>2])+-1|0;J=(1<>2])+-1|0;u=M+(j+~s)|0;v=F+-1|0;w=(E|0)==0;x=(c[Ba>>2]|0)+-1|0;y=x+E|0;z=E+-1|0;A=u+-1|0;B=u-E|0;C=u+-2|0;k=m+-1|0;j=M+-1|0;g:while(1){if(i>>>0<15){M=k+2|0;o=i+16|0;h=(d[k+1>>0]<>0]<>0]|0;m=b[G+(i<<2)+2>>1]|0;i=d[G+(i<<2)+1>>0]|0;h=h>>>i;i=o-i|0;do if(!(n<<24>>24)){m=m&255;N=207}else{n=n&255;while(1){if(n&16|0)break;if(n&64|0){N=256;break g}M=(h&(1<>0]|0;m=b[G+(M<<2)+2>>1]|0;M=d[G+(M<<2)+1>>0]|0;h=h>>>M;i=i-M|0;if(!(n<<24>>24)){N=206;break}else n=n&255}if((N|0)==206){m=m&255;N=207;break}p=m&65535;o=n&15;if(!o)n=h;else{if(i>>>0>>0){k=k+1|0;m=i+8|0;h=(d[k>>0]<>>o;p=(h&(1<>>0<15){q=k+2|0;m=i+16|0;i=(d[k+1>>0]<>0]<>1]|0;t=d[H+(M<<2)+1>>0]|0;h=i>>>t;i=m-t|0;m=d[H+(M<<2)>>0]|0;if(!(m&16))do{if(m&64|0){N=253;break g}m=(h&(1<>1]|0;M=d[H+(m<<2)+1>>0]|0;h=h>>>M;i=i-M|0;m=d[H+(m<<2)>>0]|0}while((m&16|0)==0);n=k&65535;o=m&15;if(i>>>0>>0){k=q+1|0;h=(d[k>>0]<>>0>>0){k=q+2|0;i=i+16|0;h=(d[k>>0]<>>o;i=i-o|0;r=j;m=r-u|0;if(t>>>0<=m>>>0){q=2-p|0;q=p+(q>>>0>4294967293?q:-3)|0;q=q-((q>>>0)%3|0)|0;m=j+(0-t)|0;n=p;o=j;do{a[o+1>>0]=a[m+1>>0]|0;a[o+2>>0]=a[m+2>>0]|0;m=m+3|0;o=o+3|0;a[o>>0]=a[m>>0]|0;n=n+-3|0}while(n>>>0>2);n=q-t|0;m=p+-3|0;if((m|0)==(q|0)){j=j+(q+3)|0;break}o=j+(q+4)|0;a[o>>0]=a[j+(n+4)>>0]|0;if((m-q|0)>>>0<=1){j=o;break}M=j+(q+5)|0;a[M>>0]=a[j+(n+5)>>0]|0;j=M;break}q=t-m|0;if(q>>>0>D>>>0?c[Y>>2]|0:0){N=222;break g}do if(w){m=F+(x-q)|0;if(p>>>0<=q>>>0){o=m;n=p;break}n=p-q|0;o=q;p=j;do{m=m+1|0;p=p+1|0;a[p>>0]=a[m>>0]|0;o=o+-1|0}while((o|0)!=0);M=t-r|0;o=j+(A+M+(1-t))|0;j=j+(u+M)|0}else{if(q>>>0<=E>>>0){m=F+(z-q)|0;if(p>>>0<=q>>>0){o=m;n=p;break}n=p-q|0;o=q;p=j;do{m=m+1|0;p=p+1|0;a[p>>0]=a[m>>0]|0;o=o+-1|0}while((o|0)!=0);M=t-r|0;o=j+(A+M+(1-t))|0;j=j+(u+M)|0;break}o=F+(y-q)|0;m=q-E|0;if(p>>>0<=m>>>0){n=p;break}n=p-m|0;p=j;do{o=o+1|0;p=p+1|0;a[p>>0]=a[o>>0]|0;m=m+-1|0}while((m|0)!=0);q=t-r|0;m=j+(B+q)|0;if(n>>>0>E>>>0){o=v;p=E}else{o=v;j=m;break}do{o=o+1|0;m=m+1|0;a[m>>0]=a[o>>0]|0;p=p+-1|0}while((p|0)!=0);o=j+(C+q+(2-t))|0;n=n-E|0;j=j+(u+q)|0}while(0);if(n>>>0>2){q=n+-3|0;m=(q>>>0)%3|0;r=o;p=j;do{a[p+1>>0]=a[r+1>>0]|0;a[p+2>>0]=a[r+2>>0]|0;r=r+3|0;p=p+3|0;a[p>>0]=a[r>>0]|0;n=n+-3|0}while(n>>>0>2);M=q-m+3|0;o=o+M|0;j=j+M|0}else m=n;if(!m)break;n=j+1|0;a[n>>0]=a[o+1>>0]|0;if((m|0)==1){j=n;break}j=j+2|0;a[j>>0]=a[o+2>>0]|0}while(0);if((N|0)==207){N=0;j=j+1|0;a[j>>0]=m}if(!(j>>>0>>0&k>>>0>>0)){N=260;break}}do if((N|0)==222){N=0;c[Ka>>2]=29;o=29}else if((N|0)==253){N=0;c[Ka>>2]=29;o=29;k=q}else if((N|0)==256){N=0;if(!(n&32)){c[Ka>>2]=29;o=29;break}else{c[Ka>>2]=11;o=11;break}}else if((N|0)==260){N=0;o=c[Ka>>2]|0}while(0);M=i>>>3;i=i-(M<<3)|0;h=(1<>2]=h;c[wa>>2]=i;if((o|0)==11){c[$>>2]=-1;t=j;p=O}else{t=j;p=O}}while(0);if((N|0)==75){if(m&1024){p=c[da>>2]|0;q=p>>>0>k>>>0?k:p;if(q){o=c[S>>2]|0;if((o|0)!=0?(U=c[o+16>>2]|0,(U|0)!=0):0){m=(c[o+20>>2]|0)-p|0;N=c[o+24>>2]|0;CQ(U+m|0,n|0,((m+q|0)>>>0>N>>>0?N-m|0:q)|0)|0;m=c[Ha>>2]|0}if(m&512|0)c[Ia>>2]=kC(c[Ia>>2]|0,n,q)|0;p=(c[da>>2]|0)-q|0;c[da>>2]=p;k=k-q|0;n=n+q|0}if(p){N=341;break}}c[da>>2]=0;c[Ka>>2]=6;p=n;N=85}else if((N|0)==278){N=0;if(!p)n=c[da>>2]|0;else{if(i>>>0

>>0){n=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0

>>0)n=m;else break}}n=(c[da>>2]|0)+((1<>2]=n;c[$>>2]=(c[$>>2]|0)+p;i=i-p|0;h=h>>>p}c[ha>>2]=n;c[Ka>>2]=22;N=285}do if((N|0)==85){if(!(m&2048)){n=c[S>>2]|0;if(!n)n=p;else{c[n+28>>2]=0;n=p}}else{if(!k){N=341;break c}else o=0;do{m=o;o=o+1|0;m=a[p+m>>0]|0;n=c[S>>2]|0;if((n|0?(Z=c[n+28>>2]|0,Z|0):0)?(_=c[da>>2]|0,_>>>0<(c[n+32>>2]|0)>>>0):0){c[da>>2]=_+1;a[Z+_>>0]=m}n=m<<24>>24!=0}while(n&k>>>0>o>>>0);m=c[Ha>>2]|0;if(m&512|0)c[Ia>>2]=kC(c[Ia>>2]|0,p,o)|0;if(n){N=341;break c}else{k=k-o|0;n=p+o|0}}c[da>>2]=0;c[Ka>>2]=7;p=n;N=98}else if((N|0)==285){N=0;q=(1<>2])+-1|0;p=q&h;t=c[W>>2]|0;n=a[t+(p<<2)+1>>0]|0;o=n&255;if(o>>>0>i>>>0){n=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>0]|0;o=n&255;if(o>>>0>i>>>0)n=m;else break}}q=a[t+(p<<2)>>0]|0;r=b[t+(p<<2)+2>>1]|0;p=q&255;if(!(p&240)){r=r&65535;q=(1<>>o)+r|0;n=a[t+(p<<2)+1>>0]|0;if(((n&255)+o|0)>>>0>i>>>0){n=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>o)+r|0;n=a[t+(p<<2)+1>>0]|0;if(((n&255)+o|0)>>>0>i>>>0)n=m;else break}}r=b[t+(p<<2)+2>>1]|0;q=a[t+(p<<2)>>0]|0;p=(c[$>>2]|0)+o|0;c[$>>2]=p;i=i-o|0;h=h>>>o}else p=c[$>>2]|0;n=n&255;h=h>>>n;i=i-n|0;c[$>>2]=p+n;n=q&255;if(!(n&64)){c[ia>>2]=r&65535;p=n&15;c[ga>>2]=p;c[Ka>>2]=23;N=297;break}else{c[Ka>>2]=29;t=j;n=M;p=O;break}}while(0);if((N|0)==98){if(!(m&4096)){n=c[S>>2]|0;if(!n)n=p;else{c[n+36>>2]=0;n=p}}else{if(!k){N=341;break}else o=0;do{m=o;o=o+1|0;m=a[p+m>>0]|0;n=c[S>>2]|0;if((n|0?(aa=c[n+36>>2]|0,aa|0):0)?(ba=c[da>>2]|0,ba>>>0<(c[n+40>>2]|0)>>>0):0){c[da>>2]=ba+1;a[aa+ba>>0]=m}n=m<<24>>24!=0}while(n&k>>>0>o>>>0);m=c[Ha>>2]|0;if(m&512|0)c[Ia>>2]=kC(c[Ia>>2]|0,p,o)|0;if(n){N=341;break}else{k=k-o|0;n=p+o|0}}c[Ka>>2]=8;N=111}else if((N|0)==297){N=0;if(p){if(i>>>0

>>0){n=m;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;m=n+1|0;h=(d[n>>0]<>>0

>>0)n=m;else break}}c[ia>>2]=(c[ia>>2]|0)+((1<>2]=(c[$>>2]|0)+p;i=i-p|0;h=h>>>p}c[Ka>>2]=24;N=303}do if((N|0)==111){N=0;if(m&512){if(i>>>0<16){o=n;while(1){if(!k){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O;break c}k=k+-1|0;n=o+1|0;h=(d[o>>0]<>>0<16)o=n;else break}}if((h|0)==(c[Ia>>2]&65535|0)){i=0;h=0;o=n}else{c[Ka>>2]=29;t=j;m=n;n=M;p=O;break}}else o=n;n=c[S>>2]|0;if(n|0){c[n+44>>2]=m>>>9&1;c[n+48>>2]=1}c[Ia>>2]=0;c[Ka>>2]=11;t=j;m=o;n=M;p=O}else if((N|0)==303){N=0;if(!j){j=0;N=341;break c}n=s-j|0;o=c[ia>>2]|0;if(o>>>0>n>>>0){o=o-n|0;if(o>>>0>(c[Da>>2]|0)>>>0?c[Y>>2]|0:0){c[Ka>>2]=29;t=j;n=M;p=O;break}n=c[Aa>>2]|0;if(o>>>0>n>>>0){o=o-n|0;n=(c[Ba>>2]|0)-o|0}else n=n-o|0;p=c[da>>2]|0;q=p;p=o>>>0>p>>>0?p:o;n=(c[Ja>>2]|0)+n|0}else{p=c[da>>2]|0;q=p;n=M+(0-o)|0}r=p>>>0>j>>>0?j:p;c[da>>2]=q-r;p=r;o=M;while(1){a[o>>0]=a[n>>0]|0;p=p+-1|0;if(!p)break;else{n=n+1|0;o=o+1|0}}j=j-r|0;n=M+r|0;if(!(c[da>>2]|0)){c[Ka>>2]=20;t=j;p=O}else{t=j;p=O}}while(0);M=n;q=c[Ka>>2]|0;o=k;j=t;n=m;O=p}if((N|0)==124){c[va>>2]=h;c[wa>>2]=i;N=363;break}else if((N|0)!=135)if((N|0)==340){c[Ka>>2]=28;Ea=j;ua=i;ta=h;za=o;Ca=1;xa=p}else if((N|0)==341){Ea=j;ua=i;ta=h;za=s;Ca=g;xa=O}c[va>>2]=ta;c[wa>>2]=ua;i=c[Ba>>2]|0;if(!i){if((za|0)!=(Ea|0)?(c[Ka>>2]|0)>>>0<26:0)N=345}else N=345;do if((N|0)==345){g=za-Ea|0;h=c[Ja>>2]|0;do if(!h){h=hC(1<>2],1)|0;c[Ja>>2]=h;if(!h){c[Ka>>2]=30;N=363;break b}else{i=c[Ba>>2]|0;break}}while(0);if(!i){i=1<>2];c[Ba>>2]=i;c[Aa>>2]=0;c[Da>>2]=0}if(i>>>0<=g>>>0){CQ(h|0,M+(0-i)|0,i|0)|0;c[Aa>>2]=0;c[Da>>2]=c[Ba>>2];break}wa=c[Aa>>2]|0;ya=i-wa|0;i=ya>>>0>g>>>0?g:ya;CQ(h+wa|0,M+(0-g)|0,i|0)|0;i=g-i|0;if(ya>>>0>>0){CQ(c[Ja>>2]|0,M+(0-i)|0,i|0)|0;c[Aa>>2]=i;c[Da>>2]=c[Ba>>2];break}i=(c[Aa>>2]|0)+g|0;Ba=c[Ba>>2]|0;c[Aa>>2]=(i|0)==(Ba|0)?0:i;i=c[Da>>2]|0;if(i>>>0>>0)c[Da>>2]=i+g}while(0);j=za-Ea|0;i=xa+j|0;c[Fa>>2]=(c[Fa>>2]|0)+j;if((za|0)!=(Ea|0)&(c[Ga>>2]|0)!=0){g=c[Ia>>2]|0;h=M+(0-j)|0;if(!(c[Ha>>2]|0))h=jC(g,h,j)|0;else h=kC(g,h,j)|0;c[Ia>>2]=h}if(Ca){if((Ca|0)==1){h=c[Ja>>2]|0;if(h|0)iC(h);iC(Ka);Ka=TM(i+1|0)|0;c[f>>2]=Ka;CQ(Ka|0,La|0,i|0)|0;a[Ka+i>>0]=0;break a}}else N=363}else N=363;while(0);i=c[Ja>>2]|0;if(i|0)iC(i);iC(Ka);i=10485760}while(0);UM(La);La=i;l=Ma;return La|0}function hh(b){b=b|0;var d=0,e=0,f=0;c[(c[234]|0)+4>>2]=38319;b=TM(8196)|0;EQ(b|0,0,8196)|0;d=TM(4104)|0;EQ(d|0,0,4104)|0;c[b+8192>>2]=d;d=b;e=84465;f=d+24|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));Hb(0,b|0,185,b|0)|0;return}function ih(e){e=e|0;var f=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0.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,J=0,K=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,_=0,$=0,aa=0,ba=0,ca=0;ca=l;l=l+4608|0;y=ca+240|0;ba=ca+232|0;aa=ca+224|0;$=ca+216|0;_=ca+208|0;Y=ca+200|0;X=ca+192|0;T=ca+184|0;S=ca+176|0;R=ca+168|0;Q=ca+160|0;P=ca+152|0;N=ca+144|0;M=ca+136|0;L=ca+128|0;K=ca+120|0;J=ca+112|0;I=ca+104|0;H=ca+96|0;G=ca+88|0;F=ca+80|0;E=ca+72|0;D=ca+64|0;C=ca+56|0;B=ca+48|0;z=ca+40|0;x=ca+32|0;w=ca+24|0;v=ca+16|0;u=ca+8|0;i=ca;Z=ca+504|0;W=ca+248|0;c[230]=e;NJ(42880,308301);NJ(42909,308319);if((c[79234]|0)==0?(f=Sf(13,1)|0,f|0):0)Sf(13,f|0)|0;c[79234]=(c[79234]|0)+1;tL(560)|0;if((c[79957]|0)==0?(uL()|0)<0:0)f=0;else V=6;do if((V|0)==6){f=TM(156)|0;if(!f){_D(294618,i);f=0;break}if(c[f+-4>>2]&3|0)EQ(f|0,0,156)|0;p=c[79957]|0;c[f>>2]=p+280;p=p+284|0;o=c[p>>2]|0;c[p>>2]=o+1;c[f+4>>2]=o;o=f+16|0;c[o>>2]=805240832;p=f+20|0;c[p>>2]=805240832;q=f+24|0;c[q>>2]=768;t=f+28|0;c[t>>2]=432;i=BI(f)|0;k=c[79957]|0;if((i|0)>-1)m=(c[k+268>>2]|0)+(i*68|0)|0;else m=0;n=c[k+264>>2]|0;a:do if((n|0)>0){k=c[k+268>>2]|0;i=0;while(1){if((k+(i*68|0)|0)==(m|0))break a;i=i+1|0;if((i|0)>=(n|0)){i=0;break}}}else i=0;while(0);FI(i,Z);m=(((c[Z+8>>2]|0)+-768|0)/2|0)+(c[Z>>2]|0)|0;c[o>>2]=m;k=(((c[Z+12>>2]|0)+-432|0)/2|0)+(c[Z+4>>2]|0)|0;c[p>>2]=k;n=c[t>>2]|0;i=c[q>>2]|0;c[f+56>>2]=m;c[f+60>>2]=k;c[f+64>>2]=i;c[f+68>>2]=n;n=f+48|0;c[n>>2]=40;c[f+52>>2]=40;g[f+92>>2]=1.0;g[f+96>>2]=1.0;i=c[79957]|0;k=i+272|0;m=c[k>>2]|0;c[f+152>>2]=m;c[f+120>>2]=0;if(m|0)c[m+148>>2]=f;c[k>>2]=f;k=c[i+32>>2]|0;if(k){if((hg[k&63](i,f)|0)<0){zM(f);f=0;break}i=c[79957]|0;if(!i){_D(288260,u);V=28}else V=23}else V=23;do if((V|0)==23){if((c[f>>2]|0)!=(i+280|0)){_D(307482,v);V=28;break}i=f+8|0;k=c[i>>2]|0;if((k|0)!=42542){UM(k);c[i>>2]=aP(42542)|0;i=c[79957]|0;k=c[i+40>>2]|0;if(!k)k=i;else{Bg[k&255](i,f);V=28}}else V=28}while(0);if((V|0)==28)k=c[79957]|0;do if(k){if((c[f>>2]|0)!=(k+280|0)){_D(307482,x);break}if(!(c[n>>2]&4)){i=c[k+80>>2]|0;if(i|0)Bg[i&255](k,f);tI(f,1,0,0)}}else _D(288260,w);while(0);sI(f,(c[n>>2]&69|0)==5&1)|0}while(0);c[10]=f;b:do if(!(a[334767]|0)){_D(307891,z);f=0}else{if(c[80939]|0)if(c[80940]|0)if(c[80941]|0)if(c[80942]|0)if(c[80943]|0)if(c[80944]|0)if(c[80945]|0)if(c[80946]|0)if(c[80947]|0)if(c[80948]|0)if(c[80949]|0)if(c[80950]|0)if(c[80951]|0)if(c[80952]|0)if(!(c[80953]|0))p=15;else{_D(307926,y);f=0;break}else p=14;else p=13;else p=12;else p=11;else p=10;else p=9;else p=8;else p=7;else p=6;else p=5;else p=4;else p=3;else p=2;else p=1;c[13]=c[277];c[14]=c[278];c[15]=c[279];c[16]=c[280];c[17]=c[281];c[18]=c[282];f=Df(307954)|0;if((f|0)!=0?(A=fQ(f)|0,(A&65535|0)!=0):0){i=A;f=A&65535}else{i=2048;f=2048}b[30]=f;a[59]=0;c[16]=i<<1&131070;k=Df(307972)|0;f=(k|0)!=0;c:do if(!(c[80919]|0))if(f){f=c[80927]|0;if(!f)i=0;else while(1){i=c[f>>2]|0;if(i|0?(wN(f+8|0,k)|0)==0:0)break c;f=c[f+4>>2]|0;if(!f){i=0;break}}}else{k=0;i=0}else{if(f?wN(k,306621)|0:0){_D(309987,B);f=0;break b}U=c[80938]|0;if(!((U|0)!=0?!(c[U+144>>2]|0):0))V=52;do if((V|0)==52){U=c[80939]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80940]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80941]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80942]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80943]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80944]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80945]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80946]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80947]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80948]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80949]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80950]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80951]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;U=c[80952]|0;if(U|0?(c[U+144>>2]|0)==0:0)break;f=c[80953]|0;if(!f){k=0;i=0;break c}if(c[f+144>>2]|0){k=0;i=0;break c}}while(0);_D(307994,C);f=0;break b}while(0);if((c[80921]|0)==0?(i|0)==0&(k|0)!=0:0){_D(308020,D);f=0;break}o=TM(188)|0;if(!o){_D(294618,E);f=0;break}if(c[o+-4>>2]&3|0)EQ(o|0,0,188)|0;c[o>>2]=p+1;f=o+4|0;c[f>>2]=c[13];c[f+4>>2]=c[14];c[f+8>>2]=c[15];c[f+12>>2]=c[16];c[f+16>>2]=c[17];c[f+20>>2]=c[18];c[o+144>>2]=0;c[o+184>>2]=i;c[o+132>>2]=0;c[o+140>>2]=1;c[o+136>>2]=1;if(!(c[80917]|0)){f=TM(12)|0;if(!f)_D(294618,G);else{_D(306676,F);UM(f)}c[o+152>>2]=0;VL(o);_D(308036,H);f=0;break}if((jg[c[323608>>2]&31](o,i,k,0)|0)<0){VL(o);f=0;break}f=c[f>>2]|0;if((c[13]|0)!=(f|0))c[13]=f;f=b[28]|0;i=b[o+8>>1]|0;if(f<<16>>16!=i<<16>>16){b[28]=i;f=i}i=a[58]|0;k=a[o+10>>0]|0;if(i<<24>>24!=k<<24>>24){a[58]=k;i=k}k=b[o+12>>1]|0;if(k<<16>>16!=(b[30]|0)){b[30]=k;a[59]=f<<16>>16==8?-128:0;c[16]=O(O(i&255,(f&65535)>>>3&31)|0,k&65535)|0}i=o+20|0;if(!(c[i>>2]|0)){k=c[(c[o+28>>2]|0?o+48|0:o+16|0)>>2]<<1;k=(k&8190|0?8192:0)+((k|0)/8192|0)|0;if((k|0)>0){m=o+172|0;f=0;do{n=TM(8204)|0;if(n|0){c[n+8192>>2]=0;c[n+8196>>2]=0;c[n+8200>>2]=c[m>>2];c[m>>2]=n}f=f+1|0}while((f|0)!=(k|0))}c[i>>2]=3;c[o+24>>2]=o}c[323752+(p<<2)>>2]=o;if(c[80916]|0){f=c[o>>2]|0;break}if(!(c[o+28>>2]|0))f=0;else f=c[o+52>>2]|0;U=c[o+16>>2]|0;U=TM(U>>>0>f>>>0?U:f)|0;c[o+148>>2]=U;if(!U){VL(o);_D(294618,I);f=0;break}c[J>>2]=c[o>>2];qI(Z,64,308063,J)|0;k=TM(808)|0;do if(k){EQ(k|0,0,808)|0;c[k+8>>2]=-1;c[k+12>>2]=0;U=aP(Z)|0;f=k+792|0;c[f>>2]=U;if(!U){_D(294618,L);UM(k);break}i=TM(16)|0;if(!i){_D(294618,M);f=c[f>>2]|0;if(f|0)UM(f);UM(k);break}else{c[i>>2]=377;c[i+4>>2]=o;c[i+8>>2]=k;_D(306676,N);c[i+12>>2]=0;f=c[f>>2]|0;if(f|0)UM(f);UM(k);UM(i);break}}else _D(294618,K);while(0);c[o+156>>2]=0;VL(o);_D(308077,P);f=0}while(0);c[19]=f;f=c[13]|0;p=b[28]|0;o=a[58]|0;U=p&65535;d:do if(!((U&255)>>>0>16&(U&32768|0)==0)){n=o&255;if(!(o<<24>>24)){_D(308133,R);break}if(!f){_D(308172,S);break}q=96;t=q+64|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(t|0));b[42]=-32752;b[43]=p;c[20]=0;c[40]=0;c[30]=0;c[27]=1;h[j>>3]=1.0;c[28]=c[j>>2];c[29]=c[j+4>>2];s=+(f|0);h[j>>3]=s/s;c[22]=c[j>>2];c[23]=c[j+4>>2];do if(p<<16>>16!=-32752){k=p&255;i=0;f=26;while(1){if((b[14872+(i<<3)>>1]|0)==-32752?(b[14872+(i<<3)+2>>1]|0)==p<<16>>16:0)break;i=i+1|0;f=c[14872+(i<<3)+4>>2]|0;if(!f){V=149;break}}if((V|0)==149){_D(308207,T);break d}c[40]=1;c[30]=f;if((k&65535)>16){i=(k&65535)>>>4;c[27]=i&65535;r=+(i&65535);h[j>>3]=r;c[28]=c[j>>2];c[29]=c[j+4>>2];f=1;i=i<<1&65535;break}if(k<<16>>16==16){f=1;i=2;r=1.0}else{r=1.0/+((16/(k&65535)|0)&65535);h[j>>3]=r;c[28]=c[j>>2];c[29]=c[j+4>>2];f=1;i=2}}else{f=0;i=2;r=1.0}while(0);if(o<<24>>24!=1){c[40]=f+1;c[120+(f<<2)>>2]=118;c[27]=i;r=r*2.0;h[j>>3]=r;c[28]=c[j>>2];c[29]=c[j+4>>2];switch(o<<24>>24){case 6:{f=c[40]|0;c[40]=f+1;c[120+(f<<2)>>2]=119;i=i*3|0;c[27]=i;f=6;m=0;s=3.0;V=154;break}case 4:{f=c[40]|0;c[40]=f+1;c[120+(f<<2)>>2]=120;i=i<<1;c[27]=i;f=4;m=1;s=2.0;V=154;break}default:{f=2;k=i;m=0}}while(1){if((V|0)==154){r=s*r;h[j>>3]=r;c[28]=c[j>>2];c[29]=c[j+4>>2];k=i}i=(f&255)<<1;if(i>>>0>n>>>0)break;V=c[40]|0;c[40]=V+1;c[120+(V<<2)>>2]=118;V=k<<1;c[27]=V;f=i&255;s=2.0;i=V;V=154}i=f<<24>>24==6;if(!((o&255)<3&i))if(m&i){f=4;i=125;V=160}else V=161;else{f=c[40]|0;c[40]=f+1;c[120+(f<<2)>>2]=121;r=r/3.0;h[j>>3]=r;c[28]=c[j>>2];c[29]=c[j+4>>2];f=2;V=162}while(1)if((V|0)==160){U=c[40]|0;c[40]=U+1;c[120+(U<<2)>>2]=i;r=r*.5;h[j>>3]=r;c[28]=c[j>>2];c[29]=c[j+4>>2];V=161;continue}else if((V|0)==161){V=0;if(!(f&1)){V=162;continue}else break}else if((V|0)==162){V=0;f=(f&255)>>>1;if((f&255)<(o&255))break;else{i=126;V=160;continue}}}f=c[40]|0;if(f|0){c[20]=1;b[42]=-32752;b[43]=p;c[25]=0;c[24]=0;c[120+(f<<2)>>2]=0}}else _D(308106,Q);while(0);if(c[20]|0){U=(c[13]<<1>>>0)/60|0;c[25]=U;c[24]=TM(O(U,c[27]|0)|0)|0}i=c[13]|0;f=TM(72)|0;if(!f)f=0;else{q=f;t=q+72|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(t|0));U=Rk(i)|0;c[f+24>>2]=U;CQ(U+2438632|0,88716,1024)|0}c[2]=f;c[3]=c[f+24>>2];f=TM(65736)|0;if(f|0?c[f+-4>>2]&3|0:0)EQ(f|0,0,65736)|0;c[216]=f;f=TM(76)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+76|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[217]=f;f=TM(128)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+128|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[218]=f;f=TM(44)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+44|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[219]=f;f=TM(100)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+100|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[220]=f;f=TM(24)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+24|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[221]=f;f=TM(13160)|0;if(f|0?c[f+-4>>2]&3|0:0)EQ(f|0,0,13160)|0;c[222]=f;f=TM(1144)|0;if(f|0?c[f+-4>>2]&3|0:0)EQ(f|0,0,1144)|0;c[223]=f;f=TM(16)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+16|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[224]=f;f=TM(56)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+56|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[225]=f;f=TM(24)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+24|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[226]=f;f=TM(60)|0;if(f|0?c[f+-4>>2]&3|0:0){q=f;t=q+60|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}c[227]=f;f=TM(60)|0;do if(f|0){if(!(c[f+-4>>2]&3))break;q=f;t=q+60|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}while(0);c[228]=f;f=TM(52)|0;do if(f|0){if(!(c[f+-4>>2]&3))break;q=f;t=q+52|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0))}while(0);c[229]=f;Hi(e,42939);n=c[225]|0;o=c[3]|0;k=c[230]|0;c[n>>2]=o;m=n+4|0;c[m>>2]=k;c[n+48>>2]=186;c[n+52>>2]=187;q=n+8|0;t=q+40|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(t|0));c[Z>>2]=0;f=gh(Z,85888,2103)|0;i=c[Z>>2]|0;if(i|0){U=c[n>>2]|0;Eg[c[U+2439808>>2]&63](U+1260276|0,i,f,1);Xj(n);fh();UM(i)}c[W>>2]=0;U=k+4096|0;PO(Z,U)|0;EQ(U|0,0,4096)|0;f=Ci(k,87991,W)|0;PO(U,Z)|0;do if(!f){f=TM(1178356)|0;if(!f)break;e=c[n>>2]|0;e=hg[c[e+2439812>>2]&63](e+1260276|0,f)|0;T=c[m>>2]|0;U=T+4096|0;PO(Z,U)|0;EQ(U|0,0,4096)|0;Ei(T,87991,f,e,0)|0;PO(U,Z)|0;UM(f)}else{U=c[n>>2]|0;Eg[c[U+2439808>>2]&63](U+1260276|0,f,c[W>>2]|0,1);Xj(n);fh();UM(f)}while(0);vg[c[o+2439780>>2]&511](o);U=c[226]|0;f=c[230]|0;c[U>>2]=c[3];c[U+4>>2]=f;c[U+8>>2]=0;c[U+12>>2]=-1;c[U+16>>2]=188;c[U+20>>2]=189;c[Z>>2]=0;f=Ci(f,88477,Z)|0;if(f|0){if((c[Z>>2]|0)==384)CQ(292,f|0,384)|0;UM(f)}N=c[221]|0;c[N>>2]=c[3];a[N+4>>0]=0;c[N+8>>2]=1;c[N+12>>2]=0;a[N+16>>0]=0;c[N+20>>2]=190;N=c[222]|0;U=c[3]|0;n=c[230]|0;Q=c[225]|0;S=c[233]|0;T=c[234]|0;k=N+4140|0;if(!(c[k>>2]|0))c[k>>2]=TM(48640)|0;o=N+4144|0;f=c[o>>2]|0;if(!f){f=TM(48640)|0;c[o>>2]=f}e=N+4136|0;i=c[e>>2]|0;if(!i){i=TM(1178356)|0;c[e>>2]=i;m=o;f=c[o>>2]|0}else m=o;I=c[k>>2]|0;c[N>>2]=Q;R=N+4|0;J=N+25|0;c[R>>2]=0;c[R+4>>2]=0;c[R+8>>2]=0;c[R+12>>2]=0;c[R+16>>2]=0;a[R+20>>0]=0;a[J>>0]=0;a[J+1>>0]=0;a[J+2>>0]=0;J=N+4124|0;a[J>>0]=0;R=N+4125|0;a[R>>0]=0;a[R+1>>0]=0;a[R+2>>0]=0;c[N+4128>>2]=122;R=N+4132|0;a[R>>0]=0;p=N+4133|0;a[p>>0]=0;a[p+1>>0]=0;a[p+2>>0]=0;c[e>>2]=i;c[m>>2]=f;i=N+4912|0;EQ(N+4148|0,0,764)|0;c[i>>2]=U;c[N+4916>>2]=n;p=N+4920|0;P=N+13124|0;K=N+13126|0;L=N+13127|0;M=N+13128|0;H=N+13129|0;EQ(p|0,0,8209)|0;a[H>>0]=0;a[H+1>>0]=0;a[H+2>>0]=0;c[N+13132>>2]=123;H=N+13136|0;c[H>>2]=0;c[H+4>>2]=0;c[N+13144>>2]=124;c[N+13148>>2]=4;c[N+13152>>2]=191;c[N+13156>>2]=378;EQ(I|0,0,48640)|0;EQ(c[o>>2]|0,0,48640)|0;I=N+28|0;EQ(I|0,0,4096)|0;if(S|0)PO(N+9016|0,c[T>>2]|0)|0;yh(N,42994,15);yh(N,43017,3);yh(N,43030,3);if((S|0)>1){q=(c[e>>2]|0)+1047744|0;f=U+2308020|0;t=q+48|0;do{c[q>>2]=c[f>>2];q=q+4|0;f=f+4|0}while((q|0)<(t|0));n=1;while(1){k=c[T+(n<<2)>>2]|0;c[W>>2]=0;o=Fi(k,W)|0;if(o){if(!(wN(k+(JO(k)|0)+-4|0,43061)|0)){V=235;break}UM(o)}f=n+1|0;if((f|0)<(S|0))n=f;else{f=1;break}}if((V|0)==235){Eg[c[(c[i>>2]|0)+2439808>>2]&63](c[e>>2]|0,o,c[W>>2]|0,1);m=EP(k)|0;i=EP(k)|0;do if(!($O(i,Z)|0)){e:do if((c[Z+12>>2]&61440|0)==32768){f=JO(i)|0;if((f|0)<0)break;f=i+f|0;while(1){if((a[f>>0]|0)==47)break;f=f+-1|0;if(f>>>0>>0)break e}a[f>>0]=0}while(0);if(!i){f=0;break}f=JO(i)|0;if((a[i+(f+-1)>>0]|0)!=47){V=i+f|0;a[V>>0]=47;a[V+1>>0]=0}f=EP(k)|0;do if(!($O(f,Z)|0)){f:do if((c[Z+12>>2]&61440|0)==32768){i=JO(f)|0;if((i|0)<0)break;i=f+i|0;while(1){if((a[i>>0]|0)==47)break;i=i+-1|0;if(i>>>0>>0)break f}a[i>>0]=0}while(0);if(!f){f=0;break}i=JO(f)|0;if((a[f+(i+-1)>>0]|0)==47)break;V=f+i|0;a[V>>0]=47;a[V+1>>0]=0}else f=0;while(0);f=m+(JO(f)|0)|0}else f=0;while(0);if((p|0)!=(f|0))PO(p,f)|0;a[R>>0]=1;UM(o);f=1<1){i=1;do{G=3<>2]|0;i=i+1|0;p=c[T+(i<<2)>>2]|0;m=(wN(k,43066)|0)==0;if(!m?(wN(k,43078)|0)!=0:0)V=276;else V=270;do if((V|0)==270){V=0;n=(c[e>>2]|0)+65432|0;c[Z>>2]=0;o=Fi(p,Z)|0;if(!o){V=276;break}EQ(n|0,0,65536)|0;k=c[Z>>2]|0;if((k|0)>65536){c[X>>2]=65536;zN(W,43084,X)|0;yh(N,W,6)}CQ(n|0,o|0,((k|0)<65535?k:65535)|0)|0;UM(o);a[R>>0]=1;a[L>>0]=1;if(!m)break;a[J>>0]=1;PO(I,p)|0}while(0);h:do if((V|0)==276){do if(!(wN(k,43118)|0)){c[Z>>2]=0;F=Fi(p,Z)|0;if(!F)break;E=ui(F)|0;if(E|0){B=E+8|0;k=c[B>>2]|0;A=(k|0)<128?k:128;V=c[E+12>>2]|0;C=(V|0)<256?V:256;do if((V|0)>0){D=E+4|0;if((k|0)>0)w=0;else{k=E;break}do{y=((w|0)/8|0)<<4;z=((w|0)%8|0)<<3;x=0;do{q=a[(c[E>>2]|0)+((O(c[B>>2]|0,w)|0)+x)>>0]|0;v=c[D>>2]|0;q=q&255;n=c[e>>2]|0;o=d[v+(q*3|0)>>0]|0;p=d[v+(q*3|0)+1>>0]|0;q=d[v+(q*3|0)+2>>0]|0;v=0;k=0;m=-1;while(1){u=o-(d[n+1047744+(k*3|0)>>0]|0)|0;V=p-(d[n+1047744+(k*3|0)+1>>0]|0)|0;t=q-(d[n+1047744+(k*3|0)+2>>0]|0)|0;t=(O(V,V)|0)+(O(u,u)|0)+(O(t,t)|0)|0;u=t>>>0>>0;v=u?k:v;k=k+1|0;if((k|0)==16)break;else m=u?t:m}V=z+((x|0)%8|0)|0;n=(V>>>1)+(n+(y+((x|0)/8|0)<<5))|0;k=d[n>>0]|0;if(!(V&1)){m=k&240;a[n>>0]=m;k=v&15}else{m=k&15;a[n>>0]=m;k=v<<4&4080}a[n>>0]=k|m;x=x+1|0}while((x|0)<(A|0));w=w+1|0}while((w|0)<(C|0));k=E}else k=E;while(0);k=c[k>>2]|0;if(k|0)UM(k);k=c[E+4>>2]|0;if(k|0)UM(k);UM(E)}UM(F);a[R>>0]=1;a[L>>0]=1;break h}while(0);if(wN(k,43127)|0)break g;c[Z>>2]=0;k=Fi(p,Z)|0;if(!k)break g;m=c[Z>>2]|0;if(m>>>0<32641){F=c[3]|0;V=a[756]|0;EQ(F+81920+(V*130968|0)+16384+m|0,0,32640-m|0)|0;CQ(F+81920+(V*130968|0)+16384|0,k|0,m|0)|0;a[R>>0]=1;a[L>>0]=1;UM(k);break}else{UM(k);break g}}while(0);f=G|f}while(0)}while((i|0)!=(H|0))}n=Q+41|0;m=1;while(1){i=1<>2]|0;do if(!(wN(k,43132)|0))a[n>>0]=1;else{if(!(wN(k,43141)|0)){a[K>>0]=1;break}if(!(wN(k,43147)|0)){a[M>>0]=1;break}if(wN(k,43159)|0){i=f;break i}a[L>>0]=1}while(0);i=i|f}else i=f;while(0);m=m+1|0;if((m|0)==(S|0))break;else f=i}f=1;do{if(!(1<>2]=c[T+(f<<2)>>2];zN(Z,43165,Y)|0;Gb(1,43202,Z|0)|0}f=f+1|0}while((f|0)!=(S|0))}do if(!(a[R>>0]|0)){Y=Eb(2)|0;f=Y;if(!Y)break;a[R>>0]=1;Y=Eb(3)|0;c[Z>>2]=0;Y=gh(Z,f,Y)|0;Z=c[Z>>2]|0;Eg[c[U+2439808>>2]&63](c[e>>2]|0,Z,Y,1);UM(Z);Fb(4,f|0)|0}while(0);a[P>>0]=a[R>>0]^1;Y=c[229]|0;V=c[3]|0;W=c[222]|0;Z=c[W+4916>>2]|0;X=TM(4104)|0;EQ(X|0,0,4104)|0;c[Y>>2]=V;c[Y+4>>2]=Z;c[Y+8>>2]=W;c[Y+12>>2]=X;c[Y+16>>2]=317012;a[Y+20>>0]=0;X=Y+24|0;c[X>>2]=0;c[X+4>>2]=0;c[X+8>>2]=0;c[X+12>>2]=0;c[X+16>>2]=0;c[Y+44>>2]=182;c[Y+48>>2]=183;Hi(Z,88586);li(c[223]|0,c[222]|0,c[3]|0);Z=c[3]|0;b[377]=0;b[378]=0;a[758]=0;$j(c[216]|0,Z,Z+147352|0);Oi(c[217]|0,c[3]|0,Z+81920|0);gj(c[218]|0,c[3]|0,Z+98304|0);tj(c[219]|0,c[3]|0,Z+130944|0);Dj(c[220]|0,c[3]|0,Z+135424|0);Tj(c[224]|0,c[3]|0,c[864+((a[756]|0)*20|0)+8>>2]|0);j:do if(a[(c[222]|0)+13127>>0]|0){f=c[45]|0;k:do switch(f|0){case 1:break j;case 2:{Z=c[3]|0;vg[c[Z+2439784>>2]&511](Z);Z=c[3]|0;vg[c[Z+2439780>>2]&511](Z);break}default:{Z=c[3]|0;vg[c[Z+2439780>>2]&511](Z);switch(f|0){case 10:case 9:case 11:case 0:break k;case 12:{c[46]=3;break k}default:{c[46]=f;break k}}}}while(0);c[45]=1;f=c[79957]|0;if(!f)break;i=c[f+224>>2]|0;if(!i)break;if(!(gg[i&511](f)|0))break;if((c[45]|2|0)!=3)break;PM()}while(0);l:do if(a[(c[222]|0)+13128>>0]|0){n=a[860]|0;a[860]=n^1;m=c[10]|0;n=n<<24>>24==0?4097:0;f=c[79957]|0;if(!f){_D(288260,_);break}do if(m|0){if((c[m>>2]|0)!=(f+280|0))break;f=m+48|0;i=c[f>>2]|0;k=i&4097;if((n|0)==(k|0))break l;c[f>>2]=i&-4098|n;if(!(sI(m,(n&1|0)!=0&(i&68|0)==4&1)|0))break l;c[f>>2]=c[f>>2]&-4098|k;break l}while(0);_D(307482,$)}while(0);t=c[3]|0;Bg[c[t+2439672>>2]&255](t,0);t=TM(16384)|0;Ji((c[3]|0)+2308020|0);o=c[3]|0;i=0;m=0;while(1){p=((m|0)/32|0)<<4;q=(((m|0)/4|0|0)%8|0)<<3;k=0;n=i;while(1){$=(((k|0)/4|0|0)%8|0)+q|0;f=d[($>>>1)+(o+1260276+(((k|0)/32|0)+p<<5))>>0]|0;f=$&1|0?f>>>4:f&15;if((f|0)==14)f=0;else f=c[316940+(f<<2)>>2]|0;c[t+(n<<2)>>2]=f;k=k+1|0;if((k|0)==64)break;else n=n+1|0}m=m+1|0;if((m|0)==64)break;else i=i+64|0}f=kJ(0,0,372645892)|0;if(!f)f=0;else{c[f>>2]=c[f>>2]|1;c[f+20>>2]=t;c[f+8>>2]=64;c[f+12>>2]=64;c[f+16>>2]=256;c[f+36>>2]=0;c[f+40>>2]=0;c[f+44>>2]=64;c[f+48>>2]=64}p=c[10]|0;i=c[79957]|0;if(!i){_D(288260,aa);yE(f);UM(t);ba=c[10]|0;ba=vM(ba,-1,6)|0;c[11]=ba;ba=wM(ba,372645892,256,256)|0;c[12]=ba;mh();l=ca;return}do if(p|0){if((c[p>>2]|0)!=(i+280|0))break;if(!f){yE(f);UM(t);ba=c[10]|0;ba=vM(ba,-1,6)|0;c[11]=ba;ba=wM(ba,372645892,256,256)|0;c[12]=ba;mh();l=ca;return}m=p+12|0;yE(c[m>>2]|0);n=iJ(372645892)|0;if(!n){c[m>>2]=0;yE(f);UM(t);ba=c[10]|0;ba=vM(ba,-1,6)|0;c[11]=ba;ba=wM(ba,372645892,256,256)|0;c[12]=ba;mh();l=ca;return}o=fJ(f,n,0)|0;aa=n+36|0;ba=c[aa>>2]|0;c[aa>>2]=ba+-1;if((ba|0)<=1){i=c[79959]|0;m:do if((i|0)==(n|0))c[79959]=c[n+40>>2];else{if(!i)break;do{k=i+40|0;i=c[k>>2]|0;if(!i)break m}while((i|0)!=(n|0));c[k>>2]=c[n+40>>2]}while(0);i=c[n+4>>2]|0;do if(i|0){aa=i+12|0;ba=c[aa>>2]|0;c[aa>>2]=ba+-1;if((ba|0)>1)break;UM(c[i+4>>2]|0);UM(i)}while(0);UM(n)}c[m>>2]=o;if(!o){yE(f);UM(t);ba=c[10]|0;ba=vM(ba,-1,6)|0;c[11]=ba;ba=wM(ba,372645892,256,256)|0;c[12]=ba;mh();l=ca;return}i=c[79957]|0;k=c[i+44>>2]|0;if(!k){yE(f);UM(t);ba=c[10]|0;ba=vM(ba,-1,6)|0;c[11]=ba;ba=wM(ba,372645892,256,256)|0;c[12]=ba;mh();l=ca;return}Dg[k&63](i,p,o);yE(f);UM(t);ba=c[10]|0;ba=vM(ba,-1,6)|0;c[11]=ba;ba=wM(ba,372645892,256,256)|0;c[12]=ba;mh();l=ca;return}while(0);_D(307482,ba);yE(f);UM(t);ba=c[10]|0;ba=vM(ba,-1,6)|0;c[11]=ba;ba=wM(ba,372645892,256,256)|0;c[12]=ba;mh();l=ca;return}function jh(a){a=a|0;return}function kh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+16|0;bQ();c[233]=b;c[234]=d;if((b|0)==2)Jb(c[d+4>>2]|0,38319,192,193);else{b=TM(8196)|0;EQ(b|0,0,8196)|0;d=TM(4104)|0;EQ(d|0,0,4104)|0;c[b+8192>>2]=d;d=b;f=84465;g=d+24|0;do{a[d>>0]=a[f>>0]|0;d=d+1|0;f=f+1|0}while((d|0)<(g|0));Hb(0,b|0,185,b|0)|0}of(1,60,1);UM(c[216]|0);UM(c[217]|0);UM(c[218]|0);UM(c[219]|0);UM(c[220]|0);UM(c[221]|0);UM(c[222]|0);UM(c[223]|0);UM(c[224]|0);UM(c[225]|0);UM(c[226]|0);UM(c[227]|0);UM(c[228]|0);UM(c[229]|0);b=c[2]|0;if(b|0){d=c[b+24>>2]|0;a[d+2589368>>0]=0;Om(d);Om(d);_l(d);f=c[d+2588572>>2]|0;if(f|0)UM(f);UM(c[d+2440924>>2]|0);UM(d);UM(b)}b=c[24]|0;if(b|0)UM(b);_L(c[172]|0);_L(c[12]|0);b=c[66]|0;if(b|0)_L(b);$L(c[11]|0);zM(c[10]|0);b=(c[19]|0)+-1|0;if(!(b>>>0<=15?(e=c[323752+(b<<2)>>2]|0,(e|0)!=0):0)){_D(307770,h);e=0}VL(e);c[80955]=1;yM(29233);c[80248]=0;e=c[79960]|0;if(e|0)do{c[79960]=c[e+16>>2];UM(c[e>>2]|0);UM(c[e+4>>2]|0);b=c[e+12>>2]|0;if(b|0)do{h=b;b=c[b+8>>2]|0;UM(h)}while((b|0)!=0);UM(e);e=c[79960]|0}while((e|0)!=0);e=c[79961]|0;if(e|0)do{c[79961]=c[e+8>>2];UM(e);e=c[79961]|0}while((e|0)!=0);d=334763;g=d+32|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(g|0));c[80955]=0;e=c[79234]|0;if(!e)Cf(0);h=e+-1|0;c[79234]=h;if(h|0)Cf(0);e=Sf(13,0)|0;if((e|0)==1)Cf(0);Sf(13,e|0)|0;Cf(0);return 0}function lh(){var 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;x=l;l=l+48|0;s=x+40|0;r=x+32|0;u=x+24|0;t=x+16|0;q=x+8|0;p=x;c[72]=321022;c[169]=0;g=0;f=0;while(1){e=1<>2]|0)>>0]|0))e=f;else c[169]=e;g=g+1|0;if((g|0)==96)break;else f=e}c[171]=0;o=0;e=0;a:while(1){n=c[164+(o<<2)>>2]|0;b:do if((n|0)!=0?(c[n+44>>2]|0)!=0:0){switch(e|0){case 0:{m=684;break}case 1:{if(!685){e=1;break b}else m=685;break}default:break b}i=n+8|0;j=c[i>>2]|0;if((j|0)>0){k=n+12|0;h=0;f=0;do{g=c[i>>2]|0;c:do if((g|0)>(h|0)){g=b[(c[k>>2]|0)+(h<<1)>>1]|0;if(g<<16>>16)switch(h|0){case 0:if(g<<16>>16>16384){f=f|2;break c}else{f=g<<16>>16<-16384?f|8:f;break c}case 1:if(g<<16>>16>16384){f=f|4;break c}else{f=g<<16>>16<-16384|f;break c}default:break c}}else{c[p>>2]=g;_D(310055,p)}while(0);h=h+1|0}while((h|0)!=(j|0))}else f=0;i=f>>>1;f=(i&2|f&1|i&4|f<<2&8|d[m>>0])&255;a[m>>0]=f;i=n+20|0;g=c[i>>2]|0;if((g|0)>0){j=n+24|0;h=0;do{if((g|0)>(h|0))g=a[(c[j>>2]|0)+h>>0]|0;else{c[q>>2]=g;_D(310081,q);g=0;f=a[m>>0]|0}g=g&255;k=g>>>1;f=(f&255|g&1|k&2|k&4|g<<2&8)&255;a[m>>0]=f;h=h+1|0;g=c[i>>2]|0}while((h|0)<(g|0))}i=n+36|0;j=c[i>>2]|0;if((j|0)>1){h=((a[c[n+40>>2]>>0]|0)!=0&1)<<4&255|f&-17;a[m>>0]=h;f=c[i>>2]|0;if((f|0)>1){g=a[(c[n+40>>2]|0)+1>>0]|0;f=h}else{c[t>>2]=f;_D(310026,t);g=0;f=a[m>>0]|0}f=(g<<24>>24!=0&1)<<5&255|f&-33;a[m>>0]=f;if((j|0)>3){g=c[i>>2]|0;if((g|0)>2)g=a[(c[n+40>>2]|0)+2>>0]|0;else{c[u>>2]=g;_D(310026,u);g=0;f=a[m>>0]|0}h=(g<<24>>24!=0&1)<<6&255|f&-65;a[m>>0]=h;f=c[i>>2]|0;if((f|0)>3){g=a[(c[n+40>>2]|0)+3>>0]|0;f=h}else{c[r>>2]=f;_D(310026,r);g=0;f=a[m>>0]|0}a[m>>0]=(g<<24>>24!=0&1)<<7&255|f&127;if((j|0)>5){g=n+40|0;f=5;do{h=c[i>>2]|0;if((h|0)>(f|0)){if(a[(c[g>>2]|0)+f>>0]|0){e=46;break a}}else{c[s>>2]=h;_D(310026,s)}f=f+1|0}while((f|0)<(j|0))}a[704]=0}}e=e+1|0}while(0);o=o+1|0;if(o>>>0>=4){e=57;break}}d:do if((e|0)==46){if(!(a[704]|0)){e:do switch(c[45]|0){case 2:{if(!(a[(c[222]|0)+13125>>0]|0))break d;e=c[3]|0;vg[c[e+2439784>>2]&511](e);e=c[3]|0;vg[c[e+2439780>>2]&511](e);e=c[228]|0;g=c[3]|0;v=c[230]|0;f=e+12|0;w=c[f>>2]|0;c[e>>2]=g;c[e+4>>2]=v;a[e+8>>0]=0;c[e+16>>2]=0;c[e+20>>2]=0;c[e+24>>2]=0;c[e+28>>2]=-1;v=e+32|0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=0;c[v+12>>2]=0;a[v+16>>0]=0;c[e+52>>2]=0;c[e+56>>2]=184;e=w;if(!w){e=TM(16320)|0;c[f>>2]=e;if(!e){e=11;break e}}CQ(e|0,g|0,16320)|0;e=11;break}case 11:{e=c[3]|0;vg[c[e+2439788>>2]&511](e);e=2;break}default:break d}while(0);c[45]=e;a[704]=1}}else if((((((e|0)==57?(c[45]|0)==1&(c[171]|0)!=0:0)?(c[171]=0,v=c[3]|0,vg[c[v+2439780>>2]&511](v),v=c[229]|0,vg[c[v+48>>2]&511](v),c[45]=12,v=c[79957]|0,v|0):0)?(w=c[v+224>>2]|0,w|0):0)?gg[w&511](v)|0:0)?(c[45]|2|0)==3:0)PM();while(0);c[(c[3]|0)+65408>>2]=c[170]|c[169]|c[171];l=x;return}function mh(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;m=o+16|0;k=o+8|0;g=o;h=o+24|0;i=o+20|0;if(!(c[11]|0)){l=o;return}b=c[3]|0;Kg[c[b+2439704>>2]&15](b,b+1276660|0,b+1260276|0,0,0,30,17,0,0,-1,1);b=c[172]|0;if(!b){d=wM(c[11]|0,372645892,256,256)|0;c[172]=d;while(1){if(!d){n=6;break}if((c[d>>2]|0)!=332714){n=6;break}c[d+24>>2]=1;b=c[d+36>>2]|0;if(!b){n=8;break}else d=b}if((n|0)==6)_D(289404,g);else if((n|0)==8?(e=c[d+32>>2]|0,f=c[e+24>>2]|0,f|0):0)hg[f&63](e,d)|0;b=c[172]|0}c[h>>2]=0;c[i>>2]=0;fM(b,0,h,i)|0;f=c[h>>2]|0;j=c[i>>2]|0;h=c[3]|0;i=h+16320|0;Ji(h+2308020|0);j=(j>>>2)+-240|0;g=0;while(1){d=a[h>>0]|0;b=d&15;d=(d&255)>>>4;if(!(b<<24>>24))b=0;else b=c[316940+((b&255)<<2)>>2]|-16777216;c[f>>2]=b;if(!(d<<24>>24))b=0;else b=c[316940+((d&255)<<2)>>2]|-16777216;e=f+8|0;c[f+4>>2]=b;h=h+1|0;b=g+2|0;d=(b|0)==240;if((h|0)==(i|0))break;else{g=d?0:b;f=d?e+(j<<2)|0:e}}hM(c[172]|0);d=c[10]|0;b=c[79957]|0;do if(!b){_D(288260,k);b=0;d=0;n=23}else{if(d|0?(c[d>>2]|0)==(b+280|0):0){b=c[d+24>>2]|0;d=c[d+28>>2]|0;if((b|0)<(d|0)){n=23;break}e=(b|0)/15|0;f=2;break}_D(307482,m);b=0;d=0;n=23}while(0);if((n|0)==23){e=(b|0)/6|0;f=3;d=d<<1}j=O(e,-3)|0;n=(d+j|0)/(f|0)|0;c[177]=e;c[178]=0;c[179]=n;k=e<<1;m=b-k|0;c[180]=m;c[181]=n+k;k=n+e|0;c[182]=b-e;c[183]=k;c[184]=j+b;c[185]=k;c[186]=m;c[187]=n;l=o;return}function nh(){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;u=l;l=l+48|0;t=u+40|0;s=u+32|0;q=u+24|0;o=u+16|0;n=u+8|0;g=u;if(!(c[230]|0)){l=u;return}if(a[924]|0){t=c[3]|0;Bg[c[t+2439672>>2]&255](t,0);oh();Kb();l=u;return}m=c[68]|0;c[68]=0;f=c[11]|0;if((f|0)!=0?(c[f>>2]|0)==332713:0){if(!(c[f+192>>2]|0))gg[c[f+56>>2]&511](f)|0}else _D(289387,g);i=c[3]|0;g=804;h=g+36|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));b[420]=0;a[842]=0;a[284]=0;c[49]=-1;c[48]=-1;a[205]=0;a[225]=0;a[245]=0;switch(c[45]|0){case 2:{f=i+65508|0;g=i+69988|0;break}case 12:case 11:case 10:case 0:{f=i+1309300|0;g=i+1313780|0;break}default:{f=i+81920+((a[757]|0)*130968|0)+49024|0;g=i+81920+((a[758]|0)*130968|0)+53504|0}}Dg[c[i+2439816>>2]&63](i,f,g);do switch(c[45]|0){case 0:{h=c[221]|0;vg[c[h+20>>2]&511](h);break}case 1:{h=c[222]|0;vg[c[h+13152>>2]&511](h);break}case 2:{h=c[223]|0;vg[c[h+1140>>2]&511](h);break}case 3:{h=c[864+((a[754]|0)*20|0)>>2]|0;vg[c[h+65720>>2]&511](h);break}case 4:{h=c[864+((a[755]|0)*20|0)+4>>2]|0;vg[c[h+64>>2]&511](h);break}case 5:{h=c[864+((a[756]|0)*20|0)+8>>2]|0;vg[c[h+116>>2]&511](h);break}case 7:{h=c[864+((a[757]|0)*20|0)+12>>2]|0;vg[c[h+36>>2]&511](h);break}case 8:{h=c[864+((a[758]|0)*20|0)+16>>2]|0;vg[c[h+92>>2]&511](h);break}case 6:{h=c[224]|0;vg[c[h+12>>2]&511](h);break}case 9:{h=c[226]|0;vg[c[h+16>>2]&511](h);break}case 10:{h=c[227]|0;vg[c[h+52>>2]&511](h);break}case 11:{h=c[228]|0;vg[c[h+56>>2]&511](h);break}case 12:{h=c[229]|0;vg[c[h+44>>2]&511](h);break}default:{}}while(0);f=c[190]|0;if((f|0)>0){g=f+-1|0;c[190]=g;if((f|0)>=31)if((g|0)>89)f=((91-f|0)*7|0)/30|0;else f=0;else f=((31-f|0)*7|0)/-30|0;g=c[3]|0;Gg[c[g+2439688>>2]&7](g,0,f,240,7,6);g=c[3]|0;v=c[g+2439660>>2]|0;h=((O(JO(764)|0,-6)|0)+240|0)/2|0;lg[v&31](g,764,h,f+1|0,15)|0}if(a[(c[225]|0)+41>>0]|0){g=i+65436|0;h=g+72|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0))}v=c[3]|0;vg[c[v+2439820>>2]&511](v);if((c[45]|0)!=2){f=c[3]|0;g=f+16320|0;f=f+2308020|0;h=g+48|0;do{c[g>>2]=c[f>>2];g=g+4|0;f=f+4|0}while((g|0)<(h|0))}oh();if((c[45]|0)==2?(d=c[3]|0,e=a[d+16379>>0]|0,e<<24>>24!=0):0){v=c[79988]|0;c[79988]=0;if((v|0)!=0?(j=c[79964]|0,(j|0)!=0):0){gg[j&511](0)|0;d=c[3]|0;e=a[d+16379>>0]|0}qh(d+24576+((e&255)<<5)|0)}else{d=c[(c[225]|0)+8>>2]|0;v=c[79988]|0;j=d>>>31;c[79988]=j;do if((j|0)!=(v|0)){e=(c[79973]|0)==0?c[79986]|0:c[79987]|0;f=c[79964]|0;g=(f|0)==0;if((e|0)!=0&(d|0)<0&(c[79981]|0)==0){if(g)break;gg[f&511](e)|0;break}else{if(g)break;gg[f&511](0)|0;break}}while(0);d=c[(c[225]|0)+8>>2]|0;if((d|0)>-1)qh((c[3]|0)+1260276+(d<<5)|0)}d=c[45]|0;if((d|0)==2){if(a[(c[3]|0)+2440920>>0]&1){rh();k=c[45]|0;p=54}}else{k=d;p=54}if((p|0)==54?(k+-11|0)>>>0<2:0)rh();e=c[68]|0;do if((e|0)!=(m|0)){d=c[79963]|0;if(d){f=gg[d&511](e)|0;if(!f)p=66;else{c[f>>2]=c[79985];c[79985]=f;if((c[79986]|0)!=(f|0)){d=f;while(1){e=(d|0)!=0;if((d|0)==(f|0)|e^1)break;d=c[d>>2]|0}if(!e){_D(309875,o);break}}c[79987]=f}}else{_D(309920,n);p=66}do if((p|0)==66)if(!(c[79973]|0)){f=c[79986]|0;break}else{f=c[79987]|0;break}while(0);d=c[79964]|0;e=(d|0)==0;if((f|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(e)break;gg[d&511](f)|0;break}else{if(e)break;gg[d&511](0)|0;break}}while(0);d=c[11]|0;if((d|0)!=0?(c[d>>2]|0)==332713:0){if(!(c[d+192>>2]|0))vg[c[d+84>>2]&511](d)}else _D(289387,q);d=(c[19]|0)+-1|0;if(d>>>0<=15?(r=c[323752+(d<<2)>>2]|0,(r|0)!=0):0){vg[c[323648>>2]&511](r);c[r+140>>2]=0;vg[c[323652>>2]&511](r)}else _D(307770,s);e=c[3]|0;d=c[e+2440928>>2]|0;e=c[e+2440924>>2]|0;if(!(c[20]|0)){DM(c[19]|0,e,d);l=u;return}CQ(c[24]|0,e|0,d|0)|0;if(c[24]|0){c[26]=c[25];d=c[30]|0;if(d|0){c[40]=0;Bg[d&255](80,b[42]|0)}}else _D(304108,t);DM(c[19]|0,c[24]|0,c[26]|0);l=u;return}function oh(){var b=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;w=l;l=l+128|0;v=w+56|0;u=w+48|0;p=w+40|0;o=w+32|0;m=w+24|0;k=w+16|0;e=w+8|0;q=w+104|0;r=w+88|0;j=w+84|0;g=w+80|0;s=w+64|0;i=c[3]|0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;b=c[10]|0;h=r+8|0;t=r+12|0;d=c[79957]|0;do if(!d)_D(288260,w);else{if(b|0?(c[b>>2]|0)==(d+280|0):0){c[h>>2]=c[b+24>>2];c[t>>2]=c[b+28>>2];break}_D(307482,e)}while(0);b=c[h>>2]|0;d=c[t>>2]|0;do if((b*136|0)<(d*240|0)){n=(b|0)%240|0;f=b-n|0;e=(f*136|0)/240|0;c[r>>2]=(n|0)/2|0;if((b|0)>(d|0)){d=(d-e|0)/2|0;b=f;break}else{d=(f|0)/30|0;b=f;break}}else{f=(d|0)%136|0;e=d-f|0;n=(e*240|0)/136|0;c[r>>2]=(b-n|0)/2|0;d=(f|0)/2|0;b=n}while(0);n=r+4|0;c[n>>2]=d;c[h>>2]=b;c[t>>2]=e;c[j>>2]=0;c[g>>2]=0;fM(c[12]|0,0,j,g)|0;switch(c[45]|0){case 2:{b=c[i+2439772>>2]|0;d=c[i+2439776>>2]|0;e=0;break}case 4:{e=c[864+((a[755]|0)*20|0)+4>>2]|0;b=0;d=c[e+72>>2]|0;break}case 5:{e=c[864+((a[756]|0)*20|0)+8>>2]|0;b=0;d=c[e+124>>2]|0;break}default:{b=0;d=0;e=0}}Eg[c[i+2439824>>2]&63](i,b,d,e);g=c[j>>2]|0;CQ(g|0,i+2440932|0,147456)|0;do if(a[844]|0){b=c[214]|0;d=c[212]|0;if((b|0)>=(c[213]|0)){if(d|0){c[q>>2]=0;e=TM(b*147456|0)|0;xi(e,q,256,144,c[212]|0,c[214]|0,c[(c[225]|0)+32>>2]|0);f=c[q>>2]|0;i=TM(12)|0;c[i>>2]=127;g=i+4|0;c[g>>2]=0;h=i+8|0;c[h>>2]=e;Hb(5,42947,e|0,f|0)|0;Bg[c[i>>2]&255](1,c[g>>2]|0);UM(c[h>>2]|0);UM(i);UM(c[212]|0);c[212]=0}a[844]=0;break}e=0;f=g;d=d+(b*36864<<2)|0;while(1){CQ(d|0,f|0,1024)|0;e=e+1|0;if((e|0)==144)break;else{f=f+1024|0;d=d+1024|0}}if(((b|0)%60|0|0)<30){Ji((c[3]|0)+2308020|0);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=c[214]|0}c[214]=b+1}while(0);d=c[j>>2]|0;if((c[232]|0)>=(c[(c[225]|0)+44>>2]|0)){Ji((c[3]|0)+2308020|0);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16);b=0;do{if(1<>2]=c[79241];b=b+1|0}while((b|0)!=16)}hM(c[12]|0);c[q>>2]=c[283];c[q+4>>2]=c[284];c[q+8>>2]=c[285];c[q+12>>2]=c[286];c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;c[s+12>>2]=0;b=c[10]|0;d=s+8|0;e=s+12|0;f=c[79957]|0;do if(!f)_D(288260,k);else{if(b|0?(c[b>>2]|0)==(f+280|0):0){c[d>>2]=c[b+24>>2];c[e>>2]=c[b+28>>2];break}_D(307482,m)}while(0);c[e>>2]=c[n>>2];eM(c[11]|0,c[12]|0,q,s)|0;c[q>>2]=c[287];c[q+4>>2]=c[288];c[q+8>>2]=c[289];c[q+12>>2]=c[290];c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;c[s+12>>2]=0;b=c[10]|0;d=s+8|0;e=s+12|0;f=c[79957]|0;do if(!f)_D(288260,o);else{if(b|0?(c[b>>2]|0)==(f+280|0):0){c[d>>2]=c[b+24>>2];c[e>>2]=c[b+28>>2];break}_D(307482,p)}while(0);b=c[n>>2]|0;c[s+4>>2]=(c[t>>2]|0)+b;c[e>>2]=b;eM(c[11]|0,c[12]|0,q,s)|0;c[q>>2]=c[291];c[q+4>>2]=c[292];c[q+8>>2]=c[293];c[q+12>>2]=c[294];c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;c[s+12>>2]=0;b=c[10]|0;d=s+8|0;e=s+12|0;f=c[79957]|0;if(!f){_D(288260,u);u=c[n>>2]|0;v=s+4|0;c[v>>2]=u;v=c[t>>2]|0;c[e>>2]=v;v=c[11]|0;u=c[12]|0;eM(v,u,q,s)|0;c[q>>2]=c[295];c[q+4>>2]=c[296];c[q+8>>2]=c[297];c[q+12>>2]=c[298];u=c[11]|0;v=c[12]|0;eM(u,v,q,r)|0;l=w;return}if(b|0?(c[b>>2]|0)==(f+280|0):0){c[d>>2]=c[b+24>>2];c[e>>2]=c[b+28>>2];u=c[n>>2]|0;v=s+4|0;c[v>>2]=u;v=c[t>>2]|0;c[e>>2]=v;v=c[11]|0;u=c[12]|0;eM(v,u,q,s)|0;c[q>>2]=c[295];c[q+4>>2]=c[296];c[q+8>>2]=c[297];c[q+12>>2]=c[298];u=c[11]|0;v=c[12]|0;eM(u,v,q,r)|0;l=w;return}_D(307482,v);u=c[n>>2]|0;v=s+4|0;c[v>>2]=u;v=c[t>>2]|0;c[e>>2]=v;v=c[11]|0;u=c[12]|0;eM(v,u,q,s)|0;c[q>>2]=c[295];c[q+4>>2]=c[296];c[q+8>>2]=c[297];c[q+12>>2]=c[298];u=c[11]|0;v=c[12]|0;eM(u,v,q,r)|0;l=w;return}function ph(b,d){b=b|0;d=d|0;var e=0;switch(b|0){case 0:{c[190]=120;b=764;d=42958;e=b+20|0;do{a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(e|0));return}case 1:{c[190]=120;b=764;d=42978;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));return}default:return}}function qh(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+80|0;n=o+32|0;m=o+24|0;i=o+16|0;h=o+8|0;e=o;j=o+56|0;k=o+40|0;do if(!(c[66]|0)){g=wM(c[11]|0,372645892,8,8)|0;c[66]=g;while(1){if(!g){f=5;break}if((c[g>>2]|0)!=332714){f=5;break}c[g+24>>2]=1;d=c[g+36>>2]|0;if(!d)break;else g=d}if((f|0)==5){_D(289404,e);break}d=c[g+32>>2]|0;e=c[d+24>>2]|0;if(e|0)hg[e&63](d,g)|0}while(0);if((c[67]|0)!=(b|0)){c[67]=b;c[j>>2]=0;c[k>>2]=0;fM(c[66]|0,0,j,k)|0;Ji((c[3]|0)+16320|0);f=0;g=c[j>>2]|0;while(1){e=a[b+f>>0]|0;d=e&15;e=(e&255)>>>4;if(!(d<<24>>24))d=0;else d=c[316940+((d&255)<<2)>>2]|-16777216;c[g>>2]=d;if(!(e<<24>>24))d=0;else d=c[316940+((e&255)<<2)>>2]|-16777216;c[g+4>>2]=d;f=f+1|0;if((f|0)==32)break;else g=g+8|0}hM(c[66]|0)}f=c[10]|0;d=c[79957]|0;do if(!d){_D(288260,h);e=0;f=0}else{if(f|0?(c[f>>2]|0)==(d+280|0):0){e=c[f+28>>2]|0;f=c[f+24>>2]|0;break}_D(307482,i);e=0;f=0}while(0);do if((f*136|0)<(e*240|0)){g=(f|0)%240|0;d=f-g|0;g=(g|0)/2|0;if((f|0)>(e|0)){h=(e-((d*136|0)/240|0)|0)/2|0;break}else{h=(d|0)/30|0;break}}else{h=(e|0)%136|0;d=((e-h|0)*240|0)/136|0;h=(h|0)/2|0;g=(f-d|0)/2|0}while(0);d=(d|0)/240|0;c[j>>2]=c[299];c[j+4>>2]=c[300];c[j+8>>2]=c[301];c[j+12>>2]=c[302];e=k+4|0;f=d<<3;c[k+8>>2]=f;c[k+12>>2]=f;f=c[79974]|0;c[k>>2]=f;b=c[79975]|0;c[e>>2]=b;if(a[(c[225]|0)+12>>0]|0){c[k>>2]=f-((f-g|0)%(d|0)|0);c[e>>2]=b-((b-h|0)%(d|0)|0)}d=c[10]|0;e=c[79957]|0;if(!e){_D(288260,m);l=o;return}if(d|0?(c[d>>2]|0)==(e+280|0):0){if(!(c[d+48>>2]&1024)){l=o;return}eM(c[11]|0,c[66]|0,j,k)|0;l=o;return}_D(307482,n);l=o;return}function rh(){var b=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;t=l;l=l+144|0;r=t;e=t+40|0;f=t+24|0;g=t+8|0;if(!((a[692]|0)!=0|(c[175]|0)!=0)){l=t;return}o=c[177]|0;k=c[178]|0;b=c[179]|0;h=a[(c[3]|0)+65408>>0]|0;p=h&1;a[e>>0]=p;q=k+o|0;c[e+4>>2]=q;c[e+8>>2]=b;a[e+12>>0]=(h&255)>>>1&1;c[e+16>>2]=q;j=o<<1;c[e+20>>2]=b+j;a[e+24>>0]=(h&255)>>>2&1;c[e+28>>2]=k;i=b+o|0;c[e+32>>2]=i;a[e+36>>0]=(h&255)>>>3&1;c[e+40>>2]=k+j;c[e+44>>2]=i;a[e+48>>0]=(h&255)>>>4&1;c[e+52>>2]=c[180];c[e+56>>2]=c[181];a[e+60>>0]=(h&255)>>>5&1;c[e+64>>2]=c[182];c[e+68>>2]=c[183];a[e+72>>0]=(h&255)>>>6&1;c[e+76>>2]=c[184];c[e+80>>2]=c[185];a[e+84>>0]=(h&255)>>>7;c[e+88>>2]=c[186];c[e+92>>2]=c[187];h=f+4|0;i=f+8|0;j=f+12|0;k=g+4|0;m=g+8|0;n=g+12|0;d=0;while(1){c[f>>2]=(p<<24>>24?d+8|0:d)<<3;c[h>>2]=0;c[i>>2]=8;c[j>>2]=8;c[g>>2]=q;c[k>>2]=b;c[m>>2]=o;c[n>>2]=o;eM(c[11]|0,c[172]|0,f,g)|0;b=d+1|0;if((b|0)==8)break;d=b;p=a[e+(b*12|0)>>0]|0;q=c[e+(b*12|0)+4>>2]|0;b=c[e+(b*12|0)+8>>2]|0}q=c[175]|0;b=q+-3|0;b=(b|0)>0?b:0;do if((a[692]|0)==0&(q|0)!=0){c[175]=b;e=c[172]|0;d=b&255;a:do if(d<<24>>24==-1){b=e;while(1){if(!b){s=12;break a}if((c[b>>2]|0)!=332714){s=12;break a}d=b+20|0;c[d>>2]=c[d>>2]&-3;a[b+31>>0]=-1;d=c[b+36>>2]|0;if(!d){e=b;break}else b=d}}else while(1){if(!e){s=12;break a}if((c[e>>2]|0)!=332714){s=12;break a}b=e+20|0;c[b>>2]=c[b>>2]|2;a[e+31>>0]=d;b=c[e+36>>2]|0;if(!b)break;else e=b}while(0);if((s|0)==12){_D(289404,r);break}b=c[e+32>>2]|0;d=c[b+20>>2]|0;if(d|0)hg[d&63](b,e)|0}while(0);s=c[170]|0?0:(c[174]|0)+1|0;c[174]=s;if((s|0)>299)a[692]=0;l=t;return}function sh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+272|0;h=i;e=i+4|0;f=i+8|0;if(!(a[b+4124>>0]|0)){l=i;return}c[e>>2]=0;g=Fi(b+28|0,e)|0;if(g|0){EQ(d|0,0,65536)|0;e=c[e>>2]|0;if((e|0)>65536){c[h>>2]=65536;zN(f,43084,h)|0;yh(b,f,6)}CQ(d|0,g|0,((e|0)<65535?e:65535)|0)|0;UM(g)}l=i;return}function th(b,d){b=b|0;d=d|0;var 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;s=l;l=l+4176|0;p=s;q=s+4104|0;n=s+4096|0;if(!d){yh(b,83649,3);e=b+4916|0}else{f=q;h=f+64|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(h|0));e=b+4916|0;r=b+4912|0;m=0;f=0;do{k=c[1952+(m<<2)>>2]|0;c[p>>2]=43061;c[p+4>>2]=k;zN(q,83571,p)|0;g=zP(d,q)|0;if(g){a[g+4>>0]=0;PO(324408,d)|0;g=JO(324408)|0;if(g>>>0>4){g=324408+g|0;if(((zP(324408,43061)|0)+4|0)!=(g|0))o=7}else{g=324408+g|0;o=7}if((o|0)==7){o=0;a[g>>0]=a[43061]|0;a[g+1>>0]=a[43062]|0;a[g+2>>0]=a[43063]|0;a[g+3>>0]=a[43064]|0;a[g+4>>0]=a[43065]|0}c[n>>2]=0;j=Ci(c[e>>2]|0,324408,n)|0;if(!j)yh(b,83591,3);else{i=TM(1178356)|0;if(i){Eg[c[(c[r>>2]|0)+2439808>>2]&63](i,j,c[n>>2]|0,1);f=c[r>>2]|0;switch(m|0){case 0:{CQ(f+1129712|0,i+1047792|0,130564)|0;break}case 1:{CQ(f+81920|0,i|0,16384)|0;break}case 2:{CQ(f+98304|0,i+16384|0,32640)|0;break}case 3:{CQ(f+147352|0,i+65432|0,65536)|0;break}case 4:{CQ(f+130944|0,i+49024|0,4480)|0;break}case 5:{CQ(f+135424|0,i+53504|0,11928)|0;break}case 6:{f=f+1129664|0;g=i+1047744|0;h=f+48|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));break}default:{}}bh();yh(b,43429,0);yh(b,k,15);yh(b,83577,3);yh(b,324408,15);yh(b,43429,0);UM(i);f=1}UM(j)}yh(b,43429,0);g=(c[e>>2]|0)+4096|0;if(a[g>>0]|0)yh(b,g,3);yh(b,43448,15)}m=m+1|0}while((m|0)!=7);if(f&1){l=s;return}c[q>>2]=0;PO(324408,d)|0;f=JO(324408)|0;if(f>>>0>4){f=324408+f|0;if(((zP(324408,43061)|0)+4|0)!=(f|0))o=29}else{f=324408+f|0;o=29}if((o|0)==29){a[f>>0]=a[43061]|0;a[f+1>>0]=a[43062]|0;a[f+2>>0]=a[43063]|0;a[f+3>>0]=a[43064]|0;a[f+4>>0]=a[43065]|0}o=(wN(324408,87991)|0)==0;f=c[e>>2]|0;if(o){o=f+4096|0;PO(p,o)|0;EQ(o|0,0,4096)|0;g=Ci(f,324408,q)|0;PO(o,p)|0}else g=Ci(f,324408,q)|0;if(!g)yh(b,83591,3);else{f=(c[e>>2]|0)+4096|0;if(!(wN(f,84366)|0))f=1;else f=(xN(f,84384,18)|0)==0&1;a[b+13125>>0]=f;f=c[r>>2]|0;Eg[c[f+2439808>>2]&63](f+81920|0,g,c[q>>2]|0,1);vg[c[f+2439780>>2]&511](f);f=b+4920|0;if((f|0)!=324408)PO(f,324408)|0;bh();yh(b,45477,3);yh(b,f,15);yh(b,83611,3);yh(b,83625,15);yh(b,83629,3);UM(g)}}yh(b,43429,0);e=(c[e>>2]|0)+4096|0;if(a[e>>0]|0)yh(b,e,3);yh(b,43448,15);l=s;return}function uh(b,d){b=b|0;d=d|0;yh(b,d|0?d:83557,6);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function vh(b,d,e){b=b|0;d=d|0;e=e|0;yh(b,d,e);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function wh(b){b=b|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,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;F=l;l=l+8208|0;A=F+4104|0;B=F+8|0;y=F+4|0;z=F;d=eh()|0;a:do if(d|0){v=b+16|0;w=b+8|0;x=b+4140|0;n=b+4144|0;o=b+12|0;p=b+13112|0;q=b+13116|0;r=b+4148|0;s=b+4908|0;u=b+4916|0;while(1){switch(c[d>>2]|0){case 1027:{k=((c[d+20>>2]|0)>0?-3:3)+(c[v>>2]|0)|0;k=(k|0)>0?k:0;j=c[w>>2]|0;c[v>>2]=(k|0)>(j|0)?j:k;break}case 768:{d=c[d+16+4>>2]|0;b:do if((d|0)<1073741901){if((d|0)<13){switch(d|0){case 8:{k=c[s>>2]|0;d=k+-1|0;e=b+4148+d|0;if(!k)break b;c[s>>2]=d;DQ(e|0,e+1|0,JO(e)|0)|0;break b}case 9:break;default:break b}f=JO(r)|0;if(!f)break;d=KO(r,32)|0;if((d|0)!=0?(t=d+1|0,(JO(t)|0)!=0):0){yi(c[u>>2]|0,1,t);c[s>>2]=JO(r)|0;break}else d=0;while(1){e=c[1212+(d<<4)>>2]|0;d=d+1|0;if(!(yN(e,r,f)|0))break;if(d>>>0>=23)break b}PO(r,e)|0;c[s>>2]=JO(r)|0;break}if((d|0)>=127)if((d|0)<1073741898){switch(d|0){case 127:break;default:break b}k=(c[s>>2]|0)+(b+4148)|0;DQ(k|0,k+1|0,JO(k)|0)|0;break}else{switch(d|0){case 1073741898:break;default:break b}c[s>>2]=0;break}switch(d|0){case 13:break;default:break b}c[s>>2]=0;if(!(JO(r)|0)){yh(b,43429,0);d=(c[u>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);break}yh(b,r,15);d=TM(12)|0;c[d>>2]=aP(r)|0;e=d+8|0;c[e>>2]=0;c[d+4>>2]=0;f=c[q>>2]|0;if(!f){c[q>>2]=d;m=r}else{c[f+4>>2]=d;c[e>>2]=f;c[q>>2]=d;c[p>>2]=0;m=r}while(1)if((a[m>>0]|0)==32)m=m+1|0;else break;d=m+(JO(m)|0)+-1|0;if((a[d>>0]|0)==32&d>>>0>m>>>0)do{a[d>>0]=0;d=d+-1|0}while(d>>>0>m>>>0&(a[d>>0]|0)==32);d=KO(m,32)|0;if(!d)k=0;else{k=d+1|0;a[d>>0]=0;k=(a[k>>0]|0)==0?0:k}i=a[m>>0]|0;j=i<<24>>24==0;d=0;c:while(1){e=c[1212+(d<<4)>>2]|0;d:do if(j){f=e;e=0}else{h=m;f=e;e=i;while(1){g=a[f>>0]|0;if(!(g<<24>>24))break d;e=oN(e&255)|0;if(((oN(g&255)|0)^e)&255|0)break;g=h+1|0;f=f+1|0;e=a[g>>0]|0;if(!(e<<24>>24)){e=0;break d}else h=g}e=a[h>>0]|0}while(0);h=oN(e<<24>>24)|0;if(!(((oN(a[f>>0]|0)|0)^h)&255)){m=41;break}switch(d|0){case 2:case 8:{f=c[1212+(d<<4)+4>>2]|0;e=a[m>>0]|0;e:do if(!(e<<24>>24))e=0;else{h=m;while(1){g=a[f>>0]|0;if(!(g<<24>>24))break e;G=oN(e&255)|0;if(((oN(g&255)|0)^G)&255|0)break e;h=h+1|0;f=f+1|0;e=a[h>>0]|0;if(!(e<<24>>24)){e=0;break}}}while(0);G=oN(e<<24>>24)|0;if(!(((oN(a[f>>0]|0)|0)^G)&255)){m=41;break c}break}default:{}}d=d+1|0;if(d>>>0>=23){m=43;break}}if((m|0)==41){m=0;Bg[c[1212+(d<<4)+12>>2]&255](b,k)}else if((m|0)==43){m=0;yh(b,43429,0);yh(b,43431,6);yh(b,r,6);yh(b,43429,0);d=(c[u>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15)}EQ(r|0,0,760)|0}else switch(d|0){case 1073741906:{d=c[p>>2]|0;if(!d){d=c[q>>2]|0;c[p>>2]=d;if(!d)break b}else{e=c[d+8>>2]|0;if(e){c[p>>2]=e;d=e}}EQ(r|0,0,760)|0;PO(r,c[d>>2]|0)|0;c[s>>2]=JO(r)|0;break b}case 1073741905:{d=c[p>>2]|0;if(!d)break b;e=c[d+4>>2]|0;if(e){c[p>>2]=e;d=e}EQ(r|0,0,760)|0;PO(r,c[d>>2]|0)|0;c[s>>2]=JO(r)|0;break b}case 1073741903:{G=(c[s>>2]|0)+1|0;c[s>>2]=G;k=JO(r)|0;c[s>>2]=G>>>0>k>>>0?k:G;break b}case 1073741904:{d=c[s>>2]|0;if(!d)break b;c[s>>2]=d+-1;break b}case 1073741901:{c[s>>2]=JO(r)|0;break b}default:break b}while(0);d=c[w>>2]|0;if((d|0)>1215)do{h=c[x>>2]|0;DQ(h|0,h+40|0,48600)|0;h=h+48600|0;i=h+40|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));h=c[n>>2]|0;DQ(h|0,h+40|0,48600)|0;h=h+48600|0;i=h+40|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));d=(c[w>>2]|0)+-1|0;c[w>>2]=d}while((d|0)>1215);d=d+-18|0;if((c[v>>2]|0)<(d|0))c[v>>2]=d;c[o>>2]=30;break}case 771:{d=d+12|0;if((JO(d)|0)==1?(JO(r)|0)>>>0<760:0){G=a[d>>0]|0;k=(c[s>>2]|0)+(b+4148)|0;DQ(k+1|0,k|0,JO(k)|0)|0;a[(c[s>>2]|0)+(b+4148)>>0]=G;c[s>>2]=(c[s>>2]|0)+1}c[o>>2]=30;break}default:{}}d=eh()|0;if(!d)break a}}while(0);do if(a[284]|0){d=c[70]|0;e=b+24|0;if(!(a[e>>0]|0)){c[b+20>>2]=((c[b+16>>2]|0)*7|0)+d;a[e>>0]=1;break}G=((c[b+20>>2]|0)-d|0)/7|0;e=b+16|0;d=(G|0)>0?G:0;if((c[e>>2]|0)!=(G|0)){G=c[b+8>>2]|0;c[e>>2]=(d|0)>(G|0)?G:d}}else a[b+24>>0]=0;while(0);o=b+13120|0;do if(!(c[o>>2]|0)){if(a[b+4132>>0]|0){yh(b,43936,3);break}c[z>>2]=0;EQ(B+19|0,0,4077)|0;h=B;d=43450;i=h+19|0;do{a[h>>0]=a[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));g=b+4916|0;e=c[g>>2]|0;d=e+4096|0;PO(A,d)|0;EQ(d|0,0,4096)|0;e=Ci(e,B,z)|0;PO(d,A)|0;d=c[z>>2]|0;do if((e|0)==0|(d|0)==0){c[y>>2]=0;d=gh(y,43469,436)|0;c[z>>2]=d;e=c[y>>2]|0;if(!e)break;else{G=c[g>>2]|0;m=G+4096|0;PO(A,m)|0;EQ(m|0,0,4096)|0;Ei(G,B,e,d,0)|0;PO(m,A)|0;m=84;break}}else m=84;while(0);if((m|0)==84){f=c[b+4912>>2]|0;Eg[c[f+2439808>>2]&63](f+81920|0,e,d,0);h=f+1129664|0;d=f+2308020|0;i=h+48|0;do{c[h>>2]=c[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(i|0));vg[c[f+2439780>>2]&511](f);UM(e)}EQ(b+4920|0,0,4096)|0;bh();yh(b,43905,3);yh(b,43920,15);yh(b,43925,3);if(a[(c[225]|0)+40>>0]|0?(C=TM(4104)|0,EQ(C|0,0,4104)|0,C|0):0){TM(0)|0;UM(C)}yh(b,43429,0);d=(c[g>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15)}while(0);n=b+4912|0;i=c[n>>2]|0;Bg[c[i+2439672>>2]&255](i,0);i=c[b+4140>>2]|0;j=b+16|0;d=(c[j>>2]|0)*40|0;if((d|0)<48640){h=d;f=(c[b+4144>>2]|0)+d|0;g=0;d=0;while(1){e=a[i+h>>0]|0;h=h+1|0;if(e<<24>>24){G=c[n>>2]|0;lg[c[G+2439656>>2]&31](G,e,d*6|0,g*7|0,a[f>>0]|0)|0}d=d+1|0;e=(d|0)==40;if((h|0)==48640)break;else{f=f+1|0;g=(e&1)+g|0;d=e?0:d}}}f=b+4132|0;if(!(a[f>>0]|0)){m=b+12|0;d=c[m>>2]|0;if(d|0)c[m>>2]=d+-1;if((c[45]|0)!=1){l=F;return}f=(c[b+4>>2]|0)*6|0;e=((c[b+8>>2]|0)-(c[j>>2]|0)|0)*7|0;g=b+4148|0;G=JO(g)|0;j=b+4148+G|0;k=b+4908|0;d=(c[k>>2]|0)==0;if(G){i=0;do{h=a[g>>0]|0;g=g+1|0;if(d){if((c[m>>2]|0)==0?(((c[o>>2]|0)>>>0)%60|0)>>>0>=30:0)d=15;else{d=c[n>>2]|0;Gg[c[d+2439688>>2]&7](d,f+-1|0,e+-1|0,7,7,6);d=0}G=c[n>>2]|0;lg[c[G+2439656>>2]&31](G,h,f,e,d)|0}else{G=c[n>>2]|0;lg[c[G+2439656>>2]&31](G,h,f,e,15)|0}i=i+1|0;f=f+6|0;d=(f|0)==240;e=d?e+7|0:e;f=d?0:f;d=(c[k>>2]|0)==(i|0)}while((g|0)!=(j|0))}if(d){if((c[m>>2]|0)==0?(((c[o>>2]|0)>>>0)%60|0)>>>0>=30:0)d=15;else{d=c[n>>2]|0;Gg[c[d+2439688>>2]&7](d,f+-1|0,e+-1|0,7,7,6);d=0}G=c[n>>2]|0;lg[c[G+2439656>>2]&31](G,32,f,e,d)|0}}else{e=b+13127|0;d=(a[e>>0]|0)!=0;if((c[o>>2]|0)>>>0>=(d?1:60)>>>0){if(!d)a[b+13125>>0]=1;CQ((c[n>>2]|0)+81920|0,c[b+4136>>2]|0,1178356)|0;d=c[45]|0;switch(d|0){case 2:break;case 11:case 10:case 9:case 1:case 0:{m=104;break}case 12:{c[46]=3;m=104;break}default:{c[46]=d;m=104}}if(((((m|0)==104?(li(c[223]|0,c[222]|0,c[3]|0),c[45]=2,D=c[79957]|0,D|0):0)?(E=c[D+224>>2]|0,E|0):0)?gg[E&511](D)|0:0)?(c[45]|2|0)==3:0)PM();a[f>>0]=0;a[e>>0]=0;bh();d=c[n>>2]|0;vg[c[d+2439780>>2]&511](d);yh(b,43429,0);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);a[b+13124>>0]=1;l=F;return}}c[o>>2]=(c[o>>2]|0)+1;d=b+13126|0;if(!(a[d>>0]|0)){l=F;return}a[d>>0]=0;$g();l=F;return}function xh(a){a=a|0;return zh(a,0)|0}function yh(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,m=0,n=0,o=0,p=0;p=l;l=l+16|0;n=p;c[n>>2]=d;$P(0,n);n=JO(d)|0;i=d+n|0;if(!n){l=p;return}j=b+8|0;k=b+4140|0;m=b+4144|0;n=b+16|0;h=b+4|0;do{g=a[d>>0]|0;d=d+1|0;b=c[j>>2]|0;if((b|0)>1215)do{b=c[k>>2]|0;DQ(b|0,b+40|0,48600)|0;b=b+48600|0;f=b+40|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(f|0));b=c[m>>2]|0;DQ(b|0,b+40|0,48600)|0;b=b+48600|0;f=b+40|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(f|0));b=(c[j>>2]|0)+-1|0;c[j>>2]=b}while((b|0)>1215);f=b+-18|0;if((c[n>>2]|0)<(f|0))c[n>>2]=f;if(g<<24>>24!=10){f=(c[h>>2]|0)+(b*40|0)|0;a[(c[k>>2]|0)+f>>0]=g;a[(c[m>>2]|0)+f>>0]=e;g=c[h>>2]|0;c[h>>2]=g+1;if((g|0)>38){c[h>>2]=0;b=c[j>>2]|0;o=10}}else{c[h>>2]=0;o=10}if((o|0)==10){o=0;c[j>>2]=b+1}}while((d|0)!=(i|0));l=p;return}function zh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=b+4920|0;while(1){if(d|0?a[d>>0]|0:0)break;if(!(JO(f)|0)){d=2;h=19;break}else d=f}if((h|0)==19)return d|0;e=c[b+4912>>2]|0;g=TM(3535068)|0;if(!g)d=0;else{if(!(wN(d,87991)|0)){h=c[b>>2]|0;vg[c[h+48>>2]&511](h);ah();h=0;return h|0}PO(324408,d)|0;d=JO(324408)|0;if(d>>>0>4){d=324408+d|0;if(((zP(324408,43061)|0)+4|0)!=(d|0))h=9}else{d=324408+d|0;h=9}if((h|0)==9){a[d>>0]=a[43061]|0;a[d+1>>0]=a[43062]|0;a[d+2>>0]=a[43063]|0;a[d+3>>0]=a[43064]|0;a[d+4>>0]=a[43065]|0}d=hg[c[e+2439812>>2]&63](e+81920|0,g)|0;if((d|0)!=0?Ei(c[b+4916>>2]|0,324408,g,d,1)|0:0){if((f|0)!=324408)PO(f,324408)|0;ah();d=1}else d=0;UM(g)}h=d&1^1;return h|0}function Ah(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(yN(a,d,JO(d)|0)|0){e=1;return e|0}PO(d,a)|0;e=0;return e|0}function Bh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+64|0;j=k;yh(b,83501,3);i=0;e=0;do{d=JO(c[1212+(e<<4)>>2]|0)|0;switch(e|0){case 2:case 8:{d=d+1+(JO(c[1212+(e<<4)+4>>2]|0)|0)|0;break}default:{}}i=d>>>0>i>>>0?d:i;e=e+1|0}while((e|0)!=23);h=0;do{g=c[1212+(h<<4)>>2]|0;PO(j,g)|0;d=a[j>>0]|0;if(d<<24>>24){e=j;do{a[e>>0]=oN(d<<24>>24)|0;e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0)}yh(b,j,15);f=c[1212+(h<<4)+4>>2]|0;switch(h|0){case 2:case 8:{PO(j,f)|0;d=a[j>>0]|0;if(d<<24>>24){e=j;do{a[e>>0]=oN(d<<24>>24)|0;e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0)}yh(b,308375,3);yh(b,j,15);break}default:{}}e=i-(JO(g)|0)|0;switch(h|0){case 2:case 8:{d=JO(f)|0;break}default:d=-1}d=e-d|0;if(d|0)do{d=d+-1|0;yh(b,83555,3)}while((d|0)!=0);yh(b,c[1212+(h<<4)+8>>2]|0,3);yh(b,43429,0);h=h+1|0}while((h|0)!=23);yh(b,83524,3);yh(b,83532,15);yh(b,83536,3);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);l=k;return}yh(b,d,3);yh(b,43448,15);l=k;return}function Ch(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=l;l=l+80|0;h=i+16|0;g=i;f=i+32|0;yh(b,43429,0);ki(b,83075);d=0;e=0;do{k=c[1784+(d<<3)+4>>2]|0;d=d+1|0;j=e;e=c[1784+(d<<3)>>2]|0;c[h>>2]=j;c[h+4>>2]=k;c[h+8>>2]=e-j;zN(f,83266,h)|0;ki(b,f)}while((d|0)!=20);c[g>>2]=81920;c[g+4>>2]=287140;c[g+8>>2]=0;zN(f,83266,g)|0;ki(b,f);ki(b,83291);yh(b,43429,0);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);l=i;return}yh(b,d,3);yh(b,43448,15);l=i;return}function Dh(b,d){b=b|0;d=d|0;Yg();yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function Eh(a,b){a=a|0;b=b|0;var d=0;if(!(ch()|0)){ji(a,b);return}d=TM(12)|0;c[d>>2]=a;if(!b)a=0;else a=aP(b)|0;c[d+4>>2]=a;c[d+8>>2]=128;Zg(1764,5,d);return}function Fh(a,b){a=a|0;b=b|0;var d=0;if(!(ch()|0)){th(a,b);return}d=TM(12)|0;c[d>>2]=a;if(!b)a=0;else a=aP(b)|0;c[d+4>>2]=a;c[d+8>>2]=123;Zg(1580,5,d);return}function Gh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+80|0;h=i;if(d|0?a[d>>0]|0:0){f=c[b+4916>>2]|0;PO(324408,d)|0;e=JO(324408)|0;if(e>>>0>4){e=324408+e|0;if(((zP(324408,43061)|0)+4|0)!=(e|0))g=6}else{e=324408+e|0;g=6}if((g|0)==6){a[e>>0]=a[43061]|0;a[e+1>>0]=a[43062]|0;a[e+2>>0]=a[43063]|0;a[e+3>>0]=a[43064]|0;a[e+4>>0]=a[43065]|0}PO(328537,f)|0;e=f+4096|0;if(JO(e)|0){hQ(328537,e)|0;g=328537+(JO(328537)|0)|0;a[g>>0]=47;a[g+1>>0]=0}hQ(328537,324408)|0;if(!($O(328537,h)|0)){h=TM(12)|0;c[h>>2]=b;c[h+4>>2]=aP(d)|0;c[h+8>>2]=129;Zg(1744,5,h);l=i;return}}ii(b,d);l=i;return}function Hh(b,d){b=b|0;d=d|0;yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);d=c[b+4912>>2]|0;vg[c[d+2439780>>2]&511](d);d=c[45]|0;switch(d|0){case 11:case 10:case 9:case 1:case 0:break;case 12:{c[46]=3;break}case 2:return;default:c[46]=d}li(c[223]|0,c[222]|0,c[3]|0);c[45]=2;d=c[79957]|0;if(!d)return;b=c[d+224>>2]|0;if(!b)return;if(!(gg[b&511](d)|0))return;if((c[45]|2|0)!=3)return;PM();return}function Ih(b,d){b=b|0;d=d|0;yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);b=c[b+4912>>2]|0;vg[c[b+2439788>>2]&511](b);c[45]=2;return}function Jh(b,d){b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=0;c[f+4>>2]=b;yh(b,43429,0);d=b+4916|0;yi(c[d>>2]|0,2,f);if(!(c[f>>2]|0)){yh(b,82883,3);yh(b,82890,15);yh(b,82894,3);yh(b,82899,15);yh(b,82904,3)}yh(b,43429,0);yh(b,43429,0);d=(c[d>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);l=e;return}yh(b,d,3);yh(b,43448,15);l=e;return}function Kh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;do if((d|0)!=0?(a[d>>0]|0)!=0:0){if(!(wN(d,308375)|0)){e=b+4916|0;EQ((c[e>>2]|0)+4096|0,0,4096)|0;break}h=(wN(d,287137)|0)==0;e=b+4916|0;f=c[e>>2]|0;if(h){g=f+4096|0;if(!(wN(g,84366)|0)){EQ(g|0,0,4096)|0;break}d=JO(g)|0;f=f+4096+d|0;a:do if((d|0)>0)do{if((a[f>>0]|0)==47)break a;f=f+-1|0}while(f>>>0>g>>>0);while(0);a[f>>0]=0;break}else{if(!(Ai(f,d)|0)){yh(b,82864,3);break}f=c[e>>2]|0;if(!(Ai(f,d)|0))break;g=f+4096|0;h=JO(g)|0;if(h|0){h=f+4096+h|0;a[h>>0]=47;a[h+1>>0]=0}hQ(g,d)|0;break}}else i=18;while(0);if((i|0)==18){yh(b,82846,3);e=b+4916|0}yh(b,43429,0);e=(c[e>>2]|0)+4096|0;if(!(a[e>>0]|0)){yh(b,43448,15);return}yh(b,e,3);yh(b,43448,15);return}function Lh(b,d){b=b|0;d=d|0;var e=0;if((d|0)!=0?(a[d>>0]|0)!=0:0){e=b+4916|0;Hi(c[e>>2]|0,d);d=e}else{yh(b,82846,3);d=b+4916|0}yh(b,43429,0);d=(c[d>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function Mh(a,b){a=a|0;b=b|0;var d=0;d=c[a+4916>>2]|0;b=TM(12)|0;c[b>>2]=d;c[b+4>>2]=5;c[b+8>>2]=a;Gb(6,1,b|0)|0;return}function Nh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+80|0;i=m+4|0;j=m;if(!d){yh(b,82711,3);yh(b,43429,0);e=(c[b+4916>>2]|0)+4096|0;if(a[e>>0]|0)yh(b,e,3);yh(b,43448,15);l=m;return}e=b+4916|0;g=c[e>>2]|0;c[j>>2]=0;k=Ci(g,d,j)|0;if(!k){yh(b,82733,3);yh(b,43429,0);e=(c[e>>2]|0)+4096|0;if(a[e>>0]|0)yh(b,e,3);yh(b,43448,15)}else{h=TM(12)|0;c[h>>2]=130;f=h+4|0;c[f>>2]=b;b=h+8|0;c[b>>2]=k;PO(328537,g)|0;e=g+4096|0;if(JO(e)|0){hQ(328537,e)|0;g=328537+(JO(328537)|0)|0;a[g>>0]=47;a[g+1>>0]=0}hQ(328537,d)|0;$O(328537,i)|0;Hb(5,d|0,k|0,c[j>>2]|0)|0;Bg[c[h>>2]&255](1,c[f>>2]|0);UM(c[b>>2]|0);UM(h)}l=m;return}function Oh(b,e){b=b|0;e=e|0;var 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;t=l;l=l+16|0;p=t+12|0;j=t+8|0;k=t;if((e|0?wN(e,82309)|0:0)?wN(e,82316)|0:0){if(wN(e,82097)|0){if(!(wN(e,263103)|0)){e=TM(32640)|0;if(!e){l=t;return}CQ(e|0,(c[3]|0)+81920+((a[756]|0)*130968|0)+16384|0,32640)|0;s=TM(12)|0;c[s>>2]=132;r=s+4|0;c[r>>2]=b;b=s+8|0;c[b>>2]=e;Hb(5,82445,e|0,32640)|0;Bg[c[s>>2]&255](1,c[r>>2]|0);UM(c[b>>2]|0);UM(s);l=t;return}if(wN(e,82105)|0){yh(b,44549,6);yh(b,e,6);yh(b,43429,0);e=(c[b+4916>>2]|0)+4096|0;if(a[e>>0]|0)yh(b,e,3);yh(b,43448,15);l=t;return}e=c[b+4912>>2]|0;f=e+1129712|0;g=c[f>>2]|0;if(g|0){p=TM(g)|0;CQ(p|0,e+1129716|0,c[f>>2]|0)|0;q=c[f>>2]|0;s=TM(12)|0;c[s>>2]=133;r=s+4|0;c[r>>2]=b;b=s+8|0;c[b>>2]=p;Hb(5,82455,p|0,q|0)|0;Bg[c[s>>2]&255](1,c[r>>2]|0);UM(c[b>>2]|0);UM(s);l=t;return}yh(b,82465,3);yh(b,43429,0);e=(c[b+4916>>2]|0)+4096|0;if(a[e>>0]|0)yh(b,e,3);yh(b,43448,15);l=t;return}q=TM(98304)|0;if(!q){l=t;return}r=TM(32768)|0;if(!r){l=t;return}else e=0;do{g=e<<7;h=((e|0)/8|0)<<4;i=((e|0)%8|0)<<3;f=0;do{n=i+((f|0)%8|0)|0;o=d[(n>>>1)+((c[3]|0)+81920+((a[755]|0)*130968|0)+(h+((f|0)/8|0)<<5))>>0]|0;a[r+(f+g)>>0]=n&1|0?o>>>4:o&15;f=f+1|0}while((f|0)!=128);e=e+1|0}while((e|0)!=256);e=c[b+4912>>2]|0;o=TM(48)|0;if(o){f=0;e=e+1129664|0;while(1){a[o+(f*3|0)>>0]=a[e>>0]|0;a[o+(f*3|0)+1>>0]=a[e+1>>0]|0;a[o+(f*3|0)+2>>0]=a[e+2>>0]|0;f=f+1|0;if((f|0)==16)break;else e=e+3|0}c[j>>2]=0;c[k>>2]=q;n=k+4|0;c[n>>2]=0;m=ZB(k,j)|0;c[p>>2]=0;if(m|0){f=TM(16)|0;do if(!f){k=0;h=0}else{e=TM(48)|0;if(!e){UM(f);k=0;h=0;break}if(c[e+-4>>2]&3|0){i=e;j=i+48|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(j|0))}c[f+12>>2]=e;c[f>>2]=16;c[f+4>>2]=4;a[f+8>>0]=0;k=f;h=f}while(0);g=k+12|0;i=c[g>>2]|0;e=o;j=i+48|0;do{a[i>>0]=a[e>>0]|0;i=i+1|0;e=e+1|0}while((i|0)<(j|0));a:do if(_B(m,128,256,4,k)|0?$B(m,128,256,0)|0:0){e=r;f=0;while(1){if(!(cC(m,e,128)|0))break;f=f+1|0;if((f|0)>=256)break a;else e=e+128|0}c[p>>2]=c[m+64>>2]}while(0);dC(m,p);if(k|0){UM(c[g>>2]|0);UM(h)}}e=c[n>>2]|0;UM(o);if(e){p=TM(12)|0;c[p>>2]=131;o=p+4|0;c[o>>2]=b;b=p+8|0;c[b>>2]=q;Hb(5,82409,q|0,e|0)|0;Bg[c[p>>2]&255](1,c[o>>2]|0);UM(c[b>>2]|0);UM(p)}else s=32}else s=32;if((s|0)==32){yh(b,82421,6);yh(b,43429,0);e=(c[b+4916>>2]|0)+4096|0;if(a[e>>0]|0)yh(b,e,3);yh(b,43448,15);UM(q)}UM(r);l=t;return}yh(b,82321,3);yh(b,82376,3);yh(b,43429,0);e=(c[b+4916>>2]|0)+4096|0;if(a[e>>0]|0)yh(b,e,3);yh(b,43448,15);l=t;return}function Ph(b,d){b=b|0;d=d|0;if(!d){yh(b,82064,3);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);return}if(!(wN(d,82097)|0)){d=TM(8)|0;c[d>>2]=2;c[d+4>>2]=b;Gb(6,2,d|0)|0;return}if(!(wN(d,263103)|0)){d=TM(8)|0;c[d>>2]=3;c[d+4>>2]=b;Gb(6,2,d|0)|0;return}if(!(wN(d,82105)|0)){d=TM(8)|0;c[d>>2]=4;c[d+4>>2]=b;Gb(6,2,d|0)|0;return}yh(b,44549,6);yh(b,d,6);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);return}function Qh(a,b){a=a|0;b=b|0;var d=0;d=TM(12)|0;c[d>>2]=a;if(!b)a=0;else a=aP(b)|0;c[d+4>>2]=a;c[d+8>>2]=134;Zg(1728,4,d);return}function Rh(b,d){b=b|0;d=d|0;EQ(c[b+4140>>2]|0,0,48640)|0;EQ(c[b+4144>>2]|0,0,48640)|0;c[b+16>>2]=0;c[b+8>>2]=0;c[b+4>>2]=0;d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function Sh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=l;l=l+16|0;e=h;f=b+4916|0;g=c[f>>2]|0;yh(b,45494,3);d=0;do{i=c[1620+(d*12|0)>>2]|0;j=c[1620+(d*12|0)+4>>2]|0;k=c[1620+(d*12|0)+8>>2]|0;c[e>>2]=0;k=gh(e,j,k)|0;j=c[e>>2]|0;Ei(g,i,j,k,1)|0;UM(j);yh(b,i,15);yh(b,43429,15);d=d+1|0}while((d|0)!=9);yh(b,43429,0);d=(c[f>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);l=h;return}yh(b,d,3);yh(b,43448,15);l=h;return}function Th(b,d){b=b|0;d=d|0;if(!d)if(ch()|0){d=TM(12)|0;c[d>>2]=b;c[d+4>>2]=aP(87991)|0;c[d+8>>2]=123;Zg(1580,5,d);return}else{th(b,87991);return}do if(wN(d,263223)|0){if(wN(d,298413)|0?wN(d,44448)|0:0){if(wN(d,44460)|0?wN(d,44473)|0:0){if(wN(d,44516)|0){yh(b,44549,6);yh(b,d,6);break}if(ch()|0){d=TM(12)|0;c[d>>2]=b;c[d+4>>2]=aP(44527)|0;c[d+8>>2]=135;Zg(1600,5,d);break}else{Zh(b,44527);break}}if(ch()|0){d=TM(12)|0;c[d>>2]=b;c[d+4>>2]=aP(44492)|0;c[d+8>>2]=135;Zg(1600,5,d);break}else{Zh(b,44492);break}}if(ch()|0){d=TM(12)|0;c[d>>2]=b;c[d+4>>2]=aP(43450)|0;c[d+8>>2]=135;Zg(1600,5,d);break}else{Zh(b,43450);break}}else{d=c[b>>2]|0;vg[c[d+52>>2]&511](d);yh(b,44424,3)}while(0);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);return}function Uh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;d=c[45]|0;a:do switch(d|0){case 9:break;case 2:{g=c[3]|0;vg[c[g+2439784>>2]&511](g);g=c[3]|0;vg[c[g+2439780>>2]&511](g);g=6;break}default:{g=c[3]|0;vg[c[g+2439780>>2]&511](g);switch(d|0){case 10:case 11:case 1:case 0:{g=6;break a}case 12:{c[46]=3;g=6;break a}default:{c[46]=d;g=6;break a}}}}while(0);if(((((g|0)==6?(c[45]=9,e=c[79957]|0,e|0):0)?(f=c[e+224>>2]|0,f|0):0)?gg[f&511](e)|0:0)?(c[45]|2|0)==3:0)PM();yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function Vh(b,d){b=b|0;d=d|0;yh(b,43429,3);yh(b,84780,3);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function Wh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;d=c[45]|0;a:do switch(d|0){case 3:break;case 2:{g=c[3]|0;vg[c[g+2439784>>2]&511](g);g=c[3]|0;vg[c[g+2439780>>2]&511](g);g=6;break}default:{g=c[3]|0;vg[c[g+2439780>>2]&511](g);switch(d|0){case 11:case 10:case 9:case 1:case 0:{g=6;break a}case 12:{c[46]=3;g=6;break a}default:{c[46]=d;g=6;break a}}}}while(0);if(((((g|0)==6?(c[45]=3,e=c[79957]|0,e|0):0)?(f=c[e+224>>2]|0,f|0):0)?gg[f&511](e)|0:0)?(c[45]|2|0)==3:0)PM();yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function Xh(b,d){b=b|0;d=d|0;$g();yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function Yh(b,d){b=b|0;d=d|0;var e=0;e=c[d>>2]|0;if(b){b=d+4|0;Bg[c[d+8>>2]&255](e,c[b>>2]|0)}else{yh(e,43429,0);b=(c[e+4916>>2]|0)+4096|0;if(a[b>>0]|0)yh(e,b,3);yh(e,43448,15);b=d+4|0}b=c[b>>2]|0;if(!b){UM(d);return}UM(b);UM(d);return}function Zh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+8208|0;m=o+4104|0;h=o+8|0;j=o+4|0;k=o;c[k>>2]=0;a[b+13125>>0]=0;do if(wN(d,43450)|0){if(!(wN(d,44492)|0)){EQ(h+24|0,0,4072)|0;e=h;f=44492;g=e+24|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));g=1;n=7;break}if(!(wN(d,44527)|0)){EQ(h+22|0,0,4074)|0;e=h;f=44527;g=e+22|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));g=2;n=7}else{g=0;f=0}}else{EQ(h+19|0,0,4077)|0;e=h;f=43450;g=e+19|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));g=0;n=7}while(0);if((n|0)==7){i=b+4916|0;e=c[i>>2]|0;f=e+4096|0;PO(m,f)|0;EQ(f|0,0,4096)|0;e=Ci(e,h,k)|0;PO(f,m)|0;f=c[k>>2]|0;if((e|0)==0|(f|0)==0){switch(g&3){case 0:{e=436;f=43469;break}case 1:{e=417;f=45060;break}case 2:{e=432;f=44628;break}default:{e=0;f=0}}c[j>>2]=0;f=gh(j,f,e)|0;c[k>>2]=f;e=c[j>>2]|0;if(!e)e=0;else{j=c[i>>2]|0;k=j+4096|0;PO(m,k)|0;EQ(k|0,0,4096)|0;Ei(j,h,e,f,0)|0;PO(k,m)|0}}g=e}PO(324408,d)|0;e=JO(324408)|0;if(e>>>0>4){e=324408+e|0;if(((zP(324408,43061)|0)+4|0)!=(e|0))n=19}else{e=324408+e|0;n=19}if((n|0)==19){a[e>>0]=a[43061]|0;a[e+1>>0]=a[43062]|0;a[e+2>>0]=a[43063]|0;a[e+3>>0]=a[43064]|0;a[e+4>>0]=a[43065]|0}e=b+4920|0;if((e|0)==324408){n=b+4912|0;n=c[n>>2]|0;d=n+81920|0;m=n+2439808|0;m=c[m>>2]|0;Eg[m&63](d,g,f,1);d=n+2439780|0;d=c[d>>2]|0;vg[d&511](n);bh();yh(b,45477,3);yh(b,e,15);yh(b,45484,3);UM(g);l=o;return}PO(e,324408)|0;n=b+4912|0;n=c[n>>2]|0;d=n+81920|0;m=n+2439808|0;m=c[m>>2]|0;Eg[m&63](d,g,f,1);d=n+2439780|0;d=c[d>>2]|0;vg[d&511](n);bh();yh(b,45477,3);yh(b,e,15);yh(b,45484,3);UM(g);l=o;return}function _h(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;do if((d|0)!=0?(a[d>>0]|0)!=0:0){e=b+4916|0;i=Ai(c[e>>2]|0,d)|0;g=c[e>>2]|0;PO(328537,g)|0;g=g+4096|0;f=(JO(g)|0)==0;if(i){if(!f){hQ(328537,g)|0;i=328537+(JO(328537)|0)|0;a[i>>0]=47;a[i+1>>0]=0}hQ(328537,d)|0;i=(jQ()|0)!=0;Eb(7)|0;yh(b,i?81959:81976,3);break}else{if(!f){hQ(328537,g)|0;i=328537+(JO(328537)|0)|0;a[i>>0]=47;a[i+1>>0]=0}hQ(328537,d)|0;i=(aQ()|0)!=0;Eb(7)|0;yh(b,i?82002:82020,3);break}}else h=10;while(0);if((h|0)==10){yh(b,82047,3);e=b+4916|0}yh(b,43429,0);e=(c[e>>2]|0)+4096|0;if(!(a[e>>0]|0)){yh(b,43448,15);return}yh(b,e,3);yh(b,43448,15);return}function $h(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;do if(!b)yh(g,82256,3);else{f=zP(b,82304)|0;if(f|0?(wN(f,82304)|0)==0:0){x=ui(e)|0;if(!x){yh(g,82195,6);break}t=x+8|0;f=c[t>>2]|0;s=(f|0)<128?f:128;r=c[x+12>>2]|0;u=(r|0)<256?r:256;if((r|0)>0?(v=x+4|0,w=g+4912|0,(f|0)>0):0){p=0;do{q=((p|0)/8|0)<<4;r=((p|0)%8|0)<<3;o=0;do{k=a[(c[x>>2]|0)+((O(c[t>>2]|0,p)|0)+o)>>0]|0;n=c[v>>2]|0;k=k&255;h=c[w>>2]|0;i=d[n+(k*3|0)>>0]|0;j=d[n+(k*3|0)+1>>0]|0;k=d[n+(k*3|0)+2>>0]|0;n=0;f=0;e=-1;while(1){m=i-(d[h+1129664+(f*3|0)>>0]|0)|0;y=j-(d[h+1129664+(f*3|0)+1>>0]|0)|0;l=k-(d[h+1129664+(f*3|0)+2>>0]|0)|0;l=(O(y,y)|0)+(O(m,m)|0)+(O(l,l)|0)|0;m=l>>>0>>0;n=m?f:n;f=f+1|0;if((f|0)==16)break;else e=m?l:e}y=r+((o|0)%8|0)|0;h=(y>>>1)+((c[3]|0)+81920+((a[755]|0)*130968|0)+(q+((o|0)/8|0)<<5))|0;f=d[h>>0]|0;if(!(y&1)){e=f&240;a[h>>0]=e;f=n&15}else{e=f&15;a[h>>0]=e;f=n<<4&4080}a[h>>0]=f|e;o=o+1|0}while((o|0)<(s|0));p=p+1|0}while((p|0)<(u|0));f=x}else f=x;f=c[f>>2]|0;if(f|0)UM(f);f=c[x+4>>2]|0;if(f|0)UM(f);UM(x);yh(g,43429,0);yh(g,b,3);yh(g,82116,3);break}yh(g,82220,3)}while(0);yh(g,43429,0);f=(c[g+4916>>2]|0)+4096|0;if(!(a[f>>0]|0)){yh(g,43448,15);return}yh(g,f,3);yh(g,43448,15);return}function ai(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;if((b|0)!=0&(d|0)!=0&e>>>0<32641){g=c[3]|0;b=a[756]|0;e=(e|0)<32640?e:32640;EQ(g+81920+(b*130968|0)+16384+e|0,0,(e>>>0>32639?0:32640-e|0)|0)|0;CQ(g+81920+(b*130968|0)+16384|0,d|0,e|0)|0;yh(f,43429,0);yh(f,82278,3)}else yh(f,82256,3);yh(f,43429,0);b=(c[f+4916>>2]|0)+4096|0;if(!(a[b>>0]|0)){yh(f,43448,15);return}yh(f,b,3);yh(f,43448,15);return}function bi(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;do if(!b)yh(f,82256,3);else{g=zP(b,82111)|0;if(g|0?(wN(g,82111)|0)==0:0){i=ui(d)|0;if(!i){yh(f,82195,6);break}do if((c[i+8>>2]|0)==240?(c[i+12>>2]|0)==136:0)if(e>>>0<130561){g=c[f+4912>>2]|0;c[g+1129712>>2]=e;CQ(g+1129716|0,d|0,e|0)|0;yh(f,43429,0);yh(f,b,3);yh(f,82116,3);break}else{yh(f,82139,6);break}else h=10;while(0);if((h|0)==10)yh(f,82163,6);g=c[i>>2]|0;if(g|0)UM(g);g=c[i+4>>2]|0;if(g|0)UM(g);UM(i);break}yh(f,82220,3)}while(0);yh(f,43429,0);g=(c[f+4916>>2]|0)+4096|0;if(!(a[g>>0]|0)){yh(f,43448,15);return}yh(f,g,3);yh(f,43448,15);return}function ci(b,d){b=b|0;d=d|0;switch(b|0){case 0:{yh(d,82652,3);break}case 1:{yh(d,82677,3);break}default:{}}yh(d,43429,0);b=(c[d+4916>>2]|0)+4096|0;if(!(a[b>>0]|0)){yh(d,43448,15);return}yh(d,b,3);yh(d,43448,15);return}function di(b,d){b=b|0;d=d|0;switch(b|0){case 0:{yh(d,82601,3);break}case 1:{yh(d,82622,3);break}default:{}}yh(d,43429,0);b=(c[d+4916>>2]|0)+4096|0;if(!(a[b>>0]|0)){yh(d,43448,15);return}yh(d,b,3);yh(d,43448,15);return}function ei(b,d){b=b|0;d=d|0;switch(b|0){case 0:{yh(d,82534,3);break}case 1:{yh(d,82563,3);break}default:{}}yh(d,43429,0);b=(c[d+4916>>2]|0)+4096|0;if(!(a[b>>0]|0)){yh(d,43448,15);return}yh(d,b,3);yh(d,43448,15);return}function fi(b,d){b=b|0;d=d|0;switch(b|0){case 0:{yh(d,82733,3);break}case 1:{yh(d,82757,3);break}default:{}}yh(d,43429,0);b=(c[d+4916>>2]|0)+4096|0;if(!(a[b>>0]|0)){yh(d,43448,15);return}yh(d,b,3);yh(d,43448,15);return}function gi(b,d,e){b=b|0;d=d|0;e=e|0;yh(e,43429,0);switch(d|0){case 2:{yh(e,82777,3);yh(e,b,15);yh(e,82783,3);break}case 1:{yh(e,82777,3);yh(e,b,15);yh(e,82802,3);break}default:yh(e,82828,3)}yh(e,43429,0);b=(c[e+4916>>2]|0)+4096|0;if(!(a[b>>0]|0)){yh(e,43448,15);return}yh(e,b,3);yh(e,43448,15);return}function hi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=c[e+4>>2]|0;yh(b,43429,0);if(f){yh(b,308359,3);yh(b,a,3);yh(b,308361,3);return 1}else{yh(b,a,15);c[e>>2]=(c[e>>2]|0)+1;return 1}return 0}function ii(b,d){b=b|0;d=d|0;switch(zh(b,d)|0){case 0:{yh(b,45477,3);yh(b,b+4920|0,15);yh(b,82979,3);break}case 2:{yh(b,82988,3);break}default:yh(b,83011,3)}yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(!(a[d>>0]|0)){yh(b,43448,15);return}yh(b,d,3);yh(b,43448,15);return}function ji(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+8208|0;k=o+4104|0;m=o+8|0;g=o+4|0;j=o;do if((d|0)!=0?(a[d>>0]|0)!=0:0){if(!(wN(d,83050)|0)){c[j>>2]=0;EQ(m+19|0,0,4077)|0;e=m;h=43450;i=e+19|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));d=b+4916|0;f=c[d>>2]|0;e=f+4096|0;PO(k,e)|0;EQ(e|0,0,4096)|0;f=Ci(f,m,j)|0;PO(e,k)|0;e=c[j>>2]|0;do if((f|0)==0|(e|0)==0){c[g>>2]=0;e=gh(g,43469,436)|0;c[j>>2]=e;f=c[g>>2]|0;if(!f)break;else{j=c[d>>2]|0;n=j+4096|0;PO(k,n)|0;EQ(n|0,0,4096)|0;Ei(j,m,f,e,0)|0;PO(n,k)|0;n=9;break}}else n=9;while(0);if((n|0)==9){g=c[b+4912>>2]|0;Eg[c[g+2439808>>2]&63](g+81920|0,f,e,0);e=g+1129664|0;h=g+2308020|0;i=e+48|0;do{c[e>>2]=c[h>>2];e=e+4|0;h=h+4|0}while((e|0)<(i|0));vg[c[g+2439780>>2]&511](g);UM(f)}EQ(b+4920|0,0,4096)|0;bh();break}if(wN(d,89810)|0?wN(d,89815)|0:0){if(wN(d,89826)|0?wN(d,89829)|0:0){yh(b,44549,6);yh(b,d,6);yh(b,43429,0);d=(c[b+4916>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);l=o;return}c[j>>2]=0;EQ(m+22|0,0,4074)|0;e=m;h=44527;i=e+22|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));d=b+4916|0;f=c[d>>2]|0;e=f+4096|0;PO(k,e)|0;EQ(e|0,0,4096)|0;f=Ci(f,m,j)|0;PO(e,k)|0;e=c[j>>2]|0;do if((f|0)==0|(e|0)==0){c[g>>2]=0;e=gh(g,44628,432)|0;c[j>>2]=e;f=c[g>>2]|0;if(!f)break;else{j=c[d>>2]|0;n=j+4096|0;PO(k,n)|0;EQ(n|0,0,4096)|0;Ei(j,m,f,e,0)|0;PO(n,k)|0;n=27;break}}else n=27;while(0);if((n|0)==27){g=c[b+4912>>2]|0;Eg[c[g+2439808>>2]&63](g+81920|0,f,e,0);e=g+1129664|0;h=g+2308020|0;i=e+48|0;do{c[e>>2]=c[h>>2];e=e+4|0;h=h+4|0}while((e|0)<(i|0));vg[c[g+2439780>>2]&511](g);UM(f)}EQ(b+4920|0,0,4096)|0;bh();break}c[j>>2]=0;EQ(m+24|0,0,4072)|0;e=m;h=44492;i=e+24|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));d=b+4916|0;f=c[d>>2]|0;e=f+4096|0;PO(k,e)|0;EQ(e|0,0,4096)|0;f=Ci(f,m,j)|0;PO(e,k)|0;e=c[j>>2]|0;do if((f|0)==0|(e|0)==0){c[g>>2]=0;e=gh(g,45060,417)|0;c[j>>2]=e;f=c[g>>2]|0;if(!f)break;else{j=c[d>>2]|0;n=j+4096|0;PO(k,n)|0;EQ(n|0,0,4096)|0;Ei(j,m,f,e,0)|0;PO(n,k)|0;n=18;break}}else n=18;while(0);if((n|0)==18){g=c[b+4912>>2]|0;Eg[c[g+2439808>>2]&63](g+81920|0,f,e,0);e=g+1129664|0;h=g+2308020|0;i=e+48|0;do{c[e>>2]=c[h>>2];e=e+4|0;h=h+4|0}while((e|0)<(i|0));vg[c[g+2439780>>2]&511](g);UM(f)}EQ(b+4920|0,0,4096)|0;bh()}else n=32;while(0);if((n|0)==32){c[j>>2]=0;EQ(m+19|0,0,4077)|0;e=m;h=43450;i=e+19|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));d=b+4916|0;f=c[d>>2]|0;e=f+4096|0;PO(k,e)|0;EQ(e|0,0,4096)|0;f=Ci(f,m,j)|0;PO(e,k)|0;e=c[j>>2]|0;do if((f|0)==0|(e|0)==0){c[g>>2]=0;e=gh(g,43469,436)|0;c[j>>2]=e;f=c[g>>2]|0;if(!f)break;else{j=c[d>>2]|0;n=j+4096|0;PO(k,n)|0;EQ(n|0,0,4096)|0;Ei(j,m,f,e,0)|0;PO(n,k)|0;n=37;break}}else n=37;while(0);if((n|0)==37){g=c[b+4912>>2]|0;Eg[c[g+2439808>>2]&63](g+81920|0,f,e,0);e=g+1129664|0;h=g+2308020|0;i=e+48|0;do{c[e>>2]=c[h>>2];e=e+4|0;h=h+4|0}while((e|0)<(i|0));vg[c[g+2439780>>2]&511](g);UM(f)}EQ(b+4920|0,0,4096)|0;bh()}yh(b,83054,3);yh(b,43429,0);d=(c[d>>2]|0)+4096|0;if(a[d>>0]|0)yh(b,d,3);yh(b,43448,15);l=o;return}function ki(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;m=o;c[m>>2]=d;$P(0,m);m=JO(d)|0;h=d+m|0;if(!m){l=o;return}i=b+8|0;j=b+4140|0;k=b+4144|0;m=b+16|0;g=b+4|0;do{f=a[d>>0]|0;d=d+1|0;b=c[i>>2]|0;if((b|0)>1215)do{b=c[j>>2]|0;DQ(b|0,b+40|0,48600)|0;b=b+48600|0;e=b+40|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(e|0));b=c[k>>2]|0;DQ(b|0,b+40|0,48600)|0;b=b+48600|0;e=b+40|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(e|0));b=(c[i>>2]|0)+-1|0;c[i>>2]=b}while((b|0)>1215);e=b+-18|0;if((c[m>>2]|0)<(e|0))c[m>>2]=e;if(f<<24>>24!=10){e=(c[g>>2]|0)+(b*40|0)|0;a[(c[j>>2]|0)+e>>0]=f;switch(f<<24>>24|0){case 45:case 124:case 43:{b=7;break}default:b=15}a[(c[k>>2]|0)+e>>0]=b;f=c[g>>2]|0;c[g>>2]=f+1;if((f|0)>38){c[g>>2]=0;b=c[i>>2]|0;n=12}}else{c[g>>2]=0;n=12}if((n|0)==12){n=0;c[i>>2]=b+1}}while((d|0)!=(h|0));l=o;return}function li(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+4272|0;p=r;q=r+4096|0;o=r+4248|0;c[b>>2]=f;n=b+4|0;c[n>>2]=e;c[b+8>>2]=6;c[b+12>>2]=136;c[b+16>>2]=194;c[b+20>>2]=379;c[b+24>>2]=3;c[b+28>>2]=4;e=b+32|0;c[e>>2]=0;c[e+4>>2]=0;c[b+40>>2]=137;c[b+44>>2]=b;a[b+48>>0]=0;EQ(b+49|0,0,1091)|0;c[b+1140>>2]=195;EQ(f+2439832|0,0,1024)|0;e=c[b>>2]|0;f=e+2440856|0;j=(JO(f)|0)!=0;e=j?f:e+147352|0;f=JO(e)|0;c[q+8>>2]=1732584193;c[q+12>>2]=-271733879;c[q+16>>2]=-1732584194;c[q+20>>2]=271733878;c[q>>2]=0;j=q+4|0;c[j>>2]=0;a:do if((f|0)>0){k=q+24|0;i=0;h=0;while(1){g=(f|0)<512?f:512;s=i+g&536870911;c[q>>2]=s;if(s>>>0>>0){h=h+1|0;c[j>>2]=h}c[j>>2]=h+(g>>>29);h=i&63;do if(h){i=64-h|0;h=q+24+h|0;if(g>>>0>>0){CQ(h|0,e|0,g|0)|0;break}else{CQ(h|0,e|0,i|0)|0;si(q,k,64)|0;h=e+i|0;g=g-i|0;m=9;break}}else{h=e;m=9}while(0);if((m|0)==9){m=0;if(g>>>0>63){h=si(q,h,g&-64)|0;g=g&63}CQ(k|0,h|0,g|0)|0}if((f|0)<=512)break a;e=e+512|0;f=f+-512|0;i=c[q>>2]|0;h=c[j>>2]|0}}while(0);ti(o,q);e=0;do{c[p>>2]=d[o+e>>0];NO(328504+(e<<1)|0,32,83676,p);e=e+1|0}while((e|0)!=16);f=b+1076|0;s=f;e=s;a[e>>0]=46;a[e+1>>0]=108;a[e+2>>0]=111;a[e+3>>0]=99;s=s+4|0;a[s>>0]=97;a[s+1>>0]=108;a[s+2>>0]=47;a[s+3>>0]=0;hQ(f,328504)|0;c[q>>2]=0;s=c[(c[n>>2]|0)+4916>>2]|0;e=s+4096|0;PO(p,e)|0;EQ(e|0,0,4096)|0;f=Ci(s,f,q)|0;PO(e,p)|0;e=c[q>>2]|0;if((e|0)>1024){c[q>>2]=1024;e=1024}if(!f){s=Vf(0)|0;QP(s);RP()|0;l=r;return}CQ((c[b>>2]|0)+2439832|0,f|0,e|0)|0;CQ(b+52|0,f|0,e|0)|0;UM(f);s=Vf(0)|0;QP(s);RP()|0;l=r;return}function mi(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+4>>2]|0;Dg[c[a+13148>>2]&63](a,b,d);return}function ni(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[45]|0;a:do switch(f|0){case 1:break;case 2:{g=c[3]|0;vg[c[g+2439784>>2]&511](g);g=c[3]|0;vg[c[g+2439780>>2]&511](g);g=6;break}default:{g=c[3]|0;vg[c[g+2439780>>2]&511](g);switch(f|0){case 10:case 9:case 11:case 0:{g=6;break a}case 12:{c[46]=3;g=6;break a}default:{c[46]=f;g=6;break a}}}}while(0);if(((((g|0)==6?(c[45]=1,d=c[79957]|0,d|0):0)?(e=c[d+224>>2]|0,e|0):0)?gg[e&511](d)|0:0)?(c[45]|2|0)==3:0)PM();g=c[a+4>>2]|0;Bg[c[g+13144>>2]&255](g,b);return}function oi(b){b=b|0;a[b+48>>0]=1;return}function pi(a){a=a|0;do{}while((eh()|0)!=0);return (c[45]|0)!=2|0}function qi(b,d){b=b|0;d=d|0;var 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;t=l;l=l+4368|0;k=t+8|0;o=t;i=t+272|0;j=t+12|0;r=t+16|0;g=c[b>>2]|0;if(xN(g+147352|0,83681,7)|0){l=t;return}h=g+147359|0;e=KO(h,41)|0;if(!e){l=t;return}f=a[h>>0]|0;if(f<<24>>24!=(a[e+-1>>0]|0)){l=t;return}switch(f<<24>>24){case 39:case 34:break;default:{l=t;return}}f=-2-h+e|0;EQ(i+f|0,0,(f>>>0>4095?0:4096-f|0)|0)|0;CQ(i|0,g+147360|0,f|0)|0;EQ(d|0,0,65536)|0;c[j>>2]=0;f=Fi(i,j)|0;if(!f){c[k>>2]=i;zN(r,83720,k)|0;e=c[45]|0;a:do switch(e|0){case 1:break;case 2:{s=c[3]|0;vg[c[s+2439784>>2]&511](s);s=c[3]|0;vg[c[s+2439780>>2]&511](s);s=25;break}default:{s=c[3]|0;vg[c[s+2439780>>2]&511](s);switch(e|0){case 10:case 9:case 11:case 0:{s=25;break a}case 12:{c[46]=3;s=25;break a}default:{c[46]=e;s=25;break a}}}}while(0);if(((((s|0)==25?(c[45]=1,m=c[79957]|0,m|0):0)?(n=c[m+224>>2]|0,n|0):0)?gg[n&511](m)|0:0)?(c[45]|2|0)==3:0)PM();s=c[b+4>>2]|0;Bg[c[s+13144>>2]&255](s,r);l=t;return}e=c[j>>2]|0;if((e|0)<=0){l=t;return}if((e|0)<=65536){CQ(d|0,f|0,e|0)|0;l=t;return}c[o>>2]=65536;zN(r,83689,o)|0;e=c[45]|0;b:do switch(e|0){case 1:break;case 2:{s=c[3]|0;vg[c[s+2439784>>2]&511](s);s=c[3]|0;vg[c[s+2439780>>2]&511](s);s=13;break}default:{s=c[3]|0;vg[c[s+2439780>>2]&511](s);switch(e|0){case 10:case 9:case 11:case 0:{s=13;break b}case 12:{c[46]=3;s=13;break b}default:{c[46]=e;s=13;break b}}}}while(0);if(((((s|0)==13?(c[45]=1,p=c[79957]|0,p|0):0)?(q=c[p+224>>2]|0,q|0):0)?gg[q&511](p)|0:0)?(c[45]|2|0)==3:0)PM();s=c[b+4>>2]|0;Bg[c[s+13144>>2]&255](s,r);l=t;return}function ri(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=l;l=l+4096|0;d=g;do{}while((eh()|0)!=0);if((c[45]|0)!=2){l=g;return}e=c[b>>2]|0;Bg[c[e+2439768>>2]&255](e,b+8|0);e=(c[b>>2]|0)+2439832|0;f=b+52|0;if(xN(e,f,1024)|0){i=c[(c[b+4>>2]|0)+4916>>2]|0;h=i+4096|0;PO(d,h)|0;EQ(h|0,0,4096)|0;Ei(i,b+1076|0,e,1024,1)|0;PO(h,d)|0;CQ(f|0,(c[b>>2]|0)+2439832|0,1024)|0}if(!(a[b+48>>0]|0)){l=g;return}b=c[45]|0;a:do switch(b|0){case 2:{i=c[3]|0;vg[c[i+2439784>>2]&511](i);i=c[3]|0;vg[c[i+2439780>>2]&511](i);break}case 1:{l=g;return}default:{i=c[3]|0;vg[c[i+2439780>>2]&511](i);switch(b|0){case 10:case 9:case 11:case 0:break a;case 12:{c[46]=3;break a}default:{c[46]=b;break a}}}}while(0);c[45]=1;b=c[79957]|0;if(!b){l=g;return}d=c[b+224>>2]|0;if(!d){l=g;return}if(!(gg[d&511](b)|0)){l=g;return}if((c[45]|2|0)!=3){l=g;return}PM();l=g;return}function si(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,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;y=a+8|0;z=a+12|0;A=a+16|0;B=a+20|0;j=a+88|0;k=a+92|0;l=a+96|0;m=a+100|0;n=a+104|0;o=a+108|0;p=a+112|0;q=a+116|0;r=a+120|0;s=a+124|0;t=a+128|0;u=a+132|0;v=a+136|0;w=a+140|0;x=a+144|0;i=a+148|0;a=c[y>>2]|0;f=c[z>>2]|0;g=c[B>>2]|0;h=c[A>>2]|0;do{E=(d[b+1>>0]|0)<<8|(d[b>>0]|0)|(d[b+2>>0]|0)<<16|(d[b+3>>0]|0)<<24;c[j>>2]=E;E=a+-680876936+(f&(g^h)^g)+E|0;E=(E<<7|E>>>25)+f|0;D=(d[b+5>>0]|0)<<8|(d[b+4>>0]|0)|(d[b+6>>0]|0)<<16|(d[b+7>>0]|0)<<24;c[k>>2]=D;D=g+-389564586+D+(E&(f^h)^h)|0;D=(D<<12|D>>>20)+E|0;W=(d[b+9>>0]|0)<<8|(d[b+8>>0]|0)|(d[b+10>>0]|0)<<16|(d[b+11>>0]|0)<<24;c[l>>2]=W;W=h+606105819+W+(D&(E^f)^f)|0;W=(W<<17|W>>>15)+D|0;F=(d[b+13>>0]|0)<<8|(d[b+12>>0]|0)|(d[b+14>>0]|0)<<16|(d[b+15>>0]|0)<<24;c[m>>2]=F;F=f+-1044525330+F+(W&(D^E)^E)|0;F=(F<<22|F>>>10)+W|0;M=(d[b+17>>0]|0)<<8|(d[b+16>>0]|0)|(d[b+18>>0]|0)<<16|(d[b+19>>0]|0)<<24;c[n>>2]=M;M=E+-176418897+M+(F&(W^D)^D)|0;M=(M<<7|M>>>25)+F|0;E=(d[b+21>>0]|0)<<8|(d[b+20>>0]|0)|(d[b+22>>0]|0)<<16|(d[b+23>>0]|0)<<24;c[o>>2]=E;E=D+1200080426+E+(M&(F^W)^W)|0;E=(E<<12|E>>>20)+M|0;D=(d[b+25>>0]|0)<<8|(d[b+24>>0]|0)|(d[b+26>>0]|0)<<16|(d[b+27>>0]|0)<<24;c[p>>2]=D;D=W+-1473231341+D+(E&(M^F)^F)|0;D=(D<<17|D>>>15)+E|0;W=(d[b+29>>0]|0)<<8|(d[b+28>>0]|0)|(d[b+30>>0]|0)<<16|(d[b+31>>0]|0)<<24;c[q>>2]=W;W=F+-45705983+W+(D&(E^M)^M)|0;W=(W<<22|W>>>10)+D|0;F=(d[b+33>>0]|0)<<8|(d[b+32>>0]|0)|(d[b+34>>0]|0)<<16|(d[b+35>>0]|0)<<24;c[r>>2]=F;F=M+1770035416+F+(W&(D^E)^E)|0;F=(F<<7|F>>>25)+W|0;M=(d[b+37>>0]|0)<<8|(d[b+36>>0]|0)|(d[b+38>>0]|0)<<16|(d[b+39>>0]|0)<<24;c[s>>2]=M;E=M+-1958414417+E+(F&(W^D)^D)|0;E=(E<<12|E>>>20)+F|0;M=(d[b+41>>0]|0)<<8|(d[b+40>>0]|0)|(d[b+42>>0]|0)<<16|(d[b+43>>0]|0)<<24;c[t>>2]=M;D=M+-42063+D+(E&(F^W)^W)|0;D=(D<<17|D>>>15)+E|0;M=(d[b+45>>0]|0)<<8|(d[b+44>>0]|0)|(d[b+46>>0]|0)<<16|(d[b+47>>0]|0)<<24;c[u>>2]=M;W=M+-1990404162+W+(D&(E^F)^F)|0;W=(W<<22|W>>>10)+D|0;M=(d[b+49>>0]|0)<<8|(d[b+48>>0]|0)|(d[b+50>>0]|0)<<16|(d[b+51>>0]|0)<<24;c[v>>2]=M;F=M+1804603682+F+(W&(D^E)^E)|0;F=(F<<7|F>>>25)+W|0;M=(d[b+53>>0]|0)<<8|(d[b+52>>0]|0)|(d[b+54>>0]|0)<<16|(d[b+55>>0]|0)<<24;c[w>>2]=M;E=M+-40341101+E+(F&(W^D)^D)|0;E=(E<<12|E>>>20)+F|0;M=(d[b+57>>0]|0)<<8|(d[b+56>>0]|0)|(d[b+58>>0]|0)<<16|(d[b+59>>0]|0)<<24;c[x>>2]=M;D=M+-1502002290+D+(E&(F^W)^W)|0;D=(D<<17|D>>>15)+E|0;M=(d[b+61>>0]|0)<<8|(d[b+60>>0]|0)|(d[b+62>>0]|0)<<16|(d[b+63>>0]|0)<<24;c[i>>2]=M;W=M+1236535329+W+(D&(E^F)^F)|0;W=(W<<22|W>>>10)+D|0;O=c[k>>2]|0;F=O+-165796510+F+((W^D)&E^D)|0;F=(F<<5|F>>>27)+W|0;L=c[p>>2]|0;E=L+-1069501632+E+((F^W)&D^W)|0;E=(E<<9|E>>>23)+F|0;I=c[u>>2]|0;D=I+643717713+D+((E^F)&W^F)|0;D=(D<<14|D>>>18)+E|0;V=c[j>>2]|0;W=V+-373897302+W+((D^E)&F^E)|0;W=(W<<20|W>>>12)+D|0;S=c[o>>2]|0;F=S+-701558691+F+((W^D)&E^D)|0;F=(F<<5|F>>>27)+W|0;P=c[t>>2]|0;E=P+38016083+E+((F^W)&D^W)|0;E=(E<<9|E>>>23)+F|0;D=M+-660478335+D+((E^F)&W^F)|0;D=(D<<14|D>>>18)+E|0;J=c[n>>2]|0;W=J+-405537848+W+((D^E)&F^E)|0;W=(W<<20|W>>>12)+D|0;G=c[s>>2]|0;F=G+568446438+F+((W^D)&E^D)|0;F=(F<<5|F>>>27)+W|0;T=c[x>>2]|0;E=T+-1019803690+E+((F^W)&D^W)|0;E=(E<<9|E>>>23)+F|0;Q=c[m>>2]|0;D=Q+-187363961+D+((E^F)&W^F)|0;D=(D<<14|D>>>18)+E|0;N=c[r>>2]|0;W=N+1163531501+W+((D^E)&F^E)|0;W=(W<<20|W>>>12)+D|0;K=c[w>>2]|0;F=K+-1444681467+F+((W^D)&E^D)|0;F=(F<<5|F>>>27)+W|0;H=c[l>>2]|0;E=H+-51403784+E+((F^W)&D^W)|0;E=(E<<9|E>>>23)+F|0;U=c[q>>2]|0;D=U+1735328473+D+((E^F)&W^F)|0;D=(D<<14|D>>>18)+E|0;R=c[v>>2]|0;W=R+-1926607734+W+((D^E)&F^E)|0;W=(W<<20|W>>>12)+D|0;C=W^D;F=S+-378558+F+(C^E)|0;F=(F<<4|F>>>28)+W|0;C=N+-2022574463+E+(F^C)|0;C=(C<<11|C>>>21)+F|0;E=C^F;D=I+1839030562+D+(E^W)|0;D=(D<<16|D>>>16)+C|0;E=T+-35309556+W+(D^E)|0;E=(E<<23|E>>>9)+D|0;W=E^D;F=O+-1530992060+F+(W^C)|0;F=(F<<4|F>>>28)+E|0;W=J+1272893353+C+(F^W)|0;W=(W<<11|W>>>21)+F|0;C=W^F;D=U+-155497632+D+(C^E)|0;D=(D<<16|D>>>16)+W|0;C=P+-1094730640+E+(D^C)|0;C=(C<<23|C>>>9)+D|0;E=C^D;F=K+681279174+F+(E^W)|0;F=(F<<4|F>>>28)+C|0;E=V+-358537222+W+(F^E)|0;E=(E<<11|E>>>21)+F|0;W=E^F;D=Q+-722521979+D+(W^C)|0;D=(D<<16|D>>>16)+E|0;W=L+76029189+C+(D^W)|0;W=(W<<23|W>>>9)+D|0;C=W^D;F=G+-640364487+F+(C^E)|0;F=(F<<4|F>>>28)+W|0;C=R+-421815835+E+(F^C)|0;C=(C<<11|C>>>21)+F|0;E=C^F;D=M+530742520+D+(E^W)|0;D=(D<<16|D>>>16)+C|0;E=H+-995338651+W+(D^E)|0;E=(E<<23|E>>>9)+D|0;F=V+-198630844+F+((E|~C)^D)|0;F=(F<<6|F>>>26)+E|0;C=U+1126891415+C+((F|~D)^E)|0;C=(C<<10|C>>>22)+F|0;D=T+-1416354905+D+((C|~E)^F)|0;D=(D<<15|D>>>17)+C|0;E=S+-57434055+E+((D|~F)^C)|0;E=(E<<21|E>>>11)+D|0;F=R+1700485571+F+((E|~C)^D)|0;F=(F<<6|F>>>26)+E|0;C=Q+-1894986606+C+((F|~D)^E)|0;C=(C<<10|C>>>22)+F|0;D=P+-1051523+D+((C|~E)^F)|0;D=(D<<15|D>>>17)+C|0;E=O+-2054922799+E+((D|~F)^C)|0;E=(E<<21|E>>>11)+D|0;F=N+1873313359+F+((E|~C)^D)|0;F=(F<<6|F>>>26)+E|0;C=M+-30611744+C+((F|~D)^E)|0;C=(C<<10|C>>>22)+F|0;D=L+-1560198380+D+((C|~E)^F)|0;D=(D<<15|D>>>17)+C|0;E=K+1309151649+E+((D|~F)^C)|0;E=(E<<21|E>>>11)+D|0;F=J+-145523070+F+((E|~C)^D)|0;F=(F<<6|F>>>26)+E|0;C=I+-1120210379+C+((F|~D)^E)|0;C=(C<<10|C>>>22)+F|0;D=H+718787259+D+((C|~E)^F)|0;D=(D<<15|D>>>17)+C|0;E=G+-343485551+E+((D|~F)^C)|0;a=F+a|0;f=D+f+(E<<21|E>>>11)|0;h=D+h|0;g=C+g|0;b=b+64|0;e=e+-64|0}while((e|0)!=0);c[y>>2]=a;c[z>>2]=f;c[A>>2]=h;c[B>>2]=g;return b|0}function ti(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=c[d>>2]&63;e=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,24908)|0;EQ(n+8|0,0,24900)|0;m=G+72|0;c[m>>2]=n;c[n+4>>2]=0;c[n+56>>2]=0;c[n>>2]=8;c[n+60>>2]=6;c[G+68>>2]=g;B=c[f>>2]|0;A=(c[g>>2]|0)+B|0;a[o>>0]=a[A>>0]|0;a[o+1>>0]=a[A+1>>0]|0;a[o+2>>0]=a[A+2>>0]|0;a[o+3>>0]=a[A+3>>0]|0;a[o+4>>0]=a[A+4>>0]|0;a[o+5>>0]=a[A+5>>0]|0;c[f>>2]=B+6;a[o+6>>0]=0;if(yN(287961,o,3)|0){UM(n);UM(G);break}a:do if(!(c[n>>2]&8))c[G+64>>2]=111;else{b=c[n+60>>2]|0;if(!b)b=XP(D,1,2,c[n+56>>2]|0)|0;else b=ig[b&63](G,D,2)|0;if((b|0)!=2){c[G+64>>2]=102;break}f=D+1|0;c[G>>2]=d[f>>0]<<8|d[D>>0];b=c[m>>2]|0;e=c[b+60>>2]|0;if(!e)b=XP(D,1,2,c[b+56>>2]|0)|0;else b=ig[e&63](G,D,2)|0;if((b|0)!=2){c[G+64>>2]=102;break}c[G+4>>2]=d[f>>0]<<8|d[D>>0];b=c[m>>2]|0;e=c[b+60>>2]|0;if(!e)b=XP(C,1,3,c[b+56>>2]|0)|0;else b=ig[e&63](G,C,3)|0;if((b|0)!=3){c[G+64>>2]=102;b=G+20|0;e=c[b>>2]|0;if(e|0){UM(c[e+12>>2]|0);UM(e)}c[b>>2]=0;break}B=a[C>>0]|0;f=B&255;c[G+8>>2]=(f>>>4&7)+1;i=C+1|0;c[G+12>>2]=d[i>>0];j=C+2|0;a[G+16>>0]=a[j>>0]|0;b:do if(B<<24>>24<0){h=2<<(f&7);e=1;while(1){b=1<>2]&3|0)EQ(e|0,0,b|0)|0;c[k+12>>2]=e;c[k>>2]=h;b=1;while(1)if((b|0)<9&(1<>2]=b;a[k+8>>0]=0;g=G+20|0;c[g>>2]=k;if(!k)break;a[k+8>>0]=f>>>3&1;if((h|0)>0)f=0;else break b;while(1){b=c[m>>2]|0;e=c[b+60>>2]|0;if(!e)b=XP(C,1,3,c[b+56>>2]|0)|0;else b=ig[e&63](G,C,3)|0;if((b|0)!=3)break;B=c[g>>2]|0;A=c[B+12>>2]|0;a[A+(f*3|0)>>0]=a[C>>0]|0;a[A+(f*3|0)+1>>0]=a[i>>0]|0;a[A+(f*3|0)+2>>0]=a[j>>0]|0;f=f+1|0;if((f|0)>=(c[B>>2]|0))break b}b=c[g>>2]|0;if(b|0){UM(c[b+12>>2]|0);UM(b)}c[g>>2]=0;c[G+64>>2]=102;break a}else E=38;while(0);if((E|0)==38)c[G+20>>2]=0;c[G+64>>2]=109;break a}else c[G+20>>2]=0;while(0);c[G+64>>2]=0;a[n+24904>>0]=(a[o+3>>0]|0)==57&1;B=G+4|0;b=c[B>>2]|0;do if(((b|0)>0?(p=c[G>>2]|0,(p|0)>0):0)?(q=O(p,b)|0,F=TM(q)|0,(F|0)!=0):0){EQ(F|0,c[G+12>>2]&255|0,q|0)|0;z=G+64|0;o=G+32|0;p=G+28|0;q=G+36|0;r=G+40|0;s=G+44|0;t=G+72|0;u=G+28|0;v=D+1|0;A=G+48|0;w=C+1|0;x=C+2|0;y=G+52|0;n=G+24|0;c:while(1){b=c[t>>2]|0;if(!(c[b>>2]&8)){b=111;E=65;break}e=c[b+60>>2]|0;if(!e)b=XP(D,1,1,c[b+56>>2]|0)|0;else b=ig[e&63](G,D,1)|0;if((b|0)!=1){b=102;E=65;break}switch(a[D>>0]|0){case 44:{m=2;break}case 33:{m=3;break}case 59:{m=4;break}default:{b=107;E=65;break c}}d:do switch(m&7){case 2:{k=c[t>>2]|0;e:do if(!(c[k>>2]&8)){c[z>>2]=111;E=154}else{b=c[k+60>>2]|0;if(!b)b=XP(D,1,2,c[k+56>>2]|0)|0;else b=ig[b&63](G,D,2)|0;if((b|0)!=2){c[z>>2]=102;E=154;break}c[u>>2]=d[v>>0]<<8|d[D>>0];b=c[t>>2]|0;e=c[b+60>>2]|0;if(!e)b=XP(D,1,2,c[b+56>>2]|0)|0;else b=ig[e&63](G,D,2)|0;if((b|0)!=2){c[z>>2]=102;E=154;break}c[o>>2]=d[v>>0]<<8|d[D>>0];b=c[t>>2]|0;e=c[b+60>>2]|0;if(!e)b=XP(D,1,2,c[b+56>>2]|0)|0;else b=ig[e&63](G,D,2)|0;if((b|0)!=2){c[z>>2]=102;E=154;break}c[q>>2]=d[v>>0]<<8|d[D>>0];b=c[t>>2]|0;e=c[b+60>>2]|0;if(!e)b=XP(D,1,2,c[b+56>>2]|0)|0;else b=ig[e&63](G,D,2)|0;if((b|0)!=2){c[z>>2]=102;E=154;break}c[r>>2]=d[v>>0]<<8|d[D>>0];b=c[t>>2]|0;e=c[b+60>>2]|0;if(!e)b=XP(C,1,1,c[b+56>>2]|0)|0;else b=ig[e&63](G,C,1)|0;if((b|0)!=1){c[z>>2]=102;b=c[A>>2]|0;if(b|0){UM(c[b+12>>2]|0);UM(b)}c[A>>2]=0;E=154;break}b=a[C>>0]|0;f=b&255;a[s>>0]=f>>>6&1;e=c[A>>2]|0;if(e){UM(c[e+12>>2]|0);UM(e);c[A>>2]=0;b=a[C>>0]|0}f:do if(b<<24>>24<0){g=2<<(f&7);e=1;while(1){b=1<>2]&3|0)EQ(e|0,0,b|0)|0;c[f+12>>2]=e;c[f>>2]=g;b=1;while(1)if((b|0)<9&(1<>2]=b;a[f+8>>0]=0;c[A>>2]=f;if(!f)break;else f=0;while(1){b=c[t>>2]|0;e=c[b+60>>2]|0;if(!e)b=XP(C,1,3,c[b+56>>2]|0)|0;else b=ig[e&63](G,C,3)|0;if((b|0)!=3)break;j=c[A>>2]|0;i=c[j+12>>2]|0;a[i+(f*3|0)>>0]=a[C>>0]|0;a[i+(f*3|0)+1>>0]=a[w>>0]|0;a[i+(f*3|0)+2>>0]=a[x>>0]|0;f=f+1|0;if(f>>>0>=(c[j>>2]|0)>>>0)break f}b=c[A>>2]|0;if(b|0){UM(c[b+12>>2]|0);UM(b)}c[z>>2]=102;c[A>>2]=0;E=154;break e}else E=109;while(0);if((E|0)==109)c[A>>2]=0;c[z>>2]=109;E=154;break e}while(0);b=c[y>>2]|0;g:do if(!b){b=TM(36)|0;c[y>>2]=b;if(b|0)break;c[z>>2]=109;E=154;break e}else{e=(c[n>>2]|0)+1|0;do if(e>>>0>119304647)c[8240]=12;else{b=VM(b,e*36|0)|0;if(!b)break;c[y>>2]=b;break g}while(0);c[z>>2]=109;E=154;break e}while(0);i=c[n>>2]|0;e=b+(i*36|0)|0;c[e>>2]=c[u>>2];c[e+4>>2]=c[u+4>>2];c[e+8>>2]=c[u+8>>2];c[e+12>>2]=c[u+12>>2];c[e+16>>2]=c[u+16>>2];c[e+20>>2]=c[u+20>>2];e=c[A>>2]|0;h:do if(e|0){j=c[e>>2]|0;h=c[e+12>>2]|0;f=1;while(1){e=1<>>0<=65535)break;e=((e>>>0)/(j>>>0)|0|0)==3?e:-1}while(0);f=TM(e)|0;if(!f){UM(g);break}if(c[f+-4>>2]&3|0)EQ(f|0,0,e|0)|0;c[g+12>>2]=f;c[g>>2]=j;e=1;while(1)if((e|0)<9&(1<>2]=e;a[g+8>>0]=0;if(h|0)CQ(f|0,h|0,j*3|0)|0;c[b+(i*36|0)+20>>2]=g;break h}while(0);c[b+(i*36|0)+20>>2]=0;c[z>>2]=109;E=154;break e}while(0);c[b+(i*36|0)+24>>2]=0;c[b+(i*36|0)+28>>2]=0;c[b+(i*36|0)+32>>2]=0;c[n>>2]=(c[n>>2]|0)+1;c[k+52>>2]=O(c[r>>2]|0,c[q>>2]|0)|0;e=c[t>>2]|0;b=c[e+60>>2]|0;if(!b)b=XP(D,1,1,c[e+56>>2]|0)|0;else b=ig[b&63](G,D,1)|0;do if(b|0){k=a[D>>0]|0;b=k&255;if((k&255)>8){c[z>>2]=102;break}a[e+68>>0]=0;c[e+8>>2]=b;k=1<>2]=k;c[e+16>>2]=k+1;c[e+20>>2]=k+2;c[e+24>>2]=b+1;c[e+28>>2]=2<>2]=0;c[e+32>>2]=4098;c[e+44>>2]=0;c[e+48>>2]=0;b=0;do{c[e+8516+(b<<2)>>2]=4098;b=b+1|0}while((b|0)!=4096);b=0;break e}while(0);E=157}while(0);if((E|0)==154)E=157;if((E|0)==157){E=0;b=c[z>>2]|0}e=c[o>>2]|0;i=c[p>>2]|0;j=c[q>>2]|0;g=c[r>>2]|0;f=c[G>>2]|0;if(!((j+i|0)<=(f|0)?(g+e|0)<=(c[B>>2]|0):0))b=1;if(!(a[s>>0]|0)){if((g|0)<=0)break d;if(eC(G,F+(O(e,f)|0)+i|0,j)|0){f=0;do{f=f+1|0;if((f|0)>=(g|0))break d;e=e+1|0}while((eC(G,F+(O(e,c[G>>2]|0)|0)+i|0,j)|0)!=0)}b=c[z>>2]|0;break d}h=g+e|0;f=e;g=1996;while(1){f=(c[g>>2]|0)+f|0;if((f|0)>=(h|0))break;if(!(eC(G,F+(O(c[G>>2]|0,f)|0)+i|0,j)|0)){E=167;break}else g=1980}if((E|0)==167){E=0;b=c[z>>2]|0}f=e;g=1996;while(1){f=(c[g+4>>2]|0)+f|0;if((f|0)>=(h|0))break;if(!(eC(G,F+(O(c[G>>2]|0,f)|0)+i|0,j)|0)){E=235;break}else g=1980}if((E|0)==235){E=0;b=c[z>>2]|0}f=e;g=1996;while(1){f=(c[g+8>>2]|0)+f|0;if((f|0)>=(h|0))break;if(!(eC(G,F+(O(c[G>>2]|0,f)|0)+i|0,j)|0)){E=239;break}else g=1980}if((E|0)==239){E=0;b=c[z>>2]|0}f=1996;while(1){e=(c[f+12>>2]|0)+e|0;if((e|0)>=(h|0))break d;if(!(eC(G,F+(O(c[G>>2]|0,e)|0)+i|0,j)|0))break;else f=1980}b=c[z>>2]|0;break}case 3:{b=c[t>>2]|0;if(!(c[b>>2]&8)){b=111;E=186;break c}e=c[b+60>>2]|0;if(!e)b=XP(C,1,1,c[b+56>>2]|0)|0;else b=ig[e&63](G,C,1)|0;if((b|0)!=1){b=102;E=186;break c}f=c[t>>2]|0;b=c[f+60>>2]|0;if(!b)b=XP(D,1,1,c[f+56>>2]|0)|0;else b=ig[b&63](G,D,1)|0;if((b|0)!=1){E=187;break c}e=a[D>>0]|0;if(e<<24>>24){b=f+68|0;a[b>>0]=e;g=c[t>>2]|0;h=c[g+60>>2]|0;f=f+69|0;e=e&255;if(!h)e=XP(f,1,e,c[g+56>>2]|0)|0;else e=ig[h&63](G,f,e)|0;if((e|0)!=(d[D>>0]|0)){E=187;break c}}else b=0;while(1){if(!b){b=0;break d}f=c[t>>2]|0;b=c[f+60>>2]|0;if(!b)b=XP(D,1,1,c[f+56>>2]|0)|0;else b=ig[b&63](G,D,1)|0;if((b|0)!=1){E=200;break c}e=a[D>>0]|0;if(e<<24>>24){b=f+68|0;a[b>>0]=e;g=c[t>>2]|0;h=c[g+60>>2]|0;f=f+69|0;e=e&255;if(!h)e=XP(f,1,e,c[g+56>>2]|0)|0;else e=ig[h&63](G,f,e)|0;if((e|0)!=(d[D>>0]|0)){E=200;break c}}else b=0}}default:b=0}while(0);if(!((b|0)==0&(m|0)!=4)){E=202;break}}if((E|0)==65)c[z>>2]=b;else if((E|0)==186)c[z>>2]=b;else if((E|0)==187)c[z>>2]=102;else if((E|0)==200)c[z>>2]=102;else if((E|0)==202?(b|0)==0:0){b=TM(20)|0;if(!b){k=G;n=b;break}c[b>>2]=F;c[b+8>>2]=c[G>>2];c[b+12>>2]=c[B>>2];n=c[(c[A>>2]|0?A:G+20|0)>>2]|0;k=c[n>>2]|0;c[b+16>>2]=k;k=k*3|0;F=TM(k)|0;c[b+4>>2]=F;CQ(F|0,c[n+12>>2]|0,k|0)|0;k=G;n=b;break}UM(F);k=G;n=0}else{k=G;n=0}while(0);m=k+72|0;if(!(c[m>>2]|0)){G=n;l=H;return G|0}b=k+48|0;e=c[b>>2]|0;if(e|0){UM(c[e+12>>2]|0);UM(e);c[b>>2]=0}b=k+20|0;e=c[b>>2]|0;if(e|0){UM(c[e+12>>2]|0);UM(e);c[b>>2]=0}j=k+52|0;b=c[j>>2]|0;if(b|0){i=k+24|0;if((c[i>>2]|0)>0){do{e=b+20|0;f=c[e>>2]|0;if(f|0){UM(c[f+12>>2]|0);UM(f);c[e>>2]=0}e=c[b+24>>2]|0;if(e|0)UM(e);g=b+28|0;h=b+32|0;e=c[h>>2]|0;if(e|0){if((c[g>>2]|0)>0){do{UM(c[e+4>>2]|0);e=e+12|0;f=c[h>>2]|0}while(e>>>0<(f+((c[g>>2]|0)*12|0)|0)>>>0);e=f}UM(e);c[h>>2]=0;c[g>>2]=0}b=b+36|0;e=c[j>>2]|0}while(b>>>0<(e+((c[i>>2]|0)*36|0)|0)>>>0);b=e}UM(b);c[j>>2]=0}g=k+56|0;f=k+60|0;b=c[f>>2]|0;if(b|0){if((c[g>>2]|0)>0){do{UM(c[b+4>>2]|0);b=b+12|0;e=c[f>>2]|0}while(b>>>0<(e+((c[g>>2]|0)*12|0)|0)>>>0);b=e}UM(b);c[f>>2]=0;c[g>>2]=0}b=c[m>>2]|0;if(!(c[b>>2]&8)){UM(b);UM(G);G=n;l=H;return G|0}e=c[b+56>>2]|0;do if(e){F=(hP(e)|0)==0;b=c[m>>2]|0;if(F)break;UM(b);UM(G);G=n;l=H;return G|0}while(0);UM(b);UM(G);G=n;l=H;return G|0}while(0);UM(n);UM(G)}while(0);G=0;l=H;return G|0}function vi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+68>>2]|0;a=e+4|0;CQ(b|0,(c[e>>2]|0)+(c[a>>2]|0)|0,d|0)|0;c[a>>2]=(c[a>>2]|0)+d;return d|0}function wi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+68>>2]|0;a=e+4|0;CQ((c[e>>2]|0)+(c[a>>2]|0)|0,b|0,d|0)|0;c[a>>2]=(c[a>>2]|0)+d;return d|0}function xi(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,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,P=0,Q=0,R=0,S=0;S=l;l=l+32|0;Q=S+16|0;N=S+8|0;I=S;P=S+12|0;K=O(i,e)|0;L=O(i,f)|0;M=O(f,e)|0;c[N>>2]=0;c[I>>2]=b;H=I+4|0;c[H>>2]=0;I=ZB(I,N)|0;if(!I){l=S;return}J=I+72|0;a[(c[J>>2]|0)+24904>>0]=1;if(_B(I,K,L,8,0)|0){b=c[J>>2]|0;do if(c[b>>2]&1){a[Q>>0]=33;a[Q+1>>0]=-1;j=c[b+64>>2]|0;if(!j){YO(Q,1,2,c[b+56>>2]|0)|0;break}else{ig[j&63](I,Q,2)|0;break}}else c[I+64>>2]=10;while(0);b=c[J>>2]|0;do if(c[b>>2]&1){a[Q>>0]=11;j=c[b+64>>2]|0;if(!j)WP(11,c[b+56>>2]|0);else ig[j&63](I,Q,1)|0;b=c[J>>2]|0;j=c[b+64>>2]|0;if(!j){YO(84351,1,11,c[b+56>>2]|0)|0;break}else{ig[j&63](I,84351,11)|0;break}}else c[I+64>>2]=10;while(0);b=c[J>>2]|0;do if(c[b>>2]&1){a[Q>>0]=3;j=c[b+64>>2]|0;if(!j)WP(3,c[b+56>>2]|0);else ig[j&63](I,Q,1)|0;b=c[J>>2]|0;j=c[b+64>>2]|0;if(!j){YO(84363,1,3,c[b+56>>2]|0)|0;break}else{ig[j&63](I,84363,3)|0;break}}else c[I+64>>2]=10;while(0);b=c[J>>2]|0;do if(c[b>>2]&1){a[Q>>0]=0;j=c[b+64>>2]|0;if(!j){WP(0,c[b+56>>2]|0);break}else{ig[j&63](I,Q,1)|0;break}}else c[I+64>>2]=10;while(0);r=TM(768)|0;s=TM(M)|0;t=TM(K)|0;a:do if((h|0)>0){u=M<<2;v=(M|0)<1;w=(f|0)>0;x=(e|0)>0;y=(i|0)>0;z=I+64|0;A=Q+2|0;B=Q+1|0;C=P+1|0;D=P+2|0;E=P+3|0;F=Q+1|0;G=Q+2|0;p=0;q=0;while(1){b=(q*240|1|0)/200|0;if((b|0)>=(h|0))break a;m=g+(O(u,b)|0)|0;EQ(r|0,0,768)|0;EQ(s|0,0,M|0)|0;if(v)b=0;else{k=0;b=0;do{o=m+(k<<2)|0;a[A>>0]=a[o>>0]|0;a[B>>0]=a[o+1>>0]|0;a[Q>>0]=a[o+2>>0]|0;b:do if((b|0)>0){j=0;while(1){if(!(xN(r+(j*3|0)|0,Q,3)|0))break;j=j+1|0;if((j|0)>=(b|0)){R=37;break b}}a[s+k>>0]=j}else R=37;while(0);if((R|0)==37){R=0;a[s+k>>0]=b;o=r+(b*3|0)|0;a[o>>0]=a[Q>>0]|0;a[o+1>>0]=a[Q+1>>0]|0;a[o+2>>0]=a[Q+2>>0]|0;b=b+1|0}k=k+1|0}while(!((b|0)>255|(k|0)>=(M|0)))}a[P>>0]=4;a[C>>0]=2;a[D>>0]=0;a[E>>0]=-1;j=c[J>>2]|0;do if(c[j>>2]&1){a[Q>>0]=33;a[F>>0]=-7;a[G>>0]=4;k=c[j+64>>2]|0;if(!k)YO(Q,1,3,c[j+56>>2]|0)|0;else ig[k&63](I,Q,3)|0;j=c[J>>2]|0;k=c[j+64>>2]|0;if(!k)YO(P,1,4,c[j+56>>2]|0)|0;else ig[k&63](I,P,4)|0;a[Q>>0]=0;j=c[J>>2]|0;k=c[j+64>>2]|0;if(!k){WP(0,c[j+56>>2]|0);break}else{ig[k&63](I,Q,1)|0;break}}else c[z>>2]=10;while(0);k=TM(16)|0;do if(!k){o=0;n=0}else{j=TM(768)|0;if(!j){UM(k);o=0;n=0;break}if(c[j+-4>>2]&3|0)EQ(j|0,0,768)|0;c[k+12>>2]=j;c[k>>2]=256;c[k+4>>2]=8;a[k+8>>0]=0;o=k;n=k}while(0);m=o+12|0;EQ(c[m>>2]|0,0,768)|0;CQ(c[m>>2]|0,r|0,b*3|0)|0;if(!($B(I,K,L,o)|0))b=p;else{c:do if(w){if(x)k=0;else{j=0;while(1){d:do if(y){b=0;while(1){b=b+1|0;if(!(cC(I,t,K)|0))break;if((b|0)>=(i|0)){R=72;break d}}b=c[z>>2]|0;c[N>>2]=b}else R=72;while(0);if((R|0)==72){R=0;b=c[N>>2]|0}j=j+1|0;if(!((b|0)==0&(j|0)<(f|0)))break c}}do{e:do if(y){b=O(k,e)|0;j=0;while(1){p=t+(O(j,i)|0)|0;EQ(p|0,a[s+b>>0]|0,i|0)|0;j=j+1|0;if((j|0)==(e|0)){b=0;break}else b=b+1|0}while(1){b=b+1|0;if(!(cC(I,t,K)|0))break;if((b|0)>=(i|0)){R=63;break e}}b=c[z>>2]|0;c[N>>2]=b}else R=63;while(0);if((R|0)==63){R=0;b=c[N>>2]|0}k=k+1|0}while((b|0)==0&(k|0)<(f|0))}else b=c[N>>2]|0;while(0);c[d>>2]=c[H>>2];b=(b|0)==0&1}if(o|0){UM(c[m>>2]|0);UM(n)}q=q+1|0;if(!((b&1)!=0&(q|0)<(h|0)))break;else p=b}}while(0);UM(t);UM(s);UM(r)}dC(I,N);c[d>>2]=c[H>>2];l=S;return}function yi(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;PO(328537,b)|0;b=b+4096|0;if(JO(b)|0){hQ(328537,b)|0;e=328537+(JO(328537)|0)|0;a[e>>0]=47;a[e+1>>0]=0}e=nO()|0;if(e|0){b=pO(e)|0;a:do if(b|0)do{if(((a[b+10>>0]|0)==4?(f=b+11|0,(a[f>>0]|0)!=46):0)?!(lg[c&31](f,0,0,d,1)|0):0)break a;b=pO(e)|0}while((b|0)!=0);while(0);jO(e)}e=nO()|0;if(!e)return;b=pO(e)|0;b:do if(b|0)do{if((a[b+10>>0]|0)==8?!(lg[c&31](b+11|0,0,0,d,0)|0):0)break b;b=pO(e)|0}while((b|0)!=0);while(0);jO(e);return}function zi(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;i=c[f>>2]|0;if(!b){Dg[c[f+4>>2]&63](0,0,c[f+8>>2]|0);UM(f);return}PO(328537,i)|0;j=i+4096|0;if(JO(j)|0){hQ(328537,j)|0;h=328537+(JO(328537)|0)|0;a[h>>0]=47;a[h+1>>0]=0}hQ(328537,b)|0;h=bP(328537,305365)|0;if(h|0){hP(h)|0;Dg[c[f+4>>2]&63](b,2,c[f+8>>2]|0);UM(f);return}PO(328537,i)|0;if(JO(j)|0){hQ(328537,j)|0;j=328537+(JO(328537)|0)|0;a[j>>0]=47;a[j+1>>0]=0}hQ(328537,b)|0;h=bP(328537,305368)|0;if(!h){UM(f);return}YO(d,1,e,h)|0;hP(h)|0;if(g|0)SP(g);Eb(7)|0;Dg[c[f+4>>2]&63](b,1,c[f+8>>2]|0);UM(f);return}function Ai(b,d){b=b|0;d=d|0;var e=0,f=0;f=l;l=l+80|0;e=f;if((a[d>>0]|0)==46){e=0;l=f;return e|0}PO(328537,b)|0;b=b+4096|0;if(JO(b)|0){hQ(328537,b)|0;b=328537+(JO(328537)|0)|0;a[b>>0]=47;a[b+1>>0]=0}hQ(328537,d)|0;if(!($O(328537,e)|0))b=(c[e+12>>2]&61440|0)==16384;else b=0;e=b;l=f;return e|0}function Bi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;Eg[c[e>>2]&63](a,b,d,c[e+4>>2]|0);UM(e);return}function Ci(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,m=0,n=0;n=l;l=l+16400|0;i=n+4096|0;m=n;g=n+4100|0;j=n+12296|0;h=n+8200|0;k=b+4096|0;if(wN(k,84366)|0?xN(k,84384,18)|0:0){PO(328537,b)|0;if(JO(k)|0){hQ(328537,k)|0;m=328537+(JO(328537)|0)|0;a[m>>0]=47;a[m+1>>0]=0}hQ(328537,d)|0;f=bP(328537,305365)|0;if(!f){e=0;l=n;return e|0}vP(f,0,2)|0;c[e>>2]=_P(f)|0;vP(f,0,0)|0;d=TM(c[e>>2]|0)|0;if(!d)d=0;else{e=(XP(d,c[e>>2]|0,1,f)|0)==0;d=e?0:d}hP(f)|0;e=d;l=n;return e|0}EQ(g|0,0,4100)|0;c[g>>2]=d;f=g+4|0;a[f>>0]=0;yi(b,3,g);if(!(JO(f)|0)){e=0;l=n;return e|0}EQ(j|0,0,4096)|0;c[m>>2]=f;zN(j,84427,m)|0;PO(m,k)|0;EQ(k|0,0,4096)|0;d=Ci(b,j,e)|0;PO(k,m)|0;if(!d){EQ(h|0,0,4096)|0;c[i>>2]=f;zN(h,84447,i)|0;d=TM(0)|0;c[e>>2]=0;if(d|0){PO(m,k)|0;EQ(k|0,0,4096)|0;Ei(b,j,d,0,0)|0;PO(k,m)|0}}e=d;l=n;return e|0}function Di(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(!((d|0)!=0&(wN(b,c[f>>2]|0)|0)==0)){g=1;return g|0}if(!(a[d>>0]|0)){g=1;return g|0}PO(f+4|0,d)|0;g=0;return g|0}function Ei(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;h=l;l=l+80|0;g=h;if(!f){PO(328537,b)|0;f=b+4096|0;if(JO(f)|0){hQ(328537,f)|0;i=328537+(JO(328537)|0)|0;a[i>>0]=47;a[i+1>>0]=0}hQ(328537,c)|0;if(!($O(328537,g)|0)){i=0;l=h;return i|0}}else f=b+4096|0;PO(328537,b)|0;if(a[f>>0]|0){hQ(328537,f)|0;i=328537+(JO(328537)|0)|0;a[i>>0]=47;a[i+1>>0]=0}hQ(328537,c)|0;f=bP(328537,305368)|0;if(!f){i=0;l=h;return i|0}YO(d,1,e,f)|0;hP(f)|0;Eb(7)|0;i=1;l=h;return i|0}function Fi(a,b){a=a|0;b=b|0;var d=0;a=bP(a,305365)|0;if(!a){b=0;return b|0}vP(a,0,2)|0;c[b>>2]=_P(a)|0;vP(a,0,0)|0;d=TM(c[b>>2]|0)|0;if(d|0)XP(d,c[b>>2]|0,1,a)|0;hP(a)|0;b=d;return b|0}function Gi(b,d){b=b|0;d=d|0;var e=0,f=0;f=l;l=l+80|0;e=f;PO(328537,b)|0;b=b+4096|0;if(JO(b)|0){hQ(328537,b)|0;b=328537+(JO(328537)|0)|0;a[b>>0]=47;a[b+1>>0]=0}hQ(328537,d)|0;if($O(328537,e)|0){d=0;e=0;z=d;l=f;return e|0}if((c[e+12>>2]&61440|0)!=32768){d=0;e=0;z=d;l=f;return e|0}e=c[e+56>>2]|0;d=((e|0)<0)<<31>>31;z=d;l=f;return e|0}function Hi(b,c){b=b|0;c=c|0;PO(328537,b)|0;b=b+4096|0;if(JO(b)|0){hQ(328537,b)|0;b=328537+(JO(328537)|0)|0;a[b>>0]=47;a[b+1>>0]=0}hQ(328537,c)|0;TP();Eb(7)|0;return}function Ii(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(!b){e=0;return e|0}if((JO(b)|0)!=3){e=0;return e|0}if(xN(85836,b,2)|0)if(xN(85839,b,2)|0)if(xN(85842,b,2)|0)if(xN(85845,b,2)|0)if(xN(85848,b,2)|0)if(xN(85851,b,2)|0)if(xN(85854,b,2)|0)if(xN(85857,b,2)|0)if(xN(85860,b,2)|0)if(xN(85863,b,2)|0)if(xN(85866,b,2)|0)if(!(xN(85869,b,2)|0))f=11;else{e=1;return e|0}else f=10;else f=9;else f=8;else f=7;else f=6;else f=5;else f=4;else f=3;else f=2;else f=1;else f=0;c[d>>2]=f;c[e>>2]=(a[b+2>>0]|0)+-49;e=1;return e|0}function Ji(b){b=b|0;var d=0,e=0;d=316940;e=d+64|0;do{c[d>>2]=-1;d=d+4|0}while((d|0)<(e|0));a[316940]=a[b+2>>0]|0;a[316941]=a[b+1>>0]|0;a[316942]=a[b>>0]|0;a[316944]=a[b+5>>0]|0;a[316945]=a[b+4>>0]|0;a[316946]=a[b+3>>0]|0;a[316948]=a[b+8>>0]|0;a[316949]=a[b+7>>0]|0;a[316950]=a[b+6>>0]|0;a[316952]=a[b+11>>0]|0;a[316953]=a[b+10>>0]|0;a[316954]=a[b+9>>0]|0;a[316956]=a[b+14>>0]|0;a[316957]=a[b+13>>0]|0;a[316958]=a[b+12>>0]|0;a[316960]=a[b+17>>0]|0;a[316961]=a[b+16>>0]|0;a[316962]=a[b+15>>0]|0;a[316964]=a[b+20>>0]|0;a[316965]=a[b+19>>0]|0;a[316966]=a[b+18>>0]|0;a[316968]=a[b+23>>0]|0;a[316969]=a[b+22>>0]|0;a[316970]=a[b+21>>0]|0;a[316972]=a[b+26>>0]|0;a[316973]=a[b+25>>0]|0;a[316974]=a[b+24>>0]|0;a[316976]=a[b+29>>0]|0;a[316977]=a[b+28>>0]|0;a[316978]=a[b+27>>0]|0;a[316980]=a[b+32>>0]|0;a[316981]=a[b+31>>0]|0;a[316982]=a[b+30>>0]|0;a[316984]=a[b+35>>0]|0;a[316985]=a[b+34>>0]|0;a[316986]=a[b+33>>0]|0;a[316988]=a[b+38>>0]|0;a[316989]=a[b+37>>0]|0;a[316990]=a[b+36>>0]|0;a[316992]=a[b+41>>0]|0;a[316993]=a[b+40>>0]|0;a[316994]=a[b+39>>0]|0;a[316996]=a[b+44>>0]|0;a[316997]=a[b+43>>0]|0;a[316998]=a[b+42>>0]|0;a[317e3]=a[b+47>>0]|0;a[317001]=a[b+46>>0]|0;a[317002]=a[b+45>>0]|0;return}function Ki(b){b=b|0;var d=0;d=b+4|0;if(!(a[d>>0]|0)){c[b+8>>2]=1;c[b+12>>2]=0;a[d>>0]=1}do{}while((eh()|0)!=0);d=c[b>>2]|0;Bg[c[d+2439672>>2]&255](d,0);d=b+12|0;vg[c[2012+((((c[d>>2]|0)>>>0)/60|0)<<2)>>2]&511](b);c[d>>2]=(c[d>>2]|0)+1;return}function Li(b){b=b|0;var d=0;d=c[b>>2]|0;Bg[c[d+2439672>>2]&255](d,0);EQ(d+16384|0,a[84820+(((((c[b+12>>2]|0)>>>0)%60|0)>>>0)/15|0)>>0]|0,32)|0;b=c[b>>2]|0;Kg[c[b+2439704>>2]&15](b,b+32768|0,b+16384|0,0,0,30,17,0,0,-1,1);return}function Mi(b){b=b|0;var e=0,f=0,g=0;e=b+16|0;if(!(a[e>>0]|0)){g=c[3]|0;f=g+1309682|0;f=d[f>>0]|d[f+1>>0]<<8;Ig[c[g+2439748>>2]&7](g,1,(f&65535)>>>8&15,f&7,-1,0,15,0);a[e>>0]=1}g=c[b>>2]|0;lg[c[g+2439664>>2]&31](g,84759,6,7,15)|0;g=c[b>>2]|0;lg[c[g+2439664>>2]&31](g,84780,132,7,3)|0;g=c[b>>2]|0;lg[c[g+2439664>>2]&31](g,84791,6,14,3)|0;return}function Ni(b){b=b|0;var d=0,e=0;d=b+16|0;if(a[d>>0]|0){e=c[b>>2]|0;Bg[c[e+2439744>>2]&255](e,0);a[d>>0]=0}e=c[b>>2]|0;lg[c[e+2439664>>2]&31](e,84759,6,7,15)|0;e=c[b>>2]|0;lg[c[e+2439664>>2]&31](e,84780,132,7,3)|0;b=c[b>>2]|0;lg[c[b+2439664>>2]&31](b,84791,6,14,3)|0;b=c[45]|0;a:do switch(b|0){case 2:{e=c[3]|0;vg[c[e+2439784>>2]&511](e);e=c[3]|0;vg[c[e+2439780>>2]&511](e);break}case 1:return;default:{e=c[3]|0;vg[c[e+2439780>>2]&511](e);switch(b|0){case 10:case 9:case 11:case 0:break a;case 12:{c[46]=3;break a}default:{c[46]=b;break a}}}}while(0);c[45]=1;b=c[79957]|0;if(!b)return;d=c[b+224>>2]|0;if(!d)return;if(!(gg[d&511](b)|0))return;if((c[45]|2|0)!=3)return;PM();return}function Oi(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;o=r;q=d+48|0;if(!(c[q>>2]|0))c[q>>2]=TM(4096)|0;k=d+52|0;g=c[k>>2]|0;if(!g){g=TM(4096)|0;c[k>>2]=g}p=d+60|0;j=c[p>>2]|0;if(!j)n=k;else{UM(c[j+8>>2]|0);g=c[j>>2]|0;while(1){h=c[g+4>>2]|0;if(!h)break;else g=h}if(g|0)do{h=g;g=c[g>>2]|0;i=c[h+8>>2]|0;if(i|0)UM(i);UM(h)}while((g|0)!=0);UM(j);n=k;g=c[k>>2]|0}k=o+1|0;m=k+24|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(m|0));i=c[q>>2]|0;j=TM(16)|0;c[j+12>>2]=f;c[j+4>>2]=16384;k=TM(16384)|0;c[j+8>>2]=k;CQ(k|0,f|0,16384)|0;k=TM(20)|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[j>>2]=k;c[d>>2]=e;c[d+4>>2]=f;c[d+8>>2]=0;b[d+12>>1]=0;a[d+14>>0]=1;a[d+15>>0]=0;a[d+16>>0]=8;a[d+17>>0]=1;a[d+18>>0]=0;k=d+19|0;h=o;m=k+25|0;do{a[k>>0]=a[h>>0]|0;k=k+1|0;h=h+1|0}while((k|0)<(m|0));a[d+44>>0]=0;f=d+45|0;a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;c[q>>2]=i;c[n>>2]=g;c[d+56>>2]=0;c[p>>2]=j;c[d+64>>2]=196;c[d+68>>2]=138;c[d+72>>2]=139;l=r;return}function Pi(f){f=f|0;var 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,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=l;l=l+48|0;W=aa+24|0;X=aa+16|0;Y=aa+8|0;H=aa;P=aa+28|0;g=eh()|0;N=f+56|0;a:do if(g|0){x=f+28|0;y=f+32|0;z=f+24|0;C=f+16|0;D=f+20|0;E=f+18|0;t=f+17|0;r=f+12|0;u=f+20|0;v=f+60|0;w=f+15|0;s=f+4|0;while(1){b:do switch(c[g>>2]|0){case 768:{q=c[g+16+4>>2]|0;g=e[160510]|0;c:do if(!(g&3264)){if(g&3|0)switch(((q|0)==127?1:((q|0)==1073741897)<<31>>31)&3){case 1:{Z=9;break}case 2:{Z=10;break}case 3:{Z=11;break}default:{}}}else{if((q|0)<120)switch(q|0){case 99:{Z=10;break c}case 118:{Z=11;break c}default:break c}if((q|0)<1073741897)switch(q|0){case 120:{Z=9;break c}default:break c}else switch(q|0){case 1073741897:{Z=10;break c}default:break c}}while(0);if((Z|0)==9){Z=0;Ti(f)}else if((Z|0)==10){Z=0;Ui(f)}else if((Z|0)==11){Z=0;Vi(f)}if(b[160510]&3264){switch(q|0){case 122:break;case 121:{k=c[v>>2]|0;g=c[c[k>>2]>>2]|0;if(g|0?(c[k>>2]=g,A=c[g+12>>2]|0,B=g+16|0,A>>>0<(c[B>>2]|0)>>>0):0){i=g+8|0;j=k+8|0;g=A;h=0;while(1){q=(c[j>>2]|0)+g|0;a[q>>0]=a[q>>0]^a[(c[i>>2]|0)+h>>0];g=g+1|0;if(g>>>0>=(c[B>>2]|0)>>>0)break;else h=h+1|0}}CQ(c[k+12>>2]|0,c[k+8>>2]|0,c[k+4>>2]|0)|0;break b}default:break b}m=c[v>>2]|0;g=c[m>>2]|0;if(c[g+4>>2]|0){h=c[g+12>>2]|0;k=g+16|0;if(h>>>0<(c[k>>2]|0)>>>0){i=g+8|0;j=m+8|0;g=h;h=0;while(1){q=(c[j>>2]|0)+g|0;a[q>>0]=a[q>>0]^a[(c[i>>2]|0)+h>>0];g=g+1|0;if(g>>>0>=(c[k>>2]|0)>>>0)break;else h=h+1|0}g=c[m>>2]|0}c[m>>2]=c[g+4>>2]}CQ(c[m+12>>2]|0,c[m+8>>2]|0,c[m+4>>2]|0)|0;break b}if(((c[N>>2]|0)==2?(F=c[x>>2]|0,F|0):0)?(G=c[y>>2]|0,G|0):0){if((q|0)<1073741904){if((q|0)<1073741903){switch(q|0){case 127:break;default:break b}Xi(f);break b}switch(q|0){case 1073741903:break;default:break b}g=c[D>>2]|0;if((g+F|0)<(d[C>>0]|0))c[D>>2]=g+1;Wi(f);break b}switch(q|0){case 1073741906:{g=c[z>>2]|0;if((g|0)>0)c[z>>2]=g+-1;Wi(f);break b}case 1073741905:{g=c[z>>2]|0;if((g+G|0)<(d[C>>0]|0))c[z>>2]=g+1;Wi(f);break b}case 1073741904:{g=c[D>>2]|0;if((g|0)>0)c[D>>2]=g+-1;Wi(f);break b}default:break b}}d:do if((q|0)<1073741904){if((q|0)<127){switch(q|0){case 9:break;default:break d}o=b[r>>1]|0;b[r>>1]=((o&65535)<256?256:65280)+(o&65535);o=u;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));break}if((q|0)>=1073741903){switch(q|0){case 1073741903:break;default:break d}g=b[r>>1]|0;if((g<<3&120|0)>=(128-(d[C>>0]|0)|0))break;b[r>>1]=g+1<<16>>16;break}switch(q|0){case 127:break;default:break d}g=b[r>>1]|0;m=a[C>>0]|0;n=g<<3&120;g=(g&65535)>>>1&120;p=m&255;o=n+p|0;p=g+p|0;if(m<<24>>24)do{k=g+128|0;j=n;do{m=(e[r>>1]|0)>255?k:g;ba=(((m|0)%8|0)<<3)+((j|0)%8|0)|0;m=(ba>>>1)+((c[s>>2]|0)+((((m|0)/8|0)<<4)+((j|0)/8|0)<<5))|0;h=d[m>>0]|0;i=d[w>>0]|0;if(!(ba&1)){ba=h&240;a[m>>0]=ba;h=i&15;i=ba}else{ba=h&15;a[m>>0]=ba;h=i<<4;i=ba}a[m>>0]=h|i;j=j+1|0}while((j|0)<(o|0));g=g+1|0}while((g|0)<(p|0));o=u;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));Sj(c[v>>2]|0)|0}else switch(q|0){case 1073741906:{g=b[r>>1]|0;if(!(g&240))break d;b[r>>1]=(g&65535)+65520;break d}case 1073741905:{g=b[r>>1]|0;if(((g&65535)>>>1&120|0)>=(128-(d[C>>0]|0)|0))break d;b[r>>1]=(g&65535)+16;break d}case 1073741904:{g=b[r>>1]|0;if(!(g&15))break d;b[r>>1]=g+-1<<16>>16;break d}default:break d}while(0);if(!(a[E>>0]|0)){switch(q|0){case 52:case 51:case 50:case 49:{g=q+-49|0;c[N>>2]=g;break}case 56:case 55:case 54:case 53:{vg[c[2024+(q+-53<<2)>>2]&511](f);Z=65;break}default:Z=65}if((Z|0)==65){Z=0;g=c[N>>2]|0}if(!g)switch(q|0){case 91:{g=a[t>>0]|0;if((g&255)<=1)break b;a[t>>0]=g+-1<<24>>24;break b}case 93:{g=a[t>>0]|0;if((g&255)>=4)break b;a[t>>0]=g+1<<24>>24;break b}default:break b}}break}case 1027:{q=a[C>>0]|0;ba=q&255;g=(c[g+20>>2]|0)>0?ba<<((q&255)<64&1):ba>>>((q&255)>8&1);if((ba|0)!=(g|0)){a[C>>0]=g;q=b[r>>1]|0;ba=q<<3&120;o=(q&65535)>>>1&120;p=128-(g&255)|0;b[r>>1]=(q&65535)-(q&255)+((((ba|0)>(p|0)?p:ba)|0)/8|0)+(((((o|0)>(p|0)?p:o)|0)/8|0)<<4);o=u;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0))}break}default:{}}while(0);g=eh()|0;if(!g)break a}}while(0);ba=c[f>>2]|0;Bg[c[ba+2439672>>2]&255](ba,7);if(!(((c[N>>2]|0)==2?(c[f+28>>2]|0)!=0:0)?(c[f+32>>2]|0)!=0:0)){a[P>>0]=a[84832]|0;a[P+1>>0]=a[84833]|0;a[P+2>>0]=a[84834]|0;a[P+3>>0]=a[84835]|0;a[P+4>>0]=a[84836]|0;c[H>>2]=e[f+12>>1];zN(P,85180,H)|0;ba=c[f>>2]|0;lg[c[ba+2439660>>2]&31](ba,P,44,11,0)|0;ba=c[f>>2]|0;lg[c[ba+2439660>>2]&31](ba,P,44,10,15)|0}q=c[f>>2]|0;Gg[c[q+2439692>>2]&7](q,23,19,66,66,15);q=c[f>>2]|0;Gg[c[q+2439688>>2]&7](q,24,20,64,64,0);q=c[f>>2]|0;Gg[c[q+2439688>>2]&7](q,23,85,66,1,0);q=f+18|0;if(!(a[q>>0]|0)){g=c[N>>2]|0;if(!g){if(((c[48]|0)+-9|0)>>>0<5?((c[49]|0)+-40|0)>>>0<24:0){c[68]=11;KP(804,84837,39)|0;if(((a[204]|0)!=0?((c[52]|0)+-9|0)>>>0<5:0)?((c[53]|0)+-40|0)>>>0<24:0){a[f+17>>0]=4-(((c[49]|0)+-40|0)/6|0);g=15}else g=15}else g=7;Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,10,40,3,20,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,9,40,5,5,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,15,42,4,1,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,9,46,5,5,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,15,48,3,1,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,9,52,5,5,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,15,54,2,1,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,9,58,5,5,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,15,60,1,1,0);Z=c[f>>2]|0;Gg[c[Z+2439688>>2]&7](Z,11,41,1,21,g);Z=(4-(d[f+17>>0]|0)|0)*6|0;ba=c[f>>2]|0;Gg[c[ba+2439688>>2]&7](ba,9,Z+40|0,5,5,0);ba=c[f>>2]|0;Gg[c[ba+2439688>>2]&7](ba,10,Z+41|0,3,3,g);Z=87}}else Z=87;if((Z|0)==87)g=c[N>>2]|0;if(((g|0)==2?c[f+28>>2]|0:0)?c[f+32>>2]|0:0){j=0;do{g=c[48]|0;k=c[2040+(j<<4)>>2]|0;if((((g|0)>=(k|0)?(I=(c[2040+(j<<4)+8>>2]|0)+k|0,(g|0)<(I|0)):0)?(J=c[49]|0,K=c[2040+(j<<4)+4>>2]|0,(J|0)>=(K|0)):0)?(L=(c[2040+(j<<4)+12>>2]|0)+K|0,(J|0)<(L|0)):0){c[68]=11;if((a[204]|0)!=0?(ba=c[52]|0,(ba|0)>=(k|0)&(ba|0)<(I|0)):0){g=c[53]|0;g=(g|0)<(L|0)&(g|0)>=(K|0)}else g=0;if(((((a[205]|0)!=0?(ba=c[52]|0,(ba|0)>=(k|0)&(ba|0)<(I|0)):0)?(ba=c[53]|0,(ba|0)>=(K|0)&(ba|0)<(L|0)):0)?(ba=c[54]|0,(ba|0)>=(k|0)&(ba|0)<(I|0)):0)?(ba=c[55]|0,(ba|0)>=(K|0)&(ba|0)<(L|0)):0){a[205]=0;vg[c[2104+(j<<2)>>2]&511](f)}}else g=0;h=c[2040+(j<<4)+4>>2]|0;i=84848+(j<<3)|0;Xg(k,h+1|0,i,g?15:0);if(!g)Xg(k,h,i,15);j=j+1|0}while((j|0)!=4)}e:do if(!(a[q>>0]|0)){n=f+20|0;i=0;do{g=i*11|0;j=g+12|0;h=c[48]|0;if(((h|0)>=(j|0)?(M=g+20|0,(h|0)<(M|0)):0)?(c[49]&-8|0)==96:0){c[68]=11;KP(804,c[2152+(i<<2)>>2]|0,39)|0;if(((((a[205]|0)!=0?(ba=c[52]|0,(ba|0)>=(j|0)&(ba|0)<(M|0)):0)?(c[53]&-8|0)==96:0)?(ba=c[54]|0,(ba|0)>=(j|0)&(ba|0)<(M|0)):0)?(c[55]&-8|0)==96:0){a[205]=0;c[N>>2]=i;o=n;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));g=10}else g=10}else g=15;if((i|0)==(c[N>>2]|0)){Xg(j,92,84987,0);Xg(j,91,84987,15);Xg(j,97,84995+(i<<3)|0,g)}else{ba=84995+(i<<3)|0;Xg(j,97,ba,0);Xg(j,96,ba,g)}i=i+1|0}while((i|0)!=4);j=f+28|0;k=f+32|0;i=0;do{g=i*11|0;m=g+57|0;h=c[48]|0;f:do if(((h|0)>=(m|0)?(O=g+65|0,(h|0)<(O|0)):0)?(c[49]&-8|0)==96:0){c[68]=11;KP(804,c[2120+(i<<2)>>2]|0,39)|0;if((a[204]|0)!=0?(ba=c[52]|0,(ba|0)>=(m|0)&(ba|0)<(O|0)):0)h=(c[53]&-8|0)==96;else h=0;g:do if(((((a[205]|0)!=0?(ba=c[52]|0,(ba|0)>=(m|0)&(ba|0)<(O|0)):0)?(c[53]&-8|0)==96:0)?(ba=c[54]|0,(ba|0)>=(m|0)&(ba|0)<(O|0)):0)?(c[55]&-8|0)==96:0){a[205]=0;do if((c[N>>2]|0)==2){if(!(c[j>>2]|0))break;if(!(c[k>>2]|0))break;vg[c[2136+(i<<2)>>2]&511](f);if((i|0)!=2){Z=205;break g}o=n;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));if(h){g=84971;break g}else{h=10;g=84971;Z=207;break f}}while(0);vg[c[2024+(i<<2)>>2]&511](f);o=n;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));g=84955+(i<<3)|0;if(!h){h=10;Z=207;break f}}else Z=205;while(0);if((Z|0)==205){Z=0;g=84955+(i<<3)|0;if(!h){h=10;Z=207;break}}Xg(m,97,g,10)}else Z=190;while(0);if((Z|0)==190){h=15;g=84955+(i<<3)|0;Z=207}if((Z|0)==207){Z=0;Xg(m,97,g,0);Xg(m,96,g,h)}i=i+1|0}while((i|0)!=4)}else{p=f+14|0;o=(c[f>>2]|0)+1129664+((d[p>>0]|0)*3|0)|0;n=0;do{j=n*6|0;g=j+91|0;k=o+n|0;i=j+89|0;h=c[48]|0;if((((((h+-24|0)>>>0<64?(Q=c[49]|0,(Q|0)>=(i|0)):0)?(R=j+94|0,(Q|0)<(R|0)):0)?(c[68]=11,a[204]|0):0)?((c[52]|0)+-24|0)>>>0<64:0)?(ba=c[53]|0,(ba|0)>=(i|0)&(ba|0)<(R|0)):0)a[k>>0]=((h*255|0)+-6120|0)/63|0;ba=c[f>>2]|0;Gg[c[ba+2439688>>2]&7](ba,24,j+92|0,64,1,0);ba=c[f>>2]|0;Gg[c[ba+2439688>>2]&7](ba,24,g,64,1,15);ba=((((d[k>>0]|0)*63|0)>>>0)/255|0)+23|0;Xg(ba,g,84923,0);m=j+90|0;Xg(ba,m,84923,15);a[P>>0]=a[84931]|0;a[P+1>>0]=a[84932]|0;a[P+2>>0]=a[84933]|0;c[W>>2]=d[k>>0];zN(P,84934,W)|0;ba=c[f>>2]|0;lg[c[ba+2439660>>2]&31](ba,P,6,i,3)|0;do if(((c[48]&-2|0)==20?(S=c[49]|0,(S|0)>=(m|0)):0)?(T=j+93|0,(S|0)<(T|0)):0){c[68]=11;if((a[204]|0)!=0?(c[52]&-2|0)==20:0){h=c[53]|0;h=(h|0)<(T|0)&(h|0)>=(m|0)}else h=0;if(((((a[205]|0)!=0?(c[52]&-2|0)==20:0)?(ba=c[53]|0,(ba|0)>=(m|0)&(ba|0)<(T|0)):0)?(c[54]&-2|0)==20:0)?(ba=c[55]|0,(ba|0)>=(m|0)&(ba|0)<(T|0)):0){a[205]=0;a[k>>0]=(a[k>>0]|0)+-1<<24>>24;g=j+91|0;if(!h){Z=167;break}}else{g=j+91|0;if(!h){Z=167;break}}Xg(20,g,84939,15)}else Z=155;while(0);if((Z|0)==155){g=j+91|0;Z=167}if((Z|0)==167){Z=0;Xg(20,g,84939,0);Xg(20,m,84939,15)}do if(((c[48]&-2|0)==90?(U=c[49]|0,(U|0)>=(m|0)):0)?(V=j+93|0,(U|0)<(V|0)):0){c[68]=11;if((a[204]|0)!=0?(c[52]&-2|0)==90:0){h=c[53]|0;h=(h|0)<(V|0)&(h|0)>=(m|0)}else h=0;if(((((a[205]|0)!=0?(c[52]&-2|0)==90:0)?(ba=c[53]|0,(ba|0)>=(m|0)&(ba|0)<(V|0)):0)?(c[54]&-2|0)==90:0)?(ba=c[55]|0,(ba|0)>=(m|0)&(ba|0)<(V|0)):0){a[205]=0;a[k>>0]=(a[k>>0]|0)+1<<24>>24;g=j+91|0;if(!h){Z=183;break}}else{g=j+91|0;if(!h){Z=183;break}}Xg(90,g,84947,15)}else Z=171;while(0);if((Z|0)==171){g=j+91|0;Z=183}if((Z|0)==183){Z=0;Xg(90,g,84947,0);Xg(90,m,84947,15)}n=n+1|0}while((n|0)!=3);do if(((c[48]|0)+-6|0)>>>0<5?((c[49]|0)+-117|0)>>>0<5:0){c[68]=11;KP(804,84880,39)|0;if((a[204]|0)!=0?((c[52]|0)+-6|0)>>>0<5:0)k=((c[53]|0)+-117|0)>>>0<5;else k=0;if(((((a[205]|0)!=0?((c[52]|0)+-6|0)>>>0<5:0)?((c[53]|0)+-117|0)>>>0<5:0)?((c[54]|0)+-6|0)>>>0<5:0)?((c[55]|0)+-117|0)>>>0<5:0){a[205]=0;i=(c[f>>2]|0)+1129664|0;j=TM(97)|0;if(j|0){g=0;h=j;while(1){c[X>>2]=d[i+g>>0];zN(h,83676,X)|0;g=g+1|0;if((g|0)==48)break;else h=h+2|0}h=c[79957]|0;do if(h){g=c[h+240>>2]|0;if(!g){ba=h+288|0;UM(c[ba>>2]|0);c[ba>>2]=aP(j)|0;break}else{hg[g&63](h,j)|0;break}}else _D(310107,Y);while(0);UM(j)}if(!k){g=10;Z=130;break}}else Z=128;if((Z|0)==128?!k:0){g=10;Z=130;break}Xg(6,118,84893,10)}else{g=15;Z=130}while(0);if((Z|0)==130){Xg(6,118,84893,0);Xg(6,117,84893,g)}do if(((c[48]|0)+-14|0)>>>0<5?((c[49]|0)+-117|0)>>>0<5:0){c[68]=11;KP(804,84901,39)|0;if((a[204]|0)!=0?((c[52]|0)+-14|0)>>>0<5:0)g=((c[53]|0)+-117|0)>>>0<5;else g=0;if(((((a[205]|0)!=0?((c[52]|0)+-14|0)>>>0<5:0)?((c[53]|0)+-117|0)>>>0<5:0)?((c[54]|0)+-14|0)>>>0<5:0)?((c[55]|0)+-117|0)>>>0<5:0){a[205]=0;Ug((c[f>>2]|0)+1129664|0,48,0,1)|0;Ug((c[f>>2]|0)+1129664+((d[p>>0]|0)*3|0)|0,3,0,1)|0;if(!g){g=10;break}}else Z=142;if((Z|0)==142?!g:0){g=10;break}Xg(14,118,84915,10);break e}else g=15;while(0);Xg(14,118,84915,0);Xg(14,117,84915,g)}while(0);g=c[48]|0;if((g+-24|0)>>>0<63?(_=c[49]|0,(_+-112|0)>>>0<15):0){c[68]=11;if((a[204]|0)!=0?((c[52]|0)+-24|0)>>>0<63:0)h=((c[53]|0)+-112|0)>>>0<15;else h=0;if((a[244]|0)!=0?((c[62]|0)+-24|0)>>>0<63:0)i=((c[63]|0)+-112|0)>>>0<15;else i=0;if(h|i){g=(((_+-112|0)/8|0)<<3)+((g+-24|0)/8|0)|0;if(h)a[f+14>>0]=g;if(i)a[f+15>>0]=g}}g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,23,111,65,17,15);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,23,128,65,1,0);g=a[f+14>>0]|0;if((g&255)>7){ba=c[f>>2]|0;Gg[c[ba+2439688>>2]&7](ba,(g<<3&56)+22&255,129,11,1,0)}if(((c[48]|0)+-91|0)>>>0<8?((c[49]|0)+-115|0)>>>0<8:0){c[68]=11;KP(804,85027,39)|0;if((a[204]|0)!=0?((c[52]|0)+-91|0)>>>0<8:0)g=((c[53]|0)+-115|0)>>>0<8;else g=0;if(((((a[205]|0)!=0?((c[52]|0)+-91|0)>>>0<8:0)?((c[53]|0)+-115|0)>>>0<8:0)?((c[54]|0)+-91|0)>>>0<8:0)?((c[55]|0)+-115|0)>>>0<8:0){a[205]=0;a[q>>0]=a[q>>0]^1;h=10}else h=10}else{h=15;g=0}if(g|(a[q>>0]|0)!=0)Xg(91,116,85040,h);else{Xg(91,116,85040,0);Xg(91,115,85040,h)}g=c[f>>2]|0;Gg[c[g+2439692>>2]&7](g,110,6,130,130,15);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,111,7,128,128,0);g=c[48]|0;if(((((g+-111|0)>>>0<128?($=c[49]|0,($+-7|0)>>>0<128):0)?(c[68]=11,a[204]|0):0)?((c[52]|0)+-111|0)>>>0<128:0)?((c[53]|0)+-7|0)>>>0<128:0){ba=d[f+16>>0]|0;p=(ba+-8|0)/-2|0;o=g+-111+p|0;p=$+-7+p|0;ba=128-ba|0;$=(o|0)>0?o:0;p=(p|0)>0?p:0;o=f+12|0;_=b[o>>1]|0;b[o>>1]=(_&65535)-(_&255)+(((($|0)>(ba|0)?ba:$)|0)/8|0)+(((((p|0)>(ba|0)?ba:p)|0)/8|0)<<4);o=f+20|0;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0))}ba=c[f>>2]|0;Gg[c[ba+2439688>>2]&7](ba,0,0,240,7,15);if((((((c[48]|0)+-182|0)>>>0<23?((c[49]|0)+-1|0)>>>0<5:0)?(c[68]=11,KP(804,85048,39)|0,a[204]|0):0)?((c[52]|0)+-182|0)>>>0<23:0)?((c[53]|0)+-1|0)>>>0<5:0){g=c[48]|0;if((g+-177|0)>>>0<11)g=8;else{h=1;g=(g+-182|0)/6|0;while(1){g=g+-1|0;if(!g)break;else h=h<<1}g=h<<4}h=f+16|0;if((d[h>>0]|0)!=(g|0)){a[h>>0]=g;o=f+12|0;_=b[o>>1]|0;$=_<<3&120;p=(_&65535)>>>1&120;ba=128-(g&248)|0;b[o>>1]=(_&65535)-(_&255)+(((($|0)>(ba|0)?ba:$)|0)/8|0)+(((((p|0)>(ba|0)?ba:p)|0)/8|0)<<4);o=f+20|0;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0))}}g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,182,1,5,5,0);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,188,1,5,5,0);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,194,1,5,5,0);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,200,1,5,5,0);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,182,2,23,3,0);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,183,3,21,1,15);g=0;h=(d[f+16>>0]|0)>>>3&255;while(1){h=h>>1;if(!h)break;else g=g+1|0}h=c[f>>2]|0;g=g*6|0;Gg[c[h+2439688>>2]&7](h,g+182|0,1,5,5,0);h=c[f>>2]|0;Gg[c[h+2439688>>2]&7](h,(g|1)+182|0,2,3,3,15);g=f+12|0;h=(e[g>>1]|0)<256;ba=c[f>>2]|0;Gg[c[ba+2439688>>2]&7](ba,226,0,13,7,h?0:7);ba=c[f>>2]|0;lg[c[ba+2439664>>2]&31](ba,88119,227,1,15)|0;if(((((c[48]|0)+-226|0)>>>0<13&(c[49]|0)>>>0<7?(c[68]=11,KP(804,85060,39)|0,!(h|(a[205]|0)==0)):0)?((c[52]|0)+-226|0)>>>0<13&(c[53]|0)>>>0<7:0)?((c[54]|0)+-226|0)>>>0<13&(c[55]|0)>>>0<7:0){a[205]=0;b[g>>1]=(e[g>>1]|0)+65280;o=f+20|0;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0))}ba=c[f>>2]|0;Gg[c[ba+2439688>>2]&7](ba,212,0,13,7,h?7:0);ba=c[f>>2]|0;lg[c[ba+2439664>>2]&31](ba,85072,213,1,15)|0;if(!(((c[48]|0)+-212|0)>>>0<13&(c[49]|0)>>>0<7)){ba=c[f>>2]|0;Vg(ba,7);ba=f+8|0;f=c[ba>>2]|0;f=f+1|0;c[ba>>2]=f;l=aa;return}c[68]=11;KP(804,85075,39)|0;if((a[205]|0)==0|h^1){ba=c[f>>2]|0;Vg(ba,7);ba=f+8|0;f=c[ba>>2]|0;f=f+1|0;c[ba>>2]=f;l=aa;return}if(!(((c[52]|0)+-212|0)>>>0<13&(c[53]|0)>>>0<7)){ba=c[f>>2]|0;Vg(ba,7);ba=f+8|0;f=c[ba>>2]|0;f=f+1|0;c[ba>>2]=f;l=aa;return}if(!(((c[54]|0)+-212|0)>>>0<13&(c[55]|0)>>>0<7)){ba=c[f>>2]|0;Vg(ba,7);ba=f+8|0;f=c[ba>>2]|0;f=f+1|0;c[ba>>2]=f;l=aa;return}a[205]=0;b[g>>1]=(e[g>>1]|0)+256;o=f+20|0;p=o+16|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));ba=c[f>>2]|0;Vg(ba,7);ba=f+8|0;f=c[ba>>2]|0;f=f+1|0;c[ba>>2]=f;l=aa;return}function Qi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;switch(d|0){case 0:{Ti(b);return}case 1:{Ui(b);return}case 2:{Vi(b);return}case 3:{h=c[b+60>>2]|0;b=c[h>>2]|0;if(c[b+4>>2]|0){d=c[b+12>>2]|0;g=b+16|0;if(d>>>0<(c[g>>2]|0)>>>0){e=b+8|0;f=h+8|0;b=d;d=0;while(1){i=(c[f>>2]|0)+b|0;a[i>>0]=a[i>>0]^a[(c[e>>2]|0)+d>>0];b=b+1|0;if(b>>>0>=(c[g>>2]|0)>>>0)break;else d=d+1|0}b=c[h>>2]|0}c[h>>2]=c[b+4>>2]}CQ(c[h+12>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0)|0;return}case 4:{g=c[b+60>>2]|0;b=c[c[g>>2]>>2]|0;if(b|0?(c[g>>2]=b,h=c[b+12>>2]|0,i=b+16|0,h>>>0<(c[i>>2]|0)>>>0):0){e=b+8|0;f=g+8|0;b=h;d=0;while(1){h=(c[f>>2]|0)+b|0;a[h>>0]=a[h>>0]^a[(c[e>>2]|0)+d>>0];b=b+1|0;if(b>>>0>=(c[i>>2]|0)>>>0)break;else d=d+1|0}}CQ(c[g+12>>2]|0,c[g+8>>2]|0,c[g+4>>2]|0)|0;return}default:return}}function Ri(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;t=g+18|0;if(a[t>>0]|0){x=c[g>>2]|0;A=g+14|0;y=a[A>>0]|0;z=x+1129664+((y&255)*3|0)|0;Eg[c[x+2439676>>2]&63](x,((((d[z>>0]|0)*63|0)>>>0)/255|0)+24|0,91,y);y=c[g>>2]|0;Eg[c[y+2439676>>2]&63](y,((((d[z+1>>0]|0)*63|0)>>>0)/255|0)+24|0,97,a[A>>0]|0);y=c[g>>2]|0;Eg[c[y+2439676>>2]&63](y,((((d[z+2>>0]|0)*63|0)>>>0)/255|0)+24|0,103,a[A>>0]|0)}z=g+12|0;x=b[z>>1]|0;A=g+16|0;s=a[A>>0]|0;w=x<<3&120;x=(x&65535)>>>1&120;y=s&255;l=w+y|0;m=x+y|0;y=64/(y>>>0)|0;if(s<<24>>24){k=g+4|0;f=x;h=20;while(1){n=f+128|0;i=24;j=w;while(1){q=c[g>>2]|0;s=(e[z>>1]|0)>255?n:f;r=(((s|0)%8|0)<<3)+((j|0)%8|0)|0;s=d[(r>>>1)+((c[k>>2]|0)+((((s|0)/8|0)<<4)+((j|0)/8|0)<<5))>>0]|0;Gg[c[q+2439688>>2]&7](q,i,h,y,y,(r&1|0?s>>>4:s&15)&255);j=j+1|0;if((j|0)>=(l|0))break;else i=i+y|0}f=f+1|0;if((f|0)>=(m|0))break;else h=h+y|0}}q=g+56|0;if(((c[q>>2]|0)==2?(o=c[g+28>>2]|0,o|0):0)?(p=c[g+32>>2]|0,p|0):0){r=(O(c[g+20>>2]|0,y)|0)+23|0;s=(O(c[g+24>>2]|0,y)|0)+19|0;o=O(o,y)|0;m=o+2|0;k=O(p,y)|0;n=k+2|0;f=((c[g+8>>2]|0)>>>0)/10|0;j=r+m|0;h=f+1|0;if((o|0)>-2){i=r;while(1){p=c[g>>2]|0;Eg[c[p+2439676>>2]&63](p,i,s,(f|0)%3|0|0?15:0);i=i+1|0;f=h+1|0;if((i|0)>=(j|0))break;else{p=h;h=f;f=p}}}else f=h;l=s+n|0;i=f+1|0;j=j+-1|0;if((k|0)>-2){h=s;while(1){p=c[g>>2]|0;Eg[c[p+2439676>>2]&63](p,j,h,(f|0)%3|0|0?15:0);h=h+1|0;f=i+1|0;if((h|0)>=(l|0)){i=f;break}else{p=i;i=f;f=p}}}f=i+1|0;h=l+-1|0;if((m|0)>=1)while(1){p=c[g>>2]|0;Eg[c[p+2439676>>2]&63](p,j,h,(i|0)%3|0|0?15:0);i=f+1|0;if((j|0)>(r|0)){p=f;j=j+-1|0;f=i;i=p}else{f=i;break}}if((n|0)>=1)while(1){p=c[g>>2]|0;Eg[c[p+2439676>>2]&63](p,r,h,(f|0)%3|0|0?15:0);if((h|0)>(s|0)){h=h+-1|0;f=f+1|0}else break}}a:do if(!(a[t>>0]|0))switch(c[q>>2]|0){case 0:{j=64/((d[A>>0]|0)>>>0)|0;f=c[48]|0;if((f+-24|0)>>>0>=64)break a;h=c[49]|0;if((h+-20|0)>>>0>=64)break a;c[68]=11;k=g+17|0;v=O(d[k>>0]|0,j)|0;i=(v-j|0)/-2|0;f=f+-24+i|0;i=h+-20+i|0;f=f-((f|0)%(j|0)|0)|0;i=i-((i|0)%(j|0)|0)|0;f=(f|0)>0?f:0;i=(i|0)>0?i:0;u=64-v|0;f=(f+v|0)>>>0>63?u:f;i=(i+v|0)>>>0>63?u:i;u=c[g>>2]|0;Gg[c[u+2439692>>2]&7](u,f+24|0,i+20|0,v,v,0);u=c[g>>2]|0;v=v+2|0;Gg[c[u+2439692>>2]&7](u,f+23|0,i+19|0,v,v,15);if((a[204]|0)!=0?((c[52]|0)+-24|0)>>>0<64:0)l=((c[53]|0)+-20|0)>>>0<64;else l=0;if((a[244]|0)!=0?((c[62]|0)+-24|0)>>>0<64:0)h=((c[63]|0)+-20|0)>>>0<64;else h=0;if(!(l|h))break a;p=((f|0)/(j|0)|0)+w|0;o=((i|0)/(j|0)|0)+x|0;v=a[k>>0]|0;n=v&255;if(v<<24>>24){m=g+4|0;j=d[(l?g+14|0:g+15|0)>>0]|0;i=j&15;j=j<<4;h=0;do{k=o+h|0;l=k+128|0;f=0;do{v=p+f|0;t=(e[z>>1]|0)>255?l:k;u=(((t|0)%8|0)<<3)+((v|0)%8|0)|0;v=(u>>>1)+((c[m>>2]|0)+((((t|0)/8|0)<<4)+((v|0)/8|0)<<5))|0;u=(u&1|0)==0;a[v>>0]=(u?i:j)|d[v>>0]&(u?240:15);f=f+1|0}while((f|0)!=(n|0));h=h+1|0}while((h|0)!=(n|0))}Sj(c[g+60>>2]|0)|0;break a}case 1:{j=64/((d[A>>0]|0)>>>0)|0;f=c[48]|0;if((f+-24|0)>>>0>=64)break a;h=c[49]|0;if((h+-20|0)>>>0>=64)break a;c[68]=11;i=f+-24|0;f=h+-20|0;t=i-((i|0)%(j|0)|0)|0;u=f-((f|0)%(j|0)|0)|0;s=c[g>>2]|0;Gg[c[s+2439692>>2]&7](s,t+24|0,u+20|0,j,j,0);s=c[g>>2]|0;v=j+2|0;Gg[c[s+2439692>>2]&7](s,t+23|0,u+19|0,v,v,15);if((a[204]|0?((c[52]|0)+-24|0)>>>0<64:0)?((c[53]|0)+-20|0)>>>0<64:0){v=((i|0)/(j|0)|0)+w|0;t=((f|0)/(j|0)|0)+x|0;t=(e[z>>1]|0)>255?t+128|0:t;u=(((t|0)%8|0)<<3)+((v|0)%8|0)|0;v=d[(u>>>1)+((c[g+4>>2]|0)+((((t|0)/8|0)<<4)+((v|0)/8|0)<<5))>>0]|0;a[g+14>>0]=u&1|0?v>>>4:v&15}if(!(a[244]|0))break a;if(((c[62]|0)+-24|0)>>>0>=64)break a;if(((c[63]|0)+-20|0)>>>0>=64)break a;v=((i|0)/(j|0)|0)+w|0;t=((f|0)/(j|0)|0)+x|0;t=(e[z>>1]|0)>255?t+128|0:t;u=(((t|0)%8|0)<<3)+((v|0)%8|0)|0;v=d[(u>>>1)+((c[g+4>>2]|0)+((((t|0)/8|0)<<4)+((v|0)/8|0)<<5))>>0]|0;a[g+15>>0]=u&1|0?v>>>4:v&15;break a}case 2:{l=64/((d[A>>0]|0)>>>0)|0;f=c[48]|0;if((f+-24|0)>>>0>=64)break a;h=c[49]|0;if((h+-20|0)>>>0>=64)break a;c[68]=11;j=f+-24|0;h=h+-20|0;r=j-((j|0)%(l|0)|0)|0;s=h-((h|0)%(l|0)|0)|0;q=c[g>>2]|0;Gg[c[q+2439692>>2]&7](q,r+24|0,s+20|0,l,l,0);q=c[g>>2]|0;t=l+2|0;Gg[c[q+2439692>>2]&7](q,r+23|0,s+19|0,t,t,15);do if(((a[204]|0)!=0?((c[52]|0)+-24|0)>>>0<64:0)?(u=c[53]|0,(u|0)>=20):0){f=g+44|0;k=(a[f>>0]|0)!=0;if((u|0)>=84)if(k)break;else break a;i=(h|0)/(l|0)|0;h=(j|0)/(l|0)|0;if(k){t=c[g+36>>2]|0;s=(h|0)<(t|0)?h:t;v=c[g+40>>2]|0;u=(i|0)<(v|0)?i:v;c[g+20>>2]=s;c[g+24>>2]=u;c[g+28>>2]=1-s+((h|0)>(t|0)?h:t);c[g+32>>2]=1-u+((i|0)>(v|0)?i:v);break a}else{a[f>>0]=1;c[g+36>>2]=h;c[g+40>>2]=i;c[g+20>>2]=h;c[g+24>>2]=i;c[g+28>>2]=1;c[g+32>>2]=1;break a}}else v=55;while(0);if((v|0)==55){f=g+44|0;if(!(a[f>>0]|0))break a}h=b[z>>1]|0;v=a[A>>0]|0;m=h<<3&120;h=(h&65535)>>>1&120;o=v&255;n=m+o|0;o=h+o|0;if(v<<24>>24){l=g+4|0;p=g+48|0;i=0;do{k=h+128|0;j=m;do{u=(e[z>>1]|0)>255?k:h;t=(((u|0)%8|0)<<3)+((j|0)%8|0)|0;u=d[(t>>>1)+((c[l>>2]|0)+((((u|0)/8|0)<<4)+((j|0)/8|0)<<5))>>0]|0;v=i;i=i+1|0;a[(c[p>>2]|0)+v>>0]=t&1|0?u>>>4:u&15;j=j+1|0}while((j|0)<(n|0));h=h+1|0}while((h|0)<(o|0))}o=g+52|0;EQ(c[o>>2]|0,0,4096)|0;p=g+24|0;q=g+32|0;h=c[q>>2]|0;if((h|0)>0){k=c[p>>2]|0;r=g+20|0;s=g+28|0;t=g+48|0;u=g+15|0;l=0;n=k;j=c[s>>2]|0;i=c[r>>2]|0;while(1){if((j|0)>0){h=l;do{l=(c[t>>2]|0)+((O(d[A>>0]|0,n)|0)+i)|0;j=h;h=h+1|0;a[(c[o>>2]|0)+j>>0]=a[l>>0]|0;a[l>>0]=a[u>>0]|0;i=i+1|0;l=c[r>>2]|0;j=c[s>>2]|0}while((i|0)<(j+l|0));m=h;k=c[p>>2]|0;h=c[q>>2]|0;i=l}else m=l;n=n+1|0;if((n|0)>=(k+h|0))break;else l=m}}a[f>>0]=0;break a}case 3:{i=64/((d[A>>0]|0)>>>0)|0;f=c[48]|0;if((f+-24|0)>>>0>=64)break a;h=c[49]|0;if((h+-20|0)>>>0>=64)break a;c[68]=11;f=f+-24|0;h=h+-20|0;s=f-((f|0)%(i|0)|0)|0;t=h-((h|0)%(i|0)|0)|0;r=c[g>>2]|0;Gg[c[r+2439692>>2]&7](r,s+24|0,t+20|0,i,i,0);r=c[g>>2]|0;u=i+2|0;Gg[c[r+2439692>>2]&7](r,s+23|0,t+19|0,u,u,15);if(((((a[205]|0)!=0?((c[52]|0)+-24|0)>>>0<64:0)?((c[53]|0)+-20|0)>>>0<64:0)?((c[54]|0)+-24|0)>>>0<64:0)?((c[55]|0)+-20|0)>>>0<64:0){a[205]=0;j=1}else j=0;if(((((a[245]|0)!=0?((c[62]|0)+-24|0)>>>0<64:0)?((c[63]|0)+-20|0)>>>0<64:0)?((c[64]|0)+-24|0)>>>0<64:0)?((c[65]|0)+-20|0)>>>0<64:0)a[245]=0;else v=87;if((v|0)==87?!j:0)break a;k=((f|0)/(i|0)|0)+w|0;h=((h|0)/(i|0)|0)+x|0;r=g+4|0;s=(e[z>>1]|0)>255?h+128|0:h;f=(((s|0)%8|0)<<3)+((k|0)%8|0)|0;s=d[(f>>>1)+((c[r>>2]|0)+((((s|0)/8|0)<<4)+((k|0)/8|0)<<5))>>0]|0;s=(f&1|0?s>>>4:s&15)&255;f=a[(j?g+14|0:g+15|0)>>0]|0;do if(s<<24>>24!=f<<24>>24){q=d[A>>0]|0;p=w+-1+q|0;q=x+-1+q|0;if(!(b[160510]&3264)){Si(g,w,x,p,q,k,h,s,f);break}if((q|0)>(x|0)&(p|0)>(w|0)){j=f&255;i=j&15;j=j<<4;f=x;do{k=f+128|0;h=w;do{l=(e[z>>1]|0)>255?k:f;m=(((l|0)%8|0)<<3)+((h|0)%8|0)|0;l=(m>>>1)+((c[r>>2]|0)+((((l|0)/8|0)<<4)+((h|0)/8|0)<<5))|0;m=m&1;n=d[l>>0]|0;o=n&15;if(((m|0?n>>>4:o)&255)<<24>>24==s<<24>>24)a[l>>0]=(m|0)==0?i|n&240:j|o;h=h+1|0}while((h|0)!=(p|0));f=f+1|0}while((f|0)!=(q|0))}}while(0);Sj(c[g+60>>2]|0)|0;break a}default:break a}while(0);if((a[224]|0?((c[57]|0)+-24|0)>>>0<64:0)?((c[58]|0)+-20|0)>>>0<64:0){w=(((c[48]|0)+-24|0)/(y|0)|0)+w|0;y=(((c[49]|0)+-20|0)/(y|0)|0)+x|0;y=(e[z>>1]|0)>255?y+128|0:y;x=(((y|0)%8|0)<<3)+((w|0)%8|0)|0;y=d[(x>>>1)+((c[g+4>>2]|0)+((((y|0)/8|0)<<4)+((w|0)/8|0)<<5))>>0]|0;a[g+14>>0]=x&1|0?y>>>4:y&15}f=0;h=0;while(1){y=(h<<3)+112|0;v=c[g>>2]|0;w=f|1;Gg[c[v+2439688>>2]&7](v,24,y,7,7,f&255);v=c[g>>2]|0;Gg[c[v+2439688>>2]&7](v,32,y,7,7,w&255);v=c[g>>2]|0;x=f|3;Gg[c[v+2439688>>2]&7](v,40,y,7,7,w+1&255);w=c[g>>2]|0;Gg[c[w+2439688>>2]&7](w,48,y,7,7,x&255);w=c[g>>2]|0;Gg[c[w+2439688>>2]&7](w,56,y,7,7,x+1&255);w=c[g>>2]|0;Gg[c[w+2439688>>2]&7](w,64,y,7,7,x+2&255);w=c[g>>2]|0;Gg[c[w+2439688>>2]&7](w,72,y,7,7,x+3&255);x=c[g>>2]|0;Gg[c[x+2439688>>2]&7](x,80,y,7,7,(f|7)&255);h=h+1|0;if((h|0)==2)break;else f=f+8|0}i=a[g+14>>0]|0;k=i<<3&56;f=i&-8&255;y=c[g>>2]|0;Gg[c[y+2439688>>2]&7](y,k+23&255,f+111|0,9,9,i);i=c[g>>2]|0;Gg[c[i+2439692>>2]&7](i,k+22&255,f+110|0,11,11,15);f=a[g+15>>0]|0;Xg((f<<3&56)+24&255,(f&-8&255)+112|0,84824,f<<24>>24==15?0:15);f=b[z>>1]|0;k=g+4|0;f=(f&65535)-(f&255)|0;i=0;while(1){l=i|7;h=0;j=f;while(1){y=c[g>>2]|0;Hg[c[y+2439696>>2]&7](y,c[k>>2]|0,j,h+111|0,l,0,0);h=h+8|0;if((h|0)>=128)break;else j=j+1|0}i=i+8|0;if((i|0)>=128)break;else f=f+16|0}z=b[z>>1]|0;y=c[g>>2]|0;g=(d[A>>0]|0)+2|0;Gg[c[y+2439692>>2]&7](y,(z<<3&120)+110&65535,((z&65535)>>>1&120|6)&65535,g,g,15);return}function Si(e,f,g,h,i,j,k,l,m){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;r=e+4|0;o=c[r>>2]|0;s=e+12|0;p=b[s>>1]|0;n=k+128|0;y=(p&65535)>255?n:k;t=(j|0)/8|0;u=(j|0)%8|0;x=(((y|0)%8|0)<<3)+u|0;y=d[(x>>>1)+(o+((((y|0)/8|0)<<4)+t<<5))>>0]|0;if(((x&1|0?y>>>4:y&15)&255)<<24>>24!=l<<24>>24)return;q=j+-1|0;v=(j|0)<(h|0);w=j+1|0;y=m&255;x=y&15;y=y<<4;if((j|0)>(f|0)){while(1){p=(p&65535)>255?n:k;n=(((p|0)%8|0)<<3)+u|0;p=(n>>>1)+(o+((((p|0)/8|0)<<4)+t<<5))|0;o=(n&1|0)==0;a[p>>0]=(o?x:y)|(d[p>>0]|0)&(o?240:15);Si(e,f,g,h,i,q,k,l,m);if(v)Si(e,f,g,h,i,w,k,l,m);if((k|0)>(g|0))Si(e,f,g,h,i,j,k+-1|0,l,m);n=k;k=k+1|0;if((n|0)>=(i|0)){n=15;break}o=c[r>>2]|0;p=b[s>>1]|0;n=n+129|0;z=(p&65535)>255?n:k;A=(((z|0)%8|0)<<3)+u|0;z=d[(A>>>1)+(o+((((z|0)/8|0)<<4)+t<<5))>>0]|0;if(((A&1|0?z>>>4:z&15)&255)<<24>>24!=l<<24>>24){n=15;break}}if((n|0)==15)return}else{while(1){A=(p&65535)>255?n:k;z=(((A|0)%8|0)<<3)+u|0;A=(z>>>1)+(o+((((A|0)/8|0)<<4)+t<<5))|0;z=(z&1|0)==0;a[A>>0]=(z?x:y)|(d[A>>0]|0)&(z?240:15);if(v)Si(e,f,g,h,i,w,k,l,m);if((k|0)>(g|0))Si(e,f,g,h,i,j,k+-1|0,l,m);n=k;k=k+1|0;if((n|0)>=(i|0)){n=15;break}o=c[r>>2]|0;p=b[s>>1]|0;n=n+129|0;A=(p&65535)>255?n:k;z=(((A|0)%8|0)<<3)+u|0;A=d[(z>>>1)+(o+((((A|0)/8|0)<<4)+t<<5))>>0]|0;if(((z&1|0?A>>>4:A&15)&255)<<24>>24!=l<<24>>24){n=15;break}}if((n|0)==15)return}}function Ti(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;Ui(f);m=f+12|0;g=b[m>>1]|0;o=a[f+16>>0]|0;p=g<<3&120;g=(g&65535)>>>1&120;r=o&255;q=p+r|0;r=g+r|0;if(!(o<<24>>24)){g=f+20|0;h=g+16|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));f=f+60|0;f=c[f>>2]|0;Sj(f)|0;return}o=f+15|0;n=f+4|0;do{k=g+128|0;j=p;do{l=(e[m>>1]|0)>255?k:g;s=(((l|0)%8|0)<<3)+((j|0)%8|0)|0;l=(s>>>1)+((c[n>>2]|0)+((((l|0)/8|0)<<4)+((j|0)/8|0)<<5))|0;h=d[l>>0]|0;i=d[o>>0]|0;if(!(s&1)){s=h&240;a[l>>0]=s;h=i&15;i=s}else{s=h&15;a[l>>0]=s;h=i<<4;i=s}a[l>>0]=h|i;j=j+1|0}while((j|0)<(q|0));g=g+1|0}while((g|0)<(r|0));g=f+20|0;h=g+16|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));s=f+60|0;s=c[s>>2]|0;Sj(s)|0;return}function Ui(f){f=f|0;var 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;x=l;l=l+16|0;v=x+8|0;u=x;g=f+16|0;s=d[g>>0]|0;s=O(s,s)|0;t=s>>>1;w=TM(t)|0;if(!w){l=x;return}r=f+12|0;q=b[r>>1]|0;n=a[g>>0]|0;o=q<<3&120;g=(q&65535)>>>1&120;q=n&255;p=o+q|0;q=g+q|0;if(n<<24>>24){n=f+4|0;f=0;do{m=g+128|0;k=o;do{y=f;f=f+1|0;h=(e[r>>1]|0)>255?m:g;j=(((h|0)%8|0)<<3)+((k|0)%8|0)|0;h=d[(j>>>1)+((c[n>>2]|0)+((((h|0)/8|0)<<4)+((k|0)/8|0)<<5))>>0]|0;h=j&1|0?h>>>4:h&15;j=w+(y>>>1)|0;i=d[j>>0]|0;if(!(y&1)){i=i&240;a[j>>0]=i}else{i=i&15;a[j>>0]=i;h=h<<4}a[j>>0]=i|h;k=k+1|0}while((k|0)<(p|0));g=g+1|0}while((g|0)<(q|0))}h=TM(s|1)|0;if(h|0){if(t|0){g=0;f=h;while(1){c[u>>2]=d[w+g>>0];zN(f,83676,u)|0;s=a[f>>0]|0;y=f+1|0;a[f>>0]=a[y>>0]|0;a[y>>0]=s;g=g+1|0;if((g|0)==(t|0))break;else f=f+2|0}}f=c[79957]|0;do if(f){g=c[f+240>>2]|0;if(!g){y=f+288|0;UM(c[y>>2]|0);c[y>>2]=aP(h)|0;break}else{hg[g&63](f,h)|0;break}}else _D(310107,v);while(0);UM(h)}UM(w);l=x;return}function Vi(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;if(a[f+18>>0]|0){Ug((c[f>>2]|0)+1129664|0,48,0,1)|0;Ug((c[f>>2]|0)+1129664+((d[f+14>>0]|0)*3|0)|0,3,0,1)|0}h=f+16|0;g=d[h>>0]|0;g=(O(g,g)|0)>>>1;s=TM(g)|0;if(!s)return;if(Ug(s,g,1,0)|0){r=f+12|0;g=b[r>>1]|0;n=a[h>>0]|0;o=g<<3&120;g=(g&65535)>>>1&120;q=n&255;p=o+q|0;q=g+q|0;if(n<<24>>24){n=f+4|0;h=0;do{m=g+128|0;l=o;do{k=h;h=h+1|0;i=d[s+(k>>>1)>>0]|0;i=k&1|0?i>>>4:i&15;k=(e[r>>1]|0)>255?m:g;t=(((k|0)%8|0)<<3)+((l|0)%8|0)|0;k=(t>>>1)+((c[n>>2]|0)+((((k|0)/8|0)<<4)+((l|0)/8|0)<<5))|0;j=d[k>>0]|0;if(!(t&1)){j=j&240;a[k>>0]=j}else{j=j&15;a[k>>0]=j;i=i<<4}a[k>>0]=i|j;l=l+1|0}while((l|0)<(p|0));g=g+1|0}while((g|0)<(q|0))}Sj(c[f+60>>2]|0)|0}UM(s);return}function Wi(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;t=f+12|0;s=b[t>>1]|0;r=s<<3&120;s=(s&65535)>>>1&120;q=a[f+16>>0]|0;o=q&255;n=r+o|0;o=s+o|0;if(q<<24>>24){p=f+48|0;m=f+4|0;g=0;l=s;do{q=l+128|0;k=r;do{i=g;g=g+1|0;j=(e[t>>1]|0)>255?q:l;u=(((j|0)%8|0)<<3)+((k|0)%8|0)|0;j=(u>>>1)+((c[m>>2]|0)+((((j|0)/8|0)<<4)+((k|0)/8|0)<<5))|0;h=d[j>>0]|0;i=d[(c[p>>2]|0)+i>>0]|0;if(!(u&1)){u=h&240;a[j>>0]=u;h=i&15;i=u}else{u=h&15;a[j>>0]=u;h=i<<4;i=u}a[j>>0]=h|i;k=k+1|0}while((k|0)<(n|0));l=l+1|0}while((l|0)<(o|0))}r=(c[f+20>>2]|0)+r|0;h=(c[f+24>>2]|0)+s|0;g=c[f+28>>2]|0;o=g+r|0;u=c[f+32>>2]|0;p=u+h|0;if((u|0)<=0){u=f+60|0;u=c[u>>2]|0;Sj(u)|0;return}q=f+52|0;n=f+4|0;if((g|0)>0)g=0;else{u=f+60|0;u=c[u>>2]|0;Sj(u)|0;return}do{m=h+128|0;l=r;do{j=g;g=g+1|0;k=(e[t>>1]|0)>255?m:h;u=(((k|0)%8|0)<<3)+((l|0)%8|0)|0;k=(u>>>1)+((c[n>>2]|0)+((((k|0)/8|0)<<4)+((l|0)/8|0)<<5))|0;i=d[k>>0]|0;j=d[(c[q>>2]|0)+j>>0]|0;if(!(u&1)){u=i&240;a[k>>0]=u;i=j&15;j=u}else{u=i&15;a[k>>0]=u;i=j<<4;j=u}a[k>>0]=i|j;l=l+1|0}while((l|0)<(o|0));h=h+1|0}while((h|0)<(p|0));u=f+60|0;u=c[u>>2]|0;Sj(u)|0;return}function Xi(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;m=f+12|0;g=b[m>>1]|0;r=(g<<3&120)+(c[f+20>>2]|0)|0;g=((g&65535)>>>1&120)+(c[f+24>>2]|0)|0;h=c[f+28>>2]|0;o=r+h|0;l=c[f+32>>2]|0;p=g+l|0;if((l|0)>0?(q=f+15|0,n=f+4|0,(h|0)>0):0)do{k=g+128|0;j=r;do{l=(e[m>>1]|0)>255?k:g;s=(((l|0)%8|0)<<3)+((j|0)%8|0)|0;l=(s>>>1)+((c[n>>2]|0)+((((l|0)/8|0)<<4)+((j|0)/8|0)<<5))|0;h=d[l>>0]|0;i=d[q>>0]|0;if(!(s&1)){s=h&240;a[l>>0]=s;h=i&15;i=s}else{s=h&15;a[l>>0]=s;h=i<<4;i=s}a[l>>0]=h|i;j=j+1|0}while((j|0)<(o|0));g=g+1|0}while((g|0)<(p|0));g=f+20|0;h=g+16|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));Sj(c[f+60>>2]|0)|0;return}function Yi(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;r=f+12|0;g=b[r>>1]|0;w=g<<3&120;x=f+20|0;h=c[x>>2]|0;t=f+28|0;u=w+h+((c[t>>2]|0)/2|0)|0;g=((g&65535)>>>1&120)+(c[f+24>>2]|0)|0;s=c[f+32>>2]|0;v=g+s|0;if((s|0)<=0){x=f+60|0;x=c[x>>2]|0;Sj(x)|0;return}s=f+4|0;while(1){h=h+w|0;if((h|0)<(u|0)){q=g+128|0;p=h+(c[t>>2]|0)|0;do{p=p+-1|0;A=c[s>>2]|0;z=(e[r>>1]|0)>255?q:g;k=((z|0)/8|0)<<4;z=((z|0)%8|0)<<3;y=z+((h|0)%8|0)|0;m=(y>>>1)+(A+(k+((h|0)/8|0)<<5))|0;y=y&1;l=d[m>>0]|0;j=l&15;i=y|0?l>>>4:j;n=(p|0)/8|0;o=(p|0)%8|0;z=z+o|0;k=d[(z>>>1)+(A+(k+n<<5))>>0]|0;k=z&1|0?k>>>4:k&15;if(!y){j=l&240;a[m>>0]=j}else{a[m>>0]=j;k=k<<4}a[m>>0]=k|j;k=(e[r>>1]|0)>255?q:g;A=(((k|0)%8|0)<<3)+o|0;k=(A>>>1)+((c[s>>2]|0)+((((k|0)/8|0)<<4)+n<<5))|0;j=d[k>>0]|0;if(!(A&1)){j=j&240;a[k>>0]=j}else{j=j&15;a[k>>0]=j;i=i<<4}a[k>>0]=i|j;h=h+1|0}while((h|0)!=(u|0))}g=g+1|0;if((g|0)>=(v|0))break;h=c[x>>2]|0}A=f+60|0;A=c[A>>2]|0;Sj(A)|0;return}function Zi(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=f+12|0;h=b[s>>1]|0;w=h<<3&120;x=f+20|0;i=c[x>>2]|0;u=(c[f+28>>2]|0)+i+w|0;h=((h&65535)>>>1&120)+(c[f+24>>2]|0)|0;g=c[f+32>>2]|0;v=((g|0)/2|0)+h|0;if((g|0)<=1){x=f+60|0;x=c[x>>2]|0;Sj(x)|0;return}t=f+4|0;j=h+g|0;g=h;h=i;while(1){r=j+-1|0;h=h+w|0;if((h|0)<(u|0)){q=g+128|0;p=j+127|0;do{A=c[t>>2]|0;k=(e[s>>1]|0)>255;o=k?q:g;m=(h|0)/8|0;n=(h|0)%8|0;y=(((o|0)%8|0)<<3)+n|0;o=(y>>>1)+(A+((((o|0)/8|0)<<4)+m<<5))|0;y=y&1;l=d[o>>0]|0;j=l&15;i=y|0?l>>>4:j;k=k?p:r;z=(((k|0)%8|0)<<3)+n|0;k=d[(z>>>1)+(A+((((k|0)/8|0)<<4)+m<<5))>>0]|0;k=z&1|0?k>>>4:k&15;if(!y){j=l&240;a[o>>0]=j}else{a[o>>0]=j;k=k<<4}a[o>>0]=k|j;k=(e[s>>1]|0)>255?p:r;A=(((k|0)%8|0)<<3)+n|0;k=(A>>>1)+((c[t>>2]|0)+((((k|0)/8|0)<<4)+m<<5))|0;j=d[k>>0]|0;if(!(A&1)){j=j&240;a[k>>0]=j}else{j=j&15;a[k>>0]=j;i=i<<4}a[k>>0]=i|j;h=h+1|0}while((h|0)!=(u|0))}g=g+1|0;if((g|0)>=(v|0))break;j=r;h=c[x>>2]|0}A=f+60|0;A=c[A>>2]|0;Sj(A)|0;return}function _i(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;g=f+16|0;u=d[g>>0]|0;v=TM(O(u,u)|0)|0;if(!v)return;t=f+12|0;k=b[t>>1]|0;p=a[g>>0]|0;s=k<<3&120;k=(k&65535)>>>1&120;r=p&255;q=s+r|0;r=k+r|0;if(p<<24>>24){p=f+4|0;g=0;i=k;do{j=i+128|0;h=s;do{n=(e[t>>1]|0)>255?j:i;m=(((n|0)%8|0)<<3)+((h|0)%8|0)|0;n=d[(m>>>1)+((c[p>>2]|0)+((((n|0)/8|0)<<4)+((h|0)/8|0)<<5))>>0]|0;o=g;g=g+1|0;a[v+o>>0]=m&1|0?n>>>4:n&15;h=h+1|0}while((h|0)<(q|0));i=i+1|0}while((i|0)<(r|0));o=u+-1|0;n=0;while(1){l=k+128|0;i=s;j=0;while(1){h=a[v+((O(o-j|0,u)|0)+n)>>0]|0;m=(e[t>>1]|0)>255?l:k;w=(((m|0)%8|0)<<3)+((i|0)%8|0)|0;m=(w>>>1)+((c[p>>2]|0)+((((m|0)/8|0)<<4)+((i|0)/8|0)<<5))|0;g=d[m>>0]|0;h=h&255;if(!(w&1)){w=g&240;a[m>>0]=w;g=h&15;h=w}else{w=g&15;a[m>>0]=w;g=h<<4;h=w}a[m>>0]=g|h;i=i+1|0;if((i|0)>=(q|0))break;else j=j+1|0}k=k+1|0;if((k|0)>=(r|0))break;else n=n+1|0}}Sj(c[f+60>>2]|0)|0;UM(v);return}function $i(a){a=a|0;var b=0,d=0;b=a+24|0;d=c[b>>2]|0;if((d|0)>0)c[b>>2]=d+-1;Wi(a);return}function aj(a){a=a|0;var b=0,e=0;b=a+24|0;e=c[b>>2]|0;if(((c[a+32>>2]|0)+e|0)>=(d[a+16>>0]|0|0)){Wi(a);return}c[b>>2]=e+1;Wi(a);return}function bj(a){a=a|0;var b=0,d=0;b=a+20|0;d=c[b>>2]|0;if((d|0)>0)c[b>>2]=d+-1;Wi(a);return}function cj(a){a=a|0;var b=0,e=0;b=a+20|0;e=c[b>>2]|0;if(((c[a+28>>2]|0)+e|0)>=(d[a+16>>0]|0|0)){Wi(a);return}c[b>>2]=e+1;Wi(a);return}function dj(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;t=f+12|0;h=b[t>>1]|0;s=a[f+16>>0]|0;v=h<<3&120;h=(h&65535)>>>1&120;g=s&255;i=(s&255)>>>1;w=v+(i&255)|0;u=h+g|0;if(!(s<<24>>24)){w=f+60|0;w=c[w>>2]|0;Sj(w)|0;return}s=v+g|0;r=f+4|0;if(!(i<<24>>24)){w=f+60|0;w=c[w>>2]|0;Sj(w)|0;return}do{q=h+128|0;o=s;p=v;do{o=o+-1|0;z=c[r>>2]|0;y=(e[t>>1]|0)>255?q:h;j=((y|0)/8|0)<<4;y=((y|0)%8|0)<<3;x=y+((p|0)%8|0)|0;l=(x>>>1)+(z+(j+((p|0)/8|0)<<5))|0;x=x&1;k=d[l>>0]|0;i=k&15;g=x|0?k>>>4:i;m=(o|0)/8|0;n=(o|0)%8|0;y=y+n|0;j=d[(y>>>1)+(z+(j+m<<5))>>0]|0;j=y&1|0?j>>>4:j&15;if(!x){i=k&240;a[l>>0]=i}else{a[l>>0]=i;j=j<<4}a[l>>0]=j|i;j=(e[t>>1]|0)>255?q:h;z=(((j|0)%8|0)<<3)+n|0;j=(z>>>1)+((c[r>>2]|0)+((((j|0)/8|0)<<4)+m<<5))|0;i=d[j>>0]|0;if(!(z&1)){i=i&240;a[j>>0]=i}else{i=i&15;a[j>>0]=i;g=g<<4}a[j>>0]=g|i;p=p+1|0}while((p|0)<(w|0));h=h+1|0}while((h|0)<(u|0));z=f+60|0;z=c[z>>2]|0;Sj(z)|0;return}function ej(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=f+12|0;i=b[s>>1]|0;g=a[f+16>>0]|0;v=i<<3&120;i=(i&65535)>>>1&120;h=g&255;w=v+h|0;t=(g&255)>>>1;u=i+(t&255)|0;if(!(t<<24>>24)){w=f+60|0;w=c[w>>2]|0;Sj(w)|0;return}t=f+4|0;if(!(g<<24>>24)){w=f+60|0;w=c[w>>2]|0;Sj(w)|0;return}r=i+h|0;do{p=i+128|0;q=r+127|0;r=r+-1|0;o=v;do{z=c[t>>2]|0;j=(e[s>>1]|0)>255;n=j?p:i;l=(o|0)/8|0;m=(o|0)%8|0;x=(((n|0)%8|0)<<3)+m|0;n=(x>>>1)+(z+((((n|0)/8|0)<<4)+l<<5))|0;x=x&1;k=d[n>>0]|0;h=k&15;g=x|0?k>>>4:h;j=j?q:r;y=(((j|0)%8|0)<<3)+m|0;j=d[(y>>>1)+(z+((((j|0)/8|0)<<4)+l<<5))>>0]|0;j=y&1|0?j>>>4:j&15;if(!x){h=k&240;a[n>>0]=h}else{a[n>>0]=h;j=j<<4}a[n>>0]=j|h;j=(e[s>>1]|0)>255?q:r;z=(((j|0)%8|0)<<3)+m|0;j=(z>>>1)+((c[t>>2]|0)+((((j|0)/8|0)<<4)+l<<5))|0;h=d[j>>0]|0;if(!(z&1)){h=h&240;a[j>>0]=h}else{h=h&15;a[j>>0]=h;g=g<<4}a[j>>0]=g|h;o=o+1|0}while((o|0)<(w|0));i=i+1|0}while((i|0)<(u|0));z=f+60|0;z=c[z>>2]|0;Sj(z)|0;return}function fj(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;m=f+12|0;g=b[m>>1]|0;o=a[f+16>>0]|0;p=g<<3&120;g=(g&65535)>>>1&120;r=o&255;q=p+r|0;r=g+r|0;if(!(o<<24>>24)){g=f+20|0;h=g+16|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));f=f+60|0;f=c[f>>2]|0;Sj(f)|0;return}o=f+15|0;n=f+4|0;do{k=g+128|0;j=p;do{l=(e[m>>1]|0)>255?k:g;s=(((l|0)%8|0)<<3)+((j|0)%8|0)|0;l=(s>>>1)+((c[n>>2]|0)+((((l|0)/8|0)<<4)+((j|0)/8|0)<<5))|0;h=d[l>>0]|0;i=d[o>>0]|0;if(!(s&1)){s=h&240;a[l>>0]=s;h=i&15;i=s}else{s=h&15;a[l>>0]=s;h=i<<4;i=s}a[l>>0]=h|i;j=j+1|0}while((j|0)<(q|0));g=g+1|0}while((g|0)<(r|0));g=f+20|0;h=g+16|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));s=f+60|0;s=c[s>>2]|0;Sj(s)|0;return}function gj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;m=o+19|0;g=o;n=d+112|0;k=c[n>>2]|0;if(k|0){UM(c[k+8>>2]|0);h=c[k>>2]|0;while(1){i=c[h+4>>2]|0;if(!i)break;else h=i}if(h|0)do{i=h;h=c[h>>2]|0;j=c[i+8>>2]|0;if(j|0)UM(j);UM(i)}while((h|0)!=0);UM(k)}j=g+3|0;k=j+16|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(k|0));i=TM(16)|0;c[i+12>>2]=f;c[i+4>>2]=32640;j=TM(32640)|0;c[i+8>>2]=j;CQ(j|0,f|0,32640)|0;j=TM(20)|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[i>>2]=j;c[d>>2]=e;c[d+4>>2]=f;c[d+8>>2]=0;c[d+12>>2]=0;a[d+16>>0]=1;a[d+17>>0]=0;c[d+20>>2]=0;c[d+24>>2]=0;a[d+28>>0]=0;j=d+29|0;a[j>>0]=a[m>>0]|0;a[j+1>>0]=a[m+1>>0]|0;a[j+2>>0]=a[m+2>>0]|0;c[d+32>>2]=0;c[d+36>>2]=0;c[d+40>>2]=1;c[d+44>>2]=1;c[d+48>>2]=0;c[d+52>>2]=0;a[d+56>>0]=0;j=d+57|0;k=j+19|0;do{a[j>>0]=a[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));a[d+76>>0]=0;a[d+77>>0]=0;b[d+78>>1]=0;g=d+80|0;h=d+105|0;j=g;k=j+24|0;do{b[j>>1]=0;j=j+2|0}while((j|0)<(k|0));a[g+24>>0]=0;a[h>>0]=0;a[h+1>>0]=0;a[h+2>>0]=0;c[d+108>>2]=0;c[n>>2]=i;c[d+116>>2]=197;c[d+120>>2]=140;c[d+124>>2]=141;j=d+60|0;i=d+64|0;g=c[j>>2]|0;if((g|0)<0){d=(g|0)>-1920?g:-1920;g=d+3839-(((1919-g+d|0)>>>0)%1920|0)|0;c[j>>2]=g}h=c[i>>2]|0;if((h|0)<0){d=(h|0)>-1088?h:-1088;h=d+2175-(((1087-h+d|0)>>>0)%1088|0)|0;c[i>>2]=h}if((g|0)>1919)c[j>>2]=((g+-1920|0)>>>0)%1920|0;if((h|0)<=1087){l=o;return}c[i>>2]=((h+-1088|0)>>>0)%1088|0;l=o;return}function hj(d){d=d|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0;E=l;l=l+16|0;D=E;C=E+4|0;f=d+8|0;c[f>>2]=(c[f>>2]|0)+1;f=eh()|0;a:do if(f|0){v=d+12|0;w=d+88|0;x=d+92|0;n=d+84|0;o=d+80|0;p=d+4|0;q=d+112|0;r=d+16|0;s=d+28|0;while(1){switch(c[f>>2]|0){case 768:{f=c[f+16+4>>2]|0;m=e[160510]|0;g=(m&3264|0)==0;b:do if(g)if(!(m&3))B=26;else switch(((f|0)==127?1:((f|0)==1073741897)<<31>>31)&3){case 1:{B=9;break}case 2:{B=10;break}case 3:{B=11;break}default:B=26}else{if((f|0)<121)switch(f|0){case 99:{B=10;break b}case 120:{B=9;break b}case 118:{B=11;break b}default:break b}if((f|0)<122)switch(f|0){case 121:{B=21;break b}default:break b}if((f|0)<1073741897)switch(f|0){case 122:{B=14;break b}default:break b}else switch(f|0){case 1073741897:{B=10;break b}default:break b}}while(0);if((B|0)==9){qj(d);B=12}else if((B|0)==10){rj(d);c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;B=12}else if((B|0)==11){sj(d);B=12}if((B|0)==12){B=0;if(g)B=26;else switch(f|0){case 122:{B=14;break}case 121:{B=21;break}default:{}}}c:do if((B|0)==14){B=0;k=c[q>>2]|0;f=c[k>>2]|0;if(c[f+4>>2]|0){g=c[f+12>>2]|0;j=f+16|0;if(g>>>0<(c[j>>2]|0)>>>0){h=f+8|0;i=k+8|0;f=g;g=0;while(1){F=(c[i>>2]|0)+f|0;a[F>>0]=a[F>>0]^a[(c[h>>2]|0)+g>>0];f=f+1|0;if(f>>>0>=(c[j>>2]|0)>>>0)break;else g=g+1|0}f=c[k>>2]|0}c[k>>2]=c[f+4>>2]}CQ(c[k+12>>2]|0,c[k+8>>2]|0,c[k+4>>2]|0)|0}else if((B|0)==21){B=0;j=c[q>>2]|0;f=c[c[j>>2]>>2]|0;if(f|0?(c[j>>2]=f,t=c[f+12>>2]|0,u=f+16|0,t>>>0<(c[u>>2]|0)>>>0):0){h=f+8|0;i=j+8|0;f=t;g=0;while(1){F=(c[i>>2]|0)+f|0;a[F>>0]=a[F>>0]^a[(c[h>>2]|0)+g>>0];f=f+1|0;if(f>>>0>=(c[u>>2]|0)>>>0)break;else g=g+1|0}}CQ(c[j+12>>2]|0,c[j+8>>2]|0,c[j+4>>2]|0)|0}else if((B|0)==26){B=0;switch(f|0){case 9:{Wg(6);break c}case 52:case 51:case 50:case 49:{c[v>>2]=f+-49;break c}case 127:{h=c[w>>2]|0;if((h|0)<=0)break c;f=c[x>>2]|0;if((f|0)<=0)break c;i=c[n>>2]|0;j=i;g=c[o>>2]|0;do{if((h|0)>0){f=(j|0)>-136?j:-136;f=f+271-(((135-j+f|0)>>>0)%136|0)|0;if((j|0)<0){i=((f|0)>135?((f+-136|0)>>>0)%136|0:f)*240|0;h=g;do{f=(h|0)>-240?h:-240;if((h|0)<0)f=f+479-(((239-h+f|0)>>>0)%240|0)|0;else f=h;a[(c[p>>2]|0)+(((f|0)>239?((f+-240|0)>>>0)%240|0:f)+i)>>0]=0;h=h+1|0;g=c[o>>2]|0;f=c[w>>2]|0}while((h|0)<(f+g|0));h=f}else{i=((j|0)>135?((j+-136|0)>>>0)%136|0:j)*240|0;h=g;do{f=(h|0)>-240?h:-240;if((h|0)<0)f=f+479-(((239-h+f|0)>>>0)%240|0)|0;else f=h;a[(c[p>>2]|0)+(((f|0)>239?((f+-240|0)>>>0)%240|0:f)+i)>>0]=0;h=h+1|0;g=c[o>>2]|0;f=c[w>>2]|0}while((h|0)<(f+g|0));h=f}i=c[n>>2]|0;f=c[x>>2]|0}j=j+1|0}while((j|0)<(i+f|0));Sj(c[q>>2]|0)|0;break c}case 96:{a[r>>0]=a[r>>0]^1;break c}default:break c}}while(0);if(m&3|0)a[s>>0]=1;break}case 769:{if(!(b[160510]&3))a[s>>0]=0;break}default:{}}f=eh()|0;if(!f)break a}}while(0);f=c[72]|0;g=f+82|0;if(a[g>>0]|0){F=d+64|0;c[F>>2]=(c[F>>2]|0)+-1}h=f+81|0;if(a[h>>0]|0){F=d+64|0;c[F>>2]=(c[F>>2]|0)+1}i=f+80|0;if(a[i>>0]|0){F=d+60|0;c[F>>2]=(c[F>>2]|0)+-1}f=f+79|0;if(a[f>>0]|0){F=d+60|0;c[F>>2]=(c[F>>2]|0)+1}if(!((((a[g>>0]|0)==0?(a[h>>0]|0)==0:0)?(a[i>>0]|0)==0:0)?!(a[f>>0]|0):0)){i=d+60|0;j=d+64|0;f=c[i>>2]|0;g=(f|0)>-1920?f:-1920;if((f|0)<0){f=g+3839-(((1919-f+g|0)>>>0)%1920|0)|0;c[i>>2]=f}g=c[j>>2]|0;h=(g|0)>-1088?g:-1088;if((g|0)<0){g=h+2175-(((1087-g+h|0)>>>0)%1088|0)|0;c[j>>2]=g}if((f|0)>1919)c[i>>2]=((f+-1920|0)>>>0)%1920|0;if((g|0)>1087)c[j>>2]=((g+-1088|0)>>>0)%1088|0}do if(a[284]|0){h=276;f=c[h>>2]|0;h=c[h+4>>2]|0;k=d+60|0;g=d+77|0;if(!(a[g>>0]|0)){c[d+68>>2]=(c[k>>2]|0)+f;c[d+72>>2]=(c[d+64>>2]|0)+h;a[g>>0]=1;break}i=(c[d+68>>2]|0)-f|0;c[k>>2]=i;f=(c[d+72>>2]|0)-h|0;j=d+64|0;c[j>>2]=f;g=(i|0)>-1920?i:-1920;if((i|0)<0){h=g+3839-(((1919-i+g|0)>>>0)%1920|0)|0;c[k>>2]=h}else h=i;g=(f|0)>-1088?f:-1088;if((f|0)<0){f=g+2175-(((1087-f+g|0)>>>0)%1088|0)|0;c[j>>2]=f}if((h|0)>1919)c[k>>2]=((h+-1920|0)>>>0)%1920|0;if((f|0)>1087)c[j>>2]=((f+-1088|0)>>>0)%1088|0}else a[d+77>>0]=0;while(0);i=c[d>>2]|0;Bg[c[i+2439672>>2]&255](i,0);i=d+28|0;if(a[i>>0]|0){F=c[d>>2]|0;Gg[c[F+2439692>>2]&7](F,110,6,130,130,15)}f=c[d>>2]|0;Gg[c[f+2439688>>2]&7](f,0,0,240,7,15);f=c[48]|0;if(!(a[i>>0]|0)){if(f>>>0<240?(A=c[49]|0,(A+-7|0)>>>0<129):0){h=(c[d+60>>2]|0)+f+(((c[d+40>>2]<<3)+-8|0)/-2|0)|0;f=(((c[d+44>>2]<<3)+-8|0)/-2|0)+A+(c[d+64>>2]|0)|0;g=(h|0)>-1920?h:-1920;if((h|0)<0)h=g+3839-(((1919-h+g|0)>>>0)%1920|0)|0;g=(f|0)>-1088?f:-1088;if((f|0)<0)f=g+2175-(((1087-f+g|0)>>>0)%1088|0)|0;B=c[d>>2]|0;f=(jg[c[B+2439716>>2]&31](B,c[d+4>>2]|0,(((h|0)>1919?((h+-1920|0)>>>0)%1920|0:h)|0)/8|0,(((f|0)>1087?((f+-1088|0)>>>0)%1088|0:f)|0)/8|0)|0)&255;B=95}}else if(((f+-111|0)>>>0<128?(y=c[49]|0,(y+-7|0)>>>0<128):0)?(z=(((y+-7|0)/8|0)<<4)+((f+-111|0)/8|0)|0,(z|0)>-1):0){f=z;B=95}if((B|0)==95){a[C>>0]=a[85175]|0;a[C+1>>0]=a[85176]|0;a[C+2>>0]=a[85177]|0;a[C+3>>0]=a[85178]|0;a[C+4>>0]=a[85179]|0;c[D>>2]=f;zN(C,85180,D)|0;f=c[d>>2]|0;lg[c[f+2439660>>2]&31](f,C,114,1,10)|0;f=c[48]|0}if((f+-233|0)>>>0<7&(c[49]|0)>>>0<7){c[68]=11;KP(804,85186,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-233|0)>>>0<7&(c[53]|0)>>>0<7:0)?((c[54]|0)+-233|0)>>>0<7&(c[55]|0)>>>0<7:0){a[205]=0;a[i>>0]=a[i>>0]^1;f=3}else f=3}else f=10;Xg(233,0,a[i>>0]|0?85205:85213,f);if(((c[48]|0)+-225|0)>>>0<8&(c[49]|0)>>>0<7){c[68]=11;KP(804,85221,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-225|0)>>>0<8&(c[53]|0)>>>0<7:0)?((c[54]|0)+-225|0)>>>0<8&(c[55]|0)>>>0<7:0){a[205]=0;c[d+12>>2]=3;f=3}else f=3}else f=10;g=d+12|0;Xg(225,0,85230,(c[g>>2]|0)==3?0:f);if(((c[48]|0)+-218|0)>>>0<7&(c[49]|0)>>>0<7){c[68]=11;KP(804,85238,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-218|0)>>>0<7&(c[53]|0)>>>0<7:0)?((c[54]|0)+-218|0)>>>0<7&(c[55]|0)>>>0<7:0){a[205]=0;c[g>>2]=2;f=3}else f=3}else f=10;Xg(218,0,85249,(c[g>>2]|0)==2?0:f);if(((c[48]|0)+-211|0)>>>0<7&(c[49]|0)>>>0<7){c[68]=11;KP(804,85257,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-211|0)>>>0<7&(c[53]|0)>>>0<7:0)?((c[54]|0)+-211|0)>>>0<7&(c[55]|0)>>>0<7:0){a[205]=0;c[g>>2]=1;f=3}else f=3}else f=10;Xg(211,0,85270,(c[g>>2]|0)==1?0:f);if(((c[48]|0)+-204|0)>>>0<7&(c[49]|0)>>>0<7){c[68]=11;KP(804,85278,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-204|0)>>>0<7&(c[53]|0)>>>0<7:0)?((c[54]|0)+-204|0)>>>0<7&(c[55]|0)>>>0<7:0){a[205]=0;c[g>>2]=0;f=3}else f=3}else f=10;Xg(204,0,85287,(c[g>>2]|0)==0?0:f);if(((c[48]|0)+-192|0)>>>0<7&(c[49]|0)>>>0<7){c[68]=11;KP(804,85295,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-192|0)>>>0<7&(c[53]|0)>>>0<7:0)?((c[54]|0)+-192|0)>>>0<7&(c[55]|0)>>>0<7:0){a[205]=0;f=d+16|0;a[f>>0]=a[f>>0]^1;f=3}else f=3}else f=10;Xg(192,0,85314,(a[d+16>>0]|0)==0?f:0);if(!((c[48]&-8|0)==184&(c[49]|0)>>>0<7)){F=10;Xg(184,0,85338,F);F=c[d>>2]|0;Vg(F,0);l=E;return}c[68]=11;KP(804,85322,39)|0;if(!(a[205]|0)){F=3;Xg(184,0,85338,F);F=c[d>>2]|0;Vg(F,0);l=E;return}if(!((c[52]&-8|0)==184&(c[53]|0)>>>0<7)){F=3;Xg(184,0,85338,F);F=c[d>>2]|0;Vg(F,0);l=E;return}if(!((c[54]&-8|0)==184&(c[55]|0)>>>0<7)){F=3;Xg(184,0,85338,F);F=c[d>>2]|0;Vg(F,0);l=E;return}a[205]=0;Wg(6);F=3;Xg(184,0,85338,F);F=c[d>>2]|0;Vg(F,0);l=E;return}function ij(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;switch(d|0){case 0:{qj(b);return}case 1:{rj(b);i=b+80|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;return}case 2:{sj(b);return}case 3:{h=c[b+112>>2]|0;b=c[h>>2]|0;if(c[b+4>>2]|0){d=c[b+12>>2]|0;g=b+16|0;if(d>>>0<(c[g>>2]|0)>>>0){e=b+8|0;f=h+8|0;b=d;d=0;while(1){i=(c[f>>2]|0)+b|0;a[i>>0]=a[i>>0]^a[(c[e>>2]|0)+d>>0];b=b+1|0;if(b>>>0>=(c[g>>2]|0)>>>0)break;else d=d+1|0}b=c[h>>2]|0}c[h>>2]=c[b+4>>2]}CQ(c[h+12>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0)|0;return}case 4:{g=c[b+112>>2]|0;b=c[c[g>>2]>>2]|0;if(b|0?(c[g>>2]=b,h=c[b+12>>2]|0,i=b+16|0,h>>>0<(c[i>>2]|0)>>>0):0){e=b+8|0;f=g+8|0;b=h;d=0;while(1){h=(c[f>>2]|0)+b|0;a[h>>0]=a[h>>0]^a[(c[e>>2]|0)+d>>0];b=b+1|0;if(b>>>0>=(c[i>>2]|0)>>>0)break;else d=d+1|0}}CQ(c[g+12>>2]|0,c[g+8>>2]|0,c[g+4>>2]|0)|0;return}default:return}}function jj(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;q=b+2439736|0;t=d+28|0;Fg[c[q>>2]&15](b,0,7,a[t>>0]|0?110:240,129);r=d+60|0;k=c[r>>2]|0;o=d+64|0;l=c[o>>2]|0;j=c[d>>2]|0;Kg[c[j+2439704>>2]&15](j,c[d+4>>2]|0,(c[3]|0)+81920+((a[755]|0)*130968|0)|0,(k|0)/8|0,(l|0)/8|0,31,18,0-((k|0)%8|0)|0,0-((l|0)%8|0)|0,-1,1);if(!((a[d+16>>0]|0)==0?!(a[d+76>>0]|0):0)){k=c[d>>2]|0;j=(c[r>>2]|0)%8|0;l=(c[o>>2]|0)%8|0;e=0-l|0;g=136-l|0;if((g|0)>=(e|0)){h=k+2439680|0;i=k+2439676|0;do{if(e>>>0<136){f=0;do{u=ig[c[h>>2]&63](k,f,e)|0;Eg[c[i>>2]&63](k,f,e,(u&255)+1&15);f=f+1|0}while((f|0)!=240)}e=e+8|0}while((e|0)<=(g|0))}f=0-j|0;g=240-j|0;if((g|0)>=(f|0)){h=k+2439680|0;i=k+2439676|0;do{if(f>>>0<240){e=0;do{if(e+l&7|0){u=ig[c[h>>2]&63](k,f,e)|0;Eg[c[i>>2]&63](k,f,e,(u&255)+1&15)}e=e+1|0}while((e|0)!=136)}f=f+8|0}while((f|0)<=(g|0))}}u=(c[r>>2]|0)%240|0;k=c[d>>2]|0;l=136-((c[o>>2]|0)%136|0)|0;Gg[c[k+2439684>>2]&7](k,0,l,240,l,7);l=c[d>>2]|0;u=240-u|0;Gg[c[l+2439684>>2]&7](l,u,0,u,136,7);do if(((a[t>>0]|0)==0?(m=c[48]|0,m>>>0<240):0)?(n=c[49]|0,(n+-7|0)>>>0<129):0)if(!(a[(c[72]|0)+44>>0]|0)){u=d+12|0;vg[c[2168+(c[u>>2]<<2)>>2]&511](d);if((c[u>>2]|0)==1)break;if((a[244]|0)!=0&(c[62]|0)>>>0<240)h=((c[63]|0)+-7|0)>>>0<129;else h=0;e=d+76|0;if(!(a[e>>0]|0)){f=c[48]|0;if(f>>>0>=240)break;g=c[49]|0;if(!((g+-7|0)>>>0<129&h))break;a[e>>0]=1;c[d+68>>2]=(c[r>>2]|0)+f;c[d+72>>2]=(c[o>>2]|0)+g;break}if(!h){a[e>>0]=0;break}f=(c[d+68>>2]|0)-(c[48]|0)|0;c[r>>2]=f;e=(c[d+72>>2]|0)-(c[49]|0)|0;c[o>>2]=e;g=(f|0)>-1920?f:-1920;if((f|0)<0){f=g+3839-(((1919-f+g|0)>>>0)%1920|0)|0;c[r>>2]=f}g=(e|0)>-1088?e:-1088;if((e|0)<0){e=g+2175-(((1087-e+g|0)>>>0)%1088|0)|0;c[o>>2]=e}if((f|0)>1919)c[r>>2]=((f+-1920|0)>>>0)%1920|0;if((e|0)>1087)c[o>>2]=((e+-1088|0)>>>0)%1088|0;c[68]=11;break}else{if((a[204]|0)!=0&(c[52]|0)>>>0<240?((c[53]|0)+-7|0)>>>0<129:0)f=1;else if((a[244]|0)!=0&(c[62]|0)>>>0<240)f=((c[63]|0)+-7|0)>>>0<129;else f=0;e=d+76|0;if(!(a[e>>0]|0)){if(!f)break;a[e>>0]=1;c[d+68>>2]=(c[r>>2]|0)+m;c[d+72>>2]=(c[o>>2]|0)+n;break}if(!f){a[e>>0]=0;break}g=(c[d+68>>2]|0)-m|0;c[r>>2]=g;e=(c[d+72>>2]|0)-n|0;c[o>>2]=e;f=(g|0)>-1920?g:-1920;if((g|0)<0){g=f+3839-(((1919-g+f|0)>>>0)%1920|0)|0;c[r>>2]=g}f=(e|0)>-1088?e:-1088;if((e|0)<0){e=f+2175-(((1087-e+f|0)>>>0)%1088|0)|0;c[o>>2]=e}if((g|0)>1919)c[r>>2]=((g+-1920|0)>>>0)%1920|0;if((e|0)>1087)c[o>>2]=((e+-1088|0)>>>0)%1088|0;c[68]=11;break}while(0);e=c[d+88>>2]|0;if((e|0)>0?(p=c[d+92>>2]|0,(p|0)>0):0){j=c[d+80>>2]<<3;k=c[r>>2]|0;n=c[o>>2]|0;r=e<<3;m=j+r|0;m=1919-r-j+((m-k|0)>0?m:k)|0;l=c[d+84>>2]<<3;u=p<<3;m=j-k+m-((m>>>0)%1920|0)|0;o=l+u|0;o=1087-u-l+((o-n|0)>0?o:n)|0;o=l-n+o-((o>>>0)%1088|0)|0;n=~m-r|0;n=r+1920+m+((n|0)>-1920?n:-1920)|0;p=~o-u|0;p=u+1088+o+((p|0)>-1088?p:-1088)|0;kj(d,m+-1-n+((n>>>0)%1920|0)|0,o+-1-p+((p>>>0)%1088|0)|0,r|2,u|2)}Fg[c[q>>2]&15](b,0,0,240,136);if(!(a[t>>0]|0))return;e=c[48]|0;do if((e+-111|0)>>>0<128?(s=c[49]|0,(s+-7|0)>>>0<128):0){c[68]=11;if((a[204]|0?((c[52]|0)+-111|0)>>>0<128:0)?((c[53]|0)+-7|0)>>>0<128:0){g=(e+-111|0)/8|0;e=(s+-7|0)/8|0;f=d+56|0;if(!(a[f>>0]|0)){a[f>>0]=1;c[d+48>>2]=g;c[d+52>>2]=e;e=0;f=0;break}else{t=c[d+48>>2]|0;s=(g|0)<(t|0)?g:t;f=c[d+52>>2]|0;u=(e|0)<(f|0)?e:f;c[d+32>>2]=s;c[d+36>>2]=u;c[d+40>>2]=1-s+((g|0)>(t|0)?g:t);c[d+44>>2]=1-u+((e|0)>(f|0)?e:f);c[d+12>>2]=0;e=0;f=0;break}}e=d+56|0;if(a[e>>0]|0)a[t>>0]=0;a[e>>0]=0;e=0;f=0}else{e=0;f=0}while(0);do{i=e|7;g=0;h=f;f=f+16|0;while(1){u=c[d>>2]|0;Hg[c[u+2439696>>2]&7](u,(c[3]|0)+81920+((a[755]|0)*130968|0)|0,h,g+111|0,i,0,0);h=h+1|0;if((h|0)==(f|0))break;else g=g+8|0}e=e+8|0}while((e|0)<128);u=c[d>>2]|0;Gg[c[u+2439692>>2]&7](u,(c[d+32>>2]<<3)+110|0,c[d+36>>2]<<3|6,c[d+40>>2]<<3|2,c[d+44>>2]<<3|2,15);return}function kj(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;h=(c[a+8>>2]|0)/10|0;k=e+b|0;g=h+1|0;if((e|0)>0){j=b;i=g;while(1){g=c[a>>2]|0;Eg[c[g+2439676>>2]&63](g,j,d,(h|0)%3|0|0?15:0);j=j+1|0;g=i+1|0;if((j|0)>=(k|0))break;else{h=i;i=g}}}l=f+d|0;i=g+1|0;j=k+-1|0;if((f|0)>0){h=d;while(1){k=c[a>>2]|0;Eg[c[k+2439676>>2]&63](k,j,h,(g|0)%3|0|0?15:0);h=h+1|0;g=i+1|0;if((h|0)>=(l|0)){i=g;break}else{k=i;i=g;g=k}}}g=i+1|0;h=l+-1|0;if((e|0)>=1)while(1){e=c[a>>2]|0;Eg[c[e+2439676>>2]&63](e,j,h,(i|0)%3|0|0?15:0);i=g+1|0;if((j|0)>(b|0)){e=g;j=j+-1|0;g=i;i=e}else{g=i;break}}if((f|0)<1)return;while(1){f=c[a>>2]|0;Eg[c[f+2439676>>2]&63](f,b,h,(g|0)%3|0|0?15:0);if((h|0)>(d|0)){h=h+-1|0;g=g+1|0}else break}return}function lj(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;c[68]=11;pj(b);do if((a[204]|0)!=0&(c[52]|0)>>>0<240?((c[53]|0)+-7|0)>>>0<129:0){o=b+40|0;i=c[o>>2]|0;p=b+44|0;g=c[p>>2]|0;e=(c[b+60>>2]|0)+(c[48]|0)+(((i<<3)+-8|0)/-2|0)|0;d=(((g<<3)+-8|0)/-2|0)+(c[49]|0)+(c[b+64>>2]|0)|0;f=(e|0)>-1920?e:-1920;if((e|0)<0)e=f+3839-(((1919-e+f|0)>>>0)%1920|0)|0;f=(d|0)>-1088?d:-1088;if((d|0)<0)d=f+2175-(((1087-d+f|0)>>>0)%1088|0)|0;n=(((e|0)>1919?((e+-1920|0)>>>0)%1920|0:e)|0)/8|0;m=(((d|0)>1087?((d+-1088|0)>>>0)%1088|0:d)|0)/8|0;d=b+17|0;if(!(a[d>>0]|0)){a[d>>0]=1;c[b+20>>2]=n;c[b+24>>2]=m;break}if(((n-(c[b+20>>2]|0)|0)%(i|0)|0|0)==0?((m-(c[b+24>>2]|0)|0)%(g|0)|0|0)==0:0){j=c[b+32>>2]|0;k=c[b+36>>2]|0;if((g|0)>0){l=b+4|0;h=0;e=g;d=i;do{if((d|0)>0){f=(h+m|0)%136|0;g=(h+k<<4)+j|0;e=0;do{d=c[b>>2]|0;Fg[c[d+2439712>>2]&15](d,c[l>>2]|0,(e+n|0)%240|0,f,g+e&255);e=e+1|0;d=c[o>>2]|0}while((e|0)<(d|0));e=c[p>>2]|0}h=h+1|0}while((h|0)<(e|0))}Sj(c[b+112>>2]|0)|0}}else q=19;while(0);if((q|0)==19)a[b+17>>0]=0;if(!((a[224]|0)!=0&(c[57]|0)>>>0<240))return;if(((c[58]|0)+-7|0)>>>0>=129)return;g=b+40|0;h=b+44|0;e=(c[b+60>>2]|0)+(c[48]|0)+(((c[g>>2]<<3)+-8|0)/-2|0)|0;d=(((c[h>>2]<<3)+-8|0)/-2|0)+(c[49]|0)+(c[b+64>>2]|0)|0;f=(e|0)>-1920?e:-1920;if((e|0)<0)e=f+3839-(((1919-e+f|0)>>>0)%1920|0)|0;f=(d|0)>-1088?d:-1088;if((d|0)<0)d=f+2175-(((1087-d+f|0)>>>0)%1088|0)|0;q=c[b>>2]|0;q=jg[c[q+2439716>>2]&31](q,c[b+4>>2]|0,(((e|0)>1919?((e+-1920|0)>>>0)%1920|0:e)|0)/8|0,(((d|0)>1087?((d+-1088|0)>>>0)%1088|0:d)|0)/8|0)|0;c[b+32>>2]=q&15;c[b+36>>2]=(q&255)>>>4&255;c[g>>2]=1;c[h>>2]=1;return}function mj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;if((a[204]|0)!=0&(c[52]|0)>>>0<240?((c[53]|0)+-7|0)>>>0<129:0)g=1;else if((a[244]|0)!=0&(c[62]|0)>>>0<240)g=((c[63]|0)+-7|0)>>>0<129;else g=0;h=b+60|0;d=b+76|0;if(!(a[d>>0]|0)){e=c[48]|0;if(e>>>0>=240)return;f=c[49]|0;if(!((f+-7|0)>>>0<129&g))return;a[d>>0]=1;c[b+68>>2]=(c[h>>2]|0)+e;c[b+72>>2]=(c[b+64>>2]|0)+f;return}if(!g){a[d>>0]=0;return}e=(c[b+68>>2]|0)-(c[48]|0)|0;c[h>>2]=e;d=(c[b+72>>2]|0)-(c[49]|0)|0;f=b+64|0;c[f>>2]=d;if((e|0)<0){b=(e|0)>-1920?e:-1920;e=b+3839-(((1919-e+b|0)>>>0)%1920|0)|0;c[h>>2]=e}if((d|0)<0){b=(d|0)>-1088?d:-1088;d=b+2175-(((1087-d+b|0)>>>0)%1088|0)|0;c[f>>2]=d}if((e|0)>1919)c[h>>2]=((e+-1920|0)>>>0)%1920|0;if((d|0)>1087)c[f>>2]=((d+-1088|0)>>>0)%1088|0;c[68]=11;return}function nj(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;f=c[48]|0;if(f>>>0>=240)return;i=c[49]|0;if((i+-7|0)>>>0>=129)return;o=b+108|0;e=c[o>>2]|0;if(!e){if((a[204]|0)!=0&(c[52]|0)>>>0<240?((c[53]|0)+-7|0)>>>0<129:0){s=(c[b+60>>2]|0)+f|0;h=(c[b+64>>2]|0)+i|0;f=(s|0)/8|0;e=(h|0)/8|0;g=(f|0)>-240?f:-240;if((s|0)<-7)f=g+479-(((239-f+g|0)>>>0)%240|0)|0;g=(e|0)>-136?e:-136;if((h|0)<-7)e=g+271-(((135-e+g|0)>>>0)%136|0)|0;i=(f|0)>239?((f+-240|0)>>>0)%240|0:f;f=(e|0)>135?((e+-136|0)>>>0)%136|0:e;e=b+104|0;if(!(a[e>>0]|0)){a[e>>0]=1;c[b+96>>2]=i;c[b+100>>2]=f;g=1;h=1;e=i}else{h=c[b+96>>2]|0;e=(i|0)<(h|0)?i:h;g=c[b+100>>2]|0;s=(f|0)<(g|0)?f:g;g=1-s+((f|0)>(g|0)?f:g)|0;h=1-e+((i|0)>(h|0)?i:h)|0;f=s}c[b+80>>2]=e;c[b+84>>2]=f;c[b+88>>2]=h;c[b+92>>2]=g;return}e=b+104|0;if(!(a[e>>0]|0))return;a[e>>0]=0;if((c[b+88>>2]|0)>=2)return;if((c[b+92>>2]|0)>=2)return;b=b+80|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;return}n=a[e>>0]|0;s=n&255;m=a[e+1>>0]|0;r=m&255;q=e+2|0;h=c[b+60>>2]|0;l=s<<3;g=h+f+((l+-8|0)/-2|0)|0;f=c[b+64>>2]|0;k=r<<3;e=f+i+((k+-8|0)/-2|0)|0;if(((a[205]|0)!=0&(c[52]|0)>>>0<240?((c[53]|0)+-7|0)>>>0<129&(c[54]|0)>>>0<240:0)?((c[55]|0)+-7|0)>>>0<129:0){a[205]=0;f=(g|0)>-1920?g:-1920;if((g|0)<0)g=f+3839-(((1919-g+f|0)>>>0)%1920|0)|0;f=(e|0)>-1088?e:-1088;if((e|0)<0)e=f+2175-(((1087-e+f|0)>>>0)%1088|0)|0;j=(((g|0)>1919?((g+-1920|0)>>>0)%1920|0:g)|0)/8|0;i=(((e|0)>1087?((e+-1088|0)>>>0)%1088|0:e)|0)/8|0;if(m<<24>>24?(p=b+4|0,n<<24>>24):0){f=0;do{g=(f+i|0)%136|0;h=O(f,s)|0;e=0;do{n=c[b>>2]|0;Fg[c[n+2439712>>2]&15](n,c[p>>2]|0,(e+j|0)%240|0,g,a[q+(e+h)>>0]|0);e=e+1|0}while((e|0)!=(s|0));f=f+1|0}while((f|0)!=(r|0))}Sj(c[b+112>>2]|0)|0;UM(c[o>>2]|0);c[o>>2]=0;return}j=g-((g|0)%8|0)-h|0;i=e-((e|0)%8|0)-f|0;kj(b,j+-1|0,i+-1|0,l|2,k|2);if(!(m<<24>>24))return;if(!(n<<24>>24))return;else e=0;do{g=O(e,s)|0;h=(e<<3)+i|0;f=0;do{p=c[b>>2]|0;Hg[c[p+2439696>>2]&7](p,(c[3]|0)+81920+((a[755]|0)*130968|0)|0,d[q+(f+g)>>0]|0,(f<<3)+j|0,h,0,0);f=f+1|0}while((f|0)!=(s|0));e=e+1|0}while((e|0)!=(r|0));return}function oj(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;c[68]=11;pj(b);if(!((a[205]|0)!=0&(c[52]|0)>>>0<240))return;if(!(((c[53]|0)+-7|0)>>>0<129&(c[54]|0)>>>0<240))return;if(((c[55]|0)+-7|0)>>>0>=129)return;a[205]=0;w=b+40|0;x=b+44|0;e=(c[b+60>>2]|0)+(c[48]|0)+(((c[w>>2]<<3)+-8|0)/-2|0)|0;d=(((c[x>>2]<<3)+-8|0)/-2|0)+(c[49]|0)+(c[b+64>>2]|0)|0;f=(e|0)>-1920?e:-1920;if((e|0)<0)e=f+3839-(((1919-e+f|0)>>>0)%1920|0)|0;f=(d|0)>-1088?d:-1088;if((d|0)<0)d=f+2175-(((1087-d+f|0)>>>0)%1088|0)|0;j=(((e|0)>1919?((e+-1920|0)>>>0)%1920|0:e)|0)/8|0;i=(((d|0)>1087?((d+-1088|0)>>>0)%1088|0:d)|0)/8|0;v=c[b>>2]|0;u=b+4|0;v=jg[c[v+2439716>>2]&31](v,c[u>>2]|0,j,i)|0;g=b+32|0;h=c[g>>2]|0;e=b+36|0;f=c[e>>2]|0;a:do if((v&255|0)!=((f<<4)+h|0)){d=c[79251]|0;if(!d){k=TM(261120)|0;c[79251]=k;f=c[e>>2]|0;h=c[g>>2]|0}else k=d;c[79252]=k;c[k>>2]=j;c[k+4>>2]=i;d=c[b+88>>2]|0;if((d|0)>0?(l=c[b+92>>2]|0,(l|0)>0):0){r=c[b+80>>2]|0;q=c[b+84>>2]|0;s=r;t=q;r=r+d|0;q=q+l|0}else{s=0;t=0;r=240;q=136}e=k;d=k;while(1){if(e>>>0<=d>>>0)if((e|0)==(d|0))d=0;else break a;else d=e+-8|0;p=c[e+4>>2]|0;o=c[e>>2]|0;c[79252]=d;e=c[x>>2]|0;d=c[w>>2]|0;if((e|0)>0){j=0;do{if((d|0)>0){g=j+p|0;i=(j+f<<4)+h|0;e=0;do{d=c[b>>2]|0;Fg[c[d+2439712>>2]&15](d,c[u>>2]|0,e+o|0,g,i+e&255);e=e+1|0;d=c[w>>2]|0}while((e|0)<(d|0));e=c[x>>2]|0}j=j+1|0}while((j|0)<(e|0));n=0}else n=0;do{l=(O(c[2184+(n<<2)>>2]|0,d)|0)+o|0;m=(O(c[2200+(n<<2)>>2]|0,e)|0)+p|0;do if((m|0)<(q|0)&(((l|0)>=(r|0)|(l|0)<(s|0)|(m|0)<(t|0))^1)){if((e|0)>0){k=0;j=1;while(1){if((d|0)>0){i=k+m|0;g=0;e=j;do{d=c[b>>2]|0;e=e&(jg[c[d+2439716>>2]&31](d,c[u>>2]|0,g+l|0,i)|0)<<24>>24==v<<24>>24;g=g+1|0;d=c[w>>2]|0}while((g|0)<(d|0));g=e;e=c[x>>2]|0}else g=j;k=k+1|0;if((k|0)>=(e|0))break;else j=g}if(g)i=e;else break}else i=e;e=c[79252]|0;g=c[79251]|0;if(!e){c[79252]=g;c[g>>2]=l;e=g+4|0}else{if(e>>>0>=(g+261112|0)>>>0)break a;k=e+8|0;c[79252]=k;c[k>>2]=l;e=e+12|0}c[e>>2]=m;e=i}while(0);n=n+1|0}while(n>>>0<4);e=c[79252]|0;d=c[79251]|0}}while(0);Sj(c[b+112>>2]|0)|0;return}function pj(b){b=b|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;u=l;l=l+16|0;t=u+8|0;q=u;if(a[b+76>>0]|0){l=u;return}j=b+40|0;k=b+44|0;n=c[j>>2]<<3;m=c[k>>2]<<3;o=b+60|0;r=c[o>>2]|0;e=r+(c[48]|0)+((n+-8|0)/-2|0)|0;p=b+64|0;s=c[p>>2]|0;d=((m+-8|0)/-2|0)+(c[49]|0)+s|0;r=e-((e|0)%8|0)-r|0;s=d-((d|0)%8|0)-s|0;d=c[b>>2]|0;Gg[c[d+2439692>>2]&7](d,r+-1|0,s+-1|0,n|2,m|2,15);m=c[b+32>>2]|0;n=c[b+36>>2]|0;d=c[k>>2]|0;e=c[j>>2]|0;if((d|0)>0){h=s;i=0;while(1){if((e|0)>0){g=(i+n<<4)+m|0;d=0;f=r;while(1){e=c[b>>2]|0;Hg[c[e+2439696>>2]&7](e,(c[3]|0)+81920+((a[755]|0)*130968|0)|0,g+d|0,f,h,0,0);d=d+1|0;e=c[j>>2]|0;if((d|0)>=(e|0))break;else f=f+8|0}d=c[k>>2]|0}i=i+1|0;if((i|0)>=(d|0))break;else h=h+8|0}}f=q;c[f>>2]=976828729;c[f+4>>2]=3750201;f=(c[o>>2]|0)+(c[48]|0)+(((e<<3)+-8|0)/-2|0)|0;d=(((d<<3)+-8|0)/-2|0)+(c[49]|0)+(c[p>>2]|0)|0;e=(f|0)>-1920?f:-1920;if((f|0)<0)f=e+3839-(((1919-f+e|0)>>>0)%1920|0)|0;e=(d|0)>-1088?d:-1088;if((d|0)<0)d=e+2175-(((1087-d+e|0)>>>0)%1088|0)|0;c[t>>2]=(((f|0)>1919?((f+-1920|0)>>>0)%1920|0:f)|0)/8|0;c[t+4>>2]=(((d|0)>1087?((d+-1088|0)>>>0)%1088|0:d)|0)/8|0;zN(q,85165,t)|0;p=c[b>>2]|0;p=lg[c[p+2439660>>2]&31](p,q,240,0,7)|0;t=r+11|0;r=(p+t|0)>239?r+-2-p|0:t;t=s+-8|0;t=(t|0)<8?s+11|0:t;s=c[b>>2]|0;Gg[c[s+2439688>>2]&7](s,r+-1|0,t+-1|0,p+1|0,7,15);s=c[b>>2]|0;lg[c[s+2439660>>2]&31](s,q,r,t,10)|0;l=u;return}function qj(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;rj(b);i=b+88|0;d=c[i>>2]|0;if((d|0)<=0){m=b+80|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;return}k=b+92|0;e=c[k>>2]|0;if((e|0)<=0){m=b+80|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;return}l=b+84|0;g=c[l>>2]|0;m=b+80|0;j=b+4|0;h=g;f=c[m>>2]|0;do{if((d|0)>0){d=(h|0)>-136?h:-136;d=d+271-(((135-h+d|0)>>>0)%136|0)|0;if((h|0)<0){g=((d|0)>135?((d+-136|0)>>>0)%136|0:d)*240|0;e=f;do{d=(e|0)>-240?e:-240;if((e|0)<0)d=d+479-(((239-e+d|0)>>>0)%240|0)|0;else d=e;a[(c[j>>2]|0)+(g+((d|0)>239?((d+-240|0)>>>0)%240|0:d))>>0]=0;e=e+1|0;f=c[m>>2]|0;d=c[i>>2]|0}while((e|0)<(d+f|0))}else{g=((h|0)>135?((h+-136|0)>>>0)%136|0:h)*240|0;e=f;do{d=(e|0)>-240?e:-240;if((e|0)<0)d=d+479-(((239-e+d|0)>>>0)%240|0)|0;else d=e;a[(c[j>>2]|0)+(g+((d|0)>239?((d+-240|0)>>>0)%240|0:d))>>0]=0;e=e+1|0;f=c[m>>2]|0;d=c[i>>2]|0}while((e|0)<(d+f|0))}g=c[l>>2]|0;e=c[k>>2]|0}h=h+1|0}while((h|0)<(g+e|0));Sj(c[b+112>>2]|0)|0;m=b+80|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;return}function rj(b){b=b|0;var 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;v=l;l=l+16|0;u=v+8|0;t=v;p=b+88|0;e=c[p>>2]|0;if((e|0)<=0){l=v;return}q=b+92|0;f=c[q>>2]|0;if((f|0)<=0){l=v;return}o=O(f,e)|0;r=o+2|0;s=TM(r)|0;if(!s){l=v;return}a[s>>0]=c[p>>2];n=c[q>>2]|0;a[s+1>>0]=n;m=b+84|0;if((n|0)>0){n=b+80|0;k=b+4|0;j=c[m>>2]|0;f=s+2|0;g=c[n>>2]|0;e=c[p>>2]|0;while(1){if((e|0)>0){e=(j|0)>-136?j:-136;e=e+271-(((135-j+e|0)>>>0)%136|0)|0;if((j|0)<0){h=((e|0)>135?((e+-136|0)>>>0)%136|0:e)*240|0;b=f;while(1){e=(g|0)>-240?g:-240;if((g|0)<0)e=e+479-(((239-g+e|0)>>>0)%240|0)|0;else e=g;f=b+1|0;a[b>>0]=a[(c[k>>2]|0)+(h+((e|0)>239?((e+-240|0)>>>0)%240|0:e))>>0]|0;g=g+1|0;e=c[n>>2]|0;b=c[p>>2]|0;if((g|0)>=(b+e|0))break;else b=f}}else{i=((j|0)>135?((j+-136|0)>>>0)%136|0:j)*240|0;h=g;while(1){e=(h|0)>-240?h:-240;if((h|0)<0)e=e+479-(((239-h+e|0)>>>0)%240|0)|0;else e=h;g=f+1|0;a[f>>0]=a[(c[k>>2]|0)+(i+((e|0)>239?((e+-240|0)>>>0)%240|0:e))>>0]|0;h=h+1|0;e=c[n>>2]|0;b=c[p>>2]|0;if((h|0)>=(b+e|0)){f=g;break}else f=g}}}else{b=e;e=g}j=j+1|0;if((j|0)>=((c[q>>2]|0)+(c[m>>2]|0)|0))break;else{g=e;e=b}}}b=TM(r<<1|1)|0;if(b|0){if((o|0)>-2){e=0;f=b;while(1){c[t>>2]=d[s+e>>0];zN(f,83676,t)|0;p=a[f>>0]|0;q=f+1|0;a[f>>0]=a[q>>0]|0;a[q>>0]=p;e=e+1|0;if((e|0)==(r|0))break;else f=f+2|0}}f=c[79957]|0;do if(f){e=c[f+240>>2]|0;if(!e){u=f+288|0;UM(c[u>>2]|0);c[u>>2]=aP(b)|0;break}else{hg[e&63](f,b)|0;break}}else _D(310107,u);while(0);UM(b)}UM(s);l=v;return}function sj(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;g=o+8|0;n=o+12|0;f=c[79957]|0;if(!f){_D(310223,o);l=o;return}e=c[f+248>>2]|0;if(!e){e=c[f+288>>2]|0;if(!e){l=o;return}if(!(a[e>>0]|0)){l=o;return}else h=9}else{if(!(gg[e&511](f)|0)){l=o;return}e=c[79957]|0;if(!e){_D(310165,g);m=aP(334803)|0}else{f=e;h=9}}do if((h|0)==9){e=c[f+244>>2]|0;if(!e){m=c[f+288>>2]|0;m=aP(m|0?m:334803)|0;break}else{m=gg[e&511](f)|0;break}}while(0);if(!m){l=o;return}k=JO(m)|0;g=k>>>1;do if(k>>>0>5){h=TM(g)|0;k=JO(m)|0;a[n>>0]=a[38110]|0;a[n+1>>0]=a[38111]|0;a[n+2>>0]=a[38112]|0;a[n+3>>0]=a[38113]|0;a[n+4>>0]=a[38114]|0;i=(k|0)/2|0;if((k|0)>1){j=n+3|0;k=n+2|0;e=m;f=0;while(1){a[j>>0]=a[e>>0]|0;a[k>>0]=a[e+1>>0]|0;a[h+f>>0]=nN(n)|0;f=f+1|0;if((f|0)>=(i|0))break;else e=e+2|0}}if((O(d[h+1>>0]|0,d[h>>0]|0)|0)==(g+-2|0)){c[b+108>>2]=h;c[b+12>>2]=2;break}else{UM(h);break}}while(0);UM(m);l=o;return}function tj(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,m=0,n=0,o=0;o=l;l=l+16|0;j=o+6|0;k=o+3|0;i=o;m=b+32|0;n=c[m>>2]|0;if(n|0){UM(c[n+8>>2]|0);f=c[n>>2]|0;while(1){g=c[f+4>>2]|0;if(!g)break;else f=g}if(f|0)do{g=f;f=c[f>>2]|0;h=c[g+8>>2]|0;if(h|0)UM(h);UM(g)}while((f|0)!=0);UM(n)}n=TM(16)|0;c[n+12>>2]=e;c[n+4>>2]=4480;h=TM(4480)|0;c[n+8>>2]=h;CQ(h|0,e|0,4480)|0;h=TM(20)|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[n>>2]=h;c[b>>2]=d;c[b+4>>2]=e;a[b+8>>0]=0;e=b+9|0;a[e>>0]=a[j>>0]|0;a[e+1>>0]=a[j+1>>0]|0;a[e+2>>0]=a[j+2>>0]|0;a[b+12>>0]=0;e=b+13|0;a[e>>0]=a[k>>0]|0;a[e+1>>0]=a[k+1>>0]|0;a[e+2>>0]=a[k+2>>0]|0;c[b+16>>2]=-1;c[b+20>>2]=0;a[b+24>>0]=0;e=b+25|0;a[e>>0]=a[i>>0]|0;a[e+1>>0]=a[i+1>>0]|0;a[e+2>>0]=a[i+2>>0]|0;c[b+28>>2]=1;c[m>>2]=n;c[b+36>>2]=198;c[b+40>>2]=142;l=o;return}function uj(f){f=f|0;var 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,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,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;ua=l;l=l+272|0;A=ua+56|0;z=ua+48|0;y=ua+40|0;D=ua+32|0;C=ua+24|0;B=ua+16|0;x=ua+8|0;w=ua;sa=ua+64|0;ta=f+12|0;a[ta>>0]=0;pa=f+28|0;switch(c[pa>>2]|0){case 0:{g=eh()|0;if(g|0){o=f+24|0;n=f+4|0;p=f+32|0;do{a:do if((c[g>>2]|0)==768){k=c[g+16+4>>2]|0;g=e[160510]|0;b:do if(!(g&3264)){if(g&3|0)switch(((k|0)==127?1:((k|0)==1073741897)<<31>>31)&3){case 1:{ra=10;break}case 2:{ra=20;break}case 3:{ra=29;break}default:{}}}else{if((k|0)<120)switch(k|0){case 99:{ra=20;break b}case 118:{ra=29;break b}default:break b}if((k|0)<1073741897)switch(k|0){case 120:{ra=10;break b}default:break b}else switch(k|0){case 1073741897:{ra=20;break b}default:break b}}while(0);if((ra|0)==10){ra=0;i=c[n>>2]|0;j=a[o>>0]&15;if(i+(j<<4)|0?(s=TM(33)|0,s|0):0){g=0;h=s;while(1){c[w>>2]=d[i+(j<<4)+g>>0];zN(h,83676,w)|0;oa=a[h>>0]|0;qa=h+1|0;a[h>>0]=a[qa>>0]|0;a[qa>>0]=oa;g=g+1|0;if((g|0)==16)break;else h=h+2|0}g=c[79957]|0;do if(g){h=c[g+240>>2]|0;if(!h){qa=g+288|0;UM(c[qa>>2]|0);c[qa>>2]=aP(s)|0;break}else{hg[h&63](g,s)|0;break}}else _D(310107,x);while(0);UM(s)}g=(c[n>>2]|0)+((a[o>>0]&15)<<4)|0;h=g+16|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));Sj(c[p>>2]|0)|0}else if((ra|0)==20){ra=0;i=c[n>>2]|0;j=a[o>>0]&15;if(i+(j<<4)|0?(v=TM(33)|0,v|0):0){g=0;h=v;while(1){c[B>>2]=d[i+(j<<4)+g>>0];zN(h,83676,B)|0;oa=a[h>>0]|0;qa=h+1|0;a[h>>0]=a[qa>>0]|0;a[qa>>0]=oa;g=g+1|0;if((g|0)==16)break;else h=h+2|0}g=c[79957]|0;do if(g){h=c[g+240>>2]|0;if(!h){qa=g+288|0;UM(c[qa>>2]|0);c[qa>>2]=aP(v)|0;break}else{hg[h&63](g,v)|0;break}}else _D(310107,C);while(0);UM(v)}}else if((ra|0)==29?(ra=0,Ug((c[n>>2]|0)+((a[o>>0]&15)<<4)|0,16,1,0)|0):0)Sj(c[p>>2]|0)|0;c:do if(!(b[160510]&3264))if((k|0)<1073741903)switch(k|0){case 9:{ra=46;break c}case 127:{ra=49;break c}default:break a}else switch(k|0){case 1073741904:{ra=47;break c}case 1073741903:{ra=48;break c}default:break a}else{if((k|0)>=127)if((k|0)<1073741903)switch(k|0){case 127:{ra=49;break c}default:break a}else switch(k|0){case 1073741904:{ra=47;break c}case 1073741903:{ra=48;break c}default:break a}switch(k|0){case 9:{ra=46;break c}case 122:break;case 121:{k=c[p>>2]|0;g=c[c[k>>2]>>2]|0;if(g|0?(c[k>>2]=g,q=c[g+12>>2]|0,r=g+16|0,q>>>0<(c[r>>2]|0)>>>0):0){i=g+8|0;j=k+8|0;g=q;h=0;while(1){qa=(c[j>>2]|0)+g|0;a[qa>>0]=a[qa>>0]^a[(c[i>>2]|0)+h>>0];g=g+1|0;if(g>>>0>=(c[r>>2]|0)>>>0)break;else h=h+1|0}}CQ(c[k+12>>2]|0,c[k+8>>2]|0,c[k+4>>2]|0)|0;break a}default:break a}m=c[p>>2]|0;g=c[m>>2]|0;if(c[g+4>>2]|0){h=c[g+12>>2]|0;k=g+16|0;if(h>>>0<(c[k>>2]|0)>>>0){i=g+8|0;j=m+8|0;g=h;h=0;while(1){qa=(c[j>>2]|0)+g|0;a[qa>>0]=a[qa>>0]^a[(c[i>>2]|0)+h>>0];g=g+1|0;if(g>>>0>=(c[k>>2]|0)>>>0)break;else h=h+1|0}g=c[m>>2]|0}c[m>>2]=c[g+4>>2]}CQ(c[m+12>>2]|0,c[m+8>>2]|0,c[m+4>>2]|0)|0;break a}while(0);if((ra|0)==46){ra=0;c[pa>>2]=1;break}else if((ra|0)==47){ra=0;qa=a[o>>0]|0;a[o>>0]=qa+15&15|qa&-16;break}else if((ra|0)==48){ra=0;qa=a[o>>0]|0;a[o>>0]=qa+1&15|qa&-16;break}else if((ra|0)==49){ra=0;g=(c[n>>2]|0)+((a[o>>0]&15)<<4)|0;h=g+16|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));Sj(c[p>>2]|0)|0;break}}while(0);g=eh()|0}while((g|0)!=0)}wj(f);g=c[f>>2]|0;Bg[c[g+2439672>>2]&255](g,0);xj(f);Vg(c[f>>2]|0,0);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,23,11,192,96,1);g=0;do{qa=c[f>>2]|0;ra=g+11|0;Gg[c[qa+2439684>>2]&7](qa,23,ra,215,ra,0);g=g+6|0}while((g|0)<96);g=0;do{qa=c[f>>2]|0;ra=g+23|0;Gg[c[qa+2439684>>2]&7](qa,ra,11,ra,203,0);g=g+6|0}while((g|0)<192);g=c[48]|0;if(((((g+-23|0)>>>0<192?(E=c[49]|0,(E+-11|0)>>>0<96):0)?(c[68]=11,a[204]|0):0)?((c[52]|0)+-23|0)>>>0<192:0)?((c[53]|0)+-11|0)>>>0<96:0){ra=(g+-23|0)/6|0;g=16-((E+-11|0)/6|0)+255|0;i=(ra>>>1)+((c[f+4>>2]|0)+((a[f+24>>0]&15)<<4))|0;h=d[i>>0]|0;if(!(ra&1)){h=h&240;a[i>>0]=h;g=g&15}else{h=h&15;a[i>>0]=h;g=g<<4&4080}a[i>>0]=g|h;Sj(c[f+32>>2]|0)|0}q=f+4|0;h=c[q>>2]|0;r=f+24|0;i=a[r>>0]&15;g=0;do{ra=d[(g>>>1)+(h+(i<<4))>>0]|0;qa=c[f>>2]|0;ra=(O(g&1|0?ra>>>4:ra&15,-6)|0)+102|0;Gg[c[qa+2439688>>2]&7](qa,(g*6|0)+24|0,ra,5,5,6);g=g+1|0}while((g|0)!=32);n=f+8|0;m=0;do{j=((m|0)%8|0)*21|0;o=j+36|0;k=((m|0)/8|0)*13|0;p=k+110|0;g=c[48]|0;if(((((((((g|0)>=(o|0)?(fa=j+54|0,(g|0)<(fa|0)):0)?(ga=c[49]|0,(ga|0)>=(p|0)):0)?(ha=k+120|0,(ga|0)<(ha|0)):0)?(c[68]=11,a[205]|0):0)?(ra=c[52]|0,(ra|0)>=(o|0)&(ra|0)<(fa|0)):0)?(ra=c[53]|0,(ra|0)>=(p|0)&(ra|0)<(ha|0)):0)?(ra=c[54]|0,(ra|0)>=(o|0)&(ra|0)<(fa|0)):0)?(ra=c[55]|0,(ra|0)>=(p|0)&(ra|0)<(ha|0)):0){a[205]=0;a[r>>0]=a[r>>0]&-16|m&15}do if(a[ta>>0]|0){g=c[f>>2]|0;Dg[c[g+2439752>>2]&63](sa,g,0);g=a[sa>>0]|0;if(g<<24>>24>-1){i=(c[q>>2]|0)+256+((a[n>>0]&63)*66|0)+(g<<24>>24<<1)|0;h=c[f>>2]|0;g=c[h+2439688>>2]|0;i=(((d[i>>0]|d[i+1>>0]<<8)&65535)>>>4&15|0)==(m|0)?6:15;break}else{h=c[f>>2]|0;g=c[h+2439688>>2]|0;i=15;break}}else{h=c[f>>2]|0;g=c[h+2439688>>2]|0;i=15}while(0);Gg[g&7](h,o,p,18,10,i);if((a[r>>0]&15|0)==(m|0)){ra=c[f>>2]|0;Gg[c[ra+2439692>>2]&7](ra,j+34|0,k+108|0,22,14,15)}h=c[q>>2]|0;g=0;do{qa=c[f>>2]|0;ra=g;g=g+1|0;Eg[c[qa+2439676>>2]&63](qa,o+g|0,8-((d[h+(m<<4)+ra>>0]|0)>>>1&7)+p|0,0)}while((g|0)!=16);m=m+1|0}while((m|0)!=16);ra=349;break}case 1:{g=eh()|0;if(!g){s=f+4|0;r=f+8|0}else{p=f+8|0;n=f+4|0;o=f+32|0;while(1){d:do if((c[g>>2]|0)==768){k=c[g+16+4>>2]|0;g=e[160510]|0;e:do if(!(g&3264)){if(g&3|0)switch(((k|0)==127?1:((k|0)==1073741897)<<31>>31)&3){case 1:{ra=94;break}case 2:{ra=103;break}case 3:{ra=111;break}default:{}}}else{if((k|0)<120)switch(k|0){case 99:{ra=103;break e}case 118:{ra=111;break e}default:break e}if((k|0)<1073741897)switch(k|0){case 120:{ra=94;break e}default:break e}else switch(k|0){case 1073741897:{ra=103;break e}default:break e}}while(0);if((ra|0)==94){ra=0;i=(c[n>>2]|0)+256+((a[p>>0]&63)*66|0)|0;j=TM(133)|0;if(j|0){g=0;h=j;while(1){c[D>>2]=d[i+g>>0];zN(h,83676,D)|0;ga=a[h>>0]|0;ha=h+1|0;a[h>>0]=a[ha>>0]|0;a[ha>>0]=ga;g=g+1|0;if((g|0)==66)break;else h=h+2|0}g=c[79957]|0;do if(g){h=c[g+240>>2]|0;if(!h){ha=g+288|0;UM(c[ha>>2]|0);c[ha>>2]=aP(j)|0;break}else{hg[h&63](g,j)|0;break}}else _D(310107,y);while(0);UM(j)}g=(c[n>>2]|0)+256+((a[p>>0]&63)*66|0)|0;h=g+66|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));Sj(c[o>>2]|0)|0}else if((ra|0)==103){ra=0;i=(c[n>>2]|0)+256+((a[p>>0]&63)*66|0)|0;j=TM(133)|0;if(j|0){g=0;h=j;while(1){c[z>>2]=d[i+g>>0];zN(h,83676,z)|0;ga=a[h>>0]|0;ha=h+1|0;a[h>>0]=a[ha>>0]|0;a[ha>>0]=ga;g=g+1|0;if((g|0)==66)break;else h=h+2|0}g=c[79957]|0;do if(g){h=c[g+240>>2]|0;if(!h){ha=g+288|0;UM(c[ha>>2]|0);c[ha>>2]=aP(j)|0;break}else{hg[h&63](g,j)|0;break}}else _D(310107,A);while(0);UM(j)}}else if((ra|0)==111?(ra=0,Ug((c[n>>2]|0)+256+((a[p>>0]&63)*66|0)|0,66,1,0)|0):0)Sj(c[o>>2]|0)|0;f:do if(!(b[160510]&3264))if((k|0)<1073741903)switch(k|0){case 9:{ra=128;break f}case 127:{ra=131;break f}default:break d}else switch(k|0){case 1073741904:{ra=129;break f}case 1073741903:{ra=130;break f}default:break d}else{if((k|0)>=127)if((k|0)<1073741903)switch(k|0){case 127:{ra=131;break f}default:break d}else switch(k|0){case 1073741904:{ra=129;break f}case 1073741903:{ra=130;break f}default:break d}switch(k|0){case 9:{ra=128;break f}case 122:break;case 121:{k=c[o>>2]|0;g=c[c[k>>2]>>2]|0;if(g|0?(c[k>>2]=g,t=c[g+12>>2]|0,u=g+16|0,t>>>0<(c[u>>2]|0)>>>0):0){i=g+8|0;j=k+8|0;g=t;h=0;while(1){ha=(c[j>>2]|0)+g|0;a[ha>>0]=a[ha>>0]^a[(c[i>>2]|0)+h>>0];g=g+1|0;if(g>>>0>=(c[u>>2]|0)>>>0)break;else h=h+1|0}}CQ(c[k+12>>2]|0,c[k+8>>2]|0,c[k+4>>2]|0)|0;break d}default:break d}m=c[o>>2]|0;g=c[m>>2]|0;if(c[g+4>>2]|0){h=c[g+12>>2]|0;k=g+16|0;if(h>>>0<(c[k>>2]|0)>>>0){i=g+8|0;j=m+8|0;g=h;h=0;while(1){ha=(c[j>>2]|0)+g|0;a[ha>>0]=a[ha>>0]^a[(c[i>>2]|0)+h>>0];g=g+1|0;if(g>>>0>=(c[k>>2]|0)>>>0)break;else h=h+1|0}g=c[m>>2]|0}c[m>>2]=c[g+4>>2]}CQ(c[m+12>>2]|0,c[m+8>>2]|0,c[m+4>>2]|0)|0;break d}while(0);if((ra|0)==128){ra=0;c[pa>>2]=0;break}else if((ra|0)==129){ra=0;ha=a[p>>0]|0;a[p>>0]=ha+63&63|ha&-64;break}else if((ra|0)==130){ra=0;ha=a[p>>0]|0;a[p>>0]=ha+1&63|ha&-64;break}else if((ra|0)==131){ra=0;g=(c[n>>2]|0)+256+((a[p>>0]&63)*66|0)|0;h=g+66|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));Sj(c[o>>2]|0)|0;break}}while(0);g=eh()|0;if(!g){s=n;r=p;break}}}wj(f);k=c[f>>2]|0;Bg[c[k+2439672>>2]&255](k,0);k=c[s>>2]|0;h=a[r>>0]|0;g=0;do{ha=(g|0)<7;c[sa+(g<<4)>>2]=(ha?40:-24)+(g*10|0);c[sa+(g<<4)+4>>2]=117;c[sa+(g<<4)+8>>2]=ha?10:7;c[sa+(g<<4)+12>>2]=ha?16:8;g=g+1|0}while((g|0)!=13);j=h&63;g=c[48]|0;g:do if((g+-40|0)>>>0<70?(F=c[49]|0,(F+-117|0)>>>0<16):0){c[68]=11;h=sa+192|0;ra=c[h>>2]|0;if((((g|0)>=(ra|0)?(g|0)<((c[sa+200>>2]|0)+ra|0):0)?(G=c[sa+196>>2]|0,(F|0)>=(G|0)):0)?(F|0)<((c[sa+204>>2]|0)+G|0):0){g=12;ra=141}else ra=142;do if((ra|0)==142){ha=c[sa+176>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+184>>2]|0)+ha|0):0)?(H=c[sa+180>>2]|0,(F|0)>=(H|0)):0)?(F|0)<((c[sa+188>>2]|0)+H|0):0){g=11;ra=141;break}ha=c[sa+160>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+168>>2]|0)+ha|0):0)?(I=c[sa+164>>2]|0,(F|0)>=(I|0)):0)?(F|0)<((c[sa+172>>2]|0)+I|0):0){g=10;ra=141;break}ha=c[sa+128>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+136>>2]|0)+ha|0):0)?(J=c[sa+132>>2]|0,(F|0)>=(J|0)):0)?(F|0)<((c[sa+140>>2]|0)+J|0):0){g=8;ra=141;break}ha=c[sa+112>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+120>>2]|0)+ha|0):0)?(K=c[sa+116>>2]|0,(F|0)>=(K|0)):0)?(F|0)<((c[sa+124>>2]|0)+K|0):0){g=7;ra=141;break}ha=c[sa+96>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+104>>2]|0)+ha|0):0)?(L=c[sa+100>>2]|0,(F|0)>=(L|0)):0)?(F|0)<((c[sa+108>>2]|0)+L|0):0){g=6;ra=141;break}ha=c[sa+80>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+88>>2]|0)+ha|0):0)?(M=c[sa+84>>2]|0,(F|0)>=(M|0)):0)?(F|0)<((c[sa+92>>2]|0)+M|0):0){g=5;ra=141;break}ha=c[sa+64>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+72>>2]|0)+ha|0):0)?(N=c[sa+68>>2]|0,(F|0)>=(N|0)):0)?(F|0)<((c[sa+76>>2]|0)+N|0):0){g=4;ra=141;break}ha=c[sa+48>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+56>>2]|0)+ha|0):0)?(P=c[sa+52>>2]|0,(F|0)>=(P|0)):0)?(F|0)<((c[sa+60>>2]|0)+P|0):0){g=3;ra=141;break}ha=c[sa+32>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+40>>2]|0)+ha|0):0)?(Q=c[sa+36>>2]|0,(F|0)>=(Q|0)):0)?(F|0)<((c[sa+44>>2]|0)+Q|0):0){g=2;ra=141;break}ha=c[sa+16>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+24>>2]|0)+ha|0):0)?(R=c[sa+20>>2]|0,(F|0)>=(R|0)):0)?(F|0)<((c[sa+28>>2]|0)+R|0):0){g=1;ra=141;break}ha=c[sa>>2]|0;if((((g|0)>=(ha|0)?(g|0)<((c[sa+8>>2]|0)+ha|0):0)?(S=c[sa+4>>2]|0,(F|0)>=(S|0)):0)?(F|0)<((c[sa+12>>2]|0)+S|0):0){g=0;ra=141}}while(0);if((ra|0)==141)KP(804,c[2268+(c[2216+(g<<2)>>2]<<2)>>2]|0,39)|0;if((a[204]|0?((c[52]|0)+-40|0)>>>0<70:0)?((c[53]|0)+-117|0)>>>0<16:0){i=c[48]|0;ha=c[h>>2]|0;if((((i|0)>=(ha|0)?(i|0)<((c[sa+200>>2]|0)+ha|0):0)?(T=c[49]|0,U=c[sa+196>>2]|0,(T|0)>=(U|0)):0)?(T|0)<((c[sa+204>>2]|0)+U|0):0)g=12;else ra=159;h:do if((ra|0)==159){ha=c[sa+176>>2]|0;if((((i|0)>=(ha|0)?(i|0)<((c[sa+184>>2]|0)+ha|0):0)?(V=c[49]|0,W=c[sa+180>>2]|0,(V|0)>=(W|0)):0)?(V|0)<((c[sa+188>>2]|0)+W|0):0){g=11;break}ha=c[sa+160>>2]|0;if((((i|0)>=(ha|0)?(i|0)<((c[sa+168>>2]|0)+ha|0):0)?(X=c[49]|0,Y=c[sa+164>>2]|0,(X|0)>=(Y|0)):0)?(X|0)<((c[sa+172>>2]|0)+Y|0):0){g=10;break}ha=c[sa+128>>2]|0;if((((i|0)>=(ha|0)?(i|0)<((c[sa+136>>2]|0)+ha|0):0)?(Z=c[49]|0,_=c[sa+132>>2]|0,(Z|0)>=(_|0)):0)?(Z|0)<((c[sa+140>>2]|0)+_|0):0){g=8;break}ha=c[sa+112>>2]|0;if((((i|0)>=(ha|0)?(i|0)<((c[sa+120>>2]|0)+ha|0):0)?($=c[49]|0,aa=c[sa+116>>2]|0,($|0)>=(aa|0)):0)?($|0)<((c[sa+124>>2]|0)+aa|0):0){g=7;break}ha=c[sa+96>>2]|0;if((((i|0)>=(ha|0)?(i|0)<((c[sa+104>>2]|0)+ha|0):0)?(ba=c[49]|0,ca=c[sa+100>>2]|0,(ba|0)>=(ca|0)):0)?(ba|0)<((c[sa+108>>2]|0)+ca|0):0){g=6;break}ha=c[sa+80>>2]|0;if((((i|0)>=(ha|0)?(i|0)<((c[sa+88>>2]|0)+ha|0):0)?(da=c[49]|0,ea=c[sa+84>>2]|0,(da|0)>=(ea|0)):0)?(da|0)<((c[sa+92>>2]|0)+ea|0):0){g=5;break}ha=c[sa+64>>2]|0;do if((i|0)>=(ha|0)?(i|0)<((c[sa+72>>2]|0)+ha|0):0){g=c[49]|0;h=c[sa+68>>2]|0;if((g|0)<(h|0))break;if((g|0)<((c[sa+76>>2]|0)+h|0)){g=4;break h}}while(0);g=c[sa+48>>2]|0;do if((i|0)>=(g|0)){if((i|0)>=((c[sa+56>>2]|0)+g|0))break;g=c[49]|0;h=c[sa+52>>2]|0;if((g|0)<(h|0))break;if((g|0)<((c[sa+60>>2]|0)+h|0)){g=3;break h}}while(0);g=c[sa+32>>2]|0;do if((i|0)>=(g|0)){if((i|0)>=((c[sa+40>>2]|0)+g|0))break;g=c[49]|0;h=c[sa+36>>2]|0;if((g|0)<(h|0))break;if((g|0)<((c[sa+44>>2]|0)+h|0)){g=2;break h}}while(0);g=c[sa+16>>2]|0;do if((i|0)>=(g|0)){if((i|0)>=((c[sa+24>>2]|0)+g|0))break;g=c[49]|0;h=c[sa+20>>2]|0;if((g|0)<(h|0))break;if((g|0)<((c[sa+28>>2]|0)+h|0)){g=1;break h}}while(0);g=c[sa>>2]|0;if((i|0)<(g|0))break g;if((i|0)>=((c[sa+8>>2]|0)+g|0))break g;g=c[49]|0;h=c[sa+4>>2]|0;if((g|0)<(h|0))break g;if((g|0)<((c[sa+12>>2]|0)+h|0))g=0;else break g}while(0);ha=k+256+(j*66|0)+60|0;ga=(c[2216+(g<<2)>>2]&65535)<<8&3840|(d[ha>>0]|d[ha+1>>0]<<8)&-3841;a[ha>>0]=ga;a[ha+1>>0]=ga>>8;a[ta>>0]=1}}while(0);j=k+256+(j*66|0)+60|0;i=0;while(1){g=(i|0)<7;h=c[2216+(i<<2)>>2]|0;if((i|0)==9){i=10;continue}k=c[f>>2]|0;m=c[k+2439688>>2]|0;n=c[sa+(i<<4)>>2]|0;o=c[sa+(i<<4)+4>>2]|0;p=(c[sa+(i<<4)+8>>2]|0)-(g&1)|0;q=c[sa+(i<<4)+12>>2]|0;if((a[ta>>0]|0)!=0?(((d[j>>0]|d[j+1>>0]<<8)&65535)>>>8&15|0)==(h|0):0)g=6;else g=g?15:0;Gg[m&7](k,n,o,p,q,g&255);i=i+1|0;if((i|0)==13)break}xj(f);Vg(c[f>>2]|0,0);zj(f,40,10,85346,a[r>>0]&63,143);o=(c[s>>2]|0)+256+((a[r>>0]&63)*66|0)+60|0;zj(f,88,10,85580,(((d[o>>0]|d[o+1>>0]<<8)<<9&65535)<<16>>16>>13&65535)<<24>>24,144);o=f+20|0;g=0;h=18;while(1){j=c[f>>2]|0;i=c[2316+(g<<2)>>2]|0;j=37-(lg[c[j+2439660>>2]&31](j,i,0,-6,0)|0)|0;ha=c[48]|0;if((((((((ha|0)>=(j|0)&(ha|0)<37?(ia=c[49]|0,(ia|0)>=(h|0)):0)?(ja=h+6|0,(ia|0)<(ja|0)):0)?(c[68]=11,a[205]|0):0)?(ha=c[52]|0,(ha|0)>=(j|0)&(ha|0)<37):0)?(ha=c[53]|0,(ha|0)>=(h|0)&(ha|0)<(ja|0)):0)?(ha=c[54]|0,(ha|0)>=(j|0)&(ha|0)<37):0)?(ha=c[55]|0,(ha|0)>=(h|0)&(ha|0)<(ja|0)):0){a[205]=0;c[o>>2]=g}ha=c[f>>2]|0;lg[c[ha+2439660>>2]&31](ha,i,j,h,(g|0)==(c[o>>2]|0)?15:3)|0;g=g+1|0;if((g|0)==4)break;else h=h+8|0}h=c[s>>2]|0;i=a[r>>0]&63;g=c[o>>2]|0;switch(g|0){case 3:{do if(((c[48]|0)+-9|0)>>>0<18?((c[49]|0)+-66|0)>>>0<6:0){c[68]=11;if((((a[205]|0?((c[52]|0)+-9|0)>>>0<18:0)?((c[53]|0)+-66|0)>>>0<6:0)?((c[54]|0)+-9|0)>>>0<18:0)?((c[55]|0)+-66|0)>>>0<6:0){a[205]=0;g=h+256+(i*66|0)+60|0;ja=(d[g>>0]|d[g+1>>0]<<8)^8;a[g>>0]=ja;a[g+1>>0]=ja>>8;break}g=h+256+(i*66|0)+60|0}else ra=257;while(0);if((ra|0)==257)g=h+256+(i*66|0)+60|0;ra=c[f>>2]|0;lg[c[ra+2439664>>2]&31](ra,85350,9,66,(d[g>>0]|d[g+1>>0]<<8)&8?15:3)|0;ra=277;break}case 2:{do if(((c[48]|0)+-6|0)>>>0<24?((c[49]|0)+-66|0)>>>0<6:0){c[68]=11;if((((a[205]|0?((c[52]|0)+-6|0)>>>0<24:0)?((c[53]|0)+-66|0)>>>0<6:0)?((c[54]|0)+-6|0)>>>0<24:0)?((c[55]|0)+-66|0)>>>0<6:0){a[205]=0;g=h+256+(i*66|0)+60|0;ja=(d[g>>0]|d[g+1>>0]<<8)^128;a[g>>0]=ja;a[g+1>>0]=ja>>8;break}g=h+256+(i*66|0)+60|0}else ra=268;while(0);if((ra|0)==268)g=h+256+(i*66|0)+60|0;ra=c[f>>2]|0;lg[c[ra+2439660>>2]&31](ra,88283,6,66,(d[g>>0]|d[g+1>>0]<<8)&128?15:3)|0;ra=277;break}default:{}}if((ra|0)==277)g=c[o>>2]|0;i:do if(!g){g=0;do{m=(16-g|0)*6|0;n=m+12|0;if((((c[48]|0)+-222|0)>>>0<10?(ma=c[49]|0,(ma|0)>=(n|0)):0)?(na=m+17|0,(ma|0)<(na|0)):0){c[68]=11;if(((((a[205]|0)!=0?((c[52]|0)+-222|0)>>>0<10:0)?(ja=c[53]|0,(ja|0)>=(n|0)&(ja|0)<(na|0)):0)?((c[54]|0)+-222|0)>>>0<10:0)?(ja=c[55]|0,(ja|0)>=(n|0)&(ja|0)<(na|0)):0){ra=304;break}else i=7}else i=3;do if(a[ta>>0]|0){h=c[f>>2]|0;Dg[c[h+2439752>>2]&63](sa,h,0);h=a[sa>>0]|0;if(h<<24>>24>-1){h=(c[s>>2]|0)+256+((a[r>>0]&63)*66|0)+(h<<24>>24<<1)|0;k=c[f>>2]|0;j=c[k+2439688>>2]|0;h=(((d[h>>0]|d[h+1>>0]<<8)&65535)>>>4&15|0)==(g|0)?6:i;break}else{k=c[f>>2]|0;j=c[k+2439688>>2]|0;h=i;break}}else{k=c[f>>2]|0;j=c[k+2439688>>2]|0;h=i}while(0);Gg[j&7](k,222,n,10,5,h);if((((c[48]|0)+-234|0)>>>0<5?(ka=c[49]|0,(ka|0)>=(n|0)):0)?(la=m+17|0,(ka|0)<(la|0)):0){c[68]=11;if(((((a[205]|0)!=0?((c[52]|0)+-234|0)>>>0<5:0)?(ja=c[53]|0,(ja|0)>=(n|0)&(ja|0)<(la|0)):0)?((c[54]|0)+-234|0)>>>0<5:0)?(ja=c[55]|0,(ja|0)>=(n|0)&(ja|0)<(la|0)):0){a[205]=0;i=c[s>>2]|0;j=a[r>>0]&63;k=(g&65535)<<4&240;h=0;do{ja=i+256+(j*66|0)+(h<<1)|0;ia=(d[ja>>0]|d[ja+1>>0]<<8)&-241|k;a[ja>>0]=ia;a[ja+1>>0]=ia>>8;h=h+1|0}while((h|0)!=30);h=7}else h=7}else h=3;Xg(234,n,85354,h);ja=c[s>>2]|0;ia=c[f>>2]|0;Eg[c[ia+2439676>>2]&63](ia,223,(((d[ja+(g<<4)>>0]|0)>>>2&3^3)&255)+n|0,15);ia=c[f>>2]|0;Eg[c[ia+2439676>>2]&63](ia,224,(((d[ja+(g<<4)+2>>0]|0)>>>2&3^3)&255)+n|0,15);ia=c[f>>2]|0;Eg[c[ia+2439676>>2]&63](ia,225,(((d[ja+(g<<4)+4>>0]|0)>>>2&3^3)&255)+n|0,15);ia=c[f>>2]|0;Eg[c[ia+2439676>>2]&63](ia,226,(((d[ja+(g<<4)+6>>0]|0)>>>2&3^3)&255)+n|0,15);ia=c[f>>2]|0;Eg[c[ia+2439676>>2]&63](ia,227,(((d[ja+(g<<4)+8>>0]|0)>>>2&3^3)&255)+n|0,15);ia=c[f>>2]|0;Eg[c[ia+2439676>>2]&63](ia,228,(((d[ja+(g<<4)+10>>0]|0)>>>2&3^3)&255)+n|0,15);ia=c[f>>2]|0;Eg[c[ia+2439676>>2]&63](ia,229,(((d[ja+(g<<4)+12>>0]|0)>>>2&3^3)&255)+n|0,15);ia=c[f>>2]|0;Eg[c[ia+2439676>>2]&63](ia,230,(((d[ja+(g<<4)+14>>0]|0)>>>2&3^3)&255)+n|0,15);g=g+1|0}while((g|0)<16);if((ra|0)==304){a[205]=0;na=f+24|0;a[na>>0]=a[na>>0]&-16|g&15;c[pa>>2]=0;break}h=c[s>>2]|0;i=a[r>>0]&63;j=h+256+(i*66|0)|0;j=((d[j>>0]|d[j+1>>0]<<8)&65535)>>>4&15;k=j&65535;g=1;do{pa=h+256+(i*66|0)+(g<<1)|0;g=g+1|0;if((((d[pa>>0]|d[pa+1>>0]<<8)&65535)>>>4&15)!=j<<16>>16)break i}while((g|0)<30);Xg(234,((16-k|0)*6|0)+12|0,85362,15)}while(0);g=c[f>>2]|0;lg[c[g+2439660>>2]&31](g,85370,3,108,3)|0;g=(c[s>>2]|0)+256+((a[r>>0]&63)*66|0)+62+(c[o>>2]|0)|0;zj(f,3,116,334803,(d[g>>0]|0)>>>4&255,145);zj(f,3,124,334803,a[g>>0]&15,146);g=c[f>>2]|0;Gg[c[g+2439688>>2]&7](g,39,17,180,96,1);g=0;do{na=c[f>>2]|0;pa=g+17|0;Gg[c[na+2439684>>2]&7](na,39,pa,219,pa,0);g=g+6|0}while((g|0)<96);g=0;do{na=c[f>>2]|0;pa=g+39|0;Gg[c[na+2439684>>2]&7](na,pa,17,pa,113,0);g=g+6|0}while((g|0)<180);g=c[f>>2]|0;Dg[c[g+2439752>>2]&63](sa,g,0);g=a[sa+(c[o>>2]|0)>>0]|0;if(g<<24>>24>-1){sa=c[f>>2]|0;Gg[c[sa+2439688>>2]&7](sa,((g<<24>>24)*6|0)+39|0,17,7,97,15)}m=c[s>>2]|0;n=a[r>>0]&63;g=c[48]|0;if(((((g+-39|0)>>>0<180?(oa=c[49]|0,(oa+-17|0)>>>0<96):0)?(c[68]=11,a[204]|0):0)?((c[52]|0)+-39|0)>>>0<180:0)?((c[53]|0)+-17|0)>>>0<96:0){g=(g+-39|0)/6|0;j=(oa+-17|0)/6|0;switch(c[o>>2]|0){case 1:{i=m+256+(n*66|0)+(g<<1)|0;h=i;i=(d[i>>0]|d[i+1>>0]<<8)&-16;g=j&15;ra=324;break}case 2:{i=m+256+(n*66|0)+(g<<1)|0;h=i;i=(d[i>>0]|d[i+1>>0]<<8)&-3841;g=(31-j&65535)<<8&3840;ra=324;break}case 3:{i=m+256+(n*66|0)+(g<<1)|0;h=i;i=(d[i>>0]|d[i+1>>0]<<8)&4095;g=(23-j&65535)<<12&65535;ra=324;break}case 0:{i=m+256+(n*66|0)+(g<<1)|0;h=i;i=(d[i>>0]|d[i+1>>0]<<8)&-241;g=(31-j&65535)<<4&240;ra=324;break}default:{}}if((ra|0)==324){sa=i|g;a[h>>0]=sa;a[h+1>>0]=sa>>8}Sj(c[f+32>>2]|0)|0}k=0;g=c[o>>2]|0;do{switch(g|0){case 1:{i=m+256+(n*66|0)+(k<<1)|0;j=(k*6|0)+40|0;g=90;h=1;while(1){sa=c[f>>2]|0;Gg[c[sa+2439688>>2]&7](sa,j,g+18|0,5,5,6);if((h|0)<(16-((d[i>>0]|d[i+1>>0]<<8)&15)|0)){g=g+-6|0;h=h+1|0}else break}break}case 2:{ra=c[f>>2]|0;sa=m+256+(n*66|0)+(k<<1)|0;Gg[c[ra+2439688>>2]&7](ra,(k*6|0)+40|0,114-(((((d[sa>>0]|d[sa+1>>0]<<8)&65535)>>>8&15)*6|0)+6&65535)|0,5,5,6);break}case 3:{h=m+256+(n*66|0)+(k<<1)|0;ra=((d[h>>0]|d[h+1>>0]<<8)<<16>>16>>12&65535)<<24;sa=ra>>24;g=(ra|0)>0?0:sa;if((g|0)<=(((ra|0)<0?0:sa)|0)){i=(k*6|0)+40|0;do{pa=c[f>>2]|0;ra=g;g=g+1|0;sa=(O(g,-6)|0)+66|0;Gg[c[pa+2439688>>2]&7](pa,i,sa,5,5,6);sa=((d[h>>0]|d[h+1>>0]<<8)<<16>>16>>12&65535)<<24}while((ra|0)<(((sa|0)<0?0:sa>>24)|0))}break}case 0:{ra=c[f>>2]|0;sa=m+256+(n*66|0)+(k<<1)|0;Gg[c[ra+2439688>>2]&7](ra,(k*6|0)+40|0,114-(((((d[sa>>0]|d[sa+1>>0]<<8)&65535)>>>4&15)*6|0)+6&65535)|0,5,5,6);break}default:{}}k=k+1|0;g=c[o>>2]|0}while((k|0)!=30);i=m+256+(n*66|0)+62+g|0;g=a[i>>0]|0;if((g&255)>15){h=0;do{sa=c[f>>2]|0;Gg[c[sa+2439688>>2]&7](sa,(((g&15)+h|0)*6|0)+40|0,111,5,2,14);h=h+1|0;g=a[i>>0]|0}while((h|0)<((g&255)>>>4&255|0))}g=c[s>>2]|0;h=a[r>>0]&63;sa=c[f>>2]|0;lg[c[sa+2439660>>2]&31](sa,85376,115,122,15)|0;h=g+256+(h*66|0)+60|0;g=0;do{i=g*11|0;j=i+139|0;k=c[48]|0;if((((((((k|0)>=(j|0)?(qa=i+145|0,(k|0)<(qa|0)):0)?((c[49]|0)+-122|0)>>>0<6:0)?(c[68]=11,a[205]|0):0)?(sa=c[52]|0,(sa|0)>=(j|0)&(sa|0)<(qa|0)):0)?((c[53]|0)+-122|0)>>>0<6:0)?(sa=c[54]|0,(sa|0)>=(j|0)&(sa|0)<(qa|0)):0)?((c[55]|0)+-122|0)>>>0<6:0){a[205]=0;sa=(d[h>>0]|d[h+1>>0]<<8)&-8|g&7;a[h>>0]=sa;a[h+1>>0]=sa>>8}sa=c[f>>2]|0;lg[c[sa+2439656>>2]&31](sa,g+49&255,j,122,(g|0)==((d[h>>0]|d[h+1>>0]<<8)&7|0)?15:3)|0;g=g+1|0}while((g|0)!=8);ra=349;break}default:{}}if((ra|0)==349?a[ta>>0]|0:0){g=f+8|0;h=f+16|0;i=(c[f+4>>2]|0)+256+((a[g>>0]&63)*66|0)+60|0;j=((d[i>>0]|d[i+1>>0]<<8)&65535)>>>8&15;if((c[h>>2]|0)==(j|0)){l=ua;return}c[h>>2]=j;ta=c[f>>2]|0;Bg[c[ta+2439744>>2]&255](ta,0);ta=c[f>>2]|0;f=d[i>>0]|d[i+1>>0]<<8;Gg[c[ta+2439740>>2]&7](ta,a[g>>0]&63,(f&65535)>>>8&15,f&7,-1,0);l=ua;return}c[f+16>>2]=-1;f=c[f>>2]|0;Bg[c[f+2439744>>2]&255](f,0);l=ua;return}function vj(b,e){b=b|0;e=e|0;var 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;v=l;l=l+64|0;k=v+56|0;i=v+48|0;t=v+40|0;r=v+32|0;q=v+24|0;m=v+16|0;s=v+8|0;p=v;switch(c[b+28>>2]|0){case 0:switch(e|0){case 0:{i=b+4|0;g=c[i>>2]|0;j=b+24|0;h=a[j>>0]&15;if(g+(h<<4)|0?(u=TM(33)|0,u|0):0){e=0;f=u;while(1){c[p>>2]=d[g+(h<<4)+e>>0];zN(f,83676,p)|0;r=a[f>>0]|0;t=f+1|0;a[f>>0]=a[t>>0]|0;a[t>>0]=r;e=e+1|0;if((e|0)==16)break;else f=f+2|0}f=c[79957]|0;do if(f){e=c[f+240>>2]|0;if(!e){t=f+288|0;UM(c[t>>2]|0);c[t>>2]=aP(u)|0;break}else{hg[e&63](f,u)|0;break}}else _D(310107,s);while(0);UM(u)}e=(c[i>>2]|0)+((a[j>>0]&15)<<4)|0;f=e+16|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));Sj(c[b+32>>2]|0)|0;l=v;return}case 1:{h=c[b+4>>2]|0;g=a[b+24>>0]&15;if(!(h+(g<<4)|0)){l=v;return}i=TM(33)|0;if(!i){l=v;return}else{e=0;f=i}while(1){c[m>>2]=d[h+(g<<4)+e>>0];zN(f,83676,m)|0;u=a[f>>0]|0;b=f+1|0;a[f>>0]=a[b>>0]|0;a[b>>0]=u;e=e+1|0;if((e|0)==16)break;else f=f+2|0}f=c[79957]|0;do if(f){e=c[f+240>>2]|0;if(!e){b=f+288|0;UM(c[b>>2]|0);c[b>>2]=aP(i)|0;break}else{hg[e&63](f,i)|0;break}}else _D(310107,q);while(0);UM(i);l=v;return}case 2:{if(!(Ug((c[b+4>>2]|0)+((a[b+24>>0]&15)<<4)|0,16,1,0)|0)){l=v;return}Sj(c[b+32>>2]|0)|0;l=v;return}case 3:{j=c[b+32>>2]|0;e=c[j>>2]|0;if(c[e+4>>2]|0){f=c[e+12>>2]|0;i=e+16|0;if(f>>>0<(c[i>>2]|0)>>>0){g=e+8|0;h=j+8|0;e=f;f=0;while(1){b=(c[h>>2]|0)+e|0;a[b>>0]=a[b>>0]^a[(c[g>>2]|0)+f>>0];e=e+1|0;if(e>>>0>=(c[i>>2]|0)>>>0)break;else f=f+1|0}e=c[j>>2]|0}c[j>>2]=c[e+4>>2]}CQ(c[j+12>>2]|0,c[j+8>>2]|0,c[j+4>>2]|0)|0;l=v;return}case 4:{i=c[b+32>>2]|0;e=c[c[i>>2]>>2]|0;if(e|0?(c[i>>2]=e,j=c[e+12>>2]|0,o=e+16|0,j>>>0<(c[o>>2]|0)>>>0):0){g=e+8|0;h=i+8|0;e=j;f=0;while(1){b=(c[h>>2]|0)+e|0;a[b>>0]=a[b>>0]^a[(c[g>>2]|0)+f>>0];e=e+1|0;if(e>>>0>=(c[o>>2]|0)>>>0)break;else f=f+1|0}}CQ(c[i+12>>2]|0,c[i+8>>2]|0,c[i+4>>2]|0)|0;l=v;return}default:{l=v;return}}case 1:switch(e|0){case 0:{h=b+4|0;i=b+8|0;g=(c[h>>2]|0)+256+((a[i>>0]&63)*66|0)|0;j=TM(133)|0;if(j|0){e=0;f=j;while(1){c[r>>2]=d[g+e>>0];zN(f,83676,r)|0;s=a[f>>0]|0;u=f+1|0;a[f>>0]=a[u>>0]|0;a[u>>0]=s;e=e+1|0;if((e|0)==66)break;else f=f+2|0}f=c[79957]|0;do if(f){e=c[f+240>>2]|0;if(!e){u=f+288|0;UM(c[u>>2]|0);c[u>>2]=aP(j)|0;break}else{hg[e&63](f,j)|0;break}}else _D(310107,t);while(0);UM(j)}e=(c[h>>2]|0)+256+((a[i>>0]&63)*66|0)|0;f=e+66|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));Sj(c[b+32>>2]|0)|0;l=v;return}case 1:{g=(c[b+4>>2]|0)+256+((a[b+8>>0]&63)*66|0)|0;h=TM(133)|0;if(!h){l=v;return}else{e=0;f=h}while(1){c[i>>2]=d[g+e>>0];zN(f,83676,i)|0;u=a[f>>0]|0;b=f+1|0;a[f>>0]=a[b>>0]|0;a[b>>0]=u;e=e+1|0;if((e|0)==66)break;else f=f+2|0}f=c[79957]|0;do if(f){e=c[f+240>>2]|0;if(!e){b=f+288|0;UM(c[b>>2]|0);c[b>>2]=aP(h)|0;break}else{hg[e&63](f,h)|0;break}}else _D(310107,k);while(0);UM(h);l=v;return}case 2:{if(!(Ug((c[b+4>>2]|0)+256+((a[b+8>>0]&63)*66|0)|0,66,1,0)|0)){l=v;return}Sj(c[b+32>>2]|0)|0;l=v;return}case 3:{j=c[b+32>>2]|0;e=c[j>>2]|0;if(c[e+4>>2]|0){f=c[e+12>>2]|0;i=e+16|0;if(f>>>0<(c[i>>2]|0)>>>0){g=e+8|0;h=j+8|0;e=f;f=0;while(1){b=(c[h>>2]|0)+e|0;a[b>>0]=a[b>>0]^a[(c[g>>2]|0)+f>>0];e=e+1|0;if(e>>>0>=(c[i>>2]|0)>>>0)break;else f=f+1|0}e=c[j>>2]|0}c[j>>2]=c[e+4>>2]}CQ(c[j+12>>2]|0,c[j+8>>2]|0,c[j+4>>2]|0)|0;l=v;return}case 4:{i=c[b+32>>2]|0;e=c[c[i>>2]>>2]|0;if(e|0?(c[i>>2]=e,f=c[e+12>>2]|0,n=e+16|0,f>>>0<(c[n>>2]|0)>>>0):0){g=e+8|0;h=i+8|0;e=f;f=0;while(1){b=(c[h>>2]|0)+e|0;a[b>>0]=a[b>>0]^a[(c[g>>2]|0)+f>>0];e=e+1|0;if(e>>>0>=(c[n>>2]|0)>>>0)break;else f=f+1|0}}CQ(c[i+12>>2]|0,c[i+8>>2]|0,c[i+4>>2]|0)|0;l=v;return}default:{l=v;return}}default:{l=v;return}}}function wj(e){e=e|0;var f=0,g=0,h=0;g=c[72]|0;do if(!(b[160510]&3264)){f=(a[g+13>>0]|0)==0?((a[g+17>>0]|0)==0?((a[g+11>>0]|0)==0?((a[g+5>>0]|0)==0?((a[g+10>>0]|0)==0?((a[g+25>>0]|0)==0?((a[g+6>>0]|0)==0?((a[g+7>>0]|0)==0?((a[g+27>>0]|0)==0?((a[g+22>>0]|0)==0?((a[g+29>>0]|0)==0)<<31>>31:1):2):3):4):5):6):7):8):9):10;if(!(a[g+16>>0]|0)){if((f|0)<=-1)break}else f=11;h=(c[e+4>>2]|0)+256+((a[e+8>>0]&63)*66|0)+60|0;f=(d[h>>0]|d[h+1>>0]<<8)&-3841|(f&65535)<<8&3840;a[h>>0]=f;a[h+1>>0]=f>>8;a[e+12>>0]=1}while(0);if(!(a[g+44>>0]|0))return;a[e+12>>0]=1;return}function xj(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=l;l=l+16|0;g=i;f=i+8|0;h=c[b>>2]|0;Gg[c[h+2439688>>2]&7](h,0,0,240,7,15);if(((c[48]|0)+-198|0)>>>0<18?((c[49]|0)+-1|0)>>>0<6:0){c[68]=11;KP(804,85498,39)|0;if(((a[204]|0)!=0?((c[52]|0)+-198|0)>>>0<18:0)?((c[53]|0)+-1|0)>>>0<6:0){a[b+12>>0]=1;e=3}else e=3}else e=10;j=c[b+4>>2]|0;h=a[b+8>>0]&63;c[f>>2]=3416899;h=j+256+(h*66|0)+60|0;h=d[h>>0]|d[h+1>>0]<<8;c[g>>2]=c[2332+(((h&65535)>>>8&15)<<2)>>2];c[g+4>>2]=(h&7)+1&65535;zN(f,85515,g)|0;h=c[b>>2]|0;lg[c[h+2439664>>2]&31](h,f,198,1,e)|0;h=b+28|0;if(((c[48]|0)+-222|0)>>>0<9&(c[49]|0)>>>0<7){c[68]=11;KP(804,85520,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-222|0)>>>0<9&(c[53]|0)>>>0<7:0)?((c[54]|0)+-222|0)>>>0<9&(c[55]|0)>>>0<7:0){a[205]=0;c[h>>2]=0;e=3;g=13}else{e=3;g=12}}else{e=10;g=12}if((g|0)==12){f=c[h>>2]|0;if(!f)g=13}if((g|0)==13){f=c[b>>2]|0;Gg[c[f+2439688>>2]&7](f,222,0,9,7,0);f=c[h>>2]|0}Xg(222,0,85536,(f|0)==0?15:e);if(((c[48]|0)+-231|0)>>>0<9&(c[49]|0)>>>0<7){c[68]=11;KP(804,85552,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-231|0)>>>0<9&(c[53]|0)>>>0<7:0)?((c[54]|0)+-231|0)>>>0<9&(c[55]|0)>>>0<7:0){a[205]=0;c[h>>2]=1;e=3}else{e=3;g=19}}else{e=10;g=19}if((g|0)==19){f=c[h>>2]|0;if((f|0)!=1){j=e;b=f;b=(b|0)==1;j=b?15:j;Xg(231,0,85544,j);l=i;return}}j=c[b>>2]|0;Gg[c[j+2439688>>2]&7](j,231,0,9,7,0);j=e;b=c[h>>2]|0;b=(b|0)==1;j=b?15:j;Xg(231,0,85544,j);l=i;return}function yj(b,c){b=b|0;c=c|0;var d=0;b=b+8|0;d=a[b>>0]|0;a[b>>0]=(d&255)+c&63|d&-64;return}function zj(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,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;n=r;m=r+4|0;i=c[b>>2]|0;lg[c[i+2439660>>2]&31](i,f,d,e,15)|0;i=((JO(f)|0)*6|0)+d|0;f=c[48]|0;d=i+6|0;if((((((((f|0)>=(i|0)&(f|0)<(d|0)?(j=c[49]|0,(j|0)>=(e|0)):0)?(k=e+6|0,(j|0)<(k|0)):0)?(c[68]=11,a[205]|0):0)?(j=c[52]|0,(j|0)>=(i|0)&(j|0)<(d|0)):0)?(j=c[53]|0,(j|0)>=(e|0)&(j|0)<(k|0)):0)?(j=c[54]|0,(j|0)>=(i|0)&(j|0)<(d|0)):0)?(j=c[55]|0,(j|0)>=(e|0)&(j|0)<(k|0)):0){a[205]=0;Bg[h&255](b,-1)}Xg(i,e,85405,3);a[m>>0]=a[85597]|0;a[m+1>>0]=a[85598]|0;a[m+2>>0]=a[85599]|0;c[n>>2]=g;zN(m,85600,n)|0;f=c[b>>2]|0;lg[c[f+2439664>>2]&31](f,m,d,e,15)|0;d=i+18|0;f=c[48]|0;if(((((((((f|0)>=(d|0)?(o=i+24|0,(f|0)<(o|0)):0)?(p=c[49]|0,(p|0)>=(e|0)):0)?(q=e+6|0,(p|0)<(q|0)):0)?(c[68]=11,a[205]|0):0)?(p=c[52]|0,(p|0)>=(d|0)&(p|0)<(o|0)):0)?(p=c[53]|0,(p|0)>=(e|0)&(p|0)<(q|0)):0)?(p=c[54]|0,(p|0)>=(d|0)&(p|0)<(o|0)):0)?(p=c[55]|0,(p|0)>=(e|0)&(p|0)<(q|0)):0){a[205]=0;Bg[h&255](b,1)}Xg(d,e,85413,3);l=r;return}function Aj(b,e){b=b|0;e=e|0;var f=0,g=0;f=(c[b+4>>2]|0)+256+((a[b+8>>0]&63)*66|0)+60|0;g=d[f>>0]|d[f+1>>0]<<8;e=(((g&65535)>>>4&65535)+e&65535)<<4&112|g&-113;a[f>>0]=e;a[f+1>>0]=e>>8;Sj(c[b+32>>2]|0)|0;return}function Bj(b,d){b=b|0;d=d|0;var e=0,f=0;e=(c[b+4>>2]|0)+256+((a[b+8>>0]&63)*66|0)+62+(c[b+20>>2]|0)|0;f=a[e>>0]|0;a[e>>0]=(((f&255)>>>4&255)+d&255)<<4&255|f&15;Sj(c[b+32>>2]|0)|0;return}function Cj(b,d){b=b|0;d=d|0;var e=0,f=0;e=(c[b+4>>2]|0)+256+((a[b+8>>0]&63)*66|0)+62+(c[b+20>>2]|0)|0;f=a[e>>0]|0;a[e>>0]=(f&255)+d&15|f&-16;Sj(c[b+32>>2]|0)|0;return}function Dj(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,m=0;m=l;l=l+16|0;j=m;k=b+88|0;i=c[k>>2]|0;if(i|0){UM(c[i+8>>2]|0);f=c[i>>2]|0;while(1){g=c[f+4>>2]|0;if(!g)break;else f=g}if(f|0)do{g=f;f=c[f>>2]|0;h=c[g+8>>2]|0;if(h|0)UM(h);UM(g)}while((f|0)!=0);UM(i)}h=TM(16)|0;c[h+12>>2]=e;c[h+4>>2]=11928;f=TM(11928)|0;c[h+8>>2]=f;CQ(f|0,e|0,11928)|0;f=TM(20)|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[h>>2]=f;c[b>>2]=d;c[b+4>>2]=e;a[b+8>>0]=0;f=b+9|0;a[f>>0]=a[j>>0]|0;a[f+1>>0]=a[j+1>>0]|0;a[f+2>>0]=a[j+2>>0]|0;a[b+12>>0]=0;f=b+13|0;g=f+23|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));c[b+36>>2]=-1;c[b+40>>2]=3;d=b+44|0;e=b+77|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;a[d+32>>0]=0;a[e>>0]=0;a[e+1>>0]=0;a[e+2>>0]=0;c[b+80>>2]=16843009;c[b+84>>2]=0;c[k>>2]=h;c[b+92>>2]=199;c[b+96>>2]=147;c[b+52>>2]=-1;c[b+56>>2]=-1;k=b+60|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;l=m;return}function Ej(f){f=f|0;var 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,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;na=l;l=l+64|0;ka=na+32|0;ja=na+16|0;T=na+8|0;ea=na;$=na+48|0;h=c[f>>2]|0;da=f+80|0;g=h+65436|0;if(!(a[da>>0]|0))b[g>>1]=b[g>>1]&4095;_=f+81|0;g=h+65454|0;if(!(a[_>>0]|0))b[g>>1]=b[g>>1]&4095;Z=f+82|0;g=h+65472|0;if(!(a[Z>>0]|0))b[g>>1]=b[g>>1]&4095;U=f+83|0;g=h+65490|0;if(!(a[U>>0]|0))b[g>>1]=b[g>>1]&4095;ma=f+84|0;switch(c[ma>>2]|0){case 0:{h=eh()|0;a:do if(!h)g=f+12|0;else{x=f+32|0;q=f+4|0;r=f+8|0;y=f+24|0;z=f+20|0;u=f+64|0;w=f+72|0;A=f+28|0;B=f+88|0;C=f+52|0;s=f+56|0;D=f+40|0;E=f+48|0;F=f+44|0;g=f+12|0;t=f+60|0;v=f+68|0;G=f+16|0;H=f+36|0;while(1){b:do switch(c[h>>2]|0){case 1027:{i=(c[h+20>>2]|0)>0;if(!(b[160510]&3264)){h=(c[x>>2]|0)+(i?-4:4)|0;c[x>>2]=h;i=64-(d[(c[q>>2]|0)+11520+((a[r>>0]&7)*51|0)+49>>0]|0)|0;if((h|0)<0){c[x>>2]=0;h=0}i=i+-16|0;if((h|0)<=(i|0))break b;c[x>>2]=i;break b}o=c[q>>2]|0;Y=a[r>>0]&7;h=(c[z>>2]|0)*3|0;h=(d[h+2+(o+11520+(Y*51|0))>>0]<<16|(d[h+1+(o+11520+(Y*51|0))>>0]<<8|d[o+11520+(Y*51|0)+h>>0]))>>>(((c[y>>2]|0)/8|0)*6|0)&63;if(h|0?(P=h+-1|0,o+(P*192|0)|0):0){Y=c[w>>2]|0;h=(Y|0)<1;Y=h?1:Y;h=c[(h?A:u)>>2]|0;n=Y+h|0;if((Y|0)>0){m=i?-3:-5;do{i=o+(P*192|0)+(h*3|0)|0;j=(d[i>>0]|d[i+1>>0]<<8)&65535|d[i+2>>0]<<16;k=((((j&16777215)>>>21)*12|0)+(j&15)&16777215)+m|0;if(k>>>0<96){Y=((k>>>0)/12|0)<<21|j&2097136|((k>>>0)%12|0)+4&15;X=Y&65535;a[i>>0]=X;a[i+1>>0]=X>>8;a[i+2>>0]=Y>>>16}h=h+1|0}while((h|0)<(n|0))}Sj(c[B>>2]|0)|0}break}case 768:{j=h+16|0;k=j+4|0;i=c[k>>2]|0;h=e[160510]|0;c:do if(!(h&3264)){if(h&3|0)switch(((i|0)==127?1:((i|0)==1073741897)<<31>>31)&3){case 1:{fa=26;break}case 2:{fa=27;break}case 3:{fa=28;break}default:{}}}else{if((i|0)<120)switch(i|0){case 99:{fa=27;break c}case 118:{fa=28;break c}default:break c}if((i|0)<1073741897)switch(i|0){case 120:{fa=26;break c}default:break c}else switch(i|0){case 1073741897:{fa=27;break c}default:break c}}while(0);if((fa|0)==26){fa=0;Gj(f,1)}else if((fa|0)==27){fa=0;Gj(f,0)}else if((fa|0)==28){fa=0;Hj(f)}h=b[160510]|0;if(h&3264){if((i|0)<122){switch(i|0){case 97:{Y=c[y>>2]|0;Y=Y-((Y|0)%8|0)|0;c[C>>2]=Y;c[s>>2]=0;c[y>>2]=Y+7;c[A>>2]=63;c[t>>2]=Y;c[u>>2]=0;c[v>>2]=8;c[w>>2]=64;if(((Y|0)%8|0|0)<=0)break b;c[C>>2]=-1;c[s>>2]=-1;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;break b}case 121:break;default:break b}m=c[B>>2]|0;h=c[c[m>>2]>>2]|0;if(h|0?(c[m>>2]=h,K=c[h+12>>2]|0,L=h+16|0,K>>>0<(c[L>>2]|0)>>>0):0){j=h+8|0;k=m+8|0;h=K;i=0;while(1){Y=(c[k>>2]|0)+h|0;a[Y>>0]=a[Y>>0]^a[(c[j>>2]|0)+i>>0];h=h+1|0;if(h>>>0>=(c[L>>2]|0)>>>0)break;else i=i+1|0}}CQ(c[m+12>>2]|0,c[m+8>>2]|0,c[m+4>>2]|0)|0;break b}if((i|0)>=1073741905)switch(i|0){case 1073741906:{Y=c[z>>2]|0;c[z>>2]=(Y|0)<1?0:Y+-1|0;break b}case 1073741905:{Y=c[z>>2]|0;c[z>>2]=(Y|0)>14?15:Y+1|0;break b}default:break b}switch(i|0){case 122:break;default:break b}n=c[B>>2]|0;h=c[n>>2]|0;if(c[h+4>>2]|0){i=c[h+12>>2]|0;m=h+16|0;if(i>>>0<(c[m>>2]|0)>>>0){j=h+8|0;k=n+8|0;h=i;i=0;while(1){Y=(c[k>>2]|0)+h|0;a[Y>>0]=a[Y>>0]^a[(c[j>>2]|0)+i>>0];h=h+1|0;if(h>>>0>=(c[m>>2]|0)>>>0)break;else i=i+1|0}h=c[n>>2]|0}c[n>>2]=c[h+4>>2]}CQ(c[n+12>>2]|0,c[n+8>>2]|0,c[n+4>>2]|0)|0;break b}m=c[A>>2]|0;if((m|0)<=-1){h=c[k>>2]|0;i=c[y>>2]|0;j=(i|0)/8|0;d:do if((h|0)<1073741903){switch(h|0){case 13:{fa=290;break d}case 127:{X=c[q>>2]|0;Y=a[r>>0]&7;p=(c[z>>2]|0)*3|0;V=X+11520+(Y*51|0)+p|0;W=p+1+(X+11520+(Y*51|0))|0;Y=p+2+(X+11520+(Y*51|0))|0;X=(d[W>>0]<<8|d[V>>0]|d[Y>>0]<<16)&~(63<>0]=X;a[W>>0]=X>>>8;a[Y>>0]=X>>>16;Sj(c[B>>2]|0)|0;break b}case 9:break;default:break d}if((i|0)>=24)break b;c[y>>2]=(j<<3)+8;c[G>>2]=0;break b}else switch(h|0){case 1073741912:case 1073741905:{fa=290;break d}case 1073741904:{h=c[G>>2]|0;if((h|0)>0)h=h+-1|0;else{if((i|0)<=7)break b;c[y>>2]=i+-8&-8;h=1}c[G>>2]=h;break b}case 1073741903:{h=c[G>>2]|0;if((h|0)<1)h=h+1|0;else{if((i|0)>=24)break b;c[y>>2]=(j<<3)+8;h=0}c[G>>2]=h;break b}default:break d}while(0);if((fa|0)==290){fa=0;c[A>>2]=c[x>>2];break b}Y=h+-48|0;h=(h|0)==1073741922?0:(h+-1073741913|0)>>>0<9?h+-1073741912|0:Y>>>0<10?Y:-1;if((h|0)<=-1)break b;p=c[q>>2]|0;o=a[r>>0]&7;k=(c[z>>2]|0)*3|0;m=p+11520+(o*51|0)+k|0;n=k+1+(p+11520+(o*51|0))|0;o=k+2+(p+11520+(o*51|0))|0;p=d[o>>0]<<16|(d[n>>0]<<8|d[m>>0]);k=j*6|0;i=p>>>k&63;if(!(c[G>>2]|0)){j=h*10|0;h=i}else j=i-((i>>>0)%10|0)|0;h=j+((h|0)%10|0)|0;if((h|0)>=61)break b;Y=(h|0)<0?60:h;Y=p&~(63<60?0:Y)<>0]=Y;a[n>>0]=Y>>>8;a[o>>0]=Y>>>16;Sj(c[B>>2]|0)|0;if(c[G>>2]|0)break b;c[G>>2]=1;break b}o=c[j>>2]|0;p=c[k>>2]|0;n=(h&3)!=0;e:do if(n){f:do if((p|0)<1073741901){if((p|0)<127)switch(p|0){case 13:{fa=148;break e}case 32:{fa=147;break e}case 9:break f;default:break e}if((p|0)<1073741898)switch(p|0){case 127:{fa=131;break e}default:break e}else switch(p|0){case 1073741899:case 1073741898:break f;default:break e}}else switch(p|0){case 1073741912:{fa=148;break e}case 1073741902:case 1073741901:case 1073741903:case 1073741904:case 1073741905:case 1073741906:break;default:break e}while(0);if((c[C>>2]|0)>=0?(c[s>>2]|0)>=0:0){fa=53;break}c[C>>2]=c[y>>2];c[s>>2]=m;fa=53}else fa=53;while(0);g:do if((fa|0)==53){fa=0;if((p|0)<1073741901){if((p|0)<127){switch(p|0){case 13:{fa=148;break g}case 32:{fa=147;break g}case 9:break;default:{fa=153;break g}}h=c[y>>2]|0;c[y>>2]=(((((h|0)/8|0)+1|0)%4|0)<<3)+((h|0)%8|0);h=c[x>>2]|0;do if((m|0)<(h|0)){h=m;fa=124}else{if((m|0)<(h+16|0))break;h=m+-15|0;fa=124}while(0);if((fa|0)==124)c[x>>2]=h;j=64-(d[(c[q>>2]|0)+11520+((a[r>>0]&7)*51|0)+49>>0]|0)|0;if((m|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0)){fa=153;break}c[x>>2]=h;fa=153;break}if((p|0)<1073741898)switch(p|0){case 127:{fa=131;break g}default:{fa=153;break g}}switch(p|0){case 1073741898:{fa=c[y>>2]|0;c[y>>2]=fa-((fa|0)%8|0);fa=153;break g}case 1073741899:break;default:{fa=153;break g}}i=(m|0)<16?0:m+-16|0;c[A>>2]=i;h=c[x>>2]|0;do if((i|0)<(h|0)){h=i;fa=104}else{if((i|0)<(h+16|0))break;h=i+-15|0;fa=104}while(0);if((fa|0)==104)c[x>>2]=h;j=64-(d[(c[q>>2]|0)+11520+((a[r>>0]&7)*51|0)+49>>0]|0)|0;if((i|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0)){fa=153;break}c[x>>2]=h;fa=153;break}switch(p|0){case 1073741912:{fa=148;break g}case 1073741906:{h=m+-1|0;c[A>>2]=h;i=c[x>>2]|0;if((m|0)>(i|0))if((m|0)>(i+16|0)){h=m+-16|0;fa=57}else h=i;else fa=57;if((fa|0)==57)c[x>>2]=h;j=64-(d[(c[q>>2]|0)+11520+((a[r>>0]&7)*51|0)+49>>0]|0)|0;if((m|0)>(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0)){fa=153;break g}c[x>>2]=h;fa=153;break g}case 1073741905:{h=a[r>>0]&7;if((a[(c[f>>2]|0)+81916>>0]|0)==(h|0)?a[g>>0]|0:0){fa=153;break g}h=d[(c[q>>2]|0)+11520+(h*51|0)+49>>0]|0;if((m|0)>=(63-h|0)){fa=153;break g}j=m+1|0;c[A>>2]=j;i=c[x>>2]|0;do if((j|0)<(i|0)){i=j;fa=70}else{if((m|0)<(i+15|0))break;i=m+-14|0;fa=70}while(0);if((fa|0)==70)c[x>>2]=i;h=64-h|0;if((j|0)>=(h|0))c[A>>2]=h+-1;if((i|0)<0){c[x>>2]=0;i=0}h=h+-16|0;if((i|0)<=(h|0)){fa=153;break g}c[x>>2]=h;fa=153;break g}case 1073741904:{h=c[y>>2]|0;if((h|0)<=0){fa=153;break g}c[y>>2]=h+-1;h=c[x>>2]|0;if((m|0)>=(h|0)){if((m|0)>=(h+16|0)){h=m+-15|0;fa=81}}else{h=m;fa=81}if((fa|0)==81)c[x>>2]=h;j=64-(d[(c[q>>2]|0)+11520+((a[r>>0]&7)*51|0)+49>>0]|0)|0;if((m|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0)){fa=153;break g}c[x>>2]=h;fa=153;break g}case 1073741903:{h=c[y>>2]|0;if((h|0)>=31){fa=153;break g}c[y>>2]=h+1;h=c[x>>2]|0;if((m|0)>=(h|0)){if((m|0)>=(h+16|0)){h=m+-15|0;fa=92}}else{h=m;fa=92}if((fa|0)==92)c[x>>2]=h;j=64-(d[(c[q>>2]|0)+11520+((a[r>>0]&7)*51|0)+49>>0]|0)|0;if((m|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0)){fa=153;break g}c[x>>2]=h;fa=153;break g}case 1073741901:{fa=c[y>>2]|0;c[y>>2]=fa+7-((fa|0)%8|0);fa=153;break g}case 1073741902:{j=d[(c[q>>2]|0)+11520+((a[r>>0]&7)*51|0)+49>>0]|0;X=(m|0)<(63-j|0);h=X?m+16|0:m;j=64-j|0;Y=(h|0)<(j|0);h=Y?h:j+-1|0;if(X|Y^1)c[A>>2]=h;i=c[x>>2]|0;if((h|0)>=(i|0))if((h|0)<(i+16|0))h=i;else{h=h+-15|0;fa=116}else fa=116;if((fa|0)==116)c[x>>2]=h;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0)){fa=153;break g}c[x>>2]=h;fa=153;break g}default:{fa=153;break g}}}while(0);do if((fa|0)==131){fa=0;h=c[q>>2]|0;Y=a[r>>0]&7;i=(c[z>>2]|0)*3|0;i=(d[i+2+(h+11520+(Y*51|0))>>0]<<16|(d[i+1+(h+11520+(Y*51|0))>>0]<<8|d[h+11520+(Y*51|0)+i>>0]))>>>(((c[y>>2]|0)/8|0)*6|0)&63;if(i|0?(M=i+-1|0,h+(M*192|0)|0):0){Y=c[w>>2]|0;X=(Y|0)<1;EQ(h+(M*192|0)+((c[(X?A:u)>>2]|0)*3|0)|0,0,(X?3:Y*3|0)|0)|0}Sj(c[B>>2]|0)|0;h=a[r>>0]&7;if((a[(c[f>>2]|0)+81916>>0]|0)==(h|0)?a[g>>0]|0:0){fa=153;break}j=c[A>>2]|0;h=d[(c[q>>2]|0)+11520+(h*51|0)+49>>0]|0;if((j|0)<(63-h|0)){k=j+1|0;c[A>>2]=k;i=c[x>>2]|0;if((k|0)>=(i|0)){if((j|0)>=(i+15|0)){i=j+-14|0;fa=140}}else{i=k;fa=140}if((fa|0)==140)c[x>>2]=i;h=64-h|0;if((k|0)>=(h|0))c[A>>2]=h+-1;if((i|0)<0){c[x>>2]=0;i=0}h=h+-16|0;if((i|0)<=(h|0)){fa=153;break}c[x>>2]=h;fa=153}else fa=153}else if((fa|0)==147){Ij(f);fa=153}else if((fa|0)==148){h=c[f>>2]|0;if((a[h+81916>>0]|0)>=0){Fg[c[h+2439756>>2]&15](h,-1,-1,-1,0);fa=153;break}i=c[h+2439760>>2]|0;j=a[r>>0]&7;k=c[z>>2]|0;if(n){Fg[i&15](h,j,k,m,1);fa=154;break}else{Fg[i&15](h,j,k,-1,1);fa=157;break}}while(0);if((fa|0)==153)if(n)fa=154;else fa=157;h:do if((fa|0)==154){fa=0;i:do if((p|0)<1073741902){if((p|0)>=1073741899)switch(p|0){case 1073741899:case 1073741901:break i;default:break h}if((p|0)<1073741898)switch(p|0){case 9:break i;default:break h}else switch(p|0){case 1073741898:break i;default:break h}}else switch(p|0){case 1073741902:case 1073741903:case 1073741904:case 1073741905:case 1073741906:break;default:break h}while(0);m=c[y>>2]|0;X=c[C>>2]|0;Y=(m|0)<(X|0)?m:X;V=c[A>>2]|0;W=c[s>>2]|0;n=(V|0)<(W|0)?V:W;X=((m|0)>(X|0)?m:X)-Y+1|0;c[t>>2]=Y;c[u>>2]=n;c[v>>2]=X;c[w>>2]=1-n+((V|0)>(W|0)?V:W);if((X+((Y|0)%8|0)|0)>8){c[C>>2]=-1;c[s>>2]=-1;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0}}else if((fa|0)==157){fa=0;c[C>>2]=-1;c[s>>2]=-1;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0}while(0);h=c[y>>2]|0;n=c[q>>2]|0;Y=a[r>>0]&7;i=(c[z>>2]|0)*3|0;i=(d[i+2+(n+11520+(Y*51|0))>>0]<<16|(d[i+1+(n+11520+(Y*51|0))>>0]<<8|d[n+11520+(Y*51|0)+i>>0]))>>>(((h|0)/8|0)*6|0)&63;if(i|0?(N=i+-1|0,n+(N*192|0)|0):0){j=(h|0)%8|0;j:do switch(j|0){case 1:case 0:{do switch(o|0){case 4:case 30:{h=n+(N*192|0)+((c[A>>2]|0)*3|0)|0;Y=((d[h>>0]|d[h+1>>0]<<8)&65535|d[h+2>>0]<<16)&16777200|1;X=Y&65535;a[h>>0]=X;a[h+1>>0]=X>>8;a[h+2>>0]=Y>>>16;h=n+(N*192|0)+((c[A>>2]|0)*3|0)|0;Y=((d[h>>0]|d[h+1>>0]<<8)&65535|d[h+2>>0]<<16)&2097151;X=Y&65535;a[h>>0]=X;a[h+1>>0]=X>>8;a[h+2>>0]=Y>>>16;h=a[r>>0]&7;if((a[(c[f>>2]|0)+81916>>0]|0)==(h|0)?a[g>>0]|0:0)break j;i=c[A>>2]|0;j=d[(c[q>>2]|0)+11520+(h*51|0)+49>>0]|0;if((i|0)>=(63-j|0))break j;k=i+1|0;c[A>>2]=k;h=c[x>>2]|0;do if((k|0)<(h|0)){h=k;fa=168}else{if((i|0)<(h+15|0))break;h=i+-14|0;fa=168}while(0);if((fa|0)==168){fa=0;c[x>>2]=h}j=64-j|0;if((k|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0))break j;c[x>>2]=h;break j}case 29:{h=0;break}case 22:{h=1;break}case 27:{h=2;break}case 7:{h=3;break}case 6:{h=4;break}case 25:{h=5;break}case 10:{h=6;break}case 5:{h=7;break}case 11:{h=8;break}case 17:{h=9;break}case 13:{h=10;break}case 16:{h=11;break}case 20:{h=12;break}case 31:{h=13;break}case 26:{h=14;break}case 32:{h=15;break}case 8:{h=16;break}case 21:{h=17;break}case 34:{h=18;break}case 23:{h=19;break}case 35:{h=20;break}case 28:{h=21;break}case 36:{h=22;break}case 24:{h=23;break}default:break j}while(0);i=(h>>>0)%12|0;j=n+(N*192|0)+((c[A>>2]|0)*3|0)|0;k=(d[j>>0]|d[j+1>>0]<<8)&65535|d[j+2>>0]<<16;if(!(k&15)){V=(c[D>>2]|0)+((h>>>0)/12|0)|0;W=c[E>>2]|0;X=c[F>>2]|0;Y=k&16777200|i+4&15;p=Y&65535;a[j>>0]=p;a[j+1>>0]=p>>8;a[j+2>>0]=Y>>>16;Y=n+(N*192|0)+((c[A>>2]|0)*3|0)|0;V=((d[Y>>0]|d[Y+1>>0]<<8)&65535|d[Y+2>>0]<<16)&2097151|V<<21;p=V&65535;a[Y>>0]=p;a[Y+1>>0]=p>>8;a[Y+2>>0]=V>>>16;Y=n+(N*192|0)+((c[A>>2]|0)*3|0)|0;W=((d[Y>>0]|d[Y+1>>0]<<8)&65535|d[Y+2>>0]<<16)&16776975|W<<4&240;V=W&65535;a[Y>>0]=V;a[Y+1>>0]=V>>8;a[Y+2>>0]=W>>>16;X=(X|0)<63?X:63;Y=n+(N*192|0)+((c[A>>2]|0)*3|0)|0;X=X<<16&2031616|X<<10&32768|((d[Y>>0]|d[Y+1>>0]<<8)&65535|d[Y+2>>0]<<16)&14712831;W=X&65535;a[Y>>0]=W;a[Y+1>>0]=W>>8;a[Y+2>>0]=X>>>16;Ij(f)}else{Y=i+4&15|k&16777200;X=Y&65535;a[j>>0]=X;a[j+1>>0]=X>>8;a[j+2>>0]=Y>>>16;Ij(f)}h=a[r>>0]&7;if((a[(c[f>>2]|0)+81916>>0]|0)==(h|0)?a[g>>0]|0:0)break j;i=c[A>>2]|0;j=d[(c[q>>2]|0)+11520+(h*51|0)+49>>0]|0;if((i|0)<(63-j|0)){k=i+1|0;c[A>>2]=k;h=c[x>>2]|0;do if((k|0)<(h|0)){h=k;fa=207}else{if((i|0)<(h+15|0))break;h=i+-14|0;fa=207}while(0);if((fa|0)==207){fa=0;c[x>>2]=h}j=64-j|0;if((k|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0))break j;c[x>>2]=h}break}case 2:{h=n+(N*192|0)+((c[A>>2]|0)*3|0)|0;i=(d[h>>0]|d[h+1>>0]<<8)&65535|d[h+2>>0]<<16;if(((i&15)+-4|0)>-1?(O=p+-49|0,Y=p+-1073741913|0,O=Y>>>0<8?Y:O>>>0<8?O:-1,(O|0)>-1):0){Y=i&2097151|O<<21;X=Y&65535;a[h>>0]=X;a[h+1>>0]=X>>8;a[h+2>>0]=Y>>>16;c[D>>2]=O;Ij(f);h=a[r>>0]&7;if((a[(c[f>>2]|0)+81916>>0]|0)==(h|0)?a[g>>0]|0:0)break j;i=c[A>>2]|0;j=d[(c[q>>2]|0)+11520+(h*51|0)+49>>0]|0;if((i|0)<(63-j|0)){k=i+1|0;c[A>>2]=k;h=c[x>>2]|0;do if((k|0)<(h|0)){h=k;fa=222}else{if((i|0)<(h+15|0))break;h=i+-14|0;fa=222}while(0);if((fa|0)==222){fa=0;c[x>>2]=h}j=64-j|0;if((k|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0))break j;c[x>>2]=h}}break}case 4:case 3:{k=c[A>>2]|0;m=n+(N*192|0)+(k*3|0)|0;m=(d[m>>0]|d[m+1>>0]<<8)&65535|d[m+2>>0]<<16;if(((m&15)+-4|0)>-1?(I=p+-48|0,I=(p|0)==1073741922?0:(p+-1073741913|0)>>>0<9?p+-1073741912|0:I>>>0<10?I:-1,(I|0)>-1):0){i=(m&16777215)>>>10&32|(m&16777215)>>>16&31;h=i&16777215;j=(j|0)==3;if(j)i=I*10|0;else{i=h-((((i&16777215)>>>0)%10|0)&16777215)|0;h=I}Y=i+((h|0)%10|0)|0;Y=(Y|0)<63?Y:63;k=n+(N*192|0)+(k*3|0)|0;Y=Y<<16&2031616|Y<<10&32768|m&14712831;X=Y&65535;a[k>>0]=X;a[k+1>>0]=X>>8;a[k+2>>0]=Y>>>16;k=c[A>>2]|0;Y=n+(N*192|0)+(k*3|0)|0;Y=(d[Y>>0]|d[Y+1>>0]<<8)&65535|d[Y+2>>0]<<16;c[F>>2]=((Y&16777215)>>>10&32|(Y&16777215)>>>16&31)&16777215;if(j){h=c[y>>2]|0;if((h|0)>=31)break j;c[y>>2]=h+1;h=c[x>>2]|0;do if((k|0)<(h|0)){h=k;fa=239}else{if((k|0)<(h+16|0))break;h=k+-15|0;fa=239}while(0);if((fa|0)==239){fa=0;c[x>>2]=h}i=64-(d[(c[q>>2]|0)+11520+((a[r>>0]&7)*51|0)+49>>0]|0)|0;if((k|0)>=(i|0))c[A>>2]=i+-1;if((h|0)<0){c[x>>2]=0;h=0}i=i+-16|0;if((h|0)<=(i|0))break j;c[x>>2]=i;break j}m=a[r>>0]&7;if((a[(c[f>>2]|0)+81916>>0]|0)==(m|0)?(a[g>>0]|0)!=0:0)i=k;else fa=248;do if((fa|0)==248){fa=0;i=d[(c[q>>2]|0)+11520+(m*51|0)+49>>0]|0;if((k|0)>=(63-i|0)){i=k;break}j=k+1|0;c[A>>2]=j;h=c[x>>2]|0;do if((j|0)<(h|0)){h=j;fa=252}else{if((k|0)<(h+15|0))break;h=k+-14|0;fa=252}while(0);if((fa|0)==252){fa=0;c[x>>2]=h}k=64-i|0;i=k+-1|0;if((j|0)>=(k|0)){c[A>>2]=i;j=i}if((h|0)<0){c[x>>2]=0;h=0}i=k+-16|0;if((h|0)<=(i|0)){i=j;break}c[x>>2]=i;i=j}while(0);h=c[y>>2]|0;if((h|0)<=0)break j;c[y>>2]=h+-1;h=c[x>>2]|0;do if((i|0)<(h|0)){h=i;fa=263}else{if((i|0)<(h+16|0))break;h=i+-15|0;fa=263}while(0);if((fa|0)==263){fa=0;c[x>>2]=h}j=64-(d[(c[q>>2]|0)+11520+(m*51|0)+49>>0]|0)|0;if((i|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0))break j;c[x>>2]=h}break}case 5:{h=n+(N*192|0)+((c[A>>2]|0)*3|0)|0;i=(d[h>>0]|d[h+1>>0]<<8)&65535|d[h+2>>0]<<16;if(((i&15)+-4|0)>-1?(J=p+-48|0,J=(p|0)==1073741922?0:(p+-1073741913|0)>>>0<9?p+-1073741912|0:(p+-97|0)>>>0<6?p+-87|0:J>>>0<10?J:-1,(J|0)>-1):0){Y=15-J|0;X=i&16776975|Y<<4&240;W=X&65535;a[h>>0]=W;a[h+1>>0]=W>>8;a[h+2>>0]=X>>>16;c[E>>2]=Y;Ij(f);h=a[r>>0]&7;if((a[(c[f>>2]|0)+81916>>0]|0)==(h|0)?a[g>>0]|0:0)break j;i=c[A>>2]|0;j=d[(c[q>>2]|0)+11520+(h*51|0)+49>>0]|0;if((i|0)<(63-j|0)){k=i+1|0;c[A>>2]=k;h=c[x>>2]|0;do if((k|0)<(h|0)){h=k;fa=278}else{if((i|0)<(h+15|0))break;h=i+-14|0;fa=278}while(0);if((fa|0)==278){fa=0;c[x>>2]=h}j=64-j|0;if((k|0)>=(j|0))c[A>>2]=j+-1;if((h|0)<0){c[x>>2]=0;i=0}else i=h;h=j+-16|0;if((i|0)<=(h|0))break j;c[x>>2]=h}}break}default:{}}while(0);Sj(c[B>>2]|0)|0}break}case 769:{c[H>>2]=-1;Y=c[f>>2]|0;Bg[c[Y+2439744>>2]&255](Y,(c[y>>2]|0)/8|0);break}default:{}}while(0);h=eh()|0;if(!h)break a}}while(0);m=c[f>>2]|0;if(a[g>>0]|0){g=a[m+81916>>0]|0;k=f+8|0;if(((g|0)==(a[k>>0]&7|0)?(R=f+28|0,(c[R>>2]|0)>-1):0)?(Q=a[m+81918>>0]|0,Q<<24>>24>-1):0){i=Q<<24>>24;c[f+20>>2]=a[m+81917>>0];c[R>>2]=i;j=f+32|0;h=c[j>>2]|0;if((i|0)>=(h|0)){if((i|0)>=(h+16|0)){h=i+-15|0;fa=317}}else{h=i;fa=317}if((fa|0)==317)c[j>>2]=h;g=64-(d[(c[f+4>>2]|0)+11520+(g*51|0)+49>>0]|0)|0;if((i|0)>=(g|0))c[R>>2]=g+-1;if((h|0)<0){c[j>>2]=0;h=0}g=g+-16|0;if((h|0)>(g|0))c[j>>2]=g}}else k=f+8|0;Bg[c[m+2439672>>2]&255](m,7);Y=f+4|0;W=c[Y>>2]|0;X=a[k>>0]&7;Kj(f,7,85568,X,7);Kj(f,67,85574,(a[W+11520+(X*51|0)+48>>0]|0)+150|0,8);Kj(f,133,85580,(a[W+11520+(X*51|0)+50>>0]|0)+6|0,9);Kj(f,181,85584,64-(d[W+11520+(X*51|0)+49>>0]|0)|0,10);if((((((c[48]|0)+-6|0)>>>0<13?(S=c[49]|0,(S+-34|0)>>>0<97):0)?(c[68]=11,a[204]|0):0)?((c[52]|0)+-6|0)>>>0<13:0)?((c[53]|0)+-34|0)>>>0<97:0)c[f+20>>2]=(S+-35|0)/6|0;X=c[f>>2]|0;Gg[c[X+2439688>>2]&7](X,6,34,13,97,0);X=c[f>>2]|0;i=X+2439688|0;Gg[c[i>>2]&7](X,6,33,13,1,3);Gg[c[i>>2]&7](X,5,34,1,97,3);Gg[c[i>>2]&7](X,6,131,13,1,10);Gg[c[i>>2]&7](X,19,34,1,97,10);X=f+20|0;i=0;do{h=c[f>>2]|0;if((a[h+81916>>0]|0)==(a[k>>0]&7|0)){g=i*6|0;if((a[h+81917>>0]|0)==(i|0)){Xg(0,g+35|0,85589,0);Xg(0,g+34|0,85589,15)}}else g=i*6|0;if((i|0)==(c[X>>2]|0)){W=c[f>>2]|0;Gg[c[W+2439688>>2]&7](W,6,g+34|0,13,7,15)};a[$>>0]=a[85597]|0;a[$+1>>0]=a[85598]|0;a[$+2>>0]=a[85599]|0;c[ea>>2]=i;zN($,85600,ea)|0;W=c[f>>2]|0;lg[c[W+2439664>>2]&31](W,$,7,g+35|0,3)|0;i=i+1|0}while((i|0)!=16);W=f+28|0;g=c[W>>2]|0;if((g|0)>-1){a[ea>>0]=a[85597]|0;a[ea+1>>0]=a[85598]|0;a[ea+2>>0]=a[85599]|0;c[T>>2]=g;zN(ea,85600,T)|0;V=c[f>>2]|0;lg[c[V+2439664>>2]&31](V,ea,7,25,0)|0;V=c[f>>2]|0;lg[c[V+2439664>>2]&31](V,ea,7,24,15)|0}s=f+88|0;V=f+24|0;t=f+16|0;r=0;do{i=c[Y>>2]|0;p=a[k>>0]&7;j=(c[X>>2]|0)*3|0;m=j+1|0;n=j+2|0;q=r*6|0;p=(d[i+11520+(p*51|0)+n>>0]<<16|(d[i+11520+(p*51|0)+m>>0]<<8|d[i+11520+(p*51|0)+j>>0]))>>>q&63;u=r*54|0;o=u+37|0;g=c[48]|0;k:do if(((g|0)>=(o|0)?(aa=u+43|0,(g|0)<(aa|0)):0)?((c[49]|0)+-24|0)>>>0<6:0){c[68]=11;if((a[204]|0)!=0?(T=c[52]|0,(T|0)>=(o|0)&(T|0)<(aa|0)):0)h=((c[53]|0)+-24|0)>>>0<6;else h=0;do if((((a[205]|0)!=0?(T=c[52]|0,(T|0)>=(o|0)&(T|0)<(aa|0)):0)?((c[53]|0)+-24|0)>>>0<6:0)?(T=c[54]|0,(T|0)>=(o|0)&(T|0)<(aa|0)):0){if(((c[55]|0)+-24|0)>>>0>=6){g=10;fa=354;break}a[205]=0;T=a[k>>0]&7;Q=i+11520+(T*51|0)+j|0;R=i+11520+(T*51|0)+m|0;T=i+11520+(T*51|0)+n|0;S=d[R>>0]<<8|d[Q>>0]|d[T>>0]<<16;P=S>>>q&63;P=(P|0)==0?60:P+-1|0;S=((P|0)>60?0:P)<>0]=S;a[R>>0]=S>>>8;a[T>>0]=S>>>16;Sj(c[s>>2]|0)|0;if(h)g=10;else{g=10;h=24;break k}}else{g=10;fa=354}while(0);if((fa|0)==354){fa=0;if(!h){h=24;break}}h=25}else{g=3;h=24}while(0);Xg(o,h,85605,g);h=u+43|0;i=u+42|0;j=c[48]|0;g=u+55|0;if(((((((j|0)>=(i|0)&(j|0)<(g|0)?((c[49]|0)+-23|0)>>>0<7:0)?(c[68]=11,a[205]|0):0)?(T=c[52]|0,(T|0)>=(i|0)&(T|0)<(g|0)):0)?((c[53]|0)+-23|0)>>>0<7:0)?(T=c[54]|0,(T|0)>=(i|0)&(T|0)<(g|0)):0)?((c[55]|0)+-23|0)>>>0<7:0){a[205]=0;c[W>>2]=-1;c[V>>2]=r<<3;c[t>>2]=(j-i|0)/6|0}T=c[f>>2]|0;Gg[c[T+2439688>>2]&7](T,i,23,13,7,0);T=c[f>>2]|0;S=T+2439688|0;Gg[c[S>>2]&7](T,i,22,13,1,3);Gg[c[S>>2]&7](T,u+41|0,23,1,7,3);Gg[c[S>>2]&7](T,i,30,13,1,10);Gg[c[S>>2]&7](T,g,23,1,7,10);if((c[W>>2]|0)==-1?((c[V>>2]|0)/8|0|0)==(r|0):0){T=c[f>>2]|0;Gg[c[T+2439688>>2]&7](T,((c[t>>2]|0)*6|0)+i|0,23,7,7,6)};a[$>>0]=a[85597]|0;a[$+1>>0]=a[85598]|0;a[$+2>>0]=a[85599]|0;c[ja>>2]=p;zN($,85600,ja)|0;i=c[f>>2]|0;lg[c[i+2439664>>2]&31](i,$,h,24,15)|0;i=u+55|0;g=c[48]|0;l:do if(((g|0)>=(i|0)?(ba=u+61|0,(g|0)<(ba|0)):0)?((c[49]|0)+-24|0)>>>0<6:0){c[68]=11;if((a[204]|0)!=0?(T=c[52]|0,(T|0)>=(i|0)&(T|0)<(ba|0)):0)h=((c[53]|0)+-24|0)>>>0<6;else h=0;do if(a[205]|0){T=c[52]|0;if(!((T|0)>=(i|0)&(T|0)<(ba|0))){g=10;fa=379;break}if(((c[53]|0)+-24|0)>>>0>=6){g=10;fa=379;break}T=c[54]|0;if(!((T|0)>=(i|0)&(T|0)<(ba|0))){g=10;fa=379;break}if(((c[55]|0)+-24|0)>>>0>=6){g=10;fa=379;break}a[205]=0;S=c[Y>>2]|0;T=a[k>>0]&7;P=(c[X>>2]|0)*3|0;Q=S+11520+(T*51|0)+P|0;R=P+1+(S+11520+(T*51|0))|0;T=P+2+(S+11520+(T*51|0))|0;S=d[R>>0]<<8|d[Q>>0]|d[T>>0]<<16;P=(S>>>q&63)+1|0;S=(P>>>0>60?0:P)<>0]=S;a[R>>0]=S>>>8;a[T>>0]=S>>>16;Sj(c[s>>2]|0)|0;if(h)g=10;else{g=10;h=24;break l}}else{g=10;fa=379}while(0);if((fa|0)==379){fa=0;if(!h){h=24;break}}h=25}else{g=3;h=24}while(0);Xg(i,h,85613,g);g=u+67|0;h=c[f>>2]|0;i=c[48]|0;do if(((((i|0)>=(g|0)?(ca=u+72|0,(i|0)<(ca|0)):0)?((c[49]|0)+-24|0)>>>0<5:0)?(c[68]=11,KP(804,85621,39)|0,a[205]|0):0)?(T=c[52]|0,(T|0)>=(g|0)&(T|0)<(ca|0)):0){if(((c[53]|0)+-24|0)>>>0>=5)break;T=c[54]|0;if(!((T|0)>=(g|0)&(T|0)<(ca|0)))break;if(((c[55]|0)+-24|0)>>>0>=5)break;a[205]=0;if(!(b[160510]&192)){T=f+80+r|0;a[T>>0]=a[T>>0]^1;break}else{a[da>>0]=(r|0)==0&1;a[_>>0]=(r|0)==1&1;a[Z>>0]=(r|0)==2&1;a[U>>0]=(r|0)==3&1;break}}while(0);a[ea>>0]=14;Hg[c[h+2439696>>2]&7](h,h+1260276|0,a[f+80+r>>0]|0?36:52,g,24,ea,1);r=r+1|0}while((r|0)!=4);J=f+32|0;K=f+76|0;E=f+52|0;G=f+56|0;D=f+60|0;F=f+64|0;H=f+68|0;I=f+72|0;L=ja+1|0;M=ja+2|0;N=ja+3|0;O=ja+4|0;P=ja+5|0;Q=ja+6|0;R=ja+7|0;C=0;do{i=C*54|0;S=i+25|0;T=c[f>>2]|0;U=i+24|0;g=c[48]|0;do if((((((g|0)>=(U|0)?(ga=i+73|0,(g|0)<(ga|0)):0)?(ha=c[49]|0,(ha+-34|0)>>>0<97):0)?(c[68]=11,(a[204]|0)!=0):0)?(fa=c[52]|0,(fa|0)>=(U|0)&(fa|0)<(ga|0)):0)?((c[53]|0)+-34|0)>>>0<97:0){g=((g+-1-U|0)/6|0)+(C<<3)|0;c[V>>2]=g;h=((ha+-35|0)/6|0)+(c[J>>2]|0)|0;c[W>>2]=h;if(!(a[K>>0]|0)){c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;c[D+12>>2]=0;c[E>>2]=g;c[G>>2]=h;a[K>>0]=1;fa=404;break}ea=c[E>>2]|0;fa=(g|0)<(ea|0)?g:ea;da=c[G>>2]|0;ca=(h|0)<(da|0)?h:da;ea=((g|0)>(ea|0)?g:ea)-fa+1|0;c[D>>2]=fa;c[F>>2]=ca;c[H>>2]=ea;c[I>>2]=1-ca+((h|0)>(da|0)?h:da);if((ea+((fa|0)%8|0)|0)>8){c[E>>2]=-1;c[G>>2]=-1;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;c[D+12>>2]=0;fa=403}else fa=403}else fa=403;while(0);if((fa|0)==403?(fa=0,a[K>>0]|0):0)fa=404;if((fa|0)==404?(0,!((a[204]|0)!=0&(c[52]|0)>>>0<240&(c[53]|0)>>>0<136)):0)a[K>>0]=0;q=T+2439688|0;Gg[c[q>>2]&7](T,U,34,49,97,0);j=c[f>>2]|0;r=j+2439688|0;Gg[c[r>>2]&7](j,U,33,49,1,3);Gg[c[r>>2]&7](j,i+23|0,34,1,97,3);Gg[c[r>>2]&7](j,U,131,49,1,10);Gg[c[r>>2]&7](j,i+73|0,34,1,97,10);j=c[J>>2]|0;r=((c[D>>2]|0)/8|0|0)==(C|0);t=c[Y>>2]|0;u=a[k>>0]&7;s=(c[X>>2]|0)*3|0;s=(d[s+2+(t+11520+(u*51|0))>>0]<<16|(d[s+1+(t+11520+(u*51|0))>>0]<<8|d[t+11520+(u*51|0)+s>>0]))>>>(C*6|0)&63;s=(s|0)==0?0:t+((s+-1|0)*192|0)|0;t=(s|0)==0;u=i+21|0;v=j+15|0;w=i+31|0;x=i+37|0;y=i+43|0;z=i+49|0;A=i+55|0;B=i+61|0;n=i+67|0;m=0;while(1){o=m*6|0;p=o+35|0;if((j|0)==(c[W>>2]|0)){fa=c[f>>2]|0;Gg[c[fa+2439688>>2]&7](fa,U,o+34|0,49,7,1)}if(r?(fa=c[F>>2]|0,ea=c[I>>2]|0,(j|0)>=(fa|0)&(ea|0)>1&(j|0)<(ea+fa|0)):0)Gg[c[q>>2]&7](T,U,o+34|0,49,7,14);g=c[f>>2]|0;if(((a[g+81916>>0]|0)==(a[k>>0]&7|0)?(a[g+81917>>0]|0)==(c[X>>2]|0):0)?(a[g+81918>>0]|0)==(j|0):0)Gg[c[g+2439688>>2]&7](g,U,o+34|0,49,7,15);g=ja;h=85636;i=g+9|0;do{a[g>>0]=a[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));do if(!t){g=s+(j*3|0)|0;g=(d[g>>0]|d[g+1>>0]<<8)&65535|d[g+2>>0]<<16;h=g&15;if((h&16777215|0)==1){a[ja>>0]=a[85645]|0;a[ja+1>>0]=a[85646]|0;a[ja+2>>0]=a[85647]|0;a[ja+3>>0]=a[85648]|0;a[ja+4>>0]=a[85649]|0;a[ja+5>>0]=a[85650]|0;a[ja+6>>0]=a[85651]|0;break}if((h&16777215)>>>0>3){c[ka>>2]=c[2332+((h&16777215)+-4<<2)>>2];c[ka+4>>2]=((g&16777215)>>>21)+1&16777215;c[ka+8>>2]=((g&16777215)>>>10&32|(g&16777215)>>>16&31)&16777215;c[ka+12>>2]=((g&16777215)>>>4&15^15)&16777215;zN(ja,85652,ka)|0;g=a[ja>>0]|0}else g=45;if(!(j&3)){fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,g,S,p,11)|0;fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,a[L>>0]|0,w,p,11)|0;fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,a[M>>0]|0,x,p,11)|0;fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,a[N>>0]|0,y,p,9)|0;fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,a[O>>0]|0,z,p,9)|0;fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,a[P>>0]|0,A,p,8)|0;fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,a[Q>>0]|0,B,p,7)|0;fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,a[R>>0]|0,n,p,7)|0;break}else{fa=c[f>>2]|0;lg[c[fa+2439656>>2]&31](fa,g,S,p,g<<24>>24!=45?11:5)|0;fa=a[L>>0]|0;ea=c[f>>2]|0;lg[c[ea+2439656>>2]&31](ea,fa,w,p,fa<<24>>24!=45?11:5)|0;fa=a[M>>0]|0;ea=c[f>>2]|0;lg[c[ea+2439656>>2]&31](ea,fa,x,p,fa<<24>>24!=45?11:5)|0;fa=a[N>>0]|0;ea=c[f>>2]|0;lg[c[ea+2439656>>2]&31](ea,fa,y,p,a[(fa<<24>>24!=45?85667:85671)+1>>0]|0)|0;fa=a[O>>0]|0;ea=c[f>>2]|0;lg[c[ea+2439656>>2]&31](ea,fa,z,p,a[(fa<<24>>24!=45?85667:85671)+1>>0]|0)|0;fa=a[P>>0]|0;ea=c[f>>2]|0;lg[c[ea+2439656>>2]&31](ea,fa,A,p,a[(fa<<24>>24!=45?85667:85671)+2>>0]|0)|0;fa=a[Q>>0]|0;ea=c[f>>2]|0;lg[c[ea+2439656>>2]&31](ea,fa,B,p,a[(fa<<24>>24!=45?85667:85671)+3>>0]|0)|0;fa=a[R>>0]|0;ea=c[f>>2]|0;lg[c[ea+2439656>>2]&31](ea,fa,n,p,a[(fa<<24>>24!=45?85667:85671)+3>>0]|0)|0;break}}else{fa=c[f>>2]|0;lg[c[fa+2439664>>2]&31](fa,ja,S,p,3)|0}while(0);if((j|0)==(c[W>>2]|0)?(ia=c[V>>2]|0,((ia|0)/8|0|0)==(C|0)):0){ea=(ia|0)%8|0;fa=ea*6|0;da=c[f>>2]|0;Gg[c[da+2439688>>2]&7](da,fa+U|0,o+34|0,7,7,6);da=c[f>>2]|0;lg[c[da+2439656>>2]&31](da,a[ja+ea>>0]|0,fa+S|0,p,0)|0}if(!(j&3)){fa=c[f>>2]|0;Eg[c[fa+2439676>>2]&63](fa,u,o+37|0,0)}if((j|0)<(v|0)){j=j+1|0;m=m+1|0}else break}C=C+1|0}while((C|0)!=4);break}case 1:{do{}while((eh()|0)!=0);ka=c[f>>2]|0;Bg[c[ka+2439672>>2]&255](ka,7);ka=c[f>>2]|0;lg[c[ka+2439664>>2]&31](ka,85675,24,68,15)|0;break}default:{}}j=c[f>>2]|0;Gg[c[j+2439688>>2]&7](j,0,0,240,7,15);j=f+12|0;i=0;while(1){g=i*7|0;k=g+188|0;h=c[48]|0;if((h|0)>=(k|0)?(la=g+195|0,(h|0)<(la|0)&(c[49]|0)>>>0<7):0){c[68]=11;KP(804,c[2380+(i<<2)>>2]|0,39)|0;if(((a[205]|0)!=0?(ka=c[52]|0,(ka|0)>=(k|0)&(ka|0)<(la|0)&(c[53]|0)>>>0<7):0)?(ka=c[54]|0,(ka|0)>=(k|0)&(ka|0)<(la|0)&(c[55]|0)>>>0<7):0){a[205]=0;vg[c[2396+(i<<2)>>2]&511](f);g=1}else g=1}else g=0;h=i<<3;if((i|0)==0?a[j>>0]|0:0){Xg(k,0,85708+h|0,g?12:6);i=1;continue}Xg(k,0,85708+h|0,g?3:10);i=i+1|0;if((i|0)==4)break}if(((c[48]|0)+-222|0)>>>0<9&(c[49]|0)>>>0<7){c[68]=11;KP(804,85740,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-222|0)>>>0<9&(c[53]|0)>>>0<7:0)?((c[54]|0)+-222|0)>>>0<9&(c[55]|0)>>>0<7:0){a[205]=0;c[ma>>2]=1;g=3;fa=451}else{g=3;fa=450}}else{g=10;fa=450}if((fa|0)==450){h=c[ma>>2]|0;if((h|0)==1)fa=451}if((fa|0)==451){h=c[f>>2]|0;Gg[c[h+2439688>>2]&7](h,222,0,9,7,7);Xg(222,1,85751,0);h=c[ma>>2]|0}Xg(222,0,85751,(h|0)==1?15:g);if(((c[48]|0)+-231|0)>>>0<9&(c[49]|0)>>>0<7){c[68]=11;KP(804,85767,39)|0;if(((a[205]|0)!=0?((c[52]|0)+-231|0)>>>0<9&(c[53]|0)>>>0<7:0)?((c[54]|0)+-231|0)>>>0<9&(c[55]|0)>>>0<7:0){a[205]=0;c[ma>>2]=0;g=3}else{g=3;fa=457}}else{g=10;fa=457}if((fa|0)==457){h=c[ma>>2]|0;if(h){ma=g;la=h;la=(la|0)==0;ma=la?15:ma;Xg(231,0,85759,ma);f=c[f>>2]|0;Vg(f,7);l=na;return}}la=c[f>>2]|0;Gg[c[la+2439688>>2]&7](la,231,0,9,7,7);Xg(231,1,85759,0);la=g;ma=c[ma>>2]|0;ma=(ma|0)==0;ma=ma?15:la;Xg(231,0,85759,ma);f=c[f>>2]|0;Vg(f,7);l=na;return}function Fj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;switch(d|0){case 0:{Gj(b,1);return}case 1:{Gj(b,0);return}case 2:{Hj(b);return}case 3:{h=c[b+88>>2]|0;b=c[h>>2]|0;if(c[b+4>>2]|0){d=c[b+12>>2]|0;g=b+16|0;if(d>>>0<(c[g>>2]|0)>>>0){e=b+8|0;f=h+8|0;b=d;d=0;while(1){i=(c[f>>2]|0)+b|0;a[i>>0]=a[i>>0]^a[(c[e>>2]|0)+d>>0];b=b+1|0;if(b>>>0>=(c[g>>2]|0)>>>0)break;else d=d+1|0}b=c[h>>2]|0}c[h>>2]=c[b+4>>2]}CQ(c[h+12>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0)|0;return}case 4:{g=c[b+88>>2]|0;b=c[c[g>>2]>>2]|0;if(b|0?(c[g>>2]=b,h=c[b+12>>2]|0,i=b+16|0,h>>>0<(c[i>>2]|0)>>>0):0){e=b+8|0;f=g+8|0;b=h;d=0;while(1){h=(c[f>>2]|0)+b|0;a[h>>0]=a[h>>0]^a[(c[e>>2]|0)+d>>0];b=b+1|0;if(b>>>0>=(c[i>>2]|0)>>>0)break;else d=d+1|0}}CQ(c[g+12>>2]|0,c[g+8>>2]|0,c[g+4>>2]|0)|0;return}default:return}}function Gj(b,e){b=b|0;e=e|0;var 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;x=l;l=l+16|0;o=x+8|0;m=x;t=b+24|0;p=b+4|0;j=c[p>>2]|0;q=b+8|0;u=a[q>>0]&7;v=b+20|0;f=(c[v>>2]|0)*3|0;f=((d[f+2+(j+11520+(u*51|0))>>0]|0)<<16|((d[f+1+(j+11520+(u*51|0))>>0]|0)<<8|(d[j+11520+(u*51|0)+f>>0]|0)))>>>(((c[t>>2]|0)/8|0)*6|0)&63;if(!f){l=x;return}h=f+-1|0;if(!(j+(h*192|0)|0)){l=x;return}r=b+64|0;s=b+72|0;f=c[s>>2]|0;g=(f|0)<1;u=b+28|0;f=g?1:f;g=c[(g?u:r)>>2]|0;i=f*3|0;k=i+1|0;n=TM(k)|0;if(!n){l=x;return}a[n>>0]=f;CQ(n+1|0,j+(h*192|0)+(g*3|0)|0,i|0)|0;h=TM(k<<1|1)|0;if(h|0){f=0;g=h;while(1){c[m>>2]=d[n+f>>0];zN(g,83676,m)|0;i=a[g>>0]|0;j=g+1|0;a[g>>0]=a[j>>0]|0;a[j>>0]=i;f=f+1|0;if((f|0)==(k|0))break;else g=g+2|0}g=c[79957]|0;do if(g){f=c[g+240>>2]|0;if(!f){o=g+288|0;UM(c[o>>2]|0);c[o>>2]=aP(h)|0;break}else{hg[f&63](g,h)|0;break}}else _D(310107,o);while(0);UM(h)}UM(n);if(e){g=c[p>>2]|0;q=a[q>>0]&7;f=(c[v>>2]|0)*3|0;f=((d[f+2+(g+11520+(q*51|0))>>0]|0)<<16|((d[f+1+(g+11520+(q*51|0))>>0]|0)<<8|(d[g+11520+(q*51|0)+f>>0]|0)))>>>(((c[t>>2]|0)/8|0)*6|0)&63;if(f|0?(w=f+-1|0,g+(w*192|0)|0):0){v=c[s>>2]|0;t=(v|0)<1;EQ(g+(w*192|0)+((c[(t?u:r)>>2]|0)*3|0)|0,0,(t?3:v*3|0)|0)|0}Sj(c[b+88>>2]|0)|0}c[b+52>>2]=-1;c[b+56>>2]=-1;w=b+60|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;c[w+12>>2]=0;l=x;return}function Hj(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+32|0;g=q+8|0;n=q+12|0;p=c[b+4>>2]|0;o=a[b+8>>0]&7;e=(c[b+20>>2]|0)*3|0;e=(d[e+2+(p+11520+(o*51|0))>>0]<<16|(d[e+1+(p+11520+(o*51|0))>>0]<<8|d[p+11520+(o*51|0)+e>>0]))>>>(((c[b+24>>2]|0)/8|0)*6|0)&63;if(!e){l=q;return}o=e+-1|0;if(!(p+(o*192|0)|0)){l=q;return}f=c[79957]|0;if(!f){_D(310223,q);l=q;return}e=c[f+248>>2]|0;if(!e){e=c[f+288>>2]|0;if(!e){l=q;return}if(!(a[e>>0]|0)){l=q;return}else h=11}else{if(!(gg[e&511](f)|0)){l=q;return}e=c[79957]|0;if(!e){_D(310165,g);m=aP(334803)|0}else{f=e;h=11}}do if((h|0)==11){e=c[f+244>>2]|0;if(!e){m=c[f+288>>2]|0;m=aP(m|0?m:334803)|0;break}else{m=gg[e&511](f)|0;break}}while(0);if(!m){l=q;return}k=JO(m)|0;j=k>>>1;if(k>>>0>3){k=TM(j)|0;i=JO(m)|0;a[n>>0]=a[38110]|0;a[n+1>>0]=a[38111]|0;a[n+2>>0]=a[38112]|0;a[n+3>>0]=a[38113]|0;a[n+4>>0]=a[38114]|0;g=(i|0)/2|0;if((i|0)>1){h=n+3|0;i=n+2|0;e=m;f=0;while(1){a[h>>0]=a[e>>0]|0;a[i>>0]=a[e+1>>0]|0;a[k+f>>0]=nN(n)|0;f=f+1|0;if((f|0)>=(g|0))break;else e=e+2|0}}e=a[k>>0]|0;f=e&255;if((f*3|0)==(j+-1|0)){n=c[b+28>>2]|0;CQ(p+(o*192|0)+(n*3|0)|0,k+1|0,(((n+f|0)>64?64-n&255:e)&255)*3|0)|0;Sj(c[b+88>>2]|0)|0}UM(k)}UM(m);l=q;return}function Ij(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=b+24|0;k=(c[j>>2]|0)/8|0;h=b+4|0;f=c[h>>2]|0;i=b+8|0;g=a[i>>0]&7;l=b+20|0;e=(c[l>>2]|0)*3|0;e=((d[e+2+(f+11520+(g*51|0))>>0]|0)<<16|((d[e+1+(f+11520+(g*51|0))>>0]|0)<<8|(d[f+11520+(g*51|0)+e>>0]|0)))>>>(k*6|0)&63;if(!e)return;e=e+-1|0;if(!(f+(e*192|0)|0))return;g=b+28|0;e=f+(e*192|0)+((c[g>>2]|0)*3|0)|0;e=(((d[e>>0]|d[e+1>>0]<<8)&65535|(d[e+2>>0]|0)<<16)&15)+-4|0;if((e|0)<=-1)return;f=b+36|0;if((c[f>>2]|0)==(e|0))return;c[f>>2]=e;f=c[b>>2]|0;Bg[c[f+2439744>>2]&255](f,k);b=c[b>>2]|0;h=c[h>>2]|0;i=a[i>>0]&7;l=(c[l>>2]|0)*3|0;l=h+(((((d[l+2+(h+11520+(i*51|0))>>0]|0)<<16|((d[l+1+(h+11520+(i*51|0))>>0]|0)<<8|(d[h+11520+(i*51|0)+l>>0]|0)))>>>(((c[j>>2]|0)/8|0)*6|0)&63)+-1|0)*192|0)+((c[g>>2]|0)*3|0)|0;l=(d[l>>0]|d[l+1>>0]<<8)&65535|(d[l+2>>0]|0)<<16;Ig[c[b+2439748>>2]&7](b,((l&16777215)>>>10&32|(l&16777215)>>>16&31)&16777215,e,(l&16777215)>>>21&16777215,-1,k,((l&16777215)>>>4&15^15)&16777215,0);return}function Jj(b,c,d){b=b|0;c=c|0;d=d|0;d=b+8|0;b=a[d>>0]|0;a[d>>0]=(b&255)+c&7|b&-8;return}function Kj(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,m=0,n=0;n=l;l=l+16|0;k=n;j=n+4|0;i=c[b>>2]|0;lg[c[i+2439660>>2]&31](i,e,d,12,0)|0;i=c[b>>2]|0;lg[c[i+2439660>>2]&31](i,e,d,11,15)|0;i=((JO(e)|0)*6|0)+d|0;e=c[48]|0;h=i+6|0;do if((e|0)>=(i|0)&(e|0)<(h|0)?((c[49]|0)+-11|0)>>>0<6:0){c[68]=11;if((a[204]|0)!=0?(e=c[52]|0,(e|0)>=(i|0)&(e|0)<(h|0)):0)e=((c[53]|0)+-11|0)>>>0<6;else e=0;if(((((a[205]|0)!=0?(d=c[52]|0,(d|0)>=(i|0)&(d|0)<(h|0)):0)?((c[53]|0)+-11|0)>>>0<6:0)?(d=c[54]|0,(d|0)>=(i|0)&(d|0)<(h|0)):0)?((c[55]|0)+-11|0)>>>0<6:0){a[205]=0;Dg[g&63](b,-1,0);if(e)d=10;else{d=10;e=11;break}}else{d=10;m=12}if((m|0)==12)if(!e){e=11;break}e=12}else{d=3;e=11}while(0);Xg(i,e,85872,d);c[j>>2]=3750201;c[k>>2]=f;zN(j,85600,k)|0;i=c[b>>2]|0;lg[c[i+2439664>>2]&31](i,j,h,12,0)|0;i=c[b>>2]|0;lg[c[i+2439664>>2]&31](i,j,h,11,15)|0;i=h+((f|0)>99?18:12)|0;d=c[48]|0;if((d|0)<(i|0)){m=3;g=11;Xg(i,g,85880,m);l=n;return}h=i+6|0;if((d|0)>=(h|0)){m=3;g=11;Xg(i,g,85880,m);l=n;return}if(((c[49]|0)+-11|0)>>>0>=6){m=3;g=11;Xg(i,g,85880,m);l=n;return}c[68]=11;if((a[204]|0)!=0?(k=c[52]|0,(k|0)>=(i|0)&(k|0)<(h|0)):0)e=((c[53]|0)+-11|0)>>>0<6;else e=0;if(((((a[205]|0)!=0?(k=c[52]|0,(k|0)>=(i|0)&(k|0)<(h|0)):0)?((c[53]|0)+-11|0)>>>0<6:0)?(k=c[54]|0,(k|0)>=(i|0)&(k|0)<(h|0)):0)?((c[55]|0)+-11|0)>>>0<6:0){a[205]=0;Dg[g&63](b,1,0);if(e)d=10;else{m=10;g=11;Xg(i,g,85880,m);l=n;return}}else{d=10;m=26}if((m|0)==26)if(!e){m=d;g=11;Xg(i,g,85880,m);l=n;return}m=d;g=12;Xg(i,g,85880,m);l=n;return}function Lj(b,d,e){b=b|0;d=d|0;e=e|0;e=(c[b+4>>2]|0)+11520+((a[b+8>>0]&7)*51|0)+48|0;d=(a[e>>0]|0)+(d*10|0)|0;d=(d|0)<100?d:100;a[e>>0]=(d|0)>-110?d:-110;Sj(c[b+88>>2]|0)|0;return}function Mj(b,d,e){b=b|0;d=d|0;e=e|0;e=(c[b+4>>2]|0)+11520+((a[b+8>>0]&7)*51|0)+50|0;d=(a[e>>0]|0)+d|0;d=(d|0)<25?d:25;a[e>>0]=(d|0)>-5?d:-5;Sj(c[b+88>>2]|0)|0;return}function Nj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;f=c[b+4>>2]|0;g=b+8|0;h=f+11520+((a[g>>0]&7)*51|0)+49|0;i=(d[h>>0]|0)-e|0;i=(i|0)>0?i:0;a[h>>0]=(i|0)<48?i:48;h=b+28|0;i=c[h>>2]|0;k=b+32|0;e=c[k>>2]|0;if((i|0)>=(e|0)){if((i|0)>=(e+16|0)){e=i+-15|0;j=4}}else{e=i;j=4}if((j|0)==4)c[k>>2]=e;f=64-(d[f+11520+((a[g>>0]&7)*51|0)+49>>0]|0)|0;if((i|0)>=(f|0))c[h>>2]=f+-1;if((e|0)<0){c[k>>2]=0;e=0}f=f+-16|0;if((e|0)<=(f|0)){b=b+88|0;b=c[b>>2]|0;Sj(b)|0;return}c[k>>2]=f;b=b+88|0;b=c[b>>2]|0;Sj(b)|0;return}function Oj(b){b=b|0;b=b+12|0;a[b>>0]=a[b>>0]^1;return}function Pj(b){b=b|0;var d=0;d=c[b>>2]|0;Fg[c[d+2439760>>2]&15](d,a[b+8>>0]&7,c[b+20>>2]|0,-1,1);return}function Qj(b){b=b|0;var d=0;d=c[b>>2]|0;Fg[c[d+2439756>>2]&15](d,a[b+8>>0]&7,-1,-1,1);return}function Rj(a){a=a|0;a=c[a>>2]|0;Fg[c[a+2439756>>2]&15](a,-1,-1,-1,0);return}function Sj(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=b+8|0;h=c[l>>2]|0;n=b+12|0;e=c[n>>2]|0;m=b+4|0;f=c[m>>2]|0;if(!(xN(h,e,f)|0)){n=0;return n|0}a:do if(f){d=0;do{k=h+d|0;a[k>>0]=a[k>>0]^a[e+d>>0];d=d+1|0;h=c[l>>2]|0}while((d|0)!=(f|0));d=c[m>>2]|0;if(!d){d=0;g=0;e=0}else{e=0;while(1){if(a[h+e>>0]|0)break;e=e+1|0;if(e>>>0>=d>>>0){e=d;break}}f=0;while(1){g=d-f|0;f=f+1|0;if(a[h+(g+-1)>>0]|0)break a;if(f>>>0>=d>>>0){g=0;break}}}}else{d=0;g=0;e=0}while(0);i=g-e|0;f=TM(i)|0;CQ(f|0,h+e|0,i|0)|0;i=c[b>>2]|0;k=TM(20)|0;c[k>>2]=0;j=k+4|0;c[j>>2]=0;c[k+8>>2]=f;c[k+12>>2]=e;c[k+16>>2]=g;if(!i)e=h;else{e=c[i>>2]|0;if(!e)e=h;else{d=e;do{e=d;d=c[d>>2]|0;f=c[e+8>>2]|0;if(f|0)UM(f);UM(e)}while((d|0)!=0);e=c[l>>2]|0;d=c[m>>2]|0}c[i>>2]=k;c[j>>2]=i}c[b>>2]=k;CQ(e|0,c[n>>2]|0,d|0)|0;n=1;return n|0}function Tj(b,e,f){b=b|0;e=e|0;f=f|0;var 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,A=0,B=0,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2]|0)?15:g;e=(c[A>>2]|0)+(i>>>1)|0;b=d[e>>0]|0;if(!(i&1)){b=b&240;a[e>>0]=b;g=g&15}else{b=b&15;a[e>>0]=b;g=g<<4&4080}a[e>>0]=g|b}i=i+1|0}while((i|0)!=32640);l=B;return}function Uj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=eh()|0;if(d|0)do{a:do if((c[d>>2]|0)==768?(c[d+16+4>>2]|0)==9:0){d=c[45]|0;b:do switch(d|0){case 5:break a;case 2:{d=c[3]|0;vg[c[d+2439784>>2]&511](d);d=c[3]|0;vg[c[d+2439780>>2]&511](d);break}default:{h=c[3]|0;vg[c[h+2439780>>2]&511](h);switch(d|0){case 11:case 10:case 9:case 1:case 0:break b;case 12:{c[46]=3;break b}default:{c[46]=d;break b}}}}while(0);c[45]=5;d=c[79957]|0;if(((d|0?(e=c[d+224>>2]|0,e|0):0)?gg[e&511](d)|0:0)?(c[45]|2|0)==3:0)PM()}while(0);d=eh()|0}while((d|0)!=0);CQ(c[b>>2]|0,c[b+8>>2]|0,16320)|0;e=c[b+4>>2]|0;d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,0,0,136,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,30,0,30,136,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,60,0,60,136,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,90,0,90,136,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,120,0,120,136,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,150,0,150,136,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,180,0,180,136,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,210,0,210,136,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,0,240,0,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,17,240,17,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,34,240,34,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,51,240,51,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,68,240,68,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,85,240,85,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,102,240,102,10);d=c[b>>2]|0;Gg[c[d+2439684>>2]&7](d,0,119,240,119,10);d=c[b>>2]|0;Gg[c[d+2439692>>2]&7](d,0,0,240,136,10);d=c[48]|0;c:do if(d>>>0<240?(f=c[49]|0,f>>>0<136):0){c[68]=11;if((a[204]|0)!=0&(c[52]|0)>>>0<240&(c[53]|0)>>>0<136){c[e+60>>2]=(d<<3)+-120;c[e+64>>2]=(f<<3)+-64}if((a[205]|0)!=0&(c[52]|0)>>>0<240?(c[53]|0)>>>0<136&(c[54]|0)>>>0<240&(c[55]|0)>>>0<136:0){a[205]=0;d=c[45]|0;d:do switch(d|0){case 5:break c;case 2:{h=c[3]|0;vg[c[h+2439784>>2]&511](h);h=c[3]|0;vg[c[h+2439780>>2]&511](h);break}default:{h=c[3]|0;vg[c[h+2439780>>2]&511](h);switch(d|0){case 11:case 10:case 9:case 1:case 0:break d;case 12:{c[46]=3;break d}default:{c[46]=d;break d}}}}while(0);c[45]=5;d=c[79957]|0;if(((d|0?(g=c[d+224>>2]|0,g|0):0)?gg[g&511](d)|0:0)?(c[45]|2|0)==3:0)PM()}}while(0);h=c[b>>2]|0;Gg[c[h+2439692>>2]&7](h,(c[e+60>>2]|0)/8|0,(c[e+64>>2]|0)/8|0,31,18,6);return}function Vj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=l;l=l+4096|0;b=e;d=c[a>>2]|0;CQ(d+1260276|0,d+81920|0,1178356)|0;Xj(a);d=TM(1178356)|0;if(!d){fh();l=e;return}f=c[a>>2]|0;f=hg[c[f+2439812>>2]&63](f+1260276|0,d)|0;g=c[a+4>>2]|0;a=g+4096|0;PO(b,a)|0;EQ(a|0,0,4096)|0;Ei(g,87991,d,f,1)|0;PO(a,b)|0;UM(d);fh();l=e;return}function Wj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;g=l;l=l+4096|0;f=g;d=b+8|0;e=d+40|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(e|0));c[f>>2]=0;d=gh(f,85888,2103)|0;e=c[f>>2]|0;if(e|0){h=c[b>>2]|0;Eg[c[h+2439808>>2]&63](h+1260276|0,e,d,1);Xj(b);fh();UM(e)}d=TM(1178356)|0;if(!d){l=g;return}e=c[b>>2]|0;e=hg[c[e+2439812>>2]&63](e+1260276|0,d)|0;b=c[b+4>>2]|0;h=b+4096|0;PO(f,h)|0;EQ(h|0,0,4096)|0;Ei(b,87991,d,e,1)|0;PO(h,f)|0;UM(d);l=g;return}function Xj(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;e=q;n=fx(1,0)|0;if(!n){l=q;return}p=n+12|0;c[(c[p>>2]|0)+132>>2]=380;o=(c[b>>2]|0)+1325708|0;j=JO(o)|0;c[e>>2]=o;c[e+4>>2]=j;if(!(Rv(n,7,e,o,0)|0)){o=n+8|0;f=(c[o>>2]|0)+-16|0;c[e>>2]=f;c[e+4>>2]=-1;e=mw(n,148,e,f-(c[n+28>>2]|0)|0,0)|0;f=(c[n+16>>2]|0)+4|0;i=c[o>>2]|0;if((c[f>>2]|0)>>>0>>0)c[f>>2]=i;if(!e){h=c[p>>2]|0;e=c[h+40>>2]|0;a:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(j=f+16|0,(c[j>>2]|0)==2&(c[j+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){g=316088;break a}f=f+(e<<5)|0}g=f}while(0);f=h+280+(((88020>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(88020,e+16|0)|0){e=jx(n,88020,10)|0;c[f>>2]=e}c[i>>2]=e;c[i+8>>2]=(a[e+4>>0]|64)&255;i=c[o>>2]|0;c[o>>2]=i+16;wx(n,g,i,i);i=c[o>>2]|0;if((c[i+-8>>2]|0)==19)c[b+36>>2]=c[i+-16>>2];j=i+-16|0;c[o>>2]=j;h=c[p>>2]|0;e=c[h+40>>2]|0;b:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(g=f+16|0,(c[g>>2]|0)==2&(c[g+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){g=316088;break b}f=f+(e<<5)|0}g=f}while(0);f=h+280+(((88031>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(88031,e+16|0)|0){e=jx(n,88031,9)|0;c[f>>2]=e}c[j>>2]=e;c[i+-8>>2]=(a[e+4>>0]|64)&255;i=c[o>>2]|0;c[o>>2]=i+16;wx(n,g,i,i);i=c[o>>2]|0;if((c[i+-8>>2]|0)==19)c[b+32>>2]=c[i+-16>>2];j=i+-16|0;c[o>>2]=j;h=c[p>>2]|0;e=c[h+40>>2]|0;c:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(g=f+16|0,(c[g>>2]|0)==2&(c[g+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){g=316088;break c}f=f+(e<<5)|0}g=f}while(0);f=h+280+(((88041>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(88041,e+16|0)|0){e=jx(n,88041,17)|0;c[f>>2]=e}c[j>>2]=e;c[i+-8>>2]=(a[e+4>>0]|64)&255;i=c[o>>2]|0;c[o>>2]=i+16;wx(n,g,i,i);i=c[o>>2]|0;j=i+-16|0;if((j|0)!=316088?(k=c[i+-8>>2]|0,(k&15|0)==1):0){switch(k|0){case 0:{e=0;break}case 1:{e=(c[j>>2]|0)!=0;break}default:e=1}a[b+40>>0]=e&1}c[o>>2]=j;h=c[p>>2]|0;e=c[h+40>>2]|0;d:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(k=f+16|0,(c[k>>2]|0)==2&(c[k+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){g=316088;break d}f=f+(e<<5)|0}g=f}while(0);f=h+280+(((88059>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(88059,e+16|0)|0){e=jx(n,88059,8)|0;c[f>>2]=e}c[j>>2]=e;c[i+-8>>2]=(a[e+4>>0]|64)&255;i=c[o>>2]|0;c[o>>2]=i+16;wx(n,g,i,i);i=c[o>>2]|0;j=i+-16|0;if((j|0)!=316088?(m=c[i+-8>>2]|0,(m&15|0)==1):0){switch(m|0){case 0:{e=0;break}case 1:{e=(c[j>>2]|0)!=0;break}default:e=1}a[b+41>>0]=e&1}c[o>>2]=j;h=c[p>>2]|0;e=c[h+40>>2]|0;e:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(m=f+16|0,(c[m>>2]|0)==2&(c[m+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){g=316088;break e}f=f+(e<<5)|0}g=f}while(0);f=h+280+(((88068>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(88068,e+16|0)|0){e=jx(n,88068,11)|0;c[f>>2]=e}c[j>>2]=e;c[i+-8>>2]=(a[e+4>>0]|64)&255;i=c[o>>2]|0;c[o>>2]=i+16;wx(n,g,i,i);i=c[o>>2]|0;if((c[i+-8>>2]|0)==19)c[b+44>>2]=c[i+-16>>2];j=i+-16|0;c[o>>2]=j;h=c[p>>2]|0;e=c[h+40>>2]|0;f:do if((c[e+8>>2]|0)>>>0>1)g=(c[e+12>>2]|0)+16|0;else{f=(c[e+16>>2]|0)+(((1<<(d[e+7>>0]|0))+3&2)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(m=f+16|0,(c[m>>2]|0)==2&(c[m+4>>2]|0)==0):0)break;e=c[f+28>>2]|0;if(!e){g=316088;break f}f=f+(e<<5)|0}g=f}while(0);f=h+280+(((88080>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(88080,e+16|0)|0){e=jx(n,88080,5)|0;c[f>>2]=e}c[j>>2]=e;c[i+-8>>2]=(a[e+4>>0]|64)&255;e=c[o>>2]|0;c[o>>2]=e+16;wx(n,g,e,e);e=c[o>>2]|0;h=e+-16|0;do if((h|0)!=316088){if((c[e+-8>>2]&15|0)!=5)break;g=(c[p>>2]|0)+280+(((88086>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(88086,f+16|0)|0){f=jx(n,88086,6)|0;c[g>>2]=f}c[e>>2]=f;c[e+8>>2]=(a[f+4>>0]|64)&255;g=c[o>>2]|0;c[o>>2]=g+16;wx(n,h,g,g);g=c[o>>2]|0;h=g+-16|0;do if((h|0)==316088)f=g;else{if((c[g+-8>>2]&15|0)!=5){f=g;break}f=(c[p>>2]|0)+280+(((88093>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(88093,e+16|0)|0){e=jx(n,88093,6)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;g=c[o>>2]|0;c[o>>2]=g+16;wx(n,h,g,g);g=c[o>>2]|0;if((c[g+-8>>2]|0)==19)c[b+8>>2]=c[g+-16>>2];h=g+-16|0;c[o>>2]=h;f=(c[p>>2]|0)+280+(((88100>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(88100,e+16|0)|0){e=jx(n,88100,13)|0;c[f>>2]=e}c[h>>2]=e;c[g+-8>>2]=(a[e+4>>0]|64)&255;e=c[o>>2]|0;c[o>>2]=e+16;wx(n,g+-32|0,e,e);e=c[o>>2]|0;f=e+-16|0;do if((f|0)!=316088){e=c[e+-8>>2]|0;if((e&15|0)!=1)break;switch(e|0){case 0:{e=0;break}case 1:{e=(c[f>>2]|0)!=0;break}default:e=1}a[b+12>>0]=e&1}while(0);c[o>>2]=f}while(0);h=f+-16|0;c[o>>2]=h;g=(c[p>>2]|0)+280+(((88114>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(88114,e+16|0)|0){e=jx(n,88114,4)|0;c[g>>2]=e}c[h>>2]=e;c[f+-8>>2]=(a[e+4>>0]|64)&255;e=c[o>>2]|0;c[o>>2]=e+16;wx(n,f+-32|0,e,e);e=c[o>>2]|0;do if((e+-16|0)==316088)f=e;else{if((c[e+-8>>2]&15|0)!=5){f=e;break}j=b+16|0;i=0;do{g=c[2412+(i<<2)>>2]|0;h=(c[p>>2]|0)+280+(((g>>>0)%127|0)<<2)|0;f=c[h>>2]|0;if(wN(g,f+16|0)|0){f=jx(n,g,JO(g)|0)|0;c[h>>2]=f}c[e>>2]=f;c[e+8>>2]=(a[f+4>>0]|64)&255;m=c[o>>2]|0;c[o>>2]=m+16;wx(n,e+-16|0,m,m);e=c[o>>2]|0;if((c[e+-8>>2]|0)==19){a[j+i>>0]=c[e+-16>>2];h=c[o>>2]|0}else h=e;e=h+-16|0;c[o>>2]=e;i=i+1|0}while((i|0)!=8);i=b+24|0;g=(c[p>>2]|0)+280+(((88119>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(88119,f+16|0)|0){f=jx(n,88119,2)|0;c[g>>2]=f}c[e>>2]=f;c[h+-8>>2]=(a[f+4>>0]|64)&255;e=c[o>>2]|0;c[o>>2]=e+16;wx(n,h+-32|0,e,e);e=c[o>>2]|0;if((c[e+-8>>2]|0)==19){a[i>>0]=c[e+-16>>2];e=c[o>>2]|0}h=e+-16|0;c[o>>2]=h;g=(c[p>>2]|0)+280+(((88122>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(88122,f+16|0)|0){f=jx(n,88122,6)|0;c[g>>2]=f}c[h>>2]=f;c[e+-8>>2]=(a[f+4>>0]|64)&255;m=c[o>>2]|0;c[o>>2]=m+16;wx(n,e+-32|0,m,m);e=c[o>>2]|0;if((c[e+-8>>2]|0)==19){a[i+1>>0]=c[e+-16>>2];e=c[o>>2]|0}h=e+-16|0;c[o>>2]=h;g=(c[p>>2]|0)+280+(((88086>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(88086,f+16|0)|0){f=jx(n,88086,6)|0;c[g>>2]=f}c[h>>2]=f;c[e+-8>>2]=(a[f+4>>0]|64)&255;m=c[o>>2]|0;c[o>>2]=m+16;wx(n,e+-32|0,m,m);e=c[o>>2]|0;if((c[e+-8>>2]|0)==19){a[i+2>>0]=c[e+-16>>2];e=c[o>>2]|0}h=e+-16|0;c[o>>2]=h;g=(c[p>>2]|0)+280+(((88129>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(88129,f+16|0)|0){f=jx(n,88129,6)|0;c[g>>2]=f}c[h>>2]=f;c[e+-8>>2]=(a[f+4>>0]|64)&255;f=c[o>>2]|0;c[o>>2]=f+16;wx(n,e+-32|0,f,f);e=c[o>>2]|0;f=e+-16|0;do if((f|0)!=316088){e=c[e+-8>>2]|0;if((e&15|0)!=1)break;switch(e|0){case 0:{e=0;break}case 1:{e=(c[f>>2]|0)!=0&1;break}default:e=1}a[b+27>>0]=e}while(0);c[o>>2]=f}while(0);h=f+-16|0;c[o>>2]=h;g=(c[p>>2]|0)+280+(((88136>>>0)%127|0)<<2)|0;e=c[g>>2]|0;if(wN(88136,e+16|0)|0){e=jx(n,88136,7)|0;c[g>>2]=e}c[h>>2]=e;c[f+-8>>2]=(a[e+4>>0]|64)&255;e=c[o>>2]|0;c[o>>2]=e+16;wx(n,f+-32|0,e,e);e=c[o>>2]|0;h=e+-16|0;do if((h|0)!=316088){if((c[e+-8>>2]&15|0)!=5)break;g=(c[p>>2]|0)+280+(((88144>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(88144,f+16|0)|0){f=jx(n,88144,5)|0;c[g>>2]=f}c[e>>2]=f;c[e+8>>2]=(a[f+4>>0]|64)&255;e=c[o>>2]|0;c[o>>2]=e+16;wx(n,h,e,e);e=c[o>>2]|0;h=e+-16|0;do if((h|0)!=316088){if((c[e+-8>>2]&15|0)!=5)break;g=(c[p>>2]|0)+280+(((88150>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(88150,f+16|0)|0){f=jx(n,88150,5)|0;c[g>>2]=f}c[e>>2]=f;c[e+8>>2]=(a[f+4>>0]|64)&255;e=c[o>>2]|0;c[o>>2]=e+16;wx(n,h,e,e);e=c[o>>2]|0;if((c[e+-8>>2]|0)==19)a[b+28>>0]=c[e+-16>>2];e=e+-16|0;c[o>>2]=e}while(0);e=e+-16|0;c[o>>2]=e}while(0);e=e+-16|0;c[o>>2]=e}while(0);c[o>>2]=e+-16}}hx(c[(c[p>>2]|0)+136>>2]|0);l=q;return}function Yj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+4112|0;j=k;h=k+8|0;i=a+8|0;c[i>>2]=(c[i>>2]|0)+1;b=eh()|0;f=a+12|0;if(b|0){d=a+4|0;do{if(((c[b>>2]|0)==768?(e=c[b+16>>2]|0,(e|0)!=41):0)?(g=c[f>>2]|0,(g|0)>-1):0){c[292+(g<<2)>>2]=e;c[f>>2]=-1;m=c[d>>2]|0;b=m+4096|0;PO(h,b)|0;EQ(b|0,0,4096)|0;Ei(m,88477,292,384,1)|0;PO(b,h)|0}b=eh()|0}while((b|0)!=0)}b=c[a>>2]|0;Bg[c[b+2439672>>2]&255](b,0);b=c[a>>2]|0;Gg[c[b+2439688>>2]&7](b,0,0,240,18,15);b=c[a>>2]|0;lg[c[b+2439660>>2]&31](b,88205,42,6,0)|0;_j(a,16,0);_j(a,136,1);b=c[f>>2]|0;if((b|0)>=0){c[j>>2]=c[2444+((b&7)<<2)>>2];zN(h,88245,j)|0;j=c[a>>2]|0;i=c[j+2439664>>2]|0;m=((O(JO(h)|0,-6)|0)+240|0)/2|0;lg[i&31](j,h,m,120,15)|0;m=c[a>>2]|0;lg[c[m+2439664>>2]&31](m,88266,81,126,15)|0;l=k;return}if(((c[i>>2]|0)%60|0|0)>=30){l=k;return}m=c[a>>2]|0;lg[c[m+2439664>>2]&31](m,88231,81,120,15)|0;l=k;return}function Zj(a){a=a|0;var b=0;a=a+12|0;if((c[a>>2]|0)>=0){c[a>>2]=-1;return}a=c[45]|0;a:do switch(a|0){case 2:{b=c[3]|0;vg[c[b+2439784>>2]&511](b);b=c[3]|0;vg[c[b+2439780>>2]&511](b);break}case 1:return;default:{b=c[3]|0;vg[c[b+2439780>>2]&511](b);switch(a|0){case 10:case 9:case 11:case 0:break a;case 12:{c[46]=3;break a}default:{c[46]=a;break a}}}}while(0);c[45]=1;a=c[79957]|0;if(!a)return;b=c[a+224>>2]|0;if(!b)return;if(!(gg[b&511](a)|0))return;if((c[45]|2|0)!=3)return;PM();return} +function dr(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,v=0,w=0;r=c[b>>2]|0;s=d+28|0;q=s+(c[d+20>>2]|0)|0;v=b+4|0;w=b+12|0;e=c[w>>2]|0;p=c[v>>2]|0;d=p;do if((e|0)==(p|0)){f=b+8|0;d=e-(c[f>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(r,269610,50331716,268447);else{p=b+16|0;Kn(r,c[p>>2]|0,e);p=c[(c[p>>2]|0)+20>>2]|0;g=p+d|0;c[v>>2]=g;c[f>>2]=p;c[w>>2]=p+e;break}}else g=d;while(0);c[v>>2]=g+1;a[g>>0]=34;a:do if(s>>>0>>0){l=q;m=b+8|0;n=b+16|0;o=b+48|0;p=b+40|0;f=c[v>>2]|0;e=s;d=f;while(1){h=l-e|0;h=h>>>0<64?h:64;g=h*6|0;if(((c[w>>2]|0)-d|0)>>>0>>0){f=f-(c[m>>2]|0)|0;d=g+64+f+(f>>>4)|0;if(d>>>0>>0)break;Kn(r,c[n>>2]|0,d);j=c[(c[n>>2]|0)+20>>2]|0;k=j+f|0;c[v>>2]=k;c[m>>2]=j;c[w>>2]=j+d;d=k}k=e+h|0;b:do if((h|0)>0)do{f=e;while(1){e=f+1|0;g=a[f>>0]|0;j=g&255;h=a[272229+j>>0]|0;i=h&255;if(h<<24>>24>-1){a[d>>0]=h;d=d+1|0}else{if((h&255)<=159)break;a[d>>0]=92;a[d+1>>0]=i+128;d=d+2|0}if(e>>>0>>0)f=e;else break b}do if(h<<24>>24==-128){h=(c[o>>2]|0)==0?285813:154744;a[d>>0]=92;f=d+2|0;a[d+1>>0]=h;h=h>>>16;if(!h)d=f;else{g=h;while(1){g=g+-1|0;a[f>>0]=a[268698+(j>>>(g<<2)&15)>>0]|0;if(!g)break;else f=f+1|0}d=d+(h+2)|0}}else{c:do if(f>>>0>=s>>>0&f>>>0>>0){do if(g<<24>>24<=-1){if((g&255)<192){g=j;break c}if((g&255)<224){g=1;f=j&31;break}if((g&255)<240){g=2;f=j&15;break}if((g&255)<248){g=3;f=j&7;break}if((g&255)<252){g=4;f=j&3;break}if((g&255)>=254)if(g<<24>>24==-1){g=j;break c}else{g=6;f=0;break}else{g=5;f=j&1;break}}else{g=0;f=j&127}while(0);if((e+g|0)>>>0<=q>>>0)if(!g)g=f;else{h=e;while(1){e=h+1|0;f=a[h>>0]&63|f<<6;if((g|0)>1){h=e;g=g+-1|0}else{g=f;break}}}else g=j}else g=j;while(0);if((g|1|0)==8233|(c[p>>2]|0)!=0){if(g>>>0>=256)if(g>>>0<65536)f=285813;else f=(c[o>>2]|0)==0?546091:547925;else f=(c[o>>2]|0)==0?285813:154744;a[d>>0]=f>>>8;h=d+2|0;a[d+1>>0]=f;i=f>>>16;if(!i){d=h;break}else{f=h;h=i}while(1){h=h+-1|0;a[f>>0]=a[268698+(g>>>(h<<2)&15)>>0]|0;if(!h)break;else f=f+1|0}d=d+(i+2)|0;break}if(g>>>0<128){h=0;f=1}else{if(g>>>0>=2048)if(g>>>0>=65536)if(g>>>0>=2097152)if(g>>>0<67108864){f=5;t=54}else f=g>>>31|6;else{f=4;t=54}else{f=3;t=54}else{f=2;t=54}if((t|0)==54)t=0;h=a[268912+(f+-1)>>0]|0;i=f;do{i=i+-1|0;a[d+i>>0]=g&63|128;g=g>>>6}while((i|0)>1)}a[d>>0]=g+(h&255);d=d+f|0}while(0)}while(e>>>0>>0);while(0);c[v>>2]=d;f=d;if(e>>>0>=q>>>0){u=f;break a}}Jn(r,269610,50331716,268447)}else u=c[v>>2]|0;while(0);if((c[w>>2]|0)!=(u|0)){b=u;w=b+1|0;c[v>>2]=w;a[b>>0]=34;return}f=c[b>>2]|0;g=b+8|0;d=u-(c[g>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);u=b+16|0;Kn(f,c[u>>2]|0,e);u=c[(c[u>>2]|0)+20>>2]|0;b=u+d|0;c[v>>2]=b;c[g>>2]=u;c[w>>2]=u+e;w=b+1|0;c[v>>2]=w;a[b>>0]=34;return}function er(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,m=0;m=l;l=l+16|0;g=m;k=c[a>>2]|0;j=k+76|0;d=c[j>>2]|0;i=k+72|0;c[b>>2]=d-(c[i>>2]|0)>>4;b=(d-(c[k+64>>2]|0)>>4)+96|0;if((c[k+80>>2]|0)>>>0>>0){Yn(k,b,4)|0;d=c[j>>2]|0}e=c[d+-8>>2]|0;h=a+60|0;f=c[h>>2]|0;d=f>>>0<64?f:64;a:do if(d|0){b=0;while(1){if((c[a+92+(b<<2)>>2]|0)==(e|0))break;b=b+1|0;if(b>>>0>=d>>>0)break a}Jn(k,272174,100665057,272188)}while(0);do if((f|0)>=64){c[g>>2]=e;Go(k,280284,g);d=c[j>>2]|0;e=k+68|0;if(d>>>0>=(c[e>>2]|0)>>>0)Sn(k,955);if((d-(c[i>>2]|0)|0)<16)$n(k,958,-1);i=d+-16|0;c[j>>2]=d+16;c[d>>2]=c[i>>2];c[d+4>>2]=c[i+4>>2];c[d+8>>2]=c[i+8>>2];c[d+12>>2]=c[i+12>>2];if(c[d>>2]&8|0){i=(c[d+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}d=a+32|0;if(_p(k,c[d>>2]|0)|0)Jn(k,272174,100665066,272188);b=c[j>>2]|0;if(b>>>0<(c[e>>2]|0)>>>0){c[j>>2]=b+16;c[b>>2]=4;c[b+8>>2]=1;$p(k,c[d>>2]|0);break}else Sn(k,3811)}else c[a+92+(f<<2)>>2]=e;while(0);d=c[h>>2]|0;if((d|0)<(c[a+64>>2]|0)){c[h>>2]=d+1;l=m;return}else Jn(k,272174,50333429,272201)}function fr(b){b=b|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,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,P=0,Q=0;Q=l;l=l+16|0;P=Q;N=Q+4|0;B=c[b>>2]|0;er(b,N);f=c[N>>2]|0;G=f+-1|0;d=c[b+28>>2]|0;if((d|0)<=-1){i=B+76|0;g=c[i>>2]|0;if(g>>>0>=(c[B+68>>2]|0)>>>0)Sn(B,935);j=B+72|0;e=c[j>>2]|0;K=g-e>>4;d=((f|0)<1?K:0)+G|0;if(d>>>0>=K>>>0)$n(B,342,G);K=e+(d<<4)|0;c[i>>2]=g+16;c[g>>2]=c[K>>2];c[g+4>>2]=c[K+4>>2];c[g+8>>2]=c[K+8>>2];c[g+12>>2]=c[K+12>>2];if(c[g>>2]&8|0){K=(c[g+8>>2]|0)+4|0;c[K>>2]=(c[K>>2]|0)+1}tp(B,16);e=c[(c[i>>2]|0)+-8>>2]|0;d=(c[e+28>>2]|0)+-2|0;f=gr(B,d)|0;g=c[f+24>>2]|0;if(d|0){h=(c[e+16>>2]|0)+(c[e+24>>2]<<4)+8|0;e=(c[f+16>>2]|0)+(g*21|0)+(0-g&7)|0;while(1){d=d+-1|0;K=c[h>>2]|0;c[e>>2]=8;c[e+8>>2]=K;K=K+4|0;c[K>>2]=(c[K>>2]|0)+1;if(!d)break;else{h=h+4|0;e=e+16|0}}}e=c[j>>2]|0;f=(c[i>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(B,342,-2);v=e+(d<<4)|0;J=e+(f+-1<<4)|0;K=c[v>>2]|0;e=c[e+(d<<4)+8>>2]|0;DQ(v|0,v+16|0,J-v|0)|0;c[J>>2]=2;d=(c[i>>2]|0)+-16|0;c[i>>2]=d;if((K&8|0)!=0?(J=e+4|0,K=(c[J>>2]|0)+-1|0,c[J>>2]=K,(K|0)==0):0){go(c[B+44>>2]|0,e);d=c[i>>2]|0}d=d-(c[j>>2]|0)>>4;if(!d)$n(B,267,-1);else w=d+-1|0}else w=d;J=b+4|0;K=b+12|0;e=c[K>>2]|0;v=c[J>>2]|0;d=v;do if((e|0)==(v|0)){f=c[b>>2]|0;g=b+8|0;d=e-(c[g>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);else{v=b+16|0;Kn(f,c[v>>2]|0,e);v=c[(c[v>>2]|0)+20>>2]|0;k=v+d|0;c[J>>2]=k;c[g>>2]=v;c[K>>2]=v+e;break}}else k=d;while(0);c[J>>2]=k+1;a[k>>0]=123;p=zp(B,w)|0;do if(p|0){q=B+76|0;u=b+8|0;t=b+24|0;r=b+44|0;v=b+16|0;s=b+60|0;o=0;d=0;a:while(1){Zp(B,w,o)|0;m=c[(c[q>>2]|0)+-8>>2]|0;g=c[J>>2]|0;n=g-(c[u>>2]|0)|0;if(!(c[t>>2]|0)){b:do if((((c[r>>2]|0)!=0?(C=c[m+20>>2]|0,D=m+28|0,E=D+C|0,(D|0)!=(E|0)):0)?(F=a[D>>0]|0,F<<24>>24>-1):0)?(a[269631+(F<<24>>24)>>0]|0)>0:0){e=D;while(1){e=e+1|0;if(e>>>0>=E>>>0)break;f=a[e>>0]|0;if(f<<24>>24<=-1){H=67;break b}if(!(a[269631+(f<<24>>24)>>0]|0)){H=67;break b}}e=g;if(((c[K>>2]|0)-g|0)>>>0>>0){e=c[b>>2]|0;f=C+64+n+(n>>>4)|0;if(f>>>0>>0){H=64;break a}Kn(e,c[v>>2]|0,f);m=c[(c[v>>2]|0)+20>>2]|0;e=m+n|0;c[J>>2]=e;c[u>>2]=m;c[K>>2]=m+f}CQ(e|0,D|0,C|0)|0;f=(c[J>>2]|0)+C|0;c[J>>2]=f}else H=67;while(0);if((H|0)==67){H=0;dr(b,m);f=c[J>>2]|0}e=f;if((c[K>>2]|0)==(f|0)){g=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=e+65+(e>>>4)|0;if(f>>>0>>0){H=70;break}Kn(g,c[v>>2]|0,f);m=c[(c[v>>2]|0)+20>>2]|0;e=m+e|0;c[J>>2]=e;c[u>>2]=m;c[K>>2]=m+f}c[J>>2]=e+1;a[e>>0]=58}else{h=c[s>>2]|0;e=g;if((c[K>>2]|0)==(g|0)){e=c[b>>2]|0;f=n+65+(n>>>4)|0;if(f>>>0>>0){H=27;break}Kn(e,c[v>>2]|0,f);k=c[(c[v>>2]|0)+20>>2]|0;e=k+n|0;c[J>>2]=e;c[u>>2]=k;c[K>>2]=k+f}c[J>>2]=e+1;a[e>>0]=10;if(h|0){j=c[t>>2]|0;i=j+28|0;j=c[j+20>>2]|0;h=O(j,h)|0;e=c[J>>2]|0;f=e;if(((c[K>>2]|0)-f|0)>>>0>>0){g=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=h+64+e+(e>>>4)|0;if(f>>>0>>0){H=32;break}Kn(g,c[v>>2]|0,f);g=c[(c[v>>2]|0)+20>>2]|0;k=g+e|0;c[J>>2]=k;c[u>>2]=g;c[K>>2]=g+f}else k=e;CQ(k|0,i|0,j|0)|0;f=k+j|0;e=h-j|0;if(e>>>0>=j>>>0){g=j;do{CQ(f|0,k|0,g|0)|0;f=f+g|0;e=e-g|0;g=g<<1}while(e>>>0>=g>>>0)}CQ(f|0,k|0,e|0)|0;c[J>>2]=f+e}c:do if((((c[r>>2]|0)!=0?(x=c[m+20>>2]|0,y=m+28|0,z=y+x|0,(y|0)!=(z|0)):0)?(A=a[y>>0]|0,A<<24>>24>-1):0)?(a[269631+(A<<24>>24)>>0]|0)>0:0){e=y;while(1){e=e+1|0;if(e>>>0>=z>>>0)break;f=a[e>>0]|0;if(f<<24>>24<=-1){H=49;break c}if(!(a[269631+(f<<24>>24)>>0]|0)){H=49;break c}}f=c[J>>2]|0;e=f;if(((c[K>>2]|0)-f|0)>>>0>>0){g=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=x+64+e+(e>>>4)|0;if(f>>>0>>0){H=46;break a}Kn(g,c[v>>2]|0,f);m=c[(c[v>>2]|0)+20>>2]|0;e=m+e|0;c[J>>2]=e;c[u>>2]=m;c[K>>2]=m+f}CQ(e|0,y|0,x|0)|0;f=(c[J>>2]|0)+x|0;c[J>>2]=f}else H=49;while(0);if((H|0)==49){H=0;dr(b,m);f=c[J>>2]|0}e=f;if(((c[K>>2]|0)-f|0)>>>0<2){g=c[b>>2]|0;e=f-(c[u>>2]|0)|0;f=e+66+(e>>>4)|0;if(f>>>0>>0){H=52;break}Kn(g,c[v>>2]|0,f);m=c[(c[v>>2]|0)+20>>2]|0;e=m+e|0;c[J>>2]=e;c[u>>2]=m;c[K>>2]=m+f}a[e>>0]=58;a[e+1>>0]=32;c[J>>2]=e+2}if(!(br(b,G)|0))c[J>>2]=(c[u>>2]|0)+n;else{e=c[K>>2]|0;n=c[J>>2]|0;d=n;if((e|0)==(n|0)){f=c[b>>2]|0;d=e-(c[u>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0){H=77;break}Kn(f,c[v>>2]|0,e);n=c[(c[v>>2]|0)+20>>2]|0;d=n+d|0;c[J>>2]=d;c[u>>2]=n;c[K>>2]=n+e}c[J>>2]=d+1;a[d>>0]=44;d=1}o=o+1|0;if(o>>>0>=p>>>0){H=81;break}}if((H|0)==27)Jn(e,269610,50331716,268447);else if((H|0)==32)Jn(g,269610,50331716,268447);else if((H|0)==46)Jn(g,269610,50331716,268447);else if((H|0)==52)Jn(g,269610,50331716,268447);else if((H|0)==64)Jn(e,269610,50331716,268447);else if((H|0)==70)Jn(g,269610,50331716,268447);else if((H|0)==77)Jn(f,269610,50331716,268447);else if((H|0)==81){if(!d)break;e=b+4|0;d=(c[e>>2]|0)+-1|0;c[e>>2]=d;e=d;if(!(c[t>>2]|0))break;g=(c[s>>2]|0)+-1|0;do if((c[K>>2]|0)==(e|0)){f=c[b>>2]|0;d=e-(c[u>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);else{Kn(f,c[v>>2]|0,e);H=c[(c[v>>2]|0)+20>>2]|0;I=H+d|0;c[J>>2]=I;c[u>>2]=H;c[K>>2]=H+e;break}}else I=d;while(0);c[J>>2]=I+1;a[I>>0]=10;if(!g)break;f=c[t>>2]|0;h=f+28|0;f=c[f+20>>2]|0;i=O(f,g)|0;d=c[J>>2]|0;e=d;do if(((c[K>>2]|0)-e|0)>>>0>>0){g=c[b>>2]|0;d=e-(c[u>>2]|0)|0;e=i+64+d+(d>>>4)|0;if(e>>>0>>0)Jn(g,269610,50331716,268447);else{Kn(g,c[v>>2]|0,e);I=c[(c[v>>2]|0)+20>>2]|0;L=I+d|0;c[J>>2]=L;c[u>>2]=I;c[K>>2]=I+e;break}}else L=d;while(0);CQ(L|0,h|0,f|0)|0;e=L+f|0;d=i-f|0;if(d>>>0>=f>>>0)do{CQ(e|0,L|0,f|0)|0;e=e+f|0;d=d-f|0;f=f<<1}while(d>>>0>=f>>>0);CQ(e|0,L|0,d|0)|0;c[J>>2]=e+d;break}}while(0);e=c[K>>2]|0;L=c[J>>2]|0;d=L;do if((e|0)==(L|0)){f=c[b>>2]|0;g=b+8|0;d=e-(c[g>>2]|0)|0;e=d+65+(d>>>4)|0;if(e>>>0>>0)Jn(f,269610,50331716,268447);else{L=b+16|0;Kn(f,c[L>>2]|0,e);L=c[(c[L>>2]|0)+20>>2]|0;M=L+d|0;c[J>>2]=M;c[g>>2]=L;c[K>>2]=L+e;break}}else M=d;while(0);c[J>>2]=M+1;a[M>>0]=125;e=c[b>>2]|0;d=b+60|0;M=c[d>>2]|0;c[d>>2]=M+-1;d=c[N>>2]|0;if((M|0)<65){_n(e,d);l=Q;return}c[P>>2]=c[(c[((d|0)<1?e+76|0:e+72|0)>>2]|0)+(d+-1<<4)+8>>2];Go(e,280284,P);sq(e,c[b+32>>2]|0);_n(e,d);l=Q;return}function gr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=xo(a,48)|0;g=c[a+44>>2]|0;c[f>>2]=272679041;d=g+24|0;e=c[d>>2]|0;if(e|0)c[e+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=e;c[d>>2]=f;d=c[a+160>>2]|0;h=f+20|0;e=c[h>>2]|0;c[h>>2]=d;if(d|0){h=d+4|0;c[h>>2]=(c[h>>2]|0)+1}if(e|0?(d=e+4|0,h=(c[d>>2]|0)+-1|0,c[d>>2]=h,(h|0)==0):0)fp(g,e);g=a+76|0;h=c[g>>2]|0;c[h>>2]=9;c[h+8>>2]=f;h=f+4|0;c[h>>2]=(c[h>>2]|0)+1;h=c[g>>2]|0;c[g>>2]=h+16;h=c[h+8>>2]|0;ko(a,h,0,b,0,0);c[h+40>>2]=b;return h|0}function hr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+48|0;n=p;i=n+4|0;f=i;g=f+36|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[n>>2]=a;c[n+40>>2]=1e3;c[n+20>>2]=e;c[n+24>>2]=e&4;c[n+28>>2]=e&8;c[n+32>>2]=e&12;Ho(a,b)|0;o=a+76|0;m=a+72|0;k=c[m>>2]|0;g=(c[o>>2]|0)-k>>4;e=((b|0)<0?g:0)+b|0;e=e>>>0>>0?k+(e<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==8)e=c[e+8>>2]|0;else e=0;b=e+28|0;c[n+8>>2]=b;c[i>>2]=b;k=n+12|0;c[k>>2]=b+(c[e+20>>2]|0);ir(n);if((c[i>>2]|0)!=(c[k>>2]|0))jr(n);k=c[m>>2]|0;i=(c[o>>2]|0)-k>>4;e=((d|0)<0?i:0)+d|0;e=e>>>0>>0?k+(e<<4)|0:0;e=(e|0)==0?944:e;switch(c[e>>2]|0){case 6:break;case 9:{j=6;break}default:{l=p;return}}if((j|0)==6){e=c[e+8>>2]|0;if(!e){l=p;return}if(!(c[e>>2]&6656)){l=p;return}}c[n+16>>2]=d;Cq(a)|0;e=c[o>>2]|0;k=a+68|0;if(e>>>0>=(c[k>>2]|0)>>>0)Sn(a,935);f=c[m>>2]|0;g=e-f>>4;if(g>>>0<=1)$n(a,342,-2);d=f+(g+-2<<4)|0;c[o>>2]=e+16;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];if(c[e>>2]&8|0){d=(c[e+8>>2]|0)+4|0;c[d>>2]=(c[d>>2]|0)+1}e=c[o>>2]|0;g=e-(c[m>>2]|0)|0;d=g>>4;b=d+-2|0;if(d>>>0<=1)$n(a,267,-2);d=a+428|0;f=c[(c[d>>2]|0)+60>>2]|0;if(e>>>0>=(c[k>>2]|0)>>>0)Sn(a,3761);c[o>>2]=e+16;c[e>>2]=8;c[e+8>>2]=f;j=f+4|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=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,u=0,v=0,w=0,x=0;x=l;l=l+16|0;k=x;m=x+4|0;v=c[b>>2]|0;w=b+4|0;j=c[w>>2]|0;while(1){f=j+1|0;if(!(a[272535+(d[j>>0]|0)>>0]|0))break;else j=f}c[w>>2]=f;n=a[j>>0]|0;a:do if(n<<24>>24==34)lr(b);else{e=n<<24>>24==45;if(e|(n+-48&255)<10){if(e&(c[b+24>>2]|0)!=0?(a[f>>0]|0)==73:0){e=(c[(c[v+428>>2]|0)+244>>2]|0)+28|0;i=f;while(1){e=e+1|0;g=a[e>>0]|0;if(!(g<<24>>24))break;q=i;i=i+1|0;c[w>>2]=i;if(g<<24>>24!=(a[q>>0]|0)){u=11;break}}if((u|0)==11)jr(b);e=v+76|0;g=c[e>>2]|0;if(g>>>0<(c[v+68>>2]|0)>>>0){c[e>>2]=g+16;c[g>>2]=0;h[g+8>>3]=-t;break}else Sn(v,3835)}c[w>>2]=j;e=j;while(1)if(!(a[272791+(d[e>>0]|0)>>0]|0))break;else e=e+1|0;c[w>>2]=e;g=v+76|0;if((c[g>>2]|0)>>>0>=(c[v+68>>2]|0)>>>0)Sn(v,3931);e=e-j|0;if((e|0)<0)Jn(v,268491,50335592,268919);q=Fo(v,j,e)|0;e=c[g>>2]|0;c[g>>2]=e+16;c[e>>2]=8;c[e+8>>2]=q;q=q+4|0;c[q>>2]=(c[q>>2]|0)+1;oo(v,10,82);q=c[v+72>>2]|0;e=(c[g>>2]|0)-q>>4;e=e|0?q+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if(c[e>>2]|0)break;q=e+8|0;p=c[q+4>>2]&2147483647;if(!(p>>>0>2146435072|(p|0)==2146435072&(c[q>>2]|0)>>>0>0))break;jr(b)}switch(n<<24>>24){case 116:{g=(c[(c[v+428>>2]|0)+612>>2]|0)+28|0;while(1){g=g+1|0;e=a[g>>0]|0;if(!(e<<24>>24))break;r=f;f=f+1|0;c[w>>2]=f;if(e<<24>>24!=(a[r>>0]|0)){u=28;break}}if((u|0)==28)jr(b);e=v+76|0;f=c[e>>2]|0;if(f>>>0<(c[v+68>>2]|0)>>>0){c[e>>2]=f+16;c[f>>2]=4;c[f+8>>2]=1;break a}else Sn(v,3811);break}case 102:{g=(c[(c[v+428>>2]|0)+616>>2]|0)+28|0;while(1){g=g+1|0;e=a[g>>0]|0;if(!(e<<24>>24))break;r=f;f=f+1|0;c[w>>2]=f;if(e<<24>>24!=(a[r>>0]|0)){u=35;break}}if((u|0)==35)jr(b);e=v+76|0;f=c[e>>2]|0;if(f>>>0<(c[v+68>>2]|0)>>>0){c[e>>2]=f+16;c[f>>2]=4;c[f+8>>2]=0;break a}else Sn(v,3822);break}case 110:{g=(c[(c[v+428>>2]|0)+608>>2]|0)+28|0;while(1){g=g+1|0;e=a[g>>0]|0;if(!(e<<24>>24))break;r=f;f=f+1|0;c[w>>2]=f;if(e<<24>>24!=(a[r>>0]|0)){u=42;break}}if((u|0)==42)jr(b);e=v+76|0;f=c[e>>2]|0;if(f>>>0<(c[v+68>>2]|0)>>>0){c[e>>2]=f+16;c[f>>2]=3;break a}else Sn(v,3787);break}default:{q=b+24|0;j=(c[q>>2]|0)!=0;if(n<<24>>24==117&j){e=(c[(c[v+428>>2]|0)+232>>2]|0)+28|0;i=f;while(1){e=e+1|0;g=a[e>>0]|0;if(!(g<<24>>24))break;p=i;i=i+1|0;c[w>>2]=i;if(g<<24>>24!=(a[p>>0]|0)){u=50;break}}if((u|0)==50)jr(b);e=v+76|0;g=c[e>>2]|0;if(g>>>0<(c[v+68>>2]|0)>>>0){c[e>>2]=g+16;break a}else Sn(v,3772)}if(n<<24>>24==78&j){e=(c[(c[v+428>>2]|0)+236>>2]|0)+28|0;i=f;while(1){e=e+1|0;g=a[e>>0]|0;if(!(g<<24>>24))break;p=i;i=i+1|0;c[w>>2]=i;if(g<<24>>24!=(a[p>>0]|0)){u=58;break}}if((u|0)==58)jr(b);e=v+76|0;g=c[e>>2]|0;if(g>>>0<(c[v+68>>2]|0)>>>0){c[e>>2]=g+16;c[g>>2]=0;h[g+8>>3]=s;break a}else Sn(v,3916)}if(n<<24>>24==73&j){e=(c[(c[v+428>>2]|0)+240>>2]|0)+28|0;i=f;while(1){e=e+1|0;g=a[e>>0]|0;if(!(g<<24>>24))break;p=i;i=i+1|0;c[w>>2]=i;if(g<<24>>24!=(a[p>>0]|0)){u=66;break}}if((u|0)==66)jr(b);e=v+76|0;g=c[e>>2]|0;if(g>>>0<(c[v+68>>2]|0)>>>0){c[e>>2]=g+16;c[g>>2]=0;h[g+8>>3]=t;break a}else Sn(v,3835)}if(n<<24>>24==40&j){i=f;b:while(1){switch(a[i>>0]|0){case 41:break b;case 0:{u=76;break b}default:{}}i=i+1|0}if((u|0)==76)jr(b);c[m>>2]=0;c[k>>2]=m;nP(f,0,k);e=v+76|0;g=c[e>>2]|0;if(g>>>0<(c[v+68>>2]|0)>>>0){v=c[m>>2]|0;c[e>>2]=g+16;c[g>>2]=5;c[g+8>>2]=v;c[w>>2]=i+1;break a}else Sn(v,3974)}if(n<<24>>24==124&j){i=f;c:while(1){switch(a[i>>0]|0){case 124:break c;case 0:{u=87;break c}default:{}}i=i+1|0}if((u|0)==87)jr(b);e=i-f|0;f=v+76|0;if((c[f>>2]|0)>>>0>=(c[v+68>>2]|0)>>>0)Sn(v,4815);if(e>>>0>2147483646)Jn(v,268491,50336467,268447);g=Po(c[v+44>>2]|0,e,4,m)|0;if(!g)Mn(v,268491,4824);else{b=c[f>>2]|0;c[b>>2]=10;c[b+8>>2]=g;b=g+4|0;c[b>>2]=(c[b>>2]|0)+1;c[f>>2]=(c[f>>2]|0)+16;CQ(c[m>>2]|0,c[w>>2]|0,e|0)|0;Yq(v,-1);c[w>>2]=i+1;break a}}switch(n<<24>>24){case 123:{p=v+76|0;e=((c[p>>2]|0)-(c[v+64>>2]|0)>>4)+96|0;if((c[v+80>>2]|0)>>>0>>0)Yn(v,e,4)|0;o=b+36|0;e=c[o>>2]|0;if((e|0)>=(c[b+40>>2]|0))Jn(v,272174,50332374,273047);c[o>>2]=e+1;Cq(v)|0;n=v+72|0;m=v+44|0;k=0;while(1){g=c[w>>2]|0;while(1){f=g+1|0;if(!(a[272535+(d[g>>0]|0)>>0]|0))break;else g=f}c[w>>2]=f;e=a[g>>0]|0;if(!((k|0)>0&e<<24>>24==44)){if(e<<24>>24==125){u=135;break}if(!k)f=g;else{u=134;break}}else{while(1){e=f+1|0;if(!(a[272535+(d[f>>0]|0)>>0]|0))break;else f=e}c[w>>2]=e;e=a[f>>0]|0}g=e&255;if(e<<24>>24==34){lr(b);e=c[w>>2]|0}else{if(!(c[q>>2]|0)){u=134;break}if(e<<24>>24>-1){if((a[269631+g>>0]|0)<=0){u=134;break}}else if(!(Wp(264713,1036,g)|0)){u=134;break}j=c[b>>2]|0;c[w>>2]=f;e=f;d:while(1){i=a[e>>0]|0;g=i&255;do if(i<<24>>24>-1){if(!(a[269631+g>>0]|0))break d}else{if(Wp(264713,1036,g)|0)break;if(!(Wp(265791,530,g)|0))break d}while(0);e=e+1|0}g=j+76|0;if((c[g>>2]|0)>>>0>=(c[j+68>>2]|0)>>>0){u=115;break}i=e-f|0;if((i|0)<0){u=117;break}j=Fo(j,f,i)|0;i=c[g>>2]|0;c[g>>2]=i+16;c[i>>2]=8;c[i+8>>2]=j;j=j+4|0;c[j>>2]=(c[j>>2]|0)+1;c[w>>2]=e}while(1){f=e+1|0;if(!(a[272535+(d[e>>0]|0)>>0]|0))break;else e=f}c[w>>2]=f;if((a[e>>0]|0)!=58){u=134;break}ir(b);j=c[n>>2]|0;e=(c[p>>2]|0)-j>>4;e=e>>>0>2?j+(e+-3<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9){u=123;break}f=c[e+8>>2]|0;if(!f){u=123;break}po(v,-2,1);j=c[n>>2]|0;e=(c[p>>2]|0)-j>>4;e=e>>>0>1?j+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==8?(r=c[e+8>>2]|0,(r|0)!=0):0)e=r;else u=126;do if((u|0)==126){u=0;Ho(v,-2)|0;j=c[n>>2]|0;e=(c[p>>2]|0)-j>>4;e=e>>>0>1?j+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8){e=0;break}e=c[e+8>>2]|0}while(0);ho(v,f,e,7);e=c[p>>2]|0;if((e|0)==(c[n>>2]|0)){u=129;break}i=e+-16|0;c[p>>2]=i;j=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[i>>2]=2;do if(j&8|0){i=e+4|0;j=(c[i>>2]|0)+-1|0;c[i>>2]=j;if(j|0)break;go(c[m>>2]|0,e)}while(0);k=k+1|0}if((u|0)==115)Sn(j,3931);else if((u|0)==117)Jn(j,268491,50335592,268919);else if((u|0)==123)In(v,1834,-3,268820);else if((u|0)==129)Jn(v,268491,50336874,268507);else if((u|0)==134)jr(b);else if((u|0)==135){c[o>>2]=(c[o>>2]|0)+-1;break a}break}case 91:{k=v+76|0;e=((c[k>>2]|0)-(c[v+64>>2]|0)>>4)+96|0;if((c[v+80>>2]|0)>>>0>>0)Yn(v,e,4)|0;j=b+36|0;e=c[j>>2]|0;if((e|0)>=(c[b+40>>2]|0))Jn(v,272174,50332374,273047);c[j>>2]=e+1;g=xo(v,48)|0;i=c[v+44>>2]|0;c[g>>2]=272679041;e=i+24|0;f=c[e>>2]|0;if(f|0)c[f+12>>2]=g;c[g+12>>2]=0;c[g+8>>2]=f;c[e>>2]=g;e=c[v+160>>2]|0;u=g+20|0;f=c[u>>2]|0;c[u>>2]=e;if(e|0){u=e+4|0;c[u>>2]=(c[u>>2]|0)+1}if(f|0?(r=f+4|0,u=(c[r>>2]|0)+-1|0,c[r>>2]=u,(u|0)==0):0)fp(i,f);i=c[k>>2]|0;c[i>>2]=9;c[i+8>>2]=g;g=g+4|0;c[g>>2]=(c[g>>2]|0)+1;g=v+72|0;c[k>>2]=(c[k>>2]|0)+16;i=0;while(1){f=c[w>>2]|0;while(1){e=f+1|0;if(!(a[272535+(d[f>>0]|0)>>0]|0))break;else f=e}c[w>>2]=e;e=a[f>>0]|0;if(!((i|0)!=0&e<<24>>24==44)){if(e<<24>>24==93){u=158;break}if(i|0){u=160;break}c[w>>2]=f}ir(b);u=c[g>>2]|0;e=(c[k>>2]|0)-u>>4;e=e>>>0>1?u+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9){u=156;break}e=c[e+8>>2]|0;if(!e){u=156;break}rp(v,e,i);i=i+1|0}if((u|0)==156)In(v,1834,-2,268820);else if((u|0)==158){f=c[k>>2]|0;e=f-(c[g>>2]|0)>>4;if(f>>>0<(c[v+68>>2]|0)>>>0){c[k>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+(i>>>0);sp(v,e|0?e+-1|0:-2147483648,80);c[j>>2]=(c[j>>2]|0)+-1;break a}else Sn(v,3902)}else if((u|0)==160)jr(b);break}default:jr(b)}}}}while(0);e=c[w>>2]|0;while(1)if(!(a[272535+(d[e>>0]|0)>>0]|0))break;else e=e+1|0;c[w>>2]=e;l=x;return}function jr(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=c[a>>2]|0;c[b>>2]=(c[a+4>>2]|0)-(c[a+8>>2]|0);ao(d,272174,83886296,272506,b)}function kr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0.0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=l;l=l+16|0;n=r;q=c[a>>2]|0;o=q+76|0;b=c[o>>2]|0;m=q+68|0;if(b>>>0>=(c[m>>2]|0)>>>0)Sn(q,955);p=q+72|0;if((b-(c[p>>2]|0)|0)<16)$n(q,958,-1);j=b+-16|0;c[o>>2]=b+16;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];if(c[b>>2]&8|0){j=(c[b+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}b=c[p>>2]|0;d=(c[o>>2]|0)-b>>4;if(d>>>0<=2)$n(q,342,-3);ro(q,b+(d+-3<<4)|0,b+(d+-1<<4)|0)|0;d=c[p>>2]|0;e=(c[o>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(q,342,-2);s=d+(b<<4)|0;g=d+(e+-1<<4)|0;j=c[s>>2]|0;d=c[d+(b<<4)+8>>2]|0;DQ(s|0,s+16|0,g-s|0)|0;c[g>>2]=2;b=(c[o>>2]|0)+-16|0;c[o>>2]=b;if((j&8|0)!=0?(j=d+4|0,s=(c[j>>2]|0)+-1|0,c[j>>2]=s,(s|0)==0):0){go(c[q+44>>2]|0,d);b=c[o>>2]|0}s=c[p>>2]|0;b=b-s>>4;b=b|0?s+(b+-1<<4)|0:0;b=(b|0)==0?944:b;a:do if((c[b>>2]|0)==9?(f=c[b+8>>2]|0,f|0):0){if((c[f>>2]&-134217728|0)==268435456){j=zp(q,-1)|0;if(!j)break;g=q+44|0;f=0;while(1){b=c[o>>2]|0;if(b>>>0>=(c[m>>2]|0)>>>0){b=20;break}if((b-(c[p>>2]|0)|0)<16){b=22;break}s=b+-16|0;c[o>>2]=b+16;c[b>>2]=c[s>>2];c[b+4>>2]=c[s+4>>2];c[b+8>>2]=c[s+8>>2];c[b+12>>2]=c[s+12>>2];if(c[b>>2]&8|0){s=(c[b+8>>2]|0)+4|0;c[s>>2]=(c[s>>2]|0)+1}b=c[o>>2]|0;if(b>>>0>=(c[m>>2]|0)>>>0){b=26;break}i=+(f>>>0);c[o>>2]=b+16;c[b>>2]=0;h[b+8>>3]=i;Ho(q,-1)|0;kr(a);d=c[o>>2]|0;e=c[p>>2]|0;b=e;s=d-b>>4;s=s|0?e+(s+-1<<4)|0:0;if((c[((s|0)==0?944:s)>>2]|0)==2){if((d|0)==(e|0)){b=29;break}e=d+-16|0;c[o>>2]=e;s=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[e>>2]=2;do if(s&8){t=d+4|0;s=(c[t>>2]|0)+-1|0;c[t>>2]=s;if(s|0)break;go(c[g>>2]|0,d);e=c[o>>2]|0;b=c[p>>2]|0}while(0);d=e-b>>4;b=e;if(!d){b=34;break}if(b>>>0>=(c[m>>2]|0)>>>0){b=36;break}c[o>>2]=b+16;c[b>>2]=0;h[b+8>>3]=i;sq(q,d+-1|0)}else Tp(q,-2,f);f=f+1|0;if(f>>>0>=j>>>0)break a}if((b|0)==20)Sn(q,955);else if((b|0)==22)$n(q,958,-1);else if((b|0)==26)Sn(q,3902);else if((b|0)==29)Jn(q,268491,50336874,268507);else if((b|0)==34)$n(q,267,-1);else if((b|0)==36)Sn(q,3902)}_q(q,-1,16);t=($q(q,-1,0)|0)==0;b=c[o>>2]|0;b:do if(!t){f=q+44|0;while(1){if(b>>>0>=(c[m>>2]|0)>>>0){b=43;break}d=c[p>>2]|0;e=b-d>>4;if(e>>>0<=2){b=45;break}t=d+(e+-3<<4)|0;c[o>>2]=b+16;c[b>>2]=c[t>>2];c[b+4>>2]=c[t+4>>2];c[b+8>>2]=c[t+8>>2];c[b+12>>2]=c[t+12>>2];if(c[b>>2]&8|0){t=(c[b+8>>2]|0)+4|0;c[t>>2]=(c[t>>2]|0)+1}b=c[o>>2]|0;if(b>>>0>=(c[m>>2]|0)>>>0){b=49;break}d=c[p>>2]|0;e=b-d>>4;if(e>>>0<=1){b=51;break}t=d+(e+-2<<4)|0;c[o>>2]=b+16;c[b>>2]=c[t>>2];c[b+4>>2]=c[t+4>>2];c[b+8>>2]=c[t+8>>2];c[b+12>>2]=c[t+12>>2];if(c[b>>2]&8|0){t=(c[b+8>>2]|0)+4|0;c[t>>2]=(c[t>>2]|0)+1}kr(a);d=c[o>>2]|0;b=c[p>>2]|0;t=d-b>>4;t=t|0?b+(t+-1<<4)|0:0;if((c[((t|0)==0?944:t)>>2]|0)==2){if((d|0)==(b|0)){b=56;break}s=d+-16|0;c[o>>2]=s;t=c[d+-16>>2]|0;b=c[d+-8>>2]|0;c[s>>2]=2;do if(t&8|0){s=b+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)break;go(c[f>>2]|0,b)}while(0);sq(q,-3)}else $p(q,-4);t=($q(q,-1,0)|0)==0;b=c[o>>2]|0;if(t){k=b;break b}}if((b|0)==43)Sn(q,935);else if((b|0)==45)$n(q,342,-3);else if((b|0)==49)Sn(q,935);else if((b|0)==51)$n(q,342,-2);else if((b|0)==56)Jn(q,268491,50336874,268507)}else k=b;while(0);if((k|0)==(c[p>>2]|0))Jn(q,268491,50336874,268507);s=k+-16|0;c[o>>2]=s;t=c[k+-16>>2]|0;b=c[k+-8>>2]|0;c[s>>2]=2;if(t&8|0?(s=b+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)go(c[q+44>>2]|0,b)}while(0);e=c[a+16>>2]|0;f=c[o>>2]|0;if(f>>>0>=(c[m>>2]|0)>>>0)Sn(q,935);d=c[p>>2]|0;t=f-d>>4;b=((e|0)<0?t:0)+e|0;if(b>>>0>=t>>>0)$n(q,342,e);t=d+(b<<4)|0;c[o>>2]=f+16;c[f>>2]=c[t>>2];c[f+4>>2]=c[t+4>>2];c[f+8>>2]=c[t+8>>2];c[f+12>>2]=c[t+12>>2];if(c[f>>2]&8|0){t=(c[f+8>>2]|0)+4|0;c[t>>2]=(c[t>>2]|0)+1}d=c[o>>2]|0;e=c[p>>2]|0;b=e;f=d-b>>4;if(f>>>0<=3)$n(q,342,-4);g=e+(f+-4<<4)|0;e=e+(f+-1<<4)|0;f=e-g|0;if(f){c[n>>2]=c[e>>2];c[n+4>>2]=c[e+4>>2];c[n+8>>2]=c[e+8>>2];c[n+12>>2]=c[e+12>>2];DQ(g+16|0,g|0,f|0)|0;c[g>>2]=c[n>>2];c[g+4>>2]=c[n+4>>2];c[g+8>>2]=c[n+8>>2];c[g+12>>2]=c[n+12>>2];d=c[o>>2]|0;b=c[p>>2]|0}b=d-b|0;if(((b>>4)+-2|0)<2)Tn(q,268476,76);if(b>>>0<64)Tn(q,268521,942);else{so(q,2,0,(b+-64|0)>>>4);l=r;return}}function lr(b){b=b|0;var 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;w=l;l=l+16|0;v=c[b>>2]|0;f=v+76|0;if((c[f>>2]|0)>>>0>=(c[v+68>>2]|0)>>>0)Sn(v,4815);e=Po(c[v+44>>2]|0,128,1,w)|0;if(!e)Mn(v,268491,4824);r=c[f>>2]|0;c[r>>2]=10;c[r+8>>2]=e;r=e+4|0;c[r>>2]=(c[r>>2]|0)+1;r=c[f>>2]|0;c[f>>2]=r+16;r=c[r+8>>2]|0;s=r+20|0;e=c[s>>2]|0;f=e;t=b+4|0;u=b+24|0;h=f;e=e+128|0;a:while(1){if((e-h|0)>>>0>70)q=f;else{g=c[b>>2]|0;f=h-f|0;e=f+135+(f>>>4)|0;if(e>>>0>>0){k=8;break}Kn(g,r,e);h=c[s>>2]|0;q=h;e=h+e|0;h=h+f|0}o=c[t>>2]|0;i=64;p=h;while(1){j=o+1|0;f=a[o>>0]|0;if(!(a[273075+(f&255)>>0]|0))break;i=i+-1|0;g=p+1|0;a[p>>0]=f;h=g;if(!i){k=11;break}else{o=j;p=g}}if((k|0)==11){k=0;c[t>>2]=j;f=q;continue}c[t>>2]=j;switch(f<<24>>24){case 34:{k=52;break a}case 92:break;default:{k=51;break a}}g=o+2|0;c[t>>2]=g;f=a[j>>0]|0;switch(f<<24>>24){case 47:case 34:case 92:{g=f&255;k=31;break}case 116:{g=9;h=0;f=1;break}case 110:{g=10;h=0;f=1;break}case 114:{g=13;h=0;f=1;break}case 102:{g=12;h=0;f=1;break}case 98:{g=8;h=0;f=1;break}case 117:{f=o+3|0;c[t>>2]=f;i=a[269806+(d[g>>0]|0)>>0]|0;if(i<<24>>24<=-1){k=22;break a}g=o+4|0;c[t>>2]=g;h=a[269806+(d[f>>0]|0)>>0]|0;if(h<<24>>24<=-1){k=22;break a}f=o+5|0;c[t>>2]=f;g=a[269806+(d[g>>0]|0)>>0]|0;if(g<<24>>24<=-1){k=22;break a}c[t>>2]=o+6;f=a[269806+(d[f>>0]|0)>>0]|0;if(f<<24>>24<=-1){k=22;break a}g=(f<<24>>24)+((g<<24>>24)+((h<<24>>24)+(i<<24>>24<<4)<<4)<<4)|0;k=31;break}case 85:{if(!(c[u>>2]|0)){k=51;break a}f=o+3|0;c[t>>2]=f;n=a[269806+(d[g>>0]|0)>>0]|0;if(n<<24>>24<=-1){k=26;break a}g=o+4|0;c[t>>2]=g;m=a[269806+(d[f>>0]|0)>>0]|0;if(m<<24>>24<=-1){k=26;break a}f=o+5|0;c[t>>2]=f;k=a[269806+(d[g>>0]|0)>>0]|0;if(k<<24>>24<=-1){k=26;break a}g=o+6|0;c[t>>2]=g;j=a[269806+(d[f>>0]|0)>>0]|0;if(j<<24>>24<=-1){k=26;break a}f=o+7|0;c[t>>2]=f;i=a[269806+(d[g>>0]|0)>>0]|0;if(i<<24>>24<=-1){k=26;break a}g=o+8|0;c[t>>2]=g;h=a[269806+(d[f>>0]|0)>>0]|0;if(h<<24>>24<=-1){k=26;break a}f=o+9|0;c[t>>2]=f;g=a[269806+(d[g>>0]|0)>>0]|0;if(g<<24>>24<=-1){k=26;break a}c[t>>2]=o+10;f=a[269806+(d[f>>0]|0)>>0]|0;if(f<<24>>24<=-1){k=26;break a}g=(f<<24>>24)+((g<<24>>24)+((h<<24>>24)+((i<<24>>24)+((j<<24>>24)+((k<<24>>24)+((m<<24>>24)+(n<<24>>24<<4)<<4)<<4)<<4)<<4)<<4)<<4)|0;k=31;break}case 120:{if(!(c[u>>2]|0)){k=51;break a}f=o+3|0;c[t>>2]=f;g=a[269806+(d[g>>0]|0)>>0]|0;if(g<<24>>24<=-1){k=30;break a}c[t>>2]=o+4;f=a[269806+(d[f>>0]|0)>>0]|0;if(f<<24>>24<=-1){k=30;break a}g=(f<<24>>24)+(g<<24>>24<<4)|0;k=31;break}default:{k=51;break a}}if((k|0)==31){k=0;if(g>>>0<128){h=0;f=1}else{if(g>>>0>=2048)if(g>>>0>=65536)if(g>>>0>=2097152)if(g>>>0<67108864){f=5;k=36}else f=g>>>31|6;else{f=4;k=36}else{f=3;k=36}else{f=2;k=36}if((k|0)==36)k=0;h=a[268912+(f+-1)>>0]|0;i=f;do{i=i+-1|0;a[p+i>>0]=g&63|128;g=g>>>6}while((i|0)>1)}}a[p>>0]=g+(h&255);h=p+f|0;f=q}if((k|0)==8)Jn(g,269610,50331716,268447);else if((k|0)==22)jr(b);else if((k|0)==26)jr(b);else if((k|0)==30)jr(b);else if((k|0)==51)jr(b);else if((k|0)==52){Kn(c[b>>2]|0,r,h-q|0);Ro(v);l=w;return}}function mr(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=l;l=l+1168|0;n=t;j=c[b+8>>2]|0;do if(j&2048|0){d=c[(c[a+428>>2]|0)+((j&8|0?33:104)<<2)>>2]|0;e=a+76|0;f=c[e>>2]|0;if(f>>>0<(c[a+68>>2]|0)>>>0){c[e>>2]=f+16;c[f>>2]=8;c[f+8>>2]=d;i=d+4|0;c[i>>2]=(c[i>>2]|0)+1;break}else Sn(a,3761)}while(0);i=b+4|0;d=c[i>>2]|0;do if(!d){e=a+76|0;f=c[e>>2]|0;g=a+72|0;u=c[g>>2]|0;h=u;d=f-h>>4;d=d>>>0>1?u+(d+-2<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=8)Jn(a,273331,100663388,273349);d=c[d+8>>2]|0;if((j&512|0)!=0|(d|0)==0)Jn(a,273331,100663388,273349);else{k=d+28|0;c[i>>2]=k;m=c[d+20>>2]|0;c[b>>2]=m;s=e;r=e;q=g;o=f;p=h;break}}else{o=a+76|0;p=a+72|0;s=o;r=o;q=p;k=d;m=c[b>>2]|0;o=c[o>>2]|0;p=c[p>>2]|0}while(0);f=(j&16|0)==0?j:j|4104;EQ(n|0,0,1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4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];if(c[g>>2]&8|0){g=(c[g+8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}if(((c[k>>2]|0)-(c[n>>2]|0)|0)<16)Tn(a,268476,219);Vn(a,19,0,1,1)|0;b=c[k>>2]|0;d=c[n>>2]|0;e=b-d|0;g=e>>4;g=g|0?d+(g+-1<<4)|0:0;do if((c[((g|0)==0?944:g)>>2]|0)!=8){if((e|0)<16)Tn(a,268476,219);Vn(a,19,0,1,1)|0;b=c[k>>2]|0;d=c[n>>2]|0;g=b-d>>4;g=g|0?d+(g+-1<<4)|0:0;e=b;if((c[((g|0)==0?944:g)>>2]|0)!=8){if((e|0)==(d|0))Jn(a,268491,50336874,268507);d=e+-16|0;c[k>>2]=d;g=c[e+-16>>2]|0;b=c[e+-8>>2]|0;c[d>>2]=2;if((g&8|0)!=0?(f=b+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0){go(c[a+44>>2]|0,b);d=c[k>>2]|0}b=c[(c[a+428>>2]|0)+48>>2]|0;if(d>>>0<(c[h>>2]|0)>>>0){c[k>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;j=b+4|0;c[j>>2]=(c[j>>2]|0)+1;j=c[n>>2]|0;i=c[k>>2]|0;break}else Sn(a,3761)}else{j=d;i=b}}else{j=d;i=b}while(0);d=i-j>>4;if(!d)$n(a,342,-1);e=j+(d+-1<<4)|0;b=(l?d:0)+m|0;if(b>>>0>=d>>>0)$n(a,342,m);h=j+(b<<4)|0;i=c[h>>2]|0;d=c[j+(b<<4)+8>>2]|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[e+4>>2];c[h+8>>2]=c[e+8>>2];c[h+12>>2]=c[e+12>>2];c[e>>2]=2;b=(c[k>>2]|0)+-16|0;c[k>>2]=b;if((i&8|0)!=0?(i=d+4|0,j=(c[i>>2]|0)+-1|0,c[i>>2]=j,(j|0)==0):0){go(c[a+44>>2]|0,d);b=c[k>>2]|0}n=c[n>>2]|0;k=b-n>>4;b=(l?k:0)+m|0;b=b>>>0>>0?n+(b<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=8){n=0;return n|0}b=c[b+8>>2]|0;if(!b){n=0;return n|0}n=b+28|0;return n|0}function or(a,b){a=a|0;b=b|0;Ho(a,-1)|0;return 1}function pr(a,b){a=a|0;b=b|0;return TM(b)|0}function qr(a,b){a=a|0;b=b|0;hb()}function rr(a,b){a=a|0;b=b|0;UM(b);return}function sr(a,b,c){a=a|0;b=b|0;c=c|0;return VM(b,c)|0}function tr(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;r=b+16|0;j=c[r>>2]|0;s=b+12|0;if((j|0)<5){k=b+4|0;h=c[b+8>>2]|0;g=c[k>>2]|0;i=j;f=c[s>>2]|0;do{f=f<<8;c[s>>2]=f;if(g>>>0>>0){p=c[b>>2]|0;q=g+1|0;c[k>>2]=q;f=d[p+g>>0]|0|f;c[s>>2]=f;g=q}i=i+8|0;c[r>>2]=i}while((i|0)<5);j=j+8+(4-j&-8)|0}else f=c[s>>2]|0;g=j+-5|0;h=f>>>g&31;c[r>>2]=g;if((h|0)==31){if((g|0)<8){k=b+4|0;i=c[b+8>>2]|0;h=c[k>>2]|0;do{f=f<<8;c[s>>2]=f;if(h>>>0>>0){p=c[b>>2]|0;q=h+1|0;c[k>>2]=q;f=d[p+h>>0]|0|f;c[s>>2]=f;h=q}q=g;g=g+8|0;c[r>>2]=g}while((q|0)<0);g=j+3+(12-j&-8)|0}g=g+-8|0;c[r>>2]=g;h=f>>>g&255}if(!h)return h|0;p=b+4|0;q=b+8|0;f=0;n=32;while(1){i=c[s>>2]|0;if((g|0)<5){l=c[q>>2]|0;j=c[p>>2]|0;k=g;do{i=i<<8;c[s>>2]=i;if(j>>>0>>0){m=c[b>>2]|0;o=j+1|0;c[p>>2]=o;i=d[m+j>>0]|0|i;c[s>>2]=i;j=o}k=k+8|0;c[r>>2]=k}while((k|0)<5);g=g+8+(4-g&-8)|0;o=i}else o=i;l=g+-5|0;j=o>>>l;i=j&31;c[r>>2]=l;a:do if(i>>>0<26){i=n+65+i|0;g=n}else switch(j&31){case 26:{if((l|0)<3){k=c[q>>2]|0;j=o;i=c[p>>2]|0;do{j=j<<8;c[s>>2]=j;if(i>>>0>>0){m=c[b>>2]|0;o=i+1|0;c[p>>2]=o;j=d[m+i>>0]|0|j;c[s>>2]=j;i=o}l=l+8|0;c[r>>2]=l}while((l|0)<3);i=g+3+(7-g&-8)|0;g=j}else{i=l;g=o}i=i+-3|0;c[r>>2]=i;i=d[279390+(g>>>i&7)>>0]|0;g=n;break a}case 27:{if((l|0)<3){m=c[q>>2]|0;j=o;k=c[p>>2]|0;do{i=j<<8;c[s>>2]=i;if(k>>>0>>0){j=c[b>>2]|0;o=k+1|0;c[p>>2]=o;j=d[j+k>>0]|0|i;c[s>>2]=j;k=o}else j=i;l=l+8|0;c[r>>2]=l}while((l|0)<3);i=g+3+(7-g&-8)|0;g=j}else{i=l;g=o}i=i+-3|0;c[r>>2]=i;i=d[279390+(g>>>i&7|8)>>0]|0;g=n;break a}case 28:{if((l|0)<5){m=c[q>>2]|0;j=o;k=c[p>>2]|0;do{i=j<<8;c[s>>2]=i;if(k>>>0>>0){j=c[b>>2]|0;o=k+1|0;c[p>>2]=o;j=d[j+k>>0]|0|i;c[s>>2]=j;k=o}else j=i;l=l+8|0;c[r>>2]=l}while((l|0)<5);i=g+3+(9-g&-8)|0;g=j}else{i=l;g=o}i=i+-5|0;c[r>>2]=i;i=(n^32)+65+(g>>>i&31)|0;g=n;break a}case 29:{n=n^32;if((l|0)<5){m=c[q>>2]|0;j=o;k=c[p>>2]|0;do{i=j<<8;c[s>>2]=i;if(k>>>0>>0){j=c[b>>2]|0;o=k+1|0;c[p>>2]=o;j=d[j+k>>0]|0|i;c[s>>2]=j;k=o}else j=i;l=l+8|0;c[r>>2]=l}while((l|0)<5);i=g+3+(9-g&-8)|0;g=j}else{i=l;g=o}i=i+-5|0;c[r>>2]=i;i=n+65+(g>>>i&31)|0;g=n;break a}case 31:{if((l|0)<8){m=c[q>>2]|0;j=o;k=c[p>>2]|0;do{i=j<<8;c[s>>2]=i;if(k>>>0>>0){j=c[b>>2]|0;o=k+1|0;c[p>>2]=o;j=d[j+k>>0]|0|i;c[s>>2]=j;k=o}else j=i;o=l;l=l+8|0;c[r>>2]=l}while((o|0)<0);i=g+3+(12-g&-8)|0;g=j}else{i=l;g=o}i=i+-8|0;c[r>>2]=i;i=g>>>i&255;g=n;break a}default:{g=n;break a}}while(0);a[e+f>>0]=i;f=f+1|0;if((f|0)==(h|0))break;n=g;g=c[r>>2]|0}return h|0}function ur(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+36|0;f=c[e>>2]|0;c[e>>2]=f+-1;if((f|0)<1)Ln(a,2);e=a+4|0;f=a+16|0;d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if((b|0)==0|(d|0)!=0){f=d;return f|0}Ln(a,0);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(d|0){f=d;return f|0}Ln(a,0);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(d|0){f=d;return f|0}Ln(a,1);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(d|0){f=d;return f|0}Ln(a,1);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(d|0){f=d;return f|0}Ln(a,1);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(d|0){f=d;return f|0}Ln(a,1);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(d|0){f=d;return f|0}Ln(a,1);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(d|0){f=d;return f|0}Ln(a,1);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(d|0){f=d;return f|0}Ln(a,1);d=hg[c[e>>2]&63](c[f>>2]|0,b)|0;if(!d){Ln(a,1);return hg[c[e>>2]&63](c[f>>2]|0,b)|0}else{f=d;return f|0}return 0}function vr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=ur(a,2048)|0;g=b+64|0;c[g>>2]=e;if(e){EQ(e|0,0,2048)|0;f=c[g>>2]|0;c[b+68>>2]=f+2048;c[b+80>>2]=128;e=f;c[b+72>>2]=e;c[b+76>>2]=e;e=0;do{c[f+(e<<4)>>2]=2;e=e+1|0}while((e|0)!=128);e=ur(a,384)|0;f=b+84|0;c[f>>2]=e;if((e|0)!=0?(EQ(e|0,0,384)|0,c[b+92>>2]=8,d=ur(a,80)|0,c[b+104>>2]=d,(d|0)!=0):0){e=d+80|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[b+108>>2]=4;b=1;return b|0}else{e=f;d=f}}else{d=b+84|0;e=d}f=a+12|0;a=a+16|0;Bg[c[f>>2]&255](c[a>>2]|0,c[g>>2]|0);Bg[c[f>>2]&255](c[a>>2]|0,c[e>>2]|0);b=b+104|0;Bg[c[f>>2]&255](c[a>>2]|0,c[b>>2]|0);c[g>>2]=0;c[d>>2]=0;c[b>>2]=0;b=0;return b|0}function wr(e){e=e|0;var f=0,g=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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0.0,I=0;G=l;l=l+288|0;w=G;x=G+256|0;z=x+4|0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;c[z+12>>2]=0;c[x>>2]=274285;A=x+8|0;c[A>>2]=3819;D=e+76|0;f=((c[D>>2]|0)-(c[e+64>>2]|0)>>4)+138|0;if((c[e+80>>2]|0)>>>0>>0)Yn(e,f,4)|0;u=x+16|0;v=x+12|0;C=e+68|0;B=e+44|0;F=e+72|0;E=e+428|0;r=e+160|0;f=0;m=0;a:while(1){g=c[v>>2]|0;if((m|0)<2){k=c[A>>2]|0;i=c[z>>2]|0;j=m;do{g=g<<8;c[v>>2]=g;if(i>>>0>>0){s=c[x>>2]|0;t=i+1|0;c[z>>2]=t;g=d[s+i>>0]|0|g;c[v>>2]=g;i=t}j=j+8|0;c[u>>2]=j}while((j|0)<2);m=m+8+(1-m&-8)|0}i=m+-2|0;c[u>>2]=i;b:do switch(g>>>i&3){case 0:{q=0;break}case 1:{if((i|0)<2){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<2);i=m+6+(3-m&-8)|0}i=i+-2|0;c[u>>2]=i;q=(g>>>i&3)+1|0;break}case 2:{if((i|0)<5){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<5);i=m+6+(6-m&-8)|0}i=i+-5|0;c[u>>2]=i;q=(g>>>i&31)+5|0;break}default:{if((i|0)<7){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<7);m=m+6+(8-m&-8)|0}else m=i;i=m+-7|0;j=g>>>i&127;c[u>>2]=i;if(j|0){q=j+36|0;break b}if((i|0)<20){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<20);i=m+1+(26-m&-8)|0}i=i+-20|0;c[u>>2]=i;q=g>>>i&1048575}}while(0);if((i|0)<1){m=c[A>>2]|0;j=c[z>>2]|0;k=i;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<1);i=i+8+(0-i&-8)|0}k=i+-1|0;c[u>>2]=k;if(!(1<>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<3);i=i+7+(3-i&-8)|0}else i=k;k=i+-3|0;c[u>>2]=k;p=g>>>k&7}switch(q|0){case 3:{if((k|0)<2){m=c[A>>2]|0;i=c[z>>2]|0;j=k;do{g=g<<8;c[v>>2]=g;if(i>>>0>>0){s=c[x>>2]|0;t=i+1|0;c[z>>2]=t;g=d[s+i>>0]|0|g;c[v>>2]=g;i=t}j=j+8|0;c[u>>2]=j}while((j|0)<2);k=k+8+(1-k&-8)|0}i=k+-2|0;c[u>>2]=i;c:do switch(g>>>i&3){case 0:{j=0;break}case 1:{if((i|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<2);i=k+6+(3-k&-8)|0}i=i+-2|0;c[u>>2]=i;j=(g>>>i&3)+1|0;break}case 2:{if((i|0)<5){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<5);i=k+6+(6-k&-8)|0}i=i+-5|0;c[u>>2]=i;j=(g>>>i&31)+5|0;break}default:{if((i|0)<7){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<7);m=k+6+(8-k&-8)|0}else m=i;i=m+-7|0;j=g>>>i&127;c[u>>2]=i;if(j|0){j=j+36|0;break c}if((i|0)<20){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<20);i=m+1+(26-m&-8)|0}i=i+-20|0;c[u>>2]=i;j=g>>>i&1048575}}while(0);n=c[4260+(j<<2)>>2]|0;if((i|0)<1){m=c[A>>2]|0;j=c[z>>2]|0;k=i;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<1);i=i+8+(0-i&-8)|0}j=i+-1|0;c[u>>2]=j;if(!(1<>2]|0;k=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(k>>>0>>0){s=c[x>>2]|0;t=k+1|0;c[z>>2]=t;g=d[s+k>>0]|0|g;c[v>>2]=g;k=t}j=j+8|0;c[u>>2]=j}while((j|0)<3);i=i+7+(3-i&-8)|0}else i=j;t=i+-3|0;c[u>>2]=t;g=g>>>t&7}Gq(e,n,(g|0)==7?-1:g,403132800);n=c[D>>2]|0;o=c[n+-8>>2]|0;m=c[u>>2]|0;g=c[v>>2]|0;if((m|0)<2){k=c[A>>2]|0;i=c[z>>2]|0;j=m;do{g=g<<8;c[v>>2]=g;if(i>>>0>>0){s=c[x>>2]|0;t=i+1|0;c[z>>2]=t;g=d[s+i>>0]|0|g;c[v>>2]=g;i=t}j=j+8|0;c[u>>2]=j}while((j|0)<2);m=m+8+(1-m&-8)|0}i=m+-2|0;c[u>>2]=i;d:do switch(g>>>i&3){case 0:{s=142;break}case 1:{if((i|0)<2){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<2);i=m+6+(3-m&-8)|0}s=i+-2|0;c[u>>2]=s;g=(g>>>s&3)+1|0;s=147;break}case 2:{if((i|0)<5){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<5);i=m+6+(6-m&-8)|0}s=i+-5|0;c[u>>2]=s;g=(g>>>s&31)+5|0;s=147;break}default:{if((i|0)<7){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<7);m=m+6+(8-m&-8)|0}else m=i;i=m+-7|0;j=g>>>i&127;c[u>>2]=i;if(j|0){g=j+36|0;s=147;break d}if((i|0)<20){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<20);i=m+1+(26-m&-8)|0}t=i+-20|0;g=g>>>t&1048575;c[u>>2]=t;if(!g)s=142;else s=147}}while(0);if((s|0)==142){g=tr(x,w)|0;if((c[D>>2]|0)>>>0>=(c[C>>2]|0)>>>0){s=143;break a}if((g|0)<0){s=145;break a}t=Fo(e,w,g)|0;s=c[D>>2]|0;c[D>>2]=s+16;c[s>>2]=8;c[s+8>>2]=t;t=t+4|0;c[t>>2]=(c[t>>2]|0)+1}else if((s|0)==147){g=c[(c[E>>2]|0)+(g+-1<<2)>>2]|0;if(n>>>0>=(c[C>>2]|0)>>>0){s=148;break a}c[D>>2]=n+16;c[n>>2]=8;c[n+8>>2]=g;t=g+4|0;c[t>>2]=(c[t>>2]|0)+1}t=c[F>>2]|0;g=(c[D>>2]|0)-t>>4;g=g>>>0>1?t+(g+-2<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9){s=152;break a}g=c[g+8>>2]|0;if(!g){s=152;break a}ho(e,g,c[(c[E>>2]|0)+344>>2]|0,4);m=c[u>>2]|0;g=c[v>>2]|0;if((m|0)<1){k=c[A>>2]|0;i=c[z>>2]|0;j=m;do{g=g<<8;c[v>>2]=g;if(i>>>0>>0){s=c[x>>2]|0;t=i+1|0;c[z>>2]=t;g=d[s+i>>0]|0|g;c[v>>2]=g;i=t}j=j+8|0;c[u>>2]=j}while((j|0)<1);m=m+8+(0-m&-8)|0}i=m+-1|0;c[u>>2]=i;if(!(1<>2]=c[o>>2]&-257;if((m|0)<3){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<2);m=m+7+(2-m&-8)|0}else m=i;i=m+-2|0;c[u>>2]=i;e:do switch(g>>>i&3){case 0:{g=0;break}case 1:{if((i|0)<2){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<2);i=m+6+(3-m&-8)|0}t=i+-2|0;c[u>>2]=t;g=(g>>>t&3)+1|0;break}case 2:{if((i|0)<5){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<5);i=m+6+(6-m&-8)|0}t=i+-5|0;c[u>>2]=t;g=(g>>>t&31)+5|0;break}default:{if((i|0)<7){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<7);m=m+6+(8-m&-8)|0}else m=i;i=m+-7|0;j=g>>>i&127;c[u>>2]=i;if(j|0){g=j+36|0;break e}if((i|0)<20){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<20);i=m+1+(26-m&-8)|0}t=i+-20|0;c[u>>2]=t;g=g>>>t&1048575}}while(0);b[o+46>>1]=g;break}case 2:{j=xo(e,48)|0;k=c[B>>2]|0;c[j>>2]=272679041;g=k+24|0;i=c[g>>2]|0;if(i|0)c[i+12>>2]=j;c[j+12>>2]=0;c[j+8>>2]=i;c[g>>2]=j;g=c[r>>2]|0;t=j+20|0;i=c[t>>2]|0;c[t>>2]=g;if(g|0){t=g+4|0;c[t>>2]=(c[t>>2]|0)+1}if(i|0?(s=i+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)fp(k,i);t=c[D>>2]|0;c[t>>2]=9;c[t+8>>2]=j;t=j+4|0;c[t>>2]=(c[t>>2]|0)+1;c[D>>2]=(c[D>>2]|0)+16;break}case 15:{j=xo(e,48)|0;g=c[B>>2]|0;c[j>>2]=2013266049;g=g+24|0;i=c[g>>2]|0;if(i|0)c[i+12>>2]=j;c[j+12>>2]=0;c[j+8>>2]=i;c[g>>2]=j;g=c[D>>2]|0;if(g>>>0>=(c[C>>2]|0)>>>0){s=209;break a}c[D>>2]=g+16;c[g>>2]=9;c[g+8>>2]=j;t=j+4|0;c[t>>2]=(c[t>>2]|0)+1;t=c[(c[F>>2]|0)+8>>2]|0;c[j+40>>2]=t;t=t+4|0;c[t>>2]=(c[t>>2]|0)+1;break}default:{if((c[D>>2]|0)>>>0>=(c[C>>2]|0)>>>0){s=212;break a}g=xo(e,40)|0;i=c[B>>2]|0;c[g>>2]=16513;i=i+24|0;j=c[i>>2]|0;if(j|0)c[j+12>>2]=g;c[g+12>>2]=0;c[g+8>>2]=j;c[i>>2]=g;t=c[D>>2]|0;c[t>>2]=9;c[t+8>>2]=g;t=g+4|0;c[t>>2]=(c[t>>2]|0)+1;c[D>>2]=(c[D>>2]|0)+16}}i=c[(c[D>>2]|0)+-8>>2]|0;c[i>>2]=c[i>>2]&134217727|q<<27;c[e+132+(f<<2)>>2]=i;t=i+4|0;c[t>>2]=(c[t>>2]|0)+1;if((p|0)>-1){g=c[D>>2]|0;if(g>>>0>=(c[C>>2]|0)>>>0){s=218;break}s=g+16|0;c[D>>2]=s;c[g>>2]=0;h[g+8>>3]=+(p|0);t=c[F>>2]|0;g=s-t>>4;g=g>>>0>1?t+(g+-2<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9){s=221;break}g=c[g+8>>2]|0;if(!g){s=221;break}ho(e,g,c[(c[E>>2]|0)+320>>2]|0,4)}if((q|0)==12)c[i>>2]=c[i>>2]|8388608;f=f+1|0;if(f>>>0>=74){s=4;break}m=c[u>>2]|0}if((s|0)==4){f=0;f:while(1){n=c[(c[F>>2]|0)+(f<<4)+8>>2]|0;m=c[u>>2]|0;g=c[v>>2]|0;if((m|0)<2){k=c[A>>2]|0;i=c[z>>2]|0;j=m;do{g=g<<8;c[v>>2]=g;if(i>>>0>>0){r=c[x>>2]|0;t=i+1|0;c[z>>2]=t;g=d[r+i>>0]|0|g;c[v>>2]=g;i=t}j=j+8|0;c[u>>2]=j}while((j|0)<2);m=m+8+(1-m&-8)|0}i=m+-2|0;c[u>>2]=i;g:do switch(g>>>i&3){case 0:break;case 1:{if((i|0)<2){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<2);i=m+6+(3-m&-8)|0}i=i+-2|0;c[u>>2]=i;g=(g>>>i&3)+1|0;s=263;break}case 2:{if((i|0)<5){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<5);i=m+6+(6-m&-8)|0}i=i+-5|0;c[u>>2]=i;g=(g>>>i&31)+5|0;s=263;break}default:{if((i|0)<7){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<7);i=m+6+(8-m&-8)|0}k=i+-7|0;j=g>>>k&127;c[u>>2]=k;if(j|0){g=j+36|0;i=k;s=263;break g}if((k|0)<20){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<20);i=i+1+(26-i&-8)|0}else i=k;i=i+-20|0;g=g>>>i&1048575;c[u>>2]=i;if(g)s=263}}while(0);if((s|0)==263){s=0;j=c[(c[((g|0)<1?D:F)>>2]|0)+(g+-1<<4)+8>>2]|0;t=n+20|0;g=c[t>>2]|0;c[t>>2]=j;if(j|0){t=j+4|0;c[t>>2]=(c[t>>2]|0)+1}if((g|0)!=0?(r=g+4|0,t=(c[r>>2]|0)+-1|0,c[r>>2]=t,(t|0)==0):0){fp(c[B>>2]|0,g);i=c[u>>2]|0}}g=c[v>>2]|0;if((i|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;k=i;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<2);m=i+8+(1-i&-8)|0}else m=i;i=m+-2|0;c[u>>2]=i;h:do switch(g>>>i&3){case 0:break;case 1:{if((i|0)<2){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<2);i=m+6+(3-m&-8)|0}s=i+-2|0;c[u>>2]=s;g=(g>>>s&3)+1|0;s=304;break}case 2:{if((i|0)<5){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<5);i=m+6+(6-m&-8)|0}s=i+-5|0;c[u>>2]=s;g=(g>>>s&31)+5|0;s=304;break}default:{if((i|0)<7){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<7);i=m+6+(8-m&-8)|0}k=i+-7|0;j=g>>>k&127;c[u>>2]=k;if(j|0){g=j+36|0;s=304;break h}if((k|0)<20){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<20);i=i+1+(26-i&-8)|0}else i=k;i=i+-20|0;g=g>>>i&1048575;c[u>>2]=i;if(g)s=304}}while(0);if((s|0)==304){s=0;j=c[D>>2]|0;i=c[F>>2]|0;i=f>>>0>4>>>0?i+(f<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=9){s=306;break}i=c[i+8>>2]|0;if(!i){s=306;break}g=c[e+132+(g+-1<<2)>>2]|0;if(j>>>0>=(c[C>>2]|0)>>>0){s=308;break}t=c[(c[E>>2]|0)+200>>2]|0;c[D>>2]=j+16;c[j>>2]=9;c[j+8>>2]=g;r=g+4|0;c[r>>2]=(c[r>>2]|0)+1;ho(e,i,t,0);i=c[u>>2]|0}g=c[v>>2]|0;if((i|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;k=i;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<2);i=i+8+(1-i&-8)|0}k=i+-2|0;c[u>>2]=k;i:do switch(g>>>k&3){case 0:{i=k;break}case 1:{if((k|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<2);i=i+6+(3-i&-8)|0}else i=k;s=i+-2|0;c[u>>2]=s;g=(g>>>s&3)+1|0;s=346;break}case 2:{if((k|0)<5){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<5);i=i+6+(6-i&-8)|0}else i=k;s=i+-5|0;c[u>>2]=s;g=(g>>>s&31)+5|0;s=346;break}default:{if((k|0)<7){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<7);k=i+6+(8-i&-8)|0}i=k+-7|0;j=g>>>i&127;c[u>>2]=i;if(j|0){g=j+36|0;s=346;break i}if((i|0)<20){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<20);i=k+1+(26-k&-8)|0}i=i+-20|0;g=g>>>i&1048575;c[u>>2]=i;if(g)s=346}}while(0);if((s|0)==346){s=0;j=c[D>>2]|0;i=c[F>>2]|0;i=f>>>0>4>>>0?i+(f<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=9){s=348;break}i=c[i+8>>2]|0;if(!i){s=348;break}g=c[e+132+(g+-1<<2)>>2]|0;if(j>>>0>=(c[C>>2]|0)>>>0){s=350;break}t=c[(c[E>>2]|0)+204>>2]|0;c[D>>2]=j+16;c[j>>2]=9;c[j+8>>2]=g;r=g+4|0;c[r>>2]=(c[r>>2]|0)+1;ho(e,i,t,5);i=c[u>>2]|0}g=c[v>>2]|0;if((i|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;k=i;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){r=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[r+j>>0]|0|g;c[v>>2]=g;j=t}k=k+8|0;c[u>>2]=k}while((k|0)<2);m=i+8+(1-i&-8)|0}else m=i;i=m+-2|0;c[u>>2]=i;j:do switch(g>>>i&3){case 0:{if((i|0)<2)s=686;break}case 1:{if((i|0)<2){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<2);i=m+6+(3-m&-8)|0}i=i+-2|0;c[u>>2]=i;g=(g>>>i&3)+1|0;s=388;break}case 2:{if((i|0)<5){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<5);i=m+6+(6-m&-8)|0}i=i+-5|0;c[u>>2]=i;g=(g>>>i&31)+5|0;s=388;break}default:{if((i|0)<7){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<7);m=m+6+(8-m&-8)|0}else m=i;i=m+-7|0;j=g>>>i&127;c[u>>2]=i;if(j|0){g=j+36|0;s=388;break j}if((i|0)<20){k=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){s=c[x>>2]|0;t=j+1|0;c[z>>2]=t;g=d[s+j>>0]|0|g;c[v>>2]=g;j=t}i=i+8|0;c[u>>2]=i}while((i|0)<20);i=m+1+(26-m&-8)|0}i=i+-20|0;g=g>>>i&1048575;c[u>>2]=i;j=(i|0)<2;if(!g)s=685;else{t=g;s=390}}}while(0);if((s|0)==388){t=g;j=(i|0)<2;s=390}k:do if((s|0)==390){r=0;while(1){g=c[v>>2]|0;if(j){m=c[A>>2]|0;j=c[z>>2]|0;k=i;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){q=c[x>>2]|0;s=j+1|0;c[z>>2]=s;g=d[q+j>>0]|0|g;c[v>>2]=g;j=s}k=k+8|0;c[u>>2]=k}while((k|0)<2);i=i+8+(1-i&-8)|0}k=i+-2|0;c[u>>2]=k;l:do switch(g>>>k&3){case 0:{s=427;break}case 1:{if((k|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){q=c[x>>2]|0;s=j+1|0;c[z>>2]=s;g=d[q+j>>0]|0|g;c[v>>2]=g;j=s}k=k+8|0;c[u>>2]=k}while((k|0)<2);i=i+6+(3-i&-8)|0}else i=k;s=i+-2|0;c[u>>2]=s;g=(g>>>s&3)+1|0;s=432;break}case 2:{if((k|0)<5){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){q=c[x>>2]|0;s=j+1|0;c[z>>2]=s;g=d[q+j>>0]|0|g;c[v>>2]=g;j=s}k=k+8|0;c[u>>2]=k}while((k|0)<5);i=i+6+(6-i&-8)|0}else i=k;s=i+-5|0;c[u>>2]=s;g=(g>>>s&31)+5|0;s=432;break}default:{if((k|0)<7){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){q=c[x>>2]|0;s=j+1|0;c[z>>2]=s;g=d[q+j>>0]|0|g;c[v>>2]=g;j=s}k=k+8|0;c[u>>2]=k}while((k|0)<7);k=i+6+(8-i&-8)|0}i=k+-7|0;j=g>>>i&127;c[u>>2]=i;if(j|0){g=j+36|0;s=432;break l}if((i|0)<20){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){q=c[x>>2]|0;s=j+1|0;c[z>>2]=s;g=d[q+j>>0]|0|g;c[v>>2]=g;j=s}i=i+8|0;c[u>>2]=i}while((i|0)<20);i=k+1+(26-k&-8)|0}s=i+-20|0;g=g>>>s&1048575;c[u>>2]=s;if(!g)s=427;else s=432}}while(0);if((s|0)==427){g=tr(x,w)|0;if((c[D>>2]|0)>>>0>=(c[C>>2]|0)>>>0){s=428;break f}if((g|0)<0){s=430;break f}s=Fo(e,w,g)|0;q=c[D>>2]|0;c[D>>2]=q+16;c[q>>2]=8;c[q+8>>2]=s;s=s+4|0;c[s>>2]=(c[s>>2]|0)+1}else if((s|0)==432){g=c[(c[E>>2]|0)+(g+-1<<2)>>2]|0;i=c[D>>2]|0;if(i>>>0>=(c[C>>2]|0)>>>0){s=433;break f}c[D>>2]=i+16;c[i>>2]=8;c[i+8>>2]=g;s=g+4|0;c[s>>2]=(c[s>>2]|0)+1}m=c[u>>2]|0;g=c[v>>2]|0;if((m|0)<1){k=c[A>>2]|0;i=c[z>>2]|0;j=m;do{g=g<<8;c[v>>2]=g;if(i>>>0>>0){q=c[x>>2]|0;s=i+1|0;c[z>>2]=s;g=d[q+i>>0]|0|g;c[v>>2]=g;i=s}j=j+8|0;c[u>>2]=j}while((j|0)<1);m=m+8+(0-m&-8)|0}j=m+-1|0;c[u>>2]=j;if(!(1<>2]|0;i=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(i>>>0>>0){q=c[x>>2]|0;s=i+1|0;c[z>>2]=s;g=d[q+i>>0]|0|g;c[v>>2]=g;i=s}j=j+8|0;c[u>>2]=j}while((j|0)<3);i=m+7+(3-m&-8)|0}else i=j;j=i+-3|0;c[u>>2]=j;q=g>>>j&7;i=g}g=q|632;if((j|0)<3){n=c[A>>2]|0;k=c[z>>2]|0;m=j;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){p=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[p+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<3);n=j+8+(2-j&-8)|0}else n=j;j=n+-3|0;c[u>>2]=j;switch(i>>>j&7){case 0:{o=0;do{if((j|0)<8){n=c[A>>2]|0;k=c[z>>2]|0;m=j;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}s=m;m=m+8|0;c[u>>2]=m}while((s|0)<0);j=j+8+(7-j&-8)|0}j=j+-8|0;c[u>>2]=j;a[w+o>>0]=i>>>j;o=o+1|0}while((o|0)!=8);i=c[D>>2]|0;if(i>>>0>=(c[C>>2]|0)>>>0){s=465;break f}H=+h[w>>3];c[D>>2]=i+16;c[i>>2]=0;h[i+8>>3]=H;break}case 1:{i=tr(x,w)|0;if((c[D>>2]|0)>>>0>=(c[C>>2]|0)>>>0){s=468;break f}if((i|0)<0){s=470;break f}s=Fo(e,w,i)|0;q=c[D>>2]|0;c[D>>2]=q+16;c[q>>2]=8;c[q+8>>2]=s;s=s+4|0;c[s>>2]=(c[s>>2]|0)+1;break}case 2:{if((j|0)<2){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<2);n=n+5+(4-n&-8)|0}else n=j;j=n+-2|0;c[u>>2]=j;m:do switch(i>>>j&3){case 0:{i=0;break}case 1:{if((j|0)<2){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<2);j=n+6+(3-n&-8)|0}s=j+-2|0;c[u>>2]=s;i=(i>>>s&3)+1|0;break}case 2:{if((j|0)<5){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<5);j=n+6+(6-n&-8)|0}s=j+-5|0;c[u>>2]=s;i=(i>>>s&31)+5|0;break}default:{if((j|0)<7){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<7);n=n+6+(8-n&-8)|0}else n=j;j=n+-7|0;k=i>>>j&127;c[u>>2]=j;if(k|0){i=k+36|0;break m}if((j|0)<20){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<20);j=n+1+(26-n&-8)|0}s=j+-20|0;c[u>>2]=s;i=i>>>s&1048575}}while(0);i=c[(c[E>>2]|0)+(i<<2)>>2]|0;j=c[D>>2]|0;if(j>>>0>=(c[C>>2]|0)>>>0){s=509;break f}c[D>>2]=j+16;c[j>>2]=8;c[j+8>>2]=i;s=i+4|0;c[s>>2]=(c[s>>2]|0)+1;break}case 3:{if((j|0)<2){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<2);n=n+5+(4-n&-8)|0}else n=j;j=n+-2|0;c[u>>2]=j;n:do switch(i>>>j&3){case 0:{k=0;break}case 1:{if((j|0)<2){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<2);j=n+6+(3-n&-8)|0}k=j+-2|0;c[u>>2]=k;k=(i>>>k&3)+1|0;break}case 2:{if((j|0)<5){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<5);j=n+6+(6-n&-8)|0}k=j+-5|0;c[u>>2]=k;k=(i>>>k&31)+5|0;break}default:{if((j|0)<7){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<7);n=n+6+(8-n&-8)|0}else n=j;j=n+-7|0;k=i>>>j&127;c[u>>2]=j;if(k|0){k=k+36|0;break n}if((j|0)<20){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){q=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[q+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<20);j=n+1+(26-n&-8)|0}k=j+-20|0;c[u>>2]=k;k=i>>>k&1048575}}while(0);i=c[D>>2]|0;if(i>>>0>=(c[C>>2]|0)>>>0){s=548;break f}j=c[F>>2]|0;if(k>>>0>=i-j>>4>>>0){s=550;break f}s=j+(k<<4)|0;c[D>>2]=i+16;c[i>>2]=c[s>>2];c[i+4>>2]=c[s+4>>2];c[i+8>>2]=c[s+8>>2];c[i+12>>2]=c[s+12>>2];if(c[i>>2]&8){s=(c[i+8>>2]|0)+4|0;c[s>>2]=(c[s>>2]|0)+1}break}case 4:{i=c[D>>2]|0;if(i>>>0>=(c[C>>2]|0)>>>0){s=554;break f}c[D>>2]=i+16;break}case 5:{i=c[D>>2]|0;if(i>>>0>=(c[C>>2]|0)>>>0){s=557;break f}c[D>>2]=i+16;c[i>>2]=4;c[i+8>>2]=1;break}case 6:{i=c[D>>2]|0;if(i>>>0>=(c[C>>2]|0)>>>0){s=560;break f}c[D>>2]=i+16;c[i>>2]=4;c[i+8>>2]=0;break}case 7:{if((j|0)<2){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){p=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[p+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<2);j=n+5+(4-n&-8)|0}m=j+-2|0;c[u>>2]=m;o:do switch(i>>>m&3){case 0:{p=0;j=m;break}case 1:{if((m|0)<2){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){p=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[p+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<2);j=j+6+(3-j&-8)|0}else j=m;j=j+-2|0;c[u>>2]=j;p=(i>>>j&3)+1|0;break}case 2:{if((m|0)<5){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){p=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[p+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<5);j=j+6+(6-j&-8)|0}else j=m;j=j+-5|0;c[u>>2]=j;p=(i>>>j&31)+5|0;break}default:{if((m|0)<7){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){p=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[p+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<7);m=j+6+(8-j&-8)|0}j=m+-7|0;k=i>>>j&127;c[u>>2]=j;if(k|0){p=k+36|0;break o}if((j|0)<20){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){p=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[p+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<20);j=m+1+(26-m&-8)|0}j=j+-20|0;c[u>>2]=j;p=i>>>j&1048575}}while(0);if((j|0)<2){n=c[A>>2]|0;k=c[z>>2]|0;m=j;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){o=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[o+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<2);j=j+8+(1-j&-8)|0}m=j+-2|0;c[u>>2]=m;p:do switch(i>>>m&3){case 0:{o=0;j=m;break}case 1:{if((m|0)<2){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){o=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[o+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<2);j=j+6+(3-j&-8)|0}else j=m;j=j+-2|0;c[u>>2]=j;o=(i>>>j&3)+1|0;break}case 2:{if((m|0)<5){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){o=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[o+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<5);j=j+6+(6-j&-8)|0}else j=m;j=j+-5|0;c[u>>2]=j;o=(i>>>j&31)+5|0;break}default:{if((m|0)<7){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){o=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[o+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<7);m=j+6+(8-j&-8)|0}j=m+-7|0;k=i>>>j&127;c[u>>2]=j;if(k|0){o=k+36|0;break p}if((j|0)<20){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){o=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[o+k>>0]|0|i;c[v>>2]=i;k=s}j=j+8|0;c[u>>2]=j}while((j|0)<20);j=m+1+(26-m&-8)|0}j=j+-20|0;c[u>>2]=j;o=i>>>j&1048575}}while(0);if((j|0)<2){n=c[A>>2]|0;k=c[z>>2]|0;m=j;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){I=c[x>>2]|0;s=k+1|0;c[z>>2]=s;i=d[I+k>>0]|0|i;c[v>>2]=i;k=s}m=m+8|0;c[u>>2]=m}while((m|0)<2);j=j+8+(1-j&-8)|0}m=j+-2|0;c[u>>2]=m;q:do switch(i>>>m&3){case 0:{j=0;break}case 1:{if((m|0)<2){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){s=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[s+k>>0]|0|i;c[v>>2]=i;k=I}m=m+8|0;c[u>>2]=m}while((m|0)<2);j=j+6+(3-j&-8)|0}else j=m;j=j+-2|0;c[u>>2]=j;j=(i>>>j&3)+1|0;break}case 2:{if((m|0)<5){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){s=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[s+k>>0]|0|i;c[v>>2]=i;k=I}m=m+8|0;c[u>>2]=m}while((m|0)<5);j=j+6+(6-j&-8)|0}else j=m;j=j+-5|0;c[u>>2]=j;j=(i>>>j&31)+5|0;break}default:{if((m|0)<7){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){s=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[s+k>>0]|0|i;c[v>>2]=i;k=I}m=m+8|0;c[u>>2]=m}while((m|0)<7);m=j+6+(8-j&-8)|0}j=m+-7|0;k=i>>>j&127;c[u>>2]=j;if(k|0){j=k+36|0;break q}if((j|0)<20){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){s=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[s+k>>0]|0|i;c[v>>2]=i;k=I}j=j+8|0;c[u>>2]=j}while((j|0)<20);j=m+1+(26-m&-8)|0}j=j+-20|0;c[u>>2]=j;j=i>>>j&1048575}}while(0);if(p){Gq(e,c[4260+(p<<2)>>2]|0,0,403132544);I=c[F>>2]|0;g=(c[D>>2]|0)-I>>4;g=g|0?I+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9){s=674;break f}g=c[g+8>>2]|0;if(!g){s=674;break f}if(!(c[g>>2]&4096)){s=674;break f}b[g+46>>1]=j;g=q|760}if(o){Gq(e,c[4260+(o<<2)>>2]|0,1,403132544);I=c[F>>2]|0;i=(c[D>>2]|0)-I>>4;i=i|0?I+(i+-1<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=9){s=680;break f}i=c[i+8>>2]|0;if(!i){s=680;break f}if(!(c[i>>2]&4096)){s=680;break f}b[i+46>>1]=j;g=g|256}g=g&-121|48;break}default:{s=683;break f}}qp(e,f,g);r=r+1|0;i=c[u>>2]|0;j=(i|0)<2;if(r>>>0>=t>>>0){s=685;break k}}}while(0);if((s|0)==685){s=0;g=c[v>>2]|0;if(j)s=686}if((s|0)==686){s=0;m=c[A>>2]|0;j=c[z>>2]|0;k=i;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){t=c[x>>2]|0;I=j+1|0;c[z>>2]=I;g=d[t+j>>0]|0|g;c[v>>2]=g;j=I}k=k+8|0;c[u>>2]=k}while((k|0)<2);i=i+8+(1-i&-8)|0}k=i+-2|0;c[u>>2]=k;r:do switch(g>>>k&3){case 0:break;case 1:{if((k|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){t=c[x>>2]|0;I=j+1|0;c[z>>2]=I;g=d[t+j>>0]|0|g;c[v>>2]=g;j=I}k=k+8|0;c[u>>2]=k}while((k|0)<2);i=i+6+(3-i&-8)|0}else i=k;i=i+-2|0;c[u>>2]=i;g=(g>>>i&3)+1|0;s=721;break}case 2:{if((k|0)<5){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){t=c[x>>2]|0;I=j+1|0;c[z>>2]=I;g=d[t+j>>0]|0|g;c[v>>2]=g;j=I}k=k+8|0;c[u>>2]=k}while((k|0)<5);i=i+6+(6-i&-8)|0}else i=k;i=i+-5|0;c[u>>2]=i;g=(g>>>i&31)+5|0;s=721;break}default:{if((k|0)<7){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){t=c[x>>2]|0;I=j+1|0;c[z>>2]=I;g=d[t+j>>0]|0|g;c[v>>2]=g;j=I}k=k+8|0;c[u>>2]=k}while((k|0)<7);k=i+6+(8-i&-8)|0}i=k+-7|0;j=g>>>i&127;c[u>>2]=i;if(j|0){g=j+36|0;s=721;break r}if((i|0)<20){m=c[A>>2]|0;j=c[z>>2]|0;do{g=g<<8;c[v>>2]=g;if(j>>>0>>0){t=c[x>>2]|0;I=j+1|0;c[z>>2]=I;g=d[t+j>>0]|0|g;c[v>>2]=g;j=I}i=i+8|0;c[u>>2]=i}while((i|0)<20);i=k+1+(26-k&-8)|0}i=i+-20|0;g=g>>>i&1048575;c[u>>2]=i;if(g|0)s=721}}while(0);s:do if((s|0)==721){r=0;n=i;while(1){i=c[v>>2]|0;if((n|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;k=n;do{i=i<<8;c[v>>2]=i;if(j>>>0>>0){t=c[x>>2]|0;I=j+1|0;c[z>>2]=I;i=d[t+j>>0]|0|i;c[v>>2]=i;j=I}k=k+8|0;c[u>>2]=k}while((k|0)<2);n=n+8+(1-n&-8)|0}j=n+-2|0;c[u>>2]=j;t:do switch(i>>>j&3){case 0:{s=758;break}case 1:{if((j|0)<2){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}j=j+8|0;c[u>>2]=j}while((j|0)<2);j=n+6+(3-n&-8)|0}s=j+-2|0;c[u>>2]=s;i=(i>>>s&3)+1|0;s=763;break}case 2:{if((j|0)<5){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}j=j+8|0;c[u>>2]=j}while((j|0)<5);j=n+6+(6-n&-8)|0}s=j+-5|0;c[u>>2]=s;i=(i>>>s&31)+5|0;s=763;break}default:{if((j|0)<7){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}j=j+8|0;c[u>>2]=j}while((j|0)<7);n=n+6+(8-n&-8)|0}else n=j;j=n+-7|0;k=i>>>j&127;c[u>>2]=j;if(k|0){i=k+36|0;s=763;break t}if((j|0)<20){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}j=j+8|0;c[u>>2]=j}while((j|0)<20);j=n+1+(26-n&-8)|0}I=j+-20|0;i=i>>>I&1048575;c[u>>2]=I;if(!i)s=758;else s=763}}while(0);if((s|0)==758){s=0;i=tr(x,w)|0;if((c[D>>2]|0)>>>0>=(c[C>>2]|0)>>>0){s=759;break f}if((i|0)<0){s=761;break f}I=Fo(e,w,i)|0;t=c[D>>2]|0;c[D>>2]=t+16;c[t>>2]=8;c[t+8>>2]=I;I=I+4|0;c[I>>2]=(c[I>>2]|0)+1}else if((s|0)==763){s=0;i=c[(c[E>>2]|0)+(i+-1<<2)>>2]|0;j=c[D>>2]|0;if(j>>>0>=(c[C>>2]|0)>>>0){s=764;break f}c[D>>2]=j+16;c[j>>2]=8;c[j+8>>2]=i;I=i+4|0;c[I>>2]=(c[I>>2]|0)+1}n=c[u>>2]|0;i=c[v>>2]|0;if((n|0)<2){m=c[A>>2]|0;j=c[z>>2]|0;k=n;do{i=i<<8;c[v>>2]=i;if(j>>>0>>0){t=c[x>>2]|0;I=j+1|0;c[z>>2]=I;i=d[t+j>>0]|0|i;c[v>>2]=i;j=I}k=k+8|0;c[u>>2]=k}while((k|0)<2);n=n+8+(1-n&-8)|0}j=n+-2|0;c[u>>2]=j;u:do switch(i>>>j&3){case 0:{o=0;break}case 1:{if((j|0)<2){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}j=j+8|0;c[u>>2]=j}while((j|0)<2);j=n+6+(3-n&-8)|0}j=j+-2|0;c[u>>2]=j;o=(i>>>j&3)+1|0;break}case 2:{if((j|0)<5){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}j=j+8|0;c[u>>2]=j}while((j|0)<5);j=n+6+(6-n&-8)|0}j=j+-5|0;c[u>>2]=j;o=(i>>>j&31)+5|0;break}default:{if((j|0)<7){m=c[A>>2]|0;k=c[z>>2]|0;do{i=i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m=j;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}m=m+8|0;c[u>>2]=m}while((m|0)<2);j=j+8+(1-j&-8)|0}m=j+-2|0;c[u>>2]=m;v:do switch(i>>>m&3){case 0:{j=0;break}case 1:{if((m|0)<2){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}m=m+8|0;c[u>>2]=m}while((m|0)<2);j=j+6+(3-j&-8)|0}else j=m;j=j+-2|0;c[u>>2]=j;j=(i>>>j&3)+1|0;break}case 2:{if((m|0)<5){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}m=m+8|0;c[u>>2]=m}while((m|0)<5);j=j+6+(6-j&-8)|0}else j=m;j=j+-5|0;c[u>>2]=j;j=(i>>>j&31)+5|0;break}default:{if((m|0)<7){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}m=m+8|0;c[u>>2]=m}while((m|0)<7);m=j+6+(8-j&-8)|0}j=m+-7|0;k=i>>>j&127;c[u>>2]=j;if(k|0){j=k+36|0;break v}if((j|0)<20){n=c[A>>2]|0;k=c[z>>2]|0;do{i=i<<8;c[v>>2]=i;if(k>>>0>>0){t=c[x>>2]|0;I=k+1|0;c[z>>2]=I;i=d[t+k>>0]|0|i;c[v>>2]=i;k=I}j=j+8|0;c[u>>2]=j}while((j|0)<20);j=m+1+(26-m&-8)|0}j=j+-20|0;c[u>>2]=j;j=i>>>j&1048575}}while(0);Gq(e,o,p,403132544);i=c[D>>2]|0;I=c[i+-8>>2]|0;c[I>>2]=c[I>>2]|65536;b[I+46>>1]=j;if(i>>>0>=(c[C>>2]|0)>>>0){s=859;break f}t=i+16|0;c[D>>2]=t;c[i>>2]=0;h[i+8>>3]=+(q|0);I=c[F>>2]|0;i=t-I>>4;i=i>>>0>1?I+(i+-2<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=9){s=862;break f}i=c[i+8>>2]|0;if(!i){s=862;break f}ho(e,i,c[(c[E>>2]|0)+320>>2]|0,4);i=c[D>>2]|0;if(i>>>0>=(c[C>>2]|0)>>>0){s=864;break f}j=c[F>>2]|0;k=i-j>>4;if(k>>>0<=1){s=866;break f}I=j+(k+-2<<4)|0;c[D>>2]=i+16;c[i>>2]=c[I>>2];c[i+4>>2]=c[I+4>>2];c[i+8>>2]=c[I+8>>2];c[i+12>>2]=c[I+12>>2];if(c[i>>2]&8|0){I=(c[i+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}I=c[F>>2]|0;i=(c[D>>2]|0)-I>>4;i=i>>>0>1?I+(i+-2<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=9){s=871;break f}i=c[i+8>>2]|0;if(!i){s=871;break f}ho(e,i,c[(c[E>>2]|0)+344>>2]|0,4);i=c[F>>2]|0;i=f>>>0<(c[D>>2]|0)-i>>4>>>0?i+(f<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=9){s=874;break f}j=c[i+8>>2]|0;if(!j){s=874;break f}po(e,-2,1);I=c[F>>2]|0;i=(c[D>>2]|0)-I>>4;i=i>>>0>1?I+(i+-2<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)==8?(y=c[i+8>>2]|0,(y|0)!=0):0)i=y;else s=877;do if((s|0)==877){s=0;Ho(e,-2)|0;I=c[F>>2]|0;i=(c[D>>2]|0)-I>>4;i=i>>>0>1?I+(i+-2<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=8){i=0;break}i=c[i+8>>2]|0}while(0);ho(e,j,i,5);i=c[D>>2]|0;if((i|0)==(c[F>>2]|0)){s=880;break f}t=i+-16|0;c[D>>2]=t;I=c[i+-16>>2]|0;i=c[i+-8>>2]|0;c[t>>2]=2;do if(I&8|0){t=i+4|0;I=(c[t>>2]|0)+-1|0;c[t>>2]=I;if(I|0)break;go(c[B>>2]|0,i)}while(0);i=r+1|0;if(i>>>0>=g>>>0)break s;r=i;n=c[u>>2]|0}}while(0);f=f+1|0;if(f>>>0>=74){s=887;break}}switch(s|0){case 306:{In(e,1834,f,268820);break}case 308:{Sn(e,3761);break}case 348:{In(e,1834,f,268820);break}case 350:{Sn(e,3761);break}case 428:{Sn(e,3931);break}case 430:{Jn(e,268491,50335592,268919);break}case 433:{Sn(e,3761);break}case 465:{Sn(e,3835);break}case 468:{Sn(e,3931);break}case 470:{Jn(e,268491,50335592,268919);break}case 509:{Sn(e,3761);break}case 548:{Sn(e,935);break}case 550:{$n(e,342,k);break}case 554:{Sn(e,3772);break}case 557:{Sn(e,3811);break}case 560:{Sn(e,3822);break}case 674:{In(e,1898,-1,271754);break}case 680:{In(e,1898,-1,271754);break}case 683:break;case 759:{Sn(e,3931);break}case 761:{Jn(e,268491,50335592,268919);break}case 764:{Sn(e,3761);break}case 859:{Sn(e,3868);break}case 862:{In(e,1834,-2,268820);break}case 864:{Sn(e,935);break}case 866:{$n(e,342,-2);break}case 871:{In(e,1834,-2,268820);break}case 874:{In(e,1834,f,268820);break}case 880:{Jn(e,268491,50336874,268507);break}case 887:{I=c[D>>2]|0;f=I;if(I-(c[F>>2]|0)>>4>>>0<=15)$n(e,267,15);g=c[(c[E>>2]|0)+164>>2]|0;if(f>>>0>=(c[C>>2]|0)>>>0)Sn(e,3761);c[D>>2]=f+16;c[f>>2]=8;c[f+8>>2]=g;f=g+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[F>>2]|0;g=(c[D>>2]|0)-f>>4;if(g>>>0<=15)$n(e,342,15);ro(e,f+240|0,f+(g+-1<<4)|0)|0;g=c[F>>2]|0;i=(c[D>>2]|0)-g>>4;f=i+-2|0;if(i>>>0<=1)$n(e,342,-2);z=g+(f<<4)|0;A=g+(i+-1<<4)|0;I=c[z>>2]|0;g=c[g+(f<<4)+8>>2]|0;DQ(z|0,z+16|0,A-z|0)|0;c[A>>2]=2;f=(c[D>>2]|0)+-16|0;c[D>>2]=f;if((I&8|0)!=0?(A=g+4|0,I=(c[A>>2]|0)+-1|0,c[A>>2]=I,(I|0)==0):0){go(c[B>>2]|0,g);f=c[D>>2]|0}I=c[F>>2]|0;f=f-I>>4>>>0>15?I+240|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(e,1834,15,268820);f=c[f+8>>2]|0;if(!f)In(e,1834,15,268820);ho(e,f,c[(c[E>>2]|0)+172>>2]|0,5);I=c[(c[F>>2]|0)+648>>2]|0;c[I>>2]=c[I>>2]&-129;if((c[D>>2]|0)>>>0>=(c[C>>2]|0)>>>0)Sn(e,3931);f=Fo(e,278104,40)|0;I=c[D>>2]|0;c[D>>2]=I+16;c[I>>2]=8;c[I+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[F>>2]|0;f=(c[D>>2]|0)-f>>4>>>0>35?f+560|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(e,1834,35,268820);f=c[f+8>>2]|0;if(!f)In(e,1834,35,268820);ho(e,f,c[(c[E>>2]|0)+428>>2]|0,5);f=0;do{yp(e,c[(c[F>>2]|0)+(f<<4)+8>>2]|0);f=f+1|0}while((f|0)!=74);_n(e,0);l=G;return}}}else if((s|0)==143)Sn(e,3931);else if((s|0)==145)Jn(e,268491,50335592,268919);else if((s|0)==148)Sn(e,3761);else if((s|0)==152)In(e,1834,-2,268820);else if((s|0)==209)Sn(e,3761);else if((s|0)==212)Sn(e,4255);else if((s|0)==218)Sn(e,3868);else if((s|0)==221)In(e,1834,-2,268820)}function xr(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;Ln(a,0);Ln(a,0);c[a+60>>2]=1;Ln(a,0);c[a>>2]=c[a>>2]|8;l=a+120|0;do if(c[l>>2]|0){o=a+56|0;c[o>>2]=1;p=a+48|0;c[p>>2]=1;c[a+52>>2]=1;n=a+24|0;j=0;k=0;a:while(1){e=c[n>>2]|0;if(!e){d=0;b=0}else{d=0;b=0;do{b=b+1|0;h=c[e>>2]|0;b:do if(h&1){f=1e4;g=e;while(1){if(c[g>>2]&2097152|0)break;if(!f)break b;g=c[g+20>>2]|0;if(!g)break b;else f=f+-1|0}if(!(h&32)){g=c[l>>2]|0;c[e>>2]=h|32;if(!(h&67108864)){i=g+76|0;f=c[i>>2]|0;if(f>>>0>=(c[g+68>>2]|0)>>>0){b=13;break a}c[i>>2]=f+16;c[f>>2]=9;c[f+8>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=g+72|0;if(((c[i>>2]|0)-(c[f>>2]|0)|0)<0){b=15;break a}Vn(g,15,0,0,1)|0;h=c[i>>2]|0;if(h-(c[f>>2]|0)>>4>>>0<2){b=18;break a}g=g+44|0;r=h+-16|0;q=c[r>>2]|0;f=c[h+-8>>2]|0;c[r>>2]=2;if(q&8|0?(q=f+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0)Wn(c[g>>2]|0,f);q=h+-32|0;r=c[q>>2]|0;f=c[h+-24>>2]|0;c[q>>2]=2;if(r&8|0?(q=f+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0)Wn(c[g>>2]|0,f);c[i>>2]=h+-32;f=c[g>>2]|0;if(c[f+32>>2]|0)Rn(f)}d=d+1|0}}while(0);e=c[e+8>>2]|0}while((e|0)!=0)}j=(k|0)==0?b<<1:(j*3|0)>>>2;if(!((d|0)!=0&d>>>0>>0)){b=29;break}else k=k+1|0}if((b|0)==13)Sn(g,3761);else if((b|0)==15)Tn(g,268476,219);else if((b|0)==18)Jn(g,268491,50336767,268507);else if((b|0)==29){c[p>>2]=0;c[o>>2]=0;m=n;break}}else m=a+24|0;while(0);b=c[m>>2]|0;c:do if(b|0){f=a+12|0;g=a+16|0;while(1){d=b;b=c[b+8>>2]|0;e=c[d>>2]|0;switch(e&3){case 0:{Bg[c[f>>2]&255](c[g>>2]|0,d);break}case 1:{Bg[c[f>>2]&255](c[g>>2]|0,c[d+16>>2]|0);if((c[d>>2]&-134211584|0)==-1879048192){Bg[c[f>>2]&255](c[g>>2]|0,c[d+64>>2]|0);Bg[c[f>>2]&255](c[g>>2]|0,c[d+84>>2]|0);Bg[c[f>>2]&255](c[g>>2]|0,c[d+104>>2]|0)}Bg[c[f>>2]&255](c[g>>2]|0,d);break}default:{if((e&384|0)==128)Bg[c[f>>2]&255](c[g>>2]|0,c[d+20>>2]|0);Bg[c[f>>2]&255](c[g>>2]|0,d)}}if(!b)break c}}while(0);b=c[a+32>>2]|0;d:do if(b|0){f=a+12|0;g=a+16|0;while(1){d=b;b=c[b+8>>2]|0;e=c[d>>2]|0;switch(e&3){case 0:{Bg[c[f>>2]&255](c[g>>2]|0,d);break}case 1:{Bg[c[f>>2]&255](c[g>>2]|0,c[d+16>>2]|0);if((c[d>>2]&-134211584|0)==-1879048192){Bg[c[f>>2]&255](c[g>>2]|0,c[d+64>>2]|0);Bg[c[f>>2]&255](c[g>>2]|0,c[d+84>>2]|0);Bg[c[f>>2]&255](c[g>>2]|0,c[d+104>>2]|0)}Bg[c[f>>2]&255](c[g>>2]|0,d);break}default:{if((e&384|0)==128)Bg[c[f>>2]&255](c[g>>2]|0,c[d+20>>2]|0);Bg[c[f>>2]&255](c[g>>2]|0,d)}}if(!b)break d}}while(0);g=c[a+168>>2]|0;e=c[a+176>>2]|0;if(!e){r=a+16|0;q=a+12|0;o=c[q>>2]|0;p=c[r>>2]|0;Bg[o&255](p,g);q=c[q>>2]|0;r=c[r>>2]|0;Bg[q&255](r,a);return}b=a+12|0;d=a+16|0;f=g+(e<<2)|0;do{f=f+-4|0;e=c[f>>2]|0;if(e|0)do{r=e;e=c[e+8>>2]|0;Bg[c[b>>2]&255](c[d>>2]|0,r)}while((e|0)!=0)}while((g|0)!=(f|0));r=c[b>>2]|0;q=c[d>>2]|0;Bg[r&255](q,g);q=c[b>>2]|0;r=c[d>>2]|0;Bg[q&255](r,a);return}function yr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0.0;g=a+76|0;b=c[g>>2]|0;d=c[a+72>>2]|0;e=b-d|0;f=e>>4;if((f|0)==1){b=(b|0)!=(d|0)?d:0;b=(b|0)==0?944:b;if(!(c[b>>2]|0)){i=+h[b+8>>3];b=Eq(a,0)|0;if(+(b>>>0)!=i)Jn(a,279375,50331808,279360);c[(gr(a,b>>>0<64?b:64)|0)+40>>2]=b;return 1}}else if((e|0)<0)Jn(a,268491,50336947,268507);b=gr(a,f)|0;d=(c[g>>2]|0)+(0-f<<4)+-16|0;a=c[b+24>>2]|0;CQ((c[b+16>>2]|0)+(a*21|0)+(0-a&7)|0,d|0,e|0)|0;e=(c[g>>2]|0)+-16|0;c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];d=d+16|0;e=c[g>>2]|0;if((d|0)!=(e|0)){b=d;do{c[b>>2]=2;b=b+16|0}while((b|0)!=(e|0))}c[g>>2]=d;return 1}function zr(a){a=a|0;var b=0,d=0,e=0;d=a+76|0;e=c[d>>2]|0;b=c[a+72>>2]|0;b=(e|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==9){b=c[b+8>>2]|0;if(b)b=(c[b>>2]&-134217728|0)!=268435456?0:b}else b=0;if(e>>>0<(c[a+68>>2]|0)>>>0){c[d>>2]=e+16;c[e>>2]=4;c[e+8>>2]=(b|0)!=0&1;return 1}else Sn(a,3799);return 0}function Ar(a){a=a|0;var b=0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b=e>>>0<(c[s>>2]|0)>>>0;a:do if((g|0)>0){j=0;d=0;f=0;b:while(1){if(!b){u=21;break}b=c[q>>2]|0;if(f>>>0>=e-b>>4>>>0){u=23;break}i=b+(f<<4)|0;c[r>>2]=e+16;c[e>>2]=c[i>>2];c[e+4>>2]=c[i+4>>2];c[e+8>>2]=c[i+8>>2];c[e+12>>2]=c[i+12>>2];if(c[e>>2]&8|0){i=(c[e+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}e=c[q>>2]|0;g=(c[r>>2]|0)-e>>4;b=g|0?e+(g+-1<<4)|0:0;b=(b|0)==0?944:b;do if(((c[b>>2]|0)==9?(t=c[b+8>>2]|0,(t|0)!=0):0)?(c[t>>2]&-134217728|0)==268435456:0){i=zp(a,-1)|0;if(!i)e=j;else{e=0;d=j;while(1){g=d+1|0;do if(!(Zp(a,-1,e)|0)){b=c[r>>2]|0;if((b|0)==(c[q>>2]|0)){u=40;break b}d=b+-16|0;c[r>>2]=d;j=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[d>>2]=2;if(!(j&8))break;d=b+4|0;j=(c[d>>2]|0)+-1|0;c[d>>2]=j;if(j|0)break;go(c[m>>2]|0,b)}else{j=c[q>>2]|0;b=(c[r>>2]|0)-j>>4;b=b>>>0>2?j+(b+-3<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9){u=37;break b}b=c[b+8>>2]|0;if(!b){u=37;break b}rp(a,b,d)}while(0);e=e+1|0;if(e>>>0>=i>>>0){e=g;d=g;break}else d=g}}b=c[r>>2]|0;if((b|0)==(c[q>>2]|0)){u=46;break b}i=b+-16|0;c[r>>2]=i;j=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[i>>2]=2;if(!(j&8)){g=e;break}i=b+4|0;j=(c[i>>2]|0)+-1|0;c[i>>2]=j;if(j|0){g=e;break}go(c[m>>2]|0,b);g=e}else u=29;while(0);if((u|0)==29){u=0;d=j+1|0;b=g>>>0>1?e+(g+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9){u=31;break}b=c[b+8>>2]|0;if(!b){u=31;break}rp(a,b,j);g=d}f=f+1|0;e=c[r>>2]|0;b=e>>>0<(c[s>>2]|0)>>>0;if((f|0)<(k|0))j=g;else{n=d;o=b;p=e;break a}}if((u|0)==21)Sn(a,935);else if((u|0)==23)$n(a,342,f);else if((u|0)==31)In(a,1834,-2,268820);else if((u|0)==37)In(a,1834,-3,268820);else if((u|0)==40)Jn(a,268491,50336874,268507);else if((u|0)==46)Jn(a,268491,50336874,268507)}else{n=0;o=b;p=e}while(0);if(!o)Sn(a,3902);b=p+16|0;c[r>>2]=b;c[p>>2]=0;h[p+8>>3]=+(n>>>0);u=c[q>>2]|0;b=b-u>>4;b=b>>>0>1?u+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);else{ho(a,b,c[(c[a+428>>2]|0)+320>>2]|0,1);l=v;return 1}return 0}function Br(a){a=a|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;r=l;l=l+16|0;f=r;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){n=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)n=b[e+46>>1]|0;else n=0}else n=0;while(0);q=a+76|0;o=a+72|0;d=(c[q>>2]|0)-(c[o>>2]|0)|0;_n(a,2);p=wv(a)|0;if((p|0)<0)Jn(a,279375,50331727,279360);a:do if(p|0){e=(n|0)>0;if((d|0)>16){d=ar(a,1,e?0-p|0:~p,p+((e^1)<<31>>31)|0,f)|0;d=((d|0)<0?p:0)+d|0}else d=e?0:p+-1|0;if((d|0)>-1&(d|0)<(p|0)){m=a+44|0;k=d;b:while(1){c:do if(Zp(a,2,k)|0){e=c[q>>2]|0;d=c[o>>2]|0;g=e-d>>4;f=g|0?d:0;g=g>>>0>4?d+64|0:0;if(!((f|0)==0|(g|0)==0)){i=c[f>>2]|0;j=c[g>>2]|0;if(!(j|i))if(+h[f+8>>3]==+h[g+8>>3]){d=28;break b}else break;if((i|0)==(j|0))switch(i|0){case 3:case 2:{d=28;break b}case 4:if((c[f+8>>2]|0)==(c[g+8>>2]|0)){d=28;break b}else break c;case 5:if((c[f+8>>2]|0)==(c[g+8>>2]|0)){d=28;break b}else break c;case 9:case 8:if((c[f+8>>2]|0)==(c[g+8>>2]|0)){d=28;break b}else break c;case 10:if((c[f+8>>2]|0)==(c[g+8>>2]|0)){d=28;break b}else break c;case 6:{if((c[f+8>>2]|0)!=(c[g+8>>2]|0))break c;if((c[f+4>>2]|0)==(c[g+4>>2]|0)){d=28;break b}else break c}default:{d=26;break b}}}}else{e=c[q>>2]|0;d=c[o>>2]|0}while(0);if((e|0)==(d|0)){d=32;break}i=e+-16|0;c[q>>2]=i;j=c[e+-16>>2]|0;d=c[e+-8>>2]|0;c[i>>2]=2;if(j&8|0?(i=d+4|0,j=(c[i>>2]|0)+-1|0,c[i>>2]=j,(j|0)==0):0)go(c[m>>2]|0,d);d=k+n|0;if((d|0)>-1&(d|0)<(p|0))k=d;else break a}if((d|0)!=26)if((d|0)==28){if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3868);s=+(k|0);a=e;p=a+16|0;c[q>>2]=p;c[a>>2]=0;a=a+8|0;h[a>>3]=s;l=r;return 1}else if((d|0)==32)Jn(a,268491,50336874,268507)}}while(0);d=c[q>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){s=-1.0;a=d;p=a+16|0;c[q>>2]=p;c[a>>2]=0;a=a+8|0;h[a>>3]=s;l=r;return 1}else Sn(a,3868);return 0}function Cr(a){a=a|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){n=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)n=b[e+46>>1]|0;else n=0}else n=0;while(0);o=wv(a)|0;r=a+76|0;e=c[r>>2]|0;p=a+72|0;d=c[p>>2]|0;d=(e|0)!=(d|0)?d:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 6:break;case 9:{f=7;break}default:In(a,1964,0,287066)}if((f|0)==7){d=c[d+8>>2]|0;if(!d)In(a,1964,0,287066);if(!(c[d>>2]&6656))In(a,1964,0,287066)}m=(n|0)==3;if((n+-3|0)>>>0>=2)if(e>>>0<(c[a+68>>2]|0)>>>0)g=e;else Sn(a,3772);else{f=xo(a,48)|0;g=c[a+44>>2]|0;c[f>>2]=272679041;d=g+24|0;e=c[d>>2]|0;if(e|0)c[e+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=e;c[d>>2]=f;d=c[a+160>>2]|0;l=f+20|0;e=c[l>>2]|0;c[l>>2]=d;if(d|0){l=d+4|0;c[l>>2]=(c[l>>2]|0)+1}if(e|0?(k=e+4|0,l=(c[k>>2]|0)+-1|0,c[k>>2]=l,(l|0)==0):0)fp(g,e);g=c[r>>2]|0;c[g>>2]=9;c[g+8>>2]=f;g=f+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[r>>2]|0}c[r>>2]=g+16;a:do if(!o)q=0;else{k=a+44|0;l=a+68|0;j=0;f=0;e=0;b:while(1){if(!(Zp(a,2,f)|0)){f=f+1|0;e=m?f:e;d=c[r>>2]|0;if((d|0)==(c[p>>2]|0)){f=25;break}g=d+-16|0;c[r>>2]=g;i=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[g>>2]=2;if((i&8|0)!=0?(g=d+4|0,i=(c[g>>2]|0)+-1|0,c[g>>2]=i,(i|0)==0):0){go(c[k>>2]|0,d);d=j}else d=j}else{d=c[r>>2]|0;if(d>>>0>=(c[l>>2]|0)>>>0){f=30;break}g=c[p>>2]|0;if((d|0)==(g|0)){f=32;break}c[r>>2]=d+16;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];if(c[d>>2]&8|0){i=(c[d+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}g=c[r>>2]|0;if(g>>>0>=(c[l>>2]|0)>>>0){f=36;break}d=c[p>>2]|0;if(g-d>>4>>>0<=1){f=38;break}i=d+16|0;c[r>>2]=g+16;c[g>>2]=c[i>>2];c[g+4>>2]=c[i+4>>2];c[g+8>>2]=c[i+8>>2];c[g+12>>2]=c[i+12>>2];if(c[g>>2]&8|0){i=(c[g+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}d=c[r>>2]|0;if(d>>>0>=(c[l>>2]|0)>>>0){f=42;break}g=c[p>>2]|0;i=d-g>>4;if(i>>>0<=2){f=44;break}i=g+(i+-3<<4)|0;c[r>>2]=d+16;c[d>>2]=c[i>>2];c[d+4>>2]=c[i+4>>2];c[d+8>>2]=c[i+8>>2];c[d+12>>2]=c[i+12>>2];if(c[d>>2]&8|0){i=(c[d+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}g=c[r>>2]|0;d=c[l>>2]|0;if(g>>>0>=d>>>0){f=48;break}i=g+16|0;c[r>>2]=i;c[g>>2]=0;h[g+8>>3]=+(f>>>0);if(i>>>0>=d>>>0){f=50;break}d=c[p>>2]|0;if(i-d>>4>>>0<=2){f=52;break}d=d+32|0;c[r>>2]=g+32;c[i>>2]=c[d>>2];c[i+4>>2]=c[d+4>>2];c[i+8>>2]=c[d+8>>2];c[i+12>>2]=c[d+12>>2];if(c[i>>2]&8|0){i=(c[g+24>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}d=(c[r>>2]|0)-(c[p>>2]|0)|0;if(((d>>4)+-3|0)<2){f=56;break}if(d>>>0<80){f=58;break}so(a,3,0,(d+-80|0)>>>4);c:do switch(n|0){case 0:{if(!(gq(a,-1)|0)){f=103;break b}else d=j;break}case 1:{if(!(gq(a,-1)|0))d=j;else{f=103;break b}break}case 2:{d=j;break}case 3:{d=c[r>>2]|0;if(d>>>0>=(c[l>>2]|0)>>>0){f=63;break b}if((d-(c[p>>2]|0)|0)<16){f=65;break b}i=d+-16|0;c[r>>2]=d+16;c[d>>2]=c[i>>2];c[d+4>>2]=c[i+4>>2];c[d+8>>2]=c[i+8>>2];c[d+12>>2]=c[i+12>>2];if(c[d>>2]&8|0){i=(c[d+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}d=c[p>>2]|0;d=(c[r>>2]|0)-d>>4>>>0>4?d+64|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9){f=70;break b}d=c[d+8>>2]|0;if(!d){f=70;break b}rp(a,d,f);d=j;e=f+1|0;break}case 4:{if(!(gq(a,-1)|0)){d=j;break c}d=c[r>>2]|0;if(d>>>0>=(c[l>>2]|0)>>>0){f=74;break b}e=c[p>>2]|0;g=d-e>>4;if(g>>>0<=1){f=76;break b}i=e+(g+-2<<4)|0;c[r>>2]=d+16;c[d>>2]=c[i>>2];c[d+4>>2]=c[i+4>>2];c[d+8>>2]=c[i+8>>2];c[d+12>>2]=c[i+12>>2];if(c[d>>2]&8|0){i=(c[d+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}d=c[p>>2]|0;d=(c[r>>2]|0)-d>>4>>>0>4?d+64|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9){f=81;break b}d=c[d+8>>2]|0;if(!d){f=81;break b}rp(a,d,j);e=j+1|0;d=e;break}default:{f=83;break b}}while(0);iq(a);f=f+1|0}if(f>>>0>>0)j=d;else{q=e;break a}}switch(f|0){case 25:{Jn(a,268491,50336874,268507);break}case 30:{Sn(a,935);break}case 32:{$n(a,342,0);break}case 36:{Sn(a,935);break}case 38:{$n(a,342,1);break}case 42:{Sn(a,935);break}case 44:{$n(a,342,-3);break}case 48:{Sn(a,3902);break}case 50:{Sn(a,935);break}case 52:{$n(a,342,2);break}case 56:{Tn(a,268476,76);break}case 58:{Tn(a,268521,942);break}case 63:{Sn(a,955);break}case 65:{$n(a,958,-1);break}case 70:{In(a,1834,4,268820);break}case 74:{Sn(a,935);break}case 76:{$n(a,342,-2);break}case 81:{In(a,1834,4,268820);break}case 83:break;case 103:return 1}}while(0);switch(n|0){case 0:{d=c[r>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3811);c[r>>2]=d+16;c[d>>2]=4;c[d+8>>2]=1;return 1}case 1:{d=c[r>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3822);c[r>>2]=d+16;c[d>>2]=4;c[d+8>>2]=0;return 1}case 2:{d=c[r>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3772);c[r>>2]=d+16;return 1}case 4:case 3:{d=c[r>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);o=d+16|0;c[r>>2]=o;c[d>>2]=0;h[d+8>>3]=+(q>>>0);r=c[p>>2]|0;d=o-r>>4;d=d>>>0>1?r+(d+-2<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(a,1834,-2,268820);d=c[d+8>>2]|0;if(!d)In(a,1834,-2,268820);ho(a,d,c[(c[a+428>>2]|0)+320>>2]|0,1);return 1}default:{}}return 0}function Dr(a){a=a|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;t=l;l=l+16|0;s=t;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){g=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)g=b[e+46>>1]|0;else g=0}else g=0;while(0);_n(a,1);q=a+76|0;f=c[q>>2]|0;r=a+72|0;d=c[r>>2]|0;p=(f|0)!=(d|0)?d:0;do if((c[((p|0)==0?944:p)>>2]|0)==2){if((f|0)==(d|0))Jn(a,268491,50336874,268507);e=f+-16|0;c[q>>2]=e;p=c[f+-16>>2]|0;d=c[f+-8>>2]|0;c[e>>2]=2;if((p&8|0)!=0?(o=d+4|0,p=(c[o>>2]|0)+-1|0,c[o>>2]=p,(p|0)==0):0){go(c[a+44>>2]|0,d);e=c[q>>2]|0}d=c[(c[a+428>>2]|0)+252>>2]|0;if(e>>>0<(c[a+68>>2]|0)>>>0){c[q>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;p=d+4|0;c[p>>2]=(c[p>>2]|0)+1;break}else Sn(a,3761)}else Ho(a,0)|0;while(0);p=wv(a)|0;d=c[q>>2]|0;e=(p>>>0<4096?p:4096)+68+(d-(c[a+64>>2]|0)>>4)|0;if((c[a+80>>2]|0)>>>0>>0){Yn(a,e,4)|0;d=c[q>>2]|0}o=a+68|0;if(d>>>0>=(c[o>>2]|0)>>>0)Sn(a,935);e=c[r>>2]|0;if((d|0)==(e|0))$n(a,342,0);c[q>>2]=d+16;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];if(c[d>>2]&8|0){n=(c[d+8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}n=a+428|0;m=a+44|0;k=(g|0)==0;d=0;j=0;while(1){g=j>>>0>=p>>>0;if(g|d>>>0>4095){Io(a,d,1);d=c[q>>2]|0;if(d>>>0>=(c[o>>2]|0)>>>0){d=27;break}e=c[r>>2]|0;if((d|0)==(e|0)){d=29;break}c[q>>2]=d+16;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];if(c[d>>2]&8|0){i=(c[d+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}e=c[r>>2]|0;d=(c[q>>2]|0)-e>>4;if(d>>>0<=1){d=33;break}f=e+(d+-2<<4)|0;d=e+(d+-1<<4)|0;e=d-f|0;if(e|0){c[s>>2]=c[d>>2];c[s+4>>2]=c[d+4>>2];c[s+8>>2]=c[d+8>>2];c[s+12>>2]=c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|0)==0):0){go(c[m>>2]|0,e);f=c[q>>2]|0}g=c[r>>2]|0;e=g;h=f-e>>4;if(h>>>0<=1){d=60;break}i=g+(h+-2<<4)|0;g=g+(h+-1<<4)|0;h=g-i|0;if(h){c[s>>2]=c[g>>2];c[s+4>>2]=c[g+4>>2];c[s+8>>2]=c[g+8>>2];c[s+12>>2]=c[g+12>>2];DQ(i+16|0,i|0,h|0)|0;c[i>>2]=c[s>>2];c[i+4>>2]=c[s+4>>2];c[i+8>>2]=c[s+8>>2];c[i+12>>2]=c[s+12>>2];f=c[q>>2]|0;e=c[r>>2]|0}e=f-e|0;if((e|0)<32){d=64;break}so(a,0,0,(e+-32|0)>>>4)}Ho(a,-1)|0}d=d+1|0;j=j+1|0}switch(d|0){case 27:{Sn(a,935);break}case 29:{$n(a,342,0);break}case 33:{$n(a,342,-2);break}case 40:{Jn(a,268491,50336874,268507);break}case 45:{Sn(a,3761);break}case 49:{$n(a,267,-1);break}case 51:{Sn(a,3761);break}case 53:{$n(a,342,i);break}case 55:{$n(a,342,-2);break}case 60:{$n(a,342,-2);break}case 64:{Tn(a,268476,76);break}case 68:{l=t;return 1}}return 0}function Er(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0,j=0;j=a+72|0;b=c[j>>2]|0;if(((c[b+-16>>2]|0)==9?(e=c[b+-8>>2]|0,(c[e>>2]&4227136|0)==4227072):0)?(f=e+40|0,d=c[f>>2]|0,!((e|0)==0?1:d>>>0>(c[e+32>>2]|0)>>>0)):0){b=c[e+24>>2]|0;if(!d){a=0;return a|0}b=(c[e+16>>2]|0)+(b*21|0)+(0-b&7)|0;d=d+-1|0;c[f>>2]=d;d=b+(d<<4)|0;b=a+76|0;if((c[d>>2]|0)!=7){a=c[b>>2]|0;c[a>>2]=c[d>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];c[d>>2]=7}c[b>>2]=(c[b>>2]|0)+16;a=1;return a|0}b=wv(a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;c[i>>2]=e;c[f>>2]=0;h[f+8>>3]=g;if((e|0)==(c[j>>2]|0))$n(a,267,0);b=c[(c[a+428>>2]|0)+320>>2]|0;if(e>>>0>=d>>>0)Sn(a,3761);c[i>>2]=f+32;c[e>>2]=8;c[f+24>>2]=b;e=b+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[j>>2]|0;f=(c[i>>2]|0)-e>>4;if(!f)$n(a,342,0);if((f|0)==1)$n(a,342,-2);d=f+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,e,e+(f+-1<<4)|0,c[e+(d<<4)>>2]|0,c[e+(d<<4)+4>>2]|0,+h[e+(d<<4)+8>>3],b)|0;e=c[i>>2]|0;if(e-(c[j>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;j=e+-16|0;a=c[j>>2]|0;b=c[e+-8>>2]|0;c[j>>2]=2;if(a&8|0?(j=b+4|0,a=(c[j>>2]|0)+-1|0,c[j>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,b);j=e+-32|0;a=c[j>>2]|0;b=c[e+-24>>2]|0;c[j>>2]=2;if(a&8|0?(j=b+4|0,a=(c[j>>2]|0)+-1|0,c[j>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,b);c[i>>2]=e+-32;b=c[d>>2]|0;if(!(c[b+32>>2]|0)){a=1;return a|0}Rn(b);a=1;return a|0}function Fr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=a+72|0;d=c[q>>2]|0;b=d;if(((c[d+-16>>2]|0)==9?(e=c[d+-8>>2]|0,(c[e>>2]&4227136|0)==4227072):0)?(k=e+40|0,i=c[k>>2]|0,f=c[e+32>>2]|0,!((e|0)==0|i>>>0>f>>>0)):0){g=c[e+24>>2]|0;g=(c[e+16>>2]|0)+(g*21|0)+(0-g&7)|0;l=a+76|0;e=(c[l>>2]|0)-b|0;j=e>>4;m=j+i|0;if(m>>>0>>0)Jn(a,279375,50332148,279360);if(m>>>0<=f>>>0){if((e|0)>0){e=0;b=g+(i<<4)|0;while(1){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[d>>2]=2;e=e+1|0;if((e|0)>=(j|0))break;else{d=d+16|0;b=b+16|0}}b=c[q>>2]|0}c[l>>2]=b;c[k>>2]=m;if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);c[l>>2]=b+16;c[b>>2]=0;h[b+8>>3]=+(m>>>0);return 1}}m=a+76|0;b=(c[m>>2]|0)-b|0;i=b>>4;j=wv(a)|0;k=i+j|0;if(k>>>0>>0)Jn(a,279375,50332222,279360);f=c[m>>2]|0;l=a+68|0;d=c[l>>2]|0;e=f>>>0>>0;a:do if((b|0)>0){g=0;b=e;d=f;while(1){if(!b){b=18;break}b=c[q>>2]|0;if(g>>>0>=d-b>>4>>>0){b=20;break}f=b+(g<<4)|0;c[m>>2]=d+16;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];if(c[d>>2]&8|0){f=(c[d+8>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+1}Tp(a,-3,g+j|0);b=g+1|0;d=c[m>>2]|0;e=c[l>>2]|0;f=d>>>0>>0;if((b|0)<(i|0)){g=b;b=f}else{n=f;o=d;p=e;break a}}if((b|0)==18)Sn(a,935);else if((b|0)==20)$n(a,342,g)}else{n=e;o=f;p=d}while(0);if(!n)Sn(a,3902);b=o+16|0;c[m>>2]=b;c[o>>2]=0;h[o+8>>3]=+(k>>>0);if(b>>>0>=p>>>0)Sn(a,955);if((b-(c[q>>2]|0)|0)<16)$n(a,958,-1);c[m>>2]=o+32;c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];c[b+12>>2]=c[o+12>>2];if(c[b>>2]&8|0){p=(c[o+24>>2]|0)+4|0;c[p>>2]=(c[p>>2]|0)+1}b=c[m>>2]|0;e=b-(c[q>>2]|0)|0;p=e>>4;f=p+-4|0;if(p>>>0<=3)$n(a,267,-4);d=c[(c[a+428>>2]|0)+320>>2]|0;if(b>>>0>=(c[l>>2]|0)>>>0)Sn(a,3761);c[m>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;g=d+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[q>>2]|0;i=(c[m>>2]|0)-g>>4;e=((e|0)<64?i:0)+f|0;if(e>>>0>=i>>>0)$n(a,342,f);if((i|0)==1)$n(a,342,-2);d=i+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,g+(e<<4)|0,g+(i+-1<<4)|0,c[g+(d<<4)>>2]|0,c[g+(d<<4)+4>>2]|0,+h[g+(d<<4)+8>>3],b)|0;e=c[m>>2]|0;if(e-(c[q>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;q=e+-16|0;a=c[q>>2]|0;b=c[e+-8>>2]|0;c[q>>2]=2;if(a&8|0?(q=b+4|0,a=(c[q>>2]|0)+-1|0,c[q>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,b);q=e+-32|0;a=c[q>>2]|0;b=c[e+-24>>2]|0;c[q>>2]=2;if(a&8|0?(q=b+4|0,a=(c[q>>2]|0)+-1|0,c[q>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,b);c[m>>2]=e+-32;b=c[d>>2]|0;if(!(c[b+32>>2]|0))return 1;Rn(b);return 1}function Gr(a){a=a|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){m=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)m=b[e+46>>1]|0;else m=0}else m=0;while(0);n=a+76|0;o=a+72|0;e=(c[n>>2]|0)-(c[o>>2]|0)|0;_n(a,2);p=wv(a)|0;f=c[n>>2]|0;g=c[o>>2]|0;i=g;d=(f|0)!=(i|0)?g:0;d=(d|0)==0?944:d;j=f;switch(c[d>>2]|0){case 6:break;case 9:{k=7;break}default:In(a,1964,0,287066)}if((k|0)==7){d=c[d+8>>2]|0;if(!d)In(a,1964,0,287066);if(!(c[d>>2]&6656))In(a,1964,0,287066)}if((e|0)>16){if(j>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);if(f-i>>4>>>0<=1)$n(a,342,1);i=g+16|0;c[n>>2]=j+16;k=f;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];if(!(c[j>>2]&8))d=1;else{d=(c[j+8>>2]|0)+4|0;c[d>>2]=(c[d>>2]|0)+1;d=1}}else d=0;e=(m|0)>-1?0:p+-1|0;a:do if(e>>>0

>>0){k=a+68|0;j=a+44|0;b:while(1){i=c[n>>2]|0;f=i;if(i-(c[o>>2]|0)>>4>>>0<=2){k=20;break}if(f>>>0>=(c[k>>2]|0)>>>0){k=22;break}l=+(e>>>0);c[n>>2]=f+16;c[f>>2]=0;h[f+8>>3]=l;do if(_p(a,2)|0){if(!d){Zp(a,2,e)|0;d=1;break}f=c[n>>2]|0;if(f>>>0>=(c[k>>2]|0)>>>0){k=27;break b}g=c[o>>2]|0;if((f|0)==(g|0)){k=29;break b}c[n>>2]=f+16;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];if(c[f>>2]&8|0){i=(c[f+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}f=c[n>>2]|0;if(f>>>0>=(c[k>>2]|0)>>>0){k=33;break b}g=c[o>>2]|0;if(f-g>>4>>>0<=4){k=35;break b}i=g+64|0;c[n>>2]=f+16;c[f>>2]=c[i>>2];c[f+4>>2]=c[i+4>>2];c[f+8>>2]=c[i+8>>2];c[f+12>>2]=c[i+12>>2];if(c[f>>2]&8|0){i=(c[f+8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}Zp(a,2,e)|0;g=c[n>>2]|0;f=c[k>>2]|0;if(g>>>0>=f>>>0){k=39;break b}i=g+16|0;c[n>>2]=i;c[g>>2]=0;h[g+8>>3]=l;if(i>>>0>=f>>>0){k=41;break b}f=c[o>>2]|0;if(i-f>>4>>>0<=2){k=43;break b}f=f+32|0;c[n>>2]=g+32;c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];if(c[i>>2]&8|0){i=(c[g+24>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}Tq(a,4);f=c[o>>2]|0;g=(c[n>>2]|0)-f>>4;if(!g){k=47;break b}i=f+(g+-1<<4)|0;if(g>>>0<=4){k=49;break b}r=f+64|0;g=c[r>>2]|0;f=c[f+72>>2]|0;c[r>>2]=c[i>>2];c[r+4>>2]=c[i+4>>2];c[r+8>>2]=c[i+8>>2];c[r+12>>2]=c[i+12>>2];c[i>>2]=2;c[n>>2]=(c[n>>2]|0)+-16;if(!(g&8))break;i=f+4|0;r=(c[i>>2]|0)+-1|0;c[i>>2]=r;if(r|0)break;go(c[j>>2]|0,f)}while(0);e=e+m|0;if(e>>>0>=p>>>0){q=d;break a}}switch(k|0){case 20:{$n(a,267,2);break}case 22:{Sn(a,3902);break}case 27:{Sn(a,935);break}case 29:{$n(a,342,0);break}case 33:{Sn(a,935);break}case 35:{$n(a,342,4);break}case 39:{Sn(a,3902);break}case 41:{Sn(a,935);break}case 43:{$n(a,342,2);break}case 47:{$n(a,342,-1);break}case 49:{$n(a,342,4);break}}}else q=d;while(0);if(!q)Tn(a,279375,1603);else return 1;return 0}function Hr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=wv(a)|0;k=j>>>1;n=a+76|0;a:do if(k){l=a+72|0;m=a+68|0;i=a+44|0;g=0;while(1){f=j-g+-1|0;e=Zp(a,-2,g)|0;if(!(Zp(a,-3,f)|0)){d=c[n>>2]|0;b=d-(c[l>>2]|0)>>4;if(b>>>0<=3){b=7;break}if(d>>>0>=(c[m>>2]|0)>>>0){b=9;break}c[n>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(g>>>0);sq(a,b+-4|0);b=c[n>>2]|0;if((b|0)==(c[l>>2]|0)){b=11;break}p=b+-16|0;c[n>>2]=p;d=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[p>>2]=2;if(d&8|0?(d=b+4|0,p=(c[d>>2]|0)+-1|0,c[d>>2]=p,(p|0)==0):0)go(c[i>>2]|0,b)}else Tp(a,-4,g);if(!e){d=c[n>>2]|0;b=d-(c[l>>2]|0)>>4;if(b>>>0<=2){b=18;break}if(d>>>0>=(c[m>>2]|0)>>>0){b=20;break}c[n>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(f>>>0);sq(a,b+-3|0);b=c[n>>2]|0;if((b|0)==(c[l>>2]|0)){b=22;break}f=b+-16|0;c[n>>2]=f;p=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[f>>2]=2;if(p&8|0?(f=b+4|0,p=(c[f>>2]|0)+-1|0,c[f>>2]=p,(p|0)==0):0)go(c[i>>2]|0,b)}else Tp(a,-3,f);g=g+1|0;if(g>>>0>=k>>>0){o=l;break a}}if((b|0)==7)$n(a,267,-4);else if((b|0)==9)Sn(a,3902);else if((b|0)==11)Jn(a,268491,50336874,268507);else if((b|0)==18)$n(a,267,-3);else if((b|0)==20)Sn(a,3902);else if((b|0)==22)Jn(a,268491,50336874,268507)}else o=a+72|0;while(0);b=c[n>>2]|0;if((b|0)==(c[o>>2]|0))Jn(a,268491,50336874,268507);o=b+-16|0;c[n>>2]=o;p=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[o>>2]=2;if(!(p&8))return 1;o=b+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(p|0)return 1;go(c[a+44>>2]|0,b);return 1}function Ir(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0,j=0,k=0,l=0,m=0;j=wv(a)|0;if(!j){j=a+76|0;d=c[j>>2]|0;e=c[a+68>>2]|0;if(d>>>0>=e>>>0)Sn(a,3868);f=d+16|0;c[j>>2]=f;c[d>>2]=0;h[d+8>>3]=0.0;i=a+72|0;if((f|0)==(c[i>>2]|0))$n(a,267,0);b=c[(c[a+428>>2]|0)+320>>2]|0;if(f>>>0>=e>>>0)Sn(a,3761);c[j>>2]=d+32;c[f>>2]=8;c[d+24>>2]=b;e=b+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[i>>2]|0;f=(c[j>>2]|0)-e>>4;if(!f)$n(a,342,0);if((f|0)==1)$n(a,342,-2);d=f+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,e,e+(f+-1<<4)|0,c[e+(d<<4)>>2]|0,c[e+(d<<4)+4>>2]|0,+h[e+(d<<4)+8>>3],b)|0;e=c[j>>2]|0;if(e-(c[i>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;l=e+-16|0;a=c[l>>2]|0;b=c[e+-8>>2]|0;c[l>>2]=2;if(a&8|0?(l=b+4|0,a=(c[l>>2]|0)+-1|0,c[l>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,b);l=e+-32|0;a=c[l>>2]|0;b=c[e+-24>>2]|0;c[l>>2]=2;if(a&8|0?(l=b+4|0,a=(c[l>>2]|0)+-1|0,c[l>>2]=a,(a|0)==0):0)Wn(c[d>>2]|0,b);c[j>>2]=e+-32;b=c[d>>2]|0;if(!(c[b+32>>2]|0)){a=0;return a|0}Rn(b);a=0;return a|0}Zp(a,0,0)|0;l=a+76|0;k=a+72|0;a:do if((j|0)!=1){i=a+68|0;f=a+44|0;e=1;while(1){b=e+-1|0;if(!(Zp(a,0,e)|0)){m=c[l>>2]|0;d=m;if((m|0)==(c[k>>2]|0)){b=26;break}if(d>>>0>=(c[i>>2]|0)>>>0){b=28;break}c[l>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+(b>>>0);sq(a,0);b=c[l>>2]|0;if((b|0)==(c[k>>2]|0)){b=30;break}d=b+-16|0;c[l>>2]=d;m=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[d>>2]=2;if(m&8|0?(d=b+4|0,m=(c[d>>2]|0)+-1|0,c[d>>2]=m,(m|0)==0):0)go(c[f>>2]|0,b)}else Tp(a,0,b);e=e+1|0;if(e>>>0>=j>>>0)break a}if((b|0)==26)$n(a,267,0);else if((b|0)==28)Sn(a,3902);else if((b|0)==30)Jn(a,268491,50336874,268507)}while(0);m=c[l>>2]|0;b=m;if((m|0)==(c[k>>2]|0))$n(a,267,0);d=a+68|0;if(b>>>0>=(c[d>>2]|0)>>>0)Sn(a,3902);g=+((j+-1|0)>>>0);c[l>>2]=b+16;c[b>>2]=0;h[b+8>>3]=g;sq(a,0);f=c[l>>2]|0;d=c[d>>2]|0;if(f>>>0>=d>>>0)Sn(a,3902);e=f+16|0;c[l>>2]=e;c[f>>2]=0;h[f+8>>3]=g;if((e|0)==(c[k>>2]|0))$n(a,267,0);b=c[(c[a+428>>2]|0)+320>>2]|0;if(e>>>0>=d>>>0)Sn(a,3761);c[l>>2]=f+32;c[e>>2]=8;c[f+24>>2]=b;e=b+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[k>>2]|0;f=(c[l>>2]|0)-e>>4;if(!f)$n(a,342,0);if((f|0)==1)$n(a,342,-2);d=f+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,e,e+(f+-1<<4)|0,c[e+(d<<4)>>2]|0,c[e+(d<<4)+4>>2]|0,+h[e+(d<<4)+8>>3],b)|0;e=c[l>>2]|0;if(e-(c[k>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;a=e+-16|0;m=c[a>>2]|0;b=c[e+-8>>2]|0;c[a>>2]=2;if(m&8|0?(a=b+4|0,m=(c[a>>2]|0)+-1|0,c[a>>2]=m,(m|0)==0):0)Wn(c[d>>2]|0,b);a=e+-32|0;m=c[a>>2]|0;b=c[e+-24>>2]|0;c[a>>2]=2;if(m&8|0?(a=b+4|0,m=(c[a>>2]|0)+-1|0,c[a>>2]=m,(m|0)==0):0)Wn(c[d>>2]|0,b);c[l>>2]=e+-32;b=c[d>>2]|0;if(!(c[b+32>>2]|0)){m=1;return m|0}Rn(b);m=1;return m|0}function Jr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+16|0;i=o;g=wv(a)|0;if((g|0)<0)Jn(a,279375,50331727,279360);f=xo(a,48)|0;m=a+44|0;e=c[m>>2]|0;c[f>>2]=272679041;b=e+24|0;d=c[b>>2]|0;if(d|0)c[d+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=d;c[b>>2]=f;b=c[a+160>>2]|0;k=f+20|0;d=c[k>>2]|0;c[k>>2]=b;if(b|0){k=b+4|0;c[k>>2]=(c[k>>2]|0)+1}if(d|0?(j=d+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0)fp(e,d);k=a+76|0;j=c[k>>2]|0;c[j>>2]=9;c[j+8>>2]=f;j=f+4|0;c[j>>2]=(c[j>>2]|0)+1;j=a+72|0;c[k>>2]=(c[k>>2]|0)+16;b=0-g|0;d=ar(a,0,b,g,i)|0;d=((d|0)<0?g:0)+d|0;f=c[j>>2]|0;f=(c[k>>2]|0)-f>>4>>>0>1?f+16|0:0;if((c[((f|0)==0?944:f)>>2]|0)!=2){i=ar(a,1,b,g,i)|0;g=((i|0)<0?g:0)+i|0}a:do if((d|0)<(g|0)){f=0;e=d;b=0;while(1){if(!(Zp(a,2,e)|0)){d=c[k>>2]|0;if((d|0)==(c[j>>2]|0)){b=19;break}p=d+-16|0;c[k>>2]=p;i=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[p>>2]=2;if((i&8|0)!=0?(i=d+4|0,p=(c[i>>2]|0)+-1|0,c[i>>2]=p,(p|0)==0):0)go(c[m>>2]|0,d)}else{b=c[j>>2]|0;b=(c[k>>2]|0)-b>>4>>>0>4?b+64|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9){b=16;break}b=c[b+8>>2]|0;if(!b){b=16;break}rp(a,b,f);b=f+1|0}e=e+1|0;if((e|0)>=(g|0)){n=b;break a}else f=f+1|0}if((b|0)==16)In(a,1834,4,268820);else if((b|0)==19)Jn(a,268491,50336874,268507)}else n=0;while(0);b=c[k>>2]|0;if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3902);p=b+16|0;c[k>>2]=p;c[b>>2]=0;h[b+8>>3]=+(n>>>0);b=c[j>>2]|0;b=p-b>>4>>>0>4?b+64|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,4,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,4,268820);else{ho(a,b,c[(c[a+428>>2]|0)+320>>2]|0,1);l=o;return 1}return 0}function Kr(a){a=a|0;var b=0,d=0,e=0,f=0;b=wv(a)|0;if((b|0)<0)Jn(a,279375,50331727,279360);if(b|0)xv(a,0,b+-1|0);b=a+76|0;d=c[b>>2]|0;if((d|0)==(c[a+72>>2]|0))Jn(a,268491,50336874,268507);f=d+-16|0;c[b>>2]=f;e=c[d+-16>>2]|0;b=c[d+-8>>2]|0;c[f>>2]=2;if(!(e&8))return 1;e=b+4|0;f=(c[e>>2]|0)+-1|0;c[e>>2]=f;if(f|0)return 1;go(c[a+44>>2]|0,b);return 1}function Lr(a){a=a|0;var b=0,d=0,e=0,f=0,g=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;t=l;l=l+16|0;e=t;s=a+76|0;r=a+72|0;b=(c[s>>2]|0)-(c[r>>2]|0)|0;if((b|0)<32){_n(a,2);o=0;b=0}else{o=(b>>>4)+-2|0;b=1}p=wv(a)|0;if((p|0)<0)Jn(a,279375,50331727,279360);n=ar(a,0,0-p|0,p,e)|0;n=((n|0)<0?p:0)+n|0;d=p-n|0;if(b)d=ar(a,1,0,d,e)|0;q=mQ(p|0,0,d|0,((d|0)<0)<<31>>31|0)|0;q=lQ(o|0,((o|0)<0)<<31>>31|0,q|0,z|0)|0;m=z;if((m|0)>0|(m|0)==0&q>>>0>4294967295)Jn(a,279375,50332615,279360);f=xo(a,48)|0;q=a+44|0;g=c[q>>2]|0;c[f>>2]=272679041;b=g+24|0;e=c[b>>2]|0;if(e|0)c[e+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=e;c[b>>2]=f;b=c[a+160>>2]|0;m=f+20|0;e=c[m>>2]|0;c[m>>2]=b;if(b|0){m=b+4|0;c[m>>2]=(c[m>>2]|0)+1}if(e|0?(k=e+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)fp(g,e);b=c[s>>2]|0;c[b>>2]=9;c[b+8>>2]=f;b=f+4|0;c[b>>2]=(c[b>>2]|0)+1;b=(c[s>>2]|0)+16|0;c[s>>2]=b;do if((d|0)>0){e=0;while(1){if(!(Zp(a,-3,e+n|0)|0)){b=c[s>>2]|0;if((b|0)==(c[r>>2]|0)){b=24;break}k=b+-16|0;c[s>>2]=k;m=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[k>>2]=2;if(m&8|0?(k=b+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)go(c[q>>2]|0,b)}else{m=c[r>>2]|0;b=(c[s>>2]|0)-m>>4;b=b>>>0>1?m+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9){b=21;break}b=c[b+8>>2]|0;if(!b){b=21;break}rp(a,b,e)}e=e+1|0;if((e|0)>=(d|0)){b=29;break}}if((b|0)==21)In(a,1834,-2,268820);else if((b|0)==24)Jn(a,268491,50336874,268507);else if((b|0)==29){i=c[s>>2]|0;break}}else i=b;while(0);k=a+68|0;if(i>>>0>=(c[k>>2]|0)>>>0)Sn(a,3902);b=i+16|0;c[s>>2]=b;c[i>>2]=0;h[i+8>>3]=+(d>>>0);m=c[r>>2]|0;b=b-m>>4;b=b>>>0>1?m+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);m=a+428|0;ho(a,b,c[(c[m>>2]|0)+320>>2]|0,1);a:do if((o|0)<(d|0)){i=p-d|0;b:do if((n|0)<(i|0)){g=n;while(1){if(!(Zp(a,-3,g+d|0)|0)){b=c[s>>2]|0;j=c[r>>2]|0;f=j;if((b|0)==(j|0)){b=40;break}e=b+-16|0;c[s>>2]=e;j=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[e>>2]=2;do if(!(j&8))b=f;else{u=b+4|0;j=(c[u>>2]|0)+-1|0;c[u>>2]=j;if(j|0){b=f;break}go(c[q>>2]|0,b);e=c[s>>2]|0;b=c[r>>2]|0}while(0);f=e-b>>4;b=e;if(f>>>0<=2){b=45;break}if(b>>>0>=(c[k>>2]|0)>>>0){b=47;break}c[s>>2]=b+16;c[b>>2]=0;h[b+8>>3]=+((g+o|0)>>>0);sq(a,f+-3|0)}else Tp(a,-4,g+o|0);g=g+1|0;if((g|0)>=(i|0))break b}if((b|0)==40)Jn(a,268491,50336874,268507);else if((b|0)==45)$n(a,267,-3);else if((b|0)==47)Sn(a,3902)}while(0);g=i+o|0;b=p+-1|0;if((b|0)>=(g|0)){while(1){f=c[s>>2]|0;e=f-(c[r>>2]|0)>>4;if(e>>>0<=2){b=52;break}if(f>>>0>=(c[k>>2]|0)>>>0){b=54;break}c[s>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+(b>>>0);sq(a,e+-3|0);b=b+-1|0;if((b|0)<(g|0))break a}if((b|0)==52)$n(a,267,-3);else if((b|0)==54)Sn(a,3902)}}else if((o|0)>(d|0)?(j=p-d+-1|0,(j|0)>=(n|0)):0){g=j;while(1){if(!(Zp(a,-3,g+d|0)|0)){b=c[s>>2]|0;u=c[r>>2]|0;f=u;if((b|0)==(u|0)){b=63;break}e=b+-16|0;c[s>>2]=e;u=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[e>>2]=2;do if(!(u&8))b=f;else{j=b+4|0;u=(c[j>>2]|0)+-1|0;c[j>>2]=u;if(u|0){b=f;break}go(c[q>>2]|0,b);e=c[s>>2]|0;b=c[r>>2]|0}while(0);f=e-b>>4;b=e;if(f>>>0<=2){b=68;break}if(b>>>0>=(c[k>>2]|0)>>>0){b=70;break}c[s>>2]=b+16;c[b>>2]=0;h[b+8>>3]=+((g+o|0)>>>0);sq(a,f+-3|0)}else Tp(a,-4,g+o|0);g=g+-1|0;if((g|0)<(n|0))break a}if((b|0)==63)Jn(a,268491,50336874,268507);else if((b|0)==68)$n(a,267,-3);else if((b|0)==70)Sn(a,3902)}while(0);c:do if((o|0)>0){b=0;while(1){g=b+2|0;e=c[s>>2]|0;if(e>>>0>=(c[k>>2]|0)>>>0){b=73;break}f=c[r>>2]|0;if(g>>>0>=e-f>>4>>>0){b=75;break}u=f+(g<<4)|0;c[s>>2]=e+16;c[e>>2]=c[u>>2];c[e+4>>2]=c[u+4>>2];c[e+8>>2]=c[u+8>>2];c[e+12>>2]=c[u+12>>2];if(c[e>>2]&8|0){u=(c[e+8>>2]|0)+4|0;c[u>>2]=(c[u>>2]|0)+1}Tp(a,-4,b+n|0);b=b+1|0;if((b|0)>=(o|0))break c}if((b|0)==73)Sn(a,935);else if((b|0)==75)$n(a,342,g)}while(0);g=c[s>>2]|0;e=c[k>>2]|0;if(g>>>0>=e>>>0)Sn(a,3902);f=g+16|0;c[s>>2]=f;c[g>>2]=0;h[g+8>>3]=+((p+o-d|0)>>>0);d=f-(c[r>>2]|0)|0;u=d>>4;i=u+-4|0;if(u>>>0<=3)$n(a,267,-4);b=c[(c[m>>2]|0)+320>>2]|0;if(f>>>0>=e>>>0)Sn(a,3761);c[s>>2]=g+32;c[f>>2]=8;c[g+24>>2]=b;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[r>>2]|0;g=(c[s>>2]|0)-f>>4;e=((d|0)<64?g:0)+i|0;if(e>>>0>=g>>>0)$n(a,342,i);if((g|0)==1)$n(a,342,-2);d=g+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,f+(e<<4)|0,f+(g+-1<<4)|0,c[f+(d<<4)>>2]|0,c[f+(d<<4)+4>>2]|0,+h[f+(d<<4)+8>>3],b)|0;d=c[s>>2]|0;if(d-(c[r>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);r=d+-16|0;u=c[r>>2]|0;b=c[d+-8>>2]|0;c[r>>2]=2;do if(u&8|0){r=b+4|0;u=(c[r>>2]|0)+-1|0;c[r>>2]=u;if(u|0)break;Wn(c[q>>2]|0,b)}while(0);r=d+-32|0;u=c[r>>2]|0;b=c[d+-24>>2]|0;c[r>>2]=2;do if(u&8|0){r=b+4|0;u=(c[r>>2]|0)+-1|0;c[r>>2]=u;if(u|0)break;Wn(c[q>>2]|0,b)}while(0);c[s>>2]=d+-32;b=c[q>>2]|0;if(!(c[b+32>>2]|0)){l=t;return 1}Rn(b);l=t;return 1}function Mr(a){a=a|0;var b=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;q=l;l=l+32|0;o=q+16|0;m=q;n=a+76|0;g=c[n>>2]|0;i=a+68|0;if(g>>>0>=(c[i>>2]|0)>>>0)Sn(a,3997);c[n>>2]=g+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);p=a+72|0;b=c[p>>2]|0;e=b+-16|0;f=c[e>>2]|0;if((f&-2|0)==2)Jn(a,268491,100667321,271411);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];if(f&8|0){j=(c[b+-8>>2]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so(a,0,0,(b+-32|0)>>>4);l=q;return 1}_n(a,0);b=c[p>>2]|0;switch(c[b+-16>>2]|0){case 2:case 7:{b=0;break}case 3:{b=1;break}case 4:{b=8;break}case 5:{b=31;break}case 6:{b=5;break}case 8:{b=(c[c[b+-8>>2]>>2]&512|0)==0?7:2;break}case 9:{b=d[268935+((c[c[b+-8>>2]>>2]|0)>>>27)>>0]|0;break}case 10:{b=19;break}default:b=9}c[o>>2]=(c[(c[j>>2]|0)+(b<<2)>>2]|0)+28;Go(a,268967,o);l=q;return 1}function Nr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=a+76|0;o=a+72|0;j=(c[p>>2]|0)-(c[o>>2]|0)>>4;b=wv(a)|0;m=j+b|0;if(m>>>0>>0)Jn(a,279375,50332901,279360);n=a+68|0;a:do if(b|0){g=a+44|0;while(1){b=b+-1|0;if(!(Zp(a,-2,b)|0)){d=c[p>>2]|0;e=c[o>>2]|0;f=e;if((d|0)==(e|0)){b=10;break}e=d+-16|0;c[p>>2]=e;q=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[e>>2]=2;if((q&8|0)!=0?(r=d+4|0,q=(c[r>>2]|0)+-1|0,c[r>>2]=q,(q|0)==0):0){go(c[g>>2]|0,d);e=c[p>>2]|0;d=c[o>>2]|0}else d=f;f=e-d>>4;d=e;if(f>>>0<=1){b=15;break}if(d>>>0>=(c[n>>2]|0)>>>0){b=17;break}c[p>>2]=d+16;c[d>>2]=0;h[d+8>>3]=+((b+j|0)>>>0);sq(a,f+-2|0)}else Tp(a,-3,b+j|0);if(!b)break a}if((b|0)==10)Jn(a,268491,50336874,268507);else if((b|0)==15)$n(a,267,-2);else if((b|0)==17)Sn(a,3902)}while(0);e=c[p>>2]|0;b=c[n>>2]|0;d=e>>>0>>0;b:do if(j){g=0;while(1){if(!d){b=20;break}d=c[o>>2]|0;r=e-d>>4;b=((g|0)<0?r:0)+g|0;if(b>>>0>=r>>>0){b=22;break}r=d+(b<<4)|0;c[p>>2]=e+16;c[e>>2]=c[r>>2];c[e+4>>2]=c[r+4>>2];c[e+8>>2]=c[r+8>>2];c[e+12>>2]=c[r+12>>2];if(c[e>>2]&8|0){r=(c[e+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}Tp(a,-3,g);b=g+1|0;f=c[p>>2]|0;e=c[n>>2]|0;d=f>>>0>>0;if(b>>>0>>0){g=b;e=f}else{i=d;k=f;l=e;break b}}if((b|0)==20)Sn(a,935);else if((b|0)==22)$n(a,342,g)}else{i=d;k=e;l=b}while(0);if(!i)Sn(a,3902);b=k+16|0;c[p>>2]=b;c[k>>2]=0;h[k+8>>3]=+(m>>>0);if(b>>>0>=l>>>0)Sn(a,955);if((b-(c[o>>2]|0)|0)<16)$n(a,958,-1);c[p>>2]=k+32;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];c[b+8>>2]=c[k+8>>2];c[b+12>>2]=c[k+12>>2];if(c[b>>2]&8|0){r=(c[k+24>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}b=c[p>>2]|0;e=b-(c[o>>2]|0)|0;r=e>>4;f=r+-4|0;if(r>>>0<=3)$n(a,267,-4);d=c[(c[a+428>>2]|0)+320>>2]|0;if(b>>>0>=(c[n>>2]|0)>>>0)Sn(a,3761);c[p>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;g=d+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[o>>2]|0;i=(c[p>>2]|0)-g>>4;e=((e|0)<64?i:0)+f|0;if(e>>>0>=i>>>0)$n(a,342,f);if((i|0)==1)$n(a,342,-2);d=i+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,g+(e<<4)|0,g+(i+-1<<4)|0,c[g+(d<<4)>>2]|0,c[g+(d<<4)+4>>2]|0,+h[g+(d<<4)+8>>3],b)|0;e=c[p>>2]|0;if(e-(c[o>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);d=a+44|0;q=e+-16|0;r=c[q>>2]|0;b=c[e+-8>>2]|0;c[q>>2]=2;if(r&8|0?(q=b+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0)Wn(c[d>>2]|0,b);q=e+-32|0;r=c[q>>2]|0;b=c[e+-24>>2]|0;c[q>>2]=2;if(r&8|0?(q=b+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0)Wn(c[d>>2]|0,b);c[p>>2]=e+-32;b=c[d>>2]|0;if(!(c[b+32>>2]|0))return 1;Rn(b);return 1}function Or(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0,j=0;j=l;l=l+16|0;f=j;b=c[a+88>>2]|0;if(!b)Jn(a,268476,100663783,278172);if(!(c[b+32>>2]&4))Jn(a,268476,100663783,278172);aq(a,0);i=a+76|0;d=c[i>>2]|0;b=c[a+72>>2]|0;b=(d|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(g=+h[b+8>>3],(XO(g)|0)!=0):0){if(g<-2147483648.0)Jn(a,278145,50332334,279360);b=~~g;if(!(g>2147483647.0))if((b|0)<0)Jn(a,278145,50332334,279360);else e=b;else e=2147483647}else e=0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4815);if(e>>>0>2147483646)Jn(a,268491,50336467,268447);b=Po(c[a+44>>2]|0,e,0,f)|0;if(!b)Mn(a,268491,4824);else{f=c[i>>2]|0;c[f>>2]=10;c[f+8>>2]=b;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[i>>2]|0;c[i>>2]=f+16;i=c[f+8>>2]|0;a=Iq(a,-1744822144,45)|0;c[a+40>>2]=i;f=i+4|0;c[f>>2]=(c[f>>2]|0)+1;c[a+52>>2]=c[i+16>>2];l=j;return 1}return 0}function Pr(b){b=b|0;var d=0,e=0,f=0,g=0;f=b+76|0;g=c[f>>2]|0;d=c[b+72>>2]|0;d=(g|0)!=(d|0)?d:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 10:{d=1;break}case 9:{d=c[d+8>>2]|0;if((d|0)!=0?(e=c[d>>2]|0,(e&8192|0)!=0):0)d=((e&-134217728|0)==-1610612736|(a[d+58>>0]|0)!=0)&1;else d=0;break}default:d=0}if(g>>>0<(c[b+68>>2]|0)>>>0){c[f>>2]=g+16;c[g>>2]=4;c[g+8>>2]=d;return 1}else Sn(b,3799);return 0}function Qr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;gq(a,0)|0;b=c[a+88>>2]|0;if(!b)return 1;if(!(c[b+32>>2]&4))return 1;g=a+76|0;b=c[g>>2]|0;f=a+68|0;if(b>>>0>=(c[f>>2]|0)>>>0)Sn(a,3997);c[g>>2]=b+16;if(c[a+96>>2]|0?(d=c[a+72>>2]|0,h=d+-16|0,e=c[h>>2]|0,c[b>>2]=c[h>>2],c[b+4>>2]=c[h+4>>2],c[b+8>>2]=c[h+8>>2],c[b+12>>2]=c[h+12>>2],e&8|0):0){h=(c[d+-8>>2]|0)+4|0;c[h>>2]=(c[h>>2]|0)+1}e=c[g>>2]|0;h=c[e+-8>>2]|0;c[h>>2]=c[h>>2]&134217727|671088640;if(e>>>0>=(c[f>>2]|0)>>>0)Sn(a,935);b=a+72|0;d=c[b>>2]|0;if((e|0)==(d|0))$n(a,342,0);c[g>>2]=e+16;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];if(c[e>>2]&8|0){h=(c[e+8>>2]|0)+4|0;c[h>>2]=(c[h>>2]|0)+1}h=c[b>>2]|0;b=(c[g>>2]|0)-h>>4;b=b>>>0>1?h+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[a+428>>2]|0)+356>>2]|0,0);return 1}function Rr(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;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){l=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)l=b[e+46>>1]|0;else l=0}else l=0;while(0);m=a+76|0;d=c[m>>2]|0;g=a+68|0;if(d>>>0>=(c[g>>2]|0)>>>0)Sn(a,3997);c[m>>2]=d+16;k=a+72|0;if(c[a+96>>2]|0?(f=c[k>>2]|0,h=f+-16|0,j=c[h>>2]|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],j&8|0):0){j=(c[f+-8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}e=c[m>>2]|0;d=c[k>>2]|0;h=e-d|0;f=h>>4;j=f+-1|0;d=f|0?d+(j<<4)|0:0;switch(c[d>>2]|0){case 4:break;case 9:{i=12;break}default:Tn(a,279343,39)}if((i|0)==12){if((c[c[d+8>>2]>>2]&-134217728|0)!=671088640)Tn(a,279343,39);if(!f)$n(a,267,-1);d=c[(c[a+428>>2]|0)+356>>2]|0;if(e>>>0>=(c[g>>2]|0)>>>0)Sn(a,3761);c[m>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[k>>2]|0;f=(c[m>>2]|0)-e>>4;d=((h|0)<16?f:0)+j|0;if(d>>>0>=f>>>0)$n(a,342,j);ro(a,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[k>>2]|0;f=(c[m>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);i=e+(d<<4)|0;j=e+(f+-1<<4)|0;k=c[i>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(i|0,i+16|0,j-i|0)|0;c[j>>2]=2;c[m>>2]=(c[m>>2]|0)+-16;if(k&8|0?(k=d+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,d)}if(!l)return 1;Ho(a,-1)|0;return 1}function Sr(a){a=a|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e)d=(c[d+4>>2]|0)>>>8<<24>>24;else{if(!(c[e>>2]&4096)){d=0;m=14;break}d=b[e+46>>1]|0}if(!(d&2))m=14;else{j=a+76|0;i=a+72|0;e=c[i>>2]|0;if((c[j>>2]|0)==(e|0))$n(a,342,0);switch(c[e>>2]|0){case 9:{f=c[e+8>>2]|0;if(!(c[f>>2]&8192))Jn(a,278145,100663521,278161);else{g=f;l=e}break}case 10:{vo(a,0);l=c[i>>2]|0;g=c[l+8>>2]|0;break}default:Jn(a,278145,100663521,278161)}n=d;k=g;g=j;f=i;i=j;e=1;d=l}}else{d=0;m=14}while(0);if((m|0)==14){k=Bu(a,3)|0;m=a+72|0;i=a+76|0;n=d;g=i;f=m;e=0;d=c[m>>2]|0}if(e>>>0>=(c[g>>2]|0)-d>>4>>>0)$n(a,342,e);switch(c[d+(e<<4)>>2]|0){case 9:{d=c[d+(e<<4)+8>>2]|0;if(!(c[d>>2]&8192))Jn(a,278145,100663521,278161);else o=d;break}case 10:{vo(a,e);o=c[(c[f>>2]|0)+(e<<4)+8>>2]|0;break}default:Jn(a,278145,100663521,278161)}f=c[k+48>>2]|0;g=c[k+52>>2]|0;d=c[k+40>>2]|0;if((g+f|0)>>>0<=(c[d+16>>2]|0)>>>0?(q=c[o+48>>2]|0,r=c[o+52>>2]|0,p=c[o+40>>2]|0,(r+q|0)>>>0<=(c[p+16>>2]|0)>>>0):0){if(!(c[d>>2]&128))e=d+24|0;else e=c[d+20>>2]|0;if(!(c[p>>2]&128))d=p+24|0;else d=c[p+20>>2]|0;d=xN(e+f|0,d+q|0,g>>>0<=r>>>0?g:r)|0;if((d|0)>=0)if(!d)d=g>>>0>>0?-1:g>>>0>r>>>0&1;else d=1;else d=-1}else d=-1;e=c[i>>2]|0;f=e>>>0<(c[a+68>>2]|0)>>>0;if(!(n&1)){if(!f)Sn(a,3799);c[i>>2]=e+16;c[e>>2]=4;c[e+8>>2]=(d|0)==0&1;return 1}else{if(!f)Sn(a,3868);c[i>>2]=e+16;c[e>>2]=0;h[e+8>>3]=+(d|0);return 1}return 0}function Tr(e){e=e|0;var f=0.0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0;i=c[e+88>>2]|0;do if(i){k=c[i+16>>2]|0;if(!k){m=(c[i+4>>2]|0)>>>8<<24>>24;break}if(c[k>>2]&4096)m=b[k+46>>1]|0;else m=0}else m=0;while(0);v=m&8;y=m&16;k=Bu(e,3)|0;l=c[k+52>>2]|0;if(!(m&32)){u=v;A=gq(e,(m&7|0)==5?2:1)|0}else{u=(gq(e,1)|0)==0&1;A=0}aq(e,0);B=e+76|0;o=c[B>>2]|0;p=c[e+72>>2]|0;q=p;i=(o|0)!=(q|0)?p:0;i=(i|0)==0?944:i;C=o;if((c[i>>2]|0)==0?(f=+h[i+8>>3],(XO(f)|0)!=0):0){if(!(f<-2147483648.0)){i=~~f;if(!(f>2147483647.0)){if((i|0)>=0){x=i;r=14}}else{x=2147483647;r=14}}}else{x=0;r=14}a:do if((r|0)==14?(n=c[k+40>>2]|0,t=c[k+48>>2]|0,r=c[n+16>>2]|0,w=r-t|0,w=r>>>0>>0?0:w>>>0>=l>>>0?l:w,n|0):0){if(!(c[n>>2]&128))i=n+24|0;else i=c[n+20>>2]|0;k=i+t|0;switch(m&7){case 0:{if((x+1|0)>>>0>w>>>0)break a;i=a[k+x>>0]|0;k=C>>>0<(c[e+68>>2]|0)>>>0;if(!y){if(!k)Sn(e,3902);f=+(i&255);e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}else{if(!k)Sn(e,3868);f=+(i<<24>>24);e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}}case 1:{if((x+2|0)>>>0>w>>>0)break a;k=k+x|0;k=d[k>>0]|d[k+1>>0]<<8;i=yQ(k|0)|0;i=(u|0)==0?k:i;k=C>>>0<(c[e+68>>2]|0)>>>0;if(!y){if(!k)Sn(e,3902);f=+(i&65535);e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}else{if(!k)Sn(e,3868);f=+(i<<16>>16);e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}}case 2:{if((x+4|0)>>>0>w>>>0)break a;k=k+x|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;i=zQ(k|0)|0;i=(u|0)==0?k:i;k=C>>>0<(c[e+68>>2]|0)>>>0;if(!y){if(!k)Sn(e,3902);f=+(i>>>0);e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}else{if(!k)Sn(e,3868);f=+(i|0);e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}}case 3:{if((x+4|0)>>>0>w>>>0)break a;k=k+x|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;i=zQ(k|0)|0;if(C>>>0<(c[e+68>>2]|0)>>>0){f=(c[j>>2]=(u|0)==0?k:i,+g[j>>2]);e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}else Sn(e,3835);break}case 4:{if((x+8|0)>>>0>w>>>0)break a;i=k+x|0;a[j>>0]=a[i>>0];a[j+1>>0]=a[i+1>>0];a[j+2>>0]=a[i+2>>0];a[j+3>>0]=a[i+3>>0];a[j+4>>0]=a[i+4>>0];a[j+5>>0]=a[i+5>>0];a[j+6>>0]=a[i+6>>0];a[j+7>>0]=a[i+7>>0];f=+h[j>>3];h[j>>3]=f;i=c[j+4>>2]|0;if(u){y=zQ(c[j>>2]|0)|0;x=zQ(i|0)|0;c[j>>2]=x;c[j+4>>2]=y;f=+h[j>>3]}if(C>>>0<(c[e+68>>2]|0)>>>0){e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}else Sn(e,3835);break}case 5:{i=o-q>>4>>>0>1?p+16|0:0;i=(i|0)==0?944:i;if(c[i>>2]|0)break a;f=+h[i+8>>3];if(f<-2147483648.0|(XO(f)|0)==0)break a;p=~~f;if(f>2147483647.0)break a;i=p+-1|0;if(i>>>0>5|(p+x|0)>>>0>w>>>0)break a;m=k+x|0;n=(v|0)==0;l=(v>>>2)+-1|0;k=n?-1:p;i=n?i:0;n=0;o=0;do{x=xQ(n|0,o|0,8)|0;o=z;n=d[m+i>>0]|x;i=l+i|0}while((i|0)!=(k|0));k=(y|0)==0;i=64-(p<<3)|0;y=xQ(n|0,o|0,i|0)|0;i=vQ(y|0,z|0,i|0)|0;if(C>>>0<(c[e+68>>2]|0)>>>0){f=+((k?n:i)>>>0)+4294967296.0*+((k?o:z)|0);e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}else Sn(e,3835);break}default:break a}}while(0);if(!A)Jn(e,278145,50334217,271432);if(C>>>0<(c[e+68>>2]|0)>>>0){f=s;e=C+16|0;c[B>>2]=e;c[C>>2]=0;e=C+8|0;h[e>>3]=f;return 1}else Sn(e,3916);return 0}function Ur(e){e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0.0,n=0,o=0.0,p=0,q=0,r=0.0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=l;l=l+16|0;z=A;f=c[e+88>>2]|0;do if(f){g=c[f+16>>2]|0;if(!g){u=(c[f+4>>2]|0)>>>8<<24>>24;break}if(c[g>>2]&4096)u=b[g+46>>1]|0;else u=0}else u=0;while(0);y=e+72|0;f=c[y>>2]|0;v=(u&2|0)!=0;if(!((c[f+-16>>2]|0)!=10|v^1)){p=c[f+-8>>2]|0;n=c[p+16>>2]|0;aq(e,0);q=e+76|0;f=c[q>>2]|0;i=c[y>>2]|0;j=i;g=(f|0)!=(j|0)?i:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==0?(m=+h[g+8>>3],(XO(m)|0)!=0):0)if(!(m<-2147483648.0))if(m>2147483647.0)g=2147483647;else g=~~m;else g=-2147483648;else g=0;k=((g|0)<0?n:0)+g|0;x=f-j>>4>>>0>1?i+16|0:0;if((c[((x|0)==0?944:x)>>2]|0)==2)g=n;else{aq(e,1);i=c[q>>2]|0;f=c[y>>2]|0;f=i-f>>4>>>0>1?f+16|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(r=+h[f+8>>3],(XO(r)|0)!=0):0)if(!(r<-2147483648.0))if(r>2147483647.0)f=2147483647;else f=~~r;else f=-2147483648;else f=0;g=((f|0)<0?n:0)+f|0;f=i}i=(k|0)<0?0:(k|0)>(n|0)?n:k;g=((g|0)<(i|0)?i:(g|0)>(n|0)?n:g)-i|0;if(f>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,4815);if(g>>>0>2147483646)Jn(e,268491,50336467,268447);f=Po(c[e+44>>2]|0,g,4,z)|0;if(!f)Mn(e,268491,4824);e=c[q>>2]|0;c[e>>2]=10;c[e+8>>2]=f;e=f+4|0;c[e>>2]=(c[e>>2]|0)+1;c[q>>2]=(c[q>>2]|0)+16;if(!(c[p>>2]&128))f=p+24|0;else f=c[p+20>>2]|0;CQ(c[z>>2]|0,f+i|0,g|0)|0;l=A;return 1}w=Bu(e,3)|0;s=w+56|0;n=d[s>>0]|0;p=c[w+52>>2]>>n;aq(e,0);x=e+76|0;i=c[x>>2]|0;j=c[y>>2]|0;k=j;f=(i|0)!=(k|0)?j:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(o=+h[f+8>>3],(XO(o)|0)!=0):0)if(!(o<-2147483648.0))if(o>2147483647.0)f=2147483647;else f=~~o;else f=-2147483648;else f=0;g=((f|0)<0?p:0)+f|0;q=i-k>>4>>>0>1?j+16|0:0;if((c[((q|0)==0?944:q)>>2]|0)==2)f=p;else{aq(e,1);f=c[y>>2]|0;f=(c[x>>2]|0)-f>>4>>>0>1?f+16|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(t=+h[f+8>>3],(XO(t)|0)!=0):0)if(!(t<-2147483648.0))if(t>2147483647.0)f=2147483647;else f=~~t;else f=-2147483648;else f=0;f=((f|0)<0?p:0)+f|0}g=(g|0)<0?0:(g|0)>(p|0)?p:g;q=g<(p|0)?p:f)<>2]|0)>>>27;p=Iq(e,p<<27|8320,u&4|0?69:d[279332+(p+-19)>>0]|0)|0;c[p+52>>2]=n;a[p+56>>0]=a[s>>0]|0;a[p+57>>0]=a[w+57>>0]|0;a[p+58>>0]=u&1;g=w+40|0;f=c[g>>2]|0;if(!f)Tn(e,278145,2057);if(!v){c[p+40>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;c[p+48>>2]=(c[w+48>>2]|0)+q;f=c[w+44>>2]|0;c[p+44>>2]=f;if(!f){l=A;return 1}e=f+4|0;c[e>>2]=(c[e>>2]|0)+1;l=A;return 1}if((c[x>>2]|0)>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,4815);if(n>>>0>2147483646)Jn(e,268491,50336467,268447);k=e+44|0;f=Po(c[k>>2]|0,n,0,z)|0;if(!f)Mn(e,268491,4824);i=c[x>>2]|0;c[i>>2]=10;c[i+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;c[x>>2]=(c[x>>2]|0)+16;f=c[g>>2]|0;i=c[w+48>>2]|0;g=c[f+16>>2]|0;j=g-i|0;if(!(c[f>>2]&128))f=f+24|0;else f=c[f+20>>2]|0;CQ(c[z>>2]|0,f+i+q|0,(g>>>0>>0?0:j>>>0>=n>>>0?n:j)|0)|0;f=c[x>>2]|0;g=f+-8|0;z=c[g>>2]|0;c[p+40>>2]=z;z=z+4|0;c[z>>2]=(c[z>>2]|0)+1;if((f|0)==(c[y>>2]|0))Jn(e,268491,50336874,268507);z=f+-16|0;c[x>>2]=z;e=c[f+-16>>2]|0;f=c[g>>2]|0;c[z>>2]=2;if(!(e&8)){l=A;return 1}z=f+4|0;e=(c[z>>2]|0)+-1|0;c[z>>2]=e;if(e|0){l=A;return 1}go(c[k>>2]|0,f);l=A;return 1}function Vr(e){e=e|0;var f=0,i=0.0,k=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,y=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+32|0;o=H+8|0;C=H;f=c[e+88>>2]|0;do if(f){k=c[f+16>>2]|0;if(!k){u=(c[f+4>>2]|0)>>>8<<24>>24;break}if(c[k>>2]&4096)u=b[k+46>>1]|0;else u=0}else u=0;while(0);p=u&7;v=u&8;q=Bu(e,3)|0;s=c[q+52>>2]|0;F=(u&32|0)!=0;a:do if(F){f=gq(e,2)|0;k=e+76|0;m=e+72|0;n=c[m>>2]|0;switch((c[k>>2]|0)-n>>4|0){case 0:{$n(e,342,0);break}case 1:{$n(e,342,1);break}default:{y=n+16|0;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[o+12>>2]=c[n+12>>2];c[n>>2]=c[y>>2];c[n+4>>2]=c[y+4>>2];c[n+8>>2]=c[y+8>>2];c[n+12>>2]=c[y+12>>2];c[y>>2]=c[o>>2];c[y+4>>2]=c[o+4>>2];c[y+8>>2]=c[o+8>>2];c[y+12>>2]=c[o+12>>2];y=(f|0)==0&1;w=0;x=k;D=m;G=k;break a}}}else{G=e+76|0;y=v;w=gq(e,(p|0)==5?3:2)|0;x=G;D=e+72|0}while(0);aq(e,1);m=c[x>>2]|0;n=c[D>>2]|0;o=n;k=m-o>>4;f=k>>>0>1?n+16|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(i=+h[f+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)E=2147483647;else E=~~i;else E=-2147483648;else E=0;if((p|0)==5){f=k>>>0>2?n+32|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==0?(r=+h[f+8>>3],(XO(r)|0)!=0):0)if(!(r<-2147483648.0)){k=~~r;if(!(r>2147483647.0)){if(!((E|0)<0|(k+-1|0)>>>0>5))t=24}else k=2147483647}else k=-2147483648;else k=0}else{k=d[279326+p>>0]|0;if((E|0)>=0)t=24}b:do if((t|0)==24){if((m|0)==(o|0))$n(e,267,0);r=+jo(e,n);o=c[D>>2]|0;t=c[o>>2]|0;p=o+8|0;f=c[p>>2]|0;c[o>>2]=0;h[p>>3]=r;if(t&8|0?(p=f+4|0,t=(c[p>>2]|0)+-1|0,c[p>>2]=t,(t|0)==0):0)go(c[e+44>>2]|0,f);f=c[q+40>>2]|0;n=c[q+48>>2]|0;t=c[f+16>>2]|0;m=t-n|0;m=t>>>0>>0?0:m>>>0>=s>>>0?s:m;if(f){if(!(c[f>>2]&128))f=f+24|0;else f=c[f+20>>2]|0;n=f+n|0;switch(u&7){case 0:{if((E+1|0)>>>0>m>>>0)break b;a[n+E>>0]=Eq(e,0)|0;break}case 1:{if((E+2|0)>>>0>m>>>0)break b;x=(Eq(e,0)|0)&65535;D=yQ(x|0)|0;y=(y|0)==0?x:D;b[C>>1]=y;D=n+E|0;a[D>>0]=y;a[D+1>>0]=y>>8;break}case 2:{if((E+4|0)>>>0>m>>>0)break b;x=Eq(e,0)|0;D=zQ(x|0)|0;y=(y|0)==0?x:D;c[C>>2]=y;D=n+E|0;a[D>>0]=y;a[D+1>>0]=y>>8;a[D+2>>0]=y>>16;a[D+3>>0]=y>>24;break}case 3:{if((E+4|0)>>>0>m>>>0)break b;f=c[D>>2]|0;if((c[x>>2]|0)==(f|0))$n(e,267,0);i=+jo(e,f);w=c[D>>2]|0;D=c[w>>2]|0;x=w+8|0;f=c[x>>2]|0;c[w>>2]=0;h[x>>3]=i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0))/4294967296.0)>>>0):0;while(1){m=q+m|0;a[o+m>>0]=n;n=vQ(n|0,f|0,8)|0;if((m|0)==(p|0))break;else f=z}break}default:break b}if(F){e=0;l=H;return e|0}f=c[G>>2]|0;if(f>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,3902);c[G>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+((k+E|0)>>>0);e=1;l=H;return e|0}}while(0);if(!w)Jn(e,278145,50334495,271432);if(F){e=0;l=H;return e|0}f=c[G>>2]|0;if(f>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,3902);c[G>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+((k+E|0)>>>0);e=1;l=H;return e|0}function Wr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0;b=c[a+88>>2]|0;if(!b)Jn(a,268476,100663783,278172);if(!(c[b+32>>2]&4))Jn(a,268476,100663783,278172);i=a+76|0;j=a+72|0;b=c[j>>2]|0;if((c[i>>2]|0)==(b|0))$n(a,342,0);switch(c[b>>2]|0){case 9:{b=c[b+8>>2]|0;d=c[b>>2]|0;if(!(d&8192))Jn(a,278145,100663521,278161);else{o=b;e=d}break}case 10:{vo(a,0);e=c[(c[j>>2]|0)+8>>2]|0;o=e;e=c[e>>2]|0;break}default:Jn(a,278145,100663521,278161)}if((e&-134217728|0)!=-1744830464)Tn(a,278145,1094);aq(a,1);e=c[j>>2]|0;f=(c[i>>2]|0)-e>>4;b=f>>>0>1?e+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(g=+h[b+8>>3],(XO(g)|0)!=0):0){if(g<-2147483648.0)Jn(a,278145,50331956,271432);b=~~g;if(!(g>2147483647.0))if((b|0)<0)Jn(a,278145,50331956,271432);else m=b;else m=2147483647}else m=0;d=o+52|0;b=c[d>>2]|0;if(b>>>0>>0)Jn(a,278145,50331956,271432);f=f>>>0>2?e+32|0:0;if((c[((f|0)==0?944:f)>>2]|0)!=2){aq(a,2);b=c[j>>2]|0;b=(c[i>>2]|0)-b>>4>>>0>2?b+32|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(l=+h[b+8>>3],(XO(l)|0)!=0):0){if(l<-2147483648.0)Jn(a,278145,50331956,271432);b=~~l;if(!(l>2147483647.0))if((b|0)<0)Jn(a,278145,50331956,271432);else k=b;else k=2147483647;if(k>>>0>((c[d>>2]|0)-m|0)>>>0)Jn(a,278145,50331956,271432);else n=k}else n=0}else n=b-m|0;b=Iq(a,-1610604416,47)|0;d=c[o+40>>2]|0;if(!d)Tn(a,278145,1109);else{c[b+40>>2]=d;a=d+4|0;c[a>>2]=(c[a>>2]|0)+1;c[b+48>>2]=(c[o+48>>2]|0)+m;c[b+52>>2]=n;c[b+44>>2]=o;a=o+4|0;c[a>>2]=(c[a>>2]|0)+1;return 1}return 0}function Xr(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+80|0;e=p+64|0;f=p;n=a+76|0;o=a+72|0;g=(c[n>>2]|0)-(c[o>>2]|0)>>4;m=a+88|0;b=c[m>>2]|0;if(!b)b=0;else b=(c[b+32>>2]|0)>>>2&1;Bq(a,805322880,15)|0;k=(b|0)!=0;if(!((g|0)!=0&k)){if(Ef(e|0,0)|0)lo(a,274266,25);d=+(c[e>>2]|0)*1.0e3+ +((c[e+4>>2]|0)/1e3|0|0);h[j>>3]=d;b=c[j>>2]|0;e=c[j+4>>2]|0;m=e&2146435072;if(m>>>0<2146435072|(m|0)==2146435072&0<0?d>=-864.0e13&d<=864.0e13:0){d=+A(+(+B(+d)));d=(e|0)>-1|(e|0)==-1&b>>>0>4294967295?d:-d}else d=s;b=c[n>>2]|0;if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3835);m=b+16|0;c[n>>2]=m;c[b>>2]=0;h[b+8>>3]=d;o=c[o>>2]|0;b=m-o>>4;b=b>>>0>1?o+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[a+428>>2]|0)+356>>2]|0,1);if(k){l=p;return 1}Ho(a,-1)|0;l=p;return 1}if((g|0)==1){po(a,0,0);e=c[n>>2]|0;b=c[o>>2]|0;b=(e|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if(((c[b>>2]|0)==8?(i=c[b+8>>2]|0,(i|0)!=0):0)?(c[i>>2]&512|0)==0:0){vv(a,i+28|0);e=c[o>>2]|0;b=(c[n>>2]|0)-e>>4;if(!b)$n(a,342,-1);k=e+(b+-1<<4)|0;m=c[e>>2]|0;b=c[e+8>>2]|0;c[e>>2]=c[k>>2];c[e+4>>2]=c[k+4>>2];c[e+8>>2]=c[k+8>>2];c[e+12>>2]=c[k+12>>2];c[k>>2]=2;e=(c[n>>2]|0)+-16|0;c[n>>2]=e;if((m&8|0)!=0?(k=b+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0){go(c[a+44>>2]|0,b);e=c[n>>2]|0}}b=c[o>>2]|0;if((e|0)==(b|0))$n(a,267,0);d=+jo(a,b);i=c[o>>2]|0;m=c[i>>2]|0;k=i+8|0;b=c[k>>2]|0;c[i>>2]=0;h[k>>3]=d;if(m&8|0?(k=b+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,b);h[j>>3]=d;b=c[j>>2]|0;e=c[j+4>>2]|0;m=e&2146435072;if(m>>>0<2146435072|(m|0)==2146435072&0<0?d>=-864.0e13&d<=864.0e13:0){d=+A(+(+B(+d)));d=(e|0)>-1|(e|0)==-1&b>>>0>4294967295?d:-d}else d=s;b=c[n>>2]|0;if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3835);m=b+16|0;c[n>>2]=m;c[b>>2]=0;h[b+8>>3]=d;o=c[o>>2]|0;b=m-o>>4;b=b>>>0>1?o+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[a+428>>2]|0)+356>>2]|0,1);l=p;return 1}uv(a,f,g);d=+sv(f,16);b=c[n>>2]|0;i=a+68|0;e=c[i>>2]|0;if(b>>>0>=e>>>0)Sn(a,3835);f=b+16|0;c[n>>2]=f;c[b>>2]=0;h[b+8>>3]=d;if(f>>>0>=e>>>0)Sn(a,955);if((f-(c[o>>2]|0)|0)<16)$n(a,958,-1);c[n>>2]=b+32;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];if(c[f>>2]&8|0){k=(c[b+24>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}b=c[n>>2]|0;f=b-(c[o>>2]|0)|0;k=f>>4;g=k+-3|0;if(k>>>0<=2)$n(a,267,-3);e=c[(c[a+428>>2]|0)+356>>2]|0;if(b>>>0>=(c[i>>2]|0)>>>0)Sn(a,3761);c[n>>2]=b+16;c[b>>2]=8;c[b+8>>2]=e;i=e+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[o>>2]|0;k=(c[n>>2]|0)-i>>4;f=((f|0)<48?k:0)+g|0;if(f>>>0>=k>>>0)$n(a,342,g);if((k|0)==1)$n(a,342,-2);e=k+-2|0;b=c[m>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,i+(f<<4)|0,i+(k+-1<<4)|0,c[i+(e<<4)>>2]|0,c[i+(e<<4)+4>>2]|0,+h[i+(e<<4)+8>>3],b)|0;e=c[n>>2]|0;if(e-(c[o>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);f=a+44|0;k=e+-16|0;m=c[k>>2]|0;b=c[e+-8>>2]|0;c[k>>2]=2;if(m&8|0?(k=b+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)Wn(c[f>>2]|0,b);k=e+-32|0;m=c[k>>2]|0;b=c[e+-24>>2]|0;c[k>>2]=2;if(m&8|0?(k=b+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)Wn(c[f>>2]|0,b);b=e+-32|0;c[n>>2]=b;e=c[f>>2]|0;if(c[e+32>>2]|0){Rn(e);b=c[n>>2]|0}if((b|0)==(c[o>>2]|0))Jn(a,268491,50336874,268507);o=b+-16|0;c[n>>2]=o;a=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[o>>2]=2;if(!(a&8)){l=p;return 1}o=b+4|0;a=(c[o>>2]|0)+-1|0;c[o>>2]=a;if(a|0){l=p;return 1}go(c[f>>2]|0,b);l=p;return 1}function Yr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0;f=l;l=l+16|0;b=f;if(Ef(b|0,0)|0)lo(a,274266,25);d=a+76|0;e=c[d>>2]|0;if(e>>>0<(c[a+68>>2]|0)>>>0){g=+(c[b>>2]|0)*1.0e3+ +((c[b+4>>2]|0)/1e3|0|0);c[d>>2]=e+16;c[e>>2]=0;h[e+8>>3]=g;l=f;return 1}else Sn(a,3835);return 0}function Zr(a){a=a|0;vv(a,Ho(a,0)|0);return 1}function _r(a){a=a|0;var b=0.0,d=0,e=0,f=0,g=0.0,i=0,j=0,k=0;k=l;l=l+64|0;d=k;j=a+76|0;f=c[j>>2]|0;e=f-(c[a+72>>2]|0)|0;if((e|0)<32)if(f>>>0<(c[a+68>>2]|0)>>>0){g=s;i=f}else Sn(a,3916);else{uv(a,d,e>>>4);b=+sv(d,0);d=c[j>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){g=b;i=d}else Sn(a,3835)}c[j>>2]=i+16;c[i>>2]=0;h[i+8>>3]=g;l=k;return 1}function $r(a){a=a|0;var d=0,f=0,g=0,i=0.0,k=0,m=0;m=l;l=l+32|0;g=m;d=c[a+88>>2]|0;do if(d){f=c[d+16>>2]|0;if(!f){d=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[f>>2]&4096)d=b[f+46>>1]|0;else d=0}else d=0;while(0);k=e[35338+(d<<1)>>1]|0;i=+pv(a,k,0);h[j>>3]=i;f=c[j+4>>2]&2147483647;if(f>>>0>2146435072|(f|0)==2146435072&(c[j>>2]|0)>>>0>0){d=a+76|0;f=c[d>>2]|0;if(f>>>0<(c[a+68>>2]|0)>>>0){i=s;k=d;a=f;g=a+16|0;c[k>>2]=g;c[a>>2]=0;a=a+8|0;h[a>>3]=i;l=m;return 1}else Sn(a,3916)}rv(i,g,0,k);d=c[g+(k>>>12<<2)>>2]|0;f=a+76|0;g=c[f>>2]|0;if(g>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3868);i=+((k&32|0?d+-1900|0:d)|0);k=f;a=g;g=a+16|0;c[k>>2]=g;c[a>>2]=0;a=a+8|0;h[a>>3]=i;l=m;return 1}function as(a){a=a|0;var b=0.0,d=0,e=0,f=0;b=+pv(a,0,0);h[j>>3]=b;f=c[j+4>>2]&2147483647;if(f>>>0>2146435072|(f|0)==2146435072&(c[j>>2]|0)>>>0>0){d=a+76|0;e=c[d>>2]|0;if(e>>>0<(c[a+68>>2]|0)>>>0){b=s;f=d;a=e;e=a+16|0;c[f>>2]=e;c[a>>2]=0;a=a+8|0;h[a>>3]=b;return 1}else Sn(a,3916)}d=qv(b)|0;e=a+76|0;f=c[e>>2]|0;if(f>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3868);b=+((d|0)/-60|0|0);a=f;f=a+16|0;c[e>>2]=f;c[a>>2]=0;a=a+8|0;h[a>>3]=b;return 1}function bs(a){a=a|0;var d=0,f=0,g=0,i=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=l;l=l+96|0;g=x+64|0;t=x;u=a+88|0;d=c[u>>2]|0;do if(d){f=c[d+16>>2]|0;if(!f){d=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[f>>2]&4096)d=b[f+46>>1]|0;else d=0}else d=0;while(0);n=e[35338+(d<<1)>>1]|0;o=n>>>12;w=a+76|0;v=a+72|0;d=(c[w>>2]|0)-(c[v>>2]|0)|0;p=d>>4;i=+pv(a,n,0);h[j>>3]=i;q=c[j+4>>2]&2146435072;q=q>>>0<2146435072|(q|0)==2146435072&0<0;if(q)rv(i,g,t,n);m=(n>>>7&4|3)-o|0;a:do if((o|0)!=0&(d|0)>0){k=a+44|0;if(!(n&1024)){d=0;while(1){g=d+m|0;f=c[v>>2]|0;if(d>>>0>=(c[w>>2]|0)-f>>4>>>0)break;i=+jo(a,f+(d<<4)|0);z=c[v>>2]|0;A=z+(d<<4)|0;y=c[A>>2]|0;z=z+(d<<4)+8|0;f=c[z>>2]|0;c[A>>2]=0;h[z>>3]=i;if(y&8|0?(z=f+4|0,A=(c[z>>2]|0)+-1|0,c[z>>2]=A,(A|0)==0):0)go(c[k>>2]|0,f);h[t+(g<<3)>>3]=(g|0)==2?i+-1.0:i;d=d+1|0;if(!(d>>>0>>0&(d|0)<(p|0)))break a}$n(a,267,d)}else r=0;while(1){f=r+m|0;if(!f)tv(a,r);d=c[v>>2]|0;if(r>>>0>=(c[w>>2]|0)-d>>4>>>0){d=r;break}i=+jo(a,d+(r<<4)|0);z=c[v>>2]|0;y=z+(r<<4)|0;A=c[y>>2]|0;z=z+(r<<4)+8|0;d=c[z>>2]|0;c[y>>2]=0;h[z>>3]=i;if(A&8|0?(z=d+4|0,A=(c[z>>2]|0)+-1|0,c[z>>2]=A,(A|0)==0):0)go(c[k>>2]|0,d);h[t+(f<<3)>>3]=(f|0)==2?i+-1.0:i;r=r+1|0;if(!(r>>>0>>0&(r|0)<(p|0)))break a}$n(a,267,d)}while(0);if(!q){d=c[w>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3916);c[w>>2]=d+16;c[d>>2]=0;h[d+8>>3]=s;l=x;return 1}i=+sv(t,n);d=c[w>>2]|0;m=a+68|0;f=c[m>>2]|0;if(d>>>0>=f>>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function cs(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0,i=0,k=0,l=0,m=0;+pv(a,0,0);m=a+76|0;l=a+72|0;b=c[l>>2]|0;if((c[m>>2]|0)==(b|0))$n(a,267,0);e=+jo(a,b);g=c[l>>2]|0;k=c[g>>2]|0;i=g+8|0;b=c[i>>2]|0;c[g>>2]=0;h[i>>3]=e;if(k&8|0?(i=b+4|0,k=(c[i>>2]|0)+-1|0,c[i>>2]=k,(k|0)==0):0)go(c[a+44>>2]|0,b);h[j>>3]=e;b=c[j>>2]|0;d=c[j+4>>2]|0;k=d&2146435072;if(k>>>0<2146435072|(k|0)==2146435072&0<0?e>=-864.0e13&e<=864.0e13:0){e=+A(+(+B(+e)));e=(d|0)>-1|(d|0)==-1&b>>>0>4294967295?e:-e}else e=s;b=c[m>>2]|0;i=a+68|0;d=c[i>>2]|0;if(b>>>0>=d>>>0)Sn(a,3835);f=b+16|0;c[m>>2]=f;c[b>>2]=0;h[b+8>>3]=e;if(f>>>0>=d>>>0)Sn(a,955);if((f-(c[l>>2]|0)|0)<16)$n(a,958,-1);c[m>>2]=b+32;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];if(c[f>>2]&8|0){k=(c[b+24>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}b=c[m>>2]|0;f=b-(c[l>>2]|0)|0;k=f>>4;g=k+-3|0;if(k>>>0<=2)$n(a,267,-3);d=c[(c[a+428>>2]|0)+356>>2]|0;if(b>>>0>=(c[i>>2]|0)>>>0)Sn(a,3761);c[m>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;i=d+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[l>>2]|0;k=(c[m>>2]|0)-i>>4;f=((f|0)<48?k:0)+g|0;if(f>>>0>=k>>>0)$n(a,342,g);if((k|0)==1)$n(a,342,-2);d=k+-2|0;b=c[a+88>>2]|0;if(!b)b=1;else b=c[b+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f-b>>4;d=d|0?e+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(g=c[d+8+4>>2]&2146435072,!(g>>>0<2146435072|(g|0)==2146435072&0<0)):0){if(f>>>0>=(c[i>>2]|0)>>>0)Sn(a,3787);c[j>>2]=f+16;c[f>>2]=3;return 1}if((f|0)==(e|0))Jn(a,268491,50336874,268507);e=f+-16|0;c[j>>2]=e;g=c[f+-16>>2]|0;d=c[f+-8>>2]|0;c[e>>2]=2;if((g&8|0)!=0?(f=d+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0){go(c[a+44>>2]|0,d);e=c[j>>2]|0;b=c[h>>2]|0}f=e-b|0;d=f>>4;g=d+-1|0;if(!d)$n(a,267,-1);b=c[(c[a+428>>2]|0)+168>>2]|0;if(e>>>0>=(c[i>>2]|0)>>>0)Sn(a,3761);c[j>>2]=e+16;c[e>>2]=8;c[e+8>>2]=b;d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[h>>2]|0;e=(c[j>>2]|0)-d>>4;b=((f|0)<16?e:0)+g|0;if(b>>>0>=e>>>0)$n(a,342,g);ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[h>>2]|0;e=(c[j>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);k=d+(b<<4)|0;f=d+(e+-1<<4)|0;g=c[k>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(k|0,k+16|0,f-k|0)|0;c[f>>2]=2;d=(c[j>>2]|0)+-16|0;c[j>>2]=d;if((g&8|0)!=0?(g=b+4|0,k=(c[g>>2]|0)+-1|0,c[g>>2]=k,(k|0)==0):0){go(c[a+44>>2]|0,b);d=c[j>>2]|0}if(d>>>0>=(c[i>>2]|0)>>>0)Sn(a,935);b=c[h>>2]|0;e=d-b>>4;if(e>>>0<=1)$n(a,342,-2);k=b+(e+-2<<4)|0;c[j>>2]=d+16;c[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];c[d+8>>2]=c[k+8>>2];c[d+12>>2]=c[k+12>>2];if(c[d>>2]&8|0){k=(c[d+8>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}b=(c[j>>2]|0)-(c[h>>2]|0)|0;if((b|0)<32)Tn(a,268476,76);so(a,0,0,(b+-32|0)>>>4);return 1}function es(d){d=d|0;var f=0,g=0,i=0,k=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=l;l=l+288|0;s=x+80|0;r=x+64|0;t=x+24|0;o=x+16|0;n=x+8|0;m=x;w=x+224|0;u=x+136|0;q=x+104|0;i=x+100|0;v=x+184|0;f=c[d+88>>2]|0;do if(f){g=c[f+16>>2]|0;if(!g){f=(c[f+4>>2]|0)>>>8<<24>>24;break}if(c[g>>2]&4096)f=b[g+46>>1]|0;else f=0}else f=0;while(0);p=e[35338+(f<<1)>>1]|0;k=+pv(d,p,i);h[j>>3]=k;g=c[j+4>>2]&2147483647;if(g>>>0>2146435072|(g|0)==2146435072&(c[j>>2]|0)>>>0>0){f=c[(c[d+428>>2]|0)+264>>2]|0;g=d+76|0;i=c[g>>2]|0;if(i>>>0>=(c[d+68>>2]|0)>>>0)Sn(d,3761);c[g>>2]=i+16;c[i>>2]=8;c[i+8>>2]=f;d=f+4|0;c[d>>2]=(c[d>>2]|0)+1;l=x;return 1}rv(k,q,0,4);do if(!(p&256))f=c[q>>2]|0;else{f=c[q>>2]|0;if((f+-1970|0)>>>0>67)break;g=u+28|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[u>>2]=c[q+20>>2];c[u+4>>2]=c[q+16>>2];c[u+8>>2]=c[q+12>>2];c[u+12>>2]=c[q+8>>2];c[u+16>>2]=(c[q+4>>2]|0)+-1;c[u+20>>2]=f+-1900;c[u+24>>2]=c[q+28>>2];c[u+32>>2]=0;f=w;g=f+64|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));f=(p&64|0)!=0;Tf(w|0,63,((p&128|0)==0|f^1?(f?279205:279208):279211)|0,u|0)|0;f=JO(w)|0;g=d+76|0;if((c[g>>2]|0)>>>0>=(c[d+68>>2]|0)>>>0)Sn(d,3931);if((f|0)<0)Jn(d,268491,50335592,268919);d=Fo(d,w,f)|0;w=c[g>>2]|0;c[g>>2]=w+16;c[w>>2]=8;c[w+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;l=x;return 1}while(0);g=c[i>>2]|0;i=(p&2048|0)!=0;c[m>>2]=f;NO(w,8,f>>>0<1e4?279227:(f|0)>-1?279214:279221,m);a[w+7>>0]=0;do if(p&16)if((g|0)>-1){c[n>>2]=(g>>>0)/3600|0;c[n+4>>2]=(((g>>>0)/60|0)>>>0)%60|0;NO(u,8,279233,n);f=7;break}else{c[o>>2]=(g|0)/-3600|0;c[o+4>>2]=((g|0)/-60|0|0)%60|0;NO(u,8,279244,o);f=7;break}else{a[u>>0]=90;f=1}while(0);a[u+f>>0]=0;f=(p&64|0)!=0;do if((p&128|0)==0|f^1)if(f){t=c[q+4>>2]|0;u=c[q+8>>2]|0;c[r>>2]=w;c[r+4>>2]=t;c[r+8>>2]=u;zN(v,279291,r)|0;break}else{r=c[q+16>>2]|0;t=c[q+20>>2]|0;w=c[q+24>>2]|0;c[s>>2]=c[q+12>>2];c[s+4>>2]=r;c[s+8>>2]=t;c[s+12>>2]=w;c[s+16>>2]=u;zN(v,279304,s)|0;break}else{m=c[q+4>>2]|0;n=c[q+8>>2]|0;o=c[q+12>>2]|0;p=c[q+16>>2]|0;r=c[q+20>>2]|0;s=c[q+24>>2]|0;c[t>>2]=w;c[t+4>>2]=m;c[t+8>>2]=n;c[t+12>>2]=i?84:32;c[t+16>>2]=o;c[t+20>>2]=p;c[t+24>>2]=r;c[t+28>>2]=s;c[t+32>>2]=u;zN(v,279255,t)|0}while(0);f=JO(v)|0;g=d+76|0;if((c[g>>2]|0)>>>0>=(c[d+68>>2]|0)>>>0)Sn(d,3931);if((f|0)<0)Jn(d,268491,50335592,268919);d=Fo(d,v,f)|0;w=c[g>>2]|0;c[g>>2]=w+16;c[w>>2]=8;c[w+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;l=x;return 1}function fs(a){a=a|0;var b=0.0,d=0,e=0;b=+pv(a,0,0);d=a+76|0;e=c[d>>2]|0;if(e>>>0<(c[a+68>>2]|0)>>>0){c[d>>2]=e+16;c[e>>2]=0;h[e+8>>3]=b;return 1}else Sn(a,3835);return 0}function gs(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;aq(a,0);r=a+76|0;e=c[r>>2]|0;q=a+72|0;b=c[q>>2]|0;b=(e|0)!=(b|0)?b:0;b=(b|0)==0?944:b;do if((c[b>>2]|0)==0?(d=+h[b+8>>3],XO(d)|0):0){if(!(d<-2147483648.0)){if(d>2147483647.0)break;b=~~d;if((b|0)>-1)break}else b=-2147483648;i=a+96|0;if((c[i>>2]|0)>=(0-b|0)){o=a+68|0;if(e>>>0>=(c[o>>2]|0)>>>0)Sn(a,4255);e=xo(a,40)|0;p=a+44|0;f=c[p>>2]|0;c[e>>2]=134234241;f=f+24|0;g=c[f>>2]|0;if(g|0)c[g+12>>2]=e;c[e+12>>2]=0;c[e+8>>2]=g;c[f>>2]=e;f=c[r>>2]|0;c[f>>2]=9;c[f+8>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[r>>2]|0;g=f+16|0;c[r>>2]=g;e=(c[a+84>>2]|0)+((c[i>>2]|0)*48|0)+(b*48|0)|0;b=c[e+16>>2]|0;if((b|0)!=0?(c[b>>2]&2048|0)!=0:0){l=(c[e+28>>2]|0)-(c[b+48>>2]|0)>>2;l=(l|0)==0?0:l+-1|0}else l=0;if(g>>>0>=(c[o>>2]|0)>>>0)Sn(a,3761);c[r>>2]=f+32;c[g>>2]=c[e>>2];c[g+4>>2]=c[e+4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);if((i|0)==1)$n(a,342,-2);e=i+-2|0;b=c[m>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,g+(f<<4)|0,g+(i+-1<<4)|0,c[g+(e<<4)>>2]|0,c[g+(e<<4)+4>>2]|0,+h[g+(e<<4)+8>>3],b)|0;e=c[r>>2]|0;if(e-(c[q>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);a=e+-16|0;q=c[a>>2]|0;b=c[e+-8>>2]|0;c[a>>2]=2;do if(q&8|0){a=b+4|0;q=(c[a>>2]|0)+-1|0;c[a>>2]=q;if(q|0)break;Wn(c[p>>2]|0,b)}while(0);a=e+-32|0;q=c[a>>2]|0;b=c[e+-24>>2]|0;c[a>>2]=2;do if(q&8|0){a=b+4|0;q=(c[a>>2]|0)+-1|0;c[a>>2]=q;if(q|0)break;Wn(c[p>>2]|0,b)}while(0);c[r>>2]=e+-32;b=c[p>>2]|0;if(!(c[b+32>>2]|0))return 1;Rn(b);return 1}}while(0);if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3772);c[r>>2]=e+16;return 1}function hs(a){a=a|0;var b=0;b=c[a+72>>2]|0;b=(c[a+76>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)return 1;b=c[b+8>>2]|0;if(!b)return 1;yp(a,b);return 1}function is(b){b=b|0;var 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;t=l;l=l+16|0;i=t+4|0;j=t;s=b+76|0;g=c[s>>2]|0;r=b+72|0;e=c[r>>2]|0;h=e;e=(g|0)!=(h|0)?e:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8)In(b,1812,0,287470);f=c[e+8>>2]|0;if(!f)In(b,1812,0,287470);if(g-h>>4>>>0<2)$n(b,362,1);e=c[b+428>>2]|0;if((f|0)==(c[e+432>>2]|0)){_n(b,2);Yq(b,1);l=t;return 1}if((f|0)!=(c[e+436>>2]|0)){if((f|0)==(c[e+440>>2]|0)){hr(b,1,2,4);l=t;return 1}if((f|0)!=(c[e+444>>2]|0))Tn(b,279121,150);hr(b,1,2,8);l=t;return 1}_n(b,2);if((c[s>>2]|0)-(c[r>>2]|0)>>4>>>0<=1)$n(b,267,1);f=Xq(b,1,j)|0;e=c[j>>2]|0;if(e>>>0>4294967292)Jn(b,271833,100663755,271132);e=((e+3|0)>>>2)*3|0;if((c[s>>2]|0)>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);if(e>>>0>2147483646)Jn(b,268491,50336467,268447);q=b+44|0;e=Po(c[q>>2]|0,e,1,i)|0;if(!e)Mn(b,268491,4824);p=c[s>>2]|0;c[p>>2]=10;c[p+8>>2]=e;p=e+4|0;c[p>>2]=(c[p>>2]|0)+1;c[s>>2]=(c[s>>2]|0)+16;p=c[i>>2]|0;n=f+(c[j>>2]|0)|0;o=n+-4|0;e=p;a:while(1){b:do if(f>>>0>o>>>0)h=e;else while(1){g=((a[271863+(d[f+1>>0]|0)>>0]|a[271863+(d[f>>0]|0)>>0]<<6)<<6|a[271863+(d[f+2>>0]|0)>>0])<<6|a[271863+(d[f+3>>0]|0)>>0];if((g|0)<0){h=e;break b}f=f+4|0;a[e>>0]=g>>>16;a[e+1>>0]=g>>>8;h=e+3|0;a[e+2>>0]=g;if(f>>>0>o>>>0)break;else e=h}while(0);m=0;j=0;i=0;while(1){while(1){if(f>>>0>=n>>>0){k=36;break a}e=f;f=f+1|0;e=a[e>>0]|0;g=a[271863+(e&255)>>0]|0;if(g<<24>>24>=0){k=28;break}if(g<<24>>24!=-2){k=26;break}}if((k|0)==26){if(e<<24>>24!=61){k=49;break a}j=j+1|0;i=i<<6}else if((k|0)==28){if(j|0){k=49;break a}j=0;i=(g<<24>>24)+(i<<6)|0}if((m|0)==3)break;m=m+1|0}e=h+1|0;a[h>>0]=i>>>16;g=h+2|0;a[e>>0]=i>>>8;a[g>>0]=i;switch(j|0){case 0:{e=h+3|0;continue a}case 1:{e=g;continue a}case 2:continue a;default:{k=49;break a}}}if((k|0)==36){if(m|0)Jn(b,271833,100663755,271132);o=c[r>>2]|0;e=(c[s>>2]|0)-o>>4;e=e|0?o+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=10)In(b,1847,-1,268387);e=c[e+8>>2]|0;if(!e)In(b,1847,-1,268387);if((c[e>>2]&384|0)!=128)Jn(b,268394,100663313,268411);Kn(b,e,h-p|0);e=c[r>>2]|0;f=(c[s>>2]|0)-e>>4;if(!f)$n(b,342,-1);g=e+(f+-1<<4)|0;if((f|0)==1)$n(b,342,1);r=e+16|0;b=c[r>>2]|0;e=c[e+24>>2]|0;c[r>>2]=c[g>>2];c[r+4>>2]=c[g+4>>2];c[r+8>>2]=c[g+8>>2];c[r+12>>2]=c[g+12>>2];c[g>>2]=2;c[s>>2]=(c[s>>2]|0)+-16;if(b&8|0?(b=e+4|0,s=(c[b>>2]|0)+-1|0,c[b>>2]=s,(s|0)==0):0)go(c[q>>2]|0,e);l=t;return 1}else if((k|0)==49)Jn(b,271833,100663755,271132);return 0}function js(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+16|0;j=q+4|0;m=q;p=e+76|0;h=c[p>>2]|0;o=e+72|0;f=c[o>>2]|0;i=f;f=(h|0)!=(i|0)?f:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=8)In(e,1812,0,287470);g=c[f+8>>2]|0;if(!g)In(e,1812,0,287470);if(h-i>>4>>>0<2)$n(e,362,1);f=c[e+428>>2]|0;if((g|0)==(c[f+432>>2]|0)){_n(e,2);if((c[p>>2]|0)-(c[o>>2]|0)>>4>>>0<=1)$n(e,267,1);k=Xq(e,1,m)|0;f=c[m>>2]<<1;if((c[p>>2]|0)>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,4815);if(f>>>0>2147483646)Jn(e,268491,50336467,268447);n=e+44|0;f=Po(c[n>>2]|0,f,4,j)|0;if(!f)Mn(e,268491,4824);g=c[p>>2]|0;c[g>>2]=10;c[g+8>>2]=f;g=f+4|0;c[g>>2]=(c[g>>2]|0)+1;c[p>>2]=(c[p>>2]|0)+16;g=c[j>>2]|0;j=c[m>>2]|0;f=j&-4;if(!f)f=0;else{h=0;i=g;while(1){b[i>>1]=b[34296+((d[k+h>>0]|0)<<1)>>1]|0;b[i+2>>1]=b[34296+((d[k+(h|1)>>0]|0)<<1)>>1]|0;b[i+4>>1]=b[34296+((d[k+(h|2)>>0]|0)<<1)>>1]|0;b[i+6>>1]=b[34296+((d[k+(h|3)>>0]|0)<<1)>>1]|0;h=h+4|0;if(h>>>0>=f>>>0)break;else i=i+8|0}g=g+(f<<1)|0}if(f>>>0>>0)while(1){b[g>>1]=b[34296+((d[k+f>>0]|0)<<1)>>1]|0;f=f+1|0;if((f|0)==(j|0))break;else g=g+2|0}Ro(e);f=c[o>>2]|0;g=(c[p>>2]|0)-f>>4;if(!g)$n(e,342,-1);h=f+(g+-1<<4)|0;if((g|0)==1)$n(e,342,1);o=f+16|0;e=c[o>>2]|0;f=c[f+24>>2]|0;c[o>>2]=c[h>>2];c[o+4>>2]=c[h+4>>2];c[o+8>>2]=c[h+8>>2];c[o+12>>2]=c[h+12>>2];c[h>>2]=2;c[p>>2]=(c[p>>2]|0)+-16;if(e&8|0?(e=f+4|0,p=(c[e>>2]|0)+-1|0,c[e>>2]=p,(p|0)==0):0)go(c[n>>2]|0,f);l=q;return 1}if((g|0)!=(c[f+436>>2]|0)){if((g|0)==(c[f+440>>2]|0)){Zq(e,1,2,3,7);l=q;return 1}if((g|0)!=(c[f+444>>2]|0))Tn(e,279121,108);Zq(e,1,2,3,9);l=q;return 1}_n(e,2);if((c[p>>2]|0)-(c[o>>2]|0)>>4>>>0<=1)$n(e,267,1);g=Xq(e,1,m)|0;f=c[m>>2]|0;if(f>>>0>3221225469)Jn(e,271833,100663710,271849);f=(((f+2|0)>>>0)/3|0)<<2;if((c[p>>2]|0)>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,4815);if(f>>>0>2147483646)Jn(e,268491,50336467,268447);k=e+44|0;f=Po(c[k>>2]|0,f,4,j)|0;if(!f)Mn(e,268491,4824);i=c[p>>2]|0;c[i>>2]=10;c[i+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;c[p>>2]=(c[p>>2]|0)+16;f=c[j>>2]|0;m=c[m>>2]|0;j=(m>>>0)%3|0;m=m-j|0;i=g+m|0;if(m)while(1){r=d[g>>0]|0;h=r<<8|(d[g+1>>0]|0);m=d[g+2>>0]|0;g=g+3|0;a[f>>0]=a[271769+(r>>>2)>>0]|0;a[f+1>>0]=a[271769+(h>>>4&63)>>0]|0;a[f+2>>0]=a[271769+((h<<8|m)>>>6&63)>>0]|0;h=f+4|0;a[f+3>>0]=a[271769+(m&63)>>0]|0;if((g|0)==(i|0)){g=i;f=h;break}else f=h}switch(j&3){case 1:{n=d[g>>0]|0;a[f>>0]=a[271769+(n>>>2)>>0]|0;a[f+1>>0]=a[271769+(n<<4&48)>>0]|0;a[f+2>>0]=61;n=43;break}case 2:{r=d[g>>0]|0;n=d[g+1>>0]|0;a[f>>0]=a[271769+(r>>>2)>>0]|0;a[f+1>>0]=a[271769+((r<<8|n)>>>4&63)>>0]|0;a[f+2>>0]=a[271769+(n<<2&60)>>0]|0;n=43;break}default:{}}if((n|0)==43)a[f+3>>0]=61;Ro(e);f=c[o>>2]|0;g=(c[p>>2]|0)-f>>4;if(!g)$n(e,342,-1);h=f+(g+-1<<4)|0;if((g|0)==1)$n(e,342,1);e=f+16|0;r=c[e>>2]|0;f=c[f+24>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];c[e+12>>2]=c[h+12>>2];c[h>>2]=2;c[p>>2]=(c[p>>2]|0)+-16;if(r&8|0?(p=f+4|0,r=(c[p>>2]|0)+-1|0,c[p>>2]=r,(r|0)==0):0)go(c[k>>2]|0,f);l=q;return 1}function ks(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;h=a+76|0;d=c[h>>2]|0;g=a+72|0;b=c[g>>2]|0;f=b;b=(d|0)!=(f|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,0,268820);if(!(c[b+8>>2]|0))In(a,1834,0,268820);if((d-f|0)>16){_n(a,2);f=c[g>>2]|0;d=(c[h>>2]|0)-f>>4;e=(d|0)!=0;b=e?f:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,0,268820);g=c[b+8>>2]|0;if(!g)In(a,1834,0,268820);b=e?f+(d+-1<<4)|0:0;b=(b|0)==0?944:b;switch(c[b>>2]|0){case 6:{b=1;break}case 9:{b=c[b+8>>2]|0;if(!b)b=0;else b=(c[b>>2]&6656|0)!=0;break}default:b=0}sp(a,0,100);a=c[g>>2]|0;c[g>>2]=b?a|2097152:a&-2097153;a=0;return a|0}e=d;if((d|0)==(f|0))$n(a,267,0);b=c[(c[a+428>>2]|0)+400>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[h>>2]=e+16;c[e>>2]=8;c[e+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[g>>2]|0;d=(c[h>>2]|0)-b>>4;if(!d)$n(a,342,0);ro(a,b,b+(d+-1<<4)|0)|0;d=c[g>>2]|0;e=(c[h>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);i=d+(b<<4)|0;f=d+(e+-1<<4)|0;g=c[i>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(i|0,i+16|0,f-i|0)|0;c[f>>2]=2;c[h>>2]=(c[h>>2]|0)+-16;if(!(g&8)){i=1;return i|0}h=b+4|0;i=(c[h>>2]|0)+-1|0;c[h>>2]=i;if(i|0){i=1;return i|0}go(c[a+44>>2]|0,b);i=1;return i|0}function ls(a){a=a|0;var b=0,d=0.0,e=0;e=a+76|0;b=c[a+72>>2]|0;b=(c[e>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],!(d<0.0|(XO(d)|0)==0)):0)if(d>4294967295.0)b=-1;else b=~~d>>>0;else b=0;Ln(c[a+44>>2]|0,b);b=c[e>>2]|0;if(b>>>0<(c[a+68>>2]|0)>>>0){c[e>>2]=b+16;c[b>>2]=4;c[b+8>>2]=1;return 1}else Sn(a,3811);return 0}function ms(a){a=a|0;var b=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+64|0;f=n;b=f;e=b+56|0;do{c[b>>2]=-1;b=b+4|0}while((b|0)<(e|0));m=a+76|0;g=c[m>>2]|0;e=c[a+72>>2]|0;b=g-e>>4;b=b|0?e+(b+-1<<4)|0:0;b=(b|0)==0?944:b;e=c[b>>2]|0;if(!(e&8)){j=0;i=0}else{i=c[b+8>>2]|0;j=i}c[f>>2]=c[4924+(e<<2)>>2];c[f+4>>2]=c[b>>2];k=a+68|0;if(g>>>0>=(c[k>>2]|0)>>>0)Sn(a,4255);b=xo(a,40)|0;e=c[a+44>>2]|0;c[b>>2]=134234241;e=e+24|0;g=c[e>>2]|0;if(g|0)c[g+12>>2]=b;c[b+12>>2]=0;c[b+8>>2]=g;c[e>>2]=b;e=c[m>>2]|0;c[e>>2]=9;c[e+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[m>>2]|0;e=b+16|0;c[m>>2]=e;a:do if(!j){b=279030;g=279035}else{if(e>>>0>=(c[k>>2]|0)>>>0)Sn(a,3974);c[m>>2]=b+32;c[e>>2]=5;c[b+24>>2]=i;Gu(a,279025);c[f+8>>2]=c[j+4>>2];b=f+52|0;c[b>>2]=0;e=c[j>>2]|0;switch(e&3){case 0:{c[f+12>>2]=(c[j+20>>2]|0)+29;b=279030;g=279035;break a}case 1:{do if(!(e&4194304)){if(e&2048|0){c[f+12>>2]=64;break}if(e&4096|0){c[f+12>>2]=48;break}if((e&-134217728|0)==-1879048192){c[f+12>>2]=432;c[f+48>>2]=d[j+49>>0];break}else{c[f+12>>2]=e&8192|0?60:40;break}}else c[f+12>>2]=48;while(0);c[f+16>>2]=(c[j>>2]|0)>>>27;e=c[j+24>>2]|0;g=c[j+32>>2]|0;i=c[j+36>>2]|0;c[f+20>>2]=(e*21|0)+(0-e&7)+(g<<4)+(i<<2);c[f+24>>2]=e;c[f+28>>2]=c[j+28>>2];c[f+32>>2]=g;c[f+36>>2]=i;if(!(c[j>>2]&2048)){b=279030;g=279035;break a}b=c[j+40>>2]|0;if(!b)b=0;else b=c[b+16>>2]|0;c[f+40>>2]=b;b=279030;g=279035;break a}case 2:{if(!(e&128)){b=(c[j+16>>2]|0)+24|0;e=3}else{c[b>>2]=(e>>>8&1)+1;c[f+12>>2]=24;b=c[j+16>>2]|0;e=11}c[f+(e<<2)>>2]=b;b=279030;g=279035;break a}default:{b=279030;g=279035;break a}}}while(0);while(1){e=c[f>>2]|0;f=f+4|0;if((e|0)>-1){Eu(a,b);b=c[m>>2]|0;if(b>>>0>=(c[k>>2]|0)>>>0){b=31;break}c[m>>2]=b+16;c[b>>2]=0;h[b+8>>3]=+(e>>>0);$p(a,-3)}b=JO(g)|0;if(!b){b=34;break}else{j=g;g=g+(b+1)|0;b=j}}if((b|0)==31)Sn(a,3902);else if((b|0)==34){l=n;return 1}return 0}function ns(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;h=a+88|0;d=c[h>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){d=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)d=b[e+46>>1]|0;else d=0}else d=0;while(0);Bq(a,939540608,d)|0;f=a+76|0;g=a+72|0;e=c[g>>2]|0;e=(c[f>>2]|0)!=(e|0)?e:0;do if((c[((e|0)==0?944:e)>>2]|0)!=2){Ho(a,0)|0;d=c[f>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);e=c[g>>2]|0;if((d|0)==(e|0))$n(a,342,0);c[f>>2]=d+16;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];if(c[d>>2]&8|0){e=(c[d+8>>2]|0)+4|0;c[e>>2]=(c[e>>2]|0)+1}e=c[g>>2]|0;d=(c[f>>2]|0)-e>>4;d=d>>>0>1?e+(d+-2<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(a,1834,-2,268820);d=c[d+8>>2]|0;if(!d)In(a,1834,-2,268820);else{ho(a,d,c[(c[a+428>>2]|0)+208>>2]|0,5);break}}while(0);h=c[h>>2]|0;if(h|0?c[h+32>>2]&4|0:0)return 1;h=c[g>>2]|0;d=(c[f>>2]|0)-h>>4;d=d|0?h+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)return 1;g=c[d+8>>2]|0;if(!g)return 1;f=c[a+208>>2]|0;if(!f)return 1;else{d=1e4;e=g}while(1){if((e|0)==(f|0)){d=25;break}if(!d){d=28;break}e=c[e+20>>2]|0;if(!e){d=28;break}else d=d+-1|0}if((d|0)==25){if(c[g>>2]&128|0)Dp(a,a,0,0,1,g);Ep(a,105);return 1}else if((d|0)==28)return 1;return 0}function os(a){a=a|0;return nv(a,0)|0}function ps(a){a=a|0;mv(a,87);return 0}function qs(a){a=a|0;return nv(a,1)|0}function rs(a){a=a|0;mv(a,84);return 0}function ss(a){a=a|0;return nv(a,-1)|0}function ts(a){a=a|0;mv(a,82);return 0}function us(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;n=o;m=a+76|0;d=c[m>>2]|0;k=a+68|0;if(d>>>0>=(c[k>>2]|0)>>>0)Sn(a,3997);c[m>>2]=d+16;j=a+72|0;if(c[a+96>>2]|0?(b=c[j>>2]|0,e=b+-16|0,g=c[e>>2]|0,c[d>>2]=c[e>>2],c[d+4>>2]=c[e+4>>2],c[d+8>>2]=c[e+8>>2],c[d+12>>2]=c[e+12>>2],g&8|0):0){g=(c[b+-8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}d=c[m>>2]|0;g=c[j>>2]|0;e=g;b=d-e>>4;b=b|0?g+(b+-1<<4)|0:0;b=(b|0)==0?944:b;a:do switch(c[b>>2]|0){case 9:{if(!(c[b+8>>2]|0))In(a,2094,-1,268820);else{i=j;h=d;f=e;break a}break}case 6:case 10:{vo(a,-1);i=j;h=c[m>>2]|0;f=c[j>>2]|0;break}default:In(a,2094,-1,268820)}while(0);f=h-f|0;e=f>>4;g=e+-1|0;b=h;if(!e)$n(a,267,-1);h=a+428|0;d=c[(c[h>>2]|0)+344>>2]|0;if(b>>>0>=(c[k>>2]|0)>>>0)Sn(a,3761);c[m>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[j>>2]|0;e=(c[m>>2]|0)-d>>4;b=((f|0)<16?e:0)+g|0;if(b>>>0>=e>>>0)$n(a,342,g);ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[j>>2]|0;e=(c[m>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);f=d+(b<<4)|0;e=d+(e+-1<<4)|0;g=c[f>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(f|0,f+16|0,e-f|0)|0;c[e>>2]=2;e=(c[m>>2]|0)+-16|0;c[m>>2]=e;d=e;if((g&8|0)!=0?(f=b+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0){go(c[a+44>>2]|0,b);e=c[m>>2]|0;d=e}b=c[j>>2]|0;g=d-b>>4;g=g|0?b+(g+-1<<4)|0:0;do if((c[((g|0)==0?944:g)>>2]|0)==2){if((e|0)==(b|0))Jn(a,268491,50336874,268507);b=e+-16|0;c[m>>2]=b;g=c[e+-16>>2]|0;d=c[e+-8>>2]|0;c[b>>2]=2;if((g&8|0)!=0?(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2]|0,b);d=c[m>>2]|0}b=c[(c[h>>2]|0)+60>>2]|0;if(d>>>0<(c[k>>2]|0)>>>0){c[m>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;i=b+4|0;c[i>>2]=(c[i>>2]|0)+1;break}else Sn(a,3761)}else Ho(a,-1)|0;while(0);if(!(zp(a,-2)|0)){l=o;return 1}i=(zp(a,-1)|0)==0;b=c[m>>2]|0;if(i){if((b|0)==(c[j>>2]|0))Jn(a,268491,50336874,268507);k=b+-16|0;c[m>>2]=k;n=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[k>>2]=2;if(!(n&8)){l=o;return 1}m=b+4|0;n=(c[m>>2]|0)+-1|0;c[m>>2]=n;if(n|0){l=o;return 1}go(c[a+44>>2]|0,b);l=o;return 1}else{if(b>>>0>=(c[k>>2]|0)>>>0)Sn(a,3931);d=Fo(a,278851,2)|0;b=c[m>>2]|0;c[m>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[j>>2]|0;b=(c[m>>2]|0)-d>>4;if(b>>>0<=1)$n(a,342,-2);e=d+(b+-2<<4)|0;b=d+(b+-1<<4)|0;d=b-e|0;if(d|0){c[n>>2]=c[b>>2];c[n+4>>2]=c[b+4>>2];c[n+8>>2]=c[b+8>>2];c[n+12>>2]=c[b+12>>2];DQ(e+16|0,e|0,d|0)|0;c[e>>2]=c[n>>2];c[e+4>>2]=c[n+4>>2];c[e+8>>2]=c[n+8>>2];c[e+12>>2]=c[n+12>>2]}Io(a,3,0);l=o;return 1}return 0}function vs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+1168|0;i=m;k=a+76|0;j=a+72|0;f=(c[k>>2]|0)-(c[j>>2]|0)|0;h=f>>4;if((f|0)>0){b=0;do{Ho(a,b)|0;b=b+1|0}while((b|0)<(h|0))}a:do switch(h|0){case 0:{b=a+428|0;d=c[(c[b>>2]|0)+60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2]=8;c[d+8>>2]=b;h=b+4|0;c[h>>2]=(c[h>>2]|0)+1;h=c[j>>2]|0;e=(c[k>>2]|0)-h|0;b=e>>4;b=b>>>0>1?h+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=8)In(a,1812,-2,287470);b=c[b+8>>2]|0;if(!b)In(a,1812,-2,287470);d=c[b+20>>2]|0;EQ(i|0,0,1160)|0;c[i>>2]=4096;EQ(i+16|0,0,832)|0;c[i+792>>2]=b+28;c[i+796>>2]=d;c[i+848>>2]=4096;b=a+120|0;d=c[b>>2]|0;c[b>>2]=i+8;if((e|0)<16)Tn(a,268476,219);i=Vn(a,18,i,1,1)|0;c[b>>2]=d;if(i|0)Ip(a);if((c[k>>2]|0)>>>0>=(c[g>>2]|0)>>>0)Sn(a,3931);b=Fo(a,278835,9)|0;i=c[k>>2]|0;c[k>>2]=i+16;c[i>>2]=8;c[i+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;j=c[j>>2]|0;b=(c[k>>2]|0)-j>>4;b=b>>>0>1?j+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);else{ho(a,b,c[(c[f>>2]|0)+344>>2]|0,4);j=c[a+136>>2]|0;hp(a,c[(c[k>>2]|0)+-8>>2]|0,j,j,1);l=m;return 1}return 0}function ws(a){a=a|0;return 0}function xs(a){a=a|0;var d=0,e=0,f=0,g=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;y=l;l=l+16|0;j=y;d=c[a+88>>2]|0;a:do if(d){e=c[d+16>>2]|0;if(!e)o=(c[d+4>>2]|0)>>>8<<24>>24;else{if(!(c[e>>2]&4096)){p=8;break}o=b[e+46>>1]|0}switch(o|0){case 0:{p=8;break a}case 1:{j=a+76|0;k=1;m=j;i=a+72|0;p=18;break a}default:{}}i=a+76|0;j=c[i>>2]|0;k=a+72|0;m=c[k>>2]|0;n=m;d=(j|0)!=(n|0)?m:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 9:{p=23;break}case 6:break;default:In(a,2094,0,268820)}if((p|0)==23){d=c[d+8>>2]|0;if(!d)In(a,2094,0,268820);if(!(c[d>>2]&256))In(a,1973,0,278806)}d=j-n|0;if((d|0)<32)Tn(a,278781,199);if((d|0)==32){t=1;u=o;v=i;w=k;x=i;q=m;r=j;s=n}else{g=d|0?m:0;d=d>>>0>32?m+32|0:0;if((g|0)==0|(d|0)==0)Jn(a,278781,16777419,278471);e=c[g>>2]|0;f=c[d>>2]|0;if(!(f|e)){if(+h[g+8>>3]==+h[d+8>>3]){t=1;u=o;v=i;w=k;x=i;q=m;r=j;s=n;break}Jn(a,278781,16777419,278471)}if((e|0)!=(f|0))Jn(a,278781,16777419,278471);switch(e|0){case 3:case 2:{t=1;u=o;v=i;w=k;x=i;q=m;r=j;s=n;break a}case 4:{if((c[g+8>>2]|0)==(c[d+8>>2]|0)){t=1;u=o;v=i;w=k;x=i;q=m;r=j;s=n;break a}Jn(a,278781,16777419,278471);break}case 5:{if((c[g+8>>2]|0)==(c[d+8>>2]|0)){t=1;u=o;v=i;w=k;x=i;q=m;r=j;s=n;break a}Jn(a,278781,16777419,278471);break}case 9:case 8:{if((c[g+8>>2]|0)==(c[d+8>>2]|0)){t=1;u=o;v=i;w=k;x=i;q=m;r=j;s=n;break a}Jn(a,278781,16777419,278471);break}case 10:{if((c[g+8>>2]|0)==(c[d+8>>2]|0)){t=1;u=o;v=i;w=k;x=i;q=m;r=j;s=n;break a}Jn(a,278781,16777419,278471);break}case 6:{if((c[g+8>>2]|0)!=(c[d+8>>2]|0))Jn(a,278781,16777419,278471);if((c[g+4>>2]|0)==(c[d+4>>2]|0)){t=1;u=o;v=i;w=k;x=i;q=m;r=j;s=n;break a}Jn(a,278781,16777419,278471);break}default:{}}}}else p=8;while(0);if((p|0)==8){g=a+76|0;d=c[g>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[g>>2]=d+16;i=a+72|0;if(c[a+96>>2]|0?(f=c[i>>2]|0,o=f+-16|0,p=c[o>>2]|0,c[d>>2]=c[o>>2],c[d+4>>2]=c[o+4>>2],c[d+8>>2]=c[o+8>>2],c[d+12>>2]=c[o+12>>2],p&8|0):0){p=(c[f+-8>>2]|0)+4|0;c[p>>2]=(c[p>>2]|0)+1}e=c[i>>2]|0;d=(c[g>>2]|0)-e>>4;if(!d)$n(a,342,0);d=d+-1|0;if(d|0){p=e+(d<<4)|0;c[j>>2]=c[p>>2];c[j+4>>2]=c[p+4>>2];c[j+8>>2]=c[p+8>>2];c[j+12>>2]=c[p+12>>2];DQ(e+16|0,e|0,d<<4|0)|0;c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2]}k=0;m=g;j=g;p=18}b:do if((p|0)==18){e=c[j>>2]|0;f=c[i>>2]|0;g=f;d=(e|0)!=(g|0)?f:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 6:{t=2;u=k;v=j;w=i;x=m;q=f;r=e;s=g;break b}case 9:break;default:In(a,1964,0,287066)}d=c[d+8>>2]|0;if(!d)In(a,1964,0,287066);if(!(c[d>>2]&6656))In(a,1964,0,287066);else{t=2;u=k;v=j;w=i;x=m;q=f;r=e;s=g}}while(0);d=t>>>0>4>>>0?q+(t<<4)|0:0;d=c[((d|0)==0?944:d)>>2]|0;if((d&-2|0)!=2){if((d|0)!=9)Tn(a,278781,267);e=r;if(t>>>0>=r-s>>4>>>0)$n(a,267,t);d=c[(c[a+428>>2]|0)+320>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[x>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[w>>2]|0;e=(c[v>>2]|0)-d>>4;if(t>>>0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e|0)>>>4);l=y;return 1}function ys(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0.0,j=0,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;w=a+76|0;f=c[w>>2]|0;x=a+72|0;g=c[x>>2]|0;e=f-g>>4;t=a+68|0;b=c[t>>2]|0;do if(!e)if(f>>>0>>0){d=f+16|0;c[w>>2]=d;j=1;break}else Sn(a,3772);else{j=e;d=f}while(0);if(d>>>0>=b>>>0)Sn(a,3997);c[w>>2]=d+16;if(c[a+96>>2]|0?(u=g+-16|0,v=c[u>>2]|0,c[d>>2]=c[u>>2],c[d+4>>2]=c[u+4>>2],c[d+8>>2]=c[u+8>>2],c[d+12>>2]=c[u+12>>2],v&8|0):0){v=(c[g+-8>>2]|0)+4|0;c[v>>2]=(c[v>>2]|0)+1}v=c[x>>2]|0;b=(c[w>>2]|0)-v>>4;b=b|0?v+(b+-1<<4)|0:0;b=(b|0)==0?944:b;switch(c[b>>2]|0){case 6:break;case 9:{r=11;break}default:In(a,1964,-1,287066)}if((r|0)==11){b=c[b+8>>2]|0;if(!b)In(a,1964,-1,287066);if(!(c[b>>2]&6656))In(a,1964,-1,287066)}v=Bq(a,402670464,5)|0;b=c[w>>2]|0;if(b>>>0>=(c[t>>2]|0)>>>0)Sn(a,935);d=c[x>>2]|0;e=b-d>>4;if(e>>>0<=1)$n(a,342,-2);u=d+(e+-2<<4)|0;c[w>>2]=b+16;c[b>>2]=c[u>>2];c[b+4>>2]=c[u+4>>2];c[b+8>>2]=c[u+8>>2];c[b+12>>2]=c[u+12>>2];if(c[b>>2]&8|0){u=(c[b+8>>2]|0)+4|0;c[u>>2]=(c[u>>2]|0)+1}u=c[x>>2]|0;b=(c[w>>2]|0)-u>>4;b=b>>>0>1?u+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);u=a+428|0;ho(a,b,c[(c[u>>2]|0)+404>>2]|0,0);b=c[w>>2]|0;if(b>>>0>=(c[t>>2]|0)>>>0)Sn(a,935);d=c[x>>2]|0;if((b|0)==(d|0))$n(a,342,0);c[w>>2]=b+16;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];if(c[b>>2]&8|0){s=(c[b+8>>2]|0)+4|0;c[s>>2]=(c[s>>2]|0)+1}s=c[x>>2]|0;b=(c[w>>2]|0)-s>>4;b=b>>>0>1?s+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[u>>2]|0)+384>>2]|0,0);e=xo(a,48)|0;s=a+44|0;f=c[s>>2]|0;c[e>>2]=272679041;b=f+24|0;d=c[b>>2]|0;if(d|0)c[d+12>>2]=e;c[e+12>>2]=0;c[e+8>>2]=d;c[b>>2]=e;b=c[a+160>>2]|0;o=e+20|0;d=c[o>>2]|0;c[o>>2]=b;if(b|0){o=b+4|0;c[o>>2]=(c[o>>2]|0)+1}if(d|0?(g=d+4|0,o=(c[g>>2]|0)+-1|0,c[g>>2]=o,(o|0)==0):0)fp(f,d);b=c[w>>2]|0;c[b>>2]=9;c[b+8>>2]=e;b=e+4|0;c[b>>2]=(c[b>>2]|0)+1;b=(c[w>>2]|0)+16|0;c[w>>2]=b;o=j+-1|0;d=b;do if((j|0)>1){if(b>>>0<(c[t>>2]|0)>>>0){k=0;l=b;m=1}else Sn(a,935);while(1){b=c[x>>2]|0;if(m>>>0>=l-b>>4>>>0){r=43;break}r=b+(m<<4)|0;c[w>>2]=l+16;c[l>>2]=c[r>>2];c[l+4>>2]=c[r+4>>2];c[l+8>>2]=c[r+8>>2];c[l+12>>2]=c[r+12>>2];if(c[l>>2]&8|0){r=(c[l+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}Tp(a,-2,k);if((m|0)>=(o|0)){r=48;break}l=c[w>>2]|0;if(l>>>0>=(c[t>>2]|0)>>>0){r=41;break}else{k=m;m=m+1|0}}if((r|0)==41)Sn(a,935);else if((r|0)==43)$n(a,342,m);else if((r|0)==48){n=c[w>>2]|0;break}}else n=d;while(0);m=c[x>>2]|0;b=n-m>>4;b=b>>>0>1?m+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[u>>2]|0)+388>>2]|0,0);d=c[w>>2]|0;n=c[x>>2]|0;e=n;b=d-e>>4;b=b>>>0>1?n+(b+-2<<4)|0:0;b=(b|0)==0?944:b;do if((c[b>>2]|0)==9){f=c[b+8>>2]|0;if(!f){f=0;k=1;r=61;break}b=c[f+20>>2]|0;n=v+20|0;d=c[n>>2]|0;c[n>>2]=b;if(b|0){n=b+4|0;c[n>>2]=(c[n>>2]|0)+1}do if(d|0){m=d+4|0;n=(c[m>>2]|0)+-1|0;c[m>>2]=n;if(n|0)break;fp(c[s>>2]|0,d)}while(0);if((c[f>>2]&-134217728|0)==402653184){d=c[w>>2]|0;e=c[x>>2]|0;k=0;r=61;break}b=c[w>>2]|0;if(b>>>0<(c[t>>2]|0)>>>0){p=0.0;q=b;y=f;z=0;break}Sn(a,3868)}else{f=0;k=1;r=61}while(0);do if((r|0)==61){g=d-e|0;n=g>>4;j=n+-2|0;if(n>>>0<=1)$n(a,267,-2);b=c[(c[u>>2]|0)+320>>2]|0;if(d>>>0>=(c[t>>2]|0)>>>0)Sn(a,3761);c[w>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[x>>2]|0;e=(c[w>>2]|0)-d>>4;b=((g|0)<32?e:0)+j|0;if(b>>>0>=e>>>0)$n(a,342,j);ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[x>>2]|0;e=(c[w>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);l=d+(b<<4)|0;m=d+(e+-1<<4)|0;n=c[l>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(l|0,l+16|0,m-l|0)|0;c[m>>2]=2;c[w>>2]=(c[w>>2]|0)+-16;do if(n&8|0){m=b+4|0;n=(c[m>>2]|0)+-1|0;c[m>>2]=n;if(n|0)break;go(c[s>>2]|0,b)}while(0);aq(a,-1);g=c[w>>2]|0;d=c[x>>2]|0;b=g-d>>4;b=b|0?d+(b+-1<<4)|0:0;b=(b|0)==0?944:b;do if(!(c[b>>2]|0)){i=+h[b+8>>3];if(!(XO(i)|0)){b=0;break}if(i<-2147483648.0){b=-2147483648;break}if(i>2147483647.0){b=2147483647;break}b=~~i}else b=0;while(0);e=b-o|0;if((g|0)==(d|0))Jn(a,268491,50336874,268507);b=g+-16|0;c[w>>2]=b;o=c[g+-16>>2]|0;d=c[g+-8>>2]|0;c[b>>2]=2;do if(o&8){n=d+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0)break;go(c[s>>2]|0,d);b=c[w>>2]|0}while(0);if(b>>>0<(c[t>>2]|0)>>>0){p=+(((e|0)>0?e:0)|0);q=b;y=f;z=k;break}else Sn(a,3868)}while(0);b=q+16|0;c[w>>2]=b;c[q>>2]=0;h[q+8>>3]=p;q=c[x>>2]|0;b=b-q>>4;b=b>>>0>1?q+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[u>>2]|0)+320>>2]|0,4);b=c[w>>2]|0;e=b-(c[x>>2]|0)>>4;if(!e)$n(a,267,-1);d=c[(c[u>>2]|0)+276>>2]|0;if(b>>>0>=(c[t>>2]|0)>>>0)Sn(a,3761);c[w>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;f=d+4|0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b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[w>>2]|0;f=b-(c[x>>2]|0)|0;q=f>>4;g=q+-3|0;if(q>>>0<=2)$n(a,267,-3);d=c[(c[u>>2]|0)+344>>2]|0;if(b>>>0>=(c[t>>2]|0)>>>0)Sn(a,3761);c[w>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[x>>2]|0;e=(c[w>>2]|0)-d>>4;b=((f|0)<48?e:0)+g|0;if(b>>>0>=e>>>0)$n(a,342,g);ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[x>>2]|0;e=(c[w>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);o=d+(b<<4)|0;e=d+(e+-1<<4)|0;q=c[o>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(o|0,o+16|0,e-o|0)|0;c[e>>2]=2;e=(c[w>>2]|0)+-16|0;c[w>>2]=e;d=e;do if(q&8){o=b+4|0;q=(c[o>>2]|0)+-1|0;c[o>>2]=q;if(q|0)break;go(c[s>>2]|0,b);e=c[w>>2]|0;d=e}while(0);f=c[x>>2]|0;b=d-f>>4;b=b|0?f+(b+-1<<4)|0:0;b=(b|0)==0?944:b;do if((c[b>>2]|0)==8){b=c[b+8>>2]|0;if(!b){r=130;break}if(c[b>>2]&512|0)r=130}else r=130;while(0);do if((r|0)==130){if((e|0)==(f|0))Jn(a,268491,50336874,268507);d=e+-16|0;c[w>>2]=d;r=c[e+-16>>2]|0;b=c[e+-8>>2]|0;c[d>>2]=2;do if(r&8){q=b+4|0;r=(c[q>>2]|0)+-1|0;c[q>>2]=r;if(r|0)break;go(c[s>>2]|0,b);d=c[w>>2]|0}while(0);b=c[(c[u>>2]|0)+60>>2]|0;if(d>>>0<(c[t>>2]|0)>>>0){c[w>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;r=b+4|0;c[r>>2]=(c[r>>2]|0)+1;break}else Sn(a,3761)}while(0);Io(a,2,0);r=c[x>>2]|0;b=(c[w>>2]|0)-r>>4;b=b>>>0>1?r+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[u>>2]|0)+344>>2]|0,4);b=c[w>>2]|0;f=b-(c[x>>2]|0)|0;r=f>>4;g=r+-2|0;if(r>>>0<=1)$n(a,267,-2);d=c[(c[u>>2]|0)+348>>2]|0;if(b>>>0>=(c[t>>2]|0)>>>0)Sn(a,3761);c[w>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[x>>2]|0;e=(c[w>>2]|0)-d>>4;b=((f|0)<32?e:0)+g|0;if(b>>>0>=e>>>0)$n(a,342,g);ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[x>>2]|0;e=(c[w>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);q=d+(b<<4)|0;r=d+(e+-1<<4)|0;t=c[q>>2]|0;d=c[d+(b<<4)+8>>2]|0;DQ(q|0,q+16|0,r-q|0)|0;c[r>>2]=2;b=(c[w>>2]|0)+-16|0;c[w>>2]=b;do if(t&8){r=d+4|0;t=(c[r>>2]|0)+-1|0;c[r>>2]=t;if(t|0)break;go(c[s>>2]|0,d);b=c[w>>2]|0}while(0);x=c[x>>2]|0;b=b-x>>4;b=b>>>0>1?x+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[u>>2]|0)+348>>2]|0,4);do if(!z){if(c[y>>2]&65536|0)break;return 1}while(0);c[v>>2]=c[v>>2]|65536;return 1}function zs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;h=m;i=a+76|0;g=c[i>>2]|0;j=a+72|0;b=c[j>>2]|0;f=g-b>>4;d=c[a+68>>2]|0;do if(!f)if(g>>>0>>0){e=g+16|0;c[i>>2]=e;k=1;break}else Sn(a,3772);else{k=f;e=g}while(0);if(e>>>0>=d>>>0)Sn(a,3997);c[i>>2]=e+16;if(c[a+96>>2]|0?(f=b+-16|0,g=c[f>>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[e+12>>2]=c[f+12>>2],g&8|0):0){g=(c[b+-8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}d=c[i>>2]|0;f=c[j>>2]|0;b=f;e=d-b>>4;if(!e)$n(a,342,0);e=e+-1|0;if(e){d=f+(e<<4)|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];DQ(f+16|0,f|0,e<<4|0)|0;c[f>>2]=c[h>>2];c[f+4>>2]=c[h+4>>2];c[f+8>>2]=c[h+8>>2];c[f+12>>2]=c[h+12>>2];d=c[i>>2]|0;b=c[j>>2]|0}e=k+-1|0;d=d-b|0;if((k|0)<1|((d>>4)-e|0)<2)Tn(a,268476,76);b=(e<<4)+32|0;if(d>>>0>>0)Tn(a,268521,942);else{so(a,e,0,(d-b|0)>>>4);l=m;return 1}return 0}function As(b){b=b|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;w=l;l=l+96|0;t=w+88|0;p=w+24|0;n=w+16|0;m=w+8|0;k=w;v=b+76|0;e=c[v>>2]|0;u=b+68|0;if(e>>>0>=(c[u>>2]|0)>>>0)Sn(b,3997);c[v>>2]=e+16;if(c[b+96>>2]|0?(d=c[b+72>>2]|0,j=d+-16|0,o=c[j>>2]|0,c[e>>2]=c[j>>2],c[e+4>>2]=c[j+4>>2],c[e+8>>2]=c[j+8>>2],c[e+12>>2]=c[j+12>>2],o&8|0):0){o=(c[d+-8>>2]|0)+4|0;c[o>>2]=(c[o>>2]|0)+1}e=c[v>>2]|0;switch(c[e+-16>>2]|0){case 9:{j=c[e+-8>>2]|0;i=b+72|0;g=e-(c[i>>2]|0)|0;t=g>>4;h=t+-1|0;if(!t)$n(b,267,-1);d=c[(c[b+428>>2]|0)+344>>2]|0;if(e>>>0>=(c[u>>2]|0)>>>0)Sn(b,3761);c[v>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[i>>2]|0;f=(c[v>>2]|0)-e>>4;d=((g|0)<16?f:0)+h|0;if(d>>>0>=f>>>0)$n(b,342,h);ro(b,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[i>>2]|0;f=(c[v>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(b,342,-2);s=e+(d<<4)|0;t=e+(f+-1<<4)|0;u=c[s>>2]|0;e=c[e+(d<<4)+8>>2]|0;DQ(s|0,s+16|0,t-s|0)|0;c[t>>2]=2;d=(c[v>>2]|0)+-16|0;c[v>>2]=d;if((u&8|0)!=0?(t=e+4|0,u=(c[t>>2]|0)+-1|0,c[t>>2]=u,(u|0)==0):0){go(c[b+44>>2]|0,e);d=c[v>>2]|0}u=c[i>>2]|0;v=d-u>>4;v=v|0?u+(v+-1<<4)|0:0;if((c[((v|0)==0?944:v)>>2]|0)==2)e=334803;else e=Ho(b,-1)|0;d=c[j>>2]|0;if(d&2048|0){c[k>>2]=e;Go(b,278682,k);l=w;return 1}if(d&4096|0){c[m>>2]=e;Go(b,278718,m);l=w;return 1}if(!(d&512))Tn(b,278781,163);c[n>>2]=e;Go(b,278750,n);l=w;return 1}case 6:{o=c[e+-12>>2]|0;if(e>>>0>=(c[u>>2]|0)>>>0)Sn(b,3931);k=c[e+-8>>2]|0;d=Fo(b,269025,9)|0;e=c[v>>2]|0;c[v>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;Go(b,269035,p);d=a[268698+(k>>>28)>>0]|0;a[p>>0]=d;e=a[268698+(k>>>24&15)>>0]|0;a[p+1>>0]=e;f=a[268698+(k>>>20&15)>>0]|0;a[p+2>>0]=f;g=a[268698+(k>>>16&15)>>0]|0;a[p+3>>0]=g;h=a[268698+(k>>>12&15)>>0]|0;a[p+4>>0]=h;i=a[268698+(k>>>8&15)>>0]|0;a[p+5>>0]=i;j=a[268698+(k>>>4&15)>>0]|0;a[p+6>>0]=j;k=a[268698+(k&15)>>0]|0;a[p+7>>0]=k;m=c[v>>2]|0;if(m>>>0>=(c[u>>2]|0)>>>0)Sn(b,3931);n=c[b+44>>2]|0;e=((((((((((((((((c[n+140>>2]^8)*33|0)+(k&255)|0)*33|0)+(j&255)|0)*33|0)+(i&255)|0)*33|0)+(h&255)|0)*33|0)+(g&255)|0)*33|0)+(f&255)|0)*33|0)+(e&255)|0)*33|0)+(d&255)|0;d=c[(c[n+168>>2]|0)+((e&c[n+172>>2])<<2)>>2]|0;a:do if(!d)q=35;else while(1){if(((c[d+12>>2]|0)==(e|0)?(c[d+20>>2]|0)==8:0)?(xN(p,d+28|0,8)|0)==0:0){r=d;s=m;break a}d=c[d+8>>2]|0;if(!d){q=35;break}}while(0);do if((q|0)==35){d=no(n,p,8,e)|0;if(!d)Mn(b,269042,789);else{r=d;s=c[v>>2]|0;break}}while(0);c[v>>2]=s+16;c[s>>2]=8;c[s+8>>2]=r;s=r+4|0;c[s>>2]=(c[s>>2]|0)+1;c[t>>2]=o;Go(b,269065,t);Io(b,3,0);if((c[v>>2]|0)>>>0>=(c[u>>2]|0)>>>0)Sn(b,3931);u=Fo(b,269071,23)|0;t=c[v>>2]|0;c[v>>2]=t+16;c[t>>2]=8;c[t+8>>2]=u;v=u+4|0;c[v>>2]=(c[v>>2]|0)+1;Io(b,3,0);l=w;return 1}default:Tn(b,278781,163)}return 0}function Bs(a){a=a|0;iv(a,18,278666);return 1}function Cs(a){a=a|0;iv(a,18,332697);return 1}function Ds(a){a=a|0;iv(a,19,278650);return 1}function Es(a){a=a|0;iv(a,19,278634);return 1}function Fs(a){a=a|0;iv(a,20,0);return 1}function Gs(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0,i=0;f=a+76|0;d=a+72|0;b=c[d>>2]|0;if((c[f>>2]|0)==(b|0))$n(a,267,0);e=+jo(a,b);i=c[d>>2]|0;d=c[i>>2]|0;g=i+8|0;b=c[g>>2]|0;c[i>>2]=0;h[g>>3]=e;if(d&8|0?(g=b+4|0,i=(c[g>>2]|0)+-1|0,c[g>>2]=i,(i|0)==0):0)go(c[a+44>>2]|0,b);b=c[f>>2]|0;if(b>>>0<(c[a+68>>2]|0)>>>0){h[j>>3]=e;i=c[j+4>>2]&2146435072;c[f>>2]=b+16;c[b>>2]=4;c[b+8>>2]=(i>>>0<2146435072|(i|0)==2146435072&0<0)&1;return 1}else Sn(a,3799);return 0}function Hs(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0,i=0;f=a+76|0;d=a+72|0;b=c[d>>2]|0;if((c[f>>2]|0)==(b|0))$n(a,267,0);e=+jo(a,b);i=c[d>>2]|0;d=c[i>>2]|0;g=i+8|0;b=c[g>>2]|0;c[i>>2]=0;h[g>>3]=e;if(d&8|0?(g=b+4|0,i=(c[g>>2]|0)+-1|0,c[g>>2]=i,(i|0)==0):0)go(c[a+44>>2]|0,b);b=c[f>>2]|0;if(b>>>0<(c[a+68>>2]|0)>>>0){h[j>>3]=e;i=c[j+4>>2]&2147483647;i=(i>>>0>2146435072|(i|0)==2146435072&(c[j>>2]|0)>>>0>0)&1;c[f>>2]=b+16;c[b>>2]=4;c[b+8>>2]=i;return 1}else Sn(a,3799);return 0}function Is(a){a=a|0;Ho(a,0)|0;oo(a,10,1535);return 1}function Js(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;Ho(a,0)|0;b=Fq(a,1)|0;do if(!b){g=3101;b=10}else{if((b+-2|0)>>>0<=34){g=(b|0)==16?3101:1053;break}b=a+76|0;d=c[b>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3916);c[b>>2]=d+16;c[d>>2]=0;h[d+8>>3]=s;return 1}while(0);e=a+76|0;f=c[e>>2]|0;if(f>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);d=c[a+72>>2]|0;if((f|0)==(d|0))$n(a,342,0);c[e>>2]=f+16;c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];if(c[f>>2]&8|0){f=(c[f+8>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+1}oo(a,b,g);return 1}function Ks(a){a=a|0;iv(a,21,0);return 1}function Ls(a){a=a|0;hr(a,0,1,0);return 1}function Ms(a){a=a|0;Zq(a,0,1,2,0);return 1}function Ns(a){a=a|0;var b=0.0,d=0,e=0,f=0.0,g=0,i=0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,u=0,v=0;u=a+76|0;g=c[u>>2]|0;p=a+72|0;i=c[p>>2]|0;m=g-i|0;q=m>>4;e=g;do if((m|0)>0){m=a+44|0;if((g|0)==(i|0)){i=0;$n(a,267,i)}else{d=0;r=0.0;o=0;l=i}while(1){b=+jo(a,l+(d<<4)|0);i=c[p>>2]|0;g=i+(d<<4)|0;l=c[g>>2]|0;i=i+(d<<4)+8|0;e=c[i>>2]|0;c[g>>2]=0;h[i>>3]=b;if(l&8|0?(i=e+4|0,l=(c[i>>2]|0)+-1|0,c[i>>2]=l,(l|0)==0):0)go(c[m>>2]|0,e);k=+B(+b);l=(XO(k)|0)==0;o=l?1:o;r=r>k|l?r:k;d=d+1|0;if((d|0)>=(q|0))break;l=c[p>>2]|0;if(d>>>0>=(c[u>>2]|0)-l>>4>>>0){n=3;break}}if((n|0)==3)$n(a,267,d);if(r==t){d=c[u>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){r=t;v=d;a=v+16|0;c[u>>2]=a;c[v>>2]=0;v=v+8|0;h[v>>3]=r;return 1}else Sn(a,3835)}if(o|0){d=c[u>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){r=s;v=d;a=v+16|0;c[u>>2]=a;c[v>>2]=0;v=v+8|0;h[v>>3]=r;return 1}else Sn(a,3835)}if(r==0.0){v=c[u>>2]|0;break}d=c[u>>2]|0;i=c[p>>2]|0;l=d-i>>4;f=0.0;k=0.0;g=0;while(1){e=g>>>0>>0?i+(g<<4)|0:0;e=(e|0)==0?944:e;if(!(c[e>>2]|0))b=+h[e+8>>3];else b=s;b=+B(+b)/r;b=b*b-f;j=k+b;g=g+1|0;if((g|0)>=(q|0))break;else{f=j-k-b;k=j}}b=r*+C(+j);if(d>>>0<(c[a+68>>2]|0)>>>0){r=b;v=d;a=v+16|0;c[u>>2]=a;c[v>>2]=0;v=v+8|0;h[v>>3]=r;return 1}else Sn(a,3835)}else v=e;while(0);if(v>>>0<(c[a+68>>2]|0)>>>0){r=0.0;a=v+16|0;c[u>>2]=a;c[v>>2]=0;v=v+8|0;h[v>>3]=r;return 1}else Sn(a,3835);return 0}function Os(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0,i=0,k=0.0,l=0,m=0,n=0,o=0.0,p=0,q=0;p=a+76|0;f=c[p>>2]|0;m=a+72|0;g=c[m>>2]|0;l=f-g|0;n=l>>4;d=f;do if((l|0)>0){l=a+44|0;if((f|0)==(g|0)){g=0;$n(a,267,g)}else{k=-t;b=0;i=g}while(1){e=+jo(a,i+(b<<4)|0);g=c[m>>2]|0;f=g+(b<<4)|0;i=c[f>>2]|0;g=g+(b<<4)+8|0;d=c[g>>2]|0;c[f>>2]=0;h[g>>3]=e;if(i&8|0?(g=d+4|0,i=(c[g>>2]|0)+-1|0,c[g>>2]=i,(i|0)==0):0)go(c[l>>2]|0,d);do if((XO(e)|0)!=0?(XO(k)|0)!=0:0){if(!(k==0.0&e==0.0)){e=k>e?k:e;break}h[j>>3]=k;i=c[j+4>>2]|0;if((i|0)>-1|(i|0)==-1&(c[j>>2]|0)>>>0>4294967295)e=0.0;else{h[j>>3]=e;i=c[j+4>>2]|0;e=(i|0)>-1|(i|0)==-1&(c[j>>2]|0)>>>0>4294967295?0.0:-0.0}}else e=s;while(0);b=b+1|0;if((b|0)>=(n|0)){d=15;break}i=c[m>>2]|0;if(b>>>0>=(c[p>>2]|0)-i>>4>>>0){d=3;break}else k=e}if((d|0)==3)$n(a,267,b);else if((d|0)==15){o=e;q=c[p>>2]|0;break}}else{o=-t;q=d}while(0);if(q>>>0<(c[a+68>>2]|0)>>>0){c[p>>2]=q+16;c[q>>2]=0;h[q+8>>3]=o;return 1}else Sn(a,3835);return 0}function Ps(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0,i=0,k=0.0,l=0,m=0,n=0,o=0.0,p=0,q=0;p=a+76|0;f=c[p>>2]|0;m=a+72|0;g=c[m>>2]|0;l=f-g|0;n=l>>4;d=f;do if((l|0)>0){l=a+44|0;if((f|0)==(g|0)){g=0;$n(a,267,g)}else{k=t;b=0;i=g}while(1){e=+jo(a,i+(b<<4)|0);g=c[m>>2]|0;f=g+(b<<4)|0;i=c[f>>2]|0;g=g+(b<<4)+8|0;d=c[g>>2]|0;c[f>>2]=0;h[g>>3]=e;if(i&8|0?(g=d+4|0,i=(c[g>>2]|0)+-1|0,c[g>>2]=i,(i|0)==0):0)go(c[l>>2]|0,d);do if((XO(e)|0)!=0?(XO(k)|0)!=0:0)if(k==0.0&e==0.0){h[j>>3]=k;i=c[j>>2]|0;g=c[j+4>>2]|0;h[j>>3]=e;g=c[j+4>>2]|g;e=g>>>0>0|((g|0)==0?(c[j>>2]|i)>>>0>4294967295:0)?-0.0:0.0;break}else{e=k=(n|0)){d=14;break}i=c[m>>2]|0;if(b>>>0>=(c[p>>2]|0)-i>>4>>>0){d=3;break}else k=e}if((d|0)==3)$n(a,267,b);else if((d|0)==14){o=e;q=c[p>>2]|0;break}}else{o=t;q=d}while(0);if(q>>>0<(c[a+68>>2]|0)>>>0){c[p>>2]=q+16;c[q>>2]=0;h[q+8>>3]=o;return 1}else Sn(a,3835);return 0}function Qs(a){a=a|0;var d=0,e=0,f=0.0,g=0,i=0,j=0,k=0;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){g=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)g=b[e+46>>1]|0;else g=0}else g=0;while(0);i=a+76|0;e=a+72|0;d=c[e>>2]|0;if((c[i>>2]|0)==(d|0))$n(a,267,0);f=+jo(a,d);k=c[e>>2]|0;e=c[k>>2]|0;j=k+8|0;d=c[j>>2]|0;c[k>>2]=0;h[j>>3]=f;if(e&8|0?(j=d+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0)go(c[a+44>>2]|0,d);f=+cg[c[4992+(g<<2)>>2]&31](f);d=c[i>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){c[i>>2]=d+16;c[d>>2]=0;h[d+8>>3]=f;return 1}else Sn(a,3835);return 0}function Rs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0;f=c[a+44>>2]|0;k=f+144|0;i=k;e=c[i>>2]|0;i=c[i+4>>2]|0;f=f+152|0;d=f;b=c[d>>2]|0;d=c[d+4>>2]|0;m=b^e;l=d^i;o=xQ(e|0,i|0,55)|0;g=z;p=wQ(e|0,i|0,9)|0;g=(z|g)^l;n=xQ(m|0,l|0,14)|0;c[k>>2]=(p|o)^m^n;c[k+4>>2]=g^z;k=xQ(m|0,l|0,36)|0;g=z;l=wQ(m|0,l|0,28)|0;c[f>>2]=l|k;c[f+4>>2]=z|g;f=a+76|0;g=c[f>>2]|0;if(g>>>0<(c[a+68>>2]|0)>>>0){o=lQ(b|0,d|0,e|0,i|0)|0;o=wQ(o|0,z|0,12)|0;p=z|1072693248;c[j>>2]=o;c[j+4>>2]=p;q=+h[j>>3]+-1.0;c[f>>2]=g+16;c[g>>2]=0;h[g+8>>3]=q;return 1}else Sn(a,3835);return 0}function Ss(a){a=a|0;var d=0,e=0,f=0.0,g=0,i=0.0,j=0,k=0,l=0,m=0;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){j=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)j=b[e+46>>1]|0;else j=0}else j=0;while(0);k=a+76|0;g=a+72|0;d=c[g>>2]|0;if((c[k>>2]|0)==(d|0))$n(a,267,0);i=+jo(a,d);d=c[g>>2]|0;l=c[d>>2]|0;m=d+8|0;e=c[m>>2]|0;c[d>>2]=0;h[m>>3]=i;if((l&8|0)!=0?(l=e+4|0,m=(c[l>>2]|0)+-1|0,c[l>>2]=m,(m|0)==0):0){go(c[a+44>>2]|0,e);d=c[g>>2]|0}if((c[k>>2]|0)-d>>4>>>0<=1)$n(a,267,1);f=+jo(a,d+16|0);l=c[g>>2]|0;g=l+16|0;m=c[g>>2]|0;l=l+24|0;d=c[l>>2]|0;c[g>>2]=0;h[l>>3]=f;if(m&8|0?(l=d+4|0,m=(c[l>>2]|0)+-1|0,c[l>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,d);f=+dg[c[4984+(j<<2)>>2]&3](i,f);d=c[k>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){c[k>>2]=d+16;c[d>>2]=0;h[d+8>>3]=f;return 1}else Sn(a,3835);return 0}function Ts(a){a=a|0;var b=0,d=0,e=0,f=0.0;Ho(a,0)|0;d=a+76|0;e=c[d>>2]|0;b=c[a+72>>2]|0;b=(e|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=8)In(a,1812,0,287470);b=c[b+8>>2]|0;if(!b)In(a,1812,0,287470);if(e>>>0<(c[a+68>>2]|0)>>>0){f=+((c[b+20>>2]|0)>>>0);c[d>>2]=e+16;c[e>>2]=0;h[e+8>>3]=f;return 1}else Sn(a,3902);return 0}function Us(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=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;y=l;l=l+16|0;s=y;w=b+76|0;x=b+72|0;d=c[x>>2]|0;d=(c[w>>2]|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(b,1834,0,268820);d=c[d+8>>2]|0;if(!d)In(b,1834,0,268820);if((c[d>>2]&-134217728|0)!=268435456)Tn(b,278145,2205);t=zp(b,0)|0;o=(t|0)==0;a:do if(!o){j=b+44|0;e=0;i=0;b:while(1){Zp(b,0,i)|0;f=c[w>>2]|0;g=c[x>>2]|0;if(f-g>>4>>>0<=2){q=9;break}switch(c[g+32>>2]|0){case 9:{d=c[g+40>>2]|0;if(!(c[d>>2]&8192)){q=13;break b}break}case 10:{vo(b,2);g=c[x>>2]|0;d=c[g+40>>2]|0;f=c[w>>2]|0;break}default:{q=13;break b}}e=(c[d+52>>2]|0)+e|0;if((f|0)==(g|0)){q=15;break}p=f+-16|0;c[w>>2]=p;r=c[f+-16>>2]|0;d=c[f+-8>>2]|0;c[p>>2]=2;if(r&8|0?(p=d+4|0,r=(c[p>>2]|0)+-1|0,c[p>>2]=r,(r|0)==0):0)go(c[j>>2]|0,d);i=i+1|0;if(i>>>0>=t>>>0){k=e;break a}}if((q|0)==9)$n(b,342,2);else if((q|0)==13)Jn(b,278145,100663521,278161);else if((q|0)==15)Jn(b,268491,50336874,268507)}else k=0;while(0);r=c[x>>2]|0;r=(c[w>>2]|0)-r>>4>>>0>1?r+16|0:0;do if(t|0?(c[((r|0)==0?944:r)>>2]|0)!=2:0){aq(b,1);d=c[x>>2]|0;d=(c[w>>2]|0)-d>>4>>>0>1?d+16|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(n=+h[d+8>>3],(XO(n)|0)!=0):0)if(!(n<-2147483648.0))if(n>2147483647.0){m=2147483647;break}else{d=~~n;q=25;break}else Jn(b,278145,50333885,271432);else m=0}else{d=k;q=25}while(0);if((q|0)==25)if((d|0)<0)Jn(b,278145,50333885,271432);else m=d;p=Iq(b,-1342168960,69)|0;if((c[w>>2]|0)>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);if(m>>>0>2147483646)Jn(b,268491,50336467,268447);r=b+44|0;d=Po(c[r>>2]|0,m,0,s)|0;if(!d)Mn(b,268491,4824);q=c[w>>2]|0;c[q>>2]=10;c[q+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=(c[w>>2]|0)+16|0;c[w>>2]=d;do if(!o){j=c[s>>2]|0;k=0;c:while(1){Zp(b,0,k)|0;e=c[x>>2]|0;if((c[w>>2]|0)-e>>4>>>0<=4){q=35;break}switch(c[e+64>>2]|0){case 9:{d=c[e+72>>2]|0;if(!(c[d>>2]&8192)){q=39;break c}break}case 10:{vo(b,4);e=c[x>>2]|0;d=c[e+72>>2]|0;break}default:{q=39;break c}}f=c[d+52>>2]|0;i=f>>>0>m>>>0?m:f;g=c[d+40>>2]|0;if((g|0)!=0?(u=c[d+48>>2]|0,(u+f|0)>>>0<=(c[g+16>>2]|0)>>>0):0){if(!(c[g>>2]&128))d=g+24|0;else d=c[g+20>>2]|0;CQ(j|0,d+u|0,i|0)|0;e=c[x>>2]|0}j=j+i|0;m=m-i|0;d=c[w>>2]|0;if((d|0)==(e|0)){q=47;break}q=d+-16|0;c[w>>2]=q;s=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[q>>2]=2;if(s&8|0?(q=d+4|0,s=(c[q>>2]|0)+-1|0,c[q>>2]=s,(s|0)==0):0)go(c[r>>2]|0,d);k=k+1|0;if(k>>>0>=t>>>0){q=52;break}}if((q|0)==35)$n(b,342,4);else if((q|0)==39)Jn(b,278145,100663521,278161);else if((q|0)==47)Jn(b,268491,50336874,268507);else if((q|0)==52){v=c[w>>2]|0;break}}else v=d;while(0);d=v+-8|0;u=c[d>>2]|0;c[p+40>>2]=u;t=u+4|0;c[t>>2]=(c[t>>2]|0)+1;c[p+52>>2]=c[u+16>>2];a[p+58>>0]=1;if((v|0)==(c[x>>2]|0))Jn(b,268491,50336874,268507);b=v+-16|0;c[w>>2]=b;x=c[v+-16>>2]|0;d=c[d>>2]|0;c[b>>2]=2;if(!(x&8)){l=y;return 1}w=d+4|0;x=(c[w>>2]|0)+-1|0;c[w>>2]=x;if(x|0){l=y;return 1}go(c[r>>2]|0,d);l=y;return 1}function Vs(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[(Au(b)|0)+16>>2]|0;k=b+76|0;j=b+72|0;i=c[j>>2]|0;d=(c[k>>2]|0)-i>>4;d=d|0?i+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=10)In(b,1847,-1,268387);d=c[d+8>>2]|0;if(!d)In(b,1847,-1,268387);i=Iq(b,-1342168960,53)|0;c[i+40>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;c[i+48>>2]=0;c[i+52>>2]=e;a[i+56>>0]=0;a[i+57>>0]=0;a[i+58>>0]=1;d=c[b+408>>2]|0;e=c[k>>2]|0;if(e>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[k>>2]=e+16;c[e>>2]=9;c[e+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[k>>2]|0;d=c[j>>2]|0;h=e-d>>4;g=h>>>0>1?d+(h+-2<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9)In(b,1834,-2,268820);i=c[g+8>>2]|0;if(!i)In(b,1834,-2,268820);g=h|0?d+(h+-1<<4)|0:0;g=(g|0)==0?944:g;switch(c[g>>2]|0){case 9:{g=c[g+8>>2]|0;i=i+20|0;f=c[i>>2]|0;c[i>>2]=g;if(g){i=g+4|0;c[i>>2]=(c[i>>2]|0)+1}break}case 2:{i=i+20|0;f=c[i>>2]|0;c[i>>2]=0;break}default:Jn(b,268491,100666767,269278)}if((f|0)!=0?(h=f+4|0,i=(c[h>>2]|0)+-1|0,c[h>>2]=i,(i|0)==0):0){fp(c[b+44>>2]|0,f);e=c[k>>2]|0;d=c[j>>2]|0}if((e|0)==(d|0))Jn(b,268491,50336874,268507);j=e+-16|0;c[k>>2]=j;k=c[e+-16>>2]|0;d=c[e+-8>>2]|0;c[j>>2]=2;if(!(k&8))return 1;j=d+4|0;k=(c[j>>2]|0)+-1|0;c[j>>2]=k;if(k|0)return 1;go(c[b+44>>2]|0,d);return 1}function Ws(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0.0,j=0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=Bu(a,3)|0;t=a+76|0;j=a+72|0;b=c[j>>2]|0;if((c[t>>2]|0)==(b|0))$n(a,342,0);switch(c[b>>2]|0){case 9:{b=c[b+8>>2]|0;if(!(c[b>>2]&8192))Jn(a,278145,100663521,278161);else p=b;break}case 10:{vo(a,0);p=c[(c[j>>2]|0)+8>>2]|0;break}default:Jn(a,278145,100663521,278161)}k=c[q+52>>2]|0;l=c[p+52>>2]|0;aq(a,1);b=c[j>>2]|0;b=(c[t>>2]|0)-b>>4>>>0>1?b+16|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(g=+h[b+8>>3],(XO(g)|0)!=0):0)if(!(g<-2147483648.0))if(g>2147483647.0)o=2147483647;else o=~~g;else o=-2147483648;else o=0;aq(a,2);b=c[t>>2]|0;e=c[j>>2]|0;f=b-e>>4;d=f>>>0>2?e+32|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(i=+h[d+8>>3],(XO(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)n=2147483647;else n=~~i;else n=-2147483648;else n=0;f=f>>>0>3?e+48|0:0;if((c[((f|0)==0?944:f)>>2]|0)!=2){aq(a,3);b=c[t>>2]|0;d=c[j>>2]|0;d=b-d>>4>>>0>3?d+48|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(m=+h[d+8>>3],(XO(m)|0)!=0):0)if(!(m<-2147483648.0))if(m>2147483647.0)d=2147483647;else d=~~m;else d=-2147483648;else d=0}else d=k;if((n|o|d|0)<0)Jn(a,278145,50333244,271432);if(l>>>0>o>>>0&(n>>>0>>0&n>>>0>>0)){d=(d>>>0>>0?d:k)-n|0;d=(d+o|0)>>>0>l>>>0?l-o|0:d;f=c[p+48>>2]|0;e=c[p+40>>2]|0;if((d+o+f|0)>>>0<=(c[e+16>>2]|0)>>>0?(s=c[q+48>>2]|0,r=c[q+40>>2]|0,(d+n+s|0)>>>0<=(c[r+16>>2]|0)>>>0):0){if(!(c[e>>2]&128))e=e+24|0;else e=c[e+20>>2]|0;if(!(c[r>>2]&128))b=r+24|0;else b=c[r+20>>2]|0;DQ(e+f+o|0,b+s+n|0,d|0)|0;b=c[t>>2]|0}}else d=0;if(b>>>0<(c[a+68>>2]|0)>>>0){c[t>>2]=b+16;c[b>>2]=0;h[b+8>>3]=+(d>>>0);return 1}else Sn(a,3902);return 0}function Xs(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;g=o;e=o+4|0;j=Bu(b,3)|0;i=j+40|0;if(!(c[i>>2]|0))Tn(b,278145,1387);m=b+76|0;n=b+72|0;d=c[n>>2]|0;d=(c[m>>2]|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if(((c[d>>2]|0)==8?(f=c[d+8>>2]|0,(f|0)!=0):0)?(c[f>>2]&512|0)==0:0){e=f+28|0;k=c[f+20>>2]|0}else{a[e>>0]=Eq(b,0)|0;k=1}d=c[j+52>>2]|0;h=ar(b,1,0,d,g)|0;f=c[n>>2]|0;f=(c[m>>2]|0)-f>>4>>>0>2?f+32|0:0;if((c[((f|0)==0?944:f)>>2]|0)==2)f=d;else f=ar(b,2,h,d,g)|0;d=c[i>>2]|0;if(!(c[d>>2]&128))d=d+24|0;else d=c[d+20>>2]|0;i=d+(c[j+48>>2]|0)+h|0;g=f-h|0;switch(k|0){case 1:{EQ(i|0,a[e>>0]|0,g|0)|0;break}case 0:break;default:if(g|0){d=0;f=0;while(1){h=f+1|0;a[i+d>>0]=a[e+f>>0]|0;d=d+1|0;if((d|0)==(g|0))break;else f=h>>>0>>0?h:0}}}e=c[m>>2]|0;if(e>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3997);c[m>>2]=e+16;if(!(c[b+96>>2]|0)){l=o;return 1}d=c[n>>2]|0;m=d+-16|0;n=c[m>>2]|0;c[e>>2]=c[m>>2];c[e+4>>2]=c[m+4>>2];c[e+8>>2]=c[m+8>>2];c[e+12>>2]=c[m+12>>2];if(!(n&8)){l=o;return 1}n=(c[d+-8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1;l=o;return 1}function Ys(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;g=a+76|0;h=c[g>>2]|0;d=c[a+72>>2]|0;d=(h|0)!=(d|0)?d:0;d=(d|0)==0?944:d;a:do if((((c[d>>2]|0)==9?(e=c[d+8>>2]|0,(e|0)!=0):0)?(b=c[e+20>>2]|0,(b|0)!=0):0)?(i=c[a+408>>2]|0,(i|0)!=0):0){d=1e4;while(1){if((b|0)==(i|0)){f=1;break a}if(!d)break;b=c[b+20>>2]|0;if(!b){f=0;break a}else d=d+-1|0}Jn(a,278516,50331677,270308)}else f=0;while(0);if(h>>>0<(c[a+68>>2]|0)>>>0){c[g>>2]=h+16;c[h>>2]=4;c[h+8>>2]=f;return 1}else Sn(a,3799);return 0}function Zs(a){a=a|0;var b=0,d=0,e=0;b=Ho(a,0)|0;d=a+76|0;e=c[d>>2]|0;if(e>>>0<(c[a+68>>2]|0)>>>0){b=(wN(b,278583)|0)==0&1;c[d>>2]=e+16;c[e>>2]=4;c[e+8>>2]=b;return 1}else Sn(a,3799);return 0}function _s(a){a=a|0;var b=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;b=Bu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(c[b+32>>2]|0)Rn(b);b=gr(a,c[m>>2]|0)|0;g=c[b+24>>2]|0;g=(c[b+16>>2]|0)+(g*21|0)+(0-g&7)|0;b=c[k>>2]|0;if(!(c[b>>2]&128))b=b+24|0;else b=c[b+20>>2]|0;f=b+(c[l>>2]|0)|0;e=c[m>>2]|0;if(e|0){b=0;do{t=+(d[f+b>>0]|0);c[g+(b<<4)>>2]=0;h[g+(b<<4)+8>>3]=t;b=b+1|0}while((b|0)!=(e|0))}e=c[s>>2]|0;f=e-(c[r>>2]|0)|0;m=f>>4;j=m+-2|0;if(m>>>0<=1)$n(a,267,-2);b=c[(c[p>>2]|0)+316>>2]|0;if(e>>>0>=(c[q>>2]|0)>>>0)Sn(a,3761);c[s>>2]=e+16;c[e>>2]=8;c[e+8>>2]=b;g=b+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[r>>2]|0;i=(c[s>>2]|0)-g>>4;f=((f|0)<32?i:0)+j|0;if(f>>>0>=i>>>0)$n(a,342,j);if((i|0)==1)$n(a,342,-2);e=i+-2|0;b=c[o>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,g+(f<<4)|0,g+(i+-1<<4)|0,c[g+(e<<4)>>2]|0,c[g+(e<<4)+4>>2]|0,+h[g+(e<<4)+8>>3],b)|0;e=c[s>>2]|0;if(e-(c[r>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);r=e+-16|0;a=c[r>>2]|0;b=c[e+-8>>2]|0;c[r>>2]=2;do if(a&8|0){r=b+4|0;a=(c[r>>2]|0)+-1|0;c[r>>2]=a;if(a|0)break;Wn(c[n>>2]|0,b)}while(0);r=e+-32|0;a=c[r>>2]|0;b=c[e+-24>>2]|0;c[r>>2]=2;do if(a&8|0){r=b+4|0;a=(c[r>>2]|0)+-1|0;c[r>>2]=a;if(a|0)break;Wn(c[n>>2]|0,b)}while(0);c[s>>2]=e+-32;b=c[n>>2]|0;if(!(c[b+32>>2]|0))return 1;Rn(b);return 1}b=a+76|0;e=c[b>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3787);c[b>>2]=e+16;c[e>>2]=3;return 1}function $s(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;m=o;f=Bu(b,2)|0;if(!f){d=b+76|0;if((c[d>>2]|0)>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3931);b=Fo(b,278567,15)|0;n=c[d>>2]|0;c[d>>2]=n+16;c[n>>2]=8;c[n+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;l=o;return 1}d=c[f+52>>2]|0;i=ar(b,1,0,d,m)|0;n=b+76|0;e=c[n>>2]|0;j=b+72|0;k=c[j>>2]|0;k=e-k>>4>>>0>2?k+32|0:0;if((c[((k|0)==0?944:k)>>2]|0)!=2){d=ar(b,2,i,d,m)|0;e=c[n>>2]|0}h=d-i|0;if(e>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,4815);if(h>>>0>2147483646)Jn(b,268491,50336467,268447);k=b+44|0;e=Po(c[k>>2]|0,h,4,m)|0;if(!e)Mn(b,268491,4824);g=c[n>>2]|0;c[g>>2]=10;c[g+8>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;c[n>>2]=(c[n>>2]|0)+16;g=c[m>>2]|0;e=c[f+40>>2]|0;if(!e)Tn(b,278145,1234);f=c[f+48>>2]|0;if((f+d|0)>>>0>(c[e+16>>2]|0)>>>0)Tn(b,278145,1234);if(!(c[e>>2]&128))d=e+24|0;else d=c[e+20>>2]|0;CQ(g|0,d+f+i|0,h|0)|0;e=c[j>>2]|0;d=(c[n>>2]|0)-e>>4;if(!d)$n(b,342,-1);i=e+(d+-1<<4)|0;j=c[e>>2]|0;d=c[e+8>>2]|0;c[e>>2]=c[i>>2];c[e+4>>2]=c[i+4>>2];c[e+8>>2]=c[i+8>>2];c[e+12>>2]=c[i+12>>2];c[i>>2]=2;c[n>>2]=(c[n>>2]|0)+-16;if(j&8|0?(j=d+4|0,n=(c[j>>2]|0)+-1|0,c[j>>2]=n,(n|0)==0):0)go(c[k>>2]|0,d);_n(b,1);a[m+8>>0]=0;a[m+9>>0]=1;c[m>>2]=0;a[m+4>>0]=-65;a[m+5>>0]=-128;a[m+6>>0]=0;a[m+7>>0]=0;Fu(b,m);l=o;return 1}function at(a){a=a|0;var b=0,d=0,e=0,f=0,g=0.0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;o=Bu(a,3)|0;r=a+76|0;i=a+72|0;b=c[i>>2]|0;b=(c[r>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=8)In(a,1821,0,287470);b=c[b+8>>2]|0;if(!b)In(a,1821,0,287470);if(c[b>>2]&512|0)In(a,1821,0,287470);l=c[b+20>>2]|0;p=b+28|0;aq(a,1);b=c[r>>2]|0;e=c[i>>2]|0;f=b-e>>4;d=f>>>0>1?e+16|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(g=+h[d+8>>3],(XO(g)|0)!=0):0){if(g<-2147483648.0)Jn(a,278145,50331956,271432);d=~~g;if(!(g>2147483647.0))if((d|0)<0)Jn(a,278145,50331956,271432);else q=d;else q=2147483647}else q=0;m=o+52|0;d=c[m>>2]|0;if(d>>>0>>0)Jn(a,278145,50331956,271432);f=f>>>0>2?e+32|0:0;if((c[((f|0)==0?944:f)>>2]|0)!=2){aq(a,2);b=c[r>>2]|0;d=c[i>>2]|0;d=b-d>>4>>>0>2?d+32|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==0?(k=+h[d+8>>3],(XO(k)|0)!=0):0){if(k<-2147483648.0)Jn(a,278145,50331956,271432);d=~~k;if(!(k>2147483647.0))if((d|0)<0)Jn(a,278145,50331956,271432);else j=d;else j=2147483647;d=(c[m>>2]|0)-q|0;d=j>>>0>d>>>0?d:j;n=20}else f=0}else{d=d-q|0;n=20}if((n|0)==20)f=d>>>0>l>>>0?l:d;e=c[o+48>>2]|0;d=c[o+40>>2]|0;if(((c[m>>2]|0)+e|0)>>>0<=(c[d+16>>2]|0)>>>0){if(!(c[d>>2]&128))b=d+24|0;else b=c[d+20>>2]|0;CQ(b+e+q|0,p|0,f|0)|0;b=c[r>>2]|0}if(b>>>0<(c[a+68>>2]|0)>>>0){c[r>>2]=b+16;c[b>>2]=0;h[b+8>>3]=+(f>>>0);return 1}else Sn(a,3902);return 0}function bt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0.0;i=a+76|0;d=c[i>>2]|0;j=a+72|0;e=c[j>>2]|0;f=d;do if((d|0)==(e|0))if(f>>>0<(c[a+68>>2]|0)>>>0){b=f+16|0;c[i>>2]=b;c[f>>2]=0;h[f+8>>3]=0.0;break}else Sn(a,3868);else b=d;while(0);if((b|0)==(e|0))$n(a,267,0);k=+jo(a,e);d=c[j>>2]|0;f=c[d>>2]|0;e=d+8|0;b=c[e>>2]|0;c[d>>2]=0;h[e>>3]=k;if(f&8|0?(e=b+4|0,f=(c[e>>2]|0)+-1|0,c[e>>2]=f,(f|0)==0):0)go(c[a+44>>2]|0,b);_n(a,1);b=c[a+88>>2]|0;if(!b){a=1;return a|0}if(!(c[b+32>>2]&4)){a=1;return a|0}b=c[i>>2]|0;e=a+68|0;if(b>>>0>=(c[e>>2]|0)>>>0)Sn(a,3997);c[i>>2]=b+16;if(c[a+96>>2]|0?(g=c[j>>2]|0,d=g+-16|0,f=c[d>>2]|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],f&8|0):0){g=(c[g+-8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}d=c[i>>2]|0;g=c[d+-8>>2]|0;c[g>>2]=c[g>>2]&134217727|1342177280;if(d>>>0>=(c[e>>2]|0)>>>0)Sn(a,935);b=c[j>>2]|0;if((d|0)==(b|0))$n(a,342,0);c[i>>2]=d+16;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];if(c[d>>2]&8|0){g=(c[d+8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}j=c[j>>2]|0;b=(c[i>>2]|0)-j>>4;b=b>>>0>1?j+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[a+428>>2]|0)+356>>2]|0,0);a=0;return a|0}function ct(a){a=a|0;var b=0,d=0.0;d=+Pu(a);b=c[a+72>>2]|0;b=(c[a+76>>2]|0)!=(b|0)?b:0;b=c[((b|0)==0?944:b)>>2]|0;aq(a,0);if((XO(d)|0|1|0)==1){Ho(a,-1)|0;return 1}else{Jo(a,10,(ar(a,0,0,20,0)|0)+1|0,(b|0)!=2|2);return 1}return 0}function dt(a){a=a|0;var b=0,c=0.0;b=ar(a,0,0,20,0)|0;c=+Pu(a);if((XO(c)|0|1|0)!=1?!(c>=1.0e21|c<=-1.0e21):0){Jo(a,10,b,9);return 1}Ho(a,-1)|0;return 1}function et(a){a=a|0;var b=0;+Pu(a);b=c[a+72>>2]|0;b=(c[a+76>>2]|0)!=(b|0)?b:0;if((c[((b|0)==0?944:b)>>2]|0)==2){b=10;Jo(a,b,0,0);return 1}b=ar(a,0,2,36,0)|0;Jo(a,b,0,0);return 1}function ft(a){a=a|0;var b=0.0,d=0;b=+Pu(a);d=c[a+72>>2]|0;d=(c[a+76>>2]|0)!=(d|0)?d:0;if((c[((d|0)==0?944:d)>>2]|0)!=2?(aq(a,0),(XO(b)|0|1|0)!=1):0){Jo(a,10,ar(a,0,1,21,0)|0,5);return 1}Ho(a,-1)|0;return 1}function gt(a){a=a|0;var b=0;+Pu(a);b=c[a+72>>2]|0;b=(c[a+76>>2]|0)!=(b|0)?b:0;if((c[((b|0)==0?944:b)>>2]|0)==2){b=10;Jo(a,b,0,0);return 1}b=ar(a,0,2,36,0)|0;Jo(a,b,0,0);return 1}function ht(a){a=a|0;+Pu(a);return 1}function it(a){a=a|0;var b=0,d=0;d=c[a+72>>2]|0;d=(c[a+76>>2]|0)!=(d|0)?d:0;d=c[((d|0)==0?944:d)>>2]|0;b=c[a+88>>2]|0;if(!b)b=1;else b=(c[b+32>>2]&4|0)==0;if((d&-2|0)!=2&b){vo(a,0);return 1}if(!(140>>>d&1)){vo(a,0);return 1}else{Bq(a,134234240,3)|0;return 1}return 0}function jt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=a+76|0;e=a+72|0;b=(c[d>>2]|0)-(c[e>>2]|0)|0;f=b>>4;if((b|0)<16)Tn(a,268491,390);vo(a,0);if((b|0)==16){_n(a,1);return 1}else b=1;do{g=c[e>>2]|0;g=b>>>0<(c[d>>2]|0)-g>>4>>>0?g+(b<<4)|0:0;if((c[((g|0)==0?944:g)>>2]&-2|0)!=2?(vo(a,b),_q(a,b,16),$q(a,-1,1)|0):0)do $p(a,0);while(($q(a,-1,1)|0)!=0);b=b+1|0}while((b|0)<(f|0));_n(a,1);return 1}function kt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;h=a+76|0;b=c[h>>2]|0;g=a+72|0;d=c[g>>2]|0;i=(b|0)!=(d|0)?d:0;if((c[((i|0)==0?944:i)>>2]|0)==10){vo(a,0);d=c[g>>2]|0;b=c[h>>2]|0}b=(b|0)!=(d|0)?d:0;b=(b|0)==0?944:b;switch(c[b>>2]|0){case 9:{e=4;break}case 3:{f=0;break}default:In(a,2094,0,268820)}if((e|0)==4){b=c[b+8>>2]|0;if(!b)In(a,2094,0,268820);else f=b}Rq(a,134234240,f);d=c[g>>2]|0;b=(c[h>>2]|0)-d>>4;i=b>>>0>1?d+16|0:0;if((c[((i|0)==0?944:i)>>2]|0)==2)return 1;if(!b)$n(a,342,-1);g=d+(b+-1<<4)|0;i=c[d>>2]|0;b=c[d+8>>2]|0;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];c[g>>2]=2;c[h>>2]=(c[h>>2]|0)+-16;if(i&8|0?(h=b+4|0,i=(c[h>>2]|0)+-1|0,c[h>>2]=i,(i|0)==0):0)go(c[a+44>>2]|0,b);lt(a)|0;return 1}function lt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;e=k+12|0;f=k+8|0;g=k+4|0;h=k;j=a+76|0;i=a+72|0;b=c[i>>2]|0;b=(c[j>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;switch(c[b>>2]|0){case 9:{b=c[b+8>>2]|0;if(!b)In(a,2094,0,268820);else d=b;break}case 6:case 10:{vo(a,0);d=c[(c[i>>2]|0)+8>>2]|0;break}default:In(a,2094,0,268820)}vo(a,1);_n(a,2);_q(a,1,20);_n(a,3);if($q(a,2,1)|0)do{Ou(a,4,e,f,g,h);_n(a,3)}while(($q(a,2,1)|0)!=0);_n(a,2);_q(a,1,20);_n(a,3);if($q(a,2,1)|0)do{Ou(a,4,e,f,g,h);pp(a,c[e>>2]|0,d,c[(c[i>>2]|0)+56>>2]|0,c[f>>2]|0,c[g>>2]|0,c[h>>2]|0,1)|0;_n(a,3)}while(($q(a,2,1)|0)!=0);d=c[j>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);b=c[i>>2]|0;if((d|0)==(b|0))$n(a,342,0);c[j>>2]=d+16;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];if(!(c[d>>2]&8)){l=k;return 1}j=(c[d+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1;l=k;return 1}function mt(a){a=a|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;q=l;l=l+16|0;i=q+12|0;j=q+8|0;k=q+4|0;m=q;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){n=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)n=b[e+46>>1]|0;else n=0}else n=0;while(0);o=a+76|0;h=a+72|0;d=c[h>>2]|0;d=(c[o>>2]|0)!=(d|0)?d:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 9:{d=c[d+8>>2]|0;if(!d)In(a,2094,0,268820);else p=d;break}case 6:case 10:{vo(a,0);p=c[(c[h>>2]|0)+8>>2]|0;break}default:In(a,2094,0,268820)}po(a,1,1);d=c[o>>2]|0;e=c[h>>2]|0;f=d-e>>4>>>0>1?e+16|0:0;f=(f|0)==0?944:f;if(!((c[f>>2]|0)==8?(g=c[f+8>>2]|0,(g|0)!=0):0)){Ho(a,1)|0;f=c[o>>2]|0;e=c[h>>2]|0;d=f-e>>4>>>0>1?e+16|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8){g=c[d+8>>2]|0;d=f}else{g=0;d=f}}d=d-e>>4>>>0>2?e+32|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(a,1834,2,268820);if(!(c[d+8>>2]|0))In(a,1834,2,268820);Ou(a,2,m,k,i,j);d=pp(a,c[m>>2]|0,p,g,c[k>>2]|0,c[i>>2]|0,c[j>>2]|0,n^1)|0;e=c[o>>2]|0;f=e>>>0<(c[a+68>>2]|0)>>>0;if(!n){if(!f)Sn(a,3761);c[o>>2]=e+16;c[e>>2]=9;c[e+8>>2]=p;a=p+4|0;c[a>>2]=(c[a>>2]|0)+1;l=q;return 1}else{if(!f)Sn(a,3799);c[o>>2]=e+16;c[e>>2]=4;c[e+8>>2]=(d|0)!=0&1;l=q;return 1}return 0}function nt(a){a=a|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+32|0;p=t;q=a+88|0;d=c[q>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e)d=(c[d+4>>2]|0)>>>8<<24>>24;else{if(!(c[e>>2]&4096)){f=7;break}d=b[e+46>>1]|0}if(!d)f=7}else f=7;while(0);if((f|0)==7)vo(a,0);s=a+76|0;r=a+72|0;n=c[r>>2]|0;d=(c[s>>2]|0)-n>>4;d=d>>>0>1?n+(d+-2<<4)|0:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 9:{d=c[d+8>>2]|0;if(!d)In(a,2094,-2,268820);else i=d;break}case 6:case 10:{vo(a,-2);i=c[(c[s>>2]|0)+-24>>2]|0;break}default:In(a,2094,-2,268820)}po(a,-1,1);n=c[r>>2]|0;d=(c[s>>2]|0)-n>>4;d=d|0?n+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8?(g=c[d+8>>2]|0,(g|0)!=0):0)d=g;else{Ho(a,-1)|0;n=c[r>>2]|0;d=(c[s>>2]|0)-n>>4;d=d|0?n+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8)d=c[d+8>>2]|0;else d=0}if(!(io(a,i,d,c[d+16>>2]|0,p,1)|0)){d=c[s>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3772);f=d+16|0;c[s>>2]=f;e=c[r>>2]|0;f=f-e>>4;d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);p=e+(d<<4)|0;q=e+(f+-1<<4)|0;r=c[p>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(p|0,p+16|0,q-p|0)|0;c[q>>2]=2;c[s>>2]=(c[s>>2]|0)+-16;if(!(r&8)){l=t;return 1}r=d+4|0;s=(c[r>>2]|0)+-1|0;c[r>>2]=s;if(s|0){l=t;return 1}go(c[a+44>>2]|0,d);l=t;return 1}Cq(a)|0;do if(!(c[p>>2]&8)){d=c[s>>2]|0;m=a+68|0;if(d>>>0>=(c[m>>2]|0)>>>0)Sn(a,935);e=c[r>>2]|0;f=d-e>>4;if(f>>>0<=1)$n(a,342,-2);o=e+(f+-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c[r>>2]|0)|0;i=j>>4;k=i+-2|0;if(i>>>0<=1)$n(a,267,-2);d=c[(c[o>>2]|0)+140>>2]|0;if(g>>>0>=f>>>0)Sn(a,3761);c[s>>2]=e+32;c[g>>2]=8;c[e+24>>2]=d;g=d+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[r>>2]|0;i=(c[s>>2]|0)-g>>4;f=((j|0)<32?i:0)+k|0;if(f>>>0>=i>>>0)$n(a,342,k);if((i|0)==1)$n(a,342,-2);e=i+-2|0;d=c[q>>2]|0;if(!d)d=1;else d=c[d+32>>2]&1;cp(a,g+(f<<4)|0,g+(i+-1<<4)|0,c[g+(e<<4)>>2]|0,c[g+(e<<4)+4>>2]|0,+h[g+(e<<4)+8>>3],d)|0;e=c[s>>2]|0;if(e-(c[r>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);k=e+-16|0;o=c[k>>2]|0;d=c[e+-8>>2]|0;c[k>>2]=2;do if(o&8|0){k=d+4|0;o=(c[k>>2]|0)+-1|0;c[k>>2]=o;if(o|0)break;Wn(c[n>>2]|0,d)}while(0);k=e+-32|0;o=c[k>>2]|0;d=c[e+-24>>2]|0;c[k>>2]=2;do if(o&8|0){k=d+4|0;o=(c[k>>2]|0)+-1|0;c[k>>2]=o;if(o|0)break;Wn(c[n>>2]|0,d)}while(0);c[s>>2]=e+-32;d=c[n>>2]|0;if(!(c[d+32>>2]|0))break;Rn(d)}else{d=c[p+4>>2]|0;e=c[s>>2]|0;m=a+68|0;f=e>>>0<(c[m>>2]|0)>>>0;do if(!d)if(f){j=e+16|0;c[s>>2]=j;break}else Sn(a,3772);else if(f){c[s>>2]=e+16;c[e>>2]=9;c[e+8>>2]=d;j=d+4|0;c[j>>2]=(c[j>>2]|0)+1;j=c[s>>2]|0;break}else Sn(a,3761);while(0);f=j-(c[r>>2]|0)|0;n=f>>4;g=n+-2|0;d=j;if(n>>>0<=1)$n(a,267,-2);n=a+428|0;e=c[(c[n>>2]|0)+284>>2]|0;if(d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c[g>>2]|0)+1;g=c[r>>2]|0;i=(c[s>>2]|0)-g>>4;f=((f|0)<32?i:0)+j|0;if(f>>>0>=i>>>0)$n(a,342,j);if((i|0)==1)$n(a,342,-2);e=i+-2|0;d=c[q>>2]|0;if(!d)d=1;else d=c[d+32>>2]&1;cp(a,g+(f<<4)|0,g+(i+-1<<4)|0,c[g+(e<<4)>>2]|0,c[g+(e<<4)+4>>2]|0,+h[g+(e<<4)+8>>3],d)|0;e=c[s>>2]|0;if(e-(c[r>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);n=e+-16|0;o=c[n>>2]|0;d=c[e+-8>>2]|0;c[n>>2]=2;do if(o&8|0){n=d+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0)break;Wn(c[k>>2]|0,d)}while(0);n=e+-32|0;o=c[n>>2]|0;d=c[e+-24>>2]|0;c[n>>2]=2;do if(o&8|0){n=d+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0)break;Wn(c[k>>2]|0,d)}while(0);c[s>>2]=e+-32;d=c[k>>2]|0;if(!(c[d+32>>2]|0))break;Rn(d)}while(0);f=c[s>>2]|0;g=c[m>>2]|0;if(f>>>0>=g>>>0)Sn(a,3799);n=c[p>>2]|0;d=f+16|0;c[s>>2]=d;c[f>>2]=4;c[f+8>>2]=n>>>1&1;i=d-(c[r>>2]|0)|0;p=i>>4;k=p+-2|0;if(p>>>0<=1)$n(a,267,-2);o=a+428|0;e=c[(c[o>>2]|0)+148>>2]|0;if(d>>>0>=g>>>0)Sn(a,3761);c[s>>2]=f+32;c[d>>2]=8;c[f+24>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[r>>2]|0;j=(c[s>>2]|0)-g>>4;f=((i|0)<32?j:0)+k|0;if(f>>>0>=j>>>0)$n(a,342,k);if((j|0)==1)$n(a,342,-2);e=j+-2|0;d=c[q>>2]|0;if(!d)d=1;else d=c[d+32>>2]&1;cp(a,g+(f<<4)|0,g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(c[o>>2]|0)+-1|0;c[o>>2]=q;if(q|0)break;Wn(c[p>>2]|0,d)}while(0);o=e+-32|0;q=c[o>>2]|0;d=c[e+-24>>2]|0;c[o>>2]=2;do if(q&8|0){o=d+4|0;q=(c[o>>2]|0)+-1|0;c[o>>2]=q;if(q|0)break;Wn(c[p>>2]|0,d)}while(0);e=e+-32|0;c[s>>2]=e;d=c[p>>2]|0;if(!(c[d+32>>2]|0))d=e;else{Rn(d);d=c[s>>2]|0}f=c[r>>2]|0;e=d-f>>4;if(!e)$n(a,342,-1);g=f+(e+-1<<4)|0;d=e+-3|0;if(e>>>0<=2)$n(a,342,-3);o=f+(d<<4)|0;q=c[o>>2]|0;e=c[f+(d<<4)+8>>2]|0;c[o>>2]=c[g>>2];c[o+4>>2]=c[g+4>>2];c[o+8>>2]=c[g+8>>2];c[o+12>>2]=c[g+12>>2];c[g>>2]=2;d=(c[s>>2]|0)+-16|0;c[s>>2]=d;do if(q&8){o=e+4|0;q=(c[o>>2]|0)+-1|0;c[o>>2]=q;if(q|0)break;go(c[p>>2]|0,e);d=c[s>>2]|0}while(0);if((d|0)==(c[r>>2]|0))Jn(a,268491,50336874,268507);r=d+-16|0;c[s>>2]=r;a=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[r>>2]=2;if(!(a&8)){l=t;return 1}s=d+4|0;a=(c[s>>2]|0)+-1|0;c[s>>2]=a;if(a|0){l=t;return 1}go(c[p>>2]|0,d);l=t;return 1}function ot(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=a+76|0;b=c[f>>2]|0;e=c[a+72>>2]|0;g=b-e>>4;d=g|0?e:0;e=g>>>0>1?e+16|0:0;if((d|0)==0|(e|0)==0)d=0;else{d=Zo(0,d,e,1)|0;b=c[f>>2]|0}if(b>>>0<(c[a+68>>2]|0)>>>0){c[f>>2]=b+16;c[b>>2]=4;c[b+8>>2]=(d|0)!=0&1;return 1}else Sn(a,3799);return 0}function pt(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[a+88>>2]|0;a:do if(d){g=c[d+16>>2]|0;if(!g)d=(c[d+4>>2]|0)>>>8<<24>>24;else{if(!(c[g>>2]&4096)){j=7;break}d=b[g+46>>1]|0}if(d){g=a+76|0;d=c[g>>2]|0;f=c[a+72>>2]|0;f=(d|0)!=(f|0)?f:0;f=(f|0)==0?944:f;switch(c[f>>2]|0){case 6:case 10:{e=g;i=d;h=0;break a}case 9:break;default:In(a,2094,0,268820)}f=c[f+8>>2]|0;if(!f)In(a,2094,0,268820);else{e=g;j=12}}else j=7}else j=7;while(0);if((j|0)==7){e=a+76|0;g=c[e>>2]|0;d=c[a+72>>2]|0;d=(g|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==9?(f=c[d+8>>2]|0,(f|0)!=0):0){d=g;j=12}else{i=g;h=0}}if((j|0)==12){i=d;h=(c[f>>2]&128|0)!=0}if(i>>>0<(c[a+68>>2]|0)>>>0){c[e>>2]=i+16;c[i>>2]=4;c[i+8>>2]=h&1;return 1}else Sn(a,3799);return 0}function qt(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=c[e+88>>2]|0;do if(f){g=c[f+16>>2]|0;if(!g){j=(c[f+4>>2]|0)>>>8<<24>>24;break}if(c[g>>2]&4096)j=b[g+46>>1]|0;else j=0}else j=0;while(0);l=e+76|0;m=c[l>>2]|0;f=c[e+72>>2]|0;f=(m|0)!=(f|0)?f:0;f=(f|0)==0?944:f;g=c[f>>2]|0;switch(g|0){case 6:case 10:{if(m>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,3799);k=(j|0)!=1|(g|0)==6;k=k&1;e=m+16|0;c[l>>2]=e;c[m>>2]=4;e=m+8|0;c[e>>2]=k;return 1}case 9:{h=10;break}default:f=1}a:do if((h|0)==10){k=c[f+8>>2]|0;if(k)if(!(c[k>>2]&128)){g=c[k+28>>2]|0;if(g|0){f=c[k+16>>2]|0;i=c[k+24>>2]|0;h=f+(i<<4)|0;i=f+(i*20|0)|0;if(!j){f=0;do{if(c[h+(f<<2)>>2]|0?a[i+f>>0]&4:0){f=0;break a}f=f+1|0}while(f>>>0>>0)}else{f=0;do{if(c[h+(f<<2)>>2]|0?(j=d[i+f>>0]|0,!((j&4|0)==0&(j&9|0)!=1)):0){f=0;break a}f=f+1|0}while(f>>>0>>0)}}h=c[k+32>>2]|0;if(!h)f=1;else{g=c[k+24>>2]|0;g=(c[k+16>>2]|0)+(g*21|0)+(0-g&7)|0;f=0;while(1){if((c[g+(f<<4)>>2]|0)!=7){f=0;break a}f=f+1|0;if(f>>>0>=h>>>0){f=1;break}}}}else f=0;else f=1}while(0);if(m>>>0<(c[e+68>>2]|0)>>>0){k=f;k=k&1;e=m+16|0;c[l>>2]=e;c[m>>2]=4;e=m+8|0;c[e>>2]=k;return 1}else Sn(e,3799);return 0}function rt(a){a=a|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;q=l;l=l+16|0;o=q;p=a+88|0;d=c[p>>2]|0;a:do if(d){e=c[d+16>>2]|0;if(!e)d=(c[d+4>>2]|0)>>>8<<24>>24;else{if(!(c[e>>2]&4096)){f=11;break}d=b[e+46>>1]|0}if((d|0)==3){d=a+72|0;e=c[d>>2]|0;e=(c[a+76>>2]|0)!=(e|0)?e:0;e=(e|0)==0?944:e;switch(c[e>>2]|0){case 9:{d=c[e+8>>2]|0;if(d|0){g=d;break a}In(a,2094,0,268820);break}case 6:case 10:{vo(a,0);f=12;break a}default:In(a,2094,0,268820)}}else f=11}else f=11;while(0);if((f|0)==11){vo(a,0);d=a+72|0;f=12}if((f|0)==12)g=c[(c[d>>2]|0)+8>>2]|0;do if(c[g>>2]&67108864|0){i=a+428|0;e=c[i>>2]|0;d=yo(g,c[e+408>>2]|0)|0;if(!d)Jn(a,268642,100663682,269229);f=c[d+8>>2]|0;d=yo(g,c[e+404>>2]|0)|0;if(!d)Jn(a,268642,100663693,269229);k=c[d+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2]|0)+-1|0;c[o>>2]=r;if(r|0)break;go(c[a+44>>2]|0,d);break}d=c[n>>2]|0;e=c[j>>2]|0;f=d-e>>4;if(f>>>0<=1)$n(a,342,-2);g=e+(f+-2<<4)|0;e=e+(f+-1<<4)|0;f=e-g|0;if(f){c[o>>2]=c[e>>2];c[o+4>>2]=c[e+4>>2];c[o+8>>2]=c[e+8>>2];c[o+12>>2]=c[e+12>>2];DQ(g+16|0,g|0,f|0)|0;c[g>>2]=c[o>>2];c[g+4>>2]=c[o+4>>2];c[g+8>>2]=c[o+8>>2];c[g+12>>2]=c[o+12>>2];d=c[n>>2]|0}f=k;if(d>>>0>=(c[m>>2]|0)>>>0)Sn(a,3761);c[n>>2]=d+16;c[d>>2]=9;c[d+8>>2]=k;d=f+4|0;c[d>>2]=(c[d>>2]|0)+1;d=(c[n>>2]|0)-(c[j>>2]|0)|0;if((d|0)<48)Tn(a,268476,76);so(a,1,0,(d+-48|0)>>>4);r=c[j>>2]|0;d=(c[n>>2]|0)-r>>4;d=d|0?r+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(a,1834,-1,268820);if(!(c[d+8>>2]|0))In(a,1834,-1,268820);d=c[p>>2]|0;do if(!d)d=0;else{e=c[d+16>>2]|0;if(!e){d=(c[d+4>>2]|0)>>>8<<24>>24;break}if(!(c[e>>2]&4096)){d=0;break}d=b[e+46>>1]|0}while(0);vp(a,f,c[4968+(d<<2)>>2]|0);l=q;return 1}while(0);d=c[p>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){d=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)d=b[e+46>>1]|0;else d=0}else d=0;while(0);tp(a,c[4968+(d<<2)>>2]|0);i=a+76|0;e=c[(c[i>>2]|0)+-8>>2]|0;d=(c[e+28>>2]|0)+-2|0;f=gr(a,d)|0;g=c[f+24>>2]|0;if(d|0){h=(c[e+16>>2]|0)+(c[e+24>>2]<<4)+8|0;e=(c[f+16>>2]|0)+(g*21|0)+(0-g&7)|0;while(1){d=d+-1|0;r=c[h>>2]|0;c[e>>2]=8;c[e+8>>2]=r;r=r+4|0;c[r>>2]=(c[r>>2]|0)+1;if(!d)break;else{h=h+4|0;e=e+16|0}}}e=c[a+72>>2]|0;f=(c[i>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);o=e+(d<<4)|0;p=e+(f+-1<<4)|0;r=c[o>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(o|0,o+16|0,p-o|0)|0;c[p>>2]=2;c[i>>2]=(c[i>>2]|0)+-16;if(!(r&8)){l=q;return 1}p=d+4|0;r=(c[p>>2]|0)+-1|0;c[p>>2]=r;if(r|0){l=q;return 1}go(c[a+44>>2]|0,d);l=q;return 1}function st(a){a=a|0;var d=0,e=0,f=0,g=0;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){f=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)f=b[e+46>>1]|0;else f=0}else f=0;while(0);g=a+76|0;d=c[a+72>>2]|0;d=(c[g>>2]|0)!=(d|0)?d:0;d=(d|0)==0?944:d;e=c[d>>2]|0;do if(!(c[4216+(e<<2)>>2]&((f|0)==0?958:640))){if((e|0)!=9)In(a,1834,0,268820);d=c[d+8>>2]|0;if(!d)In(a,1834,0,268820);else{c[d>>2]=c[d>>2]&-129;yp(a,d);break}}while(0);if((f|0)!=1)return 1;d=c[g>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3811);c[g>>2]=d+16;c[d>>2]=4;c[d+8>>2]=1;return 1}function tt(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[d+88>>2]|0;do if(e){f=c[e+16>>2]|0;if(!f){f=(c[e+4>>2]|0)>>>8<<24>>24;break}if(c[f>>2]&4096)f=b[f+46>>1]|0;else f=0}else f=0;while(0);e=c[d+72>>2]|0;e=(c[d+76>>2]|0)!=(e|0)?e:0;e=(e|0)==0?944:e;switch(c[e>>2]|0){case 10:{if(!f)return 1;else Tn(d,278500,280);break}case 9:{i=c[e+8>>2]|0;if(!i)return 1;e=(f|0)==0;if(!e?c[i>>2]&8192|0:0)Tn(d,278500,280);Ap(d,i);f=i+28|0;if(c[f>>2]|0){g=i+16|0;h=i+24|0;if(e){e=0;do{j=(c[g>>2]|0)+((c[h>>2]|0)*20|0)+e|0;a[j>>0]=a[j>>0]&-5;e=e+1|0}while(e>>>0<(c[f>>2]|0)>>>0)}else{e=0;do{j=(c[g>>2]|0)+((c[h>>2]|0)*20|0)+e|0;k=a[j>>0]|0;a[j>>0]=((k&8)>>>3|250)&(k&255);e=e+1|0}while(e>>>0<(c[f>>2]|0)>>>0)}}c[i>>2]=c[i>>2]&-129;yp(d,i);return 1}default:return 1}return 0}function ut(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e)d=(c[d+4>>2]|0)>>>8<<24>>24;else{if(!(c[e>>2]&4096)){f=7;break}d=b[e+46>>1]|0}if(d){if((d|0)<2)f=16}else f=7}else f=7;while(0);if((f|0)==7){d=a+76|0;g=c[d>>2]|0;if(g>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[d>>2]=g+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);d=c[a+72>>2]|0;e=d+-16|0;f=c[e>>2]|0;if((f&-2|0)==2)Jn(a,268491,100667321,271411);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];if(f&8|0){g=(c[d+-8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}vo(a,-1);f=16}if((f|0)==16)vo(a,0);d=c[a+72>>2]|0;switch(c[d>>2]|0){case 10:{h=a+344|0;break}case 6:{h=a+152|0;break}case 9:{h=(c[d+8>>2]|0)+20|0;break}default:Tn(a,278500,415)}d=c[h>>2]|0;e=a+76|0;f=c[e>>2]|0;g=f>>>0<(c[a+68>>2]|0)>>>0;if(!d){if(!g)Sn(a,3787);c[e>>2]=f+16;c[f>>2]=3;return 1}else{if(!g)Sn(a,3761);c[e>>2]=f+16;c[f>>2]=9;c[f+8>>2]=d;a=d+4|0;c[a>>2]=(c[a>>2]|0)+1;return 1}return 0}function vt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;i=k;j=a+76|0;d=c[j>>2]|0;g=a+72|0;f=c[g>>2]|0;b=(d|0)!=(f|0)?f:0;b=(b|0)==0?944:b;if(!(((c[b>>2]|0)==8?(e=c[b+8>>2]|0,(e|0)!=0):0)?(c[e>>2]&512|0)!=0:0)){Ho(a,0)|0;d=c[j>>2]|0;f=c[g>>2]|0;b=(d|0)!=(f|0)?f:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==8)e=c[b+8>>2]|0;else e=0}h=a+68|0;if(d>>>0>=(c[h>>2]|0)>>>0)Sn(a,3997);c[j>>2]=d+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);b=f+-16|0;g=c[b>>2]|0;if((g&-2|0)==2)Jn(a,268491,100667321,271411);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];if(g&8|0){g=(c[f+-8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}vo(a,-1);b=io(a,c[(c[j>>2]|0)+-8>>2]|0,e,c[e+16>>2]|0,i,0)|0;d=c[j>>2]|0;if(d>>>0<(c[h>>2]|0)>>>0){c[j>>2]=d+16;c[d>>2]=4;c[d+8>>2]=(b|0)!=0&1;l=k;return 1}else Sn(a,3799);return 0}function wt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=a+76|0;e=c[j>>2]|0;f=c[a+72>>2]|0;b=(e|0)!=(f|0)?f:0;b=(b|0)==0?944:b;k=e;if((c[b>>2]|0)==9?(g=c[b+8>>2]|0,g|0):0){h=a+68|0;if(k>>>0>=(c[h>>2]|0)>>>0)Sn(a,3997);c[j>>2]=k+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);b=f+-16|0;d=c[b>>2]|0;if((d&-2|0)==2)Jn(a,268491,100667321,271411);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];if(d&8|0){f=(c[f+-8>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+1}vo(a,-1);e=c[j>>2]|0;f=c[e+-8>>2]|0;b=c[g+20>>2]|0;a:do if((f|0)==0|(b|0)==0)i=0;else{d=1e4;while(1){if((b|0)==(f|0)){i=1;break a}if(!d)break;b=c[b+20>>2]|0;if(!b){i=0;break a}else d=d+-1|0}Jn(a,278516,50331677,270308)}while(0);if(e>>>0<(c[h>>2]|0)>>>0){a=i;k=e;i=k+16|0;c[j>>2]=i;c[k>>2]=4;k=k+8|0;c[k>>2]=a;return 1}else Sn(a,3799)}if(k>>>0<(c[a+68>>2]|0)>>>0){a=0;i=k+16|0;c[j>>2]=i;c[k>>2]=4;k=k+8|0;c[k>>2]=a;return 1}else Sn(a,3822);return 0}function xt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;i=k;j=a+76|0;d=c[j>>2]|0;g=a+72|0;f=c[g>>2]|0;b=(d|0)!=(f|0)?f:0;b=(b|0)==0?944:b;if(!(((c[b>>2]|0)==8?(e=c[b+8>>2]|0,(e|0)!=0):0)?(c[e>>2]&512|0)!=0:0)){Ho(a,0)|0;d=c[j>>2]|0;f=c[g>>2]|0;b=(d|0)!=(f|0)?f:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==8)e=c[b+8>>2]|0;else e=0}h=a+68|0;if(d>>>0>=(c[h>>2]|0)>>>0)Sn(a,3997);c[j>>2]=d+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);b=f+-16|0;g=c[b>>2]|0;if((g&-2|0)==2)Jn(a,268491,100667321,271411);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];if(g&8|0){g=(c[f+-8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}vo(a,-1);if(!(io(a,c[(c[j>>2]|0)+-8>>2]|0,e,c[e+16>>2]|0,i,0)|0))d=0;else d=(c[i>>2]&2|0)!=0;b=c[j>>2]|0;if(b>>>0<(c[h>>2]|0)>>>0){c[j>>2]=b+16;c[b>>2]=4;c[b+8>>2]=d&1;l=k;return 1}else Sn(a,3799);return 0}function yt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+76|0;f=c[h>>2]|0;g=a+68|0;if(f>>>0>=(c[g>>2]|0)>>>0)Sn(a,3997);c[h>>2]=f+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);i=a+72|0;b=c[i>>2]|0;d=b+-16|0;e=c[d>>2]|0;if((e&-2|0)==2)Jn(a,268491,100667321,271411);c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];if(e&8|0){f=(c[b+-8>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+1}vo(a,-1);f=c[h>>2]|0;b=f;if((f|0)==(c[i>>2]|0))$n(a,267,0);d=c[(c[a+428>>2]|0)+304>>2]|0;if(b>>>0>=(c[g>>2]|0)>>>0)Sn(a,3761);c[h>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;b=d+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[i>>2]|0;d=(c[h>>2]|0)-b>>4;if(!d)$n(a,342,0);ro(a,b,b+(d+-1<<4)|0)|0;d=c[i>>2]|0;e=(c[h>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);j=d+(b<<4)|0;e=d+(e+-1<<4)|0;f=c[j>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(j|0,j+16|0,e-j|0)|0;c[e>>2]=2;d=(c[h>>2]|0)+-16|0;c[h>>2]=d;if((f&8|0)!=0?(f=b+4|0,j=(c[f>>2]|0)+-1|0,c[f>>2]=j,(j|0)==0):0){go(c[a+44>>2]|0,b);d=c[h>>2]|0}if(d>>>0>=(c[g>>2]|0)>>>0)Sn(a,935);b=c[i>>2]|0;if((d|0)==(b|0))$n(a,342,0);c[h>>2]=d+16;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];if(c[d>>2]&8|0){j=(c[d+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}b=(c[h>>2]|0)-(c[i>>2]|0)|0;if((b|0)<32)Tn(a,268476,76);else{so(a,0,0,(b+-32|0)>>>4);return 1}return 0}function zt(a){a=a|0;var b=0,e=0,f=0;f=l;l=l+16|0;e=f;b=c[a+72>>2]|0;switch(c[b+-16>>2]|0){case 2:case 7:{b=0;break}case 3:{b=1;break}case 4:{b=8;break}case 5:{b=31;break}case 6:{b=5;break}case 8:{b=(c[c[b+-8>>2]>>2]&512|0)==0?7:2;break}case 9:{b=d[268935+((c[c[b+-8>>2]>>2]|0)>>>27)>>0]|0;break}case 10:{b=19;break}default:b=9}c[e>>2]=(c[(c[a+428>>2]|0)+(b<<2)>>2]|0)+28;Go(a,268967,e);l=f;return 1}function At(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+76|0;f=c[b>>2]|0;if(f>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[b>>2]=f+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);b=c[a+72>>2]|0;d=b+-16|0;e=c[d>>2]|0;if((e&-2|0)==2)Jn(a,268491,100667321,271411);c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];if(!(e&8)){vo(a,-1);return 1}f=(c[b+-8>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+1;vo(a,-1);return 1}function Bt(a){a=a|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;x=l;l=l+16|0;j=x;e=c[a+88>>2]|0;a:do if(!e)q=7;else{f=c[e+16>>2]|0;if(!f)k=(c[e+4>>2]|0)>>>8<<24>>24;else{if(!(c[f>>2]&4096)){q=7;break}k=b[f+46>>1]|0}b:do switch(k|0){case 0:{q=7;break a}case 1:{e=a+76|0;f=c[e>>2]|0;g=c[a+72>>2]|0;j=(f|0)!=(g|0)?g:0;if(!(140>>>(c[((j|0)==0?944:j)>>2]|0)&1)){m=e;n=f;o=g;p=f}else Jn(a,268491,100666767,269278);break}default:{f=a+76|0;g=c[f>>2]|0;h=c[a+72>>2]|0;e=(g|0)!=(h|0)?h:0;e=(e|0)==0?944:e;j=g;switch(c[e>>2]|0){case 6:case 10:{m=f;n=j;o=h;p=g;break b}case 9:break;default:In(a,2094,0,268820)}if(!(c[e+8>>2]|0))In(a,2094,0,268820);else{m=f;n=j;o=h;p=g}}}while(0);j=p-o>>4>>>0>1?o+16|0:0;switch(c[((j|0)==0?944:j)>>2]|0){case 3:case 9:{t=k;u=1;i=m;s=n;d=o;r=p;break a}default:{}}Jn(a,268491,100666767,269278)}while(0);c:do if((q|0)==7){i=a+76|0;d=c[i>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[i>>2]=d+16;if(!(c[a+96>>2]|0))Jn(a,268491,100667321,271411);h=a+72|0;e=c[h>>2]|0;f=e+-16|0;g=c[f>>2]|0;if((g&-2|0)==2)Jn(a,268491,100667321,271411);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];if(g&8|0){u=(c[e+-8>>2]|0)+4|0;c[u>>2]=(c[u>>2]|0)+1}e=c[i>>2]|0;f=c[h>>2]|0;d=e-f>>4;if(!d)$n(a,342,0);d=d+-1|0;if(!d)d=f;else{e=f+(d<<4)|0;c[j>>2]=c[e>>2];c[j+4>>2]=c[e+4>>2];c[j+8>>2]=c[e+8>>2];c[j+12>>2]=c[e+12>>2];DQ(f+16|0,f|0,d<<4|0)|0;c[f>>2]=c[j>>2];c[f+4>>2]=c[j+4>>2];c[f+8>>2]=c[j+8>>2];c[f+12>>2]=c[j+12>>2];e=c[i>>2]|0;d=c[h>>2]|0}u=e-d>>4>>>0>1?d+16|0:0;switch(c[((u|0)==0?944:u)>>2]|0){case 3:case 9:{t=0;u=0;s=e;r=e;break c}default:d=0}l=x;return d|0}while(0);f=d;e=r-f>>4>>>0>1?d+16|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==9)g=c[e+8>>2]|0;else g=0;d=(r|0)!=(f|0)?d:0;d=(d|0)==0?944:d;e=c[d>>2]|0;d:do switch(e|0){case 6:case 10:{if((g|0)==(c[a+132+(((e|0)==6?5:53)<<2)>>2]|0))q=41;else q=45;break}case 9:{e=c[d+8>>2]|0;if((e|0)!=0?(v=e+20|0,w=c[v>>2]|0,(g|0)!=(w|0)):0)if(c[e>>2]&128){if(!g)c[v>>2]=0;else{d=g;do{if((d|0)==(e|0)){q=45;break d}d=c[d+20>>2]|0}while((d|0)!=0);c[v>>2]=g;v=g+4|0;c[v>>2]=(c[v>>2]|0)+1}if((w|0)!=0?(s=w+4|0,v=(c[s>>2]|0)+-1|0,c[s>>2]=v,(v|0)==0):0){fp(c[a+44>>2]|0,w);q=41}else q=41}else q=45;else q=41;break}default:q=41}while(0);if((q|0)==41){_n(a,1);if((t|0)!=2){a=u;l=x;return a|0}d=c[i>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3811);c[i>>2]=d+16;c[d>>2]=4;c[d+8>>2]=1;a=u;l=x;return a|0}else if((q|0)==45){if((t|0)!=2)Tn(a,278500,520);if(s>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3822);c[i>>2]=s+16;c[s>>2]=4;c[s+8>>2]=0;a=1;l=x;return a|0}return 0}function Ct(a){a=a|0;var b=0,d=0,e=0,f=0;e=a+76|0;d=c[e>>2]|0;f=a+72|0;b=d;do if((d|0)==(c[f>>2]|0))if(b>>>0<(c[a+68>>2]|0)>>>0){c[e>>2]=b+16;c[b>>2]=5;c[b+8>>2]=0;break}else Sn(a,3974);else Nu(a,0)|0;while(0);_n(a,1);b=c[a+88>>2]|0;if(!b)return 1;if(!(c[b+32>>2]&4))return 1;Bq(a,-2013249408,39)|0;b=c[e>>2]|0;if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);d=c[f>>2]|0;if((b|0)==(d|0))$n(a,342,0);c[e>>2]=b+16;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];if(c[b>>2]&8|0){d=(c[b+8>>2]|0)+4|0;c[d>>2]=(c[d>>2]|0)+1}f=c[f>>2]|0;b=(c[e>>2]|0)-f>>4;b=b>>>0>1?f+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[a+428>>2]|0)+356>>2]|0,0);return 1}function Dt(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;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){l=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)l=b[e+46>>1]|0;else l=0}else l=0;while(0);m=a+76|0;d=c[m>>2]|0;h=a+68|0;if(d>>>0>=(c[h>>2]|0)>>>0)Sn(a,3997);c[m>>2]=d+16;k=a+72|0;if(c[a+96>>2]|0?(f=c[k>>2]|0,g=f+-16|0,i=c[g>>2]|0,c[d>>2]=c[g>>2],c[d+4>>2]=c[g+4>>2],c[d+8>>2]=c[g+8>>2],c[d+12>>2]=c[g+12>>2],i&8|0):0){i=(c[f+-8>>2]|0)+4|0;c[i>>2]=(c[i>>2]|0)+1}d=c[m>>2]|0;f=c[k>>2]|0;i=d-f|0;e=i>>4;if(!e)$n(a,342,-1);g=e+-1|0;switch(c[f+(g<<4)>>2]|0){case 5:break;case 9:{j=14;break}default:Tn(a,278483,74)}if((j|0)==14){if((c[c[f+(g<<4)+8>>2]>>2]&-134217728|0)!=-2013265920)Tn(a,278483,74);e=c[(c[a+428>>2]|0)+356>>2]|0;if(d>>>0>=(c[h>>2]|0)>>>0)Sn(a,3761);c[m>>2]=d+16;c[d>>2]=8;c[d+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[k>>2]|0;f=(c[m>>2]|0)-e>>4;d=((i|0)<16?f:0)+g|0;if(d>>>0>=f>>>0)$n(a,342,g);ro(a,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[k>>2]|0;f=(c[m>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);i=e+(d<<4)|0;j=e+(f+-1<<4)|0;k=c[i>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(i|0,i+16|0,j-i|0)|0;c[j>>2]=2;c[m>>2]=(c[m>>2]|0)+-16;if(k&8|0?(k=d+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,d)}if(!l)return 1;Ho(a,-1)|0;return 1}function Et(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+88>>2]|0;if(!b)Jn(a,268476,100663783,278172);if(!(c[b+32>>2]&4))Jn(a,268476,100663783,278172);h=a+76|0;i=a+72|0;d=c[i>>2]|0;b=(c[h>>2]|0)!=(d|0)?d:0;b=(b|0)==0?944:b;switch(c[b>>2]|0){case 9:{b=c[b+8>>2]|0;if(!b)In(a,2094,0,268820);else{e=b;f=d}break}case 6:case 10:{vo(a,0);f=c[i>>2]|0;e=c[f+8>>2]|0;break}default:In(a,2094,0,268820)}if(c[e>>2]&67108864|0)Tn(a,269243,148);b=(c[h>>2]|0)-f>>4>>>0>1?f+16|0:0;b=(b|0)==0?944:b;switch(c[b>>2]|0){case 9:{b=c[b+8>>2]|0;if(!b)In(a,2094,1,268820);else g=b;break}case 6:case 10:{vo(a,1);g=c[(c[i>>2]|0)+24>>2]|0;break}default:In(a,2094,1,268820)}if(c[g>>2]&67108864|0)Tn(a,269243,148);g=a+68|0;if((c[h>>2]|0)>>>0>=(c[g>>2]|0)>>>0)Sn(a,4255);e=xo(a,40)|0;f=a+44|0;b=c[f>>2]|0;c[e>>2]=201343105;b=b+24|0;d=c[b>>2]|0;if(d|0)c[d+12>>2]=e;c[e+12>>2]=0;c[e+8>>2]=d;c[b>>2]=e;b=c[h>>2]|0;c[b>>2]=9;c[b+8>>2]=e;b=e+4|0;c[b>>2]=(c[b>>2]|0)+1;b=(c[h>>2]|0)+16|0;c[h>>2]=b;e=e+20|0;d=c[e>>2]|0;c[e>>2]=0;if((d|0)!=0?(j=d+4|0,e=(c[j>>2]|0)+-1|0,c[j>>2]=e,(e|0)==0):0){fp(c[f>>2]|0,d);b=c[h>>2]|0}if(b>>>0>=(c[g>>2]|0)>>>0)Sn(a,935);d=c[i>>2]|0;if((b|0)==(d|0))$n(a,342,0);c[h>>2]=b+16;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];if(c[b>>2]&8|0){j=(c[b+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}j=c[i>>2]|0;b=(c[h>>2]|0)-j>>4;b=b>>>0>1?j+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);e=a+428|0;ho(a,b,c[(c[e>>2]|0)+404>>2]|0,0);d=c[h>>2]|0;if(d>>>0>=(c[g>>2]|0)>>>0)Sn(a,935);b=c[i>>2]|0;if(d-b>>4>>>0<=1)$n(a,342,1);j=b+16|0;c[h>>2]=d+16;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];if(c[d>>2]&8|0){j=(c[d+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}j=c[i>>2]|0;b=(c[h>>2]|0)-j>>4;b=b>>>0>1?j+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);else{ho(a,b,c[(c[e>>2]|0)+408>>2]|0,0);return 1}return 0}function Ft(a){a=a|0;var b=0,d=0,e=0;e=a+76|0;d=a+72|0;b=c[d>>2]|0;b=(c[e>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,0,268820);if(!(c[b+8>>2]|0))In(a,1834,0,268820);Ho(a,1)|0;b=c[d>>2]|0;b=dp(a,b,b+16|0,0)|0;d=c[e>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){c[e>>2]=d+16;c[d>>2]=4;c[d+8>>2]=(b|0)!=0&1;return 1}else Sn(a,3799);return 0}function Gt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0;i=a+76|0;b=c[i>>2]|0;e=a+72|0;d=c[e>>2]|0;f=b-d|0;if((f|0)<32)Tn(a,268491,390);b=(b|0)!=(d|0)?d:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,0,268820);if(!(c[b+8>>2]|0))In(a,1834,0,268820);Ho(a,1)|0;a:do if((f|0)>32){g=c[e>>2]|0;d=(c[i>>2]|0)-g>>4;b=d|0?g:0;d=d>>>0>2?g+32|0:0;b:do if(!((b|0)==0|(d|0)==0)){e=c[b>>2]|0;f=c[d>>2]|0;if(!(f|e))if(+h[b+8>>3]==+h[d+8>>3]){j=g;break a}else break;if((e|0)==(f|0))switch(e|0){case 3:case 2:{j=g;break a}case 4:if((c[b+8>>2]|0)==(c[d+8>>2]|0)){j=g;break a}else break b;case 5:if((c[b+8>>2]|0)==(c[d+8>>2]|0)){j=g;break a}else break b;case 9:case 8:if((c[b+8>>2]|0)==(c[d+8>>2]|0)){j=g;break a}else break b;case 10:if((c[b+8>>2]|0)==(c[d+8>>2]|0)){j=g;break a}else break b;case 6:{if((c[b+8>>2]|0)!=(c[d+8>>2]|0))break b;if((c[b+4>>2]|0)==(c[d+4>>2]|0)){j=g;break a}else break b}default:{}}}while(0);Jn(a,278454,16777260,278471)}else j=c[e>>2]|0;while(0);ro(a,j,j+16|0)|0;return 1}function Ht(a){a=a|0;var b=0,d=0,e=0;e=a+76|0;d=a+72|0;b=c[d>>2]|0;b=(c[e>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,0,268820);if(!(c[b+8>>2]|0))In(a,1834,0,268820);Ho(a,1)|0;b=c[d>>2]|0;b=eq(a,b,b+16|0)|0;d=c[e>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){c[e>>2]=d+16;c[d>>2]=4;c[d+8>>2]=(b|0)!=0&1;return 1}else Sn(a,3799);return 0}function It(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0;j=a+76|0;b=c[j>>2]|0;e=a+72|0;d=c[e>>2]|0;f=b-d|0;if((f|0)<48)Tn(a,268491,390);b=(b|0)!=(d|0)?d:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,0,268820);if(!(c[b+8>>2]|0))In(a,1834,0,268820);Ho(a,1)|0;a:do if((f|0)>48){e=c[e>>2]|0;d=(c[j>>2]|0)-e>>4;b=d|0?e:0;d=d>>>0>3?e+48|0:0;b:do if(!((b|0)==0|(d|0)==0)){f=c[b>>2]|0;g=c[d>>2]|0;if(!(g|f))if(+h[b+8>>3]==+h[d+8>>3]){i=e;break a}else break;if((f|0)==(g|0))switch(f|0){case 3:case 2:{i=e;break a}case 4:if((c[b+8>>2]|0)==(c[d+8>>2]|0)){i=e;break a}else break b;case 5:if((c[b+8>>2]|0)==(c[d+8>>2]|0)){i=e;break a}else break b;case 9:case 8:if((c[b+8>>2]|0)==(c[d+8>>2]|0)){i=e;break a}else break b;case 10:if((c[b+8>>2]|0)==(c[d+8>>2]|0)){i=e;break a}else break b;case 6:{if((c[b+8>>2]|0)!=(c[d+8>>2]|0))break b;if((c[b+4>>2]|0)==(c[d+4>>2]|0)){i=e;break a}else break b}default:{}}}while(0);Jn(a,278454,16777307,278471)}else i=c[e>>2]|0;while(0);b=cp(a,i,i+16|0,c[i+32>>2]|0,c[i+36>>2]|0,+h[i+40>>3],0)|0;d=c[j>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){c[j>>2]=d+16;c[d>>2]=4;c[d+8>>2]=(b|0)!=0&1;return 1}else Sn(a,3799);return 0}function Jt(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;m=a+76|0;f=c[m>>2]|0;k=a+72|0;g=c[k>>2]|0;h=g;b=(f|0)!=(h|0)?g:0;b=(b|0)==0?944:b;i=c[b>>2]|0;j=f;if((i|0)==9)e=c[b+8>>2]|0;else e=0;b=c[a+88>>2]|0;if(!b)b=0;else b=(c[b+32>>2]|0)>>>2&1;d=(e|0)!=0;if((d&(b|0)==0?(c[e>>2]&-134217728|0)==1476395008:0)?(b=f-h>>4>>>0>1?g+16|0:0,(c[((b|0)==0?944:b)>>2]|0)==2):0){if(j>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);if((j|0)==(g|0))$n(a,342,0);c[m>>2]=j+16;m=f;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];if(!(c[j>>2]&8))return 1;m=(c[j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>>4;if(!d)$n(a,342,0);ro(a,b,b+(d+-1<<4)|0)|0;d=c[k>>2]|0;e=(c[m>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);i=d+(b<<4)|0;j=d+(e+-1<<4)|0;k=c[i>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(i|0,i+16|0,j-i|0)|0;c[j>>2]=2;c[m>>2]=(c[m>>2]|0)+-16;if(k&8|0?(k=b+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,b)}else l=45;while(0);do if((l|0)==45){do if((i|0)==2){b=c[(c[a+428>>2]|0)+60>>2]|0;if(j>>>0<(c[a+68>>2]|0)>>>0){c[m>>2]=j+16;c[j>>2]=8;c[j+8>>2]=b;l=b+4|0;c[l>>2]=(c[l>>2]|0)+1;break}else Sn(a,3761)}else{if(j>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);if((j|0)==(g|0))$n(a,342,0);c[m>>2]=j+16;l=f;c[l>>2]=c[g>>2];c[l+4>>2]=c[g+4>>2];c[l+8>>2]=c[g+8>>2];c[l+12>>2]=c[g+12>>2];if(c[j>>2]&8|0){l=(c[j+8>>2]|0)+4|0;c[l>>2]=(c[l>>2]|0)+1}Ho(a,-1)|0}while(0);g=c[m>>2]|0;d=c[k>>2]|0;b=g-d>>4>>>0>1;d=d+16|0;l=b?d:0;e=g;if((c[((l|0)==0?944:l)>>2]|0)==2){f=c[(c[a+428>>2]|0)+60>>2]|0;if(e>>>0<(c[a+68>>2]|0)>>>0){c[m>>2]=e+16;c[e>>2]=8;c[e+8>>2]=f;m=f+4|0;c[m>>2]=(c[m>>2]|0)+1;break}else Sn(a,3761)}if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,935);if(!b)$n(a,342,1);c[m>>2]=e+16;m=g;c[m>>2]=c[d>>2];c[m+4>>2]=c[d+4>>2];c[m+8>>2]=c[d+8>>2];c[m+12>>2]=c[d+12>>2];if(c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[g>>2]|0)+-1|0,c[g>>2]=o,(o|0)==0):0)go(c[b+44>>2]|0,d);e=gq(b,-1)|0;d=c[k>>2]|0;if((d|0)==(c[i>>2]|0))Jn(b,268491,50336874,268507);g=d+-16|0;c[k>>2]=g;o=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[g>>2]=2;if(o&8|0?(g=d+4|0,o=(c[g>>2]|0)+-1|0,c[g>>2]=o,(o|0)==0):0)go(c[b+44>>2]|0,d);if(!e)d=j;else{a[j>>0]=103;d=j+1|0}o=c[k>>2]|0;e=o;if((o|0)==(c[i>>2]|0))$n(b,267,0);f=c[(c[h>>2]|0)+180>>2]|0;if(e>>>0>=(c[m>>2]|0)>>>0)Sn(b,3761);c[k>>2]=e+16;c[e>>2]=8;c[e+8>>2]=f;e=f+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[i>>2]|0;f=(c[k>>2]|0)-e>>4;if(!f)$n(b,342,0);ro(b,e,e+(f+-1<<4)|0)|0;f=c[i>>2]|0;g=(c[k>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(b,342,-2);p=f+(e<<4)|0;g=f+(g+-1<<4)|0;o=c[p>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(p|0,p+16|0,g-p|0)|0;c[g>>2]=2;c[k>>2]=(c[k>>2]|0)+-16;if(o&8|0?(o=e+4|0,p=(c[o>>2]|0)+-1|0,c[o>>2]=p,(p|0)==0):0)go(c[b+44>>2]|0,e);f=gq(b,-1)|0;e=c[k>>2]|0;if((e|0)==(c[i>>2]|0))Jn(b,268491,50336874,268507);o=e+-16|0;c[k>>2]=o;p=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[o>>2]=2;do if(p&8|0){o=e+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(p|0)break;go(c[b+44>>2]|0,e)}while(0);if(f){a[d>>0]=105;d=d+1|0}p=c[k>>2]|0;f=p;if((p|0)==(c[i>>2]|0))$n(b,267,0);e=c[(c[h>>2]|0)+184>>2]|0;if(f>>>0>=(c[m>>2]|0)>>>0)Sn(b,3761);c[k>>2]=f+16;c[f>>2]=8;c[f+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[i>>2]|0;f=(c[k>>2]|0)-e>>4;if(!f)$n(b,342,0);ro(b,e,e+(f+-1<<4)|0)|0;f=c[i>>2]|0;g=(c[k>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(b,342,-2);h=f+(e<<4)|0;o=f+(g+-1<<4)|0;p=c[h>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(h|0,h+16|0,o-h|0)|0;c[o>>2]=2;c[k>>2]=(c[k>>2]|0)+-16;do if(p&8|0){o=e+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(p|0)break;go(c[b+44>>2]|0,e)}while(0);f=gq(b,-1)|0;e=c[k>>2]|0;if((e|0)==(c[i>>2]|0))Jn(b,268491,50336874,268507);o=e+-16|0;c[k>>2]=o;p=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[o>>2]=2;do if(p&8|0){o=e+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(p|0)break;go(c[b+44>>2]|0,e)}while(0);if(f){a[d>>0]=109;d=d+1|0}a[d>>0]=0;d=JO(j)|0;if((c[k>>2]|0)>>>0>=(c[m>>2]|0)>>>0)Sn(b,3931);if((d|0)<0)Jn(b,268491,50335592,268919);else{p=Fo(b,j,d)|0;o=c[k>>2]|0;c[k>>2]=o+16;c[o>>2]=8;c[o+8>>2]=p;p=p+4|0;c[p>>2]=(c[p>>2]|0)+1;l=n;return 1}return 0}function Mt(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;m=a+76|0;f=c[m>>2]|0;n=a+68|0;if(f>>>0>=(c[n>>2]|0)>>>0)Sn(a,3997);c[m>>2]=f+16;l=a+72|0;if(c[a+96>>2]|0?(e=c[l>>2]|0,j=e+-16|0,k=c[j>>2]|0,c[f>>2]=c[j>>2],c[f+4>>2]=c[j+4>>2],c[f+8>>2]=c[j+8>>2],c[f+12>>2]=c[j+12>>2],k&8|0):0){k=(c[e+-8>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}h=c[m>>2]|0;j=c[l>>2]|0;i=j;e=h-i>>4;e=e|0?j+(e+-1<<4)|0:0;e=(e|0)==0?944:e;j=h;if((c[e>>2]|0)!=9)In(a,1834,-1,268820);g=c[e+8>>2]|0;if(!g)In(a,1834,-1,268820);e=c[a+88>>2]|0;do if(e){f=c[e+16>>2]|0;if(!f){k=(c[e+4>>2]|0)>>>8<<24>>24;break}if(c[f>>2]&4096)k=b[f+46>>1]|0;else k=0}else k=0;while(0);if((c[g>>2]&-134217728|0)!=1476395008){if((g|0)!=(c[a+200>>2]|0))Tn(a,278438,191);if((k|0)!=16){n=0;return n|0}if(j>>>0>=(c[n>>2]|0)>>>0)Sn(a,3931);n=Fo(a,270679,4)|0;a=c[m>>2]|0;c[m>>2]=a+16;c[a>>2]=8;c[a+8>>2]=n;n=n+4|0;c[n>>2]=(c[n>>2]|0)+1;n=1;return n|0}if((h|0)==(i|0))$n(a,267,0);h=a+428|0;e=c[(c[h>>2]|0)+376>>2]|0;if(j>>>0>=(c[n>>2]|0)>>>0)Sn(a,3761);c[m>>2]=j+16;c[j>>2]=8;c[j+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[l>>2]|0;f=(c[m>>2]|0)-e>>4;if(!f)$n(a,342,0);ro(a,e,e+(f+-1<<4)|0)|0;f=c[l>>2]|0;g=(c[m>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(a,342,-2);o=f+(e<<4)|0;i=f+(g+-1<<4)|0;j=c[o>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(o|0,o+16|0,i-o|0)|0;c[i>>2]=2;f=(c[m>>2]|0)+-16|0;c[m>>2]=f;if((j&8|0)!=0?(j=e+4|0,o=(c[j>>2]|0)+-1|0,c[j>>2]=o,(o|0)==0):0){go(c[a+44>>2]|0,e);f=c[m>>2]|0}g=f;if((f|0)==(c[l>>2]|0))$n(a,267,0);e=c[(c[h>>2]|0)+364>>2]|0;if(g>>>0>=(c[n>>2]|0)>>>0)Sn(a,3761);c[m>>2]=g+16;c[g>>2]=8;c[g+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[l>>2]|0;f=(c[m>>2]|0)-e>>4;if(!f)$n(a,342,0);ro(a,e,e+(f+-1<<4)|0)|0;f=c[l>>2]|0;g=(c[m>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(a,342,-2);j=f+(e<<4)|0;g=f+(g+-1<<4)|0;o=c[j>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(j|0,j+16|0,g-j|0)|0;c[g>>2]=2;g=(c[m>>2]|0)+-16|0;c[m>>2]=g;f=g;if((o&8|0)!=0?(j=e+4|0,o=(c[j>>2]|0)+-1|0,c[j>>2]=o,(o|0)==0):0){go(c[a+44>>2]|0,e);g=c[m>>2]|0;f=g}h=c[l>>2]|0;e=f-h>>4;e=e|0?h+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8)In(a,1812,-1,287470);e=c[e+8>>2]|0;if(!e)In(a,1812,-1,287470);f=d[e+28>>0]|0;if((g|0)==(h|0))Jn(a,268491,50336874,268507);l=g+-16|0;c[m>>2]=l;o=c[g+-16>>2]|0;e=c[g+-8>>2]|0;c[l>>2]=2;do if(o&8|0){l=e+4|0;o=(c[l>>2]|0)+-1|0;c[l>>2]=o;if(o|0)break;go(c[a+44>>2]|0,e)}while(0);switch(k|0){case 0:{e=c[m>>2]|0;if(e>>>0>=(c[n>>2]|0)>>>0)Sn(a,3799);c[m>>2]=e+16;c[e>>2]=4;c[e+8>>2]=f&1;o=1;return o|0}case 1:{e=c[m>>2]|0;if(e>>>0>=(c[n>>2]|0)>>>0)Sn(a,3799);c[m>>2]=e+16;c[e>>2]=4;c[e+8>>2]=f>>>1&1;o=1;return o|0}case 2:{e=c[m>>2]|0;if(e>>>0>=(c[n>>2]|0)>>>0)Sn(a,3799);c[m>>2]=e+16;c[e>>2]=4;c[e+8>>2]=f>>>2&1;o=1;return o|0}default:{o=1;return o|0}}return 0}function Nt(a){a=a|0;var b=0,d=0,e=0,f=0;Mu(a);Iu(a,0);d=a+76|0;e=c[d>>2]|0;f=c[a+72>>2]|0;b=e-f>>4;b=b|0?f+(b+-1<<4)|0:0;if(e>>>0<(c[a+68>>2]|0)>>>0){f=(c[((b|0)==0?944:b)>>2]|0)!=3&1;c[d>>2]=e+16;c[e>>2]=4;c[e+8>>2]=f;return 1}else Sn(a,3799);return 0}function Ot(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+76|0;d=c[i>>2]|0;g=a+68|0;if(d>>>0>=(c[g>>2]|0)>>>0)Sn(a,3997);c[i>>2]=d+16;if(c[a+96>>2]|0?(b=c[a+72>>2]|0,f=b+-16|0,h=c[f>>2]|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],h&8|0):0){h=(c[b+-8>>2]|0)+4|0;c[h>>2]=(c[h>>2]|0)+1}if((c[i>>2]|0)>>>0>=(c[g>>2]|0)>>>0)Sn(a,3931);f=Fo(a,308375,1)|0;h=c[i>>2]|0;c[i>>2]=h+16;c[h>>2]=8;c[h+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[i>>2]|0;h=a+72|0;b=f;if((f|0)==(c[h>>2]|0))$n(a,267,0);f=a+428|0;d=c[(c[f>>2]|0)+176>>2]|0;if(b>>>0>=(c[g>>2]|0)>>>0)Sn(a,3761);c[i>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;b=d+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[h>>2]|0;d=(c[i>>2]|0)-b>>4;if(!d)$n(a,342,0);ro(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>2]|0,b);Io(a,4,0);return 1}function Pt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=b+76|0;g=c[h>>2]|0;i=b+72|0;d=c[i>>2]|0;e=g;do if((g|0)==(d|0)){d=c[(c[b+428>>2]|0)+60>>2]|0;if(e>>>0<(c[b+68>>2]|0)>>>0){c[h>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;g=d+4|0;c[g>>2]=(c[g>>2]|0)+1;break}else Sn(b,3761)}else{d=(d|0)==0?944:d;if(!(((c[d>>2]|0)==8?(f=c[d+8>>2]|0,(f|0)!=0):0)?(c[f>>2]&512|0)!=0:0)){Ho(b,0)|0;e=c[h>>2]|0;d=c[i>>2]|0;d=(e|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8)f=c[d+8>>2]|0;else f=0}if(c[f>>2]&512|0){g=c[b+88>>2]|0;if(g|0?c[g+32>>2]&4|0:0)break;g=b+68|0;if(e>>>0>=(c[g>>2]|0)>>>0)Sn(b,3931);j=Fo(b,278428,7)|0;d=c[h>>2]|0;c[h>>2]=d+16;c[d>>2]=8;c[d+8>>2]=j;j=j+4|0;c[j>>2]=(c[j>>2]|0)+1;j=f+28|0;d=c[f+20>>2]|0;e=j+d|0;f=j+1|0;a:do if((d|0)>1){d=f;do{if((a[d>>0]|0)==-1)break a;d=d+1|0}while(d>>>0>>0)}else d=f;while(0);d=d-f|0;if((c[h>>2]|0)>>>0>=(c[g>>2]|0)>>>0)Sn(b,3931);if((d|0)<0)Jn(b,268491,50335592,268919);j=Fo(b,f,d)|0;f=c[h>>2]|0;c[h>>2]=f+16;c[f>>2]=8;c[f+8>>2]=j;j=j+4|0;c[j>>2]=(c[j>>2]|0)+1;if((c[h>>2]|0)>>>0>=(c[g>>2]|0)>>>0)Sn(b,3931);e=Fo(b,278436,1)|0;d=c[h>>2]|0;c[h>>2]=d+16;c[d>>2]=8;c[d+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;Io(b,3,0);e=c[i>>2]|0;d=(c[h>>2]|0)-e>>4;if(!d)$n(b,342,-1);g=e+(d+-1<<4)|0;j=c[e>>2]|0;d=c[e+8>>2]|0;c[e>>2]=c[g>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];c[g>>2]=2;c[h>>2]=(c[h>>2]|0)+-16;if(j&8|0?(g=d+4|0,j=(c[g>>2]|0)+-1|0,c[g>>2]=j,(j|0)==0):0)go(c[b+44>>2]|0,d)}}while(0);Ho(b,0)|0;_n(b,1);d=c[b+88>>2]|0;if(!d)return 1;if(!(c[d+32>>2]&4))return 1;Bq(b,1619017856,9)|0;d=c[h>>2]|0;if(d>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,935);e=c[i>>2]|0;if((d|0)==(e|0))$n(b,342,0);c[h>>2]=d+16;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];if(c[d>>2]&8|0){j=(c[d+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}j=c[i>>2]|0;d=(c[h>>2]|0)-j>>4;d=d>>>0>1?j+(d+-2<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=9)In(b,1834,-2,268820);d=c[d+8>>2]|0;if(!d)In(b,1834,-2,268820);ho(b,d,c[(c[b+428>>2]|0)+356>>2]|0,0);return 1}function Qt(a){a=a|0;Lu(a,0);return 1}function Rt(a){a=a|0;Lu(a,1);return 1}function St(d){d=d|0;var 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;v=l;l=l+32|0;g=v+16|0;s=v;e=c[d+88>>2]|0;do if(e){f=c[e+16>>2]|0;if(!f){q=(c[e+4>>2]|0)>>>8<<24>>24;break}if(c[f>>2]&4096)q=b[f+46>>1]|0;else q=0}else q=0;while(0);Hu(d)|0;u=d+76|0;f=c[u>>2]|0;r=d+72|0;t=c[r>>2]|0;e=f-t>>4;e=e|0?t+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8)In(d,1812,-1,287470);h=c[e+8>>2]|0;if(!h)In(d,1812,-1,287470);j=h+20|0;i=c[j>>2]|0;if(f>>>0>=(c[d+68>>2]|0)>>>0)Sn(d,4815);if(i>>>0>2147483646)Jn(d,268491,50336467,268447);t=d+44|0;e=Po(c[t>>2]|0,i,1,g)|0;if(!e)Mn(d,268491,4824);m=c[u>>2]|0;c[m>>2]=10;c[m+8>>2]=e;m=e+4|0;c[m>>2]=(c[m>>2]|0)+1;m=c[u>>2]|0;c[u>>2]=m+16;m=c[m+8>>2]|0;n=s+12|0;c[n>>2]=m;m=c[m+20>>2]|0;c[s>>2]=m;o=s+4|0;c[o>>2]=m;p=s+8|0;c[p>>2]=m+i;m=h+28|0;k=m+(c[j>>2]|0)|0;i=-1;j=-1;e=m;a:while(1){if(e>>>0>>0){if(e>>>0>>0){e=35;break}h=e+1|0;e=a[e>>0]|0;f=e&255;do if(e<<24>>24<=-1){if((e&255)<192){e=35;break a}if((e&255)<224){e=1;f=f&31;break}if((e&255)<240){e=2;f=f&15;break}if((e&255)<248){e=3;f=f&7;break}if((e&255)<252){e=4;f=f&3;break}if((e&255)>=254)if(e<<24>>24==-1){e=35;break a}else{e=6;f=0;break}else{e=5;f=f&1;break}}else{e=0;f=f&127}while(0);if((h+e|0)>>>0>k>>>0){e=35;break}if(!e)e=h;else{g=e;while(1){e=h+1|0;f=a[h>>0]&63|f<<6;if((g|0)>1){h=e;g=g+-1|0}else break}}if((j|0)>-1)h=f;else{i=j;j=f;continue}}else if((j|0)<0){e=43;break}else h=-1;f=c[s>>2]|0;if(((c[p>>2]|0)-f|0)>>>0<56){f=f-(c[o>>2]|0)|0;g=f+120+(f>>>4)|0;if(g>>>0>>0){e=40;break}Kn(d,c[n>>2]|0,g);w=c[(c[n>>2]|0)+20>>2]|0;c[s>>2]=w+f;c[o>>2]=w;c[p>>2]=w+g}zq(s,j,i,h,q)|0;w=j;j=h;i=w}if((e|0)==35)lo(d,271603,282);else if((e|0)==40)Jn(d,269610,50331716,268447);else if((e|0)==43){f=(c[s>>2]|0)-(c[o>>2]|0)|0;Kn(d,c[n>>2]|0,f);g=c[(c[n>>2]|0)+20>>2]|0;f=g+f|0;c[s>>2]=f;c[o>>2]=g;c[p>>2]=f;Ro(d);f=c[r>>2]|0;g=(c[u>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(d,342,-2);s=f+(e<<4)|0;d=f+(g+-1<<4)|0;w=c[s>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(s|0,s+16|0,d-s|0)|0;c[d>>2]=2;c[u>>2]=(c[u>>2]|0)+-16;if(!(w&8)){l=v;return 1}d=e+4|0;w=(c[d>>2]|0)+-1|0;c[d>>2]=w;if(w|0){l=v;return 1}go(c[t>>2]|0,e);l=v;return 1}return 0}function Tt(a){a=a|0;var b=0,d=0.0;Hu(a)|0;aq(a,0);b=c[a+72>>2]|0;b=(c[a+76>>2]|0)!=(b|0)?b:0;b=(b|0)==0?944:b;if((c[b>>2]|0)==0?(d=+h[b+8>>3],(XO(d)|0)!=0):0)if(!(d<-2147483648.0))if(d>2147483647.0)b=2147483647;else b=~~d;else b=-2147483648;else b=0;Nq(a,b,b+1|0);return 1}function Ut(d){d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0.0,p=0,q=0,r=0;r=l;l=l+16|0;g=r;j=Hu(d)|0;i=ar(d,0,0,(wp(j)|0)+-1|0,g)|0;f=c[d+88>>2]|0;do if(f){e=c[f+16>>2]|0;if(!e){m=(c[f+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)m=b[e+46>>1]|0;else m=0}else m=0;while(0);do if(!(c[g>>2]|0)){i=Jq(d,j,i)|0;k=j+28|0;j=c[j+20>>2]|0;n=k+j|0;e=k+i|0;a:do if(e>>>0>=k>>>0&(i|0)<(j|0)){i=e+1|0;e=a[e>>0]|0;f=e&255;do if(e<<24>>24<=-1){if((e&255)<192){g=65533;break a}if((e&255)<224){e=1;g=f&31;break}if((e&255)<240){e=2;g=f&15;break}if((e&255)<248){e=3;g=f&7;break}if((e&255)<252){e=4;g=f&3;break}if((e&255)>=254)if(e<<24>>24==-1){g=65533;break a}else{e=6;g=0;break}else{e=5;g=f&1;break}}else{e=0;g=f&127}while(0);if((i+e|0)>>>0<=n>>>0){if(!e)e=i;else{f=e;while(1){e=i+1|0;g=a[i>>0]&63|g<<6;if((f|0)>1){i=e;f=f+-1|0}else break}}if((m|0)!=0&(g&-1024|0)==55296?e>>>0>=k>>>0&e>>>0>>0:0){j=e+1|0;e=a[e>>0]|0;i=e&255;do if(e<<24>>24<=-1){if((e&255)<192)break a;if((e&255)<224){f=1;e=i&31;break}if((e&255)<240){f=2;e=i&15;break}if((e&255)<248){f=3;e=i&7;break}if((e&255)<252){f=4;e=i&3;break}if((e&255)>=254)if(e<<24>>24==-1)break a;else{f=6;e=0;break}else{f=5;e=i&1;break}}else{f=0;e=i&127}while(0);if((j+f|0)>>>0<=n>>>0){if(f){i=j;while(1){e=a[i>>0]&63|e<<6;if((f|0)>1){i=i+1|0;f=f+-1|0}else break}}g=(e&-1024|0)==56320?(g<<10)+-56613888+e|0:g}}}else g=65533}else g=65533;while(0);e=d+76|0;f=c[e>>2]|0;if(f>>>0<(c[d+68>>2]|0)>>>0){o=+(g>>>0);p=e;q=f;break}else Sn(d,3902)}else{if(m|0){d=0;l=r;return d|0}e=d+76|0;f=c[e>>2]|0;if(f>>>0<(c[d+68>>2]|0)>>>0){o=s;p=e;q=f}else Sn(d,3916)}while(0);c[p>>2]=q+16;c[q>>2]=0;h[q+8>>3]=o;d=1;l=r;return d|0}function Vt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+16|0;d=j;Hu(a)|0;e=a+76|0;f=c[e>>2]|0;g=a+72|0;h=c[g>>2]|0;i=h;b=f-i>>4;if(!b)$n(a,342,0);b=b+-1|0;if(!b){h=f;i=h-i|0;i=i>>4;Io(a,i,0);l=j;return 1}i=h+(b<<4)|0;c[d>>2]=c[i>>2];c[d+4>>2]=c[i+4>>2];c[d+8>>2]=c[i+8>>2];c[d+12>>2]=c[i+12>>2];DQ(h+16|0,h|0,b<<4|0)|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];h=c[e>>2]|0;i=c[g>>2]|0;i=h-i|0;i=i>>4;Io(a,i,0);l=j;return 1}function Wt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;e=o;g=Hu(b)|0;n=b+76|0;d=b+72|0;m=c[d>>2]|0;m=(c[n>>2]|0)!=(m|0)?m:0;m=(m|0)==0?944:m;if((c[m>>2]|0)==9?(c[c[m+8>>2]>>2]&-134217728|0)==1476395008:0)Tn(b,278340,30);Ho(b,0)|0;d=c[d>>2]|0;d=(c[n>>2]|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8)f=c[d+8>>2]|0;else f=0;d=ar(b,1,0,wp(g)|0,e)|0;m=f+28|0;j=c[f+20>>2]|0;a:do if((j|0)>=1){f=Jq(b,g,d)|0;k=g+28|0;i=c[g+20>>2]|0;g=k+i|0;e=k+f|0;h=a[m>>0]|0;if((f|0)>(i|0)|e>>>0>>0)d=-1;else{i=g;while(1){f=a[e>>0]|0;if((f<<24>>24==h<<24>>24?(i-e|0)>>>0>=j>>>0:0)?(xN(e,m,j)|0)==0:0)break a;e=e+1|0;if(e>>>0>g>>>0|e>>>0>>0){d=-1;break}else d=((f&-64)<<24>>24!=-128&1)+d|0}}}while(0);e=c[n>>2]|0;if(e>>>0<(c[b+68>>2]|0)>>>0){c[n>>2]=e+16;c[e>>2]=4;c[e+8>>2]=d>>>31^1;l=o;return 1}else Sn(b,3799);return 0}function Xt(d){d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=l;l=l+16|0;n=s;e=c[d+88>>2]|0;do if(e){f=c[e+16>>2]|0;if(!f){q=(c[e+4>>2]|0)>>>8<<24>>24;break}if(c[f>>2]&4096)q=b[f+46>>1]|0;else q=0}else q=0;while(0);p=Hu(d)|0;e=wp(p)|0;Ho(d,0)|0;r=d+76|0;g=c[r>>2]|0;k=d+72|0;i=c[k>>2]|0;j=i;f=(g|0)!=(j|0)?i:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8)m=c[f+8>>2]|0;else m=0;if(g-j>>4>>>0<=1)$n(d,267,1);t=+jo(d,i+16|0);f=c[k>>2]|0;i=f+16|0;o=c[i>>2]|0;j=f+24|0;g=c[j>>2]|0;c[i>>2]=0;h[j>>3]=t;if((o&8|0)!=0?(j=g+4|0,o=(c[j>>2]|0)+-1|0,c[j>>2]=o,(o|0)==0):0){go(c[d+44>>2]|0,g);f=c[k>>2]|0}f=(c[r>>2]|0)-f>>4>>>0>1?f+16|0:0;f=(f|0)==0?944:f;if(!((c[f>>2]|0)==0?(o=f+8|0,k=c[o+4>>2]&2147483647,(q|0)!=0&(k>>>0>2146435072|(k|0)==2146435072&(c[o>>2]|0)>>>0>0)):0))e=ar(d,1,0,e,n)|0;o=m+28|0;m=c[m+20>>2]|0;a:do if((m|0)>=1){k=Jq(d,p,e)|0;n=p+28|0;p=c[p+20>>2]|0;i=n+p|0;f=n+k|0;j=a[o>>0]|0;if(!((k|0)>(p|0)|f>>>0>>0)){k=i;if(!q)while(1){g=a[f>>0]|0;if((g<<24>>24==j<<24>>24?(k-f|0)>>>0>=m>>>0:0)?(xN(f,o,m)|0)==0:0)break a;f=f+1|0;if(f>>>0>i>>>0|f>>>0>>0){e=-1;break}else e=((g&-64)<<24>>24!=-128&1)+e|0}else while(1){g=a[f>>0]|0;if((g<<24>>24==j<<24>>24?(k-f|0)>>>0>=m>>>0:0)?(xN(f,o,m)|0)==0:0)break a;f=f+-1|0;if(f>>>0>i>>>0|f>>>0>>0){e=-1;break}else e=(((g&-64)<<24>>24!=-128)<<31>>31)+e|0}}else e=-1}while(0);f=c[r>>2]|0;if(f>>>0<(c[d+68>>2]|0)>>>0){c[r>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+(e|0);l=s;return 1}else Sn(d,3868);return 0}function Yt(a){a=a|0;var b=0.0,d=0,e=0,f=0,g=0,i=0,j=0;e=Hu(a)|0;Ho(a,0)|0;j=a+76|0;i=c[j>>2]|0;d=c[a+72>>2]|0;d=(i|0)!=(d|0)?d:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8)d=c[d+8>>2]|0;else d=0;f=c[e+20>>2]|0;g=c[d+20>>2]|0;d=xN(e+28|0,d+28|0,f>>>0<=g>>>0?f:g)|0;if((d|0)<0)b=-1.0;else b=f>>>0>g>>>0|(d|0)!=0?1.0:+(((f|0)!=(g|0))<<31>>31);if(i>>>0<(c[a+68>>2]|0)>>>0){c[j>>2]=i+16;c[i>>2]=0;h[i+8>>3]=b;return 1}else Sn(a,3868);return 0}function Zt(a){a=a|0;var b=0,d=0,e=0,f=0.0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;Hu(a)|0;Ku(a,0);p=a+76|0;q=c[p>>2]|0;n=a+72|0;d=q;if((q|0)==(c[n>>2]|0))$n(a,267,0);o=a+428|0;b=c[(c[o>>2]|0)+108>>2]|0;q=a+68|0;if(d>>>0>=(c[q>>2]|0)>>>0)Sn(a,3761);c[p>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[n>>2]|0;d=(c[p>>2]|0)-b>>4;if(!d)$n(a,342,0);ro(a,b,b+(d+-1<<4)|0)|0;d=c[n>>2]|0;e=(c[p>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);g=d+(b<<4)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|0;c[e>>2]=2;if(g&8|0?(e=b+4|0,g=(c[e>>2]|0)+-1|0,c[e>>2]=g,(g|0)==0):0)Wn(c[k>>2]|0,b);c[p>>2]=d+-32;b=c[k>>2]|0;if(c[b+32>>2]|0)Rn(b);e=xo(a,48)|0;g=c[k>>2]|0;c[e>>2]=272679041;b=g+24|0;d=c[b>>2]|0;if(d|0)c[d+12>>2]=e;c[e+12>>2]=0;c[e+8>>2]=d;c[b>>2]=e;b=c[a+160>>2]|0;r=e+20|0;d=c[r>>2]|0;c[r>>2]=b;if(b|0){r=b+4|0;c[r>>2]=(c[r>>2]|0)+1}do if(d|0){b=d+4|0;r=(c[b>>2]|0)+-1|0;c[b>>2]=r;if(r|0)break;fp(g,d)}while(0);b=c[p>>2]|0;c[b>>2]=9;c[b+8>>2]=e;b=e+4|0;c[b>>2]=(c[b>>2]|0)+1;b=(c[p>>2]|0)+16|0;c[p>>2]=b;if(b>>>0<(c[q>>2]|0)>>>0){m=0;j=0;i=b}else Sn(a,935);a:while(1){b=c[n>>2]|0;if((i|0)==(b|0)){b=48;break}c[p>>2]=i+16;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];if(c[i>>2]&8|0){r=(c[i+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}b=c[p>>2]|0;if(b>>>0>=(c[q>>2]|0)>>>0){b=52;break}d=c[n>>2]|0;if(b-d>>4>>>0<=1){b=54;break}r=d+16|0;c[p>>2]=b+16;c[b>>2]=c[r>>2];c[b+4>>2]=c[r+4>>2];c[b+8>>2]=c[r+8>>2];c[b+12>>2]=c[r+12>>2];if(c[b>>2]&8|0){r=(c[b+8>>2]|0)+4|0;c[r>>2]=(c[r>>2]|0)+1}Iu(a,0);b=c[p>>2]|0;e=c[n>>2]|0;d=e;r=b-d>>4;r=r|0?e+(r+-1<<4)|0:0;g=b;if((c[((r|0)==0?944:r)>>2]|0)!=9){b=58;break}if((b|0)==(d|0)){b=65;break}b=c[(c[o>>2]|0)+188>>2]|0;if(g>>>0>=(c[q>>2]|0)>>>0){b=67;break}c[p>>2]=g+16;c[g>>2]=8;c[g+8>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;b=c[n>>2]|0;d=(c[p>>2]|0)-b>>4;if(!d){b=69;break}ro(a,b,b+(d+-1<<4)|0)|0;d=c[n>>2]|0;e=(c[p>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1){b=71;break}i=d+(b<<4)|0;e=d+(e+-1<<4)|0;r=c[i>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(i|0,i+16|0,e-i|0)|0;c[e>>2]=2;e=(c[p>>2]|0)+-16|0;c[p>>2]=e;d=e;do if(r&8){i=b+4|0;r=(c[i>>2]|0)+-1|0;c[i>>2]=r;if(r|0)break;go(c[k>>2]|0,b);e=c[p>>2]|0;d=e}while(0);g=c[n>>2]|0;b=d-g>>4;b=b|0?g+(b+-1<<4)|0:0;b=(b|0)==0?944:b;do if(!(c[b>>2]|0)){f=+h[b+8>>3];if(!(XO(f)|0)){d=0;break}if(f<-2147483648.0){d=-2147483648;break}if(f>2147483647.0){d=2147483647;break}d=~~f}else d=0;while(0);if((e|0)==(g|0)){b=81;break}i=e+-16|0;c[p>>2]=i;r=c[e+-16>>2]|0;b=c[e+-8>>2]|0;c[i>>2]=2;do if(r&8|0){i=b+4|0;r=(c[i>>2]|0)+-1|0;c[i>>2]=r;if(r|0)break;go(c[k>>2]|0,b)}while(0);do if((d|0)==(j|0)){i=j+1|0;b=c[p>>2]|0;d=c[q>>2]|0;if(b>>>0>=d>>>0){b=87;break a}e=b+16|0;c[p>>2]=e;c[b>>2]=0;h[b+8>>3]=+(i|0);if((e|0)==(c[n>>2]|0)){b=89;break a}g=c[(c[o>>2]|0)+188>>2]|0;if(e>>>0>=d>>>0){b=91;break a}c[p>>2]=b+32;c[e>>2]=8;c[b+24>>2]=g;e=g+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[n>>2]|0;g=(c[p>>2]|0)-e>>4;if(!g){b=93;break a}if((g|0)==1){b=95;break a}d=g+-2|0;b=c[l>>2]|0;if(!b)b=1;else b=c[b+32>>2]&1;cp(a,e,e+(g+-1<<4)|0,c[e+(d<<4)>>2]|0,c[e+(d<<4)+4>>2]|0,+h[e+(d<<4)+8>>3],b)|0;d=c[p>>2]|0;if(d-(c[n>>2]|0)>>4>>>0<2){b=99;break a}j=d+-16|0;r=c[j>>2]|0;b=c[d+-8>>2]|0;c[j>>2]=2;do if(r&8|0){j=b+4|0;r=(c[j>>2]|0)+-1|0;c[j>>2]=r;if(r|0)break;Wn(c[k>>2]|0,b)}while(0);j=d+-32|0;r=c[j>>2]|0;b=c[d+-24>>2]|0;c[j>>2]=2;do if(r&8|0){j=b+4|0;r=(c[j>>2]|0)+-1|0;c[j>>2]=r;if(r|0)break;Wn(c[k>>2]|0,b)}while(0);c[p>>2]=d+-32;b=c[k>>2]|0;if(!(c[b+32>>2]|0)){g=i;break}Rn(b);g=i}else g=d;while(0);Zp(a,-1,0)|0;Tp(a,2,m);e=m+1|0;b=c[p>>2]|0;if((b|0)==(c[n>>2]|0)){b=106;break}d=b+-16|0;c[p>>2]=d;r=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[d>>2]=2;do if(r&8){m=b+4|0;r=(c[m>>2]|0)+-1|0;c[m>>2]=r;if(r|0)break;go(c[k>>2]|0,b);d=c[p>>2]|0}while(0);if(d>>>0<(c[q>>2]|0)>>>0){m=e;j=g;i=d}else{b=46;break}}switch(b|0){case 46:{Sn(a,935);break}case 48:{$n(a,342,0);break}case 52:{Sn(a,935);break}case 54:{$n(a,342,1);break}case 58:{if((g|0)==(e|0))Jn(a,268491,50336874,268507);o=g+-16|0;c[p>>2]=o;r=c[g+-16>>2]|0;b=c[g+-8>>2]|0;c[o>>2]=2;do if(r&8|0){o=b+4|0;r=(c[o>>2]|0)+-1|0;c[o>>2]=r;if(r|0)break;go(c[k>>2]|0,b)}while(0);if(m|0)return 1;b=c[p>>2]|0;if(b>>>0>=(c[q>>2]|0)>>>0)Sn(a,3787);c[p>>2]=b+16;c[b>>2]=3;return 1}case 65:{$n(a,267,0);break}case 67:{Sn(a,3761);break}case 69:{$n(a,342,0);break}case 71:{$n(a,342,-2);break}case 81:{Jn(a,268491,50336874,268507);break}case 87:{Sn(a,3868);break}case 89:{$n(a,267,0);break}case 91:{Sn(a,3761);break}case 93:{$n(a,342,0);break}case 95:{$n(a,342,-2);break}case 99:{Jn(a,268491,50336767,268507);break}case 106:{Jn(a,268491,50336874,268507);break}}return 0}function _t(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0.0,k=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=l;l=l+16|0;k=q;o=Hu(a)|0;f=c[o+20>>2]|0;n=a+76|0;e=a+72|0;d=c[e>>2]|0;if((c[n>>2]|0)==(d|0))$n(a,267,0);i=+jo(a,d);t=c[e>>2]|0;r=c[t>>2]|0;s=t+8|0;d=c[s>>2]|0;c[t>>2]=0;h[s>>3]=i;if(r&8|0?(s=d+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)go(c[a+44>>2]|0,d);h[j>>3]=i;if((c[j>>2]|0)==0?(c[j+4>>2]|0)==2146435072:0)Jn(a,278340,50333061,271432);t=c[n>>2]|0;d=c[e>>2]|0;d=(t|0)!=(d|0)?d:0;d=(d|0)==0?944:d;e=t;a:do if((c[d>>2]|0)==0?(m=+h[d+8>>3],(XO(m)|0)!=0):0){if(m<-2147483648.0)Jn(a,278340,50333061,271432);d=~~m;do if(!(m>2147483647.0))if((d|0)>=0){b=O(d,f)|0;if(!d){p=b;break a}else{g=d;break}}else Jn(a,278340,50333061,271432);else{g=2147483647;b=O(f,2147483647)|0}while(0);if(((b>>>0)/(g>>>0)|0|0)==(f|0))p=b;else Jn(a,278340,50333061,271432)}else p=0;while(0);if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4815);if(p>>>0>2147483646)Jn(a,268491,50336467,268447);b=Po(c[a+44>>2]|0,p,4,k)|0;if(!b)Mn(a,268491,4824);e=c[n>>2]|0;c[e>>2]=10;c[e+8>>2]=b;e=b+4|0;c[e>>2]=(c[e>>2]|0)+1;c[n>>2]=(c[n>>2]|0)+16;e=c[k>>2]|0;b=o+28|0;k=e+p|0;if(p>>>0<=f>>>0){s=b;r=e;t=p;CQ(r|0,s|0,t|0)|0;Ro(a);l=q;return 1}g=e;d=e;while(1){CQ(d|0,b|0,f|0)|0;d=d+f|0;b=d;f=b-g|0;b=k-b|0;if(b>>>0<=f>>>0)break;else b=e}CQ(d|0,e|0,b|0)|0;Ro(a);l=q;return 1}function $t(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0.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,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=l;l=l+16|0;K=Hu(b)|0;R=K+20|0;e=c[R>>2]|0;L=b+76|0;N=b+68|0;if((c[L>>2]|0)>>>0>=(c[N>>2]|0)>>>0)Sn(b,4815);if(e>>>0>2147483646)Jn(b,268491,50336467,268447);Q=b+44|0;d=Po(c[Q>>2]|0,e,1,X)|0;if(!d)Mn(b,268491,4824);g=c[L>>2]|0;c[g>>2]=10;c[g+8>>2]=d;g=d+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[L>>2]|0;i=g+16|0;c[L>>2]=i;V=c[g+8>>2]|0;W=V+20|0;o=c[W>>2]|0;m=o;o=o+e|0;J=b+72|0;e=c[J>>2]|0;d=(i|0)!=(e|0)?e:0;d=(d|0)==0?944:d;do if(((c[d>>2]|0)==9?(f=c[d+8>>2]|0,(f|0)!=0):0)?(c[f>>2]&-134217728|0)==1476395008:0){if((i|0)==(e|0))$n(b,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<<4)>>2]|0,c[f+(e<<4)+4>>2]|0,+h[f+(e<<4)+8>>3],d)|0;e=c[L>>2]|0;if(e-(c[J>>2]|0)>>4>>>0<2)Jn(b,268491,50336767,268507);H=e+-16|0;I=c[H>>2]|0;d=c[e+-8>>2]|0;c[H>>2]=2;do if(I&8|0){H=d+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[Q>>2]|0,d)}while(0);H=e+-32|0;I=c[H>>2]|0;d=c[e+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=d+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[Q>>2]|0,d)}while(0);c[L>>2]=e+-32;d=c[Q>>2]|0;if(!(c[d+32>>2]|0)){e=1;f=i;break}Rn(d);e=1;f=i}}else O=46;while(0);if((O|0)==46){Ho(b,0)|0;e=0;f=0}d=c[J>>2]|0;d=(c[L>>2]|0)-d>>4>>>0>1?d+16|0:0;d=(d|0)==0?944:d;switch(c[d>>2]|0){case 6:{F=0;G=0;H=0;break}case 9:{I=c[d+8>>2]|0;if((I|0)!=0?(c[I>>2]&6656|0)!=0:0){F=0;G=0;H=0}else O=50;break}default:O=50}if((O|0)==50){Ho(b,1)|0;H=c[J>>2]|0;H=(c[L>>2]|0)-H>>4>>>0>1?H+16|0:0;H=c[((H|0)==0?944:H)+8>>2]|0;I=H+28|0;F=1;G=I;H=I+(c[H+20>>2]|0)|0}C=(e|0)!=0;D=b+428|0;E=b+88|0;I=K+28|0;x=(f|0)==0;y=b+64|0;z=b+80|0;A=G>>>0>>0;B=H;p=0;q=m;g=m;a:while(1){if(C){d=c[L>>2]|0;if(d>>>0>=(c[N>>2]|0)>>>0){O=54;break}e=c[J>>2]|0;if((d|0)==(e|0)){O=56;break}c[L>>2]=d+16;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];if(c[d>>2]&8|0){w=(c[d+8>>2]|0)+4|0;c[w>>2]=(c[w>>2]|0)+1}d=c[L>>2]|0;if(d>>>0>=(c[N>>2]|0)>>>0){O=60;break}e=c[J>>2]|0;if(d-e>>4>>>0<=2){O=62;break}w=e+32|0;c[L>>2]=d+16;c[d>>2]=c[w>>2];c[d+4>>2]=c[w+4>>2];c[d+8>>2]=c[w+8>>2];c[d+12>>2]=c[w+12>>2];if(c[d>>2]&8|0){w=(c[d+8>>2]|0)+4|0;c[w>>2]=(c[w>>2]|0)+1}Iu(b,0);f=c[L>>2]|0;d=c[J>>2]|0;i=f-d|0;e=i>>4;k=e+-1|0;w=e|0?d+(k<<4)|0:0;if((c[((w|0)==0?944:w)>>2]|0)!=9){O=66;break}if(!e){O=72;break}d=c[(c[D>>2]|0)+196>>2]|0;if(f>>>0>=(c[N>>2]|0)>>>0){O=74;break}c[L>>2]=f+16;c[f>>2]=8;c[f+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[J>>2]|0;f=(c[L>>2]|0)-e>>4;d=((i|0)<16?f:0)+k|0;if(d>>>0>=f>>>0){O=76;break}ro(b,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[J>>2]|0;f=(c[L>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1){O=78;break}u=e+(d<<4)|0;v=e+(f+-1<<4)|0;w=c[u>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(u|0,u+16|0,v-u|0)|0;c[v>>2]=2;e=(c[L>>2]|0)+-16|0;c[L>>2]=e;do if(w&8){v=d+4|0;w=(c[v>>2]|0)+-1|0;c[v>>2]=w;if(w|0)break;go(c[Q>>2]|0,d);e=c[L>>2]|0}while(0);f=c[J>>2]|0;d=e-f>>4;d=d|0?f+(d+-1<<4)|0:0;d=(d|0)==0?944:d;do if(!(c[d>>2]|0)){j=+h[d+8>>3];if(!(XO(j)|0)){n=0;break}if(j<-2147483648.0){n=-2147483648;break}if(j>2147483647.0){n=2147483647;break}n=~~j}else n=0;while(0);d=c[L>>2]|0;if((d|0)==(f|0)){O=88;break}v=d+-16|0;c[L>>2]=v;w=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[v>>2]=2;do if(w&8|0){v=d+4|0;w=(c[v>>2]|0)+-1|0;c[v>>2]=w;if(w|0)break;go(c[Q>>2]|0,d)}while(0);Zp(b,-1,0)|0;d=c[L>>2]|0;e=d+-8|0;m=c[e>>2]|0;if((d|0)==(c[J>>2]|0)){O=93;break}v=d+-16|0;c[L>>2]=v;w=c[d+-16>>2]|0;d=c[e>>2]|0;c[v>>2]=2;do if(w&8|0){v=d+4|0;w=(c[v>>2]|0)+-1|0;c[v>>2]=w;if(w|0)break;go(c[Q>>2]|0,d)}while(0);do if(!(c[m+20>>2]|0)){w=c[L>>2]|0;d=w;if((w|0)==(c[J>>2]|0)){O=99;break a}e=c[(c[D>>2]|0)+188>>2]|0;if(d>>>0>=(c[N>>2]|0)>>>0){O=101;break a}c[L>>2]=d+16;c[d>>2]=8;c[d+8>>2]=e;d=e+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[J>>2]|0;e=(c[L>>2]|0)-d>>4;if(!e){O=103;break a}ro(b,d,d+(e+-1<<4)|0)|0;e=c[J>>2]|0;f=(c[L>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1){O=105;break a}u=e+(d<<4)|0;v=e+(f+-1<<4)|0;w=c[u>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(u|0,u+16|0,v-u|0)|0;c[v>>2]=2;e=(c[L>>2]|0)+-16|0;c[L>>2]=e;do if(w&8){v=d+4|0;w=(c[v>>2]|0)+-1|0;c[v>>2]=w;if(w|0)break;go(c[Q>>2]|0,d);e=c[L>>2]|0}while(0);f=c[J>>2]|0;d=e-f>>4;d=d|0?f+(d+-1<<4)|0:0;d=(d|0)==0?944:d;do if(!(c[d>>2]|0)){j=+h[d+8>>3];if(j<0.0|(XO(j)|0)==0){k=0;break}if(j>4294967295.0){k=-1;break}k=~~j>>>0}else k=0;while(0);d=c[L>>2]|0;if((d|0)==(f|0)){O=114;break a}v=d+-16|0;c[L>>2]=v;w=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[v>>2]=2;do if(w&8|0){v=d+4|0;w=(c[v>>2]|0)+-1|0;c[v>>2]=w;if(w|0)break;go(c[Q>>2]|0,d)}while(0);e=c[L>>2]|0;f=c[N>>2]|0;if(e>>>0>=f>>>0){O=119;break a}i=e+16|0;c[L>>2]=i;c[e>>2]=0;h[e+8>>3]=+(k+1|0);if((i|0)==(c[J>>2]|0)){O=121;break a}d=c[(c[D>>2]|0)+188>>2]|0;if(i>>>0>=f>>>0){O=123;break a}c[L>>2]=e+32;c[i>>2]=8;c[e+24>>2]=d;f=d+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[J>>2]|0;i=(c[L>>2]|0)-f>>4;if(!i){O=125;break a}if((i|0)==1){O=127;break a}e=i+-2|0;d=c[E>>2]|0;if(!d)d=1;else d=c[d+32>>2]&1;cp(b,f,f+(i+-1<<4)|0,c[f+(e<<4)>>2]|0,c[f+(e<<4)+4>>2]|0,+h[f+(e<<4)+8>>3],d)|0;e=c[L>>2]|0;if(e-(c[J>>2]|0)>>4>>>0<2){O=131;break a}v=e+-16|0;w=c[v>>2]|0;d=c[e+-8>>2]|0;c[v>>2]=2;do if(w&8|0){v=d+4|0;w=(c[v>>2]|0)+-1|0;c[v>>2]=w;if(w|0)break;Wn(c[Q>>2]|0,d)}while(0);v=e+-32|0;w=c[v>>2]|0;d=c[e+-24>>2]|0;c[v>>2]=2;do if(w&8|0){v=d+4|0;w=(c[v>>2]|0)+-1|0;c[v>>2]=w;if(w|0)break;Wn(c[Q>>2]|0,d)}while(0);c[L>>2]=e+-32;d=c[Q>>2]|0;if(!(c[d+32>>2]|0))break;Rn(d)}while(0);u=m;v=zp(b,-1)|0}else{m=c[J>>2]|0;f=c[m+8>>2]|0;e=f+28|0;f=c[f+20>>2]|0;i=I+(c[R>>2]|0)+(0-f)|0;if(I>>>0>i>>>0){P=p;S=q;T=g;U=o;break}else{n=0;d=I}while(1){if(!(xN(d,e,f)|0))break;k=d+1|0;if(k>>>0>i>>>0){P=p;S=q;T=g;U=o;break a}else{n=((a[d>>0]&-64)<<24>>24!=-128&1)+n|0;d=k}}d=c[L>>2]|0;if(d>>>0>=(c[N>>2]|0)>>>0){O=141;break}if((d|0)==(m|0)){O=143;break}c[L>>2]=d+16;c[d>>2]=c[m>>2];c[d+4>>2]=c[m+4>>2];c[d+8>>2]=c[m+8>>2];c[d+12>>2]=c[m+12>>2];if(c[d>>2]&8|0){w=(c[d+8>>2]|0)+4|0;c[w>>2]=(c[w>>2]|0)+1}u=c[(c[L>>2]|0)+-8>>2]|0;v=0}t=Jq(b,K,n)|0;i=t-p|0;f=I+p|0;if((o-q|0)>>>0>>0){d=q-g|0;e=d+64+(d>>>4)+i|0;if(e>>>0>>0){O=150;break}Kn(b,V,e);o=c[W>>2]|0;d=o+d|0;m=o;o=o+e|0}else{d=q;m=g}e=d;CQ(e|0,f|0,i|0)|0;e=e+i|0;q=u+20|0;w=(c[q>>2]|0)+t|0;do if(F)if(A){r=u+28|0;s=t+64|0;p=G;g=m;f=o;while(1){o=p+1|0;m=a[p>>0]|0;k=m&255;b:do if(m<<24>>24==36?(M=B-o|0,(M|0)!=0):0){d=a[o>>0]|0;i=d&255;switch(d<<24>>24){case 36:{i=292;O=225;break b}case 38:{i=c[q>>2]|0;if((f-e|0)>>>0>>0){d=e-g|0;f=d+64+(d>>>4)+i|0;if(f>>>0>>0){O=196;break a}Kn(b,V,f);o=c[W>>2]|0;e=o+d|0;g=o;f=o+f|0}CQ(e|0,r|0,i|0)|0;d=p+2|0;e=e+i|0;break b}case 96:{if((f-e|0)>>>0>>0){d=e-g|0;f=s+d+(d>>>4)|0;if(f>>>0>>0){O=201;break a}Kn(b,V,f);o=c[W>>2]|0;e=o+d|0;g=o;f=o+f|0}CQ(e|0,I|0,t|0)|0;d=p+2|0;e=e+t|0;break b}case 39:{i=Jq(b,K,(wp(u)|0)+n|0)|0;k=(c[R>>2]|0)-i|0;i=I+i|0;if((f-e|0)>>>0>>0){d=e-g|0;f=d+64+(d>>>4)+k|0;if(f>>>0>>0){O=206;break a}Kn(b,V,f);o=c[W>>2]|0;e=o+d|0;g=o;f=o+f|0}CQ(e|0,i|0,k|0)|0;d=p+2|0;e=e+k|0;break b}default:{if(!(C&(d+-48&255)<10)){i=k;O=225;break b}d=i+-48|0;if(M>>>0>1){i=a[p+2>>0]|0;p=(d*10|0)+-48+(i&255)|0;i=(i+-48&255)<10&(p|0)<(v|0);m=i?2:1;d=i?p:d}else m=1;if(!((d|0)>0&(d|0)<(v|0))){i=k;O=225;break b}Zp(b,4,d)|0;i=c[L>>2]|0;d=c[J>>2]|0;p=i-d>>4;p=p|0?d+(p+-1<<4)|0:0;if((c[((p|0)==0?944:p)>>2]|0)==8){i=c[i+-8>>2]|0;k=c[i+20>>2]|0;if((f-e|0)>>>0>>0){d=e-g|0;f=d+64+(d>>>4)+k|0;if(f>>>0>>0){O=216;break a}Kn(b,V,f);p=c[W>>2]|0;e=p+d|0;g=p;f=p+f|0}CQ(e|0,i+28|0,k|0)|0;e=e+k|0;i=c[L>>2]|0;d=c[J>>2]|0}if((i|0)==(d|0)){O=220;break a}k=i+-16|0;c[L>>2]=k;p=c[i+-16>>2]|0;d=c[i+-8>>2]|0;c[k>>2]=2;do if(p&8|0){k=d+4|0;p=(c[k>>2]|0)+-1|0;c[k>>2]=p;if(p|0)break;go(c[Q>>2]|0,d)}while(0);d=o+m|0;break b}}}else{i=k;O=225}while(0);if((O|0)==225){O=0;if((f|0)==(e|0)){d=e-g|0;f=d+65+(d>>>4)|0;if(f>>>0>>0){O=227;break a}Kn(b,V,f);p=c[W>>2]|0;e=p+d|0;g=p;f=p+f|0}a[e>>0]=i;d=o+(i>>>8)|0;e=e+1|0}if(d>>>0>>0)p=d;else break}}else{g=m;f=o}else{d=c[L>>2]|0;if(d>>>0>=(c[N>>2]|0)>>>0){O=156;break a}f=c[J>>2]|0;if(d-f>>4>>>0<=1){O=158;break a}u=f+16|0;c[L>>2]=d+16;c[d>>2]=c[u>>2];c[d+4>>2]=c[u+4>>2];c[d+8>>2]=c[u+8>>2];c[d+12>>2]=c[u+12>>2];if(c[d>>2]&8|0){u=(c[d+8>>2]|0)+4|0;c[u>>2]=(c[u>>2]|0)+1}d=c[L>>2]|0;f=c[J>>2]|0;k=d-f>>4;g=d;i=f;if(C){u=v+2|0;d=((u|0)>0?u:0)+64+(d-(c[y>>2]|0)>>4)|0;if((c[z>>2]|0)>>>0>>0)Yn(b,d,4)|0;if((v|0)>0){d=0;do{Zp(b,4,d)|0;d=d+1|0}while((d|0)!=(v|0))}}else{if(g>>>0>=(c[N>>2]|0)>>>0){O=167;break a}if((g|0)==(i|0)){O=169;break a}c[L>>2]=g+16;v=d;u=f;c[v>>2]=c[u>>2];c[v+4>>2]=c[u+4>>2];c[v+8>>2]=c[u+8>>2];c[v+12>>2]=c[u+12>>2];if(c[g>>2]&8|0){v=(c[g+8>>2]|0)+4|0;c[v>>2]=(c[v>>2]|0)+1}}f=c[L>>2]|0;d=c[N>>2]|0;if(f>>>0>=d>>>0){O=173;break a}g=f+16|0;c[L>>2]=g;c[f>>2]=0;h[f+8>>3]=+(n|0);if(g>>>0>=d>>>0){O=175;break a}d=c[J>>2]|0;if(g-d>>4>>>0<=2){O=177;break a}v=d+32|0;c[L>>2]=f+32;c[g>>2]=c[v>>2];c[g+4>>2]=c[v+4>>2];c[g+8>>2]=c[v+8>>2];c[g+12>>2]=c[v+12>>2];if(c[g>>2]&8|0){v=(c[f+24>>2]|0)+4|0;c[v>>2]=(c[v>>2]|0)+1}Tq(b,((c[L>>2]|0)-(c[J>>2]|0)>>4)-k|0);Ho(b,-1)|0;v=c[J>>2]|0;d=(c[L>>2]|0)-v>>4;d=d|0?v+(d+-1<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8)i=c[d+8>>2]|0;else i=0;k=c[i+20>>2]|0;if((o-e|0)>>>0>>0){d=e-m|0;f=d+64+(d>>>4)+k|0;if(f>>>0>>0){O=184;break a}Kn(b,V,f);v=c[W>>2]|0;e=v+d|0;g=v;f=v+f|0}else{g=m;f=o}CQ(e|0,i+28|0,k|0)|0;e=e+k|0;d=c[L>>2]|0;if((d|0)==(c[J>>2]|0)){O=187;break a}u=d+-16|0;c[L>>2]=u;v=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[u>>2]=2;if(!(v&8))break;u=d+4|0;v=(c[u>>2]|0)+-1|0;c[u>>2]=v;if(v|0)break;go(c[Q>>2]|0,d)}while(0);d=c[L>>2]|0;if((d|0)==(c[J>>2]|0)){O=232;break}u=d+-16|0;c[L>>2]=u;v=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[u>>2]=2;if(v&8|0?(u=d+4|0,v=(c[u>>2]|0)+-1|0,c[u>>2]=v,(v|0)==0):0)go(c[Q>>2]|0,d);if(x){P=w;S=e;T=g;U=f;break}else{p=w;q=e;o=f}}switch(O|0){case 54:{Sn(b,935);break}case 56:{$n(b,342,0);break}case 60:{Sn(b,935);break}case 62:{$n(b,342,2);break}case 66:{if((f|0)==(d|0))Jn(b,268491,50336874,268507);T=f+-16|0;c[L>>2]=T;U=c[f+-16>>2]|0;d=c[f+-8>>2]|0;c[T>>2]=2;if((U&8|0)!=0?(T=d+4|0,U=(c[T>>2]|0)+-1|0,c[T>>2]=U,(U|0)==0):0){go(c[Q>>2]|0,d);P=p;S=q;T=g;U=o}else{P=p;S=q;T=g;U=o}break}case 72:{$n(b,267,-1);break}case 74:{Sn(b,3761);break}case 76:{$n(b,342,k);break}case 78:{$n(b,342,-2);break}case 88:{Jn(b,268491,50336874,268507);break}case 93:{Jn(b,268491,50336874,268507);break}case 99:{$n(b,267,0);break}case 101:{Sn(b,3761);break}case 103:{$n(b,342,0);break}case 105:{$n(b,342,-2);break}case 114:{Jn(b,268491,50336874,268507);break}case 119:{Sn(b,3868);break}case 121:{$n(b,267,0);break}case 123:{Sn(b,3761);break}case 125:{$n(b,342,0);break}case 127:{$n(b,342,-2);break}case 131:{Jn(b,268491,50336767,268507);break}case 141:{Sn(b,935);break}case 143:{$n(b,342,0);break}case 150:{Jn(b,269610,50331716,268447);break}case 156:{Sn(b,935);break}case 158:{$n(b,342,1);break}case 167:{Sn(b,935);break}case 169:{$n(b,342,0);break}case 173:{Sn(b,3868);break}case 175:{Sn(b,935);break}case 177:{$n(b,342,2);break}case 184:{Jn(b,269610,50331716,268447);break}case 187:{Jn(b,268491,50336874,268507);break}case 196:{Jn(b,269610,50331716,268447);break}case 201:{Jn(b,269610,50331716,268447);break}case 206:{Jn(b,269610,50331716,268447);break}case 216:{Jn(b,269610,50331716,268447);break}case 220:{Jn(b,268491,50336874,268507);break}case 227:{Jn(b,269610,50331716,268447);break}case 232:{Jn(b,268491,50336874,268507);break}}g=(c[R>>2]|0)-P|0;f=I+P|0;if((U-S|0)>>>0>=g>>>0){U=S;W=T;CQ(U|0,f|0,g|0)|0;U=U+g|0;W=U-W|0;Kn(b,V,W);Ro(b);l=X;return 1}d=S-T|0;e=d+64+(d>>>4)+g|0;if(e>>>0>>0)Jn(b,269610,50331716,268447);Kn(b,V,e);W=c[W>>2]|0;U=W+d|0;CQ(U|0,f|0,g|0)|0;U=U+g|0;W=U-W|0;Kn(b,V,W);Ro(b);l=X;return 1}function au(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0;Hu(a)|0;Ku(a,1);j=a+76|0;b=c[j>>2]|0;e=a+68|0;if(b>>>0>=(c[e>>2]|0)>>>0)Sn(a,935);i=a+72|0;d=c[i>>2]|0;if((b|0)==(d|0))$n(a,342,0);c[j>>2]=b+16;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];if(c[b>>2]&8|0){g=(c[b+8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}b=c[j>>2]|0;if(b>>>0>=(c[e>>2]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0)-h>>4>>>0>1?h+16|0:0;if((c[((h|0)==0?944:h)>>2]|0)==2){h=e;f=(h|0)<(b|0);h=f?b:h;Nq(a,b,h);l=g;return 1}h=ar(a,1,f,e,d)|0;h=((h|0)<0?e:0)+h|0;f=(h|0)<(b|0);h=f?b:h;Nq(a,b,h);l=g;return 1}function cu(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0.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;x=Hu(b)|0;g=xo(b,48)|0;A=b+44|0;f=c[A>>2]|0;c[g>>2]=272679041;d=f+24|0;e=c[d>>2]|0;if(e|0)c[e+12>>2]=g;c[g+12>>2]=0;c[g+8>>2]=e;c[d>>2]=g;d=c[b+160>>2]|0;z=g+20|0;e=c[z>>2]|0;c[z>>2]=d;if(d|0){z=d+4|0;c[z>>2]=(c[z>>2]|0)+1}if(e|0?(w=e+4|0,z=(c[w>>2]|0)+-1|0,c[w>>2]=z,(z|0)==0):0)fp(f,e);z=b+76|0;w=c[z>>2]|0;c[w>>2]=9;c[w+8>>2]=g;w=g+4|0;c[w>>2]=(c[w>>2]|0)+1;w=b+72|0;g=(c[z>>2]|0)+16|0;c[z>>2]=g;f=g;e=c[w>>2]|0;v=f-e>>4>>>0>1?e+16|0:0;do if((c[((v|0)==0?944:v)>>2]|0)!=2){d=Eq(b,1)|0;if(!d)return 1;else{g=c[z>>2]|0;e=c[w>>2]|0;f=g;break}}else d=-1;while(0);i=e;f=(f|0)!=(i|0)?e:0;f=(f|0)==0?944:f;switch(c[f>>2]|0){case 2:{if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,935);if(g-i>>4>>>0<=2)$n(b,342,2);A=e+32|0;c[z>>2]=g+16;c[g>>2]=c[A>>2];c[g+4>>2]=c[A+4>>2];c[g+8>>2]=c[A+8>>2];c[g+12>>2]=c[A+12>>2];if(c[g>>2]&8|0){A=(c[g+8>>2]|0)+4|0;c[A>>2]=(c[A>>2]|0)+1}Tp(b,3,0);return 1}case 9:{v=19;break}default:v=34}if((v|0)==19){u=c[f+8>>2]|0;if((u|0)!=0?(c[u>>2]&-134217728|0)==1476395008:0){e=c[b+196>>2]|0;i=b+68|0;if(g>>>0>=(c[i>>2]|0)>>>0)Sn(b,3761);c[z>>2]=g+16;c[g>>2]=9;c[g+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[z>>2]|0;if(e>>>0>=(c[i>>2]|0)>>>0)Sn(b,935);f=c[w>>2]|0;if((e|0)==(f|0))$n(b,342,0);c[z>>2]=e+16;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];if(c[e>>2]&8|0){u=(c[e+8>>2]|0)+4|0;c[u>>2]=(c[u>>2]|0)+1}op(b,1);f=c[w>>2]|0;e=(c[z>>2]|0)-f>>4;if(!e)$n(b,342,-1);t=f+(e+-1<<4)|0;u=c[f>>2]|0;e=c[f+8>>2]|0;c[f>>2]=c[t>>2];c[f+4>>2]=c[t+4>>2];c[f+8>>2]=c[t+8>>2];c[f+12>>2]=c[t+12>>2];c[t>>2]=2;c[z>>2]=(c[z>>2]|0)+-16;if((u&8|0)!=0?(t=e+4|0,u=(c[t>>2]|0)+-1|0,c[t>>2]=u,(u|0)==0):0){go(c[A>>2]|0,e);q=1}else q=1}else v=34}if((v|0)==34){Ho(b,0)|0;q=0;i=b+68|0}n=b+428|0;o=b+88|0;t=x+28|0;r=x+20|0;p=t;u=0;m=0;s=0;a:while(1){do if(!q){k=t+(c[r>>2]|0)|0;f=t+s|0;e=c[(c[w>>2]|0)+8>>2]|0;g=e+28|0;l=c[e+20>>2]|0;wp(e)|0;k=k+(0-l)|0;b:do if(!l){e=f;do{e=e+1|0;if(e>>>0>=k>>>0){y=1;break a}}while((a[e>>0]&-64)<<24>>24==-128)}else{if(f>>>0>k>>>0){y=m;break a}else e=f;while(1){if(!(xN(e,g,l)|0))break b;e=e+1|0;if(e>>>0>k>>>0){y=m;break a}}}while(0);g=e-p|0;e=g+l|0;if((s|0)==(e|0)){l=u;m=1;s=s+1|0;u=l;continue a}else{k=e;e=g}}else{e=c[z>>2]|0;if(e>>>0>=(c[i>>2]|0)>>>0){v=38;break a}f=c[w>>2]|0;if((e|0)==(f|0)){v=40;break a}c[z>>2]=e+16;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];if(c[e>>2]&8|0){l=(c[e+8>>2]|0)+4|0;c[l>>2]=(c[l>>2]|0)+1}e=c[z>>2]|0;if(e>>>0>=(c[i>>2]|0)>>>0){v=44;break a}f=c[w>>2]|0;if(e-f>>4>>>0<=2){v=46;break a}l=f+32|0;c[z>>2]=e+16;c[e>>2]=c[l>>2];c[e+4>>2]=c[l+4>>2];c[e+8>>2]=c[l+8>>2];c[e+12>>2]=c[l+12>>2];if(c[e>>2]&8|0){l=(c[e+8>>2]|0)+4|0;c[l>>2]=(c[l>>2]|0)+1}Iu(b,1);g=c[z>>2]|0;e=c[w>>2]|0;k=g-e|0;f=k>>4;l=f+-1|0;B=f|0?e+(l<<4)|0:0;if((c[((B|0)==0?944:B)>>2]|0)!=9){v=50;break a}if(!f){v=56;break a}e=c[(c[n>>2]|0)+196>>2]|0;if(g>>>0>=(c[i>>2]|0)>>>0){v=58;break a}c[z>>2]=g+16;c[g>>2]=8;c[g+8>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[w>>2]|0;g=(c[z>>2]|0)-f>>4;e=((k|0)<16?g:0)+l|0;if(e>>>0>=g>>>0){v=60;break a}ro(b,f+(e<<4)|0,f+(g+-1<<4)|0)|0;f=c[w>>2]|0;g=(c[z>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1){v=62;break a}l=f+(e<<4)|0;m=f+(g+-1<<4)|0;B=c[l>>2]|0;f=c[f+(e<<4)+8>>2]|0;DQ(l|0,l+16|0,m-l|0)|0;c[m>>2]=2;e=(c[z>>2]|0)+-16|0;c[z>>2]=e;do if(B&8){m=f+4|0;B=(c[m>>2]|0)+-1|0;c[m>>2]=B;if(B|0)break;go(c[A>>2]|0,f);e=c[z>>2]|0}while(0);B=c[w>>2]|0;e=e-B>>4;e=e|0?B+(e+-1<<4)|0:0;e=(e|0)==0?944:e;do if(!(c[e>>2]|0)){j=+h[e+8>>3];if(!(XO(j)|0)){f=0;break}if(j<-2147483648.0){f=-2147483648;break}if(j>2147483647.0){f=2147483647;break}f=~~j}else f=0;while(0);m=Jq(b,x,f)|0;e=c[z>>2]|0;if((e|0)==(c[w>>2]|0)){v=72;break a}l=e+-16|0;c[z>>2]=l;B=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[l>>2]=2;do if(B&8|0){l=e+4|0;B=(c[l>>2]|0)+-1|0;c[l>>2]=B;if(B|0)break;go(c[A>>2]|0,e)}while(0);if((f|0)==(wp(x)|0)){v=77;break a}B=c[z>>2]|0;e=B;if((B|0)==(c[w>>2]|0)){v=83;break a}f=c[(c[n>>2]|0)+188>>2]|0;if(e>>>0>=(c[i>>2]|0)>>>0){v=85;break a}c[z>>2]=e+16;c[e>>2]=8;c[e+8>>2]=f;e=f+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[w>>2]|0;f=(c[z>>2]|0)-e>>4;if(!f){v=87;break a}ro(b,e,e+(f+-1<<4)|0)|0;f=c[w>>2]|0;g=(c[z>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1){v=89;break a}k=f+(e<<4)|0;l=f+(g+-1<<4)|0;B=c[k>>2]|0;f=c[f+(e<<4)+8>>2]|0;DQ(k|0,k+16|0,l-k|0)|0;c[l>>2]=2;e=(c[z>>2]|0)+-16|0;c[z>>2]=e;do if(B&8){l=f+4|0;B=(c[l>>2]|0)+-1|0;c[l>>2]=B;if(B|0)break;go(c[A>>2]|0,f);e=c[z>>2]|0}while(0);B=c[w>>2]|0;e=e-B>>4;e=e|0?B+(e+-1<<4)|0:0;e=(e|0)==0?944:e;do if(!(c[e>>2]|0)){j=+h[e+8>>3];if(!(XO(j)|0)){l=0;break}if(j<-2147483648.0){l=-2147483648;break}if(j>2147483647.0){l=2147483647;break}l=~~j}else l=0;while(0);f=Jq(b,x,l)|0;e=c[z>>2]|0;if((e|0)==(c[w>>2]|0)){v=99;break a}k=e+-16|0;c[z>>2]=k;B=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[k>>2]=2;do if(B&8|0){k=e+4|0;B=(c[k>>2]|0)+-1|0;c[k>>2]=B;if(B|0)break;go(c[A>>2]|0,e)}while(0);if((s|0)!=(f|0)){k=f;e=m;f=t+s|0;break}f=c[z>>2]|0;g=c[i>>2]|0;if(f>>>0>=g>>>0){v=106;break a}k=f+16|0;c[z>>2]=k;c[f>>2]=0;h[f+8>>3]=+(l+1|0);if((k|0)==(c[w>>2]|0)){v=108;break a}e=c[(c[n>>2]|0)+188>>2]|0;if(k>>>0>=g>>>0){v=110;break a}c[z>>2]=f+32;c[k>>2]=8;c[f+24>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[w>>2]|0;k=(c[z>>2]|0)-g>>4;if(!k){v=112;break a}if((k|0)==1){v=114;break a}f=k+-2|0;e=c[o>>2]|0;if(!e)e=1;else e=c[e+32>>2]&1;cp(b,g,g+(k+-1<<4)|0,c[g+(f<<4)>>2]|0,c[g+(f<<4)+4>>2]|0,+h[g+(f<<4)+8>>3],e)|0;f=c[z>>2]|0;if(f-(c[w>>2]|0)>>4>>>0<2){v=118;break a}m=f+-16|0;B=c[m>>2]|0;e=c[f+-8>>2]|0;c[m>>2]=2;do if(B&8|0){m=e+4|0;B=(c[m>>2]|0)+-1|0;c[m>>2]=B;if(B|0)break;Wn(c[A>>2]|0,e)}while(0);m=f+-32|0;B=c[m>>2]|0;e=c[f+-24>>2]|0;c[m>>2]=2;do if(B&8|0){m=e+4|0;B=(c[m>>2]|0)+-1|0;c[m>>2]=B;if(B|0)break;Wn(c[A>>2]|0,e)}while(0);e=f+-32|0;c[z>>2]=e;f=c[A>>2]|0;if(c[f+32>>2]|0){Rn(f);e=c[z>>2]|0}if((e|0)==(c[w>>2]|0)){v=125;break a}m=e+-16|0;c[z>>2]=m;B=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[m>>2]=2;if(!(B&8)){l=s;B=u;m=1;s=l;u=B;continue a}m=e+4|0;B=(c[m>>2]|0)+-1|0;c[m>>2]=B;if(B|0){l=s;B=u;m=1;s=l;u=B;continue a}go(c[A>>2]|0,e);l=s;B=u;m=1;s=l;u=B;continue a}while(0);if((c[z>>2]|0)>>>0>=(c[i>>2]|0)>>>0){v=137;break}e=(f|0)==0?0:e-s|0;if((e|0)<0){v=139;break}f=Fo(b,f,e)|0;B=c[z>>2]|0;c[z>>2]=B+16;c[B>>2]=8;c[B+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;Tp(b,3,u);f=u+1|0;if(f>>>0>=d>>>0){v=156;break}if(!q){u=f;m=1;s=k;continue}g=zp(b,4)|0;if(g>>>0>1){e=1;do{Zp(b,4,e)|0;Tp(b,3,f);f=f+1|0;e=e+1|0;if(f>>>0>=d>>>0){v=156;break a}}while(e>>>0>>0)}e=c[z>>2]|0;if((e|0)==(c[w>>2]|0)){v=146;break}u=e+-16|0;c[z>>2]=u;B=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[u>>2]=2;if(!(B&8)){u=f;m=1;s=k;continue}u=e+4|0;B=(c[u>>2]|0)+-1|0;c[u>>2]=B;if(B|0){u=f;m=1;s=k;continue}go(c[A>>2]|0,e);u=f;m=1;s=k}switch(v|0){case 38:{Sn(b,935);break}case 40:{$n(b,342,0);break}case 44:{Sn(b,935);break}case 46:{$n(b,342,2);break}case 50:{if((g|0)==(e|0))Jn(b,268491,50336874,268507);y=g+-16|0;c[z>>2]=y;B=c[g+-16>>2]|0;d=c[g+-8>>2]|0;c[y>>2]=2;if((B&8|0)!=0?(y=d+4|0,B=(c[y>>2]|0)+-1|0,c[y>>2]=B,(B|0)==0):0){go(c[A>>2]|0,d);y=m}else y=m;break}case 56:{$n(b,267,-1);break}case 58:{Sn(b,3761);break}case 60:{$n(b,342,l);break}case 62:{$n(b,342,-2);break}case 72:{Jn(b,268491,50336874,268507);break}case 77:{d=c[z>>2]|0;if((d|0)==(c[w>>2]|0))Jn(b,268491,50336874,268507);y=d+-16|0;c[z>>2]=y;B=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[y>>2]=2;if((B&8|0)!=0?(y=d+4|0,B=(c[y>>2]|0)+-1|0,c[y>>2]=B,(B|0)==0):0){go(c[A>>2]|0,d);y=1}else y=1;break}case 83:{$n(b,267,0);break}case 85:{Sn(b,3761);break}case 87:{$n(b,342,0);break}case 89:{$n(b,342,-2);break}case 99:{Jn(b,268491,50336874,268507);break}case 106:{Sn(b,3868);break}case 108:{$n(b,267,0);break}case 110:{Sn(b,3761);break}case 112:{$n(b,342,0);break}case 114:{$n(b,342,-2);break}case 118:{Jn(b,268491,50336767,268507);break}case 125:{Jn(b,268491,50336874,268507);break}case 137:{Sn(b,3931);break}case 139:{Jn(b,268491,50335592,268919);break}case 146:{Jn(b,268491,50336874,268507);break}case 156:{if(!q)return 1;d=c[z>>2]|0;if((d|0)==(c[w>>2]|0))Jn(b,268491,50336874,268507);b=d+-16|0;c[z>>2]=b;B=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[b>>2]=2;if(!(B&8))return 1;b=d+4|0;B=(c[b>>2]|0)+-1|0;c[b>>2]=B;if(B|0)return 1;go(c[A>>2]|0,d);return 1}}d=c[r>>2]|0;if((y|0)!=0&(d|0)==0)return 1;e=t+s|0;if((c[z>>2]|0)>>>0>=(c[i>>2]|0)>>>0)Sn(b,3931);d=(e|0)==0?0:d-s|0;if((d|0)<0)Jn(b,268491,50335592,268919);B=Fo(b,e,d)|0;A=c[z>>2]|0;c[z>>2]=A+16;c[A>>2]=8;c[A+8>>2]=B;B=B+4|0;c[B>>2]=(c[B>>2]|0)+1;Tp(b,3,u);return 1}function du(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;i=o;m=Hu(a)|0;n=a+76|0;d=a+72|0;k=c[d>>2]|0;k=(c[n>>2]|0)!=(k|0)?k:0;k=(k|0)==0?944:k;if((c[k>>2]|0)==9?(c[c[k+8>>2]>>2]&-134217728|0)==1476395008:0)Tn(a,278340,30);Ho(a,0)|0;j=c[n>>2]|0;f=c[d>>2]|0;g=f;d=(j|0)!=(g|0)?f:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8)k=c[d+8>>2]|0;else k=0;d=c[a+88>>2]|0;do if(d){e=c[d+16>>2]|0;if(!e){d=(c[d+4>>2]|0)>>>8<<24>>24;break}if(c[e>>2]&4096)d=b[e+46>>1]|0;else d=0}else d=0;while(0);e=m+28|0;h=c[k+20>>2]|0;j=j-g>>4>>>0>1?f+16|0:0;if((c[((j|0)==0?944:j)>>2]|0)==2)if(!d){d=e;f=16}else{d=e+((c[m+20>>2]|0)-h)|0;f=15}else{f=ar(a,1,0,wp(m)|0,i)|0;d=((d|0)==0?e:e+(0-h)|0)+(Jq(a,m,f)|0)|0;f=15}if((f|0)==15)if(d>>>0>>0)e=0;else f=16;if((f|0)==16)if((h-e+d|0)>>>0>(c[m+20>>2]|0)>>>0)e=0;else e=(xN(d,k+28|0,h)|0)==0&1;d=c[n>>2]|0;if(d>>>0<(c[a+68>>2]|0)>>>0){c[n>>2]=d+16;c[d>>2]=4;c[d+8>>2]=e;l=o;return 1}else Sn(a,3799);return 0}function eu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=l;l=l+16|0;f=h;g=a+76|0;d=c[g>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[g>>2]=d+16;e=a+72|0;if(c[a+96>>2]|0?(b=c[e>>2]|0,j=b+-16|0,i=c[j>>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(h<<4)>>2]|0){case 8:{d=b;break}case 9:{g=9;break}default:Tn(a,278340,259)}if((g|0)==9){if((c[c[f+(h<<4)+8>>2]>>2]&-134217728|0)!=1610612736)Tn(a,278340,259);d=c[(c[a+428>>2]|0)+356>>2]|0;if(b>>>0>=(c[j>>2]|0)>>>0)Sn(a,3761);c[l>>2]=b+16;c[b>>2]=8;c[b+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[k>>2]|0;e=(c[l>>2]|0)-d>>4;b=((i|0)<16?e:0)+h|0;if(b>>>0>=e>>>0)$n(a,342,h);ro(a,d+(b<<4)|0,d+(e+-1<<4)|0)|0;d=c[k>>2]|0;e=(c[l>>2]|0)-d>>4;b=e+-2|0;if(e>>>0<=1)$n(a,342,-2);h=d+(b<<4)|0;i=d+(e+-1<<4)|0;j=c[h>>2]|0;b=c[d+(b<<4)+8>>2]|0;DQ(h|0,h+16|0,i-h|0)|0;c[i>>2]=2;d=(c[l>>2]|0)+-16|0;c[l>>2]=d;if((j&8|0)!=0?(i=b+4|0,j=(c[i>>2]|0)+-1|0,c[i>>2]=j,(j|0)==0):0){go(c[a+44>>2]|0,b);d=c[l>>2]|0}}l=c[k>>2]|0;b=d-l>>4;b=b|0?l+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=8)In(a,1821,-1,287470);b=c[b+8>>2]|0;if(!b)In(a,1821,-1,287470);if(!(c[b>>2]&512))return 1;else In(a,1821,-1,287470);return 0}function hu(a){a=a|0;Hu(a)|0;Mq(a,0);return 1}function iu(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+16|0;k=m;d=c[b+88>>2]|0;if(!d)Jn(b,268476,100663783,278172);if(!(c[d+32>>2]&4))Jn(b,268476,100663783,278172);j=b+76|0;e=c[j>>2]|0;h=b+72|0;d=c[h>>2]|0;g=(e|0)!=(d|0)?d:0;if((c[((g|0)==0?944:g)>>2]|0)!=2){Ho(b,0)|0;d=c[h>>2]|0;e=c[j>>2]|0}g=e-d>>4>>>0>1?d+16|0:0;if((c[((g|0)==0?944:g)>>2]&-2|0)!=2){if(!(Du(b,1,278324)|0))d=0;else d=gq(b,-1)|0;if(!(Du(b,1,278330)|0)){g=0;f=d}else{g=(gq(b,-1)|0)&255;f=d}}else{g=0;f=0}d=c[j>>2]|0;e=b+68|0;if(d>>>0>=(c[e>>2]|0)>>>0)Sn(b,3997);c[j>>2]=d+16;if(c[b+96>>2]|0?(i=c[h>>2]|0,n=i+-16|0,h=c[n>>2]|0,c[d>>2]=c[n>>2],c[d+4>>2]=c[n+4>>2],c[d+8>>2]=c[n+8>>2],c[d+12>>2]=c[n+12>>2],h&8|0):0){n=(c[i+-8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}if((c[j>>2]|0)>>>0>=(c[e>>2]|0)>>>0)Sn(b,4815);d=Po(c[b+44>>2]|0,12,0,k)|0;if(!d)Mn(b,268491,4824);else{n=c[j>>2]|0;c[n>>2]=10;c[n+8>>2]=d;n=d+4|0;c[n>>2]=(c[n>>2]|0)+1;c[j>>2]=(c[j>>2]|0)+16;n=c[k>>2]|0;a[n+8>>0]=f;a[n+9>>0]=g;c[n>>2]=0;a[n+4>>0]=-65;a[n+5>>0]=-128;a[n+6>>0]=0;a[n+7>>0]=0;Gu(b,278308);l=m;return 0}return 0}function ju(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=a+76|0;f=c[d>>2]|0;if(f>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3997);c[d>>2]=f+16;b=a+72|0;if(c[a+96>>2]|0?(e=c[b>>2]|0,h=e+-16|0,g=c[h>>2]|0,c[f>>2]=c[h>>2],c[f+4>>2]=c[h+4>>2],c[f+8>>2]=c[h+8>>2],c[f+12>>2]=c[h+12>>2],g&8|0):0){h=(c[e+-8>>2]|0)+4|0;c[h>>2]=(c[h>>2]|0)+1}Du(a,-1,278308)|0;h=c[b>>2]|0;b=(c[d>>2]|0)-h>>4;b=b|0?h+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=10)In(a,1639,-1,268387);b=c[b+8>>2]|0;if(!(c[b>>2]&128)){h=b+24|0;Fu(a,h);return 1}else{h=c[b+20>>2]|0;Fu(a,h);return 1}return 0}function ku(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=d+76|0;g=c[i>>2]|0;j=d+68|0;if(g>>>0>=(c[j>>2]|0)>>>0)Sn(d,3997);c[i>>2]=g+16;e=d+72|0;if(c[d+96>>2]|0?(f=c[e>>2]|0,k=f+-16|0,h=c[k>>2]|0,c[g>>2]=c[k>>2],c[g+4>>2]=c[k+4>>2],c[g+8>>2]=c[k+8>>2],c[g+12>>2]=c[k+12>>2],h&8|0):0){k=(c[f+-8>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}Du(d,-1,278308)|0;h=c[i>>2]|0;k=c[e>>2]|0;e=h-k>>4;e=e|0?k+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=10)In(d,1639,-1,268387);e=c[e+8>>2]|0;if(!(c[e>>2]&128))g=e+24|0;else g=c[e+20>>2]|0;e=c[d+88>>2]|0;a:do if(e|0){f=c[e+16>>2]|0;if(!f)e=(c[e+4>>2]|0)>>>8<<24>>24;else{if(!(c[f>>2]&4096))break;e=b[f+46>>1]|0}switch(e|0){case 0:break a;case 1:{if(h>>>0>=(c[j>>2]|0)>>>0)Sn(d,3799);k=(a[g+8>>0]|0)!=0&1;c[i>>2]=h+16;c[h>>2]=4;c[h+8>>2]=k;return 1}default:{if(h>>>0>=(c[j>>2]|0)>>>0)Sn(d,3799);k=(a[g+9>>0]|0)!=0&1;c[i>>2]=h+16;c[h>>2]=4;c[h+8>>2]=k;return 1}}}while(0);if(h>>>0>=(c[j>>2]|0)>>>0)Sn(d,3931);k=Fo(d,278284,5)|0;j=c[i>>2]|0;c[i>>2]=j+16;c[j>>2]=8;c[j+8>>2]=k;k=k+4|0;c[k>>2]=(c[k>>2]|0)+1;return 1}function lu(a){a=a|0;var b=0;b=c[a+88>>2]|0;if(b|0?c[b+32>>2]&4|0:0)return 0;Jn(a,268476,100663783,278172);return 0} +function IJ(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,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=l;l=l+16|0;n=y+3|0;o=y+2|0;p=y+1|0;k=y;if((h|0)==(f|0)){k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,h)|0)<<1)|0;m=(j|0)!=0;if((e|0)>(g|0)){k=k+(g<<1)|0;k=m?k:k+2|0;g=0-g|0}else{k=k+(e<<1)|0;e=0-e|0}e=g+e+(m&1)|0;if(!e){l=y;return}g=i&65535;while(1){e=e+-1|0;b[k>>1]=g;if(!e)break;else k=k+2|0}l=y;return}if((e|0)==(g|0)){n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;m=(j|0)!=0;if((h|0)<(f|0)){k=k+((O(n,h)|0)<<1)+(e<<1)|0;k=m?k:k+(n<<1)|0;g=0-h|0;e=f}else{k=k+((O(n,f)|0)<<1)+(e<<1)|0;g=h;e=0-f|0}e=g+e+(m&1)|0;if(!e){l=y;return}g=i&65535;while(1){e=e+-1|0;b[k>>1]=g;if(!e)break;else k=k+(n<<1)|0}l=y;return}w=e-g|0;m=f-h|0;if((((w|0)<0?0-w|0:w)|0)==(((m|0)<0?0-m|0:m)|0)){n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((h|0)<(f|0)){k=k+((O(n,h)|0)<<1)+(g<<1)|0;n=n+((g|0)>(e|0)?-1:1)|0;k=(j|0)==0?k+(n<<1)|0:k}else{k=k+((O(n,f)|0)<<1)+(e<<1)|0;m=h-f|0;n=n+((e|0)>(g|0)?-1:1)|0}e=m+((j|0)!=0&1)|0;if(!e){l=y;return}g=i&65535;while(1){e=e+-1|0;b[k>>1]=g;if(!e)break;else k=k+(n<<1)|0}l=y;return}m=c[a+4>>2]|0;lJ(i,m,n,o,p,k);k=c[m+12>>2]|0;o=g-e|0;p=h-f|0;o=(o|0)<0?0-o|0:o;p=(p|0)<0?0-p|0:p;m=(o|0)>=(p|0);a:do if((k|0)<63488){switch(k|0){case 31744:break;default:{x=35;break a}}if(m){v=p<<1;n=0;m=1;k=p-o|0;w=v;v=v-o|0}else{v=o<<1;n=1;m=0;k=o-p|0;w=v;v=v-p|0;o=p}u=k<<1;t=(e|0)>(g|0);s=t?0-m|0:m;t=t?-1:1;q=(h|0)<(f|0);r=q?0-n|0:n;q=q?-1:1;j=o+((j|0)!=0&1)|0;if((j|0)>0){p=i&65535;h=c[a+20>>2]|0;o=c[a+16>>2]|0;n=f;m=0;k=v;while(1){b[h+(O(o,n)|0)+(e<<1)>>1]=p;g=(k|0)<0;m=m+1|0;if((m|0)>=(j|0))break;else{n=n+(g?r:q)|0;e=(g?s:t)+e|0;k=(g?w:u)+k|0}}}}else{switch(k|0){case 63488:break;default:{x=35;break a}}if(m){v=p<<1;n=0;m=1;k=p-o|0;w=v;v=v-o|0}else{v=o<<1;n=1;m=0;k=o-p|0;w=v;v=v-p|0;o=p}u=k<<1;t=(e|0)>(g|0);s=t?0-m|0:m;t=t?-1:1;q=(h|0)<(f|0);r=q?0-n|0:n;q=q?-1:1;j=o+((j|0)!=0&1)|0;if((j|0)>0){p=i&65535;h=c[a+20>>2]|0;o=c[a+16>>2]|0;n=f;m=0;k=v;while(1){b[h+(O(o,n)|0)+(e<<1)>>1]=p;g=(k|0)<0;m=m+1|0;if((m|0)>=(j|0))break;else{n=n+(g?r:q)|0;e=(g?s:t)+e|0;k=(g?w:u)+k|0}}}}while(0);if((x|0)==35){if(m){v=p<<1;n=0;m=1;k=p-o|0;w=v;v=v-o|0}else{v=o<<1;n=1;m=0;k=o-p|0;w=v;v=v-p|0;o=p}u=k<<1;t=(e|0)>(g|0);s=t?0-m|0:m;t=t?-1:1;q=(h|0)<(f|0);r=q?0-n|0:n;q=q?-1:1;j=o+((j|0)!=0&1)|0;if((j|0)>0){p=i&65535;h=c[a+20>>2]|0;o=c[a+16>>2]|0;n=f;m=0;k=v;while(1){b[h+(O(o,n)|0)+(e<<1)>>1]=p;g=(k|0)<0;m=m+1|0;if((m|0)>=(j|0))break;else{n=n+(g?r:q)|0;e=(g?s:t)+e|0;k=(g?w:u)+k|0}}}}l=y;return}function JJ(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,u=0,v=0;if((h|0)==(f|0)){v=(e|0)>(g|0);b=(c[b+20>>2]|0)+(O((c[b+16>>2]|0)/(d[(c[b+4>>2]|0)+9>>0]|0|0)|0,h)|0)|0;u=(j|0)!=0;t=b+g|0;EQ((v?(u?t:t+1|0):b+e|0)|0,i&255|0,(u&1)+(v?e-g|0:g-e|0)|0)|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;l=(j|0)!=0;if((h|0)<(f|0)){k=k+(O(m,h)|0)+e|0;k=l?k:k+m|0;h=0-h|0}else{k=k+(O(m,f)|0)+e|0;f=0-f|0}f=h+f+(l&1)|0;if(!f)return;h=i&255;while(1){f=f+-1|0;a[k>>0]=h;if(!f)break;else k=k+m|0}return}v=e-g|0;l=f-h|0;if((((v|0)<0?0-v|0:v)|0)==(((l|0)<0?0-l|0:l)|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+(O(m,h)|0)+g|0;e=m+((g|0)>(e|0)?-1:1)|0;f=l;k=(j|0)==0?k+e|0:k;l=e}else{k=k+(O(m,f)|0)+e|0;f=h-f|0;l=m+((e|0)>(g|0)?-1:1)|0}f=f+((j|0)!=0&1)|0;if(!f)return;h=i&255;while(1){f=f+-1|0;a[k>>0]=h;if(!f)break;else k=k+l|0}return}else{k=g-e|0;k=(k|0)<0?0-k|0:k;l=h-f|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){u=k<<1;o=1;n=0;m=k-l|0;v=u;u=u-l|0;k=l}else{u=l<<1;o=0;n=1;m=l-k|0;v=u;u=u-k|0}t=m<<1;s=(e|0)>(g|0);r=s?0-n|0:n;s=s?-1:1;p=(h|0)<(f|0);q=p?0-o|0:o;p=p?-1:1;j=k+((j|0)!=0&1)|0;if((j|0)<=0)return;o=i&255;g=b+20|0;n=b+16|0;l=e;m=0;k=u;while(1){a[(c[g>>2]|0)+(O(c[n>>2]|0,f)|0)+l>>0]=o;h=(k|0)<0;m=m+1|0;if((m|0)>=(j|0))break;else{f=f+(h?q:p)|0;l=(h?r:s)+l|0;k=(h?v:t)+k|0}}return}}function KJ(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+16|0;m=w+3|0;n=w+2|0;o=w+1|0;k=w;if((g|0)==(e|0)){j=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;k=(i|0)!=0;if((b|0)>(f|0)){j=j+(f<<2)|0;j=k?j:j+4|0;f=0-f|0;e=b}else{j=j+(b<<2)|0;e=0-b|0}e=f+e+(k&1)|0;if(!e){l=w;return}while(1){e=e+-1|0;c[j>>2]=h;if(!e)break;else j=j+4|0}l=w;return}if((b|0)==(f|0)){m=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;j=c[a+20>>2]|0;k=(i|0)!=0;if((g|0)<(e|0)){j=j+((O(m,g)|0)<<2)+(b<<2)|0;j=k?j:j+(m<<2)|0;f=0-g|0}else{j=j+((O(m,e)|0)<<2)+(b<<2)|0;f=g;e=0-e|0}e=f+e+(k&1)|0;if(!e){l=w;return}while(1){e=e+-1|0;c[j>>2]=h;if(!e)break;else j=j+(m<<2)|0}l=w;return}v=b-f|0;j=e-g|0;if((((v|0)<0?0-v|0:v)|0)==(((j|0)<0?0-j|0:j)|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)){e=k+((O(m,g)|0)<<2)+(f<<2)|0;f=m+((f|0)>(b|0)?-1:1)|0;e=(i|0)==0?e+(f<<2)|0:e}else{a=k+((O(m,e)|0)<<2)+(b<<2)|0;j=g-e|0;e=a;f=m+((b|0)>(f|0)?-1:1)|0}j=j+((i|0)!=0&1)|0;if(!j){l=w;return}while(1){j=j+-1|0;c[e>>2]=h;if(!j)break;else e=e+(f<<2)|0}l=w;return}p=c[a+4>>2]|0;lJ(h,p,m,n,o,k);n=f-b|0;o=g-e|0;n=(n|0)<0?0-n|0:n;o=(o|0)<0?0-o|0:o;j=(n|0)>=(o|0);do if((c[p+12>>2]|0)==16711680)if(!(c[p+24>>2]|0)){if(j){u=o<<1;m=0;k=1;j=o-n|0;v=u;u=u-n|0}else{u=n<<1;m=1;k=0;j=n-o|0;v=u;u=u-o|0;n=o}t=j<<1;s=(b|0)>(f|0);r=s?0-k|0:k;s=s?-1:1;g=(g|0)<(e|0);q=g?0-m|0:m;g=g?-1:1;o=n+((i|0)!=0&1)|0;if((o|0)<=0)break;p=c[a+20>>2]|0;n=a+16|0;k=b;m=0;j=u;while(1){c[p+(O(c[n>>2]|0,e)|0)+(k<<2)>>2]=h;f=(j|0)<0;m=m+1|0;if((m|0)>=(o|0))break;else{e=e+(f?q:g)|0;k=(f?r:s)+k|0;j=(f?v:t)+j|0}}}else{if(j){u=o<<1;m=0;k=1;j=o-n|0;v=u;u=u-n|0}else{u=n<<1;m=1;k=0;j=n-o|0;v=u;u=u-o|0;n=o}t=j<<1;s=(b|0)>(f|0);r=s?0-k|0:k;s=s?-1:1;g=(g|0)<(e|0);q=g?0-m|0:m;g=g?-1:1;o=n+((i|0)!=0&1)|0;if((o|0)<=0)break;p=c[a+20>>2]|0;n=a+16|0;k=b;m=0;j=u;while(1){c[p+(O(c[n>>2]|0,e)|0)+(k<<2)>>2]=h;f=(j|0)<0;m=m+1|0;if((m|0)>=(o|0))break;else{e=e+(f?q:g)|0;k=(f?r:s)+k|0;j=(f?v:t)+j|0}}}else{if(j){u=o<<1;m=0;k=1;j=o-n|0;v=u;u=u-n|0}else{u=n<<1;m=1;k=0;j=n-o|0;v=u;u=u-o|0;n=o}t=j<<1;s=(b|0)>(f|0);r=s?0-k|0:k;s=s?-1:1;g=(g|0)<(e|0);q=g?0-m|0:m;g=g?-1:1;o=n+((i|0)!=0&1)|0;if((o|0)>0){p=c[a+20>>2]|0;n=a+16|0;k=b;m=0;j=u;while(1){c[p+(O(c[n>>2]|0,e)|0)+(k<<2)>>2]=h;f=(j|0)<0;m=m+1|0;if((m|0)>=(o|0))break;else{e=e+(f?q:g)|0;k=(f?r:s)+k|0;j=(f?v:t)+j|0}}}}while(0);l=w;return}function LJ(){return 1}function MJ(a){a=a|0;var b=0;b=l;l=l+16|0;a=TM(688)|0;if(!a){_D(294618,b);a=0;l=b;return a|0}if(c[a+-4>>2]&3|0)EQ(a|0,0,688)|0;NJ(296169,308319);c[a+4>>2]=407;c[a+8>>2]=252;c[a+28>>2]=29;c[a+204>>2]=253;c[a+32>>2]=30;c[a+40>>2]=178;c[a+52>>2]=179;c[a+128>>2]=180;c[a+112>>2]=20;c[a+132>>2]=21;c[a+136>>2]=14;c[a+140>>2]=181;c[a+164>>2]=31;c[a+168>>2]=32;c[a+172>>2]=254;c[a+176>>2]=33;c[a+180>>2]=30;c[a+188>>2]=34;c[a+192>>2]=408;c[a+196>>2]=182;c[a+200>>2]=183;c[a+184>>2]=21;c[a+684>>2]=255;l=b;return a|0}function NJ(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(!((b|0)!=0&(d|0)!=0))return;if(a[b>>0]|0?Df(b|0)|0:0)return;e=c[79960]|0;a:do if(e|0){while(1){if(!(wN(b,c[e>>2]|0)|0))break;e=c[e+16>>2]|0;if(!e)break a}h=e+8|0;if((c[h>>2]|0)>>>0>1)return;i=e+4|0;f=c[i>>2]|0;if(f){if(wN(f,d)|0)g=9}else{f=0;g=9}if((g|0)==9){e=c[e+12>>2]|0;if(!e)e=f;else{g=e;e=f;do{f=g;g=c[g+8>>2]|0;Eg[c[f>>2]&63](c[f+4>>2]|0,b,e,d);e=c[i>>2]|0}while((g|0)!=0)}UM(e);c[i>>2]=aP(d)|0}c[h>>2]=1;return}while(0);e=TM(20)|0;if(!e)return;c[e>>2]=aP(b)|0;c[e+4>>2]=aP(d)|0;c[e+8>>2]=1;c[e+12>>2]=0;c[e+16>>2]=c[79960];c[79960]=e;return}function OJ(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+32|0;e=f;d=f+12|0;c[d>>2]=370546692;c[d+4>>2]=Eb(8)|0;c[d+8>>2]=Eb(9)|0;c[d+12>>2]=0;c[d+16>>2]=0;if((CK(d)|0)<0){e=-1;l=f;return e|0};c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;DK(c[b+268>>2]|0,d);c[79962]=31;c[79964]=409;c[79966]=256;c[79967]=22;c[79963]=410;c[79969]=411;b=TM(8)|0;do if(!b){_D(294618,f+8|0);b=0}else{if(c[b+-4>>2]&3|0){d=b;g=d;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0;d=d+4|0;a[d>>0]=0;a[d+1>>0]=0;a[d+2>>0]=0;a[d+3>>0]=0}d=TM(8)|0;if(!d){_D(294618,e);UM(b);b=0;break}if(c[d+-4>>2]&3|0){g=d;e=g;a[e>>0]=0;a[e+1>>0]=0;a[e+2>>0]=0;a[e+3>>0]=0;g=g+4|0;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0}c[d>>2]=298413;c[d+4>>2]=0;c[b+4>>2]=d}while(0);c[79986]=b;if(c[79987]|0){g=0;l=f;return g|0}if(!b)b=0;else c[79987]=b;d=c[79964]|0;e=(d|0)==0;if((b|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(e){g=0;l=f;return g|0}gg[d&511](b)|0;g=0;l=f;return g|0}else{if(e){g=0;l=f;return g|0}gg[d&511](0)|0;g=0;l=f;return g|0}return 0}function PJ(a){a=a|0;var b=0,d=0;d=c[79986]|0;if(d|0){b=d+4|0;a=c[b>>2]|0;if(a|0){if(c[a+4>>2]|0){UM(c[a>>2]|0);a=c[b>>2]|0}UM(a)}UM(d)}c[79986]=0;c[79962]=0;c[79964]=0;c[79966]=0;c[79967]=0;c[79963]=0;c[79969]=0;return}function QJ(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function RJ(a){a=a|0;return}function SJ(b,d){b=b|0;d=d|0;var e=0,f=0,i=0,j=0.0,k=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.0;w=l;l=l+48|0;u=w+40|0;t=w+32|0;s=w+24|0;q=w+8|0;r=w;v=TM(40)|0;if(!v){_D(294618,w+16|0);v=-1;l=w;return v|0}if(c[v+-4>>2]&3|0){e=v;f=e+40|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0))}m=d+48|0;if(!(c[m>>2]&8192))j=1.0;else j=+Ob();n=v+12|0;g[n>>2]=j;o=d+24|0;x=+A(+(j*+(c[o>>2]|0)));p=d+28|0;j=+A(+(+(c[p>>2]|0)*j));ef(~~x|0,~~j|0);Pb(0,q|0,r|0)|0;k=+h[q>>3];if(+A(+k)!=x)f=1;else f=+A(+(+h[r>>3]))!=j;e=f&1;i=v+16|0;c[i>>2]=e;if(!((c[m>>2]&32|0)==0|f^1)){x=+g[n>>2];ef(~~(k*x)|0,~~(+h[r>>3]*x)|0);tI(d,5,~~+h[q>>3],~~+h[r>>3]);e=c[i>>2]|0}if((e|0)==0?+g[n>>2]!=1.0:0)ff(0,+(+(c[o>>2]|0)),+(+(c[p>>2]|0)))|0;if(c[m>>2]&2|0){a:do if(!(c[b+676>>2]|0)){f=c[79957]|0;if(!f){_D(288260,s);v=-1;l=w;return v|0}e=c[f+388>>2]|0;do if(!e){e=c[f+164>>2]|0;if(!e){_D(294534,t);v=-1;l=w;return v|0}e=hg[e&63](f,0)|0;i=c[79957]|0;if(!e){f=i;e=c[i+388>>2]|0;break}f=c[i+172>>2]|0;if(f|0)vg[f&511](i);if((e|0)<0)e=-1;else break a;l=w;return e|0}while(0);c[f+388>>2]=e+1}while(0);b=mK(b,0)|0;c[v>>2]=b;if(!b){_D(298209,u);v=-1;l=w;return v|0}}c[v+4>>2]=d;c[d+144>>2]=v;e=c[79973]|0;do if((e|0)!=(d|0)){if(e|0)tI(e,11,0,0);c[79973]=d;tI(d,10,0,0);e=(c[79973]|0)==0?c[79986]|0:c[79987]|0;f=c[79964]|0;i=(f|0)==0;if((e|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(i)break;gg[f&511](e)|0;break}else{if(i)break;gg[f&511](0)|0;break}}while(0);nK(d);tf(298021,v|0,0,32)|0;qf(298021,v|0,0,33)|0;uf(298029,v|0,0,33)|0;rf(298021,v|0,0,34)|0;sf(298021,v|0,0,34)|0;Bf(298021,v|0,0,35)|0;gf(298039,v|0,0,36)|0;df(298039,v|0,0,36)|0;zf(298021,v|0,0,37)|0;xf(298021,v|0,0,37)|0;yf(298021,v|0,0,37)|0;wf(298021,v|0,0,37)|0;e=Df(298047)|0;f=c[79960]|0;b:do if(f){while(1){if(!(wN(298047,c[f>>2]|0)|0))break;f=c[f+16>>2]|0;if(!f)break b}if(e|0?(c[f+8>>2]|0)!=2:0)break;e=c[f+4>>2]|0}while(0);d=e|0?e:298039;lf(d|0,v|0,0,38)|0;nf(d|0,v|0,0,38)|0;mf(d|0,v|0,0,39)|0;hf(298029,v|0,0,40)|0;vf(298039,v|0,0,41)|0;Af(v|0,0,42)|0;v=0;l=w;return v|0}function TJ(a,b){a=a|0;b=b|0;Fb(10,c[b+8>>2]|0)|0;return}function UJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0;h=c[b+144>>2]|0;if(!h)return;if(!(c[b+48>>2]&8192)){e=h+12|0;d=e;f=+g[e>>2]}else{f=+Ob();d=h+12|0;g[d>>2]=f}e=b+24|0;a=b+28|0;ef(~~(+(c[e>>2]|0)*f)|0,~~(f*+(c[a>>2]|0))|0);if(c[h+16>>2]|0)return;if(!(+g[d>>2]!=1.0))return;ff(0,+(+(c[e>>2]|0)),+(+(c[a>>2]|0)))|0;return}function VJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=b+144|0;f=c[e>>2]|0;if(!f)return;tf(298021,0,0,0)|0;qf(298021,0,0,0)|0;uf(298029,0,0,0)|0;rf(298021,0,0,0)|0;sf(298021,0,0,0)|0;Bf(298021,0,0,0)|0;gf(298039,0,0,0)|0;df(298039,0,0,0)|0;zf(298021,0,0,0)|0;xf(298021,0,0,0)|0;yf(298021,0,0,0)|0;wf(298021,0,0,0)|0;b=Df(298047)|0;d=c[79960]|0;a:do if(d){while(1){if(!(wN(298047,c[d>>2]|0)|0))break;d=c[d+16>>2]|0;if(!d)break a}if(b|0?(c[d+8>>2]|0)!=2:0)break;b=c[d+4>>2]|0}while(0);d=b|0?b:298039;lf(d|0,0,0,0)|0;nf(d|0,0,0,0)|0;mf(d|0,0,0,0)|0;hf(298029,0,0,0)|0;vf(298039,0,0,0)|0;Af(0,0,0)|0;d=c[f>>2]|0;if(d|0){b=c[a+676>>2]|0;if(b|0)hg[c[b+52>>2]&63](c[b+8>>2]|0,d)|0;c[f>>2]=0}UM(c[e>>2]|0);c[e>>2]=0;return}function WJ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=l;l=l+32|0;d=g;f=c[b+144>>2]|0;if(!f){l=g;return}if(!e){Mb()|0;l=g;return}a=b+48|0;h=c[a>>2]|0;b=h&4097;e=(b|0)==4097;c[d>>2]=e?1:2;c[d+4>>2]=e?(h>>>13&1)+1|0:0;c[d+8>>2]=0;c[d+12>>2]=43;c[d+16>>2]=f;c[f+20>>2]=b;c[f+24>>2]=e&1;if((bf(0,1,d|0)|0)>>>0>1)c[a>>2]=c[a>>2]&-4098;l=g;return}function XJ(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;k=l;l=l+32|0;i=k+16|0;g=k+8|0;j=(c[b+144>>2]|0)+8|0;yE(c[j>>2]|0);a=c[79957]|0;do if(a)if((c[b>>2]|0)==(a+280|0)){h=c[b+24>>2]|0;a=c[b+28>>2]|0;break}else{_D(307482,g);h=0;a=0;break}else{_D(288260,k);h=0;a=0}while(0);g=jJ(32,255,65280,16711680,0)|0;if(!g){_D(295409,i);f=-1;l=k;return f|0}a=kJ(h,a,g)|0;if(!a){f=-1;l=k;return f|0}c[j>>2]=a;c[d>>2]=374740996;c[e>>2]=c[a+20>>2];c[f>>2]=c[a+16>>2];f=0;l=k;return f|0}function YJ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;d=l;l=l+16|0;a=c[(c[b+144>>2]|0)+8>>2]|0;if(!a){_D(296521,d);b=-1;l=d;return b|0}else{Hb(11,c[a+8>>2]|0,c[a+12>>2]|0,c[a+20>>2]|0)|0;b=0;l=d;return b|0}return 0}function ZJ(a,b){a=a|0;b=b|0;b=(c[b+144>>2]|0)+8|0;yE(c[b>>2]|0);c[b>>2]=0;return}function _J(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;i=j+16|0;h=j+8|0;e=TM(88)|0;if(!e){c[b+676>>2]=0;_D(294618,j);d=-1;l=j;return d|0}if(c[e+-4>>2]&3|0){f=e;g=f+88|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0))}f=b+676|0;c[f>>2]=e;c[e+20>>2]=412;c[e+24>>2]=44;c[e+28>>2]=413;c[e+32>>2]=414;c[e+36>>2]=22;c[e+72>>2]=15;c[e+40>>2]=16;c[e+44>>2]=35;c[e+48>>2]=17;c[e+52>>2]=36;c[e+56>>2]=18;c[e+60>>2]=37;c[e+64>>2]=38;c[e+76>>2]=415;c[e+80>>2]=5;c[e+84>>2]=416;e=ub(0)|0;f=c[f>>2]|0;c[f+8>>2]=e;if(!e){_D(296470,h);d=-1;l=j;return d|0}if((ig[c[f+24>>2]&63](e,0,0)|0)!=1){_D(296496,i);d=-1;l=j;return d|0}c[b+388>>2]=1;e=b+392|0;if(!d){a[e>>0]=0;d=0;l=j;return d|0}else{i=JO(d)|0;i=i>>>0<254?i:254;CQ(e|0,d|0,i|0)|0;a[b+392+i>>0]=0;d=0;l=j;return d|0}return 0}function $J(b,d){b=b|0;d=d|0;var e=0,f=0;f=b+676|0;b=c[f>>2]|0;e=c[b+32>>2]|0;do if(e){b=gg[e&511](d)|0;if(!b){b=c[f>>2]|0;break}else{d=b;return d|0}}while(0);b=kK(c[b>>2]|0,d)|0;if(b|0){d=b;return d|0}if((JO(d)|0)>>>0>=1023){d=0;return d|0}a[333739]=95;e=JO(d)|0;e=e>>>0<1021?e:1021;CQ(333740,d|0,e|0)|0;a[333740+e>>0]=0;d=kK(c[c[f>>2]>>2]|0,333739)|0;return d|0}function aK(a){a=a|0;var b=0,d=0;d=a+676|0;a=c[d>>2]|0;if(!a)return;b=c[a+8>>2]|0;if(b){gg[c[a+28>>2]&511](b)|0;a=c[d>>2]|0;c[a+8>>2]=0}b=c[a+4>>2]|0;if(b){kb(b|0)|0;a=c[d>>2]|0;c[a+4>>2]=0}b=c[a>>2]|0;if(b){kb(b|0)|0;a=c[d>>2]|0;c[a>>2]=0}UM(a);c[d>>2]=0;return}function bK(a,b){a=a|0;b=b|0;return jK(a,c[c[b+144>>2]>>2]|0)|0}function cK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+32|0;e=h+16|0;g=h+8|0;f=h;if(!((b|0)!=0&(d|0)!=0)){b=c[a+676>>2]|0;if(!b){_D(296258,e);g=-1;l=h;return g|0}else{jg[c[b+56>>2]&31](c[b+8>>2]|0,0,0,0)|0;g=0;l=h;return g|0}}e=c[c[b+144>>2]>>2]|0;b=c[a+676>>2]|0;if(!b){_D(296258,f);g=-1;l=h;return g|0}a=c[b+56>>2]|0;b=c[b+8>>2]|0;if(!e){jg[a&31](b,0,0,0)|0;g=0;l=h;return g|0}if(jg[a&31](b,e,e,d)|0){g=0;l=h;return g|0}_D(296281,g);g=-1;l=h;return g|0}function dK(a,b){a=a|0;b=b|0;var d=0,e=0;e=l;l=l+16|0;a=a+676|0;d=c[a>>2]|0;if(!d){_D(296202,e);b=-1;l=e;return b|0}if((hg[c[d+64>>2]&63](c[d+8>>2]|0,b)|0)==1){c[(c[a>>2]|0)+16>>2]=b;b=0;l=e;return b|0}else{_D(296222,e+8|0);b=-1;l=e;return b|0}return 0}function eK(a){a=a|0;var b=0;b=l;l=l+16|0;a=c[a+676>>2]|0;if(!a){_D(296202,b);a=0;l=b;return a|0}else{a=c[a+16>>2]|0;l=b;return a|0}return 0}function fK(a,b){a=a|0;b=b|0;a=c[a+676>>2]|0;hg[c[a+60>>2]&63](c[a+8>>2]|0,c[c[b+144>>2]>>2]|0)|0;return}function gK(a,b){a=a|0;b=b|0;var d=0;Ff(17664);a=a+676|0;d=c[a>>2]|0;if((b|0)==0|(d|0)==0)return;jg[c[d+56>>2]&31](c[d+8>>2]|0,0,0,0)|0;d=c[a>>2]|0;hg[c[d+44>>2]&63](c[d+8>>2]|0,b)|0;return}function hK(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=c[b+144>>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 iK(a){a=a|0;UM(a);return}function jK(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+128|0;v=w+32|0;t=w+24|0;s=w+16|0;q=w+8|0;e=w;h=w+112|0;i=w+104|0;j=w+96|0;r=w+36|0;o=c[a+368>>2]|0;p=c[a+356>>2]|0;m=c[a+360>>2]|0;n=(o|0)==4;u=a+676|0;if(!(c[u>>2]|0)){v=0;l=w;return v|0}a:do if(c[a+372>>2]|0){d=c[79957]|0;if(!d){_D(288260,e);e=0;break}k=c[d+664>>2]|0;c[j>>2]=0;g=c[j>>2]|0;c[j>>2]=1;if(g|0){d=h+4|0;e=i+4|0;do{c[h>>2]=0;c[d>>2]=0;f=0;g=0;while(1){c[8240]=0;c[i>>2]=f;c[e>>2]=g;g=(Qf(i|0,h|0)|0)!=0;if(!(g&(c[8240]|0)==4))break;f=c[h>>2]|0;g=c[d>>2]|0}g=c[j>>2]|0;c[j>>2]=1}while((g|0)!=0)}c[j>>2]=0;d=c[79958]|0;if(d){while(1){if(!(c[d>>2]|0))break;d=c[d+8>>2]|0;if(!d){e=0;break a}}d=c[d+4>>2]|0;if(!((k|0)==0|(d|0)==0)?(c[d>>2]|0)>>>0>=k>>>0:0)e=c[d+4+(k+-1<<3)>>2]|0;else e=0}else e=0}else e=0;while(0);if((p|0)<3|n&(m|0)==0?(o|4|0)==4&(c[a+364>>2]|0)==0:0){if(n){c[r+4>>2]=(p|0)>1?p:1;c[r+8>>2]=12344;gg[c[(c[u>>2]|0)+84>>2]&511](12448)|0;d=12440}else{gg[c[(c[u>>2]|0)+84>>2]&511](12450)|0;d=12344}c[r>>2]=d;d=c[u>>2]|0;d=jg[c[d+40>>2]&31](c[d+8>>2]|0,c[d+12>>2]|0,e,r)|0;if(!d){_D(296384,s);v=0;l=w;return v|0}e=c[u>>2]|0;c[e+16>>2]=0;do if(e){f=c[e+56>>2]|0;e=c[e+8>>2]|0;if(!b){jg[f&31](e,0,0,0)|0;v=d;l=w;return v|0}else{if(!(jg[f&31](e,b,b,d)|0)){e=296281;break}l=w;return d|0}}else e=296258;while(0);_D(e,t);e=c[u>>2]|0;if(e|0){jg[c[e+56>>2]&31](c[e+8>>2]|0,0,0,0)|0;u=c[u>>2]|0;hg[c[u+44>>2]&63](c[u+8>>2]|0,d)|0}_D(296413,v);v=0;l=w;return v|0}_D(296316,q);v=0;l=w;return v|0}function kK(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=l;l=l+16|0;h=i;e=mb(b|0,d|0)|0;if(e|0){h=e;l=i;return h|0}e=JO(d)|0;j=e+2|0;f=l;l=l+((1*j|0)+15&-16)|0;a[f>>0]=95;g=f+1|0;k=JO(d)|0;e=e+1|0;e=k>>>0>>0?k:e;if(j|0){CQ(g|0,d|0,e|0)|0;a[g+e>>0]=0}e=mb(b|0,f|0)|0;if(e|0){k=e;l=i;return k|0}k=lb()|0;c[h>>2]=d;c[h+4>>2]=k;_D(296448,h);k=0;l=i;return k|0}function lK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=l;l=l+16|0;a=e+8|0;b=e;if(!(c[d+24>>2]|0)){l=e;return 0}Pb(0,a|0,b|0)|0;tI(c[d+4>>2]|0,5,~~+h[a>>3],~~+h[b>>3]);l=e;return 0}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,m=0,n=0,o=0,p=0,q=0;p=l;l=l+800|0;j=p+536|0;k=p+532|0;m=p+528|0;n=p+16|0;c[k>>2]=0;o=a+676|0;g=c[o>>2]|0;if(!g){o=0;l=p;return o|0}c[j>>2]=12324;c[j+4>>2]=c[a+292>>2];c[j+8>>2]=12323;c[j+12>>2]=c[a+296>>2];c[j+16>>2]=12322;c[j+20>>2]=c[a+300>>2];d=c[a+304>>2]|0;if(!d)d=6;else{c[j+24>>2]=12321;c[j+28>>2]=d;d=8}e=c[a+312>>2]|0;f=d|1;if(!e)e=d;else{c[j+(d<<2)>>2]=12320;c[j+(f<<2)>>2]=e;e=f+1|0}c[j+(e<<2)>>2]=12325;d=e+2|0;c[j+(e+1<<2)>>2]=c[a+308>>2];f=c[a+316>>2]|0;if(f){c[j+(d<<2)>>2]=12326;c[j+(e+3<<2)>>2]=f;d=e+4|0}e=c[a+344>>2]|0;if(e){c[j+(d<<2)>>2]=12338;c[j+(d+1<<2)>>2]=e;d=d+2|0}e=c[a+348>>2]|0;if(!e)e=d;else{c[j+(d<<2)>>2]=12337;c[j+(d+1<<2)>>2]=e;e=d+2|0}if(c[a+380>>2]|0){_D(298267,p);o=0;l=p;return o|0}c[j+(e<<2)>>2]=12352;d=c[g+84>>2]|0;if((c[a+368>>2]|0)==4){i=(c[a+356>>2]|0)>1?4:1;gg[d&511](12448)|0;d=i}else{gg[d&511](12450)|0;d=8}c[j+(e+1<<2)>>2]=d;c[j+(e+2<<2)>>2]=12344;i=c[o>>2]|0;i=(lg[c[i+36>>2]&31](c[i+8>>2]|0,j,n,128,k)|0)==0;d=c[k>>2]|0;if(i|(d|0)==0){_D(298328,p+8|0);o=0;l=p;return o|0}if((d|0)>0){d=-1;i=0;do{h=n+(i<<2)|0;a=0;e=0;do{f=c[j+(a<<2)>>2]|0;if((f|0)==12344)break;g=j+((a|1)<<2)|0;if((f+-12321|0)>>>0<6&(c[g>>2]|0)!=-1){q=c[o>>2]|0;jg[c[q+72>>2]&31](c[q+8>>2]|0,c[h>>2]|0,f,m)|0;e=(c[m>>2]|0)+e-(c[g>>2]|0)|0}a=a+2|0}while(a>>>0<63);if((d|0)==-1|(e|0)<(d|0)){c[(c[o>>2]|0)+12>>2]=c[h>>2];d=e}i=i+1|0}while(e|0?(i|0)<(c[k>>2]|0):0)}q=c[o>>2]|0;q=jg[c[q+48>>2]&31](c[q+8>>2]|0,c[q+12>>2]|0,b,0)|0;l=p;return q|0}function nK(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;f=i;d=c[80254]|0;g=(b|0)!=0;if(!(g|(d|0)==0)){d=0;do{if((a[321022+d>>0]|0)==1)zK(0,d);d=d+1|0}while((d|0)!=512);d=c[80254]|0}do if(!((d|0)==0|(d|0)==(b|0))){e=d+48|0;if(c[e>>2]&16384){d=c[79970]|0;if(d){if((gg[d&511](0)|0)!=-1)c[e>>2]=c[e>>2]&-16385}else _D(294718,f);d=c[80254]|0}tI(d,13,0,0);f=c[79994]|0;if(f|0?c[f>>2]&8|0:0)break;d=c[79957]|0;if(d|0?(h=c[d+216>>2]|0,h|0):0)vg[h&511](d)}while(0);c[80254]=b;if(!g){l=i;return}tI(b,12,0,0);h=c[79994]|0;if(h|0?c[h>>2]&8|0:0){l=i;return}d=c[79957]|0;if(!d){l=i;return}e=c[d+212>>2]|0;if(!e){l=i;return}vg[e&511](d);l=i;return}function oK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,g=0,i=0,j=0,k=0;j=l;l=l+288|0;i=j+16|0;k=j+8|0;g=j;Pb(0,k|0,g|0)|0;a=d+4|0;d=c[a>>2]|0;e=+(c[d+24>>2]|0)/+h[k>>3];f=+(c[d+28>>2]|0)/+h[g>>3];g=(Ub(i|0)|0)==0;i=g?c[i>>2]|0:0;if(!i){g=~~(e*+(c[b+60>>2]|0));d=~~(f*+(c[b+64>>2]|0));a=c[a>>2]|0;if(a){if(!(zI(a,g,d)|0)){l=j;return 0}}else a=0}else{e=+h[39614]+e*+(c[b+44>>2]|0);f=+h[39615]+f*+(c[b+48>>2]|0);g=~~e;h[39614]=e-+(g|0);d=~~f;h[39615]=f-+(d|0);a=c[a>>2]|0}AI(a,0,i,g,d)|0;l=j;return 0}function pK(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}a=(a|0)==5;AK(c[e+4>>2]|0,0,a&1,(d&255)+1<<24>>24);e=c[79991]|0;if(e|0?c[e>>2]&1<<(a&1)|0:0){e=0;return e|0}e=1;return e|0}function qK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0;j=l;l=l+288|0;k=j+16|0;e=j+8|0;i=j;f=c[b+60>>2]|0;b=c[b+64>>2]|0;g=Ub(k|0)|0;if((c[k>>2]|0)==0|(g|0)!=0){Pb(0,e|0,i|0)|0;g=c[d+4>>2]|0;e=~~(+(f|0)*(+(c[g+24>>2]|0)/+h[e>>3]));b=~~(+(b|0)*(+(c[g+28>>2]|0)/+h[i>>3]));if(!((g|0)!=0?!(zI(g,e,b)|0):0))AI(g,0,0,e,b)|0}if((a|0)==33)e=c[d+4>>2]|0;else e=0;b=c[79973]|0;do if((b|0)!=(e|0)){if(b|0)tI(b,11,0,0);c[79973]=e;if(!e)b=319944;else{tI(e,10,0,0);b=(c[79973]|0)==0?319944:319948}b=c[b>>2]|0;e=c[79964]|0;f=(e|0)==0;if((b|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(f)break;gg[e&511](b)|0;break}else{if(f)break;gg[e&511](0)|0;break}}while(0);k=c[79993]|0;if(k|0?c[k>>2]&1|0:0){k=0;l=j;return k|0}k=1;l=j;return k|0}function rK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0;j=l;l=l+64|0;i=j;a=c[d+4>>2]|0;g=~~+h[b+72>>3];f=~~-+h[b+80>>3];do if(a|0?(e=c[79973]|0,(e|0)!=(a|0)):0){if(e|0)tI(e,11,0,0);c[79973]=a;tI(a,10,0,0);a=(c[79973]|0)==0?c[79986]|0:c[79987]|0;d=c[79964]|0;b=(d|0)==0;if((a|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(b)break;gg[d&511](a)|0;break}else{if(b)break;gg[d&511](0)|0;break}}while(0);do if(f|g|0){e=c[79995]|0;if(e|0?c[e>>2]&8|0:0)break;c[i>>2]=1027;a=c[79973]|0;if(!a)a=0;else a=c[a+4>>2]|0;c[i+8>>2]=a;c[i+12>>2]=0;c[i+16>>2]=g;c[i+20>>2]=f;c[i+24>>2]=0;c[i+4>>2]=uI()|0;a=c[80247]|0;if(a|0)do{hg[c[a>>2]&63](c[a+4>>2]|0,i)|0;a=c[a+8>>2]|0}while((a|0)!=0);if((vI(i,1,0,0,0)|0)>=1)wI(i)}while(0);i=c[79995]|0;if(i|0?c[i>>2]&8|0:0){i=0;l=j;return i|0}i=1;l=j;return i|0}function sK(b,d,e){b=b|0;d=d|0;e=e|0;if((b|0)==12){d=0;do{if((a[321022+d>>0]|0)==1)zK(0,d);d=d+1|0}while((d|0)!=512)}tI(c[e+4>>2]|0,(b|0)==13?12:13,0,0);e=c[79993]|0;if(e|0?c[e>>2]&1|0:0){e=0;return e|0}e=1;return e|0}function tK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,i=0,j=0,k=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;I=l;l=l+112|0;G=I+96|0;m=I+88|0;k=I+80|0;j=I+72|0;D=I+16|0;E=I+8|0;F=I;i=c[80896]|0;a:do if((i|0)>0){e=c[80897]|0;f=0;while(1){C=c[e+(f<<2)>>2]|0;if((c[C>>2]|0)==1&(c[C+4>>2]|0)==0)break;f=f+1|0;if((f|0)>=(i|0)){H=7;break a}}if((f|0)<=-1)H=7}else{e=c[80897]|0;H=7}while(0);if((H|0)==7){e=VM(e,(i<<2)+4|0)|0;if(!e){_D(294618,j);H=0;l=I;return H|0}c[80897]=e;f=c[80896]|0;e=TM(24)|0;c[(c[80897]|0)+(f<<2)>>2]=e;if(!e){_D(294618,k);H=0;l=I;return H|0}c[80896]=(c[80896]|0)+1;C=e;c[C>>2]=1;c[C+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;e=VM(c[79955]|0,((c[79954]|0)*8232|0)+8232|0)|0;if(!e)_D(294618,m);else{c[79955]=e;C=c[79954]|0;EQ(e+(C*8232|0)|0,0,8232)|0;B=e+(C*8232|0)|0;c[B>>2]=1;c[B+4>>2]=0;c[79954]=C+1}if((f|0)<0){H=0;l=I;return H|0}}Pb(0,E|0,F|0)|0;if((c[b>>2]|0)<=0){H=0;l=I;return H|0}B=d+28|0;C=d+32|0;s=d+4|0;t=D+8|0;u=D+16|0;v=D+24|0;w=D+28|0;x=D+32|0;y=D+36|0;z=D+40|0;A=D+4|0;r=0;e=0;do{b:do if(c[b+20+(r*52|0)+28>>2]|0){m=c[b+20+(r*52|0)>>2]|0;d=((m|0)<0)<<31>>31;p=+(c[b+20+(r*52|0)+44>>2]|0)/+h[E>>3];q=+(c[b+20+(r*52|0)+48>>2]|0)/+h[F>>3];f=(c[B>>2]|0)!=0;switch(a|0){case 22:{if(!f){c[B>>2]=1;f=C;c[f>>2]=m;c[f+4>>2]=d;f=c[s>>2]|0;i=~~p;j=~~q;if(!((f|0)!=0?!(zI(f,i,j)|0):0))AI(f,-1,0,i,j)|0;AK(c[s>>2]|0,-1,1,1)}BK(m,d,1,p,q)|0;if(e|0)break b;d=c[79998]|0;if(d|0?c[d>>2]&1|0:0){e=0;break b}e=1;break b}case 24:{do if(f?(k=C,(c[k>>2]|0)==(m|0)?(c[k+4>>2]|0)==(d|0):0):0){f=~~q;i=~~p;j=c[s>>2]|0;if(j|0?(zI(j,i,f)|0)==0:0)break;AI(j,-1,0,i,f)|0}while(0);i=c[80896]|0;c:do if((i|0)>0){j=c[80897]|0;f=0;while(1){k=c[j+(f<<2)>>2]|0;J=k;if((c[J>>2]|0)==1&(c[J+4>>2]|0)==0)break;f=f+1|0;if((f|0)>=(i|0)){H=38;break c}}if((f|0)>-1&(f|0)<(i|0)){if(k|0){j=c[k+8>>2]|0;d:do if((j|0)>0){i=c[k+16>>2]|0;f=0;while(1){k=c[i+(f<<2)>>2]|0;J=k;if((c[J>>2]|0)==(m|0)?(c[J+4>>2]|0)==(d|0):0)break;f=f+1|0;if((f|0)>=(j|0))break d}if(!((f|0)>=(j|0)|(f|0)<0|(k|0)==0)){i=k+8|0;n=p-+g[i>>2];j=k+12|0;o=q-+g[j>>2];f=k+16|0;if(!(n!=0.0|o!=0.0|1.0-+g[f>>2]!=0.0))break c;g[i>>2]=p;g[j>>2]=q;g[f>>2]=1.0;J=c[79998]|0;if(J|0?c[J>>2]&4|0:0)break c;c[D>>2]=1794;f=t;c[f>>2]=1;c[f+4>>2]=0;f=u;c[f>>2]=m;c[f+4>>2]=d;g[v>>2]=p;g[w>>2]=q;g[x>>2]=n;g[y>>2]=o;g[z>>2]=1.0;c[A>>2]=uI()|0;f=c[80247]|0;if(f|0)do{hg[c[f>>2]&63](c[f+4>>2]|0,D)|0;f=c[f+8>>2]|0}while((f|0)!=0);if((vI(D,1,0,0,0)|0)>=1)wI(D);break c}}while(0);BK(m,d,1,p,q)|0}}else H=38}else H=38;while(0);if((H|0)==38){H=0;_D(298246,G)}if(e|0)break b;J=c[79998]|0;if(J|0?c[J>>2]&4|0:0){e=0;break b}e=1;break b}default:{if(f?(J=C,(c[J>>2]|0)==(m|0)?(c[J+4>>2]|0)==(d|0):0):0){AK(c[s>>2]|0,-1,0,1);c[B>>2]=0}BK(m,d,0,p,q)|0;if(e|0)break b;J=c[79998]|0;if(J|0?c[J>>2]&2|0:0){e=0;break b}e=1;break b}}}while(0);r=r+1|0}while((r|0)<(c[b>>2]|0));l=I;return e|0}function uK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=b+156|0;d=c[g>>2]|0;if(d>>>0<223?(e=c[27480+(d<<2)>>2]|0,e|0):0){a:do if((c[b+64>>2]|0)==2)switch(e|0){case 225:{e=229;break a}case 224:{e=228;break a}case 226:{e=230;break a}case 227:{e=231;break a}default:break a}while(0);zK((a|0)==2&1,e)}d=(a|0)==2;b=c[79994]|0;a=(b|0)==0;if(!a?(c[b>>2]&1<<((d^1)&1)|0)!=0:0)e=0;else e=1;f=e&1;if(!d)return f|0;if(a){g=c[g>>2]|0;g=g&-2;g=(g|0)==8;g=e&g;g=g&1;return g|0}if(!(c[b>>2]&8)){g=c[g>>2]|0;g=g&-2;g=(g|0)==8;g=e&g;g=g&1;return g|0}else return f|0;return 0}function vK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=l;l=l+64|0;i=j;h=j+56|0;b=c[d+152>>2]|0;do if(b>>>0>=128){if(b>>>0<2048){a[h>>0]=b>>>6&31|192;a[h+1>>0]=b&63|128;f=2;g=9;break}if(b>>>0<65536){a[h>>0]=b>>>12&15|224;a[h+1>>0]=b>>>6&63|128;a[h+2>>0]=b&63|128;f=3;g=9;break}if(b>>>0<1114112){a[h>>0]=b>>>18|240;a[h+1>>0]=b>>>12&63|128;a[h+2>>0]=b>>>6&63|128;a[h+3>>0]=b&63|128;f=4;g=9}}else{a[h>>0]=b;f=1;g=9}while(0);do if((g|0)==9?(a[h+f>>0]=0,g=a[h>>0]|0,!((g&255)<32|g<<24>>24==127)):0){g=c[79994]|0;if(g|0?c[g>>2]&8|0:0)break;c[i>>2]=771;b=c[80254]|0;if(!b)b=0;else b=c[b+4>>2]|0;c[i+8>>2]=b;f=i+12|0;b=JO(h)|0;b=b>>>0<31?b:31;if(!b)b=0;else{e=b+-1|0;d=a[h+e>>0]|0;a:do if((d+64&255)>=53){if(!((d&255)>191|d<<24>>24>-1|(e|0)==0)){b:do if((d&-32)<<24>>24==-64)d=2;else while(1){if((d&-16)<<24>>24==-32){d=3;break b}if((d+16&255)<5){d=4;break b}e=e+-1|0;if(!e)break a;d=a[h+e>>0]|0;if((d&-32)<<24>>24==-64){d=2;break}}while(0);b=(b-e|0)==(d|0)?b:e}}else b=e;while(0);CQ(f|0,h|0,b|0)|0}a[i+12+b>>0]=0;c[i+4>>2]=uI()|0;b=c[80247]|0;if(b|0)do{hg[c[b>>2]&63](c[b+4>>2]|0,i)|0;b=c[b+8>>2]|0}while((b|0)!=0);if((vI(i,1,0,0,0)|0)>=1)wI(i)}while(0);i=c[79994]|0;if(i|0?c[i>>2]&8|0:0){i=0;l=j;return i|0}i=1;l=j;return i|0}function wK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=c[d+4>>2]|0;if(!(c[b>>2]|0)){d=a+48|0;c[d>>2]=c[d>>2]&-4098;return 0}else{e=d+20|0;d=a+48|0;b=c[d>>2]|c[e>>2];c[e>>2]=0;c[d>>2]=b|1;return 0}return 0}function xK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,i=0,j=0,k=0,m=0,n=0.0;m=l;l=l+16|0;i=m+8|0;j=m;k=d+4|0;b=c[k>>2]|0;a=c[b+48>>2]|0;if(a&8192){g[d+12>>2]=+Ob();b=c[k>>2]|0;a=c[b+48>>2]|0}if((a&4129|0)!=32){l=m;return 0}f=+(c[b+24>>2]|0);h[i>>3]=f;e=+(c[b+28>>2]|0);h[j>>3]=e;a=d+16|0;if(c[a>>2]|0){Pb(0,i|0,j|0)|0;f=+h[i>>3];e=+h[j>>3]}d=d+12|0;n=+g[d>>2];ef(~~(f*n)|0,~~(e*n)|0);if((c[a>>2]|0)==0?+g[d>>2]!=1.0:0)ff(0,+(+h[i>>3]),+(+h[j>>3]))|0;tI(c[k>>2]|0,5,~~+h[i>>3],~~+h[j>>3]);l=m;return 0}function yK(a,b,d){a=a|0;b=b|0;d=d|0;tI(c[d+4>>2]|0,c[b>>2]|0?2:1,0,0);return 0}function zK(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+64|0;k=m;if(!e){l=m;return}switch(d<<24>>24){case 1:{i=768;break}case 0:{i=769;break}default:{l=m;return}}f=321022+e|0;g=a[f>>0]|0;h=d<<24>>24!=0&g<<24>>24!=0;j=h&1;if(!(g<<24>>24!=d<<24>>24|h)){l=m;return}a[f>>0]=d;h=c[321536+(e<<2)>>2]|0;switch(h|0){case 1073742048:{f=64;break}case 1073742052:{f=128;break}case 1073742049:{f=1;break}case 1073742053:{f=2;break}case 1073742050:{f=256;break}case 1073742054:{f=512;break}case 1073742051:{f=1024;break}case 1073742055:{f=2048;break}case 1073742081:{f=16384;break}default:f=0}g=b[160510]|0;if((i|0)==768){switch(h|0){case 1073741907:{f=(g^4096)&65535;break}case 1073741881:{f=(g^8192)&65535;break}default:f=g&65535|f}f=f&65535}else{f=g&65535&(f^65535)&65535;g=f}b[160510]=f;f=c[79994]|0;if(f|0?c[f>>2]&1<<(i&1)|0:0){l=m;return}c[k>>2]=i;a[k+12>>0]=d;a[k+13>>0]=j;f=k+16|0;c[f>>2]=e;c[f+4>>2]=h;b[f+8>>1]=g;f=c[80254]|0;if(!f)f=0;else f=c[f+4>>2]|0;c[k+8>>2]=f;c[k+4>>2]=uI()|0;f=c[80247]|0;if(f|0)do{hg[c[f>>2]&63](c[f+4>>2]|0,k)|0;f=c[f+8>>2]|0}while((f|0)!=0);if((vI(k,1,0,0,0)|0)>=1)wI(k);l=m;return}function AK(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+64|0;u=v;h=c[79980]|0;switch(e<<24>>24){case 1:{g=h|1<<(f&255)+-1;if(!b){s=1025;t=0;k=1}else{zI(b,c[79974]|0,c[79975]|0)|0;s=1025;h=c[79980]|0;t=1;k=1}break}case 0:{g=h&~(1<<(f&255)+-1);s=1026;t=(b|0)!=0;k=0;break}default:{l=v;return}}if((g|0)==(h|0)){l=v;return}c[79980]=g;o=f&255;if((o|0)>=(c[79983]|0)){j=o+1|0;h=VM(c[79984]|0,j<<4)|0;if(!h)h=1;else{c[79984]=h;g=c[79983]|0;if((g|0)<=(o|0)){h=h+(g<<4)|0;i=h+16|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));if((g|0)<(o|0))do{g=g+1|0;h=(c[79984]|0)+(g<<4)|0;i=h+16|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0))}while((g|0)!=(o|0))}c[79983]=j;r=12}}else r=12;do if((r|0)==12){i=c[79984]|0;j=i+(o<<4)|0;if(!j)h=1;else{if(!k){h=a[i+(o<<4)+12>>0]|0;break}m=uI()|0;n=i+(o<<4)+8|0;if(((c[n>>2]|0)-m+500|0)>=1){k=c[79974]|0;h=k-(c[j>>2]|0)|0;if((((h|0)>-1?h:0-h|0)|0)<=1?(p=c[79975]|0,q=i+(o<<4)+4|0,h=p-(c[q>>2]|0)|0,(((h|0)>-1?h:0-h|0)|0)<=1):0){h=i+(o<<4)+12|0;g=a[h>>0]|0;c[n>>2]=m;c[j>>2]=k;c[q>>2]=p;if(g<<24>>24==-1){h=-1;break}}else{h=j;g=k;r=19}}else{h=j;g=c[79974]|0;r=19}if((r|0)==19){r=i+(o<<4)+12|0;a[r>>0]=0;c[n>>2]=m;c[h>>2]=g;c[i+(o<<4)+4>>2]=c[79975];h=r;g=0}r=g+1<<24>>24;a[h>>0]=r;h=r}}while(0);r=c[79995]|0;if(!((r|0)!=0?(c[r>>2]&1<<(s&3)|0)!=0:0)){c[u>>2]=s;g=c[79973]|0;if(!g)g=0;else g=c[g+4>>2]|0;c[u+8>>2]=g;c[u+12>>2]=d;a[u+17>>0]=e;a[u+16>>0]=f;a[u+18>>0]=h;c[u+20>>2]=c[79974];c[u+24>>2]=c[79975];c[u+4>>2]=uI()|0;g=c[80247]|0;if(g|0)do{hg[c[g>>2]&63](c[g+4>>2]|0,u)|0;g=c[g+8>>2]|0}while((g|0)!=0);if((vI(u,1,0,0,0)|0)>=1)wI(u)}if(!(e<<24>>24==0&t)){l=v;return}zI(b,c[79974]|0,c[79975]|0)|0;l=v;return}function BK(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=+e;f=+f;var 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;t=l;l=l+80|0;o=t+64|0;m=t+56|0;q=t;j=c[80896]|0;a:do if((j|0)>0){k=c[80897]|0;i=0;while(1){p=c[k+(i<<2)>>2]|0;r=p;if((c[r>>2]|0)==1&(c[r+4>>2]|0)==0)break;i=i+1|0;if((i|0)>=(j|0))break a}if((i|0)>-1&(i|0)<(j|0)){if(!p){b=-1;l=t;return b|0}r=p+8|0;i=c[r>>2]|0;b:do if((i|0)>0){m=c[p+16>>2]|0;j=0;while(1){k=c[m+(j<<2)>>2]|0;u=k;if((c[u>>2]|0)==(a|0)?(c[u+4>>2]|0)==(b|0):0)break;j=j+1|0;if((j|0)>=(i|0)){k=0;break b}}k=(j|0)>-1&(j|0)<(i|0)?k:0}else k=0;while(0);j=(k|0)!=0;if(d|0){if(j){u=0;l=t;return u|0}j=p+12|0;k=p+16|0;do if((i|0)==(c[j>>2]|0)){i=VM(c[k>>2]|0,(i<<2)+4|0)|0;if(i|0?(c[k>>2]=i,h=TM(24)|0,n=c[j>>2]|0,c[(c[k>>2]|0)+(n<<2)>>2]=h,h=c[k>>2]|0,c[h+(n<<2)>>2]|0):0){c[j>>2]=n+1;i=c[r>>2]|0;break}_D(294618,o);u=0;l=t;return u|0}else h=c[k>>2]|0;while(0);c[r>>2]=i+1;u=c[h+(i<<2)>>2]|0;s=u;c[s>>2]=a;c[s+4>>2]=b;g[u+8>>2]=e;g[u+12>>2]=f;g[u+16>>2]=1.0;u=c[79998]|0;if(u|0?c[u>>2]&1|0:0){u=0;l=t;return u|0}c[q>>2]=1792;h=q+8|0;c[h>>2]=1;c[h+4>>2]=0;h=q+16|0;c[h>>2]=a;c[h+4>>2]=b;g[q+24>>2]=e;g[q+28>>2]=f;g[q+32>>2]=0.0;g[q+36>>2]=0.0;g[q+40>>2]=1.0;c[q+4>>2]=uI()|0;h=c[80247]|0;if(h|0)do{hg[c[h>>2]&63](c[h+4>>2]|0,q)|0;h=c[h+8>>2]|0}while((h|0)!=0);if((vI(q,1,0,0,0)|0)<1)h=0;else{wI(q);h=1}u=h;l=t;return u|0}if(!j){u=0;l=t;return u|0}u=c[79998]|0;if((u|0)!=0?(c[u>>2]&2|0)!=0:0){h=0;n=i}else{c[q>>2]=1793;h=q+8|0;c[h>>2]=1;c[h+4>>2]=0;h=q+16|0;c[h>>2]=a;c[h+4>>2]=b;c[q+24>>2]=c[k+8>>2];c[q+28>>2]=c[k+12>>2];g[q+32>>2]=0.0;g[q+36>>2]=0.0;g[q+40>>2]=1.0;c[q+4>>2]=uI()|0;h=c[80247]|0;if(h|0)do{hg[c[h>>2]&63](c[h+4>>2]|0,q)|0;h=c[h+8>>2]|0}while((h|0)!=0);if((vI(q,1,0,0,0)|0)<1)h=0;else{wI(q);h=1}n=c[r>>2]|0}if((n|0)<=0){u=h;l=t;return u|0}m=p+16|0;d=c[m>>2]|0;i=0;while(1){j=d+(i<<2)|0;k=c[j>>2]|0;u=k;if((c[u>>2]|0)==(a|0)?(c[u+4>>2]|0)==(b|0):0)break;i=i+1|0;if((i|0)>=(n|0)){s=42;break}}if((s|0)==42){l=t;return h|0}if((i|0)<0){u=h;l=t;return u|0}u=n+-1|0;c[r>>2]=u;c[j>>2]=c[d+(u<<2)>>2];c[(c[m>>2]|0)+(u<<2)>>2]=k;u=h;l=t;return u|0}}while(0);_D(298246,m);u=-1;l=t;return u|0}function CK(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;k=l;l=l+128|0;j=k+88|0;d=k+64|0;e=k+40|0;f=k+16|0;g=k;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;if(b|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]};c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[f+16>>2]=c[e+16>>2];b=c[79957]|0;b=VM(c[b+268>>2]|0,((c[b+264>>2]|0)*68|0)+68|0)|0;if(!b){_D(294618,k+80|0);j=-1;l=k;return j|0}m=c[79957]|0;h=m+264|0;i=c[h>>2]|0;c[h>>2]=i+1;h=b+(i*68|0)|0;c[h>>2]=0;n=b+(i*68|0)+4|0;c[n>>2]=c[d>>2];c[n+4>>2]=c[d+4>>2];c[n+8>>2]=c[d+8>>2];d=b+(i*68|0)+16|0;c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[d+16>>2]=c[e+16>>2];e=b+(i*68|0)+36|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];f=b+(i*68|0)+56|0;c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];c[b+(i*68|0)+60>>2]=m;c[m+268>>2]=b;if((i|0)<0){f=j+1|0;a[j>>0]=45;b=0-i|0;d=f;while(1){n=d;d=d+1|0;a[n>>0]=a[299549+((b>>>0)%10|0)>>0]|0;if(b>>>0<10)break;else b=(b>>>0)/10|0}a[d>>0]=0;d=JO(f)|0;b=d>>>1;if(b|0){e=f+(d+-1)|0;d=f;while(1){b=b+-1|0;n=a[d>>0]|0;a[d>>0]=a[e>>0]|0;a[e>>0]=n;if(!b)break;else{e=e+-1|0;d=d+1|0}}}}else{if(!i){a[j>>0]=48;b=j+1|0}else{d=i;e=j;while(1){b=e+1|0;a[e>>0]=a[299549+((d>>>0)%10|0)>>0]|0;if(d>>>0<10)break;else{d=(d>>>0)/10|0;e=b}}}a[b>>0]=0;b=JO(j)|0;f=b>>>1;if(f|0){d=j+(b+-1)|0;e=j;b=f;while(1){b=b+-1|0;n=a[e>>0]|0;a[e>>0]=a[d>>0]|0;a[d>>0]=n;if(!b)break;else{d=d+-1|0;e=e+1|0}}}}c[h>>2]=aP(j)|0;n=i;l=k;return n|0}function DK(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;d=a+12|0;e=c[d>>2]|0;n=a+8|0;o=c[n>>2]|0;a:do if((o|0)>0){k=b+4|0;l=b+8|0;m=b+12|0;j=0;b:while(1){i=e+(j*20|0)|0;if((i|0)==(b|0)){f=20;break}f=c[k>>2]|0;g=c[e+(j*20|0)+4>>2]|0;do if((g|0)==(f|0)){f=c[l>>2]|0;g=c[e+(j*20|0)+8>>2]|0;if((g|0)!=(f|0)){f=g-f|0;break}g=c[b>>2]|0;h=g>>>8&255;i=c[i>>2]|0;f=i>>>8&255;if((f|0)!=(h|0)){f=f-h|0;break}g=g>>>16&15;f=i>>>16&15;if((f|0)==(g|0)){f=c[m>>2]|0;g=c[e+(j*20|0)+12>>2]|0;if((g|0)==(f|0)){f=20;break b}else{f=g-f|0;break}}else{f=f-g|0;break}}else f=g-f|0;while(0);j=j+1|0;if(!f){f=20;break}if((j|0)>=(o|0))break a}if((f|0)==20)return}while(0);f=a+4|0;do if((o|0)==(c[f>>2]|0)){e=VM(e,(o*20|0)+640|0)|0;if(!e)return;else{c[d>>2]=e;c[f>>2]=(c[f>>2]|0)+32;break}}while(0);o=e+(o*20|0)|0;c[o>>2]=c[b>>2];c[o+4>>2]=c[b+4>>2];c[o+8>>2]=c[b+8>>2];c[o+12>>2]=c[b+12>>2];c[o+16>>2]=c[b+16>>2];o=(c[n>>2]|0)+1|0;c[n>>2]=o;qO(c[d>>2]|0,o,20,24);return}function EK(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;j=l;l=l+16|0;h=j+8|0;i=j;f=iJ(376840196)|0;if(!f){i=0;l=j;return i|0}g=fJ(b,f,0)|0;d=f+36|0;e=c[d>>2]|0;c[d>>2]=e+-1;if((e|0)<=1){d=c[79959]|0;a:do if((d|0)!=(f|0)){if(d|0){do{e=d+40|0;d=c[e>>2]|0;if(!d)break a}while((d|0)!=(f|0));c[e>>2]=c[f+40>>2]}}else c[79959]=c[f+40>>2];while(0);d=c[f+4>>2]|0;if(d|0?(k=d+12|0,e=c[k>>2]|0,c[k>>2]=e+-1,(e|0)<=1):0){UM(c[d+4>>2]|0);UM(d)}UM(f)}if(!g){k=0;l=j;return k|0}f=Hb(12,c[b+8>>2]|0,c[b+12>>2]|0,c[g+20>>2]|0)|0;yE(g);e=TM(8)|0;if(!e){_D(294618,h);k=0;l=j;return k|0}if(c[e+-4>>2]&3|0){k=e;h=k;a[h>>0]=0;a[h+1>>0]=0;a[h+2>>0]=0;a[h+3>>0]=0;k=k+4|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0}d=TM(8)|0;if(!d){_D(294618,i);UM(e);k=0;l=j;return k|0}if(c[d+-4>>2]&3|0){k=d;i=k;a[i>>0]=0;a[i+1>>0]=0;a[i+2>>0]=0;a[i+3>>0]=0;k=k+4|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0}c[d>>2]=f;c[d+4>>2]=1;c[e+4>>2]=d;k=e;l=j;return k|0}function FK(a){a=a|0;var b=0;if(!(c[79973]|0))return 0;if(a|0?(b=c[a+4>>2]|0,b|0):0){a=c[b>>2]|0;if(!a)return 0;Fb(13,a|0)|0;return 0}Eb(14)|0;return 0}function GK(a){a=a|0;var b=0,d=0;if(!a)return;d=a+4|0;b=c[d>>2]|0;if(b|0){if(c[b+4>>2]|0){UM(c[b>>2]|0);b=c[d>>2]|0}UM(b)}UM(a);return}function HK(a,b,c){a=a|0;b=b|0;c=c|0;c=l;l=l+16|0;_D(294718,c);l=c;return}function IK(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;f=h+8|0;g=h;do switch(b|0){case 0:{d=298413;break}case 1:{d=298509;break}case 2:{d=298504;break}case 3:{d=298494;break}case 4:{d=298485;break}case 5:{d=298473;break}case 6:{d=298461;break}case 7:{d=298451;break}case 8:{d=298441;break}case 9:{d=0;break}case 10:{d=298429;break}case 11:{d=298421;break}default:{g=0;l=h;return g|0}}while(0);e=TM(8)|0;if(!e){_D(294618,f);g=0;l=h;return g|0}if(c[e+-4>>2]&3|0){f=e;b=f;a[b>>0]=0;a[b+1>>0]=0;a[b+2>>0]=0;a[b+3>>0]=0;f=f+4|0;a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0}b=TM(8)|0;if(!b){_D(294618,g);UM(e);g=0;l=h;return g|0}if(c[b+-4>>2]&3|0){g=b;f=g;a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0;g=g+4|0;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0}c[b>>2]=d;c[b+4>>2]=0;c[e+4>>2]=b;g=e;l=h;return g|0}function JK(a){a=a|0;if(!a){if((Nb()|0)>-1){a=0;return a|0}}else if((cf(0,1)|0)>-1){a=0;return a|0}a=-1;return a|0}function KK(a){a=a|0;var b=0,d=0,e=0;e=l;l=l+16|0;c[a+4>>2]=19;c[a+40>>2]=257;c[a+72>>2]=1;c[a+64>>2]=1;c[a+60>>2]=1;d=Eb(15)|0;if(!d){_D(299750,e);b=0}else b=(Eb(16)|0)!=0;b=b&1;c[a+68>>2]=b;c[a+76>>2]=b;l=e;return d|0}function LK(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0,m=0,n=0.0,o=0,p=0.0,q=0,r=0;r=l;l=l+32|0;o=r+16|0;k=r+8|0;if((Fb(17,h|0)|0)<0){_D(301522,r);h=-1;l=r;return h|0}q=e+8|0;f=b[q>>1]|0;a:do if(f<<16>>16>=-28640){if(f<<16>>16<8)switch(f<<16>>16){case -28640:{j=7;m=13;break a}case -28384:{j=9;m=13;break a}default:break a}if(f<<16>>16<16)switch(f<<16>>16){case 8:{j=0;m=13;break a}default:break a}if(f<<16>>16<4112){switch(f<<16>>16){case 16:break;default:break a}j=4;m=13;break}else{switch(f<<16>>16){case 4112:break;default:break a}j=5;m=13;break}}else switch(f<<16>>16){case -32760:{j=1;m=13;break a}case -32752:{j=2;m=13;break a}case -28656:{j=3;m=13;break a}case -32736:{j=6;m=13;break a}case -32480:{j=8;m=13;break a}default:break a}while(0);b:do if((m|0)==13){f=b[37910+(j*20|0)>>1]|0;g=1;while(1){if(f<<16>>16==-32480)break;if((g|0)==10)break b;f=b[37910+(j*20|0)+(g<<1)>>1]|0;if(!(f<<16>>16))break b;else g=g+1|0}b[q>>1]=-32480;f=TM(20)|0;m=e+180|0;c[m>>2]=f;if(!f){_D(294618,o);h=-1;l=r;return h|0}g=f+20|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));g=Eb(18)|0;j=e+4|0;f=c[j>>2]|0;k=b[e+12>>1]|0;if((f|0)!=(g|0)){c:do if(k<<16>>16){p=+(g|0);n=+(f|0);i=+(k&65535)/p*n;if(!(+A(+i)==i)){f=k&65535;do{if((f|0)<=1)break c;f=f+-1|0;i=+(f|0)/p*n}while(!(+A(+i)==i))}o=~~+A(+i)>>>0;c[(c[m>>2]|0)+8>>2]=o}while(0);c[j>>2]=g}q=b[q>>1]|0;a[e+11>>0]=q<<16>>16==8?-128:0;g=d[e+10>>0]|0;f=k&65535;c[e+16>>2]=O(f,O(g,(q&65535)>>>3&31)|0)|0;if(!h){Ib(20,g|0,f|0,259,e|0)|0;h=0;l=r;return h|0}else{Ib(19,g|0,f|0,258,e|0)|0;h=0;l=r;return h|0}}while(0);_D(301554,k);h=-1;l=r;return h|0}function MK(a){a=a|0;Fb(21,c[a+144>>2]|0)|0;a=a+180|0;UM(c[c[a>>2]>>2]|0);UM(c[a>>2]|0);return}function NK(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;k=m;e=b+136|0;do{f=c[e>>2]|0;g=c[e>>2]|0;if((g|0)==(f|0))c[e>>2]=f}while((g|0)!=(f|0));if(!f){l=m;return}e=b+140|0;do{f=c[e>>2]|0;g=c[e>>2]|0;if((g|0)==(f|0))c[e>>2]=f}while((g|0)!=(f|0));if(f|0){l=m;return}j=b+28|0;if(!(c[j>>2]|0)){e=b+180|0;f=c[c[e>>2]>>2]|0;i=b+16|0;if(!f){f=TM(c[i>>2]|0)|0;c[c[e>>2]>>2]=f;if(!f){l=m;return}else{g=i;h=f;e=i}}else{g=i;h=f;e=i}}else{g=b+52|0;h=c[b+44>>2]|0;e=b+16|0}f=c[g>>2]|0;Gb(22,h|0,((c[e>>2]|0)>>>2>>>0)/((d[b+10>>0]|0)>>>0)|0|0)|0;do if(c[j>>2]|0){i=b+44|0;if(!(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)){_D(304108,k);break}k=b+48|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;e=b+52|0;a[e>>0]=k;a[e+1>>0]=k>>8;a[e+2>>0]=k>>16;a[e+3>>0]=k>>24;e=b+68|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(e|0){k=b+108|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;k=b+32|0;Bg[e&255](j,d[k>>0]|d[k+1>>0]<<8)}}while(0);Dg[c[b+20>>2]&63](c[b+24>>2]|0,h,f);l=m;return}function OK(b){b=b|0;var 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;z=l;l=l+16|0;x=z+8|0;j=z;h=(e[b+8>>1]|0)>>>3&31;f=b+136|0;do{i=c[f>>2]|0;g=c[f>>2]|0;if((g|0)==(i|0))c[f>>2]=i}while((g|0)!=(i|0));y=h&65535;if(!i){l=z;return}h=b+140|0;do{f=c[h>>2]|0;g=c[h>>2]|0;if((g|0)==(f|0))c[h>>2]=f}while((g|0)!=(f|0));if(f|0){l=z;return}v=b+28|0;w=b+180|0;g=c[w>>2]|0;if(c[v>>2]|0){f=c[g+8>>2]|0;if(!f){f=b+48|0;r=f;f=c[f>>2]|0}else{f=O(O(d[b+10>>0]|0,f)|0,(e[b+32>>1]|0)>>>3&31)|0;r=b+48|0;c[r>>2]=f}s=b+20|0;t=b+24|0;u=b+44|0;Dg[c[s>>2]&63](c[t>>2]|0,c[u>>2]|0,f);if(d[u>>0]|d[u+1>>0]<<8|d[u+2>>0]<<16|d[u+3>>0]<<24){g=b+48|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;f=b+52|0;a[f>>0]=g;a[f+1>>0]=g>>8;a[f+2>>0]=g>>16;a[f+3>>0]=g>>24;g=b+68|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(!g)p=f;else{p=b+108|0;a[p>>0]=0;a[p+1>>0]=0;a[p+2>>0]=0;a[p+3>>0]=0;p=b+32|0;Bg[g&255](v,d[p>>0]|d[p+1>>0]<<8);p=f}}else{_D(304108,j);p=b+52|0}f=c[p>>2]|0;q=b+16|0;g=c[q>>2]|0;if((f|0)==(g|0))g=c[u>>2]|0;else{h=c[w>>2]|0;if(!(c[h>>2]|0)){o=(g>>>0>f>>>0?g:f)<<1;c[h+4>>2]=o;o=TM(o)|0;h=c[w>>2]|0;c[h>>2]=o}k=b+48|0;m=b+68|0;n=b+108|0;o=b+32|0;while(1){g=c[h+12>>2]|0;f=c[p>>2]|0;i=c[h+4>>2]|0;if((f+g|0)>>>0>i>>>0){j=c[h+16>>2]|0;if(g>>>0>j>>>0){h=c[h>>2]|0;DQ(h|0,h+j|0,i-j|0)|0;h=c[w>>2]|0;f=c[p>>2]|0;g=(c[h+12>>2]|0)-(c[h+16>>2]|0)|0}else g=0;c[h+12>>2]=g;c[h+16>>2]=0}CQ((c[h>>2]|0)+g|0,c[u>>2]|0,f|0)|0;i=c[w>>2]|0;g=i+12|0;j=(c[g>>2]|0)+(c[p>>2]|0)|0;c[g>>2]=j;g=i+16|0;h=c[g>>2]|0;f=c[q>>2]|0;if((j-h|0)>>>0>=f>>>0)break;Dg[c[s>>2]&63](c[t>>2]|0,c[u>>2]|0,c[r>>2]|0);if(d[u>>0]|d[u+1>>0]<<8|d[u+2>>0]<<16|d[u+3>>0]<<24){f=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;a[p>>0]=f;a[p+1>>0]=f>>8;a[p+2>>0]=f>>16;a[p+3>>0]=f>>24;f=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;if(f|0){a[n>>0]=0;a[n+1>>0]=0;a[n+2>>0]=0;a[n+3>>0]=0;Bg[f&255](v,d[o>>0]|d[o+1>>0]<<8)}}else _D(304108,x);h=c[w>>2]|0}x=(c[i>>2]|0)+h|0;c[g>>2]=h+f;g=x}}else{f=c[g>>2]|0;if(!f){f=c[b+16>>2]|0;c[g+4>>2]=f;f=TM(f)|0;g=c[w>>2]|0;c[g>>2]=f}Dg[c[b+20>>2]&63](c[b+24>>2]|0,f,c[g+4>>2]|0);f=c[w>>2]|0;g=c[f>>2]|0;f=c[f+4>>2]|0}if(!g){l=z;return}Gb(23,g|0,((f|0)/(y|0)|0|0)/(d[b+10>>0]|0|0)|0|0)|0;l=z;return}function PK(){var a=0;a=Df(306710)|0;if(a|0?(wN(a,305465)|0)==0:0){a=1;return a|0}a=0;return a|0}function QK(a){a=a|0;var b=0;b=l;l=l+16|0;a=TM(688)|0;if(!a){_D(294618,b);a=0;l=b;return a|0}if(c[a+-4>>2]&3|0)EQ(a|0,0,688)|0;c[a+4>>2]=417;c[a+8>>2]=260;c[a+28>>2]=45;c[a+204>>2]=261;c[a+132>>2]=23;c[a+136>>2]=20;c[a+140>>2]=184;c[a+684>>2]=262;l=b;return a|0}function RK(a){a=a|0;var b=0,d=0;d=l;l=l+32|0;b=d;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((CK(b)|0)<0){b=-1;l=d;return b|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;DK(c[a+268>>2]|0,b);b=0;l=d;return b|0}function SK(a){a=a|0;return}function TK(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function UK(a){a=a|0;return}function VK(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;j=l;l=l+32|0;i=j+16|0;g=j+8|0;yE(_K(b,304985)|0);a=c[79957]|0;do if(!a){_D(288260,j);a=0;g=0}else{if(b|0?(c[b>>2]|0)==(a+280|0):0){a=c[b+24>>2]|0;g=c[b+28>>2]|0;break}_D(307482,g);a=0;g=0}while(0);h=jJ(32,16711680,65280,255,0)|0;if(!h){_D(295409,i);f=-1;l=j;return f|0}a=kJ(a,g,h)|0;if(!a){f=-1;l=j;return f|0}ZK(b,304985,a)|0;c[d>>2]=370546692;c[e>>2]=c[a+20>>2];c[f>>2]=c[a+16>>2];f=0;l=j;return f|0}function WK(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;H=l;l=l+256|0;E=H+120|0;D=H+112|0;C=H+104|0;x=H+96|0;w=H+88|0;k=H+80|0;i=H+72|0;F=H+24|0;g=H+16|0;n=H+124|0;h=H+128|0;G=_K(f,304985)|0;if(!G){_D(305008,H);I=-1;l=H;return I|0}if(!(Df(305047)|0)){I=0;l=H;return I|0}e=c[79957]|0;do if(!e){_D(288260,H+8|0);e=0}else{if(f|0?(c[f>>2]|0)==(e+280|0):0){e=c[f+4>>2]|0;break}_D(307482,g);e=0}while(0);B=(c[80898]|0)+1|0;c[80898]=B;c[F>>2]=e;c[F+4>>2]=B;qI(h,128,305075,F)|0;B=$K(h,305368)|0;b[n>>1]=19778;if(B|0){e=c[G+4>>2]|0;g=a[e+8>>0]|0;h=g&255;do if((g&255)>7){if((c[e+24>>2]|0)==0?(c[(c[G+52>>2]|0)+68>>2]&256|0)==0:0){j=15;break}vE(F,372645892)|0;f=1;e=1;j=23}else j=15;while(0);do if((j|0)==15){if(c[e+4>>2]|0){if(g<<24>>24==8){v=G;f=0;m=0;j=28;break}c[i>>2]=h;_D(305098,i);break}if(((g<<24>>24==24?(c[e+12>>2]|0)==16711680:0)?(c[e+16>>2]|0)==65280:0)?(c[e+20>>2]|0)==255:0){v=G;f=0;m=0;j=28;break}vE(F,390076419)|0;f=0;e=0;j=23}while(0);if((j|0)==23){g=fJ(G,F,0)|0;h=(g|0)==0;if(h){c[k>>2]=d[F+8>>0];_D(305129,k)}if(e)e=yI(305162,0)|0;else e=0;if(!h){v=g;m=e;j=28}}if((j|0)==28){u=v+28|0;e=c[u>>2]|0;if(!e)if(!(c[v>>2]&2))e=0;else{xE(v,1);c[v>>2]=c[v>>2]|2;e=c[u>>2]|0}c[u>>2]=e+1;g=v+8|0;k=v+4|0;p=O(d[(c[k>>2]|0)+9>>0]|0,c[g>>2]|0)|0;q=B+4|0;r=jg[c[q>>2]&31](B,0,0,1)|0;s=z;c[79034]=0;t=B+12|0;jg[c[t>>2]&31](B,n,2,1)|0;c[F>>2]=0;jg[c[t>>2]&31](B,F,4,1)|0;b[F>>1]=0;jg[c[t>>2]&31](B,F,2,1)|0;b[F>>1]=0;jg[c[t>>2]&31](B,F,2,1)|0;c[F>>2]=0;jg[c[t>>2]&31](B,F,4,1)|0;g=c[g>>2]|0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B,F,4,1)|0;c[F>>2]=0;jg[c[t>>2]&31](B,F,4,1)|0;c[F>>2]=0;jg[c[t>>2]&31](B,F,4,1)|0}e=c[(c[k>>2]|0)+4>>2]|0;if(e|0?(y=c[e+4>>2]|0,A=c[e>>2]|0,(A|0)>0):0){e=0;do{jg[c[t>>2]&31](B,y+(e<<2)+2|0,1,1)|0;jg[c[t>>2]&31](B,y+(e<<2)+1|0,1,1)|0;jg[c[t>>2]&31](B,y+(e<<2)|0,1,1)|0;jg[c[t>>2]&31](B,y+(e<<2)+3|0,1,1)|0;e=e+1|0}while((e|0)!=(A|0))}e=jg[c[q>>2]&31](B,0,0,1)|0;e=mQ(e|0,z|0,r|0,s|0)|0;y=c[q>>2]|0;A=lQ(r|0,s|0,10,0)|0;jg[y&31](B,A,z,0)|0;if((z|0)<0)_D(294690,w);c[F>>2]=e;jg[c[t>>2]&31](B,F,4,1)|0;y=c[q>>2]|0;A=lQ(e|0,0,r|0,s|0)|0;jg[y&31](B,A,z,0)|0;if((z|0)<0)_D(294690,x);f=v+20|0;g=c[o>>2]|0;A=O(g,c[n>>2]|0)|0;e=(c[f>>2]|0)+A|0;h=(p|0)%4|0;h=(h|0)==0?0:4-h|0;a:do if((A|0)>0){b:do if(!h){e=e+(0-g)|0;if((jg[c[t>>2]&31](B,e,1,p)|0)==(p|0))do{if(e>>>0<=(c[f>>2]|0)>>>0)break a;e=e+(0-(c[o>>2]|0))|0}while((jg[c[t>>2]&31](B,e,1,p)|0)==(p|0))}else{e=e+(0-g)|0;g=(jg[c[t>>2]&31](B,e,1,p)|0)==(p|0);if((h|0)<=0){if(!g)break;while(1){if(e>>>0<=(c[f>>2]|0)>>>0)break a;e=e+(0-(c[o>>2]|0))|0;if((jg[c[t>>2]&31](B,e,1,p)|0)!=(p|0))break b}}if(g)do{a[F>>0]=0;g=0;do{jg[c[t>>2]&31](B,F,1,1)|0;g=g+1|0}while((g|0)!=(h|0));if(e>>>0<=(c[f>>2]|0)>>>0)break a;e=e+(0-(c[o>>2]|0))|0}while((jg[c[t>>2]&31](B,e,1,p)|0)==(p|0))}while(0);_D(294662,C)}while(0);e=jg[c[q>>2]&31](B,0,0,1)|0;e=mQ(e|0,z|0,r|0,s|0)|0;A=c[q>>2]|0;C=lQ(r|0,s|0,2,0)|0;jg[A&31](B,C,z,0)|0;if((z|0)<0)_D(294690,D);c[F>>2]=e;jg[c[t>>2]&31](B,F,4,1)|0;D=c[q>>2]|0;F=lQ(e|0,0,r|0,s|0)|0;jg[D&31](B,F,z,0)|0;if((z|0)<0)_D(294690,E);e=c[u>>2]|0;if((e|0?(c[u>>2]=e+-1,(e|0)<=1):0)?(I=c[v>>2]|0,I&2|0):0){c[v>>2]=I&-3;BE(v)|0}if((v|0)!=(G|0))yE(v)}gg[c[B+16>>2]&511](B)|0;ZD()}I=0;l=H;return I|0}function XK(a,b){a=a|0;b=b|0;yE(ZK(b,304985,0)|0);return}function YK(a){a=a|0;UM(a);return}function ZK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;h=j+16|0;g=j+8|0;f=c[79957]|0;if(!f){_D(288260,j);e=0;l=j;return e|0}if(b|0?(c[b>>2]|0)==(f+280|0):0){if(d|0?a[d>>0]|0:0){i=b+140|0;b=c[i>>2]|0;a:do if(b|0){h=0;while(1){f=c[b>>2]|0;if(f|0?(wN(f,d)|0)==0:0)break;f=c[b+8>>2]|0;if(!f)break a;else{h=b;b=f}}f=b+4|0;g=c[f>>2]|0;if(!e){c[(h|0?h+8|0:i)>>2]=c[b+8>>2];UM(c[b>>2]|0);UM(b);e=g;l=j;return e|0}else{c[f>>2]=e;e=g;l=j;return e|0}}while(0);if(!e){e=0;l=j;return e|0}h=TM(12)|0;c[h>>2]=aP(d)|0;c[h+4>>2]=e;c[h+8>>2]=c[i>>2];c[i>>2]=h;e=0;l=j;return e|0}c[h>>2]=305003;_D(309840,h);e=0;l=j;return e|0}_D(307482,g);e=0;l=j;return e|0}function _K(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+32|0;g=h+16|0;f=h+8|0;e=c[79957]|0;a:do if(!e){_D(288260,h);b=0}else{if(b|0?(c[b>>2]|0)==(e+280|0):0){if(d|0?a[d>>0]|0:0){b=c[b+140>>2]|0;if(!b){b=0;break}while(1){e=c[b>>2]|0;if(e|0?(wN(e,d)|0)==0:0)break;b=c[b+8>>2]|0;if(!b){b=0;break a}}b=c[b+4>>2]|0;break}c[g>>2]=305003;_D(309840,g);b=0;break}_D(307482,f);b=0}while(0);l=h;return b|0}function $K(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+32|0;g=h+16|0;f=h+8|0;e=h;if((b|0?(d|0)!=0&(a[b>>0]|0)!=0:0)?a[d>>0]|0:0){e=bP(b,d)|0;if(!e){c[f>>2]=b;_D(305236,f);g=0;l=h;return g|0}d=TM(36)|0;if(!d){_D(294618,g);g=d;l=h;return g|0}else{c[d>>2]=418;c[d+4>>2]=21;c[d+8>>2]=22;c[d+12>>2]=23;c[d+16>>2]=419;c[d+28>>2]=e;c[d+24>>2]=1;c[d+20>>2]=2;g=d;l=h;return g|0}}_D(305189,e);g=0;l=h;return g|0}function aL(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+4|0;d=jg[c[b>>2]&31](a,0,0,1)|0;e=z;if((e|0)<0){d=-1;e=-1;z=d;return e|0}f=jg[c[b>>2]&31](a,0,0,2)|0;g=z;jg[c[b>>2]&31](a,d,e,0)|0;d=g;e=f;z=d;return e|0}function bL(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=l;l=l+16|0;d=a+28|0;if(!(xP(c[d>>2]|0,b,e)|0)){e=UP(c[d>>2]|0)|0;b=((e|0)<0)<<31>>31;z=b;l=f;return e|0}else{_D(294690,f);b=-1;e=-1;z=b;l=f;return e|0}return 0}function cL(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=l;l=l+16|0;g=h;f=a+28|0;a=XP(b,d,e,c[f>>2]|0)|0;if((a|0)==0?mP(c[f>>2]|0)|0:0)_D(294632,g);l=h;return a|0}function dL(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=l;l=l+16|0;g=h;f=a+28|0;a=YO(b,d,e,c[f>>2]|0)|0;if((a|0)==0?mP(c[f>>2]|0)|0:0)_D(294662,g);l=h;return a|0}function eL(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;if(!a){a=0;l=d;return a|0}if((c[a+24>>2]|0)!=0?(hP(c[a+28>>2]|0)|0)!=0:0){_D(294662,b);b=-1}else b=0;UM(a);a=b;l=d;return a|0}function fL(a){a=a|0;c[a+4>>2]=24;c[a+12>>2]=263;c[a+16>>2]=264;c[a+24>>2]=420;c[a+28>>2]=46;c[a+32>>2]=265;c[a+40>>2]=266;c[a>>2]=2;c[a+80>>2]=1;c[a+68>>2]=1;return 1}function gL(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;m=n+16|0;k=n+8|0;d=d|0?0:f;j=(g|0)!=0;if(!d){d=Df((j?305308:305328)|0)|0;d=(d|0)==0?(j?305279:305295):d}h=Df(305346)|0;f=TM(12)|0;i=b+180|0;c[i>>2]=f;if(!f){_D(294618,n);m=-1;l=n;return m|0}g=f+12|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));if(!h)f=((e[b+12>>1]|0)*1e3|0)/(c[b+4>>2]|0)|0;else f=fQ(h)|0;c[(c[i>>2]|0)+4>>2]=f;h=$K(d,j?305365:305368)|0;c[c[i>>2]>>2]=h;if(!h){m=-1;l=n;return m|0}do if(!j){f=b+16|0;g=TM(c[f>>2]|0)|0;c[(c[i>>2]|0)+8>>2]=g;if(g|0){EQ(g|0,a[b+11>>0]|0,c[f>>2]|0)|0;break}_D(294618,k);m=-1;l=n;return m|0}while(0);c[m>>2]=j?305371:305384;c[m+4>>2]=d;wP(0,305395,m);m=0;l=n;return m|0}function hL(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;f=h+8|0;g=h;e=c[(c[a+180>>2]|0)+4>>2]|0;d=(e>>>0)/1e3|0;c[f>>2]=d;e=((e>>>0)%1e3|0)*1e6|0;a=f+4|0;c[a>>2]=e;b=g+4|0;while(1){c[8240]=0;c[g>>2]=d;c[b>>2]=e;e=(Qf(g|0,f|0)|0)!=0;if(!(e&(c[8240]|0)==4))break;d=c[f>>2]|0;e=c[a>>2]|0}l=h;return}function iL(a){a=a|0;var b=0,d=0,e=0;d=c[a+180>>2]|0;e=c[d>>2]|0;b=a+16|0;d=jg[c[e+12>>2]&31](e,c[d+8>>2]|0,1,c[b>>2]|0)|0;if((d|0)==(c[b>>2]|0))return;pL(a);return}function jL(a){a=a|0;return c[(c[a+180>>2]|0)+8>>2]|0}function kL(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,m=0,n=0;n=l;l=l+16|0;j=n+8|0;k=n;m=c[b+180>>2]|0;i=c[m+4>>2]|0;h=(i>>>0)/1e3|0;c[j>>2]=h;i=((i>>>0)%1e3|0)*1e6|0;f=j+4|0;c[f>>2]=i;g=k+4|0;while(1){c[8240]=0;c[k>>2]=h;c[g>>2]=i;i=(Qf(k|0,j|0)|0)!=0;if(!(i&(c[8240]|0)==4))break;h=c[j>>2]|0;i=c[f>>2]|0}f=c[m>>2]|0;if(f){k=jg[c[f+8>>2]&31](f,d,1,e)|0;f=e-k|0;d=d+k|0;if((f|0)>0){k=c[m>>2]|0;gg[c[k+16>>2]&511](k)|0;c[m>>2]=0}}else f=e;EQ(d|0,a[b+11>>0]|0,f|0)|0;l=n;return e|0}function lL(a){a=a|0;return}function mL(a){a=a|0;var b=0,d=0;d=a+180|0;a=c[d>>2]|0;b=c[a>>2]|0;if(b){gg[c[b+16>>2]&511](b)|0;a=c[d>>2]|0}UM(c[a+8>>2]|0);UM(c[d>>2]|0);return}function nL(){oL(0,306621,1);oL(1,306648,2);return}function oL(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=l;l=l+64|0;i=j;g=JO(d)|0;h=TM(g+9|0)|0;f=(h|0)==0;if(!b){if(f){l=j;return}c[h>>2]=e;e=h+8|0;f=JO(d)|0;f=f>>>0>>0?f:g;if((g|0)==-1){g=323700;e=323708;f=323708}else{CQ(e|0,d|0,f|0)|0;a[e+f>>0]=0;g=323700;e=323708;f=323708}}else{if(f){l=j;return}c[h>>2]=e;f=h+8|0;e=JO(d)|0;e=e>>>0>>0?e:g;if((g|0)==-1){g=323704;e=323712;f=323712}else{CQ(f|0,d|0,e|0)|0;a[f+e>>0]=0;g=323704;e=323712;f=323712}}c[h+4>>2]=c[f>>2];c[e>>2]=h;d=c[g>>2]|0;c[g>>2]=d+1;if((d|0)==-1){l=j;return}h=c[80008]|0;if(h|0?c[h>>2]&1|0:0){l=j;return}e=i;f=e+56|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[i>>2]=4352;c[i+8>>2]=d;a[i+12>>0]=b;c[i+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,i)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(i,1,0,0,0)|0)>=1)wI(i);l=j;return}function pL(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+64|0;g=h;d=b+136|0;do{e=c[d>>2]|0;f=c[d>>2]|0;if((f|0)==(e|0))c[d>>2]=e}while((f|0)!=(e|0));if(!e){l=h;return}vg[c[323648>>2]&511](b);c[d>>2]=0;vg[c[323652>>2]&511](b);f=c[80008]|0;if(f|0?c[f>>2]&2|0:0){l=h;return}d=g;e=d+56|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[g>>2]=4353;c[g+8>>2]=c[b>>2];a[g+12>>0]=(c[b+144>>2]|0)!=0&1;c[g+4>>2]=uI()|0;d=c[80247]|0;if(d|0)do{hg[c[d>>2]&63](c[d+4>>2]|0,g)|0;d=c[d+8>>2]|0}while((d|0)!=0);if((vI(g,1,0,0,0)|0)>=1)wI(g);l=h;return}function qL(a){a=a|0;c[a+4>>2]=25;c[a+28>>2]=47;c[a+72>>2]=1;c[a+76>>2]=1;c[a+68>>2]=1;return 1}function rL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function sL(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;k=n+8|0;m=n;j=((e[b+12>>1]|0)*1e3|0)/(c[b+4>>2]|0)|0;i=(j>>>0)/1e3|0;c[k>>2]=i;j=((j>>>0)%1e3|0)*1e6|0;g=k+4|0;c[g>>2]=j;h=m+4|0;while(1){c[8240]=0;c[m>>2]=i;c[h>>2]=j;j=(Qf(m|0,k|0)|0)!=0;if(!(j&(c[8240]|0)==4))break;i=c[k>>2]|0;j=c[g>>2]|0}EQ(d|0,a[b+11>>0]|0,f|0)|0;l=n;return f|0}function tL(b){b=b|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;y=l;l=l+1504|0;x=y+1488|0;s=y+1480|0;r=y+1472|0;q=y+1464|0;m=y+1456|0;k=y+1448|0;o=y+1440|0;n=y+1432|0;w=y;c[79034]=0;v=b>>>4&512|b;v=(v&544|0)==0?v:v|16384;do if(!(c[80248]|0)){c[80248]=1;if(!(ib(4,320996)|0)){c[80251]=1;break}else{Ef(321008,0)|0;break}}while(0);if(v&16384|0){b=a[334777]|0;if(!(b<<24>>24)){d=c[79994]|0;do if(d){b=c[d>>2]|0;if(!(b&8))p=15;else p=32}else{d=TM(32)|0;if(!d){c[79994]=0;p=33;break}if(!(c[d+-4>>2]&3))b=c[d>>2]|0;else{b=d;f=b+32|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(f|0));b=0}c[79994]=d;p=15}while(0);if((p|0)==15){c[d>>2]=b|8;do{b=c[6836]|0;d=c[6836]|0;if((d|0)==(b|0))c[6836]=b}while((d|0)!=(b|0));if((b|0)!=0&(c[6835]|0)!=0?(e=c[6839]|0,e|0):0){d=e;do{f=d+72|0;e=d;d=c[f>>2]|0;b=d;if((c[e>>2]|0)==771){g=e+68|0;h=c[g>>2]|0;if(!h)b=d;else{c[h+72>>2]=b;b=c[f>>2]|0}if(b|0)c[b+68>>2]=h;if((c[6839]|0)==(e|0))c[6839]=b;if((c[6840]|0)==(e|0))c[6840]=c[g>>2];c[f>>2]=c[6841];c[6841]=e;c[6837]=(c[6837]|0)+-1}}while((d|0)!=0)}b=c[79994]|0;if(!b)p=33;else{d=b;b=c[b>>2]|0;p=32}}do if((p|0)==32){if(!(b&4))p=39}else if((p|0)==33){d=TM(32)|0;if(!d){c[79994]=0;break}if(!(c[d+-4>>2]&3))b=c[d>>2]|0;else{b=d;f=b+32|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(f|0));b=0}c[79994]=d;p=39}while(0);if((p|0)==39){c[d>>2]=b|4;do{b=c[6836]|0;d=c[6836]|0;if((d|0)==(b|0))c[6836]=b}while((d|0)!=(b|0));if((b|0)!=0&(c[6835]|0)!=0?(i=c[6839]|0,i|0):0){d=i;do{f=d+72|0;e=d;d=c[f>>2]|0;b=d;if((c[e>>2]|0)==770){g=e+68|0;h=c[g>>2]|0;if(!h)b=d;else{c[h+72>>2]=b;b=c[f>>2]|0}if(b|0)c[b+68>>2]=h;if((c[6839]|0)==(e|0))c[6839]=b;if((c[6840]|0)==(e|0))c[6840]=c[g>>2];c[f>>2]=c[6841];c[6841]=e;c[6837]=(c[6837]|0)+-1}}while((d|0)!=0)}}d=c[79993]|0;do if(d){b=c[d>>2]|0;if(!(b&2))p=62}else{d=TM(32)|0;if(!d){c[79993]=0;break}if(!(c[d+-4>>2]&3))b=c[d>>2]|0;else{b=d;f=b+32|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(f|0));b=0}c[79993]=d;p=62}while(0);if((p|0)==62){c[d>>2]=b|2;do{b=c[6836]|0;d=c[6836]|0;if((d|0)==(b|0))c[6836]=b}while((d|0)!=(b|0));if((b|0)!=0&(c[6835]|0)!=0?(j=c[6839]|0,j|0):0){d=j;do{f=d+72|0;e=d;d=c[f>>2]|0;b=d;if((c[e>>2]|0)==513){g=e+68|0;h=c[g>>2]|0;if(!h)b=d;else{c[h+72>>2]=b;b=c[f>>2]|0}if(b|0)c[b+68>>2]=h;if((c[6839]|0)==(e|0))c[6839]=b;if((c[6840]|0)==(e|0))c[6840]=c[g>>2];c[f>>2]=c[6841];c[6841]=e;c[6837]=(c[6837]|0)+-1}}while((d|0)!=0)}}c[6836]=1;if(!(yI(307747,0)|0)){Rf(2,0,w|0)|0;if(!(c[w>>2]|0)){c[w>>2]=267;Rf(2,w|0,0)|0}Rf(15,0,w|0)|0;if(!(c[w>>2]|0)){c[w>>2]=267;Rf(15,w|0,0)|0}}b=a[334777]|0}a[334777]=b+1<<24>>24}if(v&1|0)a[334763]=(a[334763]|0)+1<<24>>24;if(v&32|0){b=a[334768]|0;do if(!(b<<24>>24))if((uL()|0)<0){x=-1;l=y;return x|0}else{b=a[334768]|0;break}while(0);a[334768]=b+1<<24>>24}if(v&16|0){b=a[334767]|0;if(!(b<<24>>24)){if(a[334767]|0)EL();b=323596;f=b+120|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(f|0));b=323752;f=b+64|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(f|0));g=Df(306547)|0;a:do if(!g){b=0;d=0;while(1){if((d|0)==3){d=1;p=105;break a}while(1){e=c[28436+(d<<2)>>2]|0;if(!(c[e+12>>2]|0))break;d=d+1|0;if((d|0)==3){d=1;p=105;break a}}b=323604;f=b+112|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(f|0));c[80899]=c[e>>2];c[80900]=c[e+4>>2];if(!(gg[c[e+8>>2]&511](323604)|0)){b=1;d=d+1|0}else break}}else{b=0;d=0;while(1){if((d|0)==3){d=0;p=105;break a}f=JO(g)|0;while(1){e=c[28436+(d<<2)>>2]|0;if(!(OO(c[e>>2]|0,g,f)|0))break;d=d+1|0;if((d|0)==3){d=0;p=105;break a}}b=323604;f=b+112|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(f|0));c[80899]=c[e>>2];c[80900]=c[e+4>>2];if(!(gg[c[e+8>>2]&511](323604)|0)){b=1;d=d+1|0}else break}}while(0);if((p|0)==105){do if(!b)if(d){_D(306595,o);break}else{c[n>>2]=g;_D(306563,n);break}while(0);b=323596;f=b+120|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(f|0));x=-1;l=y;return x|0}b=TM(12)|0;if(!b)_D(294618,m);else{_D(306676,k);UM(b)}c[80922]=0;if(c[80917]|0){if(!(c[80912]|0))c[80912]=268;if(!(c[80913]|0))c[80913]=268}b=c[80901]|0;if(!b){c[80901]=3;b=3}if(!(c[80902]|0))c[80902]=26;if(!(c[80903]|0))c[80903]=269;if(!(c[80904]|0))c[80904]=270;if(!(c[80905]|0))c[80905]=271;if(!(c[80906]|0))c[80906]=421;if(!(c[80907]|0))c[80907]=422;if(!(c[80908]|0))c[80908]=48;if(!(c[80909]|0))c[80909]=272;if(!(c[80910]|0))c[80910]=273;if(!(c[80911]|0))c[80911]=274;if(!(c[80912]|0))c[80912]=275;if(!(c[80913]|0))c[80913]=276;if(!(c[80914]|0))c[80914]=277;if(!(c[80915]|0))c[80915]=4;pg[b&15]();b=a[334767]|0}a[334767]=b+1<<24>>24}if(v&512|0){b=a[334772]|0;b:do if(!(b<<24>>24)){b=c[79960]|0;c:do if(b|0){while(1){if(!(wN(306406,c[b>>2]|0)|0))break;b=c[b+16>>2]|0;if(!b)break c}f=b+12|0;b=c[f>>2]|0;if(b|0){d=0;while(1){e=c[b+8>>2]|0;if((c[b>>2]|0)==22?(c[b+4>>2]|0)==0:0)break;if(!e)break c;else{d=b;b=e}}c[(d|0?d+8|0:f)>>2]=e;UM(b)}}while(0);e=TM(12)|0;d:do if(!e)_D(294618,q);else{c[e>>2]=22;c[e+4>>2]=0;b=c[79960]|0;e:do if(!b)p=165;else{d=b;while(1){if(!(wN(306406,c[d>>2]|0)|0))break e;d=c[d+16>>2]|0;if(!d){p=165;break}}}while(0);do if((p|0)==165){d=TM(20)|0;if(!d){_D(294618,r);UM(e);break d}else{c[d>>2]=aP(306406)|0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=c[79960];c[79960]=d;b=d;break}}while(0);d=d+12|0;c[e+8>>2]=c[d>>2];c[d>>2]=e;d=Df(306406)|0;f:do if(!b){b=d;p=174}else{while(1){if(!(wN(306406,c[b>>2]|0)|0))break;b=c[b+16>>2]|0;if(!b){b=d;p=174;break f}}if(d|0?(c[b+8>>2]|0)!=2:0){b=d;p=175;break}b=c[b+4>>2]|0;p=174}while(0);if((p|0)==174)if(!b)b=0;else p=175;if((p|0)==175)b=(a[b>>0]|0)==49&1;c[80937]=b}while(0);if((tL(16384)|0)<0){x=-1;l=y;return x|0}c[80933]=0;d=Tb()|0;do if((d|0)==-1)b=306524;else{if((d|0)>0){b=0;do{if(!(Qb(b|0,w|0)|0))BL(0,w,0)|0;b=b+1|0}while((b|0)!=(d|0))}if(jf(0,0,49)|0){b=c[80932]|0;if(b|0)do{x=b;b=c[b+1320>>2]|0;UM(c[x+8>>2]|0);UM(c[x+4>>2]|0);UM(x)}while((b|0)!=0);c[80935]=0;c[80932]=0;c[80933]=0;c[80936]=0;jf(0,0,0)|0;kf(0,0,0)|0;b=306485;break}if(!(kf(0,0,50)|0)){b=a[334772]|0;break b}b=c[80932]|0;if(b|0)do{x=b;b=c[b+1320>>2]|0;UM(c[x+8>>2]|0);UM(c[x+4>>2]|0);UM(x)}while((b|0)!=0);c[80935]=0;c[80932]=0;c[80933]=0;c[80936]=0;jf(0,0,0)|0;kf(0,0,0)|0;b=306443}while(0);_D(b,s);x=-1;l=y;return x|0}while(0);a[334772]=b+1<<24>>24}if(v&8192|0){b=a[334776]|0;if(!(b<<24>>24)){vL(305545);d=Df(305795)|0;b=c[79960]|0;g:do if(!b){t=d;p=202}else{while(1){if(!(wN(305795,c[b>>2]|0)|0))break;b=c[b+16>>2]|0;if(!b){t=d;p=202;break g}}if(d|0?(c[b+8>>2]|0)!=2:0){u=d;p=203;break}t=c[b+4>>2]|0;p=202}while(0);if((p|0)==202?t|0:0){u=t;p=203}if((p|0)==203?a[u>>0]|0:0){t=JO(u)|0;e=TM(t+1|0)|0;CQ(e|0,u|0,t|0)|0;a[e+t>>0]=0;if(e|0){d=KO(e,10)|0;if(!d)b=e;else{b=e;do{a[d>>0]=0;vL(b);b=d+1|0;d=KO(b,10)|0}while((d|0)!=0)}vL(b)}UM(e)}e=TM(12)|0;if(e|0){c[e>>2]=39;c[e+4>>2]=0;c[e+8>>2]=0;b=c[80247]|0;if(!b)b=320988;else{d=b;do{b=d+8|0;d=c[b>>2]|0}while((d|0)!=0)}c[b>>2]=e}if((c[80933]|0)>0){e=w+8|0;f=w+4|0;d=0;do{if(xL(d)|0){c[w>>2]=1619;c[e>>2]=d;c[f>>2]=uI()|0;b=c[80247]|0;if(b|0)do{hg[c[b>>2]&63](c[b+4>>2]|0,w)|0;b=c[b+8>>2]|0}while((b|0)!=0);if((vI(w,1,0,0,0)|0)>=1)wI(w)}d=d+1|0}while((d|0)<(c[80933]|0))}b=a[334776]|0}a[334776]=b+1<<24>>24}if(!(v&4096)){x=0;l=y;return x|0}_D(305494,x);x=-1;l=y;return x|0}function uL(){var b=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;s=l;l=l+32|0;k=s+16|0;f=s+8|0;j=s;if(c[79957]|0)WL();do if(!(c[80248]|0)){c[80248]=1;if(!(ib(4,320996)|0)){c[80251]=1;break}else{Ef(321008,0)|0;break}}while(0);if((tL(16384)|0)<0){r=-1;l=s;return r|0}CQ(321536,28472,2048)|0;c[79988]=1;i=Df(306710)|0;do if(!i){if(fg[c[27472>>2]&7]()|0?(e=gg[c[27476>>2]&511](0)|0,e|0):0){d=e;b=0;break}if(fg[c[28396>>2]&7]()|0?(d=gg[c[28400>>2]&511](0)|0,d|0):0){b=1;break}_D(306743,f);r=-1;l=s;return r|0}else{f=c[6866]|0;if((OO(f,i,JO(i)|0)|0)==0?(fg[c[27472>>2]&7]()|0)!=0:0){b=0;g=28452;e=15}else e=12;if(((e|0)==12?(f=c[7097]|0,(OO(f,i,JO(i)|0)|0)==0):0)?fg[c[28396>>2]&7]()|0:0){b=1;g=28456;e=15}if((e|0)==15?(h=gg[c[(c[g>>2]|0)+12>>2]&511](0)|0,h|0):0){d=h;break}c[j>>2]=i;_D(306726,j);r=-1;l=s;return r|0}while(0);c[79957]=d;c[d>>2]=c[c[28452+(b<<2)>>2]>>2];c[d+284>>2]=1;c[d+388>>2]=0;c[d+648>>2]=0;c[d+292>>2]=3;c[d+296>>2]=3;c[d+300>>2]=2;c[d+304>>2]=0;c[d+312>>2]=0;c[d+308>>2]=16;c[d+316>>2]=0;c[d+320>>2]=1;i=d+324|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;c[i+16>>2]=0;c[i+20>>2]=0;c[i+24>>2]=0;c[d+384>>2]=1;c[d+352>>2]=-1;c[d+356>>2]=2;c[d+360>>2]=0;c[d+368>>2]=4;c[d+364>>2]=0;c[d+380>>2]=0;c[d+376>>2]=1;c[d+372>>2]=0;i=c[80954]|0;c[80954]=i+1;c[(c[79957]|0)+660>>2]=i+1;i=c[80954]|0;c[80954]=i+1;j=c[79957]|0;c[j+664>>2]=i+1;if((gg[c[j+4>>2]&511](j)|0)<0){WL();r=-1;l=s;return r|0}h=c[79957]|0;if(!(c[h+264>>2]|0)){WL();_D(306769,k);r=-1;l=s;return r|0}g=h+132|0;do if(c[g>>2]|0){e=Df(307554)|0;d=c[79960]|0;f=(d|0)==0;a:do if(f){m=e;e=29}else{b=d;while(1){if(!(wN(307554,c[b>>2]|0)|0))break;b=c[b+16>>2]|0;if(!b){m=e;e=29;break a}}if(e|0?(c[b+8>>2]|0)!=2:0){n=e;e=30;break}m=c[b+4>>2]|0;e=29}while(0);if((e|0)==29?m|0:0){n=m;e=30}if((e|0)==30?(IO(n,306811)|0)==0:0)break;b=Df(306820)|0;b:do if(f)e=37;else{while(1){if(!(wN(306820,c[d>>2]|0)|0))break;d=c[d+16>>2]|0;if(!d){e=37;break b}}if(b|0?(c[d+8>>2]|0)!=2:0)break;b=c[d+4>>2]|0;e=37}while(0);if((e|0)==37)if(!b)break;if((a[b>>0]|0)!=48?IO(b,306849)|0:0)e=40}else e=40;while(0);if((e|0)==40){c[g>>2]=24;c[h+136>>2]=27;c[h+140>>2]=185}if(!(yI(306855,0)|0)){if(h|0){b=h+260|0;if((c[b>>2]|0)==0?(c[b>>2]=1,q=c[h+208>>2]|0,(q|0)!=0):0){vg[q&511](h);o=c[79957]|0;e=46}else{p=h;e=47}}}else{o=h;e=46}if((e|0)==46?o|0:0){p=o;e=47}if(((e|0)==47?(r=c[p+224>>2]|0,r|0):0)?gg[r&511](p)|0:0){r=0;l=s;return r|0}d=c[79994]|0;if(d|0){b=c[d>>2]|0;if(b&8){b=b&-9;c[d>>2]=b}if(b&4|0)c[d>>2]=b&-5}b=c[79957]|0;if(!b){r=0;l=s;return r|0}d=c[b+272>>2]|0;do if(d){do{if(c[d+48>>2]&512|0){e=58;break}d=c[d+152>>2]|0}while((d|0)!=0);if((e|0)==58){e=c[b+228>>2]|0;if(!e)break;Bg[e&255](b,d);b=c[79957]|0}if(!b){r=0;l=s;return r|0}}while(0);d=c[b+212>>2]|0;if(!d){r=0;l=s;return r|0}vg[d&511](b);r=0;l=s;return r|0}function vL(b){b=b|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,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+208|0;x=F+136|0;E=F+128|0;D=F+120|0;v=F+112|0;t=F+104|0;s=F+96|0;f=F+88|0;e=F+80|0;d=F+72|0;A=F+180|0;B=F+160|0;C=F+16|0;w=F;m=F+144|0;if(!b){c[d>>2]=306012;_D(309840,d);l=F;return}d=KO(b,44)|0;do if(d|0){d=d-b|0;k=TM(d+1|0)|0;if(!k){_D(294618,e);break}CQ(k|0,b|0,d|0)|0;a[k+d>>0]=0;o=(IO(k,306054)|0)==0;r=(IO(k,306061)|0)==0;j=(JO(k)|0)&-2;h=A;q=h+16|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(q|0));a:do if(j|0){i=A;g=A;h=0;while(1){if((g-i|0)>=16)break a;d=a[k+h>>0]|0;e=d<<24>>24;do if((d+-48&255)>=10)if((d+-65&255)<6){d=e+201|0;break}else{d=(d+-97&255)<6?e+169|0:0;break}else d=e+208|0;while(0);f=d<<4;d=a[k+(h|1)>>0]|0;e=d<<24>>24;do if((d+-48&255)>=10)if((d+-65&255)<6){d=e+201|0;break}else{d=(d+-97&255)<6?e+169|0:0;break}else d=e+208|0;while(0);a[g>>0]=d|f;h=h+2|0;if(h>>>0>=j>>>0)break;else g=g+1|0}}while(0);h=m;e=A;q=h+16|0;do{a[h>>0]=a[e>>0]|0;h=h+1|0;e=e+1|0}while((h|0)<(q|0));UM(k);h=w;e=m;q=h+16|0;do{a[h>>0]=a[e>>0]|0;h=h+1|0;e=e+1|0}while((h|0)<(q|0));d=KO(b,44)|0;do if((d|0)!=0?(p=d+1|0,n=KO(p,44)|0,(n|0)!=0):0){d=n-d|0;f=TM(d)|0;if(!f){_D(294618,s);z=25;break}CQ(f|0,p|0,d|0)|0;a[f+(d+-1)>>0]=0;d=KO(b,44)|0;if((d|0?(u=KO(d+1|0,44)|0,u|0):0)?(y=aP(u+1|0)|0,y|0):0){d=c[80929]|0;b:do if(d|0){p=d;while(1){if(!(xN(w,p,16)|0))break;d=c[p+24>>2]|0;if(!d)break b;else p=d}o=p+16|0;UM(c[o>>2]|0);c[o>>2]=f;n=p+20|0;UM(c[n>>2]|0);c[n>>2]=y;d=c[80934]|0;if(!d){l=F;return}k=C+8|0;m=C+4|0;do{j=d+12|0;if(!(xN(j,p,16)|0)){c[C>>2]=1621;c[k>>2]=c[c[d>>2]>>2];c[m>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,C)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(C,1,0,0,0)|0)>=1)wI(C);e=c[o>>2]|0;g=c[n>>2]|0;DQ(d+12|0,p|0,16)|0;c[d+28>>2]=e;c[d+208>>2]=-1;c[d+216>>2]=-1;c[d+224>>2]=-1;c[d+232>>2]=-1;c[d+240>>2]=-1;c[d+248>>2]=-1;c[d+256>>2]=-1;c[d+264>>2]=-1;c[d+272>>2]=-1;c[d+280>>2]=-1;c[d+288>>2]=-1;c[d+296>>2]=-1;c[d+304>>2]=-1;c[d+312>>2]=-1;EQ(d+32|0,-1,172)|0;e=0;do{c[d+320+(e<<2)>>2]=-1;c[d+512+(e<<2)>>2]=-1;c[d+704+(e<<2)>>2]=-1;c[d+896+(e<<2)>>2]=-1;e=e+1|0}while((e|0)!=48);EQ(d+1088|0,-1,256)|0;h=A;q=h+20|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(q|0));h=B;q=h+20|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(q|0));c:do if(g){e=0;f=1;i=g;d:while(1){g=a[i>>0]|0;e:do switch(g<<24>>24){case 0:{z=55;break c}case 58:{e=0;f=0;break}case 32:break;case 44:{zL(A,B,j);h=A;q=h+20|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(q|0));h=B;q=h+20|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(q|0));e=0;f=1;break}default:{h=e>>>0>19;if(!f){if(h){z=51;break d}a[B+e>>0]=g;e=e+1|0;f=0;break e}else{if(h){z=48;break d}a[A+e>>0]=g;e=e+1|0;break e}}}while(0);i=i+1|0}if((z|0)==48){z=0;c[D>>2]=A;_D(306118,D);break}else if((z|0)==51){z=0;c[E>>2]=B;_D(306144,E);break}}else z=55;while(0);if((z|0)==55)zL(A,B,j)}d=c[d+1344>>2]|0}while((d|0)!=0);l=F;return}while(0);d=TM(28)|0;if(!d){UM(f);UM(y);_D(294618,x);break}h=d;e=w;q=h+16|0;do{a[h>>0]=a[e>>0]|0;h=h+1|0;e=e+1|0}while((h|0)<(q|0));c[d+16>>2]=f;c[d+20>>2]=y;c[d+24>>2]=c[80929];c[80929]=d;if(!((d|0)!=0&1)){l=F;return}if(o)c[80931]=d;if(!r){l=F;return}c[80930]=d;l=F;return}UM(f);c[v>>2]=b;_D(306100,v)}else z=25;while(0);if((z|0)==25){c[t>>2]=b;_D(306072,t)}l=F;return}while(0);c[f>>2]=b;_D(306026,f);l=F;return}function wL(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+80|0;g=q+64|0;e=q+56|0;p=q;switch(c[f>>2]|0){case 1536:{i=a[f+12>>0]|0;if((i&255)>47){c[e>>2]=i&255;_D(305864,e);l=q;return 1}e=c[80934]|0;if(!e){l=q;return 1}h=c[f+8>>2]|0;while(1){j=c[e>>2]|0;if((c[j>>2]|0)==(h|0))break;g=c[e+1344>>2]|0;if(!g){m=28;break}else e=g}if((m|0)==28){l=q;return 1}g=i&255;h=c[e+320+(g<<2)>>2]|0;if((h|0)<=-1){g=c[e+896+(g<<2)>>2]|0;if((g|0)<=-1){l=q;return 1}o=b[f+16>>1]|0;e=o<<16>>16;e=((o<<16>>16<0?0-e|0:e)|0)>16384;o=e?1617:1618;c[p>>2]=o;n=c[79997]|0;if(!((n|0)!=0?(c[n+8>>2]&1<<(o&19)|0)!=0:0)){c[p+8>>2]=c[j>>2];a[p+12>>0]=g;a[p+13>>0]=e&1;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}l=q;return 1}e=b[f+16>>1]|0;if((h&-2|0)==4)e=(((e<<16>>16)/2|0)&65535)+16384&65535;o=c[79997]|0;if(o|0?c[o+8>>2]&65536|0:0){l=q;return 1}c[p>>2]=1616;c[p+8>>2]=c[j>>2];a[p+12>>0]=h;b[p+16>>1]=e;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p);l=q;return 1}case 1540:case 1539:{i=a[f+12>>0]|0;if((i&255)>47){c[g>>2]=i&255;_D(305937,g);l=q;return 1}e=c[80934]|0;if(!e){l=q;return 1}h=c[f+8>>2]|0;while(1){j=c[e>>2]|0;if((c[j>>2]|0)==(h|0))break;g=c[e+1344>>2]|0;if(!g){m=28;break}else e=g}if((m|0)==28){l=q;return 1}g=i&255;h=c[e+704+(g<<2)>>2]|0;if((h|0)>-1){e=a[f+13>>0]|0;switch(e<<24>>24){case 1:{k=1617;m=37;break}case 0:{k=1618;m=37;break}default:{}}do if((m|0)==37){c[p>>2]=k;o=c[79997]|0;if(o|0?c[o+8>>2]&1<<(k&19)|0:0)break;c[p+8>>2]=c[j>>2];a[p+12>>0]=h;a[p+13>>0]=e;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0);l=q;return 1}g=c[e+512+(g<<2)>>2]|0;if((g|0)<=-1){l=q;return 1}e=a[f+13>>0]|0;o=c[79997]|0;if(o|0?c[o+8>>2]&65536|0:0){l=q;return 1}c[p>>2]=1616;c[p+8>>2]=c[j>>2];a[p+12>>0]=g;b[p+16>>1]=e<<24>>24?32767:0;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p);l=q;return 1}case 1538:{o=f+12|0;g=a[o>>0]|0;if((g&255)>3){l=q;return 1}e=c[80934]|0;if(!e){l=q;return 1}h=c[f+8>>2]|0;n=e;while(1){i=c[n>>2]|0;if((c[i>>2]|0)==(h|0))break;e=c[n+1344>>2]|0;if(!e){m=28;break}else n=e}if((m|0)==28){l=q;return 1}j=g&255;g=a[n+8+j>>0]|0;k=f+13|0;h=a[k>>0]&g;j=j<<4;g=(h^g)&255;if(g&4|0){e=c[n+1088+((j|4)<<2)>>2]|0;do if((e|0)!=-1){c[p>>2]=1618;f=c[79997]|0;if(f|0?c[f+8>>2]&262144|0:0)break;c[p+8>>2]=c[i>>2];a[p+12>>0]=e;a[p+13>>0]=0;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0)}if(g&1|0){e=c[n+1088+((j|1)<<2)>>2]|0;do if((e|0)!=-1){c[p>>2]=1618;f=c[79997]|0;if(f|0?c[f+8>>2]&262144|0:0)break;c[p+8>>2]=c[c[n>>2]>>2];a[p+12>>0]=e;a[p+13>>0]=0;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0)}if(g&8|0){e=c[n+1088+((j|8)<<2)>>2]|0;do if((e|0)!=-1){c[p>>2]=1618;f=c[79997]|0;if(f|0?c[f+8>>2]&262144|0:0)break;c[p+8>>2]=c[c[n>>2]>>2];a[p+12>>0]=e;a[p+13>>0]=0;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0)}if(g&2|0){e=c[n+1088+((j|2)<<2)>>2]|0;do if((e|0)!=-1){c[p>>2]=1618;f=c[79997]|0;if(f|0?c[f+8>>2]&262144|0:0)break;c[p+8>>2]=c[c[n>>2]>>2];a[p+12>>0]=e;a[p+13>>0]=0;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0)}g=(a[k>>0]^h)&255;if(g&4|0){e=c[n+1088+((j|4)<<2)>>2]|0;do if((e|0)!=-1){c[p>>2]=1617;f=c[79997]|0;if(f|0?c[f+8>>2]&131072|0:0)break;c[p+8>>2]=c[c[n>>2]>>2];a[p+12>>0]=e;a[p+13>>0]=1;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0)}if(g&1|0){e=c[n+1088+((j|1)<<2)>>2]|0;do if((e|0)!=-1){c[p>>2]=1617;f=c[79997]|0;if(f|0?c[f+8>>2]&131072|0:0)break;c[p+8>>2]=c[c[n>>2]>>2];a[p+12>>0]=e;a[p+13>>0]=1;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0)}if(g&8|0){e=c[n+1088+((j|8)<<2)>>2]|0;do if((e|0)!=-1){c[p>>2]=1617;f=c[79997]|0;if(f|0?c[f+8>>2]&131072|0:0)break;c[p+8>>2]=c[c[n>>2]>>2];a[p+12>>0]=e;a[p+13>>0]=1;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0)}if(g&2|0){e=c[n+1088+((j|2)<<2)>>2]|0;do if((e|0)!=-1){c[p>>2]=1617;f=c[79997]|0;if(f|0?c[f+8>>2]&131072|0:0)break;c[p+8>>2]=c[c[n>>2]>>2];a[p+12>>0]=e;a[p+13>>0]=1;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p)}while(0)}a[(d[o>>0]|0)+(n+8)>>0]=a[k>>0]|0;l=q;return 1}case 1541:{e=f+8|0;if(!(xL(c[e>>2]|0)|0)){l=q;return 1}c[p>>2]=1619;c[p+8>>2]=c[e>>2];c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p);l=q;return 1}case 1542:{e=c[80934]|0;if(!e){l=q;return 1}g=c[f+8>>2]|0;while(1){if((c[c[e>>2]>>2]|0)==(g|0))break;e=c[e+1344>>2]|0;if(!e){m=28;break}}if((m|0)==28){l=q;return 1}c[p>>2]=1620;c[p+8>>2]=g;c[p+4>>2]=uI()|0;e=c[80247]|0;if(e|0)do{hg[c[e>>2]&63](c[e+4>>2]|0,p)|0;e=c[e+8>>2]|0}while((e|0)!=0);if((vI(p,1,0,0,0)|0)>=1)wI(p);yL();l=q;return 1}default:{l=q;return 1}}return 0}function xL(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+48|0;j=k+8|0;e=k;g=k+32|0;h=k+16|0;i=(b|0)<0;d=c[80933]|0;if((d|0)>(b|0)&(i^1)){d=c[80932]|0;if((b|0)>0){e=b;while(1){d=c[d+1320>>2]|0;if((e|0)>1)e=e+-1|0;else break}}d=c[d+4>>2]|0;e=g;f=e+16|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=JO(d)|0;CQ(g|0,d|0,(e>>>0<16?e:16)|0)|0;e=h;d=g;f=e+16|0;do{a[e>>0]=a[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(f|0))}else{c[e>>2]=d;_D(305831,e);e=h;f=e+16|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0))}d=c[80929]|0;a:do if(!d)d=0;else while(1){if(!(xN(h,d,16)|0))break a;d=c[d+24>>2]|0;if(!d){d=0;break}}while(0);h=c[80930]|0;d=(d|0)==0&(h|0)!=0?h:d;if(d|0){j=d;l=k;return j|0}d=c[80933]|0;if(!((d|0)>(b|0)&(i^1))){c[j>>2]=d;_D(305831,j);j=0;l=k;return j|0}d=c[80932]|0;if((b|0)>0)while(1){d=c[d+1320>>2]|0;if((b|0)>1)b=b+-1|0;else break}d=c[d+4>>2]|0;if(!d){j=0;l=k;return j|0}if((zP(d,305820)|0)==0?(zP(d,305825)|0)==0:0){j=0;l=k;return j|0}j=c[80931]|0;l=k;return j|0}function yL(){var a=0,b=0,d=0,e=0,f=0;e=l;l=l+16|0;d=e;do{a=c[6836]|0;b=c[6836]|0;if((b|0)==(a|0))c[6836]=a}while((b|0)!=(a|0));if(!a){_D(294807,d);l=e;return}b=0;a=c[6839]|0;a:while(1){do{if(!a)break a;d=a;a=c[a+72>>2]|0}while((c[d>>2]|0)!=1619);b=b+1|0}if((b|0)<1){l=e;return}d=l;l=l+((1*(b*56|0)|0)+15&-16)|0;b=vI(d,b,2,1619,1619)|0;if((b|0)>0){a=0;do{f=d+(a*56|0)+8|0;c[f>>2]=(c[f>>2]|0)+-1;a=a+1|0}while((a|0)!=(b|0))}vI(d,b,0,0,0)|0;l=e;return}function zL(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,m=0,n=0;n=l;l=l+32|0;m=n+16|0;k=n+8|0;j=n;if((b|0)!=0?(a[b>>0]|0)!=0:0){if(IO(b,306306)|0)if(IO(b,306308)|0)if(IO(b,306310)|0)if(IO(b,306312)|0)if(IO(b,306314)|0)if(IO(b,306319)|0)if(IO(b,306325)|0)if(IO(b,306331)|0)if(IO(b,306341)|0)if(IO(b,306352)|0)if(IO(b,306365)|0)if(IO(b,306379)|0)if(IO(b,306384)|0)if(!(IO(b,306391)|0))f=13;else{f=(IO(b,306398)|0)==0;f=f?14:-1}else f=12;else f=11;else f=10;else f=9;else f=8;else f=7;else f=6;else f=5;else f=4;else f=3;else f=2;else f=1;else f=0;if(IO(b,306255)|0)if(IO(b,306261)|0)if(IO(b,306267)|0)if(IO(b,306274)|0)if(!(IO(b,306281)|0)){g=4;i=f}else{g=(IO(b,306293)|0)==0;g=g?5:-1;i=f}else{g=3;i=f}else{g=2;i=f}else{g=1;i=f}else{g=0;i=f}}else{g=-1;i=-1}b=d+1|0;h=fQ(b)|0;switch(a[d>>0]|0){case 97:{if((h|0)>47){c[j>>2]=h;_D(306179,j);l=n;return}if((g|0)!=-1){c[e+20+(g<<2)>>2]=h;c[e+308+(h<<2)>>2]=g;l=n;return}if((i|0)==-1){l=n;return}c[e+128+(i<<2)>>2]=h;c[e+884+(h<<2)>>2]=i;l=n;return}case 98:{if((h|0)>47){c[k>>2]=h;_D(306204,k);l=n;return}if((i|0)!=-1){c[e+68+(i<<2)>>2]=h;c[e+692+(h<<2)>>2]=i;l=n;return}if((g|0)==-1){l=n;return}c[e+44+(g<<2)>>2]=h;c[e+500+(h<<2)>>2]=g;l=n;return}case 104:{f=fQ(b)|0;b=fQ(d+3|0)|0;if((f|0)>3){c[m>>2]=h;_D(306231,m)}if((i|0)==-1){l=n;return}c[e+188+(i<<3)>>2]=f;a[e+188+(i<<3)+4>>0]=b;c[e+1076+((f<<4|b)<<2)>>2]=i;l=n;return}default:{l=n;return}}}function AL(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if(!f)b=0;else b=(a[f>>0]|0)==49&1;c[80937]=b;return}function BL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0;j=l;l=l+64|0;i=j;f=b+1300|0;d=c[f>>2]|0;a:do if((d|0)>=0?(e=c[80932]|0,e|0):0){a=e;while(1){if((c[a>>2]|0)==(d|0))break;a=c[a+1320>>2]|0;if(!a)break a}l=j;return 1}while(0);g=TM(1328)|0;if(!g){l=j;return 1}EQ(g+4|0,0,1324)|0;c[g>>2]=c[f>>2];f=aP(b+1304|0)|0;a=g+4|0;c[a>>2]=f;if(!f){UM(g);l=j;return 1}f=aP(b+1368|0)|0;c[g+8>>2]=f;if(!f){UM(c[a>>2]|0);UM(g);l=j;return 1}d=c[b+8>>2]|0;e=g+24|0;c[e>>2]=d;a=c[b+12>>2]|0;f=g+20|0;c[f>>2]=a;k=c[80936]|0;c[80936]=k+1;c[g+12>>2]=k;h[g+32>>3]=+h[b>>3];if((d|0)>0){d=g+40|0;a=0;do{h[d+(a<<3)>>3]=+h[b+16+(a<<3)>>3];a=a+1|0}while((a|0)<(c[e>>2]|0));a=c[f>>2]|0}if((a|0)>0){d=g+552|0;e=g+1064|0;a=0;do{h[d+(a<<3)>>3]=+h[b+528+(a<<3)>>3];c[e+(a<<2)>>2]=c[b+1040+(a<<2)>>2];a=a+1|0}while((a|0)<(c[f>>2]|0))}a=c[80935]|0;if(!a){c[80935]=g;a=323728}else{c[a+1320>>2]=g;a=323740}c[a>>2]=g;a=c[80933]|0;c[80933]=a+1;c[i>>2]=1541;k=c[79997]|0;if(!((k|0)!=0?(c[k>>2]&32|0)!=0:0)){c[i+8>>2]=a;c[i+4>>2]=uI()|0;a=c[80247]|0;if(a|0)do{hg[c[a>>2]&63](c[a+4>>2]|0,i)|0;a=c[a+8>>2]|0}while((a|0)!=0);if((vI(i,1,0,0,0)|0)>=1)wI(i)}l=j;return 1}function CL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+64|0;g=h;a=c[80932]|0;if(!a){l=h;return 1}b=c[b+1300>>2]|0;f=a;d=0;while(1){if((c[f>>2]|0)==(b|0))break;a=c[f+1320>>2]|0;if(!a){e=19;break}else{d=f;f=a}}if((e|0)==19){l=h;return 1}a=c[f+16>>2]|0;if(a|0)c[a+44>>2]=0;a=c[f+1320>>2]|0;if(!d)c[80932]=a;else c[d+1320>>2]=a;if((f|0)==(c[80935]|0))c[80935]=d;c[80933]=(c[80933]|0)+-1;a=c[f+12>>2]|0;c[g>>2]=1542;e=c[79997]|0;if(!((e|0)!=0?(c[e>>2]&64|0)!=0:0)){c[g+8>>2]=a;c[g+4>>2]=uI()|0;a=c[80247]|0;if(a|0)do{hg[c[a>>2]&63](c[a+4>>2]|0,g)|0;a=c[a+8>>2]|0}while((a|0)!=0);if((vI(g,1,0,0,0)|0)>=1)wI(g)}DL();UM(c[f+4>>2]|0);UM(c[f+8>>2]|0);UM(f);l=h;return 1}function DL(){var a=0,b=0,d=0,e=0,f=0;e=l;l=l+16|0;d=e;do{a=c[6836]|0;b=c[6836]|0;if((b|0)==(a|0))c[6836]=a}while((b|0)!=(a|0));if(!a){_D(294807,d);l=e;return}b=0;a=c[6839]|0;a:while(1){do{if(!a)break a;d=a;a=c[a+72>>2]|0}while((c[d>>2]|0)!=1541);b=b+1|0}if((b|0)<1){l=e;return}d=l;l=l+((1*(b*56|0)|0)+15&-16)|0;b=vI(d,b,2,1541,1541)|0;if((b|0)>0){a=0;do{f=d+(a*56|0)+8|0;c[f>>2]=(c[f>>2]|0)+-1;a=a+1|0}while((a|0)!=(b|0))}vI(d,b,0,0,0)|0;l=e;return}function EL(){var a=0,b=0,d=0;if(!(c[80899]|0))return;VL(c[80938]|0);VL(c[80939]|0);VL(c[80940]|0);VL(c[80941]|0);VL(c[80942]|0);VL(c[80943]|0);VL(c[80944]|0);VL(c[80945]|0);VL(c[80946]|0);VL(c[80947]|0);VL(c[80948]|0);VL(c[80949]|0);VL(c[80950]|0);VL(c[80951]|0);VL(c[80952]|0);VL(c[80953]|0);a=c[80927]|0;if(a|0)do{b=a;a=c[a+4>>2]|0;d=c[b>>2]|0;if(d|0)vg[c[323656>>2]&511](d);UM(b)}while((a|0)!=0);c[80927]=0;c[80925]=0;a=c[80928]|0;if(a|0)do{b=a;a=c[a+4>>2]|0;d=c[b>>2]|0;if(d|0)vg[c[323656>>2]&511](d);UM(b)}while((a|0)!=0);c[80928]=0;c[80926]=0;pg[c[323660>>2]&15]();a=c[80922]|0;if(a|0)UM(a);a=323596;b=a+120|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));a=323752;b=a+64|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function FL(a){a=a|0;return}function GL(){oL(0,306621,1);if(!(c[80918]|0))return;oL(1,306648,2);return}function HL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=l;l=l+16|0;_D(294718,d);l=d;return -1}function IL(a){a=a|0;return}function JL(a){a=a|0;return}function KL(a){a=a|0;return}function LL(a){a=a|0;return 0}function ML(a){a=a|0;return 0}function NL(a,b,c){a=a|0;b=b|0;c=c|0;return -1}function OL(a){a=a|0;return}function PL(a){a=a|0;return}function QL(a){a=a|0;return}function RL(a){a=a|0;return}function SL(a){a=a|0;return}function TL(a){a=a|0;return}function UL(){return}function VL(a){a=a|0;var b=0,d=0;if(!a)return;b=c[a>>2]|0;if(b|0?(d=323752+(b+-1<<2)|0,(c[d>>2]|0)==(a|0)):0)c[d>>2]=0;c[a+132>>2]=1;c[a+136>>2]=0;b=c[a+156>>2]|0;if(b|0){d=c[b+792>>2]|0;if(d|0)UM(d);UM(b)}b=c[a+152>>2]|0;if(b|0)UM(b);UM(c[a+148>>2]|0);if(c[a+28>>2]|0)UM(c[a+44>>2]|0);if(c[a+180>>2]|0)vg[c[323644>>2]&511](a);b=c[a+164>>2]|0;if(b|0)do{d=b;b=c[b+8200>>2]|0;UM(d)}while((b|0)!=0);b=c[a+172>>2]|0;if(b|0)do{d=b;b=c[b+8200>>2]|0;UM(d)}while((b|0)!=0);UM(a);return}function WL(){var a=0,b=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;s=l;l=l+16|0;j=s;if(!(c[79957]|0)){l=s;return}b=c[80896]|0;a=c[80897]|0;a:do if(b){d=b;h=b;while(1){d=d+-1|0;g=c[a+(d<<2)>>2]|0;f=c[g>>2]|0;g=c[g+4>>2]|0;b:do if((h|0)>0){b=0;while(1){i=c[a+(b<<2)>>2]|0;if((c[i>>2]|0)==(f|0)?(c[i+4>>2]|0)==(g|0):0)break;b=b+1|0;if((b|0)>=(h|0)){b=-1;break}}e=0;while(1){i=c[a+(e<<2)>>2]|0;t=i;if((c[t>>2]|0)==(f|0)?(c[t+4>>2]|0)==(g|0):0)break;e=e+1|0;if((e|0)>=(h|0)){o=10;break b}}if((e|0)>-1&(e|0)<(h|0)){if(i){f=i+12|0;g=i+16|0;a=c[g>>2]|0;if((c[f>>2]|0)>0){e=0;do{UM(c[a+(e<<2)>>2]|0);e=e+1|0;a=c[g>>2]|0}while((e|0)<(c[f>>2]|0))}UM(a);UM(i);t=(c[80896]|0)+-1|0;c[80896]=t;a=c[80897]|0;c[a+(b<<2)>>2]=c[a+(t<<2)>>2]}}else o=10}else o=10;while(0);if((o|0)==10){o=0;_D(298246,j);a=c[80897]|0}if(!d)break a;h=c[80896]|0}}while(0);UM(a);c[80897]=0;a=c[79970]|0;if(((a|0?(k=c[80254]|0,k|0):0)?(m=k+48|0,c[m>>2]&16384|0):0)?(gg[a&511](0)|0)!=-1:0)c[m>>2]=c[m>>2]&-16385;do if(c[79981]|0){if(!(c[79982]|0))gg[c[319876>>2]&511](0)|0;else c[79982]=0;c[79981]=0;e=c[79973]|0;do if(e|0){t=(c[e+48>>2]&768|0)!=768;d=(t^1)&1;a=c[79957]|0;b=c[a+276>>2]|0;if(t)if((b|0)==(e|0)){b=0;o=32}else b=a;else if(!((b|0)==0|(b|0)==(e|0))?(n=b+48|0,c[n>>2]=c[n>>2]&-257,n=c[a+124>>2]|0,(n|0)!=0):0){Dg[n&63](a,b,0);b=e;a=c[79957]|0;o=32}else{b=e;o=32}if((o|0)==32){c[a+276>>2]=b;b=a}a=c[b+124>>2]|0;if(a|0)Dg[a&63](b,e,d);b=c[79973]|0;d=c[79974]|0;e=c[79975]|0;if(b|0){a=c[79967]|0;if(a|0){Dg[a&63](b,d,e);break}a=c[79972]|0;if(zI(b,d,e)|0)AI(b,a,0,d,e)|0}}while(0);do{a=c[6836]|0;b=c[6836]|0;if((b|0)==(a|0))c[6836]=a}while((b|0)!=(a|0));if((a|0)!=0&(c[6835]|0)!=0?(p=c[6839]|0,p|0):0){b=p;do{e=b+72|0;d=b;b=c[e>>2]|0;a=b;if((c[d>>2]|0)==1024){f=d+68|0;g=c[f>>2]|0;if(!g)a=b;else{c[g+72>>2]=a;a=c[e>>2]|0}if(a|0)c[a+68>>2]=g;if((c[6839]|0)==(d|0))c[6839]=a;if((c[6840]|0)==(d|0))c[6840]=c[f>>2];c[e>>2]=c[6841];c[6841]=d;c[6837]=(c[6837]|0)+-1}}while((b|0)!=0)}a=(c[79973]|0)==0?c[79986]|0:c[79987]|0;b=c[79964]|0;d=(b|0)==0;if((a|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(d)break;gg[b&511](a)|0;break}else{if(d)break;gg[b&511](0)|0;break}}while(0);t=c[79988]|0;c[79988]=1;do if((t|0)!=1){a=(c[79973]|0)==0?c[79986]|0:c[79987]|0;b=c[79964]|0;d=(b|0)==0;if((a|0)!=0&(c[79981]|0)==0){if(d)break;gg[b&511](a)|0;break}else{if(d)break;gg[b&511](0)|0;break}}while(0);a=c[79985]|0;if(a|0)do{f=a;a=c[a>>2]|0;b=c[79986]|0;c:do if((b|0)!=(f|0)){do if((c[79987]|0)==(f|0)){if(!b)b=(c[79973]|0)==0?0:f;else c[79987]=b;d=c[79964]|0;e=(d|0)==0;if((b|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(e)break;gg[d&511](b)|0;break}else{if(e)break;gg[d&511](0)|0;break}}while(0);b=0;d=c[79985]|0;while(1){if(!d)break c;e=c[d>>2]|0;if((d|0)==(f|0))break;else{b=d;d=e}}c[(b|0?b:319940)>>2]=e;b=c[79966]|0;if(b|0)vg[b&511](f)}while(0)}while((a|0)!=0);a=c[79986]|0;if(a|0?(q=c[79966]|0,q|0):0)vg[q&511](a);a=c[79984]|0;if(a|0)UM(a);a=319848;b=a+112|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));yM(16384);a=c[79957]|0;b=a+260|0;if((c[b>>2]|0)!=0?(c[b>>2]=0,r=c[a+208>>2]|0,(r|0)!=0):0){vg[r&511](a);a=c[79957]|0}b=c[a+272>>2]|0;if(b)do{zM(b);a=c[79957]|0;b=c[a+272>>2]|0}while((b|0)!=0);vg[c[a+8>>2]&511](a);b=c[79957]|0;d=c[b+264>>2]|0;a=c[b+268>>2]|0;if((d|0)>0){f=0;do{d=c[a+(f*68|0)+8>>2]|0;e=a+(f*68|0)+12|0;b=c[e>>2]|0;if(d)do{d=d+-1|0;UM(c[b+(d*20|0)+16>>2]|0);b=c[e>>2]|0;c[b+(d*20|0)+16>>2]=0}while((d|0)!=0);UM(b);c[e>>2]=0;b=a+(f*68|0)+32|0;UM(c[b>>2]|0);c[b>>2]=0;b=a+(f*68|0)+64|0;UM(c[b>>2]|0);c[b>>2]=0;f=f+1|0;b=c[79957]|0;d=c[b+264>>2]|0;a=c[b+268>>2]|0}while((f|0)<(d|0))}if(!a)a=b;else{if((d|0)>0){b=0;do{UM(c[a+(b*68|0)>>2]|0);b=b+1|0;t=c[79957]|0;a=c[t+268>>2]|0}while((b|0)<(c[t+264>>2]|0))}UM(a);a=c[79957]|0;c[a+268>>2]=0;c[a+264>>2]=0}UM(c[a+288>>2]|0);t=c[79957]|0;c[t+288>>2]=0;vg[c[t+684>>2]&511](t);c[79957]=0;l=s;return}function XL(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+128|0;k=t+40|0;s=t+32|0;q=t+24|0;n=t+16|0;i=t+8|0;r=t+44|0;b=c[79957]|0;a:do if(!b){_D(288260,t);j=11}else{if(d|0?(c[d>>2]|0)==(b+280|0):0){b=c[d+140>>2]|0;if(!b){j=11;break}while(1){i=c[b>>2]|0;if(i|0?(wN(i,306883)|0)==0: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{p=b;break}}_D(307482,i);j=11}while(0);if((j|0)==11){i=Df(306820)|0;b=c[79960]|0;b:do if(!b){b=i;j=17}else{while(1){if(!(wN(306820,c[b>>2]|0)|0))break;b=c[b+16>>2]|0;if(!b){b=i;j=17;break b}}if(i|0?(c[b+8>>2]|0)!=2:0){b=i;j=18;break}b=c[b+4>>2]|0;j=17}while(0);if((j|0)==17)if(!b)j=24;else j=18;do if((j|0)==18)if((((a[b>>0]&-2)<<24>>24!=48?(IO(b,307279)|0)!=0:0)?(IO(b,306849)|0)!=0:0)?(IO(b,306811)|0)!=0:0){if(IO(c[3901]|0,b)|0)if(!(IO(c[6845]|0,b)|0))b=1;else{j=24;break}else b=0;b=vM(d,b,0)|0;if(b)h=b;else j=24}else j=24;while(0);do if((j|0)==24){if(wN(c[3901]|0,306811)|0?(m=vM(d,0,0)|0,m|0):0){h=m;break}if(wN(c[6845]|0,306811)|0?(h=vM(d,1,0)|0,h|0):0)break;_D(307284,k);g=-1;l=t;return g|0}while(0);b=TM(20)|0;if(!b){$L(h);_D(294618,n);g=-1;l=t;return g|0}if(c[b+-4>>2]&3|0){i=b;j=i+20|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(j|0))}ZK(d,306883,b)|0;c[b>>2]=h;p=b}n=p+4|0;b=c[n>>2]|0;if(b|0){_L(b);c[n>>2]=0}o=p+8|0;UM(c[o>>2]|0);c[o>>2]=0;m=c[p>>2]|0;if(m|0?(c[m>>2]|0)==332713:0){i=r;b=m+104|0;j=i+84|0;do{c[i>>2]=c[b>>2];i=i+4|0;b=b+4|0}while((i|0)<(j|0));b=c[r+12>>2]|0;c[e>>2]=b;k=c[r+8>>2]|0;c:do if(k){j=0;h=b;d:while(1){e:do if((h|0)==0|(h&-268435456|0)==268435456){i=h>>>24&15;if((i+-4|0)>>>0<3)switch(h>>>20&15){case 8:case 7:case 4:case 3:break e;default:{}}if((i+-7|0)>>>0>=5)break d;switch(h>>>20&15){case 5:case 6:case 2:case 3:break;default:break d}}while(0);h=j+1|0;if(h>>>0>=k>>>0)break c;j=h;h=c[r+12+(h<<2)>>2]|0}c[e>>2]=h;b=h}while(0);h=d+24|0;i=d+28|0;d=wM(m,b,c[h>>2]|0,c[i>>2]|0)|0;c[n>>2]=d;if(!d){g=-1;l=t;return g|0}b=c[e>>2]|0;f: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 f}default:{}}else switch(b|0){case 1498831189:{b=2;break f}default:{}}b=(b|0)==1431918169?2:1}while(0);c[p+16>>2]=b;b=(O(c[h>>2]|0,b)|0)+3&-4;h=p+12|0;c[h>>2]=b;b=TM(O(b,c[i>>2]|0)|0)|0;c[o>>2]=b;if(!b){_D(294618,s);g=-1;l=t;return g|0}else{c[f>>2]=b;c[g>>2]=c[h>>2];cM(c[p>>2]|0,0);g=0;l=t;return g|0}}_D(289387,q);g=-1;l=t;return g|0}function YL(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+80|0;r=s+56|0;n=s+48|0;m=s+40|0;p=s+32|0;o=s+24|0;g=s+16|0;f=s+8|0;q=s+64|0;a=c[79957]|0;a:do if(!a)_D(288260,s);else{if(b|0?(c[b>>2]|0)==(a+280|0):0){a=c[b+140>>2]|0;if(!a)break;while(1){f=c[a>>2]|0;if(f|0?(wN(f,306883)|0)==0:0)break;a=c[a+8>>2]|0;if(!a)break a}i=c[a+4>>2]|0;if(!i)break;j=i+4|0;k=c[j>>2]|0;if(!k)break;h=c[b+24>>2]|0;b=c[b+28>>2]|0;if((h|0)<1){c[o>>2]=307251;_D(309840,o);r=0;l=s;return r|0}if((b|0)<1){c[p>>2]=307257;_D(309840,p);r=0;l=s;return r|0}if(!d){c[m>>2]=307264;_D(309840,m);r=0;l=s;return r|0}if((e|0)<1){c[n>>2]=307270;_D(309840,n);r=0;l=s;return r|0}else{a=0;f=0;g=b}do{o=c[d+(a<<4)+4>>2]|0;p=(c[d+(a<<4)+12>>2]|0)+o|0;g=(o|0)<0?0:(o|0)<(g|0)?o:g;f=(p|0)>(b|0)?b:(p|0)>(f|0)?p:f;a=a+1|0}while((a|0)!=(e|0));if((f|0)<=(g|0)){r=0;l=s;return r|0}c[q>>2]=0;c[q+4>>2]=g;c[q+8>>2]=h;c[q+12>>2]=f-g;e=c[i+12>>2]|0;if((dM(k,q,(c[i+8>>2]|0)+(O(e,g)|0)|0,e)|0)<0){r=-1;l=s;return r|0}if((eM(c[i>>2]|0,c[j>>2]|0,0,0)|0)<0){r=-1;l=s;return r|0}a=c[i>>2]|0;if(a|0?(c[a>>2]|0)==332713:0){if(c[a+192>>2]|0){r=0;l=s;return r|0}vg[c[a+84>>2]&511](a);r=0;l=s;return r|0}_D(289387,r);r=0;l=s;return r|0}_D(307482,f)}while(0);_D(307021,g);r=-1;l=s;return r|0}function ZL(a,b){a=a|0;b=b|0;b=ZK(b,306883,0)|0;if(!b)return;a=c[b+4>>2]|0;if(a|0)_L(a);a=c[b>>2]|0;if(a|0)$L(a);UM(c[b+8>>2]|0);UM(b);return}function _L(a){a=a|0;var b=0,d=0,e=0,f=0;f=l;l=l+16|0;b=f;if(a|0?(c[a>>2]|0)==332714:0){e=c[a+32>>2]|0;if((c[e+308>>2]|0)==(a|0))bM(e,0);c[a>>2]=0;d=c[a+76>>2]|0;b=a+72|0;if(d|0)c[d+72>>2]=c[b>>2];b=c[b>>2]|0;c[((b|0)==0?e+304|0:b+76|0)>>2]=d;b=c[a+36>>2]|0;if(b|0)_L(b);b=c[a+40>>2]|0;if(b|0){UM(c[b+16>>2]|0);UM(c[b+20>>2]|0);UM(c[b+24>>2]|0);yE(c[b+56>>2]|0);yE(c[b+60>>2]|0);UM(b)}UM(c[a+44>>2]|0);Bg[c[e+88>>2]&255](e,a);UM(a);l=f;return}_D(289404,b);l=f;return}function $L(a){a=a|0;var b=0,d=0,e=0,f=0;f=l;l=l+16|0;b=f;if(a|0?(c[a>>2]|0)==332713:0){b=c[80247]|0;a:do if(b|0){e=0;while(1){d=c[b+8>>2]|0;if((c[b>>2]|0)==40?(c[b+4>>2]|0)==(a|0):0)break;if(!d)break a;else{e=b;b=d}}c[(e|0?e+8|0:320988)>>2]=d;UM(b)}while(0);d=a+304|0;b=c[d>>2]|0;if(b|0)do{_L(b);b=c[d>>2]|0}while((b|0)!=0);b=c[a+188>>2]|0;if(b|0)ZK(b,306906,0)|0;c[a>>2]=0;vg[c[a+92>>2]&511](a);l=f;return}_D(289387,b);l=f;return}function aM(b,d){b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0,j=0.0,k=0,m=0,n=0.0,o=0.0,p=0,q=0,r=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,H=0,I=0,J=0,K=0;K=l;l=l+144|0;r=K+128|0;q=K+120|0;p=K+112|0;m=K+104|0;x=K+96|0;w=K+88|0;J=K+80|0;F=K+72|0;E=K+64|0;G=K+56|0;D=K+48|0;y=K+40|0;C=K+32|0;z=K+24|0;v=K+16|0;u=K+8|0;t=K;H=K+136|0;I=K+132|0;switch(c[d>>2]|0){case 512:{f=c[d+8>>2]|0;e=c[79957]|0;a:do if((e|0)!=0?(i=c[e+272>>2]|0,(i|0)!=0):0){e=i;while(1){if((c[e+4>>2]|0)==(f|0)){f=e;break a}e=c[e+152>>2]|0;if(!e){f=0;break}}}else f=0;while(0);s=b+188|0;if((f|0)!=(c[s>>2]|0)){l=K;return 0}e=c[b+4>>2]|0;if(e|0)Bg[e&255](b,d);switch(a[d+12>>0]|0){case 6:{k=b+308|0;p=c[k>>2]|0;q=(p|0)!=0;do if(q){e=c[b+44>>2]|0;if(e|0?c[b+108>>2]&8|0:0){c[k>>2]=0;if((hg[e&63](b,0)|0)<0)break;t=b+216|0;m=b+232|0;c[t>>2]=c[m>>2];c[t+4>>2]=c[m+4>>2];c[t+8>>2]=c[m+8>>2];c[t+12>>2]=c[m+12>>2];t=b+248|0;m=b+264|0;c[t>>2]=c[m>>2];c[t+4>>2]=c[m+4>>2];c[t+8>>2]=c[m+8>>2];c[t+12>>2]=c[m+12>>2];t=c[b+284>>2]|0;m=b+296|0;r=c[m+4>>2]|0;d=b+288|0;c[d>>2]=c[m>>2];c[d+4>>2]=r;d=c[b+204>>2]|0;c[b+280>>2]=t;c[b+196>>2]=d;c[b+200>>2]=c[b+208>>2];if((gg[c[b+48>>2]&511](b)|0)<0)break;gg[c[b+52>>2]&511](b)|0;break}_D(294718,t)}while(0);i=b+196|0;if(!(c[i>>2]|0)){e=c[b+8>>2]|0;do if(!e){e=c[s>>2]|0;f=c[79957]|0;if(!f){_D(288260,w);break}if(e|0?(c[e>>2]|0)==(f+280|0):0){c[H>>2]=c[e+24>>2];c[I>>2]=c[e+28>>2];break}_D(307482,x)}else ig[e&63](b,H,I)|0;while(0);f=c[H>>2]|0;e=c[I>>2]|0;if(!(c[k>>2]|0)){c[b+216>>2]=0;c[b+220>>2]=0;c[b+224>>2]=f;c[b+228>>2]=e;gg[c[b+48>>2]&511](b)|0}else{c[b+232>>2]=0;c[b+236>>2]=0;c[b+240>>2]=f;c[b+244>>2]=e}}else{c[H>>2]=1;c[I>>2]=1;m=b+200|0;b:do if(c[m>>2]|0){if((c[b>>2]|0)!=332713){_D(289387,u);break}e=c[k>>2]|0;do if(!e){e=c[b+8>>2]|0;if(e|0)if((ig[e&63](b,H,I)|0)<0)break b;else break;f=c[s>>2]|0;if(!f){_D(289420,y);break b}e=c[79957]|0;if(!e){_D(288260,z);break}if((c[f>>2]|0)==(e+280|0)){c[H>>2]=c[f+24>>2];c[I>>2]=c[f+28>>2];break}else{_D(307482,C);break}}else if((c[e>>2]|0)==332714){c[H>>2]=c[e+12>>2];c[I>>2]=c[e+16>>2];break}else{_D(289404,v);break b}while(0);j=+(c[i>>2]|0)/+(c[m>>2]|0);h=+(c[H>>2]|0)/+(c[I>>2]|0);if((c[b>>2]|0)==332713){g[b+288>>2]=1.0;g[b+292>>2]=1.0}else _D(289387,D);do if(!(c[b+212>>2]|0)){G=+B(+(j-h))<.0001;o=+(c[i>>2]|0);if(G){h=+(c[H>>2]|0)/o;cM(b,0);break}n=+(c[m>>2]|0);if(j>h){j=+(c[H>>2]|0);h=j/o;e=~~+N(+(n*h));if((c[b>>2]|0)==332713){I=((c[I>>2]|0)-e|0)/2|0;n=+g[b+288>>2];c[b+216>>2]=~~+A(+(n*0.0));o=+g[b+292>>2];c[b+220>>2]=~~+A(+(+(I|0)*o));c[b+224>>2]=~~+N(+(j*n));c[b+228>>2]=~~+N(+(+(e|0)*o));gg[c[b+48>>2]&511](b)|0;break}else{_D(289387,E);break}}else{j=+(c[I>>2]|0);h=j/n;e=~~+N(+(o*h));if((c[b>>2]|0)==332713){n=+g[b+288>>2];c[b+216>>2]=~~+A(+(+(((c[H>>2]|0)-e|0)/2|0|0)*n));o=+g[b+292>>2];c[b+220>>2]=~~+A(+(o*0.0));c[b+224>>2]=~~+N(+(+(e|0)*n));c[b+228>>2]=~~+N(+(j*o));gg[c[b+48>>2]&511](b)|0;break}else{_D(289387,F);break}}}else{f=c[i>>2]|0;if(j>h){i=c[H>>2]|0;e=(i|0)/(f|0)|0;k=c[m>>2]|0;m=c[I>>2]|0}else{i=c[I>>2]|0;k=c[m>>2]|0;e=(i|0)/(k|0)|0;m=i;i=c[H>>2]|0}h=+(e|0);f=~~+N(+(+(f|0)*h));e=~~+N(+(h*+(k|0)));if((c[b>>2]|0)==332713){n=+g[b+288>>2];c[b+216>>2]=~~+A(+(+((i-f|0)/2|0|0)*n));o=+g[b+292>>2];c[b+220>>2]=~~+A(+(+((m-e|0)/2|0|0)*o));c[b+224>>2]=~~+N(+(+(f|0)*n));c[b+228>>2]=~~+N(+(+(e|0)*o));gg[c[b+48>>2]&511](b)|0;break}else{_D(289387,G);break}}while(0);if((c[b>>2]|0)==332713){g[b+288>>2]=h;g[b+292>>2]=h;break}else{_D(289387,J);break}}while(0)}if(!q){l=K;return 0}bM(b,p);l=K;return 0}case 2:{c[b+192>>2]=1;l=K;return 0}case 1:{e=c[79957]|0;do if(!e)_D(288260,m);else{if(f|0?(c[f>>2]|0)==(e+280|0):0){if(!(c[f+48>>2]&64))break;l=K;return 0}_D(307482,p)}while(0);c[b+192>>2]=0;l=K;return 0}case 7:{c[b+192>>2]=1;l=K;return 0}case 8:case 9:{e=c[79957]|0;do if(!e)_D(288260,q);else{if(f|0?(c[f>>2]|0)==(e+280|0):0){if(!(c[f+48>>2]&8))break;l=K;return 0}_D(307482,r)}while(0);c[b+192>>2]=0;l=K;return 0}default:{l=K;return 0}}}case 1024:{if(!(c[b+196>>2]|0)){l=K;return 0}f=c[d+8>>2]|0;e=c[79957]|0;c:do if((e|0)!=0?(k=c[e+272>>2]|0,(k|0)!=0):0){e=k;while(1){if((c[e+4>>2]|0)==(f|0))break c;e=c[e+152>>2]|0;if(!e){e=0;break}}}else e=0;while(0);if((e|0)!=(c[b+188>>2]|0)){l=K;return 0}J=d+20|0;f=d+24|0;e=(c[f>>2]|0)-(c[b+220>>2]|0)|0;h=+g[b+288>>2];c[J>>2]=~~(+((c[J>>2]|0)-(c[b+216>>2]|0)|0)/h);j=+g[b+292>>2];c[f>>2]=~~(+(e|0)/j);f=d+28|0;e=c[f>>2]|0;if((e|0)<=0){if((e|0)<0){e=~~(+(e|0)/h);e=(e|0)<-1?e:-1;s=97}}else{e=~~(+(e|0)/h);e=(e|0)>1?e:1;s=97}if((s|0)==97)c[f>>2]=e;e=d+32|0;f=c[e>>2]|0;if((f|0)>0){b=~~(+(f|0)/j);c[e>>2]=(b|0)>1?b:1;l=K;return 0}if((f|0)>=0){l=K;return 0}b=~~(+(f|0)/j);c[e>>2]=(b|0)<-1?b:-1;l=K;return 0}case 1026:case 1025:{if(!(c[b+196>>2]|0)){l=K;return 0}i=c[d+8>>2]|0;f=c[79957]|0;d:do if((f|0)!=0?(e=c[f+272>>2]|0,(e|0)!=0):0)while(1){if((c[e+4>>2]|0)==(i|0))break d;e=c[e+152>>2]|0;if(!e){e=0;break}}else e=0;while(0);if((e|0)!=(c[b+188>>2]|0)){l=K;return 0}H=d+20|0;J=d+24|0;I=(c[J>>2]|0)-(c[b+220>>2]|0)|0;c[H>>2]=~~(+((c[H>>2]|0)-(c[b+216>>2]|0)|0)/+g[b+288>>2]);c[J>>2]=~~(+(I|0)/+g[b+292>>2]);l=K;return 0}default:{l=K;return 0}}return 0}function bM(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;i=n+24|0;h=n+16|0;f=n+8|0;e=n;if((b|0?(m=c[b+44>>2]|0,m|0):0)?c[b+108>>2]&8|0:0){k=b+308|0;j=c[k>>2]|0;if((j|0)==(d|0)){l=n;return}do if(d){if((c[d>>2]|0)!=332714){_D(289404,f);l=n;return}if((c[d+32>>2]|0)!=(b|0)){_D(306928,h);l=n;return}if((c[d+8>>2]|0)==2){e=c[d+36>>2]|0;e=(e|0)==0?d:e;d=(e|0)!=0;if(j|0){f=e;break}i=b+232|0;j=b+216|0;c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];i=b+264|0;j=b+248|0;c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[b+284>>2]=c[b+280>>2];i=b+288|0;j=c[i+4>>2]|0;f=b+296|0;c[f>>2]=c[i>>2];c[f+4>>2]=j;c[b+204>>2]=c[b+196>>2];c[b+208>>2]=c[b+200>>2];f=e;break}else{_D(306971,i);l=n;return}}else{f=0;d=0}while(0);c[k>>2]=f;if((hg[m&63](b,f)|0)<0){l=n;return}e=b+216|0;if(d){c[e>>2]=0;c[b+220>>2]=0;e=f+12|0;c[b+224>>2]=c[e>>2];f=f+16|0;c[b+228>>2]=c[f>>2];d=b+248|0;h=d+16|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(h|0));g[b+288>>2]=1.0;g[b+292>>2]=1.0;d=0}else{d=b+232|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];d=b+248|0;m=b+264|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]=c[m+12>>2];d=c[b+284>>2]|0;m=b+296|0;e=c[m+4>>2]|0;f=b+288|0;c[f>>2]=c[m>>2];c[f+4>>2]=e;f=b+208|0;e=b+204|0}m=c[e>>2]|0;c[b+280>>2]=d;c[b+196>>2]=m;c[b+200>>2]=c[f>>2];if((gg[c[b+48>>2]&511](b)|0)<0){l=n;return}gg[c[b+52>>2]&511](b)|0;l=n;return}_D(294718,e);l=n;return}function cM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0.0,o=0.0;m=l;l=l+48|0;i=m+32|0;k=m+24|0;j=m+16|0;e=m+8|0;d=m;if(a|0?(c[a>>2]|0)==332713:0){do if(!b){c[a+216>>2]=0;c[a+220>>2]=0;f=a+224|0;h=a+228|0;b=c[a+308>>2]|0;if(b|0){if((c[b>>2]|0)==332714){c[f>>2]=c[b+12>>2];c[h>>2]=c[b+16>>2];break}_D(289404,e);l=m;return}b=c[a+8>>2]|0;if(b|0){if((ig[b&63](a,f,h)|0)>=0)break;l=m;return}d=c[a+188>>2]|0;if(!d){_D(289420,i);l=m;return}b=c[79957]|0;if(!b){_D(288260,j);break}if((c[d>>2]|0)==(b+280|0)){c[f>>2]=c[d+24>>2];c[h>>2]=c[d+28>>2];break}else{_D(307482,k);break}}else{o=+g[a+288>>2];c[a+216>>2]=~~+A(+(+(c[b>>2]|0)*o));n=+g[a+292>>2];c[a+220>>2]=~~+A(+(+(c[b+4>>2]|0)*n));c[a+224>>2]=~~+N(+(+(c[b+8>>2]|0)*o));c[a+228>>2]=~~+N(+(+(c[b+12>>2]|0)*n))}while(0);gg[c[a+48>>2]&511](a)|0;l=m;return}_D(289387,d);l=m;return}function dM(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,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=l;l=l+80|0;o=C+32|0;B=C+24|0;j=C+16|0;i=C+8|0;h=C;A=C+64|0;x=C+60|0;y=C+56|0;g=C+40|0;if(a|0?(c[a>>2]|0)==332714:0){if(!d){c[i>>2]=307044;_D(309840,i);B=-1;l=C;return B|0}if(!f){c[j>>2]=307051;_D(309840,j);B=-1;l=C;return B|0}if(!b){c[g>>2]=0;c[g+4>>2]=0;p=c[a+12>>2]|0;c[g+8>>2]=p;c[g+12>>2]=c[a+16>>2];u=g}else{u=b;p=c[b+8>>2]|0}t=u+8|0;if(!p){B=0;l=C;return B|0}v=u+12|0;j=c[v>>2]|0;if(!j){B=0;l=C;return B|0}w=a+40|0;b=c[w>>2]|0;z=c[a+36>>2]|0;if(!b){if(!z){B=c[a+32>>2]|0;B=lg[c[B+28>>2]&31](B,a,u,d,f)|0;l=C;return B|0}if((c[a+8>>2]|0)==1)if((fM(z,u,A,x)|0)<0){B=-1;l=C;return B|0}else{uE(c[t>>2]|0,c[v>>2]|0,c[a+4>>2]|0,d,f,c[z+4>>2]|0,c[A>>2]|0,c[x>>2]|0)|0;hM(z);B=0;l=C;return B|0}i=z+4|0;g=c[i>>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);h=(O(g,p)|0)+3&-4;g=TM(O(h,j)|0)|0;if(!g){_D(294618,o);B=-1;l=C;return B|0}else{uE(c[t>>2]|0,c[v>>2]|0,c[a+4>>2]|0,d,f,c[i>>2]|0,g,h)|0;dM(z,u,g,h)|0;UM(g);B=0;l=C;return B|0}}g=c[b>>2]|0;b:do if((g|0)<1431918169)if((g|0)<844715353)switch(g|0){case 842094169:{k=15;break b}default:break b}else switch(g|0){case 844715353:{k=28;break b}default:break b}else{if((g|0)<1448433993)switch(g|0){case 1431918169:{k=28;break b}default:break b}if((g|0)<1498831189)switch(g|0){case 1448433993:{k=15;break b}default:break b}else switch(g|0){case 1498831189:{k=28;break b}default:break b}}while(0);do if((k|0)==15){h=c[u>>2]|0;q=u+4|0;g=c[q>>2]|0;s=b+8|0;if(!(h|g))if((p|0)==(c[s>>2]|0)?(j|0)==(c[b+12>>2]|0):0){v=O(j,p)|0;CQ(c[b+16>>2]|0,d|0,((v|0)/2|0)+v|0)|0;break}else g=0;r=b+16|0;if((j|0)>0){i=0;g=(c[r>>2]|0)+(O(c[s>>2]|0,g)|0)+h|0;h=d;while(1){CQ(g|0,h|0,p|0)|0;j=c[s>>2]|0;i=i+1|0;m=c[v>>2]|0;if((i|0)>=(m|0))break;else{g=g+j|0;h=h+f|0}}k=b+12|0;b=(c[t>>2]|0)/2|0;if((m|0)>1){g=(c[r>>2]|0)+(O(j,c[k>>2]|0)|0)|0;i=(O((c[q>>2]|0)/2|0,j)|0)/2|0;o=(f|0)/2|0;h=0;i=g+(i+((c[u>>2]|0)/2|0))|0;g=d+(O(m,f)|0)|0;while(1){CQ(i|0,g|0,b|0)|0;m=c[s>>2]|0;h=h+1|0;n=c[v>>2]|0;if((h|0)>=((n|0)/2|0|0))break;else{i=i+((m|0)/2|0)|0;g=g+o|0}}b=O(n,f)|0;g=O(m,c[k>>2]|0)|0;j=(c[t>>2]|0)/2|0;if((n|0)>1){h=(O((c[q>>2]|0)/2|0,m)|0)/2|0;i=0;h=(c[r>>2]|0)+g+((g|0)/4|0)+(h+((c[u>>2]|0)/2|0))|0;g=d+b+((b|0)/4|0)|0;while(1){CQ(h|0,g|0,j|0)|0;i=i+1|0;if((i|0)>=((c[v>>2]|0)/2|0|0))break;else{h=h+((c[s>>2]|0)/2|0)|0;g=g+o|0}}}}}}else if((k|0)==28?(m=b+36|0,n=p<<1,(j|0)>0):0){h=(c[b+44>>2]|0)+(O(e[m>>1]|0,c[u+4>>2]|0)|0)|0;i=0;h=h+(c[u>>2]<<1)|0;g=d;while(1){CQ(h|0,g|0,n|0)|0;i=i+1|0;if((i|0)>=(c[v>>2]|0))break;else{h=h+(e[m>>1]|0)|0;g=g+f|0}}}while(0);c[A>>2]=0;c[A+4>>2]=0;h=c[a+12>>2]|0;b=A+8|0;c[b>>2]=h;j=c[a+16>>2]|0;k=A+12|0;c[k>>2]=j;do if((c[a+8>>2]|0)==1)if((fM(z,A,x,y)|0)<0){g=-1;break}else{gM(c[w>>2]|0,A,c[z+4>>2]|0,c[b>>2]|0,c[k>>2]|0,c[x>>2]|0,c[y>>2]|0);hM(z);g=0;break}else{i=z+4|0;g=c[i>>2]|0;c: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 c}default:{}}else switch(g|0){case 1498831189:{g=2;break c}default:{}}g=(g|0)==1431918169?2:1}while(0);h=(O(g,h)|0)+3&-4;g=TM(O(h,j)|0)|0;if(!g){_D(294618,B);g=-1;break}else{gM(c[w>>2]|0,A,c[i>>2]|0,c[b>>2]|0,c[k>>2]|0,g,h);dM(z,A,g,h)|0;UM(g);g=0;break}}while(0);B=g;l=C;return B|0}_D(289404,h);B=-1;l=C;return B|0}function eM(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0.0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0;u=l;l=l+64|0;j=u+16|0;i=u+8|0;f=u;s=u+40|0;t=u+24|0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;c[s+12>>2]=0;if(a|0?(c[a>>2]|0)==332713:0){if(b|0?(c[b>>2]|0)==332714:0){if((c[b+32>>2]|0)!=(a|0)){_D(306928,j);t=-1;l=u;return t|0}if(c[a+192>>2]|0){t=0;l=u;return t|0}c[s>>2]=0;f=s+4|0;c[f>>2]=0;i=c[b+12>>2]|0;j=s+8|0;c[j>>2]=i;m=c[b+16>>2]|0;n=s+12|0;c[n>>2]=m;do if(d|0){o=c[d+8>>2]|0;if((o|0)>=1?(p=c[d+12>>2]|0,!((p|0)<1|(i|0)<1|(m|0)<1)):0){w=c[d>>2]|0;v=o+w|0;o=(w|0)>0?w:0;c[s>>2]=o;o=((i|0)<(v|0)?i:v)-o|0;c[j>>2]=o;j=c[d+4>>2]|0;d=p+j|0;p=(j|0)>0?j:0;c[f>>2]=p;p=((m|0)<(d|0)?m:d)-p|0;c[n>>2]=p;if((p|0)<1|(o|0)<1)f=0;else break;l=u;return f|0}c[j>>2]=0;c[n>>2]=0;w=0;l=u;return w|0}while(0);q=+g[a+288>>2];r=+g[a+292>>2];i=~~(+(c[a+224>>2]|0)/q);f=~~(+(c[a+228>>2]|0)/r);do if(e){j=c[e+8>>2]|0;if((j|0)<1){w=0;l=u;return w|0}m=c[e+12>>2]|0;if((m|0)<1|(i|0)<1|(f|0)<1){w=0;l=u;return w|0}o=c[e>>2]|0;w=j+o|0;if((((i|0)<(w|0)?i:w)|0)<=(((o|0)>0?o:0)|0)){w=0;l=u;return w|0}n=c[e+4>>2]|0;w=m+n|0;if((((f|0)<(w|0)?f:w)|0)>(((n|0)>0?n:0)|0)){i=j;f=m;k=+(o|0);h=+(n|0);break}else{w=0;l=u;return w|0}}else{k=0.0;h=0.0}while(0);w=c[b+36>>2]|0;g[t>>2]=k*q;g[t+4>>2]=h*r;g[t+8>>2]=q*+(i|0);g[t+12>>2]=r*+(f|0);w=jg[c[a+72>>2]&31](a,(w|0)==0?b:w,s,t)|0;l=u;return w|0}_D(289404,i);w=-1;l=u;return w|0}_D(289387,f);w=-1;l=u;return w|0}function fM(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,m=0;m=l;l=l+48|0;k=m+16|0;i=m+8|0;h=m;g=m+24|0;if(a|0?(c[a>>2]|0)==332714:0){if((c[a+8>>2]|0)!=1){_D(307151,i);f=-1;l=m;return f|0}if(!b){c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=c[a+12>>2];c[g+12>>2]=c[a+16>>2]}else g=b;j=c[a+40>>2]|0;if(!j){if(!(c[a+36>>2]|0)){k=c[a+32>>2]|0;f=lg[c[k+36>>2]&31](k,a,g,d,f)|0;l=m;return f|0}h=a+52|0;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];h=c[a+48>>2]|0;i=(c[a+44>>2]|0)+(O(h,c[g+4>>2]|0)|0)|0;g=c[g>>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]=i+(O(b,g)|0);c[f>>2]=h;f=0;l=m;return f|0}b=c[j>>2]|0;if((b|0)<1448433993)switch(b|0){case 842094169:{a=10;break}default:a=16}else switch(b|0){case 1448433993:{a=10;break}default:a=16}do if((a|0)==10){if((((c[g>>2]|0)==0?(c[g+4>>2]|0)==0:0)?(c[g+8>>2]|0)==(c[j+8>>2]|0):0)?(c[g+12>>2]|0)==(c[j+12>>2]|0):0){h=0;i=e[j+36>>1]|0;b=0;break}_D(307196,k);f=-1;l=m;return f|0}else if((a|0)==16){h=c[g+4>>2]|0;i=e[j+36>>1]|0;b=c[g>>2]<<1}while(0);c[d>>2]=(c[j+44>>2]|0)+(O(h,i)|0)+b;c[f>>2]=i;f=0;l=m;return f|0}_D(289404,h);f=-1;l=m;return f|0}function gM(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,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=l;l=l+80|0;J=N+32|0;I=N+24|0;D=N+16|0;k=N+8|0;j=N;M=N+56|0;G=N+48|0;H=N+44|0;E=N+40|0;F=N+36|0;A=(d|0)==0|(d&-268435456|0)==268435456;a:do if(A){i=d&255;if(!i){_D(307057,j);l=N;return}else K=i}else{b:do if((d|0)>=1431918169)if((d|0)<1498831189)switch(d|0){case 1431918169:break b;default:{K=1;break a}}else switch(d|0){case 1498831189:break b;default:{K=1;break a}}else switch(d|0){case 844715353:break;default:{K=1;break a}}while(0);K=2}while(0);i=a+4|0;if((c[i>>2]|0)!=(d|0)){z=(jI(d,M,G,H,E,F)|0)==0;if(z|(c[M>>2]|0)<15){_D(307085,k);l=N;return}c[i>>2]=d;x=c[a+24>>2]|0;y=x+3072|0;z=x+6144|0;n=c[G>>2]|0;o=(n|0)==0;p=iM(n)|0;q=c[F>>2]|0;r=c[H>>2]|0;s=(r|0)==0;t=iM(r)|0;u=c[E>>2]|0;v=(u|0)==0;w=iM(u)|0;m=0;do{if(o)i=0;else{j=n;i=0;do{i=(j&1)+i|0;j=j>>>1}while((j|0)!=0)}k=m+256|0;c[x+(k<<2)>>2]=q|m>>8-i<>>1}while((j|0)!=0)}c[y+(k<<2)>>2]=q|m>>8-i<>>1}while((j|0)!=0)}c[z+(k<<2)>>2]=q|m>>8-i<>2]|0;c[v>>2]=u<<16|u;v=y+(w<<2)|0;u=c[v>>2]|0;c[v>>2]=u<<16|u;w=z+(w<<2)|0;v=c[w>>2]|0;c[w>>2]=v<<16|v;i=i+1|0;if((i|0)==256)break;else L=21}j=x+1024|0;k=x+2044|0;m=x+4096|0;n=x+5116|0;o=x+7168|0;p=x+8188|0;i=0;do{c[x+(i<<2)>>2]=c[j>>2];w=i+512|0;c[x+(w<<2)>>2]=c[k>>2];c[y+(i<<2)>>2]=c[m>>2];c[y+(w<<2)>>2]=c[n>>2];c[z+(i<<2)>>2]=c[o>>2];c[z+(w<<2)>>2]=c[p>>2];i=i+1|0}while((i|0)!=256);i=c[a>>2]|0;d:do if((i|0)<1431918169)if((i|0)<844715353)switch(i|0){case 842094169:{L=24;break d}default:break d}else switch(i|0){case 844715353:{L=31;break d}default:break d}else{if((i|0)<1448433993)switch(i|0){case 1431918169:{L=31;break d}default:break d}if((i|0)<1498831189)switch(i|0){case 1448433993:{L=24;break d}default:break d}else switch(i|0){case 1498831189:{L=31;break d}default:break d}}while(0);e:do if((L|0)==24){if(A)switch((d&255)<<24>>24){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)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}else switch(d|0){case 844715353:break;default:break e}while(0);c[a+28>>2]=1;c[a+32>>2]=2}else if((L|0)==31){if(A)switch((d&255)<<24>>24){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)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}else switch(d|0){case 844715353:break;default:break e}while(0);c[a+28>>2]=7;c[a+32>>2]=8}while(0);A=a+60|0;yE(c[A>>2]|0);c[A>>2]=0}if((((c[b>>2]|0)==0?(c[b+4>>2]|0)==0:0)?(B=c[b+8>>2]|0,(B|0)>=(c[a+8>>2]|0)):0)?(C=c[b+12>>2]|0,(C|0)>=(c[a+12>>2]|0)):0){j=(B<<1|0)==(e|0)&(C<<1|0)==(f|0);i=j&1;if(!((B|0)==(e|0)&(C|0)==(f|0)))if(j){q=i;r=0}else{q=i;L=45}else{q=0;r=0}}else{q=0;L=45}if((L|0)==45){j=a+60|0;i=c[j>>2]|0;do if(!i){jI(d,M,G,H,E,F)|0;i=jJ(c[M>>2]|0,c[G>>2]|0,c[H>>2]|0,c[E>>2]|0,c[F>>2]|0)|0;if(i){i=kJ(0,0,i)|0;if(i|0){c[i>>2]=c[i>>2]|1;c[i+20>>2]=g;c[i+8>>2]=e;c[i+12>>2]=f;c[i+16>>2]=h;c[i+36>>2]=0;c[i+40>>2]=0;c[i+44>>2]=e;c[i+48>>2]=f;c[j>>2]=i;L=52;break}}else _D(295409,D);c[j>>2]=0;j=0;i=g}else{c[i+8>>2]=e;c[i+12>>2]=f;c[i+20>>2]=g;c[i+16>>2]=h;L=52}while(0);h:do if((L|0)==52){j=a+56|0;i=c[j>>2]|0;do if(!i){jI(d,M,G,H,E,F)|0;i=jJ(c[M>>2]|0,c[G>>2]|0,c[H>>2]|0,c[E>>2]|0,c[F>>2]|0)|0;if(i){i=kJ(c[a+8>>2]|0,c[a+12>>2]|0,i)|0;c[j>>2]=i;if(!i){j=0;i=g;break h}else break}else{_D(295409,I);c[j>>2]=0;j=0;i=g;break h}}while(0);j=1;h=c[i+16>>2]|0;i=c[i+20>>2]|0}while(0);if(j){r=1;g=i}else{l=N;return}}i=c[a>>2]|0;i:do if((i|0)<1431918169)if((i|0)<844715353){switch(i|0){case 842094169:break;default:{L=64;break i}}n=c[a+52>>2]|0;o=c[a+48>>2]|0;p=c[a+44>>2]|0;break}else{switch(i|0){case 844715353:break;default:{L=64;break i}}p=c[a+44>>2]|0;n=p+1|0;o=p+3|0;break}else{if((i|0)<1448433993){switch(i|0){case 1431918169:break;default:{L=64;break i}}p=c[a+44>>2]|0;n=p+3|0;o=p+1|0;break}if((i|0)<1498831189){switch(i|0){case 1448433993:break;default:{L=64;break i}}n=c[a+48>>2]|0;o=c[a+52>>2]|0;p=c[a+44>>2]|0;break}else{switch(i|0){case 1498831189:break;default:{L=64;break i}}p=c[a+44>>2]|0;n=p;o=p+2|0;p=p+1|0;break}}while(0);if((L|0)==64){_D(307120,J);l=N;return}i=(h|0)/(K|0)|0;j=c[a+8>>2]|0;h=c[a+12>>2]|0;k=c[a+20>>2]|0;m=c[a+24>>2]|0;if(!q)Jg[c[a+28>>2]&15](k,m,p,o,n,g,h,j,i-j|0);else Jg[c[a+32>>2]&15](k,m,p,o,n,g,h,j,i-(j<<1)|0);if(!r){l=N;return};c[M>>2]=c[b>>2];c[M+4>>2]=c[b+4>>2];c[M+8>>2]=c[b+8>>2];c[M+12>>2]=c[b+12>>2];nJ(c[a+56>>2]|0,M,c[a+60>>2]|0,0)|0;l=N;return}function hM(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;b=m;j=m+28|0;k=m+24|0;f=m+8|0;if(a|0?(c[a>>2]|0)==332714:0){if((c[a+8>>2]|0)!=1){l=m;return}b=a+40|0;i=c[a+36>>2]|0;if(c[b>>2]|0){c[j>>2]=0;c[k>>2]=0;c[f>>2]=0;c[f+4>>2]=0;d=f+8|0;c[d>>2]=c[a+12>>2];e=f+12|0;c[e>>2]=c[a+16>>2];if((fM(i,f,j,k)|0)>=0){gM(c[b>>2]|0,f,c[i+4>>2]|0,c[d>>2]|0,c[e>>2]|0,c[j>>2]|0,c[k>>2]|0);hM(i)}l=m;return}if(!i){k=c[a+32>>2]|0;Bg[c[k+40>>2]&255](k,a);l=m;return}c[j>>2]=0;c[k>>2]=0;d=a+52|0;e=c[a+48>>2]|0;f=(c[a+44>>2]|0)+(O(e,c[a+56>>2]|0)|0)|0;g=c[d>>2]|0;h=a+4|0;b=c[h>>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((fM(i,d,j,k)|0)>=0){g=f+(O(b,g)|0)|0;uE(c[a+60>>2]|0,c[a+64>>2]|0,c[h>>2]|0,g,e,c[i+4>>2]|0,c[j>>2]|0,c[k>>2]|0)|0;hM(i)}l=m;return}_D(289404,b);l=m;return}function iM(a){a=a|0;if(!a){a=32;return a|0}if(!(a&1))return (iM(a>>>1)|0)+1|0;else{a=0;return a|0}return 0}function jM(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,z=0;v=(k|0)/2|0;t=(l<<1)+k|0;if((j+1|0)>>>0<3|(k+1|0)>>>0<3)return;u=v<<1;s=i+(k<<1)+(l<<1)|0;q=(j|0)/2|0;while(1){r=f+u|0;n=v;o=f+k|0;p=s;l=g;j=h;m=i;while(1){n=n+-1|0;z=d[l>>0]|0;y=(c[a+(z<<2)>>2]|0)+256|0;w=d[j>>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;x=d[f>>0]|0;b[m>>1]=c[e+(x+z<<2)>>2]|c[e+(x+y<<2)>>2]|c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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;s=(k|0)/2|0;if((j|0)==0|(k+1|0)>>>0<3)return;q=s<<2;r=s<<1;while(1){k=s;m=g;g=g+q|0;n=h;o=i;p=f;while(1){k=k+-1|0;w=d[m>>0]|0;v=(c[a+(w<<2)>>2]|0)+256|0;t=d[n>>0]|0;w=(c[a+((w|256)<<2)>>2]|0)+1024+(c[a+((t|512)<<2)>>2]|0)|0;t=(c[a+((t|768)<<2)>>2]|0)+1792|0;u=d[p>>0]|0;b[o>>1]=c[e+(u+w<<2)>>2]|c[e+(u+v<<2)>>2]|c[e+(u+t<<2)>>2];u=d[p+2>>0]|0;b[o+2>>1]=c[e+(u+w<<2)>>2]|c[e+(u+v<<2)>>2]|c[e+(u+t<<2)>>2];if(!k)break;else{m=m+4|0;n=n+4|0;o=o+4|0;p=p+4|0}}j=j+-1|0;if(!j)break;else{h=h+q|0;i=i+(r<<1)+(l<<1)|0;f=f+q|0}}return}function qM(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;q=((k|0)/2|0)+j|0;r=(j|0)/2|0;if((i|0)==0|(j+1|0)>>>0<3)return;o=r<<2;p=r<<1;n=e;while(1){k=r;j=f;f=f+o|0;e=g;l=h;m=n;while(1){k=k+-1|0;w=d[j>>0]|0;v=(c[a+(w<<2)>>2]|0)+256|0;t=d[e>>0]|0;w=(c[a+((w|256)<<2)>>2]|0)+1024+(c[a+((t|512)<<2)>>2]|0)|0;t=(c[a+((t|768)<<2)>>2]|0)+1792|0;s=d[m>>0]|0;s=c[b+(s+w<<2)>>2]|c[b+(s+v<<2)>>2]|c[b+(s+t<<2)>>2];c[l+(q<<2)>>2]=s;c[l>>2]=s;s=l+4|0;u=d[m+2>>0]|0;t=c[b+(u+w<<2)>>2]|c[b+(u+v<<2)>>2]|c[b+(u+t<<2)>>2];c[s+(q<<2)>>2]=t;c[s>>2]=t;if(!k)break;else{j=j+4|0;e=e+4|0;l=l+8|0;m=m+4|0}}i=i+-1|0;if(!i)break;else{g=g+o|0;h=h+(p<<2)+(q<<2)|0;n=n+o|0}}return}function rM(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;s=(k|0)/2|0;r=l*3|0;if((j|0)==0|(k+1|0)>>>0<3)return;p=s<<2;q=s*6|0;o=f;while(1){l=s;k=g;g=g+p|0;f=h;m=i;n=o;while(1){l=l+-1|0;w=d[k>>0]|0;v=(c[b+(w<<2)>>2]|0)+256|0;t=d[f>>0]|0;w=(c[b+((w|256)<<2)>>2]|0)+1024+(c[b+((t|512)<<2)>>2]|0)|0;t=(c[b+((t|768)<<2)>>2]|0)+1792|0;u=d[n>>0]|0;u=c[e+(u+w<<2)>>2]|c[e+(u+v<<2)>>2]|c[e+(u+t<<2)>>2];a[m>>0]=u;a[m+1>>0]=u>>>8;a[m+2>>0]=u>>>16;u=d[n+2>>0]|0;t=c[e+(u+w<<2)>>2]|c[e+(u+v<<2)>>2]|c[e+(u+t<<2)>>2];a[m+3>>0]=t;a[m+4>>0]=t>>>8;a[m+5>>0]=t>>>16;if(!l)break;else{k=k+4|0;f=f+4|0;m=m+6|0;n=n+4|0}}j=j+-1|0;if(!j)break;else{h=h+p|0;i=i+q+r|0;o=o+p|0}}return}function sM(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,B=0,C=0;r=((k<<1)+l|0)*3|0;s=(k|0)/2|0;if(!j)return;t=r+3|0;u=r+4|0;v=r+1|0;w=r+5|0;x=r+2|0;if((k+1|0)>>>0<3)return;p=s<<2;q=s*12|0;o=f;while(1){l=s;k=g;g=g+p|0;f=h;m=i;n=o;while(1){l=l+-1|0;C=d[k>>0]|0;B=(c[b+(C<<2)>>2]|0)+256|0;y=d[f>>0]|0;C=(c[b+((C|256)<<2)>>2]|0)+1024+(c[b+((y|512)<<2)>>2]|0)|0;y=(c[b+((y|768)<<2)>>2]|0)+1792|0;z=d[n>>0]|0;z=c[e+(z+C<<2)>>2]|c[e+(z+B<<2)>>2]|c[e+(z+y<<2)>>2];A=z&255;a[m+t>>0]=A;a[m+r>>0]=A;a[m+3>>0]=A;a[m>>0]=A;A=z>>>8&255;a[m+u>>0]=A;a[m+v>>0]=A;a[m+4>>0]=A;a[m+1>>0]=A;z=z>>>16&255;a[m+w>>0]=z;a[m+x>>0]=z;a[m+5>>0]=z;a[m+2>>0]=z;z=m+6|0;A=d[n+2>>0]|0;y=c[e+(A+C<<2)>>2]|c[e+(A+B<<2)>>2]|c[e+(A+y<<2)>>2];A=y&255;a[z+t>>0]=A;a[z+r>>0]=A;a[m+9>>0]=A;a[z>>0]=A;A=y>>>8&255;a[z+u>>0]=A;a[z+v>>0]=A;a[m+10>>0]=A;a[m+7>>0]=A;y=y>>>16&255;a[z+w>>0]=y;a[z+x>>0]=y;a[m+11>>0]=y;a[m+8>>0]=y;if(!l)break;else{k=k+4|0;f=f+4|0;m=m+12|0;n=n+4|0}}j=j+-1|0;if(!j)break;else{h=h+p|0;i=i+q+r|0;o=o+p|0}}return}function tM(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;r=(j|0)/2|0;if((i|0)==0|(j+1|0)>>>0<3)return;p=r<<2;q=r<<1;while(1){j=r;l=f;f=f+p|0;m=g;n=h;o=e;while(1){j=j+-1|0;v=d[l>>0]|0;u=(c[a+(v<<2)>>2]|0)+256|0;s=d[m>>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[o>>0]|0;c[n>>2]=c[b+(t+v<<2)>>2]|c[b+(t+u<<2)>>2]|c[b+(t+s<<2)>>2];t=d[o+2>>0]|0;c[n+4>>2]=c[b+(t+v<<2)>>2]|c[b+(t+u<<2)>>2]|c[b+(t+s<<2)>>2];if(!j)break;else{l=l+4|0;m=m+4|0;n=n+8|0;o=o+4|0}}i=i+-1|0;if(!i)break;else{g=g+p|0;h=h+(q<<2)+(k<<2)|0;e=e+p|0}}return}function uM(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;p=(j<<1)+k|0;q=(j|0)/2|0;if(!i)return;r=p+1|0;if((j+1|0)>>>0<3)return;o=q<<2;n=e;while(1){k=q;j=f;f=f+o|0;e=g;l=h;m=n;while(1){k=k+-1|0;w=d[j>>0]|0;v=(c[a+(w<<2)>>2]|0)+256|0;t=d[e>>0]|0;w=(c[a+((w|256)<<2)>>2]|0)+1024+(c[a+((t|512)<<2)>>2]|0)|0;t=(c[a+((t|768)<<2)>>2]|0)+1792|0;s=d[m>>0]|0;s=c[b+(s+w<<2)>>2]|c[b+(s+v<<2)>>2]|c[b+(s+t<<2)>>2];c[l+(r<<2)>>2]=s;c[l+(p<<2)>>2]=s;c[l+4>>2]=s;c[l>>2]=s;s=l+8|0;u=d[m+2>>0]|0;t=c[b+(u+w<<2)>>2]|c[b+(u+v<<2)>>2]|c[b+(u+t<<2)>>2];c[s+(r<<2)>>2]=t;c[s+(p<<2)>>2]=t;c[l+12>>2]=t;c[s>>2]=t;if(!k)break;else{j=j+4|0;e=e+4|0;l=l+16|0;m=m+4|0}}i=i+-1|0;if(!i)break;else{g=g+o|0;h=h+(o<<2)+(p<<2)|0;n=n+o|0}}return}function vM(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,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+80|0;q=r+64|0;p=r+56|0;o=r+48|0;k=r+40|0;n=r+32|0;h=r+24|0;f=r+16|0;if(!a){_D(307482,r);q=0;l=r;return q|0}e=c[79957]|0;a:do if(e){if((c[a>>2]|0)!=(e+280|0)){_D(307482,f);break}e=c[a+140>>2]|0;if(e|0){while(1){f=c[e>>2]|0;if(f|0?(wN(f,306906)|0)==0:0)break;e=c[e+8>>2]|0;if(!e)break a}if(c[e+4>>2]|0){_D(307497,h);q=0;l=r;return q|0}}}else _D(288260,r+8|0);while(0);h=Df(307537)|0;e=c[79960]|0;j=(e|0)==0;b:do if(j){f=h;h=19}else{f=e;while(1){if(!(wN(307537,c[f>>2]|0)|0))break;f=c[f+16>>2]|0;if(!f){f=h;h=19;break b}}if(h|0?(c[f+8>>2]|0)!=2:0){h=20;break}f=c[f+4>>2]|0;h=19}while(0);if((h|0)==19)if(f)h=20;do if((h|0)==20)if(!(yI(307537,1)|0)){d=d&-5;break}else{d=d|4;break}while(0);c:do if((b|0)>=0)if((b|0)>1){c[k>>2]=1;_D(307609,k);q=0;l=r;return q|0}else{e=hg[c[c[28464+(b<<2)>>2]>>2]&63](a,d)|0;if(!e)e=0;else{i=e;break}l=r;return e|0}else{f=Df(307554)|0;d:do if(j){e=f;h=30}else{while(1){if(!(wN(307554,c[e>>2]|0)|0))break;e=c[e+16>>2]|0;if(!e){e=f;h=30;break d}}if(f|0?(c[e+8>>2]|0)!=2:0){e=f;h=31;break}e=c[e+4>>2]|0;h=30}while(0);if((h|0)==30?e|0:0)h=31;do if((h|0)==31){if(IO(e,c[3901]|0)|0)if(!(IO(e,c[6845]|0)|0))e=27376;else break;else e=15600;e=hg[c[e>>2]&63](a,d)|0;if(e|0){i=e;break c}}while(0);if((c[3902]&d|0)==(d|0)?(i=hg[c[3900]&63](a,d)|0,i|0):0)break;if((c[6846]&d|0)==(d|0)?(m=hg[c[6844]&63](a,d)|0,m|0):0){i=m;break}_D(307572,n);q=0;l=r;return q|0}while(0);c[i>>2]=332713;c[i+188>>2]=a;g[i+288>>2]=1.0;g[i+292>>2]=1.0;e=c[79957]|0;do if(e)if((c[a>>2]|0)==(e+280|0)){e=(c[a+48>>2]&72|0)!=0;break}else{_D(307482,p);e=0;break}else{_D(288260,o);e=0}while(0);c[i+192>>2]=e&1;ZK(a,306906,i)|0;cM(i,0);h=TM(12)|0;if(h|0){c[h>>2]=40;c[h+4>>2]=i;c[h+8>>2]=0;e=c[80247]|0;if(!e)e=320988;else{f=e;do{e=f+8|0;f=c[e>>2]|0}while((f|0)!=0)}c[e>>2]=h}c[q>>2]=c[i+104>>2];xM(0,0,q);q=i;l=r;return q|0}function wM(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,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.0;z=l;l=l+80|0;x=z+64|0;v=z+56|0;u=z+48|0;n=z+40|0;m=z+32|0;k=z+24|0;j=z+16|0;i=z+8|0;h=z;if(d|0?(c[d>>2]|0)==332713:0){if(!e)y=c[d+116>>2]|0;else y=e;t=(y|0)==0|(y&-268435456|0)==268435456;h=y&255;if((h|0)==0&t){_D(307328,i);g=0;l=z;return g|0}if(t?((y>>>24&15)+-1|0)>>>0<3:0){_D(307351,j);g=0;l=z;return g|0}if((f|0)<1|(g|0)<1){_D(307389,k);g=0;l=z;return g|0}i=c[d+180>>2]|0;e=c[d+184>>2]|0;if(!((i|0)!=0&(i|0)<(f|0))?!((e|0)!=0&(e|0)<(g|0)):0){e=TM(80)|0;if(!e){_D(294618,n);g=0;l=z;return g|0}if(c[e+-4>>2]&3|0){i=e;j=i+80|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(j|0))}c[e>>2]=332714;q=e+4|0;c[q>>2]=y;c[e+8>>2]=1;c[e+12>>2]=f;c[e+16>>2]=g;c[e+28>>2]=-1;c[e+32>>2]=d;r=d+304|0;i=c[r>>2]|0;s=e+76|0;c[s>>2]=i;if(i|0)c[i+72>>2]=e;c[r>>2]=e;n=c[d+112>>2]|0;j=(n|0)==0;a:do if(!j){i=0;while(1){if((c[d+116+(i<<2)>>2]|0)==(y|0))break;i=i+1|0;if(i>>>0>=n>>>0)break a}if((hg[c[d+12>>2]&63](d,e)|0)>=0){g=e;l=z;return g|0}_L(e);g=0;l=z;return g|0}while(0);b:do if(t){i=y>>>24&15;if(((i+-4|0)>>>0<3?(o=(y>>>20&15)+-3|0,o>>>0<6):0)?(51>>>(o&255)&1)!=0:0)i=1;else if((i+-7|0)>>>0<5?(p=(y>>>20&15)+-2|0,p>>>0<5):0)i=(27>>>(p&31)&1)!=0;else i=0;if(!j)if(i){m=0;while(1){i=c[d+116+(m<<2)>>2]|0;do if((i|0)==0|(i&-268435456|0)==268435456){j=i>>>24&15;do if((j+-4|0)>>>0<3){k=(i>>>20&15)+-3|0;if(k>>>0>=6)break;if(51>>>(k&255)&1)break b}while(0);if((j+-7|0)>>>0>=5)break;j=(i>>>20&15)+-2|0;if(j>>>0>=5)break;if(27>>>(j&31)&1)break b}while(0);m=m+1|0;if(m>>>0>=n>>>0){w=55;break}}}else{m=0;while(1){i=c[d+116+(m<<2)>>2]|0;c:do if((i|0)==0|(i&-268435456|0)==268435456){j=i>>>24&15;do if((j+-4|0)>>>0<3){k=(i>>>20&15)+-3|0;if(k>>>0>=6)break;if(51>>>(k&255)&1)break c}while(0);if((j+-7|0)>>>0>=5)break b;j=(i>>>20&15)+-2|0;if(j>>>0>=5)break b;if(!(27>>>(j&31)&1))break b}while(0);m=m+1|0;if(m>>>0>=n>>>0){w=55;break}}}else w=55}else if(j)w=55;else{i=0;while(1){if((c[d+116+(i<<2)>>2]|0)==(y|0)){i=y;break b}i=i+1|0;if(i>>>0>=n>>>0){w=55;break}}}while(0);if((w|0)==55)i=c[d+116>>2]|0;k=wM(d,i,f,g)|0;c[e+36>>2]=k;if(!k){_L(e);g=0;l=z;return g|0}i=c[s>>2]|0;c[k+76>>2]=i;if(i|0)c[i+72>>2]=k;i=k+72|0;j=c[i>>2]|0;c[e+72>>2]=j;if(j|0)c[j+76>>2]=e;c[i>>2]=e;c[s>>2]=k;c[r>>2]=e;w=c[q>>2]|0;if((w|0)==0|(w&-268435456|0)==268435456){d:do if(!t){if((y|0)<1498831189)switch(y|0){case 844715353:{h=2;break d}default:{}}else switch(y|0){case 1498831189:{h=2;break d}default:{}}h=(y|0)==1431918169?2:1}while(0);h=(O(h,f)|0)+3&-4;c[e+48>>2]=h;h=O(h,g)|0;i=TM(h)|0;if(!i){c[e+44>>2]=0;_L(e);g=0;l=z;return g|0}if(c[i+-4>>2]&3|0)EQ(i|0,0,h|0)|0;c[e+44>>2]=i;g=e;l=z;return g|0}e:do if((y|0)<1431918169)if((y|0)<844715353)switch(y|0){case 842094169:{w=65;break e}default:{w=64;break e}}else switch(y|0){case 844715353:{w=65;break e}default:{w=64;break e}}else{if((y|0)<1448433993)switch(y|0){case 1431918169:{w=65;break e}default:{w=64;break e}}if((y|0)<1498831189)switch(y|0){case 1448433993:{w=65;break e}default:{w=64;break e}}else switch(y|0){case 1498831189:{w=65;break e}default:{w=64;break e}}}while(0);f:do if((w|0)==64){_D(307459,u);w=78}else if((w|0)==65){p=TM(64)|0;if(!p){_D(294618,v);w=78;break}if(c[p+-4>>2]&3|0){i=p;j=i+64|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(j|0))}c[p>>2]=y;c[p+4>>2]=0;c[p+8>>2]=f;c[p+12>>2]=g;o=f<<1;h=p+16|0;c[h>>2]=TM(O(o,g)|0)|0;i=p+20|0;c[i>>2]=TM(4096)|0;j=TM(9216)|0;k=p+24|0;c[k>>2]=j;h=c[h>>2]|0;do if(h|0){n=c[i>>2]|0;if((j|0)==0|(n|0)==0)break;j=n+1024|0;k=n+2048|0;m=n+3072|0;i=0;do{A=+(i+-128|0);c[n+(i<<2)>>2]=~~(A*1.4013377926421404);c[j+(i<<2)>>2]=~~(A*-.7136038186157518);c[k+(i<<2)>>2]=~~(A*-.34441087613293053);c[m+(i<<2)>>2]=~~(A*1.7734138972809665);i=i+1|0}while((i|0)!=256);g:do if((y|0)<1431918169)if((y|0)<844715353)switch(y|0){case 842094169:{w=75;break g}default:{w=79;break g}}else switch(y|0){case 844715353:{w=76;break g}default:{w=79;break g}}else{if((y|0)<1448433993)switch(y|0){case 1431918169:{w=76;break g}default:{w=79;break g}}if((y|0)<1498831189)switch(y|0){case 1448433993:{w=75;break g}default:{w=79;break g}}else switch(y|0){case 1498831189:{w=76;break g}default:{w=79;break g}}}while(0);if((w|0)==75){j=f&65535;b[p+36>>1]=j;i=f>>>1&32767;b[p+38>>1]=i;b[p+40>>1]=(j&65535)>>>1;j=p+44|0;c[j>>2]=h;h=h+(O(f&65535,g)|0)|0;c[p+48>>2]=h;h=h+((O(i,g)|0)/2|0)|0;i=2}else if((w|0)==76){b[p+36>>1]=o;j=p+44|0;i=0}else if((w|0)==79){c[e+40>>2]=p;if(!p)break f;l=z;return e|0}c[j+(i<<2)>>2]=h;c[e+40>>2]=p;g=e;l=z;return g|0}while(0);UM(h);UM(c[i>>2]|0);UM(c[k>>2]|0);yE(c[p+56>>2]|0);yE(c[p+60>>2]|0);UM(p);_D(294618,x);w=78}while(0);if((w|0)==78)c[e+40>>2]=0;_L(e);g=0;l=z;return g|0}c[m>>2]=i;c[m+4>>2]=e;_D(307419,m);g=0;l=z;return g|0}_D(289387,h);g=0;l=z;return g|0}function xM(a,b,d){a=a|0;b=b|0;d=d|0;b=l;l=l+16|0;a=b;c[a>>2]=d;pI(6,3,307652,a);l=b;return}function yM(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+144|0;k=m;h=m+4|0;if(b&8192){b=b|512;d=a[334776]|0;if(!(d<<24>>24==0?1:(d<<24>>24==1|c[80955]|0)==0)){d=c[80934]|0;if(d|0)do{c[d+4>>2]=0;CM(c[d>>2]|0);e=c[80934]|0;a:do if(e|0){f=0;while(1){if((e|0)==(d|0))break;f=c[e+1344>>2]|0;if(!f)break a;else{n=e;e=f;f=n}}e=c[d+1344>>2]|0;if(!f){c[80934]=e;break}else{c[f+1344>>2]=e;break}}while(0);UM(d);d=c[80934]|0}while((d|0)!=0);d=c[80929]|0;if(d|0)do{c[80929]=c[d+24>>2];UM(c[d+16>>2]|0);UM(c[d+20>>2]|0);UM(d);d=c[80929]|0}while((d|0)!=0);d=c[80247]|0;b:do if(d|0){f=0;while(1){e=c[d+8>>2]|0;if((c[d>>2]|0)==39?(c[d+4>>2]|0)==0:0)break;if(!e)break b;else{f=d;d=e}}c[(f|0?f+8|0:320988)>>2]=e;UM(d)}while(0);d=a[334776]|0}if(d<<24>>24)a[334776]=d+-1<<24>>24}if(b&512){b=b|16384;d=a[334772]|0;if(!(d<<24>>24==0?1:(d<<24>>24==1|c[80955]|0)==0)){d=c[80956]|0;if(d|0)do{c[d+48>>2]=1;CM(d);d=c[80956]|0}while((d|0)!=0);d=c[80932]|0;if(d|0)do{n=d;d=c[d+1320>>2]|0;UM(c[n+8>>2]|0);UM(c[n+4>>2]|0);UM(n)}while((d|0)!=0);c[80935]=0;c[80932]=0;c[80933]=0;c[80936]=0;jf(0,0,0)|0;kf(0,0,0)|0;yM(16384);d=a[334772]|0}if(d<<24>>24)a[334772]=d+-1<<24>>24}if(b&16|0){d=a[334767]|0;if(!(d<<24>>24==0?1:(d<<24>>24==1|c[80955]|0)==0)){EL();d=a[334767]|0}if(d<<24>>24)a[334767]=d+-1<<24>>24}if(b&32){b=b|16384;d=a[334768]|0;if(!(d<<24>>24==0?1:(d<<24>>24==1|c[80955]|0)==0)){WL();d=a[334768]|0}if(d<<24>>24)a[334768]=d+-1<<24>>24}if(b&1|0?(g=a[334763]|0,g<<24>>24):0)a[334763]=g+-1<<24>>24;if(!(b&16384)){l=m;return}b=a[334777]|0;if(!(b<<24>>24==0?1:(b<<24>>24==1|c[80955]|0)==0)){Rf(2,0,h|0)|0;if((c[h>>2]|0)==267){c[h>>2]=0;Rf(2,h|0,0)|0}Rf(15,0,h|0)|0;if((c[h>>2]|0)==267){c[h>>2]=0;Rf(15,h|0,0)|0}d=Df(307673)|0;b=c[79960]|0;c:do if(!b){i=d;b=56}else{while(1){if(!(wN(307673,c[b>>2]|0)|0))break;b=c[b+16>>2]|0;if(!b){i=d;b=56;break c}}if(d|0?(c[b+8>>2]|0)!=2:0){c[6836]=0;j=d;b=57;break}i=c[b+4>>2]|0;b=56}while(0);if((b|0)==56?(c[6836]=0,i|0):0){j=i;b=57}if((b|0)==57?fQ(j)|0:0){c[k>>2]=c[6838];AM(0,k)}b=c[6839]|0;if(b|0)do{n=b;b=c[b+72>>2]|0;UM(n)}while((b|0)!=0);b=c[6841]|0;if(b|0)do{n=b;b=c[b+72>>2]|0;UM(n)}while((b|0)!=0);b=c[6842]|0;if(b|0)do{n=b;b=c[b+12>>2]|0;UM(n)}while((b|0)!=0);b=c[6843]|0;if(b|0)do{n=b;b=c[b+12>>2]|0;UM(n)}while((b|0)!=0);c[6837]=0;c[6838]=0;c[6839]=0;c[6840]=0;c[6841]=0;c[6842]=0;c[6843]=0;b=0;do{n=319964+(b<<2)|0;UM(c[n>>2]|0);c[n>>2]=0;b=b+1|0}while((b|0)!=256);b=c[80247]|0;if(b|0)do{c[80247]=c[b+8>>2];UM(b);b=c[80247]|0}while((b|0)!=0);b=c[6835]|0;if(b|0){UM(b);c[6835]=0}b=a[334777]|0}if(!(b<<24>>24)){l=m;return}a[334777]=b+-1<<24>>24;l=m;return}function zM(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;i=l;l=l+32|0;g=i+16|0;d=i+8|0;b=c[79957]|0;if(!b){_D(288260,i);l=i;return}if(a|0?(c[a>>2]|0)==(b+280|0):0){c[a+120>>2]=1;f=a+48|0;if(c[f>>2]&4|0){b=a+116|0;c[b>>2]=1;sI(a,0)|0;d=c[79957]|0;e=c[d+84>>2]|0;if(e|0)Bg[e&255](d,a);c[b>>2]=0;tI(a,2,0,0)}if((c[80254]|0)==(a|0))nK(0);do if((c[79973]|0)==(a|0)){tI(a,11,0,0);c[79973]=0;b=c[79986]|0;d=c[79964]|0;e=(d|0)==0;if((b|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(e)break;gg[d&511](b)|0;break}else{if(e)break;gg[d&511](0)|0;break}}while(0);if(c[f>>2]&2|0?(c[(c[79957]|0)+652>>2]|0)==(a|0):0)YD(a,0)|0;b=c[a+108>>2]|0;if(b|0){c[b>>2]=c[b>>2]&-5;yE(b)}b=c[79957]|0;d=c[b+140>>2]|0;if(d){Bg[d&255](b,a);b=c[79957]|0}d=c[b+128>>2]|0;if(d|0)Bg[d&255](b,a);do if(c[f>>2]&2|0){e=c[79957]|0;if(!e){_D(288260,g);break}b=e+388|0;d=c[b>>2]|0;if(((d|0)>0?(c[b>>2]=d+-1,(d|0)==1):0)?(h=c[e+172>>2]|0,h|0):0)vg[h&511](e)}while(0);b=BI(a)|0;if((b|0)>-1)b=(c[(c[79957]|0)+268>>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;UM(c[a+8>>2]|0);yE(c[a+12>>2]|0);UM(c[a+100>>2]|0);d=a+140|0;b=c[d>>2]|0;if(b|0)do{c[d>>2]=c[b+8>>2];UM(c[b>>2]|0);UM(b);b=c[d>>2]|0}while((b|0)!=0);d=c[a+152>>2]|0;b=a+148|0;if(d|0)c[d+148>>2]=c[b>>2];h=c[b>>2]|0;c[((h|0)==0?(c[79957]|0)+272|0:h+152|0)>>2]=d;UM(a);l=i;return}_D(307482,d);l=i;return}function AM(a,b){a=a|0;b=b|0;var d=0;a=l;l=l+16|0;d=a;c[d>>2]=b;pI(0,3,307700,d);l=a;return}function BM(a){a=a|0;Sf(a|0,267)|0;c[79990]=1;return}function CM(a){a=a|0;var b=0,d=0,e=0;if(!a)return;b=a+48|0;d=c[b>>2]|0;c[b>>2]=d+-1;if((d|0)>1|(c[80957]|0)==(a|0))return;b=a+44|0;d=c[b>>2]|0;if(d|0)c[d+16>>2]=0;c[b>>2]=0;b=c[80956]|0;a:do if(b|0){d=0;while(1){if((b|0)==(a|0))break;d=c[b+60>>2]|0;if(!d)break a;else{e=b;b=d;d=e}}b=c[a+60>>2]|0;if(!d){c[80956]=b;break}else{c[d+60>>2]=b;break}}while(0);UM(c[a+4>>2]|0);UM(c[a+12>>2]|0);UM(c[a+24>>2]|0);UM(c[a+32>>2]|0);UM(c[a+40>>2]|0);UM(a);return}function DM(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=l;l=l+32|0;s=t+24|0;g=t+16|0;f=t+8|0;e=t;a=a+-1|0;if(a>>>0<=15?(r=c[323752+(a<<2)>>2]|0,r|0):0){if(c[r+144>>2]|0){_D(307794,f);l=t;return}if((c[r+20>>2]|0)!=3){_D(307841,g);l=t;return}if(!d){l=t;return}vg[c[323648>>2]&511](r);j=r+164|0;k=c[j>>2]|0;m=r+168|0;n=c[m>>2]|0;g=(n|0)!=0;if(g)i=c[n+8192>>2]|0;else i=0;o=r+172|0;h=r+176|0;e=n;while(1){if((e|0)!=0?(p=c[e+8192>>2]|0,p>>>0<=8191):0){a=e;e=p}else{a=c[o>>2]|0;if(!a){a=TM(8204)|0;if(!a){q=18;break}e=c[m>>2]|0}else c[o>>2]=c[a+8200>>2];c[a+8192>>2]=0;c[a+8196>>2]=0;c[a+8200>>2]=0;c[((e|0)==0?j:e+8200|0)>>2]=a;c[m>>2]=a;e=0}u=a+8192|0;f=8192-e|0;f=d>>>0>>0?d:f;CQ(a+e|0,b|0,f|0)|0;a=d-f|0;c[u>>2]=f+(c[u>>2]|0);c[h>>2]=(c[h>>2]|0)+f;if(!a)break;b=b+f|0;d=a;e=c[m>>2]|0}if((q|0)==18){if(g){u=n+8200|0;a=c[u>>2]|0;c[u>>2]=0;c[n+8192>>2]=i}else a=c[j>>2]|0;c[j>>2]=k;c[m>>2]=n;c[o>>2]=0;if(a|0)do{u=a;a=c[a+8200>>2]|0;UM(u)}while((a|0)!=0);_D(294618,s)}vg[c[323652>>2]&511](r);l=t;return}_D(307770,e);l=t;return}function EM(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;j=b+164|0;h=c[j>>2]|0;g=(h|0)==0;a:do if(!e){f=d;h=8}else{k=b+176|0;l=b+172|0;f=d;i=e;while(1){if(g){h=9;break a}g=h+8192|0;o=h+8196|0;m=c[o>>2]|0;n=(c[g>>2]|0)-m|0;n=i>>>0>>0?i:n;CQ(f|0,h+m|0,n|0)|0;m=n+(c[o>>2]|0)|0;c[o>>2]=m;f=f+n|0;c[k>>2]=(c[k>>2]|0)-n;i=i-n|0;if((m|0)==(c[g>>2]|0)){n=h+8200|0;o=c[n>>2]|0;c[j>>2]=o;c[n>>2]=c[l>>2];c[l>>2]=h;h=o}else h=c[j>>2]|0;g=(h|0)==0;if(!i){h=8;break}}}while(0);if((h|0)==8)if(g)h=9;else g=f;if((h|0)==9){c[b+168>>2]=0;g=f}f=d-g+e|0;if((f|0)<=0)return;EQ(g|0,a[b+11>>0]|0,f|0)|0;return}function FM(b){b=b|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+32|0;E=H;F=H+16|0;G=H+8|0;B=b+4|0;C=a[b+11>>0]|0;D=b+12|0;g=e[D>>1]|0;h=c[B>>2]|0;v=b+28|0;w=b+48|0;x=c[(c[v>>2]|0?w:b+16|0)>>2]|0;y=c[b+24>>2]|0;z=c[b+20>>2]|0;c[b+160>>2]=0;vg[c[323612>>2]&511](b);A=b+132|0;do{i=c[A>>2]|0;f=c[A>>2]|0;if((f|0)==(i|0))c[A>>2]=i}while((f|0)!=(i|0));f=(g*1e3|0)/(h|0)|0;if(!i){p=b+136|0;q=b+148|0;r=b+44|0;s=b+52|0;t=b+140|0;u=(f>>>0)/1e3|0;i=((f>>>0)%1e3|0)*1e6|0;j=F+4|0;k=G+4|0;m=b+68|0;n=b+108|0;o=b+32|0;do{if(!(c[v>>2]|0)){do{f=c[p>>2]|0;g=c[p>>2]|0;if((g|0)==(f|0))c[p>>2]=f}while((g|0)!=(f|0));if(!f)g=11;else{f=gg[c[323628>>2]&511](b)|0;g=10}}else{f=c[r>>2]|0;g=10}if((g|0)==10){g=0;if(!f)g=11}if((g|0)==11)f=c[q>>2]|0;do{g=c[p>>2]|0;h=c[p>>2]|0;if((h|0)==(g|0))c[p>>2]=g}while((h|0)!=(g|0));do if(g|0){do{g=c[t>>2]|0;h=c[t>>2]|0;if((h|0)==(g|0))c[t>>2]=g}while((h|0)!=(g|0));if(!g){Dg[z&63](y,f,x);break}else{EQ(f|0,C|0,x|0)|0;break}}while(0);do if(c[v>>2]|0){do{g=c[p>>2]|0;h=c[p>>2]|0;if((h|0)==(g|0))c[p>>2]=g}while((h|0)!=(g|0));if(g){if(d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24){f=d[w>>0]|d[w+1>>0]<<8|d[w+2>>0]<<16|d[w+3>>0]<<24;a[s>>0]=f;a[s+1>>0]=f>>8;a[s+2>>0]=f>>16;a[s+3>>0]=f>>24;f=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;if(f|0){a[n>>0]=0;a[n+1>>0]=0;a[n+2>>0]=0;a[n+3>>0]=0;Bg[f&255](v,d[o>>0]|d[o+1>>0]<<8)}}else _D(304108,E);f=gg[c[323628>>2]&511](b)|0;if(!f){f=c[q>>2]|0;break}else{CQ(f|0,c[r>>2]|0,c[s>>2]|0)|0;break}}}while(0);if((f|0)==(c[q>>2]|0)){c[F>>2]=u;c[j>>2]=i;f=u;g=i;while(1){c[8240]=0;c[G>>2]=f;c[k>>2]=g;h=(Qf(G|0,F|0)|0)!=0;if(!(h&(c[8240]|0)==4))break;f=c[F>>2]|0;g=c[j>>2]|0}}else{vg[c[323620>>2]&511](b);vg[c[323616>>2]&511](b)}do{f=c[A>>2]|0;g=c[A>>2]|0;if((g|0)==(f|0))c[A>>2]=f}while((g|0)!=(f|0))}while(!(f|0))}vg[c[323640>>2]&511](b);f=(((e[D>>1]|0)*1e3|0)/(c[B>>2]|0)|0)<<1;i=(f>>>0)/1e3|0;c[F>>2]=i;f=((f>>>0)%1e3|0)*1e6|0;g=F+4|0;c[g>>2]=f;h=G+4|0;while(1){c[8240]=0;c[G>>2]=i;c[h>>2]=f;E=(Qf(G|0,F|0)|0)!=0;if(!(E&(c[8240]|0)==4))break;f=c[g>>2]|0;i=c[F>>2]|0}l=H;return 0}function GM(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;switch((f&255)<<24>>24){case 8:{i=e+16|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;g=e+24|0;h=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(h){j=i+(h<<1)|0;i=i+h|0;do{i=i+-1|0;l=j;j=j+-2|0;k=a[i>>0]|0;a[l+-1>>0]=k;a[j>>0]=k;h=h+-1|0}while((h|0)!=0)}break}case 16:{i=e+16|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;g=e+24|0;j=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;h=j>>>1;if(h){k=i+(j<<1)|0;i=i+j|0;do{i=i+-2|0;j=k;k=k+-4|0;l=b[i>>1]|0;b[j+-2>>1]=l;b[k>>1]=l;h=h+-1|0}while((h|0)!=0)}break}case 32:{i=e+16|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;g=e+24|0;j=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;h=j>>>2;if(h){k=i+j|0;i=i+(j<<1)|0;do{k=k+-4|0;j=i;i=i+-8|0;l=c[k>>2]|0;c[j+-4>>2]=l;c[i>>2]=l;h=h+-1|0}while((h|0)!=0)}break}default:g=e+24|0}l=(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)<<1;a[g>>0]=l;a[g+1>>0]=l>>8;a[g+2>>0]=l>>16;a[g+3>>0]=l>>24;l=e+80|0;g=(d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24)+1|0;a[l>>0]=g;a[l+1>>0]=g>>8;a[l+2>>0]=g>>16;a[l+3>>0]=g>>24;g=e+40+(g<<2)|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(!g)return;Bg[g&255](e,f);return}function HM(b,e){b=b|0;e=e|0;var f=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0;m=e&65535;f=m&33279;a:do if(f<<16>>16>=-32480){if(f<<16>>16<8){switch(f<<16>>16){case -32480:break;default:{n=2;break a}}i=b+16|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=b+24|0;l=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;k=i+l|0;i=i+(l*3|0)|0;h=(l|0)/8|0;l=(l+7|0)>>>0<15;if(!(m&4096)){if(l)break;while(1){m=i;i=i+-24|0;l=k;k=k+-8|0;q=+g[k>>2];l=l+-4|0;p=+g[l>>2];o=q*.5+p*.5;g[i>>2]=q;c[m+-20>>2]=c[l>>2];g[m+-16>>2]=q-o;g[m+-12>>2]=p-o;g[m+-4>>2]=o;g[m+-8>>2]=o;h=h+-1|0;if(!h)break a}}else{if(l)break;while(1){m=i;i=i+-24|0;l=k;k=k+-8|0;r=c[k>>2]|0;s=zQ(r|0)|0;o=(c[j>>2]=s,+g[j>>2]);l=l+-4|0;s=zQ(c[l>>2]|0)|0;p=(c[j>>2]=s,+g[j>>2]);q=o*.5+p*.5;c[i>>2]=r;c[m+-20>>2]=c[l>>2];c[m+-16>>2]=zQ((g[j>>2]=o-q,c[j>>2]|0)|0)|0;c[m+-12>>2]=zQ((g[j>>2]=p-q,c[j>>2]|0)|0)|0;l=zQ((g[j>>2]=q,c[j>>2]|0)|0)|0;c[m+-4>>2]=l;c[m+-8>>2]=l;h=h+-1|0;if(!h)break a}}}switch(f<<16>>16){case 8:{h=b+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;f=b+24|0;i=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!i)break a;k=i;l=h+i|0;h=h+(i*3|0)|0;while(1){s=h;h=h+-6|0;i=l;l=l+-2|0;t=a[l>>0]|0;i=a[i+-1>>0]|0;r=((i&255)>>>1)+((t&255)>>>1)<<24>>24;a[h>>0]=t;a[s+-5>>0]=i;m=r&255;a[s+-4>>0]=(t&255)-m;a[s+-3>>0]=(i&255)-m;a[s+-2>>0]=r;a[s+-1>>0]=r;k=k+-1|0;if(!k)break a}}case 16:break;default:{n=2;break a}}k=b+16|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;f=b+24|0;l=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=k+l|0;k=k+(l*3|0)|0;h=(l|0)/4|0;l=(l+3|0)>>>0<7;if(!(m&4096)){if(l)break;do{t=k;k=k+-12|0;u=i;i=i+-4|0;v=a[u+-3>>0]|0;w=a[i>>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+3>>0]<<24;i=k+l|0;k=k+(l*3|0)|0;h=(l|0)/8|0;l=(l+7|0)>>>0<15;if(!(m&4096)){if(l)break a;do{w=k;k=k+-24|0;s=i;i=i+-8|0;t=c[i>>2]|0;s=s+-4|0;u=c[s>>2]|0;v=((u|0)/2|0)+((t|0)/2|0)|0;c[k>>2]=t;c[w+-20>>2]=c[s>>2];c[w+-16>>2]=t-v;c[w+-12>>2]=u-v;c[w+-8>>2]=v;c[w+-4>>2]=v;h=h+-1|0}while((h|0)!=0)}else{if(l)break a;do{w=k;k=k+-24|0;s=i;i=i+-8|0;r=c[i>>2]|0;t=zQ(r|0)|0;s=c[s+-4>>2]|0;u=zQ(s|0)|0;v=((u|0)/2|0)+((t|0)/2|0)|0;c[k>>2]=r;c[w+-20>>2]=s;c[w+-16>>2]=zQ(t-v|0)|0;c[w+-12>>2]=zQ(u-v|0)|0;v=zQ(v|0)|0;c[w+-8>>2]=v;c[w+-4>>2]=v;h=h+-1|0}while((h|0)!=0)}break}default:{n=2;break a}}while(0);if((n|0)==2)f=b+24|0;w=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)*3|0;a[f>>0]=w;a[f+1>>0]=w>>8;a[f+2>>0]=w>>16;a[f+3>>0]=w>>24;w=b+80|0;f=(d[w>>0]|d[w+1>>0]<<8|d[w+2>>0]<<16|d[w+3>>0]<<24)+1|0;a[w>>0]=f;a[w+1>>0]=f>>8;a[w+2>>0]=f>>16;a[w+3>>0]=f>>24;f=b+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](b,e);return}function IM(b,e){b=b|0;e=e|0;var f=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0;m=e&65535;f=m&33279;a:do if(f<<16>>16>=-32480){if(f<<16>>16<8){switch(f<<16>>16){case -32480:break;default:{n=2;break a}}i=b+16|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=b+24|0;l=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;k=i+l|0;i=i+(l<<1)|0;h=(l|0)/8|0;l=(l+7|0)>>>0<15;if(!(m&4096)){if(l)break;while(1){m=i;i=i+-16|0;l=k;k=k+-8|0;q=+g[k>>2];l=l+-4|0;p=+g[l>>2];o=q*.5+p*.5;g[i>>2]=q;c[m+-12>>2]=c[l>>2];g[m+-8>>2]=q-o;g[m+-4>>2]=p-o;h=h+-1|0;if(!h)break a}}else{if(l)break;while(1){m=i;i=i+-16|0;l=k;k=k+-8|0;r=c[k>>2]|0;s=zQ(r|0)|0;o=(c[j>>2]=s,+g[j>>2]);l=l+-4|0;s=zQ(c[l>>2]|0)|0;p=(c[j>>2]=s,+g[j>>2]);q=o*.5+p*.5;c[i>>2]=r;c[m+-12>>2]=c[l>>2];c[m+-8>>2]=zQ((g[j>>2]=o-q,c[j>>2]|0)|0)|0;c[m+-4>>2]=zQ((g[j>>2]=p-q,c[j>>2]|0)|0)|0;h=h+-1|0;if(!h)break a}}}switch(f<<16>>16){case 8:{h=b+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;f=b+24|0;i=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!i)break a;k=i;l=h+i|0;h=h+(i<<1)|0;while(1){s=h;h=h+-4|0;m=l;l=l+-2|0;i=a[l>>0]|0;m=a[m+-1>>0]|0;a[h>>0]=i;a[s+-3>>0]=m;r=((m&255)>>>1)+((i&255)>>>1)&255;a[s+-2>>0]=(i&255)-r;a[s+-1>>0]=(m&255)-r;k=k+-1|0;if(!k)break a}}case 16:break;default:{n=2;break a}}k=b+16|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;f=b+24|0;l=d[f>>0]|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|0)/2|0)|0;c[k>>2]=t;c[w+-12>>2]=c[s>>2];c[w+-8>>2]=t-v;c[w+-4>>2]=u-v;h=h+-1|0}while((h|0)!=0)}else{if(l)break a;do{w=k;k=k+-16|0;s=i;i=i+-8|0;r=c[i>>2]|0;t=zQ(r|0)|0;s=s+-4|0;u=zQ(c[s>>2]|0)|0;v=((u|0)/2|0)+((t|0)/2|0)|0;c[k>>2]=r;c[w+-12>>2]=c[s>>2];c[w+-8>>2]=zQ(t-v|0)|0;c[w+-4>>2]=zQ(u-v|0)|0;h=h+-1|0}while((h|0)!=0)}break}default:{n=2;break a}}while(0);if((n|0)==2)f=b+24|0;w=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)<<1;a[f>>0]=w;a[f+1>>0]=w>>8;a[f+2>>0]=w>>16;a[f+3>>0]=w>>24;w=b+80|0;f=(d[w>>0]|d[w+1>>0]<<8|d[w+2>>0]<<16|d[w+3>>0]<<24)+1|0;a[w>>0]=f;a[w+1>>0]=f>>8;a[w+2>>0]=f>>16;a[w+3>>0]=f>>24;f=b+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](b,e);return}function JM(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;switch((f&255)<<24>>24){case 8:{h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;g=e+24|0;j=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(j>>>0>=6){k=h;i=h;h=(j>>>0)/6|0;while(1){a[k>>0]=a[i>>0]|0;a[k+1>>0]=a[i+1>>0]|0;h=h+-1|0;if(!h)break;else{k=k+2|0;i=i+6|0}}}break}case 16:{h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;g=e+24|0;j=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(j>>>0>=12){k=h;i=h;h=(j>>>0)/12|0;while(1){b[k>>1]=b[i>>1]|0;b[k+2>>1]=b[i+2>>1]|0;h=h+-1|0;if(!h)break;else{k=k+4|0;i=i+12|0}}}break}case 32:{h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;g=e+24|0;j=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(j>>>0>=24){k=h;i=h;h=(j>>>0)/24|0;while(1){c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];h=h+-1|0;if(!h)break;else{k=k+24|0;i=i+8|0}}}break}default:g=e+24|0}k=(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24|0)/3|0;a[g>>0]=k;a[g+1>>0]=k>>8;a[g+2>>0]=k>>16;a[g+3>>0]=k>>24;k=e+80|0;g=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=g;a[k+1>>0]=g>>8;a[k+2>>0]=g>>16;a[k+3>>0]=g>>24;g=e+40+(g<<2)|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(!g)return;Bg[g&255](e,f);return}function KM(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;switch((f&255)<<24>>24){case 8:{h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;g=e+24|0;j=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(j>>>0>=6){k=h;i=h;h=(j>>>0)/6|0;while(1){a[k>>0]=a[i>>0]|0;a[k+1>>0]=a[i+1>>0]|0;a[k+2>>0]=a[i+2>>0]|0;a[k+3>>0]=a[i+3>>0]|0;h=h+-1|0;if(!h)break;else{k=k+4|0;i=i+6|0}}}break}case 16:{h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;g=e+24|0;j=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(j>>>0>=12){k=h;i=h;h=(j>>>0)/12|0;while(1){b[k>>1]=b[i>>1]|0;b[k+2>>1]=b[i+2>>1]|0;b[k+4>>1]=b[i+4>>1]|0;b[k+6>>1]=b[i+6>>1]|0;h=h+-1|0;if(!h)break;else{k=k+8|0;i=i+12|0}}}break}case 32:{h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;g=e+24|0;j=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(j>>>0>=24){k=h;i=h;h=(j>>>0)/24|0;while(1){c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];h=h+-1|0;if(!h)break;else{k=k+24|0;i=i+16|0}}}break}default:g=e+24|0}k=((d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24|0)/6|0)<<2;a[g>>0]=k;a[g+1>>0]=k>>8;a[g+2>>0]=k>>16;a[g+3>>0]=k>>24;k=e+80|0;g=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=g;a[k+1>>0]=g>>8;a[k+2>>0]=g>>16;a[k+3>>0]=g>>24;g=e+40+(g<<2)|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(!g)return;Bg[g&255](e,f);return}function LM(b,e){b=b|0;e=e|0;var f=0,h=0,i=0,k=0,l=0,m=0,n=0.0,o=0;k=e&65535;f=k&33279;a:do if(f<<16>>16>=-32480){if(f<<16>>16<8){switch(f<<16>>16){case -32480:break;default:{m=2;break a}}l=b+16|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;f=b+24|0;i=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=(i|0)/8|0;i=(i+7|0)>>>0<15;if(!(k&4096)){if(i)break;else{k=l;i=l}while(1){g[k>>2]=(+g[i>>2]+ +g[i+4>>2])*.5;h=h+-1|0;if(!h)break a;else{k=k+4|0;i=i+8|0}}}else{if(i)break;else{k=l;i=l}while(1){l=zQ(c[i>>2]|0)|0;n=(c[j>>2]=l,+g[j>>2]);l=zQ(c[i+4>>2]|0)|0;c[k>>2]=zQ((g[j>>2]=(n+(c[j>>2]=l,+g[j>>2]))*.5,c[j>>2]|0)|0)|0;h=h+-1|0;if(!h)break a;else{k=k+4|0;i=i+8|0}}}}switch(f<<16>>16){case 8:{h=b+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;f=b+24|0;k=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if((k+1|0)>>>0<3)break a;l=h;i=h;h=(k|0)/2|0;while(1){a[i>>0]=((d[l+1>>0]|0)+(d[l>>0]|0)|0)>>>1;h=h+-1|0;if(!h)break a;else{l=l+2|0;i=i+1|0}}}case 16:break;default:{m=2;break a}}l=b+16|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;f=b+24|0;i=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=(i|0)/4|0;i=(i+3|0)>>>0<7;if(!(k&4096)){if(i)break;else{k=l;i=l}while(1){l=(d[k+3>>0]<<8|d[k+2>>0])+(d[k+1>>0]<<8|d[k>>0])|0;a[i>>0]=l>>>1;a[i+1>>0]=l>>>9;h=h+-1|0;if(!h)break;else{k=k+4|0;i=i+2|0}}}else{if(i)break;else{k=l;i=l}while(1){l=(d[k+2>>0]<<8|d[k+3>>0])+(d[k>>0]<<8|d[k+1>>0])|0;a[i+1>>0]=l>>>1;a[i>>0]=l>>>9;h=h+-1|0;if(!h)break;else{k=k+4|0;i=i+2|0}}}}else switch(f<<16>>16){case -32760:{h=b+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;f=b+24|0;k=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if((k+1|0)>>>0<3)break a;l=h;i=h;h=(k|0)/2|0;while(1){a[i>>0]=((a[l+1>>0]|0)+(a[l>>0]|0)|0)/2|0;h=h+-1|0;if(!h)break;else{l=l+2|0;i=i+1|0}}break}case -32752:{l=b+16|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;f=b+24|0;i=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=(i|0)/4|0;i=(i+3|0)>>>0<7;if(!(k&4096)){if(i)break a;else{k=l;i=l}while(1){l=(((d[k+3>>0]<<8|d[k+2>>0])<<16>>16)+((d[k+1>>0]<<8|d[k>>0])<<16>>16)|0)/2|0;a[i>>0]=l;a[i+1>>0]=l>>>8;h=h+-1|0;if(!h)break;else{k=k+4|0;i=i+2|0}}}else{if(i)break a;else{k=l;i=l}while(1){l=(((d[k+2>>0]<<8|d[k+3>>0])<<16>>16)+((d[k>>0]<<8|d[k+1>>0])<<16>>16)|0)/2|0;a[i+1>>0]=l;a[i>>0]=l>>>8;h=h+-1|0;if(!h)break;else{k=k+4|0;i=i+2|0}}}break}case -32736:{l=b+16|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;f=b+24|0;i=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=(i|0)/8|0;i=(i+7|0)>>>0<15;if(!(k&4096)){if(i)break a;else{k=l;i=l}while(1){l=c[i>>2]|0;o=c[i+4>>2]|0;l=lQ(o|0,((o|0)<0)<<31>>31|0,l|0,((l|0)<0)<<31>>31|0)|0;l=pQ(l|0,z|0,2,0)|0;c[k>>2]=l;h=h+-1|0;if(!h)break;else{k=k+4|0;i=i+8|0}}}else{if(i)break a;else{k=l;i=l}while(1){o=zQ(c[i>>2]|0)|0;l=zQ(c[i+4>>2]|0)|0;o=lQ(l|0,((l|0)<0)<<31>>31|0,o|0,((o|0)<0)<<31>>31|0)|0;o=pQ(o|0,z|0,2,0)|0;c[k>>2]=zQ(o|0)|0;h=h+-1|0;if(!h)break;else{k=k+4|0;i=i+8|0}}}break}default:{m=2;break a}}while(0);if((m|0)==2)f=b+24|0;o=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)/2|0;a[f>>0]=o;a[f+1>>0]=o>>8;a[f+2>>0]=o>>16;a[f+3>>0]=o>>24;o=b+80|0;f=(d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24)+1|0;a[o>>0]=f;a[o+1>>0]=f>>8;a[o+2>>0]=f>>16;a[o+3>>0]=f>>24;f=b+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](b,e);return}function MM(b){b=b|0;var d=0.0,e=0,f=0,g=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;x=l;l=l+1488|0;t=x+1432|0;w=x;v=c[b+44>>2]|0;if(!v){l=x;return}if(Qb(c[v>>2]|0,w|0)|0){l=x;return}d=+h[w>>3];if(!(d==0.0)?!(d!=+h[v+32>>3]):0){l=x;return}m=v+20|0;if((c[m>>2]|0)>0){n=v+16|0;o=t+8|0;p=t+12|0;q=t+13|0;r=t+4|0;k=0;do{s=v+1064+(k<<2)|0;b=c[s>>2]|0;j=w+1040+(k<<2)|0;e=c[j>>2]|0;if((b|0)!=(e|0)){b=(e|0)!=0;e=b&1;f=c[n>>2]|0;g=k&255;c[t>>2]=b?1539:1540;i=k&255;do if((i|0)<(c[f+36>>2]|0)?(u=(c[f+40>>2]|0)+i|0,(a[u>>0]|0)!=e<<24>>24):0){if(!((c[80937]|0)!=0|(a[334768]|0)==0)?b&(c[80254]|0)==0:0)break;a[u>>0]=e;i=c[t>>2]|0;b=c[319964+((i>>>8&255)<<2)>>2]|0;if(b|0?c[b+((i>>>5&7)<<2)>>2]&1<<(i&31)|0:0)break;c[o>>2]=c[f>>2];a[p>>0]=g;a[q>>0]=e;c[r>>2]=uI()|0;b=c[80247]|0;if(b|0)do{hg[c[b>>2]&63](c[b+4>>2]|0,t)|0;b=c[b+8>>2]|0}while((b|0)!=0);if((vI(t,1,0,0,0)|0)>=1)wI(t)}while(0);b=c[j>>2]|0}h[v+552+(k<<3)>>3]=+h[w+528+(k<<3)>>3];c[s>>2]=b;k=k+1|0}while((k|0)<(c[m>>2]|0))}f=v+24|0;if((c[f>>2]|0)>0){g=v+16|0;e=0;do{i=v+40+(e<<3)|0;b=w+16+(e<<3)|0;d=+h[b>>3];if(+h[i>>3]!=d){NM(c[g>>2]|0,e&255,~~(d*32767.0));d=+h[b>>3]}h[i>>3]=d;e=e+1|0}while((e|0)<(c[f>>2]|0))}h[v+32>>3]=+h[w>>3];l=x;return}function NM(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=l;l=l+64|0;j=k;g=e&255;if((g|0)>=(c[d+8>>2]|0)){l=k;return}h=(c[d+12>>2]|0)+(g<<1)|0;i=b[h>>1]|0;if(i<<16>>16==f<<16>>16){l=k;return}if((c[80937]|0)==0?(a[334768]|0)!=0&(c[80254]|0)==0:0){g=b[(c[d+16>>2]|0)+(g<<1)>>1]|0;if(!(g<<16>>16>=f<<16>>16?1:i<<16>>16>f<<16>>16)){l=k;return}if(!(g<<16>>16<=f<<16>>16?1:i<<16>>16>16)){l=k;return}}b[h>>1]=f;i=c[79997]|0;if(i|0?c[i>>2]&1|0:0){l=k;return}c[j>>2]=1536;c[j+8>>2]=c[d>>2];a[j+12>>0]=e;b[j+16>>1]=f;c[j+4>>2]=uI()|0;g=c[80247]|0;if(g|0)do{hg[c[g>>2]&63](c[g+4>>2]|0,j)|0;g=c[g+8>>2]|0}while((g|0)!=0);if((vI(j,1,0,0,0)|0)>=1)wI(j);l=k;return}function OM(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;d=i;if(b&1073741824|0){b=b&-1073741825;if(b>>>0>511){c[d>>2]=309866;_D(309840,d);h=334803;l=i;return h|0}else{h=c[30520+(b<<2)>>2]|0;h=(h|0)==0?334803:h;l=i;return h|0}}switch(b|0){case 27:{h=308328;l=i;return h|0}case 8:{h=308335;l=i;return h|0}case 9:{h=308345;l=i;return h|0}case 32:{h=308349;l=i;return h|0}case 127:{h=308473;l=i;return h|0}case 13:{h=308321;l=i;return h|0}default:{g=(b+-97|0)>>>0<26?b+-32|0:b;do if(g>>>0>=128){b=g>>>6;h=(g&63|128)&255;if(g>>>0<2048){a[334795]=b&31|192;a[334796]=h;b=2;break}d=g>>>12;f=(b&63|128)&255;if(g>>>0<65536){a[334795]=d&15|224;a[334796]=f;a[334797]=h;b=3;break}b=g>>>18;d=(d&63|128)&255;if(g>>>0<2097152){a[334795]=b&7|240;a[334796]=d;a[334797]=f;a[334798]=h;b=4;break}e=g>>>24;b=(b&63|128)&255;if(g>>>0<67108864){a[334795]=e&3|248;a[334796]=b;a[334797]=d;a[334798]=f;a[334799]=h;b=5;break}else{a[334795]=g>>>30&1|252;a[334796]=e&63|128;a[334797]=b;a[334798]=d;a[334799]=f;a[334800]=h;b=6;break}}else{a[334795]=g;b=1}while(0);a[334795+b>>0]=0;h=334795;l=i;return h|0}}return 0}function PM(){var a=0,b=0,d=0;b=c[79994]|0;if(b|0){a=c[b>>2]|0;if(a&8){a=a&-9;c[b>>2]=a}if(a&4|0)c[b>>2]=a&-5}a=c[79957]|0;if(!a)return;b=c[a+272>>2]|0;do if(b){do{if(c[b+48>>2]&512|0){d=10;break}b=c[b+152>>2]|0}while((b|0)!=0);if((d|0)==10){d=c[a+228>>2]|0;if(!d)break;Bg[d&255](a,b);a=c[79957]|0}if(!a)return}while(0);b=c[a+212>>2]|0;if(!b)return;vg[b&511](a);return}function QM(){var a=0,b=0,d=0,e=0;d=l;l=l+16|0;a=d;do if(!(c[80248]|0)){c[80248]=1;if(!(ib(4,320996)|0)){c[80251]=1;break}else{Ef(321008,0)|0;b=5;break}}else b=5;while(0);if((b|0)==5?(c[80251]|0)==0:0){Ef(a|0,0)|0;e=c[a>>2]|0;e=rQ(e|0,((e|0)<0)<<31>>31|0,1e6,0)|0;b=c[a+4>>2]|0;b=lQ(e|0,z|0,b|0,((b|0)<0)<<31>>31|0)|0;a=z;z=a;l=d;return b|0}ib(4,a|0)|0;b=c[a>>2]|0;b=rQ(b|0,((b|0)<0)<<31>>31|0,1e9,0)|0;e=c[a+4>>2]|0;e=lQ(b|0,z|0,e|0,((e|0)<0)<<31>>31|0)|0;b=z;z=b;l=d;return e|0}function RM(){var a=0;do if(!(c[80248]|0)){c[80248]=1;if(!(ib(4,320996)|0)){c[80251]=1;break}else{Ef(321008,0)|0;break}}while(0);a=(c[80251]|0)==0;z=a?0:0;return (a?1e6:1e9)|0}function SM(b){b=b|0;var c=0,d=0;d=TM((JO(b)|0)+1|0)|0;PO(d,b)|0;c=zP(d,310340)|0;if(c|0)a[c>>0]=0;c=zP(d,310344)|0;if(c|0)a[c>>0]=0;c=zP(d,310348)|0;if(c|0)a[c>>0]=0;c=zP(d,310352)|0;if(c|0)a[c>>0]=0;if(wN(d,310358)|0)if(wN(d,310396)|0)if(wN(d,310428)|0)if(!(wN(d,310464)|0))c=310479;else{c=(wN(d,310494)|0)==0;c=c?310509:d}else c=310449;else c=310415;else c=310380;do if(wN(c,310524)|0)if(wN(c,310538)|0)if(wN(c,310550)|0)if(wN(c,310564)|0)if(wN(c,310576)|0)if(wN(c,310590)|0)if(wN(c,310604)|0)if(wN(c,310621)|0)if(wN(c,310644)|0)if(wN(c,310670)|0)if(wN(c,310683)|0)if(wN(c,310699)|0)if(wN(c,310712)|0)if(!(wN(c,310726)|0))c=23;else{if(!(wN(c,310746)|0)){c=24;break}if(!(wN(c,310766)|0)){c=25;break}if(!(wN(c,310783)|0)){c=26;break}if(!(wN(c,310800)|0)){c=424;break}if(!(wN(c,310812)|0)){c=193;break}if(!(wN(c,310825)|0)){c=194;break}if(!(wN(c,310841)|0)){c=27;break}if(!(wN(c,310864)|0)){c=23;break}if(!(wN(c,310877)|0)){c=24;break}if(!(wN(c,310893)|0)){c=425;break}if(!(wN(c,310904)|0)){c=195;break}if(!(wN(c,310923)|0)){c=196;break}if(!(wN(c,310945)|0)){c=197;break}if(!(wN(c,310964)|0)){c=28;break}if(!(wN(c,310993)|0)){c=426;break}if(!(wN(c,311010)|0)){c=29;break}if(!(wN(c,311025)|0)){c=30;break}if(!(wN(c,311040)|0)){c=41;break}if(!(wN(c,311061)|0)){c=31;break}if(!(wN(c,311081)|0)){c=32;break}if(!(wN(c,311101)|0)){c=33;break}if(!(wN(c,311127)|0)){c=6;break}if(!(wN(c,311146)|0)){c=1;break}if(!(wN(c,311158)|0)){c=1;break}if(!(wN(c,311170)|0)){c=1;break}if(!(wN(c,311182)|0)){c=1;break}if(!(wN(c,311194)|0)){c=198;break}if(!(wN(c,311206)|0)){c=34;break}if(!(wN(c,311218)|0)){c=25;break}if(!(wN(c,311230)|0)){c=12;break}if(!(wN(c,311242)|0)){c=35;break}if(!(wN(c,311255)|0)){c=36;break}if(!(wN(c,311268)|0)){c=37;break}if(!(wN(c,311281)|0)){c=38;break}if(!(wN(c,311294)|0)){c=39;break}if(!(wN(c,311307)|0)){c=40;break}if(!(wN(c,311320)|0)){c=41;break}if(!(wN(c,311333)|0)){c=42;break}if(!(wN(c,311346)|0)){c=26;break}if(!(wN(c,311365)|0)){c=27;break}if(!(wN(c,311384)|0)){c=28;break}if(!(wN(c,311403)|0)){c=199;break}if(!(wN(c,311416)|0)){c=200;break}if(!(wN(c,311434)|0)){c=201;break}if(!(wN(c,311452)|0)){c=202;break}if(!(wN(c,311470)|0)){c=203;break}if(!(wN(c,311488)|0)){c=42;break}if(!(wN(c,311508)|0)){c=7;break}if(!(wN(c,310449)|0)){c=427;break}if(!(wN(c,311526)|0)){c=278;break}if(!(wN(c,311541)|0)){c=29;break}if(!(wN(c,311562)|0)){c=30;break}if(!(wN(c,311577)|0)){c=31;break}if(!(wN(c,311595)|0)){c=279;break}if(!(wN(c,311611)|0)){c=32;break}if(!(wN(c,311630)|0)){c=43;break}if(!(wN(c,311644)|0)){c=44;break}if(!(wN(c,311659)|0)){c=428;break}if(!(wN(c,310380)|0)){c=6;break}if(!(wN(c,311670)|0)){c=280;break}if(!(wN(c,310479)|0)){c=204;break}if(!(wN(c,310509)|0)){c=205;break}if(!(wN(c,311686)|0)){c=33;break}if(!(wN(c,311713)|0)){c=281;break}if(!(wN(c,311727)|0)){c=34;break}if(!(wN(c,310415)|0)){c=282;break}if(!(wN(c,311747)|0)){c=283;break}if(!(wN(c,311765)|0)){c=429;break}if(!(wN(c,311777)|0)){c=45;break}if(!(wN(c,311798)|0)){c=206;break}if(!(wN(c,311816)|0)){c=207;break}if(!(wN(c,311834)|0)){c=208;break}if(!(wN(c,311855)|0)){c=35;break}if(!(wN(c,311881)|0)){c=13;break}if(!(wN(c,311904)|0)){c=36;break}if(!(wN(c,311942)|0)){c=430;break}if(!(wN(c,311958)|0)){c=284;break}if(!(wN(c,311973)|0)){c=46;break}if(!(wN(c,311996)|0)){c=37;break}if(!(wN(c,312009)|0)){c=209;break}if(!(wN(c,312023)|0)){c=210;break}if(!(wN(c,312037)|0)){c=5;break}if(!(wN(c,312057)|0)){c=285;break}if(!(wN(c,312077)|0)){c=38;break}if(!(wN(c,312093)|0)){c=39;break}if(!(wN(c,312111)|0)){c=47;break}if(!(wN(c,312127)|0)){c=40;break}if(!(wN(c,312142)|0)){c=286;break}if(!(wN(c,312164)|0)){c=431;break}if(!(wN(c,312180)|0)){c=211;break}if(!(wN(c,312198)|0)){c=212;break}if(!(wN(c,312219)|0)){c=287;break}if(!(wN(c,312237)|0)){c=288;break}if(!(wN(c,312250)|0)){c=5;break}if(!(wN(c,312265)|0)){c=289;break}if(!(wN(c,312279)|0)){c=1;break}if(!(wN(c,312289)|0)){c=1;break}if(!(wN(c,312299)|0)){c=6;break}if(!(wN(c,312321)|0)){c=290;break}if(!(wN(c,312347)|0)){c=291;break}if(!(wN(c,312374)|0)){c=48;break}if(!(wN(c,312387)|0)){c=41;break}if(!(wN(c,312402)|0)){c=14;break}if(!(wN(c,312417)|0)){c=6;break}if(!(wN(c,312441)|0)){c=7;break}if(!(wN(c,312452)|0)){c=213;break}if(!(wN(c,312474)|0)){c=42;break}if(!(wN(c,312496)|0)){c=15;break}if(!(wN(c,312520)|0)){c=7;break}if(!(wN(c,312529)|0)){c=8;break}if(!(wN(c,312537)|0)){c=1;break}if(!(wN(c,312550)|0)){c=2;break}if(!(wN(c,312564)|0)){c=292;break}if(!(wN(c,312576)|0)){c=293;break}if(!(wN(c,312585)|0)){c=294;break}if(!(wN(c,312595)|0)){c=295;break}if(!(wN(c,312607)|0)){c=296;break}if(!(wN(c,312618)|0)){c=297;break}if(!(wN(c,312626)|0)){c=3;break}if(!(wN(c,312638)|0)){c=298;break}if(!(wN(c,312653)|0)){c=299;break}if(!(wN(c,312665)|0)){c=300;break}if(!(wN(c,312679)|0)){c=432;break}if(!(wN(c,312704)|0)){c=301;break}if(!(wN(c,312721)|0)){c=302;break}if(!(wN(c,312737)|0)){c=303;break}if(!(wN(c,312753)|0)){c=433;break}if(!(wN(c,312765)|0)){c=214;break}if(!(wN(c,312777)|0)){c=215;break}if(!(wN(c,312801)|0)){c=1;break}if(!(wN(c,312814)|0)){c=2;break}if(!(wN(c,312828)|0)){c=216;break}if(!(wN(c,312850)|0)){c=217;break}if(!(wN(c,312857)|0)){c=3;break}if(!(wN(c,312873)|0)){c=2;break}if(!(wN(c,312890)|0)){c=1;break}if(!(wN(c,312907)|0)){c=49;break}if(!(wN(c,312923)|0)){c=1;break}if(!(wN(c,312939)|0)){c=2;break}if(!(wN(c,312956)|0)){c=50;break}if(!(wN(c,312970)|0)){c=51;break}if(!(wN(c,312982)|0)){c=43;break}if(!(wN(c,312993)|0)){c=2;break}if(!(wN(c,313006)|0)){c=44;break}if(!(wN(c,313016)|0)){c=2;break}if(!(wN(c,313033)|0)){c=45;break}if(!(wN(c,313045)|0)){c=46;break}if(!(wN(c,313067)|0)){c=47;break}if(!(wN(c,313087)|0)){c=3;break}if(!(wN(c,313100)|0)){c=48;break}if(!(wN(c,313122)|0)){c=49;break}if(!(wN(c,313142)|0)){c=2;break}if(!(wN(c,313159)|0)){c=4;break}if(!(wN(c,313176)|0)){c=5;break}if(!(wN(c,313196)|0)){c=218;break}Gb(24,b|0,c|0)|0;c=0}else c=192;else c=5;else c=15;else c=14;else c=13;else c=3;else c=191;else c=190;else c=189;else c=188;else c=187;else c=423;else c=186;while(0);return c|0}function TM(a){a=a|0;var b=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;x=l;l=l+16|0;o=x;do if(a>>>0<245){k=a>>>0<11?16:a+11&-8;a=k>>>3;n=c[80958]|0;d=n>>>a;if(d&3|0){b=(d&1^1)+a|0;a=323872+(b<<1<<2)|0;d=a+8|0;e=c[d>>2]|0;f=e+8|0;g=c[f>>2]|0;if((a|0)==(g|0))c[80958]=n&~(1<>2]=a;c[d>>2]=g}w=b<<3;c[e+4>>2]=w|3;w=e+w+4|0;c[w>>2]=c[w>>2]|1;w=f;l=x;return w|0}m=c[80960]|0;if(k>>>0>m>>>0){if(d|0){b=2<>>12&16;b=b>>>h;d=b>>>5&8;b=b>>>d;f=b>>>2&4;b=b>>>f;a=b>>>1&2;b=b>>>a;e=b>>>1&1;e=(d|h|f|a|e)+(b>>>e)|0;b=323872+(e<<1<<2)|0;a=b+8|0;f=c[a>>2]|0;h=f+8|0;d=c[h>>2]|0;if((b|0)==(d|0)){a=n&~(1<>2]=b;c[a>>2]=d;a=n}g=(e<<3)-k|0;c[f+4>>2]=k|3;e=f+k|0;c[e+4>>2]=g|1;c[e+g>>2]=g;if(m|0){f=c[80963]|0;b=m>>>3;d=323872+(b<<1<<2)|0;b=1<>2]|0}c[a>>2]=f;c[b+12>>2]=f;c[f+8>>2]=b;c[f+12>>2]=d}c[80960]=g;c[80963]=e;w=h;l=x;return w|0}i=c[80959]|0;if(i){d=(i&0-i)+-1|0;h=d>>>12&16;d=d>>>h;g=d>>>5&8;d=d>>>g;j=d>>>2&4;d=d>>>j;e=d>>>1&2;d=d>>>e;a=d>>>1&1;a=c[324136+((g|h|j|e|a)+(d>>>a)<<2)>>2]|0;d=(c[a+4>>2]&-8)-k|0;e=c[a+16+(((c[a+16>>2]|0)==0&1)<<2)>>2]|0;if(!e){j=a;g=d}else{do{h=(c[e+4>>2]&-8)-k|0;j=h>>>0>>0;d=j?h:d;a=j?e:a;e=c[e+16+(((c[e+16>>2]|0)==0&1)<<2)>>2]|0}while((e|0)!=0);j=a;g=d}h=j+k|0;if(j>>>0>>0){f=c[j+24>>2]|0;b=c[j+12>>2]|0;do if((b|0)==(j|0)){a=j+20|0;b=c[a>>2]|0;if(!b){a=j+16|0;b=c[a>>2]|0;if(!b){d=0;break}}while(1){d=b+20|0;e=c[d>>2]|0;if(e|0){b=e;a=d;continue}d=b+16|0;e=c[d>>2]|0;if(!e)break;else{b=e;a=d}}c[a>>2]=0;d=b}else{d=c[j+8>>2]|0;c[d+12>>2]=b;c[b+8>>2]=d;d=b}while(0);do if(f|0){b=c[j+28>>2]|0;a=324136+(b<<2)|0;if((j|0)==(c[a>>2]|0)){c[a>>2]=d;if(!d){c[80959]=i&~(1<>2]|0)!=(j|0)&1)<<2)>>2]=d;if(!d)break}c[d+24>>2]=f;b=c[j+16>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}b=c[j+20>>2]|0;if(b|0){c[d+20>>2]=b;c[b+24>>2]=d}}while(0);if(g>>>0<16){w=g+k|0;c[j+4>>2]=w|3;w=j+w+4|0;c[w>>2]=c[w>>2]|1}else{c[j+4>>2]=k|3;c[h+4>>2]=g|1;c[h+g>>2]=g;if(m|0){e=c[80963]|0;b=m>>>3;d=323872+(b<<1<<2)|0;b=1<>2]|0}c[a>>2]=e;c[b+12>>2]=e;c[e+8>>2]=b;c[e+12>>2]=d}c[80960]=g;c[80963]=h}w=j+8|0;l=x;return w|0}else n=k}else n=k}else n=k}else if(a>>>0<=4294967231){a=a+11|0;k=a&-8;j=c[80959]|0;if(j){e=0-k|0;a=a>>>8;if(a)if(k>>>0>16777215)i=31;else{n=(a+1048320|0)>>>16&8;v=a<>>16&4;v=v<>>16&2;i=14-(m|n|i)+(v<>>15)|0;i=k>>>(i+7|0)&1|i<<1}else i=0;d=c[324136+(i<<2)>>2]|0;a:do if(!d){d=0;a=0;v=57}else{a=0;h=k<<((i|0)==31?0:25-(i>>>1)|0);g=0;while(1){f=(c[d+4>>2]&-8)-k|0;if(f>>>0>>0)if(!f){a=d;e=0;f=d;v=61;break a}else{a=d;e=f}f=c[d+20>>2]|0;d=c[d+16+(h>>>31<<2)>>2]|0;g=(f|0)==0|(f|0)==(d|0)?g:f;f=(d|0)==0;if(f){d=g;v=57;break}else h=h<<((f^1)&1)}}while(0);if((v|0)==57){if((d|0)==0&(a|0)==0){a=2<>>12&16;n=n>>>h;g=n>>>5&8;n=n>>>g;i=n>>>2&4;n=n>>>i;m=n>>>1&2;n=n>>>m;d=n>>>1&1;a=0;d=c[324136+((g|h|i|m|d)+(n>>>d)<<2)>>2]|0}if(!d){i=a;h=e}else{f=d;v=61}}if((v|0)==61)while(1){v=0;d=(c[f+4>>2]&-8)-k|0;n=d>>>0>>0;d=n?d:e;a=n?f:a;f=c[f+16+(((c[f+16>>2]|0)==0&1)<<2)>>2]|0;if(!f){i=a;h=d;break}else{e=d;v=61}}if((i|0)!=0?h>>>0<((c[80960]|0)-k|0)>>>0:0){g=i+k|0;if(i>>>0>=g>>>0){w=0;l=x;return w|0}f=c[i+24>>2]|0;b=c[i+12>>2]|0;do if((b|0)==(i|0)){a=i+20|0;b=c[a>>2]|0;if(!b){a=i+16|0;b=c[a>>2]|0;if(!b){b=0;break}}while(1){d=b+20|0;e=c[d>>2]|0;if(e|0){b=e;a=d;continue}d=b+16|0;e=c[d>>2]|0;if(!e)break;else{b=e;a=d}}c[a>>2]=0}else{w=c[i+8>>2]|0;c[w+12>>2]=b;c[b+8>>2]=w}while(0);do if(f){a=c[i+28>>2]|0;d=324136+(a<<2)|0;if((i|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){e=j&~(1<>2]|0)!=(i|0)&1)<<2)>>2]=b;if(!b){e=j;break}}c[b+24>>2]=f;a=c[i+16>>2]|0;if(a|0){c[b+16>>2]=a;c[a+24>>2]=b}a=c[i+20>>2]|0;if(a){c[b+20>>2]=a;c[a+24>>2]=b;e=j}else e=j}else e=j;while(0);do if(h>>>0>=16){c[i+4>>2]=k|3;c[g+4>>2]=h|1;c[g+h>>2]=h;b=h>>>3;if(h>>>0<256){d=323872+(b<<1<<2)|0;a=c[80958]|0;b=1<>2]|0}c[a>>2]=g;c[b+12>>2]=g;c[g+8>>2]=b;c[g+12>>2]=d;break}b=h>>>8;if(b)if(h>>>0>16777215)b=31;else{v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;b=14-(u|v|b)+(w<>>15)|0;b=h>>>(b+7|0)&1|b<<1}else b=0;d=324136+(b<<2)|0;c[g+28>>2]=b;a=g+16|0;c[a+4>>2]=0;c[a>>2]=0;a=1<>2]=g;c[g+24>>2]=d;c[g+12>>2]=g;c[g+8>>2]=g;break}a=h<<((b|0)==31?0:25-(b>>>1)|0);d=c[d>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(h|0)){v=97;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=96;break}else{a=a<<1;d=b}}if((v|0)==96){c[e>>2]=g;c[g+24>>2]=d;c[g+12>>2]=g;c[g+8>>2]=g;break}else if((v|0)==97){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=g;c[v>>2]=g;c[g+8>>2]=w;c[g+12>>2]=d;c[g+24>>2]=0;break}}else{w=h+k|0;c[i+4>>2]=w|3;w=i+w+4|0;c[w>>2]=c[w>>2]|1}while(0);w=i+8|0;l=x;return w|0}else n=k}else n=k}else n=-1;while(0);d=c[80960]|0;if(d>>>0>=n>>>0){b=d-n|0;a=c[80963]|0;if(b>>>0>15){w=a+n|0;c[80963]=w;c[80960]=b;c[w+4>>2]=b|1;c[w+b>>2]=b;c[a+4>>2]=n|3}else{c[80960]=0;c[80963]=0;c[a+4>>2]=d|3;w=a+d+4|0;c[w>>2]=c[w>>2]|1}w=a+8|0;l=x;return w|0}h=c[80961]|0;if(h>>>0>n>>>0){u=h-n|0;c[80961]=u;w=c[80964]|0;v=w+n|0;c[80964]=v;c[v+4>>2]=u|1;c[w+4>>2]=n|3;w=w+8|0;l=x;return w|0}if(!(c[81076]|0)){c[81078]=4096;c[81077]=4096;c[81079]=-1;c[81080]=-1;c[81081]=0;c[81069]=0;a=o&-16^1431655768;c[o>>2]=a;c[81076]=a;a=4096}else a=c[81078]|0;i=n+48|0;j=n+47|0;g=a+j|0;f=0-a|0;k=g&f;if(k>>>0<=n>>>0){w=0;l=x;return w|0}a=c[81068]|0;if(a|0?(m=c[81066]|0,o=m+k|0,o>>>0<=m>>>0|o>>>0>a>>>0):0){w=0;l=x;return w|0}b:do if(!(c[81069]&4)){d=c[80964]|0;c:do if(d){e=324280;while(1){a=c[e>>2]|0;if(a>>>0<=d>>>0?(r=e+4|0,(a+(c[r>>2]|0)|0)>>>0>d>>>0):0)break;a=c[e+8>>2]|0;if(!a){v=118;break c}else e=a}b=g-h&f;if(b>>>0<2147483647){a=GQ(b|0)|0;if((a|0)==((c[e>>2]|0)+(c[r>>2]|0)|0)){if((a|0)!=(-1|0)){h=b;g=a;v=135;break b}}else{e=a;v=126}}else b=0}else v=118;while(0);do if((v|0)==118){d=GQ(0)|0;if((d|0)!=(-1|0)?(b=d,p=c[81077]|0,q=p+-1|0,b=((q&b|0)==0?0:(q+b&0-p)-b|0)+k|0,p=c[81066]|0,q=b+p|0,b>>>0>n>>>0&b>>>0<2147483647):0){r=c[81068]|0;if(r|0?q>>>0<=p>>>0|q>>>0>r>>>0:0){b=0;break}a=GQ(b|0)|0;if((a|0)==(d|0)){h=b;g=d;v=135;break b}else{e=a;v=126}}else b=0}while(0);do if((v|0)==126){d=0-b|0;if(!(i>>>0>b>>>0&(b>>>0<2147483647&(e|0)!=(-1|0))))if((e|0)==(-1|0)){b=0;break}else{h=b;g=e;v=135;break b}a=c[81078]|0;a=j-b+a&0-a;if(a>>>0>=2147483647){h=b;g=e;v=135;break b}if((GQ(a|0)|0)==(-1|0)){GQ(d|0)|0;b=0;break}else{h=a+b|0;g=e;v=135;break b}}while(0);c[81069]=c[81069]|4;v=133}else{b=0;v=133}while(0);if(((v|0)==133?k>>>0<2147483647:0)?(u=GQ(k|0)|0,r=GQ(0)|0,s=r-u|0,t=s>>>0>(n+40|0)>>>0,!((u|0)==(-1|0)|t^1|u>>>0>>0&((u|0)!=(-1|0)&(r|0)!=(-1|0))^1)):0){h=t?s:b;g=u;v=135}if((v|0)==135){b=(c[81066]|0)+h|0;c[81066]=b;if(b>>>0>(c[81067]|0)>>>0)c[81067]=b;j=c[80964]|0;do if(j){b=324280;while(1){a=c[b>>2]|0;d=b+4|0;e=c[d>>2]|0;if((g|0)==(a+e|0)){v=145;break}f=c[b+8>>2]|0;if(!f)break;else b=f}if(((v|0)==145?(c[b+12>>2]&8|0)==0:0)?j>>>0>>0&j>>>0>=a>>>0:0){c[d>>2]=e+h;w=j+8|0;w=(w&7|0)==0?0:0-w&7;v=j+w|0;w=(c[80961]|0)+(h-w)|0;c[80964]=v;c[80961]=w;c[v+4>>2]=w|1;c[v+w+4>>2]=40;c[80965]=c[81080];break}if(g>>>0<(c[80962]|0)>>>0)c[80962]=g;d=g+h|0;b=324280;while(1){if((c[b>>2]|0)==(d|0)){v=153;break}a=c[b+8>>2]|0;if(!a)break;else b=a}if((v|0)==153?(c[b+12>>2]&8|0)==0:0){c[b>>2]=g;m=b+4|0;c[m>>2]=(c[m>>2]|0)+h;m=g+8|0;m=g+((m&7|0)==0?0:0-m&7)|0;b=d+8|0;b=d+((b&7|0)==0?0:0-b&7)|0;k=m+n|0;i=b-m-n|0;c[m+4>>2]=n|3;do if((b|0)!=(j|0)){if((b|0)==(c[80963]|0)){w=(c[80960]|0)+i|0;c[80960]=w;c[80963]=k;c[k+4>>2]=w|1;c[k+w>>2]=w;break}a=c[b+4>>2]|0;if((a&3|0)==1){h=a&-8;e=a>>>3;d:do if(a>>>0<256){a=c[b+8>>2]|0;d=c[b+12>>2]|0;if((d|0)==(a|0)){c[80958]=c[80958]&~(1<>2]=d;c[d+8>>2]=a;break}}else{g=c[b+24>>2]|0;a=c[b+12>>2]|0;do if((a|0)==(b|0)){e=b+16|0;d=e+4|0;a=c[d>>2]|0;if(!a){a=c[e>>2]|0;if(!a){a=0;break}else d=e}while(1){e=a+20|0;f=c[e>>2]|0;if(f|0){a=f;d=e;continue}e=a+16|0;f=c[e>>2]|0;if(!f)break;else{a=f;d=e}}c[d>>2]=0}else{w=c[b+8>>2]|0;c[w+12>>2]=a;c[a+8>>2]=w}while(0);if(!g)break;d=c[b+28>>2]|0;e=324136+(d<<2)|0;do if((b|0)!=(c[e>>2]|0)){c[g+16+(((c[g+16>>2]|0)!=(b|0)&1)<<2)>>2]=a;if(!a)break d}else{c[e>>2]=a;if(a|0)break;c[80959]=c[80959]&~(1<>2]=g;d=b+16|0;e=c[d>>2]|0;if(e|0){c[a+16>>2]=e;c[e+24>>2]=a}d=c[d+4>>2]|0;if(!d)break;c[a+20>>2]=d;c[d+24>>2]=a}while(0);b=b+h|0;f=h+i|0}else f=i;b=b+4|0;c[b>>2]=c[b>>2]&-2;c[k+4>>2]=f|1;c[k+f>>2]=f;b=f>>>3;if(f>>>0<256){d=323872+(b<<1<<2)|0;a=c[80958]|0;b=1<>2]|0}c[a>>2]=k;c[b+12>>2]=k;c[k+8>>2]=b;c[k+12>>2]=d;break}b=f>>>8;do if(!b)b=0;else{if(f>>>0>16777215){b=31;break}v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;b=14-(u|v|b)+(w<>>15)|0;b=f>>>(b+7|0)&1|b<<1}while(0);e=324136+(b<<2)|0;c[k+28>>2]=b;a=k+16|0;c[a+4>>2]=0;c[a>>2]=0;a=c[80959]|0;d=1<>2]=k;c[k+24>>2]=e;c[k+12>>2]=k;c[k+8>>2]=k;break}a=f<<((b|0)==31?0:25-(b>>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(f|0)){v=194;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=193;break}else{a=a<<1;d=b}}if((v|0)==193){c[e>>2]=k;c[k+24>>2]=d;c[k+12>>2]=k;c[k+8>>2]=k;break}else if((v|0)==194){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=k;c[v>>2]=k;c[k+8>>2]=w;c[k+12>>2]=d;c[k+24>>2]=0;break}}else{w=(c[80961]|0)+i|0;c[80961]=w;c[80964]=k;c[k+4>>2]=w|1}while(0);w=m+8|0;l=x;return w|0}b=324280;while(1){a=c[b>>2]|0;if(a>>>0<=j>>>0?(w=a+(c[b+4>>2]|0)|0,w>>>0>j>>>0):0)break;b=c[b+8>>2]|0}f=w+-47|0;a=f+8|0;a=f+((a&7|0)==0?0:0-a&7)|0;f=j+16|0;a=a>>>0>>0?j:a;b=a+8|0;d=g+8|0;d=(d&7|0)==0?0:0-d&7;v=g+d|0;d=h+-40-d|0;c[80964]=v;c[80961]=d;c[v+4>>2]=d|1;c[v+d+4>>2]=40;c[80965]=c[81080];d=a+4|0;c[d>>2]=27;c[b>>2]=c[81070];c[b+4>>2]=c[81071];c[b+8>>2]=c[81072];c[b+12>>2]=c[81073];c[81070]=g;c[81071]=h;c[81073]=0;c[81072]=b;b=a+24|0;do{v=b;b=b+4|0;c[b>>2]=7}while((v+8|0)>>>0>>0);if((a|0)!=(j|0)){g=a-j|0;c[d>>2]=c[d>>2]&-2;c[j+4>>2]=g|1;c[a>>2]=g;b=g>>>3;if(g>>>0<256){d=323872+(b<<1<<2)|0;a=c[80958]|0;b=1<>2]|0}c[a>>2]=j;c[b+12>>2]=j;c[j+8>>2]=b;c[j+12>>2]=d;break}b=g>>>8;if(b)if(g>>>0>16777215)d=31;else{v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;d=14-(u|v|d)+(w<>>15)|0;d=g>>>(d+7|0)&1|d<<1}else d=0;e=324136+(d<<2)|0;c[j+28>>2]=d;c[j+20>>2]=0;c[f>>2]=0;b=c[80959]|0;a=1<>2]=j;c[j+24>>2]=e;c[j+12>>2]=j;c[j+8>>2]=j;break}a=g<<((d|0)==31?0:25-(d>>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(g|0)){v=216;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=215;break}else{a=a<<1;d=b}}if((v|0)==215){c[e>>2]=j;c[j+24>>2]=d;c[j+12>>2]=j;c[j+8>>2]=j;break}else if((v|0)==216){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=j;c[v>>2]=j;c[j+8>>2]=w;c[j+12>>2]=d;c[j+24>>2]=0;break}}}else{w=c[80962]|0;if((w|0)==0|g>>>0>>0)c[80962]=g;c[81070]=g;c[81071]=h;c[81073]=0;c[80967]=c[81076];c[80966]=-1;b=0;do{w=323872+(b<<1<<2)|0;c[w+12>>2]=w;c[w+8>>2]=w;b=b+1|0}while((b|0)!=32);w=g+8|0;w=(w&7|0)==0?0:0-w&7;v=g+w|0;w=h+-40-w|0;c[80964]=v;c[80961]=w;c[v+4>>2]=w|1;c[v+w+4>>2]=40;c[80965]=c[81080]}while(0);b=c[80961]|0;if(b>>>0>n>>>0){u=b-n|0;c[80961]=u;w=c[80964]|0;v=w+n|0;c[80964]=v;c[v+4>>2]=u|1;c[w+4>>2]=n|3;w=w+8|0;l=x;return w|0}}c[8240]=12;w=0;l=x;return w|0}function UM(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)return;d=a+-8|0;f=c[80962]|0;a=c[a+-4>>2]|0;b=a&-8;j=d+b|0;do if(!(a&1)){e=c[d>>2]|0;if(!(a&3))return;h=d+(0-e)|0;g=e+b|0;if(h>>>0>>0)return;if((h|0)==(c[80963]|0)){a=j+4|0;b=c[a>>2]|0;if((b&3|0)!=3){i=h;b=g;break}c[80960]=g;c[a>>2]=b&-2;c[h+4>>2]=g|1;c[h+g>>2]=g;return}d=e>>>3;if(e>>>0<256){a=c[h+8>>2]|0;b=c[h+12>>2]|0;if((b|0)==(a|0)){c[80958]=c[80958]&~(1<>2]=b;c[b+8>>2]=a;i=h;b=g;break}}f=c[h+24>>2]|0;a=c[h+12>>2]|0;do if((a|0)==(h|0)){d=h+16|0;b=d+4|0;a=c[b>>2]|0;if(!a){a=c[d>>2]|0;if(!a){a=0;break}else b=d}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}}c[b>>2]=0}else{i=c[h+8>>2]|0;c[i+12>>2]=a;c[a+8>>2]=i}while(0);if(f){b=c[h+28>>2]|0;d=324136+(b<<2)|0;if((h|0)==(c[d>>2]|0)){c[d>>2]=a;if(!a){c[80959]=c[80959]&~(1<>2]|0)!=(h|0)&1)<<2)>>2]=a;if(!a){i=h;b=g;break}}c[a+24>>2]=f;b=h+16|0;d=c[b>>2]|0;if(d|0){c[a+16>>2]=d;c[d+24>>2]=a}b=c[b+4>>2]|0;if(b){c[a+20>>2]=b;c[b+24>>2]=a;i=h;b=g}else{i=h;b=g}}else{i=h;b=g}}else{i=d;h=d}while(0);if(h>>>0>=j>>>0)return;a=j+4|0;e=c[a>>2]|0;if(!(e&1))return;if(!(e&2)){a=c[80963]|0;if((j|0)==(c[80964]|0)){j=(c[80961]|0)+b|0;c[80961]=j;c[80964]=i;c[i+4>>2]=j|1;if((i|0)!=(a|0))return;c[80963]=0;c[80960]=0;return}if((j|0)==(a|0)){j=(c[80960]|0)+b|0;c[80960]=j;c[80963]=h;c[i+4>>2]=j|1;c[h+j>>2]=j;return}f=(e&-8)+b|0;d=e>>>3;do if(e>>>0<256){b=c[j+8>>2]|0;a=c[j+12>>2]|0;if((a|0)==(b|0)){c[80958]=c[80958]&~(1<>2]=a;c[a+8>>2]=b;break}}else{g=c[j+24>>2]|0;a=c[j+12>>2]|0;do if((a|0)==(j|0)){d=j+16|0;b=d+4|0;a=c[b>>2]|0;if(!a){a=c[d>>2]|0;if(!a){d=0;break}else b=d}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}}c[b>>2]=0;d=a}else{d=c[j+8>>2]|0;c[d+12>>2]=a;c[a+8>>2]=d;d=a}while(0);if(g|0){a=c[j+28>>2]|0;b=324136+(a<<2)|0;if((j|0)==(c[b>>2]|0)){c[b>>2]=d;if(!d){c[80959]=c[80959]&~(1<>2]|0)!=(j|0)&1)<<2)>>2]=d;if(!d)break}c[d+24>>2]=g;a=j+16|0;b=c[a>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}a=c[a+4>>2]|0;if(a|0){c[d+20>>2]=a;c[a+24>>2]=d}}}while(0);c[i+4>>2]=f|1;c[h+f>>2]=f;if((i|0)==(c[80963]|0)){c[80960]=f;return}}else{c[a>>2]=e&-2;c[i+4>>2]=b|1;c[h+b>>2]=b;f=b}a=f>>>3;if(f>>>0<256){d=323872+(a<<1<<2)|0;b=c[80958]|0;a=1<>2]|0}c[b>>2]=i;c[a+12>>2]=i;c[i+8>>2]=a;c[i+12>>2]=d;return}a=f>>>8;if(a)if(f>>>0>16777215)a=31;else{h=(a+1048320|0)>>>16&8;j=a<>>16&4;j=j<>>16&2;a=14-(g|h|a)+(j<>>15)|0;a=f>>>(a+7|0)&1|a<<1}else a=0;e=324136+(a<<2)|0;c[i+28>>2]=a;c[i+20>>2]=0;c[i+16>>2]=0;b=c[80959]|0;d=1<>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(f|0)){a=73;break}e=d+16+(b>>>31<<2)|0;a=c[e>>2]|0;if(!a){a=72;break}else{b=b<<1;d=a}}if((a|0)==72){c[e>>2]=i;c[i+24>>2]=d;c[i+12>>2]=i;c[i+8>>2]=i;break}else if((a|0)==73){h=d+8|0;j=c[h>>2]|0;c[j+12>>2]=i;c[h>>2]=i;c[i+8>>2]=j;c[i+12>>2]=d;c[i+24>>2]=0;break}}else{c[80959]=b|d;c[e>>2]=i;c[i+24>>2]=e;c[i+12>>2]=i;c[i+8>>2]=i}while(0);j=(c[80966]|0)+-1|0;c[80966]=j;if(!j)a=324288;else return;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[80966]=-1;return}function VM(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;if(!a){a=TM(b)|0;return a|0}if(b>>>0>4294967231){c[8240]=12;a=0;return a|0}m=b>>>0<11?16:b+11&-8;l=a+-8|0;n=a+-4|0;k=c[n>>2]|0;d=k&-8;h=l+d|0;do if(!(k&3)){if(!(m>>>0<256|d>>>0<(m|4)>>>0)?(d-m|0)>>>0<=c[81078]<<1>>>0:0)return a|0}else{if(d>>>0>=m>>>0){d=d-m|0;if(d>>>0<=15)return a|0;l=l+m|0;c[n>>2]=k&1|m|2;c[l+4>>2]=d|3;n=l+d+4|0;c[n>>2]=c[n>>2]|1;WM(l,d);return a|0}if((h|0)==(c[80964]|0)){j=(c[80961]|0)+d|0;e=j-m|0;d=l+m|0;if(j>>>0<=m>>>0)break;c[n>>2]=k&1|m|2;c[d+4>>2]=e|1;c[80964]=d;c[80961]=e;return a|0}if((h|0)==(c[80963]|0)){f=(c[80960]|0)+d|0;if(f>>>0>>0)break;d=f-m|0;e=k&1;if(d>>>0>15){l=l+m|0;k=l+d|0;c[n>>2]=e|m|2;c[l+4>>2]=d|1;c[k>>2]=d;e=k+4|0;c[e>>2]=c[e>>2]&-2;e=l}else{c[n>>2]=e|f|2;e=l+f+4|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[80960]=d;c[80963]=e;return a|0}e=c[h+4>>2]|0;if((e&2|0)==0?(j=(e&-8)+d|0,j>>>0>=m>>>0):0){i=j-m|0;f=e>>>3;do if(e>>>0<256){e=c[h+8>>2]|0;d=c[h+12>>2]|0;if((d|0)==(e|0)){c[80958]=c[80958]&~(1<>2]=d;c[d+8>>2]=e;break}}else{g=c[h+24>>2]|0;d=c[h+12>>2]|0;do if((d|0)==(h|0)){f=h+16|0;e=f+4|0;d=c[e>>2]|0;if(!d){d=c[f>>2]|0;if(!d){f=0;break}else e=f}while(1){f=d+20|0;b=c[f>>2]|0;if(b|0){d=b;e=f;continue}f=d+16|0;b=c[f>>2]|0;if(!b)break;else{d=b;e=f}}c[e>>2]=0;f=d}else{f=c[h+8>>2]|0;c[f+12>>2]=d;c[d+8>>2]=f;f=d}while(0);if(g|0){d=c[h+28>>2]|0;e=324136+(d<<2)|0;if((h|0)==(c[e>>2]|0)){c[e>>2]=f;if(!f){c[80959]=c[80959]&~(1<>2]|0)!=(h|0)&1)<<2)>>2]=f;if(!f)break}c[f+24>>2]=g;d=h+16|0;e=c[d>>2]|0;if(e|0){c[f+16>>2]=e;c[e+24>>2]=f}d=c[d+4>>2]|0;if(d|0){c[f+20>>2]=d;c[d+24>>2]=f}}}while(0);d=k&1;if(i>>>0<16){c[n>>2]=j|d|2;n=l+j+4|0;c[n>>2]=c[n>>2]|1;return a|0}else{l=l+m|0;c[n>>2]=d|m|2;c[l+4>>2]=i|3;n=l+i+4|0;c[n>>2]=c[n>>2]|1;WM(l,i);return a|0}}}while(0);d=TM(b)|0;if(!d){a=0;return a|0}n=c[n>>2]|0;n=(n&-8)-((n&3|0)==0?8:4)|0;CQ(d|0,a|0,(n>>>0>>0?n:b)|0)|0;UM(a);a=d;return a|0}function WM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=a+b|0;d=c[a+4>>2]|0;do if(!(d&1)){e=c[a>>2]|0;if(!(d&3))return;g=a+(0-e)|0;h=e+b|0;if((g|0)==(c[80963]|0)){a=j+4|0;d=c[a>>2]|0;if((d&3|0)!=3){i=g;d=h;break}c[80960]=h;c[a>>2]=d&-2;c[g+4>>2]=h|1;c[g+h>>2]=h;return}b=e>>>3;if(e>>>0<256){a=c[g+8>>2]|0;d=c[g+12>>2]|0;if((d|0)==(a|0)){c[80958]=c[80958]&~(1<>2]=d;c[d+8>>2]=a;i=g;d=h;break}}f=c[g+24>>2]|0;a=c[g+12>>2]|0;do if((a|0)==(g|0)){b=g+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){a=0;break}else d=b}while(1){b=a+20|0;e=c[b>>2]|0;if(e|0){a=e;d=b;continue}b=a+16|0;e=c[b>>2]|0;if(!e)break;else{a=e;d=b}}c[d>>2]=0}else{i=c[g+8>>2]|0;c[i+12>>2]=a;c[a+8>>2]=i}while(0);if(f){d=c[g+28>>2]|0;b=324136+(d<<2)|0;if((g|0)==(c[b>>2]|0)){c[b>>2]=a;if(!a){c[80959]=c[80959]&~(1<>2]|0)!=(g|0)&1)<<2)>>2]=a;if(!a){i=g;d=h;break}}c[a+24>>2]=f;d=g+16|0;b=c[d>>2]|0;if(b|0){c[a+16>>2]=b;c[b+24>>2]=a}d=c[d+4>>2]|0;if(d){c[a+20>>2]=d;c[d+24>>2]=a;i=g;d=h}else{i=g;d=h}}else{i=g;d=h}}else{i=a;d=b}while(0);a=j+4|0;e=c[a>>2]|0;if(!(e&2)){a=c[80963]|0;if((j|0)==(c[80964]|0)){j=(c[80961]|0)+d|0;c[80961]=j;c[80964]=i;c[i+4>>2]=j|1;if((i|0)!=(a|0))return;c[80963]=0;c[80960]=0;return}if((j|0)==(a|0)){j=(c[80960]|0)+d|0;c[80960]=j;c[80963]=i;c[i+4>>2]=j|1;c[i+j>>2]=j;return}g=(e&-8)+d|0;b=e>>>3;do if(e>>>0<256){d=c[j+8>>2]|0;a=c[j+12>>2]|0;if((a|0)==(d|0)){c[80958]=c[80958]&~(1<>2]=a;c[a+8>>2]=d;break}}else{f=c[j+24>>2]|0;a=c[j+12>>2]|0;do if((a|0)==(j|0)){b=j+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){b=0;break}else d=b}while(1){b=a+20|0;e=c[b>>2]|0;if(e|0){a=e;d=b;continue}b=a+16|0;e=c[b>>2]|0;if(!e)break;else{a=e;d=b}}c[d>>2]=0;b=a}else{b=c[j+8>>2]|0;c[b+12>>2]=a;c[a+8>>2]=b;b=a}while(0);if(f|0){a=c[j+28>>2]|0;d=324136+(a<<2)|0;if((j|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){c[80959]=c[80959]&~(1<>2]|0)!=(j|0)&1)<<2)>>2]=b;if(!b)break}c[b+24>>2]=f;a=j+16|0;d=c[a>>2]|0;if(d|0){c[b+16>>2]=d;c[d+24>>2]=b}a=c[a+4>>2]|0;if(a|0){c[b+20>>2]=a;c[a+24>>2]=b}}}while(0);c[i+4>>2]=g|1;c[i+g>>2]=g;if((i|0)==(c[80963]|0)){c[80960]=g;return}else d=g}else{c[a>>2]=e&-2;c[i+4>>2]=d|1;c[i+d>>2]=d}a=d>>>3;if(d>>>0<256){b=323872+(a<<1<<2)|0;d=c[80958]|0;a=1<>2]|0}c[d>>2]=i;c[a+12>>2]=i;c[i+8>>2]=a;c[i+12>>2]=b;return}a=d>>>8;if(a)if(d>>>0>16777215)a=31;else{h=(a+1048320|0)>>>16&8;j=a<>>16&4;j=j<>>16&2;a=14-(g|h|a)+(j<>>15)|0;a=d>>>(a+7|0)&1|a<<1}else a=0;f=324136+(a<<2)|0;c[i+28>>2]=a;c[i+20>>2]=0;c[i+16>>2]=0;b=c[80959]|0;e=1<>2]=i;c[i+24>>2]=f;c[i+12>>2]=i;c[i+8>>2]=i;return}b=d<<((a|0)==31?0:25-(a>>>1)|0);e=c[f>>2]|0;while(1){if((c[e+4>>2]&-8|0)==(d|0)){a=69;break}f=e+16+(b>>>31<<2)|0;a=c[f>>2]|0;if(!a){a=68;break}else{b=b<<1;e=a}}if((a|0)==68){c[f>>2]=i;c[i+24>>2]=e;c[i+12>>2]=i;c[i+8>>2]=i;return}else if((a|0)==69){h=e+8|0;j=c[h>>2]|0;c[j+12>>2]=i;c[h>>2]=i;c[i+8>>2]=j;c[i+12>>2]=e;c[i+24>>2]=0;return}}function XM(){return 324328}function YM(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=bN(c[a+60>>2]|0)|0;a=$M(Ya(6,d|0)|0)|0;l=b;return a|0}function ZM(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,m=0,n=0,o=0,p=0;n=l;l=l+48|0;k=n+16|0;g=n;f=n+32|0;i=a+28|0;e=c[i>>2]|0;c[f>>2]=e;j=a+20|0;e=(c[j>>2]|0)-e|0;c[f+4>>2]=e;c[f+8>>2]=b;c[f+12>>2]=d;e=e+d|0;h=a+60|0;c[g>>2]=c[h>>2];c[g+4>>2]=f;c[g+8>>2]=2;g=$M(Na(146,g|0)|0)|0;a:do if((e|0)!=(g|0)){b=2;while(1){if((g|0)<0)break;e=e-g|0;p=c[f+4>>2]|0;o=g>>>0>p>>>0;f=o?f+8|0:f;b=(o<<31>>31)+b|0;p=g-(o?p:0)|0;c[f>>2]=(c[f>>2]|0)+p;o=f+4|0;c[o>>2]=(c[o>>2]|0)-p;c[k>>2]=c[h>>2];c[k+4>>2]=f;c[k+8>>2]=b;g=$M(Na(146,k|0)|0)|0;if((e|0)==(g|0)){m=3;break a}}c[a+16>>2]=0;c[i>>2]=0;c[j>>2]=0;c[a>>2]=c[a>>2]|32;if((b|0)==2)d=0;else d=d-(c[f+4>>2]|0)|0}else m=3;while(0);if((m|0)==3){p=c[a+44>>2]|0;c[a+16>>2]=p+(c[a+48>>2]|0);c[i>>2]=p;c[j>>2]=p}l=n;return d|0}function _M(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=l;l=l+32|0;g=f;e=f+20|0;c[g>>2]=c[a+60>>2];c[g+4>>2]=0;c[g+8>>2]=b;c[g+12>>2]=e;c[g+16>>2]=d;if(($M(La(140,g|0)|0)|0)<0){c[e>>2]=-1;a=-1}else a=c[e>>2]|0;l=f;return a|0}function $M(a){a=a|0;if(a>>>0>4294963200){c[8240]=0-a;a=-1}return a|0}function aN(){return 32960}function bN(a){a=a|0;return a|0}function cN(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,m=0;k=l;l=l+32|0;f=k;i=k+16|0;c[i>>2]=d;g=i+4|0;j=b+48|0;m=c[j>>2]|0;c[g>>2]=e-((m|0)!=0&1);h=b+44|0;c[i+8>>2]=c[h>>2];c[i+12>>2]=m;c[f>>2]=c[b+60>>2];c[f+4>>2]=i;c[f+8>>2]=2;f=$M(Ma(145,f|0)|0)|0;if((f|0)>=1){i=c[g>>2]|0;if(f>>>0>i>>>0){g=c[h>>2]|0;h=b+4|0;c[h>>2]=g;c[b+8>>2]=g+(f-i);if(!(c[j>>2]|0))f=e;else{c[h>>2]=g+1;a[d+(e+-1)>>0]=a[g>>0]|0;f=e}}}else c[b>>2]=c[b>>2]|f&48^16;l=k;return f|0}function dN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=l;l=l+32|0;f=g;c[b+36>>2]=1;if((c[b>>2]&64|0)==0?(c[f>>2]=c[b+60>>2],c[f+4>>2]=21523,c[f+8>>2]=g+16,Xa(54,f|0)|0):0)a[b+75>>0]=-1;f=ZM(b,d,e)|0;l=g;return f|0}function eN(a){a=a|0;var b=0;b=(fN(a)|0)==0;return (b?a:a|32)|0}function fN(a){a=a|0;return (a+-65|0)>>>0<26|0}function gN(a){a=a|0;var b=0,d=0;b=l;l=l+128|0;d=b;c[d>>2]=0;c[d+4>>2]=a;c[d+44>>2]=a;c[d+8>>2]=(a|0)<0?-1:a+2147483647|0;c[d+76>>2]=-1;hN(d,0);a=iN(d,16,1,-2147483648,0)|0;l=b;return a|0}function hN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a+104>>2]=b;d=c[a+8>>2]|0;e=c[a+4>>2]|0;f=d-e|0;c[a+108>>2]=f;c[a+100>>2]=(b|0)!=0&(f|0)>(b|0)?e+b|0:d;return}function iN(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;a:do if(e>>>0>36){c[8240]=22;h=0;g=0}else{r=b+4|0;q=b+100|0;do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=jN(b)|0}while((kN(i)|0)!=0);b:do switch(i|0){case 43:case 45:{i=((i|0)==45)<<31>>31;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;p=i;i=d[j>>0]|0;break b}else{p=i;i=jN(b)|0;break b}}default:p=0}while(0);j=(e|0)==0;do if((e|16|0)==16&(i|0)==48){i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=jN(b)|0;if((i|32|0)!=120)if(j){e=8;n=46;break}else{n=32;break}i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=jN(b)|0;if((d[313308+i>>0]|0)>15){g=(c[q>>2]|0)!=0;if(g)c[r>>2]=(c[r>>2]|0)+-1;if(!f){hN(b,0);h=0;g=0;break a}if(!g){h=0;g=0;break a}c[r>>2]=(c[r>>2]|0)+-1;h=0;g=0;break a}else{e=16;n=46}}else{e=j?10:e;if((d[313308+i>>0]|0)>>>0>>0)n=32;else{if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;hN(b,0);c[8240]=22;h=0;g=0;break a}}while(0);c:do if((n|0)==32)if((e|0)==10){e=i+-48|0;if(e>>>0<10){i=0;j=e;do{i=(i*10|0)+j|0;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;e=d[e>>0]|0}else e=jN(b)|0;j=e+-48|0}while(j>>>0<10&i>>>0<429496729);f=0}else{e=i;i=0;f=0}k=e+-48|0;if(k>>>0<10){j=e;do{e=rQ(i|0,f|0,10,0)|0;l=z;m=((k|0)<0)<<31>>31;o=~m;if(l>>>0>o>>>0|(l|0)==(o|0)&e>>>0>~k>>>0){e=10;n=72;break c}i=lQ(e|0,l|0,k|0,m|0)|0;f=z;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=jN(b)|0;k=j+-48|0}while(k>>>0<10&(f>>>0<429496729|(f|0)==429496729&i>>>0<2576980378));if(k>>>0>9){j=p;e=f}else{e=10;n=72}}else{j=p;e=f}}else n=46;while(0);d:do if((n|0)==46){if(!(e+-1&e)){n=a[313564+((e*23|0)>>>5&7)>>0]|0;f=a[313308+i>>0]|0;j=f&255;if(j>>>0>>0){i=0;k=j;do{i=k|i<>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;j=d[j>>0]|0}else j=jN(b)|0;f=a[313308+j>>0]|0;k=f&255}while(i>>>0<134217728&k>>>0>>0);k=0}else{j=i;k=0;i=0}l=wQ(-1,-1,n|0)|0;m=z;if((f&255)>>>0>=e>>>0|(k>>>0>m>>>0|(k|0)==(m|0)&i>>>0>l>>>0)){f=k;n=72;break}else j=k;while(1){i=xQ(i|0,j|0,n|0)|0;k=z;i=f&255|i;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;j=d[j>>0]|0}else j=jN(b)|0;f=a[313308+j>>0]|0;if((f&255)>>>0>=e>>>0|(k>>>0>m>>>0|(k|0)==(m|0)&i>>>0>l>>>0)){f=k;n=72;break d}else j=k}}f=a[313308+i>>0]|0;j=f&255;if(j>>>0>>0){i=0;k=j;do{i=k+(O(i,e)|0)|0;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;j=d[j>>0]|0}else j=jN(b)|0;f=a[313308+j>>0]|0;k=f&255}while(i>>>0<119304647&k>>>0>>0);k=0}else{j=i;i=0;k=0}if((f&255)>>>0>>0){n=tQ(-1,-1,e|0,0)|0;o=z;m=k;while(1){if(m>>>0>o>>>0|(m|0)==(o|0)&i>>>0>n>>>0){f=m;n=72;break d}k=rQ(i|0,m|0,e|0,0)|0;l=z;f=f&255;if(l>>>0>4294967295|(l|0)==-1&k>>>0>~f>>>0){f=m;n=72;break d}i=lQ(f|0,0,k|0,l|0)|0;k=z;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;j=d[j>>0]|0}else j=jN(b)|0;f=a[313308+j>>0]|0;if((f&255)>>>0>=e>>>0){f=k;n=72;break}else m=k}}else{f=k;n=72}}while(0);if((n|0)==72)if((d[313308+j>>0]|0)>>>0>>0){do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=jN(b)|0}while((d[313308+i>>0]|0)>>>0>>0);c[8240]=34;j=(g&1|0)==0&0==0?p:0;e=h;i=g}else{j=p;e=f}if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;if(!(e>>>0>>0|(e|0)==(h|0)&i>>>0>>0)){if(!((g&1|0)!=0|0!=0|(j|0)!=0)){c[8240]=34;g=lQ(g|0,h|0,-1,-1)|0;h=z;break}if(e>>>0>h>>>0|(e|0)==(h|0)&i>>>0>g>>>0){c[8240]=34;break}}g=((j|0)<0)<<31>>31;g=mQ(i^j|0,e^g|0,j|0,g|0)|0;h=z}while(0);z=h;return g|0}function jN(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=b+104|0;j=c[f>>2]|0;if((j|0)!=0?(c[b+108>>2]|0)>=(j|0):0)k=4;else{e=lN(b)|0;if((e|0)>=0){g=c[f>>2]|0;f=b+8|0;if(g){i=c[f>>2]|0;f=c[b+4>>2]|0;h=b+108|0;g=g-(c[h>>2]|0)|0;j=i;if((i-f|0)<(g|0)){i=j;g=j}else{i=f+(g+-1)|0;g=j}}else{g=c[f>>2]|0;h=b+108|0;i=g;f=c[b+4>>2]|0}c[b+100>>2]=i;if(g|0)c[h>>2]=g+1-f+(c[h>>2]|0);f=f+-1|0;if((d[f>>0]|0|0)!=(e|0))a[f>>0]=e}else k=4}if((k|0)==4){c[b+100>>2]=0;e=-1}return e|0}function kN(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function lN(a){a=a|0;var b=0,e=0;e=l;l=l+16|0;b=e;if((mN(a)|0)==0?(ig[c[a+32>>2]&63](a,b,1)|0)==1:0)a=d[b>>0]|0;else a=-1;l=e;return a|0}function mN(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=b+20|0;e=b+28|0;if((c[d>>2]|0)>>>0>(c[e>>2]|0)>>>0)ig[c[b+36>>2]&63](b,0,0)|0;c[b+16>>2]=0;c[e>>2]=0;c[d>>2]=0;d=c[b>>2]|0;if(!(d&4)){e=(c[b+44>>2]|0)+(c[b+48>>2]|0)|0;c[b+8>>2]=e;c[b+4>>2]=e;d=d<<27>>31}else{c[b>>2]=d|32;d=-1}return d|0}function nN(a){a=a|0;a=gN(a)|0;return a|0}function oN(a){a=a|0;var b=0;b=(pN(a)|0)==0;return (b?a:a&95)|0}function pN(a){a=a|0;return (a+-97|0)>>>0<26|0}function qN(a,b){a=+a;b=+b;var d=0,e=0;h[j>>3]=a;e=c[j>>2]|0;d=c[j+4>>2]|0;h[j>>3]=b;d=c[j+4>>2]&-2147483648|d&2147483647;c[j>>2]=e;c[j+4>>2]=d;return +(+h[j>>3])}function rN(a){a=+a;var b=0;h[j>>3]=a;b=c[j+4>>2]&2147483647;c[j>>2]=c[j>>2];c[j+4>>2]=b;a=+h[j>>3];do if(b>>>0<1072049730)if(b>>>0<1045430272)a=1.0;else{a=+tN(a);a=a*a/((a+1.0)*2.0)+1.0}else if(b>>>0<1082535490){a=+L(+a);a=(a+1.0/a)*.5;break}else{a=+uN(a);break}while(0);return +a}function sN(a){a=+a;var b=0.0,d=0.0,e=0;h[j>>3]=a;e=c[j+4>>2]|0;d=(e|0)<0?-.5:.5;e=e&2147483647;c[j>>2]=c[j>>2];c[j+4>>2]=e;b=+h[j>>3];do if(e>>>0<1082535490){b=+tN(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*+uN(b);while(0);return +a}function tN(a){a=+a;var b=0,d=0.0,e=0.0,f=0,g=0.0,i=0,k=0,l=0.0;h[j>>3]=a;b=c[j+4>>2]|0;f=b&2147483647;b=wQ(c[j>>2]|0,b|0,63)|0;do if(f>>>0>1078159481){f=vN(a)|0;k=z&2147483647;if(!(k>>>0>2146435072|(k|0)==2146435072&f>>>0>0))if(!b)if(a>709.782712893384)a=a*8988465674311579538646525.0e283;else{d=.5;i=12}else a=-1.0}else{if(f>>>0<=1071001154)if(f>>>0<1016070144)break;else{g=0.0;b=0;i=15;break}b=(b|0)!=0;if(f>>>0>=1072734898){d=b?-.5:.5;i=12;break}if(b){b=-1;d=a+.6931471803691238;e=-1.9082149292705877e-10;i=13;break}else{b=1;d=a+-.6931471803691238;e=1.9082149292705877e-10;i=13;break}}while(0);if((i|0)==12){b=~~(a*1.4426950408889634+d);e=+(b|0);d=a-e*.6931471803691238;e=e*1.9082149292705877e-10;i=13}if((i|0)==13){g=d-e;a=g;g=d-g-e;i=15}a:do if((i|0)==15){e=a*.5;d=a*e;l=d*(d*(d*(d*(4.008217827329362e-06-d*2.0109921818362437e-07)+-7.93650757867488e-05)+1.5873015872548146e-03)+-.03333333333333313)+1.0;e=3.0-e*l;e=d*((l-e)/(6.0-a*e));if(!b){a=a-(a*e-d);break}d=a*(e-g)-g-d;switch(b|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:{i=xQ(b+1023|0,0,52)|0;k=z;c[j>>2]=i;c[j+4>>2]=k;e=+h[j>>3];if(b>>>0>56){a=a-d+1.0;a=((b|0)==1024?a*2.0*8988465674311579538646525.0e283:e*a)+-1.0;break a}else{f=xQ(1023-b|0,0,52)|0;i=z;k=(b|0)<20;c[j>>2]=f;c[j+4>>2]=i;l=+h[j>>3];a=e*((k?1.0-l:1.0)+(a-(k?d:l+d)));break a}}}}while(0);return +a}function uN(a){a=+a;return +(+L(+(a+-1416.0996898839683))*2247116418577894884661631.0e283*2247116418577894884661631.0e283)}function vN(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;z=c[j+4>>2]|0;return b|0}function wN(b,c){b=b|0;c=c|0;var d=0,e=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24)b=e;else{do{b=b+1|0;c=c+1|0;d=a[b>>0]|0;e=a[c>>0]|0}while(!(d<<24>>24==0?1:d<<24>>24!=e<<24>>24));b=e}return (d&255)-(b&255)|0}function xN(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;a:do if(!d)b=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){b=0;break a}else{b=b+1|0;c=c+1|0}}b=(e&255)-(f&255)|0}while(0);return b|0}function yN(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(!d)e=0;else{h=a[b>>0]|0;e=h&255;g=a[c>>0]|0;f=g&255;a:do if(h<<24>>24)do{d=d+-1|0;if(!(h<<24>>24==g<<24>>24&((d|0)!=0&g<<24>>24!=0)))break a;b=b+1|0;c=c+1|0;h=a[b>>0]|0;e=h&255;g=a[c>>0]|0;f=g&255}while(h<<24>>24!=0);while(0);e=e-f|0}return e|0}function zN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=d;d=AN(a,b,f)|0;l=e;return d|0}function AN(a,b,c){a=a|0;b=b|0;c=c|0;return BN(a,2147483647,b,c)|0}function BN(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,m=0,n=0;n=l;l=l+128|0;g=n+124|0;m=n;h=m;i=33392;j=h+124|0;do{c[h>>2]=c[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(j|0));if((d+-1|0)>>>0>2147483646)if(!d){b=g;d=1;k=4}else{c[8240]=75;d=-1}else k=4;if((k|0)==4){k=-2-b|0;k=d>>>0>k>>>0?k:d;c[m+48>>2]=k;g=m+20|0;c[g>>2]=b;c[m+44>>2]=b;d=b+k|0;b=m+16|0;c[b>>2]=d;c[m+28>>2]=d;d=CN(m,e,f)|0;if(k){m=c[g>>2]|0;a[m+(((m|0)==(c[b>>2]|0))<<31>>31)>>0]=0}}l=n;return d|0}function CN(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,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+224|0;n=r+120|0;o=r+80|0;p=r;q=r+136|0;f=o;g=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[n>>2]=c[e>>2];if((DN(0,d,n,p,o)|0)<0)e=-1;else{e=c[b>>2]|0;m=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;f=b+48|0;if(!(c[f>>2]|0)){g=b+44|0;h=c[g>>2]|0;c[g>>2]=q;i=b+28|0;c[i>>2]=q;j=b+20|0;c[j>>2]=q;c[f>>2]=80;k=b+16|0;c[k>>2]=q+80;e=DN(b,d,n,p,o)|0;if(h){ig[c[b+36>>2]&63](b,0,0)|0;e=(c[j>>2]|0)==0?-1:e;c[g>>2]=h;c[f>>2]=0;c[k>>2]=0;c[i>>2]=0;c[j>>2]=0}}else e=DN(b,d,n,p,o)|0;q=c[b>>2]|0;c[b>>2]=q|m;e=(q&32|0)==0?e:-1}l=r;return e|0}function DN(d,e,f,g,i){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+64|0;D=H+16|0;E=H;B=H+24|0;F=H+8|0;G=H+20|0;c[D>>2]=e;x=(d|0)!=0;y=B+40|0;A=y;B=B+39|0;C=F+4|0;k=0;j=0;p=0;a:while(1){do if((j|0)>-1)if((k|0)>(2147483647-j|0)){c[8240]=75;j=-1;break}else{j=k+j|0;break}while(0);k=a[e>>0]|0;if(!(k<<24>>24)){w=87;break}else m=e;b:while(1){switch(k<<24>>24){case 37:{k=m;w=9;break b}case 0:{k=m;break b}default:{}}v=m+1|0;c[D>>2]=v;k=a[v>>0]|0;m=v}c:do if((w|0)==9)while(1){w=0;if((a[m+1>>0]|0)!=37)break c;k=k+1|0;m=m+2|0;c[D>>2]=m;if((a[m>>0]|0)==37)w=9;else break}while(0);k=k-e|0;if(x)FN(d,e,k);if(k|0){e=m;continue}n=m+1|0;k=(a[n>>0]|0)+-48|0;if(k>>>0<10){v=(a[m+2>>0]|0)==36;u=v?k:-1;p=v?1:p;n=v?m+3|0:n}else u=-1;c[D>>2]=n;k=a[n>>0]|0;m=(k<<24>>24)+-32|0;d:do if(m>>>0<32){o=0;q=k;while(1){k=1<>2]=n;k=a[n>>0]|0;m=(k<<24>>24)+-32|0;if(m>>>0>=32)break;else q=k}}else o=0;while(0);if(k<<24>>24==42){m=n+1|0;k=(a[m>>0]|0)+-48|0;if(k>>>0<10?(a[n+2>>0]|0)==36:0){c[i+(k<<2)>>2]=10;k=c[g+((a[m>>0]|0)+-48<<3)>>2]|0;p=1;n=n+3|0}else{if(p|0){j=-1;break}if(x){p=(c[f>>2]|0)+(4-1)&~(4-1);k=c[p>>2]|0;c[f>>2]=p+4;p=0;n=m}else{k=0;p=0;n=m}}c[D>>2]=n;v=(k|0)<0;k=v?0-k|0:k;o=v?o|8192:o}else{k=GN(D)|0;if((k|0)<0){j=-1;break}n=c[D>>2]|0}do if((a[n>>0]|0)==46){m=n+1|0;if((a[m>>0]|0)!=42){c[D>>2]=m;m=GN(D)|0;n=c[D>>2]|0;break}q=n+2|0;m=(a[q>>0]|0)+-48|0;if(m>>>0<10?(a[n+3>>0]|0)==36:0){c[i+(m<<2)>>2]=10;m=c[g+((a[q>>0]|0)+-48<<3)>>2]|0;n=n+4|0;c[D>>2]=n;break}if(p|0){j=-1;break a}if(x){v=(c[f>>2]|0)+(4-1)&~(4-1);m=c[v>>2]|0;c[f>>2]=v+4}else m=0;c[D>>2]=q;n=q}else m=-1;while(0);t=0;while(1){if(((a[n>>0]|0)+-65|0)>>>0>57){j=-1;break a}v=n+1|0;c[D>>2]=v;q=a[(a[n>>0]|0)+-65+(313573+(t*58|0))>>0]|0;r=q&255;if((r+-1|0)>>>0<8){t=r;n=v}else break}if(!(q<<24>>24)){j=-1;break}s=(u|0)>-1;do if(q<<24>>24==19)if(s){j=-1;break a}else w=49;else{if(s){c[i+(u<<2)>>2]=r;s=g+(u<<3)|0;u=c[s+4>>2]|0;w=E;c[w>>2]=c[s>>2];c[w+4>>2]=u;w=49;break}if(!x){j=0;break a}HN(E,r,f)}while(0);if((w|0)==49?(w=0,!x):0){k=0;e=v;continue}n=a[n>>0]|0;n=(t|0)!=0&(n&15|0)==3?n&-33:n;s=o&-65537;u=(o&8192|0)==0?o:s;e:do switch(n|0){case 110:switch((t&255)<<24>>24){case 0:{c[c[E>>2]>>2]=j;k=0;e=v;continue a}case 1:{c[c[E>>2]>>2]=j;k=0;e=v;continue a}case 2:{k=c[E>>2]|0;c[k>>2]=j;c[k+4>>2]=((j|0)<0)<<31>>31;k=0;e=v;continue a}case 3:{b[c[E>>2]>>1]=j;k=0;e=v;continue a}case 4:{a[c[E>>2]>>0]=j;k=0;e=v;continue a}case 6:{c[c[E>>2]>>2]=j;k=0;e=v;continue a}case 7:{k=c[E>>2]|0;c[k>>2]=j;c[k+4>>2]=((j|0)<0)<<31>>31;k=0;e=v;continue a}default:{k=0;e=v;continue a}}case 112:{n=120;m=m>>>0>8?m:8;e=u|8;w=61;break}case 88:case 120:{e=u;w=61;break}case 111:{n=E;e=c[n>>2]|0;n=c[n+4>>2]|0;r=JN(e,n,y)|0;s=A-r|0;o=0;q=314037;m=(u&8|0)==0|(m|0)>(s|0)?m:s+1|0;s=u;w=67;break}case 105:case 100:{n=E;e=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)<0){e=mQ(0,0,e|0,n|0)|0;n=z;o=E;c[o>>2]=e;c[o+4>>2]=n;o=1;q=314037;w=66;break e}else{o=(u&2049|0)!=0&1;q=(u&2048|0)==0?((u&1|0)==0?314037:314039):314038;w=66;break e}}case 117:{n=E;o=0;q=314037;e=c[n>>2]|0;n=c[n+4>>2]|0;w=66;break}case 99:{a[B>>0]=c[E>>2];e=B;o=0;q=314037;r=y;n=1;m=s;break}case 109:{n=LN(c[8240]|0)|0;w=71;break}case 115:{n=c[E>>2]|0;n=n|0?n:314047;w=71;break}case 67:{c[F>>2]=c[E>>2];c[C>>2]=0;c[E>>2]=F;r=-1;n=F;w=75;break}case 83:{e=c[E>>2]|0;if(!m){NN(d,32,k,0,u);e=0;w=84}else{r=m;n=e;w=75}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{k=PN(d,+h[E>>3],k,m,u,n)|0;e=v;continue a}default:{o=0;q=314037;r=y;n=m;m=u}}while(0);f:do if((w|0)==61){u=E;t=c[u>>2]|0;u=c[u+4>>2]|0;r=IN(t,u,y,n&32)|0;q=(e&8|0)==0|(t|0)==0&(u|0)==0;o=q?0:2;q=q?314037:314037+(n>>4)|0;s=e;e=t;n=u;w=67}else if((w|0)==66){r=KN(e,n,y)|0;s=u;w=67}else if((w|0)==71){w=0;u=MN(n,0,m)|0;t=(u|0)==0;e=n;o=0;q=314037;r=t?n+m|0:u;n=t?m:u-n|0;m=s}else if((w|0)==75){w=0;q=n;e=0;m=0;while(1){o=c[q>>2]|0;if(!o)break;m=ON(G,o)|0;if((m|0)<0|m>>>0>(r-e|0)>>>0)break;e=m+e|0;if(r>>>0>e>>>0)q=q+4|0;else break}if((m|0)<0){j=-1;break a}NN(d,32,k,e,u);if(!e){e=0;w=84}else{o=0;while(1){m=c[n>>2]|0;if(!m){w=84;break f}m=ON(G,m)|0;o=m+o|0;if((o|0)>(e|0)){w=84;break f}FN(d,G,m);if(o>>>0>=e>>>0){w=84;break}else n=n+4|0}}}while(0);if((w|0)==67){w=0;n=(e|0)!=0|(n|0)!=0;u=(m|0)!=0|n;n=((n^1)&1)+(A-r)|0;e=u?r:y;r=y;n=u?((m|0)>(n|0)?m:n):m;m=(m|0)>-1?s&-65537:s}else if((w|0)==84){w=0;NN(d,32,k,e,u^8192);k=(k|0)>(e|0)?k:e;e=v;continue}t=r-e|0;s=(n|0)<(t|0)?t:n;u=s+o|0;k=(k|0)<(u|0)?u:k;NN(d,32,k,u,m);FN(d,q,o);NN(d,48,k,u,m^65536);NN(d,48,s,t,0);FN(d,e,t);NN(d,32,k,u,m^8192);e=v}g:do if((w|0)==87)if(!d)if(!p)j=0;else{j=1;while(1){e=c[i+(j<<2)>>2]|0;if(!e){k=0;break}HN(g+(j<<3)|0,e,f);j=j+1|0;if((j|0)>=10){j=1;break g}}while(1){e=j+1|0;if(k|0){j=-1;break g}if((e|0)>=10){j=1;break g}j=e;k=c[i+(e<<2)>>2]|0}}while(0);l=H;return j|0}function EN(){return 0}function FN(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))ZN(b,d,a)|0;return}function GN(b){b=b|0;var d=0,e=0,f=0;e=c[b>>2]|0;f=(a[e>>0]|0)+-48|0;if(f>>>0<10){d=0;do{d=f+(d*10|0)|0;e=e+1|0;c[b>>2]=e;f=(a[e>>0]|0)+-48|0}while(f>>>0<10)}else d=0;return d|0}function HN(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:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=b;c[e+4>>2]=((b|0)<0)<<31>>31;break a}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=b;c[e+4>>2]=0;break a}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);b=e;f=c[b>>2]|0;b=c[b+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=f;c[e+4>>2]=b;break a}case 13:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;e=(e&65535)<<16>>16;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a}case 14:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e&65535;c[f+4>>2]=0;break a}case 15:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;e=(e&255)<<24>>24;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a}case 16:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e&255;c[f+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 IN(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;if(!((b|0)==0&(c|0)==0))do{e=e+-1|0;a[e>>0]=d[314085+(b&15)>>0]|0|f;b=wQ(b|0,c|0,4)|0;c=z}while(!((b|0)==0&(c|0)==0));return e|0}function JN(b,c,d){b=b|0;c=c|0;d=d|0;if(!((b|0)==0&(c|0)==0))do{d=d+-1|0;a[d>>0]=b&7|48;b=wQ(b|0,c|0,3)|0;c=z}while(!((b|0)==0&(c|0)==0));return d|0}function KN(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=uQ(b|0,c|0,10,0)|0;d=d+-1|0;a[d>>0]=e&255|48;e=b;b=tQ(b|0,c|0,10,0)|0;if(!(c>>>0>9|(c|0)==9&e>>>0>4294967295))break;else c=z}c=b}else c=b;if(c)while(1){d=d+-1|0;a[d>>0]=(c>>>0)%10|0|48;if(c>>>0<10)break;else c=(c>>>0)/10|0}return d|0}function LN(a){a=a|0;return UN(a,c[8271]|0)|0}function MN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=d&255;f=(e|0)!=0;a:do if(f&(b&3|0)!=0){g=d&255;while(1){if((a[b>>0]|0)==g<<24>>24)break a;b=b+1|0;e=e+-1|0;f=(e|0)!=0;if(!(f&(b&3|0)!=0)){i=5;break}}}else i=5;while(0);b:do if((i|0)==5)if(f){g=d&255;if((a[b>>0]|0)!=g<<24>>24){f=O(h,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){i=11;break c}}else i=11;while(0);if((i|0)==11)if(!e){e=0;break}while(1){if((a[b>>0]|0)==g<<24>>24)break b;b=b+1|0;e=e+-1|0;if(!e){e=0;break}}}}else e=0;while(0);return (e|0?b:0)|0}function NN(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=l;l=l+256|0;f=g;if((c|0)>(d|0)&(e&73728|0)==0){c=c-d|0;EQ(f|0,b|0,(c>>>0<256?c:256)|0)|0;if(c>>>0>255){d=c;do{FN(a,f,256);d=d+-256|0}while(d>>>0>255);c=c&255}FN(a,f,c)}l=g;return}function ON(a,b){a=a|0;b=b|0;if(!a)a=0;else a=TN(a,b)|0;return a|0}function PN(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,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,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+560|0;m=H+8|0;u=H;G=H+524|0;F=G;n=H+512|0;c[u>>2]=0;E=n+12|0;QN(e)|0;if((z|0)<0){e=-e;C=1;B=314054}else{C=(h&2049|0)!=0&1;B=(h&2048|0)==0?((h&1|0)==0?314055:314060):314057}QN(e)|0;D=z&2146435072;do if(D>>>0<2146435072|(D|0)==2146435072&0<0){r=+RN(e,u)*2.0;j=r!=0.0;if(j)c[u>>2]=(c[u>>2]|0)+-1;w=i|32;if((w|0)==97){s=i&32;q=(s|0)==0?B:B+9|0;p=C|2;j=12-g|0;do if(!(g>>>0>11|(j|0)==0)){e=8.0;do{j=j+-1|0;e=e*16.0}while((j|0)!=0);if((a[q>>0]|0)==45){e=-(e+(-r-e));break}else{e=r+e-e;break}}else e=r;while(0);k=c[u>>2]|0;j=(k|0)<0?0-k|0:k;j=KN(j,((j|0)<0)<<31>>31,E)|0;if((j|0)==(E|0)){j=n+11|0;a[j>>0]=48}a[j+-1>>0]=(k>>31&2)+43;o=j+-2|0;a[o>>0]=i+15;n=(g|0)<1;m=(h&8|0)==0;j=G;do{D=~~e;k=j+1|0;a[j>>0]=d[314085+D>>0]|s;e=(e-+(D|0))*16.0;if((k-F|0)==1?!(m&(n&e==0.0)):0){a[k>>0]=46;j=j+2|0}else j=k}while(e!=0.0);D=j-F|0;F=E-o|0;E=(g|0)!=0&(D+-2|0)<(g|0)?g+2|0:D;j=F+p+E|0;NN(b,32,f,j,h);FN(b,q,p);NN(b,48,f,j,h^65536);FN(b,G,D);NN(b,48,E-D|0,0,0);FN(b,o,F);NN(b,32,f,j,h^8192);break}k=(g|0)<0?6:g;if(j){j=(c[u>>2]|0)+-28|0;c[u>>2]=j;e=r*268435456.0}else{e=r;j=c[u>>2]|0}D=(j|0)<0?m:m+288|0;m=D;do{y=~~e>>>0;c[m>>2]=y;m=m+4|0;e=(e-+(y>>>0))*1.0e9}while(e!=0.0);if((j|0)>0){n=D;p=m;while(1){o=(j|0)<29?j:29;j=p+-4|0;if(j>>>0>=n>>>0){m=0;do{x=xQ(c[j>>2]|0,0,o|0)|0;x=lQ(x|0,z|0,m|0,0)|0;y=z;v=uQ(x|0,y|0,1e9,0)|0;c[j>>2]=v;m=tQ(x|0,y|0,1e9,0)|0;j=j+-4|0}while(j>>>0>=n>>>0);if(m){n=n+-4|0;c[n>>2]=m}}m=p;while(1){if(m>>>0<=n>>>0)break;j=m+-4|0;if(!(c[j>>2]|0))m=j;else break}j=(c[u>>2]|0)-o|0;c[u>>2]=j;if((j|0)>0)p=m;else break}}else n=D;if((j|0)<0){g=((k+25|0)/9|0)+1|0;t=(w|0)==102;do{s=0-j|0;s=(s|0)<9?s:9;if(n>>>0>>0){o=(1<>>s;q=0;j=n;do{y=c[j>>2]|0;c[j>>2]=(y>>>s)+q;q=O(y&o,p)|0;j=j+4|0}while(j>>>0>>0);j=(c[n>>2]|0)==0?n+4|0:n;if(!q){n=j;j=m}else{c[m>>2]=q;n=j;j=m+4|0}}else{n=(c[n>>2]|0)==0?n+4|0:n;j=m}m=t?D:n;m=(j-m>>2|0)>(g|0)?m+(g<<2)|0:j;j=(c[u>>2]|0)+s|0;c[u>>2]=j}while((j|0)<0);j=n;g=m}else{j=n;g=m}y=D;if(j>>>0>>0){m=(y-j>>2)*9|0;o=c[j>>2]|0;if(o>>>0>=10){n=10;do{n=n*10|0;m=m+1|0}while(o>>>0>=n>>>0)}}else m=0;t=(w|0)==103;v=(k|0)!=0;n=k-((w|0)!=102?m:0)+((v&t)<<31>>31)|0;if((n|0)<(((g-y>>2)*9|0)+-9|0)){n=n+9216|0;s=D+4+(((n|0)/9|0)+-1024<<2)|0;n=((n|0)%9|0)+1|0;if((n|0)<9){o=10;do{o=o*10|0;n=n+1|0}while((n|0)!=9)}else o=10;p=c[s>>2]|0;q=(p>>>0)%(o>>>0)|0;n=(s+4|0)==(g|0);if(!(n&(q|0)==0)){r=(((p>>>0)/(o>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;x=(o|0)/2|0;e=q>>>0>>0?.5:n&(q|0)==(x|0)?1.0:1.5;if(C){x=(a[B>>0]|0)==45;e=x?-e:e;r=x?-r:r}n=p-q|0;c[s>>2]=n;if(r+e!=r){x=n+o|0;c[s>>2]=x;if(x>>>0>999999999){m=s;while(1){n=m+-4|0;c[m>>2]=0;if(n>>>0>>0){j=j+-4|0;c[j>>2]=0}x=(c[n>>2]|0)+1|0;c[n>>2]=x;if(x>>>0>999999999)m=n;else break}}else n=s;m=(y-j>>2)*9|0;p=c[j>>2]|0;if(p>>>0>=10){o=10;do{o=o*10|0;m=m+1|0}while(p>>>0>=o>>>0)}}else n=s}else n=s;n=n+4|0;n=g>>>0>n>>>0?n:g;x=j}else{n=g;x=j}w=n;while(1){if(w>>>0<=x>>>0){u=0;break}j=w+-4|0;if(!(c[j>>2]|0))w=j;else{u=1;break}}g=0-m|0;do if(t){j=((v^1)&1)+k|0;if((j|0)>(m|0)&(m|0)>-5){o=i+-1|0;k=j+-1-m|0}else{o=i+-2|0;k=j+-1|0}j=h&8;if(!j){if(u?(A=c[w+-4>>2]|0,(A|0)!=0):0)if(!((A>>>0)%10|0)){n=0;j=10;do{j=j*10|0;n=n+1|0}while(!((A>>>0)%(j>>>0)|0|0))}else n=0;else n=9;j=((w-y>>2)*9|0)+-9|0;if((o|32|0)==102){s=j-n|0;s=(s|0)>0?s:0;k=(k|0)<(s|0)?k:s;s=0;break}else{s=j+m-n|0;s=(s|0)>0?s:0;k=(k|0)<(s|0)?k:s;s=0;break}}else s=j}else{o=i;s=h&8}while(0);t=k|s;p=(t|0)!=0&1;q=(o|32|0)==102;if(q){v=0;j=(m|0)>0?m:0}else{j=(m|0)<0?g:m;j=KN(j,((j|0)<0)<<31>>31,E)|0;n=E;if((n-j|0)<2)do{j=j+-1|0;a[j>>0]=48}while((n-j|0)<2);a[j+-1>>0]=(m>>31&2)+43;j=j+-2|0;a[j>>0]=o;v=j;j=n-j|0}j=C+1+k+p+j|0;NN(b,32,f,j,h);FN(b,B,C);NN(b,48,f,j,h^65536);if(q){o=x>>>0>D>>>0?D:x;s=G+9|0;p=s;q=G+8|0;n=o;do{m=KN(c[n>>2]|0,0,s)|0;if((n|0)==(o|0)){if((m|0)==(s|0)){a[q>>0]=48;m=q}}else if(m>>>0>G>>>0){EQ(G|0,48,m-F|0)|0;do m=m+-1|0;while(m>>>0>G>>>0)}FN(b,m,p-m|0);n=n+4|0}while(n>>>0<=D>>>0);if(t|0)FN(b,314101,1);if(n>>>0>>0&(k|0)>0)while(1){m=KN(c[n>>2]|0,0,s)|0;if(m>>>0>G>>>0){EQ(G|0,48,m-F|0)|0;do m=m+-1|0;while(m>>>0>G>>>0)}FN(b,m,(k|0)<9?k:9);n=n+4|0;m=k+-9|0;if(!(n>>>0>>0&(k|0)>9)){k=m;break}else k=m}NN(b,48,k+9|0,9,0)}else{t=u?w:x+4|0;if((k|0)>-1){u=G+9|0;s=(s|0)==0;g=u;p=0-F|0;q=G+8|0;o=x;do{m=KN(c[o>>2]|0,0,u)|0;if((m|0)==(u|0)){a[q>>0]=48;m=q}do if((o|0)==(x|0)){n=m+1|0;FN(b,m,1);if(s&(k|0)<1){m=n;break}FN(b,314101,1);m=n}else{if(m>>>0<=G>>>0)break;EQ(G|0,48,m+p|0)|0;do m=m+-1|0;while(m>>>0>G>>>0)}while(0);F=g-m|0;FN(b,m,(k|0)>(F|0)?F:k);k=k-F|0;o=o+4|0}while(o>>>0>>0&(k|0)>-1)}NN(b,48,k+18|0,18,0);FN(b,v,E-v|0)}NN(b,32,f,j,h^8192)}else{G=(i&32|0)!=0;j=C+3|0;NN(b,32,f,j,h&-65537);FN(b,B,C);FN(b,e!=e|0.0!=0.0?(G?316019:314081):G?314073:314077,3);NN(b,32,f,j,h^8192)}while(0);l=H;return ((j|0)<(f|0)?f:j)|0}function QN(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;z=c[j+4>>2]|0;return b|0}function RN(a,b){a=+a;b=b|0;return +(+SN(a,b))}function SN(a,b){a=+a;b=b|0;var d=0,e=0,f=0;h[j>>3]=a;d=c[j>>2]|0;e=c[j+4>>2]|0;f=wQ(d|0,e|0,52)|0;switch(f&2047){case 0:{if(a!=0.0){a=+SN(a*18446744073709551616.0,b);d=(c[b>>2]|0)+-64|0}else d=0;c[b>>2]=d;break}case 2047:break;default:{c[b>>2]=(f&2047)+-1022;c[j>>2]=d;c[j+4>>2]=e&-2146435073|1071644672;a=+h[j>>3]}}return +a}function TN(b,d){b=b|0;d=d|0;do if(b){if(d>>>0<128){a[b>>0]=d;b=1;break}if(!(c[c[8271]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;b=1;break}else{c[8240]=84;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[8240]=84;b=-1;break}}else b=1;while(0);return b|0}function UN(b,e){b=b|0;e=e|0;var f=0,g=0;g=0;while(1){if((d[314103+g>>0]|0)==(b|0)){b=2;break}f=g+1|0;if((f|0)==87){f=314191;g=87;b=5;break}else g=f}if((b|0)==2)if(!g)f=314191;else{f=314191;b=5}if((b|0)==5)while(1){do{b=f;f=f+1|0}while((a[b>>0]|0)!=0);g=g+-1|0;if(!g)break;else b=5}return VN(f,c[e+20>>2]|0)|0}function VN(a,b){a=a|0;b=b|0;return WN(a,b)|0}function WN(a,b){a=a|0;b=b|0;if(!b)b=0;else b=XN(c[b>>2]|0,c[b+4>>2]|0,a)|0;return (b|0?b:a)|0}function XN(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;o=(c[b>>2]|0)+1794895138|0;h=YN(c[b+8>>2]|0,o)|0;f=YN(c[b+12>>2]|0,o)|0;g=YN(c[b+16>>2]|0,o)|0;a:do if((h>>>0>>2>>>0?(n=d-(h<<2)|0,f>>>0>>0&g>>>0>>0):0)?((g|f)&3|0)==0:0){n=f>>>2;m=g>>>2;l=0;while(1){j=h>>>1;k=l+j|0;i=k<<1;g=i+n|0;f=YN(c[b+(g<<2)>>2]|0,o)|0;g=YN(c[b+(g+1<<2)>>2]|0,o)|0;if(!(g>>>0>>0&f>>>0<(d-g|0)>>>0)){f=0;break a}if(a[b+(g+f)>>0]|0){f=0;break a}f=wN(e,b+g|0)|0;if(!f)break;f=(f|0)<0;if((h|0)==1){f=0;break a}else{l=f?l:k;h=f?j:h-j|0}}f=i+m|0;g=YN(c[b+(f<<2)>>2]|0,o)|0;f=YN(c[b+(f+1<<2)>>2]|0,o)|0;if(f>>>0>>0&g>>>0<(d-f|0)>>>0)f=(a[b+(f+g)>>0]|0)==0?b+f|0:0;else f=0}else f=0;while(0);return f|0}function YN(a,b){a=a|0;b=b|0;var c=0;c=zQ(a|0)|0;return ((b|0)==0?a:c)|0}function ZN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(_N(e)|0)){g=c[f>>2]|0;h=5}else f=0;else h=5;a:do if((h|0)==5){j=e+20|0;i=c[j>>2]|0;f=i;if((g-i|0)>>>0>>0){f=ig[c[e+36>>2]&63](e,b,d)|0;break}b:do if((a[e+75>>0]|0)>-1){i=d;while(1){if(!i){h=0;g=b;break b}g=i+-1|0;if((a[b+g>>0]|0)==10)break;else i=g}f=ig[c[e+36>>2]&63](e,b,i)|0;if(f>>>0>>0)break a;h=i;g=b+i|0;d=d-i|0;f=c[j>>2]|0}else{h=0;g=b}while(0);CQ(f|0,g|0,d|0)|0;c[j>>2]=(c[j>>2]|0)+d;f=h+d|0}while(0);return f|0}function _N(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=c[b>>2]|0;if(!(d&8)){c[b+8>>2]=0;c[b+4>>2]=0;e=c[b+44>>2]|0;c[b+28>>2]=e;c[b+20>>2]=e;c[b+16>>2]=e+(c[b+48>>2]|0);b=0}else{c[b>>2]=d|32;b=-1}return b|0}function $N(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=a+20|0;f=c[e>>2]|0;a=(c[a+16>>2]|0)-f|0;a=a>>>0>d>>>0?d:a;CQ(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function aO(a){a=a|0;return ((a+-48|0)>>>0<10|(bO(a)|0)!=0)&1|0}function bO(a){a=a|0;return ((a|32)+-97|0)>>>0<26|0}function cO(a){a=a|0;return (a>>>0<32|(a|0)==127)&1|0}function dO(a){a=a|0;return (a+-33|0)>>>0<94|0}function eO(a){a=a|0;return (a+-32|0)>>>0<95|0}function fO(a){a=a|0;if(!(dO(a)|0))a=0;else a=(aO(a)|0)==0;return a&1|0}function gO(a){a=a|0;return ((a+-48|0)>>>0<10|((a|32)+-97|0)>>>0<6)&1|0}function hO(a,b){a=a|0;b=b|0;return iO(a,b)|0}function iO(a,b){a=a|0;b=b|0;return wN(a,b)|0}function jO(a){a=a|0;kO(c[a>>2]|0);UM(a);return}function kO(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=bN(a)|0;a=Ya(6,d|0)|0;$M((a|0)==-4?0:a)|0;l=b;return}function lO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+48|0;f=g+40|0;e=g+8|0;d=g;c[d>>2]=a;c[d+4>>2]=b;d=Qa(197,d|0)|0;if((d|0)==-9?(c[e>>2]=a,c[e+4>>2]=1,(Sa(221,e|0)|0)>=0):0){mO(e,a);c[f>>2]=e;c[f+4>>2]=b;$M(Pa(195,f|0)|0)|0}else $M(d)|0;l=g;return}function mO(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;d=b;e=315995;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{e=c;d=14;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 nO(){var a=0,b=0,d=0,e=0;e=l;l=l+16|0;d=e;b=oO()|0;do if((b|0)<0)a=0;else{a=TM(2072)|0;if(!a){c[d>>2]=b;Ya(6,d|0)|0;a=0;break}if(c[a+-4>>2]&3|0)EQ(a|0,0,2072)|0;c[a>>2]=b}while(0);l=e;return a|0}function oO(){var a=0,b=0,d=0;d=l;l=l+32|0;b=d+16|0;a=d;c[a>>2]=328537;c[a+4>>2]=622592;c[a+8>>2]=0;a=Wa(5,a|0)|0;if((a|0)>=0){c[b>>2]=a;c[b+4>>2]=2;c[b+8>>2]=1;Sa(221,b|0)|0}b=$M(a)|0;l=d;return b|0}function pO(a){a=a|0;var b=0,d=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;d=i;g=a+8|0;b=c[g>>2]|0;f=a+12|0;a:do if((b|0)<(c[f>>2]|0))h=6;else{c[d>>2]=c[a>>2];c[d+4>>2]=a+24;c[d+8>>2]=2048;b=Ra(220,d|0)|0;if((b|0)>=1){c[f>>2]=b;c[g>>2]=0;b=0;h=6;break}switch(b|0){case 0:case -2:{b=0;break a}default:{}}c[8240]=0-b;b=0}while(0);if((h|0)==6){h=a+24+b|0;c[g>>2]=(e[h+8>>1]|0)+b;c[a+4>>2]=c[h+4>>2];b=h}l=i;return b|0}function qO(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,m=0,n=0,o=0,p=0;p=l;l=l+208|0;n=p+8|0;o=p;h=O(d,b)|0;m=o;c[m>>2]=1;c[m+4>>2]=0;a:do if(h|0){c[n+4>>2]=d;c[n>>2]=d;f=2;b=d;g=d;while(1){b=b+d+g|0;c[n+(f<<2)>>2]=b;if(b>>>0>>0){m=g;f=f+1|0;g=b;b=m}else break}m=0-d|0;i=a+h+m|0;if(i>>>0>a>>>0){j=i;k=o+4|0;f=1;h=a;b=1;do{do if((b&3|0)!=3){g=f+-1|0;if((c[n+(g<<2)>>2]|0)>>>0<(j-h|0)>>>0)rO(h,d,e,f,n);else tO(h,d,e,b,c[k>>2]|0,f,0,n);if((f|0)==1){uO(o,1);f=0;break}else{uO(o,g);f=1;break}}else{rO(h,d,e,f,n);sO(o,2);f=f+2|0}while(0);b=c[o>>2]|1;c[o>>2]=b;h=h+d|0}while(h>>>0>>0);j=k;g=c[k>>2]|0}else{f=1;h=a;j=o+4|0;g=0;b=1}tO(h,d,e,b,g,f,0,n);i=o+4|0;g=h;while(1){if((f|0)==1&(b|0)==1){if(!(c[i>>2]|0))break a}else if((f|0)>=2){uO(o,2);a=f+-2|0;c[o>>2]=c[o>>2]^7;sO(o,1);tO(g+(0-(c[n+(a<<2)>>2]|0))+m|0,d,e,c[o>>2]|0,c[j>>2]|0,f+-1|0,1,n);uO(o,1);b=c[o>>2]|1;c[o>>2]=b;k=g+m|0;tO(k,d,e,b,c[j>>2]|0,a,1,n);g=k;f=a;continue}b=vO(o)|0;sO(o,b);g=g+m|0;f=b+f|0;b=c[o>>2]|0}}while(0);l=p;return}function rO(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,m=0,n=0;n=l;l=l+240|0;m=n;c[m>>2]=a;a:do if((e|0)>1){k=0-b|0;g=a;j=e;e=1;while(1){h=g+k|0;i=j+-2|0;g=h+(0-(c[f+(i<<2)>>2]|0))|0;if((hg[d&63](a,g)|0)>-1?(hg[d&63](a,h)|0)>-1:0)break a;a=e+1|0;e=m+(e<<2)|0;if((hg[d&63](g,h)|0)>-1){c[e>>2]=g;e=j+-1|0}else{c[e>>2]=h;g=h;e=i}if((e|0)<=1){e=a;break a}j=e;e=a;a=c[m>>2]|0}}else e=1;while(0);xO(b,m,e);l=n;return}function sO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){e=c[f>>2]|0;c[a>>2]=e;c[f>>2]=0;b=b+-32|0;d=0}else{d=c[f>>2]|0;e=c[a>>2]|0}c[a>>2]=d<<32-b|e>>>b;c[f>>2]=d>>>b;return}function tO(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,m=0,n=0,o=0,p=0,q=0;q=l;l=l+240|0;n=q+232|0;p=q;c[n>>2]=e;o=n+4|0;c[o>>2]=f;c[p>>2]=a;a:do if((e|0)!=1|(f|0)!=0?(m=0-b|0,j=a+(0-(c[i+(g<<2)>>2]|0))|0,(hg[d&63](j,a)|0)>=1):0){k=1;e=(h|0)==0;while(1){if(e&(g|0)>1){f=a+m|0;e=c[i+(g+-2<<2)>>2]|0;if((hg[d&63](f,j)|0)>-1){e=k;f=10;break a}if((hg[d&63](f+(0-e)|0,j)|0)>-1){e=k;f=10;break a}}a=k+1|0;c[p+(k<<2)>>2]=j;k=vO(n)|0;sO(n,k);g=k+g|0;if(!((c[n>>2]|0)!=1|(c[o>>2]|0)!=0)){e=a;a=j;f=10;break a}f=j+(0-(c[i+(g<<2)>>2]|0))|0;if((hg[d&63](f,c[p>>2]|0)|0)<1){e=a;a=j;f=10;break}else{h=j;k=a;e=1;j=f;a=h}}}else f=9;while(0);if((f|0)==9?(h|0)==0:0){e=1;f=10}if((f|0)==10){xO(b,p,e);rO(a,b,d,g,i)}l=q;return}function uO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){e=c[a>>2]|0;c[f>>2]=e;c[a>>2]=0;b=b+-32|0;d=0}else{d=c[a>>2]|0;e=c[f>>2]|0}c[f>>2]=d>>>(32-b|0)|e<>2]=d<>2]|0)+-1|0)|0;if(!b){b=wO(c[a+4>>2]|0)|0;return ((b|0)==0?0:b+32|0)|0}else return b|0;return 0}function wO(a){a=a|0;var b=0;if(a)if(!(a&1)){b=a;a=0;do{a=a+1|0;b=b>>>1}while(!(b&1|0))}else a=0;else a=32;return a|0}function xO(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=l;l=l+256|0;e=h;a:do if((d|0)>=2?(g=b+(d<<2)|0,c[g>>2]=e,a|0):0)while(1){f=a>>>0<256?a:256;CQ(e|0,c[b>>2]|0,f|0)|0;e=0;do{i=b+(e<<2)|0;e=e+1|0;CQ(c[i>>2]|0,c[b+(e<<2)>>2]|0,f|0)|0;c[i>>2]=(c[i>>2]|0)+f}while((e|0)!=(d|0));a=a-f|0;if(!a)break a;e=c[g>>2]|0}while(0);l=h;return}function yO(b,e,f){b=b|0;e=e|0;f=f|0;var g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;switch(e|0){case 0:{l=-149;m=24;j=4;break}case 1:{l=-1074;m=53;j=4;break}case 2:{l=-1074;m=53;j=4;break}default:g=0.0}a:do if((j|0)==4){o=b+4|0;n=b+100|0;do{e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=jN(b)|0}while((kN(e)|0)!=0);b:do switch(e|0){case 43:case 45:{i=1-(((e|0)==45&1)<<1)|0;e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;h=d[e>>0]|0;break b}else{h=jN(b)|0;break b}}default:{h=e;i=1}}while(0);e=0;do{if((h|32|0)!=(a[316010+e>>0]|0))break;do if(e>>>0<7){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0;break}else{h=jN(b)|0;break}}while(0);e=e+1|0}while(e>>>0<8);c:do switch(e|0){case 8:break;case 3:{j=23;break}default:{k=(f|0)!=0;if(k&e>>>0>3)if((e|0)==8)break c;else{j=23;break c}d:do if(!e){e=0;do{if((h|32|0)!=(a[316019+e>>0]|0))break d;do if(e>>>0<2){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0;break}else{h=jN(b)|0;break}}while(0);e=e+1|0}while(e>>>0<3)}while(0);switch(e|0){case 3:{e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=jN(b)|0;if((e|0)==40)e=1;else{if(!(c[n>>2]|0)){g=s;break a}c[o>>2]=(c[o>>2]|0)+-1;g=s;break a}while(1){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0}else h=jN(b)|0;if(!((h+-48|0)>>>0<10|(h+-65|0)>>>0<26)?!((h|0)==95|(h+-97|0)>>>0<26):0)break;e=e+1|0}if((h|0)==41){g=s;break a}h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!k){c[8240]=22;hN(b,0);g=0.0;break a}if(!e){g=s;break a}while(1){e=e+-1|0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!e){g=s;break a}}}case 0:{if((h|0)==48){e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=jN(b)|0;if((e|32|0)==120){g=+zO(b,m,l,i,f);break a}if(!(c[n>>2]|0))e=48;else{c[o>>2]=(c[o>>2]|0)+-1;e=48}}else e=h;g=+AO(b,e,m,l,i,f);break a}default:{if(c[n>>2]|0)c[o>>2]=(c[o>>2]|0)+-1;c[8240]=22;hN(b,0);g=0.0;break a}}}}while(0);if((j|0)==23){h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if((f|0)!=0&e>>>0>3)do{if(!h)c[o>>2]=(c[o>>2]|0)+-1;e=e+-1|0}while(e>>>0>3)}g=+(i|0)*t}while(0);return +g}function zO(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0.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,t=0,u=0,v=0,w=0,x=0,y=0;y=a+4|0;i=c[y>>2]|0;x=a+100|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;j=d[i>>0]|0;l=0}else{j=jN(a)|0;l=0}a:while(1){switch(j|0){case 46:{n=8;break a}case 48:break;default:{s=0;t=0;o=1.0;h=0.0;i=0;m=j;r=l;v=0;u=0;l=0;j=0;break a}}i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;j=d[i>>0]|0;l=1;continue}else{j=jN(a)|0;l=1;continue}}if((n|0)==8){i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;j=d[i>>0]|0}else j=jN(a)|0;if((j|0)==48){l=0;j=0;do{i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;m=d[i>>0]|0}else m=jN(a)|0;l=lQ(l|0,j|0,-1,-1)|0;j=z}while((m|0)==48);s=1;t=0;o=1.0;h=0.0;i=0;r=1;v=0;u=0}else{s=1;t=0;o=1.0;h=0.0;i=0;m=j;r=l;v=0;u=0;l=0;j=0}}while(1){n=m+-48|0;p=(m|0)==46;if(n>>>0>=10?!(p|((m|32)+-97|0)>>>0<6):0)break;if(p)if(!s){s=1;n=t;k=o;l=u;j=v;q=u;p=v}else{m=46;break}else{m=(m|0)>57?(m|32)+-87|0:n;do if(!((v|0)<0|(v|0)==0&u>>>0<8))if((v|0)<0|(v|0)==0&u>>>0<14){o=o*.0625;n=t;k=o;h=h+o*+(m|0);break}else{r=(t|0)!=0|(m|0)==0;n=r?t:1;k=o;h=r?h:h+o*.5;break}else{n=t;k=o;i=m+(i<<4)|0}while(0);q=lQ(u|0,v|0,1,0)|0;r=1;p=z}m=c[y>>2]|0;if(m>>>0<(c[x>>2]|0)>>>0){c[y>>2]=m+1;t=n;o=k;m=d[m>>0]|0;v=p;u=q;continue}else{t=n;o=k;m=jN(a)|0;v=p;u=q;continue}}do if(!r){i=(c[x>>2]|0)!=0;if(i)c[y>>2]=(c[y>>2]|0)+-1;if(g){if(i?(w=c[y>>2]|0,c[y>>2]=w+-1,s|0):0)c[y>>2]=w+-2}else hN(a,0);h=+(f|0)*0.0}else{p=(s|0)==0;q=p?u:l;p=p?v:j;if((v|0)<0|(v|0)==0&u>>>0<8){l=u;j=v;do{i=i<<4;l=lQ(l|0,j|0,1,0)|0;j=z}while((j|0)<0|(j|0)==0&l>>>0<8);n=i}else n=i;if((m|32|0)==112){j=BO(a,g)|0;i=z;if((j|0)==0&(i|0)==-2147483648){if(!g){hN(a,0);h=0.0;break}if(!(c[x>>2]|0)){j=0;i=0}else{c[y>>2]=(c[y>>2]|0)+-1;j=0;i=0}}}else if(!(c[x>>2]|0)){j=0;i=0}else{c[y>>2]=(c[y>>2]|0)+-1;j=0;i=0}l=xQ(q|0,p|0,2)|0;l=lQ(l|0,z|0,-32,-1)|0;l=lQ(l|0,z|0,j|0,i|0)|0;i=z;if(!n){h=+(f|0)*0.0;break}y=0-e|0;g=((y|0)<0)<<31>>31;if((i|0)>(g|0)|(i|0)==(g|0)&l>>>0>y>>>0){c[8240]=34;h=+(f|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}y=e+-106|0;g=((y|0)<0)<<31>>31;if((i|0)<(g|0)|(i|0)==(g|0)&l>>>0>>0){c[8240]=34;h=+(f|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if((n|0)>-1){j=n;do{y=!(h>=.5);j=j<<1|(y^1)&1;h=h+(y?h:h+-1.0);l=lQ(l|0,i|0,-1,-1)|0;i=z}while((j|0)>-1);o=h;m=j}else{o=h;m=n}y=((b|0)<0)<<31>>31;e=mQ(32,0,e|0,((e|0)<0)<<31>>31|0)|0;i=lQ(e|0,z|0,l|0,i|0)|0;e=z;if((y|0)>(e|0)|(y|0)==(e|0)&b>>>0>i>>>0)if((i|0)>0)n=58;else{j=0;i=84;n=60}else{i=b;n=58}if((n|0)==58)if((i|0)<53){j=i;i=84-i|0;n=60}else{k=0.0;h=+(f|0)}if((n|0)==60){h=+(f|0);k=+DO(+CO(1.0,i),h);i=j}f=(m&1|0)==0&(o!=0.0&(i|0)<32);h=h*(f?0.0:o)+(k+h*+(((f&1)+m|0)>>>0))-k;if(!(h!=0.0))c[8240]=34;h=+FO(h,l)}while(0);return +h}function AO(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0.0,j=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0.0;J=l;l=l+512|0;G=J;H=f+e|0;I=0-H|0;D=a+4|0;E=a+100|0;k=0;a:while(1){switch(b|0){case 46:{A=6;break a}case 48:break;default:{v=0;p=k;q=0;o=0;break a}}b=c[D>>2]|0;if(b>>>0<(c[E>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0;k=1;continue}else{b=jN(a)|0;k=1;continue}}if((A|0)==6){b=c[D>>2]|0;if(b>>>0<(c[E>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=jN(a)|0;if((b|0)==48){k=0;b=0;while(1){k=lQ(k|0,b|0,-1,-1)|0;o=z;b=c[D>>2]|0;if(b>>>0<(c[E>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=jN(a)|0;if((b|0)==48)b=o;else{v=1;p=1;q=k;break}}}else{v=1;p=k;q=0;o=0}}c[G>>2]=0;n=b+-48|0;m=(b|0)==46;b:do if(m|n>>>0<10){A=G+496|0;w=0;k=0;u=0;x=v;C=p;v=m;y=n;p=0;m=0;c:while(1){do if(v)if(!x){x=1;n=C;q=p;o=m}else break c;else{p=lQ(p|0,m|0,1,0)|0;m=z;v=(b|0)!=48;if((k|0)>=125){if(!v){n=C;break}c[A>>2]=c[A>>2]|1;n=C;break}n=G+(k<<2)|0;if(!w)b=y;else b=b+-48+((c[n>>2]|0)*10|0)|0;c[n>>2]=b;w=w+1|0;n=(w|0)==9;w=n?0:w;k=(n&1)+k|0;u=v?p:u;n=1}while(0);b=c[D>>2]|0;if(b>>>0<(c[E>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=jN(a)|0;y=b+-48|0;v=(b|0)==46;if(!(v|y>>>0<10)){v=x;A=29;break b}else C=n}b=w;n=(C|0)!=0;A=37}else{w=0;k=0;u=0;n=p;p=0;m=0;A=29}while(0);do if((A|0)==29){C=(v|0)==0;q=C?p:q;o=C?m:o;n=(n|0)!=0;if(!(n&(b|32|0)==101))if((b|0)>-1){b=w;A=37;break}else{b=w;A=39;break}n=BO(a,h)|0;b=z;if((n|0)==0&(b|0)==-2147483648){if(!h){hN(a,0);i=0.0;break}if(!(c[E>>2]|0)){n=0;b=0}else{c[D>>2]=(c[D>>2]|0)+-1;n=0;b=0}}y=lQ(n|0,b|0,q|0,o|0)|0;b=w;o=z;A=41}while(0);if((A|0)==37)if(c[E>>2]|0){c[D>>2]=(c[D>>2]|0)+-1;if(n){y=q;A=41}else A=40}else A=39;if((A|0)==39)if(n){y=q;A=41}else A=40;do if((A|0)==40){c[8240]=22;hN(a,0);i=0.0}else if((A|0)==41){n=c[G>>2]|0;if(!n){i=+(g|0)*0.0;break}if(((m|0)<0|(m|0)==0&p>>>0<10)&((y|0)==(p|0)&(o|0)==(m|0))?(e|0)>30|(n>>>e|0)==0:0){i=+(g|0)*+(n>>>0);break}a=(f|0)/-2|0;E=((a|0)<0)<<31>>31;if((o|0)>(E|0)|(o|0)==(E|0)&y>>>0>a>>>0){c[8240]=34;i=+(g|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}a=f+-106|0;E=((a|0)<0)<<31>>31;if((o|0)<(E|0)|(o|0)==(E|0)&y>>>0>>0){c[8240]=34;i=+(g|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(b){if((b|0)<9){n=G+(k<<2)|0;m=c[n>>2]|0;do{m=m*10|0;b=b+1|0}while((b|0)!=9);c[n>>2]=m}k=k+1|0}if((u|0)<9?(u|0)<=(y|0)&(y|0)<18:0){b=c[G>>2]|0;if((y|0)==9){i=+(g|0)*+(b>>>0);break}if((y|0)<9){i=+(g|0)*+(b>>>0)/+(c[33516+(8-y<<2)>>2]|0);break}a=e+27+(O(y,-3)|0)|0;if((a|0)>30|(b>>>a|0)==0){i=+(g|0)*+(b>>>0)*+(c[33516+(y+-10<<2)>>2]|0);break}}b=(y|0)%9|0;if(!b){b=0;n=0}else{u=(y|0)>-1?b:b+9|0;p=c[33516+(8-u<<2)>>2]|0;if(k){q=1e9/(p|0)|0;n=0;o=0;m=y;b=0;do{D=G+(b<<2)|0;E=c[D>>2]|0;a=((E>>>0)/(p>>>0)|0)+n|0;c[D>>2]=a;n=O(q,(E>>>0)%(p>>>0)|0)|0;a=(b|0)==(o|0)&(a|0)==0;m=a?m+-9|0:m;o=a?o+1&127:o;b=b+1|0}while((b|0)!=(k|0));if(!n)n=o;else{c[G+(k<<2)>>2]=n;n=o;k=k+1|0}}else{n=0;k=0;m=y}b=0;y=9-u+m|0}d:while(1){u=(y|0)<18;v=(y|0)==18;w=G+(n<<2)|0;while(1){if(!u){if(!v){m=y;break d}if((c[w>>2]|0)>>>0>=9007199){m=18;break d}}m=0;x=k;k=k+127|0;while(1){o=k&127;p=G+(o<<2)|0;k=xQ(c[p>>2]|0,0,29)|0;k=lQ(k|0,z|0,m|0,0)|0;m=z;if(m>>>0>0|(m|0)==0&k>>>0>1e9){q=tQ(k|0,m|0,1e9,0)|0;k=uQ(k|0,m|0,1e9,0)|0}else q=0;c[p>>2]=k;a=(o|0)==(n|0);x=(k|0)==0&(((o|0)!=(x+127&127|0)|a)^1)?o:x;if(a)break;else{m=q;k=o+-1|0}}b=b+-29|0;if(q|0)break;else k=x}n=n+127&127;k=x+127&127;m=G+((x+126&127)<<2)|0;if((n|0)==(x|0))c[m>>2]=c[m>>2]|c[G+(k<<2)>>2];else k=x;c[G+(n<<2)>>2]=q;y=y+9|0}e:while(1){w=k+1&127;x=G+((k+127&127)<<2)|0;while(1){q=(m|0)==18;v=(m|0)>27?9:1;y=n;while(1){n=0;while(1){o=n+y&127;if((o|0)==(k|0)){F=2;A=88;break}o=c[G+(o<<2)>>2]|0;p=c[33548+(n<<2)>>2]|0;if(o>>>0

>>0){F=2;A=88;break}if(o>>>0>p>>>0)break;n=n+1|0;if((n|0)>=2){F=n;A=88;break}}if((A|0)==88?(A=0,q&(F|0)==2):0){i=0.0;o=0;break e}b=v+b|0;if((y|0)==(k|0))y=k;else break}q=(1<>>v;p=0;n=y;o=y;do{D=G+(o<<2)|0;E=c[D>>2]|0;a=(E>>>v)+p|0;c[D>>2]=a;p=O(E&q,u)|0;a=(o|0)==(n|0)&(a|0)==0;m=a?m+-9|0:m;n=a?n+1&127:n;o=o+1&127}while((o|0)!=(k|0));if(!p)continue;if((w|0)!=(n|0))break;c[x>>2]=c[x>>2]|1}c[G+(k<<2)>>2]=p;k=w}do{n=o+y&127;m=k+1&127;if((n|0)==(k|0)){c[G+(m+-1<<2)>>2]=0;k=m}i=i*1.0e9+ +((c[G+(n<<2)>>2]|0)>>>0);o=o+1|0}while((o|0)!=2);t=+(g|0);j=t*i;o=b+53|0;p=o-f|0;q=(p|0)<(e|0);n=q?((p|0)>0?p:0):e;if((n|0)<53){K=+DO(+CO(1.0,105-n|0),j);r=+EO(j,+CO(1.0,53-n|0));s=K;i=r;r=K+(j-r)}else{s=0.0;i=0.0;r=j}m=y+2&127;if((m|0)!=(k|0)){m=c[G+(m<<2)>>2]|0;do if(m>>>0>=5e8){if((m|0)!=5e8){i=t*.75+i;break}if((y+3&127|0)==(k|0)){i=t*.5+i;break}else{i=t*.75+i;break}}else{if((m|0)==0?(y+3&127|0)==(k|0):0)break;i=t*.25+i}while(0);if((53-n|0)>1?!(+EO(i,1.0)!=0.0):0)j=i+1.0;else j=i}else j=i;i=r+j-s;do if((o&2147483647|0)>(-2-H|0)){H=!(+B(+i)>=9007199254740992.0);b=((H^1)&1)+b|0;i=H?i:i*.5;if((b+50|0)<=(I|0)?!(j!=0.0&(q&((n|0)!=(p|0)|H))):0)break;c[8240]=34}while(0);i=+FO(i,b)}while(0);l=J;return +i}function BO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=a+4|0;e=c[k>>2]|0;j=a+100|0;if(e>>>0<(c[j>>2]|0)>>>0){c[k>>2]=e+1;e=d[e>>0]|0}else e=jN(a)|0;switch(e|0){case 43:case 45:{f=(e|0)==45&1;e=c[k>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[k>>2]=e+1;e=d[e>>0]|0}else e=jN(a)|0;if((b|0)!=0&(e+-48|0)>>>0>9?(c[j>>2]|0)!=0:0)c[k>>2]=(c[k>>2]|0)+-1;break}default:f=0}if((e+-48|0)>>>0>9)if(!(c[j>>2]|0)){f=-2147483648;e=0}else{c[k>>2]=(c[k>>2]|0)+-1;f=-2147483648;e=0}else{i=0;do{i=e+-48+(i*10|0)|0;e=c[k>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[k>>2]=e+1;e=d[e>>0]|0}else e=jN(a)|0;g=(e+-48|0)>>>0<10}while(g&(i|0)<214748364);b=((i|0)<0)<<31>>31;if(g){g=i;do{b=rQ(g|0,b|0,10,0)|0;g=z;e=lQ(e|0,((e|0)<0)<<31>>31|0,-48,-1)|0;g=lQ(e|0,z|0,b|0,g|0)|0;b=z;e=c[k>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[k>>2]=e+1;e=d[e>>0]|0}else e=jN(a)|0}while((e+-48|0)>>>0<10&((b|0)<21474836|(b|0)==21474836&g>>>0<2061584302));h=e;i=g}else h=e;e=c[j>>2]|0;if((h+-48|0)>>>0<10)do{g=c[k>>2]|0;if(g>>>0>>0){c[k>>2]=g+1;g=d[g>>0]|0}else{g=jN(a)|0;e=c[j>>2]|0}}while((g+-48|0)>>>0<10);if(e|0)c[k>>2]=(c[k>>2]|0)+-1;k=(f|0)!=0;e=mQ(0,0,i|0,b|0)|0;f=k?z:b;e=k?e:i}z=f;return e|0}function CO(a,b){a=+a;b=b|0;var d=0,e=0;if((b|0)<=1023){if((b|0)<-1022){a=a*2.2250738585072014e-308;d=b+1022|0;e=(d|0)<-1022;b=b+2044|0;a=e?a*2.2250738585072014e-308:a;b=e?((b|0)>-1022?b:-1022):d}}else{a=a*8988465674311579538646525.0e283;e=b+-1023|0;d=(e|0)>1023;b=b+-2046|0;a=d?a*8988465674311579538646525.0e283:a;b=d?((b|0)<1023?b:1023):e}d=xQ(b+1023|0,0,52)|0;e=z;c[j>>2]=d;c[j+4>>2]=e;return +(a*+h[j>>3])}function DO(a,b){a=+a;b=+b;return +(+qN(a,b))}function EO(a,b){a=+a;b=+b;return +(+GO(a,b))}function FO(a,b){a=+a;b=b|0;return +(+CO(a,b))}function GO(a,b){a=+a;b=+b;var d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h[j>>3]=a;i=c[j>>2]|0;l=c[j+4>>2]|0;h[j>>3]=b;n=c[j>>2]|0;o=c[j+4>>2]|0;e=wQ(i|0,l|0,52)|0;e=e&2047;m=wQ(n|0,o|0,52)|0;m=m&2047;p=l&-2147483648;g=xQ(n|0,o|0,1)|0;k=z;a:do if(!((g|0)==0&(k|0)==0)?(f=HO(b)|0,d=z&2147483647,!((e|0)==2047|(d>>>0>2146435072|(d|0)==2146435072&f>>>0>0))):0){d=xQ(i|0,l|0,1)|0;f=z;if(!(f>>>0>k>>>0|(f|0)==(k|0)&d>>>0>g>>>0))return +((d|0)==(g|0)&(f|0)==(k|0)?a*0.0:a);if(!e){d=xQ(i|0,l|0,12)|0;f=z;if((f|0)>-1|(f|0)==-1&d>>>0>4294967295){e=0;do{e=e+-1|0;d=xQ(d|0,f|0,1)|0;f=z}while((f|0)>-1|(f|0)==-1&d>>>0>4294967295)}else e=0;i=xQ(i|0,l|0,1-e|0)|0;g=z}else g=l&1048575|1048576;if(!m){f=xQ(n|0,o|0,12)|0;k=z;if((k|0)>-1|(k|0)==-1&f>>>0>4294967295){d=0;do{d=d+-1|0;f=xQ(f|0,k|0,1)|0;k=z}while((k|0)>-1|(k|0)==-1&f>>>0>4294967295)}else d=0;n=xQ(n|0,o|0,1-d|0)|0;m=d;l=z}else l=o&1048575|1048576;f=mQ(i|0,g|0,n|0,l|0)|0;d=z;k=(d|0)>-1|(d|0)==-1&f>>>0>4294967295;b:do if((e|0)>(m|0)){while(1){if(k){if((f|0)==0&(d|0)==0)break}else{f=i;d=g}i=xQ(f|0,d|0,1)|0;g=z;e=e+-1|0;f=mQ(i|0,g|0,n|0,l|0)|0;d=z;k=(d|0)>-1|(d|0)==-1&f>>>0>4294967295;if((e|0)<=(m|0))break b}b=a*0.0;break a}while(0);if(k){if((f|0)==0&(d|0)==0){b=a*0.0;break}}else{d=g;f=i}if(d>>>0<1048576|(d|0)==1048576&f>>>0<0)do{f=xQ(f|0,d|0,1)|0;d=z;e=e+-1|0}while(d>>>0<1048576|(d|0)==1048576&f>>>0<0);if((e|0)>0){o=lQ(f|0,d|0,0,-1048576)|0;d=z;e=xQ(e|0,0,52)|0;d=d|z;e=o|e}else{e=wQ(f|0,d|0,1-e|0)|0;d=z}c[j>>2]=e;c[j+4>>2]=d|p;b=+h[j>>3]}else q=3;while(0);if((q|0)==3){b=a*b;b=b/b}return +b}function HO(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;z=c[j+4>>2]|0;return b|0}function IO(b,c){b=b|0;c=c|0;var e=0,f=0,g=0;f=a[b>>0]|0;e=f&255;a:do if(f<<24>>24){g=f;do{f=a[c>>0]|0;if(!(f<<24>>24))break a;if(g<<24>>24!=f<<24>>24?(g=eN(e)|0,(g|0)!=(eN(f&255)|0)):0)break a;b=b+1|0;c=c+1|0;g=a[b>>0]|0;e=g&255}while(g<<24>>24!=0)}while(0);g=eN(e)|0;return g-(eN(d[c>>0]|0)|0)|0}function JO(b){b=b|0;var d=0,e=0,f=0;f=b;a:do if(!(f&3))e=4;else{d=f;while(1){if(!(a[b>>0]|0)){b=d;break a}b=b+1|0;d=b;if(!(d&3)){e=4;break}}}while(0);if((e|0)==4){while(1){d=c[b>>2]|0;if(!((d&-2139062144^-2139062144)&d+-16843009))b=b+4|0;else break}if((d&255)<<24>>24)do b=b+1|0;while((a[b>>0]|0)!=0)}return b-f|0}function KO(b,c){b=b|0;c=c|0;b=LO(b,c)|0;return ((a[b>>0]|0)==(c&255)<<24>>24?b:0)|0}function LO(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=d&255;a:do if(!f)b=b+(JO(b)|0)|0;else{if(b&3){e=d&255;do{g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break a;b=b+1|0}while((b&3|0)!=0)}f=O(f,16843009)|0;e=c[b>>2]|0;b:do if(!((e&-2139062144^-2139062144)&e+-16843009))do{g=e^f;if((g&-2139062144^-2139062144)&g+-16843009|0)break b;b=b+4|0;e=c[b>>2]|0}while(!((e&-2139062144^-2139062144)&e+-16843009|0));while(0);e=d&255;while(1){g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break;else b=b+1|0}}while(0);return b|0}function MO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=l;l=l+16|0;f=j;h=(e|0)==0?324392:e;g=c[h>>2]|0;do if(!d)if(!g)e=0;else i=14;else{b=(b|0)==0?f:b;e=a[d>>0]|0;if(g){e=e&255;d=e>>>3;if((d+-16|d+(g>>26))>>>0>7){i=14;break}e=e+-128|g<<6;if((e|0)>=0){c[h>>2]=0;c[b>>2]=e;e=1;break}}else{if(e<<24>>24>-1){c[b>>2]=e&255;e=e<<24>>24!=0&1;break}if(!(c[c[8271]>>2]|0)){c[b>>2]=e<<24>>24&57343;e=1;break}e=(e&255)+-194|0;if(e>>>0>50){i=14;break}e=c[32568+(e<<2)>>2]|0}c[h>>2]=e;e=-2}while(0);if((i|0)==14){c[h>>2]=0;c[8240]=84;e=-1}l=j;return e|0}function NO(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f;c[g>>2]=e;BN(a,b,d,g)|0;l=f;return}function OO(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0;if(!e)f=0;else{g=a[b>>0]|0;f=g&255;a:do if(g<<24>>24){h=g;do{e=e+-1|0;g=a[c>>0]|0;if(!((e|0)!=0&g<<24>>24!=0))break a;if(h<<24>>24!=g<<24>>24?(h=eN(f)|0,(h|0)!=(eN(g&255)|0)):0)break a;b=b+1|0;c=c+1|0;h=a[b>>0]|0;f=h&255}while(h<<24>>24!=0)}while(0);f=eN(f)|0;f=f-(eN(d[c>>0]|0)|0)|0}return f|0}function PO(a,b){a=a|0;b=b|0;QO(a,b);return a|0}function QO(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=d;a:do if(!((f^b)&3)){if(!(f&3))e=d;else while(1){f=a[d>>0]|0;a[b>>0]=f;if(!(f<<24>>24))break a;d=d+1|0;b=b+1|0;if(!(d&3)){e=d;break}}d=c[e>>2]|0;if(!((d&-2139062144^-2139062144)&d+-16843009))while(1){e=e+4|0;f=b+4|0;c[b>>2]=d;d=c[e>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0){b=f;break}else b=f}g=b;h=8}else{e=d;g=b;h=8}while(0);if((h|0)==8?(h=a[e>>0]|0,a[g>>0]=h,h<<24>>24):0){b=g;do{e=e+1|0;b=b+1|0;h=a[e>>0]|0;a[b>>0]=h}while(h<<24>>24!=0)}return}function RO(a){a=+a;var b=0,d=0,e=0,f=0.0,g=0.0;h[j>>3]=a;d=c[j+4>>2]|0;b=d&2147483647;do if(b>>>0>2146435071)a=a+a;else{if(b>>>0<1048576){h[j>>3]=a*18014398509481984.0;d=c[j+4>>2]|0;b=d&2147483647;if(!b)break;else e=696219795}else e=715094163;c[j>>2]=0;c[j+4>>2]=((b>>>0)/3|0)+e|d&-2147483648;g=+h[j>>3];f=g*g*(g/a);h[j>>3]=g*(f*(f*f)*(f*.14599619288661245+-.758397934778766)+(f*(f*1.6214297201053545+-1.8849797954337717)+1.87595182427177));d=lQ(c[j>>2]|0,c[j+4>>2]|0,-2147483648,0)|0;e=z;c[j>>2]=d&-1073741824;c[j+4>>2]=e;f=+h[j>>3];a=a/(f*f);a=f+f*((a-f)/(f+f+a))}while(0);return +a}function SO(a,b){a=+a;b=b|0;return +(+CO(a,b))}function TO(a){a=+a;var b=0,d=0,e=0,f=0,g=0.0,i=0.0,k=0.0,l=0.0,m=0.0;h[j>>3]=a;b=c[j>>2]|0;d=c[j+4>>2]|0;e=(d|0)<0;do if(e|d>>>0<1048576){if((b|0)==0&(d&2147483647|0)==0){a=-1.0/(a*a);break}if(e){a=(a-a)/0.0;break}else{h[j>>3]=a*18014398509481984.0;d=c[j+4>>2]|0;e=-1077;b=c[j>>2]|0;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[j>>2]=b;c[j+4>>2]=(f&1048575)+1072079006;k=+h[j>>3]+-1.0;i=k*(k*.5);l=k/(k+2.0);m=l*l;a=m*m;h[j>>3]=k-i;d=c[j+4>>2]|0;c[j>>2]=0;c[j+4>>2]=d;g=+h[j>>3];a=k-g-i+l*(i+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+m*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));m=g*.4342944818781689;i=+(e+(f>>>20)|0);l=i*.30102999566361177;k=l+m;a=k+(m+(l-k)+(a*.4342944818781689+(i*3.694239077158931e-13+(g+a)*2.5082946711645275e-11)))}return +a}function UO(a){a=+a;var b=0,d=0,e=0,f=0,g=0.0,i=0.0,k=0.0,l=0.0,m=0.0;h[j>>3]=a;b=c[j>>2]|0;d=c[j+4>>2]|0;e=(d|0)<0;do if(e|d>>>0<1048576){if((b|0)==0&(d&2147483647|0)==0){a=-1.0/(a*a);break}if(e){a=(a-a)/0.0;break}else{h[j>>3]=a*18014398509481984.0;d=c[j+4>>2]|0;e=-1077;b=c[j>>2]|0;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[j>>2]=b;c[j+4>>2]=(f&1048575)+1072079006;m=+h[j>>3]+-1.0;k=m*(m*.5);i=m/(m+2.0);l=i*i;a=l*l;h[j>>3]=m-k;d=c[j+4>>2]|0;c[j>>2]=0;c[j+4>>2]=d;g=+h[j>>3];a=m-g-k+i*(k+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+l*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));l=g*1.4426950407214463;k=+(e+(f>>>20)|0);i=k+l;a=i+(l+(k-i)+(a*1.4426950407214463+(g+a)*1.6751713164886512e-10))}return +a}function VO(a){a=+a;var b=0,d=0;h[j>>3]=a;d=c[j+4>>2]|0;b=d&2147483647;c[j>>2]=c[j>>2];c[j+4>>2]=b;a=+h[j>>3];do if(b>>>0>1071748074)if(b>>>0>1077149696){a=1.0-0.0/a;break}else{a=1.0-2.0/(+tN(a*2.0)+2.0);break}else{if(b>>>0>1070618798){a=+tN(a*2.0);a=a/(a+2.0);break}if(b>>>0>1048575){a=+tN(a*-2.0);a=-a/(a+2.0)}}while(0);return +((d|0)<0?-a:a)}function WO(a){a=+a;var b=0,d=0,e=0,f=0,g=0;h[j>>3]=a;b=c[j>>2]|0;d=c[j+4>>2]|0;e=wQ(b|0,d|0,52)|0;e=(e&2047)+-1011|0;if((e|0)>63)return +a;else{g=(e|0)<12;f=wQ(-1,-1,e|0)|0;f=g?-1:f;e=g?2147483647:z;c[j>>2]=b&~f;c[j+4>>2]=d&~e;return +((f&b|0)==0&(e&d|0)==0?a:+h[j>>3])}return 0.0}function XO(a){a=+a;var b=0,d=0,e=0;h[j>>3]=a;b=c[j>>2]|0;d=c[j+4>>2]|0;e=wQ(b|0,d|0,52)|0;switch(e&2047){case 0:{b=(b|0)!=0|(d&2147483647|0)!=0?3:2;break}case 2047:{b=(b|0)==0&(d&1048575|0)==0&1;break}default:b=4}return b|0}function YO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=O(c,b)|0;a=ZN(a,e,d)|0;if((a|0)==(e|0))a=(b|0)==0?0:c;else a=(a>>>0)/(b>>>0)|0;return a|0}function ZO(a){a=a|0;var b=0;if(c[a+68>>2]|0){b=c[a+116>>2]|0;a=a+112|0;if(b|0)c[b+112>>2]=c[a>>2];a=c[a>>2]|0;c[((a|0)==0?33128:a+116|0)>>2]=b}return}function _O(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;j=m;k=e&255;a[j>>0]=k;g=b+16|0;h=c[g>>2]|0;if(!h)if(!(_N(b)|0)){h=c[g>>2]|0;i=4}else f=-1;else i=4;do if((i|0)==4){i=b+20|0;g=c[i>>2]|0;if(g>>>0>>0?(f=e&255,(f|0)!=(a[b+75>>0]|0)):0){c[i>>2]=g+1;a[g>>0]=k;break}if((ig[c[b+36>>2]&63](b,j,1)|0)==1)f=d[j>>0]|0;else f=-1}while(0);l=m;return f|0}function $O(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;b=$M(Pa(195,e|0)|0)|0;l=d;return b|0}function aP(a){a=a|0;var b=0,c=0;c=(JO(a)|0)+1|0;b=TM(c)|0;if(!b)b=0;else CQ(b|0,a|0,c|0)|0;return b|0}function bP(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+48|0;h=i+32|0;g=i+16|0;e=i;if(MN(316023,a[d>>0]|0,4)|0){f=cP(d)|0;c[e>>2]=b;c[e+4>>2]=f|32768;c[e+8>>2]=438;e=$M(Wa(5,e|0)|0)|0;if((e|0)>=0){if(f&524288|0){c[g>>2]=e;c[g+4>>2]=2;c[g+8>>2]=1;Sa(221,g|0)|0}b=dP(e,d)|0;if(!b){c[h>>2]=e;Ya(6,h|0)|0;b=0}}else b=0}else{c[8240]=22;b=0}l=i;return b|0}function cP(b){b=b|0;var c=0,d=0,e=0;d=(KO(b,43)|0)==0;c=a[b>>0]|0;d=d?c<<24>>24!=114&1:2;e=(KO(b,120)|0)==0;d=e?d:d|128;b=(KO(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 dP(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+64|0;n=o+40|0;k=o+24|0;j=o+16|0;g=o;m=o+56|0;f=a[d>>0]|0;if(MN(316023,f<<24>>24,4)|0){e=TM(1156)|0;if(!e)e=0;else{h=e;i=h+124|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));if(!(KO(d,43)|0))c[e>>2]=f<<24>>24==114?8:4;if(KO(d,101)|0){c[g>>2]=b;c[g+4>>2]=2;c[g+8>>2]=1;Sa(221,g|0)|0;f=a[d>>0]|0}if(f<<24>>24==97){c[j>>2]=b;c[j+4>>2]=3;f=Sa(221,j|0)|0;if(!(f&1024)){c[k>>2]=b;c[k+4>>2]=4;c[k+8>>2]=f|1024;Sa(221,k|0)|0}d=c[e>>2]|128;c[e>>2]=d}else d=c[e>>2]|0;c[e+60>>2]=b;c[e+44>>2]=e+132;c[e+48>>2]=1024;f=e+75|0;a[f>>0]=-1;if((d&8|0)==0?(c[n>>2]=b,c[n+4>>2]=21523,c[n+8>>2]=m,(Xa(54,n|0)|0)==0):0)a[f>>0]=10;c[e+32>>2]=3;c[e+36>>2]=1;c[e+40>>2]=2;c[e+12>>2]=376;if(!(c[81083]|0))c[e+76>>2]=-1;eP(e)|0}}else{c[8240]=22;e=0}l=o;return e|0}function eP(a){a=a|0;var b=0;fP();b=c[81101]|0;c[a+56>>2]=b;if(b|0)c[b+52>>2]=a;c[81101]=a;gP();return a|0}function fP(){Ia(324396);return}function gP(){$a(324396);return}function hP(a){a=a|0;var b=0,d=0,e=0;ZO(a);e=(c[a>>2]&1|0)!=0;if(!e){fP();d=c[a+52>>2]|0;b=a+56|0;if(d|0)c[d+56>>2]=c[b>>2];b=c[b>>2]|0;if(b|0)c[b+52>>2]=d;if((c[81101]|0)==(a|0))c[81101]=b;gP()}b=iP(a)|0;b=gg[c[a+12>>2]&511](a)|0|b;d=c[a+92>>2]|0;if(d|0)UM(d);if(!e)UM(a);return b|0}function iP(a){a=a|0;var b=0;if(!a){if(!(c[8347]|0))a=0;else a=iP(c[8347]|0)|0;fP();b=c[81101]|0;if(b)do{if((c[b+20>>2]|0)>>>0>(c[b+28>>2]|0)>>>0)a=jP(b)|0|a;b=c[b+56>>2]|0}while((b|0)!=0);gP()}else a=jP(a)|0;return a|0}function jP(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+20|0;h=a+28|0;if((c[b>>2]|0)>>>0>(c[h>>2]|0)>>>0?(ig[c[a+36>>2]&63](a,0,0)|0,(c[b>>2]|0)==0):0)a=-1;else{d=a+4|0;e=c[d>>2]|0;f=a+8|0;g=c[f>>2]|0;if(e>>>0>>0)ig[c[a+40>>2]&63](a,e-g|0,1)|0;c[a+16>>2]=0;c[h>>2]=0;c[b>>2]=0;c[f>>2]=0;c[d>>2]=0;a=0}return a|0}function kP(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=e+-1|0;g=(f|0)!=0;a:do if((e|0)<2){i=a[33214]|0;a[33214]=i+255|i;if(g)b=0;else a[b>>0]=0}else{b:do if(g){e=b;while(1){g=c[8286]|0;j=g;k=(c[8287]|0)-j|0;h=MN(g,10,k)|0;i=(h|0)==0;h=i?k:1-j+h|0;h=h>>>0>>0?h:f;CQ(e|0,g|0,h|0)|0;g=(c[8286]|0)+h|0;c[8286]=g;e=e+h|0;h=f-h|0;if(!(i&(h|0)!=0))break b;if(g>>>0>=(c[8287]|0)>>>0){f=lN(33140)|0;if((f|0)<0)break;else i=f}else{c[8286]=g+1;i=d[g>>0]|0}f=h+-1|0;g=e+1|0;a[e>>0]=i;if(!((f|0)!=0&(i&255|0)!=10)){e=g;break b}else e=g}if((e|0)==(b|0)){b=0;break a}if(!(c[8285]&16)){b=0;break a}}else e=b;while(0);if(!b)b=0;else a[e>>0]=0}while(0);return b|0}function lP(a){a=a|0;return (c[a>>2]|0)>>>4&1|0}function mP(a){a=a|0;return (c[a>>2]|0)>>>5&1|0}function nP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;b=l;l=l+16|0;e=b;c[e>>2]=d;oP(a,280284,e);l=b;return}function oP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=l;l=l+128|0;e=g;f=e;h=f+124|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(h|0));c[e+32>>2]=51;c[e+44>>2]=a;c[e+76>>2]=-1;c[e+84>>2]=a;qP(e,b,d);l=g;return}function pP(a,b,c){a=a|0;b=b|0;c=c|0;return uP(a,b,c)|0}function qP(b,e,f){b=b|0;e=e|0;f=f|0;var i=0,j=0,k=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,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=l;l=l+288|0;H=M+8|0;I=M+17|0;J=M;K=M+16|0;i=a[e>>0]|0;a:do if(i<<24>>24){x=b+4|0;y=b+100|0;A=b+108|0;B=b+8|0;C=I+10|0;D=I+33|0;w=H+4|0;E=I+46|0;F=I+94|0;G=I+1|0;k=e;u=0;j=0;e=0;b:while(1){c:do if(!(kN(i&255)|0)){i=i<<24>>24==37;d:do if(i){o=k+1|0;m=a[o>>0]|0;e:do switch(m<<24>>24){case 37:break d;case 42:{v=0;k=k+2|0;break}default:{i=(m&255)+-48|0;if(i>>>0<10?(a[k+2>>0]|0)==36:0){v=rP(f,i)|0;k=k+3|0;break e}k=(c[f>>2]|0)+(4-1)&~(4-1);v=c[k>>2]|0;c[f>>2]=k+4;k=o}}while(0);i=a[k>>0]|0;m=i&255;if((m+-48|0)>>>0<10){o=0;do{o=(o*10|0)+-48+m|0;k=k+1|0;i=a[k>>0]|0;m=i&255}while((m+-48|0)>>>0<10)}else o=0;i=i<<24>>24==109;s=(v|0)!=0;j=i?0:j;e=i?0:e;k=i?k+1|0:k;i=s&i;m=k+1|0;switch(a[k>>0]|0){case 104:{t=(a[m>>0]|0)==104;p=t?-2:-1;k=t?k+2|0:m;break}case 108:{t=(a[m>>0]|0)==108;p=t?3:1;k=t?k+2|0:m;break}case 106:{p=3;k=m;break}case 116:case 122:{p=1;k=m;break}case 76:{p=2;k=m;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:{p=0;break}default:{L=134;break b}}r=d[k>>0]|0;t=(r&47|0)==3;r=t?r|32:r;t=t?1:p;q=r&255;switch(q<<24>>24){case 99:{o=(o|0)>1?o:1;break}case 91:break;case 110:{sP(v,t,u,((u|0)<0)<<31>>31);m=u;break c}default:{hN(b,0);do{m=c[x>>2]|0;if(m>>>0<(c[y>>2]|0)>>>0){c[x>>2]=m+1;m=d[m>>0]|0}else m=jN(b)|0}while((kN(m)|0)!=0);if(!(c[y>>2]|0))m=c[x>>2]|0;else{m=(c[x>>2]|0)+-1|0;c[x>>2]=m}u=(c[A>>2]|0)+u+m-(c[B>>2]|0)|0}}hN(b,o);m=c[x>>2]|0;p=c[y>>2]|0;if(m>>>0

>>0)c[x>>2]=m+1;else{if((jN(b)|0)<0){L=134;break b}p=c[y>>2]|0}if(p|0)c[x>>2]=(c[x>>2]|0)+-1;f:do switch(q<<24>>24){case 91:case 99:case 115:{s=(r|0)==99;g:do if((r|16|0)==115){EQ(G|0,-1,256)|0;a[I>>0]=0;if((r|0)==115){a[D>>0]=0;a[C>>0]=0;a[C+1>>0]=0;a[C+2>>0]=0;a[C+3>>0]=0;a[C+4>>0]=0}}else{m=k+1|0;r=(a[m>>0]|0)==94;q=r&1;k=r?k+2|0:m;EQ(G|0,r&1|0,256)|0;a[I>>0]=0;switch(a[k>>0]|0){case 45:{m=E;L=61;break}case 93:{m=F;L=61;break}default:r=(q^1)&255}if((L|0)==61){L=0;r=(q^1)&255;a[m>>0]=r;k=k+1|0}while(1){m=a[k>>0]|0;h:do switch(m<<24>>24){case 0:{L=134;break b}case 93:break g;case 45:{q=k+1|0;m=a[q>>0]|0;switch(m<<24>>24){case 93:case 0:{m=45;break h}default:{}}k=a[k+-1>>0]|0;if((k&255)<(m&255)){k=k&255;do{k=k+1|0;a[I+k>>0]=r;m=a[q>>0]|0}while((k|0)<(m&255|0));k=q}else k=q;break}default:{}}while(0);a[I+((m&255)+1)>>0]=r;k=k+1|0}}while(0);m=s?o+1|0:31;r=(t|0)==1;i:do if(r){if(i){e=TM(m<<2)|0;if(!e){i=0;e=0;break b}}else e=v;c[H>>2]=0;c[w>>2]=0;q=m;j=0;j:while(1){p=(e|0)==0;do{k:while(1){m=c[x>>2]|0;if(m>>>0<(c[y>>2]|0)>>>0){c[x>>2]=m+1;m=d[m>>0]|0}else m=jN(b)|0;if(!(a[I+(m+1)>>0]|0))break j;a[K>>0]=m;switch(MO(J,K,H)|0){case -1:{j=0;L=134;break b}case -2:break;default:break k}}if(!p){c[e+(j<<2)>>2]=c[J>>2];j=j+1|0}}while(!(i&(j|0)==(q|0)));j=q<<1|1;m=VM(e,j<<2)|0;if(!m){i=0;break b}else{t=q;q=j;e=m;j=t}}if(!(tP(H)|0)){j=0;L=134;break b}else{m=j;j=0;q=e}}else{if(i){j=TM(m)|0;if(!j){i=0;e=0;break b}else{p=m;e=0}while(1){do{m=c[x>>2]|0;if(m>>>0<(c[y>>2]|0)>>>0){c[x>>2]=m+1;m=d[m>>0]|0}else m=jN(b)|0;if(!(a[I+(m+1)>>0]|0)){m=e;q=0;e=0;break i}a[j+e>>0]=m;e=e+1|0}while((e|0)!=(p|0));e=p<<1|1;m=VM(j,e)|0;if(!m){i=j;e=0;break b}else{t=p;p=e;j=m;e=t}}}if(!v){j=p;while(1){e=c[x>>2]|0;if(e>>>0>>0){c[x>>2]=e+1;e=d[e>>0]|0}else e=jN(b)|0;if(!(a[I+(e+1)>>0]|0)){m=0;j=0;q=0;e=0;break i}j=c[y>>2]|0}}else{m=0;j=p;while(1){e=c[x>>2]|0;if(e>>>0>>0){c[x>>2]=e+1;e=d[e>>0]|0}else e=jN(b)|0;if(!(a[I+(e+1)>>0]|0)){j=v;q=0;e=0;break i}a[v+m>>0]=e;m=m+1|0;j=c[y>>2]|0}}}while(0);if(!(c[y>>2]|0))p=c[x>>2]|0;else{p=(c[x>>2]|0)+-1|0;c[x>>2]=p}p=p-(c[B>>2]|0)+(c[A>>2]|0)|0;if(!p){L=134;break b}if(!((p|0)==(o|0)|s^1)){L=134;break b}do if(i)if(r){c[v>>2]=q;break}else{c[v>>2]=j;break}while(0);if(!s){if(q|0)c[q+(m<<2)>>2]=0;if(!j)j=0;else a[j+m>>0]=0}break}case 120:case 88:case 112:{m=16;L=122;break}case 111:{m=8;L=122;break}case 117:case 100:{m=10;L=122;break}case 105:{m=0;L=122;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{n=+yO(b,t,0);if((c[A>>2]|0)==((c[B>>2]|0)-(c[x>>2]|0)|0)){L=134;break b}if(v)switch(t|0){case 0:{g[v>>2]=n;break f}case 1:{h[v>>3]=n;break f}case 2:{h[v>>3]=n;break f}default:break f}break}default:{}}while(0);do if((L|0)==122){L=0;m=iN(b,m,0,-1,-1)|0;if((c[A>>2]|0)==((c[B>>2]|0)-(c[x>>2]|0)|0)){L=134;break b}if(s&(r|0)==112){c[v>>2]=m;break}else{sP(v,t,m,z);break}}while(0);m=(c[A>>2]|0)+u+(c[x>>2]|0)-(c[B>>2]|0)|0;break c}while(0);k=k+(i&1)|0;hN(b,0);i=c[x>>2]|0;if(i>>>0<(c[y>>2]|0)>>>0){c[x>>2]=i+1;i=d[i>>0]|0}else i=jN(b)|0;if((i|0)!=(d[k>>0]|0)){L=20;break b}m=u+1|0}else{while(1){i=k+1|0;if(!(kN(d[i>>0]|0)|0))break;else k=i}hN(b,0);do{i=c[x>>2]|0;if(i>>>0<(c[y>>2]|0)>>>0){c[x>>2]=i+1;i=d[i>>0]|0}else i=jN(b)|0}while((kN(i)|0)!=0);if(!(c[y>>2]|0))i=c[x>>2]|0;else{i=(c[x>>2]|0)+-1|0;c[x>>2]=i}m=(c[A>>2]|0)+u+i-(c[B>>2]|0)|0}while(0);k=k+1|0;i=a[k>>0]|0;if(!(i<<24>>24))break a;else u=m}if((L|0)==20){if(!(c[y>>2]|0))break;c[x>>2]=(c[x>>2]|0)+-1;break}else if((L|0)==134)if(i)i=j;else break;UM(i);UM(e)}while(0);l=M;return}function rP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=l;l=l+16|0;d=e;c[d>>2]=c[a>>2];while(1){f=(c[d>>2]|0)+(4-1)&~(4-1);a=c[f>>2]|0;c[d>>2]=f+4;if(b>>>0>1)b=b+-1|0;else break}l=e;return a|0}function sP(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;a:do if(d|0)switch(e|0){case -2:{a[d>>0]=f;break a}case -1:{b[d>>1]=f;break a}case 0:{c[d>>2]=f;break a}case 1:{c[d>>2]=f;break a}case 3:{e=d;c[e>>2]=f;c[e+4>>2]=g;break a}default:break a}while(0);return}function tP(a){a=a|0;if(!a)a=1;else a=(c[a>>2]|0)==0;return a&1|0}function uP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a+84|0;g=c[e>>2]|0;h=d+256|0;f=MN(g,0,h)|0;f=(f|0)==0?h:f-g|0;d=f>>>0>>0?f:d;CQ(b|0,g|0,d|0)|0;c[a+4>>2]=g+d;b=g+f|0;c[a+8>>2]=b;c[e>>2]=b;return d|0}function vP(a,b,c){a=a|0;b=b|0;c=c|0;return xP(a,b,c)|0}function wP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=l;l=l+16|0;e=a;c[e>>2]=d;CN(32772,b,e)|0;l=a;return}function xP(a,b,c){a=a|0;b=b|0;c=c|0;return yP(a,b,c)|0}function yP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if((d|0)==1)b=b-(c[a+8>>2]|0)+(c[a+4>>2]|0)|0;e=a+20|0;f=a+28|0;if((c[e>>2]|0)>>>0>(c[f>>2]|0)>>>0?(ig[c[a+36>>2]&63](a,0,0)|0,(c[e>>2]|0)==0):0)b=-1;else{c[a+16>>2]=0;c[f>>2]=0;c[e>>2]=0;if((ig[c[a+40>>2]&63](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 zP(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;f=a[c>>0]|0;do if(f<<24>>24){b=KO(b,f<<24>>24)|0;if(b){e=a[c+1>>0]|0;if(e<<24>>24)if(a[b+1>>0]|0){d=a[c+2>>0]|0;if(!(d<<24>>24)){b=AP(b,f,e)|0;break}if(a[b+2>>0]|0){if(!(a[c+3>>0]|0)){b=BP(b,f,e,d)|0;break}if(a[b+3>>0]|0)if(!(a[c+4>>0]|0)){b=CP(b,c)|0;break}else{b=DP(b,c)|0;break}else b=0}else b=0}else b=0}else b=0}while(0);return b|0}function AP(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0;g=(c&255)<<8|e&255;f=d[b>>0]|0;while(1){e=b+1|0;c=a[e>>0]|0;if(!(c<<24>>24)){b=0;break}f=c&255|f<<8&65280;if((f|0)==(g|0))break;else b=e}return b|0}function BP(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0;g=(e&255)<<16|(c&255)<<24|(f&255)<<8;f=b+2|0;e=a[f>>0]|0;c=(d[b+1>>0]|0)<<16|(d[b>>0]|0)<<24|(e&255)<<8;e=e<<24>>24!=0;if(!((c|0)==(g|0)|e^1))do{f=f+1|0;e=a[f>>0]|0;c=(e&255|c)<<8;e=e<<24>>24!=0}while(!((c|0)==(g|0)|e^1));return (e?f+-2|0:0)|0}function CP(b,c){b=b|0;c=c|0;var e=0,f=0,g=0;f=(d[c+1>>0]|0)<<16|(d[c>>0]|0)<<24|(d[c+2>>0]|0)<<8|(d[c+3>>0]|0);c=b+3|0;g=a[c>>0]|0;e=g&255|((d[b+1>>0]|0)<<16|(d[b>>0]|0)<<24|(d[b+2>>0]|0)<<8);b=g<<24>>24!=0;if(!((e|0)==(f|0)|b^1))do{c=c+1|0;b=a[c>>0]|0;e=b&255|e<<8;b=b<<24>>24!=0}while(!((e|0)==(f|0)|b^1));return (b?c+-3|0:0)|0}function DP(b,d){b=b|0;d=d|0;var 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;v=l;l=l+1056|0;t=v+1024|0;u=v;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[t+16>>2]=0;c[t+20>>2]=0;c[t+24>>2]=0;c[t+28>>2]=0;e=a[d>>0]|0;a:do if(e<<24>>24){s=0;f=e;e=e&255;while(1){if(!(a[b+s>>0]|0)){e=0;break a}r=t+(((f&255)>>>5&255)<<2)|0;c[r>>2]=c[r>>2]|1<<(f&31);s=s+1|0;c[u+(e<<2)>>2]=s;e=a[d+s>>0]|0;if(!(e<<24>>24))break;else{f=e;e=e&255}}if(s>>>0>1){f=0;k=-1;g=1;b:while(1){h=1;e=f;while(1){f=g;c:while(1){j=1;while(1){g=a[d+(j+k)>>0]|0;i=a[d+f>>0]|0;if(g<<24>>24!=i<<24>>24)break c;if((j|0)==(h|0))break;j=j+1|0;f=j+e|0;if(f>>>0>=s>>>0){m=h;e=k;break b}}e=h+e|0;f=e+1|0;if(f>>>0>=s>>>0){m=h;e=k;break b}}h=f-k|0;if((g&255)<=(i&255))break;g=f+1|0;if(g>>>0>=s>>>0){m=h;e=k;break b}else e=f}g=e+2|0;if(g>>>0>=s>>>0){m=1;break}else{f=e+1|0;k=e}}h=0;n=-1;i=1;while(1){f=1;g=h;while(1){h=i;d:while(1){k=1;while(1){i=a[d+(k+n)>>0]|0;j=a[d+h>>0]|0;if(i<<24>>24!=j<<24>>24)break d;if((k|0)==(f|0))break;k=k+1|0;h=k+g|0;if(h>>>0>=s>>>0){h=m;g=n;i=27;break a}}g=f+g|0;h=g+1|0;if(h>>>0>=s>>>0){h=m;g=n;i=27;break a}}f=h-n|0;if((i&255)>=(j&255))break;i=h+1|0;if(i>>>0>=s>>>0){h=m;g=n;i=27;break a}else g=h}i=g+2|0;if(i>>>0>=s>>>0){h=m;f=1;i=27;break}else{h=g+1|0;n=g}}}else{h=1;e=-1;f=1;g=-1;i=27}}else{h=1;e=-1;s=0;f=1;g=-1;i=27}while(0);e:do if((i|0)==27){q=(g+1|0)>>>0>(e+1|0)>>>0;f=q?f:h;q=q?g:e;r=q+1|0;if(!(xN(d,d+f|0,r)|0))p=s-f|0;else{f=s-q+-1|0;p=0;f=(q>>>0>f>>>0?q:f)+1|0}k=s|63;m=s+-1|0;n=(p|0)!=0;o=s-f|0;e=b;j=0;g=b;while(1){h=e;do if((g-h|0)>>>0>>0){i=MN(g,0,k)|0;if(i)if((i-h|0)>>>0>>0){e=0;break e}else break;else{i=g+k|0;break}}else i=g;while(0);g=a[e+m>>0]|0;f:do if(!(1<<(g&31)&c[t+(((g&255)>>>5&255)<<2)>>2])){h=0;g=s}else{g=s-(c[u+((g&255)<<2)>>2]|0)|0;if(g|0){h=0;g=n&(j|0)!=0&g>>>0>>0?o:g;break}g=r>>>0>j>>>0?r:j;h=a[d+g>>0]|0;g:do if(!(h<<24>>24))g=r;else{while(1){if(h<<24>>24!=(a[e+g>>0]|0))break;g=g+1|0;h=a[d+g>>0]|0;if(!(h<<24>>24)){g=r;break g}}h=0;g=g-q|0;break f}while(0);while(1){if(g>>>0<=j>>>0)break e;g=g+-1|0;if((a[d+g>>0]|0)!=(a[e+g>>0]|0)){h=p;g=f;break}}}while(0);e=e+g|0;j=h;g=i}}while(0);l=v;return e|0}function EP(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+4304|0;k=m+16|0;j=m+8|0;d=m;f=m+96|0;h=m+20|0;e=m+4272|0;i=m+176|0;do if(b){c[d>>2]=b;c[d+4>>2]=2656256;d=$M(Wa(5,d|0)|0)|0;if((d|0)<0)b=0;else{mO(e,d);b=FP(e,i)|0;if((b|0)>=0?(a[i+b>>0]=0,lO(d,f),g=$O(i,h)|0,(g|0)>=0):0){if((c[f>>2]|0)==(c[h>>2]|0)?(c[f+72>>2]|0)==(c[h+72>>2]|0):0){c[j>>2]=d;Ya(6,j|0)|0;b=aP(i)|0;break}if(!g)c[8240]=40}c[k>>2]=d;Ya(6,k|0)|0;b=0}}else{c[8240]=22;b=0}while(0);l=m;return b|0}function FP(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=4095;b=$M(_a(85,e|0)|0)|0;l=d;return b|0}function GP(a){a=a|0;return HP(a)|0}function HP(a){a=a|0;return yQ(a|0)|0}function IP(a){a=a|0;return JP(a)|0}function JP(a){a=a|0;return zQ(a|0)|0}function KP(a,b,c){a=a|0;b=b|0;c=c|0;LP(a,b,c);return a|0}function LP(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=d;a:do if(!((g^b)&3)){f=(e|0)!=0;if(f&(g&3|0)!=0)do{g=a[d>>0]|0;a[b>>0]=g;if(!(g<<24>>24))break a;e=e+-1|0;d=d+1|0;b=b+1|0;f=(e|0)!=0}while(f&(d&3|0)!=0);if(f){if(a[d>>0]|0){b:do if(e>>>0>3){f=d;while(1){d=c[f>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0){d=f;break b}c[b>>2]=d;e=e+-4|0;d=f+4|0;b=b+4|0;if(e>>>0>3)f=d;else break}}while(0);h=11}}else e=0}else h=11;while(0);c:do if((h|0)==11)if(!e)e=0;else while(1){h=a[d>>0]|0;a[b>>0]=h;if(!(h<<24>>24))break c;e=e+-1|0;b=b+1|0;if(!e){e=0;break}else d=d+1|0}while(0);EQ(b|0,0,e|0)|0;return}function MP(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=l;l=l+32|0;f=g;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=a[d>>0]|0;do if(!(e<<24>>24))d=0;else{if(!(a[d+1>>0]|0)){d=b;while(1)if((a[d>>0]|0)==e<<24>>24)d=d+1|0;else break;d=d-b|0;break}do{h=f+(((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);e=a[b>>0]|0;a:do if(!(e<<24>>24))d=b;else{d=b;do{if(!(c[f+(((e&255)>>>5&255)<<2)>>2]&1<<(e&31)))break a;d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0)}while(0);d=d-b|0}while(0);l=g;return d|0}function NP(a){a=a|0;var b=0,e=0,f=0;do if((c[a+76>>2]|0)>=0?(EN()|0)!=0:0){b=a+4|0;e=c[b>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){c[b>>2]=e+1;b=d[e>>0]|0;break}else{b=lN(a)|0;break}}else f=3;while(0);do if((f|0)==3){b=a+4|0;e=c[b>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){c[b>>2]=e+1;b=d[e>>0]|0;break}else{b=lN(a)|0;break}}while(0);return b|0}function OP(a){a=a|0;return PP(a)|0}function PP(a){a=a|0;return yQ(a|0)|0}function QP(a){a=a|0;var b=0;b=316928;c[b>>2]=a+-1;c[b+4>>2]=0;return}function RP(){var a=0,b=0,d=0;b=316928;b=rQ(c[b>>2]|0,c[b+4>>2]|0,1284865837,1481765933)|0;b=lQ(b|0,z|0,1,0)|0;a=z;d=316928;c[d>>2]=b;c[d+4>>2]=a;a=wQ(b|0,a|0,33)|0;return a|0}function SP(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=328537;c[d+4>>2]=a;$M(Oa(15,d|0)|0)|0;l=b;return}function TP(){var a=0,b=0;a=l;l=l+16|0;b=a;c[b>>2]=328537;c[b+4>>2]=448;$M(Ua(39,b|0)|0)|0;l=a;return}function UP(a){a=a|0;return VP(a)|0}function VP(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=ig[c[a+40>>2]&63](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 WP(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=b&255;j=b&255;do if((c[d+76>>2]|0)>=0?(EN()|0)!=0:0){if((j|0)!=(a[d+75>>0]|0)?(g=d+20|0,h=c[g>>2]|0,h>>>0<(c[d+16>>2]|0)>>>0):0){c[g>>2]=h+1;a[h>>0]=i;break}_O(d,b)|0}else k=3;while(0);do if((k|0)==3){if((j|0)!=(a[d+75>>0]|0)?(e=d+20|0,f=c[e>>2]|0,f>>>0<(c[d+16>>2]|0)>>>0):0){c[e>>2]=f+1;a[f>>0]=i;break}_O(d,b)|0}while(0);return}function XP(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;j=O(e,d)|0;e=(d|0)==0?0:e;g=f+74|0;h=a[g>>0]|0;a[g>>0]=h+255|h;g=f+4|0;h=c[g>>2]|0;k=(c[f+8>>2]|0)-h|0;i=k>>>0>>0?k:j;if((k|0)>0){CQ(b|0,h|0,i|0)|0;c[g>>2]=h+i;g=j-i|0;b=b+i|0}else g=j;a:do if(g){i=f+32|0;while(1){if(mN(f)|0)break;h=ig[c[i>>2]&63](f,b,g)|0;if((h+1|0)>>>0<2)break;g=g-h|0;if(!g)break a;else b=b+h|0}e=((j-g|0)>>>0)/(d>>>0)|0}while(0);return e|0}function YP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=l;l=l+32|0;e=i+16|0;d=i;g=cP(305365)|0;iP(b)|0;do if(!a){a=b+60|0;if(g&524288|0){c[d>>2]=c[a>>2];c[d+4>>2]=2;c[d+8>>2]=1;Sa(221,d|0)|0}c[e>>2]=c[a>>2];c[e+4>>2]=4;c[e+8>>2]=g&-524481;if(($M(Sa(221,e|0)|0)|0)<0)h=11}else{a=bP(a,305365)|0;if(!a)h=11;else{d=a+60|0;e=c[d>>2]|0;f=c[b+60>>2]|0;if((e|0)!=(f|0)){if((ZP(e,f,g&524288)|0)<0){hP(a)|0;h=11;break}}else c[d>>2]=-1;c[b>>2]=c[b>>2]&1|c[a>>2];c[b+32>>2]=c[a+32>>2];c[b+36>>2]=c[a+36>>2];c[b+40>>2]=c[a+40>>2];c[b+12>>2]=c[a+12>>2];hP(a)|0}}while(0);if((h|0)==11){hP(b)|0;b=0}l=i;return b|0}function ZP(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=l;l=l+48|0;i=j+24|0;h=j+16|0;f=j;a:do if((a|0)!=(b|0)){g=(d&524288|0)!=0;b:do if(g)while(1){c[f>>2]=a;c[f+4>>2]=b;c[f+8>>2]=d;e=Ta(330,f|0)|0;switch(e|0){case -38:break b;case -16:break;default:break a}}while(0);do{c[h>>2]=a;c[h+4>>2]=b;e=Za(63,h|0)|0}while((e|0)==-16);if(g){c[i>>2]=b;c[i+4>>2]=2;c[i+8>>2]=1;Sa(221,i|0)|0}}else e=-22;while(0);i=$M(e)|0;l=j;return i|0}function _P(a){a=a|0;return UP(a)|0}function $P(a,b){a=a|0;b=b|0;var d=0;a=l;l=l+16|0;d=a;c[d>>2]=b;CN(33264,294455,d)|0;l=a;return}function aQ(){var a=0,b=0,d=0;d=l;l=l+16|0;b=d+8|0;a=d;c[a>>2]=328537;a=Ka(10,a|0)|0;if((a|0)==-21){c[b>>2]=328537;a=Va(40,b|0)|0}b=$M(a)|0;l=d;return b|0}function bQ(){cQ();return}function cQ(){a[33339]=-1;c[8328]=0;c[8316]=c[8316]|64;return}function dQ(a,b){a=a|0;b=b|0;return +(+eQ(a,b))}function eQ(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,g=0,h=0;h=l;l=l+128|0;g=h;d=g;f=d+124|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));f=g+4|0;c[f>>2]=a;d=g+8|0;c[d>>2]=-1;c[g+44>>2]=a;c[g+76>>2]=-1;hN(g,0);e=+yO(g,1,1);d=(c[f>>2]|0)-(c[d>>2]|0)+(c[g+108>>2]|0)|0;if(b|0)c[b>>2]=d|0?a+d|0:a;l=h;return +e}function fQ(b){b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;while(1){e=a[b>>0]|0;c=e<<24>>24;f=b+1|0;if(!(kN(c)|0))break;else b=f}switch(c|0){case 45:{b=1;g=5;break}case 43:{b=0;g=5;break}default:{h=0;d=b;b=e}}if((g|0)==5){h=b;d=f;b=a[f>>0]|0}c=(b<<24>>24)+-48|0;if(c>>>0<10){b=0;do{d=d+1|0;b=(b*10|0)-c|0;c=(a[d>>0]|0)+-48|0}while(c>>>0<10)}else b=0;return (h|0?b:0-b|0)|0}function gQ(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=l;l=l+32|0;f=h;e=a[d>>0]|0;a:do if(e<<24>>24!=0?(a[d+1>>0]|0)!=0: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;do{i=f+(((e&255)>>>5&255)<<2)|0;c[i>>2]=c[i>>2]|1<<(e&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);e=a[b>>0]|0;if(!(e<<24>>24))d=b;else{d=b;do{if(c[f+(((e&255)>>>5&255)<<2)>>2]&1<<(e&31)|0)break a;d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0)}}else g=3;while(0);if((g|0)==3)d=LO(b,e<<24>>24)|0;l=h;return d-b|0}function hQ(a,b){a=a|0;b=b|0;PO(a+(JO(a)|0)|0,b)|0;return a|0}function iQ(b,c){b=b|0;c=c|0;c=b+(gQ(b,c)|0)|0;return (a[c>>0]|0?c:0)|0}function jQ(){var a=0,b=0;b=l;l=l+16|0;a=b;c[a>>2]=328537;a=$M(Va(40,a|0)|0)|0;l=b;return a|0}function kQ(){}function lQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (z=b+d+(c>>>0>>0|0)>>>0,c|0)|0}function mQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (z=d,a-c>>>0|0)|0}function nQ(b){b=b|0;var c=0;c=a[n+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[n+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[n+(b>>>24)>>0]|0)+24|0}function oQ(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;l=a;j=b;k=j;h=d;n=e;i=n;if(!k){g=(f|0)!=0;if(!i){if(g){c[f>>2]=(l>>>0)%(h>>>0);c[f+4>>2]=0}n=0;f=(l>>>0)/(h>>>0)>>>0;return (z=n,f)|0}else{if(!g){n=0;f=0;return (z=n,f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;f=0;return (z=n,f)|0}}g=(i|0)==0;do if(h){if(!g){g=(R(i|0)|0)-(R(k|0)|0)|0;if(g>>>0<=31){m=g+1|0;i=31-g|0;b=g-31>>31;h=m;a=l>>>(m>>>0)&b|k<>>(m>>>0)&b;g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;n=0;f=0;return (z=n,f)|0}g=h-1|0;if(g&h|0){i=(R(h|0)|0)+33-(R(k|0)|0)|0;p=64-i|0;m=32-i|0;j=m>>31;o=i-32|0;b=o>>31;h=i;a=m-1>>31&k>>>(o>>>0)|(k<>>(i>>>0))&b;b=b&k>>>(i>>>0);g=l<>>(o>>>0))&j|l<>31;break}if(f|0){c[f>>2]=g&l;c[f+4>>2]=0}if((h|0)==1){o=j|b&0;p=a|0|0;return (z=o,p)|0}else{p=nQ(h|0)|0;o=k>>>(p>>>0)|0;p=k<<32-p|l>>>(p>>>0)|0;return (z=o,p)|0}}else{if(g){if(f|0){c[f>>2]=(k>>>0)%(h>>>0);c[f+4>>2]=0}o=0;p=(k>>>0)/(h>>>0)>>>0;return (z=o,p)|0}if(!l){if(f|0){c[f>>2]=0;c[f+4>>2]=(k>>>0)%(i>>>0)}o=0;p=(k>>>0)/(i>>>0)>>>0;return (z=o,p)|0}g=i-1|0;if(!(g&i)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=g&k|b&0}o=0;p=k>>>((nQ(i|0)|0)>>>0);return (z=o,p)|0}g=(R(i|0)|0)-(R(k|0)|0)|0;if(g>>>0<=30){b=g+1|0;i=31-g|0;h=b;a=k<>>(b>>>0);b=k>>>(b>>>0);g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;o=0;p=0;return (z=o,p)|0}while(0);if(!h){k=i;j=0;i=0}else{m=d|0|0;l=n|e&0;k=lQ(m|0,l|0,-1,-1)|0;d=z;j=i;i=0;do{e=j;j=g>>>31|j<<1;g=i|g<<1;e=a<<1|e>>>31|0;n=a>>>31|b<<1|0;mQ(k|0,d|0,e|0,n|0)|0;p=z;o=p>>31|((p|0)<0?-1:0)<<1;i=o&1;a=mQ(e|0,n|0,o&m|0,(((p|0)<0?-1:0)>>31|((p|0)<0?-1:0)<<1)&l|0)|0;b=z;h=h-1|0}while((h|0)!=0);k=j;j=0}h=0;if(f|0){c[f>>2]=a;c[f+4>>2]=b}o=(g|0)>>>31|(k|h)<<1|(h<<1|g>>>31)&0|j;p=(g<<1|0>>>31)&-2|i;return (z=o,p)|0}function pQ(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=b>>31|((b|0)<0?-1:0)<<1;i=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;f=d>>31|((d|0)<0?-1:0)<<1;e=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;h=mQ(j^a|0,i^b|0,j|0,i|0)|0;g=z;a=f^j;b=e^i;return mQ((oQ(h,g,mQ(f^c|0,e^d|0,f|0,e|0)|0,z,0)|0)^a|0,z^b|0,a|0,b|0)|0}function qQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=O(e,f)|0;d=a>>>16;a=(c>>>16)+(O(e,d)|0)|0;e=b>>>16;b=O(e,f)|0;return (z=(a>>>16)+(O(e,d)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|c&65535|0)|0}function rQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;c=qQ(e,f)|0;a=z;return (z=(O(b,f)|0)+(O(d,e)|0)+a|a&0,c|0|0)|0}function sQ(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=l;l=l+16|0;i=f|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=mQ(h^a|0,g^b|0,h|0,g|0)|0;b=z;oQ(a,b,mQ(k^d|0,j^e|0,k|0,j|0)|0,z,i)|0;e=mQ(c[i>>2]^h|0,c[i+4>>2]^g|0,h|0,g|0)|0;d=z;l=f;return (z=d,e)|0}function tQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return oQ(a,b,c,d,0)|0}function uQ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=l;l=l+16|0;f=g|0;oQ(a,b,d,e,f)|0;l=g;return (z=c[f+4>>2]|0,c[f>>2]|0)|0}function vQ(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){z=b>>c;return a>>>c|(b&(1<>c-32|0}function wQ(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){z=b>>>c;return a>>>c|(b&(1<>>c-32|0}function xQ(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){z=b<>>32-c;return a<>8&255|0}function zQ(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function AQ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;q=q+1|0;c[a>>2]=q;while((f|0)<(e|0)){if(!(c[d+(f<<3)>>2]|0)){c[d+(f<<3)>>2]=q;c[d+((f<<3)+4)>>2]=b;c[d+((f<<3)+8)>>2]=0;z=e;return d|0}f=f+1|0}e=e*2|0;d=VM(d|0,8*(e+1|0)|0)|0;d=AQ(a|0,b|0,d|0,e|0)|0;z=e;return d|0}function BQ(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 CQ(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192)return af(b|0,d|0,e|0)|0;h=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return h|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}e=g&-4|0;f=e-64|0;while((b|0)<=(f|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(e|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{e=g-4|0;while((b|0)<(e|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return h|0}function DQ(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 CQ(b,c,d)|0;return b|0}function EQ(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}f=h&-4|0;g=f-64|0;i=d|d<<8|d<<16|d<<24;while((b|0)<=(g|0)){c[b>>2]=i;c[b+4>>2]=i;c[b+8>>2]=i;c[b+12>>2]=i;c[b+16>>2]=i;c[b+20>>2]=i;c[b+24>>2]=i;c[b+28>>2]=i;c[b+32>>2]=i;c[b+36>>2]=i;c[b+40>>2]=i;c[b+44>>2]=i;c[b+48>>2]=i;c[b+52>>2]=i;c[b+56>>2]=i;c[b+60>>2]=i;b=b+64|0}while((b|0)<(f|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(h|0)){a[b>>0]=d;b=b+1|0}return h-e|0}function FQ(a){a=+a;return a>=0.0?+A(a+.5):+N(a-.5)}function GQ(a){a=a|0;var b=0,d=0;d=a+15&-16|0;b=c[i>>2]|0;a=b+d|0;if((d|0)>0&(a|0)<(b|0)|(a|0)<0){W()|0;Ja(12);return -1}c[i>>2]=a;if((a|0)>(V()|0)?(U()|0)==0:0){c[i>>2]=b;Ja(12);return -1}return b|0}function HQ(a,b){a=a|0;b=+b;return +cg[a&31](+b)}function IQ(a,b,c){a=a|0;b=+b;c=+c;return +dg[a&3](+b,+c)}function JQ(a,b){a=a|0;b=b|0;return +eg[a&1](b|0)}function KQ(a){a=a|0;return fg[a&7]()|0}function LQ(a,b){a=a|0;b=b|0;return gg[a&511](b|0)|0}function MQ(a,b,c){a=a|0;b=b|0;c=c|0;return hg[a&63](b|0,c|0)|0}function NQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ig[a&63](b|0,c|0,d|0)|0}function OQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return jg[a&31](b|0,c|0,d|0,e|0)|0}function PQ(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 kg[a&3](b|0,c|0,d|0,e|0,+f,g|0,h|0)|0}function QQ(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 lg[a&31](b|0,c|0,d|0,e|0,f|0)|0}function RQ(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 mg[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function SQ(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 ng[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function TQ(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 og[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function UQ(a){a=a|0;pg[a&15]()}function VQ(a,b){a=a|0;b=+b;qg[a&3](+b)}function WQ(a,b,c){a=a|0;b=+b;c=+c;rg[a&3](+b,+c)}function XQ(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;sg[a&3](+b,+c,+d,+e)}function YQ(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;tg[a&1](+b,+c,+d,+e,+f,+g)}function ZQ(a,b,c){a=a|0;b=+b;c=c|0;ug[a&1](+b,c|0)}function _Q(a,b){a=a|0;b=b|0;vg[a&511](b|0)}function $Q(a,b,c){a=a|0;b=b|0;c=+c;wg[a&3](b|0,+c)}function aR(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;xg[a&3](b|0,+c,+d)}function bR(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;yg[a&3](b|0,+c,+d,+e)}function cR(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;zg[a&3](b|0,+c,+d,+e,+f)}function dR(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=o|0;p=p|0;Ag[a&1](b|0,+c,+d,+e,+f,+g,+h,+i,+j,+k,+l,+m,+n,o|0,p|0)}function eR(a,b,c){a=a|0;b=b|0;c=c|0;Bg[a&255](b|0,c|0)}function fR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Cg[a&1](b|0,c|0,+d)}function gR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Dg[a&63](b|0,c|0,d|0)}function hR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Eg[a&63](b|0,c|0,d|0,e|0)}function iR(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Fg[a&15](b|0,c|0,d|0,e|0,f|0)}function jR(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;Gg[a&7](b|0,c|0,d|0,e|0,f|0,g|0)}function kR(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;Hg[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function lR(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;Ig[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function mR(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;Jg[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function nR(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;Kg[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0,l|0)}function oR(a,b,c,d,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;Lg[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0,l|0,m|0)}function pR(a,b,c,d,e,f,g,h,i,j,k,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;k=k|0;l=l|0;m=m|0;n=n|0;Mg[a&1](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)}function qR(a){a=+a;S(0);return 0.0}function rR(a,b){a=+a;b=+b;S(1);return 0.0}function sR(a){a=a|0;S(2);return 0.0}function tR(){S(3);return 0}function uR(){return Cb()|0}function vR(){return xc()|0}function wR(){return od()|0}function xR(a){a=a|0;S(4);return 0}function yR(a){a=a|0;return ub(a|0)|0}function zR(a){a=a|0;return Ab(a|0)|0}function AR(a){a=a|0;return vb(a|0)|0}function BR(a){a=a|0;return Db(a|0)|0}function CR(a){a=a|0;return nb(a|0)|0}function DR(a){a=a|0;return Cd(a|0)|0}function ER(a){a=a|0;return Sd(a|0)|0}function FR(a){a=a|0;return Md(a|0)|0}function GR(a){a=a|0;return Qd(a|0)|0}function HR(a){a=a|0;return yc(a|0)|0}function IR(a){a=a|0;return Rd(a|0)|0}function JR(a){a=a|0;return Pd(a|0)|0}function KR(a){a=a|0;return Od(a|0)|0}function LR(a){a=a|0;return Td(a|0)|0}function MR(a){a=a|0;return jc(a|0)|0}function NR(a){a=a|0;return Nd(a|0)|0}function OR(a,b){a=a|0;b=b|0;S(5);return 0}function PR(a,b){a=a|0;b=b|0;return rb(a|0,b|0)|0}function QR(a,b){a=a|0;b=b|0;return sb(a|0,b|0)|0}function RR(a,b){a=a|0;b=b|0;return yb(a|0,b|0)|0}function SR(a,b){a=a|0;b=b|0;return zb(a|0,b|0)|0}function TR(a,b){a=a|0;b=b|0;return Fd(a|0,b|0)|0}function UR(a,b){a=a|0;b=b|0;return ld(a|0,b|0)|0}function VR(a,b,c){a=a|0;b=b|0;c=c|0;S(6);return 0}function WR(a,b,c){a=a|0;b=b|0;c=c|0;return wb(a|0,b|0,c|0)|0}function XR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;S(7);return 0}function YR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return tb(a|0,b|0,c|0,d|0)|0}function ZR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return pb(a|0,b|0,c|0,d|0)|0}function _R(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qb(a|0,b|0,c|0,d|0)|0}function $R(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return xb(a|0,b|0,c|0,d|0)|0}function aS(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;S(8);return 0}function bS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;S(9);return 0}function cS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ob(a|0,b|0,c|0,d|0,e|0)|0}function dS(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;S(10);return 0}function eS(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;S(11);return 0}function fS(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;S(12);return 0}function gS(){S(13)}function hS(){Wd()}function iS(){be()}function jS(){Yc()}function kS(){Zc()}function lS(a){a=+a;S(14)}function mS(a){a=+a;mc(+a)}function nS(a){a=+a;nc(+a)}function oS(a){a=+a;Ud(+a)}function pS(a,b){a=+a;b=+b;S(15)}function qS(a,b){a=+a;b=+b;Kc(+a,+b)}function rS(a,b){a=+a;b=+b;Lc(+a,+b)}function sS(a,b){a=+a;b=+b;$d(+a,+b)}function tS(a,b,c,d){a=+a;b=+b;c=+c;d=+d;S(16)}function uS(a,b,c,d){a=+a;b=+b;c=+c;d=+d;de(+a,+b,+c,+d)}function vS(a,b,c,d){a=+a;b=+b;c=+c;d=+d;lc(+a,+b,+c,+d)}function wS(a,b,c,d){a=+a;b=+b;c=+c;d=+d;cc(+a,+b,+c,+d)}function xS(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;S(17)}function yS(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;bd(+a,+b,+c,+d,+e,+f)}function zS(a,b){a=+a;b=b|0;S(18)}function AS(a,b){a=+a;b=b|0;ee(+a,b|0)}function BS(a){a=a|0;S(19)}function CS(a){a=a|0;Fc(a|0)}function DS(a){a=a|0;sc(a|0)}function ES(a){a=a|0;Dc(a|0)}function FS(a){a=a|0;Vd(a|0)}function GS(a){a=a|0;Oe(a|0)}function HS(a){a=a|0;Pe(a|0)}function IS(a){a=a|0;Cc(a|0)}function JS(a){a=a|0;Wc(a|0)}function KS(a){a=a|0;pc(a|0)}function LS(a){a=a|0;bc(a|0)}function MS(a){a=a|0;Yd(a|0)}function NS(a){a=a|0;Xd(a|0)}function OS(a){a=a|0;Xc(a|0)}function PS(a){a=a|0;Oc(a|0)}function QS(a){a=a|0;Ic(a|0)}function RS(a){a=a|0;Vc(a|0)}function SS(a){a=a|0;Nc(a|0)}function TS(a){a=a|0;ad(a|0)}function US(a){a=a|0;zc(a|0)}function VS(a){a=a|0;kc(a|0)}function WS(a){a=a|0;oc(a|0)}function XS(a){a=a|0;Jc(a|0)}function YS(a){a=a|0;ke(a|0)}function ZS(a){a=a|0;hd(a|0)}function _S(a){a=a|0;Vb(a|0)}function $S(a){a=a|0;dc(a|0)}function aT(a,b){a=a|0;b=+b;S(20)}function bT(a,b){a=a|0;b=+b;ve(a|0,+b)}function cT(a,b){a=a|0;b=+b;Qe(a|0,+b)}function dT(a,b,c){a=a|0;b=+b;c=+c;S(21)}function eT(a,b,c){a=a|0;b=+b;c=+c;ze(a|0,+b,+c)}function fT(a,b,c){a=a|0;b=+b;c=+c;Se(a|0,+b,+c)}function gT(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;S(22)}function hT(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;De(a|0,+b,+c,+d)}function iT(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;Ue(a|0,+b,+c,+d)}function jT(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;S(23)}function kT(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;He(a|0,+b,+c,+d,+e)}function lT(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;We(a|0,+b,+c,+d,+e)}function mT(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=n|0;o=o|0;S(24)}function nT(a,b){a=a|0;b=b|0;S(25)}function oT(a,b){a=a|0;b=b|0;_d(a|0,b|0)}function pT(a,b){a=a|0;b=b|0;sd(a|0,b|0)}function qT(a,b){a=a|0;b=b|0;pd(a|0,b|0)}function rT(a,b){a=a|0;b=b|0;md(a|0,b|0)}function sT(a,b){a=a|0;b=b|0;fd(a|0,b|0)}function tT(a,b){a=a|0;b=b|0;Gc(a|0,b|0)}function uT(a,b){a=a|0;b=b|0;ac(a|0,b|0)}function vT(a,b){a=a|0;b=b|0;cd(a|0,b|0)}function wT(a,b){a=a|0;b=b|0;Ac(a|0,b|0)}function xT(a,b){a=a|0;b=b|0;ed(a|0,b|0)}function yT(a,b){a=a|0;b=b|0;Ec(a|0,b|0)}function zT(a,b){a=a|0;b=b|0;$b(a|0,b|0)}function AT(a,b){a=a|0;b=b|0;xe(a|0,b|0)}function BT(a,b){a=a|0;b=b|0;Yb(a|0,b|0)}function CT(a,b){a=a|0;b=b|0;Re(a|0,b|0)}function DT(a,b){a=a|0;b=b|0;Te(a|0,b|0)}function ET(a,b){a=a|0;b=b|0;Ve(a|0,b|0)}function FT(a,b){a=a|0;b=b|0;Xe(a|0,b|0)}function GT(a,b){a=a|0;b=b|0;Wb(a|0,b|0)}function HT(a,b){a=a|0;b=b|0;Mc(a|0,b|0)}function IT(a,b){a=a|0;b=b|0;Zb(a|0,b|0)}function JT(a,b){a=a|0;b=b|0;dd(a|0,b|0)}function KT(a,b){a=a|0;b=b|0;Bc(a|0,b|0)}function LT(a,b){a=a|0;b=b|0;_b(a|0,b|0)}function MT(a,b){a=a|0;b=b|0;ud(a|0,b|0)}function NT(a,b){a=a|0;b=b|0;gd(a|0,b|0)}function OT(a,b){a=a|0;b=b|0;Hc(a|0,b|0)}function PT(a,b){a=a|0;b=b|0;Ye(a|0,b|0)}function QT(a,b){a=a|0;b=b|0;fc(a|0,b|0)}function RT(a,b){a=a|0;b=b|0;ec(a|0,b|0)}function ST(a,b){a=a|0;b=b|0;le(a|0,b|0)}function TT(a,b){a=a|0;b=b|0;Ld(a|0,b|0)}function UT(a,b){a=a|0;b=b|0;Rc(a|0,b|0)}function VT(a,b,c){a=a|0;b=b|0;c=+c;S(26)}function WT(a,b,c){a=a|0;b=b|0;c=+c;qe(a|0,b|0,+c)}function XT(a,b,c){a=a|0;b=b|0;c=c|0;S(27)}function YT(a,b,c){a=a|0;b=b|0;c=c|0;Dd(a|0,b|0,c|0)}function ZT(a,b,c){a=a|0;b=b|0;c=c|0;Ed(a|0,b|0,c|0)}function _T(a,b,c){a=a|0;b=b|0;c=c|0;re(a|0,b|0,c|0)}function $T(a,b,c){a=a|0;b=b|0;c=c|0;te(a|0,b|0,c|0)}function aU(a,b,c){a=a|0;b=b|0;c=c|0;nd(a|0,b|0,c|0)}function bU(a,b,c){a=a|0;b=b|0;c=c|0;xd(a|0,b|0,c|0)}function cU(a,b,c){a=a|0;b=b|0;c=c|0;Gd(a|0,b|0,c|0)}function dU(a,b,c){a=a|0;b=b|0;c=c|0;Hd(a|0,b|0,c|0)}function eU(a,b,c){a=a|0;b=b|0;c=c|0;Jd(a|0,b|0,c|0)}function fU(a,b,c){a=a|0;b=b|0;c=c|0;Kd(a|0,b|0,c|0)}function gU(a,b,c){a=a|0;b=b|0;c=c|0;Id(a|0,b|0,c|0)}function hU(a,b,c){a=a|0;b=b|0;c=c|0;Be(a|0,b|0,c|0)}function iU(a,b,c){a=a|0;b=b|0;c=c|0;ye(a|0,b|0,c|0)}function jU(a,b,c){a=a|0;b=b|0;c=c|0;Ce(a|0,b|0,c|0)}function kU(a,b,c){a=a|0;b=b|0;c=c|0;Ge(a|0,b|0,c|0)}function lU(a,b,c){a=a|0;b=b|0;c=c|0;Ke(a|0,b|0,c|0)}function mU(a,b,c){a=a|0;b=b|0;c=c|0;we(a|0,b|0,c|0)}function nU(a,b,c){a=a|0;b=b|0;c=c|0;Ae(a|0,b|0,c|0)}function oU(a,b,c){a=a|0;b=b|0;c=c|0;Ee(a|0,b|0,c|0)}function pU(a,b,c){a=a|0;b=b|0;c=c|0;Ie(a|0,b|0,c|0)}function qU(a,b,c){a=a|0;b=b|0;c=c|0;Bd(a|0,b|0,c|0)}function rU(a,b,c){a=a|0;b=b|0;c=c|0;wd(a|0,b|0,c|0)}function sU(a,b,c){a=a|0;b=b|0;c=c|0;Xb(a|0,b|0,c|0)}function tU(a,b,c){a=a|0;b=b|0;c=c|0;td(a|0,b|0,c|0)}function uU(a,b,c){a=a|0;b=b|0;c=c|0;Zd(a|0,b|0,c|0)}function vU(a,b,c){a=a|0;b=b|0;c=c|0;Pc(a|0,b|0,c|0)}function wU(a,b,c){a=a|0;b=b|0;c=c|0;se(a|0,b|0,c|0)}function xU(a,b,c){a=a|0;b=b|0;c=c|0;ie(a|0,b|0,c|0)}function yU(a,b,c){a=a|0;b=b|0;c=c|0;me(a|0,b|0,c|0)}function zU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;S(28)}function AU(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 BU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ic(a|0,b|0,c|0,d|0)}function CU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Fe(a|0,b|0,c|0,d|0)}function DU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Le(a|0,b|0,c|0,d|0)}function EU(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 FU(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 GU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kd(a|0,b|0,c|0,d|0)}function HU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;he(a|0,b|0,c|0,d|0)}function IU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ad(a|0,b|0,c|0,d|0)}function JU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;yd(a|0,b|0,c|0,d|0)}function KU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;zd(a|0,b|0,c|0,d|0)}function LU(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 MU(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 NU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qd(a|0,b|0,c|0,d|0)}function OU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rd(a|0,b|0,c|0,d|0)}function PU(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 QU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;oe(a|0,b|0,c|0,d|0)}function RU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rc(a|0,b|0,c|0,d|0)}function SU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sc(a|0,b|0,c|0,d|0)}function TU(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 UU(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 VU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;fe(a|0,b|0,c|0,d|0)}function WU(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 XU(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 YU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gc(a|0,b|0,c|0,d|0)}function ZU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;je(a|0,b|0,c|0,d|0)}function _U(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 $U(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;S(29)}function aV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Je(a|0,b|0,c|0,d|0,e|0)}function bV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;$c(a|0,b|0,c|0,d|0,e|0)}function cV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ge(a|0,b|0,c|0,d|0,e|0)}function dV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Tc(a|0,b|0,c|0,d|0,e|0)}function eV(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;S(30)}function fV(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Uc(a|0,b|0,c|0,d|0,e|0,f|0)}function gV(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Ze(a|0,b|0,c|0,d|0,e|0,f|0)}function hV(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;S(31)}function iV(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;ae(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function jV(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;jd(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function kV(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;id(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function lV(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;S(32)}function mV(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;tc(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function nV(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;vc(a|0,b|0,c|0,d|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|0;h=c[C>>2]|0;a:do if(i>>>0>=h>>>0|(i|0)==316088)j=3;else{switch(c[g+24>>2]&15){case 0:{j=3;break a}case 5:{e=g;break}default:{Kx(b,1,281107);e=c[c[e>>2]>>2]|0;h=c[C>>2]|0}}g=e+32|0;if(h>>>0>>0){e=(e+24+4+(3-h)|0)>>>4;f=h;do{c[f+8>>2]=0;f=f+16|0}while(f>>>0>>0);c[C>>2]=h+(e+1<<4)}c[C>>2]=g;B=b+12|0}while(0);if((j|0)==3){if(h>>>0>>0){e=(g+8+4+(3-h)|0)>>>4;f=h;while(1){c[f+8>>2]=0;if(f>>>0>>0)f=f+16|0;else break}c[C>>2]=h+(e+1<<4)}c[C>>2]=i;e=b+12|0;if((c[(c[e>>2]|0)+12>>2]|0)>0)Ew(b);B=px(b)|0;j=c[C>>2]|0;c[j>>2]=B;c[j+8>>2]=69;c[C>>2]=(c[C>>2]|0)+16;mx(b,B,0,12);B=e}i=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;j=c[C>>2]|0;c[C>>2]=j+16;wx(b,g+40|0,j,j);j=c[C>>2]|0;f=j+-16|0;c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];j=c[C>>2]|0;c[C>>2]=j+16;f=j+-32|0;e=c[f>>2]|0;D=j;g=c[D+4>>2]|0;h=e+16|0;c[h>>2]=c[D>>2];c[h+4>>2]=g;a[e+6>>0]=c[j+8>>2];e=c[C>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(k=(c[f>>2]|0)+5|0,l=a[k>>0]|0,(l&4)!=0):0)?(m=c[e+-16>>2]|0,(a[m+5>>0]&3)!=0):0){f=c[B>>2]|0;if((d[f+61>>0]|0)<2){uw(f,m);e=c[C>>2]|0;break}else{a[k>>0]=a[f+60>>0]&3|l&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[i>>2]=0;c[i+4>>2]=0;a[i+8>>0]=1;e=i+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(aO(e)|0){D=i+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285901>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285901,e+16|0)|0){e=jx(b,285901,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;i=c[C>>2]|0;c[C>>2]=i+16;xx(b,g+-32|0,i,i+-16|0);c[C>>2]=(c[C>>2]|0)+-32;i=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;k=D;l=c[k+4>>2]|0;m=e+16|0;c[m>>2]=c[k>>2];c[m+4>>2]=l;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(n=(c[f>>2]|0)+5|0,o=a[n>>0]|0,(o&4)!=0):0)?(p=c[e+-16>>2]|0,(a[p+5>>0]&3)!=0):0){f=c[B>>2]|0;if((d[f+61>>0]|0)<2){uw(f,p);e=c[C>>2]|0;break}else{a[n>>0]=a[f+60>>0]&3|o&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[i>>2]=0;c[i+4>>2]=0;a[i+8>>0]=1;e=i+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(bO(e)|0){D=i+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285907>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285907,e+16|0)|0){e=jx(b,285907,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;i=c[C>>2]|0;c[C>>2]=i+16;xx(b,g+-32|0,i,i+-16|0);c[C>>2]=(c[C>>2]|0)+-32;i=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;n=D;o=c[n+4>>2]|0;p=e+16|0;c[p>>2]=c[n>>2];c[p+4>>2]=o;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(q=(c[f>>2]|0)+5|0,r=a[q>>0]|0,(r&4)!=0):0)?(s=c[e+-16>>2]|0,(a[s+5>>0]&3)!=0):0){f=c[B>>2]|0;if((d[f+61>>0]|0)<2){uw(f,s);e=c[C>>2]|0;break}else{a[q>>0]=a[f+60>>0]&3|r&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[i>>2]=0;c[i+4>>2]=0;a[i+8>>0]=1;e=i+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(cO(e)|0){D=i+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285913>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285913,e+16|0)|0){e=jx(b,285913,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;i=c[C>>2]|0;c[C>>2]=i+16;xx(b,g+-32|0,i,i+-16|0);c[C>>2]=(c[C>>2]|0)+-32;i=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;q=D;r=c[q+4>>2]|0;s=e+16|0;c[s>>2]=c[q>>2];c[s+4>>2]=r;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(t=(c[f>>2]|0)+5|0,u=a[t>>0]|0,(u&4)!=0):0)?(v=c[e+-16>>2]|0,(a[v+5>>0]&3)!=0):0){f=c[B>>2]|0;if((d[f+61>>0]|0)<2){uw(f,v);e=c[C>>2]|0;break}else{a[t>>0]=a[f+60>>0]&3|u&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[i>>2]=0;c[i+4>>2]=0;a[i+8>>0]=1;e=i+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if((e+-48|0)>>>0<10){D=i+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285919>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285919,e+16|0)|0){e=jx(b,285919,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;i=c[C>>2]|0;c[C>>2]=i+16;xx(b,g+-32|0,i,i+-16|0);c[C>>2]=(c[C>>2]|0)+-32;i=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;t=D;u=c[t+4>>2]|0;v=e+16|0;c[v>>2]=c[t>>2];c[v+4>>2]=u;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(w=(c[f>>2]|0)+5|0,x=a[w>>0]|0,(x&4)!=0):0)?(y=c[e+-16>>2]|0,(a[y+5>>0]&3)!=0):0){f=c[B>>2]|0;if((d[f+61>>0]|0)<2){uw(f,y);e=c[C>>2]|0;break}else{a[w>>0]=a[f+60>>0]&3|x&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[i>>2]=0;c[i+4>>2]=0;a[i+8>>0]=1;e=i+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(dO(e)|0){D=i+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285925>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285925,e+16|0)|0){e=jx(b,285925,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;i=c[C>>2]|0;c[C>>2]=i+16;xx(b,g+-32|0,i,i+-16|0);c[C>>2]=(c[C>>2]|0)+-32;i=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;w=D;x=c[w+4>>2]|0;y=e+16|0;c[y>>2]=c[w>>2];c[y+4>>2]=x;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if((c[e+-8>>2]&64|0)!=0?(z=(c[f>>2]|0)+5|0,A=a[z>>0]|0,(A&4)!=0):0){f=c[e+-16>>2]|0;if(!(a[f+5>>0]&3))break;g=c[B>>2]|0;if((d[g+61>>0]|0)<2){uw(g,f);e=c[C>>2]|0;break}else{a[z>>0]=a[g+60>>0]&3|A&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[i>>2]=0;c[i+4>>2]=0;a[i+8>>0]=1;e=i+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(pN(e)|0){D=i+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285931>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285931,e+16|0)|0){e=jx(b,285931,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;j=c[C>>2]|0;c[C>>2]=j+16;xx(b,g+-32|0,j,j+-16|0);c[C>>2]=(c[C>>2]|0)+-32;j=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;y=D;z=c[y+4>>2]|0;A=e+16|0;c[A>>2]=c[y>>2];c[A+4>>2]=z;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(c[e+-8>>2]&64){f=(c[f>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4))break;h=c[e+-16>>2]|0;if(!(a[h+5>>0]&3))break;i=c[B>>2]|0;if((d[i+61>>0]|0)<2){uw(i,h);e=c[C>>2]|0;break}else{a[f>>0]=a[i+60>>0]&3|g&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[j>>2]=0;c[j+4>>2]=0;a[j+8>>0]=1;e=j+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(eO(e)|0){D=j+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285937>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285937,e+16|0)|0){e=jx(b,285937,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;j=c[C>>2]|0;c[C>>2]=j+16;xx(b,g+-32|0,j,j+-16|0);c[C>>2]=(c[C>>2]|0)+-32;j=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;y=D;z=c[y+4>>2]|0;A=e+16|0;c[A>>2]=c[y>>2];c[A+4>>2]=z;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(c[e+-8>>2]&64){f=(c[f>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4))break;h=c[e+-16>>2]|0;if(!(a[h+5>>0]&3))break;i=c[B>>2]|0;if((d[i+61>>0]|0)<2){uw(i,h);e=c[C>>2]|0;break}else{a[f>>0]=a[i+60>>0]&3|g&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[j>>2]=0;c[j+4>>2]=0;a[j+8>>0]=1;e=j+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(fO(e)|0){D=j+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285943>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285943,e+16|0)|0){e=jx(b,285943,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;j=c[C>>2]|0;c[C>>2]=j+16;xx(b,g+-32|0,j,j+-16|0);c[C>>2]=(c[C>>2]|0)+-32;j=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;y=D;z=c[y+4>>2]|0;A=e+16|0;c[A>>2]=c[y>>2];c[A+4>>2]=z;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(c[e+-8>>2]&64){f=(c[f>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4))break;h=c[e+-16>>2]|0;if(!(a[h+5>>0]&3))break;i=c[B>>2]|0;if((d[i+61>>0]|0)<2){uw(i,h);e=c[C>>2]|0;break}else{a[f>>0]=a[i+60>>0]&3|g&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[j>>2]=0;c[j+4>>2]=0;a[j+8>>0]=1;e=j+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(kN(e)|0){D=j+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285949>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285949,e+16|0)|0){e=jx(b,285949,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;j=c[C>>2]|0;c[C>>2]=j+16;xx(b,g+-32|0,j,j+-16|0);c[C>>2]=(c[C>>2]|0)+-32;j=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;y=D;z=c[y+4>>2]|0;A=e+16|0;c[A>>2]=c[y>>2];c[A+4>>2]=z;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(c[e+-8>>2]&64){f=(c[f>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4))break;h=c[e+-16>>2]|0;if(!(a[h+5>>0]&3))break;i=c[B>>2]|0;if((d[i+61>>0]|0)<2){uw(i,h);e=c[C>>2]|0;break}else{a[f>>0]=a[i+60>>0]&3|g&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[j>>2]=0;c[j+4>>2]=0;a[j+8>>0]=1;e=j+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(fN(e)|0){D=j+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;f=(c[B>>2]|0)+280+(((285955>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285955,e+16|0)|0){e=jx(b,285955,5)|0;c[f>>2]=e}c[g>>2]=e;c[g+8>>2]=(a[e+4>>0]|64)&255;j=c[C>>2]|0;c[C>>2]=j+16;xx(b,g+-32|0,j,j+-16|0);c[C>>2]=(c[C>>2]|0)+-32;j=Uv(b,48)|0;g=c[B>>2]|0;h=c[C>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;D=c[C>>2]|0;c[C>>2]=D+16;wx(b,g+40|0,D,D);D=c[C>>2]|0;f=D+-16|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];D=c[C>>2]|0;c[C>>2]=D+16;f=D+-32|0;e=c[f>>2]|0;y=D;z=c[y+4>>2]|0;A=e+16|0;c[A>>2]=c[y>>2];c[A+4>>2]=z;a[e+6>>0]=c[D+8>>2];e=c[C>>2]|0;do if(c[e+-8>>2]&64){f=(c[f>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4))break;h=c[e+-16>>2]|0;if(!(a[h+5>>0]&3))break;i=c[B>>2]|0;if((d[i+61>>0]|0)<2){uw(i,h);e=c[C>>2]|0;break}else{a[f>>0]=a[i+60>>0]&3|g&-8;break}}while(0);c[C>>2]=e+-16;Ov(b,-2);c[j>>2]=0;c[j+4>>2]=0;a[j+8>>0]=1;e=j+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{if(gO(e)|0){D=j+((e>>3)+16)|0;a[D>>0]=d[D>>0]|0|1<<(e&7)}e=e+1|0}while((e|0)!=256);g=c[C>>2]|0;h=g+-32|0;e=(c[B>>2]|0)+280+(((285961>>>0)%127|0)<<2)|0;f=c[e>>2]|0;if(!(wN(285961,f+16|0)|0)){D=f;c[g>>2]=D;D=D+4|0;D=a[D>>0]|0;D=D|64;D=D&255;B=g+8|0;c[B>>2]=D;B=c[C>>2]|0;D=B+16|0;c[C>>2]=D;D=B+-16|0;xx(b,h,B,D);D=c[C>>2]|0;D=D+-32|0;c[C>>2]=D;return 1}else{D=jx(b,285961,6)|0;c[e>>2]=D;c[g>>2]=D;D=D+4|0;D=a[D>>0]|0;D=D|64;D=D&255;B=g+8|0;c[B>>2]=D;B=c[C>>2]|0;D=B+16|0;c[C>>2]=D;D=B+-16|0;xx(b,h,B,D);D=c[C>>2]|0;D=D+-32|0;c[C>>2]=D;return 1}return 0}function ZA(b){b=b|0;var d=0,e=0;e=b+12|0;d=c[e>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[e>>2]|0}e=d+280+(((285895>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(285895,d+16|0)|0){d=jx(b,285895,5)|0;c[e>>2]=d}b=b+8|0;e=c[b>>2]|0;c[e>>2]=d;c[e+8>>2]=(a[d+4>>0]|64)&255;c[b>>2]=(c[b>>2]|0)+16;return 1}function _A(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=Mx(b,1)|0;i=lQ(i|0,z|0,-1,-1)|0;h=z;if(!(h>>>0<0|(h|0)==0&i>>>0<21474836))Hx(b,1,285882)|0;g=c[c[b+16>>2]>>2]|0;h=b+8|0;d=c[h>>2]|0;i=g+32|0;if(d>>>0>>0){e=(g+24+4+(3-d)|0)>>>4;f=d;do{c[f+8>>2]=0;f=f+16|0}while(f>>>0>>0);c[h>>2]=d+(e+1<<4)}c[h>>2]=i;f=c[b+12>>2]|0;e=f+280+(((287613>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(287613,d+16|0)|0){d=jx(b,287613,13)|0;c[e>>2]=d}c[i>>2]=d;c[g+40>>2]=(a[d+4>>0]|64)&255;i=c[h>>2]|0;c[h>>2]=i+16;xx(b,f+40|0,i,i+-16|0);c[h>>2]=(c[h>>2]|0)+-32;return 0}function $A(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=(c[c[b+16>>2]>>2]|0)+16|0;j=b+8|0;d=c[j>>2]|0;e=e>>>0>>0?e:316088;f=c[e+8>>2]|0;switch(f&15){case 2:{if(c[e>>2]|0){e=(c[b+12>>2]|0)+244+((f&15)<<2)|0;g=5}break}case 7:{e=(c[e>>2]|0)+8|0;g=5;break}default:{}}if((g|0)==5){e=c[e>>2]|0;if(e){c[d>>2]=e;c[d+8>>2]=69;f=c[j>>2]|0;g=f+16|0;c[j>>2]=g;i=b+12|0;h=c[i>>2]|0;e=h+280+(((285773>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(285773,d+16|0)|0){d=jx(b,285773,12)|0;c[e>>2]=d}c[g>>2]=d;c[f+24>>2]=(a[d+4>>0]|64)&255;d=c[j>>2]|0;c[j>>2]=d+16;wx(b,h+40|0,d,d);d=c[j>>2]|0;e=d+-16|0;f=d+-32|0;if((e|0)!=316088&(f|0)!=316088){h=(Ax(0,e,f)|0)==0;d=c[j>>2]|0;if(!h){c[j>>2]=d+-32;d=c[i>>2]|0;if((c[d+12>>2]|0)>0){Ew(b);d=c[i>>2]|0}e=d+280+(((285874>>>0)%127|0)<<2)|0;d=c[e>>2]|0;if(wN(285874,d+16|0)|0){d=jx(b,285874,7)|0;c[e>>2]=d}b=c[j>>2]|0;c[b>>2]=d;c[b+8>>2]=(a[d+4>>0]|64)&255;b=c[j>>2]|0;b=b+16|0;c[j>>2]=b;return 1}}}}c[d+8>>2]=0;b=d;b=b+16|0;c[j>>2]=b;return 1}function aB(e,f,g){e=e|0;f=f|0;g=g|0;var i=0,k=0,m=0,n=0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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.0;ka=l;l=l+1088|0;ga=ka+1072|0;fa=ka+1064|0;ea=ka+1056|0;ca=ka+1048|0;U=ka+1040|0;X=ka+1032|0;W=ka+1024|0;V=ka+1016|0;T=ka+1008|0;r=ka+1e3|0;ha=ka;G=ka+1076|0;ia=e+16|0;p=c[ia>>2]|0;ja=(f|0)>0;do if(ja){i=(c[p>>2]|0)+(f<<4)|0;if(i>>>0<(c[e+8>>2]|0)>>>0){n=i;da=9}}else{if((f|0)>=-1000999){n=(c[e+8>>2]|0)+(f<<4)|0;da=9;break}if((f|0)==-1001e3){n=(c[e+12>>2]|0)+40|0;da=9;break}i=-1001e3-f|0;k=c[p>>2]|0;if((c[k+8>>2]|0)!=22?(m=c[k>>2]|0,(i|0)<=(d[m+6>>0]|0)):0){n=m+16+(i+-1<<4)|0;da=9}}while(0);a:do if((da|0)==9?(n|0)!=316088:0){b:do switch(c[n+8>>2]&15){case 4:{s=Fv(e,f,G)|0;i=c[G>>2]|0;if(!i){r=Uv(e,16)|0;p=e+12|0;n=c[p>>2]|0;m=e+8|0;o=c[m>>2]|0;k=n+280+(((285773>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(285773,i+16|0)|0){i=jx(e,285773,12)|0;c[k>>2]=i}c[o>>2]=i;c[o+8>>2]=(a[i+4>>0]|64)&255;ha=c[m>>2]|0;c[m>>2]=ha+16;wx(e,n+40|0,ha,ha);ha=c[m>>2]|0;k=ha+-16|0;c[ha>>2]=c[k>>2];c[ha+4>>2]=c[k+4>>2];c[ha+8>>2]=c[k+8>>2];c[ha+12>>2]=c[k+12>>2];ha=c[m>>2]|0;c[m>>2]=ha+16;k=ha+-32|0;i=c[k>>2]|0;ea=ha;fa=c[ea+4>>2]|0;ga=i+16|0;c[ga>>2]=c[ea>>2];c[ga+4>>2]=fa;a[i+6>>0]=c[ha+8>>2];i=c[m>>2]|0;do if(((c[i+-8>>2]&64|0)!=0?(y=(c[k>>2]|0)+5|0,B=a[y>>0]|0,(B&4)!=0):0)?(C=c[i+-16>>2]|0,(a[C+5>>0]&3)!=0):0){k=c[p>>2]|0;if((d[k+61>>0]|0)<2){uw(k,C);i=c[m>>2]|0;break}else{a[y>>0]=a[k+60>>0]&3|B&-8;break}}while(0);c[m>>2]=i+-16;Ov(e,-2);c[r>>2]=0;c[r+4>>2]=0;n=r+8|0;a[n>>0]=3;break b}p=Uv(e,i<<4)|0;o=e+12|0;m=c[o>>2]|0;r=e+8|0;n=c[r>>2]|0;k=m+280+(((285773>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(285773,i+16|0)|0){i=jx(e,285773,12)|0;c[k>>2]=i}c[n>>2]=i;c[n+8>>2]=(a[i+4>>0]|64)&255;ha=c[r>>2]|0;c[r>>2]=ha+16;wx(e,m+40|0,ha,ha);ha=c[r>>2]|0;k=ha+-16|0;c[ha>>2]=c[k>>2];c[ha+4>>2]=c[k+4>>2];c[ha+8>>2]=c[k+8>>2];c[ha+12>>2]=c[k+12>>2];ha=c[r>>2]|0;c[r>>2]=ha+16;k=ha+-32|0;i=c[k>>2]|0;ea=ha;fa=c[ea+4>>2]|0;ga=i+16|0;c[ga>>2]=c[ea>>2];c[ga+4>>2]=fa;a[i+6>>0]=c[ha+8>>2];i=c[r>>2]|0;do if(((c[i+-8>>2]&64|0)!=0?(v=(c[k>>2]|0)+5|0,w=a[v>>0]|0,(w&4)!=0):0)?(x=c[i+-16>>2]|0,(a[x+5>>0]&3)!=0):0){k=c[o>>2]|0;if((d[k+61>>0]|0)<2){uw(k,x);i=c[r>>2]|0;break}else{a[v>>0]=a[k+60>>0]&3|w&-8;break}}while(0);c[r>>2]=i+-16;Ov(e,-2);c[p>>2]=0;c[p+4>>2]=0;o=p+8|0;i=c[G>>2]|0;do if((i|0)>1){m=i+-1|0;i=p+((i<<4)+-8)|0;if(!s){k=o;n=0;while(1){a[k>>0]=6;c[k+4>>2]=2;a[k+8>>0]=0;c[k+12>>2]=0;n=n+1|0;if((n|0)==(m|0))break;else k=k+16|0}k=m;da=37;break}else{k=o;n=0;while(1){a[k>>0]=6;c[k+4>>2]=2;a[k+8>>0]=0;c[k+12>>2]=d[s+n>>0];n=n+1|0;if((n|0)==(m|0))break;else k=k+16|0}a[i>>0]=0;da=38;break}}else{i=o;k=0;da=37}while(0);if((da|0)==37){a[i>>0]=0;if(!s){k=i;i=0}else{m=k;da=38}}if((da|0)==38){k=i;i=d[s+m>>0]|0}c[k+4>>2]=i;m=r;n=o;break}case 3:{do if(!ja){if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}k=-1001e3-f|0;i=c[p>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}}else{i=(c[p>>2]|0)+(f<<4)|0;i=i>>>0<(c[e+8>>2]|0)>>>0?i:316088}while(0);k=c[i+8>>2]|0;do if((k|0)!=19){c:while(1){switch(k|0){case 3:{da=52;break c}case 19:{da=55;break c}default:{}}if((k&15|0)!=4){da=63;break}k=Iw((c[i>>2]|0)+16|0,ha)|0;i=c[i>>2]|0;if((a[i+4>>0]|0)==4)i=d[i+7>>0]|0;else i=c[i+12>>2]|0;if((k|0)!=(i+1|0)){da=63;break}i=ha;k=c[ha+8>>2]|0}if((da|0)==52){la=+h[i>>3];q=+A(+la);if(!(la!=q)?q>=-9223372036854775808.0&q<9223372036854775808.0:0){o=~~q>>>0;da=62}else da=63}else if((da|0)==55){o=i;o=c[o>>2]|0;da=62}if((da|0)==62){da=64;break}else if((da|0)==63)break}else{o=c[i>>2]|0;da=64}while(0);if((da|0)==64?o|0:0){if((o|0)>0){r=Uv(e,o<<4)|0;p=e+12|0;m=c[p>>2]|0;s=e+8|0;n=c[s>>2]|0;k=m+280+(((285773>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(285773,i+16|0)|0){i=jx(e,285773,12)|0;c[k>>2]=i}c[n>>2]=i;c[n+8>>2]=(a[i+4>>0]|64)&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c[k>>2]|0)+5|0,R=a[Q>>0]|0,(R&4)!=0):0)?(S=c[i+-16>>2]|0,(a[S+5>>0]&3)!=0):0){k=c[p>>2]|0;if((d[k+61>>0]|0)<2){uw(k,S);i=c[r>>2]|0;break}else{a[Q>>0]=a[k+60>>0]&3|R&-8;break}}while(0);c[r>>2]=i+-16;Ov(e,-2);c[s>>2]=0;c[s+4>>2]=0;p=s+8|0;a[p>>0]=8;i=s+16|0}if((o|0)>1){m=o+-1|0;k=i;n=0;while(1){a[k>>0]=6;c[k+4>>2]=2;a[k+8>>0]=2;c[k+12>>2]=0;n=n+1|0;if((n|0)==(m|0))break;else k=k+16|0}i=i+((o<<1)+-2<<3)|0}a[i>>0]=2;c[i+4>>2]=0;m=e+8|0;n=p;break b}r=Uv(e,16)|0;p=e+12|0;n=c[p>>2]|0;m=e+8|0;o=c[m>>2]|0;k=n+280+(((285773>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(285773,i+16|0)|0){i=jx(e,285773,12)|0;c[k>>2]=i}c[o>>2]=i;c[o+8>>2]=(a[i+4>>0]|64)&255;ha=c[m>>2]|0;c[m>>2]=ha+16;wx(e,n+40|0,ha,ha);ha=c[m>>2]|0;k=ha+-16|0;c[ha>>2]=c[k>>2];c[ha+4>>2]=c[k+4>>2];c[ha+8>>2]=c[k+8>>2];c[ha+12>>2]=c[k+12>>2];ha=c[m>>2]|0;c[m>>2]=ha+16;k=ha+-32|0;i=c[k>>2]|0;ea=ha;fa=c[ea+4>>2]|0;ga=i+16|0;c[ga>>2]=c[ea>>2];c[ga+4>>2]=fa;a[i+6>>0]=c[ha+8>>2];i=c[m>>2]|0;do if(((c[i+-8>>2]&64|0)!=0?(K=(c[k>>2]|0)+5|0,L=a[K>>0]|0,(L&4)!=0):0)?(M=c[i+-16>>2]|0,(a[M+5>>0]&3)!=0):0){k=c[p>>2]|0;if((d[k+61>>0]|0)<2){uw(k,M);i=c[m>>2]|0;break}else{a[K>>0]=a[k+60>>0]&3|L&-8;break}}while(0);c[m>>2]=i+-16;Ov(e,-2);c[r>>2]=0;c[r+4>>2]=0;n=r+8|0;a[n>>0]=3;break}case 1:{do if(!ja){if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}k=-1001e3-f|0;i=c[p>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}}else{i=(c[p>>2]|0)+(f<<4)|0;i=i>>>0<(c[e+8>>2]|0)>>>0?i:316088}while(0);switch(c[i+8>>2]|0){case 0:{s=0;break}case 1:{s=(c[i>>2]|0)!=0;break}default:s=1}r=Uv(e,16)|0;p=e+12|0;n=c[p>>2]|0;m=e+8|0;o=c[m>>2]|0;k=n+280+(((285773>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(285773,i+16|0)|0){i=jx(e,285773,12)|0;c[k>>2]=i}c[o>>2]=i;c[o+8>>2]=(a[i+4>>0]|64)&255;ha=c[m>>2]|0;c[m>>2]=ha+16;wx(e,n+40|0,ha,ha);ha=c[m>>2]|0;k=ha+-16|0;c[ha>>2]=c[k>>2];c[ha+4>>2]=c[k+4>>2];c[ha+8>>2]=c[k+8>>2];c[ha+12>>2]=c[k+12>>2];ha=c[m>>2]|0;c[m>>2]=ha+16;k=ha+-32|0;i=c[k>>2]|0;ea=ha;fa=c[ea+4>>2]|0;ga=i+16|0;c[ga>>2]=c[ea>>2];c[ga+4>>2]=fa;a[i+6>>0]=c[ha+8>>2];i=c[m>>2]|0;do if(((c[i+-8>>2]&64|0)!=0?(D=(c[k>>2]|0)+5|0,E=a[D>>0]|0,(E&4)!=0):0)?(F=c[i+-16>>2]|0,(a[F+5>>0]&3)!=0):0){k=c[p>>2]|0;if((d[k+61>>0]|0)<2){uw(k,F);i=c[m>>2]|0;break}else{a[D>>0]=a[k+60>>0]&3|E&-8;break}}while(0);c[m>>2]=i+-16;Ov(e,-2);c[r>>2]=0;c[r+4>>2]=0;i=r+8|0;if(s){a[i>>0]=3;n=i;break b}else{a[i>>0]=4;n=i;break b}}case 5:{m=e+8|0;K=(c[m>>2]|0)-((c[p>>2]|0)+16)|0;L=K>>4;M=L+2|0;J=L+1|0;N=e+12|0;if((c[(c[N>>2]|0)+12>>2]|0)>0)Ew(e);da=px(e)|0;i=c[m>>2]|0;c[i>>2]=da;c[i+8>>2]=69;c[m>>2]=(c[m>>2]|0)+16;Jv(e,f,1,0)|0;i=c[m>>2]|0;if(((c[i+-8>>2]&15)+-3|0)>>>0<2){o=i+-16|0;c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];c[i+12>>2]=c[o+12>>2];o=c[m>>2]|0;i=o+16|0;c[m>>2]=i;k=c[ia>>2]|0;do if(!ja){if((f|0)>=-1000999){i=i+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[N>>2]|0)+40|0;break}n=-1001e3-f|0;i=c[k>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(n|0)>(d[i+6>>0]|0)?316088:i+16+(n+-1<<4)|0}}else{da=(c[k>>2]|0)+(f<<4)|0;i=da>>>0>>0?da:316088}while(0);wx(e,i,o,o)}else{k=i;c[k>>2]=1;c[k+4>>2]=0;c[i+8>>2]=19;c[m>>2]=i+16;k=i;i=i+-16|0;do{c[ha>>2]=c[i>>2];c[ha+4>>2]=c[i+4>>2];c[ha+8>>2]=c[i+8>>2];c[ha+12>>2]=c[i+12>>2];c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];c[k>>2]=c[ha>>2];c[k+4>>2]=c[ha+4>>2];c[k+8>>2]=c[ha+8>>2];c[k+12>>2]=c[ha+12>>2];i=i+16|0;k=k+-16|0}while(i>>>0>>0)}i=c[m>>2]|0;k=i+-16|0;n=c[i+-8>>2]|0;switch(n&15){case 2:{if(!(c[k>>2]|0))da=150;else{k=(c[N>>2]|0)+244+((n&15)<<2)|0;da=143}break}case 7:{k=(c[k>>2]|0)+8|0;da=143;break}default:da=150}if((da|0)==143){k=c[k>>2]|0;if(k){c[i>>2]=k;c[i+8>>2]=69;n=c[m>>2]|0;o=n+16|0;c[m>>2]=o;p=c[N>>2]|0;k=p+280+(((285773>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(285773,i+16|0)|0){i=jx(e,285773,12)|0;c[k>>2]=i}c[o>>2]=i;c[n+24>>2]=(a[i+4>>0]|64)&255;i=c[m>>2]|0;c[m>>2]=i+16;wx(e,p+40|0,i,i);i=c[m>>2]|0;k=i+-16|0;n=i+-32|0;if((k|0)!=316088&(n|0)!=316088){S=(Ax(0,k,n)|0)==0;i=c[m>>2]|0;if(S)da=150;else c[m>>2]=i+-32}else da=150}else da=150}do if((da|0)==150){if((i+-16|0)!=316088?(c[i+-8>>2]&15|0)==0:0){Ix(e,285999,r);break}switch(c[i+-24>>2]&15){case 4:{i=i+-32|0;da=157;break}case 3:{if((c[(c[N>>2]|0)+12>>2]|0)>0){Ew(e);i=c[m>>2]|0}i=i+-32|0;Jw(e,i);da=157;break}default:i=0}if((da|0)==157)i=(c[i>>2]|0)+16|0;c[T>>2]=i;Ix(e,286027,T)}while(0);o=c[m>>2]|0;i=o+-32|0;c[o>>2]=c[i>>2];c[o+4>>2]=c[i+4>>2];c[o+8>>2]=c[i+8>>2];c[o+12>>2]=c[i+12>>2];o=c[m>>2]|0;i=o+16|0;c[i>>2]=1;c[i+4>>2]=0;c[o+24>>2]=19;i=o+32|0;c[m>>2]=i;k=c[ia>>2]|0;H=(K|0)>-16;do if(!H){if((J|0)>=-1000999){i=i+(J<<4)|0;break}if((J|0)==-1001e3){i=(c[N>>2]|0)+40|0;break}n=-1001001-L|0;i=c[k>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(n|0)>(d[i+6>>0]|0)?316088:i+16+(n+-1<<4)|0}}else{T=(c[k>>2]|0)+(J<<4)|0;i=T>>>0>>0?T:316088}while(0);xx(e,i,o,o+16|0);o=c[m>>2]|0;i=o+-32|0;c[m>>2]=i;I=L+3|0;k=c[ia>>2]|0;do if((K|0)<=-48){if((I|0)>=-1000999){i=i+(I<<4)|0;break}if((I|0)==-1001e3){i=(c[N>>2]|0)+40|0;break}n=-1001003-L|0;i=c[k>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(n|0)>(d[i+6>>0]|0)?316088:i+16+(n+-1<<4)|0}}else{T=(c[k>>2]|0)+(I<<4)|0;i=T>>>0>>0?T:316088}while(0);switch(c[i+8>>2]&63){case 4:{i=d[(c[i>>2]|0)+7>>0]|0;break}case 20:{i=c[(c[i>>2]|0)+12>>2]|0;break}case 7:{i=c[(c[i>>2]|0)+12>>2]|0;break}case 5:{i=qx(c[i>>2]|0)|0;break}default:i=0}i=((i+-16|0)>>>3)+3|0;c[o+-24>>2]=0;c[m>>2]=o+-16;d:do if(!(Sv(e,f)|0))C=1;else{t=(K|0)>-32;u=(M|0)<-1000999;v=(M|0)==-1001e3;w=-1001002-L|0;x=w+-1|0;y=ha+8|0;B=e+24|0;C=(J|0)<-1000999;D=(J|0)==-1001e3;E=-1001001-L|0;F=E+-1|0;G=e+28|0;s=1;while(1){e:while(1){k=c[m>>2]|0;n=k+-32|0;k=c[k+-24>>2]|0;f:do if((k|0)==3){q=+h[n>>3];da=195}else{do if((k|0)==19){da=n;q=+((c[da>>2]|0)>>>0)+4294967296.0*+(c[da+4>>2]|0)}else{if((k&15|0)==4){o=Iw((c[n>>2]|0)+16|0,ha)|0;k=c[n>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((o|0)==(k+1|0)){S=(c[y>>2]|0)==19;da=ha;T=c[da>>2]|0;da=c[da+4>>2]|0;c[j>>2]=T;c[j+4>>2]=da;q=S?+(T>>>0)+4294967296.0*+(da|0):+h[j>>3];break}}da=196;break f}while(0);da=195}while(0);if((da|0)==195?(da=0,!(q==1.0)):0)da=196;if((da|0)==196){da=0;n=c[ia>>2]|0;k=c[m>>2]|0;o=k+-32|0;do if(t){n=(c[n>>2]|0)+(M<<4)|0;n=n>>>0>>0?n:316088}else{if(!u){n=k+(M<<4)|0;break}if(v){n=(c[N>>2]|0)+40|0;break}n=c[n>>2]|0;if((c[n+8>>2]|0)==22)break e;n=c[n>>2]|0;n=(w|0)>(d[n+6>>0]|0)?316088:n+16+(x<<4)|0}while(0);if(!((o|0)!=316088&(n|0)!=316088))break;if(!(Ax(e,o,n)|0)){da=206;break}}c[m>>2]=(c[m>>2]|0)+-16;if(!(Sv(e,f)|0)){C=s;break d}}if((da|0)==206)k=c[m>>2]|0;n=k+-16|0;o=c[k+-8>>2]|0;switch(o&15){case 2:{if(!(c[n>>2]|0))da=219;else{n=(c[N>>2]|0)+244+((o&15)<<2)|0;da=212}break}case 7:{n=(c[n>>2]|0)+8|0;da=212;break}default:da=219}if((da|0)==212){da=0;n=c[n>>2]|0;if(n){c[k>>2]=n;c[k+8>>2]=69;o=c[m>>2]|0;p=o+16|0;c[m>>2]=p;r=c[N>>2]|0;n=r+280+(((285773>>>0)%127|0)<<2)|0;k=c[n>>2]|0;if(wN(285773,k+16|0)|0){k=jx(e,285773,12)|0;c[n>>2]=k}c[p>>2]=k;c[o+24>>2]=(a[k+4>>0]|64)&255;k=c[m>>2]|0;c[m>>2]=k+16;wx(e,r+40|0,k,k);k=c[m>>2]|0;n=k+-16|0;o=k+-32|0;if((n|0)!=316088&(o|0)!=316088){T=(Ax(0,n,o)|0)==0;k=c[m>>2]|0;if(T)da=219;else{k=k+-32|0;c[m>>2]=k}}else da=219}else da=219}if((da|0)==219){da=0;n=c[k+-24>>2]|0;switch(n&15){case 4:{k=k+-32|0;da=223;break}case 3:{if((c[(c[N>>2]|0)+12>>2]|0)>0){Ew(e);k=c[m>>2]|0}k=k+-32|0;Jw(e,k);da=223;break}default:{c[W>>2]=c[5104+(((k+-32|0)==316088?0:(n&15)+1|0)<<2)>>2];k=Hv(e,286062,W)|0}}if((da|0)==223){da=0;c[V>>2]=(c[k>>2]|0)+16;k=Hv(e,294455,V)|0}c[X>>2]=k;Ix(e,286069,X);k=c[m>>2]|0}c[ha>>2]=40;o=c[ia>>2]|0;n=k;do if(((c[B>>2]|0)-n|0)>640){n=40;da=230}else{if(((n-(c[G>>2]|0)>>4)+5|0)<=999960?(dw(e,168,ha)|0)==0:0){k=c[m>>2]|0;n=c[ha>>2]|0;da=230;break}c[U>>2]=286096;Ix(e,282039,U);k=c[m>>2]|0}while(0);if((da|0)==230){da=0;o=o+4|0;n=k+(n<<4)|0;if((c[o>>2]|0)>>>0>>0)c[o>>2]=n}o=k+-32|0;c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];c[k+12>>2]=c[o+12>>2];o=c[m>>2]|0;k=o+16|0;c[k>>2]=i;c[k+4>>2]=((i|0)<0)<<31>>31;c[o+24>>2]=19;k=o+32|0;c[m>>2]=k;n=c[ia>>2]|0;do if(!H){if(!C){k=k+(J<<4)|0;break}if(D){k=(c[N>>2]|0)+40|0;break}k=c[n>>2]|0;if((c[k+8>>2]|0)==22)k=316088;else{k=c[k>>2]|0;k=(E|0)>(d[k+6>>0]|0)?316088:k+16+(F<<4)|0}}else{T=(c[n>>2]|0)+(J<<4)|0;k=T>>>0>>0?T:316088}while(0);xx(e,k,o,o+16|0);n=c[m>>2]|0;o=n+-32|0;c[m>>2]=o;k=n+-48|0;switch(c[n+-40>>2]&63){case 4:{k=d[(c[k>>2]|0)+7>>0]|0;break}case 20:{k=c[(c[k>>2]|0)+12>>2]|0;break}case 7:{k=c[(c[k>>2]|0)+12>>2]|0;break}case 5:{k=qx(c[k>>2]|0)|0;break}default:k=0}i=i+2+((k+-16|0)>>>3)|0;k=n+-64|0;c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];c[o+8>>2]=c[k+8>>2];c[o+12>>2]=c[k+12>>2];c[m>>2]=(c[m>>2]|0)+16;k=s+1|0;if(!(Sv(e,f)|0)){C=k;break d}else s=k}}while(0);y=Uv(e,(i<<3)+16|0)|0;n=c[N>>2]|0;o=c[m>>2]|0;k=n+280+(((285773>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(285773,i+16|0)|0){i=jx(e,285773,12)|0;c[k>>2]=i}c[o>>2]=i;c[o+8>>2]=(a[i+4>>0]|64)&255;X=c[m>>2]|0;c[m>>2]=X+16;wx(e,n+40|0,X,X);X=c[m>>2]|0;k=X+-16|0;c[X>>2]=c[k>>2];c[X+4>>2]=c[k+4>>2];c[X+8>>2]=c[k+8>>2];c[X+12>>2]=c[k+12>>2];X=c[m>>2]|0;c[m>>2]=X+16;k=X+-32|0;i=c[k>>2]|0;U=X;V=c[U+4>>2]|0;W=i+16|0;c[W>>2]=c[U>>2];c[W+4>>2]=V;a[i+6>>0]=c[X+8>>2];i=c[m>>2]|0;do if(((c[i+-8>>2]&64|0)!=0?(Y=(c[k>>2]|0)+5|0,Z=a[Y>>0]|0,(Z&4)!=0):0)?(_=c[i+-16>>2]|0,(a[_+5>>0]&3)!=0):0){k=c[N>>2]|0;if((d[k+61>>0]|0)<2){uw(k,_);i=c[m>>2]|0;break}else{a[Y>>0]=a[k+60>>0]&3|Z&-8;break}}while(0);c[m>>2]=i+-16;Ov(e,-2);c[y>>2]=0;c[y+4>>2]=0;B=y+8|0;if((C|0)>=251)Hx(e,f,286096)|0;a[B>>0]=13;c[y+12>>2]=C;if((c[(c[N>>2]|0)+12>>2]|0)>0)Ew(e);k=px(e)|0;_=c[m>>2]|0;c[_>>2]=k;c[_+8>>2]=69;_=c[m>>2]|0;c[m>>2]=_+16;k=_+-16|0;i=c[k>>2]|0;X=_;Y=c[X+4>>2]|0;Z=i+16|0;c[Z>>2]=c[X>>2];c[Z+4>>2]=Y;a[i+6>>0]=c[_+8>>2];i=c[m>>2]|0;do if(((c[i+-8>>2]&64|0)!=0?($=(c[k>>2]|0)+5|0,aa=a[$>>0]|0,(aa&4)!=0):0)?(ba=c[i+-16>>2]|0,(a[ba+5>>0]&3)!=0):0){k=c[N>>2]|0;if((d[k+61>>0]|0)<2){uw(k,ba);i=c[m>>2]|0;break}else{a[$>>0]=a[k+60>>0]&3|aa&-8;break}}while(0);i=i+-16|0;c[m>>2]=i;x=y+16|0;if((C|0)>0){w=0;i=x;do{r=I+(w<<1)|0;o=Jx(e,r)|0;k=c[ia>>2]|0;s=(r|0)>0;do if(s){k=(c[k>>2]|0)+(r<<4)|0;k=k>>>0<(c[m>>2]|0)>>>0?k:316088}else{if((r|0)>=-1000999){k=(c[m>>2]|0)+(r<<4)|0;break}if((r|0)==-1001e3){k=(c[N>>2]|0)+40|0;break}n=-1001e3-r|0;k=c[k>>2]|0;if((c[k+8>>2]|0)==22){k=316088;break}k=c[k>>2]|0;k=(n|0)>(d[k+6>>0]|0)?316088:k+16+(n+-1<<4)|0}while(0);switch(c[k+8>>2]&63){case 4:{k=d[(c[k>>2]|0)+7>>0]|0;break}case 20:{k=c[(c[k>>2]|0)+12>>2]|0;break}case 7:{k=c[(c[k>>2]|0)+12>>2]|0;break}case 5:{k=qx(c[k>>2]|0)|0;break}default:k=0}p=(k+-16|0)>>>3;a[i>>0]=12;b[i+2>>1]=0;a[i+1>>0]=w;u=i+4|0;c[u>>2]=p+2;v=i+8|0;CQ(v|0,o+8|0,(p<<3)+8|0)|0;o=c[m>>2]|0;p=c[o+-16>>2]|0;aa=p+16|0;ba=c[aa+4>>2]|0;k=o;c[k>>2]=c[aa>>2];c[k+4>>2]=ba;c[o+8>>2]=d[p+6>>0];o=c[m>>2]|0;p=o+16|0;c[m>>2]=p;k=c[ia>>2]|0;do if(s){k=(c[k>>2]|0)+(r<<4)|0;k=k>>>0

>>0?k:316088}else{if((r|0)>=-1000999){k=p+(r<<4)|0;break}if((r|0)==-1001e3){k=(c[N>>2]|0)+40|0;break}n=-1001e3-r|0;k=c[k>>2]|0;if((c[k+8>>2]|0)==22){k=316088;break}k=c[k>>2]|0;k=(n|0)>(d[k+6>>0]|0)?316088:k+16+(n+-1<<4)|0}while(0);n=c[k>>2]|0;$=n+16|0;aa=c[$+4>>2]|0;ba=p;c[ba>>2]=c[$>>2];c[ba+4>>2]=aa;c[o+24>>2]=d[n+6>>0];n=c[m>>2]|0;c[m>>2]=n+16;g:do if((n|0)==316088)t=0;else{k=c[n+8>>2]|0;if((k&15|0)!=5){t=0;break}switch(k&63){case 4:{t=d[(c[n>>2]|0)+7>>0]|0;break g}case 20:{t=c[(c[n>>2]|0)+12>>2]|0;break g}case 7:{t=c[(c[n>>2]|0)+12>>2]|0;break g}case 5:{t=qx(c[n>>2]|0)|0;break g}default:{t=0;break g}}}while(0);o=n+-16|0;h:do if((o|0)==316088)k=0;else{k=c[n+-8>>2]|0;if((k&15|0)!=5){k=0;break}switch(k&63){case 4:{k=d[(c[o>>2]|0)+7>>0]|0;break h}case 20:{k=c[(c[o>>2]|0)+12>>2]|0;break h}case 7:{k=c[(c[o>>2]|0)+12>>2]|0;break h}case 5:{k=qx(c[o>>2]|0)|0;break h}default:{k=0;break h}}}while(0);if((k+t|0)>65535)Ix(e,286123,ca);do if(!t)k=0;else{if((t|0)<1)break;else s=1;while(1){p=((s|0)<0)<<31>>31;r=c[m>>2]|0;n=c[r+-16>>2]|0;o=lQ(s|0,p|0,-1,-1)|0;ba=z;i:do if(ba>>>0<0|((ba|0)==0?o>>>0<(c[n+8>>2]|0)>>>0:0))n=(c[n+12>>2]|0)+(o<<4)|0;else{n=(c[n+16>>2]|0)+(((1<>0])+-1&s)<<5)|0;while(1){if((c[n+24>>2]|0)==19?(ba=n+16|0,(c[ba>>2]|0)==(s|0)?(c[ba+4>>2]|0)==(p|0):0):0)break;o=c[n+28>>2]|0;if(!o){n=316088;break i}n=n+(o<<5)|0}}while(0);c[r>>2]=c[n>>2];c[r+4>>2]=c[n+4>>2];c[r+8>>2]=c[n+8>>2];c[r+12>>2]=c[n+12>>2];c[m>>2]=(c[m>>2]|0)+16;ba=s+k|0;Nv(e,-3,ba,((ba|0)<0)<<31>>31);if((s|0)==(t|0))break;else s=s+1|0}}while(0);c[m>>2]=(c[m>>2]|0)+-32;bB(v,k);i=i+(c[u>>2]<<3)|0;w=w+1|0}while((w|0)!=(C|0));k=c[m>>2]|0}else{k=i;i=x}a[i>>0]=3;o=c[k+-16>>2]|0;aa=o+16|0;ba=c[aa+4>>2]|0;ca=k;c[ca>>2]=c[aa>>2];c[ca+4>>2]=ba;c[k+8>>2]=d[o+6>>0];c[m>>2]=(c[m>>2]|0)+16;cB(e,J,B,x);o=y+18|0;if(!(b[o>>1]|0)){p=c[m>>2]|0;i=p+-16|0;switch(c[p+-8>>2]&63){case 4:{i=d[(c[i>>2]|0)+7>>0]|0;break}case 20:{i=c[(c[i>>2]|0)+12>>2]|0;break}case 7:{i=c[(c[i>>2]|0)+12>>2]|0;break}case 5:{i=qx(c[i>>2]|0)|0;break}default:i=0}n=i+1|0;i=c[ia>>2]|0;do if((K|0)>-32){i=(c[i>>2]|0)+(M<<4)|0;i=i>>>0

>>0?i:316088}else{if((M|0)>=-1000999){i=p+(M<<4)|0;break}if((M|0)==-1001e3){i=(c[N>>2]|0)+40|0;break}k=-1001002-L|0;i=c[i>>2]|0;if((c[i+8>>2]|0)==22){i=316088;break}i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}while(0);c[p>>2]=c[i>>2];c[p+4>>2]=c[i+4>>2];c[p+8>>2]=c[i+8>>2];c[p+12>>2]=c[i+12>>2];c[m>>2]=(c[m>>2]|0)+16;Nv(e,-2,n,((n|0)<0)<<31>>31);b[o>>1]=n}if((a[x>>0]|0)==12){i=x;do{if(b[i+2>>1]|0)dB(e,i+8|0,ha,0,0)|0;i=i+(c[i+4>>2]<<3)|0}while((a[i>>0]|0)==12);if((a[x>>0]|0)==12){p=x;do{i=b[p+2>>1]|0;do if(i<<16>>16){if(!(eB(p+8|0)|0))break;n=i&65535;o=c[m>>2]|0;i=c[o+-16>>2]|0;k=lQ(n|0,0,-1,-1)|0;ca=z;j:do if(ca>>>0<0|((ca|0)==0?k>>>0<(c[i+8>>2]|0)>>>0:0))i=(c[i+12>>2]|0)+(k<<4)|0;else{i=(c[i+16>>2]|0)+(((1<>0])+65535&n)<<5)|0;while(1){if((c[i+24>>2]|0)==19?(ca=i+16|0,(c[ca+4>>2]|0)==0?(c[ca>>2]|0)==(n|0):0):0)break;k=c[i+28>>2]|0;if(!k){i=316088;break j}i=i+(k<<5)|0}}while(0);c[o>>2]=c[i>>2];c[o+4>>2]=c[i+4>>2];c[o+8>>2]=c[i+8>>2];c[o+12>>2]=c[i+12>>2];k=c[m>>2]|0;i=k+16|0;c[m>>2]=i;switch(c[k+8>>2]&15){case 4:{i=k;da=353;break}case 3:{if((c[(c[N>>2]|0)+12>>2]|0)>0){Ew(e);i=c[m>>2]|0}i=i+-16|0;Jw(e,i);da=353;break}default:{if((k|0)==316088)i=-1;else i=c[k+8>>2]&15;c[fa>>2]=c[5104+(i+1<<2)>>2];i=Hv(e,286062,fa)|0}}if((da|0)==353){da=0;c[ea>>2]=(c[i>>2]|0)+16;i=Hv(e,294455,ea)|0}c[ga>>2]=i;Ix(e,286154,ga)}while(0);p=p+(c[p+4>>2]<<3)|0}while((a[p>>0]|0)==12)}}p=c[m>>2]|0;i=p+-16|0;c[m>>2]=i;r=C<<1;n=-2-r|0;k=p+-32|0;o=c[ia>>2]|0;do if((n|0)>0){ga=(c[o>>2]|0)+(n<<4)|0;i=ga>>>0>>0?ga:316088}else{if((n|0)>=-1000999){i=i+(n<<4)|0;break}if((n|0)==-1001e3){i=(c[N>>2]|0)+40|0;break}n=-1001e3-n|0;i=c[o>>2]|0;if((c[i+8>>2]|0)==22){i=316088;break}i=c[i>>2]|0;i=(n|0)>(d[i+6>>0]|0)?316088:i+16+(n+-1<<4)|0}while(0);n=p+-48|0;if(i>>>0>>0){o=i;do{c[ha>>2]=c[o>>2];c[ha+4>>2]=c[o+4>>2];c[ha+8>>2]=c[o+8>>2];c[ha+12>>2]=c[o+12>>2];c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[o+12>>2]=c[n+12>>2];c[n>>2]=c[ha>>2];c[n+4>>2]=c[ha+4>>2];c[n+8>>2]=c[ha+8>>2];c[n+12>>2]=c[ha+12>>2];o=o+16|0;n=n+-16|0}while(o>>>0>>0)}if(i>>>0>>0)do{c[ha>>2]=c[i>>2];c[ha+4>>2]=c[i+4>>2];c[ha+8>>2]=c[i+8>>2];c[ha+12>>2]=c[i+12>>2];c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];c[k>>2]=c[ha>>2];c[k+4>>2]=c[ha+4>>2];c[k+8>>2]=c[ha+8>>2];c[k+12>>2]=c[ha+12>>2];i=i+16|0;k=k+-16|0}while(i>>>0>>0);k=r^-2;if((C|0)>=0){c[m>>2]=(c[m>>2]|0)+((k|1)<<4);n=B;break b}i=c[c[ia>>2]>>2]|0;n=c[m>>2]|0;o=i+((k|1)<<4)|0;if(n>>>0>>0){i=(i+(k<<4)+8+4+(3-n)|0)>>>4;k=n;do{c[k+8>>2]=0;k=k+16|0}while(k>>>0>>0);c[m>>2]=n+(i+1<<4)}c[m>>2]=o;n=B;break}case 6:{r=Uv(e,24)|0;p=e+12|0;n=c[p>>2]|0;m=e+8|0;o=c[m>>2]|0;k=n+280+(((285773>>>0)%127|0)<<2)|0;i=c[k>>2]|0;if(wN(285773,i+16|0)|0){i=jx(e,285773,12)|0;c[k>>2]=i}c[o>>2]=i;c[o+8>>2]=(a[i+4>>0]|64)&255;ha=c[m>>2]|0;c[m>>2]=ha+16;wx(e,n+40|0,ha,ha);ha=c[m>>2]|0;k=ha+-16|0;c[ha>>2]=c[k>>2];c[ha+4>>2]=c[k+4>>2];c[ha+8>>2]=c[k+8>>2];c[ha+12>>2]=c[k+12>>2];ha=c[m>>2]|0;c[m>>2]=ha+16;k=ha+-32|0;i=c[k>>2]|0;ea=ha;fa=c[ea+4>>2]|0;ga=i+16|0;c[ga>>2]=c[ea>>2];c[ga+4>>2]=fa;a[i+6>>0]=c[ha+8>>2];i=c[m>>2]|0;do if(((c[i+-8>>2]&64|0)!=0?(s=(c[k>>2]|0)+5|0,t=a[s>>0]|0,(t&4)!=0):0)?(u=c[i+-16>>2]|0,(a[u+5>>0]&3)!=0):0){k=c[p>>2]|0;if((d[k+61>>0]|0)<2){uw(k,u);i=c[m>>2]|0;break}else{a[s>>0]=a[k+60>>0]&3|t&-8;break}}while(0);c[m>>2]=i+-16;Ov(e,-2);c[r>>2]=0;c[r+4>>2]=0;n=r+8|0;a[n>>0]=16;if((c[(c[p>>2]|0)+12>>2]|0)>0)Ew(e);ha=px(e)|0;k=c[m>>2]|0;c[k>>2]=ha;c[k+8>>2]=69;c[m>>2]=(c[m>>2]|0)+16;mx(e,ha,1,0);ha=c[m>>2]|0;k=ha+-32|0;i=c[k>>2]|0;ea=ha+-16|0;fa=c[ea+4>>2]|0;ga=i+16|0;c[ga>>2]=c[ea>>2];c[ga+4>>2]=fa;a[i+6>>0]=c[ha+-8>>2];i=c[m>>2]|0;do if(((c[i+-8>>2]&64|0)!=0?(H=(c[k>>2]|0)+5|0,I=a[H>>0]|0,(I&4)!=0):0)?(J=c[i+-16>>2]|0,(a[J+5>>0]&3)!=0):0){k=c[p>>2]|0;if((d[k+61>>0]|0)<2){uw(k,J);i=c[m>>2]|0;break}else{a[H>>0]=a[k+60>>0]&3|I&-8;break}}while(0);c[m>>2]=i+-16;b[r+10>>1]=fB(e,f)|0;a[r+16>>0]=3;break}default:break a}while(0);Dv(e,f);k=(c[m>>2]|0)+-16|0;c[m>>2]=k;if(!g){g=n;l=ka;return g|0}i=c[ia>>2]|0;do if(!ja){if((f|0)>=-1000999){i=k+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}k=-1001e3-f|0;i=c[i>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}}else{i=(c[i>>2]|0)+(f<<4)|0;i=i>>>0>>0?i:316088}while(0);switch(c[i+8>>2]&63){case 4:{i=d[(c[i>>2]|0)+7>>0]|0;break}case 20:{i=c[(c[i>>2]|0)+12>>2]|0;break}case 7:{i=c[(c[i>>2]|0)+12>>2]|0;break}case 5:{i=qx(c[i>>2]|0)|0;break}default:i=0}c[g>>2]=((i+-16|0)>>>3)+1;g=n;l=ka;return g|0}while(0);m=Jx(e,f)|0;if(g|0){i=c[ia>>2]|0;do if(!ja){if((f|0)>=-1000999){i=(c[e+8>>2]|0)+(f<<4)|0;break}if((f|0)==-1001e3){i=(c[e+12>>2]|0)+40|0;break}k=-1001e3-f|0;i=c[i>>2]|0;if((c[i+8>>2]|0)==22)i=316088;else{i=c[i>>2]|0;i=(k|0)>(d[i+6>>0]|0)?316088:i+16+(k+-1<<4)|0}}else{i=(c[i>>2]|0)+(f<<4)|0;i=i>>>0<(c[e+8>>2]|0)>>>0?i:316088}while(0);switch(c[i+8>>2]&63){case 4:{i=d[(c[i>>2]|0)+7>>0]|0;break}case 20:{i=c[(c[i>>2]|0)+12>>2]|0;break}case 7:{i=c[(c[i>>2]|0)+12>>2]|0;break}case 5:{i=qx(c[i>>2]|0)|0;break}default:i=0}c[g>>2]=((i+-16|0)>>>3)+1}g=m+8|0;l=ka;return g|0}function bB(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0;if(!e)return;a:while(1){g=a[d>>0]|0;h=g&255;b:do switch(g<<24>>24){case 12:case 16:case 10:case 11:{f=d+2|0;g=b[f>>1]|0;if(g<<16>>16)b[f>>1]=(g&65535)+e;break}case 15:{g=d+2|0;i=b[g>>1]|0;f=i&65535;if(i<<16>>16){switch(a[d+1>>0]|0){case 10:case 4:break b;default:{}}b[g>>1]=f+e}break}default:{}}while(0);switch(a[285756+h>>0]|0){case 1:{f=1;break}case 2:{bB(d+8|0,e);f=c[d+4>>2]|0;break}default:break a}d=d+(f<<3)|0}return}function cB(f,g,i,k){f=f|0;g=g|0;i=i|0;k=k|0;var 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,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;N=l;l=l+64|0;K=N+56|0;J=N+48|0;M=N+40|0;L=N+32|0;I=N+24|0;H=N+16|0;G=N;u=(i|0)==0;v=i;x=f+8|0;y=f+12|0;A=f+16|0;B=(g|0)>0;C=G+8|0;D=(g|0)<-1000999;E=(g|0)==-1001e3;F=-1001e3-g|0;w=F+-1|0;t=k;a:while(1){k=a[t>>0]|0;b:do switch(k<<24>>24){case 13:{s=64;break a}case 11:{r=t+2|0;o=e[r>>1]|0;p=c[x>>2]|0;k=c[p+-16>>2]|0;n=lQ(o|0,0,-1,-1)|0;q=z;c:do if(q>>>0<0|((q|0)==0?n>>>0<(c[k+8>>2]|0)>>>0:0))k=(c[k+12>>2]|0)+(n<<4)|0;else{k=(c[k+16>>2]|0)+(((1<>0])+65535&o)<<5)|0;while(1){if((c[k+24>>2]|0)==19?(q=k+16|0,(c[q+4>>2]|0)==0?(c[q>>2]|0)==(o|0):0):0)break;n=c[k+28>>2]|0;if(!n){k=316088;break c}k=k+(n<<5)|0}}while(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];o=c[x>>2]|0;k=o+16|0;c[x>>2]=k;if(u){n=c[o+8>>2]|0;switch(n&15){case 4:{k=o;s=55;break}case 3:{if((c[(c[y>>2]|0)+12>>2]|0)>0){Ew(f);k=c[x>>2]|0}k=k+-16|0;Jw(f,k);s=55;break}default:{c[J>>2]=c[5104+(((o|0)==316088?0:(n&15)+1|0)<<2)>>2];k=Hv(f,286062,J)|0}}if((s|0)==55){s=0;c[M>>2]=(c[k>>2]|0)+16;k=Hv(f,294455,M)|0}c[K>>2]=k;Ix(f,286278,K);k=a[t>>0]|0;break b}n=c[A>>2]|0;do if(!B){if(!D){k=k+(g<<4)|0;break}if(E){k=(c[y>>2]|0)+40|0;break}k=c[n>>2]|0;if((c[k+8>>2]|0)==22)k=316088;else{k=c[k>>2]|0;k=(F|0)>(d[k+6>>0]|0)?316088:k+16+(w<<4)|0}}else{q=(c[n>>2]|0)+(g<<4)|0;k=q>>>0>>0?q:316088}while(0);wx(f,k,o,o);k=c[x>>2]|0;n=k+-16|0;k=c[k+-8>>2]|0;d:do if((k|0)==3)m=+h[n>>3];else do if((k|0)==19){q=n;m=+((c[q>>2]|0)>>>0)+4294967296.0*+(c[q+4>>2]|0)}else{if((k&15|0)==4){o=Iw((c[n>>2]|0)+16|0,G)|0;k=c[n>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((o|0)==(k+1|0)){o=(c[C>>2]|0)==19;q=G;p=c[q>>2]|0;q=c[q+4>>2]|0;c[j>>2]=p;c[j+4>>2]=q;m=o?+(p>>>0)+4294967296.0*+(q|0):+h[j>>3];break}}m=0.0;break d}while(0);while(0);q=~~m;k=c[x>>2]|0;p=k+-16|0;c[x>>2]=p;if(!q){o=e[r>>1]|0;k=c[k+-32>>2]|0;n=lQ(o|0,0,-1,-1)|0;O=z;e:do if(O>>>0<0|((O|0)==0?n>>>0<(c[k+8>>2]|0)>>>0:0))k=(c[k+12>>2]|0)+(n<<4)|0;else{k=(c[k+16>>2]|0)+(((1<>0])+65535&o)<<5)|0;while(1){if((c[k+24>>2]|0)==19?(O=k+16|0,(c[O+4>>2]|0)==0?(c[O>>2]|0)==(o|0):0):0)break;n=c[k+28>>2]|0;if(!n){k=316088;break e}k=k+(n<<5)|0}}while(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];n=c[x>>2]|0;k=n+16|0;c[x>>2]=k;switch(c[n+8>>2]&15){case 4:{k=n;s=45;break}case 3:{if((c[(c[y>>2]|0)+12>>2]|0)>0){Ew(f);k=c[x>>2]|0}k=k+-16|0;Jw(f,k);s=45;break}default:{if((n|0)==316088)k=-1;else k=c[n+8>>2]&15;c[I>>2]=c[5104+(k+1<<2)>>2];k=Hv(f,286062,I)|0}}if((s|0)==45){s=0;c[H>>2]=(c[k>>2]|0)+16;k=Hv(f,294455,H)|0}c[L>>2]=k;Ix(f,286241,L)}a[t>>0]=10;k=q-(t-v>>3)|0;c[t+4>>2]=k;b[t+(k<<3)+2>>1]=b[r>>1]|0;k=10;break}case 7:case 6:{o=t+8|0;if((a[o>>0]|0)==k<<24>>24){p=t+4|0;q=t+12|0;r=t+16|0;do{n=c[q>>2]|0;O=(c[p>>2]|0)-n|0;DQ(o|0,r|0,(n<<3)+-8|0)|0;c[p>>2]=n;a[t+(n<<3)>>0]=k;c[t+(n<<3)+4>>2]=O;k=a[o>>0]|0;n=a[t>>0]|0}while(k<<24>>24==n<<24>>24);k=n}break}default:{}}while(0);switch(a[285756+(k&255)>>0]|0){case 1:{k=1;break}case 2:{cB(f,g,i,t+8|0);k=c[t+4>>2]|0;break}default:{s=64;break a}}t=t+(k<<3)|0}if((s|0)==64){l=N;return}}function dB(b,f,g,h,i){b=b|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;m=r+24|0;p=r+16|0;n=r+8|0;o=r;j=h;a:while(1){b:while(1){c:while(1){switch(a[f>>0]|0){case 4:case 2:case 1:case 0:{q=37;break a}case 14:case 3:{q=38;break a}case 13:{q=36;break a}case 12:break b;case 5:case 9:case 8:{i=1;h=1;break c}case 7:{q=9;break c}case 16:case 15:{h=1;break}case 10:{h=c[f+4>>2]|0;break}case 6:{if(!(dB(b,f+8|0,g,j,0)|0)){q=37;break a}h=c[f+4>>2]|0;break}default:{f=0;q=39;break a}}f=f+(h<<3)|0}if((q|0)==9){q=0;i=dB(b,f+8|0,g,j,i)|0;h=c[f+4>>2]|0}f=f+(h<<3)|0}if((j|0)>249){i=j;q=13;break}c[g+(j<<2)>>2]=e[f+2>>1];j=j+1|0;f=f+8|0}if((q|0)==13){d:while(1){q=0;h=i;i=i+-1|0;f=h+-2|0;if((f|0)<=-1){q=34;break}k=c[g+(i<<2)>>2]|0;while(1){if((k|0)==(c[g+(f<<2)>>2]|0))break d;if((f|0)>0)f=f+-1|0;else break}if((h|0)<=1){q=34;break}else q=13}if((q|0)==34){Ix(b,286210,m);q=0;l=r;return q|0}h=((k|0)<0)<<31>>31;g=b+8|0;j=c[g>>2]|0;f=c[j+-16>>2]|0;i=lQ(k|0,h|0,-1,-1)|0;m=z;e:do if(m>>>0<0|((m|0)==0?i>>>0<(c[f+8>>2]|0)>>>0:0))f=(c[f+12>>2]|0)+(i<<4)|0;else{f=(c[f+16>>2]|0)+(((1<>0])+-1&k)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(m=f+16|0,(c[m>>2]|0)==(k|0)?(c[m+4>>2]|0)==(h|0):0):0)break;i=c[f+28>>2]|0;if(!i){f=316088;break e}f=f+(i<<5)|0}}while(0);c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];i=c[g>>2]|0;f=i+16|0;c[g>>2]=f;switch(c[i+8>>2]&15){case 4:{f=i;q=29;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){Ew(b);f=c[g>>2]|0}f=f+-16|0;Jw(b,f);q=29;break}default:{if((i|0)==316088)f=0;else f=(c[i+8>>2]&15)+1|0;c[n>>2]=c[5104+(f<<2)>>2];f=Hv(b,286062,n)|0}}if((q|0)==29){c[o>>2]=(c[f>>2]|0)+16;f=Hv(b,294455,o)|0}c[p>>2]=f;Ix(b,286178,p);q=0;l=r;return q|0}else if((q|0)==36){q=pB(f,0)|0;l=r;return q|0}else if((q|0)==37){q=i;l=r;return q|0}else if((q|0)==38){q=1;l=r;return q|0}else if((q|0)==39){l=r;return f|0}return 0}function eB(b){b=b|0;var d=0;a:while(1){d=a[b>>0]|0;switch(d<<24>>24){case 13:{b=0;d=8;break a}case 5:{if(pB(b+8|0,0)|0){b=1;d=8;break a}break}default:{}}switch(a[285756+(d&255)>>0]|0){case 1:{d=1;break}case 2:{if(eB(b+8|0)|0){b=1;d=8;break a}d=c[b+4>>2]|0;break}default:{b=0;d=8;break a}}b=b+(d<<3)|0}if((d|0)==8)return b|0;return 0}function fB(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+16|0;i=o;k=a+16|0;e=c[k>>2]|0;n=(b|0)>0;do if(n){e=(c[e>>2]|0)+(b<<4)|0;if(e>>>0<(c[a+8>>2]|0)>>>0){h=e;m=9}}else{if((b|0)>=-1000999){h=(c[a+8>>2]|0)+(b<<4)|0;m=9;break}if((b|0)==-1001e3){h=(c[a+12>>2]|0)+40|0;m=9;break}f=-1001e3-b|0;e=c[e>>2]|0;if((c[e+8>>2]|0)!=22?(g=c[e>>2]|0,(f|0)<=(d[g+6>>0]|0|0)):0){h=g+16+(f+-1<<4)|0;m=9}}while(0);if(((m|0)==9?(h|0)!=316088:0)?(c[h+8>>2]&15|0)==0:0){a=0;l=o;return a|0}j=a+8|0;e=c[j>>2]|0;g=c[e+-16>>2]|0;p=g+16|0;f=c[p+4>>2]|0;h=e;c[h>>2]=c[p>>2];c[h+4>>2]=f;c[e+8>>2]=d[g+6>>0];e=c[j>>2]|0;g=e+16|0;c[j>>2]=g;switch(c[e+8>>2]&63){case 4:{h=d[(c[e>>2]|0)+7>>0]|0;f=g;break}case 20:{e=c[(c[e>>2]|0)+12>>2]|0;m=16;break}case 7:{e=c[(c[e>>2]|0)+12>>2]|0;m=16;break}case 5:{e=qx(c[e>>2]|0)|0;m=16;break}default:{h=0;f=g}}if((m|0)==16)if((e|0)>65534){Ix(a,286123,i);g=c[j>>2]|0;h=e;f=g}else{h=e;f=g}e=c[k>>2]|0;do if(!n){if((b|0)>=-1000999){e=f+(b<<4)|0;break}if((b|0)==-1001e3){e=(c[a+12>>2]|0)+40|0;break}f=-1001e3-b|0;e=c[e>>2]|0;if((c[e+8>>2]|0)==22)e=316088;else{e=c[e>>2]|0;e=(f|0)>(d[e+6>>0]|0|0)?316088:e+16+(f+-1<<4)|0}}else{e=(c[e>>2]|0)+(b<<4)|0;e=e>>>0>>0?e:316088}while(0);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[j>>2]=(c[j>>2]|0)+16;p=h+1|0;Nv(a,-2,p,((p|0)<0)<<31>>31);c[j>>2]=(c[j>>2]|0)+-16;l=o;return p|0}function gB(b){b=b|0;var 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;t=l;l=l+16|0;r=t+4|0;s=t;e=aB(b,1,0)|0;n=aB(b,2,0)|0;e=a[e>>0]|0;if(e<<24>>24!=4?(a[n>>0]|0)!=3:0){if(e<<24>>24==3){s=b+8|0;r=c[s>>2]|0;b=(c[c[b+16>>2]>>2]|0)+32|0;b=b>>>0>>0?b:316088;c[r>>2]=c[b>>2];c[r+4>>2]=c[b+4>>2];c[r+8>>2]=c[b+8>>2];c[r+12>>2]=c[b+12>>2];c[s>>2]=(c[s>>2]|0)+16;l=t;return 1}j=aB(b,1,r)|0;k=aB(b,2,s)|0;m=Uv(b,((c[r>>2]|0)+1+(c[s>>2]|0)<<3)+8|0)|0;i=b+12|0;g=c[i>>2]|0;n=b+8|0;h=c[n>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>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>0]=a[e>>0]|0;a[s+1>>0]=a[e+1>>0]|0;a[s+2>>0]=a[e+2>>0]|0;a[s+3>>0]=a[e+3>>0]|0;a[s+4>>0]=a[e+4>>0]|0;a[s+5>>0]=a[e+5>>0]|0;a[s+6>>0]=a[e+6>>0]|0;a[s+7>>0]=a[e+7>>0]|0;a[s+8>>0]=a[e+8>>0]|0;a[s+9>>0]=a[e+9>>0]|0;a[s+10>>0]=a[e+10>>0]|0;a[s+11>>0]=a[e+11>>0]|0;a[s+12>>0]=a[e+12>>0]|0;a[s+13>>0]=a[e+13>>0]|0;a[s+14>>0]=a[e+14>>0]|0;a[s+15>>0]=a[e+15>>0]|0;a[s+16>>0]=a[e+16>>0]|0;a[s+17>>0]=a[e+17>>0]|0;a[s+18>>0]=a[e+18>>0]|0;a[s+19>>0]=a[e+19>>0]|0;a[s+20>>0]=a[e+20>>0]|0;a[s+21>>0]=a[e+21>>0]|0;a[s+22>>0]=a[e+22>>0]|0;a[s+23>>0]=a[e+23>>0]|0;a[s+24>>0]=a[e+24>>0]|0;a[s+25>>0]=a[e+25>>0]|0;a[s+26>>0]=a[e+26>>0]|0;a[s+27>>0]=a[e+27>>0]|0;a[s+28>>0]=a[e+28>>0]|0;a[s+29>>0]=a[e+29>>0]|0;a[s+30>>0]=a[e+30>>0]|0;a[s+31>>0]=a[e+31>>0]|0;e=5;break}case 0:{e=s;i=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(i|0));k=c[f+4>>2]|0;e=s+(k>>3)|0;a[e>>0]=d[e>>0]|1<<(k&7);e=5;break}case 2:{e=s;i=e+32|0;do{a[e>>0]=255;e=e+1|0}while((e|0)<(i|0));e=5;break}default:{}}a:do if((e|0)==5){switch(a[g>>0]|0){case 1:{v=g+8|0;a[t>>0]=a[v>>0]|0;a[t+1>>0]=a[v+1>>0]|0;a[t+2>>0]=a[v+2>>0]|0;a[t+3>>0]=a[v+3>>0]|0;a[t+4>>0]=a[v+4>>0]|0;a[t+5>>0]=a[v+5>>0]|0;a[t+6>>0]=a[v+6>>0]|0;a[t+7>>0]=a[v+7>>0]|0;a[t+8>>0]=a[v+8>>0]|0;a[t+9>>0]=a[v+9>>0]|0;a[t+10>>0]=a[v+10>>0]|0;a[t+11>>0]=a[v+11>>0]|0;a[t+12>>0]=a[v+12>>0]|0;a[t+13>>0]=a[v+13>>0]|0;a[t+14>>0]=a[v+14>>0]|0;a[t+15>>0]=a[v+15>>0]|0;a[t+16>>0]=a[v+16>>0]|0;a[t+17>>0]=a[v+17>>0]|0;a[t+18>>0]=a[v+18>>0]|0;a[t+19>>0]=a[v+19>>0]|0;a[t+20>>0]=a[v+20>>0]|0;a[t+21>>0]=a[v+21>>0]|0;a[t+22>>0]=a[v+22>>0]|0;a[t+23>>0]=a[v+23>>0]|0;a[t+24>>0]=a[v+24>>0]|0;a[t+25>>0]=a[v+25>>0]|0;a[t+26>>0]=a[v+26>>0]|0;a[t+27>>0]=a[v+27>>0]|0;a[t+28>>0]=a[v+28>>0]|0;a[t+29>>0]=a[v+29>>0]|0;a[t+30>>0]=a[v+30>>0]|0;a[t+31>>0]=a[v+31>>0]|0;break}case 0:{e=t;i=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(i|0));u=c[g+4>>2]|0;v=t+(u>>3)|0;a[v>>0]=d[v>>0]|1<<(u&7);break}case 2:{e=t;i=e+32|0;do{a[e>>0]=255;e=e+1|0}while((e|0)<(i|0));break}default:break a}k=Uv(b,48)|0;i=b+12|0;g=c[i>>2]|0;j=b+8|0;h=c[j>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;v=c[j>>2]|0;c[j>>2]=v+16;wx(b,g+40|0,v,v);v=c[j>>2]|0;f=v+-16|0;c[v>>2]=c[f>>2];c[v+4>>2]=c[f+4>>2];c[v+8>>2]=c[f+8>>2];c[v+12>>2]=c[f+12>>2];v=c[j>>2]|0;c[j>>2]=v+16;f=v+-32|0;e=c[f>>2]|0;q=v;r=c[q+4>>2]|0;u=e+16|0;c[u>>2]=c[q>>2];c[u+4>>2]=r;a[e+6>>0]=c[v+8>>2];e=c[j>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(m=(c[f>>2]|0)+5|0,n=a[m>>0]|0,(n&4)!=0):0)?(o=c[e+-16>>2]|0,(a[o+5>>0]&3)!=0):0){f=c[i>>2]|0;if((d[f+61>>0]|0)<2){uw(f,o);e=c[j>>2]|0;break}else{a[m>>0]=a[f+60>>0]&3|n&-8;break}}while(0);c[j>>2]=e+-16;Ov(b,-2);c[k>>2]=0;c[k+4>>2]=0;a[k+8>>0]=1;e=k+16|0;i=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(i|0));e=0;do{a[k+(e+16)>>0]=a[t+e>>0]|a[s+e>>0];e=e+1|0}while((e|0)!=32);l=w;return 1}while(0);if((pB(f,1)|0)==0?(a[g>>0]|0)!=4:0){if(h<<24>>24==4){v=b+8|0;u=c[v>>2]|0;b=(c[c[b+16>>2]>>2]|0)+32|0;b=b>>>0>>0?b:316088;c[u>>2]=c[b>>2];c[u+4>>2]=c[b+4>>2];c[u+8>>2]=c[b+8>>2];c[u+12>>2]=c[b+12>>2];c[v>>2]=(c[v>>2]|0)+16;l=w;return 1}j=aB(b,1,u)|0;k=aB(b,2,v)|0;m=Uv(b,((c[u>>2]|0)+1+(c[v>>2]|0)<<3)+8|0)|0;i=b+12|0;g=c[i>>2]|0;n=b+8|0;h=c[n>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;t=c[n>>2]|0;c[n>>2]=t+16;wx(b,g+40|0,t,t);t=c[n>>2]|0;f=t+-16|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];t=c[n>>2]|0;c[n>>2]=t+16;f=t+-32|0;e=c[f>>2]|0;h=t;o=c[h+4>>2]|0;s=e+16|0;c[s>>2]=c[h>>2];c[s+4>>2]=o;a[e+6>>0]=c[t+8>>2];e=c[n>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(p=(c[f>>2]|0)+5|0,q=a[p>>0]|0,(q&4)!=0):0)?(r=c[e+-16>>2]|0,(a[r+5>>0]&3)!=0):0){f=c[i>>2]|0;if((d[f+61>>0]|0)<2){uw(f,r);e=c[n>>2]|0;break}else{a[p>>0]=a[f+60>>0]&3|q&-8;break}}while(0);c[n>>2]=e+-16;Ov(b,-2);c[m>>2]=0;c[m+4>>2]=0;t=m+8|0;a[t>>0]=7;r=c[u>>2]|0;s=r+1|0;u=m+12|0;c[u>>2]=s;CQ(m+16|0,j|0,r<<3|0)|0;CQ(t+(s<<3)|0,k|0,c[v>>2]<<3|0)|0;nB(b,t+(c[u>>2]<<3)|0);l=w;return 1}v=b+8|0;u=c[v>>2]|0;b=(c[c[b+16>>2]>>2]|0)+16|0;b=b>>>0>>0?b:316088;c[u>>2]=c[b>>2];c[u+4>>2]=c[b+4>>2];c[u+8>>2]=c[b+8>>2];c[u+12>>2]=c[b+12>>2];c[v>>2]=(c[v>>2]|0)+16;l=w;return 1}function iB(b){b=b|0;var 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;w=l;l=l+16|0;t=w;u=w+4|0;g=Mx(b,2)|0;v=aB(b,1,u)|0;if((g|0)>-1){m=Uv(b,(O((g<<3)+8|0,(c[u>>2]|0)+1|0)|0)+8|0)|0;k=b+12|0;h=c[k>>2]|0;i=b+8|0;j=c[i>>2]|0;f=h+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0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=b+-16|0;c[i>>2]=b;l=w;return 1}h=c[j+-16>>2]|0;if(!(a[h+5>>0]&3)){b=j;b=b+-16|0;c[i>>2]=b;l=w;return 1}e=c[b+12>>2]|0;if((d[e+61>>0]|0)<2){uw(e,h);b=c[i>>2]|0;b=b+-16|0;c[i>>2]=b;l=w;return 1}else{a[f>>0]=a[e+60>>0]&3|g&-8;b=j;b=b+-16|0;c[i>>2]=b;l=w;return 1}return 0}function jB(b){b=b|0;var 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;r=l;l=l+16|0;o=r;m=aB(b,1,o)|0;n=Uv(b,(c[o>>2]<<3)+16|0)|0;p=b+12|0;g=c[p>>2]|0;q=b+8|0;h=c[q>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[q>>2]|0;c[q>>2]=h+16;wx(b,g+40|0,h,h);h=c[q>>2]|0;f=h+-16|0;c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];h=c[q>>2]|0;c[q>>2]=h+16;f=h+-32|0;e=c[f>>2]|0;t=h;s=c[t+4>>2]|0;g=e+16|0;c[g>>2]=c[t>>2];c[g+4>>2]=s;a[e+6>>0]=c[h+8>>2];e=c[q>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(i=(c[f>>2]|0)+5|0,j=a[i>>0]|0,(j&4)!=0):0)?(k=c[e+-16>>2]|0,(a[k+5>>0]&3)!=0):0){f=c[p>>2]|0;if((d[f+61>>0]|0)<2){uw(f,k);e=c[q>>2]|0;break}else{a[i>>0]=a[f+60>>0]&3|j&-8;break}}while(0);c[q>>2]=e+-16;Ov(b,-2);c[n>>2]=0;c[n+4>>2]=0;a[n+8>>0]=9;CQ(n+16|0,m|0,c[o>>2]<<3|0)|0;e=(c[c[b+16>>2]>>2]|0)+16|0;t=c[q>>2]|0;e=c[(e>>>0>>0?e:316088)>>2]|0;o=e+16|0;b=c[o+4>>2]|0;i=t;c[i>>2]=c[o>>2];c[i+4>>2]=b;c[t+8>>2]=d[e+6>>0];t=c[q>>2]|0;c[q>>2]=t+16;e=t+-16|0;i=c[e>>2]|0;b=t;o=c[b+4>>2]|0;s=i+16|0;c[s>>2]=c[b>>2];c[s+4>>2]=o;a[i+6>>0]=c[t+8>>2];i=c[q>>2]|0;if(!(c[i+-8>>2]&64)){t=i;t=t+-16|0;c[q>>2]=t;l=r;return 1}f=(c[e>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4)){t=i;t=t+-16|0;c[q>>2]=t;l=r;return 1}h=c[i+-16>>2]|0;if(!(a[h+5>>0]&3)){t=i;t=t+-16|0;c[q>>2]=t;l=r;return 1}e=c[p>>2]|0;if((d[e+61>>0]|0)<2){uw(e,h);t=c[q>>2]|0;t=t+-16|0;c[q>>2]=t;l=r;return 1}else{a[f>>0]=a[e+60>>0]&3|g&-8;t=i;t=t+-16|0;c[q>>2]=t;l=r;return 1}return 0}function kB(e){e=e|0;var f=0,g=0,i=0,j=0.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,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.0;ia=l;l=l+48|0;ba=ia+32|0;aa=ia+24|0;$=ia+16|0;fa=ia;ga=e+16|0;f=c[c[ga>>2]>>2]|0;i=f+32|0;ha=e+8|0;a:do if(!((i|0)==316088?1:i>>>0>=(c[ha>>2]|0)>>>0)){f=c[f+40>>2]|0;switch(f&15){case 6:{m=aB(e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ha>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(y=(c[g>>2]|0)+5|0,B=a[y>>0]|0,(B&4)!=0):0)?(C=c[f+-16>>2]|0,(a[C+5>>0]&3)!=0):0){g=c[n>>2]|0;if((d[g+61>>0]|0)<2){uw(g,C);f=c[ha>>2]|0;break}else{a[y>>0]=a[g+60>>0]&3|B&-8;break}}while(0);c[ha>>2]=f+-16;a[p+9>>0]=7;if((c[(c[n>>2]|0)+12>>2]|0)>0)Ew(e);fa=px(e)|0;g=c[ha>>2]|0;c[g>>2]=fa;c[g+8>>2]=69;c[ha>>2]=(c[ha>>2]|0)+16;mx(e,fa,1,0);fa=c[ha>>2]|0;g=fa+-32|0;f=c[g>>2]|0;ca=fa+-16|0;da=c[ca+4>>2]|0;ea=f+16|0;c[ea>>2]=c[ca>>2];c[ea+4>>2]=da;a[f+6>>0]=c[fa+-8>>2];f=c[ha>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(J=(c[g>>2]|0)+5|0,K=a[J>>0]|0,(K&4)!=0):0)?(L=c[f+-16>>2]|0,(a[L+5>>0]&3)!=0):0){g=c[n>>2]|0;if((d[g+61>>0]|0)<2){uw(g,L);f=c[ha>>2]|0;break}else{a[J>>0]=a[g+60>>0]&3|K&-8;break}}while(0);fa=f+-16|0;c[ha>>2]=fa;g=c[f+-32>>2]|0;ea=g+16|0;da=c[ea+4>>2]|0;c[fa>>2]=c[ea>>2];c[fa+4>>2]=da;c[f+-8>>2]=d[g+6>>0];g=c[ha>>2]|0;fa=g+16|0;c[ha>>2]=fa;ga=c[c[ga>>2]>>2]|0;ga=c[(ga>>>0>>0?ga+16|0:316088)>>2]|0;da=ga+16|0;ea=c[da+4>>2]|0;c[fa>>2]=c[da>>2];c[fa+4>>2]=ea;c[g+24>>2]=d[ga+6>>0];g=c[ha>>2]|0;c[ha>>2]=g+16;b:do if((g|0)!=316088?(V=c[g+8>>2]|0,(V&15|0)==5):0)switch(V&63){case 4:{o=d[(c[g>>2]|0)+7>>0]|0;break b}case 20:{o=c[(c[g>>2]|0)+12>>2]|0;break b}case 7:{o=c[(c[g>>2]|0)+12>>2]|0;break b}case 5:{o=qx(c[g>>2]|0)|0;break b}default:{o=0;break b}}else o=0;while(0);f=g+-16|0;c:do if((f|0)!=316088?(Y=c[g+-8>>2]|0,(Y&15|0)==5):0)switch(Y&63){case 4:{f=d[(c[f>>2]|0)+7>>0]|0;break c}case 20:{f=c[(c[f>>2]|0)+12>>2]|0;break c}case 7:{f=c[(c[f>>2]|0)+12>>2]|0;break c}case 5:{f=qx(c[f>>2]|0)|0;break c}default:{f=0;break c}}else f=0;while(0);if((f+o|0)>65535)Ix(e,286123,$);if(o){if((o|0)>=1){n=1;while(1){k=((n|0)<0)<<31>>31;m=c[ha>>2]|0;g=c[m+-16>>2]|0;i=lQ(n|0,k|0,-1,-1)|0;ga=z;d:do if(ga>>>0<0|((ga|0)==0?i>>>0<(c[g+8>>2]|0)>>>0:0))g=(c[g+12>>2]|0)+(i<<4)|0;else{g=(c[g+16>>2]|0)+(((1<>0])+-1&n)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(ga=g+16|0,(c[ga>>2]|0)==(n|0)?(c[ga+4>>2]|0)==(k|0):0):0)break;i=c[g+28>>2]|0;if(!i){g=316088;break d}g=g+(i<<5)|0}}while(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[ha>>2]=(c[ha>>2]|0)+16;ga=n+f|0;Nv(e,-3,ga,((ga|0)<0)<<31>>31);if((n|0)==(o|0))break;else n=n+1|0}}}else f=0;c[ha>>2]=(c[ha>>2]|0)+-32;bB(0,f);b[p+10>>1]=fB(e,2)|0;e=1;l=ia;return e|0}case 5:{m=aB(e,1,fa)|0;p=Uv(e,(c[fa>>2]<<3)+16|0)|0;n=e+12|0;i=c[n>>2]|0;k=c[ha>>2]|0;g=i+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0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){g=c[n>>2]|0;if((d[g+61>>0]|0)<2){uw(g,F);f=c[ha>>2]|0;break}else{a[D>>0]=a[g+60>>0]&3|E&-8;break}}while(0);c[ha>>2]=f+-16;a[p+9>>0]=8;if((c[(c[n>>2]|0)+12>>2]|0)>0)Ew(e);fa=px(e)|0;g=c[ha>>2]|0;c[g>>2]=fa;c[g+8>>2]=69;c[ha>>2]=(c[ha>>2]|0)+16;mx(e,fa,1,0);fa=c[ha>>2]|0;g=fa+-32|0;f=c[g>>2]|0;ca=fa+-16|0;da=c[ca+4>>2]|0;ea=f+16|0;c[ea>>2]=c[ca>>2];c[ea+4>>2]=da;a[f+6>>0]=c[fa+-8>>2];f=c[ha>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(M=(c[g>>2]|0)+5|0,N=a[M>>0]|0,(N&4)!=0):0)?(O=c[f+-16>>2]|0,(a[O+5>>0]&3)!=0):0){g=c[n>>2]|0;if((d[g+61>>0]|0)<2){uw(g,O);f=c[ha>>2]|0;break}else{a[M>>0]=a[g+60>>0]&3|N&-8;break}}while(0);fa=f+-16|0;c[ha>>2]=fa;g=c[f+-32>>2]|0;ea=g+16|0;da=c[ea+4>>2]|0;c[fa>>2]=c[ea>>2];c[fa+4>>2]=da;c[f+-8>>2]=d[g+6>>0];g=c[ha>>2]|0;fa=g+16|0;c[ha>>2]=fa;ga=c[c[ga>>2]>>2]|0;ga=c[(ga>>>0>>0?ga+16|0:316088)>>2]|0;da=ga+16|0;ea=c[da+4>>2]|0;c[fa>>2]=c[da>>2];c[fa+4>>2]=ea;c[g+24>>2]=d[ga+6>>0];g=c[ha>>2]|0;c[ha>>2]=g+16;e:do if((g|0)!=316088?(W=c[g+8>>2]|0,(W&15|0)==5):0)switch(W&63){case 4:{o=d[(c[g>>2]|0)+7>>0]|0;break e}case 20:{o=c[(c[g>>2]|0)+12>>2]|0;break e}case 7:{o=c[(c[g>>2]|0)+12>>2]|0;break e}case 5:{o=qx(c[g>>2]|0)|0;break e}default:{o=0;break e}}else o=0;while(0);f=g+-16|0;f:do if((f|0)!=316088?(Z=c[g+-8>>2]|0,(Z&15|0)==5):0)switch(Z&63){case 4:{f=d[(c[f>>2]|0)+7>>0]|0;break f}case 20:{f=c[(c[f>>2]|0)+12>>2]|0;break f}case 7:{f=c[(c[f>>2]|0)+12>>2]|0;break f}case 5:{f=qx(c[f>>2]|0)|0;break f}default:{f=0;break f}}else f=0;while(0);if((f+o|0)>65535)Ix(e,286123,aa);if(o){if((o|0)>=1){n=1;while(1){k=((n|0)<0)<<31>>31;m=c[ha>>2]|0;g=c[m+-16>>2]|0;i=lQ(n|0,k|0,-1,-1)|0;ga=z;g:do if(ga>>>0<0|((ga|0)==0?i>>>0<(c[g+8>>2]|0)>>>0:0))g=(c[g+12>>2]|0)+(i<<4)|0;else{g=(c[g+16>>2]|0)+(((1<>0])+-1&n)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(ga=g+16|0,(c[ga>>2]|0)==(n|0)?(c[ga+4>>2]|0)==(k|0):0):0)break;i=c[g+28>>2]|0;if(!i){g=316088;break g}g=g+(i<<5)|0}}while(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[ha>>2]=(c[ha>>2]|0)+16;ga=n+f|0;Nv(e,-3,ga,((ga|0)<0)<<31>>31);if((n|0)==(o|0))break;else n=n+1|0}}}else f=0;c[ha>>2]=(c[ha>>2]|0)+-32;bB(0,f);b[p+10>>1]=fB(e,2)|0;e=1;l=ia;return e|0}case 4:{m=aB(e,1,fa)|0;p=Uv(e,(c[fa>>2]<<3)+16|0)|0;n=e+12|0;i=c[n>>2]|0;k=c[ha>>2]|0;g=i+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;ea=c[ha>>2]|0;c[ha>>2]=ea+16;w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]=9;if((c[(c[n>>2]|0)+12>>2]|0)>0)Ew(e);fa=px(e)|0;g=c[ha>>2]|0;c[g>>2]=fa;c[g+8>>2]=69;c[ha>>2]=(c[ha>>2]|0)+16;mx(e,fa,1,0);fa=c[ha>>2]|0;g=fa+-32|0;f=c[g>>2]|0;ca=fa+-16|0;da=c[ca+4>>2]|0;ea=f+16|0;c[ea>>2]=c[ca>>2];c[ea+4>>2]=da;a[f+6>>0]=c[fa+-8>>2];f=c[ha>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(P=(c[g>>2]|0)+5|0,Q=a[P>>0]|0,(Q&4)!=0):0)?(R=c[f+-16>>2]|0,(a[R+5>>0]&3)!=0):0){g=c[n>>2]|0;if((d[g+61>>0]|0)<2){uw(g,R);f=c[ha>>2]|0;break}else{a[P>>0]=a[g+60>>0]&3|Q&-8;break}}while(0);fa=f+-16|0;c[ha>>2]=fa;g=c[f+-32>>2]|0;ea=g+16|0;da=c[ea+4>>2]|0;c[fa>>2]=c[ea>>2];c[fa+4>>2]=da;c[f+-8>>2]=d[g+6>>0];g=c[ha>>2]|0;fa=g+16|0;c[ha>>2]=fa;ga=c[c[ga>>2]>>2]|0;ga=c[(ga>>>0>>0?ga+16|0:316088)>>2]|0;da=ga+16|0;ea=c[da+4>>2]|0;c[fa>>2]=c[da>>2];c[fa+4>>2]=ea;c[g+24>>2]=d[ga+6>>0];g=c[ha>>2]|0;c[ha>>2]=g+16;h:do if((g|0)!=316088?(X=c[g+8>>2]|0,(X&15|0)==5):0)switch(X&63){case 4:{o=d[(c[g>>2]|0)+7>>0]|0;break h}case 20:{o=c[(c[g>>2]|0)+12>>2]|0;break h}case 7:{o=c[(c[g>>2]|0)+12>>2]|0;break h}case 5:{o=qx(c[g>>2]|0)|0;break h}default:{o=0;break h}}else o=0;while(0);f=g+-16|0;i:do if((f|0)!=316088?(_=c[g+-8>>2]|0,(_&15|0)==5):0)switch(_&63){case 4:{f=d[(c[f>>2]|0)+7>>0]|0;break i}case 20:{f=c[(c[f>>2]|0)+12>>2]|0;break i}case 7:{f=c[(c[f>>2]|0)+12>>2]|0;break i}case 5:{f=qx(c[f>>2]|0)|0;break i}default:{f=0;break i}}else f=0;while(0);if((f+o|0)>65535)Ix(e,286123,ba);if(o){if((o|0)>=1){n=1;while(1){k=((n|0)<0)<<31>>31;m=c[ha>>2]|0;g=c[m+-16>>2]|0;i=lQ(n|0,k|0,-1,-1)|0;ga=z;j:do if(ga>>>0<0|((ga|0)==0?i>>>0<(c[g+8>>2]|0)>>>0:0))g=(c[g+12>>2]|0)+(i<<4)|0;else{g=(c[g+16>>2]|0)+(((1<>0])+-1&n)<<5)|0;while(1){if((c[g+24>>2]|0)==19?(ga=g+16|0,(c[ga>>2]|0)==(n|0)?(c[ga+4>>2]|0)==(k|0):0):0)break;i=c[g+28>>2]|0;if(!i){g=316088;break j}g=g+(i<<5)|0}}while(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[ha>>2]=(c[ha>>2]|0)+16;ga=n+f|0;Nv(e,-3,ga,((ga|0)<0)<<31>>31);if((n|0)==(o|0))break;else n=n+1|0}}}else f=0;c[ha>>2]=(c[ha>>2]|0)+-32;bB(0,f);b[p+10>>1]=fB(e,2)|0;e=1;l=ia;return e|0}case 3:{do if((f|0)!=19){k:while(1){switch(f|0){case 3:{g=160;break k}case 19:{g=163;break k}default:{}}if((f&15|0)!=4){g=171;break}g=Iw((c[i>>2]|0)+16|0,fa)|0;f=c[i>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)!=(f+1|0)){g=171;break}i=fa;f=c[fa+8>>2]|0}if((g|0)==160){ja=+h[i>>3];j=+A(+ja);if(!(ja!=j)?j>=-9223372036854775808.0&j<9223372036854775808.0:0){f=~~j>>>0;g=170}else g=171}else if((g|0)==163){f=i;f=c[f>>2]|0;g=170}if((g|0)==170){q=f&65535;p=f;break}else if((g|0)==171){q=0;p=0;break}}else{p=c[i>>2]|0;q=p&65535}while(0);m=aB(e,1,fa)|0;o=Uv(e,(c[fa>>2]<<3)+16|0)|0;n=e+12|0;i=c[n>>2]|0;k=c[ha>>2]|0;g=i+280+(((285773>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(285773,f+16|0)|0){f=jx(e,285773,12)|0;c[g>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;ba=c[ha>>2]|0;c[ha>>2]=ba+16;wx(e,i+40|0,ba,ba);ba=c[ha>>2]|0;g=ba+-16|0;c[ba>>2]=c[g>>2];c[ba+4>>2]=c[g+4>>2];c[ba+8>>2]=c[g+8>>2];c[ba+12>>2]=c[g+12>>2];ba=c[ha>>2]|0;c[ha>>2]=ba+16;g=ba+-32|0;f=c[g>>2]|0;_=ba;$=c[_+4>>2]|0;aa=f+16|0;c[aa>>2]=c[_>>2];c[aa+4>>2]=$;a[f+6>>0]=c[ba+8>>2];f=c[ha>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(S=(c[g>>2]|0)+5|0,T=a[S>>0]|0,(T&4)!=0):0)?(U=c[f+-16>>2]|0,(a[U+5>>0]&3)!=0):0){g=c[n>>2]|0;if((d[g+61>>0]|0)<2){uw(g,U);f=c[ha>>2]|0;break}else{a[S>>0]=a[g+60>>0]&3|T&-8;break}}while(0);c[ha>>2]=f+-16;Ov(e,-2);c[o>>2]=0;c[o+4>>2]=0;a[o+8>>0]=15;CQ(o+16|0,m|0,c[fa>>2]<<3|0)|0;g=(c[c[ga>>2]>>2]|0)+16|0;ga=c[ha>>2]|0;g=c[(g>>>0>>0?g:316088)>>2]|0;ba=g+16|0;aa=c[ba+4>>2]|0;f=ga;c[f>>2]=c[ba>>2];c[f+4>>2]=aa;c[ga+8>>2]=d[g+6>>0];ga=c[ha>>2]|0;c[ha>>2]=ga+16;g=ga+-16|0;f=c[g>>2]|0;aa=ga;ba=c[aa+4>>2]|0;fa=f+16|0;c[fa>>2]=c[aa>>2];c[fa+4>>2]=ba;a[f+6>>0]=c[ga+8>>2];f=c[ha>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(ca=(c[g>>2]|0)+5|0,da=a[ca>>0]|0,(da&4)!=0):0)?(ea=c[f+-16>>2]|0,(a[ea+5>>0]&3)!=0):0){g=c[n>>2]|0;if((d[g+61>>0]|0)<2){uw(g,ea);f=c[ha>>2]|0;break}else{a[ca>>0]=a[g+60>>0]&3|da&-8;break}}while(0);c[ha>>2]=f+-16;if(p>>>0>=32768)Hx(e,1,286532)|0;a[o+9>>0]=10;b[o+10>>1]=q;e=1;l=ia;return e|0}default:break a}}while(0);e=Hx(e,2,286547)|0;l=ia;return e|0}function lB(b){b=b|0;var 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;r=l;l=l+16|0;o=r;m=aB(b,1,o)|0;n=Uv(b,(c[o>>2]<<3)+16|0)|0;p=b+12|0;g=c[p>>2]|0;q=b+8|0;h=c[q>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;h=c[q>>2]|0;c[q>>2]=h+16;wx(b,g+40|0,h,h);h=c[q>>2]|0;f=h+-16|0;c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];h=c[q>>2]|0;c[q>>2]=h+16;f=h+-32|0;e=c[f>>2]|0;t=h;s=c[t+4>>2]|0;g=e+16|0;c[g>>2]=c[t>>2];c[g+4>>2]=s;a[e+6>>0]=c[h+8>>2];e=c[q>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(i=(c[f>>2]|0)+5|0,j=a[i>>0]|0,(j&4)!=0):0)?(k=c[e+-16>>2]|0,(a[k+5>>0]&3)!=0):0){f=c[p>>2]|0;if((d[f+61>>0]|0)<2){uw(f,k);e=c[q>>2]|0;break}else{a[i>>0]=a[f+60>>0]&3|j&-8;break}}while(0);c[q>>2]=e+-16;Ov(b,-2);c[n>>2]=0;c[n+4>>2]=0;a[n+8>>0]=8;CQ(n+16|0,m|0,c[o>>2]<<3|0)|0;e=(c[c[b+16>>2]>>2]|0)+16|0;t=c[q>>2]|0;e=c[(e>>>0>>0?e:316088)>>2]|0;o=e+16|0;b=c[o+4>>2]|0;i=t;c[i>>2]=c[o>>2];c[i+4>>2]=b;c[t+8>>2]=d[e+6>>0];t=c[q>>2]|0;c[q>>2]=t+16;e=t+-16|0;i=c[e>>2]|0;b=t;o=c[b+4>>2]|0;s=i+16|0;c[s>>2]=c[b>>2];c[s+4>>2]=o;a[i+6>>0]=c[t+8>>2];i=c[q>>2]|0;if(!(c[i+-8>>2]&64)){t=i;t=t+-16|0;c[q>>2]=t;l=r;return 1}f=(c[e>>2]|0)+5|0;g=a[f>>0]|0;if(!(g&4)){t=i;t=t+-16|0;c[q>>2]=t;l=r;return 1}h=c[i+-16>>2]|0;if(!(a[h+5>>0]&3)){t=i;t=t+-16|0;c[q>>2]=t;l=r;return 1}e=c[p>>2]|0;if((d[e+61>>0]|0)<2){uw(e,h);t=c[q>>2]|0;t=t+-16|0;c[q>>2]=t;l=r;return 1}else{a[f>>0]=a[e+60>>0]&3|g&-8;t=i;t=t+-16|0;c[q>>2]=t;l=r;return 1}return 0}function mB(b){b=b|0;var 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;y=l;l=l+80|0;w=y+40|0;x=y+8|0;u=y+4|0;v=y;s=aB(b,1,u)|0;t=aB(b,2,v)|0;switch(a[s>>0]|0){case 1:{e=s+8|0;a[w>>0]=a[e>>0]|0;a[w+1>>0]=a[e+1>>0]|0;a[w+2>>0]=a[e+2>>0]|0;a[w+3>>0]=a[e+3>>0]|0;a[w+4>>0]=a[e+4>>0]|0;a[w+5>>0]=a[e+5>>0]|0;a[w+6>>0]=a[e+6>>0]|0;a[w+7>>0]=a[e+7>>0]|0;a[w+8>>0]=a[e+8>>0]|0;a[w+9>>0]=a[e+9>>0]|0;a[w+10>>0]=a[e+10>>0]|0;a[w+11>>0]=a[e+11>>0]|0;a[w+12>>0]=a[e+12>>0]|0;a[w+13>>0]=a[e+13>>0]|0;a[w+14>>0]=a[e+14>>0]|0;a[w+15>>0]=a[e+15>>0]|0;a[w+16>>0]=a[e+16>>0]|0;a[w+17>>0]=a[e+17>>0]|0;a[w+18>>0]=a[e+18>>0]|0;a[w+19>>0]=a[e+19>>0]|0;a[w+20>>0]=a[e+20>>0]|0;a[w+21>>0]=a[e+21>>0]|0;a[w+22>>0]=a[e+22>>0]|0;a[w+23>>0]=a[e+23>>0]|0;a[w+24>>0]=a[e+24>>0]|0;a[w+25>>0]=a[e+25>>0]|0;a[w+26>>0]=a[e+26>>0]|0;a[w+27>>0]=a[e+27>>0]|0;a[w+28>>0]=a[e+28>>0]|0;a[w+29>>0]=a[e+29>>0]|0;a[w+30>>0]=a[e+30>>0]|0;a[w+31>>0]=a[e+31>>0]|0;e=5;break}case 0:{e=w;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));k=c[s+4>>2]|0;e=w+(k>>3)|0;a[e>>0]=d[e>>0]|1<<(k&7);e=5;break}case 2:{e=w;f=e+32|0;do{a[e>>0]=255;e=e+1|0}while((e|0)<(f|0));e=5;break}default:{}}a:do if((e|0)==5){switch(a[t>>0]|0){case 1:{v=t+8|0;a[x>>0]=a[v>>0]|0;a[x+1>>0]=a[v+1>>0]|0;a[x+2>>0]=a[v+2>>0]|0;a[x+3>>0]=a[v+3>>0]|0;a[x+4>>0]=a[v+4>>0]|0;a[x+5>>0]=a[v+5>>0]|0;a[x+6>>0]=a[v+6>>0]|0;a[x+7>>0]=a[v+7>>0]|0;a[x+8>>0]=a[v+8>>0]|0;a[x+9>>0]=a[v+9>>0]|0;a[x+10>>0]=a[v+10>>0]|0;a[x+11>>0]=a[v+11>>0]|0;a[x+12>>0]=a[v+12>>0]|0;a[x+13>>0]=a[v+13>>0]|0;a[x+14>>0]=a[v+14>>0]|0;a[x+15>>0]=a[v+15>>0]|0;a[x+16>>0]=a[v+16>>0]|0;a[x+17>>0]=a[v+17>>0]|0;a[x+18>>0]=a[v+18>>0]|0;a[x+19>>0]=a[v+19>>0]|0;a[x+20>>0]=a[v+20>>0]|0;a[x+21>>0]=a[v+21>>0]|0;a[x+22>>0]=a[v+22>>0]|0;a[x+23>>0]=a[v+23>>0]|0;a[x+24>>0]=a[v+24>>0]|0;a[x+25>>0]=a[v+25>>0]|0;a[x+26>>0]=a[v+26>>0]|0;a[x+27>>0]=a[v+27>>0]|0;a[x+28>>0]=a[v+28>>0]|0;a[x+29>>0]=a[v+29>>0]|0;a[x+30>>0]=a[v+30>>0]|0;a[x+31>>0]=a[v+31>>0]|0;break}case 0:{e=x;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));u=c[t+4>>2]|0;v=x+(u>>3)|0;a[v>>0]=d[v>>0]|1<<(u&7);break}case 2:{e=x;f=e+32|0;do{a[e>>0]=255;e=e+1|0}while((e|0)<(f|0));break}default:break a}k=Uv(b,48)|0;i=b+12|0;g=c[i>>2]|0;j=b+8|0;h=c[j>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;v=c[j>>2]|0;c[j>>2]=v+16;wx(b,g+40|0,v,v);v=c[j>>2]|0;f=v+-16|0;c[v>>2]=c[f>>2];c[v+4>>2]=c[f+4>>2];c[v+8>>2]=c[f+8>>2];c[v+12>>2]=c[f+12>>2];v=c[j>>2]|0;c[j>>2]=v+16;f=v+-32|0;e=c[f>>2]|0;s=v;t=c[s+4>>2]|0;u=e+16|0;c[u>>2]=c[s>>2];c[u+4>>2]=t;a[e+6>>0]=c[v+8>>2];e=c[j>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(m=(c[f>>2]|0)+5|0,n=a[m>>0]|0,(n&4)!=0):0)?(o=c[e+-16>>2]|0,(a[o+5>>0]&3)!=0):0){f=c[i>>2]|0;if((d[f+61>>0]|0)<2){uw(f,o);e=c[j>>2]|0;break}else{a[m>>0]=a[f+60>>0]&3|n&-8;break}}while(0);c[j>>2]=e+-16;Ov(b,-2);c[k>>2]=0;c[k+4>>2]=0;a[k+8>>0]=1;e=k+16|0;f=e+32|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));e=0;do{a[k+(e+16)>>0]=a[w+e>>0]&~a[x+e>>0];e=e+1|0}while((e|0)!=32);l=y;return 1}while(0);j=Uv(b,((c[u>>2]|0)+2+(c[v>>2]|0)<<3)+8|0)|0;i=b+12|0;g=c[i>>2]|0;k=b+8|0;h=c[k>>2]|0;f=g+280+(((285773>>>0)%127|0)<<2)|0;e=c[f>>2]|0;if(wN(285773,e+16|0)|0){e=jx(b,285773,12)|0;c[f>>2]=e}c[h>>2]=e;c[h+8>>2]=(a[e+4>>0]|64)&255;x=c[k>>2]|0;c[k>>2]=x+16;wx(b,g+40|0,x,x);x=c[k>>2]|0;f=x+-16|0;c[x>>2]=c[f>>2];c[x+4>>2]=c[f+4>>2];c[x+8>>2]=c[f+8>>2];c[x+12>>2]=c[f+12>>2];x=c[k>>2]|0;c[k>>2]=x+16;f=x+-32|0;e=c[f>>2]|0;n=x;o=c[n+4>>2]|0;w=e+16|0;c[w>>2]=c[n>>2];c[w+4>>2]=o;a[e+6>>0]=c[x+8>>2];e=c[k>>2]|0;do if(((c[e+-8>>2]&64|0)!=0?(p=(c[f>>2]|0)+5|0,q=a[p>>0]|0,(q&4)!=0):0)?(r=c[e+-16>>2]|0,(a[r+5>>0]&3)!=0):0){f=c[i>>2]|0;if((d[f+61>>0]|0)<2){uw(f,r);e=c[k>>2]|0;break}else{a[p>>0]=a[f+60>>0]&3|q&-8;break}}while(0);c[k>>2]=e+-16;Ov(b,-2);c[j>>2]=0;c[j+4>>2]=0;r=j+8|0;a[r>>0]=6;v=c[v>>2]|0;w=v+2|0;c[j+12>>2]=w;x=j+16|0;a[x>>0]=8;CQ(j+24|0,t|0,v<<3|0)|0;CQ(r+(w<<3)|0,s|0,c[u>>2]<<3|0)|0;nB(b,x);l=y;return 1}function nB(b,e){b=b|0;e=e|0;var 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,A=0,B=0,C=0,D=0,E=0;C=l;l=l+16|0;w=C+8|0;t=C;f=b+16|0;x=(c[c[f>>2]>>2]|0)+16|0;B=b+8|0;j=c[B>>2]|0;x=c[(x>>>0>>0?x:316088)>>2]|0;E=x+16|0;h=c[E+4>>2]|0;D=j;c[D>>2]=c[E>>2];c[D+4>>2]=h;c[j+8>>2]=d[x+6>>0];j=c[B>>2]|0;x=j+16|0;c[B>>2]=x;f=(c[c[f>>2]>>2]|0)+32|0;f=c[(f>>>0>>0?f:316088)>>2]|0;D=f+16|0;h=c[D+4>>2]|0;c[x>>2]=c[D>>2];c[x+4>>2]=h;c[j+24>>2]=d[f+6>>0];j=c[B>>2]|0;f=j+16|0;c[B>>2]=f;a:do if((j+-16|0)!=316088?(g=c[j+-8>>2]|0,(g&15|0)==5):0){h=j+-16|0;switch(g&63){case 4:{x=d[(c[h>>2]|0)+7>>0]|0;break a}case 20:{x=c[(c[h>>2]|0)+12>>2]|0;break a}case 7:{x=c[(c[h>>2]|0)+12>>2]|0;break a}case 5:{x=qx(c[h>>2]|0)|0;break a}default:{x=0;break a}}}else x=0;while(0);b:do if((j|0)!=316088?(i=c[j+8>>2]|0,(i&15|0)==5):0)switch(i&63){case 4:{g=d[(c[j>>2]|0)+7>>0]|0;break b}case 20:{g=c[(c[j>>2]|0)+12>>2]|0;break b}case 7:{g=c[(c[j>>2]|0)+12>>2]|0;break b}case 5:{g=qx(c[j>>2]|0)|0;break b}default:{g=0;break b}}else g=0;while(0);h=(x|0)==0;if(!(g|x)){c[B>>2]=j+-16;l=C;return}do if(g){f=j+-16|0;if((f|0)!=316088&(j|0)!=316088?Ax(b,f,j)|0:0){f=c[B>>2]|0;break}if(h){E=c[B>>2]|0;g=E+-48|0;f=c[g>>2]|0;A=E+-16|0;e=c[A+4>>2]|0;D=f+16|0;c[D>>2]=c[A>>2];c[D+4>>2]=e;a[f+6>>0]=c[E+-8>>2];f=c[B>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(k=(c[g>>2]|0)+5|0,m=a[k>>0]|0,(m&4)!=0):0)?(n=c[f+-16>>2]|0,(a[n+5>>0]&3)!=0):0){g=c[b+12>>2]|0;if((d[g+61>>0]|0)<2){uw(g,n);f=c[B>>2]|0;break}else{a[k>>0]=a[g+60>>0]&3|m&-8;break}}while(0);c[B>>2]=f+-32;l=C;return}f=g+x|0;n=b+12|0;if((c[(c[n>>2]|0)+12>>2]|0)>0)Ew(b);g=px(b)|0;h=c[B>>2]|0;c[h>>2]=g;c[h+8>>2]=69;h=(c[B>>2]|0)+16|0;c[B>>2]=h;if((f|0)>0){mx(b,g,f,0);h=c[B>>2]|0}f=h+-48|0;c:do if((f|0)!=316088?(r=c[h+-40>>2]|0,(r&15|0)==5):0)switch(r&63){case 4:{m=d[(c[f>>2]|0)+7>>0]|0;break c}case 20:{m=c[(c[f>>2]|0)+12>>2]|0;break c}case 7:{m=c[(c[f>>2]|0)+12>>2]|0;break c}case 5:{m=qx(c[f>>2]|0)|0;break c}default:{m=0;break c}}else m=0;while(0);f=h+-16|0;d:do if((f|0)!=316088?(s=c[h+-8>>2]|0,(s&15|0)==5):0)switch(s&63){case 4:{k=d[(c[f>>2]|0)+7>>0]|0;break d}case 20:{k=c[(c[f>>2]|0)+12>>2]|0;break d}case 7:{k=c[(c[f>>2]|0)+12>>2]|0;break d}case 5:{k=qx(c[f>>2]|0)|0;break d}default:{k=0;break d}}else k=0;while(0);if((k+m|0)>65535)Ix(b,286123,t);if((m|0)>=1){j=1;while(1){h=((j|0)<0)<<31>>31;i=c[B>>2]|0;f=c[i+-48>>2]|0;g=lQ(j|0,h|0,-1,-1)|0;E=z;e:do if(E>>>0<0|((E|0)==0?g>>>0<(c[f+8>>2]|0)>>>0:0))f=(c[f+12>>2]|0)+(g<<4)|0;else{f=(c[f+16>>2]|0)+(((1<<(d[f+7>>0]|0))+-1&j)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(E=f+16|0,(c[E>>2]|0)==(j|0)?(c[E+4>>2]|0)==(h|0):0):0)break;g=c[f+28>>2]|0;if(!g){f=316088;break e}f=f+(g<<5)|0}}while(0);c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[B>>2]=(c[B>>2]|0)+16;E=j+k|0;Nv(b,-2,E,((E|0)<0)<<31>>31);if((j|0)==(m|0))break;else j=j+1|0}}g=c[B>>2]|0;f=g+-32|0;f:do if((f|0)!=316088?(u=c[g+-24>>2]|0,(u&15|0)==5):0)switch(u&63){case 4:{m=d[(c[f>>2]|0)+7>>0]|0;break f}case 20:{m=c[(c[f>>2]|0)+12>>2]|0;break f}case 7:{m=c[(c[f>>2]|0)+12>>2]|0;break f}case 5:{m=qx(c[f>>2]|0)|0;break f}default:{m=0;break f}}else m=0;while(0);f=g+-16|0;g:do if((f|0)!=316088?(v=c[g+-8>>2]|0,(v&15|0)==5):0)switch(v&63){case 4:{k=d[(c[f>>2]|0)+7>>0]|0;break g}case 20:{k=c[(c[f>>2]|0)+12>>2]|0;break g}case 7:{k=c[(c[f>>2]|0)+12>>2]|0;break g}case 5:{k=qx(c[f>>2]|0)|0;break g}default:{k=0;break g}}else k=0;while(0);if((k+m|0)>65535)Ix(b,286123,w);if((m|0)>=1){j=1;while(1){h=((j|0)<0)<<31>>31;i=c[B>>2]|0;f=c[i+-32>>2]|0;g=lQ(j|0,h|0,-1,-1)|0;E=z;h:do if(E>>>0<0|((E|0)==0?g>>>0<(c[f+8>>2]|0)>>>0:0))f=(c[f+12>>2]|0)+(g<<4)|0;else{f=(c[f+16>>2]|0)+(((1<<(d[f+7>>0]|0))+-1&j)<<5)|0;while(1){if((c[f+24>>2]|0)==19?(E=f+16|0,(c[E>>2]|0)==(j|0)?(c[E+4>>2]|0)==(h|0):0):0)break;g=c[f+28>>2]|0;if(!g){f=316088;break h}f=f+(g<<5)|0}}while(0);c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[B>>2]=(c[B>>2]|0)+16;E=j+k|0;Nv(b,-2,E,((E|0)<0)<<31>>31);if((j|0)==(m|0))break;else j=j+1|0}}E=c[B>>2]|0;g=E+-64|0;f=c[g>>2]|0;w=E+-16|0;b=c[w+4>>2]|0;D=f+16|0;c[D>>2]=c[w>>2];c[D+4>>2]=b;a[f+6>>0]=c[E+-8>>2];f=c[B>>2]|0;do if((c[f+-8>>2]&64|0)!=0?(y=(c[g>>2]|0)+5|0,A=a[y>>0]|0,(A&4)!=0):0){h=c[f+-16>>2]|0;if(!(a[h+5>>0]&3))break;g=c[n>>2]|0;if((d[g+61>>0]|0)<2){uw(g,h);f=c[B>>2]|0;break}else{a[y>>0]=a[g+60>>0]&3|A&-8;break}}while(0);c[B>>2]=f+-48;bB(e,x);l=C;return}while(0);c[B>>2]=f+-16;g=f+-48|0;E=c[g>>2]|0;A=f+-32|0;e=c[A+4>>2]|0;D=E+16|0;c[D>>2]=c[A>>2];c[D+4>>2]=e;a[E+6>>0]=c[f+-24>>2];f=c[B>>2]|0;do if(((c[f+-8>>2]&64|0)!=0?(o=(c[g>>2]|0)+5|0,p=a[o>>0]|0,(p&4)!=0):0)?(q=c[f+-16>>2]|0,(a[q+5>>0]&3)!=0):0){g=c[b+12>>2]|0;if((d[g+61>>0]|0)<2){uw(g,q);f=c[B>>2]|0;break}else{a[o>>0]=a[g+60>>0]&3|p&-8;break}}while(0);c[B>>2]=f+-16;l=C;return}function oB(d){d=d|0;var e=0,f=0;a:while(1){e=a[d>>0]|0;b:do switch(e<<24>>24){case 10:{e=3;break a}case 16:case 15:{d=1;e=9;break a}case 12:{e=1;break}default:{switch(a[285756+(e&255)>>0]|0){case 1:{e=1;break b}case 2:break;default:{d=0;e=9;break a}}if(oB(d+8|0)|0){d=1;e=9;break a}e=c[d+4>>2]|0}}while(0);d=d+(e<<3)|0}if((e|0)==3){e=d+2|0;f=b[e>>1]|0;if(!(f<<16>>16)){f=0;return f|0}else{b[e>>1]=0;d=oB(d+(c[d+4>>2]<<3)|0)|0;b[e>>1]=f;return d|0}}else if((e|0)==9)return d|0;return 0}function pB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:do switch(d|0){case 1:{b:while(1){switch(a[b>>0]|0){case 14:case 8:break a;case 3:case 5:{i=1;h=24;break b}case 10:{e=c[b+4>>2]|0;break}case 9:case 15:case 13:case 12:{e=1;break}case 7:{if(!(pB(b+(c[b+4>>2]<<3)|0,1)|0))e=1;else{g=1;break b}break}case 6:{if(!(pB(b+8|0,1)|0)){g=0;break b}e=c[b+4>>2]|0;break}default:{g=0;break b}}b=b+(e<<3)|0}if((h|0)==24)return i|0;d=g;return d|0}case 0:{c:while(1){switch(a[b>>0]|0){case 14:case 8:break a;case 9:case 3:case 5:{h=23;break c}case 10:{e=c[b+4>>2]|0;break}case 16:case 15:case 13:case 12:{e=1;break}case 7:{if(!(pB(b+(c[b+4>>2]<<3)|0,0)|0))e=1;else{i=1;h=24;break c}break}case 6:{if(!(pB(b+8|0,0)|0)){i=0;h=24;break c}e=c[b+4>>2]|0;break}default:{i=0;h=24;break c}}b=b+(e<<3)|0}if((h|0)==23){d=1;return d|0}else if((h|0)==24)return i|0;break}default:{d:while(1){switch(a[b>>0]|0){case 14:case 8:break a;case 3:case 5:{i=1;h=24;break d}case 10:{e=c[b+4>>2]|0;break}case 16:case 9:case 15:case 13:case 12:{e=1;break}case 7:{if(!(pB(b+(c[b+4>>2]<<3)|0,d)|0))e=1;else{f=1;break d}break}case 6:{if(!(pB(b+8|0,d)|0)){f=0;break d}e=c[b+4>>2]|0;break}default:{f=0;break d}}b=b+(e<<3)|0}if((h|0)==24)return i|0;d=f;return d|0}}while(0);d=(d|0)!=1&1;return d|0}function qB(d){d=d|0;var e=0,f=0,g=0;g=0;a:while(1){b:while(1){switch(a[d>>0]|0){case 2:case 1:case 0:{e=4;break a}case 14:case 9:case 8:case 3:case 4:{e=12;break a}case 11:case 16:case 5:{e=13;break a}case 10:{e=6;break a}case 7:{e=11;break a}case 6:break b;case 13:case 12:case 15:break;default:{d=0;e=14;break a}}d=d+8|0}e=qB(d+8|0)|0;if((e|0)<0){d=-1;e=14;break}d=d+(c[d+4>>2]<<3)|0;g=e+g|0}if((e|0)==4){g=g+1|0;return g|0}else if((e|0)==6){e=d+2|0;f=b[e>>1]|0;if(!(f<<16>>16)){e=-1;f=(e|0)<0;g=e+g|0;g=f?-1:g;return g|0}b[e>>1]=0;d=qB(d+(c[d+4>>2]<<3)|0)|0;b[e>>1]=f;e=d;f=(e|0)<0;g=e+g|0;g=f?-1:g;return g|0}else if((e|0)==11){f=qB(d+8|0)|0;e=(f|0)<0|(f|0)!=(qB(d+(c[d+4>>2]<<3)|0)|0);return (e?-1:f+g|0)|0}else if((e|0)==12)return g|0;else if((e|0)==13){g=-1;return g|0}else if((e|0)==14)return d|0;return 0}function rB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+32|0;n=q+16|0;j=q+8|0;p=q+20|0;c[p>>2]=d;o=p+4|0;c[o>>2]=0;f=p+8|0;c[f>>2]=b;k=b+12|0;e=c[k>>2]|0;m=d+4|0;e=jg[c[e>>2]&31](c[e+4>>2]|0,c[d>>2]|0,c[m>>2]<<2,8)|0;if(!e)Ix(b,286607,q);c[d>>2]=e;c[m>>2]=2;sB(p,d+8|0,0,-1,286625);e=c[p>>2]|0;h=e+4|0;i=c[h>>2]|0;g=c[o>>2]|0;if((g|0)>=(i|0)){f=c[f>>2]|0;g=c[f+12>>2]|0;g=jg[c[g>>2]&31](c[g+4>>2]|0,c[e>>2]|0,i<<2,i<<3)|0;if((i|0)>0&(g|0)==0)Ix(f,286607,j);c[e>>2]=g;c[h>>2]=i<<1;g=c[o>>2]|0;e=c[p>>2]|0}f=g+1|0;c[o>>2]=f;e=(c[e>>2]|0)+(g<<2)|0;a[e>>0]=9;a[e+1>>0]=0;e=c[k>>2]|0;e=jg[c[e>>2]&31](c[e+4>>2]|0,c[d>>2]|0,c[m>>2]<<2,f<<2)|0;if((g|0)>-1&(e|0)==0)Ix(b,286607,n);c[d>>2]=e;c[m>>2]=f;m=c[c[p>>2]>>2]|0;if((c[o>>2]|0)>0)k=0;else{d=e;l=q;return d|0}do{h=m+(k<<2)|0;i=(k|0)>-1;j=k+1|0;e=a[h>>0]|0;a:while(1){switch(e<<24>>24){case 3:case 5:case 4:case 16:case 15:case 14:case 12:case 10:{f=13;break a}case 11:{e=k;break}default:{f=25;break a}}b:while(1){e=(c[m+(e+1<<2)>>2]|0)+e|0;g=m+(e<<2)|0;switch(a[g>>0]|0){case 9:case 17:case 18:case 8:{f=18;break a}case 11:break;case 16:case 15:case 14:break b;default:{f=23;break a}}}e=(c[m+(e+1<<2)>>2]|0)+e|0;if((a[m+(e<<2)>>0]|0)==11){do e=(c[m+(e+1<<2)>>2]|0)+e|0;while((a[m+(e<<2)>>0]|0)==11);f=e}else f=e;e=c[g>>2]|0;c[h>>2]=e;e=e&255;if(!i)continue;c[(c[c[p>>2]>>2]|0)+(j<<2)>>2]=f-k}if((f|0)==13){f=(c[m+(j<<2)>>2]|0)+k|0;if((a[m+(f<<2)>>0]|0)==11)do f=(c[m+(f+1<<2)>>2]|0)+f|0;while((a[m+(f<<2)>>0]|0)==11);if(i){c[(c[c[p>>2]>>2]|0)+(j<<2)>>2]=f-k;f=25}else f=25}else if((f|0)==18){e=c[g>>2]|0;c[h>>2]=e;a[m+(j<<2)>>0]=0;e=e&255;f=25}else if((f|0)==23)if(i){c[(c[c[p>>2]>>2]|0)+(j<<2)>>2]=e-k;f=27}else f=27;c:do if((f|0)==25){f=0;switch(e<<24>>24){case 6:case 2:{e=9;break c}case 16:case 15:case 14:case 13:case 12:case 11:case 10:case 3:case 4:{f=27;break c}case 5:{e=10;break c}default:{e=1;break c}}}while(0);if((f|0)==27)e=2;k=e+k|0}while((k|0)<(c[o>>2]|0));d=c[d>>2]|0;l=q;return d|0}function sB(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,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;U=l;l=l+1216|0;M=U+176|0;J=U+168|0;w=U+160|0;N=U+152|0;D=U+144|0;C=U+136|0;E=U+128|0;z=U+120|0;A=U+112|0;y=U+104|0;v=U+96|0;O=U+88|0;B=U+80|0;q=U+72|0;F=U+64|0;Q=U+56|0;L=U+48|0;K=U+40|0;H=U+32|0;G=U+24|0;r=U+16|0;u=U+8|0;t=U;T=U+184|0;o=U+1184|0;R=f;S=h;a:while(1){switch(a[R>>0]|0){case 0:{P=3;break a}case 2:{P=16;break a}case 1:{P=21;break a}case 4:{P=71;break a}case 7:{P=76;break a}case 5:{P=98;break a}case 14:{P=133;break a}case 8:{P=140;break a}case 9:{P=155;break a}case 15:{P=172;break a}case 16:{P=188;break a}case 13:{P=197;break a}case 10:{P=220;break a}case 6:break;default:{P=228;break a}}k=R+8|0;m=R+4|0;n=R+(c[m>>2]<<3)|0;f=k;b:while(1){switch(a[f>>0]|0){case 7:case 5:{P=225;break b}case 6:{h=c[f+4>>2]|0;break}case 15:{h=1;break}default:{P=226;break b}}f=f+(h<<3)|0}if((P|0)==225){tB(n,i,T)|0;sB(e,k,0,S,T)}else if((P|0)==226)sB(e,k,0,S,286625);P=(qB(k)|0)==0;R=R+(c[m>>2]<<3)|0;S=P?S:-1}switch(P|0){case 3:{o=c[R+4>>2]|0;j=c[e>>2]|0;if(((S|0)>-1?(s=c[j>>2]|0,p=s+(S<<2)|0,(a[p>>0]|0)==4):0)?(d[p+1>>0]|0)==(o|0):0){k=j+4|0;m=c[k>>2]|0;n=e+4|0;f=c[n>>2]|0;if((f|0)<(m|0))j=s;else{h=c[e+8>>2]|0;f=c[h+12>>2]|0;f=jg[c[f>>2]&31](c[f+4>>2]|0,s,m<<2,m<<3)|0;if((m|0)>0&(f|0)==0)Ix(h,286607,t);c[j>>2]=f;c[k>>2]=m<<1;f=c[n>>2]|0;j=c[c[e>>2]>>2]|0}c[n>>2]=f+1;e=j+(f<<2)|0;a[e>>0]=0;a[e+1>>0]=0;l=U;return}k=j+4|0;m=c[k>>2]|0;n=e+4|0;f=c[n>>2]|0;if((f|0)>=(m|0)){f=c[e+8>>2]|0;h=c[f+12>>2]|0;h=jg[c[h>>2]&31](c[h+4>>2]|0,c[j>>2]|0,m<<2,m<<3)|0;if((m|0)>0&(h|0)==0)Ix(f,286607,u);c[j>>2]=h;c[k>>2]=m<<1;f=c[n>>2]|0;j=c[e>>2]|0}c[n>>2]=f+1;e=(c[j>>2]|0)+(f<<2)|0;a[e>>0]=1;a[e+1>>0]=o;l=U;return}case 16:{j=c[e>>2]|0;k=j+4|0;m=c[k>>2]|0;n=e+4|0;f=c[n>>2]|0;if((f|0)>=(m|0)){f=c[e+8>>2]|0;h=c[f+12>>2]|0;h=jg[c[h>>2]&31](c[h+4>>2]|0,c[j>>2]|0,m<<2,m<<3)|0;if((m|0)>0&(h|0)==0)Ix(f,286607,r);c[j>>2]=h;c[k>>2]=m<<1;f=c[n>>2]|0;j=c[e>>2]|0}c[n>>2]=f+1;e=(c[j>>2]|0)+(f<<2)|0;a[e>>0]=0;a[e+1>>0]=0;l=U;return}case 21:{r=R+8|0;k=-1;h=0;m=0;c:while(1){T=a[r+m>>0]|0;f=T&255;switch(T<<24>>24){case 0:{if((h|0)>1)break c;else f=k;break}case -1:{if((h|0)<(m<<3|0))break c;f=k;h=h+8|0;break}default:{if((h|0)>0|(f+255&f|0)!=0)break c;f=m;h=h+1|0}}m=m+1|0;if((m|0)>=32){P=29;break}else k=f}if((P|0)==29){switch(h|0){case 0:{n=18;break}case 1:{T=d[r+f>>0]|0;n=f<<3;o=(T&240|0)==0;n=o?n:n|4;T=o?T:T>>>4;o=(T&12|0)==0;n=(o?T:T>>>2)>>>1&1|(o?n:n|2);o=c[e>>2]|0;if(((S|0)>-1?(j=c[o>>2]|0,x=j+(S<<2)|0,(a[x>>0]|0)==4):0)?(d[x+1>>0]|0)==(n|0):0){h=o+4|0;k=c[h>>2]|0;m=e+4|0;f=c[m>>2]|0;if((f|0)>=(k|0)){f=c[e+8>>2]|0;T=c[f+12>>2]|0;j=jg[c[T>>2]&31](c[T+4>>2]|0,j,k<<2,k<<3)|0;if((k|0)>0&(j|0)==0)Ix(f,286607,G);c[o>>2]=j;c[h>>2]=k<<1;f=c[m>>2]|0;j=c[c[e>>2]>>2]|0}c[m>>2]=f+1;e=j+(f<<2)|0;a[e>>0]=0;a[e+1>>0]=0;l=U;return}h=o+4|0;k=c[h>>2]|0;m=e+4|0;f=c[m>>2]|0;if((f|0)<(k|0))j=o;else{j=c[e+8>>2]|0;f=c[j+12>>2]|0;f=jg[c[f>>2]&31](c[f+4>>2]|0,c[o>>2]|0,k<<2,k<<3)|0;if((k|0)>0&(f|0)==0)Ix(j,286607,H);c[o>>2]=f;c[h>>2]=k<<1;f=c[m>>2]|0;j=c[e>>2]|0}c[m>>2]=f+1;e=(c[j>>2]|0)+(f<<2)|0;a[e>>0]=1;a[e+1>>0]=n;l=U;return}default:n=0}j=c[e>>2]|0;k=j+4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[k>>2]&31](c[k+4>>2]|0,c[j>>2]|0,n<<2,n<<3)|0;if((n|0)>0&(k|0)==0)Ix(f,286607,Q);c[j>>2]=k;c[m>>2]=n<<1;j=c[q>>2]|0}f=j+1|0;c[q>>2]=f;h=h+1|0;if((h|0)==8){j=0;break}j=c[e>>2]|0}do{a[(c[c[e>>2]>>2]|0)+(o<<2)+j>>0]=a[r+j>>0]|0;j=j+1|0}while((j|0)!=32);l=U;return}case 71:{j=c[e>>2]|0;k=j+4|0;m=c[k>>2]|0;n=e+4|0;f=c[n>>2]|0;if((f|0)>=(m|0)){f=c[e+8>>2]|0;h=c[f+12>>2]|0;h=jg[c[h>>2]&31](c[h+4>>2]|0,c[j>>2]|0,m<<2,m<<3)|0;if((m|0)>0&(h|0)==0)Ix(f,286607,q);c[j>>2]=h;c[k>>2]=m<<1;f=c[n>>2]|0;j=c[e>>2]|0}c[n>>2]=f+1;e=(c[j>>2]|0)+(f<<2)|0;a[e>>0]=18;a[e+1>>0]=0;l=U;return}case 76:{m=R+8|0;n=R+(c[R+4>>2]<<3)|0;h=(a[n>>0]|0)==3;k=h&1;j=tB(m,286625,T)|0;e:do if(!(uB(m)|0)){f:do if(!j){tB(n,i,o)|0;f=0;while(1){if((a[o+f>>0]&a[T+f>>0])<<24>>24)break f;f=f+1|0;if((f|0)>=32){P=81;break e}}}while(0);if((g|0)!=0&h){j=wB(e,15)|0;if((j|0)>-1)c[(c[c[e>>2]>>2]|0)+(j+1<<2)>>2]=(c[e+4>>2]|0)-j;sB(e,m,1,-1,286625);break}f=vB(e,T,j)|0;h=wB(e,10)|0;sB(e,m,k,f,286625);j=wB(e,14)|0;if((h|0)>-1)c[(c[c[e>>2]>>2]|0)+(h+1<<2)>>2]=(c[e+4>>2]|0)-h;if((f|0)>-1)c[(c[c[e>>2]>>2]|0)+(f+1<<2)>>2]=(c[e+4>>2]|0)-f;sB(e,n,g,-1,i);if((j|0)>-1)c[(c[c[e>>2]>>2]|0)+(j+1<<2)>>2]=(c[e+4>>2]|0)-j}else P=81;while(0);if((P|0)==81){f=vB(e,T,0)|0;sB(e,m,0,f,i);if(h)j=-1;else j=wB(e,11)|0;if((f|0)>-1)c[(c[c[e>>2]>>2]|0)+(f+1<<2)>>2]=(c[e+4>>2]|0)-f;sB(e,n,g,-1,i);if((j|0)>-1)c[(c[c[e>>2]>>2]|0)+(j+1<<2)>>2]=(c[e+4>>2]|0)-j}l=U;return}case 98:{n=R+8|0;g:do switch(a[n>>0]|0){case 1:{P=R+16|0;a[T>>0]=a[P>>0]|0;a[T+1>>0]=a[P+1>>0]|0;a[T+2>>0]=a[P+2>>0]|0;a[T+3>>0]=a[P+3>>0]|0;a[T+4>>0]=a[P+4>>0]|0;a[T+5>>0]=a[P+5>>0]|0;a[T+6>>0]=a[P+6>>0]|0;a[T+7>>0]=a[P+7>>0]|0;a[T+8>>0]=a[P+8>>0]|0;a[T+9>>0]=a[P+9>>0]|0;a[T+10>>0]=a[P+10>>0]|0;a[T+11>>0]=a[P+11>>0]|0;a[T+12>>0]=a[P+12>>0]|0;a[T+13>>0]=a[P+13>>0]|0;a[T+14>>0]=a[P+14>>0]|0;a[T+15>>0]=a[P+15>>0]|0;a[T+16>>0]=a[P+16>>0]|0;a[T+17>>0]=a[P+17>>0]|0;a[T+18>>0]=a[P+18>>0]|0;a[T+19>>0]=a[P+19>>0]|0;a[T+20>>0]=a[P+20>>0]|0;a[T+21>>0]=a[P+21>>0]|0;a[T+22>>0]=a[P+22>>0]|0;a[T+23>>0]=a[P+23>>0]|0;a[T+24>>0]=a[P+24>>0]|0;a[T+25>>0]=a[P+25>>0]|0;a[T+26>>0]=a[P+26>>0]|0;a[T+27>>0]=a[P+27>>0]|0;a[T+28>>0]=a[P+28>>0]|0;a[T+29>>0]=a[P+29>>0]|0;a[T+30>>0]=a[P+30>>0]|0;a[T+31>>0]=a[P+31>>0]|0;P=102;break}case 0:{j=T;f=j+32|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(f|0));S=c[R+12>>2]|0;P=T+(S>>3)|0;a[P>>0]=d[P>>0]|1<<(S&7);P=102;break}case 2:{j=T;f=j+32|0;do{a[j>>0]=255;j=j+1|0}while((j|0)<(f|0));P=102;break}default:{j=tB(n,286625,T)|0;h:do if(!(uB(n)|0)){i:do if(!j){f=0;while(1){if((a[i+f>>0]&a[T+f>>0])<<24>>24)break i;f=f+1|0;if((f|0)>=32)break h}}while(0);m=vB(e,T,j)|0;if(g){j=wB(e,15)|0;if((j|0)>-1){c[(c[c[e>>2]>>2]|0)+(j+1<<2)>>2]=(c[e+4>>2]|0)-j;k=-1}else k=-1}else k=wB(e,10)|0;f=e+4|0;h=c[f>>2]|0;sB(e,n,0,-1,286625);j=wB(e,15)|0;if((j|0)>-1)c[(c[c[e>>2]>>2]|0)+(j+1<<2)>>2]=h-j;if((k|0)>-1)c[(c[c[e>>2]>>2]|0)+(k+1<<2)>>2]=(c[f>>2]|0)-k;if((m|0)<=-1)break g;c[(c[c[e>>2]>>2]|0)+(m+1<<2)>>2]=(c[f>>2]|0)-m;break g}while(0);f=vB(e,T,0)|0;sB(e,n,0,f,286625);j=wB(e,11)|0;if((f|0)>-1)c[(c[c[e>>2]>>2]|0)+(f+1<<2)>>2]=(c[e+4>>2]|0)-f;if((j|0)>-1)c[(c[c[e>>2]>>2]|0)+(j+1<<2)>>2]=f-j}}while(0);if((P|0)==102){j=c[e>>2]|0;k=j+4|0;m=c[k>>2]|0;q=e+4|0;f=c[q>>2]|0;p=e+8|0;if((f|0)>=(m|0)){f=c[p>>2]|0;h=c[f+12>>2]|0;h=jg[c[h>>2]&31](c[h+4>>2]|0,c[j>>2]|0,m<<2,m<<3)|0;if((m|0)>0&(h|0)==0)Ix(f,286607,B);c[j>>2]=h;c[k>>2]=m<<1;f=c[q>>2]|0;j=c[e>>2]|0}o=f+1|0;c[q>>2]=o;f=(c[j>>2]|0)+(f<<2)|0;a[f>>0]=6;a[f+1>>0]=0;f=o;h=0;while(1){m=j+4|0;n=c[m>>2]|0;if((f|0)<(n|0))j=f;else{f=c[p>>2]|0;k=c[f+12>>2]|0;k=jg[c[k>>2]&31](c[k+4>>2]|0,c[j>>2]|0,n<<2,n<<3)|0;if((n|0)>0&(k|0)==0)Ix(f,286607,O);c[j>>2]=k;c[m>>2]=n<<1;j=c[q>>2]|0}f=j+1|0;c[q>>2]=f;h=h+1|0;if((h|0)==8){j=0;break}j=c[e>>2]|0}do{a[(c[c[e>>2]>>2]|0)+(o<<2)+j>>0]=a[T+j>>0]|0;j=j+1|0}while((j|0)!=32)}l=U;return}case 133:{n=c[R+4>>2]|0;if((n|0)>0){j=c[e>>2]|0;k=j+4|0;m=c[k>>2]|0;o=e+4|0;f=c[o>>2]|0;if((f|0)>=(m|0)){f=c[e+8>>2]|0;h=c[f+12>>2]|0;h=jg[c[h>>2]&31](c[h+4>>2]|0,c[j>>2]|0,m<<2,m<<3)|0;if((m|0)>0&(h|0)==0)Ix(f,286607,v);c[j>>2]=h;c[k>>2]=m<<1;f=c[o>>2]|0;j=c[e>>2]|0}c[o>>2]=f+1;T=(c[j>>2]|0)+(f<<2)|0;a[T>>0]=7;a[T+1>>0]=n}sB(e,R+8|0,0,-1,286625);l=U;return}case 140:{j=R+8|0;p=vB(e,T,tB(j,286625,T)|0)|0;if(!(uB(j)|0)){o=wB(e,10)|0;sB(e,j,0,-1,286625);j=c[e>>2]|0;k=j+4|0;m=c[k>>2]|0;n=e+4|0;f=c[n>>2]|0;if((f|0)<(m|0))h=f;else{f=c[e+8>>2]|0;h=c[f+12>>2]|0;h=jg[c[h>>2]&31](c[h+4>>2]|0,c[j>>2]|0,m<<2,m<<3)|0;if((m|0)>0&(h|0)==0)Ix(f,286607,A);c[j>>2]=h;c[k>>2]=m<<1;h=c[n>>2]|0;j=c[e>>2]|0}f=h+1|0;c[n>>2]=f;j=c[j>>2]|0;T=j+(h<<2)|0;a[T>>0]=17;a[T+1>>0]=0;if((o|0)>-1)c[j+(o+1<<2)>>2]=f-o}else{j=c[e>>2]|0;k=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|0)==0)Ix(h,286607,M);c[f>>2]=k;c[m>>2]=n<<1;k=c[r>>2]|0;f=c[e>>2]|0}h=k+1|0;c[r>>2]=h;S=(c[f>>2]|0)+(k<<2)|0;a[S>>0]=8;a[S+1>>0]=0;j=j+(c[j+4>>2]<<3)|0}while((a[j>>0]|0)==12)}o=c[c[e>>2]>>2]|0;if((q|0)>-1)c[o+(q+1<<2)>>2]=(c[r>>2]|0)-q;n=c[r>>2]|0;j:do if((s|0)<(n|0)){m=s;while(1){k=o+(m<<2)|0;j=a[k>>0]|0;if(j<<24>>24==13){h=c[T+(b[k+2>>1]<<2)>>2]|0;f=m+2|0;j=a[o+(f<<2)>>0]|0;if(j<<24>>24==11)do{f=(c[o+(f+1<<2)>>2]|0)+f|0;j=a[o+(f<<2)>>0]|0}while(j<<24>>24==11);j=j<<24>>24==8?11:12;a[k>>0]=j;if((m|0)>-1)c[o+(m+1<<2)>>2]=h-m}switch(j<<24>>24){case 6:case 2:{j=9;break}case 5:{j=10;break}case 16:case 15:case 14:case 13:case 12:case 11:case 10:case 3:case 4:{j=2;break}default:j=1}m=j+m|0;if((m|0)>=(n|0))break j}}while(0);l=U;return}case 220:{T=wB(e,13)|0;b[(c[c[e>>2]>>2]|0)+(T<<2)+2>>1]=d[R+(c[R+4>>2]<<3)+1>>0]|0;l=U;return}case 228:{l=U;return}}}function tB(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+64|0;k=m+32|0;g=m;j=e;a:while(1){h=b;b:while(1){switch(a[h>>0]|0){case 14:break a;case 8:{i=22;break a}case 9:{i=20;break a}case 3:{i=8;break a}case 4:{i=4;break a}case 7:{i=9;break a}case 5:{i=15;break a}case 16:{i=18;break a}case 1:{i=7;break a}case 0:{i=6;break a}case 2:{i=5;break a}case 6:break b;case 12:case 13:case 15:{b=1;break}case 10:{b=c[h+4>>2]|0;break}default:{b=0;i=28;break a}}h=h+(b<<3)|0}b=h+8|0;if(pB(b,0)|0){i=13;break}else j=286625}c:switch(i|0){case 4:{b=f;e=b+32|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(e|0));f=0;l=m;return f|0}case 5:{b=f;e=b+32|0;do{a[b>>0]=255;b=b+1|0}while((b|0)<(e|0));f=0;l=m;return f|0}case 6:{b=f;e=b+32|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(e|0));k=c[h+4>>2]|0;f=f+(k>>3)|0;a[f>>0]=d[f>>0]|1<<(k&7);f=0;l=m;return f|0}case 7:{k=h+8|0;a[f>>0]=a[k>>0]|0;a[f+1>>0]=a[k+1>>0]|0;a[f+2>>0]=a[k+2>>0]|0;a[f+3>>0]=a[k+3>>0]|0;a[f+4>>0]=a[k+4>>0]|0;a[f+5>>0]=a[k+5>>0]|0;a[f+6>>0]=a[k+6>>0]|0;a[f+7>>0]=a[k+7>>0]|0;a[f+8>>0]=a[k+8>>0]|0;a[f+9>>0]=a[k+9>>0]|0;a[f+10>>0]=a[k+10>>0]|0;a[f+11>>0]=a[k+11>>0]|0;a[f+12>>0]=a[k+12>>0]|0;a[f+13>>0]=a[k+13>>0]|0;a[f+14>>0]=a[k+14>>0]|0;a[f+15>>0]=a[k+15>>0]|0;a[f+16>>0]=a[k+16>>0]|0;a[f+17>>0]=a[k+17>>0]|0;a[f+18>>0]=a[k+18>>0]|0;a[f+19>>0]=a[k+19>>0]|0;a[f+20>>0]=a[k+20>>0]|0;a[f+21>>0]=a[k+21>>0]|0;a[f+22>>0]=a[k+22>>0]|0;a[f+23>>0]=a[k+23>>0]|0;a[f+24>>0]=a[k+24>>0]|0;a[f+25>>0]=a[k+25>>0]|0;a[f+26>>0]=a[k+26>>0]|0;a[f+27>>0]=a[k+27>>0]|0;a[f+28>>0]=a[k+28>>0]|0;a[f+29>>0]=a[k+29>>0]|0;a[f+30>>0]=a[k+30>>0]|0;a[f+31>>0]=a[k+31>>0]|0;f=0;l=m;return f|0}case 8:{a[f>>0]=a[j>>0]|0;a[f+1>>0]=a[j+1>>0]|0;a[f+2>>0]=a[j+2>>0]|0;a[f+3>>0]=a[j+3>>0]|0;a[f+4>>0]=a[j+4>>0]|0;a[f+5>>0]=a[j+5>>0]|0;a[f+6>>0]=a[j+6>>0]|0;a[f+7>>0]=a[j+7>>0]|0;a[f+8>>0]=a[j+8>>0]|0;a[f+9>>0]=a[j+9>>0]|0;a[f+10>>0]=a[j+10>>0]|0;a[f+11>>0]=a[j+11>>0]|0;a[f+12>>0]=a[j+12>>0]|0;a[f+13>>0]=a[j+13>>0]|0;a[f+14>>0]=a[j+14>>0]|0;a[f+15>>0]=a[j+15>>0]|0;a[f+16>>0]=a[j+16>>0]|0;a[f+17>>0]=a[j+17>>0]|0;a[f+18>>0]=a[j+18>>0]|0;a[f+19>>0]=a[j+19>>0]|0;a[f+20>>0]=a[j+20>>0]|0;a[f+21>>0]=a[j+21>>0]|0;a[f+22>>0]=a[j+22>>0]|0;a[f+23>>0]=a[j+23>>0]|0;a[f+24>>0]=a[j+24>>0]|0;a[f+25>>0]=a[j+25>>0]|0;a[f+26>>0]=a[j+26>>0]|0;a[f+27>>0]=a[j+27>>0]|0;a[f+28>>0]=a[j+28>>0]|0;a[f+29>>0]=a[j+29>>0]|0;a[f+30>>0]=a[j+30>>0]|0;a[f+31>>0]=a[j+31>>0]|0;f=1;l=m;return f|0}case 9:{g=tB(h+8|0,j,f)|0;b=tB(h+(c[h+4>>2]<<3)|0,j,k)|0;e=0;do{j=f+e|0;a[j>>0]=a[j>>0]|a[k+e>>0];e=e+1|0}while((e|0)!=32);f=b|g;l=m;return f|0}case 13:{e=tB(h+(c[h+4>>2]<<3)|0,j,g)|0;b=tB(b,g,f)|0;if(!b){f=0;l=m;return f|0}f=((b|e)&2|0)==0?e:2;l=m;return f|0}case 15:{tB(h+8|0,j,f)|0;b=0;do{k=f+b|0;a[k>>0]=a[k>>0]|a[j+b>>0];b=b+1|0}while((b|0)!=32);b=1;l=m;return b|0}case 18:{f=(tB(h+8|0,286625,f)|0)==0;f=f?0:2;l=m;return f|0}case 20:{b=tB(h+8|0,j,f)|0;e=0;do{k=f+e|0;a[k>>0]=a[k>>0]&a[j+e>>0];e=e+1|0}while((e|0)!=32);l=m;return b|0}case 22:{switch(a[h+8>>0]|0){case 1:{k=h+16|0;a[f>>0]=a[k>>0]|0;a[f+1>>0]=a[k+1>>0]|0;a[f+2>>0]=a[k+2>>0]|0;a[f+3>>0]=a[k+3>>0]|0;a[f+4>>0]=a[k+4>>0]|0;a[f+5>>0]=a[k+5>>0]|0;a[f+6>>0]=a[k+6>>0]|0;a[f+7>>0]=a[k+7>>0]|0;a[f+8>>0]=a[k+8>>0]|0;a[f+9>>0]=a[k+9>>0]|0;a[f+10>>0]=a[k+10>>0]|0;a[f+11>>0]=a[k+11>>0]|0;a[f+12>>0]=a[k+12>>0]|0;a[f+13>>0]=a[k+13>>0]|0;a[f+14>>0]=a[k+14>>0]|0;a[f+15>>0]=a[k+15>>0]|0;a[f+16>>0]=a[k+16>>0]|0;a[f+17>>0]=a[k+17>>0]|0;a[f+18>>0]=a[k+18>>0]|0;a[f+19>>0]=a[k+19>>0]|0;a[f+20>>0]=a[k+20>>0]|0;a[f+21>>0]=a[k+21>>0]|0;a[f+22>>0]=a[k+22>>0]|0;a[f+23>>0]=a[k+23>>0]|0;a[f+24>>0]=a[k+24>>0]|0;a[f+25>>0]=a[k+25>>0]|0;a[f+26>>0]=a[k+26>>0]|0;a[f+27>>0]=a[k+27>>0]|0;a[f+28>>0]=a[k+28>>0]|0;a[f+29>>0]=a[k+29>>0]|0;a[f+30>>0]=a[k+30>>0]|0;a[f+31>>0]=a[k+31>>0]|0;break}case 0:{b=f;e=b+32|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(e|0));j=c[h+12>>2]|0;k=f+(j>>3)|0;a[k>>0]=d[k>>0]|1<<(j&7);break}case 2:{b=f;e=b+32|0;do{a[b>>0]=255;b=b+1|0}while((b|0)<(e|0));break}default:break c}a[f>>0]=~a[f>>0];k=f+1|0;a[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>0]=a[j+11>>0]|0;a[f+12>>0]=a[j+12>>0]|0;a[f+13>>0]=a[j+13>>0]|0;a[f+14>>0]=a[j+14>>0]|0;a[f+15>>0]=a[j+15>>0]|0;a[f+16>>0]=a[j+16>>0]|0;a[f+17>>0]=a[j+17>>0]|0;a[f+18>>0]=a[j+18>>0]|0;a[f+19>>0]=a[j+19>>0]|0;a[f+20>>0]=a[j+20>>0]|0;a[f+21>>0]=a[j+21>>0]|0;a[f+22>>0]=a[j+22>>0]|0;a[f+23>>0]=a[j+23>>0]|0;a[f+24>>0]=a[j+24>>0]|0;a[f+25>>0]=a[j+25>>0]|0;a[f+26>>0]=a[j+26>>0]|0;a[f+27>>0]=a[j+27>>0]|0;a[f+28>>0]=a[j+28>>0]|0;a[f+29>>0]=a[j+29>>0]|0;a[f+30>>0]=a[j+30>>0]|0;a[f+31>>0]=a[j+31>>0]|0;f=k|1;l=m;return f|0}function uB(b){b=b|0;var d=0,e=0;a:while(1){switch(a[b>>0]|0){case 4:case 2:case 1:case 0:{b=1;break a}case 7:{if(!(uB(b+8|0)|0)){b=0;break a}d=c[b+4>>2]|0;break}case 6:{if(!(pB(b+(c[b+4>>2]<<3)|0,1)|0)){b=0;break a}else d=1;break}case 10:{d=c[b+4>>2]|0;break}case 13:case 15:case 12:case 9:{d=1;break}default:{b=0;e=9;break a}}b=b+(d<<3)|0}if((e|0)==9)return b|0;e=b;return e|0}function vB(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;q=r;if(!f){h=-1;g=0;i=0}else{e=-1;l=r;return e|0}a:while(1){p=a[e+i>>0]|0;f=p&255;switch(p<<24>>24){case 0:{if((g|0)>1)break a;else f=h;break}case -1:{if((g|0)<(i<<3|0))break a;f=h;g=g+8|0;break}default:{if((g|0)>0|(f+255&f|0)!=0)break a;f=i;g=g+1|0}}i=i+1|0;if((i|0)>=32){j=9;break}else h=f}if((j|0)==9)switch(g|0){case 0:{e=wB(b,11)|0;l=r;return e|0}case 1:{o=d[e+f>>0]|0;q=f<<3;p=(o&240|0)==0;q=p?q:q|4;o=p?o:o>>>4;p=(o&12|0)==0;e=wB(b,4)|0;a[(c[c[b>>2]>>2]|0)+(e<<2)+1>>0]=(p?o:o>>>2)>>>1&1|(p?q:q|2);l=r;return e|0}default:{e=wB(b,3)|0;l=r;return e|0}}f=wB(b,5)|0;m=b+4|0;p=c[m>>2]|0;n=b+8|0;g=p;o=0;do{i=c[b>>2]|0;j=i+4|0;k=c[j>>2]|0;if((g|0)>=(k|0)){g=c[n>>2]|0;h=c[g+12>>2]|0;h=jg[c[h>>2]&31](c[h+4>>2]|0,c[i>>2]|0,k<<2,k<<3)|0;if((k|0)>0&(h|0)==0)Ix(g,286607,q);c[i>>2]=h;c[j>>2]=k<<1;g=c[m>>2]|0}g=g+1|0;c[m>>2]=g;o=o+1|0}while((o|0)!=8);g=0;do{a[(c[c[b>>2]>>2]|0)+(p<<2)+g>>0]=a[e+g>>0]|0;g=g+1|0}while((g|0)!=32);l=r;return f|0}function wB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;m=n+8|0;i=n;j=c[b>>2]|0;g=j+4|0;h=c[g>>2]|0;k=b+4|0;e=c[k>>2]|0;if((e|0)<(h|0))i=e;else{f=c[b+8>>2]|0;e=c[f+12>>2]|0;e=jg[c[e>>2]&31](c[e+4>>2]|0,c[j>>2]|0,h<<2,h<<3)|0;if((h|0)>0&(e|0)==0)Ix(f,286607,i);c[j>>2]=e;c[g>>2]=h<<1;h=c[b>>2]|0;i=c[k>>2]|0;j=h;h=c[h+4>>2]|0}e=i+1|0;c[k>>2]=e;g=c[j>>2]|0;f=g+(i<<2)|0;a[f>>0]=d;a[f+1>>0]=0;if((e|0)<(h|0)){m=e;b=g;d=m+1|0;c[k>>2]=d;m=b+(m<<2)|0;a[m>>0]=0;m=m+1|0;a[m>>0]=0;l=n;return i|0}f=c[b+8>>2]|0;e=c[f+12>>2]|0;e=jg[c[e>>2]&31](c[e+4>>2]|0,g,h<<2,h<<3)|0;if((h|0)>0&(e|0)==0)Ix(f,286607,m);c[j>>2]=e;c[j+4>>2]=h<<1;m=c[k>>2]|0;b=c[c[b>>2]>>2]|0;d=m+1|0;c[k>>2]=d;m=b+(m<<2)|0;a[m>>0]=0;m=m+1|0;a[m>>0]=0;l=n;return i|0}function xB(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;p=c[a>>2]|0;n=a+24|0;d=c[n>>2]|0;q=a+16|0;l=c[q>>2]|0;do if((d|0)!=-1){m=c[p+48>>2]|0;while(1){i=m+(d<<2)|0;h=c[i>>2]|0;g=(h>>>14)+-131071|0;f=d;d=(g|0)==-1?-1:d+1+g|0;if((f|0)>0?(j=m+(f+-1<<2)|0,k=c[j>>2]|0,((k&63)+-31|0)>>>0<5):0){e=j;g=k}else{e=i;g=h}if((g&63|0)==35){c[e>>2]=g&8372224|g>>>23<<6|34;e=l+~f|0;if((((e|0)>-1?e:0-e|0)|0)>131071){d=8;break}f=c[i>>2]&16383;e=(e<<14)+2147467264|0}else{e=l+~f|0;if((((e|0)>-1?e:0-e|0)|0)>131071){d=11;break}f=(e<<14)+2147467264|0;e=h&16383}c[i>>2]=f|e;if((d|0)==-1){d=14;break}}if((d|0)==8)NB(c[a+8>>2]|0,286657);else if((d|0)==11)NB(c[a+8>>2]|0,286657);else if((d|0)==14){o=c[q>>2]|0;break}}else o=l;while(0);c[n>>2]=-1;d=p+20|0;if((o|0)<(c[d>>2]|0)){f=a+8|0;e=c[p+48>>2]|0;d=o}else{f=a+8|0;o=p+48|0;e=Gw(c[(c[f>>2]|0)+52>>2]|0,c[o>>2]|0,d,4,2147483647,286684)|0;c[o>>2]=e;d=c[q>>2]|0}c[e+(d<<2)>>2]=b;d=c[q>>2]|0;e=p+24|0;if((d|0)<(c[e>>2]|0)){o=p+56|0;p=d;b=c[f>>2]|0;b=b+8|0;b=c[b>>2]|0;o=c[o>>2]|0;p=o+(p<<2)|0;c[p>>2]=b;p=c[q>>2]|0;b=p+1|0;c[q>>2]=b;return p|0}else{o=p+56|0;c[o>>2]=Gw(c[(c[f>>2]|0)+52>>2]|0,c[o>>2]|0,e,4,2147483647,286684)|0;p=c[q>>2]|0;b=c[f>>2]|0;b=b+8|0;b=c[b>>2]|0;o=c[o>>2]|0;p=o+(p<<2)|0;c[p>>2]=b;p=c[q>>2]|0;b=p+1|0;c[q>>2]=b;return p|0}return 0}function yB(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((c[a+16>>2]|0)==(d|0)){c[a+20>>2]=d;e=a+24|0;if((b|0)==-1)return;f=c[e>>2]|0;if((f|0)==-1){c[e>>2]=b;return}i=c[(c[a>>2]|0)+48>>2]|0;while(1){g=i+(f<<2)|0;h=c[g>>2]|0;e=(h>>>14)+-131071|0;e=(e|0)==-1?-1:f+1+e|0;if((e|0)==-1)break;else f=e}e=~f+b|0;if((((e|0)>-1?e:0-e|0)|0)>131071)NB(c[a+8>>2]|0,286657);c[g>>2]=(e<<14)+2147467264|h&16383;return}if((b|0)==-1)return;l=c[(c[a>>2]|0)+48>>2]|0;while(1){i=l+(b<<2)|0;f=c[i>>2]|0;h=(f>>>14)+-131071|0;g=b;b=(h|0)==-1?-1:b+1+h|0;if((g|0)>0?(j=l+(g+-1<<2)|0,k=c[j>>2]|0,((k&63)+-31|0)>>>0<5):0){e=j;h=k}else{e=i;h=f}if((h&63|0)!=35){e=~g+d|0;if((((e|0)>-1?e:0-e|0)|0)>131071){e=20;break}}else{c[e>>2]=h&8372224|h>>>23<<6|34;e=~g+d|0;if((((e|0)>-1?e:0-e|0)|0)>131071){e=17;break}f=c[i>>2]|0}c[i>>2]=f&16383|(e<<14)+2147467264;if((b|0)==-1){e=22;break}}if((e|0)==17)NB(c[a+8>>2]|0,286657);else if((e|0)==20)NB(c[a+8>>2]|0,286657);else if((e|0)==22)return}function zB(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;g=c[b+8>>2]|0;m=c[g+52>>2]|0;l=c[b>>2]|0;g=c[g+64>>2]|0;h=ox(g,e)|0;if((h|0)==316088)h=nx(m,g,e)|0;j=h+8|0;if((c[j>>2]|0)==19){e=c[h>>2]|0;g=b+28|0;if(((e|0)<(c[g>>2]|0)?(i=c[l+44>>2]|0,((c[f+8>>2]^c[i+(e<<4)+8>>2])&63|0)==0):0)?(Ax(0,i+(e<<4)|0,f)|0)!=0:0){m=e;return m|0}}else g=b+28|0;e=l+16|0;i=c[e>>2]|0;k=c[g>>2]|0;c[h>>2]=k;c[h+4>>2]=((k|0)<0)<<31>>31;c[j>>2]=19;h=l+44|0;if((k|0)<(i|0)){b=i;e=c[h>>2]|0}else{j=Gw(m,c[h>>2]|0,e,16,67108863,286740)|0;c[h>>2]=j;b=c[e>>2]|0;e=j}if((i|0)<(b|0)){h=i;do{c[e+(h<<4)+8>>2]=0;h=h+1|0}while((h|0)!=(b|0))}j=e+(k<<4)|0;c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];c[g>>2]=(c[g>>2]|0)+1;if(!(c[f+8>>2]&64)){m=k;return m|0}e=l+5|0;b=a[e>>0]|0;if(!(b&4)){m=k;return m|0}h=c[f>>2]|0;if(!(a[h+5>>0]&3)){m=k;return m|0}g=c[m+12>>2]|0;if((d[g+61>>0]|0)<2){uw(g,h);m=k;return m|0}else{a[e>>0]=a[g+60>>0]&3|b&-8;m=k;return m|0}return 0}function AB(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;switch(c[f>>2]|0){case 8:{c[f>>2]=7;return}case 9:{j=f+8|0;c[j>>2]=xB(e,c[j>>2]<<23|5)|0;c[f>>2]=12;return}case 10:{h=f+8|0;i=b[h>>1]|0;if((i&256|0)==0?(d[e+42>>0]|0)<=(i|0):0){j=e+44|0;a[j>>0]=(a[j>>0]|0)+-1<<24>>24}g=a[h+2>>0]|0;if((a[h+3>>0]|0)==8)if((d[e+42>>0]|0)>(g&255))j=7;else{j=e+44|0;a[j>>0]=(a[j>>0]|0)+-1<<24>>24;j=7}else j=6;c[h>>2]=xB(e,(g&255)<<23|j|i<<14)|0;c[f>>2]=12;return}case 13:{c[f>>2]=7;j=f+8|0;c[j>>2]=(c[(c[(c[e>>2]|0)+48>>2]|0)+(c[j>>2]<<2)>>2]|0)>>>6&255;return}case 14:{j=(c[(c[e>>2]|0)+48>>2]|0)+(c[f+8>>2]<<2)|0;c[j>>2]=c[j>>2]&8388607|16777216;c[f>>2]=12;return}default:return}}function BB(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;AB(b,e);if(((c[e>>2]|0)==7?(f=c[e+8>>2]|0,(f&256|0)==0):0)?(d[b+42>>0]|0|0)<=(f|0):0){h=b+44|0;a[h>>0]=(a[h>>0]|0)+-1<<24>>24}f=b+44|0;g=(d[f>>0]|0)+1|0;h=(c[b>>2]|0)+8|0;if(g>>>0<=(d[h>>0]|0)>>>0){h=g&255;a[f>>0]=h;h=h&255;h=h+-1|0;CB(b,e,h);return}if(g>>>0>254)NB(c[b+8>>2]|0,286692);g=g&255;a[h>>0]=g;h=g;a[f>>0]=h;h=h&255;h=h+-1|0;CB(b,e,h);return}function CB(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,y=0,z=0,A=0;DB(a,b,d);o=(c[b>>2]|0)==11;x=b+16|0;do if(o?(h=c[b+8>>2]|0,(h|0)!=-1):0){e=c[x>>2]|0;if((e|0)==-1){c[x>>2]=h;f=h;break}k=c[(c[a>>2]|0)+48>>2]|0;while(1){i=k+(e<<2)|0;j=c[i>>2]|0;g=(j>>>14)+-131071|0;g=(g|0)==-1?-1:e+1+g|0;if((g|0)==-1)break;else e=g}e=h+~e|0;if((((e|0)>-1?e:0-e|0)|0)>131071)NB(c[a+8>>2]|0,286657);else{c[i>>2]=(e<<14)+2147467264|j&16383;n=10;break}}else n=10;while(0);if((n|0)==10)f=c[x>>2]|0;v=b+20|0;e=c[v>>2]|0;if((f|0)==(e|0)){c[x>>2]=-1;c[v>>2]=-1;A=b+8|0;c[A>>2]=d;c[b>>2]=7;return}a:do if((f|0)==-1)n=19;else{i=c[(c[a>>2]|0)+48>>2]|0;while(1){g=i+(f<<2)|0;if((f|0)>0?(l=c[i+(f+-1<<2)>>2]|0,((l&63)+-31|0)>>>0<5):0)h=l;else h=c[g>>2]|0;if((h&63|0)!=35){n=26;break a}n=((c[g>>2]|0)>>>14)+-131071|0;f=(n|0)==-1?-1:f+1+n|0;if((f|0)==-1){n=19;break}}}while(0);b:do if((n|0)==19)if((e|0)==-1){s=-1;A=-1}else{h=c[(c[a>>2]|0)+48>>2]|0;while(1){f=h+(e<<2)|0;if((e|0)>0?(m=c[h+(e+-1<<2)>>2]|0,((m&63)+-31|0)>>>0<5):0)g=m;else g=c[f>>2]|0;if((g&63|0)!=35){n=26;break b}l=((c[f>>2]|0)>>>14)+-131071|0;e=(l|0)==-1?-1:e+1+l|0;if((e|0)==-1){s=-1;A=-1;break}}}while(0);do if((n|0)==26){l=a+24|0;do if(!o){f=c[l>>2]|0;c[l>>2]=-1;i=xB(a,2147450910)|0;if((f|0)!=-1)if((i|0)!=-1){g=c[(c[a>>2]|0)+48>>2]|0;h=i;while(1){j=g+(h<<2)|0;k=c[j>>2]|0;e=(k>>>14)+-131071|0;e=(e|0)==-1?-1:h+1+e|0;if((e|0)==-1)break;else h=e}e=f+~h|0;if((((e|0)>-1?e:0-e|0)|0)>131071)NB(c[a+8>>2]|0,286657);else{c[j>>2]=(e<<14)+2147467264|k&16383;p=i;break}}else p=f;else p=i}else p=-1;while(0);n=a+16|0;o=a+20|0;c[o>>2]=c[n>>2];k=d<<6;j=xB(a,k|16387)|0;c[o>>2]=c[n>>2];k=xB(a,k|8388611)|0;c[o>>2]=c[n>>2];if((p|0)!=-1){e=c[l>>2]|0;if((e|0)==-1){c[l>>2]=p;s=j;A=k;break}i=c[(c[a>>2]|0)+48>>2]|0;while(1){g=i+(e<<2)|0;h=c[g>>2]|0;f=(h>>>14)+-131071|0;f=(f|0)==-1?-1:e+1+f|0;if((f|0)==-1)break;else e=f}e=p+~e|0;if((((e|0)>-1?e:0-e|0)|0)>131071)NB(c[a+8>>2]|0,286657);else{c[g>>2]=(e<<14)+2147467264|h&16383;s=j;A=k;break}}else{s=j;A=k}}while(0);o=c[a+16>>2]|0;c[a+20>>2]=o;e=c[v>>2]|0;c:do if((e|0)!=-1){l=(d|0)==255;m=d<<6&16320;n=c[(c[a>>2]|0)+48>>2]|0;while(1){k=n+(e<<2)|0;g=c[k>>2]|0;p=(g>>>14)+-131071|0;j=e;e=(p|0)==-1?-1:e+1+p|0;if((j|0)>0?(q=n+(j+-1<<2)|0,r=c[q>>2]|0,((r&63)+-31|0)>>>0<5):0){i=q;h=r}else{i=k;h=g}if((h&63|0)!=35){f=s+~j|0;if((((f|0)>-1?f:0-f|0)|0)>131071){n=55;break}}else{f=h>>>23;if(l|(f|0)==(d|0))f=h&8372224|f<<6|34;else f=h&-16321|m;c[i>>2]=f;f=o+~j|0;if((((f|0)>-1?f:0-f|0)|0)>131071){n=52;break}g=c[k>>2]|0}c[k>>2]=g&16383|(f<<14)+2147467264;if((e|0)==-1)break c}if((n|0)==52)NB(c[a+8>>2]|0,286657);else if((n|0)==55)NB(c[a+8>>2]|0,286657)}while(0);e=c[x>>2]|0;if((e|0)==-1){c[x>>2]=-1;c[v>>2]=-1;A=b+8|0;c[A>>2]=d;c[b>>2]=7;return}k=d<<6;l=k&16320;m=c[(c[a>>2]|0)+48>>2]|0;if((d|0)==255){while(1){j=m+(e<<2)|0;g=c[j>>2]|0;s=(g>>>14)+-131071|0;h=e;e=(s|0)==-1?-1:e+1+s|0;if((h|0)>0?(t=m+(h+-1<<2)|0,u=c[t>>2]|0,((u&63)+-31|0)>>>0<5):0){f=t;i=u}else{f=j;i=g}if((i&63|0)!=35){f=A+~h|0;if((((f|0)>-1?f:0-f|0)|0)>131071){n=78;break}}else{c[f>>2]=i&8372224|i>>>23<<6|34;f=o+~h|0;if((((f|0)>-1?f:0-f|0)|0)>131071){n=75;break}g=c[j>>2]|0}c[j>>2]=g&16383|(f<<14)+2147467264;if((e|0)==-1){n=80;break}}if((n|0)==75){u=a+8|0;u=c[u>>2]|0;NB(u,286657)}else if((n|0)==78){u=a+8|0;u=c[u>>2]|0;NB(u,286657)}else if((n|0)==80){c[x>>2]=-1;c[v>>2]=-1;A=b+8|0;c[A>>2]=d;c[b>>2]=7;return}}else w=e;while(1){i=m+(w<<2)|0;f=c[i>>2]|0;u=(f>>>14)+-131071|0;h=w;w=(u|0)==-1?-1:w+1+u|0;if((h|0)>0?(y=m+(h+-1<<2)|0,z=c[y>>2]|0,((z&63)+-31|0)>>>0<5):0){g=y;e=z}else{g=i;e=f}if((e&63|0)!=35){e=A+~h|0;if((((e|0)>-1?e:0-e|0)|0)>131071){n=78;break}}else{if((e>>>23|0)==(d|0))e=e&8372224|k|34;else e=e&-16321|l;c[g>>2]=e;e=o+~h|0;if((((e|0)>-1?e:0-e|0)|0)>131071){n=75;break}f=c[i>>2]|0}c[i>>2]=f&16383|(e<<14)+2147467264;if((w|0)==-1){n=80;break}}if((n|0)==75){d=a+8|0;d=c[d>>2]|0;NB(d,286657)}else if((n|0)==78){d=a+8|0;d=c[d>>2]|0;NB(d,286657)}else if((n|0)==80){c[x>>2]=-1;c[v>>2]=-1;A=b+8|0;c[A>>2]=d;c[b>>2]=7;return}}function DB(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0;k=l;l=l+32|0;f=k+16|0;g=k;AB(a,b);e=c[b>>2]|0;a:do switch(e|0){case 1:{g=d+1|0;e=c[a+16>>2]|0;do if((e|0)>(c[a+20>>2]|0)?(i=(c[(c[a>>2]|0)+48>>2]|0)+(e+-1<<2)|0,j=c[i>>2]|0,(j&63|0)==4):0){e=j>>>6&255;f=e+(j>>>23)|0;if((e|0)>(d|0)|(f+1|0)<(d|0)?(e|0)<(d|0)|(e|0)>(g|0):0)break;a=(e|0)<(d|0)?e:d;c[i>>2]=a<<6&16320|j&8372287|((f|0)>(d|0)?f:d)-a<<23;break a}while(0);xB(a,d<<6|4)|0;break}case 2:case 3:{xB(a,d<<6|((e|0)==2&1)<<23|3)|0;break}case 4:{e=c[b+8>>2]|0;f=d<<6;if((e|0)<262144){xB(a,f|e<<14|1)|0;break a}else{xB(a,f|2)|0;xB(a,e<<6|46)|0;break a}}case 5:{h[f>>3]=+h[b+8>>3];c[f+8>>2]=3;e=zB(a,f,f)|0;f=d<<6;if((e|0)<262144){xB(a,f|e<<14|1)|0;break a}else{xB(a,f|2)|0;xB(a,e<<6|46)|0;break a}}case 6:{j=b+8|0;i=c[j>>2]|0;j=c[j+4>>2]|0;c[f>>2]=i;c[f+8>>2]=2;e=g;c[e>>2]=i;c[e+4>>2]=j;c[g+8>>2]=19;e=zB(a,f,g)|0;f=d<<6;if((e|0)<262144){xB(a,f|e<<14|1)|0;break a}else{xB(a,f|2)|0;xB(a,e<<6|46)|0;break a}}case 12:{a=(c[(c[a>>2]|0)+48>>2]|0)+(c[b+8>>2]<<2)|0;c[a>>2]=c[a>>2]&-16321|d<<6&16320;break}case 7:{e=c[b+8>>2]|0;if((e|0)!=(d|0))xB(a,e<<23|d<<6)|0;break}default:{l=k;return}}while(0);c[b+8>>2]=d;c[b>>2]=7;l=k;return}function EB(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;AB(b,e);if((c[e>>2]|0)==7){f=e+8|0;h=c[f>>2]|0;if((c[e+16>>2]|0)==(c[e+20>>2]|0)){b=h;return b|0}if((h|0)>=(d[b+42>>0]|0|0))CB(b,e,h);else i=5}else i=5;if((i|0)==5){AB(b,e);if(((c[e>>2]|0)==7?(g=c[e+8>>2]|0,(g&256|0)==0):0)?(d[b+42>>0]|0|0)<=(g|0):0){i=b+44|0;a[i>>0]=(a[i>>0]|0)+-1<<24>>24}f=b+44|0;g=(d[f>>0]|0)+1|0;h=(c[b>>2]|0)+8|0;do if(g>>>0>(d[h>>0]|0)>>>0)if(g>>>0>254)NB(c[b+8>>2]|0,286692);else{j=g&255;a[h>>0]=j;break}else j=g&255;while(0);a[f>>0]=j;CB(b,e,(j&255)+-1|0);f=e+8|0}b=c[f>>2]|0;return b|0}function FB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0;j=l;l=l+32|0;g=j+16|0;f=j;if((c[b+16>>2]|0)==(c[b+20>>2]|0))AB(a,b);else EB(a,b)|0;e=c[b>>2]|0;switch(e|0){case 1:case 3:case 2:{if((c[a+28>>2]|0)<256){if((e|0)==1){c[f+8>>2]=0;c[g>>2]=c[(c[a+8>>2]|0)+64>>2];c[g+8>>2]=69;d=zB(a,g,f)|0}else{c[g>>2]=(e|0)==2&1;c[g+8>>2]=1;d=zB(a,g,g)|0}c[b+8>>2]=d;c[b>>2]=4;b=d|256;l=j;return b|0}break}case 6:{i=b+8|0;e=i;k=c[e>>2]|0;e=c[e+4>>2]|0;c[g>>2]=k;c[g+8>>2]=2;d=f;c[d>>2]=k;c[d+4>>2]=e;c[f+8>>2]=19;d=zB(a,g,f)|0;c[i>>2]=d;c[b>>2]=4;i=13;break}case 5:{i=b+8|0;h[g>>3]=+h[i>>3];c[g+8>>2]=3;d=zB(a,g,g)|0;c[i>>2]=d;c[b>>2]=4;i=13;break}case 4:{d=c[b+8>>2]|0;i=13;break}default:{}}if((i|0)==13?(d|0)<256:0){k=d|256;l=j;return k|0}k=EB(a,b)|0;l=j;return k|0}function GB(b,f,g){b=b|0;f=f|0;g=g|0;var h=0;switch(c[f>>2]|0){case 8:{if(((c[g>>2]|0)==7?(h=c[g+8>>2]|0,(h&256|0)==0):0)?(d[b+42>>0]|0)<=(h|0):0){h=b+44|0;a[h>>0]=(a[h>>0]|0)+-1<<24>>24}CB(b,g,c[f+8>>2]|0);return}case 9:{xB(b,(EB(b,g)|0)<<6|c[f+8>>2]<<23|9)|0;break}case 10:{f=f+8|0;h=(a[f+3>>0]|0)==8?10:8;xB(b,(FB(b,g)|0)<<14|h|d[f+2>>0]<<6|e[f>>1]<<23)|0;break}default:{}}if((c[g>>2]|0)!=7)return;h=c[g+8>>2]|0;if(h&256|0)return;if((d[b+42>>0]|0)>(h|0))return;b=b+44|0;a[b>>0]=(a[b>>0]|0)+-1<<24>>24;return}function HB(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;AB(b,e);h=c[e>>2]|0;a:do switch(h|0){case 11:{i=c[(c[b>>2]|0)+48>>2]|0;k=e+8|0;h=c[k>>2]|0;j=i+(h<<2)|0;if(!((h|0)>0?(g=i+(h+-1<<2)|0,f=c[g>>2]|0,((f&63)+-31|0)>>>0<5):0)){g=j;f=c[j>>2]|0}c[g>>2]=((f&16320|0)==0&1)<<6|f&-16321;n=c[k>>2]|0;o=33;break}case 2:case 6:case 5:case 4:break;default:{i=e+8|0;switch(h|0){case 12:{f=c[b>>2]|0;g=c[(c[f+48>>2]|0)+(c[i>>2]<<2)>>2]|0;if((g&63|0)==27){i=b+16|0;c[i>>2]=(c[i>>2]|0)+-1;xB(b,g>>>23<<6|16418)|0;i=b+24|0;k=c[i>>2]|0;c[i>>2]=-1;i=xB(b,2147450910)|0;if((k|0)==-1){n=i;o=33;break a}if((i|0)==-1){o=34;break a}g=c[(c[b>>2]|0)+48>>2]|0;h=i;while(1){j=g+(h<<2)|0;l=c[j>>2]|0;f=(l>>>14)+-131071|0;f=(f|0)==-1?-1:h+1+f|0;if((f|0)==-1)break;else h=f}f=k+~h|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[b+8>>2]|0,286657);else{c[j>>2]=(f<<14)+2147467264|l&16383;n=i;o=33;break a}}else o=16;break}case 7:{o=23;break}default:{f=c[b>>2]|0;o=16}}if((o|0)==16){g=b+44|0;h=(d[g>>0]|0)+1|0;f=f+8|0;do if(h>>>0>(d[f>>0]|0)>>>0)if(h>>>0>254)NB(c[b+8>>2]|0,286692);else{j=h&255;a[f>>0]=j;break}else j=h&255;while(0);a[g>>0]=j;DB(b,e,(j&255)+-1|0);if((c[e>>2]|0)==7)o=23;else m=c[i>>2]|0}if((o|0)==23){f=c[i>>2]|0;if((f&256|0)==0?(d[b+42>>0]|0|0)<=(f|0):0){m=b+44|0;a[m>>0]=(a[m>>0]|0)+-1<<24>>24;m=f}else m=f}xB(b,m<<23|16355)|0;j=b+24|0;g=c[j>>2]|0;c[j>>2]=-1;j=xB(b,2147450910)|0;if((g|0)!=-1)if((j|0)!=-1){h=c[(c[b>>2]|0)+48>>2]|0;i=j;while(1){k=h+(i<<2)|0;l=c[k>>2]|0;f=(l>>>14)+-131071|0;f=(f|0)==-1?-1:i+1+f|0;if((f|0)==-1)break;else i=f}f=g+~i|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[b+8>>2]|0,286657);else{c[k>>2]=(f<<14)+2147467264|l&16383;n=j;o=33;break a}}else{k=g;o=34}else{n=j;o=33}}}while(0);if((o|0)==33?(n|0)!=-1:0){k=n;o=34}do if((o|0)==34){f=e+20|0;g=c[f>>2]|0;if((g|0)==-1){c[f>>2]=k;break}j=c[(c[b>>2]|0)+48>>2]|0;while(1){h=j+(g<<2)|0;i=c[h>>2]|0;f=(i>>>14)+-131071|0;f=(f|0)==-1?-1:g+1+f|0;if((f|0)==-1)break;else g=f}f=k+~g|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[b+8>>2]|0,286657);else{c[h>>2]=(f<<14)+2147467264|i&16383;break}}while(0);l=e+16|0;k=c[l>>2]|0;c[b+20>>2]=c[b+16>>2];f=b+24|0;if((k|0)==-1){c[l>>2]=-1;return}g=c[f>>2]|0;if((g|0)==-1){c[f>>2]=k;c[l>>2]=-1;return}j=c[(c[b>>2]|0)+48>>2]|0;while(1){h=j+(g<<2)|0;i=c[h>>2]|0;f=(i>>>14)+-131071|0;f=(f|0)==-1?-1:g+1+f|0;if((f|0)==-1)break;else g=f}f=k+~g|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[b+8>>2]|0,286657);c[h>>2]=(f<<14)+2147467264|i&16383;c[l>>2]=-1;return}function IB(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;AB(b,e);g=c[e>>2]|0;a:do switch(g|0){case 11:{n=c[e+8>>2]|0;o=30;break}case 3:case 1:break;default:{j=e+8|0;switch(g|0){case 12:{g=c[b>>2]|0;h=c[(c[g+48>>2]|0)+(c[j>>2]<<2)>>2]|0;if((h&63|0)==27){j=b+16|0;c[j>>2]=(c[j>>2]|0)+-1;xB(b,h>>>23<<6|34)|0;j=b+24|0;k=c[j>>2]|0;c[j>>2]=-1;j=xB(b,2147450910)|0;if((k|0)==-1){n=j;o=30;break a}if((j|0)==-1){o=31;break a}h=c[(c[b>>2]|0)+48>>2]|0;i=j;while(1){l=h+(i<<2)|0;m=c[l>>2]|0;g=(m>>>14)+-131071|0;g=(g|0)==-1?-1:i+1+g|0;if((g|0)==-1)break;else i=g}g=k+~i|0;if((((g|0)>-1?g:0-g|0)|0)>131071)NB(c[b+8>>2]|0,286657);else{c[l>>2]=(g<<14)+2147467264|m&16383;n=j;o=30;break a}}else{f=g;o=13}break}case 7:{o=20;break}default:{f=c[b>>2]|0;o=13}}if((o|0)==13){g=b+44|0;h=(d[g>>0]|0)+1|0;f=f+8|0;do if(h>>>0>(d[f>>0]|0)>>>0)if(h>>>0>254)NB(c[b+8>>2]|0,286692);else{i=h&255;a[f>>0]=i;break}else i=h&255;while(0);a[g>>0]=i;DB(b,e,(i&255)+-1|0);if((c[e>>2]|0)==7)o=20;else f=c[j>>2]|0}if((o|0)==20){f=c[j>>2]|0;if((f&256|0)==0?(d[b+42>>0]|0|0)<=(f|0):0){m=b+44|0;a[m>>0]=(a[m>>0]|0)+-1<<24>>24}}xB(b,f<<23|32739)|0;j=b+24|0;g=c[j>>2]|0;c[j>>2]=-1;j=xB(b,2147450910)|0;if((g|0)!=-1)if((j|0)!=-1){h=c[(c[b>>2]|0)+48>>2]|0;i=j;while(1){k=h+(i<<2)|0;l=c[k>>2]|0;f=(l>>>14)+-131071|0;f=(f|0)==-1?-1:i+1+f|0;if((f|0)==-1)break;else i=f}f=g+~i|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[b+8>>2]|0,286657);else{c[k>>2]=(f<<14)+2147467264|l&16383;n=j;o=30;break a}}else{k=g;o=31}else{n=j;o=30}}}while(0);if((o|0)==30?(n|0)!=-1:0){k=n;o=31}do if((o|0)==31){f=e+16|0;g=c[f>>2]|0;if((g|0)==-1){c[f>>2]=k;break}j=c[(c[b>>2]|0)+48>>2]|0;while(1){h=j+(g<<2)|0;i=c[h>>2]|0;f=(i>>>14)+-131071|0;f=(f|0)==-1?-1:g+1+f|0;if((f|0)==-1)break;else g=f}f=k+~g|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[b+8>>2]|0,286657);else{c[h>>2]=(f<<14)+2147467264|i&16383;break}}while(0);l=e+20|0;k=c[l>>2]|0;c[b+20>>2]=c[b+16>>2];f=b+24|0;if((k|0)==-1){c[l>>2]=-1;return}g=c[f>>2]|0;if((g|0)==-1){c[f>>2]=k;c[l>>2]=-1;return}j=c[(c[b>>2]|0)+48>>2]|0;while(1){h=j+(g<<2)|0;i=c[h>>2]|0;f=(i>>>14)+-131071|0;f=(f|0)==-1?-1:g+1+f|0;if((f|0)==-1)break;else g=f}f=k+~g|0;if((((f|0)>-1?f:0-f|0)|0)>131071)NB(c[b+8>>2]|0,286657);c[h>>2]=(f<<14)+2147467264|i&16383;c[l>>2]=-1;return}function JB(b,e,f,g,i){b=b|0;e=e|0;f=f|0;g=g|0;i=i|0;var k=0,m=0,n=0,o=0.0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0.0;J=l;l=l+80|0;u=J+72|0;t=J+64|0;x=J+48|0;y=J+32|0;C=J+16|0;I=J;a:do if(e>>>0<27)b:do if((c[f+16>>2]|0)==-1?(c[f+20>>2]|0)==-1:0){switch(c[f>>2]|0){case 6:{s=f+8|0;w=c[s+4>>2]|0;k=y;c[k>>2]=c[s>>2];c[k+4>>2]=w;k=19;break}case 5:{h[y>>3]=+h[f+8>>3];k=3;break}default:break b}c[y+8>>2]=k;if((c[g+16>>2]|0)==-1?(c[g+20>>2]|0)==-1:0){switch(c[g>>2]|0){case 6:{p=g+8|0;n=c[p>>2]|0;p=c[p+4>>2]|0;m=C;c[m>>2]=n;c[m+4>>2]=p;c[C+8>>2]=19;m=19;break}case 5:{o=+h[g+8>>3];h[C>>3]=o;c[C+8>>2]=3;h[j>>3]=o;m=3;n=c[j>>2]|0;p=c[j+4>>2]|0;break}default:break b}c:do switch(e|0){case 26:case 24:case 23:case 22:case 21:case 20:{do if((k|0)!=19){n=y;d:while(1){switch(k|0){case 3:{v=16;break d}case 19:{v=24;break d}default:{}}if((k&15|0)!=4){v=165;break}m=Iw((c[n>>2]|0)+16|0,x)|0;k=c[n>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((m|0)!=(k+1|0)){v=165;break}n=x;k=c[x+8>>2]|0}if((v|0)==16){K=+h[n>>3];o=+A(+K);if(!(K!=o)?o>=-9223372036854775808.0&o<9223372036854775808.0:0)v=24;else v=165}if((v|0)==24){k=c[C+8>>2]|0;break}else if((v|0)==165)break b}else k=m;while(0);if((k|0)!=19){n=C;e:while(1){switch(k|0){case 3:{v=29;break e}case 19:{v=37;break e}default:{}}if((k&15|0)!=4){v=167;break}m=Iw((c[n>>2]|0)+16|0,x)|0;k=c[n>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((m|0)!=(k+1|0)){v=167;break}n=x;k=c[x+8>>2]|0}if((v|0)==29){o=+h[n>>3];K=+A(+o);if(!(o!=K)?K>=-9223372036854775808.0&K<9223372036854775808.0:0)v=37;else v=167}if((v|0)==37)break c;else if((v|0)==167)break a}break}case 16:case 19:case 18:{c[j>>2]=n;c[j+4>>2]=p;if(!(((m|0)==19?+(n>>>0)+4294967296.0*+(p|0):+h[j>>3])!=0.0))break b;break}default:{}}while(0);w=c[(c[b+8>>2]|0)+52>>2]|0;f:do switch(e|0){case 26:case 24:case 23:case 22:case 21:case 20:{k=c[y+8>>2]|0;do if((k|0)!=19){n=y;g:while(1){switch(k|0){case 3:{v=43;break g}case 19:{v=46;break g}default:{}}if((k&15|0)!=4){v=53;break}m=Iw((c[n>>2]|0)+16|0,x)|0;k=c[n>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((m|0)!=(k+1|0)){v=53;break}n=x;k=c[x+8>>2]|0}if((v|0)==43){K=+h[n>>3];o=+A(+K);if(!(K!=o)?o>=-9223372036854775808.0&o<9223372036854775808.0:0){k=~~o>>>0;m=+B(o)>=1.0?(o>0.0?~~+P(+A(o/4294967296.0),4294967295.0)>>>0:~~+N((o-+(~~o>>>0))/4294967296.0)>>>0):0;v=54}else v=53}else if((v|0)==46){m=n;k=c[m>>2]|0;m=c[m+4>>2]|0;v=54}if((v|0)==53){v=159;break f}else if((v|0)==54){p=k;r=m;break}}else{r=y;p=c[r>>2]|0;r=c[r+4>>2]|0}while(0);k=c[C+8>>2]|0;do if((k|0)!=19){n=C;h:while(1){switch(k|0){case 3:{v=59;break h}case 19:{v=62;break h}default:{}}if((k&15|0)!=4){v=69;break}m=Iw((c[n>>2]|0)+16|0,x)|0;k=c[n>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((m|0)!=(k+1|0)){v=69;break}n=x;k=c[x+8>>2]|0}if((v|0)==59){K=+h[n>>3];o=+A(+K);if(!(K!=o)?o>=-9223372036854775808.0&o<9223372036854775808.0:0){k=~~o>>>0;n=+B(o)>=1.0?(o>0.0?~~+P(+A(o/4294967296.0),4294967295.0)>>>0:~~+N((o-+(~~o>>>0))/4294967296.0)>>>0):0;v=70}else v=69}else if((v|0)==62){k=c[n>>2]|0;n=c[n+4>>2]|0;v=70}if((v|0)==69){v=159;break f}else if((v|0)==70)break}else{n=C;k=c[n>>2]|0;n=c[n+4>>2]|0}while(0);switch(e|0){case 22:{m=k^p;k=n^r;v=160;break f}case 23:if((n|0)<0){v=(n|0)<-1|(n|0)==-1&k>>>0<4294967233;m=mQ(0,0,k|0,n|0)|0;m=wQ(p|0,r|0,m|0)|0;m=v?0:m;k=v?0:z;v=160;break f}else{v=(n|0)>0|(n|0)==0&k>>>0>63;m=xQ(p|0,r|0,k|0)|0;m=v?0:m;k=v?0:z;v=160;break f}case 24:if((n|0)>0|(n|0)==0&k>>>0>0){v=(n|0)>0|(n|0)==0&k>>>0>63;m=wQ(p|0,r|0,k|0)|0;m=v?0:m;k=v?0:z;v=160;break f}else{m=mQ(0,0,k|0,n|0)|0;k=(n|0)<-1|(n|0)==-1&k>>>0<4294967233;m=xQ(p|0,r|0,m|0)|0;m=k?0:m;k=k?0:z;v=160;break f}case 25:{m=mQ(0,0,p|0,r|0)|0;k=z;v=160;break f}case 26:{m=~p;k=~r;v=160;break f}case 20:{m=k&p;k=n&r;v=160;break f}case 21:{m=k|p;k=n|r;v=160;break f}default:{m=0;k=0;v=160;break f}}}case 17:case 18:{k=c[y+8>>2]|0;if((k|0)==3)q=+h[y>>3];else{do if((k|0)==19){v=y;o=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0)}else{if((k&15|0)==4){m=Iw((c[y>>2]|0)+16|0,x)|0;k=c[y>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((m|0)==(k+1|0)){t=(c[x+8>>2]|0)==19;v=x;u=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=u;c[j+4>>2]=v;o=t?+(u>>>0)+4294967296.0*+(v|0):+h[j>>3];break}}v=159;break f}while(0);q=o}k=c[C+8>>2]|0;if((k|0)==3)o=+h[C>>3];else do if((k|0)==19)o=+((c[C>>2]|0)>>>0)+4294967296.0*+(c[C+4>>2]|0);else{if((k&15|0)==4){m=Iw((c[C>>2]|0)+16|0,x)|0;k=c[C>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((m|0)==(k+1|0)){w=(c[x+8>>2]|0)==19;C=x;y=c[C>>2]|0;C=c[C+4>>2]|0;c[j>>2]=y;c[j+4>>2]=C;o=w?+(y>>>0)+4294967296.0*+(C|0):+h[j>>3];break}}v=159;break f}while(0);switch(e|0){case 17:{o=+D(+q,+o);v=162;break f}case 18:{o=q/o;v=162;break f}default:{o=0.0;v=162;break f}}}default:{k=c[y+8>>2]|0;i:do switch(k|0){case 19:{if((c[C+8>>2]|0)!=19){v=y;o=+((c[v>>2]|0)>>>0)+4294967296.0*+(c[v+4>>2]|0);v=137;break i}s=y;n=c[s>>2]|0;s=c[s+4>>2]|0;r=C;p=c[r>>2]|0;r=c[r+4>>2]|0;switch(e|0){case 13:{m=lQ(p|0,r|0,n|0,s|0)|0;k=z;v=160;break f}case 14:{m=mQ(n|0,s|0,p|0,r|0)|0;k=z;v=160;break f}case 15:{m=rQ(p|0,r|0,n|0,s|0)|0;k=z;v=160;break f}case 16:{u=lQ(p|0,r|0,1,0)|0;m=z;if(!(m>>>0<0|(m|0)==0&u>>>0<2)){k=sQ(n|0,s|0,p|0,r|0)|0;m=z;v=(r^s|0)<0&((k|0)!=0|(m|0)!=0);m=lQ((v?p:0)|0,(v?r:0)|0,k|0,m|0)|0;k=z;v=160;break f}if(!((p|0)==0&(r|0)==0)){m=0;k=0;v=160;break f}_v(w,281637,t);break}case 19:{t=lQ(p|0,r|0,1,0)|0;m=z;if(!(m>>>0<0|(m|0)==0&t>>>0<2)){m=pQ(n|0,s|0,p|0,r|0)|0;k=z;if((r^s|0)>=0){v=160;break f}v=sQ(n|0,s|0,p|0,r|0)|0;v=((v|0)!=0|(z|0)!=0)<<31>>31;m=lQ(v|0,((v|0)<0)<<31>>31|0,m|0,k|0)|0;k=z;v=160;break f}if((p|0)==0&(r|0)==0)_v(w,281611,u);else{m=mQ(0,0,n|0,s|0)|0;k=z;v=160;break f}break}case 26:{m=~n;k=~s;v=160;break f}case 25:{m=mQ(0,0,n|0,s|0)|0;k=z;v=160;break f}default:{m=0;k=0;v=160;break f}}break}case 3:{q=+h[y>>3];break}default:{if((k&15|0)==4){m=Iw((c[y>>2]|0)+16|0,x)|0;k=c[y>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((m|0)==(k+1|0)){t=(c[x+8>>2]|0)==19;v=x;u=c[v>>2]|0;v=c[v+4>>2]|0;c[j>>2]=u;c[j+4>>2]=v;o=t?+(u>>>0)+4294967296.0*+(v|0):+h[j>>3];v=137;break i}}v=159;break f}}while(0);if((v|0)==137)q=o;k=c[C+8>>2]|0;if((k|0)==3)o=+h[C>>3];else do if((k|0)==19)o=+((c[C>>2]|0)>>>0)+4294967296.0*+(c[C+4>>2]|0);else{if((k&15|0)==4){m=Iw((c[C>>2]|0)+16|0,x)|0;k=c[C>>2]|0;if((a[k+4>>0]|0)==4)k=d[k+7>>0]|0;else k=c[k+12>>2]|0;if((m|0)==(k+1|0)){w=(c[x+8>>2]|0)==19;C=x;y=c[C>>2]|0;C=c[C+4>>2]|0;c[j>>2]=y;c[j+4>>2]=C;o=w?+(y>>>0)+4294967296.0*+(C|0):+h[j>>3];break}}v=159;break f}while(0);switch(e|0){case 13:{o=q+o;v=162;break f}case 14:{o=q-o;v=162;break f}case 15:{o=q*o;v=162;break f}case 18:{o=q/o;v=162;break f}case 17:{o=+D(+q,+o);v=162;break f}case 19:{o=+A(+(q/o));v=162;break f}case 25:{o=-q;v=162;break f}case 16:{K=+GO(q,o);o=o*K<0.0?o+K:K;v=162;break f}default:{o=0.0;v=162;break f}}}}while(0);if((v|0)==159){sx(w,y,C,I,e+-7|0);if((c[I+8>>2]|0)==19)v=161}else if((v|0)==160){e=I;c[e>>2]=m;c[e+4>>2]=k;c[I+8>>2]=19;v=161}else if((v|0)==162){h[I>>3]=o;c[I+8>>2]=3}if((v|0)==161){c[f>>2]=6;e=I;I=c[e+4>>2]|0;f=f+8|0;c[f>>2]=c[e>>2];c[f+4>>2]=I;l=J;return}o=+h[I>>3];if(o!=o|0.0!=0.0|o==0.0)break a;c[f>>2]=5;h[f+8>>3]=o;l=J;return}}while(0);while(0);switch(e|0){case 25:case 26:case 28:{m=EB(b,f)|0;n=0;break}default:{n=FB(b,g)|0;m=FB(b,f)|0}}if((m|0)>(n|0)){if(((c[f>>2]|0)==7?(E=c[f+8>>2]|0,(E&256|0)==0):0)?(d[b+42>>0]|0)<=(E|0):0){I=b+44|0;a[I>>0]=(a[I>>0]|0)+-1<<24>>24}if(((c[g>>2]|0)==7?(F=c[g+8>>2]|0,(F&256|0)==0):0)?(d[b+42>>0]|0)<=(F|0):0){k=b+44|0;a[k>>0]=(a[k>>0]|0)+-1<<24>>24;k=f}else k=f}else{if(((c[g>>2]|0)==7?(G=c[g+8>>2]|0,(G&256|0)==0):0)?(d[b+42>>0]|0)<=(G|0):0){I=b+44|0;a[I>>0]=(a[I>>0]|0)+-1<<24>>24}if(((c[f>>2]|0)==7?(H=c[f+8>>2]|0,(H&256|0)==0):0)?(d[b+42>>0]|0)<=(H|0):0){k=b+44|0;a[k>>0]=(a[k>>0]|0)+-1<<24>>24;k=f}else k=f}c[f+8>>2]=xB(b,m<<23|e|n<<14)|0;c[k>>2]=12;c[(c[(c[b>>2]|0)+56>>2]|0)+((c[b+16>>2]|0)+-1<<2)>>2]=i;l=J;return}function KB(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;i=FB(b,g)|0;j=FB(b,h)|0;if(((c[h>>2]|0)==7?(l=c[h+8>>2]|0,(l&256|0)==0):0)?(d[b+42>>0]|0|0)<=(l|0):0){h=b+44|0;a[h>>0]=(a[h>>0]|0)+-1<<24>>24}if(((c[g>>2]|0)==7?(k=c[g+8>>2]|0,(k&256|0)==0):0)?(d[b+42>>0]|0|0)<=(k|0):0){h=b+44|0;a[h>>0]=(a[h>>0]|0)+-1<<24>>24}h=(e|0)!=31&(f|0)==0;xB(b,(h?64:f<<6)|e|(h?j:i)<<23|(h?i:j)<<14)|0;f=b+24|0;j=c[f>>2]|0;c[f>>2]=-1;f=xB(b,2147450910)|0;if((j|0)==-1){e=f;b=g+8|0;c[b>>2]=e;c[g>>2]=11;return}if((f|0)==-1){e=j;b=g+8|0;c[b>>2]=e;c[g>>2]=11;return}k=c[(c[b>>2]|0)+48>>2]|0;l=f;while(1){h=k+(l<<2)|0;e=c[h>>2]|0;i=(e>>>14)+-131071|0;i=(i|0)==-1?-1:l+1+i|0;if((i|0)==-1)break;else l=i}i=j+~l|0;if((((i|0)>-1?i:0-i|0)|0)>131071)NB(c[b+8>>2]|0,286657);c[h>>2]=(i<<14)+2147467264|e&16383;e=f;b=g+8|0;c[b>>2]=e;c[g>>2]=11;return}function LB(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=((e+-1|0)/50|0)+1|0;e=(f|0)==-1?0:f;if((g|0)<512){xB(b,d<<6|e<<23|g<<14|43)|0;d=d+1|0;d=d&255;b=b+44|0;a[b>>0]=d;return}if((g|0)>=67108864)NB(c[b+8>>2]|0,286750);xB(b,d<<6|e<<23|43)|0;xB(b,g<<6|46)|0;d=d+1|0;d=d&255;b=b+44|0;a[b>>0]=d;return}function MB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+8|0;d=f;if((b|0)<257){e=c[a+52>>2]|0;c[d>>2]=b;e=Lw(e,287206,d)|0;l=f;return e|0}d=c[6528+(b+-257<<2)>>2]|0;if((b|0)>=289){e=d;l=f;return e|0}b=c[a+52>>2]|0;c[e>>2]=d;e=Lw(b,287211,e)|0;l=f;return e|0}function NB(a,b){a=a|0;b=b|0;OB(a,b,c[a+16>>2]|0)}function OB(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;p=l;l=l+112|0;x=p+40|0;u=p+32|0;r=p+24|0;v=p+16|0;q=p;p=p+48|0;w=b+52|0;n=c[w>>2]|0;g=c[b+72>>2]|0;o=c[b+4>>2]|0;a:do if(!g){a[p>>0]=63;a[p+1>>0]=0}else{k=g+16|0;m=JO(k)|0;switch(a[k>>0]|0){case 61:{g=k+1|0;if(m>>>0>60){i=p;h=i+59|0;do{a[i>>0]=a[g>>0]|0;i=i+1|0;g=g+1|0}while((i|0)<(h|0));a[p+59>>0]=0;break a}else{CQ(p|0,g|0,m|0)|0;break a}}case 64:if(m>>>0>60){a[p>>0]=a[287140]|0;a[p+1>>0]=a[287141]|0;a[p+2>>0]=a[287142]|0;i=p+3|0;g=k+(m+-56)|0;h=i+57|0;do{a[i>>0]=a[g>>0]|0;i=i+1|0;g=g+1|0}while((i|0)<(h|0));break a}else{CQ(p|0,k+1|0,m|0)|0;break a}default:{j=KO(k,10)|0;i=p;g=280332;h=i+9|0;do{a[i>>0]=a[g>>0]|0;i=i+1|0;g=g+1|0}while((i|0)<(h|0));g=p+9|0;h=(j|0)==0;if(m>>>0<45&h){CQ(g|0,k|0,m|0)|0;g=m+9|0}else{t=h?m:j-k|0;t=t>>>0<45?t:45;CQ(g|0,k|0,t|0)|0;g=p+(t+9)|0;a[g>>0]=a[287140]|0;a[g+1>>0]=a[287141]|0;a[g+2>>0]=a[287142]|0;g=t+12|0}t=p+g|0;a[t>>0]=a[280342]|0;a[t+1>>0]=a[280343]|0;a[t+2>>0]=a[280344]|0;break a}}}while(0);c[q>>2]=p;c[q+4>>2]=o;c[q+8>>2]=d;s=Lw(n,279543,q)|0;if(!e){t=c[w>>2]|0;cw(t,3)}t=c[w>>2]|0;do if((e+-290|0)>>>0>=4){if((e|0)<257){c[r>>2]=e;f=Lw(t,287206,r)|0;break}f=c[6528+(e+-257<<2)>>2]|0;if((e|0)<289){c[u>>2]=f;f=Lw(t,287211,u)|0}}else{d=b+60|0;p=c[d>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);j=o<<1;g=c[p>>2]|0;k=c[t+12>>2]|0;m=(g|0)!=0;h=k+4|0;i=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if((j|0)!=0&(i|0)==0){if(!(c[k+140>>2]|0))cw(t,4);Fw(t,1);g=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if(!g)cw(t,4);else f=g}else f=i;g=k+12|0;c[g>>2]=(m?0-o|0:0)+j+(c[g>>2]|0);c[p>>2]=f;c[n>>2]=j;g=c[q>>2]|0}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=0;f=c[w>>2]|0;c[v>>2]=c[c[d>>2]>>2];f=Lw(f,287211,v)|0}while(0);c[x>>2]=s;c[x+4>>2]=f;Lw(t,287241,x)|0;x=c[w>>2]|0;cw(x,3)}function PB(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=c[b+52>>2]|0;e=jx(h,d,e)|0;g=h+8|0;f=c[g>>2]|0;c[g>>2]=f+16;c[f>>2]=e;c[f+8>>2]=(a[e+4>>0]|64)&255;b=c[b+64>>2]|0;f=(c[g>>2]|0)+-16|0;d=ox(b,f)|0;if((d|0)==316088)d=nx(h,b,f)|0;b=d+8|0;if(!(c[b>>2]|0)){c[d>>2]=1;c[b>>2]=1;if((c[(c[h+12>>2]|0)+12>>2]|0)>0)Ew(h)}else e=c[d+16>>2]|0;c[g>>2]=(c[g>>2]|0)+-16;return e|0}function QB(b,e){b=b|0;e=e|0;var 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,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=l;l=l+16|0;M=N;z=N+8|0;K=b+60|0;c[(c[K>>2]|0)+4>>2]=0;L=b+56|0;y=b+4|0;a:while(1){w=c[b>>2]|0;b:while(1){switch(w|0){case 91:{u=47;break a}case 61:{u=51;break a}case 60:{u=63;break a}case 62:{u=81;break a}case 47:{u=99;break a}case 126:{u=111;break a}case 58:{u=123;break a}case 39:case 34:{u=135;break a}case 46:{u=527;break a}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{u=556;break a}case -1:{f=289;u=589;break a}case 13:case 10:{u=4;break b}case 45:break b;case 11:case 9:case 12:case 32:break;default:{u=557;break a}}g=c[L>>2]|0;I=c[g>>2]|0;c[g>>2]=I+-1;if(!I){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;i=c[M>>2]|0;if((h|0)==0|(i|0)==0)g=-1;else{c[g>>2]=i+-1;c[g+4>>2]=h+1;g=d[h>>0]|0}}else{I=g+4|0;g=c[I>>2]|0;c[I>>2]=g+1;g=d[g>>0]|0}c[b>>2]=g;w=g}if((u|0)==4){u=0;i=c[L>>2]|0;I=c[i>>2]|0;c[i>>2]=I+-1;if(!I){g=ig[c[i+8>>2]&63](c[i+16>>2]|0,c[i+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)g=-1;else{c[i>>2]=h+-1;c[i+4>>2]=g+1;g=d[g>>0]|0}}else{I=i+4|0;g=c[I>>2]|0;c[I>>2]=g+1;g=d[g>>0]|0}c[b>>2]=g;switch(g|0){case 13:case 10:{if((g|0)!=(w|0)){g=c[L>>2]|0;I=c[g>>2]|0;c[g>>2]=I+-1;if(!I){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;i=c[M>>2]|0;if((h|0)==0|(i|0)==0)g=-1;else{c[g>>2]=i+-1;c[g+4>>2]=h+1;g=d[h>>0]|0}}else{I=g+4|0;g=c[I>>2]|0;c[I>>2]=g+1;g=d[g>>0]|0}c[b>>2]=g}break}default:{}}I=(c[y>>2]|0)+1|0;c[y>>2]=I;if((I|0)==2147483647){u=18;break}else continue}i=c[L>>2]|0;I=c[i>>2]|0;c[i>>2]=I+-1;if(!I){g=ig[c[i+8>>2]&63](c[i+16>>2]|0,c[i+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)g=-1;else{c[i>>2]=h+-1;c[i+4>>2]=g+1;g=d[g>>0]|0}}else{I=i+4|0;g=c[I>>2]|0;c[I>>2]=g+1;g=d[g>>0]|0}c[b>>2]=g;if((g|0)!=45){f=45;u=589;break}g=c[L>>2]|0;I=c[g>>2]|0;c[g>>2]=I+-1;if(!I){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;i=c[M>>2]|0;if((h|0)==0|(i|0)==0)g=-1;else{c[g>>2]=i+-1;c[g+4>>2]=h+1;g=d[h>>0]|0}}else{I=g+4|0;g=c[I>>2]|0;c[I>>2]=g+1;g=d[g>>0]|0}c[b>>2]=g;do if((g|0)==91){g=RB(b)|0;c[(c[K>>2]|0)+4>>2]=0;if((g|0)>-1){SB(b,0,g);c[(c[K>>2]|0)+4>>2]=0;continue a}else{g=c[b>>2]|0;break}}while(0);while(1){switch(g|0){case -1:case 13:case 10:continue a;default:{}}g=c[L>>2]|0;I=c[g>>2]|0;c[g>>2]=I+-1;if(!I){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;i=c[M>>2]|0;if((h|0)==0|(i|0)==0)g=-1;else{c[g>>2]=i+-1;c[g+4>>2]=h+1;g=d[h>>0]|0}}else{I=g+4|0;g=c[I>>2]|0;c[I>>2]=g+1;g=d[g>>0]|0}c[b>>2]=g}}switch(u|0){case 18:{OB(b,287252,0);break}case 47:{f=RB(b)|0;if((f|0)>-1){SB(b,e,f);b=293;l=N;return b|0}if((f|0)==-1){b=91;l=N;return b|0}else OB(b,287277,293);break}case 51:{f=c[L>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{e=f+4|0;f=c[e>>2]|0;c[e>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;if((f|0)!=61){b=61;l=N;return b|0}g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=282;l=N;return b|0}case 63:{f=c[L>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{e=f+4|0;f=c[e>>2]|0;c[e>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;switch(f|0){case 61:{g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=284;l=N;return b|0}case 60:{g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=286;l=N;return b|0}default:{b=60;l=N;return b|0}}}case 81:{f=c[L>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{e=f+4|0;f=c[e>>2]|0;c[e>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;switch(f|0){case 61:{g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=283;l=N;return b|0}case 62:{g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=287;l=N;return b|0}default:{b=62;l=N;return b|0}}}case 99:{f=c[L>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{e=f+4|0;f=c[e>>2]|0;c[e>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;if((f|0)!=47){b=47;l=N;return b|0}g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=279;l=N;return b|0}case 111:{f=c[L>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{e=f+4|0;f=c[e>>2]|0;c[e>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;if((f|0)!=61){b=126;l=N;return b|0}g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=285;l=N;return b|0}case 123:{f=c[L>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{e=f+4|0;f=c[e>>2]|0;c[e>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;if((f|0)!=58){b=58;l=N;return b|0}g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=288;l=N;return b|0}case 135:{p=c[K>>2]|0;q=p+4|0;f=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((f+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);i=o<<1;j=c[b+52>>2]|0;f=c[p>>2]|0;k=c[j+12>>2]|0;m=(f|0)!=0;g=k+4|0;h=jg[c[k>>2]&31](c[g>>2]|0,f,o,i)|0;if((i|0)!=0&(h|0)==0){if(!(c[k+140>>2]|0))cw(j,4);Fw(j,1);f=jg[c[k>>2]&31](c[g>>2]|0,f,o,i)|0;if(!f)cw(j,4);else r=f}else r=h;g=k+12|0;c[g>>2]=(m?0-o|0:0)+i+(c[g>>2]|0);c[p>>2]=r;c[n>>2]=i;g=c[q>>2]|0;f=r}else{g=f;f=c[p>>2]|0}I=w&255;c[q>>2]=g+1;a[f+g>>0]=I;f=c[L>>2]|0;x=c[f>>2]|0;c[f>>2]=x+-1;if(!x){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{x=f+4|0;f=c[x>>2]|0;c[x>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;c:do if((f|0)!=(w|0)){x=b+52|0;v=z+7|0;d:while(1){e:do switch(f|0){case -1:{u=153;break d}case 13:case 10:{u=154;break d}case 92:{p=c[K>>2]|0;q=p+4|0;f=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((f+1|0)>>>0>o>>>0){if(o>>>0>2147483646){u=158;break d}j=o<<1;i=c[x>>2]|0;g=c[p>>2]|0;k=c[i+12>>2]|0;m=(g|0)!=0;h=k+4|0;f=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if((j|0)!=0&(f|0)==0){if(!(c[k+140>>2]|0)){u=162;break d}Fw(i,1);f=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if(!f){u=162;break d}}g=k+12|0;c[g>>2]=(m?0-o|0:0)+j+(c[g>>2]|0);c[p>>2]=f;c[n>>2]=j;g=c[q>>2]|0}else{g=f;f=c[p>>2]|0}c[q>>2]=g+1;a[f+g>>0]=92;f=c[L>>2]|0;t=c[f>>2]|0;c[f>>2]=t+-1;if(!t){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}r=f}else{t=f+4|0;r=c[t>>2]|0;c[t>>2]=r+1;r=d[r>>0]|0}c[b>>2]=r;f:do switch(r|0){case -1:{f=-1;break e}case 97:{i=7;u=475;break}case 98:{i=8;u=475;break}case 102:{i=12;u=475;break}case 110:{i=10;u=475;break}case 114:{i=13;u=475;break}case 116:{i=9;u=475;break}case 118:{i=11;u=475;break}case 120:{p=c[K>>2]|0;q=p+4|0;f=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((f+1|0)>>>0>o>>>0){if(o>>>0>2147483646){u=180;break d}i=o<<1;j=c[x>>2]|0;g=c[p>>2]|0;k=c[j+12>>2]|0;m=(g|0)!=0;h=k+4|0;f=jg[c[k>>2]&31](c[h>>2]|0,g,o,i)|0;if((i|0)!=0&(f|0)==0){if(!(c[k+140>>2]|0)){u=184;break d}Fw(j,1);f=jg[c[k>>2]&31](c[h>>2]|0,g,o,i)|0;if(!f){u=184;break d}}g=k+12|0;c[g>>2]=(m?0-o|0:0)+i+(c[g>>2]|0);c[p>>2]=f;c[n>>2]=i;g=c[q>>2]|0}else{g=f;f=c[p>>2]|0}c[q>>2]=g+1;a[f+g>>0]=120;f=c[L>>2]|0;u=c[f>>2]|0;c[f>>2]=u+-1;if(!u){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}r=f}else{u=f+4|0;r=c[u>>2]|0;c[u>>2]=r+1;r=d[r>>0]|0}c[b>>2]=r;if(!(a[286771+(r+1)>>0]&16)){u=192;break d}s=((r+-48|0)>>>0>9?(r|32)+268435369|0:r+268435408|0)<<4;p=c[K>>2]|0;q=p+4|0;f=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((f+1|0)>>>0>o>>>0){if(o>>>0>2147483646){u=212;break d}i=o<<1;j=c[x>>2]|0;g=c[p>>2]|0;k=c[j+12>>2]|0;m=(g|0)!=0;h=k+4|0;f=jg[c[k>>2]&31](c[h>>2]|0,g,o,i)|0;if((i|0)!=0&(f|0)==0){if(!(c[k+140>>2]|0)){u=216;break d}Fw(j,1);f=jg[c[k>>2]&31](c[h>>2]|0,g,o,i)|0;if(!f){u=216;break d}}g=k+12|0;c[g>>2]=(m?0-o|0:0)+i+(c[g>>2]|0);c[p>>2]=f;c[n>>2]=i;g=c[q>>2]|0}else{g=f;f=c[p>>2]|0}c[q>>2]=g+1;a[f+g>>0]=r;f=c[L>>2]|0;u=c[f>>2]|0;c[f>>2]=u+-1;if(!u){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}r=f}else{u=f+4|0;r=c[u>>2]|0;c[u>>2]=r+1;r=d[r>>0]|0}c[b>>2]=r;if(!(a[286771+(r+1)>>0]&16)){u=224;break d}i=r+-48|0;u=(c[K>>2]|0)+4|0;c[u>>2]=(c[u>>2]|0)+-2;i=(i>>>0>9?(r|32)+-87|0:i)+s|0;u=475;break}case 117:{p=c[K>>2]|0;q=p+4|0;f=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((f+1|0)>>>0>o>>>0){if(o>>>0>2147483646){u=245;break d}j=o<<1;i=c[x>>2]|0;g=c[p>>2]|0;k=c[i+12>>2]|0;m=(g|0)!=0;h=k+4|0;f=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if((j|0)!=0&(f|0)==0){if(!(c[k+140>>2]|0)){u=249;break d}Fw(i,1);f=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if(!f){u=249;break d}}g=k+12|0;c[g>>2]=(m?0-o|0:0)+j+(c[g>>2]|0);c[p>>2]=f;c[n>>2]=j;g=c[q>>2]|0}else{g=f;f=c[p>>2]|0}c[q>>2]=g+1;a[f+g>>0]=117;f=c[L>>2]|0;t=c[f>>2]|0;c[f>>2]=t+-1;if(!t){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}r=f}else{t=f+4|0;r=c[t>>2]|0;c[t>>2]=r+1;r=d[r>>0]|0}c[b>>2]=r;switch(r|0){case -1:{u=272;break d}case 123:break;default:{u=257;break d}}p=c[K>>2]|0;q=p+4|0;f=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((f+1|0)>>>0>o>>>0){if(o>>>0>2147483646){u=276;break d}j=o<<1;i=c[x>>2]|0;g=c[p>>2]|0;k=c[i+12>>2]|0;m=(g|0)!=0;h=k+4|0;f=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if((j|0)!=0&(f|0)==0){if(!(c[k+140>>2]|0)){u=280;break d}Fw(i,1);f=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if(!f){u=280;break d}}g=k+12|0;c[g>>2]=(m?0-o|0:0)+j+(c[g>>2]|0);c[p>>2]=f;c[n>>2]=j;g=c[q>>2]|0}else{g=f;f=c[p>>2]|0}c[q>>2]=g+1;a[f+g>>0]=123;f=c[L>>2]|0;t=c[f>>2]|0;c[f>>2]=t+-1;if(!t){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}r=f}else{t=f+4|0;r=c[t>>2]|0;c[t>>2]=r+1;r=d[r>>0]|0}c[b>>2]=r;if(!(a[286771+(r+1)>>0]&16)){u=288;break d}q=r+-48|0;s=r;t=4;r=q>>>0>9?(r|32)+-87|0:q;while(1){p=c[K>>2]|0;q=p+4|0;f=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((f+1|0)>>>0>o>>>0){if(o>>>0>2147483646){u=309;break d}j=o<<1;i=c[x>>2]|0;g=c[p>>2]|0;k=c[i+12>>2]|0;m=(g|0)!=0;h=k+4|0;f=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if((j|0)!=0&(f|0)==0){if(!(c[k+140>>2]|0)){u=313;break d}Fw(i,1);f=jg[c[k>>2]&31](c[h>>2]|0,g,o,j)|0;if(!f){u=313;break d}}g=k+12|0;c[g>>2]=(m?0-o|0:0)+j+(c[g>>2]|0);c[p>>2]=f;c[n>>2]=j;g=c[q>>2]|0}else{g=f;f=c[p>>2]|0}c[q>>2]=g+1;a[f+g>>0]=s;f=c[L>>2]|0;s=c[f>>2]|0;c[f>>2]=s+-1;if(!s){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}s=f}else{q=f+4|0;s=c[q>>2]|0;c[q>>2]=s+1;s=d[s>>0]|0}c[b>>2]=s;if(!(a[286771+(s+1)>>0]&16))break;f=s+-48|0;f=(f>>>0>9?(s|32)+-87|0:f)+(r<<4)|0;if(f>>>0<1114112){t=t+1|0;r=f}else{u=322;break d}}switch(s|0){case -1:{u=355;break d}case 125:break;default:{u=340;break d}}f=c[L>>2]|0;s=c[f>>2]|0;c[f>>2]=s+-1;if(!s){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{s=f+4|0;f=c[s>>2]|0;c[s>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;i=c[K>>2]|0;s=i+4|0;j=(c[s>>2]|0)-t|0;c[s>>2]=j;if(r>>>0>=128){f=r;g=63;h=1;while(1){k=h+1|0;a[z+(8-h)>>0]=f&63|128;f=f>>>6;g=g>>>1;if(f>>>0<=g>>>0)break;else h=k}a[z+(7-h)>>0]=g<<1^254|f;if((h|0)>-1){g=j;u=365}}else{a[v>>0]=r;g=j;k=1;u=365}g:do if((u|0)==365)while(1){u=0;r=a[z+(8-k)>>0]|0;s=i+4|0;p=i+8|0;q=c[p>>2]|0;if((g+1|0)>>>0>q>>>0){if(q>>>0>2147483646){u=368;break d}m=q<<1;j=c[x>>2]|0;g=c[i>>2]|0;n=c[j+12>>2]|0;o=(g|0)!=0;h=n+4|0;f=jg[c[n>>2]&31](c[h>>2]|0,g,q,m)|0;if((m|0)!=0&(f|0)==0){if(!(c[n+140>>2]|0)){u=372;break d}Fw(j,1);f=jg[c[n>>2]&31](c[h>>2]|0,g,q,m)|0;if(!f){u=372;break d}}g=n+12|0;c[g>>2]=(o?0-q|0:0)+m+(c[g>>2]|0);c[i>>2]=f;c[p>>2]=m;g=c[s>>2]|0}else f=c[i>>2]|0;c[s>>2]=g+1;a[f+g>>0]=r;if((k|0)<=1)break g;g=c[K>>2]|0;i=g;g=c[g+4>>2]|0;k=k+-1|0;u=365}while(0);break}case 13:case 10:{f=c[L>>2]|0;u=c[f>>2]|0;c[f>>2]=u+-1;if(!u){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{u=f+4|0;f=c[u>>2]|0;c[u>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;switch(f|0){case 13:case 10:{if((f|0)!=(r|0)){f=c[L>>2]|0;u=c[f>>2]|0;c[f>>2]=u+-1;if(!u){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{u=f+4|0;f=c[u>>2]|0;c[u>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f}break}default:{}}u=(c[y>>2]|0)+1|0;c[y>>2]=u;if((u|0)==2147483647){u=391;break d}else{f=10;u=481}break}case 39:case 34:case 92:{i=r;u=475;break}case 122:{f=(c[K>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+-1;f=c[L>>2]|0;t=c[f>>2]|0;c[f>>2]=t+-1;if(!t){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{t=f+4|0;f=c[t>>2]|0;c[t>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;if(a[286771+(f+1)>>0]&8)while(1){switch(f|0){case 13:case 10:{g=c[L>>2]|0;t=c[g>>2]|0;c[g>>2]=t+-1;if(!t){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;i=c[M>>2]|0;if((h|0)==0|(i|0)==0)g=-1;else{c[g>>2]=i+-1;c[g+4>>2]=h+1;g=d[h>>0]|0}}else{t=g+4|0;g=c[t>>2]|0;c[t>>2]=g+1;g=d[g>>0]|0}c[b>>2]=g;switch(g|0){case 13:case 10:{if((g|0)!=(f|0)){f=c[L>>2]|0;t=c[f>>2]|0;c[f>>2]=t+-1;if(!t){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{t=f+4|0;f=c[t>>2]|0;c[t>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f}break}default:f=g}t=(c[y>>2]|0)+1|0;c[y>>2]=t;if((t|0)==2147483647){u=414;break d}break}default:{f=c[L>>2]|0;t=c[f>>2]|0;c[f>>2]=t+-1;if(!t){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{t=f+4|0;f=c[t>>2]|0;c[t>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f}}if(!(a[286771+(f+1)>>0]&8))break f}break}default:{if((r+-48|0)>>>0>9){u=423;break d}else{f=r;t=0;h=0}while(1){g=f+-48|0;if(g>>>0>9){r=f;g=t;f=h;break}s=g+(h*10|0)|0;q=c[K>>2]|0;r=q+4|0;g=c[r>>2]|0;o=q+8|0;p=c[o>>2]|0;if((g+1|0)>>>0>p>>>0){if(p>>>0>2147483646){u=444;break d}j=p<<1;k=c[x>>2]|0;h=c[q>>2]|0;m=c[k+12>>2]|0;n=(h|0)!=0;i=m+4|0;g=jg[c[m>>2]&31](c[i>>2]|0,h,p,j)|0;if((j|0)!=0&(g|0)==0){if(!(c[m+140>>2]|0)){u=448;break d}Fw(k,1);g=jg[c[m>>2]&31](c[i>>2]|0,h,p,j)|0;if(!g){u=448;break d}}h=m+12|0;c[h>>2]=(n?0-p|0:0)+j+(c[h>>2]|0);c[q>>2]=g;c[o>>2]=j;h=c[r>>2]|0}else{h=g;g=c[q>>2]|0}c[r>>2]=h+1;a[g+h>>0]=f;f=c[L>>2]|0;u=c[f>>2]|0;c[f>>2]=u+-1;if(!u){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{u=f+4|0;f=c[u>>2]|0;c[u>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;g=t+1|0;if((g|0)<3){t=g;h=s}else{r=f;f=s;break}}if((f|0)>=256){u=457;break d}u=(c[K>>2]|0)+4|0;c[u>>2]=(c[u>>2]|0)-g;u=481}}while(0);if((u|0)==475){f=c[L>>2]|0;u=c[f>>2]|0;c[f>>2]=u+-1;if(!u){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{u=f+4|0;f=c[u>>2]|0;c[u>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;f=i;u=481}if((u|0)==481){u=0;q=c[K>>2]|0;r=q+4|0;t=c[r>>2]|0;g=t+-1|0;c[r>>2]=g;o=q+8|0;p=c[o>>2]|0;if(t>>>0>p>>>0){if(p>>>0>2147483646){u=484;break d}k=p<<1;j=c[x>>2]|0;h=c[q>>2]|0;m=c[j+12>>2]|0;n=(h|0)!=0;i=m+4|0;g=jg[c[m>>2]&31](c[i>>2]|0,h,p,k)|0;if((k|0)!=0&(g|0)==0){if(!(c[m+140>>2]|0)){u=488;break d}Fw(j,1);g=jg[c[m>>2]&31](c[i>>2]|0,h,p,k)|0;if(!g){u=488;break d}}h=m+12|0;c[h>>2]=(n?0-p|0:0)+k+(c[h>>2]|0);c[q>>2]=g;c[o>>2]=k;h=c[r>>2]|0}else{h=g;g=c[q>>2]|0}c[r>>2]=h+1;a[g+h>>0]=f}f=c[b>>2]|0;break}default:{q=c[K>>2]|0;r=q+4|0;g=c[r>>2]|0;o=q+8|0;p=c[o>>2]|0;if((g+1|0)>>>0>p>>>0){if(p>>>0>2147483646){u=494;break d}k=p<<1;j=c[x>>2]|0;h=c[q>>2]|0;m=c[j+12>>2]|0;n=(h|0)!=0;i=m+4|0;g=jg[c[m>>2]&31](c[i>>2]|0,h,p,k)|0;if((k|0)!=0&(g|0)==0){if(!(c[m+140>>2]|0)){u=498;break d}Fw(j,1);g=jg[c[m>>2]&31](c[i>>2]|0,h,p,k)|0;if(!g){u=498;break d}}h=m+12|0;c[h>>2]=(n?0-p|0:0)+k+(c[h>>2]|0);c[q>>2]=g;c[o>>2]=k;h=c[r>>2]|0}else{h=g;g=c[q>>2]|0}c[r>>2]=h+1;a[g+h>>0]=f;f=c[L>>2]|0;t=c[f>>2]|0;c[f>>2]=t+-1;if(!t){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{t=f+4|0;f=c[t>>2]|0;c[t>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f}}while(0);if((f|0)==(w|0))break c}switch(u|0){case 153:{OB(b,287307,289);break}case 154:{OB(b,287307,293);break}case 158:{OB(b,287216,0);break}case 162:{cw(i,4);break}case 180:{OB(b,287216,0);break}case 184:{cw(j,4);break}case 192:{if((r|0)==-1)OB(b,287325,293);p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);m=o<<1;i=c[x>>2]|0;f=c[p>>2]|0;j=c[i+12>>2]|0;k=(f|0)!=0;g=j+4|0;h=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if((m|0)!=0&(h|0)==0){if(!(c[j+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if(!f)cw(i,4);else A=f}else A=h;g=j+12|0;c[g>>2]=(k?0-o|0:0)+m+(c[g>>2]|0);c[p>>2]=A;c[n>>2]=m;g=c[q>>2]|0;f=A}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=r;f=c[L>>2]|0;H=c[f>>2]|0;c[f>>2]=H+-1;if(!H){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{H=f+4|0;f=c[H>>2]|0;c[H>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;OB(b,287325,293);break}case 212:{OB(b,287216,0);break}case 216:{cw(j,4);break}case 224:{if((r|0)==-1)OB(b,287325,293);p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);m=o<<1;i=c[x>>2]|0;f=c[p>>2]|0;j=c[i+12>>2]|0;k=(f|0)!=0;g=j+4|0;h=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if((m|0)!=0&(h|0)==0){if(!(c[j+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if(!f)cw(i,4);else B=f}else B=h;g=j+12|0;c[g>>2]=(k?0-o|0:0)+m+(c[g>>2]|0);c[p>>2]=B;c[n>>2]=m;g=c[q>>2]|0;f=B}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=r;f=c[L>>2]|0;H=c[f>>2]|0;c[f>>2]=H+-1;if(!H){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{H=f+4|0;f=c[H>>2]|0;c[H>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;OB(b,287325,293);break}case 245:{OB(b,287216,0);break}case 249:{cw(i,4);break}case 257:{p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);m=o<<1;i=c[x>>2]|0;g=c[p>>2]|0;j=c[i+12>>2]|0;k=(g|0)!=0;h=j+4|0;f=jg[c[j>>2]&31](c[h>>2]|0,g,o,m)|0;if((m|0)!=0&(f|0)==0){if(!(c[j+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[j>>2]&31](c[h>>2]|0,g,o,m)|0;if(!f)cw(i,4);else C=f}else C=f;g=j+12|0;c[g>>2]=(k?0-o|0:0)+m+(c[g>>2]|0);c[p>>2]=C;c[n>>2]=m;g=c[q>>2]|0;f=C}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=r;f=c[L>>2]|0;H=c[f>>2]|0;c[f>>2]=H+-1;if(!H){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{H=f+4|0;f=c[H>>2]|0;c[H>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;OB(b,287352,293);break}case 272:{OB(b,287352,293);break}case 276:{OB(b,287216,0);break}case 280:{cw(i,4);break}case 288:{if((r|0)==-1)OB(b,287325,293);p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);m=o<<1;i=c[x>>2]|0;f=c[p>>2]|0;j=c[i+12>>2]|0;k=(f|0)!=0;g=j+4|0;h=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if((m|0)!=0&(h|0)==0){if(!(c[j+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if(!f)cw(i,4);else D=f}else D=h;g=j+12|0;c[g>>2]=(k?0-o|0:0)+m+(c[g>>2]|0);c[p>>2]=D;c[n>>2]=m;g=c[q>>2]|0;f=D}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=r;f=c[L>>2]|0;H=c[f>>2]|0;c[f>>2]=H+-1;if(!H){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{H=f+4|0;f=c[H>>2]|0;c[H>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;OB(b,287325,293);break}case 309:{OB(b,287216,0);break}case 313:{cw(i,4);break}case 322:{if((s|0)==-1)OB(b,287364,293);p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);m=o<<1;i=c[x>>2]|0;f=c[p>>2]|0;j=c[i+12>>2]|0;k=(f|0)!=0;g=j+4|0;h=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if((m|0)!=0&(h|0)==0){if(!(c[j+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if(!f)cw(i,4);else E=f}else E=h;g=j+12|0;c[g>>2]=(k?0-o|0:0)+m+(c[g>>2]|0);c[p>>2]=E;c[n>>2]=m;g=c[q>>2]|0;f=E}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=s;f=c[L>>2]|0;H=c[f>>2]|0;c[f>>2]=H+-1;if(!H){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{H=f+4|0;f=c[H>>2]|0;c[H>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;OB(b,287364,293);break}case 340:{p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);m=o<<1;i=c[x>>2]|0;f=c[p>>2]|0;j=c[i+12>>2]|0;k=(f|0)!=0;g=j+4|0;h=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if((m|0)!=0&(h|0)==0){if(!(c[j+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if(!f)cw(i,4);else F=f}else F=h;g=j+12|0;c[g>>2]=(k?0-o|0:0)+m+(c[g>>2]|0);c[p>>2]=F;c[n>>2]=m;g=c[q>>2]|0;f=F}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=s;f=c[L>>2]|0;H=c[f>>2]|0;c[f>>2]=H+-1;if(!H){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{H=f+4|0;f=c[H>>2]|0;c[H>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;OB(b,287386,293);break}case 355:{OB(b,287386,293);break}case 368:{OB(b,287216,0);break}case 372:{cw(j,4);break}case 391:{OB(b,287252,0);break}case 414:{OB(b,287252,0);break}case 423:{if((r|0)==-1)OB(b,287398,293);p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);m=o<<1;i=c[x>>2]|0;f=c[p>>2]|0;j=c[i+12>>2]|0;k=(f|0)!=0;g=j+4|0;h=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if((m|0)!=0&(h|0)==0){if(!(c[j+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if(!f)cw(i,4);else G=f}else G=h;g=j+12|0;c[g>>2]=(k?0-o|0:0)+m+(c[g>>2]|0);c[p>>2]=G;c[n>>2]=m;g=c[q>>2]|0;f=G}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=r;f=c[L>>2]|0;H=c[f>>2]|0;c[f>>2]=H+-1;if(!H){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{H=f+4|0;f=c[H>>2]|0;c[H>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;OB(b,287398,293);break}case 444:{OB(b,287216,0);break}case 448:{cw(k,4);break}case 457:{if((r|0)==-1)OB(b,287422,293);p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);m=o<<1;i=c[x>>2]|0;f=c[p>>2]|0;j=c[i+12>>2]|0;k=(f|0)!=0;g=j+4|0;h=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if((m|0)!=0&(h|0)==0){if(!(c[j+140>>2]|0))cw(i,4);Fw(i,1);f=jg[c[j>>2]&31](c[g>>2]|0,f,o,m)|0;if(!f)cw(i,4);else H=f}else H=h;g=j+12|0;c[g>>2]=(k?0-o|0:0)+m+(c[g>>2]|0);c[p>>2]=H;c[n>>2]=m;g=c[q>>2]|0;f=H}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=r;f=c[L>>2]|0;H=c[f>>2]|0;c[f>>2]=H+-1;if(!H){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{H=f+4|0;f=c[H>>2]|0;c[H>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;OB(b,287422,293);break}case 484:{OB(b,287216,0);break}case 488:{cw(j,4);break}case 494:{OB(b,287216,0);break}case 498:{cw(j,4);break}}}while(0);p=c[K>>2]|0;q=p+4|0;g=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((g+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);i=o<<1;j=c[b+52>>2]|0;f=c[p>>2]|0;k=c[j+12>>2]|0;m=(f|0)!=0;g=k+4|0;h=jg[c[k>>2]&31](c[g>>2]|0,f,o,i)|0;if((i|0)!=0&(h|0)==0){if(!(c[k+140>>2]|0))cw(j,4);Fw(j,1);f=jg[c[k>>2]&31](c[g>>2]|0,f,o,i)|0;if(!f)cw(j,4);else J=f}else J=h;g=k+12|0;c[g>>2]=(m?0-o|0:0)+i+(c[g>>2]|0);c[p>>2]=J;c[n>>2]=i;g=c[q>>2]|0;f=J}else f=c[p>>2]|0;c[q>>2]=g+1;a[f+g>>0]=I;g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;f=c[K>>2]|0;j=c[b+52>>2]|0;f=jx(j,(c[f>>2]|0)+1|0,(c[f+4>>2]|0)+-2|0)|0;k=j+8|0;h=c[k>>2]|0;c[k>>2]=h+16;c[h>>2]=f;c[h+8>>2]=(a[f+4>>0]|64)&255;h=c[b+64>>2]|0;i=(c[k>>2]|0)+-16|0;g=ox(h,i)|0;if((g|0)==316088)g=nx(j,h,i)|0;h=g+8|0;if(!(c[h>>2]|0)){c[g>>2]=1;c[h>>2]=1;if((c[(c[j+12>>2]|0)+12>>2]|0)>0)Ew(j)}else f=c[g+16>>2]|0;c[k>>2]=(c[k>>2]|0)+-16;c[e>>2]=f;b=293;l=N;return b|0}case 527:{q=c[K>>2]|0;r=q+4|0;g=c[r>>2]|0;o=q+8|0;p=c[o>>2]|0;if((g+1|0)>>>0>p>>>0){if(p>>>0>2147483646)OB(b,287216,0);j=p<<1;k=c[b+52>>2]|0;g=c[q>>2]|0;m=c[k+12>>2]|0;n=(g|0)!=0;h=m+4|0;i=jg[c[m>>2]&31](c[h>>2]|0,g,p,j)|0;if((j|0)!=0&(i|0)==0){if(!(c[m+140>>2]|0))cw(k,4);Fw(k,1);g=jg[c[m>>2]&31](c[h>>2]|0,g,p,j)|0;if(!g)cw(k,4);else f=g}else f=i;g=m+12|0;c[g>>2]=(n?0-p|0:0)+j+(c[g>>2]|0);c[q>>2]=f;c[o>>2]=j;g=c[r>>2]|0}else f=c[q>>2]|0;c[r>>2]=g+1;a[f+g>>0]=46;f=c[L>>2]|0;K=c[f>>2]|0;c[f>>2]=K+-1;if(!K){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{K=f+4|0;f=c[K>>2]|0;c[K>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;if((f|0)!=46){if((f+-48|0)>>>0>9){b=46;l=N;return b|0}b=TB(b,e)|0;l=N;return b|0}f=c[L>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{e=f+4|0;f=c[e>>2]|0;c[e>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;if((f|0)!=46){b=280;l=N;return b|0}g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=281;l=N;return b|0}case 556:{b=TB(b,e)|0;l=N;return b|0}case 557:{if(!(a[286771+(w+1)>>0]&1)){g=c[L>>2]|0;L=c[g>>2]|0;c[g>>2]=L+-1;if(!L){h=ig[c[g+8>>2]&63](c[g+16>>2]|0,c[g+12>>2]|0,M)|0;f=c[M>>2]|0;if((h|0)==0|(f|0)==0)f=-1;else{c[g>>2]=f+-1;c[g+4>>2]=h+1;f=d[h>>0]|0}}else{M=g+4|0;f=c[M>>2]|0;c[M>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;b=w;l=N;return b|0}s=b+52|0;f=w;while(1){q=c[K>>2]|0;r=q+4|0;g=c[r>>2]|0;o=q+8|0;p=c[o>>2]|0;if((g+1|0)>>>0>p>>>0){if(p>>>0>2147483646){u=562;break}j=p<<1;k=c[s>>2]|0;h=c[q>>2]|0;m=c[k+12>>2]|0;n=(h|0)!=0;i=m+4|0;g=jg[c[m>>2]&31](c[i>>2]|0,h,p,j)|0;if((j|0)!=0&(g|0)==0){if(!(c[m+140>>2]|0)){u=566;break}Fw(k,1);g=jg[c[m>>2]&31](c[i>>2]|0,h,p,j)|0;if(!g){u=566;break}}h=m+12|0;c[h>>2]=(n?0-p|0:0)+j+(c[h>>2]|0);c[q>>2]=g;c[o>>2]=j;h=c[r>>2]|0}else{h=g;g=c[q>>2]|0}c[r>>2]=h+1;a[g+h>>0]=f;f=c[L>>2]|0;J=c[f>>2]|0;c[f>>2]=J+-1;if(!J){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,M)|0;h=c[M>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{J=f+4|0;f=c[J>>2]|0;c[J>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;if(!(a[286771+(f+1)>>0]&3)){u=574;break}}if((u|0)==562)OB(b,287216,0);else if((u|0)==566)cw(k,4);else if((u|0)==574){f=c[K>>2]|0;j=c[s>>2]|0;f=jx(j,c[f>>2]|0,c[f+4>>2]|0)|0;k=j+8|0;h=c[k>>2]|0;c[k>>2]=h+16;c[h>>2]=f;c[h+8>>2]=(a[f+4>>0]|64)&255;h=c[b+64>>2]|0;i=(c[k>>2]|0)+-16|0;g=ox(h,i)|0;if((g|0)==316088)g=nx(j,h,i)|0;h=g+8|0;if(!(c[h>>2]|0)){c[g>>2]=1;c[h>>2]=1;if((c[(c[j+12>>2]|0)+12>>2]|0)>0)Ew(j)}else f=c[g+16>>2]|0;c[k>>2]=(c[k>>2]|0)+-16;c[e>>2]=f;if((a[f+4>>0]|0)!=4){b=292;l=N;return b|0}f=a[f+6>>0]|0;if(!(f<<24>>24)){b=292;l=N;return b|0}b=f&255|256;l=N;return b|0}break}case 589:{l=N;return f|0}}return 0}function RB(b){b=b|0;var 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;w=l;l=l+16|0;u=w;v=c[b>>2]|0;t=b+60|0;p=c[t>>2]|0;q=p+4|0;f=c[q>>2]|0;n=p+8|0;o=c[n>>2]|0;if((f+1|0)>>>0>o>>>0){if(o>>>0>2147483646)OB(b,287216,0);i=o<<1;j=c[b+52>>2]|0;f=c[p>>2]|0;k=c[j+12>>2]|0;m=(f|0)!=0;g=k+4|0;h=jg[c[k>>2]&31](c[g>>2]|0,f,o,i)|0;if((i|0)!=0&(h|0)==0){if(!(c[k+140>>2]|0))cw(j,4);Fw(j,1);f=jg[c[k>>2]&31](c[g>>2]|0,f,o,i)|0;if(!f)cw(j,4);else e=f}else e=h;f=k+12|0;c[f>>2]=(m?0-o|0:0)+i+(c[f>>2]|0);c[p>>2]=e;c[n>>2]=i;f=c[q>>2]|0}else e=c[p>>2]|0;c[q>>2]=f+1;a[e+f>>0]=v;s=b+56|0;e=c[s>>2]|0;r=c[e>>2]|0;c[e>>2]=r+-1;if(!r){f=ig[c[e+8>>2]&63](c[e+16>>2]|0,c[e+12>>2]|0,u)|0;g=c[u>>2]|0;if((f|0)==0|(g|0)==0)e=-1;else{c[e>>2]=g+-1;c[e+4>>2]=f+1;e=d[f>>0]|0}}else{r=e+4|0;e=c[r>>2]|0;c[r>>2]=e+1;e=d[e>>0]|0}c[b>>2]=e;if((e|0)!=61){u=e;b=0;v=(u|0)!=(v|0);v=v<<31>>31;v=v^b;l=w;return v|0}r=b+52|0;e=0;while(1){n=c[t>>2]|0;q=n+4|0;f=c[q>>2]|0;o=n+8|0;p=c[o>>2]|0;if((f+1|0)>>>0>p>>>0){if(p>>>0>2147483646){g=20;break}i=p<<1;j=c[r>>2]|0;f=c[n>>2]|0;k=c[j+12>>2]|0;m=(f|0)!=0;h=k+4|0;g=jg[c[k>>2]&31](c[h>>2]|0,f,p,i)|0;if((i|0)!=0&(g|0)==0){if(!(c[k+140>>2]|0)){g=24;break}Fw(j,1);g=jg[c[k>>2]&31](c[h>>2]|0,f,p,i)|0;if(!g){g=24;break}}f=k+12|0;c[f>>2]=(m?0-p|0:0)+i+(c[f>>2]|0);c[n>>2]=g;c[o>>2]=i;f=c[q>>2]|0}else g=c[n>>2]|0;c[q>>2]=f+1;a[g+f>>0]=61;f=c[s>>2]|0;q=c[f>>2]|0;c[f>>2]=q+-1;if(!q){g=ig[c[f+8>>2]&63](c[f+16>>2]|0,c[f+12>>2]|0,u)|0;h=c[u>>2]|0;if((g|0)==0|(h|0)==0)f=-1;else{c[f>>2]=h+-1;c[f+4>>2]=g+1;f=d[g>>0]|0}}else{q=f+4|0;f=c[q>>2]|0;c[q>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;e=e+1|0;if((f|0)!=61){g=32;break}}if((g|0)==20)OB(b,287216,0);else if((g|0)==24)cw(j,4);else if((g|0)==32){v=(f|0)!=(v|0);v=v<<31>>31;v=v^e;l=w;return v|0}return 0}function SB(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,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=l;l=l+16|0;A=E;C=E+8|0;y=b+4|0;z=c[y>>2]|0;t=c[b>>2]|0;D=b+60|0;s=c[D>>2]|0;u=s+4|0;i=c[u>>2]|0;q=s+8|0;r=c[q>>2]|0;if((i+1|0)>>>0>r>>>0){if(r>>>0>2147483646)OB(b,287216,0);m=r<<1;n=c[b+52>>2]|0;i=c[s>>2]|0;o=c[n+12>>2]|0;p=(i|0)!=0;j=o+4|0;k=jg[c[o>>2]&31](c[j>>2]|0,i,r,m)|0;if((m|0)!=0&(k|0)==0){if(!(c[o+140>>2]|0))cw(n,4);Fw(n,1);i=jg[c[o>>2]&31](c[j>>2]|0,i,r,m)|0;if(!i)cw(n,4);else h=i}else h=k;i=o+12|0;c[i>>2]=(p?0-r|0:0)+m+(c[i>>2]|0);c[s>>2]=h;c[q>>2]=m;i=c[u>>2]|0}else h=c[s>>2]|0;c[u>>2]=i+1;a[h+i>>0]=t;x=b+56|0;h=c[x>>2]|0;w=c[h>>2]|0;c[h>>2]=w+-1;if(!w){i=ig[c[h+8>>2]&63](c[h+16>>2]|0,c[h+12>>2]|0,C)|0;j=c[C>>2]|0;if((i|0)==0|(j|0)==0)h=-1;else{c[h>>2]=j+-1;c[h+4>>2]=i+1;h=d[i>>0]|0}}else{w=h+4|0;h=c[w>>2]|0;c[w>>2]=h+1;h=d[h>>0]|0}c[b>>2]=h;switch(h|0){case 13:case 10:{i=c[x>>2]|0;w=c[i>>2]|0;c[i>>2]=w+-1;if(!w){j=ig[c[i+8>>2]&63](c[i+16>>2]|0,c[i+12>>2]|0,C)|0;k=c[C>>2]|0;if((j|0)==0|(k|0)==0)i=-1;else{c[i>>2]=k+-1;c[i+4>>2]=j+1;i=d[j>>0]|0}}else{w=i+4|0;i=c[w>>2]|0;c[w>>2]=i+1;i=d[i>>0]|0}c[b>>2]=i;switch(i|0){case 13:case 10:{if((i|0)!=(h|0)){j=c[x>>2]|0;w=c[j>>2]|0;c[j>>2]=w+-1;if(!w){h=ig[c[j+8>>2]&63](c[j+16>>2]|0,c[j+12>>2]|0,C)|0;i=c[C>>2]|0;if((h|0)==0|(i|0)==0)h=-1;else{c[j>>2]=i+-1;c[j+4>>2]=h+1;h=d[h>>0]|0}}else{w=j+4|0;h=c[w>>2]|0;c[w>>2]=h+1;h=d[h>>0]|0}c[b>>2]=h}break}default:h=i}w=(c[y>>2]|0)+1|0;c[y>>2]=w;if((w|0)==2147483647)OB(b,287252,0);else v=h;break}default:v=h}u=(e|0)==0;w=b+52|0;h=v;a:while(1){b:do if(u)while(1){switch(h|0){case -1:{B=41;break a}case 93:{B=42;break b}case 13:case 10:break b;default:{}}h=c[x>>2]|0;v=c[h>>2]|0;c[h>>2]=v+-1;if(!v){i=ig[c[h+8>>2]&63](c[h+16>>2]|0,c[h+12>>2]|0,C)|0;j=c[C>>2]|0;if((i|0)==0|(j|0)==0)h=-1;else{c[h>>2]=j+-1;c[h+4>>2]=i+1;h=d[i>>0]|0}}else{v=h+4|0;h=c[v>>2]|0;c[v>>2]=h+1;h=d[h>>0]|0}c[b>>2]=h}else while(1){switch(h|0){case -1:{B=41;break a}case 93:{B=42;break b}case 13:case 10:break b;default:{}}s=c[D>>2]|0;t=s+4|0;i=c[t>>2]|0;q=s+8|0;r=c[q>>2]|0;if((i+1|0)>>>0>r>>>0){if(r>>>0>2147483646){B=87;break a}n=r<<1;m=c[w>>2]|0;j=c[s>>2]|0;o=c[m+12>>2]|0;p=(j|0)!=0;k=o+4|0;i=jg[c[o>>2]&31](c[k>>2]|0,j,r,n)|0;if((n|0)!=0&(i|0)==0){if(!(c[o+140>>2]|0)){B=91;break a}Fw(m,1);i=jg[c[o>>2]&31](c[k>>2]|0,j,r,n)|0;if(!i){B=91;break a}}j=o+12|0;c[j>>2]=(p?0-r|0:0)+n+(c[j>>2]|0);c[s>>2]=i;c[q>>2]=n;j=c[t>>2]|0}else{j=i;i=c[s>>2]|0}c[t>>2]=j+1;a[i+j>>0]=h;h=c[x>>2]|0;v=c[h>>2]|0;c[h>>2]=v+-1;if(!v){i=ig[c[h+8>>2]&63](c[h+16>>2]|0,c[h+12>>2]|0,C)|0;j=c[C>>2]|0;if((i|0)==0|(j|0)==0)h=-1;else{c[h>>2]=j+-1;c[h+4>>2]=i+1;h=d[i>>0]|0}}else{v=h+4|0;h=c[v>>2]|0;c[v>>2]=h+1;h=d[h>>0]|0}c[b>>2]=h}while(0);if((B|0)==42){B=0;v=(RB(b)|0)==(f|0);h=c[b>>2]|0;if(v){B=43;break}else continue}r=c[D>>2]|0;s=r+4|0;h=c[s>>2]|0;p=r+8|0;q=c[p>>2]|0;if((h+1|0)>>>0>q>>>0){if(q>>>0>2147483646){B=61;break}m=q<<1;k=c[w>>2]|0;i=c[r>>2]|0;n=c[k+12>>2]|0;o=(i|0)!=0;j=n+4|0;h=jg[c[n>>2]&31](c[j>>2]|0,i,q,m)|0;if((m|0)!=0&(h|0)==0){if(!(c[n+140>>2]|0)){B=65;break}Fw(k,1);h=jg[c[n>>2]&31](c[j>>2]|0,i,q,m)|0;if(!h){B=65;break}}i=n+12|0;c[i>>2]=(o?0-q|0:0)+m+(c[i>>2]|0);c[r>>2]=h;c[p>>2]=m;i=c[s>>2]|0}else{i=h;h=c[r>>2]|0}c[s>>2]=i+1;a[h+i>>0]=10;h=c[b>>2]|0;i=c[x>>2]|0;v=c[i>>2]|0;c[i>>2]=v+-1;if(!v){j=ig[c[i+8>>2]&63](c[i+16>>2]|0,c[i+12>>2]|0,C)|0;k=c[C>>2]|0;if((j|0)==0|(k|0)==0)i=-1;else{c[i>>2]=k+-1;c[i+4>>2]=j+1;i=d[j>>0]|0}}else{v=i+4|0;i=c[v>>2]|0;c[v>>2]=i+1;i=d[i>>0]|0}c[b>>2]=i;switch(i|0){case 13:case 10:{if((i|0)!=(h|0)){h=c[x>>2]|0;v=c[h>>2]|0;c[h>>2]=v+-1;if(!v){i=ig[c[h+8>>2]&63](c[h+16>>2]|0,c[h+12>>2]|0,C)|0;j=c[C>>2]|0;if((i|0)==0|(j|0)==0)h=-1;else{c[h>>2]=j+-1;c[h+4>>2]=i+1;h=d[i>>0]|0}}else{v=h+4|0;h=c[v>>2]|0;c[v>>2]=h+1;h=d[h>>0]|0}c[b>>2]=h}break}default:h=i}v=(c[y>>2]|0)+1|0;c[y>>2]=v;if((v|0)==2147483647){B=81;break}if(!u)continue;c[(c[D>>2]|0)+4>>2]=0}if((B|0)==41){E=c[w>>2]|0;c[A>>2]=e|0?287470:287477;c[A+4>>2]=z;OB(b,Lw(E,287485,A)|0,289)}else if((B|0)==43){s=c[D>>2]|0;t=s+4|0;i=c[t>>2]|0;q=s+8|0;r=c[q>>2]|0;if((i+1|0)>>>0>r>>>0){if(r>>>0>2147483646)OB(b,287216,0);m=r<<1;n=c[w>>2]|0;i=c[s>>2]|0;o=c[n+12>>2]|0;p=(i|0)!=0;j=o+4|0;k=jg[c[o>>2]&31](c[j>>2]|0,i,r,m)|0;if((m|0)!=0&(k|0)==0){if(!(c[o+140>>2]|0))cw(n,4);Fw(n,1);i=jg[c[o>>2]&31](c[j>>2]|0,i,r,m)|0;if(!i)cw(n,4);else g=i}else g=k;i=o+12|0;c[i>>2]=(p?0-r|0:0)+m+(c[i>>2]|0);c[s>>2]=g;c[q>>2]=m;i=c[t>>2]|0}else g=c[s>>2]|0;c[t>>2]=i+1;a[g+i>>0]=h;h=c[x>>2]|0;B=c[h>>2]|0;c[h>>2]=B+-1;if(!B){i=ig[c[h+8>>2]&63](c[h+16>>2]|0,c[h+12>>2]|0,C)|0;g=c[C>>2]|0;if((i|0)==0|(g|0)==0)g=-1;else{c[h>>2]=g+-1;c[h+4>>2]=i+1;g=d[i>>0]|0}}else{C=h+4|0;g=c[C>>2]|0;c[C>>2]=g+1;g=d[g>>0]|0}c[b>>2]=g;if(u){l=E;return}m=c[D>>2]|0;g=f+2|0;k=c[w>>2]|0;g=jx(k,(c[m>>2]|0)+g|0,(c[m+4>>2]|0)-(g<<1)|0)|0;m=k+8|0;i=c[m>>2]|0;c[m>>2]=i+16;c[i>>2]=g;c[i+8>>2]=(a[g+4>>0]|64)&255;i=c[b+64>>2]|0;j=(c[m>>2]|0)+-16|0;h=ox(i,j)|0;if((h|0)==316088)h=nx(k,i,j)|0;i=h+8|0;if(!(c[i>>2]|0)){c[h>>2]=1;c[i>>2]=1;if((c[(c[k+12>>2]|0)+12>>2]|0)>0)Ew(k)}else g=c[h+16>>2]|0;c[m>>2]=(c[m>>2]|0)+-16;c[e>>2]=g;l=E;return}else if((B|0)==61)OB(b,287216,0);else if((B|0)==65)cw(k,4);else if((B|0)==81)OB(b,287252,0);else if((B|0)==87)OB(b,287216,0);else if((B|0)==91)cw(m,4)}function TB(b,e){b=b|0;e=e|0;var f=0,g=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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+32|0;A=H+16|0;G=H;x=c[b>>2]|0;E=b+60|0;v=c[E>>2]|0;w=v+4|0;m=c[w>>2]|0;t=v+8|0;u=c[t>>2]|0;if((m+1|0)>>>0>u>>>0){if(u>>>0>2147483646)OB(b,287216,0);p=u<<1;q=c[b+52>>2]|0;m=c[v>>2]|0;r=c[q+12>>2]|0;s=(m|0)!=0;n=r+4|0;o=jg[c[r>>2]&31](c[n>>2]|0,m,u,p)|0;if((p|0)!=0&(o|0)==0){if(!(c[r+140>>2]|0))cw(q,4);Fw(q,1);m=jg[c[r>>2]&31](c[n>>2]|0,m,u,p)|0;if(!m)cw(q,4);else j=m}else j=o;m=r+12|0;c[m>>2]=(s?0-u|0:0)+p+(c[m>>2]|0);c[v>>2]=j;c[t>>2]=p;m=c[w>>2]|0}else j=c[v>>2]|0;c[w>>2]=m+1;a[j+m>>0]=x;z=b+56|0;j=c[z>>2]|0;y=c[j>>2]|0;c[j>>2]=y+-1;if(!y){m=ig[c[j+8>>2]&63](c[j+16>>2]|0,c[j+12>>2]|0,A)|0;n=c[A>>2]|0;if((m|0)==0|(n|0)==0)j=-1;else{c[j>>2]=n+-1;c[j+4>>2]=m+1;j=d[m>>0]|0}}else{y=j+4|0;j=c[y>>2]|0;c[y>>2]=j+1;j=d[j>>0]|0}c[b>>2]=j;a:do if((x|0)==48){switch(j|0){case 88:case 120:break;default:{x=287447;break a}}v=c[E>>2]|0;w=v+4|0;m=c[w>>2]|0;t=v+8|0;u=c[t>>2]|0;if((m+1|0)>>>0>u>>>0){if(u>>>0>2147483646)OB(b,287216,0);p=u<<1;q=c[b+52>>2]|0;m=c[v>>2]|0;r=c[q+12>>2]|0;s=(m|0)!=0;n=r+4|0;o=jg[c[r>>2]&31](c[n>>2]|0,m,u,p)|0;if((p|0)!=0&(o|0)==0){if(!(c[r+140>>2]|0))cw(q,4);Fw(q,1);m=jg[c[r>>2]&31](c[n>>2]|0,m,u,p)|0;if(!m)cw(q,4);else k=m}else k=o;m=r+12|0;c[m>>2]=(s?0-u|0:0)+p+(c[m>>2]|0);c[v>>2]=k;c[t>>2]=p;m=c[w>>2]|0}else k=c[v>>2]|0;c[w>>2]=m+1;a[k+m>>0]=j;j=c[z>>2]|0;y=c[j>>2]|0;c[j>>2]=y+-1;if(!y){k=ig[c[j+8>>2]&63](c[j+16>>2]|0,c[j+12>>2]|0,A)|0;m=c[A>>2]|0;if((k|0)==0|(m|0)==0)j=-1;else{c[j>>2]=m+-1;c[j+4>>2]=k+1;j=d[k>>0]|0}}else{y=j+4|0;j=c[y>>2]|0;c[y>>2]=j+1;j=d[j>>0]|0}c[b>>2]=j;x=287450}else x=287447;while(0);y=b+52|0;w=x+1|0;b:while(1){if(!((j|0)!=(a[x>>0]|0)?(j|0)!=(a[w>>0]|0):0))B=35;c:do if((B|0)==35){B=0;u=c[E>>2]|0;v=u+4|0;k=c[v>>2]|0;s=u+8|0;t=c[s>>2]|0;if((k+1|0)>>>0>t>>>0){if(t>>>0>2147483646){B=38;break b}p=t<<1;o=c[y>>2]|0;m=c[u>>2]|0;q=c[o+12>>2]|0;r=(m|0)!=0;n=q+4|0;k=jg[c[q>>2]&31](c[n>>2]|0,m,t,p)|0;if((p|0)!=0&(k|0)==0){if(!(c[q+140>>2]|0)){B=42;break b}Fw(o,1);k=jg[c[q>>2]&31](c[n>>2]|0,m,t,p)|0;if(!k){B=42;break b}}m=q+12|0;c[m>>2]=(r?0-t|0:0)+p+(c[m>>2]|0);c[u>>2]=k;c[s>>2]=p;m=c[v>>2]|0}else{m=k;k=c[u>>2]|0}c[v>>2]=m+1;a[k+m>>0]=j;j=c[z>>2]|0;v=c[j>>2]|0;c[j>>2]=v+-1;if(!v){k=ig[c[j+8>>2]&63](c[j+16>>2]|0,c[j+12>>2]|0,A)|0;m=c[A>>2]|0;if((k|0)==0|(m|0)==0)j=-1;else{c[j>>2]=m+-1;c[j+4>>2]=k+1;j=d[k>>0]|0}}else{v=j+4|0;j=c[v>>2]|0;c[v>>2]=j+1;j=d[j>>0]|0}c[b>>2]=j;switch(j|0){case 43:case 45:break;default:break c}u=c[E>>2]|0;v=u+4|0;k=c[v>>2]|0;s=u+8|0;t=c[s>>2]|0;if((k+1|0)>>>0>t>>>0){if(t>>>0>2147483646){B=53;break b}p=t<<1;o=c[y>>2]|0;m=c[u>>2]|0;q=c[o+12>>2]|0;r=(m|0)!=0;n=q+4|0;k=jg[c[q>>2]&31](c[n>>2]|0,m,t,p)|0;if((p|0)!=0&(k|0)==0){if(!(c[q+140>>2]|0)){B=57;break b}Fw(o,1);k=jg[c[q>>2]&31](c[n>>2]|0,m,t,p)|0;if(!k){B=57;break b}}m=q+12|0;c[m>>2]=(r?0-t|0:0)+p+(c[m>>2]|0);c[u>>2]=k;c[s>>2]=p;m=c[v>>2]|0}else{m=k;k=c[u>>2]|0}c[v>>2]=m+1;a[k+m>>0]=j;j=c[z>>2]|0;v=c[j>>2]|0;c[j>>2]=v+-1;if(!v){k=ig[c[j+8>>2]&63](c[j+16>>2]|0,c[j+12>>2]|0,A)|0;m=c[A>>2]|0;if((k|0)==0|(m|0)==0)j=-1;else{c[j>>2]=m+-1;c[j+4>>2]=k+1;j=d[k>>0]|0}}else{v=j+4|0;j=c[v>>2]|0;c[v>>2]=j+1;j=d[j>>0]|0}c[b>>2]=j}while(0);do if(!(a[286771+(j+1)>>0]&16)){t=c[E>>2]|0;u=t+4|0;k=c[u>>2]|0;r=t+8|0;s=c[r>>2]|0;m=(k+1|0)>>>0>s>>>0;if((j|0)!=46){B=96;break b}if(m){if(s>>>0>2147483646){B=84;break b}o=s<<1;n=c[y>>2]|0;k=c[t>>2]|0;p=c[n+12>>2]|0;q=(k|0)!=0;m=p+4|0;j=jg[c[p>>2]&31](c[m>>2]|0,k,s,o)|0;if((o|0)!=0&(j|0)==0){if(!(c[p+140>>2]|0)){B=88;break b}Fw(n,1);j=jg[c[p>>2]&31](c[m>>2]|0,k,s,o)|0;if(!j){B=88;break b}}k=p+12|0;c[k>>2]=(q?0-s|0:0)+o+(c[k>>2]|0);c[t>>2]=j;c[r>>2]=o;k=c[u>>2]|0}else j=c[t>>2]|0;c[u>>2]=k+1;a[j+k>>0]=46;j=c[z>>2]|0;v=c[j>>2]|0;c[j>>2]=v+-1;if(v|0){v=j+4|0;j=c[v>>2]|0;c[v>>2]=j+1;j=d[j>>0]|0;break}k=ig[c[j+8>>2]&63](c[j+16>>2]|0,c[j+12>>2]|0,A)|0;m=c[A>>2]|0;if((k|0)==0|(m|0)==0)j=-1;else{c[j>>2]=m+-1;c[j+4>>2]=k+1;j=d[k>>0]|0}}else{u=c[E>>2]|0;v=u+4|0;k=c[v>>2]|0;s=u+8|0;t=c[s>>2]|0;if((k+1|0)>>>0>t>>>0){if(t>>>0>2147483646){B=69;break b}p=t<<1;o=c[y>>2]|0;m=c[u>>2]|0;q=c[o+12>>2]|0;r=(m|0)!=0;n=q+4|0;k=jg[c[q>>2]&31](c[n>>2]|0,m,t,p)|0;if((p|0)!=0&(k|0)==0){if(!(c[q+140>>2]|0)){B=73;break b}Fw(o,1);k=jg[c[q>>2]&31](c[n>>2]|0,m,t,p)|0;if(!k){B=73;break b}}m=q+12|0;c[m>>2]=(r?0-t|0:0)+p+(c[m>>2]|0);c[u>>2]=k;c[s>>2]=p;m=c[v>>2]|0}else{m=k;k=c[u>>2]|0}c[v>>2]=m+1;a[k+m>>0]=j;j=c[z>>2]|0;v=c[j>>2]|0;c[j>>2]=v+-1;if(v|0){v=j+4|0;j=c[v>>2]|0;c[v>>2]=j+1;j=d[j>>0]|0;break}k=ig[c[j+8>>2]&63](c[j+16>>2]|0,c[j+12>>2]|0,A)|0;m=c[A>>2]|0;if((k|0)==0|(m|0)==0)j=-1;else{c[j>>2]=m+-1;c[j+4>>2]=k+1;j=d[k>>0]|0}}while(0);c[b>>2]=j}if((B|0)==38)OB(b,287216,0);else if((B|0)==42)cw(o,4);else if((B|0)==53)OB(b,287216,0);else if((B|0)==57)cw(o,4);else if((B|0)==69)OB(b,287216,0);else if((B|0)==73)cw(o,4);else if((B|0)==84)OB(b,287216,0);else if((B|0)==88)cw(n,4);else if((B|0)==96){if(m){if(s>>>0>2147483646)OB(b,287216,0);q=s<<1;n=c[y>>2]|0;j=c[t>>2]|0;o=c[n+12>>2]|0;p=(j|0)!=0;k=o+4|0;m=jg[c[o>>2]&31](c[k>>2]|0,j,s,q)|0;if((q|0)!=0&(m|0)==0){if(!(c[o+140>>2]|0))cw(n,4);Fw(n,1);j=jg[c[o>>2]&31](c[k>>2]|0,j,s,q)|0;if(!j)cw(n,4);else i=j}else i=m;j=o+12|0;c[j>>2]=(p?0-s|0:0)+q+(c[j>>2]|0);c[t>>2]=i;c[r>>2]=q;j=c[u>>2]|0}else{j=k;i=c[t>>2]|0}c[u>>2]=j+1;a[i+j>>0]=0;k=b+80|0;j=a[k>>0]|0;if(j<<24>>24!=46?(C=c[E>>2]|0,g=c[C+4>>2]|0,C=c[C>>2]|0,g|0):0)do{g=g+-1|0;i=C+g|0;if((a[i>>0]|0)==46)a[i>>0]=j}while((g|0)!=0);if(!(Iw(c[c[E>>2]>>2]|0,G)|0)){i=a[k>>0]|0;a[k>>0]=46;if(i<<24>>24!=46?(D=c[E>>2]|0,f=c[D+4>>2]|0,D=c[D>>2]|0,f|0):0)do{f=f+-1|0;g=D+f|0;if((a[g>>0]|0)==i<<24>>24)a[g>>0]=46}while((f|0)!=0);if(!(Iw(c[c[E>>2]>>2]|0,G)|0)){i=a[k>>0]|0;if(i<<24>>24==46)OB(b,287453,290);g=c[E>>2]|0;f=c[g+4>>2]|0;g=c[g>>2]|0;if(!f)OB(b,287453,290);else F=f;do{F=F+-1|0;f=g+F|0;if((a[f>>0]|0)==i<<24>>24)a[f>>0]=46}while((F|0)!=0);OB(b,287453,290)}}if((c[G+8>>2]|0)==19){b=G;G=c[b+4>>2]|0;c[e>>2]=c[b>>2];c[e+4>>2]=G;e=291;l=H;return e|0}else{h[e>>3]=+h[G>>3];e=290;l=H;return e|0}}return 0}function UB(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,i=0,j=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;t=l;l=l+32|0;s=t+16|0;q=t;r=f+4|0;i=c[b+16>>2]|0;do if((f|0)<=-4){if((r|0)>=-1000999){f=(c[b+8>>2]|0)+(r<<4)|0;break}if((r|0)==-1001e3){f=(c[b+12>>2]|0)+40|0;break}g=-1001004-f|0;f=c[i>>2]|0;if((c[f+8>>2]|0)==22)f=316088;else{f=c[f>>2]|0;f=(g|0)>(d[f+6>>0]|0)?316088:f+16+(g+-1<<4)|0}}else{f=(c[i>>2]|0)+(r<<4)|0;f=f>>>0<(c[b+8>>2]|0)>>>0?f:316088}while(0);switch(c[f+8>>2]&15){case 7:{m=(c[f>>2]|0)+24|0;break}case 2:{m=c[f>>2]|0;break}default:m=0}n=(c[e>>2]|0)-m|0;o=(n|0)/12|0;i=c[b+12>>2]|0;p=b+8|0;k=c[p>>2]|0;g=i+280+(((287613>>>0)%127|0)<<2)|0;f=c[g>>2]|0;if(wN(287613,f+16|0)|0){f=jx(b,287613,13)|0;c[g>>2]=f}c[k>>2]=f;c[k+8>>2]=(a[f+4>>0]|64)&255;k=c[p>>2]|0;c[p>>2]=k+16;wx(b,i+40|0,k,k);k=c[p>>2]|0;f=k+-16|0;do if((c[k+-8>>2]|0)!=19){a:while(1){g=c[f+8>>2]|0;switch(g|0){case 3:{g=19;break a}case 19:{g=22;break a}default:{}}if((g&15|0)!=4){g=29;break}g=Iw((c[f>>2]|0)+16|0,q)|0;f=c[f>>2]|0;if((a[f+4>>0]|0)==4)f=d[f+7>>0]|0;else f=c[f+12>>2]|0;if((g|0)==(f+1|0))f=q;else{g=29;break}}if((g|0)==19){u=+h[f>>3];j=+A(+u);if(!(u!=j)?j>=-9223372036854775808.0&j<9223372036854775808.0:0){f=~~j>>>0;g=28}else g=29}else if((g|0)==22){f=c[f>>2]|0;g=28}if((g|0)==28)break;else if((g|0)==29){f=0;break}}else f=c[f>>2]|0;while(0);c[p>>2]=(c[p>>2]|0)+-16;if((o|0)<(f|0)){q=o<<1;s=(q|0)>(f|0);q=s?f:q;s=q*12|0;s=Uv(b,s)|0;CQ(s|0,m|0,n|0)|0;Dv(b,r);b=c[p>>2]|0;b=b+-16|0;c[p>>2]=b;b=s+(q*12|0)|0;c[e>>2]=b;s=s+(o*12|0)|0;l=t;return s|0}c[s>>2]=f;Ix(b,287627,s);q=o<<1;s=(q|0)>(f|0);q=s?f:q;s=q*12|0;s=Uv(b,s)|0;CQ(s|0,m|0,n|0)|0;Dv(b,r);b=c[p>>2]|0;b=b+-16|0;c[p>>2]=b;b=s+(q*12|0)|0;c[e>>2]=b;s=s+(o*12|0)|0;l=t;return s|0}function VB(f){f=f|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+8288|0;x=F+72|0;q=F+64|0;s=F+56|0;u=F+48|0;v=F+40|0;z=F+32|0;p=F+24|0;o=F+16|0;D=F;B=F+80|0;E=f+8|0;y=c[E>>2]|0;c[D>>2]=24;t=y+16|0;k=c[t>>2]|0;A=y+8|0;m=c[A>>2]|0;n=m;do if(((c[y+24>>2]|0)-n|0)>384){i=m;j=24;C=5}else{if(((n-(c[y+28>>2]|0)>>4)+5|0)<=999976?(dw(y,168,D)|0)==0:0){i=c[A>>2]|0;j=c[D>>2]|0;C=5;break}c[o>>2]=287700;Ix(y,282039,o)}while(0);if((C|0)==5?(g=k+4|0,h=i+(j<<4)|0,(c[g>>2]|0)>>>0>>0):0)c[g>>2]=h;g=c[f>>2]|0;do switch(a[g+6>>0]|0){case 1:{C=(c[g>>2]|0)+1-(c[f+16>>2]|0)|0;E=c[A>>2]|0;D=E;c[D>>2]=C;c[D+4>>2]=((C|0)<0)<<31>>31;c[E+8>>2]=19;c[A>>2]=E+16;c[f>>2]=g+8;f=1;l=F;return f|0}case 2:{Jv(c[E>>2]|0,(c[f+12>>2]|0)+3|0,e[g+4>>1]|0,0)|0;c[f>>2]=(c[f>>2]|0)+8;f=1;l=F;return f|0}case 4:{c[f>>2]=g+8;g=e[g+4>>1]|0;h=g+3|0;if((h|0)>(c[f+12>>2]|0)){c[p>>2]=g;Ix(y,287718,p);f=0;l=F;return f|0}else{f=c[A>>2]|0;E=(c[c[t>>2]>>2]|0)+(h<<4)|0;E=E>>>0>>0?E:316088;c[f>>2]=c[E>>2];c[f+4>>2]=c[E+4>>2];c[f+8>>2]=c[E+8>>2];c[f+12>>2]=c[E+12>>2];c[A>>2]=(c[A>>2]|0)+16;f=1;l=F;return f|0}}case 5:{h=g+8|0;c[f>>2]=h;i=a[g+7>>0]|0;do if(!(i<<24>>24)){if(!(a[g+14>>0]|0))j=1;else{i=0;do{i=(VB(f)|0)+i|0;h=c[f>>2]|0}while((a[h+6>>0]|0)!=0);j=i+1|0}k=c[E>>2]|0;i=c[g>>2]|0;g=(c[h>>2]|0)-i|0;if((c[(c[k+12>>2]|0)+12>>2]|0)>0)Ew(k);h=jx(k,i,g)|0;g=k+8|0;k=c[g>>2]|0;c[k>>2]=h;c[k+8>>2]=(a[h+4>>0]|64)&255;c[g>>2]=(c[g>>2]|0)+16;c[f>>2]=(c[f>>2]|0)+8;g=0-j|0;k=c[A>>2]|0;h=k+-16|0;i=c[t>>2]|0;if((j|0)<0){g=(c[i>>2]|0)+(g<<4)|0;g=g>>>0>>0?g:316088;m=j;i=k;break}if((j|0)>1000999){if((g|0)==-1001e3){g=(c[y+12>>2]|0)+40|0;m=j;i=k;break}g=c[i>>2]|0;if((c[g+8>>2]|0)==22){g=316088;m=j;i=k}else{g=c[g>>2]|0;g=(j+-1001e3|0)>(d[g+6>>0]|0)?316088:g+16+(j+-1001001<<4)|0;m=j;i=k}}else{i=k;C=27}}else{h=c[E>>2]|0;g=c[g>>2]|0;if((c[(c[h+12>>2]|0)+12>>2]|0)>0)Ew(h);g=jx(h,g,(i&255)+-1|0)|0;i=h+8|0;j=c[i>>2]|0;c[j>>2]=g;c[j+8>>2]=(a[g+4>>0]|64)&255;c[i>>2]=(c[i>>2]|0)+16;i=c[A>>2]|0;j=1;h=i+-16|0;g=-1;C=27}while(0);if((C|0)==27){g=i+(g<<4)|0;m=j}i=i+-32|0;if(g>>>0>>0){j=g;do{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[j>>2]=c[i>>2];c[j+4>>2]=c[i+4>>2];c[j+8>>2]=c[i+8>>2];c[j+12>>2]=c[i+12>>2];c[i>>2]=c[D>>2];c[i+4>>2]=c[D+4>>2];c[i+8>>2]=c[D+8>>2];c[i+12>>2]=c[D+12>>2];j=j+16|0;i=i+-16|0}while(j>>>0>>0)}if(g>>>0>>0)do{c[D>>2]=c[g>>2];c[D+4>>2]=c[g+4>>2];c[D+8>>2]=c[g+8>>2];c[D+12>>2]=c[g+12>>2];c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[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];g=g+16|0;h=h+-16|0}while(g>>>0>>0);f=m;l=F;return f|0}case 13:{c[f>>2]=g+8;f=b[g+4>>1]|0;g=f&65535;h=c[A>>2]|0;if(!(f<<16>>16))g=h+(g<<4)|0;else{g=(c[c[t>>2]>>2]|0)+(g<<4)|0;g=g>>>0>>0?g:316088};c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>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0;CQ(g|0,c[B>>2]|0,c[r>>2]|0)|0;if((c[B>>2]|0)!=(t|0)){i=c[A>>2]|0;h=i+-16|0;i=i+-32|0;do{c[D>>2]=c[i>>2];c[D+4>>2]=c[i+4>>2];c[D+8>>2]=c[i+8>>2];c[D+12>>2]=c[i+12>>2];c[i>>2]=c[h>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];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];i=i+16|0;h=h+-16|0}while(i>>>0>>0);c[A>>2]=(c[A>>2]|0)+-16}c[B>>2]=g;c[q>>2]=j;h=c[r>>2]|0}else{g=t;h=0}CQ(g+h|0,o|0,k|0)|0;i=(c[r>>2]|0)+k|0;c[r>>2]=i}c[f>>2]=(c[f>>2]|0)+8;g=c[s>>2]|0;h=c[B>>2]|0;if((c[(c[g+12>>2]|0)+12>>2]|0)>0)Ew(g);f=jx(g,h,i)|0;i=g+8|0;g=c[i>>2]|0;c[g>>2]=f;c[g+8>>2]=(a[f+4>>0]|64)&255;g=c[i>>2]|0;c[i>>2]=g+16;if((c[B>>2]|0)!=(t|0)){h=g;g=g+-16|0;do{c[D>>2]=c[g>>2];c[D+4>>2]=c[g+4>>2];c[D+8>>2]=c[g+8>>2];c[D+12>>2]=c[g+12>>2];c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[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];g=g+16|0;h=h+-16|0}while(g>>>0>>0);c[i>>2]=(c[i>>2]|0)+-16}f=1;l=F;return f|0}case 14:{if(b[g+4>>1]|0){if(!(a[g+7>>0]|0)){i=0;while(1){h=g+8|0;if(!(a[g+14>>0]|0))if(!i){g=h;break}else{g=h;i=i+-1|0;continue}else{E=((a[g+15>>0]|0)==0&1)+i|0;g=h;i=E;continue}}}c[f>>2]=g+8;f=0;l=F;return f|0}h=g+8|0;c[f>>2]=h;i=a[g+7>>0]|0;if(i<<24>>24){h=c[E>>2]|0;g=c[g>>2]|0;if((c[(c[h+12>>2]|0)+12>>2]|0)>0)Ew(h);D=jx(h,g,(i&255)+-1|0)|0;f=h+8|0;E=c[f>>2]|0;c[E>>2]=D;c[E+8>>2]=(a[D+4>>0]|64)&255;c[f>>2]=(c[f>>2]|0)+16;f=1;l=F;return f|0}if(a[g+14>>0]|0){i=0;do{i=(VB(f)|0)+i|0;h=c[f>>2]|0}while((a[h+6>>0]|0)!=0);if(!i){j=h;C=91}else g=i}else{j=h;C=91}if((C|0)==91){i=c[E>>2]|0;h=c[g>>2]|0;g=(c[j>>2]|0)-h|0;if((c[(c[i+12>>2]|0)+12>>2]|0)>0)Ew(i);E=jx(i,h,g)|0;h=i+8|0;g=c[h>>2]|0;c[g>>2]=E;c[g+8>>2]=(a[E+4>>0]|64)&255;c[h>>2]=(c[h>>2]|0)+16;h=c[f>>2]|0;g=1}c[f>>2]=h+8;f=g;l=F;return f|0}case 3:{n=f+12|0;Jv(c[E>>2]|0,(c[n>>2]|0)+3|0,e[g+4>>1]|0,0)|0;q=c[E>>2]|0;o=f+4|0;h=c[o>>2]|0;p=q+8|0;a:do if(h>>>0>>0){i=g;while(1){k=i+-8|0;j=a[i+-2>>0]|0;if(j<<24>>24){if(a[i+-1>>0]|0)C=108}else{m=0;while(1){i=k;while(1){k=i+-8|0;j=a[i+-2>>0]|0;if(!(j<<24>>24)){C=104;break}if(!(a[i+-1>>0]|0)){C=106;break}else i=k}if((C|0)==104){m=m+1|0;continue}else if((C|0)==106)if(!m){C=108;break}else{m=m+-1|0;continue}}}if((C|0)==108){C=0;if(j<<24>>24==14){Jv(c[E>>2]|0,(c[n>>2]|0)+3|0,e[i+-4>>1]|0,0)|0;h=c[p>>2]|0;i=h+-32|0;j=h+-16|0;if((i|0)!=316088&(j|0)!=316088){D=(Ax(q,i,j)|0)==0;h=c[p>>2]|0;if(!D)break}c[p>>2]=h+-16;h=c[o>>2]|0}}if(k>>>0>h>>>0)i=k;else{C=114;break a}}c[p>>2]=h+-32}else C=114;while(0);if((C|0)==114){h=c[p>>2]|0;switch(c[h+-8>>2]&15){case 4:{h=h+-16|0;C=118;break}case 3:{if((c[(c[q+12>>2]|0)+12>>2]|0)>0){Ew(q);h=c[p>>2]|0}h=h+-16|0;Jw(q,h);C=118;break}default:h=0}if((C|0)==118)h=(c[h>>2]|0)+16|0;c[v>>2]=h;Ix(q,287769,v);k=0}h=k+8|0;c[f>>2]=h;j=a[k+7>>0]|0;if(!(j<<24>>24)){if(a[k+14>>0]|0){h=0;do{h=(VB(f)|0)+h|0;i=c[f>>2]|0}while((a[i+6>>0]|0)!=0);if(!h){h=i;C=127}}else C=127;if((C|0)==127){j=c[E>>2]|0;i=c[k>>2]|0;h=(c[h>>2]|0)-i|0;if((c[(c[j+12>>2]|0)+12>>2]|0)>0)Ew(j);E=jx(j,i,h)|0;i=j+8|0;h=c[i>>2]|0;c[h>>2]=E;c[h+8>>2]=(a[E+4>>0]|64)&255;c[i>>2]=(c[i>>2]|0)+16;i=c[f>>2]|0;h=1}c[f>>2]=i+8}else{i=c[E>>2]|0;h=c[k>>2]|0;if((c[(c[i+12>>2]|0)+12>>2]|0)>0)Ew(i);D=jx(i,h,(j&255)+-1|0)|0;h=i+8|0;E=c[h>>2]|0;c[E>>2]=D;c[E+8>>2]=(a[D+4>>0]|64)&255;c[h>>2]=(c[h>>2]|0)+16;h=1}c[f>>2]=g+8;f=h;l=F;return f|0}case 6:{n=c[E>>2]|0;if((c[(c[n+12>>2]|0)+12>>2]|0)>0)Ew(n);C=px(n)|0;o=n+8|0;D=c[o>>2]|0;c[D>>2]=C;c[D+8>>2]=69;c[o>>2]=(c[o>>2]|0)+16;D=c[f>>2]|0;c[f>>2]=D+8;if(a[D+7>>0]|0){f=1;l=F;return f|0}p=f+12|0;q=0;b:while(1){c:while(1){g=c[f>>2]|0;switch(a[g+6>>0]|0){case 0:break b;case 14:break;default:break c}g=b[g+4>>1]|0;if(!(g<<16>>16))break;Jv(c[E>>2]|0,(c[p>>2]|0)+3|0,g&65535,0)|0;j=c[f>>2]|0;g=j+8|0;c[f>>2]=g;i=a[j+7>>0]|0;do if(!(i<<24>>24)){if(a[j+14>>0]|0){i=0;do{i=(VB(f)|0)+i|0;g=c[f>>2]|0}while((a[g+6>>0]|0)!=0);if(i){c[f>>2]=g+8;if((i|0)<=1)break;g=c[E>>2]|0;j=0-i|0;if((j|0)<=-1){D=g+8|0;c[D>>2]=(c[D>>2]|0)+(1-i<<4);break}h=c[c[g+16>>2]>>2]|0;k=g+8|0;m=c[k>>2]|0;i=h+(1-i<<4)|0;if(m>>>0>>0){g=(h+(j<<4)+8+4+(3-m)|0)>>>4;h=m;do{c[h+8>>2]=0;h=h+16|0}while(h>>>0>>0);c[k>>2]=m+(g+1<<4)}c[k>>2]=i;break}}i=c[E>>2]|0;h=c[j>>2]|0;g=(c[g>>2]|0)-h|0;if((c[(c[i+12>>2]|0)+12>>2]|0)>0)Ew(i);B=jx(i,h,g)|0;D=i+8|0;C=c[D>>2]|0;c[C>>2]=B;c[C+8>>2]=(a[B+4>>0]|64)&255;c[D>>2]=(c[D>>2]|0)+16;c[f>>2]=(c[f>>2]|0)+8}else{h=c[E>>2]|0;g=c[j>>2]|0;if((c[(c[h+12>>2]|0)+12>>2]|0)>0)Ew(h);B=jx(h,g,(i&255)+-1|0)|0;D=h+8|0;C=c[D>>2]|0;c[C>>2]=B;c[C+8>>2]=(a[B+4>>0]|64)&255;c[D>>2]=(c[D>>2]|0)+16}while(0);D=c[o>>2]|0;xx(n,D+-48|0,D+-32|0,D+-16|0);c[o>>2]=(c[o>>2]|0)+-32}g=VB(f)|0;if((g|0)>0){h=g;while(1){D=h+q|0;Nv(n,~h,D,((D|0)<0)<<31>>31);if((h|0)>1)h=h+-1|0;else break}}q=g+q|0}c[f>>2]=g+8;f=1;l=F;return f|0}case 7:{j=c[E>>2]|0;m=(c[j+8>>2]|0)-((c[c[j+16>>2]>>2]|0)+16)>>4;Jv(j,(c[f+12>>2]|0)+3|0,e[g+4>>1]|0,0)|0;j=c[f>>2]|0;g=j+8|0;c[f>>2]=g;i=a[j+7>>0]|0;if(!(i<<24>>24)){if(a[j+14>>0]|0){g=0;do{g=(VB(f)|0)+g|0;h=c[f>>2]|0}while((a[h+6>>0]|0)!=0);if(!g){g=h;C=169}}else C=169;if((C|0)==169){i=c[E>>2]|0;h=c[j>>2]|0;g=(c[g>>2]|0)-h|0;if((c[(c[i+12>>2]|0)+12>>2]|0)>0)Ew(i);D=jx(i,h,g)|0;h=i+8|0;g=c[h>>2]|0;c[g>>2]=D;c[g+8>>2]=(a[D+4>>0]|64)&255;c[h>>2]=(c[h>>2]|0)+16;h=c[f>>2]|0;g=1}c[f>>2]=h+8}else{h=c[E>>2]|0;g=c[j>>2]|0;if((c[(c[h+12>>2]|0)+12>>2]|0)>0)Ew(h);D=jx(h,g,(i&255)+-1|0)|0;g=h+8|0;f=c[g>>2]|0;c[f>>2]=D;c[f+8>>2]=(a[D+4>>0]|64)&255;c[g>>2]=(c[g>>2]|0)+16;g=1}j=c[E>>2]|0;k=j+8|0;h=(c[k>>2]|0)+(~g<<4)|0;i=j+106|0;g=(b[i>>1]|0)+1<<16>>16;b[i>>1]=g;if((g&65535)>199){if(g<<16>>16==200)_v(j,279702,u);if((g&65535)>224)cw(j,6)}g=j+104|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;if(!(gw(j,h,-1)|0))Ex(j);b[g>>1]=(b[g>>1]|0)+-1<<16>>16;b[i>>1]=(b[i>>1]|0)+-1<<16>>16;h=(c[j+16>>2]|0)+4|0;g=c[k>>2]|0;if((c[h>>2]|0)>>>0>>0)c[h>>2]=g;f=c[E>>2]|0;f=((c[f+8>>2]|0)-((c[c[f+16>>2]>>2]|0)+16)>>4)-m|0;l=F;return f|0}case 10:{D=b[g+4>>1]|0;k=D&65535;if(!(D<<16>>16)){if(!(a[g+7>>0]|0)){i=0;while(1){h=g+8|0;if(!(a[g+14>>0]|0))if(!i){g=h;break}else{g=h;i=i+-1|0;continue}else{E=((a[g+15>>0]|0)==0&1)+i|0;g=h;i=E;continue}}}c[f>>2]=g+8;f=0;l=F;return f|0}h=g+8|0;c[f>>2]=h;i=a[g+7>>0]|0;if(!(i<<24>>24)){if(a[g+14>>0]|0){i=0;do{i=(VB(f)|0)+i|0;h=c[f>>2]|0}while((a[h+6>>0]|0)!=0);if(!i)C=196;else g=i}else C=196;if((C|0)==196){j=c[E>>2]|0;i=c[g>>2]|0;g=(c[h>>2]|0)-i|0;if((c[(c[j+12>>2]|0)+12>>2]|0)>0)Ew(j);D=jx(j,i,g)|0;h=j+8|0;g=c[h>>2]|0;c[g>>2]=D;c[g+8>>2]=(a[D+4>>0]|64)&255;c[h>>2]=(c[h>>2]|0)+16;h=c[f>>2]|0;g=1}c[f>>2]=h+8;n=g}else{h=c[E>>2]|0;g=c[g>>2]|0;if((c[(c[h+12>>2]|0)+12>>2]|0)>0)Ew(h);D=jx(h,g,(i&255)+-1|0)|0;n=h+8|0;f=c[n>>2]|0;c[f>>2]=D;c[f+8>>2]=(a[D+4>>0]|64)&255;c[n>>2]=(c[n>>2]|0)+16;n=1}j=c[E>>2]|0;if((n|0)<(k|0)){c[s>>2]=k;Ix(j,287799,s);f=0;l=F;return f|0}i=n-k|0;g=~i;k=j+8|0;m=c[k>>2]|0;h=c[j+16>>2]|0;do if((i|0)>=-1){if((i|0)<=1000998){g=m+(g<<4)|0;break}if((i|0)==1000999){g=(c[j+12>>2]|0)+40|0;break}g=c[h>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(i+-1000999|0)>(d[g+6>>0]|0)?316088:g+16+(i+-1001e3<<4)|0}}else{g=(c[h>>2]|0)+(g<<4)|0;g=g>>>0>>0?g:316088}while(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[k>>2]=(c[k>>2]|0)+16;Dv(c[E>>2]|0,~n);g=c[E>>2]|0;j=g+8|0;k=(c[j>>2]|0)+-16|0;c[j>>2]=k;h=0-n|0;if((h|0)<=-1){c[j>>2]=k+(1-n<<4);f=1;l=F;return f|0}g=c[c[g+16>>2]>>2]|0;i=g+(1-n<<4)|0;if(k>>>0>>0){g=(g+(h<<4)+8+4+(3-k)|0)>>>4;h=k;do{c[h+8>>2]=0;h=h+16|0}while(h>>>0>>0);c[j>>2]=k+(g+1<<4)}c[j>>2]=i;f=1;l=F;return f|0}case 8:{n=b[g+4>>1]|0;o=n&65535;h=g+8|0;c[f>>2]=h;i=a[g+7>>0]|0;do if(!(i<<24>>24)){if(a[g+14>>0]|0){i=0;do{i=(VB(f)|0)+i|0;h=c[f>>2]|0}while((a[h+6>>0]|0)!=0);if(i){c[f>>2]=h+8;if((i|0)<=1)break;g=c[E>>2]|0;j=0-i|0;if((j|0)<=-1){D=g+8|0;c[D>>2]=(c[D>>2]|0)+(1-i<<4);break}h=c[c[g+16>>2]>>2]|0;k=g+8|0;m=c[k>>2]|0;i=h+(1-i<<4)|0;if(m>>>0>>0){g=(h+(j<<4)+8+4+(3-m)|0)>>>4;h=m;do{c[h+8>>2]=0;h=h+16|0}while(h>>>0>>0);c[k>>2]=m+(g+1<<4)}c[k>>2]=i;break}}j=c[E>>2]|0;i=c[g>>2]|0;g=(c[h>>2]|0)-i|0;if((c[(c[j+12>>2]|0)+12>>2]|0)>0)Ew(j);B=jx(j,i,g)|0;D=j+8|0;C=c[D>>2]|0;c[C>>2]=B;c[C+8>>2]=(a[B+4>>0]|64)&255;c[D>>2]=(c[D>>2]|0)+16;c[f>>2]=(c[f>>2]|0)+8}else{h=c[E>>2]|0;g=c[g>>2]|0;if((c[(c[h+12>>2]|0)+12>>2]|0)>0)Ew(h);B=jx(h,g,(i&255)+-1|0)|0;D=h+8|0;C=c[D>>2]|0;c[C>>2]=B;c[C+8>>2]=(a[B+4>>0]|64)&255;c[D>>2]=(c[D>>2]|0)+16}while(0);j=c[E>>2]|0;h=c[f+12>>2]|0;i=h+1|0;g=f+20|0;if((c[g>>2]|0)!=(o|0)){Jv(j,h+3|0,n&65535,0)|0;Dv(c[E>>2]|0,i);f=(c[E>>2]|0)+8|0;c[f>>2]=(c[f>>2]|0)+-16;c[g>>2]=o}g=c[j+16>>2]|0;do if((h|0)<=-1){if((i|0)>=-1000999){g=(c[j+8>>2]|0)+(i<<4)|0;break}if((i|0)==-1001e3){g=(c[j+12>>2]|0)+40|0;break}h=-1001001-h|0;g=c[g>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(h|0)>(d[g+6>>0]|0)?316088:g+16+(h+-1<<4)|0}}else{g=(c[g>>2]|0)+(i<<4)|0;g=g>>>0<(c[j+8>>2]|0)>>>0?g:316088}while(0);h=(c[j+8>>2]|0)+-16|0;wx(j,g,h,h);g=(c[E>>2]|0)+8|0;h=c[g>>2]|0;i=h+-16|0;if((i|0)==316088){f=1;l=F;return f|0}if(c[h+-8>>2]&15|0){f=1;l=F;return f|0}c[g>>2]=i;f=0;l=F;return f|0}case 12:{u=c[E>>2]|0;m=b[g+4>>1]|0;t=m&65535;c[f>>2]=g+8;if(((a[g+7>>0]|0)==0?a[g+14>>0]|0:0)?(r=VB(f)|0,r|0):0){do if((r|0)>1){g=0-r|0;if((g|0)<=-1){C=u+8|0;c[C>>2]=(c[C>>2]|0)+(1-r<<4);break}h=c[c[u+16>>2]>>2]|0;j=u+8|0;k=c[j>>2]|0;i=h+(1-r<<4)|0;if(k>>>0>>0){g=(h+(g<<4)+8+4+(3-k)|0)>>>4;h=k;do{c[h+8>>2]=0;h=h+16|0}while(h>>>0>>0);c[j>>2]=k+(g+1<<4)}c[j>>2]=i}while(0);g=c[f>>2]|0;d:do if(a[g+6>>0]|0){r=f+12|0;s=f+20|0;k=m&65535;m=u+8|0;n=u+16|0;o=u+106|0;p=u+104|0;q=u+12|0;while(1){g=c[r>>2]|0;h=g+1|0;if((c[s>>2]|0)!=(t|0)){Jv(c[E>>2]|0,g+3|0,k,0)|0;Dv(c[E>>2]|0,h);C=(c[E>>2]|0)+8|0;c[C>>2]=(c[C>>2]|0)+-16;c[s>>2]=t}j=c[m>>2]|0;i=c[n>>2]|0;do if((g|0)<=-1){if((h|0)>=-1000999){g=j+(h<<4)|0;break}if((h|0)==-1001e3){g=(c[q>>2]|0)+40|0;break}h=-1001001-g|0;g=c[i>>2]|0;if((c[g+8>>2]|0)==22)g=316088;else{g=c[g>>2]|0;g=(h|0)>(d[g+6>>0]|0)?316088:g+16+(h+-1<<4)|0}}else{g=(c[i>>2]|0)+(h<<4)|0;g=g>>>0>>0?g:316088}while(0);c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];h=c[m>>2]|0;c[m>>2]=h+16;g=h;h=h+-16|0;do{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[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[g>>2]=c[D>>2];c[g+4>>2]=c[D+4>>2];c[g+8>>2]=c[D+8>>2];c[g+12>>2]=c[D+12>>2];h=h+16|0;g=g+-16|0}while(h>>>0>>0);g=VB(f)|0;g=(c[m>>2]|0)+(-2-g<<4)|0;h=(b[o>>1]|0)+1<<16>>16;b[o>>1]=h;if((h&65535)>199){if(h<<16>>16==200){C=276;break}if((h&65535)>224){C=278;break}}b[p>>1]=(b[p>>1]|0)+1<<16>>16;if(!(gw(u,g,1)|0))Ex(u);b[p>>1]=(b[p>>1]|0)+-1<<16>>16;b[o>>1]=(b[o>>1]|0)+-1<<16>>16;g=c[f>>2]|0;if(!(a[g+6>>0]|0)){w=g;break d}}if((C|0)==276)_v(u,279702,x);else if((C|0)==278)cw(u,6)}else w=g;while(0);c[f>>2]=w+8;f=1;l=F;return f|0}Ix(u,287815,q);f=0;l=F;return f|0}default:{f=0;l=F;return f|0}}while(0);return 0}function WB(d,e){d=d|0;e=e|0;var 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;u=l;l=l+144|0;t=u+8|0;s=u;q=u+16|0;r=u+12|0;p=e+8|0;f=c[p>>2]|0;g=b[(c[e>>2]|0)+4>>1]|0;h=g&65535;i=c[e+12>>2]|0;j=i+1|0;k=e+20|0;if((c[k>>2]|0)!=(h|0)){Jv(f,i+3|0,g&65535,0)|0;Dv(c[p>>2]|0,j);o=(c[p>>2]|0)+8|0;c[o>>2]=(c[o>>2]|0)+-16;c[k>>2]=h}k=Fv(f,j,r)|0;m=YB(e,q,0)|0;if(!(c[r>>2]|0)){l=u;return}n=d+8|0;o=d+4|0;f=0;do{i=k+f|0;g=a[i>>0]|0;do if(g<<24>>24==37){f=f+1|0;j=k+f|0;g=a[j>>0]|0;i=g<<24>>24;if((g+-48&255)>9){h=c[n>>2]|0;if(h>>>0>=(c[o>>2]|0)>>>0){Ox(d,1)|0;h=c[n>>2]|0;g=a[j>>0]|0}c[n>>2]=h+1;a[(c[d>>2]|0)+h>>0]=g;break}h=i+-48|0;if((i+-47|0)>(m|0)){j=c[p>>2]|0;c[s>>2]=h;Ix(j,287873,s);break}if(c[q+(h*12|0)>>2]|0){i=c[q+(h*12|0)+4>>2]|0;j=(c[q+(h*12|0)+8>>2]|0)-i|0;CQ(Ox(d,j)|0,i|0,j|0)|0;c[n>>2]=(c[n>>2]|0)+j;break}g=c[e>>2]|0;c[e>>2]=c[q+(h*12|0)+4>>2];if(!(XB(d,e,287900)|0)){j=c[p>>2]|0;c[t>>2]=h;Ix(j,287908,t)}c[e>>2]=g}else{h=c[n>>2]|0;if(h>>>0>=(c[o>>2]|0)>>>0){Ox(d,1)|0;h=c[n>>2]|0;g=a[i>>0]|0}c[n>>2]=h+1;a[(c[d>>2]|0)+h>>0]=g}while(0);f=f+1|0}while(f>>>0<(c[r>>2]|0)>>>0);l=u;return}function XB(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;n=o;i=c[e>>2]|0;switch(a[i+6>>0]|0){case 9:{WB(b,e);b=1;l=o;return b|0}case 11:{h=c[i>>2]|0;g=a[i+7>>0]|0;if(!(g<<24>>24)){g=i+8|0;c[e>>2]=g;f=(a[i+14>>0]|0)==0;g=c[g>>2]|0;n=g-h|0;CQ(Ox(b,n)|0,h|0,n|0)|0;j=b+8|0;c[j>>2]=(c[j>>2]|0)+n;if(!f)do{f=(XB(b,e,287757)|0)==0;h=c[e>>2]|0;if(f)i=g;else i=(c[h+-8>>2]|0)+((d[h+-1>>0]|0)+-1)|0;f=(a[h+6>>0]|0)==0;g=c[h>>2]|0;n=g-i|0;CQ(Ox(b,n)|0,i|0,n|0)|0;c[j>>2]=(c[j>>2]|0)+n}while(!f)}else{f=(g&255)+-1|0;CQ(Ox(b,f)|0,h|0,f|0)|0;b=b+8|0;c[b>>2]=(c[b>>2]|0)+f}c[e>>2]=(c[e>>2]|0)+8;b=1;l=o;return b|0}default:{m=c[e+8>>2]|0;k=VB(e)|0;if((k|0)<=0){b=k;l=o;return b|0}do if((k|0)==1)g=c[m+8>>2]|0;else{h=0-k|0;if((h|0)<=-1){e=m+8|0;g=(c[e>>2]|0)+(1-k<<4)|0;c[e>>2]=g;break}i=c[c[m+16>>2]>>2]|0;j=m+8|0;e=c[j>>2]|0;g=i+(1-k<<4)|0;if(e>>>0>>0){h=(i+(h<<4)+8+4+(3-e)|0)>>>4;i=e;do{c[i+8>>2]=0;i=i+16|0}while(i>>>0>>0);c[j>>2]=e+(h+1<<4)}c[j>>2]=g}while(0);h=c[g+-8>>2]&15;if((h+-3|0)>>>0>=2){e=c[5104+(((g+-16|0)==316088?0:h+1|0)<<2)>>2]|0;c[n>>2]=f;c[n+4>>2]=e;Ix(m,287849,n)}Px(b);b=k;l=o;return b|0}}return 0}function YB(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=e+1|0;c[d+(e*12|0)>>2]=1;i=c[b>>2]|0;c[d+(e*12|0)+4>>2]=c[i>>2];f=i+8|0;c[b>>2]=f;if(a[i+7>>0]|0){b=g;i=f;h=i+-8|0;h=c[h>>2]|0;i=i+-1|0;i=a[i>>0]|0;i=i&255;i=i+-1|0;i=h+i|0;e=d+(e*12|0)+8|0;c[e>>2]=i;return b|0}h=a[f+6>>0]|0;a:do if(h<<24>>24){i=f;while(1){if((g|0)>9)break;if(h<<24>>24==5){g=YB(b,d,g)|0;f=c[b>>2]|0}else{c[d+(g*12|0)>>2]=0;c[d+(g*12|0)+4>>2]=i;f=c[b>>2]|0;if(!(a[f+7>>0]|0)){i=0;while(1){h=f+8|0;if(!(a[f+14>>0]|0))if(!i){f=h;break}else{f=h;i=i+-1|0;continue}else{j=((a[f+15>>0]|0)==0&1)+i|0;f=h;i=j;continue}}}f=f+8|0;c[b>>2]=f;g=g+1|0}h=a[f+6>>0]|0;if(!(h<<24>>24))break a;else i=f}do{if(!(a[f+7>>0]|0)){i=0;while(1){h=f+8|0;if(!(a[f+14>>0]|0))if(!i)break;else{f=h;i=i+-1|0;continue}else{j=((a[f+15>>0]|0)==0&1)+i|0;f=h;i=j;continue}}}else h=f;f=h+8|0}while((a[h+14>>0]|0)!=0);c[b>>2]=f}while(0);i=f+8|0;c[b>>2]=i;j=g;b=i;i=b+-8|0;i=c[i>>2]|0;b=b+-1|0;b=a[b>>0]|0;b=b&255;b=b+-1|0;b=i+b|0;e=d+(e*12|0)+8|0;c[e>>2]=b;return j|0}function ZB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=TM(76)|0;if(!g){if(!d){b=0;return b|0}c[d>>2]=7;b=0;return b|0}e=g;f=e+76|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));e=TM(24908)|0;if(!e){UM(g);if(!d){b=0;return b|0}c[d>>2]=7;b=0;return b|0}EQ(e|0,0,24908)|0;f=TM(32768)|0;if(f|0){EQ(f|0,-1,32768)|0;c[e+24900>>2]=f;c[g+72>>2]=e;c[e+4>>2]=0;c[e+56>>2]=0;c[e>>2]=1;c[e+64>>2]=20;c[g+68>>2]=b;a[e+24904>>0]=0;c[g+64>>2]=0;b=g;return b|0}c[e+24900>>2]=0;UM(g);UM(e);if(!d){b=0;return b|0}c[d>>2]=7;b=0;return b|0}function _B(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+16|0;r=v+4|0;s=v;t=b+72|0;u=c[t>>2]|0;h=c[u>>2]|0;if(h&2|0){c[b+64>>2]=3;b=0;l=v;return b|0}if(!(h&1)){c[b+64>>2]=10;b=0;l=v;return b|0}i=c[b+24>>2]|0;if((i|0)>0){j=c[b+52>>2]|0;k=u+24904|0;n=0;do{m=c[j+(n*36|0)+28>>2]|0;a:do if((m|0)>0){h=c[j+(n*36|0)+32>>2]|0;o=0;while(1){switch(c[h+(o*12|0)+8>>2]|0){case 1:case 249:case 254:case 255:{a[k>>0]=1;break}default:{}}o=o+1|0;if((o|0)==(m|0))break a}}while(0);n=n+1|0}while((n|0)!=(i|0))}i=c[b+56>>2]|0;b:do if((i|0)>0){j=c[b+60>>2]|0;h=u+24904|0;k=0;while(1){switch(c[j+(k*12|0)+8>>2]|0){case 1:case 249:case 254:case 255:{a[h>>0]=1;break}default:{}}k=k+1|0;if((k|0)==(i|0))break b}}else h=u+24904|0;while(0);h=(a[h>>0]|0)==0?287938:287945;i=c[u+64>>2]|0;if(!i)h=YO(h,1,6,c[u+56>>2]|0)|0;else h=ig[i&63](b,h,6)|0;if((h|0)!=6){c[b+64>>2]=2;b=0;l=v;return b|0}c[b>>2]=d;c[b+4>>2]=e;c[b+8>>2]=f;c[b+12>>2]=0;p=(g|0)!=0;c:do if(p){j=c[g>>2]|0;k=c[g+12>>2]|0;i=1;while(1){h=1<>>0>65535)h=((h>>>0)/(j>>>0)|0|0)==3?h:-1}else h=0;i=TM(h)|0;if(!i){UM(q);break}if(c[i+-4>>2]&3|0)EQ(i|0,0,h|0)|0;c[q+12>>2]=i;c[q>>2]=j;h=1;while(1)if((h|0)<9&(1<>2]=h;a[q+8>>0]=0;if(k|0)CQ(i|0,k|0,j*3|0)|0;c[b+20>>2]=q;break c}while(0);c[b+20>>2]=0;c[b+64>>2]=7;b=0;l=v;return b|0}else c[b+20>>2]=0;while(0);a[r>>0]=d;j=r+1|0;a[j>>0]=d>>>8;h=c[t>>2]|0;i=c[h+64>>2]|0;if(!i)YO(r,1,2,c[h+56>>2]|0)|0;else ig[i&63](b,r,2)|0;a[r>>0]=e;a[j>>0]=e>>>8;h=c[t>>2]|0;i=c[h+64>>2]|0;if(!i)YO(r,1,2,c[h+56>>2]|0)|0;else ig[i&63](b,r,2)|0;h=(p?128:0)|(f<<4)+240;if(p){h=(c[g+4>>2]|0)+-1|h;a[s>>0]=h;if(!(a[g+8>>0]|0))o=s;else{a[s>>0]=h|8;o=s}}else{a[s>>0]=h|7;o=s}n=s+1|0;a[n>>0]=0;m=s+2|0;a[m>>0]=a[b+16>>0]|0;h=c[t>>2]|0;i=c[h+64>>2]|0;if(!i)YO(o,1,3,c[h+56>>2]|0)|0;else ig[i&63](b,o,3)|0;d:do if(p?(c[g>>2]|0)>0:0){j=g+12|0;k=0;while(1){h=c[j>>2]|0;a[o>>0]=a[h+(k*3|0)>>0]|0;a[n>>0]=a[h+(k*3|0)+1>>0]|0;a[m>>0]=a[h+(k*3|0)+2>>0]|0;h=c[t>>2]|0;i=c[h+64>>2]|0;if(!i)h=YO(o,1,3,c[h+56>>2]|0)|0;else h=ig[i&63](b,o,3)|0;k=k+1|0;if((h|0)!=3)break;if((k|0)>=(c[g>>2]|0))break d}c[b+64>>2]=2;b=0;l=v;return b|0}while(0);c[u>>2]=c[u>>2]|2;b=1;l=v;return b|0}function $B(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+16|0;r=t+4|0;n=t;p=b+72|0;q=c[p>>2]|0;g=c[q>>2]|0;if(g&4|0?(c[q+52>>2]|0)>>>0>4294901760:0){c[b+64>>2]=4;s=0;l=t;return s|0}if(!(g&1)){c[b+64>>2]=10;s=0;l=t;return s|0}c[b+28>>2]=0;c[b+32>>2]=0;c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=0;m=(f|0)!=0;o=b+48|0;a:do if(m){g=c[o>>2]|0;if(g|0){UM(c[g+12>>2]|0);UM(g);c[o>>2]=0}i=c[f>>2]|0;j=c[f+12>>2]|0;h=1;while(1){g=1<>>0>65535)g=((g>>>0)/(i>>>0)|0|0)==3?g:-1}else g=0;h=TM(g)|0;if(!h){UM(k);break}if(c[h+-4>>2]&3|0)EQ(h|0,0,g|0)|0;c[k+12>>2]=h;c[k>>2]=i;g=1;while(1)if((g|0)<9&(1<>2]=g;a[k+8>>0]=0;if(j|0)CQ(h|0,j|0,i*3|0)|0;c[o>>2]=k;g=c[p>>2]|0;break a}while(0);c[o>>2]=0;c[b+64>>2]=7;s=0;l=t;return s|0}else{c[o>>2]=0;g=q}while(0);a[n>>0]=44;h=c[g+64>>2]|0;if(!h)WP(44,c[g+56>>2]|0);else ig[h&63](b,n,1)|0;a[r>>0]=0;i=r+1|0;a[i>>0]=0;g=c[p>>2]|0;h=c[g+64>>2]|0;if(!h)YO(r,1,2,c[g+56>>2]|0)|0;else ig[h&63](b,r,2)|0;a[r>>0]=0;a[i>>0]=0;g=c[p>>2]|0;h=c[g+64>>2]|0;if(!h)YO(r,1,2,c[g+56>>2]|0)|0;else ig[h&63](b,r,2)|0;a[r>>0]=d;a[i>>0]=d>>>8;g=c[p>>2]|0;h=c[g+64>>2]|0;if(!h)YO(r,1,2,c[g+56>>2]|0)|0;else ig[h&63](b,r,2)|0;a[r>>0]=e;a[i>>0]=e>>>8;g=c[p>>2]|0;h=c[g+64>>2]|0;if(!h)YO(r,1,2,c[g+56>>2]|0)|0;else ig[h&63](b,r,2)|0;i=m?128:0;b:do if(m){g=(c[f+4>>2]|0)+255|i;a[n>>0]=g;h=c[p>>2]|0;i=c[h+64>>2]|0;if(!i)WP(g<<24>>24,c[h+56>>2]|0);else ig[i&63](b,n,1)|0;if((c[f>>2]|0)>0){i=f+12|0;j=n+1|0;k=n+2|0;m=0;while(1){g=c[i>>2]|0;a[n>>0]=a[g+(m*3|0)>>0]|0;a[j>>0]=a[g+(m*3|0)+1>>0]|0;a[k>>0]=a[g+(m*3|0)+2>>0]|0;g=c[p>>2]|0;h=c[g+64>>2]|0;if(!h)g=YO(n,1,3,c[g+56>>2]|0)|0;else g=ig[h&63](b,n,3)|0;m=m+1|0;if((g|0)!=3)break;if((m|0)>=(c[f>>2]|0))break b}c[b+64>>2]=2;s=0;l=t;return s|0}}else{a[n>>0]=i;g=c[p>>2]|0;h=c[g+64>>2]|0;if(!h){WP(i<<24>>24,c[g+56>>2]|0);break}else{ig[h&63](b,n,1)|0;break}}while(0);j=c[b+20>>2]|0;k=(j|0)==0;h=c[o>>2]|0;if(k&(h|0)==0){c[b+64>>2]=5;s=0;l=t;return s|0}c[q>>2]=c[q>>2]|4;c[q+52>>2]=O(e,d)|0;i=c[p>>2]|0;g=(h|0)!=0;if(g|k^1){g=c[(g?h:j)+4>>2]|0;g=(g|0)>2?g:2;a[r>>0]=g;h=c[i+64>>2]|0;if(!h)WP(g<<24>>24,c[i+56>>2]|0);else ig[h&63](b,r,1)|0;a[i+68>>0]=0;c[i+8>>2]=g;d=1<>2]=d;c[i+16>>2]=d+1;c[i+20>>2]=d+2;c[i+24>>2]=g+1;c[i+28>>2]=2<>2]=4097;c[i+44>>2]=0;c[i+48>>2]=0;EQ(c[i+24900>>2]|0,-1,32768)|0;if(!(aC(b,c[r>>2]|0)|0)){g=8;s=64}}else{g=5;s=64}if((s|0)==64)c[b+64>>2]=g;s=1;l=t;return s|0}function aC(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;j=b+72|0;m=c[j>>2]|0;k=m+44|0;g=c[k>>2]|0;do if((e|0)==4096){l=m+68|0;if((g|0)>0){f=m+48|0;h=c[f>>2]|0;g=1;do{i=(bC(b,l,h&255)|0)==0;g=i?0:g;h=(c[f>>2]|0)>>>8;c[f>>2]=h;i=c[k>>2]|0;c[k>>2]=i+-8}while((i|0)>8)}else g=1;c[k>>2]=0;f=a[l>>0]|0;if(f<<24>>24){f=(f&255)+1|0;h=c[j>>2]|0;i=c[h+64>>2]|0;if(!i)f=YO(l,1,f,c[h+56>>2]|0)|0;else f=ig[i&63](b,l,f)|0;if((f|0)!=((d[l>>0]|0)+1|0)){c[b+64>>2]=2;g=0;break}}a[l>>0]=0;f=c[j>>2]|0;h=c[f+64>>2]|0;if(!h)f=YO(l,1,1,c[f+56>>2]|0)|0;else f=ig[h&63](b,l,1)|0;if((f|0)!=1){c[b+64>>2]=2;g=0}}else{i=m+48|0;f=c[i>>2]|e<>2]=f;l=g+(c[m+24>>2]|0)|0;c[k>>2]=l;if((l|0)>7){h=m+68|0;g=1;do{l=(bC(b,h,f&255)|0)==0;g=l?0:g;f=(c[i>>2]|0)>>>8;c[i>>2]=f;l=(c[k>>2]|0)+-8|0;c[k>>2]=l}while((l|0)>7)}else g=1}while(0);f=m+28|0;if(!((e|0)<4096?(c[m+20>>2]|0)>=(c[f>>2]|0):0))return g|0;m=m+24|0;e=(c[m>>2]|0)+1|0;c[m>>2]=e;c[f>>2]=1<>0]|0;h=g&255;if((f|0)!=4096){do if(g<<24>>24==-1){g=h+1|0;h=c[b+72>>2]|0;i=c[h+64>>2]|0;if(!i)g=YO(e,1,g,c[h+56>>2]|0)|0;else g=ig[i&63](b,e,g)|0;if((g|0)==((d[e>>0]|0)+1|0)){a[e>>0]=0;g=0;break}c[b+64>>2]=2;b=0;return b|0}while(0);b=g+1<<24>>24;a[e>>0]=b;a[e+(b&255)>>0]=f;b=1;return b|0}if(g<<24>>24){h=h+1|0;g=b+72|0;i=c[g>>2]|0;f=c[i+64>>2]|0;if(!f)h=YO(e,1,h,c[i+56>>2]|0)|0;else h=ig[f&63](b,e,h)|0;if((h|0)!=((d[e>>0]|0)+1|0)){c[b+64>>2]=2;b=0;return b|0}}else g=b+72|0;a[e>>0]=0;g=c[g>>2]|0;h=c[g+64>>2]|0;if(!h)g=YO(e,1,1,c[g+56>>2]|0)|0;else g=ig[h&63](b,e,1)|0;if((g|0)==1){b=1;return b|0}c[b+64>>2]=2;b=0;return b|0}function cC(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;x=b+72|0;h=c[x>>2]|0;if(!(c[h>>2]&1)){c[b+64>>2]=10;b=0;return b|0}if(!f)w=c[b+36>>2]|0;else w=f;g=h+52|0;f=c[g>>2]|0;if(f>>>0>>0){c[b+64>>2]=6;b=0;return b|0}c[g>>2]=f-w;g=a[287952+(c[h+8>>2]|0)>>0]|0;if((w|0)>0){f=0;do{v=e+f|0;a[v>>0]=a[v>>0]&g;f=f+1|0}while((f|0)!=(w|0));h=c[x>>2]|0}u=c[h+24900>>2]|0;v=h+36|0;f=c[v>>2]|0;if((f|0)==4097){f=d[e>>0]|0;g=1}else g=0;a:do if((g|0)<(w|0)){o=h+20|0;p=h+12|0;q=h+16|0;r=h+8|0;s=h+24|0;t=h+28|0;m=f;b:while(1){f=d[e+g>>0]|0;g=g+1|0;n=f|m<<8;l=m>>>4;i=(l^n)&8191;j=c[u+(i<<2)>>2]|0;k=j>>>12;c:do if((k|0)==1048575)y=18;else{while(1){if((k|0)==(n|0))break;i=i+1&8191;j=c[u+(i<<2)>>2]|0;k=j>>>12;if((k|0)==1048575){y=18;break c}}f=j&4095}while(0);do if((y|0)==18){y=0;if(!(aC(b,m)|0)){y=19;break b}k=c[o>>2]|0;if((k|0)>4094){if(!(aC(b,c[p>>2]|0)|0)){y=22;break b}c[o>>2]=(c[q>>2]|0)+1;n=(c[r>>2]|0)+1|0;c[s>>2]=n;c[t>>2]=1<>2]=k+1;i=l&1048575^n;while(1){i=i&8191;j=u+(i<<2)|0;if((c[j>>2]|0)>>>0<4294963200)i=i+1|0;else break}c[j>>2]=k&4095|n<<12}while(0);if((g|0)>=(w|0))break a;else m=f}if((y|0)==19){c[b+64>>2]=8;b=0;return b|0}else if((y|0)==22){c[b+64>>2]=8;b=0;return b|0}}while(0);c[v>>2]=f;if(c[h+52>>2]|0){b=1;return b|0}if(!(aC(b,f)|0)){c[b+64>>2]=8;b=0;return b|0}if(!(aC(b,c[h+16>>2]|0)|0)){c[b+64>>2]=8;b=0;return b|0}f=c[x>>2]|0;i=f+44|0;k=f+68|0;if((c[i>>2]|0)>0){g=f+48|0;h=c[g>>2]|0;f=1;do{e=(bC(b,k,h&255)|0)==0;f=e?0:f;h=(c[g>>2]|0)>>>8;c[g>>2]=h;e=c[i>>2]|0;c[i>>2]=e+-8}while((e|0)>8);j=f}else j=1;c[i>>2]=0;f=a[k>>0]|0;if(f<<24>>24){f=(f&255)+1|0;g=c[x>>2]|0;h=c[g+64>>2]|0;if(!h)f=YO(k,1,f,c[g+56>>2]|0)|0;else f=ig[h&63](b,k,f)|0;if((f|0)!=((d[k>>0]|0)+1|0)){f=b+64|0;c[f>>2]=2}else y=42}else y=42;do if((y|0)==42){a[k>>0]=0;f=c[x>>2]|0;g=c[f+64>>2]|0;if(!g)f=YO(k,1,1,c[f+56>>2]|0)|0;else f=ig[g&63](b,k,1)|0;if((f|0)!=1){f=b+64|0;c[f>>2]=2;break}if(!j){f=b+64|0;break}else{b=1;return b|0}}while(0);c[f>>2]=8;b=0;return b|0}function dC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;f=i;if(!b){l=i;return}g=c[b+72>>2]|0;if(!g){l=i;return}if(!(c[g>>2]&1)){if(d|0)c[d>>2]=10;UM(b);l=i;return}h=c[g+56>>2]|0;a[f>>0]=59;e=c[g+64>>2]|0;if(!e)WP(59,h);else ig[e&63](b,f,1)|0;e=b+48|0;f=c[e>>2]|0;if(f|0){UM(c[f+12>>2]|0);UM(f);c[e>>2]=0}e=b+20|0;f=c[e>>2]|0;if(f|0){UM(c[f+12>>2]|0);UM(f);c[e>>2]=0}e=c[g+24900>>2]|0;if(e|0)UM(e);UM(g);if(h|0?hP(h)|0:0){if(d|0)c[d>>2]=9;UM(b);l=i;return}UM(b);if(!d){l=i;return}c[d>>2]=0;l=i;return}function eC(b,e,f){b=b|0;e=e|0;f=f|0;var 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,A=0,B=0,C=0,D=0;C=l;l=l+16|0;B=C;A=b+72|0;v=c[A>>2]|0;if(!(c[v>>2]&8)){c[b+64>>2]=111;b=0;l=C;return b|0}if(!f)f=c[b+36>>2]|0;z=v+52|0;y=(c[z>>2]|0)-f|0;c[z>>2]=y;if(y>>>0>4294901760){c[b+64>>2]=108;b=0;l=C;return b|0}x=v+40|0;g=c[x>>2]|0;s=v+16|0;t=c[s>>2]|0;u=c[v+12>>2]|0;y=v+32|0;j=c[y>>2]|0;a:do if((g|0)<=4095){b:do if(!g){g=0;h=0}else{i=0;while(1){if((i|0)>=(f|0)){h=i;break b}g=g+-1|0;h=i+1|0;a[e+i>>0]=a[v+324+g>>0]|0;if(!g){g=0;break}else i=h}}while(0);c:do if((h|0)<(f|0)){o=v+20|0;p=v+8|0;q=v+24|0;r=v+28|0;i=j;d:while(1){if(!(fC(b,B)|0))break a;while(1){n=c[B>>2]|0;if((n|0)==(t|0)){h=18;break d}if((n|0)==(u|0))i=0;else break;do{c[v+8516+(i<<2)>>2]=4098;i=i+1|0}while((i|0)!=4096);c[o>>2]=(c[s>>2]|0)+1;n=(c[p>>2]|0)+1|0;c[q>>2]=n;c[r>>2]=1<>2]=4098;if(!(fC(b,B)|0))break a;else i=4098}if((n|0)>=(u|0)){if((c[v+8516+(n<<2)>>2]|0)==4098){e:do if((n|0)==((c[o>>2]|0)+-2|0))if((i|0)>(u|0)){j=i;m=1;while(1){if((j|0)>4095){j=4098;break e}j=c[v+8516+(j<<2)>>2]|0;k=(j|0)>(u|0);if((m|0)<4096&k)m=(k&1)+m|0;else break}}else j=i;else if((n|0)>(u|0)){j=n;m=1;while(1){if((j|0)>4095){j=4098;break e}j=c[v+8516+(j<<2)>>2]|0;k=(j|0)>(u|0);if((m|0)<4096&k)m=(k&1)+m|0;else break}}else j=n;while(0);j=j&255;a[v+324+g>>0]=j;a[(c[o>>2]|0)+-2+(v+4419)>>0]=j;j=i;g=g+1|0}else j=n;if((g|0)<4095)k=j;else{h=34;break}while(1){if(!((k|0)>(u|0)&(k|0)<4096))break;j=g+1|0;a[v+324+g>>0]=a[v+4419+k>>0]|0;if((j|0)<4095){k=c[v+8516+(k<<2)>>2]|0;g=j}else{h=34;break d}}if((k|0)>4095){h=34;break}m=g+1|0;a[v+324+g>>0]=k;if((m|0)!=0&(h|0)<(f|0)){k=h-f|0;j=~g;j=k>>>0>j>>>0?k:j;k=h-j|0;g=m;do{g=g+-1|0;D=h;h=h+1|0;a[e+D>>0]=a[v+324+g>>0]|0}while((h|0)!=(k|0));g=m+j|0;h=k}else g=m}else{a[e+h>>0]=n;h=h+1|0}do if((i|0)!=4098?(w=v+8516+((c[o>>2]|0)+-2<<2)|0,(c[w>>2]|0)==4098):0){c[w>>2]=i;m=(c[o>>2]|0)+-2|0;if((n|0)==(m|0)){f:do if((i|0)>(u|0)){k=1;while(1){if((i|0)>4095){i=4098;break f}i=c[v+8516+(i<<2)>>2]|0;j=(i|0)>(u|0);if((k|0)<4096&j)k=(j&1)+k|0;else break}}while(0);a[v+4419+n>>0]=i;break}else{g:do if((n|0)>(u|0)){i=n;k=1;while(1){if((i|0)>4095){i=4098;break g}i=c[v+8516+(i<<2)>>2]|0;j=(i|0)>(u|0);if((k|0)<4096&j)k=(j&1)+k|0;else break}}else i=n;while(0);a[v+4419+m>>0]=i;break}}while(0);if((h|0)<(f|0))i=n;else{f=n;break c}}if((h|0)==18){c[b+64>>2]=113;break a}else if((h|0)==34){c[b+64>>2]=112;break a}}else f=j;while(0);c[y>>2]=f;c[x>>2]=g;if(c[z>>2]|0){D=1;l=C;return D|0}while(1){g=c[A>>2]|0;f=c[g+60>>2]|0;if(!f)f=XP(B,1,1,c[g+56>>2]|0)|0;else f=ig[f&63](b,B,1)|0;if((f|0)!=1){h=64;break}h=a[B>>0]|0;f=g+68|0;if(!(h<<24>>24)){h=63;break}a[f>>0]=h;i=c[A>>2]|0;j=c[i+60>>2]|0;g=g+69|0;f=h&255;if(!j)f=XP(g,1,f,c[i+56>>2]|0)|0;else f=ig[j&63](b,g,f)|0;if((f|0)!=(d[B>>0]|0|0)){h=64;break}}if((h|0)==63){a[f>>0]=0;c[g+52>>2]=0;D=1;l=C;return D|0}else if((h|0)==64){c[b+64>>2]=102;D=0;l=C;return D|0}}while(0);D=0;l=C;return D|0}function fC(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;m=b+72|0;q=c[m>>2]|0;r=q+24|0;h=c[r>>2]|0;if((h|0)>12){c[b+64>>2]=112;r=0;return r|0}p=q+44|0;f=c[p>>2]|0;a:do if((f|0)<(h|0)){n=q+68|0;o=q+69|0;i=q+48|0;l=a[n>>0]|0;g=f;while(1){if(!(l<<24>>24)){f=c[m>>2]|0;g=c[f+60>>2]|0;if(!g)f=XP(n,1,1,c[f+56>>2]|0)|0;else f=ig[g&63](b,n,1)|0;if((f|0)!=1){g=11;break}l=a[n>>0]|0;f=l&255;if(!(l<<24>>24)){g=13;break}g=c[m>>2]|0;h=c[g+60>>2]|0;if(!h)f=XP(o,1,f,c[g+56>>2]|0)|0;else f=ig[h&63](b,o,f)|0;g=a[n>>0]|0;if((f|0)!=(g&255|0)){g=18;break}j=a[o>>0]|0;a[o>>0]=2;k=c[p>>2]|0;h=c[r>>2]|0;f=g}else{j=a[o>>0]|0;a[o>>0]=j+1<<24>>24;j=a[(j&255)+(q+68)>>0]|0;k=g;f=l}l=f+-1<<24>>24;a[n>>0]=l;f=c[i>>2]|(j&255)<>2]=f;g=k+8|0;c[p>>2]=g;if((g|0)>=(h|0))break a}if((g|0)==11){c[b+64>>2]=102;r=0;return r|0}else if((g|0)==13){c[b+64>>2]=112;r=0;return r|0}else if((g|0)==18){c[b+64>>2]=102;r=0;return r|0}}else{f=q+48|0;i=f;f=c[f>>2]|0}while(0);c[d>>2]=(e[35418+(h<<1)>>1]|0)&f;j=c[r>>2]|0;c[i>>2]=f>>>j;c[p>>2]=(c[p>>2]|0)-j;f=q+20|0;h=c[f>>2]|0;if((h|0)>=4097){r=1;return r|0}c[f>>2]=h+1;f=q+28|0;g=c[f>>2]|0;if(!((h|0)>=(g|0)&(j|0)<12)){r=1;return r|0}c[f>>2]=g<<1;c[r>>2]=j+1;r=1;return r|0}function gC(d,f,g,h,i,j){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;J=l;l=l+64|0;I=J+32|0;F=J;k=I;m=k+32|0;do{b[k>>1]=0;k=k+2|0}while((k|0)<(m|0));E=(g|0)==0;if(!E){k=0;do{H=I+(e[f+(k<<1)>>1]<<1)|0;b[H>>1]=(b[H>>1]|0)+1<<16>>16;k=k+1|0}while((k|0)!=(g|0));m=b[I+30>>1]|0;k=c[i>>2]|0;if(!(m<<16>>16))if(!(b[I+28>>1]|0))H=60;else{m=0;o=14;H=6}else{o=15;H=6}}else{k=c[i>>2]|0;H=60}do if((H|0)==60)if(!(b[I+26>>1]|0))if(!(b[I+24>>1]|0))if(!(b[I+22>>1]|0))if(!(b[I+20>>1]|0))if(!(b[I+18>>1]|0))if(!(b[I+16>>1]|0))if(!(b[I+14>>1]|0))if(!(b[I+12>>1]|0))if(!(b[I+10>>1]|0))if(!(b[I+8>>1]|0))if(!(b[I+6>>1]|0))if(!(b[I+4>>1]|0)){m=b[I+2>>1]|0;if(m<<16>>16){D=m;m=0;n=(k|0)!=0&1;o=1;p=1;break}j=c[h>>2]|0;c[h>>2]=j+4;a[j>>0]=64;a[j+1>>0]=1;b[j+2>>1]=0;j=c[h>>2]|0;c[h>>2]=j+4;a[j>>0]=64;a[j+1>>0]=1;b[j+2>>1]=0;c[i>>2]=1;j=0;l=J;return j|0}else{m=0;o=2;H=6}else{m=0;o=3;H=6}else{m=0;o=4;H=6}else{m=0;o=5;H=6}else{m=0;o=6;H=6}else{m=0;o=7;H=6}else{m=0;o=8;H=6}else{m=0;o=9;H=6}else{m=0;o=10;H=6}else{m=0;o=11;H=6}else{m=0;o=12;H=6}else{m=0;o=13;H=6}while(0);if((H|0)==6){n=k>>>0>o>>>0?o:k;k=1;do{if(b[I+(k<<1)>>1]|0)break;k=k+1|0}while(k>>>0>>0);D=b[I+2>>1]|0;p=k}G=n>>>0

>>0?p:n;B=D&65535;k=2-B|0;if((k|0)<0){j=-1;l=J;return j|0}C=e[I+4>>1]|0;k=(k<<1)-C|0;if((k|0)<0){j=-1;l=J;return j|0}A=e[I+6>>1]|0;k=(k<<1)-A|0;if((k|0)<0){j=-1;l=J;return j|0}z=e[I+8>>1]|0;k=(k<<1)-z|0;if((k|0)<0){j=-1;l=J;return j|0}y=e[I+10>>1]|0;k=(k<<1)-y|0;if((k|0)<0){j=-1;l=J;return j|0}x=e[I+12>>1]|0;k=(k<<1)-x|0;if((k|0)<0){j=-1;l=J;return j|0}w=e[I+14>>1]|0;k=(k<<1)-w|0;if((k|0)<0){j=-1;l=J;return j|0}v=e[I+16>>1]|0;k=(k<<1)-v|0;if((k|0)<0){j=-1;l=J;return j|0}u=e[I+18>>1]|0;k=(k<<1)-u|0;if((k|0)<0){j=-1;l=J;return j|0}t=e[I+20>>1]|0;k=(k<<1)-t|0;if((k|0)<0){j=-1;l=J;return j|0}s=e[I+22>>1]|0;k=(k<<1)-s|0;if((k|0)<0){j=-1;l=J;return j|0}r=e[I+24>>1]|0;k=(k<<1)-r|0;if((k|0)<0){j=-1;l=J;return j|0}q=e[I+26>>1]|0;k=(k<<1)-q|0;if((k|0)<0){j=-1;l=J;return j|0}n=e[I+28>>1]|0;k=(k<<1)-n|0;if((k|0)<0){j=-1;l=J;return j|0}k=(k<<1)-(m&65535)|0;if((k|0)<0){j=-1;l=J;return j|0}if(k|0?(d|0)==0|(o|0)!=1:0){j=-1;l=J;return j|0}b[F+2>>1]=0;b[F+4>>1]=D;D=C+B|0;b[F+6>>1]=D;D=A+D|0;b[F+8>>1]=D;D=z+D|0;b[F+10>>1]=D;D=y+D|0;b[F+12>>1]=D;D=x+D|0;b[F+14>>1]=D;D=w+D|0;b[F+16>>1]=D;D=v+D|0;b[F+18>>1]=D;D=u+D|0;b[F+20>>1]=D;D=t+D|0;b[F+22>>1]=D;D=s+D|0;b[F+24>>1]=D;D=r+D|0;b[F+26>>1]=D;D=q+D|0;b[F+28>>1]=D;b[F+30>>1]=n+D;if(!E){m=0;do{k=b[f+(m<<1)>>1]|0;if(k<<16>>16){D=F+((k&65535)<<1)|0;E=b[D>>1]|0;b[D>>1]=E+1<<16>>16;b[j+((E&65535)<<1)>>1]=m}m=m+1|0}while((m|0)!=(g|0))}switch(d|0){case 0:{k=0;D=0;g=j;F=19;d=j;break}case 1:{if(G>>>0>9){j=1;l=J;return j|0}else{k=0;D=1;g=37208;F=256;d=37334}break}default:{k=(d|0)==2;if(k&G>>>0>9){j=1;l=J;return j|0}else{D=0;g=37658;F=-1;d=37784}}}B=1<>2]|0;n=0;a:while(1){w=1<>1]|0;n=m&65535;do if((n|0)<(F|0))s=0;else{if((n|0)<=(F|0)){s=96;m=0;break}s=b[d+(n<<1)>>1]&255;m=b[g+(n<<1)>>1]|0}while(0);n=1<>>z;q=w;do{v=q;q=q-n|0;K=q+p|0;a[y+(K<<2)>>0]=s;a[y+(K<<2)+1>>0]=t;b[y+(K<<2)+2>>1]=m}while((v|0)!=(n|0));m=1<>>1;if(!m)r=0;else r=(m+-1&r)+m|0;A=A+1|0;v=I+(u<<1)|0;K=(b[v>>1]|0)+-1<<16>>16;b[v>>1]=K;if(!(K<<16>>16)){if((u|0)==(o|0))break a;u=e[f+(e[j+(A<<1)>>1]<<1)>>1]|0}if(u>>>0<=G>>>0)continue;v=r&C;if((v|0)!=(x|0))break}s=(z|0)==0?G:z;t=y+(w<<2)|0;m=u-s|0;b:do if(u>>>0>>0){q=u;p=m;m=1<>1]|0)|0;if((n|0)<1){m=p;break b}m=p+1|0;q=m+s|0;if(q>>>0>=o>>>0)break;else{p=m;m=n<<1}}}while(0);q=(1<>>0>852|k&q>>>0>592){k=1;H=45;break}z=c[h>>2]|0;a[z+(v<<2)>>0]=m;a[z+(v<<2)+1>>0]=E;b[z+(v<<2)+2>>1]=(t-z|0)>>>2;z=s;p=u;x=v;y=t;n=A;B=q}if((H|0)==45){l=J;return k|0}if(r|0){a[y+(r<<2)>>0]=64;a[y+(r<<2)+1>>0]=t;b[y+(r<<2)+2>>1]=0}c[h>>2]=(c[h>>2]|0)+(B<<2);c[i>>2]=G;K=0;l=J;return K|0}function hC(a,b){a=a|0;b=b|0;return TM(O(b,a)|0)|0}function iC(a){a=a|0;UM(a);return}function jC(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,z=0;e=a>>>16;a=a&65535;if((c|0)==1){k=(d[b>>0]|0)+a|0;k=k>>>0>65520?k+-65521|0:k;j=k+e|0;k=(j>>>0>65520?j+15|0:j)<<16|k;return k|0}if(!b){k=1;return k|0}if(c>>>0<16){if(c)while(1){c=c+-1|0;a=(d[b>>0]|0)+a|0;e=a+e|0;if(!c)break;else b=b+1|0}k=((e>>>0)%65521|0)<<16|(a>>>0>65520?a+-65521|0:a);return k|0}if(c>>>0>5551){i=c+-5552|0;j=(i>>>0)%5552|0;i=i-j|0;h=b;while(1){g=h;f=347;while(1){z=(d[g>>0]|0)+a|0;y=z+(d[g+1>>0]|0)|0;x=y+(d[g+2>>0]|0)|0;w=x+(d[g+3>>0]|0)|0;v=w+(d[g+4>>0]|0)|0;u=v+(d[g+5>>0]|0)|0;t=u+(d[g+6>>0]|0)|0;s=t+(d[g+7>>0]|0)|0;r=s+(d[g+8>>0]|0)|0;q=r+(d[g+9>>0]|0)|0;p=q+(d[g+10>>0]|0)|0;o=p+(d[g+11>>0]|0)|0;n=o+(d[g+12>>0]|0)|0;m=n+(d[g+13>>0]|0)|0;l=m+(d[g+14>>0]|0)|0;a=l+(d[g+15>>0]|0)|0;e=z+e+y+x+w+v+u+t+s+r+q+p+o+n+m+l+a|0;f=f+-1|0;if(!f)break;else g=g+16|0}c=c+-5552|0;a=(a>>>0)%65521|0;e=(e>>>0)%65521|0;if(c>>>0<=5551)break;else h=h+5552|0}b=b+(i+5552)|0;if(j)if(j>>>0>15){c=j;k=15}else{c=j;k=18}}else k=15;if((k|0)==15){g=c+-16|0;h=g&-16;i=h+16|0;f=b;while(1){c=c+-16|0;l=(d[f>>0]|0)+a|0;m=l+(d[f+1>>0]|0)|0;n=m+(d[f+2>>0]|0)|0;o=n+(d[f+3>>0]|0)|0;p=o+(d[f+4>>0]|0)|0;q=p+(d[f+5>>0]|0)|0;r=q+(d[f+6>>0]|0)|0;s=r+(d[f+7>>0]|0)|0;t=s+(d[f+8>>0]|0)|0;u=t+(d[f+9>>0]|0)|0;v=u+(d[f+10>>0]|0)|0;w=v+(d[f+11>>0]|0)|0;x=w+(d[f+12>>0]|0)|0;y=x+(d[f+13>>0]|0)|0;z=y+(d[f+14>>0]|0)|0;a=z+(d[f+15>>0]|0)|0;e=l+e+m+n+o+p+q+r+s+t+u+v+w+x+y+z+a|0;if(c>>>0<=15)break;else f=f+16|0}if((g|0)==(h|0))k=19;else{c=g-h|0;b=b+i|0;k=18}}if((k|0)==18)while(1){c=c+-1|0;a=(d[b>>0]|0)+a|0;e=a+e|0;if(!c){k=19;break}else{b=b+1|0;k=18}}if((k|0)==19){a=(a>>>0)%65521|0;e=(e>>>0)%65521|0}z=e<<16|a;return z|0}function kC(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0;if(!b){h=0;return h|0}a=~a;a:do if(e){while(1){if(!(b&3))break;a=c[6680+(((d[b>>0]|0)^a&255)<<2)>>2]^a>>>8;e=e+-1|0;if(!e)break a;else b=b+1|0}if(e>>>0>31){g=e+-32|0;h=g&-32;f=b;while(1){i=c[f>>2]^a;i=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2]^c[f+4>>2];i=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2]^c[f+8>>2];i=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2]^c[f+12>>2];i=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2]^c[f+16>>2];i=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2]^c[f+20>>2];i=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2]^c[f+24>>2];i=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2]^c[f+28>>2];a=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2];e=e+-32|0;if(e>>>0<=31)break;else f=f+32|0}e=g-h|0;b=b+(h+32)|0}if(e>>>0>3){g=e+-4|0;h=g>>>2;f=b;while(1){i=c[f>>2]^a;a=c[8728+((i>>>8&255)<<2)>>2]^c[9752+((i&255)<<2)>>2]^c[7704+((i>>>16&255)<<2)>>2]^c[6680+(i>>>24<<2)>>2];e=e+-4|0;if(e>>>0<=3)break;else f=f+4|0}e=g-(h<<2)|0;b=b+(h+1<<2)|0}if(e)while(1){a=c[6680+(((d[b>>0]|0)^a&255)<<2)>>2]^a>>>8;e=e+-1|0;if(!e)break;else b=b+1|0}}while(0);i=~a;return i|0}function lC(b,c){b=b|0;c=c|0;var e=0;c=b+24|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(c|0){e=b+16|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;while(1){a[e>>0]=a[e>>0]^-128;c=c+-1|0;if(!c)break;else e=e+1|0}}e=b+80|0;c=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)+1|0;a[e>>0]=c;a[e+1>>0]=c>>8;a[e+2>>0]=c>>16;a[e+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,-32760);return}function mC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=c+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=e<<1;if(e|0){g=f+i+-2|0;f=f+e|0;while(1){f=f+-1|0;b[g>>1]=(d[f>>0]|0)<<8;e=e+-1|0;if(!e)break;else g=g+-2|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,16);return}function nC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=c+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=e<<1;if(e|0){g=f+i+-2|0;f=f+e|0;while(1){f=f+-1|0;b[g>>1]=((a[f>>0]^-128)&255)<<8;e=e+-1|0;if(!e)break;else g=g+-2|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32752);return}function oC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=c+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=e<<1;if(e|0){g=f+i+-2|0;f=f+e|0;while(1){f=f+-1|0;b[g>>1]=yQ((d[f>>0]|0)<<8&65535|0)|0;e=e+-1|0;if(!e)break;else g=g+-2|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,4112);return}function pC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=c+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=e<<1;if(e|0){g=f+i+-2|0;f=f+e|0;while(1){f=f+-1|0;b[g>>1]=yQ(((a[f>>0]^-128)&255)<<8&65535|0)|0;e=e+-1|0;if(!e)break;else g=g+-2|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-28656);return}function qC(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=b+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(!e)e=0;else{g=f+(e<<2)+-4|0;f=f+e|0;while(1){f=f+-1|0;c[g>>2]=((a[f>>0]^-128)&255)<<24;e=e+-1|0;if(!e)break;else g=g+-4|0}e=(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24)<<2}a[h>>0]=e;a[h+1>>0]=e>>8;a[h+2>>0]=e>>16;a[h+3>>0]=e>>24;h=b+80|0;e=(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24)+1|0;a[h>>0]=e;a[h+1>>0]=e>>8;a[h+2>>0]=e>>16;a[h+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32736);return}function rC(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=b+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(!e)e=0;else{g=f+(e<<2)+-4|0;f=f+e|0;while(1){f=f+-1|0;c[g>>2]=zQ(((a[f>>0]^-128)&255)<<24|0)|0;e=e+-1|0;if(!e)break;else g=g+-4|0}e=(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24)<<2}a[h>>0]=e;a[h+1>>0]=e>>8;a[h+2>>0]=e>>16;a[h+3>>0]=e>>24;h=b+80|0;e=(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24)+1|0;a[h>>0]=e;a[h+1>>0]=e>>8;a[h+2>>0]=e>>16;a[h+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28640);return}function sC(b,c){b=b|0;c=c|0;var e=0,f=0,h=0,i=0;e=b+16|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;h=b+24|0;c=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=c<<2;if(c|0){f=e+i+-4|0;e=e+c|0;while(1){e=e+-1|0;g[f>>2]=+(d[e>>0]|0)*.007874015718698502+-1.0;c=c+-1|0;if(!c)break;else f=f+-4|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=b+80|0;c=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,-32480);return}function tC(b,e){b=b|0;e=e|0;var f=0,h=0,i=0,k=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;k=e<<2;if(e|0){h=f+k+-4|0;f=f+e|0;while(1){f=f+-1|0;c[h>>2]=zQ((g[j>>2]=+(d[f>>0]|0)*.007874015718698502+-1.0,c[j>>2]|0)|0)|0;e=e+-1|0;if(!e)break;else h=h+-4|0}}a[i>>0]=k;a[i+1>>0]=k>>8;a[i+2>>0]=k>>16;a[i+3>>0]=k>>24;k=b+80|0;e=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28384);return}function uC(b,c){b=b|0;c=c|0;var e=0;c=b+24|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(c|0){e=b+16|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;while(1){a[e>>0]=a[e>>0]^-128;c=c+-1|0;if(!c)break;else e=e+1|0}}e=b+80|0;c=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)+1|0;a[e>>0]=c;a[e+1>>0]=c>>8;a[e+2>>0]=c>>16;a[e+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,8);return}function vC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=c+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=e<<1;if(e|0){g=f+i+-2|0;f=f+e|0;while(1){f=f+-1|0;b[g>>1]=a[f>>0]<<8^32768;e=e+-1|0;if(!e)break;else g=g+-2|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,16);return}function wC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=c+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=e<<1;if(e|0){g=f+i+-2|0;f=f+e|0;while(1){f=f+-1|0;b[g>>1]=a[f>>0]<<8;e=e+-1|0;if(!e)break;else g=g+-2|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32752);return}function xC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=c+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=e<<1;if(e|0){g=f+i+-2|0;f=f+e|0;while(1){f=f+-1|0;b[g>>1]=yQ((a[f>>0]<<8^32768)&65535|0)|0;e=e+-1|0;if(!e)break;else g=g+-2|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,4112);return}function yC(c,e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]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32736);return}function AC(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=b+24|0;e=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(!e)e=0;else{g=f+(e<<2)+-4|0;f=f+e|0;while(1){f=f+-1|0;c[g>>2]=zQ((d[f>>0]|0)<<24|0)|0;e=e+-1|0;if(!e)break;else g=g+-4|0}e=(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24)<<2}a[h>>0]=e;a[h+1>>0]=e>>8;a[h+2>>0]=e>>16;a[h+3>>0]=e>>24;h=b+80|0;e=(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24)+1|0;a[h>>0]=e;a[h+1>>0]=e>>8;a[h+2>>0]=e>>16;a[h+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28640);return}function BC(b,c){b=b|0;c=c|0;var e=0,f=0,h=0,i=0;e=b+16|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;h=b+24|0;c=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;i=c<<2;if(c|0){f=e+i+-4|0;e=e+c|0;while(1){e=e+-1|0;g[f>>2]=+(a[e>>0]|0)*.007874015718698502;c=c+-1|0;if(!c)break;else f=f+-4|0}}a[h>>0]=i;a[h+1>>0]=i>>8;a[h+2>>0]=i>>16;a[h+3>>0]=i>>24;i=b+80|0;c=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,-32480);return}function CC(b,e){b=b|0;e=e|0;var f=0,h=0,i=0,k=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;k=e<<2;if(e|0){h=f+k+-4|0;f=f+e|0;while(1){f=f+-1|0;c[h>>2]=zQ((g[j>>2]=+(a[f>>0]|0)*.007874015718698502,c[j>>2]|0)|0)|0;e=e+-1|0;if(!e)break;else h=h+-4|0}}a[i>>0]=k;a[i+1>>0]=k>>8;a[i+2>>0]=k>>16;a[i+3>>0]=k>>24;k=b+80|0;e=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28384);return}function DC(b,c){b=b|0;c=c|0;var f=0,g=0,h=0,i=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=c>>>1;if(h){g=f;c=h;while(1){a[g>>0]=(e[f>>1]|0)>>>8;c=c+-1|0;if(!c)break;else{g=g+1|0;f=f+2|0}}c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}c=(c|0)/2|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;i=b+80|0;c=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,8);return}function EC(b,c){b=b|0;c=c|0;var f=0,g=0,h=0,i=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=c>>>1;if(h){g=f;c=h;while(1){a[g>>0]=(e[f>>1]|0)>>>8&255^-128;c=c+-1|0;if(!c)break;else{g=g+1|0;f=f+2|0}}c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}c=(c|0)/2|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;i=b+80|0;c=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,-32760);return}function FC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=b[f>>1]^-32768;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32752);return}function GC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=yQ(b[f>>1]|0)|0;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,4112);return}function HC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=yQ(b[f>>1]^-32768|0)|0;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-28656);return}function IC(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;j=e+24|0;f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;h=f>>>1;if(h){i=g+(f<<1)+-4|0;g=g+f+-2|0;f=h;while(1){c[i>>2]=((b[g>>1]^-32768)&65535)<<16;f=f+-1|0;if(!f)break;else{i=i+-4|0;g=g+-2|0}}f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}f=f<<1;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-32736);return}function JC(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;j=e+24|0;f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;h=f>>>1;if(h){i=g+(f<<1)+-4|0;g=g+f+-2|0;f=h;while(1){c[i>>2]=zQ(((b[g>>1]^-32768)&65535)<<16|0)|0;f=f+-1|0;if(!f)break;else{i=i+-4|0;g=g+-2|0}}f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}f=f<<1;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28640);return}function KC(b,c){b=b|0;c=c|0;var f=0,h=0,i=0,j=0,k=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;j=b+24|0;h=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;k=h<<1;c=h>>>1;if(c|0){i=f+k+-4|0;f=f+h+-2|0;while(1){g[i>>2]=+(e[f>>1]|0)*3.0518509447574615e-05+-1.0;c=c+-1|0;if(!c)break;else{i=i+-4|0;f=f+-2|0}}}a[j>>0]=k;a[j+1>>0]=k>>8;a[j+2>>0]=k>>16;a[j+3>>0]=k>>24;k=b+80|0;c=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=c;a[k+1>>0]=c>>8;a[k+2>>0]=c>>16;a[k+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,-32480);return}function LC(b,f){b=b|0;f=f|0;var h=0,i=0,k=0,l=0,m=0;h=b+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;l=b+24|0;i=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;m=i<<1;f=i>>>1;if(f|0){k=h+m+-4|0;h=h+i+-2|0;while(1){c[k>>2]=zQ((g[j>>2]=+(e[h>>1]|0)*3.0518509447574615e-05+-1.0,c[j>>2]|0)|0)|0;f=f+-1|0;if(!f)break;else{k=k+-4|0;h=h+-2|0}}}a[l>>0]=m;a[l+1>>0]=m>>8;a[l+2>>0]=m>>16;a[l+3>>0]=m>>24;m=b+80|0;f=(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24)+1|0;a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;f=b+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](b,-28384);return}function MC(b,c){b=b|0;c=c|0;var f=0,g=0,h=0,i=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=c>>>1;if(h){g=f;c=h;while(1){a[g>>0]=(e[f>>1]|0)>>>8^128;c=c+-1|0;if(!c)break;else{g=g+1|0;f=f+2|0}}c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}c=(c|0)/2|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;i=b+80|0;c=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,8);return}function NC(b,c){b=b|0;c=c|0;var f=0,g=0,h=0,i=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=c>>>1;if(h){g=f;c=h;while(1){a[g>>0]=(e[f>>1]|0)>>>8;c=c+-1|0;if(!c)break;else{g=g+1|0;f=f+2|0}}c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}c=(c|0)/2|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;i=b+80|0;c=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,-32760);return}function OC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=b[f>>1]^-32768;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,16);return}function PC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=yQ(b[f>>1]^-32768|0)|0;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,4112);return}function QC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=yQ(b[f>>1]|0)|0;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-28656);return}function RC(b,f){b=b|0;f=f|0;var g=0,h=0,i=0,j=0;g=b+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;j=b+24|0;f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;h=f>>>1;if(h){i=g+(f<<1)+-4|0;g=g+f+-2|0;f=h;while(1){c[i>>2]=(e[g>>1]|0)<<16;f=f+-1|0;if(!f)break;else{i=i+-4|0;g=g+-2|0}}f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}f=f<<1;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;j=b+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=b+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](b,-32736);return}function SC(b,f){b=b|0;f=f|0;var g=0,h=0,i=0,j=0;g=b+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;j=b+24|0;f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;h=f>>>1;if(h){i=g+(f<<1)+-4|0;g=g+f+-2|0;f=h;while(1){c[i>>2]=zQ((e[g>>1]|0)<<16|0)|0;f=f+-1|0;if(!f)break;else{i=i+-4|0;g=g+-2|0}}f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}f=f<<1;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;j=b+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=b+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](b,-28640);return}function TC(c,e){c=c|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;j=c+24|0;h=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;k=h<<1;e=h>>>1;if(e|0){i=f+k+-4|0;f=f+h+-2|0;while(1){g[i>>2]=+(b[f>>1]|0)*3.0518509447574615e-05;e=e+-1|0;if(!e)break;else{i=i+-4|0;f=f+-2|0}}}a[j>>0]=k;a[j+1>>0]=k>>8;a[j+2>>0]=k>>16;a[j+3>>0]=k>>24;k=c+80|0;e=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32480);return}function UC(e,f){e=e|0;f=f|0;var h=0,i=0,k=0,l=0,m=0;h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;l=e+24|0;i=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;m=i<<1;f=i>>>1;if(f|0){k=h+m+-4|0;h=h+i+-2|0;while(1){c[k>>2]=zQ((g[j>>2]=+(b[h>>1]|0)*3.0518509447574615e-05,c[j>>2]|0)|0)|0;f=f+-1|0;if(!f)break;else{k=k+-4|0;h=h+-2|0}}}a[l>>0]=m;a[l+1>>0]=m>>8;a[l+2>>0]=m>>16;a[l+3>>0]=m>>24;m=e+80|0;f=(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24)+1|0;a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28384);return}function VC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=c+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=e>>>1;if(h){g=f;e=h;while(1){a[g>>0]=b[f>>1];e=e+-1|0;if(!e)break;else{g=g+1|0;f=f+2|0}}e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}e=(e|0)/2|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,8);return}function WC(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=c+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=e>>>1;if(h){g=f;e=h;while(1){a[g>>0]=b[f>>1]&255^-128;e=e+-1|0;if(!e)break;else{g=g+1|0;f=f+2|0}}e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}e=(e|0)/2|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32760);return}function XC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=yQ(b[f>>1]|0)|0;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,16);return}function YC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=yQ(b[f>>1]^128|0)|0;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32752);return}function ZC(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=b[f>>1]^128;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-28656);return}function _C(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;j=e+24|0;f=d[j>>0]|d[j+1>>0]<<8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[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28640);return}function aD(c,e){c=c|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;j=c+24|0;h=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;k=h<<1;e=h>>>1;if(e|0){i=f+k+-4|0;f=f+h+-2|0;while(1){g[i>>2]=+((yQ(b[f>>1]|0)|0)&65535)*3.0518509447574615e-05+-1.0;e=e+-1|0;if(!e)break;else{i=i+-4|0;f=f+-2|0}}}a[j>>0]=k;a[j+1>>0]=k>>8;a[j+2>>0]=k>>16;a[j+3>>0]=k>>24;k=c+80|0;e=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32480);return}function bD(e,f){e=e|0;f=f|0;var h=0,i=0,k=0,l=0,m=0,n=0.0;h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;l=e+24|0;i=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;m=i<<1;f=i>>>1;if(f|0){k=h+m+-4|0;h=h+i+-2|0;while(1){n=+((yQ(b[h>>1]|0)|0)&65535)*3.0518509447574615e-05+-1.0;c[k>>2]=zQ((g[j>>2]=n,c[j>>2]|0)|0)|0;f=f+-1|0;if(!f)break;else{k=k+-4|0;h=h+-2|0}}}a[l>>0]=m;a[l+1>>0]=m>>8;a[l+2>>0]=m>>16;a[l+3>>0]=m>>24;m=e+80|0;f=(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24)+1|0;a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28384);return}function cD(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=c+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=e>>>1;if(h){g=f;e=h;while(1){a[g>>0]=(b[f>>1]<<8&65535)>>>8^128;e=e+-1|0;if(!e)break;else{g=g+1|0;f=f+2|0}}e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}e=(e|0)/2|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,8);return}function dD(c,e){c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=c+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=e>>>1;if(h){g=f;e=h;while(1){a[g>>0]=b[f>>1];e=e+-1|0;if(!e)break;else{g=g+1|0;f=f+2|0}}e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}e=(e|0)/2|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;i=c+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32760);return}function eD(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=yQ(b[f>>1]^128|0)|0;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,16);return}function fD(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=yQ(b[f>>1]|0)|0;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32752);return}function gD(c,e){c=c|0;e=e|0;var f=0;e=c+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>1;if(e|0){f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){b[f>>1]=b[f>>1]^128;e=e+-1|0;if(!e)break;else f=f+2|0}}f=c+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,4112);return}function hD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;j=e+24|0;f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;h=f>>>1;if(h){i=g+(f<<1)+-4|0;g=g+f+-2|0;f=h;while(1){c[i>>2]=((yQ(b[g>>1]|0)|0)&65535)<<16;f=f+-1|0;if(!f)break;else{i=i+-4|0;g=g+-2|0}}f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}f=f<<1;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-32736);return}function iD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;j=e+24|0;f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;h=f>>>1;if(h){i=g+(f<<1)+-4|0;g=g+f+-2|0;f=h;while(1){c[i>>2]=zQ(((yQ(b[g>>1]|0)|0)&65535)<<16|0)|0;f=f+-1|0;if(!f)break;else{i=i+-4|0;g=g+-2|0}}f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}f=f<<1;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28640);return}function jD(c,e){c=c|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;j=c+24|0;h=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;k=h<<1;e=h>>>1;if(e|0){i=f+k+-4|0;f=f+h+-2|0;while(1){g[i>>2]=+((yQ(b[f>>1]|0)|0)<<16>>16)*3.0518509447574615e-05;e=e+-1|0;if(!e)break;else{i=i+-4|0;f=f+-2|0}}}a[j>>0]=k;a[j+1>>0]=k>>8;a[j+2>>0]=k>>16;a[j+3>>0]=k>>24;k=c+80|0;e=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32480);return}function kD(e,f){e=e|0;f=f|0;var h=0,i=0,k=0,l=0,m=0,n=0.0;h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;l=e+24|0;i=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;m=i<<1;f=i>>>1;if(f|0){k=h+m+-4|0;h=h+i+-2|0;while(1){n=+((yQ(b[h>>1]|0)|0)<<16>>16)*3.0518509447574615e-05;c[k>>2]=zQ((g[j>>2]=n,c[j>>2]|0)|0)|0;f=f+-1|0;if(!f)break;else{k=k+-4|0;h=h+-2|0}}}a[l>>0]=m;a[l+1>>0]=m>>8;a[l+2>>0]=m>>16;a[l+3>>0]=m>>24;m=e+80|0;f=(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24)+1|0;a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28384);return}function lD(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=e>>>2;if(h){g=f;e=h;while(1){a[g>>0]=(c[f>>2]|0)>>>24^128;e=e+-1|0;if(!e)break;else{g=g+1|0;f=f+4|0}}e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}e=(e|0)/4|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;i=b+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,8);return}function mD(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=e>>>2;if(h){g=f;e=h;while(1){a[g>>0]=(c[f>>2]|0)>>>24;e=e+-1|0;if(!e)break;else{g=g+1|0;f=f+4|0}}e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}e=(e|0)/4|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;i=b+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32760);return}function nD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;i=e+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=j>>>2;if(f|0){h=g;while(1){b[h>>1]=(c[g>>2]|0)>>>16^32768;f=f+-1|0;if(!f)break;else{h=h+2|0;g=g+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,16);return}function oD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;i=e+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=j>>>2;if(f|0){h=g;while(1){b[h>>1]=(c[g>>2]|0)>>>16;f=f+-1|0;if(!f)break;else{h=h+2|0;g=g+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-32752);return}function pD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;i=e+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=j>>>2;if(f|0){h=g;while(1){b[h>>1]=yQ(((c[g>>2]|0)>>>16^32768)&65535|0)|0;f=f+-1|0;if(!f)break;else{h=h+2|0;g=g+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,4112);return}function qD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;i=e+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=j>>>2;if(f|0){h=g;while(1){b[h>>1]=yQ((c[g>>2]|0)>>>16&65535|0)|0;f=f+-1|0;if(!f)break;else{h=h+2|0;g=g+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28656);return}function rD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){c[f>>2]=zQ(c[f>>2]|0)|0;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28640);return}function sD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){g[f>>2]=+(c[f>>2]|0)*4.656612873077393e-10;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32480);return}function tD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){c[f>>2]=zQ((g[j>>2]=+(c[f>>2]|0)*4.656612873077393e-10,c[j>>2]|0)|0)|0;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28384);return}function uD(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=e>>>2;if(h){g=f;e=h;while(1){a[g>>0]=c[f>>2]^128;e=e+-1|0;if(!e)break;else{g=g+1|0;f=f+4|0}}e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}e=(e|0)/4|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;i=b+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,8);return}function vD(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=b+24|0;e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=e>>>2;if(h){g=f;e=h;while(1){a[g>>0]=c[f>>2];e=e+-1|0;if(!e)break;else{g=g+1|0;f=f+4|0}}e=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}e=(e|0)/4|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;i=b+80|0;e=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=e;a[i+1>>0]=e>>8;a[i+2>>0]=e>>16;a[i+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32760);return}function wD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;i=e+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=j>>>2;if(f|0){h=g;while(1){b[h>>1]=(zQ(c[g>>2]|0)|0)>>>16^32768;f=f+-1|0;if(!f)break;else{h=h+2|0;g=g+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,16);return}function xD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;i=e+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=j>>>2;if(f|0){h=g;while(1){b[h>>1]=(zQ(c[g>>2]|0)|0)>>>16;f=f+-1|0;if(!f)break;else{h=h+2|0;g=g+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-32752);return}function yD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;i=e+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=j>>>2;if(f|0){h=g;while(1){b[h>>1]=yQ(((zQ(c[g>>2]|0)|0)>>>16^32768)&65535|0)|0;f=f+-1|0;if(!f)break;else{h=h+2|0;g=g+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,4112);return}function zD(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=e+16|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;i=e+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=j>>>2;if(f|0){h=g;while(1){b[h>>1]=yQ((zQ(c[g>>2]|0)|0)>>>16&65535|0)|0;f=f+-1|0;if(!f)break;else{h=h+2|0;g=g+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=e+80|0;f=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=f;a[j+1>>0]=f>>8;a[j+2>>0]=f>>16;a[j+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28656);return}function AD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){c[f>>2]=zQ(c[f>>2]|0)|0;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32736);return}function BD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){g[f>>2]=+(zQ(c[f>>2]|0)|0)*4.656612873077393e-10;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32480);return}function CD(b,e){b=b|0;e=e|0;var f=0,h=0.0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){h=+(zQ(c[f>>2]|0)|0)*4.656612873077393e-10;c[f>>2]=zQ((g[j>>2]=h,c[j>>2]|0)|0)|0;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28384);return}function DD(b,c){b=b|0;c=c|0;var e=0,f=0,h=0,i=0;e=b+16|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;i=b+24|0;c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=c>>>2;if(h){f=e;c=h;while(1){a[f>>0]=~~((+g[e>>2]+1.0)*127.0);c=c+-1|0;if(!c)break;else{f=f+1|0;e=e+4|0}}c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}c=(c|0)/4|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;i=b+80|0;c=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,8);return}function ED(b,c){b=b|0;c=c|0;var e=0,f=0,h=0,i=0;e=b+16|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;i=b+24|0;c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;h=c>>>2;if(h){f=e;c=h;while(1){a[f>>0]=~~(+g[e>>2]*127.0);c=c+-1|0;if(!c)break;else{f=f+1|0;e=e+4|0}}c=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}c=(c|0)/4|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;i=b+80|0;c=(d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24)+1|0;a[i>>0]=c;a[i+1>>0]=c>>8;a[i+2>>0]=c>>16;a[i+3>>0]=c>>24;c=b+40+(c<<2)|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;if(!c)return;Bg[c&255](b,-32760);return}function FD(c,e){c=c|0;e=e|0;var f=0,h=0,i=0,j=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=c+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;e=j>>>2;if(e|0){h=f;while(1){b[h>>1]=~~((+g[f>>2]+1.0)*32767.0);e=e+-1|0;if(!e)break;else{h=h+2|0;f=f+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=c+80|0;e=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=e;a[j+1>>0]=e>>8;a[j+2>>0]=e>>16;a[j+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,16);return}function GD(c,e){c=c|0;e=e|0;var f=0,h=0,i=0,j=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=c+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;e=j>>>2;if(e|0){h=f;while(1){b[h>>1]=~~(+g[f>>2]*32767.0);e=e+-1|0;if(!e)break;else{h=h+2|0;f=f+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=c+80|0;e=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=e;a[j+1>>0]=e>>8;a[j+2>>0]=e>>16;a[j+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-32752);return}function HD(c,e){c=c|0;e=e|0;var f=0,h=0,i=0,j=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=c+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;e=j>>>2;if(e|0){h=f;while(1){b[h>>1]=yQ(~~((+g[f>>2]+1.0)*32767.0)&65535|0)|0;e=e+-1|0;if(!e)break;else{h=h+2|0;f=f+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=c+80|0;e=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=e;a[j+1>>0]=e>>8;a[j+2>>0]=e>>16;a[j+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,4112);return}function ID(c,e){c=c|0;e=e|0;var f=0,h=0,i=0,j=0;f=c+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;i=c+24|0;j=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;e=j>>>2;if(e|0){h=f;while(1){b[h>>1]=yQ(~~(+g[f>>2]*32767.0)|0)|0;e=e+-1|0;if(!e)break;else{h=h+2|0;f=f+4|0}}}j=(j|0)/2|0;a[i>>0]=j;a[i+1>>0]=j>>8;a[i+2>>0]=j>>16;a[i+3>>0]=j>>24;j=c+80|0;e=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+1|0;a[j>>0]=e;a[j+1>>0]=e>>8;a[j+2>>0]=e>>16;a[j+3>>0]=e>>24;e=c+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](c,-28656);return}function JD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){c[f>>2]=~~(+g[f>>2]*2147483647.0);e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32736);return}function KD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){c[f>>2]=zQ(~~(+g[f>>2]*2147483647.0)|0)|0;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28640);return}function LD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){c[f>>2]=zQ(c[f>>2]|0)|0;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28384);return}function MD(b,e){b=b|0;e=e|0;var f=0,h=0,i=0,k=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;k=b+24|0;e=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;i=e>>>2;if(i){h=f;e=i;while(1){i=zQ(c[f>>2]|0)|0;a[h>>0]=~~(((c[j>>2]=i,+g[j>>2])+1.0)*127.0);e=e+-1|0;if(!e)break;else{h=h+1|0;f=f+4|0}}e=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24}e=(e|0)/4|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;k=b+80|0;e=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,8);return}function ND(b,e){b=b|0;e=e|0;var f=0,h=0,i=0,k=0;f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;k=b+24|0;e=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;i=e>>>2;if(i){h=f;e=i;while(1){i=zQ(c[f>>2]|0)|0;a[h>>0]=~~((c[j>>2]=i,+g[j>>2])*127.0);e=e+-1|0;if(!e)break;else{h=h+1|0;f=f+4|0}}e=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24}e=(e|0)/4|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;k=b+80|0;e=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+1|0;a[k>>0]=e;a[k+1>>0]=e>>8;a[k+2>>0]=e>>16;a[k+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32760);return}function OD(e,f){e=e|0;f=f|0;var h=0,i=0,k=0,l=0,m=0;h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;k=e+24|0;l=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;f=l>>>2;if(f|0){i=h;while(1){m=zQ(c[h>>2]|0)|0;b[i>>1]=~~(((c[j>>2]=m,+g[j>>2])+1.0)*32767.0);f=f+-1|0;if(!f)break;else{i=i+2|0;h=h+4|0}}}m=(l|0)/2|0;a[k>>0]=m;a[k+1>>0]=m>>8;a[k+2>>0]=m>>16;a[k+3>>0]=m>>24;m=e+80|0;f=(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24)+1|0;a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,16);return}function PD(e,f){e=e|0;f=f|0;var h=0,i=0,k=0,l=0,m=0;h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;k=e+24|0;l=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;f=l>>>2;if(f|0){i=h;while(1){m=zQ(c[h>>2]|0)|0;b[i>>1]=~~((c[j>>2]=m,+g[j>>2])*32767.0);f=f+-1|0;if(!f)break;else{i=i+2|0;h=h+4|0}}}m=(l|0)/2|0;a[k>>0]=m;a[k+1>>0]=m>>8;a[k+2>>0]=m>>16;a[k+3>>0]=m>>24;m=e+80|0;f=(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24)+1|0;a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-32752);return}function QD(e,f){e=e|0;f=f|0;var h=0,i=0,k=0,l=0,m=0;h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;k=e+24|0;l=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;f=l>>>2;if(f|0){i=h;while(1){m=zQ(c[h>>2]|0)|0;b[i>>1]=yQ(~~(((c[j>>2]=m,+g[j>>2])+1.0)*32767.0)&65535|0)|0;f=f+-1|0;if(!f)break;else{i=i+2|0;h=h+4|0}}}m=(l|0)/2|0;a[k>>0]=m;a[k+1>>0]=m>>8;a[k+2>>0]=m>>16;a[k+3>>0]=m>>24;m=e+80|0;f=(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24)+1|0;a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,4112);return}function RD(e,f){e=e|0;f=f|0;var h=0,i=0,k=0,l=0,m=0;h=e+16|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;k=e+24|0;l=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;f=l>>>2;if(f|0){i=h;while(1){m=zQ(c[h>>2]|0)|0;b[i>>1]=yQ(~~((c[j>>2]=m,+g[j>>2])*32767.0)|0)|0;f=f+-1|0;if(!f)break;else{i=i+2|0;h=h+4|0}}}m=(l|0)/2|0;a[k>>0]=m;a[k+1>>0]=m>>8;a[k+2>>0]=m>>16;a[k+3>>0]=m>>24;m=e+80|0;f=(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24)+1|0;a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;f=e+40+(f<<2)|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f)return;Bg[f&255](e,-28656);return}function SD(b,e){b=b|0;e=e|0;var f=0,h=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){h=zQ(c[f>>2]|0)|0;c[f>>2]=~~((c[j>>2]=h,+g[j>>2])*2147483647.0);e=e+-1|0;if(!e)break;else f=f+4|0}}h=b+80|0;e=(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24)+1|0;a[h>>0]=e;a[h+1>>0]=e>>8;a[h+2>>0]=e>>16;a[h+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32736);return}function TD(b,e){b=b|0;e=e|0;var f=0,h=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){h=zQ(c[f>>2]|0)|0;c[f>>2]=zQ(~~((c[j>>2]=h,+g[j>>2])*2147483647.0)|0)|0;e=e+-1|0;if(!e)break;else f=f+4|0}}h=b+80|0;e=(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24)+1|0;a[h>>0]=e;a[h+1>>0]=e>>8;a[h+2>>0]=e>>16;a[h+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-28640);return}function UD(b,e){b=b|0;e=e|0;var f=0;e=b+24|0;e=(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)>>>2;if(e|0){f=b+16|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;while(1){c[f>>2]=zQ(c[f>>2]|0)|0;e=e+-1|0;if(!e)break;else f=f+4|0}}f=b+80|0;e=(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)+1|0;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;e=b+40+(e<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)return;Bg[e&255](b,-32480);return} +function $H(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,I=0,J=0,K=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;o=f+8|0;R=c[o>>2]|0;if(c[h>>2]&2|0){k=h+28|0;j=c[k>>2]|0;if(!j){xE(h,1);c[h>>2]=c[h>>2]|2;j=c[k>>2]|0}c[k>>2]=j+1}Q=h+16|0;L=c[Q>>2]|0;l=(c[h+20>>2]|0)+(O(L,c[i+4>>2]|0)|0)|0;p=c[f+4>>2]|0;n=a[p+9>>0]|0;l=l+(O(n&255,c[i>>2]|0)|0)|0;m=c[f+52>>2]|0;j=c[m+12>>2]|0;k=c[g+4>>2]|0;a:do if(!k)P=36;else{b:do switch(n<<24>>24){case 1:{i=k;k=0;while(1){f=(d[j>>0]|0)+k|0;N=a[j+1>>0]|0;k=N&255;j=j+2|0;if(!(N<<24>>24))if(!f){k=5;f=0}else P=10;else{f=f+k|0;j=j+k|0;P=10}do if((P|0)==10){P=0;if((f|0)==(R|0)){k=i+-1|0;if(!k){k=3;i=0;f=0;break}else{i=k;f=0}}k=0}while(0);switch(k&7){case 3:{P=36;break a}case 0:{k=f;break}default:break b}}}case 2:{i=k;k=0;while(1){k=(d[j>>0]|0)+k|0;N=a[j+1>>0]|0;f=N&255;j=j+2|0;if(!(N<<24>>24))if(!k){k=5;f=0}else P=17;else{j=j+(f<<1)|0;k=k+f|0;P=17}do if((P|0)==17){P=0;if((k|0)==(R|0)){k=i+-1|0;if(!k){k=6;i=0;f=0;break}else{i=k;f=0}}else f=k;k=0}while(0);switch(k&7){case 6:{P=36;break a}case 0:{k=f;break}default:break b}}}case 3:{i=k;k=0;while(1){k=(d[j>>0]|0)+k|0;N=a[j+1>>0]|0;f=N&255;j=j+2|0;if(!(N<<24>>24))if(!k){f=0;k=5}else P=24;else{j=j+(f*3|0)|0;k=k+f|0;P=24}do if((P|0)==24){P=0;if((k|0)==(R|0)){i=i+-1|0;if(!i){f=0;k=8;i=0;break}else k=0}f=k;k=0}while(0);switch(k&15){case 8:{P=36;break a}case 0:{k=f;break}default:break b}}}case 4:{i=0;while(1){i=(e[j>>1]|0)+i|0;N=b[j+2>>1]|0;f=N&65535;j=j+4|0;if(!(N<<16>>16))if(!i){f=k;i=0;k=5}else P=31;else{j=j+(f<<2)|0;i=i+f|0;P=31}do if((P|0)==31){P=0;if((i|0)==(R|0)){k=k+-1|0;if(!k){f=0;i=0;k=10;break}else i=0}f=k;k=0}while(0);switch(k&15){case 10:{P=36;break a}case 0:{k=f;break}default:break b}}}default:{P=36;break a}}while(0);switch(k|0){case 0:{P=36;break a}case 5:break a;default:{}}return 0}while(0);c:do if((P|0)==36){f=a[m+79>>0]|0;M=f&255;N=c[g>>2]|0;if((N|0)==0?(c[g+8>>2]|0)==(c[o>>2]|0):0){if(f<<24>>24==-1)switch(n<<24>>24){case 1:{f=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;P=a[j+1>>0]|0;i=P&255;j=j+2|0;if(!(P<<24>>24)){if(!k)break c}else{CQ(l+k|0,j|0,i|0)|0;k=k+i|0;j=j+i|0}}while((k|0)!=(R|0));f=f+-1|0;if(!f)break c;else l=l+(c[Q>>2]|0)|0}}case 2:{f=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;P=a[j+1>>0]|0;i=P&255;j=j+2|0;if(!(P<<24>>24)){if(!k)break c}else{P=i<<1;CQ(l+(k<<1)|0,j|0,P|0)|0;k=k+i|0;j=j+P|0}}while((k|0)!=(R|0));f=f+-1|0;if(!f)break c;else l=l+(c[Q>>2]|0)|0}}case 3:{f=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;P=a[j+1>>0]|0;i=P&255;j=j+2|0;if(!(P<<24>>24)){if(!k)break c}else{P=i*3|0;CQ(l+(k*3|0)|0,j|0,P|0)|0;k=k+i|0;j=j+P|0}}while((k|0)!=(R|0));f=f+-1|0;if(!f)break c;else l=l+(c[Q>>2]|0)|0}}case 4:{f=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;P=b[j+2>>1]|0;i=P&65535;j=j+4|0;if(!(P<<16>>16)){if(!k)break c}else{P=i<<2;CQ(l+(k<<2)|0,j|0,P|0)|0;k=k+i|0;j=j+P|0}}while((k|0)!=(R|0));f=f+-1|0;if(!f)break c;else l=l+(c[Q>>2]|0)|0}}default:break c}switch(n<<24>>24){case 4:{F=p+12|0;L=c[F>>2]|0;G=p+16|0;N=c[G>>2]|0;H=p+20|0;P=c[H>>2]|0;if((N|L|P|0)==16777215?(L|0)==65280|(N|0)==65280|(P|0)==65280:0){k=c[g+12>>2]|0;if(f<<24>>24==-128){o=l;while(1){i=0;do{i=(e[j>>1]|0)+i|0;P=b[j+2>>1]|0;n=P&65535;j=j+4|0;if(!(P<<16>>16)){if(!i)break c}else{l=o+(i<<2)|0;f=j;m=0;while(1){N=c[f>>2]|0;P=c[l>>2]|0;c[l>>2]=(((P&16711422)+(N&16711422)|0)>>>1)+(N&65793&P);m=m+1|0;if((m|0)==(n|0))break;else{l=l+4|0;f=f+4|0}}i=i+n|0;j=j+(n<<2)|0}}while((i|0)!=(R|0));k=k+-1|0;if(!k)break c;else o=o+(c[Q>>2]|0)|0}}else{o=l;while(1){i=0;do{i=(e[j>>1]|0)+i|0;P=b[j+2>>1]|0;n=P&65535;j=j+4|0;if(!(P<<16>>16)){if(!i)break c}else{l=o+(i<<2)|0;f=j;m=0;while(1){N=c[f>>2]|0;P=c[l>>2]|0;L=P&16711935;P=P&65280;c[l>>2]=((O((N&16711935)-L|0,M)|0)>>>8)+L&16711935|((O((N&65280)-P|0,M)|0)>>>8)+P&65280;m=m+1|0;if((m|0)==(n|0))break;else{l=l+4|0;f=f+4|0}}i=i+n|0;j=j+(n<<2)|0}}while((i|0)!=(R|0));k=k+-1|0;if(!k)break c;else o=o+(c[Q>>2]|0)|0}}}z=p+28|0;A=p+32|0;B=p+29|0;C=p+33|0;D=p+30|0;E=p+34|0;y=p+24|0;x=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;P=b[j+2>>1]|0;w=P&65535;j=j+4|0;if(!(P<<16>>16)){if(!k)break c}else{n=d[z>>0]|0;q=c[18232+(n<<2)>>2]|0;r=a[A>>0]|0;o=d[B>>0]|0;s=c[18232+(o<<2)>>2]|0;t=a[C>>0]|0;p=d[D>>0]|0;u=c[18232+(p<<2)>>2]|0;v=a[E>>0]|0;i=l+(k<<2)|0;f=j;m=0;while(1){K=c[f>>2]|0;g=c[i>>2]|0;U=c[F>>2]|0;L=r&255;S=c[G>>2]|0;N=t&255;J=c[H>>2]|0;P=v&255;T=d[q+((U&g)>>>L)>>0]|0;I=d[s+((S&g)>>>N)>>0]|0;g=d[u+((J&g)>>>P)>>0]|0;L=(((O((d[q+((U&K)>>>L)>>0]|0)-T|0,M)|0)>>>8)+T|0)>>>n<>>N)>>0]|0)-I|0,M)|0)>>>8)+I|0)>>>o<>>P)>>0]|0)-g|0,M)|0)>>>8)+g|0)>>>p<>2]=L|c[y>>2]|N|P;m=m+1|0;if((m|0)==(w|0))break;else{i=i+4|0;f=f+4|0}}k=k+w|0;j=j+(w<<2)|0}}while((k|0)!=(R|0));x=x+-1|0;if(!x)break c;else l=l+(c[Q>>2]|0)|0}}case 2:{G=c[p+12>>2]|0;H=c[p+16>>2]|0;I=c[p+20>>2]|0;k=H|G|I;d:do if((k|0)<65535){switch(k|0){case 32767:break;default:break d}if((G|0)==992|(H|0)==992|(I|0)==992){k=c[g+12>>2]|0;if(f<<24>>24==-128){r=k;q=l}else{p=M>>>3;o=k;n=l;while(1){k=0;do{k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;m=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{i=0;l=j;f=n+(k<<1)|0;while(1){T=e[l>>1]|0;U=e[f>>1]|0;U=(U<<16|U)&65043487;U=((O(((T<<16|T)&65043487)-U|0,p)|0)>>>5)+U&65043487;b[f>>1]=U>>>16|U;i=i+1|0;if((i|0)==(m|0))break;else{l=l+2|0;f=f+2|0}}k=k+m|0;j=j+(m<<1)|0}}while((k|0)!=(R|0));o=o+-1|0;if(!o)break c;else n=n+L|0}}while(1){k=0;do{k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;o=U&255;p=j+2|0;if(!(U<<24>>24))if(!k)break c;else j=p;else{f=q+(k<<1)|0;i=p;do if(!((f^i)&3)){if(!(i&3)){l=o;i=p;j=f}else{i=b[p>>1]|0;l=b[f>>1]|0;b[f>>1]=(((l&-1058&65535)+(i&-1058&65535)|0)>>>1)+(i&1057&l&65535);l=o+-1|0;i=j+4|0;j=f+2|0}if(l>>>0>1){m=l+-2|0;n=j+4|0;f=i;while(1){T=c[f>>2]|0;U=c[j>>2]|0;c[j>>2]=(U>>>1&2112847343)+(T>>>1&2112847343)+(T&69272609&U);l=l+-2|0;if(l>>>0<=1)break;else{f=f+4|0;j=j+4|0}}j=m&-2;l=m-j|0;i=i+4+(j<<1)|0;j=n+(j<<1)|0}if(!l)break;T=b[i>>1]|0;U=b[j>>1]|0;b[j>>1]=(((U&-1058&65535)+(T&-1058&65535)|0)>>>1)+(T&1057&U&65535)}else{i=o;l=p;j=f;while(1){i=i+-1|0;T=b[l>>1]|0;U=b[j>>1]|0;b[j>>1]=(((U&-1058&65535)+(T&-1058&65535)|0)>>>1)+(T&1057&U&65535);if(!i)break;else{l=l+2|0;j=j+2|0}}}while(0);k=k+o|0;j=p+(o<<1)|0}}while((k|0)!=(R|0));r=r+-1|0;if(!r)break c;else q=q+(c[Q>>2]|0)|0}}}else{switch(k|0){case 65535:break;default:break d}if((G|0)==2016|(H|0)==2016|(I|0)==2016){k=c[g+12>>2]|0;if(f<<24>>24==-128){r=k;q=l}else{p=M>>>3;o=k;n=l;while(1){k=0;do{k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;m=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{i=0;l=j;f=n+(k<<1)|0;while(1){T=e[l>>1]|0;U=e[f>>1]|0;U=(U<<16|U)&132184095;U=((O(((T<<16|T)&132184095)-U|0,p)|0)>>>5)+U&132184095;b[f>>1]=U>>>16|U;i=i+1|0;if((i|0)==(m|0))break;else{l=l+2|0;f=f+2|0}}k=k+m|0;j=j+(m<<1)|0}}while((k|0)!=(R|0));o=o+-1|0;if(!o)break c;else n=n+L|0}}while(1){k=0;do{k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;o=U&255;p=j+2|0;if(!(U<<24>>24))if(!k)break c;else j=p;else{f=q+(k<<1)|0;i=p;do if(!((f^i)&3)){if(!(i&3)){l=o;i=p;j=f}else{i=b[p>>1]|0;l=b[f>>1]|0;b[f>>1]=(((l&-2082&65535)+(i&-2082&65535)|0)>>>1)+(i&2081&l&65535);l=o+-1|0;i=j+4|0;j=f+2|0}if(l>>>0>1){m=l+-2|0;n=j+4|0;f=i;while(1){T=c[f>>2]|0;U=c[j>>2]|0;c[j>>2]=(U>>>1&2079292399)+(T>>>1&2079292399)+(T&136382497&U);l=l+-2|0;if(l>>>0<=1)break;else{f=f+4|0;j=j+4|0}}j=m&-2;l=m-j|0;i=i+4+(j<<1)|0;j=n+(j<<1)|0}if(!l)break;T=b[i>>1]|0;U=b[j>>1]|0;b[j>>1]=(((U&-2082&65535)+(T&-2082&65535)|0)>>>1)+(T&2081&U&65535)}else{i=o;l=p;j=f;while(1){i=i+-1|0;T=b[l>>1]|0;U=b[j>>1]|0;b[j>>1]=(((U&-2082&65535)+(T&-2082&65535)|0)>>>1)+(T&2081&U&65535);if(!i)break;else{l=l+2|0;j=j+2|0}}}while(0);k=k+o|0;j=p+(o<<1)|0}}while((k|0)!=(R|0));r=r+-1|0;if(!r)break c;else q=q+(c[Q>>2]|0)|0}}}while(0);A=p+28|0;B=p+32|0;C=p+29|0;D=p+33|0;E=p+30|0;F=p+34|0;z=p+24|0;y=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;x=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{n=d[A>>0]|0;q=c[18232+(n<<2)>>2]|0;r=a[B>>0]|0;o=d[C>>0]|0;s=c[18232+(o<<2)>>2]|0;t=a[D>>0]|0;p=d[E>>0]|0;u=c[18232+(p<<2)>>2]|0;v=a[F>>0]|0;w=c[z>>2]|0;i=l+(k<<1)|0;f=j;m=0;while(1){S=e[f>>1]|0;T=e[i>>1]|0;N=r&255;Q=t&255;U=v&255;g=d[q+((G&T)>>>N)>>0]|0;P=d[s+((H&T)>>>Q)>>0]|0;T=d[u+((I&T)>>>U)>>0]|0;b[i>>1]=(((O((d[q+((G&S)>>>N)>>0]|0)-g|0,M)|0)>>>8)+g|0)>>>n<>>Q)>>0]|0)-P|0,M)|0)>>>8)+P|0)>>>o<>>U)>>0]|0)-T|0,M)|0)>>>8)+T|0)>>>p<>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;n=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{i=l+(k*3|0)|0;f=j;m=0;while(1){K=(d[f+1>>0]|0)<<8|(d[f+2>>0]|0)<<16|(d[f>>0]|0);U=i+2|0;S=i+1|0;g=(d[S>>0]|0)<<8|(d[U>>0]|0)<<16|(d[i>>0]|0);D=d[q>>0]|0;A=c[18232+(D<<2)>>2]|0;B=c[r>>2]|0;N=d[s>>0]|0;H=d[t>>0]|0;E=c[18232+(H<<2)>>2]|0;F=c[u>>2]|0;P=d[v>>0]|0;L=d[w>>0]|0;I=c[18232+(L<<2)>>2]|0;J=c[x>>2]|0;T=d[y>>0]|0;C=d[A+((g&B)>>>N)>>0]|0;G=d[E+((F&g)>>>P)>>0]|0;g=d[I+((J&g)>>>T)>>0]|0;N=(((O((d[A+((B&K)>>>N)>>0]|0)-C|0,M)|0)>>>8)+C|0)>>>D<>>P)>>0]|0)-G|0,M)|0)>>>8)+G|0)>>>H<>>T)>>0]|0)-g|0,M)|0)>>>8)+g|0)>>>L<>2]|P|T;a[i>>0]=T;a[S>>0]=T>>>8;a[U>>0]=T>>>16;m=m+1|0;if((m|0)==(n|0))break;else{i=i+3|0;f=f+3|0}}k=k+n|0;j=j+(n*3|0)|0}}while((k|0)!=(R|0));o=o+-1|0;if(!o)break c;else l=l+(c[Q>>2]|0)|0}}default:break c}}i=c[h+4>>2]|0;k=a[i+9>>0]|0;if(f<<24>>24==-1)switch(k<<24>>24){case 1:{o=(c[g+8>>2]|0)+N|0;n=l+(0-N)|0;m=c[g+12>>2]|0;while(1){k=0;e:while(1){k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;f=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{f:do if((k|0)<(o|0)){l=N-k|0;if((l|0)>0){i=f-l|0;if((i|0)<1)i=9;else P=46}else{l=0;i=f;P=46}if((P|0)==46){P=0;T=l+k|0;U=o-T|0;CQ(n+T|0,j+l|0,((i|0)>(U|0)?U:i)|0)|0;i=0}switch(i&15){case 9:case 0:break f;default:{}}if(!i)continue e;else break c}while(0);j=j+f|0;k=k+f|0}if((k|0)==(R|0))break}m=m+-1|0;if(!m)break c;else n=n+(c[Q>>2]|0)|0}}case 2:{o=(c[g+8>>2]|0)+N|0;n=c[g+12>>2]|0;m=l+(0-(N<<1))|0;while(1){k=0;g:while(1){k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;f=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{h:do if((k|0)<(o|0)){l=N-k|0;if((l|0)>0){i=f-l|0;if((i|0)<1)i=14;else P=59}else{l=0;i=f;P=59}if((P|0)==59){P=0;T=l+k|0;U=o-T|0;CQ(m+(T<<1)|0,j+(l<<1)|0,((i|0)>(U|0)?U:i)<<1|0)|0;i=0}switch(i&15){case 14:case 0:break h;default:{}}if(!i)continue g;else break c}while(0);k=k+f|0;j=j+(f<<1)|0}if((k|0)==(R|0))break}n=n+-1|0;if(!n)break c;else m=m+(c[Q>>2]|0)|0}}case 3:{o=(c[g+8>>2]|0)+N|0;n=c[g+12>>2]|0;m=l+(O(N,-3)|0)|0;while(1){k=0;i:while(1){k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;f=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{j:do if((k|0)<(o|0)){l=N-k|0;if((l|0)>0){i=f-l|0;if((i|0)<1)i=19;else P=72}else{l=0;i=f;P=72}if((P|0)==72){P=0;T=l+k|0;U=o-T|0;CQ(m+(T*3|0)|0,j+(l*3|0)|0,((i|0)>(U|0)?U:i)*3|0)|0;i=0}switch(i&31){case 19:case 0:break j;default:{}}if(!i)continue i;else break c}while(0);k=k+f|0;j=j+(f*3|0)|0}if((k|0)==(R|0))break}n=n+-1|0;if(!n)break c;else m=m+(c[Q>>2]|0)|0}}case 4:{o=(c[g+8>>2]|0)+N|0;n=c[g+12>>2]|0;m=l+(0-(N<<2))|0;while(1){k=0;k:while(1){k=(e[j>>1]|0)+k|0;U=b[j+2>>1]|0;f=U&65535;j=j+4|0;if(!(U<<16>>16)){if(!k)break c}else{l:do if((k|0)<(o|0)){l=N-k|0;if((l|0)>0){i=f-l|0;if((i|0)<1)i=24;else P=85}else{l=0;i=f;P=85}if((P|0)==85){P=0;T=l+k|0;U=o-T|0;CQ(m+(T<<2)|0,j+(l<<2)|0,((i|0)>(U|0)?U:i)<<2|0)|0;i=0}switch(i&31){case 24:case 0:break l;default:{}}if(!i)continue k;else break c}while(0);j=j+(f<<2)|0;k=k+f|0}if((k|0)==(R|0))break}n=n+-1|0;if(!n)break c;else m=m+(c[Q>>2]|0)|0}}default:break c}switch(k<<24>>24){case 4:{H=i+12|0;S=c[H>>2]|0;I=i+16|0;T=c[I>>2]|0;J=i+20|0;U=c[J>>2]|0;if((T|S|U|0)==16777215?(S|0)==65280|(T|0)==65280|(U|0)==65280:0){k=c[g+12>>2]|0;q=N+(c[g+8>>2]|0)|0;i=l+(0-(N<<2))|0;if(f<<24>>24==-128){p=k;o=i;while(1){k=0;m:while(1){k=(e[j>>1]|0)+k|0;U=b[j+2>>1]|0;n=U&65535;j=j+4|0;if(!(U<<16>>16)){if(!k)break c}else{n:do if((k|0)<(q|0)){l=N-k|0;if((l|0)>0){i=n-l|0;if((i|0)<1)i=108;else P=210}else{i=n;l=0;P=210}if((P|0)==210){P=0;f=l+k|0;m=q-f|0;m=(i|0)>(m|0)?m:i;if((m|0)>0){f=o+(f<<2)|0;i=j+(l<<2)|0;l=0;while(1){T=c[i>>2]|0;U=c[f>>2]|0;c[f>>2]=(((U&16711422)+(T&16711422)|0)>>>1)+(T&65793&U);l=l+1|0;if((l|0)>=(m|0)){i=0;break}else{f=f+4|0;i=i+4|0}}}else i=0}switch(i&127){case 108:case 0:break n;default:{}}if(!i)continue m;else break c}while(0);k=k+n|0;j=j+(n<<2)|0}if((k|0)==(R|0))break}p=p+-1|0;if(!p)break c;else o=o+(c[Q>>2]|0)|0}}else{p=k;o=i;while(1){k=0;o:while(1){k=(e[j>>1]|0)+k|0;U=b[j+2>>1]|0;n=U&65535;j=j+4|0;if(!(U<<16>>16)){if(!k)break c}else{p:do if((k|0)<(q|0)){l=N-k|0;if((l|0)>0){i=n-l|0;if((i|0)<1)i=118;else P=223}else{i=n;l=0;P=223}if((P|0)==223){P=0;f=l+k|0;m=q-f|0;m=(i|0)>(m|0)?m:i;if((m|0)>0){f=o+(f<<2)|0;i=j+(l<<2)|0;l=0;while(1){T=c[i>>2]|0;U=c[f>>2]|0;S=U&16711935;U=U&65280;c[f>>2]=((O((T&16711935)-S|0,M)|0)>>>8)+S&16711935|((O((T&65280)-U|0,M)|0)>>>8)+U&65280;l=l+1|0;if((l|0)>=(m|0)){i=0;break}else{f=f+4|0;i=i+4|0}}}else i=0}switch(i&127){case 118:case 0:break p;default:{}}if(!i)continue o;else break c}while(0);k=k+n|0;j=j+(n<<2)|0}if((k|0)==(R|0))break}p=p+-1|0;if(!p)break c;else o=o+(c[Q>>2]|0)|0}}}A=(c[g+8>>2]|0)+N|0;B=i+28|0;C=i+32|0;D=i+29|0;E=i+33|0;F=i+30|0;G=i+34|0;z=i+24|0;y=c[g+12>>2]|0;x=l+(0-(N<<2))|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;U=b[j+2>>1]|0;w=U&65535;j=j+4|0;if(!(U<<16>>16)){if(!k)break c}else{do if((k|0)<(A|0)){l=N-k|0;if((l|0)>0){i=w-l|0;if((i|0)<1)break}else{i=w;l=0}f=l+k|0;m=A-f|0;m=(i|0)>(m|0)?m:i;if((m|0)>0){n=d[B>>0]|0;q=c[18232+(n<<2)>>2]|0;o=d[D>>0]|0;r=c[18232+(o<<2)>>2]|0;p=d[F>>0]|0;s=c[18232+(p<<2)>>2]|0;t=d[C>>0]|0;u=d[E>>0]|0;v=d[G>>0]|0;f=x+(f<<2)|0;i=j+(l<<2)|0;l=0;while(1){P=c[i>>2]|0;U=c[f>>2]|0;K=c[H>>2]|0;g=c[I>>2]|0;L=c[J>>2]|0;S=d[q+((K&U)>>>t)>>0]|0;T=d[r+((g&U)>>>u)>>0]|0;U=d[s+((L&U)>>>v)>>0]|0;S=(((O((d[q+((K&P)>>>t)>>0]|0)-S|0,M)|0)>>>8)+S|0)>>>n<>>u)>>0]|0)-T|0,M)|0)>>>8)+T|0)>>>o<>>v)>>0]|0)-U|0,M)|0)>>>8)+U|0)>>>p<>2]=S|c[z>>2]|T|U;l=l+1|0;if((l|0)>=(m|0))break;else{f=f+4|0;i=i+4|0}}}}while(0);k=k+w|0;j=j+(w<<2)|0}}while((k|0)!=(R|0));y=y+-1|0;if(!y)break;else x=x+(c[Q>>2]|0)|0}break}case 2:{I=c[i+12>>2]|0;J=c[i+16>>2]|0;K=c[i+20>>2]|0;k=J|I|K;q:do if((k|0)<65535){switch(k|0){case 32767:break;default:break q}if((I|0)==992|(J|0)==992|(K|0)==992){k=c[g+12>>2]|0;s=N+(c[g+8>>2]|0)|0;i=l+(0-(N<<1))|0;if(f<<24>>24==-128){r=k;q=i}else{r=M>>>3;q=k;p=i;while(1){k=0;r:while(1){k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;o=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{s:do if((k|0)<(s|0)){i=N-k|0;if((i|0)>0){l=o-i|0;if((l|0)<1)i=78;else P=162}else{i=0;l=o;P=162}if((P|0)==162){P=0;n=i+k|0;f=s-n|0;f=(l|0)>(f|0)?f:l;if((f|0)>0){m=0;l=j+(i<<1)|0;i=p+(n<<1)|0;while(1){T=e[l>>1]|0;U=e[i>>1]|0;U=(U<<16|U)&65043487;U=((O(((T<<16|T)&65043487)-U|0,r)|0)>>>5)+U&65043487;b[i>>1]=U>>>16|U;m=m+1|0;if((m|0)>=(f|0)){i=0;break}else{l=l+2|0;i=i+2|0}}}else i=0}switch(i&127){case 78:case 0:break s;default:{}}if(!i)continue r;else break c}while(0);k=k+o|0;j=j+(o<<1)|0}if((k|0)==(R|0))break}q=q+-1|0;if(!q)break c;else p=p+L|0}}while(1){k=0;t:while(1){k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;p=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{u:do if((k|0)<(s|0)){l=N-k|0;if((l|0)>0){i=p-l|0;if((i|0)<1)i=60;else P=141}else{l=0;i=p;P=141}v:do if((P|0)==141){P=0;f=l+k|0;m=s-f|0;m=(i|0)>(m|0)?m:i;l=j+(l<<1)|0;i=q+(f<<1)|0;f=l;if((i^f)&3|0){if(!m){i=0;break}while(1){m=m+-1|0;T=b[l>>1]|0;U=b[i>>1]|0;b[i>>1]=(((U&-1058&65535)+(T&-1058&65535)|0)>>>1)+(T&1057&U&65535);if(!m){i=0;break v}else{l=l+2|0;i=i+2|0}}}if(f&3){T=b[l>>1]|0;U=b[i>>1]|0;b[i>>1]=(((U&-1058&65535)+(T&-1058&65535)|0)>>>1)+(T&1057&U&65535);m=m+-1|0;l=l+2|0;i=i+2|0}if(m>>>0>1){o=m+-2|0;f=l;n=i;while(1){T=c[f>>2]|0;U=c[n>>2]|0;c[n>>2]=(T&69272609&U)+(T>>>1&2112847343)+(U>>>1&2112847343);m=m+-2|0;if(m>>>0<=1)break;else{f=f+4|0;n=n+4|0}}U=o&-2;m=o-U|0;l=l+4+(U<<1)|0;i=i+4+(U<<1)|0}if(!m){i=0;break}T=b[l>>1]|0;U=b[i>>1]|0;b[i>>1]=(((U&-1058&65535)+(T&-1058&65535)|0)>>>1)+(T&1057&U&65535);i=0}while(0);switch(i&63){case 60:case 0:break u;default:{}}if(!i)continue t;else break c}while(0);k=k+p|0;j=j+(p<<1)|0}if((k|0)==(R|0))break}r=r+-1|0;if(!r)break c;else q=q+(c[Q>>2]|0)|0}}}else{switch(k|0){case 65535:break;default:break q}if((I|0)==2016|(J|0)==2016|(K|0)==2016){k=c[g+12>>2]|0;s=N+(c[g+8>>2]|0)|0;i=l+(0-(N<<1))|0;if(f<<24>>24==-128){r=k;q=i}else{r=M>>>3;q=k;p=i;while(1){k=0;w:while(1){n=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;o=U&255;j=j+2|0;if(!(U<<24>>24))if(!n)break c;else k=n;else{x:do if((n|0)<(s|0)){k=N-n|0;if((k|0)>0){i=o-k|0;if((i|0)<1)k=49;else P=123}else{k=0;i=o;P=123}if((P|0)==123){P=0;m=k+n|0;l=s-m|0;l=(i|0)>(l|0)?l:i;if((l|0)>0){f=0;i=j+(k<<1)|0;k=p+(m<<1)|0;while(1){T=e[i>>1]|0;U=e[k>>1]|0;U=(U<<16|U)&132184095;U=((O(((T<<16|T)&132184095)-U|0,r)|0)>>>5)+U&132184095;b[k>>1]=U>>>16|U;f=f+1|0;if((f|0)>=(l|0)){k=0;break}else{i=i+2|0;k=k+2|0}}}else k=0}switch(k&63){case 49:case 0:break x;default:{}}if(!k){k=n;continue w}else break c}while(0);k=n+o|0;j=j+(o<<1)|0}if((k|0)==(R|0))break}q=q+-1|0;if(!q)break c;else p=p+L|0}}while(1){k=0;y:while(1){k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;p=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{z:do if((k|0)<(s|0)){l=N-k|0;if((l|0)>0){i=p-l|0;if((i|0)<1)i=31;else P=102}else{l=0;i=p;P=102}A:do if((P|0)==102){P=0;f=l+k|0;m=s-f|0;m=(i|0)>(m|0)?m:i;l=j+(l<<1)|0;i=q+(f<<1)|0;f=l;if((i^f)&3|0){if(!m){i=0;break}while(1){m=m+-1|0;T=b[l>>1]|0;U=b[i>>1]|0;b[i>>1]=(((U&-2082&65535)+(T&-2082&65535)|0)>>>1)+(T&2081&U&65535);if(!m){i=0;break A}else{l=l+2|0;i=i+2|0}}}if(f&3){T=b[l>>1]|0;U=b[i>>1]|0;b[i>>1]=(((U&-2082&65535)+(T&-2082&65535)|0)>>>1)+(T&2081&U&65535);m=m+-1|0;l=l+2|0;i=i+2|0}if(m>>>0>1){o=m+-2|0;f=l;n=i;while(1){T=c[f>>2]|0;U=c[n>>2]|0;c[n>>2]=(T&136382497&U)+(T>>>1&2079292399)+(U>>>1&2079292399);m=m+-2|0;if(m>>>0<=1)break;else{f=f+4|0;n=n+4|0}}U=o&-2;m=o-U|0;l=l+4+(U<<1)|0;i=i+4+(U<<1)|0}if(!m){i=0;break}T=b[l>>1]|0;U=b[i>>1]|0;b[i>>1]=(((U&-2082&65535)+(T&-2082&65535)|0)>>>1)+(T&2081&U&65535);i=0}while(0);switch(i&31){case 31:case 0:break z;default:{}}if(!i)continue y;else break c}while(0);k=k+p|0;j=j+(p<<1)|0}if((k|0)==(R|0))break}r=r+-1|0;if(!r)break c;else q=q+(c[Q>>2]|0)|0}}}while(0);B=(c[g+8>>2]|0)+N|0;C=i+28|0;D=i+32|0;E=i+29|0;F=i+33|0;G=i+30|0;H=i+34|0;A=i+24|0;z=c[g+12>>2]|0;y=l+(0-(N<<1))|0;while(1){k=0;B:while(1){k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;x=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{C:do if((k|0)<(B|0)){l=N-k|0;if((l|0)>0){i=x-l|0;if((i|0)<1)i=88;else P=178}else{i=x;l=0;P=178}if((P|0)==178){P=0;f=l+k|0;m=B-f|0;m=(i|0)>(m|0)?m:i;if((m|0)>0){n=d[C>>0]|0;q=c[18232+(n<<2)>>2]|0;o=d[E>>0]|0;r=c[18232+(o<<2)>>2]|0;p=d[G>>0]|0;s=c[18232+(p<<2)>>2]|0;t=c[A>>2]|0;u=d[D>>0]|0;v=d[F>>0]|0;w=d[H>>0]|0;f=y+(f<<1)|0;i=j+(l<<1)|0;l=0;while(1){T=e[i>>1]|0;U=e[f>>1]|0;Q=d[q+((U&I)>>>u)>>0]|0;S=d[r+((U&J)>>>v)>>0]|0;U=d[s+((U&K)>>>w)>>0]|0;b[f>>1]=(((O((d[q+((T&I)>>>u)>>0]|0)-Q|0,M)|0)>>>8)+Q|0)>>>n<>>v)>>0]|0)-S|0,M)|0)>>>8)+S|0)>>>o<>>w)>>0]|0)-U|0,M)|0)>>>8)+U|0)>>>p<=(m|0)){i=0;break}else{f=f+2|0;i=i+2|0}}}else i=0}switch(i&127){case 88:case 0:break C;default:{}}if(!i)continue B;else break c}while(0);k=k+x|0;j=j+(x<<1)|0}if((k|0)==(R|0))break}z=z+-1|0;if(!z)break;else y=y+L|0}break}case 3:{r=(c[g+8>>2]|0)+N|0;s=i+28|0;t=i+12|0;u=i+32|0;v=i+29|0;w=i+16|0;x=i+33|0;y=i+30|0;z=i+20|0;A=i+34|0;q=i+24|0;p=c[g+12>>2]|0;o=l+(O(N,-3)|0)|0;while(1){k=0;D:while(1){k=(d[j>>0]|0)+k|0;U=a[j+1>>0]|0;n=U&255;j=j+2|0;if(!(U<<24>>24)){if(!k)break c}else{E:do if((k|0)<(r|0)){l=N-k|0;if((l|0)>0){i=n-l|0;if((i|0)<1)i=98;else P=193}else{i=n;l=0;P=193}if((P|0)==193){P=0;f=l+k|0;m=r-f|0;m=(i|0)>(m|0)?m:i;if((m|0)>0){f=o+(f*3|0)|0;i=j+(l*3|0)|0;l=0;while(1){I=(d[i+1>>0]|0)<<8|(d[i+2>>0]|0)<<16|(d[i>>0]|0);U=f+2|0;S=f+1|0;J=(d[S>>0]|0)<<8|(d[U>>0]|0)<<16|(d[f>>0]|0);B=d[s>>0]|0;X=c[18232+(B<<2)>>2]|0;W=c[t>>2]|0;g=d[u>>0]|0;F=d[v>>0]|0;C=c[18232+(F<<2)>>2]|0;D=c[w>>2]|0;L=d[x>>0]|0;K=d[y>>0]|0;G=c[18232+(K<<2)>>2]|0;H=c[z>>2]|0;T=d[A>>0]|0;V=d[X+((J&W)>>>g)>>0]|0;E=d[C+((D&J)>>>L)>>0]|0;J=d[G+((H&J)>>>T)>>0]|0;g=(((O((d[X+((W&I)>>>g)>>0]|0)-V|0,M)|0)>>>8)+V|0)>>>B<>>L)>>0]|0)-E|0,M)|0)>>>8)+E|0)>>>F<>>T)>>0]|0)-J|0,M)|0)>>>8)+J|0)>>>K<>2]|L|T;a[f>>0]=T;a[S>>0]=T>>>8;a[U>>0]=T>>>16;l=l+1|0;if((l|0)>=(m|0)){i=0;break}else{f=f+3|0;i=i+3|0}}}else i=0}switch(i&127){case 98:case 0:break E;default:{}}if(!i)continue D;else break c}while(0);k=k+n|0;j=j+(n*3|0)|0}if((k|0)==(R|0))break}p=p+-1|0;if(!p)break;else o=o+(c[Q>>2]|0)|0}break}default:break c}}while(0);j=c[h>>2]|0;if(!(j&2))return 0;k=h+28|0;i=c[k>>2]|0;if(!i)return 0;c[k>>2]=i+-1;if((i|0)>1)return 0;c[h>>2]=j&-3;BE(h)|0;return 0}function aI(a){a=a|0;return d[a>>0]|0|0}function bI(a){a=a|0;return e[a>>1]|0|0}function cI(a){a=a|0;return (d[a+1>>0]|0)<<8|(d[a>>0]|0)|(d[a+2>>0]|0)<<16|0}function dI(a){a=a|0;return c[a>>2]|0}function eI(a){a=a|0;var b=0,d=0,e=0,f=0;e=l;l=l+16|0;b=e;if(!a){c[b>>2]=289134;_D(309840,b);l=e;return}b=a+36|0;d=c[b>>2]|0;c[b>>2]=d+-1;if((d|0)>1){l=e;return}b=c[79959]|0;a:do if((b|0)!=(a|0)){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]}}else c[79959]=c[a+40>>2];while(0);b=c[a+4>>2]|0;if(b|0?(f=b+12|0,d=c[f>>2]|0,c[f>>2]=d+-1,(d|0)<=1):0){UM(c[b+4>>2]|0);UM(b)}UM(a);l=e;return}function fI(e,f,g){e=e|0;f=f|0;g=g|0;var 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,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,P=0,Q=0,R=0,S=0,T=0;S=l;l=l+48|0;o=S+16|0;n=S+24|0;if(!e){_D(295902,S);R=-1;l=S;return R|0}p=c[e+4>>2]|0;if((d[p+8>>0]|0)<8){_D(289263,S+8|0);R=-1;l=S;return R|0}h=e+36|0;do if(!f){if((c[e+44>>2]|0)<1){R=0;l=S;return R|0}if((c[e+48>>2]|0)<1){R=0;l=S;return R|0}else j=h}else{i=c[f+8>>2]|0;if((((i|0)>=1?(j=c[f+12>>2]|0,(j|0)>=1):0)?(k=c[e+44>>2]|0,(k|0)>=1):0)?(m=c[e+48>>2]|0,(m|0)>=1):0){T=c[f>>2]|0;R=i+T|0;h=c[h>>2]|0;i=k+h|0;k=(h|0)>(T|0)?h:T;c[n>>2]=k;k=((i|0)<(R|0)?i:R)-k|0;c[n+8>>2]=k;R=c[f+4>>2]|0;j=j+R|0;i=c[e+40>>2]|0;m=m+i|0;R=(i|0)>(R|0)?i:R;c[n+4>>2]=R;R=((m|0)<(j|0)?m:j)-R|0;c[n+12>>2]=R;if((k|0)>0&(R|0)>0){j=n;break}else Q=0;l=S;return Q|0}c[n+8>>2]=0;c[n+12>>2]=0;T=0;l=S;return T|0}while(0);f=c[e+20>>2]|0;if(!f){_D(289306,o);T=-1;l=S;return T|0}R=c[e+16>>2]|0;h=f+(O(R,c[j+4>>2]|0)|0)|0;T=a[p+9>>0]|0;h=h+(O(T&255,c[j>>2]|0)|0)|0;switch(T<<24>>24){case 1:{m=g<<8|g;m=m<<16|m;n=c[j+8>>2]|0;T=c[j+12>>2]|0;f=T+-1|0;if(!T){T=0;l=S;return T|0}e=g&255;k=n+-1|0;if((n|0)<=3){i=n&-4;if(!(n&3)){T=0;l=S;return T|0}switch(n&3){case 3:{while(1){g=h+i|0;T=g+1|0;a[g>>0]=e;a[T>>0]=e;a[T+1>>0]=e;if(!f){Q=0;break}else{h=h+R|0;f=f+-1|0}}l=S;return Q|0}case 2:{while(1){T=h+i|0;a[T>>0]=e;a[T+1>>0]=e;if(!f){Q=0;break}else{h=h+R|0;f=f+-1|0}}l=S;return Q|0}case 1:{while(1){a[h+i>>0]=e;if(!f){Q=0;break}else{h=h+R|0;f=f+-1|0}}l=S;return Q|0}default:{T=0;l=S;return T|0}}}a:while(1){switch(h&3){case 1:{a[h>>0]=e;r=h+1|0;t=k;P=26;break}case 2:{r=h;t=n;P=26;break}case 3:{v=h;x=n;P=27;break}default:{z=h;B=n}}if((P|0)==26){a[r>>0]=e;v=r+1|0;x=t+-1|0;P=27}if((P|0)==27){P=0;a[v>>0]=e;z=v+1|0;B=x+-1|0}i=B>>2;j=(i+3|0)>>>2;if(i|0){switch(i&3){case 0:{q=j;s=z;P=30;break}case 3:{u=j;w=z;P=31;break}case 2:{y=j;A=z;P=32;break}case 1:{C=j;D=z;P=33;break}default:{P=40;break a}}while(1)if((P|0)==30){c[s>>2]=m;u=q;w=s+4|0;P=31;continue}else if((P|0)==31){c[w>>2]=m;y=u;A=w+4|0;P=32;continue}else if((P|0)==32){c[A>>2]=m;C=y;D=A+4|0;P=33;continue}else if((P|0)==33){P=0;c[D>>2]=m;i=C+-1|0;if(!i)break;else{q=i;s=D+4|0;P=30;continue}}}b:do if(B&3|0){i=z+(B&-4)|0;switch(B&3){case 3:{a[i>>0]=e;E=i+1|0;P=37;break}case 2:{E=i;P=37;break}case 1:{F=i;break}default:break b}if((P|0)==37){P=0;a[E>>0]=e;F=E+1|0}a[F>>0]=e}while(0);if(!f){Q=0;P=80;break}else{h=h+R|0;f=f+-1|0}}if((P|0)!=40)if((P|0)==80){l=S;return Q|0}break}case 2:{e=g<<16|g;o=c[j+8>>2]|0;T=c[j+12>>2]|0;f=T+-1|0;if(!T){T=0;l=S;return T|0}q=o+-1|0;p=g&65535;if((o|0)<=1){if(!(o&1)){T=0;l=S;return T|0}while(1){b[h+(q<<1)>>1]=p;if(!f){Q=0;break}else{h=h+R|0;f=f+-1|0}}l=S;return Q|0}c:while(1){i=h+2|0;if(!(h&2)){m=h;n=o;k=h}else{b[h>>1]=p;m=i;n=q;k=i}i=n>>1;j=(i+3|0)>>>2;if(i|0){switch(i&3){case 0:{G=j;H=k;P=48;break}case 3:{I=j;J=k;P=49;break}case 2:{K=j;L=k;P=50;break}case 1:{M=j;N=k;P=51;break}default:{P=55;break c}}while(1)if((P|0)==48){c[H>>2]=e;I=G;J=H+4|0;P=49;continue}else if((P|0)==49){c[J>>2]=e;K=I;L=J+4|0;P=50;continue}else if((P|0)==50){c[L>>2]=e;M=K;N=L+4|0;P=51;continue}else if((P|0)==51){c[N>>2]=e;i=M+-1|0;if(!i)break;else{G=i;H=N+4|0;P=48;continue}}}if(n&1|0)b[m+(n+-1<<1)>>1]=p;if(!f){Q=0;P=80;break}else{h=h+R|0;f=f+-1|0}}if((P|0)!=55)if((P|0)==80){l=S;return Q|0}break}case 3:{e=c[j+8>>2]|0;j=c[j+12>>2]|0;m=g&255;n=g>>>8&255;k=g>>>16&255;if((e|0)==0|(j|0)==0){T=0;l=S;return T|0}while(1){f=e;i=h;while(1){f=f+-1|0;a[i>>0]=m;a[i+1>>0]=n;a[i+2>>0]=k;if(!f)break;else i=i+3|0}j=j+-1|0;if(!j){Q=0;break}else h=h+R|0}l=S;return Q|0}case 4:{i=c[j+8>>2]|0;f=c[j+12>>2]|0;if(!f){T=0;l=S;return T|0}k=(i+3|0)>>>2;if(!i){T=0;l=S;return T|0}switch(i&3){case 0:{while(1){i=k;j=h;while(1){c[j>>2]=g;c[j+4>>2]=g;c[j+8>>2]=g;c[j+12>>2]=g;i=i+-1|0;if(!i)break;else j=j+16|0}f=f+-1|0;if(!f){Q=0;break}else h=h+R|0}l=S;return Q|0}case 3:{k=k+-1|0;if(!k){while(1){c[h>>2]=g;c[h+4>>2]=g;c[h+8>>2]=g;f=f+-1|0;if(!f){Q=0;break}else h=h+R|0}l=S;return Q|0}while(1){c[h>>2]=g;c[h+4>>2]=g;c[h+8>>2]=g;i=h;j=k;do{T=i;i=i+16|0;c[T+12>>2]=g;c[i>>2]=g;c[T+20>>2]=g;c[T+24>>2]=g;j=j+-1|0}while((j|0)!=0);f=f+-1|0;if(!f){Q=0;break}else h=h+R|0}l=S;return Q|0}case 1:{k=k+-1|0;m=(k|0)==0;while(1){c[h>>2]=g;if(!m){i=h;j=k;do{c[i+4>>2]=g;c[i+8>>2]=g;c[i+12>>2]=g;i=i+16|0;c[i>>2]=g;j=j+-1|0}while((j|0)!=0)}f=f+-1|0;if(!f){Q=0;break}else h=h+R|0}l=S;return Q|0}default:{k=k+-1|0;m=(k|0)==0;while(1){c[h>>2]=g;c[h+4>>2]=g;if(!m){i=h;j=k;do{c[i+8>>2]=g;T=i;i=i+16|0;c[T+12>>2]=g;c[i>>2]=g;c[T+20>>2]=g;j=j+-1|0}while((j|0)!=0)}f=f+-1|0;if(!f){Q=0;break}else h=h+R|0}l=S;return Q|0}}}default:{T=0;l=S;return T|0}}return 0}function gI(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((f|0)<=0){y=f<<1;return y|0}u=g+4|0;v=g+8|0;w=g+12|0;r=c[18232+((d[g+20>>0]|0)<<2)>>2]|0;s=c[18232+((d[g+21>>0]|0)<<2)>>2]|0;t=c[18232+((d[g+22>>0]|0)<<2)>>2]|0;x=d[g+24>>0]|0;y=d[g+25>>0]|0;k=d[g+26>>0]|0;l=d[h+28>>0]|0;m=d[h+32>>0]|0;n=d[h+29>>0]|0;o=d[h+33>>0]|0;p=d[h+30>>0]|0;q=d[h+34>>0]|0;j=(c[h+24>>2]|0?255:0)>>>(d[h+31>>0]|0)<<(d[h+35>>0]|0);i=0;h=b;g=a;while(1){a=e[h>>1]|0;c[g>>2]=(d[s+((c[v>>2]&a)>>>y)>>0]|0)>>>n<>2])>>>x)>>0]|0)>>>l<>2]&a)>>>k)>>0]|0)>>>p<>0]|0)<<2)>>2]|0;s=c[18232+((d[f+21>>0]|0)<<2)>>2]|0;t=c[18232+((d[f+22>>0]|0)<<2)>>2]|0;w=d[f+24>>0]|0;x=d[f+25>>0]|0;j=d[f+26>>0]|0;k=d[g+28>>0]|0;l=d[g+32>>0]|0;m=d[g+29>>0]|0;n=d[g+33>>0]|0;o=d[g+30>>0]|0;p=d[g+34>>0]|0;q=d[g+31>>0]|0;i=d[g+35>>0]|0;h=0;g=b;f=a;while(1){a=c[g>>2]|0;c[f>>2]=(d[s+((c[u>>2]&a)>>>x)>>0]|0)>>>m<>2]&a)>>>w)>>0]|0)>>>k<>2]&a)>>>j)>>0]|0)>>>o<>>24>>>q<>0]|0)<<2)>>2]|0;s=c[18232+((d[f+21>>0]|0)<<2)>>2]|0;t=c[18232+((d[f+22>>0]|0)<<2)>>2]|0;w=d[f+24>>0]|0;x=d[f+25>>0]|0;j=d[f+26>>0]|0;k=d[g+28>>0]|0;l=d[g+32>>0]|0;m=d[g+29>>0]|0;n=d[g+33>>0]|0;o=d[g+30>>0]|0;p=d[g+34>>0]|0;q=d[g+31>>0]|0;i=d[g+35>>0]|0;h=0;g=b;f=a;while(1){a=c[g>>2]|0;b=a&-993|a>>>16;c[f>>2]=(d[s+((c[u>>2]&b)>>>x)>>0]|0)>>>m<>2]&b)>>>w)>>0]|0)>>>k<>2]&b)>>>j)>>0]|0)>>>o<>>2&248)>>>q<>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;b:do if((a|0)<390076419){switch(a|0){case 386930691:break;default:break b}c[d>>2]=255;c[e>>2]=65280;c[f>>2]=16711680;b=1;break a}else{switch(a|0){case 390076419:break;default:break b}c[d>>2]=16711680;c[e>>2]=65280;c[f>>2]=255;b=1;break a}while(0);if(((a>>>24&15)+-4|0)>>>0<3){switch(a>>>16&15){case 1:{b=3;h=28;i=224;j=0;break}case 2:{b=15;h=240;i=3840;j=61440;break}case 3:{b=31;h=992;i=31744;j=32768;break}case 4:{b=1;h=62;i=1984;j=63488;break}case 5:{b=31;h=2016;i=63488;j=0;break}case 6:{b=255;h=65280;i=16711680;j=-16777216;break}case 7:{b=1023;h=1047552;i=1072693248;j=-1073741824;break}case 8:{b=3;h=4092;i=4190208;j=-4194304;break}default:{_D(295409,i);b=0;break a}}switch(a>>>20&15){case 1:{c[d>>2]=i;c[e>>2]=h;c[f>>2]=b;b=1;break a}case 2:{c[d>>2]=j;c[e>>2]=i;c[f>>2]=h;b=1;break a}case 3:{c[g>>2]=j;c[d>>2]=i;c[e>>2]=h;c[f>>2]=b;b=1;break a}case 4:{c[d>>2]=j;c[e>>2]=i;c[f>>2]=h;c[g>>2]=b;b=1;break a}case 5:{c[f>>2]=i;c[e>>2]=h;c[d>>2]=b;b=1;break a}case 6:{c[f>>2]=j;c[e>>2]=i;c[d>>2]=h;b=1;break a}case 8:{c[f>>2]=j;c[e>>2]=i;c[d>>2]=h;c[g>>2]=b;b=1;break a}case 7:{c[g>>2]=j;c[f>>2]=i;c[e>>2]=h;c[d>>2]=b;b=1;break a}default:{_D(295409,k);b=0;break a}}}else b=1}else{_D(289348,h);b=0}while(0);l=m;return b|0}function kI(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;g=r+8|0;i=r;q=c[b+320>>2]|0;j=c[e+68>>2]|0;p=c[e+24>>2]|0;k=b+308|0;f=c[k>>2]|0;h=c[e+4>>2]|0;a:do if(f){f=c[f+4>>2]|0;if((f|0)==(h|0))f=1;else{b:do if((h|0)<825382478)if((h|0)<374740996){if((h|0)>=372645892){switch(h|0){case 372645892:break;default:break b}if((f|0)<376840196)switch(f|0){case 374740996:break;default:{f=1;break a}}else switch(f|0){case 376840196:break;default:{f=1;break a}}f=2;break a}switch(h|0){case 370546692:break;default:break b}if((f|0)<374740996){switch(f|0){case 372645892:break;default:{f=1;break a}}f=4;break a}if((f|0)<376840196){switch(f|0){case 374740996:break;default:{f=1;break a}}f=2;break a}else{switch(f|0){case 376840196:break;default:{f=1;break a}}f=2;break a}}else{if((h|0)>=376840196){switch(h|0){case 376840196:break;default:break b}if((f|0)<372645892)switch(f|0){case 370546692:break;default:{f=1;break a}}else switch(f|0){case 372645892:break;default:{f=1;break a}}f=2;break a}switch(h|0){case 374740996:break;default:break b}if((f|0)<372645892){switch(f|0){case 370546692:break;default:{f=1;break a}}f=2;break a}if((f|0)<376840196){switch(f|0){case 372645892:break;default:{f=1;break a}}f=3;break a}else{switch(f|0){case 376840196:break;default:{f=1;break a}}f=4;break a}}else{if((h|0)>=842094169)if((h|0)<1448433993)switch(h|0){case 842094169:{f=5;break a}default:break b}else switch(h|0){case 1448433993:{f=5;break a}default:break b}if((h|0)<842094158){switch(h|0){case 825382478:break;default:break b}f=7;break a}else{switch(h|0){case 842094158:break;default:break b}f=6;break a}}while(0);_D(289615,i);q=-1;l=r;return q|0}}else{c:do if((h|0)<825382478){if((h|0)<374740996){if((h|0)>=372645892)switch(h|0){case 372645892:{f=2;break a}default:break c}switch(h|0){case 370546692:break;default:break c}f=3;break a}if((h|0)<376840196){switch(h|0){case 374740996:break;default:break c}f=4;break a}else{switch(h|0){case 376840196:break;default:break c}f=1;break a}}else{if((h|0)>=842094169){if((h|0)<1448433993)switch(h|0){case 842094169:break;default:break c}else switch(h|0){case 1448433993:break;default:break c}f=5;break a}if((h|0)<842094158){switch(h|0){case 825382478:break;default:break c}f=7;break a}else{switch(h|0){case 842094158:break;default:break c}f=6;break a}}while(0);_D(289615,g);q=-1;l=r;return q|0}while(0);if((lI(b,f,p)|0)<0){q=-1;l=r;return q|0}if(c[j+24>>2]|0){n=q+16|0;vg[c[n>>2]&511](33986);b=q+28|0;m=j+4|0;Bg[c[b>>2]&255](c[m>>2]|0,c[j+32>>2]|0);vg[c[n>>2]&511](33985);Bg[c[b>>2]&255](c[m>>2]|0,c[j+36>>2]|0);vg[c[n>>2]&511](33984)}if(!(c[j+28>>2]|0)){f=j+4|0;g=q+28|0}else{n=q+16|0;vg[c[n>>2]&511](33985);g=q+28|0;f=j+4|0;Bg[c[g>>2]&255](c[f>>2]|0,c[j+36>>2]|0);vg[c[n>>2]&511](33984)}Bg[c[g>>2]&255](c[f>>2]|0,c[j>>2]|0);m=a[e+29>>0]|0;n=a[e+31>>0]|0;f=c[k>>2]|0;d:do if(!f)o=36;else{f=c[f+4>>2]|0;if((f|0)<372645892)switch(f|0){case 370546692:break;default:{o=36;break d}}else switch(f|0){case 372645892:break;default:{o=36;break d}}f=e+28|0;g=e+30|0}while(0);if((o|0)==36){f=e+30|0;g=e+28|0}k=a[f>>0]|0;f=a[g>>0]|0;g=c[q+268>>2]|0;h=g+84|0;i=g+85|0;b=g+86|0;j=g+87|0;if(((d[i>>0]|0)<<16|(d[h>>0]|0)<<24|(d[b>>0]|0)<<8|(d[j>>0]|0)|0)!=(n&255|(m&255)<<16|(k&255)<<8|(f&255)<<24|0)){zg[c[q+172>>2]&3](c[g+24>>2]|0,+(f&255)*.003921568859368563,+(m&255)*.003921568859368563,+(k&255)*.003921568859368563,+(n&255)*.003921568859368563);a[h>>0]=f;a[i>>0]=m;a[b>>0]=k;a[j>>0]=n}f=q+8|0;if((c[f>>2]|0)!=(p|0)){switch(p|0){case 4:{vg[c[q+80>>2]&511](3042);Eg[c[q+32>>2]&63](0,768,0,1);break}case 1:{vg[c[q+80>>2]&511](3042);Eg[c[q+32>>2]&63](770,771,1,771);break}case 2:{vg[c[q+80>>2]&511](3042);Eg[c[q+32>>2]&63](770,1,0,1);break}default:vg[c[q+68>>2]&511](3042)}c[f>>2]=p}f=q+12|0;if((c[f>>2]|0)==1){q=0;l=r;return q|0}vg[c[q+84>>2]&511](1);c[f>>2]=1;q=0;l=r;return q|0}function lI(b,d,e){b=b|0;d=d|0;e=e|0;var f=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;x=l;l=l+80|0;m=x+8|0;j=x;f=x+16|0;v=b+320|0;w=c[v>>2]|0;switch(d|0){case 0:{h=1;n=9;break}case 1:{h=2;n=9;break}case 2:{h=3;n=9;break}case 3:{h=5;n=9;break}case 4:{h=4;n=9;break}case 5:{h=6;n=9;break}case 6:{h=7;n=9;break}case 7:{h=8;n=9;break}default:{}}if((n|0)==9?(p=mI(b,0,e)|0,p|0):0){i=mI(b,h,e)|0;a:do if(!i)i=0;else{r=w+268|0;q=c[r>>2]|0;if((q|0?(c[q+8>>2]|0)==(p|0):0)?(c[q+12>>2]|0)==(i|0):0){w=0;l=x;return w|0}q=c[v>>2]|0;o=q+260|0;h=c[o>>2]|0;b:do if(!h)n=24;else{k=h;while(1){if((c[k+8>>2]|0)==(p|0)?(c[k+12>>2]|0)==(i|0):0)break;d=c[k+156>>2]|0;if(!d){n=24;break b}else k=d}if((h|0)==(k|0))break;e=k+156|0;i=c[e>>2]|0;d=k+152|0;if(i|0)c[i+152>>2]=c[d>>2];j=c[d>>2]|0;if(j|0)c[j+156>>2]=i;c[d>>2]=0;c[e>>2]=h;c[h+152>>2]=k;c[o>>2]=k;h=k;n=51}while(0);c:do if((n|0)==24){h=TM(160)|0;do if(!h)_D(294618,j);else{if(c[h+-4>>2]&3|0)EQ(h|0,0,160)|0;c[h+8>>2]=p;c[h+12>>2]=i;c[h+4>>2]=e;n=fg[c[q+48>>2]&7]()|0;c[h>>2]=n;d=q+20|0;Bg[c[d>>2]&255](n,c[p>>2]|0);Bg[c[d>>2]&255](c[h>>2]|0,c[i>>2]|0);d=q+24|0;Dg[c[d>>2]&63](c[h>>2]|0,0,289642);Dg[c[d>>2]&63](c[h>>2]|0,1,289653);Dg[c[d>>2]&63](c[h>>2]|0,2,289664);Dg[c[d>>2]&63](c[h>>2]|0,3,289672);vg[c[q+132>>2]&511](c[h>>2]|0);Dg[c[q+116>>2]&63](c[h>>2]|0,35714,f);d=c[h>>2]|0;if(!(c[f>>2]|0)){vg[c[q+56>>2]&511](d);UM(h);_D(289681,m);break}j=q+128|0;n=h+16|0;c[n>>2]=hg[c[j>>2]&63](d,289711)|0;y=h+36|0;c[y>>2]=hg[c[j>>2]&63](c[h>>2]|0,289724)|0;e=h+32|0;c[e>>2]=hg[c[j>>2]&63](c[h>>2]|0,289736)|0;k=h+20|0;c[k>>2]=hg[c[j>>2]&63](c[h>>2]|0,289748)|0;m=h+24|0;c[m>>2]=hg[c[j>>2]&63](c[h>>2]|0,289758)|0;d=h+28|0;c[d>>2]=hg[c[j>>2]&63](c[h>>2]|0,289771)|0;j=h+80|0;c[j>>2]=-1;c[j+4>>2]=-1;vg[c[q+180>>2]&511](c[h>>2]|0);j=q+168|0;Bg[c[j>>2]&255](c[y>>2]|0,2);Bg[c[j>>2]&255](c[e>>2]|0,1);Bg[c[j>>2]&255](c[k>>2]|0,0);Eg[c[q+176>>2]&63](c[n>>2]|0,1,0,h+88|0);n=q+172|0;zg[c[n>>2]&3](c[m>>2]|0,1.0,1.0,1.0,1.0);zg[c[n>>2]&3](c[d>>2]|0,1.0,1.0,1.0,1.0);d=c[o>>2]|0;if(!d)d=q+264|0;else{c[h+156>>2]=d;d=d+152|0}c[d>>2]=h;c[o>>2]=h;n=q+256|0;y=c[n>>2]|0;c[n>>2]=y+1;p=p+12|0;c[p>>2]=(c[p>>2]|0)+1;p=i+12|0;c[p>>2]=(c[p>>2]|0)+1;if((y|0)<=7){n=51;break c}m=q+264|0;d=c[m>>2]|0;k=c[d+8>>2]|0;p=k+12|0;y=c[p>>2]|0;c[p>>2]=y+-1;if((y|0)<2){i=c[v>>2]|0;j=k+24|0;e=c[j>>2]|0;d=k+20|0;if(e|0)c[e+20>>2]=c[d>>2];d=c[d>>2]|0;if(d|0)c[d+24>>2]=e;d=i+252|0;if((c[d>>2]|0)==(k|0))c[d>>2]=c[j>>2];d=i+248|0;c[d>>2]=(c[d>>2]|0)+-1;vg[c[i+60>>2]&511](c[k>>2]|0);UM(k);d=c[m>>2]|0}k=c[d+12>>2]|0;p=k+12|0;y=c[p>>2]|0;c[p>>2]=y+-1;if((y|0)<2){i=c[v>>2]|0;j=k+24|0;e=c[j>>2]|0;d=k+20|0;if(e|0)c[e+20>>2]=c[d>>2];d=c[d>>2]|0;if(d|0)c[d+24>>2]=e;d=i+252|0;if((c[d>>2]|0)==(k|0))c[d>>2]=c[j>>2];d=i+248|0;c[d>>2]=(c[d>>2]|0)+-1;vg[c[i+60>>2]&511](c[k>>2]|0);UM(k);d=c[m>>2]|0}vg[c[q+56>>2]&511](c[d>>2]|0);y=c[(c[m>>2]|0)+152>>2]|0;c[m>>2]=y;UM(c[y+156>>2]|0);c[(c[m>>2]|0)+156>>2]=0;c[n>>2]=(c[n>>2]|0)+-1;n=51;break c}while(0);break a}while(0);vg[c[w+180>>2]&511](c[h>>2]|0);c[r>>2]=h;h=c[v>>2]|0;d=c[b+224>>2]|0;if((d|0?(s=c[b+228>>2]|0,s|0):0)?(g[f>>2]=2.0/+(d|0),t=f+4|0,c[t>>2]=0,c[t+4>>2]=0,c[t+8>>2]=0,c[t+12>>2]=0,t=(c[b+308>>2]|0)!=0,g[f+20>>2]=(t?2.0:-2.0)/+(s|0),u=f+24|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,g[f+48>>2]=-1.0,g[f+52>>2]=t?-1.0:1.0,g[f+56>>2]=0.0,g[f+60>>2]=1.0,t=h+268|0,u=c[t>>2]|0,xN(u+88|0,f,64)|0):0){Eg[c[h+176>>2]&63](c[u+16>>2]|0,1,0,f);d=(c[t>>2]|0)+88|0;h=d+64|0;do{a[d>>0]=a[f>>0]|0;d=d+1|0;f=f+1|0}while((d|0)<(h|0))}y=0;l=x;return y|0}while(0);if((c[p+12>>2]|0)<1){d=c[v>>2]|0;e=p+24|0;h=c[e>>2]|0;f=p+20|0;if(h|0)c[h+20>>2]=c[f>>2];f=c[f>>2]|0;if(f|0)c[f+24>>2]=h;f=d+252|0;if((c[f>>2]|0)==(p|0))c[f>>2]=c[e>>2];y=d+248|0;c[y>>2]=(c[y>>2]|0)+-1;vg[c[d+60>>2]&511](c[p>>2]|0);UM(p)}if(i|0?(c[i+12>>2]|0)<1:0){d=c[v>>2]|0;e=i+24|0;h=c[e>>2]|0;f=i+20|0;if(h|0)c[h+20>>2]=c[f>>2];f=c[f>>2]|0;if(f|0)c[f+24>>2]=h;f=d+252|0;if((c[f>>2]|0)==(i|0))c[f>>2]=c[e>>2];y=d+248|0;c[y>>2]=(c[y>>2]|0)+-1;vg[c[d+60>>2]&511](c[i>>2]|0);UM(i)}}c[w+268>>2]=0;y=-1;l=x;return y|0}function mI(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+48|0;u=v+32|0;t=v+24|0;p=v+16|0;o=v+8|0;f=v;q=v+40|0;r=v+36|0;s=c[b+320>>2]|0;c[q>>2]=0;a:do switch(d|0){case 0:{k=27036;break}case 1:switch(e|0){case 0:{k=27056;break a}case 1:{k=27056;break a}case 2:{k=27056;break a}case 4:{k=27056;break a}default:{g=31;break a}}case 2:switch(e|0){case 0:{k=27076;break a}case 1:{k=27076;break a}case 2:{k=27076;break a}case 4:{k=27076;break a}default:{g=31;break a}}case 3:switch(e|0){case 0:{k=27096;break a}case 1:{k=27096;break a}case 2:{k=27096;break a}case 4:{k=27096;break a}default:{g=31;break a}}case 5:switch(e|0){case 0:{k=27116;break a}case 1:{k=27116;break a}case 2:{k=27116;break a}case 4:{k=27116;break a}default:{g=31;break a}}case 4:switch(e|0){case 0:{k=27136;break a}case 1:{k=27136;break a}case 2:{k=27136;break a}case 4:{k=27136;break a}default:{g=31;break a}}case 6:{k=27016;break}case 7:{k=26996;break}case 8:{k=26976;break}default:g=31}while(0);if((g|0)==31){_D(289779,f);u=0;l=v;return u|0}j=c[k>>2]|0;if((j|0)>=1?(n=c[s+240>>2]|0,m=s+244|0,(n|0)>0):0){i=0;do{h=c[k+4+(i<<2)>>2]|0;if(!h)h=0;else{f=c[h+4>>2]|0;g=c[m>>2]|0;e=0;do{b=(f|0)==(c[g+(e<<2)>>2]|0)?h:0;e=e+1|0}while((b|0)==0&(e|0)<(n|0));h=b}i=i+1|0;b=(h|0)!=0}while(!(b|(i|0)>=(j|0)));if(b){g=s+252|0;b=c[g>>2]|0;b:do if(b|0){while(1){if((c[b+8>>2]|0)==(h|0))break;b=c[b+24>>2]|0;if(!b)break b}l=v;return b|0}while(0);f=TM(28)|0;if(!f){_D(294618,p);u=0;l=v;return u|0}if(c[f+-4>>2]&3|0){b=f;e=b+28|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(e|0))}c[f+4>>2]=d;c[f+8>>2]=h;b=gg[c[s+52>>2]&511](c[h>>2]|0)|0;c[f>>2]=b;e=c[h+4>>2]|0;if((e|0)==-1){Eg[c[s+152>>2]&63](b,1,h+12|0,0);vg[c[s+44>>2]&511](c[f>>2]|0);b=s+124|0;Dg[c[b>>2]&63](c[f>>2]|0,35713,q);if(!(c[q>>2]|0)){c[r>>2]=0;Dg[c[b>>2]&63](c[f>>2]|0,35716,r);b=c[r>>2]|0;if((b|0)>0){u=l;l=l+((1*b|0)+15&-16)|0;Eg[c[s+120>>2]&63](c[f>>2]|0,b,r,u);c[t>>2]=u;_D(289900,t)}else _D(289930,u);vg[c[s+60>>2]&511](c[f>>2]|0);UM(f);u=0;l=v;return u|0}}else{Fg[c[s+148>>2]&15](1,f,e,c[h+12>>2]|0,c[h+8>>2]|0);c[q>>2]=1}b=c[g>>2]|0;if(b|0){c[f+24>>2]=b;c[b+20>>2]=f}c[g>>2]=f;u=s+248|0;c[u>>2]=(c[u>>2]|0)+1;u=f;l=v;return u|0}}_D(289838,o);u=0;l=v;return u|0}function nI(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=b+320|0;m=c[e>>2]|0;h=c[b+316>>2]|0;g=c[m>>2]|0;if((c[79956]|0)!=(g|0)){c[m+268>>2]=0;if((YD(c[b+188>>2]|0,g)|0)>=0){c[79956]=c[m>>2];hE(b)|0;f=c[e>>2]|0;i=4}}else{f=m;i=4}if((i|0)==4?c[f+4>>2]|0:0){e=f+108|0;do{}while((fg[c[e>>2]&7]()|0)!=0)}e=m+8|0;if((c[e>>2]|0)!=(h|0)){switch(h|0){case 4:{vg[c[m+80>>2]&511](3042);Eg[c[m+32>>2]&63](0,768,0,1);break}case 1:{vg[c[m+80>>2]&511](3042);Eg[c[m+32>>2]&63](770,771,1,771);break}case 2:{vg[c[m+80>>2]&511](3042);Eg[c[m+32>>2]&63](770,1,0,1);break}default:vg[c[m+68>>2]&511](3042)}c[e>>2]=h}e=m+12|0;if(c[e>>2]|0){vg[c[m+72>>2]&511](1);c[e>>2]=0}if((lI(b,0,h)|0)<0){m=-1;return m|0}k=a[b+313>>0]|0;l=a[b+315>>0]|0;e=c[b+308>>2]|0;a:do if(!e)i=20;else{e=c[e+4>>2]|0;if((e|0)<372645892)switch(e|0){case 370546692:break;default:{i=20;break a}}else switch(e|0){case 372645892:break;default:{i=20;break a}}e=b+312|0;f=b+314|0}while(0);if((i|0)==20){e=b+314|0;f=b+312|0}j=a[e>>0]|0;e=a[f>>0]|0;f=c[m+268>>2]|0;g=f+80|0;h=f+81|0;b=f+82|0;i=f+83|0;if(((d[h>>0]|0)<<16|(d[g>>0]|0)<<24|(d[b>>0]|0)<<8|(d[i>>0]|0)|0)==(l&255|(k&255)<<16|(j&255)<<8|(e&255)<<24|0)){m=0;return m|0}zg[c[m+172>>2]&3](c[f+28>>2]|0,+(e&255)*.003921568859368563,+(k&255)*.003921568859368563,+(j&255)*.003921568859368563,+(l&255)*.003921568859368563);a[g>>0]=e;a[h>>0]=k;a[b>>0]=j;a[i>>0]=l;m=0;return m|0}function oI(a,b,d){a=a|0;b=b|0;d=d|0;b=l;l=l+16|0;a=b;c[a>>2]=d;pI(1,2,294455,a);l=b;return}function pI(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,m=0,n=0;n=l;l=l+16|0;m=n;if((d|0)<0|d>>>0>6){l=n;return}g=c[79961]|0;a:do if(!g)h=6;else{while(1){if((c[g>>2]|0)==(b|0))break;g=c[g+8>>2]|0;if(!g){h=6;break a}}g=g+4|0;h=9}while(0);b:do if((h|0)==6)switch(b|0){case 8:{g=1;break b}case 0:{g=27308;h=9;break b}case 2:{g=27300;h=9;break b}default:{g=27304;h=9;break b}}while(0);if((h|0)==9)g=c[g>>2]|0;if(g>>>0>d>>>0){l=n;return}h=l;l=l+4096|0;BN(h,4096,(e|0)==0?334803:e,f)|0;g=JO(h)|0;if(((g|0?(i=g+-1|0,j=h+i|0,(a[j>>0]|0)==10):0)?(a[j>>0]=0,i|0):0)?(k=h+(g+-2)|0,(a[k>>0]|0)==13):0)a[k>>0]=0;c[m>>2]=c[27312+(d<<2)>>2];c[m+4>>2]=h;wP(0,294458,m);l=n;return}function qI(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f;c[g>>2]=e;e=BN(a,b,(d|0)==0?334803:d,g)|0;l=f;return e|0}function rI(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,m=0,n=0,o=0;o=l;l=l+48|0;n=o+16|0;m=o+8|0;d=o;h=o+32|0;i=o+24|0;j=o+20|0;if(!a){c[d>>2]=294572;_D(309840,d);l=o;return}c[j>>2]=0;g=c[j>>2]|0;c[j>>2]=1;if(g|0){f=h+4|0;g=i+4|0;do{c[h>>2]=0;c[f>>2]=0;d=0;e=0;while(1){c[8240]=0;c[i>>2]=d;c[g>>2]=e;e=(Qf(i|0,h|0)|0)!=0;if(!(e&(c[8240]|0)==4))break;d=c[h>>2]|0;e=c[f>>2]|0}e=c[j>>2]|0;c[j>>2]=1}while((e|0)!=0)}c[j>>2]=0;d=c[79958]|0;a:do if(d){while(1){if(!(c[d>>2]|0))break;d=c[d+8>>2]|0;if(!d){d=0;e=0;k=14;break a}}d=c[d+4>>2]|0;if(d){e=c[d>>2]|0;if(e>>>0>>0)k=14}else{e=0;k=14}}else{d=0;e=0;k=14}while(0);b:do if((k|0)==14){f=a+4|0;d=VM(d,(a<<3)+36|0)|0;if(!d){_D(294618,m);l=o;return}c[d>>2]=f;if(f>>>0>e>>>0)EQ(d+(e<<3|4)|0,0,f-e<<3|0)|0;e=c[79958]|0;c:do if(e|0){while(1){if(!(c[e>>2]|0))break;e=c[e+8>>2]|0;if(!e)break c}c[e+4>>2]=d;break b}while(0);e=TM(12)|0;if(e|0){c[e>>2]=0;c[e+4>>2]=d;c[e+8>>2]=c[79958];c[79958]=e;break}_D(294618,n);l=o;return}while(0);a=a+-1|0;c[d+4+(a<<3)>>2]=b;c[d+4+(a<<3)+4>>2]=0;l=o;return}function sI(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,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=l;l=l+128|0;k=x+56|0;m=x+48|0;p=x+40|0;n=x+32|0;j=x+24|0;i=x+16|0;e=x+8|0;s=x+100|0;o=x+80|0;r=x+60|0;d=c[79957]|0;if(!d){_D(288260,x);a=-1;l=x;return a|0}if(a|0?(c[a>>2]|0)==(d+280|0):0){e=(b|0)!=0;if(e&(c[a+116>>2]|0)!=0){a=0;l=x;return a|0}d=BI(a)|0;if((d|0)>-1)t=(c[(c[79957]|0)+268>>2]|0)+(d*68|0)|0;else t=0;w=t+56|0;do if(e?(f=c[w>>2]|0,!((f|0)==0|(f|0)==(a|0))):0){d=c[79957]|0;if(!d){_D(288260,i);break}if((c[f>>2]|0)!=(d+280|0)){_D(307482,j);break}if((c[f+48>>2]&64|0)==0?(sI(f,0)|0,g=c[79957]|0,h=c[g+96>>2]|0,h|0):0)Bg[h&255](g,f)}while(0);if(((c[w>>2]|0)==(a|0)|0)==(b|0)?((c[a+48>>2]^c[a+52>>2])&4097|0)==0:0){a=0;l=x;return a|0}d=c[(c[79957]|0)+272>>2]|0;a:do if(d|0){b:do if(!b){e=d;while(1){if((e|0)!=(a|0)?(c[e+48>>2]&69|0)==5:0){d=BI(e)|0;if((d|0)>-1)d=(c[(c[79957]|0)+268>>2]|0)+(d*68|0)|0;else d=0;if((d|0)==(t|0)?(c[r>>2]=0,c[r+4>>2]=0,c[r+8>>2]=0,c[r+12>>2]=0,c[r+16>>2]=0,(CI(e,r)|0)==0):0){j=e;break b}}e=c[e+152>>2]|0;if(!e)break a}}else{e=d;while(1){if((e|0)!=(a|0)){if((c[e+48>>2]&69|0)==5){d=BI(e)|0;if((d|0)>-1)d=(c[(c[79957]|0)+268>>2]|0)+(d*68|0)|0;else d=0;if((d|0)==(t|0))q=35}}else q=35;if((q|0)==35?(q=0,c[r>>2]=0,c[r+4>>2]=0,c[r+8>>2]=0,c[r+12>>2]=0,c[r+16>>2]=0,(CI(e,r)|0)==0):0){j=e;break b}e=c[e+152>>2]|0;if(!e)break a}}while(0);h=j+24|0;i=r+4|0;if((c[h>>2]|0)==(c[i>>2]|0))g=(c[j+28>>2]|0)!=(c[r+8>>2]|0)&1;else g=1;b=a+48|0;c:do if((c[b>>2]&4097|0)==4097){f=t+16|0;c[s>>2]=c[f>>2];c[s+4>>2]=c[f+4>>2];c[s+8>>2]=c[f+8>>2];c[s+12>>2]=c[f+12>>2];c[s+16>>2]=c[f+16>>2];f=t+36|0;c[o>>2]=c[f>>2];c[o+4>>2]=c[f+4>>2];c[o+8>>2]=c[f+8>>2];c[o+12>>2]=c[f+12>>2];c[o+16>>2]=c[f+16>>2];do if(xN(s,o,20)|0){d=c[79957]|0;e=c[d+28>>2]|0;if(!e){_D(294875,m);d=-1;break c}if((ig[e&63](d,t,s)|0)<0){d=-1;break c}else{c[f>>2]=c[s>>2];c[f+4>>2]=c[s+4>>2];c[f+8>>2]=c[s+8>>2];c[f+12>>2]=c[s+12>>2];c[f+16>>2]=c[s+16>>2];break}}while(0);q=63}else{c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2];c[s+12>>2]=c[r+12>>2];c[s+16>>2]=c[r+16>>2];if(!(c[s>>2]|0))c[s>>2]=c[t+36>>2];d=s+4|0;if(!(c[d>>2]|0))c[d>>2]=c[t+40>>2];e=s+8|0;if(!(c[e>>2]|0))c[e>>2]=c[t+44>>2];f=s+12|0;if(!(c[f>>2]|0))c[f>>2]=c[t+48>>2];do if(!(DI(t,s,s)|0)){a=c[e>>2]|0;c[n>>2]=c[d>>2];c[n+4>>2]=a;_D(294926,n)}else{f=t+36|0;c[o>>2]=c[f>>2];c[o+4>>2]=c[f+4>>2];c[o+8>>2]=c[f+8>>2];c[o+12>>2]=c[f+12>>2];c[o+16>>2]=c[f+16>>2];if(xN(s,o,20)|0){d=c[79957]|0;e=c[d+28>>2]|0;if(!e){_D(294875,p);break}if((ig[e&63](d,t,s)|0)<0)break;c[f>>2]=c[s>>2];c[f+4>>2]=c[s+4>>2];c[f+8>>2]=c[s+8>>2];c[f+12>>2]=c[s+12>>2];c[f+16>>2]=c[s+16>>2]}q=63;break c}while(0);d=-1}while(0);if((q|0)==63){d=c[79957]|0;e=c[d+112>>2]|0;if(e|0)Eg[e&63](d,j,t,1);c[w>>2]=j;if(!g){c[j+112>>2]=0;tI(j,6,c[h>>2]|0,c[j+28>>2]|0)}else tI(j,5,c[i>>2]|0,c[r+8>>2]|0);do if((c[79973]|0)==(j|0)?(u=c[79974]|0,v=c[79975]|0,j|0):0){d=c[79967]|0;if(d|0){Dg[d&63](j,u,v);break}d=c[79972]|0;if(!(zI(j,u,v)|0))break;AI(j,d,0,u,v)|0}while(0);c[a+52>>2]=c[b>>2];d=0}a=d;l=x;return a|0}while(0);f=t+16|0;c[s>>2]=c[f>>2];c[s+4>>2]=c[f+4>>2];c[s+8>>2]=c[f+8>>2];c[s+12>>2]=c[f+12>>2];c[s+16>>2]=c[f+16>>2];f=t+36|0;c[o>>2]=c[f>>2];c[o+4>>2]=c[f+4>>2];c[o+8>>2]=c[f+8>>2];c[o+12>>2]=c[f+12>>2];c[o+16>>2]=c[f+16>>2];do if(xN(s,o,20)|0){d=c[79957]|0;e=c[d+28>>2]|0;if(!e){_D(294875,k);break}if((ig[e&63](d,t,s)|0)>=0){c[f>>2]=c[s>>2];c[f+4>>2]=c[s+4>>2];c[f+8>>2]=c[s+8>>2];c[f+12>>2]=c[s+12>>2];c[f+16>>2]=c[s+16>>2]}}while(0);d=c[79957]|0;e=c[d+112>>2]|0;if(e|0)Eg[e&63](d,a,t,0);c[w>>2]=0;c[a+112>>2]=0;tI(a,6,c[a+24>>2]|0,c[a+28>>2]|0);do if((c[79973]|0)==(a|0)){e=c[79974]|0;f=c[79975]|0;d=c[79967]|0;if(d|0){Dg[d&63](a,e,f);break}d=c[79972]|0;if(zI(a,e,f)|0)AI(a,d,0,e,f)|0}while(0);c[a+52>>2]=c[a+48>>2];a=0;l=x;return a|0}_D(307482,e);a=-1;l=x;return a|0}function tI(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,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=l;l=l+80|0;r=y+64|0;q=y+56|0;x=y;if(!b){l=y;return}a:do switch(d<<24>>24){case 1:{g=b+48|0;i=c[g>>2]|0;if(i&4|0){l=y;return}t=i&-13|4;c[g>>2]=t;if((t&69|0)==5)sI(b,1)|0;break}case 2:{g=b+48|0;i=c[g>>2]|0;if(!(i&4)){l=y;return}else{c[g>>2]=i&-13|8;sI(b,0)|0;break a}}case 4:{if((e&-65536|0)==536805376|(f&-65536|0)==536805376){l=y;return}if(!(c[b+48>>2]&1)){c[b+56>>2]=e;c[b+60>>2]=f}g=b+16|0;i=b+20|0;if((c[g>>2]|0)==(e|0)?(c[i>>2]|0)==(f|0):0){l=y;return}c[g>>2]=e;c[i>>2]=f;break}case 5:{if(!(c[b+48>>2]&1)){c[b+64>>2]=e;c[b+68>>2]=f}g=b+24|0;i=b+28|0;if((c[g>>2]|0)==(e|0)?(c[i>>2]|0)==(f|0):0){l=y;return}c[g>>2]=e;c[i>>2]=f;c[b+112>>2]=0;tI(b,6,e,f);break}case 7:{g=b+48|0;i=c[g>>2]|0;if(!(i&64)){c[g>>2]=i&-193|64;sI(b,0)|0;break a}else{l=y;return}}case 8:{g=b+48|0;i=c[g>>2]|0;if(!(i&128)){c[g>>2]=i&-193|128;break a}else{l=y;return}}case 9:{g=b+48|0;i=c[g>>2]|0;if(!(i&192)){l=y;return}c[g>>2]=i&-193;if((i&5|0)==5)sI(b,1)|0;break}case 10:{g=b+48|0;i=c[g>>2]|0;if(i&1024|0){l=y;return}c[g>>2]=i|1024;g=c[79957]|0;i=c[g+144>>2]|0;if(i|0)Bg[i&255](g,b);break}case 11:{g=b+48|0;i=c[g>>2]|0;if(!(i&1024)){l=y;return}else{c[g>>2]=i&-1025;break a}}case 12:{n=b+48|0;g=c[n>>2]|0;if(g&512|0){l=y;return}c[n>>2]=g|512;g=c[b+100>>2]|0;if(g|0?(k=c[79957]|0,m=c[k+116>>2]|0,m|0):0)ig[m&63](k,b,g)|0;do if(c[79981]|0){g=c[79973]|0;do if((g|0)!=(b|0)){if(g|0)tI(g,11,0,0);c[79973]=b;tI(b,10,0,0);g=(c[79973]|0)==0?c[79986]|0:c[79987]|0;i=c[79964]|0;j=(i|0)==0;if((g|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(j)break;gg[i&511](g)|0;break}else{if(j)break;gg[i&511](0)|0;break}}while(0);i=(c[b+24>>2]|0)/2|0;j=(c[b+28>>2]|0)/2|0;g=c[79967]|0;if(g|0){Dg[g&63](b,i,j);break}g=c[79972]|0;if(zI(b,i,j)|0)AI(b,g,0,i,j)|0}while(0);q=c[n>>2]|0;r=(q&256|c[79981]|0)==0;q=(q&512|0)==0;j=((q|r)^1)&1;g=c[79957]|0;i=c[g+276>>2]|0;if(q|r)if((i|0)==(b|0)){i=0;t=53}else i=g;else if(!((i|0)==0|(i|0)==(b|0))?(s=i+48|0,c[s>>2]=c[s>>2]&-257,s=c[g+124>>2]|0,(s|0)!=0):0){Dg[s&63](g,i,0);i=b;g=c[79957]|0;t=53}else{i=b;t=53}if((t|0)==53){c[g+276>>2]=i;i=g}g=c[i+124>>2]|0;if(g|0)Dg[g&63](i,b,j);break}case 13:{k=b+48|0;g=c[k>>2]|0;if(!(g&512)){l=y;return}g=g&-513;c[k>>2]=g;if((c[b+100>>2]|0)!=0?(i=c[79957]|0,j=c[i+116>>2]|0,(j|0)!=0):0){ig[j&63](i,b,c[b+104>>2]|0)|0;g=c[k>>2]|0}s=(g&256|c[79981]|0)==0;m=(g&512|0)==0;j=((m|s)^1)&1;g=c[79957]|0;i=c[g+276>>2]|0;if(m|s)if((i|0)==(b|0)){i=0;t=65}else i=g;else if(!((i|0)==0|(i|0)==(b|0))?(n=i+48|0,c[n>>2]=c[n>>2]&-257,n=c[g+124>>2]|0,(n|0)!=0):0){Dg[n&63](g,i,0);i=b;g=c[79957]|0;t=65}else{i=b;t=65}if((t|0)==65){c[g+276>>2]=i;i=g}g=c[i+124>>2]|0;if(g|0)Dg[g&63](i,b,j);g=c[k>>2]|0;if((g&1|0?(c[b+120>>2]|0)==0:0)?yI(296169,1)|0:0){i=c[79957]|0;if(!i){_D(288260,q);break a}if((c[b>>2]|0)!=(i+280|0)){_D(307482,r);break a}if((g&64|0)==0?(sI(b,0)|0,o=c[79957]|0,p=c[o+96>>2]|0,p|0):0)Bg[p&255](o,b)}break}default:{}}while(0);t=c[79993]|0;if(!((t|0)!=0?(c[t>>2]&1|0)!=0:0)){c[x>>2]=512;a[x+12>>0]=d;c[x+16>>2]=e;c[x+20>>2]=f;n=x+8|0;c[n>>2]=c[b+4>>2];switch(d<<24>>24){case 5:{if(c[6835]|0?(u=c[6839]|0,u|0):0){h=u;do{j=h+72|0;i=h;h=c[j>>2]|0;g=h;if(((c[i>>2]|0)==512?(a[i+12>>0]|0)==5:0)?(c[i+8>>2]|0)==(c[n>>2]|0):0){k=i+68|0;m=c[k>>2]|0;if(!m)g=h;else{c[m+72>>2]=g;g=c[j>>2]|0}if(g|0)c[g+68>>2]=m;if((c[6839]|0)==(i|0))c[6839]=g;if((c[6840]|0)==(i|0))c[6840]=c[k>>2];c[j>>2]=c[6841];c[6841]=i;c[6837]=(c[6837]|0)+-1}}while((h|0)!=0)}break}case 6:{if(c[6835]|0?(h=c[6839]|0,h|0):0)do{j=h+72|0;i=h;h=c[j>>2]|0;g=h;if(((c[i>>2]|0)==512?(a[i+12>>0]|0)==6:0)?(c[i+8>>2]|0)==(c[n>>2]|0):0){k=i+68|0;m=c[k>>2]|0;if(!m)g=h;else{c[m+72>>2]=g;g=c[j>>2]|0}if(g|0)c[g+68>>2]=m;if((c[6839]|0)==(i|0))c[6839]=g;if((c[6840]|0)==(i|0))c[6840]=c[k>>2];c[j>>2]=c[6841];c[6841]=i;c[6837]=(c[6837]|0)+-1}}while((h|0)!=0);break}case 4:{if(c[6835]|0?(v=c[6839]|0,v|0):0){h=v;do{j=h+72|0;i=h;h=c[j>>2]|0;g=h;if(((c[i>>2]|0)==512?(a[i+12>>0]|0)==4:0)?(c[i+8>>2]|0)==(c[n>>2]|0):0){k=i+68|0;m=c[k>>2]|0;if(!m)g=h;else{c[m+72>>2]=g;g=c[j>>2]|0}if(g|0)c[g+68>>2]=m;if((c[6839]|0)==(i|0))c[6839]=g;if((c[6840]|0)==(i|0))c[6840]=c[k>>2];c[j>>2]=c[6841];c[6841]=i;c[6837]=(c[6837]|0)+-1}}while((h|0)!=0)}break}case 3:{if(c[6835]|0?(w=c[6839]|0,w|0):0){h=w;do{j=h+72|0;i=h;h=c[j>>2]|0;g=h;if(((c[i>>2]|0)==512?(a[i+12>>0]|0)==3:0)?(c[i+8>>2]|0)==(c[n>>2]|0):0){k=i+68|0;m=c[k>>2]|0;if(!m)g=h;else{c[m+72>>2]=g;g=c[j>>2]|0}if(g|0)c[g+68>>2]=m;if((c[6839]|0)==(i|0))c[6839]=g;if((c[6840]|0)==(i|0))c[6840]=c[k>>2];c[j>>2]=c[6841];c[6841]=i;c[6837]=(c[6837]|0)+-1}}while((h|0)!=0)}break}default:{}}c[x+4>>2]=uI()|0;g=c[80247]|0;if(g|0)do{hg[c[g>>2]&63](c[g+4>>2]|0,x)|0;g=c[g+8>>2]|0}while((g|0)!=0);if((vI(x,1,0,0,0)|0)>=1)wI(x)}if(d<<24>>24!=14){l=y;return}if(c[b+148>>2]|0){l=y;return}if(c[b+152>>2]|0){l=y;return}c[79990]=0;d=c[79992]|0;if(d|0?c[d>>2]&1|0:0){l=y;return}c[x>>2]=256;c[x+4>>2]=uI()|0;g=c[80247]|0;if(g|0)do{hg[c[g>>2]&63](c[g+4>>2]|0,x)|0;g=c[g+8>>2]|0}while((g|0)!=0);if((vI(x,1,0,0,0)|0)>=1)wI(x);l=y;return}function uI(){var a=0,b=0,d=0;d=l;l=l+16|0;a=d;do if(!(c[80248]|0)){c[80248]=1;if(!(ib(4,320996)|0)){c[80251]=1;break}else{Ef(321008,0)|0;b=5;break}}else b=5;while(0);if((b|0)==5?(c[80251]|0)==0:0){Ef(a|0,0)|0;b=(((c[a+4>>2]|0)-(c[80253]|0)|0)/1e3|0)+(((c[a>>2]|0)-(c[80252]|0)|0)*1e3|0)|0;l=d;return b|0}ib(4,a|0)|0;b=(((c[a+4>>2]|0)-(c[80250]|0)|0)/1e6|0)+(((c[a>>2]|0)-(c[80249]|0)|0)*1e3|0)|0;l=d;return b|0}function vI(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,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;o=q+8|0;i=q;do{h=c[6836]|0;g=c[6836]|0;if((g|0)==(h|0))c[6836]=h}while((g|0)!=(h|0));g=(d|0)==0;if(!h){if(g){b=-1;l=q;return b|0}_D(294807,i);b=-1;l=q;return b|0}if(g){if((b|0)>0){k=0;g=0}else{b=0;l=q;return b|0}do{do{h=c[6837]|0;d=c[6837]|0;if((d|0)==(h|0))c[6837]=h}while((d|0)!=(h|0));i=a+(k*56|0)|0;do if((h|0)<=65534){d=c[6841]|0;if(!d){d=TM(80)|0;if(!d){d=0;break}else h=d}else{c[6841]=c[d+72>>2];h=d}j=h;m=i;n=j+56|0;do{c[j>>2]=c[m>>2];j=j+4|0;m=m+4|0}while((j|0)<(n|0));if((c[i>>2]|0)==513){f=h+56|0;e=c[a+(k*56|0)+8>>2]|0;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[h+8>>2]=f}d=c[6840]|0;if(!d){c[6839]=h;d=0}else c[d+72>>2]=h;c[6840]=h;c[h+68>>2]=d;c[h+72>>2]=0;d=c[6837]|0;c[6837]=d+1;if((d|0)<(c[6838]|0))d=1;else{c[6838]=d+1;d=1}}else{c[o>>2]=h;_D(294843,o);d=0}while(0);g=d+g|0;k=k+1|0}while((k|0)!=(b|0));l=q;return g|0}p=(d|0)==2;if(p){g=c[6842]|0;if(g|0){h=c[6843]|0;while(1){o=g+12|0;d=c[o>>2]|0;c[o>>2]=h;h=g;if(!d)break;else g=d}c[6843]=g}c[6842]=0}d=c[6839]|0;if(!a){g=0;a:while(1){do{if(!d)break a;b=d;d=c[d+72>>2]|0;b=c[b>>2]|0}while(b>>>0>>0|b>>>0>f>>>0);g=g+1|0}l=q;return g|0}if((b|0)>0)g=0;else{b=0;l=q;return b|0}b:while(1){while(1){if(!d){d=54;break b}k=d+72|0;o=c[k>>2]|0;h=c[d>>2]|0;if(h>>>0>>0|h>>>0>f>>>0)d=o;else break}j=a+(g*56|0)|0;m=d;n=j+56|0;do{c[j>>2]=c[m>>2];j=j+4|0;m=m+4|0}while((j|0)<(n|0));if((h|0)==513){h=c[6843]|0;if(!h)h=TM(16)|0;else c[6843]=c[h+12>>2];n=c[d+8>>2]|0;c[h>>2]=c[n>>2];c[h+4>>2]=c[n+4>>2];c[h+8>>2]=c[n+8>>2];c[h+12>>2]=c[6842];c[6842]=h;c[a+(g*56|0)+8>>2]=h}if(p){h=d+68|0;i=c[h>>2]|0;if(i|0)c[i+72>>2]=c[k>>2];j=c[k>>2]|0;if(j|0)c[j+68>>2]=i;if((c[6839]|0)==(d|0))c[6839]=j;if((c[6840]|0)==(d|0))c[6840]=c[h>>2];c[k>>2]=c[6841];c[6841]=d;c[6837]=(c[6837]|0)+-1}g=g+1|0;if((g|0)<(b|0))d=o;else{d=54;break}}if((d|0)==54){l=q;return g|0}return 0}function wI(a){a=a|0;var d=0,f=0,h=0.0,i=0,j=0,k=0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0.0,D=0.0,G=0,H=0,I=0,J=0,L=0,M=0.0,N=0.0;J=l;l=l+1040|0;s=J+512|0;I=J;r=J+520|0;o=c[a>>2]|0;if((o+-1792|0)>>>0>=3){l=J;return}d=a+8|0;j=c[d>>2]|0;d=c[d+4>>2]|0;f=c[79954]|0;if((f|0)<=0){l=J;return}H=c[79955]|0;G=0;while(1){z=H+(G*8232|0)|0;L=z;i=G+1|0;if((c[L>>2]|0)==(j|0)?(c[L+4>>2]|0)==(d|0):0)break;if((i|0)<(f|0))G=i;else{k=59;break}}if((k|0)==59){l=J;return}if(!z){l=J;return}A=+g[a+24>>2];D=+g[a+28>>2];switch(o|0){case 1793:{a=H+(G*8232|0)+8216|0;b[a>>1]=(b[a>>1]|0)+-1<<16>>16;d=H+(G*8232|0)+8228|0;do if(!(c[d>>2]|0)){EQ(I|0,0,512)|0;xI(H+(G*8232|0)+16|0,I);j=c[H+(G*8232|0)+8220>>2]|0;if((j|0)<=0)break;k=c[H+(G*8232|0)+8224>>2]|0;y=1.0e4;f=-1;i=0;do{m=0.0;d=0;do{v=+g[I+(d<<3)>>2];x=+g[I+(d<<3)+4>>2];w=v*.9828612374600018-x*-.18434692267188546-+g[k+(i*516|0)+(d<<3)>>2];x=v*-.18434692267188546+x*.9828612374600018-+g[k+(i*516|0)+(d<<3)+4>>2];m=m+ +C(+(w*w+x*x));d=d+1|0}while((d|0)!=64);h=0.0;d=0;do{v=+g[I+(d<<3)>>2];x=+g[I+(d<<3)+4>>2];w=v*.9828612374600018-x*.18434692267188546-+g[k+(i*516|0)+(d<<3)>>2];x=v*.18434692267188546+x*.9828612374600018-+g[k+(i*516|0)+(d<<3)+4>>2];h=h+ +C(+(w*w+x*x));d=d+1|0}while((d|0)!=64);v=m*.015625;w=h*.015625;h=w;p=.185407355427742;m=v;t=-.185407355427742;n=-.7853981633974483;x=.7853981633974483;d=v>2];v=+g[I+(d<<3)+4>>2];M=N*n-v*p-+g[k+(i*516|0)+(d<<3)>>2];v=N*p+v*n-+g[k+(i*516|0)+(d<<3)+4>>2];m=m+ +C(+(M*M+v*v));d=d+1|0}while((d|0)!=64);m=m*.015625;d=h.03490658503988659){M=u;N=h;u=t;v=q;h=m;q=M;m=N}else break a}x=u;t=x*.38196601100000005+v*.618033989;p=t;n=+E(+p);p=+F(+p);h=0.0;d=0;do{w=+g[I+(d<<3)>>2];N=+g[I+(d<<3)+4>>2];M=w*n-N*p-+g[k+(i*516|0)+(d<<3)>>2];N=w*p+N*n-+g[k+(i*516|0)+(d<<3)+4>>2];h=h+ +C(+(M*M+N*N));d=d+1|0}while((d|0)!=64);n=h*.015625;d=n.03490658503988659)){h=n;break}else{h=m;p=q;m=n;n=v}}N=d?h:m;L=N-1){L=c[k+(f*516|0)+512>>2]|0;c[I>>2]=2048;s=z;z=c[s+4>>2]|0;d=I+8|0;c[d>>2]=c[s>>2];c[d+4>>2]=z;c[I+32>>2]=c[H+(G*8232|0)+8>>2];c[I+36>>2]=c[H+(G*8232|0)+12>>2];d=I+16|0;c[d>>2]=L;c[d+4>>2]=0;g[I+28>>2]=y;c[I+24>>2]=(e[a>>1]|0)+1;c[I+4>>2]=uI()|0;d=c[80247]|0;if(d|0)do{hg[c[d>>2]&63](c[d+4>>2]|0,I)|0;d=c[d+8>>2]|0}while((d|0)!=0);if((vI(I,1,0,0,0)|0)>=1)wI(I)}}else{c[d>>2]=0;xI(H+(G*8232|0)+16|0,r);i=H+(G*8232|0)+8220|0;k=c[i>>2]|0;o=H+(G*8232|0)+8224|0;j=VM(c[o>>2]|0,(k*516|0)+516|0)|0;if(j){c[o>>2]=j;CQ(j+(k*516|0)|0,r|0,512)|0;d=5381;f=0;do{d=(((~~+g[j+(k*516|0)+(f<<3)>>2]>>>0)+(d*33|0)|0)*33|0)+(~~+g[j+(k*516|0)+(f<<3)+4>>2]>>>0)|0;f=f+1|0}while((f|0)!=64);c[j+(k*516|0)+512>>2]=d;c[i>>2]=(c[i>>2]|0)+1;d=z;f=c[d>>2]|0;d=c[d+4>>2]|0;if((k|0)>-1){L=c[(c[o>>2]|0)+(k*516|0)+512>>2]|0;c[I>>2]=2049;z=I+8|0;c[z>>2]=f;c[z+4>>2]=d;d=I+16|0;c[d>>2]=L;c[d+4>>2]=0;c[I+4>>2]=uI()|0;d=c[80247]|0;if(d|0)do{hg[c[d>>2]&63](c[d+4>>2]|0,I)|0;d=c[d+8>>2]|0}while((d|0)!=0);if((vI(I,1,0,0,0)|0)>=1)wI(I);break}}else{_D(294618,s);d=z;f=c[d>>2]|0;d=c[d+4>>2]|0}c[I>>2]=2049;L=I+8|0;c[L>>2]=f;c[L+4>>2]=d;d=I+16|0;c[d>>2]=-1;c[d+4>>2]=-1;c[I+4>>2]=uI()|0;d=c[80247]|0;if(d|0)do{hg[c[d>>2]&63](c[d+4>>2]|0,I)|0;d=c[d+8>>2]|0}while((d|0)!=0);if((vI(I,1,0,0,0)|0)>=1)wI(I)}while(0);d=b[a>>1]|0;if(d<<16>>16){L=H+(G*8232|0)+8|0;M=+((d&65535)+1|0);N=+(d&65535);g[L>>2]=(M*+g[L>>2]-A)/N;L=H+(G*8232|0)+12|0;g[L>>2]=(M*+g[L>>2]-D)/N}l=J;return}case 1794:{q=+g[a+32>>2];p=+g[a+36>>2];d=H+(G*8232|0)+20|0;f=c[d>>2]|0;if((f|0)<1024){c[H+(G*8232|0)+24+(f<<3)>>2]=c[H+(G*8232|0)+8>>2];i=H+(G*8232|0)+12|0;c[H+(G*8232|0)+24+(f<<3)+4>>2]=c[i>>2];L=c[d>>2]|0;s=L+-1|0;M=+g[H+(G*8232|0)+24+(L<<3)>>2]-+g[H+(G*8232|0)+24+(s<<3)>>2];N=+g[H+(G*8232|0)+24+(L<<3)+4>>2]-+g[H+(G*8232|0)+24+(s<<3)+4>>2];N=+C(+(M*M+N*N));s=H+(G*8232|0)+16|0;g[s>>2]=+g[s>>2]+N;c[d>>2]=L+1}else i=H+(G*8232|0)+12|0;f=H+(G*8232|0)+8|0;m=+g[f>>2];n=+g[i>>2];d=H+(G*8232|0)+8216|0;L=b[d>>1]|0;h=+(L&65535);g[f>>2]=m+q/h;h=n+p/h;g[i>>2]=h;if((L&65535)<=1){l=J;return}w=A-q-m;v=D-p-n;N=+C(+(w*w+v*v));y=+g[f>>2];x=A-y;D=D-h;M=+C(+(x*x+D*D));w=w/N;A=v/N;x=x/M;D=D/M;D=+K(+(w*D-A*x),+(w*x+A*D));L=N==0.0;c[I>>2]=2050;G=c[z+4>>2]|0;H=I+8|0;c[H>>2]=c[z>>2];c[H+4>>2]=G;g[I+24>>2]=y;g[I+28>>2]=h;g[I+16>>2]=L?0.0:D;g[I+20>>2]=L?0.0:M-N;b[I+32>>1]=b[d>>1]|0;c[I+4>>2]=uI()|0;d=c[80247]|0;if(d|0)do{hg[c[d>>2]&63](c[d+4>>2]|0,I)|0;d=c[d+8>>2]|0}while((d|0)!=0);if((vI(I,1,0,0,0)|0)>=1)wI(I);l=J;return}case 1792:{L=H+(G*8232|0)+8216|0;I=(b[L>>1]|0)+1<<16>>16;b[L>>1]=I;L=H+(G*8232|0)+8|0;M=+((I&65535)+-1|0);N=+(I&65535);g[L>>2]=(A+ +g[L>>2]*M)/N;L=H+(G*8232|0)+12|0;g[L>>2]=(D+ +g[L>>2]*M)/N;g[H+(G*8232|0)+16>>2]=0.0;g[H+(G*8232|0)+24>>2]=A;g[H+(G*8232|0)+28>>2]=D;c[H+(G*8232|0)+20>>2]=1;l=J;return}default:{l=J;return}}}function xI(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,h=0,i=0.0,j=0.0,k=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,y=0,z=0,A=0.0,B=0.0;z=l;l=l+16|0;y=z;e=+g[a>>2];x=c[a+4>>2]|0;if(e<=0.0)if((x|0)>1){d=1;f=+g[a+12>>2];i=+g[a+8>>2];do{r=i;i=+g[a+8+(d<<3)>>2];r=i-r;s=f;f=+g[a+8+(d<<3)+4>>2];s=f-s;e=e+ +C(+(r*r+s*s));d=d+1|0}while((d|0)!=(x|0));h=5}else d=0;else h=5;if((h|0)==5){q=e/63.0;if((x|0)>1){e=q;d=0;w=1;f=0.0;i=0.0;do{u=w+-1|0;h=a+8+(u<<3)|0;o=+g[h>>2];t=a+8+(w<<3)|0;n=+g[t>>2];m=o-n;u=a+8+(u<<3)+4|0;j=+g[u>>2];v=a+8+(w<<3)+4|0;k=+g[v>>2];p=j-k;p=+C(+(m*m+p*p));m=p+e;a:do if(m>q){m=o;while(1){r=(q-e)/p;s=m+r*(n-m);g[b+(d<<3)>>2]=s;j=j+r*(k-j);g[b+(d<<3)+4>>2]=j;f=f+s;i=i+j;d=d+1|0;e=e-q;j=p+e;if(!(j>q)){e=j;break a}n=+g[t>>2];m=+g[h>>2];k=+g[v>>2];j=+g[u>>2]}}else e=m;while(0);w=w+1|0}while((w|0)!=(x|0));if((d|0)>=63){a=a+8+(x+-1<<3)|0;y=c[a+4>>2]|0;h=b+504|0;c[h>>2]=c[a>>2];c[h+4>>2]=y;s=f*.015625;r=i*.015625;e=+g[b+4>>2];f=+g[b>>2];q=+K(+(r-e),+(s-f));n=s;o=r;p=+E(+q);q=+F(+q);k=s;m=s;i=r;j=r;h=0;while(1){B=f-s;A=e-r;f=n+(B*p-A*q);g[b+(h<<3)>>2]=f;A=o+(B*q+A*p);g[b+(h<<3)+4>>2]=A;e=fm?f:m;j=Ai?A:i;d=h+1|0;if((d|0)==64)break;k=e;m=f;h=d;f=+g[b+(d<<3)>>2];e=+g[b+(d<<3)+4>>2]}f=f-e;e=i-j;d=0;do{y=b+(d<<3)|0;g[y>>2]=(+g[y>>2]-s)*256.0/f;y=b+(d<<3)+4|0;g[y>>2]=(+g[y>>2]-r)*256.0/e;d=d+1|0}while((d|0)!=64);l=z;return}}else d=0}c[y>>2]=d;_D(294784,y);l=z;return}function yI(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if((b|0)!=0?(a[b>>0]|0)!=0:0)e=Df(b|0)|0;else e=0;f=c[79960]|0;a:do if(!f)g=10;else{while(1){if(!(wN(b,c[f>>2]|0)|0))break;f=c[f+16>>2]|0;if(!f){g=10;break a}}if(e|0?(c[f+8>>2]|0)!=2:0)break;e=c[f+4>>2]|0;g=10}while(0);if((g|0)==10)if(!e){g=d;return g|0}if((a[e>>0]|0)==48){g=0;return g|0}else return (IO(e,306849)|0)!=0|0;return 0}function zI(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;g=i+8|0;f=i;h=(a|0)==0;a:do if(!h?(c[a+48>>2]&16384|0)==0:0){e=c[79957]|0;do if(e)if((c[a>>2]|0)==(e+280|0))if(((d|b|0)>-1?(c[a+24>>2]|0)>(b|0):0)&(c[a+28>>2]|0)>(d|0))break a;else break;else{_D(307482,g);break}else _D(288260,f);while(0);if((c[79973]|0)!=(a|0)){d=0;l=i;return d|0}AI(a,c[79972]|0,0,b,d)|0;e=c[79973]|0;if(!e){d=0;l=i;return d|0}tI(e,11,0,0);c[79973]=0;e=c[79986]|0;f=c[79964]|0;g=(f|0)==0;if((e|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(g){d=0;l=i;return d|0}gg[f&511](e)|0;d=0;l=i;return d|0}else{if(g){d=0;l=i;return d|0}gg[f&511](0)|0;d=0;l=i;return d|0}}while(0);e=c[79973]|0;if((e|0)==(a|0)){d=1;l=i;return d|0}if(e|0)tI(e,11,0,0);c[79973]=a;if(h)e=319944;else{tI(a,10,0,0);e=(c[79973]|0)==0?319944:319948}e=c[e>>2]|0;f=c[79964]|0;g=(f|0)==0;if((e|0)!=0&(c[79988]|0)!=0&(c[79981]|0)==0){if(!g)gg[f&511](e)|0}else if(!g)gg[f&511](0)|0;AI(a,c[79972]|0,0,b,d)|0;d=1;l=i;return d|0}function AI(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+96|0;o=t+80|0;n=t+72|0;i=t+64|0;h=t+56|0;s=t;do if(c[79982]|0){g=c[79957]|0;do if(!g){_D(288260,h);h=0;g=0}else{if(a|0?(c[a>>2]|0)==(g+280|0):0){h=c[a+28>>2]|0;g=c[a+24>>2]|0;break}_D(307482,i);h=0;g=0}while(0);j=(g|0)/2|0;i=(h|0)/2|0;if((j|0)==(e|0)&(i|0)==(f|0)){c[79978]=e;g=0;break}h=(a|0)==0?c[79973]|0:a;if(h){g=c[79967]|0;if(g|0){Dg[g&63](h,j,i);k=15;break}g=c[79972]|0;if(zI(h,j,i)|0){AI(h,g,0,j,i)|0;k=15}else k=15}else k=15}else k=15;while(0);do if((k|0)==15){p=(d|0)!=0;g=c[79979]|0;h=c[79978]|0;if(p){d=f;m=e;f=g+f|0;e=h+e|0}else{d=f-g|0;m=e-h|0}if(!(d|m)){s=0;l=t;return s|0}g=c[79981]|0;if(!g){c[79974]=e;h=f}else{c[79974]=(c[79974]|0)+m;h=(c[79975]|0)+d|0}c[79975]=h;if((a|0)!=0?(c[a+48>>2]&16384|0)==0:0){h=c[79973]|0;g=c[79957]|0;do if(!g){_D(288260,n);k=0;i=0}else{if(h|0?(c[h>>2]|0)==(g+280|0):0){k=c[h+28>>2]|0;i=c[h+24>>2]|0;break}_D(307482,o);k=0;i=0}while(0);h=i+-1|0;g=k+-1|0;j=c[79974]|0;if((j|0)<(i|0))h=j;else c[79974]=h;if((h|0)<0)c[79974]=0;h=c[79975]|0;if((h|0)<(k|0))g=h;else c[79975]=g;if((g|0)<0)c[79975]=0;g=c[79981]|0}c[79976]=(c[79976]|0)+m;c[79977]=(c[79977]|0)+d;if(((c[79988]|0)!=0&(g|0)==0?(q=c[79965]|0,q|0):0)?(r=c[79987]|0,r|0):0)vg[q&511](r);r=c[79995]|0;if((r|0)!=0?(c[r>>2]&1|0)!=0:0)g=0;else{c[s>>2]=1024;g=c[79973]|0;if(!g)g=0;else g=c[g+4>>2]|0;c[s+8>>2]=g;c[s+12>>2]=b;c[s+16>>2]=c[79980];c[s+20>>2]=c[79974];c[s+24>>2]=c[79975];c[s+28>>2]=m;c[s+32>>2]=d;c[s+4>>2]=uI()|0;g=c[80247]|0;if(g|0)do{hg[c[g>>2]&63](c[g+4>>2]|0,s)|0;g=c[g+8>>2]|0}while((g|0)!=0);if((vI(s,1,0,0,0)|0)<1)g=0;else{wI(s);g=1}}if(p){c[79978]=c[79974];f=c[79975]|0;break}else{c[79978]=e;break}}while(0);c[79979]=f;s=g;l=t;return s|0}function BI(a){a=a|0;var b=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;r=l;l=l+48|0;p=r+16|0;b=r+8|0;o=r+24|0;d=c[79957]|0;if(!d){_D(288260,r);q=-1;l=r;return q|0}if(a|0?(c[a>>2]|0)==(d+280|0):0){h=c[a+16>>2]|0;b=h&-65536;if((b|0)<805240832)switch(b|0){case 536805376:{q=7;break}default:{}}else switch(b|0){case 805240832:{q=7;break}default:{}}if((q|0)==7){q=h&65535;q=(q|0)>=(c[d+264>>2]|0)?0:q;l=r;return q|0}f=c[a+20>>2]|0;b=f&-65536;if((b|0)<805240832)switch(b|0){case 536805376:{q=11;break}default:{}}else switch(b|0){case 805240832:{q=11;break}default:{}}if((q|0)==11){q=f&65535;q=(q|0)>=(c[d+264>>2]|0)?0:q;l=r;return q|0}e=c[d+264>>2]|0;g=(e|0)>0;a:do if(g){d=c[d+268>>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)>=(e|0))break a}l=r;return b|0}while(0);n=((c[a+24>>2]|0)/2|0)+h|0;m=((c[a+28>>2]|0)/2|0)+f|0;if(g){i=o+8|0;j=o+4|0;k=o+12|0;h=2147483647;b=-1;a=0;while(1){FI(a,o);d=c[o>>2]|0;e=c[j>>2]|0;f=c[i>>2]|0;g=c[k>>2]|0;if((f|0)>0&(g|0)>0?(m|0)<(g+e|0)&(((n|0)>=(f+d|0)|(n|0)<(d|0)|(m|0)<(e|0))^1):0){b=a;q=21;break}d=n-d+((f|0)/-2|0)|0;e=m-e+((g|0)/-2|0)|0;d=(O(e,e)|0)+(O(d,d)|0)|0;e=(d|0)<(h|0);b=e?a:b;a=a+1|0;if((a|0)>=(c[(c[79957]|0)+264>>2]|0))break;else h=e?d:h}if((q|0)==21){l=r;return b|0}if((b|0)>=0){q=b;l=r;return q|0}}else b=-1;_D(295048,p);q=b;l=r;return q|0}_D(307482,b);q=-1;l=r;return q|0}function CI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=l;l=l+48|0;h=i+24|0;f=i+16|0;e=i+8|0;g=i+28|0;d=c[79957]|0;if(!d){_D(288260,i);h=-1;l=i;return h|0}if(a|0?(c[a>>2]|0)==(d+280|0):0){if(!b){c[f>>2]=295010;_D(309840,f);h=-1;l=i;return h|0}d=a+72|0;c[g>>2]=c[d>>2];c[g+4>>2]=c[d+4>>2];c[g+8>>2]=c[d+8>>2];c[g+12>>2]=c[d+12>>2];c[g+16>>2]=c[d+16>>2];d=g+4|0;if(!(c[d>>2]|0))c[d>>2]=c[a+64>>2];d=g+8|0;if(!(c[d>>2]|0))c[d>>2]=c[a+68>>2];d=BI(a)|0;if((d|0)>-1)d=(c[(c[79957]|0)+268>>2]|0)+(d*68|0)|0;else d=0;if((c[a+48>>2]&4097|0)!=4097){d=BI(a)|0;if((d|0)>-1)d=(c[(c[79957]|0)+268>>2]|0)+(d*68|0)|0;else d=0;if(!(DI(d,g,g)|0)){_D(295015,h);h=-1;l=i;return h|0}}else{h=d+16|0;c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[g+16>>2]=c[h+16>>2]};c[b>>2]=c[g>>2];c[b+4>>2]=c[g+4>>2];c[b+8>>2]=c[g+8>>2];c[b+12>>2]=c[g+12>>2];c[b+16>>2]=c[g+16>>2];h=0;l=i;return h|0}_D(307482,e);h=-1;l=i;return h|0}function DI(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,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=l;l=l+16|0;if(!((b|0)!=0&(d|0)!=0)){_D(294963,x);d=0;l=x;return d|0}e=c[b>>2]|0;if(!e)e=c[a+16>>2]|0;w=b+12|0;f=c[w>>2]|0;if(!f)f=c[a+28>>2]|0;t=b+4|0;p=a+8|0;q=a+12|0;r=e>>>8&255;u=b+8|0;v=0;o=0;g=c[p>>2]|0;while(1){if(!g){g=c[79957]|0;i=c[g+24>>2]|0;if(!i)n=0;else{Bg[i&255](g,a);qO(c[q>>2]|0,c[p>>2]|0,20,24);n=c[p>>2]|0}}else n=g;if((o|0)>=(n|0))break;m=c[q>>2]|0;g=m+(o*20|0)|0;i=c[m+(o*20|0)+4>>2]|0;j=(i|0)!=0;if(j?(i|0)<(c[t>>2]|0):0)break;k=c[m+(o*20|0)+8>>2]|0;if((k|0)!=0?(k|0)<(c[u>>2]|0):0)if(j?(i|0)==(c[t>>2]|0):0)break;else g=v;else s=18;do if((s|0)==18){s=0;if(((v|0)!=0?(i|0)>=(c[v+4>>2]|0):0)?(k|0)>=(c[v+8>>2]|0):0){i=c[g>>2]|0;if((i|0)==(c[v>>2]|0)){m=c[m+(o*20|0)+12>>2]|0;g=((m|0)<(f|0)?1:(m|0)==(c[v+12>>2]|0))?v:g;break}if((i|0)!=(e|0)){if((i>>>8&255)>>>0>>0){g=v;break}if((i^e)&251658240|0){g=v;break}}}}while(0);v=g;o=o+1|0;g=n}if(!v){d=0;l=x;return d|0}e=c[v>>2]|0;if(!e)i=c[b>>2]|0;else i=e;c[d>>2]=i;e=c[v+4>>2]|0;if((e|0)!=0?(h=c[v+8>>2]|0,(h|0)!=0):0){c[d+4>>2]=e;g=e}else{g=c[t>>2]|0;c[d+4>>2]=g;h=c[u>>2]|0}f=d+8|0;c[f>>2]=h;e=c[v+12>>2]|0;if(!e)e=c[w>>2]|0;c[d+12>>2]=e;c[d+16>>2]=c[v+16>>2];if(!i)c[d>>2]=370546692;if(!g)c[d+4>>2]=640;if(h|0){l=x;return d|0}c[f>>2]=480;l=x;return d|0}function EI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=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}d=c[a+8>>2]|0;e=c[b+8>>2]|0;if((e|0)!=(d|0)){b=e-d|0;return b|0}d=c[a>>2]|0;e=d>>>8&255;g=c[b>>2]|0;f=g>>>8&255;if((f|0)!=(e|0)){b=f-e|0;return b|0}e=d>>>16&15;d=g>>>16&15;if((d|0)==(e|0)){a=c[a+12>>2]|0;b=c[b+12>>2]|0;return ((b|0)==(a|0)?0:b-a|0)|0}b=d-e|0;return b|0}function FI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+16|0;e=g+8|0;f=c[79957]|0;if(!f){_D(288260,g);l=g;return}d=c[f+264>>2]|0;if(!((a|0)>-1&(d|0)>(a|0))){c[e>>2]=d+-1;_D(295075,e);l=g;return}if(!b){l=g;return}e=c[f+268>>2]|0;d=c[f+12>>2]|0;if(d|0?(ig[d&63](f,e+(a*68|0)|0,b)|0)==0:0){l=g;return}if(!a){c[b>>2]=0;c[b+4>>2]=0;d=b+8|0}else{FI(a+-1|0,b);d=b+8|0;c[b>>2]=(c[b>>2]|0)+(c[d>>2]|0)}c[d>>2]=c[e+(a*68|0)+40>>2];c[b+12>>2]=c[e+(a*68|0)+44>>2];l=g;return}function GI(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;d=HI(b)|0;if(!d){h=0;l=i;return h|0}h=TM(324)|0;if(!h){_D(294618,i);h=0;l=i;return h|0}if(c[h+-4>>2]&3|0)EQ(h|0,0,324)|0;f=TM(8)|0;if(!f){UM(c[h+320>>2]|0);UM(h);_D(294618,i+8|0);h=0;l=i;return h|0}if(c[f+-4>>2]&3|0){g=f;e=g;a[e>>0]=0;a[e+1>>0]=0;a[e+2>>0]=0;a[e+3>>0]=0;g=g+4|0;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0}c[f>>2]=d;g=f+4|0;c[g>>2]=d;c[h+4>>2]=175;c[h+8>>2]=25;c[h+12>>2]=25;c[h+16>>2]=26;c[h+20>>2]=27;c[h+24>>2]=28;c[h+28>>2]=18;c[h+36>>2]=19;c[h+40>>2]=176;c[h+44>>2]=29;c[h+48>>2]=404;c[h+52>>2]=405;c[h+56>>2]=406;c[h+60>>2]=26;c[h+64>>2]=27;c[h+68>>2]=28;c[h+72>>2]=13;c[h+76>>2]=2;c[h+80>>2]=20;c[h+84>>2]=250;c[h+88>>2]=177;c[h+92>>2]=251;d=h+104|0;b=27380;e=d+84|0;do{c[d>>2]=c[b>>2];d=d+4|0;b=b+4|0}while((d|0)<(e|0));b=h+320|0;c[b>>2]=f;if(c[f>>2]|0){l=i;return h|0}e=c[g>>2]|0;c[f>>2]=e;if(e|0){l=i;return h|0}d=HI(c[h+188>>2]|0)|0;if(!d){l=i;return h|0}c[g>>2]=d;c[f>>2]=d;d=c[c[b>>2]>>2]|0;if(!d){l=i;return h|0}cJ(d,h+216|0);d=c[c[b>>2]>>2]|0;if(!d){l=i;return h|0}if(!(c[h+280>>2]|0)){f=c[d+8>>2]|0;g=c[d+12>>2]|0;c[d+36>>2]=0;c[d+40>>2]=0;c[d+44>>2]=f;c[d+48>>2]=g;l=i;return h|0}else{cJ(d,h+248|0);l=i;return h|0}return 0}function HI(a){a=a|0;var b=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;r=l;l=l+64|0;o=r+16|0;b=r+8|0;e=r+48|0;f=r+44|0;h=r+40|0;i=r+36|0;j=r+32|0;k=r+28|0;m=r+24|0;n=r+20|0;d=c[79957]|0;if(!d){_D(288260,r);q=0;l=r;return q|0}if(a|0?(c[a>>2]|0)==(d+280|0):0){p=a+112|0;q=a+108|0;b=c[q>>2]|0;if(c[p>>2]|0){q=b;l=r;return q|0}if(!b)b=d;else{c[b>>2]=c[b>>2]&-5;yE(b);b=c[79957]|0}d=c[b+132>>2]|0;do if((((d|0)!=0?(c[b+136>>2]|0)!=0:0)?(lg[d&31](b,a,e,f,h)|0)>=0:0)?(jI(c[e>>2]|0,i,j,k,m,n)|0)!=0:0){f=c[f>>2]|0;g=c[a+24>>2]|0;e=c[a+28>>2]|0;d=c[h>>2]|0;b=jJ(c[i>>2]|0,c[j>>2]|0,c[k>>2]|0,c[m>>2]|0,c[n>>2]|0)|0;if(!b){_D(295409,o);b=0;break}b=kJ(0,0,b)|0;if(b){c[b>>2]=c[b>>2]|1;c[b+20>>2]=f;c[b+8>>2]=g;c[b+12>>2]=e;c[b+16>>2]=d;c[b+36>>2]=0;c[b+40>>2]=0;c[b+44>>2]=g;c[b+48>>2]=e}else b=0}else b=0;while(0);c[q>>2]=b;if(!b){q=0;l=r;return q|0}c[p>>2]=1;c[b>>2]=c[b>>2]|4;q=b;l=r;return q|0}_D(307482,b);q=0;l=r;return q|0}function II(b,d){b=b|0;d=d|0;b=c[b+320>>2]|0;if((a[d+12>>0]|0)!=6)return;c[b>>2]=0;c[b+4>>2]=0;return}function JI(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=l;l=l+16|0;i=j;g=a+320|0;h=c[g>>2]|0;e=c[h>>2]|0;a:do if(!e){f=h+4|0;k=c[f>>2]|0;c[h>>2]=k;e=k;if(!k){e=HI(c[a+188>>2]|0)|0;do if(e|0){c[f>>2]=e;c[h>>2]=e;f=c[c[g>>2]>>2]|0;if(!f)break a;cJ(f,a+216|0);e=c[c[g>>2]>>2]|0;if(e|0)if(!(c[a+280>>2]|0)){a=c[e+8>>2]|0;k=c[e+12>>2]|0;c[e+36>>2]=0;c[e+40>>2]=0;c[e+44>>2]=a;c[e+48>>2]=k;break}else{cJ(e,a+248|0);break}}while(0);e=c[h>>2]|0}if(!e){_D(296092,i);k=-1;l=j;return k|0}}while(0);if(b|0)c[b>>2]=c[e+8>>2];if(!d){k=0;l=j;return k|0}c[d>>2]=c[e+12>>2];k=0;l=j;return k|0}function KI(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;k=l;l=l+32|0;b=k+28|0;e=k+24|0;f=k+20|0;g=k+16|0;h=k+12|0;if(!(jI(c[d+4>>2]|0,b,e,f,g,h)|0)){_D(296069,k);m=-1;l=k;return m|0}b=jJ(c[b>>2]|0,c[e>>2]|0,c[f>>2]|0,c[g>>2]|0,c[h>>2]|0)|0;if(!b){_D(295409,k+8|0);b=0}else b=kJ(c[d+12>>2]|0,c[d+16>>2]|0,b)|0;i=d+68|0;c[i>>2]=b;e=a[d+28>>0]|0;f=a[d+29>>0]|0;g=a[d+30>>0]|0;do if(b){h=c[b+52>>2]|0;a[h+76>>0]=e;a[h+77>>0]=f;a[h+78>>0]=g;o=h+68|0;n=c[o>>2]|0;g=(f&e)<<24>>24==-1&g<<24>>24==-1?n&-2:n|1;c[o>>2]=g;if(!((g|0)==(n|0)|(h|0)==0)){b=c[h>>2]|0;if(b|0?(n=b+56|0,o=c[n>>2]|0,c[n>>2]=o+-1,(o|0)<2):0)yE(b);c[h>>2]=0;c[h+84>>2]=0;c[h+80>>2]=0;b=h+64|0;UM(c[b>>2]|0);c[b>>2]=0;b=c[i>>2]|0;if(!b){b=0;break}else e=a[d+31>>0]|0}else e=a[d+31>>0]|0;f=c[b+52>>2]|0;a[f+79>>0]=e;h=f+68|0;o=c[h>>2]|0;n=e<<24>>24!=-1?o|2:o&-3;c[h>>2]=n;if(!((n|0)==(o|0)|(f|0)==0)){b=c[f>>2]|0;if(b|0?(n=b+56|0,o=c[n>>2]|0,c[n>>2]=o+-1,(o|0)<2):0)yE(b);c[f>>2]=0;c[f+84>>2]=0;c[f+80>>2]=0;b=f+64|0;UM(c[b>>2]|0);c[b>>2]=0;b=c[i>>2]|0}}else b=0;while(0);gJ(b,c[d+24>>2]|0)|0;if(((c[d+8>>2]|0)==0?(j=c[i>>2]|0,j|0):0)?(m=c[j+52>>2]|0,j=m+68|0,o=c[j>>2]|0,n=o|4096,c[j>>2]=n,!((n|0)==(o|0)|(m|0)==0)):0){b=c[m>>2]|0;if(b|0?(n=b+56|0,o=c[n>>2]|0,c[n>>2]=o+-1,(o|0)<2):0)yE(b);c[m>>2]=0;c[m+84>>2]=0;c[m+80>>2]=0;o=m+64|0;UM(c[o>>2]|0);c[o>>2]=0}o=((c[i>>2]|0)==0)<<31>>31;l=k;return o|0}function LI(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;j=c[d+68>>2]|0;g=d+28|0;f=a[g>>0]|0;h=d+29|0;e=a[h>>0]|0;i=d+30|0;b=a[i>>0]|0;if((j|0)==0?1:(e&f&b)<<24>>24==-1){if(!j){j=-1;return j|0}}else{d=c[j+52>>2]|0;m=d+68|0;k=c[m>>2]|0;l=k&-4097;c[m>>2]=l;if(!((l|0)==(k|0)|(d|0)==0)){b=c[d>>2]|0;if(b|0?(l=b+56|0,m=c[l>>2]|0,c[l>>2]=m+-1,(m|0)<2):0)yE(b);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;f=d+64|0;UM(c[f>>2]|0);c[f>>2]=0;f=a[g>>0]|0;e=a[h>>0]|0;b=a[i>>0]|0}}d=c[j+52>>2]|0;a[d+76>>0]=f;a[d+77>>0]=e;a[d+78>>0]=b;k=d+68|0;m=c[k>>2]|0;l=(e&f)<<24>>24==-1&b<<24>>24==-1?m&-2:m|1;c[k>>2]=l;if((l|0)==(m|0)|(d|0)==0){m=0;return m|0}b=c[d>>2]|0;if(b|0?(l=b+56|0,m=c[l>>2]|0,c[l>>2]=m+-1,(m|0)<2):0)yE(b);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;m=d+64|0;UM(c[m>>2]|0);c[m>>2]=0;m=0;return m|0}function MI(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=c[d+68>>2]|0;d=d+31|0;b=a[d>>0]|0;if(b<<24>>24==-1)if(!f){f=-1;return f|0}else b=-1;else if((c[(c[f+4>>2]|0)+24>>2]|0)!=0?(e=c[f+52>>2]|0,i=e+68|0,g=c[i>>2]|0,h=g&-4097,c[i>>2]=h,!((h|0)==(g|0)|(e|0)==0)):0){b=c[e>>2]|0;if(b|0?(h=b+56|0,i=c[h>>2]|0,c[h>>2]=i+-1,(i|0)<2):0)yE(b);c[e>>2]=0;c[e+84>>2]=0;c[e+80>>2]=0;b=e+64|0;UM(c[b>>2]|0);c[b>>2]=0;b=a[d>>0]|0}d=c[f+52>>2]|0;a[d+79>>0]=b;g=d+68|0;i=c[g>>2]|0;h=b<<24>>24!=-1?i|2:i&-3;c[g>>2]=h;if((h|0)==(i|0)|(d|0)==0){i=0;return i|0}b=c[d>>2]|0;if(b|0?(h=b+56|0,i=c[h>>2]|0,c[h>>2]=i+-1,(i|0)<2):0)yE(b);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;i=d+64|0;UM(c[i>>2]|0);c[i>>2]=0;i=0;return i|0}function NI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b+68>>2]|0;b=b+24|0;a=c[b>>2]|0;switch(a|0){case 4:case 2:{if((d|0)!=0?(e=c[d+52>>2]|0,h=e+68|0,f=c[h>>2]|0,g=f&-4097,c[h>>2]=g,!((g|0)==(f|0)|(e|0)==0)):0){a=c[e>>2]|0;if(a|0?(g=a+56|0,h=c[g>>2]|0,c[g>>2]=h+-1,(h|0)<2):0)yE(a);c[e>>2]=0;c[e+84>>2]=0;c[e+80>>2]=0;a=e+64|0;UM(c[a>>2]|0);c[a>>2]=0;a=c[b>>2]|0}break}default:{}}return gJ(d,a)|0}function OI(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;l=c[b+68>>2]|0;a=c[l>>2]|0;if(a&2){h=l+28|0;b=c[h>>2]|0;if(!b){xE(l,1);a=c[l>>2]|2;c[l>>2]=a;b=c[h>>2]|0}c[h>>2]=b+1}i=l+16|0;b=d[(c[l+4>>2]|0)+9>>0]|0;j=O(c[e+8>>2]|0,b)|0;k=e+12|0;if((c[k>>2]|0)>0){a=(c[l+20>>2]|0)+(O(c[i>>2]|0,c[e+4>>2]|0)|0)|0;h=0;b=a+(O(b,c[e>>2]|0)|0)|0;a=f;while(1){CQ(b|0,a|0,j|0)|0;h=h+1|0;if((h|0)>=(c[k>>2]|0))break;else{b=b+(c[i>>2]|0)|0;a=a+g|0}}a=c[l>>2]|0}if(!(a&2))return 0;b=l+28|0;h=c[b>>2]|0;if(!h)return 0;c[b>>2]=h+-1;if((h|0)>1)return 0;c[l>>2]=a&-3;BE(l)|0;return 0}function PI(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)+(O(b,c[e+4>>2]|0)|0)|0;c[f>>2]=h+(O(d[(c[a+4>>2]|0)+9>>0]|0,c[e>>2]|0)|0);c[g>>2]=b;return 0}function QI(a,b){a=a|0;b=b|0;return}function RI(a,b){a=a|0;b=b|0;a=c[a+320>>2]|0;c[a>>2]=c[((b|0)==0?a+4|0:b+68|0)>>2];return 0}function SI(a){a=a|0;var b=0;b=c[c[a+320>>2]>>2]|0;if(!b)return 0;cJ(b,a+216|0);return 0}function TI(a){a=a|0;var b=0,d=0;b=c[c[a+320>>2]>>2]|0;if(!b)return 0;if(!(c[a+280>>2]|0)){d=c[b+8>>2]|0;a=c[b+12>>2]|0;c[b+36>>2]=0;c[b+40>>2]=0;c[b+44>>2]=d;c[b+48>>2]=a;return 0}else{cJ(b,a+248|0);return 0}return 0}function UI(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;m=l;l=l+16|0;j=m;f=b+320|0;g=c[f>>2]|0;d=c[g>>2]|0;a:do if(!d){e=g+4|0;i=c[e>>2]|0;c[g>>2]=i;d=i;if(!i){d=HI(c[b+188>>2]|0)|0;do if(d|0){c[e>>2]=d;c[g>>2]=d;e=c[c[f>>2]>>2]|0;if(!e){h=10;break a}cJ(e,b+216|0);d=c[c[f>>2]>>2]|0;if(d|0)if(!(c[b+280>>2]|0)){f=c[d+8>>2]|0;i=c[d+12>>2]|0;c[d+36>>2]=0;c[d+40>>2]=0;c[d+44>>2]=f;c[d+48>>2]=i;break}else{cJ(d,b+248|0);break}}while(0);d=c[g>>2]|0}if(!d){k=-1;l=m;return k|0}else e=j}else h=10;while(0);if((h|0)==10)e=j;n=mJ(c[d+4>>2]|0,a[b+312>>0]|0,a[b+313>>0]|0,a[b+314>>0]|0,a[b+315>>0]|0)|0;f=d+36|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];f=d+8|0;i=c[f>>2]|0;e=d+12|0;o=c[e>>2]|0;g=d+36|0;c[g>>2]=0;b=d+40|0;c[b>>2]=0;h=d+44|0;c[h>>2]=i;i=d+48|0;c[i>>2]=o;fI(d,0,n)|0;d=c[f>>2]|0;e=c[e>>2]|0;f=c[j+8>>2]|0;if((f|0)>=1?(k=c[j+12>>2]|0,!((k|0)<1|(d|0)<1|(e|0)<1)):0){o=c[j>>2]|0;n=f+o|0;o=(o|0)>0?o:0;c[g>>2]=o;c[h>>2]=((d|0)<(n|0)?d:n)-o;d=c[j+4>>2]|0;o=k+d|0;d=(d|0)>0?d:0;c[b>>2]=d;d=((e|0)<(o|0)?e:o)-d|0}else{c[h>>2]=0;d=0}c[i>>2]=d;o=0;l=m;return o|0}function VI(e,f,h){e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0.0,n=0,o=0.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=l;l=l+32|0;s=C+24|0;z=C+16|0;r=C+8|0;q=C;n=e+320|0;p=c[n>>2]|0;i=c[p>>2]|0;a:do if(!i){k=p+4|0;A=c[k>>2]|0;c[p>>2]=A;i=A;if(!A){j=HI(c[e+188>>2]|0)|0;do if(j|0){c[k>>2]=j;c[p>>2]=j;i=c[c[n>>2]>>2]|0;if(!i)break a;cJ(i,e+216|0);i=c[c[n>>2]>>2]|0;if(i|0)if(!(c[e+280>>2]|0)){y=c[i+8>>2]|0;A=c[i+12>>2]|0;c[i+36>>2]=0;c[i+40>>2]=0;c[i+44>>2]=y;c[i+48>>2]=A;break}else{cJ(i,e+248|0);break}}while(0);i=c[p>>2]|0}if(!i){h=-1;l=C;return h|0}else j=i}else j=i;while(0);A=l;l=l+((1*(h<<3)|0)+15&-16)|0;i=c[e+216>>2]|0;k=c[e+220>>2]|0;y=(h|0)>0;if(!(k|i)){if(y){i=0;do{c[A+(i<<3)>>2]=~~+g[f+(i<<3)>>2];c[A+(i<<3)+4>>2]=~~+g[f+(i<<3)+4>>2];i=i+1|0}while((i|0)!=(h|0))}}else if(y){o=+(i|0);m=+(k|0);i=0;do{c[A+(i<<3)>>2]=~~(o+ +g[f+(i<<3)>>2]);c[A+(i<<3)+4>>2]=~~(m+ +g[f+(i<<3)+4>>2]);i=i+1|0}while((i|0)!=(h|0))}w=c[e+316>>2]|0;n=a[e+312>>0]|0;x=a[e+315>>0]|0;p=a[e+313>>0]|0;f=a[e+314>>0]|0;if(!w){v=j+4|0;i=c[v>>2]|0;u=mJ(i,n,p,f,x)|0;if(!j){_D(295902,q);h=-1;l=C;return h|0}if((d[i+8>>0]|0)<8){_D(296024,r);h=-1;l=C;return h|0}q=c[j+36>>2]|0;r=(c[j+44>>2]|0)+q|0;s=c[j+40>>2]|0;t=(c[j+48>>2]|0)+s|0;if(!y){h=0;l=C;return h|0}f=u&255;e=j+20|0;j=j+16|0;k=u&65535;i=0;b:while(1){n=c[A+(i<<3)>>2]|0;p=c[A+(i<<3)+4>>2]|0;c:do if((p|0)<(t|0)&(((n|0)>=(r|0)|(n|0)<(q|0)|(p|0)<(s|0))^1))switch(a[(c[v>>2]|0)+9>>0]|0){case 3:break b;case 1:{a[(c[e>>2]|0)+(O(c[j>>2]|0,p)|0)+n>>0]=f;break c}case 2:{b[(c[e>>2]|0)+(O(c[j>>2]|0,p)|0)+(n<<1)>>1]=k;break c}case 4:{c[(c[e>>2]|0)+(O(c[j>>2]|0,p)|0)+(n<<2)>>2]=u;break c}default:break c}while(0);i=i+1|0;if((i|0)>=(h|0)){i=0;B=46;break}}if((B|0)==46){l=C;return i|0}_D(294718,z);h=-1;l=C;return h|0}else{if(j){i=c[j+4>>2]|0;k=a[i+8>>0]|0;if((k&255)<8)i=295978;else{if((w+-1|0)>>>0<2){t=x&255;v=(((O(t,n&255)|0)>>>0)/255|0)&255;u=(((O(t,p&255)|0)>>>0)/255|0)&255;t=(((O(t,f&255)|0)>>>0)/255|0)&255}else{v=n;u=p;t=f}switch(k<<24>>24){case 15:{if((c[i+12>>2]|0)==31744)s=9;else B=40;break}case 16:{if((c[i+12>>2]|0)==63488)s=10;else B=40;break}case 32:{if((c[i+12>>2]|0)==16711680)s=(c[i+24>>2]|0)==0?6:5;else B=40;break}default:B=40}if((B|0)==40)s=(c[i+24>>2]|0)==0?8:7;f=c[j+36>>2]|0;e=(c[j+44>>2]|0)+f|0;q=c[j+40>>2]|0;r=(c[j+48>>2]|0)+q|0;if(y){p=0;i=0}else{h=0;l=C;return h|0}do{k=c[A+(p<<3)>>2]|0;n=c[A+(p<<3)+4>>2]|0;if((n|0)<(r|0)&(((k|0)>=(e|0)|(k|0)<(f|0)|(n|0)<(q|0))^1))i=ng[s&15](j,k,n,w,v,u,t,x)|0;p=p+1|0}while((p|0)!=(h|0));l=C;return i|0}}else i=295902;_D(i,s);h=-1;l=C;return h|0}return 0}function WI(e,f,h){e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.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;I=l;l=l+80|0;z=I+48|0;p=I+40|0;o=I+32|0;A=I+24|0;x=I+16|0;v=I+8|0;s=I;D=I+64|0;E=I+60|0;F=I+56|0;G=I+52|0;m=e+320|0;n=c[m>>2]|0;i=c[n>>2]|0;a:do if(!i){j=n+4|0;H=c[j>>2]|0;c[n>>2]=H;i=H;if(!H){k=HI(c[e+188>>2]|0)|0;do if(k|0){c[j>>2]=k;c[n>>2]=k;i=c[c[m>>2]>>2]|0;if(!i){H=k;break a}cJ(i,e+216|0);i=c[c[m>>2]>>2]|0;if(i|0)if(!(c[e+280>>2]|0)){C=c[i+8>>2]|0;H=c[i+12>>2]|0;c[i+36>>2]=0;c[i+40>>2]=0;c[i+44>>2]=C;c[i+48>>2]=H;break}else{cJ(i,e+248|0);break}}while(0);i=c[n>>2]|0}if(!i){H=-1;l=I;return H|0}else H=i}else H=i;while(0);C=l;l=l+((1*(h<<3)|0)+15&-16)|0;i=c[e+216>>2]|0;k=c[e+220>>2]|0;j=(h|0)>0;if(!(k|i)){if(j){i=0;do{c[C+(i<<3)>>2]=~~+g[f+(i<<3)>>2];c[C+(i<<3)+4>>2]=~~+g[f+(i<<3)+4>>2];i=i+1|0}while((i|0)!=(h|0))}}else if(j){r=+(i|0);q=+(k|0);i=0;do{c[C+(i<<3)>>2]=~~(r+ +g[f+(i<<3)>>2]);c[C+(i<<3)+4>>2]=~~(q+ +g[f+(i<<3)+4>>2]);i=i+1|0}while((i|0)!=(h|0))}t=c[e+316>>2]|0;i=a[e+312>>0]|0;u=a[e+315>>0]|0;j=a[e+313>>0]|0;k=a[e+314>>0]|0;if(!t){o=H+4|0;m=c[o>>2]|0;e=mJ(m,i,j,k,u)|0;b:do if(H){switch(a[m+9>>0]|0){case 1:{if((d[m+8>>0]|0)<8)w=26;else f=3;break}case 2:{f=2;break}case 4:{f=4;break}default:w=26}if((w|0)==26){_D(295858,v);i=-1;break}if((h|0)>1){k=H+36|0;i=c[C>>2]|0;j=1;m=i;n=c[C+4>>2]|0;do{c[D>>2]=m;c[E>>2]=n;m=c[C+(j<<3)>>2]|0;c[F>>2]=m;n=c[C+(j<<3)+4>>2]|0;c[G>>2]=n;if(BJ(k,D,E,F,G)|0){B=c[F>>2]|0;z=c[G>>2]|0;Hg[f&7](H,c[D>>2]|0,c[E>>2]|0,B,z,e,((z|0)!=(n|0)|(B|0)!=(m|0))&1)}j=j+1|0}while((j|0)!=(h|0))}else i=c[C>>2]|0;m=h+-1|0;k=c[C+(m<<3)>>2]|0;m=c[C+(m<<3)+4>>2]|0;if((i|0)==(k|0)?(c[C+4>>2]|0)==(m|0):0){i=0;break}j=c[o>>2]|0;if((d[j+8>>0]|0)<8){_D(295934,x);i=0;break}i=c[H+36>>2]|0;if((((i|0)<=(k|0)?(y=c[H+40>>2]|0,(y|0)<=(m|0)):0)?((c[H+44>>2]|0)+i|0)>(k|0):0)?((c[H+48>>2]|0)+y|0)>(m|0):0)switch(a[j+9>>0]|0){case 1:{a[(c[H+20>>2]|0)+(O(c[H+16>>2]|0,m)|0)+k>>0]=e;i=0;break b}case 2:{b[(c[H+20>>2]|0)+(O(c[H+16>>2]|0,m)|0)+(k<<1)>>1]=e;i=0;break b}case 3:{_D(294718,A);i=0;break b}case 4:{c[(c[H+20>>2]|0)+(O(c[H+16>>2]|0,m)|0)+(k<<2)>>2]=e;i=0;break b}default:{i=0;break b}}else i=0}else{_D(295809,s);i=-1}while(0);H=i;l=I;return H|0}c:do if(H){s=H+4|0;n=c[s>>2]|0;d:do switch(a[n+9>>0]|0){case 2:{n=c[n+12>>2]|0;n=(n|0)==31744?4:(n|0)==63488?3:2;break}case 4:{m=(c[n+24>>2]|0)!=0;if((c[n+12>>2]|0)==16711680){n=m?6:5;break d}else{n=m?8:7;break d}}default:{_D(295702,p);i=-1;break c}}while(0);if((h|0)>1){e=H+36|0;m=c[C>>2]|0;f=1;o=m;p=c[C+4>>2]|0;do{c[D>>2]=o;c[E>>2]=p;o=c[C+(f<<3)>>2]|0;c[F>>2]=o;p=c[C+(f<<3)+4>>2]|0;c[G>>2]=p;if(BJ(e,D,E,F,G)|0){A=c[F>>2]|0;y=c[G>>2]|0;Kg[n&15](H,c[D>>2]|0,c[E>>2]|0,A,y,t,i,j,k,u,((y|0)!=(p|0)|(A|0)!=(o|0))&1)}f=f+1|0}while((f|0)!=(h|0))}else m=c[C>>2]|0;o=h+-1|0;e=c[C+(o<<3)>>2]|0;o=c[C+(o<<3)+4>>2]|0;if((m|0)==(e|0)?(c[C+4>>2]|0)==(o|0):0){i=0;break}n=c[s>>2]|0;f=a[n+8>>0]|0;if((f&255)<8){_D(295747,z);i=0;break}m=c[H+36>>2]|0;if((((m|0)<=(e|0)?(B=c[H+40>>2]|0,(B|0)<=(o|0)):0)?((c[H+44>>2]|0)+m|0)>(e|0):0)?((c[H+48>>2]|0)+B|0)>(o|0):0){if((t+-1|0)>>>0<2){h=u&255;k=(((O(h,k&255)|0)>>>0)/255|0)&255;j=(((O(h,j&255)|0)>>>0)/255|0)&255;i=(((O(h,i&255)|0)>>>0)/255|0)&255}switch(f<<24>>24){case 15:{if((c[n+12>>2]|0)==31744){CJ(H,e,o,t,i,j,k,u)|0;i=0;break c}break}case 16:{if((c[n+12>>2]|0)==63488){DJ(H,e,o,t,i,j,k,u)|0;i=0;break c}break}case 32:{if((c[n+12>>2]|0)==16711680)if(!(c[n+24>>2]|0)){EJ(H,e,o,t,i,j,k,u)|0;i=0;break c}else{FJ(H,e,o,t,i,j,k,u)|0;i=0;break c}break}default:{}}if(!(c[n+24>>2]|0)){GJ(H,e,o,t,i,j,k,u)|0;i=0;break}else{HJ(H,e,o,t,i,j,k,u)|0;i=0;break}}else i=0}else{_D(295652,o);i=-1}while(0);H=i;l=I;return H|0}function XI(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0.0,k=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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;G=l;l=l+32|0;p=G+8|0;E=G;D=G+16|0;k=b+320|0;n=c[k>>2]|0;f=c[n>>2]|0;a:do if(!f){i=n+4|0;z=c[i>>2]|0;c[n>>2]=z;f=z;if(!z){h=HI(c[b+188>>2]|0)|0;do if(h|0){c[i>>2]=h;c[n>>2]=h;f=c[c[k>>2]>>2]|0;if(!f){z=h;break a}cJ(f,b+216|0);f=c[c[k>>2]>>2]|0;if(f|0)if(!(c[b+280>>2]|0)){y=c[f+8>>2]|0;z=c[f+12>>2]|0;c[f+36>>2]=0;c[f+40>>2]=0;c[f+44>>2]=y;c[f+48>>2]=z;break}else{cJ(f,b+248|0);break}}while(0);f=c[n>>2]|0}if(!f){e=-1;l=G;return e|0}else z=f}else z=f;while(0);y=l;l=l+((1*(e<<4)|0)+15&-16)|0;f=c[b+216>>2]|0;h=c[b+220>>2]|0;o=(e|0)>0;if(!(h|f)){if(o){f=0;do{c[y+(f<<4)>>2]=~~+g[d+(f<<4)>>2];c[y+(f<<4)+4>>2]=~~+g[d+(f<<4)+4>>2];x=~~+g[d+(f<<4)+8>>2];c[y+(f<<4)+8>>2]=(x|0)>1?x:1;x=~~+g[d+(f<<4)+12>>2];c[y+(f<<4)+12>>2]=(x|0)>1?x:1;f=f+1|0}while((f|0)!=(e|0))}}else if(o){m=+(f|0);j=+(h|0);f=0;do{c[y+(f<<4)>>2]=~~(m+ +g[d+(f<<4)>>2]);c[y+(f<<4)+4>>2]=~~(j+ +g[d+(f<<4)+4>>2]);x=~~+g[d+(f<<4)+8>>2];c[y+(f<<4)+8>>2]=(x|0)>1?x:1;x=~~+g[d+(f<<4)+12>>2];c[y+(f<<4)+12>>2]=(x|0)>1?x:1;f=f+1|0}while((f|0)!=(e|0))}w=c[b+316>>2]|0;f=a[b+314>>0]|0;x=a[b+315>>0]|0;n=a[b+312>>0]|0;h=a[b+313>>0]|0;if(!w){i=mJ(c[z+4>>2]|0,n,h,f,x)|0;if(o){h=0;f=0}else{e=0;l=G;return e|0}do{f=(fI(z,y+(h<<4)|0,i)|0)+f|0;h=h+1|0}while((h|0)!=(e|0));l=G;return f|0}if(z){i=c[z+4>>2]|0;k=a[i+8>>0]|0;if((k&255)>=8){if((w+-1|0)>>>0<2){u=x&255;v=(((O(u,f&255)|0)>>>0)/255|0)&255;h=(((O(u,h&255)|0)>>>0)/255|0)&255;n=(((O(u,n&255)|0)>>>0)/255|0)&255}else v=f;switch(k<<24>>24){case 15:{if((c[i+12>>2]|0)==31744)u=6;else F=29;break}case 16:{if((c[i+12>>2]|0)==63488)u=7;else F=29;break}case 32:{if((c[i+12>>2]|0)==16711680)u=(c[i+24>>2]|0)==0?3:2;else F=29;break}default:F=29}if((F|0)==29)u=(c[i+24>>2]|0)==0?5:4;if(o){o=D+8|0;b=D+12|0;p=z+44|0;q=z+48|0;r=z+36|0;s=z+40|0;t=D+4|0;d=0;f=0;do{i=y+(d<<4)|0;do if(!i){c[E>>2]=308249;_D(309840,E)}else{k=c[y+(d<<4)+8>>2]|0;if((((k|0)>=1?(A=c[y+(d<<4)+12>>2]|0,(A|0)>=1):0)?(B=c[p>>2]|0,(B|0)>=1):0)?(C=c[q>>2]|0,(C|0)>=1):0){i=c[i>>2]|0;k=k+i|0;J=c[r>>2]|0;H=B+J|0;i=(J|0)>(i|0)?J:i;c[D>>2]=i;i=((H|0)<(k|0)?H:k)-i|0;c[o>>2]=i;k=c[y+(d<<4)+4>>2]|0;H=A+k|0;J=c[s>>2]|0;I=C+J|0;k=(J|0)>(k|0)?J:k;c[t>>2]=k;k=((I|0)<(H|0)?I:H)-k|0;c[b>>2]=k;if(!((i|0)>0&(k|0)>0))break;f=mg[u&7](z,D,w,n,h,v,x)|0;break}c[o>>2]=0;c[b>>2]=0}while(0);d=d+1|0}while((d|0)!=(e|0))}else f=0}else{f=295603;F=42}}else{f=295902;F=42}if((F|0)==42){_D(f,p);f=-1}J=f;l=G;return J|0}function YI(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,k=0,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+16|0;o=q;k=a+320|0;m=c[k>>2]|0;f=c[m>>2]|0;a:do if(!f){j=m+4|0;r=c[j>>2]|0;c[m>>2]=r;f=r;if(!r){f=HI(c[a+188>>2]|0)|0;do if(f|0){c[j>>2]=f;c[m>>2]=f;j=c[c[k>>2]>>2]|0;if(!j){n=10;break a}cJ(j,a+216|0);f=c[c[k>>2]>>2]|0;if(f|0)if(!(c[a+280>>2]|0)){k=c[f+8>>2]|0;r=c[f+12>>2]|0;c[f+36>>2]=0;c[f+40>>2]=0;c[f+44>>2]=k;c[f+48>>2]=r;break}else{cJ(f,a+248|0);break}}while(0);f=c[m>>2]|0}if(!f){r=-1;l=q;return r|0}else{m=c[b+68>>2]|0;k=f}}else n=10;while(0);if((n|0)==10){m=c[b+68>>2]|0;k=f}f=c[a+216>>2]|0;j=c[a+220>>2]|0;h=+g[e+4>>2];i=+g[e>>2];if(j|f){i=+(f|0)+i;h=+(j|0)+h}c[o>>2]=~~i;c[o+4>>2]=~~h;a=~~+g[e+8>>2];c[o+8>>2]=a;r=~~+g[e+12>>2];c[o+12>>2]=r;if((c[d+8>>2]|0)==(a|0)?(c[d+12>>2]|0)==(r|0):0){r=hJ(m,d,k,o)|0;l=q;return r|0}if(k|0?(p=c[k+52>>2]|0,a=p+68|0,r=c[a>>2]|0,e=r&-4097,c[a>>2]=e,!((e|0)==(r|0)|(p|0)==0)):0){f=c[p>>2]|0;if(f|0?(e=f+56|0,r=c[e>>2]|0,c[e>>2]=r+-1,(r|0)<2):0)yE(f);c[p>>2]=0;c[p+84>>2]=0;c[p+80>>2]=0;r=p+64|0;UM(c[r>>2]|0);c[r>>2]=0}r=eJ(m,d,k,o)|0;l=q;return r|0}function ZI(b,e,f,h,i,j,k){b=b|0;e=e|0;f=f|0;h=h|0;i=+i;j=j|0;k=k|0;var 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,y=0.0,z=0,A=0.0,C=0,D=0,G=0,H=0,I=0,J=0,K=0,L=0,M=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.0,za=0.0,Aa=0.0,Ba=0.0,Ca=0.0;na=l;l=l+48|0;R=na+8|0;q=na;fa=na+32|0;ma=na+16|0;o=b+320|0;p=c[o>>2]|0;m=c[p>>2]|0;a:do if(!m){n=p+4|0;ja=c[n>>2]|0;c[p>>2]=ja;m=ja;if(!ja){m=HI(c[b+188>>2]|0)|0;do if(m|0){c[n>>2]=m;c[p>>2]=m;n=c[c[o>>2]>>2]|0;if(!n){I=10;break a}cJ(n,b+216|0);m=c[c[o>>2]>>2]|0;if(m|0)if(!(c[b+280>>2]|0)){ia=c[m+8>>2]|0;ja=c[m+12>>2]|0;c[m+36>>2]=0;c[m+40>>2]=0;c[m+44>>2]=ia;c[m+48>>2]=ja;break}else{cJ(m,b+248|0);break}}while(0);m=c[p>>2]|0}if(!m){ma=-1;l=na;return ma|0}else{ja=m;aa=ma;m=c[e+68>>2]|0}}else I=10;while(0);if((I|0)==10){ja=m;aa=ma;m=c[e+68>>2]|0}ga=c[b+216>>2]|0;A=+g[h+4>>2];ha=c[b+220>>2]|0;y=+g[h>>2];ia=(ha|ga|0)==0;ga=~~(ia?y:+(ga|0)+y);ha=~~(ia?A:A+ +(ha|0));ia=~~+g[h+8>>2];ea=~~+g[h+12>>2];ba=ma+4|0;ca=ma+8|0;c[ca>>2]=ia;da=ma+12|0;c[da>>2]=ea;c[ma>>2]=0;c[ba>>2]=0;if((((c[f+8>>2]|0)==(ia|0)?(c[f+12>>2]|0)==(ea|0):0)?(c[f>>2]|0)==0:0)?(c[f+4>>2]|0)==0:0){o=m;p=ia;e=ea;I=65}else{h=m+4|0;n=c[h>>2]|0;n=jJ(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;if(!n){_D(295409,q);ma=-1;l=na;return ma|0}o=kJ(ia,ea,n)|0;if(!o){ma=-1;l=na;return ma|0}n=m+52|0;e=c[n>>2]|0;p=c[e+68>>2]|0;if(!(p&256))b=0;else{dJ(o,1,c[e+72>>2]|0);e=c[n>>2]|0;b=1;p=c[e+68>>2]|0}x=a[e+79>>0]|0;switch(p&112){case 16:{q=1;break}case 32:{q=2;break}case 64:{q=4;break}default:q=0}z=a[e+76>>0]|0;C=a[e+77>>0]|0;r=a[e+78>>0]|0;if(!q)n=(z&x&C&r)<<24>>24!=-1;else n=1;if(n&1|b){b=fJ(m,c[h>>2]|0,c[m>>2]|0)|0;if(!b){yE(o);ma=-1;l=na;return ma|0}e=b+52|0;p=c[e>>2]|0;a[p+79>>0]=-1;_=p+68|0;n=c[_>>2]|0;$=n&-3;c[_>>2]=$;if(($|0)!=(n|0)){n=c[p>>2]|0;if(n|0?(_=n+56|0,$=c[_>>2]|0,c[_>>2]=$+-1,($|0)<2):0)yE(n);c[p>>2]=0;c[p+84>>2]=0;c[p+80>>2]=0;n=p+64|0;UM(c[n>>2]|0);c[n>>2]=0;n=c[e>>2]|0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|0)==0)){n=c[p>>2]|0;if(n|0?(_=n+56|0,$=c[_>>2]|0,c[_>>2]=$+-1,($|0)<2):0)yE(n);c[p>>2]=0;c[p+84>>2]=0;c[p+80>>2]=0;$=p+64|0;UM(c[$>>2]|0);c[$>>2]=0}n=eJ(b,f,o,ma)|0;if((b|0)!=(m|0))yE(b)}else n=eJ(m,f,o,ma)|0;if(!n){p=c[ca>>2]|0;e=c[da>>2]|0;I=65}}b:do if((I|0)==65){A=i/90.0;J=~~A;L=+(J|0)==A;do if(L){n=(J|0)%4|0;n=(n|0)<0?n+4|0:n;if(!(n&1)){y=0.0;A=(n|0)==0?1.0:-1.0;$=e;_=p;break}else{y=(n|0)==1?-1.0:1.0;A=0.0;$=p;_=e;break}}else{A=i*-.017453292519943295;y=+F(+A);A=+E(+A);w=+((p|0)/2|0|0);t=+((e|0)/2|0|0);u=w*A;v=t*A;w=w*y;t=t*y;s=u+t;i=u-t;n=+B(+s)>+B(+i);i=n?s:i;s=t-u;n=+B(+i)>+B(+s);t=-u-t;u=+B(+t);$=!(+B(+(n?i:s))>u);if((~~+N(+(+B(+($|n^1?($?t:s):i))))|0)>1){p=!(+B(+(n?i:s))>u);p=~~+N(+(+B(+(p|n^1?(p?t:s):i))))<<1}else p=2;u=v+w;t=w-v;n=+B(+u)>+B(+t);t=n?u:t;u=v-w;n=+B(+t)>+B(+u);s=-w-v;i=+B(+s);$=!(+B(+(n?t:u))>i);if((~~+N(+(+B(+($|n^1?($?s:u):t))))|0)>1){$=!(+B(+(n?t:u))>i);$=~~+N(+(+B(+($|n^1?($?s:u):t))))<<1;_=p}else{$=2;_=p}}while(0);T=(_|0)/2|0;W=($|0)/2|0;p=Df(295273)|0;n=c[79960]|0;c:do if(!n){n=p;I=79}else{while(1){if(!(wN(295273,c[n>>2]|0)|0))break;n=c[n+16>>2]|0;if(!n){n=p;I=79;break c}}if(p|0?(c[n+8>>2]|0)!=2:0){n=p;I=80;break}n=c[n+4>>2]|0;I=79}while(0);if((I|0)==79)if(!n)K=0;else I=80;if((I|0)==80)if((a[n>>0]|0)==48)K=0;else K=(IO(n,295298)|0)!=0&1;V=k&1;U=k&2;if(o){b=c[o>>2]|0;do if(b&1){n=c[o+52>>2]|0;if(!(c[n+68>>2]&256))p=0;else p=c[n+72>>2]|0;e=c[o+4>>2]|0;n=c[e+4>>2]|0;if(!n){k=1;D=a[(c[18232+(d[e+28>>0]<<2)>>2]|0)+((c[e+12>>2]&p)>>>(d[e+32>>0]|0))>>0]|0;G=a[(c[18232+(d[e+29>>0]<<2)>>2]|0)+((c[e+16>>2]&p)>>>(d[e+33>>0]|0))>>0]|0;H=a[(c[18232+(d[e+30>>0]<<2)>>2]|0)+((c[e+20>>2]&p)>>>(d[e+34>>0]|0))>>0]|0;break}if((c[n>>2]|0)>>>0>p>>>0){H=c[n+4>>2]|0;k=1;D=a[H+(p<<2)>>0]|0;G=a[H+(p<<2)+1>>0]|0;H=a[H+(p<<2)+2>>0]|0}else{k=1;D=0;G=0;H=0}}else{k=0;D=0;G=0;H=0;e=c[o+4>>2]|0}while(0);n=a[e+8>>0]|0;switch(n<<24>>24){case 8:case 32:{i=y*65536.0;s=A*65536.0;p=$+2|0;if(n<<24>>24==32){f=o;C=p;I=107}else{Z=o;f=0;Y=kJ(_,p,318769153)|0}break}default:{e=iJ(377888772)|0;if(!e){n=0;break b}b=fJ(o,e,b)|0;Y=e+36|0;Z=c[Y>>2]|0;c[Y>>2]=Z+-1;if((Z|0)<=1){n=c[79959]|0;d:do if((n|0)!=(e|0)){if(n|0){do{p=n+40|0;n=c[p>>2]|0;if(!n)break d}while((n|0)!=(e|0));c[p>>2]=c[e+40>>2]}}else c[79959]=c[e+40>>2];while(0);n=c[e+4>>2]|0;if(n|0?(Y=n+12|0,Z=c[Y>>2]|0,c[Y>>2]=Z+-1,(Z|0)<=1):0){UM(c[n+4>>2]|0);UM(n)}UM(e)}if(!b){n=0;break b}f=b;s=A*65536.0;i=y*65536.0;e=c[b+4>>2]|0;C=$+2|0;I=107}}if((I|0)==107){r=c[e+12>>2]|0;x=c[e+16>>2]|0;z=c[e+20>>2]|0;h=c[e+24>>2]|0;if((r|0)!=0?(M=(x|0)==65280,Q=(r|0)==16711680&M&(z|0)==255,P=(h|0)==0,!(Q&P)):0){n=(x|0)==16711680;q=(r|0)==-16777216&n&(z|0)==65280;if(!(q&P)){b=(r|0)==255&M&(z|0)==16711680;if(!(b&P)){e=(r|0)==65280&n&(z|0)==-16777216;if(!(e&P)){p=(h|0)==-16777216;if(!(Q&p)){n=(h|0)==255;if(!(q&n))if(!(b&p))if(!(e&n))if((r|0)==1072693248&(x|0)==1047552&(z|0)==1023&(h|0)==-1073741824)n=372711428;else{_D(295409,R);n=0;break}else n=377888772;else n=376840196;else n=373694468}else n=372645892}else n=375789572}else n=374740996}else n=371595268}else n=370546692;Z=f;f=1;Y=kJ(_,C,n)|0}if(Y){X=Y+12|0;c[X>>2]=$;if((k|0)==1){n=c[Y+4>>2]|0;p=c[n+4>>2]|0;if(!p)n=(G&255)>>>(d[n+29>>0]|0)<>0]|(D&255)>>>(d[n+28>>0]|0)<>0]|c[n+24>>2]|(H&255)>>>(d[n+30>>0]|0)<>0];else{z=c[p>>2]|0;e:do if((z|0)>0){x=c[p+4>>2]|0;r=D&255;q=G&255;h=H&255;b=0;p=-1;n=0;do{R=(d[x+(b<<2)>>0]|0)-r|0;Q=(d[x+(b<<2)+1>>0]|0)-q|0;S=(d[x+(b<<2)+2>>0]|0)-h|0;e=(d[x+(b<<2)+3>>0]|0)+-255|0;e=(O(Q,Q)|0)+(O(R,R)|0)+(O(S,S)|0)+(O(e,e)|0)|0;if(e>>>0

>>0){n=b&255;if(!e)break e;else p=e}b=b+1|0}while((b|0)<(z|0))}else n=0;while(0);n=n&255}fI(Y,0,n)|0}if(c[Z>>2]&2|0){p=Z+28|0;n=c[p>>2]|0;if(!n){xE(Z,1);c[Z>>2]=c[Z>>2]|2;n=c[p>>2]|0}c[p>>2]=n+1}if(L){r=(J|0)%4|0;r=(r|0)<0?r+4|0:r}else r=-1;if(f){f:do if((r|0)>-1){D=Y+8|0;n=c[D>>2]|0;G=(c[Y+16>>2]|0)-(n<<2)|0;e=c[Z+20>>2]|0;b=c[Y+20>>2]|0;C=(U|0)!=0;f=c[Z+16>>2]|0;x=C?0-f|0:f;z=(V|0)!=0;h=V<<3^8;q=h+-4|0;switch(r|0){case 0:{r=1;p=1;k=x-(O(c[Z+8>>2]|0,q)|0)|0;x=q;break}case 1:{r=-1;p=1;k=(O(c[Z+12>>2]|0,x)|0)+q|0;x=0-x|0;break}case 2:{r=-1;p=-1;k=(O(c[Z+8>>2]|0,q)|0)-x|0;x=4-h|0;break}default:{r=1;p=-1;k=(O(c[Z+12>>2]|0,0-x|0)|0)-q|0}}if(((z?0-p|0:p)|0)<0)e=e+((c[Z+8>>2]<<2)+-4)|0;if(((C?0-r|0:r)|0)<0)e=e+(O((c[Z+12>>2]|0)+-1|0,f)|0)|0;p=c[X>>2]|0;if((p|0)>0){if((x|0)==4){h=0;while(1){CQ(b|0,e|0,n<<2|0)|0;n=c[D>>2]|0;p=n<<2;h=h+1|0;if((h|0)>=(c[X>>2]|0)){I=192;break f}else{b=b+p+G|0;e=e+p+k|0}}}else z=0;while(1){n=n<<2;r=b+n|0;if(n){h=n+-4|0;q=(h>>>2)+1|0;n=b;p=e;while(1){W=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[n>>0]=W;a[n+1>>0]=W>>8;a[n+2>>0]=W>>16;a[n+3>>0]=W>>24;n=n+4|0;if((n|0)==(r|0))break;else p=p+x|0}e=e+(O(q,x)|0)|0;b=b+4+h|0;p=c[X>>2]|0}n=z+1|0;if((n|0)>=(p|0)){I=192;break f}b=b+G|0;z=n;e=e+k|0;n=c[D>>2]|0}}else I=191}else{S=~~i;Q=~~s;I=Z+8|0;L=c[I>>2]|0;R=Y+8|0;p=c[R>>2]|0;b=L-p<<15;J=Z+12|0;M=c[J>>2]|0;n=c[X>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T)|0)>>>16)+p|0;pa=(z?sa:pa)&255;a[e+1>>0]=((O((((O(((z?ra:qa)&255)-pa|0,T)|0)>>>16)+pa&255)-(p&255)|0,V)|0)>>>16)+p;p=(z?D:oa)&255;p=((O(((z?b:n)&255)-p|0,T)|0)>>>16)+p|0;D=(z?oa:D)&255;a[e+2>>0]=((O((((O(((z?n:b)&255)-D|0,T)|0)>>>16)+D&255)-(p&255)|0,V)|0)>>>16)+p;p=(z?U:I)&255;p=((O(((z?K:J)&255)-p|0,T)|0)>>>16)+p|0;U=(z?I:U)&255;a[e+3>>0]=((O((((O(((z?J:K)&255)-U|0,T)|0)>>>16)+U&255)-(p&255)|0,V)|0)>>>16)+p;p=c[R>>2]|0}e=e+4|0;q=q+1|0;if((q|0)>=(p|0))break;else{r=r+Q|0;h=h+S|0}}n=c[X>>2]|0}else e=b;x=x+1|0;if((x|0)>=(n|0)){I=192;break f}else b=e+P|0}}if(e){H=b+h|0;G=r+q|0;k=(V|0)==0;z=(U|0)==0;C=Z+20|0;f=Z+16|0;x=0;e=D;while(1){b=W-x|0;n=H+(O(b,S)|0)|0;b=G-(O(b,Q)|0)|0;if((p|0)>0)if(k)if(z){q=b;r=0;while(1){b=n>>16;h=q>>16;do if(b>>>0<(c[I>>2]|0)>>>0){if(h>>>0>=(c[J>>2]|0)>>>0)break;p=(c[C>>2]|0)+(O(c[f>>2]|0,h)|0)+(b<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[e>>0]=p;a[e+1>>0]=p>>8;a[e+2>>0]=p>>16;a[e+3>>0]=p>>24;p=c[R>>2]|0}while(0);e=e+4|0;r=r+1|0;if((r|0)>=(p|0))break;else{n=n+Q|0;q=q+S|0}}}else{q=b;r=0;while(1){b=n>>16;h=q>>16;do if(b>>>0<(c[I>>2]|0)>>>0){if(h>>>0>=(c[J>>2]|0)>>>0)break;p=(c[C>>2]|0)+(O(c[f>>2]|0,M-h|0)|0)+(b<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[e>>0]=p;a[e+1>>0]=p>>8;a[e+2>>0]=p>>16;a[e+3>>0]=p>>24;p=c[R>>2]|0}while(0);e=e+4|0;r=r+1|0;if((r|0)>=(p|0))break;else{n=n+Q|0;q=q+S|0}}}else if(z){q=b;r=0;while(1){b=n>>16;h=q>>16;do if(b>>>0<(c[I>>2]|0)>>>0){if(h>>>0>=(c[J>>2]|0)>>>0)break;p=(c[C>>2]|0)+(O(c[f>>2]|0,h)|0)+(L-b<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[e>>0]=p;a[e+1>>0]=p>>8;a[e+2>>0]=p>>16;a[e+3>>0]=p>>24;p=c[R>>2]|0}while(0);e=e+4|0;r=r+1|0;if((r|0)>=(p|0))break;else{n=n+Q|0;q=q+S|0}}}else{q=b;r=0;while(1){b=n>>16;h=q>>16;do if(b>>>0<(c[I>>2]|0)>>>0){if(h>>>0>=(c[J>>2]|0)>>>0)break;p=(c[C>>2]|0)+(O(c[f>>2]|0,M-h|0)|0)+(L-b<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[e>>0]=p;a[e+1>>0]=p>>8;a[e+2>>0]=p>>16;a[e+3>>0]=p>>24;p=c[R>>2]|0}while(0);e=e+4|0;r=r+1|0;if((r|0)>=(p|0))break;else{n=n+Q|0;q=q+S|0}}}x=x+1|0;if((x|0)>=(c[X>>2]|0)){I=192;break}else e=e+P|0}}else I=191}while(0);if((I|0)==191){c[fa>>2]=0;I=193}else if((I|0)==192){c[fa>>2]=0;if(!Z)n=0;else I=193}if((I|0)==193){n=c[Z+52>>2]|0;if(!(c[n+68>>2]&256))n=0;else{n=c[n+72>>2]|0;c[fa>>2]=n}}dJ(Y,3,n)}else{h=Z+4|0;e=c[(c[h>>2]|0)+4>>2]|0;n=c[e>>2]|0;q=Y+4|0;p=c[(c[q>>2]|0)+4>>2]|0;if((n|0)>0){b=0;do{n=(c[p+4>>2]|0)+(b<<2)|0;p=(c[e+4>>2]|0)+(b<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[n>>0]=p;a[n+1>>0]=p>>8;a[n+2>>0]=p>>16;a[n+3>>0]=p>>24;b=b+1|0;e=c[(c[h>>2]|0)+4>>2]|0;n=c[e>>2]|0;p=c[(c[q>>2]|0)+4>>2]|0}while((b|0)<(n|0))}c[p>>2]=n;g:do if((r|0)>-1){D=Y+8|0;n=c[D>>2]|0;G=(c[Y+16>>2]|0)-n|0;p=c[Z+20>>2]|0;e=c[Y+20>>2]|0;C=(U|0)!=0;f=c[Z+16>>2]|0;x=C?0-f|0:f;z=(V|0)!=0;h=V<<1^2;q=h+-1|0;switch(r|0){case 0:{r=1;b=1;k=x-(O(c[Z+8>>2]|0,q)|0)|0;break}case 1:{r=-1;b=1;k=(O(c[Z+12>>2]|0,x)|0)+q|0;q=0-x|0;break}case 2:{r=-1;b=-1;k=(O(c[Z+8>>2]|0,q)|0)-x|0;q=1-h|0;break}default:{r=1;b=-1;k=(O(c[Z+12>>2]|0,0-x|0)|0)-q|0;q=x}}if(((z?0-b|0:b)|0)<0)p=p+((c[Z+8>>2]|0)+-1)|0;if(((C?0-r|0:r)|0)<0)p=p+(O((c[Z+12>>2]|0)+-1|0,f)|0)|0;b=c[X>>2]|0;if((b|0)>0){if((q|0)==1){b=0;while(1){CQ(e|0,p|0,n|0)|0;n=c[D>>2]|0;b=b+1|0;if((b|0)>=(c[X>>2]|0)){I=241;break g}else{e=e+n+G|0;p=p+n+k|0}}}else r=0;while(1){h=e+n|0;if(n){b=p;while(1){a[e>>0]=a[b>>0]|0;e=e+1|0;if((e|0)==(h|0))break;else b=b+q|0}p=p+(O(n,q)|0)|0;e=h;b=c[X>>2]|0}n=r+1|0;if((n|0)>=(b|0)){I=241;break g}e=e+G|0;r=n;p=p+k|0;n=c[D>>2]|0}}else I=240}else{R=~~i;L=~~s;M=Z+8|0;e=c[M>>2]|0;P=Y+8|0;b=c[P>>2]|0;Q=Z+12|0;q=c[Q>>2]|0;h=c[X>>2]|0;r=c[Y+20>>2]|0;p=c[Y+16>>2]|0;K=p-b|0;n=c[Z+52>>2]|0;if(!(c[n+68>>2]&256))n=0;else n=c[n+72>>2]|0;EQ(r|0,n&255|0,O(h,p)|0)|0;if((c[X>>2]|0)>0){J=(e-b<<15)+(O(65536-L|0,T)|0)|0;I=(V|0)==0;D=(U|0)==0;G=Z+20|0;H=Z+16|0;k=O(R,T)|0;f=(q-h<<15)+(W<<16)|0;e=r;C=0;n=c[P>>2]|0;while(1){p=W-C|0;b=J+(O(p,R)|0)|0;p=f-((O(p,L)|0)+k)|0;if((n|0)>0)if(I)if(D){q=b;r=0;while(1){b=q>>16;h=p>>16;do if(b>>>0<(c[M>>2]|0)>>>0){if(h>>>0>=(c[Q>>2]|0)>>>0)break;a[e>>0]=a[(c[G>>2]|0)+(O(c[H>>2]|0,h)|0)+b>>0]|0;n=c[P>>2]|0}while(0);e=e+1|0;r=r+1|0;if((r|0)>=(n|0))break;else{p=p+R|0;q=q+L|0}}}else{x=0;while(1){h=b>>16;q=p>>16;do if(h>>>0<(c[M>>2]|0)>>>0){r=c[Q>>2]|0;if(q>>>0>=r>>>0)break;a[e>>0]=a[(c[G>>2]|0)+(O(c[H>>2]|0,r+~q|0)|0)+h>>0]|0;n=c[P>>2]|0}while(0);e=e+1|0;x=x+1|0;if((x|0)>=(n|0))break;else{p=p+R|0;b=b+L|0}}}else if(D){x=0;while(1){h=b>>16;q=p>>16;r=c[M>>2]|0;do if(h>>>0>>0){if(q>>>0>=(c[Q>>2]|0)>>>0)break;a[e>>0]=a[(c[G>>2]|0)+(O(c[H>>2]|0,q)|0)+(r+~h)>>0]|0;n=c[P>>2]|0}while(0);e=e+1|0;x=x+1|0;if((x|0)>=(n|0))break;else{p=p+R|0;b=b+L|0}}}else{z=0;while(1){h=b>>16;q=p>>16;r=c[M>>2]|0;do if(h>>>0>>0){x=c[Q>>2]|0;if(q>>>0>=x>>>0)break;a[e>>0]=a[(c[G>>2]|0)+(O(c[H>>2]|0,x+~q|0)|0)+(r+~h)>>0]|0;n=c[P>>2]|0}while(0);e=e+1|0;z=z+1|0;if((z|0)>=(n|0))break;else{p=p+R|0;b=b+L|0}}}C=C+1|0;if((C|0)>=(c[X>>2]|0)){I=241;break}else e=e+K|0}}else I=240}while(0);if((I|0)==240){c[fa>>2]=0;I=242}else if((I|0)==241){c[fa>>2]=0;if(!Z)n=0;else I=242}if((I|0)==242){n=c[Z+52>>2]|0;if(!(c[n+68>>2]&256))n=0;else{n=c[n+72>>2]|0;c[fa>>2]=n}}dJ(Y,3,n)}n=c[o+52>>2]|0;e=a[n+79>>0]|0;switch(c[n+68>>2]&112){case 16:{h=1;break}case 32:{h=2;break}case 64:{h=4;break}default:h=0}q=a[n+76>>0]|0;r=a[n+77>>0]|0;b=a[n+78>>0]|0;p=c[Y+52>>2]|0;a[p+79>>0]=e;va=p+68|0;xa=c[va>>2]|0;wa=e<<24>>24!=-1?xa|2:xa&-3;c[va>>2]=wa;if(!((wa|0)==(xa|0)|(p|0)==0)){n=c[p>>2]|0;if(n|0?(wa=n+56|0,xa=c[wa>>2]|0,c[wa>>2]=xa+-1,(xa|0)<2):0)yE(n);c[p>>2]=0;c[p+84>>2]=0;c[p+80>>2]=0;xa=p+64|0;UM(c[xa>>2]|0);c[xa>>2]=0}gJ(Y,h)|0;p=c[Y+52>>2]|0;a[p+76>>0]=q;a[p+77>>0]=r;a[p+78>>0]=b;va=p+68|0;xa=c[va>>2]|0;wa=(r&q)<<24>>24==-1&b<<24>>24==-1?xa&-2:xa|1;c[va>>2]=wa;if(!((wa|0)==(xa|0)|(p|0)==0)){n=c[p>>2]|0;if(n|0?(wa=n+56|0,xa=c[wa>>2]|0,c[wa>>2]=xa+-1,(xa|0)<2):0)yE(n);c[p>>2]=0;c[p+84>>2]=0;c[p+80>>2]=0;xa=p+64|0;UM(c[xa>>2]|0);c[xa>>2]=0}n=c[Z>>2]|0;if((n&2|0?(ka=Z+28|0,la=c[ka>>2]|0,la|0):0)?(c[ka>>2]=la+-1,(la|0)<=1):0){c[Z>>2]=n&-3;BE(Z)|0}if((Z|0)!=(o|0))yE(Z);if(Y){va=~~+g[j>>2];xa=va+ga|0;wa=~~+g[j+4>>2];n=wa+ha|0;u=-y;w=+(0-va|0);y=+(0-wa|0);s=w*A;t=y*u;Ba=+(xa|0);i=Ba+(s-t);w=w*u;y=y*A;za=+(n|0);v=za+(w+y);ya=+(ga+ia-xa|0);Aa=ya*A;t=Ba+(Aa-t);ya=ya*u;y=za+(ya+y);Ca=+(ha+ea-n|0);u=Ca*u;s=Ba+(s-u);A=A*Ca;w=za+(w+A);u=Ba+(Aa-u);A=za+(ya+A);t=i>2]=~~(t>2]=~~(y>2]=_;c[da>>2]=$;n=hJ(Y,0,ja,ma)|0;yE(Y)}else n=0}else n=0}else n=0}while(0);if((o|0)==(m|0)){xa=n;l=na;return xa|0}yE(o);xa=n;l=na;return xa|0}function _I(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=l;l=l+32|0;r=s;n=s+8|0;j=a+320|0;k=c[j>>2]|0;h=c[k>>2]|0;a:do if(!h){i=k+4|0;t=c[i>>2]|0;c[k>>2]=t;h=t;if(!t){h=HI(c[a+188>>2]|0)|0;do if(h|0){c[i>>2]=h;c[k>>2]=h;i=c[c[j>>2]>>2]|0;if(!i){m=10;break a}cJ(i,a+216|0);h=c[c[j>>2]>>2]|0;if(h|0)if(!(c[a+280>>2]|0)){j=c[h+8>>2]|0;t=c[h+12>>2]|0;c[h+36>>2]=0;c[h+40>>2]=0;c[h+44>>2]=j;c[h+48>>2]=t;break}else{cJ(h,a+248|0);break}}while(0);h=c[k>>2]|0}if(!h){t=-1;l=s;return t|0}else k=h}else m=10;while(0);if((m|0)==10)k=h;j=c[a+216>>2]|0;i=c[a+220>>2]|0;h=c[b>>2]|0;if(i|j){h=h+j|0;c[n>>2]=h;c[n+4>>2]=(c[b+4>>2]|0)+i;c[n+8>>2]=c[b+8>>2];c[n+12>>2]=c[b+12>>2];b=n}if((((h|0)>=0?(o=c[b+8>>2]|0,(o+h|0)<=(c[k+8>>2]|0)):0)?(p=c[b+4>>2]|0,(p|0)>=0):0)?(q=c[b+12>>2]|0,(q+p|0)<=(c[k+12>>2]|0)):0){r=c[k+4>>2]|0;t=c[k+16>>2]|0;p=(c[k+20>>2]|0)+(O(t,p)|0)|0;t=uE(o,q,c[r>>2]|0,p+(O(d[r+9>>0]|0,h)|0)|0,t,e,f,g)|0;l=s;return t|0}_D(295233,r);t=-1;l=s;return t|0}function $I(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=l;l=l+48|0;f=g+16|0;e=g+8|0;d=g+24|0;a=c[a+188>>2]|0;if(!a){l=g;return}b=c[79957]|0;do if(b){if((c[a>>2]|0)!=(b+280|0)){_D(307482,e);break}c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=c[a+24>>2];c[d+12>>2]=c[a+28>>2];if(!(c[a+112>>2]|0)){_D(295150,f);break}else{jg[c[b+136>>2]&31](b,a,d,1)|0;break}}else _D(288260,g);while(0);l=g;return}function aJ(a,b){a=a|0;b=b|0;yE(c[b+68>>2]|0);return}function bJ(a){a=a|0;UM(c[a+320>>2]|0);UM(a);return}function cJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!a)return;f=c[a+8>>2]|0;d=c[a+12>>2]|0;do if(!b){c[a+36>>2]=0;c[a+40>>2]=0;c[a+44>>2]=f}else{g=c[b+8>>2]|0;if((g|0)>=1?(e=c[b+12>>2]|0,!((e|0)<1|(f|0)<1|(d|0)<1)):0){i=c[b>>2]|0;h=g+i|0;g=(i|0)>0?i:0;c[a+36>>2]=g;c[a+44>>2]=((f|0)<(h|0)?f:h)-g;g=c[b+4>>2]|0;f=e+g|0;g=(g|0)>0?g:0;c[a+40>>2]=g;d=((d|0)<(f|0)?d:f)-g|0;break}c[a+44>>2]=0;d=0}while(0);c[a+48>>2]=d;return}function dJ(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,m=0;m=l;l=l+16|0;g=m+8|0;f=m;if(!b){c[f>>2]=295595;_D(309840,f);l=m;return}h=b+4|0;f=c[(c[h>>2]|0)+4>>2]|0;if(f|0?(c[f>>2]|0)>>>0<=e>>>0:0){c[g>>2]=295430;_D(309840,g);l=m;return}j=b+52|0;if((d&2|0)!=0?(i=c[j>>2]|0,b=i+68|0,k=c[b>>2]|0,g=k|4096,c[b>>2]=g,!((g|0)==(k|0)|(i|0)==0)):0){f=c[i>>2]|0;if(f|0?(g=f+56|0,k=c[g>>2]|0,c[g>>2]=k+-1,(k|0)<2):0)yE(f);c[i>>2]=0;c[i+84>>2]=0;c[i+80>>2]=0;i=i+64|0;UM(c[i>>2]|0);c[i>>2]=0;i=c[(c[h>>2]|0)+4>>2]|0}else i=f;b=c[j>>2]|0;g=b+68|0;k=c[g>>2]|0;h=(i|0)!=0;if(d){f=k|256;c[g>>2]=f;c[b+72>>2]=e;if(h){a[(c[i+4>>2]|0)+(e<<2)+3>>0]=0;b=i+8|0;f=(c[b>>2]|0)+1|0;c[b>>2]=(f|0)==0?1:f;b=c[j>>2]|0;f=c[b+68>>2]|0}}else{if(h){a[(c[i+4>>2]|0)+(c[b+72>>2]<<2)+3>>0]=-1;f=i+8|0;b=(c[f>>2]|0)+1|0;c[f>>2]=(b|0)==0?1:b;f=c[j>>2]|0;b=f;f=c[f+68>>2]|0}else f=k;f=f&-257;c[b+68>>2]=f}if((f|0)==(k|0)|(b|0)==0){l=m;return}f=c[b>>2]|0;if(f|0?(d=f+56|0,e=c[d>>2]|0,c[d>>2]=e+-1,(e|0)<2):0)yE(f);c[b>>2]=0;c[b+84>>2]=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d+40>>2]|0);v=n-y;m=s-y;h=w<0.0;o=h?o-w/B:o;f=c[d+44>>2]|0;j=+(f|0);if(r>=j){p=p-(r-j+1.0)/B;r=+(f+-1|0)}g=v<0.0;n=g?q-v/C:q;f=c[d+48>>2]|0;j=+(f|0);if(!(m>=j))j=z;else{j=z-(m-j+1.0)/C;m=+(f+-1|0)}B=(h?0.0:w)+x;C=(g?0.0:v)+y;c[F>>2]=~~+A(+(o+.5));c[F+4>>2]=~~+A(+(n+.5));k=~~+A(+(p-o+1.5));c[F+8>>2]=k;b=~~+A(+(j-n+1.5));c[F+12>>2]=b;c[G>>2]=~~+A(+(B+.5));c[G+4>>2]=~~+A(+(C+.5));g=~~+A(+(r+x-B+1.5));i=G+8|0;c[i>>2]=g;f=~~+A(+(m+y-C+1.5));h=G+12|0;c[h>>2]=f;if((g|0)<0){c[i>>2]=0;g=0}if((f|0)<0){c[h>>2]=0;f=0}if(!D){c[e>>2]=c[G>>2];c[e+4>>2]=c[G+4>>2];c[e+8>>2]=c[G+8>>2];c[e+12>>2]=c[G+12>>2]}if((g|0)==0|(f|0)==0|(k|0)<1|(b|0)<1){H=0;l=I;return H|0}i=a+52|0;f=c[i>>2]|0;h=f+68|0;g=c[h>>2]|0;if(!(g&512)){g=g|512;c[h>>2]=g;if(!f)f=0;else{g=c[f>>2]|0;if(g|0?(D=g+56|0,e=c[D>>2]|0,c[D>>2]=e+-1,(e|0)<2):0)yE(g);c[f>>2]=0;c[f+84>>2]=0;c[f+80>>2]=0;f=f+64|0;UM(c[f>>2]|0);c[f>>2]=0;f=c[i>>2]|0;g=c[f+68>>2]|0}}do if((g&371|0)==0?(E=c[c[a+4>>2]>>2]|0,(E|0)==(c[c[d+4>>2]>>2]|0)):0){if((E|0)==0|(E&-268435456|0)==268435456?((E>>>24&15)+-1|0)>>>0<3:0)break;H=nJ(a,F,d,G)|0;l=I;return H|0}while(0);do if((c[f>>2]|0)==(d|0)){E=c[(c[d+4>>2]|0)+4>>2]|0;if(E|0?(c[f+80>>2]|0)!=(c[E+8>>2]|0):0){H=42;break}E=c[(c[a+4>>2]|0)+4>>2]|0;if((E|0)!=0?(c[f+84>>2]|0)!=(c[E+8>>2]|0):0)H=42}else H=42;while(0);do if((H|0)==42)if((wE(a,d)|0)<0){H=-1;l=I;return H|0}else{f=c[i>>2]|0;break}while(0);H=jg[c[f+8>>2]&31](a,F,d,G)|0;l=I;return H|0}_D(295343,f);H=-1;l=I;return H|0}function fJ(f,g,h){f=f|0;g=g|0;h=h|0;var 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,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;Q=l;l=l+64|0;J=Q+32|0;B=Q+24|0;A=Q+16|0;o=Q+8|0;n=Q;t=Q+40|0;w=Q+59|0;x=Q+58|0;y=Q+57|0;z=Q+56|0;u=g+4|0;j=c[u>>2]|0;if(j|0){m=c[j>>2]|0;a:do if((m|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)<(m|0))}else j=0;while(0);if((j|0)==(m|0)){_D(295383,n);P=0;l=Q;return P|0}}r=f+8|0;s=f+12|0;M=g+24|0;j=jJ(d[g+8>>0]|0,c[g+12>>2]|0,c[g+16>>2]|0,c[g+20>>2]|0,c[M>>2]|0)|0;if(!j){_D(295409,o);P=0;l=Q;return P|0}N=kJ(c[r>>2]|0,c[s>>2]|0,j)|0;if(!N){P=0;l=Q;return P|0}j=c[u>>2]|0;if(j|0?(p=N+4|0,q=c[(c[p>>2]|0)+4>>2]|0,q|0):0){CQ(c[q+4>>2]|0,c[j+4>>2]|0,c[j>>2]<<2|0)|0;c[c[(c[p>>2]|0)+4>>2]>>2]=c[c[u>>2]>>2]}p=f+52|0;j=c[p>>2]|0;G=j+68|0;L=c[G>>2]|0;E=j+76|0;m=a[E>>0]|0;n=a[j+77>>0]|0;g=a[j+78>>0]|0;o=a[j+79>>0]|0;c[E>>2]=-1;c[G>>2]=0;if(j|0){k=c[j>>2]|0;if(k|0?(E=k+56|0,G=c[E>>2]|0,c[E>>2]=G+-1,(G|0)<2):0)yE(k);c[j>>2]=0;c[j+84>>2]=0;c[j+80>>2]=0;G=j+64|0;UM(c[G>>2]|0);c[G>>2]=0}c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=c[r>>2];c[t+12>>2]=c[s>>2];j=c[p>>2]|0;do if((c[j>>2]|0)==(N|0)){G=c[(c[N+4>>2]|0)+4>>2]|0;if(G|0?(c[j+80>>2]|0)!=(c[G+8>>2]|0):0){G=26;break}G=c[(c[f+4>>2]|0)+4>>2]|0;if((G|0)!=0?(c[j+84>>2]|0)!=(c[G+8>>2]|0):0)G=26;else G=28}else G=26;while(0);if((G|0)==26?(wE(f,N)|0)>=0:0){j=c[p>>2]|0;G=28}if((G|0)==28)jg[c[j+8>>2]&31](f,t,N,t)|0;E=N+52|0;k=c[E>>2]|0;a[k+76>>0]=m;a[k+77>>0]=n;a[k+78>>0]=g;a[k+79>>0]=o;c[k+68>>2]=L&-28945;k=c[p>>2]|0;a[k+76>>0]=m;a[k+77>>0]=n;a[k+78>>0]=g;a[k+79>>0]=o;c[k+68>>2]=L;if(k|0){j=c[k>>2]|0;if(j|0?(s=j+56|0,t=c[s>>2]|0,c[s>>2]=t+-1,(t|0)<2):0)yE(j);c[k>>2]=0;c[k+84>>2]=0;c[k+80>>2]=0;t=k+64|0;UM(c[t>>2]|0);c[t>>2]=0}t=f+4|0;do if(L&256|0){k=c[t>>2]|0;m=c[k+4>>2]|0;if(m|0){j=c[u>>2]|0;if((j|0?(v=c[m>>2]|0,(v|0)<=(c[j>>2]|0)):0)?(xN(c[m+4>>2]|0,c[j+4>>2]|0,v<<2)|0)==0:0){k=c[(c[p>>2]|0)+72>>2]|0;m=c[(c[N+4>>2]|0)+4>>2]|0;n=(m|0)==0;if(!n?(c[m>>2]|0)>>>0<=k>>>0:0){c[A>>2]=295430;_D(309840,A);break}j=c[E>>2]|0;K=j+68|0;g=c[K>>2]|0;i=g|256;c[K>>2]=i;c[j+72>>2]=k;if(!n){a[(c[m+4>>2]|0)+(k<<2)+3>>0]=0;j=m+8|0;i=(c[j>>2]|0)+1|0;c[j>>2]=(i|0)==0?1:i;j=c[E>>2]|0;i=c[j+68>>2]|0}if((i|0)==(g|0)|(j|0)==0)break;i=c[j>>2]|0;do if(i|0){J=i+56|0;K=c[J>>2]|0;c[J>>2]=K+-1;if((K|0)>=2)break;yE(i)}while(0);c[j>>2]=0;c[j+84>>2]=0;c[j+80>>2]=0;K=j+64|0;UM(c[K>>2]|0);c[K>>2]=0;break}if(c[M>>2]|0)break}lJ(c[(c[p>>2]|0)+72>>2]|0,k,w,x,y,z);s=N+4|0;n=c[s>>2]|0;m=mJ(n,a[w>>0]|0,a[x>>0]|0,a[y>>0]|0,a[z>>0]|0)|0;n=c[n+4>>2]|0;g=(n|0)==0;if(!g?(c[n>>2]|0)>>>0<=m>>>0:0){c[B>>2]=295430;_D(309840,B)}else{k=c[E>>2]|0;B=k+68|0;o=c[B>>2]|0;j=o|256;c[B>>2]=j;c[k+72>>2]=m;if(!g){a[(c[n+4>>2]|0)+(m<<2)+3>>0]=0;k=n+8|0;j=(c[k>>2]|0)+1|0;c[k>>2]=(j|0)==0?1:j;k=c[E>>2]|0;j=c[k+68>>2]|0}if(!((j|0)==(o|0)|(k|0)==0)){j=c[k>>2]|0;if(j|0?(A=j+56|0,B=c[A>>2]|0,c[A>>2]=B+-1,(B|0)<2):0)yE(j);c[k>>2]=0;c[k+84>>2]=0;c[k+80>>2]=0;B=k+64|0;UM(c[B>>2]|0);c[B>>2]=0}}if(c[(c[E>>2]|0)+68>>2]&256|0?(i=c[s>>2]|0,c[i+24>>2]|0):0){r=N+28|0;j=c[r>>2]|0;if(!j)if(!(c[N>>2]&2))j=0;else{xE(N,1);c[N>>2]=c[N>>2]|2;j=c[r>>2]|0;i=c[s>>2]|0}j=j+1|0;c[r>>2]=j;switch(a[i+9>>0]|0){case 2:{o=c[i+24>>2]&65535^65535;p=o&c[(c[E>>2]|0)+72>>2];k=c[N+12>>2]|0;if((k|0)!=0?(C=c[N+8>>2]|0,D=(c[N+16>>2]|0)/2|0,(C|0)!=0):0){q=p&65535;g=c[N+20>>2]|0;while(1){m=g;n=C;while(1){n=n+-1|0;if((e[m>>1]&o|0)==(p|0))b[m>>1]=q;if(!n)break;else m=m+2|0}k=k+-1|0;if(!k)break;else g=g+(D<<1)|0}}break}case 4:{p=~c[i+24>>2];q=c[(c[E>>2]|0)+72>>2]&p;k=c[N+12>>2]|0;if(k){g=N+8|0;o=N+16|0;n=c[N+20>>2]|0;while(1){k=k+-1|0;j=c[g>>2]|0;if(j|0){m=n;while(1){j=j+-1|0;if((c[m>>2]&p|0)==(q|0))c[m>>2]=q;if(!j)break;else m=m+4|0}}if(!k)break;else n=n+(((c[o>>2]|0)/4|0)<<2)|0}j=c[r>>2]|0}break}default:{}}if(((j|0)!=0?(c[r>>2]=j+-1,(j|0)<=1):0)?(F=c[N>>2]|0,(F&2|0)!=0):0){c[N>>2]=F&-3;BE(N)|0;i=c[s>>2]|0}i=c[i+4>>2]|0;do if(i)if(!(c[i>>2]|0)){c[J>>2]=295430;_D(309840,J);break}else{H=c[E>>2]|0;I=c[H+68>>2]|0;a[(c[i+4>>2]|0)+(c[H+72>>2]<<2)+3>>0]=-1;H=i+8|0;K=(c[H>>2]|0)+1|0;c[H>>2]=(K|0)==0?1:K;H=c[E>>2]|0;K=H;H=c[H+68>>2]|0;G=91;break}else{K=c[E>>2]|0;I=c[K+68>>2]|0;H=I;G=91}while(0);if((G|0)==91?(J=H&-257,c[K+68>>2]=J,!((J|0)==(I|0)|(K|0)==0)):0){i=c[K>>2]|0;do if(i|0){I=i+56|0;J=c[I>>2]|0;c[I>>2]=J+-1;if((J|0)>=2)break;yE(i)}while(0);c[K>>2]=0;c[K+84>>2]=0;c[K+80>>2]=0;K=K+64|0;UM(c[K>>2]|0);c[K>>2]=0}i=c[E>>2]|0;I=i+68|0;K=c[I>>2]|0;J=K&-113|16;c[I>>2]=J;if(!((J|0)==(K|0)|(i|0)==0)){j=c[i>>2]|0;do if(j|0){J=j+56|0;K=c[J>>2]|0;c[J>>2]=K+-1;if((K|0)>=2)break;yE(j)}while(0);c[i>>2]=0;c[i+84>>2]=0;c[i+80>>2]=0;K=i+64|0;UM(c[K>>2]|0);c[K>>2]=0}}}while(0);i=c[N+8>>2]|0;j=c[N+12>>2]|0;k=c[f+44>>2]|0;if((k|0)>=1?(O=c[f+48>>2]|0,!((O|0)<1|(i|0)<1|(j|0)<1)):0){K=c[f+36>>2]|0;J=k+K|0;K=(K|0)>0?K:0;c[N+36>>2]=K;c[N+44>>2]=((i|0)<(J|0)?i:J)-K;i=c[f+40>>2]|0;O=O+i|0;i=(i|0)>0?i:0;c[N+40>>2]=i;i=((j|0)<(O|0)?j:O)-i|0}else{c[N+44>>2]=0;i=0}c[N+48>>2]=i;if(!(c[(c[t>>2]|0)+24>>2]|0)){if(L&258|0)G=109}else if(c[M>>2]|L&258|0)G=109;if((G|0)==109?(P=c[E>>2]|0,M=P+68|0,O=c[M>>2]|0,f=O&-113|16,c[M>>2]=f,!((f|0)==(O|0)|(P|0)==0)):0){i=c[P>>2]|0;if(i|0?(f=i+56|0,O=c[f>>2]|0,c[f>>2]=O+-1,(O|0)<2):0)yE(i);c[P>>2]=0;c[P+84>>2]=0;c[P+80>>2]=0;P=P+64|0;UM(c[P>>2]|0);c[P>>2]=0}if(!(L&4096|h&2)){P=N;l=Q;return P|0}i=c[E>>2]|0;O=i+68|0;P=c[O>>2]|0;h=P|4096;c[O>>2]=h;if((h|0)==(P|0)|(i|0)==0){P=N;l=Q;return P|0}j=c[i>>2]|0;if(j|0?(h=j+56|0,P=c[h>>2]|0,c[h>>2]=P+-1,(P|0)<2):0)yE(j);c[i>>2]=0;c[i+84>>2]=0;c[i+80>>2]=0;P=i+64|0;UM(c[P>>2]|0);c[P>>2]=0;P=N;l=Q;return P|0}function gJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;if(!a){g=-1;l=h;return g|0}e=a+52|0;d=c[e>>2]|0;f=d+68|0;g=c[f>>2]|0;a=g&-113;c[f>>2]=a;switch(b|0){case 0:{e=0;break}case 1:{a=a|16;c[f>>2]=a;e=0;break}case 2:{a=a|32;c[f>>2]=a;e=0;break}case 4:{a=a|64;c[f>>2]=a;e=0;break}default:{_D(294718,h);d=c[e>>2]|0;e=-1;a=c[d+68>>2]|0}}if((a|0)==(g|0)|(d|0)==0){g=e;l=h;return g|0}a=c[d>>2]|0;if(a|0?(b=a+56|0,g=c[b>>2]|0,c[b>>2]=g+-1,(g|0)<2):0)yE(a);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;g=d+64|0;UM(c[g>>2]|0);c[g>>2]=0;g=e;l=h;return g|0}function hJ(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,m=0,n=0,o=0,p=0;p=l;l=l+48|0;g=p+8|0;f=p+32|0;o=p+16|0;if(!((a|0)!=0&(d|0)!=0)){_D(295306,p);o=-1;l=p;return o|0}if((c[a+28>>2]|0)==0?(c[d+28>>2]|0)==0:0){if(!e){c[f+4>>2]=0;c[f>>2]=0;c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2]}else f=e;i=c[a+8>>2]|0;if(!b){n=0;e=0;h=c[a+12>>2]|0;j=f}else{e=c[b>>2]|0;g=c[b+8>>2]|0;if((e|0)<0){c[f>>2]=(c[f>>2]|0)-e;j=0;g=g+e|0}else j=e;i=i-j|0;e=c[b+4>>2]|0;b=c[b+12>>2]|0;h=f+4|0;if((e|0)<0){c[h>>2]=(c[h>>2]|0)-e;b=b+e|0;e=0}h=(c[a+12>>2]|0)-e|0;n=j;h=(h|0)<(b|0)?h:b;i=(i|0)<(g|0)?i:g;j=f}m=d+36|0;g=c[m>>2]|0;b=c[j>>2]|0;k=g-b|0;if((k|0)>0){c[j>>2]=g;n=k+n|0;i=i-k|0;b=g;g=c[m>>2]|0}m=b+i-g-(c[d+44>>2]|0)|0;m=i-((m|0)>0?m:0)|0;k=d+40|0;g=c[k>>2]|0;i=f+4|0;b=c[i>>2]|0;j=g-b|0;if((j|0)>0){c[i>>2]=g;e=j+e|0;h=h-j|0;b=g;g=c[k>>2]|0}j=b+h-g-(c[d+48>>2]|0)|0;h=h-((j|0)>0?j:0)|0;j=a+52|0;i=c[j>>2]|0;g=i+68|0;b=c[g>>2]|0;if(b&512|0?(c[g>>2]=b&-513,i|0):0){g=c[i>>2]|0;if(g|0?(b=g+56|0,k=c[b>>2]|0,c[b>>2]=k+-1,(k|0)<2):0)yE(g);c[i>>2]=0;c[i+84>>2]=0;c[i+80>>2]=0;k=i+64|0;UM(c[k>>2]|0);c[k>>2]=0}if(!((m|0)>0&(h|0)>0)){c[f+12>>2]=0;c[f+8>>2]=0;o=0;l=p;return o|0}c[o>>2]=n;c[o+4>>2]=e;c[f+8>>2]=m;c[o+8>>2]=m;c[f+12>>2]=h;c[o+12>>2]=h;e=c[j>>2]|0;do if((c[e>>2]|0)==(d|0)){n=c[(c[d+4>>2]|0)+4>>2]|0;if(n|0?(c[e+80>>2]|0)!=(c[n+8>>2]|0):0){g=31;break}n=c[(c[a+4>>2]|0)+4>>2]|0;if((n|0)!=0?(c[e+84>>2]|0)!=(c[n+8>>2]|0):0)g=31;else g=33}else g=31;while(0);if((g|0)==31)if((wE(a,d)|0)<0)e=-1;else{e=c[j>>2]|0;g=33}if((g|0)==33)e=jg[c[e+8>>2]&31](a,o,d,f)|0;o=e;l=p;return o|0}_D(295343,g);o=-1;l=p;return o|0}function iJ(a){a=a|0;var b=0,d=0,e=0,f=0;f=l;l=l+16|0;e=f+8|0;d=f;b=c[79959]|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}e=b+36|0;c[e>>2]=(c[e>>2]|0)+1;e=b;l=f;return e|0}while(0);b=TM(44)|0;if(!b){_D(294618,d);e=0;l=f;return e|0}if((vE(b,a)|0)<0){UM(b);c[e>>2]=289134;_D(309840,e);e=0;l=f;return e|0}if((a|0)==0|(a&-268435456|0)==268435456?((a>>>24&15)+-1|0)>>>0<3:0){e=b;l=f;return e|0}c[b+40>>2]=c[79959];c[79959]=b;e=b;l=f;return e|0}function jJ(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,k=0,l=0,m=0;a:do switch(a|0){case 4:{c=304088064;return c|0}case 8:{if(!b){c=318769153;return c|0}if((b|0)==224&(c|0)==28&(d|0)==3&(e|0)==0){c=336660481;return c|0}break}case 12:{if(!b){c=353504258;return c|0}if((b|0)==3840&(c|0)==240&(d|0)==15&(e|0)==0){c=353504258;return c|0}break}case 15:{if(!b){c=353570562;return c|0}else f=9;break}case 16:{if(!b){c=353701890;return c|0}else f=9;break}case 24:{if((b|0)<255){switch(b|0){case 0:{a=390076419;break}default:{f=24;break a}}return a|0}if((b|0)>=16711680){switch(b|0){case 16711680:{a=390076419;break}default:{f=24;break a}}return a|0}switch(b|0){case 255:break;default:{f=24;break a}}c=386930691;return c|0}case 32:{if(!b){c=370546692;return c|0}else f=24;break}case 1:{c=287310080;return c|0}default:{}}while(0);if((f|0)==9){a=(c|0)==992;k=(d|0)==31;i=(b|0)==31744&a&k;l=(e|0)==0;if(i&l){c=353570562;return c|0}m=(b|0)==31;j=m&a&(d|0)==31744;if(j&l){c=357764866;return c|0}a=(c|0)==240;f=(e|0)==61440;if((b|0)==3840&a&(d|0)==15&f){c=355602434;return c|0}g=(c|0)==3840;h=(e|0)==15;if((b|0)==61440&g&(d|0)==240&h){c=356651010;return c|0}if((b|0)==15&a&(d|0)==3840&f){c=359796738;return c|0}if((b|0)==240&g&(d|0)==61440&h){c=360845314;return c|0}f=(e|0)==32768;if(i&f){c=355667970;return c|0}h=(b|0)==63488;g=(c|0)==1984;a=(e|0)==1;if(h&g&(d|0)==62&a){c=356782082;return c|0}if(j&f){c=359862274;return c|0}f=(d|0)==63488;if((b|0)==62&g&f&a){c=360976386;return c|0}a=(c|0)==2016;if(h&a&k&l){c=353701890;return c|0}if(m&a&f&l){c=357896194;return c|0}}else if((f|0)==24){a=(c|0)==65280;i=(b|0)==16711680&a&(d|0)==255;g=(e|0)==0;if(i&g){c=370546692;return c|0}f=(c|0)==16711680;k=(b|0)==-16777216&f&(d|0)==65280;if(k&g){c=371595268;return c|0}j=(b|0)==255&a&(d|0)==16711680;if(j&g){c=374740996;return c|0}h=(b|0)==65280&f&(d|0)==-16777216;if(h&g){c=375789572;return c|0}f=(e|0)==-16777216;if(i&f){c=372645892;return c|0}a=(e|0)==255;if(k&a){c=373694468;return c|0}if(j&f){c=376840196;return c|0}if(h&a){c=377888772;return c|0}if((b|0)==1072693248&(c|0)==1047552&(d|0)==1023&(e|0)==-1073741824){c=372711428;return c|0}}c=0;return c|0}function kJ(b,e,f){b=b|0;e=e|0;f=f|0;var 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;v=l;l=l+64|0;t=v+48|0;s=v+40|0;m=v+32|0;k=v+24|0;j=v+16|0;i=v+8|0;u=TM(60)|0;if(!u){_D(294618,v);u=0;l=v;return u|0}if(c[u+-4>>2]&3|0){g=u;h=g+60|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0))}h=iJ(f)|0;r=u+4|0;c[r>>2]=h;if(!h){yE(u);u=0;l=v;return u|0}n=u+8|0;c[n>>2]=b;p=u+12|0;c[p>>2]=e;f=O(d[h+9>>0]|0,b)|0;g=h+8|0;switch(a[g>>0]|0){case 1:{f=(f+7|0)/8|0;break}case 4:{f=(f+1|0)/2|0;break}default:{}}o=u+16|0;c[o>>2]=f+3&-4;c[u+36>>2]=0;c[u+40>>2]=0;c[u+44>>2]=b;c[u+48>>2]=e;e=c[h>>2]|0;a:do if((e|0)==0|(e&-268435456|0)==268435456?((e>>>24&15)+-1|0)>>>0<3:0){g=1<>0];do if((g|0)<1){c[i>>2]=295442;_D(309840,i)}else{h=TM(16)|0;if(!h){_D(294618,j);break}b=g<<2;f=TM(b)|0;c[h+4>>2]=f;if(!f){UM(h);break}c[h>>2]=g;c[h+8>>2]=1;c[h+12>>2]=1;EQ(f|0,-1,b|0)|0;b=c[h>>2]|0;if((b|0)==2){j=c[h+4>>2]|0;a[j>>0]=-1;a[j+1>>0]=-1;a[j+2>>0]=-1;a[j+4>>0]=0;a[j+5>>0]=0;a[j+6>>0]=0}f=c[r>>2]|0;do if(f){if((b|0)!=(1<>0]|0)){_D(289188,m);break}b=f+4|0;f=c[b>>2]|0;if((f|0)!=(h|0)){if(f|0?(k=f+12|0,m=c[k>>2]|0,c[k>>2]=m+-1,(m|0)<=1):0){UM(c[f+4>>2]|0);UM(f)}c[b>>2]=h;m=h+12|0;c[m>>2]=(c[m>>2]|0)+1}b=c[u+52>>2]|0;if(b|0){f=c[b>>2]|0;if(f|0?(k=f+56|0,m=c[k>>2]|0,c[k>>2]=m+-1,(m|0)<2):0)yE(f);c[b>>2]=0;c[b+84>>2]=0;c[b+80>>2]=0;m=b+64|0;UM(c[m>>2]|0);c[m>>2]=0}}else _D(289141,k);while(0);k=h+12|0;m=c[k>>2]|0;c[k>>2]=m+-1;if((m|0)<=1){UM(c[h+4>>2]|0);UM(h)}b=c[n>>2]|0;break a}while(0);yE(u);u=0;l=v;return u|0}while(0);do if(b|0?(q=c[p>>2]|0,q|0):0){b=TM(O(c[o>>2]|0,q)|0)|0;c[u+20>>2]=b;if(b|0){EQ(b|0,0,O(c[o>>2]|0,c[p>>2]|0)|0)|0;break}yE(u);_D(294618,s);u=0;l=v;return u|0}while(0);f=TM(88)|0;if(!f){_D(294618,t);c[u+52>>2]=0;yE(u);u=0;l=v;return u|0}if(c[f+-4>>2]&3|0){g=f;h=g+88|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0))}c[f+76>>2]=-1;c[u+52>>2]=f;if(c[(c[r>>2]|0)+24>>2]|0?(r=f+68|0,t=c[r>>2]|0,s=t&-113|16,c[r>>2]=s,(s|0)!=(t|0)):0){b=c[f>>2]|0;if(b|0?(s=b+56|0,t=c[s>>2]|0,c[s>>2]=t+-1,(t|0)<2):0)yE(b);c[f>>2]=0;c[f+84>>2]=0;c[f+80>>2]=0;t=f+64|0;UM(c[t>>2]|0);c[t>>2]=0}c[u+56>>2]=1;l=v;return u|0}function lJ(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;j=e+4|0;k=c[j>>2]|0;if(!k){a[f>>0]=a[(c[18232+((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[18232+((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[18232+((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[18232+((d[e+31>>0]|0)<<2)>>2]|0)+((c[e+24>>2]&b)>>>(d[e+35>>0]|0))>>0]|0;return}if((c[k>>2]|0)>>>0>b>>>0){a[f>>0]=a[(c[k+4>>2]|0)+(b<<2)>>0]|0;a[g>>0]=a[(c[(c[j>>2]|0)+4>>2]|0)+(b<<2)+1>>0]|0;a[h>>0]=a[(c[(c[j>>2]|0)+4>>2]|0)+(b<<2)+2>>0]|0;a[i>>0]=a[(c[(c[j>>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 mJ(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){m=(e&255)>>>(d[a+29>>0]|0)<<(d[a+33>>0]|0)|(b&255)>>>(d[a+28>>0]|0)<<(d[a+32>>0]|0)|(f&255)>>>(d[a+30>>0]|0)<<(d[a+34>>0]|0)|(g&255)>>>(d[a+31>>0]|0)<<(d[a+35>>0]|0)&c[a+24>>2];return m|0}m=c[h>>2]|0;a:do if((m|0)>0){l=c[h+4>>2]|0;k=b&255;j=e&255;i=f&255;f=g&255;e=0;h=-1;a=0;do{n=(d[l+(e<<2)>>0]|0)-k|0;o=(d[l+(e<<2)+1>>0]|0)-j|0;g=(d[l+(e<<2)+2>>0]|0)-i|0;b=(d[l+(e<<2)+3>>0]|0)-f|0;b=(O(o,o)|0)+(O(n,n)|0)+(O(g,g)|0)+(O(b,b)|0)|0;if(b>>>0>>0){a=e&255;if(!b)break a;else h=b}e=e+1|0}while((e|0)<(m|0))}else a=0;while(0);o=a&255;return o|0}function nJ(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,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=l;l=l+64|0;n=N+16|0;j=N+8|0;h=N+40|0;k=N+24|0;H=c[f+4>>2]|0;M=a[H+9>>0]|0;I=M&255;if((c[c[d+4>>2]>>2]|0)!=(c[H>>2]|0)){_D(295493,N);d=-1;l=N;return d|0}do if(!e){c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=c[d+8>>2];c[h+12>>2]=c[d+12>>2];H=h}else{h=c[e>>2]|0;if((((h|0)>=0?(i=c[e+4>>2]|0,(i|0)>=0):0)?((c[e+8>>2]|0)+h|0)<=(c[d+8>>2]|0):0)?((c[e+12>>2]|0)+i|0)<=(c[d+12>>2]|0):0){H=e;break}_D(295530,j);d=-1;l=N;return d|0}while(0);do if(!g){c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=c[f+8>>2];c[k+12>>2]=c[f+12>>2]}else{h=c[g>>2]|0;if((((h|0)>=0?(m=c[g+4>>2]|0,(m|0)>=0):0)?((c[g+8>>2]|0)+h|0)<=(c[f+8>>2]|0):0)?((c[g+12>>2]|0)+m|0)<=(c[f+12>>2]|0):0){k=g;break}_D(295560,n);d=-1;l=N;return d|0}while(0);if(!(c[f>>2]&2))G=0;else{e=f+28|0;h=c[e>>2]|0;if(!h){xE(f,1);c[f>>2]=c[f>>2]|2;h=c[e>>2]|0}c[e>>2]=h+1;G=1}if(!(c[d>>2]&2))x=0;else{e=d+28|0;h=c[e>>2]|0;if(!h){xE(d,1);c[d>>2]=c[d>>2]|2;h=c[e>>2]|0}c[e>>2]=h+1;x=1}F=c[k+12>>2]|0;C=(c[H+12>>2]<<16|0)/(F|0)|0;h=c[k+4>>2]|0;D=h+F|0;a:do if((F|0)>0){E=f+20|0;F=f+16|0;y=H+8|0;z=k+8|0;A=d+20|0;B=d+16|0;j=65536;e=0;i=c[H+4>>2]|0;while(1){r=(c[E>>2]|0)+(O(c[F>>2]|0,h)|0)|0;r=r+(O(c[k>>2]|0,I)|0)|0;if((j|0)>65535){j=j+-65536|0;w=j>>>16;e=(c[A>>2]|0)+(O(c[B>>2]|0,i+w|0)|0)|0;e=e+(O(c[H>>2]|0,I)|0)|0;j=j-(w<<16)|0;i=i+1+w|0}switch(M<<24>>24){case 1:{g=c[z>>2]|0;s=(c[y>>2]<<16|0)/(g|0)|0;if((g|0)>0){o=e;m=65536;n=0;while(1){p=m+-65536|0;q=p>>>16;if((m|0)>65535){n=a[o+q>>0]|0;o=o+1+q|0;m=p-(q<<16)|0}a[r>>0]=n;if((g|0)>1){m=m+s|0;g=g+-1|0;r=r+1|0}else break}}break}case 2:{g=c[z>>2]|0;s=(c[y>>2]<<16|0)/(g|0)|0;if((g|0)>0){o=e;m=65536;n=0;while(1){p=m+-65536|0;q=p>>>16;if((m|0)>65535){n=b[o+(q<<1)>>1]|0;o=o+2+(q<<1)|0;m=p-(q<<16)|0}b[r>>1]=n;if((g|0)>1){m=m+s|0;g=g+-1|0;r=r+2|0}else break}}break}case 3:{g=c[z>>2]|0;w=(c[y>>2]<<16|0)/(g|0)|0;if((g|0)>0){m=65536;t=e;u=0;p=0;n=0;while(1){q=m+-65536|0;s=q>>>16;o=s*3|0;v=t+o|0;if((m|0)>65535){t=t+3+o|0;m=q-(s<<16)|0;o=a[v>>0]|0;p=a[v+1>>0]|0;n=a[v+2>>0]|0}else o=u;a[r>>0]=o;a[r+1>>0]=p;a[r+2>>0]=n;if((g|0)>1){m=m+w|0;g=g+-1|0;r=r+3|0;u=o}else break}}break}case 4:{g=c[z>>2]|0;s=(c[y>>2]<<16|0)/(g|0)|0;if((g|0)>0){o=e;m=65536;n=0;while(1){p=m+-65536|0;q=p>>>16;if((m|0)>65535){n=c[o+(q<<2)>>2]|0;o=o+4+(q<<2)|0;m=p-(q<<16)|0}c[r>>2]=n;if((g|0)>1){m=m+s|0;g=g+-1|0;r=r+4|0}else break}}break}default:{}}h=h+1|0;if((h|0)>=(D|0))break a;else j=j+C|0}}while(0);if(((G|0?(J=f+28|0,K=c[J>>2]|0,K|0):0)?(c[J>>2]=K+-1,(K|0)<=1):0)?(L=c[f>>2]|0,L&2|0):0){c[f>>2]=L&-3;BE(f)|0}if(!x){d=0;l=N;return d|0}h=d+28|0;e=c[h>>2]|0;if(!e){d=0;l=N;return d|0}c[h>>2]=e+-1;if((e|0)>1){d=0;l=N;return d|0}h=c[d>>2]|0;if(!(h&2)){d=0;l=N;return d|0}c[d>>2]=h&-3;BE(d)|0;d=0;l=N;return d|0}function oJ(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,L=0,M=0;p=~i&255;switch(e|0){case 1:{i=c[b+8>>2]|0;e=c[b+12>>2]|0;j=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;n=j-i|0;if(!e)return 0;o=(i+3|0)/4|0;m=i&255;l=f&255;f=g&255;k=h&255;i=(c[a+20>>2]|0)+((O(c[b+4>>2]|0,j)|0)<<2)+(c[b>>2]<<2)|0;a:while(1){e=e+-1|0;switch(m&3){case 0:{q=o;s=i;i=5;break}case 3:{t=o;y=i;i=6;break}case 2:{z=o;E=i;i=7;break}case 1:{F=o;K=i;i=8;break}default:{i=9;break a}}while(1)if((i|0)==5){t=c[s>>2]|0;c[s>>2]=(((O(t>>>8&255,p)|0)>>>0)/255|0)+f<<8|(((O(t&255,p)|0)>>>0)/255|0)+k|(((O(t>>>16&255,p)|0)>>>0)/255|0)+l<<16;t=q;y=s+4|0;i=6;continue}else if((i|0)==6){z=c[y>>2]|0;c[y>>2]=(((O(z>>>8&255,p)|0)>>>0)/255|0)+f<<8|(((O(z&255,p)|0)>>>0)/255|0)+k|(((O(z>>>16&255,p)|0)>>>0)/255|0)+l<<16;z=t;E=y+4|0;i=7;continue}else if((i|0)==7){F=c[E>>2]|0;c[E>>2]=(((O(F>>>8&255,p)|0)>>>0)/255|0)+f<<8|(((O(F&255,p)|0)>>>0)/255|0)+k|(((O(F>>>16&255,p)|0)>>>0)/255|0)+l<<16;F=z;K=E+4|0;i=8;continue}else if((i|0)==8){i=c[K>>2]|0;c[K>>2]=(((O(i>>>8&255,p)|0)>>>0)/255|0)+f<<8|(((O(i&255,p)|0)>>>0)/255|0)+k|(((O(i>>>16&255,p)|0)>>>0)/255|0)+l<<16;i=K+4|0;if((F|0)>1){q=F+-1|0;s=i;i=5;continue}else break}if(!e){i=46;break}else i=i+(n<<2)|0}if((i|0)!=9)if((i|0)==46)return 0;break}case 2:{j=c[b+8>>2]|0;e=c[b+12>>2]|0;i=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;n=i-j|0;if(!e)return 0;i=(c[a+20>>2]|0)+((O(c[b+4>>2]|0,i)|0)<<2)|0;m=(j+3|0)/4|0;l=j&255;f=f&255;k=g&255;j=h&255;i=i+(c[b>>2]<<2)|0;b:while(1){e=e+-1|0;switch(l&3){case 0:{o=m;u=i;i=14;break}case 3:{v=m;A=i;i=15;break}case 2:{B=m;G=i;i=16;break}case 1:{H=m;L=i;i=17;break}default:{i=18;break b}}while(1)if((i|0)==14){A=c[u>>2]|0;v=(A>>>16&255)+f|0;i=(A>>>8&255)+k|0;A=(A&255)+j|0;c[u>>2]=(i>>>0<255?i:255)<<8|(A>>>0<255?A:255)|(v>>>0<255?v:255)<<16;v=o;A=u+4|0;i=15;continue}else if((i|0)==15){G=c[A>>2]|0;B=(G>>>16&255)+f|0;i=(G>>>8&255)+k|0;G=(G&255)+j|0;c[A>>2]=(i>>>0<255?i:255)<<8|(G>>>0<255?G:255)|(B>>>0<255?B:255)<<16;B=v;G=A+4|0;i=16;continue}else if((i|0)==16){L=c[G>>2]|0;H=(L>>>16&255)+f|0;i=(L>>>8&255)+k|0;L=(L&255)+j|0;c[G>>2]=(i>>>0<255?i:255)<<8|(L>>>0<255?L:255)|(H>>>0<255?H:255)<<16;H=B;L=G+4|0;i=17;continue}else if((i|0)==17){h=c[L>>2]|0;i=(h>>>16&255)+f|0;b=(h>>>8&255)+k|0;h=(h&255)+j|0;c[L>>2]=(b>>>0<255?b:255)<<8|(h>>>0<255?h:255)|(i>>>0<255?i:255)<<16;i=L+4|0;if((H|0)>1){o=H+-1|0;u=i;i=14;continue}else break}if(!e){i=46;break}else i=i+(n<<2)|0}if((i|0)!=18)if((i|0)==46)return 0;break}case 4:{j=c[b+8>>2]|0;e=c[b+12>>2]|0;i=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;n=i-j|0;if(!e)return 0;i=(c[a+20>>2]|0)+((O(c[b+4>>2]|0,i)|0)<<2)|0;m=(j+3|0)/4|0;l=j&255;f=f&255;k=g&255;j=h&255;i=i+(c[b>>2]<<2)|0;c:while(1){e=e+-1|0;switch(l&3){case 0:{r=m;w=i;i=23;break}case 3:{x=m;C=i;i=24;break}case 2:{D=m;I=i;i=25;break}case 1:{J=m;M=i;i=26;break}default:{i=27;break c}}while(1)if((i|0)==23){x=c[w>>2]|0;c[w>>2]=(((O(x>>>8&255,k)|0)>>>0)/255|0)<<8|(((O(x&255,j)|0)>>>0)/255|0)|(((O(x>>>16&255,f)|0)>>>0)/255|0)<<16;x=r;C=w+4|0;i=24;continue}else if((i|0)==24){D=c[C>>2]|0;c[C>>2]=(((O(D>>>8&255,k)|0)>>>0)/255|0)<<8|(((O(D&255,j)|0)>>>0)/255|0)|(((O(D>>>16&255,f)|0)>>>0)/255|0)<<16;D=x;I=C+4|0;i=25;continue}else if((i|0)==25){J=c[I>>2]|0;c[I>>2]=(((O(J>>>8&255,k)|0)>>>0)/255|0)<<8|(((O(J&255,j)|0)>>>0)/255|0)|(((O(J>>>16&255,f)|0)>>>0)/255|0)<<16;J=D;M=I+4|0;i=26;continue}else if((i|0)==26){i=c[M>>2]|0;c[M>>2]=(((O(i>>>8&255,k)|0)>>>0)/255|0)<<8|(((O(i&255,j)|0)>>>0)/255|0)|(((O(i>>>16&255,f)|0)>>>0)/255|0)<<16;i=M+4|0;if((J|0)>1){r=J+-1|0;w=i;i=23;continue}else break}if(!e){i=46;break}else i=i+(n<<2)|0}if((i|0)!=27)if((i|0)==46)return 0;break}default:{k=c[b+8>>2]|0;M=c[b+12>>2]|0;i=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;n=i-k|0;i=(c[a+20>>2]|0)+((O(c[b+4>>2]|0,i)|0)<<2)|0;i=i+(c[b>>2]<<2)|0;j=M+-1|0;if(!M)return 0;e=k+3|0;m=(e|0)/4|0;l=(g&255)<<8|(f&255)<<16|h&255;switch(k&3){case 0:{while(1){e=m;while(1){c[i>>2]=l;c[i+4>>2]=l;c[i+8>>2]=l;c[i+12>>2]=l;i=i+16|0;if((e|0)<=1)break;else e=e+-1|0}if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}case 3:{f=(e|0)>7;while(1){c[i>>2]=l;c[i+4>>2]=l;c[i+8>>2]=l;e=i+12|0;if(f){k=m;do{k=k+-1|0;c[e>>2]=l;e=i;i=i+16|0;c[i>>2]=l;c[e+20>>2]=l;c[e+24>>2]=l;e=e+28|0}while((k|0)>1);i=e}else i=e;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}case 2:{f=(e|0)>7;while(1){c[i>>2]=l;c[i+4>>2]=l;e=i+8|0;if(f){k=m;do{k=k+-1|0;c[e>>2]=l;c[i+12>>2]=l;e=i;i=i+16|0;c[i>>2]=l;c[e+20>>2]=l;e=e+24|0}while((k|0)>1);i=e}else i=e;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}default:{f=(e|0)>7;while(1){c[i>>2]=l;e=i+4|0;if(f){k=m;do{k=k+-1|0;c[e>>2]=l;c[i+8>>2]=l;c[i+12>>2]=l;e=i;i=i+16|0;c[i>>2]=l;e=e+20|0}while((k|0)>1);i=e}else i=e;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}}}}return 0}function pJ(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,L=0,M=0,N=0;N=i&255;p=N^255;switch(e|0){case 1:{i=c[b+8>>2]|0;e=c[b+12>>2]|0;j=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;n=j-i|0;if(!e)return 0;o=(i+3|0)/4|0;m=i&255;l=f&255;f=g&255;k=h&255;i=(c[a+20>>2]|0)+((O(c[b+4>>2]|0,j)|0)<<2)+(c[b>>2]<<2)|0;a:while(1){e=e+-1|0;switch(m&3){case 0:{q=o;s=i;i=5;break}case 3:{t=o;y=i;i=6;break}case 2:{z=o;E=i;i=7;break}case 1:{F=o;K=i;i=8;break}default:{i=9;break a}}while(1)if((i|0)==5){t=c[s>>2]|0;c[s>>2]=(((O(t>>>24,p)|0)>>>0)/255|0)+N<<24|(((O(t&255,p)|0)>>>0)/255|0)+k|(((O(t>>>16&255,p)|0)>>>0)/255|0)+l<<16|(((O(t>>>8&255,p)|0)>>>0)/255|0)+f<<8;t=q;y=s+4|0;i=6;continue}else if((i|0)==6){z=c[y>>2]|0;c[y>>2]=(((O(z>>>24,p)|0)>>>0)/255|0)+N<<24|(((O(z&255,p)|0)>>>0)/255|0)+k|(((O(z>>>16&255,p)|0)>>>0)/255|0)+l<<16|(((O(z>>>8&255,p)|0)>>>0)/255|0)+f<<8;z=t;E=y+4|0;i=7;continue}else if((i|0)==7){F=c[E>>2]|0;c[E>>2]=(((O(F>>>24,p)|0)>>>0)/255|0)+N<<24|(((O(F&255,p)|0)>>>0)/255|0)+k|(((O(F>>>16&255,p)|0)>>>0)/255|0)+l<<16|(((O(F>>>8&255,p)|0)>>>0)/255|0)+f<<8;F=z;K=E+4|0;i=8;continue}else if((i|0)==8){i=c[K>>2]|0;c[K>>2]=(((O(i>>>24,p)|0)>>>0)/255|0)+N<<24|(((O(i&255,p)|0)>>>0)/255|0)+k|(((O(i>>>16&255,p)|0)>>>0)/255|0)+l<<16|(((O(i>>>8&255,p)|0)>>>0)/255|0)+f<<8;i=K+4|0;if((F|0)>1){q=F+-1|0;s=i;i=5;continue}else break}if(!e){i=46;break}else i=i+(n<<2)|0}if((i|0)!=9)if((i|0)==46)return 0;break}case 2:{j=c[b+8>>2]|0;e=c[b+12>>2]|0;i=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;n=i-j|0;if(!e)return 0;i=(c[a+20>>2]|0)+((O(c[b+4>>2]|0,i)|0)<<2)|0;m=(j+3|0)/4|0;l=j&255;f=f&255;k=g&255;j=h&255;i=i+(c[b>>2]<<2)|0;b:while(1){e=e+-1|0;switch(l&3){case 0:{o=m;u=i;i=14;break}case 3:{v=m;A=i;i=15;break}case 2:{B=m;G=i;i=16;break}case 1:{H=m;L=i;i=17;break}default:{i=18;break b}}while(1)if((i|0)==14){i=c[u>>2]|0;A=(i>>>16&255)+f|0;v=(i>>>8&255)+k|0;h=(i&255)+j|0;c[u>>2]=(h>>>0<255?h:255)|i&-16777216|(A>>>0<255?A:255)<<16|(v>>>0<255?v:255)<<8;v=o;A=u+4|0;i=15;continue}else if((i|0)==15){i=c[A>>2]|0;G=(i>>>16&255)+f|0;B=(i>>>8&255)+k|0;h=(i&255)+j|0;c[A>>2]=(h>>>0<255?h:255)|i&-16777216|(G>>>0<255?G:255)<<16|(B>>>0<255?B:255)<<8;B=v;G=A+4|0;i=16;continue}else if((i|0)==16){i=c[G>>2]|0;L=(i>>>16&255)+f|0;H=(i>>>8&255)+k|0;h=(i&255)+j|0;c[G>>2]=(h>>>0<255?h:255)|i&-16777216|(L>>>0<255?L:255)<<16|(H>>>0<255?H:255)<<8;H=B;L=G+4|0;i=17;continue}else if((i|0)==17){b=c[L>>2]|0;h=(b>>>16&255)+f|0;i=(b>>>8&255)+k|0;g=(b&255)+j|0;c[L>>2]=(g>>>0<255?g:255)|b&-16777216|(h>>>0<255?h:255)<<16|(i>>>0<255?i:255)<<8;i=L+4|0;if((H|0)>1){o=H+-1|0;u=i;i=14;continue}else break}if(!e){i=46;break}else i=i+(n<<2)|0}if((i|0)!=18)if((i|0)==46)return 0;break}case 4:{j=c[b+8>>2]|0;e=c[b+12>>2]|0;i=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;n=i-j|0;if(!e)return 0;i=(c[a+20>>2]|0)+((O(c[b+4>>2]|0,i)|0)<<2)|0;m=(j+3|0)/4|0;l=j&255;f=f&255;k=g&255;j=h&255;i=i+(c[b>>2]<<2)|0;c:while(1){e=e+-1|0;switch(l&3){case 0:{r=m;w=i;i=23;break}case 3:{x=m;C=i;i=24;break}case 2:{D=m;I=i;i=25;break}case 1:{J=m;M=i;i=26;break}default:{i=27;break c}}while(1)if((i|0)==23){x=c[w>>2]|0;c[w>>2]=((O(x&255,j)|0)>>>0)/255|0|x&-16777216|(((O(x>>>16&255,f)|0)>>>0)/255|0)<<16|(((O(x>>>8&255,k)|0)>>>0)/255|0)<<8;x=r;C=w+4|0;i=24;continue}else if((i|0)==24){D=c[C>>2]|0;c[C>>2]=((O(D&255,j)|0)>>>0)/255|0|D&-16777216|(((O(D>>>16&255,f)|0)>>>0)/255|0)<<16|(((O(D>>>8&255,k)|0)>>>0)/255|0)<<8;D=x;I=C+4|0;i=25;continue}else if((i|0)==25){J=c[I>>2]|0;c[I>>2]=((O(J&255,j)|0)>>>0)/255|0|J&-16777216|(((O(J>>>16&255,f)|0)>>>0)/255|0)<<16|(((O(J>>>8&255,k)|0)>>>0)/255|0)<<8;J=D;M=I+4|0;i=26;continue}else if((i|0)==26){i=c[M>>2]|0;c[M>>2]=((O(i&255,j)|0)>>>0)/255|0|i&-16777216|(((O(i>>>16&255,f)|0)>>>0)/255|0)<<16|(((O(i>>>8&255,k)|0)>>>0)/255|0)<<8;i=M+4|0;if((J|0)>1){r=J+-1|0;w=i;i=23;continue}else break}if(!e){i=46;break}else i=i+(n<<2)|0}if((i|0)!=27)if((i|0)==46)return 0;break}default:{k=c[b+8>>2]|0;M=c[b+12>>2]|0;i=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;n=i-k|0;i=(c[a+20>>2]|0)+((O(c[b+4>>2]|0,i)|0)<<2)|0;i=i+(c[b>>2]<<2)|0;j=M+-1|0;if(!M)return 0;e=k+3|0;m=(e|0)/4|0;l=(g&255)<<8|(f&255)<<16|h&255|N<<24;switch(k&3){case 0:{while(1){e=m;while(1){c[i>>2]=l;c[i+4>>2]=l;c[i+8>>2]=l;c[i+12>>2]=l;i=i+16|0;if((e|0)<=1)break;else e=e+-1|0}if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}case 3:{f=(e|0)>7;while(1){c[i>>2]=l;c[i+4>>2]=l;c[i+8>>2]=l;e=i+12|0;if(f){k=m;do{k=k+-1|0;c[e>>2]=l;e=i;i=i+16|0;c[i>>2]=l;c[e+20>>2]=l;c[e+24>>2]=l;e=e+28|0}while((k|0)>1);i=e}else i=e;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}case 2:{f=(e|0)>7;while(1){c[i>>2]=l;c[i+4>>2]=l;e=i+8|0;if(f){k=m;do{k=k+-1|0;c[e>>2]=l;c[i+12>>2]=l;e=i;i=i+16|0;c[i>>2]=l;c[e+20>>2]=l;e=e+24|0}while((k|0)>1);i=e}else i=e;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}default:{f=(e|0)>7;while(1){c[i>>2]=l;e=i+4|0;if(f){k=m;do{k=k+-1|0;c[e>>2]=l;c[i+8>>2]=l;c[i+12>>2]=l;e=i;i=i+16|0;c[i>>2]=l;e=e+20|0}while((k|0)>1);i=e}else i=e;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}}}}return 0}function qJ(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|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,I=0,J=0,K=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,_=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,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bg=de;jg=ee;og=fe;qg=ge;Ag=he;m=10;continue}else break}if(!h){Gg=0;m=109;break}else m=m+(B<<1)|0}if((m|0)!=14)if((m|0)==109){l=Hg;return Gg|0}break}case 2:{h=c[g+8>>2]|0;A=c[g+12>>2]|0;m=(c[f+16>>2]|0)/(o|0)|0;C=m-h|0;if(!A){Gg=0;l=Hg;return Gg|0}m=(c[f+20>>2]|0)+((O(c[g+4>>2]|0,m)|0)<<1)|0;B=(h+3|0)/4|0;z=h&255;q=Fg+28|0;r=Fg+12|0;s=Fg+32|0;t=Fg+29|0;u=Fg+16|0;v=Fg+33|0;w=Fg+30|0;x=Fg+20|0;y=Fg+34|0;p=i&255;i=j&255;o=k&255;n=Fg+24|0;m=m+(c[g>>2]<<1)|0;h=A;b:while(1){h=h+-1|0;switch(z&3){case 0:{le=a[q>>0]|0;pe=a[t>>0]|0;te=a[w>>0]|0;Qa=B;Xa=m;ie=le;je=c[r>>2]|0;ke=a[s>>0]|0;le=c[18232+((le&255)<<2)>>2]|0;me=pe;ne=c[u>>2]|0;oe=a[v>>0]|0;pe=c[18232+((pe&255)<<2)>>2]|0;qe=te;re=c[x>>2]|0;se=a[y>>0]|0;te=c[18232+((te&255)<<2)>>2]|0;ue=c[n>>2]|0;m=23;break}case 3:{ye=a[q>>0]|0;Ce=a[t>>0]|0;Ge=a[w>>0]|0;Ya=B;hb=m;ve=ye;we=c[r>>2]|0;xe=a[s>>0]|0;ye=c[18232+((ye&255)<<2)>>2]|0;ze=Ce;Ae=c[u>>2]|0;Be=a[v>>0]|0;Ce=c[18232+((Ce&255)<<2)>>2]|0;De=Ge;Ee=c[x>>2]|0;Fe=a[y>>0]|0;Ge=c[18232+((Ge&255)<<2)>>2]|0;He=c[n>>2]|0;m=24;break}case 2:{Le=a[q>>0]|0;Pe=a[t>>0]|0;Te=a[w>>0]|0;ib=B;tb=m;Ie=Le;Je=c[r>>2]|0;Ke=a[s>>0]|0;Le=c[18232+((Le&255)<<2)>>2]|0;Me=Pe;Ne=c[u>>2]|0;Oe=a[v>>0]|0;Pe=c[18232+((Pe&255)<<2)>>2]|0;Qe=Te;Re=c[x>>2]|0;Se=a[y>>0]|0;Te=c[18232+((Te&255)<<2)>>2]|0;Ue=c[n>>2]|0;m=25;break}case 1:{Ye=a[q>>0]|0;bf=a[t>>0]|0;ff=a[w>>0]|0;ub=B;Eb=m;Ve=Ye;We=c[r>>2]|0;Xe=a[s>>0]|0;Ye=c[18232+((Ye&255)<<2)>>2]|0;_e=bf;$e=c[u>>2]|0;af=a[v>>0]|0;bf=c[18232+((bf&255)<<2)>>2]|0;cf=ff;df=c[x>>2]|0;ef=a[y>>0]|0;ff=c[18232+((ff&255)<<2)>>2]|0;gf=c[n>>2]|0;m=26;break}default:{m=27;break b}}while(1)if((m|0)==23){hb=e[Xa>>1]|0;ve=ke&255;xe=oe&255;Ya=se&255;we=(d[le+((hb&je)>>>ve)>>0]|0)+p|0;ye=(d[pe+((ne&hb)>>>xe)>>0]|0)+i|0;hb=(d[te+((re&hb)>>>Ya)>>0]|0)+o|0;b[Xa>>1]=(ye>>>0<255?ye:255)>>>(me&255)<>>0<255?we:255)>>>(ie&255)<>>0<255?hb:255)>>>(qe&255)<>1]|0;Ie=xe&255;Ke=Be&255;ib=Fe&255;Je=(d[ye+((tb&we)>>>Ie)>>0]|0)+p|0;Le=(d[Ce+((Ae&tb)>>>Ke)>>0]|0)+i|0;tb=(d[Ge+((Ee&tb)>>>ib)>>0]|0)+o|0;b[hb>>1]=(Le>>>0<255?Le:255)>>>(ze&255)<>>0<255?Je:255)>>>(ve&255)<>>0<255?tb:255)>>>(De&255)<>1]|0;Ve=Ke&255;Xe=Oe&255;ub=Se&255;We=(d[Le+((Eb&Je)>>>Ve)>>0]|0)+p|0;Ye=(d[Pe+((Ne&Eb)>>>Xe)>>0]|0)+i|0;Eb=(d[Te+((Re&Eb)>>>ub)>>0]|0)+o|0;b[tb>>1]=(Ye>>>0<255?Ye:255)>>>(Me&255)<>>0<255?We:255)>>>(Ie&255)<>>0<255?Eb:255)>>>(Qe&255)<>1]|0;Fg=Xe&255;j=af&255;m=ef&255;k=(d[Ye+((g&We)>>>Fg)>>0]|0)+p|0;f=(d[bf+(($e&g)>>>j)>>0]|0)+i|0;g=(d[ff+((df&g)>>>m)>>0]|0)+o|0;b[Eb>>1]=(f>>>0<255?f:255)>>>(_e&255)<>>0<255?k:255)>>>(Ve&255)<>>0<255?g:255)>>>(cf&255)<1){Qa=ub+-1|0;Xa=m;ie=Ve;je=We;ke=Xe;le=Ye;me=_e;ne=$e;oe=af;pe=bf;qe=cf;re=df;se=ef;te=ff;ue=gf;m=23;continue}else break}if(!h){Gg=0;m=109;break}else m=m+(C<<1)|0}if((m|0)!=27)if((m|0)==109){l=Hg;return Gg|0}break}case 4:{h=c[g+8>>2]|0;A=c[g+12>>2]|0;m=(c[f+16>>2]|0)/(o|0)|0;C=m-h|0;if(!A){Gg=0;l=Hg;return Gg|0}m=(c[f+20>>2]|0)+((O(c[g+4>>2]|0,m)|0)<<1)|0;B=(h+3|0)/4|0;z=h&255;q=Fg+28|0;r=Fg+12|0;s=Fg+32|0;t=Fg+29|0;u=Fg+16|0;v=Fg+33|0;w=Fg+30|0;x=Fg+20|0;y=Fg+34|0;p=i&255;i=j&255;o=k&255;n=Fg+24|0;m=m+(c[g>>2]<<1)|0;h=A;c:while(1){h=h+-1|0;switch(z&3){case 0:{nf=a[q>>0]|0;sf=a[t>>0]|0;wf=a[w>>0]|0;Ra=B;Za=m;kf=nf;lf=c[r>>2]|0;mf=a[s>>0]|0;nf=c[18232+((nf&255)<<2)>>2]|0;pf=sf;qf=c[u>>2]|0;rf=a[v>>0]|0;sf=c[18232+((sf&255)<<2)>>2]|0;tf=wf;uf=c[x>>2]|0;vf=a[y>>0]|0;wf=c[18232+((wf&255)<<2)>>2]|0;xf=c[n>>2]|0;m=36;break}case 3:{Cf=a[q>>0]|0;Hf=a[t>>0]|0;Lf=a[w>>0]|0;_a=B;jb=m;zf=Cf;Af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b=e[jb>>1]|0;Of=Bf&255;Pf=Ff&255;kb=Kf&255;b[jb>>1]=(((O(d[Hf+((Ef&vb)>>>Pf)>>0]|0,i)|0)>>>0)/255|0)>>>(Df&255)<>>Of)>>0]|0,p)|0)>>>0)/255|0)>>>(zf&255)<>>kb)>>0]|0,o)|0)>>>0)/255|0)>>>(If&255)<>1]|0;ag=Qf&255;cg=Vf&255;wb=Zf&255;b[vb>>1]=(((O(d[Wf+((Tf&Fb)>>>cg)>>0]|0,i)|0)>>>0)/255|0)>>>(Sf&255)<>>ag)>>0]|0,p)|0)>>>0)/255|0)>>>(Of&255)<>>wb)>>0]|0,o)|0)>>>0)/255|0)>>>(Xf&255)<>1]|0;Fg=dg&255;k=hg&255;m=mg&255;b[Fb>>1]=(((O(d[ig+((gg&g)>>>k)>>0]|0,i)|0)>>>0)/255|0)>>>(fg&255)<>>Fg)>>0]|0,p)|0)>>>0)/255|0)>>>(ag&255)<>>m)>>0]|0,o)|0)>>>0)/255|0)>>>(kg&255)<1){Ra=wb+-1|0;Za=m;kf=ag;lf=cg;mf=dg;nf=eg;pf=fg;qf=gg;rf=hg;sf=ig;tf=kg;uf=lg;vf=mg;wf=ng;xf=pg;m=36;continue}else break}if(!h){Gg=0;m=109;break}else m=m+(C<<1)|0}if((m|0)!=40)if((m|0)==109){l=Hg;return Gg|0}break}default:{h=c[g+8>>2]|0;x=c[g+12>>2]|0;m=(c[f+16>>2]|0)/(o|0)|0;z=m-h|0;if(!x){Gg=0;l=Hg;return Gg|0}m=(c[f+20>>2]|0)+((O(c[g+4>>2]|0,m)|0)<<1)|0;y=(h+3|0)/4|0;w=h&255;v=i&255;u=j&255;o=k&255;i=Fg+28|0;p=Fg+32|0;q=Fg+29|0;r=Fg+33|0;s=Fg+30|0;t=Fg+34|0;n=Fg+24|0;m=m+(c[g>>2]<<1)|0;h=x;d:while(1){h=h+-1|0;switch(w&3){case 0:{A=y;C=m;na=a[i>>0]|0;oa=a[p>>0]|0;pa=a[q>>0]|0;qa=a[r>>0]|0;ra=a[s>>0]|0;sa=a[t>>0]|0;ta=c[n>>2]|0;m=49;break}case 3:{D=y;G=m;ua=a[i>>0]|0;va=a[p>>0]|0;wa=a[q>>0]|0;xa=a[r>>0]|0;ya=a[s>>0]|0;za=a[t>>0]|0;Aa=c[n>>2]|0;m=50;break}case 2:{H=y;K=m;Ba=a[i>>0]|0;Ca=a[p>>0]|0;Da=a[q>>0]|0;Ea=a[r>>0]|0;Fa=a[s>>0]|0;Ga=a[t>>0]|0;Ha=c[n>>2]|0;m=51;break}case 1:{L=y;P=m;Ia=a[i>>0]|0;Ja=a[p>>0]|0;Ka=a[q>>0]|0;La=a[r>>0]|0;Ma=a[s>>0]|0;Na=a[t>>0]|0;Oa=c[n>>2]|0;m=52;break}default:{m=53;break d}}while(1)if((m|0)==49){b[C>>1]=u>>>(pa&255)<<(qa&255)|v>>>(na&255)<<(oa&255)|ta|o>>>(ra&255)<<(sa&255);D=A;G=C+2|0;ua=na;va=oa;wa=pa;xa=qa;ya=ra;za=sa;Aa=ta;m=50;continue}else if((m|0)==50){b[G>>1]=u>>>(wa&255)<<(xa&255)|v>>>(ua&255)<<(va&255)|Aa|o>>>(ya&255)<<(za&255);H=D;K=G+2|0;Ba=ua;Ca=va;Da=wa;Ea=xa;Fa=ya;Ga=za;Ha=Aa;m=51;continue}else if((m|0)==51){b[K>>1]=u>>>(Da&255)<<(Ea&255)|v>>>(Ba&255)<<(Ca&255)|Ha|o>>>(Fa&255)<<(Ga&255);L=H;P=K+2|0;Ia=Ba;Ja=Ca;Ka=Da;La=Ea;Ma=Fa;Na=Ga;Oa=Ha;m=52;continue}else if((m|0)==52){b[P>>1]=u>>>(Ka&255)<<(La&255)|v>>>(Ia&255)<<(Ja&255)|Oa|o>>>(Ma&255)<<(Na&255);m=P+2|0;if((L|0)>1){A=L+-1|0;C=m;na=Ia;oa=Ja;pa=Ka;qa=La;ra=Ma;sa=Na;ta=Oa;m=49;continue}else break}if(!h){Gg=0;m=109;break}else m=m+(z<<1)|0}if((m|0)!=53)if((m|0)==109){l=Hg;return Gg|0}}}break}case 4:{switch(h|0){case 1:{m=c[g+8>>2]|0;h=c[g+12>>2]|0;o=(c[f+16>>2]|0)/(o|0)|0;B=o-m|0;if(!h){Gg=0;l=Hg;return Gg|0}C=(m+3|0)/4|0;A=m&255;r=Fg+28|0;s=Fg+12|0;t=Fg+32|0;u=Fg+29|0;v=Fg+16|0;w=Fg+33|0;x=Fg+30|0;y=Fg+20|0;z=Fg+34|0;q=i&255;p=j&255;i=k&255;n=Fg+24|0;m=(c[f+20>>2]|0)+((O(c[g+4>>2]|0,o)|0)<<2)+(c[g>>2]<<2)|0;e:while(1){h=h+-1|0;switch(A&3){case 0:{tg=a[r>>0]|0;wg=a[u>>0]|0;zg=a[x>>0]|0;Sa=C;$a=m;rg=tg;sg=a[t>>0]|0;tg=c[18232+((tg&255)<<2)>>2]|0;ug=wg;vg=a[w>>0]|0;wg=c[18232+((wg&255)<<2)>>2]|0;xg=zg;yg=a[z>>0]|0;zg=c[18232+((zg&255)<<2)>>2]|0;m=63;break}case 3:{Dg=a[r>>0]|0;Lb=a[u>>0]|0;Ob=a[x>>0]|0;ab=C;lb=m;Jb=Lb;Kb=a[w>>0]|0;Lb=c[18232+((Lb&255)<<2)>>2]|0;Mb=Ob;Nb=a[z>>0]|0;Ob=c[18232+((Ob&255)<<2)>>2]|0;Bg=Dg;Cg=a[t>>0]|0;Dg=c[18232+((Dg&255)<<2)>>2]|0;m=64;break}case 2:{Sb=a[r>>0]|0;Vb=a[u>>0]|0;Yb=a[x>>0]|0;mb=C;xb=m;Qb=Sb;Rb=a[t>>0]|0;Sb=c[18232+((Sb&255)<<2)>>2]|0;Tb=Vb;Ub=a[w>>0]|0;Vb=c[18232+((Vb&255)<<2)>>2]|0;Wb=Yb;Xb=a[z>>0]|0;Yb=c[18232+((Yb&255)<<2)>>2]|0;m=65;break}case 1:{bc=a[r>>0]|0;ec=a[u>>0]|0;hc=a[x>>0]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2]&_b)>>>yb)>>0]|0,Eg)|0)>>>0)/255|0)+i|0)>>>(Wb&255)<>2]=Gb|c[n>>2]|yb;yb=mb;Gb=xb+4|0;_b=Qb;ac=Rb;bc=Sb;cc=Tb;dc=Ub;ec=Vb;fc=Wb;gc=Xb;hc=Yb;m=66;continue}else if((m|0)==66){Fg=c[Gb>>2]|0;g=ac&255;k=dc&255;m=gc&255;g=((((O(d[ec+((c[v>>2]&Fg)>>>k)>>0]|0,Eg)|0)>>>0)/255|0)+p|0)>>>(cc&255)<>2]&Fg)>>>g)>>0]|0,Eg)|0)>>>0)/255|0)+q|0)>>>(_b&255)<>2]&Fg)>>>m)>>0]|0,Eg)|0)>>>0)/255|0)+i|0)>>>(fc&255)<>2]=g|c[n>>2]|m;m=Gb+4|0;if((yb|0)>1){Sa=yb+-1|0;$a=m;rg=_b;sg=ac;tg=bc;ug=cc;vg=dc;wg=ec;xg=fc;yg=gc;zg=hc;m=63;continue}else break}if(!h){Gg=0;m=109;break}else m=m+(B<<2)|0}if((m|0)!=67)if((m|0)==109){l=Hg;return Gg|0}break}case 2:{h=c[g+8>>2]|0;A=c[g+12>>2]|0;m=(c[f+16>>2]|0)/(o|0)|0;C=m-h|0;if(!A){Gg=0;l=Hg;return Gg|0}m=(c[f+20>>2]|0)+((O(c[g+4>>2]|0,m)|0)<<2)|0;B=(h+3|0)/4|0;z=h&255;q=Fg+28|0;r=Fg+12|0;s=Fg+32|0;t=Fg+29|0;u=Fg+16|0;v=Fg+33|0;w=Fg+30|0;x=Fg+20|0;y=Fg+34|0;p=i&255;i=j&255;o=k&255;n=Fg+24|0;m=m+(c[g>>2]<<2)|0;h=A;f:while(1){h=h+-1|0;switch(z&3){case 0:{nc=a[q>>0]|0;qc=a[t>>0]|0;uc=a[w>>0]|0;Ta=B;bb=m;lc=nc;mc=a[s>>0]|0;nc=c[18232+((nc&255)<<2)>>2]|0;oc=qc;pc=a[v>>0]|0;qc=c[18232+((qc&255)<<2)>>2]|0;sc=uc;t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fg+34|0;p=i&255;i=j&255;o=k&255;n=Fg+24|0;m=m+(c[g>>2]<<2)|0;h=A;g:while(1){h=h+-1|0;switch(z&3){case 0:{bd=a[q>>0]|0;ed=a[t>>0]|0;hd=a[w>>0]|0;Ua=B;db=m;$c=bd;ad=a[s>>0]|0;bd=c[18232+((bd&255)<<2)>>2]|0;cd=ed;dd=a[v>>0]|0;ed=c[18232+((ed&255)<<2)>>2]|0;fd=hd;gd=a[y>>0]|0;hd=c[18232+((hd&255)<<2)>>2]|0;m=89;break}case 3:{kd=a[q>>0]|0;nd=a[t>>0]|0;qd=a[w>>0]|0;eb=B;pb=m;id=kd;jd=a[s>>0]|0;kd=c[18232+((kd&255)<<2)>>2]|0;ld=nd;md=a[v>>0]|0;nd=c[18232+((nd&255)<<2)>>2]|0;od=qd;pd=a[y>>0]|0;qd=c[18232+((qd&255)<<2)>>2]|0;m=90;break}case 2:{td=a[q>>0]|0;xd=a[t>>0]|0;Ad=a[w>>0]|0;qb=B;Bb=m;rd=td;sd=a[s>>0]|0;td=c[18232+((td&255)<<2)>>2]|0;ud=xd;vd=a[v>>0]|0;xd=c[18232+((xd&255)<<2)>>2]|0;yd=Ad;zd=a[y>>0]|0;Ad=c[18232+((Ad&255)<<2)>>2]|0;m=91;break}case 1:{Dd=a[q>>0]|0;Hd=a[t>>0]|0;Kd=a[w>>0]|0;Cb=B;Ib=m;Bd=Dd;Cd=a[s>>0]|0;Dd=c[18232+((Dd&255)<<2)>>2]|0;Ed=Hd;Gd=a[v>>0]|0;Hd=c[18232+((Hd&255)<<2)>>2]|0;Id=Kd;Jd=a[y>>0]|0;Kd=c[18232+((Kd&255)<<2)>>2]|0;m=92;break}default:{m=93;break g}}while(1)if((m|0)==89){id=c[db>>2]|0;pb=ad&255;jd=dd&255;eb=gd&255;pb=(((O(d[ed+((c[u>>2]&id)>>>jd)>>0]|0,i)|0)>>>0)/255|0)>>>(cd&255)<>2]&id)>>>pb)>>0]|0,p)|0)>>>0)/255|0)>>>($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cd;bd=Dd;cd=Ed;dd=Gd;ed=Hd;fd=Id;gd=Jd;hd=Kd;m=89;continue}else break}if(!h){Gg=0;m=109;break}else m=m+(C<<2)|0}if((m|0)!=93)if((m|0)==109){l=Hg;return Gg|0}break}default:{h=c[g+8>>2]|0;x=c[g+12>>2]|0;m=(c[f+16>>2]|0)/(o|0)|0;z=m-h|0;if(!x){Gg=0;l=Hg;return Gg|0}m=(c[f+20>>2]|0)+((O(c[g+4>>2]|0,m)|0)<<2)|0;y=(h+3|0)/4|0;w=h&255;v=i&255;u=j&255;o=k&255;i=Fg+28|0;p=Fg+32|0;q=Fg+29|0;r=Fg+33|0;s=Fg+30|0;t=Fg+34|0;n=Fg+24|0;m=m+(c[g>>2]<<2)|0;h=x;h:while(1){h=h+-1|0;switch(w&3){case 0:{B=y;F=m;R=a[i>>0]|0;S=a[p>>0]|0;T=a[q>>0]|0;U=a[r>>0]|0;V=a[s>>0]|0;W=a[t>>0]|0;m=102;break}case 3:{E=y;J=m;X=a[i>>0]|0;Y=a[p>>0]|0;Z=a[q>>0]|0;_=a[r>>0]|0;$=a[s>>0]|0;aa=a[t>>0]|0;m=103;break}case 2:{I=y;N=m;ba=a[i>>0]|0;ca=a[p>>0]|0;da=a[q>>0]|0;ea=a[r>>0]|0;fa=a[s>>0]|0;ga=a[t>>0]|0;m=104;break}case 1:{M=y;Q=m;ha=a[i>>0]|0;ia=a[p>>0]|0;ja=a[q>>0]|0;ka=a[r>>0]|0;la=a[s>>0]|0;ma=a[t>>0]|0;m=105;break}default:{m=106;break h}}while(1)if((m|0)==102){c[F>>2]=u>>>(T&255)<<(U&255)|v>>>(R&255)<<(S&255)|c[n>>2]|o>>>(V&255)<<(W&255);E=B;J=F+4|0;X=R;Y=S;Z=T;_=U;$=V;aa=W;m=103;continue}else if((m|0)==103){c[J>>2]=u>>>(Z&255)<<(_&255)|v>>>(X&255)<<(Y&255)|c[n>>2]|o>>>($&255)<<(aa&255);I=E;N=J+4|0;ba=X;ca=Y;da=Z;ea=_;fa=$;ga=aa;m=104;continue}else if((m|0)==104){c[N>>2]=u>>>(da&255)<<(ea&255)|v>>>(ba&255)<<(ca&255)|c[n>>2]|o>>>(fa&255)<<(ga&255);M=I;Q=N+4|0;ha=ba;ia=ca;ja=da;ka=ea;la=fa;ma=ga;m=105;continue}else if((m|0)==105){c[Q>>2]=u>>>(ja&255)<<(ka&255)|v>>>(ha&255)<<(ia&255)|c[n>>2]|o>>>(la&255)<<(ma&255);m=Q+4|0;if((M|0)>1){B=M+-1|0;F=m;R=ha;S=ia;T=ja;U=ka;V=la;W=ma;m=102;continue}else break}if(!h){Gg=0;m=109;break}else m=m+(z<<2)|0}if((m|0)!=106)if((m|0)==109){l=Hg;return Gg|0}}}break}default:{_D(294718,n);Gg=-1;l=Hg;return Gg|0}}return 0}function rJ(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,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,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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j=13;break}default:{j=14;break a}}while(1)if((j|0)==10){wa=c[qa>>2]|0;Ma=cc&255;Na=sc&255;La=Sc&255;ra=pd&255;c[qa>>2]=((((O(d[Bc+((c[t>>2]&wa)>>>Na)>>0]|0,ma)|0)>>>0)/255|0)+g|0)>>>(qc&255)<>2]&wa)>>>Ma)>>0]|0,ma)|0)>>>0)/255|0)+n|0)>>>(Ub&255)<>2]&wa)>>>La)>>0]|0,ma)|0)>>>0)/255|0)+k|0)>>>(Ic&255)<>2]&wa)>>>ra)>>0]|0,ma)|0)>>>0)/255|0)+td|0)>>>(ed&255)<>2]|0;Ya=Ma&255;Za=Pa&255;Xa=Sa&255;xa=Va&255;c[wa>>2]=((((O(d[Qa+((c[t>>2]&Ca)>>>Za)>>0]|0,ma)|0)>>>0)/255|0)+g|0)>>>(Oa&255)<>2]&Ca)>>>Ya)>>0]|0,ma)|0)>>>0)/255|0)+n|0)>>>(La&255)<>2]&Ca)>>>Xa)>>0]|0,ma)|0)>>>0)/255|0)+k|0)>>>(Ra&255)<>2]&Ca)>>>xa)>>0]|0,ma)|0)>>>0)/255|0)+td|0)>>>(Ua&255)<>2]|0;ib=Ya&255;jb=$a&255;hb=cb&255;Da=fb&255;c[Ca>>2]=((((O(d[ab+((c[t>>2]&Ia)>>>jb)>>0]|0,ma)|0)>>>0)/255|0)+g|0)>>>(_a&255)<>2]&Ia)>>>ib)>>0]|0,ma)|0)>>>0)/255|0)+n|0)>>>(Xa&255)<>2]&Ia)>>>hb)>>0]|0,ma)|0)>>>0)/255|0)+k|0)>>>(bb&255)<>2]&Ia)>>>Da)>>0]|0,ma)|0)>>>0)/255|0)+td|0)>>>(eb&255)<>2]|0;ud=ib&255;h=lb&255;i=ob&255;j=rb&255;c[Ia>>2]=((((O(d[mb+((c[t>>2]&e)>>>h)>>0]|0,ma)|0)>>>0)/255|0)+g|0)>>>(kb&255)<>2]&e)>>>ud)>>0]|0,ma)|0)>>>0)/255|0)+n|0)>>>(hb&255)<>2]&e)>>>i)>>0]|0,ma)|0)>>>0)/255|0)+k|0)>>>(nb&255)<>2]&e)>>>j)>>0]|0,ma)|0)>>>0)/255|0)+td|0)>>>(qb&255)<1){na=Da+-1|0;qa=j;Ub=hb;cc=ib;kc=jb;qc=kb;sc=lb;Bc=mb;Ic=nb;Sc=ob;Yc=pb;ed=qb;pd=rb;sd=sb;j=10;continue}else break}if(!f){vd=0;j=56;break}else j=j+(B<<2)|0}if((j|0)!=14)if((j|0)==56){l=wd;return vd|0}break}case 2:{f=c[e+8>>2]|0;A=c[e+12>>2]|0;j=(c[b+16>>2]|0)/(k|0)|0;C=j-f|0;if(!A){vd=0;l=wd;return vd|0}j=(c[b+20>>2]|0)+((O(c[e+4>>2]|0,j)|0)<<2)|0;B=(f+3|0)/4|0;z=f&255;o=ud+28|0;p=ud+12|0;q=ud+32|0;r=ud+29|0;s=ud+16|0;t=ud+33|0;u=ud+30|0;v=ud+20|0;w=ud+34|0;x=ud+31|0;y=ud+24|0;n=ud+35|0;g=g&255;m=h&255;k=i&255;j=j+(c[e>>2]<<2)|0;f=A;b:while(1){f=f+-1|0;switch(z&3){case 0:{vb=a[o>>0]|0;yb=a[r>>0]|0;Bb=a[u>>0]|0;Eb=a[x>>0]|0;oa=B;sa=j;tb=vb;ub=a[q>>0]|0;vb=c[18232+((vb&255)<<2)>>2]|0;wb=yb;xb=a[t>>0]|0;yb=c[18232+((yb&255)<<2)>>2]|0;zb=Bb;Ab=a[w>>0]|0;Bb=c[18232+((Bb&255)<<2)>>2]|0;Cb=Eb;Db=a[n>>0]|0;Eb=c[18232+((Eb&255)<<2)>>2]|0;j=23;break}case 3:{Hb=a[o>>0]|0;Kb=a[r>>0]|0;Nb=a[u>>0]|0;Qb=a[x>>0]|0;ta=B;ya=j;Fb=Hb;Gb=a[q>>0]|0;Hb=c[18232+((Hb&255)<<2)>>2]|0;Ib=Kb;Jb=a[t>>0]|0;Kb=c[18232+((Kb&255)<<2)>>2]|0;Lb=Nb;Mb=a[w>>0]|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)>>0]|0)+m|0;Sb=(d[Nb+((c[v>>2]&Ea)>>>Rb)>>0]|0)+k|0;c[ya>>2]=(Xb>>>0<255?Xb:255)>>>(Ib&255)<>>0<255?Vb:255)>>>(Fb&255)<>>0<255?Sb:255)>>>(Lb&255)<>2]&Ea)>>>za)>>0]|0)>>>(Ob&255)<>2]|0;fc=Sb&255;hc=Wb&255;dc=Zb&255;Fa=ac&255;gc=(d[Tb+((c[p>>2]&Ja)>>>fc)>>0]|0)+g|0;ic=(d[Xb+((c[s>>2]&Ja)>>>hc)>>0]|0)+m|0;ec=(d[_b+((c[v>>2]&Ja)>>>dc)>>0]|0)+k|0;c[Ea>>2]=(ic>>>0<255?ic:255)>>>(Vb&255)<>>0<255?gc:255)>>>(Rb&255)<>>0<255?ec:255)>>>(Yb&255)<>2]&Ja)>>>Fa)>>0]|0)>>>($b&255)<>2]|0;h=ec&255;b=hc&255;i=lc&255;j=oc&255;td=(d[fc+((c[p>>2]&e)>>>h)>>0]|0)+g|0;sd=(d[ic+((c[s>>2]&e)>>>b)>>0]|0)+m|0;ud=(d[mc+((c[v>>2]&e)>>>i)>>0]|0)+k|0;c[Ja>>2]=(sd>>>0<255?sd:255)>>>(gc&255)<>>0<255?td:255)>>>(dc&255)<>>0<255?ud:255)>>>(jc&255)<>2]&e)>>>j)>>0]|0)>>>(nc&255)<1){oa=Fa+-1|0;sa=j;tb=dc;ub=ec;vb=fc;wb=gc;xb=hc;yb=ic;zb=jc;Ab=lc;Bb=mc;Cb=nc;Db=oc;Eb=pc;j=23;continue}else break}if(!f){vd=0;j=56;break}else j=j+(C<<2)|0}if((j|0)!=27)if((j|0)==56){l=wd;return vd|0}break}case 4:{f=c[e+8>>2]|0;A=c[e+12>>2]|0;j=(c[b+16>>2]|0)/(k|0)|0;C=j-f|0;if(!A){vd=0;l=wd;return vd|0}j=(c[b+20>>2]|0)+((O(c[e+4>>2]|0,j)|0)<<2)|0;B=(f+3|0)/4|0;z=f&255;o=ud+28|0;p=ud+12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(id&255)<>2]&e)>>>ud)>>0]|0,g)|0)>>>0)/255|0)>>>(fd&255)<>2]&e)>>>i)>>0]|0,k)|0)>>>0)/255|0)>>>(ld&255)<>2]&e)>>>j)>>0]|0)>>>(od&255)<1){pa=Ha+-1|0;ua=j;rc=fd;tc=gd;uc=hd;vc=id;wc=jd;xc=kd;yc=ld;zc=md;Ac=nd;Cc=od;Dc=qd;Ec=rd;j=36;continue}else break}if(!f){vd=0;j=56;break}else j=j+(C<<2)|0}if((j|0)!=40)if((j|0)==56){l=wd;return vd|0}break}default:{f=c[e+8>>2]|0;w=c[e+12>>2]|0;j=(c[b+16>>2]|0)/(k|0)|0;y=j-f|0;if(!w){vd=0;l=wd;return vd|0}j=(c[b+20>>2]|0)+((O(c[e+4>>2]|0,j)|0)<<2)|0;x=(f+3|0)/4|0;v=f&255;u=g&255;t=h&255;m=i&255;g=ud+28|0;n=ud+32|0;o=ud+29|0;p=ud+33|0;q=ud+30|0;r=ud+34|0;s=ud+31|0;k=ud+35|0;j=j+(c[e>>2]<<2)|0;f=w;d:while(1){f=f+-1|0;switch(v&3){case 0:{z=x;B=j;X=a[g>>0]|0;Y=a[n>>0]|0;Z=a[o>>0]|0;_=a[p>>0]|0;$=a[q>>0]|0;aa=a[r>>0]|0;ba=a[s>>0]|0;ca=a[k>>0]|0;j=49;break}case 3:{A=x;D=j;da=a[g>>0]|0;ea=a[n>>0]|0;fa=a[o>>0]|0;ga=a[p>>0]|0;ha=a[q>>0]|0;ia=a[r>>0]|0;ja=a[s>>0]|0;ka=a[k>>0]|0;j=50;break}case 2:{C=x;F=j;H=a[n>>0]|0;I=a[o>>0]|0;J=a[p>>0]|0;K=a[q>>0]|0;L=a[r>>0]|0;M=a[s>>0]|0;N=a[k>>0]|0;la=a[g>>0]|0;j=51;break}case 1:{E=x;G=j;P=a[g>>0]|0;Q=a[n>>0]|0;R=a[o>>0]|0;S=a[p>>0]|0;T=a[q>>0]|0;U=a[r>>0]|0;V=a[s>>0]|0;W=a[k>>0]|0;j=52;break}default:{j=53;break d}}while(1)if((j|0)==49){c[B>>2]=t>>>(Z&255)<<(_&255)|u>>>(X&255)<<(Y&255)|m>>>($&255)<<(aa&255)|td>>>(ba&255)<<(ca&255);A=z;D=B+4|0;da=X;ea=Y;fa=Z;ga=_;ha=$;ia=aa;ja=ba;ka=ca;j=50;continue}else if((j|0)==50){c[D>>2]=t>>>(fa&255)<<(ga&255)|u>>>(da&255)<<(ea&255)|m>>>(ha&255)<<(ia&255)|td>>>(ja&255)<<(ka&255);C=A;F=D+4|0;H=ea;I=fa;J=ga;K=ha;L=ia;M=ja;N=ka;la=da;j=51;continue}else if((j|0)==51){c[F>>2]=t>>>(I&255)<<(J&255)|u>>>(la&255)<<(H&255)|m>>>(K&255)<<(L&255)|td>>>(M&255)<<(N&255);E=C;G=F+4|0;P=la;Q=H;R=I;S=J;T=K;U=L;V=M;W=N;j=52;continue}else if((j|0)==52){c[G>>2]=t>>>(R&255)<<(S&255)|u>>>(P&255)<<(Q&255)|m>>>(T&255)<<(U&255)|td>>>(V&255)<<(W&255);j=G+4|0;if((E|0)>1){z=E+-1|0;B=j;X=P;Y=Q;Z=R;_=S;$=T;aa=U;ba=V;ca=W;j=49;continue}else break}if(!f){vd=0;j=56;break}else j=j+(y<<2)|0}if((j|0)!=53)if((j|0)==56){l=wd;return vd|0}}}return 0}function sJ(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,P=0;r=~k&255;switch(g|0){case 1:{k=c[f+8>>2]|0;g=c[f+12>>2]|0;l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;p=l-k|0;if(!g)return 0;q=(k+3|0)/4|0;o=k&255;n=h&255;h=i&255;m=j&255;k=(c[a+20>>2]|0)+((O(c[f+4>>2]|0,l)|0)<<1)+(c[f>>2]<<1)|0;a:while(1){g=g+-1|0;switch(o&3){case 0:{s=q;u=k;k=5;break}case 3:{v=q;A=k;k=6;break}case 2:{B=q;G=k;k=7;break}case 1:{H=q;M=k;k=8;break}default:{k=9;break a}}while(1)if((k|0)==5){v=e[u>>1]|0;b[u>>1]=((((O(d[289071+(v>>>5&31)>>0]|0,r)|0)>>>0)/255|0)+h|0)>>>3<<5|((((O(d[289071+(v>>>10&31)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<10|((((O(d[289071+(v&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3;v=s;A=u+2|0;k=6;continue}else if((k|0)==6){B=e[A>>1]|0;b[A>>1]=((((O(d[289071+(B>>>5&31)>>0]|0,r)|0)>>>0)/255|0)+h|0)>>>3<<5|((((O(d[289071+(B>>>10&31)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<10|((((O(d[289071+(B&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3;B=v;G=A+2|0;k=7;continue}else if((k|0)==7){H=e[G>>1]|0;b[G>>1]=((((O(d[289071+(H>>>5&31)>>0]|0,r)|0)>>>0)/255|0)+h|0)>>>3<<5|((((O(d[289071+(H>>>10&31)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<10|((((O(d[289071+(H&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3;H=B;M=G+2|0;k=8;continue}else if((k|0)==8){k=e[M>>1]|0;b[M>>1]=((((O(d[289071+(k>>>5&31)>>0]|0,r)|0)>>>0)/255|0)+h|0)>>>3<<5|((((O(d[289071+(k>>>10&31)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<10|((((O(d[289071+(k&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3;k=M+2|0;if((H|0)>1){s=H+-1|0;u=k;k=5;continue}else break}if(!g){k=46;break}else k=k+(p<<1)|0}if((k|0)!=9)if((k|0)==46)return 0;break}case 2:{l=c[f+8>>2]|0;g=c[f+12>>2]|0;k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;p=k-l|0;if(!g)return 0;k=(c[a+20>>2]|0)+((O(c[f+4>>2]|0,k)|0)<<1)|0;o=(l+3|0)/4|0;n=l&255;h=h&255;m=i&255;l=j&255;k=k+(c[f>>2]<<1)|0;b:while(1){g=g+-1|0;switch(n&3){case 0:{q=o;w=k;k=14;break}case 3:{x=o;C=k;k=15;break}case 2:{D=o;I=k;k=16;break}case 1:{J=o;N=k;k=17;break}default:{k=18;break b}}while(1)if((k|0)==14){x=e[w>>1]|0;C=(d[289071+(x>>>10&31)>>0]|0)+h|0;k=(d[289071+(x>>>5&31)>>0]|0)+m|0;x=(d[289071+(x&31)>>0]|0)+l|0;b[w>>1]=(k>>>0<255?k:255)>>>3<<5|(C>>>0<255?C:255)>>>3<<10|(x>>>0<255?x:255)>>>3;x=q;C=w+2|0;k=15;continue}else if((k|0)==15){D=e[C>>1]|0;I=(d[289071+(D>>>10&31)>>0]|0)+h|0;k=(d[289071+(D>>>5&31)>>0]|0)+m|0;D=(d[289071+(D&31)>>0]|0)+l|0;b[C>>1]=(k>>>0<255?k:255)>>>3<<5|(I>>>0<255?I:255)>>>3<<10|(D>>>0<255?D:255)>>>3;D=x;I=C+2|0;k=16;continue}else if((k|0)==16){J=e[I>>1]|0;N=(d[289071+(J>>>10&31)>>0]|0)+h|0;k=(d[289071+(J>>>5&31)>>0]|0)+m|0;J=(d[289071+(J&31)>>0]|0)+l|0;b[I>>1]=(k>>>0<255?k:255)>>>3<<5|(N>>>0<255?N:255)>>>3<<10|(J>>>0<255?J:255)>>>3;J=D;N=I+2|0;k=17;continue}else if((k|0)==17){k=e[N>>1]|0;j=(d[289071+(k>>>10&31)>>0]|0)+h|0;f=(d[289071+(k>>>5&31)>>0]|0)+m|0;k=(d[289071+(k&31)>>0]|0)+l|0;b[N>>1]=(f>>>0<255?f:255)>>>3<<5|(j>>>0<255?j:255)>>>3<<10|(k>>>0<255?k:255)>>>3;k=N+2|0;if((J|0)>1){q=J+-1|0;w=k;k=14;continue}else break}if(!g){k=46;break}else k=k+(p<<1)|0}if((k|0)!=18)if((k|0)==46)return 0;break}case 4:{l=c[f+8>>2]|0;g=c[f+12>>2]|0;k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;p=k-l|0;if(!g)return 0;k=(c[a+20>>2]|0)+((O(c[f+4>>2]|0,k)|0)<<1)|0;o=(l+3|0)/4|0;n=l&255;h=h&255;m=i&255;l=j&255;k=k+(c[f>>2]<<1)|0;c:while(1){g=g+-1|0;switch(n&3){case 0:{t=o;y=k;k=23;break}case 3:{z=o;E=k;k=24;break}case 2:{F=o;K=k;k=25;break}case 1:{L=o;P=k;k=26;break}default:{k=27;break c}}while(1)if((k|0)==23){z=e[y>>1]|0;b[y>>1]=(((O(d[289071+(z>>>5&31)>>0]|0,m)|0)>>>0)/255|0)>>>3<<5|(((O(d[289071+(z>>>10&31)>>0]|0,h)|0)>>>0)/255|0)>>>3<<10|(((O(d[289071+(z&31)>>0]|0,l)|0)>>>0)/255|0)>>>3;z=t;E=y+2|0;k=24;continue}else if((k|0)==24){F=e[E>>1]|0;b[E>>1]=(((O(d[289071+(F>>>5&31)>>0]|0,m)|0)>>>0)/255|0)>>>3<<5|(((O(d[289071+(F>>>10&31)>>0]|0,h)|0)>>>0)/255|0)>>>3<<10|(((O(d[289071+(F&31)>>0]|0,l)|0)>>>0)/255|0)>>>3;F=z;K=E+2|0;k=25;continue}else if((k|0)==25){L=e[K>>1]|0;b[K>>1]=(((O(d[289071+(L>>>5&31)>>0]|0,m)|0)>>>0)/255|0)>>>3<<5|(((O(d[289071+(L>>>10&31)>>0]|0,h)|0)>>>0)/255|0)>>>3<<10|(((O(d[289071+(L&31)>>0]|0,l)|0)>>>0)/255|0)>>>3;L=F;P=K+2|0;k=26;continue}else if((k|0)==26){k=e[P>>1]|0;b[P>>1]=(((O(d[289071+(k>>>5&31)>>0]|0,m)|0)>>>0)/255|0)>>>3<<5|(((O(d[289071+(k>>>10&31)>>0]|0,h)|0)>>>0)/255|0)>>>3<<10|(((O(d[289071+(k&31)>>0]|0,l)|0)>>>0)/255|0)>>>3;k=P+2|0;if((L|0)>1){t=L+-1|0;y=k;k=23;continue}else break}if(!g){k=46;break}else k=k+(p<<1)|0}if((k|0)!=27)if((k|0)==46)return 0;break}default:{m=c[f+8>>2]|0;P=c[f+12>>2]|0;k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;p=k-m|0;k=(c[a+20>>2]|0)+((O(c[f+4>>2]|0,k)|0)<<1)|0;k=k+(c[f>>2]<<1)|0;l=P+-1|0;if(!P)return 0;g=m+3|0;o=(g|0)/4|0;n=((i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3)&65535;switch(m&3){case 0:{while(1){g=o;while(1){b[k>>1]=n;b[k+2>>1]=n;b[k+4>>1]=n;b[k+6>>1]=n;k=k+8|0;if((g|0)<=1)break;else g=g+-1|0}if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}case 3:{h=(g|0)>7;while(1){b[k>>1]=n;b[k+2>>1]=n;b[k+4>>1]=n;g=k+6|0;if(h){m=o;do{m=m+-1|0;b[g>>1]=n;g=k;k=k+8|0;b[k>>1]=n;b[g+10>>1]=n;b[g+12>>1]=n;g=g+14|0}while((m|0)>1);k=g}else k=g;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}case 2:{h=(g|0)>7;while(1){b[k>>1]=n;b[k+2>>1]=n;g=k+4|0;if(h){m=o;do{m=m+-1|0;b[g>>1]=n;b[k+6>>1]=n;g=k;k=k+8|0;b[k>>1]=n;b[g+10>>1]=n;g=g+12|0}while((m|0)>1);k=g}else k=g;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}default:{h=(g|0)>7;while(1){b[k>>1]=n;g=k+2|0;if(h){m=o;do{m=m+-1|0;b[g>>1]=n;b[k+4>>1]=n;b[k+6>>1]=n;g=k;k=k+8|0;b[k>>1]=n;g=g+10|0}while((m|0)>1);k=g}else k=g;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}}}}return 0}function tJ(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,P=0;r=~k&255;switch(g|0){case 1:{k=c[f+8>>2]|0;g=c[f+12>>2]|0;l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;p=l-k|0;if(!g)return 0;q=(k+3|0)/4|0;o=k&255;n=h&255;h=i&255;m=j&255;k=(c[a+20>>2]|0)+((O(c[f+4>>2]|0,l)|0)<<1)+(c[f>>2]<<1)|0;a:while(1){g=g+-1|0;switch(o&3){case 0:{s=q;u=k;k=5;break}case 3:{v=q;A=k;k=6;break}case 2:{B=q;G=k;k=7;break}case 1:{H=q;M=k;k=8;break}default:{k=9;break a}}while(1)if((k|0)==5){v=e[u>>1]|0;b[u>>1]=((((O(d[289007+(v>>>5&63)>>0]|0,r)|0)>>>0)/255|0)+h|0)>>>2<<5|((((O(d[289071+(v>>>11)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<11|((((O(d[289071+(v&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3;v=s;A=u+2|0;k=6;continue}else if((k|0)==6){B=e[A>>1]|0;b[A>>1]=((((O(d[289007+(B>>>5&63)>>0]|0,r)|0)>>>0)/255|0)+h|0)>>>2<<5|((((O(d[289071+(B>>>11)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<11|((((O(d[289071+(B&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3;B=v;G=A+2|0;k=7;continue}else if((k|0)==7){H=e[G>>1]|0;b[G>>1]=((((O(d[289007+(H>>>5&63)>>0]|0,r)|0)>>>0)/255|0)+h|0)>>>2<<5|((((O(d[289071+(H>>>11)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<11|((((O(d[289071+(H&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3;H=B;M=G+2|0;k=8;continue}else if((k|0)==8){k=e[M>>1]|0;b[M>>1]=((((O(d[289007+(k>>>5&63)>>0]|0,r)|0)>>>0)/255|0)+h|0)>>>2<<5|((((O(d[289071+(k>>>11)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<11|((((O(d[289071+(k&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3;k=M+2|0;if((H|0)>1){s=H+-1|0;u=k;k=5;continue}else break}if(!g){k=46;break}else k=k+(p<<1)|0}if((k|0)!=9)if((k|0)==46)return 0;break}case 2:{l=c[f+8>>2]|0;g=c[f+12>>2]|0;k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;p=k-l|0;if(!g)return 0;k=(c[a+20>>2]|0)+((O(c[f+4>>2]|0,k)|0)<<1)|0;o=(l+3|0)/4|0;n=l&255;h=h&255;m=i&255;l=j&255;k=k+(c[f>>2]<<1)|0;b:while(1){g=g+-1|0;switch(n&3){case 0:{q=o;w=k;k=14;break}case 3:{x=o;C=k;k=15;break}case 2:{D=o;I=k;k=16;break}case 1:{J=o;N=k;k=17;break}default:{k=18;break b}}while(1)if((k|0)==14){x=e[w>>1]|0;C=(d[289071+(x>>>11)>>0]|0)+h|0;k=(d[289007+(x>>>5&63)>>0]|0)+m|0;x=(d[289071+(x&31)>>0]|0)+l|0;b[w>>1]=(k>>>0<255?k:255)>>>2<<5|(C>>>0<255?C:255)>>>3<<11|(x>>>0<255?x:255)>>>3;x=q;C=w+2|0;k=15;continue}else if((k|0)==15){D=e[C>>1]|0;I=(d[289071+(D>>>11)>>0]|0)+h|0;k=(d[289007+(D>>>5&63)>>0]|0)+m|0;D=(d[289071+(D&31)>>0]|0)+l|0;b[C>>1]=(k>>>0<255?k:255)>>>2<<5|(I>>>0<255?I:255)>>>3<<11|(D>>>0<255?D:255)>>>3;D=x;I=C+2|0;k=16;continue}else if((k|0)==16){J=e[I>>1]|0;N=(d[289071+(J>>>11)>>0]|0)+h|0;k=(d[289007+(J>>>5&63)>>0]|0)+m|0;J=(d[289071+(J&31)>>0]|0)+l|0;b[I>>1]=(k>>>0<255?k:255)>>>2<<5|(N>>>0<255?N:255)>>>3<<11|(J>>>0<255?J:255)>>>3;J=D;N=I+2|0;k=17;continue}else if((k|0)==17){k=e[N>>1]|0;j=(d[289071+(k>>>11)>>0]|0)+h|0;f=(d[289007+(k>>>5&63)>>0]|0)+m|0;k=(d[289071+(k&31)>>0]|0)+l|0;b[N>>1]=(f>>>0<255?f:255)>>>2<<5|(j>>>0<255?j:255)>>>3<<11|(k>>>0<255?k:255)>>>3;k=N+2|0;if((J|0)>1){q=J+-1|0;w=k;k=14;continue}else break}if(!g){k=46;break}else k=k+(p<<1)|0}if((k|0)!=18)if((k|0)==46)return 0;break}case 4:{l=c[f+8>>2]|0;g=c[f+12>>2]|0;k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;p=k-l|0;if(!g)return 0;k=(c[a+20>>2]|0)+((O(c[f+4>>2]|0,k)|0)<<1)|0;o=(l+3|0)/4|0;n=l&255;h=h&255;m=i&255;l=j&255;k=k+(c[f>>2]<<1)|0;c:while(1){g=g+-1|0;switch(n&3){case 0:{t=o;y=k;k=23;break}case 3:{z=o;E=k;k=24;break}case 2:{F=o;K=k;k=25;break}case 1:{L=o;P=k;k=26;break}default:{k=27;break c}}while(1)if((k|0)==23){z=e[y>>1]|0;b[y>>1]=(((O(d[289007+(z>>>5&63)>>0]|0,m)|0)>>>0)/255|0)>>>2<<5|(((O(d[289071+(z>>>11)>>0]|0,h)|0)>>>0)/255|0)>>>3<<11|(((O(d[289071+(z&31)>>0]|0,l)|0)>>>0)/255|0)>>>3;z=t;E=y+2|0;k=24;continue}else if((k|0)==24){F=e[E>>1]|0;b[E>>1]=(((O(d[289007+(F>>>5&63)>>0]|0,m)|0)>>>0)/255|0)>>>2<<5|(((O(d[289071+(F>>>11)>>0]|0,h)|0)>>>0)/255|0)>>>3<<11|(((O(d[289071+(F&31)>>0]|0,l)|0)>>>0)/255|0)>>>3;F=z;K=E+2|0;k=25;continue}else if((k|0)==25){L=e[K>>1]|0;b[K>>1]=(((O(d[289007+(L>>>5&63)>>0]|0,m)|0)>>>0)/255|0)>>>2<<5|(((O(d[289071+(L>>>11)>>0]|0,h)|0)>>>0)/255|0)>>>3<<11|(((O(d[289071+(L&31)>>0]|0,l)|0)>>>0)/255|0)>>>3;L=F;P=K+2|0;k=26;continue}else if((k|0)==26){k=e[P>>1]|0;b[P>>1]=(((O(d[289007+(k>>>5&63)>>0]|0,m)|0)>>>0)/255|0)>>>2<<5|(((O(d[289071+(k>>>11)>>0]|0,h)|0)>>>0)/255|0)>>>3<<11|(((O(d[289071+(k&31)>>0]|0,l)|0)>>>0)/255|0)>>>3;k=P+2|0;if((L|0)>1){t=L+-1|0;y=k;k=23;continue}else break}if(!g){k=46;break}else k=k+(p<<1)|0}if((k|0)!=27)if((k|0)==46)return 0;break}default:{m=c[f+8>>2]|0;P=c[f+12>>2]|0;k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;p=k-m|0;k=(c[a+20>>2]|0)+((O(c[f+4>>2]|0,k)|0)<<1)|0;k=k+(c[f>>2]<<1)|0;l=P+-1|0;if(!P)return 0;g=m+3|0;o=(g|0)/4|0;n=((i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3)&65535;switch(m&3){case 0:{while(1){g=o;while(1){b[k>>1]=n;b[k+2>>1]=n;b[k+4>>1]=n;b[k+6>>1]=n;k=k+8|0;if((g|0)<=1)break;else g=g+-1|0}if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}case 3:{h=(g|0)>7;while(1){b[k>>1]=n;b[k+2>>1]=n;b[k+4>>1]=n;g=k+6|0;if(h){m=o;do{m=m+-1|0;b[g>>1]=n;g=k;k=k+8|0;b[k>>1]=n;b[g+10>>1]=n;b[g+12>>1]=n;g=g+14|0}while((m|0)>1);k=g}else k=g;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}case 2:{h=(g|0)>7;while(1){b[k>>1]=n;b[k+2>>1]=n;g=k+4|0;if(h){m=o;do{m=m+-1|0;b[g>>1]=n;b[k+6>>1]=n;g=k;k=k+8|0;b[k>>1]=n;b[g+10>>1]=n;g=g+12|0}while((m|0)>1);k=g}else k=g;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}default:{h=(g|0)>7;while(1){b[k>>1]=n;g=k+2|0;if(h){m=o;do{m=m+-1|0;b[g>>1]=n;b[k+4>>1]=n;b[k+6>>1]=n;g=k;k=k+8|0;b[k>>1]=n;g=g+10|0}while((m|0)>1);k=g}else k=g;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}}}}return 0}function uJ(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;p=k&255;l=l&255;n=n&255;k=m&255;if((j+-1|0)>>>0<2){A=((O(n,p)|0)>>>0)/255|0;z=((O(n,l)|0)>>>0)/255|0;y=((O(n,k)|0)>>>0)/255|0}else{A=p;z=l;y=k}x=n^255;if((i|0)==(g|0))switch(j|0){case 1:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;n=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=n?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;b[k>>1]=((((O(d[289007+(f>>>5&63)>>0]|0,x)|0)>>>0)/255|0)+z|0)>>>2<<5|((((O(d[289071+(f>>>11)>>0]|0,x)|0)>>>0)/255|0)+A|0)>>>3<<11|((((O(d[289071+(f&31)>>0]|0,x)|0)>>>0)/255|0)+y|0)>>>3;if(!l)break;else k=k+2|0}return}case 2:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;n=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=n?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;g=(d[289071+(f>>>11)>>0]|0)+A|0;o=(d[289007+(f>>>5&63)>>0]|0)+z|0;f=(d[289071+(f&31)>>0]|0)+y|0;b[k>>1]=(o>>>0<255?o:255)>>>2<<5|(g>>>0<255?g:255)>>>3<<11|(f>>>0<255?f:255)>>>3;if(!l)break;else k=k+2|0}return}case 4:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;n=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=n?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;b[k>>1]=(((O(d[289007+(f>>>5&63)>>0]|0,z)|0)>>>0)/255|0)>>>2<<5|(((O(d[289071+(f>>>11)>>0]|0,A)|0)>>>0)/255|0)>>>3<<11|(((O(d[289071+(f&31)>>0]|0,y)|0)>>>0)/255|0)>>>3;if(!l)break;else k=k+2|0}return}default:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;n=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=n?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(n&1)|0;if(!l)return;n=(z>>>2<<5|y>>>3|A>>>3<<11)&65535;while(1){l=l+-1|0;b[k>>1]=n;if(!l)break;else k=k+2|0}return}}if((h|0)==(f|0))switch(j|0){case 1:{p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;n=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(p,i)|0)<<1)+(h<<1)|0;k=n?k:k+(p<<1)|0;l=g-i|0}else{k=k+((O(p,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;b[k>>1]=((((O(d[289007+(f>>>5&63)>>0]|0,x)|0)>>>0)/255|0)+z|0)>>>2<<5|((((O(d[289071+(f>>>11)>>0]|0,x)|0)>>>0)/255|0)+A|0)>>>3<<11|((((O(d[289071+(f&31)>>0]|0,x)|0)>>>0)/255|0)+y|0)>>>3;if(!l)break;else k=k+(p<<1)|0}return}case 2:{p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;n=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(p,i)|0)<<1)+(h<<1)|0;k=n?k:k+(p<<1)|0;l=g-i|0}else{k=k+((O(p,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;g=(d[289071+(f>>>11)>>0]|0)+A|0;o=(d[289007+(f>>>5&63)>>0]|0)+z|0;f=(d[289071+(f&31)>>0]|0)+y|0;b[k>>1]=(o>>>0<255?o:255)>>>2<<5|(g>>>0<255?g:255)>>>3<<11|(f>>>0<255?f:255)>>>3;if(!l)break;else k=k+(p<<1)|0}return}case 4:{p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;n=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(p,i)|0)<<1)+(h<<1)|0;k=n?k:k+(p<<1)|0;l=g-i|0}else{k=k+((O(p,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;b[k>>1]=(((O(d[289007+(f>>>5&63)>>0]|0,z)|0)>>>0)/255|0)>>>2<<5|(((O(d[289071+(f>>>11)>>0]|0,A)|0)>>>0)/255|0)>>>3<<11|(((O(d[289071+(f&31)>>0]|0,y)|0)>>>0)/255|0)>>>3;if(!l)break;else k=k+(p<<1)|0}return}default:{p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;n=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(p,i)|0)<<1)+(h<<1)|0;k=n?k:k+(p<<1)|0;l=g-i|0}else{k=k+((O(p,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(n&1)|0;if(!l)return;n=(z>>>2<<5|y>>>3|A>>>3<<11)&65535;while(1){l=l+-1|0;b[k>>1]=n;if(!l)break;else k=k+(p<<1)|0}return}}w=f-h|0;k=g-i|0;if((((w|0)<0?0-w|0:w)|0)==(((k|0)<0?0-k|0:k)|0))switch(j|0){case 1:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((i|0)<(g|0)){l=l+((O(n,i)|0)<<1)+(h<<1)|0;n=n+((h|0)>(f|0)?-1:1)|0;l=(o|0)==0?l+(n<<1)|0:l}else{l=l+((O(n,g)|0)<<1)+(f<<1)|0;k=i-g|0;n=n+((h|0)<(f|0)?-1:1)|0}k=k+((o|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;f=e[l>>1]|0;b[l>>1]=((((O(d[289007+(f>>>5&63)>>0]|0,x)|0)>>>0)/255|0)+z|0)>>>2<<5|((((O(d[289071+(f>>>11)>>0]|0,x)|0)>>>0)/255|0)+A|0)>>>3<<11|((((O(d[289071+(f&31)>>0]|0,x)|0)>>>0)/255|0)+y|0)>>>3;if(!k)break;else l=l+(n<<1)|0}return}case 2:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((i|0)<(g|0)){l=l+((O(n,i)|0)<<1)+(h<<1)|0;n=n+((h|0)>(f|0)?-1:1)|0;l=(o|0)==0?l+(n<<1)|0:l}else{l=l+((O(n,g)|0)<<1)+(f<<1)|0;k=i-g|0;n=n+((h|0)<(f|0)?-1:1)|0}k=k+((o|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;f=e[l>>1]|0;g=(d[289071+(f>>>11)>>0]|0)+A|0;o=(d[289007+(f>>>5&63)>>0]|0)+z|0;f=(d[289071+(f&31)>>0]|0)+y|0;b[l>>1]=(o>>>0<255?o:255)>>>2<<5|(g>>>0<255?g:255)>>>3<<11|(f>>>0<255?f:255)>>>3;if(!k)break;else l=l+(n<<1)|0}return}case 4:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((i|0)<(g|0)){l=l+((O(n,i)|0)<<1)+(h<<1)|0;n=n+((h|0)>(f|0)?-1:1)|0;l=(o|0)==0?l+(n<<1)|0:l}else{l=l+((O(n,g)|0)<<1)+(f<<1)|0;k=i-g|0;n=n+((h|0)<(f|0)?-1:1)|0}k=k+((o|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;f=e[l>>1]|0;b[l>>1]=(((O(d[289007+(f>>>5&63)>>0]|0,z)|0)>>>0)/255|0)>>>2<<5|(((O(d[289071+(f>>>11)>>0]|0,A)|0)>>>0)/255|0)>>>3<<11|(((O(d[289071+(f&31)>>0]|0,y)|0)>>>0)/255|0)>>>3;if(!k)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;l=c[a+20>>2]|0;if((i|0)<(g|0)){g=l+((O(n,i)|0)<<1)+(h<<1)|0;p=n+((h|0)>(f|0)?-1:1)|0;l=k;k=(o|0)==0?g+(p<<1)|0:g}else{k=l+((O(n,g)|0)<<1)+(f<<1)|0;l=i-g|0;p=n+((h|0)<(f|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;n=(z>>>2<<5|y>>>3|A>>>3<<11)&65535;while(1){l=l+-1|0;b[k>>1]=n;if(!l)break;else k=k+(p<<1)|0}return}}switch(j|0){case 1:{k=h-f|0;k=(k|0)<0?0-k|0:k;l=i-g|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){v=k<<1;m=1;p=0;n=k-l|0;w=v;v=v-l|0;k=l}else{v=l<<1;m=0;p=1;n=l-k|0;w=v;v=v-k|0}u=n<<1;t=(h|0)<(f|0);s=t?0-p|0:p;t=t?-1:1;q=(i|0)<(g|0);r=q?0-m|0:m;q=q?-1:1;i=k+((o|0)!=0&1)|0;if((i|0)<=0)return;h=c[a+20>>2]|0;j=c[a+16>>2]|0;m=g;n=f;p=0;k=v;while(1){l=h+(O(j,m)|0)+(n<<1)|0;f=e[l>>1]|0;b[l>>1]=((((O(d[289007+(f>>>5&63)>>0]|0,x)|0)>>>0)/255|0)+z|0)>>>2<<5|((((O(d[289071+(f>>>11)>>0]|0,x)|0)>>>0)/255|0)+A|0)>>>3<<11|((((O(d[289071+(f&31)>>0]|0,x)|0)>>>0)/255|0)+y|0)>>>3;l=(k|0)<0;p=p+1|0;if((p|0)>=(i|0))break;else{m=m+(l?r:q)|0;n=(l?s:t)+n|0;k=(l?w:u)+k|0}}return}case 2:{k=h-f|0;k=(k|0)<0?0-k|0:k;l=i-g|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){v=k<<1;m=1;p=0;n=k-l|0;w=v;v=v-l|0;k=l}else{v=l<<1;m=0;p=1;n=l-k|0;w=v;v=v-k|0}u=n<<1;t=(h|0)<(f|0);s=t?0-p|0:p;t=t?-1:1;q=(i|0)<(g|0);r=q?0-m|0:m;q=q?-1:1;i=k+((o|0)!=0&1)|0;if((i|0)<=0)return;h=c[a+20>>2]|0;j=c[a+16>>2]|0;m=g;n=f;p=0;k=v;while(1){l=h+(O(j,m)|0)+(n<<1)|0;f=e[l>>1]|0;g=(d[289071+(f>>>11)>>0]|0)+A|0;o=(d[289007+(f>>>5&63)>>0]|0)+z|0;f=(d[289071+(f&31)>>0]|0)+y|0;b[l>>1]=(o>>>0<255?o:255)>>>2<<5|(g>>>0<255?g:255)>>>3<<11|(f>>>0<255?f:255)>>>3;l=(k|0)<0;p=p+1|0;if((p|0)>=(i|0))break;else{m=m+(l?r:q)|0;n=(l?s:t)+n|0;k=(l?w:u)+k|0}}return}case 4:{k=h-f|0;k=(k|0)<0?0-k|0:k;l=i-g|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){v=k<<1;m=1;p=0;n=k-l|0;w=v;v=v-l|0;k=l}else{v=l<<1;m=0;p=1;n=l-k|0;w=v;v=v-k|0}u=n<<1;t=(h|0)<(f|0);s=t?0-p|0:p;t=t?-1:1;q=(i|0)<(g|0);r=q?0-m|0:m;q=q?-1:1;i=k+((o|0)!=0&1)|0;if((i|0)<=0)return;h=c[a+20>>2]|0;j=c[a+16>>2]|0;m=g;n=f;p=0;k=v;while(1){l=h+(O(j,m)|0)+(n<<1)|0;f=e[l>>1]|0;b[l>>1]=(((O(d[289007+(f>>>5&63)>>0]|0,z)|0)>>>0)/255|0)>>>2<<5|(((O(d[289071+(f>>>11)>>0]|0,A)|0)>>>0)/255|0)>>>3<<11|(((O(d[289071+(f&31)>>0]|0,y)|0)>>>0)/255|0)>>>3;l=(k|0)<0;p=p+1|0;if((p|0)>=(i|0))break;else{m=m+(l?r:q)|0;n=(l?s:t)+n|0;k=(l?w:u)+k|0}}return}default:{l=h-f|0;l=(l|0)<0?0-l|0:l;n=i-g|0;n=(n|0)<0?0-n|0:n;if((l|0)<(n|0)){k=l<<1;j=1;m=0;p=l-n|0;w=k;k=k-n|0;l=n}else{k=n<<1;j=0;m=1;p=n-l|0;w=k;k=k-l|0}v=p<<1;u=(h|0)<(f|0);t=u?0-m|0:m;u=u?-1:1;r=(i|0)<(g|0);s=r?0-j|0:j;r=r?-1:1;h=l+((o|0)!=0&1)|0;if((h|0)<=0)return;q=c[a+20>>2]|0;i=c[a+16>>2]|0;j=(z>>>2<<5|y>>>3|A>>>3<<11)&65535;m=g;n=f;p=0;while(1){b[q+(O(i,m)|0)+(n<<1)>>1]=j;l=(k|0)<0;p=p+1|0;if((p|0)>=(h|0))break;else{m=m+(l?s:r)|0;n=(l?t:u)+n|0;k=(l?w:v)+k|0}}return}}}function vJ(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,J=0,K=0,L=0;I=c[a+4>>2]|0;k=k&255;l=l&255;m=m&255;n=n&255;if((j+-1|0)>>>0<2){L=((O(n,k)|0)>>>0)/255|0;K=((O(n,l)|0)>>>0)/255|0;J=((O(n,m)|0)>>>0)/255|0}else{L=k;K=l;J=m}H=n^255;if((i|0)==(g|0))switch(j|0){case 1:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[I+9>>0]|0|0)|0,i)|0)<<1)|0;l=(o|0)!=0;if((h|0)<(f|0)){a=k+(h<<1)|0;a=l?a:a+2|0;k=f-h|0}else{a=k+(f<<1)|0;k=h-f|0}l=k+(l&1)|0;if(!l)return;n=d[I+28>>0]|0;p=c[18232+(n<<2)>>2]|0;i=c[I+12>>2]|0;g=d[I+29>>0]|0;h=c[18232+(g<<2)>>2]|0;q=c[I+16>>2]|0;j=d[I+30>>0]|0;r=c[18232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0]|0;r=c[18232+(j<<2)>>2]|0;s=c[I+20>>2]|0;t=c[I+24>>2]|0;u=d[I+32>>0]|0;v=d[I+33>>0]|0;m=d[I+34>>0]|0;k=a;while(1){l=l+-1|0;I=e[k>>1]|0;b[k>>1]=(((O(d[h+((q&I)>>>v)>>0]|0,K)|0)>>>0)/255|0)>>>g<>>u)>>0]|0,L)|0)>>>0)/255|0)>>>n<>>m)>>0]|0,J)|0)>>>0)/255|0)>>>j<>2]|0)+((O((c[a+16>>2]|0)/(d[I+9>>0]|0|0)|0,i)|0)<<1)|0;m=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=m?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(m&1)|0;if(!l)return;m=(K>>>(d[I+29>>0]|0)<<(d[I+33>>0]|0)|L>>>(d[I+28>>0]|0)<<(d[I+32>>0]|0)|c[I+24>>2]|J>>>(d[I+30>>0]|0)<<(d[I+34>>0]|0))&65535;while(1){l=l+-1|0;b[k>>1]=m;if(!l)break;else k=k+2|0}return}}if((h|0)==(f|0))switch(j|0){case 1:{w=(c[a+16>>2]|0)/(d[I+9>>0]|0|0)|0;k=c[a+20>>2]|0;l=(o|0)!=0;if((i|0)<(g|0)){a=k+((O(w,i)|0)<<1)+(h<<1)|0;a=l?a:a+(w<<1)|0;k=g-i|0}else{a=k+((O(w,g)|0)<<1)+(h<<1)|0;k=i-g|0}l=k+(l&1)|0;if(!l)return;n=d[I+28>>0]|0;p=c[18232+(n<<2)>>2]|0;i=c[I+12>>2]|0;g=d[I+29>>0]|0;h=c[18232+(g<<2)>>2]|0;q=c[I+16>>2]|0;j=d[I+30>>0]|0;r=c[18232+(j<<2)>>2]|0;s=c[I+20>>2]|0;t=c[I+24>>2]|0;u=d[I+32>>0]|0;v=d[I+33>>0]|0;m=d[I+34>>0]|0;k=a;while(1){l=l+-1|0;I=e[k>>1]|0;b[k>>1]=((((O(d[h+((q&I)>>>v)>>0]|0,H)|0)>>>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I=e[k>>1]|0;b[k>>1]=(((O(d[h+((q&I)>>>v)>>0]|0,K)|0)>>>0)/255|0)>>>g<>>u)>>0]|0,L)|0)>>>0)/255|0)>>>n<>>m)>>0]|0,J)|0)>>>0)/255|0)>>>j<>2]|0)/(d[I+9>>0]|0|0)|0;k=c[a+20>>2]|0;m=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(n,i)|0)<<1)+(h<<1)|0;k=m?k:k+(n<<1)|0;l=g-i|0}else{k=k+((O(n,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(m&1)|0;if(!l)return;m=(K>>>(d[I+29>>0]|0)<<(d[I+33>>0]|0)|L>>>(d[I+28>>0]|0)<<(d[I+32>>0]|0)|c[I+24>>2]|J>>>(d[I+30>>0]|0)<<(d[I+34>>0]|0))&65535;while(1){l=l+-1|0;b[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}return}}G=f-h|0;k=g-i|0;if((((G|0)<0?0-G|0:G)|0)==(((k|0)<0?0-k|0:k)|0))switch(j|0){case 1:{m=(c[a+16>>2]|0)/(d[I+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((i|0)<(g|0)){w=l+((O(m,i)|0)<<1)+(h<<1)|0;a=m+((h|0)>(f|0)?-1:1)|0;w=(o|0)==0?w+(a<<1)|0:w}else{w=l+((O(m,g)|0)<<1)+(f<<1)|0;k=i-g|0;a=m+((h|0)<(f|0)?-1:1)|0}k=k+((o|0)!=0&1)|0;if(!k)return;n=d[I+28>>0]|0;p=c[18232+(n<<2)>>2]|0;i=c[I+12>>2]|0;g=d[I+29>>0]|0;h=c[18232+(g<<2)>>2]|0;q=c[I+16>>2]|0;j=d[I+30>>0]|0;r=c[18232+(j<<2)>>2]|0;s=c[I+20>>2]|0;t=c[I+24>>2]|0;u=d[I+32>>0]|0;v=d[I+33>>0]|0;m=d[I+34>>0]|0;l=k;k=w;while(1){l=l+-1|0;I=e[k>>1]|0;b[k>>1]=((((O(d[h+((q&I)>>>v)>>0]|0,H)|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]|0;s=c[I+20>>2]|0;t=c[I+24>>2]|0;u=d[I+32>>0]|0;v=d[I+33>>0]|0;m=d[I+34>>0]|0;l=k;k=w;while(1){l=l+-1|0;I=e[k>>1]|0;b[k>>1]=(((O(d[h+((q&I)>>>v)>>0]|0,K)|0)>>>0)/255|0)>>>g<>>u)>>0]|0,L)|0)>>>0)/255|0)>>>n<>>m)>>0]|0,J)|0)>>>0)/255|0)>>>j<>2]|0)/(d[I+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((i|0)<(g|0)){H=l+((O(m,i)|0)<<1)+(h<<1)|0;n=m+((h|0)>(f|0)?-1:1)|0;l=k;k=(o|0)==0?H+(n<<1)|0:H}else{k=l+((O(m,g)|0)<<1)+(f<<1)|0;l=i-g|0;n=m+((h|0)<(f|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;m=(K>>>(d[I+29>>0]|0)<<(d[I+33>>0]|0)|L>>>(d[I+28>>0]|0)<<(d[I+32>>0]|0)|c[I+24>>2]|J>>>(d[I+30>>0]|0)<<(d[I+34>>0]|0))&65535;while(1){l=l+-1|0;b[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}return}}else switch(j|0){case 1:{k=h-f|0;k=(k|0)<0?0-k|0:k;l=i-g|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){F=k<<1;j=1;n=0;m=k-l|0;G=F;F=F-l|0;k=l}else{F=l<<1;j=0;n=1;m=l-k|0;G=F;F=F-k|0}E=m<<1;D=(h|0)<(f|0);C=D?0-n|0:n;D=D?-1:1;A=(i|0)<(g|0);B=A?0-j|0:j;A=A?-1:1;y=k+((o|0)!=0&1)|0;if((y|0)<=0)return;z=c[a+20>>2]|0;q=c[a+16>>2]|0;p=d[I+28>>0]|0;r=c[18232+(p<<2)>>2]|0;s=c[I+12>>2]|0;i=d[I+29>>0]|0;t=c[18232+(i<<2)>>2]|0;u=c[I+16>>2]|0;h=d[I+30>>0]|0;v=c[18232+(h<<2)>>2]|0;a=c[I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>(d[I+28>>0]|0)<<(d[I+32>>0]|0)|c[I+24>>2]|J>>>(d[I+30>>0]|0)<<(d[I+34>>0]|0))&65535;m=f;n=0;while(1){b[h+(O(p,g)|0)+(m<<1)>>1]=j;l=(k|0)<0;n=n+1|0;if((n|0)>=(i|0))break;else{g=g+(l?r:q)|0;m=(l?s:t)+m|0;k=(l?v:u)+k|0}}return}}}function wJ(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;p=k&255;l=l&255;n=n&255;k=m&255;if((j+-1|0)>>>0<2){A=((O(n,p)|0)>>>0)/255|0;z=((O(n,l)|0)>>>0)/255|0;y=((O(n,k)|0)>>>0)/255|0}else{A=p;z=l;y=k}x=n^255;if((i|0)==(g|0))switch(j|0){case 1:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;n=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=n?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;b[k>>1]=((((O(d[289071+(f>>>5&31)>>0]|0,x)|0)>>>0)/255|0)+z|0)>>>3<<5|((((O(d[289071+(f>>>10&31)>>0]|0,x)|0)>>>0)/255|0)+A|0)>>>3<<10|((((O(d[289071+(f&31)>>0]|0,x)|0)>>>0)/255|0)+y|0)>>>3;if(!l)break;else k=k+2|0}return}case 2:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;n=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=n?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;g=(d[289071+(f>>>10&31)>>0]|0)+A|0;o=(d[289071+(f>>>5&31)>>0]|0)+z|0;f=(d[289071+(f&31)>>0]|0)+y|0;b[k>>1]=(o>>>0<255?o:255)>>>3<<5|(g>>>0<255?g:255)>>>3<<10|(f>>>0<255?f:255)>>>3;if(!l)break;else k=k+2|0}return}case 4:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;n=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=n?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;b[k>>1]=(((O(d[289071+(f>>>5&31)>>0]|0,z)|0)>>>0)/255|0)>>>3<<5|(((O(d[289071+(f>>>10&31)>>0]|0,A)|0)>>>0)/255|0)>>>3<<10|(((O(d[289071+(f&31)>>0]|0,y)|0)>>>0)/255|0)>>>3;if(!l)break;else k=k+2|0}return}default:{k=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;n=(o|0)!=0;if((h|0)<(f|0)){k=k+(h<<1)|0;k=n?k:k+2|0;l=f-h|0}else{k=k+(f<<1)|0;l=h-f|0}l=l+(n&1)|0;if(!l)return;n=(z>>>3<<5|y>>>3|A>>>3<<10)&65535;while(1){l=l+-1|0;b[k>>1]=n;if(!l)break;else k=k+2|0}return}}if((h|0)==(f|0))switch(j|0){case 1:{p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;n=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(p,i)|0)<<1)+(h<<1)|0;k=n?k:k+(p<<1)|0;l=g-i|0}else{k=k+((O(p,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;b[k>>1]=((((O(d[289071+(f>>>5&31)>>0]|0,x)|0)>>>0)/255|0)+z|0)>>>3<<5|((((O(d[289071+(f>>>10&31)>>0]|0,x)|0)>>>0)/255|0)+A|0)>>>3<<10|((((O(d[289071+(f&31)>>0]|0,x)|0)>>>0)/255|0)+y|0)>>>3;if(!l)break;else k=k+(p<<1)|0}return}case 2:{p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;n=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(p,i)|0)<<1)+(h<<1)|0;k=n?k:k+(p<<1)|0;l=g-i|0}else{k=k+((O(p,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;g=(d[289071+(f>>>10&31)>>0]|0)+A|0;o=(d[289071+(f>>>5&31)>>0]|0)+z|0;f=(d[289071+(f&31)>>0]|0)+y|0;b[k>>1]=(o>>>0<255?o:255)>>>3<<5|(g>>>0<255?g:255)>>>3<<10|(f>>>0<255?f:255)>>>3;if(!l)break;else k=k+(p<<1)|0}return}case 4:{p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;n=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(p,i)|0)<<1)+(h<<1)|0;k=n?k:k+(p<<1)|0;l=g-i|0}else{k=k+((O(p,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(n&1)|0;if(!l)return;while(1){l=l+-1|0;f=e[k>>1]|0;b[k>>1]=(((O(d[289071+(f>>>5&31)>>0]|0,z)|0)>>>0)/255|0)>>>3<<5|(((O(d[289071+(f>>>10&31)>>0]|0,A)|0)>>>0)/255|0)>>>3<<10|(((O(d[289071+(f&31)>>0]|0,y)|0)>>>0)/255|0)>>>3;if(!l)break;else k=k+(p<<1)|0}return}default:{p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;n=(o|0)!=0;if((i|0)<(g|0)){k=k+((O(p,i)|0)<<1)+(h<<1)|0;k=n?k:k+(p<<1)|0;l=g-i|0}else{k=k+((O(p,g)|0)<<1)+(h<<1)|0;l=i-g|0}l=l+(n&1)|0;if(!l)return;n=(z>>>3<<5|y>>>3|A>>>3<<10)&65535;while(1){l=l+-1|0;b[k>>1]=n;if(!l)break;else k=k+(p<<1)|0}return}}w=f-h|0;k=g-i|0;if((((w|0)<0?0-w|0:w)|0)==(((k|0)<0?0-k|0:k)|0))switch(j|0){case 1:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((i|0)<(g|0)){l=l+((O(n,i)|0)<<1)+(h<<1)|0;n=n+((h|0)>(f|0)?-1:1)|0;l=(o|0)==0?l+(n<<1)|0:l}else{l=l+((O(n,g)|0)<<1)+(f<<1)|0;k=i-g|0;n=n+((h|0)<(f|0)?-1:1)|0}k=k+((o|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;f=e[l>>1]|0;b[l>>1]=((((O(d[289071+(f>>>5&31)>>0]|0,x)|0)>>>0)/255|0)+z|0)>>>3<<5|((((O(d[289071+(f>>>10&31)>>0]|0,x)|0)>>>0)/255|0)+A|0)>>>3<<10|((((O(d[289071+(f&31)>>0]|0,x)|0)>>>0)/255|0)+y|0)>>>3;if(!k)break;else l=l+(n<<1)|0}return}case 2:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((i|0)<(g|0)){l=l+((O(n,i)|0)<<1)+(h<<1)|0;n=n+((h|0)>(f|0)?-1:1)|0;l=(o|0)==0?l+(n<<1)|0:l}else{l=l+((O(n,g)|0)<<1)+(f<<1)|0;k=i-g|0;n=n+((h|0)<(f|0)?-1:1)|0}k=k+((o|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;f=e[l>>1]|0;g=(d[289071+(f>>>10&31)>>0]|0)+A|0;o=(d[289071+(f>>>5&31)>>0]|0)+z|0;f=(d[289071+(f&31)>>0]|0)+y|0;b[l>>1]=(o>>>0<255?o:255)>>>3<<5|(g>>>0<255?g:255)>>>3<<10|(f>>>0<255?f:255)>>>3;if(!k)break;else l=l+(n<<1)|0}return}case 4:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((i|0)<(g|0)){l=l+((O(n,i)|0)<<1)+(h<<1)|0;n=n+((h|0)>(f|0)?-1:1)|0;l=(o|0)==0?l+(n<<1)|0:l}else{l=l+((O(n,g)|0)<<1)+(f<<1)|0;k=i-g|0;n=n+((h|0)<(f|0)?-1:1)|0}k=k+((o|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;f=e[l>>1]|0;b[l>>1]=(((O(d[289071+(f>>>5&31)>>0]|0,z)|0)>>>0)/255|0)>>>3<<5|(((O(d[289071+(f>>>10&31)>>0]|0,A)|0)>>>0)/255|0)>>>3<<10|(((O(d[289071+(f&31)>>0]|0,y)|0)>>>0)/255|0)>>>3;if(!k)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;l=c[a+20>>2]|0;if((i|0)<(g|0)){g=l+((O(n,i)|0)<<1)+(h<<1)|0;p=n+((h|0)>(f|0)?-1:1)|0;l=k;k=(o|0)==0?g+(p<<1)|0:g}else{k=l+((O(n,g)|0)<<1)+(f<<1)|0;l=i-g|0;p=n+((h|0)<(f|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;n=(z>>>3<<5|y>>>3|A>>>3<<10)&65535;while(1){l=l+-1|0;b[k>>1]=n;if(!l)break;else k=k+(p<<1)|0}return}}switch(j|0){case 1:{k=h-f|0;k=(k|0)<0?0-k|0:k;l=i-g|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){v=k<<1;m=1;p=0;n=k-l|0;w=v;v=v-l|0;k=l}else{v=l<<1;m=0;p=1;n=l-k|0;w=v;v=v-k|0}u=n<<1;t=(h|0)<(f|0);s=t?0-p|0:p;t=t?-1:1;q=(i|0)<(g|0);r=q?0-m|0:m;q=q?-1:1;i=k+((o|0)!=0&1)|0;if((i|0)<=0)return;h=c[a+20>>2]|0;j=c[a+16>>2]|0;m=g;n=f;p=0;k=v;while(1){l=h+(O(j,m)|0)+(n<<1)|0;f=e[l>>1]|0;b[l>>1]=((((O(d[289071+(f>>>5&31)>>0]|0,x)|0)>>>0)/255|0)+z|0)>>>3<<5|((((O(d[289071+(f>>>10&31)>>0]|0,x)|0)>>>0)/255|0)+A|0)>>>3<<10|((((O(d[289071+(f&31)>>0]|0,x)|0)>>>0)/255|0)+y|0)>>>3;l=(k|0)<0;p=p+1|0;if((p|0)>=(i|0))break;else{m=m+(l?r:q)|0;n=(l?s:t)+n|0;k=(l?w:u)+k|0}}return}case 2:{k=h-f|0;k=(k|0)<0?0-k|0:k;l=i-g|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){v=k<<1;m=1;p=0;n=k-l|0;w=v;v=v-l|0;k=l}else{v=l<<1;m=0;p=1;n=l-k|0;w=v;v=v-k|0}u=n<<1;t=(h|0)<(f|0);s=t?0-p|0:p;t=t?-1:1;q=(i|0)<(g|0);r=q?0-m|0:m;q=q?-1:1;i=k+((o|0)!=0&1)|0;if((i|0)<=0)return;h=c[a+20>>2]|0;j=c[a+16>>2]|0;m=g;n=f;p=0;k=v;while(1){l=h+(O(j,m)|0)+(n<<1)|0;f=e[l>>1]|0;g=(d[289071+(f>>>10&31)>>0]|0)+A|0;o=(d[289071+(f>>>5&31)>>0]|0)+z|0;f=(d[289071+(f&31)>>0]|0)+y|0;b[l>>1]=(o>>>0<255?o:255)>>>3<<5|(g>>>0<255?g:255)>>>3<<10|(f>>>0<255?f:255)>>>3;l=(k|0)<0;p=p+1|0;if((p|0)>=(i|0))break;else{m=m+(l?r:q)|0;n=(l?s:t)+n|0;k=(l?w:u)+k|0}}return}case 4:{k=h-f|0;k=(k|0)<0?0-k|0:k;l=i-g|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){v=k<<1;m=1;p=0;n=k-l|0;w=v;v=v-l|0;k=l}else{v=l<<1;m=0;p=1;n=l-k|0;w=v;v=v-k|0}u=n<<1;t=(h|0)<(f|0);s=t?0-p|0:p;t=t?-1:1;q=(i|0)<(g|0);r=q?0-m|0:m;q=q?-1:1;i=k+((o|0)!=0&1)|0;if((i|0)<=0)return;h=c[a+20>>2]|0;j=c[a+16>>2]|0;m=g;n=f;p=0;k=v;while(1){l=h+(O(j,m)|0)+(n<<1)|0;f=e[l>>1]|0;b[l>>1]=(((O(d[289071+(f>>>5&31)>>0]|0,z)|0)>>>0)/255|0)>>>3<<5|(((O(d[289071+(f>>>10&31)>>0]|0,A)|0)>>>0)/255|0)>>>3<<10|(((O(d[289071+(f&31)>>0]|0,y)|0)>>>0)/255|0)>>>3;l=(k|0)<0;p=p+1|0;if((p|0)>=(i|0))break;else{m=m+(l?r:q)|0;n=(l?s:t)+n|0;k=(l?w:u)+k|0}}return}default:{l=h-f|0;l=(l|0)<0?0-l|0:l;n=i-g|0;n=(n|0)<0?0-n|0:n;if((l|0)<(n|0)){k=l<<1;j=1;m=0;p=l-n|0;w=k;k=k-n|0;l=n}else{k=n<<1;j=0;m=1;p=n-l|0;w=k;k=k-l|0}v=p<<1;u=(h|0)<(f|0);t=u?0-m|0:m;u=u?-1:1;r=(i|0)<(g|0);s=r?0-j|0:j;r=r?-1:1;h=l+((o|0)!=0&1)|0;if((h|0)<=0)return;q=c[a+20>>2]|0;i=c[a+16>>2]|0;j=(z>>>3<<5|y>>>3|A>>>3<<10)&65535;m=g;n=f;p=0;while(1){b[q+(O(i,m)|0)+(n<<1)>>1]=j;l=(k|0)<0;p=p+1|0;if((p|0)>=(h|0))break;else{m=m+(l?s:r)|0;n=(l?t:u)+n|0;k=(l?w:v)+k|0}}return}}}function xJ(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;n=i&255;j=j&255;w=l&255;i=k&255;if((h+-1|0)>>>0<2){z=((O(w,n)|0)>>>0)/255|0;y=((O(w,j)|0)>>>0)/255|0;x=((O(w,i)|0)>>>0)/255|0}else{z=n;y=j;x=i}v=w^255;if((g|0)==(e|0))switch(h|0){case 1:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;l=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=l?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;b=c[i>>2]|0;c[i>>2]=(((O(b>>>24,v)|0)>>>0)/255|0)+w<<24|(((O(b&255,v)|0)>>>0)/255|0)+x|(((O(b>>>16&255,v)|0)>>>0)/255|0)+z<<16|(((O(b>>>8&255,v)|0)>>>0)/255|0)+y<<8;if(!j)break;else i=i+4|0}return}case 2:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;l=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=l?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;m=c[i>>2]|0;e=(m>>>16&255)+z|0;b=(m>>>8&255)+y|0;w=(m&255)+x|0;c[i>>2]=(w>>>0<255?w:255)|m&-16777216|(e>>>0<255?e:255)<<16|(b>>>0<255?b:255)<<8;if(!j)break;else i=i+4|0}return}case 4:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;l=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=l?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;b=c[i>>2]|0;c[i>>2]=((O(b&255,x)|0)>>>0)/255|0|b&-16777216|(((O(b>>>16&255,z)|0)>>>0)/255|0)<<16|(((O(b>>>8&255,y)|0)>>>0)/255|0)<<8;if(!j)break;else i=i+4|0}return}default:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;l=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=l?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(l&1)|0;if(!j)return;l=x|w<<24|y<<8|z<<16;while(1){j=j+-1|0;c[i>>2]=l;if(!j)break;else i=i+4|0}return}}if((f|0)==(b|0))switch(h|0){case 1:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;i=c[a+20>>2]|0;l=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(n,g)|0)<<2)+(f<<2)|0;i=l?i:i+(n<<2)|0;j=e-g|0}else{i=i+((O(n,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;b=c[i>>2]|0;c[i>>2]=(((O(b>>>24,v)|0)>>>0)/255|0)+w<<24|(((O(b&255,v)|0)>>>0)/255|0)+x|(((O(b>>>16&255,v)|0)>>>0)/255|0)+z<<16|(((O(b>>>8&255,v)|0)>>>0)/255|0)+y<<8;if(!j)break;else i=i+(n<<2)|0}return}case 2:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;i=c[a+20>>2]|0;l=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(n,g)|0)<<2)+(f<<2)|0;i=l?i:i+(n<<2)|0;j=e-g|0}else{i=i+((O(n,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;m=c[i>>2]|0;e=(m>>>16&255)+z|0;b=(m>>>8&255)+y|0;w=(m&255)+x|0;c[i>>2]=(w>>>0<255?w:255)|m&-16777216|(e>>>0<255?e:255)<<16|(b>>>0<255?b:255)<<8;if(!j)break;else i=i+(n<<2)|0}return}case 4:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;i=c[a+20>>2]|0;l=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(n,g)|0)<<2)+(f<<2)|0;i=l?i:i+(n<<2)|0;j=e-g|0}else{i=i+((O(n,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;b=c[i>>2]|0;c[i>>2]=((O(b&255,x)|0)>>>0)/255|0|b&-16777216|(((O(b>>>16&255,z)|0)>>>0)/255|0)<<16|(((O(b>>>8&255,y)|0)>>>0)/255|0)<<8;if(!j)break;else i=i+(n<<2)|0}return}default:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;i=c[a+20>>2]|0;l=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(n,g)|0)<<2)+(f<<2)|0;i=l?i:i+(n<<2)|0;j=e-g|0}else{i=i+((O(n,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(l&1)|0;if(!j)return;l=x|w<<24|y<<8|z<<16;while(1){j=j+-1|0;c[i>>2]=l;if(!j)break;else i=i+(n<<2)|0}return}}u=b-f|0;i=e-g|0;if((((u|0)<0?0-u|0:u)|0)==(((i|0)<0?0-i|0:i)|0))switch(h|0){case 1:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){j=j+((O(l,g)|0)<<2)+(f<<2)|0;l=l+((f|0)>(b|0)?-1:1)|0;j=(m|0)==0?j+(l<<2)|0:j}else{j=j+((O(l,e)|0)<<2)+(b<<2)|0;i=g-e|0;l=l+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;b=c[j>>2]|0;c[j>>2]=(((O(b>>>24,v)|0)>>>0)/255|0)+w<<24|(((O(b&255,v)|0)>>>0)/255|0)+x|(((O(b>>>16&255,v)|0)>>>0)/255|0)+z<<16|(((O(b>>>8&255,v)|0)>>>0)/255|0)+y<<8;if(!i)break;else j=j+(l<<2)|0}return}case 2:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){j=j+((O(l,g)|0)<<2)+(f<<2)|0;l=l+((f|0)>(b|0)?-1:1)|0;j=(m|0)==0?j+(l<<2)|0:j}else{j=j+((O(l,e)|0)<<2)+(b<<2)|0;i=g-e|0;l=l+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;m=c[j>>2]|0;e=(m>>>16&255)+z|0;b=(m>>>8&255)+y|0;w=(m&255)+x|0;c[j>>2]=(w>>>0<255?w:255)|m&-16777216|(e>>>0<255?e:255)<<16|(b>>>0<255?b:255)<<8;if(!i)break;else j=j+(l<<2)|0}return}case 4:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){j=j+((O(l,g)|0)<<2)+(f<<2)|0;l=l+((f|0)>(b|0)?-1:1)|0;j=(m|0)==0?j+(l<<2)|0:j}else{j=j+((O(l,e)|0)<<2)+(b<<2)|0;i=g-e|0;l=l+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;b=c[j>>2]|0;c[j>>2]=((O(b&255,x)|0)>>>0)/255|0|b&-16777216|(((O(b>>>16&255,z)|0)>>>0)/255|0)<<16|(((O(b>>>8&255,y)|0)>>>0)/255|0)<<8;if(!i)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;j=c[a+20>>2]|0;if((g|0)<(e|0)){e=j+((O(l,g)|0)<<2)+(f<<2)|0;n=l+((f|0)>(b|0)?-1:1)|0;j=i;i=(m|0)==0?e+(n<<2)|0:e}else{i=j+((O(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;l=x|w<<24|y<<8|z<<16;while(1){j=j+-1|0;c[i>>2]=l;if(!j)break;else i=i+(n<<2)|0}return}}switch(h|0){case 1:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){t=i<<1;k=1;n=0;l=i-j|0;u=t;t=t-j|0;i=j}else{t=j<<1;k=0;n=1;l=j-i|0;u=t;t=t-i|0}s=l<<1;r=(f|0)<(b|0);q=r?0-n|0:n;r=r?-1:1;o=(g|0)<(e|0);p=o?0-k|0:k;o=o?-1:1;g=i+((m|0)!=0&1)|0;if((g|0)<=0)return;f=c[a+20>>2]|0;h=a+16|0;k=e;l=b;n=0;i=t;while(1){j=f+(O(c[h>>2]|0,k)|0)+(l<<2)|0;b=c[j>>2]|0;c[j>>2]=(((O(b>>>24,v)|0)>>>0)/255|0)+w<<24|(((O(b&255,v)|0)>>>0)/255|0)+x|(((O(b>>>16&255,v)|0)>>>0)/255|0)+z<<16|(((O(b>>>8&255,v)|0)>>>0)/255|0)+y<<8;j=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{k=k+(j?p:o)|0;l=(j?q:r)+l|0;i=(j?u:s)+i|0}}return}case 2:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){t=i<<1;k=1;n=0;l=i-j|0;u=t;t=t-j|0;i=j}else{t=j<<1;k=0;n=1;l=j-i|0;u=t;t=t-i|0}s=l<<1;r=(f|0)<(b|0);q=r?0-n|0:n;r=r?-1:1;o=(g|0)<(e|0);p=o?0-k|0:k;o=o?-1:1;g=i+((m|0)!=0&1)|0;if((g|0)<=0)return;f=c[a+20>>2]|0;h=a+16|0;k=e;l=b;n=0;i=t;while(1){j=f+(O(c[h>>2]|0,k)|0)+(l<<2)|0;m=c[j>>2]|0;e=(m>>>16&255)+z|0;b=(m>>>8&255)+y|0;w=(m&255)+x|0;c[j>>2]=(w>>>0<255?w:255)|m&-16777216|(e>>>0<255?e:255)<<16|(b>>>0<255?b:255)<<8;j=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{k=k+(j?p:o)|0;l=(j?q:r)+l|0;i=(j?u:s)+i|0}}return}case 4:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){t=i<<1;k=1;n=0;l=i-j|0;u=t;t=t-j|0;i=j}else{t=j<<1;k=0;n=1;l=j-i|0;u=t;t=t-i|0}s=l<<1;r=(f|0)<(b|0);q=r?0-n|0:n;r=r?-1:1;o=(g|0)<(e|0);p=o?0-k|0:k;o=o?-1:1;g=i+((m|0)!=0&1)|0;if((g|0)<=0)return;f=c[a+20>>2]|0;h=a+16|0;k=e;l=b;n=0;i=t;while(1){j=f+(O(c[h>>2]|0,k)|0)+(l<<2)|0;b=c[j>>2]|0;c[j>>2]=((O(b&255,x)|0)>>>0)/255|0|b&-16777216|(((O(b>>>16&255,z)|0)>>>0)/255|0)<<16|(((O(b>>>8&255,y)|0)>>>0)/255|0)<<8;j=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{k=k+(j?p:o)|0;l=(j?q:r)+l|0;i=(j?u:s)+i|0}}return}default:{j=f-b|0;j=(j|0)<0?0-j|0:j;l=g-e|0;l=(l|0)<0?0-l|0:l;if((j|0)<(l|0)){i=j<<1;h=1;k=0;n=j-l|0;u=i;i=i-l|0;j=l}else{i=l<<1;h=0;k=1;n=l-j|0;u=i;i=i-j|0}t=n<<1;s=(f|0)<(b|0);r=s?0-k|0:k;s=s?-1:1;p=(g|0)<(e|0);q=p?0-h|0:h;p=p?-1:1;f=j+((m|0)!=0&1)|0;if((f|0)<=0)return;o=c[a+20>>2]|0;g=a+16|0;h=x|w<<24|y<<8|z<<16;k=e;l=b;n=0;while(1){c[o+(O(c[g>>2]|0,k)|0)+(l<<2)>>2]=h;j=(i|0)<0;n=n+1|0;if((n|0)>=(f|0))break;else{k=k+(j?q:p)|0;l=(j?r:s)+l|0;i=(j?u:t)+i|0}}return}}}function yJ(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;n=i&255;j=j&255;l=l&255;i=k&255;if((h+-1|0)>>>0<2){y=((O(l,n)|0)>>>0)/255|0;x=((O(l,j)|0)>>>0)/255|0;w=((O(l,i)|0)>>>0)/255|0}else{y=n;x=j;w=i}v=l^255;if((g|0)==(e|0))switch(h|0){case 1:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;l=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=l?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;b=c[i>>2]|0;c[i>>2]=(((O(b>>>8&255,v)|0)>>>0)/255|0)+x<<8|(((O(b&255,v)|0)>>>0)/255|0)+w|(((O(b>>>16&255,v)|0)>>>0)/255|0)+y<<16;if(!j)break;else i=i+4|0}return}case 2:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;l=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=l?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;e=c[i>>2]|0;b=(e>>>16&255)+y|0;m=(e>>>8&255)+x|0;e=(e&255)+w|0;c[i>>2]=(m>>>0<255?m:255)<<8|(e>>>0<255?e:255)|(b>>>0<255?b:255)<<16;if(!j)break;else i=i+4|0}return}case 4:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;l=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=l?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;b=c[i>>2]|0;c[i>>2]=(((O(b>>>8&255,x)|0)>>>0)/255|0)<<8|(((O(b&255,w)|0)>>>0)/255|0)|(((O(b>>>16&255,y)|0)>>>0)/255|0)<<16;if(!j)break;else i=i+4|0}return}default:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;l=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=l?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(l&1)|0;if(!j)return;l=x<<8|w|y<<16;while(1){j=j+-1|0;c[i>>2]=l;if(!j)break;else i=i+4|0}return}}if((f|0)==(b|0))switch(h|0){case 1:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;i=c[a+20>>2]|0;l=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(n,g)|0)<<2)+(f<<2)|0;i=l?i:i+(n<<2)|0;j=e-g|0}else{i=i+((O(n,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;b=c[i>>2]|0;c[i>>2]=(((O(b>>>8&255,v)|0)>>>0)/255|0)+x<<8|(((O(b&255,v)|0)>>>0)/255|0)+w|(((O(b>>>16&255,v)|0)>>>0)/255|0)+y<<16;if(!j)break;else i=i+(n<<2)|0}return}case 2:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;i=c[a+20>>2]|0;l=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(n,g)|0)<<2)+(f<<2)|0;i=l?i:i+(n<<2)|0;j=e-g|0}else{i=i+((O(n,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;e=c[i>>2]|0;b=(e>>>16&255)+y|0;m=(e>>>8&255)+x|0;e=(e&255)+w|0;c[i>>2]=(m>>>0<255?m:255)<<8|(e>>>0<255?e:255)|(b>>>0<255?b:255)<<16;if(!j)break;else i=i+(n<<2)|0}return}case 4:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;i=c[a+20>>2]|0;l=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(n,g)|0)<<2)+(f<<2)|0;i=l?i:i+(n<<2)|0;j=e-g|0}else{i=i+((O(n,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(l&1)|0;if(!j)return;while(1){j=j+-1|0;b=c[i>>2]|0;c[i>>2]=(((O(b>>>8&255,x)|0)>>>0)/255|0)<<8|(((O(b&255,w)|0)>>>0)/255|0)|(((O(b>>>16&255,y)|0)>>>0)/255|0)<<16;if(!j)break;else i=i+(n<<2)|0}return}default:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;i=c[a+20>>2]|0;l=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(n,g)|0)<<2)+(f<<2)|0;i=l?i:i+(n<<2)|0;j=e-g|0}else{i=i+((O(n,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(l&1)|0;if(!j)return;l=x<<8|w|y<<16;while(1){j=j+-1|0;c[i>>2]=l;if(!j)break;else i=i+(n<<2)|0}return}}u=b-f|0;i=e-g|0;if((((u|0)<0?0-u|0:u)|0)==(((i|0)<0?0-i|0:i)|0))switch(h|0){case 1:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){j=j+((O(l,g)|0)<<2)+(f<<2)|0;l=l+((f|0)>(b|0)?-1:1)|0;j=(m|0)==0?j+(l<<2)|0:j}else{j=j+((O(l,e)|0)<<2)+(b<<2)|0;i=g-e|0;l=l+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;b=c[j>>2]|0;c[j>>2]=(((O(b>>>8&255,v)|0)>>>0)/255|0)+x<<8|(((O(b&255,v)|0)>>>0)/255|0)+w|(((O(b>>>16&255,v)|0)>>>0)/255|0)+y<<16;if(!i)break;else j=j+(l<<2)|0}return}case 2:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){j=j+((O(l,g)|0)<<2)+(f<<2)|0;l=l+((f|0)>(b|0)?-1:1)|0;j=(m|0)==0?j+(l<<2)|0:j}else{j=j+((O(l,e)|0)<<2)+(b<<2)|0;i=g-e|0;l=l+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;e=c[j>>2]|0;b=(e>>>16&255)+y|0;m=(e>>>8&255)+x|0;e=(e&255)+w|0;c[j>>2]=(m>>>0<255?m:255)<<8|(e>>>0<255?e:255)|(b>>>0<255?b:255)<<16;if(!i)break;else j=j+(l<<2)|0}return}case 4:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){j=j+((O(l,g)|0)<<2)+(f<<2)|0;l=l+((f|0)>(b|0)?-1:1)|0;j=(m|0)==0?j+(l<<2)|0:j}else{j=j+((O(l,e)|0)<<2)+(b<<2)|0;i=g-e|0;l=l+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;b=c[j>>2]|0;c[j>>2]=(((O(b>>>8&255,x)|0)>>>0)/255|0)<<8|(((O(b&255,w)|0)>>>0)/255|0)|(((O(b>>>16&255,y)|0)>>>0)/255|0)<<16;if(!i)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;j=c[a+20>>2]|0;if((g|0)<(e|0)){e=j+((O(l,g)|0)<<2)+(f<<2)|0;n=l+((f|0)>(b|0)?-1:1)|0;j=i;i=(m|0)==0?e+(n<<2)|0:e}else{i=j+((O(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;l=x<<8|w|y<<16;while(1){j=j+-1|0;c[i>>2]=l;if(!j)break;else i=i+(n<<2)|0}return}}switch(h|0){case 1:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){t=i<<1;k=1;n=0;l=i-j|0;u=t;t=t-j|0;i=j}else{t=j<<1;k=0;n=1;l=j-i|0;u=t;t=t-i|0}s=l<<1;r=(f|0)<(b|0);q=r?0-n|0:n;r=r?-1:1;o=(g|0)<(e|0);p=o?0-k|0:k;o=o?-1:1;g=i+((m|0)!=0&1)|0;if((g|0)<=0)return;f=c[a+20>>2]|0;h=a+16|0;k=e;l=b;n=0;i=t;while(1){j=f+(O(c[h>>2]|0,k)|0)+(l<<2)|0;b=c[j>>2]|0;c[j>>2]=(((O(b>>>8&255,v)|0)>>>0)/255|0)+x<<8|(((O(b&255,v)|0)>>>0)/255|0)+w|(((O(b>>>16&255,v)|0)>>>0)/255|0)+y<<16;j=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{k=k+(j?p:o)|0;l=(j?q:r)+l|0;i=(j?u:s)+i|0}}return}case 2:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){t=i<<1;k=1;n=0;l=i-j|0;u=t;t=t-j|0;i=j}else{t=j<<1;k=0;n=1;l=j-i|0;u=t;t=t-i|0}s=l<<1;r=(f|0)<(b|0);q=r?0-n|0:n;r=r?-1:1;o=(g|0)<(e|0);p=o?0-k|0:k;o=o?-1:1;g=i+((m|0)!=0&1)|0;if((g|0)<=0)return;f=c[a+20>>2]|0;h=a+16|0;k=e;l=b;n=0;i=t;while(1){j=f+(O(c[h>>2]|0,k)|0)+(l<<2)|0;e=c[j>>2]|0;b=(e>>>16&255)+y|0;m=(e>>>8&255)+x|0;e=(e&255)+w|0;c[j>>2]=(m>>>0<255?m:255)<<8|(e>>>0<255?e:255)|(b>>>0<255?b:255)<<16;j=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{k=k+(j?p:o)|0;l=(j?q:r)+l|0;i=(j?u:s)+i|0}}return}case 4:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){t=i<<1;k=1;n=0;l=i-j|0;u=t;t=t-j|0;i=j}else{t=j<<1;k=0;n=1;l=j-i|0;u=t;t=t-i|0}s=l<<1;r=(f|0)<(b|0);q=r?0-n|0:n;r=r?-1:1;o=(g|0)<(e|0);p=o?0-k|0:k;o=o?-1:1;g=i+((m|0)!=0&1)|0;if((g|0)<=0)return;f=c[a+20>>2]|0;h=a+16|0;k=e;l=b;n=0;i=t;while(1){j=f+(O(c[h>>2]|0,k)|0)+(l<<2)|0;b=c[j>>2]|0;c[j>>2]=(((O(b>>>8&255,x)|0)>>>0)/255|0)<<8|(((O(b&255,w)|0)>>>0)/255|0)|(((O(b>>>16&255,y)|0)>>>0)/255|0)<<16;j=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{k=k+(j?p:o)|0;l=(j?q:r)+l|0;i=(j?u:s)+i|0}}return}default:{j=f-b|0;j=(j|0)<0?0-j|0:j;l=g-e|0;l=(l|0)<0?0-l|0:l;if((j|0)<(l|0)){i=j<<1;h=1;k=0;n=j-l|0;u=i;i=i-l|0;j=l}else{i=l<<1;h=0;k=1;n=l-j|0;u=i;i=i-j|0}t=n<<1;s=(f|0)<(b|0);r=s?0-k|0:k;s=s?-1:1;p=(g|0)<(e|0);q=p?0-h|0:h;p=p?-1:1;f=j+((m|0)!=0&1)|0;if((f|0)<=0)return;o=c[a+20>>2]|0;g=a+16|0;h=x<<8|w|y<<16;k=e;l=b;n=0;while(1){c[o+(O(c[g>>2]|0,k)|0)+(l<<2)>>2]=h;j=(i|0)<0;n=n+1|0;if((n|0)>=(f|0))break;else{k=k+(j?q:p)|0;l=(j?r:s)+l|0;i=(j?u:t)+i|0}}return}}}function zJ(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,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;K=c[a+4>>2]|0;i=i&255;j=j&255;k=k&255;J=l&255;if((h+-1|0)>>>0<2){N=((O(J,i)|0)>>>0)/255|0;M=((O(J,j)|0)>>>0)/255|0;L=((O(J,k)|0)>>>0)/255|0}else{N=i;M=j;L=k}I=J^255;if((g|0)==(e|0))switch(h|0){case 1:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[K+9>>0]|0|0)|0,g)|0)<<2)|0;j=(m|0)!=0;if((f|0)<(b|0)){v=i+(f<<2)|0;v=j?v:v+4|0;i=b-f|0}else{v=i+(b<<2)|0;i=f-b|0}j=i+(j&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=d[K+28>>0]|0;g=c[18232+(l<<2)>>2]|0;e=d[K+29>>0]|0;f=c[18232+(e<<2)>>2]|0;h=d[K+30>>0]|0;o=c[18232+(h<<2)>>2]|0;n=d[K+31>>0]|0;p=c[18232+(n<<2)>>2]|0;a=d[K+32>>0]|0;m=d[K+33>>0]|0;u=d[K+34>>0]|0;k=d[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=c[i>>2]|0;c[i>>2]=((((O(d[f+((c[r>>2]&K)>>>m)>>0]|0,I)|0)>>>0)/255|0)+M|0)>>>e<>2]&K)>>>a)>>0]|0,I)|0)>>>0)/255|0)+N|0)>>>l<>2]&K)>>>u)>>0]|0,I)|0)>>>0)/255|0)+L|0)>>>h<>2]&K)>>>k)>>0]|0,I)|0)>>>0)/255|0)+J|0)>>>n<>2]|0)+((O((c[a+16>>2]|0)/(d[K+9>>0]|0|0)|0,g)|0)<<2)|0;j=(m|0)!=0;if((f|0)<(b|0)){v=i+(f<<2)|0;v=j?v:v+4|0;i=b-f|0}else{v=i+(b<<2)|0;i=f-b|0}j=i+(j&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=d[K+28>>0]|0;g=c[18232+(l<<2)>>2]|0;e=d[K+29>>0]|0;f=c[18232+(e<<2)>>2]|0;h=d[K+30>>0]|0;o=c[18232+(h<<2)>>2]|0;n=d[K+31>>0]|0;p=c[18232+(n<<2)>>2]|0;a=d[K+32>>0]|0;m=d[K+33>>0]|0;u=d[K+34>>0]|0;k=d[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=c[i>>2]|0;J=(d[g+((c[q>>2]&K)>>>a)>>0]|0)+N|0;I=(d[f+((c[r>>2]&K)>>>m)>>0]|0)+M|0;b=(d[o+((c[s>>2]&K)>>>u)>>0]|0)+L|0;c[i>>2]=(I>>>0<255?I:255)>>>e<>>0<255?J:255)>>>l<>>0<255?b:255)>>>h<>2]&K)>>>k)>>0]|0)>>>n<>2]|0)+((O((c[a+16>>2]|0)/(d[K+9>>0]|0|0)|0,g)|0)<<2)|0;j=(m|0)!=0;if((f|0)<(b|0)){v=i+(f<<2)|0;v=j?v:v+4|0;i=b-f|0}else{v=i+(b<<2)|0;i=f-b|0}j=i+(j&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=d[K+28>>0]|0;g=c[18232+(l<<2)>>2]|0;e=d[K+29>>0]|0;f=c[18232+(e<<2)>>2]|0;h=d[K+30>>0]|0;o=c[18232+(h<<2)>>2]|0;n=d[K+31>>0]|0;p=c[18232+(n<<2)>>2]|0;a=d[K+32>>0]|0;m=d[K+33>>0]|0;u=d[K+34>>0]|0;k=d[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=c[i>>2]|0;c[i>>2]=(((O(d[f+((c[r>>2]&K)>>>m)>>0]|0,M)|0)>>>0)/255|0)>>>e<>2]&K)>>>a)>>0]|0,N)|0)>>>0)/255|0)>>>l<>2]&K)>>>u)>>0]|0,L)|0)>>>0)/255|0)>>>h<>2]&K)>>>k)>>0]|0)>>>n<>2]|0)+((O((c[a+16>>2]|0)/(d[K+9>>0]|0|0)|0,g)|0)<<2)|0;k=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=k?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(k&1)|0;if(!j)return;k=M>>>(d[K+29>>0]|0)<<(d[K+33>>0]|0)|N>>>(d[K+28>>0]|0)<<(d[K+32>>0]|0)|L>>>(d[K+30>>0]|0)<<(d[K+34>>0]|0)|J>>>(d[K+31>>0]|0)<<(d[K+35>>0]|0);while(1){j=j+-1|0;c[i>>2]=k;if(!j)break;else i=i+4|0}return}}if((f|0)==(b|0))switch(h|0){case 1:{w=(c[a+16>>2]|0)/(d[K+9>>0]|0|0)|0;i=c[a+20>>2]|0;j=(m|0)!=0;if((g|0)<(e|0)){v=i+((O(w,g)|0)<<2)+(f<<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i>>2]=k;if(!j)break;else i=i+(l<<2)|0}return}}H=b-f|0;i=e-g|0;if((((H|0)<0?0-H|0:H)|0)==(((i|0)<0?0-i|0:i)|0))switch(h|0){case 1:{k=(c[a+16>>2]|0)/(d[K+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){w=j+((O(k,g)|0)<<2)+(f<<2)|0;v=k+((f|0)>(b|0)?-1:1)|0;w=(m|0)==0?w+(v<<2)|0:w}else{w=j+((O(k,e)|0)<<2)+(b<<2)|0;i=g-e|0;v=k+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=d[K+28>>0]|0;g=c[18232+(l<<2)>>2]|0;e=d[K+29>>0]|0;f=c[18232+(e<<2)>>2]|0;h=d[K+30>>0]|0;o=c[18232+(h<<2)>>2]|0;n=d[K+31>>0]|0;p=c[18232+(n<<2)>>2]|0;a=d[K+32>>0]|0;m=d[K+33>>0]|0;u=d[K+34>>0]|0;k=d[K+35>>0]|0;j=i;i=w;while(1){j=j+-1|0;K=c[i>>2]|0;c[i>>2]=((((O(d[f+((c[r>>2]&K)>>>m)>>0]|0,I)|0)>>>0)/255|0)+M|0)>>>e<>2]&K)>>>a)>>0]|0,I)|0)>>>0)/255|0)+N|0)>>>l<>2]&K)>>>u)>>0]|0,I)|0)>>>0)/255|0)+L|0)>>>h<>2]&K)>>>k)>>0]|0,I)|0)>>>0)/255|0)+J|0)>>>n<>2]|0)/(d[K+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){w=j+((O(k,g)|0)<<2)+(f<<2)|0;v=k+((f|0)>(b|0)?-1:1)|0;w=(m|0)==0?w+(v<<2)|0:w}else{w=j+((O(k,e)|0)<<2)+(b<<2)|0;i=g-e|0;v=k+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=d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>0]|0)>>>n<>2]|0)/(d[K+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){I=j+((O(k,g)|0)<<2)+(f<<2)|0;l=k+((f|0)>(b|0)?-1:1)|0;j=i;i=(m|0)==0?I+(l<<2)|0:I}else{i=j+((O(k,e)|0)<<2)+(b<<2)|0;j=g-e|0;l=k+((f|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;k=M>>>(d[K+29>>0]|0)<<(d[K+33>>0]|0)|N>>>(d[K+28>>0]|0)<<(d[K+32>>0]|0)|L>>>(d[K+30>>0]|0)<<(d[K+34>>0]|0)|J>>>(d[K+31>>0]|0)<<(d[K+35>>0]|0);while(1){j=j+-1|0;c[i>>2]=k;if(!j)break;else i=i+(l<<2)|0}return}}else switch(h|0){case 1:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){G=i<<1;h=1;l=0;k=i-j|0;H=G;G=G-j|0;i=j}else{G=j<<1;h=0;l=1;k=j-i|0;H=G;G=G-i|0}F=k<<1;E=(f|0)<(b|0);D=E?0-l|0:l;E=E?-1:1;B=(g|0)<(e|0);C=B?0-h|0:h;B=B?-1:1;v=i+((m|0)!=0&1)|0;if((v|0)<=0)return;w=a+16|0;x=K+12|0;y=K+16|0;z=K+20|0;A=K+24|0;p=c[a+20>>2]|0;n=d[K+28>>0]|0;q=c[18232+(n<<2)>>2]|0;g=d[K+29>>0]|0;r=c[18232+(g<<2)>>2]|0;f=d[K+30>>0]|0;s=c[18232+(f<<2)>>2]|0;o=d[K+31>>0]|0;t=c[18232+(o<<2)>>2]|0;a=d[K+32>>0]|0;m=d[K+33>>0]|0;u=d[K+34>>0]|0;h=d[K+35>>0]|0;k=b;l=0;i=G;while(1){j=p+(O(c[w>>2]|0,e)|0)+(k<<2)|0;K=c[j>>2]|0;c[j>>2]=((((O(d[r+((c[y>>2]&K)>>>m)>>0]|0,I)|0)>>>0)/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>0]|0)<<(d[K+33>>0]|0)|N>>>(d[K+28>>0]|0)<<(d[K+32>>0]|0)|L>>>(d[K+30>>0]|0)<<(d[K+34>>0]|0)|J>>>(d[K+31>>0]|0)<<(d[K+35>>0]|0);k=b;l=0;while(1){c[f+(O(c[n>>2]|0,e)|0)+(k<<2)>>2]=h;j=(i|0)<0;l=l+1|0;if((l|0)>=(g|0))break;else{e=e+(j?p:o)|0;k=(j?q:r)+k|0;i=(j?t:s)+i|0}}return}}}function AJ(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,E=0,F=0,G=0,H=0,I=0,J=0,K=0;H=c[a+4>>2]|0;i=i&255;j=j&255;k=k&255;l=l&255;if((h+-1|0)>>>0<2){J=((O(l,i)|0)>>>0)/255|0;I=((O(l,j)|0)>>>0)/255|0;K=((O(l,k)|0)>>>0)/255|0}else{J=i;I=j;K=k}G=l^255;if((g|0)==(e|0))switch(h|0){case 1:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0,g)|0)<<2)|0;j=(m|0)!=0;if((f|0)<(b|0)){t=i+(f<<2)|0;t=j?t:t+4|0;i=b-f|0}else{t=i+(b<<2)|0;i=f-b|0}j=i+(j&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=c[i>>2]|0;b=((((O(d[g+((c[o>>2]&H)>>>s)>>0]|0,G)|0)>>>0)/255|0)+I|0)>>>e<>2]&H)>>>r)>>0]|0,G)|0)>>>0)/255|0)+J|0)>>>l<>2]&H)>>>k)>>0]|0,G)|0)>>>0)/255|0)+K|0)>>>h<>2]=b|c[q>>2]|H;if(!j)break;else i=i+4|0}return}case 2:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0,g)|0)<<2)|0;j=(m|0)!=0;if((f|0)<(b|0)){t=i+(f<<2)|0;t=j?t:t+4|0;i=b-f|0}else{t=i+(b<<2)|0;i=f-b|0}j=i+(j&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=c[i>>2]|0;b=(d[n+((c[m>>2]&H)>>>r)>>0]|0)+J|0;G=(d[g+((c[o>>2]&H)>>>s)>>0]|0)+I|0;H=(d[f+((c[p>>2]&H)>>>k)>>0]|0)+K|0;c[i>>2]=(G>>>0<255?G:255)>>>e<>>0<255?b:255)>>>l<>2]|(H>>>0<255?H:255)>>>h<>2]|0)+((O((c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0,g)|0)<<2)|0;j=(m|0)!=0;if((f|0)<(b|0)){t=i+(f<<2)|0;t=j?t:t+4|0;i=b-f|0}else{t=i+(b<<2)|0;i=f-b|0}j=i+(j&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=c[i>>2]|0;b=(((O(d[g+((c[o>>2]&H)>>>s)>>0]|0,I)|0)>>>0)/255|0)>>>e<>2]&H)>>>r)>>0]|0,J)|0)>>>0)/255|0)>>>l<>2]&H)>>>k)>>0]|0,K)|0)>>>0)/255|0)>>>h<>2]=b|c[q>>2]|H;if(!j)break;else i=i+4|0}return}default:{i=(c[a+20>>2]|0)+((O((c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0,g)|0)<<2)|0;k=(m|0)!=0;if((f|0)<(b|0)){i=i+(f<<2)|0;i=k?i:i+4|0;j=b-f|0}else{i=i+(b<<2)|0;j=f-b|0}j=j+(k&1)|0;if(!j)return;e=I>>>(d[H+29>>0]|0)<<(d[H+33>>0]|0)|J>>>(d[H+28>>0]|0)<<(d[H+32>>0]|0);l=K>>>(d[H+30>>0]|0)<<(d[H+34>>0]|0);k=H+24|0;while(1){j=j+-1|0;c[i>>2]=e|c[k>>2]|l;if(!j)break;else i=i+4|0}return}}if((f|0)==(b|0))switch(h|0){case 1:{u=(c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0;i=c[a+20>>2]|0;j=(m|0)!=0;if((g|0)<(e|0)){t=i+((O(u,g)|0)<<2)+(f<<2)|0;t=j?t:t+(u<<2)|0;i=e-g|0}else{t=i+((O(u,e)|0)<<2)+(f<<2)|0;i=g-e|0}j=i+(j&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=c[i>>2]|0;b=((((O(d[g+((c[o>>2]&H)>>>s)>>0]|0,G)|0)>>>0)/255|0)+I|0)>>>e<>2]&H)>>>r)>>0]|0,G)|0)>>>0)/255|0)+J|0)>>>l<>2]&H)>>>k)>>0]|0,G)|0)>>>0)/255|0)+K|0)>>>h<>2]=b|c[q>>2]|H;if(!j)break;else i=i+(u<<2)|0}return}case 2:{u=(c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0;i=c[a+20>>2]|0;j=(m|0)!=0;if((g|0)<(e|0)){t=i+((O(u,g)|0)<<2)+(f<<2)|0;t=j?t:t+(u<<2)|0;i=e-g|0}else{t=i+((O(u,e)|0)<<2)+(f<<2)|0;i=g-e|0}j=i+(j&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=c[i>>2]|0;b=(d[n+((c[m>>2]&H)>>>r)>>0]|0)+J|0;G=(d[g+((c[o>>2]&H)>>>s)>>0]|0)+I|0;H=(d[f+((c[p>>2]&H)>>>k)>>0]|0)+K|0;c[i>>2]=(G>>>0<255?G:255)>>>e<>>0<255?b:255)>>>l<>2]|(H>>>0<255?H:255)>>>h<>2]|0)/(d[H+9>>0]|0|0)|0;i=c[a+20>>2]|0;j=(m|0)!=0;if((g|0)<(e|0)){t=i+((O(u,g)|0)<<2)+(f<<2)|0;t=j?t:t+(u<<2)|0;i=e-g|0}else{t=i+((O(u,e)|0)<<2)+(f<<2)|0;i=g-e|0}j=i+(j&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=c[i>>2]|0;b=(((O(d[g+((c[o>>2]&H)>>>s)>>0]|0,I)|0)>>>0)/255|0)>>>e<>2]&H)>>>r)>>0]|0,J)|0)>>>0)/255|0)>>>l<>2]&H)>>>k)>>0]|0,K)|0)>>>0)/255|0)>>>h<>2]=b|c[q>>2]|H;if(!j)break;else i=i+(u<<2)|0}return}default:{h=(c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0;i=c[a+20>>2]|0;k=(m|0)!=0;if((g|0)<(e|0)){i=i+((O(h,g)|0)<<2)+(f<<2)|0;i=k?i:i+(h<<2)|0;j=e-g|0}else{i=i+((O(h,e)|0)<<2)+(f<<2)|0;j=g-e|0}j=j+(k&1)|0;if(!j)return;e=I>>>(d[H+29>>0]|0)<<(d[H+33>>0]|0)|J>>>(d[H+28>>0]|0)<<(d[H+32>>0]|0);l=K>>>(d[H+30>>0]|0)<<(d[H+34>>0]|0);k=H+24|0;while(1){j=j+-1|0;c[i>>2]=e|c[k>>2]|l;if(!j)break;else i=i+(h<<2)|0}return}}F=b-f|0;i=e-g|0;if((((F|0)<0?0-F|0:F)|0)==(((i|0)<0?0-i|0:i)|0))switch(h|0){case 1:{k=(c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){u=j+((O(k,g)|0)<<2)+(f<<2)|0;t=k+((f|0)>(b|0)?-1:1)|0;u=(m|0)==0?u+(t<<2)|0:u}else{u=j+((O(k,e)|0)<<2)+(b<<2)|0;i=g-e|0;t=k+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;j=i;i=u;while(1){j=j+-1|0;H=c[i>>2]|0;b=((((O(d[g+((c[o>>2]&H)>>>s)>>0]|0,G)|0)>>>0)/255|0)+I|0)>>>e<>2]&H)>>>r)>>0]|0,G)|0)>>>0)/255|0)+J|0)>>>l<>2]&H)>>>k)>>0]|0,G)|0)>>>0)/255|0)+K|0)>>>h<>2]=b|c[q>>2]|H;if(!j)break;else i=i+(t<<2)|0}return}case 2:{k=(c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){u=j+((O(k,g)|0)<<2)+(f<<2)|0;t=k+((f|0)>(b|0)?-1:1)|0;u=(m|0)==0?u+(t<<2)|0:u}else{u=j+((O(k,e)|0)<<2)+(b<<2)|0;i=g-e|0;t=k+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;j=i;i=u;while(1){j=j+-1|0;H=c[i>>2]|0;b=(d[n+((c[m>>2]&H)>>>r)>>0]|0)+J|0;G=(d[g+((c[o>>2]&H)>>>s)>>0]|0)+I|0;H=(d[f+((c[p>>2]&H)>>>k)>>0]|0)+K|0;c[i>>2]=(G>>>0<255?G:255)>>>e<>>0<255?b:255)>>>l<>2]|(H>>>0<255?H:255)>>>h<>2]|0)/(d[H+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){u=j+((O(k,g)|0)<<2)+(f<<2)|0;t=k+((f|0)>(b|0)?-1:1)|0;u=(m|0)==0?u+(t<<2)|0:u}else{u=j+((O(k,e)|0)<<2)+(b<<2)|0;i=g-e|0;t=k+((f|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=d[H+28>>0]|0;n=c[18232+(l<<2)>>2]|0;e=d[H+29>>0]|0;g=c[18232+(e<<2)>>2]|0;h=d[H+30>>0]|0;f=c[18232+(h<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;k=d[H+34>>0]|0;j=i;i=u;while(1){j=j+-1|0;H=c[i>>2]|0;b=(((O(d[g+((c[o>>2]&H)>>>s)>>0]|0,I)|0)>>>0)/255|0)>>>e<>2]&H)>>>r)>>0]|0,J)|0)>>>0)/255|0)>>>l<>2]&H)>>>k)>>0]|0,K)|0)>>>0)/255|0)>>>h<>2]=b|c[q>>2]|H;if(!j)break;else i=i+(t<<2)|0}return}default:{k=(c[a+16>>2]|0)/(d[H+9>>0]|0|0)|0;j=c[a+20>>2]|0;if((g|0)<(e|0)){G=j+((O(k,g)|0)<<2)+(f<<2)|0;h=k+((f|0)>(b|0)?-1:1)|0;j=i;i=(m|0)==0?G+(h<<2)|0:G}else{i=j+((O(k,e)|0)<<2)+(b<<2)|0;j=g-e|0;h=k+((f|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;e=I>>>(d[H+29>>0]|0)<<(d[H+33>>0]|0)|J>>>(d[H+28>>0]|0)<<(d[H+32>>0]|0);l=K>>>(d[H+30>>0]|0)<<(d[H+34>>0]|0);k=H+24|0;while(1){j=j+-1|0;c[i>>2]=e|c[k>>2]|l;if(!j)break;else i=i+(h<<2)|0}return}}else switch(h|0){case 1:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){E=i<<1;h=1;l=0;k=i-j|0;F=E;E=E-j|0;i=j}else{E=j<<1;h=0;l=1;k=j-i|0;F=E;E=E-i|0}D=k<<1;C=(f|0)<(b|0);B=C?0-l|0:l;C=C?-1:1;z=(g|0)<(e|0);A=z?0-h|0:h;z=z?-1:1;t=i+((m|0)!=0&1)|0;if((t|0)<=0)return;u=a+16|0;v=H+12|0;w=H+16|0;x=H+20|0;y=H+24|0;m=c[a+20>>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I|0;H=(d[q+((c[x>>2]&H)>>>h)>>0]|0)+K|0;c[j>>2]=(G>>>0<255?G:255)>>>g<>>0<255?b:255)>>>n<>2]|(H>>>0<255?H:255)>>>f<=(t|0))break;else{e=e+(j?A:z)|0;k=(j?B:C)+k|0;i=(j?F:D)+i|0}}return}case 4:{i=f-b|0;i=(i|0)<0?0-i|0:i;j=g-e|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){E=i<<1;h=1;l=0;k=i-j|0;F=E;E=E-j|0;i=j}else{E=j<<1;h=0;l=1;k=j-i|0;F=E;E=E-i|0}D=k<<1;C=(f|0)<(b|0);B=C?0-l|0:l;C=C?-1:1;z=(g|0)<(e|0);A=z?0-h|0:h;z=z?-1:1;t=i+((m|0)!=0&1)|0;if((t|0)<=0)return;u=a+16|0;v=H+12|0;w=H+16|0;x=H+20|0;y=H+24|0;m=c[a+20>>2]|0;n=d[H+28>>0]|0;o=c[18232+(n<<2)>>2]|0;g=d[H+29>>0]|0;p=c[18232+(g<<2)>>2]|0;f=d[H+30>>0]|0;q=c[18232+(f<<2)>>2]|0;r=d[H+32>>0]|0;s=d[H+33>>0]|0;h=d[H+34>>0]|0;k=b;l=0;i=E;while(1){j=m+(O(c[u>>2]|0,e)|0)+(k<<2)|0;H=c[j>>2]|0;b=(((O(d[p+((c[w>>2]&H)>>>s)>>0]|0,I)|0)>>>0)/255|0)>>>g<>2]&H)>>>r)>>0]|0,J)|0)>>>0)/255|0)>>>n<>2]&H)>>>h)>>0]|0,K)|0)>>>0)/255|0)>>>f<>2]=b|c[y>>2]|H;j=(i|0)<0;l=l+1|0;if((l|0)>=(t|0))break;else{e=e+(j?A:z)|0;k=(j?B:C)+k|0;i=(j?F:D)+i|0}}return}default:{j=f-b|0;j=(j|0)<0?0-j|0:j;k=g-e|0;k=(k|0)<0?0-k|0:k;if((j|0)<(k|0)){i=j<<1;n=1;h=0;l=j-k|0;u=i;i=i-k|0;j=k}else{i=k<<1;n=0;h=1;l=k-j|0;u=i;i=i-j|0}t=l<<1;s=(f|0)<(b|0);r=s?0-h|0:h;s=s?-1:1;p=(g|0)<(e|0);q=p?0-n|0:n;p=p?-1:1;m=j+((m|0)!=0&1)|0;if((m|0)<=0)return;o=c[a+20>>2]|0;f=a+16|0;g=I>>>(d[H+29>>0]|0)<<(d[H+33>>0]|0)|J>>>(d[H+28>>0]|0)<<(d[H+32>>0]|0);n=K>>>(d[H+30>>0]|0)<<(d[H+34>>0]|0);h=H+24|0;k=b;l=0;while(1){j=o+(O(c[f>>2]|0,e)|0)+(k<<2)|0;c[j>>2]=g|c[h>>2]|n;j=(i|0)<0;l=l+1|0;if((l|0)>=(m|0))break;else{e=e+(j?q:p)|0;k=(j?r:s)+k|0;i=(j?u:t)+i|0}}return}}}function BJ(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,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=l;l=l+48|0;i=B+32|0;k=B+24|0;j=B+16|0;h=B+8|0;g=B;if(!a){c[g>>2]=295792;_D(309840,g);f=0;l=B;return f|0}if(!b){c[h>>2]=295797;_D(309840,h);f=0;l=B;return f|0}if(!d){c[j>>2]=295800;_D(309840,j);f=0;l=B;return f|0}if(!e){c[k>>2]=295803;_D(309840,k);f=0;l=B;return f|0}if(!f){c[i>>2]=295806;_D(309840,i);f=0;l=B;return f|0}j=c[a+8>>2]|0;if((j|0)<1){f=0;l=B;return f|0}k=c[a+12>>2]|0;if((k|0)<1){f=0;l=B;return f|0}t=c[b>>2]|0;g=c[d>>2]|0;h=c[e>>2]|0;i=c[f>>2]|0;z=c[a>>2]|0;y=c[a+4>>2]|0;w=j+z|0;x=w+-1|0;u=k+y|0;v=u+-1|0;p=(t|0)<(z|0);n=(t|0)>=(w|0);o=p|n;q=(h|0)<(z|0);r=(h|0)<(w|0);j=r^1;a=(g|0)<(y|0);k=(g|0)>=(u|0);s=(i|0)<(y|0);m=(i|0)<(u|0);if(m&((s|(k|(a|(q|o|j))))^1)){f=1;l=B;return f|0}if(p&q){f=0;l=B;return f|0}if(!((m|k^1)&((a&s|n&j)^1))){f=0;l=B;return f|0}if((g|0)==(i|0)){if(o)c[b>>2]=p?z:x;if(!(q|j)){f=1;l=B;return f|0}c[e>>2]=q?z:x;f=1;l=B;return f|0}if((t|0)==(h|0)){if(a|k)c[d>>2]=a?y:v;if(!(s|m^1)){f=1;l=B;return f|0}c[f>>2]=s?y:v;f=1;l=B;return f|0}j=a?2:k&1;if(p)k=j|4;else k=(w|0)>(t|0)?j:j|8;a=s?2:(u|0)<=(i|0)&1;a=q?a|4:r?a:a|8;a:do if(!(a|k))j=t;else{n=0;o=0;j=t;while(1){r=x-j|0;s=z-j|0;p=v-g|0;q=y-g|0;if(!k){m=o;k=h;break}if(a&k|0){g=0;A=57;break}do if(!(k&2)){if(k&1|0){m=((O(h-j|0,p)|0)/(i-g|0)|0)+j|0;g=v;break}if(k&4|0){m=z;g=((O(s,i-g|0)|0)/(h-j|0)|0)+g|0;break}if(!(k&8)){m=n;g=o;break}m=x;g=((O(r,i-g|0)|0)/(h-j|0)|0)+g|0}else{m=((O(h-j|0,q)|0)/(i-g|0)|0)+j|0;g=y}while(0);j=(y|0)>(g|0)?2:(u|0)<=(g|0)&1;if((z|0)>(m|0))k=j|4;else k=(w|0)>(m|0)?j:j|8;if(!(a|k)){j=m;break a}else{n=m;o=g;j=m}}if((A|0)==57){l=B;return g|0}while(1){do if(!(a&2)){if(a&1|0){h=((O(k-j|0,p)|0)/(i-g|0)|0)+j|0;i=v;break}if(a&4|0){h=z;i=((O(s,i-g|0)|0)/(k-j|0)|0)+g|0;break}if(!(a&8)){h=n;i=m;break}h=x;i=((O(r,i-g|0)|0)/(k-j|0)|0)+g|0}else{h=((O(k-j|0,q)|0)/(i-g|0)|0)+j|0;i=y}while(0);a=(y|0)>(i|0)?2:(u|0)<=(i|0)&1;if((z|0)>(h|0)){n=h;m=i;k=h;a=a|4;continue}if((w|0)<=(h|0)){n=h;m=i;k=h;a=a|8;continue}if(!a)break;else{n=h;m=i;k=h}}}while(0);c[b>>2]=j;c[d>>2]=g;c[e>>2]=h;c[f>>2]=i;f=1;l=B;return f|0}function CJ(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;l=~l&255;switch(h|0){case 1:{g=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,g)|0)+(f<<1)|0;h=e[g>>1]|0;f=(((O(d[289071+(h&31)>>0]|0,l)|0)>>>0)/255|0)+(k&255)|0;a=(((O(d[289071+(h>>>5&31)>>0]|0,l)|0)>>>0)/255|0)+(j&255)|0;l=(((O(d[289071+(h>>>10&31)>>0]|0,l)|0)>>>0)/255|0)+(i&255)|0;break}case 2:{g=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=e[g>>1]|0;l=(d[289071+(f>>>10&31)>>0]|0)+(i&255)|0;a=(d[289071+(f>>>5&31)>>0]|0)+(j&255)|0;f=(d[289071+(f&31)>>0]|0)+(k&255)|0;f=f>>>0<255?f:255;a=a>>>0<255?a:255;l=l>>>0<255?l:255;break}case 4:{g=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,g)|0)+(f<<1)|0;l=e[g>>1]|0;f=((O(d[289071+(l&31)>>0]|0,k&255)|0)>>>0)/255|0;a=((O(d[289071+(l>>>5&31)>>0]|0,j&255)|0)>>>0)/255|0;l=((O(d[289071+(l>>>10&31)>>0]|0,i&255)|0)>>>0)/255|0;break}default:{g=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=k&255;a=j&255;l=i&255}}b[g>>1]=a>>>3<<5|l>>>3<<10|f>>>3;return 0}function DJ(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;l=~l&255;switch(h|0){case 1:{g=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,g)|0)+(f<<1)|0;h=e[g>>1]|0;f=(((O(d[289071+(h&31)>>0]|0,l)|0)>>>0)/255|0)+(k&255)|0;a=(((O(d[289007+(h>>>5&63)>>0]|0,l)|0)>>>0)/255|0)+(j&255)|0;l=(((O(d[289071+(h>>>11)>>0]|0,l)|0)>>>0)/255|0)+(i&255)|0;break}case 2:{g=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=e[g>>1]|0;l=(d[289071+(f>>>11)>>0]|0)+(i&255)|0;a=(d[289007+(f>>>5&63)>>0]|0)+(j&255)|0;f=(d[289071+(f&31)>>0]|0)+(k&255)|0;f=f>>>0<255?f:255;a=a>>>0<255?a:255;l=l>>>0<255?l:255;break}case 4:{g=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,g)|0)+(f<<1)|0;l=e[g>>1]|0;f=((O(d[289071+(l&31)>>0]|0,k&255)|0)>>>0)/255|0;a=((O(d[289007+(l>>>5&63)>>0]|0,j&255)|0)>>>0)/255|0;l=((O(d[289071+(l>>>11)>>0]|0,i&255)|0)>>>0)/255|0;break}default:{g=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=k&255;a=j&255;l=i&255}}b[g>>1]=a>>>2<<5|l>>>3<<11|f>>>3;return 0}function EJ(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;i=~i&255;switch(e|0){case 1:{e=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[e>>2]|0;h=(((O(b&255,i)|0)>>>0)/255|0)+(h&255)|0;d=(((O(b>>>8&255,i)|0)>>>0)/255|0)+(g&255)|0;g=(((O(b>>>16&255,i)|0)>>>0)/255|0)+(f&255)|0;g=g<<16;f=d<<8;g=f|g;h=g|h;c[e>>2]=h;return 0}case 2:{d=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[d>>2]|0;f=(b>>>16&255)+(f&255)|0;e=(b>>>8&255)+(g&255)|0;g=(b&255)+(h&255)|0;h=d;g=g>>>0<255?g:255;e=e>>>0<255?e:255;f=f>>>0<255?f:255;f=f<<16;e=e<<8;f=e|f;g=f|g;c[h>>2]=g;return 0}case 4:{e=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[e>>2]|0;h=((O(b&255,h&255)|0)>>>0)/255|0;d=((O(b>>>8&255,g&255)|0)>>>0)/255|0;g=((O(b>>>16&255,f&255)|0)>>>0)/255|0;g=g<<16;f=d<<8;g=f|g;h=g|h;c[e>>2]=h;return 0}default:{e=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,d)|0)+(b<<2)|0;h=h&255;d=g&255;g=f&255;g=g<<16;f=d<<8;g=f|g;h=g|h;c[e>>2]=h;return 0}}return 0}function FJ(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;i=i&255;k=i^255;switch(e|0){case 1:{a=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,d)|0)+(b<<2)|0;d=c[a>>2]|0;j=(((O(d>>>16&255,k)|0)>>>0)/255|0)+(f&255)|0;f=(((O(d&255,k)|0)>>>0)/255|0)+(h&255)|0;e=(((O(d>>>8&255,k)|0)>>>0)/255|0)+(g&255)|0;i=(((O(d>>>24,k)|0)>>>0)/255|0)+i<<24;break}case 2:{a=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,d)|0)+(b<<2)|0;i=c[a>>2]|0;j=(i>>>16&255)+(f&255)|0;e=(i>>>8&255)+(g&255)|0;f=(i&255)+(h&255)|0;j=j>>>0<255?j:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;i=i&-16777216;break}case 4:{a=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,d)|0)+(b<<2)|0;i=c[a>>2]|0;j=((O(i>>>16&255,f&255)|0)>>>0)/255|0;f=((O(i&255,h&255)|0)>>>0)/255|0;e=((O(i>>>8&255,g&255)|0)>>>0)/255|0;i=i&-16777216;break}default:{j=f&255;a=(c[a+20>>2]|0)+(O(c[a+16>>2]|0,d)|0)+(b<<2)|0;f=h&255;e=g&255;i=i<<24}}c[a>>2]=i|j<<16|e<<8|f;return 0}function GJ(f,g,h,i,j,k,m,n){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0;q=l;l=l+16|0;o=q;p=c[f+4>>2]|0;n=~n&255;switch(a[p+9>>0]|0){case 2:{switch(i|0){case 1:{g=(c[f+20>>2]|0)+(O(c[f+16>>2]|0,h)|0)+(g<<1)|0;r=d[p+28>>0]|0;h=e[g>>1]|0;f=d[p+32>>0]|0;t=d[p+29>>0]|0;s=d[p+33>>0]|0;i=d[p+30>>0]|0;o=d[p+34>>0]|0;f=((((O(d[(c[18232+(t<<2)>>2]|0)+((c[p+16>>2]&h)>>>s)>>0]|0,n)|0)>>>0)/255|0)+(k&255)|0)>>>t<>2]|0)+((h&c[p+12>>2])>>>f)>>0]|0,n)|0)>>>0)/255|0)+(j&255)|0)>>>r<>2]|0)+((c[p+20>>2]&h)>>>o)>>0]|0,n)|0)>>>0)/255|0)+(m&255)|0)>>>i<>2]|0)+(O(c[f+16>>2]|0,h)|0)+(g<<1)|0;r=d[p+28>>0]|0;s=e[g>>1]|0;f=d[p+32>>0]|0;i=d[p+29>>0]|0;o=d[p+33>>0]|0;t=d[p+30>>0]|0;n=d[p+34>>0]|0;j=(d[(c[18232+(r<<2)>>2]|0)+((s&c[p+12>>2])>>>f)>>0]|0)+(j&255)|0;k=(d[(c[18232+(i<<2)>>2]|0)+((c[p+16>>2]&s)>>>o)>>0]|0)+(k&255)|0;s=(d[(c[18232+(t<<2)>>2]|0)+((c[p+20>>2]&s)>>>n)>>0]|0)+(m&255)|0;f=(k>>>0<255?k:255)>>>i<>>0<255?j:255)>>>r<>>0<255?s:255)>>>t<>2]|0)+(O(c[f+16>>2]|0,h)|0)+(g<<1)|0;r=d[p+28>>0]|0;s=e[g>>1]|0;f=d[p+32>>0]|0;i=d[p+29>>0]|0;o=d[p+33>>0]|0;t=d[p+30>>0]|0;n=d[p+34>>0]|0;f=(((O(d[(c[18232+(i<<2)>>2]|0)+((c[p+16>>2]&s)>>>o)>>0]|0,k&255)|0)>>>0)/255|0)>>>i<>2]|0)+((s&c[p+12>>2])>>>f)>>0]|0,j&255)|0)>>>0)/255|0)>>>r<>2]|0)+((c[p+20>>2]&s)>>>n)>>0]|0,m&255)|0)>>>0)/255|0)>>>t<>2]|0)+(O(c[f+16>>2]|0,h)|0)+(g<<1)|0;f=(k&255)>>>(d[p+29>>0]|0)<>0]|(j&255)>>>(d[p+28>>0]|0)<>0];n=(m&255)>>>(d[p+30>>0]|0)<>0]}}b[g>>1]=f|n|c[p+24>>2];t=0;l=q;return t|0}case 4:{switch(i|0){case 1:{g=(c[f+20>>2]|0)+(O(c[f+16>>2]|0,h)|0)+(g<<2)|0;o=d[p+28>>0]|0;r=c[g>>2]|0;f=d[p+32>>0]|0;h=d[p+29>>0]|0;i=d[p+33>>0]|0;s=d[p+30>>0]|0;t=d[p+34>>0]|0;f=((((O(d[(c[18232+(h<<2)>>2]|0)+((c[p+16>>2]&r)>>>i)>>0]|0,n)|0)>>>0)/255|0)+(k&255)|0)>>>h<>2]|0)+((c[p+12>>2]&r)>>>f)>>0]|0,n)|0)>>>0)/255|0)+(j&255)|0)>>>o<>2]|0)+((c[p+20>>2]&r)>>>t)>>0]|0,n)|0)>>>0)/255|0)+(m&255)|0)>>>s<>2]|0)+(O(c[f+16>>2]|0,h)|0)+(g<<2)|0;r=d[p+28>>0]|0;s=c[g>>2]|0;f=d[p+32>>0]|0;i=d[p+29>>0]|0;o=d[p+33>>0]|0;t=d[p+30>>0]|0;n=d[p+34>>0]|0;j=(d[(c[18232+(r<<2)>>2]|0)+((c[p+12>>2]&s)>>>f)>>0]|0)+(j&255)|0;k=(d[(c[18232+(i<<2)>>2]|0)+((c[p+16>>2]&s)>>>o)>>0]|0)+(k&255)|0;s=(d[(c[18232+(t<<2)>>2]|0)+((c[p+20>>2]&s)>>>n)>>0]|0)+(m&255)|0;f=(k>>>0<255?k:255)>>>i<>>0<255?j:255)>>>r<>>0<255?s:255)>>>t<>2]|0)+(O(c[f+16>>2]|0,h)|0)+(g<<2)|0;r=d[p+28>>0]|0;s=c[g>>2]|0;f=d[p+32>>0]|0;i=d[p+29>>0]|0;o=d[p+33>>0]|0;t=d[p+30>>0]|0;n=d[p+34>>0]|0;f=(((O(d[(c[18232+(i<<2)>>2]|0)+((c[p+16>>2]&s)>>>o)>>0]|0,k&255)|0)>>>0)/255|0)>>>i<>2]|0)+((c[p+12>>2]&s)>>>f)>>0]|0,j&255)|0)>>>0)/255|0)>>>r<>2]|0)+((c[p+20>>2]&s)>>>n)>>0]|0,m&255)|0)>>>0)/255|0)>>>t<>2]|0)+(O(c[f+16>>2]|0,h)|0)+(g<<2)|0;f=(k&255)>>>(d[p+29>>0]|0)<>0]|(j&255)>>>(d[p+28>>0]|0)<>0];n=(m&255)>>>(d[p+30>>0]|0)<>0]}}c[g>>2]=f|n|c[p+24>>2];t=0;l=q;return t|0}default:{_D(294718,o);t=-1;l=q;return t|0}}return 0}function HJ(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 m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=l;l=l+16|0;n=c[b+4>>2]|0;k=k&255;m=k^255;if((a[n+9>>0]|0)!=4){_D(294718,o);n=-1;l=o;return n|0}switch(g|0){case 1:{e=(c[b+20>>2]|0)+(O(c[b+16>>2]|0,f)|0)+(e<<2)|0;s=d[n+28>>0]|0;p=c[e>>2]|0;r=d[n+32>>0]|0;u=d[n+29>>0]|0;t=d[n+33>>0]|0;q=d[n+30>>0]|0;b=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c[ha>>2]=i;r=c[m>>2]|0;n=r&255;k=i;do switch((r&255)<<24>>24){case -83:{aa=2568;break a}case -66:{aa=2723;break a}case -3:case -4:case -5:case -6:case -7:case -8:case -9:case -10:case -11:case -12:case -13:case -14:case -15:case -16:case -17:case -18:case -19:case -20:case -21:case -22:case -23:case -24:case -25:case -26:case -27:case -28:case -29:case -30:case -31:case -32:case -33:case -34:case -35:case -36:case -37:case -38:case -39:case -40:case -41:case -42:case -43:case -44:case -45:case -46:case -47:case -48:case -49:case -50:case -51:case -52:case -53:case -54:case -55:case -56:case -57:case -58:case -59:case -60:case -61:case -62:case -2:case -1:{aa=2725;break a}case -63:{aa=2724;break a}case -95:{aa=2463;break b}case -93:{aa=2466;break b}case -92:{aa=2469;break b}case -94:{aa=2470;break b}case -89:{aa=2480;break b}case -88:{aa=2481;break b}case -84:{aa=2551;break b}case 0:{i=c[_>>2]|0;m=i+(r>>>4&4080)|0;i=i+(r>>>12&1048560)|0;if(c[i>>2]&8|0){I=(c[i+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}if(!(c[m>>2]&8)){c[m>>2]=c[i>>2];c[m+4>>2]=c[i+4>>2];c[m+8>>2]=c[i+8>>2];c[m+12>>2]=c[i+12>>2];I=y;y=I;continue b}k=c[m+8>>2]|0;c[m>>2]=c[i>>2];c[m+4>>2]=c[i+4>>2];c[m+8>>2]=c[i+8>>2];c[m+12>>2]=c[i+12>>2];H=k+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,k);I=y;y=I;continue b}case 1:{i=c[_>>2]|0;m=i+(r>>>4&4080)|0;i=i+(r>>>12&1048560)|0;if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}if(!(c[i>>2]&8)){c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];I=y;y=I;continue b}k=c[i+8>>2]|0;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];H=k+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,k);I=y;y=I;continue b}case 2:{m=(c[_>>2]|0)+(r>>>4&4080)|0;i=J+(r>>>12&1048560)|0;if(c[i>>2]&8|0){I=(c[i+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}if(!(c[m>>2]&8)){c[m>>2]=c[i>>2];c[m+4>>2]=c[i+4>>2];c[m+8>>2]=c[i+8>>2];c[m+12>>2]=c[i+12>>2];I=y;y=I;continue b}k=c[m+8>>2]|0;c[m>>2]=c[i>>2];c[m+4>>2]=c[i+4>>2];c[m+8>>2]=c[i+8>>2];c[m+12>>2]=c[i+12>>2];H=k+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,k);I=y;y=I;continue b}case 3:{G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+((r>>>16)+-32768|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 4:{G=(c[_>>2]|0)+(r>>>4&4080)|0;H=G+8|0;w=+h[H>>3];I=c[G>>2]|0;h[j>>3]=w;i=c[j>>2]|0;c[G>>2]=0;h[H>>3]=+(~~w<<16|r>>>16|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 5:{i=c[_>>2]|0;k=i+(r>>>12&1048560)|0;m=i+-16|0;if(c[m>>2]&8|0){I=(c[i+-8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}if(!(c[k>>2]&8)){c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];I=y;y=I;continue b}i=c[k+8>>2]|0;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 6:{H=(c[_>>2]|0)+(r>>>12&1048560)|0;I=c[H>>2]|0;i=c[H+8>>2]|0;c[H>>2]=2;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 7:{H=(c[_>>2]|0)+(r>>>12&1048560)|0;I=c[H>>2]|0;i=c[H+8>>2]|0;c[H>>2]=3;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 8:{G=(c[_>>2]|0)+(r>>>12&1048560)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 9:{G=(c[_>>2]|0)+(r>>>12&1048560)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=0;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 10:{n=r>>>16;o=r>>>8&255;i=c[_>>2]|0;if(n>>>0>=(c[T>>2]|0)-i>>4>>>0){aa=50;break a}u=+jo(ba,i+(n<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;c:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=54;break c}}if((k|0)<0)aa=54;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=54}while(0);if((aa|0)==54){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}m=~~u;i=c[_>>2]|0;if(n>>>0>=(c[T>>2]|0)-i>>4>>>0){aa=56;break a}G=i+(n<<4)|0;I=c[G>>2]|0;H=i+(n<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(m|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);i=c[_>>2]|0}G=i+(o<<4)|0;I=c[G>>2]|0;H=i+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(~m|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 11:{i=r>>>16;m=r>>>8&255;n=c[_>>2]|0;switch(c[n+(i<<4)>>2]|0){case 3:case 2:{k=0;break}case 4:{k=c[n+(i<<4)+8>>2]|0;break}case 8:{k=(c[(c[n+(i<<4)+8>>2]|0)+20>>2]|0)!=0&1;break}case 9:{k=1;break}case 10:{k=1;break}case 5:{k=(c[n+(i<<4)+8>>2]|0)!=0&1;break}case 6:{k=1;break}default:{k=n+(i<<4)+8|0;I=c[k>>2]|0;k=c[k+4>>2]|0;k=(((I|0)==0&(k&2147483647|0)==0|((I|0)!=0|(k&1048575|0)!=0)&(0==0&(k&2146435072|0)==2146435072))^1)&1}}G=n+(m<<4)|0;I=c[G>>2]|0;H=n+(m<<4)+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=k^1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 12:{k=r>>>16;m=r>>>8&255;i=c[_>>2]|0;if(c[i+(k<<4)>>2]|0){if(k>>>0>=(c[T>>2]|0)-i>>4>>>0){aa=77;break a}u=+jo(ba,i+(k<<4)|0);i=c[_>>2]|0;G=i+(k<<4)|0;I=c[G>>2]|0;H=i+(k<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);i=c[_>>2]|0}}else u=+h[i+(k<<4)+8>>3];G=i+(m<<4)|0;I=c[G>>2]|0;H=i+(m<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=-u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 13:{k=r>>>16;m=r>>>8&255;i=c[_>>2]|0;if(c[i+(k<<4)>>2]|0){if(k>>>0>=(c[T>>2]|0)-i>>4>>>0){aa=87;break a}u=+jo(ba,i+(k<<4)|0);i=c[_>>2]|0;G=i+(k<<4)|0;I=c[G>>2]|0;H=i+(k<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);i=c[_>>2]|0}}else u=+h[i+(k<<4)+8>>3];G=i+(m<<4)|0;I=c[G>>2]|0;H=i+(m<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 14:{k=c[_>>2]|0;i=k+(r>>>12&1048560)|0;switch(c[i>>2]|0){case 2:{i=58;break}case 3:{i=57;break}case 4:{i=53;break}case 5:{i=88;break}case 8:{i=((c[c[i+8>>2]>>2]|0)>>>9&1)+55|0;break}case 9:{i=(c[c[i+8>>2]>>2]&6656|0)==0?57:130;break}case 10:{i=57;break}case 6:{i=130;break}default:i=54}H=c[(c[L>>2]|0)+(i<<2)>>2]|0;F=k+(r>>>4&4080)|0;I=c[F>>2]|0;G=F+8|0;i=c[G>>2]|0;c[F>>2]=8;c[G>>2]=H;H=H+4|0;c[H>>2]=(c[H>>2]|0)+1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 15:{I=c[S>>2]|0;if(Yo(ba,c[I+24>>2]|0,I,c[J+(r>>>12&1048560)+8>>2]|0,0)|0){m=c[T>>2]|0;n=m+-32|0;switch(c[n>>2]|0){case 2:{i=58;break}case 3:{i=57;break}case 4:{i=53;break}case 5:{i=88;break}case 8:{i=((c[c[m+-24>>2]>>2]|0)>>>9&1)+55|0;break}case 9:{i=(c[c[m+-24>>2]>>2]&6656|0)==0?57:130;break}case 10:{i=57;break}case 6:{i=130;break}default:i=54}if(m-(c[_>>2]|0)>>4>>>0<2){aa=118;break a}H=m+-16|0;I=c[H>>2]|0;k=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,k);I=c[n>>2]|0;k=c[m+-24>>2]|0;c[n>>2]=2;if(I&8|0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,k);c[T>>2]=m+-32;k=c[$>>2]|0;if(c[k+32>>2]|0)Rn(k)}else i=58;H=c[(c[L>>2]|0)+(i<<2)>>2]|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;G=F+8|0;i=c[G>>2]|0;c[F>>2]=8;c[G>>2]=H;H=H+4|0;c[H>>2]=(c[H>>2]|0)+1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 16:{G=c[_>>2]|0;G=Zo(ba,G+(r>>>12&4080)|0,G+(r>>>20&4080)|0,0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 17:{G=Zo(ba,J+(r>>>12&4080)|0,(c[_>>2]|0)+(r>>>20&4080)|0,0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 18:{G=Zo(ba,(c[_>>2]|0)+(r>>>12&4080)|0,J+(r>>>20&4080)|0,0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 19:{G=Zo(ba,J+(r>>>12&4080)|0,J+(r>>>20&4080)|0,0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 20:{G=c[_>>2]|0;G=(Zo(ba,G+(r>>>12&4080)|0,G+(r>>>20&4080)|0,0)|0)^1;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 21:{G=(Zo(ba,J+(r>>>12&4080)|0,(c[_>>2]|0)+(r>>>20&4080)|0,0)|0)^1;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 22:{G=(Zo(ba,(c[_>>2]|0)+(r>>>12&4080)|0,J+(r>>>20&4080)|0,0)|0)^1;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 23:{G=(Zo(ba,J+(r>>>12&4080)|0,J+(r>>>20&4080)|0,0)|0)^1;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 24:{o=c[_>>2]|0;i=o+(r>>>12&4080)|0;k=o+(r>>>20&4080)|0;m=c[i>>2]|0;n=c[k>>2]|0;d:do if(n|m)if((m|0)==(n|0))switch(m|0){case 3:case 2:{k=1;break d}case 4:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break d}case 5:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break d}case 9:case 8:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break d}case 10:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break d}case 6:{if((c[i+8>>2]|0)!=(c[k+8>>2]|0)){k=0;break d}k=(c[i+4>>2]|0)==(c[k+4>>2]|0);break d}default:{aa=160;break a}}else k=0;else k=+h[i+8>>3]==+h[k+8>>3];while(0);G=o+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=k&1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 25:{i=J+(r>>>12&4080)|0;o=c[_>>2]|0;k=o+(r>>>20&4080)|0;m=c[i>>2]|0;n=c[k>>2]|0;e:do if(n|m)if((m|0)==(n|0))switch(m|0){case 3:case 2:{k=1;break e}case 4:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break e}case 5:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break e}case 9:case 8:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break e}case 10:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break e}case 6:{if((c[i+8>>2]|0)!=(c[k+8>>2]|0)){k=0;break e}k=(c[i+4>>2]|0)==(c[k+4>>2]|0);break e}default:{aa=174;break a}}else k=0;else k=+h[i+8>>3]==+h[k+8>>3];while(0);G=o+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=k&1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 26:{o=c[_>>2]|0;i=o+(r>>>12&4080)|0;k=J+(r>>>20&4080)|0;m=c[i>>2]|0;n=c[k>>2]|0;f:do if(n|m)if((m|0)==(n|0))switch(m|0){case 3:case 2:{k=1;break f}case 4:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break f}case 5:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break f}case 9:case 8:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break f}case 10:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break f}case 6:{if((c[i+8>>2]|0)!=(c[k+8>>2]|0)){k=0;break f}k=(c[i+4>>2]|0)==(c[k+4>>2]|0);break f}default:{aa=188;break a}}else k=0;else k=+h[i+8>>3]==+h[k+8>>3];while(0);G=o+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=k&1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 27:{i=J+(r>>>12&4080)|0;k=J+(r>>>20&4080)|0;m=c[i>>2]|0;n=c[k>>2]|0;g:do if(n|m)if((m|0)==(n|0))switch(m|0){case 3:case 2:{k=1;break g}case 4:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break g}case 5:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break g}case 9:case 8:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break g}case 10:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break g}case 6:{if((c[i+8>>2]|0)!=(c[k+8>>2]|0)){k=0;break g}k=(c[i+4>>2]|0)==(c[k+4>>2]|0);break g}default:{aa=202;break a}}else k=0;else k=+h[i+8>>3]==+h[k+8>>3];while(0);G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=k&1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 28:{o=c[_>>2]|0;i=o+(r>>>12&4080)|0;k=o+(r>>>20&4080)|0;m=c[i>>2]|0;n=c[k>>2]|0;h:do if(n|m)if((m|0)==(n|0))switch(m|0){case 3:case 2:{k=1;break h}case 4:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break h}case 5:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break h}case 9:case 8:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break h}case 10:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break h}case 6:{if((c[i+8>>2]|0)!=(c[k+8>>2]|0)){k=0;break h}k=(c[i+4>>2]|0)==(c[k+4>>2]|0);break h}default:{aa=216;break a}}else k=0;else k=+h[i+8>>3]==+h[k+8>>3];while(0);G=o+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=(k^1)&1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 29:{i=J+(r>>>12&4080)|0;o=c[_>>2]|0;k=o+(r>>>20&4080)|0;m=c[i>>2]|0;n=c[k>>2]|0;i:do if(n|m)if((m|0)==(n|0))switch(m|0){case 3:case 2:{k=1;break i}case 4:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break i}case 5:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break i}case 9:case 8:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break i}case 10:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break i}case 6:{if((c[i+8>>2]|0)!=(c[k+8>>2]|0)){k=0;break i}k=(c[i+4>>2]|0)==(c[k+4>>2]|0);break i}default:{aa=230;break a}}else k=0;else k=+h[i+8>>3]==+h[k+8>>3];while(0);G=o+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=(k^1)&1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 30:{o=c[_>>2]|0;i=o+(r>>>12&4080)|0;k=J+(r>>>20&4080)|0;m=c[i>>2]|0;n=c[k>>2]|0;j:do if(n|m)if((m|0)==(n|0))switch(m|0){case 3:case 2:{k=1;break j}case 4:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break j}case 5:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break j}case 9:case 8:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break j}case 10:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break j}case 6:{if((c[i+8>>2]|0)!=(c[k+8>>2]|0)){k=0;break j}k=(c[i+4>>2]|0)==(c[k+4>>2]|0);break j}default:{aa=244;break a}}else k=0;else k=+h[i+8>>3]==+h[k+8>>3];while(0);G=o+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=(k^1)&1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 31:{i=J+(r>>>12&4080)|0;k=J+(r>>>20&4080)|0;m=c[i>>2]|0;n=c[k>>2]|0;k:do if(n|m)if((m|0)==(n|0))switch(m|0){case 3:case 2:{k=1;break k}case 4:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break k}case 5:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break k}case 9:case 8:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break k}case 10:{k=(c[i+8>>2]|0)==(c[k+8>>2]|0);break k}case 6:{if((c[i+8>>2]|0)!=(c[k+8>>2]|0)){k=0;break k}k=(c[i+4>>2]|0)==(c[k+4>>2]|0);break k}default:{aa=258;break a}}else k=0;else k=+h[i+8>>3]==+h[k+8>>3];while(0);G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=(k^1)&1;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 32:{G=c[_>>2]|0;G=_o(ba,G+(r>>>20&4080)|0,G+(r>>>12&4080)|0,0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 33:{G=_o(ba,(c[_>>2]|0)+(r>>>20&4080)|0,J+(r>>>12&4080)|0,0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 34:{G=_o(ba,J+(r>>>20&4080)|0,(c[_>>2]|0)+(r>>>12&4080)|0,0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 35:{G=_o(ba,J+(r>>>20&4080)|0,J+(r>>>12&4080)|0,0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 36:{G=c[_>>2]|0;G=_o(ba,G+(r>>>12&4080)|0,G+(r>>>20&4080)|0,3)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 37:{G=_o(ba,J+(r>>>12&4080)|0,(c[_>>2]|0)+(r>>>20&4080)|0,3)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 38:{G=_o(ba,(c[_>>2]|0)+(r>>>12&4080)|0,J+(r>>>20&4080)|0,3)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 39:{G=_o(ba,J+(r>>>12&4080)|0,J+(r>>>20&4080)|0,3)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 40:{G=c[_>>2]|0;G=_o(ba,G+(r>>>12&4080)|0,G+(r>>>20&4080)|0,2)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 41:{G=_o(ba,J+(r>>>12&4080)|0,(c[_>>2]|0)+(r>>>20&4080)|0,2)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 42:{G=_o(ba,(c[_>>2]|0)+(r>>>12&4080)|0,J+(r>>>20&4080)|0,2)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 43:{G=_o(ba,J+(r>>>12&4080)|0,J+(r>>>20&4080)|0,2)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 44:{G=c[_>>2]|0;G=_o(ba,G+(r>>>20&4080)|0,G+(r>>>12&4080)|0,1)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 45:{G=_o(ba,(c[_>>2]|0)+(r>>>20&4080)|0,J+(r>>>12&4080)|0,1)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 46:{G=_o(ba,J+(r>>>20&4080)|0,(c[_>>2]|0)+(r>>>12&4080)|0,1)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 47:{G=_o(ba,J+(r>>>20&4080)|0,J+(r>>>12&4080)|0,1)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 48:{i=(c[_>>2]|0)+(r>>>12&1048560)|0;switch(c[i>>2]|0){case 3:case 2:{I=y;y=I;continue b}case 4:{fa=c[i+8>>2]|0;aa=315;break}case 8:{fa=(c[(c[i+8>>2]|0)+20>>2]|0)!=0&1;aa=315;break}case 6:case 10:case 9:break;case 5:{fa=(c[i+8>>2]|0)!=0&1;aa=315;break}default:{fa=i+8|0;aa=c[fa>>2]|0;fa=c[fa+4>>2]|0;fa=(((aa|0)==0&(fa&2147483647|0)==0|((aa|0)!=0|(fa&1048575|0)!=0)&(0==0&(fa&2146435072|0)==2146435072))^1)&1;aa=315}}if((aa|0)==315?(aa=0,(fa|0)==0):0){I=y;y=I;continue b}c[ha>>2]=m+8;I=y;y=I;continue b}case 49:{i=J+(r>>>12&1048560)|0;switch(c[i>>2]|0){case 3:case 2:{I=y;y=I;continue b}case 4:{ea=c[i+8>>2]|0;aa=322;break}case 8:{ea=(c[(c[i+8>>2]|0)+20>>2]|0)!=0&1;aa=322;break}case 6:case 10:case 9:break;case 5:{ea=(c[i+8>>2]|0)!=0&1;aa=322;break}default:{ea=i+8|0;aa=c[ea>>2]|0;ea=c[ea+4>>2]|0;ea=(((aa|0)==0&(ea&2147483647|0)==0|((aa|0)!=0|(ea&1048575|0)!=0)&(0==0&(ea&2146435072|0)==2146435072))^1)&1;aa=322}}if((aa|0)==322?(aa=0,(ea|0)==0):0){I=y;y=I;continue b}c[ha>>2]=m+8;I=y;y=I;continue b}case 50:{i=(c[_>>2]|0)+(r>>>12&1048560)|0;switch(c[i>>2]|0){case 6:case 10:case 9:{I=y;y=I;continue b}case 3:case 2:break;case 4:{da=c[i+8>>2]|0;aa=329;break}case 8:{da=(c[(c[i+8>>2]|0)+20>>2]|0)!=0&1;aa=329;break}case 5:{da=(c[i+8>>2]|0)!=0&1;aa=329;break}default:{da=i+8|0;aa=c[da>>2]|0;da=c[da+4>>2]|0;da=(((aa|0)==0&(da&2147483647|0)==0|((aa|0)!=0|(da&1048575|0)!=0)&(0==0&(da&2146435072|0)==2146435072))^1)&1;aa=329}}if((aa|0)==329?(aa=0,da|0):0){I=y;y=I;continue b}c[ha>>2]=m+8;I=y;y=I;continue b}case 51:{i=J+(r>>>12&1048560)|0;switch(c[i>>2]|0){case 6:case 10:case 9:{I=y;y=I;continue b}case 3:case 2:break;case 4:{ca=c[i+8>>2]|0;aa=336;break}case 8:{ca=(c[(c[i+8>>2]|0)+20>>2]|0)!=0&1;aa=336;break}case 5:{ca=(c[i+8>>2]|0)!=0&1;aa=336;break}default:{ca=i+8|0;aa=c[ca>>2]|0;ca=c[ca+4>>2]|0;ca=(((aa|0)==0&(ca&2147483647|0)==0|((aa|0)!=0|(ca&1048575|0)!=0)&(0==0&(ca&2146435072|0)==2146435072))^1)&1;aa=336}}if((aa|0)==336?(aa=0,ca|0):0){I=y;y=I;continue b}c[ha>>2]=m+8;I=y;y=I;continue b}case 52:{i=c[_>>2]|0;m=i+(r>>>12&4080)|0;n=i+(r>>>20&4080)|0;p=r>>>8&255;k=c[m>>2]|0;if((k|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3]+ +h[n+8>>3];G=i+(p<<4)|0;I=c[G>>2]|0;H=i+(p<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=344;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(k&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=348;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}po(ba,-2,0);po(ba,-1,0);i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;o=k+-2|0;m=k>>>0>1;n=i+(o<<4)|0;I=m?n:0;if((c[((I|0)==0?944:I)>>2]|0)!=8?(I=k|0?i+(k+-1<<4)|0:0,(c[((I|0)==0?944:I)>>2]|0)!=8):0){if(!m){aa=355;break a}w=+jo(ba,n);m=c[_>>2]|0;H=m+(o<<4)|0;I=c[H>>2]|0;k=m+(o<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=360;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}u=w+u;m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=366;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);i=m+-32|0;c[T>>2]=i;k=c[$>>2]|0;if(c[k+32>>2]|0){Rn(k);i=c[T>>2]|0}if(i>>>0>=(c[R>>2]|0)>>>0){aa=372;break a}I=i+16|0;c[T>>2]=I;c[i>>2]=0;h[i+8>>3]=u;i=I}else{Ho(ba,-2)|0;Ho(ba,-1)|0;Io(ba,2,0);i=c[T>>2]|0}k=c[_>>2]|0;i=i-k>>4;if(!i){aa=375;break a}m=k+(i+-1<<4)|0;if(p>>>0>=i>>>0){aa=377;break a}H=k+(p<<4)|0;I=c[H>>2]|0;i=c[k+(p<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 53:{m=J+(r>>>12&4080)|0;i=c[_>>2]|0;n=i+(r>>>20&4080)|0;p=r>>>8&255;k=c[m>>2]|0;if((k|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3]+ +h[n+8>>3];G=i+(p<<4)|0;I=c[G>>2]|0;H=i+(p<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=387;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(k&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=391;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}po(ba,-2,0);po(ba,-1,0);i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;o=k+-2|0;m=k>>>0>1;n=i+(o<<4)|0;I=m?n:0;if((c[((I|0)==0?944:I)>>2]|0)!=8?(I=k|0?i+(k+-1<<4)|0:0,(c[((I|0)==0?944:I)>>2]|0)!=8):0){if(!m){aa=398;break a}w=+jo(ba,n);m=c[_>>2]|0;H=m+(o<<4)|0;I=c[H>>2]|0;k=m+(o<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=403;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}u=w+u;m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=409;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);i=m+-32|0;c[T>>2]=i;k=c[$>>2]|0;if(c[k+32>>2]|0){Rn(k);i=c[T>>2]|0}if(i>>>0>=(c[R>>2]|0)>>>0){aa=415;break a}I=i+16|0;c[T>>2]=I;c[i>>2]=0;h[i+8>>3]=u;i=I}else{Ho(ba,-2)|0;Ho(ba,-1)|0;Io(ba,2,0);i=c[T>>2]|0}k=c[_>>2]|0;i=i-k>>4;if(!i){aa=418;break a}m=k+(i+-1<<4)|0;if(p>>>0>=i>>>0){aa=420;break a}H=k+(p<<4)|0;I=c[H>>2]|0;i=c[k+(p<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 54:{i=c[_>>2]|0;m=i+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;p=r>>>8&255;k=c[m>>2]|0;if((k|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3]+ +h[n+8>>3];G=i+(p<<4)|0;I=c[G>>2]|0;H=i+(p<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=430;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(k&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=434;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}po(ba,-2,0);po(ba,-1,0);i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;o=k+-2|0;m=k>>>0>1;n=i+(o<<4)|0;I=m?n:0;if((c[((I|0)==0?944:I)>>2]|0)!=8?(I=k|0?i+(k+-1<<4)|0:0,(c[((I|0)==0?944:I)>>2]|0)!=8):0){if(!m){aa=441;break a}w=+jo(ba,n);m=c[_>>2]|0;H=m+(o<<4)|0;I=c[H>>2]|0;k=m+(o<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=446;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}u=w+u;m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=452;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);i=m+-32|0;c[T>>2]=i;k=c[$>>2]|0;if(c[k+32>>2]|0){Rn(k);i=c[T>>2]|0}if(i>>>0>=(c[R>>2]|0)>>>0){aa=458;break a}I=i+16|0;c[T>>2]=I;c[i>>2]=0;h[i+8>>3]=u;i=I}else{Ho(ba,-2)|0;Ho(ba,-1)|0;Io(ba,2,0);i=c[T>>2]|0}k=c[_>>2]|0;i=i-k>>4;if(!i){aa=461;break a}m=k+(i+-1<<4)|0;if(p>>>0>=i>>>0){aa=463;break a}H=k+(p<<4)|0;I=c[H>>2]|0;i=c[k+(p<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 55:{m=J+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;p=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3]+ +h[n+8>>3];H=c[_>>2]|0;G=H+(p<<4)|0;I=c[G>>2]|0;H=H+(p<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=473;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=477;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}po(ba,-2,0);po(ba,-1,0);i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;o=k+-2|0;m=k>>>0>1;n=i+(o<<4)|0;I=m?n:0;if((c[((I|0)==0?944:I)>>2]|0)!=8?(I=k|0?i+(k+-1<<4)|0:0,(c[((I|0)==0?944:I)>>2]|0)!=8):0){if(!m){aa=484;break a}w=+jo(ba,n);m=c[_>>2]|0;H=m+(o<<4)|0;I=c[H>>2]|0;k=m+(o<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=489;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}u=w+u;m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=495;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);i=m+-32|0;c[T>>2]=i;k=c[$>>2]|0;if(c[k+32>>2]|0){Rn(k);i=c[T>>2]|0}if(i>>>0>=(c[R>>2]|0)>>>0){aa=501;break a}I=i+16|0;c[T>>2]=I;c[i>>2]=0;h[i+8>>3]=u;i=I}else{Ho(ba,-2)|0;Ho(ba,-1)|0;Io(ba,2,0);i=c[T>>2]|0}k=c[_>>2]|0;i=i-k>>4;if(!i){aa=504;break a}m=k+(i+-1<<4)|0;if(p>>>0>=i>>>0){aa=506;break a}H=k+(p<<4)|0;I=c[H>>2]|0;i=c[k+(p<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 56:{n=c[_>>2]|0;m=n+(r>>>12&4080)|0;n=n+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=514;break a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I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w-u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 57:{m=J+(r>>>12&4080)|0;n=(c[_>>2]|0)+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=545;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=549;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=553;break a}w=+jo(ba,i+(k<<4)|0);m=c[_>>2]|0;H=m+(k<<4)|0;I=c[H>>2]|0;k=m+(k<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=558;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=564;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w-u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 58:{m=(c[_>>2]|0)+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=576;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0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;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w-u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 59:{m=J+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=607;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=611;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=615;break a}w=+jo(ba,i+(k<<4)|0);m=c[_>>2]|0;H=m+(k<<4)|0;I=c[H>>2]|0;k=m+(k<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=620;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=626;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w-u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 60:{n=c[_>>2]|0;m=n+(r>>>12&4080)|0;n=n+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=638;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=642;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>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|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 61:{m=J+(r>>>12&4080)|0;n=(c[_>>2]|0)+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=669;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=673;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=677;break a}w=+jo(ba,i+(k<<4)|0);m=c[_>>2]|0;H=m+(k<<4)|0;I=c[H>>2]|0;k=m+(k<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=682;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=688;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u*w;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 62:{m=(c[_>>2]|0)+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=700;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=704;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0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|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u*w;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 64:{n=c[_>>2]|0;m=n+(r>>>12&4080)|0;n=n+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=762;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=766;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=770;break a}w=+jo(ba,i+(k<<4)|0);m=c[_>>2]|0;H=m+(k<<4)|0;I=c[H>>2]|0;k=m+(k<<4)+8|0;i=c[k>>2]|0;c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2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w/u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 66:{m=(c[_>>2]|0)+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=824;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=828;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=832;break a}w=+jo(ba,i+(k<<4)|0);m=c[_>>2]|0;H=m+(k<<4)|0;I=c[H>>2]|0;k=m+(k<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=837;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=843;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w/u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 67:{m=J+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=855;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|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G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w/u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 68:{n=c[_>>2]|0;m=n+(r>>>12&4080)|0;n=n+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=886;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=890;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=894;break a}w=+jo(ba,i+(k<<4)|0);m=c[_>>2]|0;H=m+(k<<4)|0;I=c[H>>2]|0;k=m+(k<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=899;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=905;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}w=+GO(w,u);H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 69:{m=J+(r>>>12&4080)|0;n=(c[_>>2]|0)+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=917;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=921;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>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2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 70:{m=(c[_>>2]|0)+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=948;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=952;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=956;break a}w=+jo(ba,i+(k<<4)|0);m=c[_>>2]|0;H=m+(k<<4)|0;I=c[H>>2]|0;k=m+(k<<4)+8|0;i=c[k>>2]|0;c[H>>2]=0;h[k>>3]=w;k=m;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[_>>2]|0;k=m}I=(c[T>>2]|0)-k>>4;i=I+-1|0;if(!I){aa=961;break a}u=+jo(ba,m+(i<<4)|0);k=c[_>>2]|0;G=k+(i<<4)|0;I=c[G>>2]|0;H=k+(i<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=967;break a}H=m+-16|0;I=c[H>>2]|0;i=c[m+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}w=+GO(w,u);H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 71:{m=J+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=979;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=983;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T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I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}I=XO(u)|0;if((I|0)!=0?!((I|0)==1&+B(+w)==1.0):0)u=+D(+w,+u);else u=s;H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 73:{m=J+(r>>>12&4080)|0;n=(c[_>>2]|0)+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=1044;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1048;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=1052;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H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=m+-32|0;I=c[H>>2]|0;i=c[m+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);c[T>>2]=m+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i)}I=XO(u)|0;if((I|0)!=0?!((I|0)==1&+B(+w)==1.0):0)u=+D(+w,+u);else u=s;H=c[_>>2]|0;G=H+(o<<4)|0;I=c[G>>2]|0;H=H+(o<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 75:{m=J+(r>>>12&4080)|0;n=J+(r>>>20&4080)|0;o=r>>>8&255;i=c[m>>2]|0;if((i|0)==0?(c[n>>2]|0)==0:0){w=+h[m+8>>3];u=+h[n+8>>3]}else{k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=1112;break a}c[T>>2]=k+16;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(i&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1116;break a}c[T>>2]=i+16;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=1120;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080)|0;m=m+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1143;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1147;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1151;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;l:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1155;break l}}if((k|0)<0)aa=1155;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1155}while(0);if((aa|0)==1155){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1157;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1162;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;m:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1166;break m}}if((k|0)<0)aa=1166;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1166}while(0);if((aa|0)==1166){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1168;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1174;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o&p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 77:{k=J+(r>>>12&4080)|0;m=(c[_>>2]|0)+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1183;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1187;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1191;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;n:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1195;break n}}if((k|0)<0)aa=1195;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1195}while(0);if((aa|0)==1195){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1197;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1202;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;o:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1206;break o}}if((k|0)<0)aa=1206;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1206}while(0);if((aa|0)==1206){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1208;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1214;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o&p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 78:{k=(c[_>>2]|0)+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1223;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1227;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1231;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;p:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1235;break p}}if((k|0)<0)aa=1235;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1235}while(0);if((aa|0)==1235){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1237;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1242;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;q:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1246;break q}}if((k|0)<0)aa=1246;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1246}while(0);if((aa|0)==1246){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1248;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1254;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o&p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 79:{k=J+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1263;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1267;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1271;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;r:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1275;break r}}if((k|0)<0)aa=1275;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1275}while(0);if((aa|0)==1275){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1277;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1282;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;s:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1286;break s}}if((k|0)<0)aa=1286;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1286}while(0);if((aa|0)==1286){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1288;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1294;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o&p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 80:{m=c[_>>2]|0;k=m+(r>>>12&4080)|0;m=m+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1303;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1307;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1311;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;t:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1315;break t}}if((k|0)<0)aa=1315;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1315}while(0);if((aa|0)==1315){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1317;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1322;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;u:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1326;break u}}if((k|0)<0)aa=1326;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1326}while(0);if((aa|0)==1326){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1328;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1334;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 81:{k=J+(r>>>12&4080)|0;m=(c[_>>2]|0)+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1343;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1347;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1351;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;v:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1355;break v}}if((k|0)<0)aa=1355;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1355}while(0);if((aa|0)==1355){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1357;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1362;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;w:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1366;break w}}if((k|0)<0)aa=1366;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1366}while(0);if((aa|0)==1366){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1368;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1374;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 82:{k=(c[_>>2]|0)+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1383;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1387;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1391;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;x:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1395;break x}}if((k|0)<0)aa=1395;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1395}while(0);if((aa|0)==1395){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1397;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1402;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;y:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1406;break y}}if((k|0)<0)aa=1406;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1406}while(0);if((aa|0)==1406){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1408;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1414;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 83:{k=J+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1423;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1427;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1431;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;z:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1435;break z}}if((k|0)<0)aa=1435;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1435}while(0);if((aa|0)==1435){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1437;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1442;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;A:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1446;break A}}if((k|0)<0)aa=1446;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1446}while(0);if((aa|0)==1446){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1448;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1454;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 84:{m=c[_>>2]|0;k=m+(r>>>12&4080)|0;m=m+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1463;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1467;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1471;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;B:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1475;break B}}if((k|0)<0)aa=1475;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1475}while(0);if((aa|0)==1475){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1477;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1482;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;C:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1486;break C}}if((k|0)<0)aa=1486;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1486}while(0);if((aa|0)==1486){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1488;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1494;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o^p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 85:{k=J+(r>>>12&4080)|0;m=(c[_>>2]|0)+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1503;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1507;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1511;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;D:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1515;break D}}if((k|0)<0)aa=1515;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1515}while(0);if((aa|0)==1515){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1517;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1522;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;E:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1526;break E}}if((k|0)<0)aa=1526;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1526}while(0);if((aa|0)==1526){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1528;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1534;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o^p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 86:{k=(c[_>>2]|0)+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1543;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1547;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1551;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;F:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1555;break F}}if((k|0)<0)aa=1555;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1555}while(0);if((aa|0)==1555){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1557;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1562;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;G:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1566;break G}}if((k|0)<0)aa=1566;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1566}while(0);if((aa|0)==1566){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1568;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1574;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o^p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 87:{k=J+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1583;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1587;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1591;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;H:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1595;break H}}if((k|0)<0)aa=1595;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1595}while(0);if((aa|0)==1595){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1597;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1602;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;I:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1606;break I}}if((k|0)<0)aa=1606;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1606}while(0);if((aa|0)==1606){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1608;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1614;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o^p|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 88:{m=c[_>>2]|0;k=m+(r>>>12&4080)|0;m=m+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1623;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1627;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1631;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;J:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1635;break J}}if((k|0)<0)aa=1635;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1635}while(0);if((aa|0)==1635){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1637;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1642;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;K:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1646;break K}}if((k|0)<0)aa=1646;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1646}while(0);if((aa|0)==1646){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1648;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1654;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p<<(o&31)|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 89:{k=J+(r>>>12&4080)|0;m=(c[_>>2]|0)+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1663;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1667;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1671;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;L:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1675;break L}}if((k|0)<0)aa=1675;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1675}while(0);if((aa|0)==1675){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1677;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1682;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;M:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1686;break M}}if((k|0)<0)aa=1686;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1686}while(0);if((aa|0)==1686){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1688;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1694;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p<<(o&31)|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 90:{k=(c[_>>2]|0)+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1703;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1707;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1711;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;N:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1715;break N}}if((k|0)<0)aa=1715;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1715}while(0);if((aa|0)==1715){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1717;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1722;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;O:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1726;break O}}if((k|0)<0)aa=1726;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1726}while(0);if((aa|0)==1726){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1728;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1734;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p<<(o&31)|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 91:{k=J+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1743;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1747;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1751;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;P:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1755;break P}}if((k|0)<0)aa=1755;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1755}while(0);if((aa|0)==1755){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1757;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1762;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;Q:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1766;break Q}}if((k|0)<0)aa=1766;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1766}while(0);if((aa|0)==1766){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1768;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1774;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p<<(o&31)|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 92:{m=c[_>>2]|0;k=m+(r>>>12&4080)|0;m=m+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1783;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1787;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1791;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;R:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1795;break R}}if((k|0)<0)aa=1795;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1795}while(0);if((aa|0)==1795){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1797;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1802;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;S:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1806;break S}}if((k|0)<0)aa=1806;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1806}while(0);if((aa|0)==1806){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1808;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1814;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p>>>(o&31)>>>0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 93:{k=J+(r>>>12&4080)|0;m=(c[_>>2]|0)+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1823;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1827;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1831;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;T:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1835;break T}}if((k|0)<0)aa=1835;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1835}while(0);if((aa|0)==1835){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1837;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1842;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;U:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1846;break U}}if((k|0)<0)aa=1846;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1846}while(0);if((aa|0)==1846){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1848;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1854;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p>>>(o&31)>>>0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 94:{k=(c[_>>2]|0)+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1863;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1867;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1871;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;V:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1875;break V}}if((k|0)<0)aa=1875;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1875}while(0);if((aa|0)==1875){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1877;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1882;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;W:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1886;break W}}if((k|0)<0)aa=1886;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1886}while(0);if((aa|0)==1886){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1888;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1894;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p>>>(o&31)>>>0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 95:{k=J+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1903;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1907;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1911;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;X:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1915;break X}}if((k|0)<0)aa=1915;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1915}while(0);if((aa|0)==1915){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1917;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1922;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;Y:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1926;break Y}}if((k|0)<0)aa=1926;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1926}while(0);if((aa|0)==1926){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1928;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1934;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p>>>(o&31)>>>0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 96:{m=c[_>>2]|0;k=m+(r>>>12&4080)|0;m=m+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1943;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1947;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1951;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;Z:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1955;break Z}}if((k|0)<0)aa=1955;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1955}while(0);if((aa|0)==1955){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1957;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=1962;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;_:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1966;break _}}if((k|0)<0)aa=1966;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1966}while(0);if((aa|0)==1966){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=1968;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=1974;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p>>(o&31)|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 97:{k=J+(r>>>12&4080)|0;m=(c[_>>2]|0)+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1983;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=1987;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=1991;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;$:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=1995;break $}}if((k|0)<0)aa=1995;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=1995}while(0);if((aa|0)==1995){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=1997;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=2002;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;aa:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=2006;break aa}}if((k|0)<0)aa=2006;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=2006}while(0);if((aa|0)==2006){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=2008;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=2014;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p>>(o&31)|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 98:{k=(c[_>>2]|0)+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2023;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2027;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=2031;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;ba:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=2035;break ba}}if((k|0)<0)aa=2035;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=2035}while(0);if((aa|0)==2035){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=2037;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=2042;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;ca:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=2046;break ca}}if((k|0)<0)aa=2046;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=2046}while(0);if((aa|0)==2046){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=2048;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=2054;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p>>(o&31)|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 99:{k=J+(r>>>12&4080)|0;m=J+(r>>>20&4080)|0;q=r>>>8&255;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2063;break a}c[T>>2]=i+16;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2067;break a}c[T>>2]=i+16;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(k>>>0<=1){aa=2071;break a}u=+jo(ba,i+(k+-2<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;da:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=2075;break da}}if((k|0)<0)aa=2075;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=2075}while(0);if((aa|0)==2075){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}p=~~u;i=c[T>>2]|0;m=c[_>>2]|0;k=i-m>>4;if(k>>>0<=1){aa=2077;break a}H=k+-2|0;G=m+(H<<4)|0;I=c[G>>2]|0;H=m+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);m=c[_>>2]|0;i=c[T>>2]|0}i=i-m>>4;if(!i){aa=2082;break a}u=+jo(ba,m+(i+-1<<4)|0);h[j>>3]=u;i=c[j>>2]|0;k=c[j+4>>2]|0;m=k&2146435072;ea:do if((m|0)<2146435072){switch(m|0){case 0:break;default:{aa=2086;break ea}}if((k|0)<0)aa=2086;else u=0.0}else switch(m|0){case 2146435072:{u=0.0;break}default:aa=2086}while(0);if((aa|0)==2086){aa=0;u=+A(+(+B(+u)));u=+GO((k|0)>-1|(k|0)==-1&i>>>0>4294967295?u:-u,4294967296.0);u=u<0.0?u+4294967296.0:u;u=u>=2147483648.0?u+-4294967296.0:u}o=~~u;n=c[T>>2]|0;k=c[_>>2]|0;i=k;m=n-i>>4;if(!m){aa=2088;break a}H=m+-1|0;G=k+(H<<4)|0;I=c[G>>2]|0;H=k+(H<<4)+8|0;k=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(o|0);if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);n=c[T>>2]|0;i=c[_>>2]|0}if(n-i>>4>>>0<2){aa=2094;break a}H=n+-16|0;I=c[H>>2]|0;i=c[n+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=n+-32|0;I=c[H>>2]|0;i=c[n+-24>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;Wn(c[$>>2]|0,i)}while(0);c[T>>2]=n+-32;i=c[$>>2]|0;if(c[i+32>>2]|0)Rn(i);H=c[_>>2]|0;G=H+(q<<4)|0;I=c[G>>2]|0;H=H+(q<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=+(p>>(o&31)|0);if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 100:{G=c[_>>2]|0;G=$o(ba,G+(r>>>12&4080)|0,G+(r>>>20&4080)|0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 101:{G=$o(ba,J+(r>>>12&4080)|0,(c[_>>2]|0)+(r>>>20&4080)|0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 102:{G=$o(ba,(c[_>>2]|0)+(r>>>12&4080)|0,J+(r>>>20&4080)|0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 103:{G=$o(ba,J+(r>>>12&4080)|0,J+(r>>>20&4080)|0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 104:{G=c[_>>2]|0;G=ap(ba,G+(r>>>12&4080)|0,G+(r>>>20&4080)|0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 105:{G=ap(ba,J+(r>>>12&4080)|0,(c[_>>2]|0)+(r>>>20&4080)|0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 106:{G=ap(ba,(c[_>>2]|0)+(r>>>12&4080)|0,J+(r>>>20&4080)|0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 107:{G=ap(ba,J+(r>>>12&4080)|0,J+(r>>>20&4080)|0)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 120:{i=c[_>>2]|0;o=r>>>4&4080;k=r>>>12&1048560;m=i+k|0;if(!(c[m>>2]|0)){I=m+8|0;u=+h[I>>3]+1.0;c[m>>2]=0;h[I>>3]=u}else{n=k>>>4;if(n>>>0>=(c[T>>2]|0)-i>>4>>>0){aa=2129;break a}u=+jo(ba,i+(n<<4)|0);H=c[_>>2]|0;G=H+(n<<4)|0;I=c[G>>2]|0;H=H+(n<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,i);u=u+1.0;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2134;break a}k=i+16|0;c[T>>2]=k;c[i>>2]=0;h[i+8>>3]=u;i=c[_>>2]|0;k=k-i>>4;if(!k){aa=2136;break a}m=i+(k+-1<<4)|0;if(n>>>0>=k>>>0){aa=2138;break a}H=i+(n<<4)|0;I=c[H>>2]|0;i=c[i+(n<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,i);i=c[_>>2]|0}G=i+o|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 121:{i=c[_>>2]|0;o=r>>>4&4080;k=r>>>12&1048560;m=i+k|0;if(!(c[m>>2]|0)){I=m+8|0;u=+h[I>>3]+-1.0;c[m>>2]=0;h[I>>3]=u}else{n=k>>>4;if(n>>>0>=(c[T>>2]|0)-i>>4>>>0){aa=2149;break a}u=+jo(ba,i+(n<<4)|0);H=c[_>>2]|0;G=H+(n<<4)|0;I=c[G>>2]|0;H=H+(n<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,i);u=u+-1.0;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2154;break a}k=i+16|0;c[T>>2]=k;c[i>>2]=0;h[i+8>>3]=u;i=c[_>>2]|0;k=k-i>>4;if(!k){aa=2156;break a}m=i+(k+-1<<4)|0;if(n>>>0>=k>>>0){aa=2158;break a}H=i+(n<<4)|0;I=c[H>>2]|0;i=c[i+(n<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,i);i=c[_>>2]|0}G=i+o|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 122:{i=c[_>>2]|0;o=r>>>4&4080;k=r>>>12&1048560;m=i+k|0;if(!(c[m>>2]|0)){I=m+8|0;u=+h[I>>3];c[m>>2]=0;h[I>>3]=u+1.0}else{n=k>>>4;if(n>>>0>=(c[T>>2]|0)-i>>4>>>0){aa=2169;break a}u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1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,i);i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2194;break a}k=i+16|0;c[T>>2]=k;c[i>>2]=0;h[i+8>>3]=u+-1.0;i=c[_>>2]|0;k=k-i>>4;if(!k){aa=2196;break a}m=i+(k+-1<<4)|0;if(n>>>0>=k>>>0){aa=2198;break a}H=i+(n<<4)|0;I=c[H>>2]|0;i=c[i+(n<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,i);i=c[_>>2]|0}G=i+o|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 124:{p=r>>>8&255;i=c[S>>2]|0;o=(c[c[i+16>>2]>>2]|0)>>>16&1;n=c[J+(r>>>12&1048560)+8>>2]|0;Yo(ba,c[i+24>>2]|0,i,n,1)|0;i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-2|0;if(I>>>0<=1){aa=2207;break a}u=+jo(ba,i+(k<<4)|0);H=c[_>>2]|0;G=H+(k<<4)|0;I=c[G>>2]|0;k=H+(k<<4)+8|0;i=c[k>>2]|0;c[G>>2]=0;h[k>>3]=u;k=H;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);k=c[_>>2]|0}u=u+1.0;m=c[T>>2]|0;if(m-k>>4>>>0<2){aa=2213;break a}H=m+-16|0;I=c[H>>2]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]=0;h[H>>3]=u;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,i);i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2263;break a}c[T>>2]=i+16;c[i>>2]=0;h[i+8>>3]=u+-1.0;k=c[S>>2]|0;bp(ba,c[k+24>>2]|0,k,m,i,n);k=c[T>>2]|0;if(k-(c[_>>2]|0)>>4>>>0<2){aa=2266;break a}H=k+-16|0;I=c[H>>2]|0;i=c[k+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);H=k+-32|0;I=c[H>>2]|0;i=c[k+-24>>2]|0;c[H>>2]=2;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)Wn(c[$>>2]|0,i);i=k+-32|0;c[T>>2]=i;k=c[$>>2]|0;if(c[k+32>>2]|0){Rn(k);i=c[T>>2]|0}H=i+-16|0;i=c[_>>2]|0;G=i+(o<<4)|0;I=c[G>>2]|0;i=c[i+(o<<4)+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -113:case -114:case -115:case -116:case -117:case -118:case -119:case -120:case -121:case -122:case -123:case -124:case -125:case -126:case -127:case -128:{n=(r&1|0)!=0;if(n)i=J;else i=c[_>>2]|0;p=r>>>12&4080;o=(r&2|0)!=0;if(o)k=J;else k=c[_>>2]|0;q=r>>>20&4080;ro(ba,i+p|0,k+q|0)|0;i=c[_>>2]|0;I=(c[T>>2]|0)-i>>4;k=I+-1|0;if(!I){aa=2279;break a}w=+jo(ba,i+(k<<4)|0);m=c[_>>2]|0;G=m+(k<<4)|0;I=c[G>>2]|0;H=m+(k<<4)+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=w;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);i=c[_>>2]|0}else i=m;k=c[T>>2]|0;if((k|0)==(i|0)){aa=2284;break a}m=k+-16|0;c[T>>2]=m;I=c[k+-16>>2]|0;i=c[k+-8>>2]|0;c[m>>2]=2;if((I&8|0)!=0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,i);m=c[T>>2]|0}u=((r&4|0)==0?1.0:-1.0)+w;if(m>>>0>=(c[R>>2]|0)>>>0){aa=2289;break a}c[T>>2]=m+16;c[m>>2]=0;h[m+8>>3]=u;if(n)k=J;else k=c[_>>2]|0;if(o)i=J;else i=c[_>>2]|0;cp(ba,k+p|0,i+q|0,0,c[m+4>>2]|0,u,(c[c[(c[S>>2]|0)+16>>2]>>2]|0)>>>16&1)|0;k=c[T>>2]|0;i=c[_>>2]|0;if((k|0)==(i|0)){aa=2295;break a}H=k+-16|0;c[T>>2]=H;I=c[k+-16>>2]|0;k=c[k+-8>>2]|0;c[H>>2]=2;if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);i=c[_>>2]|0}G=i+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=0;h[H>>3]=r&8|0?w:u;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 108:{H=c[_>>2]|0;ro(ba,H+(r>>>12&4080)|0,H+(r>>>20&4080)|0)|0;H=(c[T>>2]|0)+-16|0;G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 109:{ro(ba,J+(r>>>12&4080)|0,(c[_>>2]|0)+(r>>>20&4080)|0)|0;H=(c[T>>2]|0)+-16|0;G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 110:{ro(ba,(c[_>>2]|0)+(r>>>12&4080)|0,J+(r>>>20&4080)|0)|0;H=(c[T>>2]|0)+-16|0;G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 111:{ro(ba,J+(r>>>12&4080)|0,J+(r>>>20&4080)|0)|0;H=(c[T>>2]|0)+-16|0;G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 112:{H=c[_>>2]|0;I=H+(r>>>20&4080)|0;cp(ba,H+(r>>>4&4080)|0,H+(r>>>12&4080)|0,c[I>>2]|0,c[I+4>>2]|0,+h[I+8>>3],(c[c[(c[S>>2]|0)+16>>2]>>2]|0)>>>16&1)|0;I=y;y=I;continue b}case 113:{H=c[_>>2]|0;I=H+(r>>>20&4080)|0;cp(ba,H+(r>>>4&4080)|0,J+(r>>>12&4080)|0,c[I>>2]|0,c[I+4>>2]|0,+h[I+8>>3],(c[c[(c[S>>2]|0)+16>>2]>>2]|0)>>>16&1)|0;I=y;y=I;continue b}case 114:{H=c[_>>2]|0;I=J+(r>>>20&4080)|0;cp(ba,H+(r>>>4&4080)|0,H+(r>>>12&4080)|0,c[I>>2]|0,c[I+4>>2]|0,+h[I+8>>3],(c[c[(c[S>>2]|0)+16>>2]>>2]|0)>>>16&1)|0;I=y;y=I;continue b}case 115:{I=J+(r>>>20&4080)|0;cp(ba,(c[_>>2]|0)+(r>>>4&4080)|0,J+(r>>>12&4080)|0,c[I>>2]|0,c[I+4>>2]|0,+h[I+8>>3],(c[c[(c[S>>2]|0)+16>>2]>>2]|0)>>>16&1)|0;I=y;y=I;continue b}case 116:{G=c[_>>2]|0;G=dp(ba,G+(r>>>12&4080)|0,G+(r>>>20&4080)|0,(c[c[(c[S>>2]|0)+16>>2]>>2]|0)>>>16&1)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case 118:{G=dp(ba,(c[_>>2]|0)+(r>>>12&4080)|0,J+(r>>>20&4080)|0,(c[c[(c[S>>2]|0)+16>>2]>>2]|0)>>>16&1)|0;F=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[F>>2]|0;H=F+8|0;i=c[H>>2]|0;c[F>>2]=4;c[H>>2]=G;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -109:case -110:case -111:case -112:{k=r>>>8;if(!(r&1))i=c[_>>2]|0;else i=J;H=c[i+(r>>>12&4080)+8>>2]|0;m=k&16;n=(m|0)!=0;I=k&15;if(n){if(!(r&2))i=c[_>>2]|0;else i=J;i=i+(r>>>20&4080)|0;k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=2330;break a}c[T>>2]=k+16;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];if(c[i>>2]&8|0){G=(c[i+8>>2]|0)+4|0;c[G>>2]=(c[G>>2]|0)+1}}else c[T>>2]=(c[T>>2]|0)+16;E=c[T>>2]|0;i=c[S>>2]|0;C=c[E+-16>>2]|0;F=c[E+-12>>2]|0;G=c[E+-8>>2]|0;E=c[E+-16+12>>2]|0;k=c[i+20>>2]|0;if(!k){k=i-(c[W>>2]|0)|0;Uo(ba,i);k=c[(c[W>>2]|0)+k+20>>2]|0}do if(ep(ba,k,H,0,0,ga)|0){if(m|0?(c[M>>2]|0)==(k|0):0){v=H+12|0;k=y;i=ja;while(1){x=c[i>>2]|0;m=c[x+36>>2]|0;y=x+24|0;t=c[y>>2]|0;z=x+16|0;i=c[z>>2]|0;fa:do if(!m){m=i+(t<<4)|0;n=c[x+28>>2]|0;if(!n){k=-1;aa=2350}else{k=0;while(1){if((c[m+(k<<2)>>2]|0)==(H|0)){aa=2350;break fa}k=k+1|0;if(k>>>0>=n>>>0){k=-1;aa=2350;break}}}}else{r=i+(t*21|0)+(0-t&7)+(c[x+32>>2]<<4)|0;p=m+-1|0;q=i+(t<<4)|0;m=c[v>>2]&p;ga:while(1){n=c[r+(m<<2)>>2]|0;switch(n|0){case -1:{o=19;break}case -2:{aa=2347;break}default:if((c[q+(n<<2)>>2]|0)==(H|0)){o=1;k=n}else aa=2347}if((aa|0)==2347){aa=0;o=0;m=m+1&p}switch(o&31){case 19:{k=-1;aa=2350;break fa}case 0:break;default:break ga}}if(!o){k=-1;aa=2350}}while(0);if((aa|0)==2350)aa=0;if((k|0)>-1)break;else i=x+20|0}m=d[i+(t*20|0)+k>>0]|0;if(!((m&4|0)!=0|(m&11|0)==3)){aa=2400;break a}n=c[ja>>2]|0;if((x|0)==(n|0)){if(!(m&8)){x=i+(k<<4)|0;H=c[x>>2]|0;i=c[i+(k<<4)+8>>2]|0;c[x>>2]=2;if(H&8|0?(x=i+4|0,H=(c[x>>2]|0)+-1|0,c[x>>2]=H,(H|0)==0):0)go(c[$>>2]|0,i)}else{H=i+(k<<4)|0;m=c[H>>2]|0;c[H>>2]=0;if((m|0)!=0?(x=m+4|0,H=(c[x>>2]|0)+-1|0,c[x>>2]=H,(H|0)==0):0){fp(c[$>>2]|0,m);i=c[z>>2]|0}H=i+(k<<4)+4|0;i=c[H>>2]|0;c[H>>2]=0;if(i|0?(x=i+4|0,H=(c[x>>2]|0)+-1|0,c[x>>2]=H,(H|0)==0):0)fp(c[$>>2]|0,i)}x=c[z>>2]|0;H=x+(k<<4)|0;c[H>>2]=C;c[x+(k<<4)+4>>2]=F;c[x+(k<<4)+8>>2]=G;c[H+12>>2]=E;if(C&8|0){H=G+4|0;c[H>>2]=(c[H>>2]|0)+1}a[(c[z>>2]|0)+((c[y>>2]|0)*20|0)+k>>0]=I}else{i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2368;break a}c[T>>2]=i+16;c[i>>2]=C;c[i+4>>2]=F;c[i+8>>2]=G;c[i+12>>2]=E;if(C&8|0){G=G+4|0;c[G>>2]=(c[G>>2]|0)+1}ho(ba,n,H,I)}break}if(n){bp(ba,c[i+24>>2]|0,i,H,(c[T>>2]|0)+-16|0,(c[c[(c[S>>2]|0)+16>>2]>>2]|0)>>>16&1);k=y}else k=y}else{i=c[k>>2]|0;if((i&-134217728|0)!=-2147483648){i=c[k+40>>2]|0;k=i;i=c[i>>2]|0}if(!(i&128)){aa=2400;break a}i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2376;break a}c[T>>2]=i+16;c[i>>2]=9;c[i+8>>2]=k;i=k+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2378;break a}c[T>>2]=i+16;c[i>>2]=8;c[i+8>>2]=H;i=H+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2380;break a}c[T>>2]=i+16;c[i>>2]=C;c[i+4>>2]=F;c[i+8>>2]=G;c[i+12>>2]=E;if(C&8|0){H=G+4|0;c[H>>2]=(c[H>>2]|0)+1}H=c[_>>2]|0;i=(c[T>>2]|0)-H>>4;i=i>>>0>2?H+(i+-3<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=9){aa=2385;break a}k=c[i+8>>2]|0;if(!k){aa=2385;break a}po(ba,-2,1);H=c[_>>2]|0;i=(c[T>>2]|0)-H>>4;i=i>>>0>1?H+(i+-2<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)==8?(na=c[i+8>>2]|0,(na|0)!=0):0)i=na;else{Ho(ba,-2)|0;H=c[_>>2]|0;i=(c[T>>2]|0)-H>>4;i=i>>>0>1?H+(i+-2<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)==8)i=c[i+8>>2]|0;else i=0}ho(ba,k,i,I);k=c[T>>2]|0;i=c[_>>2]|0;if((k|0)==(i|0)){aa=2391;break a}m=k+-16|0;c[T>>2]=m;I=c[k+-16>>2]|0;k=c[k+-8>>2]|0;c[m>>2]=2;do if(!(I&8))k=m;else{H=k+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){k=m;break}go(c[$>>2]|0,k);k=c[T>>2]|0;i=c[_>>2]|0}while(0);if((k|0)==(i|0)){aa=2396;break a}H=k+-16|0;c[T>>2]=H;I=c[k+-16>>2]|0;i=c[k+-8>>2]|0;c[H>>2]=2;do if(I&8|0){H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0)break;go(c[$>>2]|0,i)}while(0);k=y}while(0);i=c[T>>2]|0;if((i|0)==(c[_>>2]|0)){aa=2406;break a}H=i+-16|0;c[T>>2]=H;I=c[i+-16>>2]|0;i=c[i+-8>>2]|0;c[H>>2]=2;if(!(I&8)){y=k;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){y=k;continue b}go(c[$>>2]|0,i);y=k;continue b}case -105:case -106:case -107:case -108:{if(!(r&2))i=c[_>>2]|0;else i=J;i=i+(r>>>20&4080)|0;k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=2413;break a}c[T>>2]=k+16;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];if(c[i>>2]&8|0){I=(c[i+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}if(!(r&1))i=c[_>>2]|0;else i=J;i=i+(r>>>12&4080)|0;k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=2419;break a}c[T>>2]=k+16;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];if(c[i>>2]&8|0){I=(c[i+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}gp(ba);H=(c[T>>2]|0)+-16|0;G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -101:case -102:case -103:case -104:{if(!(r&1))i=c[_>>2]|0;else i=J;o=c[S>>2]|0;Yo(ba,c[o+24>>2]|0,o,c[i+(r>>>12&4080)+8>>2]|0,1)|0;o=r>>>8&255;i=o+1|0;k=c[_>>2]|0;m=(c[T>>2]|0)-k>>4;if(!m){aa=2428;break a}n=k+(m+-1<<4)|0;if(i>>>0>=m>>>0){aa=2430;break a}H=k+(i<<4)|0;I=c[H>>2]|0;k=c[k+(i<<4)+8>>2]|0;c[H>>2]=c[n>>2];c[H+4>>2]=c[n+4>>2];c[H+8>>2]=c[n+8>>2];c[H+12>>2]=c[n+12>>2];c[n>>2]=2;i=(c[T>>2]|0)+-16|0;c[T>>2]=i;if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);i=c[T>>2]|0}k=c[_>>2]|0;i=i-k>>4;if(!i){aa=2435;break a}m=k+(i+-1<<4)|0;if(o>>>0>=i>>>0){aa=2437;break a}H=k+(o<<4)|0;I=c[H>>2]|0;i=c[k+(o<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -100:{i=c[S>>2]|0;m=c[(c[(c[i+16>>2]|0)+44>>2]|0)+(r>>>16<<2)>>2]|0;k=c[i+24>>2]|0;if(!k){Uo(ba,i);k=c[S>>2]|0;i=k;k=c[k+24>>2]|0}hp(ba,m,c[i+20>>2]|0,k,1);H=(c[T>>2]|0)+-16|0;G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -99:{k=c[S>>2]|0;Yo(ba,c[k+24>>2]|0,k,c[J+(r>>>12&1048560)+8>>2]|0,1)|0;k=c[T>>2]|0;i=c[_>>2]|0;if((k|0)==(i|0)){aa=2447;break a}m=k+-16|0;c[T>>2]=m;I=c[k+-16>>2]|0;k=c[k+-8>>2]|0;c[m>>2]=2;if((I&8|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){go(c[$>>2]|0,k);k=c[T>>2]|0;i=c[_>>2]|0}else k=m;H=k+-16|0;G=i+(r>>>4&4080)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -98:{I=c[S>>2]|0;bp(ba,c[I+24>>2]|0,I,c[J+(r>>>12&1048560)+8>>2]|0,(c[_>>2]|0)+(r>>>4&4080)|0,(c[c[I+16>>2]>>2]|0)>>>16&1);I=y;y=I;continue b}case -97:{i=c[J+(r>>>12&1048560)+8>>2]|0;I=c[S>>2]|0;do if(!(ep(ba,c[I+24>>2]|0,i,I,1,ga)|0))k=1;else{if(c[ka>>2]|0?(c[ma>>2]&4|0)==0:0){k=0;break}k=ip(ba,c[la>>2]|0,i,0)|0}while(0);G=(c[_>>2]|0)+(r>>>4&4080)|0;I=c[G>>2]|0;H=G+8|0;i=c[H>>2]|0;c[G>>2]=4;c[H>>2]=k;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -96:{c[ha>>2]=i+((r>>>8)+-8388608<<2);I=y;y=I;continue b}case -91:{i=c[X>>2]|0;if(i>>>0>=(c[N>>2]|0)>>>0){jp(ba);i=c[X>>2]|0;k=c[ha>>2]|0}I=c[U>>2]|0;c[X>>2]=i+1;c[I+(i*20|0)+16>>2]=r>>>16<<8|2;c[I+(i*20|0)+8>>2]=(c[V>>2]|0)+-1;c[I+(i*20|0)+4>>2]=k;c[I+(i*20|0)+12>>2]=0;c[I+(i*20|0)>>2]=0;c[ha>>2]=(c[ha>>2]|0)+8;I=y;y=I;continue b}case -90:{I=c[X>>2]|0;i=I+-1|0;if((I|0?(oa=c[U>>2]|0,c[oa+(i*20|0)+16>>2]&128|0):0)?(I=(c[W>>2]|0)+((c[oa+(i*20|0)+8>>2]|0)*48|0)+24|0,pa=c[I>>2]|0,H=c[pa+20>>2]|0,c[I>>2]=H,H=H+4|0,c[H>>2]=(c[H>>2]|0)+1,H=pa+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)bo(c[$>>2]|0,pa);c[X>>2]=i;i=c[$>>2]|0;if(!(c[i+32>>2]|0)){I=y;y=I;continue b}Rn(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0}i=m+(i<<4)|0;H=i+16|0;I=c[i+16>>2]|0;i=c[i+24>>2]|0;c[H>>2]=0;h[H+8>>3]=7.0;if(I&8|0?(H=i+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,i);c[o>>2]=c[o>>2]&-33}c[ha>>2]=(c[p+4>>2]|0)+4;I=y;y=I;continue b}case -82:{m=r>>>16;I=c[_>>2]|0;p=I+(m<<4)|0;i=c[p>>2]|0;m=I+(m<<4)+8|0;n=c[m>>2]|0;k=c[p+16>>2]|0;o=c[p+24>>2]|0;I=I+((r>>>8&255)<<4)|0;c[p>>2]=c[I>>2];c[p+4>>2]=c[I+4>>2];c[p+8>>2]=c[I+8>>2];c[p+12>>2]=c[I+12>>2];if(c[p>>2]&8|0){I=(c[m>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}c[p+16>>2]=2;if(i&8|0?(H=n+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[$>>2]|0,n);if(!(k&8)){I=y;y=I;continue b}H=o+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,o);I=y;y=I;continue b}case -81:{o=r>>>8&255;i=r>>>16;_n(ba,i+2+o|0);k=c[_>>2]|0;n=k;if((c[k+(i<<4)>>2]|0)==9?(ua=c[k+(i<<4)+8>>2]|0,(c[ua>>2]&4096|0)!=0):0)m=(c[ua+40>>2]|0)==133?16:0;else m=0;i=(c[T>>2]|0)-n|0;k=(o<<4)+32|0;if(i>>>0>>0){aa=2587;break a}so(ba,o,m,(i-k|0)>>>4);_n(ba,e[(c[(c[S>>2]|0)+16>>2]|0)+60>>1]|0);I=y;y=I;continue b}case -79:case -80:{I=r>>>8&255;i=r>>>16;_n(ba,i+2+I|0);if(To(ba,I,r<<3&8)|0){i=y;continue a}m=(c[T>>2]|0)-(c[_>>2]|0)|0;i=-2-i+(m>>4)|0;k=(i<<4)+32|0;if(m>>>0>>0){aa=2591;break a}so(ba,i,0,(m-k|0)>>>4);_n(ba,e[(c[(c[S>>2]|0)+16>>2]|0)+60>>1]|0);I=y;y=I;continue b}case -78:{o=r>>>8&255;p=r>>>16;n=o+1|0;i=c[T>>2]|0;k=o+65+(i-(c[Y>>2]|0)>>4)|0;if((c[Z>>2]|0)>>>0>>0){Yn(ba,k,4)|0;i=c[T>>2]|0}CQ(i|0,(c[_>>2]|0)+(p<<4)|0,n<<4|0)|0;k=0;m=i;while(1){if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}k=k+1|0;if((k|0)==(n|0))break;else m=m+16|0}c[T>>2]=i+(n<<4);op(ba,o);i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(!k){aa=2600;break a}m=i+(k+-1<<4)|0;if(p>>>0>=k>>>0){aa=2602;break a}H=i+(p<<4)|0;I=c[H>>2]|0;i=c[i+(p<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -77:{if((c[T>>2]|0)>>>0>=(c[R>>2]|0)>>>0){aa=2607;break a}n=xo(ba,40)|0;i=c[$>>2]|0;c[n>>2]=134234241;i=i+24|0;k=c[i>>2]|0;if(k|0)c[k+12>>2]=n;c[n+12>>2]=0;c[n+8>>2]=k;c[i>>2]=n;i=c[T>>2]|0;c[i>>2]=9;c[i+8>>2]=n;i=n+4|0;c[i>>2]=(c[i>>2]|0)+1;i=(c[T>>2]|0)+16|0;c[T>>2]=i;m=c[O>>2]|0;I=n+20|0;k=c[I>>2]|0;c[I>>2]=m;if(m|0){I=m+4|0;c[I>>2]=(c[I>>2]|0)+1}if((k|0)!=0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0){fp(c[$>>2]|0,k);i=c[T>>2]|0}H=i+-16|0;G=(c[_>>2]|0)+(r>>>12&1048560)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -76:{m=xo(ba,48)|0;n=c[$>>2]|0;c[m>>2]=272679041;i=n+24|0;k=c[i>>2]|0;if(k|0)c[k+12>>2]=m;c[m+12>>2]=0;c[m+8>>2]=k;c[i>>2]=m;i=c[P>>2]|0;I=m+20|0;k=c[I>>2]|0;c[I>>2]=i;if(i|0){I=i+4|0;c[I>>2]=(c[I>>2]|0)+1}if(k|0?(H=k+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)fp(n,k);H=c[T>>2]|0;c[H>>2]=9;c[H+8>>2]=m;H=m+4|0;c[H>>2]=(c[H>>2]|0)+1;H=c[T>>2]|0;c[T>>2]=H+16;G=(c[_>>2]|0)+(r>>>12&1048560)|0;I=c[G>>2]|0;i=c[G+8>>2]|0;c[G>>2]=c[H>>2];c[G+4>>2]=c[H+4>>2];c[G+8>>2]=c[H+8>>2];c[G+12>>2]=c[H+12>>2];c[H>>2]=2;c[T>>2]=H;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -74:case -75:{x=r>>>8&255;i=r>>>16&255;if((n|0)==182)i=~~+h[(c[_>>2]|0)+(i<<4)+8>>3]>>>0;v=i+(r>>>24)|0;while(1){m=c[T>>2]|0;if(m>>>0>=(c[R>>2]|0)>>>0){aa=2632;break a}n=c[_>>2]|0;I=m-n>>4;k=((i|0)<0?I:0)+i|0;if(k>>>0>=I>>>0){aa=2634;break a}I=n+(k<<4)|0;c[T>>2]=m+16;c[m>>2]=c[I>>2];c[m+4>>2]=c[I+4>>2];c[m+8>>2]=c[I+8>>2];c[m+12>>2]=c[I+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}m=i+1|0;n=c[T>>2]|0;if(n>>>0>=(c[R>>2]|0)>>>0){aa=2638;break a}o=c[_>>2]|0;I=n-o>>4;k=((m|0)<0?I:0)+m|0;if(k>>>0>=I>>>0){aa=2640;break a}I=o+(k<<4)|0;c[T>>2]=n+16;c[n>>2]=c[I>>2];c[n+4>>2]=c[I+4>>2];c[n+8>>2]=c[I+8>>2];c[n+12>>2]=c[I+12>>2];if(c[n>>2]&8|0){I=(c[n+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}k=c[_>>2]|0;m=(c[T>>2]|0)-k|0;n=m>>4;k=x>>>0>>0?k+(x<<4)|0:0;k=(k|0)==0?944:k;if((c[k>>2]|0)!=9){aa=2645;break a}t=c[k+8>>2]|0;if(!t){aa=2645;break a}p=(m|0)<16?-2147483648:n+-1|0;q=p+-1|0;po(ba,q,1);m=c[T>>2]|0;I=c[_>>2]|0;n=I;H=m-n>>4;r=(p|0)<1;k=(r?H:0)+q|0;k=k>>>0>>0?I+(k<<4)|0:0;k=(k|0)==0?944:k;if((c[k>>2]|0)==8?(va=c[k+8>>2]|0,(va|0)!=0):0){o=va;k=n}else{Ho(ba,q)|0;m=c[T>>2]|0;I=c[_>>2]|0;n=I;H=m-n>>4;k=(r?H:0)+q|0;k=k>>>0>>0?I+(k<<4)|0:0;k=(k|0)==0?944:k;if((c[k>>2]|0)==8){o=c[k+8>>2]|0;k=n}else{o=0;k=n}}I=m-k>>4;H=(r?I:0)+q|0;if((H|0)<0|H>>>0>=I>>>0){aa=2651;break a}pp(ba,639,t,o,p,0,0,1)|0;_n(ba,q);i=i+2|0;if(i>>>0>=v>>>0){I=y;y=I;continue b}}}case -72:case -73:{i=r>>>16;k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=2654;break a}m=c[_>>2]|0;if(i>>>0>=k-m>>4>>>0){aa=2656;break a}I=m+(i<<4)|0;c[T>>2]=k+16;c[k>>2]=c[I>>2];c[k+4>>2]=c[I+4>>2];c[k+8>>2]=c[I+8>>2];c[k+12>>2]=c[I+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=i+1|0;k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0){aa=2660;break a}m=c[_>>2]|0;if(i>>>0>=k-m>>4>>>0){aa=2662;break a}I=m+(i<<4)|0;c[T>>2]=k+16;c[k>>2]=c[I>>2];c[k+4>>2]=c[I+4>>2];c[k+8>>2]=c[I+8>>2];c[k+12>>2]=c[I+12>>2];if(c[k>>2]&8|0){I=(c[k+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}qp(ba,r>>>8&255,(n|0)==183?822:694);I=y;y=I;continue b}case -70:case -71:{q=r>>>8&255;i=r>>>16&255;k=c[_>>2]|0;if((n|0)==186)i=~~+h[k+(i<<4)+8>>3]>>>0;p=i+(r>>>24)|0;o=~~+h[k+(i<<4)+8>>3]>>>0;i=i+1|0;do{m=c[T>>2]|0;if(m>>>0>=(c[R>>2]|0)>>>0){aa=2670;break a}n=c[_>>2]|0;I=m-n>>4;k=((i|0)<0?I:0)+i|0;if(k>>>0>=I>>>0){aa=2672;break a}I=n+(k<<4)|0;c[T>>2]=m+16;c[m>>2]=c[I>>2];c[m+4>>2]=c[I+4>>2];c[m+8>>2]=c[I+8>>2];c[m+12>>2]=c[I+12>>2];if(c[m>>2]&8|0){I=(c[m+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}k=c[_>>2]|0;k=q>>>0<(c[T>>2]|0)-k>>4>>>0?k+(q<<4)|0:0;k=(k|0)==0?944:k;if((c[k>>2]|0)!=9){aa=2677;break a}k=c[k+8>>2]|0;if(!k){aa=2677;break a}rp(ba,k,o);i=i+1|0;o=o+1|0}while(i>>>0

>>0);i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2680;break a}I=q>>>0>2]|0)>>4>>>0?q:-2147483648;c[T>>2]=i+16;c[i>>2]=0;h[i+8>>3]=+(o>>>0);sp(ba,I,80);I=y;y=I;continue b}case -69:{I=c[_>>2]|0;c[(c[I+(r>>>4&4080)+8>>2]|0)+40>>2]=~~+h[I+(r>>>12&1048560)+8>>3]>>>0;I=y;y=I;continue b}case -68:{t=r>>>16&255;i=r>>>24;k=c[T>>2]|0;r=c[_>>2]|0;m=r;n=i>>>0>4>>>0;o=r+(i<<4)|0;I=n?o:0;p=k;q=p>>>0<(c[R>>2]|0)>>>0;if((c[((I|0)==0?944:I)>>2]&-2|0)==2){if(!q){aa=2685;break a}i=p+16|0;c[T>>2]=i;c[p>>2]=3;i=i-m>>4;if(!i){aa=2687;break a}k=r+(i+-1<<4)|0;if(t>>>0>=i>>>0){aa=2689;break a}H=r+(t<<4)|0;I=c[H>>2]|0;i=c[r+(t<<4)+8>>2]|0;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];c[H+8>>2]=c[k+8>>2];c[H+12>>2]=c[k+12>>2];c[k>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}if(!q){aa=2694;break a}if(!n){aa=2696;break a}c[T>>2]=p+16;I=k;c[I>>2]=c[o>>2];c[I+4>>2]=c[o+4>>2];c[I+8>>2]=c[o+8>>2];c[I+12>>2]=c[o+12>>2];if(c[p>>2]&8|0){I=(c[p+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}vo(ba,-1);tp(ba,0);i=c[_>>2]|0;k=(c[T>>2]|0)-i>>4;if(!k){aa=2700;break a}m=i+(k+-1<<4)|0;if(t>>>0>=k>>>0){aa=2702;break a}H=i+(t<<4)|0;I=c[H>>2]|0;i=c[i+(t<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}case -67:{p=r>>>16&255;i=r>>>24;k=c[T>>2]|0;n=c[_>>2]|0;m=i>>>0>4>>>0;n=n+(i<<4)|0;I=m?n:0;o=k;if((c[((I|0)==0?944:I)>>2]|0)!=9){I=y;y=I;continue b}if(o>>>0>=(c[R>>2]|0)>>>0){aa=2708;break a}if(!m){aa=2710;break a}c[T>>2]=o+16;I=k;c[I>>2]=c[n>>2];c[I+4>>2]=c[n+4>>2];c[I+8>>2]=c[n+8>>2];c[I+12>>2]=c[n+12>>2];if(c[o>>2]&8|0){I=(c[o+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}if(!(up(ba,0)|0)){i=(c[T>>2]|0)+16|0;c[T>>2]=i}else{c[ha>>2]=(c[ha>>2]|0)+4;i=c[T>>2]|0}k=c[_>>2]|0;i=i-k>>4;if(!i){aa=2717;break a}m=k+(i+-1<<4)|0;if(p>>>0>=i>>>0){aa=2719;break a}H=k+(p<<4)|0;I=c[H>>2]|0;i=c[k+(p<<4)+8>>2]|0;c[H>>2]=c[m>>2];c[H+4>>2]=c[m+4>>2];c[H+8>>2]=c[m+8>>2];c[H+12>>2]=c[m+12>>2];c[m>>2]=2;c[T>>2]=(c[T>>2]|0)+-16;if(!(I&8)){I=y;y=I;continue b}H=i+4|0;I=(c[H>>2]|0)+-1|0;c[H>>2]=I;if(I|0){I=y;y=I;continue b}go(c[$>>2]|0,i);I=y;y=I;continue b}default:{I=y;y=I;continue b}}while(0)}ia:do if((aa|0)==2463){aa=0;c[(c[S>>2]|0)+28>>2]=i;c[Q>>2]=0;i=(c[_>>2]|0)+(r>>>12&1048560)|0;R=c[T>>2]|0;c[R>>2]=c[i>>2];c[R+4>>2]=c[i+4>>2];c[R+8>>2]=c[i+8>>2];c[R+12>>2]=c[i+12>>2];if(c[i>>2]&8|0){R=(c[i+8>>2]|0)+4|0;c[R>>2]=(c[R>>2]|0)+1}c[T>>2]=(c[T>>2]|0)+16}else if((aa|0)==2466){aa=0;c[(c[S>>2]|0)+28>>2]=k;c[Q>>2]=0;i=J+(r>>>12&1048560)|0;R=c[T>>2]|0;c[R>>2]=c[i>>2];c[R+4>>2]=c[i+4>>2];c[R+8>>2]=c[i+8>>2];c[R+12>>2]=c[i+12>>2];if(c[i>>2]&8|0){R=(c[i+8>>2]|0)+4|0;c[R>>2]=(c[R>>2]|0)+1}c[T>>2]=(c[T>>2]|0)+16}else if((aa|0)==2469){aa=0;c[(c[S>>2]|0)+28>>2]=k;c[Q>>2]=0;Q=J+(r>>>12&1048560)|0;R=c[T>>2]|0;c[R>>2]=c[Q>>2];c[R+4>>2]=c[Q+4>>2];c[R+8>>2]=c[Q+8>>2];c[R+12>>2]=c[Q+12>>2];c[T>>2]=(c[T>>2]|0)+16}else if((aa|0)==2470){aa=0;c[(c[S>>2]|0)+28>>2]=k;c[Q>>2]=0;c[T>>2]=(c[T>>2]|0)+16}else if((aa|0)==2480){aa=0;c[(c[S>>2]|0)+28>>2]=i;c[Q>>2]=0;kp(ba,r>>>16,4);i=y;continue a}else if((aa|0)==2481){aa=0;c[(c[S>>2]|0)+28>>2]=i;c[Q>>2]=0;kp(ba,r>>>16,5);i=y;continue a}else if((aa|0)==2551){aa=0;c[(c[S>>2]|0)+28>>2]=i;c[Q>>2]=0;k=c[U>>2]|0;m=c[X>>2]|0;p=c[Y>>2]|0;n=k+(m*20|0)+-20+12|0;q=c[n>>2]|0;r=p+(q<<4)|0;o=~~+h[r+16+8>>3]>>>0;switch(o|0){case 7:{i=m+-1|0;if((m|0?c[k+(i*20|0)+16>>2]&128|0:0)?(ba=(c[W>>2]|0)+((c[k+(i*20|0)+8>>2]|0)*48|0)+24|0,ta=c[ba>>2]|0,_=c[ta+20>>2]|0,c[ba>>2]=_,_=_+4|0,c[_>>2]=(c[_>>2]|0)+1,_=ta+4|0,ba=(c[_>>2]|0)+-1|0,c[_>>2]=ba,(ba|0)==0):0)bo(c[$>>2]|0,ta);c[X>>2]=i;i=c[$>>2]|0;if(!(c[i+32>>2]|0)){i=y;continue a}Rn(i);i=y;continue a}case 6:{i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0){aa=2559;break a}c[T>>2]=i+16;c[i>>2]=c[r>>2];c[i+4>>2]=c[r+4>>2];c[i+8>>2]=c[r+8>>2];c[i+12>>2]=c[r+12>>2];if(!(c[r>>2]&8))break ia;R=(c[p+(q<<4)+8>>2]|0)+4|0;c[R>>2]=(c[R>>2]|0)+1;break ia}case 5:case 4:{kp(ba,~~+h[p+(q<<4)+8>>3]>>>0,o);i=y;continue a}default:{aa=2563;break a}}}while(0);m=c[U>>2]|0;o=c[V>>2]|0;n=o+-1|0;k=m+((c[X>>2]|0)*20|0)|0;while(1){i=k+-20|0;if(i>>>0>>0)break;if((c[k+-12>>2]|0)!=(n|0))break;if((c[k+-4>>2]&47|0)==33){aa=2730;break}else k=i}if((aa|0)==2730){aa=0;Vo(ba,(i-m|0)/20|0,(c[T>>2]|0)+-16|0,6);i=y;continue}p=(k-m|0)/20|0;if((ba|0)==(f|0)&(o|0)==(g|0)){aa=2760;break}x=c[T>>2]|0;if(o>>>0<=1){t=ba+116|0;v=c[t>>2]|0;m=c[v+96>>2]|0;n=m+-2|0;o=x+-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>>2]=c[n+4>>2];c[m+8>>2]=c[n+8>>2];c[m+12>>2]=c[n+12>>2];S=i+4|0;T=(c[S>>2]|0)+-1|0;c[S>>2]=T;if(!T)go(c[$>>2]|0,i)}else{c[m>>2]=c[n>>2];c[m+4>>2]=c[n+4>>2];c[m+8>>2]=c[n+8>>2];c[m+12>>2]=c[n+12>>2]}i=c[X>>2]|0;if(i>>>0>p>>>0)do{i=i+-1|0;k=c[U>>2]|0;if(c[k+(i*20|0)+16>>2]&128|0?(T=(c[W>>2]|0)+((c[k+(i*20|0)+8>>2]|0)*48|0)+24|0,wa=c[T>>2]|0,S=c[wa+20>>2]|0,c[T>>2]=S,S=S+4|0,c[S>>2]=(c[S>>2]|0)+1,S=wa+4|0,T=(c[S>>2]|0)+-1|0,c[S>>2]=T,(T|0)==0):0)bo(c[$>>2]|0,wa)}while(i>>>0>p>>>0);c[X>>2]=p;eo(ba,(c[V>>2]|0)+-1|0);i=(c[V>>2]|0)+-1|0;k=c[W>>2]|0;m=c[k+(i*48|0)+16>>2]|0;$=c[k+(i*48|0)+36>>2]|0;c[_>>2]=(c[Y>>2]|0)+($<<4);_n(ba,1-$+(c[k+(i*48|0)+40>>2]|0)|0);m=m+60|0;i=b[m>>1]|0;k=(i&65535)+64+((c[_>>2]|0)-(c[Y>>2]|0)>>4)|0;$=c[Z>>2]|0;if(!($>>>0>=k>>>0&($-k|0)>>>0<256)){Yn(ba,k,5)|0;i=b[m>>1]|0}_n(ba,i&65535);i=y}switch(aa|0){case 50:{$n(ba,342,n);break}case 56:{$n(ba,342,n);break}case 77:{$n(ba,267,k);break}case 87:{$n(ba,267,k);break}case 118:{Jn(ba,268491,50336767,268507);break}case 160:break;case 174:break;case 188:break;case 202:break;case 216:break;case 230:break;case 244:break;case 258:break;case 344:{Sn(ba,3761);break}case 348:{Sn(ba,3761);break}case 355:{$n(ba,267,-2);break}case 360:{$n(ba,267,-1);break}case 366:{Jn(ba,268491,50336767,268507);break}case 372:{Sn(ba,3835);break}case 375:{$n(ba,342,-1);break}case 377:{$n(ba,342,p);break}case 387:{Sn(ba,3761);break}case 391:{Sn(ba,3761);break}case 398:{$n(ba,267,-2);break}case 403:{$n(ba,267,-1);break}case 409:{Jn(ba,268491,50336767,268507);break}case 415:{Sn(ba,3835);break}case 418:{$n(ba,342,-1);break}case 420:{$n(ba,342,p);break}case 430:{Sn(ba,3761);break}case 434:{Sn(ba,3761);break}case 441:{$n(ba,267,-2);break}case 446:{$n(ba,267,-1);break}case 452:{Jn(ba,268491,50336767,268507);break}case 458:{Sn(ba,3835);break}case 461:{$n(ba,342,-1);break}case 463:{$n(ba,342,p);break}case 473:{Sn(ba,3761);break}case 477:{Sn(ba,3761);break}case 484:{$n(ba,267,-2);break}case 489:{$n(ba,267,-1);break}case 495:{Jn(ba,268491,50336767,268507);break}case 501:{Sn(ba,3835);break}case 504:{$n(ba,342,-1);break}case 506:{$n(ba,342,p);break}case 514:{Sn(ba,3761);break}case 518:{Sn(ba,3761);break}case 522:{$n(ba,267,-2);break}case 527:{$n(ba,267,-1);break}case 533:{Jn(ba,268491,50336767,268507);break}case 545:{Sn(ba,3761);break}case 549:{Sn(ba,3761);break}case 553:{$n(ba,267,-2);break}case 558:{$n(ba,267,-1);break}case 564:{Jn(ba,268491,50336767,268507);break}case 576:{Sn(ba,3761);break}case 580:{Sn(ba,3761);break}case 584:{$n(ba,267,-2);break}case 589:{$n(ba,267,-1);break}case 595:{Jn(ba,268491,50336767,268507);break}case 607:{Sn(ba,3761);break}case 611:{Sn(ba,3761);break}case 615:{$n(ba,267,-2);break}case 620:{$n(ba,267,-1);break}case 626:{Jn(ba,268491,50336767,268507);break}case 638:{Sn(ba,3761);break}case 642:{Sn(ba,3761);break}case 646:{$n(ba,267,-2);break}case 651:{$n(ba,267,-1);break}case 657:{Jn(ba,268491,50336767,268507);break}case 669:{Sn(ba,3761);break}case 673:{Sn(ba,3761);break}case 677:{$n(ba,267,-2);break}case 682:{$n(ba,267,-1);break}case 688:{Jn(ba,268491,50336767,268507);break}case 700:{Sn(ba,3761);break}case 704:{Sn(ba,3761);break}case 708:{$n(ba,267,-2);break}case 713:{$n(ba,267,-1);break}case 719:{Jn(ba,268491,50336767,268507);break}case 731:{Sn(ba,3761);break}case 735:{Sn(ba,3761);break}case 739:{$n(ba,267,-2);break}case 744:{$n(ba,267,-1);break}case 750:{Jn(ba,268491,50336767,268507);break}case 762:{Sn(ba,3761);break}case 766:{Sn(ba,3761);break}case 770:{$n(ba,267,-2);break}case 775:{$n(ba,267,-1);break}case 781:{Jn(ba,268491,50336767,268507);break}case 793:{Sn(ba,3761);break}case 797:{Sn(ba,3761);break}case 801:{$n(ba,267,-2);break}case 806:{$n(ba,267,-1);break}case 812:{Jn(ba,268491,50336767,268507);break}case 824:{Sn(ba,3761);break}case 828:{Sn(ba,3761);break}case 832:{$n(ba,267,-2);break}case 837:{$n(ba,267,-1);break}case 843:{Jn(ba,268491,50336767,268507);break}case 855:{Sn(ba,3761);break}case 859:{Sn(ba,3761);break}case 863:{$n(ba,267,-2);break}case 868:{$n(ba,267,-1);break}case 874:{Jn(ba,268491,50336767,268507);break}case 886:{Sn(ba,3761);break}case 890:{Sn(ba,3761);break}case 894:{$n(ba,267,-2);break}case 899:{$n(ba,267,-1);break}case 905:{Jn(ba,268491,50336767,268507);break}case 917:{Sn(ba,3761);break}case 921:{Sn(ba,3761);break}case 925:{$n(ba,267,-2);break}case 930:{$n(ba,267,-1);break}case 936:{Jn(ba,268491,50336767,268507);break}case 948:{Sn(ba,3761);break}case 952:{Sn(ba,3761);break}case 956:{$n(ba,267,-2);break}case 961:{$n(ba,267,-1);break}case 967:{Jn(ba,268491,50336767,268507);break}case 979:{Sn(ba,3761);break}case 983:{Sn(ba,3761);break}case 987:{$n(ba,267,-2);break}case 992:{$n(ba,267,-1);break}case 998:{Jn(ba,268491,50336767,268507);break}case 1010:{Sn(ba,3761);break}case 1014:{Sn(ba,3761);break}case 1018:{$n(ba,267,-2);break}case 1023:{$n(ba,267,-1);break}case 1029:{Jn(ba,268491,50336767,268507);break}case 1044:{Sn(ba,3761);break}case 1048:{Sn(ba,3761);break}case 1052:{$n(ba,267,-2);break}case 1057:{$n(ba,267,-1);break}case 1063:{Jn(ba,268491,50336767,268507);break}case 1078:{Sn(ba,3761);break}case 1082:{Sn(ba,3761);break}case 1086:{$n(ba,267,-2);break}case 1091:{$n(ba,267,-1);break}case 1097:{Jn(ba,268491,50336767,268507);break}case 1112:{Sn(ba,3761);break}case 1116:{Sn(ba,3761);break}case 1120:{$n(ba,267,-2);break}case 1125:{$n(ba,267,-1);break}case 1131:{Jn(ba,268491,50336767,268507);break}case 1143:{Sn(ba,3761);break}case 1147:{Sn(ba,3761);break}case 1151:{$n(ba,342,-2);break}case 1157:{$n(ba,342,-2);break}case 1162:{$n(ba,342,-1);break}case 1168:{$n(ba,342,-1);break}case 1174:{Jn(ba,268491,50336767,268507);break}case 1183:{Sn(ba,3761);break}case 1187:{Sn(ba,3761);break}case 1191:{$n(ba,342,-2);break}case 1197:{$n(ba,342,-2);break}case 1202:{$n(ba,342,-1);break}case 1208:{$n(ba,342,-1);break}case 1214:{Jn(ba,268491,50336767,268507);break}case 1223:{Sn(ba,3761);break}case 1227:{Sn(ba,3761);break}case 1231:{$n(ba,342,-2);break}case 1237:{$n(ba,342,-2);break}case 1242:{$n(ba,342,-1);break}case 1248:{$n(ba,342,-1);break}case 1254:{Jn(ba,268491,50336767,268507);break}case 1263:{Sn(ba,3761);break}case 1267:{Sn(ba,3761);break}case 1271:{$n(ba,342,-2);break}case 1277:{$n(ba,342,-2);break}case 1282:{$n(ba,342,-1);break}case 1288:{$n(ba,342,-1);break}case 1294:{Jn(ba,268491,50336767,268507);break}case 1303:{Sn(ba,3761);break}case 1307:{Sn(ba,3761);break}case 1311:{$n(ba,342,-2);break}case 1317:{$n(ba,342,-2);break}case 1322:{$n(ba,342,-1);break}case 1328:{$n(ba,342,-1);break}case 1334:{Jn(ba,268491,50336767,268507);break}case 1343:{Sn(ba,3761);break}case 1347:{Sn(ba,3761);break}case 1351:{$n(ba,342,-2);break}case 1357:{$n(ba,342,-2);break}case 1362:{$n(ba,342,-1);break}case 1368:{$n(ba,342,-1);break}case 1374:{Jn(ba,268491,50336767,268507);break}case 1383:{Sn(ba,3761);break}case 1387:{Sn(ba,3761);break}case 1391:{$n(ba,342,-2);break}case 1397:{$n(ba,342,-2);break}case 1402:{$n(ba,342,-1);break}case 1408:{$n(ba,342,-1);break}case 1414:{Jn(ba,268491,50336767,268507);break}case 1423:{Sn(ba,3761);break}case 1427:{Sn(ba,3761);break}case 1431:{$n(ba,342,-2);break}case 1437:{$n(ba,342,-2);break}case 1442:{$n(ba,342,-1);break}case 1448:{$n(ba,342,-1);break}case 1454:{Jn(ba,268491,50336767,268507);break}case 1463:{Sn(ba,3761);break}case 1467:{Sn(ba,3761);break}case 1471:{$n(ba,342,-2);break}case 1477:{$n(ba,342,-2);break}case 1482:{$n(ba,342,-1);break}case 1488:{$n(ba,342,-1);break}case 1494:{Jn(ba,268491,50336767,268507);break}case 1503:{Sn(ba,3761);break}case 1507:{Sn(ba,3761);break}case 1511:{$n(ba,342,-2);break}case 1517:{$n(ba,342,-2);break}case 1522:{$n(ba,342,-1);break}case 1528:{$n(ba,342,-1);break}case 1534:{Jn(ba,268491,50336767,268507);break}case 1543:{Sn(ba,3761);break}case 1547:{Sn(ba,3761);break}case 1551:{$n(ba,342,-2);break}case 1557:{$n(ba,342,-2);break}case 1562:{$n(ba,342,-1);break}case 1568:{$n(ba,342,-1);break}case 1574:{Jn(ba,268491,50336767,268507);break}case 1583:{Sn(ba,3761);break}case 1587:{Sn(ba,3761);break}case 1591:{$n(ba,342,-2);break}case 1597:{$n(ba,342,-2);break}case 1602:{$n(ba,342,-1);break}case 1608:{$n(ba,342,-1);break}case 1614:{Jn(ba,268491,50336767,268507);break}case 1623:{Sn(ba,3761);break}case 1627:{Sn(ba,3761);break}case 1631:{$n(ba,342,-2);break}case 1637:{$n(ba,342,-2);break}case 1642:{$n(ba,342,-1);break}case 1648:{$n(ba,342,-1);break}case 1654:{Jn(ba,268491,50336767,268507);break}case 1663:{Sn(ba,3761);break}case 1667:{Sn(ba,3761);break}case 1671:{$n(ba,342,-2);break}case 1677:{$n(ba,342,-2);break}case 1682:{$n(ba,342,-1);break}case 1688:{$n(ba,342,-1);break}case 1694:{Jn(ba,268491,50336767,268507);break}case 1703:{Sn(ba,3761);break}case 1707:{Sn(ba,3761);break}case 1711:{$n(ba,342,-2);break}case 1717:{$n(ba,342,-2);break}case 1722:{$n(ba,342,-1);break}case 1728:{$n(ba,342,-1);break}case 1734:{Jn(ba,268491,50336767,268507);break}case 1743:{Sn(ba,3761);break}case 1747:{Sn(ba,3761);break}case 1751:{$n(ba,342,-2);break}case 1757:{$n(ba,342,-2);break}case 1762:{$n(ba,342,-1);break}case 1768:{$n(ba,342,-1);break}case 1774:{Jn(ba,268491,50336767,268507);break}case 1783:{Sn(ba,3761);break}case 1787:{Sn(ba,3761);break}case 1791:{$n(ba,342,-2);break}case 1797:{$n(ba,342,-2);break}case 1802:{$n(ba,342,-1);break}case 1808:{$n(ba,342,-1);break}case 1814:{Jn(ba,268491,50336767,268507);break}case 1823:{Sn(ba,3761);break}case 1827:{Sn(ba,3761);break}case 1831:{$n(ba,342,-2);break}case 1837:{$n(ba,342,-2);break}case 1842:{$n(ba,342,-1);break}case 1848:{$n(ba,342,-1);break}case 1854:{Jn(ba,268491,50336767,268507);break}case 1863:{Sn(ba,3761);break}case 1867:{Sn(ba,3761);break}case 1871:{$n(ba,342,-2);break}case 1877:{$n(ba,342,-2);break}case 1882:{$n(ba,342,-1);break}case 1888:{$n(ba,342,-1);break}case 1894:{Jn(ba,268491,50336767,268507);break}case 1903:{Sn(ba,3761);break}case 1907:{Sn(ba,3761);break}case 1911:{$n(ba,342,-2);break}case 1917:{$n(ba,342,-2);break}case 1922:{$n(ba,342,-1);break}case 1928:{$n(ba,342,-1);break}case 1934:{Jn(ba,268491,50336767,268507);break}case 1943:{Sn(ba,3761);break}case 1947:{Sn(ba,3761);break}case 1951:{$n(ba,342,-2);break}case 1957:{$n(ba,342,-2);break}case 1962:{$n(ba,342,-1);break}case 1968:{$n(ba,342,-1);break}case 1974:{Jn(ba,268491,50336767,268507);break}case 1983:{Sn(ba,3761);break}case 1987:{Sn(ba,3761);break}case 1991:{$n(ba,342,-2);break}case 1997:{$n(ba,342,-2);break}case 2002:{$n(ba,342,-1);break}case 2008:{$n(ba,342,-1);break}case 2014:{Jn(ba,268491,50336767,268507);break}case 2023:{Sn(ba,3761);break}case 2027:{Sn(ba,3761);break}case 2031:{$n(ba,342,-2);break}case 2037:{$n(ba,342,-2);break}case 2042:{$n(ba,342,-1);break}case 2048:{$n(ba,342,-1);break}case 2054:{Jn(ba,268491,50336767,268507);break}case 2063:{Sn(ba,3761);break}case 2067:{Sn(ba,3761);break}case 2071:{$n(ba,342,-2);break}case 2077:{$n(ba,342,-2);break}case 2082:{$n(ba,342,-1);break}case 2088:{$n(ba,342,-1);break}case 2094:{Jn(ba,268491,50336767,268507);break}case 2129:{$n(ba,267,n);break}case 2134:{Sn(ba,3835);break}case 2136:{$n(ba,342,-1);break}case 2138:{$n(ba,342,n);break}case 2149:{$n(ba,267,n);break}case 2154:{Sn(ba,3835);break}case 2156:{$n(ba,342,-1);break}case 2158:{$n(ba,342,n);break}case 2169:{$n(ba,267,n);break}case 2174:{Sn(ba,3835);break}case 2176:{$n(ba,342,-1);break}case 2178:{$n(ba,342,n);break}case 2189:{$n(ba,267,n);break}case 2194:{Sn(ba,3835);break}case 2196:{$n(ba,342,-1);break}case 2198:{$n(ba,342,n);break}case 2207:{$n(ba,267,-2);break}case 2213:{Jn(ba,268491,50336767,268507);break}case 2219:{Sn(ba,3835);break}case 2224:{$n(ba,267,-2);break}case 2230:{Jn(ba,268491,50336767,268507);break}case 2236:{Sn(ba,3835);break}case 2241:{$n(ba,267,-2);break}case 2246:{Sn(ba,3835);break}case 2249:{Jn(ba,268491,50336767,268507);break}case 2258:{$n(ba,267,-2);break}case 2263:{Sn(ba,3835);break}case 2266:{Jn(ba,268491,50336767,268507);break}case 2279:{$n(ba,267,-1);break}case 2284:{Jn(ba,268491,50336874,268507);break}case 2289:{Sn(ba,3835);break}case 2295:{Jn(ba,268491,50336874,268507);break}case 2330:{Sn(ba,3761);break}case 2368:{Sn(ba,3761);break}case 2376:{Sn(ba,3761);break}case 2378:{Sn(ba,3761);break}case 2380:{Sn(ba,3761);break}case 2385:{In(ba,1834,-3,268820);break}case 2391:{Jn(ba,268491,50336874,268507);break}case 2396:{Jn(ba,268491,50336874,268507);break}case 2400:{Jn(ba,269146,100665010,269159);break}case 2406:{Jn(ba,268491,50336874,268507);break}case 2413:{Sn(ba,3761);break}case 2419:{Sn(ba,3761);break}case 2428:{$n(ba,342,-1);break}case 2430:{$n(ba,342,i);break}case 2435:{$n(ba,342,-1);break}case 2437:{$n(ba,342,o);break}case 2447:{Jn(ba,268491,50336874,268507);break}case 2483:{Sn(ba,935);break}case 2485:{$n(ba,342,o);break}case 2489:{$n(ba,342,o);break}case 2494:{$n(ba,342,i);break}case 2511:{Jn(ba,268491,50336874,268507);break}case 2559:{Sn(ba,3761);break}case 2563:{i=c[T>>2]|0;if(i>>>0>=(c[R>>2]|0)>>>0)Sn(ba,3761);c[T>>2]=i+16;c[i>>2]=c[r>>2];c[i+4>>2]=c[r+4>>2];c[i+8>>2]=c[r+8>>2];c[i+12>>2]=c[r+12>>2];if(!(c[r>>2]&8)){xa=c[Y>>2]|0;ya=c[n>>2]|0;ya=xa+(ya<<4)|0;xa=c[$>>2]|0;lp(xa,o,ya);Do(ba)}xa=(c[p+(q<<4)+8>>2]|0)+4|0;c[xa>>2]=(c[xa>>2]|0)+1;xa=c[Y>>2]|0;ya=c[n>>2]|0;ya=xa+(ya<<4)|0;xa=c[$>>2]|0;lp(xa,o,ya);Do(ba);break}case 2568:{m=r>>>16;c[(c[S>>2]|0)+28>>2]=i;c[Q>>2]=0;k=c[T>>2]|0;if(k>>>0>=(c[R>>2]|0)>>>0)Sn(ba,935);i=c[_>>2]|0;if(m>>>0>=k-i>>4>>>0)$n(ba,342,m);ya=i+(m<<4)|0;c[T>>2]=k+16;c[k>>2]=c[ya>>2];c[k+4>>2]=c[ya+4>>2];c[k+8>>2]=c[ya+8>>2];c[k+12>>2]=c[ya+12>>2];if(!(c[k>>2]&8)){mp(ba);ya=c[T>>2]|0;ya=ya+-16|0;xa=c[$>>2]|0;lp(xa,1,ya);Do(ba)}ya=(c[k+8>>2]|0)+4|0;c[ya>>2]=(c[ya>>2]|0)+1;mp(ba);ya=c[T>>2]|0;ya=ya+-16|0;xa=c[$>>2]|0;lp(xa,1,ya);Do(ba);break}case 2587:{Tn(ba,268521,942);break}case 2591:{Tn(ba,268521,942);break}case 2600:{$n(ba,342,-1);break}case 2602:{$n(ba,342,p);break}case 2607:{Sn(ba,4255);break}case 2632:{Sn(ba,935);break}case 2634:{$n(ba,342,i);break}case 2638:{Sn(ba,935);break}case 2640:{$n(ba,342,m);break}case 2645:{In(ba,1834,x,268820);break}case 2651:{$n(ba,362,q);break}case 2654:{Sn(ba,935);break}case 2656:{$n(ba,342,i);break}case 2660:{Sn(ba,935);break}case 2662:{$n(ba,342,i);break}case 2670:{Sn(ba,935);break}case 2672:{$n(ba,342,i);break}case 2677:{In(ba,1834,q,268820);break}case 2680:{Sn(ba,3902);break}case 2685:{Sn(ba,3787);break}case 2687:{$n(ba,342,-1);break}case 2689:{$n(ba,342,t);break}case 2694:{Sn(ba,935);break}case 2696:{$n(ba,342,i);break}case 2700:{$n(ba,342,-1);break}case 2702:{$n(ba,342,t);break}case 2708:{Sn(ba,935);break}case 2710:{$n(ba,342,i);break}case 2717:{$n(ba,342,-1);break}case 2719:{$n(ba,342,p);break}case 2723:{Jn(ba,269128,67113834,269178);break}case 2724:{c[xa>>2]=r>>>8;ao(ba,269128,16782219,269193,xa);break}case 2725:{Jn(ba,269128,16782305,269214);break}case 2760:{l=ya;return}}}function Do(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=l;l=l+80|0;h=d;d=d+8|0;e=b+44|0;f=c[e>>2]|0;g=f+56|0;c[g>>2]=(c[g>>2]|0)+1;g=c[f+72>>2]|0;if(g|0)Of(g|0,1);c[h>>2]=Eo(b,f+88|0,1)|0;NO(d,64,268894,h);a[d+63>>0]=0;h=c[e>>2]|0;Bg[c[h+20>>2]&255](c[h+16>>2]|0,d);while(1){}}function Eo(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+256|0;j=q+16|0;g=q+8|0;k=q;p=q+20|0;a:do if(!e){g=b+76|0;if((c[g>>2]|0)>>>0<(c[b+68>>2]|0)>>>0){p=Fo(b,268907,4)|0;o=c[g>>2]|0;c[g>>2]=o+16;c[o>>2]=8;c[o+8>>2]=p;p=p+4|0;c[p>>2]=(c[p>>2]|0)+1;break}else Sn(b,3931)}else{h=c[e>>2]|0;switch(h|0){case 8:{n=c[e+8>>2]|0;m=n+28|0;n=m+(c[n+20>>2]|0)|0;g=p+1|0;a[p>>0]=39;b:do if(m>>>0>>0){k=0;f=m;while(1){if((k|0)==32)break;j=f+1|0;c:do if(f>>>0>=m>>>0){f=a[f>>0]|0;h=f&255;do if(f<<24>>24<=-1){if((f&255)<192){o=39;break c}if((f&255)<224){f=1;h=h&31;break}if((f&255)<240){f=2;h=h&15;break}if((f&255)<248){f=3;h=h&7;break}if((f&255)<252){f=4;h=h&3;break}if((f&255)>=254)if(f<<24>>24==-1){o=39;break c}else{f=6;h=0;break}else{f=5;h=h&1;break}}else{f=0;h=h&127}while(0);if((j+f|0)>>>0<=n>>>0){if(!f){i=h;f=j}else{i=f;while(1){f=j+1|0;h=a[j>>0]&63|h<<6;if((i|0)>1){j=f;i=i+-1|0}else{i=h;break}}}d:do if(i>>>0>=32){switch(i|0){case 39:case 92:case 127:break d;default:{}}if(i>>>0<128){j=0;h=1}else{if(i>>>0>=2048)if(i>>>0>=65536)if(i>>>0>=2097152)if(i>>>0<67108864){h=5;o=35}else h=i>>>31|6;else{h=4;o=35}else{h=3;o=35}else{h=2;o=35}if((o|0)==35)o=0;j=a[268912+(h+-1)>>0]|0;e=h;do{e=e+-1|0;a[g+e>>0]=i&63|128;i=i>>>6}while((e|0)>1)}a[g>>0]=i+(j&255);g=g+h|0;break c}while(0);a[g>>0]=92;a[g+1>>0]=120;a[g+2>>0]=a[268698+(i>>>4)>>0]|0;a[g+3>>0]=a[268698+(i&15)>>0]|0;g=g+4|0}else o=39}else o=39;while(0);if((o|0)==39){o=0;a[g>>0]=63;g=g+1|0;f=j}if(f>>>0>>0)k=k+1|0;else break b}a[g>>0]=46;a[g+1>>0]=46;a[g+2>>0]=46;g=g+3|0}while(0);a[g>>0]=39;g=g+1-p|0;f=b+76|0;if((c[f>>2]|0)>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3931);if((g|0)<0)Jn(b,268491,50335592,268919);else{p=Fo(b,p,g)|0;o=c[f>>2]|0;c[f>>2]=o+16;c[o>>2]=8;c[o+8>>2]=p;p=p+4|0;c[p>>2]=(c[p>>2]|0)+1;break a}break}case 9:{h=c[e+8>>2]|0;e:do if(f|0?(i=c[b+208>>2]|0,!((h|0)==0|(i|0)==0)):0){g=1e4;f=h;while(1){if((f|0)==(i|0))break;if(!g)break e;f=c[f+20>>2]|0;if(!f)break e;else g=g+-1|0}g=yo(h,c[(c[b+428>>2]|0)+208>>2]|0)|0;if(g|0){b=Eo(b,g,0)|0;l=q;return b|0}}while(0);c[k>>2]=(c[(c[b+428>>2]|0)+((d[268935+((c[h>>2]|0)>>>27)>>0]|0)<<2)>>2]|0)+28;Go(b,268967,k);break a}case 10:{c[g>>2]=c[(c[e+8>>2]|0)+16>>2];Go(b,268979,g);break a}case 5:{i=b+76|0;g=c[i>>2]|0;if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[i>>2]=g+16;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[j>>2]=Ho(b,-1)|0;Go(b,268992,j);f=c[b+72>>2]|0;h=(c[i>>2]|0)-f>>4;g=h+-2|0;if(h>>>0<=1)$n(b,342,-2);n=f+(g<<4)|0;o=f+(h+-1<<4)|0;p=c[n>>2]|0;g=c[f+(g<<4)+8>>2]|0;DQ(n|0,n+16|0,o-n|0)|0;c[o>>2]=2;c[i>>2]=(c[i>>2]|0)+-16;if(!(p&8))break a;o=g+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(p|0)break a;go(c[b+44>>2]|0,g);break a}default:{g=b+76|0;f=c[g>>2]|0;if(f>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[g>>2]=f+16;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];if(!(h&8))break a;p=(c[e+8>>2]|0)+4|0;c[p>>2]=(c[p>>2]|0)+1;break a}}}while(0);b=Ho(b,-1)|0;l=q;return b|0}function Fo(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0;i=c[a+44>>2]|0;f=c[i+140>>2]^e;h=(e>>>5)+1|0;if(h>>>0>e>>>0)g=f;else{g=e;do{f=(d[b+(g+-1)>>0]|0)+(f*33|0)|0;g=g-h|0}while(g>>>0>=h>>>0);g=f}f=c[(c[i+168>>2]|0)+((c[i+172>>2]&g)<<2)>>2]|0;a:do if(f|0){while(1){if(((c[f+12>>2]|0)==(g|0)?(c[f+20>>2]|0)==(e|0):0)?(xN(b,f+28|0,e)|0)==0:0)break;f=c[f+8>>2]|0;if(!f)break a}return f|0}while(0);f=no(i,b,e,g)|0;if(!f)Mn(a,269042,789);else{a=f;return a|0}return 0}function Go(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=d;So(a,b,f);l=e;return}function Ho(b,d){b=b|0;d=d|0;var 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;z=l;l=l+80|0;u=z+72|0;r=z+8|0;h=z;w=b+76|0;g=c[w>>2]|0;x=b+72|0;i=c[x>>2]|0;q=g-i>>4;y=((d|0)<0?q:0)+d|0;j=g;if(y>>>0>=q>>>0)$n(b,267,d);d=i+(y<<4)|0;f=c[d>>2]|0;a:do switch(f|0){case 2:{d=c[(c[b+428>>2]|0)+232>>2]|0;if(j>>>0<(c[b+68>>2]|0)>>>0){c[w>>2]=j+16;c[j>>2]=8;c[j+8>>2]=d;v=d+4|0;c[v>>2]=(c[v>>2]|0)+1;v=45;break a}else Sn(b,3761);break}case 3:{d=c[(c[b+428>>2]|0)+608>>2]|0;if(j>>>0<(c[b+68>>2]|0)>>>0){c[w>>2]=j+16;c[j>>2]=8;c[j+8>>2]=d;v=d+4|0;c[v>>2]=(c[v>>2]|0)+1;v=45;break a}else Sn(b,3761);break}case 4:{d=c[b+428>>2]|0;if(!(c[i+(y<<4)+8>>2]|0)){d=c[d+616>>2]|0;if(j>>>0<(c[b+68>>2]|0)>>>0){c[w>>2]=j+16;c[j>>2]=8;c[j+8>>2]=d;v=d+4|0;c[v>>2]=(c[v>>2]|0)+1;v=45;break a}else Sn(b,3761)}else{d=c[d+612>>2]|0;if(j>>>0<(c[b+68>>2]|0)>>>0){c[w>>2]=j+16;c[j>>2]=8;c[j+8>>2]=d;v=d+4|0;c[v>>2]=(c[v>>2]|0)+1;v=45;break a}else Sn(b,3761)}break}case 8:{if(!(c[c[i+(y<<4)+8>>2]>>2]&512))e=g;else Jn(b,268491,100666186,268997);break}case 9:case 10:{po(b,y,1);b=Ho(b,y)|0;l=z;return b|0}case 5:{d=c[i+(y<<4)+8>>2]|0;if(d|0){c[h>>2]=d;Go(b,280284,h);v=45;break a}d=c[(c[b+428>>2]|0)+608>>2]|0;if(j>>>0<(c[b+68>>2]|0)>>>0){c[w>>2]=j+16;c[j>>2]=8;c[j+8>>2]=d;v=d+4|0;c[v>>2]=(c[v>>2]|0)+1;v=45;break a}else Sn(b,3761);break}case 6:{p=c[i+(y<<4)+4>>2]|0;q=b+68|0;if(j>>>0>=(c[q>>2]|0)>>>0)Sn(b,3931);m=c[i+(y<<4)+8>>2]|0;d=Fo(b,269025,9)|0;f=c[w>>2]|0;c[w>>2]=f+16;c[f>>2]=8;c[f+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;Go(b,269035,r);d=a[268698+(m>>>28)>>0]|0;a[r>>0]=d;f=a[268698+(m>>>24&15)>>0]|0;a[r+1>>0]=f;g=a[268698+(m>>>20&15)>>0]|0;a[r+2>>0]=g;h=a[268698+(m>>>16&15)>>0]|0;a[r+3>>0]=h;i=a[268698+(m>>>12&15)>>0]|0;a[r+4>>0]=i;j=a[268698+(m>>>8&15)>>0]|0;a[r+5>>0]=j;k=a[268698+(m>>>4&15)>>0]|0;a[r+6>>0]=k;m=a[268698+(m&15)>>0]|0;a[r+7>>0]=m;n=c[w>>2]|0;if(n>>>0>=(c[q>>2]|0)>>>0)Sn(b,3931);o=c[b+44>>2]|0;f=(d&255)+(((f&255)+(((g&255)+(((h&255)+(((i&255)+(((j&255)+(((k&255)+(((m&255)+((c[o+140>>2]^8)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0)*33|0)|0;d=c[(c[o+168>>2]|0)+((c[o+172>>2]&f)<<2)>>2]|0;b:do if(!d)v=34;else while(1){if(((c[d+12>>2]|0)==(f|0)?(c[d+20>>2]|0)==8:0)?(xN(r,d+28|0,8)|0)==0:0){s=d;t=n;break b}d=c[d+8>>2]|0;if(!d){v=34;break}}while(0);do if((v|0)==34){d=no(o,r,8,f)|0;if(!d)Mn(b,269042,789);else{s=d;t=c[w>>2]|0;break}}while(0);c[w>>2]=t+16;c[t>>2]=8;c[t+8>>2]=s;t=s+4|0;c[t>>2]=(c[t>>2]|0)+1;c[u>>2]=p;Go(b,269065,u);Io(b,3,0);if((c[w>>2]|0)>>>0<(c[q>>2]|0)>>>0){v=Fo(b,269071,23)|0;u=c[w>>2]|0;c[w>>2]=u+16;c[u>>2]=8;c[u+8>>2]=v;v=v+4|0;c[v>>2]=(c[v>>2]|0)+1;Io(b,3,0);v=45;break a}else Sn(b,3931);break}default:{if(j>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[w>>2]=j+16;v=g;c[v>>2]=c[d>>2];c[v+4>>2]=c[d+4>>2];c[v+8>>2]=c[d+8>>2];c[v+12>>2]=c[d+12>>2];if(f&8|0){v=(c[i+(y<<4)+8>>2]|0)+4|0;c[v>>2]=(c[v>>2]|0)+1}Jo(b,10,0,0);v=45}}while(0);if((v|0)==45){d=c[x>>2]|0;f=(c[w>>2]|0)-d>>4;if(!f)$n(b,342,-1);g=d+(f+-1<<4)|0;e=((y|0)<0?f:0)+y|0;if(e>>>0>=f>>>0)$n(b,342,y);u=d+(e<<4)|0;v=c[u>>2]|0;d=c[d+(e<<4)+8>>2]|0;c[u>>2]=c[g>>2];c[u+4>>2]=c[g+4>>2];c[u+8>>2]=c[g+8>>2];c[u+12>>2]=c[g+12>>2];c[g>>2]=2;e=(c[w>>2]|0)+-16|0;c[w>>2]=e;if((v&8|0)!=0?(u=d+4|0,v=(c[u>>2]|0)+-1|0,c[u>>2]=v,(v|0)==0):0){go(c[b+44>>2]|0,d);e=c[w>>2]|0}}x=c[x>>2]|0;w=e-x>>4;e=((y|0)<0?w:0)+y|0;e=e>>>0>>0?x+(e<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=8)In(b,1812,y,287470);e=c[e+8>>2]|0;if(!e)In(b,1812,y,287470);b=e+28|0;l=z;return b|0}function Io(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+16|0;h=w;if((b|0)<1){if((b|0)<0)Jn(a,269095,50331668,268507);f=c[(c[a+428>>2]|0)+60>>2]|0;d=a+76|0;e=c[d>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[d>>2]=e+16;c[e>>2]=8;c[e+8>>2]=f;a=f+4|0;c[a>>2]=(c[a>>2]|0)+1;l=w;return}s=(d|0)!=0;if(s){d=~b;Ho(a,d)|0;g=a+76|0;f=a+72|0;e=c[f>>2]|0;v=(c[g>>2]|0)-e>>4;d=v+d|0;d=d>>>0>>0?e+(d<<4)|0:0;d=c[(c[((d|0)==0?944:d)+8>>2]|0)+20>>2]|0;e=b+-1|0;if(e|0?d>>>0>(2147483647/(e>>>0)|0)>>>0:0)Jn(a,269095,50331755,269112);d=O(d,e)|0;t=g;r=f;v=g}else{v=a+76|0;d=0;t=v;r=a+72|0}e=b;f=d;do{Ho(a,0-e|0)|0;d=c[t>>2]|0;u=c[r>>2]|0;o=d-u>>4;p=((e|0)>0?o:0)-e|0;p=p>>>0>>0?u+(p<<4)|0:0;u=f;f=(c[(c[((p|0)==0?944:p)+8>>2]|0)+20>>2]|0)+f|0;e=e+-1|0;if(f>>>0>>0|(f|0)<0){i=53;break}}while((e|0)!=0);if((i|0)==53)Jn(a,269095,50331755,269112);if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,4815);if(f>>>0>2147483646)Jn(a,268491,50336467,268447);u=a+44|0;d=Po(c[u>>2]|0,f,4,h)|0;if(!d)Mn(a,268491,4824);i=c[v>>2]|0;c[i>>2]=10;c[i+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=(c[v>>2]|0)+16|0;c[v>>2]=d;i=c[h>>2]|0;p=-2-b|0;o=(p|0)<0;a:do if(s){e=0;h=b;while(1){if((h|0)!=(b|0)){n=c[r>>2]|0;m=(c[t>>2]|0)-n>>4;d=(o?m:0)+p|0;d=d>>>0>>0?n+(d<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=8){i=29;break}d=c[d+8>>2]|0;if(!d){i=29;break}n=d+20|0;CQ(i+e|0,d+28|0,c[n>>2]|0)|0;e=(c[n>>2]|0)+e|0}f=~h;n=c[r>>2]|0;m=(c[t>>2]|0)-n>>4;d=((h|0)>-1?m:0)+f|0;d=d>>>0>>0?n+(d<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)!=8){q=f;i=33;break}g=c[d+8>>2]|0;if(!g){q=f;i=33;break}d=g+20|0;CQ(i+e|0,g+28|0,c[d>>2]|0)|0;h=h+-1|0;if(!h)break a;else e=(c[d>>2]|0)+e|0}if((i|0)==29)In(a,1812,p,287470);else if((i|0)==33)In(a,1812,q,287470)}else{e=~b;q=c[r>>2]|0;h=d-q>>4;d=((b|0)>-1?h:0)+e|0;d=d>>>0>>0?q+(d<<4)|0:0;d=(d|0)==0?944:d;if((c[d>>2]|0)==8){k=d;m=0;n=b;j=e}else{q=e;In(a,1812,q,287470)}while(1){d=c[k+8>>2]|0;if(!d){q=j;i=33;break}f=d+20|0;CQ(i+m|0,d+28|0,c[f>>2]|0)|0;d=n;n=n+-1|0;if(!n)break a;e=0-d|0;q=c[r>>2]|0;j=(c[t>>2]|0)-q>>4;k=((n|0)>-1?j:0)-d|0;k=k>>>0>>0?q+(k<<4)|0:0;k=(k|0)==0?944:k;if((c[k>>2]|0)!=8){q=e;i=33;break}else{m=(c[f>>2]|0)+m|0;j=e}}if((i|0)==33)In(a,1812,q,287470)}while(0);if(s){f=c[r>>2]|0;e=(c[t>>2]|0)-f>>4;if(!e)$n(a,342,-1);g=f+(e+-1<<4)|0;d=(o?e:0)+p|0;if(d>>>0>=e>>>0)$n(a,342,p);s=f+(d<<4)|0;t=c[s>>2]|0;d=c[f+(d<<4)+8>>2]|0;c[s>>2]=c[g>>2];c[s+4>>2]=c[g+4>>2];c[s+8>>2]=c[g+8>>2];c[s+12>>2]=c[g+12>>2];c[g>>2]=2;c[v>>2]=(c[v>>2]|0)+-16;if(t&8|0?(t=d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;b=c[x>>2]|0;b=b+1|0;c[x>>2]=b;l=y;return}case 1:{i=c[b+428>>2]|0;if(!s){i=c[i+240>>2]|0;k=c[x>>2]|0;if(k>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[x>>2]=k+16;c[k>>2]=8;c[k+8>>2]=i;x=i+4|0;b=c[x>>2]|0;b=b+1|0;c[x>>2]=b;l=y;return}else{i=c[i+244>>2]|0;k=c[x>>2]|0;if(k>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[x>>2]=k+16;c[k>>2]=8;c[k+8>>2]=i;x=i+4|0;b=c[x>>2]|0;b=b+1|0;c[x>>2]=b;l=y;return}}default:{i=~~o>>>0;if((g|0)==0&+(i>>>0)==o){if(k&(i|0)!=0){a[w>>0]=45;m=w+1|0}else m=w;n=m+32|0;k=n;do{f=i;i=(i>>>0)/(e>>>0)|0;k=k+-1|0;a[k>>0]=a[268698+(f-(O(i,e)|0))>>0]|0}while(f>>>0>=e>>>0);i=n-k|0;DQ(m|0,k|0,i|0)|0;i=m+i-w|0;if((c[x>>2]|0)>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3931);if((i|0)<0)Jn(b,268491,50335592,268919);b=Fo(b,w,i)|0;w=c[x>>2]|0;c[x>>2]=w+16;c[w>>2]=8;c[w+8>>2]=b;x=b+4|0;b=c[x>>2]|0;b=b+1|0;c[x>>2]=b;l=y;return}c[w+1064>>2]=0;c[w+1084>>2]=2;r=w+1088|0;c[r>>2]=e;t=w+1076|0;c[t>>2]=0;p=(g&1|0)!=0;v=w+1068|0;do if(p){c[v>>2]=1;if(!(g&8)){i=f+1|0;k=1;m=0;break}else{c[t>>2]=1;i=0-f|0;k=1;m=1;break}}else{c[v>>2]=0;i=0;k=0;m=0}while(0);c[w+1072>>2]=i;if((n|0)==2){do if(k)if(!m){i=f+1|0;break}else{i=f+2|0;break}else i=1;while(0);EQ(w+1108|0,0,i|0)|0;c[w+2148>>2]=i;c[w+1092>>2]=1;s=0}else{c[w>>2]=2;h[j>>3]=o;q=c[j>>2]|0;m=c[j+4>>2]|0;c[w+4>>2]=q;i=m&1048575;k=w+8|0;c[k>>2]=i;m=wQ(q|0,m|0,52)|0;m=m&2047;if(!m){k=2;while(1){i=k+-1|0;if((k|0)<=0)break;if(!(c[w+4+(i<<2)>>2]|0))k=i;else break}c[w>>2]=k;i=-1074}else{c[k>>2]=i|1048576;i=m+-1075|0}c[w+1080>>2]=i;Ko(w);Lo(w);Mo(w)}do if(p){i=w+1092|0;k=((g&8|0)==0?0:c[i>>2]|0)+f|0;q=w+2148|0;if(!((k|0)<0?1:(c[q>>2]|0)<=(k|0))?(u=w+1108+k|0,(d[u>>0]|0)>>>0>=((((c[r>>2]|0)+1|0)/2|0)&255)>>>0):0){p=w+1108|0;k=u;while(1){a[k>>0]=0;if((k|0)==(p|0)){n=52;break}k=k+-1|0;m=(d[k>>0]|0)+1|0;if((m|0)<(c[r>>2]|0)){n=54;break}}if((n|0)==52){DQ(w+1109|0,p|0,c[q>>2]|0)|0;a[p>>0]=1;c[i>>2]=(c[i>>2]|0)+1;c[q>>2]=(c[q>>2]|0)+1;break}else if((n|0)==54){a[k>>0]=m;break}}}else i=w+1092|0;while(0);i=c[i>>2]|0;k=(c[t>>2]|0)==0;do if(k){if(((g&2|0)==0?!((g&4|0)!=0&(i|0)>(f|0)):0)?!((e|0)==10&(i+5|0)>>>0>26):0){q=i;r=65536;break}q=1;r=i+-1|0}else{q=i;r=65536}while(0);if(!s)i=w;else{a[w>>0]=45;i=w+1|0}m=(q|0)>1?q:1;do if(c[v>>2]|0)if(k){k=q-f|0;break}else{k=0-f|0;break}else k=q-(c[w+2148>>2]|0)|0;while(0);n=(k|0)<0?k:0;if((m|0)>(n|0)){p=w+2148|0;do{if(!m){a[i>>0]=46;i=i+1|0}if((q|0)>=(m|0)?(m|0)>(q-(c[p>>2]|0)|0):0)k=a[268698+(d[q-m+(w+1108)>>0]|0)>>0]|0;else k=48;a[i>>0]=k;i=i+1|0;m=m+-1|0}while((m|0)>(n|0))}if((r|0)!=65536){a[i>>0]=101;k=(r|0)>-1;a[i+1>>0]=k?43:45;n=i+34|0;k=k?r:0-r|0;m=n;do{f=k;k=(k>>>0)/(e>>>0)|0;m=m+-1|0;a[m>>0]=a[268698+(f-(O(k,e)|0))>>0]|0}while(f>>>0>=e>>>0);e=i+2|0;i=n-m|0;DQ(e|0,m|0,i|0)|0;i=e+i|0}i=i-w|0;if((c[x>>2]|0)>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3931);if((i|0)<0)Jn(b,268491,50335592,268919);b=Fo(b,w,i)|0;w=c[x>>2]|0;c[x>>2]=w+16;c[w>>2]=8;c[w+8>>2]=b;x=b+4|0;b=c[x>>2]|0;b=b+1|0;c[x>>2]=b;l=y;return}}}function Ko(a){a=a|0;var b=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;p=l;l=l+160|0;m=p;f=c[a>>2]|0;if(!f)b=1;else b=(c[a+4>>2]&1|0)==0;o=b&1;c[a+1096>>2]=o;c[a+1100>>2]=o;if((c[a+1064>>2]|0)==0&(f|0)==2?(c[a+4>>2]|0)==0:0)g=(c[a+8>>2]|0)==1048576;else g=0;o=a+1104|0;c[o>>2]=0;j=a+1080|0;b=c[j>>2]|0;if((b|0)<=-1){k=a+152|0;if(!(g&(b|0)>-1022)){d=f+1|0;if(!d){c[k>>2]=0;f=b}else{EQ(a+156|0,0,d<<2|0)|0;c[k>>2]=d;if((f|0)>=1){b=0;do{n=xQ(c[a+4+(b<<2)>>2]|0,0,1)|0;o=a+156+(b<<2)|0;n=lQ(c[o>>2]|0,0,n|0,z|0)|0;d=z;c[o>>2]=n;b=b+1|0;if(!((d|0)==0&0==0))c[a+156+(b<<2)>>2]=d}while((b|0)<(c[a>>2]|0));d=c[k>>2]|0}while(1){b=d+-1|0;if((d|0)<=0)break;if(!(c[a+156+(b<<2)>>2]|0))d=b;else break}c[k>>2]=d;f=c[j>>2]|0}e=a+760|0;d=c[a+1084>>2]|0;b=0-f|0;h=a+304|0;g=a+912|0;a:do if((d|0)==2){o=(f|0)/-32|0;n=o+1|0;EQ(a+764|0,0,n<<2|0)|0;c[e>>2]=n;c[a+764+(o<<2)>>2]=1<<(b&31)}else{c[e>>2]=1;c[a+764>>2]=1;if(!d)c[h>>2]=0;else{c[h>>2]=1;c[a+308>>2]=d}while(1){if(b&1|0)Oo(e,h,g);b=b>>1;if(!b)break a;Oo(h,h,g)}}while(0);d=(c[e>>2]|0)+1|0;if(!d)c[h>>2]=0;else{EQ(a+308|0,0,d<<2|0)|0;c[h>>2]=d;if((c[e>>2]|0)>=1){b=0;do{n=xQ(c[a+764+(b<<2)>>2]|0,0,1)|0;o=a+308+(b<<2)|0;n=lQ(c[o>>2]|0,0,n|0,z|0)|0;d=z;c[o>>2]=n;b=b+1|0;if(!((d|0)==0&0==0))c[a+308+(b<<2)>>2]=d}while((b|0)<(c[e>>2]|0));d=c[h>>2]|0}while(1){b=d+-1|0;if((d|0)<=0)break;if(!(c[a+308+(b<<2)>>2]|0))d=b;else break}c[h>>2]=d}c[a+456>>2]=1;c[a+460>>2]=1;c[a+608>>2]=1;c[a+612>>2]=1;l=p;return}i=a+1084|0;e=c[i>>2]|0;if(!e){c[m>>2]=0;h=0}else{c[m>>2]=1;c[m+4>>2]=e<<1;h=1}d=f+h|0;if(!d){c[k>>2]=0;d=e}else{EQ(a+156|0,0,d<<2|0)|0;c[k>>2]=d;if(!((h|0)==0|(f|0)<1)){b=0;do{e=a+4+(b<<2)|0;d=0;f=0;g=0;while(1){r=rQ(c[m+4+(d<<2)>>2]|0,0,c[e>>2]|0,0)|0;q=z;n=a+156+(d+b<<2)|0;g=lQ(c[n>>2]|0,0,f|0,g|0)|0;g=lQ(g|0,z|0,r|0,q|0)|0;f=z;c[n>>2]=g;d=d+1|0;if((d|0)==(h|0))break;else g=0}if(!((f|0)==0&0==0))c[a+156+(b+h<<2)>>2]=f;b=b+1|0}while((b|0)<(c[a>>2]|0));d=c[k>>2]|0}while(1){b=d+-1|0;if((d|0)<=0)break;if(!(c[a+156+(b<<2)>>2]|0))d=b;else break}c[k>>2]=d;b=c[j>>2]|0;d=c[i>>2]|0}e=a+760|0;b=1-b|0;g=a+304|0;f=a+912|0;b:do if((d|0)==2){r=(b|0)/32|0;q=r+1|0;EQ(a+764|0,0,q<<2|0)|0;c[e>>2]=q;c[a+764+(r<<2)>>2]=1<<(b&31)}else{c[e>>2]=1;c[a+764>>2]=1;if(!d)c[g>>2]=0;else{c[g>>2]=1;c[a+308>>2]=d}while(1){if(b&1|0)Oo(e,g,f);b=b>>1;if(!b)break b;Oo(g,g,f)}}while(0);d=(c[e>>2]|0)+1|0;if(!d)c[g>>2]=0;else{EQ(a+308|0,0,d<<2|0)|0;c[g>>2]=d;if((c[e>>2]|0)>=1){b=0;do{q=xQ(c[a+764+(b<<2)>>2]|0,0,1)|0;r=a+308+(b<<2)|0;q=lQ(c[r>>2]|0,0,q|0,z|0)|0;d=z;c[r>>2]=q;b=b+1|0;if(!((d|0)==0&0==0))c[a+308+(b<<2)>>2]=d}while((b|0)<(c[e>>2]|0));d=c[g>>2]|0}while(1){b=d+-1|0;if((d|0)<=0)break;if(!(c[a+308+(b<<2)>>2]|0))d=b;else break}c[g>>2]=d}c[a+456>>2]=1;c[a+460>>2]=2;c[a+608>>2]=1;c[a+612>>2]=1;c[o>>2]=1;l=p;return}j=a+608|0;n=a+1084|0;d=c[n>>2]|0;i=a+760|0;e=a+912|0;c:do if((d|0)==2){r=b>>>5;q=r+1|0;EQ(a+612|0,0,q<<2|0)|0;c[j>>2]=q;c[a+612+(r<<2)>>2]=1<<(b&31)}else{c[j>>2]=1;c[a+612>>2]=1;if(!d)c[i>>2]=0;else{c[i>>2]=1;c[a+764>>2]=d}while(1){if(b&1|0)Oo(j,i,e);b=b>>1;if(!b)break c;Oo(i,i,e)}}while(0);k=a+456|0;if(!g){e=c[j>>2]|0;c[k>>2]=e;if(e|0)CQ(a+460|0,a+612|0,e<<2|0)|0;b=c[a>>2]|0;d=b+1|0;if(!d){c[i>>2]=0;d=0}else{EQ(a+764|0,0,d<<2|0)|0;c[i>>2]=d;if((b|0)>=1){b=0;do{q=xQ(c[a+4+(b<<2)>>2]|0,0,1)|0;r=a+764+(b<<2)|0;q=lQ(c[r>>2]|0,0,q|0,z|0)|0;d=z;c[r>>2]=q;b=b+1|0;if(!((d|0)==0&0==0))c[a+764+(b<<2)>>2]=d}while((b|0)<(c[a>>2]|0));d=c[i>>2]|0}while(1){b=d+-1|0;if((d|0)<=0)break;if(!(c[a+764+(b<<2)>>2]|0))d=b;else break}c[i>>2]=d;e=c[k>>2]|0}j=a+152|0;d=e+d|0;if(!d)c[j>>2]=0;else{EQ(a+156|0,0,d<<2|0)|0;c[j>>2]=d;h=c[k>>2]|0;if((c[i>>2]|0)>0&(h|0)>0){b=0;do{e=a+764+(b<<2)|0;d=0;f=0;g=0;while(1){o=rQ(c[a+460+(d<<2)>>2]|0,0,c[e>>2]|0,0)|0;q=z;r=a+156+(d+b<<2)|0;n=lQ(c[r>>2]|0,0,f|0,g|0)|0;q=lQ(n|0,z|0,o|0,q|0)|0;f=z;c[r>>2]=q;d=d+1|0;if((d|0)==(h|0))break;else g=0}if(!((f|0)==0&0==0))c[a+156+(b+h<<2)>>2]=f;b=b+1|0}while((b|0)<(c[i>>2]|0));d=c[j>>2]|0}while(1){b=d+-1|0;if((d|0)<=0)break;if(!(c[a+156+(b<<2)>>2]|0))d=b;else break}c[j>>2]=d}c[a+304>>2]=1;c[a+308>>2]=2;l=p;return}b=c[n>>2]|0;if(!b){c[m>>2]=0;h=0}else{c[m>>2]=1;c[m+4>>2]=b;h=1}d=(c[j>>2]|0)+h|0;if(!d){c[k>>2]=0;d=0}else{EQ(a+460|0,0,d<<2|0)|0;c[k>>2]=d;if(!((h|0)==0|(c[j>>2]|0)<1)){b=0;do{e=a+612+(b<<2)|0;d=0;f=0;g=0;while(1){s=rQ(c[m+4+(d<<2)>>2]|0,0,c[e>>2]|0,0)|0;q=z;r=a+460+(d+b<<2)|0;g=lQ(c[r>>2]|0,0,f|0,g|0)|0;q=lQ(g|0,z|0,s|0,q|0)|0;f=z;c[r>>2]=q;d=d+1|0;if((d|0)==(h|0))break;else g=0}if(!((f|0)==0&0==0))c[a+460+(b+h<<2)>>2]=f;b=b+1|0}while((b|0)<(c[j>>2]|0));d=c[k>>2]|0}while(1){b=d+-1|0;if((d|0)<=0)break;if(!(c[a+460+(b<<2)>>2]|0))d=b;else break}c[k>>2]=d}b=c[a>>2]|0;e=b+1|0;if(!e){c[i>>2]=0;f=k;b=0}else{EQ(a+764|0,0,e<<2|0)|0;c[i>>2]=e;if((b|0)>=1){b=0;do{r=xQ(c[a+4+(b<<2)>>2]|0,0,1)|0;s=a+764+(b<<2)|0;r=lQ(c[s>>2]|0,0,r|0,z|0)|0;d=z;c[s>>2]=r;b=b+1|0;if(!((d|0)==0&0==0))c[a+764+(b<<2)>>2]=d}while((b|0)<(c[a>>2]|0));e=c[i>>2]|0}while(1){b=e+-1|0;if((e|0)<=0)break;if(!(c[a+764+(b<<2)>>2]|0))e=b;else break}c[i>>2]=e;f=k;d=c[k>>2]|0;b=e}j=a+152|0;d=d+b|0;if(!d)c[j>>2]=0;else{EQ(a+156|0,0,d<<2|0)|0;c[j>>2]=d;h=c[f>>2]|0;if((c[i>>2]|0)>0&(h|0)>0){b=0;do{e=a+764+(b<<2)|0;d=0;f=0;g=0;while(1){q=rQ(c[a+460+(d<<2)>>2]|0,0,c[e>>2]|0,0)|0;r=z;s=a+156+(d+b<<2)|0;m=lQ(c[s>>2]|0,0,f|0,g|0)|0;r=lQ(m|0,z|0,q|0,r|0)|0;f=z;c[s>>2]=r;d=d+1|0;if((d|0)==(h|0))break;else g=0}if(!((f|0)==0&0==0))c[a+156+(b+h<<2)>>2]=f;b=b+1|0}while((b|0)<(c[i>>2]|0));d=c[j>>2]|0}while(1){b=d+-1|0;if((d|0)<=0)break;if(!(c[a+156+(b<<2)>>2]|0))d=b;else break}c[j>>2]=d}b=c[n>>2]|0;d=a+304|0;if(!b)c[d>>2]=0;else{c[d>>2]=1;c[a+308>>2]=b<<1}c[o>>2]=1;l=p;return}function Lo(a){a=a|0;var b=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,A=0;x=l;l=l+160|0;q=x;r=a+760|0;s=a+152|0;w=a+456|0;t=a+304|0;u=a+1088|0;v=a+1100|0;d=0;a:while(1){i=(c[w>>2]|0)>(c[s>>2]|0);g=i?s:w;i=i?w:s;b=c[i>>2]|0;j=c[g>>2]|0;if((b|0)>0){h=0;e=0;f=0;while(1){f=lQ(c[i+4+(h<<2)>>2]|0,0,e|0,f|0)|0;e=z;if((h|0)<(j|0)){f=lQ(c[g+4+(h<<2)>>2]|0,0,f|0,e|0)|0;e=z}c[a+764+(h<<2)>>2]=f;h=h+1|0;if((h|0)==(b|0))break;else f=0}if(!((e|0)==0&0==0)){c[a+764+(b<<2)>>2]=e;b=b+1|0}}else b=0;c[r>>2]=b;e=c[t>>2]|0;b:do if((b|0)<=(e|0)){if((b|0)<(e|0))break a;while(1){if((b|0)<=0)break;b=b+-1|0;e=c[a+764+(b<<2)>>2]|0;f=c[a+308+(b<<2)>>2]|0;if(e>>>0>f>>>0)break b;if(e>>>0>>0)break a}if(!(c[v>>2]|0))break a}while(0);No(t,c[u>>2]|0,r);d=d+1|0}c:do if((d|0)>0)b=a+1104|0;else{m=a+912|0;b=a+1104|0;n=a+608|0;o=a+916|0;p=q+4|0;while(1){j=(c[w>>2]|0)>(c[s>>2]|0);h=j?s:w;j=j?w:s;g=c[j>>2]|0;k=c[h>>2]|0;if((g|0)>0){i=0;e=0;f=0;while(1){f=lQ(c[j+4+(i<<2)>>2]|0,0,e|0,f|0)|0;e=z;if((i|0)<(k|0)){f=lQ(c[h+4+(i<<2)>>2]|0,0,f|0,e|0)|0;e=z}c[a+764+(i<<2)>>2]=f;i=i+1|0;if((i|0)==(g|0))break;else f=0}if(!((e|0)==0&0==0)){c[a+764+(g<<2)>>2]=e;g=g+1|0}}else g=0;c[r>>2]=g;e=c[u>>2]|0;if(!e){c[q>>2]=0;j=0}else{c[q>>2]=1;c[p>>2]=e;j=1}f=g+j|0;d:do if(!f)f=0;else{EQ(o|0,0,f<<2|0)|0;c[m>>2]=f;if(!((j|0)==0|(g|0)<1)){e=0;do{i=a+764+(e<<2)|0;f=0;g=0;h=0;while(1){A=rQ(c[q+4+(f<<2)>>2]|0,0,c[i>>2]|0,0)|0;y=z;k=a+916+(f+e<<2)|0;h=lQ(c[k>>2]|0,0,g|0,h|0)|0;h=lQ(h|0,z|0,A|0,y|0)|0;g=z;c[k>>2]=h;f=f+1|0;if((f|0)==(j|0))break;else h=0}if(!((g|0)==0&0==0))c[a+916+(e+j<<2)>>2]=g;e=e+1|0}while((e|0)<(c[r>>2]|0));f=c[m>>2]|0}while(1){e=f+-1|0;if((f|0)<=0)break d;if(!(c[a+916+(e<<2)>>2]|0))f=e;else break}}while(0);c[m>>2]=f;e=c[t>>2]|0;if((f|0)>(e|0))break c;e:do if((f|0)>=(e|0)){while(1){if((f|0)<=0)break;f=f+-1|0;e=c[a+916+(f<<2)>>2]|0;g=c[a+308+(f<<2)>>2]|0;if(e>>>0>g>>>0)break c;if(e>>>0>>0)break e}if(c[v>>2]|0)break c}while(0);No(s,c[u>>2]|0,r);No(w,c[u>>2]|0,r);if(c[b>>2]|0)No(n,c[u>>2]|0,r);d=d+-1|0}}while(0);if(c[b>>2]|0){A=a+1092|0;c[A>>2]=d;l=x;return}b=c[w>>2]|0;c[a+608>>2]=b;if(!b){A=a+1092|0;c[A>>2]=d;l=x;return}CQ(a+612|0,a+460|0,b<<2|0)|0;A=a+1092|0;c[A>>2]=d;l=x;return}function Mo(b){b=b|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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=l;l=l+160|0;p=J;F=b+152|0;y=b+1088|0;H=b+760|0;G=b+304|0;A=b+912|0;o=b+916|0;n=b+764|0;B=b+456|0;C=b+912|0;D=b+608|0;q=b+1068|0;r=b+1096|0;s=b+1100|0;t=b+1076|0;u=b+1072|0;v=b+1092|0;w=b+156|0;E=b+764|0;x=p+4|0;I=0;while(1){d=c[y>>2]|0;if(!d){c[p>>2]=0;i=0}else{c[p>>2]=1;c[x>>2]=d;i=1}d=c[F>>2]|0;e=d+i|0;a:do if(!e)e=0;else{EQ(E|0,0,e<<2|0)|0;c[H>>2]=e;if(!((i|0)==0|(d|0)<1)){d=0;do{f=b+156+(d<<2)|0;e=0;g=0;h=0;while(1){j=rQ(c[p+4+(e<<2)>>2]|0,0,c[f>>2]|0,0)|0;k=z;m=b+764+(e+d<<2)|0;h=lQ(c[m>>2]|0,0,g|0,h|0)|0;k=lQ(h|0,z|0,j|0,k|0)|0;g=z;c[m>>2]=k;e=e+1|0;if((e|0)==(i|0))break;else h=0}if(!((g|0)==0&0==0))c[b+764+(d+i<<2)>>2]=g;d=d+1|0}while((d|0)<(c[F>>2]|0));e=c[H>>2]|0}while(1){d=e+-1|0;if((e|0)<=0)break a;if(!(c[b+764+(d<<2)>>2]|0))e=d;else break}}while(0);c[H>>2]=e;m=0;b:while(1){i=c[G>>2]|0;c:do if((e|0)<=(i|0)){if((e|0)<(i|0))break b;else d=e;while(1){if((d|0)<=0)break c;d=d+-1|0;f=c[b+764+(d<<2)>>2]|0;g=c[b+308+(d<<2)>>2]|0;if(f>>>0>g>>>0)break c;if(f>>>0>>0)break b}}while(0);if((e|0)>0){f=0;g=0;h=0;while(1){if((f|0)<(i|0))d=c[b+308+(f<<2)>>2]|0;else d=0;k=mQ(c[b+764+(f<<2)>>2]|0,0,d|0,0)|0;k=lQ(k|0,z|0,g|0,h|0)|0;c[b+916+(f<<2)>>2]=k;g=vQ(k|0,z|0,32)|0;f=f+1|0;if((f|0)==(e|0))break;else h=z}}else e=0;c[A>>2]=e;while(1){d=e+-1|0;if((e|0)<=0){g=29;break}if(!(c[b+916+(d<<2)>>2]|0))e=d;else{g=28;break}}if((g|0)==28){c[A>>2]=e;c[H>>2]=e;g=30}else if((g|0)==29){g=0;c[A>>2]=e;c[H>>2]=e;if(!e)e=0;else g=30}if((g|0)==30)CQ(n|0,o|0,e<<2|0)|0;m=m+1|0}c[F>>2]=e;if(e|0)CQ(w|0,n|0,e<<2|0)|0;No(B,c[y>>2]|0,C);No(D,c[y>>2]|0,C);if(!(c[q>>2]|0)){g=c[F>>2]|0;d=c[D>>2]|0;d:do if((g|0)<=(d|0))if((g|0)<(d|0))d=-1;else{d=g;while(1){if((d|0)<=0){d=0;break d}d=d+-1|0;e=c[b+156+(d<<2)>>2]|0;f=c[b+612+(d<<2)>>2]|0;if(e>>>0>f>>>0){d=1;break d}if(e>>>0>>0){d=-1;break}}}else d=1;while(0);k=(d|0)>(((c[r>>2]|0)==0)<<31>>31|0);i=(c[B>>2]|0)>(g|0);g=i?F:B;i=i?B:F;d=c[i>>2]|0;j=c[g>>2]|0;if((d|0)>0){h=0;e=0;f=0;while(1){f=lQ(c[i+4+(h<<2)>>2]|0,0,e|0,f|0)|0;e=z;if((h|0)<(j|0)){f=lQ(c[g+4+(h<<2)>>2]|0,0,f|0,e|0)|0;e=z}c[b+764+(h<<2)>>2]=f;h=h+1|0;if((h|0)==(d|0))break;else f=0}if(!((e|0)==0&0==0)){c[b+764+(d<<2)>>2]=e;d=d+1|0}}else d=0;c[H>>2]=d;f=c[G>>2]|0;e:do if((d|0)<=(f|0))if((d|0)<(f|0))d=-1;else while(1){if((d|0)<=0){d=0;break e}d=d+-1|0;e=c[b+764+(d<<2)>>2]|0;g=c[b+308+(d<<2)>>2]|0;if(e>>>0>g>>>0){d=1;break e}if(e>>>0>>0){d=-1;break}}else d=1;while(0);e=(d|0)>=((c[s>>2]|0)==0|0);d=I+1|0;if(!k){g=53;break}if(e){g=72;break}}else d=I+1|0;a[b+1108+I>>0]=m;if(!(c[q>>2]|0)){I=d;continue}e=c[u>>2]|0;if(!(c[t>>2]|0))if((d|0)<(e|0)){I=d;continue}else{g=77;break}else if(((c[v>>2]|0)-d|0)<(e|0)){g=77;break}else{I=d;continue}}if((g|0)==53){if(!e){a[b+1108+I>>0]=m;I=d;b=b+2148|0;c[b>>2]=I;l=J;return}g=c[F>>2]|0;e=g+1|0;if(!e)e=0;else{EQ(E|0,0,e<<2|0)|0;c[H>>2]=e;if((g|0)>=1){e=0;do{D=xQ(c[b+156+(e<<2)>>2]|0,0,1)|0;E=b+764+(e<<2)|0;D=lQ(c[E>>2]|0,0,D|0,z|0)|0;f=z;c[E>>2]=D;e=e+1|0;if(!((f|0)==0&0==0))c[b+764+(e<<2)>>2]=f}while((e|0)<(c[F>>2]|0));e=c[H>>2]|0}while(1){f=e+-1|0;if((e|0)<=0)break;if(!(c[b+764+(f<<2)>>2]|0))e=f;else break}f=c[G>>2]|0}c[H>>2]=e;f:do if((e|0)<=(f|0)){if((e|0)>=(f|0))do{if((e|0)<=0)break f;e=e+-1|0;f=c[b+764+(e<<2)>>2]|0;g=c[b+308+(e<<2)>>2]|0;if(f>>>0>g>>>0)break f}while(f>>>0>=g>>>0);a[b+1108+I>>0]=m;I=d;b=b+2148|0;c[b>>2]=I;l=J;return}while(0);a[b+1108+I>>0]=m+1;I=d;b=b+2148|0;c[b>>2]=I;l=J;return}else if((g|0)==72){a[b+1108+I>>0]=m+1;I=d;b=b+2148|0;c[b>>2]=I;l=J;return}else if((g|0)==77){b=b+2148|0;c[b>>2]=d;l=J;return}}function No(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,m=0,n=0,o=0;k=l;l=l+160|0;j=k;if(!b){c[j>>2]=0;i=0}else{c[j>>2]=1;c[j+4>>2]=b;i=1}e=(c[a>>2]|0)+i|0;if(!e){c[d>>2]=0;c[a>>2]=0;l=k;return}EQ(d+4|0,0,e<<2|0)|0;c[d>>2]=e;if(!((i|0)==0|(c[a>>2]|0)<1)){b=0;do{f=a+4+(b<<2)|0;e=0;g=0;h=0;while(1){o=rQ(c[j+4+(e<<2)>>2]|0,0,c[f>>2]|0,0)|0;n=z;m=d+4+(e+b<<2)|0;h=lQ(c[m>>2]|0,0,g|0,h|0)|0;h=lQ(h|0,z|0,o|0,n|0)|0;g=z;c[m>>2]=h;e=e+1|0;if((e|0)==(i|0))break;else h=0}if(!((g|0)==0&0==0))c[d+4+(b+i<<2)>>2]=g;b=b+1|0}while((b|0)<(c[a>>2]|0));e=c[d>>2]|0}while(1){b=e+-1|0;if((e|0)<=0){b=16;break}if(!(c[d+4+(b<<2)>>2]|0))e=b;else{b=15;break}}if((b|0)==15){c[d>>2]=e;c[a>>2]=e}else if((b|0)==16?(c[d>>2]=e,c[a>>2]=e,(e|0)==0):0){l=k;return}CQ(a+4|0,d+4|0,e<<2|0)|0;l=k;return}function Oo(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;f=(c[b>>2]|0)+(c[a>>2]|0)|0;if(!f){c[d>>2]=0;c[a>>2]=0;return}EQ(d+4|0,0,f<<2|0)|0;c[d>>2]=f;j=c[b>>2]|0;if((c[a>>2]|0)>0&(j|0)>0){e=0;do{g=a+4+(e<<2)|0;f=0;h=0;i=0;while(1){m=rQ(c[b+4+(f<<2)>>2]|0,0,c[g>>2]|0,0)|0;l=z;k=d+4+(f+e<<2)|0;i=lQ(c[k>>2]|0,0,h|0,i|0)|0;i=lQ(i|0,z|0,m|0,l|0)|0;h=z;c[k>>2]=i;f=f+1|0;if((f|0)==(j|0))break;else i=0}if(!((h|0)==0&0==0))c[d+4+(e+j<<2)>>2]=h;e=e+1|0}while((e|0)<(c[a>>2]|0));f=c[d>>2]|0}while(1){e=f+-1|0;if((f|0)<=0){e=13;break}if(!(c[d+4+(e<<2)>>2]|0))f=e;else{e=12;break}}if((e|0)==12){c[d>>2]=f;c[a>>2]=f}else if((e|0)==13?(c[d>>2]=f,c[a>>2]=f,(f|0)==0):0)return;CQ(a+4|0,d+4|0,f<<2|0)|0;return}function Po(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;if(b>>>0>2147483646){a=0;return a|0}l=(d&2|0)!=0;m=(d&1|0)==0;g=m&(l^1)?b+24|0:24;h=a+36|0;k=c[h>>2]|0;c[h>>2]=k+-1;if((k|0)<1)Ln(a,2);j=a+4|0;k=a+16|0;f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,0);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,0);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,1);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,1);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,1);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,1);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,1);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,1);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,1);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f){Ln(a,1);f=hg[c[j>>2]&63](c[k>>2]|0,g)|0;if(!f)f=0;else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7;a:do if((i|0)==7){EQ(f|0,0,(d&4|0?24:g)|0)|0;do if(l){g=0;i=20}else{if(m){g=f+24|0;i=20;break}if(!b){c[e>>2]=0;c[f+16>>2]=0;c[f>>2]=c[f>>2]&-132|130;d=f;break}i=c[h>>2]|0;c[h>>2]=i+-1;if((i|0)<1)Ln(a,2);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g){Ln(a,0);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;do if(!g){Ln(a,0);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g){Ln(a,1);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g){Ln(a,1);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g){Ln(a,1);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g){Ln(a,1);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g){Ln(a,1);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g){Ln(a,1);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g){Ln(a,1);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(g|0)break;Ln(a,1);g=hg[c[j>>2]&63](c[k>>2]|0,b)|0;if(!g)break a}}}}}}}}while(0);EQ(g|0,0,b|0)|0}else EQ(g|0,0,b|0)|0;c[e>>2]=g;c[f+20>>2]=g;i=21}while(0);if((i|0)==20){c[e>>2]=g;i=21}if((i|0)==21){c[f+16>>2]=b;g=c[f>>2]&-4;c[f>>2]=g|2;if(!m?(c[f>>2]=g|130,l):0){c[f>>2]=g|386;d=f}else d=f}g=a+24|0;h=c[g>>2]|0;if(h|0)c[h+12>>2]=d;c[d+12>>2]=0;c[d+8>>2]=h;c[g>>2]=d;a=f;return a|0}while(0);Bg[c[a+12>>2]&255](c[k>>2]|0,f);a=0;return a|0}function Qo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)<0)Jn(a,268491,50336762,268507);g=a+76|0;e=c[g>>2]|0;if(e-(c[a+72>>2]|0)>>4>>>0>>0)Jn(a,268491,50336767,268507);d=e+(0-b<<4)|0;f=a+44|0;if(!b)d=e;else do{b=c[e+-16>>2]|0;a=c[e+-8>>2]|0;e=e+-16|0;c[e>>2]=2;if(b&8|0?(h=a+4|0,b=(c[h>>2]|0)+-1|0,c[h>>2]=b,(b|0)==0):0)Wn(c[f>>2]|0,a)}while((e|0)!=(d|0));c[g>>2]=d;d=c[f>>2]|0;if(!(c[d+32>>2]|0))return;Rn(d);return}function Ro(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;l=a+76|0;h=c[l>>2]|0;i=a+72|0;e=c[i>>2]|0;d=h-e|0;f=d>>4;k=f+-1|0;if(!f)$n(a,267,-1);j=(d|0)<16;d=(j?f:0)+k|0;d=d>>>0>>0?e+(d<<4)|0:0;d=(d|0)==0?944:d;a:do switch(c[d>>2]|0){case 10:{d=c[d+8>>2]|0;b=c[d+16>>2]|0;if(!(c[d>>2]&128)){g=d+24|0;break a}else{g=c[d+20>>2]|0;break a}}case 9:{b=c[d+8>>2]|0;if(!(c[b>>2]&8192))In(a,1744,k,268387);d=c[b+40>>2]|0;if(!d)In(a,1744,k,268387);e=c[b+48>>2]|0;b=c[b+52>>2]|0;if((b+e|0)>>>0>(c[d+16>>2]|0)>>>0)In(a,1744,k,268387);if(!(c[d>>2]&128))d=d+24|0;else d=c[d+20>>2]|0;g=d+e|0;break}default:In(a,1744,k,268387)}while(0);if(h>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3931);b=(g|0)==0?0:b;if((b|0)<0)Jn(a,268491,50335592,268919);d=Fo(a,g,b)|0;e=c[l>>2]|0;c[l>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;d=d+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[i>>2]|0;e=(c[l>>2]|0)-d>>4;if(!e)$n(a,342,-1);f=d+(e+-1<<4)|0;b=(j?e:0)+k|0;if(b>>>0>=e>>>0)$n(a,342,k);j=d+(b<<4)|0;k=c[j>>2]|0;b=c[d+(b<<4)+8>>2]|0;c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];c[f>>2]=2;c[l>>2]=(c[l>>2]|0)+-16;if(!(k&8))return;k=b+4|0;l=(c[k>>2]|0)+-1|0;c[k>>2]=l;if(l|0)return;go(c[a+44>>2]|0,b);return}function So(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,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+288|0;j=r+16|0;k=r+24|0;m=r;if(!b){e=c[(c[a+428>>2]|0)+60>>2]|0;f=a+76|0;g=c[f>>2]|0;if(g>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[f>>2]=g+16;c[g>>2]=8;c[g+8>>2]=e;a=e+4|0;c[a>>2]=(c[a>>2]|0)+1;l=r;return}i=(JO(b)|0)+16|0;p=a+76|0;n=a+68|0;q=a+44|0;o=a+72|0;i=i>>>0>256?i:256;f=0;a:while(1){do if(i>>>0>=257)if(!f){if((c[p>>2]|0)>>>0>=(c[n>>2]|0)>>>0){e=9;break a}if(i>>>0>2147483646){e=11;break a}e=Po(c[q>>2]|0,i,1,j)|0;if(!e){e=13;break a}g=c[p>>2]|0;c[g>>2]=10;c[g+8>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;c[p>>2]=(c[p>>2]|0)+16;g=c[j>>2]|0;h=1;break}else{h=c[o>>2]|0;e=(c[p>>2]|0)-h>>4;e=e|0?h+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=10){e=17;break a}e=c[e+8>>2]|0;if(!e){e=17;break a}if((c[e>>2]&384|0)!=128){e=19;break a}Kn(a,e,i);g=c[e+20>>2]|0;h=f;break}else{g=k;h=f}while(0);c[m>>2]=c[d>>2];f=BN(g,i,b,m)|0;f=(f|0)<(i|0)?f:-1;if((f|0)>-1){e=25;break}e=i<<1;if(e>>>0>1073741823){e=24;break}i=e;f=h}if((e|0)==9)Sn(a,4815);else if((e|0)==11)Jn(a,268491,50336467,268447);else if((e|0)==13)Mn(a,268491,4824);else if((e|0)==17)In(a,1847,-1,268387);else if((e|0)==19)Jn(a,268394,100663313,268411);else if((e|0)==24)Jn(a,268491,50335866,269112);else if((e|0)==25){if((c[p>>2]|0)>>>0>=(c[n>>2]|0)>>>0)Sn(a,3931);e=(g|0)==0?0:f;if((e|0)<0)Jn(a,268491,50335592,268919);n=Fo(a,g,e)|0;m=c[p>>2]|0;c[p>>2]=m+16;c[m>>2]=8;c[m+8>>2]=n;n=n+4|0;c[n>>2]=(c[n>>2]|0)+1;if(!h){l=r;return}f=c[o>>2]|0;g=(c[p>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(a,342,-2);n=f+(e<<4)|0;o=f+(g+-1<<4)|0;a=c[n>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(n|0,n+16|0,o-n|0)|0;c[o>>2]=2;c[p>>2]=(c[p>>2]|0)+-16;if(!(a&8)){l=r;return}p=e+4|0;a=(c[p>>2]|0)+-1|0;c[p>>2]=a;if(a|0){l=r;return}go(c[q>>2]|0,e);l=r;return}}function To(a,b,d){a=a|0;b=b|0;d=d|0;var 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,A=0,B=0,C=0;C=l;l=l+16|0;j=C;A=C+4|0;c[A>>2]=b;h=a+40|0;i=c[h>>2]|0;if(i|0){c[(c[a+88>>2]|0)+28>>2]=c[i>>2];c[h>>2]=0}z=a+72|0;f=c[z>>2]|0;p=f-(c[a+64>>2]|0)>>4;q=-2-b|0;y=a+76|0;t=(c[y>>2]|0)-f>>4;q=((q|0)<0?t:0)+q|0;q=q>>>0>>0?q:-2147483648;t=q+2|0;if((q|0)<0)Tn(a,268521,2416);g=d&2;k=f;a:while(1){b=k+(q<<4)|0;switch(c[b>>2]|0){case 6:break a;case 9:break;default:{r=10;break a}}B=c[k+(q<<4)+8>>2]|0;m=c[B>>2]|0;if(!(m&6656)){r=10;break}if(!(m&512)){r=11;break}to(a,q,A,g);k=c[z>>2]|0}if((r|0)==10){c[j>>2]=uo(a,b)|0;ao(a,268521,100664071,268804,j)}else if((r|0)==11?!((B|0)==0|(m&2048|0)==0):0){g=q+1|0;b:do if(!(m&65536)){b=k+(g<<4)|0;switch(c[b>>2]|0){case 9:break b;case 3:case 2:break;default:{vo(a,g);break b}}f=c[a+132>>2]|0;if(!f){c[b>>2]=2;break}else{c[b>>2]=9;c[k+(g<<4)+8>>2]=f;v=f+4|0;c[v>>2]=(c[v>>2]|0)+1;break}}while(0);u=e[B+62>>1]|0;v=e[B+60>>1]|0;c:do if(((d&8|0)!=0?(o=a+88|0,(c[(c[o>>2]|0)+32>>2]&8|0)==0):0)?(c[B>>2]&131072|0)==0:0){m=a+96|0;b=c[m>>2]|0;g=b+-1|0;d=a+112|0;h=c[d>>2]|0;j=a+104|0;k=h;while(1){f=k+-1|0;if((f|0)<=-1)break;if((c[(c[j>>2]|0)+(f*20|0)+8>>2]|0)==(g|0))k=f;else break}i=a+84|0;if(h>>>0>k>>>0){g=a+44|0;b=h;do{b=b+-1|0;f=c[j>>2]|0;if(c[f+(b*20|0)+16>>2]&128|0?(h=(c[i>>2]|0)+((c[f+(b*20|0)+8>>2]|0)*48|0)+24|0,n=c[h>>2]|0,f=c[n+20>>2]|0,c[h>>2]=f,f=f+4|0,c[f>>2]=(c[f>>2]|0)+1,f=n+4|0,h=(c[f>>2]|0)+-1|0,c[f>>2]=h,(h|0)==0):0)bo(c[g>>2]|0,n)}while(b>>>0>k>>>0);b=c[m>>2]|0}c[d>>2]=k;eo(a,b+-1|0);b=c[i>>2]|0;i=c[m>>2]|0;f=b+(i*48|0)|0;c[m>>2]=i+1;c[o>>2]=f;c[b+(i*48|0)+16>>2]=B;c[b+(i*48|0)+28>>2]=c[B+48>>2];c[f>>2]=9;c[b+(i*48|0)+8>>2]=B;i=B+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[o>>2]|0;c[i+32>>2]=(c[B>>2]|0)>>>16&1|2;c[i+36>>2]=p;b=c[z>>2]|0;f=b+-16|0;g=b+(q<<4)+16|0;if(c[g>>2]&8|0){p=(c[g+8>>2]|0)+4|0;c[p>>2]=(c[p>>2]|0)+1}if(c[f>>2]&8){b=c[b+-8>>2]|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];o=b+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(!p)go(c[a+44>>2]|0,b)}else{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]}if((q|0)>-2){g=a+44|0;f=0;while(1){h=c[z>>2]|0;b=(c[y>>2]|0)-h>>4;if(!b)break;p=b+-1|0;q=c[h>>2]|0;b=c[h+8>>2]|0;DQ(h|0,h+16|0,p<<4|0)|0;c[h+(p<<4)>>2]=2;c[y>>2]=(c[y>>2]|0)+-16;if(q&8|0?(p=b+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)go(c[g>>2]|0,b);f=f+1|0;if((f|0)>=(t|0)){x=0;s=i;break c}}$n(a,342,0)}else{x=0;s=i}}else r=46;while(0);if((r|0)==46){f=a+96|0;if((c[f>>2]|0)>>>0>=(c[a+92>>2]|0)>>>0)wo(a);if(!(d&4)){b=a+88|0;c[(c[b>>2]|0)+40>>2]=q+p}else b=a+88|0;r=c[a+84>>2]|0;x=c[f>>2]|0;s=r+(x*48|0)|0;c[f>>2]=x+1;c[b>>2]=s;c[r+(x*48|0)+32>>2]=(c[B>>2]|0)>>>16&1;c[r+(x*48|0)+16>>2]=B;c[r+(x*48|0)+20>>2]=0;c[r+(x*48|0)+24>>2]=0;c[r+(x*48|0)+28>>2]=c[B+48>>2];c[r+(x*48|0)+36>>2]=t+p;c[s>>2]=9;c[r+(x*48|0)+8>>2]=B;x=B+4|0;c[x>>2]=(c[x>>2]|0)+1;x=t}b=c[B>>2]|0;if(b&262144){if(b&1048576|0){h=c[s+36>>2]|0;b=c[B+52>>2]|0;if(!b)b=c[a+136>>2]|0;i=xo(a,52)|0;j=a+44|0;f=c[j>>2]|0;c[i>>2]=-2147483519;f=f+24|0;g=c[f>>2]|0;if(g|0)c[g+12>>2]=i;c[i+12>>2]=0;c[i+8>>2]=g;c[f>>2]=i;f=c[y>>2]|0;if(f>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[y>>2]=f+16;c[f>>2]=9;c[f+8>>2]=i;g=i+4|0;c[g>>2]=(c[g>>2]|0)+1;c[i+20>>2]=b;if(b|0){t=b+4|0;c[t>>2]=(c[t>>2]|0)+1}if((c[B>>2]&2048|0?(w=yo(B,c[(c[a+428>>2]|0)+372>>2]|0)|0,w|0):0)?(c[w>>2]|0)==9:0){w=c[w+8>>2]|0;c[i+44>>2]=w;w=w+4|0;c[w>>2]=(c[w>>2]|0)+1;c[i+40>>2]=a;w=a+4|0;c[w>>2]=(c[w>>2]|0)+1;c[i+48>>2]=h}f=c[A>>2]|0;zo(a,B,i,((c[y>>2]|0)-(c[z>>2]|0)>>4)+~f|0,f);f=-33537277-((c[B>>2]|0)>>>16&1)&3;w=c[z>>2]|0;b=(c[y>>2]|0)-w>>4;b=b>>>0>1?w+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[a+428>>2]|0)+268>>2]|0,f);b=c[a+88>>2]|0;c[b+24>>2]=i;c[b+20>>2]=i;c[g>>2]=(c[g>>2]|0)+2;b=c[y>>2]|0;if((b|0)==(c[z>>2]|0))Jn(a,268491,50336874,268507);w=b+-16|0;c[y>>2]=w;y=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[w>>2]=2;if(y&8|0?(w=b+4|0,y=(c[w>>2]|0)+-1|0,c[w>>2]=y,(y|0)==0):0)go(c[j>>2]|0,b)}}else{w=c[B+52>>2]|0;y=c[B+56>>2]|0;c[s+24>>2]=w;c[s+20>>2]=y;w=w+4|0;c[w>>2]=(c[w>>2]|0)+1;y=y+4|0;c[y>>2]=(c[y>>2]|0)+1}Ao(a,c[A>>2]|0,x,v,u,B);c[z>>2]=(c[z>>2]|0)+(x<<4);b=c[a+44>>2]|0;if(!(c[b+32>>2]|0)){B=1;l=C;return B|0}Rn(b);B=1;l=C;return B|0}c[h>>2]=i;B=0;l=C;return B|0}function Uo(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;i=a+84|0;k=b-(c[i>>2]|0)|0;l=c[b+16>>2]|0;g=c[b+36>>2]|0;b=c[l+52>>2]|0;if(!b)b=c[a+136>>2]|0;f=xo(a,52)|0;h=a+44|0;d=c[h>>2]|0;c[f>>2]=-2147483519;d=d+24|0;e=c[d>>2]|0;if(e|0)c[e+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=e;c[d>>2]=f;e=a+76|0;d=c[e>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[e>>2]=d+16;c[d>>2]=9;c[d+8>>2]=f;d=f+4|0;c[d>>2]=(c[d>>2]|0)+1;c[f+20>>2]=b;if(b|0){b=b+4|0;c[b>>2]=(c[b>>2]|0)+1}if((c[l>>2]&2048|0?(j=yo(l,c[(c[a+428>>2]|0)+372>>2]|0)|0,j|0):0)?(c[j>>2]|0)==9:0){l=c[j+8>>2]|0;c[f+44>>2]=l;l=l+4|0;c[l>>2]=(c[l>>2]|0)+1;c[f+40>>2]=a;l=a+4|0;c[l>>2]=(c[l>>2]|0)+1;c[f+48>>2]=g}b=(c[i>>2]|0)+k|0;c[b+24>>2]=f;c[b+20>>2]=f;c[d>>2]=(c[d>>2]|0)+2;b=c[e>>2]|0;if((b|0)==(c[a+72>>2]|0))Jn(a,268491,50336874,268507);l=b+-16|0;c[e>>2]=l;a=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[l>>2]=2;if(!(a&8))return;l=b+4|0;a=(c[l>>2]|0)+-1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[g>>2]|0;f=d-e>>4;if(!f){c[g>>2]=e;k=b+49|0;a[k>>0]=5;return}f=d+(0-f<<4)|0;do{k=c[d+-16>>2]|0;e=c[d+-8>>2]|0;d=d+-16|0;c[d>>2]=2;if(k&8|0?(j=e+4|0,k=(c[j>>2]|0)+-1|0,c[j>>2]=k,(k|0)==0):0)Wn(c[h>>2]|0,e)}while((d|0)!=(f|0));c[g>>2]=f;d=c[h>>2]|0;if(!(c[d+32>>2]|0)){k=b+49|0;a[k>>0]=5;return}Rn(d);k=b+49|0;a[k>>0]=5;return}function Xo(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=a+44|0;f=c[b>>2]|0;g=c[f>>2]|0;if(g&4|0){c[a+128>>2]=262144;c[a+124>>2]=262143;return}c[f>>2]=g|4;d=c[(c[f+16>>2]|0)+2588588>>2]|0;e=c[d+12>>2]|0;if(e){g=gg[e&511](c[d+36>>2]|0)|0;b=c[b>>2]|0;d=c[b>>2]&-5;e=a+128|0;if(g){c[e>>2]=0;c[a+124>>2]=0;c[b>>2]=d;Jn(a,269128,50333633,271359)}else{h=e;i=d;j=b}}else{h=a+128|0;i=g&-5;j=f}c[h>>2]=262144;c[a+124>>2]=262143;c[j>>2]=i;return}function Yo(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;k=l;l=l+64|0;g=k+32|0;j=k+36|0;h=k+16|0;i=k;if(!(ep(a,b,e,d,1,j)|0))if(!f){a=0;l=k;return a|0}else{c[g>>2]=e+28;ao(a,269146,67110065,271277,g)}g=c[j+8>>2]|0;if(g|0){d=a+76|0;b=c[d>>2]|0;f=a+68|0;if(b>>>0>=(c[f>>2]|0)>>>0)Sn(a,3761);c[d>>2]=b+16;c[b>>2]=c[g>>2];c[b+4>>2]=c[g+4>>2];c[b+8>>2]=c[g+8>>2];c[b+12>>2]=c[g+12>>2];if(c[g>>2]&8|0){j=(c[g+8>>2]|0)+4|0;c[j>>2]=(c[j>>2]|0)+1}b=c[d>>2]|0;if(b>>>0>=(c[f>>2]|0)>>>0)Sn(a,3772);c[d>>2]=b+16;a=1;l=k;return a|0}c[h>>2]=9;g=c[j+4>>2]|0;c[h+8>>2]=g;c[i>>2]=8;c[i+8>>2]=e;ro(a,h,i)|0;b=a+76|0;d=c[b>>2]|0;f=d>>>0<(c[a+68>>2]|0)>>>0;if(!(c[j+16>>2]|0)){if(!f)Sn(a,3772);c[b>>2]=d+16;a=1;l=k;return a|0}else{if(!f)Sn(a,3761);c[b>>2]=d+16;c[d>>2]=9;c[d+8>>2]=g;a=g+4|0;c[a>>2]=(c[a>>2]|0)+1;a=1;l=k;return a|0}return 0}function Zo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0.0,i=0.0,k=0,l=0,m=0,n=0;m=c[b>>2]|0;l=c[d>>2]|0;if(!(l|m)){i=+h[b+8>>3];g=+h[d+8>>3];if(!(e&1)){a=i==g&1;return a|0}e=XO(i)|0;f=XO(g)|0;if(!(i==g)){a=(f|e|0)==0&1;return a|0}if(!((e|0)==2&(f|0)==2)){a=1;return a|0}h[j>>3]=g;d=c[j>>2]|0;a=c[j+4>>2]|0;h[j>>3]=i;a=wQ(d^c[j>>2]|0,a^c[j+4>>2]|0,63)|0;a=a^1;return a|0}if((m|0)==(l|0))switch(m|0){case 4:{a=(c[b+8>>2]|0)==(c[d+8>>2]|0)&1;return a|0}case 5:{a=(c[b+8>>2]|0)==(c[d+8>>2]|0)&1;return a|0}case 9:case 8:{a=(c[b+8>>2]|0)==(c[d+8>>2]|0)&1;return a|0}case 10:{a=(c[b+8>>2]|0)==(c[d+8>>2]|0)&1;return a|0}case 6:{if((c[b+8>>2]|0)==(c[d+8>>2]|0))e=(c[b+4>>2]|0)==(c[d+4>>2]|0);else e=0;a=e&1;return a|0}case 3:case 2:{a=1;return a|0}default:{}}if(e&3|0){a=0;return a|0}if(!((m&-2|0)!=2|(l&-2|0)!=2)){a=1;return a|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|0;b=f+(k<<4)|0;n=c[b>>2]|0;d=f+(k<<4)+8|0;e=c[d>>2]|0;c[b>>2]=0;h[d>>3]=g;if((n&8|0)!=0?(d=e+4|0,n=(c[d>>2]|0)+-1|0,c[d>>2]=n,(n|0)==0):0){go(c[a+44>>2]|0,e);f=c[l>>2]|0}e=c[m>>2]|0;if((e|0)==(f|0))Jn(a,268491,50336874,268507);d=e+-16|0;c[m>>2]=d;n=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[d>>2]=2;if(n&8|0?(d=e+4|0,n=(c[d>>2]|0)+-1|0,c[d>>2]=n,(n|0)==0):0)go(c[a+44>>2]|0,e);n=i==g&1;return n|0}do if((m|0)==4){k=a+76|0;f=c[k>>2]|0;l=c[a+68>>2]|0;if(f>>>0>=l>>>0)Sn(a,3868);i=+(c[b+8>>2]|0);e=f+16|0;c[k>>2]=e;c[f>>2]=0;h[f+8>>3]=i;if(e>>>0>=l>>>0)Sn(a,3761);c[k>>2]=f+32;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];if(c[d>>2]&8){n=(c[d+8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}}else{if((l|0)==4){k=a+76|0;e=c[k>>2]|0;f=a+68|0;if(e>>>0>=(c[f>>2]|0)>>>0)Sn(a,3761);c[k>>2]=e+16;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];if(m&8|0){n=(c[b+8>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}e=c[k>>2]|0;if(e>>>0<(c[f>>2]|0)>>>0){i=+(c[d+8>>2]|0);c[k>>2]=e+16;c[e>>2]=0;h[e+8>>3]=i;break}else Sn(a,3868)}if((l|0)!=9|(1788>>>m&1|0)!=0){if((m|0)!=9|(1788>>>l&1|0)!=0){n=0;return n|0}k=a+76|0;e=c[k>>2]|0;f=a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n&8|0?(a=e+4|0,n=(c[a>>2]|0)+-1|0,c[a>>2]=n,(n|0)==0):0)Wn(c[f>>2]|0,e);c[k>>2]=l+-32;e=c[f>>2]|0;if(!(c[e+32>>2]|0)){n=m;return n|0}Rn(e);n=m;return n|0}function _o(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,g=0.0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=e&1;k=c[b>>2]|0;if((k|0)==0?(c[d>>2]|0)==0:0){g=+h[b+8>>3];f=+h[d+8>>3];if(g>3]=g;q=c[j+4>>2]|0;if(0==0&(q&2146435072|0)==2146435072&((c[j>>2]|0)!=0|(q&1048575|0)!=0)){r=0;return r|0}h[j>>3]=f;q=c[j+4>>2]|0;r=0==0&(q&2146435072|0)==2146435072&((c[j>>2]|0)!=0|(q&1048575|0)!=0)?0:r;return r|0}q=a+76|0;i=c[q>>2]|0;l=a+68|0;if(i>>>0>=(c[l>>2]|0)>>>0)Sn(a,3761);c[q>>2]=i+16;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];if(k&8|0){k=(c[b+8>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}b=c[q>>2]|0;if(b>>>0>=(c[l>>2]|0)>>>0)Sn(a,3761);c[q>>2]=b+16;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];if(c[d>>2]&8|0){d=(c[d+8>>2]|0)+4|0;c[d>>2]=(c[d>>2]|0)+1}if(!(e&2)){po(a,-1,2);po(a,-2,2)}else{po(a,-2,2);po(a,-1,2)}e=c[q>>2]|0;l=e+-32|0;d=e;if((((c[l>>2]|0)==8?(n=e+-16|0,(c[n>>2]|0)==8):0)?(o=e+-24|0,m=c[o>>2]|0,p=c[e+-8>>2]|0,(c[m>>2]&512|0)==0):0)?(c[p>>2]&512|0)==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0==0&(q&2146435072|0)==2146435072&((c[j>>2]|0)!=0|(q&1048575|0)!=0)?0:r;return r|0}function $o(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;r=a+76|0;e=c[r>>2]|0;l=a+68|0;if(e>>>0>=(c[l>>2]|0)>>>0)Sn(a,3761);c[r>>2]=e+16;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];if(c[b>>2]&8|0){o=(c[b+8>>2]|0)+4|0;c[o>>2]=(c[o>>2]|0)+1}b=c[r>>2]|0;if(b>>>0>=(c[l>>2]|0)>>>0)Sn(a,3761);c[r>>2]=b+16;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];if(c[d>>2]&8|0){o=(c[d+8>>2]|0)+4|0;c[o>>2]=(c[o>>2]|0)+1}e=c[r>>2]|0;n=a+72|0;h=c[n>>2]|0;d=h;b=e-d>>4;b=b|0?h+(b+-1<<4)|0:0;b=(b|0)==0?944:b;h=e;if((c[b>>2]|0)!=9)In(a,1834,-1,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-1,268820);m=a+428|0;o=a+44|0;k=1e4;f=h;g=d;j=e;i=d;e=h;while(1){b=c[b>>2]|0;if(!(b&6656)){e=14;break}if(!(b&512)){e=37;break}f=j-i|0;j=f>>4;g=j+-1|0;if(!j){e=17;break}b=c[(c[m>>2]|0)+404>>2]|0;if(e>>>0>=(c[l>>2]|0)>>>0){e=19;break}c[r>>2]=e+16;c[e>>2]=8;c[e+8>>2]=b;e=b+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[n>>2]|0;d=(c[r>>2]|0)-e>>4;b=((f|0)<16?d:0)+g|0;if(b>>>0>=d>>>0){e=21;break}ro(a,e+(b<<4)|0,e+(d+-1<<4)|0)|0;e=c[n>>2]|0;d=(c[r>>2]|0)-e>>4;b=d+-2|0;if(d>>>0<=1){e=23;break}h=e+(b<<4)|0;i=e+(d+-1<<4)|0;j=c[h>>2]|0;b=c[e+(b<<4)+8>>2]|0;DQ(h|0,h+16|0,i-h|0)|0;c[i>>2]=2;e=(c[r>>2]|0)+-16|0;c[r>>2]=e;if((j&8|0)!=0?(i=b+4|0,j=(c[i>>2]|0)+-1|0,c[i>>2]=j,(j|0)==0):0){go(c[o>>2]|0,b);e=c[r>>2]|0}d=c[n>>2]|0;g=d;b=e-g>>4;if(!b){e=28;break}b=b+-1|0;f=d+(b<<4)|0;j=c[f>>2]|0;b=c[d+(b<<4)+8>>2]|0;c[f>>2]=2;f=e+-16|0;c[r>>2]=f;e=f;if((j&8|0)!=0?(i=b+4|0,j=(c[i>>2]|0)+-1|0,c[i>>2]=j,(j|0)==0):0){go(c[o>>2]|0,b);f=c[r>>2]|0;g=c[n>>2]|0;d=g;e=f}i=d;b=e-i>>4;b=b|0?d+(b+-1<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9){e=34;break}b=c[b+8>>2]|0;if(!b){e=34;break}k=k+-1|0;if(!k){e=36;break}else j=e}if((e|0)==14)Jn(a,268734,100664363,271303);else if((e|0)==17)$n(a,267,-1);else if((e|0)==19)Sn(a,3761);else if((e|0)==21)$n(a,342,g);else if((e|0)==23)$n(a,342,-2);else if((e|0)==28)$n(a,342,-1);else if((e|0)==34)In(a,1834,-1,268820);else if((e|0)==36)Jn(a,268734,50332732,271327);else if((e|0)==37){switch(c[f+-32>>2]|0){case 6:{i=0;b=a+152|0;e=42;break}case 10:{i=0;b=a+344|0;e=42;break}case 5:{i=0;b=a+288|0;e=42;break}case 9:{i=1;b=f+-24|0;e=42;break}default:{q=f;p=g}}do if((e|0)==42){b=c[b>>2]|0;g=j-g|0;k=g>>4;h=k+-1|0;if(!k)$n(a,267,-1);e=c[(c[m>>2]|0)+200>>2]|0;if(f>>>0>=(c[l>>2]|0)>>>0)Sn(a,3761);c[r>>2]=f+16;c[f>>2]=8;c[f+8>>2]=e;d=e+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[n>>2]|0;f=(c[r>>2]|0)-d>>4;e=((g|0)<16?f:0)+h|0;if(e>>>0>=f>>>0)$n(a,342,h);ro(a,d+(e<<4)|0,d+(f+-1<<4)|0)|0;d=c[n>>2]|0;f=(c[r>>2]|0)-d>>4;e=f+-2|0;if(f>>>0<=1)$n(a,342,-2);j=d+(e<<4)|0;k=d+(f+-1<<4)|0;l=c[j>>2]|0;e=c[d+(e<<4)+8>>2]|0;DQ(j|0,j+16|0,k-j|0)|0;c[k>>2]=2;d=(c[r>>2]|0)+-16|0;c[r>>2]=d;if((l&8|0)!=0?(k=e+4|0,l=(c[k>>2]|0)+-1|0,c[k>>2]=l,(l|0)==0):0){go(c[o>>2]|0,e);d=c[r>>2]|0}f=c[n>>2]|0;e=d-f>>4;e=e|0?f+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9)In(a,1834,-1,268820);h=c[e+8>>2]|0;if(!h)In(a,1834,-1,268820);if((d|0)==(f|0))Jn(a,268491,50336874,268507);k=d+-16|0;c[r>>2]=k;l=c[d+-16>>2]|0;e=c[d+-8>>2]|0;c[k>>2]=2;if((l&8|0)!=0?(k=e+4|0,l=(c[k>>2]|0)+-1|0,c[k>>2]=l,(l|0)==0):0){go(c[o>>2]|0,e);g=i;f=1e4}else{g=i;f=1e4}a:while(1){if(!b){e=72;break}if(c[b>>2]&67108864){d=c[m>>2]|0;e=c[d+408>>2]|0;d=d+404|0;do{if(!(yo(b,e)|0)){e=65;break a}b=yo(b,c[d>>2]|0)|0;if(!b){e=67;break a}b=c[b+8>>2]|0}while((c[b>>2]&67108864|0)!=0)}if((g|0)==0&(b|0)==(h|0)){e=80;break}f=f+-1|0;if(!f){e=71;break}else{g=0;b=c[b+20>>2]|0}}if((e|0)==65)Jn(a,268642,100663682,269229);else if((e|0)==67)Jn(a,268642,100663693,269229);else if((e|0)==71)Jn(a,268734,50332818,270308);else if((e|0)==72){q=c[r>>2]|0;p=c[n>>2]|0;break}else if((e|0)==80){e=c[r>>2]|0;if(e-(c[n>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);a=e+-16|0;q=c[a>>2]|0;b=c[e+-8>>2]|0;c[a>>2]=2;do if(q&8|0){a=b+4|0;q=(c[a>>2]|0)+-1|0;c[a>>2]=q;if(q|0)break;Wn(c[o>>2]|0,b)}while(0);a=e+-32|0;q=c[a>>2]|0;b=c[e+-24>>2]|0;c[a>>2]=2;do if(q&8|0){a=b+4|0;q=(c[a>>2]|0)+-1|0;c[a>>2]=q;if(q|0)break;Wn(c[o>>2]|0,b)}while(0);c[r>>2]=e+-32;b=c[o>>2]|0;if(!(c[b+32>>2]|0)){r=1;return r|0}Rn(b);r=1;return r|0}}while(0);if(q-p>>4>>>0<2)Jn(a,268491,50336767,268507);p=q+-16|0;a=c[p>>2]|0;b=c[q+-8>>2]|0;c[p>>2]=2;if(a&8|0?(p=b+4|0,a=(c[p>>2]|0)+-1|0,c[p>>2]=a,(a|0)==0):0)Wn(c[o>>2]|0,b);p=q+-32|0;a=c[p>>2]|0;b=c[q+-24>>2]|0;c[p>>2]=2;if(a&8|0?(p=b+4|0,a=(c[p>>2]|0)+-1|0,c[p>>2]=a,(a|0)==0):0)Wn(c[o>>2]|0,b);c[r>>2]=q+-32;b=c[o>>2]|0;if(!(c[b+32>>2]|0)){r=0;return r|0}Rn(b);r=0;return r|0}return 0}function ap(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=a+76|0;e=c[g>>2]|0;f=a+68|0;if(e>>>0>=(c[f>>2]|0)>>>0)Sn(a,3761);c[g>>2]=e+16;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];if(c[b>>2]&8|0){e=(c[b+8>>2]|0)+4|0;c[e>>2]=(c[e>>2]|0)+1}b=c[g>>2]|0;if(b>>>0>=(c[f>>2]|0)>>>0)Sn(a,3761);c[g>>2]=b+16;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];if(c[d>>2]&8|0){f=(c[d+8>>2]|0)+4|0;c[f>>2]=(c[f>>2]|0)+1}e=a+72|0;d=c[e>>2]|0;f=(c[g>>2]|0)-d>>4;f=f|0?d+(f+-1<<4)|0:0;if(447>>>(c[((f|0)==0?944:f)>>2]|0)&1|0)Jn(a,268491,100666767,269278);po(a,-2,1);b=c[g>>2]|0;d=c[e>>2]|0;f=b-d>>4;f=f>>>0>1?d+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if(!((c[f>>2]|0)==8?(c[f+8>>2]|0)!=0:0)){Ho(a,-2)|0;b=c[g>>2]|0}f=eq(a,b+-16|0,b+-32|0)|0;d=c[g>>2]|0;if(d-(c[e>>2]|0)>>4>>>0<2)Jn(a,268491,50336767,268507);e=a+44|0;h=d+-16|0;a=c[h>>2]|0;b=c[d+-8>>2]|0;c[h>>2]=2;if(a&8|0?(a=b+4|0,h=(c[a>>2]|0)+-1|0,c[a>>2]=h,(h|0)==0):0)Wn(c[e>>2]|0,b);a=d+-32|0;h=c[a>>2]|0;b=c[d+-24>>2]|0;c[a>>2]=2;if(h&8|0?(a=b+4|0,h=(c[a>>2]|0)+-1|0,c[a>>2]=h,(h|0)==0):0)Wn(c[e>>2]|0,b);c[g>>2]=d+-32;b=c[e>>2]|0;if(!(c[b+32>>2]|0))return f|0;Rn(b);return f|0}function bp(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 i=0,j=0,k=0,m=0,n=0;n=l;l=l+64|0;i=n+32|0;j=n+36|0;k=n+16|0;m=n;if(!(ep(a,b,e,d,1,j)|0)){if(g|0){c[i>>2]=e+28;ao(a,269146,67110187,271277,i)}c[k>>2]=9;c[k+8>>2]=c[a+132>>2];c[m>>2]=8;c[m+8>>2]=e;cp(a,k,m,c[f>>2]|0,c[f+4>>2]|0,+h[f+8>>3],0)|0;l=n;return}d=c[j+8>>2]|0;if(d|0?c[j+12>>2]&1|0:0){if(c[f>>2]&8|0){m=(c[f+8>>2]|0)+4|0;c[m>>2]=(c[m>>2]|0)+1}if(!(c[d>>2]&8)){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];l=n;return}b=c[d+8>>2]|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];m=b+4|0;f=(c[m>>2]|0)+-1|0;c[m>>2]=f;if(f|0){l=n;return}go(c[a+44>>2]|0,b);l=n;return}c[k>>2]=9;c[k+8>>2]=c[j+4>>2];c[m>>2]=8;c[m+8>>2]=e;cp(a,k,m,c[f>>2]|0,c[f+4>>2]|0,+h[f+8>>3],g)|0;l=n;return}function cp(b,e,f,g,i,k,m){b=b|0;e=e|0;f=f|0;g=g|0;i=i|0;k=+k;m=m|0;var 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,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=l;l=l+96|0;B=N+48|0;q=N+40|0;J=N+84|0;H=N+80|0;E=N+24|0;G=N+8|0;M=N;K=N+56|0;c[E>>2]=c[e>>2];c[E+4>>2]=c[e+4>>2];c[E+8>>2]=c[e+8>>2];c[E+12>>2]=c[e+12>>2];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];h[M>>3]=k;h[j>>3]=k;r=c[j>>2]|0;a:do switch(c[E>>2]|0){case 3:case 2:{M=uo(b,G)|0;g=uo(b,E)|0;c[q>>2]=M;c[q+4>>2]=g;ao(b,268642,100666659,271216,q);break}case 4:{r=0;q=c[b+176>>2]|0;L=173;break}case 8:{f=c[E+8>>2]|0;e=b+76|0;n=c[e>>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[e>>2]=n+16;c[n>>2]=c[G>>2];c[n+4>>2]=c[G+4>>2];c[n+8>>2]=c[G+8>>2];c[n+12>>2]=c[G+12>>2];if(c[G>>2]&8|0){A=(c[G+8>>2]|0)+4|0;c[A>>2]=(c[A>>2]|0)+1}n=c[e>>2]|0;do if((c[n+-16>>2]|0)!=8){po(b,-1,1);o=b+72|0;A=c[o>>2]|0;n=(c[e>>2]|0)-A>>4;n=n|0?A+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8?(v=c[n+8>>2]|0,v|0):0){n=v;break}Ho(b,-1)|0;A=c[o>>2]|0;n=(c[e>>2]|0)-A>>4;n=n|0?A+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8)n=c[n+8>>2]|0;else n=0}else n=c[n+-8>>2]|0;while(0);o=c[n+16>>2]|0;if(c[f>>2]&512|0){v=n;w=0;n=c[b+304>>2]|0;s=o;L=184;break a}if((n|0)!=(c[(c[b+428>>2]|0)+320>>2]|0)){if((o|0)!=-1?o>>>0<(wp(f)|0)>>>0:0)break a;v=n;w=0;n=c[b+168>>2]|0;s=o;L=184}break}case 9:{s=E+8|0;q=c[s>>2]|0;e=c[q>>2]|0;do if(((e&4227200|0)==4227200?(c[G>>2]|0)==0:0)?(p=+h[G+8>>3],w=~~p>>>0,w=+(w>>>0)==p?w:-1,w>>>0<(c[q+32>>2]|0)>>>0):0){f=q+40|0;if(w>>>0>=(c[f>>2]|0)>>>0){if(c[q+44>>2]|0)break;c[f>>2]=w+1}e=c[q+24>>2]|0;e=(c[q+16>>2]|0)+(e*21|0)+(0-e&7)|0;if(g&8|0){L=r+4|0;c[L>>2]=(c[L>>2]|0)+1}n=e+(w<<4)|0;if(!(c[n>>2]&8)){c[n>>2]=g;c[e+(w<<4)+4>>2]=i;h[e+(w<<4)+8>>3]=+h[M>>3];b=1;l=N;return b|0}o=c[e+(w<<4)+8>>2]|0;c[n>>2]=g;c[e+(w<<4)+4>>2]=i;h[e+(w<<4)+8>>3]=+h[M>>3];M=o+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=1;l=N;return b|0}go(c[b+44>>2]|0,o);b=1;l=N;return b|0}while(0);if((((g|0)==0&(e&8192|0)!=0?a[q+58>>0]|0:0)?(c[G>>2]|0)==0:0)?(p=+h[G+8>>3],t=~~p>>>0,t=+(t>>>0)==p?t:-1,u=d[q+56>>0]|0,t>>>0<(c[q+52>>2]|0)>>>u>>>0):0){e=t<>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[f>>2]=n+16;c[n>>2]=0;c[n+4>>2]=i;h[n+8>>3]=+h[M>>3];n=c[q+40>>2]|0;if(n|0?(y=c[q+48>>2]|0,(e+o+y|0)>>>0<=(c[n+16>>2]|0)>>>0):0){if(!(c[n>>2]&128))n=n+24|0;else n=c[n+20>>2]|0;Dq(b,a[q+57>>0]|0,n+y+e|0,o)}n=c[f>>2]|0;if((n|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);M=n+-16|0;c[f>>2]=M;g=c[n+-16>>2]|0;n=c[n+-8>>2]|0;c[M>>2]=2;if(!(g&8)){b=1;l=N;return b|0}M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=1;l=N;return b|0}go(c[b+44>>2]|0,n);b=1;l=N;return b|0}if(!(e&67108864)){r=q;L=173}else{L=(fq(b,q,81,G,J)|0)==0;t=c[J>>2]|0;if(L){c[E>>2]=9;c[s>>2]=t;r=t;q=t;L=173;break a}u=b+76|0;o=c[u>>2]|0;q=b+68|0;if(o>>>0>=(c[q>>2]|0)>>>0)Sn(b,3761);c[u>>2]=o+16;c[o>>2]=9;c[o+8>>2]=t;o=t+4|0;c[o>>2]=(c[o>>2]|0)+1;o=c[u>>2]|0;if(o>>>0>=(c[q>>2]|0)>>>0)Sn(b,3761);c[u>>2]=o+16;c[o>>2]=c[G>>2];c[o+4>>2]=c[G+4>>2];c[o+8>>2]=c[G+8>>2];c[o+12>>2]=c[G+12>>2];if(c[G>>2]&8|0){L=(c[G+8>>2]|0)+4|0;c[L>>2]=(c[L>>2]|0)+1}o=c[u>>2]|0;if(o>>>0>=(c[q>>2]|0)>>>0)Sn(b,3761);c[u>>2]=o+16;c[o>>2]=g;c[o+4>>2]=i;k=+h[M>>3];h[o+8>>3]=k;if(g&8|0){h[j>>3]=k;L=(c[j>>2]|0)+4|0;c[L>>2]=(c[L>>2]|0)+1}o=c[u>>2]|0;if(o>>>0>=(c[q>>2]|0)>>>0)Sn(b,3761);c[u>>2]=o+16;c[o>>2]=c[E>>2];c[o+4>>2]=c[E+4>>2];c[o+8>>2]=c[E+8>>2];c[o+12>>2]=c[E+12>>2];if(c[E>>2]&8|0){L=(c[s>>2]|0)+4|0;c[L>>2]=(c[L>>2]|0)+1}f=b+72|0;o=(c[u>>2]|0)-(c[f>>2]|0)|0;if(((o>>4)+-4|0)<2)Tn(b,268476,76);if(o>>>0<96)Tn(b,268521,942);so(b,4,0,(o+-96|0)>>>4);e=gq(b,-1)|0;o=c[u>>2]|0;if((o|0)==(c[f>>2]|0))Jn(b,268491,50336874,268507);J=o+-16|0;c[u>>2]=J;L=c[o+-16>>2]|0;o=c[o+-8>>2]|0;c[J>>2]=2;if(L&8|0?(J=o+4|0,L=(c[J>>2]|0)+-1|0,c[J>>2]=L,(L|0)==0):0)go(c[b+44>>2]|0,o);if(!e)if(!m){b=0;l=N;return b|0}else Jn(b,268642,100667448,270293);o=c[u>>2]|0;if(o>>>0>=(c[q>>2]|0)>>>0)Sn(b,3761);c[u>>2]=o+16;c[o>>2]=c[G>>2];c[o+4>>2]=c[G+4>>2];c[o+8>>2]=c[G+8>>2];c[o+12>>2]=c[G+12>>2];if(c[G>>2]&8|0){L=(c[G+8>>2]|0)+4|0;c[L>>2]=(c[L>>2]|0)+1}o=c[u>>2]|0;do if((c[o+-16>>2]|0)==8)n=c[o+-8>>2]|0;else{po(b,-1,1);L=c[f>>2]|0;o=(c[u>>2]|0)-L>>4;o=o|0?L+(o+-1<<4)|0:0;o=(o|0)==0?944:o;if((c[o>>2]|0)==8?(n=c[o+8>>2]|0,n|0):0)break;Ho(b,-1)|0;L=c[f>>2]|0;n=(c[u>>2]|0)-L>>4;n=n|0?L+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)!=8){n=0;break}n=c[n+8>>2]|0}while(0);do if(!(io(b,t,n,c[n+16>>2]|0,K,1)|0)){n=c[u>>2]|0;if((n|0)==(c[f>>2]|0))Jn(b,268491,50336874,268507);M=n+-16|0;c[u>>2]=M;g=c[n+-16>>2]|0;n=c[n+-8>>2]|0;c[M>>2]=2;if(!(g&8))break;M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0)break;go(c[b+44>>2]|0,n)}else{r=c[u>>2]|0;o=c[f>>2]|0;f=r-o>>4;if(!f)$n(b,342,-1);e=f+-1|0;q=c[K>>2]|0;if(!(q&13)){n=c[o+(e<<4)>>2]|0;b:do if(!(n|g)){p=+h[M>>3];k=+h[o+(e<<4)+8>>3];n=XO(p)|0;o=XO(k)|0;if(!(p==k)){A=(o|n|0)==0&1;break}if(!((n|0)==2&(o|0)==2)){A=1;break}h[j>>3]=k;g=c[j>>2]|0;A=c[j+4>>2]|0;h[j>>3]=p;A=wQ(g^c[j>>2]|0,A^c[j+4>>2]|0,63)|0;A=A^1}else{if((n|0)!=(g|0)){A=0;break}switch(g|0){case 3:case 2:{A=1;break b}case 4:{A=(c[M>>2]|0)==(c[o+(e<<4)+8>>2]|0)&1;break b}case 5:{A=(c[M>>2]|0)==(c[o+(e<<4)+8>>2]|0)&1;break b}case 9:case 8:{A=(c[M>>2]|0)==(c[o+(e<<4)+8>>2]|0)&1;break b}case 10:{A=(c[M>>2]|0)==(c[o+(e<<4)+8>>2]|0)&1;break b}case 6:{if((c[M>>2]|0)==(c[o+(e<<4)+8>>2]|0))n=(c[o+(e<<4)+4>>2]|0)==(i|0);else n=0;A=n&1;break b}default:{}}}while(0);n=(A|0)==0}else n=0;if(n|(q&12|0)==8&(c[K+8>>2]|0)==0)Jn(b,268642,100666794,270293);if(f>>>0<2)Jn(b,268491,50336767,268507);o=b+44|0;g=r+-16|0;b=c[g>>2]|0;n=c[r+-8>>2]|0;c[g>>2]=2;do if(b&8|0){g=n+4|0;b=(c[g>>2]|0)+-1|0;c[g>>2]=b;if(b|0)break;Wn(c[o>>2]|0,n)}while(0);g=r+-32|0;b=c[g>>2]|0;n=c[r+-24>>2]|0;c[g>>2]=2;do if(b&8|0){g=n+4|0;b=(c[g>>2]|0)+-1|0;c[g>>2]=b;if(b|0)break;Wn(c[o>>2]|0,n)}while(0);c[u>>2]=r+-32;n=c[o>>2]|0;if(!(c[n+32>>2]|0))break;Rn(n)}while(0);b=1;l=N;return b|0}break}case 10:{r=c[E+8>>2]|0;s=c[G>>2]|0;if(!s){p=+h[G+8>>3];n=~~p>>>0;if(+(n>>>0)==p){o=0;f=n;q=0;L=134}else L=145}else{e=b+76|0;n=c[e>>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[e>>2]=n+16;c[n>>2]=c[G>>2];c[n+4>>2]=c[G+4>>2];c[n+8>>2]=c[G+8>>2];c[n+12>>2]=c[G+12>>2];if(s&8|0){L=(c[G+8>>2]|0)+4|0;c[L>>2]=(c[L>>2]|0)+1}n=c[e>>2]|0;do if((c[n+-16>>2]|0)!=8){po(b,-1,1);o=b+72|0;L=c[o>>2]|0;n=(c[e>>2]|0)-L>>4;n=n|0?L+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8?(x=c[n+8>>2]|0,x|0):0){n=x;break}Ho(b,-1)|0;L=c[o>>2]|0;n=(c[e>>2]|0)-L>>4;n=n|0?L+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8)n=c[n+8>>2]|0;else n=0}else n=c[n+-8>>2]|0;while(0);o=n;f=c[n+16>>2]|0;q=1;L=134}if((L|0)==134){if((f|0)!=-1)if(f>>>0<(c[r+16>>2]|0)>>>0){if(!(c[r>>2]&128))e=r+24|0;else e=c[r+20>>2]|0;n=b+76|0;o=c[n>>2]|0;if(o>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[n>>2]=o+16;c[o>>2]=g;c[o+4>>2]=i;k=+h[M>>3];h[o+8>>3]=k;if(g&8|0){h[j>>3]=k;g=(c[j>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}a[e+f>>0]=Eq(b,-1)|0;Qo(b,q+1|0);b=1;l=N;return b|0}else e=f;else e=-1;if(!q)L=145}if((L|0)==145){e=b+76|0;n=c[e>>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[e>>2]=n+16;c[n>>2]=c[G>>2];c[n+4>>2]=c[G+4>>2];c[n+8>>2]=c[G+8>>2];c[n+12>>2]=c[G+12>>2];if(s&8|0){A=(c[G+8>>2]|0)+4|0;c[A>>2]=(c[A>>2]|0)+1}n=c[e>>2]|0;do if((c[n+-16>>2]|0)!=8){po(b,-1,1);o=b+72|0;A=c[o>>2]|0;n=(c[e>>2]|0)-A>>4;n=n|0?A+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8?(z=c[n+8>>2]|0,z|0):0){n=z;break}Ho(b,-1)|0;A=c[o>>2]|0;n=(c[e>>2]|0)-A>>4;n=n|0?A+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8)n=c[n+8>>2]|0;else n=0}else n=c[n+-8>>2]|0;while(0);o=n;e=c[n+16>>2]|0}if((o|0)!=(c[(c[b+428>>2]|0)+320>>2]|0)){v=o;w=0;n=c[b+344>>2]|0;s=e;L=184}break}case 5:{r=0;q=c[b+288>>2]|0;L=173;break}case 6:{e=b+76|0;n=c[e>>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[e>>2]=n+16;c[n>>2]=c[G>>2];c[n+4>>2]=c[G+4>>2];c[n+8>>2]=c[G+8>>2];c[n+12>>2]=c[G+12>>2];if(c[G>>2]&8|0){A=(c[G+8>>2]|0)+4|0;c[A>>2]=(c[A>>2]|0)+1}n=c[e>>2]|0;do if((c[n+-16>>2]|0)!=8){po(b,-1,1);o=b+72|0;A=c[o>>2]|0;n=(c[e>>2]|0)-A>>4;n=n|0?A+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8?(s=c[n+8>>2]|0,s|0):0){n=s;break}Ho(b,-1)|0;A=c[o>>2]|0;n=(c[e>>2]|0)-A>>4;n=n|0?A+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8)n=c[n+8>>2]|0;else n=0}else n=c[n+-8>>2]|0;while(0);o=c[n+16>>2]|0;A=c[b+428>>2]|0;if((c[A+320>>2]|0)!=(n|0)?(c[A+344>>2]|0)!=(n|0):0){v=n;w=0;n=c[b+152>>2]|0;s=o;L=184}break}default:{r=0;q=c[b+184>>2]|0;L=173}}while(0);if((L|0)==173){f=b+76|0;n=c[f>>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[f>>2]=n+16;c[n>>2]=c[G>>2];c[n+4>>2]=c[G+4>>2];c[n+8>>2]=c[G+8>>2];c[n+12>>2]=c[G+12>>2];if(c[G>>2]&8|0){L=(c[G+8>>2]|0)+4|0;c[L>>2]=(c[L>>2]|0)+1}n=c[f>>2]|0;do if((c[n+-16>>2]|0)!=8){po(b,-1,1);e=b+72|0;L=c[e>>2]|0;n=(c[f>>2]|0)-L>>4;n=n|0?L+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8?(o=c[n+8>>2]|0,o|0):0)break;Ho(b,-1)|0;L=c[e>>2]|0;n=(c[f>>2]|0)-L>>4;n=n|0?L+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)==8)o=c[n+8>>2]|0;else o=0}else o=c[n+-8>>2]|0;while(0);v=o;w=r;n=q;s=c[o+16>>2]|0;L=184}c:do if((L|0)==184){o=1e4;while(1){if(io(b,n,v,s,K,0)|0){L=186;break}if(!o){L=263;break}n=c[n+20>>2]|0;if(!n){L=265;break}else o=o+-1|0}do if((L|0)==186){o=c[K>>2]|0;if(o&8|0){o=c[(c[n+16>>2]|0)+(c[K+12>>2]<<4)+4>>2]|0;if(!o){if(m|0)Jn(b,268642,100667503,271260);n=b+76|0;o=c[n>>2]|0;if((o|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);M=o+-16|0;c[n>>2]=M;g=c[o+-16>>2]|0;n=c[o+-8>>2]|0;c[M>>2]=2;if(!(g&8)){b=0;l=N;return b|0}M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=0;l=N;return b|0}go(c[b+44>>2]|0,n);b=0;l=N;return b|0}q=b+76|0;n=c[q>>2]|0;f=b+68|0;if(n>>>0>=(c[f>>2]|0)>>>0)Sn(b,3761);c[q>>2]=n+16;c[n>>2]=9;c[n+8>>2]=o;n=o+4|0;c[n>>2]=(c[n>>2]|0)+1;n=c[q>>2]|0;if(n>>>0>=(c[f>>2]|0)>>>0)Sn(b,3761);c[q>>2]=n+16;c[n>>2]=c[E>>2];c[n+4>>2]=c[E+4>>2];c[n+8>>2]=c[E+8>>2];c[n+12>>2]=c[E+12>>2];if(c[E>>2]&8|0){m=(c[E+8>>2]|0)+4|0;c[m>>2]=(c[m>>2]|0)+1}n=c[q>>2]|0;if(n>>>0>=(c[f>>2]|0)>>>0)Sn(b,3761);c[q>>2]=n+16;c[n>>2]=g;c[n+4>>2]=i;k=+h[M>>3];h[n+8>>3]=k;if(g&8|0){h[j>>3]=k;g=(c[j>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}e=c[q>>2]|0;if(e>>>0>=(c[f>>2]|0)>>>0)Sn(b,935);f=b+72|0;n=c[f>>2]|0;o=e-n>>4;if(o>>>0<=3)$n(b,342,-4);g=n+(o+-4<<4)|0;c[q>>2]=e+16;c[e>>2]=c[g>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];if(c[e>>2]&8|0){g=(c[e+8>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}n=(c[q>>2]|0)-(c[f>>2]|0)|0;if(((n>>4)+-2|0)<2)Tn(b,268476,76);if(n>>>0<64)Tn(b,268521,942);so(b,2,0,(n+-64|0)>>>4);n=c[q>>2]|0;if((n|0)==(c[f>>2]|0))Jn(b,268491,50336874,268507);M=n+-16|0;c[q>>2]=M;g=c[n+-16>>2]|0;n=c[n+-8>>2]|0;c[M>>2]=2;if(!(g&8))break;M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0)break;go(c[b+44>>2]|0,n);break}if(!w)L=347;else{if((n|0)!=(w|0)){n=c[w>>2]|0;if(!(n&128)){L=354;break}if(!(o&1))break c;else{L=280;break}}if(!(o&1))break c;if(!(o&16)){e=c[K+12>>2]|0;f=c[w+16>>2]|0;q=g&8;n=(q|0)!=0;do if((e|0)>-1){if(n){G=(c[M>>2]|0)+4|0;c[G>>2]=(c[G>>2]|0)+1}n=f+(e<<4)|0;if(!(c[n>>2]&8)){c[n>>2]=g;c[f+(e<<4)+4>>2]=i;h[f+(e<<4)+8>>3]=+h[M>>3];break}o=c[f+(e<<4)+8>>2]|0;c[n>>2]=g;c[f+(e<<4)+4>>2]=i;h[f+(e<<4)+8>>3]=+h[M>>3];F=o+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(!G)go(c[b+44>>2]|0,o)}else{e=c[w+24>>2]|0;e=f+(e*21|0)+(0-e&7)|0;f=c[K+20>>2]|0;if(n){G=(c[M>>2]|0)+4|0;c[G>>2]=(c[G>>2]|0)+1}n=e+(f<<4)|0;if(!(c[n>>2]&8)){c[n>>2]=g;c[e+(f<<4)+4>>2]=i;h[e+(f<<4)+8>>3]=+h[M>>3];break}o=c[e+(f<<4)+8>>2]|0;c[n>>2]=g;c[e+(f<<4)+4>>2]=i;h[e+(f<<4)+8>>3]=+h[M>>3];F=o+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(!G)go(c[b+44>>2]|0,o)}while(0);if((s|0)==-1)break;if(!(c[w>>2]&16777216))break;r=b+76|0;n=c[r>>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[r>>2]=n+16;c[n>>2]=g;c[n+4>>2]=i;k=+h[M>>3];h[n+8>>3]=k;if(q|0){h[j>>3]=k;g=(c[j>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}do if(Cp(b,w,v,K,J,H)|0){o=c[r>>2]|0;q=b+72|0;e=c[q>>2]|0;n=o-e>>4;n=n|0?e+(n+-1<<4)|0:0;n=(n|0)==0?944:n;if((c[n>>2]|0)!=8)In(b,1812,-1,287470);f=c[n+8>>2]|0;if(!f)In(b,1812,-1,287470);if((o|0)==(e|0))Jn(b,268491,50336874,268507);n=o+-16|0;c[r>>2]=n;g=c[o+-16>>2]|0;o=c[o+-8>>2]|0;c[n>>2]=2;do if(!(g&8))o=e;else{M=o+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){o=e;break}go(c[b+44>>2]|0,o);o=c[q>>2]|0;n=c[r>>2]|0}while(0);n=n-o>>4;if(!n)$n(b,342,-1);else{bp(b,c[H>>2]|0,0,f,o+(n+-1<<4)|0,m);I=q;break}}else I=b+72|0;while(0);n=c[r>>2]|0;if((n|0)==(c[I>>2]|0))Jn(b,268491,50336874,268507);M=n+-16|0;c[r>>2]=M;g=c[n+-16>>2]|0;n=c[n+-8>>2]|0;c[M>>2]=2;if(!(g&8))break;M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0)break;go(c[b+44>>2]|0,n);break}n=c[w>>2]|0;if(n&4194304|0){q=b+76|0;n=c[q>>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[q>>2]=n+16;c[n>>2]=g;c[n+4>>2]=i;k=+h[M>>3];h[n+8>>3]=k;if(g&8|0){h[j>>3]=k;g=(c[j>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}f=w+40|0;e=c[f>>2]|0;n=c[q>>2]|0;o=n+-16|0;if(!(c[o>>2]|0))k=+h[n+-8>>3];else k=+jo(b,o);n=~~k>>>0;if(+(n>>>0)!=k)Jn(b,268642,50334652,268662);if(!(c[w+44>>2]|0)){if(n>>>0>>0){o=Bp(b,w,e,n,0,J)|0;n=c[J>>2]|0}else o=1;c[f>>2]=n}else o=0;n=c[q>>2]|0;e=b+72|0;if((n|0)==(c[e>>2]|0))Jn(b,268491,50336874,268507);M=n+-16|0;c[q>>2]=M;g=c[n+-16>>2]|0;n=c[n+-8>>2]|0;c[M>>2]=2;if(g&8|0?(M=n+4|0,g=(c[M>>2]|0)+-1|0,c[M>>2]=g,(g|0)==0):0)go(c[b+44>>2]|0,n);if(o|0)break;if(m|0)Jn(b,268642,100667495,269358);n=c[q>>2]|0;if((n|0)==(c[e>>2]|0))Jn(b,268491,50336874,268507);M=n+-16|0;c[q>>2]=M;g=c[n+-16>>2]|0;n=c[n+-8>>2]|0;c[M>>2]=2;if(!(g&8)){b=0;l=N;return b|0}M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=0;l=N;return b|0}go(c[b+44>>2]|0,n);b=0;l=N;return b|0}if((n&8192|0?(D=w+40|0,C=d[w+56>>0]|0,s>>>0<(c[w+52>>2]|0)>>>C>>>0):0)?a[w+58>>0]|0:0){q=s<>2]|0;if(n>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[r>>2]=n+16;c[n>>2]=g;c[n+4>>2]=i;k=+h[M>>3];h[n+8>>3]=k;if(g&8|0){h[j>>3]=k;g=(c[j>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}e=b+72|0;n=c[e>>2]|0;g=(c[r>>2]|0)-n>>4;o=g+-1|0;if(!g)$n(b,267,-1);p=+jo(b,n+(o<<4)|0);M=c[e>>2]|0;i=M+(o<<4)|0;g=c[i>>2]|0;M=M+(o<<4)+8|0;n=c[M>>2]|0;c[i>>2]=0;h[M>>3]=p;if(g&8|0?(M=n+4|0,g=(c[M>>2]|0)+-1|0,c[M>>2]=g,(g|0)==0):0)go(c[b+44>>2]|0,n);n=c[D>>2]|0;if(n|0?(F=c[w+48>>2]|0,(q+f+F|0)>>>0<=(c[n+16>>2]|0)>>>0):0){if(!(c[n>>2]&128))n=n+24|0;else n=c[n+20>>2]|0;Dq(b,a[w+57>>0]|0,n+F+q|0,f)}n=c[r>>2]|0;if((n|0)==(c[e>>2]|0))Jn(b,268491,50336874,268507);M=n+-16|0;c[r>>2]=M;g=c[n+-16>>2]|0;n=c[n+-8>>2]|0;c[M>>2]=2;if(!(g&8))break;M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0)break;go(c[b+44>>2]|0,n);break}if(m|0)lo(b,268642,4215);n=b+76|0;o=c[n>>2]|0;if((o|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);M=o+-16|0;c[n>>2]=M;g=c[o+-16>>2]|0;n=c[o+-8>>2]|0;c[M>>2]=2;if(!(g&8)){b=0;l=N;return b|0}M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=0;l=N;return b|0}go(c[b+44>>2]|0,n);b=0;l=N;return b|0}}else if((L|0)==263)Jn(b,268642,50335451,270308);else if((L|0)==265)if(w){n=c[w>>2]|0;if(!(n&128))L=354;else L=280}else L=347;while(0);if((L|0)==280){o=(s|0)!=-1;if(o&(n&4194304|0)!=0?s>>>0>=(c[w+40>>2]|0)>>>0:0)if(!(c[w+44>>2]|0))u=s+1|0;else break;else u=0;do if(!((n&32768|0)==0|o^1)){q=c[w+32>>2]|0;if(s>>>0>>0)n=w+24|0;else{n=w+24|0;r=c[n>>2]|0;if((((q+7|0)>>>3)*9|0)>>>0>>0){if(!q)o=0;else{e=(c[w+16>>2]|0)+(r*21|0)+(0-r&7)|0;o=0;f=0;while(1){o=((c[e>>2]|0)!=7&1)+o|0;f=f+1|0;if((f|0)==(q|0))break;else e=e+16|0}}if(s>>>3<<1>>>0>o>>>0){Ap(b,w);L=296;break}}ko(b,w,r,((s+16|0)>>>3)+s|0,c[w+36>>2]|0,0)}m=c[n>>2]|0;m=(c[w+16>>2]|0)+(m*21|0)+(0-m&7)|0;c[m+(s<<4)>>2]=g;c[m+(s<<4)+4>>2]=i;k=+h[M>>3];h[m+(s<<4)+8>>3]=k;if(g&8|0){h[j>>3]=k;g=(c[j>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}}else{n=w+24|0;L=296}while(0);if((L|0)==296){r=w+28|0;q=c[r>>2]|0;e=c[n>>2]|0;if(q>>>0>=e>>>0){if(!q)o=0;else{o=0;f=0;e=(c[w+16>>2]|0)+(e<<4)|0;while(1){o=((c[e>>2]|0)!=0&1)+o|0;f=f+1|0;if((f|0)==(q|0))break;else e=e+4|0}}f=((o+16|0)>>>3)+o|0;do if(f>>>0>7){if(f>>>0>63){o=2;e=f;do{L=e;e=e>>>6;o=o<<6}while(L>>>0>4095);if(!e)break}else{o=2;e=f}do{e=e>>>1;o=o<<1}while((e|0)!=0)}else o=0;while(0);ko(b,w,f,c[w+32>>2]|0,o,0);q=c[r>>2]|0;e=c[n>>2]|0}c[r>>2]=q+1;t=w+16|0;c[(c[t>>2]|0)+(e<<4)+(q<<2)>>2]=v;f=v+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[w+36>>2]|0;if(!f)o=c[t>>2]|0;else{o=c[t>>2]|0;s=o+(e*21|0)+(0-e&7)+(c[w+32>>2]<<4)|0;r=f+-1|0;e=c[v+12>>2]|0;while(1){e=e&r;f=s+(e<<2)|0;if((c[f>>2]|0)>>>0>4294967293)break;else e=e+1|0}c[f>>2]=q}c[o+(q<<4)>>2]=g;c[o+(q<<4)+4>>2]=i;k=+h[M>>3];h[o+(q<<4)+8>>3]=k;if(g&8|0){h[j>>3]=k;g=(c[j>>2]|0)+4|0;c[g>>2]=(c[g>>2]|0)+1}a[(c[t>>2]|0)+((c[n>>2]|0)*20|0)+q>>0]=7}if(u|0)c[w+40>>2]=u}else if((L|0)==347){if(m|0){M=uo(b,G)|0;g=uo(b,E)|0;c[B>>2]=M;c[B+4>>2]=g;ao(b,268642,100667461,271216,B)}n=b+76|0;o=c[n>>2]|0;if((o|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);M=o+-16|0;c[n>>2]=M;g=c[o+-16>>2]|0;n=c[o+-8>>2]|0;c[M>>2]=2;if(!(g&8)){b=0;l=N;return b|0}M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=0;l=N;return b|0}go(c[b+44>>2]|0,n);b=0;l=N;return b|0}else if((L|0)==354){if(m|0)Jn(b,268642,100667470,269343);n=b+76|0;o=c[n>>2]|0;if((o|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);M=o+-16|0;c[n>>2]=M;g=c[o+-16>>2]|0;n=c[o+-8>>2]|0;c[M>>2]=2;if(!(g&8)){b=0;l=N;return b|0}M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=0;l=N;return b|0}go(c[b+44>>2]|0,n);b=0;l=N;return b|0}n=b+76|0;o=c[n>>2]|0;if((o|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);M=o+-16|0;c[n>>2]=M;g=c[o+-16>>2]|0;n=c[o+-8>>2]|0;c[M>>2]=2;if(!(g&8)){b=1;l=N;return b|0}M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=1;l=N;return b|0}go(c[b+44>>2]|0,n);b=1;l=N;return b|0}while(0);if(m|0)Jn(b,268642,100667478,271247);n=b+76|0;o=c[n>>2]|0;if((o|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);M=o+-16|0;c[n>>2]=M;g=c[o+-16>>2]|0;n=c[o+-8>>2]|0;c[M>>2]=2;if(!(g&8)){b=0;l=N;return b|0}M=n+4|0;g=(c[M>>2]|0)+-1|0;c[M>>2]=g;if(g|0){b=0;l=N;return b|0}go(c[b+44>>2]|0,n);b=0;l=N;return b|0}function dp(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,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=l;l=l+48|0;g=w;r=w+16|0;m=w+8|0;t=a+76|0;j=c[t>>2]|0;u=a+72|0;v=j-(c[u>>2]|0)>>4;h=c[b>>2]|0;i=j;if((h&-2|0)==2){x=uo(a,d)|0;p=uo(a,b)|0;c[g>>2]=x;c[g+4>>2]=p;ao(a,268642,100667844,271184,g)}p=a+68|0;if(i>>>0>=(c[p>>2]|0)>>>0)Sn(a,3761);c[t>>2]=i+16;x=j;c[x>>2]=c[b>>2];c[x+4>>2]=c[b+4>>2];c[x+8>>2]=c[b+8>>2];c[x+12>>2]=c[b+12>>2];if(h&8|0){x=(c[b+8>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}g=c[t>>2]|0;if(g>>>0>=(c[p>>2]|0)>>>0)Sn(a,3761);c[t>>2]=g+16;c[g>>2]=c[d>>2];c[g+4>>2]=c[d+4>>2];c[g+8>>2]=c[d+8>>2];c[g+12>>2]=c[d+12>>2];if(c[d>>2]&8|0){x=(c[d+8>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}g=c[t>>2]|0;a:do switch(c[g+-32>>2]|0){case 9:{b=c[g+-24>>2]|0;do if(c[b>>2]&67108864){x=(fq(a,b,70,d,m)|0)==0;b=c[m>>2]|0;if(x){g=c[t>>2]|0;break}f=c[t>>2]|0;if(f>>>0>=(c[p>>2]|0)>>>0)Sn(a,3761);c[t>>2]=f+16;c[f>>2]=9;c[f+8>>2]=b;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[t>>2]|0;if(f>>>0>=(c[p>>2]|0)>>>0)Sn(a,935);g=c[u>>2]|0;h=f-g>>4;if(h>>>0<=3)$n(a,342,-4);x=g+(h+-4<<4)|0;c[t>>2]=f+16;c[f>>2]=c[x>>2];c[f+4>>2]=c[x+4>>2];c[f+8>>2]=c[x+8>>2];c[f+12>>2]=c[x+12>>2];if(c[f>>2]&8|0){x=(c[f+8>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}f=(c[t>>2]|0)-(c[u>>2]|0)|0;if(((f>>4)+-2|0)<2)Tn(a,268476,76);if(f>>>0<64)Tn(a,268521,942);so(a,2,0,(f+-64|0)>>>4);k=c[t>>2]|0;f=c[u>>2]|0;x=k-f>>4;j=x+-1|0;if(!x)$n(a,267,-1);d=f+(j<<4)|0;i=c[d>>2]|0;switch(i|0){case 3:case 2:{h=0;s=35;break}case 4:{g=f+(j<<4)+8|0;h=c[g>>2]|0;s=33;break}case 8:{g=(c[(c[f+(j<<4)+8>>2]|0)+20>>2]|0)!=0&1;s=34;break}case 10:case 9:{g=1;s=34;break}case 5:{g=f+(j<<4)+8|0;h=(c[g>>2]|0)!=0&1;s=33;break}case 6:{h=1;g=f+(j<<4)+8|0;s=33;break}default:{h=f+(j<<4)+8|0;s=c[h>>2]|0;h=c[h+4>>2]|0;h=(((s|0)==0&(h&2147483647|0)==0|((s|0)!=0|(h&1048575|0)!=0)&(0==0&(h&2146435072|0)==2146435072))^1)&1;s=35}}if((s|0)==33){c[d>>2]=4;c[g>>2]=h;g=k}else if((s|0)==34){h=f+(j<<4)+8|0;x=c[h>>2]|0;c[d>>2]=4;c[h>>2]=g;h=g;g=x;s=36}else if((s|0)==35){x=f+(j<<4)+8|0;g=c[x>>2]|0;c[d>>2]=4;c[x>>2]=h;if(!(i&8))g=k;else s=36}if((s|0)==36){s=g+4|0;x=(c[s>>2]|0)+-1|0;c[s>>2]=x;if(!x){go(c[a+44>>2]|0,g);g=c[t>>2]|0;f=c[u>>2]|0}else g=k}if((g|0)==(f|0))Jn(a,268491,50336874,268507);s=g+-16|0;c[t>>2]=s;x=c[g+-16>>2]|0;f=c[g+-8>>2]|0;c[s>>2]=2;if(x&8|0?(s=f+4|0,x=(c[s>>2]|0)+-1|0,c[s>>2]=x,(x|0)==0):0)go(c[a+44>>2]|0,f);if(!h){if(e|0)Jn(a,268642,100667851,270293);_n(a,v);x=0;l=w;return x|0}f=c[t>>2]|0;g=f+-16|0;if(f>>>0>=(c[p>>2]|0)>>>0)Sn(a,3761);c[t>>2]=f+16;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];if(c[g>>2]&8|0){x=(c[f+-8>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}f=c[t>>2]|0;do if((c[f+-16>>2]|0)==8)f=c[f+-8>>2]|0;else{po(a,-1,1);x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8?(q=c[f+8>>2]|0,q|0):0){f=q;break}Ho(a,-1)|0;x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=8){f=0;break}f=c[f+8>>2]|0}while(0);do if(io(a,b,f,c[f+16>>2]|0,r,0)|0){if(c[r>>2]&4|0)break;Jn(a,268642,100667759,270293)}while(0);f=1;s=92;break a}while(0);do if((c[g+-16>>2]|0)!=8){po(a,-1,1);x=c[u>>2]|0;g=(c[t>>2]|0)-x>>4;g=g|0?x+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(f=c[g+8>>2]|0,f|0):0)break;Ho(a,-1)|0;x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8)f=c[f+8>>2]|0;else f=0}else f=c[g+-8>>2]|0;while(0);f=ip(a,b,f,(e|0)!=0&1)|0;s=92;break}case 8:{b=c[g+-24>>2]|0;do if((c[g+-16>>2]|0)!=8){po(a,-1,1);x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8?(n=c[f+8>>2]|0,n|0):0){f=n;break}Ho(a,-1)|0;x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8)f=c[f+8>>2]|0;else f=0}else f=c[g+-8>>2]|0;while(0);g=c[f+16>>2]|0;if((f|0)!=(c[(c[a+428>>2]|0)+320>>2]|0))if(!((g|0)!=-1?g>>>0<(wp(b)|0)>>>0:0)){f=1;s=92}break}case 10:{b=c[g+-24>>2]|0;do if((c[g+-16>>2]|0)!=8){po(a,-1,1);x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8?(o=c[f+8>>2]|0,o|0):0){f=o;break}Ho(a,-1)|0;x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8)f=c[f+8>>2]|0;else f=0}else f=c[g+-8>>2]|0;while(0);g=c[f+16>>2]|0;if((f|0)!=(c[(c[a+428>>2]|0)+320>>2]|0))if(!((g|0)!=-1?g>>>0<(c[b+16>>2]|0)>>>0:0)){f=1;s=92}break}case 6:{do if((c[g+-16>>2]|0)!=8){po(a,-1,1);x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8?(k=c[f+8>>2]|0,k|0):0){f=k;break}Ho(a,-1)|0;x=c[u>>2]|0;f=(c[t>>2]|0)-x>>4;f=f|0?x+(f+-1<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8)f=c[f+8>>2]|0;else f=0}else f=c[g+-8>>2]|0;while(0);x=c[a+428>>2]|0;if((c[x+320>>2]|0)!=(f|0)?(c[x+344>>2]|0)!=(f|0):0){f=1;s=92}break}default:{f=1;s=92}}while(0);if((s|0)==92){_n(a,v);x=f;l=w;return x|0}if(e|0)Jn(a,268642,100667859,269358);_n(a,v);x=0;l=w;return x|0}function ep(a,b,e,f,g,i){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;i=i|0;var 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,A=0,B=0,C=0;C=l;l=l+48|0;A=C+16|0;B=C;if((b|0)==0&(f|0)!=0){b=c[f+16>>2]|0;if((c[b>>2]&2048|0?(j=yo(b,c[(c[a+428>>2]|0)+372>>2]|0)|0,j|0):0)?(k=yo(c[j+8>>2]|0,e)|0,k|0):0){c[i+8>>2]=(c[a+64>>2]|0)+((c[f+36>>2]|0)+(~~+h[k+8>>3]>>>0)<<4);c[i+12>>2]=1;c[i>>2]=0;c[i+4>>2]=0;c[i+16>>2]=0;B=1;l=C;return B|0}if(!g){B=0;l=C;return B|0}b=c[b+52>>2]|0;if(!b){b=c[a+136>>2]|0;w=9}}else w=9;if((w|0)==9)if(!b){B=0;l=C;return B|0}v=e+12|0;r=(g|0)==0;s=e+16|0;t=B+8|0;u=A+8|0;q=1e4;while(1){j=b+40|0;if((c[b>>2]&-134217728|0)==-2147483648){j=c[j>>2]|0;if(j|0?(z=yo(c[b+44>>2]|0,e)|0,z|0):0){w=14;break}j=c[b+36>>2]|0;o=c[b+24>>2]|0;p=c[b+16>>2]|0;a:do if(!j){k=p+(o<<4)|0;f=c[b+28>>2]|0;if(!f){j=-1;w=25}else{j=0;while(1){if((c[k+(j<<2)>>2]|0)==(e|0)){w=25;break a}j=j+1|0;if(j>>>0>=f>>>0){j=-1;w=25;break}}}}else{n=p+(o*21|0)+(0-o&7)+(c[b+32>>2]<<4)|0;m=j+-1|0;g=p+(o<<4)|0;j=0;f=c[v>>2]&m;b:while(1){k=c[n+(f<<2)>>2]|0;switch(k|0){case -1:{k=19;break}case -2:{w=22;break}default:if((c[g+(k<<2)>>2]|0)==(e|0)){j=k;k=1}else w=22}if((w|0)==22){w=0;k=0;f=f+1&m}switch(k&31){case 19:{j=-1;w=25;break a}case 0:break;default:break b}}if(!k){j=-1;w=25}}while(0);if((w|0)==25)w=0;if(((j|0)>-1?(x=d[p+(o*20|0)+j>>0]|0,(x&8|0)==0):0)?(y=p+(j<<4)|0,y|0):0){w=29;break}}else{g=c[j>>2]|0;if(!(c[g>>2]&67108864)){f=c[s>>2]|0;j=1e4;k=g;while(1){if(io(a,k,e,f,A,2)|0){j=1;break}if(!j){j=0;break}k=c[k+20>>2]|0;if(!k){j=0;break}else j=j+-1|0}}else{c[B>>2]=8;c[t>>2]=e;c[A>>2]=9;c[u>>2]=g;j=eq(a,A,B)|0}if(j|0){w=38;break}}if(r){b=0;w=43;break}if(!q){w=41;break}b=c[b+20>>2]|0;if(!b){b=0;w=43;break}else q=q+-1|0}if((w|0)==14){c[i+8>>2]=(c[j+64>>2]|0)+((c[b+48>>2]|0)+(~~+h[z+8>>3]>>>0)<<4);c[i+12>>2]=1;c[i>>2]=b;c[i+4>>2]=0;c[i+16>>2]=0;B=1;l=C;return B|0}else if((w|0)==29){c[i+8>>2]=y;c[i+12>>2]=x;c[i>>2]=b;c[i+4>>2]=b;c[i+16>>2]=0;B=1;l=C;return B|0}else if((w|0)==38){c[i+8>>2]=0;c[i+12>>2]=0;c[i>>2]=b;c[i+4>>2]=g;c[i+16>>2]=c[b+44>>2];B=1;l=C;return B|0}else if((w|0)==41)Jn(a,269146,50332711,270308);else if((w|0)==43){l=C;return b|0}return 0}function fp(a,b){a=a|0;b=b|0;if(c[a+48>>2]|0)return;Xn(a,b,0);return}function gp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0;k=l;l=l+16|0;e=k;Cq(a)|0;i=a+76|0;b=c[i>>2]|0;g=c[b+-8>>2]|0;j=a+72|0;d=c[j>>2]|0;b=b-d>>4;if(b>>>0<=2)$n(a,342,-3);f=d+(b+-3<<4)|0;b=d+(b+-1<<4)|0;d=b-f|0;if(d|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];DQ(f+16|0,f|0,d|0)|0;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2]}c[g>>2]=c[g>>2]&134217727|1476395008;d=c[a+200>>2]|0;g=g+20|0;b=c[g>>2]|0;c[g>>2]=d;if(d|0){g=d+4|0;c[g>>2]=(c[g>>2]|0)+1}if(b|0?(f=b+4|0,g=(c[f>>2]|0)+-1|0,c[f>>2]=g,(g|0)==0):0)fp(c[a+44>>2]|0,b);g=c[j>>2]|0;b=(c[i>>2]|0)-g>>4;b=b>>>0>2?g+(b+-3<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-3,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-3,268820);d=a+428|0;ho(a,b,c[(c[d>>2]|0)+364>>2]|0,0);g=c[j>>2]|0;b=(c[i>>2]|0)-g>>4;b=b>>>0>1?g+(b+-2<<4)|0:0;b=(b|0)==0?944:b;if((c[b>>2]|0)!=9)In(a,1834,-2,268820);b=c[b+8>>2]|0;if(!b)In(a,1834,-2,268820);ho(a,b,c[(c[d>>2]|0)+376>>2]|0,0);b=c[i>>2]|0;if(b>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3868);g=b+16|0;c[i>>2]=g;c[b>>2]=0;h[b+8>>3]=0.0;j=c[j>>2]|0;b=g-j>>4;b=b>>>0>1?j+(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=Uc+168|0;A=Uc+160|0;z=Uc+152|0;y=Uc+144|0;x=Uc+136|0;w=Uc+128|0;v=Uc+120|0;u=Uc+112|0;t=Uc+104|0;s=Uc+96|0;r=Uc+88|0;q=Uc+80|0;p=Uc+72|0;o=Uc+64|0;n=Uc+56|0;m=Uc+48|0;k=Uc+40|0;j=Uc+32|0;i=Uc+24|0;h=Uc+16|0;g=Uc+8|0;zc=Uc+1520|0;Ac=Uc+1512|0;Bc=Uc+1504|0;Hc=Uc+1500|0;Ic=Uc+1528|0;Jc=Uc+1496|0;Fc=Uc+1492|0;f=c[79957]|0;Kc=c[f+368>>2]|0;Oc=c[f+356>>2]|0;Rc=c[f+360>>2]|0;do if(!f){_D(288260,Uc);Nc=0}else{if(b|0?(c[b>>2]|0)==(f+280|0):0){Nc=c[b+48>>2]|0;break}_D(307482,g);Nc=0}while(0);if((Nc&2|0)==0|(Kc|0)!=4|(Oc|0)!=2|(Rc|0)!=0){f=c[79957]|0;if(!f){_D(288260,h);f=c[79957]|0;if(!f){_D(288260,i);f=c[79957]|0;if(!f)_D(288260,j);else Sc=14}else Sc=11}else{c[f+368>>2]=4;Sc=11}if((Sc|0)==11){c[f+356>>2]=2;Sc=14}if((Sc|0)==14)c[f+360>>2]=0;if((WD(b,Nc|2)|0)>=0){Ec=1;Sc=16}}else{Ec=0;Sc=16}if((Sc|0)==16){f=TM(324)|0;a:do if(!f)_D(294618,k);else{if(c[f+-4>>2]&3|0)EQ(f|0,0,324)|0;Cc=TM(308)|0;if(!Cc){XD(f);_D(294618,m);break}if(c[Cc+-4>>2]&3|0)EQ(Cc|0,0,308)|0;g=f+104|0;h=15604;i=g+84|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(i|0));xc=f+108|0;c[xc>>2]=10;Dc=f+320|0;c[Dc>>2]=Cc;yc=f+188|0;c[yc>>2]=b;g=c[79957]|0;do if(!g)_D(288260,n);else{if(b|0?(c[b>>2]|0)==(g+280|0):0){if(!(c[b+48>>2]&2)){_D(288301,p);break}g=hg[c[g+176>>2]&63](g,b)|0;if(!g)break;p=c[79957]|0;c[p+652>>2]=b;c[p+656>>2]=g;rI(c[p+660>>2]|0,b);rI(c[(c[79957]|0)+664>>2]|0,g);c[Cc>>2]=g;if((YD(b,g)|0)<0){XD(f);break a}h=c[79957]|0;b:do if(!h){_D(288260,q);Sc=41}else{g=c[h+168>>2]|0;if(!g){_D(294534,s);Sc=41;break}if(!(c[h+388>>2]|0)){_D(294505,r);Sc=41;break}s=hg[g&63](h,312721)|0;c[Cc+16>>2]=s;if(!s){g=312721;break}h=c[79957]|0;do if(!h)_D(288260,t);else{g=c[h+168>>2]|0;if(!g){_D(294534,v);break}if(!(c[h+388>>2]|0)){_D(294505,u);break}v=hg[g&63](h,310479)|0;c[Cc+20>>2]=v;if(!v){g=310479;break b}h=c[79957]|0;do if(!h)_D(288260,w);else{g=c[h+168>>2]|0;if(!g){_D(294534,y);break}if(!(c[h+388>>2]|0)){_D(294505,x);break}y=hg[g&63](h,311777)|0;c[Cc+24>>2]=y;if(!y){g=311777;break b}h=c[79957]|0;do if(!h)_D(288260,z);else{g=c[h+168>>2]|0;if(!g){_D(294534,B);break}if(!(c[h+388>>2]|0)){_D(294505,A);break}B=hg[g&63](h,310712)|0;c[Cc+28>>2]=B;if(!B){g=310712;break b}h=c[79957]|0;do if(!h)_D(288260,C);else{g=c[h+168>>2]|0;if(!g){_D(294534,E);break}if(!(c[h+388>>2]|0)){_D(294505,D);break}E=hg[g&63](h,313067)|0;c[Cc+32>>2]=E;if(!E){g=313067;break b}h=c[79957]|0;do if(!h)_D(288260,F);else{g=c[h+168>>2]|0;if(!g){_D(294534,H);break}if(!(c[h+388>>2]|0)){_D(294505,G);break}H=hg[g&63](h,312618)|0;c[Cc+36>>2]=H;if(!H){g=312618;break b}h=c[79957]|0;do if(!h)_D(288260,I);else{g=c[h+168>>2]|0;if(!g){_D(294534,K);break}if(!(c[h+388>>2]|0)){_D(294505,J);break}K=hg[g&63](h,312993)|0;c[Cc+40>>2]=K;if(!K){g=312993;break b}h=c[79957]|0;do if(!h)_D(288260,L);else{g=c[h+168>>2]|0;if(!g){_D(294534,N);break}if(!(c[h+388>>2]|0)){_D(294505,M);break}N=hg[g&63](h,311595)|0;c[Cc+44>>2]=N;if(!N){g=311595;break b}h=c[79957]|0;do if(!h)_D(288260,O);else{g=c[h+168>>2]|0;if(!g){_D(294534,Q);break}if(!(c[h+388>>2]|0)){_D(294505,P);break}Q=hg[g&63](h,310380)|0;c[Cc+48>>2]=Q;if(!Q){g=310380;break b}h=c[79957]|0;do if(!h)_D(288260,R);else{g=c[h+168>>2]|0;if(!g){_D(294534,T);break}if(!(c[h+388>>2]|0)){_D(294505,S);break}T=hg[g&63](h,310449)|0;c[Cc+52>>2]=T;if(!T){g=310449;break b}h=c[79957]|0;do if(!h)_D(288260,U);else{g=c[h+168>>2]|0;if(!g){_D(294534,W);break}if(!(c[h+388>>2]|0)){_D(294505,V);break}W=hg[g&63](h,311670)|0;c[Cc+56>>2]=W;if(!W){g=311670;break b}h=c[79957]|0;do if(!h)_D(288260,X);else{g=c[h+168>>2]|0;if(!g){_D(294534,Z);break}if(!(c[h+388>>2]|0)){_D(294505,Y);break}Z=hg[g&63](h,311526)|0;c[Cc+60>>2]=Z;if(!Z){g=311526;break b}h=c[79957]|0;do if(!h)_D(288260,_);else{g=c[h+168>>2]|0;if(!g){_D(294534,aa);break}if(!(c[h+388>>2]|0)){_D(294505,$);break}aa=hg[g&63](h,310604)|0;c[Cc+64>>2]=aa;if(!aa){g=310604;break b}h=c[79957]|0;do if(!h)_D(288260,ba);else{g=c[h+168>>2]|0;if(!g){_D(294534,ca);break}if(!(c[h+388>>2]|0)){_D(294505,da);break}da=hg[g&63](h,312585)|0;c[Cc+68>>2]=da;if(!da){g=312585;break b}h=c[79957]|0;do if(!h)_D(288260,ea);else{g=c[h+168>>2]|0;if(!g){_D(294534,ga);break}if(!(c[h+388>>2]|0)){_D(294505,fa);break}ga=hg[g&63](h,312347)|0;c[Cc+72>>2]=ga;if(!ga){g=312347;break b}h=c[79957]|0;do if(!h)_D(288260,ha);else{g=c[h+168>>2]|0;if(!g){_D(294534,ja);break}if(!(c[h+388>>2]|0)){_D(294505,ia);break}ja=hg[g&63](h,312374)|0;c[Cc+76>>2]=ja;if(!ja){g=312374;break b}h=c[79957]|0;do if(!h)_D(288260,ka);else{g=c[h+168>>2]|0;if(!g){_D(294534,ma);break}if(!(c[h+388>>2]|0)){_D(294505,la);break}ma=hg[g&63](h,312576)|0;c[Cc+80>>2]=ma;if(!ma){g=312576;break b}h=c[79957]|0;do if(!h)_D(288260,na);else{g=c[h+168>>2]|0;if(!g){_D(294534,pa);break}if(!(c[h+388>>2]|0)){_D(294505,oa);break}pa=hg[g&63](h,312321)|0;c[Cc+84>>2]=pa;if(!pa){g=312321;break b}h=c[79957]|0;do if(!h)_D(288260,qa);else{g=c[h+168>>2]|0;if(!g){_D(294534,sa);break}if(!(c[h+388>>2]|0)){_D(294505,ra);break}sa=hg[g&63](h,312520)|0;c[Cc+88>>2]=sa;if(!sa){g=312520;break b}h=c[79957]|0;do if(!h)_D(288260,ta);else{g=c[h+168>>2]|0;if(!g){_D(294534,va);break}if(!(c[h+388>>2]|0)){_D(294505,ua);break}va=hg[g&63](h,311816)|0;c[Cc+92>>2]=va;if(!va){g=311816;break b}h=c[79957]|0;do if(!h)_D(288260,wa);else{g=c[h+168>>2]|0;if(!g){_D(294534,ya);break}if(!(c[h+388>>2]|0)){_D(294505,xa);break}ya=hg[g&63](h,310590)|0;c[Cc+96>>2]=ya;if(!ya){g=310590;break b}h=c[79957]|0;do if(!h)_D(288260,za);else{g=c[h+168>>2]|0;if(!g){_D(294534,Ba);break}if(!(c[h+388>>2]|0)){_D(294505,Aa);break}Ba=hg[g&63](h,310576)|0;n=Cc+100|0;c[n>>2]=Ba;if(!Ba){g=310576;break b}h=c[79957]|0;do if(!h)_D(288260,Ca);else{g=c[h+168>>2]|0;if(!g){_D(294534,Ea);break}if(!(c[h+388>>2]|0)){_D(294505,Da);break}Ea=hg[g&63](h,310538)|0;c[Cc+104>>2]=Ea;if(!Ea){g=310538;break b}h=c[79957]|0;do if(!h)_D(288260,Fa);else{g=c[h+168>>2]|0;if(!g){_D(294534,Ha);break}if(!(c[h+388>>2]|0)){_D(294505,Ga);break}Ha=hg[g&63](h,312441)|0;c[Cc+108>>2]=Ha;if(!Ha){g=312441;break b}h=c[79957]|0;do if(!h)_D(288260,Ia);else{g=c[h+168>>2]|0;if(!g){_D(294534,Ka);break}if(!(c[h+388>>2]|0)){_D(294505,Ja);break}Ka=hg[g&63](h,310550)|0;m=Cc+112|0;c[m>>2]=Ka;if(!Ka){g=310550;break b}h=c[79957]|0;do if(!h)_D(288260,La);else{g=c[h+168>>2]|0;if(!g){_D(294534,Na);break}if(!(c[h+388>>2]|0)){_D(294505,Ma);break}Na=hg[g&63](h,311644)|0;c[Cc+116>>2]=Na;if(!Na){g=311644;break b}h=c[79957]|0;do if(!h)_D(288260,Oa);else{g=c[h+168>>2]|0;if(!g){_D(294534,Qa);break}if(!(c[h+388>>2]|0)){_D(294505,Pa);break}Qa=hg[g&63](h,311611)|0;c[Cc+120>>2]=Qa;if(!Qa){g=311611;break b}h=c[79957]|0;do if(!h)_D(288260,Ra);else{g=c[h+168>>2]|0;if(!g){_D(294534,Ta);break}if(!(c[h+388>>2]|0)){_D(294505,Sa);break}Ta=hg[g&63](h,311630)|0;c[Cc+124>>2]=Ta;if(!Ta){g=311630;break b}h=c[79957]|0;do if(!h)_D(288260,Ua);else{g=c[h+168>>2]|0;if(!g){_D(294534,Wa);break}if(!(c[h+388>>2]|0)){_D(294505,Va);break}Wa=hg[g&63](h,311040)|0;c[Cc+128>>2]=Wa;if(!Wa){g=311040;break b}h=c[79957]|0;do if(!h)_D(288260,Xa);else{g=c[h+168>>2]|0;if(!g){_D(294534,Za);break}if(!(c[h+388>>2]|0)){_D(294505,Ya);break}Za=hg[g&63](h,311713)|0;c[Cc+132>>2]=Za;if(!Za){g=311713;break b}h=c[79957]|0;do if(!h)_D(288260,_a);else{g=c[h+168>>2]|0;if(!g){_D(294534,ab);break}if(!(c[h+388>>2]|0)){_D(294505,$a);break}ab=hg[g&63](h,310524)|0;c[Cc+136>>2]=ab;if(!ab){g=310524;break b}h=c[79957]|0;do if(!h)_D(288260,bb);else{g=c[h+168>>2]|0;if(!g){_D(294534,db);break}if(!(c[h+388>>2]|0)){_D(294505,cb);break}db=hg[g&63](h,310699)|0;c[Cc+140>>2]=db;if(!db){g=310699;break b}h=c[79957]|0;do if(!h)_D(288260,eb);else{g=c[h+168>>2]|0;if(!g){_D(294534,gb);break}if(!(c[h+388>>2]|0)){_D(294505,fb);break}gb=hg[g&63](h,313006)|0;c[Cc+144>>2]=gb;if(!gb){g=313006;break b}h=c[79957]|0;do if(!h)_D(288260,hb);else{g=c[h+168>>2]|0;if(!g){_D(294534,jb);break}if(!(c[h+388>>2]|0)){_D(294505,ib);break}jb=hg[g&63](h,312402)|0;c[Cc+148>>2]=jb;if(!jb){g=312402;break b}h=c[79957]|0;do if(!h)_D(288260,kb);else{g=c[h+168>>2]|0;if(!g){_D(294534,mb);break}if(!(c[h+388>>2]|0)){_D(294505,lb);break}mb=hg[g&63](h,311562)|0;c[Cc+152>>2]=mb;if(!mb){g=311562;break b}h=c[79957]|0;do if(!h)_D(288260,nb);else{g=c[h+168>>2]|0;if(!g){_D(294534,pb);break}if(!(c[h+388>>2]|0)){_D(294505,ob);break}pb=hg[g&63](h,310670)|0;c[Cc+156>>2]=pb;if(!pb){g=310670;break b}h=c[79957]|0;do if(!h)_D(288260,qb);else{g=c[h+168>>2]|0;if(!g){_D(294534,sb);break}if(!(c[h+388>>2]|0)){_D(294505,rb);break}sb=hg[g&63](h,312907)|0;c[Cc+160>>2]=sb;if(!sb){g=312907;break b}h=c[79957]|0;do if(!h)_D(288260,tb);else{g=c[h+168>>2]|0;if(!g){_D(294534,vb);break}if(!(c[h+388>>2]|0)){_D(294505,ub);break}vb=hg[g&63](h,310683)|0;c[Cc+164>>2]=vb;if(!vb){g=310683;break b}h=c[79957]|0;do if(!h)_D(288260,wb);else{g=c[h+168>>2]|0;if(!g){_D(294534,yb);break}if(!(c[h+388>>2]|0)){_D(294505,xb);break}yb=hg[g&63](h,311194)|0;c[Cc+168>>2]=yb;if(!yb){g=311194;break b}h=c[79957]|0;do if(!h)_D(288260,zb);else{g=c[h+168>>2]|0;if(!g){_D(294534,Bb);break}if(!(c[h+388>>2]|0)){_D(294505,Ab);break}Bb=hg[g&63](h,311182)|0;c[Cc+172>>2]=Bb;if(!Bb){g=311182;break b}h=c[79957]|0;do if(!h)_D(288260,Cb);else{g=c[h+168>>2]|0;if(!g){_D(294534,Eb);break}if(!(c[h+388>>2]|0)){_D(294505,Db);break}Eb=hg[g&63](h,311384)|0;c[Cc+176>>2]=Eb;if(!Eb){g=311384;break b}h=c[79957]|0;do if(!h)_D(288260,Fb);else{g=c[h+168>>2]|0;if(!g){_D(294534,Hb);break}if(!(c[h+388>>2]|0)){_D(294505,Gb);break}Hb=hg[g&63](h,310415)|0;c[Cc+180>>2]=Hb;if(!Hb){g=310415;break b}h=c[79957]|0;do if(!h)_D(288260,Ib);else{g=c[h+168>>2]|0;if(!g){_D(294534,Kb);break}if(!(c[h+388>>2]|0)){_D(294505,Jb);break}Kb=hg[g&63](h,312299)|0;c[Cc+184>>2]=Kb;if(!Kb){g=312299;break b}h=c[79957]|0;do if(!h)_D(288260,Lb);else{g=c[h+168>>2]|0;if(!g){_D(294534,Nb);break}if(!(c[h+388>>2]|0)){_D(294505,Mb);break}Nb=hg[g&63](h,312982)|0;c[Cc+188>>2]=Nb;if(!Nb){g=312982;break b}h=c[79957]|0;do if(!h)_D(288260,Ob);else{g=c[h+168>>2]|0;if(!g){_D(294534,Qb);break}if(!(c[h+388>>2]|0)){_D(294505,Pb);break}Qb=hg[g&63](h,311798)|0;c[Cc+192>>2]=Qb;if(!Qb){g=311798;break b}h=c[79957]|0;do if(!h)_D(288260,Rb);else{g=c[h+168>>2]|0;if(!g){_D(294534,Tb);break}if(!(c[h+388>>2]|0)){_D(294505,Sb);break}Tb=hg[g&63](h,311881)|0;c[Cc+196>>2]=Tb;if(!Tb){g=311881;break b}h=c[79957]|0;do if(!h)_D(288260,Ub);else{g=c[h+168>>2]|0;if(!g){_D(294534,Wb);break}if(!(c[h+388>>2]|0)){_D(294505,Vb);break}Wb=hg[g&63](h,312679)|0;c[Cc+200>>2]=Wb;if(!Wb){g=312679;break b}h=c[79957]|0;do if(!h)_D(288260,Xb);else{g=c[h+168>>2]|0;if(!g){_D(294534,Zb);break}if(!(c[h+388>>2]|0)){_D(294505,Yb);break}Zb=hg[g&63](h,311834)|0;c[Cc+204>>2]=Zb;if(!Zb){g=311834;break b}h=c[79957]|0;do if(!h)_D(288260,_b);else{g=c[h+168>>2]|0;if(!g){_D(294534,ac);break}if(!(c[h+388>>2]|0)){_D(294505,$b);break}ac=hg[g&63](h,311488)|0;c[Cc+208>>2]=ac;if(!ac){g=311488;break b}h=c[79957]|0;do if(!h)_D(288260,bc);else{g=c[h+168>>2]|0;if(!g){_D(294534,dc);break}if(!(c[h+388>>2]|0)){_D(294505,cc);break}dc=hg[g&63](h,311727)|0;c[Cc+212>>2]=dc;if(!dc){g=311727;break b}h=c[79957]|0;do if(!h)_D(288260,ec);else{g=c[h+168>>2]|0;if(!g){_D(294534,gc);break}if(!(c[h+388>>2]|0)){_D(294505,fc);break}gc=hg[g&63](h,310812)|0;c[Cc+216>>2]=gc;if(!gc){g=310812;break b}h=c[79957]|0;do if(!h)_D(288260,hc);else{g=c[h+168>>2]|0;if(!g){_D(294534,jc);break}if(!(c[h+388>>2]|0)){_D(294505,ic);break}jc=hg[g&63](h,311403)|0;c[Cc+220>>2]=jc;if(!jc){g=311403;break b}h=c[79957]|0;do if(!h)_D(288260,kc);else{g=c[h+168>>2]|0;if(!g){_D(294534,mc);break}if(!(c[h+388>>2]|0)){_D(294505,lc);break}mc=hg[g&63](h,310864)|0;c[Cc+224>>2]=mc;if(!mc){g=310864;break b}h=c[79957]|0;do if(!h)_D(288260,nc);else{g=c[h+168>>2]|0;if(!g){_D(294534,pc);break}if(!(c[h+388>>2]|0)){_D(294505,oc);break}pc=hg[g&63](h,310877)|0;c[Cc+228>>2]=pc;if(!pc){g=310877;break b}g=c[79957]|0;h=(g|0)==0;c:do if(!(e&4)){if(h){_D(288260,sc);break}k=c[g+664>>2]|0;c[Bc>>2]=0;vc=c[Bc>>2]|0;c[Bc>>2]=1;if(vc|0){g=zc+4|0;h=Ac+4|0;do{c[zc>>2]=0;c[g>>2]=0;i=0;j=0;while(1){c[8240]=0;c[Ac>>2]=i;c[h>>2]=j;vc=(Qf(Ac|0,zc|0)|0)!=0;if(!(vc&(c[8240]|0)==4))break;i=c[zc>>2]|0;j=c[g>>2]|0}vc=c[Bc>>2]|0;c[Bc>>2]=1}while((vc|0)!=0)}c[Bc>>2]=0;g=c[79958]|0;d:do if(g|0){while(1){if(!(c[g>>2]|0))break;g=c[g+8>>2]|0;if(!g)break d}g=c[g+4>>2]|0;if((k|0)==0|(g|0)==0)break;if((c[g>>2]|0)>>>0>>0)break;if(!(c[g+4+(k+-1<<3)>>2]|0))break;g=c[79957]|0;h=c[g+188>>2]|0;if(!h){_D(294412,wc);break c}else{hg[h&63](g,0)|0;break c}}while(0);_D(294372,uc)}else{if(h){_D(288260,rc);break}k=c[g+664>>2]|0;c[Bc>>2]=0;wc=c[Bc>>2]|0;c[Bc>>2]=1;if(wc|0){g=zc+4|0;h=Ac+4|0;do{c[zc>>2]=0;c[g>>2]=0;i=0;j=0;while(1){c[8240]=0;c[Ac>>2]=i;c[h>>2]=j;wc=(Qf(Ac|0,zc|0)|0)!=0;if(!(wc&(c[8240]|0)==4))break;i=c[zc>>2]|0;j=c[g>>2]|0}wc=c[Bc>>2]|0;c[Bc>>2]=1}while((wc|0)!=0)}c[Bc>>2]=0;g=c[79958]|0;e:do if(g|0){while(1){if(!(c[g>>2]|0))break;g=c[g+8>>2]|0;if(!g)break e}g=c[g+4>>2]|0;if((k|0)==0|(g|0)==0)break;if((c[g>>2]|0)>>>0>>0)break;if(!(c[g+4+(k+-1<<3)>>2]|0))break;g=c[79957]|0;h=c[g+188>>2]|0;if(!h){_D(294412,vc);break c}else{hg[h&63](g,1)|0;break c}}while(0);_D(294372,tc)}while(0);g=c[79957]|0;f:do if(g|0){k=c[g+664>>2]|0;c[Bc>>2]=0;wc=c[Bc>>2]|0;c[Bc>>2]=1;if(wc|0){g=zc+4|0;h=Ac+4|0;do{c[zc>>2]=0;c[g>>2]=0;i=0;j=0;while(1){c[8240]=0;c[Ac>>2]=i;c[h>>2]=j;wc=(Qf(Ac|0,zc|0)|0)!=0;if(!(wc&(c[8240]|0)==4))break;i=c[zc>>2]|0;j=c[g>>2]|0}wc=c[Bc>>2]|0;c[Bc>>2]=1}while((wc|0)!=0)}c[Bc>>2]=0;g=c[79958]|0;if(!g)break;while(1){if(!(c[g>>2]|0))break;g=c[g+8>>2]|0;if(!g)break f}g=c[g+4>>2]|0;if((k|0)==0|(g|0)==0)break;if((c[g>>2]|0)>>>0>>0)break;if(!(c[g+4+(k+-1<<3)>>2]|0))break;g=c[79957]|0;h=c[g+192>>2]|0;if(!h)break;if((gg[h&511](g)|0)<=0)break;c[xc>>2]=c[xc>>2]|4}while(0);Bc=c[(c[79957]|0)+364>>2]|0;c[Fc>>2]=Bc;if(Bc&1|0)c[Cc+4>>2]=1;c[Fc>>2]=0;Bg[c[m>>2]&255](3379,Fc);c[f+180>>2]=c[Fc>>2];c[Fc>>2]=0;Bg[c[m>>2]&255](3379,Fc);c[f+184>>2]=c[Fc>>2];Bg[c[m>>2]&255](36345,Hc);Bg[c[n>>2]&255](36346,Ic);g=c[Hc>>2]|0;if(a[Ic>>0]|0){g=g+1|0;c[Hc>>2]=g}do if(!g)g=0;else{h=g<<2;if(g>>>0<=65535){g=h;break}g=((h>>>0)/(g>>>0)|0|0)==4?h:-1}while(0);h=TM(g)|0;if(!h){c[Cc+244>>2]=0;XD(f);_D(294618,Gc);break a}if(c[h+-4>>2]&3|0)EQ(h|0,0,g|0)|0;g=Cc+244|0;c[g>>2]=h;c[Cc+240>>2]=c[Hc>>2];Bg[c[m>>2]&255](36344,h);if(a[Ic>>0]|0)c[(c[g>>2]|0)+((c[Hc>>2]|0)+-1<<2)>>2]=-1;c[Cc+232>>2]=0;Bg[c[m>>2]&255](36006,Jc);c[Cc+236>>2]=c[Jc>>2];c[f+4>>2]=172;c[f+8>>2]=21;c[f+12>>2]=21;c[f+28>>2]=8;c[f+32>>2]=1;c[f+36>>2]=9;c[f+40>>2]=173;c[f+44>>2]=22;c[f+48>>2]=401;c[f+52>>2]=402;c[f+56>>2]=403;c[f+60>>2]=22;c[f+64>>2]=23;c[f+68>>2]=24;c[f+72>>2]=8;c[f+76>>2]=1;c[f+80>>2]=10;c[f+84>>2]=218;c[f+88>>2]=174;c[f+92>>2]=219;c[f+96>>2]=9;c[f+100>>2]=23;g=f+116|0;Sc=f+112|0;h=c[Sc>>2]|0;c[Sc>>2]=h+1;c[g+(h<<2)>>2]=842094169;h=c[Sc>>2]|0;c[Sc>>2]=h+1;c[g+(h<<2)>>2]=1448433993;h=c[Sc>>2]|0;c[Sc>>2]=h+1;c[g+(h<<2)>>2]=842094158;h=c[Sc>>2]|0;c[Sc>>2]=h+1;c[g+(h<<2)>>2]=825382478;h=c[Dc>>2]|0;g=c[h>>2]|0;do if((c[79956]|0)==(g|0))hE(f)|0;else{c[h+268>>2]=0;if((YD(c[yc>>2]|0,g)|0)<0)break;c[79956]=c[h>>2];hE(f)|0;g=c[Dc>>2]|0;if(!(c[g+4>>2]|0))break;g=g+108|0;do{}while((fg[c[g>>2]&7]()|0)!=0)}while(0);c[h+8>>2]=-1;c[h+12>>2]=0;vg[c[h+16>>2]&511](33984);g=h+136|0;Bg[c[g>>2]&255](3333,1);Bg[c[g>>2]&255](3317,1);sg[c[h+40>>2]&3](+(d[h+272>>0]|0)*.003921568859368563,+(d[h+273>>0]|0)*.003921568859368563,+(d[h+274>>0]|0)*.003921568859368563,+(d[h+275>>0]|0)*.003921568859368563);vg[c[h+84>>2]&511](0);vg[c[h+72>>2]&511](1);g=c[Dc>>2]|0;if(!(c[g+4>>2]|0)){Tc=f;l=Uc;return Tc|0}j=g+108|0;g=fg[c[j>>2]&7]()|0;if(!g){Tc=f;l=Uc;return Tc|0}else h=334803;while(1){if((h|0)!=0?(a[h>>0]|0)!=0:0)i=h;else i=288015;switch(g|0){case 1280:{h=288086;break}case 1281:{h=288069;break}case 1282:{h=288048;break}case 1285:{h=288031;break}default:h=288023}c[Tc>>2]=i;c[Tc+4>>2]=288128;c[Tc+8>>2]=1954;c[Tc+12>>2]=288222;c[Tc+16>>2]=h;c[Tc+20>>2]=g;_D(288102,Tc);g=fg[c[j>>2]&7]()|0;if(!g)break;else h=i}l=Uc;return f|0}while(0);c[Cc+228>>2]=0;g=310877;break b}while(0);c[Cc+224>>2]=0;g=310864;break b}while(0);c[Cc+220>>2]=0;g=311403;break b}while(0);c[Cc+216>>2]=0;g=310812;break b}while(0);c[Cc+212>>2]=0;g=311727;break b}while(0);c[Cc+208>>2]=0;g=311488;break b}while(0);c[Cc+204>>2]=0;g=311834;break b}while(0);c[Cc+200>>2]=0;g=312679;break b}while(0);c[Cc+196>>2]=0;g=311881;break b}while(0);c[Cc+192>>2]=0;g=311798;break b}while(0);c[Cc+188>>2]=0;g=312982;break b}while(0);c[Cc+184>>2]=0;g=312299;break b}while(0);c[Cc+180>>2]=0;g=310415;break b}while(0);c[Cc+176>>2]=0;g=311384;break b}while(0);c[Cc+172>>2]=0;g=311182;break b}while(0);c[Cc+168>>2]=0;g=311194;break b}while(0);c[Cc+164>>2]=0;g=310683;break b}while(0);c[Cc+160>>2]=0;g=312907;break b}while(0);c[Cc+156>>2]=0;g=310670;break b}while(0);c[Cc+152>>2]=0;g=311562;break b}while(0);c[Cc+148>>2]=0;g=312402;break b}while(0);c[Cc+144>>2]=0;g=313006;break b}while(0);c[Cc+140>>2]=0;g=310699;break b}while(0);c[Cc+136>>2]=0;g=310524;break b}while(0);c[Cc+132>>2]=0;g=311713;break b}while(0);c[Cc+128>>2]=0;g=311040;break b}while(0);c[Cc+124>>2]=0;g=311630;break b}while(0);c[Cc+120>>2]=0;g=311611;break b}while(0);c[Cc+116>>2]=0;g=311644;break b}while(0);c[Cc+112>>2]=0;g=310550;break b}while(0);c[Cc+108>>2]=0;g=312441;break b}while(0);c[Cc+104>>2]=0;g=310538;break b}while(0);c[Cc+100>>2]=0;g=310576;break b}while(0);c[Cc+96>>2]=0;g=310590;break b}while(0);c[Cc+92>>2]=0;g=311816;break b}while(0);c[Cc+88>>2]=0;g=312520;break b}while(0);c[Cc+84>>2]=0;g=312321;break b}while(0);c[Cc+80>>2]=0;g=312576;break b}while(0);c[Cc+76>>2]=0;g=312374;break b}while(0);c[Cc+72>>2]=0;g=312347;break b}while(0);c[Cc+68>>2]=0;g=312585;break b}while(0);c[Cc+64>>2]=0;g=310604;break b}while(0);c[Cc+60>>2]=0;g=311526;break b}while(0);c[Cc+56>>2]=0;g=311670;break b}while(0);c[Cc+52>>2]=0;g=310449;break b}while(0);c[Cc+48>>2]=0;g=310380;break b}while(0);c[Cc+44>>2]=0;g=311595;break b}while(0);c[Cc+40>>2]=0;g=312993;break b}while(0);c[Cc+36>>2]=0;g=312618;break b}while(0);c[Cc+32>>2]=0;g=313067;break b}while(0);c[Cc+28>>2]=0;g=310712;break b}while(0);c[Cc+24>>2]=0;g=311777;break b}while(0);c[Cc+20>>2]=0;g=310479}while(0);if((Sc|0)==41){c[Cc+16>>2]=0;g=312721}ZD();c[qc>>2]=g;c[qc+4>>2]=332715;_D(287978,qc);XD(f);break a}_D(307482,o)}while(0);c[Cc>>2]=0;XD(f)}while(0);if(!Ec){Tc=0;l=Uc;return Tc|0}}f=c[79957]|0;g:do if(!f)_D(288260,Lc);else switch(Kc|0){case 0:case 1:case 2:case 4:{c[f+368>>2]=Kc;break g}default:{c[Mc>>2]=Kc;_D(295116,Mc);break g}}while(0);f=c[79957]|0;if(!f){_D(288260,Pc);f=c[79957]|0;if(!f)_D(288260,Qc);else Sc=561}else{c[f+356>>2]=Oc;Sc=561}if((Sc|0)==561)c[f+360>>2]=Rc;WD(b,Nc)|0;Tc=0;l=Uc;return Tc|0}function WD(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,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=l;l=l+144|0;z=B+128|0;y=B+120|0;v=B+112|0;u=B+104|0;t=B+96|0;s=B+88|0;r=B+80|0;q=B+72|0;p=B+64|0;o=B+56|0;k=B+48|0;i=B+40|0;j=B+32|0;h=B+24|0;g=B+16|0;f=B+8|0;d=B;e=c[79957]|0;if(b&2|0?(c[e+176>>2]|0)==0:0){_D(294750,d);A=-1;l=B;return A|0}A=a+48|0;d=c[A>>2]|0;w=(d&2048|0)==0?b&-2049:b|2048;do if(e){if((c[a>>2]|0)!=(e+280|0)){_D(307482,g);break}if(d&4|0){d=a+116|0;c[d>>2]=1;sI(a,0)|0;b=c[79957]|0;e=c[b+84>>2]|0;if(e|0)Bg[e&255](b,a);c[d>>2]=0;tI(a,2,0,0)}}else _D(288260,f);while(0);d=a+108|0;b=c[d>>2]|0;if(b|0){c[b>>2]=c[b>>2]&-5;yE(b);c[d>>2]=0}d=c[79957]|0;b=c[d+140>>2]|0;if(b){Bg[b&255](d,a);d=c[79957]|0}b=c[d+128>>2]|0;g=w&2048;if((g|0)==0&(b|0)!=0)Bg[b&255](d,a);d=w&2;a:do if((c[A>>2]&2|0)==(d|0))b=0;else{e=c[79957]|0;b=(e|0)==0;if(!d){if(b){_D(288260,i);b=0;break}d=e+388|0;b=c[d>>2]|0;if((b|0)<=0){b=0;break}c[d>>2]=b+-1;if((b|0)!=1){b=0;break}d=c[e+172>>2]|0;if(!d){b=0;break}vg[d&511](e);b=0;break}if(b){_D(288260,h);A=-1;l=B;return A|0}d=c[e+388>>2]|0;do if(!d){d=c[e+164>>2]|0;if(!d){_D(294534,j);A=-1;l=B;return A|0}d=hg[d&63](e,0)|0;e=c[79957]|0;if(!d){b=e;d=c[e+388>>2]|0;break}b=c[e+172>>2]|0;if(b|0)vg[b&511](e);if((d|0)<0)d=-1;else{b=1;break a}l=B;return d|0}else b=e;while(0);c[b+388>>2]=d+1;b=1}while(0);e=w&1024050|8;c[A>>2]=e;c[a+52>>2]=e;c[a+120>>2]=0;e=c[79957]|0;f=c[e+32>>2]|0;d=(g|0)!=0;if(!(d|(f|0)==0)?(hg[f&63](e,a)|0)<0:0){if(!b){A=-1;l=B;return A|0}e=c[79957]|0;if(e){d=e+388|0;b=c[d>>2]|0;if(((b|0)>0?(c[d>>2]=b+-1,(b|0)==1):0)?(m=c[e+172>>2]|0,m|0):0)vg[m&511](e)}else _D(288260,k);c[A>>2]=c[A>>2]&-3;A=-1;l=B;return A|0}if(d)c[A>>2]=c[A>>2]|2048;d=c[79957]|0;b=c[d+40>>2]|0;if((b|0)!=0?(c[a+8>>2]|0)!=0:0){Bg[b&255](d,a);d=c[79957]|0}b=c[d+44>>2]|0;if(b|0?(n=c[a+12>>2]|0,n|0):0)Dg[b&63](d,a,n);if(c[a+132>>2]|0)hg[c[(c[79957]|0)+256>>2]&63](a,1)|0;do if(w&128|0){b=c[79957]|0;if(!b){_D(288260,o);break}if(a|0?(c[a>>2]|0)==(b+280|0):0){if(c[A>>2]&128|0)break;d=c[b+92>>2]|0;if(!d)break;Bg[d&255](b,a);break}_D(307482,p)}while(0);do if(w&64|0){d=c[79957]|0;if(!d){_D(288260,q);break}if(a|0?(c[a>>2]|0)==(d+280|0):0){if(c[A>>2]&64|0)break;sI(a,0)|0;d=c[79957]|0;b=c[d+96>>2]|0;if(!b)break;Bg[b&255](d,a);break}_D(307482,r)}while(0);do if(w&1|0){d=c[79957]|0;if(!d){_D(288260,s);break}if(a|0?(c[a>>2]|0)==(d+280|0):0){d=w&4097;b=c[A>>2]|0;e=b&4097;if((d|0)==(e|0))break;c[A>>2]=b&-4098|d;if(!(sI(a,(b&68|0)==4&1)|0))break;c[A>>2]=c[A>>2]&-4098|e;break}_D(307482,t)}while(0);do if(w&256|0){b=c[79957]|0;if(!b){_D(288260,u);break}if(a|0?(c[a>>2]|0)==(b+280|0):0){d=c[A>>2]|0;if(d&256|0)break;c[A>>2]=d|256;v=(d&512|0)==0;f=(v^1)&1;e=c[b+276>>2]|0;do if(v){if((e|0)==(a|0)){e=0;d=b;x=96}}else{if((e|0)==0|(e|0)==(a|0)){e=a;d=b;x=96;break}d=e+48|0;c[d>>2]=c[d>>2]&-257;d=c[b+124>>2]|0;if(!d){e=a;d=b;x=96;break}Dg[d&63](b,e,0);e=a;d=c[79957]|0;x=96}while(0);if((x|0)==96){c[d+276>>2]=e;b=d}d=c[b+124>>2]|0;if(!d)break;Dg[d&63](b,a,f);break}_D(307482,v)}while(0);if(w&8|0){A=0;l=B;return A|0}b=c[79957]|0;if(!b){_D(288260,y);A=0;l=B;return A|0}if(a|0?(c[a>>2]|0)==(b+280|0):0){if(c[A>>2]&4|0){A=0;l=B;return A|0}d=c[b+80>>2]|0;if(d|0)Bg[d&255](b,a);tI(a,1,0,0);A=0;l=B;return A|0}_D(307482,z);A=0;l=B;return A|0}function XD(b){b=b|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;s=l;l=l+48|0;n=s;o=s+40|0;p=s+32|0;q=s+24|0;j=b+320|0;r=c[j>>2]|0;if(!r){UM(b);l=s;return}e=c[r>>2]|0;if((c[79956]|0)!=(e|0)){c[r+268>>2]=0;if((YD(c[b+188>>2]|0,e)|0)>=0){c[79956]=c[r>>2];hE(b)|0;d=c[j>>2]|0;f=5}}else{d=r;f=5}if((f|0)==5?c[d+4>>2]|0:0){d=d+108|0;do{}while((fg[c[d>>2]&7]()|0)!=0)}d=c[r+252>>2]|0;if(d|0){e=r+60|0;do{vg[c[e>>2]&511](c[d>>2]|0);i=d;d=c[d+24>>2]|0;UM(i)}while((d|0)!=0)}d=c[r+260>>2]|0;if(d|0){e=r+56|0;do{vg[c[e>>2]&511](c[d>>2]|0);i=d;d=c[d+156>>2]|0;UM(i)}while((d|0)!=0)}d=c[r>>2]|0;if(d|0){i=r+232|0;e=c[i>>2]|0;if(!e)i=d;else{h=r+204|0;do{d=e;e=c[e+12>>2]|0;Bg[c[h>>2]&255](1,d+8|0);d=c[j>>2]|0;a:do if(c[d+4>>2]|0?(k=d+108|0,m=fg[c[k>>2]&7]()|0,m|0):0){d=334803;g=m;while(1){if(!((d|0)!=0?(a[d>>0]|0)!=0:0))d=288015;switch(g|0){case 1280:{f=288086;break}case 1281:{f=288069;break}case 1282:{f=288048;break}case 1285:{f=288031;break}default:f=288023}c[n>>2]=d;c[n+4>>2]=288128;c[n+8>>2]=464;c[n+12>>2]=294575;c[n+16>>2]=f;c[n+20>>2]=g;_D(288102,n);g=fg[c[k>>2]&7]()|0;if(!g)break a}}while(0);UM(c[i>>2]|0);c[i>>2]=e}while((e|0)!=0);i=c[r>>2]|0}d=c[79957]|0;if((i|0)!=0&(d|0)!=0){h=c[d+664>>2]|0;c[q>>2]=0;n=c[q>>2]|0;c[q>>2]=1;if(n|0){d=o+4|0;e=p+4|0;do{c[o>>2]=0;c[d>>2]=0;f=0;g=0;while(1){c[8240]=0;c[p>>2]=f;c[e>>2]=g;n=(Qf(p|0,o|0)|0)!=0;if(!(n&(c[8240]|0)==4))break;f=c[o>>2]|0;g=c[d>>2]|0}n=c[q>>2]|0;c[q>>2]=1}while((n|0)!=0)}c[q>>2]=0;d=c[79958]|0;b:do if(d){while(1){if(!(c[d>>2]|0))break;d=c[d+8>>2]|0;if(!d){d=0;break b}}d=c[d+4>>2]|0;if(!((h|0)==0|(d|0)==0)?(c[d>>2]|0)>>>0>=h>>>0:0)d=c[d+4+(h+-1<<3)>>2]|0;else d=0}else d=0;while(0);if((d|0)==(i|0))YD(0,0)|0;q=c[79957]|0;Bg[c[q+200>>2]&255](q,i)}}UM(c[r+244>>2]|0);UM(r);UM(b);l=s;return}function YD(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,m=0,n=0,o=0,p=0,q=0;q=l;l=l+64|0;p=q+32|0;o=q+24|0;n=q+16|0;i=q+8|0;j=q+48|0;k=q+40|0;m=q+36|0;d=c[79957]|0;a:do if(d){h=c[d+660>>2]|0;c[m>>2]=0;g=c[m>>2]|0;c[m>>2]=1;if(g|0){d=j+4|0;e=k+4|0;do{c[j>>2]=0;c[d>>2]=0;f=0;g=0;while(1){c[8240]=0;c[k>>2]=f;c[e>>2]=g;g=(Qf(k|0,j|0)|0)!=0;if(!(g&(c[8240]|0)==4))break;f=c[j>>2]|0;g=c[d>>2]|0}g=c[m>>2]|0;c[m>>2]=1}while((g|0)!=0)}c[m>>2]=0;d=c[79958]|0;if(d){while(1){if(!(c[d>>2]|0))break;d=c[d+8>>2]|0;if(!d){d=0;break a}}d=c[d+4>>2]|0;if(!((h|0)==0|(d|0)==0)?(c[d>>2]|0)>>>0>=h>>>0:0)d=c[d+4+(h+-1<<3)>>2]|0;else d=0}else d=0}else{_D(288260,q);d=0}while(0);if((d|0)==(a|0)){d=c[79957]|0;b:do if(d){h=c[d+664>>2]|0;c[m>>2]=0;i=c[m>>2]|0;c[m>>2]=1;if(i|0){d=j+4|0;e=k+4|0;do{c[j>>2]=0;c[d>>2]=0;f=0;g=0;while(1){c[8240]=0;c[k>>2]=f;c[e>>2]=g;i=(Qf(k|0,j|0)|0)!=0;if(!(i&(c[8240]|0)==4))break;f=c[j>>2]|0;g=c[d>>2]|0}i=c[m>>2]|0;c[m>>2]=1}while((i|0)!=0)}c[m>>2]=0;d=c[79958]|0;if(d){while(1){if(!(c[d>>2]|0))break;d=c[d+8>>2]|0;if(!d){d=0;break b}}d=c[d+4>>2]|0;if(!((h|0)==0|(d|0)==0)?(c[d>>2]|0)>>>0>=h>>>0:0)d=c[d+4+(h+-1<<3)>>2]|0;else d=0}else d=0}else{_D(288260,i);d=0}while(0);if((d|0)==(b|0)){b=0;l=q;return b|0}}d=c[79957]|0;do if(!b)a=0;else{if(!d){_D(288260,n);b=-1;l=q;return b|0}if(a|0?(c[a>>2]|0)==(d+280|0):0){if(c[a+48>>2]&2|0)break;_D(288301,p);b=-1;l=q;return b|0}_D(307482,o);b=-1;l=q;return b|0}while(0);d=ig[c[d+180>>2]&63](d,a,b)|0;if(d|0){b=d;l=q;return b|0}p=c[79957]|0;c[p+652>>2]=a;c[p+656>>2]=b;rI(c[p+660>>2]|0,a);rI(c[(c[79957]|0)+664>>2]|0,b);b=0;l=q;return b|0}function ZD(){var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+64|0;r=t+24|0;q=t+16|0;p=t+8|0;o=t;k=t+32|0;a[332715]=0;if(!(c[79034]|0)){l=t;return}e=a[316140]|0;a:do if(!(e<<24>>24)){d=332715;b=1023}else{m=k+1|0;n=k+30|0;f=0;d=332715;g=316140;b=1023;while(1){while(1){if(e<<24>>24==37)break;g=g+1|0;i=d+1|0;a[d>>0]=e;j=b+-1|0;e=a[g>>0]|0;if(!((b|0)>1&e<<24>>24!=0)){d=i;b=j;break a}else{d=i;b=j}}a[k>>0]=37;j=m;e=g+1|0;while(1){i=a[e>>0]|0;if(!(i<<24>>24==46|(i+-48&255)<10)){s=9;break}e=e+1|0;g=j+1|0;a[j>>0]=i;if(j>>>0>>0)j=g;else{i=e;break}}if((s|0)==9){s=0;a[j>>0]=i;g=j+1|0;i=e+1|0}a[g>>0]=0;switch(a[j>>0]|0){case 37:{a[d>>0]=37;d=d+1|0;b=b+-1|0;break}case 88:case 120:case 111:case 117:case 100:case 105:case 99:{c[o>>2]=c[316272+(f<<7)>>2];j=qI(d,b,k,o)|0;g=(j|0)>0;f=f+1|0;d=g?d+j|0:d;b=b-(g?j:0)|0;break}case 102:{h[p>>3]=+h[316272+(f<<7)>>3];j=qI(d,b,k,p)|0;g=(j|0)>0;f=f+1|0;d=g?d+j|0:d;b=b-(g?j:0)|0;break}case 112:{c[q>>2]=c[316272+(f<<7)>>2];j=qI(d,b,k,q)|0;g=(j|0)>0;f=f+1|0;d=g?d+j|0:d;b=b-(g?j:0)|0;break}case 115:{c[r>>2]=316272+(f<<7);j=qI(d,b,k,r)|0;g=(j|0)>0;f=f+1|0;d=g?d+j|0:d;b=b-(g?j:0)|0;break}default:{}}e=a[i>>0]|0;if(!((b|0)>0&e<<24>>24!=0))break a;else g=i}}while(0);a[((b|0)<0?d+(b+-1)|0:d)>>0]=0;l=t;return}function _D(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0.0,m=0;j=l;l=l+32|0;i=j;g=j+8|0;if(!b){l=j;return}c[79034]=1;e=JO(b)|0;e=e>>>0<127?e:127;CQ(316140,b|0,e|0)|0;a[316140+e>>0]=0;c[g>>2]=d;c[79067]=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){e=a[d>>0]|0;f=d+1|0;if(e<<24>>24==46|(e+-48&255)<10)d=f;else break}switch(e<<24>>24|0){case 0:break;case 88:case 120:case 111:case 117:case 100:case 105:case 99:{e=(c[g>>2]|0)+(4-1)&~(4-1);d=c[e>>2]|0;c[g>>2]=e+4;e=b+1|0;c[79067]=e;c[316272+(b<<7)>>2]=d;d=f;b=e;break}case 102:{e=(c[g>>2]|0)+(8-1)&~(8-1);k=+h[e>>3];c[g>>2]=e+8;e=b+1|0;c[79067]=e;h[316272+(b<<7)>>3]=k;d=f;b=e;break}case 112:{e=(c[g>>2]|0)+(4-1)&~(4-1);d=c[e>>2]|0;c[g>>2]=e+4;e=b+1|0;c[79067]=e;c[316272+(b<<7)>>2]=d;d=f;b=e;break}case 115:{e=(c[g>>2]|0)+(4-1)&~(4-1);m=c[e>>2]|0;c[g>>2]=e+4;m=(m|0)==0?314047:m;e=316272+(b<<7)|0;d=JO(m)|0;d=d>>>0<127?d:127;CQ(e|0,m|0,d|0)|0;a[e+d>>0]=0;b=b+1|0;c[79067]=b;d=f;break}default:d=f}if((b|0)>4)break a}e=a[d>>0]|0}while(e<<24>>24!=0)}while(0);ZD();c[i>>2]=332715;oI(0,0,i);l=j;return}function $D(b,d){b=b|0;d=d|0;switch(a[d+12>>0]|0){case 2:case 1:case 6:{c[79956]=0;return}case 7:{pg[c[(c[b+320>>2]|0)+88>>2]&15]();return}default:return}}function aE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+16|0;g=h+8|0;e=c[a+188>>2]|0;f=c[79957]|0;if(!f){_D(288260,h);l=h;return 0}if(e|0?(c[e>>2]|0)==(f+280|0):0){a=c[f+184>>2]|0;if(a|0){Eg[a&63](f,e,b,d);l=h;return 0}if(b|0)c[b>>2]=c[e+24>>2];if(!d){l=h;return 0}c[d>>2]=c[e+28>>2];l=h;return 0}_D(307482,g);l=h;return 0}function bE(b,d){b=b|0;d=d|0;var 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,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,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=l;l=l+240|0;X=Y+216|0;V=Y+192|0;R=Y+168|0;N=Y+144|0;L=Y+120|0;I=Y+96|0;F=Y+72|0;y=Y+48|0;v=Y+24|0;p=Y+16|0;i=Y+8|0;h=Y;W=b+320|0;Q=c[W>>2]|0;g=c[Q>>2]|0;if((c[79956]|0)!=(g|0)){c[Q+268>>2]=0;if((YD(c[b+188>>2]|0,g)|0)>=0){c[79956]=c[Q>>2];hE(b)|0;f=c[W>>2]|0;j=4}}else{f=Q;j=4}if((j|0)==4?c[f+4>>2]|0:0){b=f+108|0;do{}while((fg[c[b>>2]&7]()|0)!=0)}g=d+4|0;b=c[g>>2]|0;a:do if((b|0)<825382478)if((b|0)<374740996)if((b|0)<372645892)switch(b|0){case 370546692:{A=6408;break a}default:{j=9;break a}}else switch(b|0){case 372645892:{A=6408;break a}default:{j=9;break a}}else if((b|0)<376840196)switch(b|0){case 374740996:{A=6408;break a}default:{j=9;break a}}else switch(b|0){case 376840196:{A=6408;break a}default:{j=9;break a}}else{b:do if((b|0)<842094169)if((b|0)<842094158)switch(b|0){case 825382478:break b;default:{j=9;break a}}else switch(b|0){case 842094158:break b;default:{j=9;break a}}else if((b|0)<1448433993)switch(b|0){case 842094169:break b;default:{j=9;break a}}else switch(b|0){case 1448433993:break b;default:{j=9;break a}}while(0);A=6409}while(0);if((j|0)==9){_D(294258,h);X=-1;l=Y;return X|0}T=TM(44)|0;if(!T){_D(294618,i);X=-1;l=Y;return X|0}if(c[T+-4>>2]&3|0){b=T;f=b+44|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(f|0))}c[T>>2]=0;z=T+4|0;c[z>>2]=3553;c[T+8>>2]=A;c[T+12>>2]=5121;g=c[g>>2]|0;h=(g|0)==1448433993;i=(g|0)==842094169;n=T+24|0;c[n>>2]=(h|i)&1;k=(g|0)==842094158;m=(g|0)==825382478;t=T+28|0;c[t>>2]=(k|m)&1;w=T+36|0;c[w>>2]=0;o=T+32|0;c[o>>2]=0;f=Df(295273)|0;b=c[79960]|0;c:do if(!b){b=f;j=20}else{while(1){if(!(wN(295273,c[b>>2]|0)|0))break;b=c[b+16>>2]|0;if(!b){b=f;j=20;break c}}if(f|0?(c[b+8>>2]|0)!=2:0){b=f;j=21;break}b=c[b+4>>2]|0;j=20}while(0);if((j|0)==20)if(!b)q=9728;else j=21;if((j|0)==21)if((a[b>>0]|0)==48)q=9728;else{q=(IO(b,295298)|0)==0;q=q?9728:9729}s=d+8|0;if((c[s>>2]|0)==1){f=c[d+12>>2]|0;d:do if((g|0)==0|(g&-268435456|0)==268435456)b=g&255;else{if((g|0)<1498831189)switch(g|0){case 844715353:{b=2;break d}default:{}}else switch(g|0){case 1498831189:{b=2;break d}default:{}}b=(g|0)==1431918169?2:1}while(0);f=O(b,f)|0;c[T+20>>2]=f;f=O(c[d+16>>2]|0,f)|0;if(h^(i^1))b=f;else b=((f|0)/2|0)+f|0;if(!(k^(m^1)))b=((f|0)/2|0)+b|0;f=TM(b)|0;if(!f){UM(T);_D(294618,p);X=-1;l=Y;return X|0}if(c[f+-4>>2]&3|0)EQ(f|0,0,b|0)|0;c[T+16>>2]=f}b=c[W>>2]|0;e:do if(c[b+4>>2]|0?(u=b+108|0,r=fg[c[u>>2]&7]()|0,r|0):0){b=334803;g=r;while(1){if((b|0)!=0?(a[b>>0]|0)!=0:0)f=b;else f=288015;switch(g|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[v>>2]=f;c[v+4>>2]=288128;c[v+8>>2]=574;c[v+12>>2]=294287;c[v+16>>2]=b;c[v+20>>2]=g;_D(288102,v);g=fg[c[u>>2]&7]()|0;if(!g)break e;else b=f}}while(0);k=Q+96|0;if(c[n>>2]|0){Bg[c[k>>2]&255](1,o);b=c[W>>2]|0;if(c[b+4>>2]|0?(x=b+108|0,e=fg[c[x>>2]&7]()|0,e|0):0){while(1){switch(e|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[y>>2]=294342;c[y+4>>2]=288128;c[y+8>>2]=578;c[y+12>>2]=294287;c[y+16>>2]=b;c[y+20>>2]=e;_D(288102,y);e=fg[c[x>>2]&7]()|0;if(!e){b=-1;break}}l=Y;return b|0}i=Q+16|0;vg[c[i>>2]&511](33986);j=Q+28|0;Bg[c[j>>2]&255](c[z>>2]|0,c[o>>2]|0);b=Q+160|0;Dg[c[b>>2]&63](c[z>>2]|0,10241,q);Dg[c[b>>2]&63](c[z>>2]|0,10240,q);Dg[c[b>>2]&63](c[z>>2]|0,10242,33071);Dg[c[b>>2]&63](c[z>>2]|0,10243,33071);e=Q+156|0;f=d+12|0;g=d+16|0;Jg[c[e>>2]&15](c[z>>2]|0,0,A,(c[f>>2]|0)/2|0,(c[g>>2]|0)/2|0,0,A,5121,0);Bg[c[k>>2]&255](1,w);h=c[W>>2]|0;if(c[h+4>>2]|0?(D=h+108|0,B=fg[c[D>>2]&7]()|0,B|0):0){e=B;while(1){switch(e|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[F>>2]=294342;c[F+4>>2]=288128;c[F+8>>2]=590;c[F+12>>2]=294287;c[F+16>>2]=b;c[F+20>>2]=e;_D(288102,F);e=fg[c[D>>2]&7]()|0;if(!e){b=-1;break}}l=Y;return b|0}vg[c[i>>2]&511](33985);Bg[c[j>>2]&255](c[z>>2]|0,c[w>>2]|0);Dg[c[b>>2]&63](c[z>>2]|0,10241,q);Dg[c[b>>2]&63](c[z>>2]|0,10240,q);Dg[c[b>>2]&63](c[z>>2]|0,10242,33071);Dg[c[b>>2]&63](c[z>>2]|0,10243,33071);Jg[c[e>>2]&15](c[z>>2]|0,0,A,(c[f>>2]|0)/2|0,(c[g>>2]|0)/2|0,0,A,5121,0);b=c[W>>2]|0;if(c[b+4>>2]|0?(G=b+108|0,C=fg[c[G>>2]&7]()|0,C|0):0){e=C;while(1){switch(e|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[I>>2]=294357;c[I+4>>2]=288128;c[I+8>>2]=600;c[I+12>>2]=294287;c[I+16>>2]=b;c[I+20>>2]=e;_D(288102,I);e=fg[c[G>>2]&7]()|0;if(!e){b=-1;break}}l=Y;return b|0}}if(c[t>>2]|0){Bg[c[k>>2]&255](1,w);b=c[W>>2]|0;if(c[b+4>>2]|0?(J=b+108|0,E=fg[c[J>>2]&7]()|0,E|0):0){e=E;while(1){switch(e|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[L>>2]=294342;c[L+4>>2]=288128;c[L+8>>2]=607;c[L+12>>2]=294287;c[L+16>>2]=b;c[L+20>>2]=e;_D(288102,L);e=fg[c[J>>2]&7]()|0;if(!e){b=-1;break}}l=Y;return b|0}vg[c[Q+16>>2]&511](33985);Bg[c[Q+28>>2]&255](c[z>>2]|0,c[w>>2]|0);b=Q+160|0;Dg[c[b>>2]&63](c[z>>2]|0,10241,q);Dg[c[b>>2]&63](c[z>>2]|0,10240,q);Dg[c[b>>2]&63](c[z>>2]|0,10242,33071);Dg[c[b>>2]&63](c[z>>2]|0,10243,33071);Jg[c[Q+156>>2]&15](c[z>>2]|0,0,6410,(c[d+12>>2]|0)/2|0,(c[d+16>>2]|0)/2|0,0,6410,5121,0);b=c[W>>2]|0;if(c[b+4>>2]|0?(M=b+108|0,H=fg[c[M>>2]&7]()|0,H|0):0){e=H;while(1){switch(e|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[N>>2]=294357;c[N+4>>2]=288128;c[N+8>>2]=617;c[N+12>>2]=294287;c[N+16>>2]=b;c[N+20>>2]=e;_D(288102,N);e=fg[c[M>>2]&7]()|0;if(!e){b=-1;break}}l=Y;return b|0}}Bg[c[k>>2]&255](1,T);b=c[W>>2]|0;if(c[b+4>>2]|0?(P=b+108|0,K=fg[c[P>>2]&7]()|0,K|0):0){e=K;while(1){switch(e|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[R>>2]=294342;c[R+4>>2]=288128;c[R+8>>2]=623;c[R+12>>2]=294287;c[R+16>>2]=b;c[R+20>>2]=e;_D(288102,R);e=fg[c[P>>2]&7]()|0;if(!e){b=-1;break}}l=Y;return b|0}c[d+68>>2]=T;vg[c[Q+16>>2]&511](33984);Bg[c[Q+28>>2]&255](c[z>>2]|0,c[T>>2]|0);e=Q+160|0;Dg[c[e>>2]&63](c[z>>2]|0,10241,q);Dg[c[e>>2]&63](c[z>>2]|0,10240,q);Dg[c[e>>2]&63](c[z>>2]|0,10242,33071);Dg[c[e>>2]&63](c[z>>2]|0,10243,33071);e=d+12|0;f=d+16|0;Jg[c[Q+156>>2]&15](c[z>>2]|0,0,A,c[e>>2]|0,c[f>>2]|0,0,A,5121,0);b=c[W>>2]|0;if(c[b+4>>2]|0?(U=b+108|0,S=fg[c[U>>2]&7]()|0,S|0):0){e=S;while(1){switch(e|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[V>>2]=294357;c[V+4>>2]=288128;c[V+8>>2]=634;c[V+12>>2]=294287;c[V+16>>2]=b;c[V+20>>2]=e;_D(288102,V);e=fg[c[U>>2]&7]()|0;if(!e){b=-1;break}}l=Y;return b|0}f:do if((c[s>>2]|0)==2){h=c[W>>2]|0;g=c[e>>2]|0;e=c[f>>2]|0;f=h+232|0;b=c[f>>2]|0;if(b|0)do{if((c[b>>2]|0)==(g|0)?(c[b+4>>2]|0)==(e|0):0)break f;b=c[b+12>>2]|0}while((b|0)!=0);b=TM(16)|0;c[b>>2]=g;c[b+4>>2]=e;Bg[c[h+92>>2]&255](1,b+8|0);c[b+12>>2]=c[f>>2];c[f>>2]=b}else b=0;while(0);c[T+40>>2]=b;b=c[W>>2]|0;if(!(c[b+4>>2]|0)){X=0;l=Y;return X|0}g=b+108|0;b=fg[c[g>>2]&7]()|0;if(!b){X=0;l=Y;return X|0}else e=334803;while(1){if((e|0)!=0?(a[e>>0]|0)!=0:0)f=e;else f=288015;switch(b|0){case 1280:{e=288086;break}case 1281:{e=288069;break}case 1282:{e=288048;break}case 1285:{e=288031;break}default:e=288023}c[X>>2]=f;c[X+4>>2]=288128;c[X+8>>2]=644;c[X+12>>2]=294287;c[X+16>>2]=e;c[X+20>>2]=b;_D(288102,X);b=fg[c[g>>2]&7]()|0;if(!b){b=-1;break}else e=f}l=Y;return b|0}function cE(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,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=l;l=l+64|0;L=M+32|0;I=M+24|0;B=M+16|0;x=M+8|0;t=M;J=a+320|0;K=c[J>>2]|0;H=c[b+68>>2]|0;g=c[K>>2]|0;if((c[79956]|0)!=(g|0)){c[K+268>>2]=0;if((YD(c[a+188>>2]|0,g)|0)>=0){c[79956]=c[K>>2];hE(a)|0;h=c[J>>2]|0;u=4}}else{h=K;u=4}if((u|0)==4?c[h+4>>2]|0:0){a=h+108|0;do{}while((fg[c[a>>2]&7]()|0)!=0)}F=d+8|0;if((c[F>>2]|0)<1){L=0;l=M;return L|0}G=d+12|0;if((c[G>>2]|0)<1){L=0;l=M;return L|0}C=K+28|0;D=H+4|0;Bg[c[C>>2]&255](c[D>>2]|0,c[H>>2]|0);j=c[D>>2]|0;k=c[d>>2]|0;E=d+4|0;m=c[E>>2]|0;n=c[F>>2]|0;o=c[G>>2]|0;z=H+8|0;p=c[z>>2]|0;A=H+12|0;q=c[A>>2]|0;y=b+4|0;a=c[y>>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);b=O(a,n)|0;do if((b|0)!=(f|0)){i=TM(O(b,o)|0)|0;if(!i){_D(294618,t);break}if((o|0)>0){a=0;g=i;h=e;while(1){CQ(g|0,h|0,b|0)|0;a=a+1|0;if((a|0)==(o|0)){r=i;s=i;u=18;break}else{g=g+b|0;h=h+f|0}}}else{r=i;s=i;u=18}}else{r=0;s=e;u=18}while(0);if((u|0)==18?(Jg[c[K+164>>2]&15](j,0,k,m,n,o,p,q,s),r|0):0)UM(r);do if(c[H+24>>2]|0){p=e+(O(c[G>>2]|0,f)|0)|0;e=c[C>>2]|0;a=c[D>>2]|0;if((c[y>>2]|0)==842094169)Bg[e&255](a,c[H+32>>2]|0);else Bg[e&255](a,c[H+36>>2]|0);h=c[D>>2]|0;b=(c[d>>2]|0)/2|0;i=(c[E>>2]|0)/2|0;j=(c[F>>2]|0)/2|0;e=c[G>>2]|0;k=(e|0)/2|0;m=c[z>>2]|0;n=c[A>>2]|0;q=(f|0)/2|0;do if((j|0)!=(q|0)){o=TM(O(k,j)|0)|0;if(!o){_D(294618,x);break}if((e|0)>1){e=0;a=o;g=p;while(1){CQ(a|0,g|0,j|0)|0;e=e+1|0;if((e|0)==(k|0)){v=o;w=o;u=29;break}else{a=a+j|0;g=g+q|0}}}else{v=o;w=o;u=29}}else{v=0;w=p;u=29}while(0);if((u|0)==29?(Jg[c[K+164>>2]&15](h,0,b,i,j,k,m,n,w),v|0):0)UM(v);e=p+((O(c[G>>2]|0,f)|0)/4|0)|0;a=c[C>>2]|0;g=c[D>>2]|0;if((c[y>>2]|0)==842094169)Bg[a&255](g,c[H+36>>2]|0);else Bg[a&255](g,c[H+32>>2]|0);k=c[D>>2]|0;m=(c[d>>2]|0)/2|0;n=(c[E>>2]|0)/2|0;o=(c[F>>2]|0)/2|0;a=c[G>>2]|0;p=(a|0)/2|0;j=c[z>>2]|0;i=c[A>>2]|0;if((o|0)!=(q|0)){b=TM(O(p,o)|0)|0;if(!b){_D(294618,B);break}if((a|0)>1){a=0;g=b;h=e;while(1){CQ(g|0,h|0,o|0)|0;a=a+1|0;if((a|0)==(p|0)){g=b;a=b;break}else{g=g+o|0;h=h+q|0}}}else{g=b;a=b}}else{g=0;a=e}Jg[c[K+164>>2]&15](k,0,m,n,o,p,j,i,a);if(g)UM(g)}while(0);do if(c[H+28>>2]|0){e=e+(O(c[G>>2]|0,f)|0)|0;Bg[c[C>>2]&255](c[D>>2]|0,c[H+36>>2]|0);n=c[D>>2]|0;m=(c[d>>2]|0)/2|0;k=(c[E>>2]|0)/2|0;j=(c[F>>2]|0)/2|0;a=c[G>>2]|0;i=(a|0)/2|0;h=j<<1;if((h|0)!=(f|0)){b=TM(O(h,i)|0)|0;if(!b){_D(294618,I);break}if((a|0)>1){a=0;g=b;while(1){CQ(g|0,e|0,h|0)|0;a=a+1|0;if((a|0)==(i|0)){a=b;e=b;break}else{g=g+h|0;e=e+f|0}}}else{a=b;e=b}}else a=0;Jg[c[K+164>>2]&15](n,0,m,k,j,i,6410,5121,e);if(a|0)UM(a)}while(0);e=c[J>>2]|0;if(!(c[e+4>>2]|0)){L=0;l=M;return L|0}g=e+108|0;e=fg[c[g>>2]&7]()|0;if(!e){L=0;l=M;return L|0}while(1){switch(e|0){case 1280:{a=288086;break}case 1281:{a=288069;break}case 1282:{a=288048;break}case 1285:{a=288031;break}default:a=288023}c[L>>2]=294012;c[L+4>>2]=288128;c[L+8>>2]=753;c[L+12>>2]=294166;c[L+16>>2]=a;c[L+20>>2]=e;_D(288102,L);e=fg[c[g>>2]&7]()|0;if(!e){e=-1;break}}l=M;return e|0}function dE(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;var 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,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,P=0,Q=0;Q=l;l=l+48|0;P=Q+24|0;L=Q+16|0;C=Q+8|0;w=Q;N=a+320|0;M=c[N>>2]|0;E=c[b+68>>2]|0;b=c[M>>2]|0;if((c[79956]|0)!=(b|0)){c[M+268>>2]=0;if((YD(c[a+188>>2]|0,b)|0)>=0){c[79956]=c[M>>2];hE(a)|0;k=c[N>>2]|0;I=4}}else{k=M;I=4}if((I|0)==4?c[k+4>>2]|0:0){b=k+108|0;do{}while((fg[c[b>>2]&7]()|0)!=0)}D=d+8|0;if((c[D>>2]|0)<1){P=0;l=Q;return P|0}F=d+12|0;if((c[F>>2]|0)<1){P=0;l=Q;return P|0}x=M+28|0;y=E+4|0;Bg[c[x>>2]&255](c[y>>2]|0,c[E+32>>2]|0);m=c[y>>2]|0;n=(c[d>>2]|0)/2|0;B=d+4|0;o=(c[B>>2]|0)/2|0;p=(c[D>>2]|0)/2|0;b=c[F>>2]|0;q=(b|0)/2|0;G=E+8|0;r=c[G>>2]|0;H=E+12|0;s=c[H>>2]|0;do if((p|0)!=(j|0)){t=TM(O(q,p)|0)|0;if(!t){_D(294618,w);break}if((b|0)>1){a=0;k=t;b=i;while(1){CQ(k|0,b|0,p|0)|0;a=a+1|0;if((a|0)==(q|0)){u=t;v=t;I=14;break}else{k=k+p|0;b=b+j|0}}}else{u=t;v=t;I=14}}else{u=0;v=i;I=14}while(0);if((I|0)==14?(Jg[c[M+164>>2]&15](m,0,n,o,p,q,r,s,v),u|0):0)UM(u);Bg[c[x>>2]&255](c[y>>2]|0,c[E+36>>2]|0);m=c[y>>2]|0;n=(c[d>>2]|0)/2|0;o=(c[B>>2]|0)/2|0;p=(c[D>>2]|0)/2|0;b=c[F>>2]|0;q=(b|0)/2|0;r=c[G>>2]|0;s=c[H>>2]|0;do if((p|0)!=(h|0)){t=TM(O(q,p)|0)|0;if(!t){_D(294618,C);break}if((b|0)>1){a=0;k=t;b=g;while(1){CQ(k|0,b|0,p|0)|0;a=a+1|0;if((a|0)==(q|0)){z=t;A=t;I=21;break}else{k=k+p|0;b=b+h|0}}}else{z=t;A=t;I=21}}else{z=0;A=g;I=21}while(0);if((I|0)==21?(Jg[c[M+164>>2]&15](m,0,n,o,p,q,r,s,A),z|0):0)UM(z);Bg[c[x>>2]&255](c[y>>2]|0,c[E>>2]|0);s=c[y>>2]|0;r=c[d>>2]|0;q=c[B>>2]|0;p=c[D>>2]|0;o=c[F>>2]|0;n=c[G>>2]|0;k=c[H>>2]|0;do if((p|0)!=(f|0)){m=TM(O(o,p)|0)|0;if(!m){_D(294618,L);break}if((o|0)>0){b=0;a=m;while(1){CQ(a|0,e|0,p|0)|0;b=b+1|0;if((b|0)==(o|0)){J=m;K=m;I=28;break}else{a=a+p|0;e=e+f|0}}}else{J=m;K=m;I=28}}else{J=0;K=e;I=28}while(0);if((I|0)==28?(Jg[c[M+164>>2]&15](s,0,r,q,p,o,n,k,K),J|0):0)UM(J);e=c[N>>2]|0;if(!(c[e+4>>2]|0)){P=0;l=Q;return P|0}a=e+108|0;e=fg[c[a>>2]&7]()|0;if(!e){P=0;l=Q;return P|0}while(1){switch(e|0){case 1280:{b=288086;break}case 1281:{b=288069;break}case 1282:{b=288048;break}case 1285:{b=288031;break}default:b=288023}c[P>>2]=294012;c[P+4>>2]=288128;c[P+8>>2]=803;c[P+12>>2]=294030;c[P+16>>2]=b;c[P+20>>2]=e;_D(288102,P);e=fg[c[a>>2]&7]()|0;if(!e){e=-1;break}}l=Q;return e|0}function eE(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)+(O(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+(O(a,d)|0);c[f>>2]=g;return 0}function fE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;f=d;e=c[b+68>>2]|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=c[b+12>>2];c[f+12>>2]=c[b+16>>2];cE(a,b,f,c[e+16>>2]|0,c[e+20>>2]|0)|0;l=d;return}function gE(a,b){a=a|0;b=b|0;var d=0,e=0;e=l;l=l+16|0;a=c[a+320>>2]|0;d=c[a+192>>2]|0;if(!b){Bg[d&255](36160,c[a+236>>2]|0);b=0;l=e;return b|0}b=c[b+68>>2]|0;Bg[d&255](36160,c[(c[b+40>>2]|0)+8>>2]|0);Fg[c[a+196>>2]&15](36160,36064,c[b+4>>2]|0,c[b>>2]|0,0);if((gg[c[a+200>>2]&511](36160)|0)==36053){b=0;l=e;return b|0}_D(293980,e);b=-1;l=e;return b|0}function hE(b){b=b|0;var d=0,e=0,f=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;u=l;l=l+112|0;t=u+16|0;f=u+8|0;e=u;d=u+48|0;h=u+40|0;s=b+320|0;k=c[s>>2]|0;if((c[79956]|0)!=(c[k>>2]|0)){t=0;l=u;return t|0}r=b+308|0;if(!(c[r>>2]|0)){i=c[b+188>>2]|0;j=c[79957]|0;do if(!j)_D(288260,e);else{if(i|0?(c[i>>2]|0)==(j+280|0):0){e=c[j+184>>2]|0;if(!e){c[d>>2]=c[i+24>>2];c[h>>2]=c[i+28>>2];break}else{Eg[e&63](j,i,d,h);break}}_D(307482,f)}while(0);j=c[b+228>>2]|0;Eg[c[k+188>>2]&63](c[b+216>>2]|0,(c[h>>2]|0)-(c[b+220>>2]|0)-j|0,c[b+224>>2]|0,j)}else Eg[c[k+188>>2]&63](c[b+216>>2]|0,c[b+220>>2]|0,c[b+224>>2]|0,c[b+228>>2]|0);if(((c[k+268>>2]|0?(m=c[s>>2]|0,n=c[b+224>>2]|0,n|0):0)?(o=c[b+228>>2]|0,o|0):0)?(g[d>>2]=2.0/+(n|0),p=d+4|0,c[p>>2]=0,c[p+4>>2]=0,c[p+8>>2]=0,c[p+12>>2]=0,p=(c[r>>2]|0)!=0,g[d+20>>2]=(p?2.0:-2.0)/+(o|0),q=d+24|0,c[q>>2]=0,c[q+4>>2]=0,c[q+8>>2]=0,c[q+12>>2]=0,c[q+16>>2]=0,c[q+20>>2]=0,g[d+48>>2]=-1.0,g[d+52>>2]=p?-1.0:1.0,g[d+56>>2]=0.0,g[d+60>>2]=1.0,p=m+268|0,q=c[p>>2]|0,xN(q+88|0,d,64)|0):0){Eg[c[m+176>>2]&63](c[q+16>>2]|0,1,0,d);f=(c[p>>2]|0)+88|0;e=f+64|0;do{a[f>>0]=a[d>>0]|0;f=f+1|0;d=d+1|0}while((f|0)<(e|0))}d=c[s>>2]|0;if(!(c[d+4>>2]|0)){t=0;l=u;return t|0}b=d+108|0;d=fg[c[b>>2]&7]()|0;if(!d){t=0;l=u;return t|0}else e=334803;while(1){if((e|0)!=0?(a[e>>0]|0)!=0:0)f=e;else f=288015;switch(d|0){case 1280:{e=288086;break}case 1281:{e=288069;break}case 1282:{e=288048;break}case 1285:{e=288031;break}default:e=288023}c[t>>2]=f;c[t+4>>2]=288128;c[t+8>>2]=399;c[t+12>>2]=293939;c[t+16>>2]=e;c[t+20>>2]=d;_D(288102,t);d=fg[c[b>>2]&7]()|0;if(!d){d=-1;break}else e=f}l=u;return d|0}function iE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;b=j+8|0;d=j+16|0;f=j+12|0;i=c[a+320>>2]|0;if((c[79956]|0)!=(c[i>>2]|0)){l=j;return 0}if(!(c[a+280>>2]|0)){vg[c[i+68>>2]&511](3089);l=j;return 0}e=a+248|0;vg[c[i+80>>2]&511](3089);if(c[a+308>>2]|0){Eg[c[i+144>>2]&63]((c[e>>2]|0)+(c[a+216>>2]|0)|0,(c[a+252>>2]|0)+(c[a+220>>2]|0)|0,c[a+256>>2]|0,c[a+260>>2]|0);l=j;return 0}g=c[a+188>>2]|0;h=c[79957]|0;do if(!h)_D(288260,j);else{if(g|0?(c[g>>2]|0)==(h+280|0):0){b=c[h+184>>2]|0;if(!b){c[d>>2]=c[g+24>>2];c[f>>2]=c[g+28>>2];break}else{Eg[b&63](h,g,d,f);break}}_D(307482,b)}while(0);h=c[a+260>>2]|0;Eg[c[i+144>>2]&63]((c[e>>2]|0)+(c[a+216>>2]|0)|0,(c[f>>2]|0)-(c[a+220>>2]|0)-(c[a+252>>2]|0)-h|0,c[a+256>>2]|0,h);l=j;return 0}function jE(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;e=b+320|0;s=c[e>>2]|0;g=c[s>>2]|0;if((c[79956]|0)!=(g|0)){c[s+268>>2]=0;if((YD(c[b+188>>2]|0,g)|0)>=0){c[79956]=c[s>>2];hE(b)|0;f=c[e>>2]|0;r=4}}else{f=s;r=4}if((r|0)==4?c[f+4>>2]|0:0){e=f+108|0;do{}while((fg[c[e>>2]&7]()|0)!=0)}h=s+272|0;i=s+273|0;j=s+274|0;k=s+275|0;l=b+312|0;e=a[l>>0]|0;m=b+313|0;n=a[m>>0]|0;o=b+314|0;g=a[o>>0]|0;p=b+315|0;q=a[p>>0]|0;if(((d[i>>0]|0)<<16|(d[h>>0]|0)<<24|(d[j>>0]|0)<<8|(d[k>>0]|0)|0)!=((n&255)<<16|(e&255)<<24|(g&255)<<8|q&255|0)){f=c[b+308>>2]|0;a:do if(f){f=c[f+4>>2]|0;if((f|0)<372645892)switch(f|0){case 370546692:{f=g;break a}default:{r=10;break a}}else switch(f|0){case 372645892:{f=g;break a}default:{r=10;break a}}}else r=10;while(0);if((r|0)==10){f=e;e=g}sg[c[s+40>>2]&3](+(f&255)*.003921568859368563,+(n&255)*.003921568859368563,+(e&255)*.003921568859368563,+(q&255)*.003921568859368563);a[h>>0]=a[l>>0]|0;a[i>>0]=a[m>>0]|0;a[j>>0]=a[o>>0]|0;a[k>>0]=a[p>>0]|0}e=b+280|0;if(c[e>>2]|0)vg[c[s+68>>2]&511](3089);vg[c[s+36>>2]&511](16384);if(!(c[e>>2]|0))return 0;vg[c[s+80>>2]&511](3089);return 0}function kE(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,m=0.0;j=l;e=a+320|0;i=c[e>>2]|0;if((nI(a)|0)<0){i=-1;l=j;return i|0}f=d<<3;h=l;l=l+((1*f|0)+15&-16)|0;if((d|0)>0){a=0;do{m=+g[b+(a<<3)+4>>2]+.5;k=a<<1;g[h+(k<<2)>>2]=+g[b+(a<<3)>>2]+.5;g[h+((k|1)<<2)>>2]=m;a=a+1|0}while((a|0)!=(d|0))}e=c[e>>2]|0;b=e+276|0;a=c[b>>2]|0;if(!a){Bg[c[e+216>>2]&255](1,b);a=c[b>>2]|0}Bg[c[e+220>>2]&255](34962,a);a=e+292|0;if((c[a>>2]|0)>>>0>>0){Eg[c[e+224>>2]&63](34962,f,h,35040);c[a>>2]=f}else Eg[c[e+228>>2]&63](34962,0,f,h);Gg[c[e+184>>2]&7](0,2,5126,0,0,0);Dg[c[i+76>>2]&63](0,0,d);k=0;l=j;return k|0}function lE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0.0;o=l;l=l+32|0;n=o;m=b+320|0;k=c[m>>2]|0;if((nI(b)|0)<0){n=-1;l=o;return n|0}i=e<<3;j=l;l=l+((1*i|0)+15&-16)|0;if((e|0)>0){b=0;do{p=+g[d+(b<<3)+4>>2]+.5;h=b<<1;g[j+(h<<2)>>2]=+g[d+(b<<3)>>2]+.5;g[j+((h|1)<<2)>>2]=p;b=b+1|0}while((b|0)!=(e|0))}h=c[m>>2]|0;f=h+276|0;b=c[f>>2]|0;if(!b){Bg[c[h+216>>2]&255](1,f);b=c[f>>2]|0}Bg[c[h+220>>2]&255](34962,b);b=h+292|0;if((c[b>>2]|0)>>>0>>0){Eg[c[h+224>>2]&63](34962,i,j,35040);c[b>>2]=i}else Eg[c[h+228>>2]&63](34962,0,i,j);Gg[c[h+184>>2]&7](0,2,5126,0,0,0);b=k+76|0;Dg[c[b>>2]&63](3,0,e);f=e+-1|0;if(!(((e|0)!=2?!(+g[d>>2]!=+g[d+(f<<3)>>2]):0)?!(+g[d+4>>2]!=+g[d+(f<<3)+4>>2]):0))Dg[c[b>>2]&63](0,f,1);b=c[m>>2]|0;if(!(c[b+4>>2]|0)){n=0;l=o;return n|0}i=b+108|0;b=fg[c[i>>2]&7]()|0;if(!b){n=0;l=o;return n|0}else f=334803;while(1){if((f|0)!=0?(a[f>>0]|0)!=0:0)h=f;else h=288015;switch(b|0){case 1280:{f=288086;break}case 1281:{f=288069;break}case 1282:{f=288048;break}case 1285:{f=288031;break}default:f=288023}c[n>>2]=h;c[n+4>>2]=288128;c[n+8>>2]=1514;c[n+12>>2]=293872;c[n+16>>2]=f;c[n+20>>2]=b;_D(288102,n);b=fg[c[i>>2]&7]()|0;if(!b){b=-1;break}else f=h}l=o;return b|0}function mE(b,d,e){b=b|0;d=d|0;e=e|0;var f=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.0,x=0.0,y=0.0,z=0.0;v=l;l=l+64|0;u=v;s=v+24|0;t=b+320|0;f=c[t>>2]|0;if((nI(b)|0)<0){u=-1;l=v;return u|0}if((e|0)>0){r=s+4|0;k=s+8|0;m=s+12|0;n=s+16|0;o=s+20|0;p=s+24|0;q=s+28|0;i=f+76|0;h=0;do{y=+g[d+(h<<4)>>2];x=y+ +g[d+(h<<4)+8>>2];z=+g[d+(h<<4)+4>>2];w=z+ +g[d+(h<<4)+12>>2];g[s>>2]=y;g[r>>2]=z;g[k>>2]=x;g[m>>2]=z;g[n>>2]=y;g[o>>2]=w;g[p>>2]=x;g[q>>2]=w;j=c[t>>2]|0;f=j+276|0;b=c[f>>2]|0;if(!b){Bg[c[j+216>>2]&255](1,f);b=c[f>>2]|0}Bg[c[j+220>>2]&255](34962,b);b=j+292|0;if((c[b>>2]|0)>>>0<32){Eg[c[j+224>>2]&63](34962,32,s,35040);c[b>>2]=32}else Eg[c[j+228>>2]&63](34962,0,32,s);Gg[c[j+184>>2]&7](0,2,5126,0,0,0);Dg[c[i>>2]&63](5,0,4);h=h+1|0}while((h|0)!=(e|0))}b=c[t>>2]|0;if(!(c[b+4>>2]|0)){u=0;l=v;return u|0}i=b+108|0;b=fg[c[i>>2]&7]()|0;if(!b){u=0;l=v;return u|0}else f=334803;while(1){if((f|0)!=0?(a[f>>0]|0)!=0:0)h=f;else h=288015;switch(b|0){case 1280:{f=288086;break}case 1281:{f=288069;break}case 1282:{f=288048;break}case 1285:{f=288031;break}default:f=288023}c[u>>2]=h;c[u+4>>2]=288128;c[u+8>>2]=1549;c[u+12>>2]=293806;c[u+16>>2]=f;c[u+20>>2]=b;_D(288102,u);b=fg[c[i>>2]&7]()|0;if(!b){b=-1;break}else f=h}l=v;return b|0}function nE(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,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0;q=l;l=l+96|0;p=q;k=q+56|0;m=q+24|0;n=b+320|0;o=c[n>>2]|0;i=c[o>>2]|0;if((c[79956]|0)!=(i|0)){c[o+268>>2]=0;if((YD(c[b+188>>2]|0,i)|0)>=0){c[79956]=c[o>>2];hE(b)|0;h=c[n>>2]|0;j=4}}else{h=o;j=4}if((j|0)==4?c[h+4>>2]|0:0){h=h+108|0;do{}while((fg[c[h>>2]&7]()|0)!=0)}if((kI(b,d)|0)<0){p=-1;l=q;return p|0}t=+g[f>>2];g[k>>2]=t;r=+g[f+4>>2];g[k+4>>2]=r;s=t+ +g[f+8>>2];g[k+8>>2]=s;g[k+12>>2]=r;g[k+16>>2]=t;r=r+ +g[f+12>>2];g[k+20>>2]=r;g[k+24>>2]=s;g[k+28>>2]=r;j=c[n>>2]|0;i=j+276|0;h=c[i>>2]|0;if(!h){Bg[c[j+216>>2]&255](1,i);h=c[i>>2]|0}Bg[c[j+220>>2]&255](34962,h);h=j+292|0;if((c[h>>2]|0)>>>0<32){Eg[c[j+224>>2]&63](34962,32,k,35040);c[h>>2]=32}else Eg[c[j+228>>2]&63](34962,0,32,k);Gg[c[j+184>>2]&7](0,2,5126,0,0,0);i=c[e>>2]|0;s=+(c[d+12>>2]|0);r=+(i|0)/s;g[m>>2]=r;j=c[e+4>>2]|0;t=+(c[d+16>>2]|0);u=+(j|0)/t;g[m+4>>2]=u;s=+((c[e+8>>2]|0)+i|0)/s;g[m+8>>2]=s;g[m+12>>2]=u;g[m+16>>2]=r;t=+((c[e+12>>2]|0)+j|0)/t;g[m+20>>2]=t;g[m+24>>2]=s;g[m+28>>2]=t;j=c[n>>2]|0;i=j+280|0;h=c[i>>2]|0;if(!h){Bg[c[j+216>>2]&255](1,i);h=c[i>>2]|0}Bg[c[j+220>>2]&255](34962,h);h=j+296|0;if((c[h>>2]|0)>>>0<32){Eg[c[j+224>>2]&63](34962,32,m,35040);c[h>>2]=32}else Eg[c[j+228>>2]&63](34962,0,32,m);Gg[c[j+184>>2]&7](1,2,5126,0,0,0);Dg[c[o+76>>2]&63](5,0,4);h=c[n>>2]|0;if(!(c[h+4>>2]|0)){p=0;l=q;return p|0}b=h+108|0;h=fg[c[b>>2]&7]()|0;if(!h){p=0;l=q;return p|0}else i=334803;while(1){if((i|0)!=0?(a[i>>0]|0)!=0:0)j=i;else j=288015;switch(h|0){case 1280:{i=288086;break}case 1281:{i=288069;break}case 1282:{i=288048;break}case 1285:{i=288031;break}default:i=288023}c[p>>2]=j;c[p+4>>2]=288128;c[p+8>>2]=1751;c[p+12>>2]=293717;c[p+16>>2]=i;c[p+20>>2]=h;_D(288102,p);h=fg[c[b>>2]&7]()|0;if(!h){h=-1;break}else i=j}l=q;return h|0}function oE(b,d,e,f,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;h=+h;i=i|0;j=j|0;var k=0,m=0,n=0,o=0.0,p=0,q=0,r=0.0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=l;l=l+144|0;z=A;v=A+104|0;y=A+72|0;u=A+40|0;t=A+24|0;w=b+320|0;x=c[w>>2]|0;k=c[x>>2]|0;if((c[79956]|0)!=(k|0)){c[x+268>>2]=0;if((YD(c[b+188>>2]|0,k)|0)>=0){c[79956]=c[x>>2];hE(b)|0;m=c[w>>2]|0;n=4}}else{m=x;n=4}if((n|0)==4?c[m+4>>2]|0:0){k=m+108|0;do{}while((fg[c[k>>2]&7]()|0)!=0)}if((kI(b,d)|0)<0){z=-1;l=A;return z|0}b=x+84|0;vg[c[b>>2]&511](3);vg[c[b>>2]&511](2);r=360.0-h;g[t+12>>2]=r;g[t+8>>2]=r;g[t+4>>2]=r;g[t>>2]=r;r=+g[f>>2];s=+g[i>>2]+r;g[u+24>>2]=s;g[u+16>>2]=s;g[u+8>>2]=s;g[u>>2]=s;s=+g[f+4>>2];o=+g[i+4>>2]+s;g[u+28>>2]=o;g[u+20>>2]=o;g[u+12>>2]=o;g[u+4>>2]=o;g[v>>2]=r;b=v+4|0;g[b>>2]=s;o=r+ +g[f+8>>2];i=v+8|0;g[i>>2]=o;p=v+12|0;g[p>>2]=s;q=v+16|0;g[q>>2]=r;h=s+ +g[f+12>>2];k=v+20|0;g[k>>2]=h;m=v+24|0;g[m>>2]=o;n=v+28|0;g[n>>2]=h;if(j&1|0){g[q>>2]=o;g[v>>2]=o;g[m>>2]=r;g[i>>2]=r}if(j&2|0){g[p>>2]=h;g[b>>2]=h;g[n>>2]=s;g[k>>2]=s}n=c[w>>2]|0;m=n+284|0;k=c[m>>2]|0;if(!k){Bg[c[n+216>>2]&255](1,m);k=c[m>>2]|0}Bg[c[n+220>>2]&255](34962,k);k=n+300|0;if((c[k>>2]|0)>>>0<16){Eg[c[n+224>>2]&63](34962,16,t,35040);c[k>>2]=16}else Eg[c[n+228>>2]&63](34962,0,16,t);Gg[c[n+184>>2]&7](2,1,5126,0,0,0);n=c[w>>2]|0;m=n+288|0;k=c[m>>2]|0;if(!k){Bg[c[n+216>>2]&255](1,m);k=c[m>>2]|0}Bg[c[n+220>>2]&255](34962,k);k=n+304|0;if((c[k>>2]|0)>>>0<32){Eg[c[n+224>>2]&63](34962,32,u,35040);c[k>>2]=32}else Eg[c[n+228>>2]&63](34962,0,32,u);Gg[c[n+184>>2]&7](3,2,5126,0,0,0);n=c[w>>2]|0;m=n+276|0;k=c[m>>2]|0;if(!k){Bg[c[n+216>>2]&255](1,m);k=c[m>>2]|0}Bg[c[n+220>>2]&255](34962,k);k=n+292|0;if((c[k>>2]|0)>>>0<32){Eg[c[n+224>>2]&63](34962,32,v,35040);c[k>>2]=32}else Eg[c[n+228>>2]&63](34962,0,32,v);Gg[c[n+184>>2]&7](0,2,5126,0,0,0);m=c[e>>2]|0;r=+(c[d+12>>2]|0);o=+(m|0)/r;g[y>>2]=o;n=c[e+4>>2]|0;s=+(c[d+16>>2]|0);h=+(n|0)/s;g[y+4>>2]=h;r=+((c[e+8>>2]|0)+m|0)/r;g[y+8>>2]=r;g[y+12>>2]=h;g[y+16>>2]=o;s=+((c[e+12>>2]|0)+n|0)/s;g[y+20>>2]=s;g[y+24>>2]=r;g[y+28>>2]=s;n=c[w>>2]|0;m=n+280|0;k=c[m>>2]|0;if(!k){Bg[c[n+216>>2]&255](1,m);k=c[m>>2]|0}Bg[c[n+220>>2]&255](34962,k);k=n+296|0;if((c[k>>2]|0)>>>0<32){Eg[c[n+224>>2]&63](34962,32,y,35040);c[k>>2]=32}else Eg[c[n+228>>2]&63](34962,0,32,y);Gg[c[n+184>>2]&7](1,2,5126,0,0,0);Dg[c[x+76>>2]&63](5,0,4);k=x+72|0;vg[c[k>>2]&511](3);vg[c[k>>2]&511](2);k=c[w>>2]|0;if(!(c[k+4>>2]|0)){z=0;l=A;return z|0}b=k+108|0;k=fg[c[b>>2]&7]()|0;if(!k){z=0;l=A;return z|0}else m=334803;while(1){if((m|0)!=0?(a[m>>0]|0)!=0:0)n=m;else n=288015;switch(k|0){case 1280:{m=288086;break}case 1281:{m=288069;break}case 1282:{m=288048;break}case 1285:{m=288031;break}default:m=288023}c[z>>2]=n;c[z+4>>2]=288128;c[z+8>>2]=1820;c[z+12>>2]=289466;c[z+16>>2]=m;c[z+20>>2]=k;_D(288102,z);k=fg[c[b>>2]&7]()|0;if(!k){k=-1;break}else m=n}l=A;return k|0}function pE(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,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=l;l=l+80|0;y=E+48|0;n=E+40|0;q=E+32|0;p=E+24|0;m=E+16|0;k=E+8|0;j=E;o=E+76|0;s=E+72|0;u=a+320|0;v=c[u>>2]|0;w=a+308|0;g=c[w>>2]|0;if(!g)D=376840196;else D=c[g+4>>2]|0;g=c[v>>2]|0;if((c[79956]|0)!=(g|0)){c[v+268>>2]=0;if((YD(c[a+188>>2]|0,g)|0)>=0){c[79956]=c[v>>2];hE(a)|0;i=c[u>>2]|0;r=6}}else{i=v;r=6}if((r|0)==6?c[i+4>>2]|0:0){g=i+108|0;do{}while((fg[c[g>>2]&7]()|0)!=0)}C=b+8|0;g=c[C>>2]|0;t=(D|0)==0|(D&-268435456|0)==268435456;a:do if(t)i=D&255;else{if((D|0)<1498831189)switch(D|0){case 844715353:{i=2;break a}default:{}}else switch(D|0){case 1498831189:{i=2;break a}default:{}}i=(D|0)==1431918169?2:1}while(0);z=O(i,g)|0;A=b+12|0;B=TM(O(c[A>>2]|0,z)|0)|0;if(!B){_D(294618,j);f=-1;l=E;return f|0}do if((a|0)!=0?(c[a>>2]|0)==332713:0){g=c[w>>2]|0;if(g|0)if((c[g>>2]|0)==332714){c[o>>2]=c[g+12>>2];c[s>>2]=c[g+16>>2];break}else{_D(289404,m);break}g=c[a+8>>2]|0;if(g|0){ig[g&63](a,o,s)|0;break}i=c[a+188>>2]|0;if(!i){_D(289420,n);break}g=c[79957]|0;if(!g){_D(288260,p);break}if((c[i>>2]|0)==(g+280|0)){c[o>>2]=c[i+24>>2];c[s>>2]=c[i+28>>2];break}else{_D(307482,q);break}}else r=17;while(0);if((r|0)==17)_D(289387,k);g=c[b+4>>2]|0;if(!(c[w>>2]|0)){i=c[A>>2]|0;g=(c[s>>2]|0)-g-i|0}else i=c[A>>2]|0;Hg[c[v+140>>2]&7](c[b>>2]|0,g,c[C>>2]|0,i,6408,5121,B);g=c[u>>2]|0;if(c[g+4>>2]|0?(x=g+108|0,h=fg[c[x>>2]&7]()|0,h|0):0){while(1){switch(h|0){case 1280:{g=288086;break}case 1281:{g=288069;break}case 1282:{g=288048;break}case 1285:{g=288031;break}default:g=288023}c[y>>2]=288392;c[y+4>>2]=288128;c[y+8>>2]=1847;c[y+12>>2]=288407;c[y+16>>2]=g;c[y+20>>2]=h;_D(288102,y);h=fg[c[x>>2]&7]()|0;if(!h){g=-1;break}}l=E;return g|0}if(!(c[w>>2]|0)){h=c[C>>2]|0;b:do if(t)g=D&255;else{if((D|0)<1498831189)switch(D|0){case 844715353:{g=2;break b}default:{}}else switch(D|0){case 1498831189:{g=2;break b}default:{}}g=(D|0)==1431918169?2:1}while(0);j=O(g,h)|0;g=c[A>>2]|0;k=l;l=l+((1*j|0)+15&-16)|0;if((g+1|0)>>>0>=3){m=0-z|0;i=(g|0)/2|0;g=B+(O(g+-1|0,z)|0)|0;h=B;while(1){i=i+-1|0;CQ(k|0,h|0,j|0)|0;CQ(h|0,g|0,j|0)|0;CQ(g|0,k|0,j|0)|0;if(!i)break;else{g=g+m|0;h=h+z|0}}}}f=uE(c[C>>2]|0,c[A>>2]|0,D,B,z,d,e,f)|0;UM(B);l=E;return f|0}function qE(a){a=a|0;var b=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;p=l;l=l+48|0;o=p+24|0;j=p+16|0;i=p+8|0;h=p;k=p+40|0;m=p+32|0;n=p+28|0;d=a+320|0;e=c[d>>2]|0;f=c[e>>2]|0;if((c[79956]|0)!=(f|0)){c[e+268>>2]=0;if((YD(c[a+188>>2]|0,f)|0)>=0){c[79956]=c[e>>2];hE(a)|0;b=c[d>>2]|0;g=4}}else{b=e;g=4}if((g|0)==4?c[b+4>>2]|0:0){b=b+108|0;do{}while((fg[c[b>>2]&7]()|0)!=0)}a=c[a+188>>2]|0;b=c[79957]|0;if(!b){_D(288260,h);l=p;return}if(a|0?(c[a>>2]|0)==(b+280|0):0){if(!(c[a+48>>2]&2)){_D(288301,j);l=p;return}g=c[b+660>>2]|0;c[n>>2]=0;j=c[n>>2]|0;c[n>>2]=1;if(j|0){b=k+4|0;d=m+4|0;do{c[k>>2]=0;c[b>>2]=0;e=0;f=0;while(1){c[8240]=0;c[m>>2]=e;c[d>>2]=f;j=(Qf(m|0,k|0)|0)!=0;if(!(j&(c[8240]|0)==4))break;e=c[k>>2]|0;f=c[b>>2]|0}j=c[n>>2]|0;c[n>>2]=1}while((j|0)!=0)}c[n>>2]=0;b=c[79958]|0;a:do if(b){while(1){if(!(c[b>>2]|0))break;b=c[b+8>>2]|0;if(!b){b=0;break a}}b=c[b+4>>2]|0;if(!((g|0)==0|(b|0)==0)?(c[b>>2]|0)>>>0>=g>>>0:0)b=c[b+4+(g+-1<<3)>>2]|0;else b=0}else b=0;while(0);if((b|0)==(a|0)){o=c[79957]|0;Bg[c[o+196>>2]&255](o,a);l=p;return}else{_D(288345,o);l=p;return}}_D(307482,i);l=p;return}function rE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=a+320|0;g=c[e>>2]|0;h=b+68|0;i=c[h>>2]|0;b=c[g>>2]|0;if((c[79956]|0)!=(b|0)){c[g+268>>2]=0;if((YD(c[a+188>>2]|0,b)|0)>=0){c[79956]=c[g>>2];hE(a)|0;d=c[e>>2]|0;f=4}}else{d=g;f=4}if((f|0)==4?c[d+4>>2]|0:0){b=d+108|0;do{}while((fg[c[b>>2]&7]()|0)!=0)}if(!i)return;a=g+64|0;Bg[c[a>>2]&255](1,i);b=i+32|0;if(c[b>>2]|0)Bg[c[a>>2]&255](1,b);b=i+36|0;if(c[b>>2]|0)Bg[c[a>>2]&255](1,b);UM(c[i+16>>2]|0);UM(i);c[h>>2]=0;return}function sE(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;h=a+320|0;k=c[h>>2]|0;i=c[b+68>>2]|0;b=c[k>>2]|0;if((c[79956]|0)!=(b|0)){c[k+268>>2]=0;if((YD(c[a+188>>2]|0,b)|0)>=0){c[79956]=c[k>>2];hE(a)|0;f=c[h>>2]|0;j=4}}else{f=k;j=4}if((j|0)==4?c[f+4>>2]|0:0){b=f+108|0;do{}while((fg[c[b>>2]&7]()|0)!=0)}Bg[c[k+28>>2]&255](c[i+4>>2]|0,c[i>>2]|0);if(d|0)g[d>>2]=1.0;if(!e)return 0;g[e>>2]=1.0;return 0}function tE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=a+320|0;h=c[e>>2]|0;f=c[b+68>>2]|0;b=c[h>>2]|0;if((c[79956]|0)!=(b|0)){c[h+268>>2]=0;if((YD(c[a+188>>2]|0,b)|0)>=0){c[79956]=c[h>>2];hE(a)|0;d=c[e>>2]|0;g=4}}else{d=h;g=4}if((g|0)==4?c[d+4>>2]|0:0){b=d+108|0;do{}while((fg[c[b>>2]&7]()|0)!=0)}Bg[c[h+28>>2]&255](c[f+4>>2]|0,0);return 0}function uE(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,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=l;l=l+448|0;s=x+32|0;o=x+24|0;n=x+16|0;m=x+8|0;k=x;u=x+380|0;v=x+320|0;p=x+276|0;q=x+232|0;j=x+144|0;r=x+56|0;t=x+40|0;if(!h){c[k>>2]=288489;_D(309840,k);i=-1;l=x;return i|0}if(!i){c[m>>2]=288493;_D(309840,m);i=-1;l=x;return i|0}k=(d|0)==0|(d&-268435456|0)==268435456;if((d|0)!=(g|0)){if(k?((d>>>24&15)+-1|0)>>>0<3:0){_D(288531,o);i=-1;l=x;return i|0}if((vE(p,d)|0)<0){i=-1;l=x;return i|0}m=u+24|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+20>>2]=0;c[m+24>>2]=0;c[u>>2]=1;c[u+4>>2]=p;c[u+20>>2]=e;c[u+8>>2]=a;c[u+12>>2]=b;c[u+16>>2]=f;m=j;n=m+88|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));k=u+52|0;c[j+76>>2]=-1;c[k>>2]=j;c[u+56>>2]=1;if((g|0)==0|(g&-268435456|0)==268435456?((g>>>24&15)+-1|0)>>>0<3:0){_D(288531,s);i=-1;l=x;return i|0}if((vE(q,g)|0)<0){i=-1;l=x;return i|0}m=v+24|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+20>>2]=0;c[m+24>>2]=0;c[v>>2]=1;c[v+4>>2]=q;c[v+20>>2]=h;c[v+8>>2]=a;c[v+12>>2]=b;c[v+16>>2]=i;m=r;n=m+88|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));c[r+76>>2]=-1;c[v+52>>2]=r;c[v+56>>2]=1;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=a;c[t+12>>2]=b;do if((c[j>>2]|0)==(v|0)){i=c[q+4>>2]|0;if(i|0?(c[j+80>>2]|0)!=(c[i+8>>2]|0):0){w=35;break}i=c[p+4>>2]|0;if((i|0)!=0?(c[j+84>>2]|0)!=(c[i+8>>2]|0):0)w=35}else w=35;while(0);do if((w|0)==35)if((wE(u,v)|0)<0){i=-1;l=x;return i|0}else{j=c[k>>2]|0;break}while(0);i=jg[c[j+8>>2]&31](u,t,v,t)|0;l=x;return i|0}a:do if(k)j=d&255;else{b:do if((d|0)<844715353)if((d|0)<842094158)switch(d|0){case 825382478:{w=8;break b}default:break b}else switch(d|0){case 842094158:case 842094169:{w=8;break b}default:break b}else if((d|0)<1448433993)if((d|0)<1431918169)switch(d|0){case 844715353:{j=2;break a}default:break b}else switch(d|0){case 1431918169:{j=2;break a}default:break b}else if((d|0)<1498831189)switch(d|0){case 1448433993:{w=8;break b}default:break b}else switch(d|0){case 1498831189:{j=2;break a}default:break b}while(0);if((w|0)==8){j=1;break}_D(288503,n);i=-1;l=x;return i|0}while(0);o=O(j,a)|0;if(!b)j=e;else{n=O(f,b)|0;j=b;k=h;m=e;while(1){j=j+-1|0;CQ(k|0,m|0,o|0)|0;if(!j)break;else{k=k+i|0;m=m+f|0}}h=h+(O(i,b)|0)|0;j=e+n|0}if((d|0)<842094169){c:do if((d|0)<842094158){switch(d|0){case 825382478:break c;default:j=0}l=x;return j|0}else{switch(d|0){case 842094158:break c;default:j=0}l=x;return j|0}while(0);if((b+1|0)>>>0<3){i=0;l=x;return i|0}k=(b|0)/2|0;while(1){k=k+-1|0;CQ(h|0,j|0,o|0)|0;if(!k){j=0;break}else{h=h+i|0;j=j+f|0}}l=x;return j|0}else{d:do if((d|0)<1448433993){switch(d|0){case 842094169:break d;default:j=0}l=x;return j|0}else{switch(d|0){case 1448433993:break d;default:j=0}l=x;return j|0}while(0);o=(o|0)/2|0;n=(f|0)/2|0;m=(i|0)/2|0;if((b+1|0)>>>0<3){i=0;l=x;return i|0}k=h;h=j;j=((b|0)/2|0)<<1;while(1){j=j+-1|0;CQ(k|0,h|0,o|0)|0;if(!j){j=0;break}else{k=k+m|0;h=h+n|0}}l=x;return j|0}return 0}function vE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;e=m+16|0;f=m+12|0;i=m+8|0;j=m+4|0;k=m;if(!(jI(d,e,f,i,j,k)|0)){b=-1;l=m;return b|0}g=b+4|0;h=g+40|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));c[b>>2]=d;d=c[e>>2]|0;a[b+8>>0]=d;a[b+9>>0]=(d+7|0)/8|0;d=c[f>>2]|0;c[b+12>>2]=d;f=b+32|0;a[f>>0]=0;g=b+28|0;a[g>>0]=8;if(d|0){if(!(d&1)){e=0;do{e=e+1<<24>>24;d=d>>>1}while(!(d&1|0));a[f>>0]=e}if(d&1|0){e=8;do{e=e+-1<<24>>24;d=d>>>1}while((d&1|0)!=0);a[g>>0]=e}}d=c[i>>2]|0;c[b+16>>2]=d;f=b+33|0;a[f>>0]=0;g=b+29|0;a[g>>0]=8;if(d|0){if(!(d&1)){e=0;do{e=e+1<<24>>24;d=d>>>1}while(!(d&1|0));a[f>>0]=e}if(d&1|0){e=8;do{e=e+-1<<24>>24;d=d>>>1}while((d&1|0)!=0);a[g>>0]=e}}d=c[j>>2]|0;c[b+20>>2]=d;f=b+34|0;a[f>>0]=0;g=b+30|0;a[g>>0]=8;if(d|0){if(!(d&1)){e=0;do{e=e+1<<24>>24;d=d>>>1}while(!(d&1|0));a[f>>0]=e}if(d&1|0){e=8;do{e=e+-1<<24>>24;d=d>>>1}while((d&1|0)!=0);a[g>>0]=e}}d=c[k>>2]|0;c[b+24>>2]=d;f=b+35|0;a[f>>0]=0;g=b+31|0;a[g>>0]=8;if(d|0){if(!(d&1)){e=0;do{e=e+1<<24>>24;d=d>>>1}while(!(d&1|0));a[f>>0]=e}if(d&1|0){e=8;do{e=e+-1<<24>>24;d=d>>>1}while((d&1|0)!=0);a[g>>0]=e}}c[b+4>>2]=0;c[b+36>>2]=1;c[b+40>>2]=0;b=0;l=m;return b|0}function wE(e,f){e=e|0;f=f|0;var 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,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,P=0,Q=0;Q=l;l=l+1072|0;P=Q+16|0;L=Q+8|0;m=Q;M=Q+24|0;k=Q+40|0;J=e+52|0;G=c[J>>2]|0;if(c[e>>2]&2|0)xE(e,1);if(G|0){h=c[G>>2]|0;if(h|0?(F=h+56|0,N=c[F>>2]|0,c[F>>2]=N+-1,(N|0)<2):0)yE(h);c[G>>2]=0;c[G+84>>2]=0;c[G+80>>2]=0;N=G+64|0;UM(c[N>>2]|0);c[N>>2]=0}j=G+4|0;c[j>>2]=0;N=e+4|0;F=c[N>>2]|0;E=c[f+4>>2]|0;D=c[F>>2]|0;do if((D|0)==0|(D&-268435456|0)==268435456?((D>>>24&15)+-1|0)>>>0<3:0){D=c[E>>2]|0;if((D|0)==0|(D&-268435456|0)==268435456?((D>>>24&15)+-1|0)>>>0<3:0){D=zE(c[F+4>>2]|0,c[E+4>>2]|0,j)|0;c[G+64>>2]=D;if((D|0)==0&(c[j>>2]|0)==0){P=-1;l=Q;return P|0}if((a[F+8>>0]|0)==(a[E+8>>0]|0)){m=35;break}c[j>>2]=0;m=35;break}k=c[J>>2]|0;h=a[k+76>>0]|0;i=a[k+77>>0]|0;j=a[k+78>>0]|0;k=a[k+79>>0]|0;B=c[F+4>>2]|0;C=E+9|0;A=a[C>>0]|0;A=A<<24>>24==3?4:A&255;D=TM(O(A,c[B>>2]|0)|0)|0;if(!D){_D(294618,m);c[G+64>>2]=0;P=-1;l=Q;return P|0}if((c[B>>2]|0)<=0){c[G+64>>2]=D;m=35;break}z=B+4|0;y=h&255;x=i&255;w=j&255;j=k&255;k=E+28|0;m=E+32|0;n=E+29|0;o=E+33|0;p=E+30|0;q=E+34|0;r=E+31|0;s=E+35|0;h=0;do{i=c[z>>2]|0;t=((O(d[i+(h<<2)>>0]|0,y)|0)>>>0)/255|0;u=((O(d[i+(h<<2)+1>>0]|0,x)|0)>>>0)/255|0;v=((O(d[i+(h<<2)+2>>0]|0,w)|0)>>>0)/255|0;i=((O(d[i+(h<<2)+3>>0]|0,j)|0)>>>0)/255|0;switch(a[C>>0]|0){case 1:{a[D+(O(h,A)|0)>>0]=(u&255)>>>(d[n>>0]|0)<>0]|(t&255)>>>(d[k>>0]|0)<>0]|(v&255)>>>(d[p>>0]|0)<>0]|(i&255)>>>(d[r>>0]|0)<>0];break}case 2:{b[D+(O(h,A)|0)>>1]=(u&255)>>>(d[n>>0]|0)<>0]|(t&255)>>>(d[k>>0]|0)<>0]|(v&255)>>>(d[p>>0]|0)<>0]|(i&255)>>>(d[r>>0]|0)<>0];break}case 3:{i=D+(O(h,A)|0)|0;a[i+((d[m>>0]|0)>>>3&255)>>0]=t;a[i+((d[o>>0]|0)>>>3&255)>>0]=u;a[i+((d[q>>0]|0)>>>3&255)>>0]=v;break}case 4:{c[D+(O(h,A)|0)>>2]=(u&255)>>>(d[n>>0]|0)<>0]|(t&255)>>>(d[k>>0]|0)<>0]|(v&255)>>>(d[p>>0]|0)<>0]|(i&255)>>>(d[r>>0]|0)<>0];break}default:{}}h=h+1|0}while((h|0)<(c[B>>2]|0));c[G+64>>2]=D;m=36}else m=27;while(0);do if((m|0)==27){D=c[E>>2]|0;if((D|0)==0|(D&-268435456|0)==268435456?((D>>>24&15)+-1|0)>>>0<3:0){i=c[E+4>>2]|0;c[M>>2]=256;h=0;do{D=h&224;a[k+(h<<2)>>0]=D>>>6|D|D>>>3;D=h<<3&224;a[k+(h<<2)+1>>0]=D>>>6|D|D>>>3;D=h&3;D=D<<2|D;a[k+(h<<2)+2>>0]=D<<4|D;a[k+(h<<2)+3>>0]=-1;h=h+1|0}while((h|0)!=256);c[M+4>>2]=k;D=zE(M,i,j)|0;c[G+64>>2]=D;if((D|0)==0&(c[j>>2]|0)==0){P=-1;l=Q;return P|0}else{c[j>>2]=0;m=36;break}}if((F|0)==(E|0)){c[j>>2]=1;m=35}else m=35}while(0);if((m|0)==35){c[G>>2]=f;m=37}else if((m|0)==36?(c[G>>2]=f,f|0):0)m=37;if((m|0)==37){f=f+56|0;c[f>>2]=(c[f>>2]|0)+1}h=c[E+4>>2]|0;if(!h)h=0;else h=c[h+8>>2]|0;c[G+80>>2]=h;h=c[F+4>>2]|0;if(!h)h=0;else h=c[h+8>>2]|0;c[G+84>>2]=h;z=c[J>>2]|0;h=c[z>>2]|0;if(c[e>>2]&2|0)xE(e,1);c[z+8>>2]=10;c[z+56>>2]=c[N>>2];c[z+28>>2]=c[e+16>>2];y=h+4|0;c[z+60>>2]=c[y>>2];c[z+48>>2]=c[h+16>>2];x=z+68|0;if(c[x>>2]&4096|0?(BE(e)|0)==0:0){P=0;l=Q;return P|0}if((c[z+4>>2]|0)!=0?(c[x>>2]&-4097|0)==0:0)g=231;else m=48;a:do if((m|0)==48){w=c[N>>2]|0;h=a[w+8>>0]|0;b:do if(((h&255)<8?(H=c[w>>2]|0,(H|0)==0|(H&-268435456|0)==268435456):0)?((H>>>24&15)+-1|0)>>>0<3:0){if(h<<24>>24==1){i=c[J>>2]|0;h=c[(c[i>>2]|0)+4>>2]|0;if((d[h+8>>0]|0)<8)h=0;else h=d[h+9>>0]|0;switch(c[i+68>>2]&-28673|0){case 0:{g=26920+(h<<2)|0;m=142;break b}case 256:{g=26940+(h<<2)|0;m=142;break b}case 18:if(h>>>0>1){g=232;break a}else break b;case 274:if(h>>>0>1){g=233;break a}else break b;default:break b}}}else m=59;while(0);c:do if((m|0)==59){v=a[w+9>>0]|0;if((v<<24>>24==1?(I=c[w>>2]|0,(I|0)==0|(I&-268435456|0)==268435456):0)?((I>>>24&15)+-1|0)>>>0<3:0){i=c[J>>2]|0;h=c[(c[i>>2]|0)+4>>2]|0;if((d[h+8>>0]|0)<8)h=0;else h=d[h+9>>0]|0;switch(c[i+68>>2]&-28673|0){case 0:{g=26880+(h<<2)|0;m=142;break c}case 256:{g=26900+(h<<2)|0;m=142;break c}case 18:if(h>>>0>1){g=234;break a}else break c;case 274:if(h>>>0>1){g=235;break a}else break c;default:break c}}h=c[J>>2]|0;u=c[(c[h>>2]|0)+4>>2]|0;if(c[x>>2]&16|0)switch(c[h+68>>2]&-28673|0){case 16:switch(a[u+9>>0]|0){case 1:{g=236;break a}case 2:{if(v<<24>>24!=4){g=220;break a}if((c[w+24>>2]|0)!=-16777216){g=220;break a}if((c[w+16>>2]|0)!=65280){g=220;break a}if(!((c[w+12>>2]|0)==255?(c[u+12>>2]|0)==31:0)){if((c[w+20>>2]|0)!=255){g=220;break a}if((c[u+20>>2]|0)!=31){g=220;break a}}g=c[u+16>>2]|0;g=(g|0)==2016?222:(g|0)==992?221:220;break a}case 4:{if((((c[w+12>>2]|0)==(c[u+12>>2]|0)?(c[w+16>>2]|0)==(c[u+16>>2]|0):0)?(v<<24>>24==4?(c[w+20>>2]|0)==(c[u+20>>2]|0):0):0)?(c[w+24>>2]|0)==-16777216:0){g=237;break a}g=220;break a}default:{g=220;break a}}case 18:{if(c[w+24>>2]|0)break c;switch(a[u+9>>0]|0){case 1:{g=238;break a}case 2:{if(!(c[h+4>>2]|0)){g=223;break a}g=c[u+16>>2]|0;g=(g|0)==2016?225:(g|0)==992?224:223;break a}case 4:{h=c[w+12>>2]|0;do if((h|0)==(c[u+12>>2]|0)?(K=c[w+16>>2]|0,(K|0)==(c[u+16>>2]|0)):0){g=c[w+20>>2]|0;if(!(v<<24>>24==4?(g|0)==(c[u+20>>2]|0):0))break;if((K|h|g|0)==16777215){g=239;break a}}while(0);g=223;break a}default:{g=223;break a}}}case 274:{if(c[w+24>>2]|0)break c;g=(a[u+9>>0]|0)==1?227:226;break a}default:break c}i=a[u+8>>0]|0;if((i&255)>=8){switch(c[h+68>>2]&-28673|0){case 0:break;case 256:{if(v<<24>>24==2?c[h+4>>2]|0:0){g=246;break a}if((a[u+9>>0]|0)==1){g=247;break a}if(c[w+24>>2]|0?c[u+24>>2]|0:0){g=248;break a}g=249;break a}default:break c}g=v&255;if(i<<24>>24==8){d:do if(v<<24>>24==4){g=c[w+12>>2]|0;if((g|0)<1072693248){switch(g|0){case 16711680:break;default:break d}if((c[w+16>>2]|0)!=65280)break;if((c[w+20>>2]|0)==255){g=240;break a}else break}else{switch(g|0){case 1072693248:break;default:break d}if((c[w+16>>2]|0)!=1047552)break;if((c[w+20>>2]|0)==1023){g=241;break a}else break}}while(0);g=242;break a}t=c[u+24>>2]|0;if(!t)s=1;else s=c[w+24>>2]|0?4:2;r=c[18272+(g+-1<<2)>>2]|0;h=c[r+12>>2]|0;e:do if(!h)g=0;else{j=w+16|0;k=w+20|0;m=u+12|0;n=u+16|0;o=u+20|0;p=u+9|0;q=c[w+12>>2]|0;g=0;do{K=c[r+(g*40|0)>>2]|0;do if((q|0)==(K|0)|(K|0)==0){K=c[r+(g*40|0)+4>>2]|0;if(!((K|0)==0?1:(c[j>>2]|0)==(K|0)))break;K=c[r+(g*40|0)+8>>2]|0;if(!((K|0)==0?1:(c[k>>2]|0)==(K|0)))break;K=c[r+(g*40|0)+16>>2]|0;if(!((K|0)==0?1:(c[m>>2]|0)==(K|0)))break;K=c[r+(g*40|0)+20>>2]|0;if(!((K|0)==0?1:(c[n>>2]|0)==(K|0)))break;K=c[r+(g*40|0)+24>>2]|0;if(!((K|0)==0?1:(c[o>>2]|0)==(K|0)))break;if((d[p>>0]|0)!=(h|0))break;if((c[r+(g*40|0)+36>>2]&s|0)!=(s|0))break;i=c[r+(g*40|0)+28>>2]|0;h=c[4567]|0;do if((h|0)==-1){c[4567]=0;c[M>>2]=0;if(!(c[M>>2]|0)){h=0;break}c[4567]=2;h=2}while(0);if((h>>>2&1&i|0)==(i|0))break e}while(0);g=g+1|0;h=c[r+(g*40|0)+12>>2]|0}while((h|0)!=0)}while(0);g=c[r+(g*40|0)+32>>2]|0;if((g|0)==157){if((c[w>>2]|0)==372711428){g=243;break a}if((c[u>>2]|0)==372711428){g=244;break a}do if(v<<24>>24==4){if((a[u+9>>0]|0)!=4)break;if((c[w+12>>2]|0)!=(c[u+12>>2]|0))break;if((c[w+16>>2]|0)!=(c[u+16>>2]|0))break;if((c[w+20>>2]|0)!=(c[u+20>>2]|0))break;if((s|0)!=4){g=245;break a}g=(c[w+24>>2]|0)==(t|0)?229:228;break a}while(0);g=(s|0)==4?228:157;break a}else m=143}}while(0);if((m|0)==142){g=c[g>>2]|0;m=143}if((m|0)==143?g|0:0)break;k=c[w>>2]|0;m=c[c[y>>2]>>2]|0;i=c[x>>2]|0;g=c[3922]|0;do if((g|0)==-1){g=Df(288567)|0;c[3922]=0;if(g|0){c[L>>2]=15688;CE(g,0,L);j=c[3922]|0;break}h=c[4567]|0;if((h|0)!=-1){J=(h&4|0)==0;g=J?0:1;K=(h&8|0)==0;g=K?g:g|2;L=(h&16|0)==0;g=L?g:g|4;M=(h&32|0)==0;g=M?g:g|8;if(((J^1|K^1)^1^1|L^1)^1^1|M^1)c[3922]=g;if(!(h&2)){j=g;break}}else{c[4567]=0;c[M>>2]=0;if(!(c[M>>2]|0)){j=0;break}c[4567]=2;g=0}j=g|16;c[3922]=j}else j=g;while(0);i=i&883;h=0;g=31;while(1){if((((c[15692+(h*20|0)>>2]|0)==(k|0)?(c[15692+(h*20|0)+4>>2]|0)==(m|0):0)?(c[15692+(h*20|0)+8>>2]&i|0)==(i|0):0)?(M=c[15692+(h*20|0)+12>>2]|0,(M&j|0)==(M|0)):0)break a;g=h+1|0;if((g|0)==126)break;else{h=g;g=c[15692+(g*20|0)+16>>2]|0}}M=c[c[N>>2]>>2]|0;N=c[c[y>>2]>>2]|0;if((((M|0)==0|(M&-268435456|0)==268435456?((M>>>24&15)+-1|0)>>>0>=3:0)?(N|0)==0|(N&-268435456|0)==268435456:0)?((N>>>24&15)+-1|0)>>>0>=3:0){c[z+12>>2]=230;P=0;l=Q;return P|0}c[z+12>>2]=0;if(z|0){g=c[z>>2]|0;if(g|0?(M=g+56|0,N=c[M>>2]|0,c[M>>2]=N+-1,(N|0)<2):0)yE(g);c[z>>2]=0;c[z+84>>2]=0;c[z+80>>2]=0;N=z+64|0;UM(c[N>>2]|0);c[N>>2]=0}_D(288592,P);P=-1;l=Q;return P|0}while(0);c[z+12>>2]=g;P=0;l=Q;return P|0}function xE(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=l;l=l+16|0;i=s;h=c[f>>2]|0;if(!(h&2)){l=s;return}c[f>>2]=h&-3;r=f+52|0;a:do if((g|0)!=0&(h&1|0)==0){g=c[r>>2]|0;if(c[g+68>>2]&8192|0){g=f+12|0;q=TM(O(c[f+16>>2]|0,c[g>>2]|0)|0)|0;c[f+20>>2]=q;if(q|0){fI(f,0,c[(c[r>>2]|0)+72>>2]|0)|0;c[i+4>>2]=0;c[i>>2]=0;c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[g>>2];$H(f,i,f,i)|0;break}c[f>>2]=c[f>>2]|2;l=s;return}q=c[f+4>>2]|0;k=c[g+12>>2]|0;m=c[f+8>>2]|0;j=(a[k>>0]|0)==2;o=j?12:11;p=j?13:11;g=f+12|0;n=f+16|0;h=TM(O(c[n>>2]|0,c[g>>2]|0)|0)|0;i=f+20|0;c[i>>2]=h;if(!h){c[f>>2]=c[f>>2]|2;l=s;return}EQ(h|0,0,O(c[n>>2]|0,c[g>>2]|0)|0)|0;h=c[i>>2]|0;g=k+28|0;if(j)f=h;else{f=h;while(1){h=0;while(1){t=b[g+2>>1]|0;i=t&65535;j=g+4|0;g=(e[g>>1]|0)+h|0;if(!(t<<16>>16))if(!g)break a;else{h=g;g=j}else{h=g+i|0;g=j+(lg[o&31](f+(g<<2)|0,j,i,k,q)|0)|0}if((h|0)>=(m|0)){h=0;break}}do{i=(e[g>>1]|0)+h|0;t=b[g+2>>1]|0;j=t&65535;g=g+4|0;if(!(t<<16>>16))h=i;else{h=i+j|0;g=g+(lg[p&31](f+(i<<2)|0,g,j,k,q)|0)|0}}while((h|0)<(m|0));f=f+(c[n>>2]>>2<<2)|0}}while(1){h=0;do{t=a[g+1>>0]|0;i=t&255;j=g+2|0;g=(d[g>>0]|0)+h|0;if(!(t<<24>>24))if(!g)break a;else{h=g;g=j}else{h=g+i|0;g=j+(lg[o&31](f+(g<<2)|0,j,i,k,q)|0)|0}}while((h|0)<(m|0));h=0;g=g+(g&2)|0;do{i=(e[g>>1]|0)+h|0;t=b[g+2>>1]|0;j=t&65535;g=g+4|0;if(!(t<<16>>16))h=i;else{h=i+j|0;g=g+(lg[p&31](f+(i<<2)|0,g,j,k,q)|0)|0}}while((h|0)<(m|0));f=f+(c[n>>2]>>2<<2)|0}}while(0);t=c[r>>2]|0;q=t+68|0;c[q>>2]=c[q>>2]&-24577;UM(c[t+12>>2]|0);c[(c[r>>2]|0)+12>>2]=0;l=s;return}function yE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if(!a)return;b=c[a>>2]|0;if(b&4|0)return;d=a+56|0;f=c[d>>2]|0;c[d>>2]=f+-1;if((f|0)>1)return;f=a+28|0;d=c[f>>2]|0;if((d|0)>0){while(1){b=d+-1|0;c[f>>2]=b;if((d|0)==1?(e=c[a>>2]|0,(e&2|0)!=0):0){c[a>>2]=e&-3;BE(a)|0;b=c[f>>2]|0}if((b|0)>0)d=b;else break}b=c[a>>2]|0}if(b&2|0){c[a>>2]=b&-3;f=a+52|0;e=c[f>>2]|0;d=e+68|0;c[d>>2]=c[d>>2]&-24577;UM(c[e+12>>2]|0);c[(c[f>>2]|0)+12>>2]=0}f=a+4|0;b=c[f>>2]|0;if(!b)b=a+52|0;else{b=b+4|0;d=c[b>>2]|0;if(d|0){g=d+12|0;e=c[g>>2]|0;c[g>>2]=e+-1;if((e|0)<=1){UM(c[d+4>>2]|0);UM(d)}c[b>>2]=0}b=a+52|0;d=c[b>>2]|0;if(d|0){e=c[d>>2]|0;if(e|0?(h=e+56|0,g=c[h>>2]|0,c[h>>2]=g+-1,(g|0)<2):0)yE(e);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;h=d+64|0;UM(c[h>>2]|0);c[h>>2]=0}eI(c[f>>2]|0);c[f>>2]=0}d=c[b>>2]|0;if(d|0){e=c[d>>2]|0;if(e|0?(g=e+56|0,h=c[g>>2]|0,c[g>>2]=h+-1,(h|0)<2):0)yE(e);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;UM(c[d+64>>2]|0);UM(d);c[b>>2]=0}if(!(c[a>>2]&1))UM(c[a+20>>2]|0);UM(a);return}function zE(b,e,f){b=b|0;e=e|0;f=f|0;var 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;u=l;l=l+16|0;h=u;if(f|0){g=c[b>>2]|0;do if((g|0)<=(c[e>>2]|0)){if((b|0)!=(e|0)?xN(c[b+4>>2]|0,c[e+4>>2]|0,g<<2)|0:0)break;c[f>>2]=1;e=0;l=u;return e|0}while(0);c[f>>2]=0}f=TM(c[b>>2]|0)|0;if(!f){_D(294618,h);e=0;l=u;return e|0}if((c[b>>2]|0)<=0){e=f;l=u;return e|0}s=b+4|0;t=e+4|0;r=0;do{g=c[s>>2]|0;m=c[e>>2]|0;a:do if((m|0)>0){n=c[t>>2]|0;o=d[g+(r<<2)>>0]|0;p=d[g+(r<<2)+1>>0]|0;q=d[g+(r<<2)+2>>0]|0;k=d[g+(r<<2)+3>>0]|0;j=0;h=-1;g=0;do{w=(d[n+(j<<2)>>0]|0)-o|0;x=(d[n+(j<<2)+1>>0]|0)-p|0;v=(d[n+(j<<2)+2>>0]|0)-q|0;i=(d[n+(j<<2)+3>>0]|0)-k|0;i=(O(x,x)|0)+(O(w,w)|0)+(O(v,v)|0)+(O(i,i)|0)|0;if(i>>>0>>0){g=j&255;if(!i)break a;else h=i}j=j+1|0}while((j|0)<(m|0))}else g=0;while(0);a[f+r>>0]=g;r=r+1|0}while((r|0)<(c[b>>2]|0));l=u;return f|0}function AE(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,o=0,p=0,q=0,r=0;if(!(c[e>>2]&2))i=0;else{h=e+28|0;g=c[h>>2]|0;if(!g){xE(e,1);c[e>>2]=c[e>>2]|2;g=c[h>>2]|0}c[h>>2]=g+1;i=1}if(!(c[a>>2]&2))g=0;else{h=a+28|0;g=c[h>>2]|0;if(!g){xE(a,1);c[a>>2]=c[a>>2]|2;g=c[h>>2]|0}c[h>>2]=g+1;g=1}if((b|0?(j=c[b+8>>2]|0,(j|0)>=1):0)?(k=c[b+12>>2]|0,(k|0)>=1):0){o=c[a+52>>2]|0;h=o+16|0;q=c[a+16>>2]|0;r=(c[a+20>>2]|0)+(O(c[b+4>>2]&65535,q)|0)|0;p=d[(c[o+56>>2]|0)+9>>0]|0;c[h>>2]=r+(O(p,c[b>>2]&65535)|0);c[o+20>>2]=j;c[o+24>>2]=k;c[o+28>>2]=q;c[o+32>>2]=q-(O(j,p)|0);b=c[e+16>>2]|0;j=(c[e+20>>2]|0)+(O(c[f+4>>2]&65535,b)|0)|0;k=d[(c[o+60>>2]|0)+9>>0]|0;c[o+36>>2]=j+(O(k,c[f>>2]&65535)|0);j=c[f+8>>2]|0;c[o+40>>2]=j;c[o+44>>2]=c[f+12>>2];c[o+48>>2]=b;c[o+52>>2]=b-(O(j,k)|0);vg[c[o+12>>2]&511](h)}if(((i|0?(l=e+28|0,m=c[l>>2]|0,m|0):0)?(c[l>>2]=m+-1,(m|0)<=1):0)?(n=c[e>>2]|0,n&2|0):0){c[e>>2]=n&-3;BE(e)|0}if(!g)return 0;g=a+28|0;h=c[g>>2]|0;if(!h)return 0;c[g>>2]=h+-1;if((h|0)>1)return 0;g=c[a>>2]|0;if(!(g&2))return 0;c[a>>2]=g&-3;BE(a)|0;return 0}function BE(e){e=e|0;var 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,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+16|0;n=F+8|0;k=F;if(c[e>>2]&2|0)xE(e,1);o=e+4|0;i=c[o>>2]|0;j=a[i+8>>0]|0;if((j&255)<8){E=-1;l=F;return E|0}D=e+20|0;if(!(c[D>>2]|0)){E=-1;l=F;return E|0}E=e+52|0;g=c[E>>2]|0;h=c[g+68>>2]|0;if(!((h&272|0)!=0&(h&1|0)==0)){E=-1;l=F;return E|0}do if(!(h&2))if(!(h&608)){f=c[i+24>>2]|0;break}else{E=-1;l=F;return E|0}else{f=c[i+24>>2]|0;if(h&608|f){E=-1;l=F;return E|0}}while(0);if((h&16|0)==0|(f|0)==0){if(!(c[g+4>>2]|0)){E=-1;l=F;return E|0}g=a[i+9>>0]|0;A=g&255;switch(g<<24>>24){case 1:{f=(O((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=(O((O(f,A)|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=(O((((f|0)/65535|0)+f<<2)+4|0,c[e+12>>2]|0)|0)+4|0;break}default:f=0}B=TM(f)|0;if(!B){_D(294618,k);E=-1;l=F;return E|0}z=g<<24>>24==4;y=z?65535:255;r=~c[(c[o>>2]|0)+24>>2];s=c[(c[E>>2]|0)+72>>2]&r;t=c[26960+(A+-1<<2)>>2]|0;u=c[e+8>>2]|0;v=c[e+12>>2]|0;if((v|0)>0){w=y&65535;x=e+16|0;f=B;p=0;q=c[D>>2]|0;g=B;while(1){o=0;j=0;while(1){a:do if((j|0)<(u|0)){h=j;do{C=q+(O(h,A)|0)|0;if(((gg[t&511](C)|0)&r|0)!=(s|0))break a;h=h+1|0}while((h|0)<(u|0))}else h=j;while(0);b:do if((h|0)<(u|0)){i=h;while(1){C=q+(O(i,A)|0)|0;if(((gg[t&511](C)|0)&r|0)==(s|0)){n=1;break b}i=i+1|0;if((i|0)>=(u|0)){n=0;break}}}else{i=h;n=0}while(0);j=h-j|0;o=(j|0)==(u|0)?1:o;k=i-h|0;if((j|0)>(y|0))if(z)do{b[f>>1]=w;b[f+2>>1]=0;f=f+4|0;j=j-y|0}while((j|0)>(y|0));else do{a[f>>0]=-1;a[f+1>>0]=0;f=f+2|0;j=j-y|0}while((j|0)>(y|0));m=(k|0)<(y|0)?k:y;if(z){b[f>>1]=j;b[f+2>>1]=m;j=4}else{a[f>>0]=j;a[f+1>>0]=m;j=2}C=f+j|0;f=O(m,A)|0;CQ(C|0,q+(O(h,A)|0)|0,f|0)|0;f=C+f|0;k=k-m|0;h=m+h|0;if(k)if(z)while(1){j=(k|0)<(y|0)?k:y;b[f>>1]=0;b[f+2>>1]=j;C=f+4|0;f=O(j,A)|0;CQ(C|0,q+(O(h,A)|0)|0,f|0)|0;f=C+f|0;k=k-j|0;if(!k)break;else h=j+h|0}else while(1){j=(k|0)<(y|0)?k:y;a[f>>0]=0;a[f+1>>0]=j;C=f+2|0;f=O(j,A)|0;CQ(C|0,q+(O(h,A)|0)|0,f|0)|0;f=C+f|0;k=k-j|0;if(!k)break;else h=j+h|0}g=(o|0)==0?f:g;if(!n)break;else j=i}p=p+1|0;if((p|0)==(v|0))break;else q=q+(c[x>>2]|0)|0}}else g=B;if(z){b[g>>1]=0;b[g+2>>1]=0;f=4}else{a[g>>0]=0;a[g+1>>0]=0;f=2}if(!(c[e>>2]&1)){UM(c[D>>2]|0);c[D>>2]=0}f=VM(B,g+f-B|0)|0;f=(f|0)==0?B:f;g=8192;h=11}else{f=c[g>>2]|0;if(!f){E=-1;l=F;return E|0}B=c[f+4>>2]|0;if(j<<24>>24!=32){E=-1;l=F;return E|0}j=B+12|0;f=c[j>>2]|0;k=B+16|0;g=c[k>>2]|0;m=B+20|0;h=c[m>>2]|0;i=g|f|h;C=B+9|0;c:do switch(a[C>>0]|0){case 2:{if((i|0)<65535){switch(i|0){case 32767:break;default:{E=-1;l=F;return E|0}}if((f|0)==992|(g|0)==992|(h|0)==992)f=15;else{E=-1;l=F;return E|0}}else{switch(i|0){case 65535:break;default:{E=-1;l=F;return E|0}}if((f|0)==2016|(g|0)==2016|(h|0)==2016)f=14;else{E=-1;l=F;return E|0}}g=(O(((c[e+8>>2]|0)*6|0)+8|0,c[e+12>>2]|0)|0)+2|0;y=f;z=16;break}case 4:if((i|0)==16777215){g=O(c[e+12>>2]<<3,(c[e+8>>2]|0)+1|0)|0|4;y=17;z=17;break c}else{E=-1;l=F;return E|0}default:{E=-1;l=F;return E|0}}while(0);A=TM(g+28|0)|0;if(!A){_D(294618,n);E=-1;l=F;return E|0}f=a[C>>0]|0;a[A>>0]=f;c[A+4>>2]=c[j>>2];c[A+8>>2]=c[k>>2];c[A+12>>2]=c[m>>2];c[A+16>>2]=c[B+24>>2];a[A+20>>0]=a[B+28>>0]|0;a[A+21>>0]=a[B+29>>0]|0;a[A+22>>0]=a[B+30>>0]|0;a[A+23>>0]=a[B+31>>0]|0;a[A+24>>0]=a[B+32>>0]|0;a[A+25>>0]=a[B+33>>0]|0;a[A+26>>0]=a[B+34>>0]|0;a[A+27>>0]=a[B+35>>0]|0;h=A+28|0;w=c[e+12>>2]|0;x=c[e+8>>2]|0;v=c[o>>2]|0;if((w|0)>0){s=v+24|0;t=v+35|0;u=e+16|0;g=h;q=c[D>>2]|0;r=0;f=h;while(1){o=0;m=0;while(1){d:do if((m|0)<(x|0)){i=c[s>>2]|0;j=d[t>>0]|0;h=m;do{if(((c[q+(h<<2)>>2]&i)>>>j|0)==255)break d;h=h+1|0}while((h|0)<(x|0))}else h=m;while(0);e:do if((h|0)<(x|0)){j=c[s>>2]|0;k=d[t>>0]|0;i=h;while(1){if(((c[q+(i<<2)>>2]&j)>>>k|0)!=255){p=1;break e}i=i+1|0;if((i|0)>=(x|0)){p=0;break}}}else{i=h;p=0}while(0);k=h-m|0;o=(k|0)==(x|0)?1:o;n=i-h|0;m=a[C>>0]|0;j=m<<24>>24==4;if((k|0)>255)do{if(j){b[f>>1]=255;b[f+2>>1]=0;j=4}else{a[f>>0]=-1;a[f+1>>0]=0;j=2;m=a[C>>0]|0}f=f+j|0;k=k+-255|0;j=m<<24>>24==4}while((k|0)>255);m=(n|0)<255?n:255;if(j){b[f>>1]=k;b[f+2>>1]=m;j=4}else{a[f>>0]=k;a[f+1>>0]=m;j=2}f=f+j|0;f=f+(lg[z&31](f,q+(h<<2)|0,m,v,B)|0)|0;j=n-m|0;if(j){m=m+h|0;while(1){k=(j|0)<255?j:255;if((a[C>>0]|0)==4){b[f>>1]=0;b[f+2>>1]=k;h=4}else{a[f>>0]=0;a[f+1>>0]=k;h=2}f=f+h|0;f=f+(lg[z&31](f,q+(m<<2)|0,k,v,B)|0)|0;j=j-k|0;if(!j)break;else m=k+m|0}}if(!p)break;else m=i}m=0;f=f+(f&2)|0;while(1){f:do if((m|0)<(x|0)){i=c[s>>2]|0;j=d[t>>0]|0;h=m;do{if((((c[q+(h<<2)>>2]&i)>>>j)+-1|0)>>>0<=253)break f;h=h+1|0}while((h|0)<(x|0))}else h=m;while(0);g:do if((h|0)<(x|0)){j=c[s>>2]|0;k=d[t>>0]|0;i=h;while(1){if((((c[q+(i<<2)>>2]&j)>>>k)+-1|0)>>>0>=254){n=1;break g}i=i+1|0;if((i|0)>=(x|0)){n=0;break}}}else{i=h;n=0}while(0);j=h-m|0;o=(j|0)==(x|0)&o;m=i-h|0;if((j|0)>65535)do{b[f>>1]=-1;b[f+2>>1]=0;f=f+4|0;j=j+-65535|0}while((j|0)>65535);k=(m|0)<65535?m:65535;b[f>>1]=j;b[f+2>>1]=k;f=f+4|0;f=f+(lg[y&31](f,q+(h<<2)|0,k,v,B)|0)|0;j=m-k|0;if(j){k=k+h|0;while(1){h=(j|0)<65535?j:65535;b[f>>1]=0;b[f+2>>1]=h;f=f+4|0;f=f+(lg[y&31](f,q+(k<<2)|0,h,v,B)|0)|0;j=j-h|0;if(!j)break;else k=h+k|0}}g=(o|0)==0?f:g;if(!n)break;else m=i}r=r+1|0;if((r|0)==(w|0))break;else q=q+(c[u>>2]>>2<<2)|0}f=a[C>>0]|0}else g=h;if(f<<24>>24==4){b[g>>1]=0;b[g+2>>1]=0;f=4}else{a[g>>0]=0;a[g+1>>0]=0;f=2}if(!(c[e>>2]&1)){UM(c[D>>2]|0);c[D>>2]=0}f=VM(A,g+f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=h+31|0;z=h+35|0;A=G<<24>>24==3;B=i+31|0;x=i+35|0;y=f+12|0;h=0;i=0;g=c[S>>2]|0;while(1){if((i|0)>65535){w=i+-65536|0;i=w>>>16;h=h+1+i|0;i=w-(i<<16)|0}if(j|0){k=0;l=-1;m=65536;while(1){j=j+-1|0;if((m|0)>65535){v=m+-65536|0;m=v>>>16;l=l+1+m|0;w=(c[f>>2]|0)+(O(c[y>>2]|0,h)|0)+(O(l,H)|0)|0;m=v-(m<<16)|0}else w=k;k=c[K>>2]|0;a:do if(!k)switch(G<<24>>24){case 1:{o=d[w>>0]|0;p=-1;q=o;k=a[(c[18232+((d[U>>0]|0)<<2)>>2]|0)+((c[V>>2]&o)>>>(d[W>>0]|0))>>0]|0;n=a[(c[18232+((d[X>>0]|0)<<2)>>2]|0)+((c[Z>>2]&o)>>>(d[_>>0]|0))>>0]|0;o=a[(c[18232+((d[$>>0]|0)<<2)>>2]|0)+((c[aa>>2]&o)>>>(d[ba>>0]|0))>>0]|0;break a}case 2:{o=e[w>>1]|0;p=-1;q=o;k=a[(c[18232+((d[U>>0]|0)<<2)>>2]|0)+((c[V>>2]&o)>>>(d[W>>0]|0))>>0]|0;n=a[(c[18232+((d[X>>0]|0)<<2)>>2]|0)+((c[Z>>2]&o)>>>(d[_>>0]|0))>>0]|0;o=a[(c[18232+((d[$>>0]|0)<<2)>>2]|0)+((c[aa>>2]&o)>>>(d[ba>>0]|0))>>0]|0;break a}case 3:{p=-1;q=0;k=a[w+((d[W>>0]|0)>>>3&255)>>0]|0;n=a[w+((d[_>>0]|0)>>>3&255)>>0]|0;o=a[w+((d[ba>>0]|0)>>>3&255)>>0]|0;break a}case 4:{o=c[w>>2]|0;p=-1;q=o;k=a[(c[18232+((d[U>>0]|0)<<2)>>2]|0)+((c[V>>2]&o)>>>(d[W>>0]|0))>>0]|0;n=a[(c[18232+((d[X>>0]|0)<<2)>>2]|0)+((c[Z>>2]&o)>>>(d[_>>0]|0))>>0]|0;o=a[(c[18232+((d[$>>0]|0)<<2)>>2]|0)+((c[aa>>2]&o)>>>(d[ba>>0]|0))>>0]|0;break a}default:{p=-1;q=0;k=0;n=0;o=0;break a}}else switch(G<<24>>24){case 1:{o=d[w>>0]|0;p=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((o&k)>>>(d[x>>0]|0))>>0]|0;q=o;k=a[(c[18232+((d[U>>0]|0)<<2)>>2]|0)+((c[V>>2]&o)>>>(d[W>>0]|0))>>0]|0;n=a[(c[18232+((d[X>>0]|0)<<2)>>2]|0)+((c[Z>>2]&o)>>>(d[_>>0]|0))>>0]|0;o=a[(c[18232+((d[$>>0]|0)<<2)>>2]|0)+((c[aa>>2]&o)>>>(d[ba>>0]|0))>>0]|0;break a}case 2:{o=e[w>>1]|0;p=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((o&k)>>>(d[x>>0]|0))>>0]|0;q=o;k=a[(c[18232+((d[U>>0]|0)<<2)>>2]|0)+((c[V>>2]&o)>>>(d[W>>0]|0))>>0]|0;n=a[(c[18232+((d[X>>0]|0)<<2)>>2]|0)+((c[Z>>2]&o)>>>(d[_>>0]|0))>>0]|0;o=a[(c[18232+((d[$>>0]|0)<<2)>>2]|0)+((c[aa>>2]&o)>>>(d[ba>>0]|0))>>0]|0;break a}case 3:{p=-1;q=0;k=a[w+((d[W>>0]|0)>>>3&255)>>0]|0;n=a[w+((d[_>>0]|0)>>>3&255)>>0]|0;o=a[w+((d[ba>>0]|0)>>>3&255)>>0]|0;break a}case 4:{o=c[w>>2]|0;p=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((o&k)>>>(d[x>>0]|0))>>0]|0;q=o;k=a[(c[18232+((d[U>>0]|0)<<2)>>2]|0)+((c[V>>2]&o)>>>(d[W>>0]|0))>>0]|0;n=a[(c[18232+((d[X>>0]|0)<<2)>>2]|0)+((c[Z>>2]&o)>>>(d[_>>0]|0))>>0]|0;o=a[(c[18232+((d[$>>0]|0)<<2)>>2]|0)+((c[aa>>2]&o)>>>(d[ba>>0]|0))>>0]|0;break a}default:{p=0;q=0;k=0;n=0;o=0;break a}}while(0);r=k&255;s=n&255;t=o&255;u=p&255;if(!ca){if(A)k=s<<(d[_>>0]|0)|r<<(d[W>>0]|0)|t<<(d[ba>>0]|0);else k=q;if((k^M)&L|0)ra=24}else ra=24;b:do if((ra|0)==24){ra=0;k=c[da>>2]|0;v=(k|0)==0;c:do if(v)switch(I<<24>>24){case 1:{p=d[g>>0]|0;q=-1;k=a[(c[18232+((d[ea>>0]|0)<<2)>>2]|0)+((c[fa>>2]&p)>>>(d[ga>>0]|0))>>0]|0;n=a[(c[18232+((d[ha>>0]|0)<<2)>>2]|0)+((c[ia>>2]&p)>>>(d[ja>>0]|0))>>0]|0;p=a[(c[18232+((d[ka>>0]|0)<<2)>>2]|0)+((c[la>>2]&p)>>>(d[ma>>0]|0))>>0]|0;break c}case 2:{p=e[g>>1]|0;q=-1;k=a[(c[18232+((d[ea>>0]|0)<<2)>>2]|0)+((c[fa>>2]&p)>>>(d[ga>>0]|0))>>0]|0;n=a[(c[18232+((d[ha>>0]|0)<<2)>>2]|0)+((c[ia>>2]&p)>>>(d[ja>>0]|0))>>0]|0;p=a[(c[18232+((d[ka>>0]|0)<<2)>>2]|0)+((c[la>>2]&p)>>>(d[ma>>0]|0))>>0]|0;break c}case 3:{q=-1;k=a[g+((d[ga>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[ja>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[ma>>0]|0)>>>3&255)>>0]|0;break c}case 4:{p=c[g>>2]|0;q=-1;k=a[(c[18232+((d[ea>>0]|0)<<2)>>2]|0)+((c[fa>>2]&p)>>>(d[ga>>0]|0))>>0]|0;n=a[(c[18232+((d[ha>>0]|0)<<2)>>2]|0)+((c[ia>>2]&p)>>>(d[ja>>0]|0))>>0]|0;p=a[(c[18232+((d[ka>>0]|0)<<2)>>2]|0)+((c[la>>2]&p)>>>(d[ma>>0]|0))>>0]|0;break c}default:{q=-1;k=0;n=0;p=0;break c}}else switch(I<<24>>24){case 1:{p=d[g>>0]|0;q=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((p&k)>>>(d[z>>0]|0))>>0]|0;k=a[(c[18232+((d[ea>>0]|0)<<2)>>2]|0)+((c[fa>>2]&p)>>>(d[ga>>0]|0))>>0]|0;n=a[(c[18232+((d[ha>>0]|0)<<2)>>2]|0)+((c[ia>>2]&p)>>>(d[ja>>0]|0))>>0]|0;p=a[(c[18232+((d[ka>>0]|0)<<2)>>2]|0)+((c[la>>2]&p)>>>(d[ma>>0]|0))>>0]|0;break c}case 2:{p=e[g>>1]|0;q=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((p&k)>>>(d[z>>0]|0))>>0]|0;k=a[(c[18232+((d[ea>>0]|0)<<2)>>2]|0)+((c[fa>>2]&p)>>>(d[ga>>0]|0))>>0]|0;n=a[(c[18232+((d[ha>>0]|0)<<2)>>2]|0)+((c[ia>>2]&p)>>>(d[ja>>0]|0))>>0]|0;p=a[(c[18232+((d[ka>>0]|0)<<2)>>2]|0)+((c[la>>2]&p)>>>(d[ma>>0]|0))>>0]|0;break c}case 3:{q=-1;k=a[g+((d[ga>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[ja>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[ma>>0]|0)>>>3&255)>>0]|0;break c}case 4:{p=c[g>>2]|0;q=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((p&k)>>>(d[z>>0]|0))>>0]|0;k=a[(c[18232+((d[ea>>0]|0)<<2)>>2]|0)+((c[fa>>2]&p)>>>(d[ga>>0]|0))>>0]|0;n=a[(c[18232+((d[ha>>0]|0)<<2)>>2]|0)+((c[ia>>2]&p)>>>(d[ja>>0]|0))>>0]|0;p=a[(c[18232+((d[ka>>0]|0)<<2)>>2]|0)+((c[la>>2]&p)>>>(d[ma>>0]|0))>>0]|0;break c}default:{q=0;k=0;n=0;p=0;break c}}while(0);o=k&255;n=n&255;k=p&255;p=q&255;if(!na){r=((O(r,Y)|0)>>>0)/255|0;s=((O(s,qa)|0)>>>0)/255|0;t=((O(t,E)|0)>>>0)/255|0}q=((O(u,F)|0)>>>0)/255|0;q=oa?u:q;if(pa&q>>>0<255){r=((O(r,q)|0)>>>0)/255|0;s=((O(s,q)|0)>>>0)/255|0;t=((O(t,q)|0)>>>0)/255|0}switch(D&7){case 0:{p=q;o=r;n=s;k=t;break}case 1:{u=255-q|0;p=(((O(p,u)|0)>>>0)/255|0)+q|0;o=r+(((O(o,u)|0)>>>0)/255|0)|0;n=s+(((O(n,u)|0)>>>0)/255|0)|0;k=t+(((O(k,u)|0)>>>0)/255|0)|0;break}case 2:{o=r+o|0;n=s+n|0;k=t+k|0;o=o>>>0<255?o:255;n=n>>>0<255?n:255;k=k>>>0<255?k:255;break}case 4:{o=((O(r,o)|0)>>>0)/255|0;n=((O(s,n)|0)>>>0)/255|0;k=((O(t,k)|0)>>>0)/255|0;break}default:{}}if(v)switch(I<<24>>24){case 1:{a[g>>0]=o>>>(d[ea>>0]|0)<<(d[ga>>0]|0)|n>>>(d[ha>>0]|0)<<(d[ja>>0]|0)|k>>>(d[ka>>0]|0)<<(d[ma>>0]|0);break b}case 2:{b[g>>1]=o>>>(d[ea>>0]|0)<<(d[ga>>0]|0)|n>>>(d[ha>>0]|0)<<(d[ja>>0]|0)|k>>>(d[ka>>0]|0)<<(d[ma>>0]|0);break b}case 3:{a[g+((d[ga>>0]|0)>>>3&255)>>0]=o;a[g+((d[ja>>0]|0)>>>3&255)>>0]=n;a[g+((d[ma>>0]|0)>>>3&255)>>0]=k;break b}case 4:{c[g>>2]=o>>>(d[ea>>0]|0)<<(d[ga>>0]|0)|n>>>(d[ha>>0]|0)<<(d[ja>>0]|0)|k>>>(d[ka>>0]|0)<<(d[ma>>0]|0);break b}default:break b}else switch(I<<24>>24){case 1:{a[g>>0]=n>>>(d[ha>>0]|0)<<(d[ja>>0]|0)|o>>>(d[ea>>0]|0)<<(d[ga>>0]|0)|k>>>(d[ka>>0]|0)<<(d[ma>>0]|0)|p>>>(d[C>>0]|0)<<(d[z>>0]|0);break b}case 2:{b[g>>1]=n>>>(d[ha>>0]|0)<<(d[ja>>0]|0)|o>>>(d[ea>>0]|0)<<(d[ga>>0]|0)|k>>>(d[ka>>0]|0)<<(d[ma>>0]|0)|p>>>(d[C>>0]|0)<<(d[z>>0]|0);break b}case 3:{a[g+((d[ga>>0]|0)>>>3&255)>>0]=o;a[g+((d[ja>>0]|0)>>>3&255)>>0]=n;a[g+((d[ma>>0]|0)>>>3&255)>>0]=k;break b}case 4:{c[g>>2]=n>>>(d[ha>>0]|0)<<(d[ja>>0]|0)|o>>>(d[ea>>0]|0)<<(d[ga>>0]|0)|k>>>(d[ka>>0]|0)<<(d[ma>>0]|0)|p>>>(d[C>>0]|0)<<(d[z>>0]|0);break b}default:break b}}while(0);if(!j)break;else{g=g+J|0;k=w;m=m+R|0}}}g=(c[S>>2]|0)+(c[T>>2]|0)|0;c[S>>2]=g;w=c[N>>2]|0;c[N>>2]=w+-1;if(!w)break;i=i+P|0;j=c[Q>>2]|0}return}function EE(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=O(d[(c[a+44>>2]|0)+9>>0]|0,c[a+24>>2]|0)|0;f=c[a+28>>2]|0;e=c[a>>2]|0;b=c[a+20>>2]|0;k=c[a+12>>2]|0;j=c[a+32>>2]|0;i=e>>>0>>0;if((i?b:e)>>>0>=((i?e:b)+(O(i?k:j,f)|0)|0)>>>0){if(!f)return;else a=f;while(1){a=a+-1|0;CQ(b|0,e|0,l|0)|0;if(!a)break;else{b=b+j|0;e=e+k|0}}return}if(b>>>0>>0){if(!f)return;else a=f;while(1){a=a+-1|0;DQ(b|0,e|0,l|0)|0;if(!a)break;else{e=e+k|0;b=b+j|0}}return}g=f+-1|0;if(!f)return;h=0-k|0;i=0-j|0;a=b+(O(j,g)|0)|0;b=e+(O(k,g)|0)|0;while(1){f=f+-1|0;DQ(a|0,b|0,l|0)|0;if(!f)break;else{a=a+i|0;b=b+h|0}}return}function FE(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}c[e>>2]=c[d>>2];if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function GE(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;b=c[a+52>>2]|0;o=a+28|0;r=c[o>>2]|0;c[o>>2]=r+-1;if(!r)return;p=a+20|0;q=a+24|0;r=a+12|0;n=a+32|0;m=b&112;d=c[a>>2]|0;e=c[p>>2]|0;l=(m&127)==64;j=d;k=e;while(1){i=c[q>>2]|0;b=i+-1|0;if(i|0)switch(m&127){case 16:{while(1){c[e>>2]=c[d>>2]&16777215;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}break}case 32:{while(1){i=c[d>>2]|0;f=c[e>>2]|0;h=(f>>>16&255)+(i>>>16&255)|0;g=(f>>>8&255)+(i>>>8&255)|0;i=(f&255)+(i&255)|0;c[e>>2]=(g>>>0<255?g:255)<<8|(h>>>0<255?h:255)<<16|(i>>>0<255?i:255);if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}break}default:while(1){i=c[d>>2]|0;g=c[e>>2]|0;f=g>>>16&255;h=g>>>8&255;g=g&255;if(l){g=((O(g,i&255)|0)>>>0)/255|0;h=((O(h,i>>>8&255)|0)>>>0)/255|0;f=((O(f,i>>>16&255)|0)>>>0)/255|0}c[e>>2]=h<<8|f<<16|g;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}}d=j+(c[r>>2]|0)|0;b=k+(c[n>>2]|0)|0;k=c[o>>2]|0;c[o>>2]=k+-1;if(!k)break;else{j=d;k=b;e=b}}c[a>>2]=d;c[p>>2]=b;return}function HE(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;b=c[a+52>>2]|0;x=a+28|0;w=c[x>>2]|0;y=(c[a+8>>2]<<16|0)/(w|0)|0;t=a+24|0;d=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(d|0)|0;c[x>>2]=w+-1;if(!w)return;v=a+20|0;w=a+32|0;s=b&112;q=a+12|0;r=(s&127)==16;b=c[v>>2]|0;e=0;f=0;p=b;while(1){if((e|0)>65535){e=e+-65536|0;o=e>>>16;e=e-(o<<16)|0;f=f+1+o|0}i=d+-1|0;a:do if(d|0){if(r){d=0;g=65536;h=-1;while(1){if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[q>>2]|0,f)|0)+(h<<2)|0;g=o-(g<<16)|0}c[b>>2]=c[d>>2]&16777215;if(!i)break a;else{b=b+4|0;g=g+u|0;i=i+-1|0}}}else{d=0;g=65536;h=-1;o=i}while(1){if((g|0)>65535){n=g+-65536|0;g=n>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[q>>2]|0,f)|0)+(h<<2)|0;g=n-(g<<16)|0}k=c[d>>2]|0;n=k>>>16&255;m=k>>>8&255;k=k&255;l=c[b>>2]|0;i=l>>>16&255;j=l>>>8&255;l=l&255;switch(s&127){case 64:{l=((O(l,k)|0)>>>0)/255|0;j=((O(j,m)|0)>>>0)/255|0;i=((O(i,n)|0)>>>0)/255|0;break}case 32:{i=i+n|0;j=j+m|0;l=l+k|0;l=l>>>0<255?l:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}default:{}}c[b>>2]=j<<8|i<<16|l;if(!o)break a;else{b=b+4|0;g=g+u|0;o=o+-1|0}}}while(0);b=p+(c[w>>2]|0)|0;p=c[x>>2]|0;c[x>>2]=p+-1;if(!p)break;e=e+y|0;p=b;d=c[t>>2]|0}c[v>>2]=b;return}function IE(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;c[b>>2]=c[e>>2]&16777215;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>8&255,l)|0)>>>0)/255|0)<<8|(((O(g>>>16&255,k)|0)>>>0)/255|0)<<16|(((O(g&255,j)|0)>>>0)/255|0);if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function JE(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;k=c[s>>2]|0;f=0;g=0;h=k;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}i=e+-1|0;if(e|0)if(l){j=h;b=0;e=65536;h=-1;while(1){if((e|0)>65535){w=e+-65536|0;e=w>>>16;h=h+1+e|0;b=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(h<<2)|0;e=w-(e<<16)|0}c[j>>2]=c[b>>2]&16777215;if(!i)break;else{j=j+4|0;e=e+r|0;i=i+-1|0}}}else{j=h;b=0;e=65536;h=-1;while(1){if((e|0)>65535){w=e+-65536|0;e=w>>>16;h=h+1+e|0;b=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(h<<2)|0;e=w-(e<<16)|0}w=c[b>>2]|0;c[j>>2]=((O(w&255,n)|0)>>>0)/255|0|(((O(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((O(w>>>16&255,u)|0)>>>0)/255|0)<<16;if(!i)break;else{j=j+4|0;e=e+r|0;i=i+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;h=b;e=c[q>>2]|0;k=b}c[s>>2]=b;return}function KE(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;f=c[b+52>>2]|0;A=d[b+60>>0]|0;B=d[b+61>>0]|0;t=d[b+62>>0]|0;e=a[b+63>>0]|0;u=b+28|0;z=c[u>>2]|0;c[u>>2]=z+-1;if(!z)return;v=b+20|0;w=b+24|0;x=b+12|0;y=b+32|0;z=(f&1|0)==0;r=(f&2|0)==0?255:e&255;s=(f&48|0)!=0&(r|0)!=255;q=f&112;p=r^255;f=c[b>>2]|0;e=c[v>>2]|0;n=f;o=e;while(1){m=c[w>>2]|0;g=m+-1|0;a:do if(m|0)if(z){m=g;while(1){i=c[f>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;l=c[e>>2]|0;g=l>>>16&255;h=l>>>8&255;l=l&255;if(s){i=((O(i,r)|0)>>>0)/255|0;j=((O(j,r)|0)>>>0)/255|0;k=((O(k,r)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((O(l,p)|0)>>>0)/255|0)|0;h=j+(((O(h,p)|0)>>>0)/255|0)|0;g=k+(((O(g,p)|0)>>>0)/255|0)|0;break}case 32:{g=k+g|0;h=j+h|0;i=i+l|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{i=((O(i,l)|0)>>>0)/255|0;h=((O(j,h)|0)>>>0)/255|0;g=((O(k,g)|0)>>>0)/255|0;break}default:i=l}c[e>>2]=h<<8|g<<16|i;if(!m)break a;else{e=e+4|0;f=f+4|0;m=m+-1|0}}}else{m=g;while(1){i=c[f>>2]|0;l=c[e>>2]|0;g=l>>>16&255;h=l>>>8&255;l=l&255;k=((O(i>>>16&255,A)|0)>>>0)/255|0;j=((O(i>>>8&255,B)|0)>>>0)/255|0;i=((O(i&255,t)|0)>>>0)/255|0;if(s){i=((O(i,r)|0)>>>0)/255|0;j=((O(j,r)|0)>>>0)/255|0;k=((O(k,r)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((O(l,p)|0)>>>0)/255|0)|0;h=j+(((O(h,p)|0)>>>0)/255|0)|0;g=k+(((O(g,p)|0)>>>0)/255|0)|0;break}case 32:{g=k+g|0;h=j+h|0;i=i+l|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{i=((O(i,l)|0)>>>0)/255|0;h=((O(j,h)|0)>>>0)/255|0;g=((O(k,g)|0)>>>0)/255|0;break}default:i=l}c[e>>2]=h<<8|g<<16|i;if(!m)break a;else{e=e+4|0;f=f+4|0;m=m+-1|0}}}while(0);f=n+(c[x>>2]|0)|0;e=o+(c[y>>2]|0)|0;o=c[u>>2]|0;c[u>>2]=o+-1;if(!o)break;else{n=f;o=e}}c[b>>2]=f;c[v>>2]=e;return}function LE(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;f=c[b+52>>2]|0;F=d[b+60>>0]|0;G=d[b+61>>0]|0;x=d[b+62>>0]|0;e=a[b+63>>0]|0;y=b+28|0;E=c[y>>2]|0;z=(c[b+8>>2]<<16|0)/(E|0)|0;A=b+24|0;h=c[A>>2]|0;B=(c[b+4>>2]<<16|0)/(h|0)|0;g=E+-1|0;c[y>>2]=g;if(!E)return;C=b+20|0;D=b+32|0;E=(f&1|0)==0;v=(f&2|0)==0?255:e&255;w=(f&48|0)!=0&(v|0)!=255;u=f&112;s=v^255;t=b+12|0;f=c[C>>2]|0;i=0;j=0;r=f;e=g;while(1){if((i|0)>65535){i=i+-65536|0;q=i>>>16;i=i-(q<<16)|0;q=j+1+q|0}else q=j;if(h){e=0;g=65536;j=-1;while(1){h=h+-1|0;if((g|0)>65535){p=g+-65536|0;g=p>>>16;j=j+1+g|0;e=(c[b>>2]|0)+(O(c[t>>2]|0,q)|0)+(j<<2)|0;g=p-(g<<16)|0}m=c[e>>2]|0;n=m>>>16&255;o=m>>>8&255;m=m&255;p=c[f>>2]|0;k=p>>>16&255;l=p>>>8&255;p=p&255;if(!E){n=((O(n,F)|0)>>>0)/255|0;o=((O(o,G)|0)>>>0)/255|0;m=((O(m,x)|0)>>>0)/255|0}if(w){n=((O(n,v)|0)>>>0)/255|0;o=((O(o,v)|0)>>>0)/255|0;m=((O(m,v)|0)>>>0)/255|0}switch(u&127){case 16:{m=m+(((O(p,s)|0)>>>0)/255|0)|0;l=o+(((O(l,s)|0)>>>0)/255|0)|0;k=n+(((O(k,s)|0)>>>0)/255|0)|0;break}case 32:{k=n+k|0;l=o+l|0;m=m+p|0;m=m>>>0<255?m:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{m=((O(m,p)|0)>>>0)/255|0;l=((O(o,l)|0)>>>0)/255|0;k=((O(n,k)|0)>>>0)/255|0;break}default:m=p}c[f>>2]=l<<8|k<<16|m;if(!h)break;else{f=f+4|0;g=g+B|0}}e=c[y>>2]|0}g=r+(c[D>>2]|0)|0;f=e+-1|0;c[y>>2]=f;if(!e)break;i=i+z|0;j=q;r=g;e=f;f=g;h=c[A>>2]|0}c[C>>2]=g;return}function ME(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}r=c[d>>2]|0;c[e>>2]=r<<16&16711680|r&65280|r>>>16&255;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function NE(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;b=c[a+52>>2]|0;o=a+28|0;r=c[o>>2]|0;c[o>>2]=r+-1;if(!r)return;p=a+20|0;q=a+24|0;r=a+12|0;n=a+32|0;m=b&112;d=c[a>>2]|0;e=c[p>>2]|0;l=(m&127)==64;j=d;k=e;while(1){i=c[q>>2]|0;b=i+-1|0;if(i|0)switch(m&127){case 16:{while(1){i=c[d>>2]|0;c[e>>2]=i&65280|i>>>16&255|i<<16&16711680;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}break}case 32:{while(1){i=c[d>>2]|0;f=c[e>>2]|0;h=(i>>>16&255)+(f&255)|0;g=(f>>>8&255)+(i>>>8&255)|0;i=(f>>>16&255)+(i&255)|0;c[e>>2]=(g>>>0<255?g:255)<<8|(h>>>0<255?h:255)|(i>>>0<255?i:255)<<16;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}break}default:while(1){i=c[d>>2]|0;f=c[e>>2]|0;g=f>>>16&255;h=f>>>8&255;f=f&255;if(l){g=((O(g,i&255)|0)>>>0)/255|0;h=((O(h,i>>>8&255)|0)>>>0)/255|0;f=((O(i>>>16&255,f)|0)>>>0)/255|0}c[e>>2]=h<<8|f|g<<16;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}}d=j+(c[r>>2]|0)|0;b=k+(c[n>>2]|0)|0;k=c[o>>2]|0;c[o>>2]=k+-1;if(!k)break;else{j=d;k=b;e=b}}c[a>>2]=d;c[p>>2]=b;return}function OE(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;b=c[a+52>>2]|0;x=a+28|0;w=c[x>>2]|0;y=(c[a+8>>2]<<16|0)/(w|0)|0;t=a+24|0;d=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(d|0)|0;c[x>>2]=w+-1;if(!w)return;v=a+20|0;w=a+32|0;s=b&112;q=a+12|0;r=(s&127)==16;b=c[v>>2]|0;e=0;f=0;p=b;while(1){if((e|0)>65535){e=e+-65536|0;o=e>>>16;e=e-(o<<16)|0;f=f+1+o|0}i=d+-1|0;a:do if(d|0){if(r){d=0;g=65536;h=-1;while(1){if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[q>>2]|0,f)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[d>>2]|0;c[b>>2]=o&65280|o>>>16&255|o<<16&16711680;if(!i)break a;else{b=b+4|0;g=g+u|0;i=i+-1|0}}}else{d=0;g=65536;h=-1;o=i}while(1){if((g|0)>65535){n=g+-65536|0;g=n>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[q>>2]|0,f)|0)+(h<<2)|0;g=n-(g<<16)|0}k=c[d>>2]|0;n=k>>>16&255;m=k>>>8&255;k=k&255;i=c[b>>2]|0;l=i>>>16&255;j=i>>>8&255;i=i&255;switch(s&127){case 64:{l=((O(l,k)|0)>>>0)/255|0;j=((O(j,m)|0)>>>0)/255|0;i=((O(n,i)|0)>>>0)/255|0;break}case 32:{i=n+i|0;j=j+m|0;l=l+k|0;l=l>>>0<255?l:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}default:{}}c[b>>2]=j<<8|i|l<<16;if(!o)break a;else{b=b+4|0;g=g+u|0;o=o+-1|0}}}while(0);b=p+(c[w>>2]|0)|0;p=c[x>>2]|0;c[x>>2]=p+-1;if(!p)break;e=e+y|0;p=b;d=c[t>>2]|0}c[v>>2]=b;return}function PE(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;l=c[e>>2]|0;c[b>>2]=l&65280|l>>>16&255|l<<16&16711680;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>8&255,l)|0)>>>0)/255|0)<<8|(((O(g>>>16&255,k)|0)>>>0)/255|0)|(((O(g&255,j)|0)>>>0)/255|0)<<16;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function QE(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=c[s>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(l){e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=w<<16&16711680|w&65280|w>>>16&255;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=(((O(w&255,n)|0)>>>0)/255|0)<<16|(((O(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((O(w>>>16&255,u)|0)>>>0)/255|0);if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;k=b;e=c[q>>2]|0}c[s>>2]=b;return}function RE(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;f=c[b+52>>2]|0;A=d[b+60>>0]|0;B=d[b+61>>0]|0;t=d[b+62>>0]|0;e=a[b+63>>0]|0;u=b+28|0;z=c[u>>2]|0;c[u>>2]=z+-1;if(!z)return;v=b+20|0;w=b+24|0;x=b+12|0;y=b+32|0;z=(f&1|0)==0;r=(f&2|0)==0?255:e&255;s=(f&48|0)!=0&(r|0)!=255;q=f&112;p=r^255;f=c[b>>2]|0;e=c[v>>2]|0;n=f;o=e;while(1){m=c[w>>2]|0;g=m+-1|0;a:do if(m|0)if(z){m=g;while(1){i=c[f>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;g=c[e>>2]|0;l=g>>>16&255;h=g>>>8&255;g=g&255;if(s){i=((O(i,r)|0)>>>0)/255|0;j=((O(j,r)|0)>>>0)/255|0;k=((O(k,r)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((O(l,p)|0)>>>0)/255|0)|0;h=j+(((O(h,p)|0)>>>0)/255|0)|0;g=k+(((O(g,p)|0)>>>0)/255|0)|0;break}case 32:{g=k+g|0;h=j+h|0;i=i+l|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{i=((O(i,l)|0)>>>0)/255|0;h=((O(j,h)|0)>>>0)/255|0;g=((O(k,g)|0)>>>0)/255|0;break}default:i=l}c[e>>2]=h<<8|g|i<<16;if(!m)break a;else{e=e+4|0;f=f+4|0;m=m+-1|0}}}else{m=g;while(1){i=c[f>>2]|0;g=c[e>>2]|0;l=g>>>16&255;h=g>>>8&255;g=g&255;k=((O(i>>>16&255,A)|0)>>>0)/255|0;j=((O(i>>>8&255,B)|0)>>>0)/255|0;i=((O(i&255,t)|0)>>>0)/255|0;if(s){i=((O(i,r)|0)>>>0)/255|0;j=((O(j,r)|0)>>>0)/255|0;k=((O(k,r)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((O(l,p)|0)>>>0)/255|0)|0;h=j+(((O(h,p)|0)>>>0)/255|0)|0;g=k+(((O(g,p)|0)>>>0)/255|0)|0;break}case 32:{g=k+g|0;h=j+h|0;i=i+l|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{i=((O(i,l)|0)>>>0)/255|0;h=((O(j,h)|0)>>>0)/255|0;g=((O(k,g)|0)>>>0)/255|0;break}default:i=l}c[e>>2]=h<<8|g|i<<16;if(!m)break a;else{e=e+4|0;f=f+4|0;m=m+-1|0}}}while(0);f=n+(c[x>>2]|0)|0;e=o+(c[y>>2]|0)|0;o=c[u>>2]|0;c[u>>2]=o+-1;if(!o)break;else{n=f;o=e}}c[b>>2]=f;c[v>>2]=e;return}function SE(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;f=c[b+52>>2]|0;F=d[b+60>>0]|0;G=d[b+61>>0]|0;x=d[b+62>>0]|0;e=a[b+63>>0]|0;y=b+28|0;E=c[y>>2]|0;z=(c[b+8>>2]<<16|0)/(E|0)|0;A=b+24|0;h=c[A>>2]|0;B=(c[b+4>>2]<<16|0)/(h|0)|0;g=E+-1|0;c[y>>2]=g;if(!E)return;C=b+20|0;D=b+32|0;E=(f&1|0)==0;v=(f&2|0)==0?255:e&255;w=(f&48|0)!=0&(v|0)!=255;u=f&112;s=v^255;t=b+12|0;f=c[C>>2]|0;i=0;j=0;r=f;e=g;while(1){if((i|0)>65535){i=i+-65536|0;q=i>>>16;i=i-(q<<16)|0;q=j+1+q|0}else q=j;if(h){e=0;g=65536;j=-1;while(1){h=h+-1|0;if((g|0)>65535){p=g+-65536|0;g=p>>>16;j=j+1+g|0;e=(c[b>>2]|0)+(O(c[t>>2]|0,q)|0)+(j<<2)|0;g=p-(g<<16)|0}m=c[e>>2]|0;n=m>>>16&255;o=m>>>8&255;m=m&255;k=c[f>>2]|0;p=k>>>16&255;l=k>>>8&255;k=k&255;if(!E){n=((O(n,F)|0)>>>0)/255|0;o=((O(o,G)|0)>>>0)/255|0;m=((O(m,x)|0)>>>0)/255|0}if(w){n=((O(n,v)|0)>>>0)/255|0;o=((O(o,v)|0)>>>0)/255|0;m=((O(m,v)|0)>>>0)/255|0}switch(u&127){case 16:{m=m+(((O(p,s)|0)>>>0)/255|0)|0;l=o+(((O(l,s)|0)>>>0)/255|0)|0;k=n+(((O(k,s)|0)>>>0)/255|0)|0;break}case 32:{k=n+k|0;l=o+l|0;m=m+p|0;m=m>>>0<255?m:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{m=((O(m,p)|0)>>>0)/255|0;l=((O(o,l)|0)>>>0)/255|0;k=((O(n,k)|0)>>>0)/255|0;break}default:m=p}c[f>>2]=l<<8|k|m<<16;if(!h)break;else{f=f+4|0;g=g+B|0}}e=c[y>>2]|0}g=r+(c[D>>2]|0)|0;f=e+-1|0;c[y>>2]=f;if(!e)break;i=i+z|0;j=q;r=g;e=f;f=g;h=c[A>>2]|0}c[C>>2]=g;return}function TE(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}c[e>>2]=c[d>>2]|-16777216;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function UE(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;q=a+32|0;p=b&112;m=(p&127)==16;d=c[a>>2]|0;e=c[s>>2]|0;n=d;o=e;while(1){l=c[t>>2]|0;b=l+-1|0;a:do if(l|0){if(m)while(1){c[e>>2]=c[d>>2]|-16777216;if(!b)break a;else{e=e+4|0;d=d+4|0;b=b+-1|0}}while(1){h=c[d>>2]|0;k=h>>>16&255;j=h>>>8&255;h=h&255;l=c[e>>2]|0;f=l>>>16&255;g=l>>>8&255;i=l&255;l=l&-16777216;switch(p&127){case 64:{i=((O(i,h)|0)>>>0)/255|0;g=((O(g,j)|0)>>>0)/255|0;f=((O(f,k)|0)>>>0)/255|0;break}case 32:{f=f+k|0;g=g+j|0;i=i+h|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;f=f>>>0<255?f:255;break}default:{}}c[e>>2]=g<<8|f<<16|i|l;if(!b)break a;else{e=e+4|0;d=d+4|0;b=b+-1|0}}}while(0);d=n+(c[u>>2]|0)|0;b=o+(c[q>>2]|0)|0;o=c[r>>2]|0;c[r>>2]=o+-1;if(!o)break;else{n=d;o=b;e=b}}c[a>>2]=d;c[s>>2]=b;return}function VE(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;u=a+24|0;d=c[u>>2]|0;v=(c[a+4>>2]<<16|0)/(d|0)|0;c[y>>2]=x+-1;if(!x)return;w=a+20|0;x=a+32|0;t=b&112;r=a+12|0;s=(t&127)==16;b=c[w>>2]|0;e=0;f=0;q=b;while(1){if((e|0)>65535){e=e+-65536|0;p=e>>>16;e=e-(p<<16)|0;f=f+1+p|0}i=d+-1|0;a:do if(d|0){if(s){d=0;g=65536;h=-1;while(1){if((g|0)>65535){p=g+-65536|0;g=p>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,f)|0)+(h<<2)|0;g=p-(g<<16)|0}c[b>>2]=c[d>>2]|-16777216;if(!i)break a;else{b=b+4|0;g=g+v|0;i=i+-1|0}}}else{d=0;g=65536;h=-1}while(1){if((g|0)>65535){p=g+-65536|0;g=p>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,f)|0)+(h<<2)|0;g=p-(g<<16)|0}l=c[d>>2]|0;o=l>>>16&255;n=l>>>8&255;l=l&255;p=c[b>>2]|0;j=p>>>16&255;k=p>>>8&255;m=p&255;p=p&-16777216;switch(t&127){case 64:{m=((O(m,l)|0)>>>0)/255|0;k=((O(k,n)|0)>>>0)/255|0;j=((O(j,o)|0)>>>0)/255|0;break}case 32:{j=j+o|0;k=k+n|0;m=m+l|0;m=m>>>0<255?m:255;k=k>>>0<255?k:255;j=j>>>0<255?j:255;break}default:{}}c[b>>2]=k<<8|j<<16|m|p;if(!i)break a;else{b=b+4|0;g=g+v|0;i=i+-1|0}}}while(0);b=q+(c[x>>2]|0)|0;q=c[y>>2]|0;c[y>>2]=q+-1;if(!q)break;e=e+z|0;q=b;d=c[u>>2]|0}c[w>>2]=b;return}function WE(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;f=c[b+52>>2]|0;l=d[b+60>>0]|0;m=d[b+61>>0]|0;k=d[b+62>>0]|0;e=a[b+63>>0]|0;o=b+28|0;s=c[o>>2]|0;h=s+-1|0;c[o>>2]=h;if(!s)return;s=b+20|0;p=b+24|0;q=b+12|0;r=b+32|0;n=(f&2|0)==0?-16777216:(e&255)<<24;g=c[b>>2]|0;e=c[s>>2]|0;if(!(f&1)){i=g;j=e;f=g;while(1){g=c[p>>2]|0;if(!g)g=h;else{while(1){g=g+-1|0;m=c[f>>2]|0;c[e>>2]=m&16711680|n|m&65280|m&255;if(!g)break;else{e=e+4|0;f=f+4|0}}g=c[o>>2]|0}f=i+(c[q>>2]|0)|0;e=j+(c[r>>2]|0)|0;h=g+-1|0;c[o>>2]=h;if(!g)break;else{i=f;j=e}}}else{i=g;j=e;f=g;while(1){g=c[p>>2]|0;if(!g)g=h;else{while(1){g=g+-1|0;h=c[f>>2]|0;c[e>>2]=(((O(h>>>16&255,l)|0)>>>0)/255|0)<<16|n|(((O(h>>>8&255,m)|0)>>>0)/255|0)<<8|(((O(h&255,k)|0)>>>0)/255|0);if(!g)break;else{e=e+4|0;f=f+4|0}}g=c[o>>2]|0}f=i+(c[q>>2]|0)|0;e=j+(c[r>>2]|0)|0;h=g+-1|0;c[o>>2]=h;if(!g)break;else{i=f;j=e}}}c[b>>2]=f;c[s>>2]=e;return}function XE(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;f=c[b+52>>2]|0;w=d[b+60>>0]|0;x=d[b+61>>0]|0;o=d[b+62>>0]|0;e=a[b+63>>0]|0;p=b+28|0;v=c[p>>2]|0;q=(c[b+8>>2]<<16|0)/(v|0)|0;r=b+24|0;g=c[r>>2]|0;s=(c[b+4>>2]<<16|0)/(g|0)|0;c[p>>2]=v+-1;if(!v)return;t=b+20|0;u=b+32|0;v=(f&1|0)==0;m=(f&2|0)==0?-16777216:(e&255)<<24;n=b+12|0;e=c[t>>2]|0;f=0;h=0;l=e;while(1){if((f|0)>65535){f=f+-65536|0;k=f>>>16;f=f-(k<<16)|0;h=h+1+k|0}k=g+-1|0;if(g|0)if(v){g=0;i=65536;j=-1;while(1){if((i|0)>65535){y=i+-65536|0;i=y>>>16;j=j+1+i|0;g=(c[b>>2]|0)+(O(c[n>>2]|0,h)|0)+(j<<2)|0;i=y-(i<<16)|0}y=c[g>>2]|0;c[e>>2]=y&65280|m|y&255|y&16711680;if(!k)break;else{e=e+4|0;i=i+s|0;k=k+-1|0}}}else{g=0;i=65536;j=-1;while(1){if((i|0)>65535){y=i+-65536|0;i=y>>>16;j=j+1+i|0;g=(c[b>>2]|0)+(O(c[n>>2]|0,h)|0)+(j<<2)|0;i=y-(i<<16)|0}y=c[g>>2]|0;c[e>>2]=(((O(y>>>8&255,x)|0)>>>0)/255|0)<<8|m|(((O(y&255,o)|0)>>>0)/255|0)|(((O(y>>>16&255,w)|0)>>>0)/255|0)<<16;if(!k)break;else{e=e+4|0;i=i+s|0;k=k+-1|0}}}e=l+(c[u>>2]|0)|0;y=c[p>>2]|0;c[p>>2]=y+-1;if(!y)break;f=f+q|0;l=e;g=c[r>>2]|0}c[t>>2]=e;return}function YE(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;f=c[b+52>>2]|0;B=d[b+60>>0]|0;C=d[b+61>>0]|0;u=d[b+62>>0]|0;e=a[b+63>>0]|0;v=b+28|0;A=c[v>>2]|0;g=A+-1|0;c[v>>2]=g;if(!A)return;w=b+20|0;x=b+24|0;y=b+12|0;z=b+32|0;A=(f&1|0)==0;s=(f&2|0)==0?255:e&255;t=(f&48|0)!=0&(s|0)!=255;r=f&112;q=s^255;o=c[b>>2]|0;p=c[w>>2]|0;e=p;i=o;while(1){f=c[x>>2]|0;if(f){while(1){f=f+-1|0;j=c[i>>2]|0;l=j>>>16&255;k=j>>>8&255;j=j&255;m=c[e>>2]|0;g=m>>>16&255;h=m>>>8&255;n=m&255;m=m>>>24;if(!A){j=((O(j,u)|0)>>>0)/255|0;k=((O(k,C)|0)>>>0)/255|0;l=((O(l,B)|0)>>>0)/255|0}if(t){j=((O(j,s)|0)>>>0)/255|0;k=((O(k,s)|0)>>>0)/255|0;l=((O(l,s)|0)>>>0)/255|0}switch(r&127){case 16:{m=(((O(m,q)|0)>>>0)/255|0)+s|0;j=j+(((O(n,q)|0)>>>0)/255|0)|0;h=k+(((O(h,q)|0)>>>0)/255|0)|0;g=l+(((O(g,q)|0)>>>0)/255|0)|0;break}case 32:{g=l+g|0;h=k+h|0;j=j+n|0;j=j>>>0<255?j:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{j=((O(j,n)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;g=((O(l,g)|0)>>>0)/255|0;break}default:j=n}c[e>>2]=h<<8|g<<16|j|m<<24;if(!f)break;else{e=e+4|0;i=i+4|0}}g=c[v>>2]|0}f=o+(c[y>>2]|0)|0;h=p+(c[z>>2]|0)|0;e=g+-1|0;c[v>>2]=e;if(!g)break;else{g=e;e=h;i=f;o=f;p=h}}c[b>>2]=f;c[w>>2]=h;return}function ZE(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;f=c[b+52>>2]|0;G=d[b+60>>0]|0;H=d[b+61>>0]|0;y=d[b+62>>0]|0;e=a[b+63>>0]|0;z=b+28|0;F=c[z>>2]|0;A=(c[b+8>>2]<<16|0)/(F|0)|0;B=b+24|0;h=c[B>>2]|0;C=(c[b+4>>2]<<16|0)/(h|0)|0;g=F+-1|0;c[z>>2]=g;if(!F)return;D=b+20|0;E=b+32|0;F=(f&1|0)==0;w=(f&2|0)==0?255:e&255;x=(f&48|0)!=0&(w|0)!=255;v=f&112;t=w^255;u=b+12|0;f=c[D>>2]|0;i=0;j=0;s=f;e=g;while(1){if((i|0)>65535){i=i+-65536|0;r=i>>>16;i=i-(r<<16)|0;r=j+1+r|0}else r=j;if(h){e=0;g=65536;j=-1;while(1){h=h+-1|0;if((g|0)>65535){q=g+-65536|0;g=q>>>16;j=j+1+g|0;e=(c[b>>2]|0)+(O(c[u>>2]|0,r)|0)+(j<<2)|0;g=q-(g<<16)|0}o=c[e>>2]|0;m=o>>>16&255;p=o>>>8&255;o=o&255;q=c[f>>2]|0;k=q>>>16&255;l=q>>>8&255;n=q&255;q=q>>>24;if(!F){m=((O(m,G)|0)>>>0)/255|0;p=((O(p,H)|0)>>>0)/255|0;o=((O(o,y)|0)>>>0)/255|0}if(x){m=((O(m,w)|0)>>>0)/255|0;p=((O(p,w)|0)>>>0)/255|0;o=((O(o,w)|0)>>>0)/255|0}switch(v&127){case 16:{q=(((O(q,t)|0)>>>0)/255|0)+w|0;n=o+(((O(n,t)|0)>>>0)/255|0)|0;l=p+(((O(l,t)|0)>>>0)/255|0)|0;k=m+(((O(k,t)|0)>>>0)/255|0)|0;break}case 32:{k=m+k|0;l=p+l|0;n=o+n|0;n=n>>>0<255?n:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{n=((O(o,n)|0)>>>0)/255|0;l=((O(p,l)|0)>>>0)/255|0;k=((O(m,k)|0)>>>0)/255|0;break}default:{}}c[f>>2]=l<<8|k<<16|n|q<<24;if(!h)break;else{f=f+4|0;g=g+C|0}}e=c[z>>2]|0}g=s+(c[E>>2]|0)|0;f=e+-1|0;c[z>>2]=f;if(!e)break;i=i+A|0;j=r;s=g;e=f;f=g;h=c[B>>2]|0}c[D>>2]=g;return}function _E(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}r=c[d>>2]|0;c[e>>2]=r<<16&16711680|r&65280|r>>>16&255;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function $E(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;b=c[a+52>>2]|0;o=a+28|0;r=c[o>>2]|0;c[o>>2]=r+-1;if(!r)return;p=a+20|0;q=a+24|0;r=a+12|0;n=a+32|0;m=b&112;d=c[a>>2]|0;e=c[p>>2]|0;l=(m&127)==64;j=d;k=e;while(1){i=c[q>>2]|0;b=i+-1|0;if(i|0)switch(m&127){case 16:{while(1){i=c[d>>2]|0;c[e>>2]=i&65280|i<<16&16711680|i>>>16&255;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}break}case 32:{while(1){f=c[d>>2]|0;i=c[e>>2]|0;h=(i>>>16&255)+(f&255)|0;g=(i>>>8&255)+(f>>>8&255)|0;i=(f>>>16&255)+(i&255)|0;c[e>>2]=(g>>>0<255?g:255)<<8|(h>>>0<255?h:255)<<16|(i>>>0<255?i:255);if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}break}default:while(1){i=c[d>>2]|0;g=c[e>>2]|0;f=g>>>16&255;h=g>>>8&255;g=g&255;if(l){g=((O(i>>>16&255,g)|0)>>>0)/255|0;h=((O(h,i>>>8&255)|0)>>>0)/255|0;f=((O(f,i&255)|0)>>>0)/255|0}c[e>>2]=h<<8|f<<16|g;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}}d=j+(c[r>>2]|0)|0;b=k+(c[n>>2]|0)|0;k=c[o>>2]|0;c[o>>2]=k+-1;if(!k)break;else{j=d;k=b;e=b}}c[a>>2]=d;c[p>>2]=b;return}function aF(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;b=c[a+52>>2]|0;x=a+28|0;w=c[x>>2]|0;y=(c[a+8>>2]<<16|0)/(w|0)|0;t=a+24|0;d=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(d|0)|0;c[x>>2]=w+-1;if(!w)return;v=a+20|0;w=a+32|0;s=b&112;q=a+12|0;r=(s&127)==16;b=c[v>>2]|0;e=0;f=0;p=b;while(1){if((e|0)>65535){e=e+-65536|0;o=e>>>16;e=e-(o<<16)|0;f=f+1+o|0}i=d+-1|0;a:do if(d|0){if(r){d=0;g=65536;h=-1;while(1){if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[q>>2]|0,f)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[d>>2]|0;c[b>>2]=o&65280|o<<16&16711680|o>>>16&255;if(!i)break a;else{b=b+4|0;g=g+u|0;i=i+-1|0}}}else{d=0;g=65536;h=-1;o=i}while(1){if((g|0)>65535){n=g+-65536|0;g=n>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[q>>2]|0,f)|0)+(h<<2)|0;g=n-(g<<16)|0}n=c[d>>2]|0;k=n>>>16&255;m=n>>>8&255;n=n&255;l=c[b>>2]|0;i=l>>>16&255;j=l>>>8&255;l=l&255;switch(s&127){case 64:{l=((O(k,l)|0)>>>0)/255|0;j=((O(j,m)|0)>>>0)/255|0;i=((O(i,n)|0)>>>0)/255|0;break}case 32:{i=i+n|0;j=j+m|0;l=k+l|0;l=l>>>0<255?l:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}default:{}}c[b>>2]=j<<8|i<<16|l;if(!o)break a;else{b=b+4|0;g=g+u|0;o=o+-1|0}}}while(0);b=p+(c[w>>2]|0)|0;p=c[x>>2]|0;c[x>>2]=p+-1;if(!p)break;e=e+y|0;p=b;d=c[t>>2]|0}c[v>>2]=b;return}function bF(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;l=c[e>>2]|0;c[b>>2]=l&65280|l<<16&16711680|l>>>16&255;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>8&255,l)|0)>>>0)/255|0)<<8|(((O(g&255,k)|0)>>>0)/255|0)<<16|(((O(g>>>16&255,j)|0)>>>0)/255|0);if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function cF(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=c[s>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(l){e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=w>>>16&255|w&65280|w<<16&16711680;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=((O(w>>>16&255,n)|0)>>>0)/255|0|(((O(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((O(w&255,u)|0)>>>0)/255|0)<<16;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;k=b;e=c[q>>2]|0}c[s>>2]=b;return}function dF(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;f=c[b+52>>2]|0;A=d[b+60>>0]|0;B=d[b+61>>0]|0;t=d[b+62>>0]|0;e=a[b+63>>0]|0;u=b+28|0;z=c[u>>2]|0;c[u>>2]=z+-1;if(!z)return;v=b+20|0;w=b+24|0;x=b+12|0;y=b+32|0;z=(f&1|0)==0;r=(f&2|0)==0?255:e&255;s=(f&48|0)!=0&(r|0)!=255;q=f&112;p=r^255;f=c[b>>2]|0;e=c[v>>2]|0;n=f;o=e;while(1){m=c[w>>2]|0;g=m+-1|0;a:do if(m|0)if(z){m=g;while(1){k=c[f>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;l=c[e>>2]|0;g=l>>>16&255;h=l>>>8&255;l=l&255;if(s){i=((O(i,r)|0)>>>0)/255|0;j=((O(j,r)|0)>>>0)/255|0;k=((O(k,r)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((O(l,p)|0)>>>0)/255|0)|0;h=j+(((O(h,p)|0)>>>0)/255|0)|0;g=k+(((O(g,p)|0)>>>0)/255|0)|0;break}case 32:{g=k+g|0;h=j+h|0;i=i+l|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{i=((O(i,l)|0)>>>0)/255|0;h=((O(j,h)|0)>>>0)/255|0;g=((O(k,g)|0)>>>0)/255|0;break}default:i=l}c[e>>2]=h<<8|g<<16|i;if(!m)break a;else{e=e+4|0;f=f+4|0;m=m+-1|0}}}else{m=g;while(1){i=c[f>>2]|0;l=c[e>>2]|0;g=l>>>16&255;h=l>>>8&255;l=l&255;k=((O(i&255,A)|0)>>>0)/255|0;j=((O(i>>>8&255,B)|0)>>>0)/255|0;i=((O(i>>>16&255,t)|0)>>>0)/255|0;if(s){i=((O(i,r)|0)>>>0)/255|0;j=((O(j,r)|0)>>>0)/255|0;k=((O(k,r)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((O(l,p)|0)>>>0)/255|0)|0;h=j+(((O(h,p)|0)>>>0)/255|0)|0;g=k+(((O(g,p)|0)>>>0)/255|0)|0;break}case 32:{g=k+g|0;h=j+h|0;i=i+l|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{i=((O(i,l)|0)>>>0)/255|0;h=((O(j,h)|0)>>>0)/255|0;g=((O(k,g)|0)>>>0)/255|0;break}default:i=l}c[e>>2]=h<<8|g<<16|i;if(!m)break a;else{e=e+4|0;f=f+4|0;m=m+-1|0}}}while(0);f=n+(c[x>>2]|0)|0;e=o+(c[y>>2]|0)|0;o=c[u>>2]|0;c[u>>2]=o+-1;if(!o)break;else{n=f;o=e}}c[b>>2]=f;c[v>>2]=e;return}function eF(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;f=c[b+52>>2]|0;F=d[b+60>>0]|0;G=d[b+61>>0]|0;x=d[b+62>>0]|0;e=a[b+63>>0]|0;y=b+28|0;E=c[y>>2]|0;z=(c[b+8>>2]<<16|0)/(E|0)|0;A=b+24|0;h=c[A>>2]|0;B=(c[b+4>>2]<<16|0)/(h|0)|0;g=E+-1|0;c[y>>2]=g;if(!E)return;C=b+20|0;D=b+32|0;E=(f&1|0)==0;v=(f&2|0)==0?255:e&255;w=(f&48|0)!=0&(v|0)!=255;u=f&112;s=v^255;t=b+12|0;f=c[C>>2]|0;i=0;j=0;r=f;e=g;while(1){if((i|0)>65535){i=i+-65536|0;q=i>>>16;i=i-(q<<16)|0;q=j+1+q|0}else q=j;if(h){e=0;g=65536;j=-1;while(1){h=h+-1|0;if((g|0)>65535){p=g+-65536|0;g=p>>>16;j=j+1+g|0;e=(c[b>>2]|0)+(O(c[t>>2]|0,q)|0)+(j<<2)|0;g=p-(g<<16)|0}n=c[e>>2]|0;m=n>>>16&255;o=n>>>8&255;n=n&255;p=c[f>>2]|0;k=p>>>16&255;l=p>>>8&255;p=p&255;if(!E){n=((O(n,F)|0)>>>0)/255|0;o=((O(o,G)|0)>>>0)/255|0;m=((O(m,x)|0)>>>0)/255|0}if(w){n=((O(n,v)|0)>>>0)/255|0;o=((O(o,v)|0)>>>0)/255|0;m=((O(m,v)|0)>>>0)/255|0}switch(u&127){case 16:{m=m+(((O(p,s)|0)>>>0)/255|0)|0;l=o+(((O(l,s)|0)>>>0)/255|0)|0;k=n+(((O(k,s)|0)>>>0)/255|0)|0;break}case 32:{k=n+k|0;l=o+l|0;m=m+p|0;m=m>>>0<255?m:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{m=((O(m,p)|0)>>>0)/255|0;l=((O(o,l)|0)>>>0)/255|0;k=((O(n,k)|0)>>>0)/255|0;break}default:m=p}c[f>>2]=l<<8|k<<16|m;if(!h)break;else{f=f+4|0;g=g+B|0}}e=c[y>>2]|0}g=r+(c[D>>2]|0)|0;f=e+-1|0;c[y>>2]=f;if(!e)break;i=i+z|0;j=q;r=g;e=f;f=g;h=c[A>>2]|0}c[C>>2]=g;return}function fF(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}c[e>>2]=c[d>>2];if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function gF(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;b=c[a+52>>2]|0;o=a+28|0;r=c[o>>2]|0;c[o>>2]=r+-1;if(!r)return;p=a+20|0;q=a+24|0;r=a+12|0;n=a+32|0;m=b&112;d=c[a>>2]|0;e=c[p>>2]|0;l=(m&127)==64;j=d;k=e;while(1){i=c[q>>2]|0;b=i+-1|0;if(i|0)switch(m&127){case 16:{while(1){c[e>>2]=c[d>>2]&16777215;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}break}case 32:{while(1){i=c[d>>2]|0;f=c[e>>2]|0;h=(f&255)+(i&255)|0;g=(f>>>8&255)+(i>>>8&255)|0;i=(f>>>16&255)+(i>>>16&255)|0;c[e>>2]=(g>>>0<255?g:255)<<8|(h>>>0<255?h:255)|(i>>>0<255?i:255)<<16;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}break}default:while(1){i=c[d>>2]|0;f=c[e>>2]|0;g=f>>>16&255;h=f>>>8&255;f=f&255;if(l){g=((O(g,i>>>16&255)|0)>>>0)/255|0;h=((O(h,i>>>8&255)|0)>>>0)/255|0;f=((O(f,i&255)|0)>>>0)/255|0}c[e>>2]=h<<8|f|g<<16;if(!b)break;else{e=e+4|0;d=d+4|0;b=b+-1|0}}}d=j+(c[r>>2]|0)|0;b=k+(c[n>>2]|0)|0;k=c[o>>2]|0;c[o>>2]=k+-1;if(!k)break;else{j=d;k=b;e=b}}c[a>>2]=d;c[p>>2]=b;return}function hF(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;b=c[a+52>>2]|0;x=a+28|0;w=c[x>>2]|0;y=(c[a+8>>2]<<16|0)/(w|0)|0;t=a+24|0;d=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(d|0)|0;c[x>>2]=w+-1;if(!w)return;v=a+20|0;w=a+32|0;s=b&112;q=a+12|0;r=(s&127)==16;b=c[v>>2]|0;e=0;f=0;p=b;while(1){if((e|0)>65535){e=e+-65536|0;o=e>>>16;e=e-(o<<16)|0;f=f+1+o|0}i=d+-1|0;a:do if(d|0){if(r){d=0;g=65536;h=-1;while(1){if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[q>>2]|0,f)|0)+(h<<2)|0;g=o-(g<<16)|0}c[b>>2]=c[d>>2]&16777215;if(!i)break a;else{b=b+4|0;g=g+u|0;i=i+-1|0}}}else{d=0;g=65536;h=-1;o=i}while(1){if((g|0)>65535){n=g+-65536|0;g=n>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[q>>2]|0,f)|0)+(h<<2)|0;g=n-(g<<16)|0}n=c[d>>2]|0;k=n>>>16&255;m=n>>>8&255;n=n&255;i=c[b>>2]|0;l=i>>>16&255;j=i>>>8&255;i=i&255;switch(s&127){case 64:{l=((O(l,k)|0)>>>0)/255|0;j=((O(j,m)|0)>>>0)/255|0;i=((O(i,n)|0)>>>0)/255|0;break}case 32:{i=i+n|0;j=j+m|0;l=l+k|0;l=l>>>0<255?l:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}default:{}}c[b>>2]=j<<8|i|l<<16;if(!o)break a;else{b=b+4|0;g=g+u|0;o=o+-1|0}}}while(0);b=p+(c[w>>2]|0)|0;p=c[x>>2]|0;c[x>>2]=p+-1;if(!p)break;e=e+y|0;p=b;d=c[t>>2]|0}c[v>>2]=b;return}function iF(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;c[b>>2]=c[e>>2]&16777215;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>8&255,l)|0)>>>0)/255|0)<<8|(((O(g&255,k)|0)>>>0)/255|0)|(((O(g>>>16&255,j)|0)>>>0)/255|0)<<16;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function jF(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;k=c[s>>2]|0;f=0;g=0;h=k;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}i=e+-1|0;if(e|0)if(l){j=h;b=0;e=65536;h=-1;while(1){if((e|0)>65535){w=e+-65536|0;e=w>>>16;h=h+1+e|0;b=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(h<<2)|0;e=w-(e<<16)|0}c[j>>2]=c[b>>2]&16777215;if(!i)break;else{j=j+4|0;e=e+r|0;i=i+-1|0}}}else{j=h;b=0;e=65536;h=-1;while(1){if((e|0)>65535){w=e+-65536|0;e=w>>>16;h=h+1+e|0;b=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(h<<2)|0;e=w-(e<<16)|0}w=c[b>>2]|0;c[j>>2]=(((O(w>>>16&255,n)|0)>>>0)/255|0)<<16|(((O(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((O(w&255,u)|0)>>>0)/255|0);if(!i)break;else{j=j+4|0;e=e+r|0;i=i+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;h=b;e=c[q>>2]|0;k=b}c[s>>2]=b;return}function kF(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;f=c[b+52>>2]|0;A=d[b+60>>0]|0;B=d[b+61>>0]|0;t=d[b+62>>0]|0;e=a[b+63>>0]|0;u=b+28|0;z=c[u>>2]|0;c[u>>2]=z+-1;if(!z)return;v=b+20|0;w=b+24|0;x=b+12|0;y=b+32|0;z=(f&1|0)==0;r=(f&2|0)==0?255:e&255;s=(f&48|0)!=0&(r|0)!=255;q=f&112;p=r^255;f=c[b>>2]|0;e=c[v>>2]|0;n=f;o=e;while(1){m=c[w>>2]|0;g=m+-1|0;a:do if(m|0)if(z){m=g;while(1){k=c[f>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;g=c[e>>2]|0;l=g>>>16&255;h=g>>>8&255;g=g&255;if(s){i=((O(i,r)|0)>>>0)/255|0;j=((O(j,r)|0)>>>0)/255|0;k=((O(k,r)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((O(l,p)|0)>>>0)/255|0)|0;h=j+(((O(h,p)|0)>>>0)/255|0)|0;g=k+(((O(g,p)|0)>>>0)/255|0)|0;break}case 32:{g=k+g|0;h=j+h|0;i=i+l|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{i=((O(i,l)|0)>>>0)/255|0;h=((O(j,h)|0)>>>0)/255|0;g=((O(k,g)|0)>>>0)/255|0;break}default:i=l}c[e>>2]=h<<8|g|i<<16;if(!m)break a;else{e=e+4|0;f=f+4|0;m=m+-1|0}}}else{m=g;while(1){i=c[f>>2]|0;g=c[e>>2]|0;l=g>>>16&255;h=g>>>8&255;g=g&255;k=((O(i&255,A)|0)>>>0)/255|0;j=((O(i>>>8&255,B)|0)>>>0)/255|0;i=((O(i>>>16&255,t)|0)>>>0)/255|0;if(s){i=((O(i,r)|0)>>>0)/255|0;j=((O(j,r)|0)>>>0)/255|0;k=((O(k,r)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((O(l,p)|0)>>>0)/255|0)|0;h=j+(((O(h,p)|0)>>>0)/255|0)|0;g=k+(((O(g,p)|0)>>>0)/255|0)|0;break}case 32:{g=k+g|0;h=j+h|0;i=i+l|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{i=((O(i,l)|0)>>>0)/255|0;h=((O(j,h)|0)>>>0)/255|0;g=((O(k,g)|0)>>>0)/255|0;break}default:i=l}c[e>>2]=h<<8|g|i<<16;if(!m)break a;else{e=e+4|0;f=f+4|0;m=m+-1|0}}}while(0);f=n+(c[x>>2]|0)|0;e=o+(c[y>>2]|0)|0;o=c[u>>2]|0;c[u>>2]=o+-1;if(!o)break;else{n=f;o=e}}c[b>>2]=f;c[v>>2]=e;return}function lF(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;f=c[b+52>>2]|0;F=d[b+60>>0]|0;G=d[b+61>>0]|0;x=d[b+62>>0]|0;e=a[b+63>>0]|0;y=b+28|0;E=c[y>>2]|0;z=(c[b+8>>2]<<16|0)/(E|0)|0;A=b+24|0;h=c[A>>2]|0;B=(c[b+4>>2]<<16|0)/(h|0)|0;g=E+-1|0;c[y>>2]=g;if(!E)return;C=b+20|0;D=b+32|0;E=(f&1|0)==0;v=(f&2|0)==0?255:e&255;w=(f&48|0)!=0&(v|0)!=255;u=f&112;s=v^255;t=b+12|0;f=c[C>>2]|0;i=0;j=0;r=f;e=g;while(1){if((i|0)>65535){i=i+-65536|0;q=i>>>16;i=i-(q<<16)|0;q=j+1+q|0}else q=j;if(h){e=0;g=65536;j=-1;while(1){h=h+-1|0;if((g|0)>65535){p=g+-65536|0;g=p>>>16;j=j+1+g|0;e=(c[b>>2]|0)+(O(c[t>>2]|0,q)|0)+(j<<2)|0;g=p-(g<<16)|0}n=c[e>>2]|0;m=n>>>16&255;o=n>>>8&255;n=n&255;k=c[f>>2]|0;p=k>>>16&255;l=k>>>8&255;k=k&255;if(!E){n=((O(n,F)|0)>>>0)/255|0;o=((O(o,G)|0)>>>0)/255|0;m=((O(m,x)|0)>>>0)/255|0}if(w){n=((O(n,v)|0)>>>0)/255|0;o=((O(o,v)|0)>>>0)/255|0;m=((O(m,v)|0)>>>0)/255|0}switch(u&127){case 16:{m=m+(((O(p,s)|0)>>>0)/255|0)|0;l=o+(((O(l,s)|0)>>>0)/255|0)|0;k=n+(((O(k,s)|0)>>>0)/255|0)|0;break}case 32:{k=n+k|0;l=o+l|0;m=m+p|0;m=m>>>0<255?m:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{m=((O(m,p)|0)>>>0)/255|0;l=((O(o,l)|0)>>>0)/255|0;k=((O(n,k)|0)>>>0)/255|0;break}default:m=p}c[f>>2]=l<<8|k|m<<16;if(!h)break;else{f=f+4|0;g=g+B|0}}e=c[y>>2]|0}g=r+(c[D>>2]|0)|0;f=e+-1|0;c[y>>2]=f;if(!e)break;i=i+z|0;j=q;r=g;e=f;f=g;h=c[A>>2]|0}c[C>>2]=g;return}function mF(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}r=c[d>>2]|0;c[e>>2]=r&65280|r<<16|r>>>16&255|-16777216;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function nF(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;q=a+32|0;p=b&112;m=(p&127)==16;d=c[a>>2]|0;e=c[s>>2]|0;n=d;o=e;while(1){l=c[t>>2]|0;b=l+-1|0;a:do if(l|0){if(m)while(1){l=c[d>>2]|0;c[e>>2]=l&65280|l<<16|l>>>16&255|-16777216;if(!b)break a;else{e=e+4|0;d=d+4|0;b=b+-1|0}}while(1){k=c[d>>2]|0;h=k>>>16&255;j=k>>>8&255;k=k&255;l=c[e>>2]|0;f=l>>>16&255;g=l>>>8&255;i=l&255;l=l&-16777216;switch(p&127){case 64:{i=((O(h,i)|0)>>>0)/255|0;g=((O(g,j)|0)>>>0)/255|0;f=((O(f,k)|0)>>>0)/255|0;break}case 32:{f=f+k|0;g=g+j|0;i=h+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;f=f>>>0<255?f:255;break}default:{}}c[e>>2]=g<<8|f<<16|i|l;if(!b)break a;else{e=e+4|0;d=d+4|0;b=b+-1|0}}}while(0);d=n+(c[u>>2]|0)|0;b=o+(c[q>>2]|0)|0;o=c[r>>2]|0;c[r>>2]=o+-1;if(!o)break;else{n=d;o=b;e=b}}c[a>>2]=d;c[s>>2]=b;return}function oF(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;u=a+24|0;d=c[u>>2]|0;v=(c[a+4>>2]<<16|0)/(d|0)|0;c[y>>2]=x+-1;if(!x)return;w=a+20|0;x=a+32|0;t=b&112;r=a+12|0;s=(t&127)==16;b=c[w>>2]|0;e=0;f=0;q=b;while(1){if((e|0)>65535){e=e+-65536|0;p=e>>>16;e=e-(p<<16)|0;f=f+1+p|0}i=d+-1|0;a:do if(d|0){if(s){d=0;g=65536;h=-1;while(1){if((g|0)>65535){p=g+-65536|0;g=p>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,f)|0)+(h<<2)|0;g=p-(g<<16)|0}p=c[d>>2]|0;c[b>>2]=p&65280|p<<16|p>>>16&255|-16777216;if(!i)break a;else{b=b+4|0;g=g+v|0;i=i+-1|0}}}else{d=0;g=65536;h=-1}while(1){if((g|0)>65535){p=g+-65536|0;g=p>>>16;h=h+1+g|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,f)|0)+(h<<2)|0;g=p-(g<<16)|0}o=c[d>>2]|0;l=o>>>16&255;n=o>>>8&255;o=o&255;p=c[b>>2]|0;j=p>>>16&255;k=p>>>8&255;m=p&255;p=p&-16777216;switch(t&127){case 64:{m=((O(l,m)|0)>>>0)/255|0;k=((O(k,n)|0)>>>0)/255|0;j=((O(j,o)|0)>>>0)/255|0;break}case 32:{j=j+o|0;k=k+n|0;m=l+m|0;m=m>>>0<255?m:255;k=k>>>0<255?k:255;j=j>>>0<255?j:255;break}default:{}}c[b>>2]=k<<8|j<<16|m|p;if(!i)break a;else{b=b+4|0;g=g+v|0;i=i+-1|0}}}while(0);b=q+(c[x>>2]|0)|0;q=c[y>>2]|0;c[y>>2]=q+-1;if(!q)break;e=e+z|0;q=b;d=c[u>>2]|0}c[w>>2]=b;return}function pF(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;f=c[b+52>>2]|0;l=d[b+60>>0]|0;m=d[b+61>>0]|0;k=d[b+62>>0]|0;e=a[b+63>>0]|0;o=b+28|0;s=c[o>>2]|0;h=s+-1|0;c[o>>2]=h;if(!s)return;s=b+20|0;p=b+24|0;q=b+12|0;r=b+32|0;n=(f&2|0)==0?-16777216:(e&255)<<24;g=c[b>>2]|0;e=c[s>>2]|0;if(!(f&1)){i=g;j=e;f=g;while(1){g=c[p>>2]|0;if(!g)g=h;else{while(1){g=g+-1|0;m=c[f>>2]|0;c[e>>2]=m<<16&16711680|n|m&65280|m>>>16&255;if(!g)break;else{e=e+4|0;f=f+4|0}}g=c[o>>2]|0}f=i+(c[q>>2]|0)|0;e=j+(c[r>>2]|0)|0;h=g+-1|0;c[o>>2]=h;if(!g)break;else{i=f;j=e}}}else{i=g;j=e;f=g;while(1){g=c[p>>2]|0;if(!g)g=h;else{while(1){g=g+-1|0;h=c[f>>2]|0;c[e>>2]=(((O(h&255,l)|0)>>>0)/255|0)<<16|n|(((O(h>>>8&255,m)|0)>>>0)/255|0)<<8|(((O(h>>>16&255,k)|0)>>>0)/255|0);if(!g)break;else{e=e+4|0;f=f+4|0}}g=c[o>>2]|0}f=i+(c[q>>2]|0)|0;e=j+(c[r>>2]|0)|0;h=g+-1|0;c[o>>2]=h;if(!g)break;else{i=f;j=e}}}c[b>>2]=f;c[s>>2]=e;return}function qF(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;f=c[b+52>>2]|0;w=d[b+60>>0]|0;x=d[b+61>>0]|0;o=d[b+62>>0]|0;e=a[b+63>>0]|0;p=b+28|0;v=c[p>>2]|0;q=(c[b+8>>2]<<16|0)/(v|0)|0;r=b+24|0;g=c[r>>2]|0;s=(c[b+4>>2]<<16|0)/(g|0)|0;c[p>>2]=v+-1;if(!v)return;t=b+20|0;u=b+32|0;v=(f&1|0)==0;m=(f&2|0)==0?-16777216:(e&255)<<24;n=b+12|0;e=c[t>>2]|0;f=0;h=0;l=e;while(1){if((f|0)>65535){f=f+-65536|0;k=f>>>16;f=f-(k<<16)|0;h=h+1+k|0}k=g+-1|0;if(g|0)if(v){g=0;i=65536;j=-1;while(1){if((i|0)>65535){y=i+-65536|0;i=y>>>16;j=j+1+i|0;g=(c[b>>2]|0)+(O(c[n>>2]|0,h)|0)+(j<<2)|0;i=y-(i<<16)|0}y=c[g>>2]|0;c[e>>2]=y&65280|m|y>>>16&255|y<<16&16711680;if(!k)break;else{e=e+4|0;i=i+s|0;k=k+-1|0}}}else{g=0;i=65536;j=-1;while(1){if((i|0)>65535){y=i+-65536|0;i=y>>>16;j=j+1+i|0;g=(c[b>>2]|0)+(O(c[n>>2]|0,h)|0)+(j<<2)|0;i=y-(i<<16)|0}y=c[g>>2]|0;c[e>>2]=(((O(y>>>8&255,x)|0)>>>0)/255|0)<<8|m|(((O(y>>>16&255,o)|0)>>>0)/255|0)|(((O(y&255,w)|0)>>>0)/255|0)<<16;if(!k)break;else{e=e+4|0;i=i+s|0;k=k+-1|0}}}e=l+(c[u>>2]|0)|0;y=c[p>>2]|0;c[p>>2]=y+-1;if(!y)break;f=f+q|0;l=e;g=c[r>>2]|0}c[t>>2]=e;return}function rF(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;f=c[b+52>>2]|0;B=d[b+60>>0]|0;C=d[b+61>>0]|0;u=d[b+62>>0]|0;e=a[b+63>>0]|0;v=b+28|0;A=c[v>>2]|0;g=A+-1|0;c[v>>2]=g;if(!A)return;w=b+20|0;x=b+24|0;y=b+12|0;z=b+32|0;A=(f&1|0)==0;s=(f&2|0)==0?255:e&255;t=(f&48|0)!=0&(s|0)!=255;r=f&112;q=s^255;o=c[b>>2]|0;p=c[w>>2]|0;e=p;i=o;while(1){f=c[x>>2]|0;if(f){while(1){f=f+-1|0;l=c[i>>2]|0;j=l>>>16&255;k=l>>>8&255;l=l&255;m=c[e>>2]|0;g=m>>>16&255;h=m>>>8&255;n=m&255;m=m>>>24;if(!A){j=((O(j,u)|0)>>>0)/255|0;k=((O(k,C)|0)>>>0)/255|0;l=((O(l,B)|0)>>>0)/255|0}if(t){j=((O(j,s)|0)>>>0)/255|0;k=((O(k,s)|0)>>>0)/255|0;l=((O(l,s)|0)>>>0)/255|0}switch(r&127){case 16:{m=(((O(m,q)|0)>>>0)/255|0)+s|0;j=j+(((O(n,q)|0)>>>0)/255|0)|0;h=k+(((O(h,q)|0)>>>0)/255|0)|0;g=l+(((O(g,q)|0)>>>0)/255|0)|0;break}case 32:{g=l+g|0;h=k+h|0;j=j+n|0;j=j>>>0<255?j:255;h=h>>>0<255?h:255;g=g>>>0<255?g:255;break}case 64:{j=((O(j,n)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;g=((O(l,g)|0)>>>0)/255|0;break}default:j=n}c[e>>2]=h<<8|g<<16|j|m<<24;if(!f)break;else{e=e+4|0;i=i+4|0}}g=c[v>>2]|0}f=o+(c[y>>2]|0)|0;h=p+(c[z>>2]|0)|0;e=g+-1|0;c[v>>2]=e;if(!g)break;else{g=e;e=h;i=f;o=f;p=h}}c[b>>2]=f;c[w>>2]=h;return}function sF(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;f=c[b+52>>2]|0;G=d[b+60>>0]|0;H=d[b+61>>0]|0;y=d[b+62>>0]|0;e=a[b+63>>0]|0;z=b+28|0;F=c[z>>2]|0;A=(c[b+8>>2]<<16|0)/(F|0)|0;B=b+24|0;h=c[B>>2]|0;C=(c[b+4>>2]<<16|0)/(h|0)|0;g=F+-1|0;c[z>>2]=g;if(!F)return;D=b+20|0;E=b+32|0;F=(f&1|0)==0;w=(f&2|0)==0?255:e&255;x=(f&48|0)!=0&(w|0)!=255;v=f&112;t=w^255;u=b+12|0;f=c[D>>2]|0;i=0;j=0;s=f;e=g;while(1){if((i|0)>65535){i=i+-65536|0;r=i>>>16;i=i-(r<<16)|0;r=j+1+r|0}else r=j;if(h){e=0;g=65536;j=-1;while(1){h=h+-1|0;if((g|0)>65535){q=g+-65536|0;g=q>>>16;j=j+1+g|0;e=(c[b>>2]|0)+(O(c[u>>2]|0,r)|0)+(j<<2)|0;g=q-(g<<16)|0}m=c[e>>2]|0;o=m>>>16&255;p=m>>>8&255;m=m&255;q=c[f>>2]|0;k=q>>>16&255;l=q>>>8&255;n=q&255;q=q>>>24;if(!F){m=((O(m,G)|0)>>>0)/255|0;p=((O(p,H)|0)>>>0)/255|0;o=((O(o,y)|0)>>>0)/255|0}if(x){m=((O(m,w)|0)>>>0)/255|0;p=((O(p,w)|0)>>>0)/255|0;o=((O(o,w)|0)>>>0)/255|0}switch(v&127){case 16:{q=(((O(q,t)|0)>>>0)/255|0)+w|0;n=o+(((O(n,t)|0)>>>0)/255|0)|0;l=p+(((O(l,t)|0)>>>0)/255|0)|0;k=m+(((O(k,t)|0)>>>0)/255|0)|0;break}case 32:{k=m+k|0;l=p+l|0;n=o+n|0;n=n>>>0<255?n:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{n=((O(o,n)|0)>>>0)/255|0;l=((O(p,l)|0)>>>0)/255|0;k=((O(m,k)|0)>>>0)/255|0;break}default:{}}c[f>>2]=l<<8|k<<16|n|q<<24;if(!h)break;else{f=f+4|0;g=g+C|0}}e=c[z>>2]|0}g=s+(c[E>>2]|0)|0;f=e+-1|0;c[z>>2]=f;if(!e)break;i=i+A|0;j=r;s=g;e=f;f=g;h=c[B>>2]|0}c[D>>2]=g;return}function tF(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}c[e>>2]=c[d>>2]&16777215;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function uF(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;d=c[a>>2]|0;b=c[s>>2]|0;m=d;n=b;while(1){l=c[t>>2]|0;e=l+-1|0;a:do if(l|0){if(q){l=e;while(1){h=c[d>>2]|0;k=h>>>16&255;j=h>>>8&255;i=h&255;g=c[b>>2]|0;e=g>>>16&255;f=g>>>8&255;g=g&255;switch(o&127){case 16:{h=h>>>24^255;g=i+(((O(h,g)|0)>>>0)/255|0)|0;f=j+(((O(f,h)|0)>>>0)/255|0)|0;e=k+(((O(e,h)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}else l=e;while(1){k=c[d>>2]|0;h=k>>>16&255;j=k>>>8&255;i=k&255;k=k>>>24;g=c[b>>2]|0;e=g>>>16&255;f=g>>>8&255;g=g&255;if((k|0)!=255){h=((O(h,k)|0)>>>0)/255|0;i=((O(i,k)|0)>>>0)/255|0;j=((O(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((O(k,g)|0)>>>0)/255|0)|0;f=j+(((O(f,k)|0)>>>0)/255|0)|0;e=h+(((O(e,k)|0)>>>0)/255|0)|0;break}case 32:{e=h+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(h,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}while(0);d=m+(c[u>>2]|0)|0;b=n+(c[p>>2]|0)|0;n=c[r>>2]|0;c[r>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[s>>2]=b;return}function vF(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;t=a+24|0;e=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(e|0)|0;d=x+-1|0;c[y>>2]=d;if(!x)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;s=b&112;r=a+12|0;p=c[v>>2]|0;g=0;h=0;b=p;while(1){if((g|0)>65535){g=g+-65536|0;q=g>>>16;g=g-(q<<16)|0;q=h+1+q|0}else q=h;if(!e)b=d;else{d=0;f=65536;h=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;h=h+1+f|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,q)|0)+(h<<2)|0;f=o-(f<<16)|0}o=c[d>>2]|0;m=o>>>16&255;n=o>>>8&255;l=o&255;o=o>>>24;k=c[b>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(x&(o|0)!=255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{o=o^255;k=l+(((O(o,k)|0)>>>0)/255|0)|0;j=n+(((O(j,o)|0)>>>0)/255|0)|0;i=m+(((O(i,o)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[b>>2]=j<<8|i<<16|k;if(!e)break;else{b=b+4|0;f=f+u|0}}b=c[y>>2]|0}f=p+(c[w>>2]|0)|0;d=b+-1|0;c[y>>2]=d;if(!b)break;g=g+z|0;h=q;b=f;e=c[t>>2]|0;p=f}c[v>>2]=f;return}function wF(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;c[b>>2]=c[e>>2]&16777215;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>8&255,l)|0)>>>0)/255|0)<<8|(((O(g>>>16&255,k)|0)>>>0)/255|0)<<16|(((O(g&255,j)|0)>>>0)/255|0);if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function xF(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;k=c[s>>2]|0;f=0;g=0;h=k;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}i=e+-1|0;if(e|0)if(l){j=h;b=0;e=65536;h=-1;while(1){if((e|0)>65535){w=e+-65536|0;e=w>>>16;h=h+1+e|0;b=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(h<<2)|0;e=w-(e<<16)|0}c[j>>2]=c[b>>2]&16777215;if(!i)break;else{j=j+4|0;e=e+r|0;i=i+-1|0}}}else{j=h;b=0;e=65536;h=-1;while(1){if((e|0)>65535){w=e+-65536|0;e=w>>>16;h=h+1+e|0;b=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(h<<2)|0;e=w-(e<<16)|0}w=c[b>>2]|0;c[j>>2]=((O(w&255,n)|0)>>>0)/255|0|(((O(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((O(w>>>16&255,u)|0)>>>0)/255|0)<<16;if(!i)break;else{j=j+4|0;e=e+r|0;i=i+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;h=b;e=c[q>>2]|0;k=b}c[s>>2]=b;return}function yF(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;b=c[a+52>>2]|0;A=d[a+60>>0]|0;B=d[a+61>>0]|0;q=d[a+62>>0]|0;r=d[a+63>>0]|0;s=a+28|0;z=c[s>>2]|0;e=z+-1|0;c[s>>2]=e;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;n=c[a>>2]|0;o=c[t>>2]|0;h=o;i=n;while(1){b=c[u>>2]|0;if(!b)b=e;else{m=b;while(1){m=m+-1|0;l=c[i>>2]|0;k=l>>>16&255;j=l>>>8&255;g=l&255;l=l>>>24;f=c[h>>2]|0;b=f>>>16&255;e=f>>>8&255;f=f&255;if(!x){g=((O(g,q)|0)>>>0)/255|0;j=((O(j,B)|0)>>>0)/255|0;k=((O(k,A)|0)>>>0)/255|0}C=((O(l,r)|0)>>>0)/255|0;l=y?l:C;if(z&l>>>0<255){g=((O(g,l)|0)>>>0)/255|0;j=((O(j,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-l|0;f=g+(((O(C,f)|0)>>>0)/255|0)|0;e=j+(((O(C,e)|0)>>>0)/255|0)|0;b=k+(((O(C,b)|0)>>>0)/255|0)|0;break}case 32:{b=k+b|0;e=j+e|0;f=g+f|0;f=f>>>0<255?f:255;e=e>>>0<255?e:255;b=b>>>0<255?b:255;break}case 64:{f=((O(g,f)|0)>>>0)/255|0;e=((O(j,e)|0)>>>0)/255|0;b=((O(k,b)|0)>>>0)/255|0;break}default:{}}c[h>>2]=e<<8|b<<16|f;if(!m)break;else{h=h+4|0;i=i+4|0}}b=c[s>>2]|0}f=n+(c[v>>2]|0)|0;g=o+(c[w>>2]|0)|0;e=b+-1|0;c[s>>2]=e;if(!b)break;else{h=g;i=f;n=f;o=g}}c[a>>2]=f;c[t>>2]=g;return}function zF(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;b=c[a+52>>2]|0;F=d[a+60>>0]|0;G=d[a+61>>0]|0;u=d[a+62>>0]|0;v=d[a+63>>0]|0;w=a+28|0;E=c[w>>2]|0;x=(c[a+8>>2]<<16|0)/(E|0)|0;y=a+24|0;f=c[y>>2]|0;z=(c[a+4>>2]<<16|0)/(f|0)|0;e=E+-1|0;c[w>>2]=e;if(!E)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=(b&2|0)==0;E=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[A>>2]|0;g=0;h=0;r=q;b=e;e=q;while(1){if((g|0)>65535){p=g+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=h+1+q|0}else{p=g;q=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[b>>2]|0;m=o>>>16&255;n=o>>>8&255;l=o&255;o=o>>>24;k=c[e>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(!C){m=((O(m,F)|0)>>>0)/255|0;n=((O(n,G)|0)>>>0)/255|0;l=((O(l,u)|0)>>>0)/255|0}H=((O(o,v)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{H=255-o|0;k=l+(((O(H,k)|0)>>>0)/255|0)|0;j=n+(((O(H,j)|0)>>>0)/255|0)|0;i=m+(((O(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i<<16|k;if(!f)break;else{e=e+4|0;g=g+z|0}}b=c[w>>2]|0}f=r+(c[B>>2]|0)|0;e=b+-1|0;c[w>>2]=e;if(!b)break;g=p+x|0;h=q;r=f;b=e;e=f;f=c[y>>2]|0}c[A>>2]=f;return}function AF(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}r=c[d>>2]|0;c[e>>2]=r<<16&16711680|r&65280|r>>>16&255;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function BF(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;d=c[a>>2]|0;b=c[s>>2]|0;m=d;n=b;while(1){l=c[t>>2]|0;e=l+-1|0;a:do if(l|0){if(q){l=e;while(1){h=c[d>>2]|0;k=h>>>16&255;j=h>>>8&255;i=h&255;e=c[b>>2]|0;g=e>>>16&255;f=e>>>8&255;e=e&255;switch(o&127){case 16:{h=h>>>24^255;g=i+(((O(g,h)|0)>>>0)/255|0)|0;f=j+(((O(f,h)|0)>>>0)/255|0)|0;e=k+(((O(h,e)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e|g<<16;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}else l=e;while(1){k=c[d>>2]|0;h=k>>>16&255;j=k>>>8&255;i=k&255;k=k>>>24;e=c[b>>2]|0;g=e>>>16&255;f=e>>>8&255;e=e&255;if((k|0)!=255){h=((O(h,k)|0)>>>0)/255|0;i=((O(i,k)|0)>>>0)/255|0;j=((O(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((O(g,k)|0)>>>0)/255|0)|0;f=j+(((O(f,k)|0)>>>0)/255|0)|0;e=h+(((O(k,e)|0)>>>0)/255|0)|0;break}case 32:{e=h+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(h,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e|g<<16;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}while(0);d=m+(c[u>>2]|0)|0;b=n+(c[p>>2]|0)|0;n=c[r>>2]|0;c[r>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[s>>2]=b;return}function CF(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;t=a+24|0;e=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(e|0)|0;d=x+-1|0;c[y>>2]=d;if(!x)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;s=b&112;r=a+12|0;p=c[v>>2]|0;g=0;h=0;b=p;while(1){if((g|0)>65535){g=g+-65536|0;q=g>>>16;g=g-(q<<16)|0;q=h+1+q|0}else q=h;if(!e)b=d;else{d=0;f=65536;h=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;h=h+1+f|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,q)|0)+(h<<2)|0;f=o-(f<<16)|0}o=c[d>>2]|0;m=o>>>16&255;n=o>>>8&255;l=o&255;o=o>>>24;i=c[b>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(x&(o|0)!=255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{o=o^255;k=l+(((O(k,o)|0)>>>0)/255|0)|0;j=n+(((O(j,o)|0)>>>0)/255|0)|0;i=m+(((O(o,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[b>>2]=j<<8|i|k<<16;if(!e)break;else{b=b+4|0;f=f+u|0}}b=c[y>>2]|0}f=p+(c[w>>2]|0)|0;d=b+-1|0;c[y>>2]=d;if(!b)break;g=g+z|0;h=q;b=f;e=c[t>>2]|0;p=f}c[v>>2]=f;return}function DF(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;l=c[e>>2]|0;c[b>>2]=l&65280|l>>>16&255|l<<16&16711680;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>8&255,l)|0)>>>0)/255|0)<<8|(((O(g>>>16&255,k)|0)>>>0)/255|0)|(((O(g&255,j)|0)>>>0)/255|0)<<16;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function EF(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=c[s>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(l){e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=w<<16&16711680|w&65280|w>>>16&255;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=(((O(w&255,n)|0)>>>0)/255|0)<<16|(((O(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((O(w>>>16&255,u)|0)>>>0)/255|0);if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;k=b;e=c[q>>2]|0}c[s>>2]=b;return}function FF(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;b=c[a+52>>2]|0;A=d[a+60>>0]|0;B=d[a+61>>0]|0;q=d[a+62>>0]|0;r=d[a+63>>0]|0;s=a+28|0;z=c[s>>2]|0;e=z+-1|0;c[s>>2]=e;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;n=c[a>>2]|0;o=c[t>>2]|0;h=o;i=n;while(1){b=c[u>>2]|0;if(!b)b=e;else{m=b;while(1){m=m+-1|0;l=c[i>>2]|0;k=l>>>16&255;j=l>>>8&255;g=l&255;l=l>>>24;b=c[h>>2]|0;f=b>>>16&255;e=b>>>8&255;b=b&255;if(!x){g=((O(g,q)|0)>>>0)/255|0;j=((O(j,B)|0)>>>0)/255|0;k=((O(k,A)|0)>>>0)/255|0}C=((O(l,r)|0)>>>0)/255|0;l=y?l:C;if(z&l>>>0<255){g=((O(g,l)|0)>>>0)/255|0;j=((O(j,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-l|0;f=g+(((O(C,f)|0)>>>0)/255|0)|0;e=j+(((O(C,e)|0)>>>0)/255|0)|0;b=k+(((O(C,b)|0)>>>0)/255|0)|0;break}case 32:{b=k+b|0;e=j+e|0;f=g+f|0;f=f>>>0<255?f:255;e=e>>>0<255?e:255;b=b>>>0<255?b:255;break}case 64:{f=((O(g,f)|0)>>>0)/255|0;e=((O(j,e)|0)>>>0)/255|0;b=((O(k,b)|0)>>>0)/255|0;break}default:{}}c[h>>2]=e<<8|b|f<<16;if(!m)break;else{h=h+4|0;i=i+4|0}}b=c[s>>2]|0}f=n+(c[v>>2]|0)|0;g=o+(c[w>>2]|0)|0;e=b+-1|0;c[s>>2]=e;if(!b)break;else{h=g;i=f;n=f;o=g}}c[a>>2]=f;c[t>>2]=g;return}function GF(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;b=c[a+52>>2]|0;F=d[a+60>>0]|0;G=d[a+61>>0]|0;u=d[a+62>>0]|0;v=d[a+63>>0]|0;w=a+28|0;E=c[w>>2]|0;x=(c[a+8>>2]<<16|0)/(E|0)|0;y=a+24|0;f=c[y>>2]|0;z=(c[a+4>>2]<<16|0)/(f|0)|0;e=E+-1|0;c[w>>2]=e;if(!E)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=(b&2|0)==0;E=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[A>>2]|0;g=0;h=0;r=q;b=e;e=q;while(1){if((g|0)>65535){p=g+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=h+1+q|0}else{p=g;q=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[b>>2]|0;m=o>>>16&255;n=o>>>8&255;l=o&255;o=o>>>24;i=c[e>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(!C){m=((O(m,F)|0)>>>0)/255|0;n=((O(n,G)|0)>>>0)/255|0;l=((O(l,u)|0)>>>0)/255|0}H=((O(o,v)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{H=255-o|0;k=l+(((O(H,k)|0)>>>0)/255|0)|0;j=n+(((O(H,j)|0)>>>0)/255|0)|0;i=m+(((O(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i|k<<16;if(!f)break;else{e=e+4|0;g=g+z|0}}b=c[w>>2]|0}f=r+(c[B>>2]|0)|0;e=b+-1|0;c[w>>2]=e;if(!b)break;g=p+x|0;h=q;r=f;b=e;e=f;f=c[y>>2]|0}c[A>>2]=f;return}function HF(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}c[e>>2]=c[d>>2];if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function IF(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;b=c[a+52>>2]|0;s=a+28|0;v=c[s>>2]|0;c[s>>2]=v+-1;if(!v)return;t=a+20|0;u=a+24|0;v=a+12|0;q=a+32|0;r=(b&48|0)==0;p=b&112;d=c[a>>2]|0;b=c[t>>2]|0;n=d;o=b;while(1){m=c[u>>2]|0;e=m+-1|0;a:do if(m|0){if(r){m=e;while(1){h=c[d>>2]|0;l=h>>>16&255;k=h>>>8&255;j=h&255;h=h>>>24;i=c[b>>2]|0;e=i>>>16&255;f=i>>>8&255;g=i&255;i=i>>>24;switch(p&127){case 16:{w=h^255;i=(((O(w,i)|0)>>>0)/255|0)+h|0;g=j+(((O(w,g)|0)>>>0)/255|0)|0;f=k+(((O(f,w)|0)>>>0)/255|0)|0;e=l+(((O(e,w)|0)>>>0)/255|0)|0;break}case 32:{e=l+e|0;f=k+f|0;g=j+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(j,g)|0)>>>0)/255|0;f=((O(k,f)|0)>>>0)/255|0;e=((O(l,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g|i<<24;if(!m)break a;else{b=b+4|0;d=d+4|0;m=m+-1|0}}}else m=e;while(1){l=c[d>>2]|0;k=l>>>16&255;i=l>>>8&255;h=l&255;l=l>>>24;j=c[b>>2]|0;e=j>>>16&255;f=j>>>8&255;g=j&255;j=j>>>24;if((l|0)!=255){h=((O(h,l)|0)>>>0)/255|0;i=((O(i,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{w=l^255;j=(((O(w,j)|0)>>>0)/255|0)+l|0;g=h+(((O(w,g)|0)>>>0)/255|0)|0;f=i+(((O(f,w)|0)>>>0)/255|0)|0;e=k+(((O(e,w)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=i+f|0;g=h+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(h,g)|0)>>>0)/255|0;f=((O(i,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g|j<<24;if(!m)break a;else{b=b+4|0;d=d+4|0;m=m+-1|0}}}while(0);d=n+(c[v>>2]|0)|0;b=o+(c[q>>2]|0)|0;w=c[s>>2]|0;c[s>>2]=w+-1;if(!w)break;else{n=d;o=b}}c[a>>2]=d;c[t>>2]=b;return}function JF(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;b=c[a+52>>2]|0;z=a+28|0;y=c[z>>2]|0;A=(c[a+8>>2]<<16|0)/(y|0)|0;u=a+24|0;e=c[u>>2]|0;v=(c[a+4>>2]<<16|0)/(e|0)|0;d=y+-1|0;c[z>>2]=d;if(!y)return;w=a+20|0;x=a+32|0;y=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[w>>2]|0;f=0;g=0;r=q;b=d;d=q;while(1){if((f|0)>65535){p=f+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=g+1+q|0}else{p=f;q=g}if(e){b=0;f=65536;g=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;g=g+1+f|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(g<<2)|0;f=o-(f<<16)|0}o=c[b>>2]|0;k=o>>>16&255;m=o>>>8&255;l=o&255;o=o>>>24;n=c[d>>2]|0;h=n>>>16&255;i=n>>>8&255;j=n&255;n=n>>>24;if(y&(o|0)!=255){k=((O(k,o)|0)>>>0)/255|0;m=((O(m,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{B=o^255;n=(((O(B,n)|0)>>>0)/255|0)+o|0;j=l+(((O(B,j)|0)>>>0)/255|0)|0;i=m+(((O(i,B)|0)>>>0)/255|0)|0;h=k+(((O(h,B)|0)>>>0)/255|0)|0;break}case 32:{h=k+h|0;i=m+i|0;j=l+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((O(l,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;break}default:{}}c[d>>2]=i<<8|h<<16|j|n<<24;if(!e)break;else{d=d+4|0;f=f+v|0}}b=c[z>>2]|0}e=r+(c[x>>2]|0)|0;d=b+-1|0;c[z>>2]=d;if(!b)break;f=p+A|0;g=q;r=e;b=d;d=e;e=c[u>>2]|0}c[w>>2]=e;return}function KF(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;b=c[a+52>>2]|0;r=d[a+60>>0]|0;s=d[a+61>>0]|0;j=d[a+62>>0]|0;k=d[a+63>>0]|0;l=a+28|0;q=c[l>>2]|0;c[l>>2]=q+-1;if(!q)return;m=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;q=(b&1|0)==0;g=(b&2|0)==0;e=c[a>>2]|0;f=c[m>>2]|0;h=e;i=f;while(1){t=c[n>>2]|0;b=t+-1|0;if(t|0)if(q)while(1){t=c[e>>2]|0;v=t>>>24;u=((O(v,k)|0)>>>0)/255|0;c[f>>2]=t&16711680|(g?v:u)<<24|t&65280|t&255;if(!b)break;else{f=f+4|0;e=e+4|0;b=b+-1|0}}else while(1){v=c[e>>2]|0;w=v>>>24;x=((O(v>>>16&255,r)|0)>>>0)/255|0;u=((O(v>>>8&255,s)|0)>>>0)/255|0;v=((O(v&255,j)|0)>>>0)/255|0;t=((O(w,k)|0)>>>0)/255|0;c[f>>2]=x<<16|(g?w:t)<<24|u<<8|v;if(!b)break;else{f=f+4|0;e=e+4|0;b=b+-1|0}}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;x=c[l>>2]|0;c[l>>2]=x+-1;if(!x)break;else{h=e;i=b;f=b}}c[a>>2]=e;c[m>>2]=b;return}function LF(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;b=c[a+52>>2]|0;w=d[a+60>>0]|0;x=d[a+61>>0]|0;n=d[a+62>>0]|0;o=d[a+63>>0]|0;p=a+28|0;v=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(v|0)|0;r=a+24|0;e=c[r>>2]|0;s=(c[a+4>>2]<<16|0)/(e|0)|0;c[p>>2]=v+-1;if(!v)return;t=a+20|0;u=a+32|0;v=(b&1|0)==0;l=(b&2|0)==0;m=a+12|0;b=c[t>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(v){e=0;h=65536;i=-1;while(1){if((h|0)>65535){y=h+-65536|0;h=y>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=y-(h<<16)|0}y=c[e>>2]|0;A=y>>>24;z=((O(A,o)|0)>>>0)/255|0;c[b>>2]=y&65280|(l?A:z)<<24|y&255|y&16711680;if(!j)break;else{b=b+4|0;h=h+s|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){A=h+-65536|0;h=A>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=A-(h<<16)|0}z=c[e>>2]|0;B=z>>>24;A=((O(z>>>16&255,w)|0)>>>0)/255|0;C=((O(z>>>8&255,x)|0)>>>0)/255|0;z=((O(z&255,n)|0)>>>0)/255|0;y=((O(B,o)|0)>>>0)/255|0;c[b>>2]=C<<8|(l?B:y)<<24|z|A<<16;if(!j)break;else{b=b+4|0;h=h+s|0;j=j+-1|0}}}b=k+(c[u>>2]|0)|0;C=c[p>>2]|0;c[p>>2]=C+-1;if(!C)break;f=f+q|0;k=b;e=c[r>>2]|0}c[t>>2]=b;return}function MF(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;b=c[a+52>>2]|0;B=d[a+60>>0]|0;C=d[a+61>>0]|0;r=d[a+62>>0]|0;s=d[a+63>>0]|0;t=a+28|0;A=c[t>>2]|0;e=A+-1|0;c[t>>2]=e;if(!A)return;u=a+20|0;v=a+24|0;w=a+12|0;x=a+32|0;y=(b&1|0)==0;z=(b&2|0)==0;A=(b&48|0)!=0;q=b&112;o=c[a>>2]|0;b=c[u>>2]|0;p=b;f=o;while(1){g=c[v>>2]|0;if(!g)f=e;else{while(1){g=g+-1|0;n=c[f>>2]|0;m=n>>>16&255;k=n>>>8&255;j=n&255;n=n>>>24;l=c[b>>2]|0;e=l>>>16&255;h=l>>>8&255;i=l&255;l=l>>>24;if(!y){j=((O(j,r)|0)>>>0)/255|0;k=((O(k,C)|0)>>>0)/255|0;m=((O(m,B)|0)>>>0)/255|0}D=((O(n,s)|0)>>>0)/255|0;n=z?n:D;if(A&n>>>0<255){j=((O(j,n)|0)>>>0)/255|0;k=((O(k,n)|0)>>>0)/255|0;m=((O(m,n)|0)>>>0)/255|0}switch(q&127){case 16:{D=255-n|0;l=(((O(D,l)|0)>>>0)/255|0)+n|0;i=j+(((O(D,i)|0)>>>0)/255|0)|0;h=k+(((O(D,h)|0)>>>0)/255|0)|0;e=m+(((O(D,e)|0)>>>0)/255|0)|0;break}case 32:{e=m+e|0;h=k+h|0;i=j+i|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;e=e>>>0<255?e:255;break}case 64:{i=((O(j,i)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;e=((O(m,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=h<<8|e<<16|i|l<<24;if(!g)break;else{b=b+4|0;f=f+4|0}}f=c[t>>2]|0}g=o+(c[w>>2]|0)|0;b=p+(c[x>>2]|0)|0;e=f+-1|0;c[t>>2]=e;if(!f)break;else{p=b;f=g;o=g}}c[a>>2]=g;c[u>>2]=b;return}function NF(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;b=c[a+52>>2]|0;G=d[a+60>>0]|0;H=d[a+61>>0]|0;v=d[a+62>>0]|0;w=d[a+63>>0]|0;x=a+28|0;F=c[x>>2]|0;y=(c[a+8>>2]<<16|0)/(F|0)|0;z=a+24|0;f=c[z>>2]|0;A=(c[a+4>>2]<<16|0)/(f|0)|0;e=F+-1|0;c[x>>2]=e;if(!F)return;B=a+20|0;C=a+32|0;D=(b&1|0)==0;E=(b&2|0)==0;F=(b&48|0)!=0;u=b&112;t=a+12|0;r=c[B>>2]|0;g=0;h=0;s=r;b=e;e=r;while(1){if((g|0)>65535){q=g+-65536|0;r=q>>>16;q=q-(r<<16)|0;r=h+1+r|0}else{q=g;r=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){p=g+-65536|0;g=p>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[t>>2]|0,r)|0)+(h<<2)|0;g=p-(g<<16)|0}p=c[b>>2]|0;l=p>>>16&255;n=p>>>8&255;m=p&255;p=p>>>24;o=c[e>>2]|0;i=o>>>16&255;j=o>>>8&255;k=o&255;o=o>>>24;if(!D){l=((O(l,G)|0)>>>0)/255|0;n=((O(n,H)|0)>>>0)/255|0;m=((O(m,v)|0)>>>0)/255|0}I=((O(p,w)|0)>>>0)/255|0;p=E?p:I;if(F&p>>>0<255){l=((O(l,p)|0)>>>0)/255|0;n=((O(n,p)|0)>>>0)/255|0;m=((O(m,p)|0)>>>0)/255|0}switch(u&127){case 16:{I=255-p|0;o=(((O(I,o)|0)>>>0)/255|0)+p|0;k=m+(((O(I,k)|0)>>>0)/255|0)|0;j=n+(((O(I,j)|0)>>>0)/255|0)|0;i=l+(((O(I,i)|0)>>>0)/255|0)|0;break}case 32:{i=l+i|0;j=n+j|0;k=m+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(m,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(l,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i<<16|k|o<<24;if(!f)break;else{e=e+4|0;g=g+A|0}}b=c[x>>2]|0}f=s+(c[C>>2]|0)|0;e=b+-1|0;c[x>>2]=e;if(!b)break;g=q+y|0;h=r;s=f;b=e;e=f;f=c[z>>2]|0}c[B>>2]=f;return}function OF(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}s=c[d>>2]|0;r=s>>>8;c[e>>2]=s>>>24<<16|r&65280|r&255;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function PF(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;d=c[a>>2]|0;b=c[s>>2]|0;m=d;n=b;while(1){l=c[t>>2]|0;e=l+-1|0;a:do if(l|0){if(q){l=e;while(1){h=c[d>>2]|0;k=h>>>24;j=h>>>16&255;i=h>>>8&255;g=c[b>>2]|0;e=g>>>16&255;f=g>>>8&255;g=g&255;switch(o&127){case 16:{h=h&255^255;g=i+(((O(h,g)|0)>>>0)/255|0)|0;f=j+(((O(f,h)|0)>>>0)/255|0)|0;e=k+(((O(e,h)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}else l=e;while(1){k=c[d>>2]|0;h=k>>>24;j=k>>>16&255;i=k>>>8&255;k=k&255;g=c[b>>2]|0;e=g>>>16&255;f=g>>>8&255;g=g&255;if((k|0)!=255){h=((O(h,k)|0)>>>0)/255|0;i=((O(i,k)|0)>>>0)/255|0;j=((O(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((O(k,g)|0)>>>0)/255|0)|0;f=j+(((O(f,k)|0)>>>0)/255|0)|0;e=h+(((O(e,k)|0)>>>0)/255|0)|0;break}case 32:{e=h+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(h,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}while(0);d=m+(c[u>>2]|0)|0;b=n+(c[p>>2]|0)|0;n=c[r>>2]|0;c[r>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[s>>2]=b;return}function QF(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;t=a+24|0;e=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(e|0)|0;d=x+-1|0;c[y>>2]=d;if(!x)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;s=b&112;r=a+12|0;p=c[v>>2]|0;g=0;h=0;b=p;while(1){if((g|0)>65535){g=g+-65536|0;q=g>>>16;g=g-(q<<16)|0;q=h+1+q|0}else q=h;if(!e)b=d;else{d=0;f=65536;h=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;h=h+1+f|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,q)|0)+(h<<2)|0;f=o-(f<<16)|0}o=c[d>>2]|0;m=o>>>24;n=o>>>16&255;l=o>>>8&255;o=o&255;k=c[b>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(x&(o|0)!=255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{o=o^255;k=l+(((O(o,k)|0)>>>0)/255|0)|0;j=n+(((O(j,o)|0)>>>0)/255|0)|0;i=m+(((O(i,o)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[b>>2]=j<<8|i<<16|k;if(!e)break;else{b=b+4|0;f=f+u|0}}b=c[y>>2]|0}f=p+(c[w>>2]|0)|0;d=b+-1|0;c[y>>2]=d;if(!b)break;g=g+z|0;h=q;b=f;e=c[t>>2]|0;p=f}c[v>>2]=f;return}function RF(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;k=c[e>>2]|0;l=k>>>8;c[b>>2]=l&65280|k>>>24<<16|l&255;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>16&255,l)|0)>>>0)/255|0)<<8|(((O(g>>>24,k)|0)>>>0)/255|0)<<16|(((O(g>>>8&255,j)|0)>>>0)/255|0);if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function SF(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=c[s>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(l){e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=w>>>8&65535|w>>>24<<16;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=((O(w>>>8&255,n)|0)>>>0)/255|0|(((O(w>>>16&255,v)|0)>>>0)/255|0)<<8|(((O(w>>>24,u)|0)>>>0)/255|0)<<16;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;k=b;e=c[q>>2]|0}c[s>>2]=b;return}function TF(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;b=c[a+52>>2]|0;A=d[a+60>>0]|0;B=d[a+61>>0]|0;q=d[a+62>>0]|0;r=d[a+63>>0]|0;s=a+28|0;z=c[s>>2]|0;e=z+-1|0;c[s>>2]=e;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;n=c[a>>2]|0;o=c[t>>2]|0;h=o;i=n;while(1){b=c[u>>2]|0;if(!b)b=e;else{m=b;while(1){m=m+-1|0;l=c[i>>2]|0;k=l>>>24;j=l>>>16&255;g=l>>>8&255;l=l&255;f=c[h>>2]|0;b=f>>>16&255;e=f>>>8&255;f=f&255;if(!x){g=((O(g,q)|0)>>>0)/255|0;j=((O(j,B)|0)>>>0)/255|0;k=((O(k,A)|0)>>>0)/255|0}C=((O(l,r)|0)>>>0)/255|0;l=y?l:C;if(z&l>>>0<255){g=((O(g,l)|0)>>>0)/255|0;j=((O(j,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-l|0;f=g+(((O(C,f)|0)>>>0)/255|0)|0;e=j+(((O(C,e)|0)>>>0)/255|0)|0;b=k+(((O(C,b)|0)>>>0)/255|0)|0;break}case 32:{b=k+b|0;e=j+e|0;f=g+f|0;f=f>>>0<255?f:255;e=e>>>0<255?e:255;b=b>>>0<255?b:255;break}case 64:{f=((O(g,f)|0)>>>0)/255|0;e=((O(j,e)|0)>>>0)/255|0;b=((O(k,b)|0)>>>0)/255|0;break}default:{}}c[h>>2]=e<<8|b<<16|f;if(!m)break;else{h=h+4|0;i=i+4|0}}b=c[s>>2]|0}f=n+(c[v>>2]|0)|0;g=o+(c[w>>2]|0)|0;e=b+-1|0;c[s>>2]=e;if(!b)break;else{h=g;i=f;n=f;o=g}}c[a>>2]=f;c[t>>2]=g;return}function UF(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;b=c[a+52>>2]|0;F=d[a+60>>0]|0;G=d[a+61>>0]|0;u=d[a+62>>0]|0;v=d[a+63>>0]|0;w=a+28|0;E=c[w>>2]|0;x=(c[a+8>>2]<<16|0)/(E|0)|0;y=a+24|0;f=c[y>>2]|0;z=(c[a+4>>2]<<16|0)/(f|0)|0;e=E+-1|0;c[w>>2]=e;if(!E)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=(b&2|0)==0;E=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[A>>2]|0;g=0;h=0;r=q;b=e;e=q;while(1){if((g|0)>65535){p=g+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=h+1+q|0}else{p=g;q=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[b>>2]|0;m=o>>>24;n=o>>>16&255;l=o>>>8&255;o=o&255;k=c[e>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(!C){m=((O(m,F)|0)>>>0)/255|0;n=((O(n,G)|0)>>>0)/255|0;l=((O(l,u)|0)>>>0)/255|0}H=((O(o,v)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{H=255-o|0;k=l+(((O(H,k)|0)>>>0)/255|0)|0;j=n+(((O(H,j)|0)>>>0)/255|0)|0;i=m+(((O(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i<<16|k;if(!f)break;else{e=e+4|0;g=g+z|0}}b=c[w>>2]|0}f=r+(c[B>>2]|0)|0;e=b+-1|0;c[w>>2]=e;if(!b)break;g=p+x|0;h=q;r=f;b=e;e=f;f=c[y>>2]|0}c[A>>2]=f;return}function VF(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}r=c[d>>2]|0;c[e>>2]=r>>>8&65280|r>>>24|r<<8&16711680;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function WF(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;d=c[a>>2]|0;b=c[s>>2]|0;m=d;n=b;while(1){l=c[t>>2]|0;e=l+-1|0;a:do if(l|0){if(q){l=e;while(1){h=c[d>>2]|0;k=h>>>24;j=h>>>16&255;i=h>>>8&255;e=c[b>>2]|0;g=e>>>16&255;f=e>>>8&255;e=e&255;switch(o&127){case 16:{h=h&255^255;g=i+(((O(g,h)|0)>>>0)/255|0)|0;f=j+(((O(f,h)|0)>>>0)/255|0)|0;e=k+(((O(h,e)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e|g<<16;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}else l=e;while(1){k=c[d>>2]|0;h=k>>>24;j=k>>>16&255;i=k>>>8&255;k=k&255;e=c[b>>2]|0;g=e>>>16&255;f=e>>>8&255;e=e&255;if((k|0)!=255){h=((O(h,k)|0)>>>0)/255|0;i=((O(i,k)|0)>>>0)/255|0;j=((O(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((O(g,k)|0)>>>0)/255|0)|0;f=j+(((O(f,k)|0)>>>0)/255|0)|0;e=h+(((O(k,e)|0)>>>0)/255|0)|0;break}case 32:{e=h+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(h,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e|g<<16;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}while(0);d=m+(c[u>>2]|0)|0;b=n+(c[p>>2]|0)|0;n=c[r>>2]|0;c[r>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[s>>2]=b;return}function XF(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;t=a+24|0;e=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(e|0)|0;d=x+-1|0;c[y>>2]=d;if(!x)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;s=b&112;r=a+12|0;p=c[v>>2]|0;g=0;h=0;b=p;while(1){if((g|0)>65535){g=g+-65536|0;q=g>>>16;g=g-(q<<16)|0;q=h+1+q|0}else q=h;if(!e)b=d;else{d=0;f=65536;h=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;h=h+1+f|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,q)|0)+(h<<2)|0;f=o-(f<<16)|0}o=c[d>>2]|0;m=o>>>24;n=o>>>16&255;l=o>>>8&255;o=o&255;i=c[b>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(x&(o|0)!=255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{o=o^255;k=l+(((O(k,o)|0)>>>0)/255|0)|0;j=n+(((O(j,o)|0)>>>0)/255|0)|0;i=m+(((O(o,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[b>>2]=j<<8|i|k<<16;if(!e)break;else{b=b+4|0;f=f+u|0}}b=c[y>>2]|0}f=p+(c[w>>2]|0)|0;d=b+-1|0;c[y>>2]=d;if(!b)break;g=g+z|0;h=q;b=f;e=c[t>>2]|0;p=f}c[v>>2]=f;return}function YF(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;l=c[e>>2]|0;c[b>>2]=l>>>8&65280|l>>>24|l<<8&16711680;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>16&255,l)|0)>>>0)/255|0)<<8|(((O(g>>>24,k)|0)>>>0)/255|0)|(((O(g>>>8&255,j)|0)>>>0)/255|0)<<16;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function ZF(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=c[s>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(l){e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=w<<8&16711680|w>>>8&65280|w>>>24;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=(((O(w>>>8&255,n)|0)>>>0)/255|0)<<16|(((O(w>>>16&255,v)|0)>>>0)/255|0)<<8|(((O(w>>>24,u)|0)>>>0)/255|0);if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;k=b;e=c[q>>2]|0}c[s>>2]=b;return}function _F(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;b=c[a+52>>2]|0;A=d[a+60>>0]|0;B=d[a+61>>0]|0;q=d[a+62>>0]|0;r=d[a+63>>0]|0;s=a+28|0;z=c[s>>2]|0;e=z+-1|0;c[s>>2]=e;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;n=c[a>>2]|0;o=c[t>>2]|0;h=o;i=n;while(1){b=c[u>>2]|0;if(!b)b=e;else{m=b;while(1){m=m+-1|0;l=c[i>>2]|0;k=l>>>24;j=l>>>16&255;g=l>>>8&255;l=l&255;b=c[h>>2]|0;f=b>>>16&255;e=b>>>8&255;b=b&255;if(!x){g=((O(g,q)|0)>>>0)/255|0;j=((O(j,B)|0)>>>0)/255|0;k=((O(k,A)|0)>>>0)/255|0}C=((O(l,r)|0)>>>0)/255|0;l=y?l:C;if(z&l>>>0<255){g=((O(g,l)|0)>>>0)/255|0;j=((O(j,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-l|0;f=g+(((O(C,f)|0)>>>0)/255|0)|0;e=j+(((O(C,e)|0)>>>0)/255|0)|0;b=k+(((O(C,b)|0)>>>0)/255|0)|0;break}case 32:{b=k+b|0;e=j+e|0;f=g+f|0;f=f>>>0<255?f:255;e=e>>>0<255?e:255;b=b>>>0<255?b:255;break}case 64:{f=((O(g,f)|0)>>>0)/255|0;e=((O(j,e)|0)>>>0)/255|0;b=((O(k,b)|0)>>>0)/255|0;break}default:{}}c[h>>2]=e<<8|b|f<<16;if(!m)break;else{h=h+4|0;i=i+4|0}}b=c[s>>2]|0}f=n+(c[v>>2]|0)|0;g=o+(c[w>>2]|0)|0;e=b+-1|0;c[s>>2]=e;if(!b)break;else{h=g;i=f;n=f;o=g}}c[a>>2]=f;c[t>>2]=g;return}function $F(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;b=c[a+52>>2]|0;F=d[a+60>>0]|0;G=d[a+61>>0]|0;u=d[a+62>>0]|0;v=d[a+63>>0]|0;w=a+28|0;E=c[w>>2]|0;x=(c[a+8>>2]<<16|0)/(E|0)|0;y=a+24|0;f=c[y>>2]|0;z=(c[a+4>>2]<<16|0)/(f|0)|0;e=E+-1|0;c[w>>2]=e;if(!E)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=(b&2|0)==0;E=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[A>>2]|0;g=0;h=0;r=q;b=e;e=q;while(1){if((g|0)>65535){p=g+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=h+1+q|0}else{p=g;q=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[b>>2]|0;m=o>>>24;n=o>>>16&255;l=o>>>8&255;o=o&255;i=c[e>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(!C){m=((O(m,F)|0)>>>0)/255|0;n=((O(n,G)|0)>>>0)/255|0;l=((O(l,u)|0)>>>0)/255|0}H=((O(o,v)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{H=255-o|0;k=l+(((O(H,k)|0)>>>0)/255|0)|0;j=n+(((O(H,j)|0)>>>0)/255|0)|0;i=m+(((O(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i|k<<16;if(!f)break;else{e=e+4|0;g=g+z|0}}b=c[w>>2]|0}f=r+(c[B>>2]|0)|0;e=b+-1|0;c[w>>2]=e;if(!b)break;g=p+x|0;h=q;r=f;b=e;e=f;f=c[y>>2]|0}c[A>>2]=f;return}function aG(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}s=c[d>>2]|0;r=s>>>8;c[e>>2]=s>>>24<<16|s<<24|r&65280|r&255;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function bG(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;b=c[a+52>>2]|0;s=a+28|0;v=c[s>>2]|0;c[s>>2]=v+-1;if(!v)return;t=a+20|0;u=a+24|0;v=a+12|0;q=a+32|0;r=(b&48|0)==0;p=b&112;d=c[a>>2]|0;b=c[t>>2]|0;n=d;o=b;while(1){m=c[u>>2]|0;e=m+-1|0;a:do if(m|0){if(r){m=e;while(1){h=c[d>>2]|0;l=h>>>24;k=h>>>16&255;j=h>>>8&255;h=h&255;i=c[b>>2]|0;e=i>>>16&255;f=i>>>8&255;g=i&255;i=i>>>24;switch(p&127){case 16:{w=h^255;i=(((O(w,i)|0)>>>0)/255|0)+h|0;g=j+(((O(w,g)|0)>>>0)/255|0)|0;f=k+(((O(f,w)|0)>>>0)/255|0)|0;e=l+(((O(e,w)|0)>>>0)/255|0)|0;break}case 32:{e=l+e|0;f=k+f|0;g=j+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(j,g)|0)>>>0)/255|0;f=((O(k,f)|0)>>>0)/255|0;e=((O(l,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g|i<<24;if(!m)break a;else{b=b+4|0;d=d+4|0;m=m+-1|0}}}else m=e;while(1){l=c[d>>2]|0;k=l>>>24;i=l>>>16&255;h=l>>>8&255;l=l&255;j=c[b>>2]|0;e=j>>>16&255;f=j>>>8&255;g=j&255;j=j>>>24;if((l|0)!=255){h=((O(h,l)|0)>>>0)/255|0;i=((O(i,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{w=l^255;j=(((O(w,j)|0)>>>0)/255|0)+l|0;g=h+(((O(w,g)|0)>>>0)/255|0)|0;f=i+(((O(f,w)|0)>>>0)/255|0)|0;e=k+(((O(e,w)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=i+f|0;g=h+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(h,g)|0)>>>0)/255|0;f=((O(i,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g|j<<24;if(!m)break a;else{b=b+4|0;d=d+4|0;m=m+-1|0}}}while(0);d=n+(c[v>>2]|0)|0;b=o+(c[q>>2]|0)|0;w=c[s>>2]|0;c[s>>2]=w+-1;if(!w)break;else{n=d;o=b}}c[a>>2]=d;c[t>>2]=b;return}function cG(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;b=c[a+52>>2]|0;z=a+28|0;y=c[z>>2]|0;A=(c[a+8>>2]<<16|0)/(y|0)|0;u=a+24|0;e=c[u>>2]|0;v=(c[a+4>>2]<<16|0)/(e|0)|0;d=y+-1|0;c[z>>2]=d;if(!y)return;w=a+20|0;x=a+32|0;y=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[w>>2]|0;f=0;g=0;r=q;b=d;d=q;while(1){if((f|0)>65535){p=f+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=g+1+q|0}else{p=f;q=g}if(e){b=0;f=65536;g=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;g=g+1+f|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(g<<2)|0;f=o-(f<<16)|0}o=c[b>>2]|0;k=o>>>24;m=o>>>16&255;l=o>>>8&255;o=o&255;n=c[d>>2]|0;h=n>>>16&255;i=n>>>8&255;j=n&255;n=n>>>24;if(y&(o|0)!=255){k=((O(k,o)|0)>>>0)/255|0;m=((O(m,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{B=o^255;n=(((O(B,n)|0)>>>0)/255|0)+o|0;j=l+(((O(B,j)|0)>>>0)/255|0)|0;i=m+(((O(i,B)|0)>>>0)/255|0)|0;h=k+(((O(h,B)|0)>>>0)/255|0)|0;break}case 32:{h=k+h|0;i=m+i|0;j=l+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((O(l,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;break}default:{}}c[d>>2]=i<<8|h<<16|j|n<<24;if(!e)break;else{d=d+4|0;f=f+v|0}}b=c[z>>2]|0}e=r+(c[x>>2]|0)|0;d=b+-1|0;c[z>>2]=d;if(!b)break;f=p+A|0;g=q;r=e;b=d;d=e;e=c[u>>2]|0}c[w>>2]=e;return}function dG(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;b=c[a+52>>2]|0;r=d[a+60>>0]|0;s=d[a+61>>0]|0;j=d[a+62>>0]|0;k=d[a+63>>0]|0;l=a+28|0;q=c[l>>2]|0;c[l>>2]=q+-1;if(!q)return;m=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;q=(b&1|0)==0;g=(b&2|0)==0;e=c[a>>2]|0;f=c[m>>2]|0;h=e;i=f;while(1){t=c[n>>2]|0;b=t+-1|0;if(t|0)if(q)while(1){v=c[e>>2]|0;t=v>>>8;u=((O(v&255,k)|0)>>>0)/255|0;c[f>>2]=v>>>24<<16|(g?v:u)<<24|t&65280|t&255;if(!b)break;else{f=f+4|0;e=e+4|0;b=b+-1|0}}else while(1){w=c[e>>2]|0;x=((O(w>>>24,r)|0)>>>0)/255|0;u=((O(w>>>16&255,s)|0)>>>0)/255|0;v=((O(w>>>8&255,j)|0)>>>0)/255|0;t=((O(w&255,k)|0)>>>0)/255|0;c[f>>2]=x<<16|(g?w:t)<<24|u<<8|v;if(!b)break;else{f=f+4|0;e=e+4|0;b=b+-1|0}}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;x=c[l>>2]|0;c[l>>2]=x+-1;if(!x)break;else{h=e;i=b;f=b}}c[a>>2]=e;c[m>>2]=b;return}function eG(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;b=c[a+52>>2]|0;w=d[a+60>>0]|0;x=d[a+61>>0]|0;n=d[a+62>>0]|0;o=d[a+63>>0]|0;p=a+28|0;v=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(v|0)|0;r=a+24|0;e=c[r>>2]|0;s=(c[a+4>>2]<<16|0)/(e|0)|0;c[p>>2]=v+-1;if(!v)return;t=a+20|0;u=a+32|0;v=(b&1|0)==0;l=(b&2|0)==0;m=a+12|0;b=c[t>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(v){e=0;h=65536;i=-1;while(1){if((h|0)>65535){y=h+-65536|0;h=y>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=y-(h<<16)|0}y=c[e>>2]|0;z=y>>>8;A=((O(y&255,o)|0)>>>0)/255|0;c[b>>2]=z&65280|(l?y:A)<<24|z&255|y>>>24<<16;if(!j)break;else{b=b+4|0;h=h+s|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){A=h+-65536|0;h=A>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=A-(h<<16)|0}B=c[e>>2]|0;A=((O(B>>>24,w)|0)>>>0)/255|0;C=((O(B>>>16&255,x)|0)>>>0)/255|0;z=((O(B>>>8&255,n)|0)>>>0)/255|0;y=((O(B&255,o)|0)>>>0)/255|0;c[b>>2]=C<<8|(l?B:y)<<24|z|A<<16;if(!j)break;else{b=b+4|0;h=h+s|0;j=j+-1|0}}}b=k+(c[u>>2]|0)|0;C=c[p>>2]|0;c[p>>2]=C+-1;if(!C)break;f=f+q|0;k=b;e=c[r>>2]|0}c[t>>2]=b;return}function fG(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;b=c[a+52>>2]|0;B=d[a+60>>0]|0;C=d[a+61>>0]|0;r=d[a+62>>0]|0;s=d[a+63>>0]|0;t=a+28|0;A=c[t>>2]|0;e=A+-1|0;c[t>>2]=e;if(!A)return;u=a+20|0;v=a+24|0;w=a+12|0;x=a+32|0;y=(b&1|0)==0;z=(b&2|0)==0;A=(b&48|0)!=0;q=b&112;o=c[a>>2]|0;b=c[u>>2]|0;p=b;f=o;while(1){g=c[v>>2]|0;if(!g)f=e;else{while(1){g=g+-1|0;n=c[f>>2]|0;m=n>>>24;k=n>>>16&255;j=n>>>8&255;n=n&255;l=c[b>>2]|0;e=l>>>16&255;h=l>>>8&255;i=l&255;l=l>>>24;if(!y){j=((O(j,r)|0)>>>0)/255|0;k=((O(k,C)|0)>>>0)/255|0;m=((O(m,B)|0)>>>0)/255|0}D=((O(n,s)|0)>>>0)/255|0;n=z?n:D;if(A&n>>>0<255){j=((O(j,n)|0)>>>0)/255|0;k=((O(k,n)|0)>>>0)/255|0;m=((O(m,n)|0)>>>0)/255|0}switch(q&127){case 16:{D=255-n|0;l=(((O(D,l)|0)>>>0)/255|0)+n|0;i=j+(((O(D,i)|0)>>>0)/255|0)|0;h=k+(((O(D,h)|0)>>>0)/255|0)|0;e=m+(((O(D,e)|0)>>>0)/255|0)|0;break}case 32:{e=m+e|0;h=k+h|0;i=j+i|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;e=e>>>0<255?e:255;break}case 64:{i=((O(j,i)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;e=((O(m,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=h<<8|e<<16|i|l<<24;if(!g)break;else{b=b+4|0;f=f+4|0}}f=c[t>>2]|0}g=o+(c[w>>2]|0)|0;b=p+(c[x>>2]|0)|0;e=f+-1|0;c[t>>2]=e;if(!f)break;else{p=b;f=g;o=g}}c[a>>2]=g;c[u>>2]=b;return}function gG(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;b=c[a+52>>2]|0;G=d[a+60>>0]|0;H=d[a+61>>0]|0;v=d[a+62>>0]|0;w=d[a+63>>0]|0;x=a+28|0;F=c[x>>2]|0;y=(c[a+8>>2]<<16|0)/(F|0)|0;z=a+24|0;f=c[z>>2]|0;A=(c[a+4>>2]<<16|0)/(f|0)|0;e=F+-1|0;c[x>>2]=e;if(!F)return;B=a+20|0;C=a+32|0;D=(b&1|0)==0;E=(b&2|0)==0;F=(b&48|0)!=0;u=b&112;t=a+12|0;r=c[B>>2]|0;g=0;h=0;s=r;b=e;e=r;while(1){if((g|0)>65535){q=g+-65536|0;r=q>>>16;q=q-(r<<16)|0;r=h+1+r|0}else{q=g;r=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){p=g+-65536|0;g=p>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[t>>2]|0,r)|0)+(h<<2)|0;g=p-(g<<16)|0}p=c[b>>2]|0;l=p>>>24;n=p>>>16&255;m=p>>>8&255;p=p&255;o=c[e>>2]|0;i=o>>>16&255;j=o>>>8&255;k=o&255;o=o>>>24;if(!D){l=((O(l,G)|0)>>>0)/255|0;n=((O(n,H)|0)>>>0)/255|0;m=((O(m,v)|0)>>>0)/255|0}I=((O(p,w)|0)>>>0)/255|0;p=E?p:I;if(F&p>>>0<255){l=((O(l,p)|0)>>>0)/255|0;n=((O(n,p)|0)>>>0)/255|0;m=((O(m,p)|0)>>>0)/255|0}switch(u&127){case 16:{I=255-p|0;o=(((O(I,o)|0)>>>0)/255|0)+p|0;k=m+(((O(I,k)|0)>>>0)/255|0)|0;j=n+(((O(I,j)|0)>>>0)/255|0)|0;i=l+(((O(I,i)|0)>>>0)/255|0)|0;break}case 32:{i=l+i|0;j=n+j|0;k=m+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(m,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(l,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i<<16|k|o<<24;if(!f)break;else{e=e+4|0;g=g+A|0}}b=c[x>>2]|0}f=s+(c[C>>2]|0)|0;e=b+-1|0;c[x>>2]=e;if(!b)break;g=q+y|0;h=r;s=f;b=e;e=f;f=c[z>>2]|0}c[B>>2]=f;return}function hG(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}r=c[d>>2]|0;c[e>>2]=r<<16&16711680|r&65280|r>>>16&255;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function iG(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;d=c[a>>2]|0;b=c[s>>2]|0;m=d;n=b;while(1){l=c[t>>2]|0;e=l+-1|0;a:do if(l|0){if(q){l=e;while(1){h=c[d>>2]|0;i=h>>>16&255;j=h>>>8&255;k=h&255;g=c[b>>2]|0;e=g>>>16&255;f=g>>>8&255;g=g&255;switch(o&127){case 16:{h=h>>>24^255;g=i+(((O(h,g)|0)>>>0)/255|0)|0;f=j+(((O(f,h)|0)>>>0)/255|0)|0;e=k+(((O(e,h)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}else l=e;while(1){k=c[d>>2]|0;i=k>>>16&255;j=k>>>8&255;h=k&255;k=k>>>24;g=c[b>>2]|0;e=g>>>16&255;f=g>>>8&255;g=g&255;if((k|0)!=255){h=((O(h,k)|0)>>>0)/255|0;i=((O(i,k)|0)>>>0)/255|0;j=((O(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((O(k,g)|0)>>>0)/255|0)|0;f=j+(((O(f,k)|0)>>>0)/255|0)|0;e=h+(((O(e,k)|0)>>>0)/255|0)|0;break}case 32:{e=h+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(h,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}while(0);d=m+(c[u>>2]|0)|0;b=n+(c[p>>2]|0)|0;n=c[r>>2]|0;c[r>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[s>>2]=b;return}function jG(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;t=a+24|0;e=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(e|0)|0;d=x+-1|0;c[y>>2]=d;if(!x)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;s=b&112;r=a+12|0;p=c[v>>2]|0;g=0;h=0;b=p;while(1){if((g|0)>65535){g=g+-65536|0;q=g>>>16;g=g-(q<<16)|0;q=h+1+q|0}else q=h;if(!e)b=d;else{d=0;f=65536;h=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;h=h+1+f|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,q)|0)+(h<<2)|0;f=o-(f<<16)|0}o=c[d>>2]|0;l=o>>>16&255;n=o>>>8&255;m=o&255;o=o>>>24;k=c[b>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(x&(o|0)!=255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{o=o^255;k=l+(((O(o,k)|0)>>>0)/255|0)|0;j=n+(((O(j,o)|0)>>>0)/255|0)|0;i=m+(((O(i,o)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[b>>2]=j<<8|i<<16|k;if(!e)break;else{b=b+4|0;f=f+u|0}}b=c[y>>2]|0}f=p+(c[w>>2]|0)|0;d=b+-1|0;c[y>>2]=d;if(!b)break;g=g+z|0;h=q;b=f;e=c[t>>2]|0;p=f}c[v>>2]=f;return}function kG(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;l=c[e>>2]|0;c[b>>2]=l&65280|l<<16&16711680|l>>>16&255;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>8&255,l)|0)>>>0)/255|0)<<8|(((O(g&255,k)|0)>>>0)/255|0)<<16|(((O(g>>>16&255,j)|0)>>>0)/255|0);if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function lG(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=c[s>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(l){e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=w>>>16&255|w&65280|w<<16&16711680;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=((O(w>>>16&255,n)|0)>>>0)/255|0|(((O(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((O(w&255,u)|0)>>>0)/255|0)<<16;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;k=b;e=c[q>>2]|0}c[s>>2]=b;return}function mG(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;b=c[a+52>>2]|0;A=d[a+60>>0]|0;B=d[a+61>>0]|0;q=d[a+62>>0]|0;r=d[a+63>>0]|0;s=a+28|0;z=c[s>>2]|0;e=z+-1|0;c[s>>2]=e;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;n=c[a>>2]|0;o=c[t>>2]|0;h=o;i=n;while(1){b=c[u>>2]|0;if(!b)b=e;else{m=b;while(1){m=m+-1|0;l=c[i>>2]|0;g=l>>>16&255;j=l>>>8&255;k=l&255;l=l>>>24;f=c[h>>2]|0;b=f>>>16&255;e=f>>>8&255;f=f&255;if(!x){g=((O(g,q)|0)>>>0)/255|0;j=((O(j,B)|0)>>>0)/255|0;k=((O(k,A)|0)>>>0)/255|0}C=((O(l,r)|0)>>>0)/255|0;l=y?l:C;if(z&l>>>0<255){g=((O(g,l)|0)>>>0)/255|0;j=((O(j,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-l|0;f=g+(((O(C,f)|0)>>>0)/255|0)|0;e=j+(((O(C,e)|0)>>>0)/255|0)|0;b=k+(((O(C,b)|0)>>>0)/255|0)|0;break}case 32:{b=k+b|0;e=j+e|0;f=g+f|0;f=f>>>0<255?f:255;e=e>>>0<255?e:255;b=b>>>0<255?b:255;break}case 64:{f=((O(g,f)|0)>>>0)/255|0;e=((O(j,e)|0)>>>0)/255|0;b=((O(k,b)|0)>>>0)/255|0;break}default:{}}c[h>>2]=e<<8|b<<16|f;if(!m)break;else{h=h+4|0;i=i+4|0}}b=c[s>>2]|0}f=n+(c[v>>2]|0)|0;g=o+(c[w>>2]|0)|0;e=b+-1|0;c[s>>2]=e;if(!b)break;else{h=g;i=f;n=f;o=g}}c[a>>2]=f;c[t>>2]=g;return}function nG(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;b=c[a+52>>2]|0;F=d[a+60>>0]|0;G=d[a+61>>0]|0;u=d[a+62>>0]|0;v=d[a+63>>0]|0;w=a+28|0;E=c[w>>2]|0;x=(c[a+8>>2]<<16|0)/(E|0)|0;y=a+24|0;f=c[y>>2]|0;z=(c[a+4>>2]<<16|0)/(f|0)|0;e=E+-1|0;c[w>>2]=e;if(!E)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=(b&2|0)==0;E=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[A>>2]|0;g=0;h=0;r=q;b=e;e=q;while(1){if((g|0)>65535){p=g+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=h+1+q|0}else{p=g;q=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[b>>2]|0;l=o>>>16&255;n=o>>>8&255;m=o&255;o=o>>>24;k=c[e>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(!C){m=((O(m,F)|0)>>>0)/255|0;n=((O(n,G)|0)>>>0)/255|0;l=((O(l,u)|0)>>>0)/255|0}H=((O(o,v)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{H=255-o|0;k=l+(((O(H,k)|0)>>>0)/255|0)|0;j=n+(((O(H,j)|0)>>>0)/255|0)|0;i=m+(((O(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i<<16|k;if(!f)break;else{e=e+4|0;g=g+z|0}}b=c[w>>2]|0}f=r+(c[B>>2]|0)|0;e=b+-1|0;c[w>>2]=e;if(!b)break;g=p+x|0;h=q;r=f;b=e;e=f;f=c[y>>2]|0}c[A>>2]=f;return}function oG(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}c[e>>2]=c[d>>2]&16777215;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function pG(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;d=c[a>>2]|0;b=c[s>>2]|0;m=d;n=b;while(1){l=c[t>>2]|0;e=l+-1|0;a:do if(l|0){if(q){l=e;while(1){h=c[d>>2]|0;i=h>>>16&255;j=h>>>8&255;k=h&255;e=c[b>>2]|0;g=e>>>16&255;f=e>>>8&255;e=e&255;switch(o&127){case 16:{h=h>>>24^255;g=i+(((O(g,h)|0)>>>0)/255|0)|0;f=j+(((O(f,h)|0)>>>0)/255|0)|0;e=k+(((O(h,e)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e|g<<16;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}else l=e;while(1){k=c[d>>2]|0;i=k>>>16&255;j=k>>>8&255;h=k&255;k=k>>>24;e=c[b>>2]|0;g=e>>>16&255;f=e>>>8&255;e=e&255;if((k|0)!=255){h=((O(h,k)|0)>>>0)/255|0;i=((O(i,k)|0)>>>0)/255|0;j=((O(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((O(g,k)|0)>>>0)/255|0)|0;f=j+(((O(f,k)|0)>>>0)/255|0)|0;e=h+(((O(k,e)|0)>>>0)/255|0)|0;break}case 32:{e=h+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(h,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e|g<<16;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}while(0);d=m+(c[u>>2]|0)|0;b=n+(c[p>>2]|0)|0;n=c[r>>2]|0;c[r>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[s>>2]=b;return}function qG(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;t=a+24|0;e=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(e|0)|0;d=x+-1|0;c[y>>2]=d;if(!x)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;s=b&112;r=a+12|0;p=c[v>>2]|0;g=0;h=0;b=p;while(1){if((g|0)>65535){g=g+-65536|0;q=g>>>16;g=g-(q<<16)|0;q=h+1+q|0}else q=h;if(!e)b=d;else{d=0;f=65536;h=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;h=h+1+f|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,q)|0)+(h<<2)|0;f=o-(f<<16)|0}o=c[d>>2]|0;l=o>>>16&255;n=o>>>8&255;m=o&255;o=o>>>24;i=c[b>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(x&(o|0)!=255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{o=o^255;k=l+(((O(k,o)|0)>>>0)/255|0)|0;j=n+(((O(j,o)|0)>>>0)/255|0)|0;i=m+(((O(o,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[b>>2]=j<<8|i|k<<16;if(!e)break;else{b=b+4|0;f=f+u|0}}b=c[y>>2]|0}f=p+(c[w>>2]|0)|0;d=b+-1|0;c[y>>2]=d;if(!b)break;g=g+z|0;h=q;b=f;e=c[t>>2]|0;p=f}c[v>>2]=f;return}function rG(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;c[b>>2]=c[e>>2]&16777215;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>8&255,l)|0)>>>0)/255|0)<<8|(((O(g&255,k)|0)>>>0)/255|0)|(((O(g>>>16&255,j)|0)>>>0)/255|0)<<16;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function sG(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;k=c[s>>2]|0;f=0;g=0;h=k;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}i=e+-1|0;if(e|0)if(l){j=h;b=0;e=65536;h=-1;while(1){if((e|0)>65535){w=e+-65536|0;e=w>>>16;h=h+1+e|0;b=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(h<<2)|0;e=w-(e<<16)|0}c[j>>2]=c[b>>2]&16777215;if(!i)break;else{j=j+4|0;e=e+r|0;i=i+-1|0}}}else{j=h;b=0;e=65536;h=-1;while(1){if((e|0)>65535){w=e+-65536|0;e=w>>>16;h=h+1+e|0;b=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(h<<2)|0;e=w-(e<<16)|0}w=c[b>>2]|0;c[j>>2]=(((O(w>>>16&255,n)|0)>>>0)/255|0)<<16|(((O(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((O(w&255,u)|0)>>>0)/255|0);if(!i)break;else{j=j+4|0;e=e+r|0;i=i+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;h=b;e=c[q>>2]|0;k=b}c[s>>2]=b;return}function tG(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;b=c[a+52>>2]|0;A=d[a+60>>0]|0;B=d[a+61>>0]|0;q=d[a+62>>0]|0;r=d[a+63>>0]|0;s=a+28|0;z=c[s>>2]|0;e=z+-1|0;c[s>>2]=e;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;n=c[a>>2]|0;o=c[t>>2]|0;h=o;i=n;while(1){b=c[u>>2]|0;if(!b)b=e;else{m=b;while(1){m=m+-1|0;l=c[i>>2]|0;g=l>>>16&255;j=l>>>8&255;k=l&255;l=l>>>24;b=c[h>>2]|0;f=b>>>16&255;e=b>>>8&255;b=b&255;if(!x){g=((O(g,q)|0)>>>0)/255|0;j=((O(j,B)|0)>>>0)/255|0;k=((O(k,A)|0)>>>0)/255|0}C=((O(l,r)|0)>>>0)/255|0;l=y?l:C;if(z&l>>>0<255){g=((O(g,l)|0)>>>0)/255|0;j=((O(j,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-l|0;f=g+(((O(C,f)|0)>>>0)/255|0)|0;e=j+(((O(C,e)|0)>>>0)/255|0)|0;b=k+(((O(C,b)|0)>>>0)/255|0)|0;break}case 32:{b=k+b|0;e=j+e|0;f=g+f|0;f=f>>>0<255?f:255;e=e>>>0<255?e:255;b=b>>>0<255?b:255;break}case 64:{f=((O(g,f)|0)>>>0)/255|0;e=((O(j,e)|0)>>>0)/255|0;b=((O(k,b)|0)>>>0)/255|0;break}default:{}}c[h>>2]=e<<8|b|f<<16;if(!m)break;else{h=h+4|0;i=i+4|0}}b=c[s>>2]|0}f=n+(c[v>>2]|0)|0;g=o+(c[w>>2]|0)|0;e=b+-1|0;c[s>>2]=e;if(!b)break;else{h=g;i=f;n=f;o=g}}c[a>>2]=f;c[t>>2]=g;return}function uG(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;b=c[a+52>>2]|0;F=d[a+60>>0]|0;G=d[a+61>>0]|0;u=d[a+62>>0]|0;v=d[a+63>>0]|0;w=a+28|0;E=c[w>>2]|0;x=(c[a+8>>2]<<16|0)/(E|0)|0;y=a+24|0;f=c[y>>2]|0;z=(c[a+4>>2]<<16|0)/(f|0)|0;e=E+-1|0;c[w>>2]=e;if(!E)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=(b&2|0)==0;E=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[A>>2]|0;g=0;h=0;r=q;b=e;e=q;while(1){if((g|0)>65535){p=g+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=h+1+q|0}else{p=g;q=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[b>>2]|0;l=o>>>16&255;n=o>>>8&255;m=o&255;o=o>>>24;i=c[e>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(!C){m=((O(m,F)|0)>>>0)/255|0;n=((O(n,G)|0)>>>0)/255|0;l=((O(l,u)|0)>>>0)/255|0}H=((O(o,v)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{H=255-o|0;k=l+(((O(H,k)|0)>>>0)/255|0)|0;j=n+(((O(H,j)|0)>>>0)/255|0)|0;i=m+(((O(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i|k<<16;if(!f)break;else{e=e+4|0;g=g+z|0}}b=c[w>>2]|0}f=r+(c[B>>2]|0)|0;e=b+-1|0;c[w>>2]=e;if(!b)break;g=p+x|0;h=q;r=f;b=e;e=f;f=c[y>>2]|0}c[A>>2]=f;return}function vG(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}r=c[d>>2]|0;c[e>>2]=r&-16711936|r<<16&16711680|r>>>16&255;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function wG(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;b=c[a+52>>2]|0;s=a+28|0;v=c[s>>2]|0;c[s>>2]=v+-1;if(!v)return;t=a+20|0;u=a+24|0;v=a+12|0;q=a+32|0;r=(b&48|0)==0;p=b&112;d=c[a>>2]|0;b=c[t>>2]|0;n=d;o=b;while(1){m=c[u>>2]|0;e=m+-1|0;a:do if(m|0){if(r){m=e;while(1){h=c[d>>2]|0;j=h>>>16&255;k=h>>>8&255;l=h&255;h=h>>>24;i=c[b>>2]|0;e=i>>>16&255;f=i>>>8&255;g=i&255;i=i>>>24;switch(p&127){case 16:{w=h^255;i=(((O(w,i)|0)>>>0)/255|0)+h|0;g=j+(((O(w,g)|0)>>>0)/255|0)|0;f=k+(((O(f,w)|0)>>>0)/255|0)|0;e=l+(((O(e,w)|0)>>>0)/255|0)|0;break}case 32:{e=l+e|0;f=k+f|0;g=j+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(j,g)|0)>>>0)/255|0;f=((O(k,f)|0)>>>0)/255|0;e=((O(l,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g|i<<24;if(!m)break a;else{b=b+4|0;d=d+4|0;m=m+-1|0}}}else m=e;while(1){l=c[d>>2]|0;h=l>>>16&255;i=l>>>8&255;k=l&255;l=l>>>24;j=c[b>>2]|0;e=j>>>16&255;f=j>>>8&255;g=j&255;j=j>>>24;if((l|0)!=255){h=((O(h,l)|0)>>>0)/255|0;i=((O(i,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{w=l^255;j=(((O(w,j)|0)>>>0)/255|0)+l|0;g=h+(((O(w,g)|0)>>>0)/255|0)|0;f=i+(((O(f,w)|0)>>>0)/255|0)|0;e=k+(((O(e,w)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=i+f|0;g=h+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(h,g)|0)>>>0)/255|0;f=((O(i,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g|j<<24;if(!m)break a;else{b=b+4|0;d=d+4|0;m=m+-1|0}}}while(0);d=n+(c[v>>2]|0)|0;b=o+(c[q>>2]|0)|0;w=c[s>>2]|0;c[s>>2]=w+-1;if(!w)break;else{n=d;o=b}}c[a>>2]=d;c[t>>2]=b;return}function xG(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;b=c[a+52>>2]|0;z=a+28|0;y=c[z>>2]|0;A=(c[a+8>>2]<<16|0)/(y|0)|0;u=a+24|0;e=c[u>>2]|0;v=(c[a+4>>2]<<16|0)/(e|0)|0;d=y+-1|0;c[z>>2]=d;if(!y)return;w=a+20|0;x=a+32|0;y=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[w>>2]|0;f=0;g=0;r=q;b=d;d=q;while(1){if((f|0)>65535){p=f+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=g+1+q|0}else{p=f;q=g}if(e){b=0;f=65536;g=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;g=g+1+f|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(g<<2)|0;f=o-(f<<16)|0}o=c[b>>2]|0;l=o>>>16&255;m=o>>>8&255;k=o&255;o=o>>>24;n=c[d>>2]|0;h=n>>>16&255;i=n>>>8&255;j=n&255;n=n>>>24;if(y&(o|0)!=255){k=((O(k,o)|0)>>>0)/255|0;m=((O(m,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{B=o^255;n=(((O(B,n)|0)>>>0)/255|0)+o|0;j=l+(((O(B,j)|0)>>>0)/255|0)|0;i=m+(((O(i,B)|0)>>>0)/255|0)|0;h=k+(((O(h,B)|0)>>>0)/255|0)|0;break}case 32:{h=k+h|0;i=m+i|0;j=l+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((O(l,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;break}default:{}}c[d>>2]=i<<8|h<<16|j|n<<24;if(!e)break;else{d=d+4|0;f=f+v|0}}b=c[z>>2]|0}e=r+(c[x>>2]|0)|0;d=b+-1|0;c[z>>2]=d;if(!b)break;f=p+A|0;g=q;r=e;b=d;d=e;e=c[u>>2]|0}c[w>>2]=e;return}function yG(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;b=c[a+52>>2]|0;r=d[a+60>>0]|0;s=d[a+61>>0]|0;j=d[a+62>>0]|0;k=d[a+63>>0]|0;l=a+28|0;q=c[l>>2]|0;c[l>>2]=q+-1;if(!q)return;m=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;q=(b&1|0)==0;g=(b&2|0)==0;e=c[a>>2]|0;f=c[m>>2]|0;h=e;i=f;while(1){t=c[n>>2]|0;b=t+-1|0;if(t|0)if(q)while(1){t=c[e>>2]|0;v=t>>>24;u=((O(v,k)|0)>>>0)/255|0;c[f>>2]=t<<16&16711680|(g?v:u)<<24|t&65280|t>>>16&255;if(!b)break;else{f=f+4|0;e=e+4|0;b=b+-1|0}}else while(1){v=c[e>>2]|0;w=v>>>24;x=((O(v&255,r)|0)>>>0)/255|0;u=((O(v>>>8&255,s)|0)>>>0)/255|0;v=((O(v>>>16&255,j)|0)>>>0)/255|0;t=((O(w,k)|0)>>>0)/255|0;c[f>>2]=x<<16|(g?w:t)<<24|u<<8|v;if(!b)break;else{f=f+4|0;e=e+4|0;b=b+-1|0}}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;x=c[l>>2]|0;c[l>>2]=x+-1;if(!x)break;else{h=e;i=b;f=b}}c[a>>2]=e;c[m>>2]=b;return}function zG(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;b=c[a+52>>2]|0;w=d[a+60>>0]|0;x=d[a+61>>0]|0;n=d[a+62>>0]|0;o=d[a+63>>0]|0;p=a+28|0;v=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(v|0)|0;r=a+24|0;e=c[r>>2]|0;s=(c[a+4>>2]<<16|0)/(e|0)|0;c[p>>2]=v+-1;if(!v)return;t=a+20|0;u=a+32|0;v=(b&1|0)==0;l=(b&2|0)==0;m=a+12|0;b=c[t>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(v){e=0;h=65536;i=-1;while(1){if((h|0)>65535){y=h+-65536|0;h=y>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=y-(h<<16)|0}y=c[e>>2]|0;A=y>>>24;z=((O(A,o)|0)>>>0)/255|0;c[b>>2]=y&65280|(l?A:z)<<24|y>>>16&255|y<<16&16711680;if(!j)break;else{b=b+4|0;h=h+s|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){A=h+-65536|0;h=A>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=A-(h<<16)|0}z=c[e>>2]|0;B=z>>>24;A=((O(z&255,w)|0)>>>0)/255|0;C=((O(z>>>8&255,x)|0)>>>0)/255|0;z=((O(z>>>16&255,n)|0)>>>0)/255|0;y=((O(B,o)|0)>>>0)/255|0;c[b>>2]=C<<8|(l?B:y)<<24|z|A<<16;if(!j)break;else{b=b+4|0;h=h+s|0;j=j+-1|0}}}b=k+(c[u>>2]|0)|0;C=c[p>>2]|0;c[p>>2]=C+-1;if(!C)break;f=f+q|0;k=b;e=c[r>>2]|0}c[t>>2]=b;return}function AG(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;b=c[a+52>>2]|0;B=d[a+60>>0]|0;C=d[a+61>>0]|0;r=d[a+62>>0]|0;s=d[a+63>>0]|0;t=a+28|0;A=c[t>>2]|0;e=A+-1|0;c[t>>2]=e;if(!A)return;u=a+20|0;v=a+24|0;w=a+12|0;x=a+32|0;y=(b&1|0)==0;z=(b&2|0)==0;A=(b&48|0)!=0;q=b&112;o=c[a>>2]|0;b=c[u>>2]|0;p=b;f=o;while(1){g=c[v>>2]|0;if(!g)f=e;else{while(1){g=g+-1|0;n=c[f>>2]|0;j=n>>>16&255;k=n>>>8&255;m=n&255;n=n>>>24;l=c[b>>2]|0;e=l>>>16&255;h=l>>>8&255;i=l&255;l=l>>>24;if(!y){j=((O(j,r)|0)>>>0)/255|0;k=((O(k,C)|0)>>>0)/255|0;m=((O(m,B)|0)>>>0)/255|0}D=((O(n,s)|0)>>>0)/255|0;n=z?n:D;if(A&n>>>0<255){j=((O(j,n)|0)>>>0)/255|0;k=((O(k,n)|0)>>>0)/255|0;m=((O(m,n)|0)>>>0)/255|0}switch(q&127){case 16:{D=255-n|0;l=(((O(D,l)|0)>>>0)/255|0)+n|0;i=j+(((O(D,i)|0)>>>0)/255|0)|0;h=k+(((O(D,h)|0)>>>0)/255|0)|0;e=m+(((O(D,e)|0)>>>0)/255|0)|0;break}case 32:{e=m+e|0;h=k+h|0;i=j+i|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;e=e>>>0<255?e:255;break}case 64:{i=((O(j,i)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;e=((O(m,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=h<<8|e<<16|i|l<<24;if(!g)break;else{b=b+4|0;f=f+4|0}}f=c[t>>2]|0}g=o+(c[w>>2]|0)|0;b=p+(c[x>>2]|0)|0;e=f+-1|0;c[t>>2]=e;if(!f)break;else{p=b;f=g;o=g}}c[a>>2]=g;c[u>>2]=b;return}function BG(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;b=c[a+52>>2]|0;G=d[a+60>>0]|0;H=d[a+61>>0]|0;v=d[a+62>>0]|0;w=d[a+63>>0]|0;x=a+28|0;F=c[x>>2]|0;y=(c[a+8>>2]<<16|0)/(F|0)|0;z=a+24|0;f=c[z>>2]|0;A=(c[a+4>>2]<<16|0)/(f|0)|0;e=F+-1|0;c[x>>2]=e;if(!F)return;B=a+20|0;C=a+32|0;D=(b&1|0)==0;E=(b&2|0)==0;F=(b&48|0)!=0;u=b&112;t=a+12|0;r=c[B>>2]|0;g=0;h=0;s=r;b=e;e=r;while(1){if((g|0)>65535){q=g+-65536|0;r=q>>>16;q=q-(r<<16)|0;r=h+1+r|0}else{q=g;r=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){p=g+-65536|0;g=p>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[t>>2]|0,r)|0)+(h<<2)|0;g=p-(g<<16)|0}p=c[b>>2]|0;m=p>>>16&255;n=p>>>8&255;l=p&255;p=p>>>24;o=c[e>>2]|0;i=o>>>16&255;j=o>>>8&255;k=o&255;o=o>>>24;if(!D){l=((O(l,G)|0)>>>0)/255|0;n=((O(n,H)|0)>>>0)/255|0;m=((O(m,v)|0)>>>0)/255|0}I=((O(p,w)|0)>>>0)/255|0;p=E?p:I;if(F&p>>>0<255){l=((O(l,p)|0)>>>0)/255|0;n=((O(n,p)|0)>>>0)/255|0;m=((O(m,p)|0)>>>0)/255|0}switch(u&127){case 16:{I=255-p|0;o=(((O(I,o)|0)>>>0)/255|0)+p|0;k=m+(((O(I,k)|0)>>>0)/255|0)|0;j=n+(((O(I,j)|0)>>>0)/255|0)|0;i=l+(((O(I,i)|0)>>>0)/255|0)|0;break}case 32:{i=l+i|0;j=n+j|0;k=m+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(m,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(l,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i<<16|k|o<<24;if(!f)break;else{e=e+4|0;g=g+A|0}}b=c[x>>2]|0}f=s+(c[C>>2]|0)|0;e=b+-1|0;c[x>>2]=e;if(!b)break;g=q+y|0;h=r;s=f;b=e;e=f;f=c[z>>2]|0}c[B>>2]=f;return}function CG(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}r=c[d>>2]|0;c[e>>2]=r>>>8&65280|r>>>24|r<<8&16711680;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function DG(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;d=c[a>>2]|0;b=c[s>>2]|0;m=d;n=b;while(1){l=c[t>>2]|0;e=l+-1|0;a:do if(l|0){if(q){l=e;while(1){h=c[d>>2]|0;i=h>>>24;j=h>>>16&255;k=h>>>8&255;g=c[b>>2]|0;e=g>>>16&255;f=g>>>8&255;g=g&255;switch(o&127){case 16:{h=h&255^255;g=i+(((O(h,g)|0)>>>0)/255|0)|0;f=j+(((O(f,h)|0)>>>0)/255|0)|0;e=k+(((O(e,h)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}else l=e;while(1){k=c[d>>2]|0;i=k>>>24;j=k>>>16&255;h=k>>>8&255;k=k&255;g=c[b>>2]|0;e=g>>>16&255;f=g>>>8&255;g=g&255;if((k|0)!=255){h=((O(h,k)|0)>>>0)/255|0;i=((O(i,k)|0)>>>0)/255|0;j=((O(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((O(k,g)|0)>>>0)/255|0)|0;f=j+(((O(f,k)|0)>>>0)/255|0)|0;e=h+(((O(e,k)|0)>>>0)/255|0)|0;break}case 32:{e=h+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(h,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}while(0);d=m+(c[u>>2]|0)|0;b=n+(c[p>>2]|0)|0;n=c[r>>2]|0;c[r>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[s>>2]=b;return}function EG(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;t=a+24|0;e=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(e|0)|0;d=x+-1|0;c[y>>2]=d;if(!x)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;s=b&112;r=a+12|0;p=c[v>>2]|0;g=0;h=0;b=p;while(1){if((g|0)>65535){g=g+-65536|0;q=g>>>16;g=g-(q<<16)|0;q=h+1+q|0}else q=h;if(!e)b=d;else{d=0;f=65536;h=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;h=h+1+f|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,q)|0)+(h<<2)|0;f=o-(f<<16)|0}o=c[d>>2]|0;l=o>>>24;n=o>>>16&255;m=o>>>8&255;o=o&255;k=c[b>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(x&(o|0)!=255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{o=o^255;k=l+(((O(o,k)|0)>>>0)/255|0)|0;j=n+(((O(j,o)|0)>>>0)/255|0)|0;i=m+(((O(i,o)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[b>>2]=j<<8|i<<16|k;if(!e)break;else{b=b+4|0;f=f+u|0}}b=c[y>>2]|0}f=p+(c[w>>2]|0)|0;d=b+-1|0;c[y>>2]=d;if(!b)break;g=g+z|0;h=q;b=f;e=c[t>>2]|0;p=f}c[v>>2]=f;return}function FG(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;l=c[e>>2]|0;c[b>>2]=l>>>8&65280|l<<8&16711680|l>>>24;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>16&255,l)|0)>>>0)/255|0)<<8|(((O(g>>>8&255,k)|0)>>>0)/255|0)<<16|(((O(g>>>24,j)|0)>>>0)/255|0);if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function GG(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=c[s>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(l){e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=w>>>24|w>>>8&65280|w<<8&16711680;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}w=c[e>>2]|0;c[b>>2]=((O(w>>>24,n)|0)>>>0)/255|0|(((O(w>>>16&255,v)|0)>>>0)/255|0)<<8|(((O(w>>>8&255,u)|0)>>>0)/255|0)<<16;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}b=k+(c[t>>2]|0)|0;w=c[o>>2]|0;c[o>>2]=w+-1;if(!w)break;f=f+p|0;k=b;e=c[q>>2]|0}c[s>>2]=b;return}function HG(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;b=c[a+52>>2]|0;A=d[a+60>>0]|0;B=d[a+61>>0]|0;q=d[a+62>>0]|0;r=d[a+63>>0]|0;s=a+28|0;z=c[s>>2]|0;e=z+-1|0;c[s>>2]=e;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;n=c[a>>2]|0;o=c[t>>2]|0;h=o;i=n;while(1){b=c[u>>2]|0;if(!b)b=e;else{m=b;while(1){m=m+-1|0;l=c[i>>2]|0;g=l>>>24;j=l>>>16&255;k=l>>>8&255;l=l&255;f=c[h>>2]|0;b=f>>>16&255;e=f>>>8&255;f=f&255;if(!x){g=((O(g,q)|0)>>>0)/255|0;j=((O(j,B)|0)>>>0)/255|0;k=((O(k,A)|0)>>>0)/255|0}C=((O(l,r)|0)>>>0)/255|0;l=y?l:C;if(z&l>>>0<255){g=((O(g,l)|0)>>>0)/255|0;j=((O(j,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-l|0;f=g+(((O(C,f)|0)>>>0)/255|0)|0;e=j+(((O(C,e)|0)>>>0)/255|0)|0;b=k+(((O(C,b)|0)>>>0)/255|0)|0;break}case 32:{b=k+b|0;e=j+e|0;f=g+f|0;f=f>>>0<255?f:255;e=e>>>0<255?e:255;b=b>>>0<255?b:255;break}case 64:{f=((O(g,f)|0)>>>0)/255|0;e=((O(j,e)|0)>>>0)/255|0;b=((O(k,b)|0)>>>0)/255|0;break}default:{}}c[h>>2]=e<<8|b<<16|f;if(!m)break;else{h=h+4|0;i=i+4|0}}b=c[s>>2]|0}f=n+(c[v>>2]|0)|0;g=o+(c[w>>2]|0)|0;e=b+-1|0;c[s>>2]=e;if(!b)break;else{h=g;i=f;n=f;o=g}}c[a>>2]=f;c[t>>2]=g;return}function IG(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;b=c[a+52>>2]|0;F=d[a+60>>0]|0;G=d[a+61>>0]|0;u=d[a+62>>0]|0;v=d[a+63>>0]|0;w=a+28|0;E=c[w>>2]|0;x=(c[a+8>>2]<<16|0)/(E|0)|0;y=a+24|0;f=c[y>>2]|0;z=(c[a+4>>2]<<16|0)/(f|0)|0;e=E+-1|0;c[w>>2]=e;if(!E)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=(b&2|0)==0;E=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[A>>2]|0;g=0;h=0;r=q;b=e;e=q;while(1){if((g|0)>65535){p=g+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=h+1+q|0}else{p=g;q=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[b>>2]|0;l=o>>>24;n=o>>>16&255;m=o>>>8&255;o=o&255;k=c[e>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(!C){m=((O(m,F)|0)>>>0)/255|0;n=((O(n,G)|0)>>>0)/255|0;l=((O(l,u)|0)>>>0)/255|0}H=((O(o,v)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{H=255-o|0;k=l+(((O(H,k)|0)>>>0)/255|0)|0;j=n+(((O(H,j)|0)>>>0)/255|0)|0;i=m+(((O(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i<<16|k;if(!f)break;else{e=e+4|0;g=g+z|0}}b=c[w>>2]|0}f=r+(c[B>>2]|0)|0;e=b+-1|0;c[w>>2]=e;if(!b)break;g=p+x|0;h=q;r=f;b=e;e=f;f=c[y>>2]|0}c[A>>2]=f;return}function JG(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}s=c[d>>2]|0;r=s>>>8;c[e>>2]=s>>>24<<16|r&65280|r&255;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function KG(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;b=c[a+52>>2]|0;r=a+28|0;u=c[r>>2]|0;c[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;d=c[a>>2]|0;b=c[s>>2]|0;m=d;n=b;while(1){l=c[t>>2]|0;e=l+-1|0;a:do if(l|0){if(q){l=e;while(1){h=c[d>>2]|0;i=h>>>24;j=h>>>16&255;k=h>>>8&255;e=c[b>>2]|0;g=e>>>16&255;f=e>>>8&255;e=e&255;switch(o&127){case 16:{h=h&255^255;g=i+(((O(g,h)|0)>>>0)/255|0)|0;f=j+(((O(f,h)|0)>>>0)/255|0)|0;e=k+(((O(h,e)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e|g<<16;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}else l=e;while(1){k=c[d>>2]|0;i=k>>>24;j=k>>>16&255;h=k>>>8&255;k=k&255;e=c[b>>2]|0;g=e>>>16&255;f=e>>>8&255;e=e&255;if((k|0)!=255){h=((O(h,k)|0)>>>0)/255|0;i=((O(i,k)|0)>>>0)/255|0;j=((O(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((O(g,k)|0)>>>0)/255|0)|0;f=j+(((O(f,k)|0)>>>0)/255|0)|0;e=h+(((O(k,e)|0)>>>0)/255|0)|0;break}case 32:{e=h+e|0;f=j+f|0;g=i+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(i,g)|0)>>>0)/255|0;f=((O(j,f)|0)>>>0)/255|0;e=((O(h,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e|g<<16;if(!l)break a;else{b=b+4|0;d=d+4|0;l=l+-1|0}}}while(0);d=m+(c[u>>2]|0)|0;b=n+(c[p>>2]|0)|0;n=c[r>>2]|0;c[r>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[s>>2]=b;return}function LG(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;b=c[a+52>>2]|0;y=a+28|0;x=c[y>>2]|0;z=(c[a+8>>2]<<16|0)/(x|0)|0;t=a+24|0;e=c[t>>2]|0;u=(c[a+4>>2]<<16|0)/(e|0)|0;d=x+-1|0;c[y>>2]=d;if(!x)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;s=b&112;r=a+12|0;p=c[v>>2]|0;g=0;h=0;b=p;while(1){if((g|0)>65535){g=g+-65536|0;q=g>>>16;g=g-(q<<16)|0;q=h+1+q|0}else q=h;if(!e)b=d;else{d=0;f=65536;h=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;h=h+1+f|0;d=(c[a>>2]|0)+(O(c[r>>2]|0,q)|0)+(h<<2)|0;f=o-(f<<16)|0}o=c[d>>2]|0;l=o>>>24;n=o>>>16&255;m=o>>>8&255;o=o&255;i=c[b>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(x&(o|0)!=255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{o=o^255;k=l+(((O(k,o)|0)>>>0)/255|0)|0;j=n+(((O(j,o)|0)>>>0)/255|0)|0;i=m+(((O(o,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[b>>2]=j<<8|i|k<<16;if(!e)break;else{b=b+4|0;f=f+u|0}}b=c[y>>2]|0}f=p+(c[w>>2]|0)|0;d=b+-1|0;c[y>>2]=d;if(!b)break;g=g+z|0;h=q;b=f;e=c[t>>2]|0;p=f}c[v>>2]=f;return}function MG(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;b=c[a+52>>2]|0;k=d[a+60>>0]|0;l=d[a+61>>0]|0;j=d[a+62>>0]|0;m=a+28|0;q=c[m>>2]|0;g=q+-1|0;c[m>>2]=g;if(!q)return;q=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;f=c[a>>2]|0;e=c[q>>2]|0;if(!(b&1)){h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;l=c[e>>2]|0;c[b>>2]=l>>>8&65535|l>>>24<<16;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}else{h=f;i=e;b=e;e=f;while(1){f=c[n>>2]|0;if(!f)f=g;else{while(1){f=f+-1|0;g=c[e>>2]|0;c[b>>2]=(((O(g>>>16&255,l)|0)>>>0)/255|0)<<8|(((O(g>>>8&255,k)|0)>>>0)/255|0)|(((O(g>>>24,j)|0)>>>0)/255|0)<<16;if(!f)break;else{b=b+4|0;e=e+4|0}}f=c[m>>2]|0}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;g=f+-1|0;c[m>>2]=g;if(!f)break;else{h=e;i=b}}}c[a>>2]=e;c[q>>2]=b;return}function NG(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;b=c[a+52>>2]|0;u=d[a+60>>0]|0;v=d[a+61>>0]|0;n=d[a+62>>0]|0;o=a+28|0;t=c[o>>2]|0;p=(c[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;e=c[q>>2]|0;r=(c[a+4>>2]<<16|0)/(e|0)|0;c[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=c[s>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(l){e=0;h=65536;i=-1;while(1){if((h|0)>65535){w=h+-65536|0;h=w>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=w-(h<<16)|0}x=c[e>>2]|0;w=x>>>8;c[b>>2]=x>>>24<<16|w&65280|w&255;if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){x=h+-65536|0;h=x>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=x-(h<<16)|0}x=c[e>>2]|0;c[b>>2]=(((O(x>>>24,n)|0)>>>0)/255|0)<<16|(((O(x>>>16&255,v)|0)>>>0)/255|0)<<8|(((O(x>>>8&255,u)|0)>>>0)/255|0);if(!j)break;else{b=b+4|0;h=h+r|0;j=j+-1|0}}}b=k+(c[t>>2]|0)|0;x=c[o>>2]|0;c[o>>2]=x+-1;if(!x)break;f=f+p|0;k=b;e=c[q>>2]|0}c[s>>2]=b;return}function OG(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;b=c[a+52>>2]|0;A=d[a+60>>0]|0;B=d[a+61>>0]|0;q=d[a+62>>0]|0;r=d[a+63>>0]|0;s=a+28|0;z=c[s>>2]|0;e=z+-1|0;c[s>>2]=e;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;n=c[a>>2]|0;o=c[t>>2]|0;h=o;i=n;while(1){b=c[u>>2]|0;if(!b)b=e;else{m=b;while(1){m=m+-1|0;l=c[i>>2]|0;g=l>>>24;j=l>>>16&255;k=l>>>8&255;l=l&255;b=c[h>>2]|0;f=b>>>16&255;e=b>>>8&255;b=b&255;if(!x){g=((O(g,q)|0)>>>0)/255|0;j=((O(j,B)|0)>>>0)/255|0;k=((O(k,A)|0)>>>0)/255|0}C=((O(l,r)|0)>>>0)/255|0;l=y?l:C;if(z&l>>>0<255){g=((O(g,l)|0)>>>0)/255|0;j=((O(j,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-l|0;f=g+(((O(C,f)|0)>>>0)/255|0)|0;e=j+(((O(C,e)|0)>>>0)/255|0)|0;b=k+(((O(C,b)|0)>>>0)/255|0)|0;break}case 32:{b=k+b|0;e=j+e|0;f=g+f|0;f=f>>>0<255?f:255;e=e>>>0<255?e:255;b=b>>>0<255?b:255;break}case 64:{f=((O(g,f)|0)>>>0)/255|0;e=((O(j,e)|0)>>>0)/255|0;b=((O(k,b)|0)>>>0)/255|0;break}default:{}}c[h>>2]=e<<8|b|f<<16;if(!m)break;else{h=h+4|0;i=i+4|0}}b=c[s>>2]|0}f=n+(c[v>>2]|0)|0;g=o+(c[w>>2]|0)|0;e=b+-1|0;c[s>>2]=e;if(!b)break;else{h=g;i=f;n=f;o=g}}c[a>>2]=f;c[t>>2]=g;return}function PG(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;b=c[a+52>>2]|0;F=d[a+60>>0]|0;G=d[a+61>>0]|0;u=d[a+62>>0]|0;v=d[a+63>>0]|0;w=a+28|0;E=c[w>>2]|0;x=(c[a+8>>2]<<16|0)/(E|0)|0;y=a+24|0;f=c[y>>2]|0;z=(c[a+4>>2]<<16|0)/(f|0)|0;e=E+-1|0;c[w>>2]=e;if(!E)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=(b&2|0)==0;E=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[A>>2]|0;g=0;h=0;r=q;b=e;e=q;while(1){if((g|0)>65535){p=g+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=h+1+q|0}else{p=g;q=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){o=g+-65536|0;g=o>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(h<<2)|0;g=o-(g<<16)|0}o=c[b>>2]|0;l=o>>>24;n=o>>>16&255;m=o>>>8&255;o=o&255;i=c[e>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(!C){m=((O(m,F)|0)>>>0)/255|0;n=((O(n,G)|0)>>>0)/255|0;l=((O(l,u)|0)>>>0)/255|0}H=((O(o,v)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((O(m,o)|0)>>>0)/255|0;n=((O(n,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{H=255-o|0;k=l+(((O(H,k)|0)>>>0)/255|0)|0;j=n+(((O(H,j)|0)>>>0)/255|0)|0;i=m+(((O(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(l,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i|k<<16;if(!f)break;else{e=e+4|0;g=g+z|0}}b=c[w>>2]|0}f=r+(c[B>>2]|0)|0;e=b+-1|0;c[w>>2]=e;if(!b)break;g=p+x|0;h=q;r=f;b=e;e=f;f=c[y>>2]|0}c[A>>2]=f;return}function QG(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;p=a+28|0;o=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=c[k>>2]|0;l=(c[a+4>>2]<<16|0)/(b|0)|0;d=o+-1|0;c[p>>2]=d;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;e=c[m>>2]|0;f=0;g=0;j=e;while(1){if((g|0)>65535){g=g+-65536|0;i=g>>>16;h=f+1+i|0;i=g-(i<<16)|0}else{h=f;i=g}if(!b)b=d;else{d=0;f=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=g+-65536|0;g=r>>>16;f=f+1+g|0;d=(c[a>>2]|0)+(O(c[o>>2]|0,h)|0)+(f<<2)|0;g=r-(g<<16)|0}c[e>>2]=zQ(c[d>>2]|0)|0;if(!b)break;else{e=e+4|0;g=g+l|0}}b=c[p>>2]|0}e=j+(c[n>>2]|0)|0;d=b+-1|0;c[p>>2]=d;if(!b)break;f=h;g=i+q|0;b=c[k>>2]|0;j=e}c[m>>2]=e;return}function RG(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;b=c[a+52>>2]|0;s=a+28|0;v=c[s>>2]|0;c[s>>2]=v+-1;if(!v)return;t=a+20|0;u=a+24|0;v=a+12|0;q=a+32|0;r=(b&48|0)==0;p=b&112;d=c[a>>2]|0;b=c[t>>2]|0;n=d;o=b;while(1){m=c[u>>2]|0;e=m+-1|0;a:do if(m|0){if(r){m=e;while(1){h=c[d>>2]|0;j=h>>>24;k=h>>>16&255;l=h>>>8&255;h=h&255;i=c[b>>2]|0;e=i>>>16&255;f=i>>>8&255;g=i&255;i=i>>>24;switch(p&127){case 16:{w=h^255;i=(((O(w,i)|0)>>>0)/255|0)+h|0;g=j+(((O(w,g)|0)>>>0)/255|0)|0;f=k+(((O(f,w)|0)>>>0)/255|0)|0;e=l+(((O(e,w)|0)>>>0)/255|0)|0;break}case 32:{e=l+e|0;f=k+f|0;g=j+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(j,g)|0)>>>0)/255|0;f=((O(k,f)|0)>>>0)/255|0;e=((O(l,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g|i<<24;if(!m)break a;else{b=b+4|0;d=d+4|0;m=m+-1|0}}}else m=e;while(1){l=c[d>>2]|0;h=l>>>24;i=l>>>16&255;k=l>>>8&255;l=l&255;j=c[b>>2]|0;e=j>>>16&255;f=j>>>8&255;g=j&255;j=j>>>24;if((l|0)!=255){h=((O(h,l)|0)>>>0)/255|0;i=((O(i,l)|0)>>>0)/255|0;k=((O(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{w=l^255;j=(((O(w,j)|0)>>>0)/255|0)+l|0;g=h+(((O(w,g)|0)>>>0)/255|0)|0;f=i+(((O(f,w)|0)>>>0)/255|0)|0;e=k+(((O(e,w)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;f=i+f|0;g=h+g|0;g=g>>>0<255?g:255;f=f>>>0<255?f:255;e=e>>>0<255?e:255;break}case 64:{g=((O(h,g)|0)>>>0)/255|0;f=((O(i,f)|0)>>>0)/255|0;e=((O(k,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=f<<8|e<<16|g|j<<24;if(!m)break a;else{b=b+4|0;d=d+4|0;m=m+-1|0}}}while(0);d=n+(c[v>>2]|0)|0;b=o+(c[q>>2]|0)|0;w=c[s>>2]|0;c[s>>2]=w+-1;if(!w)break;else{n=d;o=b}}c[a>>2]=d;c[t>>2]=b;return}function SG(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;b=c[a+52>>2]|0;z=a+28|0;y=c[z>>2]|0;A=(c[a+8>>2]<<16|0)/(y|0)|0;u=a+24|0;e=c[u>>2]|0;v=(c[a+4>>2]<<16|0)/(e|0)|0;d=y+-1|0;c[z>>2]=d;if(!y)return;w=a+20|0;x=a+32|0;y=(b&48|0)!=0;t=b&112;s=a+12|0;q=c[w>>2]|0;f=0;g=0;r=q;b=d;d=q;while(1){if((f|0)>65535){p=f+-65536|0;q=p>>>16;p=p-(q<<16)|0;q=g+1+q|0}else{p=f;q=g}if(e){b=0;f=65536;g=-1;while(1){e=e+-1|0;if((f|0)>65535){o=f+-65536|0;f=o>>>16;g=g+1+f|0;b=(c[a>>2]|0)+(O(c[s>>2]|0,q)|0)+(g<<2)|0;f=o-(f<<16)|0}o=c[b>>2]|0;l=o>>>24;m=o>>>16&255;k=o>>>8&255;o=o&255;n=c[d>>2]|0;h=n>>>16&255;i=n>>>8&255;j=n&255;n=n>>>24;if(y&(o|0)!=255){k=((O(k,o)|0)>>>0)/255|0;m=((O(m,o)|0)>>>0)/255|0;l=((O(l,o)|0)>>>0)/255|0}switch(t&127){case 16:{B=o^255;n=(((O(B,n)|0)>>>0)/255|0)+o|0;j=l+(((O(B,j)|0)>>>0)/255|0)|0;i=m+(((O(i,B)|0)>>>0)/255|0)|0;h=k+(((O(h,B)|0)>>>0)/255|0)|0;break}case 32:{h=k+h|0;i=m+i|0;j=l+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((O(l,j)|0)>>>0)/255|0;i=((O(m,i)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;break}default:{}}c[d>>2]=i<<8|h<<16|j|n<<24;if(!e)break;else{d=d+4|0;f=f+v|0}}b=c[z>>2]|0}e=r+(c[x>>2]|0)|0;d=b+-1|0;c[z>>2]=d;if(!b)break;f=p+A|0;g=q;r=e;b=d;d=e;e=c[u>>2]|0}c[w>>2]=e;return}function TG(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;b=c[a+52>>2]|0;r=d[a+60>>0]|0;s=d[a+61>>0]|0;j=d[a+62>>0]|0;k=d[a+63>>0]|0;l=a+28|0;q=c[l>>2]|0;c[l>>2]=q+-1;if(!q)return;m=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;q=(b&1|0)==0;g=(b&2|0)==0;e=c[a>>2]|0;f=c[m>>2]|0;h=e;i=f;while(1){t=c[n>>2]|0;b=t+-1|0;if(t|0)if(q)while(1){t=c[e>>2]|0;u=((O(t&255,k)|0)>>>0)/255|0;c[f>>2]=t<<8&16711680|(g?t:u)<<24|t>>>8&65280|t>>>24;if(!b)break;else{f=f+4|0;e=e+4|0;b=b+-1|0}}else while(1){w=c[e>>2]|0;x=((O(w>>>8&255,r)|0)>>>0)/255|0;t=((O(w>>>16&255,s)|0)>>>0)/255|0;u=((O(w>>>24,j)|0)>>>0)/255|0;v=((O(w&255,k)|0)>>>0)/255|0;c[f>>2]=x<<16|(g?w:v)<<24|t<<8|u;if(!b)break;else{f=f+4|0;e=e+4|0;b=b+-1|0}}e=h+(c[o>>2]|0)|0;b=i+(c[p>>2]|0)|0;x=c[l>>2]|0;c[l>>2]=x+-1;if(!x)break;else{h=e;i=b;f=b}}c[a>>2]=e;c[m>>2]=b;return}function UG(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;b=c[a+52>>2]|0;w=d[a+60>>0]|0;x=d[a+61>>0]|0;n=d[a+62>>0]|0;o=d[a+63>>0]|0;p=a+28|0;v=c[p>>2]|0;q=(c[a+8>>2]<<16|0)/(v|0)|0;r=a+24|0;e=c[r>>2]|0;s=(c[a+4>>2]<<16|0)/(e|0)|0;c[p>>2]=v+-1;if(!v)return;t=a+20|0;u=a+32|0;v=(b&1|0)==0;l=(b&2|0)==0;m=a+12|0;b=c[t>>2]|0;f=0;g=0;k=b;while(1){if((f|0)>65535){f=f+-65536|0;j=f>>>16;f=f-(j<<16)|0;g=g+1+j|0}j=e+-1|0;if(e|0)if(v){e=0;h=65536;i=-1;while(1){if((h|0)>65535){y=h+-65536|0;h=y>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=y-(h<<16)|0}y=c[e>>2]|0;z=((O(y&255,o)|0)>>>0)/255|0;c[b>>2]=y>>>8&65280|(l?y:z)<<24|y>>>24|y<<8&16711680;if(!j)break;else{b=b+4|0;h=h+s|0;j=j+-1|0}}}else{e=0;h=65536;i=-1;while(1){if((h|0)>65535){z=h+-65536|0;h=z>>>16;i=i+1+h|0;e=(c[a>>2]|0)+(O(c[m>>2]|0,g)|0)+(i<<2)|0;h=z-(h<<16)|0}B=c[e>>2]|0;z=((O(B>>>8&255,w)|0)>>>0)/255|0;C=((O(B>>>16&255,x)|0)>>>0)/255|0;y=((O(B>>>24,n)|0)>>>0)/255|0;A=((O(B&255,o)|0)>>>0)/255|0;c[b>>2]=C<<8|(l?B:A)<<24|y|z<<16;if(!j)break;else{b=b+4|0;h=h+s|0;j=j+-1|0}}}b=k+(c[u>>2]|0)|0;C=c[p>>2]|0;c[p>>2]=C+-1;if(!C)break;f=f+q|0;k=b;e=c[r>>2]|0}c[t>>2]=b;return}function VG(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;b=c[a+52>>2]|0;B=d[a+60>>0]|0;C=d[a+61>>0]|0;r=d[a+62>>0]|0;s=d[a+63>>0]|0;t=a+28|0;A=c[t>>2]|0;e=A+-1|0;c[t>>2]=e;if(!A)return;u=a+20|0;v=a+24|0;w=a+12|0;x=a+32|0;y=(b&1|0)==0;z=(b&2|0)==0;A=(b&48|0)!=0;q=b&112;o=c[a>>2]|0;b=c[u>>2]|0;p=b;f=o;while(1){g=c[v>>2]|0;if(!g)f=e;else{while(1){g=g+-1|0;n=c[f>>2]|0;j=n>>>24;k=n>>>16&255;m=n>>>8&255;n=n&255;l=c[b>>2]|0;e=l>>>16&255;h=l>>>8&255;i=l&255;l=l>>>24;if(!y){j=((O(j,r)|0)>>>0)/255|0;k=((O(k,C)|0)>>>0)/255|0;m=((O(m,B)|0)>>>0)/255|0}D=((O(n,s)|0)>>>0)/255|0;n=z?n:D;if(A&n>>>0<255){j=((O(j,n)|0)>>>0)/255|0;k=((O(k,n)|0)>>>0)/255|0;m=((O(m,n)|0)>>>0)/255|0}switch(q&127){case 16:{D=255-n|0;l=(((O(D,l)|0)>>>0)/255|0)+n|0;i=j+(((O(D,i)|0)>>>0)/255|0)|0;h=k+(((O(D,h)|0)>>>0)/255|0)|0;e=m+(((O(D,e)|0)>>>0)/255|0)|0;break}case 32:{e=m+e|0;h=k+h|0;i=j+i|0;i=i>>>0<255?i:255;h=h>>>0<255?h:255;e=e>>>0<255?e:255;break}case 64:{i=((O(j,i)|0)>>>0)/255|0;h=((O(k,h)|0)>>>0)/255|0;e=((O(m,e)|0)>>>0)/255|0;break}default:{}}c[b>>2]=h<<8|e<<16|i|l<<24;if(!g)break;else{b=b+4|0;f=f+4|0}}f=c[t>>2]|0}g=o+(c[w>>2]|0)|0;b=p+(c[x>>2]|0)|0;e=f+-1|0;c[t>>2]=e;if(!f)break;else{p=b;f=g;o=g}}c[a>>2]=g;c[u>>2]=b;return}function WG(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;b=c[a+52>>2]|0;G=d[a+60>>0]|0;H=d[a+61>>0]|0;v=d[a+62>>0]|0;w=d[a+63>>0]|0;x=a+28|0;F=c[x>>2]|0;y=(c[a+8>>2]<<16|0)/(F|0)|0;z=a+24|0;f=c[z>>2]|0;A=(c[a+4>>2]<<16|0)/(f|0)|0;e=F+-1|0;c[x>>2]=e;if(!F)return;B=a+20|0;C=a+32|0;D=(b&1|0)==0;E=(b&2|0)==0;F=(b&48|0)!=0;u=b&112;t=a+12|0;r=c[B>>2]|0;g=0;h=0;s=r;b=e;e=r;while(1){if((g|0)>65535){q=g+-65536|0;r=q>>>16;q=q-(r<<16)|0;r=h+1+r|0}else{q=g;r=h}if(f){b=0;g=65536;h=-1;while(1){f=f+-1|0;if((g|0)>65535){p=g+-65536|0;g=p>>>16;h=h+1+g|0;b=(c[a>>2]|0)+(O(c[t>>2]|0,r)|0)+(h<<2)|0;g=p-(g<<16)|0}p=c[b>>2]|0;m=p>>>24;n=p>>>16&255;l=p>>>8&255;p=p&255;o=c[e>>2]|0;i=o>>>16&255;j=o>>>8&255;k=o&255;o=o>>>24;if(!D){l=((O(l,G)|0)>>>0)/255|0;n=((O(n,H)|0)>>>0)/255|0;m=((O(m,v)|0)>>>0)/255|0}I=((O(p,w)|0)>>>0)/255|0;p=E?p:I;if(F&p>>>0<255){l=((O(l,p)|0)>>>0)/255|0;n=((O(n,p)|0)>>>0)/255|0;m=((O(m,p)|0)>>>0)/255|0}switch(u&127){case 16:{I=255-p|0;o=(((O(I,o)|0)>>>0)/255|0)+p|0;k=m+(((O(I,k)|0)>>>0)/255|0)|0;j=n+(((O(I,j)|0)>>>0)/255|0)|0;i=l+(((O(I,i)|0)>>>0)/255|0)|0;break}case 32:{i=l+i|0;j=n+j|0;k=m+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((O(m,k)|0)>>>0)/255|0;j=((O(n,j)|0)>>>0)/255|0;i=((O(l,i)|0)>>>0)/255|0;break}default:{}}c[e>>2]=j<<8|i<<16|k|o<<24;if(!f)break;else{e=e+4|0;g=g+A|0}}b=c[x>>2]|0}f=s+(c[C>>2]|0)|0;e=b+-1|0;c[x>>2]=e;if(!b)break;g=q+y|0;h=r;s=f;b=e;e=f;f=c[z>>2]|0}c[B>>2]=f;return}function XG(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;g=c[f+24>>2]|0;j=c[f+28>>2]|0;P=c[f+16>>2]|0;I=c[f+36>>2]|0;i=c[f+40>>2]|0;J=a[i+9>>0]|0;K=J&255;h=c[f+44>>2]|0;M=a[h+9>>0]|0;N=M&255;if(!(c[h+24>>2]|0))L=0;else L=d[f+63>>0]|0;if(!j)return;O=(g+7|0)/8|0;H=g&255;A=h+28|0;B=h+32|0;C=h+29|0;D=h+33|0;E=h+30|0;F=h+34|0;G=h+31|0;r=h+35|0;s=i+28|0;t=i+12|0;u=i+32|0;v=i+29|0;w=i+16|0;x=i+33|0;y=i+30|0;z=i+20|0;q=i+34|0;g=c[f>>2]|0;n=c[f+20>>2]|0;a:while(1){j=j+-1|0;switch(H&7){case 0:{o=O;p=6;break}case 7:{o=O;p=18;break}case 6:{o=O;p=30;break}case 5:{o=O;p=42;break}case 4:{o=O;p=54;break}case 3:{o=O;p=66;break}case 2:{o=O;p=78;break}case 1:{o=O;p=90;break}default:{p=102;break a}}while(1)if((p|0)==6){p=0;switch(J<<24>>24){case 1:{f=d[g>>0]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=11;break}case 2:{f=e[g>>1]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=11;break}case 3:{h=g+((d[u>>0]|0)>>>3&255)|0;i=g+((d[x>>0]|0)>>>3&255)|0;f=g+((d[q>>0]|0)>>>3&255)|0;p=11;break}case 4:{f=c[g>>2]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=11;break}default:{m=0;l=0;k=0}}if((p|0)==11){m=a[h>>0]|0;l=a[i>>0]|0;k=a[f>>0]|0}h=m&255;i=l&255;f=k&255;switch(M<<24>>24){case 1:{a[n>>0]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 2:{b[n>>1]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 3:{a[n+((d[B>>0]|0)>>>3&255)>>0]=m;a[n+((d[D>>0]|0)>>>3&255)>>0]=l;a[n+((d[F>>0]|0)>>>3&255)>>0]=k;break}case 4:{c[n>>2]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}default:{}}g=g+K|0;n=n+N|0;p=18;continue}else if((p|0)==18){p=0;switch(J<<24>>24){case 1:{f=d[g>>0]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=23;break}case 2:{f=e[g>>1]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=23;break}case 3:{h=g+((d[u>>0]|0)>>>3&255)|0;i=g+((d[x>>0]|0)>>>3&255)|0;f=g+((d[q>>0]|0)>>>3&255)|0;p=23;break}case 4:{f=c[g>>2]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=23;break}default:{m=0;l=0;k=0}}if((p|0)==23){m=a[h>>0]|0;l=a[i>>0]|0;k=a[f>>0]|0}h=m&255;i=l&255;f=k&255;switch(M<<24>>24){case 1:{a[n>>0]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 2:{b[n>>1]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 3:{a[n+((d[B>>0]|0)>>>3&255)>>0]=m;a[n+((d[D>>0]|0)>>>3&255)>>0]=l;a[n+((d[F>>0]|0)>>>3&255)>>0]=k;break}case 4:{c[n>>2]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}default:{}}g=g+K|0;n=n+N|0;p=30;continue}else if((p|0)==30){p=0;switch(J<<24>>24){case 1:{f=d[g>>0]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=35;break}case 2:{f=e[g>>1]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=35;break}case 3:{h=g+((d[u>>0]|0)>>>3&255)|0;i=g+((d[x>>0]|0)>>>3&255)|0;f=g+((d[q>>0]|0)>>>3&255)|0;p=35;break}case 4:{f=c[g>>2]|0;h=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&f)>>>(d[u>>0]|0))|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&f)>>>(d[x>>0]|0))|0;f=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&f)>>>(d[q>>0]|0))|0;p=35;break}default:{m=0;l=0;k=0}}if((p|0)==35){m=a[h>>0]|0;l=a[i>>0]|0;k=a[f>>0]|0}h=m&255;i=l&255;f=k&255;switch(M<<24>>24){case 1:{a[n>>0]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 2:{b[n>>1]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 3:{a[n+((d[B>>0]|0)>>>3&255)>>0]=m;a[n+((d[D>>0]|0)>>>3&255)>>0]=l;a[n+((d[F>>0]|0)>>>3&255)>>0]=k;break}case 4:{c[n>>2]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|h>>>(d[A>>0]|0)<<(d[B>>0]|0)|f>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}default:{}}g=g+K|0;n=n+N|0;p=42;continue}else if((p|0)==42){p=0;switch(J<<24>>24){case 1:{h=d[g>>0]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=47;break}case 2:{h=e[g>>1]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=47;break}case 3:{i=g+((d[x>>0]|0)>>>3&255)|0;f=g+((d[u>>0]|0)>>>3&255)|0;h=g+((d[q>>0]|0)>>>3&255)|0;p=47;break}case 4:{h=c[g>>2]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=47;break}default:{m=0;l=0;k=0}}if((p|0)==47){m=a[h>>0]|0;l=a[i>>0]|0;k=a[f>>0]|0}h=m&255;i=l&255;f=k&255;switch(M<<24>>24){case 1:{a[n>>0]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 2:{b[n>>1]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 3:{a[n+((d[B>>0]|0)>>>3&255)>>0]=k;a[n+((d[D>>0]|0)>>>3&255)>>0]=l;a[n+((d[F>>0]|0)>>>3&255)>>0]=m;break}case 4:{c[n>>2]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}default:{}}g=g+K|0;n=n+N|0;p=54;continue}else if((p|0)==54){p=0;switch(J<<24>>24){case 1:{h=d[g>>0]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=59;break}case 2:{h=e[g>>1]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=59;break}case 3:{i=g+((d[x>>0]|0)>>>3&255)|0;f=g+((d[u>>0]|0)>>>3&255)|0;h=g+((d[q>>0]|0)>>>3&255)|0;p=59;break}case 4:{h=c[g>>2]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=59;break}default:{m=0;l=0;k=0}}if((p|0)==59){m=a[h>>0]|0;l=a[i>>0]|0;k=a[f>>0]|0}h=m&255;i=l&255;f=k&255;switch(M<<24>>24){case 1:{a[n>>0]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 2:{b[n>>1]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 3:{a[n+((d[B>>0]|0)>>>3&255)>>0]=k;a[n+((d[D>>0]|0)>>>3&255)>>0]=l;a[n+((d[F>>0]|0)>>>3&255)>>0]=m;break}case 4:{c[n>>2]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}default:{}}g=g+K|0;n=n+N|0;p=66;continue}else if((p|0)==66){p=0;switch(J<<24>>24){case 1:{h=d[g>>0]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=71;break}case 2:{h=e[g>>1]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=71;break}case 3:{i=g+((d[x>>0]|0)>>>3&255)|0;f=g+((d[u>>0]|0)>>>3&255)|0;h=g+((d[q>>0]|0)>>>3&255)|0;p=71;break}case 4:{h=c[g>>2]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=71;break}default:{m=0;l=0;k=0}}if((p|0)==71){m=a[h>>0]|0;l=a[i>>0]|0;k=a[f>>0]|0}h=m&255;i=l&255;f=k&255;switch(M<<24>>24){case 1:{a[n>>0]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 2:{b[n>>1]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 3:{a[n+((d[B>>0]|0)>>>3&255)>>0]=k;a[n+((d[D>>0]|0)>>>3&255)>>0]=l;a[n+((d[F>>0]|0)>>>3&255)>>0]=m;break}case 4:{c[n>>2]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}default:{}}g=g+K|0;n=n+N|0;p=78;continue}else if((p|0)==78){p=0;switch(J<<24>>24){case 1:{h=d[g>>0]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=83;break}case 2:{h=e[g>>1]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=83;break}case 3:{i=g+((d[x>>0]|0)>>>3&255)|0;f=g+((d[u>>0]|0)>>>3&255)|0;h=g+((d[q>>0]|0)>>>3&255)|0;p=83;break}case 4:{h=c[g>>2]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=83;break}default:{m=0;l=0;k=0}}if((p|0)==83){m=a[h>>0]|0;l=a[i>>0]|0;k=a[f>>0]|0}h=m&255;i=l&255;f=k&255;switch(M<<24>>24){case 1:{a[n>>0]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 2:{b[n>>1]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 3:{a[n+((d[B>>0]|0)>>>3&255)>>0]=k;a[n+((d[D>>0]|0)>>>3&255)>>0]=l;a[n+((d[F>>0]|0)>>>3&255)>>0]=m;break}case 4:{c[n>>2]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}default:{}}g=g+K|0;n=n+N|0;p=90;continue}else if((p|0)==90){p=0;switch(J<<24>>24){case 1:{h=d[g>>0]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=95;break}case 2:{h=e[g>>1]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=95;break}case 3:{i=g+((d[x>>0]|0)>>>3&255)|0;f=g+((d[u>>0]|0)>>>3&255)|0;h=g+((d[q>>0]|0)>>>3&255)|0;p=95;break}case 4:{h=c[g>>2]|0;i=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&h)>>>(d[x>>0]|0))|0;f=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&h)>>>(d[u>>0]|0))|0;h=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&h)>>>(d[q>>0]|0))|0;p=95;break}default:{m=0;l=0;k=0}}if((p|0)==95){m=a[h>>0]|0;l=a[i>>0]|0;k=a[f>>0]|0}h=m&255;i=l&255;f=k&255;switch(M<<24>>24){case 1:{a[n>>0]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 2:{b[n>>1]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}case 3:{a[n+((d[B>>0]|0)>>>3&255)>>0]=k;a[n+((d[D>>0]|0)>>>3&255)>>0]=l;a[n+((d[F>>0]|0)>>>3&255)>>0]=m;break}case 4:{c[n>>2]=i>>>(d[C>>0]|0)<<(d[D>>0]|0)|f>>>(d[A>>0]|0)<<(d[B>>0]|0)|h>>>(d[E>>0]|0)<<(d[F>>0]|0)|L>>>(d[G>>0]|0)<<(d[r>>0]|0);break}default:{}}h=n+N|0;g=g+K|0;if((o|0)>1){o=o+-1|0;n=h;p=6;continue}else break}if(!j){p=104;break}else{g=g+P|0;n=h+I|0}}if((p|0)!=102)if((p|0)==104)return}function YG(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=c[a+24>>2]|0;j=c[a+28>>2]|0;b=c[a>>2]|0;k=c[a+16>>2]|0;f=c[a+20>>2]|0;i=c[a+36>>2]|0;e=j+-1|0;if(!j)return;a=d+7|0;j=(a|0)/8|0;h=d&255;switch(h&7){case 0:{a=f;while(1){d=j;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)break;else d=d+-1|0}if(!e)break;else{a=a+i|0;b=b+k|0;e=e+-1|0}}return}case 7:{h=(a|0)>15;while(1){c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];c[f+16>>2]=c[b+16>>2];c[f+20>>2]=c[b+20>>2];c[f+24>>2]=c[b+24>>2];a=f+28|0;d=b+28|0;if(h){g=j;do{g=g+-1|0;c[a>>2]=c[d>>2];a=f;f=f+32|0;d=b;b=b+32|0;c[f>>2]=c[b>>2];c[a+36>>2]=c[d+36>>2];c[a+40>>2]=c[d+40>>2];c[a+44>>2]=c[d+44>>2];c[a+48>>2]=c[d+48>>2];c[a+52>>2]=c[d+52>>2];c[a+56>>2]=c[d+56>>2];a=a+60|0;d=d+60|0}while((g|0)>1);b=d}else b=d;if(!e)break;else{f=a+i|0;b=b+k|0;e=e+-1|0}}return}default:{a:while(1){switch(h&7){case 1:{g=j;d=17;break}case 2:{a=j;d=16;break}case 6:{a=j;d=12;break}case 5:{a=j;d=13;break}case 4:{a=j;d=14;break}case 3:{a=j;d=15;break}default:{d=18;break a}}while(1)if((d|0)==12){c[f>>2]=c[b>>2];f=f+4|0;b=b+4|0;d=13;continue}else if((d|0)==13){c[f>>2]=c[b>>2];f=f+4|0;b=b+4|0;d=14;continue}else if((d|0)==14){c[f>>2]=c[b>>2];f=f+4|0;b=b+4|0;d=15;continue}else if((d|0)==15){c[f>>2]=c[b>>2];f=f+4|0;b=b+4|0;d=16;continue}else if((d|0)==16){c[f>>2]=c[b>>2];g=a;f=f+4|0;b=b+4|0;d=17;continue}else if((d|0)==17){c[f>>2]=c[b>>2];a=f+4|0;d=b+4|0;if((g|0)<=1)break;c[a>>2]=c[d>>2];c[f+8>>2]=c[b+8>>2];a=g+-1|0;f=f+12|0;b=b+12|0;d=12;continue}if(!e){d=20;break}else{f=a+i|0;b=d+k|0;e=e+-1|0}}if((d|0)!=18)if((d|0)==20)return}}}function ZG(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,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;L=c[f+24>>2]|0;i=c[f+28>>2]|0;V=c[f+16>>2]|0;W=c[f+36>>2]|0;h=c[f+40>>2]|0;H=a[h+9>>0]|0;I=H&255;g=c[f+44>>2]|0;J=a[g+9>>0]|0;K=J&255;if(!i)return;M=(L|0)==0;N=g+28|0;P=g+32|0;Q=g+29|0;R=g+33|0;S=g+30|0;T=g+34|0;U=g+31|0;v=g+35|0;w=h+28|0;x=h+12|0;y=h+32|0;z=h+29|0;A=h+16|0;B=h+33|0;C=h+30|0;D=h+20|0;E=h+34|0;F=h+31|0;G=h+24|0;s=h+35|0;t=O(L,K)|0;u=O(L,I)|0;g=c[f>>2]|0;h=c[f+20>>2]|0;while(1){i=i+-1|0;if(!M){p=L;q=h;r=g;while(1){switch(H<<24>>24){case 1:{o=d[r>>0]|0;f=a[(c[18232+((d[F>>0]|0)<<2)>>2]|0)+((c[G>>2]&o)>>>(d[s>>0]|0))>>0]|0;m=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[D>>2]&o)>>>(d[E>>0]|0))>>0]|0;n=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&o)>>>(d[B>>0]|0))>>0]|0;o=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&o)>>>(d[y>>0]|0))>>0]|0;break}case 2:{o=e[r>>1]|0;f=a[(c[18232+((d[F>>0]|0)<<2)>>2]|0)+((c[G>>2]&o)>>>(d[s>>0]|0))>>0]|0;m=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[D>>2]&o)>>>(d[E>>0]|0))>>0]|0;n=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&o)>>>(d[B>>0]|0))>>0]|0;o=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&o)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=-1;m=a[r+((d[E>>0]|0)>>>3&255)>>0]|0;n=a[r+((d[B>>0]|0)>>>3&255)>>0]|0;o=a[r+((d[y>>0]|0)>>>3&255)>>0]|0;break}case 4:{o=c[r>>2]|0;f=a[(c[18232+((d[F>>0]|0)<<2)>>2]|0)+((c[G>>2]&o)>>>(d[s>>0]|0))>>0]|0;m=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[D>>2]&o)>>>(d[E>>0]|0))>>0]|0;n=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&o)>>>(d[B>>0]|0))>>0]|0;o=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&o)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;m=0;n=0;o=0}}f=f&255;j=m&255;k=n&255;l=o&255;switch(J<<24>>24){case 1:{a[q>>0]=k>>>(d[Q>>0]|0)<<(d[R>>0]|0)|l>>>(d[N>>0]|0)<<(d[P>>0]|0)|j>>>(d[S>>0]|0)<<(d[T>>0]|0)|f>>>(d[U>>0]|0)<<(d[v>>0]|0);break}case 2:{b[q>>1]=k>>>(d[Q>>0]|0)<<(d[R>>0]|0)|l>>>(d[N>>0]|0)<<(d[P>>0]|0)|j>>>(d[S>>0]|0)<<(d[T>>0]|0)|f>>>(d[U>>0]|0)<<(d[v>>0]|0);break}case 3:{a[q+((d[P>>0]|0)>>>3&255)>>0]=o;a[q+((d[R>>0]|0)>>>3&255)>>0]=n;a[q+((d[T>>0]|0)>>>3&255)>>0]=m;break}case 4:{c[q>>2]=k>>>(d[Q>>0]|0)<<(d[R>>0]|0)|l>>>(d[N>>0]|0)<<(d[P>>0]|0)|j>>>(d[S>>0]|0)<<(d[T>>0]|0)|f>>>(d[U>>0]|0)<<(d[v>>0]|0);break}default:{}}p=p+-1|0;if(!p)break;else{q=q+K|0;r=r+I|0}}g=g+u|0;h=h+t|0}if(!i)break;else{g=g+V|0;h=h+W|0}}return} +function _G(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;g=c[f+24>>2]|0;j=c[f+28>>2]|0;Q=c[f+16>>2]|0;H=c[f+36>>2]|0;h=c[f+40>>2]|0;i=c[f+44>>2]|0;J=a[h+9>>0]|0;K=J&255;L=a[i+9>>0]|0;M=L&255;if(!(c[i+24>>2]|0))I=0;else I=d[f+63>>0]|0;N=~c[h+24>>2];O=c[f+56>>2]&N;if(!j)return;P=(g+7|0)/8|0;G=g&255;y=h+28|0;z=h+12|0;A=h+32|0;B=h+29|0;C=h+16|0;D=h+33|0;E=h+30|0;F=h+20|0;q=h+34|0;r=i+28|0;s=i+32|0;t=i+29|0;u=i+33|0;v=i+30|0;w=i+34|0;x=i+31|0;p=i+35|0;g=c[f>>2]|0;h=c[f+20>>2]|0;a:while(1){j=j+-1|0;switch(G&7){case 0:{o=P;i=6;break}case 7:{o=P;i=18;break}case 6:{o=P;i=30;break}case 5:{o=P;i=42;break}case 4:{o=P;i=54;break}case 3:{o=P;i=66;break}case 2:{o=P;i=78;break}case 1:{o=P;i=90;break}default:{i=102;break a}}while(1)if((i|0)==6){switch(J<<24>>24){case 1:{i=d[g>>0]|0;break}case 2:{i=e[g>>1]|0;break}case 3:{i=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{i=c[g>>2]|0;break}default:i=0}b:do if((i&N|0)!=(O|0)){k=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[A>>0]|0))>>0]|0;l=k&255;m=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[C>>2]&i)>>>(d[D>>0]|0))>>0]|0;n=m&255;i=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&i)>>>(d[q>>0]|0))>>0]|0;f=i&255;switch(L<<24>>24){case 1:{a[h>>0]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break b}case 2:{b[h>>1]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break b}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=k;a[h+((d[u>>0]|0)>>>3&255)>>0]=m;a[h+((d[w>>0]|0)>>>3&255)>>0]=i;break b}case 4:{c[h>>2]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break b}default:break b}}while(0);g=g+K|0;h=h+M|0;i=18;continue}else if((i|0)==18){switch(J<<24>>24){case 1:{i=d[g>>0]|0;break}case 2:{i=e[g>>1]|0;break}case 3:{i=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{i=c[g>>2]|0;break}default:i=0}c:do if((i&N|0)!=(O|0)){k=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[A>>0]|0))>>0]|0;l=k&255;m=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[C>>2]&i)>>>(d[D>>0]|0))>>0]|0;n=m&255;i=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&i)>>>(d[q>>0]|0))>>0]|0;f=i&255;switch(L<<24>>24){case 1:{a[h>>0]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break c}case 2:{b[h>>1]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break c}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=k;a[h+((d[u>>0]|0)>>>3&255)>>0]=m;a[h+((d[w>>0]|0)>>>3&255)>>0]=i;break c}case 4:{c[h>>2]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break c}default:break c}}while(0);g=g+K|0;h=h+M|0;i=30;continue}else if((i|0)==30){switch(J<<24>>24){case 1:{i=d[g>>0]|0;break}case 2:{i=e[g>>1]|0;break}case 3:{i=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{i=c[g>>2]|0;break}default:i=0}d:do if((i&N|0)!=(O|0)){k=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[A>>0]|0))>>0]|0;l=k&255;m=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[C>>2]&i)>>>(d[D>>0]|0))>>0]|0;n=m&255;i=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&i)>>>(d[q>>0]|0))>>0]|0;f=i&255;switch(L<<24>>24){case 1:{a[h>>0]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break d}case 2:{b[h>>1]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break d}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=k;a[h+((d[u>>0]|0)>>>3&255)>>0]=m;a[h+((d[w>>0]|0)>>>3&255)>>0]=i;break d}case 4:{c[h>>2]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break d}default:break d}}while(0);g=g+K|0;h=h+M|0;i=42;continue}else if((i|0)==42){switch(J<<24>>24){case 1:{i=d[g>>0]|0;break}case 2:{i=e[g>>1]|0;break}case 3:{i=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{i=c[g>>2]|0;break}default:i=0}e:do if((i&N|0)!=(O|0)){k=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[A>>0]|0))>>0]|0;l=k&255;m=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[C>>2]&i)>>>(d[D>>0]|0))>>0]|0;n=m&255;i=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&i)>>>(d[q>>0]|0))>>0]|0;f=i&255;switch(L<<24>>24){case 1:{a[h>>0]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break e}case 2:{b[h>>1]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break e}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=k;a[h+((d[u>>0]|0)>>>3&255)>>0]=m;a[h+((d[w>>0]|0)>>>3&255)>>0]=i;break e}case 4:{c[h>>2]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break e}default:break e}}while(0);g=g+K|0;h=h+M|0;i=54;continue}else if((i|0)==54){switch(J<<24>>24){case 1:{i=d[g>>0]|0;break}case 2:{i=e[g>>1]|0;break}case 3:{i=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{i=c[g>>2]|0;break}default:i=0}f:do if((i&N|0)!=(O|0)){k=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[A>>0]|0))>>0]|0;l=k&255;m=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[C>>2]&i)>>>(d[D>>0]|0))>>0]|0;n=m&255;i=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&i)>>>(d[q>>0]|0))>>0]|0;f=i&255;switch(L<<24>>24){case 1:{a[h>>0]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break f}case 2:{b[h>>1]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break f}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=k;a[h+((d[u>>0]|0)>>>3&255)>>0]=m;a[h+((d[w>>0]|0)>>>3&255)>>0]=i;break f}case 4:{c[h>>2]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break f}default:break f}}while(0);g=g+K|0;h=h+M|0;i=66;continue}else if((i|0)==66){switch(J<<24>>24){case 1:{i=d[g>>0]|0;break}case 2:{i=e[g>>1]|0;break}case 3:{i=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{i=c[g>>2]|0;break}default:i=0}g:do if((i&N|0)!=(O|0)){k=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[A>>0]|0))>>0]|0;l=k&255;m=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[C>>2]&i)>>>(d[D>>0]|0))>>0]|0;n=m&255;i=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&i)>>>(d[q>>0]|0))>>0]|0;f=i&255;switch(L<<24>>24){case 1:{a[h>>0]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break g}case 2:{b[h>>1]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break g}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=k;a[h+((d[u>>0]|0)>>>3&255)>>0]=m;a[h+((d[w>>0]|0)>>>3&255)>>0]=i;break g}case 4:{c[h>>2]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break g}default:break g}}while(0);g=g+K|0;h=h+M|0;i=78;continue}else if((i|0)==78){switch(J<<24>>24){case 1:{i=d[g>>0]|0;break}case 2:{i=e[g>>1]|0;break}case 3:{i=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{i=c[g>>2]|0;break}default:i=0}h:do if((i&N|0)!=(O|0)){k=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[A>>0]|0))>>0]|0;l=k&255;m=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[C>>2]&i)>>>(d[D>>0]|0))>>0]|0;n=m&255;i=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&i)>>>(d[q>>0]|0))>>0]|0;f=i&255;switch(L<<24>>24){case 1:{a[h>>0]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break h}case 2:{b[h>>1]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break h}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=k;a[h+((d[u>>0]|0)>>>3&255)>>0]=m;a[h+((d[w>>0]|0)>>>3&255)>>0]=i;break h}case 4:{c[h>>2]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break h}default:break h}}while(0);g=g+K|0;h=h+M|0;i=90;continue}else if((i|0)==90){switch(J<<24>>24){case 1:{i=d[g>>0]|0;break}case 2:{i=e[g>>1]|0;break}case 3:{i=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{i=c[g>>2]|0;break}default:i=0}i:do if((i&N|0)!=(O|0)){k=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[A>>0]|0))>>0]|0;l=k&255;m=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[C>>2]&i)>>>(d[D>>0]|0))>>0]|0;n=m&255;i=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&i)>>>(d[q>>0]|0))>>0]|0;f=i&255;switch(L<<24>>24){case 1:{a[h>>0]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break i}case 2:{b[h>>1]=n>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|I>>>(d[x>>0]|0)<<(d[p>>0]|0);break i}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=k;a[h+((d[u>>0]|0)>>>3&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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;i=c[b+24>>2]|0;s=c[b+28>>2]|0;g=c[b>>2]|0;gc=c[b+16>>2]|0;f=c[b+20>>2]|0;fc=c[b+36>>2]|0;bc=c[b+48>>2]|0;cc=c[b+40>>2]|0;dc=a[cc+9>>0]|0;ec=dc&255;h=s+-1|0;b=(s|0)==0;if(!bc){if(b)return;s=(i+7|0)/8|0;r=i&255;j=cc+28|0;k=cc+12|0;l=cc+32|0;m=cc+29|0;n=cc+16|0;o=cc+33|0;p=cc+30|0;q=cc+20|0;i=cc+34|0;a:while(1){switch(r&7){case 0:{u=s;za=g;Aa=f;f=7;break}case 7:{ta=s;Ia=g;Ja=f;f=14;break}case 6:{Ca=s;Ra=g;Sa=f;f=21;break}case 5:{La=s;_a=g;$a=f;f=28;break}case 4:{Ua=s;hb=g;ib=f;f=35;break}case 3:{bb=s;qb=g;rb=f;f=42;break}case 2:{kb=s;zb=g;Ab=f;f=49;break}case 1:{tb=s;Gb=g;Hb=f;f=56;break}default:{f=63;break a}}while(1)if((f|0)==7){f=0;switch(dc<<24>>24){case 1:{Nb=d[za>>0]|0;x=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Nb)>>>(d[o>>0]|0))|0;z=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Nb)>>>(d[l>>0]|0))|0;Nb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Nb)>>>(d[i>>0]|0))|0;f=12;break}case 2:{Nb=e[za>>1]|0;x=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Nb)>>>(d[o>>0]|0))|0;z=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Nb)>>>(d[l>>0]|0))|0;Nb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Nb)>>>(d[i>>0]|0))|0;f=12;break}case 3:{x=za+((d[o>>0]|0)>>>3&255)|0;z=za+((d[l>>0]|0)>>>3&255)|0;Nb=za+((d[i>>0]|0)>>>3&255)|0;f=12;break}case 4:{Nb=c[za>>2]|0;x=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Nb)>>>(d[o>>0]|0))|0;z=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Nb)>>>(d[l>>0]|0))|0;Nb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Nb)>>>(d[i>>0]|0))|0;f=12;break}default:{v=0;w=0;y=0}}if((f|0)==12){v=a[Nb>>0]|0;w=a[x>>0]|0;y=a[z>>0]|0}a[Aa>>0]=(w&255)>>>5<<2|y&-32&255|(v&255)>>>6;ta=u;Ia=za+ec|0;Ja=Aa+1|0;f=14;continue}else if((f|0)==14){f=0;switch(dc<<24>>24){case 1:{Ob=d[Ia>>0]|0;wa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ob)>>>(d[o>>0]|0))|0;ya=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ob)>>>(d[l>>0]|0))|0;Ob=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ob)>>>(d[i>>0]|0))|0;f=19;break}case 2:{Ob=e[Ia>>1]|0;wa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ob)>>>(d[o>>0]|0))|0;ya=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ob)>>>(d[l>>0]|0))|0;Ob=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ob)>>>(d[i>>0]|0))|0;f=19;break}case 3:{wa=Ia+((d[o>>0]|0)>>>3&255)|0;ya=Ia+((d[l>>0]|0)>>>3&255)|0;Ob=Ia+((d[i>>0]|0)>>>3&255)|0;f=19;break}case 4:{Ob=c[Ia>>2]|0;wa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ob)>>>(d[o>>0]|0))|0;ya=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ob)>>>(d[l>>0]|0))|0;Ob=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ob)>>>(d[i>>0]|0))|0;f=19;break}default:{ua=0;va=0;xa=0}}if((f|0)==19){ua=a[Ob>>0]|0;va=a[wa>>0]|0;xa=a[ya>>0]|0}a[Ja>>0]=(va&255)>>>5<<2|xa&-32&255|(ua&255)>>>6;Ca=ta;Ra=Ia+ec|0;Sa=Ja+1|0;f=21;continue}else if((f|0)==21){f=0;switch(dc<<24>>24){case 1:{Pb=d[Ra>>0]|0;Fa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Pb)>>>(d[o>>0]|0))|0;Ha=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Pb)>>>(d[l>>0]|0))|0;Pb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Pb)>>>(d[i>>0]|0))|0;f=26;break}case 2:{Pb=e[Ra>>1]|0;Fa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Pb)>>>(d[o>>0]|0))|0;Ha=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Pb)>>>(d[l>>0]|0))|0;Pb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Pb)>>>(d[i>>0]|0))|0;f=26;break}case 3:{Fa=Ra+((d[o>>0]|0)>>>3&255)|0;Ha=Ra+((d[l>>0]|0)>>>3&255)|0;Pb=Ra+((d[i>>0]|0)>>>3&255)|0;f=26;break}case 4:{Pb=c[Ra>>2]|0;Fa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Pb)>>>(d[o>>0]|0))|0;Ha=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Pb)>>>(d[l>>0]|0))|0;Pb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Pb)>>>(d[i>>0]|0))|0;f=26;break}default:{Da=0;Ea=0;Ga=0}}if((f|0)==26){Da=a[Pb>>0]|0;Ea=a[Fa>>0]|0;Ga=a[Ha>>0]|0}a[Sa>>0]=(Ea&255)>>>5<<2|Ga&-32&255|(Da&255)>>>6;La=Ca;_a=Ra+ec|0;$a=Sa+1|0;f=28;continue}else if((f|0)==28){f=0;switch(dc<<24>>24){case 1:{Qb=d[_a>>0]|0;Oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Qb)>>>(d[o>>0]|0))|0;Qa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Qb)>>>(d[l>>0]|0))|0;Qb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Qb)>>>(d[i>>0]|0))|0;f=33;break}case 2:{Qb=e[_a>>1]|0;Oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Qb)>>>(d[o>>0]|0))|0;Qa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Qb)>>>(d[l>>0]|0))|0;Qb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Qb)>>>(d[i>>0]|0))|0;f=33;break}case 3:{Oa=_a+((d[o>>0]|0)>>>3&255)|0;Qa=_a+((d[l>>0]|0)>>>3&255)|0;Qb=_a+((d[i>>0]|0)>>>3&255)|0;f=33;break}case 4:{Qb=c[_a>>2]|0;Oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Qb)>>>(d[o>>0]|0))|0;Qa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Qb)>>>(d[l>>0]|0))|0;Qb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Qb)>>>(d[i>>0]|0))|0;f=33;break}default:{Ma=0;Na=0;Pa=0}}if((f|0)==33){Ma=a[Qb>>0]|0;Na=a[Oa>>0]|0;Pa=a[Qa>>0]|0}a[$a>>0]=(Na&255)>>>5<<2|Pa&-32&255|(Ma&255)>>>6;Ua=La;hb=_a+ec|0;ib=$a+1|0;f=35;continue}else if((f|0)==35){f=0;switch(dc<<24>>24){case 1:{Rb=d[hb>>0]|0;Xa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Rb)>>>(d[o>>0]|0))|0;Za=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Rb)>>>(d[l>>0]|0))|0;Rb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Rb)>>>(d[i>>0]|0))|0;f=40;break}case 2:{Rb=e[hb>>1]|0;Xa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Rb)>>>(d[o>>0]|0))|0;Za=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Rb)>>>(d[l>>0]|0))|0;Rb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Rb)>>>(d[i>>0]|0))|0;f=40;break}case 3:{Xa=hb+((d[o>>0]|0)>>>3&255)|0;Za=hb+((d[l>>0]|0)>>>3&255)|0;Rb=hb+((d[i>>0]|0)>>>3&255)|0;f=40;break}case 4:{Rb=c[hb>>2]|0;Xa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Rb)>>>(d[o>>0]|0))|0;Za=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Rb)>>>(d[l>>0]|0))|0;Rb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Rb)>>>(d[i>>0]|0))|0;f=40;break}default:{Va=0;Wa=0;Ya=0}}if((f|0)==40){Va=a[Rb>>0]|0;Wa=a[Xa>>0]|0;Ya=a[Za>>0]|0}a[ib>>0]=(Wa&255)>>>5<<2|Ya&-32&255|(Va&255)>>>6;bb=Ua;qb=hb+ec|0;rb=ib+1|0;f=42;continue}else if((f|0)==42){f=0;switch(dc<<24>>24){case 1:{Sb=d[qb>>0]|0;eb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Sb)>>>(d[o>>0]|0))|0;gb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Sb)>>>(d[l>>0]|0))|0;Sb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Sb)>>>(d[i>>0]|0))|0;f=47;break}case 2:{Sb=e[qb>>1]|0;eb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Sb)>>>(d[o>>0]|0))|0;gb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Sb)>>>(d[l>>0]|0))|0;Sb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Sb)>>>(d[i>>0]|0))|0;f=47;break}case 3:{eb=qb+((d[o>>0]|0)>>>3&255)|0;gb=qb+((d[l>>0]|0)>>>3&255)|0;Sb=qb+((d[i>>0]|0)>>>3&255)|0;f=47;break}case 4:{Sb=c[qb>>2]|0;eb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Sb)>>>(d[o>>0]|0))|0;gb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Sb)>>>(d[l>>0]|0))|0;Sb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Sb)>>>(d[i>>0]|0))|0;f=47;break}default:{cb=0;db=0;fb=0}}if((f|0)==47){cb=a[Sb>>0]|0;db=a[eb>>0]|0;fb=a[gb>>0]|0}a[rb>>0]=(db&255)>>>5<<2|fb&-32&255|(cb&255)>>>6;kb=bb;zb=qb+ec|0;Ab=rb+1|0;f=49;continue}else if((f|0)==49){f=0;switch(dc<<24>>24){case 1:{Tb=d[zb>>0]|0;nb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Tb)>>>(d[o>>0]|0))|0;pb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Tb)>>>(d[l>>0]|0))|0;Tb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Tb)>>>(d[i>>0]|0))|0;f=54;break}case 2:{Tb=e[zb>>1]|0;nb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Tb)>>>(d[o>>0]|0))|0;pb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Tb)>>>(d[l>>0]|0))|0;Tb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Tb)>>>(d[i>>0]|0))|0;f=54;break}case 3:{nb=zb+((d[o>>0]|0)>>>3&255)|0;pb=zb+((d[l>>0]|0)>>>3&255)|0;Tb=zb+((d[i>>0]|0)>>>3&255)|0;f=54;break}case 4:{Tb=c[zb>>2]|0;nb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Tb)>>>(d[o>>0]|0))|0;pb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Tb)>>>(d[l>>0]|0))|0;Tb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Tb)>>>(d[i>>0]|0))|0;f=54;break}default:{lb=0;mb=0;ob=0}}if((f|0)==54){lb=a[Tb>>0]|0;mb=a[nb>>0]|0;ob=a[pb>>0]|0}a[Ab>>0]=(mb&255)>>>5<<2|ob&-32&255|(lb&255)>>>6;tb=kb;Gb=zb+ec|0;Hb=Ab+1|0;f=56;continue}else if((f|0)==56){f=0;switch(dc<<24>>24){case 1:{Ub=d[Gb>>0]|0;wb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ub)>>>(d[o>>0]|0))|0;yb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ub)>>>(d[l>>0]|0))|0;Ub=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ub)>>>(d[i>>0]|0))|0;f=61;break}case 2:{Ub=e[Gb>>1]|0;wb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ub)>>>(d[o>>0]|0))|0;yb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ub)>>>(d[l>>0]|0))|0;Ub=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ub)>>>(d[i>>0]|0))|0;f=61;break}case 3:{wb=Gb+((d[o>>0]|0)>>>3&255)|0;yb=Gb+((d[l>>0]|0)>>>3&255)|0;Ub=Gb+((d[i>>0]|0)>>>3&255)|0;f=61;break}case 4:{Ub=c[Gb>>2]|0;wb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ub)>>>(d[o>>0]|0))|0;yb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ub)>>>(d[l>>0]|0))|0;Ub=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ub)>>>(d[i>>0]|0))|0;f=61;break}default:{ub=0;vb=0;xb=0}}if((f|0)==61){ub=a[Ub>>0]|0;vb=a[wb>>0]|0;xb=a[yb>>0]|0}a[Hb>>0]=(vb&255)>>>5<<2|xb&-32&255|(ub&255)>>>6;b=Hb+1|0;f=Gb+ec|0;if((tb|0)>1){u=tb+-1|0;za=f;Aa=b;f=7;continue}else break}if(!h){f=124;break}else{g=f+gc|0;f=b+fc|0;h=h+-1|0}}if((f|0)!=63)if((f|0)==124)return}else{if(b)return;s=(i+7|0)/8|0;r=i&255;j=cc+28|0;k=cc+12|0;l=cc+32|0;m=cc+29|0;n=cc+16|0;o=cc+33|0;p=cc+30|0;q=cc+20|0;i=cc+34|0;b:while(1){switch(r&7){case 0:{t=s;G=g;H=f;f=66;break}case 7:{A=s;N=g;O=f;f=73;break}case 6:{U=g;V=f;Ba=s;f=80;break}case 5:{$=g;aa=f;Ka=s;f=87;break}case 4:{ga=g;ha=f;Ta=s;f=94;break}case 3:{na=g;oa=f;ab=s;f=101;break}case 2:{pa=g;qa=f;jb=s;f=108;break}case 1:{ra=g;sa=f;sb=s;f=115;break}default:{f=122;break b}}while(1)if((f|0)==66){f=0;switch(dc<<24>>24){case 1:{Vb=d[G>>0]|0;Db=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Vb)>>>(d[o>>0]|0))|0;Fb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Vb)>>>(d[l>>0]|0))|0;Vb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Vb)>>>(d[i>>0]|0))|0;f=71;break}case 2:{Vb=e[G>>1]|0;Db=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Vb)>>>(d[o>>0]|0))|0;Fb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Vb)>>>(d[l>>0]|0))|0;Vb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Vb)>>>(d[i>>0]|0))|0;f=71;break}case 3:{Db=G+((d[o>>0]|0)>>>3&255)|0;Fb=G+((d[l>>0]|0)>>>3&255)|0;Vb=G+((d[i>>0]|0)>>>3&255)|0;f=71;break}case 4:{Vb=c[G>>2]|0;Db=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Vb)>>>(d[o>>0]|0))|0;Fb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Vb)>>>(d[l>>0]|0))|0;Vb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Vb)>>>(d[i>>0]|0))|0;f=71;break}default:{Bb=0;Cb=0;Eb=0}}if((f|0)==71){Bb=a[Vb>>0]|0;Cb=a[Db>>0]|0;Eb=a[Fb>>0]|0}a[H>>0]=a[bc+((Cb&255)>>>5<<2|Eb&-32&255|(Bb&255)>>>6)>>0]|0;A=t;N=G+ec|0;O=H+1|0;f=73;continue}else if((f|0)==73){f=0;switch(dc<<24>>24){case 1:{Wb=d[N>>0]|0;Kb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Wb)>>>(d[o>>0]|0))|0;Mb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Wb)>>>(d[l>>0]|0))|0;Wb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Wb)>>>(d[i>>0]|0))|0;f=78;break}case 2:{Wb=e[N>>1]|0;Kb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Wb)>>>(d[o>>0]|0))|0;Mb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Wb)>>>(d[l>>0]|0))|0;Wb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Wb)>>>(d[i>>0]|0))|0;f=78;break}case 3:{Kb=N+((d[o>>0]|0)>>>3&255)|0;Mb=N+((d[l>>0]|0)>>>3&255)|0;Wb=N+((d[i>>0]|0)>>>3&255)|0;f=78;break}case 4:{Wb=c[N>>2]|0;Kb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Wb)>>>(d[o>>0]|0))|0;Mb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Wb)>>>(d[l>>0]|0))|0;Wb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Wb)>>>(d[i>>0]|0))|0;f=78;break}default:{Ib=0;Jb=0;Lb=0}}if((f|0)==78){Ib=a[Wb>>0]|0;Jb=a[Kb>>0]|0;Lb=a[Mb>>0]|0}a[O>>0]=a[bc+((Jb&255)>>>5<<2|Lb&-32&255|(Ib&255)>>>6)>>0]|0;U=N+ec|0;V=O+1|0;Ba=A;f=80;continue}else if((f|0)==80){f=0;switch(dc<<24>>24){case 1:{Xb=d[U>>0]|0;D=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Xb)>>>(d[o>>0]|0))|0;F=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Xb)>>>(d[l>>0]|0))|0;Xb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Xb)>>>(d[i>>0]|0))|0;f=85;break}case 2:{Xb=e[U>>1]|0;D=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Xb)>>>(d[o>>0]|0))|0;F=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Xb)>>>(d[l>>0]|0))|0;Xb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Xb)>>>(d[i>>0]|0))|0;f=85;break}case 3:{D=U+((d[o>>0]|0)>>>3&255)|0;F=U+((d[l>>0]|0)>>>3&255)|0;Xb=U+((d[i>>0]|0)>>>3&255)|0;f=85;break}case 4:{Xb=c[U>>2]|0;D=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Xb)>>>(d[o>>0]|0))|0;F=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Xb)>>>(d[l>>0]|0))|0;Xb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Xb)>>>(d[i>>0]|0))|0;f=85;break}default:{B=0;C=0;E=0}}if((f|0)==85){B=a[Xb>>0]|0;C=a[D>>0]|0;E=a[F>>0]|0}a[V>>0]=a[bc+((C&255)>>>5<<2|E&-32&255|(B&255)>>>6)>>0]|0;$=U+ec|0;aa=V+1|0;Ka=Ba;f=87;continue}else if((f|0)==87){f=0;switch(dc<<24>>24){case 1:{Yb=d[$>>0]|0;K=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Yb)>>>(d[o>>0]|0))|0;M=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Yb)>>>(d[l>>0]|0))|0;Yb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Yb)>>>(d[i>>0]|0))|0;f=92;break}case 2:{Yb=e[$>>1]|0;K=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Yb)>>>(d[o>>0]|0))|0;M=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Yb)>>>(d[l>>0]|0))|0;Yb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Yb)>>>(d[i>>0]|0))|0;f=92;break}case 3:{K=$+((d[o>>0]|0)>>>3&255)|0;M=$+((d[l>>0]|0)>>>3&255)|0;Yb=$+((d[i>>0]|0)>>>3&255)|0;f=92;break}case 4:{Yb=c[$>>2]|0;K=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Yb)>>>(d[o>>0]|0))|0;M=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Yb)>>>(d[l>>0]|0))|0;Yb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Yb)>>>(d[i>>0]|0))|0;f=92;break}default:{I=0;J=0;L=0}}if((f|0)==92){I=a[Yb>>0]|0;J=a[K>>0]|0;L=a[M>>0]|0}a[aa>>0]=a[bc+((J&255)>>>5<<2|L&-32&255|(I&255)>>>6)>>0]|0;ga=$+ec|0;ha=aa+1|0;Ta=Ka;f=94;continue}else if((f|0)==94){f=0;switch(dc<<24>>24){case 1:{Zb=d[ga>>0]|0;R=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Zb)>>>(d[o>>0]|0))|0;T=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Zb)>>>(d[l>>0]|0))|0;Zb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Zb)>>>(d[i>>0]|0))|0;f=99;break}case 2:{Zb=e[ga>>1]|0;R=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Zb)>>>(d[o>>0]|0))|0;T=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Zb)>>>(d[l>>0]|0))|0;Zb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Zb)>>>(d[i>>0]|0))|0;f=99;break}case 3:{R=ga+((d[o>>0]|0)>>>3&255)|0;T=ga+((d[l>>0]|0)>>>3&255)|0;Zb=ga+((d[i>>0]|0)>>>3&255)|0;f=99;break}case 4:{Zb=c[ga>>2]|0;R=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Zb)>>>(d[o>>0]|0))|0;T=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Zb)>>>(d[l>>0]|0))|0;Zb=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Zb)>>>(d[i>>0]|0))|0;f=99;break}default:{P=0;Q=0;S=0}}if((f|0)==99){P=a[Zb>>0]|0;Q=a[R>>0]|0;S=a[T>>0]|0}a[ha>>0]=a[bc+((Q&255)>>>5<<2|S&-32&255|(P&255)>>>6)>>0]|0;na=ga+ec|0;oa=ha+1|0;ab=Ta;f=101;continue}else if((f|0)==101){f=0;switch(dc<<24>>24){case 1:{_b=d[na>>0]|0;Y=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&_b)>>>(d[o>>0]|0))|0;_=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&_b)>>>(d[l>>0]|0))|0;_b=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&_b)>>>(d[i>>0]|0))|0;f=106;break}case 2:{_b=e[na>>1]|0;Y=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&_b)>>>(d[o>>0]|0))|0;_=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&_b)>>>(d[l>>0]|0))|0;_b=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&_b)>>>(d[i>>0]|0))|0;f=106;break}case 3:{Y=na+((d[o>>0]|0)>>>3&255)|0;_=na+((d[l>>0]|0)>>>3&255)|0;_b=na+((d[i>>0]|0)>>>3&255)|0;f=106;break}case 4:{_b=c[na>>2]|0;Y=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&_b)>>>(d[o>>0]|0))|0;_=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&_b)>>>(d[l>>0]|0))|0;_b=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&_b)>>>(d[i>>0]|0))|0;f=106;break}default:{W=0;X=0;Z=0}}if((f|0)==106){W=a[_b>>0]|0;X=a[Y>>0]|0;Z=a[_>>0]|0}a[oa>>0]=a[bc+((X&255)>>>5<<2|Z&-32&255|(W&255)>>>6)>>0]|0;pa=na+ec|0;qa=oa+1|0;jb=ab;f=108;continue}else if((f|0)==108){f=0;switch(dc<<24>>24){case 1:{$b=d[pa>>0]|0;da=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&$b)>>>(d[o>>0]|0))|0;fa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&$b)>>>(d[l>>0]|0))|0;$b=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&$b)>>>(d[i>>0]|0))|0;f=113;break}case 2:{$b=e[pa>>1]|0;da=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&$b)>>>(d[o>>0]|0))|0;fa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&$b)>>>(d[l>>0]|0))|0;$b=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&$b)>>>(d[i>>0]|0))|0;f=113;break}case 3:{da=pa+((d[o>>0]|0)>>>3&255)|0;fa=pa+((d[l>>0]|0)>>>3&255)|0;$b=pa+((d[i>>0]|0)>>>3&255)|0;f=113;break}case 4:{$b=c[pa>>2]|0;da=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&$b)>>>(d[o>>0]|0))|0;fa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&$b)>>>(d[l>>0]|0))|0;$b=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&$b)>>>(d[i>>0]|0))|0;f=113;break}default:{ba=0;ca=0;ea=0}}if((f|0)==113){ba=a[$b>>0]|0;ca=a[da>>0]|0;ea=a[fa>>0]|0}a[qa>>0]=a[bc+((ca&255)>>>5<<2|ea&-32&255|(ba&255)>>>6)>>0]|0;ra=pa+ec|0;sa=qa+1|0;sb=jb;f=115;continue}else if((f|0)==115){f=0;switch(dc<<24>>24){case 1:{ac=d[ra>>0]|0;ka=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&ac)>>>(d[o>>0]|0))|0;ma=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&ac)>>>(d[l>>0]|0))|0;ac=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&ac)>>>(d[i>>0]|0))|0;f=120;break}case 2:{ac=e[ra>>1]|0;ka=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&ac)>>>(d[o>>0]|0))|0;ma=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&ac)>>>(d[l>>0]|0))|0;ac=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&ac)>>>(d[i>>0]|0))|0;f=120;break}case 3:{ka=ra+((d[o>>0]|0)>>>3&255)|0;ma=ra+((d[l>>0]|0)>>>3&255)|0;ac=ra+((d[i>>0]|0)>>>3&255)|0;f=120;break}case 4:{ac=c[ra>>2]|0;ka=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&ac)>>>(d[o>>0]|0))|0;ma=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&ac)>>>(d[l>>0]|0))|0;ac=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&ac)>>>(d[i>>0]|0))|0;f=120;break}default:{ia=0;ja=0;la=0}}if((f|0)==120){ia=a[ac>>0]|0;ja=a[ka>>0]|0;la=a[ma>>0]|0}a[sa>>0]=a[bc+((ja&255)>>>5<<2|la&-32&255|(ia&255)>>>6)>>0]|0;b=sa+1|0;f=ra+ec|0;if((sb|0)>1){t=sb+-1|0;G=f;H=b;f=66;continue}else break}if(!h){f=124;break}else{g=f+gc|0;f=b+fc|0;h=h+-1|0}}if((f|0)!=122)if((f|0)==124)return}}function aH(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,Y=0;i=c[b+24>>2]|0;f=c[b+28>>2]|0;e=c[b>>2]|0;Y=(c[b+16>>2]|0)/4|0;d=c[b+20>>2]|0;X=c[b+36>>2]|0;y=c[b+48>>2]|0;b=f+-1|0;f=(f|0)==0;if(!y){if(f)return;g=(i+7|0)/8|0;f=i&255;a:while(1){switch(f&7){case 0:{h=g;k=d;d=7;break}case 7:{j=g;m=d;d=8;break}case 6:{l=g;o=d;d=9;break}case 5:{n=g;q=d;d=10;break}case 4:{p=g;s=d;d=11;break}case 3:{r=g;u=d;d=12;break}case 2:{t=g;w=d;d=13;break}case 1:{v=g;x=d;d=14;break}default:{d=15;break a}}while(1)if((d|0)==7){j=c[e>>2]|0;a[k>>0]=j>>>16&224|j>>>11&28|j>>>6&3;j=h;m=k+1|0;d=8;continue}else if((d|0)==8){l=c[e>>2]|0;a[m>>0]=l>>>16&224|l>>>11&28|l>>>6&3;l=j;o=m+1|0;d=9;continue}else if((d|0)==9){n=c[e>>2]|0;a[o>>0]=n>>>16&224|n>>>11&28|n>>>6&3;n=l;q=o+1|0;d=10;continue}else if((d|0)==10){p=c[e>>2]|0;a[q>>0]=p>>>16&224|p>>>11&28|p>>>6&3;p=n;s=q+1|0;d=11;continue}else if((d|0)==11){r=c[e>>2]|0;a[s>>0]=r>>>16&224|r>>>11&28|r>>>6&3;r=p;u=s+1|0;d=12;continue}else if((d|0)==12){t=c[e>>2]|0;a[u>>0]=t>>>16&224|t>>>11&28|t>>>6&3;t=r;w=u+1|0;d=13;continue}else if((d|0)==13){v=c[e>>2]|0;a[w>>0]=v>>>16&224|v>>>11&28|v>>>6&3;v=t;x=w+1|0;d=14;continue}else if((d|0)==14){W=c[e>>2]|0;d=x+1|0;a[x>>0]=W>>>16&224|W>>>11&28|W>>>6&3;if((v|0)>1){h=v+-1|0;k=d;d=7;continue}else break}if(!b){d=28;break}else{e=e+(Y<<2)|0;d=d+X|0;b=b+-1|0}}if((d|0)!=15)if((d|0)==28)return}else{if(f)return;h=(i+7|0)/8|0;g=i&255;b:while(1){switch(g&7){case 0:{z=h;B=d;K=e;d=18;break}case 7:{A=h;C=d;M=e;d=19;break}case 6:{D=d;J=h;O=e;d=20;break}case 5:{E=d;L=h;Q=e;d=21;break}case 4:{F=d;N=h;S=e;d=22;break}case 3:{G=d;P=h;U=e;d=23;break}case 2:{H=d;R=h;V=e;d=24;break}case 1:{I=d;T=h;W=e;d=25;break}default:{d=26;break b}}while(1)if((d|0)==18){A=c[K>>2]|0;a[B>>0]=a[y+(A>>>16&224|A>>>11&28|A>>>6&3)>>0]|0;A=z;C=B+1|0;M=K+4|0;d=19;continue}else if((d|0)==19){D=c[M>>2]|0;a[C>>0]=a[y+(D>>>16&224|D>>>11&28|D>>>6&3)>>0]|0;D=C+1|0;J=A;O=M+4|0;d=20;continue}else if((d|0)==20){E=c[O>>2]|0;a[D>>0]=a[y+(E>>>16&224|E>>>11&28|E>>>6&3)>>0]|0;E=D+1|0;L=J;Q=O+4|0;d=21;continue}else if((d|0)==21){F=c[Q>>2]|0;a[E>>0]=a[y+(F>>>16&224|F>>>11&28|F>>>6&3)>>0]|0;F=E+1|0;N=L;S=Q+4|0;d=22;continue}else if((d|0)==22){G=c[S>>2]|0;a[F>>0]=a[y+(G>>>16&224|G>>>11&28|G>>>6&3)>>0]|0;G=F+1|0;P=N;U=S+4|0;d=23;continue}else if((d|0)==23){H=c[U>>2]|0;a[G>>0]=a[y+(H>>>16&224|H>>>11&28|H>>>6&3)>>0]|0;H=G+1|0;R=P;V=U+4|0;d=24;continue}else if((d|0)==24){I=c[V>>2]|0;a[H>>0]=a[y+(I>>>16&224|I>>>11&28|I>>>6&3)>>0]|0;I=H+1|0;T=R;W=V+4|0;d=25;continue}else if((d|0)==25){d=c[W>>2]|0;f=I+1|0;a[I>>0]=a[y+(d>>>16&224|d>>>11&28|d>>>6&3)>>0]|0;d=W+4|0;if((T|0)>1){z=T+-1|0;B=f;K=d;d=18;continue}else break}if(!b){d=28;break}else{e=d+(Y<<2)|0;d=f+X|0;b=b+-1|0}}if((d|0)!=26)if((d|0)==28)return}}function bH(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,Y=0;i=c[b+24>>2]|0;f=c[b+28>>2]|0;e=c[b>>2]|0;Y=(c[b+16>>2]|0)/4|0;d=c[b+20>>2]|0;X=c[b+36>>2]|0;y=c[b+48>>2]|0;b=f+-1|0;f=(f|0)==0;if(!y){if(f)return;g=(i+7|0)/8|0;f=i&255;a:while(1){switch(f&7){case 0:{h=g;k=d;d=7;break}case 7:{j=g;m=d;d=8;break}case 6:{l=g;o=d;d=9;break}case 5:{n=g;q=d;d=10;break}case 4:{p=g;s=d;d=11;break}case 3:{r=g;u=d;d=12;break}case 2:{t=g;w=d;d=13;break}case 1:{v=g;x=d;d=14;break}default:{d=15;break a}}while(1)if((d|0)==7){j=c[e>>2]|0;a[k>>0]=j>>>22&224|j>>>15&28|j>>>8&3;j=h;m=k+1|0;d=8;continue}else if((d|0)==8){l=c[e>>2]|0;a[m>>0]=l>>>22&224|l>>>15&28|l>>>8&3;l=j;o=m+1|0;d=9;continue}else if((d|0)==9){n=c[e>>2]|0;a[o>>0]=n>>>22&224|n>>>15&28|n>>>8&3;n=l;q=o+1|0;d=10;continue}else if((d|0)==10){p=c[e>>2]|0;a[q>>0]=p>>>22&224|p>>>15&28|p>>>8&3;p=n;s=q+1|0;d=11;continue}else if((d|0)==11){r=c[e>>2]|0;a[s>>0]=r>>>22&224|r>>>15&28|r>>>8&3;r=p;u=s+1|0;d=12;continue}else if((d|0)==12){t=c[e>>2]|0;a[u>>0]=t>>>22&224|t>>>15&28|t>>>8&3;t=r;w=u+1|0;d=13;continue}else if((d|0)==13){v=c[e>>2]|0;a[w>>0]=v>>>22&224|v>>>15&28|v>>>8&3;v=t;x=w+1|0;d=14;continue}else if((d|0)==14){W=c[e>>2]|0;d=x+1|0;a[x>>0]=W>>>22&224|W>>>15&28|W>>>8&3;if((v|0)>1){h=v+-1|0;k=d;d=7;continue}else break}if(!b){d=28;break}else{e=e+(Y<<2)|0;d=d+X|0;b=b+-1|0}}if((d|0)!=15)if((d|0)==28)return}else{if(f)return;h=(i+7|0)/8|0;g=i&255;b:while(1){switch(g&7){case 0:{z=h;B=d;K=e;d=18;break}case 7:{A=h;C=d;M=e;d=19;break}case 6:{D=d;J=h;O=e;d=20;break}case 5:{E=d;L=h;Q=e;d=21;break}case 4:{F=d;N=h;S=e;d=22;break}case 3:{G=d;P=h;U=e;d=23;break}case 2:{H=d;R=h;V=e;d=24;break}case 1:{I=d;T=h;W=e;d=25;break}default:{d=26;break b}}while(1)if((d|0)==18){A=c[K>>2]|0;a[B>>0]=a[y+(A>>>22&224|A>>>15&28|A>>>8&3)>>0]|0;A=z;C=B+1|0;M=K+4|0;d=19;continue}else if((d|0)==19){D=c[M>>2]|0;a[C>>0]=a[y+(D>>>22&224|D>>>15&28|D>>>8&3)>>0]|0;D=C+1|0;J=A;O=M+4|0;d=20;continue}else if((d|0)==20){E=c[O>>2]|0;a[D>>0]=a[y+(E>>>22&224|E>>>15&28|E>>>8&3)>>0]|0;E=D+1|0;L=J;Q=O+4|0;d=21;continue}else if((d|0)==21){F=c[Q>>2]|0;a[E>>0]=a[y+(F>>>22&224|F>>>15&28|F>>>8&3)>>0]|0;F=E+1|0;N=L;S=Q+4|0;d=22;continue}else if((d|0)==22){G=c[S>>2]|0;a[F>>0]=a[y+(G>>>22&224|G>>>15&28|G>>>8&3)>>0]|0;G=F+1|0;P=N;U=S+4|0;d=23;continue}else if((d|0)==23){H=c[U>>2]|0;a[G>>0]=a[y+(H>>>22&224|H>>>15&28|H>>>8&3)>>0]|0;H=G+1|0;R=P;V=U+4|0;d=24;continue}else if((d|0)==24){I=c[V>>2]|0;a[H>>0]=a[y+(I>>>22&224|I>>>15&28|I>>>8&3)>>0]|0;I=H+1|0;T=R;W=V+4|0;d=25;continue}else if((d|0)==25){d=c[W>>2]|0;f=I+1|0;a[I>>0]=a[y+(d>>>22&224|d>>>15&28|d>>>8&3)>>0]|0;d=W+4|0;if((T|0)>1){z=T+-1|0;B=f;K=d;d=18;continue}else break}if(!b){d=28;break}else{e=d+(Y<<2)|0;d=f+X|0;b=b+-1|0}}if((d|0)!=26)if((d|0)==28)return}}function cH(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,A=0,B=0,C=0;f=c[e+24>>2]|0;h=c[e+28>>2]|0;B=c[e+16>>2]|0;C=c[e+36>>2]|0;g=c[e+44>>2]|0;y=a[g+9>>0]|0;z=y&255;if(!h)return;A=(f+7|0)/8|0;x=f&255;q=g+28|0;r=g+32|0;s=g+29|0;t=g+33|0;u=g+30|0;v=g+34|0;w=g+31|0;p=g+35|0;f=c[e>>2]|0;g=c[e+20>>2]|0;a:while(1){h=h+-1|0;switch(x&7){case 0:{o=A;e=4;break}case 7:{o=A;e=10;break}case 6:{o=A;e=16;break}case 5:{o=A;e=22;break}case 4:{o=A;e=28;break}case 3:{o=A;e=34;break}case 2:{o=A;e=40;break}case 1:{o=A;e=46;break}default:{e=52;break a}}while(1)if((e|0)==4){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[289127+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}default:{}}f=f+4|0;g=g+z|0;e=10;continue}else if((e|0)==10){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[289127+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}default:{}}f=f+4|0;g=g+z|0;e=16;continue}else if((e|0)==16){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[289127+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}default:{}}f=f+4|0;g=g+z|0;e=22;continue}else if((e|0)==22){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[289127+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}default:{}}f=f+4|0;g=g+z|0;e=28;continue}else if((e|0)==28){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[289127+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}default:{}}f=f+4|0;g=g+z|0;e=34;continue}else if((e|0)==34){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[289127+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}default:{}}f=f+4|0;g=g+z|0;e=40;continue}else if((e|0)==40){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[289127+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}default:{}}f=f+4|0;g=g+z|0;e=46;continue}else if((e|0)==46){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[289127+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}default:{}}g=g+z|0;f=f+4|0;if((o|0)>1){o=o+-1|0;e=4;continue}else break}if(!h){e=54;break}else{f=f+B|0;g=g+C|0}}if((e|0)!=52)if((e|0)==54)return}function dH(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;f=c[b+24>>2]|0;h=c[b+28>>2]|0;F=c[b+16>>2]|0;G=c[b+36>>2]|0;g=c[b+40>>2]|0;C=a[g+9>>0]|0;D=C&255;if(!h)return;E=(f+7|0)/8|0;B=f&255;q=g+28|0;r=g+12|0;s=g+32|0;t=g+29|0;u=g+16|0;v=g+33|0;w=g+30|0;x=g+20|0;y=g+34|0;z=g+31|0;A=g+24|0;p=g+35|0;f=c[b>>2]|0;g=c[b+20>>2]|0;a:while(1){h=h+-1|0;switch(B&7){case 0:{n=E;o=4;break}case 7:{n=E;o=11;break}case 6:{n=E;o=18;break}case 5:{n=E;o=25;break}case 4:{n=E;o=32;break}case 3:{n=E;o=39;break}case 2:{n=E;o=46;break}case 1:{n=E;o=53;break}default:{o=60;break a}}while(1)if((o|0)==4){o=0;switch(C<<24>>24){case 1:{k=d[f>>0]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=9;break}case 2:{k=e[f>>1]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=9;break}case 3:{b=-1;i=f+((d[y>>0]|0)>>>3&255)|0;j=f+((d[v>>0]|0)>>>3&255)|0;k=f+((d[s>>0]|0)>>>3&255)|0;o=9;break}case 4:{k=c[f>>2]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=9;break}default:{b=0;i=0;j=0;k=0;l=0;m=0}}if((o|0)==9){o=a[i>>0]|0;l=a[j>>0]|0;m=a[k>>0]|0;i=o;j=o&255;k=l;l=l&255;m=m<<24>>24==0?0:(m&255)<<22|3145728}c[g>>2]=(((b&255)/85|0)&255)<<30|m|(i<<24>>24==0?0:j<<2|3)|(k<<24>>24==0?0:l<<12|3072);f=f+D|0;g=g+4|0;o=11;continue}else if((o|0)==11){o=0;switch(C<<24>>24){case 1:{k=d[f>>0]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=16;break}case 2:{k=e[f>>1]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=16;break}case 3:{b=-1;i=f+((d[y>>0]|0)>>>3&255)|0;j=f+((d[v>>0]|0)>>>3&255)|0;k=f+((d[s>>0]|0)>>>3&255)|0;o=16;break}case 4:{k=c[f>>2]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=16;break}default:{b=0;i=0;j=0;k=0;l=0;m=0}}if((o|0)==16){o=a[i>>0]|0;l=a[j>>0]|0;m=a[k>>0]|0;i=o;j=o&255;k=l;l=l&255;m=m<<24>>24==0?0:(m&255)<<22|3145728}c[g>>2]=(((b&255)/85|0)&255)<<30|m|(i<<24>>24==0?0:j<<2|3)|(k<<24>>24==0?0:l<<12|3072);f=f+D|0;g=g+4|0;o=18;continue}else if((o|0)==18){o=0;switch(C<<24>>24){case 1:{k=d[f>>0]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=23;break}case 2:{k=e[f>>1]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=23;break}case 3:{b=-1;i=f+((d[y>>0]|0)>>>3&255)|0;j=f+((d[v>>0]|0)>>>3&255)|0;k=f+((d[s>>0]|0)>>>3&255)|0;o=23;break}case 4:{k=c[f>>2]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=23;break}default:{b=0;i=0;j=0;k=0;l=0;m=0}}if((o|0)==23){o=a[i>>0]|0;l=a[j>>0]|0;m=a[k>>0]|0;i=o;j=o&255;k=l;l=l&255;m=m<<24>>24==0?0:(m&255)<<22|3145728}c[g>>2]=(((b&255)/85|0)&255)<<30|m|(i<<24>>24==0?0:j<<2|3)|(k<<24>>24==0?0:l<<12|3072);f=f+D|0;g=g+4|0;o=25;continue}else if((o|0)==25){o=0;switch(C<<24>>24){case 1:{k=d[f>>0]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=30;break}case 2:{k=e[f>>1]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=30;break}case 3:{b=-1;i=f+((d[y>>0]|0)>>>3&255)|0;j=f+((d[v>>0]|0)>>>3&255)|0;k=f+((d[s>>0]|0)>>>3&255)|0;o=30;break}case 4:{k=c[f>>2]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=30;break}default:{b=0;i=0;j=0;k=0;l=0;m=0}}if((o|0)==30){o=a[i>>0]|0;l=a[j>>0]|0;m=a[k>>0]|0;i=o;j=o&255;k=l;l=l&255;m=m<<24>>24==0?0:(m&255)<<22|3145728}c[g>>2]=(((b&255)/85|0)&255)<<30|m|(i<<24>>24==0?0:j<<2|3)|(k<<24>>24==0?0:l<<12|3072);f=f+D|0;g=g+4|0;o=32;continue}else if((o|0)==32){o=0;switch(C<<24>>24){case 1:{k=d[f>>0]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=37;break}case 2:{k=e[f>>1]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=37;break}case 3:{b=-1;i=f+((d[y>>0]|0)>>>3&255)|0;j=f+((d[v>>0]|0)>>>3&255)|0;k=f+((d[s>>0]|0)>>>3&255)|0;o=37;break}case 4:{k=c[f>>2]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=37;break}default:{b=0;i=0;j=0;k=0;l=0;m=0}}if((o|0)==37){o=a[i>>0]|0;l=a[j>>0]|0;m=a[k>>0]|0;i=o;j=o&255;k=l;l=l&255;m=m<<24>>24==0?0:(m&255)<<22|3145728}c[g>>2]=(((b&255)/85|0)&255)<<30|m|(i<<24>>24==0?0:j<<2|3)|(k<<24>>24==0?0:l<<12|3072);f=f+D|0;g=g+4|0;o=39;continue}else if((o|0)==39){o=0;switch(C<<24>>24){case 1:{k=d[f>>0]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=44;break}case 2:{k=e[f>>1]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=44;break}case 3:{b=-1;i=f+((d[y>>0]|0)>>>3&255)|0;j=f+((d[v>>0]|0)>>>3&255)|0;k=f+((d[s>>0]|0)>>>3&255)|0;o=44;break}case 4:{k=c[f>>2]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=44;break}default:{b=0;i=0;j=0;k=0;l=0;m=0}}if((o|0)==44){o=a[i>>0]|0;l=a[j>>0]|0;m=a[k>>0]|0;i=o;j=o&255;k=l;l=l&255;m=m<<24>>24==0?0:(m&255)<<22|3145728}c[g>>2]=(((b&255)/85|0)&255)<<30|m|(i<<24>>24==0?0:j<<2|3)|(k<<24>>24==0?0:l<<12|3072);f=f+D|0;g=g+4|0;o=46;continue}else if((o|0)==46){o=0;switch(C<<24>>24){case 1:{k=d[f>>0]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=51;break}case 2:{k=e[f>>1]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=51;break}case 3:{b=-1;i=f+((d[y>>0]|0)>>>3&255)|0;j=f+((d[v>>0]|0)>>>3&255)|0;k=f+((d[s>>0]|0)>>>3&255)|0;o=51;break}case 4:{k=c[f>>2]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=51;break}default:{b=0;i=0;j=0;k=0;l=0;m=0}}if((o|0)==51){o=a[i>>0]|0;l=a[j>>0]|0;m=a[k>>0]|0;i=o;j=o&255;k=l;l=l&255;m=m<<24>>24==0?0:(m&255)<<22|3145728}c[g>>2]=(((b&255)/85|0)&255)<<30|m|(i<<24>>24==0?0:j<<2|3)|(k<<24>>24==0?0:l<<12|3072);f=f+D|0;g=g+4|0;o=53;continue}else if((o|0)==53){o=0;switch(C<<24>>24){case 1:{k=d[f>>0]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=58;break}case 2:{k=e[f>>1]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=58;break}case 3:{b=-1;i=f+((d[y>>0]|0)>>>3&255)|0;j=f+((d[v>>0]|0)>>>3&255)|0;k=f+((d[s>>0]|0)>>>3&255)|0;o=58;break}case 4:{k=c[f>>2]|0;b=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[p>>0]|0))>>0]|0;i=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&k)>>>(d[y>>0]|0))|0;j=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&k)>>>(d[v>>0]|0))|0;k=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&k)>>>(d[s>>0]|0))|0;o=58;break}default:{b=0;i=0;j=0;k=0;l=0;m=0}}if((o|0)==58){o=a[i>>0]|0;l=a[j>>0]|0;m=a[k>>0]|0;i=o;j=o&255;k=l;l=l&255;m=m<<24>>24==0?0:(m&255)<<22|3145728}c[g>>2]=(((b&255)/85|0)&255)<<30|m|(i<<24>>24==0?0:j<<2|3)|(k<<24>>24==0?0:l<<12|3072);g=g+4|0;f=f+D|0;if((n|0)>1){n=n+-1|0;o=4;continue}else break}if(!h){o=62;break}else{f=f+F|0;g=g+G|0}}if((o|0)!=60)if((o|0)==62)return}function eH(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,W=0;k=c[a+24>>2]|0;h=c[a+28>>2]|0;e=c[a>>2]|0;W=c[a+16>>2]|0;b=c[a+20>>2]|0;V=c[a+36>>2]|0;f=c[a+40>>2]|0;g=c[a+44>>2]|0;if(!(c[g+24>>2]|0)){j=c[f+16>>2]|c[f+12>>2]|c[f+20>>2];f=h+-1|0;if(!h)return;i=(k+7|0)/8|0;a=k&255;switch(a&7){case 0:{while(1){a=i;while(1){c[b>>2]=c[e>>2]&j;c[b+4>>2]=c[e+4>>2]&j;c[b+8>>2]=c[e+8>>2]&j;c[b+12>>2]=c[e+12>>2]&j;c[b+16>>2]=c[e+16>>2]&j;c[b+20>>2]=c[e+20>>2]&j;c[b+24>>2]=c[e+24>>2]&j;c[b+28>>2]=c[e+28>>2]&j;b=b+32|0;e=e+32|0;if((a|0)<=1)break;else a=a+-1|0}if(!f)break;else{b=b+V|0;e=e+W|0;f=f+-1|0}}return}case 7:{while(1){h=i;while(1){c[b>>2]=c[e>>2]&j;c[b+4>>2]=c[e+4>>2]&j;c[b+8>>2]=c[e+8>>2]&j;c[b+12>>2]=c[e+12>>2]&j;c[b+16>>2]=c[e+16>>2]&j;c[b+20>>2]=c[e+20>>2]&j;c[b+24>>2]=c[e+24>>2]&j;a=b+28|0;g=e+28|0;if((h|0)<=1)break;c[a>>2]=c[g>>2]&j;h=h+-1|0;e=e+32|0;b=b+32|0}if(!f)break;else{b=a+V|0;e=g+W|0;f=f+-1|0}}return}default:{a:while(1){switch(a&7){case 1:{v=e;w=b;P=i;b=37;break}case 2:{t=e;u=b;L=i;b=36;break}case 6:{l=e;m=b;x=i;b=32;break}case 5:{n=e;o=b;z=i;b=33;break}case 4:{p=e;q=b;D=i;b=34;break}case 3:{r=e;s=b;H=i;b=35;break}default:{b=38;break a}}while(1)if((b|0)==32){c[m>>2]=c[l>>2]&j;n=l+4|0;o=m+4|0;z=x;b=33;continue}else if((b|0)==33){c[o>>2]=c[n>>2]&j;p=n+4|0;q=o+4|0;D=z;b=34;continue}else if((b|0)==34){c[q>>2]=c[p>>2]&j;r=p+4|0;s=q+4|0;H=D;b=35;continue}else if((b|0)==35){c[s>>2]=c[r>>2]&j;t=r+4|0;u=s+4|0;L=H;b=36;continue}else if((b|0)==36){c[u>>2]=c[t>>2]&j;v=t+4|0;w=u+4|0;P=L;b=37;continue}else if((b|0)==37){c[w>>2]=c[v>>2]&j;b=w+4|0;e=v+4|0;if((P|0)<=1)break;c[b>>2]=c[e>>2]&j;c[w+8>>2]=c[v+8>>2]&j;l=v+12|0;m=w+12|0;x=P+-1|0;b=32;continue}if(!f){b=40;break}else{b=b+V|0;e=e+W|0;f=f+-1|0}}if((b|0)!=38)if((b|0)==40)return}}}else{j=(d[a+63>>0]|0)>>>(d[g+31>>0]|0)<<(d[g+35>>0]|0);f=h+-1|0;if(!h)return;i=(k+7|0)/8|0;g=k&255;switch(g&7){case 0:{while(1){a=i;while(1){c[b>>2]=c[e>>2]|j;c[b+4>>2]=c[e+4>>2]|j;c[b+8>>2]=c[e+8>>2]|j;c[b+12>>2]=c[e+12>>2]|j;c[b+16>>2]=c[e+16>>2]|j;c[b+20>>2]=c[e+20>>2]|j;c[b+24>>2]=c[e+24>>2]|j;c[b+28>>2]=c[e+28>>2]|j;b=b+32|0;e=e+32|0;if((a|0)<=1)break;else a=a+-1|0}if(!f)break;else{e=e+W|0;b=b+V|0;f=f+-1|0}}return}case 7:{while(1){h=i;while(1){c[b>>2]=c[e>>2]|j;c[b+4>>2]=c[e+4>>2]|j;c[b+8>>2]=c[e+8>>2]|j;c[b+12>>2]=c[e+12>>2]|j;c[b+16>>2]=c[e+16>>2]|j;c[b+20>>2]=c[e+20>>2]|j;c[b+24>>2]=c[e+24>>2]|j;g=b+28|0;a=e+28|0;if((h|0)<=1)break;c[g>>2]=c[a>>2]|j;h=h+-1|0;e=e+32|0;b=b+32|0}if(!f)break;else{e=a+W|0;b=g+V|0;f=f+-1|0}}return}default:{b:while(1){switch(g&7){case 1:{Q=i;T=e;U=b;b=18;break}case 2:{M=i;R=e;S=b;b=17;break}case 6:{y=i;B=e;C=b;b=13;break}case 5:{A=i;F=e;G=b;b=14;break}case 4:{E=i;J=e;K=b;b=15;break}case 3:{I=i;N=e;O=b;b=16;break}default:{b=19;break b}}while(1)if((b|0)==13){c[C>>2]=c[B>>2]|j;A=y;F=B+4|0;G=C+4|0;b=14;continue}else if((b|0)==14){c[G>>2]=c[F>>2]|j;E=A;J=F+4|0;K=G+4|0;b=15;continue}else if((b|0)==15){c[K>>2]=c[J>>2]|j;I=E;N=J+4|0;O=K+4|0;b=16;continue}else if((b|0)==16){c[O>>2]=c[N>>2]|j;M=I;R=N+4|0;S=O+4|0;b=17;continue}else if((b|0)==17){c[S>>2]=c[R>>2]|j;Q=M;T=R+4|0;U=S+4|0;b=18;continue}else if((b|0)==18){c[U>>2]=c[T>>2]|j;a=U+4|0;b=T+4|0;if((Q|0)<=1)break;c[a>>2]=c[b>>2]|j;c[U+8>>2]=c[T+8>>2]|j;y=Q+-1|0;B=T+12|0;C=U+12|0;b=13;continue}if(!f){b=40;break}else{e=b+W|0;b=a+V|0;f=f+-1|0}}if((b|0)!=19)if((b|0)==40)return}}}}function fH(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;d=c[a+24>>2]|0;k=c[a+28>>2]|0;e=c[a>>2]|0;f=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;g=k+-1|0;if(!k)return;k=(d+7|0)/8|0;i=d&255;if(!(i&7)){a=f;while(1){f=k;d=a;while(1){a=b[e>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;a=b[e+2>>1]|0;if((a&65535&l|0)!=(j|0))b[d+2>>1]=a;a=b[e+4>>1]|0;if((a&65535&l|0)!=(j|0))b[d+4>>1]=a;a=b[e+6>>1]|0;if((a&65535&l|0)!=(j|0))b[d+6>>1]=a;a=b[e+8>>1]|0;if((a&65535&l|0)!=(j|0))b[d+8>>1]=a;a=b[e+10>>1]|0;if((a&65535&l|0)!=(j|0))b[d+10>>1]=a;a=b[e+12>>1]|0;if((a&65535&l|0)!=(j|0))b[d+12>>1]=a;a=b[e+14>>1]|0;if((a&65535&l|0)!=(j|0))b[d+14>>1]=a;d=d+16|0;e=e+16|0;if((f|0)<=1)break;else f=f+-1|0}if(!g)break;else{e=e+(m<<1)|0;a=d+(n<<1)|0;g=g+-1|0}}return}else d=f;a:while(1){switch(i&7){case 1:{h=k;a=44;break}case 7:{f=k;a=26;break}case 6:{f=k;a=29;break}case 5:{f=k;a=32;break}case 4:{f=k;a=35;break}case 3:{f=k;a=38;break}case 2:{f=k;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=b[e>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;e=e+2|0;d=d+2|0;a=29;continue}else if((a|0)==29){a=b[e>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;e=e+2|0;d=d+2|0;a=32;continue}else if((a|0)==32){a=b[e>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;e=e+2|0;d=d+2|0;a=35;continue}else if((a|0)==35){a=b[e>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;e=e+2|0;d=d+2|0;a=38;continue}else if((a|0)==38){a=b[e>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;d=d+2|0;e=e+2|0;a=41;continue}else if((a|0)==41){a=b[e>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;h=f;d=d+2|0;e=e+2|0;a=44;continue}else if((a|0)==44){a=b[e>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;f=d+2|0;a=e+2|0;if((h|0)<=1)break;a=b[a>>1]|0;if((a&65535&l|0)!=(j|0))b[f>>1]=a;f=h+-1|0;e=e+4|0;d=d+4|0;a=26;continue}if(!g){a=49;break}else{e=a+(m<<1)|0;d=f+(n<<1)|0;g=g+-1|0}}if((a|0)!=47)if((a|0)==49)return}function gH(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,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,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f=43;break}case 3:{Db=s;Mb=g;Nb=f;f=52;break}case 2:{Ob=s;Xb=g;Yb=f;f=61;break}case 1:{Zb=s;gc=g;hc=f;f=70;break}default:{f=79;break a}}while(1)if((f|0)==7){f=0;switch(Mc<<24>>24){case 1:{rc=d[P>>0]|0;v=rc;z=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&rc)>>>(d[o>>0]|0))|0;B=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&rc)>>>(d[l>>0]|0))|0;rc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&rc)>>>(d[i>>0]|0))|0;f=12;break}case 2:{rc=e[P>>1]|0;v=rc;z=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&rc)>>>(d[o>>0]|0))|0;B=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&rc)>>>(d[l>>0]|0))|0;rc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&rc)>>>(d[i>>0]|0))|0;f=12;break}case 3:{v=0;z=P+((d[o>>0]|0)>>>3&255)|0;B=P+((d[l>>0]|0)>>>3&255)|0;rc=P+((d[i>>0]|0)>>>3&255)|0;f=12;break}case 4:{rc=c[P>>2]|0;v=rc;z=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&rc)>>>(d[o>>0]|0))|0;B=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&rc)>>>(d[l>>0]|0))|0;rc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&rc)>>>(d[i>>0]|0))|0;f=12;break}default:{u=0;x=0;y=0;A=0}}if((f|0)==12){u=v;x=a[rc>>0]|0;y=a[z>>0]|0;A=a[B>>0]|0}if((u&Lc|0)!=(Jc|0))a[Q>>0]=(y&255)>>>5<<2|A&-32&255|(x&255)>>>6;La=w;Wa=P+Nc|0;Xa=Q+1|0;f=16;continue}else if((f|0)==16){f=0;switch(Mc<<24>>24){case 1:{sc=d[Wa>>0]|0;O=sc;Oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&sc)>>>(d[o>>0]|0))|0;Qa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&sc)>>>(d[l>>0]|0))|0;sc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&sc)>>>(d[i>>0]|0))|0;f=21;break}case 2:{sc=e[Wa>>1]|0;O=sc;Oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&sc)>>>(d[o>>0]|0))|0;Qa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&sc)>>>(d[l>>0]|0))|0;sc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&sc)>>>(d[i>>0]|0))|0;f=21;break}case 3:{O=0;Oa=Wa+((d[o>>0]|0)>>>3&255)|0;Qa=Wa+((d[l>>0]|0)>>>3&255)|0;sc=Wa+((d[i>>0]|0)>>>3&255)|0;f=21;break}case 4:{sc=c[Wa>>2]|0;O=sc;Oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&sc)>>>(d[o>>0]|0))|0;Qa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&sc)>>>(d[l>>0]|0))|0;sc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&sc)>>>(d[i>>0]|0))|0;f=21;break}default:{N=0;Ma=0;Na=0;Pa=0}}if((f|0)==21){N=O;Ma=a[sc>>0]|0;Na=a[Oa>>0]|0;Pa=a[Qa>>0]|0}if((N&Lc|0)!=(Jc|0))a[Xa>>0]=(Na&255)>>>5<<2|Pa&-32&255|(Ma&255)>>>6;Ya=La;fb=Wa+Nc|0;gb=Xa+1|0;f=25;continue}else if((f|0)==25){f=0;switch(Mc<<24>>24){case 1:{tc=d[fb>>0]|0;Ta=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&tc)>>>(d[l>>0]|0))|0;Va=tc;$a=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&tc)>>>(d[o>>0]|0))|0;tc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&tc)>>>(d[i>>0]|0))|0;f=30;break}case 2:{tc=e[fb>>1]|0;Ta=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&tc)>>>(d[l>>0]|0))|0;Va=tc;$a=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&tc)>>>(d[o>>0]|0))|0;tc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&tc)>>>(d[i>>0]|0))|0;f=30;break}case 3:{Ta=fb+((d[l>>0]|0)>>>3&255)|0;Va=0;$a=fb+((d[o>>0]|0)>>>3&255)|0;tc=fb+((d[i>>0]|0)>>>3&255)|0;f=30;break}case 4:{tc=c[fb>>2]|0;Ta=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&tc)>>>(d[l>>0]|0))|0;Va=tc;$a=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&tc)>>>(d[o>>0]|0))|0;tc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&tc)>>>(d[i>>0]|0))|0;f=30;break}default:{Sa=0;Ua=0;Za=0;_a=0}}if((f|0)==30){Sa=a[Ta>>0]|0;Ua=Va;Za=a[tc>>0]|0;_a=a[$a>>0]|0}if((Ua&Lc|0)!=(Jc|0))a[gb>>0]=(_a&255)>>>5<<2|Sa&-32&255|(Za&255)>>>6;hb=Ya;qb=fb+Nc|0;rb=gb+1|0;f=34;continue}else if((f|0)==34){f=0;switch(Mc<<24>>24){case 1:{uc=d[qb>>0]|0;cb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&uc)>>>(d[l>>0]|0))|0;eb=uc;kb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&uc)>>>(d[o>>0]|0))|0;uc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&uc)>>>(d[i>>0]|0))|0;f=39;break}case 2:{uc=e[qb>>1]|0;cb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&uc)>>>(d[l>>0]|0))|0;eb=uc;kb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&uc)>>>(d[o>>0]|0))|0;uc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&uc)>>>(d[i>>0]|0))|0;f=39;break}case 3:{cb=qb+((d[l>>0]|0)>>>3&255)|0;eb=0;kb=qb+((d[o>>0]|0)>>>3&255)|0;uc=qb+((d[i>>0]|0)>>>3&255)|0;f=39;break}case 4:{uc=c[qb>>2]|0;cb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&uc)>>>(d[l>>0]|0))|0;eb=uc;kb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&uc)>>>(d[o>>0]|0))|0;uc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&uc)>>>(d[i>>0]|0))|0;f=39;break}default:{bb=0;db=0;ib=0;jb=0}}if((f|0)==39){bb=a[cb>>0]|0;db=eb;ib=a[uc>>0]|0;jb=a[kb>>0]|0}if((db&Lc|0)!=(Jc|0))a[rb>>0]=(jb&255)>>>5<<2|bb&-32&255|(ib&255)>>>6;sb=hb;Bb=qb+Nc|0;Cb=rb+1|0;f=43;continue}else if((f|0)==43){f=0;switch(Mc<<24>>24){case 1:{vc=d[Bb>>0]|0;nb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&vc)>>>(d[l>>0]|0))|0;pb=vc;vb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&vc)>>>(d[o>>0]|0))|0;vc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&vc)>>>(d[i>>0]|0))|0;f=48;break}case 2:{vc=e[Bb>>1]|0;nb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&vc)>>>(d[l>>0]|0))|0;pb=vc;vb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&vc)>>>(d[o>>0]|0))|0;vc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&vc)>>>(d[i>>0]|0))|0;f=48;break}case 3:{nb=Bb+((d[l>>0]|0)>>>3&255)|0;pb=0;vb=Bb+((d[o>>0]|0)>>>3&255)|0;vc=Bb+((d[i>>0]|0)>>>3&255)|0;f=48;break}case 4:{vc=c[Bb>>2]|0;nb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&vc)>>>(d[l>>0]|0))|0;pb=vc;vb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&vc)>>>(d[o>>0]|0))|0;vc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&vc)>>>(d[i>>0]|0))|0;f=48;break}default:{mb=0;ob=0;tb=0;ub=0}}if((f|0)==48){mb=a[nb>>0]|0;ob=pb;tb=a[vc>>0]|0;ub=a[vb>>0]|0}if((ob&Lc|0)!=(Jc|0))a[Cb>>0]=(ub&255)>>>5<<2|mb&-32&255|(tb&255)>>>6;Db=sb;Mb=Bb+Nc|0;Nb=Cb+1|0;f=52;continue}else if((f|0)==52){f=0;switch(Mc<<24>>24){case 1:{wc=d[Mb>>0]|0;yb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&wc)>>>(d[l>>0]|0))|0;Ab=wc;Gb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&wc)>>>(d[o>>0]|0))|0;wc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&wc)>>>(d[i>>0]|0))|0;f=57;break}case 2:{wc=e[Mb>>1]|0;yb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&wc)>>>(d[l>>0]|0))|0;Ab=wc;Gb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&wc)>>>(d[o>>0]|0))|0;wc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&wc)>>>(d[i>>0]|0))|0;f=57;break}case 3:{yb=Mb+((d[l>>0]|0)>>>3&255)|0;Ab=0;Gb=Mb+((d[o>>0]|0)>>>3&255)|0;wc=Mb+((d[i>>0]|0)>>>3&255)|0;f=57;break}case 4:{wc=c[Mb>>2]|0;yb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&wc)>>>(d[l>>0]|0))|0;Ab=wc;Gb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&wc)>>>(d[o>>0]|0))|0;wc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&wc)>>>(d[i>>0]|0))|0;f=57;break}default:{xb=0;zb=0;Eb=0;Fb=0}}if((f|0)==57){xb=a[yb>>0]|0;zb=Ab;Eb=a[wc>>0]|0;Fb=a[Gb>>0]|0}if((zb&Lc|0)!=(Jc|0))a[Nb>>0]=(Fb&255)>>>5<<2|xb&-32&255|(Eb&255)>>>6;Ob=Db;Xb=Mb+Nc|0;Yb=Nb+1|0;f=61;continue}else if((f|0)==61){f=0;switch(Mc<<24>>24){case 1:{xc=d[Xb>>0]|0;Jb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&xc)>>>(d[l>>0]|0))|0;Lb=xc;Rb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&xc)>>>(d[o>>0]|0))|0;xc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&xc)>>>(d[i>>0]|0))|0;f=66;break}case 2:{xc=e[Xb>>1]|0;Jb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&xc)>>>(d[l>>0]|0))|0;Lb=xc;Rb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&xc)>>>(d[o>>0]|0))|0;xc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&xc)>>>(d[i>>0]|0))|0;f=66;break}case 3:{Jb=Xb+((d[l>>0]|0)>>>3&255)|0;Lb=0;Rb=Xb+((d[o>>0]|0)>>>3&255)|0;xc=Xb+((d[i>>0]|0)>>>3&255)|0;f=66;break}case 4:{xc=c[Xb>>2]|0;Jb=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&xc)>>>(d[l>>0]|0))|0;Lb=xc;Rb=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&xc)>>>(d[o>>0]|0))|0;xc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&xc)>>>(d[i>>0]|0))|0;f=66;break}default:{Ib=0;Kb=0;Pb=0;Qb=0}}if((f|0)==66){Ib=a[Jb>>0]|0;Kb=Lb;Pb=a[xc>>0]|0;Qb=a[Rb>>0]|0}if((Kb&Lc|0)!=(Jc|0))a[Yb>>0]=(Qb&255)>>>5<<2|Ib&-32&255|(Pb&255)>>>6;Zb=Ob;gc=Xb+Nc|0;hc=Yb+1|0;f=70;continue}else if((f|0)==70){f=0;switch(Mc<<24>>24){case 1:{yc=d[gc>>0]|0;Ub=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&yc)>>>(d[l>>0]|0))|0;Wb=yc;ac=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&yc)>>>(d[o>>0]|0))|0;yc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&yc)>>>(d[i>>0]|0))|0;f=75;break}case 2:{yc=e[gc>>1]|0;Ub=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&yc)>>>(d[l>>0]|0))|0;Wb=yc;ac=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&yc)>>>(d[o>>0]|0))|0;yc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&yc)>>>(d[i>>0]|0))|0;f=75;break}case 3:{Ub=gc+((d[l>>0]|0)>>>3&255)|0;Wb=0;ac=gc+((d[o>>0]|0)>>>3&255)|0;yc=gc+((d[i>>0]|0)>>>3&255)|0;f=75;break}case 4:{yc=c[gc>>2]|0;Ub=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&yc)>>>(d[l>>0]|0))|0;Wb=yc;ac=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&yc)>>>(d[o>>0]|0))|0;yc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&yc)>>>(d[i>>0]|0))|0;f=75;break}default:{Tb=0;Vb=0;_b=0;$b=0}}if((f|0)==75){Tb=a[Ub>>0]|0;Vb=Wb;_b=a[yc>>0]|0;$b=a[ac>>0]|0}if((Vb&Lc|0)!=(Jc|0))a[hc>>0]=($b&255)>>>5<<2|Tb&-32&255|(_b&255)>>>6;b=hc+1|0;f=gc+Nc|0;if((Zb|0)>1){w=Zb+-1|0;P=f;Q=b;f=7;continue}else break}if(!h){f=156;break}else{g=f+Oc|0;f=b+Kc|0;h=h+-1|0}}if((f|0)!=79)if((f|0)==156)return}else{if(b)return;s=(i+7|0)/8|0;r=i&255;j=Ic+28|0;k=Ic+12|0;l=Ic+32|0;m=Ic+29|0;n=Ic+16|0;o=Ic+33|0;p=Ic+30|0;q=Ic+20|0;i=Ic+34|0;b:while(1){switch(r&7){case 0:{t=s;I=g;J=f;f=82;break}case 7:{C=s;V=g;W=f;f=91;break}case 6:{ca=g;da=f;Ra=s;f=100;break}case 5:{la=g;ma=f;ab=s;f=109;break}case 4:{ua=g;va=f;lb=s;f=118;break}case 3:{Da=g;Ea=f;wb=s;f=127;break}case 2:{Ha=g;Ia=f;Hb=s;f=136;break}case 1:{Ja=g;Ka=f;Sb=s;f=145;break}default:{f=154;break b}}while(1)if((f|0)==82){f=0;switch(Mc<<24>>24){case 1:{zc=d[I>>0]|0;dc=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&zc)>>>(d[l>>0]|0))|0;fc=zc;jc=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&zc)>>>(d[o>>0]|0))|0;zc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&zc)>>>(d[i>>0]|0))|0;f=87;break}case 2:{zc=e[I>>1]|0;dc=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&zc)>>>(d[l>>0]|0))|0;fc=zc;jc=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&zc)>>>(d[o>>0]|0))|0;zc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&zc)>>>(d[i>>0]|0))|0;f=87;break}case 3:{dc=I+((d[l>>0]|0)>>>3&255)|0;fc=0;jc=I+((d[o>>0]|0)>>>3&255)|0;zc=I+((d[i>>0]|0)>>>3&255)|0;f=87;break}case 4:{zc=c[I>>2]|0;dc=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&zc)>>>(d[l>>0]|0))|0;fc=zc;jc=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&zc)>>>(d[o>>0]|0))|0;zc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&zc)>>>(d[i>>0]|0))|0;f=87;break}default:{bc=0;cc=0;ec=0;ic=0}}if((f|0)==87){bc=a[zc>>0]|0;cc=a[dc>>0]|0;ec=fc;ic=a[jc>>0]|0}if((ec&Lc|0)!=(Jc|0))a[J>>0]=a[Hc+((ic&255)>>>5<<2|cc&-32&255|(bc&255)>>>6)>>0]|0;C=t;V=I+Nc|0;W=J+1|0;f=91;continue}else if((f|0)==91){f=0;switch(Mc<<24>>24){case 1:{Ac=d[V>>0]|0;mc=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ac)>>>(d[l>>0]|0))|0;oc=Ac;qc=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ac)>>>(d[o>>0]|0))|0;Ac=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ac)>>>(d[i>>0]|0))|0;f=96;break}case 2:{Ac=e[V>>1]|0;mc=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ac)>>>(d[l>>0]|0))|0;oc=Ac;qc=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ac)>>>(d[o>>0]|0))|0;Ac=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ac)>>>(d[i>>0]|0))|0;f=96;break}case 3:{mc=V+((d[l>>0]|0)>>>3&255)|0;oc=0;qc=V+((d[o>>0]|0)>>>3&255)|0;Ac=V+((d[i>>0]|0)>>>3&255)|0;f=96;break}case 4:{Ac=c[V>>2]|0;mc=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ac)>>>(d[l>>0]|0))|0;oc=Ac;qc=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ac)>>>(d[o>>0]|0))|0;Ac=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ac)>>>(d[i>>0]|0))|0;f=96;break}default:{kc=0;lc=0;nc=0;pc=0}}if((f|0)==96){kc=a[Ac>>0]|0;lc=a[mc>>0]|0;nc=oc;pc=a[qc>>0]|0}if((nc&Lc|0)!=(Jc|0))a[W>>0]=a[Hc+((pc&255)>>>5<<2|lc&-32&255|(kc&255)>>>6)>>0]|0;ca=V+Nc|0;da=W+1|0;Ra=C;f=100;continue}else if((f|0)==100){f=0;switch(Mc<<24>>24){case 1:{Bc=d[ca>>0]|0;F=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Bc)>>>(d[l>>0]|0))|0;H=Bc;L=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Bc)>>>(d[o>>0]|0))|0;Bc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Bc)>>>(d[i>>0]|0))|0;f=105;break}case 2:{Bc=e[ca>>1]|0;F=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Bc)>>>(d[l>>0]|0))|0;H=Bc;L=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Bc)>>>(d[o>>0]|0))|0;Bc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Bc)>>>(d[i>>0]|0))|0;f=105;break}case 3:{F=ca+((d[l>>0]|0)>>>3&255)|0;H=0;L=ca+((d[o>>0]|0)>>>3&255)|0;Bc=ca+((d[i>>0]|0)>>>3&255)|0;f=105;break}case 4:{Bc=c[ca>>2]|0;F=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Bc)>>>(d[l>>0]|0))|0;H=Bc;L=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Bc)>>>(d[o>>0]|0))|0;Bc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Bc)>>>(d[i>>0]|0))|0;f=105;break}default:{D=0;E=0;G=0;K=0}}if((f|0)==105){D=a[Bc>>0]|0;E=a[F>>0]|0;G=H;K=a[L>>0]|0}if((G&Lc|0)!=(Jc|0))a[da>>0]=a[Hc+((K&255)>>>5<<2|E&-32&255|(D&255)>>>6)>>0]|0;la=ca+Nc|0;ma=da+1|0;ab=Ra;f=109;continue}else if((f|0)==109){f=0;switch(Mc<<24>>24){case 1:{Cc=d[la>>0]|0;S=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Cc)>>>(d[l>>0]|0))|0;U=Cc;Y=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Cc)>>>(d[o>>0]|0))|0;Cc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Cc)>>>(d[i>>0]|0))|0;f=114;break}case 2:{Cc=e[la>>1]|0;S=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Cc)>>>(d[l>>0]|0))|0;U=Cc;Y=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Cc)>>>(d[o>>0]|0))|0;Cc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Cc)>>>(d[i>>0]|0))|0;f=114;break}case 3:{S=la+((d[l>>0]|0)>>>3&255)|0;U=0;Y=la+((d[o>>0]|0)>>>3&255)|0;Cc=la+((d[i>>0]|0)>>>3&255)|0;f=114;break}case 4:{Cc=c[la>>2]|0;S=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Cc)>>>(d[l>>0]|0))|0;U=Cc;Y=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Cc)>>>(d[o>>0]|0))|0;Cc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Cc)>>>(d[i>>0]|0))|0;f=114;break}default:{M=0;R=0;T=0;X=0}}if((f|0)==114){M=a[Cc>>0]|0;R=a[S>>0]|0;T=U;X=a[Y>>0]|0}if((T&Lc|0)!=(Jc|0))a[ma>>0]=a[Hc+((X&255)>>>5<<2|R&-32&255|(M&255)>>>6)>>0]|0;ua=la+Nc|0;va=ma+1|0;lb=ab;f=118;continue}else if((f|0)==118){f=0;switch(Mc<<24>>24){case 1:{Dc=d[ua>>0]|0;$=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Dc)>>>(d[l>>0]|0))|0;ba=Dc;fa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Dc)>>>(d[o>>0]|0))|0;Dc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Dc)>>>(d[i>>0]|0))|0;f=123;break}case 2:{Dc=e[ua>>1]|0;$=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Dc)>>>(d[l>>0]|0))|0;ba=Dc;fa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Dc)>>>(d[o>>0]|0))|0;Dc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Dc)>>>(d[i>>0]|0))|0;f=123;break}case 3:{$=ua+((d[l>>0]|0)>>>3&255)|0;ba=0;fa=ua+((d[o>>0]|0)>>>3&255)|0;Dc=ua+((d[i>>0]|0)>>>3&255)|0;f=123;break}case 4:{Dc=c[ua>>2]|0;$=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Dc)>>>(d[l>>0]|0))|0;ba=Dc;fa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Dc)>>>(d[o>>0]|0))|0;Dc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Dc)>>>(d[i>>0]|0))|0;f=123;break}default:{Z=0;_=0;aa=0;ea=0}}if((f|0)==123){Z=a[Dc>>0]|0;_=a[$>>0]|0;aa=ba;ea=a[fa>>0]|0}if((aa&Lc|0)!=(Jc|0))a[va>>0]=a[Hc+((ea&255)>>>5<<2|_&-32&255|(Z&255)>>>6)>>0]|0;Da=ua+Nc|0;Ea=va+1|0;wb=lb;f=127;continue}else if((f|0)==127){f=0;switch(Mc<<24>>24){case 1:{Ec=d[Da>>0]|0;ia=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ec)>>>(d[l>>0]|0))|0;ka=Ec;oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ec)>>>(d[o>>0]|0))|0;Ec=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ec)>>>(d[i>>0]|0))|0;f=132;break}case 2:{Ec=e[Da>>1]|0;ia=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ec)>>>(d[l>>0]|0))|0;ka=Ec;oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ec)>>>(d[o>>0]|0))|0;Ec=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ec)>>>(d[i>>0]|0))|0;f=132;break}case 3:{ia=Da+((d[l>>0]|0)>>>3&255)|0;ka=0;oa=Da+((d[o>>0]|0)>>>3&255)|0;Ec=Da+((d[i>>0]|0)>>>3&255)|0;f=132;break}case 4:{Ec=c[Da>>2]|0;ia=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Ec)>>>(d[l>>0]|0))|0;ka=Ec;oa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Ec)>>>(d[o>>0]|0))|0;Ec=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Ec)>>>(d[i>>0]|0))|0;f=132;break}default:{ga=0;ha=0;ja=0;na=0}}if((f|0)==132){ga=a[Ec>>0]|0;ha=a[ia>>0]|0;ja=ka;na=a[oa>>0]|0}if((ja&Lc|0)!=(Jc|0))a[Ea>>0]=a[Hc+((na&255)>>>5<<2|ha&-32&255|(ga&255)>>>6)>>0]|0;Ha=Da+Nc|0;Ia=Ea+1|0;Hb=wb;f=136;continue}else if((f|0)==136){f=0;switch(Mc<<24>>24){case 1:{Fc=d[Ha>>0]|0;ra=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Fc)>>>(d[l>>0]|0))|0;ta=Fc;xa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Fc)>>>(d[o>>0]|0))|0;Fc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Fc)>>>(d[i>>0]|0))|0;f=141;break}case 2:{Fc=e[Ha>>1]|0;ra=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Fc)>>>(d[l>>0]|0))|0;ta=Fc;xa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Fc)>>>(d[o>>0]|0))|0;Fc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Fc)>>>(d[i>>0]|0))|0;f=141;break}case 3:{ra=Ha+((d[l>>0]|0)>>>3&255)|0;ta=0;xa=Ha+((d[o>>0]|0)>>>3&255)|0;Fc=Ha+((d[i>>0]|0)>>>3&255)|0;f=141;break}case 4:{Fc=c[Ha>>2]|0;ra=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Fc)>>>(d[l>>0]|0))|0;ta=Fc;xa=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Fc)>>>(d[o>>0]|0))|0;Fc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Fc)>>>(d[i>>0]|0))|0;f=141;break}default:{pa=0;qa=0;sa=0;wa=0}}if((f|0)==141){pa=a[Fc>>0]|0;qa=a[ra>>0]|0;sa=ta;wa=a[xa>>0]|0}if((sa&Lc|0)!=(Jc|0))a[Ia>>0]=a[Hc+((wa&255)>>>5<<2|qa&-32&255|(pa&255)>>>6)>>0]|0;Ja=Ha+Nc|0;Ka=Ia+1|0;Sb=Hb;f=145;continue}else if((f|0)==145){f=0;switch(Mc<<24>>24){case 1:{Gc=d[Ja>>0]|0;Aa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Gc)>>>(d[l>>0]|0))|0;Ca=Gc;Ga=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Gc)>>>(d[o>>0]|0))|0;Gc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Gc)>>>(d[i>>0]|0))|0;f=150;break}case 2:{Gc=e[Ja>>1]|0;Aa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Gc)>>>(d[l>>0]|0))|0;Ca=Gc;Ga=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Gc)>>>(d[o>>0]|0))|0;Gc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Gc)>>>(d[i>>0]|0))|0;f=150;break}case 3:{Aa=Ja+((d[l>>0]|0)>>>3&255)|0;Ca=0;Ga=Ja+((d[o>>0]|0)>>>3&255)|0;Gc=Ja+((d[i>>0]|0)>>>3&255)|0;f=150;break}case 4:{Gc=c[Ja>>2]|0;Aa=(c[18232+((d[j>>0]|0)<<2)>>2]|0)+((c[k>>2]&Gc)>>>(d[l>>0]|0))|0;Ca=Gc;Ga=(c[18232+((d[m>>0]|0)<<2)>>2]|0)+((c[n>>2]&Gc)>>>(d[o>>0]|0))|0;Gc=(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&Gc)>>>(d[i>>0]|0))|0;f=150;break}default:{ya=0;za=0;Ba=0;Fa=0}}if((f|0)==150){ya=a[Gc>>0]|0;za=a[Aa>>0]|0;Ba=Ca;Fa=a[Ga>>0]|0}if((Ba&Lc|0)!=(Jc|0))a[Ka>>0]=a[Hc+((Fa&255)>>>5<<2|za&-32&255|(ya&255)>>>6)>>0]|0;b=Ka+1|0;f=Ja+Nc|0;if((Sb|0)>1){t=Sb+-1|0;I=f;J=b;f=82;continue}else break}if(!h){f=156;break}else{g=f+Oc|0;f=b+Kc|0;h=h+-1|0}}if((f|0)!=154)if((f|0)==156)return}}function hH(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,R=0,S=0,T=0,U=0;g=c[f+24>>2]|0;j=c[f+28>>2]|0;T=c[f+16>>2]|0;U=c[f+36>>2]|0;i=c[f+40>>2]|0;h=c[f+44>>2]|0;N=i+24|0;O=~c[N>>2];P=a[i+9>>0]|0;Q=a[h+9>>0]|0;R=c[f+56>>2]&O;if(!j)return;S=(g+7|0)/8|0;M=g&255;D=P&255;E=Q&255;F=h+28|0;G=h+32|0;H=h+29|0;I=h+33|0;J=h+30|0;K=h+34|0;L=h+31|0;s=h+35|0;t=i+28|0;u=i+12|0;v=i+32|0;w=i+29|0;x=i+16|0;y=i+33|0;z=i+30|0;A=i+20|0;B=i+34|0;C=i+31|0;r=i+35|0;g=c[f>>2]|0;h=c[f+20>>2]|0;a:while(1){j=j+-1|0;switch(M&7){case 0:{q=S;i=4;break}case 7:{q=S;i=16;break}case 6:{q=S;i=28;break}case 5:{q=S;i=40;break}case 4:{q=S;i=52;break}case 3:{q=S;i=64;break}case 2:{q=S;i=76;break}case 1:{q=S;i=88;break}default:{i=100;break a}}while(1)if((i|0)==4){switch(P<<24>>24){case 1:{i=d[g>>0]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[g>>1]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=0;l=a[g+((d[v>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[y>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[B>>0]|0)>>>3&255)>>0]|0;i=-1;break}case 4:{i=c[g>>2]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;l=0;n=0;p=0;i=0}}k=l&255;m=n&255;o=p&255;i=i&255;b:do if((f&O|0)!=(R|0))switch(Q<<24>>24){case 1:{a[h>>0]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break b}case 2:{b[h>>1]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break b}case 3:{a[h+((d[G>>0]|0)>>>3&255)>>0]=l;a[h+((d[I>>0]|0)>>>3&255)>>0]=n;a[h+((d[K>>0]|0)>>>3&255)>>0]=p;break b}case 4:{c[h>>2]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break b}default:break b}while(0);g=g+D|0;h=h+E|0;i=16;continue}else if((i|0)==16){switch(P<<24>>24){case 1:{i=d[g>>0]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[g>>1]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=0;l=a[g+((d[v>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[y>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[B>>0]|0)>>>3&255)>>0]|0;i=-1;break}case 4:{i=c[g>>2]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;l=0;n=0;p=0;i=0}}k=l&255;m=n&255;o=p&255;i=i&255;c:do if((f&O|0)!=(R|0))switch(Q<<24>>24){case 1:{a[h>>0]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break c}case 2:{b[h>>1]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break c}case 3:{a[h+((d[G>>0]|0)>>>3&255)>>0]=l;a[h+((d[I>>0]|0)>>>3&255)>>0]=n;a[h+((d[K>>0]|0)>>>3&255)>>0]=p;break c}case 4:{c[h>>2]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break c}default:break c}while(0);g=g+D|0;h=h+E|0;i=28;continue}else if((i|0)==28){switch(P<<24>>24){case 1:{i=d[g>>0]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[g>>1]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=0;l=a[g+((d[v>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[y>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[B>>0]|0)>>>3&255)>>0]|0;i=-1;break}case 4:{i=c[g>>2]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;l=0;n=0;p=0;i=0}}k=l&255;m=n&255;o=p&255;i=i&255;d:do if((f&O|0)!=(R|0))switch(Q<<24>>24){case 1:{a[h>>0]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break d}case 2:{b[h>>1]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break d}case 3:{a[h+((d[G>>0]|0)>>>3&255)>>0]=l;a[h+((d[I>>0]|0)>>>3&255)>>0]=n;a[h+((d[K>>0]|0)>>>3&255)>>0]=p;break d}case 4:{c[h>>2]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break d}default:break d}while(0);g=g+D|0;h=h+E|0;i=40;continue}else if((i|0)==40){switch(P<<24>>24){case 1:{i=d[g>>0]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[g>>1]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=0;l=a[g+((d[v>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[y>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[B>>0]|0)>>>3&255)>>0]|0;i=-1;break}case 4:{i=c[g>>2]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;l=0;n=0;p=0;i=0}}k=l&255;m=n&255;o=p&255;i=i&255;e:do if((f&O|0)!=(R|0))switch(Q<<24>>24){case 1:{a[h>>0]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break e}case 2:{b[h>>1]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break e}case 3:{a[h+((d[G>>0]|0)>>>3&255)>>0]=l;a[h+((d[I>>0]|0)>>>3&255)>>0]=n;a[h+((d[K>>0]|0)>>>3&255)>>0]=p;break e}case 4:{c[h>>2]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break e}default:break e}while(0);g=g+D|0;h=h+E|0;i=52;continue}else if((i|0)==52){switch(P<<24>>24){case 1:{i=d[g>>0]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[g>>1]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=0;l=a[g+((d[v>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[y>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[B>>0]|0)>>>3&255)>>0]|0;i=-1;break}case 4:{i=c[g>>2]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;l=0;n=0;p=0;i=0}}k=l&255;m=n&255;o=p&255;i=i&255;f:do if((f&O|0)!=(R|0))switch(Q<<24>>24){case 1:{a[h>>0]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break f}case 2:{b[h>>1]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break f}case 3:{a[h+((d[G>>0]|0)>>>3&255)>>0]=l;a[h+((d[I>>0]|0)>>>3&255)>>0]=n;a[h+((d[K>>0]|0)>>>3&255)>>0]=p;break f}case 4:{c[h>>2]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break f}default:break f}while(0);g=g+D|0;h=h+E|0;i=64;continue}else if((i|0)==64){switch(P<<24>>24){case 1:{i=d[g>>0]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[g>>1]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=0;l=a[g+((d[v>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[y>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[B>>0]|0)>>>3&255)>>0]|0;i=-1;break}case 4:{i=c[g>>2]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;l=0;n=0;p=0;i=0}}k=l&255;m=n&255;o=p&255;i=i&255;g:do if((f&O|0)!=(R|0))switch(Q<<24>>24){case 1:{a[h>>0]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break g}case 2:{b[h>>1]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break g}case 3:{a[h+((d[G>>0]|0)>>>3&255)>>0]=l;a[h+((d[I>>0]|0)>>>3&255)>>0]=n;a[h+((d[K>>0]|0)>>>3&255)>>0]=p;break g}case 4:{c[h>>2]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break g}default:break g}while(0);g=g+D|0;h=h+E|0;i=76;continue}else if((i|0)==76){switch(P<<24>>24){case 1:{i=d[g>>0]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[g>>1]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=0;l=a[g+((d[v>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[y>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[B>>0]|0)>>>3&255)>>0]|0;i=-1;break}case 4:{i=c[g>>2]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;l=0;n=0;p=0;i=0}}k=l&255;m=n&255;o=p&255;i=i&255;h:do if((f&O|0)!=(R|0))switch(Q<<24>>24){case 1:{a[h>>0]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break h}case 2:{b[h>>1]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break h}case 3:{a[h+((d[G>>0]|0)>>>3&255)>>0]=l;a[h+((d[I>>0]|0)>>>3&255)>>0]=n;a[h+((d[K>>0]|0)>>>3&255)>>0]=p;break h}case 4:{c[h>>2]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break h}default:break h}while(0);g=g+D|0;h=h+E|0;i=88;continue}else if((i|0)==88){switch(P<<24>>24){case 1:{i=d[g>>0]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[g>>1]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=0;l=a[g+((d[v>>0]|0)>>>3&255)>>0]|0;n=a[g+((d[y>>0]|0)>>>3&255)>>0]|0;p=a[g+((d[B>>0]|0)>>>3&255)>>0]|0;i=-1;break}case 4:{i=c[g>>2]|0;f=i;l=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&i)>>>(d[v>>0]|0))>>0]|0;n=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&i)>>>(d[y>>0]|0))>>0]|0;p=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[A>>2]&i)>>>(d[B>>0]|0))>>0]|0;i=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[N>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;l=0;n=0;p=0;i=0}}k=l&255;m=n&255;o=p&255;i=i&255;i:do if((f&O|0)!=(R|0))switch(Q<<24>>24){case 1:{a[h>>0]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break i}case 2:{b[h>>1]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break i}case 3:{a[h+((d[G>>0]|0)>>>3&255)>>0]=l;a[h+((d[I>>0]|0)>>>3&255)>>0]=n;a[h+((d[K>>0]|0)>>>3&255)>>0]=p;break i}case 4:{c[h>>2]=m>>>(d[H>>0]|0)<<(d[I>>0]|0)|k>>>(d[F>>0]|0)<<(d[G>>0]|0)|o>>>(d[J>>0]|0)<<(d[K>>0]|0)|i>>>(d[L>>0]|0)<<(d[s>>0]|0);break i}default:break i}while(0);h=h+E|0;g=g+D|0;if((q|0)>1){q=q+-1|0;i=4;continue}else break}if(!j){i=102;break}else{g=g+T|0;h=h+U|0}}if((i|0)!=100)if((i|0)==102)return}function iH(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+24>>2]|0;e=c[a+28>>2]|0;k=(c[a+16>>2]|0)/4|0;i=(c[a+36>>2]|0)/2|0;if(!e)return;j=(d+7|0)/8|0;h=d&255;g=c[a>>2]|0;d=c[a+20>>2]|0;a:while(1){e=e+-1|0;switch(h&7){case 0:{f=j;a=g;g=4;break}case 7:{f=j;a=g;g=5;break}case 6:{f=j;a=g;g=6;break}case 5:{f=j;a=g;g=7;break}case 4:{f=j;a=g;g=8;break}case 3:{f=j;a=g;g=9;break}case 2:{f=j;a=g;g=10;break}case 1:{f=j;a=g;g=11;break}default:{g=12;break a}}while(1)if((g|0)==4){l=c[a>>2]|0;b[d>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;d=d+2|0;g=5;continue}else if((g|0)==5){l=c[a>>2]|0;b[d>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;d=d+2|0;g=6;continue}else if((g|0)==6){l=c[a>>2]|0;b[d>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;d=d+2|0;g=7;continue}else if((g|0)==7){l=c[a>>2]|0;b[d>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;d=d+2|0;g=8;continue}else if((g|0)==8){l=c[a>>2]|0;b[d>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;d=d+2|0;g=9;continue}else if((g|0)==9){l=c[a>>2]|0;b[d>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;d=d+2|0;g=10;continue}else if((g|0)==10){l=c[a>>2]|0;b[d>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;d=d+2|0;g=11;continue}else if((g|0)==11){l=c[a>>2]|0;b[d>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;d=d+2|0;if((f|0)>1){f=f+-1|0;g=4;continue}else break}if(!e){g=14;break}else{g=a+(k<<2)|0;d=d+(i<<1)|0}}if((g|0)!=12)if((g|0)==14)return}function jH(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+24>>2]|0;e=c[a+28>>2]|0;k=(c[a+16>>2]|0)/4|0;i=(c[a+36>>2]|0)/2|0;if(!e)return;j=(d+7|0)/8|0;h=d&255;g=c[a>>2]|0;d=c[a+20>>2]|0;a:while(1){e=e+-1|0;switch(h&7){case 0:{f=j;a=g;g=4;break}case 7:{f=j;a=g;g=5;break}case 6:{f=j;a=g;g=6;break}case 5:{f=j;a=g;g=7;break}case 4:{f=j;a=g;g=8;break}case 3:{f=j;a=g;g=9;break}case 2:{f=j;a=g;g=10;break}case 1:{f=j;a=g;g=11;break}default:{g=12;break a}}while(1)if((g|0)==4){l=c[a>>2]|0;b[d>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;d=d+2|0;g=5;continue}else if((g|0)==5){l=c[a>>2]|0;b[d>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;d=d+2|0;g=6;continue}else if((g|0)==6){l=c[a>>2]|0;b[d>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;d=d+2|0;g=7;continue}else if((g|0)==7){l=c[a>>2]|0;b[d>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;d=d+2|0;g=8;continue}else if((g|0)==8){l=c[a>>2]|0;b[d>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;d=d+2|0;g=9;continue}else if((g|0)==9){l=c[a>>2]|0;b[d>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;d=d+2|0;g=10;continue}else if((g|0)==10){l=c[a>>2]|0;b[d>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;d=d+2|0;g=11;continue}else if((g|0)==11){l=c[a>>2]|0;b[d>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;d=d+2|0;if((f|0)>1){f=f+-1|0;g=4;continue}else break}if(!e){g=14;break}else{g=a+(k<<2)|0;d=d+(i<<1)|0}}if((g|0)!=12)if((g|0)==14)return}function kH(a){a=a|0;oH(a,24832);return}function lH(a){a=a|0;oH(a,22784);return}function mH(a){a=a|0;oH(a,20736);return}function nH(a){a=a|0;oH(a,18688);return}function oH(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;e=c[a+24>>2]|0;f=c[a+28>>2]|0;l=c[a+16>>2]|0;j=(c[a+36>>2]|0)/4|0;if(!f)return;k=(e+7|0)/8|0;i=e&255;e=c[a>>2]|0;a=c[a+20>>2]|0;a:while(1){f=f+-1|0;switch(i&7){case 0:{g=k;h=4;break}case 7:{g=k;h=5;break}case 6:{g=k;h=6;break}case 5:{g=k;h=7;break}case 4:{g=k;h=8;break}case 3:{g=k;h=9;break}case 2:{g=k;h=10;break}case 1:{g=k;h=11;break}default:{h=12;break a}}while(1)if((h|0)==4){c[a>>2]=(c[b+(((d[e+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[e>>0]|0)<<1<<2)>>2]|0);e=e+2|0;a=a+4|0;h=5;continue}else if((h|0)==5){c[a>>2]=(c[b+(((d[e+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[e>>0]|0)<<1<<2)>>2]|0);e=e+2|0;a=a+4|0;h=6;continue}else if((h|0)==6){c[a>>2]=(c[b+(((d[e+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[e>>0]|0)<<1<<2)>>2]|0);e=e+2|0;a=a+4|0;h=7;continue}else if((h|0)==7){c[a>>2]=(c[b+(((d[e+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[e>>0]|0)<<1<<2)>>2]|0);e=e+2|0;a=a+4|0;h=8;continue}else if((h|0)==8){c[a>>2]=(c[b+(((d[e+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[e>>0]|0)<<1<<2)>>2]|0);e=e+2|0;a=a+4|0;h=9;continue}else if((h|0)==9){c[a>>2]=(c[b+(((d[e+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[e>>0]|0)<<1<<2)>>2]|0);e=e+2|0;a=a+4|0;h=10;continue}else if((h|0)==10){c[a>>2]=(c[b+(((d[e+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[e>>0]|0)<<1<<2)>>2]|0);e=e+2|0;a=a+4|0;h=11;continue}else if((h|0)==11){h=a+4|0;c[a>>2]=(c[b+(((d[e+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[e>>0]|0)<<1<<2)>>2]|0);e=e+2|0;if((g|0)>1){g=g+-1|0;a=h;h=4;continue}else break}if(!f){h=14;break}else{e=e+l|0;a=h+(j<<2)|0}}if((h|0)!=12)if((h|0)==14)return}function pH(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,o=0,p=0;d=c[a+24>>2]|0;f=c[a+28>>2]|0;o=c[a+16>>2]>>2;m=c[a+36>>2]>>1;if(!f)return;n=(d+3|0)/4|0;l=d&255;d=c[a>>2]|0;a=c[a+20>>2]|0;a:while(1){f=f+-1|0;switch(l&3){case 0:{k=n;j=d;d=4;break}case 3:{k=n;j=d;d=10;break}case 2:{k=n;j=d;d=16;break}case 1:{k=n;j=d;d=22;break}default:{d=28;break a}}while(1)if((d|0)==4){d=c[j>>2]|0;g=d>>>27;if(g|0){h=d>>>9&31744;i=d>>>3&31;if((g|0)==31)d=h|d>>>6&992|i;else{p=e[a>>1]|0;p=(p<<16|p)&65043487;d=((O((d<<10&65011712|h|i)-p|0,g)|0)>>>5)+p&65043487;d=d>>>16|d}b[a>>1]=d}j=j+4|0;a=a+2|0;d=10;continue}else if((d|0)==10){d=c[j>>2]|0;g=d>>>27;if(g|0){h=d>>>9&31744;i=d>>>3&31;if((g|0)==31)d=h|d>>>6&992|i;else{p=e[a>>1]|0;p=(p<<16|p)&65043487;d=((O((d<<10&65011712|h|i)-p|0,g)|0)>>>5)+p&65043487;d=d>>>16|d}b[a>>1]=d}j=j+4|0;a=a+2|0;d=16;continue}else if((d|0)==16){d=c[j>>2]|0;g=d>>>27;if(g|0){h=d>>>9&31744;i=d>>>3&31;if((g|0)==31)d=h|d>>>6&992|i;else{p=e[a>>1]|0;p=(p<<16|p)&65043487;d=((O((d<<10&65011712|h|i)-p|0,g)|0)>>>5)+p&65043487;d=d>>>16|d}b[a>>1]=d}j=j+4|0;a=a+2|0;d=22;continue}else if((d|0)==22){d=c[j>>2]|0;g=d>>>27;if(g|0){h=d>>>3&31;i=d>>>9&31744;if((g|0)==31)d=i|d>>>6&992|h;else{p=e[a>>1]|0;p=(p<<16|p)&65043487;d=((O((d<<10&65011712|i|h)-p|0,g)|0)>>>5)+p&65043487;d=d>>>16|d}b[a>>1]=d}d=j+4|0;a=a+2|0;if((k|0)>1){k=k+-1|0;j=d;d=4;continue}else break}if(!f){d=30;break}else{d=d+(o<<2)|0;a=a+(m<<1)|0}}if((d|0)!=28)if((d|0)==30)return}function qH(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,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;g=c[f+24>>2]|0;j=c[f+28>>2]|0;ba=c[f+16>>2]|0;da=c[f+36>>2]|0;h=c[f+40>>2]|0;i=c[f+44>>2]|0;X=a[h+9>>0]|0;Y=X&255;Z=a[i+9>>0]|0;_=Z&255;if(!j)return;$=(g+3|0)/4|0;Q=g&255;E=h+28|0;F=h+12|0;G=h+32|0;H=h+29|0;I=h+16|0;J=h+33|0;K=h+30|0;L=h+20|0;M=h+34|0;N=h+31|0;P=h+24|0;s=h+35|0;t=i+28|0;u=i+32|0;v=i+29|0;w=i+33|0;x=i+30|0;y=i+34|0;z=i+31|0;A=i+35|0;B=i+12|0;C=i+16|0;D=i+20|0;r=i+24|0;g=c[f>>2]|0;h=c[f+20>>2]|0;a:while(1){j=j+-1|0;switch(Q&3){case 0:{q=$;i=4;break}case 3:{q=$;i=21;break}case 2:{q=$;i=38;break}case 1:{q=$;i=55;break}default:{i=72;break a}}while(1)if((i|0)==4){i=0;switch(X<<24>>24){case 1:{R=d[g>>0]|0;i=9;break}case 2:{R=e[g>>1]|0;i=9;break}case 3:{m=d[g+((d[G>>0]|0)>>>3&255)>>0]|0;n=d[g+((d[J>>0]|0)>>>3&255)>>0]|0;o=d[g+((d[M>>0]|0)>>>3&255)>>0]|0;p=255;i=10;break}case 4:{R=c[g>>2]|0;i=9;break}default:{}}if((i|0)==9?(i=0,W=a[(c[18232+((d[N>>0]|0)<<2)>>2]|0)+((c[P>>2]&R)>>>(d[s>>0]|0))>>0]|0,W<<24>>24):0){m=d[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&R)>>>(d[G>>0]|0))>>0]|0;n=d[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[I>>2]&R)>>>(d[J>>0]|0))>>0]|0;o=d[(c[18232+((d[K>>0]|0)<<2)>>2]|0)+((c[L>>2]&R)>>>(d[M>>0]|0))>>0]|0;p=W&255;i=10}b:do if((i|0)==10){switch(Z<<24>>24){case 1:{l=d[h>>0]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}case 3:{i=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;f=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[y>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}default:{i=0;f=0;k=0;l=0}}fa=i&255;ea=f&255;f=k&255;i=l&255;l=(((O(m-fa|0,p)|0)>>>0)/255|0)+fa|0;k=(((O(n-ea|0,p)|0)>>>0)/255|0)+ea|0;f=(((O(o-f|0,p)|0)>>>0)/255|0)+f|0;i=i+p-(((O(i,p)|0)>>>0)/255|0)|0;switch(Z<<24>>24){case 1:{a[h>>0]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break b}case 2:{b[h>>1]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break b}case 3:{a[h+((d[u>>0]|0)>>>3&255)>>0]=l;a[h+((d[w>>0]|0)>>>3&255)>>0]=k;a[h+((d[y>>0]|0)>>>3&255)>>0]=f;break b}case 4:{c[h>>2]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break b}default:break b}}while(0);g=g+Y|0;h=h+_|0;i=21;continue}else if((i|0)==21){i=0;switch(X<<24>>24){case 1:{S=d[g>>0]|0;i=26;break}case 2:{S=e[g>>1]|0;i=26;break}case 3:{m=d[g+((d[G>>0]|0)>>>3&255)>>0]|0;n=d[g+((d[J>>0]|0)>>>3&255)>>0]|0;o=d[g+((d[M>>0]|0)>>>3&255)>>0]|0;p=255;i=27;break}case 4:{S=c[g>>2]|0;i=26;break}default:{}}if((i|0)==26?(i=0,aa=a[(c[18232+((d[N>>0]|0)<<2)>>2]|0)+((c[P>>2]&S)>>>(d[s>>0]|0))>>0]|0,aa<<24>>24):0){m=d[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&S)>>>(d[G>>0]|0))>>0]|0;n=d[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[I>>2]&S)>>>(d[J>>0]|0))>>0]|0;o=d[(c[18232+((d[K>>0]|0)<<2)>>2]|0)+((c[L>>2]&S)>>>(d[M>>0]|0))>>0]|0;p=aa&255;i=27}c:do if((i|0)==27){switch(Z<<24>>24){case 1:{l=d[h>>0]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}case 3:{i=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;f=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[y>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}default:{i=0;f=0;k=0;l=0}}ea=i&255;fa=f&255;f=k&255;i=l&255;l=(((O(m-ea|0,p)|0)>>>0)/255|0)+ea|0;k=(((O(n-fa|0,p)|0)>>>0)/255|0)+fa|0;f=(((O(o-f|0,p)|0)>>>0)/255|0)+f|0;i=i+p-(((O(i,p)|0)>>>0)/255|0)|0;switch(Z<<24>>24){case 1:{a[h>>0]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break c}case 2:{b[h>>1]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break c}case 3:{a[h+((d[u>>0]|0)>>>3&255)>>0]=l;a[h+((d[w>>0]|0)>>>3&255)>>0]=k;a[h+((d[y>>0]|0)>>>3&255)>>0]=f;break c}case 4:{c[h>>2]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break c}default:break c}}while(0);g=g+Y|0;h=h+_|0;i=38;continue}else if((i|0)==38){i=0;switch(X<<24>>24){case 1:{T=d[g>>0]|0;i=43;break}case 2:{T=e[g>>1]|0;i=43;break}case 3:{m=d[g+((d[G>>0]|0)>>>3&255)>>0]|0;n=d[g+((d[J>>0]|0)>>>3&255)>>0]|0;o=d[g+((d[M>>0]|0)>>>3&255)>>0]|0;p=255;i=44;break}case 4:{T=c[g>>2]|0;i=43;break}default:{}}if((i|0)==43?(i=0,ca=a[(c[18232+((d[N>>0]|0)<<2)>>2]|0)+((c[P>>2]&T)>>>(d[s>>0]|0))>>0]|0,ca<<24>>24):0){m=d[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&T)>>>(d[G>>0]|0))>>0]|0;n=d[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[I>>2]&T)>>>(d[J>>0]|0))>>0]|0;o=d[(c[18232+((d[K>>0]|0)<<2)>>2]|0)+((c[L>>2]&T)>>>(d[M>>0]|0))>>0]|0;p=ca&255;i=44}d:do if((i|0)==44){switch(Z<<24>>24){case 1:{l=d[h>>0]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}case 3:{i=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;f=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[y>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}default:{i=0;f=0;k=0;l=0}}ea=i&255;fa=f&255;f=k&255;i=l&255;l=(((O(m-ea|0,p)|0)>>>0)/255|0)+ea|0;k=(((O(n-fa|0,p)|0)>>>0)/255|0)+fa|0;f=(((O(o-f|0,p)|0)>>>0)/255|0)+f|0;i=i+p-(((O(i,p)|0)>>>0)/255|0)|0;switch(Z<<24>>24){case 1:{a[h>>0]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break d}case 2:{b[h>>1]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break d}case 3:{a[h+((d[u>>0]|0)>>>3&255)>>0]=l;a[h+((d[w>>0]|0)>>>3&255)>>0]=k;a[h+((d[y>>0]|0)>>>3&255)>>0]=f;break d}case 4:{c[h>>2]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break d}default:break d}}while(0);g=g+Y|0;h=h+_|0;i=55;continue}else if((i|0)==55){i=0;switch(X<<24>>24){case 1:{U=d[g>>0]|0;i=60;break}case 2:{U=e[g>>1]|0;i=60;break}case 3:{m=d[g+((d[G>>0]|0)>>>3&255)>>0]|0;n=d[g+((d[J>>0]|0)>>>3&255)>>0]|0;o=d[g+((d[M>>0]|0)>>>3&255)>>0]|0;p=255;i=61;break}case 4:{U=c[g>>2]|0;i=60;break}default:{}}if((i|0)==60?(i=0,V=a[(c[18232+((d[N>>0]|0)<<2)>>2]|0)+((c[P>>2]&U)>>>(d[s>>0]|0))>>0]|0,V<<24>>24):0){m=d[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&U)>>>(d[G>>0]|0))>>0]|0;n=d[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[I>>2]&U)>>>(d[J>>0]|0))>>0]|0;o=d[(c[18232+((d[K>>0]|0)<<2)>>2]|0)+((c[L>>2]&U)>>>(d[M>>0]|0))>>0]|0;p=V&255;i=61}e:do if((i|0)==61){switch(Z<<24>>24){case 1:{l=d[h>>0]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}case 3:{i=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;f=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[y>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;i=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[u>>0]|0))>>0]|0;f=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[C>>2]&l)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[D>>2]&l)>>>(d[y>>0]|0))>>0]|0;l=a[(c[18232+((d[z>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[A>>0]|0))>>0]|0;break}default:{i=0;f=0;k=0;l=0}}ea=i&255;fa=f&255;f=k&255;i=l&255;l=(((O(m-ea|0,p)|0)>>>0)/255|0)+ea|0;k=(((O(n-fa|0,p)|0)>>>0)/255|0)+fa|0;f=(((O(o-f|0,p)|0)>>>0)/255|0)+f|0;i=i+p-(((O(i,p)|0)>>>0)/255|0)|0;switch(Z<<24>>24){case 1:{a[h>>0]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break e}case 2:{b[h>>1]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break e}case 3:{a[h+((d[u>>0]|0)>>>3&255)>>0]=l;a[h+((d[w>>0]|0)>>>3&255)>>0]=k;a[h+((d[y>>0]|0)>>>3&255)>>0]=f;break e}case 4:{c[h>>2]=k>>>(d[v>>0]|0)<<(d[w>>0]|0)|l>>>(d[t>>0]|0)<<(d[u>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0)|i>>>(d[z>>0]|0)<<(d[A>>0]|0);break e}default:break e}}while(0);g=g+Y|0;h=h+_|0;if((q|0)>1){q=q+-1|0;i=4;continue}else break}if(!j){i=74;break}else{g=g+ba|0;h=h+da|0}}if((i|0)!=72)if((i|0)==74)return}function rH(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,o=0,p=0;d=c[a+24>>2]|0;f=c[a+28>>2]|0;o=c[a+16>>2]>>2;m=c[a+36>>2]>>1;if(!f)return;n=(d+3|0)/4|0;l=d&255;d=c[a>>2]|0;a=c[a+20>>2]|0;a:while(1){f=f+-1|0;switch(l&3){case 0:{k=n;j=d;d=4;break}case 3:{k=n;j=d;d=10;break}case 2:{k=n;j=d;d=16;break}case 1:{k=n;j=d;d=22;break}default:{d=28;break a}}while(1)if((d|0)==4){d=c[j>>2]|0;g=d>>>27;if(g|0){h=d>>>3&31;i=d>>>8&63488;if((g|0)==31)d=i|d>>>5&2016|h;else{p=e[a>>1]|0;p=(p<<16|p)&132184095;d=((O((d<<11&132120576|i|h)-p|0,g)|0)>>>5)+p&132184095;d=d>>>16|d}b[a>>1]=d}j=j+4|0;a=a+2|0;d=10;continue}else if((d|0)==10){d=c[j>>2]|0;g=d>>>27;if(g|0){h=d>>>8&63488;i=d>>>3&31;if((g|0)==31)d=h|d>>>5&2016|i;else{p=e[a>>1]|0;p=(p<<16|p)&132184095;d=((O((d<<11&132120576|h|i)-p|0,g)|0)>>>5)+p&132184095;d=d>>>16|d}b[a>>1]=d}j=j+4|0;a=a+2|0;d=16;continue}else if((d|0)==16){d=c[j>>2]|0;g=d>>>27;if(g|0){h=d>>>3&31;i=d>>>8&63488;if((g|0)==31)d=i|d>>>5&2016|h;else{p=e[a>>1]|0;p=(p<<16|p)&132184095;d=((O((d<<11&132120576|i|h)-p|0,g)|0)>>>5)+p&132184095;d=d>>>16|d}b[a>>1]=d}j=j+4|0;a=a+2|0;d=22;continue}else if((d|0)==22){d=c[j>>2]|0;g=d>>>27;if(g|0){h=d>>>8&63488;i=d>>>3&31;if((g|0)==31)d=h|d>>>5&2016|i;else{p=e[a>>1]|0;p=(p<<16|p)&132184095;d=((O((d<<11&132120576|h|i)-p|0,g)|0)>>>5)+p&132184095;d=d>>>16|d}b[a>>1]=d}d=j+4|0;a=a+2|0;if((k|0)>1){k=k+-1|0;j=d;d=4;continue}else break}if(!f){d=30;break}else{d=d+(o<<2)|0;a=a+(m<<1)|0}}if((d|0)!=28)if((d|0)==30)return}function sH(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,p=0;f=a[d+63>>0]|0;if(f<<24>>24==-128){BH(d,-1058);return}g=c[d+24>>2]|0;n=c[d+28>>2]|0;i=c[d>>2]|0;p=c[d+16>>2]>>1;j=c[d+20>>2]|0;o=c[d+36>>2]>>1;m=(f&255)>>>3;h=n+-1|0;if(!n)return;n=(g+3|0)/4|0;l=g&255;if(!(l&3)){d=i;f=j;while(1){g=n;while(1){l=e[d>>1]|0;j=e[f>>1]|0;j=(j<<16|j)&65043487;j=((O(((l<<16|l)&65043487)-j|0,m)|0)>>>5)+j&65043487;l=f+2|0;b[f>>1]=j>>>16|j;j=e[d+2>>1]|0;k=e[l>>1]|0;k=(k<<16|k)&65043487;k=((O(((j<<16|j)&65043487)-k|0,m)|0)>>>5)+k&65043487;j=f+4|0;b[l>>1]=k>>>16|k;l=e[d+4>>1]|0;k=e[j>>1]|0;k=(k<<16|k)&65043487;k=((O(((l<<16|l)&65043487)-k|0,m)|0)>>>5)+k&65043487;l=f+6|0;b[j>>1]=k>>>16|k;j=d;d=d+8|0;j=e[j+6>>1]|0;k=e[l>>1]|0;k=(k<<16|k)&65043487;k=((O(((j<<16|j)&65043487)-k|0,m)|0)>>>5)+k&65043487;f=f+8|0;b[l>>1]=k>>>16|k;if((g|0)<=1)break;else g=g+-1|0}if(!h)break;else{d=d+(p<<1)|0;f=f+(o<<1)|0;h=h+-1|0}}return}else d=j;a:while(1){switch(l&3){case 1:{j=n;g=d;k=12;break}case 3:{f=n;k=10;break}case 2:{f=n;k=11;break}default:{k=13;break a}}while(1)if((k|0)==10){g=e[i>>1]|0;j=e[d>>1]|0;j=(j<<16|j)&65043487;j=((O(((g<<16|g)&65043487)-j|0,m)|0)>>>5)+j&65043487;b[d>>1]=j>>>16|j;i=i+2|0;d=d+2|0;k=11;continue}else if((k|0)==11){g=e[i>>1]|0;j=e[d>>1]|0;j=(j<<16|j)&65043487;j=((O(((g<<16|g)&65043487)-j|0,m)|0)>>>5)+j&65043487;b[d>>1]=j>>>16|j;j=f;i=i+2|0;g=d+2|0;k=12;continue}else if((k|0)==12){d=i+2|0;f=e[i>>1]|0;k=e[g>>1]|0;k=(k<<16|k)&65043487;k=((O(((f<<16|f)&65043487)-k|0,m)|0)>>>5)+k&65043487;f=g+2|0;b[g>>1]=k>>>16|k;if((j|0)<=1)break;k=e[d>>1]|0;d=e[f>>1]|0;d=(d<<16|d)&65043487;d=((O(((k<<16|k)&65043487)-d|0,m)|0)>>>5)+d&65043487;b[f>>1]=d>>>16|d;f=j+-1|0;i=i+4|0;d=g+4|0;k=10;continue}if(!h){k=15;break}else{i=d+(p<<1)|0;d=f+(o<<1)|0;h=h+-1|0}}if((k|0)!=13)if((k|0)==15)return}function tH(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,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;g=c[f+24>>2]|0;j=c[f+28>>2]|0;T=c[f+16>>2]|0;U=c[f+36>>2]|0;i=c[f+40>>2]|0;h=c[f+44>>2]|0;M=a[i+9>>0]|0;N=M&255;P=a[h+9>>0]|0;Q=P&255;S=a[f+63>>0]|0;R=S&255;if(S<<24>>24==0|(j|0)==0)return;S=(g+3|0)/4|0;L=g&255;A=h+28|0;B=h+32|0;C=h+29|0;D=h+33|0;E=h+30|0;F=h+34|0;G=h+31|0;H=h+35|0;I=h+12|0;J=h+16|0;K=h+20|0;r=h+24|0;s=i+28|0;t=i+12|0;u=i+32|0;v=i+29|0;w=i+16|0;x=i+33|0;y=i+30|0;z=i+20|0;q=i+34|0;g=c[f>>2]|0;h=c[f+20>>2]|0;a:while(1){j=j+-1|0;switch(L&3){case 0:{p=S;l=4;break}case 3:{p=S;l=21;break}case 2:{p=S;l=38;break}case 1:{p=S;l=55;break}default:{l=72;break a}}while(1)if((l|0)==4){l=0;switch(M<<24>>24){case 1:{k=d[g>>0]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=9;break}case 2:{k=e[g>>1]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=9;break}case 3:{i=g+((d[u>>0]|0)>>>3&255)|0;f=g+((d[x>>0]|0)>>>3&255)|0;k=g+((d[q>>0]|0)>>>3&255)|0;l=9;break}case 4:{k=c[g>>2]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=9;break}default:{i=0;f=0;k=0}}if((l|0)==9){i=a[i>>0]|0;f=a[f>>0]|0;k=a[k>>0]|0}m=i&255;n=f&255;o=k&255;switch(P<<24>>24){case 1:{l=d[h>>0]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}case 3:{i=a[h+((d[B>>0]|0)>>>3&255)>>0]|0;f=a[h+((d[D>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[F>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}default:{i=0;f=0;k=0;l=0}}W=i&255;V=f&255;i=k&255;f=l&255;l=(((O(m-W|0,R)|0)>>>0)/255|0)+W|0;k=(((O(n-V|0,R)|0)>>>0)/255|0)+V|0;i=(((O(o-i|0,R)|0)>>>0)/255|0)+i|0;f=f+R-(((O(f,R)|0)>>>0)/255|0)|0;switch(P<<24>>24){case 1:{a[h>>0]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}case 2:{b[h>>1]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}case 3:{a[h+((d[B>>0]|0)>>>3&255)>>0]=l;a[h+((d[D>>0]|0)>>>3&255)>>0]=k;a[h+((d[F>>0]|0)>>>3&255)>>0]=i;break}case 4:{c[h>>2]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}default:{}}g=g+N|0;h=h+Q|0;l=21;continue}else if((l|0)==21){l=0;switch(M<<24>>24){case 1:{k=d[g>>0]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=26;break}case 2:{k=e[g>>1]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=26;break}case 3:{i=g+((d[u>>0]|0)>>>3&255)|0;f=g+((d[x>>0]|0)>>>3&255)|0;k=g+((d[q>>0]|0)>>>3&255)|0;l=26;break}case 4:{k=c[g>>2]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=26;break}default:{i=0;f=0;k=0}}if((l|0)==26){i=a[i>>0]|0;f=a[f>>0]|0;k=a[k>>0]|0}m=i&255;n=f&255;o=k&255;switch(P<<24>>24){case 1:{l=d[h>>0]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}case 3:{i=a[h+((d[B>>0]|0)>>>3&255)>>0]|0;f=a[h+((d[D>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[F>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}default:{i=0;f=0;k=0;l=0}}V=i&255;W=f&255;i=k&255;f=l&255;l=(((O(m-V|0,R)|0)>>>0)/255|0)+V|0;k=(((O(n-W|0,R)|0)>>>0)/255|0)+W|0;i=(((O(o-i|0,R)|0)>>>0)/255|0)+i|0;f=f+R-(((O(f,R)|0)>>>0)/255|0)|0;switch(P<<24>>24){case 1:{a[h>>0]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}case 2:{b[h>>1]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}case 3:{a[h+((d[B>>0]|0)>>>3&255)>>0]=l;a[h+((d[D>>0]|0)>>>3&255)>>0]=k;a[h+((d[F>>0]|0)>>>3&255)>>0]=i;break}case 4:{c[h>>2]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}default:{}}g=g+N|0;h=h+Q|0;l=38;continue}else if((l|0)==38){l=0;switch(M<<24>>24){case 1:{k=d[g>>0]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=43;break}case 2:{k=e[g>>1]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=43;break}case 3:{i=g+((d[u>>0]|0)>>>3&255)|0;f=g+((d[x>>0]|0)>>>3&255)|0;k=g+((d[q>>0]|0)>>>3&255)|0;l=43;break}case 4:{k=c[g>>2]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=43;break}default:{i=0;f=0;k=0}}if((l|0)==43){i=a[i>>0]|0;f=a[f>>0]|0;k=a[k>>0]|0}m=i&255;n=f&255;o=k&255;switch(P<<24>>24){case 1:{l=d[h>>0]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}case 3:{i=a[h+((d[B>>0]|0)>>>3&255)>>0]|0;f=a[h+((d[D>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[F>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}default:{i=0;f=0;k=0;l=0}}V=i&255;W=f&255;i=k&255;f=l&255;l=(((O(m-V|0,R)|0)>>>0)/255|0)+V|0;k=(((O(n-W|0,R)|0)>>>0)/255|0)+W|0;i=(((O(o-i|0,R)|0)>>>0)/255|0)+i|0;f=f+R-(((O(f,R)|0)>>>0)/255|0)|0;switch(P<<24>>24){case 1:{a[h>>0]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}case 2:{b[h>>1]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}case 3:{a[h+((d[B>>0]|0)>>>3&255)>>0]=l;a[h+((d[D>>0]|0)>>>3&255)>>0]=k;a[h+((d[F>>0]|0)>>>3&255)>>0]=i;break}case 4:{c[h>>2]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}default:{}}g=g+N|0;h=h+Q|0;l=55;continue}else if((l|0)==55){l=0;switch(M<<24>>24){case 1:{k=d[g>>0]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=60;break}case 2:{k=e[g>>1]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=60;break}case 3:{i=g+((d[u>>0]|0)>>>3&255)|0;f=g+((d[x>>0]|0)>>>3&255)|0;k=g+((d[q>>0]|0)>>>3&255)|0;l=60;break}case 4:{k=c[g>>2]|0;i=(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&k)>>>(d[u>>0]|0))|0;f=(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&k)>>>(d[x>>0]|0))|0;k=(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[q>>0]|0))|0;l=60;break}default:{i=0;f=0;k=0}}if((l|0)==60){i=a[i>>0]|0;f=a[f>>0]|0;k=a[k>>0]|0}m=i&255;n=f&255;o=k&255;switch(P<<24>>24){case 1:{l=d[h>>0]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}case 3:{i=a[h+((d[B>>0]|0)>>>3&255)>>0]|0;f=a[h+((d[D>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[F>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;i=a[(c[18232+((d[A>>0]|0)<<2)>>2]|0)+((c[I>>2]&l)>>>(d[B>>0]|0))>>0]|0;f=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[D>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[r>>2]&l)>>>(d[H>>0]|0))>>0]|0;break}default:{i=0;f=0;k=0;l=0}}V=i&255;W=f&255;i=k&255;f=l&255;l=(((O(m-V|0,R)|0)>>>0)/255|0)+V|0;k=(((O(n-W|0,R)|0)>>>0)/255|0)+W|0;i=(((O(o-i|0,R)|0)>>>0)/255|0)+i|0;f=f+R-(((O(f,R)|0)>>>0)/255|0)|0;switch(P<<24>>24){case 1:{a[h>>0]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}case 2:{b[h>>1]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}case 3:{a[h+((d[B>>0]|0)>>>3&255)>>0]=l;a[h+((d[D>>0]|0)>>>3&255)>>0]=k;a[h+((d[F>>0]|0)>>>3&255)>>0]=i;break}case 4:{c[h>>2]=k>>>(d[C>>0]|0)<<(d[D>>0]|0)|l>>>(d[A>>0]|0)<<(d[B>>0]|0)|i>>>(d[E>>0]|0)<<(d[F>>0]|0)|f>>>(d[G>>0]|0)<<(d[H>>0]|0);break}default:{}}g=g+N|0;h=h+Q|0;if((p|0)>1){p=p+-1|0;l=4;continue}else break}if(!j){l=74;break}else{g=g+T|0;h=h+U|0}}if((l|0)!=72)if((l|0)==74)return}function uH(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,p=0;f=a[d+63>>0]|0;if(f<<24>>24==-128){BH(d,-2082);return}g=c[d+24>>2]|0;n=c[d+28>>2]|0;i=c[d>>2]|0;p=c[d+16>>2]>>1;j=c[d+20>>2]|0;o=c[d+36>>2]>>1;m=(f&255)>>>3;h=n+-1|0;if(!n)return;n=(g+3|0)/4|0;l=g&255;if(!(l&3)){d=i;f=j;while(1){g=n;while(1){l=e[d>>1]|0;j=e[f>>1]|0;j=(j<<16|j)&132184095;j=((O(((l<<16|l)&132184095)-j|0,m)|0)>>>5)+j&132184095;l=f+2|0;b[f>>1]=j>>>16|j;j=e[d+2>>1]|0;k=e[l>>1]|0;k=(k<<16|k)&132184095;k=((O(((j<<16|j)&132184095)-k|0,m)|0)>>>5)+k&132184095;j=f+4|0;b[l>>1]=k>>>16|k;l=e[d+4>>1]|0;k=e[j>>1]|0;k=(k<<16|k)&132184095;k=((O(((l<<16|l)&132184095)-k|0,m)|0)>>>5)+k&132184095;l=f+6|0;b[j>>1]=k>>>16|k;j=d;d=d+8|0;j=e[j+6>>1]|0;k=e[l>>1]|0;k=(k<<16|k)&132184095;k=((O(((j<<16|j)&132184095)-k|0,m)|0)>>>5)+k&132184095;f=f+8|0;b[l>>1]=k>>>16|k;if((g|0)<=1)break;else g=g+-1|0}if(!h)break;else{d=d+(p<<1)|0;f=f+(o<<1)|0;h=h+-1|0}}return}else d=j;a:while(1){switch(l&3){case 1:{j=n;g=d;k=12;break}case 3:{f=n;k=10;break}case 2:{f=n;k=11;break}default:{k=13;break a}}while(1)if((k|0)==10){g=e[i>>1]|0;j=e[d>>1]|0;j=(j<<16|j)&132184095;j=((O(((g<<16|g)&132184095)-j|0,m)|0)>>>5)+j&132184095;b[d>>1]=j>>>16|j;i=i+2|0;d=d+2|0;k=11;continue}else if((k|0)==11){g=e[i>>1]|0;j=e[d>>1]|0;j=(j<<16|j)&132184095;j=((O(((g<<16|g)&132184095)-j|0,m)|0)>>>5)+j&132184095;b[d>>1]=j>>>16|j;j=f;i=i+2|0;g=d+2|0;k=12;continue}else if((k|0)==12){d=i+2|0;f=e[i>>1]|0;k=e[g>>1]|0;k=(k<<16|k)&132184095;k=((O(((f<<16|f)&132184095)-k|0,m)|0)>>>5)+k&132184095;f=g+2|0;b[g>>1]=k>>>16|k;if((j|0)<=1)break;k=e[d>>1]|0;d=e[f>>1]|0;d=(d<<16|d)&132184095;d=((O(((k<<16|k)&132184095)-d|0,m)|0)>>>5)+d&132184095;b[f>>1]=d>>>16|d;f=j+-1|0;i=i+4|0;d=g+4|0;k=10;continue}if(!h){k=15;break}else{i=d+(p<<1)|0;d=f+(o<<1)|0;h=h+-1|0}}if((k|0)!=13)if((k|0)==15)return}function vH(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;f=c[b+24>>2]|0;h=c[b+28>>2]|0;G=c[b+16>>2]|0;H=c[b+36>>2]|0;A=c[b+48>>2]|0;g=c[b+40>>2]|0;B=a[g+9>>0]|0;C=B&255;D=c[b+56>>2]|0;E=d[b+63>>0]|0;if(!h)return;F=(f+7|0)/8|0;z=f&255;p=(c[b+44>>2]|0)+4|0;q=(A|0)==0;r=g+28|0;s=g+12|0;t=g+32|0;u=g+29|0;v=g+16|0;w=g+33|0;x=g+30|0;y=g+20|0;o=g+34|0;f=c[b>>2]|0;g=c[b+20>>2]|0;a:while(1){h=h+-1|0;switch(z&7){case 0:{m=F;l=f;n=4;break}case 7:{m=F;l=f;n=16;break}case 6:{m=F;l=f;n=28;break}case 5:{m=F;l=f;n=40;break}case 4:{m=F;l=f;n=52;break}case 3:{m=F;l=f;n=64;break}case 2:{m=F;l=f;n=76;break}case 1:{m=F;l=f;n=88;break}default:{n=100;break a}}while(1)if((n|0)==4){n=0;switch(B<<24>>24){case 1:{b=d[l>>0]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=9;break}case 2:{b=e[l>>1]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=9;break}case 3:{i=l+((d[w>>0]|0)>>>3&255)|0;j=l+((d[t>>0]|0)>>>3&255)|0;f=0;b=l+((d[o>>0]|0)>>>3&255)|0;n=9;break}case 4:{b=c[l>>2]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=9;break}default:{k=0;i=0;b=0;f=0}}if((n|0)==9){k=a[b>>0]|0;i=a[i>>0]|0;b=a[j>>0]|0}if((f|0)!=(D|0)){I=c[(c[p>>2]|0)+4>>2]|0;f=d[g>>0]|0;n=d[I+(f<<2)>>0]|0;j=d[I+(f<<2)+1>>0]|0;f=d[I+(f<<2)+2>>0]|0;f=((((O((i&255)-j|0,E)|0)>>>0)/255|0)+j|0)>>>3&28|(((O((b&255)-n|0,E)|0)>>>0)/255|0)+n&224|((((O((k&255)-f|0,E)|0)>>>0)/255|0)+f|0)>>>6&3;if(q)f=f&255;else f=a[A+f>>0]|0;a[g>>0]=f}l=l+C|0;g=g+1|0;n=16;continue}else if((n|0)==16){n=0;switch(B<<24>>24){case 1:{b=d[l>>0]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=21;break}case 2:{b=e[l>>1]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=21;break}case 3:{i=l+((d[w>>0]|0)>>>3&255)|0;j=l+((d[t>>0]|0)>>>3&255)|0;f=0;b=l+((d[o>>0]|0)>>>3&255)|0;n=21;break}case 4:{b=c[l>>2]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=21;break}default:{k=0;i=0;b=0;f=0}}if((n|0)==21){k=a[b>>0]|0;i=a[i>>0]|0;b=a[j>>0]|0}if((f|0)!=(D|0)){j=c[(c[p>>2]|0)+4>>2]|0;f=d[g>>0]|0;I=d[j+(f<<2)>>0]|0;n=d[j+(f<<2)+1>>0]|0;f=d[j+(f<<2)+2>>0]|0;f=((((O((i&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((O((b&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((O((k&255)-f|0,E)|0)>>>0)/255|0)+f|0)>>>6&3;if(q)f=f&255;else f=a[A+f>>0]|0;a[g>>0]=f}l=l+C|0;g=g+1|0;n=28;continue}else if((n|0)==28){n=0;switch(B<<24>>24){case 1:{b=d[l>>0]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=33;break}case 2:{b=e[l>>1]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=33;break}case 3:{i=l+((d[w>>0]|0)>>>3&255)|0;j=l+((d[t>>0]|0)>>>3&255)|0;f=0;b=l+((d[o>>0]|0)>>>3&255)|0;n=33;break}case 4:{b=c[l>>2]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=33;break}default:{k=0;i=0;b=0;f=0}}if((n|0)==33){k=a[b>>0]|0;i=a[i>>0]|0;b=a[j>>0]|0}if((f|0)!=(D|0)){j=c[(c[p>>2]|0)+4>>2]|0;f=d[g>>0]|0;I=d[j+(f<<2)>>0]|0;n=d[j+(f<<2)+1>>0]|0;f=d[j+(f<<2)+2>>0]|0;f=((((O((i&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((O((b&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((O((k&255)-f|0,E)|0)>>>0)/255|0)+f|0)>>>6&3;if(q)f=f&255;else f=a[A+f>>0]|0;a[g>>0]=f}l=l+C|0;g=g+1|0;n=40;continue}else if((n|0)==40){n=0;switch(B<<24>>24){case 1:{b=d[l>>0]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=45;break}case 2:{b=e[l>>1]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=45;break}case 3:{i=l+((d[w>>0]|0)>>>3&255)|0;j=l+((d[t>>0]|0)>>>3&255)|0;f=0;b=l+((d[o>>0]|0)>>>3&255)|0;n=45;break}case 4:{b=c[l>>2]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=45;break}default:{k=0;i=0;b=0;f=0}}if((n|0)==45){k=a[b>>0]|0;i=a[i>>0]|0;b=a[j>>0]|0}if((f|0)!=(D|0)){j=c[(c[p>>2]|0)+4>>2]|0;f=d[g>>0]|0;I=d[j+(f<<2)>>0]|0;n=d[j+(f<<2)+1>>0]|0;f=d[j+(f<<2)+2>>0]|0;f=((((O((i&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((O((b&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((O((k&255)-f|0,E)|0)>>>0)/255|0)+f|0)>>>6&3;if(q)f=f&255;else f=a[A+f>>0]|0;a[g>>0]=f}l=l+C|0;g=g+1|0;n=52;continue}else if((n|0)==52){n=0;switch(B<<24>>24){case 1:{b=d[l>>0]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=57;break}case 2:{b=e[l>>1]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=57;break}case 3:{i=l+((d[w>>0]|0)>>>3&255)|0;j=l+((d[t>>0]|0)>>>3&255)|0;f=0;b=l+((d[o>>0]|0)>>>3&255)|0;n=57;break}case 4:{b=c[l>>2]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=57;break}default:{k=0;i=0;b=0;f=0}}if((n|0)==57){k=a[b>>0]|0;i=a[i>>0]|0;b=a[j>>0]|0}if((f|0)!=(D|0)){j=c[(c[p>>2]|0)+4>>2]|0;f=d[g>>0]|0;I=d[j+(f<<2)>>0]|0;n=d[j+(f<<2)+1>>0]|0;f=d[j+(f<<2)+2>>0]|0;f=((((O((i&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((O((b&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((O((k&255)-f|0,E)|0)>>>0)/255|0)+f|0)>>>6&3;if(q)f=f&255;else f=a[A+f>>0]|0;a[g>>0]=f}l=l+C|0;g=g+1|0;n=64;continue}else if((n|0)==64){n=0;switch(B<<24>>24){case 1:{b=d[l>>0]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=69;break}case 2:{b=e[l>>1]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=69;break}case 3:{i=l+((d[w>>0]|0)>>>3&255)|0;j=l+((d[t>>0]|0)>>>3&255)|0;f=0;b=l+((d[o>>0]|0)>>>3&255)|0;n=69;break}case 4:{b=c[l>>2]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=69;break}default:{k=0;i=0;b=0;f=0}}if((n|0)==69){k=a[b>>0]|0;i=a[i>>0]|0;b=a[j>>0]|0}if((f|0)!=(D|0)){j=c[(c[p>>2]|0)+4>>2]|0;f=d[g>>0]|0;I=d[j+(f<<2)>>0]|0;n=d[j+(f<<2)+1>>0]|0;f=d[j+(f<<2)+2>>0]|0;f=((((O((i&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((O((b&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((O((k&255)-f|0,E)|0)>>>0)/255|0)+f|0)>>>6&3;if(q)f=f&255;else f=a[A+f>>0]|0;a[g>>0]=f}l=l+C|0;g=g+1|0;n=76;continue}else if((n|0)==76){n=0;switch(B<<24>>24){case 1:{b=d[l>>0]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=81;break}case 2:{b=e[l>>1]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=81;break}case 3:{i=l+((d[w>>0]|0)>>>3&255)|0;j=l+((d[t>>0]|0)>>>3&255)|0;f=0;b=l+((d[o>>0]|0)>>>3&255)|0;n=81;break}case 4:{b=c[l>>2]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=81;break}default:{k=0;i=0;b=0;f=0}}if((n|0)==81){k=a[b>>0]|0;i=a[i>>0]|0;b=a[j>>0]|0}if((f|0)!=(D|0)){j=c[(c[p>>2]|0)+4>>2]|0;f=d[g>>0]|0;I=d[j+(f<<2)>>0]|0;n=d[j+(f<<2)+1>>0]|0;f=d[j+(f<<2)+2>>0]|0;f=((((O((i&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((O((b&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((O((k&255)-f|0,E)|0)>>>0)/255|0)+f|0)>>>6&3;if(q)f=f&255;else f=a[A+f>>0]|0;a[g>>0]=f}l=l+C|0;g=g+1|0;n=88;continue}else if((n|0)==88){n=0;switch(B<<24>>24){case 1:{b=d[l>>0]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=93;break}case 2:{b=e[l>>1]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=93;break}case 3:{i=l+((d[w>>0]|0)>>>3&255)|0;j=l+((d[t>>0]|0)>>>3&255)|0;f=0;b=l+((d[o>>0]|0)>>>3&255)|0;n=93;break}case 4:{b=c[l>>2]|0;i=(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[v>>2]&b)>>>(d[w>>0]|0))|0;j=(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[s>>2]&b)>>>(d[t>>0]|0))|0;f=b;b=(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[y>>2]&b)>>>(d[o>>0]|0))|0;n=93;break}default:{k=0;i=0;b=0;f=0}}if((n|0)==93){k=a[b>>0]|0;i=a[i>>0]|0;b=a[j>>0]|0}if((f|0)!=(D|0)){j=c[(c[p>>2]|0)+4>>2]|0;f=d[g>>0]|0;I=d[j+(f<<2)>>0]|0;n=d[j+(f<<2)+1>>0]|0;f=d[j+(f<<2)+2>>0]|0;f=((((O((i&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((O((b&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((O((k&255)-f|0,E)|0)>>>0)/255|0)+f|0)>>>6&3;if(q)f=f&255;else f=a[A+f>>0]|0;a[g>>0]=f}g=g+1|0;f=l+C|0;if((m|0)>1){m=m+-1|0;l=f;n=4;continue}else break}if(!h){n=102;break}else{f=f+G|0;g=g+H|0}}if((n|0)!=100)if((n|0)==102)return}function wH(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,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;g=c[f+24>>2]|0;k=c[f+28>>2]|0;V=c[f+16>>2]|0;W=c[f+36>>2]|0;i=c[f+40>>2]|0;j=c[f+44>>2]|0;N=c[f+56>>2]|0;P=a[i+9>>0]|0;Q=P&255;R=a[j+9>>0]|0;S=R&255;h=a[f+63>>0]|0;T=h&255;if(!k)return;U=(g+3|0)/4|0;M=g&255;D=h<<24>>24==0;E=i+28|0;F=i+12|0;G=i+32|0;H=i+29|0;I=i+16|0;J=i+33|0;K=i+30|0;L=i+20|0;r=i+34|0;s=j+28|0;t=j+32|0;u=j+29|0;v=j+33|0;w=j+30|0;x=j+34|0;y=j+31|0;z=j+35|0;A=j+12|0;B=j+16|0;C=j+20|0;q=j+24|0;g=c[f>>2]|0;h=c[f+20>>2]|0;a:while(1){k=k+-1|0;switch(M&3){case 0:{p=U;o=h;h=4;break}case 3:{p=U;o=h;h=21;break}case 2:{p=U;o=h;h=38;break}case 1:{p=U;o=h;h=55;break}default:{h=72;break a}}while(1)if((h|0)==4){switch(P<<24>>24){case 1:{h=d[g>>0]|0;break}case 2:{h=e[g>>1]|0;break}case 3:{h=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{h=c[g>>2]|0;break}default:h=0}b:do if(!(D|(h|0)==(N|0))){l=d[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&h)>>>(d[G>>0]|0))>>0]|0;n=d[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[I>>2]&h)>>>(d[J>>0]|0))>>0]|0;m=d[(c[18232+((d[K>>0]|0)<<2)>>2]|0)+((c[L>>2]&h)>>>(d[r>>0]|0))>>0]|0;switch(R<<24>>24){case 1:{f=d[o>>0]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}case 2:{f=e[o>>1]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}case 3:{h=a[o+((d[t>>0]|0)>>>3&255)>>0]|0;i=a[o+((d[v>>0]|0)>>>3&255)>>0]|0;j=a[o+((d[x>>0]|0)>>>3&255)>>0]|0;f=-1;break}case 4:{f=c[o>>2]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}default:{h=0;i=0;j=0;f=0}}Y=h&255;X=i&255;h=j&255;i=f&255;f=(((O(l-Y|0,T)|0)>>>0)/255|0)+Y|0;j=(((O(n-X|0,T)|0)>>>0)/255|0)+X|0;h=(((O(m-h|0,T)|0)>>>0)/255|0)+h|0;i=i+T-(((O(i,T)|0)>>>0)/255|0)|0;switch(R<<24>>24){case 1:{a[o>>0]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break b}case 2:{b[o>>1]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break b}case 3:{a[o+((d[t>>0]|0)>>>3&255)>>0]=f;a[o+((d[v>>0]|0)>>>3&255)>>0]=j;a[o+((d[x>>0]|0)>>>3&255)>>0]=h;break b}case 4:{c[o>>2]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break b}default:break b}}while(0);g=g+Q|0;o=o+S|0;h=21;continue}else if((h|0)==21){switch(P<<24>>24){case 1:{h=d[g>>0]|0;break}case 2:{h=e[g>>1]|0;break}case 3:{h=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{h=c[g>>2]|0;break}default:h=0}c:do if(!(D|(h|0)==(N|0))){l=d[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&h)>>>(d[G>>0]|0))>>0]|0;m=d[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[I>>2]&h)>>>(d[J>>0]|0))>>0]|0;n=d[(c[18232+((d[K>>0]|0)<<2)>>2]|0)+((c[L>>2]&h)>>>(d[r>>0]|0))>>0]|0;switch(R<<24>>24){case 1:{f=d[o>>0]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}case 2:{f=e[o>>1]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}case 3:{h=a[o+((d[t>>0]|0)>>>3&255)>>0]|0;i=a[o+((d[v>>0]|0)>>>3&255)>>0]|0;j=a[o+((d[x>>0]|0)>>>3&255)>>0]|0;f=-1;break}case 4:{f=c[o>>2]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}default:{h=0;i=0;j=0;f=0}}X=h&255;Y=i&255;h=j&255;i=f&255;f=(((O(l-X|0,T)|0)>>>0)/255|0)+X|0;j=(((O(m-Y|0,T)|0)>>>0)/255|0)+Y|0;h=(((O(n-h|0,T)|0)>>>0)/255|0)+h|0;i=i+T-(((O(i,T)|0)>>>0)/255|0)|0;switch(R<<24>>24){case 1:{a[o>>0]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break c}case 2:{b[o>>1]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break c}case 3:{a[o+((d[t>>0]|0)>>>3&255)>>0]=f;a[o+((d[v>>0]|0)>>>3&255)>>0]=j;a[o+((d[x>>0]|0)>>>3&255)>>0]=h;break c}case 4:{c[o>>2]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break c}default:break c}}while(0);g=g+Q|0;o=o+S|0;h=38;continue}else if((h|0)==38){switch(P<<24>>24){case 1:{h=d[g>>0]|0;break}case 2:{h=e[g>>1]|0;break}case 3:{h=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{h=c[g>>2]|0;break}default:h=0}d:do if(!(D|(h|0)==(N|0))){l=d[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&h)>>>(d[G>>0]|0))>>0]|0;m=d[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[I>>2]&h)>>>(d[J>>0]|0))>>0]|0;n=d[(c[18232+((d[K>>0]|0)<<2)>>2]|0)+((c[L>>2]&h)>>>(d[r>>0]|0))>>0]|0;switch(R<<24>>24){case 1:{f=d[o>>0]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}case 2:{f=e[o>>1]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}case 3:{h=a[o+((d[t>>0]|0)>>>3&255)>>0]|0;i=a[o+((d[v>>0]|0)>>>3&255)>>0]|0;j=a[o+((d[x>>0]|0)>>>3&255)>>0]|0;f=-1;break}case 4:{f=c[o>>2]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}default:{h=0;i=0;j=0;f=0}}X=h&255;Y=i&255;h=j&255;i=f&255;f=(((O(l-X|0,T)|0)>>>0)/255|0)+X|0;j=(((O(m-Y|0,T)|0)>>>0)/255|0)+Y|0;h=(((O(n-h|0,T)|0)>>>0)/255|0)+h|0;i=i+T-(((O(i,T)|0)>>>0)/255|0)|0;switch(R<<24>>24){case 1:{a[o>>0]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break d}case 2:{b[o>>1]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break d}case 3:{a[o+((d[t>>0]|0)>>>3&255)>>0]=f;a[o+((d[v>>0]|0)>>>3&255)>>0]=j;a[o+((d[x>>0]|0)>>>3&255)>>0]=h;break d}case 4:{c[o>>2]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break d}default:break d}}while(0);g=g+Q|0;o=o+S|0;h=55;continue}else if((h|0)==55){switch(P<<24>>24){case 1:{h=d[g>>0]|0;break}case 2:{h=e[g>>1]|0;break}case 3:{h=(d[g+1>>0]|0)<<8|(d[g>>0]|0)|(d[g+2>>0]|0)<<16;break}case 4:{h=c[g>>2]|0;break}default:h=0}e:do if(!(D|(h|0)==(N|0))){l=d[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[F>>2]&h)>>>(d[G>>0]|0))>>0]|0;m=d[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[I>>2]&h)>>>(d[J>>0]|0))>>0]|0;n=d[(c[18232+((d[K>>0]|0)<<2)>>2]|0)+((c[L>>2]&h)>>>(d[r>>0]|0))>>0]|0;switch(R<<24>>24){case 1:{f=d[o>>0]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}case 2:{f=e[o>>1]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}case 3:{h=a[o+((d[t>>0]|0)>>>3&255)>>0]|0;i=a[o+((d[v>>0]|0)>>>3&255)>>0]|0;j=a[o+((d[x>>0]|0)>>>3&255)>>0]|0;f=-1;break}case 4:{f=c[o>>2]|0;h=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[A>>2]&f)>>>(d[t>>0]|0))>>0]|0;i=a[(c[18232+((d[u>>0]|0)<<2)>>2]|0)+((c[B>>2]&f)>>>(d[v>>0]|0))>>0]|0;j=a[(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[C>>2]&f)>>>(d[x>>0]|0))>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[q>>2]&f)>>>(d[z>>0]|0))>>0]|0;break}default:{h=0;i=0;j=0;f=0}}X=h&255;Y=i&255;h=j&255;i=f&255;f=(((O(l-X|0,T)|0)>>>0)/255|0)+X|0;j=(((O(m-Y|0,T)|0)>>>0)/255|0)+Y|0;h=(((O(n-h|0,T)|0)>>>0)/255|0)+h|0;i=i+T-(((O(i,T)|0)>>>0)/255|0)|0;switch(R<<24>>24){case 1:{a[o>>0]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break e}case 2:{b[o>>1]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break e}case 3:{a[o+((d[t>>0]|0)>>>3&255)>>0]=f;a[o+((d[v>>0]|0)>>>3&255)>>0]=j;a[o+((d[x>>0]|0)>>>3&255)>>0]=h;break e}case 4:{c[o>>2]=j>>>(d[u>>0]|0)<<(d[v>>0]|0)|f>>>(d[s>>0]|0)<<(d[t>>0]|0)|h>>>(d[w>>0]|0)<<(d[x>>0]|0)|i>>>(d[y>>0]|0)<<(d[z>>0]|0);break e}default:break e}}while(0);g=g+Q|0;h=o+S|0;if((p|0)>1){p=p+-1|0;o=h;h=4;continue}else break}if(!k){h=74;break}else{g=g+V|0;h=h+W|0}}if((h|0)!=72)if((h|0)==74)return}function xH(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;f=c[b+24>>2]|0;h=c[b+28>>2]|0;F=c[b+16>>2]|0;G=c[b+36>>2]|0;B=c[b+48>>2]|0;g=c[b+40>>2]|0;C=a[g+9>>0]|0;D=C&255;if(!h)return;E=(f+3|0)/4|0;A=f&255;n=(c[b+44>>2]|0)+4|0;o=(B|0)==0;p=g+28|0;q=g+12|0;r=g+32|0;s=g+29|0;t=g+16|0;u=g+33|0;v=g+30|0;w=g+20|0;x=g+34|0;y=g+31|0;z=g+24|0;m=g+35|0;f=c[b>>2]|0;j=c[b+20>>2]|0;a:while(1){h=h+-1|0;switch(A&3){case 0:{l=E;k=f;f=4;break}case 3:{l=E;k=f;f=13;break}case 2:{l=E;k=f;f=22;break}case 1:{l=E;k=f;f=31;break}default:{f=40;break a}}while(1)if((f|0)==4){switch(C<<24>>24){case 1:{i=d[k>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[k>>1]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=-1;g=a[k+((d[x>>0]|0)>>>3&255)>>0]|0;b=a[k+((d[u>>0]|0)>>>3&255)>>0]|0;i=a[k+((d[r>>0]|0)>>>3&255)>>0]|0;break}case 4:{i=c[k>>2]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;g=0;b=0;i=0}}H=f&255;K=c[(c[n>>2]|0)+4>>2]|0;f=d[j>>0]|0;I=d[K+(f<<2)>>0]|0;J=d[K+(f<<2)+1>>0]|0;f=d[K+(f<<2)+2>>0]|0;f=((((O((b&255)-J|0,H)|0)>>>0)/255|0)+J|0)>>>3&28|(((O((i&255)-I|0,H)|0)>>>0)/255|0)+I&224|((((O((g&255)-f|0,H)|0)>>>0)/255|0)+f|0)>>>6&3;if(o)f=f&255;else f=a[B+f>>0]|0;a[j>>0]=f;k=k+D|0;j=j+1|0;f=13;continue}else if((f|0)==13){switch(C<<24>>24){case 1:{i=d[k>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[k>>1]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=-1;g=a[k+((d[x>>0]|0)>>>3&255)>>0]|0;b=a[k+((d[u>>0]|0)>>>3&255)>>0]|0;i=a[k+((d[r>>0]|0)>>>3&255)>>0]|0;break}case 4:{i=c[k>>2]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;g=0;b=0;i=0}}K=f&255;H=c[(c[n>>2]|0)+4>>2]|0;f=d[j>>0]|0;J=d[H+(f<<2)>>0]|0;I=d[H+(f<<2)+1>>0]|0;f=d[H+(f<<2)+2>>0]|0;f=((((O((b&255)-I|0,K)|0)>>>0)/255|0)+I|0)>>>3&28|(((O((i&255)-J|0,K)|0)>>>0)/255|0)+J&224|((((O((g&255)-f|0,K)|0)>>>0)/255|0)+f|0)>>>6&3;if(o)f=f&255;else f=a[B+f>>0]|0;a[j>>0]=f;k=k+D|0;j=j+1|0;f=22;continue}else if((f|0)==22){switch(C<<24>>24){case 1:{i=d[k>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[k>>1]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=-1;g=a[k+((d[x>>0]|0)>>>3&255)>>0]|0;b=a[k+((d[u>>0]|0)>>>3&255)>>0]|0;i=a[k+((d[r>>0]|0)>>>3&255)>>0]|0;break}case 4:{i=c[k>>2]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;g=0;b=0;i=0}}K=f&255;H=c[(c[n>>2]|0)+4>>2]|0;f=d[j>>0]|0;J=d[H+(f<<2)>>0]|0;I=d[H+(f<<2)+1>>0]|0;f=d[H+(f<<2)+2>>0]|0;f=((((O((b&255)-I|0,K)|0)>>>0)/255|0)+I|0)>>>3&28|(((O((i&255)-J|0,K)|0)>>>0)/255|0)+J&224|((((O((g&255)-f|0,K)|0)>>>0)/255|0)+f|0)>>>6&3;if(o)f=f&255;else f=a[B+f>>0]|0;a[j>>0]=f;k=k+D|0;j=j+1|0;f=31;continue}else if((f|0)==31){switch(C<<24>>24){case 1:{i=d[k>>0]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 2:{i=e[k>>1]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}case 3:{f=-1;g=a[k+((d[x>>0]|0)>>>3&255)>>0]|0;b=a[k+((d[u>>0]|0)>>>3&255)>>0]|0;i=a[k+((d[r>>0]|0)>>>3&255)>>0]|0;break}case 4:{i=c[k>>2]|0;f=a[(c[18232+((d[y>>0]|0)<<2)>>2]|0)+((c[z>>2]&i)>>>(d[m>>0]|0))>>0]|0;g=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[w>>2]&i)>>>(d[x>>0]|0))>>0]|0;b=a[(c[18232+((d[s>>0]|0)<<2)>>2]|0)+((c[t>>2]&i)>>>(d[u>>0]|0))>>0]|0;i=a[(c[18232+((d[p>>0]|0)<<2)>>2]|0)+((c[q>>2]&i)>>>(d[r>>0]|0))>>0]|0;break}default:{f=0;g=0;b=0;i=0}}K=f&255;H=c[(c[n>>2]|0)+4>>2]|0;f=d[j>>0]|0;J=d[H+(f<<2)>>0]|0;I=d[H+(f<<2)+1>>0]|0;f=d[H+(f<<2)+2>>0]|0;f=((((O((b&255)-I|0,K)|0)>>>0)/255|0)+I|0)>>>3&28|(((O((i&255)-J|0,K)|0)>>>0)/255|0)+J&224|((((O((g&255)-f|0,K)|0)>>>0)/255|0)+f|0)>>>6&3;if(o)f=f&255;else f=a[B+f>>0]|0;a[j>>0]=f;g=j+1|0;f=k+D|0;if((l|0)>1){l=l+-1|0;k=f;j=g;f=4;continue}else break}if(!h){f=42;break}else{f=f+F|0;j=g+G|0}}if((f|0)!=40)if((f|0)==42)return}function yH(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;b=c[a+24>>2]|0;d=c[a+28>>2]|0;l=c[a+16>>2]>>2;j=c[a+36>>2]>>2;if(!d)return;k=(b+3|0)/4|0;i=b&255;b=c[a>>2]|0;a=c[a+20>>2]|0;a:while(1){d=d+-1|0;switch(i&3){case 0:{g=k;f=b;h=4;break}case 3:{g=k;f=b;h=8;break}case 2:{g=k;f=b;h=12;break}case 1:{g=k;f=b;e=a;h=16;break}default:{h=20;break a}}while(1)if((h|0)==4){h=0;b=c[f>>2]|0;e=b>>>24;switch((e&255)<<24>>24){case 0:break;case -1:{h=6;break}default:{m=c[a>>2]|0;h=m&16711935;n=m&65280;b=((O((b&65280)-n|0,e)|0)>>>8)+n&65280|((O(m>>>24,e^255)|0)>>>8)+e<<24|((O((b&16711935)-h|0,e)|0)>>>8)+h&16711935;h=6}}if((h|0)==6)c[a>>2]=b;f=f+4|0;a=a+4|0;h=8;continue}else if((h|0)==8){h=0;b=c[f>>2]|0;e=b>>>24;switch((e&255)<<24>>24){case 0:break;case -1:{h=10;break}default:{n=c[a>>2]|0;h=n&16711935;m=n&65280;b=((O((b&65280)-m|0,e)|0)>>>8)+m&65280|((O(n>>>24,e^255)|0)>>>8)+e<<24|((O((b&16711935)-h|0,e)|0)>>>8)+h&16711935;h=10}}if((h|0)==10)c[a>>2]=b;f=f+4|0;a=a+4|0;h=12;continue}else if((h|0)==12){h=0;b=c[f>>2]|0;e=b>>>24;switch((e&255)<<24>>24){case 0:break;case -1:{h=14;break}default:{n=c[a>>2]|0;h=n&16711935;m=n&65280;b=((O((b&65280)-m|0,e)|0)>>>8)+m&65280|((O(n>>>24,e^255)|0)>>>8)+e<<24|((O((b&16711935)-h|0,e)|0)>>>8)+h&16711935;h=14}}if((h|0)==14)c[a>>2]=b;f=f+4|0;e=a+4|0;h=16;continue}else if((h|0)==16){h=0;b=c[f>>2]|0;a=b>>>24;switch((a&255)<<24>>24){case 0:break;case -1:{h=18;break}default:{n=c[e>>2]|0;h=n&16711935;m=n&65280;b=((O((b&65280)-m|0,a)|0)>>>8)+m&65280|((O(n>>>24,a^255)|0)>>>8)+a<<24|((O((b&16711935)-h|0,a)|0)>>>8)+h&16711935;h=18}}if((h|0)==18)c[e>>2]=b;b=f+4|0;a=e+4|0;if((g|0)>1){g=g+-1|0;f=b;h=4;continue}else break}if(!d){h=22;break}else{b=b+(l<<2)|0;a=a+(j<<2)|0}}if((h|0)!=20)if((h|0)==22)return}function zH(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;f=c[b+24>>2]|0;h=c[b+28>>2]|0;E=c[b+16>>2]|0;F=c[b+36>>2]|0;z=c[b+48>>2]|0;g=c[b+40>>2]|0;A=a[g+9>>0]|0;B=A&255;C=d[b+63>>0]|0;if(!h)return;D=(f+3|0)/4|0;y=f&255;o=(c[b+44>>2]|0)+4|0;p=(z|0)==0;q=g+28|0;r=g+12|0;s=g+32|0;t=g+29|0;u=g+16|0;v=g+33|0;w=g+30|0;x=g+20|0;n=g+34|0;f=c[b>>2]|0;g=c[b+20>>2]|0;a:while(1){h=h+-1|0;switch(y&3){case 0:{l=D;k=f;m=4;break}case 3:{l=D;k=f;m=14;break}case 2:{l=D;k=f;m=24;break}case 1:{l=D;k=f;m=34;break}default:{m=44;break a}}while(1)if((m|0)==4){m=0;switch(A<<24>>24){case 1:{f=d[k>>0]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=9;break}case 2:{f=e[k>>1]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=9;break}case 3:{b=k+((d[v>>0]|0)>>>3&255)|0;j=k+((d[s>>0]|0)>>>3&255)|0;f=k+((d[n>>0]|0)>>>3&255)|0;m=9;break}case 4:{f=c[k>>2]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=9;break}default:{i=0;b=0;f=0}}if((m|0)==9){i=a[f>>0]|0;b=a[b>>0]|0;f=a[j>>0]|0}H=c[(c[o>>2]|0)+4>>2]|0;m=d[g>>0]|0;j=d[H+(m<<2)>>0]|0;G=d[H+(m<<2)+1>>0]|0;m=d[H+(m<<2)+2>>0]|0;f=((((O((b&255)-G|0,C)|0)>>>0)/255|0)+G|0)>>>3&28|(((O((f&255)-j|0,C)|0)>>>0)/255|0)+j&224|((((O((i&255)-m|0,C)|0)>>>0)/255|0)+m|0)>>>6&3;if(p)f=f&255;else f=a[z+f>>0]|0;a[g>>0]=f;k=k+B|0;g=g+1|0;m=14;continue}else if((m|0)==14){m=0;switch(A<<24>>24){case 1:{f=d[k>>0]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=19;break}case 2:{f=e[k>>1]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=19;break}case 3:{b=k+((d[v>>0]|0)>>>3&255)|0;j=k+((d[s>>0]|0)>>>3&255)|0;f=k+((d[n>>0]|0)>>>3&255)|0;m=19;break}case 4:{f=c[k>>2]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=19;break}default:{i=0;b=0;f=0}}if((m|0)==19){i=a[f>>0]|0;b=a[b>>0]|0;f=a[j>>0]|0}j=c[(c[o>>2]|0)+4>>2]|0;H=d[g>>0]|0;G=d[j+(H<<2)>>0]|0;m=d[j+(H<<2)+1>>0]|0;H=d[j+(H<<2)+2>>0]|0;f=((((O((b&255)-m|0,C)|0)>>>0)/255|0)+m|0)>>>3&28|(((O((f&255)-G|0,C)|0)>>>0)/255|0)+G&224|((((O((i&255)-H|0,C)|0)>>>0)/255|0)+H|0)>>>6&3;if(p)f=f&255;else f=a[z+f>>0]|0;a[g>>0]=f;k=k+B|0;g=g+1|0;m=24;continue}else if((m|0)==24){m=0;switch(A<<24>>24){case 1:{f=d[k>>0]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=29;break}case 2:{f=e[k>>1]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=29;break}case 3:{b=k+((d[v>>0]|0)>>>3&255)|0;j=k+((d[s>>0]|0)>>>3&255)|0;f=k+((d[n>>0]|0)>>>3&255)|0;m=29;break}case 4:{f=c[k>>2]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=29;break}default:{i=0;b=0;f=0}}if((m|0)==29){i=a[f>>0]|0;b=a[b>>0]|0;f=a[j>>0]|0}j=c[(c[o>>2]|0)+4>>2]|0;H=d[g>>0]|0;G=d[j+(H<<2)>>0]|0;m=d[j+(H<<2)+1>>0]|0;H=d[j+(H<<2)+2>>0]|0;f=((((O((b&255)-m|0,C)|0)>>>0)/255|0)+m|0)>>>3&28|(((O((f&255)-G|0,C)|0)>>>0)/255|0)+G&224|((((O((i&255)-H|0,C)|0)>>>0)/255|0)+H|0)>>>6&3;if(p)f=f&255;else f=a[z+f>>0]|0;a[g>>0]=f;k=k+B|0;g=g+1|0;m=34;continue}else if((m|0)==34){m=0;switch(A<<24>>24){case 1:{f=d[k>>0]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=39;break}case 2:{f=e[k>>1]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=39;break}case 3:{b=k+((d[v>>0]|0)>>>3&255)|0;j=k+((d[s>>0]|0)>>>3&255)|0;f=k+((d[n>>0]|0)>>>3&255)|0;m=39;break}case 4:{f=c[k>>2]|0;b=(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[u>>2]&f)>>>(d[v>>0]|0))|0;j=(c[18232+((d[q>>0]|0)<<2)>>2]|0)+((c[r>>2]&f)>>>(d[s>>0]|0))|0;f=(c[18232+((d[w>>0]|0)<<2)>>2]|0)+((c[x>>2]&f)>>>(d[n>>0]|0))|0;m=39;break}default:{i=0;b=0;f=0}}if((m|0)==39){i=a[f>>0]|0;b=a[b>>0]|0;f=a[j>>0]|0}j=c[(c[o>>2]|0)+4>>2]|0;H=d[g>>0]|0;G=d[j+(H<<2)>>0]|0;m=d[j+(H<<2)+1>>0]|0;H=d[j+(H<<2)+2>>0]|0;f=((((O((b&255)-m|0,C)|0)>>>0)/255|0)+m|0)>>>3&28|(((O((f&255)-G|0,C)|0)>>>0)/255|0)+G&224|((((O((i&255)-H|0,C)|0)>>>0)/255|0)+H|0)>>>6&3;if(p)f=f&255;else f=a[z+f>>0]|0;a[g>>0]=f;g=g+1|0;f=k+B|0;if((l|0)>1){l=l+-1|0;k=f;m=4;continue}else break}if(!h){m=46;break}else{f=f+E|0;g=g+F|0}}if((m|0)!=44)if((m|0)==46)return}function AH(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;v=a[b+63>>0]|0;w=v&255;u=c[b+24>>2]|0;i=c[b+28>>2]|0;d=c[b>>2]|0;H=c[b+16>>2]>>2;e=c[b+20>>2]|0;G=c[b+36>>2]>>2;f=i+-1|0;i=(i|0)==0;if(v<<24>>24!=-128){if(i)return;v=(u+3|0)/4|0;k=u&255;if(!(k&3)){while(1){b=v;while(1){E=c[d>>2]|0;D=c[e>>2]|0;F=D&16711935;D=D&65280;c[e>>2]=((O((E&65280)-D|0,w)|0)>>>8)+D&65280|((O((E&16711935)-F|0,w)|0)>>>8)+F&16711935|-16777216;F=e+4|0;E=c[d+4>>2]|0;D=c[F>>2]|0;C=D&16711935;D=D&65280;c[F>>2]=((O((E&65280)-D|0,w)|0)>>>8)+D&65280|((O((E&16711935)-C|0,w)|0)>>>8)+C&16711935|-16777216;F=e+8|0;C=c[d+8>>2]|0;E=c[F>>2]|0;D=E&16711935;E=E&65280;c[F>>2]=((O((C&65280)-E|0,w)|0)>>>8)+E&65280|((O((C&16711935)-D|0,w)|0)>>>8)+D&16711935|-16777216;F=e+12|0;D=c[d+12>>2]|0;C=c[F>>2]|0;E=C&16711935;C=C&65280;c[F>>2]=((O((D&65280)-C|0,w)|0)>>>8)+C&65280|((O((D&16711935)-E|0,w)|0)>>>8)+E&16711935|-16777216;d=d+16|0;e=e+16|0;if((b|0)<=1)break;else b=b+-1|0}if(!f)break;else{e=e+(G<<2)|0;d=d+(H<<2)|0;f=f+-1|0}}return}else{g=e;b=d;j=f}a:while(1){switch(k&3){case 1:{p=v;s=g;t=b;b=27;break}case 3:{l=v;n=g;o=b;b=25;break}case 2:{m=v;q=g;r=b;b=26;break}default:{b=28;break a}}while(1)if((b|0)==25){q=c[o>>2]|0;r=c[n>>2]|0;m=r&16711935;r=r&65280;c[n>>2]=((O((q&65280)-r|0,w)|0)>>>8)+r&65280|((O((q&16711935)-m|0,w)|0)>>>8)+m&16711935|-16777216;m=l;q=n+4|0;r=o+4|0;b=26;continue}else if((b|0)==26){s=c[r>>2]|0;t=c[q>>2]|0;p=t&16711935;t=t&65280;c[q>>2]=((O((s&65280)-t|0,w)|0)>>>8)+t&65280|((O((s&16711935)-p|0,w)|0)>>>8)+p&16711935|-16777216;p=m;s=q+4|0;t=r+4|0;b=27;continue}else if((b|0)==27){b=c[t>>2]|0;g=c[s>>2]|0;h=g&16711935;g=g&65280;c[s>>2]=((O((b&65280)-g|0,w)|0)>>>8)+g&65280|((O((b&16711935)-h|0,w)|0)>>>8)+h&16711935|-16777216;h=t+4|0;b=s+4|0;if((p|0)<=1)break;n=c[h>>2]|0;o=c[b>>2]|0;l=o&16711935;o=o&65280;c[b>>2]=((O((n&65280)-o|0,w)|0)>>>8)+o&65280|((O((n&16711935)-l|0,w)|0)>>>8)+l&16711935|-16777216;l=p+-1|0;n=s+8|0;o=t+8|0;b=25;continue}if(!j){b=30;break}else{g=b+(G<<2)|0;b=h+(H<<2)|0;j=j+-1|0}}if((b|0)!=28)if((b|0)==30)return}if(i)return;b=u+3|0;j=(b|0)/4|0;g=u&255;switch(g&3){case 0:{while(1){b=j;while(1){E=c[d>>2]|0;F=c[e>>2]|0;C=e+4|0;c[e>>2]=(((F&16711422)+(E&16711422)|0)>>>1)+(E&65793&F)|-16777216;F=c[d+4>>2]|0;E=c[C>>2]|0;D=e+8|0;c[C>>2]=(((E&16711422)+(F&16711422)|0)>>>1)+(F&65793&E)|-16777216;C=c[d+8>>2]|0;E=c[D>>2]|0;F=e+12|0;c[D>>2]=(((E&16711422)+(C&16711422)|0)>>>1)+(C&65793&E)|-16777216;D=d;d=d+16|0;D=c[D+12>>2]|0;E=c[F>>2]|0;e=e+16|0;c[F>>2]=(((E&16711422)+(D&16711422)|0)>>>1)+(D&65793&E)|-16777216;if((b|0)<=1)break;else b=b+-1|0}if(!f)break;else{d=d+(H<<2)|0;e=e+(G<<2)|0;f=f+-1|0}}return}case 1:{i=(b|0)>7;g=d;while(1){d=g+4|0;E=c[g>>2]|0;F=c[e>>2]|0;b=e+4|0;c[e>>2]=(((F&16711422)+(E&16711422)|0)>>>1)+(E&65793&F)|-16777216;if(i){h=j;do{h=h+-1|0;D=c[d>>2]|0;F=c[b>>2]|0;d=e+8|0;c[b>>2]=(((F&16711422)+(D&16711422)|0)>>>1)+(D&65793&F)|-16777216;F=c[g+8>>2]|0;D=c[d>>2]|0;E=e+12|0;c[d>>2]=(((D&16711422)+(F&16711422)|0)>>>1)+(F&65793&D)|-16777216;d=g;g=g+16|0;D=c[d+12>>2]|0;F=c[E>>2]|0;b=e;e=e+16|0;c[E>>2]=(((F&16711422)+(D&16711422)|0)>>>1)+(D&65793&F)|-16777216;d=d+20|0;E=c[g>>2]|0;F=c[e>>2]|0;b=b+20|0;c[e>>2]=(((F&16711422)+(E&16711422)|0)>>>1)+(E&65793&F)|-16777216}while((h|0)>1);e=b}else e=b;if(!f)break;else{g=d+(H<<2)|0;e=e+(G<<2)|0;f=f+-1|0}}return}default:{b:while(1){switch(g&3){case 1:{D=j;E=d;F=e;b=20;break}case 3:{x=j;y=d;z=e;b=18;break}case 2:{A=j;B=d;C=e;b=19;break}default:{b=21;break b}}while(1)if((b|0)==18){B=c[y>>2]|0;A=c[z>>2]|0;c[z>>2]=(((A&16711422)+(B&16711422)|0)>>>1)+(B&65793&A)|-16777216;A=x;B=y+4|0;C=z+4|0;b=19;continue}else if((b|0)==19){E=c[B>>2]|0;D=c[C>>2]|0;c[C>>2]=(((D&16711422)+(E&16711422)|0)>>>1)+(E&65793&D)|-16777216;D=A;E=B+4|0;F=C+4|0;b=20;continue}else if((b|0)==20){d=E+4|0;v=c[E>>2]|0;w=c[F>>2]|0;e=F+4|0;c[F>>2]=(((w&16711422)+(v&16711422)|0)>>>1)+(v&65793&w)|-16777216;if((D|0)<=1)break;y=c[d>>2]|0;x=c[e>>2]|0;c[e>>2]=(((x&16711422)+(y&16711422)|0)>>>1)+(y&65793&x)|-16777216;x=D+-1|0;y=E+8|0;z=F+8|0;b=18;continue}if(!f){b=30;break}else{d=d+(H<<2)|0;e=e+(G<<2)|0;f=f+-1|0}}if((b|0)!=21)if((b|0)==30)return}}}function BH(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,r=0,s=0,t=0,u=0,v=0,w=0;t=c[a+24>>2]|0;f=c[a+28>>2]|0;u=c[a+16>>2]>>1;l=c[a+36>>2]>>1;if(!f)return;m=~d;n=t+-1|0;o=d&65535;p=o<<16|o;q=~p;r=u+-1|0;s=o^65535;h=c[a>>2]|0;e=c[a+20>>2]|0;while(1){f=f+-1|0;a=h;g=e;if(!((a^g)&2)){if(!(a&2)){g=t;a=h}else{a=b[e>>1]|0;g=b[h>>1]|0;b[e>>1]=(((g&d&65535)+(a&d&65535)|0)>>>1)+(a&m&g&65535);g=n;a=h+2|0;e=e+2|0}if((g|0)>1){i=g+-2|0;j=e+4|0;h=a;while(1){v=c[h>>2]|0;k=c[e>>2]|0;c[e>>2]=((k&p)>>>1)+((v&p)>>>1)+(v&q&k);g=g+-2|0;if((g|0)<=1)break;else{e=e+4|0;h=h+4|0}}e=i&-2;g=i-e|0;a=a+4+(e<<1)|0;e=j+(e<<1)|0}if(g){k=b[e>>1]|0;v=b[a>>1]|0;b[e>>1]=(((v&d&65535)+(k&d&65535)|0)>>>1)+(k&m&v&65535);a=a+2|0;e=e+2|0}a=a+(u<<1)|0}else{if(!(g&2)){i=t;g=h}else{g=b[e>>1]|0;i=b[h>>1]|0;b[e>>1]=(((i&d&65535)+(g&d&65535)|0)>>>1)+(g&m&i&65535);i=n;g=h+2|0;e=e+2|0}a=g+2|0;h=c[g+-2>>2]|0;if((i|0)>1){j=i+-2|0;k=g+6|0;g=i;i=e;while(1){v=h;h=c[a>>2]|0;w=c[i>>2]|0;v=h<<16|v>>>16;c[i>>2]=((v&p)>>>1)+((w&p)>>>1)+(w&q&v);g=g+-2|0;if((g|0)<=1)break;else{i=i+4|0;a=a+4|0}}w=j&-2;g=j-w|0;a=k+(w<<1)|0;e=e+4+(w<<1)|0}else g=i;if(g){w=b[e>>1]|0;v=h>>>16;b[e>>1]=(((w&d&65535)+(v&o)|0)>>>1)+(v&s&(w&65535));a=a+2|0;e=e+2|0}a=a+(r<<1)|0}if(!f)break;else{h=a;e=e+(l<<1)|0}}return}function CH(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;g=c[f+24>>2]|0;i=c[f+28>>2]|0;I=c[f+16>>2]|0;J=c[f+36>>2]|0;h=c[f+44>>2]|0;D=c[(c[(c[f+40>>2]|0)+4>>2]|0)+4>>2]|0;E=d[f+63>>0]|0;F=a[h+9>>0]|0;G=F&255;if(!i)return;H=(g+3|0)/4|0;C=g&255;r=h+28|0;s=h+32|0;t=h+29|0;u=h+33|0;v=h+30|0;w=h+34|0;x=h+31|0;y=h+35|0;z=h+12|0;A=h+16|0;B=h+20|0;q=h+24|0;g=c[f>>2]|0;h=c[f+20>>2]|0;a:while(1){i=i+-1|0;switch(C&3){case 0:{p=H;f=4;break}case 3:{p=H;f=15;break}case 2:{p=H;f=26;break}case 1:{p=H;f=37;break}default:{f=48;break a}}while(1)if((f|0)==4){o=d[g>>0]|0;m=d[D+(o<<2)>>0]|0;n=d[D+(o<<2)+1>>0]|0;o=d[D+(o<<2)+2>>0]|0;switch(F<<24>>24){case 1:{l=d[h>>0]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=a[h+((d[s>>0]|0)>>>3&255)>>0]|0;j=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;j=0;k=0;l=0}}L=f&255;K=j&255;f=k&255;j=l&255;l=(((O(m-L|0,E)|0)>>>0)/255|0)+L|0;k=(((O(n-K|0,E)|0)>>>0)/255|0)+K|0;f=(((O(o-f|0,E)|0)>>>0)/255|0)+f|0;j=j+E-(((O(j,E)|0)>>>0)/255|0)|0;switch(F<<24>>24){case 1:{a[h>>0]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}case 2:{b[h>>1]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=l;a[h+((d[u>>0]|0)>>>3&255)>>0]=k;a[h+((d[w>>0]|0)>>>3&255)>>0]=f;break}case 4:{c[h>>2]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}default:{}}g=g+1|0;h=h+G|0;f=15;continue}else if((f|0)==15){o=d[g>>0]|0;m=d[D+(o<<2)>>0]|0;n=d[D+(o<<2)+1>>0]|0;o=d[D+(o<<2)+2>>0]|0;switch(F<<24>>24){case 1:{l=d[h>>0]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=a[h+((d[s>>0]|0)>>>3&255)>>0]|0;j=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;j=0;k=0;l=0}}K=f&255;L=j&255;f=k&255;j=l&255;l=(((O(m-K|0,E)|0)>>>0)/255|0)+K|0;k=(((O(n-L|0,E)|0)>>>0)/255|0)+L|0;f=(((O(o-f|0,E)|0)>>>0)/255|0)+f|0;j=j+E-(((O(j,E)|0)>>>0)/255|0)|0;switch(F<<24>>24){case 1:{a[h>>0]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}case 2:{b[h>>1]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=l;a[h+((d[u>>0]|0)>>>3&255)>>0]=k;a[h+((d[w>>0]|0)>>>3&255)>>0]=f;break}case 4:{c[h>>2]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}default:{}}g=g+1|0;h=h+G|0;f=26;continue}else if((f|0)==26){o=d[g>>0]|0;m=d[D+(o<<2)>>0]|0;n=d[D+(o<<2)+1>>0]|0;o=d[D+(o<<2)+2>>0]|0;switch(F<<24>>24){case 1:{l=d[h>>0]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=a[h+((d[s>>0]|0)>>>3&255)>>0]|0;j=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;j=0;k=0;l=0}}K=f&255;L=j&255;f=k&255;j=l&255;l=(((O(m-K|0,E)|0)>>>0)/255|0)+K|0;k=(((O(n-L|0,E)|0)>>>0)/255|0)+L|0;f=(((O(o-f|0,E)|0)>>>0)/255|0)+f|0;j=j+E-(((O(j,E)|0)>>>0)/255|0)|0;switch(F<<24>>24){case 1:{a[h>>0]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}case 2:{b[h>>1]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=l;a[h+((d[u>>0]|0)>>>3&255)>>0]=k;a[h+((d[w>>0]|0)>>>3&255)>>0]=f;break}case 4:{c[h>>2]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}default:{}}g=g+1|0;h=h+G|0;f=37;continue}else if((f|0)==37){o=d[g>>0]|0;m=d[D+(o<<2)>>0]|0;n=d[D+(o<<2)+1>>0]|0;o=d[D+(o<<2)+2>>0]|0;switch(F<<24>>24){case 1:{l=d[h>>0]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=a[h+((d[s>>0]|0)>>>3&255)>>0]|0;j=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;j=0;k=0;l=0}}K=f&255;L=j&255;f=k&255;j=l&255;l=(((O(m-K|0,E)|0)>>>0)/255|0)+K|0;k=(((O(n-L|0,E)|0)>>>0)/255|0)+L|0;f=(((O(o-f|0,E)|0)>>>0)/255|0)+f|0;j=j+E-(((O(j,E)|0)>>>0)/255|0)|0;switch(F<<24>>24){case 1:{a[h>>0]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}case 2:{b[h>>1]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=l;a[h+((d[u>>0]|0)>>>3&255)>>0]=k;a[h+((d[w>>0]|0)>>>3&255)>>0]=f;break}case 4:{c[h>>2]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break}default:{}}g=g+1|0;h=h+G|0;if((p|0)>1){p=p+-1|0;f=4;continue}else break}if(!i){f=50;break}else{g=g+I|0;h=h+J|0}}if((f|0)!=48)if((f|0)==50)return}function DH(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;g=c[f+24>>2]|0;i=c[f+28>>2]|0;J=c[f+16>>2]|0;K=c[f+36>>2]|0;h=c[f+44>>2]|0;D=c[(c[(c[f+40>>2]|0)+4>>2]|0)+4>>2]|0;E=c[f+56>>2]|0;F=d[f+63>>0]|0;G=a[h+9>>0]|0;H=G&255;if(!i)return;I=(g+7|0)/8|0;C=g&255;r=h+28|0;s=h+32|0;t=h+29|0;u=h+33|0;v=h+30|0;w=h+34|0;x=h+31|0;y=h+35|0;z=h+12|0;A=h+16|0;B=h+20|0;q=h+24|0;g=c[f>>2]|0;h=c[f+20>>2]|0;a:while(1){i=i+-1|0;switch(C&7){case 0:{p=I;f=4;break}case 7:{p=I;f=16;break}case 6:{p=I;f=28;break}case 5:{p=I;f=40;break}case 4:{p=I;o=h;f=52;break}case 3:{p=I;o=h;f=64;break}case 2:{p=I;o=h;f=76;break}case 1:{p=I;o=h;f=88;break}default:{f=100;break a}}while(1)if((f|0)==4){f=d[g>>0]|0;b:do if((f|0)!=(E|0)){m=d[D+(f<<2)>>0]|0;n=d[D+(f<<2)+1>>0]|0;o=d[D+(f<<2)+2>>0]|0;switch(G<<24>>24){case 1:{l=d[h>>0]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=a[h+((d[s>>0]|0)>>>3&255)>>0]|0;j=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;j=0;k=0;l=0}}M=f&255;L=j&255;f=k&255;j=l&255;l=(((O(m-M|0,F)|0)>>>0)/255|0)+M|0;k=(((O(n-L|0,F)|0)>>>0)/255|0)+L|0;f=(((O(o-f|0,F)|0)>>>0)/255|0)+f|0;j=j+F-(((O(j,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{a[h>>0]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break b}case 2:{b[h>>1]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break b}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=l;a[h+((d[u>>0]|0)>>>3&255)>>0]=k;a[h+((d[w>>0]|0)>>>3&255)>>0]=f;break b}case 4:{c[h>>2]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break b}default:break b}}while(0);g=g+1|0;h=h+H|0;f=16;continue}else if((f|0)==16){f=d[g>>0]|0;c:do if((f|0)!=(E|0)){m=d[D+(f<<2)>>0]|0;n=d[D+(f<<2)+1>>0]|0;o=d[D+(f<<2)+2>>0]|0;switch(G<<24>>24){case 1:{l=d[h>>0]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=a[h+((d[s>>0]|0)>>>3&255)>>0]|0;j=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;j=0;k=0;l=0}}L=f&255;M=j&255;f=k&255;j=l&255;l=(((O(m-L|0,F)|0)>>>0)/255|0)+L|0;k=(((O(n-M|0,F)|0)>>>0)/255|0)+M|0;f=(((O(o-f|0,F)|0)>>>0)/255|0)+f|0;j=j+F-(((O(j,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{a[h>>0]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break c}case 2:{b[h>>1]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break c}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=l;a[h+((d[u>>0]|0)>>>3&255)>>0]=k;a[h+((d[w>>0]|0)>>>3&255)>>0]=f;break c}case 4:{c[h>>2]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break c}default:break c}}while(0);g=g+1|0;h=h+H|0;f=28;continue}else if((f|0)==28){f=d[g>>0]|0;d:do if((f|0)!=(E|0)){m=d[D+(f<<2)>>0]|0;n=d[D+(f<<2)+1>>0]|0;o=d[D+(f<<2)+2>>0]|0;switch(G<<24>>24){case 1:{l=d[h>>0]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=a[h+((d[s>>0]|0)>>>3&255)>>0]|0;j=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;j=0;k=0;l=0}}L=f&255;M=j&255;f=k&255;j=l&255;l=(((O(m-L|0,F)|0)>>>0)/255|0)+L|0;k=(((O(n-M|0,F)|0)>>>0)/255|0)+M|0;f=(((O(o-f|0,F)|0)>>>0)/255|0)+f|0;j=j+F-(((O(j,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{a[h>>0]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break d}case 2:{b[h>>1]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break d}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=l;a[h+((d[u>>0]|0)>>>3&255)>>0]=k;a[h+((d[w>>0]|0)>>>3&255)>>0]=f;break d}case 4:{c[h>>2]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break d}default:break d}}while(0);g=g+1|0;h=h+H|0;f=40;continue}else if((f|0)==40){f=d[g>>0]|0;e:do if((f|0)!=(E|0)){m=d[D+(f<<2)>>0]|0;n=d[D+(f<<2)+1>>0]|0;o=d[D+(f<<2)+2>>0]|0;switch(G<<24>>24){case 1:{l=d[h>>0]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 2:{l=e[h>>1]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}case 3:{f=a[h+((d[s>>0]|0)>>>3&255)>>0]|0;j=a[h+((d[u>>0]|0)>>>3&255)>>0]|0;k=a[h+((d[w>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=c[h>>2]|0;f=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&l)>>>(d[s>>0]|0))>>0]|0;j=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&l)>>>(d[u>>0]|0))>>0]|0;k=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&l)>>>(d[w>>0]|0))>>0]|0;l=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&l)>>>(d[y>>0]|0))>>0]|0;break}default:{f=0;j=0;k=0;l=0}}L=f&255;M=j&255;f=k&255;j=l&255;l=(((O(m-L|0,F)|0)>>>0)/255|0)+L|0;k=(((O(n-M|0,F)|0)>>>0)/255|0)+M|0;f=(((O(o-f|0,F)|0)>>>0)/255|0)+f|0;j=j+F-(((O(j,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{a[h>>0]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break e}case 2:{b[h>>1]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break e}case 3:{a[h+((d[s>>0]|0)>>>3&255)>>0]=l;a[h+((d[u>>0]|0)>>>3&255)>>0]=k;a[h+((d[w>>0]|0)>>>3&255)>>0]=f;break e}case 4:{c[h>>2]=k>>>(d[t>>0]|0)<<(d[u>>0]|0)|l>>>(d[r>>0]|0)<<(d[s>>0]|0)|f>>>(d[v>>0]|0)<<(d[w>>0]|0)|j>>>(d[x>>0]|0)<<(d[y>>0]|0);break e}default:break e}}while(0);g=g+1|0;o=h+H|0;f=52;continue}else if((f|0)==52){h=d[g>>0]|0;f:do if((h|0)!=(E|0)){l=d[D+(h<<2)>>0]|0;m=d[D+(h<<2)+1>>0]|0;n=d[D+(h<<2)+2>>0]|0;switch(G<<24>>24){case 1:{k=d[o>>0]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}case 2:{k=e[o>>1]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}case 3:{h=a[o+((d[s>>0]|0)>>>3&255)>>0]|0;f=a[o+((d[u>>0]|0)>>>3&255)>>0]|0;j=a[o+((d[w>>0]|0)>>>3&255)>>0]|0;k=-1;break}case 4:{k=c[o>>2]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}default:{h=0;f=0;j=0;k=0}}L=h&255;M=f&255;h=j&255;f=k&255;k=(((O(l-L|0,F)|0)>>>0)/255|0)+L|0;j=(((O(m-M|0,F)|0)>>>0)/255|0)+M|0;h=(((O(n-h|0,F)|0)>>>0)/255|0)+h|0;f=f+F-(((O(f,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{a[o>>0]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break f}case 2:{b[o>>1]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break f}case 3:{a[o+((d[s>>0]|0)>>>3&255)>>0]=k;a[o+((d[u>>0]|0)>>>3&255)>>0]=j;a[o+((d[w>>0]|0)>>>3&255)>>0]=h;break f}case 4:{c[o>>2]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break f}default:break f}}while(0);g=g+1|0;o=o+H|0;f=64;continue}else if((f|0)==64){h=d[g>>0]|0;g:do if((h|0)!=(E|0)){l=d[D+(h<<2)>>0]|0;m=d[D+(h<<2)+1>>0]|0;n=d[D+(h<<2)+2>>0]|0;switch(G<<24>>24){case 1:{k=d[o>>0]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}case 2:{k=e[o>>1]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}case 3:{h=a[o+((d[s>>0]|0)>>>3&255)>>0]|0;f=a[o+((d[u>>0]|0)>>>3&255)>>0]|0;j=a[o+((d[w>>0]|0)>>>3&255)>>0]|0;k=-1;break}case 4:{k=c[o>>2]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}default:{h=0;f=0;j=0;k=0}}L=h&255;M=f&255;h=j&255;f=k&255;k=(((O(l-L|0,F)|0)>>>0)/255|0)+L|0;j=(((O(m-M|0,F)|0)>>>0)/255|0)+M|0;h=(((O(n-h|0,F)|0)>>>0)/255|0)+h|0;f=f+F-(((O(f,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{a[o>>0]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break g}case 2:{b[o>>1]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break g}case 3:{a[o+((d[s>>0]|0)>>>3&255)>>0]=k;a[o+((d[u>>0]|0)>>>3&255)>>0]=j;a[o+((d[w>>0]|0)>>>3&255)>>0]=h;break g}case 4:{c[o>>2]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break g}default:break g}}while(0);g=g+1|0;o=o+H|0;f=76;continue}else if((f|0)==76){h=d[g>>0]|0;h:do if((h|0)!=(E|0)){l=d[D+(h<<2)>>0]|0;m=d[D+(h<<2)+1>>0]|0;n=d[D+(h<<2)+2>>0]|0;switch(G<<24>>24){case 1:{k=d[o>>0]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}case 2:{k=e[o>>1]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}case 3:{h=a[o+((d[s>>0]|0)>>>3&255)>>0]|0;f=a[o+((d[u>>0]|0)>>>3&255)>>0]|0;j=a[o+((d[w>>0]|0)>>>3&255)>>0]|0;k=-1;break}case 4:{k=c[o>>2]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}default:{h=0;f=0;j=0;k=0}}L=h&255;M=f&255;h=j&255;f=k&255;k=(((O(l-L|0,F)|0)>>>0)/255|0)+L|0;j=(((O(m-M|0,F)|0)>>>0)/255|0)+M|0;h=(((O(n-h|0,F)|0)>>>0)/255|0)+h|0;f=f+F-(((O(f,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{a[o>>0]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break h}case 2:{b[o>>1]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break h}case 3:{a[o+((d[s>>0]|0)>>>3&255)>>0]=k;a[o+((d[u>>0]|0)>>>3&255)>>0]=j;a[o+((d[w>>0]|0)>>>3&255)>>0]=h;break h}case 4:{c[o>>2]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break h}default:break h}}while(0);g=g+1|0;o=o+H|0;f=88;continue}else if((f|0)==88){h=d[g>>0]|0;i:do if((h|0)!=(E|0)){l=d[D+(h<<2)>>0]|0;m=d[D+(h<<2)+1>>0]|0;n=d[D+(h<<2)+2>>0]|0;switch(G<<24>>24){case 1:{k=d[o>>0]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}case 2:{k=e[o>>1]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}case 3:{h=a[o+((d[s>>0]|0)>>>3&255)>>0]|0;f=a[o+((d[u>>0]|0)>>>3&255)>>0]|0;j=a[o+((d[w>>0]|0)>>>3&255)>>0]|0;k=-1;break}case 4:{k=c[o>>2]|0;h=a[(c[18232+((d[r>>0]|0)<<2)>>2]|0)+((c[z>>2]&k)>>>(d[s>>0]|0))>>0]|0;f=a[(c[18232+((d[t>>0]|0)<<2)>>2]|0)+((c[A>>2]&k)>>>(d[u>>0]|0))>>0]|0;j=a[(c[18232+((d[v>>0]|0)<<2)>>2]|0)+((c[B>>2]&k)>>>(d[w>>0]|0))>>0]|0;k=a[(c[18232+((d[x>>0]|0)<<2)>>2]|0)+((c[q>>2]&k)>>>(d[y>>0]|0))>>0]|0;break}default:{h=0;f=0;j=0;k=0}}L=h&255;M=f&255;h=j&255;f=k&255;k=(((O(l-L|0,F)|0)>>>0)/255|0)+L|0;j=(((O(m-M|0,F)|0)>>>0)/255|0)+M|0;h=(((O(n-h|0,F)|0)>>>0)/255|0)+h|0;f=f+F-(((O(f,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{a[o>>0]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break i}case 2:{b[o>>1]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break i}case 3:{a[o+((d[s>>0]|0)>>>3&255)>>0]=k;a[o+((d[u>>0]|0)>>>3&255)>>0]=j;a[o+((d[w>>0]|0)>>>3&255)>>0]=h;break i}case 4:{c[o>>2]=j>>>(d[t>>0]|0)<<(d[u>>0]|0)|k>>>(d[r>>0]|0)<<(d[s>>0]|0)|h>>>(d[v>>0]|0)<<(d[w>>0]|0)|f>>>(d[x>>0]|0)<<(d[y>>0]|0);break i}default:break i}}while(0);g=g+1|0;h=o+H|0;if((p|0)>1){p=p+-1|0;f=4;continue}else break}if(!i){f=102;break}else{g=g+J|0;h=h+K|0}}if((f|0)!=100)if((f|0)==102)return}function EH(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;g=c[b+24>>2]|0;i=c[b+28>>2]|0;e=c[b>>2]|0;aa=c[b+16>>2]|0;f=c[b+20>>2]|0;$=c[b+36>>2]|0;Z=c[b+48>>2]|0;_=c[b+56>>2]|0;h=i+-1|0;b=(i|0)==0;if(!Z){if(b)return;i=(g+7|0)/8|0;b=g&255;if(!(b&7)){while(1){g=i;b=f;while(1){f=a[e>>0]|0;if((f&255|0)!=(_|0))a[b>>0]=f;f=a[e+1>>0]|0;if((f&255|0)!=(_|0))a[b+1>>0]=f;f=a[e+2>>0]|0;if((f&255|0)!=(_|0))a[b+2>>0]=f;f=a[e+3>>0]|0;if((f&255|0)!=(_|0))a[b+3>>0]=f;f=a[e+4>>0]|0;if((f&255|0)!=(_|0))a[b+4>>0]=f;f=a[e+5>>0]|0;if((f&255|0)!=(_|0))a[b+5>>0]=f;f=a[e+6>>0]|0;if((f&255|0)!=(_|0))a[b+6>>0]=f;f=a[e+7>>0]|0;if((f&255|0)!=(_|0))a[b+7>>0]=f;b=b+8|0;e=e+8|0;if((g|0)<=1)break;else g=g+-1|0}if(!h)break;else{f=b+$|0;e=e+aa|0;h=h+-1|0}}return}a:while(1){switch(b&7){case 1:{x=e;y=f;T=i;e=93;break}case 7:{j=i;k=e;l=f;e=75;break}case 6:{n=e;o=f;z=i;e=78;break}case 5:{p=e;q=f;D=i;e=81;break}case 4:{r=e;s=f;H=i;e=84;break}case 3:{t=e;u=f;L=i;e=87;break}case 2:{v=e;w=f;P=i;e=90;break}default:{e=96;break a}}while(1)if((e|0)==75){e=a[k>>0]|0;if((e&255|0)!=(_|0))a[l>>0]=e;n=k+1|0;o=l+1|0;z=j;e=78;continue}else if((e|0)==78){e=a[n>>0]|0;if((e&255|0)!=(_|0))a[o>>0]=e;p=n+1|0;q=o+1|0;D=z;e=81;continue}else if((e|0)==81){e=a[p>>0]|0;if((e&255|0)!=(_|0))a[q>>0]=e;r=p+1|0;s=q+1|0;H=D;e=84;continue}else if((e|0)==84){e=a[r>>0]|0;if((e&255|0)!=(_|0))a[s>>0]=e;t=r+1|0;u=s+1|0;L=H;e=87;continue}else if((e|0)==87){e=a[t>>0]|0;if((e&255|0)!=(_|0))a[u>>0]=e;v=t+1|0;w=u+1|0;P=L;e=90;continue}else if((e|0)==90){e=a[v>>0]|0;if((e&255|0)!=(_|0))a[w>>0]=e;x=v+1|0;y=w+1|0;T=P;e=93;continue}else if((e|0)==93){e=a[x>>0]|0;if((e&255|0)!=(_|0))a[y>>0]=e;f=y+1|0;e=x+1|0;if((T|0)<=1)break;e=a[e>>0]|0;if((e&255|0)!=(_|0))a[f>>0]=e;j=T+-1|0;k=x+2|0;l=y+2|0;e=75;continue}if(!h){e=98;break}else{f=f+$|0;e=e+aa|0;h=h+-1|0}}if((e|0)!=96)if((e|0)==98)return}else{if(b)return;i=(g+7|0)/8|0;b=g&255;if(!(b&7)){while(1){g=i;b=f;while(1){f=d[e>>0]|0;if((f|0)!=(_|0))a[b>>0]=a[Z+f>>0]|0;f=d[e+1>>0]|0;if((f|0)!=(_|0))a[b+1>>0]=a[Z+f>>0]|0;f=d[e+2>>0]|0;if((f|0)!=(_|0))a[b+2>>0]=a[Z+f>>0]|0;f=d[e+3>>0]|0;if((f|0)!=(_|0))a[b+3>>0]=a[Z+f>>0]|0;f=d[e+4>>0]|0;if((f|0)!=(_|0))a[b+4>>0]=a[Z+f>>0]|0;f=d[e+5>>0]|0;if((f|0)!=(_|0))a[b+5>>0]=a[Z+f>>0]|0;f=d[e+6>>0]|0;if((f|0)!=(_|0))a[b+6>>0]=a[Z+f>>0]|0;f=d[e+7>>0]|0;if((f|0)!=(_|0))a[b+7>>0]=a[Z+f>>0]|0;b=b+8|0;e=e+8|0;if((g|0)<=1)break;else g=g+-1|0}if(!h)break;else{e=e+aa|0;f=b+$|0;h=h+-1|0}}return}b:while(1){switch(b&7){case 1:{U=i;X=e;Y=f;e=66;break}case 7:{m=i;B=e;C=f;e=48;break}case 6:{A=i;F=e;G=f;e=51;break}case 5:{E=i;J=e;K=f;e=54;break}case 4:{I=i;N=e;O=f;e=57;break}case 3:{M=i;R=e;S=f;e=60;break}case 2:{Q=i;V=e;W=f;e=63;break}default:{e=69;break b}}while(1)if((e|0)==48){e=d[B>>0]|0;if((e|0)!=(_|0))a[C>>0]=a[Z+e>>0]|0;A=m;F=B+1|0;G=C+1|0;e=51;continue}else if((e|0)==51){e=d[F>>0]|0;if((e|0)!=(_|0))a[G>>0]=a[Z+e>>0]|0;E=A;J=F+1|0;K=G+1|0;e=54;continue}else if((e|0)==54){e=d[J>>0]|0;if((e|0)!=(_|0))a[K>>0]=a[Z+e>>0]|0;I=E;N=J+1|0;O=K+1|0;e=57;continue}else if((e|0)==57){e=d[N>>0]|0;if((e|0)!=(_|0))a[O>>0]=a[Z+e>>0]|0;M=I;R=N+1|0;S=O+1|0;e=60;continue}else if((e|0)==60){e=d[R>>0]|0;if((e|0)!=(_|0))a[S>>0]=a[Z+e>>0]|0;Q=M;V=R+1|0;W=S+1|0;e=63;continue}else if((e|0)==63){e=d[V>>0]|0;if((e|0)!=(_|0))a[W>>0]=a[Z+e>>0]|0;U=Q;X=V+1|0;Y=W+1|0;e=66;continue}else if((e|0)==66){e=d[X>>0]|0;if((e|0)!=(_|0))a[Y>>0]=a[Z+e>>0]|0;f=Y+1|0;e=X+1|0;if((U|0)<=1)break;e=d[e>>0]|0;if((e|0)!=(_|0))a[f>>0]=a[Z+e>>0]|0;m=U+-1|0;B=X+2|0;C=Y+2|0;e=48;continue}if(!h){e=98;break}else{e=e+aa|0;f=f+$|0;h=h+-1|0}}if((e|0)!=69)if((e|0)==98)return}}function FH(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;e=c[a+24>>2]|0;l=c[a+28>>2]|0;f=c[a>>2]|0;o=c[a+16>>2]|0;g=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;h=l+-1|0;if(!l)return;l=(e+7|0)/8|0;j=e&255;if(!(j&7)){a=g;while(1){g=l;e=a;while(1){a=d[f>>0]|0;if((a|0)!=(n|0))b[e>>1]=b[m+(a<<1)>>1]|0;a=d[f+1>>0]|0;if((a|0)!=(n|0))b[e+2>>1]=b[m+(a<<1)>>1]|0;a=d[f+2>>0]|0;if((a|0)!=(n|0))b[e+4>>1]=b[m+(a<<1)>>1]|0;a=d[f+3>>0]|0;if((a|0)!=(n|0))b[e+6>>1]=b[m+(a<<1)>>1]|0;a=d[f+4>>0]|0;if((a|0)!=(n|0))b[e+8>>1]=b[m+(a<<1)>>1]|0;a=d[f+5>>0]|0;if((a|0)!=(n|0))b[e+10>>1]=b[m+(a<<1)>>1]|0;a=d[f+6>>0]|0;if((a|0)!=(n|0))b[e+12>>1]=b[m+(a<<1)>>1]|0;a=d[f+7>>0]|0;if((a|0)!=(n|0))b[e+14>>1]=b[m+(a<<1)>>1]|0;f=f+8|0;e=e+16|0;if((g|0)<=1)break;else g=g+-1|0}if(!h)break;else{f=f+o|0;a=e+(k<<1)|0;h=h+-1|0}}return}a:while(1){switch(j&7){case 1:{i=l;a=44;break}case 7:{e=l;a=26;break}case 6:{e=l;a=29;break}case 5:{e=l;a=32;break}case 4:{e=l;a=35;break}case 3:{e=l;a=38;break}case 2:{e=l;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=d[f>>0]|0;if((a|0)!=(n|0))b[g>>1]=b[m+(a<<1)>>1]|0;g=g+2|0;f=f+1|0;a=29;continue}else if((a|0)==29){a=d[f>>0]|0;if((a|0)!=(n|0))b[g>>1]=b[m+(a<<1)>>1]|0;g=g+2|0;f=f+1|0;a=32;continue}else if((a|0)==32){a=d[f>>0]|0;if((a|0)!=(n|0))b[g>>1]=b[m+(a<<1)>>1]|0;g=g+2|0;f=f+1|0;a=35;continue}else if((a|0)==35){a=d[f>>0]|0;if((a|0)!=(n|0))b[g>>1]=b[m+(a<<1)>>1]|0;g=g+2|0;f=f+1|0;a=38;continue}else if((a|0)==38){a=d[f>>0]|0;if((a|0)!=(n|0))b[g>>1]=b[m+(a<<1)>>1]|0;g=g+2|0;f=f+1|0;a=41;continue}else if((a|0)==41){a=d[f>>0]|0;if((a|0)!=(n|0))b[g>>1]=b[m+(a<<1)>>1]|0;i=e;f=f+1|0;g=g+2|0;a=44;continue}else if((a|0)==44){a=d[f>>0]|0;if((a|0)!=(n|0))b[g>>1]=b[m+(a<<1)>>1]|0;a=f+1|0;e=g+2|0;if((i|0)<=1)break;a=d[a>>0]|0;if((a|0)!=(n|0))b[e>>1]=b[m+(a<<1)>>1]|0;e=i+-1|0;g=g+4|0;f=f+2|0;a=26;continue}if(!h){a=49;break}else{f=a+o|0;g=e+(k<<1)|0;h=h+-1|0}}if((a|0)!=47)if((a|0)==49)return}function GH(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;e=c[b+24>>2]|0;f=c[b+28>>2]|0;m=c[b+16>>2]|0;n=c[b+36>>2]|0;j=c[b+48>>2]|0;k=c[b+56>>2]|0;if(!f)return;l=(e+7|0)/8|0;i=e&255;g=c[b>>2]|0;b=c[b+20>>2]|0;a:while(1){f=f+-1|0;switch(i&7){case 0:{h=l;e=4;break}case 7:{h=l;e=7;break}case 6:{h=l;e=10;break}case 5:{h=l;e=13;break}case 4:{h=l;e=16;break}case 3:{h=l;e=19;break}case 2:{h=l;e=22;break}case 1:{h=l;e=25;break}default:{e=28;break a}}while(1)if((e|0)==4){e=d[g>>0]|0;if((e|0)!=(k|0)){o=e<<2;e=o|1;a[b>>0]=a[j+o>>0]|0;a[b+1>>0]=a[j+e>>0]|0;a[b+2>>0]=a[j+(e+1)>>0]|0}g=g+1|0;b=b+3|0;e=7;continue}else if((e|0)==7){e=d[g>>0]|0;if((e|0)!=(k|0)){e=e<<2;o=e|1;a[b>>0]=a[j+e>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0}g=g+1|0;b=b+3|0;e=10;continue}else if((e|0)==10){e=d[g>>0]|0;if((e|0)!=(k|0)){e=e<<2;o=e|1;a[b>>0]=a[j+e>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0}g=g+1|0;b=b+3|0;e=13;continue}else if((e|0)==13){e=d[g>>0]|0;if((e|0)!=(k|0)){e=e<<2;o=e|1;a[b>>0]=a[j+e>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0}g=g+1|0;b=b+3|0;e=16;continue}else if((e|0)==16){e=d[g>>0]|0;if((e|0)!=(k|0)){e=e<<2;o=e|1;a[b>>0]=a[j+e>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0}g=g+1|0;b=b+3|0;e=19;continue}else if((e|0)==19){e=d[g>>0]|0;if((e|0)!=(k|0)){e=e<<2;o=e|1;a[b>>0]=a[j+e>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0}g=g+1|0;b=b+3|0;e=22;continue}else if((e|0)==22){e=d[g>>0]|0;if((e|0)!=(k|0)){e=e<<2;o=e|1;a[b>>0]=a[j+e>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0}g=g+1|0;b=b+3|0;e=25;continue}else if((e|0)==25){e=d[g>>0]|0;if((e|0)!=(k|0)){e=e<<2;o=e|1;a[b>>0]=a[j+e>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0}e=g+1|0;b=b+3|0;if((h|0)>1){h=h+-1|0;g=e;e=4;continue}else break}if(!f){e=30;break}else{g=e+m|0;b=b+n|0}}if((e|0)!=28)if((e|0)==30)return}function HH(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;b=c[a+24>>2]|0;k=c[a+28>>2]|0;e=c[a>>2]|0;n=c[a+16>>2]|0;f=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;g=k+-1|0;if(!k)return;k=(b+7|0)/8|0;i=b&255;if(!(i&7)){a=f;while(1){f=k;b=a;while(1){a=d[e>>0]|0;if((a|0)!=(m|0))c[b>>2]=c[l+(a<<2)>>2];a=d[e+1>>0]|0;if((a|0)!=(m|0))c[b+4>>2]=c[l+(a<<2)>>2];a=d[e+2>>0]|0;if((a|0)!=(m|0))c[b+8>>2]=c[l+(a<<2)>>2];a=d[e+3>>0]|0;if((a|0)!=(m|0))c[b+12>>2]=c[l+(a<<2)>>2];a=d[e+4>>0]|0;if((a|0)!=(m|0))c[b+16>>2]=c[l+(a<<2)>>2];a=d[e+5>>0]|0;if((a|0)!=(m|0))c[b+20>>2]=c[l+(a<<2)>>2];a=d[e+6>>0]|0;if((a|0)!=(m|0))c[b+24>>2]=c[l+(a<<2)>>2];a=d[e+7>>0]|0;if((a|0)!=(m|0))c[b+28>>2]=c[l+(a<<2)>>2];e=e+8|0;b=b+32|0;if((f|0)<=1)break;else f=f+-1|0}if(!g)break;else{e=e+n|0;a=b+(j<<2)|0;g=g+-1|0}}return}a:while(1){switch(i&7){case 1:{h=k;a=44;break}case 7:{b=k;a=26;break}case 6:{b=k;a=29;break}case 5:{b=k;a=32;break}case 4:{b=k;a=35;break}case 3:{b=k;a=38;break}case 2:{b=k;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=d[e>>0]|0;if((a|0)!=(m|0))c[f>>2]=c[l+(a<<2)>>2];f=f+4|0;e=e+1|0;a=29;continue}else if((a|0)==29){a=d[e>>0]|0;if((a|0)!=(m|0))c[f>>2]=c[l+(a<<2)>>2];f=f+4|0;e=e+1|0;a=32;continue}else if((a|0)==32){a=d[e>>0]|0;if((a|0)!=(m|0))c[f>>2]=c[l+(a<<2)>>2];f=f+4|0;e=e+1|0;a=35;continue}else if((a|0)==35){a=d[e>>0]|0;if((a|0)!=(m|0))c[f>>2]=c[l+(a<<2)>>2];f=f+4|0;e=e+1|0;a=38;continue}else if((a|0)==38){a=d[e>>0]|0;if((a|0)!=(m|0))c[f>>2]=c[l+(a<<2)>>2];f=f+4|0;e=e+1|0;a=41;continue}else if((a|0)==41){a=d[e>>0]|0;if((a|0)!=(m|0))c[f>>2]=c[l+(a<<2)>>2];h=b;e=e+1|0;f=f+4|0;a=44;continue}else if((a|0)==44){a=d[e>>0]|0;if((a|0)!=(m|0))c[f>>2]=c[l+(a<<2)>>2];a=e+1|0;b=f+4|0;if((h|0)<=1)break;a=d[a>>0]|0;if((a|0)!=(m|0))c[b>>2]=c[l+(a<<2)>>2];b=h+-1|0;f=f+8|0;e=e+2|0;a=26;continue}if(!g){a=49;break}else{e=a+n|0;f=b+(j<<2)|0;g=g+-1|0}}if((a|0)!=47)if((a|0)==49)return}function IH(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;f=c[b+24>>2]|0;l=c[b+28>>2]|0;g=c[b>>2]|0;n=c[b+16>>2]|0;e=c[b+20>>2]|0;m=c[b+36>>2]|0;k=c[b+48>>2]|0;i=l+-1|0;if(!l)return;l=(f+7|0)/8|0;j=f&255;switch(j&7){case 0:{b=g;g=i;while(1){f=l;while(1){a[e>>0]=a[k+(d[b>>0]|0)>>0]|0;a[e+1>>0]=a[k+(d[b+1>>0]|0)>>0]|0;a[e+2>>0]=a[k+(d[b+2>>0]|0)>>0]|0;a[e+3>>0]=a[k+(d[b+3>>0]|0)>>0]|0;a[e+4>>0]=a[k+(d[b+4>>0]|0)>>0]|0;a[e+5>>0]=a[k+(d[b+5>>0]|0)>>0]|0;a[e+6>>0]=a[k+(d[b+6>>0]|0)>>0]|0;a[e+7>>0]=a[k+(d[b+7>>0]|0)>>0]|0;e=e+8|0;b=b+8|0;if((f|0)<=1)break;else f=f+-1|0}if(!g)break;else{b=b+n|0;e=e+m|0;g=g+-1|0}}return}case 7:{while(1){h=l;while(1){a[e>>0]=a[k+(d[g>>0]|0)>>0]|0;a[e+1>>0]=a[k+(d[g+1>>0]|0)>>0]|0;a[e+2>>0]=a[k+(d[g+2>>0]|0)>>0]|0;a[e+3>>0]=a[k+(d[g+3>>0]|0)>>0]|0;a[e+4>>0]=a[k+(d[g+4>>0]|0)>>0]|0;a[e+5>>0]=a[k+(d[g+5>>0]|0)>>0]|0;a[e+6>>0]=a[k+(d[g+6>>0]|0)>>0]|0;f=e+7|0;b=g+7|0;if((h|0)<=1)break;a[f>>0]=a[k+(d[b>>0]|0)>>0]|0;h=h+-1|0;g=g+8|0;e=e+8|0}if(!i)break;else{g=b+n|0;e=f+m|0;i=i+-1|0}}return}default:{a:while(1){switch(j&7){case 1:{h=l;f=17;break}case 2:{b=l;f=16;break}case 6:{b=l;f=12;break}case 5:{b=l;f=13;break}case 4:{b=l;f=14;break}case 3:{b=l;f=15;break}default:{f=18;break a}}while(1)if((f|0)==12){a[e>>0]=a[k+(d[g>>0]|0)>>0]|0;g=g+1|0;e=e+1|0;f=13;continue}else if((f|0)==13){a[e>>0]=a[k+(d[g>>0]|0)>>0]|0;g=g+1|0;e=e+1|0;f=14;continue}else if((f|0)==14){a[e>>0]=a[k+(d[g>>0]|0)>>0]|0;g=g+1|0;e=e+1|0;f=15;continue}else if((f|0)==15){a[e>>0]=a[k+(d[g>>0]|0)>>0]|0;g=g+1|0;e=e+1|0;f=16;continue}else if((f|0)==16){a[e>>0]=a[k+(d[g>>0]|0)>>0]|0;h=b;g=g+1|0;e=e+1|0;f=17;continue}else if((f|0)==17){a[e>>0]=a[k+(d[g>>0]|0)>>0]|0;f=e+1|0;b=g+1|0;if((h|0)<=1)break;a[f>>0]=a[k+(d[b>>0]|0)>>0]|0;a[e+2>>0]=a[k+(d[g+2>>0]|0)>>0]|0;b=h+-1|0;g=g+3|0;e=e+3|0;f=12;continue}if(!i){f=20;break}else{g=b+n|0;e=f+m|0;i=i+-1|0}}if((f|0)!=18)if((f|0)==20)return}}}function JH(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;f=c[a+24>>2]|0;l=c[a+28>>2]|0;g=c[a>>2]|0;n=c[a+16>>2]|0;e=c[a+20>>2]|0;m=c[a+36>>2]|0;k=c[a+48>>2]|0;h=l+-1|0;if(!l)return;l=(f+7|0)/8|0;j=f&255;if(!(j&7)){a=g;g=h;while(1){f=l;while(1){b[e>>1]=b[k+((d[a>>0]|0)<<1)>>1]|0;b[e+2>>1]=b[k+((d[a+1>>0]|0)<<1)>>1]|0;b[e+4>>1]=b[k+((d[a+2>>0]|0)<<1)>>1]|0;b[e+6>>1]=b[k+((d[a+3>>0]|0)<<1)>>1]|0;b[e+8>>1]=b[k+((d[a+4>>0]|0)<<1)>>1]|0;b[e+10>>1]=b[k+((d[a+5>>0]|0)<<1)>>1]|0;b[e+12>>1]=b[k+((d[a+6>>0]|0)<<1)>>1]|0;j=a;a=a+8|0;b[e+14>>1]=b[k+((d[j+7>>0]|0)<<1)>>1]|0;e=e+16|0;if((f|0)<=1)break;else f=f+-1|0}if(!g)break;else{a=a+n|0;e=e+m|0;g=g+-1|0}}return}a:while(1){switch(j&7){case 1:{i=l;f=14;break}case 7:{a=l;f=8;break}case 6:{a=l;f=9;break}case 5:{a=l;f=10;break}case 4:{a=l;f=11;break}case 3:{a=l;f=12;break}case 2:{a=l;f=13;break}default:{f=15;break a}}while(1)if((f|0)==8){b[e>>1]=b[k+((d[g>>0]|0)<<1)>>1]|0;g=g+1|0;e=e+2|0;f=9;continue}else if((f|0)==9){b[e>>1]=b[k+((d[g>>0]|0)<<1)>>1]|0;g=g+1|0;e=e+2|0;f=10;continue}else if((f|0)==10){b[e>>1]=b[k+((d[g>>0]|0)<<1)>>1]|0;g=g+1|0;e=e+2|0;f=11;continue}else if((f|0)==11){b[e>>1]=b[k+((d[g>>0]|0)<<1)>>1]|0;g=g+1|0;e=e+2|0;f=12;continue}else if((f|0)==12){b[e>>1]=b[k+((d[g>>0]|0)<<1)>>1]|0;g=g+1|0;e=e+2|0;f=13;continue}else if((f|0)==13){b[e>>1]=b[k+((d[g>>0]|0)<<1)>>1]|0;i=a;g=g+1|0;e=e+2|0;f=14;continue}else if((f|0)==14){a=g+1|0;b[e>>1]=b[k+((d[g>>0]|0)<<1)>>1]|0;f=e+2|0;if((i|0)<=1)break;b[f>>1]=b[k+((d[a>>0]|0)<<1)>>1]|0;a=i+-1|0;g=g+2|0;e=e+4|0;f=8;continue}if(!h){f=17;break}else{g=a+n|0;e=f+m|0;h=h+-1|0}}if((f|0)!=15)if((f|0)==17)return}function KH(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;e=c[b+24>>2]|0;f=c[b+28>>2]|0;l=c[b+16>>2]|0;m=c[b+36>>2]|0;j=c[b+48>>2]|0;if(!f)return;k=(e+7|0)/8|0;i=e&255;h=c[b+20>>2]|0;e=c[b>>2]|0;a:while(1){f=f+-1|0;switch(i&7){case 0:{g=k;b=h;h=4;break}case 7:{g=k;b=h;h=5;break}case 6:{g=k;b=h;h=6;break}case 5:{g=k;b=h;h=7;break}case 4:{g=k;b=h;h=8;break}case 3:{g=k;b=h;h=9;break}case 2:{g=k;b=h;h=10;break}case 1:{g=k;b=h;h=11;break}default:{h=12;break a}}while(1)if((h|0)==4){o=(d[e>>0]|0)<<2;n=o|1;a[b>>0]=a[j+o>>0]|0;a[b+1>>0]=a[j+n>>0]|0;a[b+2>>0]=a[j+(n+1)>>0]|0;b=b+3|0;e=e+1|0;h=5;continue}else if((h|0)==5){n=(d[e>>0]|0)<<2;o=n|1;a[b>>0]=a[j+n>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0;b=b+3|0;e=e+1|0;h=6;continue}else if((h|0)==6){n=(d[e>>0]|0)<<2;o=n|1;a[b>>0]=a[j+n>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0;b=b+3|0;e=e+1|0;h=7;continue}else if((h|0)==7){n=(d[e>>0]|0)<<2;o=n|1;a[b>>0]=a[j+n>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0;b=b+3|0;e=e+1|0;h=8;continue}else if((h|0)==8){n=(d[e>>0]|0)<<2;o=n|1;a[b>>0]=a[j+n>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0;b=b+3|0;e=e+1|0;h=9;continue}else if((h|0)==9){n=(d[e>>0]|0)<<2;o=n|1;a[b>>0]=a[j+n>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0;b=b+3|0;e=e+1|0;h=10;continue}else if((h|0)==10){n=(d[e>>0]|0)<<2;o=n|1;a[b>>0]=a[j+n>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0;b=b+3|0;e=e+1|0;h=11;continue}else if((h|0)==11){n=(d[e>>0]|0)<<2;o=n|1;a[b>>0]=a[j+n>>0]|0;a[b+1>>0]=a[j+o>>0]|0;a[b+2>>0]=a[j+(o+1)>>0]|0;e=e+1|0;b=b+3|0;if((g|0)>1){g=g+-1|0;h=4;continue}else break}if(!f){h=14;break}else{h=b+m|0;e=e+l|0}}if((h|0)!=12)if((h|0)==14)return}function LH(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;e=c[a+24>>2]|0;k=c[a+28>>2]|0;f=c[a>>2]|0;m=c[a+16>>2]|0;b=c[a+20>>2]|0;l=(c[a+36>>2]|0)/4|0;j=c[a+48>>2]|0;g=k+-1|0;if(!k)return;k=(e+7|0)/8|0;i=e&255;if(!(i&7)){a=f;f=g;while(1){e=k;while(1){c[b>>2]=c[j+((d[a>>0]|0)<<2)>>2];c[b+4>>2]=c[j+((d[a+1>>0]|0)<<2)>>2];c[b+8>>2]=c[j+((d[a+2>>0]|0)<<2)>>2];c[b+12>>2]=c[j+((d[a+3>>0]|0)<<2)>>2];c[b+16>>2]=c[j+((d[a+4>>0]|0)<<2)>>2];c[b+20>>2]=c[j+((d[a+5>>0]|0)<<2)>>2];c[b+24>>2]=c[j+((d[a+6>>0]|0)<<2)>>2];h=a;a=a+8|0;i=b;b=b+32|0;c[i+28>>2]=c[j+((d[h+7>>0]|0)<<2)>>2];if((e|0)<=1)break;else e=e+-1|0}if(!f)break;else{a=a+m|0;b=b+(l<<2)|0;f=f+-1|0}}return}a:while(1){switch(i&7){case 1:{h=k;e=14;break}case 7:{a=k;e=8;break}case 6:{a=k;e=9;break}case 5:{a=k;e=10;break}case 4:{a=k;e=11;break}case 3:{a=k;e=12;break}case 2:{a=k;e=13;break}default:{e=15;break a}}while(1)if((e|0)==8){c[b>>2]=c[j+((d[f>>0]|0)<<2)>>2];f=f+1|0;b=b+4|0;e=9;continue}else if((e|0)==9){c[b>>2]=c[j+((d[f>>0]|0)<<2)>>2];f=f+1|0;b=b+4|0;e=10;continue}else if((e|0)==10){c[b>>2]=c[j+((d[f>>0]|0)<<2)>>2];f=f+1|0;b=b+4|0;e=11;continue}else if((e|0)==11){c[b>>2]=c[j+((d[f>>0]|0)<<2)>>2];f=f+1|0;b=b+4|0;e=12;continue}else if((e|0)==12){c[b>>2]=c[j+((d[f>>0]|0)<<2)>>2];f=f+1|0;b=b+4|0;e=13;continue}else if((e|0)==13){c[b>>2]=c[j+((d[f>>0]|0)<<2)>>2];h=a;f=f+1|0;b=b+4|0;e=14;continue}else if((e|0)==14){a=f+1|0;e=b+4|0;c[b>>2]=c[j+((d[f>>0]|0)<<2)>>2];if((h|0)<=1)break;c[e>>2]=c[j+((d[a>>0]|0)<<2)>>2];a=h+-1|0;f=f+2|0;b=b+8|0;e=8;continue}if(!g){e=17;break}else{f=a+m|0;b=e+(l<<2)|0;g=g+-1|0}}if((e|0)!=15)if((e|0)==17)return}function MH(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;w=c[f+24>>2]|0;h=c[f+28>>2]|0;M=c[f+36>>2]|0;u=c[(c[(c[f+40>>2]|0)+4>>2]|0)+4>>2]|0;g=c[f+44>>2]|0;v=d[f+63>>0]|0;x=a[g+9>>0]|0;y=x&255;z=((w+7|0)/-8|0)+w+(c[f+16>>2]|0)|0;if(!h)return;A=(w|0)>0;B=g+28|0;C=g+32|0;D=g+29|0;E=g+33|0;F=g+30|0;G=g+34|0;H=g+31|0;I=g+35|0;J=g+12|0;K=g+16|0;L=g+20|0;s=g+24|0;t=O(w,y)|0;g=c[f>>2]|0;f=c[f+20>>2]|0;while(1){h=h+-1|0;if(A){i=0;q=0;r=f;while(1){if(!(q&7)){i=a[g>>0]|0;g=g+1|0}p=i&255;o=(i&255)>>>7&255;m=d[u+(o<<2)>>0]|0;n=d[u+(o<<2)+1>>0]|0;o=d[u+(o<<2)+2>>0]|0;switch(x<<24>>24){case 1:{l=d[r>>0]|0;i=a[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[s>>2]&l)>>>(d[I>>0]|0))>>0]|0;j=a[(c[18232+((d[F>>0]|0)<<2)>>2]|0)+((c[L>>2]&l)>>>(d[G>>0]|0))>>0]|0;k=a[(c[18232+((d[D>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[E>>0]|0))>>0]|0;l=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[C>>0]|0))>>0]|0;break}case 2:{l=e[r>>1]|0;i=a[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[s>>2]&l)>>>(d[I>>0]|0))>>0]|0;j=a[(c[18232+((d[F>>0]|0)<<2)>>2]|0)+((c[L>>2]&l)>>>(d[G>>0]|0))>>0]|0;k=a[(c[18232+((d[D>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[E>>0]|0))>>0]|0;l=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[C>>0]|0))>>0]|0;break}case 3:{i=-1;j=a[r+((d[G>>0]|0)>>>3&255)>>0]|0;k=a[r+((d[E>>0]|0)>>>3&255)>>0]|0;l=a[r+((d[C>>0]|0)>>>3&255)>>0]|0;break}case 4:{l=c[r>>2]|0;i=a[(c[18232+((d[H>>0]|0)<<2)>>2]|0)+((c[s>>2]&l)>>>(d[I>>0]|0))>>0]|0;j=a[(c[18232+((d[F>>0]|0)<<2)>>2]|0)+((c[L>>2]&l)>>>(d[G>>0]|0))>>0]|0;k=a[(c[18232+((d[D>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[E>>0]|0))>>0]|0;l=a[(c[18232+((d[B>>0]|0)<<2)>>2]|0)+((c[J>>2]&l)>>>(d[C>>0]|0))>>0]|0;break}default:{i=0;j=0;k=0;l=0}}N=i&255;i=j&255;k=k&255;l=l&255;l=(((O(m-l|0,v)|0)>>>0)/255|0)+l|0;k=(((O(n-k|0,v)|0)>>>0)/255|0)+k|0;i=(((O(o-i|0,v)|0)>>>0)/255|0)+i|0;j=N+v-(((O(N,v)|0)>>>0)/255|0)|0;switch(x<<24>>24){case 1:{a[r>>0]=k>>>(d[D>>0]|0)<<(d[E>>0]|0)|l>>>(d[B>>0]|0)<<(d[C>>0]|0)|i>>>(d[F>>0]|0)<<(d[G>>0]|0)|j>>>(d[H>>0]|0)<<(d[I>>0]|0);break}case 2:{b[r>>1]=k>>>(d[D>>0]|0)<<(d[E>>0]|0)|l>>>(d[B>>0]|0)<<(d[C>>0]|0)|i>>>(d[F>>0]|0)<<(d[G>>0]|0)|j>>>(d[H>>0]|0)<<(d[I>>0]|0);break}case 3:{a[r+((d[C>>0]|0)>>>3&255)>>0]=l;a[r+((d[E>>0]|0)>>>3&255)>>0]=k;a[r+((d[G>>0]|0)>>>3&255)>>0]=i;break}case 4:{c[r>>2]=k>>>(d[D>>0]|0)<<(d[E>>0]|0)|l>>>(d[B>>0]|0)<<(d[C>>0]|0)|i>>>(d[F>>0]|0)<<(d[G>>0]|0)|j>>>(d[H>>0]|0)<<(d[I>>0]|0);break}default:{}}q=q+1|0;if((q|0)==(w|0))break;else{i=p<<1&255;r=r+y|0}}f=f+t|0}if(!h)break;else{g=g+z|0;f=f+M|0}}return}function NH(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,P=0;w=c[f+24>>2]|0;h=c[f+28>>2]|0;N=c[f+36>>2]|0;g=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;x=c[f+56>>2]|0;y=a[g+9>>0]|0;z=y&255;A=((w+7|0)/-8|0)+w+(c[f+16>>2]|0)|0;if(!h)return;B=(w|0)>0;C=g+28|0;D=g+32|0;E=g+29|0;F=g+33|0;G=g+30|0;H=g+34|0;I=g+31|0;J=g+35|0;K=g+12|0;L=g+16|0;M=g+20|0;s=g+24|0;t=O(w,z)|0;g=c[f>>2]|0;f=c[f+20>>2]|0;while(1){h=h+-1|0;if(B){i=0;q=0;r=f;while(1){if(!(q&7)){i=a[g>>0]|0;g=g+1|0}p=i&255;i=(i&255)>>>7&255;a:do if((i|0)!=(x|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(y<<24>>24){case 1:{l=d[r>>0]|0;i=a[(c[18232+((d[I>>0]|0)<<2)>>2]|0)+((c[s>>2]&l)>>>(d[J>>0]|0))>>0]|0;j=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[M>>2]&l)>>>(d[H>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[L>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[D>>0]|0))>>0]|0;break}case 2:{l=e[r>>1]|0;i=a[(c[18232+((d[I>>0]|0)<<2)>>2]|0)+((c[s>>2]&l)>>>(d[J>>0]|0))>>0]|0;j=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[M>>2]&l)>>>(d[H>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[L>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[D>>0]|0))>>0]|0;break}case 3:{i=-1;j=a[r+((d[H>>0]|0)>>>3&255)>>0]|0;k=a[r+((d[F>>0]|0)>>>3&255)>>0]|0;l=a[r+((d[D>>0]|0)>>>3&255)>>0]|0;break}case 4:{l=c[r>>2]|0;i=a[(c[18232+((d[I>>0]|0)<<2)>>2]|0)+((c[s>>2]&l)>>>(d[J>>0]|0))>>0]|0;j=a[(c[18232+((d[G>>0]|0)<<2)>>2]|0)+((c[M>>2]&l)>>>(d[H>>0]|0))>>0]|0;k=a[(c[18232+((d[E>>0]|0)<<2)>>2]|0)+((c[L>>2]&l)>>>(d[F>>0]|0))>>0]|0;l=a[(c[18232+((d[C>>0]|0)<<2)>>2]|0)+((c[K>>2]&l)>>>(d[D>>0]|0))>>0]|0;break}default:{i=0;j=0;k=0;l=0}}P=i&255;i=j&255;k=k&255;l=l&255;l=(((O(m-l|0,v)|0)>>>0)/255|0)+l|0;k=(((O(n-k|0,v)|0)>>>0)/255|0)+k|0;i=(((O(o-i|0,v)|0)>>>0)/255|0)+i|0;j=P+v-(((O(P,v)|0)>>>0)/255|0)|0;switch(y<<24>>24){case 1:{a[r>>0]=k>>>(d[E>>0]|0)<<(d[F>>0]|0)|l>>>(d[C>>0]|0)<<(d[D>>0]|0)|i>>>(d[G>>0]|0)<<(d[H>>0]|0)|j>>>(d[I>>0]|0)<<(d[J>>0]|0);break a}case 2:{b[r>>1]=k>>>(d[E>>0]|0)<<(d[F>>0]|0)|l>>>(d[C>>0]|0)<<(d[D>>0]|0)|i>>>(d[G>>0]|0)<<(d[H>>0]|0)|j>>>(d[I>>0]|0)<<(d[J>>0]|0);break a}case 3:{a[r+((d[D>>0]|0)>>>3&255)>>0]=l;a[r+((d[F>>0]|0)>>>3&255)>>0]=k;a[r+((d[H>>0]|0)>>>3&255)>>0]=i;break a}case 4:{c[r>>2]=k>>>(d[E>>0]|0)<<(d[F>>0]|0)|l>>>(d[C>>0]|0)<<(d[D>>0]|0)|i>>>(d[G>>0]|0)<<(d[H>>0]|0)|j>>>(d[I>>0]|0)<<(d[J>>0]|0);break a}default:break a}}while(0);q=q+1|0;if((q|0)==(w|0))break;else{i=p<<1&255;r=r+z|0}}f=f+t|0}if(!h)break;else{g=g+A|0;f=f+N|0}}return}function OH(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;n=c[b+24>>2]|0;i=c[b+28>>2]|0;d=c[b>>2]|0;e=c[b+20>>2]|0;l=c[b+36>>2]|0;m=c[b+56>>2]|0;j=c[b+48>>2]|0;k=(c[b+16>>2]|0)+(n-((n+7|0)/8|0))|0;f=i+-1|0;b=(i|0)!=0&(n|0)>0;if(!j){if(b){b=d;i=f}else return;while(1){d=0;g=0;h=e;while(1){if(!(g&7)){f=a[b>>0]|0;b=b+1|0}else f=d;d=(f&255)>>>7;if((d&255|0)!=(m|0))a[h>>0]=d;g=g+1|0;if((g|0)==(n|0))break;else{d=(f&255)<<1&255;h=h+1|0}}if(!i)break;else{e=e+n+l|0;b=b+k|0;i=i+-1|0}}return}else{if(b)i=f;else return;while(1){b=0;h=0;g=e;while(1){if(!(h&7)){f=a[d>>0]|0;d=d+1|0}else f=b;b=(f&255)>>>7&255;if((b|0)!=(m|0))a[g>>0]=a[j+b>>0]|0;h=h+1|0;if((h|0)==(n|0))break;else{b=(f&255)<<1&255;g=g+1|0}}if(!i)break;else{d=d+k|0;e=e+n+l|0;i=i+-1|0}}return}}function PH(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;o=c[d+24>>2]|0;e=c[d+28>>2]|0;k=c[d+56>>2]|0;l=c[d+48>>2]|0;m=((o+7|0)/-8|0)+o+(c[d+16>>2]|0)|0;n=(c[d+36>>2]|0)/2|0;if(!((e|0)!=0&(o|0)>0))return;f=c[d>>2]|0;j=c[d+20>>2]|0;while(1){d=0;i=0;h=j;while(1){if(!(i&7)){g=a[f>>0]|0;f=f+1|0}else g=d;d=(g&255)>>>7&255;if((d|0)!=(k|0))b[h>>1]=b[l+(d<<1)>>1]|0;i=i+1|0;if((i|0)==(o|0))break;else{d=(g&255)<<1&255;h=h+2|0}}e=e+-1|0;if(!e)break;else{f=f+m|0;j=j+(o<<1)+(n<<1)|0}}return}function QH(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;m=c[b+24>>2]|0;d=c[b+28>>2]|0;o=c[b+36>>2]|0;j=c[b+56>>2]|0;k=c[b+48>>2]|0;l=((m+7|0)/-8|0)+m+(c[b+16>>2]|0)|0;if(!((d|0)!=0&(m|0)>0))return;n=m*3|0;e=c[b>>2]|0;i=c[b+20>>2]|0;while(1){b=0;h=0;g=i;while(1){if(!(h&7)){f=a[e>>0]|0;e=e+1|0}else f=b;b=(f&255)>>>7;if((b&255|0)!=(j|0)){b=k+(b<<2&255)|0;a[g>>0]=a[b>>0]|0;a[g+1>>0]=a[b+1>>0]|0;a[g+2>>0]=a[b+2>>0]|0}h=h+1|0;if((h|0)==(m|0))break;else{b=(f&255)<<1&255;g=g+3|0}}d=d+-1|0;if(!d)break;else{e=e+l|0;i=i+n+o|0}}return}function RH(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;n=c[b+24>>2]|0;d=c[b+28>>2]|0;j=c[b+56>>2]|0;k=c[b+48>>2]|0;l=((n+7|0)/-8|0)+n+(c[b+16>>2]|0)|0;m=(c[b+36>>2]|0)/4|0;if(!((d|0)!=0&(n|0)>0))return;e=c[b>>2]|0;i=c[b+20>>2]|0;while(1){b=0;h=0;g=i;while(1){if(!(h&7)){f=a[e>>0]|0;e=e+1|0}else f=b;b=(f&255)>>>7&255;if((b|0)!=(j|0))c[g>>2]=c[k+(b<<2)>>2];h=h+1|0;if((h|0)==(n|0))break;else{b=(f&255)<<1&255;g=g+4|0}}d=d+-1|0;if(!d)break;else{e=e+l|0;i=i+(n<<2)+(m<<2)|0}}return}function SH(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=c[b+24>>2]|0;h=c[b+28>>2]|0;d=c[b>>2]|0;e=c[b+20>>2]|0;k=c[b+36>>2]|0;i=c[b+48>>2]|0;j=(c[b+16>>2]|0)+(l-((l+7|0)/8|0))|0;f=h+-1|0;b=(h|0)!=0&(l|0)>0;if(!i){if(b)h=f;else return;while(1){b=0;f=0;g=e;while(1){if(!(f&7)){b=a[d>>0]|0;d=d+1|0}a[g>>0]=(b&255)>>>7;f=f+1|0;if((f|0)==(l|0))break;else{b=(b&255)<<1&255;g=g+1|0}}if(!h)break;else{e=e+l+k|0;d=d+j|0;h=h+-1|0}}return}else{if(b)h=f;else return;while(1){b=0;g=0;f=e;while(1){if(!(g&7)){b=a[d>>0]|0;d=d+1|0}a[f>>0]=a[i+((b&255)>>>7&255)>>0]|0;g=g+1|0;if((g|0)==(l|0))break;else{b=(b&255)<<1&255;f=f+1|0}}if(!h)break;else{d=d+j|0;e=e+l+k|0;h=h+-1|0}}return}}function TH(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[d+24>>2]|0;e=c[d+28>>2]|0;m=(c[d+36>>2]|0)/2|0;j=c[d+48>>2]|0;k=((l+7|0)/-8|0)+l+(c[d+16>>2]|0)|0;if(!((e|0)!=0&(l|0)>0))return;i=c[d+20>>2]|0;d=c[d>>2]|0;while(1){f=0;g=0;h=i;while(1){if(!(g&7)){f=a[d>>0]|0;d=d+1|0}b[h>>1]=b[j+(((f&255)>>>7&255)<<1)>>1]|0;g=g+1|0;if((g|0)==(l|0))break;else{f=(f&255)<<1&255;h=h+2|0}}e=e+-1|0;if(!e)break;else{i=i+(l<<1)+(m<<1)|0;d=d+k|0}}return}function UH(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;l=c[b+24>>2]|0;d=c[b+28>>2]|0;m=c[b+36>>2]|0;i=c[b+48>>2]|0;j=((l+7|0)/-8|0)+l+(c[b+16>>2]|0)|0;if(!((d|0)!=0&(l|0)>0))return;k=l*3|0;h=c[b+20>>2]|0;b=c[b>>2]|0;while(1){e=0;f=0;g=h;while(1){if(!(f&7)){e=a[b>>0]|0;b=b+1|0}o=(e&255)>>>7<<2&255;n=o|1;a[g>>0]=a[i+o>>0]|0;a[g+1>>0]=a[i+n>>0]|0;a[g+2>>0]=a[i+(n+1)>>0]|0;f=f+1|0;if((f|0)==(l|0))break;else{e=(e&255)<<1&255;g=g+3|0}}d=d+-1|0;if(!d)break;else{h=h+k+m|0;b=b+j|0}}return}function VH(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;d=c[b+28>>2]|0;l=(c[b+36>>2]|0)/4|0;i=c[b+48>>2]|0;j=((k+7|0)/-8|0)+k+(c[b+16>>2]|0)|0;if(!((d|0)!=0&(k|0)>0))return;e=c[b>>2]|0;h=c[b+20>>2]|0;while(1){b=0;g=0;f=h;while(1){if(!(g&7)){b=a[e>>0]|0;e=e+1|0}c[f>>2]=c[i+(((b&255)>>>7&255)<<2)>>2];g=g+1|0;if((g|0)==(k|0))break;else{b=(b&255)<<1&255;f=f+4|0}}d=d+-1|0;if(!d)break;else{e=e+j|0;h=h+(k<<2)+(l<<2)|0}}return}function WH(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,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((e|0)<=0){w=e<<2;return w|0}v=f+12|0;w=d[f+32>>0]|0;q=f+16|0;r=d[f+33>>0]|0;s=f+20|0;t=d[f+34>>0]|0;u=f+24|0;j=d[f+35>>0]|0;k=d[g+28>>0]|0;l=d[g+32>>0]|0;m=d[g+29>>0]|0;n=d[g+33>>0]|0;o=d[g+30>>0]|0;p=d[g+34>>0]|0;i=g+24|0;h=0;g=a;f=b;while(1){a=c[f>>2]|0;b=(c[q>>2]&a)>>>r>>>m<>2]&a)>>>w>>>k<>2]|(c[s>>2]&a)>>>t>>>o<>2]=b&63519|(c[u>>2]&a)>>>j<<2&2016|b<<16&132120576;h=h+1|0;if((h|0)==(e|0))break;else{g=g+4|0;f=f+4|0}}w=e<<2;return w|0}function XH(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,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((e|0)<=0){w=e<<2;return w|0}v=f+12|0;w=d[f+32>>0]|0;q=f+16|0;r=d[f+33>>0]|0;s=f+20|0;t=d[f+34>>0]|0;u=f+24|0;j=d[f+35>>0]|0;k=d[g+28>>0]|0;l=d[g+32>>0]|0;m=d[g+29>>0]|0;n=d[g+33>>0]|0;o=d[g+30>>0]|0;p=d[g+34>>0]|0;i=g+24|0;h=0;g=a;f=b;while(1){a=c[f>>2]|0;b=(c[q>>2]&a)>>>r>>>m<>2]&a)>>>w>>>k<>2]|(c[s>>2]&a)>>>t>>>o<>2]=b&64543|(c[u>>2]&a)>>>j<<2&992|b<<16&65011712;h=h+1|0;if((h|0)==(e|0))break;else{g=g+4|0;f=f+4|0}}w=e<<2;return w|0}function YH(a,b,e,f,g){a=a|0;b=b|0;e=e|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k=0;do{k=(e[j>>1]|0)+k|0;r=b[j+2>>1]|0;i=r&65535;j=j+4|0;if(!(r<<16>>16)){if(!k)break a}else{k=k+i|0;j=j+(i<<2)|0}}while((k|0)<(t|0));f=f+-1|0;if(!f){m=22;break a}}}while(1){i=0;do{i=(d[j>>0]|0)+i|0;r=a[j+1>>0]|0;f=r&255;j=j+2|0;if(!(r<<24>>24)){if(!i)break a}else{i=i+f|0;j=j+(f<<1)|0}}while((i|0)<(t|0));i=0;j=j+(j&2)|0;do{r=e[j+2>>1]|0;f=j;j=j+((r<<2)+4)|0;i=(e[f>>1]|0)+i+r|0}while((i|0)<(t|0));k=k+-1|0;if(!k){m=22;break}}}while(0);b:do if((m|0)==22){r=c[g>>2]|0;if((r|0)==0?(c[g+8>>2]|0)==(c[o>>2]|0):0){switch(l<<24>>24){case 2:break;case 4:{o=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;r=b[j+2>>1]|0;i=r&65535;j=j+4|0;if(!(r<<16>>16)){if(!k)break b}else{r=i<<2;CQ(n+(k<<2)|0,j|0,r|0)|0;k=k+i|0;j=j+r|0}}while((k|0)<(t|0));k=0;do{k=(e[j>>1]|0)+k|0;r=b[j+2>>1]|0;m=r&65535;j=j+4|0;if(r<<16>>16){i=0;f=n+(k<<2)|0;l=j;while(1){q=c[l>>2]|0;p=c[f>>2]|0;g=q>>>24;r=p&16711935;p=p&65280;c[f>>2]=((O((q&65280)-p|0,g)|0)>>>8)+p&65280|((O((q&16711935)-r|0,g)|0)>>>8)+r&16711935|-16777216;i=i+1|0;if((i|0)==(m|0))break;else{f=f+4|0;l=l+4|0}}j=j+(m<<2)|0;k=k+m|0}}while((k|0)<(t|0));o=o+-1|0;if(!o)break b;else n=n+(c[s>>2]|0)|0}}default:break b}if(((c[q+16>>2]|0)!=2016?(c[q+12>>2]|0)!=2016:0)?(c[q+20>>2]|0)!=2016:0){o=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;r=a[j+1>>0]|0;i=r&255;j=j+2|0;if(!(r<<24>>24)){if(!k)break b}else{r=i<<1;CQ(n+(k<<1)|0,j|0,r|0)|0;k=k+i|0;j=j+r|0}}while((k|0)<(t|0));j=j+(j&2)|0;k=0;do{k=(e[j>>1]|0)+k|0;r=b[j+2>>1]|0;m=r&65535;j=j+4|0;if(r<<16>>16){i=0;f=n+(k<<1)|0;l=j;while(1){g=c[l>>2]|0;r=e[f>>1]|0;r=(r<<16|r)&65043487;r=((O((g&65043487)-r|0,g>>>5&31)|0)>>>5)+r&65043487;b[f>>1]=r>>>16|r;i=i+1|0;if((i|0)==(m|0))break;else{f=f+2|0;l=l+4|0}}j=j+(m<<2)|0;k=k+m|0}}while((k|0)<(t|0));o=o+-1|0;if(!o)break b;else n=n+(c[s>>2]|0)|0}}o=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;r=a[j+1>>0]|0;i=r&255;j=j+2|0;if(!(r<<24>>24)){if(!k)break b}else{r=i<<1;CQ(n+(k<<1)|0,j|0,r|0)|0;k=k+i|0;j=j+r|0}}while((k|0)<(t|0));j=j+(j&2)|0;k=0;do{k=(e[j>>1]|0)+k|0;r=b[j+2>>1]|0;m=r&65535;j=j+4|0;if(r<<16>>16){i=n+(k<<1)|0;f=0;l=j;while(1){g=c[l>>2]|0;r=e[i>>1]|0;r=(r<<16|r)&132184095;r=((O((g&132184095)-r|0,g>>>5&31)|0)>>>5)+r&132184095;b[i>>1]=r>>>16|r;f=f+1|0;if((f|0)==(m|0))break;else{i=i+2|0;l=l+4|0}}j=j+(m<<2)|0;k=k+m|0}}while((k|0)<(t|0));o=o+-1|0;if(!o)break b;else n=n+(c[s>>2]|0)|0}}k=c[p>>2]|0;switch(a[k+9>>0]|0){case 2:break;case 4:{q=(c[g+8>>2]|0)+r|0;p=c[g+12>>2]|0;o=n+(0-(r<<2))|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;g=b[j+2>>1]|0;l=g&65535;j=j+4|0;if(!(g<<16>>16)){if(!k)break b}else{i=r-k|0;g=(i|0)>0;f=g?r:k;i=l-(g?i:0)|0;g=q-f|0;i=(i|0)>(g|0)?g:i;if((i|0)>0)CQ(o+(f<<2)|0,j+(f-k<<2)|0,i<<2|0)|0;k=k+l|0;j=j+(l<<2)|0}}while((k|0)<(t|0));k=0;do{k=(e[j>>1]|0)+k|0;g=b[j+2>>1]|0;n=g&65535;j=j+4|0;if(g<<16>>16){l=r-k|0;g=(l|0)>0;i=g?r:k;l=n-(g?l:0)|0;g=q-i|0;l=(l|0)>(g|0)?g:l;if((l|0)>0){m=o+(i<<2)|0;f=j+(i-k<<2)|0;i=0;do{w=c[f+(i<<2)>>2]|0;g=m+(i<<2)|0;u=c[g>>2]|0;v=w>>>24;x=u&16711935;u=u&65280;c[g>>2]=((O((w&16711935)-x|0,v)|0)>>>8)+x&16711935|((O((w&65280)-u|0,v)|0)>>>8)+u&65280|-16777216;i=i+1|0}while((i|0)<(l|0))}j=j+(n<<2)|0;k=k+n|0}}while((k|0)<(t|0));p=p+-1|0;if(!p)break b;else o=o+(c[s>>2]|0)|0}}default:break b}if(((c[k+16>>2]|0)!=2016?(c[k+12>>2]|0)!=2016:0)?(c[k+20>>2]|0)!=2016:0){q=(c[g+8>>2]|0)+r|0;p=c[g+12>>2]|0;o=n+(0-(r<<1))|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;x=a[j+1>>0]|0;l=x&255;j=j+2|0;if(!(x<<24>>24)){if(!k)break b}else{i=r-k|0;f=(i|0)>0;i=l-(f?i:0)|0;f=f?r:k;x=q-f|0;i=(i|0)>(x|0)?x:i;if((i|0)>0)CQ(o+(f<<1)|0,j+(f-k<<1)|0,i<<1|0)|0;k=k+l|0;j=j+(l<<1)|0}}while((k|0)<(t|0));j=j+(j&2)|0;k=0;do{k=(e[j>>1]|0)+k|0;x=b[j+2>>1]|0;n=x&65535;j=j+4|0;if(x<<16>>16){l=r-k|0;i=(l|0)>0;l=n-(i?l:0)|0;i=i?r:k;x=q-i|0;l=(l|0)>(x|0)?x:l;if((l|0)>0){m=o+(i<<1)|0;f=j+(i-k<<2)|0;i=0;do{v=c[f+(i<<2)>>2]|0;x=m+(i<<1)|0;w=e[x>>1]|0;w=(w<<16|w)&65043487;w=((O((v&65043487)-w|0,v>>>5&31)|0)>>>5)+w&65043487;b[x>>1]=w>>>16|w;i=i+1|0}while((i|0)<(l|0))}j=j+(n<<2)|0;k=k+n|0}}while((k|0)<(t|0));p=p+-1|0;if(!p)break b;else o=o+(c[s>>2]|0)|0}}q=(c[g+8>>2]|0)+r|0;p=n+(0-(r<<1))|0;o=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;x=a[j+1>>0]|0;l=x&255;j=j+2|0;if(!(x<<24>>24)){if(!k)break b}else{i=r-k|0;f=(i|0)>0;i=l-(f?i:0)|0;f=f?r:k;x=q-f|0;i=(i|0)>(x|0)?x:i;if((i|0)>0)CQ(p+(f<<1)|0,j+(f-k<<1)|0,i<<1|0)|0;k=k+l|0;j=j+(l<<1)|0}}while((k|0)<(t|0));k=0;j=j+(j&2)|0;do{k=(e[j>>1]|0)+k|0;x=b[j+2>>1]|0;n=x&65535;j=j+4|0;if(x<<16>>16){l=r-k|0;i=(l|0)>0;l=n-(i?l:0)|0;i=i?r:k;x=q-i|0;l=(l|0)>(x|0)?x:l;if((l|0)>0){m=p+(i<<1)|0;f=j+(i-k<<2)|0;i=0;do{v=c[f+(i<<2)>>2]|0;x=m+(i<<1)|0;w=e[x>>1]|0;w=(w<<16|w)&132184095;w=((O((v&132184095)-w|0,v>>>5&31)|0)>>>5)+w&132184095;b[x>>1]=w>>>16|w;i=i+1|0}while((i|0)<(l|0))}k=k+n|0;j=j+(n<<2)|0}}while((k|0)<(t|0));o=o+-1|0;if(!o)break;else p=p+(c[s>>2]|0)|0}}while(0);j=c[h>>2]|0;if(!(j&2))return 0;k=h+28|0;i=c[k>>2]|0;if(!i)return 0;c[k>>2]=i+-1;if((i|0)>1)return 0;c[h>>2]=j&-3;BE(h)|0;return 0} +function Ln(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=a+52|0;if(c[z>>2]|0)return;v=c[a+44>>2]|b;x=a+32|0;v=(c[x>>2]|0)==0?v:v|4;c[z>>2]=1;y=a+48|0;c[y>>2]=1;w=a+120|0;d=c[w>>2]|0;do if(d|0?(e=c[d>>2]|0,(e&4|0)==0):0){c[d>>2]=e|4;f=a+40|0;b=c[f>>2]|0;if(b>>>0>255){c[a>>2]=c[a>>2]|1;c[d>>2]=e|12;break}b=b+1|0;c[f>>2]=b;if((e&3)==1){Nn(a,d);b=c[f>>2]|0}c[f>>2]=b+-1}while(0);d=c[a+128>>2]|0;do if(d|0?(g=c[d>>2]|0,(g&4|0)==0):0){c[d>>2]=g|4;e=a+40|0;b=c[e>>2]|0;if(b>>>0>255){c[a>>2]=c[a>>2]|1;c[d>>2]=g|12;break}b=b+1|0;c[e>>2]=b;if((g&3)==1){Nn(a,d);b=c[e>>2]|0}c[e>>2]=b+-1}while(0);m=a+40|0;e=0;do{d=c[a+236+(e<<2)>>2]|0;do if(d|0?(h=c[d>>2]|0,(h&4|0)==0):0){c[d>>2]=h|4;b=c[m>>2]|0;if(b>>>0>255){c[a>>2]=c[a>>2]|1;c[d>>2]=h|12;break}b=b+1|0;c[m>>2]=b;if((h&3)==1){Nn(a,d);b=c[m>>2]|0}c[m>>2]=b+-1}while(0);e=e+1|0}while((e|0)!=164);do if((c[a+88>>2]&8|0?(i=c[a+96>>2]|0,i|0):0)?(j=c[i>>2]|0,(j&4|0)==0):0){c[i>>2]=j|4;b=c[m>>2]|0;if(b>>>0>255){c[a>>2]=c[a>>2]|1;c[i>>2]=j|12;break}b=b+1|0;c[m>>2]=b;if((j&3)==1){Nn(a,i);b=c[m>>2]|0}c[m>>2]=b+-1}while(0);do if((c[a+104>>2]&8|0?(k=c[a+112>>2]|0,k|0):0)?(l=c[k>>2]|0,(l&4|0)==0):0){c[k>>2]=l|4;b=c[m>>2]|0;if(b>>>0>255){c[a>>2]=c[a>>2]|1;c[k>>2]=l|12;break}b=b+1|0;c[m>>2]=b;if((l&3)==1){Nn(a,k);b=c[m>>2]|0}c[m>>2]=b+-1}while(0);On(a);t=a+24|0;e=c[t>>2]|0;if(e|0){h=e;b=0;do{g=c[h>>2]|0;a:do if((g&37|0)==1){d=1e4;f=h;while(1){if(c[f>>2]&2097152|0)break;if(!d)break a;f=c[f+20>>2]|0;if(!f)break a;else d=d+-1|0}c[h>>2]=g|16;b=b+1|0}while(0);h=c[h+8>>2]|0}while((h|0)!=0);if(b|0)do{d=c[e>>2]|0;do if((d&20|0)==16){c[e>>2]=d|4;b=c[m>>2]|0;if(b>>>0>255){c[a>>2]=c[a>>2]|1;c[e>>2]=d|12;break}b=b+1|0;c[m>>2]=b;if((d&3)==1){Nn(a,e);b=c[m>>2]|0}c[m>>2]=b+-1}while(0);e=c[e+8>>2]|0}while((e|0)!=0)}b=c[x>>2]|0;if(b|0)do{e=c[b>>2]|0;do if(!(e&4)){c[b>>2]=e|4;d=c[m>>2]|0;if(d>>>0>255){c[a>>2]=c[a>>2]|1;c[b>>2]=e|12;break}d=d+1|0;c[m>>2]=d;if((e&3)==1){Nn(a,b);d=c[m>>2]|0}c[m>>2]=d+-1}while(0);b=c[b+8>>2]|0}while((b|0)!=0);On(a);b=c[t>>2]|0;if(b){do{if((c[b>>2]&5|0)==1)Pn(c[w>>2]|0,b);b=c[b+8>>2]|0}while((b|0)!=0);e=c[t>>2]|0;c[t>>2]=0;if(e){j=a+12|0;k=a+16|0;l=(v&4|0)==0;d=0;b=0;b:while(1){while(1){g=e+8|0;i=c[g>>2]|0;f=c[e>>2]|0;if(f&4|0)break;switch(f&3){case 0:{Bg[c[j>>2]&255](c[k>>2]|0,e);break}case 1:{Bg[c[j>>2]&255](c[k>>2]|0,c[e+16>>2]|0);if((c[e>>2]&-134211584|0)==-1879048192){Bg[c[j>>2]&255](c[k>>2]|0,c[e+64>>2]|0);Bg[c[j>>2]&255](c[k>>2]|0,c[e+84>>2]|0);Bg[c[j>>2]&255](c[k>>2]|0,c[e+104>>2]|0)}Bg[c[j>>2]&255](c[k>>2]|0,e);break}default:{if((f&384|0)==128)Bg[c[j>>2]&255](c[k>>2]|0,c[e+20>>2]|0);Bg[c[j>>2]&255](c[k>>2]|0,e)}}if(!i)break b;else e=i}if(!(f&16)){do if(f&32)if(l){f=f&-33;c[e>>2]=f;break}else{d=d+1|0;break}else d=d+1|0;while(0);if(!b)c[t>>2]=e;else c[b+8>>2]=e;c[e+12>>2]=b;b=e}else{h=e+4|0;c[h>>2]=(c[h>>2]|0)+1;h=c[x>>2]|0;c[e+12>>2]=0;if(h|0)c[h+12>>2]=e;c[g>>2]=h;c[x>>2]=e}c[e>>2]=f&-5;if(!i)break;else e=i}if(b)c[b+8>>2]=0}else d=0}else{c[t>>2]=0;d=0}s=a+168|0;e=c[s>>2]|0;c:do if((e|0)!=0?(u=a+176|0,(c[u>>2]|0)!=0):0){m=a+188|0;n=a+200|0;o=a+212|0;p=a+224|0;q=a+180|0;r=a+172|0;k=a+12|0;l=a+16|0;b=0;j=0;while(1){e=c[e+(j<<2)>>2]|0;d:do if(e){f=0;while(1){e:do if(!f)while(1){g=e;e=c[e+8>>2]|0;f=c[g>>2]|0;if(f&4|0){i=g;break e}if((c[m>>2]|0)==(g|0))c[m>>2]=0;if((c[n>>2]|0)==(g|0))c[n>>2]=0;if((c[o>>2]|0)==(g|0))c[o>>2]=0;if((c[p>>2]|0)==(g|0))c[p>>2]=0;c[q>>2]=(c[q>>2]|0)+-1;c[(c[s>>2]|0)+((c[r>>2]&c[g+12>>2])<<2)>>2]=e;Bg[c[k>>2]&255](c[l>>2]|0,g);if(!e)break d}else{g=f+8|0;while(1){h=e;e=c[e+8>>2]|0;f=c[h>>2]|0;if(f&4|0){i=h;g=h;break e}if((c[m>>2]|0)==(h|0))c[m>>2]=0;if((c[n>>2]|0)==(h|0))c[n>>2]=0;if((c[o>>2]|0)==(h|0))c[o>>2]=0;if((c[p>>2]|0)==(h|0))c[p>>2]=0;c[q>>2]=(c[q>>2]|0)+-1;c[g>>2]=e;Bg[c[k>>2]&255](c[l>>2]|0,h);if(!e)break d}}while(0);c[g>>2]=f&-5;b=b+1|0;if(!e)break;else f=i}}while(0);e=j+1|0;if(e>>>0>=(c[u>>2]|0)>>>0){k=b;break c}j=e;e=c[s>>2]|0}}else k=0;while(0);b=c[x>>2]|0;if(b|0)do{c[b>>2]=c[b>>2]&-5;b=c[b+8>>2]|0}while((b|0)!=0);j=(v&1|0)==0;f:do if((v&5|0)==1){i=c[w>>2]|0;b=c[t>>2]|0;do if(b){f=i+76|0;g=i+68|0;h=i+72|0;while(1){if((c[b>>2]&3|0)==1){e=c[f>>2]|0;if(e>>>0>=(c[g>>2]|0)>>>0){b=135;break}c[f>>2]=e+16;c[e>>2]=9;c[e+8>>2]=b;v=b+4|0;c[v>>2]=(c[v>>2]|0)+1;if(((c[f>>2]|0)-(c[h>>2]|0)|0)<16){b=137;break}Vn(i,14,0,1,0)|0}b=c[b+8>>2]|0;if(!b){b=140;break}}if((b|0)==135)Sn(i,3761);else if((b|0)==137)Tn(i,268476,219);else if((b|0)==140){A=c[w>>2]|0;break}}else A=i;while(0);b=c[x>>2]|0;if(b|0){f=A+76|0;g=A+68|0;h=A+72|0;while(1){if((c[b>>2]&3|0)==1){e=c[f>>2]|0;if(e>>>0>=(c[g>>2]|0)>>>0){b=145;break}c[f>>2]=e+16;c[e>>2]=9;c[e+8>>2]=b;x=b+4|0;c[x>>2]=(c[x>>2]|0)+1;if(((c[f>>2]|0)-(c[h>>2]|0)|0)<16){b=147;break}Vn(A,14,0,1,0)|0}b=c[b+8>>2]|0;if(!b)break f}if((b|0)==145)Sn(A,3761);else if((b|0)==147)Tn(A,268476,219)}}while(0);if(!j?c[s>>2]|0:0)Qn(a);c[z>>2]=0;c[y>>2]=0;c[a+36>>2]=(((k+d|0)>>>8)*12800|0)+1024;Rn(a);return}function Mn(a,b,c){a=a|0;b=b|0;c=c|0;Jn(a,b,c|16777216,268463)}function Nn(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,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;m=d+28|0;if(c[m>>2]|0){o=d+16|0;p=d+24|0;r=b+40|0;l=0;do{k=c[o>>2]|0;i=c[p>>2]|0;g=c[k+(i<<4)+(l<<2)>>2]|0;do if(g|0){h=c[g>>2]|0;do if(!(h&4)){c[g>>2]=h|4;e=c[r>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[g>>2]=h|12;e=k;g=i;h=k;i=k;break}f=e+1|0;c[r>>2]=f;if((h&3)==1){Nn(b,g);e=c[o>>2]|0;j=e;g=c[p>>2]|0;f=c[r>>2]|0}else{j=k;g=i;e=k}c[r>>2]=f+-1;h=j;i=j}else{e=k;g=i;h=k;i=k}while(0);f=h+(l<<4)|0;if(!(a[h+(g*20|0)+l>>0]&8)){if(!f)break;if(!(c[f>>2]&8))break;f=c[h+(l<<4)+8>>2]|0;if(!f)break;g=c[f>>2]|0;if(g&4|0)break;c[f>>2]=g|4;e=c[r>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=g|12;break}e=e+1|0;c[r>>2]=e;if((g&3)==1){Nn(b,f);e=c[r>>2]|0}c[r>>2]=e+-1;break}g=c[f>>2]|0;do if((g|0)!=0?(n=c[g>>2]|0,(n&4|0)==0):0){c[g>>2]=n|4;f=c[r>>2]|0;if(f>>>0>255){c[b>>2]=c[b>>2]|1;c[g>>2]=n|12;e=i;break}f=f+1|0;c[r>>2]=f;if((n&3)==1){Nn(b,g);e=c[o>>2]|0;f=c[r>>2]|0}c[r>>2]=f+-1}else e=i;while(0);f=c[e+(l<<4)+4>>2]|0;if(f|0?(q=c[f>>2]|0,(q&4|0)==0):0){c[f>>2]=q|4;e=c[r>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=q|12;break}e=e+1|0;c[r>>2]=e;if((q&3)==1){Nn(b,f);e=c[r>>2]|0}c[r>>2]=e+-1}}while(0);l=l+1|0}while(l>>>0<(c[m>>2]|0)>>>0)}k=d+32|0;e=c[k>>2]|0;if(e|0){h=d+16|0;i=d+24|0;j=b+40|0;g=0;do{f=c[i>>2]|0;f=(c[h>>2]|0)+(f*21|0)+(0-f&7)|0;r=f+(g<<4)|0;do if((((r|0)!=0?(c[r>>2]&8|0)!=0:0)?(s=c[f+(g<<4)+8>>2]|0,(s|0)!=0):0)?(t=c[s>>2]|0,(t&4|0)==0):0){c[s>>2]=t|4;f=c[j>>2]|0;if(f>>>0>255){c[b>>2]=c[b>>2]|1;c[s>>2]=t|12;break}f=f+1|0;c[j>>2]=f;if((t&3)==1){Nn(b,s);e=c[k>>2]|0;f=c[j>>2]|0}c[j>>2]=f+-1}while(0);g=g+1|0}while(g>>>0>>0)}f=c[d+20>>2]|0;do if(f|0?(u=c[f>>2]|0,(u&4|0)==0):0){c[f>>2]=u|4;g=b+40|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=u|12;break}e=e+1|0;c[g>>2]=e;if((u&3)==1){Nn(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);e=c[d>>2]|0;if(e&16384|0)return;if(e&2048|0){h=d+40|0;f=c[h>>2]|0;do if(f|0?(x=c[f>>2]|0,(x&4|0)==0):0){c[f>>2]=x|4;g=b+40|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=x|12;break}e=e+1|0;c[g>>2]=e;if((x&3)==1){Nn(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);f=c[d+52>>2]|0;do if(f|0?(y=c[f>>2]|0,(y&4|0)==0):0){c[f>>2]=y|4;g=b+40|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=y|12;break}e=e+1|0;c[g>>2]=e;if((y&3)==1){Nn(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);f=c[d+56>>2]|0;do if(f|0?(B=c[f>>2]|0,(B&4|0)==0):0){c[f>>2]=B|4;g=b+40|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=B|12;break}e=e+1|0;c[g>>2]=e;if((B&3)==1){Nn(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);e=c[h>>2]|0;if(!e)return;f=e+24|0;h=d+44|0;e=c[h>>2]|0;if(f>>>0>>0){i=b+40|0;do{do if(((f|0?c[f>>2]&8|0:0)?(C=c[f+8>>2]|0,C|0):0)?(D=c[C>>2]|0,(D&4|0)==0):0){c[C>>2]=D|4;g=c[i>>2]|0;if(g>>>0>255){c[b>>2]=c[b>>2]|1;c[C>>2]=D|12;break}g=g+1|0;c[i>>2]=g;if((D&3)==1){Nn(b,C);g=c[i>>2]|0}c[i>>2]=g+-1}while(0);f=f+16|0}while(f>>>0>>0);e=c[h>>2]|0}h=c[d+48>>2]|0;if(e>>>0>=h>>>0)return;i=b+40|0;do{g=c[e>>2]|0;do if(g|0?(I=c[g>>2]|0,(I&4|0)==0):0){c[g>>2]=I|4;f=c[i>>2]|0;if(f>>>0>255){c[b>>2]=c[b>>2]|1;c[g>>2]=I|12;break}f=f+1|0;c[i>>2]=f;if((I&3)==1){Nn(b,g);f=c[i>>2]|0}c[i>>2]=f+-1}while(0);e=e+4|0}while(e>>>0>>0);return}if(e&8192|0){f=c[d+40>>2]|0;do if(f|0?(v=c[f>>2]|0,(v&4|0)==0):0){c[f>>2]=v|4;g=b+40|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=v|12;break}e=e+1|0;c[g>>2]=e;if((v&3)==1){Nn(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);f=c[d+44>>2]|0;if(!f)return;g=c[f>>2]|0;if(g&4|0)return;c[f>>2]=g|4;h=b+40|0;e=c[h>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=g|12;return}e=e+1|0;c[h>>2]=e;if((g&3)==1){Nn(b,f);e=c[h>>2]|0}c[h>>2]=e+-1;return}switch(e>>>27&31){case 16:{f=c[d+40>>2]|0;do if(f|0?(w=c[f>>2]|0,(w&4|0)==0):0){c[f>>2]=w|4;g=b+40|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=w|12;break}e=e+1|0;c[g>>2]=e;if((w&3)==1){Nn(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);f=c[d+44>>2]|0;if(!f)return;g=c[f>>2]|0;if(g&4|0)return;c[f>>2]=g|4;h=b+40|0;e=c[h>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=g|12;return}e=e+1|0;c[h>>2]=e;if((g&3)==1){Nn(b,f);e=c[h>>2]|0}c[h>>2]=e+-1;return}case 15:{f=c[d+40>>2]|0;if(!f)return;g=c[f>>2]|0;if(g&4|0)return;c[f>>2]=g|4;h=b+40|0;e=c[h>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=g|12;return}e=e+1|0;c[h>>2]=e;if((g&3)==1){Nn(b,f);e=c[h>>2]|0}c[h>>2]=e+-1;return}case 18:{e=c[d+64>>2]|0;h=d+76|0;f=c[h>>2]|0;if(e>>>0>>0){i=b+40|0;do{do if((((e|0)!=0?(c[e>>2]&8|0)!=0:0)?(z=c[e+8>>2]|0,(z|0)!=0):0)?(A=c[z>>2]|0,(A&4|0)==0):0){c[z>>2]=A|4;g=c[i>>2]|0;if(g>>>0>255){c[b>>2]=c[b>>2]|1;c[z>>2]=A|12;break}g=g+1|0;c[i>>2]=g;if((A&3)==1){Nn(b,z);f=c[h>>2]|0;g=c[i>>2]|0}c[i>>2]=g+-1}while(0);e=e+16|0}while(e>>>0>>0)}i=d+96|0;if(c[i>>2]|0){j=d+84|0;k=b+40|0;h=0;do{g=c[j>>2]|0;f=c[g+(h*48|0)+16>>2]|0;do if(f|0?(E=c[f>>2]|0,(E&4|0)==0):0){c[f>>2]=E|4;e=c[k>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=E|12;break}e=e+1|0;c[k>>2]=e;if((E&3)==1){Nn(b,f);e=c[k>>2]|0}c[k>>2]=e+-1}while(0);f=c[g+(h*48|0)+20>>2]|0;do if(f|0?(F=c[f>>2]|0,(F&4|0)==0):0){c[f>>2]=F|4;e=c[k>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=F|12;break}e=e+1|0;c[k>>2]=e;if((F&3)==1){Nn(b,f);e=c[k>>2]|0}c[k>>2]=e+-1}while(0);f=c[g+(h*48|0)+24>>2]|0;do if(f|0?(G=c[f>>2]|0,(G&4|0)==0):0){c[f>>2]=G|4;e=c[k>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=G|12;break}e=e+1|0;c[k>>2]=e;if((G&3)==1){Nn(b,f);e=c[k>>2]|0}c[k>>2]=e+-1}while(0);h=h+1|0}while(h>>>0<(c[i>>2]|0)>>>0)}f=c[d+116>>2]|0;do if(f|0?(H=c[f>>2]|0,(H&4|0)==0):0){c[f>>2]=H|4;g=b+40|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=H|12;break}e=e+1|0;c[g>>2]=e;if((H&3)==1){Nn(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);h=d+132|0;i=b+40|0;g=0;do{f=c[h+(g<<2)>>2]|0;do if(f|0?(J=c[f>>2]|0,(J&4|0)==0):0){c[f>>2]=J|4;e=c[i>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=J|12;break}e=e+1|0;c[i>>2]=e;if((J&3)==1){Nn(b,f);e=c[i>>2]|0}c[i>>2]=e+-1}while(0);g=g+1|0}while((g|0)!=74);return}default:return}}function On(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=c[a>>2]|0;if(!(b&1))return;f=a+24|0;g=a+32|0;h=a+40|0;do{c[a>>2]=b&-2;b=c[f>>2]|0;if(b|0)do{e=c[b>>2]|0;do if(e&8|0){c[b>>2]=e&-13|4;d=c[h>>2]|0;if(d>>>0>255){c[a>>2]=c[a>>2]|1;c[b>>2]=e|12;break}d=d+1|0;c[h>>2]=d;if((e&3)==1){Nn(a,b);d=c[h>>2]|0}c[h>>2]=d+-1}while(0);b=c[b+8>>2]|0}while((b|0)!=0);b=c[g>>2]|0;if(b|0)do{e=c[b>>2]|0;do if(e&8|0){c[b>>2]=e&-13|4;d=c[h>>2]|0;if(d>>>0>255){c[a>>2]=c[a>>2]|1;c[b>>2]=e|12;break}d=d+1|0;c[h>>2]=d;if((e&3)==1){Nn(a,b);d=c[h>>2]|0}c[h>>2]=d+-1}while(0);b=c[b+8>>2]|0}while((b|0)!=0);b=c[a>>2]|0}while((b&1|0)!=0);return}function Pn(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;l=d+16|0;e=c[l>>2]|0;i=d+24|0;f=c[i>>2]|0;j=e+(f<<4)|0;k=e+(f*20|0)|0;g=c[d+28>>2]|0;if(g){h=b+44|0;do{g=g+-1|0;f=c[j+(g<<2)>>2]|0;do if(f|0){q=f+4|0;p=(c[q>>2]|0)+-1|0;c[q>>2]=p;if(!p)Rp(c[h>>2]|0,f);if(!(a[k+g>>0]&8)){if(!(c[e+(g<<4)>>2]&8))break;f=c[e+(g<<4)+8>>2]|0;p=f+4|0;q=(c[p>>2]|0)+-1|0;c[p>>2]=q;if(q|0)break;Wn(c[h>>2]|0,f);break}f=c[e+(g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q=(c[p>>2]|0)+-1|0;c[p>>2]=q;if(q|0)return;go(c[b+44>>2]|0,e);return}e=f>>>27;switch(e&31){case 16:{e=c[d+40>>2]|0;if(e|0?(p=e+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)bo(c[b+44>>2]|0,e);e=c[d+44>>2]|0;if(!e)return;p=e+4|0;q=(c[p>>2]|0)+-1|0;c[p>>2]=q;if(q|0)return;bo(c[b+44>>2]|0,e);return}case 15:{e=c[d+40>>2]|0;p=e+4|0;q=(c[p>>2]|0)+-1|0;c[p>>2]=q;if(q|0)return;bo(c[b+44>>2]|0,e);return}default:{if(f&8192|0){e=c[d+40>>2]|0;if(e|0?(p=e+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)Vq(c[b+44>>2]|0,e);e=c[d+44>>2]|0;if(!e)return;p=e+4|0;q=(c[p>>2]|0)+-1|0;c[p>>2]=q;if(q|0)return;bo(c[b+44>>2]|0,e);return}if((e|0)!=18)return;e=c[d+64>>2]|0;h=d+76|0;f=c[h>>2]|0;if(e>>>0>>0){g=b+44|0;do{if((c[e>>2]&8|0)!=0?(o=c[e+8>>2]|0,p=o+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0){Wn(c[g>>2]|0,o);f=c[h>>2]|0}e=e+16|0}while(e>>>0>>0)}i=d+96|0;if(!(c[i>>2]|0))h=b+44|0;else{j=d+84|0;h=b+44|0;g=0;do{f=c[j>>2]|0;e=c[f+(g*48|0)+16>>2]|0;if(e|0?(p=e+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)bo(c[h>>2]|0,e);e=c[f+(g*48|0)+20>>2]|0;if(e|0?(p=e+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)bo(c[h>>2]|0,e);e=c[f+(g*48|0)+24>>2]|0;if(e|0?(p=e+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)bo(c[h>>2]|0,e);g=g+1|0}while(g>>>0<(c[i>>2]|0)>>>0)}f=d+132|0;e=0;do{g=c[f+(e<<2)>>2]|0;if(g|0?(p=g+4|0,q=(c[p>>2]|0)+-1|0,c[p>>2]=q,(q|0)==0):0)bo(c[h>>2]|0,g);e=e+1|0}while((e|0)!=74);e=c[d+116>>2]|0;if(!e)return;p=e+4|0;q=(c[p>>2]|0)+-1|0;c[p>>2]=q;if(q|0)return;bo(c[h>>2]|0,e);return}}}function Qn(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;p=a+184|0;if(c[p>>2]|0)return;c[p>>2]=1;o=a+176|0;d=c[o>>2]|0;b=((c[a+180>>2]|0)>>>0)/(d>>>4>>>0)|0;do if(b>>>0>16){if(d>>>0<=268435455){n=d<<1;h=a+168|0;g=c[h>>2]|0;d=d<<3;l=a+36|0;m=c[l>>2]|0;c[l>>2]=m+-1;if((m|0)<1)Ln(a,2);e=a+8|0;f=a+16|0;b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if((d|0)==0|(b|0)!=0){if(!b)break}else{Ln(a,0);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,0);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,g,d)|0;if(!b)break}}}}}}}}}}c[h>>2]=b;k=c[o>>2]|0;l=b+(k<<2)|0;if(k|0){j=0;do{m=b+(j<<2)|0;e=c[m>>2]|0;a:do if(!e){e=0;d=0}else{h=0;d=e;f=e;e=0;while(1){i=e+8|0;b:do if(!e){e=h;g=f;while(1){f=g+8|0;h=c[f>>2]|0;if(!(c[g+12>>2]&k)){f=h;break b}c[f>>2]=e;if(!h){e=g;d=0;break a}else{e=g;d=h;g=h}}}else{e=h;while(1){g=f+8|0;h=c[g>>2]|0;if(!(c[f+12>>2]&k)){g=f;f=h;break b}c[i>>2]=h;c[g>>2]=e;if(!h){e=f;break a}else{e=f;f=h}}}while(0);if(!f)break;else{h=e;e=g}}}while(0);c[m>>2]=d;c[l+(j<<2)>>2]=e;j=j+1|0}while((j|0)!=(k|0))}c[o>>2]=n;c[a+172>>2]=n+-1}}else if(!(d>>>0<1025|b>>>0>6)){l=d>>>1;j=a+168|0;k=c[j>>2]|0;h=k+(l<<2)|0;if(!l)g=j;else{g=0;do{i=k+(g<<2)|0;b=c[i>>2]|0;e=c[h+(g<<2)>>2]|0;if(!b)b=e;else{d=b;do{f=d+8|0;d=c[f>>2]|0}while((d|0)!=0);c[f>>2]=e}c[i>>2]=b;g=g+1|0}while((g|0)!=(l|0));g=j;k=c[j>>2]|0}c[o>>2]=l;c[a+172>>2]=l+-1;d=l<<2;n=a+36|0;o=c[n>>2]|0;c[n>>2]=o+-1;if((o|0)<1)Ln(a,2);e=a+8|0;f=a+16|0;b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!((d|0)==0|(b|0)!=0)){Ln(a,0);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,0);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0;if(!b){Ln(a,1);b=ig[c[e>>2]&63](c[f>>2]|0,k,d)|0}}}}}}}}}}c[g>>2]=b}while(0);c[p>>2]=0;return}function Rn(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;p=a+56|0;if(c[p>>2]|0)return;c[p>>2]=1;m=a+32|0;b=c[m>>2]|0;a:do if(b|0){n=a+60|0;o=a+120|0;k=a+12|0;l=a+16|0;j=a+24|0;while(1){a=c[b>>2]|0;d=a&-17;c[b>>2]=d;if(!(c[n>>2]|0)){h=b+4|0;i=c[h>>2]|0;f=c[o>>2]|0;c[b>>2]=d|32;if(!(a&67108864)){g=f+76|0;a=c[g>>2]|0;if(a>>>0>=(c[f+68>>2]|0)>>>0){a=7;break}c[g>>2]=a+16;c[a>>2]=9;c[a+8>>2]=b;c[h>>2]=(c[h>>2]|0)+1;a=f+72|0;if(((c[g>>2]|0)-(c[a>>2]|0)|0)<0){a=9;break}Vn(f,15,0,0,1)|0;e=c[g>>2]|0;if(e-(c[a>>2]|0)>>4>>>0<2){a=12;break}d=f+44|0;q=e+-16|0;f=c[q>>2]|0;a=c[e+-8>>2]|0;c[q>>2]=2;if(f&8|0?(f=a+4|0,q=(c[f>>2]|0)+-1|0,c[f>>2]=q,(q|0)==0):0)Wn(c[d>>2]|0,a);f=e+-32|0;q=c[f>>2]|0;a=c[e+-24>>2]|0;c[f>>2]=2;if(q&8|0?(f=a+4|0,q=(c[f>>2]|0)+-1|0,c[f>>2]=q,(q|0)==0):0)Wn(c[d>>2]|0,a);c[g>>2]=e+-32;a=c[d>>2]|0;if(c[a+32>>2]|0)Rn(a)}if((c[h>>2]|0)!=1)if((i|0)==1){c[b>>2]=c[b>>2]&-33;a=1}else a=1;else a=0}else a=1;f=b+8|0;d=c[f>>2]|0;g=b+12|0;e=c[g>>2]|0;if(d|0)c[d+12>>2]=e;if(!e)c[m>>2]=d;else c[e+8>>2]=d;if(!a){Pn(c[o>>2]|0,b);Bg[c[k>>2]&255](c[l>>2]|0,c[b+16>>2]|0);if((c[b>>2]&-134211584|0)==-1879048192){Bg[c[k>>2]&255](c[l>>2]|0,c[b+64>>2]|0);Bg[c[k>>2]&255](c[l>>2]|0,c[b+84>>2]|0);Bg[c[k>>2]&255](c[l>>2]|0,c[b+104>>2]|0)}Bg[c[k>>2]&255](c[l>>2]|0,b)}else{a=b+4|0;c[a>>2]=(c[a>>2]|0)+-1;c[b>>2]=c[b>>2]&-17;a=c[j>>2]|0;if(a|0)c[a+12>>2]=b;c[g>>2]=0;c[f>>2]=a;c[j>>2]=b}b=c[m>>2]|0;if(!b)break a}if((a|0)==7)Sn(f,3761);else if((a|0)==9)Tn(f,268476,219);else if((a|0)==12)Jn(f,268491,50336767,268507)}while(0);c[p>>2]=0;return}function Sn(a,b){a=a|0;b=b|0;Jn(a,268491,b|50331648,271679)}function Tn(a,b,c){a=a|0;b=b|0;c=c|0;Jn(a,b,c|100663296,271432)}function Un(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=a+76|0;d=c[j>>2]|0;h=a+72|0;f=d-(c[h>>2]|0)|0;i=f>>4;g=i+-1|0;if(!i)$n(a,267,-1);b=c[(c[a+428>>2]|0)+400>>2]|0;i=a+68|0;if(d>>>0>=(c[i>>2]|0)>>>0)Sn(a,3761);c[j>>2]=d+16;c[d>>2]=8;c[d+8>>2]=b;d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=c[h>>2]|0;e=(c[j>>2]|0)-d>>4;b=((f|0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2]|0;K=b+44|0;h=c[K>>2]|0;L=c[h+132>>2]|0;M=c[h+124>>2]|0;N=b+49|0;O=a[N>>0]|0;H=b+40|0;I=c[H>>2]|0;B=b+76|0;s=((c[B>>2]|0)-s>>4)-f|0;if((s|0)>=0){f=h+72|0;i=c[f>>2]|0;c[f>>2]=j;P=AQ(j,1,P|0,G|0)|0;G=z;o=0;f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1)f=z;else f=0}else{o=0;wa(14,b|0,268521,1953);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};i=0;f=z}a:while(1){m=c[K>>2]|0;if(!f){k=m+124|0;j=c[k>>2]|0;f=a[N>>0]|0;h=f&255;if((j|0)==(b|0)){if(f<<24>>24!=2)J=52}else if(f<<24>>24==1){if(!j){h=0;f=0}else{h=c[j+128>>2]|0;f=c[j+124>>2]|0}c[b+124>>2]=f;c[b+128>>2]=h;c[k>>2]=b;a[N>>0]=2}else J=52;if((J|0)==52){J=0;o=0;c[F>>2]=h;ya(11,b|0,268521,100665461,268601,F|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue}f=m+132|0;h=c[f>>2]|0;if((h|0)>=(c[m+136>>2]|0)){o=0;xa(13,b|0,268521,50333763,268535);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue}c[f>>2]=h+1;f=((c[B>>2]|0)-(c[t>>2]|0)>>4)+64|0;k=b+80|0;if((c[k>>2]|0)>>>0>>0){o=0;ba(14,b|0,f|0,4)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}}o=0;j=aa(d|0,b|0,e|0)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}if((j|0)<0){o=0;ua(157,b|0,j|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue}f=(c[B>>2]|0)-(c[E>>2]|0)>>4;if((f|0)<(j|0)){o=0;xa(13,b|0,268521,50333799,268560);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue}r=f-j|0;f=((r|0)>(s|0)?r:s)+g|0;f=((f|0)>0?f:0)+64|0;if((c[k>>2]|0)>>>0>>0){o=0;ba(14,b|0,f|0,4)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}}o=0;ua(158,b|0,r+g|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}b:do if((r|0)<(s|0)){n=s-r|0;if((n|0)>0){q=b+68|0;c:do if((r|0)<0){m=0;while(1){f=c[B>>2]|0;if(f>>>0>=(c[q>>2]|0)>>>0){J=43;break c}j=f+16|0;c[B>>2]=j;h=c[E>>2]|0;j=j-h>>4;f=j+r|0;if(f>>>0>=j>>>0){J=45;break c}k=h+(f<<4)|0;f=h+(j+-1<<4)|0;h=f-k|0;if(h|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];DQ(k+16|0,k|0,h|0)|0;c[k>>2]=c[D>>2];c[k+4>>2]=c[D+4>>2];c[k+8>>2]=c[D+8>>2];c[k+12>>2]=c[D+12>>2]}m=m+1|0;if((m|0)>=(n|0))break b}}else{k=0;while(1){f=c[B>>2]|0;if(f>>>0>=(c[q>>2]|0)>>>0){J=43;break c}h=f+16|0;c[B>>2]=h;f=c[E>>2]|0;h=h-f>>4;if(r>>>0>=h>>>0){J=45;break c}j=f+(r<<4)|0;f=f+(h+-1<<4)|0;h=f-j|0;if(h|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];DQ(j+16|0,j|0,h|0)|0;c[j>>2]=c[D>>2];c[j+4>>2]=c[D+4>>2];c[j+8>>2]=c[D+8>>2];c[j+12>>2]=c[D+12>>2]}k=k+1|0;if((k|0)>=(n|0))break b}}while(0);if((J|0)==43){J=0;o=0;ua(160,b|0,3772);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue a}else if((J|0)==45){J=0;o=0;wa(15,b|0,342,r|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue a}}}else{k=r-s|0;if((k|0)>0){j=0;while(1){f=c[E>>2]|0;h=(c[B>>2]|0)-f>>4;if(s>>>0>=h>>>0)break;n=f+(s<<4)|0;q=f+(h+-1<<4)|0;r=c[n>>2]|0;f=c[f+(s<<4)+8>>2]|0;DQ(n|0,n+16|0,q-n|0)|0;c[q>>2]=2;c[B>>2]=(c[B>>2]|0)+-16;if(r&8|0?(q=f+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0){o=0;ua(159,c[K>>2]|0,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue a}}j=j+1|0;if((j|0)==(k|0))break b}o=0;wa(15,b|0,342,s|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue a}}while(0);f=c[K>>2]|0;if(!(c[f+32>>2]|0)){J=53;break}o=0;oa(213,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}else{J=51;break}}c[m+72>>2]=i;f=c[x>>2]|0;if(f>>>0>y>>>0){k=b+104|0;m=b+84|0;while(1){f=f+-1|0;h=c[k>>2]|0;if(c[h+(f*20|0)+16>>2]&128|0?(r=(c[m>>2]|0)+((c[h+(f*20|0)+8>>2]|0)*48|0)+24|0,A=c[r>>2]|0,q=c[A+20>>2]|0,c[r>>2]=q,q=q+4|0,c[q>>2]=(c[q>>2]|0)+1,q=A+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0){o=0;ua(161,c[K>>2]|0,A|0);h=o;o=0;if((h|0)!=0&(p|0)!=0){j=BQ(c[h>>2]|0,P|0,G|0)|0;if(!j)Of(h|0,p|0);z=p}else j=-1;if((j|0)==1){r=i;f=z;i=r;continue a}}if(f>>>0<=y>>>0)break}}c[x>>2]=y;if(((c[b+108>>2]|0)-y|0)>>>0>=8){o=0;oa(214,b|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}}o=0;ua(162,b|0,w|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}if(((c[b+92>>2]|0)-(c[v>>2]|0)|0)>>>0>=16){o=0;oa(215,b|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}}c[E>>2]=(c[t>>2]|0)+(u<<4);f=c[K>>2]|0;h=f+88|0;j=c[B>>2]|0;r=b+68|0;if(j>>>0>=(c[r>>2]|0)>>>0){o=0;ua(160,b|0,3761);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue}c[B>>2]=j+16;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2];c[j+12>>2]=c[h+12>>2];if(c[h>>2]&8|0){q=(c[f+96>>2]|0)+4|0;c[q>>2]=(c[q>>2]|0)+1}f=s+g|0;f=((f|0)>0?f:0)+64|0;k=b+80|0;h=c[k>>2]|0;if(h>>>0>>0){o=0;ba(14,b|0,f|0,4)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}h=c[k>>2]|0}f=c[B>>2]|0;j=((g|0)>0?g:0)+64+(f-(c[t>>2]|0)>>4)|0;if(h>>>0>>0){o=0;ba(14,b|0,j|0,4)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}f=c[B>>2]|0;h=c[k>>2]|0}k=f-(c[E>>2]|0)|0;j=k>>4;q=j+-1|0;f=((q|0)>(s|0)?q:s)+g|0;f=((f|0)>0?f:0)+64|0;if(h>>>0>>0){o=0;ba(14,b|0,f|0,4)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}}o=0;ua(158,b|0,q+g|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}d:do if((j|0)>(s|0)){k=q-s|0;if((k|0)>0){j=0;while(1){f=c[E>>2]|0;h=(c[B>>2]|0)-f>>4;if(s>>>0>=h>>>0)break;n=f+(s<<4)|0;q=f+(h+-1<<4)|0;r=c[n>>2]|0;f=c[f+(s<<4)+8>>2]|0;DQ(n|0,n+16|0,q-n|0)|0;c[q>>2]=2;c[B>>2]=(c[B>>2]|0)+-16;do if(r&8|0){q=f+4|0;r=(c[q>>2]|0)+-1|0;c[q>>2]=r;if(r|0)break;o=0;ua(159,c[K>>2]|0,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue a}}while(0);j=j+1|0;if((j|0)==(k|0))break d}o=0;wa(15,b|0,342,s|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue a}}else{n=s-q|0;if((n|0)>0){e:do if((k|0)<16){m=0;while(1){f=c[B>>2]|0;if(f>>>0>=(c[r>>2]|0)>>>0){J=99;break e}j=f+16|0;c[B>>2]=j;h=c[E>>2]|0;j=j-h>>4;f=j+q|0;if(f>>>0>=j>>>0){J=101;break e}k=h+(f<<4)|0;f=h+(j+-1<<4)|0;h=f-k|0;if(h|0){c[C>>2]=c[f>>2];c[C+4>>2]=c[f+4>>2];c[C+8>>2]=c[f+8>>2];c[C+12>>2]=c[f+12>>2];DQ(k+16|0,k|0,h|0)|0;c[k>>2]=c[C>>2];c[k+4>>2]=c[C+4>>2];c[k+8>>2]=c[C+8>>2];c[k+12>>2]=c[C+12>>2]}m=m+1|0;if((m|0)>=(n|0))break d}}else{k=0;while(1){f=c[B>>2]|0;if(f>>>0>=(c[r>>2]|0)>>>0){J=99;break e}h=f+16|0;c[B>>2]=h;f=c[E>>2]|0;h=h-f>>4;if(q>>>0>=h>>>0){J=101;break e}j=f+(q<<4)|0;f=f+(h+-1<<4)|0;h=f-j|0;if(h|0){c[C>>2]=c[f>>2];c[C+4>>2]=c[f+4>>2];c[C+8>>2]=c[f+8>>2];c[C+12>>2]=c[f+12>>2];DQ(j+16|0,j|0,h|0)|0;c[j>>2]=c[C>>2];c[j+4>>2]=c[C+4>>2];c[j+8>>2]=c[C+8>>2];c[j+12>>2]=c[C+12>>2]}k=k+1|0;if((k|0)>=(n|0))break d}}while(0);if((J|0)==99){J=0;o=0;ua(160,b|0,3772);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue a}else if((J|0)==101){J=0;o=0;wa(15,b|0,342,q|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){r=BQ(c[f>>2]|0,P|0,G|0)|0;if(!r)Of(f|0,p|0);z=p};r=i;f=z;i=r;continue a}}}while(0);f=c[K>>2]|0;c[f+76>>2]=0;c[f+80>>2]=0;q=f+88|0;r=c[q>>2]|0;h=c[f+96>>2]|0;c[q>>2]=2;if((r&8|0)!=0?(q=h+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0){o=0;ua(159,f|0,h|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}f=c[K>>2]|0}q=f+104|0;r=c[q>>2]|0;h=c[f+112>>2]|0;c[q>>2]=2;if((r&8|0)!=0?(q=h+4|0,r=(c[q>>2]|0)+-1|0,c[q>>2]=r,(r|0)==0):0){o=0;ua(159,f|0,h|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r;continue}f=c[K>>2]|0}r=f+56|0;c[r>>2]=(c[r>>2]|0)+-1;if(!(c[f+32>>2]|0)){j=1;break}o=0;oa(213,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){h=BQ(c[f>>2]|0,P|0,G|0)|0;if(!h)Of(f|0,p|0);z=p}else h=-1;if((h|0)==1){r=i;f=z;i=r}else{J=115;break}}if((J|0)==51){f=c[K>>2]|0;J=53}else if((J|0)==115){j=1;f=c[K>>2]|0}if((J|0)==53){c[f+72>>2]=i;j=0}c[H>>2]=I;i=f+124|0;if(!M){K=f;c[i>>2]=M;a[N>>0]=O;O=K+132|0;c[O>>2]=L;UM(P|0);l=Q;return j|0}f=c[i>>2]|0;if(!f){h=0;f=0}else{h=c[f+128>>2]|0;f=c[f+124>>2]|0}c[M+124>>2]=f;c[M+128>>2]=h;K=c[K>>2]|0;c[i>>2]=M;a[N>>0]=O;O=K+132|0;c[O>>2]=L;UM(P|0);l=Q;return j|0}function Wn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(c[a+48>>2]|0)return;f=c[b>>2]|0;switch(f&3){case 0:{d=a+188|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+200|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+212|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+224|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;f=a+180|0;c[f>>2]=(c[f>>2]|0)+-1;f=(c[a+168>>2]|0)+((c[a+172>>2]&c[b+12>>2])<<2)|0;e=0;d=f;while(1){d=c[d>>2]|0;if((d|0)==(b|0))break;else{e=d;d=d+8|0}}c[(e|0?e+8|0:f)>>2]=c[b+8>>2];Bg[c[a+12>>2]&255](c[a+16>>2]|0,b);return}case 1:{Xn(a,b,1);return}default:{d=c[b+8>>2]|0;e=c[b+12>>2]|0;if(!e)c[a+24>>2]=d;else c[e+8>>2]=d;if(d|0)c[d+12>>2]=e;if((f&384|0)==128){e=a+12|0;d=a+16|0;Bg[c[e>>2]&255](c[d>>2]|0,c[b+20>>2]|0)}else{e=a+12|0;d=a+16|0}Bg[c[e>>2]&255](c[d>>2]|0,b);return}}}function Xn(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=b+8|0;e=c[i>>2]|0;k=b+12|0;f=c[k>>2]|0;if(!f)c[a+24>>2]=e;else c[f+8>>2]=e;if(!e){e=1e4;f=b}else{c[e+12>>2]=f;e=1e4;f=b}while(1){if(c[f>>2]&2097152|0){h=9;break}if(!e)break;f=c[f+20>>2]|0;if(!f)break;else e=e+-1|0}if((h|0)==9?(g=c[b>>2]|0,(g&32|0)==0):0){c[b>>2]=g|16;e=b+4|0;c[e>>2]=(c[e>>2]|0)+1;e=a+32|0;f=c[e>>2]|0;c[k>>2]=0;if(f|0)c[f+12>>2]=b;c[i>>2]=f;c[e>>2]=b;if(d|0)return;if(c[a+28>>2]|0)return;Rn(a);return}j=a+28|0;e=c[j>>2]|0;c[k>>2]=0;c[j>>2]=b;if(e|0){c[e+12>>2]=b;return}g=a+120|0;h=a+12|0;i=a+16|0;e=b;do{Pn(c[g>>2]|0,e);f=e;e=c[e+12>>2]|0;Bg[c[h>>2]&255](c[i>>2]|0,c[f+16>>2]|0);if((c[f>>2]&-134211584|0)==-1879048192){Bg[c[h>>2]&255](c[i>>2]|0,c[f+64>>2]|0);Bg[c[h>>2]&255](c[i>>2]|0,c[f+84>>2]|0);Bg[c[h>>2]&255](c[i>>2]|0,c[f+104>>2]|0)}Bg[c[h>>2]&255](c[i>>2]|0,f)}while((e|0)!=0);c[j>>2]=0;if(d|0)return;if(!(c[a+32>>2]|0))return;Rn(a);return}function Yn(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;p=d&4;s=a+80|0;q=(c[s>>2]|0)>>>0>>0;j=(d&2|0)==0?(q?b:b+64|0)+128&-128:b;if(j>>>0>(c[a+52>>2]|0)>>>0)if(!p){s=0;return s|0}else Jn(a,268491,50332389,271664);k=a+72|0;l=c[k>>2]|0;i=a+64|0;m=c[i>>2]|0;n=a+76|0;o=c[n>>2]|0;d=j<<4;e=c[a+44>>2]|0;g=e+36|0;h=c[g>>2]|0;c[g>>2]=h+-1;if((h|0)<1){Ln(e,2);h=i;b=c[i>>2]|0}else{h=i;b=m}f=e+8|0;g=e+16|0;b=ig[c[f>>2]&63](c[g>>2]|0,b,d)|0;if((d|0)==0|(b|0)!=0){if(b|0)r=11}else{Ln(e,0);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,0);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,1);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,1);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,1);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,1);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,1);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,1);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,1);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(!b){Ln(e,1);b=ig[c[f>>2]&63](c[g>>2]|0,c[h>>2]|0,d)|0;if(b|0)r=11}else r=11}else r=11}else r=11}else r=11}else r=11}else r=11}else r=11}else r=11}else r=11}if((r|0)==11){a=a+68|0;r=(c[a>>2]|0)-(c[i>>2]|0)|0;c[h>>2]=b;d=b+(j<<4)|0;c[a>>2]=d;c[s>>2]=j;c[k>>2]=b+(l-m);c[n>>2]=b+(o-m);b=b+r|0;if(b>>>0>=d>>>0){s=1;return s|0}do{c[b>>2]=2;b=b+16|0}while(b>>>0>>0);b=1;return b|0}if(!q){s=1;return s|0}if(!p){s=0;return s|0}else Mn(a,268491,768);return 0}function Zn(a,b){a=a|0;b=b|0;var d=0;d=l;l=l+16|0;c[d>>2]=b;Sq(a,0-b|0,0,0,271649,d)}function _n(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=a+76|0;d=c[h>>2]|0;f=c[a+72>>2]|0;g=d-f>>4;e=((b|0)<0?g:0)+b|0;if(e>>>0>(c[a+68>>2]|0)-f>>4>>>0)$n(a,435,b);if(e>>>0>=g>>>0){c[h>>2]=f+(e<<4);return}f=d+(e-g<<4)|0;b=a+44|0;do{a=c[d+-16>>2]|0;e=c[d+-8>>2]|0;d=d+-16|0;c[d>>2]=2;if(a&8|0?(g=e+4|0,a=(c[g>>2]|0)+-1|0,c[g>>2]=a,(a|0)==0):0)Wn(c[b>>2]|0,e)}while((d|0)!=(f|0));c[h>>2]=f;d=c[b>>2]|0;if(!(c[d+32>>2]|0))return;Rn(d);return}function $n(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=l;l=l+16|0;c[e>>2]=d;ao(a,268491,b|50331648,271625,e)}function ao(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;h=l;l=l+272|0;i=h;h=h+16|0;c[i>>2]=g;BN(h,256,f,i)|0;a[h+255>>0]=0;Oq(b,e>>>24,h,d,e&16777215)}function bo(a,b){a=a|0;b=b|0;if(c[a+48>>2]|0)return;Xn(a,b,1);return}function co(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;i=(c[a+112>>2]|0)+4|0;f=c[a+44>>2]|0;g=i*20|0;e=f+36|0;h=c[e>>2]|0;c[e>>2]=h+-1;if((h|0)<1)Ln(f,2);d=f+8|0;e=f+16|0;h=a+104|0;b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if((g|0)==0|(b|0)!=0){if(!b)return}else{Ln(f,0);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,0);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[h>>2]|0,g)|0;if(!b)return}}}}}}}}}}c[h>>2]=b;c[a+108>>2]=i;return}function eo(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=a+96|0;d=c[p>>2]|0;a:do if(d>>>0>b>>>0){s=a+84|0;o=a+44|0;t=a+64|0;u=a+76|0;v=a+68|0;w=a+100|0;b:while(1){d=d+-1|0;e=c[s>>2]|0;f=e+(d*48|0)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o>>2]|0,f);c[e>>2]=0;if(d>>>0<=b>>>0)break a}Sn(a,3761)}while(0);c[p>>2]=b;if(!b){v=0;w=a+88|0;c[w>>2]=v;return}v=(c[a+84>>2]|0)+(b*48|0)+-48|0;w=a+88|0;c[w>>2]=v;return}function fo(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+96|0;j=(c[h>>2]|0)+8|0;f=c[a+44>>2]|0;g=j*48|0;e=f+36|0;i=c[e>>2]|0;c[e>>2]=i+-1;if((i|0)<1)Ln(f,2);d=f+8|0;e=f+16|0;i=a+84|0;b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if((g|0)==0|(b|0)!=0){if(!b)return}else{Ln(f,0);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,0);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[i>>2]|0,g)|0;if(!b)return}}}}}}}}}}c[i>>2]=b;c[a+92>>2]=j;j=c[h>>2]|0;c[a+88>>2]=(j|0)==0?0:b+(j*48|0)+-48|0;return}function go(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(c[a+48>>2]|0)return;f=c[b>>2]|0;switch(f&3){case 0:{d=a+188|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+200|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+212|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=a+224|0;if((c[d>>2]|0)==(b|0))c[d>>2]=0;f=a+180|0;c[f>>2]=(c[f>>2]|0)+-1;f=(c[a+168>>2]|0)+((c[a+172>>2]&c[b+12>>2])<<2)|0;e=0;d=f;while(1){d=c[d>>2]|0;if((d|0)==(b|0))break;else{e=d;d=d+8|0}}c[(e|0?e+8|0:f)>>2]=c[b+8>>2];Bg[c[a+12>>2]&255](c[a+16>>2]|0,b);return}case 1:{Xn(a,b,0);return}default:{d=c[b+8>>2]|0;e=c[b+12>>2]|0;if(!e)c[a+24>>2]=d;else c[e+8>>2]=d;if(d|0)c[d+12>>2]=e;if((f&384|0)==128){e=a+12|0;d=a+16|0;Bg[c[e>>2]&255](c[d>>2]|0,c[b+20>>2]|0)}else{e=a+12|0;d=a+16|0}Bg[c[e>>2]&255](c[d>>2]|0,b);return}}}function ho(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;m=r;q=f&15;g=c[e+16>>2]|0;do if(io(b,d,e,g,m,0)|0){j=c[m+12>>2]|0;k=(f&16|0)!=0;if((j|0)>-1){if(k)break;f=d+16|0;g=(c[f>>2]|0)+((c[d+24>>2]|0)*20|0)+j|0;if(!(a[g>>0]&8)){a[g>>0]=q;k=(c[f>>2]|0)+(j<<4)|0;n=39;break}else lo(b,268642,4703)}f=c[m+20>>2]|0;if((f|0)>-1){if(k)break;if((q|0)==7){k=c[d+24>>2]|0;k=(c[d+16>>2]|0)+(k*21|0)+(0-k&7)+(f<<4)|0;n=39;break}else lo(b,268642,4703)}if(!k){if((c[(c[b+428>>2]|0)+320>>2]|0)!=(e|0))lo(b,268642,4703);if(!(c[d>>2]&4194304))lo(b,268642,4703);f=c[b+76>>2]|0;g=f+-16|0;if(!(c[g>>2]|0))i=+h[f+-8>>3];else i=+jo(b,g);f=~~i>>>0;if(+(f>>>0)!=i)Jn(b,268642,50334652,268662);else{c[d+40>>2]=f;break}}}else{if((g|0)!=-1&(c[d>>2]&32768|0)!=0){if(g>>>0<(c[d+32>>2]|0)>>>0)f=d+24|0;else{f=d+24|0;ko(b,d,c[f>>2]|0,((g+16|0)>>>3)+g|0,c[d+36>>2]|0,0)}k=c[f>>2]|0;k=(c[d+16>>2]|0)+(k*21|0)+(0-k&7)+(g<<4)|0;n=39;break}n=d+28|0;m=c[n>>2]|0;p=d+24|0;f=c[p>>2]|0;if(m>>>0>=f>>>0){if(!m)f=0;else{g=0;k=0;j=(c[d+16>>2]|0)+(f<<4)|0;while(1){f=((c[j>>2]|0)!=0&1)+g|0;k=k+1|0;if((k|0)==(m|0))break;else{g=f;j=j+4|0}}}j=((f+16|0)>>>3)+f|0;do if(j>>>0>7){if(j>>>0>63){f=2;g=j;do{o=g;g=g>>>6;f=f<<6}while(o>>>0>4095);if(!g)break}else{f=2;g=j}do{g=g>>>1;f=f<<1}while((g|0)!=0)}else f=0;while(0);ko(b,d,j,c[d+32>>2]|0,f,0);m=c[n>>2]|0;f=c[p>>2]|0}c[n>>2]=m+1;o=d+16|0;c[(c[o>>2]|0)+(f<<4)+(m<<2)>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[d+36>>2]|0;n=c[o>>2]|0;if(g){k=n+(f*21|0)+(0-f&7)+(c[d+32>>2]<<4)|0;j=g+-1|0;f=c[e+12>>2]|0;while(1){f=f&j;g=k+(f<<2)|0;if((c[g>>2]|0)>>>0>4294967293)break;else f=f+1|0}c[g>>2]=m;f=c[p>>2]|0}a[n+(f*20|0)+m>>0]=q;k=(c[o>>2]|0)+(m<<4)|0;c[k>>2]=2;n=39}while(0);do if((n|0)==39){g=c[b+72>>2]|0;f=(c[b+76>>2]|0)-g>>4;if(!f)$n(b,342,-1);f=f+-1|0;j=g+(f<<4)|0;if(c[j>>2]&8|0){q=(c[g+(f<<4)+8>>2]|0)+4|0;c[q>>2]=(c[q>>2]|0)+1}if(!(c[k>>2]&8)){c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];c[k+12>>2]=c[j+12>>2];break}f=c[k+8>>2]|0;c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];c[k+12>>2]=c[j+12>>2];d=f+4|0;q=(c[d>>2]|0)+-1|0;c[d>>2]=q;if(!q)go(c[b+44>>2]|0,f)}while(0);f=b+76|0;g=c[f>>2]|0;if((g|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);d=g+-16|0;c[f>>2]=d;q=c[g+-16>>2]|0;f=c[g+-8>>2]|0;c[d>>2]=2;if(!(q&8)){l=r;return}d=f+4|0;q=(c[d>>2]|0)+-1|0;c[d>>2]=q;if(q|0){l=r;return}go(c[b+44>>2]|0,f);l=r;return}function io(e,f,g,i,j,k){e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;k=k|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,B=0,C=0,D=0,E=0,F=0,G=0.0;F=l;l=l+32|0;A=F+28|0;D=F+24|0;B=F;c[j>>2]=0;x=j+4|0;c[x>>2]=0;w=j+8|0;c[w>>2]=0;u=j+12|0;c[u>>2]=-1;v=j+16|0;c[v>>2]=-1;p=j+20|0;c[p>>2]=-1;q=c[f>>2]|0;C=(i|0)!=-1;do if(C&(q&32768|0)!=0){if((c[f+32>>2]|0)>>>0>i>>>0?(r=c[f+24>>2]|0,r=(c[f+16>>2]|0)+(r*21|0)+(0-r&7)|0,s=r+(i<<4)|0,t=c[s>>2]|0,(t|0)!=7):0){m=(k&1|0)==0;if(!m){n=e+76|0;o=c[n>>2]|0;if(o>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,3761);c[n>>2]=o+16;c[o>>2]=c[s>>2];c[o+4>>2]=c[s+4>>2];c[o+8>>2]=c[s+8>>2];c[o+12>>2]=c[s+12>>2];if(t&8|0){k=(c[r+(i<<4)+8>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+1}}c[j>>2]=7;c[p>>2]=i;E=111}}else{n=c[f+36>>2]|0;s=f+24|0;m=c[s>>2]|0;t=c[f+16>>2]|0;a:do if(!n){n=t+(m<<4)|0;o=c[f+28>>2]|0;if(!o){m=-1;E=21}else{m=0;while(1){if((c[n+(m<<2)>>2]|0)==(g|0)){E=21;break a}m=m+1|0;if(m>>>0>=o>>>0){m=-1;E=21;break}}}}else{r=t+(m*21|0)+(0-m&7)+(c[f+32>>2]<<4)|0;p=n+-1|0;m=c[g+12>>2]&p;q=-1;b:while(1){n=c[r+(m<<2)>>2]|0;switch(n|0){case -1:{o=19;break}case -2:{E=18;break}default:if((c[t+(c[s>>2]<<4)+(n<<2)>>2]|0)==(g|0)){c[u>>2]=n;c[v>>2]=m;o=1;q=n}else E=18}if((E|0)==18){E=0;o=0;m=m+1&p}switch(o&31){case 19:{m=-1;E=21;break a}case 0:break;default:break b}}if(!o){m=-1;E=21}}while(0);if((E|0)==21){c[u>>2]=m;c[v>>2]=-1;q=m}if((q|0)<=-1){q=c[f>>2]|0;break}E=d[t+((c[s>>2]|0)*20|0)+q>>0]|0;c[j>>2]=E;p=t+(q<<4)|0;o=(k&1|0)!=0;if(E&8|0){c[x>>2]=c[p>>2];c[w>>2]=c[t+(q<<4)+4>>2];if(!o){e=1;l=F;return e|0}m=e+76|0;n=c[m>>2]|0;if(n>>>0<(c[e+68>>2]|0)>>>0){c[m>>2]=n+16;m=0;E=111;break}else Sn(e,3772)}if(!o){e=1;l=F;return e|0}m=e+76|0;n=c[m>>2]|0;if(n>>>0>=(c[e+68>>2]|0)>>>0)Sn(e,3761);c[m>>2]=n+16;c[n>>2]=c[p>>2];c[n+4>>2]=c[p+4>>2];c[n+8>>2]=c[p+8>>2];c[n+12>>2]=c[p+12>>2];if(!(c[p>>2]&8)){m=0;E=111}else{m=(c[t+(q<<4)+8>>2]|0)+4|0;c[m>>2]=(c[m>>2]|0)+1;m=0;E=111}}while(0);if((E|0)==111){if(m|C&(c[f>>2]&16777216|0)!=0^1){e=1;l=F;return e|0}if(Cp(e,f,g,B,A,D)|0){r=e+76|0;o=c[r>>2]|0;q=e+72|0;n=c[q>>2]|0;m=o-n>>4;m=m|0?n+(m+-1<<4)|0:0;m=(m|0)==0?944:m;if((c[m>>2]|0)!=8)In(e,1812,-1,287470);p=c[m+8>>2]|0;if(!p)In(e,1812,-1,287470);if((o|0)==(n|0))Jn(e,268491,50336874,268507);k=o+-16|0;c[r>>2]=k;j=c[o+-16>>2]|0;m=c[o+-8>>2]|0;c[k>>2]=2;if(j&8|0?(k=m+4|0,j=(c[k>>2]|0)+-1|0,c[k>>2]=j,(j|0)==0):0)go(c[e+44>>2]|0,m);Yo(e,c[D>>2]|0,0,p,1)|0;m=c[r>>2]|0;o=c[q>>2]|0;if((m|0)==(o|0))Jn(e,268491,50336874,268507);k=m+-16|0;c[r>>2]=k;j=c[m+-16>>2]|0;n=c[m+-8>>2]|0;c[k>>2]=2;m=k;if((j&8|0)!=0?(k=n+4|0,j=(c[k>>2]|0)+-1|0,c[k>>2]=j,(j|0)==0):0){go(c[e+44>>2]|0,n);o=c[q>>2]|0;m=c[r>>2]|0}n=m-o>>4;m=n+-2|0;if(n>>>0<=1)$n(e,342,-2);f=o+(m<<4)|0;k=o+(n+-1<<4)|0;j=c[f>>2]|0;m=c[o+(m<<4)+8>>2]|0;DQ(f|0,f+16|0,k-f|0)|0;c[k>>2]=2;c[r>>2]=(c[r>>2]|0)+-16;if(j&8|0?(k=m+4|0,j=(c[k>>2]|0)+-1|0,c[k>>2]=j,(j|0)==0):0)go(c[e+44>>2]|0,m)}e=1;l=F;return e|0}if(!(q&46145536)){e=0;l=F;return e|0}if(q&4194304|0){if((c[(c[e+428>>2]|0)+320>>2]|0)!=(g|0)){e=0;l=F;return e|0}do if(k&1|0){m=e+76|0;n=c[m>>2]|0;if(n>>>0<(c[e+68>>2]|0)>>>0){G=+((c[f+40>>2]|0)>>>0);c[m>>2]=n+16;c[n>>2]=0;h[n+8>>3]=G;break}else Sn(e,3902)}while(0);c[j>>2]=16;c[j>>2]=(c[f+44>>2]|0)==0?17:16;e=1;l=F;return e|0}if(!(q&8388608)){if(!(q&8192)){if(!(q&33554432)){e=0;l=F;return e|0}if((c[(c[e+428>>2]|0)+320>>2]|0)!=(g|0)){e=0;l=F;return e|0}do if(k&1|0){m=b[f+44>>1]|0;n=e+76|0;o=c[n>>2]|0;if(o>>>0<(c[e+68>>2]|0)>>>0){c[n>>2]=o+16;c[o>>2]=0;h[o+8>>3]=m<<16>>16==-1?0.0:+(m<<16>>16);break}else Sn(e,3868)}while(0);c[j>>2]=16;e=1;l=F;return e|0}p=c[f+40>>2]|0;if(C?a[f+58>>0]|0:0){m=d[f+56>>0]|0;if((c[f+52>>2]|0)>>>m>>>0<=i>>>0){e=0;l=F;return e|0}o=i<>2]|0,(o+n+y|0)>>>0<=(c[p+16>>2]|0)>>>0):0){if(!(c[p>>2]&128))m=p+24|0;else m=c[p+20>>2]|0;Lq(e,a[f+57>>0]|0,m+y+o|0,n);z=c[f>>2]|0;break}m=e+76|0;n=c[m>>2]|0;if(n>>>0<(c[e+68>>2]|0)>>>0){c[m>>2]=n+16;c[n>>2]=0;h[n+8>>3]=0.0;z=q;break}else Sn(e,3902)}else z=q;while(0);c[j>>2]=(z&-134217728|0)==-1744830464?17:19;e=1;l=F;return e|0}if((c[(c[e+428>>2]|0)+320>>2]|0)!=(g|0)){e=0;l=F;return e|0}if(!(a[f+58>>0]|0)){e=0;l=F;return e|0}do if(k&1|0){m=e+76|0;n=c[m>>2]|0;if(n>>>0<(c[e+68>>2]|0)>>>0){G=+((c[f+52>>2]|0)>>>(d[f+56>>0]|0)>>>0);c[m>>2]=n+16;c[n>>2]=0;h[n+8>>3]=G;break}else Sn(e,3902)}while(0);c[j>>2]=16;e=1;l=F;return e|0}if(C){t=c[(c[e+44>>2]|0)+592>>2]|0;m=c[f+36>>2]|0;n=c[f+24>>2]|0;u=c[f+16>>2]|0;c:do if(!m){o=u+(n<<4)|0;n=c[f+28>>2]|0;if(!n){m=-1;E=54}else{m=0;while(1){if((c[o+(m<<2)>>2]|0)==(t|0)){E=54;break c}m=m+1|0;if(m>>>0>=n>>>0){m=-1;E=54;break}}}}else{s=u+(n*21|0)+(0-n&7)+(c[f+32>>2]<<4)|0;r=m+-1|0;q=u+(n<<4)|0;m=0;n=c[t+12>>2]&r;d:while(1){o=c[s+(n<<2)>>2]|0;switch(o|0){case -1:{p=19;break}case -2:{E=51;break}default:if((c[q+(o<<2)>>2]|0)==(t|0)){p=1;m=o}else E=51}if((E|0)==51){E=0;p=0;n=n+1&r}switch(p&31){case 19:{m=-1;E=54;break c}case 0:break;default:break d}}if(!p){m=-1;E=54}}while(0);if((m|0)>-1){p=c[u+(m<<4)+8>>2]|0;o=p}else{o=0;p=0}if((wp(o)|0)>>>0<=i>>>0){e=0;l=F;return e|0}do if(k&1|0){m=e+76|0;n=c[m>>2]|0;if(n>>>0<(c[e+68>>2]|0)>>>0){c[m>>2]=n+16;c[n>>2]=8;c[n+8>>2]=o;k=p+4|0;c[k>>2]=(c[k>>2]|0)+1;Nq(e,i,i+1|0);break}else Sn(e,3761)}while(0);c[j>>2]=18;e=1;l=F;return e|0}else{if((c[(c[e+428>>2]|0)+320>>2]|0)!=(g|0)){e=0;l=F;return e|0}s=c[(c[e+44>>2]|0)+592>>2]|0;m=c[f+36>>2]|0;n=c[f+24>>2]|0;t=c[f+16>>2]|0;e:do if(!m){o=t+(n<<4)|0;n=c[f+28>>2]|0;if(!n){m=-1;E=74}else{m=0;while(1){if((c[o+(m<<2)>>2]|0)==(s|0)){E=74;break e}m=m+1|0;if(m>>>0>=n>>>0){m=-1;E=74;break}}}}else{r=t+(n*21|0)+(0-n&7)+(c[f+32>>2]<<4)|0;q=m+-1|0;p=t+(n<<4)|0;m=0;o=c[s+12>>2]&q;f:while(1){n=c[r+(o<<2)>>2]|0;switch(n|0){case -1:{n=19;break}case -2:{E=71;break}default:if((c[p+(n<<2)>>2]|0)==(s|0)){m=n;n=1}else E=71}if((E|0)==71){E=0;n=0;o=o+1&q}switch(n&31){case 19:{m=-1;E=74;break e}case 0:break;default:break f}}if(!n){m=-1;E=74}}while(0);if((m|0)>-1)m=c[t+(m<<4)+8>>2]|0;else m=0;do if(k&1|0){m=wp(m)|0;n=e+76|0;o=c[n>>2]|0;if(o>>>0<(c[e+68>>2]|0)>>>0){c[n>>2]=o+16;c[o>>2]=0;h[o+8>>3]=+(m>>>0);break}else Sn(e,3902)}while(0);c[j>>2]=16;e=1;l=F;return e|0}return 0}function jo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,g=0;d=c[b>>2]|0;switch(d|0){case 3:{f=0.0;return +f}case 4:{f=(c[b+8>>2]|0)==0?0.0:1.0;return +f}case 8:{e=c[b+8>>2]|0;if(c[e>>2]&512|0)Jn(a,268734,100663518,268747);b=a+76|0;d=c[b>>2]|0;if(d>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[b>>2]=d+16;c[d>>2]=8;c[d+8>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;oo(a,10,28667);g=c[b>>2]|0;a=g+-16|0;c[b>>2]=a;f=+h[g+-8>>3];c[a>>2]=2;return +f}case 9:case 10:{g=a+76|0;e=c[g>>2]|0;if(e>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[g>>2]=e+16;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];if(d&8|0){e=(c[b+8>>2]|0)+4|0;c[e>>2]=(c[e>>2]|0)+1}po(a,-1,2);e=a+72|0;d=c[e>>2]|0;b=(c[g>>2]|0)-d>>4;f=+jo(a,b|0?d+(b+-1<<4)|0:0);b=c[g>>2]|0;if((b|0)==(c[e>>2]|0))Jn(a,268491,50336874,268507);e=b+-16|0;c[g>>2]=e;g=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[e>>2]=2;if(!(g&8))return +f;e=b+4|0;g=(c[e>>2]|0)+-1|0;c[e>>2]=g;if(g|0)return +f;go(c[a+44>>2]|0,b);return +f}case 5:{f=c[b+8>>2]|0?1.0:0.0;return +f}case 6:case 2:{f=s;return +f}default:{f=+h[b+8>>3];return +f}}return 0.0}function ko(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,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;if((f+e|0)>>>0>1073741823)Mn(b,268642,635);G=b+44|0;m=c[G>>2]|0;n=m+44|0;E=c[n>>2]|0;c[n>>2]=E|4;n=m+56|0;c[n>>2]=(c[n>>2]|0)+1;n=0-e&7;B=f<<4;C=g<<2;j=(e*21|0)+n+B+C|0;if(j){z=m+36|0;A=c[z>>2]|0;c[z>>2]=A+-1;if((A|0)<1)Ln(m,2);k=m+4|0;l=m+16|0;i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,0);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,0);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,1);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,1);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,1);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,1);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,1);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,1);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,1);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){Ln(m,1);i=hg[c[k>>2]&63](c[l>>2]|0,j)|0;if(!i){A=0;z=c[G>>2]|0;y=z+12|0;y=c[y>>2]|0;z=z+16|0;z=c[z>>2]|0;Bg[y&255](z,A);A=c[G>>2]|0;z=A+56|0;y=c[z>>2]|0;y=y+-1|0;c[z>>2]=y;A=A+44|0;c[A>>2]=E;Mn(b,268642,982)}else D=i}else D=i}else D=i}else D=i}else D=i}else D=i}else D=i}else D=i}else D=i}else D=i}else D=i}else D=0;A=D+(e<<4)|0;w=A+(e<<2)|0;x=w+e+n|0;z=x+(f<<4)|0;y=(h|0)!=0;if(y){n=d+32|0;i=c[n>>2]|0;do if(i){h=d+16|0;o=d+24|0;s=b+76|0;p=b+64|0;q=b+80|0;r=b+68|0;l=0;m=0;while(1){k=c[o>>2]|0;k=(c[h>>2]|0)+(k*21|0)+(0-k&7)+(m<<4)|0;if((c[k>>2]|0)!=7){i=((c[s>>2]|0)-(c[p>>2]|0)>>4)+65|0;if((c[q>>2]|0)>>>0>>0?(Yn(b,i,0)|0)==0:0){i=D;j=40;break}i=mo(c[G>>2]|0,m)|0;if(!i){i=D;j=40;break}j=c[s>>2]|0;if(j>>>0>=(c[r>>2]|0)>>>0){j=18;break}c[s>>2]=j+16;c[j>>2]=8;c[j+8>>2]=i;j=i+4|0;c[j>>2]=(c[j>>2]|0)+1;c[A+(l<<2)>>2]=i;i=D+(l<<4)|0;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];a[w+l>>0]=7;l=l+1|0;i=c[n>>2]|0}m=m+1|0;if(m>>>0>=i>>>0){j=21;break}}if((j|0)==18)Sn(b,3761);else if((j|0)==21){i=c[s>>2]|0;if((l|0)>0)j=l;else{t=i;u=l;v=s;break}while(1){i=i+-16|0;c[i>>2]=2;if((j|0)>1)j=j+-1|0;else{t=i;u=l;v=s;break}}}else if((j|0)==40){s=c[G>>2]|0;r=s+12|0;r=c[r>>2]|0;s=s+16|0;s=c[s>>2]|0;Bg[r&255](s,i);s=c[G>>2]|0;r=s+56|0;q=c[r>>2]|0;q=q+-1|0;c[r>>2]=q;s=s+44|0;c[s>>2]=E;Mn(b,268642,982)}}else{v=b+76|0;t=c[v>>2]|0;u=0}while(0);c[v>>2]=t;i=u}else i=0;h=d+28|0;j=c[h>>2]|0;if(!j)l=i;else{m=d+16|0;n=d+24|0;l=0;do{k=c[(c[m>>2]|0)+(c[n>>2]<<4)+(l<<2)>>2]|0;if(k){c[A+(i<<2)>>2]=k;j=D+(i<<4)|0;b=(c[m>>2]|0)+(l<<4)|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];a[w+i>>0]=a[(c[m>>2]|0)+((c[n>>2]|0)*20|0)+l>>0]|0;i=i+1|0;j=c[h>>2]|0}l=l+1|0}while(l>>>0>>0);l=i}m=d+32|0;i=c[m>>2]|0;j=i>>>0>>0?i<<4:B;if(j){i=c[d+24>>2]|0;CQ(x|0,(c[d+16>>2]|0)+(i*21|0)+(0-i&7)|0,j|0)|0;i=c[m>>2]|0}if(i>>>0>>0)do{c[x+(i<<4)>>2]=7;i=i+1|0}while((i|0)!=(f|0));if(g|0?(EQ(z|0,-1,C|0)|0,F=g+-1|0,l|0):0){k=0;do{i=c[(c[A+(k<<2)>>2]|0)+12>>2]|0;while(1){i=i&F;j=z+(i<<2)|0;if((c[j>>2]|0)==-1)break;else i=i+1|0}c[j>>2]=k;k=k+1|0}while((k|0)!=(l|0))}C=c[G>>2]|0;F=d+16|0;Bg[c[C+12>>2]&255](c[C+16>>2]|0,c[F>>2]|0);c[F>>2]=D;c[d+24>>2]=e;c[h>>2]=l;c[m>>2]=f;c[d+36>>2]=g;if(!y){G=c[G>>2]|0;g=G+56|0;f=c[g>>2]|0;f=f+-1|0;c[g>>2]=f;G=G+44|0;c[G>>2]=E;return}c[d>>2]=c[d>>2]&-32769;G=c[G>>2]|0;g=G+56|0;f=c[g>>2]|0;f=f+-1|0;c[g>>2]=f;G=G+44|0;c[G>>2]=E;return}function lo(a,b,c){a=a|0;b=b|0;c=c|0;Jn(a,b,c|16777216,268683)}function mo(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=l;l=l+16|0;f=j+10|0;i=f;while(1){i=i+-1|0;a[i>>0]=a[268698+((e>>>0)%10|0)>>0]|0;if(e>>>0<=9)break;else e=(e>>>0)/10|0}h=f-i|0;e=c[b+140>>2]^h;g=(h>>>5)+1|0;if(g>>>0>h>>>0)f=e;else{f=h;do{e=(d[i+(f+-1)>>0]|0)+(e*33|0)|0;f=f-g|0}while(f>>>0>=g>>>0);f=e}e=c[(c[b+168>>2]|0)+((c[b+172>>2]&f)<<2)>>2]|0;a:do if(e|0){while(1){if(((c[e+12>>2]|0)==(f|0)?(c[e+20>>2]|0)==(h|0):0)?(xN(i,e+28|0,h)|0)==0:0)break;e=c[e+8>>2]|0;if(!e)break a}l=j;return e|0}while(0);b=no(b,i,h,f)|0;l=j;return b|0}function no(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;m=b+56|0;c[m>>2]=(c[m>>2]|0)+1;o=b+180|0;if(!(c[o>>2]&255))Qn(b);i=f+29|0;k=b+36|0;l=c[k>>2]|0;c[k>>2]=l+-1;if((l|0)<1)Ln(b,2);j=b+4|0;k=b+16|0;h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if((i|0)==0|(h|0)!=0){if(!h)p=25}else{Ln(b,0);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,0);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,1);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,1);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,1);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,1);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,1);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,1);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,1);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h){Ln(b,1);h=hg[c[j>>2]&63](c[k>>2]|0,i)|0;if(!h)p=25}}}}}}}}}}if((p|0)==25){c[m>>2]=(c[m>>2]|0)+-1;p=0;return p|0}l=h+28|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[h+24>>2]=0;CQ(l|0,e|0,f|0)|0;a[l+f>>0]=0;c[h+20>>2]=f;c[h+12>>2]=g;a:do if(!f)p=17;else{i=0;e=l;b:while(1){k=d[e>>0]|0;e=e+1|0;j=k+-48|0;if(j>>>0>=10){p=17;break a}if(i>>>0<=429496728){i=j+(i*10|0)|0;if(!i){j=(f|0)==1?1:2;i=0;p=14}}else{p=(i|0)!=429496729|j>>>0>5;j=p?2:0;i=p?i:k+-54|0;p=14}if((p|0)==14){p=0;switch(j&3){case 2:{p=17;break a}case 0:break;default:{p=15;break b}}}f=f+-1|0;if(!f){p=18;break}}if((p|0)==15)c[h+16>>2]=0;else if((p|0)==18?(c[h+16>>2]=i,(i|0)==-1):0){p=20;break}c[h>>2]=c[h>>2]|384}while(0);if((p|0)==17){c[h+16>>2]=-1;p=20}do if((p|0)==20?(n=a[l>>0]|0,n<<24>>24<0):0){if(n<<24>>24==-1){c[h>>2]=c[h>>2]|1536;break}if((n&255)<192)c[h>>2]=c[h>>2]|512}while(0);c[m>>2]=(c[m>>2]|0)+-1;p=(c[b+168>>2]|0)+((c[b+172>>2]&g)<<2)|0;c[h+8>>2]=c[p>>2];c[p>>2]=h;c[o>>2]=(c[o>>2]|0)+1;p=h;return p|0}function oo(e,f,g){e=e|0;f=f|0;g=g|0;var i=0,k=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=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,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;aa=l;l=l+2304|0;P=aa+2152|0;X=aa;if(g&1|0)Mq(e,-1);$=e+76|0;_=c[$>>2]|0;Y=e+72|0;Z=c[Y>>2]|0;i=_-Z>>4;i=i|0?Z+(i+-1<<4)|0:0;i=(i|0)==0?944:i;if((c[i>>2]|0)!=8)In(e,1812,-1,287470);i=c[i+8>>2]|0;if(!i)In(e,1812,-1,287470);i=i+28|0;switch(a[i>>0]|0){case 43:{if(g&8|0){i=i+1|0;W=0;U=11}break}case 45:{if(g&16|0){i=i+1|0;W=1;U=11}break}default:{W=0;U=11}}a:do if((U|0)==11){if((g&32|0)!=0?(yN(i,271526,8)|0)==0:0)if((g&4|0)==0?(a[i+8>>0]|0)!=0:0)break;else{k=2146435072;i=0}else U=15;do if((U|0)==15){if((a[i>>0]|0)==48){k=a[i+1>>0]|32;if((g&2048|0)!=0&k<<24>>24==120)k=16;else k=(g&8192|0)!=0&k<<24>>24==111?8:(g&16384|0)!=0&k<<24>>24==98?2:0;S=(k|0)==0;T=S?f:k;g=S?g:g&-1987|1024;i=S?i:i+2|0}else T=f;c[X>>2]=0;F=(g&2|0)!=0;G=(g&68|0)==4;S=T+-2|0;M=271535+S|0;Q=X+760|0;H=(T|0)==0;I=P+4|0;J=X+764|0;K=P+4|0;o=0;k=-1;f=-1;r=0;t=0;q=0;u=0;L=0;p=i;i=0;b:while(1){E=u;c:while(1){D=t;d:while(1){B=o;A=r;C=q;o=p;while(1){e:do if(G){t=o+1|0;p=a[o>>0]|0;q=p&255;if((p+-48&255)<10){o=t;U=43}else{if(!F)switch(p<<24>>24){case 46:{U=25;break b}case 0:{R=k;N=f;break b}default:{r=q;o=t;U=49;break e}}while(1){switch(p<<24>>24){case 46:{U=25;break b}case 0:{R=k;N=f;break b}default:{}}if(!((k|0)<0&(p|32)<<24>>24==101)){r=q;o=t;U=49;break e}k=a[t>>0]|0;switch(k<<24>>24){case 45:{p=o;break d}case 43:{p=o+2|0;o=p;p=a[p>>0]|0;break}default:{o=t;p=k}}t=o+1|0;q=p&255;if((p+-48&255)<10){k=0;o=t;U=43;break e}else k=0}}}else{if(!F){f:while(1){p=o;o=o+1|0;p=a[p>>0]|0;if((p+-48&255)<10){U=42;break}switch(p<<24>>24){case 0:{R=k;N=f;break b}case 46:break;default:{U=48;break f}}if((k&f|0)>-1){U=46;break b}else f=0}if((U|0)==42){q=p&255;U=43;break}else if((U|0)==48){r=p&255;U=49;break}}else p=o;while(1){o=p+1|0;q=a[p>>0]|0;r=q&255;if((q+-48&255)<10){q=r;U=43;break e}g:while(1){switch(q<<24>>24){case 0:{R=k;N=f;break b}case 46:break g;default:{}}if(!((k|0)<0&(q|32)<<24>>24==101)){p=q;U=49;break e}k=a[o>>0]|0;switch(k<<24>>24){case 45:break d;case 43:{q=p+2|0;o=q;q=a[q>>0]|0;break}default:q=k}t=o+1|0;r=q&255;if((q+-48&255)<10){k=0;q=r;o=t;U=43;break e}else{k=0;p=o;o=t}}if((k&f|0)>-1){U=46;break b}else{f=0;p=o}}}while(0);do if((U|0)==43){U=0;x=q+-48|0;y=o}else if((U|0)==49){U=0;if((p+-97&255)<26){x=r+-87|0;y=o;break}else{x=(p+-65&255)<26?r+-55|0:255;y=o;break}}while(0);if((x|0)>=(T|0)){U=53;break b}if((k|0)>=0)break c;do if((B|0)<(d[M>>0]|0)){w=(x|0)==0;if(!(i|x)){q=C;o=B;p=(f>>>31)+A|0;break}if(H){c[P>>2]=0;r=0}else{c[P>>2]=1;c[K>>2]=T;r=1}o=i+r|0;h:do if(!o)o=0;else{EQ(J|0,0,o<<2|0)|0;c[Q>>2]=o;if(!((r|0)==0|(i|0)<1)){p=0;do{t=X+4+(p<<2)|0;q=0;u=0;v=0;while(1){da=rQ(c[P+4+(q<<2)>>2]|0,0,c[t>>2]|0,0)|0;ca=z;ba=X+764+(q+p<<2)|0;v=lQ(c[ba>>2]|0,0,u|0,v|0)|0;v=lQ(v|0,z|0,da|0,ca|0)|0;u=z;c[ba>>2]=v;q=q+1|0;if((q|0)==(r|0))break;else v=0}if(!((u|0)==0&0==0))c[X+764+(p+r<<2)>>2]=u;p=p+1|0}while((p|0)!=(i|0))}while(1){i=o+-1|0;if((o|0)<=0)break h;if(!(c[X+764+(i<<2)>>2]|0))o=i;else break}}while(0);c[Q>>2]=o;if(w){c[P>>2]=0;i=0}else{c[P>>2]=1;c[I>>2]=x;i=1}t=(i|0)>(o|0);q=t?Q:P;t=t?P:Q;i=c[t>>2]|0;u=c[q>>2]|0;do if((i|0)>0){r=0;o=0;p=0;while(1){p=lQ(c[t+4+(r<<2)>>2]|0,0,o|0,p|0)|0;o=z;if((r|0)<(u|0)){p=lQ(c[q+4+(r<<2)>>2]|0,0,p|0,o|0)|0;o=z}c[X+4+(r<<2)>>2]=p;r=r+1|0;if((r|0)==(i|0))break;else p=0}if((o|0)==0&0==0)break;c[X+4+(i<<2)>>2]=o;i=i+1|0}else i=0;while(0);c[X>>2]=i;q=C;o=B+1|0;p=A}else{q=C+1|0;o=B;p=A}while(0);if((f|0)<=-1)break;B=o;f=f+1|0;A=p;C=q+-1|0;o=y}r=p;D=D+1|0;p=y}o=B;k=0;r=A;t=D;q=C;E=1;p=p+2|0}p=x+(O(L,T)|0)|0;if((p|0)>1e9){U=128;break}else{o=B;k=k+1|0;r=A;t=D;q=C;u=E;L=p;p=y}}if((U|0)==25)if((k&f|0)>-1)U=46;else{R=k;N=f}else if((U|0)==53)if(!(g&4))break a;else{R=k;N=f}else if((U|0)==128)Jn(e,271570,50333910,271584);if((U|0)==46)if(!(g&4))break a;else{R=k;N=f}if((g&1024|0)==0&((D|0)>1&(A|0)>0))break a;do if(!D){if(!N)break a;if((N|0)>0)if(!(g&128))break a;else break;else if(!(g&512))break a;else break}else if(!(N|g&256))break a;while(0);if(!(R|g&4))break a;f=(E|0)==0?L:0-L|0;k=f+C|0;if((k|0)==0&(i|0)<2){if((i|0)!=1){k=0;i=0;break}h[j>>3]=+((c[X+4>>2]|0)>>>0);k=c[j+4>>2]|0;i=c[j>>2]|0;break}g=d[M>>0]|0;if((B|0)<(g|0)){k=f+B+C|0;i=B;do{No(X,T,Q);i=i+1|0}while((i|0)!=(g|0));k=k-g|0;i=c[X>>2]|0}if(i)if((k|0)<=(b[34156+(S<<2)>>1]|0))if((k|0)<(b[34156+(S<<2)+2>>1]|0)){k=0;i=0}else{c[X+1064>>2]=1;c[X+1080>>2]=k;c[X+1084>>2]=T;g=X+1088|0;c[g>>2]=2;c[X+1068>>2]=1;c[X+1076>>2]=0;c[X+1072>>2]=54;Ko(X);Lo(X);Mo(X);o=X+1092|0;r=c[o>>2]|0;t=r+-1|0;p=(t|0)>1023;t=(t|0)>-1023;r=r+1022|0;i=p?-255:t?1:r;r=p?2146435072:t?r<<20:0;t=X+2148|0;p=X+1108|0;q=X+1109|0;k=i+52|0;f=c[t>>2]|0;do if(!((i|0)<-52|(f|0)<=(k|0))?(V=X+1108+k|0,(d[V>>0]|0)>>>0>=((((c[g>>2]|0)+1|0)/2|0)&255)>>>0):0){k=V;while(1){a[k>>0]=0;if((k|0)==(p|0)){U=109;break}k=k+-1|0;f=(d[k>>0]|0)+1|0;if((f|0)<(c[g>>2]|0)){U=108;break}}if((U|0)==108){a[k>>0]=f;q=c[t>>2]|0;break}else if((U|0)==109){DQ(q|0,p|0,c[t>>2]|0)|0;a[p>>0]=1;r=c[o>>2]|0;c[o>>2]=r+1;q=(c[t>>2]|0)+1|0;c[t>>2]=q;ca=(r|0)>1023;da=(r|0)>-1023;r=r+1023|0;i=ca?-255:da?1:r;r=ca?2146435072:da?r<<20:0;break}}else q=f;while(0);o=i+51|0;f=0;g=0;i=0;p=0;while(1){k=o-g|0;if((k|0)<0|(k|0)>=(q|0))k=0;else k=d[X+1108+k>>0]|0;da=(k<<(g&31))+f|0;k=(g|0)==31;i=k?da:i;f=k?0:da;g=g+1|0;if((g|0)==52)break;else p=k?0:p}k=f+r|0}else{k=2146435072;i=0}else{k=0;i=0}}while(0);f=(W|0)==0;c[j>>2]=i;c[j+4>>2]=k;m=+h[j>>3];n=-m;k=c[$>>2]|0;if((k|0)==(c[Y>>2]|0))Jn(e,268491,50336874,268507);i=k+-16|0;c[$>>2]=i;da=c[k+-16>>2]|0;k=c[k+-8>>2]|0;c[i>>2]=2;if((da&8|0)!=0?(ca=k+4|0,da=(c[ca>>2]|0)+-1|0,c[ca>>2]=da,(da|0)==0):0){go(c[e+44>>2]|0,k);i=c[$>>2]|0}if(i>>>0<(c[e+68>>2]|0)>>>0){n=f?m:n;da=i;ca=da+16|0;c[$>>2]=ca;c[da>>2]=0;da=da+8|0;h[da>>3]=n;l=aa;return}else Sn(e,3835)}while(0);if((_|0)==(Z|0))Jn(e,268491,50336874,268507);i=_+-16|0;c[$>>2]=i;da=c[_+-16>>2]|0;k=c[_+-8>>2]|0;c[i>>2]=2;if((da&8|0)!=0?(ca=k+4|0,da=(c[ca>>2]|0)+-1|0,c[ca>>2]=da,(da|0)==0):0){go(c[e+44>>2]|0,k);i=c[$>>2]|0}if(i>>>0<(c[e+68>>2]|0)>>>0){n=s;da=i;ca=da+16|0;c[$>>2]=ca;c[da>>2]=0;da=da+8|0;h[da>>3]=n;l=aa;return}else Sn(e,3916)}function po(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;r=a+76|0;o=c[r>>2]|0;p=a+72|0;e=c[p>>2]|0;f=o-e>>4;s=((b|0)<0?f:0)+b|0;if(s>>>0>=f>>>0)$n(a,267,b);q=(s|0)<0;b=(q?f:0)+s|0;b=b>>>0>>0?e+(b<<4)|0:0;b=(b|0)==0?944:b;e=c[b>>2]|0;if(447>>>e&1|0)return;switch(e|0){case 9:{b=(c[c[b+8>>2]>>2]|0)>>>27;if((b|0)==14){b=c[(c[(q?r:p)>>2]|0)+(s<<4)+8>>2]|0;m=a+44|0;j=c[(c[m>>2]|0)+592>>2]|0;e=c[b+36>>2]|0;f=c[b+24>>2]|0;k=c[b+16>>2]|0;a:do if(!e){f=k+(f<<4)|0;e=c[b+28>>2]|0;if(!e){b=-1;l=18}else{b=0;while(1){if((c[f+(b<<2)>>2]|0)==(j|0)){l=18;break a}b=b+1|0;if(b>>>0>=e>>>0){b=-1;l=18;break}}}}else{i=k+(f*21|0)+(0-f&7)+(c[b+32>>2]<<4)|0;h=e+-1|0;g=k+(f<<4)|0;b=0;f=c[j+12>>2]&h;b:while(1){e=c[i+(f<<2)>>2]|0;switch(e|0){case -1:{e=19;break}case -2:{l=15;break}default:if((c[g+(e<<2)>>2]|0)==(j|0)){b=e;e=1}else l=15}if((l|0)==15){l=0;e=0;f=f+1&h}switch(e&31){case 19:{b=-1;l=18;break a}case 0:break;default:break b}}if(!e){b=-1;l=18}}while(0);if((b|0)>-1?(n=c[k+(b<<4)+8>>2]|0,(n|0)!=0):0){if(o>>>0>=(c[a+68>>2]|0)>>>0)Sn(a,3761);c[r>>2]=o+16;c[o>>2]=8;c[o+8>>2]=n;e=n+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[p>>2]|0;f=(c[r>>2]|0)-e>>4;if(!f)$n(a,342,-1);g=e+(f+-1<<4)|0;b=(q?f:0)+s|0;if(b>>>0>=f>>>0)$n(a,342,s);s=e+(b<<4)|0;a=c[s>>2]|0;b=c[e+(b<<4)+8>>2]|0;c[s>>2]=c[g>>2];c[s+4>>2]=c[g+4>>2];c[s+8>>2]=c[g+8>>2];c[s+12>>2]=c[g+12>>2];c[g>>2]=2;c[r>>2]=(c[r>>2]|0)+-16;if(!(a&8))return;s=b+4|0;a=(c[s>>2]|0)+-1|0;c[s>>2]=a;if(a|0)return;go(c[m>>2]|0,b);return}else b=14}break}case 10:{b=22;break}case 6:{b=3;break}default:b=0}b=(((d|0)==0?((b|0)==6?1:2):d)|0)==1;if(qo(a,s,b?76:40)|0)return;if(!(qo(a,s,b?40:76)|0))Jn(a,268491,100665709,268775);else return}function qo(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;l=a+76|0;e=c[l>>2]|0;j=a+72|0;i=e-(c[j>>2]|0)>>4;k=(b|0)<0;g=(k?i:0)+b|0;if(g>>>0>=i>>>0)$n(a,267,b);d=c[(c[a+428>>2]|0)+(d<<2)>>2]|0;i=a+68|0;if(e>>>0>=(c[i>>2]|0)>>>0)Sn(a,3761);c[l>>2]=e+16;c[e>>2]=8;c[e+8>>2]=d;e=d+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[j>>2]|0;f=(c[l>>2]|0)-e>>4;d=((g|0)<0?f:0)+g|0;if(d>>>0>=f>>>0)$n(a,342,g);g=ro(a,e+(d<<4)|0,e+(f+-1<<4)|0)|0;e=c[j>>2]|0;f=(c[l>>2]|0)-e>>4;d=f+-2|0;if(f>>>0<=1)$n(a,342,-2);m=e+(d<<4)|0;f=e+(f+-1<<4)|0;h=c[m>>2]|0;d=c[e+(d<<4)+8>>2]|0;DQ(m|0,m+16|0,f-m|0)|0;c[f>>2]=2;c[l>>2]=(c[l>>2]|0)+-16;if(h&8|0?(h=d+4|0,m=(c[h>>2]|0)+-1|0,c[h>>2]=m,(m|0)==0):0)go(c[a+44>>2]|0,d);a:do if(g){g=c[l>>2]|0;d=c[j>>2]|0;h=g-d>>4;f=h|0?d+(h+-1<<4)|0:0;f=(f|0)==0?944:f;e=g;switch(c[f>>2]|0){case 6:break;case 9:{f=c[f+8>>2]|0;if(!f)break a;if(!(c[f>>2]&6656))break a;break}default:break a}if(e>>>0>=(c[i>>2]|0)>>>0)Sn(a,935);f=(k?h:0)+b|0;if(f>>>0>=h>>>0)$n(a,342,b);i=d+(f<<4)|0;c[l>>2]=e+16;m=g;c[m>>2]=c[i>>2];c[m+4>>2]=c[i+4>>2];c[m+8>>2]=c[i+8>>2];c[m+12>>2]=c[i+12>>2];if(c[e>>2]&8|0){m=(c[e+8>>2]|0)+4|0;c[m>>2]=(c[m>>2]|0)+1}d=(c[l>>2]|0)-(c[j>>2]|0)|0;if((d|0)<32)Tn(a,268476,76);so(a,0,0,(d+-32|0)>>>4);e=c[l>>2]|0;d=c[j>>2]|0;f=e-d>>4;g=d+(f+-1<<4)|0;m=f|0?g:0;if(!(1728>>>(c[((m|0)==0?944:m)>>2]|0)&1)){if(!f)$n(a,342,-1);e=(k?f:0)+b|0;if(e>>>0>=f>>>0)$n(a,342,b);b=d+(e<<4)|0;m=c[b>>2]|0;d=c[d+(e<<4)+8>>2]|0;c[b>>2]=c[g>>2];c[b+4>>2]=c[g+4>>2];c[b+8>>2]=c[g+8>>2];c[b+12>>2]=c[g+12>>2];c[g>>2]=2;c[l>>2]=(c[l>>2]|0)+-16;if(!(m&8)){m=1;return m|0}l=d+4|0;m=(c[l>>2]|0)+-1|0;c[l>>2]=m;if(m|0){m=1;return m|0}go(c[a+44>>2]|0,d);m=1;return m|0}}else{e=c[l>>2]|0;d=c[j>>2]|0}while(0);if((e|0)==(d|0))Jn(a,268491,50336874,268507);b=e+-16|0;c[l>>2]=b;m=c[e+-16>>2]|0;d=c[e+-8>>2]|0;c[b>>2]=2;if(!(m&8)){m=0;return m|0}l=d+4|0;m=(c[l>>2]|0)+-1|0;c[l>>2]=m;if(m|0){m=0;return m|0}go(c[a+44>>2]|0,d);m=0;return m|0}function ro(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0.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=l;l=l+80|0;m=K+32|0;z=K+68|0;D=K+64|0;J=K+16|0;E=K;I=K+40|0;c[J>>2]=c[e>>2];c[J+4>>2]=c[e+4>>2];c[J+8>>2]=c[e+8>>2];c[J+12>>2]=c[e+12>>2];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];a:do switch(c[J>>2]|0){case 3:case 2:{D=uo(b,E)|0;E=uo(b,J)|0;c[m>>2]=D;c[m+4>>2]=E;ao(b,268642,100665642,271445,m);break}case 4:{g=11;F=223;break}case 8:{k=c[J+8>>2]|0;if(!(c[k>>2]&512)){j=c[E>>2]|0;if(!j){o=+h[E+8>>3];g=~~o>>>0;if(+(g>>>0)==o){e=0;n=g;i=0;F=18}else F=31}else{i=b+76|0;g=c[i>>2]|0;if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[i>>2]=g+16;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];if(j&8|0){F=(c[E+8>>2]|0)+4|0;c[F>>2]=(c[F>>2]|0)+1}g=c[i>>2]|0;do if((c[g+-16>>2]|0)!=8){po(b,-1,1);e=b+72|0;F=c[e>>2]|0;g=(c[i>>2]|0)-F>>4;g=g|0?F+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(u=c[g+8>>2]|0,u|0):0){g=u;break}Ho(b,-1)|0;F=c[e>>2]|0;g=(c[i>>2]|0)-F>>4;g=g|0?F+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8)g=c[g+8>>2]|0;else g=0}else g=c[g+-8>>2]|0;while(0);e=g;n=c[g+16>>2]|0;i=1;F=18}if((F|0)==18){if((n|0)!=-1)if(n>>>0<(wp(k)|0)>>>0){Qo(b,i);f=b+76|0;g=c[f>>2]|0;m=b+68|0;if(g>>>0>=(c[m>>2]|0)>>>0)Sn(b,3761);c[f>>2]=g+16;c[g>>2]=8;c[g+8>>2]=k;j=k+4|0;c[j>>2]=(c[j>>2]|0)+1;j=n+1|0;g=c[b+72>>2]|0;e=(c[f>>2]|0)-g|0;i=e>>4;k=i+-1|0;if(!i)$n(b,267,-1);J=((e|0)<16?i:0)+k|0;g=J>>>0>>0?g+(J<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=8)In(b,1812,k,287470);g=c[g+8>>2]|0;if(!g)In(b,1812,k,287470);J=wp(g)|0;J=J>>>0>j>>>0?j:J;e=Jq(b,g,J>>>0>>0?J:n)|0;g=Fo(b,g+28+e|0,(Jq(b,g,J)|0)-e|0)|0;e=c[f>>2]|0;if(e>>>0>=(c[m>>2]|0)>>>0)Sn(b,3761);c[f>>2]=e+16;c[e>>2]=8;c[e+8>>2]=g;J=g+4|0;c[J>>2]=(c[J>>2]|0)+1;Kq(b,k);b=1;l=K;return b|0}else g=n;else g=-1;if(!i)F=31}if((F|0)==31){i=b+76|0;g=c[i>>2]|0;if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[i>>2]=g+16;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];if(j&8|0){E=(c[E+8>>2]|0)+4|0;c[E>>2]=(c[E>>2]|0)+1}g=c[i>>2]|0;do if((c[g+-16>>2]|0)!=8){po(b,-1,1);e=b+72|0;E=c[e>>2]|0;g=(c[i>>2]|0)-E>>4;g=g|0?E+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(B=c[g+8>>2]|0,B|0):0){g=B;break}Ho(b,-1)|0;E=c[e>>2]|0;g=(c[i>>2]|0)-E>>4;g=g|0?E+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8)g=c[g+8>>2]|0;else g=0}else g=c[g+-8>>2]|0;while(0);e=g;g=c[g+16>>2]|0}if((e|0)!=(c[(c[b+428>>2]|0)+320>>2]|0)){j=c[b+168>>2]|0;i=g;y=e;break a}i=b+76|0;g=c[i>>2]|0;if((g|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);I=g+-16|0;c[i>>2]=I;J=c[g+-16>>2]|0;g=c[g+-8>>2]|0;c[I>>2]=2;if(J&8|0?(I=g+4|0,J=(c[I>>2]|0)+-1|0,c[I>>2]=J,(J|0)==0):0)go(c[b+44>>2]|0,g);g=wp(k)|0;e=c[i>>2]|0;if(e>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3902);c[i>>2]=e+16;c[e>>2]=0;h[e+8>>3]=+(g>>>0);b=1;l=K;return b|0}else{g=43;F=223}break}case 9:{k=J+8|0;j=c[k>>2]|0;o=+h[E+8>>3];i=c[j>>2]|0;e=(c[E>>2]|0)==0;if((e&(i&92315648|0)==32768?(q=~~o>>>0,q=+(q>>>0)==o?q:-1,q>>>0<(c[j+32>>2]|0)>>>0):0)?(r=c[j+24>>2]|0,r=(c[j+16>>2]|0)+(r*21|0)+(0-r&7)|0,s=r+(q<<4)|0,t=c[s>>2]|0,!((t|0)==7|(s|0)==0)):0){g=b+76|0;e=c[g>>2]|0;if(e>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[g>>2]=e+16;c[e>>2]=c[s>>2];c[e+4>>2]=c[s+4>>2];c[e+8>>2]=c[s+8>>2];c[e+12>>2]=c[s+12>>2];if(!(t&8)){b=1;l=K;return b|0}b=(c[r+(q<<4)+8>>2]|0)+4|0;c[b>>2]=(c[b>>2]|0)+1;b=1;l=K;return b|0}if((i&8192|0?!((a[j+58>>0]|0)==0|e^1):0)?(n=~~o>>>0,n=+(n>>>0)==o?n:-1,p=d[j+56>>0]|0,n>>>0<(c[j+52>>2]|0)>>>p>>>0):0){i=n<>2]|0;if(g|0?(w=c[j+48>>2]|0,(i+e+w|0)>>>0<=(c[g+16>>2]|0)>>>0):0){if(!(c[g>>2]&128))g=g+24|0;else g=c[g+20>>2]|0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)+1}e=c[m>>2]|0;do if((c[e+-16>>2]|0)!=8){po(b,-1,1);J=c[k>>2]|0;e=(c[m>>2]|0)-J>>4;e=e|0?J+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)==8?(g=c[e+8>>2]|0,g|0):0)break;Ho(b,-1)|0;J=c[k>>2]|0;g=(c[m>>2]|0)-J>>4;g=g|0?J+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8)g=c[g+8>>2]|0;else g=0}else g=c[e+-8>>2]|0;while(0);do if(!(io(b,f,g,c[g+16>>2]|0,I,1)|0)){g=c[m>>2]|0;if((g|0)==(c[k>>2]|0))Jn(b,268491,50336874,268507);I=g+-16|0;c[m>>2]=I;J=c[g+-16>>2]|0;g=c[g+-8>>2]|0;c[I>>2]=2;if(J&8|0){I=g+4|0;J=(c[I>>2]|0)+-1|0;c[I>>2]=J;if(J|0)break;go(c[b+44>>2]|0,g)}}else{g=c[k>>2]|0;e=(c[m>>2]|0)-g>>4;if(e>>>0<=2)$n(b,342,-3);i=g+(e+-3<<4)|0;j=c[I>>2]|0;if(!(j&13))e=(Zo(0,i,g+(e+-1<<4)|0,1)|0)==0;else e=0;do if((j&12|0)==8){if(c[I+4>>2]|0){g=0;break}g=(c[i>>2]|0)!=2}else g=0;while(0);if(e|g)Jn(b,268642,100665794,270293);i=c[m>>2]|0;if(i-(c[k>>2]|0)>>4>>>0<2)Jn(b,268491,50336767,268507);e=b+44|0;J=i+-16|0;b=c[J>>2]|0;g=c[i+-8>>2]|0;c[J>>2]=2;do if(b&8|0){J=g+4|0;b=(c[J>>2]|0)+-1|0;c[J>>2]=b;if(b|0)break;Wn(c[e>>2]|0,g)}while(0);J=i+-32|0;b=c[J>>2]|0;g=c[i+-24>>2]|0;c[J>>2]=2;do if(b&8|0){J=g+4|0;b=(c[J>>2]|0)+-1|0;c[J>>2]=b;if(b|0)break;Wn(c[e>>2]|0,g)}while(0);c[m>>2]=i+-32;g=c[e>>2]|0;if(!(c[g+32>>2]|0))break;Rn(g)}while(0);b=1;l=K;return b|0}while(0);if(!(g&16777216))F=224;else{f=b+76|0;g=c[f>>2]|0;if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[f>>2]=g+16;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];if(c[E>>2]&8|0){E=(c[E+8>>2]|0)+4|0;c[E>>2]=(c[E>>2]|0)+1}g=c[f>>2]|0;do if((c[g+-16>>2]|0)!=8){po(b,-1,1);e=b+72|0;E=c[e>>2]|0;g=(c[f>>2]|0)-E>>4;g=g|0?E+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(x=c[g+8>>2]|0,x|0):0){e=x;break}Ho(b,-1)|0;E=c[e>>2]|0;g=(c[f>>2]|0)-E>>4;g=g|0?E+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8)e=c[g+8>>2]|0;else e=0}else e=c[g+-8>>2]|0;while(0);g=c[e+16>>2]|0;if(!(Cp(b,j,e,I,z,D)|0)){i=g;y=e;break a}i=c[f>>2]|0;k=b+72|0;e=c[k>>2]|0;g=i-e>>4;g=g|0?e+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=8)In(b,1812,-1,287470);j=c[g+8>>2]|0;if(!j)In(b,1812,-1,287470);if((i|0)==(e|0))Jn(b,268491,50336874,268507);I=i+-16|0;c[f>>2]=I;J=c[i+-16>>2]|0;g=c[i+-8>>2]|0;c[I>>2]=2;if(J&8|0?(I=g+4|0,J=(c[I>>2]|0)+-1|0,c[I>>2]=J,(J|0)==0):0)go(c[b+44>>2]|0,g);Yo(b,c[D>>2]|0,0,j,1)|0;g=c[f>>2]|0;i=c[k>>2]|0;if((g|0)==(i|0))Jn(b,268491,50336874,268507);I=g+-16|0;c[f>>2]=I;J=c[g+-16>>2]|0;e=c[g+-8>>2]|0;c[I>>2]=2;g=I;if((J&8|0)!=0?(I=e+4|0,J=(c[I>>2]|0)+-1|0,c[I>>2]=J,(J|0)==0):0){go(c[b+44>>2]|0,e);i=c[k>>2]|0;g=c[f>>2]|0}e=g-i>>4;g=e+-2|0;if(e>>>0<=1)$n(b,342,-2);H=i+(g<<4)|0;I=i+(e+-1<<4)|0;J=c[H>>2]|0;g=c[i+(g<<4)+8>>2]|0;DQ(H|0,H+16|0,I-H|0)|0;c[I>>2]=2;c[f>>2]=(c[f>>2]|0)+-16;if(!(J&8)){b=1;l=K;return b|0}I=g+4|0;J=(c[I>>2]|0)+-1|0;c[I>>2]=J;if(J|0){b=1;l=K;return b|0}go(c[b+44>>2]|0,g);b=1;l=K;return b|0}break}case 10:{f=c[J+8>>2]|0;k=c[E>>2]|0;if(!k){o=+h[E+8>>3];g=~~o>>>0;if(+(g>>>0)==o){i=0;j=g;g=0;F=165}else F=174}else{i=b+76|0;g=c[i>>2]|0;if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[i>>2]=g+16;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];if(k&8|0){F=(c[E+8>>2]|0)+4|0;c[F>>2]=(c[F>>2]|0)+1}g=c[i>>2]|0;do if((c[g+-16>>2]|0)!=8){po(b,-1,1);e=b+72|0;F=c[e>>2]|0;g=(c[i>>2]|0)-F>>4;g=g|0?F+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(v=c[g+8>>2]|0,v|0):0){g=v;break}Ho(b,-1)|0;F=c[e>>2]|0;g=(c[i>>2]|0)-F>>4;g=g|0?F+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8)g=c[g+8>>2]|0;else g=0}else g=c[g+-8>>2]|0;while(0);i=1;j=c[g+16>>2]|0;F=165}if((F|0)==165){if((j|0)!=-1)if(j>>>0<(c[f+16>>2]|0)>>>0){Qo(b,i);if(!(c[f>>2]&128))i=f+24|0;else i=c[f+20>>2]|0;g=b+76|0;e=c[g>>2]|0;if(e>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3902);o=+(d[i+j>>0]|0);c[g>>2]=e+16;c[e>>2]=0;h[e+8>>3]=o;b=1;l=K;return b|0}else e=j;else e=-1;if(!i)F=174}if((F|0)==174){i=b+76|0;g=c[i>>2]|0;if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[i>>2]=g+16;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];if(k&8|0){E=(c[E+8>>2]|0)+4|0;c[E>>2]=(c[E>>2]|0)+1}g=c[i>>2]|0;do if((c[g+-16>>2]|0)!=8){po(b,-1,1);e=b+72|0;E=c[e>>2]|0;g=(c[i>>2]|0)-E>>4;g=g|0?E+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(C=c[g+8>>2]|0,C|0):0){g=C;break}Ho(b,-1)|0;E=c[e>>2]|0;g=(c[i>>2]|0)-E>>4;g=g|0?E+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8)g=c[g+8>>2]|0;else g=0}else g=c[g+-8>>2]|0;while(0);e=c[g+16>>2]|0}if((g|0)!=(c[(c[b+428>>2]|0)+320>>2]|0)){j=c[b+344>>2]|0;i=e;y=g;break a}i=b+76|0;e=c[i>>2]|0;if((e|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);g=e+-16|0;c[i>>2]=g;J=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[g>>2]=2;if((J&8|0)!=0?(I=e+4|0,J=(c[I>>2]|0)+-1|0,c[I>>2]=J,(J|0)==0):0){go(c[b+44>>2]|0,e);g=c[i>>2]|0}if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3902);o=+((c[f+16>>2]|0)>>>0);c[i>>2]=g+16;c[g>>2]=0;h[g+8>>3]=o;b=1;l=K;return b|0}case 5:{g=39;F=223;break}case 6:{f=J+4|0;j=c[f>>2]|0;m=b+76|0;g=c[m>>2]|0;n=b+68|0;if(g>>>0>=(c[n>>2]|0)>>>0)Sn(b,3761);c[m>>2]=g+16;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];if(c[E>>2]&8|0){E=(c[E+8>>2]|0)+4|0;c[E>>2]=(c[E>>2]|0)+1}g=c[m>>2]|0;do if((c[g+-16>>2]|0)!=8){po(b,-1,1);e=c[m>>2]|0;i=b+72|0;E=c[i>>2]|0;g=e-E>>4;g=g|0?E+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(k=c[g+8>>2]|0,k|0):0)break;Ho(b,-1)|0;e=c[m>>2]|0;E=c[i>>2]|0;g=e-E>>4;g=g|0?E+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8)k=c[g+8>>2]|0;else k=0}else{k=c[g+-8>>2]|0;e=g}while(0);i=c[k+16>>2]|0;g=c[b+428>>2]|0;if((k|0)==(c[g+320>>2]|0)){i=j>>>4&15;if((e|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);g=e+-16|0;c[m>>2]=g;J=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[g>>2]=2;if((J&8|0)!=0?(I=e+4|0,J=(c[I>>2]|0)+-1|0,c[I>>2]=J,(J|0)==0):0){go(c[b+44>>2]|0,e);g=c[m>>2]|0}if(g>>>0>=(c[n>>2]|0)>>>0)Sn(b,3868);c[m>>2]=g+16;c[g>>2]=0;h[g+8>>3]=+(i|0);b=1;l=K;return b|0}else{if((k|0)!=(c[g+344>>2]|0)){j=c[b+152>>2]|0;y=k;break a}if((e|0)==(c[b+72>>2]|0))Jn(b,268491,50336874,268507);H=e+-16|0;c[m>>2]=H;I=c[e+-16>>2]|0;g=c[e+-8>>2]|0;c[H>>2]=2;if(I&8|0?(H=g+4|0,I=(c[H>>2]|0)+-1|0,c[H>>2]=I,(I|0)==0):0)go(c[b+44>>2]|0,g);Hq(b,c[J+8>>2]|0,c[f>>2]|0);b=1;l=K;return b|0}}default:{g=13;F=223}}while(0);if((F|0)==223){j=c[b+132+(g<<2)>>2]|0;F=224}if((F|0)==224){i=b+76|0;g=c[i>>2]|0;if(g>>>0>=(c[b+68>>2]|0)>>>0)Sn(b,3761);c[i>>2]=g+16;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];if(c[E>>2]&8|0){F=(c[E+8>>2]|0)+4|0;c[F>>2]=(c[F>>2]|0)+1}g=c[i>>2]|0;do if((c[g+-16>>2]|0)!=8){po(b,-1,1);e=b+72|0;F=c[e>>2]|0;g=(c[i>>2]|0)-F>>4;g=g|0?F+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(A=c[g+8>>2]|0,A|0):0){g=A;break}Ho(b,-1)|0;F=c[e>>2]|0;g=(c[i>>2]|0)-F>>4;g=g|0?F+(g+-1<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8)g=c[g+8>>2]|0;else g=0}else g=c[g+-8>>2]|0;while(0);i=c[g+16>>2]|0;y=g}e=1e4;g=j;while(1){if(io(b,g,y,i,I,1)|0){F=237;break}if(!e){F=259;break}g=c[g+20>>2]|0;if(!g){F=261;break}else e=e+-1|0}if((F|0)==237){i=c[I+4>>2]|0;j=i;do if(i|0){k=b+76|0;g=c[k>>2]|0;f=b+72|0;if((g|0)==(c[f>>2]|0))Jn(b,268491,50336874,268507);e=g+-16|0;c[k>>2]=e;I=c[g+-16>>2]|0;g=c[g+-8>>2]|0;c[e>>2]=2;if((I&8|0)!=0?(F=g+4|0,I=(c[F>>2]|0)+-1|0,c[F>>2]=I,(I|0)==0):0){go(c[b+44>>2]|0,g);g=c[k>>2]|0}else g=e;e=b+68|0;if(g>>>0>=(c[e>>2]|0)>>>0)Sn(b,3761);c[k>>2]=g+16;c[g>>2]=9;c[g+8>>2]=j;g=i+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[k>>2]|0;if(g>>>0>=(c[e>>2]|0)>>>0)Sn(b,3761);c[k>>2]=g+16;c[g>>2]=c[J>>2];c[g+4>>2]=c[J+4>>2];c[g+8>>2]=c[J+8>>2];c[g+12>>2]=c[J+12>>2];if(c[J>>2]&8|0){I=(c[J+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}i=c[k>>2]|0;if(i>>>0>=(c[e>>2]|0)>>>0)Sn(b,935);g=c[f>>2]|0;e=i-g>>4;if(e>>>0<=2)$n(b,342,-3);I=g+(e+-3<<4)|0;c[k>>2]=i+16;c[i>>2]=c[I>>2];c[i+4>>2]=c[I+4>>2];c[i+8>>2]=c[I+8>>2];c[i+12>>2]=c[I+12>>2];if(c[i>>2]&8|0){I=(c[i+8>>2]|0)+4|0;c[I>>2]=(c[I>>2]|0)+1}g=(c[k>>2]|0)-(c[f>>2]|0)|0;if((g|0)<48)Tn(b,268476,76);else{so(b,1,0,(g+-48|0)>>>4);break}}while(0);if((((((c[J>>2]|0)==9?(y|0)==(c[(c[b+428>>2]|0)+276>>2]|0):0)?c[c[J+8>>2]>>2]&16783360|0:0)?(J=c[b+72>>2]|0,G=(c[b+76>>2]|0)-J>>4,G=G|0?J+(G+-1<<4)|0:0,G=(G|0)==0?944:G,(c[G>>2]|0)==9):0)?(H=c[G+8>>2]|0,H|0):0)?(J=c[H>>2]|0,!((J&6656|0)==0|(J&65536|0)==0)):0)Jn(b,268642,100666069,271475);j=b+76|0;e=c[b+72>>2]|0;i=(c[j>>2]|0)-e>>4;g=i+-2|0;if(i>>>0<=1)$n(b,342,-2);H=e+(g<<4)|0;I=e+(i+-1<<4)|0;J=c[H>>2]|0;g=c[e+(g<<4)+8>>2]|0;DQ(H|0,H+16|0,I-H|0)|0;c[I>>2]=2;c[j>>2]=(c[j>>2]|0)+-16;if(!(J&8)){b=1;l=K;return b|0}I=g+4|0;J=(c[I>>2]|0)+-1|0;c[I>>2]=J;if(J|0){b=1;l=K;return b|0}go(c[b+44>>2]|0,g);b=1;l=K;return b|0}else if((F|0)==259)Jn(b,268642,50334351,270308);else if((F|0)==261){g=c[b+72>>2]|0;e=(c[b+76>>2]|0)-g>>4;if(!e)$n(b,342,-1);H=e+-1|0;I=g+(H<<4)|0;J=c[I>>2]|0;g=c[g+(H<<4)+8>>2]|0;c[I>>2]=2;if(!(J&8)){b=0;l=K;return b|0}I=g+4|0;J=(c[I>>2]|0)+-1|0;c[I>>2]=J;if(J|0){b=0;l=K;return b|0}go(c[b+44>>2]|0,g);b=0;l=K;return b|0}return 0}function so(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var 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,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;V=l;l=l+16|0;i=V+8|0;q=V;B=V+12|0;c[B>>2]=f;J=d+72|0;p=c[J>>2]|0;K=d+64|0;F=p-(c[K>>2]|0)>>4;M=d+80|0;N=c[M>>2]|0;G=d+96|0;H=c[G>>2]|0;D=d+112|0;E=c[D>>2]|0;Q=d+44|0;n=c[Q>>2]|0;o=n+132|0;R=c[o>>2]|0;m=n+124|0;S=c[m>>2]|0;T=d+49|0;U=a[T>>0]|0;O=d+40|0;P=c[O>>2]|0;if(P|0){c[(c[d+88>>2]|0)+28>>2]=c[P>>2];c[O>>2]=0}if((S|0)==(d|0)){if(U<<24>>24!=2){C=U&255;c[i>>2]=C;ao(d,268521,100665030,268858,i)}}else{if(U<<24>>24!=1){C=U&255;c[i>>2]=C;ao(d,268521,100665030,268858,i)}if(!S){f=0;i=0}else{f=c[S+128>>2]|0;i=c[S+124>>2]|0}c[d+124>>2]=i;c[d+128>>2]=f;c[m>>2]=d;a[T>>0]=2}do if(!(g&1)){f=c[o>>2]|0;if((f|0)<(c[n+136>>2]|0)){c[o>>2]=f+1;break}else Jn(d,268521,50332927,268535)}while(0);f=g&2;a:while(1){i=p+(h<<4)|0;switch(c[i>>2]|0){case 6:{C=15;break a}case 9:break;default:{C=19;break a}}o=c[p+(h<<4)+8>>2]|0;n=c[o>>2]|0;if(!(n&6656)){C=19;break}if(!(n&512)){C=20;break}to(d,h,B,f);p=c[J>>2]|0}b:do if((C|0)==15){A=0;j=c[p+(h<<4)+4>>2]|0;z=c[p+(h<<4)+8>>2]|0;k=c[i+12>>2]|0;v=6;L=h+1|0}else if((C|0)==19){c[q>>2]=uo(d,i)|0;ao(d,268521,100664071,268804,q)}else if((C|0)==20){j=c[p+(h<<4)+4>>2]|0;k=c[i+12>>2]|0;m=h+1|0;if(o)if(!(n&65536)){f=p+(m<<4)|0;switch(c[f>>2]|0){case 9:{A=o;z=o;v=9;L=m;break b}case 3:case 2:break;default:{vo(d,m);A=o;z=o;v=9;L=m;break b}}i=c[d+132>>2]|0;if(!i){c[f>>2]=2;A=o;z=o;v=9;L=m;break}else{c[f>>2]=9;c[p+(m<<4)+8>>2]=i;A=i+4|0;c[A>>2]=(c[A>>2]|0)+1;A=o;z=o;v=9;L=m;break}}else{A=o;z=o;v=9;L=m}else{A=0;z=o;v=9;L=m}}while(0);x=d+92|0;if((c[G>>2]|0)>>>0>=(c[x>>2]|0)>>>0)wo(d);t=d+88|0;f=c[t>>2]|0;if(f|0)c[f+40>>2]=F+h;w=d+84|0;n=c[w>>2]|0;o=c[G>>2]|0;p=n+(o*48|0)|0;c[G>>2]=o+1;c[t>>2]=p;i=n+(o*48|0)+32|0;f=g<<1&4|(g&16|8);c[i>>2]=f;u=(A|0)!=0;do if(u){m=c[A>>2]|0;if(m&65536){f=f|1;c[i>>2]=f}if(!(m&2048)){s=b[A+44>>1]|0;r=s;break}else{r=e[A+62>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i);i=-33537277-((c[A>>2]|0)>>>16&1)&3;y=c[J>>2]|0;f=(c[k>>2]|0)-y>>4;f=f>>>0>1?y+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=9)In(d,1834,-2,268820);f=c[f+8>>2]|0;if(!f)In(d,1834,-2,268820);ho(d,f,c[(c[d+428>>2]|0)+268>>2]|0,i);f=c[t>>2]|0;c[f+24>>2]=m;c[f+20>>2]=m;c[j>>2]=(c[j>>2]|0)+2;f=c[k>>2]|0;if((f|0)==(c[J>>2]|0))Jn(d,268491,50336874,268507);v=f+-16|0;c[k>>2]=v;y=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[v>>2]=2;if(y&8|0){v=f+4|0;y=(c[v>>2]|0)+-1|0;c[v>>2]=y;if(y|0)break;go(c[Q>>2]|0,f)}}}while(0);Ao(d,c[B>>2]|0,g,s,r,A);f=c[t>>2]|0;i=c[J>>2]|0;do if(u){if(!(c[A>>2]&2048)){c[J>>2]=i+(h<<4)+32;f=gg[c[A+40>>2]&511](d)|0;C=84;break}c[f+28>>2]=c[A+48>>2];c[J>>2]=i+(h<<4)+32;Bo(d);f=c[D>>2]|0;if(f>>>0>E>>>0){j=d+104|0;do{f=f+-1|0;i=c[j>>2]|0;if(c[i+(f*20|0)+16>>2]&128|0?(B=(c[w>>2]|0)+((c[i+(f*20|0)+8>>2]|0)*48|0)+24|0,I=c[B>>2]|0,A=c[I+20>>2]|0,c[B>>2]=A,A=A+4|0,c[A>>2]=(c[A>>2]|0)+1,A=I+4|0,B=(c[A>>2]|0)+-1|0,c[A>>2]=B,(B|0)==0):0)bo(c[Q>>2]|0,I)}while(f>>>0>E>>>0)}c[D>>2]=E;if(((c[d+108>>2]|0)-E|0)>>>0>=8)co(d);eo(d,H);if(((c[x>>2]|0)-(c[G>>2]|0)|0)>>>0>=16)fo(d);i=(c[K>>2]|0)+(F<<4)|0;c[J>>2]=i;i=i+(h<<4)|0;f=c[d+76>>2]|0;j=f+-16|0;if(c[j>>2]&8|0){h=(c[f+-8>>2]|0)+4|0;c[h>>2]=(c[h>>2]|0)+1}if(!(c[i>>2]&8)){c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];break}f=c[i+8>>2]|0;c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];K=f+4|0;h=(c[K>>2]|0)+-1|0;c[K>>2]=h;if(!h)go(c[Q>>2]|0,f)}else{c[J>>2]=i+(h<<4)+32;f=gg[z&511](d)|0;C=84}while(0);do if((C|0)==84){if((f|0)<0)Zn(d,f);if((f|0)>1)Jn(d,268521,100664925,268827);eo(d,H);if(((c[x>>2]|0)-(c[G>>2]|0)|0)>>>0>=16)fo(d);k=(c[K>>2]|0)+(F<<4)|0;c[J>>2]=k;k=k+(h<<4)|0;j=(c[k>>2]&8|0)!=0;if(!f){f=c[k+8>>2]|0;c[k>>2]=2;if(!j)break;K=f+4|0;h=(c[K>>2]|0)+-1|0;c[K>>2]=h;if(h|0)break;go(c[Q>>2]|0,f);break}f=c[d+76>>2]|0;i=f+-16|0;if(c[i>>2]&8|0){h=(c[f+-8>>2]|0)+4|0;c[h>>2]=(c[h>>2]|0)+1}if(!j){c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];break}f=c[k+8>>2]|0;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];K=f+4|0;h=(c[K>>2]|0)+-1|0;c[K>>2]=h;if(!h)go(c[Q>>2]|0,f)}while(0);_n(d,L);M=c[M>>2]|0;if(!(M>>>0>=N>>>0&(M-N|0)>>>0<256))Yn(d,N,7)|0;c[O>>2]=P;f=c[Q>>2]|0;j=f+124|0;if(S){f=c[j>>2]|0;if(!f){i=0;f=0}else{i=c[f+128>>2]|0;f=c[f+124>>2]|0}c[S+124>>2]=f;c[S+128>>2]=i;f=c[Q>>2]|0}c[j>>2]=S;a[T>>0]=U;c[f+132>>2]=R;if(!(c[f+32>>2]|0)){l=V;return}Rn(f);l=V;return}function to(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0.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,A=0,B=0;B=l;l=l+16|0;x=B;y=a+76|0;z=a+72|0;A=(b|0)<0;v=(e|0)==0;r=a+428|0;s=a+68|0;w=b+1|0;t=(b|0)<-1;q=a+44|0;u=b+2|0;o=c[d>>2]|0;p=1e4;a:while(1){e=c[y>>2]|0;g=c[z>>2]|0;n=e-g>>4;j=(A?n:0)+b|0;f=e;if(j>>>0>=n>>>0){e=3;break}switch(c[g+(j<<4)>>2]|0){case 6:{e=88;break a}case 9:break;default:{e=6;break a}}if(!(c[c[g+(j<<4)+8>>2]>>2]&512)){e=88;break}if(v){e=c[(c[r>>2]|0)+384>>2]|0;if(f>>>0>=(c[s>>2]|0)>>>0){e=9;break}c[y>>2]=f+16;c[f>>2]=8;c[f+8>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[z>>2]|0;g=(c[y>>2]|0)-f>>4;e=((j|0)<0?g:0)+j|0;if(e>>>0>=g>>>0){e=11;break}ro(a,f+(e<<4)|0,f+(g+-1<<4)|0)|0;f=c[z>>2]|0;g=(c[y>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1){e=13;break}k=f+(e<<4)|0;m=f+(g+-1<<4)|0;n=c[k>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(k|0,k+16|0,m-k|0)|0;c[m>>2]=2;f=(c[y>>2]|0)+-16|0;c[y>>2]=f;if((n&8|0)!=0?(m=e+4|0,n=(c[m>>2]|0)+-1|0,c[m>>2]=n,(n|0)==0):0){go(c[q>>2]|0,e);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;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[z>>2]|0;g=(c[y>>2]|0)-f>>4;e=((j|0)<16?g:0)+k|0;if(e>>>0>=g>>>0){e=40;break}ro(a,f+(e<<4)|0,f+(g+-1<<4)|0)|0;f=c[z>>2]|0;g=(c[y>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1){e=42;break}m=f+(e<<4)|0;g=f+(g+-1<<4)|0;n=c[m>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(m|0,m+16|0,g-m|0)|0;c[g>>2]=2;g=(c[y>>2]|0)+-16|0;c[y>>2]=g;f=g;if((n&8|0)!=0?(m=e+4|0,n=(c[m>>2]|0)+-1|0,c[m>>2]=n,(n|0)==0):0){go(c[q>>2]|0,e);g=c[y>>2]|0;f=g}j=c[z>>2]|0;e=f-j>>4;e=e|0?j+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if(c[e>>2]|0){e=51;break}i=+h[e+8>>3];if(XO(i)|0)if(!(i<-2147483648.0))if(i>2147483647.0)n=2147483647;else n=~~i;else n=-2147483648;else n=0;if((g|0)==(j|0)){e=53;break}k=g+-16|0;c[y>>2]=k;m=c[g+-16>>2]|0;e=c[g+-8>>2]|0;c[k>>2]=2;if(m&8|0?(k=e+4|0,m=(c[k>>2]|0)+-1|0,c[k>>2]=m,(m|0)==0):0)go(c[q>>2]|0,e);if((n|0)>0){m=0;do{Zp(a,-1,m)|0;f=u+m|0;g=c[z>>2]|0;j=(c[y>>2]|0)-g>>4;e=((f|0)<0?j:0)+f|0;if(e>>>0>=j>>>0){e=59;break a}k=g+(e<<4)|0;e=g+(j+-1<<4)|0;f=e-k|0;if(f|0){c[x>>2]=c[e>>2];c[x+4>>2]=c[e+4>>2];c[x+8>>2]=c[e+8>>2];c[x+12>>2]=c[e+12>>2];DQ(k+16|0,k|0,f|0)|0;c[k>>2]=c[x>>2];c[k+4>>2]=c[x+4>>2];c[k+8>>2]=c[x+8>>2];c[k+12>>2]=c[x+12>>2]}m=m+1|0}while((m|0)<(n|0))}k=n+o|0;e=c[y>>2]|0;o=c[z>>2]|0;j=o;if((e|0)==(o|0)){e=64;break}g=e+-16|0;c[y>>2]=g;o=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[g>>2]=2;f=g;do if(!(o&8))e=j;else{n=e+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0){e=j;break}go(c[q>>2]|0,e);g=c[y>>2]|0;f=g;e=c[z>>2]|0}while(0);o=f-e>>4;j=(A?o:0)+b|0;if(j>>>0>=o>>>0){e=69;break}e=c[(c[r>>2]|0)+404>>2]|0;if(g>>>0>=(c[s>>2]|0)>>>0){e=71;break}c[y>>2]=g+16;c[g>>2]=8;c[g+8>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[z>>2]|0;g=(c[y>>2]|0)-f>>4;e=((j|0)<0?g:0)+j|0;if(e>>>0>=g>>>0){e=73;break}ro(a,f+(e<<4)|0,f+(g+-1<<4)|0)|0;f=c[z>>2]|0;g=(c[y>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1){e=75;break}m=f+(e<<4)|0;n=f+(g+-1<<4)|0;o=c[m>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(m|0,m+16|0,n-m|0)|0;c[n>>2]=2;f=(c[y>>2]|0)+-16|0;c[y>>2]=f;do if(o&8){n=e+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0)break;go(c[q>>2]|0,e);f=c[y>>2]|0}while(0);g=c[z>>2]|0;f=f-g>>4;if(!f){e=80;break}j=g+(f+-1<<4)|0;e=(A?f:0)+b|0;if(e>>>0>=f>>>0){e=82;break}n=g+(e<<4)|0;o=c[n>>2]|0;e=c[g+(e<<4)+8>>2]|0;c[n>>2]=c[j>>2];c[n+4>>2]=c[j+4>>2];c[n+8>>2]=c[j+8>>2];c[n+12>>2]=c[j+12>>2];c[j>>2]=2;c[y>>2]=(c[y>>2]|0)+-16;do if(o&8|0){n=e+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0)break;go(c[q>>2]|0,e)}while(0);p=p+-1|0;if(!p){e=87;break}else o=k}switch(e|0){case 3:{$n(a,342,b);break}case 6:{lo(a,268521,452);break}case 9:{Sn(a,3761);break}case 11:{$n(a,342,j);break}case 13:{$n(a,342,-2);break}case 18:{$n(a,342,-1);break}case 20:{$n(a,342,w);break}case 25:{$n(a,267,b);break}case 27:{Sn(a,3761);break}case 29:{$n(a,342,j);break}case 31:{$n(a,342,-2);break}case 36:{$n(a,267,-1);break}case 38:{Sn(a,3761);break}case 40:{$n(a,342,k);break}case 42:{$n(a,342,-2);break}case 51:{In(a,136,-1,281100);break}case 53:{Jn(a,268491,50336874,268507);break}case 59:{$n(a,342,f);break}case 64:{Jn(a,268491,50336874,268507);break}case 69:{$n(a,267,b);break}case 71:{Sn(a,3761);break}case 73:{$n(a,342,j);break}case 75:{$n(a,342,-2);break}case 80:{$n(a,342,-1);break}case 82:{$n(a,342,b);break}case 87:{Jn(a,268521,50332152,271327);break}case 88:{c[d>>2]=o;l=B;return}}}function uo(a,b){a=a|0;b=b|0;return Eo(a,b,0)|0}function vo(d,e){d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=d+76|0;g=c[o>>2]|0;m=d+72|0;f=c[m>>2]|0;l=g-f>>4;n=((e|0)<0?l:0)+e|0;if(n>>>0>=l>>>0)$n(d,267,e);a:do switch(c[f+(n<<4)>>2]|0){case 3:case 2:{Jn(d,268491,100666464,271411);break}case 4:{e=671105153;i=11;j=29;break}case 8:{i=(c[c[f+(n<<4)+8>>2]>>2]&512|0)==0;e=i?1619017857:1879064705;i=i?9:43;j=29;break}case 10:{e=c[f+(n<<4)+8>>2]|0;if(g>>>0>=(c[d+68>>2]|0)>>>0)Sn(d,3761);c[o>>2]=g+16;c[g>>2]=10;c[g+8>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[e+16>>2]|0;l=c[m>>2]|0;e=(c[o>>2]|0)-l>>4;e=e|0?l+(e+-1<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=10)In(d,1847,-1,268387);e=c[e+8>>2]|0;if(!e)In(d,1847,-1,268387);g=Iq(d,-1342168960,53)|0;c[g+40>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;c[g+48>>2]=0;c[g+52>>2]=f;a[g+56>>0]=0;a[g+57>>0]=0;a[g+58>>0]=1;f=c[m>>2]|0;g=(c[o>>2]|0)-f>>4;e=g+-2|0;if(g>>>0<=1)$n(d,342,-2);i=f+(e<<4)|0;k=f+(g+-1<<4)|0;l=c[i>>2]|0;e=c[f+(e<<4)+8>>2]|0;DQ(i|0,i+16|0,k-i|0)|0;c[k>>2]=2;c[o>>2]=(c[o>>2]|0)+-16;if(l&8|0?(k=e+4|0,l=(c[k>>2]|0)+-1|0,c[k>>2]=l,(l|0)==0):0)go(c[d+44>>2]|0,e);break}case 5:{e=-2013249407;i=39;j=29;break}case 6:{i=c[f+(n<<4)+4>>2]|0;g=c[f+(n<<4)+8>>2]|0;l=i&15;l=(l|0)==15?-1:l;Gq(d,g,l,403132800);e=i>>>4&15;do if((e|0)!=(l|0)){f=c[o>>2]|0;if(f>>>0>=(c[d+68>>2]|0)>>>0)Sn(d,3868);k=f+16|0;c[o>>2]=k;c[f>>2]=0;h[f+8>>3]=+(e|0);l=c[m>>2]|0;e=k-l>>4;e=e>>>0>1?l+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9)In(d,1834,-2,268820);e=c[e+8>>2]|0;if(!e)In(d,1834,-2,268820);else{ho(d,e,c[(c[d+428>>2]|0)+320>>2]|0,0);break}}while(0);Hq(d,g,i);l=c[m>>2]|0;e=(c[o>>2]|0)-l>>4;e=e>>>0>1?l+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9)In(d,1834,-2,268820);e=c[e+8>>2]|0;if(!e)In(d,1834,-2,268820);else{ho(d,e,c[(c[d+428>>2]|0)+344>>2]|0,4);l=c[(c[o>>2]|0)+-8>>2]|0;b[l+46>>1]=(i>>>8&255)<<24>>24;c[l>>2]=c[l>>2]|33554432;break a}break}case 9:return;default:{e=1342193793;i=13;j=29}}while(0);do if((j|0)==29){l=d+68|0;if(g>>>0>=(c[l>>2]|0)>>>0)Sn(d,4255);j=xo(d,40)|0;k=d+44|0;f=c[k>>2]|0;c[j>>2]=e;e=f+24|0;f=c[e>>2]|0;if(f|0)c[f+12>>2]=j;c[j+12>>2]=0;c[j+8>>2]=f;c[e>>2]=j;g=c[o>>2]|0;c[g>>2]=9;c[g+8>>2]=j;g=j+4|0;c[g>>2]=(c[g>>2]|0)+1;g=(c[o>>2]|0)+16|0;c[o>>2]=g;i=c[d+132+(i<<2)>>2]|0;e=j+20|0;f=c[e>>2]|0;c[e>>2]=i;e=g;if(i|0){j=i+4|0;c[j>>2]=(c[j>>2]|0)+1}if((f|0)!=0?(i=f+4|0,j=(c[i>>2]|0)+-1|0,c[i>>2]=j,(j|0)==0):0){fp(c[k>>2]|0,f);e=c[o>>2]|0;g=e}if(g>>>0>=(c[l>>2]|0)>>>0)Sn(d,935);f=c[m>>2]|0;l=e-f>>4;e=((n|0)<0?l:0)+n|0;if(e>>>0>=l>>>0)$n(d,342,n);l=f+(e<<4)|0;c[o>>2]=g+16;c[g>>2]=c[l>>2];c[g+4>>2]=c[l+4>>2];c[g+8>>2]=c[l+8>>2];c[g+12>>2]=c[l+12>>2];if(c[g>>2]&8|0){l=(c[g+8>>2]|0)+4|0;c[l>>2]=(c[l>>2]|0)+1}l=c[m>>2]|0;e=(c[o>>2]|0)-l>>4;e=e>>>0>1?l+(e+-2<<4)|0:0;e=(e|0)==0?944:e;if((c[e>>2]|0)!=9)In(d,1834,-2,268820);e=c[e+8>>2]|0;if(!e)In(d,1834,-2,268820);else{ho(d,e,c[(c[d+428>>2]|0)+356>>2]|0,0);break}}while(0);f=c[m>>2]|0;g=(c[o>>2]|0)-f>>4;if(!g)$n(d,342,-1);i=f+(g+-1<<4)|0;e=((n|0)<0?g:0)+n|0;if(e>>>0>=g>>>0)$n(d,342,n);m=f+(e<<4)|0;n=c[m>>2]|0;e=c[f+(e<<4)+8>>2]|0;c[m>>2]=c[i>>2];c[m+4>>2]=c[i+4>>2];c[m+8>>2]=c[i+8>>2];c[m+12>>2]=c[i+12>>2];c[i>>2]=2;c[o>>2]=(c[o>>2]|0)+-16;if(!(n&8))return;n=e+4|0;o=(c[n>>2]|0)+-1|0;c[n>>2]=o;if(o|0)return;go(c[d+44>>2]|0,e);return}function wo(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+92|0;k=(c[i>>2]|0)+8|0;if(k>>>0>=(c[a+56>>2]|0)>>>0)Jn(a,271146,50331687,271395);f=c[a+44>>2]|0;g=k*48|0;e=f+36|0;j=c[e>>2]|0;c[e>>2]=j+-1;if((j|0)<1)Ln(f,2);d=f+8|0;e=f+16|0;j=a+84|0;b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if((g|0)==0|(b|0)!=0)if(!b)Mn(a,271146,53);else h=b;else{Ln(f,0);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,0);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b){Ln(f,1);b=ig[c[d>>2]&63](c[e>>2]|0,c[j>>2]|0,g)|0;if(!b)Mn(a,271146,53);else h=b}else h=b}else h=b}else h=b}else h=b}else h=b}else h=b}else h=b}else h=b}else h=b}c[j>>2]=h;c[i>>2]=k;k=c[a+96>>2]|0;c[a+88>>2]=(k|0)==0?0:h+(k*48|0)+-48|0;return}function xo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=c[a+44>>2]|0;g=f+36|0;h=c[g>>2]|0;c[g>>2]=h+-1;if((h|0)<1)Ln(f,2);g=f+4|0;e=f+16|0;d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;h=(b|0)==0;if(h|(d|0)!=0){if(d|0)i=7}else{Ln(f,0);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,0);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,1);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,1);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,1);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,1);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,1);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,1);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,1);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(!d){Ln(f,1);d=hg[c[g>>2]&63](c[e>>2]|0,b)|0;if(d|0)i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}else i=7}if((i|0)==7){EQ(d|0,0,b|0)|0;i=d;return i|0}if(h){i=0;return i|0}else Mn(a,271377,154);return 0}function yo(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=c[b+36>>2]|0;k=c[b+24>>2]|0;l=c[b+16>>2]|0;a:do if(!e){f=l+(k<<4)|0;e=c[b+28>>2]|0;if(!e){b=-1;j=11}else{b=0;while(1){if((c[f+(b<<2)>>2]|0)==(d|0)){j=11;break a}b=b+1|0;if(b>>>0>=e>>>0){b=-1;j=11;break}}}}else{i=l+(k*21|0)+(0-k&7)+(c[b+32>>2]<<4)|0;g=e+-1|0;h=l+(k<<4)|0;b=0;f=c[d+12>>2]&g;b:while(1){e=c[i+(f<<2)>>2]|0;switch(e|0){case -1:{e=19;break}case -2:{j=8;break}default:if((c[h+(e<<2)>>2]|0)==(d|0)){b=e;e=1}else j=8}if((j|0)==8){j=0;e=0;f=f+1&g}switch(e&31){case 19:{b=-1;j=11;break a}case 0:break;default:break b}}if(!e){b=-1;j=11}}while(0);if((b|0)>-1)return ((a[l+(k*20|0)+b>>0]&8)==0?l+(b<<4)|0:0)|0;else return 0;return 0}function zo(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,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;B=b;G=a+76|0;g=c[G>>2]|0;E=a+68|0;if(g>>>0>=(c[E>>2]|0)>>>0)Sn(a,3761);c[G>>2]=g+16;c[g>>2]=9;c[g+8>>2]=B;A=b+4|0;c[A>>2]=(c[A>>2]|0)+1;g=c[G>>2]|0;F=a+72|0;k=g-(c[F>>2]|0)|0;D=k>>4;l=D+-1|0;if(!D)$n(a,267,-1);D=a+428|0;i=c[(c[D>>2]|0)+368>>2]|0;if(g>>>0>=(c[E>>2]|0)>>>0)Sn(a,3761);c[G>>2]=g+16;c[g>>2]=8;c[g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=(k|0)<32;i=0;g=f;a:while(1){if(u){m=g;while(1){f=m+-1|0;if((m|0)<=0){y=120;break a}g=f+e|0;k=c[G>>2]|0;if(k>>>0>=(c[E>>2]|0)>>>0){y=58;break a}l=c[F>>2]|0;H=k-l>>4;j=((g|0)<0?H:0)+g|0;if(j>>>0>=H>>>0){y=60;break a}H=l+(j<<4)|0;c[G>>2]=k+16;c[k>>2]=c[H>>2];c[k+4>>2]=c[H+4>>2];c[k+8>>2]=c[H+8>>2];c[k+12>>2]=c[H+12>>2];if(c[k>>2]&8|0){H=(c[k+8>>2]|0)+4|0;c[H>>2]=(c[H>>2]|0)+1}H=c[F>>2]|0;l=(c[G>>2]|0)-H>>4;g=l+v|0;g=g>>>0>>0?H+(g<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9){y=65;break a}g=c[g+8>>2]|0;if(!g){y=65;break a}rp(a,g,f);if((m|0)>(w|0)|(c[b>>2]&65536|0)!=0)m=f;else break}}else{m=g;while(1){f=m+-1|0;if((m|0)<=0){y=120;break a}g=f+e|0;k=c[G>>2]|0;if(k>>>0>=(c[E>>2]|0)>>>0){y=58;break a}l=c[F>>2]|0;H=k-l>>4;j=((g|0)<0?H:0)+g|0;if(j>>>0>=H>>>0){y=60;break a}H=l+(j<<4)|0;c[G>>2]=k+16;c[k>>2]=c[H>>2];c[k+4>>2]=c[H+4>>2];c[k+8>>2]=c[H+8>>2];c[k+12>>2]=c[H+12>>2];if(c[k>>2]&8|0){H=(c[k+8>>2]|0)+4|0;c[H>>2]=(c[H>>2]|0)+1}g=c[F>>2]|0;g=v>>>0<(c[G>>2]|0)-g>>4>>>0?g+(v<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9){y=65;break a}g=c[g+8>>2]|0;if(!g){y=65;break a}rp(a,g,f);if((m|0)>(w|0)|(c[b>>2]&65536|0)!=0)m=f;else break}}j=c[G>>2]|0;g=c[F>>2]|0;H=j-g>>4;k=(o?H:0)+t|0;l=g;if(k>>>0>=H>>>0){y=68;break}if(j>>>0>=(c[E>>2]|0)>>>0){y=70;break}n=+(f>>>0);H=j+16|0;c[G>>2]=H;c[j>>2]=0;h[j+8>>3]=n;j=H-g>>4;g=((k|0)<0?j:0)+k|0;if(g>>>0>=j>>>0){y=72;break}ro(a,l+(g<<4)|0,l+(j+-1<<4)|0)|0;j=c[F>>2]|0;k=(c[G>>2]|0)-j>>4;g=k+-2|0;if(k>>>0<=1){y=74;break}l=j+(g<<4)|0;m=j+(k+-1<<4)|0;H=c[l>>2]|0;j=c[j+(g<<4)+8>>2]|0;DQ(l|0,l+16|0,m-l|0)|0;c[m>>2]=2;g=(c[G>>2]|0)+-16|0;c[G>>2]=g;do if(H&8){m=j+4|0;H=(c[m>>2]|0)+-1|0;c[m>>2]=H;if(H|0)break;go(c[C>>2]|0,j);g=c[G>>2]|0}while(0);if(g>>>0>=(c[E>>2]|0)>>>0){y=79;break}if((g-(c[F>>2]|0)|0)<16){y=81;break}H=g+-16|0;c[G>>2]=g+16;c[g>>2]=c[H>>2];c[g+4>>2]=c[H+4>>2];c[g+8>>2]=c[H+8>>2];c[g+12>>2]=c[H+12>>2];if(c[g>>2]&8|0){H=(c[g+8>>2]|0)+4|0;c[H>>2]=(c[H>>2]|0)+1}if(!(_p(a,r)|0)){g=c[G>>2]|0;if(g>>>0>=(c[E>>2]|0)>>>0){y=86;break}if((g-(c[F>>2]|0)|0)<16){y=88;break}H=g+-16|0;c[G>>2]=g+16;c[g>>2]=c[H>>2];c[g+4>>2]=c[H+4>>2];c[g+8>>2]=c[H+8>>2];c[g+12>>2]=c[H+12>>2];if(c[g>>2]&8|0){H=(c[g+8>>2]|0)+4|0;c[H>>2]=(c[H>>2]|0)+1}g=c[G>>2]|0;if(g>>>0>=(c[E>>2]|0)>>>0){y=92;break}c[G>>2]=g+16;c[g>>2]=0;h[g+8>>3]=n;Ho(a,-1)|0;H=c[F>>2]|0;m=(c[G>>2]|0)-H>>4;g=(p?m:0)+r|0;g=g>>>0>>0?H+(g<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9){y=95;break}i=c[g+8>>2]|0;if(!i){y=95;break}po(a,-2,1);H=c[F>>2]|0;g=(c[G>>2]|0)-H>>4;g=g>>>0>1?H+(g+-2<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)==8?(x=c[g+8>>2]|0,(x|0)!=0):0)g=x;else y=98;do if((y|0)==98){y=0;Ho(a,-2)|0;H=c[F>>2]|0;g=(c[G>>2]|0)-H>>4;g=g>>>0>1?H+(g+-2<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=8){g=0;break}g=c[g+8>>2]|0}while(0);ho(a,i,g,7);i=c[G>>2]|0;if((i|0)==(c[F>>2]|0)){y=101;break}g=i+-16|0;c[G>>2]=g;H=c[i+-16>>2]|0;i=c[i+-8>>2]|0;c[g>>2]=2;do if(H&8){m=i+4|0;H=(c[m>>2]|0)+-1|0;c[m>>2]=H;if(H|0)break;go(c[C>>2]|0,i);g=c[G>>2]|0}while(0);if(g>>>0>=(c[E>>2]|0)>>>0){y=106;break}if((g-(c[F>>2]|0)|0)<16){y=108;break}H=g+-16|0;c[G>>2]=g+16;c[g>>2]=c[H>>2];c[g+4>>2]=c[H+4>>2];c[g+8>>2]=c[H+8>>2];c[g+12>>2]=c[H+12>>2];if(c[g>>2]&8|0){H=(c[g+8>>2]|0)+4|0;c[H>>2]=(c[H>>2]|0)+1}H=c[F>>2]|0;m=(c[G>>2]|0)-H>>4;g=(q?m:0)+s|0;g=g>>>0>>0?H+(g<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9){y=113;break}g=c[g+8>>2]|0;if(!g){y=113;break}rp(a,g,f);i=1}g=c[G>>2]|0;if((g|0)==(c[F>>2]|0)){y=116;break}m=g+-16|0;c[G>>2]=m;H=c[g+-16>>2]|0;g=c[g+-8>>2]|0;c[m>>2]=2;if(!(H&8)){g=f;continue}m=g+4|0;H=(c[m>>2]|0)+-1|0;c[m>>2]=H;if(H|0){g=f;continue}go(c[C>>2]|0,g);g=f}switch(y|0){case 58:{Sn(a,935);break}case 60:{$n(a,342,g);break}case 65:{In(a,1834,v,268820);break}case 68:{$n(a,267,t);break}case 70:{Sn(a,3902);break}case 72:{$n(a,342,k);break}case 74:{$n(a,342,-2);break}case 79:{Sn(a,955);break}case 81:{$n(a,958,-1);break}case 86:{Sn(a,955);break}case 88:{$n(a,958,-1);break}case 92:{Sn(a,3902);break}case 95:{In(a,1834,r,268820);break}case 101:{Jn(a,268491,50336874,268507);break}case 106:{Sn(a,955);break}case 108:{$n(a,958,-1);break}case 113:{In(a,1834,s,268820);break}case 116:{Jn(a,268491,50336874,268507);break}case 120:{l=(i|0)!=0;do if(l){i=c[G>>2]|0;if(i>>>0>=(c[E>>2]|0)>>>0)Sn(a,935);j=c[F>>2]|0;H=i-j>>4;g=(q?H:0)+s|0;if(g>>>0>=H>>>0)$n(a,342,s);H=j+(g<<4)|0;c[G>>2]=i+16;c[i>>2]=c[H>>2];c[i+4>>2]=c[H+4>>2];c[i+8>>2]=c[H+8>>2];c[i+12>>2]=c[H+12>>2];if(c[i>>2]&8|0){H=(c[i+8>>2]|0)+4|0;c[H>>2]=(c[H>>2]|0)+1}H=c[F>>2]|0;y=(c[G>>2]|0)-H>>4;g=(u?y:0)+v|0;g=g>>>0>>0?H+(g<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9)In(a,1834,v,268820);g=c[g+8>>2]|0;if(!g)In(a,1834,v,268820);ho(a,g,c[(c[D>>2]|0)+392>>2]|0,0);g=c[G>>2]|0;if(g>>>0>=(c[E>>2]|0)>>>0)Sn(a,3761);c[G>>2]=g+16;c[g>>2]=9;c[g+8>>2]=d;H=d+4|0;c[H>>2]=(c[H>>2]|0)+1;H=c[F>>2]|0;d=(c[G>>2]|0)-H>>4;g=(u?d:0)+v|0;g=g>>>0>>0?H+(g<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9)In(a,1834,v,268820);g=c[g+8>>2]|0;if(!g)In(a,1834,v,268820);else{ho(a,g,c[(c[D>>2]|0)+396>>2]|0,0);break}}while(0);do if(!(c[b>>2]&65536)){g=c[G>>2]|0;if(g>>>0>=(c[E>>2]|0)>>>0)Sn(a,3761);c[G>>2]=g+16;c[g>>2]=9;c[g+8>>2]=B;c[A>>2]=(c[A>>2]|0)+1;H=c[F>>2]|0;E=(c[G>>2]|0)-H>>4;g=(u?E:0)+v|0;g=g>>>0>>0?H+(g<<4)|0:0;g=(g|0)==0?944:g;if((c[g>>2]|0)!=9)In(a,1834,v,268820);g=c[g+8>>2]|0;if(!g)In(a,1834,v,268820);else{ho(a,g,c[(c[D>>2]|0)+272>>2]|0,5);break}}else{g=c[G>>2]|0;H=g-(c[F>>2]|0)>>4;j=(u?H:0)+v|0;if(j>>>0>=H>>>0)$n(a,267,v);i=c[(c[D>>2]|0)+276>>2]|0;if(g>>>0>=(c[E>>2]|0)>>>0)Sn(a,3761);c[G>>2]=g+16;c[g>>2]=8;c[g+8>>2]=i;k=i+4|0;c[k>>2]=(c[k>>2]|0)+1;k=a+268|0;g=c[k>>2]|0;i=c[G>>2]|0;if(i>>>0>=(c[E>>2]|0)>>>0)Sn(a,3761);c[G>>2]=i+16;c[i>>2]=9;c[i+8>>2]=g;g=g+4|0;c[g>>2]=(c[g>>2]|0)+1;g=c[G>>2]|0;if(g>>>0>=(c[E>>2]|0)>>>0)Sn(a,955);if((g-(c[F>>2]|0)|0)<16)$n(a,958,-1);H=g+-16|0;c[G>>2]=g+16;c[g>>2]=c[H>>2];c[g+4>>2]=c[H+4>>2];c[g+8>>2]=c[H+8>>2];c[g+12>>2]=c[H+12>>2];if(c[g>>2]&8|0){H=(c[g+8>>2]|0)+4|0;c[H>>2]=(c[H>>2]|0)+1}qp(a,j,896);i=c[G>>2]|0;H=i-(c[F>>2]|0)>>4;j=(u?H:0)+v|0;if(j>>>0>=H>>>0)$n(a,267,v);g=c[(c[D>>2]|0)+272>>2]|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H&8))return;G=g+4|0;H=(c[G>>2]|0)+-1|0;c[G>>2]=H;if(H|0)return;go(c[C>>2]|0,g);return}}}function Ao(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+64>>2]|0;i=(e|0)>-1;b=(i?e:b)+d+((c[a+72>>2]|0)-h>>4)|0;if(!((g|0)!=0?(c[g>>2]&4096|0)==0:0))b=b+64|0;g=b+64|0;if(g>>>0<(c[a+76>>2]|0)-h>>4>>>0){_n(a,f+d|0);_n(a,e+d|0);b=0}else b=1;h=c[a+80>>2]|0;if(!(h>>>0>=g>>>0&(h-g|0)>>>0<256))Yn(a,g,5)|0;if(!(i&b))return;_n(a,f+d|0);_n(a,e+d|0);return}function Bo(d){d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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=l;l=l+160|0;M=4;N=TM(40)|0;c[N>>2]=0;C=O;D=c[d+44>>2]|0;F=c[d+96>>2]|0;I=D+132|0;J=c[I>>2]|0;K=D+72|0;L=c[K>>2]|0;c[K>>2]=C;M=AQ(C,2,N|0,M|0)|0;N=z;o=0;e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 1:{g=0;i=0;j=0;v=176;break}case 2:{g=0;i=0;j=0;v=3;break}default:{g=0;i=0;j=0;e=0;v=3}}a:while(1){if((v|0)==3){v=0;if(!e)v=5;else{A=F+-1|0;B=D+56|0;j=D+124|0}}else if((v|0)==176){v=0;if(!e)v=5;else{A=g;B=i}}if((v|0)==5){o=0;ua(163,d|0,F|0);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{v=3;continue a}case 1:{v=176;continue a}default:{v=6;break a}}}c[I>>2]=J;c[K>>2]=L;e=c[j>>2]|0;b:while(1){y=e+44|0;t=c[y>>2]|0;switch(c[t+76>>2]|0){case 3:{u=c[t+112>>2]|0;if(!(c[t+80>>2]|0)){v=14;break b}c[u+116>>2]=e;f=e+4|0;c[f>>2]=(c[f>>2]|0)+1;a[u+49>>0]=2;a[e+49>>0]=3;f=t+124|0;if(u|0){e=c[f>>2]|0;if(!e){g=0;e=0}else{g=c[e+128>>2]|0;e=c[e+124>>2]|0}c[u+124>>2]=e;c[u+128>>2]=g}c[f>>2]=u;c[(c[u+44>>2]|0)+76>>2]=1;e=u;continue b}case 2:{s=e+116|0;u=c[s>>2]|0;if(!(c[t+80>>2]|0)){v=54;break b}a[e+49>>0]=4;c[s>>2]=0;w=u+4|0;x=(c[w>>2]|0)+-1|0;c[w>>2]=x;if(!x){o=0;ua(161,t|0,u|0);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{}}e=c[y>>2]|0}else e=t;a[u+49>>0]=2;f=e+124|0;e=c[f>>2]|0;if(!e){g=0;e=0}else{g=c[e+128>>2]|0;e=c[e+124>>2]|0}c[u+124>>2]=e;c[u+128>>2]=g;c[f>>2]=u;c[(c[u+44>>2]|0)+76>>2]=1;e=u;continue b}case 1:{x=e+104|0;m=c[x>>2]|0;r=e+112|0;f=m+((c[r>>2]|0)*20|0)|0;i=(e|0)==(d|0);c:do if(i){g=f;while(1){f=g+-20|0;if(f>>>0>>0)break c;if((c[g+-12>>2]|0)>>>0>>0){v=171;break b}g=c[g+-4>>2]|0;if(g&16|0){e=d;v=80;break b}if(!(g&32))g=f;else{e=d;v=149;break b}}}else{g=f;while(1){f=g+-20|0;if(f>>>0>>0)break c;g=c[g+-4>>2]|0;if(g&16|0){v=80;break b}if(!(g&32))g=f;else{v=149;break b}}}while(0);if(i){v=171;break b}g=e+116|0;i=c[g>>2]|0;o=0;oa(216,e|0);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{}}c[g>>2]=0;w=i+4|0;x=(c[w>>2]|0)+-1|0;c[w>>2]=x;if(!x){o=0;ua(161,c[y>>2]|0,i|0);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{}}}a[i+49>>0]=2;f=(c[y>>2]|0)+124|0;if(i|0){e=c[f>>2]|0;if(!e){g=0;e=0}else{g=c[e+128>>2]|0;e=c[e+124>>2]|0}c[i+124>>2]=e;c[i+128>>2]=g}c[f>>2]=i;e=i;continue b}default:{v=169;break b}}}do if((v|0)==14){s=u+49|0;if((a[s>>0]|0)!=4){f=u+76|0;g=c[f>>2]|0;i=c[u+68>>2]|0;if(g>>>0>=i>>>0){o=0;ua(160,u|0,3772);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=33;break a}}}k=g+16|0;c[f>>2]=k;m=t+88|0;if(k>>>0>=i>>>0){o=0;ua(160,u|0,3761);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=36;break a}}}c[f>>2]=g+32;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];if(c[m>>2]&8|0){x=(c[t+96>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}o=0;g=ba(15,u|0,1,4)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){i=BQ(c[f>>2]|0,M|0,N|0)|0;if(!i)Of(f|0,p|0);z=p}else i=-1;f=z;switch(i|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}if(!g){o=0;wa(16,e|0,269128,1224);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=42;break a}}}c[u+116>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;a[s>>0]=2;a[e+49>>0]=3;g=(c[y>>2]|0)+124|0;f=c[g>>2]|0;if(!f){i=0;f=0}else{i=c[f+128>>2]|0;f=c[f+124>>2]|0}c[u+124>>2]=f;c[u+128>>2]=i;c[g>>2]=u;break}m=c[u+96>>2]|0;q=m+-2|0;r=u+64|0;f=c[r>>2]|0;n=u+84|0;g=c[(c[n>>2]|0)+(q*48|0)+40>>2]|0;i=f+(g<<4)|0;k=t+88|0;if(c[k>>2]&8|0){x=(c[t+96>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}if(c[i>>2]&8){f=c[f+(g<<4)+8>>2]|0;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];w=f+4|0;x=(c[w>>2]|0)+-1|0;c[w>>2]=x;if(!x){o=0;ua(159,c[y>>2]|0,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}}}else{c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2]}o=0;ua(162,u|0,m+-1|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}f=c[n>>2]|0;i=c[f+(q*48|0)+16>>2]|0;x=c[f+(q*48|0)+36>>2]|0;k=u+72|0;c[k>>2]=(c[r>>2]|0)+(x<<4);o=0;ua(158,u|0,1-x+(c[f+(q*48|0)+40>>2]|0)|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}i=i+60|0;f=b[i>>1]|0;g=(f&65535)+64+((c[k>>2]|0)-(c[r>>2]|0)>>4)|0;x=c[u+80>>2]|0;if(!(x>>>0>=g>>>0&(x-g|0)>>>0<256)){o=0;ba(14,u|0,g|0,5)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}f=b[i>>1]|0}o=0;ua(158,u|0,f&65535|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}c[u+116>>2]=e;g=e+4|0;c[g>>2]=(c[g>>2]|0)+1;a[s>>0]=2;a[e+49>>0]=3;g=(c[y>>2]|0)+124|0;f=c[g>>2]|0;if(!f){i=0;f=0}else{i=c[f+128>>2]|0;f=c[f+124>>2]|0}c[u+124>>2]=f;c[u+128>>2]=i;c[g>>2]=u}else if((v|0)==54){m=c[u+96>>2]|0;q=m+-2|0;i=t+88|0;r=u+64|0;f=c[r>>2]|0;n=u+84|0;g=c[(c[n>>2]|0)+(q*48|0)+40>>2]|0;k=f+(g<<4)|0;if(c[i>>2]&8|0){x=(c[t+96>>2]|0)+4|0;c[x>>2]=(c[x>>2]|0)+1}if(c[k>>2]&8){f=c[f+(g<<4)+8>>2]|0;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];w=f+4|0;x=(c[w>>2]|0)+-1|0;c[w>>2]=x;if(!x){o=0;ua(159,c[y>>2]|0,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}}}else{c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2]}o=0;ua(162,u|0,m+-1|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}f=c[n>>2]|0;i=c[f+(q*48|0)+16>>2]|0;x=c[f+(q*48|0)+36>>2]|0;k=u+72|0;c[k>>2]=(c[r>>2]|0)+(x<<4);o=0;ua(158,u|0,1-x+(c[f+(q*48|0)+40>>2]|0)|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}i=i+60|0;f=b[i>>1]|0;g=(f&65535)+64+((c[k>>2]|0)-(c[r>>2]|0)>>4)|0;x=c[u+80>>2]|0;if(!(x>>>0>=g>>>0&(x-g|0)>>>0<256)){o=0;ba(14,u|0,g|0,5)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}f=b[i>>1]|0}o=0;ua(158,u|0,f&65535|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}a[e+49>>0]=4;c[s>>2]=0;w=u+4|0;x=(c[w>>2]|0)+-1|0;c[w>>2]=x;if(!x){o=0;ua(161,c[y>>2]|0,u|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}}a[u+49>>0]=2;g=(c[y>>2]|0)+124|0;f=c[g>>2]|0;if(!f){i=0;f=0}else{i=c[f+128>>2]|0;f=c[f+124>>2]|0}c[u+124>>2]=f;c[u+128>>2]=i;c[g>>2]=u}else if((v|0)==80){v=0;w=(f-m|0)/20|0;k=t+88|0;u=e+64|0;g=c[u>>2]|0;f=c[m+(w*20|0)+12>>2]|0;i=g+(f<<4)|0;if(c[k>>2]&8|0){t=(c[t+96>>2]|0)+4|0;c[t>>2]=(c[t>>2]|0)+1}if(c[i>>2]&8){f=c[g+(f<<4)+8>>2]|0;c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2];s=f+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(!t){o=0;ua(159,c[e+44>>2]|0,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}}}else{c[i>>2]=c[k>>2];c[i+4>>2]=c[k+4>>2];c[i+8>>2]=c[k+8>>2];c[i+12>>2]=c[k+12>>2]}f=(c[u>>2]|0)+(c[(c[x>>2]|0)+(w*20|0)+12>>2]<<4)|0;s=f+16|0;t=c[f+16>>2]|0;f=c[f+24>>2]|0;c[s>>2]=0;h[s+8>>3]=1.0;if(t&8|0?(s=f+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0){o=0;ua(159,c[e+44>>2]|0,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}}m=w+1|0;f=c[r>>2]|0;n=e+84|0;if(f>>>0>m>>>0){k=e+44|0;while(1){f=f+-1|0;g=c[x>>2]|0;if(c[g+(f*20|0)+16>>2]&128|0?(t=(c[n>>2]|0)+((c[g+(f*20|0)+8>>2]|0)*48|0)+24|0,E=c[t>>2]|0,s=c[E+20>>2]|0,c[t>>2]=s,s=s+4|0,c[s>>2]=(c[s>>2]|0)+1,s=E+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0){o=0;ua(161,c[k>>2]|0,E|0);g=o;o=0;if((g|0)!=0&(p|0)!=0){i=BQ(c[g>>2]|0,M|0,N|0)|0;if(!i)Of(g|0,p|0);z=p}else i=-1;q=z;switch(i|0){case 2:{g=A;i=B;e=q;v=3;continue a}case 1:{g=A;i=B;e=q;v=176;continue a}default:{}}}if(f>>>0<=m>>>0)break}}c[r>>2]=m;o=0;ua(162,e|0,(c[(c[x>>2]|0)+(w*20|0)+8>>2]|0)+1|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}s=(c[e+96>>2]|0)+-1|0;t=c[n>>2]|0;f=c[x>>2]|0;g=c[t+(s*48|0)+16>>2]|0;s=c[t+(s*48|0)+36>>2]|0;t=e+72|0;c[t>>2]=(c[u>>2]|0)+(s<<4);o=0;ua(158,e|0,2-s+(c[f+(w*20|0)+12>>2]|0)|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){i=BQ(c[f>>2]|0,M|0,N|0)|0;if(!i)Of(f|0,p|0);z=p}else i=-1;f=z;switch(i|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}i=g+60|0;f=b[i>>1]|0;g=(f&65535)+64+((c[t>>2]|0)-(c[u>>2]|0)>>4)|0;s=c[e+80>>2]|0;if(!(s>>>0>=g>>>0&(s-g|0)>>>0<256)){o=0;ba(14,e|0,g|0,5)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}f=b[i>>1]|0}o=0;ua(158,e|0,f&65535|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}s=e+88|0;i=c[s>>2]|0;g=c[x>>2]|0;c[i+28>>2]=c[g+(w*20|0)+4>>2];f=c[g+(w*20|0)+16>>2]|0;do if(f&64){if(!(c[i+24>>2]|0)){o=0;ua(164,e|0,i|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}}o=0;r=aa(16,e|0,52)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}f=c[y>>2]|0;c[r>>2]=-2147483519;f=f+24|0;g=c[f>>2]|0;if(g|0)c[g+12>>2]=r;c[r+12>>2]=0;c[r+8>>2]=g;c[f>>2]=r;q=e+76|0;f=c[q>>2]|0;m=e+68|0;if(f>>>0>=(c[m>>2]|0)>>>0){o=0;ua(160,e|0,3761);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=113;break a}}}c[q>>2]=f+16;c[f>>2]=9;c[f+8>>2]=r;n=r+4|0;c[n>>2]=(c[n>>2]|0)+1;f=c[(c[x>>2]|0)+(w*20|0)>>2]|0;g=c[q>>2]|0;if(g>>>0>=(c[m>>2]|0)>>>0){o=0;ua(160,e|0,3761);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=116;break a}}}c[q>>2]=g+16;c[g>>2]=8;c[g+8>>2]=f;f=f+4|0;c[f>>2]=(c[f>>2]|0)+1;f=c[u>>2]|0;g=c[(c[x>>2]|0)+(w*20|0)+12>>2]|0;i=f+(g<<4)|0;k=c[q>>2]|0;if(k>>>0>=(c[m>>2]|0)>>>0){o=0;ua(160,e|0,3761);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=119;break a}}}c[q>>2]=k+16;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];if(c[i>>2]&8|0){y=(c[f+(g<<4)+8>>2]|0)+4|0;c[y>>2]=(c[y>>2]|0)+1}y=c[t>>2]|0;f=(c[q>>2]|0)-y>>4;f=f>>>0>2?y+(f+-3<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==9?(G=c[f+8>>2]|0,G|0):0){o=0;wa(17,e|0,-2,1);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}y=c[t>>2]|0;f=(c[q>>2]|0)-y>>4;f=f>>>0>1?y+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)==8?(H=c[f+8>>2]|0,(H|0)!=0):0)f=H;else v=129;do if((v|0)==129){o=0;aa(17,e|0,-2)|0;f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}y=c[t>>2]|0;f=(c[q>>2]|0)-y>>4;f=f>>>0>1?y+(f+-2<<4)|0:0;f=(f|0)==0?944:f;if((c[f>>2]|0)!=8){f=0;break}f=c[f+8>>2]|0}while(0);o=0;xa(15,e|0,G|0,f|0,1);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}f=c[q>>2]|0;i=c[t>>2]|0;if((f|0)==(i|0)){o=0;xa(13,e|0,268491,50336874,268507);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=135;break a}}}g=f+-16|0;c[q>>2]=g;y=c[f+-16>>2]|0;f=c[f+-8>>2]|0;c[g>>2]=2;do if(!(y&8))k=g;else{v=f+4|0;y=(c[v>>2]|0)+-1|0;c[v>>2]=y;if(y|0){k=g;break}o=0;ua(159,c[e+44>>2]|0,f|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}k=c[q>>2]|0;i=c[t>>2]|0}while(0);g=(c[s>>2]|0)+24|0;c[r+20>>2]=c[g>>2];c[g>>2]=r;c[n>>2]=(c[n>>2]|0)+1;g=c[x>>2]|0;y=g+(w*20|0)+16|0;f=c[y>>2]|128;c[y>>2]=f;if((k|0)==(i|0)){o=0;xa(13,e|0,268491,50336874,268507);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=142;break a}}}v=k+-16|0;c[q>>2]=v;y=c[k+-16>>2]|0;i=c[k+-8>>2]|0;c[v>>2]=2;if(!(y&8))break;v=i+4|0;y=(c[v>>2]|0)+-1|0;c[v>>2]=y;if(y|0)break;o=0;ua(159,c[e+44>>2]|0,i|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}f=c[x>>2]|0;g=f;f=c[f+(w*20|0)+16>>2]|0;break}o=0;xa(14,e|0,1834,-3,268820);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=125;break a}}}while(0);c[g+(w*20|0)+16>>2]=f&-17}else if((v|0)==149){o=0;xa(16,e|0,(f-m|0)/20|0|0,t+88|0,1);f=o;o=0;if((f|0)!=0&(p|0)!=0){g=BQ(c[f>>2]|0,M|0,N|0)|0;if(!g)Of(f|0,p|0);z=p}else g=-1;f=z;switch(g|0){case 2:{g=A;i=B;e=f;v=3;continue a}case 1:{g=A;i=B;e=f;v=176;continue a}default:{}}}else if((v|0)==169){o=0;wa(16,e|0,269128,1459);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=170;break a}}}else if((v|0)==171){c[B>>2]=(c[B>>2]|0)+-1;o=0;oa(217,c[j>>2]|0);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{v=172;break a}}}while(0);g=e+44|0;e=c[g>>2]|0;c[e+76>>2]=0;c[e+80>>2]=0;x=e+88|0;y=c[x>>2]|0;f=c[e+96>>2]|0;c[x>>2]=2;if((y&8|0)!=0?(x=f+4|0,y=(c[x>>2]|0)+-1|0,c[x>>2]=y,(y|0)==0):0){o=0;ua(159,e|0,f|0);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{}}e=c[g>>2]|0}x=e+104|0;y=c[x>>2]|0;f=c[e+112>>2]|0;c[x>>2]=2;if(y&8|0?(x=f+4|0,y=(c[x>>2]|0)+-1|0,c[x>>2]=y,(y|0)==0):0){o=0;ua(159,e|0,f|0);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{}}}c[B>>2]=(c[B>>2]|0)+-1;e=c[(c[j>>2]|0)+44>>2]|0;if(c[e+32>>2]|0){o=0;oa(213,e|0);e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{}}}c[K>>2]=C;M=AQ(C,1,M|0,N|0)|0;N=z;o=0;e=o;o=0;if((e|0)!=0&(p|0)!=0){f=BQ(c[e>>2]|0,M|0,N|0)|0;if(!f)Of(e|0,p|0);z=p}else f=-1;e=z;switch(f|0){case 2:{g=A;i=B;v=3;continue a}case 1:{g=A;i=B;v=176;continue a}default:{}}g=A;i=B;e=0;v=176}switch(v|0){case 6:{c[K>>2]=L;UM(M|0);l=O;return}case 33:break;case 36:break;case 42:break;case 113:break;case 116:break;case 119:break;case 125:break;case 135:break;case 142:break;case 170:break;case 172:break}} + +// EMSCRIPTEN_END_FUNCS +var cg=[qR,Su,Tu,Uu,Vu,Wu,Xu,Yu,Zu,_u,$u,av,bv,cv,dv,ev,fv,gv,qR,qR,qR,qR,qR,qR,qR,qR,qR,qR,qR,qR,qR,qR];var dg=[rR,Qu,Ru,rR];var eg=[sR,rl];var fg=[tR,LJ,PK,QM,RM,uR,vR,wR];var gg=[xR,dm,em,fm,gm,hm,im,jm,km,lm,mm,nm,om,pm,qm,rm,sm,tm,um,vm,wm,xm,ym,zm,Am,Bm,Cm,Dm,Em,Fm,Gm,Hm,Im,Jm,Km,Lm,Xm,Ym,Zm,_m,$m,an,bn,cn,dn,en,fn,gn,hn,jn,kn,ln,mn,nn,on,pn,qn,rn,sn,tn,un,vn,wn,xn,yn,zn,An,Bn,Cn,Dn,En,yr,zr,Ar,Br,Cr,Dr,Er,Fr,Gr,Hr,Ir,Jr,Kr,Lr,Mr,Nr,Or,Pr,Qr,Rr,Sr,Tr,Ur,Vr,Wr,Xr,Yr,Zr,_r,$r,as,bs,cs,ds,es,fs,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=[eV,Zk,_k,$k,ll,fV,gV,eV];var Hg=[hV,al,IJ,JJ,KJ,iV,jV,kV];var Ig=[lV,il,nl,mV,nV,oV,lV,lV];var Jg=[pV,jM,kM,lM,mM,nM,oM,pM,qM,rM,sM,tM,uM,qV,rV,sV];var Kg=[tV,cl,vJ,uJ,wJ,yJ,xJ,AJ,zJ,tV,tV,tV,tV,tV,tV,tV];var Lg=[uV,bl];var Mg=[vV,dl];return{___divdi3:pQ,___errno_location:aN,___muldi3:rQ,___remdi3:sQ,___udivdi3:tQ,___uremdi3:uQ,_bitshift64Ashr:vQ,_bitshift64Lshr:wQ,_bitshift64Shl:xQ,_emscripten_GetProcAddress:SM,_emscripten_get_global_libc:XM,_free:UM,_htonl:IP,_htons:GP,_i64Add:lQ,_i64Subtract:mQ,_llvm_bswap_i16:yQ,_llvm_bswap_i32:zQ,_main:kh,_malloc:TM,_memcpy:CQ,_memmove:DQ,_memset:EQ,_ntohs:OP,_realloc:VM,_round:FQ,_saveSetjmp:AQ,_sbrk:GQ,_strstr:zP,_testSetjmp:BQ,dynCall_dd:HQ,dynCall_ddd:IQ,dynCall_di:JQ,dynCall_i:KQ,dynCall_ii:LQ,dynCall_iii:MQ,dynCall_iiii:NQ,dynCall_iiiii:OQ,dynCall_iiiiidii:PQ,dynCall_iiiiii:QQ,dynCall_iiiiiiii:RQ,dynCall_iiiiiiiii:SQ,dynCall_iiiiiiiiii:TQ,dynCall_v:UQ,dynCall_vd:VQ,dynCall_vdd:WQ,dynCall_vdddd:XQ,dynCall_vdddddd:YQ,dynCall_vdi:ZQ,dynCall_vi:_Q,dynCall_vid:$Q,dynCall_vidd:aR,dynCall_viddd:bR,dynCall_vidddd:cR,dynCall_viddddddddddddii:dR,dynCall_vii:eR,dynCall_viid:fR,dynCall_viii:gR,dynCall_viiii:hR,dynCall_viiiii:iR,dynCall_viiiiii:jR,dynCall_viiiiiii:kR,dynCall_viiiiiiii:lR,dynCall_viiiiiiiii:mR,dynCall_viiiiiiiiiii:nR,dynCall_viiiiiiiiiiii:oR,dynCall_viiiiiiiiiiiii:pR,establishStackSpace:Qg,getTempRet0:Tg,runPostSets:kQ,setTempRet0:Sg,setThrew:Rg,stackAlloc:Ng,stackRestore:Pg,stackSave:Og}}) + + +// EMSCRIPTEN_END_ASM +(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var ___divdi3=Module["___divdi3"]=asm["___divdi3"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___remdi3=Module["___remdi3"]=asm["___remdi3"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _bitshift64Ashr=Module["_bitshift64Ashr"]=asm["_bitshift64Ashr"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _emscripten_GetProcAddress=Module["_emscripten_GetProcAddress"]=asm["_emscripten_GetProcAddress"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var _free=Module["_free"]=asm["_free"];var _htonl=Module["_htonl"]=asm["_htonl"];var _htons=Module["_htons"]=asm["_htons"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var _llvm_bswap_i16=Module["_llvm_bswap_i16"]=asm["_llvm_bswap_i16"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _main=Module["_main"]=asm["_main"];var _malloc=Module["_malloc"]=asm["_malloc"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _memmove=Module["_memmove"]=asm["_memmove"];var _memset=Module["_memset"]=asm["_memset"];var _ntohs=Module["_ntohs"]=asm["_ntohs"];var _realloc=Module["_realloc"]=asm["_realloc"];var _round=Module["_round"]=asm["_round"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _strstr=Module["_strstr"]=asm["_strstr"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var setThrew=Module["setThrew"]=asm["setThrew"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var stackSave=Module["stackSave"]=asm["stackSave"];var dynCall_dd=Module["dynCall_dd"]=asm["dynCall_dd"];var dynCall_ddd=Module["dynCall_ddd"]=asm["dynCall_ddd"];var dynCall_di=Module["dynCall_di"]=asm["dynCall_di"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_iiiiidii=Module["dynCall_iiiiidii"]=asm["dynCall_iiiiidii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_iiiiiiiiii=Module["dynCall_iiiiiiiiii"]=asm["dynCall_iiiiiiiiii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_vd=Module["dynCall_vd"]=asm["dynCall_vd"];var dynCall_vdd=Module["dynCall_vdd"]=asm["dynCall_vdd"];var dynCall_vdddd=Module["dynCall_vdddd"]=asm["dynCall_vdddd"];var dynCall_vdddddd=Module["dynCall_vdddddd"]=asm["dynCall_vdddddd"];var dynCall_vdi=Module["dynCall_vdi"]=asm["dynCall_vdi"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vid=Module["dynCall_vid"]=asm["dynCall_vid"];var dynCall_vidd=Module["dynCall_vidd"]=asm["dynCall_vidd"];var dynCall_viddd=Module["dynCall_viddd"]=asm["dynCall_viddd"];var dynCall_vidddd=Module["dynCall_vidddd"]=asm["dynCall_vidddd"];var dynCall_viddddddddddddii=Module["dynCall_viddddddddddddii"]=asm["dynCall_viddddddddddddii"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_viid=Module["dynCall_viid"]=asm["dynCall_viid"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=asm["dynCall_viiiiiii"];var dynCall_viiiiiiii=Module["dynCall_viiiiiiii"]=asm["dynCall_viiiiiiii"];var dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=asm["dynCall_viiiiiiiii"];var dynCall_viiiiiiiiiii=Module["dynCall_viiiiiiiiiii"]=asm["dynCall_viiiiiiiiiii"];var dynCall_viiiiiiiiiiii=Module["dynCall_viiiiiiiiiiii"]=asm["dynCall_viiiiiiiiiiii"];var dynCall_viiiiiiiiiiiii=Module["dynCall_viiiiiiiiiiiii"]=asm["dynCall_viiiiiiiiiiiii"];Runtime.stackAlloc=Module["stackAlloc"];Runtime.stackSave=Module["stackSave"];Runtime.stackRestore=Module["stackRestore"];Runtime.establishStackSpace=Module["establishStackSpace"];Runtime.setTempRet0=Module["setTempRet0"];Runtime.getTempRet0=Module["getTempRet0"];Module["asm"]=asm;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}))}var memoryInitializerBytes=tryParseAsDataURI(memoryInitializer);if(memoryInitializerBytes){applyMemoryInitializer(memoryInitializerBytes.buffer)}else if(Module["memoryInitializerRequest"]){function useRequest(){var request=Module["memoryInitializerRequest"];var response=request.response;if(request.status!==200&&request.status!==0){var data=tryParseAsDataURI(Module["memoryInitializerRequestURL"]);if(data){response=data.buffer}else{console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+request.status+", retrying "+memoryInitializer);doBrowserLoad();return}}applyMemoryInitializer(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"]=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"]=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]&&status===0){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)}Module["quit"](status,new ExitStatus(status))}Module["exit"]=exit;var abortDecorators=[];function abort(what){if(Module["onAbort"]){Module["onAbort"](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"]=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"]){shouldRunNow=false}Module["noExitRuntime"]=true;run() + + + +