🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
615 KiB

var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var 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};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}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){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function 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(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}if(!Module["quit"]){Module["quit"]=(function(status,toThrow){throw toThrow})}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value;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<Runtime.functionPointers.length;i++){if(!Runtime.functionPointers[i]){Runtime.functionPointers[i]=func;return 2*(1+i)}}throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."}),removeFunction:(function(index){Runtime.functionPointers[(index-2)/2]=null}),warnOnce:(function(text){if(!Runtime.warnOnce.shown)Runtime.warnOnce.shown={};if(!Runtime.warnOnce.shown[text]){Runtime.warnOnce.shown[text]=1;Module.printErr(text)}}),funcWrappers:{},getFuncWrapper:(function(func,sig){assert(sig);if(!Runtime.funcWrappers[sig]){Runtime.funcWrappers[sig]={}}var sigCache=Runtime.funcWrappers[sig];if(!sigCache[func]){if(sig.length===1){sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func)}}else if(sig.length===2){sigCache[func]=function dynCall_wrapper(arg){return Runtime.dynCall(sig,func,[arg])}}else{sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func,Array.prototype.slice.call(arguments))}}}return sigCache[func]}),getCompilerSetting:(function(name){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"}),stackAlloc:(function(size){var ret=STACKTOP;STACKTOP=STACKTOP+size|0;STACKTOP=STACKTOP+15&-16;return ret}),staticAlloc:(function(size){var ret=STATICTOP;STATICTOP=STATICTOP+size|0;STATICTOP=STATICTOP+15&-16;return ret}),dynamicAlloc:(function(size){var ret=HEAP32[DYNAMICTOP_PTR>>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];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=Runtime.stackAlloc(len);stringToUTF8(str,ret,len)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=Runtime.stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);if(returnType==="string")ret=Pointer_stringify(ret);if(stack!==0){if(opts&&opts.async){EmterpreterAsync.asyncFinalizers.push((function(){Runtime.stackRestore(stack)}));return}Runtime.stackRestore(stack)}return ret};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(jsfunc){var parsed=jsfunc.toString().match(sourceRegex).slice(1);return{arguments:parsed[0],body:parsed[1],returnValue:parsed[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource){JSsource={};for(var fun in JSfuncs){if(JSfuncs.hasOwnProperty(fun)){JSsource[fun]=parseJSFunc(JSfuncs[fun])}}}}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident);var numericArgs=argTypes.every((function(type){return type==="number"}));var numericRet=returnType!=="string";if(numericRet&&numericArgs){return cfunc}var argNames=argTypes.map((function(x,i){return"$"+i}));var funcstr="(function("+argNames.join(",")+") {";var nargs=argTypes.length;if(!numericArgs){ensureJSsource();funcstr+="var stack = "+JSsource["stackSave"].body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if(type==="number")continue;var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";";funcstr+=convertCode.body+";";funcstr+=arg+"=("+convertCode.returnValue+");"}}var cfuncname=parseJSFunc((function(){return cfunc})).returnValue;funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");";if(!numericRet){var strgfy=parseJSFunc((function(){return Pointer_stringify})).returnValue;funcstr+="ret = "+strgfy+"(ret);"}if(!numericArgs){ensureJSsource();funcstr+=JSsource["stackRestore"].body.replace("()","(stack)")+";"}funcstr+="return ret})";return eval(funcstr)}}))();Module["ccall"]=ccall;Module["cwrap"]=cwrap;function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[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<size){var curr=slab[i];if(typeof curr==="function"){curr=Runtime.getFunctionIndex(curr)}type=singleType||types[i];if(type===0){i++;continue}if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=Runtime.getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}Module["allocate"]=allocate;function getMemory(size){if(!staticSealed)return Runtime.staticAlloc(size);if(!runtimeInitialized)return Runtime.dynamicAlloc(size);return _malloc(size)}Module["getMemory"]=getMemory;function Pointer_stringify(ptr,length){if(length===0||!ptr)return"";var hasUtf=0;var t;var i=0;while(1){t=HEAPU8[ptr+i>>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;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)}}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function demangle(func){var __cxa_demangle_func=Module["___cxa_demangle"]||Module["__cxa_demangle"];if(__cxa_demangle_func){try{var s=func.substr(1);var len=lengthBytesUTF8(s)+1;var buf=_malloc(len);stringToUTF8(s,buf,len);var status=_malloc(4);var ret=__cxa_demangle_func(buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}return func}Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling");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)}Module["stackTrace"]=stackTrace;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_MEMORY<TOTAL_STACK)Module.printErr("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+TOTAL_MEMORY+"! (TOTAL_STACK="+TOTAL_STACK+")");if(Module["buffer"]){buffer=Module["buffer"]}else{{buffer=new ArrayBuffer(TOTAL_MEMORY)}}updateGlobalBufferViews();function getTotalMemory(){return TOTAL_MEMORY}HEAP32[0]=1668509029;HEAP16[1]=25459;if(HEAPU8[2]!==115||HEAPU8[3]!==99)throw"Runtime error: expected the system to be little-endian!";Module["HEAP"]=HEAP;Module["buffer"]=buffer;Module["HEAP8"]=HEAP8;Module["HEAP16"]=HEAP16;Module["HEAP32"]=HEAP32;Module["HEAPU8"]=HEAPU8;Module["HEAPU16"]=HEAPU16;Module["HEAPU32"]=HEAPU32;Module["HEAPF32"]=HEAPF32;Module["HEAPF64"]=HEAPF64;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){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)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i<array.length;i++){var chr=array[i];if(chr>255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];if(!Math["trunc"])Math["trunc"]=(function(x){return x<0?Math.ceil(x):Math.floor(x)});Math.trunc=Math["trunc"];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 ASM_CONSTS=[];STATIC_BASE=Runtime.GLOBAL_BASE;STATICTOP=STATIC_BASE+24656;__ATINIT__.push({func:(function(){__GLOBAL__sub_I_binding_cc()})},{func:(function(){__GLOBAL__sub_I_bind_cpp()})});allocate([0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,96,2,0,0,17,0,0,0,18,0,0,0,252,255,255,255,252,255,255,255,96,2,0,0,19,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,120,2,0,0,7,0,0,0,8,0,0,0,56,0,0,0,248,255,255,255,120,2,0,0,9,0,0,0,10,0,0,0,192,255,255,255,192,255,255,255,120,2,0,0,11,0,0,0,12,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,72,2,0,0,13,0,0,0,14,0,0,0,192,255,255,255,192,255,255,255,72,2,0,0,15,0,0,0,16,0,0,0,56,0,0,0,0,0,0,0,96,2,0,0,17,0,0,0,18,0,0,0,200,255,255,255,200,255,255,255,96,2,0,0,19,0,0,0,20,0,0,0,48,39,0,0,152,46,0,0,120,2,0,0,0,0,0,0,48,39,0,0,221,46,0,0,64,2,0,0,0,0,0,0,8,39,0,0,152,49,0,0,8,39,0,0,37,50,0,0,184,39,0,0,249,49,0,0,0,0,0,0,1,0,0,0,248,0,0,0,0,0,0,0,184,39,0,0,213,49,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,156,39,0,0,74,50,0,0,0,0,0,0,24,1,0,0,156,39,0,0,111,50,0,0,1,0,0,0,24,1,0,0,8,39,0,0,172,50,0,0,8,39,0,0,202,50,0,0,156,39,0,0,213,50,0,0,0,0,0,0,88,1,0,0,156,39,0,0,225,50,0,0,1,0,0,0,88,1,0,0,8,39,0,0,45,51,0,0,184,39,0,0,238,50,0,0,0,0,0,0,1,0,0,0,128,1,0,0,0,0,0,0,8,39,0,0,105,53,0,0,8,39,0,0,168,53,0,0,8,39,0,0,13,54,0,0,8,39,0,0,74,54,0,0,8,39,0,0,105,54,0,0,8,39,0,0,136,54,0,0,8,39,0,0,167,54,0,0,8,39,0,0,198,54,0,0,8,39,0,0,229,54,0,0,8,39,0,0,4,55,0,0,8,39,0,0,65,55,0,0,184,39,0,0,96,55,0,0,0,0,0,0,1,0,0,0,128,1,0,0,0,0,0,0,184,39,0,0,159,55,0,0,0,0,0,0,1,0,0,0,128,1,0,0,0,0,0,0,48,39,0,0,81,67,0,0,56,2,0,0,0,0,0,0,8,39,0,0,63,67,0,0,8,39,0,0,123,67,0,0,184,39,0,0,172,67,0,0,0,0,0,0,1,0,0,0,40,2,0,0,3,244,255,255,184,39,0,0,219,67,0,0,0,0,0,0,1,0,0,0,40,2,0,0,3,244,255,255,184,39,0,0,10,68,0,0,3,0,0,0,2,0,0,0,72,2,0,0,2,0,0,0,96,2,0,0,2,8,0,0,12,0,0,0,0,0,0,0,72,2,0,0,13,0,0,0,14,0,0,0,244,255,255,255,244,255,255,255,72,2,0,0,15,0,0,0,16,0,0,0,48,39,0,0,58,68,0,0,208,2,0,0,0,0,0,0,48,39,0,0,78,68,0,0,32,7,0,0,0,0,0,0,48,39,0,0,100,68,0,0,208,2,0,0,0,0,0,0,184,39,0,0,158,68,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,16,3,0,0,0,0,0,0,184,39,0,0,226,68,0,0,0,0,0,0,1,0,0,0,40,3,0,0,0,0,0,0,8,39,0,0,248,68,0,0,184,39,0,0,17,69,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,80,3,0,0,0,0,0,0,184,39,0,0,85,69,0,0,0,0,0,0,1,0,0,0,40,3,0,0,0,0,0,0,184,39,0,0,126,69,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,136,3,0,0,0,0,0,0,184,39,0,0,194,69,0,0,0,0,0,0,1,0,0,0,160,3,0,0,0,0,0,0,8,39,0,0,216,69,0,0,184,39,0,0,241,69,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,200,3,0,0,0,0,0,0,184,39,0,0,53,70,0,0,0,0,0,0,1,0,0,0,160,3,0,0,0,0,0,0,184,39,0,0,139,71,0,0,0,0,0,0,3,0,0,0,208,2,0,0,2,0,0,0,8,4,0,0,2,0,0,0,16,4,0,0,0,8,0,0,8,39,0,0,242,71,0,0,8,39,0,0,208,71,0,0,184,39,0,0,5,72,0,0,0,0,0,0,3,0,0,0,208,2,0,0,2,0,0,0,8,4,0,0,2,0,0,0,64,4,0,0,0,8,0,0,8,39,0,0,74,72,0,0,184,39,0,0,108,72,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,104,4,0,0,0,8,0,0,8,39,0,0,177,72,0,0,184,39,0,0,198,72,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,104,4,0,0,0,8,0,0,184,39,0,0,11,73,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,176,4,0,0,2,0,0,0,8,39,0,0,39,73,0,0,184,39,0,0,60,73,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,176,4,0,0,2,0,0,0,184,39,0,0,88,73,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,176,4,0,0,2,0,0,0,184,39,0,0,116,73,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,176,4,0,0,2,0,0,0,184,39,0,0,159,73,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,56,5,0,0,0,0,0,0,8,39,0,0,229,73,0,0,184,39,0,0,9,74,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,96,5,0,0,0,0,0,0,8,39,0,0,79,74,0,0,184,39,0,0,110,74,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,136,5,0,0,0,0,0,0,8,39,0,0,180,74,0,0,184,39,0,0,205,74,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,176,5,0,0,0,0,0,0,8,39,0,0,19,75,0,0,184,39,0,0,44,75,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,216,5,0,0,2,0,0,0,8,39,0,0,65,75,0,0,184,39,0,0,216,75,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,216,5,0,0,2,0,0,0,48,39,0,0,89,75,0,0,16,6,0,0,0,0,0,0,184,39,0,0,124,75,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,48,6,0,0,2,0,0,0,8,39,0,0,159,75,0,0,48,39,0,0,182,75,0,0,16,6,0,0,0,0,0,0,184,39,0,0,237,75,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,48,6,0,0,2,0,0,0,184,39,0,0,15,76,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,48,6,0,0,2,0,0,0,184,39,0,0,49,76,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,48,6,0,0,2,0,0,0,48,39,0,0,84,76,0,0,208,2,0,0,0,0,0,0,184,39,0,0,106,76,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,216,6,0,0,2,0,0,0,8,39,0,0,124,76,0,0,184,39,0,0,145,76,0,0,0,0,0,0,2,0,0,0,208,2,0,0,2,0,0,0,216,6,0,0,2,0,0,0,48,39,0,0,174,76,0,0,208,2,0,0,0,0,0,0,48,39,0,0,195,76,0,0,208,2,0,0,0,0,0,0,8,39,0,0,216,76,0,0,8,39,0,0,130,77,0,0,48,39,0,0,226,77,0,0,64,7,0,0,0,0,0,0,48,39,0,0,143,77,0,0,80,7,0,0,0,0,0,0,8,39,0,0,176,77,0,0,48,39,0,0,189,77,0,0,48,7,0,0,0,0,0,0,48,39,0,0,196,78,0,0,40,7,0,0,0,0,0,0,48,39,0,0,212,78,0,0,104,7,0,0,0,0,0,0,48,39,0,0,9,79,0,0,64,7,0,0,0,0,0,0,48,39,0,0,229,78,0,0,136,7,0,0,0,0,0,0,48,39,0,0,43,79,0,0,64,7,0,0,0,0,0,0,128,39,0,0,83,79,0,0,128,39,0,0,85,79,0,0,128,39,0,0,88,79,0,0,128,39,0,0,90,79,0,0,128,39,0,0,92,79,0,0,128,39,0,0,94,79,0,0,128,39,0,0,96,79,0,0,128,39,0,0,98,79,0,0,128,39,0,0,100,79,0,0,128,39,0,0,102,79,0,0,128,39,0,0,124,69,0,0,128,39,0,0,104,79,0,0,128,39,0,0,106,79,0,0,128,39,0,0,108,79,0,0,48,39,0,0,110,79,0,0,48,7,0,0,0,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,13,0,0,0,15,0,0,0,17,0,0,0,19,0,0,0,23,0,0,0,27,0,0,0,31,0,0,0,35,0,0,0,43,0,0,0,51,0,0,0,59,0,0,0,67,0,0,0,83,0,0,0,99,0,0,0,115,0,0,0,131,0,0,0,163,0,0,0,195,0,0,0,227,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,3,0,0,0,3,0,0,0,3,0,0,0,3,0,0,0,4,0,0,0,4,0,0,0,4,0,0,0,4,0,0,0,5,0,0,0,5,0,0,0,5,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,7,0,0,0,9,0,0,0,13,0,0,0,17,0,0,0,25,0,0,0,33,0,0,0,49,0,0,0,65,0,0,0,97,0,0,0,129,0,0,0,193,0,0,0,1,1,0,0,129,1,0,0,1,2,0,0,1,3,0,0,1,4,0,0,1,6,0,0,1,8,0,0,1,12,0,0,1,16,0,0,1,24,0,0,1,32,0,0,1,48,0,0,1,64,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,3,0,0,0,3,0,0,0,4,0,0,0,4,0,0,0,5,0,0,0,5,0,0,0,6,0,0,0,6,0,0,0,7,0,0,0,7,0,0,0,8,0,0,0,8,0,0,0,9,0,0,0,9,0,0,0,10,0,0,0,10,0,0,0,11,0,0,0,11,0,0,0,12,0,0,0,12,0,0,0,13,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,4,0,0,0,64,0,0,0,0,0,0,0,208,0,0,0,1,0,0,0,2,0,0,0,56,0,0,0,248,255,255,255,208,0,0,0,3,0,0,0,4,0,0,0,192,255,255,255,192,255,255,255,208,0,0,0,5,0,0,0,6,0,0,0,72,10,0,0,76,0,0,0,140,0,0,0,160,0,0,0,180,0,0,0,200,0,0,0,116,0,0,0,96,0,0,0,112,10,0,0,92,10,0,0,0,0,0,0,224,0,0,0,21,0,0,0,22,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,1,0,0,0,3,0,0,0,2,0,0,0,48,1,0,0,184,7,0,0,48,1,0,0,24,8,0,0,184,7,0,0,48,1,0,0,0,8,0,0,24,8,0,0,0,8,0,0,64,1,0,0,80,1,0,0,24,1,0,0,0,8,0,0,200,7,0,0,24,1,0,0,0,8,0,0,24,8,0,0,96,1,0,0,136,1,0,0,80,1,0,0,112,1,0,0,200,7,0,0,112,1,0,0,136,1,0,0,112,1,0,0,248,7,0,0,112,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,84,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,5,0,0,0,56,92,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,12,0,0,196,12,0,0,5,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,5,0,0,0,64,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,92,13,0,0,20,0,0,0,67,46,85,84,70,45,56,0,0,0,0,0,0,0,0,0,0,0,0,0,222,18,4,149,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,64,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,192,3,0,0,192,4,0,0,192,5,0,0,192,6,0,0,192,7,0,0,192,8,0,0,192,9,0,0,192,10,0,0,192,11,0,0,192,12,0,0,192,13,0,0,192,14,0,0,192,15,0,0,192,16,0,0,192,17,0,0,192,18,0,0,192,19,0,0,192,20,0,0,192,21,0,0,192,22,0,0,192,23,0,0,192,24,0,0,192,25,0,0,192,26,0,0,192,27,0,0,192,28,0,0,192,29,0,0,192,30,0,0,192,31,0,0,192,0,0,0,179,1,0,0,195,2,0,0,195,3,0,0,195,4,0,0,195,5,0,0,195,6,0,0,195,7,0,0,195,8,0,0,195,9,0,0,195,10,0,0,195,11,0,0,195,12,0,0,195,13,0,0,211,14,0,0,195,15,0,0,195,0,0,12,187,1,0,12,195,2,0,12,195,3,0,12,195,4,0,12,211,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,100,0,0,0,232,3,0,0,16,39,0,0,160,134,1,0,64,66,15,0,128,150,152,0,0,225,245,5,95,112,137,0,255,9,47,15,252,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,59,0,0,0,60,0,0,0,61,0,0,0,62,0,0,0,63,0,0,0,64,0,0,0,65,0,0,0,66,0,0,0,67,0,0,0,68,0,0,0,69,0,0,0,70,0,0,0,71,0,0,0,72,0,0,0,73,0,0,0,74,0,0,0,75,0,0,0,76,0,0,0,77,0,0,0,78,0,0,0,79,0,0,0,80,0,0,0,81,0,0,0,82,0,0,0,83,0,0,0,84,0,0,0,85,0,0,0,86,0,0,0,87,0,0,0,88,0,0,0,89,0,0,0,90,0,0,0,91,0,0,0,92,0,0,0,93,0,0,0,94,0,0,0,95,0,0,0,96,0,0,0,65,0,0,0,66,0,0,0,67,0,0,0,68,0,0,0,69,0,0,0,70,0,0,0,71,0,0,0,72,0,0,0,73,0,0,0,74,0,0,0,75,0,0,0,76,0,0,0,77,0,0,0,78,0,0,0,79,0,0,0,80,0,0,0,81,0,0,0,82,0,0,0,83,0,0,0,84,0,0,0,85,0,0,0,86,0,0,0,87,0,0,0,88,0,0,0,89,0,0,0,90,0,0,0,123,0,0,0,124,0,0,0,125,0,0,0,126,0,0,0,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,216,40,0,0,4,23,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,59,0,0,0,60,0,0,0,61,0,0,0,62,0,0,0,63,0,0,0,64,0,0,0,97,0,0,0,98,0,0,0,99,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,103,0,0,0,104,0,0,0,105,0,0,0,106,0,0,0,107,0,0,0,108,0,0,0,109,0,0,0,110,0,0,0,111,0,0,0,112,0,0,0,113,0,0,0,114,0,0,0,115,0,0,0,116,0,0,0,117,0,0,0,118,0,0,0,119,0,0,0,120,0,0,0,121,0,0,0,122,0,0,0,91,0,0,0,92,0,0,0,93,0,0,0,94,0,0,0,95,0,0,0,96,0,0,0,97,0,0,0,98,0,0,0,99,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,103,0,0,0,104,0,0,0,105,0,0,0,106,0,0,0,107,0,0,0,108,0,0,0,109,0,0,0,110,0,0,0,111,0,0,0,112,0,0,0,113,0,0,0,114,0,0,0,115,0,0,0,116,0,0,0,117,0,0,0,118,0,0,0,119,0,0,0,120,0,0,0,121,0,0,0,122,0,0,0,123,0,0,0,124,0,0,0,125,0,0,0,126,0,0,0,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56,2,0,0,23,0,0,0,24,0,0,0,0,0,0,0,64,2,0,0,25,0,0,0,26,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,6,0,0,0,4,0,0,0,3,0,0,0,3,0,0,0,4,0,0,0,8,0,0,0,0,0,0,0,72,2,0,0,13,0,0,0,14,0,0,0,248,255,255,255,248,255,255,255,72,2,0,0,15,0,0,0,16,0,0,0,96,27,0,0,116,27,0,0,28,0,0,0,48,0,0,0,12,0,0,0,0,0,0,0,120,2,0,0,7,0,0,0,8,0,0,0,4,0,0,0,248,255,255,255,120,2,0,0,9,0,0,0,10,0,0,0,244,255,255,255,244,255,255,255,120,2,0,0,11,0,0,0,12,0,0,0,152,27,0,0,164,2,0,0,184,2,0,0,28,0,0,0,48,0,0,0,192,27,0,0,172,27,0,0,0,0,0,0,192,2,0,0,27,0,0,0,28,0,0,0,29,0,0,0,1,0,0,0,3,0,0,0,8,0,0,0,0,0,0,0,224,2,0,0,30,0,0,0,31,0,0,0,29,0,0,0,2,0,0,0,4,0,0,0,9,0,0,0,0,0,0,0,240,2,0,0,32,0,0,0,33,0,0,0,29,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,0,0,0,0,48,3,0,0,34,0,0,0,35,0,0,0,29,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,0,0,0,0,104,3,0,0,36,0,0,0,37,0,0,0,29,0,0,0,3,0,0,0,4,0,0,0,23,0,0,0,5,0,0,0,24,0,0,0,1,0,0,0,2,0,0,0,6,0,0,0,0,0,0,0,168,3,0,0,38,0,0,0,39,0,0,0,29,0,0,0,7,0,0,0,8,0,0,0,25,0,0,0,9,0,0,0,26,0,0,0,3,0,0,0,4,0,0,0,10,0,0,0,0,0,0,0,224,3,0,0,40,0,0,0,41,0,0,0,29,0,0,0,7,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,1,0,0,0,248,255,255,255,224,3,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,0,0,0,0,24,4,0,0,42,0,0,0,43,0,0,0,29,0,0,0,15,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,2,0,0,0,248,255,255,255,24,4,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,0,0,0,0,37,0,0,0,109,0,0,0,47,0,0,0,37,0,0,0,100,0,0,0,47,0,0,0,37,0,0,0,121,0,0,0,0,0,0,0,37,0,0,0,73,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,112,0,0,0,0,0,0,0,37,0,0,0,97,0,0,0,32,0,0,0,37,0,0,0,98,0,0,0,32,0,0,0,37,0,0,0,100,0,0,0,32,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,89,0,0,0,0,0,0,0,65,0,0,0,77,0,0,0,0,0,0,0,80,0,0,0,77,0,0,0,0,0,0,0,74,0,0,0,97,0,0,0,110,0,0,0,117,0,0,0,97,0,0,0,114,0,0,0,121,0,0,0,0,0,0,0,70,0,0,0,101,0,0,0,98,0,0,0,114,0,0,0,117,0,0,0,97,0,0,0,114,0,0,0,121,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,114,0,0,0,99,0,0,0,104,0,0,0,0,0,0,0,65,0,0,0,112,0,0,0,114,0,0,0,105,0,0,0,108,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,110,0,0,0,101,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,108,0,0,0,121,0,0,0,0,0,0,0,65,0,0,0,117,0,0,0,103,0,0,0,117,0,0,0,115,0,0,0,116,0,0,0,0,0,0,0,83,0,0,0,101,0,0,0,112,0,0,0,116,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,79,0,0,0,99,0,0,0,116,0,0,0,111,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,78,0,0,0,111,0,0,0,118,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,68,0,0,0,101,0,0,0,99,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,74,0,0,0,97,0,0,0,110,0,0,0,0,0,0,0,70,0,0,0,101,0,0,0,98,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,114,0,0,0,0,0,0,0,65,0,0,0,112,0,0,0,114,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,108,0,0,0,0,0,0,0,65,0,0,0,117,0,0,0,103,0,0,0,0,0,0,0,83,0,0,0,101,0,0,0,112,0,0,0,0,0,0,0,79,0,0,0,99,0,0,0,116,0,0,0,0,0,0,0,78,0,0,0,111,0,0,0,118,0,0,0,0,0,0,0,68,0,0,0,101,0,0,0,99,0,0,0,0,0,0,0,83,0,0,0,117,0,0,0,110,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,77,0,0,0,111,0,0,0,110,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,84,0,0,0,117,0,0,0,101,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,87,0,0,0,101,0,0,0,100,0,0,0,110,0,0,0,101,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,84,0,0,0,104,0,0,0,117,0,0,0,114,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,70,0,0,0,114,0,0,0,105,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,83,0,0,0,97,0,0,0,116,0,0,0,117,0,0,0,114,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,83,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0,77,0,0,0,111,0,0,0,110,0,0,0,0,0,0,0,84,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0,87,0,0,0,101,0,0,0,100,0,0,0,0,0,0,0,84,0,0,0,104,0,0,0,117,0,0,0,0,0,0,0,70,0,0,0,114,0,0,0,105,0,0,0,0,0,0,0,83,0,0,0,97,0,0,0,116,0,0,0,0,0,0,0,37,0,0,0,109,0,0,0,47,0,0,0,37,0,0,0,100,0,0,0,47,0,0,0,37,0,0,0,121,0,0,0,37,0,0,0,89,0,0,0,45,0,0,0,37,0,0,0,109,0,0,0,45,0,0,0,37,0,0,0,100,0,0,0,37,0,0,0,73,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,112,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,0,0,0,0,72,4,0,0,44,0,0,0,45,0,0,0,29,0,0,0,1,0,0,0,0,0,0,0,112,4,0,0,46,0,0,0,47,0,0,0,29,0,0,0,2,0,0,0,0,0,0,0,144,4,0,0,48,0,0,0,49,0,0,0,29,0,0,0,23,0,0,0,24,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,25,0,0,0,6,0,0,0,7,0,0,0,0,0,0,0,184,4,0,0,50,0,0,0,51,0,0,0,29,0,0,0,26,0,0,0,27,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,28,0,0,0,12,0,0,0,13,0,0,0,0,0,0,0,216,4,0,0,52,0,0,0,53,0,0,0,29,0,0,0,29,0,0,0,30,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,31,0,0,0,18,0,0,0,19,0,0,0,0,0,0,0,248,4,0,0,54,0,0,0,55,0,0,0,29,0,0,0,32,0,0,0,33,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,34,0,0,0,24,0,0,0,25,0,0,0,0,0,0,0,24,5,0,0,56,0,0,0,57,0,0,0,29,0,0,0,3,0,0,0,4,0,0,0,0,0,0,0,64,5,0,0,58,0,0,0,59,0,0,0,29,0,0,0,5,0,0,0,6,0,0,0,0,0,0,0,104,5,0,0,60,0,0,0,61,0,0,0,29,0,0,0,1,0,0,0,37,0,0,0,0,0,0,0,144,5,0,0,62,0,0,0,63,0,0,0,29,0,0,0,2,0,0,0,38,0,0,0,0,0,0,0,184,5,0,0,64,0,0,0,65,0,0,0,29,0,0,0,10,0,0,0,3,0,0,0,26,0,0,0,0,0,0,0,224,5,0,0,66,0,0,0,67,0,0,0,29,0,0,0,11,0,0,0,4,0,0,0,27,0,0,0,0,0,0,0,56,6,0,0,68,0,0,0,69,0,0,0,29,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,35,0,0,0,36,0,0,0,12,0,0,0,37,0,0,0,0,0,0,0,0,6,0,0,68,0,0,0,70,0,0,0,29,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,35,0,0,0,36,0,0,0,12,0,0,0,37,0,0,0,0,0,0,0,104,6,0,0,71,0,0,0,72,0,0,0,29,0,0,0,5,0,0,0,6,0,0,0,13,0,0,0,38,0,0,0,39,0,0,0,14,0,0,0,40,0,0,0,0,0,0,0,168,6,0,0,73,0,0,0,74,0,0,0,29,0,0,0,0,0,0,0,184,6,0,0,75,0,0,0,76,0,0,0,29,0,0,0,5,0,0,0,12,0,0,0,6,0,0,0,13,0,0,0,7,0,0,0,1,0,0,0,14,0,0,0,15,0,0,0,0,0,0,0,0,7,0,0,77,0,0,0,78,0,0,0,29,0,0,0,41,0,0,0,42,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,0,0,0,0,16,7,0,0,79,0,0,0,80,0,0,0,29,0,0,0,43,0,0,0,44,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,102,0,0,0,97,0,0,0,108,0,0,0,115,0,0,0,101,0,0,0,0,0,0,0,116,0,0,0,114,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0,0,0,0,0,208,2,0,0,68,0,0,0,81,0,0,0,29,0,0,0,0,0,0,0,224,6,0,0,68,0,0,0,82,0,0,0,29,0,0,0,15,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,8,0,0,0,16,0,0,0,9,0,0,0,17,0,0,0,10,0,0,0,5,0,0,0,18,0,0,0,16,0,0,0,0,0,0,0,72,6,0,0,68,0,0,0,83,0,0,0,29,0,0,0,7,0,0,0,8,0,0,0,17,0,0,0,45,0,0,0,46,0,0,0,18,0,0,0,47,0,0,0,0,0,0,0,136,6,0,0,68,0,0,0,84,0,0,0,29,0,0,0,9,0,0,0,10,0,0,0,19,0,0,0,48,0,0,0,49,0,0,0,20,0,0,0,50,0,0,0,0,0,0,0,16,6,0,0,68,0,0,0,85,0,0,0,29,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,35,0,0,0,36,0,0,0,12,0,0,0,37,0,0,0,0,0,0,0,16,4,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,0,0,0,0,64,4,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,1,0,0,0,121,77,0,0,0,0,0,0,48,7,0,0,86,0,0,0,87,0,0,0,88,0,0,0,89,0,0,0,19,0,0,0,5,0,0,0,1,0,0,0,5,0,0,0,0,0,0,0,88,7,0,0,86,0,0,0,90,0,0,0,88,0,0,0,89,0,0,0,19,0,0,0,6,0,0,0,2,0,0,0,6,0,0,0,0,0,0,0,104,7,0,0,91,0,0,0,92,0,0,0,51,0,0,0,0,0,0,0,120,7,0,0,91,0,0,0,93,0,0,0,51,0,0,0,0,0,0,0,168,7,0,0,86,0,0,0,94,0,0,0,88,0,0,0,89,0,0,0,20,0,0,0,0,0,0,0,152,7,0,0,86,0,0,0,95,0,0,0,88,0,0,0,89,0,0,0,21,0,0,0,0,0,0,0,40,8,0,0,86,0,0,0,96,0,0,0,88,0,0,0,89,0,0,0,19,0,0,0,7,0,0,0,3,0,0,0,7],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);allocate([2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,3,32,2,32,2,32,2,32,2,32,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,1,96,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,4,192,4,192,4,192,4,192,4,192,4,192,4,192,8,213,8,213,8,213,8,213,8,213,8,213,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,4,192,4,192,4,192,4,192,4,192,4,192,8,214,8,214,8,214,8,214,8,214,8,214,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,4,192,4,192,4,192,4,192,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,5,4,0,2,3,7,0,3,3,11,0,46,46,47,46,46,47,116,105,110,121,101,120,114,46,104,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,46,10,0,82,0,71,0,66,0,65,0,82,32,99,104,97,110,110,101,108,32,110,111,116,32,102,111,117,110,100,10,0,71,32,99,104,97,110,110,101,108,32,110,111,116,32,102,111,117,110,100,10,0,66,32,99,104,97,110,110,101,108,32,110,111,116,32,102,111,117,110,100,10,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,46,0,69,88,82,72,101,97,100,101,114,32,105,115,32,110,111,116,32,105,110,105,116,105,97,108,105,122,101,100,46,0,99,104,97,110,110,101,108,115,0,99,111,109,112,114,101,115,115,105,111,110,0,100,97,116,97,87,105,110,100,111,119,0,100,105,115,112,108,97,121,87,105,110,100,111,119,0,108,105,110,101,79,114,100,101,114,0,112,105,120,101,108,65,115,112,101,99,116,82,97,116,105,111,0,115,99,114,101,101,110,87,105,110,100,111,119,67,101,110,116,101,114,0,115,99,114,101,101,110,87,105,110,100,111,119,87,105,100,116,104,0,48,0,118,47,49,1,86,101,99,116,111,114,70,108,111,97,116,0,69,88,82,76,111,97,100,101,114,0,103,101,116,66,121,116,101,115,0,111,107,0,101,114,114,111,114,0,119,105,100,116,104,0,104,101,105,103,104,116,0,16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15,116,105,108,101,115,0,100,97,116,97,46,115,105,122,101,40,41,32,61,61,32,57,0,80,97,114,115,101,69,88,82,72,101,97,100,101,114,0,90,70,80,32,99,111,109,112,114,101,115,115,105,111,110,32,105,115,32,110,111,116,32,115,117,112,112,111,114,116,101,100,46,0,85,110,107,110,111,119,110,32,99,111,109,112,114,101,115,115,105,111,110,32,116,121,112,101,46,0,35,32,111,102,32,99,104,97,110,110,101,108,115,32,105,115,32,122,101,114,111,46,0,99,104,117,110,107,67,111,117,110,116,0,34,99,111,109,112,114,101,115,115,105,111,110,34,32,97,116,116,114,105,98,117,116,101,32,110,111,116,32,102,111,117,110,100,32,105,110,32,116,104,101,32,104,101,97,100,101,114,46,0,34,99,104,97,110,110,101,108,115,34,32,97,116,116,114,105,98,117,116,101,32,110,111,116,32,102,111,117,110,100,32,105,110,32,116,104,101,32,104,101,97,100,101,114,46,0,34,108,105,110,101,79,114,100,101,114,34,32,97,116,116,114,105,98,117,116,101,32,110,111,116,32,102,111,117,110,100,32,105,110,32,116,104,101,32,104,101,97,100,101,114,46,0,34,100,105,115,112,108,97,121,87,105,110,100,111,119,34,32,97,116,116,114,105,98,117,116,101,32,110,111,116,32,102,111,117,110,100,32,105,110,32,116,104,101,32,104,101,97,100,101,114,46,0,34,100,97,116,97,87,105,110,100,111,119,34,32,97,116,116,114,105,98,117,116,101,32,110,111,116,32,102,111,117,110,100,32,105,110,32,116,104,101,32,104,101,97,100,101,114,46,0,34,112,105,120,101,108,65,115,112,101,99,116,82,97,116,105,111,34,32,97,116,116,114,105,98,117,116,101,32,110,111,116,32,102,111,117,110,100,32,105,110,32,116,104,101,32,104,101,97,100,101,114,46,0,34,115,99,114,101,101,110,87,105,110,100,111,119,87,105,100,116,104,34,32,97,116,116,114,105,98,117,116,101,32,110,111,116,32,102,111,117,110,100,32,105,110,32,116,104,101,32,104,101,97,100,101,114,46,0,34,115,99,114,101,101,110,87,105,110,100,111,119,67,101,110,116,101,114,34,32,97,116,116,114,105,98,117,116,101,32,110,111,116,32,102,111,117,110,100,32,105,110,32,116,104,101,32,104,101,97,100,101,114,46,0,97,108,108,111,99,97,116,111,114,60,84,62,58,58,97,108,108,111,99,97,116,101,40,115,105,122,101,95,116,32,110,41,32,39,110,39,32,101,120,99,101,101,100,115,32,109,97,120,105,109,117,109,32,115,117,112,112,111,114,116,101,100,32,115,105,122,101,0,78,83,116,51,95,95,50,49,56,98,97,115,105,99,95,115,116,114,105,110,103,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,99,69,69,69,69,0,78,83,116,51,95,95,50,49,53,98,97,115,105,99,95,115,116,114,105,110,103,98,117,102,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,99,69,69,69,69,0,105,110,102,111,46,97,116,116,114,105,98,117,116,101,115,46,115,105,122,101,40,41,32,60,32,84,73,78,89,69,88,82,95,77,65,88,95,65,84,84,82,73,66,85,84,69,83,0,67,111,110,118,101,114,116,72,101,97,100,101,114,0,73,110,118,97,108,105,100,32,111,102,102,115,101,116,32,118,97,108,117,101,46,0,67,97,110,110,111,116,32,114,101,99,111,110,115,116,114,117,99,116,32,108,105,110,101,79,102,102,115,101,116,32,116,97,98,108,101,46,0,104,101,97,100,32,60,32,109,97,114,107,101,114,0,82,101,99,111,110,115,116,114,117,99,116,76,105,110,101,79,102,102,115,101,116,115,0,111,102,102,115,101,116,115,45,62,115,105,122,101,40,41,32,61,61,32,110,0,114,101,116,32,61,61,32,109,105,110,105,122,58,58,77,90,95,79,75,0,68,101,99,111,109,112,114,101,115,115,90,105,112,0,116,105,108,101,95,99,111,111,114,100,105,110,97,116,101,115,91,50,93,32,61,61,32,48,0,68,101,99,111,100,101,67,104,117,110,107,0,116,105,108,101,95,99,111,111,114,100,105,110,97,116,101,115,91,51,93,32,61,61,32,48,0,100,97,116,97,95,108,101,110,32,62,61,32,52,0,110,117,109,95,108,105,110,101,115,32,62,32,48,0,67,111,109,112,117,116,101,67,104,97,110,110,101,108,76,97,121,111,117,116,0,65,108,108,111,99,97,116,101,73,109,97,103,101,0,116,105,108,101,95,111,102,102,115,101,116,95,120,32,42,32,116,105,108,101,95,115,105,122,101,95,120,32,60,32,100,97,116,97,95,119,105,100,116,104,0,68,101,99,111,100,101,84,105,108,101,100,80,105,120,101,108,68,97,116,97,0,116,105,108,101,95,111,102,102,115,101,116,95,121,32,42,32,116,105,108,101,95,115,105,122,101,95,121,32,60,32,100,97,116,97,95,104,101,105,103,104,116,0,114,101,116,0,68,101,99,111,100,101,80,105,120,101,108,68,97,116,97,0,114,101,113,117,101,115,116,101,100,95,112,105,120,101,108,95,116,121,112,101,115,91,99,93,32,61,61,32,84,73,78,89,69,88,82,95,80,73,88,69,76,84,89,80,69,95,85,73,78,84,0,114,101,113,117,101,115,116,101,100,95,112,105,120,101,108,95,116,121,112,101,115,91,99,93,32,61,61,32,84,73,78,89,69,88,82,95,80,73,88,69,76,84,89,80,69,95,70,76,79,65,84,0,100,115,116,76,101,110,32,62,32,48,0,114,101,116,32,61,61,32,115,116,97,116,105,99,95,99,97,115,116,60,105,110,116,62,40,117,110,99,111,109,112,114,101,115,115,101,100,95,115,105,122,101,41,0,68,101,99,111,109,112,114,101,115,115,82,108,101,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,102,69,69,0,112,117,115,104,95,98,97,99,107,0,114,101,115,105,122,101,0,115,105,122,101,0,103,101,116,0,115,101,116,0,78,83,116,51,95,95,50,54,118,101,99,116,111,114,73,102,78,83,95,57,97,108,108,111,99,97,116,111,114,73,102,69,69,69,69,0,78,83,116,51,95,95,50,49,51,95,95,118,101,99,116,111,114,95,98,97,115,101,73,102,78,83,95,57,97,108,108,111,99,97,116,111,114,73,102,69,69,69,69,0,78,83,116,51,95,95,50,50,48,95,95,118,101,99,116,111,114,95,98,97,115,101,95,99,111,109,109,111,110,73,76,98,49,69,69,69,0,80,78,83,116,51,95,95,50,54,118,101,99,116,111,114,73,102,78,83,95,57,97,108,108,111,99,97,116,111,114,73,102,69,69,69,69,0,80,75,78,83,116,51,95,95,50,54,118,101,99,116,111,114,73,102,78,83,95,57,97,108,108,111,99,97,116,111,114,73,102,69,69,69,69,0,105,105,0,118,0,118,105,0,118,105,105,102,0,118,105,105,105,102,0,105,105,105,0,78,49,48,101,109,115,99,114,105,112,116,101,110,51,118,97,108,69,0,105,105,105,105,0,105,105,105,105,102,0,57,69,88,82,76,111,97,100,101,114,0,80,57,69,88,82,76,111,97,100,101,114,0,80,75,57,69,88,82,76,111,97,100,101,114,0,78,83,116,51,95,95,50,49,50,98,97,115,105,99,95,115,116,114,105,110,103,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,99,69,69,69,69,0,78,83,116,51,95,95,50,50,49,95,95,98,97,115,105,99,95,115,116,114,105,110,103,95,99,111,109,109,111,110,73,76,98,49,69,69,69,0,118,111,105,100,0,98,111,111,108,0,115,116,100,58,58,115,116,114,105,110,103,0,115,116,100,58,58,98,97,115,105,99,95,115,116,114,105,110,103,60,117,110,115,105,103,110,101,100,32,99,104,97,114,62,0,115,116,100,58,58,119,115,116,114,105,110,103,0,101,109,115,99,114,105,112,116,101,110,58,58,118,97,108,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,115,105,103,110,101,100,32,99,104,97,114,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,117,110,115,105,103,110,101,100,32,99,104,97,114,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,115,104,111,114,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,117,110,115,105,103,110,101,100,32,115,104,111,114,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,105,110,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,117,110,115,105,103,110,101,100,32,105,110,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,105,110,116,56,95,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,117,105,110,116,56,95,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,105,110,116,49,54,95,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,117,105,110,116,49,54,95,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,105,110,116,51,50,95,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,117,105,110,116,51,50,95,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,108,111,110,103,32,100,111,117,98,108,101,62,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,101,69,69,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,100,111,117,98,108,101,62,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,100,69,69,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,102,108,111,97,116,62,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,117,110,115,105,103,110,101,100,32,108,111,110,103,62,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,109,69,69,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,108,111,110,103,62,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,108,69,69,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,106,69,69,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,105,69,69,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,116,69,69,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,115,69,69,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,104,69,69,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,97,69,69,0,101,109,115,99,114,105,112,116,101,110,58,58,109,101,109,111,114,121,95,118,105,101,119,60,99,104,97,114,62,0,78,49,48,101,109,115,99,114,105,112,116,101,110,49,49,109,101,109,111,114,121,95,118,105,101,119,73,99,69,69,0,78,83,116,51,95,95,50,49,50,98,97,115,105,99,95,115,116,114,105,110,103,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,119,69,69,69,69,0,78,83,116,51,95,95,50,49,50,98,97,115,105,99,95,115,116,114,105,110,103,73,104,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,104,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,104,69,69,69,69,0,100,111,117,98,108,101,0,102,108,111,97,116,0,117,110,115,105,103,110,101,100,32,108,111,110,103,0,108,111,110,103,0,117,110,115,105,103,110,101,100,32,105,110,116,0,105,110,116,0,117,110,115,105,103,110,101,100,32,115,104,111,114,116,0,115,104,111,114,116,0,117,110,115,105,103,110,101,100,32,99,104,97,114,0,115,105,103,110,101,100,32,99,104,97,114,0,99,104,97,114,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,78,65,78,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,46,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0,105,110,102,105,110,105,116,121,0,110,97,110,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,255,255,255,255,255,255,255,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,255,255,255,255,255,255,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,1,2,4,7,3,6,5,0,76,67,95,65,76,76,0,76,67,95,67,84,89,80,69,0,0,0,0,76,67,95,78,85,77,69,82,73,67,0,0,76,67,95,84,73,77,69,0,0,0,0,0,76,67,95,67,79,76,76,65,84,69,0,0,76,67,95,77,79,78,69,84,65,82,89,0,76,67,95,77,69,83,83,65,71,69,83,0,76,65,78,71,0,67,46,85,84,70,45,56,0,80,79,83,73,88,0,77,85,83,76,95,76,79,67,80,65,84,72,0,78,83,116,51,95,95,50,56,105,111,115,95,98,97,115,101,69,0,78,83,116,51,95,95,50,57,98,97,115,105,99,95,105,111,115,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,50,49,53,98,97,115,105,99,95,115,116,114,101,97,109,98,117,102,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,50,49,51,98,97,115,105,99,95,105,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,50,49,51,98,97,115,105,99,95,111,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,50,49,52,98,97,115,105,99,95,105,111,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,50,55,99,111,108,108,97,116,101,73,99,69,69,0,78,83,116,51,95,95,50,54,108,111,99,97,108,101,53,102,97,99,101,116,69,0,78,83,116,51,95,95,50,55,99,111,108,108,97,116,101,73,119,69,69,0,48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,65,66,67,68,69,70,120,88,43,45,112,80,105,73,110,78,0,37,112,0,67,0,78,83,116,51,95,95,50,55,110,117,109,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,57,95,95,110,117,109,95,103,101,116,73,99,69,69,0,78,83,116,51,95,95,50,49,52,95,95,110,117,109,95,103,101,116,95,98,97,115,101,69,0,78,83,116,51,95,95,50,55,110,117,109,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,57,95,95,110,117,109,95,103,101,116,73,119,69,69,0,37,112,0,0,0,0,76,0,108,108,0,37,0,0,0,0,0,108,0,78,83,116,51,95,95,50,55,110,117,109,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,57,95,95,110,117,109,95,112,117,116,73,99,69,69,0,78,83,116,51,95,95,50,49,52,95,95,110,117,109,95,112,117,116,95,98,97,115,101,69,0,78,83,116,51,95,95,50,55,110,117,109,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,57,95,95,110,117,109,95,112,117,116,73,119,69,69,0,37,72,58,37,77,58,37,83,0,37,109,47,37,100,47,37,121,0,37,73,58,37,77,58,37,83,32,37,112,0,37,97,32,37,98,32,37,100,32,37,72,58,37,77,58,37,83,32,37,89,0,65,77,0,80,77,0,74,97,110,117,97,114,121,0,70,101,98,114,117,97,114,121,0,77,97,114,99,104,0,65,112,114,105,108,0,77,97,121,0,74,117,110,101,0,74,117,108,121,0,65,117,103,117,115,116,0,83,101,112,116,101,109,98,101,114,0,79,99,116,111,98,101,114,0,78,111,118,101,109,98,101,114,0,68,101,99,101,109,98,101,114,0,74,97,110,0,70,101,98,0,77,97,114,0,65,112,114,0,74,117,110,0,74,117,108,0,65,117,103,0,83,101,112,0,79,99,116,0,78,111,118,0,68,101,99,0,83,117,110,100,97,121,0,77,111,110,100,97,121,0,84,117,101,115,100,97,121,0,87,101,100,110,101,115,100,97,121,0,84,104,117,114,115,100,97,121,0,70,114,105,100,97,121,0,83,97,116,117,114,100,97,121,0,83,117,110,0,77,111,110,0,84,117,101,0,87,101,100,0,84,104,117,0,70,114,105,0,83,97,116,0,37,109,47,37,100,47,37,121,37,89,45,37,109,45,37,100,37,73,58,37,77,58,37,83,32,37,112,37,72,58,37,77,37,72,58,37,77,58,37,83,37,72,58,37,77,58,37,83,78,83,116,51,95,95,50,56,116,105,109,101,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,50,48,95,95,116,105,109,101,95,103,101,116,95,99,95,115,116,111,114,97,103,101,73,99,69,69,0,78,83,116,51,95,95,50,57,116,105,109,101,95,98,97,115,101,69,0,78,83,116,51,95,95,50,56,116,105,109,101,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,50,48,95,95,116,105,109,101,95,103,101,116,95,99,95,115,116,111,114,97,103,101,73,119,69,69,0,78,83,116,51,95,95,50,56,116,105,109,101,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,48,95,95,116,105,109,101,95,112,117,116,69,0,78,83,116,51,95,95,50,56,116,105,109,101,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,112,117,110,99,116,73,99,76,98,48,69,69,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,95,98,97,115,101,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,112,117,110,99,116,73,99,76,98,49,69,69,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,112,117,110,99,116,73,119,76,98,48,69,69,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,112,117,110,99,116,73,119,76,98,49,69,69,69,0,48,49,50,51,52,53,54,55,56,57,0,37,76,102,0,78,83,116,51,95,95,50,57,109,111,110,101,121,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,49,95,95,109,111,110,101,121,95,103,101,116,73,99,69,69,0,48,49,50,51,52,53,54,55,56,57,0,78,83,116,51,95,95,50,57,109,111,110,101,121,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,49,95,95,109,111,110,101,121,95,103,101,116,73,119,69,69,0,37,46,48,76,102,0,78,83,116,51,95,95,50,57,109,111,110,101,121,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,49,95,95,109,111,110,101,121,95,112,117,116,73,99,69,69,0,78,83,116,51,95,95,50,57,109,111,110,101,121,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,49,95,95,109,111,110,101,121,95,112,117,116,73,119,69,69,0,78,83,116,51,95,95,50,56,109,101,115,115,97,103,101,115,73,99,69,69,0,78,83,116,51,95,95,50,49,51,109,101,115,115,97,103,101,115,95,98,97,115,101,69,0,78,83,116,51,95,95,50,49,55,95,95,119,105,100,101,110,95,102,114,111,109,95,117,116,102,56,73,76,106,51,50,69,69,69,0,78,83,116,51,95,95,50,55,99,111,100,101,99,118,116,73,68,105,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,50,49,50,99,111,100,101,99,118,116,95,98,97,115,101,69,0,78,83,116,51,95,95,50,49,54,95,95,110,97,114,114,111,119,95,116,111,95,117,116,102,56,73,76,106,51,50,69,69,69,0,78,83,116,51,95,95,50,56,109,101,115,115,97,103,101,115,73,119,69,69,0,78,83,116,51,95,95,50,55,99,111,100,101,99,118,116,73,99,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,50,55,99,111,100,101,99,118,116,73,119,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,50,55,99,111,100,101,99,118,116,73,68,115,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,50,54,108,111,99,97,108,101,53,95,95,105,109,112,69,0,78,83,116,51,95,95,50,53,99,116,121,112,101,73,99,69,69,0,78,83,116,51,95,95,50,49,48,99,116,121,112,101,95,98,97,115,101,69,0,78,83,116,51,95,95,50,53,99,116,121,112,101,73,119,69,69,0,102,97,108,115,101,0,116,114,117,101,0,78,83,116,51,95,95,50,56,110,117,109,112,117,110,99,116,73,99,69,69,0,78,83,116,51,95,95,50,56,110,117,109,112,117,110,99,116,73,119,69,69,0,78,83,116,51,95,95,50,49,52,95,95,115,104,97,114,101,100,95,99,111,117,110,116,69,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,58,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,102,111,114,101,105,103,110,32,101,120,99,101,112,116,105,111,110,0,116,101,114,109,105,110,97,116,105,110,103,0,117,110,99,97,117,103,104,116,0,83,116,57,101,120,99,101,112,116,105,111,110,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,54,95,95,115,104,105,109,95,116,121,112,101,95,105,110,102,111,69,0,83,116,57,116,121,112,101,95,105,110,102,111,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,48,95,95,115,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,112,116,104,114,101,97,100,95,111,110,99,101,32,102,97,105,108,117,114,101,32,105,110,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,95,102,97,115,116,40,41,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,112,116,104,114,101,97,100,32,107,101,121,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,99,97,110,110,111,116,32,122,101,114,111,32,111,117,116,32,116,104,114,101,97,100,32,118,97,108,117,101,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,116,101,114,109,105,110,97,116,101,95,104,97,110,100,108,101,114,32,117,110,101,120,112,101,99,116,101,100,108,121,32,114,101,116,117,114,110,101,100,0,83,116,49,49,108,111,103,105,99,95,101,114,114,111,114,0,83,116,49,50,108,101,110,103,116,104,95,101,114,114,111,114,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,57,95,95,112,111,105,110,116,101,114,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,112,98,97,115,101,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,51,95,95,102,117,110,100,97,109,101,110,116,97,108,95,116,121,112,101,95,105,110,102,111,69,0,118,0,68,110,0,98,0,99,0,104,0,97,0,115,0,116,0,105,0,106,0,109,0,102,0,100,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,49,95,95,118,109,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+10448);var tempDoublePtr=STATICTOP;STATICTOP+=16;function _atexit(func,arg){__ATEXIT__.unshift({func:func,arg:arg})}function ___cxa_atexit(){return _atexit.apply(null,arguments)}function ___assert_fail(condition,filename,line,func){ABORT=true;throw"Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"]+" at "+stackTrace()}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}else{return name}}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return(new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n"))(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,(function(message){this.name=errorName;this.message=message;var stack=(new Error(message)).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}}));errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=(function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}});return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach((function(type){typeDependencies[type]=dependentTypes}));function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i<myTypes.length;++i){registerType(myTypes[i],myTypeConverters[i])}}var typeConverters=new Array(dependentTypes.length);var unregisteredTypes=[];var registered=0;dependentTypes.forEach((function(dt,i){if(registeredTypes.hasOwnProperty(dt)){typeConverters[i]=registeredTypes[dt]}else{unregisteredTypes.push(dt);if(!awaitingDependencies.hasOwnProperty(dt)){awaitingDependencies[dt]=[]}awaitingDependencies[dt].push((function(){typeConverters[i]=registeredTypes[dt];++registered;if(registered===unregisteredTypes.length){onComplete(typeConverters)}}))}}));if(0===unregisteredTypes.length){onComplete(typeConverters)}}function registerType(rawType,registeredInstance,options){options=options||{};if(!("argPackAdvance"in registeredInstance)){throw new TypeError("registerType registeredInstance requires argPackAdvance")}var name=registeredInstance.name;if(!rawType){throwBindingError('type "'+name+'" must have a positive integer typeid pointer')}if(registeredTypes.hasOwnProperty(rawType)){if(options.ignoreDuplicateRegistrations){return}else{throwBindingError("Cannot register type '"+name+"' twice")}}registeredTypes[rawType]=registeredInstance;delete typeDependencies[rawType];if(awaitingDependencies.hasOwnProperty(rawType)){var callbacks=awaitingDependencies[rawType];delete awaitingDependencies[rawType];callbacks.forEach((function(cb){cb()}))}}function __embind_register_void(rawType,name){name=readLatin1String(name);registerType(rawType,{isVoid:true,name:name,"argPackAdvance":0,"fromWireType":(function(){return undefined}),"toWireType":(function(destructors,o){return undefined})})}function __ZSt18uncaught_exceptionv(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:(function(adjusted){if(!adjusted||EXCEPTIONS.infos[adjusted])return adjusted;for(var ptr in EXCEPTIONS.infos){var info=EXCEPTIONS.infos[ptr];if(info.adjusted===adjusted){return ptr}}return adjusted}),addRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount++}),decRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];assert(info.refcount>0);info.refcount--;if(info.refcount===0&&!info.rethrown){if(info.destructor){Module["dynCall_vi"](info.destructor,ptr)}delete EXCEPTIONS.infos[ptr];___cxa_free_exception(ptr)}}),clearRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount=0})};function ___resumeException(ptr){if(!EXCEPTIONS.last){EXCEPTIONS.last=ptr}throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function ___cxa_find_matching_catch(){var thrown=EXCEPTIONS.last;if(!thrown){return(Runtime.setTempRet0(0),0)|0}var info=EXCEPTIONS.infos[thrown];var throwntype=info.type;if(!throwntype){return(Runtime.setTempRet0(0),thrown)|0}var typeArray=Array.prototype.slice.call(arguments);var pointer=Module["___cxa_is_pointer_type"](throwntype);if(!___cxa_find_matching_catch.buffer)___cxa_find_matching_catch.buffer=_malloc(4);HEAP32[___cxa_find_matching_catch.buffer>>2]=thrown;thrown=___cxa_find_matching_catch.buffer;for(var i=0;i<typeArray.length;i++){if(typeArray[i]&&Module["___cxa_can_catch"](typeArray[i],throwntype,thrown)){thrown=HEAP32[thrown>>2];info.adjusted=thrown;return(Runtime.setTempRet0(typeArray[i]),thrown)|0}}thrown=HEAP32[thrown>>2];return(Runtime.setTempRet0(throwntype),thrown)|0}function ___cxa_throw(ptr,type,destructor){EXCEPTIONS.infos[ptr]={ptr:ptr,adjusted:ptr,type:type,destructor:destructor,refcount:0,caught:false,rethrown:false};EXCEPTIONS.last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exception=1}else{__ZSt18uncaught_exceptionv.uncaught_exception++}throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function __embind_register_bool(rawType,name,size,trueValue,falseValue){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":(function(wt){return!!wt}),"toWireType":(function(destructors,o){return o?trueValue:falseValue}),"argPackAdvance":8,"readValueFromPointer":(function(pointer){var heap;if(size===1){heap=HEAP8}else if(size===2){heap=HEAP16}else if(size===4){heap=HEAP32}else{throw new TypeError("Unknown boolean type size: "+name)}return this["fromWireType"](heap[pointer>>shift])}),destructorFunction:null})}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.length<digits){str=character[0]+str}return str}function leadingNulls(value,digits){return leadingSomething(value,digits,"0")}function compareByDay(date1,date2){function sgn(value){return value<0?-1:value>0?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()<date.tm_year+1900){daysDifference=date.tm_yday+32-firstWeekStartThisYear.getDate()}else{daysDifference=date.tm_yday+1-firstWeekStartThisYear.getDate()}return leadingNulls(Math.ceil(daysDifference/7),2)}),"%w":(function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()}),"%W":(function(date){var janFirst=new Date(date.tm_year,0,1);var firstMonday=janFirst.getDay()===1?janFirst:__addDays(janFirst,janFirst.getDay()===0?1:7-janFirst.getDay()+1);var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstMonday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstMondayUntilEndJanuary=31-firstMonday.getDate();var days=firstMondayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstMonday,janFirst)===0?"01":"00"}),"%y":(function(date){return(date.tm_year+1900).toString().substring(2)}),"%Y":(function(date){return date.tm_year+1900}),"%z":(function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)}),"%Z":(function(date){return date.tm_zone}),"%%":(function(){return"%"})};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _abort(){Module["abort"]()}function simpleReadValueFromPointer(pointer){return this["fromWireType"](HEAPU32[pointer>>2])}function __embind_register_std_string(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":(function(value){var length=HEAPU32[value>>2];var a=new Array(length);for(var i=0;i<length;++i){a[i]=String.fromCharCode(HEAPU8[value+4+i])}_free(value);return a.join("")}),"toWireType":(function(destructors,value){if(value instanceof ArrayBuffer){value=new Uint8Array(value)}function getTAElement(ta,index){return ta[index]}function getStringElement(string,index){return string.charCodeAt(index)}var getElement;if(value instanceof Uint8Array){getElement=getTAElement}else if(value instanceof Uint8ClampedArray){getElement=getTAElement}else if(value instanceof Int8Array){getElement=getTAElement}else if(typeof value==="string"){getElement=getStringElement}else{throwBindingError("Cannot pass non-string to std::string")}var length=value.length;var ptr=_malloc(4+length);HEAPU32[ptr>>2]=length;for(var i=0;i<length;++i){var charCode=getElement(value,i);if(charCode>255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+4+i]=charCode}if(destructors!==null){destructors.push(_free,ptr)}return ptr}),"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:(function(ptr){_free(ptr)})})}function __embind_register_std_wstring(rawType,charSize,name){name=readLatin1String(name);var getHeap,shift;if(charSize===2){getHeap=(function(){return HEAPU16});shift=1}else if(charSize===4){getHeap=(function(){return HEAPU32});shift=2}registerType(rawType,{name:name,"fromWireType":(function(value){var HEAP=getHeap();var length=HEAPU32[value>>2];var a=new Array(length);var start=value+4>>shift;for(var i=0;i<length;++i){a[i]=String.fromCharCode(HEAP[start+i])}_free(value);return a.join("")}),"toWireType":(function(destructors,value){var HEAP=getHeap();var length=value.length;var ptr=_malloc(4+length*charSize);HEAPU32[ptr>>2]=length;var start=ptr+4>>shift;for(var i=0;i<length;++i){HEAP[start+i]=value.charCodeAt(i)}if(destructors!==null){destructors.push(_free,ptr)}return ptr}),"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:(function(ptr){_free(ptr)})})}function _pthread_once(ptr,func){if(!_pthread_once.seen)_pthread_once.seen={};if(ptr in _pthread_once.seen)return;Module["dynCall_v"](func);_pthread_once.seen[ptr]=1}function ClassHandle_isAliasOf(other){if(!(this instanceof ClassHandle)){return false}if(!(other instanceof ClassHandle)){return false}var leftClass=this.$$.ptrType.registeredClass;var left=this.$$.ptr;var rightClass=other.$$.ptrType.registeredClass;var right=other.$$.ptr;while(leftClass.baseClass){left=leftClass.upcast(left);leftClass=leftClass.baseClass}while(rightClass.baseClass){right=rightClass.upcast(right);rightClass=rightClass.baseClass}return leftClass===rightClass&&left===right}function shallowCopyInternalPointer(o){return{count:o.count,deleteScheduled:o.deleteScheduled,preservePointerOnDelete:o.preservePointerOnDelete,ptr:o.ptr,ptrType:o.ptrType,smartPtr:o.smartPtr,smartPtrType:o.smartPtrType}}function throwInstanceAlreadyDeleted(obj){function getInstanceTypeName(handle){return handle.$$.ptrType.registeredClass.name}throwBindingError(getInstanceTypeName(obj)+" instance already deleted")}function ClassHandle_clone(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.preservePointerOnDelete){this.$$.count.value+=1;return this}else{var clone=Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}});clone.$$.count.value+=1;clone.$$.deleteScheduled=false;return clone}}function runDestructor(handle){var $$=handle.$$;if($$.smartPtr){$$.smartPtrType.rawDestructor($$.smartPtr)}else{$$.ptrType.registeredClass.rawDestructor($$.ptr)}}function ClassHandle_delete(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}this.$$.count.value-=1;var toDelete=0===this.$$.count.value;if(toDelete){runDestructor(this)}if(!this.$$.preservePointerOnDelete){this.$$.smartPtr=undefined;this.$$.ptr=undefined}}function ClassHandle_isDeleted(){return!this.$$.ptr}var delayFunction=undefined;var deletionQueue=[];function flushPendingDeletes(){while(deletionQueue.length){var obj=deletionQueue.pop();obj.$$.deleteScheduled=false;obj["delete"]()}}function ClassHandle_deleteLater(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}deletionQueue.push(this);if(deletionQueue.length===1&&delayFunction){delayFunction(flushPendingDeletes)}this.$$.deleteScheduled=true;return this}function init_ClassHandle(){ClassHandle.prototype["isAliasOf"]=ClassHandle_isAliasOf;ClassHandle.prototype["clone"]=ClassHandle_clone;ClassHandle.prototype["delete"]=ClassHandle_delete;ClassHandle.prototype["isDeleted"]=ClassHandle_isDeleted;ClassHandle.prototype["deleteLater"]=ClassHandle_deleteLater}function ClassHandle(){}var registeredPointers={};function ensureOverloadTable(proto,methodName,humanName){if(undefined===proto[methodName].overloadTable){var prevFunc=proto[methodName];proto[methodName]=(function(){if(!proto[methodName].overloadTable.hasOwnProperty(arguments.length)){throwBindingError("Function '"+humanName+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+proto[methodName].overloadTable+")!")}return proto[methodName].overloadTable[arguments.length].apply(this,arguments)});proto[methodName].overloadTable=[];proto[methodName].overloadTable[prevFunc.argCount]=prevFunc}}function exposePublicSymbol(name,value,numArguments){if(Module.hasOwnProperty(name)){if(undefined===numArguments||undefined!==Module[name].overloadTable&&undefined!==Module[name].overloadTable[numArguments]){throwBindingError("Cannot register public name '"+name+"' twice")}ensureOverloadTable(Module,name,name);if(Module.hasOwnProperty(numArguments)){throwBindingError("Cannot register multiple overloads of a function with the same number of arguments ("+numArguments+")!")}Module[name].overloadTable[numArguments]=value}else{Module[name]=value;if(undefined!==numArguments){Module[name].numArguments=numArguments}}}function RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast){this.name=name;this.constructor=constructor;this.instancePrototype=instancePrototype;this.rawDestructor=rawDestructor;this.baseClass=baseClass;this.getActualType=getActualType;this.upcast=upcast;this.downcast=downcast;this.pureVirtualFunctions=[]}function upcastPointer(ptr,ptrClass,desiredClass){while(ptrClass!==desiredClass){if(!ptrClass.upcast){throwBindingError("Expected null or instance of "+desiredClass.name+", got an instance of "+ptrClass.name)}ptr=ptrClass.upcast(ptr);ptrClass=ptrClass.baseClass}return ptr}function constNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError("null is not a valid "+this.name)}return 0}if(!handle.$$){throwBindingError('Cannot pass "'+_embind_repr(handle)+'" as a '+this.name)}if(!handle.$$.ptr){throwBindingError("Cannot pass deleted object as a pointer of type "+this.name)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function genericPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError("null is not a valid "+this.name)}if(this.isSmartPointer){var ptr=this.rawConstructor();if(destructors!==null){destructors.push(this.rawDestructor,ptr)}return ptr}else{return 0}}if(!handle.$$){throwBindingError('Cannot pass "'+_embind_repr(handle)+'" as a '+this.name)}if(!handle.$$.ptr){throwBindingError("Cannot pass deleted object as a pointer of type "+this.name)}if(!this.isConst&&handle.$$.ptrType.isConst){throwBindingError("Cannot convert argument of type "+(handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name)+" to parameter type "+this.name)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);if(this.isSmartPointer){if(undefined===handle.$$.smartPtr){throwBindingError("Passing raw pointer to smart pointer is illegal")}switch(this.sharingPolicy){case 0:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{throwBindingError("Cannot convert argument of type "+(handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name)+" to parameter type "+this.name)}break;case 1:ptr=handle.$$.smartPtr;break;case 2:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{var clonedHandle=handle["clone"]();ptr=this.rawShare(ptr,__emval_register((function(){clonedHandle["delete"]()})));if(destructors!==null){destructors.push(this.rawDestructor,ptr)}}break;default:throwBindingError("Unsupporting sharing policy")}}return ptr}function nonConstNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError("null is not a valid "+this.name)}return 0}if(!handle.$$){throwBindingError('Cannot pass "'+_embind_repr(handle)+'" as a '+this.name)}if(!handle.$$.ptr){throwBindingError("Cannot pass deleted object as a pointer of type "+this.name)}if(handle.$$.ptrType.isConst){throwBindingError("Cannot convert argument of type "+handle.$$.ptrType.name+" to parameter type "+this.name)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function RegisteredPointer_getPointee(ptr){if(this.rawGetPointee){ptr=this.rawGetPointee(ptr)}return ptr}function RegisteredPointer_destructor(ptr){if(this.rawDestructor){this.rawDestructor(ptr)}}function RegisteredPointer_deleteObject(handle){if(handle!==null){handle["delete"]()}}function downcastPointer(ptr,ptrClass,desiredClass){if(ptrClass===desiredClass){return ptr}if(undefined===desiredClass.baseClass){return null}var rv=downcastPointer(ptr,ptrClass,desiredClass.baseClass);if(rv===null){return null}return desiredClass.downcast(rv)}function getInheritedInstanceCount(){return Object.keys(registeredInstances).length}function getLiveInheritedInstances(){var rv=[];for(var k in registeredInstances){if(registeredInstances.hasOwnProperty(k)){rv.push(registeredInstances[k])}}return rv}function setDelayFunction(fn){delayFunction=fn;if(deletionQueue.length&&delayFunction){delayFunction(flushPendingDeletes)}}function init_embind(){Module["getInheritedInstanceCount"]=getInheritedInstanceCount;Module["getLiveInheritedInstances"]=getLiveInheritedInstances;Module["flushPendingDeletes"]=flushPendingDeletes;Module["setDelayFunction"]=setDelayFunction}var registeredInstances={};function getBasestPointer(class_,ptr){if(ptr===undefined){throwBindingError("ptr should not be undefined")}while(class_.baseClass){ptr=class_.upcast(ptr);class_=class_.baseClass}return ptr}function getInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);return registeredInstances[ptr]}function makeClassHandle(prototype,record){if(!record.ptrType||!record.ptr){throwInternalError("makeClassHandle requires ptr and ptrType")}var hasSmartPtrType=!!record.smartPtrType;var hasSmartPtr=!!record.smartPtr;if(hasSmartPtrType!==hasSmartPtr){throwInternalError("Both smartPtrType and smartPtr must be specified")}record.count={value:1};return Object.create(prototype,{$$:{value:record}})}function RegisteredPointer_fromWireType(ptr){var rawPointer=this.getPointee(ptr);if(!rawPointer){this.destructor(ptr);return null}var registeredInstance=getInheritedInstance(this.registeredClass,rawPointer);if(undefined!==registeredInstance){if(0===registeredInstance.$$.count.value){registeredInstance.$$.ptr=rawPointer;registeredInstance.$$.smartPtr=ptr;return registeredInstance["clone"]()}else{var rv=registeredInstance["clone"]();this.destructor(ptr);return rv}}function makeDefaultHandle(){if(this.isSmartPointer){return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:rawPointer,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:ptr})}}var actualType=this.registeredClass.getActualType(rawPointer);var registeredPointerRecord=registeredPointers[actualType];if(!registeredPointerRecord){return makeDefaultHandle.call(this)}var toType;if(this.isConst){toType=registeredPointerRecord.constPointerType}else{toType=registeredPointerRecord.pointerType}var dp=downcastPointer(rawPointer,this.registeredClass,toType.registeredClass);if(dp===null){return makeDefaultHandle.call(this)}if(this.isSmartPointer){return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp})}}function init_RegisteredPointer(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee;RegisteredPointer.prototype.destructor=RegisteredPointer_destructor;RegisteredPointer.prototype["argPackAdvance"]=8;RegisteredPointer.prototype["readValueFromPointer"]=simpleReadValueFromPointer;RegisteredPointer.prototype["deleteObject"]=RegisteredPointer_deleteObject;RegisteredPointer.prototype["fromWireType"]=RegisteredPointer_fromWireType}function RegisteredPointer(name,registeredClass,isReference,isConst,isSmartPointer,pointeeType,sharingPolicy,rawGetPointee,rawConstructor,rawShare,rawDestructor){this.name=name;this.registeredClass=registeredClass;this.isReference=isReference;this.isConst=isConst;this.isSmartPointer=isSmartPointer;this.pointeeType=pointeeType;this.sharingPolicy=sharingPolicy;this.rawGetPointee=rawGetPointee;this.rawConstructor=rawConstructor;this.rawShare=rawShare;this.rawDestructor=rawDestructor;if(!isSmartPointer&&registeredClass.baseClass===undefined){if(isConst){this["toWireType"]=constNoSmartPtrRawPointerToWireType;this.destructorFunction=null}else{this["toWireType"]=nonConstNoSmartPtrRawPointerToWireType;this.destructorFunction=null}}else{this["toWireType"]=genericPointerToWireType}}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(dynCall){var args=[];for(var i=1;i<signature.length;++i){args.push("a"+i)}var name="dynCall_"+signature+"_"+rawFunction;var body="return function "+name+"("+args.join(", ")+") {\n";body+=" return dynCall(rawFunction"+(args.length?", ":"")+args.join(", ")+");\n";body+="};\n";return(new Function("dynCall","rawFunction",body))(dynCall,rawFunction)}var fp;if(Module["FUNCTION_TABLE_"+signature]!==undefined){fp=Module["FUNCTION_TABLE_"+signature][rawFunction]}else if(typeof FUNCTION_TABLE!=="undefined"){fp=FUNCTION_TABLE[rawFunction]}else{var dc=Module["asm"]["dynCall_"+signature];if(dc===undefined){dc=Module["asm"]["dynCall_"+signature.replace(/f/g,"d")];if(dc===undefined){throwBindingError("No dynCall invoker for signature: "+signature)}}fp=makeDynCaller(dc)}if(typeof fp!=="function"){throwBindingError("unknown function pointer with signature "+signature+": "+rawFunction)}return fp}var UnboundTypeError=undefined;function getTypeName(type){var ptr=___getTypeName(type);var rv=readLatin1String(ptr);_free(ptr);return rv}function throwUnboundTypeError(message,types){var unboundTypes=[];var seen={};function visit(type){if(seen[type]){return}if(registeredTypes[type]){return}if(typeDependencies[type]){typeDependencies[type].forEach(visit);return}unboundTypes.push(type);seen[type]=true}types.forEach(visit);throw new UnboundTypeError(message+": "+unboundTypes.map(getTypeName).join([", "]))}function __embind_register_class(rawType,rawPointerType,rawConstPointerType,baseClassRawType,getActualTypeSignature,getActualType,upcastSignature,upcast,downcastSignature,downcast,name,destructorSignature,rawDestructor){name=readLatin1String(name);getActualType=requireFunction(getActualTypeSignature,getActualType);if(upcast){upcast=requireFunction(upcastSignature,upcast)}if(downcast){downcast=requireFunction(downcastSignature,downcast)}rawDestructor=requireFunction(destructorSignature,rawDestructor);var legalFunctionName=makeLegalFunctionName(name);exposePublicSymbol(legalFunctionName,(function(){throwUnboundTypeError("Cannot construct "+name+" due to unbound types",[baseClassRawType])}));whenDependentTypesAreResolved([rawType,rawPointerType,rawConstPointerType],baseClassRawType?[baseClassRawType]:[],(function(base){base=base[0];var baseClass;var basePrototype;if(baseClassRawType){baseClass=base.registeredClass;basePrototype=baseClass.instancePrototype}else{basePrototype=ClassHandle.prototype}var constructor=createNamedFunction(legalFunctionName,(function(){if(Object.getPrototypeOf(this)!==instancePrototype){throw new BindingError("Use 'new' to construct "+name)}if(undefined===registeredClass.constructor_body){throw new BindingError(name+" has no accessible constructor")}var body=registeredClass.constructor_body[arguments.length];if(undefined===body){throw new BindingError("Tried to invoke ctor of "+name+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(registeredClass.constructor_body).toString()+") parameters instead!")}return body.apply(this,arguments)}));var instancePrototype=Object.create(basePrototype,{constructor:{value:constructor}});constructor.prototype=instancePrototype;var registeredClass=new RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast);var referenceConverter=new RegisteredPointer(name,registeredClass,true,false,false);var pointerConverter=new RegisteredPointer(name+"*",registeredClass,false,false,false);var constPointerConverter=new RegisteredPointer(name+" const*",registeredClass,false,true,false);registeredPointers[rawType]={pointerType:pointerConverter,constPointerType:constPointerConverter};replacePublicSymbol(legalFunctionName,constructor);return[referenceConverter,pointerConverter,constPointerConverter]}))}function ___lock(){}function ___unlock(){}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}var PTHREAD_SPECIFIC={};function _pthread_getspecific(key){return PTHREAD_SPECIFIC[key]||0}var PTHREAD_SPECIFIC_NEXT_KEY=1;var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};function _pthread_key_create(key,destructor){if(key==0){return ERRNO_CODES.EINVAL}HEAP32[key>>2]=PTHREAD_SPECIFIC_NEXT_KEY;PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY]=0;PTHREAD_SPECIFIC_NEXT_KEY++;return 0}function count_emval_handles(){var count=0;for(var i=5;i<emval_handle_array.length;++i){if(emval_handle_array[i]!==undefined){++count}}return count}function get_first_emval(){for(var i=5;i<emval_handle_array.length;++i){if(emval_handle_array[i]!==undefined){return emval_handle_array[i]}}return null}function init_emval(){Module["count_emval_handles"]=count_emval_handles;Module["get_first_emval"]=get_first_emval}function __emval_register(value){switch(value){case undefined:{return 1};case null:{return 2};case true:{return 3};case false:{return 4};default:{var handle=emval_free_list.length?emval_free_list.pop():emval_handle_array.length;emval_handle_array[handle]={refcount:1,value:value};return handle}}}function requireRegisteredType(rawType,humanName){var impl=registeredTypes[rawType];if(undefined===impl){throwBindingError(humanName+" has unknown type "+getTypeName(rawType))}return impl}function __emval_take_value(type,argv){type=requireRegisteredType(type,"_emval_take_value");var v=type["readValueFromPointer"](argv);return __emval_register(v)}function _embind_repr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function integerReadValueFromPointer(name,shift,signed){switch(shift){case 0:return signed?function readS8FromPointer(pointer){return HEAP8[pointer]}:function readU8FromPointer(pointer){return HEAPU8[pointer]};case 1:return signed?function readS16FromPointer(pointer){return HEAP16[pointer>>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=(function(value){return value});if(minRange===0){var bitshift=32-8*size;fromWireType=(function(value){return value<<bitshift>>>bitshift})}var isUnsignedType=name.indexOf("unsigned")!=-1;registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":(function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}if(value<minRange||value>maxRange){throw new TypeError('Passing a number "'+_embind_repr(value)+'" from JS side to C/C++ side to an argument of type "'+name+'", which is outside the valid range ['+minRange+", "+maxRange+"]!")}return isUnsignedType?value>>>0:value|0}),"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":(function(handle){var rv=emval_handle_array[handle].value;__emval_decref(handle);return rv}),"toWireType":(function(destructors,value){return __emval_register(value)}),"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function _pthread_setspecific(key,value){if(!(key in PTHREAD_SPECIFIC)){return ERRNO_CODES.EINVAL}PTHREAD_SPECIFIC[key]=value;return 0}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<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=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;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")})};var TTY={ttys:[],init:(function(){}),shutdown:(function(){}),register:(function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)}),stream_ops:{open:(function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}stream.tty=tty;stream.seekable=false}),close:(function(stream){stream.tty.ops.flush(stream.tty)}),flush:(function(stream){stream.tty.ops.flush(stream.tty)}),read:(function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(ERRNO_CODES.ENXIO)}var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=stream.tty.ops.get_char(stream.tty)}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead}),write:(function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.put_char){throw new FS.ErrnoError(ERRNO_CODES.ENXIO)}for(var i=0;i<length;i++){try{stream.tty.ops.put_char(stream.tty,buffer[offset+i])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}}if(length){stream.node.timestamp=Date.now()}return i})},default_tty_ops:{get_char:(function(tty){if(!tty.input.length){var result=null;if(ENVIRONMENT_IS_NODE){var BUFSIZE=256;var buf=new Buffer(BUFSIZE);var bytesRead=0;var isPosixPlatform=process.platform!="win32";var fd=process.stdin.fd;if(isPosixPlatform){var usingDevice=false;try{fd=fs.openSync("/dev/stdin","r");usingDevice=true}catch(e){}}try{bytesRead=fs.readSync(fd,buf,0,BUFSIZE,null)}catch(e){if(e.toString().indexOf("EOF")!=-1)bytesRead=0;else throw e}if(usingDevice){fs.closeSync(fd)}if(bytesRead>0){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;i<node.usedBytes;++i)arr.push(node.contents[i]);return arr}return node.contents}),getFileDataAsTypedArray:(function(node){if(!node.contents)return new Uint8Array;if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)}),expandFileStorage:(function(node,newCapacity){if(node.contents&&node.contents.subarray&&newCapacity>node.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*(prevCapacity<CAPACITY_DOUBLING_MAX?2:1.125)|0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.length<newCapacity)node.contents.push(0)}),resizeFileStorage:(function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length<newSize)node.contents.push(0);node.usedBytes=newSize}),node_ops:{getattr:(function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr}),setattr:(function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}}),lookup:(function(parent,name){throw FS.genericErrors[ERRNO_CODES.ENOENT]}),mknod:(function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)}),rename:(function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}}}delete old_node.parent.contents[old_node.name];old_node.name=new_name;new_dir.contents[new_name]=old_node;old_node.parent=new_dir}),unlink:(function(parent,name){delete parent.contents[name]}),rmdir:(function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}delete parent.contents[name]}),readdir:(function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries}),symlink:(function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node}),readlink:(function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return node.link})},stream_ops:{read:(function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=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;i<size;i++)buffer[offset+i]=contents[position+i]}return size}),write:(function(stream,buffer,offset,length,position,canOwn){if(!length)return 0;var node=stream.node;node.timestamp=Date.now();if(buffer.subarray&&(!node.contents||node.contents.subarray)){if(canOwn){node.contents=buffer.subarray(offset,offset+length);node.usedBytes=length;return length}else if(node.usedBytes===0&&position===0){node.contents=new Uint8Array(buffer.subarray(offset,offset+length));node.usedBytes=length;return length}else if(position+length<=node.usedBytes){node.contents.set(buffer.subarray(offset,offset+length),position);return length}}MEMFS.expandFileStorage(node,position+length);if(node.contents.subarray&&buffer.subarray)node.contents.set(buffer.subarray(offset,offset+length),position);else{for(var i=0;i<length;i++){node.contents[position+i]=buffer[offset+i]}}node.usedBytes=Math.max(node.usedBytes,position+length);return length}),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.usedBytes}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position}),allocate:(function(stream,offset,length){MEMFS.expandFileStorage(stream.node,offset+length);stream.node.usedBytes=Math.max(stream.node.usedBytes,offset+length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}var ptr;var allocated;var contents=stream.node.contents;if(!(flags&2)&&(contents.buffer===buffer||contents.buffer===buffer.buffer)){allocated=false;ptr=contents.byteOffset}else{if(position>0||position+length<stream.node.usedBytes){if(contents.subarray){contents=contents.subarray(position,position+length)}else{contents=Array.prototype.slice.call(contents,position,position+length)}}allocated=true;ptr=_malloc(length);if(!ptr){throw new FS.ErrnoError(ERRNO_CODES.ENOMEM)}buffer.set(contents,ptr)}return{ptr:ptr,allocated:allocated}}),msync:(function(stream,buffer,offset,length,mmapFlags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(mmapFlags&2){return 0}var bytesWritten=MEMFS.stream_ops.write(stream,buffer,0,length,offset,false);return 0})}};var IDBFS={dbs:{},indexedDB:(function(){if(typeof indexedDB!=="undefined")return indexedDB;var ret=null;if(typeof window==="object")ret=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;assert(ret,"IDBFS used, but indexedDB not supported");return ret}),DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:(function(mount){return MEMFS.mount.apply(null,arguments)}),syncfs:(function(mount,populate,callback){IDBFS.getLocalSet(mount,(function(err,local){if(err)return callback(err);IDBFS.getRemoteSet(mount,(function(err,remote){if(err)return callback(err);var src=populate?remote:local;var dst=populate?local:remote;IDBFS.reconcile(src,dst,callback)}))}))}),getDB:(function(name,callback){var db=IDBFS.dbs[name];if(db){return callback(null,db)}var req;try{req=IDBFS.indexedDB().open(name,IDBFS.DB_VERSION)}catch(e){return callback(e)}if(!req){return callback("Unable to connect to IndexedDB")}req.onupgradeneeded=(function(e){var db=e.target.result;var transaction=e.target.transaction;var fileStore;if(db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)){fileStore=transaction.objectStore(IDBFS.DB_STORE_NAME)}else{fileStore=db.createObjectStore(IDBFS.DB_STORE_NAME)}if(!fileStore.indexNames.contains("timestamp")){fileStore.createIndex("timestamp","timestamp",{unique:false})}});req.onsuccess=(function(){db=req.result;IDBFS.dbs[name]=db;callback(null,db)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),getLocalSet:(function(mount,callback){var entries={};function isRealDir(p){return p!=="."&&p!==".."}function toAbsolute(root){return(function(p){return PATH.join2(root,p)})}var check=FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint));while(check.length){var path=check.pop();var stat;try{stat=FS.stat(path)}catch(e){return callback(e)}if(FS.isDir(stat.mode)){check.push.apply(check,FS.readdir(path).filter(isRealDir).map(toAbsolute(path)))}entries[path]={timestamp:stat.mtime}}return callback(null,{type:"local",entries:entries})}),getRemoteSet:(function(mount,callback){var entries={};IDBFS.getDB(mount.mountpoint,(function(err,db){if(err)return callback(err);var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readonly");transaction.onerror=(function(e){callback(this.error);e.preventDefault()});var store=transaction.objectStore(IDBFS.DB_STORE_NAME);var index=store.index("timestamp");index.openKeyCursor().onsuccess=(function(event){var cursor=event.target.result;if(!cursor){return callback(null,{type:"remote",db:db,entries:entries})}entries[cursor.primaryKey]={timestamp:cursor.key};cursor.continue()})}))}),loadLocalEntry:(function(path,callback){var stat,node;try{var lookup=FS.lookupPath(path);node=lookup.node;stat=FS.stat(path)}catch(e){return callback(e)}if(FS.isDir(stat.mode)){return callback(null,{timestamp:stat.mtime,mode:stat.mode})}else if(FS.isFile(stat.mode)){node.contents=MEMFS.getFileDataAsTypedArray(node);return callback(null,{timestamp:stat.mtime,mode:stat.mode,contents:node.contents})}else{return callback(new Error("node type not supported"))}}),storeLocalEntry:(function(path,entry,callback){try{if(FS.isDir(entry.mode)){FS.mkdir(path,entry.mode)}else if(FS.isFile(entry.mode)){FS.writeFile(path,entry.contents,{encoding:"binary",canOwn:true})}else{return callback(new Error("node type not supported"))}FS.chmod(path,entry.mode);FS.utime(path,entry.timestamp,entry.timestamp)}catch(e){return callback(e)}callback(null)}),removeLocalEntry:(function(path,callback){try{var lookup=FS.lookupPath(path);var stat=FS.stat(path);if(FS.isDir(stat.mode)){FS.rmdir(path)}else if(FS.isFile(stat.mode)){FS.unlink(path)}}catch(e){return callback(e)}callback(null)}),loadRemoteEntry:(function(store,path,callback){var req=store.get(path);req.onsuccess=(function(event){callback(null,event.target.result)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),storeRemoteEntry:(function(store,path,entry,callback){var req=store.put(entry,path);req.onsuccess=(function(){callback(null)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),removeRemoteEntry:(function(store,path,callback){var req=store.delete(path);req.onsuccess=(function(){callback(null)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),reconcile:(function(src,dst,callback){var total=0;var create=[];Object.keys(src.entries).forEach((function(key){var e=src.entries[key];var e2=dst.entries[key];if(!e2||e.timestamp>e2.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<res;i++){buffer[offset+i]=nbuffer[i]}}return res}),write:(function(stream,buffer,offset,length,position){var nbuffer=new Buffer(buffer.subarray(offset,offset+length));var res;try{res=fs.writeSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}return res}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){try{var stat=fs.fstatSync(stream.nfd);position+=stat.size}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position})}};var WORKERFS={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:(function(mount){assert(ENVIRONMENT_IS_WORKER);if(!WORKERFS.reader)WORKERFS.reader=new FileReaderSync;var root=WORKERFS.createNode(null,"/",WORKERFS.DIR_MODE,0);var createdParents={};function ensureParent(path){var parts=path.split("/");var parent=root;for(var i=0;i<parts.length-1;i++){var curr=parts.slice(0,i+1).join("/");if(!createdParents[curr]){createdParents[curr]=WORKERFS.createNode(parent,parts[i],WORKERFS.DIR_MODE,0)}parent=createdParents[curr]}return parent}function base(path){var parts=path.split("/");return parts[parts.length-1]}Array.prototype.forEach.call(mount.opts["files"]||[],(function(file){WORKERFS.createNode(ensureParent(file.name),base(file.name),WORKERFS.FILE_MODE,0,file,file.lastModifiedDate)}));(mount.opts["blobs"]||[]).forEach((function(obj){WORKERFS.createNode(ensureParent(obj["name"]),base(obj["name"]),WORKERFS.FILE_MODE,0,obj["data"])}));(mount.opts["packages"]||[]).forEach((function(pack){pack["metadata"].files.forEach((function(file){var name=file.filename.substr(1);WORKERFS.createNode(ensureParent(name),base(name),WORKERFS.FILE_MODE,0,pack["blob"].slice(file.start,file.end))}))}));return root}),createNode:(function(parent,name,mode,dev,contents,mtime){var node=FS.createNode(parent,name,mode);node.mode=mode;node.node_ops=WORKERFS.node_ops;node.stream_ops=WORKERFS.stream_ops;node.timestamp=(mtime||new Date).getTime();assert(WORKERFS.FILE_MODE!==WORKERFS.DIR_MODE);if(mode===WORKERFS.FILE_MODE){node.size=contents.size;node.contents=contents}else{node.size=4096;node.contents={}}if(parent){parent.contents[name]=node}return node}),node_ops:{getattr:(function(node){return{dev:1,ino:undefined,mode:node.mode,nlink:1,uid:0,gid:0,rdev:undefined,size:node.size,atime:new Date(node.timestamp),mtime:new Date(node.timestamp),ctime:new Date(node.timestamp),blksize:4096,blocks:Math.ceil(node.size/4096)}}),setattr:(function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}}),lookup:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}),mknod:(function(parent,name,mode,dev){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),rename:(function(oldNode,newDir,newName){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),unlink:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),rmdir:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),readdir:(function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries}),symlink:(function(parent,newName,oldPath){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),readlink:(function(node){throw new FS.ErrnoError(ERRNO_CODES.EPERM)})},stream_ops:{read:(function(stream,buffer,offset,length,position){if(position>=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;i<parts.length;i++){var islast=i===parts.length-1;if(islast&&opts.parent){break}current=FS.lookupNode(current,parts[i]);current_path=PATH.join2(current_path,parts[i]);if(FS.isMountpoint(current)){if(!islast||islast&&opts.follow_mount){current=current.mounted.root}}if(!islast||opts.follow){var count=0;while(FS.isLink(current.mode)){var link=FS.readlink(current_path);current_path=PATH.resolve(PATH.dirname(current_path),link);var lookup=FS.lookupPath(current_path,{recurse_count:opts.recurse_count});current=lookup.node;if(count++>40){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<name.length;i++){hash=(hash<<5)-hash+name.charCodeAt(i)|0}return(parentid+hash>>>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;i<dirs.length;++i){if(!dirs[i])continue;d+="/"+dirs[i];try{FS.mkdir(d,mode)}catch(e){if(e.errno!=ERRNO_CODES.EEXIST)throw e}}}),mkdev:(function(path,mode,dev){if(typeof dev==="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)}),symlink:(function(oldpath,newpath){if(!PATH.resolve(oldpath)){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var newname=PATH.basename(newpath);var err=FS.mayCreate(parent,newname);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.symlink(parent,newname,oldpath)}),rename:(function(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;try{lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!old_dir||!new_dir)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(ERRNO_CODES.EXDEV)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}relative=PATH.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var err=FS.mayDelete(old_dir,old_name,isdir);if(err){throw new FS.ErrnoError(err)}err=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(err){throw new FS.ErrnoError(err)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(new_dir!==old_dir){err=FS.nodePermissions(old_dir,"w");if(err){throw new FS.ErrnoError(err)}}try{if(FS.trackingDelegate["willMovePath"]){FS.trackingDelegate["willMovePath"](old_path,new_path)}}catch(e){console.log("FS.trackingDelegate['willMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}try{if(FS.trackingDelegate["onMovePath"])FS.trackingDelegate["onMovePath"](old_path,new_path)}catch(e){console.log("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}}),rmdir:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,true);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}return node.node_ops.readdir(node)}),unlink:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,false);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.unlink(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readlink:(function(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!link.node_ops.readlink){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return PATH.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))}),stat:(function(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!node.node_ops.getattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return node.node_ops.getattr(node)}),lstat:(function(path){return FS.stat(path,true)}),chmod:(function(path,mode,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})}),lchmod:(function(path,mode){FS.chmod(path,mode,true)}),fchmod:(function(fd,mode){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chmod(stream.node,mode)}),chown:(function(path,uid,gid,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{timestamp:Date.now()})}),lchown:(function(path,uid,gid){FS.chown(path,uid,gid,true)}),fchown:(function(fd,uid,gid){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chown(stream.node,uid,gid)}),truncate:(function(path,len){if(len<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.nodePermissions(node,"w");if(err){throw new FS.ErrnoError(err)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})}),ftruncate:(function(fd,len){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}FS.truncate(stream.node,len)}),utime:(function(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})}),open:(function(path,flags,mode,fd_start,fd_end){if(path===""){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}flags=typeof flags==="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode==="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path==="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}if(!created){var err=FS.mayOpen(node,flags);if(err){throw new FS.ErrnoError(err)}}if(flags&512){FS.truncate(node,0)}flags&=~(128|512);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false},fd_start,fd_end);if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1;Module["printErr"]("read file: "+path)}}try{if(FS.trackingDelegate["onOpenFile"]){var trackingFlags=0;if((flags&2097155)!==1){trackingFlags|=FS.tracking.openFlags.READ}if((flags&2097155)!==0){trackingFlags|=FS.tracking.openFlags.WRITE}FS.trackingDelegate["onOpenFile"](path,trackingFlags)}}catch(e){console.log("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: "+e.message)}return stream}),close:(function(stream){if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}}),llseek:(function(stream,offset,whence){if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position}),read:(function(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.read){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead}),write:(function(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.write){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if(stream.flags&1024){FS.llseek(stream,0,2)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;try{if(stream.path&&FS.trackingDelegate["onWriteToFile"])FS.trackingDelegate["onWriteToFile"](stream.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return bytesWritten}),allocate:(function(stream,offset,length){if(offset<0||length<=0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP)}stream.stream_ops.allocate(stream,offset,length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EACCES)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}return stream.stream_ops.mmap(stream,buffer,offset,length,position,prot,flags)}),msync:(function(stream,buffer,offset,length,mmapFlags){if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)}),munmap:(function(stream){return 0}),ioctl:(function(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(ERRNO_CODES.ENOTTY)}return stream.stream_ops.ioctl(stream,cmd,arg)}),readFile:(function(path,opts){opts=opts||{};opts.flags=opts.flags||"r";opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret}),writeFile:(function(path,data,opts){opts=opts||{};opts.flags=opts.flags||"w";opts.encoding=opts.encoding||"utf8";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var stream=FS.open(path,opts.flags,opts.mode);if(opts.encoding==="utf8"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,0,opts.canOwn)}else if(opts.encoding==="binary"){FS.write(stream,data,0,data.length,0,opts.canOwn)}FS.close(stream)}),cwd:(function(){return FS.currentPath}),chdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var err=FS.nodePermissions(lookup.node,"x");if(err){throw new FS.ErrnoError(err)}FS.currentPath=lookup.path}),createDefaultDirectories:(function(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")}),createDefaultDevices:(function(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:(function(){return 0}),write:(function(stream,buffer,offset,length,pos){return length})});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device;if(typeof crypto!=="undefined"){var randomBuffer=new Uint8Array(1);random_device=(function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]})}else if(ENVIRONMENT_IS_NODE){random_device=(function(){return require("crypto").randomBytes(1)[0]})}else{random_device=(function(){return Math.random()*256|0})}FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")}),createSpecialDirectories:(function(){FS.mkdir("/proc");FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:(function(){var node=FS.createNode("/proc/self","fd",16384|511,73);node.node_ops={lookup:(function(parent,name){var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:(function(){return stream.path})}};ret.parent=ret;return ret})};return node})},{},"/proc/self/fd")}),createStandardStreams:(function(){if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin","r");assert(stdin.fd===0,"invalid handle for stdin ("+stdin.fd+")");var stdout=FS.open("/dev/stdout","w");assert(stdout.fd===1,"invalid handle for stdout ("+stdout.fd+")");var stderr=FS.open("/dev/stderr","w");assert(stderr.fd===2,"invalid handle for stderr ("+stderr.fd+")")}),ensureErrnoError:(function(){if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=(function(errno){this.errno=errno;for(var key in ERRNO_CODES){if(ERRNO_CODES[key]===errno){this.code=key;break}}});this.setErrno(errno);this.message=ERRNO_MESSAGES[errno]};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[ERRNO_CODES.ENOENT].forEach((function(code){FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack="<generic error, no stack>"}))}),staticInit:(function(){FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS,"IDBFS":IDBFS,"NODEFS":NODEFS,"WORKERFS":WORKERFS}}),init:(function(input,output,error){assert(!FS.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)");FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()}),quit:(function(){FS.init.initialized=false;var fflush=Module["_fflush"];if(fflush)fflush(0);for(var i=0;i<FS.streams.length;i++){var stream=FS.streams[i];if(!stream){continue}FS.close(stream)}}),getMode:(function(canRead,canWrite){var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode}),joinPath:(function(parts,forceRelative){var path=PATH.join.apply(null,parts);if(forceRelative&&path[0]=="/")path=path.substr(1);return path}),absolutePath:(function(relative,base){return PATH.resolve(base,relative)}),standardizePath:(function(path){return PATH.normalize(path)}),findObject:(function(path,dontResolveLastLink){var ret=FS.analyzePath(path,dontResolveLastLink);if(ret.exists){return ret.object}else{___setErrNo(ret.error);return null}}),analyzePath:(function(path,dontResolveLastLink){try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret}),createFolder:(function(parent,name,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.mkdir(path,mode)}),createPath:(function(parent,path,canRead,canWrite){parent=typeof parent==="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current}),createFile:(function(parent,name,properties,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)}),createDataFile:(function(parent,name,data,canRead,canWrite,canOwn){var path=name?PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name):parent;var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data==="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i<len;++i)arr[i]=data.charCodeAt(i);data=arr}FS.chmod(node,mode|146);var stream=FS.open(node,"w");FS.write(stream,data,0,data.length,0,canOwn);FS.close(stream);FS.chmod(node,mode)}return node}),createDevice:(function(parent,name,input,output){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:(function(stream){stream.seekable=false}),close:(function(stream){if(output&&output.buffer&&output.buffer.length){output(10)}}),read:(function(stream,buffer,offset,length,pos){var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=input()}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead}),write:(function(stream,buffer,offset,length,pos){for(var i=0;i<length;i++){try{output(buffer[offset+i])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}}if(length){stream.node.timestamp=Date.now()}return i})});return FS.mkdev(path,mode,dev)}),createLink:(function(parent,name,target,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);return FS.symlink(target,path)}),forceLoadFile:(function(obj){if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;var success=true;if(typeof XMLHttpRequest!=="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(Module["read"]){try{obj.contents=intArrayFromString(Module["read"](obj.url),true);obj.usedBytes=obj.contents.length}catch(e){success=false}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}if(!success)___setErrNo(ERRNO_CODES.EIO);return success}),createLazyFile:(function(parent,name,url,canRead,canWrite){function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.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<size;i++){buffer[offset+i]=contents[position+i]}}else{for(var i=0;i<size;i++){buffer[offset+i]=contents.get(position+i)}}return size};node.stream_ops=stream_ops;return node}),createPreloadedFile:(function(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish){Browser.init();var fullname=name?PATH.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}var handled=false;Module["preloadPlugins"].forEach((function(plugin){if(handled)return;if(plugin["canHandle"](fullname)){plugin["handle"](byteArray,fullname,finish,(function(){if(onerror)onerror();removeRunDependency(dep)}));handled=true}}));if(!handled)finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){Browser.asyncLoad(url,(function(byteArray){processData(byteArray)}),onerror)}else{processData(url)}}),indexedDB:(function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB}),DB_NAME:(function(){return"EM_FS_"+window.location.pathname}),DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(function(paths,onload,onerror){onload=onload||(function(){});onerror=onerror||(function(){});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=function openRequest_onupgradeneeded(){console.log("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach((function(path){var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=function putRequest_onsuccess(){ok++;if(ok+fail==total)finish()};putRequest.onerror=function putRequest_onerror(){fail++;if(ok+fail==total)finish()}}));transaction.onerror=onerror};openRequest.onerror=onerror}),loadFilesFromDB:(function(paths,onload,onerror){onload=onload||(function(){});onerror=onerror||(function(){});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach((function(path){var getRequest=files.get(path);getRequest.onsuccess=function getRequest_onsuccess(){if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=function getRequest_onerror(){fail++;if(ok+fail==total)finish()}}));transaction.onerror=onerror};openRequest.onerror=onerror})};var SYSCALLS={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:(function(dirfd,path){if(path[0]!=="/"){var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=FS.getStream(dirfd);if(!dirstream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);dir=dirstream.path}path=PATH.join2(dir,path)}return path}),doStat:(function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-ERRNO_CODES.ENOTDIR}throw e}HEAP32[buf>>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<iovcnt;i++){var ptr=HEAP32[iov+i*8>>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<len)break}return ret}),doWritev:(function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>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 ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){var stream=FS.getStream(info.fd);SYSCALLS.doMsync(addr,stream,len,info.flags);FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___cxa_allocate_exception(size){return _malloc(size)}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 __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap["buffer"],data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return(function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])});case 3:return(function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])});default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":(function(value){return value}),"toWireType":(function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}return value}),"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}var _environ=STATICTOP;STATICTOP+=16;function ___buildEnvironment(env){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]=ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]="C";ENV["_"]=Module["thisProgram"];poolPtr=allocate(TOTAL_ENV_SIZE,"i8",ALLOC_STATIC);envPtr=allocate(MAX_ENV_VALUES*4,"i8*",ALLOC_STATIC);HEAP32[envPtr>>2]=poolPtr;HEAP32[_environ>>2]=envPtr}else{envPtr=HEAP32[_environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in env){if(typeof env[key]==="string"){var line=key+"="+env[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i<strings.length;i++){var line=strings[i];writeAsciiToMemory(line,poolPtr);HEAP32[envPtr+i*ptrSize>>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 ___map_file(pathname,size){___setErrNo(ERRNO_CODES.EPERM);return-1}function ___cxa_begin_catch(ptr){var info=EXCEPTIONS.infos[ptr];if(info&&!info.caught){info.caught=true;__ZSt18uncaught_exceptionv.uncaught_exception--}if(info)info.rethrown=false;EXCEPTIONS.caught.push(ptr);EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));return ptr}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}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}}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 ___gxx_personality_v0(){}function _pthread_cond_wait(){return 0}function heap32VectorToArray(count,firstElement){var array=[];for(var i=0;i<count;i++){array.push(HEAP32[(firstElement>>2)+i])}return array}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function __embind_register_class_constructor(rawClassType,argCount,rawArgTypesAddr,invokerSignature,invoker,rawConstructor){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);invoker=requireFunction(invokerSignature,invoker);whenDependentTypesAreResolved([],[rawClassType],(function(classType){classType=classType[0];var humanName="constructor "+classType.name;if(undefined===classType.registeredClass.constructor_body){classType.registeredClass.constructor_body=[]}if(undefined!==classType.registeredClass.constructor_body[argCount-1]){throw new BindingError("Cannot register multiple constructors with identical number of parameters ("+(argCount-1)+") for class '"+classType.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!")}classType.registeredClass.constructor_body[argCount-1]=function unboundTypeHandler(){throwUnboundTypeError("Cannot construct "+classType.name+" due to unbound types",rawArgTypes)};whenDependentTypesAreResolved([],rawArgTypes,(function(argTypes){classType.registeredClass.constructor_body[argCount-1]=function constructor_body(){if(arguments.length!==argCount-1){throwBindingError(humanName+" called with "+arguments.length+" arguments, expected "+(argCount-1))}var destructors=[];var args=new Array(argCount);args[0]=rawConstructor;for(var i=1;i<argCount;++i){args[i]=argTypes[i]["toWireType"](destructors,arguments[i-1])}var ptr=invoker.apply(null,args);runDestructors(destructors);return argTypes[0]["fromWireType"](ptr)};return[]}));return[]}))}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 __emval_incref(handle){if(handle>4){emval_handle_array[handle].refcount+=1}}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 new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",(function(){}));dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var argsList="";var argsListWired="";for(var i=0;i<argCount-2;++i){argsList+=(i!==0?", ":"")+"arg"+i;argsListWired+=(i!==0?", ":"")+"arg"+i+"Wired"}var invokerFnBody="return function "+makeLegalFunctionName(humanName)+"("+argsList+") {\n"+"if (arguments.length !== "+(argCount-2)+") {\n"+"throwBindingError('function "+humanName+" called with ' + arguments.length + ' arguments, expected "+(argCount-2)+" args!');\n"+"}\n";var needsDestructorStack=false;for(var i=1;i<argTypes.length;++i){if(argTypes[i]!==null&&argTypes[i].destructorFunction===undefined){needsDestructorStack=true;break}}if(needsDestructorStack){invokerFnBody+="var destructors = [];\n"}var dtorStack=needsDestructorStack?"destructors":"null";var args1=["throwBindingError","invoker","fn","runDestructors","retType","classParam"];var args2=[throwBindingError,cppInvokerFunc,cppTargetFunc,runDestructors,argTypes[0],argTypes[1]];if(isClassMethodFunc){invokerFnBody+="var thisWired = classParam.toWireType("+dtorStack+", this);\n"}for(var i=0;i<argCount-2;++i){invokerFnBody+="var arg"+i+"Wired = argType"+i+".toWireType("+dtorStack+", arg"+i+"); // "+argTypes[i+2].name+"\n";args1.push("argType"+i);args2.push(argTypes[i+2])}if(isClassMethodFunc){argsListWired="thisWired"+(argsListWired.length>0?", ":"")+argsListWired}var returns=argTypes[0].name!=="void";invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i<argTypes.length;++i){var paramName=i===1?"thisWired":"arg"+(i-2)+"Wired";if(argTypes[i].destructorFunction!==null){invokerFnBody+=paramName+"_dtor("+paramName+"); // "+argTypes[i].name+"\n";args1.push(paramName+"_dtor");args2.push(argTypes[i].destructorFunction)}}}if(returns){invokerFnBody+="var ret = retType.fromWireType(rv);\n"+"return ret;\n"}else{}invokerFnBody+="}\n";args1.push(invokerFnBody);var invokerFunction=new_(Function,args1).apply(null,args2);return invokerFunction}function __embind_register_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,context,isPureVirtual){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],(function(classType){classType=classType[0];var humanName=classType.name+"."+methodName;if(isPureVirtual){classType.registeredClass.pureVirtualFunctions.push(methodName)}function unboundTypesHandler(){throwUnboundTypeError("Cannot call "+humanName+" due to unbound types",rawArgTypes)}var proto=classType.registeredClass.instancePrototype;var method=proto[methodName];if(undefined===method||undefined===method.overloadTable&&method.className!==classType.name&&method.argCount===argCount-2){unboundTypesHandler.argCount=argCount-2;unboundTypesHandler.className=classType.name;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-2]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,(function(argTypes){var memberFunction=craftInvokerFunction(humanName,argTypes,classType,rawInvoker,context);if(undefined===proto[methodName].overloadTable){memberFunction.argCount=argCount-2;proto[methodName]=memberFunction}else{proto[methodName].overloadTable[argCount-2]=memberFunction}return[]}));return[]}))}var ___dso_handle=STATICTOP;STATICTOP+=16;embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_ClassHandle();init_RegisteredPointer();init_embind();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");init_emval();FS.staticInit();__ATINIT__.unshift((function(){if(!Module["noFSInit"]&&!FS.init.initialized)FS.init()}));__ATMAIN__.push((function(){FS.ignorePermissions=false}));__ATEXIT__.push((function(){FS.quit()}));Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;__ATINIT__.unshift((function(){TTY.init()}));__ATEXIT__.push((function(){TTY.shutdown()}));if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}___buildEnvironment(ENV);DYNAMICTOP_PTR=allocate(1,"i32",ALLOC_STATIC);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;function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){try{return Module["dynCall_iiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){try{Module["dynCall_viiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiid(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiid"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_i(index){try{return Module["dynCall_i"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vii(index,a1,a2){try{Module["dynCall_vii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiid(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiid"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viid(index,a1,a2,a3){try{Module["dynCall_viid"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiid(index,a1,a2,a3,a4){try{Module["dynCall_viiid"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viii(index,a1,a2,a3){try{Module["dynCall_viii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_v(index){try{Module["dynCall_v"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){try{return Module["dynCall_iiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiid(index,a1,a2,a3,a4){try{return Module["dynCall_iiiid"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}Module.asmGlobalArg={"Math":Math,"Int8Array":Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Uint16Array,"Uint32Array":Uint32Array,"Float32Array":Float32Array,"Float64Array":Float64Array,"NaN":NaN,"Infinity":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"enlargeMemory":enlargeMemory,"getTotalMemory":getTotalMemory,"abortOnCannotGrowMemory":abortOnCannotGrowMemory,"invoke_iiiiiiii":invoke_iiiiiiii,"invoke_iiiii":invoke_iiiii,"invoke_viiiiii":invoke_viiiiii,"invoke_viiiii":invoke_viiiii,"invoke_iiiiiid":invoke_iiiiiid,"invoke_i":invoke_i,"invoke_vi":invoke_vi,"invoke_vii":invoke_vii,"invoke_iiiiiii":invoke_iiiiiii,"invoke_iiiiid":invoke_iiiiid,"invoke_ii":invoke_ii,"invoke_viid":invoke_viid,"invoke_viiid":invoke_viiid,"invoke_iiii":invoke_iiii,"invoke_viii":invoke_viii,"invoke_v":invoke_v,"invoke_iiiiiiiii":invoke_iiiiiiiii,"invoke_viiii":invoke_viiii,"invoke_iii":invoke_iii,"invoke_iiiid":invoke_iiiid,"invoke_iiiiii":invoke_iiiiii,"floatReadValueFromPointer":floatReadValueFromPointer,"simpleReadValueFromPointer":simpleReadValueFromPointer,"throwInternalError":throwInternalError,"get_first_emval":get_first_emval,"getLiveInheritedInstances":getLiveInheritedInstances,"___assert_fail":___assert_fail,"__ZSt18uncaught_exceptionv":__ZSt18uncaught_exceptionv,"ClassHandle":ClassHandle,"getShiftFromSize":getShiftFromSize,"__addDays":__addDays,"___cxa_begin_catch":___cxa_begin_catch,"_emscripten_memcpy_big":_emscripten_memcpy_big,"runDestructor":runDestructor,"throwInstanceAlreadyDeleted":throwInstanceAlreadyDeleted,"__embind_register_std_string":__embind_register_std_string,"init_RegisteredPointer":init_RegisteredPointer,"ClassHandle_isAliasOf":ClassHandle_isAliasOf,"flushPendingDeletes":flushPendingDeletes,"makeClassHandle":makeClassHandle,"whenDependentTypesAreResolved":whenDependentTypesAreResolved,"__embind_register_class_constructor":__embind_register_class_constructor,"___cxa_atexit":___cxa_atexit,"init_ClassHandle":init_ClassHandle,"___syscall140":___syscall140,"ClassHandle_clone":ClassHandle_clone,"___syscall146":___syscall146,"RegisteredClass":RegisteredClass,"___cxa_find_matching_catch":___cxa_find_matching_catch,"embind_init_charCodes":embind_init_charCodes,"___setErrNo":___setErrNo,"__embind_register_bool":__embind_register_bool,"___resumeException":___resumeException,"createNamedFunction":createNamedFunction,"___syscall91":___syscall91,"__emval_take_value":__emval_take_value,"__emval_decref":__emval_decref,"_pthread_once":_pthread_once,"__embind_register_class":__embind_register_class,"constNoSmartPtrRawPointerToWireType":constNoSmartPtrRawPointerToWireType,"heap32VectorToArray":heap32VectorToArray,"ClassHandle_delete":ClassHandle_delete,"RegisteredPointer_destructor":RegisteredPointer_destructor,"___syscall6":___syscall6,"ensureOverloadTable":ensureOverloadTable,"__embind_register_emval":__embind_register_emval,"new_":new_,"downcastPointer":downcastPointer,"replacePublicSymbol":replacePublicSymbol,"init_embind":init_embind,"ClassHandle_deleteLater":ClassHandle_deleteLater,"integerReadValueFromPointer":integerReadValueFromPointer,"RegisteredPointer_deleteObject":RegisteredPointer_deleteObject,"ClassHandle_isDeleted":ClassHandle_isDeleted,"__embind_register_integer":__embind_register_integer,"___cxa_allocate_exception":___cxa_allocate_exception,"___buildEnvironment":___buildEnvironment,"__isLeapYear":__isLeapYear,"_embind_repr":_embind_repr,"_pthread_getspecific":_pthread_getspecific,"throwUnboundTypeError":throwUnboundTypeError,"craftInvokerFunction":craftInvokerFunction,"_getenv":_getenv,"runDestructors":runDestructors,"requireRegisteredType":requireRegisteredType,"makeLegalFunctionName":makeLegalFunctionName,"_pthread_key_create":_pthread_key_create,"upcastPointer":upcastPointer,"init_emval":init_emval,"shallowCopyInternalPointer":shallowCopyInternalPointer,"nonConstNoSmartPtrRawPointerToWireType":nonConstNoSmartPtrRawPointerToWireType,"_abort":_abort,"throwBindingError":throwBindingError,"getTypeName":getTypeName,"exposePublicSymbol":exposePublicSymbol,"RegisteredPointer_fromWireType":RegisteredPointer_fromWireType,"_strftime":_strftime,"_pthread_cond_wait":_pthread_cond_wait,"___lock":___lock,"__embind_register_memory_view":__embind_register_memory_view,"getInheritedInstance":getInheritedInstance,"setDelayFunction":setDelayFunction,"___gxx_personality_v0":___gxx_personality_v0,"extendError":extendError,"__embind_register_void":__embind_register_void,"_strftime_l":_strftime_l,"RegisteredPointer_getPointee":RegisteredPointer_getPointee,"__emval_register":__emval_register,"__embind_register_std_wstring":__embind_register_std_wstring,"__embind_register_class_function":__embind_register_class_function,"__emval_incref":__emval_incref,"RegisteredPointer":RegisteredPointer,"__arraySum":__arraySum,"readLatin1String":readLatin1String,"getBasestPointer":getBasestPointer,"getInheritedInstanceCount":getInheritedInstanceCount,"__embind_register_float":__embind_register_float,"___syscall54":___syscall54,"___unlock":___unlock,"_pthread_setspecific":_pthread_setspecific,"genericPointerToWireType":genericPointerToWireType,"registerType":registerType,"___cxa_throw":___cxa_throw,"count_emval_handles":count_emval_handles,"requireFunction":requireFunction,"_atexit":_atexit,"___map_file":___map_file,"DYNAMICTOP_PTR":DYNAMICTOP_PTR,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"cttz_i8":cttz_i8,"___dso_handle":___dso_handle};// EMSCRIPTEN_START_ASM
var asm=(function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=env.cttz_i8|0;var o=env.___dso_handle|0;var p=0;var q=0;var r=0;var s=0;var t=global.NaN,u=global.Infinity;var v=0,w=0,x=0,y=0,z=0.0;var A=0;var B=global.Math.floor;var C=global.Math.abs;var D=global.Math.sqrt;var E=global.Math.pow;var F=global.Math.cos;var G=global.Math.sin;var H=global.Math.tan;var I=global.Math.acos;var J=global.Math.asin;var K=global.Math.atan;var L=global.Math.atan2;var M=global.Math.exp;var N=global.Math.log;var O=global.Math.ceil;var P=global.Math.imul;var Q=global.Math.min;var R=global.Math.max;var S=global.Math.clz32;var T=env.abort;var U=env.assert;var V=env.enlargeMemory;var W=env.getTotalMemory;var X=env.abortOnCannotGrowMemory;var Y=env.invoke_iiiiiiii;var Z=env.invoke_iiiii;var _=env.invoke_viiiiii;var $=env.invoke_viiiii;var aa=env.invoke_iiiiiid;var ba=env.invoke_i;var ca=env.invoke_vi;var da=env.invoke_vii;var ea=env.invoke_iiiiiii;var fa=env.invoke_iiiiid;var ga=env.invoke_ii;var ha=env.invoke_viid;var ia=env.invoke_viiid;var ja=env.invoke_iiii;var ka=env.invoke_viii;var la=env.invoke_v;var ma=env.invoke_iiiiiiiii;var na=env.invoke_viiii;var oa=env.invoke_iii;var pa=env.invoke_iiiid;var qa=env.invoke_iiiiii;var ra=env.floatReadValueFromPointer;var sa=env.simpleReadValueFromPointer;var ta=env.throwInternalError;var ua=env.get_first_emval;var va=env.getLiveInheritedInstances;var wa=env.___assert_fail;var xa=env.__ZSt18uncaught_exceptionv;var ya=env.ClassHandle;var za=env.getShiftFromSize;var Aa=env.__addDays;var Ba=env.___cxa_begin_catch;var Ca=env._emscripten_memcpy_big;var Da=env.runDestructor;var Ea=env.throwInstanceAlreadyDeleted;var Fa=env.__embind_register_std_string;var Ga=env.init_RegisteredPointer;var Ha=env.ClassHandle_isAliasOf;var Ia=env.flushPendingDeletes;var Ja=env.makeClassHandle;var Ka=env.whenDependentTypesAreResolved;var La=env.__embind_register_class_constructor;var Ma=env.___cxa_atexit;var Na=env.init_ClassHandle;var Oa=env.___syscall140;var Pa=env.ClassHandle_clone;var Qa=env.___syscall146;var Ra=env.RegisteredClass;var Sa=env.___cxa_find_matching_catch;var Ta=env.embind_init_charCodes;var Ua=env.___setErrNo;var Va=env.__embind_register_bool;var Wa=env.___resumeException;var Xa=env.createNamedFunction;var Ya=env.___syscall91;var Za=env.__emval_take_value;var _a=env.__emval_decref;var $a=env._pthread_once;var ab=env.__embind_register_class;var bb=env.constNoSmartPtrRawPointerToWireType;var cb=env.heap32VectorToArray;var db=env.ClassHandle_delete;var eb=env.RegisteredPointer_destructor;var fb=env.___syscall6;var gb=env.ensureOverloadTable;var hb=env.__embind_register_emval;var ib=env.new_;var jb=env.downcastPointer;var kb=env.replacePublicSymbol;var lb=env.init_embind;var mb=env.ClassHandle_deleteLater;var nb=env.integerReadValueFromPointer;var ob=env.RegisteredPointer_deleteObject;var pb=env.ClassHandle_isDeleted;var qb=env.__embind_register_integer;var rb=env.___cxa_allocate_exception;var sb=env.___buildEnvironment;var tb=env.__isLeapYear;var ub=env._embind_repr;var vb=env._pthread_getspecific;var wb=env.throwUnboundTypeError;var xb=env.craftInvokerFunction;var yb=env._getenv;var zb=env.runDestructors;var Ab=env.requireRegisteredType;var Bb=env.makeLegalFunctionName;var Cb=env._pthread_key_create;var Db=env.upcastPointer;var Eb=env.init_emval;var Fb=env.shallowCopyInternalPointer;var Gb=env.nonConstNoSmartPtrRawPointerToWireType;var Hb=env._abort;var Ib=env.throwBindingError;var Jb=env.getTypeName;var Kb=env.exposePublicSymbol;var Lb=env.RegisteredPointer_fromWireType;var Mb=env._strftime;var Nb=env._pthread_cond_wait;var Ob=env.___lock;var Pb=env.__embind_register_memory_view;var Qb=env.getInheritedInstance;var Rb=env.setDelayFunction;var Sb=env.___gxx_personality_v0;var Tb=env.extendError;var Ub=env.__embind_register_void;var Vb=env._strftime_l;var Wb=env.RegisteredPointer_getPointee;var Xb=env.__emval_register;var Yb=env.__embind_register_std_wstring;var Zb=env.__embind_register_class_function;var _b=env.__emval_incref;var $b=env.RegisteredPointer;var ac=env.__arraySum;var bc=env.readLatin1String;var cc=env.getBasestPointer;var dc=env.getInheritedInstanceCount;var ec=env.__embind_register_float;var fc=env.___syscall54;var gc=env.___unlock;var hc=env._pthread_setspecific;var ic=env.genericPointerToWireType;var jc=env.registerType;var kc=env.___cxa_throw;var lc=env.count_emval_handles;var mc=env.requireFunction;var nc=env._atexit;var oc=env.___map_file;var pc=0.0;
// EMSCRIPTEN_START_FUNCS
function po(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,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+224|0;s=C+198|0;t=C+196|0;A=C+184|0;B=C+172|0;u=C+168|0;v=C+8|0;w=C+4|0;x=C;y=io(g)|0;jo(A,g,s,t);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[B+(d<<2)>>2]=0;d=d+1|0}q=B+11|0;r=B+8|0;if((a[q>>0]|0)<0)d=(c[r>>2]&2147483647)+-1|0;else d=10;tw(B,d,0);d=(a[q>>0]|0)<0?c[B>>2]|0:B;c[u>>2]=d;c[w>>2]=v;c[x>>2]=0;p=B+4|0;k=c[e>>2]|0;j=k;a:while(1){if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else g=ie(a[g>>0]|0)|0;if(je(g,$d()|0)|0){c[e>>2]=0;o=0;k=0;m=1}else{o=j;m=0}}else{o=0;k=0;m=1}j=c[f>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else g=ie(a[g>>0]|0)|0;if(!(je(g,$d()|0)|0))if(m)break;else break a;else{c[f>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(m){j=0;break}else j=0}g=a[q>>0]|0;g=g<<24>>24<0?c[p>>2]|0:g&255;if((c[u>>2]|0)==(d+g|0)){tw(B,g<<1,0);if((a[q>>0]|0)<0)d=(c[r>>2]&2147483647)+-1|0;else d=10;tw(B,d,0);d=(a[q>>0]|0)<0?c[B>>2]|0:B;c[u>>2]=d+g}m=o+12|0;g=c[m>>2]|0;n=o+16|0;if((g|0)==(c[n>>2]|0))g=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else g=ie(a[g>>0]|0)|0;if(Qn(g&255,y,d,u,x,a[t>>0]|0,A,v,w,s)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;j=o;continue}else{c[m>>2]=g+1;ie(a[g>>0]|0)|0;j=o;continue}}t=a[A+11>>0]|0;if((t<<24>>24<0?c[A+4>>2]|0:t&255)|0?(z=c[w>>2]|0,(z-v|0)<160):0){x=c[x>>2]|0;c[w>>2]=z+4;c[z>>2]=x}b[i>>1]=qo(d,c[u>>2]|0,h,y)|0;bo(A,v,c[w>>2]|0,h);if(o){d=c[o+12>>2]|0;if((d|0)==(c[o+16>>2]|0))d=Ac[c[(c[k>>2]|0)+36>>2]&63](o)|0;else d=ie(a[d>>0]|0)|0;if(je(d,$d()|0)|0){c[e>>2]=0;g=1}else g=0}else g=1;do if(j){d=c[j+12>>2]|0;if((d|0)==(c[j+16>>2]|0))d=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else d=ie(a[d>>0]|0)|0;if(!(je(d,$d()|0)|0))if(g)break;else{D=49;break}else{c[f>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?g:0)D=49;if((D|0)==49)c[h>>2]=c[h>>2]|2;D=c[e>>2]|0;mw(B);mw(A);l=C;return D|0}function qo(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;j=l;l=l+16|0;h=j;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}i=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;b=jm(b,h,f,Rn()|0)|0;f=A;g=c[(ek()|0)>>2]|0;if(!g)c[(ek()|0)>>2]=i;do if((c[h>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>65535|(g|0)==34){c[e>>2]=4;b=-1;break}else{b=b&65535;break}else{c[e>>2]=4;b=0}while(0)}while(0);l=j;return b|0}function ro(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,C=0,D=0;C=l;l=l+224|0;r=C+198|0;s=C+196|0;z=C+184|0;B=C+172|0;t=C+168|0;u=C+8|0;v=C+4|0;w=C;x=io(f)|0;jo(z,f,r,s);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=B+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(k)break;else break a;else{c[e>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=ie(a[f>>0]|0)|0;if(Qn(f&255,x,b,t,w,a[s>>0]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+1;ie(a[f>>0]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}y=so(b,c[t>>2]|0,g,x)|0;c[h>>2]=y;c[h+4>>2]=A;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{D=49;break}else{c[e>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?f:0)D=49;if((D|0)==49)c[g>>2]=c[g>>2]|2;D=c[d>>2]|0;mw(B);mw(z);l=C;return D|0}function so(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;i=l;l=l+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;e=0;a=0}else{h=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;a=km(a,g,e,Rn()|0)|0;e=A;f=c[(ek()|0)>>2]|0;if(!f)c[(ek()|0)>>2]=h;if((c[g>>2]|0)==(b|0)){if((f|0)==34){c[d>>2]=4;e=(e|0)>0|(e|0)==0&a>>>0>0;a=e?-1:0;e=e?2147483647:-2147483648}}else{c[d>>2]=4;a=0;e=0}}A=e;l=i;return a|0}function to(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=l;l=l+224|0;r=B+198|0;s=B+196|0;z=B+184|0;A=B+172|0;t=B+168|0;u=B+8|0;v=B+4|0;w=B;x=io(f)|0;jo(z,f,r,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=A+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(k)break;else break a;else{c[e>>2]=0;C=19;break}}else C=19;while(0);if((C|0)==19){C=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(A,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=ie(a[f>>0]|0)|0;if(Qn(f&255,x,b,t,w,a[s>>0]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+1;ie(a[f>>0]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}c[h>>2]=uo(b,c[t>>2]|0,g,x)|0;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{C=49;break}else{c[e>>2]=0;C=47;break}}else C=47;while(0);if((C|0)==47?f:0)C=49;if((C|0)==49)c[g>>2]=c[g>>2]|2;C=c[d>>2]|0;mw(A);mw(z);l=B;return C|0}function uo(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;i=l;l=l+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;a=0}else{h=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;a=km(a,g,e,Rn()|0)|0;e=A;f=c[(ek()|0)>>2]|0;if(!f)c[(ek()|0)>>2]=h;a:do if((c[g>>2]|0)==(b|0)){do if((f|0)==34){c[d>>2]=4;if((e|0)>0|(e|0)==0&a>>>0>0){a=2147483647;break a}}else{if((e|0)<-1|(e|0)==-1&a>>>0<2147483648){c[d>>2]=4;break}if((e|0)>0|(e|0)==0&a>>>0>2147483647){c[d>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}else{c[d>>2]=4;a=0}while(0)}l=i;return a|0}function vo(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;y=l;l=l+112|0;k=y;m=(f-e|0)/12|0;if(m>>>0>100){k=Yj(m)|0;if(!k)ew();else{j=k;w=k}}else{j=k;w=0}o=e;p=j;k=0;while(1){if((o|0)==(f|0))break;n=a[o+11>>0]|0;if(n<<24>>24<0)n=c[o+4>>2]|0;else n=n&255;if(!n){a[p>>0]=2;m=m+-1|0;k=k+1|0}else a[p>>0]=1;o=o+12|0;p=p+1|0}v=0;t=k;a:while(1){k=c[b>>2]|0;do if(k){n=c[k+12>>2]|0;if((n|0)==(c[k+16>>2]|0))k=Ac[c[(c[k>>2]|0)+36>>2]&63](k)|0;else k=ie(a[n>>0]|0)|0;if(je(k,$d()|0)|0){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}else p=1;while(0);n=c[d>>2]|0;if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else k=ie(a[k>>0]|0)|0;if(je(k,$d()|0)|0){c[d>>2]=0;n=0;k=1}else k=0}else{n=0;k=1}o=c[b>>2]|0;if(!((m|0)!=0&(p^k)))break;k=c[o+12>>2]|0;if((k|0)==(c[o+16>>2]|0))k=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else k=ie(a[k>>0]|0)|0;k=k&255;if(!i)k=Ic[c[(c[g>>2]|0)+12>>2]&31](g,k)|0;u=v+1|0;r=e;q=0;s=j;while(1){if((r|0)==(f|0))break;do if((a[s>>0]|0)==1){o=r+11|0;if((a[o>>0]|0)<0)n=c[r>>2]|0;else n=r;n=a[n+v>>0]|0;if(!i)n=Ic[c[(c[g>>2]|0)+12>>2]&31](g,n)|0;p=m+-1|0;if(k<<24>>24!=n<<24>>24){a[s>>0]=0;n=q;o=t;m=p;break}n=a[o>>0]|0;if(n<<24>>24<0)n=c[r+4>>2]|0;else n=n&255;if((n|0)==(u|0)){a[s>>0]=2;n=1;o=t+1|0;m=p}else{n=1;o=t}}else{n=q;o=t}while(0);r=r+12|0;q=n;s=s+1|0;t=o}if(!q){v=u;continue}k=c[b>>2]|0;n=k+12|0;o=c[n>>2]|0;if((o|0)==(c[k+16>>2]|0))Ac[c[(c[k>>2]|0)+40>>2]&63](k)|0;else{c[n>>2]=o+1;ie(a[o>>0]|0)|0}if((t+m|0)>>>0>1){o=e;p=j;k=t}else{v=u;continue}while(1){if((o|0)==(f|0)){v=u;t=k;continue a}if((a[p>>0]|0)==2){n=a[o+11>>0]|0;if(n<<24>>24<0)n=c[o+4>>2]|0;else n=n&255;if((n|0)!=(u|0)){a[p>>0]=0;k=k+-1|0}}o=o+12|0;p=p+1|0}}do if(o){k=c[o+12>>2]|0;if((k|0)==(c[o+16>>2]|0))k=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else k=ie(a[k>>0]|0)|0;if(je(k,$d()|0)|0){c[b>>2]=0;m=1;break}else{m=(c[b>>2]|0)==0;break}}else m=1;while(0);do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else k=ie(a[k>>0]|0)|0;if(!(je(k,$d()|0)|0))if(m)break;else{x=77;break}else{c[d>>2]=0;x=41;break}}else x=41;while(0);if((x|0)==41)if(m)x=77;if((x|0)==77)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){x=81;break}if((a[j>>0]|0)==2)break;e=e+12|0;j=j+1|0}if((x|0)==81){c[h>>2]=c[h>>2]|4;e=f}Zj(w);l=y;return e|0}function wo(a){a=a|0;un(a);return}function xo(a){a=a|0;un(a);cw(a);return}function yo(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;p=l;l=l+48|0;i=p+40|0;o=p+16|0;j=p+8|0;k=p+12|0;m=p+4|0;n=p;if(!(c[f+4>>2]&1)){c[j>>2]=-1;n=c[(c[b>>2]|0)+16>>2]|0;c[k>>2]=c[d>>2];c[m>>2]=c[e>>2];c[o>>2]=c[k>>2];c[i>>2]=c[m>>2];c[d>>2]=yc[n&63](b,o,i,f,g,j)|0;switch(c[j>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}i=c[d>>2]|0}else{fn(i,f);m=On(i,21704)|0;Pn(i);fn(i,f);b=On(i,21712)|0;Pn(i);xc[c[(c[b>>2]|0)+24>>2]&63](o,b);xc[c[(c[b>>2]|0)+28>>2]&63](o+12|0,b);c[n>>2]=c[e>>2];b=o+24|0;c[i>>2]=c[n>>2];a[h>>0]=(Wo(d,i,o,b,m,g,1)|0)==(o|0)&1;i=c[d>>2]|0;do{b=b+-12|0;Aw(b)}while((b|0)!=(o|0))}l=p;return i|0}function zo(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Vo(a,j,i,e,f,g)|0;l=h;return g|0}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,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Uo(a,j,i,e,f,g)|0;l=h;return g|0}function Bo(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=To(a,j,i,e,f,g)|0;l=h;return g|0}function Co(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=So(a,j,i,e,f,g)|0;l=h;return g|0}function Do(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Ro(a,j,i,e,f,g)|0;l=h;return g|0}function Eo(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Po(a,j,i,e,f,g)|0;l=h;return g|0}function Fo(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Oo(a,j,i,e,f,g)|0;l=h;return g|0}function Go(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=No(a,j,i,e,f,g)|0;l=h;return g|0}function Ho(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Ko(a,j,i,e,f,g)|0;l=h;return g|0}function Io(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=l;l=l+320|0;w=z;u=z+208|0;x=z+192|0;y=z+180|0;v=z+176|0;r=z+16|0;s=z+8|0;t=z+4|0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}fn(y,f);b=On(y,21704)|0;rc[c[(c[b>>2]|0)+48>>2]&7](b,17528,17554,u)|0;Pn(y);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}q=y+11|0;p=y+8|0;if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tw(y,b,0);b=(a[q>>0]|0)<0?c[y>>2]|0:y;c[v>>2]=b;c[s>>2]=r;c[t>>2]=0;o=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=22;break}}else A=22;while(0);if((A|0)==22){A=0;if(k){i=0;break}else i=0}f=a[q>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){tw(y,f<<1,0);if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tw(y,b,0);b=(a[q>>0]|0)<0?c[y>>2]|0:y;c[v>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=Mm(c[f>>2]|0)|0;if(Jo(f,16,b,v,t,0,x,r,s,u)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+4;Mm(c[f>>2]|0)|0;i=n;continue}}tw(y,(c[v>>2]|0)-b|0,0);u=(a[q>>0]|0)<0?c[y>>2]|0:y;v=Rn()|0;c[w>>2]=h;if((Sn(u,v,17561,w)|0)!=1)c[g>>2]=4;if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{A=51;break}else{c[e>>2]=0;A=49;break}}else A=49;while(0);if((A|0)==49?f:0)A=51;if((A|0)==51)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;mw(y);mw(x);l=z;return A|0}function Jo(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(c[l+96>>2]|0)==(b|0);if(!m?(c[l+100>>2]|0)!=(b|0):0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i+11>>0]|0;if((b|0)==(h|0)?((n<<24>>24<0?c[i+4>>2]|0:n&255)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}f=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=f;c[g>>2]=0;m=0;break}i=l+104|0;h=0;while(1){m=l+(h<<2)|0;if((h|0)==26){m=i;break}if((c[m>>2]|0)==(b|0))break;else h=h+1|0}m=m-l|0;h=m>>2;if((m|0)>92)m=-1;else{i=17528+h|0;switch(d|0){case 10:case 8:{if((h|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=88){if(p){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[i>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[i>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function Ko(b,d,e,f,g,i){b=b|0;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,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=l;l=l+352|0;t=E+208|0;u=E+200|0;v=E+196|0;D=E+184|0;C=E+172|0;w=E+168|0;x=E+8|0;y=E+4|0;z=E;A=E+337|0;s=E+336|0;Lo(D,f,t,u,v);c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}q=C+11|0;r=C+8|0;if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b;c[y>>2]=x;c[z>>2]=0;a[A>>0]=1;a[s>>0]=69;p=C+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;o=0;k=0;m=1}else{o=j;m=0}}else{o=0;k=0;m=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(m)break;else break a;else{c[e>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(m){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[p>>2]|0:f&255;if((c[w>>2]|0)==(b+f|0)){tw(C,f<<1,0);if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b+f}m=o+12|0;f=c[m>>2]|0;n=o+16|0;if((f|0)==(c[n>>2]|0))f=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else f=Mm(c[f>>2]|0)|0;if(Mo(f,A,s,b,w,c[u>>2]|0,c[v>>2]|0,D,x,y,z,t)|0)break;f=c[m>>2]|0;if((f|0)==(c[n>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;j=o;continue}else{c[m>>2]=f+4;Mm(c[f>>2]|0)|0;j=o;continue}}v=a[D+11>>0]|0;if(!((a[A>>0]|0)==0?1:((v<<24>>24<0?c[D+4>>2]|0:v&255)|0)==0)?(B=c[y>>2]|0,(B-x|0)<160):0){A=c[z>>2]|0;c[y>>2]=B+4;c[B>>2]=A}h[i>>3]=+ao(b,c[w>>2]|0,g);bo(D,x,c[y>>2]|0,g);if(o){b=c[o+12>>2]|0;if((b|0)==(c[o+16>>2]|0))b=Ac[c[(c[k>>2]|0)+36>>2]&63](o)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{F=49;break}else{c[e>>2]=0;F=47;break}}else F=47;while(0);if((F|0)==47?f:0)F=49;if((F|0)==49)c[g>>2]=c[g>>2]|2;F=c[d>>2]|0;mw(C);mw(D);l=E;return F|0}function Lo(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=l;l=l+16|0;h=g;fn(h,b);b=On(h,21704)|0;rc[c[(c[b>>2]|0)+48>>2]&7](b,17528,17560,d)|0;d=On(h,21712)|0;c[e>>2]=Ac[c[(c[d>>2]|0)+12>>2]&63](d)|0;c[f>>2]=Ac[c[(c[d>>2]|0)+16>>2]&63](d)|0;xc[c[(c[d>>2]|0)+20>>2]&63](a,d);Pn(h);l=g;return}function Mo(b,d,e,f,g,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0;p=k;a:do if((b|0)==(h|0))if(a[d>>0]|0){a[d>>0]=0;e=c[g>>2]|0;c[g>>2]=e+1;a[e>>0]=46;g=a[j+11>>0]|0;if(((g<<24>>24<0?c[j+4>>2]|0:g&255)|0)!=0?(o=c[l>>2]|0,(o-p|0)<160):0){k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;k=0}else k=0}else k=-1;else{if((b|0)==(i|0)?(i=a[j+11>>0]|0,(i<<24>>24<0?c[j+4>>2]|0:i&255)|0):0){if(!(a[d>>0]|0)){k=-1;break}k=c[l>>2]|0;if((k-p|0)>=160){k=0;break}g=c[m>>2]|0;c[l>>2]=k+4;c[k>>2]=g;c[m>>2]=0;k=0;break}h=n+128|0;o=0;while(1){k=n+(o<<2)|0;if((o|0)==32){k=h;break}if((c[k>>2]|0)==(b|0))break;else o=o+1|0}o=k-n|0;k=o>>2;if((o|0)<=124){h=a[17528+k>>0]|0;switch(k|0){case 24:case 25:{k=c[g>>2]|0;if((k|0)!=(f|0)?(a[k+-1>>0]&95)!=(a[e>>0]&127):0){k=-1;break a}c[g>>2]=k+1;a[k>>0]=h;k=0;break a}case 23:case 22:{a[e>>0]=80;break}default:{k=h&95;if((((k|0)==(a[e>>0]|0)?(a[e>>0]=k|128,a[d>>0]|0):0)?(a[d>>0]=0,e=a[j+11>>0]|0,(e<<24>>24<0?c[j+4>>2]|0:e&255)|0):0)?(q=c[l>>2]|0,(q-p|0)<160):0){e=c[m>>2]|0;c[l>>2]=q+4;c[q>>2]=e}}}l=c[g>>2]|0;c[g>>2]=l+1;a[l>>0]=h;if((o|0)>84)k=0;else{c[m>>2]=(c[m>>2]|0)+1;k=0}}else k=-1}while(0);return k|0}function No(b,d,e,f,g,i){b=b|0;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,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=l;l=l+352|0;t=E+208|0;u=E+200|0;v=E+196|0;D=E+184|0;C=E+172|0;w=E+168|0;x=E+8|0;y=E+4|0;z=E;A=E+337|0;s=E+336|0;Lo(D,f,t,u,v);c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}q=C+11|0;r=C+8|0;if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b;c[y>>2]=x;c[z>>2]=0;a[A>>0]=1;a[s>>0]=69;p=C+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;o=0;k=0;m=1}else{o=j;m=0}}else{o=0;k=0;m=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(m)break;else break a;else{c[e>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(m){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[p>>2]|0:f&255;if((c[w>>2]|0)==(b+f|0)){tw(C,f<<1,0);if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b+f}m=o+12|0;f=c[m>>2]|0;n=o+16|0;if((f|0)==(c[n>>2]|0))f=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else f=Mm(c[f>>2]|0)|0;if(Mo(f,A,s,b,w,c[u>>2]|0,c[v>>2]|0,D,x,y,z,t)|0)break;f=c[m>>2]|0;if((f|0)==(c[n>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;j=o;continue}else{c[m>>2]=f+4;Mm(c[f>>2]|0)|0;j=o;continue}}v=a[D+11>>0]|0;if(!((a[A>>0]|0)==0?1:((v<<24>>24<0?c[D+4>>2]|0:v&255)|0)==0)?(B=c[y>>2]|0,(B-x|0)<160):0){A=c[z>>2]|0;c[y>>2]=B+4;c[B>>2]=A}h[i>>3]=+eo(b,c[w>>2]|0,g);bo(D,x,c[y>>2]|0,g);if(o){b=c[o+12>>2]|0;if((b|0)==(c[o+16>>2]|0))b=Ac[c[(c[k>>2]|0)+36>>2]&63](o)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{F=49;break}else{c[e>>2]=0;F=47;break}}else F=47;while(0);if((F|0)==47?f:0)F=49;if((F|0)==49)c[g>>2]=c[g>>2]|2;F=c[d>>2]|0;mw(C);mw(D);l=E;return F|0}function Oo(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,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+352|0;t=E+208|0;u=E+200|0;v=E+196|0;D=E+184|0;C=E+172|0;w=E+168|0;x=E+8|0;y=E+4|0;z=E;A=E+337|0;s=E+336|0;Lo(D,f,t,u,v);c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}q=C+11|0;r=C+8|0;if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b;c[y>>2]=x;c[z>>2]=0;a[A>>0]=1;a[s>>0]=69;p=C+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;o=0;k=0;m=1}else{o=j;m=0}}else{o=0;k=0;m=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(m)break;else break a;else{c[e>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(m){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[p>>2]|0:f&255;if((c[w>>2]|0)==(b+f|0)){tw(C,f<<1,0);if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b+f}m=o+12|0;f=c[m>>2]|0;n=o+16|0;if((f|0)==(c[n>>2]|0))f=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else f=Mm(c[f>>2]|0)|0;if(Mo(f,A,s,b,w,c[u>>2]|0,c[v>>2]|0,D,x,y,z,t)|0)break;f=c[m>>2]|0;if((f|0)==(c[n>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;j=o;continue}else{c[m>>2]=f+4;Mm(c[f>>2]|0)|0;j=o;continue}}v=a[D+11>>0]|0;if(!((a[A>>0]|0)==0?1:((v<<24>>24<0?c[D+4>>2]|0:v&255)|0)==0)?(B=c[y>>2]|0,(B-x|0)<160):0){A=c[z>>2]|0;c[y>>2]=B+4;c[B>>2]=A}g[i>>2]=+go(b,c[w>>2]|0,h);bo(D,x,c[y>>2]|0,h);if(o){b=c[o+12>>2]|0;if((b|0)==(c[o+16>>2]|0))b=Ac[c[(c[k>>2]|0)+36>>2]&63](o)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{F=49;break}else{c[e>>2]=0;F=47;break}}else F=47;while(0);if((F|0)==47?f:0)F=49;if((F|0)==49)c[h>>2]=c[h>>2]|2;F=c[d>>2]|0;mw(C);mw(D);l=E;return F|0}function Po(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,C=0,D=0;C=l;l=l+304|0;r=C+200|0;s=C+196|0;z=C+184|0;B=C+172|0;t=C+168|0;u=C+8|0;v=C+4|0;w=C;x=io(f)|0;Qo(z,f,r,s);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=B+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(k)break;else break a;else{c[e>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=Mm(c[f>>2]|0)|0;if(Jo(f,x,b,t,w,c[s>>2]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+4;Mm(c[f>>2]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}y=ko(b,c[t>>2]|0,g,x)|0;c[h>>2]=y;c[h+4>>2]=A;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{D=49;break}else{c[e>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?f:0)D=49;if((D|0)==49)c[g>>2]=c[g>>2]|2;D=c[d>>2]|0;mw(B);mw(z);l=C;return D|0}function Qo(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;fn(g,b);b=On(g,21704)|0;rc[c[(c[b>>2]|0)+48>>2]&7](b,17528,17554,d)|0;d=On(g,21712)|0;c[e>>2]=Ac[c[(c[d>>2]|0)+16>>2]&63](d)|0;xc[c[(c[d>>2]|0)+20>>2]&63](a,d);Pn(g);l=f;return}function Ro(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=l;l=l+304|0;r=B+200|0;s=B+196|0;z=B+184|0;A=B+172|0;t=B+168|0;u=B+8|0;v=B+4|0;w=B;x=io(f)|0;Qo(z,f,r,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=A+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(k)break;else break a;else{c[e>>2]=0;C=19;break}}else C=19;while(0);if((C|0)==19){C=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(A,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=Mm(c[f>>2]|0)|0;if(Jo(f,x,b,t,w,c[s>>2]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+4;Mm(c[f>>2]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}c[h>>2]=mo(b,c[t>>2]|0,g,x)|0;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{C=49;break}else{c[e>>2]=0;C=47;break}}else C=47;while(0);if((C|0)==47?f:0)C=49;if((C|0)==49)c[g>>2]=c[g>>2]|2;C=c[d>>2]|0;mw(A);mw(z);l=B;return C|0}function So(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=l;l=l+304|0;r=B+200|0;s=B+196|0;z=B+184|0;A=B+172|0;t=B+168|0;u=B+8|0;v=B+4|0;w=B;x=io(f)|0;Qo(z,f,r,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=A+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(k)break;else break a;else{c[e>>2]=0;C=19;break}}else C=19;while(0);if((C|0)==19){C=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(A,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=Mm(c[f>>2]|0)|0;if(Jo(f,x,b,t,w,c[s>>2]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+4;Mm(c[f>>2]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}c[h>>2]=oo(b,c[t>>2]|0,g,x)|0;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{C=49;break}else{c[e>>2]=0;C=47;break}}else C=47;while(0);if((C|0)==47?f:0)C=49;if((C|0)==49)c[g>>2]=c[g>>2]|2;C=c[d>>2]|0;mw(A);mw(z);l=B;return C|0}function To(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,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+304|0;s=C+200|0;t=C+196|0;A=C+184|0;B=C+172|0;u=C+168|0;v=C+8|0;w=C+4|0;x=C;y=io(g)|0;Qo(A,g,s,t);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[B+(d<<2)>>2]=0;d=d+1|0}q=B+11|0;r=B+8|0;if((a[q>>0]|0)<0)d=(c[r>>2]&2147483647)+-1|0;else d=10;tw(B,d,0);d=(a[q>>0]|0)<0?c[B>>2]|0:B;c[u>>2]=d;c[w>>2]=v;c[x>>2]=0;p=B+4|0;k=c[e>>2]|0;j=k;a:while(1){if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else g=Mm(c[g>>2]|0)|0;if(gn(g,Lm()|0)|0){c[e>>2]=0;o=0;k=0;m=1}else{o=j;m=0}}else{o=0;k=0;m=1}j=c[f>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else g=Mm(c[g>>2]|0)|0;if(!(gn(g,Lm()|0)|0))if(m)break;else break a;else{c[f>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(m){j=0;break}else j=0}g=a[q>>0]|0;g=g<<24>>24<0?c[p>>2]|0:g&255;if((c[u>>2]|0)==(d+g|0)){tw(B,g<<1,0);if((a[q>>0]|0)<0)d=(c[r>>2]&2147483647)+-1|0;else d=10;tw(B,d,0);d=(a[q>>0]|0)<0?c[B>>2]|0:B;c[u>>2]=d+g}m=o+12|0;g=c[m>>2]|0;n=o+16|0;if((g|0)==(c[n>>2]|0))g=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else g=Mm(c[g>>2]|0)|0;if(Jo(g,y,d,u,x,c[t>>2]|0,A,v,w,s)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;j=o;continue}else{c[m>>2]=g+4;Mm(c[g>>2]|0)|0;j=o;continue}}t=a[A+11>>0]|0;if((t<<24>>24<0?c[A+4>>2]|0:t&255)|0?(z=c[w>>2]|0,(z-v|0)<160):0){x=c[x>>2]|0;c[w>>2]=z+4;c[z>>2]=x}b[i>>1]=qo(d,c[u>>2]|0,h,y)|0;bo(A,v,c[w>>2]|0,h);if(o){d=c[o+12>>2]|0;if((d|0)==(c[o+16>>2]|0))d=Ac[c[(c[k>>2]|0)+36>>2]&63](o)|0;else d=Mm(c[d>>2]|0)|0;if(gn(d,Lm()|0)|0){c[e>>2]=0;g=1}else g=0}else g=1;do if(j){d=c[j+12>>2]|0;if((d|0)==(c[j+16>>2]|0))d=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else d=Mm(c[d>>2]|0)|0;if(!(gn(d,Lm()|0)|0))if(g)break;else{D=49;break}else{c[f>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?g:0)D=49;if((D|0)==49)c[h>>2]=c[h>>2]|2;D=c[e>>2]|0;mw(B);mw(A);l=C;return D|0}function Uo(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,C=0,D=0;C=l;l=l+304|0;r=C+200|0;s=C+196|0;z=C+184|0;B=C+172|0;t=C+168|0;u=C+8|0;v=C+4|0;w=C;x=io(f)|0;Qo(z,f,r,s);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=B+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(k)break;else break a;else{c[e>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=Mm(c[f>>2]|0)|0;if(Jo(f,x,b,t,w,c[s>>2]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+4;Mm(c[f>>2]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}y=so(b,c[t>>2]|0,g,x)|0;c[h>>2]=y;c[h+4>>2]=A;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{D=49;break}else{c[e>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?f:0)D=49;if((D|0)==49)c[g>>2]=c[g>>2]|2;D=c[d>>2]|0;mw(B);mw(z);l=C;return D|0}function Vo(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=l;l=l+304|0;r=B+200|0;s=B+196|0;z=B+184|0;A=B+172|0;t=B+168|0;u=B+8|0;v=B+4|0;w=B;x=io(f)|0;Qo(z,f,r,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=A+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(gn(f,Lm()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(k)break;else break a;else{c[e>>2]=0;C=19;break}}else C=19;while(0);if((C|0)==19){C=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(A,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=Mm(c[f>>2]|0)|0;if(Jo(f,x,b,t,w,c[s>>2]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+4;Mm(c[f>>2]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}c[h>>2]=uo(b,c[t>>2]|0,g,x)|0;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=Mm(c[b>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(f)break;else{C=49;break}else{c[e>>2]=0;C=47;break}}else C=47;while(0);if((C|0)==47?f:0)C=49;if((C|0)==49)c[g>>2]=c[g>>2]|2;C=c[d>>2]|0;mw(A);mw(z);l=B;return C|0}function Wo(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;y=l;l=l+112|0;k=y;m=(f-e|0)/12|0;if(m>>>0>100){k=Yj(m)|0;if(!k)ew();else{j=k;w=k}}else{j=k;w=0}k=0;o=e;p=j;while(1){if((o|0)==(f|0))break;n=a[o+8+3>>0]|0;if(n<<24>>24<0)n=c[o+4>>2]|0;else n=n&255;if(!n){a[p>>0]=2;k=k+1|0;m=m+-1|0}else a[p>>0]=1;o=o+12|0;p=p+1|0}v=0;t=k;a:while(1){k=c[b>>2]|0;do if(k){n=c[k+12>>2]|0;if((n|0)==(c[k+16>>2]|0))k=Ac[c[(c[k>>2]|0)+36>>2]&63](k)|0;else k=Mm(c[n>>2]|0)|0;if(gn(k,Lm()|0)|0){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}else p=1;while(0);n=c[d>>2]|0;if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else k=Mm(c[k>>2]|0)|0;if(gn(k,Lm()|0)|0){c[d>>2]=0;n=0;k=1}else k=0}else{n=0;k=1}o=c[b>>2]|0;if(!((m|0)!=0&(p^k)))break;k=c[o+12>>2]|0;if((k|0)==(c[o+16>>2]|0))k=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else k=Mm(c[k>>2]|0)|0;if(!i)k=Ic[c[(c[g>>2]|0)+28>>2]&31](g,k)|0;u=v+1|0;r=e;q=0;s=j;while(1){if((r|0)==(f|0))break;do if((a[s>>0]|0)==1){o=r+8+3|0;if((a[o>>0]|0)<0)n=c[r>>2]|0;else n=r;n=c[n+(v<<2)>>2]|0;if(!i)n=Ic[c[(c[g>>2]|0)+28>>2]&31](g,n)|0;p=m+-1|0;if((k|0)!=(n|0)){a[s>>0]=0;n=q;o=t;m=p;break}n=a[o>>0]|0;if(n<<24>>24<0)n=c[r+4>>2]|0;else n=n&255;if((n|0)==(u|0)){a[s>>0]=2;n=1;o=t+1|0;m=p}else{n=1;o=t}}else{n=q;o=t}while(0);r=r+12|0;q=n;s=s+1|0;t=o}if(!q){v=u;continue}k=c[b>>2]|0;n=k+12|0;o=c[n>>2]|0;if((o|0)==(c[k+16>>2]|0))Ac[c[(c[k>>2]|0)+40>>2]&63](k)|0;else{c[n>>2]=o+4;Mm(c[o>>2]|0)|0}if((t+m|0)>>>0>1){o=e;p=j;k=t}else{v=u;continue}while(1){if((o|0)==(f|0)){v=u;t=k;continue a}if((a[p>>0]|0)==2){n=a[o+8+3>>0]|0;if(n<<24>>24<0)n=c[o+4>>2]|0;else n=n&255;if((n|0)!=(u|0)){a[p>>0]=0;k=k+-1|0}}o=o+12|0;p=p+1|0}}do if(o){k=c[o+12>>2]|0;if((k|0)==(c[o+16>>2]|0))k=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else k=Mm(c[k>>2]|0)|0;if(gn(k,Lm()|0)|0){c[b>>2]=0;m=1;break}else{m=(c[b>>2]|0)==0;break}}else m=1;while(0);do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else k=Mm(c[k>>2]|0)|0;if(!(gn(k,Lm()|0)|0))if(m)break;else{x=77;break}else{c[d>>2]=0;x=41;break}}else x=41;while(0);if((x|0)==41)if(m)x=77;if((x|0)==77)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){x=81;break}if((a[j>>0]|0)==2)break;e=e+12|0;j=j+1|0}if((x|0)==81){c[h>>2]=c[h>>2]|4;e=f}Zj(w);l=y;return e|0}function Xo(a){a=a|0;un(a);return}function Yo(a){a=a|0;un(a);cw(a);return}function Zo(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;m=l;l=l+16|0;k=m+4|0;h=m;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[k>>2]=c[h>>2];b=Kc[j&31](b,k,e,f,g&1)|0}else{fn(k,e);b=On(k,21688)|0;Pn(k);e=c[b>>2]|0;if(g)xc[c[e+24>>2]&63](k,b);else xc[c[e+28>>2]&63](k,b);i=k+11|0;b=a[i>>0]|0;if(b<<24>>24<0){e=b;b=c[k>>2]|0;j=8}else g=k;while(1){if((j|0)==8){g=b;b=e}j=b<<24>>24<0;if((g|0)==((j?c[k>>2]|0:k)+(j?c[k+4>>2]|0:b&255)|0))break;b=a[g>>0]|0;e=c[d>>2]|0;if(e|0){f=e+24|0;h=c[f>>2]|0;if((h|0)==(c[e+28>>2]|0)){j=c[(c[e>>2]|0)+52>>2]|0;b=ie(b)|0;b=Ic[j&31](e,b)|0}else{c[f>>2]=h+1;a[h>>0]=b;b=ie(b)|0}if(je(b,$d()|0)|0)c[d>>2]=0}e=a[i>>0]|0;b=g+1|0;j=8}b=c[d>>2]|0;mw(k)}l=m;return b|0}function _o(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;b=l;l=l+64|0;i=b;n=b+52|0;o=b+39|0;h=b+16|0;m=b+12|0;k=b+4|0;j=b+8|0;a[n>>0]=a[17782]|0;a[n+1>>0]=a[17783]|0;a[n+2>>0]=a[17784]|0;a[n+3>>0]=a[17785]|0;a[n+4>>0]=a[17786]|0;a[n+5>>0]=a[17787]|0;kp(n+1|0,17788,1,c[e+4>>2]|0);p=Rn()|0;c[i>>2]=g;g=o+(fp(o,13,p,n,i)|0)|0;n=gp(o,g,e)|0;fn(i,e);lp(o,n,g,h,m,k,i);Pn(i);c[j>>2]=c[d>>2];d=c[m>>2]|0;g=c[k>>2]|0;c[i>>2]=c[j>>2];g=pe(i,h,d,g,e,f)|0;l=b;return g|0}function $o(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,n=0,o=0,p=0,q=0;a=l;l=l+96|0;i=a+8|0;o=a;n=a+71|0;h=a+28|0;m=a+24|0;k=a+16|0;j=a+20|0;p=o;c[p>>2]=37;c[p+4>>2]=0;kp(o+1|0,17779,1,c[d+4>>2]|0);p=Rn()|0;q=i;c[q>>2]=f;c[q+4>>2]=g;f=n+(fp(n,23,p,o,i)|0)|0;g=gp(n,f,d)|0;fn(i,d);lp(n,g,f,h,m,k,i);Pn(i);c[j>>2]=c[b>>2];f=c[m>>2]|0;g=c[k>>2]|0;c[i>>2]=c[j>>2];g=pe(i,h,f,g,d,e)|0;l=a;return g|0}function ap(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;b=l;l=l+64|0;i=b;n=b+52|0;o=b+40|0;h=b+16|0;m=b+12|0;k=b+4|0;j=b+8|0;a[n>>0]=a[17782]|0;a[n+1>>0]=a[17783]|0;a[n+2>>0]=a[17784]|0;a[n+3>>0]=a[17785]|0;a[n+4>>0]=a[17786]|0;a[n+5>>0]=a[17787]|0;kp(n+1|0,17788,0,c[e+4>>2]|0);p=Rn()|0;c[i>>2]=g;g=o+(fp(o,12,p,n,i)|0)|0;n=gp(o,g,e)|0;fn(i,e);lp(o,n,g,h,m,k,i);Pn(i);c[j>>2]=c[d>>2];d=c[m>>2]|0;g=c[k>>2]|0;c[i>>2]=c[j>>2];g=pe(i,h,d,g,e,f)|0;l=b;return g|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 h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;a=l;l=l+96|0;i=a+8|0;o=a;n=a+71|0;h=a+28|0;m=a+24|0;k=a+16|0;j=a+20|0;p=o;c[p>>2]=37;c[p+4>>2]=0;kp(o+1|0,17779,0,c[d+4>>2]|0);p=Rn()|0;q=i;c[q>>2]=f;c[q+4>>2]=g;f=n+(fp(n,23,p,o,i)|0)|0;g=gp(n,f,d)|0;fn(i,d);lp(n,g,f,h,m,k,i);Pn(i);c[j>>2]=c[b>>2];f=c[m>>2]|0;g=c[k>>2]|0;c[i>>2]=c[j>>2];g=pe(i,h,f,g,d,e)|0;l=a;return g|0}function cp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;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;w=l;l=l+176|0;s=w+72|0;n=w+48|0;m=w+32|0;i=w+24|0;g=w+8|0;k=w;p=w+134|0;o=w+68|0;q=w+76|0;v=w+64|0;t=w+60|0;u=w+56|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=hp(k+1|0,24640,c[d+4>>2]|0)|0;c[o>>2]=p;a=Rn()|0;if(j){c[g>>2]=c[d+8>>2];h[g+8>>3]=f;a=fp(p,30,a,k,g)|0}else{h[i>>3]=f;a=fp(p,30,a,k,i)|0}if((a|0)>29){a=Rn()|0;if(j){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;g=ip(o,a,k,m)|0}else{h[n>>3]=f;g=ip(o,a,k,n)|0}a=c[o>>2]|0;if(!a)ew();else{r=g;z=a;A=a}}else{r=a;z=0;A=c[o>>2]|0}g=A+r|0;i=gp(A,g,d)|0;if((A|0)!=(p|0)){a=Yj(r<<1)|0;if(!a)ew();else{x=a;y=a}}else{x=q;y=0}fn(s,d);jp(A,i,g,x,v,t,s);Pn(s);c[u>>2]=c[b>>2];b=c[v>>2]|0;A=c[t>>2]|0;c[s>>2]=c[u>>2];A=pe(s,x,b,A,d,e)|0;Zj(y);Zj(z);l=w;return A|0}function dp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;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;w=l;l=l+176|0;s=w+72|0;n=w+48|0;m=w+32|0;i=w+24|0;g=w+8|0;k=w;p=w+134|0;o=w+68|0;q=w+76|0;v=w+64|0;t=w+60|0;u=w+56|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=hp(k+1|0,17777,c[d+4>>2]|0)|0;c[o>>2]=p;a=Rn()|0;if(j){c[g>>2]=c[d+8>>2];h[g+8>>3]=f;a=fp(p,30,a,k,g)|0}else{h[i>>3]=f;a=fp(p,30,a,k,i)|0}if((a|0)>29){a=Rn()|0;if(j){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;g=ip(o,a,k,m)|0}else{h[n>>3]=f;g=ip(o,a,k,n)|0}a=c[o>>2]|0;if(!a)ew();else{r=g;z=a;A=a}}else{r=a;z=0;A=c[o>>2]|0}g=A+r|0;i=gp(A,g,d)|0;if((A|0)!=(p|0)){a=Yj(r<<1)|0;if(!a)ew();else{x=a;y=a}}else{x=q;y=0}fn(s,d);jp(A,i,g,x,v,t,s);Pn(s);c[u>>2]=c[b>>2];b=c[v>>2]|0;A=c[t>>2]|0;c[s>>2]=c[u>>2];A=pe(s,x,b,A,d,e)|0;Zj(y);Zj(z);l=w;return A|0}function ep(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;b=l;l=l+80|0;m=b;k=b+68|0;h=b+48|0;j=b+8|0;n=b+4|0;a[k>>0]=a[17771]|0;a[k+1>>0]=a[17772]|0;a[k+2>>0]=a[17773]|0;a[k+3>>0]=a[17774]|0;a[k+4>>0]=a[17775]|0;a[k+5>>0]=a[17776]|0;i=Rn()|0;c[m>>2]=g;g=fp(h,20,i,k,m)|0;k=h+g|0;i=gp(h,k,e)|0;fn(m,e);o=On(m,21672)|0;Pn(m);rc[c[(c[o>>2]|0)+32>>2]&7](o,h,k,j)|0;g=j+g|0;c[n>>2]=c[d>>2];c[m>>2]=c[n>>2];g=pe(m,j,(i|0)==(k|0)?g:j+(i-h)|0,g,e,f)|0;l=b;return g|0}function fp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=l;l=l+16|0;h=g;c[h>>2]=f;f=Zl(d)|0;d=tk(a,b,e,h)|0;if(f|0)Zl(f)|0;l=g;return d|0}function gp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;a:do switch((c[e+4>>2]&176)<<24>>24){case 16:{e=a[b>>0]|0;f=b+1|0;switch(e<<24>>24){case 43:case 45:{b=f;break a}default:{}}if((d-b|0)>1&e<<24>>24==48){switch(a[f>>0]|0){case 88:case 120:break;default:{g=6;break a}}b=b+2|0}else g=6;break}case 32:{b=d;break}default:g=6}while(0);return b|0}function hp(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(d&2048){a[b>>0]=43;b=b+1|0}if(d&1024){a[b>>0]=35;b=b+1|0}h=d&260;e=(d&16384|0)!=0;f=(h|0)==260;if(f)g=0;else{a[b>>0]=46;a[b+1>>0]=42;g=1;b=b+2|0}while(1){d=a[c>>0]|0;if(!(d<<24>>24))break;a[b>>0]=d;c=c+1|0;b=b+1|0}a:do switch(h&511){case 4:{d=e?70:102;break}case 256:{d=e?69:101;break}default:if(f){d=e?65:97;break a}else{d=e?71:103;break a}}while(0);a[b>>0]=d;return g|0}function ip(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=Zl(b)|0;b=Gl(a,d,g)|0;if(e|0)Zl(e)|0;l=f;return b|0}function jp(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;w=l;l=l+16|0;t=w;u=On(i,21672)|0;s=On(i,21688)|0;xc[c[(c[s>>2]|0)+20>>2]&63](t,s);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{r=Ic[c[(c[u>>2]|0)+28>>2]&31](u,i)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=r;j=b+1|0;break}default:j=b}r=e;a:do if((r-j|0)>1?(a[j>>0]|0)==48:0){i=j+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:{i=j;v=10;break a}}p=Ic[c[(c[u>>2]|0)+28>>2]&31](u,48)|0;q=c[h>>2]|0;c[h>>2]=q+1;a[q>>0]=p;j=j+2|0;q=Ic[c[(c[u>>2]|0)+28>>2]&31](u,a[i>>0]|0)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=q;i=j;while(1){if(i>>>0>=e>>>0)break a;q=a[i>>0]|0;if(!(Sl(q,Rn()|0)|0))break a;i=i+1|0}}else{i=j;v=10}while(0);b:do if((v|0)==10)while(1){v=0;if(i>>>0>=e>>>0)break b;q=a[i>>0]|0;if(!(am(q,Rn()|0)|0))break b;i=i+1|0;v=10}while(0);n=t+11|0;m=a[n>>0]|0;o=t+4|0;p=j;q=b;c:do if((m<<24>>24<0?c[o>>2]|0:m&255)|0){d:do if((j|0)!=(i|0)){b=i;k=j;while(1){b=b+-1|0;if(k>>>0>=b>>>0)break d;m=a[k>>0]|0;a[k>>0]=a[b>>0]|0;a[b>>0]=m;k=k+1|0}}while(0);m=Ac[c[(c[s>>2]|0)+16>>2]&63](s)|0;k=0;b=0;while(1){if(j>>>0>=i>>>0)break;x=a[((a[n>>0]|0)<0?c[t>>2]|0:t)+b>>0]|0;if(x<<24>>24>0&(k|0)==(x<<24>>24|0)){k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=m;k=a[n>>0]|0;b=(b>>>0<((k<<24>>24<0?c[o>>2]|0:k&255)+-1|0)>>>0&1)+b|0;k=0}y=Ic[c[(c[u>>2]|0)+28>>2]&31](u,a[j>>0]|0)|0;x=c[h>>2]|0;c[h>>2]=x+1;a[x>>0]=y;j=j+1|0;k=k+1|0}b=f+(p-q)|0;j=c[h>>2]|0;if((b|0)==(j|0))b=u;else while(1){j=j+-1|0;if(b>>>0>=j>>>0){b=u;break c}y=a[b>>0]|0;a[b>>0]=a[j>>0]|0;a[j>>0]=y;b=b+1|0}}else{rc[c[(c[u>>2]|0)+32>>2]&7](u,j,i,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(i-p);b=u}while(0);while(1){if(i>>>0>=e>>>0)break;j=a[i>>0]|0;i=i+1|0;if(j<<24>>24==46){v=29;break}x=Ic[c[(c[b>>2]|0)+28>>2]&31](u,j)|0;y=c[h>>2]|0;c[h>>2]=y+1;a[y>>0]=x}if((v|0)==29){x=Ac[c[(c[s>>2]|0)+12>>2]&63](s)|0;y=c[h>>2]|0;c[h>>2]=y+1;a[y>>0]=x}rc[c[(c[u>>2]|0)+32>>2]&7](u,i,e,c[h>>2]|0)|0;y=(c[h>>2]|0)+(r-i)|0;c[h>>2]=y;c[g>>2]=(d|0)==(e|0)?y:f+(d-q)|0;mw(t);l=w;return}function kp(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(e&2048){a[b>>0]=43;b=b+1|0}if(!(e&512))f=b;else{a[b>>0]=35;f=b+1|0}while(1){b=a[c>>0]|0;if(!(b<<24>>24))break;a[f>>0]=b;c=c+1|0;f=f+1|0}switch(e&74){case 64:{b=111;break}case 8:{b=e&16384|0?88:120;break}default:b=d?100:117}a[f>>0]=b;return}function lp(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;s=l;l=l+16|0;r=s;p=On(i,21672)|0;k=On(i,21688)|0;xc[c[(c[k>>2]|0)+20>>2]&63](r,k);n=r+11|0;m=a[n>>0]|0;o=r+4|0;q=b;j=e;if((m<<24>>24<0?c[o>>2]|0:m&255)|0){c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{i=Ic[c[(c[p>>2]|0)+28>>2]&31](p,i)|0;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=i;b=b+1|0;break}default:{}}a:do if((j-b|0)>1?(a[b>>0]|0)==48:0){i=b+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:break a}m=Ic[c[(c[p>>2]|0)+28>>2]&31](p,48)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=m;j=Ic[c[(c[p>>2]|0)+28>>2]&31](p,a[i>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=j;b=b+2|0}while(0);b:do if((b|0)!=(e|0)){i=e;j=b;while(1){i=i+-1|0;if(j>>>0>=i>>>0)break b;m=a[j>>0]|0;a[j>>0]=a[i>>0]|0;a[i>>0]=m;j=j+1|0}}while(0);m=Ac[c[(c[k>>2]|0)+16>>2]&63](k)|0;k=b;i=0;j=0;while(1){if(k>>>0>=e>>>0)break;t=a[((a[n>>0]|0)<0?c[r>>2]|0:r)+i>>0]|0;if(t<<24>>24!=0&(j|0)==(t<<24>>24|0)){j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=m;j=a[n>>0]|0;i=(i>>>0<((j<<24>>24<0?c[o>>2]|0:j&255)+-1|0)>>>0&1)+i|0;j=0}u=Ic[c[(c[p>>2]|0)+28>>2]&31](p,a[k>>0]|0)|0;t=c[h>>2]|0;c[h>>2]=t+1;a[t>>0]=u;k=k+1|0;j=j+1|0}i=f+(b-q)|0;b=c[h>>2]|0;if((i|0)!=(b|0)){while(1){b=b+-1|0;if(i>>>0>=b>>>0)break;u=a[i>>0]|0;a[i>>0]=a[b>>0]|0;a[b>>0]=u;i=i+1|0}i=c[h>>2]|0}}else{rc[c[(c[p>>2]|0)+32>>2]&7](p,b,e,f)|0;i=f+(j-q)|0;c[h>>2]=i}c[g>>2]=(d|0)==(e|0)?i:f+(d-q)|0;mw(r);l=s;return}function mp(a){a=a|0;un(a);return}function np(a){a=a|0;un(a);cw(a);return}function op(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;m=l;l=l+16|0;k=m+4|0;h=m;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[k>>2]=c[h>>2];b=Kc[j&31](b,k,e,f,g&1)|0}else{fn(k,e);b=On(k,21712)|0;Pn(k);e=c[b>>2]|0;if(g)xc[c[e+24>>2]&63](k,b);else xc[c[e+28>>2]&63](k,b);i=k+8+3|0;b=a[i>>0]|0;e=c[k>>2]|0;j=k+4|0;g=b<<24>>24<0?e:k;while(1){h=b<<24>>24<0;if((g|0)==((h?e:k)+((h?c[j>>2]|0:b&255)<<2)|0))break;b=c[g>>2]|0;e=c[d>>2]|0;if(e|0){f=e+24|0;h=c[f>>2]|0;if((h|0)==(c[e+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;b=Mm(b)|0;b=Ic[h&31](e,b)|0}else{c[f>>2]=h+4;c[h>>2]=b;b=Mm(b)|0}if(gn(b,Lm()|0)|0)c[d>>2]=0}g=g+4|0;b=a[i>>0]|0;e=c[k>>2]|0}b=c[d>>2]|0;Aw(k)}l=m;return b|0}function pp(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;b=l;l=l+128|0;i=b;n=b+122|0;o=b+108|0;h=b+16|0;m=b+12|0;k=b+4|0;j=b+8|0;a[n>>0]=a[17782]|0;a[n+1>>0]=a[17783]|0;a[n+2>>0]=a[17784]|0;a[n+3>>0]=a[17785]|0;a[n+4>>0]=a[17786]|0;a[n+5>>0]=a[17787]|0;kp(n+1|0,17788,1,c[e+4>>2]|0);p=Rn()|0;c[i>>2]=g;g=o+(fp(o,13,p,n,i)|0)|0;n=gp(o,g,e)|0;fn(i,e);zp(o,n,g,h,m,k,i);Pn(i);c[j>>2]=c[d>>2];d=c[m>>2]|0;g=c[k>>2]|0;c[i>>2]=c[j>>2];g=wp(i,h,d,g,e,f)|0;l=b;return g|0}function qp(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,n=0,o=0,p=0,q=0;a=l;l=l+224|0;i=a+8|0;o=a;n=a+200|0;h=a+28|0;m=a+24|0;k=a+16|0;j=a+20|0;p=o;c[p>>2]=37;c[p+4>>2]=0;kp(o+1|0,17779,1,c[d+4>>2]|0);p=Rn()|0;q=i;c[q>>2]=f;c[q+4>>2]=g;f=n+(fp(n,23,p,o,i)|0)|0;g=gp(n,f,d)|0;fn(i,d);zp(n,g,f,h,m,k,i);Pn(i);c[j>>2]=c[b>>2];f=c[m>>2]|0;g=c[k>>2]|0;c[i>>2]=c[j>>2];g=wp(i,h,f,g,d,e)|0;l=a;return g|0}function rp(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;b=l;l=l+128|0;i=b;n=b+112|0;o=b+100|0;h=b+16|0;m=b+12|0;k=b+4|0;j=b+8|0;a[n>>0]=a[17782]|0;a[n+1>>0]=a[17783]|0;a[n+2>>0]=a[17784]|0;a[n+3>>0]=a[17785]|0;a[n+4>>0]=a[17786]|0;a[n+5>>0]=a[17787]|0;kp(n+1|0,17788,0,c[e+4>>2]|0);p=Rn()|0;c[i>>2]=g;g=o+(fp(o,12,p,n,i)|0)|0;n=gp(o,g,e)|0;fn(i,e);zp(o,n,g,h,m,k,i);Pn(i);c[j>>2]=c[d>>2];d=c[m>>2]|0;g=c[k>>2]|0;c[i>>2]=c[j>>2];g=wp(i,h,d,g,e,f)|0;l=b;return g|0}function sp(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,n=0,o=0,p=0,q=0;a=l;l=l+224|0;i=a+8|0;o=a;n=a+200|0;h=a+28|0;m=a+24|0;k=a+16|0;j=a+20|0;p=o;c[p>>2]=37;c[p+4>>2]=0;kp(o+1|0,17779,0,c[d+4>>2]|0);p=Rn()|0;q=i;c[q>>2]=f;c[q+4>>2]=g;f=n+(fp(n,23,p,o,i)|0)|0;g=gp(n,f,d)|0;fn(i,d);zp(n,g,f,h,m,k,i);Pn(i);c[j>>2]=c[b>>2];f=c[m>>2]|0;g=c[k>>2]|0;c[i>>2]=c[j>>2];g=wp(i,h,f,g,d,e)|0;l=a;return g|0}function tp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;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;y=l;l=l+336|0;s=y+300|0;n=y+48|0;m=y+32|0;i=y+24|0;g=y+8|0;k=y;p=y+304|0;o=y+296|0;q=y+68|0;v=y+64|0;t=y+60|0;u=y+56|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=hp(k+1|0,24640,c[d+4>>2]|0)|0;c[o>>2]=p;a=Rn()|0;if(j){c[g>>2]=c[d+8>>2];h[g+8>>3]=f;a=fp(p,30,a,k,g)|0}else{h[i>>3]=f;a=fp(p,30,a,k,i)|0}if((a|0)>29){a=Rn()|0;if(j){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;g=ip(o,a,k,m)|0}else{h[n>>3]=f;g=ip(o,a,k,n)|0}a=c[o>>2]|0;if(!a)ew();else{r=g;A=a;x=a}}else{r=a;A=0;x=c[o>>2]|0}g=x+r|0;i=gp(x,g,d)|0;do if((x|0)!=(p|0)){a=Yj(r<<3)|0;if(!a)ew();else{w=a;z=0;B=a;break}}else{w=q;z=1;B=0}while(0);fn(s,d);yp(x,i,g,w,v,t,s);Pn(s);c[u>>2]=c[b>>2];x=c[v>>2]|0;a=c[t>>2]|0;c[s>>2]=c[u>>2];a=wp(s,w,x,a,d,e)|0;c[b>>2]=a;if(!z)Zj(B);Zj(A);l=y;return a|0}function up(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;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;y=l;l=l+336|0;s=y+300|0;n=y+48|0;m=y+32|0;i=y+24|0;g=y+8|0;k=y;p=y+304|0;o=y+296|0;q=y+68|0;v=y+64|0;t=y+60|0;u=y+56|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=hp(k+1|0,17777,c[d+4>>2]|0)|0;c[o>>2]=p;a=Rn()|0;if(j){c[g>>2]=c[d+8>>2];h[g+8>>3]=f;a=fp(p,30,a,k,g)|0}else{h[i>>3]=f;a=fp(p,30,a,k,i)|0}if((a|0)>29){a=Rn()|0;if(j){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;g=ip(o,a,k,m)|0}else{h[n>>3]=f;g=ip(o,a,k,n)|0}a=c[o>>2]|0;if(!a)ew();else{r=g;A=a;x=a}}else{r=a;A=0;x=c[o>>2]|0}g=x+r|0;i=gp(x,g,d)|0;do if((x|0)!=(p|0)){a=Yj(r<<3)|0;if(!a)ew();else{w=a;z=0;B=a;break}}else{w=q;z=1;B=0}while(0);fn(s,d);yp(x,i,g,w,v,t,s);Pn(s);c[u>>2]=c[b>>2];x=c[v>>2]|0;a=c[t>>2]|0;c[s>>2]=c[u>>2];a=wp(s,w,x,a,d,e)|0;c[b>>2]=a;if(!z)Zj(B);Zj(A);l=y;return a|0}function vp(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;b=l;l=l+192|0;m=b;k=b+176|0;h=b+156|0;j=b+4|0;n=b+152|0;a[k>>0]=a[17771]|0;a[k+1>>0]=a[17772]|0;a[k+2>>0]=a[17773]|0;a[k+3>>0]=a[17774]|0;a[k+4>>0]=a[17775]|0;a[k+5>>0]=a[17776]|0;i=Rn()|0;c[m>>2]=g;g=fp(h,20,i,k,m)|0;k=h+g|0;i=gp(h,k,e)|0;fn(m,e);o=On(m,21704)|0;Pn(m);rc[c[(c[o>>2]|0)+48>>2]&7](o,h,k,j)|0;g=j+(g<<2)|0;c[n>>2]=c[d>>2];c[m>>2]=c[n>>2];g=wp(m,j,(i|0)==(k|0)?g:j+(i-h<<2)|0,g,e,f)|0;l=b;return g|0}function wp(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,s=0,t=0;s=l;l=l+16|0;q=s+12|0;r=s;i=c[b>>2]|0;a:do if(!i)i=0;else{t=d;j=f-t>>2;m=g+12|0;k=c[m>>2]|0;j=(k|0)>(j|0)?k-j|0:0;k=e;t=k-t|0;g=t>>2;if((t|0)>0?(Dc[c[(c[i>>2]|0)+48>>2]&31](i,d,g)|0)!=(g|0):0){c[b>>2]=0;i=0;break}do if((j|0)>0){c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;if(j>>>0>1073741807)jw(r);do if(j>>>0>=2){g=j+4&2147483644;if(g>>>0>1073741823)Hb();else{n=aw(g<<2)|0;c[r>>2]=n;o=r+8|0;c[o>>2]=g|-2147483648;c[r+4>>2]=j;o=o+3|0;p=r;break}}else{o=r+8+3|0;a[o>>0]=j;n=r;p=r}while(0);xp(n,j,h)|0;c[q>>2]=0;An(n+(j<<2)|0,q);if((Dc[c[(c[i>>2]|0)+48>>2]&31](i,(a[o>>0]|0)<0?c[r>>2]|0:p,j)|0)==(j|0)){Aw(r);break}else{c[b>>2]=0;Aw(r);i=0;break a}}while(0);t=f-k|0;f=t>>2;if((t|0)>0?(Dc[c[(c[i>>2]|0)+48>>2]&31](i,e,f)|0)!=(f|0):0){c[b>>2]=0;i=0;break}c[m>>2]=0}while(0);l=s;return i|0}function xp(a,b,c){a=a|0;b=b|0;c=c|0;if(b)fm(a,c,b)|0;return a|0}function yp(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;y=l;l=l+16|0;v=y;w=On(i,21704)|0;t=On(i,21712)|0;xc[c[(c[t>>2]|0)+20>>2]&63](v,t);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{u=Ic[c[(c[w>>2]|0)+44>>2]&31](w,i)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=u;i=b+1|0;break}default:i=b}u=e;a:do if((u-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:{j=i;x=10;break a}}r=Ic[c[(c[w>>2]|0)+44>>2]&31](w,48)|0;s=c[h>>2]|0;c[h>>2]=s+4;c[s>>2]=r;i=i+2|0;s=Ic[c[(c[w>>2]|0)+44>>2]&31](w,a[j>>0]|0)|0;j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=s;j=i;while(1){if(j>>>0>=e>>>0)break a;s=a[j>>0]|0;if(!(Sl(s,Rn()|0)|0))break a;j=j+1|0}}else{j=i;x=10}while(0);b:do if((x|0)==10)while(1){x=0;if(j>>>0>=e>>>0)break b;s=a[j>>0]|0;if(!(am(s,Rn()|0)|0))break b;j=j+1|0;x=10}while(0);p=v+11|0;o=a[p>>0]|0;q=v+4|0;r=i;s=b;c:do if((o<<24>>24<0?c[q>>2]|0:o&255)|0){d:do if((i|0)!=(j|0)){b=j;k=i;while(1){b=b+-1|0;if(k>>>0>=b>>>0)break d;o=a[k>>0]|0;a[k>>0]=a[b>>0]|0;a[b>>0]=o;k=k+1|0}}while(0);o=Ac[c[(c[t>>2]|0)+16>>2]&63](t)|0;b=0;k=0;while(1){if(i>>>0>=j>>>0)break;m=a[p>>0]|0;n=m<<24>>24<0;z=a[(n?c[v>>2]|0:v)+b>>0]|0;if(z<<24>>24>0&(k|0)==(z<<24>>24|0)){k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=o;b=(b>>>0<((n?c[q>>2]|0:m&255)+-1|0)>>>0&1)+b|0;k=0}n=Ic[c[(c[w>>2]|0)+44>>2]&31](w,a[i>>0]|0)|0;z=c[h>>2]|0;c[h>>2]=z+4;c[z>>2]=n;i=i+1|0;k=k+1|0}i=f+(r-s<<2)|0;k=c[h>>2]|0;if((i|0)==(k|0))b=w;else{b=k;while(1){b=b+-4|0;if(i>>>0>=b>>>0){b=w;i=k;break c}z=c[i>>2]|0;c[i>>2]=c[b>>2];c[b>>2]=z;i=i+4|0}}}else{rc[c[(c[w>>2]|0)+48>>2]&7](w,i,j,c[h>>2]|0)|0;i=(c[h>>2]|0)+(j-r<<2)|0;c[h>>2]=i;b=w}while(0);while(1){if(j>>>0>=e>>>0)break;i=a[j>>0]|0;j=j+1|0;if(i<<24>>24==46){x=29;break}r=Ic[c[(c[b>>2]|0)+44>>2]&31](w,i)|0;z=c[h>>2]|0;i=z+4|0;c[h>>2]=i;c[z>>2]=r}if((x|0)==29){x=Ac[c[(c[t>>2]|0)+12>>2]&63](t)|0;z=c[h>>2]|0;i=z+4|0;c[h>>2]=i;c[z>>2]=x}rc[c[(c[w>>2]|0)+48>>2]&7](w,j,e,i)|0;z=(c[h>>2]|0)+(u-j<<2)|0;c[h>>2]=z;c[g>>2]=(d|0)==(e|0)?z:f+(d-s<<2)|0;mw(v);l=y;return}function zp(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;u=l;l=l+16|0;t=u;r=On(i,21704)|0;k=On(i,21712)|0;xc[c[(c[k>>2]|0)+20>>2]&63](t,k);p=t+11|0;o=a[p>>0]|0;q=t+4|0;s=b;j=e;if((o<<24>>24<0?c[q>>2]|0:o&255)|0){c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{n=Ic[c[(c[r>>2]|0)+44>>2]&31](r,i)|0;o=c[h>>2]|0;c[h>>2]=o+4;c[o>>2]=n;b=b+1|0;break}default:{}}a:do if((j-b|0)>1?(a[b>>0]|0)==48:0){i=b+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:break a}o=Ic[c[(c[r>>2]|0)+44>>2]&31](r,48)|0;n=c[h>>2]|0;c[h>>2]=n+4;c[n>>2]=o;n=Ic[c[(c[r>>2]|0)+44>>2]&31](r,a[i>>0]|0)|0;o=c[h>>2]|0;c[h>>2]=o+4;c[o>>2]=n;b=b+2|0}while(0);b:do if((b|0)!=(e|0)){i=e;j=b;while(1){i=i+-1|0;if(j>>>0>=i>>>0)break b;o=a[j>>0]|0;a[j>>0]=a[i>>0]|0;a[i>>0]=o;j=j+1|0}}while(0);o=Ac[c[(c[k>>2]|0)+16>>2]&63](k)|0;n=b;i=0;j=0;while(1){if(n>>>0>=e>>>0)break;k=a[p>>0]|0;m=k<<24>>24<0;v=a[(m?c[t>>2]|0:t)+i>>0]|0;if(v<<24>>24!=0&(j|0)==(v<<24>>24|0)){j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=o;i=(i>>>0<((m?c[q>>2]|0:k&255)+-1|0)>>>0&1)+i|0;j=0}m=Ic[c[(c[r>>2]|0)+44>>2]&31](r,a[n>>0]|0)|0;v=c[h>>2]|0;c[h>>2]=v+4;c[v>>2]=m;n=n+1|0;j=j+1|0}i=f+(b-s<<2)|0;b=c[h>>2]|0;if((i|0)!=(b|0)){while(1){b=b+-4|0;if(i>>>0>=b>>>0)break;v=c[i>>2]|0;c[i>>2]=c[b>>2];c[b>>2]=v;i=i+4|0}i=c[h>>2]|0}}else{rc[c[(c[r>>2]|0)+48>>2]&7](r,b,e,f)|0;i=f+(j-s<<2)|0;c[h>>2]=i}c[g>>2]=(d|0)==(e|0)?i:f+(d-s<<2)|0;mw(t);l=u;return}function Ap(a){a=a|0;un(a);return}function Bp(a){a=a|0;un(a);cw(a);return}function Cp(a){a=a|0;return 2}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 h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Yp(a,j,i,e,f,g,18307,18315)|0;l=h;return g|0}function Ep(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;i=l;l=l+16|0;j=i+12|0;k=i+8|0;n=i+4|0;m=i;o=b+8|0;o=Ac[c[(c[o>>2]|0)+20>>2]&63](o)|0;c[n>>2]=c[d>>2];c[m>>2]=c[e>>2];e=a[o+11>>0]|0;p=e<<24>>24<0;d=p?c[o>>2]|0:o;e=d+(p?c[o+4>>2]|0:e&255)|0;c[k>>2]=c[n>>2];c[j>>2]=c[m>>2];h=Yp(b,k,j,f,g,h,d,e)|0;l=i;return h|0}function Fp(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;h=l;l=l+16|0;i=h+4|0;j=h;fn(i,e);e=On(i,21672)|0;Pn(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Wp(a,g+24|0,b,i,f,e);l=h;return c[b>>2]|0}function Gp(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;h=l;l=l+16|0;i=h+4|0;j=h;fn(i,e);e=On(i,21672)|0;Pn(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Xp(a,g+16|0,b,i,f,e);l=h;return c[b>>2]|0}function Hp(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;h=l;l=l+16|0;i=h+4|0;j=h;fn(i,e);e=On(i,21672)|0;Pn(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];hq(a,g+20|0,b,i,f,e);l=h;return c[b>>2]|0}function Ip(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,m=0,n=0,o=0,p=0,q=0,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;X=l;l=l+144|0;k=X+128|0;j=X+112|0;V=X+124|0;W=X+120|0;m=X+116|0;n=X+108|0;o=X+104|0;p=X+100|0;q=X+96|0;r=X+92|0;s=X+88|0;t=X+84|0;u=X+80|0;v=X+76|0;w=X+72|0;x=X+68|0;y=X+64|0;z=X+60|0;A=X+56|0;B=X+52|0;C=X+48|0;D=X+44|0;E=X+40|0;F=X+36|0;G=X+32|0;H=X+28|0;I=X+24|0;J=X+20|0;K=X+16|0;L=X+12|0;M=X+8|0;N=X+4|0;O=X;c[g>>2]=0;fn(k,f);P=On(k,21672)|0;Pn(k);Q=h+8|0;R=h+20|0;S=h+16|0;T=h+24|0;U=b+8|0;do switch(i<<24>>24|0){case 65:case 97:{c[V>>2]=c[e>>2];c[k>>2]=c[V>>2];Wp(b,T,d,k,g,P);Y=26;break}case 104:case 66:case 98:{c[W>>2]=c[e>>2];c[k>>2]=c[W>>2];Xp(b,S,d,k,g,P);Y=26;break}case 99:{W=Ac[c[(c[U>>2]|0)+12>>2]&63](U)|0;c[m>>2]=c[d>>2];c[n>>2]=c[e>>2];Y=a[W+11>>0]|0;e=Y<<24>>24<0;i=e?c[W>>2]|0:W;Y=i+(e?c[W+4>>2]|0:Y&255)|0;c[j>>2]=c[m>>2];c[k>>2]=c[n>>2];c[d>>2]=Yp(b,j,k,f,g,h,i,Y)|0;Y=26;break}case 101:case 100:{c[o>>2]=c[e>>2];c[k>>2]=c[o>>2];Zp(b,h+12|0,d,k,g,P);Y=26;break}case 68:{c[p>>2]=c[d>>2];c[q>>2]=c[e>>2];c[j>>2]=c[p>>2];c[k>>2]=c[q>>2];c[d>>2]=Yp(b,j,k,f,g,h,18267,18275)|0;Y=26;break}case 70:{c[r>>2]=c[d>>2];c[s>>2]=c[e>>2];c[j>>2]=c[r>>2];c[k>>2]=c[s>>2];c[d>>2]=Yp(b,j,k,f,g,h,18275,18283)|0;Y=26;break}case 72:{c[t>>2]=c[e>>2];c[k>>2]=c[t>>2];_p(b,Q,d,k,g,P);Y=26;break}case 73:{c[u>>2]=c[e>>2];c[k>>2]=c[u>>2];$p(b,Q,d,k,g,P);Y=26;break}case 106:{c[v>>2]=c[e>>2];c[k>>2]=c[v>>2];aq(b,h+28|0,d,k,g,P);Y=26;break}case 109:{c[w>>2]=c[e>>2];c[k>>2]=c[w>>2];bq(b,S,d,k,g,P);Y=26;break}case 77:{c[x>>2]=c[e>>2];c[k>>2]=c[x>>2];cq(b,h+4|0,d,k,g,P);Y=26;break}case 116:case 110:{c[y>>2]=c[e>>2];c[k>>2]=c[y>>2];dq(b,d,k,g,P);Y=26;break}case 112:{c[z>>2]=c[e>>2];c[k>>2]=c[z>>2];eq(b,Q,d,k,g,P);Y=26;break}case 114:{c[A>>2]=c[d>>2];c[B>>2]=c[e>>2];c[j>>2]=c[A>>2];c[k>>2]=c[B>>2];c[d>>2]=Yp(b,j,k,f,g,h,18283,18294)|0;Y=26;break}case 82:{c[C>>2]=c[d>>2];c[D>>2]=c[e>>2];c[j>>2]=c[C>>2];c[k>>2]=c[D>>2];c[d>>2]=Yp(b,j,k,f,g,h,18294,18299)|0;Y=26;break}case 83:{c[E>>2]=c[e>>2];c[k>>2]=c[E>>2];fq(b,h,d,k,g,P);Y=26;break}case 84:{c[F>>2]=c[d>>2];c[G>>2]=c[e>>2];c[j>>2]=c[F>>2];c[k>>2]=c[G>>2];c[d>>2]=Yp(b,j,k,f,g,h,18299,18307)|0;Y=26;break}case 119:{c[H>>2]=c[e>>2];c[k>>2]=c[H>>2];gq(b,T,d,k,g,P);Y=26;break}case 120:{i=c[(c[b>>2]|0)+20>>2]|0;c[I>>2]=c[d>>2];c[J>>2]=c[e>>2];c[j>>2]=c[I>>2];c[k>>2]=c[J>>2];j=yc[i&63](b,j,k,f,g,h)|0;break}case 88:{W=Ac[c[(c[U>>2]|0)+24>>2]&63](U)|0;c[K>>2]=c[d>>2];c[L>>2]=c[e>>2];Y=a[W+11>>0]|0;e=Y<<24>>24<0;i=e?c[W>>2]|0:W;Y=i+(e?c[W+4>>2]|0:Y&255)|0;c[j>>2]=c[K>>2];c[k>>2]=c[L>>2];c[d>>2]=Yp(b,j,k,f,g,h,i,Y)|0;Y=26;break}case 121:{c[M>>2]=c[e>>2];c[k>>2]=c[M>>2];hq(b,R,d,k,g,P);Y=26;break}case 89:{c[N>>2]=c[e>>2];c[k>>2]=c[N>>2];iq(b,R,d,k,g,P);Y=26;break}case 37:{c[O>>2]=c[e>>2];c[k>>2]=c[O>>2];jq(b,d,k,g,P);Y=26;break}default:{c[g>>2]=c[g>>2]|4;Y=26}}while(0);if((Y|0)==26)j=c[d>>2]|0;l=X;return j|0}function Jp(b){b=b|0;if((a[20456]|0)==0?Bx(20456)|0:0){Up();c[5636]=22376}return c[5636]|0}function Kp(b){b=b|0;if((a[20440]|0)==0?Bx(20440)|0:0){Sp();c[5593]=22084}return c[5593]|0}function Lp(b){b=b|0;if((a[20424]|0)==0?Bx(20424)|0:0){Qp();c[5520]=21792}return c[5520]|0}function Mp(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;d=f;if((a[20416]|0)==0?Bx(20416)|0:0){c[5445]=0;c[5446]=0;c[5447]=0;e=oe(18025)|0;if(e>>>0>4294967279)jw(21780);if(e>>>0<11){a[21791]=e;b=21780}else{g=e+16&-16;b=aw(g)|0;c[5445]=b;c[5447]=g|-2147483648;c[5446]=e}Te(b,18025,e)|0;a[d>>0]=0;re(b+e|0,d);Ma(101,21780,o|0)|0}l=f;return 21780}function Np(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;d=f;if((a[20408]|0)==0?Bx(20408)|0:0){c[5442]=0;c[5443]=0;c[5444]=0;e=oe(18013)|0;if(e>>>0>4294967279)jw(21768);if(e>>>0<11){a[21779]=e;b=21768}else{g=e+16&-16;b=aw(g)|0;c[5442]=b;c[5444]=g|-2147483648;c[5443]=e}Te(b,18013,e)|0;a[d>>0]=0;re(b+e|0,d);Ma(101,21768,o|0)|0}l=f;return 21768}function Op(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;d=f;if((a[20400]|0)==0?Bx(20400)|0:0){c[5439]=0;c[5440]=0;c[5441]=0;e=oe(18004)|0;if(e>>>0>4294967279)jw(21756);if(e>>>0<11){a[21767]=e;b=21756}else{g=e+16&-16;b=aw(g)|0;c[5439]=b;c[5441]=g|-2147483648;c[5440]=e}Te(b,18004,e)|0;a[d>>0]=0;re(b+e|0,d);Ma(101,21756,o|0)|0}l=f;return 21756}function Pp(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;d=f;if((a[20392]|0)==0?Bx(20392)|0:0){c[5436]=0;c[5437]=0;c[5438]=0;e=oe(17995)|0;if(e>>>0>4294967279)jw(21744);if(e>>>0<11){a[21755]=e;b=21744}else{g=e+16&-16;b=aw(g)|0;c[5436]=b;c[5438]=g|-2147483648;c[5437]=e}Te(b,17995,e)|0;a[d>>0]=0;re(b+e|0,d);Ma(101,21744,o|0)|0}l=f;return 21744}function Qp(){var b=0,d=0;if((a[20432]|0)==0?Bx(20432)|0:0){d=21792;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=22080);Ma(102,0,o|0)|0}sw(21792,18046)|0;sw(21804,18049)|0;return}function Rp(a){a=a|0;a=22080;do{a=a+-12|0;mw(a)}while((a|0)!=21792);return}function Sp(){var b=0,d=0;if((a[20448]|0)==0?Bx(20448)|0:0){d=22084;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=22372);Ma(103,0,o|0)|0}sw(22084,18052)|0;sw(22096,18060)|0;sw(22108,18069)|0;sw(22120,18075)|0;sw(22132,18081)|0;sw(22144,18085)|0;sw(22156,18090)|0;sw(22168,18095)|0;sw(22180,18102)|0;sw(22192,18112)|0;sw(22204,18120)|0;sw(22216,18129)|0;sw(22228,18138)|0;sw(22240,18142)|0;sw(22252,18146)|0;sw(22264,18150)|0;sw(22276,18081)|0;sw(22288,18154)|0;sw(22300,18158)|0;sw(22312,18162)|0;sw(22324,18166)|0;sw(22336,18170)|0;sw(22348,18174)|0;sw(22360,18178)|0;return}function Tp(a){a=a|0;a=22372;do{a=a+-12|0;mw(a)}while((a|0)!=22084);return}function Up(){var b=0,d=0;if((a[20464]|0)==0?Bx(20464)|0:0){d=22376;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=22544);Ma(104,0,o|0)|0}sw(22376,18182)|0;sw(22388,18189)|0;sw(22400,18196)|0;sw(22412,18204)|0;sw(22424,18214)|0;sw(22436,18223)|0;sw(22448,18230)|0;sw(22460,18239)|0;sw(22472,18243)|0;sw(22484,18247)|0;sw(22496,18251)|0;sw(22508,18255)|0;sw(22520,18259)|0;sw(22532,18263)|0;return}function Vp(a){a=a|0;a=22544;do{a=a+-12|0;mw(a)}while((a|0)!=22376);return}function Wp(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;h=l;l=l+16|0;i=h+4|0;j=h;a=a+8|0;a=Ac[c[c[a>>2]>>2]&63](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(vo(d,i,a,a+168|0,g,f,0)|0)-a|0;if((a|0)<168)c[b>>2]=((a|0)/12|0|0)%7|0;l=h;return}function Xp(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;h=l;l=l+16|0;i=h+4|0;j=h;a=a+8|0;a=Ac[c[(c[a>>2]|0)+4>>2]&63](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(vo(d,i,a,a+288|0,g,f,0)|0)-a|0;if((a|0)<288)c[b>>2]=((a|0)/12|0|0)%12|0;l=h;return}function Yp(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,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;u=B+12|0;t=B+8|0;y=B+4|0;z=B;fn(u,g);v=On(u,21672)|0;Pn(u);c[h>>2]=0;w=v+8|0;m=0;a:while(1){s=(j|0)!=(k|0);n=m;while(1){m=c[e>>2]|0;if(!(s&(n|0)==0))break a;o=m;if(m){n=c[m+12>>2]|0;if((n|0)==(c[m+16>>2]|0))n=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else n=ie(a[n>>0]|0)|0;if(je(n,$d()|0)|0){c[e>>2]=0;m=0;q=1;r=0}else{q=0;r=o}}else{m=0;q=1;r=o}p=c[f>>2]|0;n=p;do if(p){o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))o=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else o=ie(a[o>>0]|0)|0;if(!(je(o,$d()|0)|0))if(q)break;else{A=61;break a}else{c[f>>2]=0;n=0;A=16;break}}else A=16;while(0);if((A|0)==16){A=0;if(q){A=61;break a}else p=0}if((Dc[c[(c[v>>2]|0)+36>>2]&31](v,a[j>>0]|0,0)|0)<<24>>24==37){A=19;break}n=a[j>>0]|0;if(n<<24>>24>-1?(x=c[w>>2]|0,b[x+(n<<24>>24<<1)>>1]&8192):0){A=27;break}o=m+12|0;n=c[o>>2]|0;p=m+16|0;if((n|0)==(c[p>>2]|0))n=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else n=ie(a[n>>0]|0)|0;r=Ic[c[(c[v>>2]|0)+12>>2]&31](v,n&255)|0;if(r<<24>>24==(Ic[c[(c[v>>2]|0)+12>>2]&31](v,a[j>>0]|0)|0)<<24>>24){A=57;break}c[h>>2]=4;n=4}b:do if((A|0)==19){A=0;q=j+1|0;if((q|0)==(k|0)){A=61;break a}o=Dc[c[(c[v>>2]|0)+36>>2]&31](v,a[q>>0]|0,0)|0;switch(o<<24>>24){case 48:case 69:{j=j+2|0;if((j|0)==(k|0)){A=61;break a}p=o;m=Dc[c[(c[v>>2]|0)+36>>2]&31](v,a[j>>0]|0,0)|0;j=q;break}default:{p=0;m=o}}s=c[(c[d>>2]|0)+36>>2]|0;c[y>>2]=r;c[z>>2]=n;c[t>>2]=c[y>>2];c[u>>2]=c[z>>2];c[e>>2]=Gc[s&15](d,t,u,g,h,i,m,p)|0;j=j+2|0}else if((A|0)==27){while(1){A=0;j=j+1|0;if((j|0)==(k|0)){j=k;break}n=a[j>>0]|0;if(n<<24>>24<=-1)break;if(!(b[x+(n<<24>>24<<1)>>1]&8192))break;else A=27}n=p;while(1){if(m){o=c[m+12>>2]|0;if((o|0)==(c[m+16>>2]|0))o=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else o=ie(a[o>>0]|0)|0;if(je(o,$d()|0)|0){c[e>>2]=0;q=1;m=0}else q=0}else{q=1;m=0}do if(p){o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))o=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else o=ie(a[o>>0]|0)|0;if(!(je(o,$d()|0)|0))if(q^(n|0)==0){r=n;p=n;break}else break b;else{c[f>>2]=0;n=0;A=43;break}}else A=43;while(0);if((A|0)==43){A=0;if(q)break b;else{r=n;p=0}}o=m+12|0;n=c[o>>2]|0;q=m+16|0;if((n|0)==(c[q>>2]|0))n=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else n=ie(a[n>>0]|0)|0;if((n&255)<<24>>24<=-1)break b;if(!(b[(c[w>>2]|0)+(n<<24>>24<<1)>>1]&8192))break b;n=c[o>>2]|0;if((n|0)==(c[q>>2]|0)){Ac[c[(c[m>>2]|0)+40>>2]&63](m)|0;n=r;continue}else{c[o>>2]=n+1;ie(a[n>>0]|0)|0;n=r;continue}}}else if((A|0)==57){A=0;j=j+1|0;n=c[o>>2]|0;if((n|0)==(c[p>>2]|0)){Ac[c[(c[m>>2]|0)+40>>2]&63](m)|0;break}else{c[o>>2]=n+1;ie(a[n>>0]|0)|0;break}}while(0);m=c[h>>2]|0}if((A|0)==61)c[h>>2]=4;if(m){j=c[m+12>>2]|0;if((j|0)==(c[m+16>>2]|0))j=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else j=ie(a[j>>0]|0)|0;if(je(j,$d()|0)|0){c[e>>2]=0;m=0;o=1}else o=0}else{m=0;o=1}j=c[f>>2]|0;do if(j){n=c[j+12>>2]|0;if((n|0)==(c[j+16>>2]|0))j=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else j=ie(a[n>>0]|0)|0;if(!(je(j,$d()|0)|0))if(o)break;else{A=76;break}else{c[f>>2]=0;A=74;break}}else A=74;while(0);if((A|0)==74?o:0)A=76;if((A|0)==76)c[h>>2]=c[h>>2]|2;l=B;return m|0}function Zp(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function _p(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function $p(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function aq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function bq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;l=h;return}function cq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function dq(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;j=h+8|0;a:while(1){d=c[e>>2]|0;do if(d){h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Ac[c[(c[d>>2]|0)+36>>2]&63](d)|0;else d=ie(a[h>>0]|0)|0;if(je(d,$d()|0)|0){c[e>>2]=0;i=1;break}else{i=(c[e>>2]|0)==0;break}}else i=1;while(0);h=c[f>>2]|0;do if(h){d=c[h+12>>2]|0;if((d|0)==(c[h+16>>2]|0))d=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else d=ie(a[d>>0]|0)|0;if(!(je(d,$d()|0)|0))if(i){i=h;break}else{i=h;break a}else{c[f>>2]=0;k=15;break}}else k=15;while(0);if((k|0)==15){k=0;if(i){i=0;break}else i=0}d=c[e>>2]|0;h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Ac[c[(c[d>>2]|0)+36>>2]&63](d)|0;else d=ie(a[h>>0]|0)|0;if((d&255)<<24>>24<=-1)break;if(!(b[(c[j>>2]|0)+(d<<24>>24<<1)>>1]&8192))break;d=c[e>>2]|0;h=d+12|0;i=c[h>>2]|0;if((i|0)==(c[d+16>>2]|0)){Ac[c[(c[d>>2]|0)+40>>2]&63](d)|0;continue}else{c[h>>2]=i+1;ie(a[i>>0]|0)|0;continue}}d=c[e>>2]|0;do if(d){h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Ac[c[(c[d>>2]|0)+36>>2]&63](d)|0;else d=ie(a[h>>0]|0)|0;if(je(d,$d()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);do if(i){d=c[i+12>>2]|0;if((d|0)==(c[i+16>>2]|0))d=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else d=ie(a[d>>0]|0)|0;if(!(je(d,$d()|0)|0))if(h)break;else{k=40;break}else{c[f>>2]=0;k=38;break}}else k=38;while(0);if((k|0)==38?h:0)k=40;if((k|0)==40)c[g>>2]=c[g>>2]|2;return}function eq(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;n=l;l=l+16|0;k=n+4|0;m=n;j=b+8|0;j=Ac[c[(c[j>>2]|0)+8>>2]&63](j)|0;b=a[j+11>>0]|0;if(b<<24>>24<0)i=c[j+4>>2]|0;else i=b&255;b=a[j+12+11>>0]|0;if(b<<24>>24<0)b=c[j+16>>2]|0;else b=b&255;do if((i|0)!=(0-b|0)){c[m>>2]=c[f>>2];c[k>>2]=c[m>>2];b=(vo(e,k,j,j+24|0,h,g,0)|0)-j|0;i=c[d>>2]|0;if((i|0)==12&(b|0)==0){c[d>>2]=0;break}if((i|0)<12&(b|0)==12)c[d>>2]=i+12}else c[g>>2]=c[g>>2]|4;while(0);l=n;return}function fq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function gq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function hq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;c[b>>2]=a+-1900}l=h;return}function iq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=kq(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;l=h;return}function jq(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;b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=ie(a[h>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;i=1;break}else{i=(c[d>>2]|0)==0;break}}else i=1;while(0);h=c[e>>2]|0;do if(h){b=c[h+12>>2]|0;if((b|0)==(c[h+16>>2]|0))b=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(i){j=h;k=16;break}else{b=6;k=38;break}else{c[e>>2]=0;k=14;break}}else k=14;while(0);if((k|0)==14)if(i){b=6;k=38}else{j=0;k=16}a:do if((k|0)==16){b=c[d>>2]|0;h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=ie(a[h>>0]|0)|0;if((Dc[c[(c[g>>2]|0)+36>>2]&31](g,b&255,0)|0)<<24>>24==37){b=c[d>>2]|0;h=b+12|0;i=c[h>>2]|0;if((i|0)==(c[b+16>>2]|0))Ac[c[(c[b>>2]|0)+40>>2]&63](b)|0;else{c[h>>2]=i+1;ie(a[i>>0]|0)|0}b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=ie(a[h>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;h=1;break}else{h=(c[d>>2]|0)==0;break}}else h=1;while(0);do if(j|0){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(h)break a;else{b=2;k=38;break a}else{c[e>>2]=0;break}}while(0);if(h){b=2;k=38}}else{b=4;k=38}}while(0);if((k|0)==38)c[f>>2]=c[f>>2]|b;return}function kq(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=c[d>>2]|0;do if(i){j=c[i+12>>2]|0;if((j|0)==(c[i+16>>2]|0))i=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else i=ie(a[j>>0]|0)|0;if(je(i,$d()|0)|0){c[d>>2]=0;k=1;break}else{k=(c[d>>2]|0)==0;break}}else k=1;while(0);j=c[e>>2]|0;do if(j){i=c[j+12>>2]|0;if((i|0)==(c[j+16>>2]|0))i=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else i=ie(a[i>>0]|0)|0;if(!(je(i,$d()|0)|0))if(k){s=17;break}else{s=16;break}else{c[e>>2]=0;s=14;break}}else s=14;while(0);if((s|0)==14)if(k)s=16;else{j=0;s=17}a:do if((s|0)==16){c[f>>2]=c[f>>2]|6;i=0}else if((s|0)==17){i=c[d>>2]|0;k=c[i+12>>2]|0;if((k|0)==(c[i+16>>2]|0))i=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else i=ie(a[k>>0]|0)|0;k=i&255;if(k<<24>>24>-1?(r=g+8|0,b[(c[r>>2]|0)+(i<<24>>24<<1)>>1]&2048):0){i=(Dc[c[(c[g>>2]|0)+36>>2]&31](g,k,0)|0)<<24>>24;k=c[d>>2]|0;l=k+12|0;m=c[l>>2]|0;if((m|0)==(c[k+16>>2]|0)){Ac[c[(c[k>>2]|0)+40>>2]&63](k)|0;n=j;l=j}else{c[l>>2]=m+1;ie(a[m>>0]|0)|0;n=j;l=j}while(1){i=i+-48|0;q=h+-1|0;j=c[d>>2]|0;do if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))j=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else j=ie(a[k>>0]|0)|0;if(je(j,$d()|0)|0){c[d>>2]=0;m=1;break}else{m=(c[d>>2]|0)==0;break}}else m=1;while(0);do if(l){j=c[l+12>>2]|0;if((j|0)==(c[l+16>>2]|0))j=Ac[c[(c[l>>2]|0)+36>>2]&63](l)|0;else j=ie(a[j>>0]|0)|0;if(je(j,$d()|0)|0){c[e>>2]=0;p=0;j=1;o=0;break}else{p=n;j=(n|0)==0;o=n;break}}else{p=n;j=1;o=0}while(0);k=c[d>>2]|0;if(!((h|0)>1&(m^j)))break;j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))j=Ac[c[(c[k>>2]|0)+36>>2]&63](k)|0;else j=ie(a[j>>0]|0)|0;k=j&255;if(k<<24>>24<=-1)break a;if(!(b[(c[r>>2]|0)+(j<<24>>24<<1)>>1]&2048))break a;i=((Dc[c[(c[g>>2]|0)+36>>2]&31](g,k,0)|0)<<24>>24)+(i*10|0)|0;j=c[d>>2]|0;k=j+12|0;l=c[k>>2]|0;if((l|0)==(c[j+16>>2]|0)){Ac[c[(c[j>>2]|0)+40>>2]&63](j)|0;h=q;n=p;l=o;continue}else{c[k>>2]=l+1;ie(a[l>>0]|0)|0;h=q;n=p;l=o;continue}}do if(k){j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))j=Ac[c[(c[k>>2]|0)+36>>2]&63](k)|0;else j=ie(a[j>>0]|0)|0;if(je(j,$d()|0)|0){c[d>>2]=0;k=1;break}else{k=(c[d>>2]|0)==0;break}}else k=1;while(0);do if(p){j=c[p+12>>2]|0;if((j|0)==(c[p+16>>2]|0))j=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else j=ie(a[j>>0]|0)|0;if(!(je(j,$d()|0)|0))if(k)break a;else break;else{c[e>>2]=0;s=62;break}}else s=62;while(0);if((s|0)==62?!k:0)break;c[f>>2]=c[f>>2]|2;break}c[f>>2]=c[f>>2]|4;i=0}while(0);return i|0}function lq(a){a=a|0;un(a);return}function mq(a){a=a|0;un(a);cw(a);return}function nq(a){a=a|0;return 2}function oq(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Kq(a,j,i,e,f,g,8852,8884)|0;l=h;return g|0}function pq(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;i=l;l=l+16|0;j=i+12|0;k=i+8|0;n=i+4|0;m=i;o=b+8|0;o=Ac[c[(c[o>>2]|0)+20>>2]&63](o)|0;c[n>>2]=c[d>>2];c[m>>2]=c[e>>2];e=a[o+8+3>>0]|0;p=e<<24>>24<0;d=p?c[o>>2]|0:o;e=d+((p?c[o+4>>2]|0:e&255)<<2)|0;c[k>>2]=c[n>>2];c[j>>2]=c[m>>2];h=Kq(b,k,j,f,g,h,d,e)|0;l=i;return h|0}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 h=0,i=0,j=0;h=l;l=l+16|0;i=h+4|0;j=h;fn(i,e);e=On(i,21704)|0;Pn(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Iq(a,g+24|0,b,i,f,e);l=h;return c[b>>2]|0}function rq(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;h=l;l=l+16|0;i=h+4|0;j=h;fn(i,e);e=On(i,21704)|0;Pn(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Jq(a,g+16|0,b,i,f,e);l=h;return c[b>>2]|0}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,i=0,j=0;h=l;l=l+16|0;i=h+4|0;j=h;fn(i,e);e=On(i,21704)|0;Pn(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Vq(a,g+20|0,b,i,f,e);l=h;return c[b>>2]|0}function tq(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,m=0,n=0,o=0,p=0,q=0,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;X=l;l=l+144|0;k=X+128|0;j=X+112|0;V=X+124|0;W=X+120|0;m=X+116|0;n=X+108|0;o=X+104|0;p=X+100|0;q=X+96|0;r=X+92|0;s=X+88|0;t=X+84|0;u=X+80|0;v=X+76|0;w=X+72|0;x=X+68|0;y=X+64|0;z=X+60|0;A=X+56|0;B=X+52|0;C=X+48|0;D=X+44|0;E=X+40|0;F=X+36|0;G=X+32|0;H=X+28|0;I=X+24|0;J=X+20|0;K=X+16|0;L=X+12|0;M=X+8|0;N=X+4|0;O=X;c[g>>2]=0;fn(k,f);P=On(k,21704)|0;Pn(k);Q=h+8|0;R=h+20|0;S=h+16|0;T=h+24|0;U=b+8|0;do switch(i<<24>>24|0){case 65:case 97:{c[V>>2]=c[e>>2];c[k>>2]=c[V>>2];Iq(b,T,d,k,g,P);Y=26;break}case 104:case 66:case 98:{c[W>>2]=c[e>>2];c[k>>2]=c[W>>2];Jq(b,S,d,k,g,P);Y=26;break}case 99:{W=Ac[c[(c[U>>2]|0)+12>>2]&63](U)|0;c[m>>2]=c[d>>2];c[n>>2]=c[e>>2];Y=a[W+8+3>>0]|0;e=Y<<24>>24<0;i=e?c[W>>2]|0:W;Y=i+((e?c[W+4>>2]|0:Y&255)<<2)|0;c[j>>2]=c[m>>2];c[k>>2]=c[n>>2];c[d>>2]=Kq(b,j,k,f,g,h,i,Y)|0;Y=26;break}case 101:case 100:{c[o>>2]=c[e>>2];c[k>>2]=c[o>>2];Lq(b,h+12|0,d,k,g,P);Y=26;break}case 68:{c[p>>2]=c[d>>2];c[q>>2]=c[e>>2];c[j>>2]=c[p>>2];c[k>>2]=c[q>>2];c[d>>2]=Kq(b,j,k,f,g,h,8692,8724)|0;Y=26;break}case 70:{c[r>>2]=c[d>>2];c[s>>2]=c[e>>2];c[j>>2]=c[r>>2];c[k>>2]=c[s>>2];c[d>>2]=Kq(b,j,k,f,g,h,8724,8756)|0;Y=26;break}case 72:{c[t>>2]=c[e>>2];c[k>>2]=c[t>>2];Mq(b,Q,d,k,g,P);Y=26;break}case 73:{c[u>>2]=c[e>>2];c[k>>2]=c[u>>2];Nq(b,Q,d,k,g,P);Y=26;break}case 106:{c[v>>2]=c[e>>2];c[k>>2]=c[v>>2];Oq(b,h+28|0,d,k,g,P);Y=26;break}case 109:{c[w>>2]=c[e>>2];c[k>>2]=c[w>>2];Pq(b,S,d,k,g,P);Y=26;break}case 77:{c[x>>2]=c[e>>2];c[k>>2]=c[x>>2];Qq(b,h+4|0,d,k,g,P);Y=26;break}case 116:case 110:{c[y>>2]=c[e>>2];c[k>>2]=c[y>>2];Rq(b,d,k,g,P);Y=26;break}case 112:{c[z>>2]=c[e>>2];c[k>>2]=c[z>>2];Sq(b,Q,d,k,g,P);Y=26;break}case 114:{c[A>>2]=c[d>>2];c[B>>2]=c[e>>2];c[j>>2]=c[A>>2];c[k>>2]=c[B>>2];c[d>>2]=Kq(b,j,k,f,g,h,8756,8800)|0;Y=26;break}case 82:{c[C>>2]=c[d>>2];c[D>>2]=c[e>>2];c[j>>2]=c[C>>2];c[k>>2]=c[D>>2];c[d>>2]=Kq(b,j,k,f,g,h,8800,8820)|0;Y=26;break}case 83:{c[E>>2]=c[e>>2];c[k>>2]=c[E>>2];Tq(b,h,d,k,g,P);Y=26;break}case 84:{c[F>>2]=c[d>>2];c[G>>2]=c[e>>2];c[j>>2]=c[F>>2];c[k>>2]=c[G>>2];c[d>>2]=Kq(b,j,k,f,g,h,8820,8852)|0;Y=26;break}case 119:{c[H>>2]=c[e>>2];c[k>>2]=c[H>>2];Uq(b,T,d,k,g,P);Y=26;break}case 120:{i=c[(c[b>>2]|0)+20>>2]|0;c[I>>2]=c[d>>2];c[J>>2]=c[e>>2];c[j>>2]=c[I>>2];c[k>>2]=c[J>>2];j=yc[i&63](b,j,k,f,g,h)|0;break}case 88:{W=Ac[c[(c[U>>2]|0)+24>>2]&63](U)|0;c[K>>2]=c[d>>2];c[L>>2]=c[e>>2];Y=a[W+8+3>>0]|0;e=Y<<24>>24<0;i=e?c[W>>2]|0:W;Y=i+((e?c[W+4>>2]|0:Y&255)<<2)|0;c[j>>2]=c[K>>2];c[k>>2]=c[L>>2];c[d>>2]=Kq(b,j,k,f,g,h,i,Y)|0;Y=26;break}case 121:{c[M>>2]=c[e>>2];c[k>>2]=c[M>>2];Vq(b,R,d,k,g,P);Y=26;break}case 89:{c[N>>2]=c[e>>2];c[k>>2]=c[N>>2];Wq(b,R,d,k,g,P);Y=26;break}case 37:{c[O>>2]=c[e>>2];c[k>>2]=c[O>>2];Xq(b,d,k,g,P);Y=26;break}default:{c[g>>2]=c[g>>2]|4;Y=26}}while(0);if((Y|0)==26)j=c[d>>2]|0;l=X;return j|0}function uq(b){b=b|0;if((a[20536]|0)==0?Bx(20536)|0:0){Gq();c[5839]=23188}return c[5839]|0}function vq(b){b=b|0;if((a[20520]|0)==0?Bx(20520)|0:0){Eq();c[5796]=22896}return c[5796]|0}function wq(b){b=b|0;if((a[20504]|0)==0?Bx(20504)|0:0){Cq();c[5723]=22604}return c[5723]|0}function xq(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;b=f;if((a[20496]|0)==0?Bx(20496)|0:0){c[5648]=0;c[5649]=0;c[5650]=0;e=Bq(7724)|0;if(e>>>0>1073741807)jw(22592);do if(e>>>0>=2){d=e+4&-4;if(d>>>0>1073741823)Hb();else{g=aw(d<<2)|0;c[5648]=g;c[5650]=d|-2147483648;c[5649]=e;break}}else{a[22603]=e;g=22592}while(0);Nm(g,7724,e)|0;c[b>>2]=0;An(g+(e<<2)|0,b);Ma(105,22592,o|0)|0}l=f;return 22592}function yq(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;b=f;if((a[20488]|0)==0?Bx(20488)|0:0){c[5645]=0;c[5646]=0;c[5647]=0;e=Bq(7676)|0;if(e>>>0>1073741807)jw(22580);do if(e>>>0>=2){d=e+4&-4;if(d>>>0>1073741823)Hb();else{g=aw(d<<2)|0;c[5645]=g;c[5647]=d|-2147483648;c[5646]=e;break}}else{a[22591]=e;g=22580}while(0);Nm(g,7676,e)|0;c[b>>2]=0;An(g+(e<<2)|0,b);Ma(105,22580,o|0)|0}l=f;return 22580}function zq(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;b=f;if((a[20480]|0)==0?Bx(20480)|0:0){c[5642]=0;c[5643]=0;c[5644]=0;e=Bq(7640)|0;if(e>>>0>1073741807)jw(22568);do if(e>>>0>=2){d=e+4&-4;if(d>>>0>1073741823)Hb();else{g=aw(d<<2)|0;c[5642]=g;c[5644]=d|-2147483648;c[5643]=e;break}}else{a[22579]=e;g=22568}while(0);Nm(g,7640,e)|0;c[b>>2]=0;An(g+(e<<2)|0,b);Ma(105,22568,o|0)|0}l=f;return 22568}function Aq(b){b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;b=f;if((a[20472]|0)==0?Bx(20472)|0:0){c[5639]=0;c[5640]=0;c[5641]=0;e=Bq(7604)|0;if(e>>>0>1073741807)jw(22556);do if(e>>>0>=2){d=e+4&-4;if(d>>>0>1073741823)Hb();else{g=aw(d<<2)|0;c[5639]=g;c[5641]=d|-2147483648;c[5640]=e;break}}else{a[22567]=e;g=22556}while(0);Nm(g,7604,e)|0;c[b>>2]=0;An(g+(e<<2)|0,b);Ma(105,22556,o|0)|0}l=f;return 22556}function Bq(a){a=a|0;return Fl(a)|0}function Cq(){var b=0,d=0;if((a[20512]|0)==0?Bx(20512)|0:0){d=22604;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=22892);Ma(106,0,o|0)|0}Fw(22604,7808)|0;Fw(22616,7820)|0;return}function Dq(a){a=a|0;a=22892;do{a=a+-12|0;Aw(a)}while((a|0)!=22604);return}function Eq(){var b=0,d=0;if((a[20528]|0)==0?Bx(20528)|0:0){d=22896;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=23184);Ma(107,0,o|0)|0}Fw(22896,7832)|0;Fw(22908,7864)|0;Fw(22920,7900)|0;Fw(22932,7924)|0;Fw(22944,7948)|0;Fw(22956,7964)|0;Fw(22968,7984)|0;Fw(22980,8004)|0;Fw(22992,8032)|0;Fw(23004,8072)|0;Fw(23016,8104)|0;Fw(23028,8140)|0;Fw(23040,8176)|0;Fw(23052,8192)|0;Fw(23064,8208)|0;Fw(23076,8224)|0;Fw(23088,7948)|0;Fw(23100,8240)|0;Fw(23112,8256)|0;Fw(23124,8272)|0;Fw(23136,8288)|0;Fw(23148,8304)|0;Fw(23160,8320)|0;Fw(23172,8336)|0;return}function Fq(a){a=a|0;a=23184;do{a=a+-12|0;Aw(a)}while((a|0)!=22896);return}function Gq(){var b=0,d=0;if((a[20544]|0)==0?Bx(20544)|0:0){d=23188;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=23356);Ma(108,0,o|0)|0}Fw(23188,8352)|0;Fw(23200,8380)|0;Fw(23212,8408)|0;Fw(23224,8440)|0;Fw(23236,8480)|0;Fw(23248,8516)|0;Fw(23260,8544)|0;Fw(23272,8580)|0;Fw(23284,8596)|0;Fw(23296,8612)|0;Fw(23308,8628)|0;Fw(23320,8644)|0;Fw(23332,8660)|0;Fw(23344,8676)|0;return}function Hq(a){a=a|0;a=23356;do{a=a+-12|0;Aw(a)}while((a|0)!=23188);return}function Iq(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;h=l;l=l+16|0;i=h+4|0;j=h;a=a+8|0;a=Ac[c[c[a>>2]>>2]&63](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(Wo(d,i,a,a+168|0,g,f,0)|0)-a|0;if((a|0)<168)c[b>>2]=((a|0)/12|0|0)%7|0;l=h;return}function Jq(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;h=l;l=l+16|0;i=h+4|0;j=h;a=a+8|0;a=Ac[c[(c[a>>2]|0)+4>>2]&63](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(Wo(d,i,a,a+288|0,g,f,0)|0)-a|0;if((a|0)<288)c[b>>2]=((a|0)/12|0|0)%12|0;l=h;return}function Kq(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+16|0;s=x+12|0;r=x+8|0;u=x+4|0;v=x;fn(s,e);t=On(s,21704)|0;Pn(s);c[f>>2]=0;j=0;a:while(1){q=(h|0)!=(i|0);k=j;while(1){j=c[b>>2]|0;if(!(q&(k|0)==0))break a;m=j;if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))k=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else k=Mm(c[k>>2]|0)|0;if(gn(k,Lm()|0)|0){c[b>>2]=0;j=0;o=1;p=0}else{o=0;p=m}}else{j=0;o=1;p=m}n=c[d>>2]|0;k=n;do if(n){m=c[n+12>>2]|0;if((m|0)==(c[n+16>>2]|0))m=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else m=Mm(c[m>>2]|0)|0;if(!(gn(m,Lm()|0)|0))if(o)break;else{w=58;break a}else{c[d>>2]=0;k=0;w=16;break}}else w=16;while(0);if((w|0)==16){w=0;if(o){w=58;break a}else n=0}if((Dc[c[(c[t>>2]|0)+52>>2]&31](t,c[h>>2]|0,0)|0)<<24>>24==37){w=19;break}if(Dc[c[(c[t>>2]|0)+12>>2]&31](t,8192,c[h>>2]|0)|0){w=26;break}m=j+12|0;k=c[m>>2]|0;n=j+16|0;if((k|0)==(c[n>>2]|0))k=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else k=Mm(c[k>>2]|0)|0;p=Ic[c[(c[t>>2]|0)+28>>2]&31](t,k)|0;if((p|0)==(Ic[c[(c[t>>2]|0)+28>>2]&31](t,c[h>>2]|0)|0)){w=54;break}c[f>>2]=4;k=4}b:do if((w|0)==19){w=0;o=h+4|0;if((o|0)==(i|0)){w=58;break a}m=Dc[c[(c[t>>2]|0)+52>>2]&31](t,c[o>>2]|0,0)|0;switch(m<<24>>24){case 48:case 69:{h=h+8|0;if((h|0)==(i|0)){w=58;break a}n=m;j=Dc[c[(c[t>>2]|0)+52>>2]&31](t,c[h>>2]|0,0)|0;h=o;break}default:{n=0;j=m}}q=c[(c[a>>2]|0)+36>>2]|0;c[u>>2]=p;c[v>>2]=k;c[r>>2]=c[u>>2];c[s>>2]=c[v>>2];c[b>>2]=Gc[q&15](a,r,s,e,f,g,j,n)|0;h=h+8|0}else if((w|0)==26){while(1){w=0;h=h+4|0;if((h|0)==(i|0)){h=i;break}if(Dc[c[(c[t>>2]|0)+12>>2]&31](t,8192,c[h>>2]|0)|0)w=26;else break}k=n;while(1){if(j){m=c[j+12>>2]|0;if((m|0)==(c[j+16>>2]|0))m=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else m=Mm(c[m>>2]|0)|0;if(gn(m,Lm()|0)|0){c[b>>2]=0;o=1;j=0}else o=0}else{o=1;j=0}do if(n){m=c[n+12>>2]|0;if((m|0)==(c[n+16>>2]|0))m=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else m=Mm(c[m>>2]|0)|0;if(!(gn(m,Lm()|0)|0))if(o^(k|0)==0){p=k;n=k;break}else break b;else{c[d>>2]=0;k=0;w=41;break}}else w=41;while(0);if((w|0)==41){w=0;if(o)break b;else{p=k;n=0}}m=j+12|0;k=c[m>>2]|0;o=j+16|0;if((k|0)==(c[o>>2]|0))k=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else k=Mm(c[k>>2]|0)|0;if(!(Dc[c[(c[t>>2]|0)+12>>2]&31](t,8192,k)|0))break b;k=c[m>>2]|0;if((k|0)==(c[o>>2]|0)){Ac[c[(c[j>>2]|0)+40>>2]&63](j)|0;k=p;continue}else{c[m>>2]=k+4;Mm(c[k>>2]|0)|0;k=p;continue}}}else if((w|0)==54){w=0;h=h+4|0;k=c[m>>2]|0;if((k|0)==(c[n>>2]|0)){Ac[c[(c[j>>2]|0)+40>>2]&63](j)|0;break}else{c[m>>2]=k+4;Mm(c[k>>2]|0)|0;break}}while(0);j=c[f>>2]|0}if((w|0)==58)c[f>>2]=4;if(j){h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else h=Mm(c[h>>2]|0)|0;if(gn(h,Lm()|0)|0){c[b>>2]=0;j=0;m=1}else m=0}else{j=0;m=1}h=c[d>>2]|0;do if(h){k=c[h+12>>2]|0;if((k|0)==(c[h+16>>2]|0))h=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else h=Mm(c[k>>2]|0)|0;if(!(gn(h,Lm()|0)|0))if(m)break;else{w=73;break}else{c[d>>2]=0;w=71;break}}else w=71;while(0);if((w|0)==71?m:0)w=73;if((w|0)==73)c[f>>2]=c[f>>2]|2;l=x;return j|0}function Lq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function Mq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function Nq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function Oq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}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,i=0;h=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;l=h;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 h=0,i=0;h=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function Rq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:while(1){a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Ac[c[(c[a>>2]|0)+36>>2]&63](a)|0;else a=Mm(c[g>>2]|0)|0;if(gn(a,Lm()|0)|0){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else a=Mm(c[a>>2]|0)|0;if(!(gn(a,Lm()|0)|0))if(h){h=g;break}else{h=g;break a}else{c[d>>2]=0;i=15;break}}else i=15;while(0);if((i|0)==15){i=0;if(h){h=0;break}else h=0}a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Ac[c[(c[a>>2]|0)+36>>2]&63](a)|0;else a=Mm(c[g>>2]|0)|0;if(!(Dc[c[(c[f>>2]|0)+12>>2]&31](f,8192,a)|0))break;a=c[b>>2]|0;g=a+12|0;h=c[g>>2]|0;if((h|0)==(c[a+16>>2]|0)){Ac[c[(c[a>>2]|0)+40>>2]&63](a)|0;continue}else{c[g>>2]=h+4;Mm(c[h>>2]|0)|0;continue}}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Ac[c[(c[a>>2]|0)+36>>2]&63](a)|0;else a=Mm(c[g>>2]|0)|0;if(gn(a,Lm()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){a=c[h+12>>2]|0;if((a|0)==(c[h+16>>2]|0))a=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else a=Mm(c[a>>2]|0)|0;if(!(gn(a,Lm()|0)|0))if(g)break;else{i=39;break}else{c[d>>2]=0;i=37;break}}else i=37;while(0);if((i|0)==37?g:0)i=39;if((i|0)==39)c[e>>2]=c[e>>2]|2;return}function Sq(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;n=l;l=l+16|0;k=n+4|0;m=n;j=b+8|0;j=Ac[c[(c[j>>2]|0)+8>>2]&63](j)|0;b=a[j+8+3>>0]|0;if(b<<24>>24<0)i=c[j+4>>2]|0;else i=b&255;b=a[j+20+3>>0]|0;if(b<<24>>24<0)b=c[j+16>>2]|0;else b=b&255;do if((i|0)!=(0-b|0)){c[m>>2]=c[f>>2];c[k>>2]=c[m>>2];b=(Wo(e,k,j,j+24|0,h,g,0)|0)-j|0;i=c[d>>2]|0;if((i|0)==12&(b|0)==0){c[d>>2]=0;break}if((i|0)<12&(b|0)==12)c[d>>2]=i+12}else c[g>>2]=c[g>>2]|4;while(0);l=n;return}function Tq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function Uq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;l=h;return}function Vq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;c[b>>2]=a+-1900}l=h;return}function Wq(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=l;l=l+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=Yq(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;l=h;return}function Xq(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;a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Ac[c[(c[a>>2]|0)+36>>2]&63](a)|0;else a=Mm(c[g>>2]|0)|0;if(gn(a,Lm()|0)|0){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else a=Mm(c[a>>2]|0)|0;if(!(gn(a,Lm()|0)|0))if(h){i=g;j=16;break}else{a=6;j=38;break}else{c[d>>2]=0;j=14;break}}else j=14;while(0);if((j|0)==14)if(h){a=6;j=38}else{i=0;j=16}a:do if((j|0)==16){a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Ac[c[(c[a>>2]|0)+36>>2]&63](a)|0;else a=Mm(c[g>>2]|0)|0;if((Dc[c[(c[f>>2]|0)+52>>2]&31](f,a,0)|0)<<24>>24==37){a=c[b>>2]|0;g=a+12|0;h=c[g>>2]|0;if((h|0)==(c[a+16>>2]|0))Ac[c[(c[a>>2]|0)+40>>2]&63](a)|0;else{c[g>>2]=h+4;Mm(c[h>>2]|0)|0}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Ac[c[(c[a>>2]|0)+36>>2]&63](a)|0;else a=Mm(c[g>>2]|0)|0;if(gn(a,Lm()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(i|0){a=c[i+12>>2]|0;if((a|0)==(c[i+16>>2]|0))a=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else a=Mm(c[a>>2]|0)|0;if(!(gn(a,Lm()|0)|0))if(g)break a;else{a=2;j=38;break a}else{c[d>>2]=0;break}}while(0);if(g){a=2;j=38}}else{a=4;j=38}}while(0);if((j|0)==38)c[e>>2]=c[e>>2]|a;return}function Yq(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;g=c[a>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else g=Mm(c[h>>2]|0)|0;if(gn(g,Lm()|0)|0){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);h=c[b>>2]|0;do if(h){g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))g=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else g=Mm(c[g>>2]|0)|0;if(!(gn(g,Lm()|0)|0))if(i){p=17;break}else{p=16;break}else{c[b>>2]=0;p=14;break}}else p=14;while(0);if((p|0)==14)if(i)p=16;else{h=0;p=17}a:do if((p|0)==16){c[d>>2]=c[d>>2]|6;g=0}else if((p|0)==17){g=c[a>>2]|0;i=c[g+12>>2]|0;if((i|0)==(c[g+16>>2]|0))g=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else g=Mm(c[i>>2]|0)|0;if(!(Dc[c[(c[e>>2]|0)+12>>2]&31](e,2048,g)|0)){c[d>>2]=c[d>>2]|4;g=0;break}g=(Dc[c[(c[e>>2]|0)+52>>2]&31](e,g,0)|0)<<24>>24;i=c[a>>2]|0;j=i+12|0;k=c[j>>2]|0;if((k|0)==(c[i+16>>2]|0)){Ac[c[(c[i>>2]|0)+40>>2]&63](i)|0;l=h;j=h}else{c[j>>2]=k+4;Mm(c[k>>2]|0)|0;l=h;j=h}while(1){g=g+-48|0;o=f+-1|0;h=c[a>>2]|0;do if(h){i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else h=Mm(c[i>>2]|0)|0;if(gn(h,Lm()|0)|0){c[a>>2]=0;k=1;break}else{k=(c[a>>2]|0)==0;break}}else k=1;while(0);do if(j){h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else h=Mm(c[h>>2]|0)|0;if(gn(h,Lm()|0)|0){c[b>>2]=0;n=0;h=1;m=0;break}else{n=l;h=(l|0)==0;m=l;break}}else{n=l;h=1;m=0}while(0);i=c[a>>2]|0;if(!((f|0)>1&(k^h)))break;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else h=Mm(c[h>>2]|0)|0;if(!(Dc[c[(c[e>>2]|0)+12>>2]&31](e,2048,h)|0))break a;g=((Dc[c[(c[e>>2]|0)+52>>2]&31](e,h,0)|0)<<24>>24)+(g*10|0)|0;h=c[a>>2]|0;i=h+12|0;j=c[i>>2]|0;if((j|0)==(c[h+16>>2]|0)){Ac[c[(c[h>>2]|0)+40>>2]&63](h)|0;f=o;l=n;j=m;continue}else{c[i>>2]=j+4;Mm(c[j>>2]|0)|0;f=o;l=n;j=m;continue}}do if(i){h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else h=Mm(c[h>>2]|0)|0;if(gn(h,Lm()|0)|0){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);do if(n){h=c[n+12>>2]|0;if((h|0)==(c[n+16>>2]|0))h=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else h=Mm(c[h>>2]|0)|0;if(!(gn(h,Lm()|0)|0))if(i)break a;else break;else{c[b>>2]=0;p=60;break}}else p=60;while(0);if((p|0)==60?!i:0)break;c[d>>2]=c[d>>2]|2}while(0);return g|0}function Zq(a){a=a|0;cr(a+8|0);un(a);return}function _q(a){a=a|0;cr(a+8|0);un(a);cw(a);return}function $q(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;j=l;l=l+112|0;e=j+4|0;f=j;c[f>>2]=e+100;ar(b+8|0,e,f,g,h,i);i=c[f>>2]|0;h=e;e=c[d>>2]|0;while(1){if((h|0)==(i|0))break;f=a[h>>0]|0;if(!e)e=0;else{b=e+24|0;g=c[b>>2]|0;if((g|0)==(c[e+28>>2]|0)){d=c[(c[e>>2]|0)+52>>2]|0;f=ie(f)|0;f=Ic[d&31](e,f)|0}else{c[b>>2]=g+1;a[g>>0]=f;f=ie(f)|0}d=je(f,$d()|0)|0;e=d?0:e}h=h+1|0}l=j;return e|0}function ar(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;m=l;l=l+16|0;i=m;a[i>>0]=37;j=i+1|0;a[j>>0]=g;k=i+2|0;a[k>>0]=h;a[i+3>>0]=0;if(h<<24>>24){a[j>>0]=h;a[k>>0]=g}k=br(d,c[e>>2]|0)|0;c[e>>2]=d+(Vb(d|0,k|0,i|0,f|0,c[b>>2]|0)|0);l=m;return}function br(a,b){a=a|0;b=b|0;return b-a|0}function cr(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)!=(Rn()|0))Ul(c[a>>2]|0);return}function dr(a){a=a|0;cr(a+8|0);un(a);return}function er(a){a=a|0;cr(a+8|0);un(a);cw(a);return}function fr(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=l;l=l+416|0;d=i+8|0;e=i;c[e>>2]=d+400;gr(a+8|0,d,e,f,g,h);h=c[e>>2]|0;g=d;d=c[b>>2]|0;while(1){if((g|0)==(h|0))break;e=c[g>>2]|0;if(!d)d=0;else{a=d+24|0;f=c[a>>2]|0;if((f|0)==(c[d+28>>2]|0)){b=c[(c[d>>2]|0)+52>>2]|0;e=Mm(e)|0;e=Ic[b&31](d,e)|0}else{c[a>>2]=f+4;c[f>>2]=e;e=Mm(e)|0}b=gn(e,Lm()|0)|0;d=b?0:d}g=g+4|0}l=i;return d|0}function gr(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;h=l;l=l+128|0;k=h+16|0;m=h+12|0;i=h;j=h+8|0;c[m>>2]=k+100;ar(a,k,m,e,f,g);e=i;c[e>>2]=0;c[e+4>>2]=0;c[j>>2]=k;e=hr(b,c[d>>2]|0)|0;a=Zl(c[a>>2]|0)|0;e=Kl(b,j,e,i)|0;if(a|0)Zl(a)|0;if((e|0)==-1)ir(0);else{c[d>>2]=b+(e<<2);l=h;return}}function hr(a,b){a=a|0;b=b|0;return b-a>>2|0}function ir(a){a=a|0;Hb()}function jr(a){a=a|0;un(a);return}function kr(a){a=a|0;un(a);cw(a);return}function lr(a){a=a|0;return 127}function mr(a){a=a|0;return 127}function nr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function or(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function pr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function qr(b,d){b=b|0;d=d|0;var e=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+11>>0]=1;qe(b,1,45)|0;a[e>>0]=0;re(b+1|0,e);l=d;return}function rr(a){a=a|0;return 0}function sr(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function tr(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function ur(a){a=a|0;un(a);return}function vr(a){a=a|0;un(a);cw(a);return}function wr(a){a=a|0;return 127}function xr(a){a=a|0;return 127}function yr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function zr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Ar(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Br(b,d){b=b|0;d=d|0;var e=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+11>>0]=1;qe(b,1,45)|0;a[e>>0]=0;re(b+1|0,e);l=d;return}function Cr(a){a=a|0;return 0}function Dr(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Er(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Fr(a){a=a|0;un(a);return}function Gr(a){a=a|0;un(a);cw(a);return}function Hr(a){a=a|0;return 2147483647}function Ir(a){a=a|0;return 2147483647}function Jr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Kr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Lr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Mr(b,d){b=b|0;d=d|0;var e=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+8+3>>0]=1;xp(b,1,45)|0;c[e>>2]=0;An(b+4|0,e);l=d;return}function Nr(a){a=a|0;return 0}function Or(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Pr(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Qr(a){a=a|0;un(a);return}function Rr(a){a=a|0;un(a);cw(a);return}function Sr(a){a=a|0;return 2147483647}function Tr(a){a=a|0;return 2147483647}function Ur(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Vr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Wr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Xr(b,d){b=b|0;d=d|0;var e=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+8+3>>0]=1;xp(b,1,45)|0;c[e>>2]=0;An(b+4|0,e);l=d;return}function Yr(a){a=a|0;return 0}function Zr(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function _r(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function $r(a){a=a|0;un(a);return}function as(a){a=a|0;un(a);cw(a);return}function bs(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;x=l;l=l+240|0;o=x+24|0;r=x;n=x+140|0;w=x+16|0;q=x+12|0;t=x+8|0;j=x+136|0;y=x+4|0;p=x+36|0;c[w>>2]=n;v=w+4|0;c[v>>2]=109;fn(t,g);b=On(t,21672)|0;a[j>>0]=0;c[y>>2]=c[e>>2];m=c[g+4>>2]|0;c[o>>2]=c[y>>2];if(es(d,o,f,t,m,h,j,b,w,q,n+100|0)|0){rc[c[(c[b>>2]|0)+32>>2]&7](b,18832,18842,o)|0;m=c[q>>2]|0;f=c[w>>2]|0;b=m-f|0;if((b|0)>98){b=Yj(b+2|0)|0;if(!b)ew();else{k=b;s=b}}else{k=p;s=0}if(!(a[j>>0]|0))b=k;else{a[k>>0]=45;b=k+1|0}k=o+10|0;n=o;j=f;g=b;b=m;while(1){if(j>>>0>=b>>>0)break;f=a[j>>0]|0;b=o;while(1){if((b|0)==(k|0)){b=k;break}if((a[b>>0]|0)==f<<24>>24)break;b=b+1|0}a[g>>0]=a[18832+(b-n)>>0]|0;j=j+1|0;g=g+1|0;b=c[q>>2]|0}a[g>>0]=0;c[r>>2]=i;if((el(p,18843,r)|0)!=1)ir(0);if(s|0)Zj(s)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=ie(a[f>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=ie(a[f>>0]|0)|0;if(!(je(b,$d()|0)|0))if(g)break;else{u=34;break}else{c[e>>2]=0;u=32;break}}else u=32;while(0);if((u|0)==32?g:0)u=34;if((u|0)==34)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;Pn(t);b=c[w>>2]|0;c[w>>2]=0;if(b|0)wc[c[v>>2]&127](b);l=x;return f|0}function cs(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;u=l;l=l+144|0;j=u+24|0;b=u+32|0;t=u+16|0;n=u+8|0;q=u;k=u+28|0;o=u+4|0;c[t>>2]=b;s=t+4|0;c[s>>2]=109;fn(q,g);m=On(q,21672)|0;a[k>>0]=0;p=c[e>>2]|0;c[o>>2]=p;g=c[g+4>>2]|0;c[j>>2]=c[o>>2];o=p;if(es(d,j,f,q,g,h,k,m,t,n,b+100|0)|0){b=i+11|0;if((a[b>>0]|0)<0){f=c[i>>2]|0;a[j>>0]=0;re(f,j);c[i+4>>2]=0}else{a[j>>0]=0;re(i,j);a[b>>0]=0}if(a[k>>0]|0)xw(i,Ic[c[(c[m>>2]|0)+28>>2]&31](m,45)|0);k=Ic[c[(c[m>>2]|0)+28>>2]&31](m,48)|0;g=c[n>>2]|0;j=g+-1|0;b=c[t>>2]|0;while(1){if(b>>>0>=j>>>0)break;if((a[b>>0]|0)!=k<<24>>24)break;b=b+1|0}fs(i,b,g)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=ie(a[g>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(p){b=c[o+12>>2]|0;if((b|0)==(c[o+16>>2]|0))b=Ac[c[(c[p>>2]|0)+36>>2]&63](o)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(g)break;else{r=27;break}else{c[e>>2]=0;r=25;break}}else r=25;while(0);if((r|0)==25?g:0)r=27;if((r|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;Pn(q);b=c[t>>2]|0;c[t>>2]=0;if(b|0)wc[c[s>>2]&127](b);l=u;return g|0}function ds(a){a=a|0;return}function es(e,f,g,h,i,j,k,m,n,o,p){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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+512|0;J=_+88|0;P=_+96|0;Z=_+80|0;R=_+72|0;K=_+68|0;L=_+500|0;M=_+497|0;N=_+496|0;T=_+56|0;U=_+44|0;V=_+32|0;W=_+20|0;X=_+8|0;O=_+4|0;S=_;c[J>>2]=p;c[Z>>2]=P;Y=Z+4|0;c[Y>>2]=109;c[R>>2]=P;c[K>>2]=P+400;c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;p=0;while(1){if((p|0)==3)break;c[T+(p<<2)>>2]=0;p=p+1|0}c[U>>2]=0;c[U+4>>2]=0;c[U+8>>2]=0;p=0;while(1){if((p|0)==3)break;c[U+(p<<2)>>2]=0;p=p+1|0}c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=0;p=0;while(1){if((p|0)==3)break;c[V+(p<<2)>>2]=0;p=p+1|0}c[W>>2]=0;c[W+4>>2]=0;c[W+8>>2]=0;p=0;while(1){if((p|0)==3)break;c[W+(p<<2)>>2]=0;p=p+1|0}c[X>>2]=0;c[X+4>>2]=0;c[X+8>>2]=0;p=0;while(1){if((p|0)==3)break;c[X+(p<<2)>>2]=0;p=p+1|0}hs(g,h,L,M,N,T,U,V,W,O);c[o>>2]=c[n>>2];E=m+8|0;F=V+11|0;G=V+4|0;H=W+11|0;I=W+4|0;w=(i&512|0)!=0;x=U+11|0;y=U+4|0;z=X+11|0;A=X+4|0;B=L+3|0;C=T+11|0;D=T+4|0;P=0;v=0;a:while(1){m=(P|0)!=0;if(v>>>0>=4){Q=234;break}p=c[e>>2]|0;do if(p){g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if(je(p,$d()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);g=c[f>>2]|0;do if(g){p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0))p=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else p=ie(a[p>>0]|0)|0;if(!(je(p,$d()|0)|0))if(h){u=g;break}else{Q=234;break a}else{c[f>>2]=0;Q=31;break}}else Q=31;while(0);if((Q|0)==31){Q=0;if(h){Q=234;break}else u=0}p=(v|0)!=3;b:do switch(a[L+v>>0]|0){case 1:{if(p){p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if((p&255)<<24>>24<=-1){Q=44;break a}if(!(b[(c[E>>2]|0)+(p<<24>>24<<1)>>1]&8192)){Q=44;break a}p=c[e>>2]|0;g=p+12|0;h=c[g>>2]|0;if((h|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+40>>2]&63](p)|0;else{c[g>>2]=h+1;p=ie(a[h>>0]|0)|0}xw(X,p&255);p=u;m=u;Q=46}else p=P;break}case 0:{if(p){p=u;m=u;Q=46}else p=P;break}case 3:{p=a[F>>0]|0;p=p<<24>>24<0?c[G>>2]|0:p&255;m=a[H>>0]|0;m=m<<24>>24<0?c[I>>2]|0:m&255;if((p|0)==(0-m|0))p=P;else{i=(p|0)==0;p=c[e>>2]|0;g=c[p+12>>2]|0;h=(g|0)==(c[p+16>>2]|0);if(i|(m|0)==0){if(h)p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;p=p&255;if(i){if(p<<24>>24!=(a[((a[H>>0]|0)<0?c[W>>2]|0:W)>>0]|0)){p=P;break b}p=c[e>>2]|0;g=p+12|0;h=c[g>>2]|0;if((h|0)==(c[p+16>>2]|0))Ac[c[(c[p>>2]|0)+40>>2]&63](p)|0;else{c[g>>2]=h+1;ie(a[h>>0]|0)|0}a[k>>0]=1;p=a[H>>0]|0;p=(p<<24>>24<0?c[I>>2]|0:p&255)>>>0>1?W:P;break b}if(p<<24>>24!=(a[((a[F>>0]|0)<0?c[V>>2]|0:V)>>0]|0)){a[k>>0]=1;p=P;break b}p=c[e>>2]|0;g=p+12|0;h=c[g>>2]|0;if((h|0)==(c[p+16>>2]|0))Ac[c[(c[p>>2]|0)+40>>2]&63](p)|0;else{c[g>>2]=h+1;ie(a[h>>0]|0)|0}p=a[F>>0]|0;p=(p<<24>>24<0?c[G>>2]|0:p&255)>>>0>1?V:P;break b}if(h)p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;g=c[e>>2]|0;h=g+12|0;m=c[h>>2]|0;i=(m|0)==(c[g+16>>2]|0);if((p&255)<<24>>24==(a[((a[F>>0]|0)<0?c[V>>2]|0:V)>>0]|0)){if(i)Ac[c[(c[g>>2]|0)+40>>2]&63](g)|0;else{c[h>>2]=m+1;ie(a[m>>0]|0)|0}p=a[F>>0]|0;p=(p<<24>>24<0?c[G>>2]|0:p&255)>>>0>1?V:P;break b}if(i)p=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else p=ie(a[m>>0]|0)|0;if((p&255)<<24>>24!=(a[((a[H>>0]|0)<0?c[W>>2]|0:W)>>0]|0)){Q=103;break a}p=c[e>>2]|0;g=p+12|0;h=c[g>>2]|0;if((h|0)==(c[p+16>>2]|0))Ac[c[(c[p>>2]|0)+40>>2]&63](p)|0;else{c[g>>2]=h+1;ie(a[h>>0]|0)|0}a[k>>0]=1;p=a[H>>0]|0;p=(p<<24>>24<0?c[I>>2]|0:p&255)>>>0>1?W:P}break}case 2:{if(!(v>>>0<2|m)?!(w|(v|0)==2&(a[B>>0]|0)!=0):0){p=0;break b}g=a[x>>0]|0;p=g<<24>>24<0;s=c[U>>2]|0;h=p?s:U;r=h;c:do if((v|0)!=0?(d[L+(v+-1)>>0]|0)<2:0){p=h+(p?c[y>>2]|0:g&255)|0;q=r;while(1){m=q;if((m|0)==(p|0))break;i=a[m>>0]|0;if(i<<24>>24<=-1)break;if(!(b[(c[E>>2]|0)+(i<<24>>24<<1)>>1]&8192))break;q=m+1|0}i=q-r|0;m=a[z>>0]|0;p=m<<24>>24<0;m=p?c[A>>2]|0:m&255;if(i>>>0<=m>>>0){m=(p?c[X>>2]|0:X)+m|0;p=m+(0-i)|0;while(1){if((p|0)==(m|0)){t=u;h=q;p=s;m=u;break c}if((a[p>>0]|0)!=(a[h>>0]|0)){t=u;h=r;p=s;m=u;break c}h=h+1|0;p=p+1|0}}else{t=u;h=r;p=s;m=u}}else{t=u;h=r;p=s;m=u}while(0);d:while(1){q=g<<24>>24<0;p=(q?p:U)+(q?c[y>>2]|0:g&255)|0;q=h;if((q|0)==(p|0))break;p=c[e>>2]|0;do if(p){g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if(je(p,$d()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(m){p=c[m+12>>2]|0;if((p|0)==(c[m+16>>2]|0))p=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else p=ie(a[p>>0]|0)|0;if(!(je(p,$d()|0)|0))if(g^(t|0)==0){p=t;i=t;break}else{p=q;break d}else{c[f>>2]=0;p=0;Q=132;break}}else{p=t;Q=132}while(0);if((Q|0)==132){Q=0;if(g){p=q;break}else i=0}g=c[e>>2]|0;h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else g=ie(a[h>>0]|0)|0;if((g&255)<<24>>24!=(a[q>>0]|0)){p=q;break}g=c[e>>2]|0;h=g+12|0;m=c[h>>2]|0;if((m|0)==(c[g+16>>2]|0))Ac[c[(c[g>>2]|0)+40>>2]&63](g)|0;else{c[h>>2]=m+1;ie(a[m>>0]|0)|0}t=p;h=q+1|0;g=a[x>>0]|0;p=c[U>>2]|0;m=i}if(w?(u=a[x>>0]|0,t=u<<24>>24<0,(p|0)!=((t?c[U>>2]|0:U)+(t?c[y>>2]|0:u&255)|0)):0){Q=144;break a}else p=P;break}case 4:{r=0;p=u;m=u;e:while(1){g=c[e>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else g=ie(a[h>>0]|0)|0;if(je(g,$d()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);do if(m){g=c[m+12>>2]|0;if((g|0)==(c[m+16>>2]|0))g=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else g=ie(a[g>>0]|0)|0;if(!(je(g,$d()|0)|0))if(h^(p|0)==0){i=p;q=p;break}else{m=p;break e}else{c[f>>2]=0;p=0;Q=158;break}}else Q=158;while(0);if((Q|0)==158){Q=0;if(h){m=p;break}else{i=p;q=0}}p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;g=p&255;if(g<<24>>24>-1?(b[(c[E>>2]|0)+(p<<24>>24<<1)>>1]&2048)!=0:0){p=c[o>>2]|0;if((p|0)==(c[J>>2]|0)){is(n,o,J);p=c[o>>2]|0}c[o>>2]=p+1;a[p>>0]=g;p=r+1|0}else{u=a[C>>0]|0;if(!(g<<24>>24==(a[N>>0]|0)&(r|0?((u<<24>>24<0?c[D>>2]|0:u&255)|0)!=0:0))){m=i;break}p=c[R>>2]|0;if((p|0)==(c[K>>2]|0)){js(Z,R,K);p=c[R>>2]|0}c[R>>2]=p+4;c[p>>2]=r;p=0}g=c[e>>2]|0;h=g+12|0;m=c[h>>2]|0;if((m|0)==(c[g+16>>2]|0)){Ac[c[(c[g>>2]|0)+40>>2]&63](g)|0;r=p;p=i;m=q;continue}else{c[h>>2]=m+1;ie(a[m>>0]|0)|0;r=p;p=i;m=q;continue}}p=c[R>>2]|0;if(r|0?(c[Z>>2]|0)!=(p|0):0){if((p|0)==(c[K>>2]|0)){js(Z,R,K);p=c[R>>2]|0}c[R>>2]=p+4;c[p>>2]=r}f:do if((c[O>>2]|0)>0){p=c[e>>2]|0;do if(p){g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if(je(p,$d()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(m){p=c[m+12>>2]|0;if((p|0)==(c[m+16>>2]|0))p=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else p=ie(a[p>>0]|0)|0;if(!(je(p,$d()|0)|0))if(g)break;else{Q=232;break a}else{c[f>>2]=0;Q=193;break}}else Q=193;while(0);if((Q|0)==193){Q=0;if(g){Q=232;break a}else m=0}p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if((p&255)<<24>>24!=(a[M>>0]|0)){Q=232;break a}p=c[e>>2]|0;g=p+12|0;h=c[g>>2]|0;if((h|0)==(c[p+16>>2]|0)){Ac[c[(c[p>>2]|0)+40>>2]&63](p)|0;p=m}else{c[g>>2]=h+1;ie(a[h>>0]|0)|0;p=m}while(1){if((c[O>>2]|0)<=0)break f;g=c[e>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else g=ie(a[h>>0]|0)|0;if(je(g,$d()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);do if(m){g=c[m+12>>2]|0;if((g|0)==(c[m+16>>2]|0))g=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else g=ie(a[g>>0]|0)|0;if(!(je(g,$d()|0)|0))if(h^(p|0)==0){i=p;m=p;break}else{Q=232;break a}else{c[f>>2]=0;p=0;Q=216;break}}else Q=216;while(0);if((Q|0)==216){Q=0;if(h){Q=232;break a}else{i=p;m=0}}p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if((p&255)<<24>>24<=-1){Q=232;break a}if(!(b[(c[E>>2]|0)+(p<<24>>24<<1)>>1]&2048)){Q=232;break a}if((c[o>>2]|0)==(c[J>>2]|0))is(n,o,J);p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;g=c[o>>2]|0;c[o>>2]=g+1;a[g>>0]=p;c[O>>2]=(c[O>>2]|0)+-1;p=c[e>>2]|0;g=p+12|0;h=c[g>>2]|0;if((h|0)==(c[p+16>>2]|0)){Ac[c[(c[p>>2]|0)+40>>2]&63](p)|0;p=i;continue}else{c[g>>2]=h+1;ie(a[h>>0]|0)|0;p=i;continue}}}while(0);if((c[o>>2]|0)==(c[n>>2]|0)){Q=232;break a}else p=P;break}default:p=P}while(0);g:do if((Q|0)==46)while(1){Q=0;g=c[e>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Ac[c[(c[g>>2]|0)+36>>2]&63](g)|0;else g=ie(a[h>>0]|0)|0;if(je(g,$d()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);do if(m){g=c[m+12>>2]|0;if((g|0)==(c[m+16>>2]|0))g=Ac[c[(c[m>>2]|0)+36>>2]&63](m)|0;else g=ie(a[g>>0]|0)|0;if(!(je(g,$d()|0)|0))if(h^(p|0)==0){i=p;m=p;break}else{p=P;break g}else{c[f>>2]=0;p=0;Q=59;break}}else Q=59;while(0);if((Q|0)==59){Q=0;if(h){p=P;break g}else{i=p;m=0}}p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if((p&255)<<24>>24<=-1){p=P;break g}if(!(b[(c[E>>2]|0)+(p<<24>>24<<1)>>1]&8192)){p=P;break g}p=c[e>>2]|0;g=p+12|0;h=c[g>>2]|0;if((h|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+40>>2]&63](p)|0;else{c[g>>2]=h+1;p=ie(a[h>>0]|0)|0}xw(X,p&255);p=i;Q=46}while(0);P=p;v=v+1|0}h:do if((Q|0)==44){c[j>>2]=c[j>>2]|4;g=0}else if((Q|0)==103){c[j>>2]=c[j>>2]|4;g=0}else if((Q|0)==144){c[j>>2]=c[j>>2]|4;g=0}else if((Q|0)==232){c[j>>2]=c[j>>2]|4;g=0}else if((Q|0)==234){i:do if(m){i=P+11|0;q=P+4|0;m=1;j:while(1){p=a[i>>0]|0;if(p<<24>>24<0)p=c[q>>2]|0;else p=p&255;if(m>>>0>=p>>>0)break i;p=c[e>>2]|0;do if(p){g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if(je(p,$d()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);p=c[f>>2]|0;do if(p){g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if(!(je(p,$d()|0)|0))if(h)break;else break j;else{c[f>>2]=0;Q=253;break}}else Q=253;while(0);if((Q|0)==253?(Q=0,h):0)break;p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else p=ie(a[g>>0]|0)|0;if((a[i>>0]|0)<0)g=c[P>>2]|0;else g=P;if((p&255)<<24>>24!=(a[g+m>>0]|0))break;p=m+1|0;g=c[e>>2]|0;h=g+12|0;m=c[h>>2]|0;if((m|0)==(c[g+16>>2]|0)){Ac[c[(c[g>>2]|0)+40>>2]&63](g)|0;m=p;continue}else{c[h>>2]=m+1;ie(a[m>>0]|0)|0;m=p;continue}}c[j>>2]=c[j>>2]|4;g=0;break h}while(0);g=c[Z>>2]|0;p=c[R>>2]|0;if((g|0)!=(p|0)){c[S>>2]=0;bo(T,g,p,S);if(!(c[S>>2]|0)){g=1;break}else{c[j>>2]=c[j>>2]|4;g=0;break}}else g=1}while(0);mw(X);mw(W);mw(V);mw(U);mw(T);p=c[Z>>2]|0;c[Z>>2]=0;if(p|0)wc[c[Y>>2]&127](p);l=_;return g|0}function fs(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;k=d;p=q+12|0;i=q;o=b+11|0;g=a[o>>0]|0;f=g<<24>>24<0;if(f){m=c[b+4>>2]|0;j=(c[b+8>>2]&2147483647)+-1|0}else{m=g&255;j=10}n=e-k|0;do if(n|0){if(f){g=c[b>>2]|0;h=g;f=c[b+4>>2]|0}else{h=b;f=g&255;g=b}if(gs(d,g,h+f|0)|0){c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;if(n>>>0>4294967279)jw(i);if(n>>>0<11){a[i+11>>0]=n;g=i}else{o=n+16&-16;g=aw(o)|0;c[i>>2]=g;c[i+8>>2]=o|-2147483648;c[i+4>>2]=n}f=g;while(1){if((d|0)==(e|0))break;re(f,d);d=d+1|0;f=f+1|0}a[p>>0]=0;re(g+n|0,p);p=a[i+11>>0]|0;e=p<<24>>24<0;ww(b,e?c[i>>2]|0:i,e?c[i+4>>2]|0:p&255)|0;mw(i);break}i=m+n|0;if((j-m|0)>>>0<n>>>0)vw(b,j,i-j|0,m,m,0,0);if((a[o>>0]|0)<0)h=c[b>>2]|0;else h=b;g=e+(m-k)|0;f=h+m|0;while(1){if((d|0)==(e|0))break;re(f,d);f=f+1|0;d=d+1|0}a[p>>0]=0;re(h+g|0,p);if((a[o>>0]|0)<0){c[b+4>>2]=i;break}else{a[o>>0]=i;break}}while(0);l=q;return b|0}function gs(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0<c>>>0|0}
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,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[5260]|0;d=n>>>a;if(d&3|0){b=(d&1^1)+a|0;a=21080+(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[5260]=n&~(1<<b);else{c[g+12>>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[5262]|0;if(k>>>0>m>>>0){if(d|0){b=2<<a;b=d<<a&(b|0-b);b=(b&0-b)+-1|0;h=b>>>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=21080+(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<<e);c[5260]=a}else{c[d+12>>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[5265]|0;b=m>>>3;d=21080+(b<<1<<2)|0;b=1<<b;if(!(a&b)){c[5260]=a|b;b=d;a=d+8|0}else{a=d+8|0;b=c[a>>2]|0}c[a>>2]=f;c[b+12>>2]=f;c[f+8>>2]=b;c[f+12>>2]=d}c[5262]=g;c[5265]=e;w=h;l=x;return w|0}i=c[5261]|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[21344+((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<d>>>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<h>>>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=21344+(b<<2)|0;if((j|0)==(c[a>>2]|0)){c[a>>2]=d;if(!d){c[5261]=i&~(1<<b);break}}else{c[f+16+(((c[f+16>>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[5265]|0;b=m>>>3;d=21080+(b<<1<<2)|0;b=1<<b;if(!(n&b)){c[5260]=n|b;b=d;a=d+8|0}else{a=d+8|0;b=c[a>>2]|0}c[a>>2]=e;c[b+12>>2]=e;c[e+8>>2]=b;c[e+12>>2]=d}c[5262]=g;c[5265]=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[5261]|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<<n;m=(v+520192|0)>>>16&4;v=v<<m;i=(v+245760|0)>>>16&2;i=14-(m|n|i)+(v<<i>>>15)|0;i=k>>>(i+7|0)&1|i<<1}else i=0;d=c[21344+(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<e>>>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<<i;a=j&(a|0-a);if(!a){n=k;break}n=(a&0-a)+-1|0;h=n>>>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[21344+((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<e>>>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[5262]|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=21344+(a<<2)|0;if((i|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){e=j&~(1<<a);c[5261]=e;break}}else{c[f+16+(((c[f+16>>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=21080+(b<<1<<2)|0;a=c[5260]|0;b=1<<b;if(!(a&b)){c[5260]=a|b;b=d;a=d+8|0}else{a=d+8|0;b=c[a>>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<<v;u=(w+520192|0)>>>16&4;w=w<<u;b=(w+245760|0)>>>16&2;b=14-(u|v|b)+(w<<b>>>15)|0;b=h>>>(b+7|0)&1|b<<1}else b=0;d=21344+(b<<2)|0;c[g+28>>2]=b;a=g+16|0;c[a+4>>2]=0;c[a>>2]=0;a=1<<b;if(!(e&a)){c[5261]=e|a;c[d>>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[5262]|0;if(d>>>0>=n>>>0){b=d-n|0;a=c[5265]|0;if(b>>>0>15){w=a+n|0;c[5265]=w;c[5262]=b;c[w+4>>2]=b|1;c[w+b>>2]=b;c[a+4>>2]=n|3}else{c[5262]=0;c[5265]=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[5263]|0;if(h>>>0>n>>>0){u=h-n|0;c[5263]=u;w=c[5266]|0;v=w+n|0;c[5266]=v;c[v+4>>2]=u|1;c[w+4>>2]=n|3;w=w+8|0;l=x;return w|0}if(!(c[5378]|0)){c[5380]=4096;c[5379]=4096;c[5381]=-1;c[5382]=-1;c[5383]=0;c[5371]=0;a=o&-16^1431655768;c[o>>2]=a;c[5378]=a;a=4096}else a=c[5380]|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[5370]|0;if(a|0?(m=c[5368]|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[5371]&4)){d=c[5266]|0;c:do if(d){e=21488;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=Ux(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=Ux(0)|0;if((d|0)!=(-1|0)?(b=d,p=c[5379]|0,q=p+-1|0,b=((q&b|0)==0?0:(q+b&0-p)-b|0)+k|0,p=c[5368]|0,q=b+p|0,b>>>0>n>>>0&b>>>0<2147483647):0){r=c[5370]|0;if(r|0?q>>>0<=p>>>0|q>>>0>r>>>0:0){b=0;break}a=Ux(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[5380]|0;a=j-b+a&0-a;if(a>>>0>=2147483647){h=b;g=e;v=135;break b}if((Ux(a|0)|0)==(-1|0)){Ux(d|0)|0;b=0;break}else{h=a+b|0;g=e;v=135;break b}}while(0);c[5371]=c[5371]|4;v=133}else{b=0;v=133}while(0);if(((v|0)==133?k>>>0<2147483647:0)?(u=Ux(k|0)|0,r=Ux(0)|0,s=r-u|0,t=s>>>0>(n+40|0)>>>0,!((u|0)==(-1|0)|t^1|u>>>0<r>>>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[5368]|0)+h|0;c[5368]=b;if(b>>>0>(c[5369]|0)>>>0)c[5369]=b;j=c[5266]|0;do if(j){b=21488;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<g>>>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[5263]|0)+(h-w)|0;c[5266]=v;c[5263]=w;c[v+4>>2]=w|1;c[v+w+4>>2]=40;c[5267]=c[5382];break}if(g>>>0<(c[5264]|0)>>>0)c[5264]=g;d=g+h|0;b=21488;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[5265]|0)){w=(c[5262]|0)+i|0;c[5262]=w;c[5265]=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[5260]=c[5260]&~(1<<e);break}else{c[a+12>>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=21344+(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[5261]=c[5261]&~(1<<d);break d}while(0);c[a+24>>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=21080+(b<<1<<2)|0;a=c[5260]|0;b=1<<b;if(!(a&b)){c[5260]=a|b;b=d;a=d+8|0}else{a=d+8|0;b=c[a>>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<<v;u=(w+520192|0)>>>16&4;w=w<<u;b=(w+245760|0)>>>16&2;b=14-(u|v|b)+(w<<b>>>15)|0;b=f>>>(b+7|0)&1|b<<1}while(0);e=21344+(b<<2)|0;c[k+28>>2]=b;a=k+16|0;c[a+4>>2]=0;c[a>>2]=0;a=c[5261]|0;d=1<<b;if(!(a&d)){c[5261]=a|d;c[e>>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[5263]|0)+i|0;c[5263]=w;c[5266]=k;c[k+4>>2]=w|1}while(0);w=m+8|0;l=x;return w|0}b=21488;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<f>>>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[5266]=v;c[5263]=d;c[v+4>>2]=d|1;c[v+d+4>>2]=40;c[5267]=c[5382];d=a+4|0;c[d>>2]=27;c[b>>2]=c[5372];c[b+4>>2]=c[5373];c[b+8>>2]=c[5374];c[b+12>>2]=c[5375];c[5372]=g;c[5373]=h;c[5375]=0;c[5374]=b;b=a+24|0;do{v=b;b=b+4|0;c[b>>2]=7}while((v+8|0)>>>0<w>>>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=21080+(b<<1<<2)|0;a=c[5260]|0;b=1<<b;if(!(a&b)){c[5260]=a|b;b=d;a=d+8|0}else{a=d+8|0;b=c[a>>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<<v;u=(w+520192|0)>>>16&4;w=w<<u;d=(w+245760|0)>>>16&2;d=14-(u|v|d)+(w<<d>>>15)|0;d=g>>>(d+7|0)&1|d<<1}else d=0;e=21344+(d<<2)|0;c[j+28>>2]=d;c[j+20>>2]=0;c[f>>2]=0;b=c[5261]|0;a=1<<d;if(!(b&a)){c[5261]=b|a;c[e>>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[5264]|0;if((w|0)==0|g>>>0<w>>>0)c[5264]=g;c[5372]=g;c[5373]=h;c[5375]=0;c[5269]=c[5378];c[5268]=-1;b=0;do{w=21080+(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[5266]=v;c[5263]=w;c[v+4>>2]=w|1;c[v+w+4>>2]=40;c[5267]=c[5382]}while(0);b=c[5263]|0;if(b>>>0>n>>>0){u=b-n|0;c[5263]=u;w=c[5266]|0;v=w+n|0;c[5266]=v;c[v+4>>2]=u|1;c[w+4>>2]=n|3;w=w+8|0;l=x;return w|0}}c[(ek()|0)>>2]=12;w=0;l=x;return w|0}function Zj(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[5264]|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<f>>>0)return;if((h|0)==(c[5265]|0)){a=j+4|0;b=c[a>>2]|0;if((b&3|0)!=3){i=h;b=g;break}c[5262]=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[5260]=c[5260]&~(1<<d);i=h;b=g;break}else{c[a+12>>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=21344+(b<<2)|0;if((h|0)==(c[d>>2]|0)){c[d>>2]=a;if(!a){c[5261]=c[5261]&~(1<<b);i=h;b=g;break}}else{c[f+16+(((c[f+16>>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[5265]|0;if((j|0)==(c[5266]|0)){j=(c[5263]|0)+b|0;c[5263]=j;c[5266]=i;c[i+4>>2]=j|1;if((i|0)!=(a|0))return;c[5265]=0;c[5262]=0;return}if((j|0)==(a|0)){j=(c[5262]|0)+b|0;c[5262]=j;c[5265]=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[5260]=c[5260]&~(1<<d);break}else{c[b+12>>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=21344+(a<<2)|0;if((j|0)==(c[b>>2]|0)){c[b>>2]=d;if(!d){c[5261]=c[5261]&~(1<<a);break}}else{c[g+16+(((c[g+16>>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[5265]|0)){c[5262]=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=21080+(a<<1<<2)|0;b=c[5260]|0;a=1<<a;if(!(b&a)){c[5260]=b|a;a=d;b=d+8|0}else{b=d+8|0;a=c[b>>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<<h;g=(j+520192|0)>>>16&4;j=j<<g;a=(j+245760|0)>>>16&2;a=14-(g|h|a)+(j<<a>>>15)|0;a=f>>>(a+7|0)&1|a<<1}else a=0;e=21344+(a<<2)|0;c[i+28>>2]=a;c[i+20>>2]=0;c[i+16>>2]=0;b=c[5261]|0;d=1<<a;do if(b&d){b=f<<((a|0)==31?0:25-(a>>>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[5261]=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[5268]|0)+-1|0;c[5268]=j;if(!j)a=21496;else return;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[5268]=-1;return}function _j(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){b=Yj(b)|0;return b|0}if(b>>>0>4294967231){c[(ek()|0)>>2]=12;b=0;return b|0}d=$j(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(d|0){b=d+8|0;return b|0}d=Yj(b)|0;if(!d){b=0;return b|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;Ox(d|0,a|0,(e>>>0<b>>>0?e:b)|0)|0;Zj(a);b=d;return b|0}function $j(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;l=c[m>>2]|0;d=l&-8;i=a+d|0;if(!(l&3)){if(b>>>0<256){a=0;return a|0}if(d>>>0>=(b+4|0)>>>0?(d-b|0)>>>0<=c[5380]<<1>>>0:0)return a|0;a=0;return a|0}if(d>>>0>=b>>>0){d=d-b|0;if(d>>>0<=15)return a|0;k=a+b|0;c[m>>2]=l&1|b|2;c[k+4>>2]=d|3;m=k+d+4|0;c[m>>2]=c[m>>2]|1;ak(k,d);return a|0}if((i|0)==(c[5266]|0)){k=(c[5263]|0)+d|0;d=k-b|0;e=a+b|0;if(k>>>0<=b>>>0){a=0;return a|0}c[m>>2]=l&1|b|2;c[e+4>>2]=d|1;c[5266]=e;c[5263]=d;return a|0}if((i|0)==(c[5265]|0)){f=(c[5262]|0)+d|0;if(f>>>0<b>>>0){a=0;return a|0}d=f-b|0;e=l&1;if(d>>>0>15){l=a+b|0;k=l+d|0;c[m>>2]=e|b|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[m>>2]=e|f|2;e=a+f+4|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[5262]=d;c[5265]=e;return a|0}e=c[i+4>>2]|0;if(e&2|0){a=0;return a|0}j=(e&-8)+d|0;if(j>>>0<b>>>0){a=0;return a|0}k=j-b|0;f=e>>>3;do if(e>>>0<256){e=c[i+8>>2]|0;d=c[i+12>>2]|0;if((d|0)==(e|0)){c[5260]=c[5260]&~(1<<f);break}else{c[e+12>>2]=d;c[d+8>>2]=e;break}}else{h=c[i+24>>2]|0;d=c[i+12>>2]|0;do if((d|0)==(i|0)){f=i+16|0;e=f+4|0;d=c[e>>2]|0;if(!d){d=c[f>>2]|0;if(!d){f=0;break}else g=f}else g=e;while(1){f=d+20|0;e=c[f>>2]|0;if(e|0){d=e;g=f;continue}e=d+16|0;f=c[e>>2]|0;if(!f)break;else{d=f;g=e}}c[g>>2]=0;f=d}else{f=c[i+8>>2]|0;c[f+12>>2]=d;c[d+8>>2]=f;f=d}while(0);if(h|0){d=c[i+28>>2]|0;e=21344+(d<<2)|0;if((i|0)==(c[e>>2]|0)){c[e>>2]=f;if(!f){c[5261]=c[5261]&~(1<<d);break}}else{c[h+16+(((c[h+16>>2]|0)!=(i|0)&1)<<2)>>2]=f;if(!f)break}c[f+24>>2]=h;d=i+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=l&1;if(k>>>0<16){c[m>>2]=j|d|2;m=a+j+4|0;c[m>>2]=c[m>>2]|1;return a|0}else{l=a+b|0;c[m>>2]=d|b|2;c[l+4>>2]=k|3;m=l+k+4|0;c[m>>2]=c[m>>2]|1;ak(l,k);return a|0}return 0}function ak(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[5265]|0)){a=j+4|0;d=c[a>>2]|0;if((d&3|0)!=3){i=g;d=h;break}c[5262]=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[5260]=c[5260]&~(1<<b);i=g;d=h;break}else{c[a+12>>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=21344+(d<<2)|0;if((g|0)==(c[b>>2]|0)){c[b>>2]=a;if(!a){c[5261]=c[5261]&~(1<<d);i=g;d=h;break}}else{c[f+16+(((c[f+16>>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[5265]|0;if((j|0)==(c[5266]|0)){j=(c[5263]|0)+d|0;c[5263]=j;c[5266]=i;c[i+4>>2]=j|1;if((i|0)!=(a|0))return;c[5265]=0;c[5262]=0;return}if((j|0)==(a|0)){j=(c[5262]|0)+d|0;c[5262]=j;c[5265]=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[5260]=c[5260]&~(1<<b);break}else{c[d+12>>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=21344+(a<<2)|0;if((j|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){c[5261]=c[5261]&~(1<<a);break}}else{c[f+16+(((c[f+16>>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[5265]|0)){c[5262]=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=21080+(a<<1<<2)|0;d=c[5260]|0;a=1<<a;if(!(d&a)){c[5260]=d|a;a=b;d=b+8|0}else{d=b+8|0;a=c[d>>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<<h;g=(j+520192|0)>>>16&4;j=j<<g;a=(j+245760|0)>>>16&2;a=14-(g|h|a)+(j<<a>>>15)|0;a=d>>>(a+7|0)&1|a<<1}else a=0;f=21344+(a<<2)|0;c[i+28>>2]=a;c[i+20>>2]=0;c[i+16>>2]=0;b=c[5261]|0;e=1<<a;if(!(b&e)){c[5261]=b|e;c[f>>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 bk(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=hk(c[a+60>>2]|0)|0;a=dk(fb(6,d|0)|0)|0;l=b;return a|0}function ck(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((dk(Oa(140,g|0)|0)|0)<0){c[e>>2]=-1;a=-1}else a=c[e>>2]|0;l=f;return a|0}function dk(a){a=a|0;if(a>>>0>4294963200){c[(ek()|0)>>2]=0-a;a=-1}return a|0}function ek(){return (fk()|0)+64|0}function fk(){return gk()|0}function gk(){return 2892}function hk(a){a=a|0;return a|0}function ik(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]=6;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,fc(54,f|0)|0):0)a[b+75>>0]=-1;f=jk(b,d,e)|0;l=g;return f|0}function jk(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=dk(Qa(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=dk(Qa(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 kk(){return 21536}function lk(){return}function mk(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;lk();c[e>>2]=a;c[e+4>>2]=b;b=dk(Ya(91,e|0)|0)|0;l=d;return b|0}function nk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=d&255;a:do if(!f)b=b+(ok(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=P(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 ok(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 pk(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 qk(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){i=6;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);if((i|0)==5)if(f)i=6;else e=0;b:do if((i|0)==6){g=d&255;if((a[b>>0]|0)!=g<<24>>24){f=P(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}}}}while(0);return (e|0?b:0)|0}function rk(a){a=a|0;var b=0,c=0;c=(ok(a)|0)+1|0;b=Yj(c)|0;if(!b)b=0;else Ox(b|0,a|0,c|0)|0;return b|0}function sk(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=tk(a,b,d,g)|0;l=f;return e|0}function tk(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=3668;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[(ek()|0)>>2]=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=uk(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 uk(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+224|0;n=s+120|0;p=s+80|0;q=s;r=s+136|0;f=p;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((vk(0,d,n,q,p)|0)<0)e=-1;else{if((c[b+76>>2]|0)>-1)o=wk(b)|0;else o=0;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]=r;i=b+28|0;c[i>>2]=r;j=b+20|0;c[j>>2]=r;c[f>>2]=80;k=b+16|0;c[k>>2]=r+80;e=vk(b,d,n,q,p)|0;if(h){Dc[c[b+36>>2]&31](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=vk(b,d,n,q,p)|0;f=c[b>>2]|0;c[b>>2]=f|m;if(o|0)xk(b);e=(f&32|0)==0?e:-1}l=s;return e|0}function vk(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,z=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;z=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[(ek()|0)>>2]=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)yk(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<<m;if(!(k&75913)){k=q;break d}o=k|o;n=n+1|0;c[D>>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=zk(D)|0;if((k|0)<0){j=-1;break}n=c[D>>2]|0}do if((a[n>>0]|0)==46){if((a[n+1>>0]|0)!=42){c[D>>2]=n+1;m=zk(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+(14403+(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}Ak(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=Ck(e,n,y)|0;s=z-r|0;o=0;q=14867;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=Hx(0,0,e|0,n|0)|0;n=A;o=E;c[o>>2]=e;c[o+4>>2]=n;o=1;q=14867;w=66;break e}else{o=(u&2049|0)!=0&1;q=(u&2048|0)==0?((u&1|0)==0?14867:14869):14868;w=66;break e}}case 117:{n=E;o=0;q=14867;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=14867;r=y;n=1;m=s;break}case 109:{n=Ek(c[(ek()|0)>>2]|0)|0;w=71;break}case 115:{n=c[E>>2]|0;n=n|0?n:14877;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){Fk(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=Hk(d,+h[E>>3],k,m,u,n)|0;e=v;continue a}default:{o=0;q=14867;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=Bk(t,u,y,n&32)|0;q=(e&8|0)==0|(t|0)==0&(u|0)==0;o=q?0:2;q=q?14867:14867+(n>>4)|0;s=e;e=t;n=u;w=67}else if((w|0)==66){r=Dk(e,n,y)|0;s=u;w=67}else if((w|0)==71){w=0;u=qk(n,0,m)|0;t=(u|0)==0;e=n;o=0;q=14867;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=Gk(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}Fk(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=Gk(G,m)|0;o=m+o|0;if((o|0)>(e|0)){w=84;break f}yk(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)+(z-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;Fk(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;Fk(d,32,k,u,m);yk(d,q,o);Fk(d,48,k,u,m^65536);Fk(d,48,s,t,0);yk(d,e,t);Fk(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)break;Ak(g+(j<<3)|0,e,f);j=j+1|0;if((j|0)>=10){j=1;break g}}while(1){if(c[i+(j<<2)>>2]|0){j=-1;break g}j=j+1|0;if((j|0)>=10){j=1;break}}}while(0);l=H;return j|0}function wk(a){a=a|0;return 0}function xk(a){a=a|0;return}function yk(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))Tk(b,d,a)|0;return}function zk(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 Ak(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 Bk(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[14915+(b&15)>>0]|0|f;b=Mx(b|0,c|0,4)|0;c=A}while(!((b|0)==0&(c|0)==0));return e|0}function Ck(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=Mx(b|0,c|0,3)|0;c=A}while(!((b|0)==0&(c|0)==0));return d|0}function Dk(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=Xx(b|0,c|0,10,0)|0;d=d+-1|0;a[d>>0]=e&255|48;e=b;b=Rx(b|0,c|0,10,0)|0;if(!(c>>>0>9|(c|0)==9&e>>>0>4294967295))break;else c=A}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 Ek(a){a=a|0;return Ok(a,c[(Nk()|0)+188>>2]|0)|0}function Fk(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){e=c-d|0;Ix(f|0,b|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;do{yk(a,f,256);e=e+-256|0}while(e>>>0>255);e=b&255}yk(a,f,e)}l=g;return}function Gk(a,b){a=a|0;b=b|0;if(!a)a=0;else a=Lk(a,b,0)|0;return a|0}function Hk(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,z=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;Ik(e)|0;if((A|0)<0){e=-e;C=1;B=14884}else{C=(h&2049|0)!=0&1;B=(h&2048|0)==0?((h&1|0)==0?14885:14890):14887}Ik(e)|0;D=A&2146435072;do if(D>>>0<2146435072|(D|0)==2146435072&0<0){r=+Jk(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=Dk(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[14915+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;Fk(b,32,f,j,h);yk(b,q,p);Fk(b,48,f,j,h^65536);yk(b,G,D);Fk(b,48,E-D|0,0,0);yk(b,o,F);Fk(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=Vx(c[j>>2]|0,0,o|0)|0;x=Kx(x|0,A|0,m|0,0)|0;y=A;v=Xx(x|0,y|0,1e9,0)|0;c[j>>2]=v;m=Rx(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<m>>>0){o=(1<<s)+-1|0;p=1e9>>>s;q=0;j=n;do{y=c[j>>2]|0;c[j>>2]=(y>>>s)+q;q=P(y&o,p)|0;j=j+4|0}while(j>>>0<m>>>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<g>>>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<x>>>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<j>>>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?(z=c[w+-4>>2]|0,(z|0)!=0):0)if(!((z>>>0)%10|0)){n=0;j=10;do{j=j*10|0;n=n+1|0}while(!((z>>>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=Dk(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;Fk(b,32,f,j,h);yk(b,B,C);Fk(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=Dk(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){Ix(G|0,48,m-F|0)|0;do m=m+-1|0;while(m>>>0>G>>>0)}yk(b,m,p-m|0);n=n+4|0}while(n>>>0<=D>>>0);if(t|0)yk(b,14931,1);if(n>>>0<w>>>0&(k|0)>0)while(1){m=Dk(c[n>>2]|0,0,s)|0;if(m>>>0>G>>>0){Ix(G|0,48,m-F|0)|0;do m=m+-1|0;while(m>>>0>G>>>0)}yk(b,m,(k|0)<9?k:9);n=n+4|0;m=k+-9|0;if(!(n>>>0<w>>>0&(k|0)>9)){k=m;break}else k=m}Fk(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=Dk(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;yk(b,m,1);if(s&(k|0)<1){m=n;break}yk(b,14931,1);m=n}else{if(m>>>0<=G>>>0)break;Ix(G|0,48,m+p|0)|0;do m=m+-1|0;while(m>>>0>G>>>0)}while(0);F=g-m|0;yk(b,m,(k|0)>(F|0)?F:k);k=k-F|0;o=o+4|0}while(o>>>0<t>>>0&(k|0)>-1)}Fk(b,48,k+18|0,18,0);yk(b,v,E-v|0)}Fk(b,32,f,j,h^8192)}else{G=(i&32|0)!=0;j=C+3|0;Fk(b,32,f,j,h&-65537);yk(b,B,C);yk(b,e!=e|0.0!=0.0?(G?16834:14911):G?14903:14907,3);Fk(b,32,f,j,h^8192)}while(0);l=H;return ((j|0)<(f|0)?f:j)|0}function Ik(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;A=c[j+4>>2]|0;return b|0}function Jk(a,b){a=+a;b=b|0;return +(+Kk(a,b))}function Kk(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=Mx(d|0,e|0,52)|0;switch(f&2047){case 0:{if(a!=0.0){a=+Kk(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 Lk(b,d,e){b=b|0;d=d|0;e=e|0;do if(b){if(d>>>0<128){a[b>>0]=d;b=1;break}if(!(c[c[(Mk()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;b=1;break}else{c[(ek()|0)>>2]=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[(ek()|0)>>2]=84;b=-1;break}}else b=1;while(0);return b|0}function Mk(){return gk()|0}function Nk(){return gk()|0}function Ok(b,e){b=b|0;e=e|0;var f=0,g=0;g=0;while(1){if((d[14933+g>>0]|0)==(b|0)){b=2;break}f=g+1|0;if((f|0)==87){f=15021;g=87;b=5;break}else g=f}if((b|0)==2)if(!g)f=15021;else{f=15021;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 Pk(f,c[e+20>>2]|0)|0}function Pk(a,b){a=a|0;b=b|0;return Qk(a,b)|0}function Qk(a,b){a=a|0;b=b|0;if(!b)b=0;else b=Rk(c[b>>2]|0,c[b+4>>2]|0,a)|0;return (b|0?b:a)|0}function Rk(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=Sk(c[b+8>>2]|0,o)|0;f=Sk(c[b+12>>2]|0,o)|0;g=Sk(c[b+16>>2]|0,o)|0;a:do if((h>>>0<d>>>2>>>0?(n=d-(h<<2)|0,f>>>0<n>>>0&g>>>0<n>>>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=Sk(c[b+(g<<2)>>2]|0,o)|0;g=Sk(c[b+(g+1<<2)>>2]|0,o)|0;if(!(g>>>0<d>>>0&f>>>0<(d-g|0)>>>0)){f=0;break a}if(a[b+(g+f)>>0]|0){f=0;break a}f=pk(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=Sk(c[b+(f<<2)>>2]|0,o)|0;f=Sk(c[b+(f+1<<2)>>2]|0,o)|0;if(f>>>0<d>>>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 Sk(a,b){a=a|0;b=b|0;var c=0;c=Zx(a|0)|0;return ((b|0)==0?a:c)|0}function Tk(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(!(Uk(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<d>>>0){f=Dc[c[e+36>>2]&31](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=Dc[c[e+36>>2]&31](e,b,i)|0;if(f>>>0<i>>>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);Ox(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 Uk(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 Vk(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;Ox(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function Wk(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=l;l=l+16|0;g=j;a:do if(!e)b=0;else{do if(f|0){i=(b|0)==0?g:b;b=a[e>>0]|0;if(b<<24>>24>-1){c[i>>2]=b&255;b=b<<24>>24!=0&1;break a}h=(c[c[(Xk()|0)+188>>2]>>2]|0)==0;b=a[e>>0]|0;if(h){c[i>>2]=b<<24>>24&57343;b=1;break a}b=(b&255)+-194|0;if(b>>>0<=50){g=e+1|0;h=c[3464+(b<<2)>>2]|0;if(f>>>0<4?h&-2147483648>>>((f*6|0)+-6|0)|0:0)break;b=d[g>>0]|0;f=b>>>3;if((f+-16|f+(h>>26))>>>0<=7){b=b+-128|h<<6;if((b|0)>=0){c[i>>2]=b;b=2;break a}g=(d[e+2>>0]|0)+-128|0;if(g>>>0<=63){g=g|b<<6;if((g|0)>=0){c[i>>2]=g;b=3;break a}b=(d[e+3>>0]|0)+-128|0;if(b>>>0<=63){c[i>>2]=b|g<<6;b=4;break a}}}}}while(0);c[(ek()|0)>>2]=84;b=-1}while(0);l=j;return b|0}function Xk(){return gk()|0}function Yk(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(!(Uk(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<h>>>0?(f=e&255,(f|0)!=(a[b+75>>0]|0)):0){c[i>>2]=g+1;a[g>>0]=k;break}if((Dc[c[b+36>>2]&31](b,j,1)|0)==1)f=d[j>>0]|0;else f=-1}while(0);l=m;return f|0}function Zk(a,b){a=a|0;b=b|0;var c=0;c=qk(a,0,b)|0;return ((c|0)==0?b:c-a|0)|0}function _k(){Ob(21624);return 21632}function $k(){gc(21624);return}function al(a){a=a|0;var b=0,d=0;do if(a){if((c[a+76>>2]|0)<=-1){b=bl(a)|0;break}d=(wk(a)|0)==0;b=bl(a)|0;if(!d)xk(a)}else{if(!(c[815]|0))b=0;else b=al(c[815]|0)|0;a=c[(_k()|0)>>2]|0;if(a)do{if((c[a+76>>2]|0)>-1)d=wk(a)|0;else d=0;if((c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0)b=bl(a)|0|b;if(d|0)xk(a);a=c[a+56>>2]|0}while((a|0)!=0);$k()}while(0);return b|0}function bl(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?(Dc[c[a+36>>2]&31](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<g>>>0)Dc[c[a+40>>2]&31](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 cl(a){a=a|0;var b=0,e=0;e=l;l=l+16|0;b=e;if((dl(a)|0)==0?(Dc[c[a+32>>2]&31](a,b,1)|0)==1:0)a=d[b>>0]|0;else a=-1;l=e;return a|0}function dl(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)Dc[c[b+36>>2]&31](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 el(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=fl(a,b,f)|0;l=e;return d|0}function fl(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]=25;c[e+44>>2]=a;c[e+76>>2]=-1;c[e+84>>2]=a;h=hl(e,b,d)|0;l=g;return h|0}function gl(a,b,c){a=a|0;b=b|0;c=c|0;return Cl(a,b,c)|0}function hl(b,e,f){b=b|0;e=e|0;f=f|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,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+288|0;K=Q+8|0;L=Q+17|0;M=Q;N=Q+16|0;if((c[b+76>>2]|0)>-1)P=wk(b)|0;else P=0;i=a[e>>0]|0;a:do if(i<<24>>24){z=b+4|0;B=b+100|0;C=b+108|0;D=b+8|0;E=L+10|0;F=L+33|0;y=K+4|0;G=L+46|0;H=L+94|0;I=L+1|0;J=L+1|0;m=e;u=0;e=0;k=0;j=0;b:while(1){c:do if(!(il(i&255)|0)){i=i<<24>>24==37;d:do if(i){p=m+1|0;n=a[p>>0]|0;e:do switch(n<<24>>24){case 37:break d;case 42:{x=0;m=m+2|0;break}default:{i=(n&255)+-48|0;if(i>>>0<10?(a[m+2>>0]|0)==36:0){x=ll(f,i)|0;m=m+3|0;break e}m=(c[f>>2]|0)+(4-1)&~(4-1);x=c[m>>2]|0;c[f>>2]=m+4;m=p}}while(0);i=a[m>>0]|0;n=i&255;if((n+-48|0)>>>0<10){p=0;do{p=(p*10|0)+-48+n|0;m=m+1|0;i=a[m>>0]|0;n=i&255}while((n+-48|0)>>>0<10)}else p=0;i=i<<24>>24==109;w=(x|0)!=0;k=i?0:k;j=i?0:j;m=i?m+1|0:m;i=w&i;n=m+1|0;switch(a[m>>0]|0){case 104:{v=(a[n>>0]|0)==104;q=v?-2:-1;m=v?m+2|0:n;break}case 108:{v=(a[n>>0]|0)==108;q=v?3:1;m=v?m+2|0:n;break}case 106:{q=3;m=n;break}case 116:case 122:{q=1;m=n;break}case 76:{q=2;m=n;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:{q=0;break}default:{O=137;break b}}s=d[m>>0]|0;t=(s&47|0)==3;s=t?s|32:s;t=t?1:q;r=s&255;switch(r<<24>>24){case 99:{p=(p|0)>1?p:1;break}case 91:break;case 110:{ml(x,t,u,((u|0)<0)<<31>>31);n=u;break c}default:{jl(b,0);do{n=c[z>>2]|0;if(n>>>0<(c[B>>2]|0)>>>0){c[z>>2]=n+1;n=d[n>>0]|0}else n=kl(b)|0}while((il(n)|0)!=0);if(!(c[B>>2]|0))n=c[z>>2]|0;else{n=(c[z>>2]|0)+-1|0;c[z>>2]=n}u=(c[C>>2]|0)+u+n-(c[D>>2]|0)|0}}jl(b,p);n=c[z>>2]|0;q=c[B>>2]|0;if(n>>>0<q>>>0)c[z>>2]=n+1;else{if((kl(b)|0)<0){O=137;break b}q=c[B>>2]|0}if(q|0)c[z>>2]=(c[z>>2]|0)+-1;f:do switch(r<<24>>24){case 91:case 99:case 115:{v=(s|0)==99;g:do if((s|16|0)==115){Ix(I|0,-1,256)|0;a[L>>0]=0;if((s|0)==115){a[F>>0]=0;a[E>>0]=0;a[E+1>>0]=0;a[E+2>>0]=0;a[E+3>>0]=0;a[E+4>>0]=0}}else{n=m+1|0;s=(a[n>>0]|0)==94;r=s&1;m=s?m+2|0:n;Ix(J|0,s&1|0,256)|0;a[L>>0]=0;switch(a[m>>0]|0){case 45:{n=G;O=64;break}case 93:{n=H;O=64;break}default:s=(r^1)&255}if((O|0)==64){O=0;s=(r^1)&255;a[n>>0]=s;m=m+1|0}while(1){n=a[m>>0]|0;h:do switch(n<<24>>24){case 0:{O=137;break b}case 93:break g;case 45:{r=m+1|0;n=a[r>>0]|0;switch(n<<24>>24){case 93:case 0:{n=45;break h}default:{}}m=a[m+-1>>0]|0;if((m&255)<(n&255)){m=m&255;do{m=m+1|0;a[L+m>>0]=s;n=a[r>>0]|0}while((m|0)<(n&255|0));m=r}else m=r;break}default:{}}while(0);a[L+((n&255)+1)>>0]=s;m=m+1|0}}while(0);n=v?p+1|0:31;s=(t|0)==1;i:do if(s){if(i){j=Yj(n<<2)|0;if(!j){k=0;j=0;i=1;O=137;break b}}else j=x;c[K>>2]=0;c[y>>2]=0;r=n;k=0;j:while(1){q=(j|0)==0;do{k:while(1){n=c[z>>2]|0;if(n>>>0<(c[B>>2]|0)>>>0){c[z>>2]=n+1;n=d[n>>0]|0}else n=kl(b)|0;if(!(a[L+(n+1)>>0]|0))break j;a[N>>0]=n;switch(nl(M,N,1,K)|0){case -1:{k=0;O=137;break b}case -2:break;default:break k}}if(!q){c[j+(k<<2)>>2]=c[M>>2];k=k+1|0}}while(!(i&(k|0)==(r|0)));k=r<<1|1;n=_j(j,k<<2)|0;if(!n){k=0;i=1;O=137;break b}else{t=r;r=k;j=n;k=t}}if(!(ol(K)|0)){k=0;O=137;break b}else{n=k;k=0;r=j}}else{if(i){k=Yj(n)|0;if(!k){k=0;j=0;i=1;O=137;break b}else{q=n;j=0}while(1){do{n=c[z>>2]|0;if(n>>>0<(c[B>>2]|0)>>>0){c[z>>2]=n+1;n=d[n>>0]|0}else n=kl(b)|0;if(!(a[L+(n+1)>>0]|0)){n=j;r=0;j=0;break i}a[k+j>>0]=n;j=j+1|0}while((j|0)!=(q|0));j=q<<1|1;n=_j(k,j)|0;if(!n){j=0;i=1;O=137;break b}else{t=q;q=j;k=n;j=t}}}if(!x){k=q;while(1){j=c[z>>2]|0;if(j>>>0<k>>>0){c[z>>2]=j+1;j=d[j>>0]|0}else j=kl(b)|0;if(!(a[L+(j+1)>>0]|0)){n=0;k=0;r=0;j=0;break i}k=c[B>>2]|0}}else{n=0;k=q;while(1){j=c[z>>2]|0;if(j>>>0<k>>>0){c[z>>2]=j+1;j=d[j>>0]|0}else j=kl(b)|0;if(!(a[L+(j+1)>>0]|0)){k=x;r=0;j=0;break i}a[x+n>>0]=j;n=n+1|0;k=c[B>>2]|0}}}while(0);if(!(c[B>>2]|0))q=c[z>>2]|0;else{q=(c[z>>2]|0)+-1|0;c[z>>2]=q}q=q-(c[D>>2]|0)+(c[C>>2]|0)|0;if(!q){O=139;break b}if(!((q|0)==(p|0)|v^1)){O=139;break b}do if(i)if(s){c[x>>2]=r;break}else{c[x>>2]=k;break}while(0);if(!v){if(r|0)c[r+(n<<2)>>2]=0;if(!k){k=0;break f}a[k+n>>0]=0}break}case 120:case 88:case 112:{n=16;O=125;break}case 111:{n=8;O=125;break}case 117:case 100:{n=10;O=125;break}case 105:{n=0;O=125;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{o=+ql(b,t,0);if((c[C>>2]|0)==((c[D>>2]|0)-(c[z>>2]|0)|0)){O=139;break b}if(x)switch(t|0){case 0:{g[x>>2]=o;break f}case 1:{h[x>>3]=o;break f}case 2:{h[x>>3]=o;break f}default:break f}break}default:{}}while(0);do if((O|0)==125){O=0;n=pl(b,n,0,-1,-1)|0;if((c[C>>2]|0)==((c[D>>2]|0)-(c[z>>2]|0)|0)){O=139;break b}if(w&(s|0)==112){c[x>>2]=n;break}else{ml(x,t,n,A);break}}while(0);e=(w&1)+e|0;n=(c[C>>2]|0)+u+(c[z>>2]|0)-(c[D>>2]|0)|0;break c}while(0);m=m+(i&1)|0;jl(b,0);i=c[z>>2]|0;if(i>>>0<(c[B>>2]|0)>>>0){c[z>>2]=i+1;i=d[i>>0]|0}else i=kl(b)|0;if((i|0)!=(d[m>>0]|0)){O=22;break b}n=u+1|0}else{while(1){i=m+1|0;if(!(il(d[i>>0]|0)|0))break;else m=i}jl(b,0);do{i=c[z>>2]|0;if(i>>>0<(c[B>>2]|0)>>>0){c[z>>2]=i+1;i=d[i>>0]|0}else i=kl(b)|0}while((il(i)|0)!=0);if(!(c[B>>2]|0))i=c[z>>2]|0;else{i=(c[z>>2]|0)+-1|0;c[z>>2]=i}n=(c[C>>2]|0)+u+i-(c[D>>2]|0)|0}while(0);m=m+1|0;i=a[m>>0]|0;if(!(i<<24>>24))break a;else u=n}if((O|0)==22){if(c[B>>2]|0)c[z>>2]=(c[z>>2]|0)+-1;if((e|0)!=0|(i|0)>-1)break;else{i=0;O=138}}else if((O|0)==137){i=i&1;if(!e)O=138}else if((O|0)==139)i=i&1;if((O|0)==138)e=-1;if(i){Zj(k);Zj(j)}}else e=0;while(0);if(P|0)xk(b);l=Q;return e|0}function il(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function jl(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 kl(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=cl(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 ll(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 ml(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 nl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+16|0;g=k;i=(f|0)==0?21636:f;f=c[i>>2]|0;a:do if(!d)if(!f)f=0;else j=17;else{h=(b|0)==0?g:b;if(!e)f=-2;else{if(!f){f=a[d>>0]|0;if(f<<24>>24>-1){c[h>>2]=f&255;f=f<<24>>24!=0&1;break}g=(c[c[(Bl()|0)+188>>2]>>2]|0)==0;f=a[d>>0]|0;if(g){c[h>>2]=f<<24>>24&57343;f=1;break}f=(f&255)+-194|0;if(f>>>0>50){j=17;break}f=c[3464+(f<<2)>>2]|0;g=e+-1|0;if(g){d=d+1|0;j=11}}else{g=e;j=11}b:do if((j|0)==11){b=a[d>>0]|0;m=(b&255)>>>3;if((m+-16|m+(f>>26))>>>0>7){j=17;break a}while(1){d=d+1|0;f=(b&255)+-128|f<<6;g=g+-1|0;if((f|0)>=0)break;if(!g)break b;b=a[d>>0]|0;if((b&-64)<<24>>24!=-128){j=17;break a}}c[i>>2]=0;c[h>>2]=f;f=e-g|0;break a}while(0);c[i>>2]=f;f=-2}}while(0);if((j|0)==17){c[i>>2]=0;c[(ek()|0)>>2]=84;f=-1}l=k;return f|0}function ol(a){a=a|0;if(!a)a=1;else a=(c[a>>2]|0)==0;return a&1|0}function pl(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[(ek()|0)>>2]=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=kl(b)|0}while((il(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=kl(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=kl(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=kl(b)|0;if((d[16839+i>>0]|0)>15){g=(c[q>>2]|0)!=0;if(g)c[r>>2]=(c[r>>2]|0)+-1;if(!f){jl(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[16839+i>>0]|0)>>>0<e>>>0)n=32;else{if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;jl(b,0);c[(ek()|0)>>2]=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=kl(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=Tx(i|0,f|0,10,0)|0;l=A;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=Kx(e|0,l|0,k|0,m|0)|0;f=A;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=kl(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[17095+((e*23|0)>>>5&7)>>0]|0;f=a[16839+i>>0]|0;j=f&255;if(j>>>0<e>>>0){i=0;k=j;do{i=k|i<<n;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=kl(b)|0;f=a[16839+j>>0]|0;k=f&255}while(i>>>0<134217728&k>>>0<e>>>0);k=0}else{j=i;k=0;i=0}l=Mx(-1,-1,n|0)|0;m=A;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=Vx(i|0,j|0,n|0)|0;k=A;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=kl(b)|0;f=a[16839+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[16839+i>>0]|0;j=f&255;if(j>>>0<e>>>0){i=0;k=j;do{i=k+(P(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=kl(b)|0;f=a[16839+j>>0]|0;k=f&255}while(i>>>0<119304647&k>>>0<e>>>0);k=0}else{j=i;i=0;k=0}if((f&255)>>>0<e>>>0){n=Rx(-1,-1,e|0,0)|0;o=A;m=k;while(1){if(m>>>0>o>>>0|(m|0)==(o|0)&i>>>0>n>>>0){f=m;n=72;break d}k=Tx(i|0,m|0,e|0,0)|0;l=A;f=f&255;if(l>>>0>4294967295|(l|0)==-1&k>>>0>~f>>>0){f=m;n=72;break d}i=Kx(f|0,0,k|0,l|0)|0;k=A;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=kl(b)|0;f=a[16839+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[16839+j>>0]|0)>>>0<e>>>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=kl(b)|0}while((d[16839+i>>0]|0)>>>0<e>>>0);c[(ek()|0)>>2]=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<h>>>0|(e|0)==(h|0)&i>>>0<g>>>0)){if(!((g&1|0)!=0|0!=0|(j|0)!=0)){c[(ek()|0)>>2]=34;g=Kx(g|0,h|0,-1,-1)|0;h=A;break}if(e>>>0>h>>>0|(e|0)==(h|0)&i>>>0>g>>>0){c[(ek()|0)>>2]=34;break}}g=((j|0)<0)<<31>>31;g=Hx(i^j|0,e^g|0,j|0,g|0)|0;h=A}while(0);A=h;return g|0}function ql(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=kl(b)|0}while((il(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=kl(b)|0;break b}}default:{h=e;i=1}}while(0);e=0;do{if((h|32|0)!=(a[16825+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=kl(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[16834+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=kl(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=kl(b)|0;if((e|0)==40)e=1;else{if(!(c[n>>2]|0)){g=t;break a}c[o>>2]=(c[o>>2]|0)+-1;g=t;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=kl(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=t;break a}h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!k){c[(ek()|0)>>2]=22;jl(b,0);g=0.0;break a}if(!e){g=t;break a}while(1){e=e+-1|0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!e){g=t;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=kl(b)|0;if((e|32|0)==120){g=+rl(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=+sl(b,e,m,l,i,f);break a}default:{if(c[n>>2]|0)c[o>>2]=(c[o>>2]|0)+-1;c[(ek()|0)>>2]=22;jl(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)*u}while(0);return +g}function rl(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,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=a+4|0;i=c[w>>2]|0;v=a+100|0;if(i>>>0<(c[v>>2]|0)>>>0){c[w>>2]=i+1;i=d[i>>0]|0;j=0}else{i=kl(a)|0;j=0}a:while(1){switch(i|0){case 46:{n=8;break a}case 48:break;default:{s=0;t=0;p=1.0;h=0.0;u=0;r=j;j=0;q=0;m=0;l=0;break a}}i=c[w>>2]|0;if(i>>>0<(c[v>>2]|0)>>>0){c[w>>2]=i+1;i=d[i>>0]|0;j=1;continue}else{i=kl(a)|0;j=1;continue}}if((n|0)==8){i=c[w>>2]|0;if(i>>>0<(c[v>>2]|0)>>>0){c[w>>2]=i+1;i=d[i>>0]|0}else i=kl(a)|0;if((i|0)==48){l=0;j=0;do{i=c[w>>2]|0;if(i>>>0<(c[v>>2]|0)>>>0){c[w>>2]=i+1;i=d[i>>0]|0}else i=kl(a)|0;l=Kx(l|0,j|0,-1,-1)|0;j=A}while((i|0)==48);s=1;t=0;p=1.0;h=0.0;u=0;r=1;q=0;m=0}else{s=1;t=0;p=1.0;h=0.0;u=0;r=j;j=0;q=0;m=0;l=0}}while(1){n=i+-48|0;o=(i|0)==46;if(n>>>0>=10?!(o|((i|32)+-97|0)>>>0<6):0)break;if(o)if(!s){s=1;n=t;k=p;i=u;l=m;j=q}else{i=46;break}else{i=(i|0)>57?(i|32)+-87|0:n;do if(!((q|0)<0|(q|0)==0&m>>>0<8))if((q|0)<0|(q|0)==0&m>>>0<14){p=p*.0625;n=t;k=p;h=h+p*+(i|0);i=u;break}else{i=(t|0)!=0|(i|0)==0;n=i?t:1;k=p;h=i?h:h+p*.5;i=u;break}else{n=t;k=p;i=i+(u<<4)|0}while(0);m=Kx(m|0,q|0,1,0)|0;r=1;q=A}o=c[w>>2]|0;if(o>>>0<(c[v>>2]|0)>>>0){c[w>>2]=o+1;t=n;p=k;u=i;i=d[o>>0]|0;continue}else{t=n;p=k;u=i;i=kl(a)|0;continue}}do if(!r){i=c[v>>2]|0;j=(i|0)!=0;if(j)c[w>>2]=(c[w>>2]|0)+-1;if(g){if(j)c[w>>2]=(c[w>>2]|0)+-1;if(!((s|0)==0|(i|0)==0))c[w>>2]=(c[w>>2]|0)+-1}else jl(a,0);h=+(f|0)*0.0}else{n=(s|0)==0;o=n?m:l;n=n?q:j;if((q|0)<0|(q|0)==0&m>>>0<8){j=u;l=q;do{j=j<<4;m=Kx(m|0,l|0,1,0)|0;l=A}while((l|0)<0|(l|0)==0&m>>>0<8);m=j}else m=u;if((i|32|0)==112){j=tl(a,g)|0;i=A;if((j|0)==0&(i|0)==-2147483648){if(!g){jl(a,0);h=0.0;break}if(!(c[v>>2]|0)){j=0;i=0}else{c[w>>2]=(c[w>>2]|0)+-1;j=0;i=0}}}else if(!(c[v>>2]|0)){j=0;i=0}else{c[w>>2]=(c[w>>2]|0)+-1;j=0;i=0}l=Vx(o|0,n|0,2)|0;l=Kx(l|0,A|0,-32,-1)|0;l=Kx(l|0,A|0,j|0,i|0)|0;i=A;if(!m){h=+(f|0)*0.0;break}w=0-e|0;g=((w|0)<0)<<31>>31;if((i|0)>(g|0)|(i|0)==(g|0)&l>>>0>w>>>0){c[(ek()|0)>>2]=34;h=+(f|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}w=e+-106|0;g=((w|0)<0)<<31>>31;if((i|0)<(g|0)|(i|0)==(g|0)&l>>>0<w>>>0){c[(ek()|0)>>2]=34;h=+(f|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if((m|0)>-1){j=m;do{w=!(h>=.5);j=j<<1|(w^1)&1;h=h+(w?h:h+-1.0);l=Kx(l|0,i|0,-1,-1)|0;i=A}while((j|0)>-1);p=h;m=j}else p=h;w=((b|0)<0)<<31>>31;e=Hx(32,0,e|0,((e|0)<0)<<31>>31|0)|0;i=Kx(e|0,A|0,l|0,i|0)|0;e=A;if((w|0)>(e|0)|(w|0)==(e|0)&b>>>0>i>>>0)if((i|0)>0)n=59;else{j=0;i=84;n=61}else{i=b;n=59}if((n|0)==59)if((i|0)<53){j=i;i=84-i|0;n=61}else{k=0.0;h=+(f|0)}if((n|0)==61){h=+(f|0);k=+vl(+ul(1.0,i),h);i=j}f=(m&1|0)==0&(p!=0.0&(i|0)<32);h=h*(f?0.0:p)+(k+h*+(((f&1)+m|0)>>>0))-k;if(!(h!=0.0))c[(ek()|0)>>2]=34;h=+xl(h,l)}while(0);return +h}function sl(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,z=0,B=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:{z=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=kl(a)|0;k=1;continue}}if((z|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=kl(a)|0;if((b|0)==48){k=0;b=0;while(1){k=Kx(k|0,b|0,-1,-1)|0;o=A;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=kl(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){B=G+496|0;w=0;k=0;u=0;x=v;y=p;z=n;p=0;n=0;c:while(1){do if(m)if(!x){x=1;q=p;o=n}else break c;else{p=Kx(p|0,n|0,1,0)|0;n=A;v=(b|0)!=48;if((k|0)>=125){if(!v)break;c[B>>2]=c[B>>2]|1;break}m=G+(k<<2)|0;if(!w)b=z;else b=b+-48+((c[m>>2]|0)*10|0)|0;c[m>>2]=b;w=w+1|0;y=(w|0)==9;w=y?0:w;k=(y&1)+k|0;u=v?p:u;y=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=kl(a)|0;z=b+-48|0;m=(b|0)==46;if(!(m|z>>>0<10)){v=x;m=y;z=29;break b}}b=w;m=(y|0)!=0;z=37}else{w=0;k=0;u=0;m=p;p=0;n=0;z=29}while(0);do if((z|0)==29){B=(v|0)==0;q=B?p:q;o=B?n:o;m=(m|0)!=0;if(!(m&(b|32|0)==101))if((b|0)>-1){b=w;z=37;break}else{b=w;z=39;break}m=tl(a,h)|0;b=A;if((m|0)==0&(b|0)==-2147483648){if(!h){jl(a,0);i=0.0;break}if(!(c[E>>2]|0)){m=0;b=0}else{c[D>>2]=(c[D>>2]|0)+-1;m=0;b=0}}y=Kx(m|0,b|0,q|0,o|0)|0;b=w;o=A;z=41}while(0);if((z|0)==37)if(c[E>>2]|0){c[D>>2]=(c[D>>2]|0)+-1;if(m){y=q;z=41}else z=40}else z=39;if((z|0)==39)if(m){y=q;z=41}else z=40;do if((z|0)==40){c[(ek()|0)>>2]=22;jl(a,0);i=0.0}else if((z|0)==41){m=c[G>>2]|0;if(!m){i=+(g|0)*0.0;break}if(((n|0)<0|(n|0)==0&p>>>0<10)&((y|0)==(p|0)&(o|0)==(n|0))?(e|0)>30|(m>>>e|0)==0:0){i=+(g|0)*+(m>>>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[(ek()|0)>>2]=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<a>>>0){c[(ek()|0)>>2]=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[3792+(8-y<<2)>>2]|0);break}a=e+27+(P(y,-3)|0)|0;if((a|0)>30|(b>>>a|0)==0){i=+(g|0)*+(b>>>0)*+(c[3792+(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[3792+(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=P(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=Vx(c[p>>2]|0,0,29)|0;k=Kx(k|0,A|0,m|0,0)|0;m=A;if(m>>>0>0|(m|0)==0&k>>>0>1e9){q=Rx(k|0,m|0,1e9,0)|0;k=Xx(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;z=88;break}o=c[G+(o<<2)>>2]|0;p=c[3824+(n<<2)>>2]|0;if(o>>>0<p>>>0){F=2;z=88;break}if(o>>>0>p>>>0)break;n=n+1|0;if((n|0)>=2){F=n;z=88;break}}if((z|0)==88?(z=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)+-1|0;u=1e9>>>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=P(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=+vl(+ul(1.0,105-n|0),j);r=+wl(j,+ul(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?!(+wl(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=!(+C(+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[(ek()|0)>>2]=34}while(0);i=+xl(i,b)}while(0);l=J;return +i}function tl(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=kl(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=kl(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{g=0;do{g=e+-48+(g*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=kl(a)|0}while((e+-48|0)>>>0<10&(g|0)<214748364);b=((g|0)<0)<<31>>31;if((e+-48|0)>>>0<10){do{b=Tx(g|0,b|0,10,0)|0;g=A;e=Kx(e|0,((e|0)<0)<<31>>31|0,-48,-1)|0;g=Kx(e|0,A|0,b|0,g|0)|0;b=A;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=kl(a)|0}while((e+-48|0)>>>0<10&((b|0)<21474836|(b|0)==21474836&g>>>0<2061584302));h=e;i=g}else{h=e;i=g}e=c[j>>2]|0;if((h+-48|0)>>>0<10)do{g=c[k>>2]|0;if(g>>>0<e>>>0){c[k>>2]=g+1;g=d[g>>0]|0}else{g=kl(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=Hx(0,0,i|0,b|0)|0;f=k?A:b;e=k?e:i}A=f;return e|0}function ul(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=Vx(b+1023|0,0,52)|0;e=A;c[j>>2]=d;c[j+4>>2]=e;return +(a*+h[j>>3])}function vl(a,b){a=+a;b=+b;return +(+Al(a,b))}function wl(a,b){a=+a;b=+b;return +(+yl(a,b))}function xl(a,b){a=+a;b=b|0;return +(+ul(a,b))}function yl(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=Mx(i|0,l|0,52)|0;e=e&2047;m=Mx(n|0,o|0,52)|0;m=m&2047;p=l&-2147483648;g=Vx(n|0,o|0,1)|0;k=A;a:do if(!((g|0)==0&(k|0)==0)?(f=zl(b)|0,d=A&2147483647,!((e|0)==2047|(d>>>0>2146435072|(d|0)==2146435072&f>>>0>0))):0){d=Vx(i|0,l|0,1)|0;f=A;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=Vx(i|0,l|0,12)|0;f=A;if((f|0)>-1|(f|0)==-1&d>>>0>4294967295){e=0;do{e=e+-1|0;d=Vx(d|0,f|0,1)|0;f=A}while((f|0)>-1|(f|0)==-1&d>>>0>4294967295)}else e=0;i=Vx(i|0,l|0,1-e|0)|0;g=A}else g=l&1048575|1048576;if(!m){f=Vx(n|0,o|0,12)|0;k=A;if((k|0)>-1|(k|0)==-1&f>>>0>4294967295){d=0;do{d=d+-1|0;f=Vx(f|0,k|0,1)|0;k=A}while((k|0)>-1|(k|0)==-1&f>>>0>4294967295)}else d=0;n=Vx(n|0,o|0,1-d|0)|0;m=d;l=A}else l=o&1048575|1048576;f=Hx(i|0,g|0,n|0,l|0)|0;d=A;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=Vx(f|0,d|0,1)|0;g=A;e=e+-1|0;f=Hx(i|0,g|0,n|0,l|0)|0;d=A;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=Vx(f|0,d|0,1)|0;d=A;e=e+-1|0}while(d>>>0<1048576|(d|0)==1048576&f>>>0<0);if((e|0)>0){o=Kx(f|0,d|0,0,-1048576)|0;d=A;e=Vx(e|0,0,52)|0;d=d|A;e=o|e}else{e=Mx(f|0,d|0,1-e|0)|0;d=A}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 zl(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;A=c[j+4>>2]|0;return b|0}function Al(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 Bl(){return gk()|0}function Cl(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=qk(g,0,h)|0;f=(f|0)==0?h:f-g|0;d=f>>>0<d>>>0?f:d;Ox(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 Dl(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 El(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+128|0;h=j;c[h>>2]=0;i=h+4|0;c[i>>2]=a;c[h+44>>2]=a;g=h+8|0;c[g>>2]=(a|0)<0?-1:a+2147483647|0;c[h+76>>2]=-1;jl(h,0);d=pl(h,d,1,e,f)|0;if(b|0)c[b>>2]=a+((c[i>>2]|0)+(c[h+108>>2]|0)-(c[g>>2]|0));l=j;return d|0}function Fl(a){a=a|0;var b=0;b=a;while(1)if(!(c[b>>2]|0))break;else b=b+4|0;return b-a>>2|0}function Gl(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;e=h;c[e>>2]=c[d>>2];e=tk(0,0,b,e)|0;if((e|0)>=0?(f=e+1|0,g=Yj(f)|0,c[a>>2]=g,(g|0)!=0):0)a=tk(g,f,b,d)|0;else a=-1;l=h;return a|0}function Hl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=l;l=l+16|0;i=j;a:do if(!b){e=c[d>>2]|0;f=c[e>>2]|0;if(!f)e=0;else{b=e;e=0;do{if(f>>>0>127){f=Lk(i,f,0)|0;if((f|0)==-1){e=-1;break a}}else f=1;e=f+e|0;b=b+4|0;f=c[b>>2]|0}while((f|0)!=0)}}else{b:do if(e>>>0>3){f=e;g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h)break;h=Lk(b,h,0)|0;if((h|0)==-1){e=-1;break a}b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(f>>>0<=3)break b}a[b>>0]=0;c[d>>2]=0;e=e-f|0;break a}else f=e;while(0);if(f){g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h){g=19;break}h=Lk(i,h,0)|0;if((h|0)==-1){e=-1;break a}if(f>>>0<h>>>0){g=22;break}Lk(b,c[g>>2]|0,0)|0;b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(!f)break a}if((g|0)==19){a[b>>0]=0;c[d>>2]=0;e=e-f|0;break}else if((g|0)==22){e=e-f|0;break}}}while(0);l=j;return e|0}function Il(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=b&255;e=b&255;if((c[d+76>>2]|0)>=0?(wk(d)|0)!=0:0){if((e|0)!=(a[d+75>>0]|0)?(h=d+20|0,i=c[h>>2]|0,i>>>0<(c[d+16>>2]|0)>>>0):0){c[h>>2]=i+1;a[i>>0]=j}else e=Yk(d,b)|0;xk(d)}else k=3;do if((k|0)==3){if((e|0)!=(a[d+75>>0]|0)?(f=d+20|0,g=c[f>>2]|0,g>>>0<(c[d+16>>2]|0)>>>0):0){c[f>>2]=g+1;a[g>>0]=j;break}e=Yk(d,b)|0}while(0);return e|0}function Jl(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;o=l;l=l+1040|0;k=o+8|0;m=o;j=c[b>>2]|0;c[m>>2]=j;n=(a|0)!=0;h=n?e:256;a=n?a:k;g=j;a:do if((h|0)!=0&(j|0)!=0){e=0;j=d;while(1){i=j>>>2;d=i>>>0>=h>>>0;if(!(j>>>0>131|d)){d=j;break a}g=d?h:i;d=j-g|0;g=Kl(a,m,g,f)|0;if((g|0)==-1)break;j=(a|0)==(k|0);h=h-(j?0:g)|0;a=j?a:a+(g<<2)|0;e=g+e|0;g=c[m>>2]|0;if((h|0)!=0&(g|0)!=0)j=d;else break a}e=-1;h=0;g=c[m>>2]|0}else e=0;while(0);b:do if((g|0)!=0?(h|0)!=0&(d|0)!=0:0){i=a;while(1){a=nl(i,g,d,f)|0;if((a+2|0)>>>0<3)break;g=(c[m>>2]|0)+a|0;c[m>>2]=g;d=d-a|0;h=h+-1|0;e=e+1|0;if(!((h|0)!=0&(d|0)!=0))break b;else i=i+4|0}switch(a|0){case -1:{e=-1;break b}case 0:{c[m>>2]=0;break b}default:{c[f>>2]=0;break b}}}while(0);if(n)c[b>>2]=c[m>>2];l=o;return e|0}function Kl(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=c[e>>2]|0;if((g|0)!=0?(i=c[g>>2]|0,(i|0)!=0):0)if(!b){j=h;g=f;l=25}else{c[g>>2]=0;k=f;j=h;l=43}else l=5;a:do if((l|0)==5){g=(b|0)!=0;if(c[c[(Ll()|0)+188>>2]>>2]|0)if(g){g=f;l=15;break}else{g=f;l=14;break}if(!g){f=ok(h)|0;l=59;break}b:do if(f){g=f;while(1){i=a[h>>0]|0;if(!(i<<24>>24))break;h=h+1|0;c[b>>2]=i<<24>>24&57343;g=g+-1|0;if(!g)break b;else b=b+4|0}c[b>>2]=0;c[e>>2]=0;f=f-g|0;l=59;break a}while(0);c[e>>2]=h;l=59}while(0);c:while(1){d:do if((l|0)==14){while(1){i=a[h>>0]|0;if(((i&255)+-1|0)>>>0<127?(h&3|0)==0:0){l=c[h>>2]|0;i=l&255;if(!((l+-16843009|l)&-2139062144)){do{h=h+4|0;g=g+-4|0;i=c[h>>2]|0}while(!((i+-16843009|i)&-2139062144|0));i=i&255}}i=i&255;if((i+-1|0)>>>0>=127)break;h=h+1|0;g=g+-1|0}i=i+-194|0;if(i>>>0>50)l=53;else{i=c[3464+(i<<2)>>2]|0;j=h+1|0;l=25;continue c}}else if((l|0)==15){e:do if(g){while(1){i=a[h>>0]|0;do if(((i&255)+-1|0)>>>0<127?g>>>0>4&(h&3|0)==0:0){while(1){i=c[h>>2]|0;if((i+-16843009|i)&-2139062144|0){l=38;break}c[b>>2]=i&255;c[b+4>>2]=d[h+1>>0];c[b+8>>2]=d[h+2>>0];j=h+4|0;i=b+16|0;c[b+12>>2]=d[h+3>>0];g=g+-4|0;if(g>>>0>4){b=i;h=j}else{l=37;break}}if((l|0)==37){b=i;h=j;i=a[j>>0]|0;break}else if((l|0)==38){i=i&255;break}}while(0);i=i&255;if((i+-1|0)>>>0>=127)break;h=h+1|0;c[b>>2]=i;g=g+-1|0;if(!g)break e;else b=b+4|0}i=i+-194|0;if(i>>>0>50){l=53;break d}i=c[3464+(i<<2)>>2]|0;k=g;j=h+1|0;l=43;continue c}while(0);c[e>>2]=h;l=59;continue c}else if((l|0)==25){l=(d[j>>0]|0)>>>3;if((l+-16|l+(i>>26))>>>0>7){h=j;l=52}else{h=j+1|0;if(i&33554432){if((a[h>>0]&-64)<<24>>24!=-128){h=j;l=52;break}h=j+2|0;if(i&524288){if((a[h>>0]&-64)<<24>>24!=-128){h=j;l=52;break}h=j+3|0}}g=g+-1|0;l=14;continue c}}else if((l|0)==43){l=0;g=d[j>>0]|0;h=g>>>3;if((h+-16|h+(i>>26))>>>0>7){h=j;g=k;l=52}else{h=j+1|0;g=g+-128|i<<6;do if((g|0)<0){i=(d[h>>0]|0)+-128|0;if(i>>>0>63){h=j+-1|0;f=b;break d}h=j+2|0;g=i|g<<6;if((g|0)<0){i=(d[h>>0]|0)+-128|0;if(i>>>0>63){h=j+-1|0;f=b;break d}else{h=j+3|0;g=i|g<<6;break}}}while(0);c[b>>2]=g;b=b+4|0;g=k+-1|0;l=15;continue c}}else if((l|0)==59)return f|0;while(0);if((l|0)==52){l=0;h=h+-1|0;if(!i)l=53;else f=b}if((l|0)==53)if(!(a[h>>0]|0)){if(b|0){c[b>>2]=0;c[e>>2]=0}f=f-g|0;l=59;continue}else f=b;c[(ek()|0)>>2]=84;if(!f){f=-1;l=59;continue}c[e>>2]=h;f=-1;l=59}return 0}function Ll(){return gk()|0}function Ml(a){a=a|0;return ((a+-48|0)>>>0<10|((a|32)+-97|0)>>>0<6)&1|0}function Nl(){return 3832}function Ol(){return 5372}function Pl(){return 5376}function Ql(){var a=0;a=(c[c[(Rl()|0)+188>>2]>>2]|0)!=0;return (a?4:1)|0}function Rl(){return gk()|0}function Sl(a,b){a=a|0;b=b|0;return Ml(a)|0}function Tl(a){a=a|0;return 0}function Ul(a){a=a|0;if(Vl(a)|0)Zj(a);return}function Vl(a){a=a|0;return (a|0)!=3440&((a|0)!=0&(a|0)!=21600)&1|0}function Wl(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+272|0;n=p+8|0;o=p;do if(!(a[d>>0]|0)){d=yb(17104)|0;if(d|0?a[d>>0]|0:0)break;d=yb(17111+(b*12|0)|0)|0;if(d|0?a[d>>0]|0:0)break;d=yb(17183)|0;if(d|0?a[d>>0]|0:0)break;d=17188}while(0);e=0;a:do{switch(a[d+e>>0]|0){case 47:case 0:break a;default:{}}e=e+1|0}while(e>>>0<15);f=a[d>>0]|0;if(f<<24>>24!=46?(a[d+e>>0]|0)==0:0)if(f<<24>>24==67)m=15;else{k=d;m=16}else{d=17188;m=15}if((m|0)==15)if(!(a[d+1>>0]|0))m=18;else{k=d;m=16}b:do if((m|0)==16)if((pk(k,17188)|0)!=0?(pk(k,17196)|0)!=0:0){d=c[5410]|0;if(d|0)do{if(!(pk(k,d+8|0)|0))break b;d=c[d+24>>2]|0}while((d|0)!=0);Ob(21644);d=c[5410]|0;c:do if(d|0){while(1){if(!(pk(k,d+8|0)|0))break;d=c[d+24>>2]|0;if(!d)break c}gc(21644);break b}while(0);d:do if(((c[5386]|0)==0?(g=yb(17202)|0,(g|0)!=0):0)?(a[g>>0]|0)!=0:0){i=254-e|0;j=e+1|0;f=g;while(1){h=nk(f,58)|0;d=a[h>>0]|0;g=((d<<24>>24!=0)<<31>>31)+(h-f)|0;if(g>>>0<i>>>0){Ox(n|0,f|0,g|0)|0;f=n+g|0;a[f>>0]=47;Ox(f+1|0,k|0,e|0)|0;a[n+(j+g)>>0]=0;g=oc(n|0,o|0)|0;if(g|0)break;d=a[h>>0]|0}f=h+(d<<24>>24!=0&1)|0;if(!(a[f>>0]|0)){m=41;break d}}d=Yj(28)|0;f=c[o>>2]|0;if(!d){mk(g,f)|0;m=41;break}else{c[d>>2]=g;c[d+4>>2]=f;o=d+8|0;Ox(o|0,k|0,e|0)|0;a[o+e>>0]=0;c[d+24>>2]=c[5410];c[5410]=d;break}}else m=41;while(0);if((m|0)==41){d=Yj(28)|0;if(d){c[d>>2]=c[848];c[d+4>>2]=c[849];o=d+8|0;Ox(o|0,k|0,e|0)|0;a[o+e>>0]=0;c[d+24>>2]=c[5410];c[5410]=d}}gc(21644);d=(b|0)==0&(d|0)==0?3392:d}else{d=k;m=18}while(0);do if((m|0)==18){if((b|0)==0?(a[d+1>>0]|0)==46:0){d=3392;break}d=0}while(0);l=p;return d|0}function Xl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}return a|0}function Yl(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+32|0;h=j;a:do if(!(Vl(d)|0)){i=(d|0)==0;f=0;g=0;do{e=(1<<g&a|0)!=0;if(i|e)e=Wl(g,e?b:24640)|0;else e=c[d+(g<<2)>>2]|0;f=((e|0)!=0&1)+f|0;c[h+(g<<2)>>2]=e;g=g+1|0}while((g|0)!=6);switch(f|0){case 0:{d=21600;break a}case 1:{if((c[h>>2]|0)==3392){d=3440;break a}break}default:{}}}else{e=0;do{if(1<<e&a|0)c[d+(e<<2)>>2]=Wl(e,b)|0;e=e+1|0}while((e|0)!=6)}while(0);l=j;return d|0}function Zl(a){a=a|0;var b=0,d=0;b=(_l()|0)+188|0;d=c[b>>2]|0;if(a|0)c[b>>2]=(a|0)==(-1|0)?21576:a;return ((d|0)==21576?-1:d)|0}function _l(){return gk()|0}function $l(a,b){a=a|0;b=b|0;return -1|0}function am(a,b){a=a|0;b=b|0;return (a+-48|0)>>>0<10|0}function bm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function cm(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;m=l;l=l+272|0;i=m+8|0;j=m;h=c[b>>2]|0;c[j>>2]=h;k=(a|0)!=0;g=k?e:256;a=k?a:i;e=h;a:do if((g|0)!=0&(h|0)!=0){f=0;h=e;while(1){e=d>>>0>=g>>>0;if(!(e|d>>>0>32)){e=h;break a}e=e?g:d;d=d-e|0;e=Hl(a,j,e,0)|0;if((e|0)==-1)break;h=(a|0)==(i|0);g=g-(h?0:e)|0;a=h?a:a+e|0;f=e+f|0;e=c[j>>2]|0;if((g|0)!=0&(e|0)!=0)h=e;else break a}f=-1;g=0;e=c[j>>2]|0}else f=0;while(0);b:do if((e|0)!=0?(g|0)!=0&(d|0)!=0:0){h=a;while(1){a=Lk(h,c[e>>2]|0,0)|0;if((a+1|0)>>>0<2)break;e=(c[j>>2]|0)+4|0;c[j>>2]=e;d=d+-1|0;g=g-a|0;f=a+f|0;if(!((g|0)!=0&(d|0)!=0))break b;else h=h+a|0}if(!a)c[j>>2]=0;else f=-1}while(0);if(k)c[b>>2]=c[j>>2];l=m;return f|0}function dm(a,b,c){a=a|0;b=b|0;c=c|0;return nl(0,a,b,c|0?c:21652)|0}function em(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=d;do if(!((g^b)&3)){f=(e|0)!=0;a:do if(f&(g&3|0)!=0)while(1){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;if(!(f&(d&3|0)!=0)){h=5;break}}else h=5;while(0);if((h|0)==5)if(!f){e=0;break}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 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);Ix(b|0,0,e|0)|0;return b|0}function fm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=b;if(!d)break;else e=e+4|0}}return a|0}function gm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(a-b>>2>>>0>=d>>>0){if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}}else do{d=d+-1|0;c[a+(d<<2)>>2]=c[b+(d<<2)>>2]}while((d|0)!=0);return a|0}function hm(a,b,c){a=a|0;b=b|0;c=c|0;em(a,b,c)|0;return a|0}function im(a,b,c){a=a|0;b=b|0;c=c|0;c=El(a,b,c,-1,-1)|0;return c|0}function jm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=im(a,b,c)|0;return d|0}function km(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=lm(a,b,c)|0;return d|0}function lm(a,b,c){a=a|0;b=b|0;c=c|0;c=El(a,b,c,0,-2147483648)|0;return c|0}function mm(a,b){a=a|0;b=b|0;return +(+nm(a,b,0))}function nm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=l;l=l+128|0;h=i;f=h;g=f+124|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));f=h+4|0;c[f>>2]=a;g=h+8|0;c[g>>2]=-1;c[h+44>>2]=a;c[h+76>>2]=-1;jl(h,0);e=+ql(h,d,1);d=(c[f>>2]|0)-(c[g>>2]|0)+(c[h+108>>2]|0)|0;if(b|0)c[b>>2]=d|0?a+d|0:a;l=i;return +e}function om(a,b){a=a|0;b=b|0;return +(+nm(a,b,1))}function pm(a,b){a=a|0;b=b|0;return +(+nm(a,b,2))}function qm(a,b,c){a=a|0;b=b|0;c=c|0;return +(+mm(a,b))}function rm(a,b,c){a=a|0;b=b|0;c=c|0;return +(+om(a,b))}function sm(a,b,c){a=a|0;b=b|0;c=c|0;return +(+pm(a,b))}function tm(a){a=a|0;um(a);return}function um(a){a=a|0;c[a>>2]=6924;vm(a,0);Pn(a+28|0);Zj(c[a+32>>2]|0);Zj(c[a+36>>2]|0);Zj(c[a+48>>2]|0);Zj(c[a+60>>2]|0);return}function vm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=a+32|0;f=a+36|0;d=c[a+40>>2]|0;while(1){if(!d)break;g=d+-1|0;Ec[c[(c[e>>2]|0)+(g<<2)>>2]&3](b,a,c[(c[f>>2]|0)+(g<<2)>>2]|0);d=g}return}function wm(a){a=a|0;um(a);cw(a);return}function xm(a){a=a|0;c[a>>2]=6940;Pn(a+4|0);return}function ym(a){a=a|0;xm(a);cw(a);return}function zm(a,b){a=a|0;b=b|0;return}function Am(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function Bm(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;g=a;c[g>>2]=0;c[g+4>>2]=0;g=a+8|0;c[g>>2]=-1;c[g+4>>2]=-1;return}function Cm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=a;c[e>>2]=0;c[e+4>>2]=0;e=a+8|0;c[e>>2]=-1;c[e+4>>2]=-1;return}function Dm(a){a=a|0;return 0}function Em(a){a=a|0;return 0}function Fm(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;$d()|0;i=b+12|0;j=b+16|0;h=0;while(1){if((h|0)>=(e|0))break;f=c[i>>2]|0;g=c[j>>2]|0;if(f>>>0<g>>>0){g=g-f|0;k=e-h|0;g=(k|0)<(g|0)?k:g;Te(d,f,g)|0;c[i>>2]=(c[i>>2]|0)+g;d=d+g|0;h=g+h|0;continue}f=Ac[c[(c[b>>2]|0)+40>>2]&63](b)|0;if((f|0)==-1)break;a[d>>0]=me(f)|0;d=d+1|0;h=h+1|0}return h|0}function Gm(a){a=a|0;return $d()|0}function Hm(b){b=b|0;var d=0;d=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;if((d|0)==($d()|0))b=$d()|0;else{d=b+12|0;b=c[d>>2]|0;c[d>>2]=b+1;b=ie(a[b>>0]|0)|0}return b|0}function Im(a,b){a=a|0;b=b|0;return $d()|0}function Jm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=$d()|0;j=b+24|0;k=b+28|0;f=0;while(1){if((f|0)>=(e|0))break;g=c[j>>2]|0;h=c[k>>2]|0;if(g>>>0<h>>>0){h=h-g|0;l=e-f|0;h=(l|0)<(h|0)?l:h;Te(g,d,h)|0;c[j>>2]=(c[j>>2]|0)+h;d=d+h|0;f=h+f|0;continue}h=c[(c[b>>2]|0)+52>>2]|0;l=ie(a[d>>0]|0)|0;if((Ic[h&31](b,l)|0)==(i|0))break;d=d+1|0;f=f+1|0}return f|0}function Km(a,b){a=a|0;b=b|0;return $d()|0}function Lm(){return -1}function Mm(a){a=a|0;return a|0}function Nm(a,b,c){a=a|0;b=b|0;c=c|0;if(c)Xl(a,b,c)|0;return a|0}function Om(a){a=a|0;Sm(a,7036);tm(a+8|0);return}function Pm(a){a=a|0;Om(a);cw(a);return}function Qm(a){a=a|0;Om(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Rm(a){a=a|0;Pm(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Sm(a,b){a=a|0;b=b|0;return}function Tm(a){a=a|0;Xm(a,7044);tm(a+4|0);return}function Um(a){a=a|0;Tm(a);cw(a);return}function Vm(a){a=a|0;Tm(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Wm(a){a=a|0;Um(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Xm(a,b){a=a|0;b=b|0;return}function Ym(a){a=a|0;cn(a,7112);tm(a+12|0);return}function Zm(a){a=a|0;Ym(a);cw(a);return}function _m(a){a=a|0;Ym(a+-8|0);return}function $m(a){a=a|0;Zm(a+-8|0);return}function an(a){a=a|0;Ym(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function bn(a){a=a|0;Zm(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function cn(a,b){a=a|0;b=b|0;Xm(a+8|0,b+12|0);Sm(a,b+4|0);return}function dn(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+24>>2]|0)==0|b;return}function en(a,b){a=a|0;b=b|0;var d=0;c[a+24>>2]=b;c[a+16>>2]=(b|0)==0&1;c[a+20>>2]=0;c[a+4>>2]=4098;c[a+12>>2]=0;c[a+8>>2]=6;d=a+28|0;b=a+32|0;a=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));Uv(d);return}function fn(a,b){a=a|0;b=b|0;Sv(a,b+28|0);return}function gn(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function hn(a){a=a|0;c[a>>2]=6940;Uv(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function jn(b){b=b|0;var d=0,e=0,f=0;e=l;l=l+16|0;d=e;if(c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0){kn(d,b);if(a[d>>0]|0?(f=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Ac[c[(c[f>>2]|0)+24>>2]&63](f)|0)==-1):0){f=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;dn(f,c[f+16>>2]|1)}ln(d)}l=e;return b|0}function kn(b,d){b=b|0;d=d|0;a[b>>0]=0;c[b+4>>2]=d;d=d+(c[(c[d>>2]|0)+-12>>2]|0)|0;if(!(c[d+16>>2]|0)){d=c[d+72>>2]|0;if(d|0)jn(d)|0;a[b>>0]=1}return}function ln(a){a=a|0;var b=0;a=a+4|0;b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;if((((c[b+24>>2]|0?(c[b+16>>2]|0)==0:0)?c[b+4>>2]&8192|0:0)?!(xa()|0):0)?(b=c[a>>2]|0,b=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Ac[c[(c[b>>2]|0)+24>>2]&63](b)|0)==-1):0){b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;dn(b,c[b+16>>2]|1)}return}function mn(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+16|0;i=j;kn(i,b);do if(a[i>>0]|0){e=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;f=e;if(e|0){g=f+24|0;h=c[g>>2]|0;if((h|0)==(c[f+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;d=ie(d)|0;d=Ic[h&31](f,d)|0}else{c[g>>2]=h+1;a[h>>0]=d;d=ie(d)|0}if(!(je(d,$d()|0)|0))break}h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;dn(h,c[h+16>>2]|1)}while(0);ln(i);l=j;return b|0}function nn(a){a=a|0;a=a+16|0;c[a>>2]=c[a>>2]|1;return}function on(a){a=a|0;un(a);return}function pn(a){a=a|0;on(a);cw(a);return}function qn(a){a=a|0;if(a|0)wc[c[(c[a>>2]|0)+4>>2]&127](a);return}function rn(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;b=c;while(1){if((e|0)==(f|0)){h=7;break}if((b|0)==(d|0)){b=-1;break}c=a[b>>0]|0;g=a[e>>0]|0;if(c<<24>>24<g<<24>>24){b=-1;break}if(g<<24>>24<c<<24>>24){b=1;break}e=e+1|0;b=b+1|0}if((h|0)==7)b=(b|0)!=(d|0)&1;return b|0}function sn(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;j=l;l=l+16|0;h=j;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;i=f-e|0;if(i>>>0>4294967279)jw(b);if(i>>>0<11){a[b+11>>0]=i;g=b}else{d=i+16&-16;g=aw(d)|0;c[b>>2]=g;c[b+8>>2]=d|-2147483648;c[b+4>>2]=i}d=e;b=g;while(1){if((d|0)==(f|0))break;re(b,d);d=d+1|0;b=b+1|0}a[h>>0]=0;re(g+i|0,h);l=j;return}function tn(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;b=0;while(1){if((c|0)==(d|0))break;e=(a[c>>0]|0)+(b<<4)|0;f=e&-268435456;b=(f>>>24|f)^e;c=c+1|0}return b|0}function un(a){a=a|0;return}function vn(a){a=a|0;un(a);return}function wn(a){a=a|0;vn(a);cw(a);return}function xn(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;a=b;while(1){if((e|0)==(f|0)){h=7;break}if((a|0)==(d|0)){a=-1;break}b=c[a>>2]|0;g=c[e>>2]|0;if((b|0)<(g|0)){a=-1;break}if((g|0)<(b|0)){a=1;break}e=e+4|0;a=a+4|0}if((h|0)==7)a=(a|0)!=(d|0)&1;return a|0}function yn(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=l;l=l+16|0;g=i;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;h=f-e>>2;if(h>>>0>1073741807)jw(b);do if(h>>>0>=2){d=h+4&-4;if(d>>>0>1073741823)Hb();else{k=aw(d<<2)|0;c[b>>2]=k;c[b+8>>2]=d|-2147483648;c[b+4>>2]=h;j=e;break}}else{a[b+8+3>>0]=h;j=e;k=b}while(0);while(1){if((j|0)==(f|0))break;An(k,j);j=j+4|0;k=k+4|0}c[g>>2]=0;An(k,g);l=i;return}function zn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=0;while(1){if((b|0)==(d|0))break;e=(c[b>>2]|0)+(a<<4)|0;f=e&-268435456;a=(f>>>24|f)^e;b=b+4|0}return a|0}function An(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];return}function Bn(a){a=a|0;un(a);return}function Cn(a){a=a|0;un(a);cw(a);return}function Dn(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;p=l;l=l+48|0;i=p+40|0;o=p+16|0;j=p+8|0;k=p+12|0;m=p+4|0;n=p;if(!(c[f+4>>2]&1)){c[j>>2]=-1;n=c[(c[b>>2]|0)+16>>2]|0;c[k>>2]=c[d>>2];c[m>>2]=c[e>>2];c[o>>2]=c[k>>2];c[i>>2]=c[m>>2];c[d>>2]=yc[n&63](b,o,i,f,g,j)|0;switch(c[j>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}i=c[d>>2]|0}else{fn(i,f);m=On(i,21672)|0;Pn(i);fn(i,f);b=On(i,21688)|0;Pn(i);xc[c[(c[b>>2]|0)+24>>2]&63](o,b);xc[c[(c[b>>2]|0)+28>>2]&63](o+12|0,b);c[n>>2]=c[e>>2];b=o+24|0;c[i>>2]=c[n>>2];a[h>>0]=(vo(d,i,o,b,m,g,1)|0)==(o|0)&1;i=c[d>>2]|0;do{b=b+-12|0;mw(b)}while((b|0)!=(o|0))}l=p;return i|0}function En(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=to(a,j,i,e,f,g)|0;l=h;return g|0}function Fn(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=ro(a,j,i,e,f,g)|0;l=h;return g|0}function Gn(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=po(a,j,i,e,f,g)|0;l=h;return g|0}function Hn(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=no(a,j,i,e,f,g)|0;l=h;return g|0}function In(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=lo(a,j,i,e,f,g)|0;l=h;return g|0}function Jn(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=ho(a,j,i,e,f,g)|0;l=h;return g|0}function Kn(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=fo(a,j,i,e,f,g)|0;l=h;return g|0}function Ln(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=co(a,j,i,e,f,g)|0;l=h;return g|0}function Mn(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;h=l;l=l+16|0;i=h+12|0;j=h+8|0;m=h+4|0;k=h;c[m>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[m>>2];c[i>>2]=c[k>>2];g=Zn(a,j,i,e,f,g)|0;l=h;return g|0}function Nn(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=l;l=l+240|0;w=z;u=z+204|0;x=z+192|0;y=z+180|0;v=z+176|0;r=z+16|0;s=z+8|0;t=z+4|0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}fn(y,f);b=On(y,21672)|0;rc[c[(c[b>>2]|0)+32>>2]&7](b,17528,17554,u)|0;Pn(y);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}q=y+11|0;p=y+8|0;if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tw(y,b,0);b=(a[q>>0]|0)<0?c[y>>2]|0:y;c[v>>2]=b;c[s>>2]=r;c[t>>2]=0;o=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=22;break}}else A=22;while(0);if((A|0)==22){A=0;if(k){i=0;break}else i=0}f=a[q>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){tw(y,f<<1,0);if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tw(y,b,0);b=(a[q>>0]|0)<0?c[y>>2]|0:y;c[v>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=ie(a[f>>0]|0)|0;if(Qn(f&255,16,b,v,t,0,x,r,s,u)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+1;ie(a[f>>0]|0)|0;i=n;continue}}tw(y,(c[v>>2]|0)-b|0,0);u=(a[q>>0]|0)<0?c[y>>2]|0:y;v=Rn()|0;c[w>>2]=h;if((Sn(u,v,17561,w)|0)!=1)c[g>>2]=4;if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{A=51;break}else{c[e>>2]=0;A=49;break}}else A=49;while(0);if((A|0)==49?f:0)A=51;if((A|0)==51)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;mw(y);mw(x);l=z;return A|0}function On(a,b){a=a|0;b=b|0;a=c[a>>2]|0;return Un(a,Tn(b)|0)|0}function Pn(a){a=a|0;Zv(c[a>>2]|0)|0;return}function Qn(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(a[l+24>>0]|0)==b<<24>>24;if(!m?(a[l+25>>0]|0)!=b<<24>>24:0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i+11>>0]|0;if(b<<24>>24==h<<24>>24?((n<<24>>24<0?c[i+4>>2]|0:n&255)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}f=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=f;c[g>>2]=0;m=0;break}i=l+26|0;h=0;while(1){m=l+h|0;if((h|0)==26){m=i;break}if((a[m>>0]|0)==b<<24>>24)break;else h=h+1|0}m=m-l|0;if((m|0)>23)m=-1;else{h=17528+m|0;switch(d|0){case 10:case 8:{if((m|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=22){if(p){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[h>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[h>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function Rn(){if((a[20384]|0)==0?Bx(20384)|0:0)c[5420]=Yl(2147483647,17564,0)|0;return c[5420]|0}function Sn(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=Zl(b)|0;b=fl(a,d,g)|0;if(e|0)Zl(e)|0;l=f;return b|0}function Tn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=l;l=l+48|0;b=f+32|0;d=f+24|0;e=f;g=f+16|0;c[g>>2]=99;c[g+4>>2]=0;c[b>>2]=c[g>>2];c[b+4>>2]=c[g+4>>2];Wn(e,b,a);if((c[a>>2]|0)!=-1){c[b>>2]=e;c[d>>2]=b;$v(a,d,100)}l=f;return (c[a+4>>2]|0)+-1|0}function Un(a,b){a=a|0;b=b|0;return c[(c[a+8>>2]|0)+(b<<2)>>2]|0}function Vn(a){a=a|0;var b=0;b=c[5421]|0;c[5421]=b+1;c[a+4>>2]=b+1;return}function Wn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[b>>2]|0;b=c[b+4>>2]|0;c[a>>2]=d;c[a+4>>2]=e;c[a+8>>2]=b;return}function Xn(a){a=a|0;Yn(c[c[a>>2]>>2]|0);return}function Yn(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;e=c[a+8>>2]|0;d=(c[a>>2]|0)+(e>>1)|0;if(!(e&1))a=b;else a=c[(c[d>>2]|0)+b>>2]|0;wc[a&127](d);return}function Zn(b,d,e,f,g,i){b=b|0;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,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=l;l=l+240|0;t=E+200|0;u=E+199|0;v=E+198|0;D=E+184|0;C=E+172|0;w=E+168|0;x=E+8|0;y=E+4|0;z=E;A=E+197|0;s=E+196|0;_n(D,f,t,u,v);c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}q=C+11|0;r=C+8|0;if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b;c[y>>2]=x;c[z>>2]=0;a[A>>0]=1;a[s>>0]=69;p=C+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;o=0;k=0;m=1}else{o=j;m=0}}else{o=0;k=0;m=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(m)break;else break a;else{c[e>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(m){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[p>>2]|0:f&255;if((c[w>>2]|0)==(b+f|0)){tw(C,f<<1,0);if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b+f}m=o+12|0;f=c[m>>2]|0;n=o+16|0;if((f|0)==(c[n>>2]|0))f=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else f=ie(a[f>>0]|0)|0;if($n(f&255,A,s,b,w,a[u>>0]|0,a[v>>0]|0,D,x,y,z,t)|0)break;f=c[m>>2]|0;if((f|0)==(c[n>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;j=o;continue}else{c[m>>2]=f+1;ie(a[f>>0]|0)|0;j=o;continue}}v=a[D+11>>0]|0;if(!((a[A>>0]|0)==0?1:((v<<24>>24<0?c[D+4>>2]|0:v&255)|0)==0)?(B=c[y>>2]|0,(B-x|0)<160):0){A=c[z>>2]|0;c[y>>2]=B+4;c[B>>2]=A}h[i>>3]=+ao(b,c[w>>2]|0,g);bo(D,x,c[y>>2]|0,g);if(o){b=c[o+12>>2]|0;if((b|0)==(c[o+16>>2]|0))b=Ac[c[(c[k>>2]|0)+36>>2]&63](o)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{F=49;break}else{c[e>>2]=0;F=47;break}}else F=47;while(0);if((F|0)==47?f:0)F=49;if((F|0)==49)c[g>>2]=c[g>>2]|2;F=c[d>>2]|0;mw(C);mw(D);l=E;return F|0}function _n(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+16|0;i=h;fn(i,d);d=On(i,21672)|0;rc[c[(c[d>>2]|0)+32>>2]&7](d,17528,17560,e)|0;e=On(i,21688)|0;a[f>>0]=Ac[c[(c[e>>2]|0)+12>>2]&63](e)|0;a[g>>0]=Ac[c[(c[e>>2]|0)+16>>2]&63](e)|0;xc[c[(c[e>>2]|0)+20>>2]&63](b,e);Pn(i);l=h;return}function $n(b,d,e,f,g,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0;p=k;a:do if(b<<24>>24==h<<24>>24)if(a[d>>0]|0){a[d>>0]=0;e=c[g>>2]|0;c[g>>2]=e+1;a[e>>0]=46;g=a[j+11>>0]|0;if(((g<<24>>24<0?c[j+4>>2]|0:g&255)|0)!=0?(o=c[l>>2]|0,(o-p|0)<160):0){k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;k=0}else k=0}else k=-1;else{if(b<<24>>24==i<<24>>24?(i=a[j+11>>0]|0,(i<<24>>24<0?c[j+4>>2]|0:i&255)|0):0){if(!(a[d>>0]|0)){k=-1;break}k=c[l>>2]|0;if((k-p|0)>=160){k=0;break}g=c[m>>2]|0;c[l>>2]=k+4;c[k>>2]=g;c[m>>2]=0;k=0;break}h=n+32|0;o=0;while(1){k=n+o|0;if((o|0)==32){k=h;break}if((a[k>>0]|0)==b<<24>>24)break;else o=o+1|0}o=k-n|0;if((o|0)>31)k=-1;else{h=a[17528+o>>0]|0;switch(o|0){case 24:case 25:{k=c[g>>2]|0;if((k|0)!=(f|0)?(a[k+-1>>0]&95)!=(a[e>>0]&127):0){k=-1;break a}c[g>>2]=k+1;a[k>>0]=h;k=0;break a}case 23:case 22:{a[e>>0]=80;k=c[g>>2]|0;c[g>>2]=k+1;a[k>>0]=h;k=0;break a}default:{k=h&95;if((((k|0)==(a[e>>0]|0)?(a[e>>0]=k|128,a[d>>0]|0):0)?(a[d>>0]=0,e=a[j+11>>0]|0,(e<<24>>24<0?c[j+4>>2]|0:e&255)|0):0)?(q=c[l>>2]|0,(q-p|0)<160):0){e=c[m>>2]|0;c[l>>2]=q+4;c[q>>2]=e}l=c[g>>2]|0;c[g>>2]=l+1;a[l>>0]=h;if((o|0)>21){k=0;break a}c[m>>2]=(c[m>>2]|0)+1;k=0;break a}}}}while(0);return k|0}function ao(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;e=+sm(a,f,Rn()|0);a=c[(ek()|0)>>2]|0;if(!a)c[(ek()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==34)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}l=i;return +e}function bo(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;k=a[b+11>>0]|0;j=k<<24>>24<0;i=b+4|0;g=c[i>>2]|0;k=k&255;do if((j?g:k)|0){if((d|0)!=(e|0)){g=e;h=d;while(1){g=g+-4|0;if(h>>>0>=g>>>0)break;m=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=m;h=h+4|0}g=c[i>>2]|0}m=j?c[b>>2]|0:b;e=e+-4|0;b=m+(j?g:k)|0;g=m;while(1){h=a[g>>0]|0;i=h<<24>>24>0&h<<24>>24!=127;if(d>>>0>=e>>>0)break;if(i?(h<<24>>24|0)!=(c[d>>2]|0):0){l=10;break}d=d+4|0;g=(b-g|0)>1?g+1|0:g}if((l|0)==10){c[f>>2]=4;break}if(i?((c[e>>2]|0)+-1|0)>>>0>=h<<24>>24>>>0:0)c[f>>2]=4}while(0);return}function co(b,d,e,f,g,i){b=b|0;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,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=l;l=l+240|0;t=E+200|0;u=E+199|0;v=E+198|0;D=E+184|0;C=E+172|0;w=E+168|0;x=E+8|0;y=E+4|0;z=E;A=E+197|0;s=E+196|0;_n(D,f,t,u,v);c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}q=C+11|0;r=C+8|0;if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b;c[y>>2]=x;c[z>>2]=0;a[A>>0]=1;a[s>>0]=69;p=C+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;o=0;k=0;m=1}else{o=j;m=0}}else{o=0;k=0;m=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(m)break;else break a;else{c[e>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(m){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[p>>2]|0:f&255;if((c[w>>2]|0)==(b+f|0)){tw(C,f<<1,0);if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b+f}m=o+12|0;f=c[m>>2]|0;n=o+16|0;if((f|0)==(c[n>>2]|0))f=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else f=ie(a[f>>0]|0)|0;if($n(f&255,A,s,b,w,a[u>>0]|0,a[v>>0]|0,D,x,y,z,t)|0)break;f=c[m>>2]|0;if((f|0)==(c[n>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;j=o;continue}else{c[m>>2]=f+1;ie(a[f>>0]|0)|0;j=o;continue}}v=a[D+11>>0]|0;if(!((a[A>>0]|0)==0?1:((v<<24>>24<0?c[D+4>>2]|0:v&255)|0)==0)?(B=c[y>>2]|0,(B-x|0)<160):0){A=c[z>>2]|0;c[y>>2]=B+4;c[B>>2]=A}h[i>>3]=+eo(b,c[w>>2]|0,g);bo(D,x,c[y>>2]|0,g);if(o){b=c[o+12>>2]|0;if((b|0)==(c[o+16>>2]|0))b=Ac[c[(c[k>>2]|0)+36>>2]&63](o)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{F=49;break}else{c[e>>2]=0;F=47;break}}else F=47;while(0);if((F|0)==47?f:0)F=49;if((F|0)==49)c[g>>2]=c[g>>2]|2;F=c[d>>2]|0;mw(C);mw(D);l=E;return F|0}function eo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;e=+rm(a,f,Rn()|0);a=c[(ek()|0)>>2]|0;if(!a)c[(ek()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==34)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}l=i;return +e}function fo(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,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+240|0;t=E+200|0;u=E+199|0;v=E+198|0;D=E+184|0;C=E+172|0;w=E+168|0;x=E+8|0;y=E+4|0;z=E;A=E+197|0;s=E+196|0;_n(D,f,t,u,v);c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}q=C+11|0;r=C+8|0;if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b;c[y>>2]=x;c[z>>2]=0;a[A>>0]=1;a[s>>0]=69;p=C+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;o=0;k=0;m=1}else{o=j;m=0}}else{o=0;k=0;m=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(m)break;else break a;else{c[e>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(m){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[p>>2]|0:f&255;if((c[w>>2]|0)==(b+f|0)){tw(C,f<<1,0);if((a[q>>0]|0)<0)b=(c[r>>2]&2147483647)+-1|0;else b=10;tw(C,b,0);b=(a[q>>0]|0)<0?c[C>>2]|0:C;c[w>>2]=b+f}m=o+12|0;f=c[m>>2]|0;n=o+16|0;if((f|0)==(c[n>>2]|0))f=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else f=ie(a[f>>0]|0)|0;if($n(f&255,A,s,b,w,a[u>>0]|0,a[v>>0]|0,D,x,y,z,t)|0)break;f=c[m>>2]|0;if((f|0)==(c[n>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;j=o;continue}else{c[m>>2]=f+1;ie(a[f>>0]|0)|0;j=o;continue}}v=a[D+11>>0]|0;if(!((a[A>>0]|0)==0?1:((v<<24>>24<0?c[D+4>>2]|0:v&255)|0)==0)?(B=c[y>>2]|0,(B-x|0)<160):0){A=c[z>>2]|0;c[y>>2]=B+4;c[B>>2]=A}g[i>>2]=+go(b,c[w>>2]|0,h);bo(D,x,c[y>>2]|0,h);if(o){b=c[o+12>>2]|0;if((b|0)==(c[o+16>>2]|0))b=Ac[c[(c[k>>2]|0)+36>>2]&63](o)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](j)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{F=49;break}else{c[e>>2]=0;F=47;break}}else F=47;while(0);if((F|0)==47?f:0)F=49;if((F|0)==49)c[h>>2]=c[h>>2]|2;F=c[d>>2]|0;mw(C);mw(D);l=E;return F|0}function go(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;e=+qm(a,f,Rn()|0);a=c[(ek()|0)>>2]|0;if(!a)c[(ek()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==34)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}l=i;return +e}function ho(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,C=0,D=0;C=l;l=l+224|0;r=C+198|0;s=C+196|0;z=C+184|0;B=C+172|0;t=C+168|0;u=C+8|0;v=C+4|0;w=C;x=io(f)|0;jo(z,f,r,s);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=B+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(k)break;else break a;else{c[e>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=ie(a[f>>0]|0)|0;if(Qn(f&255,x,b,t,w,a[s>>0]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+1;ie(a[f>>0]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}y=ko(b,c[t>>2]|0,g,x)|0;c[h>>2]=y;c[h+4>>2]=A;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{D=49;break}else{c[e>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?f:0)D=49;if((D|0)==49)c[g>>2]=c[g>>2]|2;D=c[d>>2]|0;mw(B);mw(z);l=C;return D|0}function io(a){a=a|0;switch(c[a+4>>2]&74){case 64:{a=8;break}case 8:{a=16;break}case 0:{a=0;break}default:a=10}return a|0}function jo(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=l;l=l+16|0;h=g;fn(h,d);d=On(h,21672)|0;rc[c[(c[d>>2]|0)+32>>2]&7](d,17528,17554,e)|0;e=On(h,21688)|0;a[f>>0]=Ac[c[(c[e>>2]|0)+16>>2]&63](e)|0;xc[c[(c[e>>2]|0)+20>>2]&63](b,e);Pn(h);l=g;return}function ko(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;h=k;do if((b|0)==(d|0)){c[e>>2]=4;f=0;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;f=0;b=0;break}i=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;b=jm(b,h,f,Rn()|0)|0;f=A;g=c[(ek()|0)>>2]|0;if(!g)c[(ek()|0)>>2]=i;if((c[h>>2]|0)==(d|0)){if((g|0)==34){b=-1;f=-1;j=8}}else{b=0;f=0;j=8}if((j|0)==8)c[e>>2]=4}while(0);A=f;l=k;return b|0}function lo(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=l;l=l+224|0;r=B+198|0;s=B+196|0;z=B+184|0;A=B+172|0;t=B+168|0;u=B+8|0;v=B+4|0;w=B;x=io(f)|0;jo(z,f,r,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=A+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(k)break;else break a;else{c[e>>2]=0;C=19;break}}else C=19;while(0);if((C|0)==19){C=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(A,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=ie(a[f>>0]|0)|0;if(Qn(f&255,x,b,t,w,a[s>>0]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+1;ie(a[f>>0]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}c[h>>2]=mo(b,c[t>>2]|0,g,x)|0;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{C=49;break}else{c[e>>2]=0;C=47;break}}else C=47;while(0);if((C|0)==47?f:0)C=49;if((C|0)==49)c[g>>2]=c[g>>2]|2;C=c[d>>2]|0;mw(A);mw(z);l=B;return C|0}function mo(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;j=l;l=l+16|0;h=j;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}i=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;b=jm(b,h,f,Rn()|0)|0;f=A;g=c[(ek()|0)>>2]|0;if(!g)c[(ek()|0)>>2]=i;do if((c[h>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==34){c[e>>2]=4;b=-1;break}else break;else{c[e>>2]=4;b=0}while(0)}while(0);l=j;return b|0}function no(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=l;l=l+224|0;r=B+198|0;s=B+196|0;z=B+184|0;A=B+172|0;t=B+168|0;u=B+8|0;v=B+4|0;w=B;x=io(f)|0;jo(z,f,r,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b;c[v>>2]=u;c[w>>2]=0;o=A+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(je(f,$d()|0)|0){c[d>>2]=0;n=0;j=0;k=1}else{n=i;k=0}}else{n=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else f=ie(a[f>>0]|0)|0;if(!(je(f,$d()|0)|0))if(k)break;else break a;else{c[e>>2]=0;C=19;break}}else C=19;while(0);if((C|0)==19){C=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){tw(A,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tw(A,b,0);b=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=b+f}k=n+12|0;f=c[k>>2]|0;m=n+16|0;if((f|0)==(c[m>>2]|0))f=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0;else f=ie(a[f>>0]|0)|0;if(Qn(f&255,x,b,t,w,a[s>>0]|0,z,u,v,r)|0)break;f=c[k>>2]|0;if((f|0)==(c[m>>2]|0)){Ac[c[(c[n>>2]|0)+40>>2]&63](n)|0;i=n;continue}else{c[k>>2]=f+1;ie(a[f>>0]|0)|0;i=n;continue}}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(y=c[v>>2]|0,(y-u|0)<160):0){w=c[w>>2]|0;c[v>>2]=y+4;c[y>>2]=w}c[h>>2]=oo(b,c[t>>2]|0,g,x)|0;bo(z,u,c[v>>2]|0,g);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Ac[c[(c[j>>2]|0)+36>>2]&63](n)|0;else b=ie(a[b>>0]|0)|0;if(je(b,$d()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Ac[c[(c[i>>2]|0)+36>>2]&63](i)|0;else b=ie(a[b>>0]|0)|0;if(!(je(b,$d()|0)|0))if(f)break;else{C=49;break}else{c[e>>2]=0;C=47;break}}else C=47;while(0);if((C|0)==47?f:0)C=49;if((C|0)==49)c[g>>2]=c[g>>2]|2;C=c[d>>2]|0;mw(A);mw(z);l=B;return C|0}function oo(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;j=l;l=l+16|0;h=j;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}i=c[(ek()|0)>>2]|0;c[(ek()|0)>>2]=0;b=jm(b,h,f,Rn()|0)|0;f=A;g=c[(ek()|0)>>2]|0;if(!g)c[(ek()|0)>>2]=i;do if((c[h>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==34){c[e>>2]=4;b=-1;break}else break;else{c[e>>2]=4;b=0}while(0)}while(0);l=j;return b|0}
function hs(b,d,e,f,g,h,i,j,k,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0;p=l;l=l+16|0;n=p+12|0;o=p;if(b){d=On(d,23392)|0;xc[c[(c[d>>2]|0)+44>>2]&63](n,d);b=c[n>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;xc[c[(c[d>>2]|0)+32>>2]&63](o,d);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[n>>0]=0;re(b,n);c[k+4>>2]=0;b=k}else{a[n>>0]=0;re(k,n);a[b>>0]=0;b=k}rw(k,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);xc[c[(c[d>>2]|0)+28>>2]&63](o,d);b=j+11|0;if((a[b>>0]|0)<0){b=c[j>>2]|0;a[n>>0]=0;re(b,n);c[j+4>>2]=0;b=j}else{a[n>>0]=0;re(j,n);a[b>>0]=0;b=j}rw(j,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);a[f>>0]=Ac[c[(c[d>>2]|0)+12>>2]&63](d)|0;a[g>>0]=Ac[c[(c[d>>2]|0)+16>>2]&63](d)|0;xc[c[(c[d>>2]|0)+20>>2]&63](o,d);b=h+11|0;if((a[b>>0]|0)<0){b=c[h>>2]|0;a[n>>0]=0;re(b,n);c[h+4>>2]=0;b=h}else{a[n>>0]=0;re(h,n);a[b>>0]=0;b=h}rw(h,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);xc[c[(c[d>>2]|0)+24>>2]&63](o,d);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[n>>0]=0;re(b,n);c[i+4>>2]=0;b=i}else{a[n>>0]=0;re(i,n);a[b>>0]=0;b=i}rw(i,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);b=Ac[c[(c[d>>2]|0)+36>>2]&63](d)|0}else{d=On(d,23384)|0;xc[c[(c[d>>2]|0)+44>>2]&63](n,d);b=c[n>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;xc[c[(c[d>>2]|0)+32>>2]&63](o,d);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[n>>0]=0;re(b,n);c[k+4>>2]=0;b=k}else{a[n>>0]=0;re(k,n);a[b>>0]=0;b=k}rw(k,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);xc[c[(c[d>>2]|0)+28>>2]&63](o,d);b=j+11|0;if((a[b>>0]|0)<0){b=c[j>>2]|0;a[n>>0]=0;re(b,n);c[j+4>>2]=0;b=j}else{a[n>>0]=0;re(j,n);a[b>>0]=0;b=j}rw(j,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);a[f>>0]=Ac[c[(c[d>>2]|0)+12>>2]&63](d)|0;a[g>>0]=Ac[c[(c[d>>2]|0)+16>>2]&63](d)|0;xc[c[(c[d>>2]|0)+20>>2]&63](o,d);b=h+11|0;if((a[b>>0]|0)<0){b=c[h>>2]|0;a[n>>0]=0;re(b,n);c[h+4>>2]=0;b=h}else{a[n>>0]=0;re(h,n);a[b>>0]=0;b=h}rw(h,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);xc[c[(c[d>>2]|0)+24>>2]&63](o,d);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[n>>0]=0;re(b,n);c[i+4>>2]=0;b=i}else{a[n>>0]=0;re(i,n);a[b>>0]=0;b=i}rw(i,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);b=Ac[c[(c[d>>2]|0)+36>>2]&63](d)|0}c[m>>2]=b;l=p;return}function is(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+4|0;f=(c[i>>2]|0)!=109;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;g=(g|0)==0?1:g;h=(c[b>>2]|0)-e|0;e=_j(f?e:0,g)|0;if(!e)ew();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){wc[c[i>>2]&127](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=110;c[b>>2]=e+h;c[d>>2]=(c[a>>2]|0)+g;return}function js(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+4|0;f=(c[i>>2]|0)!=109;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;g=(g|0)==0?4:g;h=(c[b>>2]|0)-e>>2;e=_j(f?e:0,g)|0;if(!e)ew();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){wc[c[i>>2]&127](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=110;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function ks(a){a=a|0;un(a);return}function ls(a){a=a|0;un(a);cw(a);return}function ms(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;x=l;l=l+576|0;o=x+424|0;r=x;n=x+24|0;w=x+16|0;q=x+12|0;t=x+8|0;j=x+564|0;y=x+4|0;p=x+464|0;c[w>>2]=n;v=w+4|0;c[v>>2]=109;fn(t,g);b=On(t,21704)|0;a[j>>0]=0;c[y>>2]=c[e>>2];m=c[g+4>>2]|0;c[o>>2]=c[y>>2];if(os(d,o,f,t,m,h,j,b,w,q,n+400|0)|0){rc[c[(c[b>>2]|0)+48>>2]&7](b,18942,18952,o)|0;m=c[q>>2]|0;f=c[w>>2]|0;b=m-f|0;if((b|0)>392){b=Yj((b>>>2)+2|0)|0;if(!b)ew();else{k=b;s=b}}else{k=p;s=0}if(!(a[j>>0]|0))b=k;else{a[k>>0]=45;b=k+1|0}k=o+40|0;n=o;j=f;g=b;b=m;while(1){if(j>>>0>=b>>>0)break;f=c[j>>2]|0;b=o;while(1){if((b|0)==(k|0)){b=k;break}if((c[b>>2]|0)==(f|0))break;b=b+4|0}a[g>>0]=a[18942+(b-n>>2)>>0]|0;j=j+4|0;g=g+1|0;b=c[q>>2]|0}a[g>>0]=0;c[r>>2]=i;if((el(p,18843,r)|0)!=1)ir(0);if(s|0)Zj(s)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=Mm(c[f>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=Mm(c[f>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(g)break;else{u=34;break}else{c[e>>2]=0;u=32;break}}else u=32;while(0);if((u|0)==32?g:0)u=34;if((u|0)==34)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;Pn(t);b=c[w>>2]|0;c[w>>2]=0;if(b|0)wc[c[v>>2]&127](b);l=x;return f|0}function ns(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;u=l;l=l+432|0;j=u+424|0;b=u+24|0;t=u+16|0;n=u+8|0;q=u;k=u+428|0;o=u+4|0;c[t>>2]=b;s=t+4|0;c[s>>2]=109;fn(q,g);m=On(q,21704)|0;a[k>>0]=0;p=c[e>>2]|0;c[o>>2]=p;g=c[g+4>>2]|0;c[j>>2]=c[o>>2];o=p;if(os(d,j,f,q,g,h,k,m,t,n,b+400|0)|0){b=i+8+3|0;if((a[b>>0]|0)<0){f=c[i>>2]|0;c[j>>2]=0;An(f,j);c[i+4>>2]=0}else{c[j>>2]=0;An(i,j);a[b>>0]=0}if(a[k>>0]|0)Iw(i,Ic[c[(c[m>>2]|0)+44>>2]&31](m,45)|0);k=Ic[c[(c[m>>2]|0)+44>>2]&31](m,48)|0;g=c[n>>2]|0;j=g+-4|0;b=c[t>>2]|0;while(1){if(b>>>0>=j>>>0)break;if((c[b>>2]|0)!=(k|0))break;b=b+4|0}ps(i,b,g)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Ac[c[(c[b>>2]|0)+36>>2]&63](b)|0;else b=Mm(c[g>>2]|0)|0;if(gn(b,Lm()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(p){b=c[o+12>>2]|0;if((b|0)==(c[o+16>>2]|0))b=Ac[c[(c[p>>2]|0)+36>>2]&63](o)|0;else b=Mm(c[b>>2]|0)|0;if(!(gn(b,Lm()|0)|0))if(g)break;else{r=27;break}else{c[e>>2]=0;r=25;break}}else r=25;while(0);if((r|0)==25?g:0)r=27;if((r|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;Pn(q);b=c[t>>2]|0;c[t>>2]=0;if(b|0)wc[c[s>>2]&127](b);l=u;return g|0}function os(b,e,f,g,h,i,j,k,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;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,M=0,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+512|0;H=Y+96|0;N=Y+104|0;X=Y+88|0;P=Y+80|0;I=Y+76|0;J=Y+504|0;K=Y+72|0;L=Y+68|0;R=Y+56|0;S=Y+44|0;T=Y+32|0;U=Y+20|0;V=Y+8|0;M=Y+4|0;Q=Y;c[H>>2]=o;c[X>>2]=N;W=X+4|0;c[W>>2]=109;c[P>>2]=N;c[I>>2]=N+400;c[R>>2]=0;c[R+4>>2]=0;c[R+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[R+(o<<2)>>2]=0;o=o+1|0}c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[S+(o<<2)>>2]=0;o=o+1|0}c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[T+(o<<2)>>2]=0;o=o+1|0}c[U>>2]=0;c[U+4>>2]=0;c[U+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[U+(o<<2)>>2]=0;o=o+1|0}c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[V+(o<<2)>>2]=0;o=o+1|0}rs(f,g,J,K,L,R,S,T,U,M);c[n>>2]=c[m>>2];D=T+8+3|0;E=T+4|0;F=U+8+3|0;G=U+4|0;v=(h&512|0)!=0;w=S+8+3|0;x=S+4|0;y=V+8+3|0;z=V+4|0;A=J+3|0;B=R+11|0;C=R+4|0;N=0;u=0;a:while(1){h=(N|0)!=0;if(u>>>0>=4){O=229;break}o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(gn(o,Lm()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);f=c[e>>2]|0;do if(f){o=c[f+12>>2]|0;if((o|0)==(c[f+16>>2]|0))o=Ac[c[(c[f>>2]|0)+36>>2]&63](f)|0;else o=Mm(c[o>>2]|0)|0;if(!(gn(o,Lm()|0)|0))if(g){t=f;break}else{O=229;break a}else{c[e>>2]=0;O=31;break}}else O=31;while(0);if((O|0)==31){O=0;if(g){O=229;break}else t=0}o=(u|0)!=3;b:do switch(a[J+u>>0]|0){case 1:{if(o){o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(!(Dc[c[(c[k>>2]|0)+12>>2]&31](k,8192,o)|0)){O=43;break a}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;else{c[f>>2]=g+4;o=Mm(c[g>>2]|0)|0}Iw(V,o);o=t;h=t;O=45}else o=N;break}case 0:{if(o){o=t;h=t;O=45}else o=N;break}case 3:{o=a[D>>0]|0;o=o<<24>>24<0?c[E>>2]|0:o&255;h=a[F>>0]|0;h=h<<24>>24<0?c[G>>2]|0:h&255;if((o|0)==(0-h|0))o=N;else{p=(o|0)==0;o=c[b>>2]|0;f=c[o+12>>2]|0;g=(f|0)==(c[o+16>>2]|0);if(p|(h|0)==0){if(g)o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(p){if((o|0)!=(c[((a[F>>0]|0)<0?c[U>>2]|0:U)>>2]|0)){o=N;break b}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;else{c[f>>2]=g+4;Mm(c[g>>2]|0)|0}a[j>>0]=1;o=a[F>>0]|0;o=(o<<24>>24<0?c[G>>2]|0:o&255)>>>0>1?U:N;break b}if((o|0)!=(c[((a[D>>0]|0)<0?c[T>>2]|0:T)>>2]|0)){a[j>>0]=1;o=N;break b}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;else{c[f>>2]=g+4;Mm(c[g>>2]|0)|0}o=a[D>>0]|0;o=(o<<24>>24<0?c[E>>2]|0:o&255)>>>0>1?T:N;break b}if(g)o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;f=c[b>>2]|0;g=f+12|0;h=c[g>>2]|0;p=(h|0)==(c[f+16>>2]|0);if((o|0)==(c[((a[D>>0]|0)<0?c[T>>2]|0:T)>>2]|0)){if(p)Ac[c[(c[f>>2]|0)+40>>2]&63](f)|0;else{c[g>>2]=h+4;Mm(c[h>>2]|0)|0}o=a[D>>0]|0;o=(o<<24>>24<0?c[E>>2]|0:o&255)>>>0>1?T:N;break b}if(p)o=Ac[c[(c[f>>2]|0)+36>>2]&63](f)|0;else o=Mm(c[h>>2]|0)|0;if((o|0)!=(c[((a[F>>0]|0)<0?c[U>>2]|0:U)>>2]|0)){O=101;break a}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;else{c[f>>2]=g+4;Mm(c[g>>2]|0)|0}a[j>>0]=1;o=a[F>>0]|0;o=(o<<24>>24<0?c[G>>2]|0:o&255)>>>0>1?U:N}break}case 2:{if(!(u>>>0<2|h)?!(v|(u|0)==2&(a[A>>0]|0)!=0):0){o=0;break b}g=a[w>>0]|0;h=c[S>>2]|0;o=g<<24>>24<0?h:S;c:do if((u|0)!=0?(d[J+(u+-1)>>0]|0)<2:0){while(1){s=g<<24>>24<0;f=o;if((f|0)==((s?h:S)+((s?c[x>>2]|0:g&255)<<2)|0))break;if(!(Dc[c[(c[k>>2]|0)+12>>2]&31](k,8192,c[f>>2]|0)|0)){O=108;break}o=f+4|0;g=a[w>>0]|0;h=c[S>>2]|0}if((O|0)==108){O=0;g=a[w>>0]|0;h=c[S>>2]|0}p=g<<24>>24<0?h:S;s=p;r=o-s>>2;q=a[y>>0]|0;f=q<<24>>24<0;q=f?c[z>>2]|0:q&255;if(r>>>0>q>>>0){r=t;f=s;p=t}else{q=(f?c[V>>2]|0:V)+(q<<2)|0;f=q+(0-r<<2)|0;while(1){if((f|0)==(q|0)){r=t;f=o;p=t;break c}if((c[f>>2]|0)!=(c[p>>2]|0)){r=t;f=s;p=t;break c}p=p+4|0;f=f+4|0}}}else{r=t;f=o;p=t}while(0);d:while(1){o=g<<24>>24<0;o=(o?h:S)+((o?c[x>>2]|0:g&255)<<2)|0;q=f;if((q|0)==(o|0))break;o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(gn(o,Lm()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(p){o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))o=Ac[c[(c[p>>2]|0)+36>>2]&63](p)|0;else o=Mm(c[o>>2]|0)|0;if(!(gn(o,Lm()|0)|0))if(f^(r|0)==0){o=r;p=r;break}else{o=q;break d}else{c[e>>2]=0;o=0;O=129;break}}else{o=r;O=129}while(0);if((O|0)==129){O=0;if(f){o=q;break}else p=0}f=c[b>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Ac[c[(c[f>>2]|0)+36>>2]&63](f)|0;else f=Mm(c[g>>2]|0)|0;if((f|0)!=(c[q>>2]|0)){o=q;break}f=c[b>>2]|0;g=f+12|0;h=c[g>>2]|0;if((h|0)==(c[f+16>>2]|0))Ac[c[(c[f>>2]|0)+40>>2]&63](f)|0;else{c[g>>2]=h+4;Mm(c[h>>2]|0)|0}r=o;f=q+4|0;g=a[w>>0]|0;h=c[S>>2]|0}if(v?(t=a[w>>0]|0,s=t<<24>>24<0,(o|0)!=((s?c[S>>2]|0:S)+((s?c[x>>2]|0:t&255)<<2)|0)):0){O=141;break a}else o=N;break}case 4:{r=0;o=t;h=t;e:while(1){f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Ac[c[(c[f>>2]|0)+36>>2]&63](f)|0;else f=Mm(c[g>>2]|0)|0;if(gn(f,Lm()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){f=c[h+12>>2]|0;if((f|0)==(c[h+16>>2]|0))f=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(g^(o|0)==0){p=o;q=o;break}else{h=o;break e}else{c[e>>2]=0;o=0;O=155;break}}else O=155;while(0);if((O|0)==155){O=0;if(g){h=o;break}else{p=o;q=0}}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))f=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else f=Mm(c[f>>2]|0)|0;if(Dc[c[(c[k>>2]|0)+12>>2]&31](k,2048,f)|0){o=c[n>>2]|0;if((o|0)==(c[H>>2]|0)){ss(m,n,H);o=c[n>>2]|0}c[n>>2]=o+4;c[o>>2]=f;o=r+1|0}else{t=a[B>>0]|0;if(!((f|0)==(c[L>>2]|0)&(r|0?((t<<24>>24<0?c[C>>2]|0:t&255)|0)!=0:0))){h=p;break}o=c[P>>2]|0;if((o|0)==(c[I>>2]|0)){js(X,P,I);o=c[P>>2]|0}c[P>>2]=o+4;c[o>>2]=r;o=0}f=c[b>>2]|0;g=f+12|0;h=c[g>>2]|0;if((h|0)==(c[f+16>>2]|0)){Ac[c[(c[f>>2]|0)+40>>2]&63](f)|0;r=o;o=p;h=q;continue}else{c[g>>2]=h+4;Mm(c[h>>2]|0)|0;r=o;o=p;h=q;continue}}o=c[P>>2]|0;if(r|0?(c[X>>2]|0)!=(o|0):0){if((o|0)==(c[I>>2]|0)){js(X,P,I);o=c[P>>2]|0}c[P>>2]=o+4;c[o>>2]=r}f:do if((c[M>>2]|0)>0){o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(gn(o,Lm()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else o=Mm(c[o>>2]|0)|0;if(!(gn(o,Lm()|0)|0))if(f)break;else{O=227;break a}else{c[e>>2]=0;O=189;break}}else O=189;while(0);if((O|0)==189){O=0;if(f){O=227;break a}else h=0}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if((o|0)!=(c[K>>2]|0)){O=227;break a}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;o=h}else{c[f>>2]=g+4;Mm(c[g>>2]|0)|0;o=h}while(1){if((c[M>>2]|0)<=0)break f;f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Ac[c[(c[f>>2]|0)+36>>2]&63](f)|0;else f=Mm(c[g>>2]|0)|0;if(gn(f,Lm()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){f=c[h+12>>2]|0;if((f|0)==(c[h+16>>2]|0))f=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(g^(o|0)==0){p=o;h=o;break}else{O=227;break a}else{c[e>>2]=0;o=0;O=212;break}}else O=212;while(0);if((O|0)==212){O=0;if(g){O=227;break a}else{p=o;h=0}}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(!(Dc[c[(c[k>>2]|0)+12>>2]&31](k,2048,o)|0)){O=227;break a}if((c[n>>2]|0)==(c[H>>2]|0))ss(m,n,H);o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;f=c[n>>2]|0;c[n>>2]=f+4;c[f>>2]=o;c[M>>2]=(c[M>>2]|0)+-1;o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0)){Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;o=p;continue}else{c[f>>2]=g+4;Mm(c[g>>2]|0)|0;o=p;continue}}}while(0);if((c[n>>2]|0)==(c[m>>2]|0)){O=227;break a}else o=N;break}default:o=N}while(0);g:do if((O|0)==45)while(1){O=0;f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Ac[c[(c[f>>2]|0)+36>>2]&63](f)|0;else f=Mm(c[g>>2]|0)|0;if(gn(f,Lm()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){f=c[h+12>>2]|0;if((f|0)==(c[h+16>>2]|0))f=Ac[c[(c[h>>2]|0)+36>>2]&63](h)|0;else f=Mm(c[f>>2]|0)|0;if(!(gn(f,Lm()|0)|0))if(g^(o|0)==0){p=o;h=o;break}else{o=N;break g}else{c[e>>2]=0;o=0;O=58;break}}else O=58;while(0);if((O|0)==58){O=0;if(g){o=N;break g}else{p=o;h=0}}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(!(Dc[c[(c[k>>2]|0)+12>>2]&31](k,8192,o)|0)){o=N;break g}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+40>>2]&63](o)|0;else{c[f>>2]=g+4;o=Mm(c[g>>2]|0)|0}Iw(V,o);o=p;O=45}while(0);N=o;u=u+1|0}h:do if((O|0)==43){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==101){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==141){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==227){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==229){i:do if(h){p=N+8+3|0;q=N+4|0;h=1;j:while(1){o=a[p>>0]|0;if(o<<24>>24<0)o=c[q>>2]|0;else o=o&255;if(h>>>0>=o>>>0)break i;o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(gn(o,Lm()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);o=c[e>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if(!(gn(o,Lm()|0)|0))if(g)break;else break j;else{c[e>>2]=0;O=248;break}}else O=248;while(0);if((O|0)==248?(O=0,g):0)break;o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Ac[c[(c[o>>2]|0)+36>>2]&63](o)|0;else o=Mm(c[f>>2]|0)|0;if((a[p>>0]|0)<0)f=c[N>>2]|0;else f=N;if((o|0)!=(c[f+(h<<2)>>2]|0))break;o=h+1|0;f=c[b>>2]|0;g=f+12|0;h=c[g>>2]|0;if((h|0)==(c[f+16>>2]|0)){Ac[c[(c[f>>2]|0)+40>>2]&63](f)|0;h=o;continue}else{c[g>>2]=h+4;Mm(c[h>>2]|0)|0;h=o;continue}}c[i>>2]=c[i>>2]|4;f=0;break h}while(0);f=c[X>>2]|0;o=c[P>>2]|0;if((f|0)!=(o|0)){c[Q>>2]=0;bo(R,f,o,Q);if(!(c[Q>>2]|0)){f=1;break}else{c[i>>2]=c[i>>2]|4;f=0;break}}else f=1}while(0);Aw(V);Aw(U);Aw(T);Aw(S);mw(R);o=c[X>>2]|0;c[X>>2]=0;if(o|0)wc[c[W>>2]&127](o);l=Y;return f|0}function ps(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+16|0;r=s+12|0;o=s;f=b+8|0;q=f+3|0;i=a[q>>0]|0;g=i<<24>>24<0;if(g){p=c[b+4>>2]|0;j=(c[f>>2]&2147483647)+-1|0}else{p=i&255;j=1}n=e-d>>2;do if(n|0){if(g){g=c[b>>2]|0;h=g;f=c[b+4>>2]|0}else{h=b;f=i&255;g=b}if(qs(d,g,h+(f<<2)|0)|0){c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;if(n>>>0>1073741807)jw(o);do if(n>>>0>=2){f=n+4&-4;if(f>>>0>1073741823)Hb();else{m=aw(f<<2)|0;c[o>>2]=m;c[o+8>>2]=f|-2147483648;c[o+4>>2]=n;k=d;break}}else{a[o+8+3>>0]=n;k=d;m=o}while(0);while(1){if((k|0)==(e|0))break;An(m,k);k=k+4|0;m=m+4|0}c[r>>2]=0;An(m,r);r=a[o+8+3>>0]|0;e=r<<24>>24<0;Hw(b,e?c[o>>2]|0:o,e?c[o+4>>2]|0:r&255)|0;Aw(o);break}g=p+n|0;if((j-p|0)>>>0<n>>>0)Gw(b,j,g-j|0,p,p,0,0);if((a[q>>0]|0)<0)f=c[b>>2]|0;else f=b;f=f+(p<<2)|0;while(1){if((d|0)==(e|0))break;An(f,d);f=f+4|0;d=d+4|0}c[r>>2]=0;An(f,r);if((a[q>>0]|0)<0){c[b+4>>2]=g;break}else{a[q>>0]=g;break}}while(0);l=s;return b|0}function qs(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0<c>>>0|0}function rs(b,d,e,f,g,h,i,j,k,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0;p=l;l=l+16|0;n=p+12|0;o=p;if(b){d=On(d,23408)|0;xc[c[(c[d>>2]|0)+44>>2]&63](n,d);b=c[n>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;xc[c[(c[d>>2]|0)+32>>2]&63](o,d);b=k+8+3|0;if((a[b>>0]|0)<0){e=c[k>>2]|0;c[n>>2]=0;An(e,n);c[k+4>>2]=0}else{c[n>>2]=0;An(k,n);a[b>>0]=0}Ew(k,0);c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o);xc[c[(c[d>>2]|0)+28>>2]&63](o,d);b=j+8+3|0;if((a[b>>0]|0)<0){k=c[j>>2]|0;c[n>>2]=0;An(k,n);c[j+4>>2]=0}else{c[n>>2]=0;An(j,n);a[b>>0]=0}Ew(j,0);c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o);c[f>>2]=Ac[c[(c[d>>2]|0)+12>>2]&63](d)|0;c[g>>2]=Ac[c[(c[d>>2]|0)+16>>2]&63](d)|0;xc[c[(c[d>>2]|0)+20>>2]&63](o,d);b=h+11|0;if((a[b>>0]|0)<0){b=c[h>>2]|0;a[n>>0]=0;re(b,n);c[h+4>>2]=0;b=h}else{a[n>>0]=0;re(h,n);a[b>>0]=0;b=h}rw(h,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);xc[c[(c[d>>2]|0)+24>>2]&63](o,d);b=i+8+3|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;c[n>>2]=0;An(h,n);c[i+4>>2]=0}else{c[n>>2]=0;An(i,n);a[b>>0]=0}Ew(i,0);c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o);b=Ac[c[(c[d>>2]|0)+36>>2]&63](d)|0}else{d=On(d,23400)|0;xc[c[(c[d>>2]|0)+44>>2]&63](n,d);b=c[n>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;xc[c[(c[d>>2]|0)+32>>2]&63](o,d);b=k+8+3|0;if((a[b>>0]|0)<0){e=c[k>>2]|0;c[n>>2]=0;An(e,n);c[k+4>>2]=0}else{c[n>>2]=0;An(k,n);a[b>>0]=0}Ew(k,0);c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o);xc[c[(c[d>>2]|0)+28>>2]&63](o,d);b=j+8+3|0;if((a[b>>0]|0)<0){k=c[j>>2]|0;c[n>>2]=0;An(k,n);c[j+4>>2]=0}else{c[n>>2]=0;An(j,n);a[b>>0]=0}Ew(j,0);c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o);c[f>>2]=Ac[c[(c[d>>2]|0)+12>>2]&63](d)|0;c[g>>2]=Ac[c[(c[d>>2]|0)+16>>2]&63](d)|0;xc[c[(c[d>>2]|0)+20>>2]&63](o,d);b=h+11|0;if((a[b>>0]|0)<0){b=c[h>>2]|0;a[n>>0]=0;re(b,n);c[h+4>>2]=0;b=h}else{a[n>>0]=0;re(h,n);a[b>>0]=0;b=h}rw(h,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);xc[c[(c[d>>2]|0)+24>>2]&63](o,d);b=i+8+3|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;c[n>>2]=0;An(h,n);c[i+4>>2]=0}else{c[n>>2]=0;An(i,n);a[b>>0]=0}Ew(i,0);c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o);b=Ac[c[(c[d>>2]|0)+36>>2]&63](d)|0}c[m>>2]=b;l=p;return}function ss(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+4|0;f=(c[i>>2]|0)!=109;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;g=(g|0)==0?4:g;h=(c[b>>2]|0)-e>>2;e=_j(f?e:0,g)|0;if(!e)ew();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){wc[c[i>>2]&127](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=110;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function ts(a){a=a|0;un(a);return}function us(a){a=a|0;un(a);cw(a);return}function vs(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=+i;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;F=l;l=l+384|0;r=F+8|0;k=F;b=F+284|0;m=F+72|0;j=F+184|0;E=F+68|0;s=F+180|0;t=F+177|0;u=F+176|0;B=F+56|0;C=F+44|0;D=F+32|0;p=F+28|0;q=F+76|0;v=F+24|0;w=F+16|0;x=F+20|0;c[m>>2]=b;h[r>>3]=i;b=sk(b,100,19048,r)|0;if(b>>>0>99){b=Rn()|0;h[k>>3]=i;b=ip(m,b,19048,k)|0;j=c[m>>2]|0;if(!j)ew();k=Yj(b)|0;if(!k)ew();else{y=k;A=b;H=k;I=j}}else{y=j;A=b;H=0;I=0}fn(E,f);o=On(E,21672)|0;n=c[m>>2]|0;rc[c[(c[o>>2]|0)+32>>2]&7](o,n,n+A|0,y)|0;if(!A)n=0;else n=(a[c[m>>2]>>0]|0)==45;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[D+(b<<2)>>2]=0;b=b+1|0}xs(e,n,E,s,t,u,B,C,D,p);m=c[p>>2]|0;if((A|0)>(m|0)){j=a[D+11>>0]|0;k=a[C+11>>0]|0;b=1;j=(j<<24>>24<0?c[D+4>>2]|0:j&255)+(A-m<<1)|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}else{k=a[D+11>>0]|0;j=a[C+11>>0]|0;b=2;j=j<<24>>24<0?c[C+4>>2]|0:j&255;k=k<<24>>24<0?c[D+4>>2]|0:k&255}b=k+m+j+b|0;if(b>>>0>100){b=Yj(b)|0;if(!b)ew();else{z=b;G=b}}else{z=q;G=0}ys(z,v,w,c[f+4>>2]|0,y,y+A|0,o,n,s,a[t>>0]|0,a[u>>0]|0,B,C,D,m);c[x>>2]=c[d>>2];d=c[v>>2]|0;b=c[w>>2]|0;c[r>>2]=c[x>>2];b=pe(r,z,d,b,f,g)|0;if(G|0)Zj(G);mw(D);mw(C);mw(B);Pn(E);if(H|0)Zj(H);if(I|0)Zj(I);l=F;return b|0}function ws(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,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;D=l;l=l+176|0;q=D+56|0;C=D+52|0;v=D+164|0;w=D+161|0;x=D+160|0;z=D+40|0;A=D+28|0;B=D+16|0;m=D+12|0;o=D+60|0;r=D+8|0;s=D+4|0;t=D;fn(C,f);u=On(C,21672)|0;i=h+11|0;p=a[i>>0]|0;b=p<<24>>24<0;j=h+4|0;if(!((b?c[j>>2]|0:p&255)|0))p=0;else{p=a[(b?c[h>>2]|0:h)>>0]|0;p=p<<24>>24==(Ic[c[(c[u>>2]|0)+28>>2]&31](u,45)|0)<<24>>24};c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}xs(e,p,C,v,w,x,z,A,B,m);k=a[i>>0]|0;n=k<<24>>24<0;k=n?c[j>>2]|0:k&255;j=c[m>>2]|0;if((k|0)>(j|0)){i=a[B+11>>0]|0;e=a[A+11>>0]|0;b=1;i=(i<<24>>24<0?c[B+4>>2]|0:i&255)+(k-j<<1)|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}else{e=a[B+11>>0]|0;i=a[A+11>>0]|0;b=2;i=i<<24>>24<0?c[A+4>>2]|0:i&255;e=e<<24>>24<0?c[B+4>>2]|0:e&255}b=e+j+i+b|0;if(b>>>0>100){b=Yj(b)|0;if(!b)ew();else{y=b;E=b}}else{y=o;E=0}h=n?c[h>>2]|0:h;ys(y,r,s,c[f+4>>2]|0,h,h+k|0,u,p,v,a[w>>0]|0,a[x>>0]|0,z,A,B,j);c[t>>2]=c[d>>2];h=c[r>>2]|0;b=c[s>>2]|0;c[q>>2]=c[t>>2];b=pe(q,y,h,b,f,g)|0;if(E|0)Zj(E);mw(B);mw(A);mw(z);Pn(C);l=D;return b|0}function xs(b,d,e,f,g,h,i,j,k,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0;q=l;l=l+16|0;o=q+12|0;p=q;if(b){n=On(e,23392)|0;if(d){xc[c[(c[n>>2]|0)+44>>2]&63](o,n);b=c[o>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;xc[c[(c[n>>2]|0)+32>>2]&63](p,n);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[o>>0]=0;re(b,o);c[k+4>>2]=0;b=k}else{a[o>>0]=0;re(k,o);a[b>>0]=0;b=k}rw(k,0);c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}mw(p);e=n}else{xc[c[(c[n>>2]|0)+40>>2]&63](o,n);b=c[o>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;xc[c[(c[n>>2]|0)+28>>2]&63](p,n);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[o>>0]=0;re(b,o);c[k+4>>2]=0;b=k}else{a[o>>0]=0;re(k,o);a[b>>0]=0;b=k}rw(k,0);c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}mw(p);e=n}a[g>>0]=Ac[c[(c[n>>2]|0)+12>>2]&63](n)|0;a[h>>0]=Ac[c[(c[n>>2]|0)+16>>2]&63](n)|0;xc[c[(c[e>>2]|0)+20>>2]&63](p,n);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[o>>0]=0;re(b,o);c[i+4>>2]=0;b=i}else{a[o>>0]=0;re(i,o);a[b>>0]=0;b=i}rw(i,0);c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}mw(p);xc[c[(c[e>>2]|0)+24>>2]&63](p,n);b=j+11|0;if((a[b>>0]|0)<0){b=c[j>>2]|0;a[o>>0]=0;re(b,o);c[j+4>>2]=0;b=j}else{a[o>>0]=0;re(j,o);a[b>>0]=0;b=j}rw(j,0);c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}mw(p);b=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0}else{n=On(e,23384)|0;if(d){xc[c[(c[n>>2]|0)+44>>2]&63](o,n);b=c[o>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;xc[c[(c[n>>2]|0)+32>>2]&63](p,n);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[o>>0]=0;re(b,o);c[k+4>>2]=0;b=k}else{a[o>>0]=0;re(k,o);a[b>>0]=0;b=k}rw(k,0);c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}mw(p);e=n}else{xc[c[(c[n>>2]|0)+40>>2]&63](o,n);b=c[o>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;xc[c[(c[n>>2]|0)+28>>2]&63](p,n);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[o>>0]=0;re(b,o);c[k+4>>2]=0;b=k}else{a[o>>0]=0;re(k,o);a[b>>0]=0;b=k}rw(k,0);c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}mw(p);e=n}a[g>>0]=Ac[c[(c[n>>2]|0)+12>>2]&63](n)|0;a[h>>0]=Ac[c[(c[n>>2]|0)+16>>2]&63](n)|0;xc[c[(c[e>>2]|0)+20>>2]&63](p,n);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[o>>0]=0;re(b,o);c[i+4>>2]=0;b=i}else{a[o>>0]=0;re(i,o);a[b>>0]=0;b=i}rw(i,0);c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}mw(p);xc[c[(c[e>>2]|0)+24>>2]&63](p,n);b=j+11|0;if((a[b>>0]|0)<0){b=c[j>>2]|0;a[o>>0]=0;re(b,o);c[j+4>>2]=0;b=j}else{a[o>>0]=0;re(j,o);a[b>>0]=0;b=j}rw(j,0);c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}mw(p);b=Ac[c[(c[n>>2]|0)+36>>2]&63](n)|0}c[m>>2]=b;l=q;return}function ys(d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;c[f>>2]=d;z=q+11|0;H=q+4|0;A=p+11|0;B=p+4|0;C=(g&512|0)==0;D=j+8|0;E=(r|0)>0;F=o+11|0;G=o+4|0;y=0;while(1){if((y|0)==4)break;a:do switch(a[l+y>>0]|0){case 0:{c[e>>2]=c[f>>2];break}case 1:{c[e>>2]=c[f>>2];w=Ic[c[(c[j>>2]|0)+28>>2]&31](j,32)|0;x=c[f>>2]|0;c[f>>2]=x+1;a[x>>0]=w;break}case 3:{x=a[z>>0]|0;s=x<<24>>24<0;if((s?c[H>>2]|0:x&255)|0){w=a[(s?c[q>>2]|0:q)>>0]|0;x=c[f>>2]|0;c[f>>2]=x+1;a[x>>0]=w}break}case 2:{t=a[A>>0]|0;s=t<<24>>24<0;t=s?c[B>>2]|0:t&255;if(!(C|(t|0)==0)){x=s?c[p>>2]|0:p;u=x+t|0;s=c[f>>2]|0;t=x;while(1){if((t|0)==(u|0))break;a[s>>0]=a[t>>0]|0;s=s+1|0;t=t+1|0}c[f>>2]=s}break}case 4:{t=c[f>>2]|0;h=k?h+1|0:h;u=h;while(1){if(u>>>0>=i>>>0)break;s=a[u>>0]|0;if(s<<24>>24<=-1)break;if(!(b[(c[D>>2]|0)+(s<<24>>24<<1)>>1]&2048))break;u=u+1|0}if(E){v=r;while(1){s=(v|0)>0;if(!(u>>>0>h>>>0&s))break;x=u+-1|0;s=a[x>>0]|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=s;v=v+-1|0;u=x}if(s)w=Ic[c[(c[j>>2]|0)+28>>2]&31](j,48)|0;else w=0;s=v;while(1){v=c[f>>2]|0;c[f>>2]=v+1;if((s|0)<=0)break;a[v>>0]=w;s=s+-1|0}a[v>>0]=m}b:do if((u|0)==(h|0)){w=Ic[c[(c[j>>2]|0)+28>>2]&31](j,48)|0;x=c[f>>2]|0;c[f>>2]=x+1;a[x>>0]=w}else{x=a[F>>0]|0;s=x<<24>>24<0;if(!((s?c[G>>2]|0:x&255)|0)){w=-1;v=0;x=0}else{w=a[(s?c[o>>2]|0:o)>>0]|0;v=0;x=0}while(1){if((u|0)==(h|0))break b;if((x|0)==(w|0)){w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=n;v=v+1|0;w=a[F>>0]|0;s=w<<24>>24<0;if(v>>>0<(s?c[G>>2]|0:w&255)>>>0){w=a[(s?c[o>>2]|0:o)+v>>0]|0;w=w<<24>>24==127?-1:w<<24>>24;s=0}else{w=x;s=0}}else s=x;I=u+-1|0;J=a[I>>0]|0;x=c[f>>2]|0;c[f>>2]=x+1;a[x>>0]=J;x=s+1|0;u=I}}while(0);s=c[f>>2]|0;if((t|0)!=(s|0))while(1){s=s+-1|0;if(t>>>0>=s>>>0)break a;J=a[t>>0]|0;a[t>>0]=a[s>>0]|0;a[s>>0]=J;t=t+1|0}break}default:{}}while(0);y=y+1|0}h=a[z>>0]|0;s=h<<24>>24<0;h=s?c[H>>2]|0:h&255;if(h>>>0>1){J=s?c[q>>2]|0:q;t=J+h|0;s=c[f>>2]|0;h=J;while(1){h=h+1|0;if((h|0)==(t|0))break;a[s>>0]=a[h>>0]|0;s=s+1|0}c[f>>2]=s}switch((g&176)<<24>>24){case 32:{c[e>>2]=c[f>>2];break}case 16:break;default:c[e>>2]=d}return}function zs(a){a=a|0;un(a);return}function As(a){a=a|0;un(a);cw(a);return}function Bs(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=+i;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;F=l;l=l+1008|0;r=F+8|0;k=F;b=F+896|0;m=F+888|0;j=F+488|0;E=F+480|0;s=F+892|0;t=F+476|0;u=F+472|0;B=F+460|0;C=F+448|0;D=F+436|0;p=F+432|0;q=F+32|0;v=F+24|0;w=F+16|0;x=F+20|0;c[m>>2]=b;h[r>>3]=i;b=sk(b,100,19048,r)|0;if(b>>>0>99){b=Rn()|0;h[k>>3]=i;b=ip(m,b,19048,k)|0;j=c[m>>2]|0;if(!j)ew();k=Yj(b<<2)|0;if(!k)ew();else{y=k;A=b;H=k;I=j}}else{y=j;A=b;H=0;I=0}fn(E,f);o=On(E,21704)|0;n=c[m>>2]|0;rc[c[(c[o>>2]|0)+48>>2]&7](o,n,n+A|0,y)|0;if(!A)n=0;else n=(a[c[m>>2]>>0]|0)==45;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[D+(b<<2)>>2]=0;b=b+1|0}Ds(e,n,E,s,t,u,B,C,D,p);m=c[p>>2]|0;if((A|0)>(m|0)){j=a[D+8+3>>0]|0;k=a[C+8+3>>0]|0;b=1;j=(j<<24>>24<0?c[D+4>>2]|0:j&255)+(A-m<<1)|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}else{k=a[D+8+3>>0]|0;j=a[C+8+3>>0]|0;b=2;j=j<<24>>24<0?c[C+4>>2]|0:j&255;k=k<<24>>24<0?c[D+4>>2]|0:k&255}b=k+m+j+b|0;if(b>>>0>100){b=Yj(b<<2)|0;if(!b)ew();else{z=b;G=b}}else{z=q;G=0}Es(z,v,w,c[f+4>>2]|0,y,y+(A<<2)|0,o,n,s,c[t>>2]|0,c[u>>2]|0,B,C,D,m);c[x>>2]=c[d>>2];d=c[v>>2]|0;b=c[w>>2]|0;c[r>>2]=c[x>>2];b=wp(r,z,d,b,f,g)|0;if(G|0)Zj(G);Aw(D);Aw(C);mw(B);Pn(E);if(H|0)Zj(H);if(I|0)Zj(I);l=F;return b|0}function Cs(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,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;D=l;l=l+480|0;q=D+468|0;C=D+464|0;v=D+472|0;w=D+460|0;x=D+456|0;z=D+444|0;A=D+432|0;B=D+420|0;m=D+416|0;o=D+16|0;r=D+8|0;s=D+4|0;t=D;fn(C,f);u=On(C,21704)|0;i=h+8+3|0;p=a[i>>0]|0;b=p<<24>>24<0;j=h+4|0;if(!((b?c[j>>2]|0:p&255)|0))p=0;else{p=c[(b?c[h>>2]|0:h)>>2]|0;p=(p|0)==(Ic[c[(c[u>>2]|0)+44>>2]&31](u,45)|0)};c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}Ds(e,p,C,v,w,x,z,A,B,m);k=a[i>>0]|0;n=k<<24>>24<0;k=n?c[j>>2]|0:k&255;j=c[m>>2]|0;if((k|0)>(j|0)){i=a[B+8+3>>0]|0;e=a[A+8+3>>0]|0;b=1;i=(i<<24>>24<0?c[B+4>>2]|0:i&255)+(k-j<<1)|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}else{e=a[B+8+3>>0]|0;i=a[A+8+3>>0]|0;b=2;i=i<<24>>24<0?c[A+4>>2]|0:i&255;e=e<<24>>24<0?c[B+4>>2]|0:e&255}b=e+j+i+b|0;if(b>>>0>100){b=Yj(b<<2)|0;if(!b)ew();else{y=b;E=b}}else{y=o;E=0}h=n?c[h>>2]|0:h;Es(y,r,s,c[f+4>>2]|0,h,h+(k<<2)|0,u,p,v,c[w>>2]|0,c[x>>2]|0,z,A,B,j);c[t>>2]=c[d>>2];h=c[r>>2]|0;b=c[s>>2]|0;c[q>>2]=c[t>>2];b=wp(q,y,h,b,f,g)|0;if(E|0)Zj(E);Aw(B);Aw(A);mw(z);Pn(C);l=D;return b|0}function Ds(b,d,e,f,g,h,i,j,k,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0;p=l;l=l+16|0;n=p+12|0;o=p;if(b){e=On(e,23408)|0;if(d){xc[c[(c[e>>2]|0)+44>>2]&63](n,e);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;xc[c[(c[e>>2]|0)+32>>2]&63](o,e);b=k+8+3|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;An(f,n);c[k+4>>2]=0}else{c[n>>2]=0;An(k,n);a[b>>0]=0}Ew(k,0);c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o)}else{xc[c[(c[e>>2]|0)+40>>2]&63](n,e);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;xc[c[(c[e>>2]|0)+28>>2]&63](o,e);b=k+8+3|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;An(f,n);c[k+4>>2]=0}else{c[n>>2]=0;An(k,n);a[b>>0]=0}Ew(k,0);c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o)}c[g>>2]=Ac[c[(c[e>>2]|0)+12>>2]&63](e)|0;c[h>>2]=Ac[c[(c[e>>2]|0)+16>>2]&63](e)|0;xc[c[(c[e>>2]|0)+20>>2]&63](o,e);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[n>>0]=0;re(b,n);c[i+4>>2]=0;b=i}else{a[n>>0]=0;re(i,n);a[b>>0]=0;b=i}rw(i,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);xc[c[(c[e>>2]|0)+24>>2]&63](o,e);b=j+8+3|0;if((a[b>>0]|0)<0){i=c[j>>2]|0;c[n>>2]=0;An(i,n);c[j+4>>2]=0}else{c[n>>2]=0;An(j,n);a[b>>0]=0}Ew(j,0);c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o);b=Ac[c[(c[e>>2]|0)+36>>2]&63](e)|0}else{e=On(e,23400)|0;if(d){xc[c[(c[e>>2]|0)+44>>2]&63](n,e);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;xc[c[(c[e>>2]|0)+32>>2]&63](o,e);b=k+8+3|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;An(f,n);c[k+4>>2]=0}else{c[n>>2]=0;An(k,n);a[b>>0]=0}Ew(k,0);c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o)}else{xc[c[(c[e>>2]|0)+40>>2]&63](n,e);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;xc[c[(c[e>>2]|0)+28>>2]&63](o,e);b=k+8+3|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;An(f,n);c[k+4>>2]=0}else{c[n>>2]=0;An(k,n);a[b>>0]=0}Ew(k,0);c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o)}c[g>>2]=Ac[c[(c[e>>2]|0)+12>>2]&63](e)|0;c[h>>2]=Ac[c[(c[e>>2]|0)+16>>2]&63](e)|0;xc[c[(c[e>>2]|0)+20>>2]&63](o,e);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[n>>0]=0;re(b,n);c[i+4>>2]=0;b=i}else{a[n>>0]=0;re(i,n);a[b>>0]=0;b=i}rw(i,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}mw(o);xc[c[(c[e>>2]|0)+24>>2]&63](o,e);b=j+8+3|0;if((a[b>>0]|0)<0){i=c[j>>2]|0;c[n>>2]=0;An(i,n);c[j+4>>2]=0}else{c[n>>2]=0;An(j,n);a[b>>0]=0}Ew(j,0);c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Aw(o);b=Ac[c[(c[e>>2]|0)+36>>2]&63](e)|0}c[m>>2]=b;l=p;return}function Es(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;c[e>>2]=b;B=p+8+3|0;I=p+4|0;C=o+8+3|0;D=o+4|0;E=(f&512|0)==0;F=(q|0)>0;G=n+11|0;H=n+4|0;A=0;while(1){if((A|0)==4)break;a:do switch(a[k+A>>0]|0){case 0:{c[d>>2]=c[e>>2];break}case 1:{c[d>>2]=c[e>>2];y=Ic[c[(c[i>>2]|0)+44>>2]&31](i,32)|0;z=c[e>>2]|0;c[e>>2]=z+4;c[z>>2]=y;break}case 3:{z=a[B>>0]|0;r=z<<24>>24<0;if((r?c[I>>2]|0:z&255)|0){y=c[(r?c[p>>2]|0:p)>>2]|0;z=c[e>>2]|0;c[e>>2]=z+4;c[z>>2]=y}break}case 2:{v=a[C>>0]|0;r=v<<24>>24<0;v=r?c[D>>2]|0:v&255;if(!(E|(v|0)==0)){u=r?c[o>>2]|0:o;s=u+(v<<2)|0;t=c[e>>2]|0;r=t;while(1){if((u|0)==(s|0))break;c[r>>2]=c[u>>2];r=r+4|0;u=u+4|0}c[e>>2]=t+(v<<2)}break}case 4:{s=c[e>>2]|0;g=j?g+4|0:g;r=g;while(1){if(r>>>0>=h>>>0)break;if(!(Dc[c[(c[i>>2]|0)+12>>2]&31](i,2048,c[r>>2]|0)|0))break;r=r+4|0}if(F){u=q;while(1){t=(u|0)>0;if(!(r>>>0>g>>>0&t))break;z=r+-4|0;x=c[z>>2]|0;y=c[e>>2]|0;c[e>>2]=y+4;c[y>>2]=x;u=u+-1|0;r=z}if(t)w=Ic[c[(c[i>>2]|0)+44>>2]&31](i,48)|0;else w=0;v=c[e>>2]|0;while(1){t=v+4|0;if((u|0)<=0)break;c[v>>2]=w;u=u+-1|0;v=t}c[e>>2]=t;c[v>>2]=l}if((r|0)==(g|0)){y=Ic[c[(c[i>>2]|0)+44>>2]&31](i,48)|0;z=c[e>>2]|0;r=z+4|0;c[e>>2]=r;c[z>>2]=y}else{z=a[G>>0]|0;y=z<<24>>24<0;z=z&255;if(!((y?c[H>>2]|0:z)|0)){v=-1;t=0;w=0}else{v=a[(y?c[n>>2]|0:n)>>0]|0;t=0;w=0}while(1){if((r|0)==(g|0))break;u=c[e>>2]|0;if((w|0)==(v|0)){x=u+4|0;c[e>>2]=x;c[u>>2]=m;t=t+1|0;if(t>>>0<(y?c[H>>2]|0:z)>>>0){v=a[(y?c[n>>2]|0:n)+t>>0]|0;v=v<<24>>24==127?-1:v<<24>>24;w=0;u=x}else{v=w;w=0;u=x}}x=r+-4|0;J=c[x>>2]|0;c[e>>2]=u+4;c[u>>2]=J;w=w+1|0;r=x}r=c[e>>2]|0}if((s|0)!=(r|0))while(1){r=r+-4|0;if(s>>>0>=r>>>0)break a;J=c[s>>2]|0;c[s>>2]=c[r>>2];c[r>>2]=J;s=s+4|0}break}default:{}}while(0);A=A+1|0}g=a[B>>0]|0;r=g<<24>>24<0;g=r?c[I>>2]|0:g&255;if(g>>>0>1){r=r?c[p>>2]|0:p;u=r+4|0;r=r+(g<<2)|0;s=c[e>>2]|0;t=r-u|0;g=s;while(1){if((u|0)==(r|0))break;c[g>>2]=c[u>>2];g=g+4|0;u=u+4|0}c[e>>2]=s+(t>>>2<<2)}switch((f&176)<<24>>24){case 32:{c[d>>2]=c[e>>2];break}case 16:break;default:c[d>>2]=b}return}function Fs(a){a=a|0;un(a);return}function Gs(a){a=a|0;un(a);cw(a);return}function Hs(b,d,e){b=b|0;d=d|0;e=e|0;e=$l((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return e>>>((e|0)!=(-1|0)&1)|0}function Is(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;j=l;l=l+16|0;i=j;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[i+(d<<2)>>2]=0;d=d+1|0}k=a[h+11>>0]|0;m=k<<24>>24<0;d=m?c[h>>2]|0:h;h=d+(m?c[h+4>>2]|0:k&255)|0;while(1){if(d>>>0>=h>>>0)break;xw(i,a[d>>0]|0);d=d+1|0}d=(a[i+11>>0]|0)<0?c[i>>2]|0:i;e=bm((e|0)==-1?-1:e<<1,f,g,d)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;h=0;while(1){if((h|0)==3)break;c[b+(h<<2)>>2]=0;h=h+1|0}h=d+(ok(e)|0)|0;while(1){if(d>>>0>=h>>>0)break;xw(b,a[d>>0]|0);d=d+1|0}mw(i);l=j;return}function Js(a,b){a=a|0;b=b|0;return}function Ks(a){a=a|0;un(a);return}function Ls(a){a=a|0;un(a);cw(a);return}function Ms(b,d,e){b=b|0;d=d|0;e=e|0;e=$l((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return e>>>((e|0)!=(-1|0)&1)|0}function Ns(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,s=0,t=0,u=0;u=l;l=l+176|0;q=u+168|0;r=u+40|0;s=u+36|0;t=u+32|0;o=u;m=u+24|0;p=u+16|0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[o+(d<<2)>>2]=0;d=d+1|0}c[m+4>>2]=0;c[m>>2]=9340;j=a[h+8+3>>0]|0;k=j<<24>>24<0;d=k?c[h>>2]|0:h;j=d+((k?c[h+4>>2]|0:j&255)<<2)|0;k=r+32|0;h=d;d=0;while(1){if(!((d|0)!=2&h>>>0<j>>>0))break;c[t>>2]=h;i=Gc[c[(c[m>>2]|0)+12>>2]&15](m,q,h,j,t,r,k,s)|0;if((i|0)==2?1:(c[t>>2]|0)==(h|0)){n=7;break}else d=r;while(1){if(d>>>0>=(c[s>>2]|0)>>>0)break;xw(o,a[d>>0]|0);d=d+1|0}h=c[t>>2]|0;d=i}if((n|0)==7)ir(0);un(m);i=(a[o+11>>0]|0)<0?c[o>>2]|0:o;h=bm((e|0)==-1?-1:e<<1,f,g,i)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}c[p+4>>2]=0;c[p>>2]=9388;j=i+(ok(h)|0)|0;k=j;m=r+128|0;h=i;d=0;while(1){if(!((d|0)!=2&h>>>0<j>>>0)){n=21;break}c[t>>2]=h;i=Gc[c[(c[p>>2]|0)+16>>2]&15](p,q,h,(k-h|0)>32?h+32|0:j,t,r,m,s)|0;if((i|0)==2?1:(c[t>>2]|0)==(h|0)){n=17;break}else d=r;while(1){if(d>>>0>=(c[s>>2]|0)>>>0)break;Iw(b,c[d>>2]|0);d=d+4|0}h=c[t>>2]|0;d=i}if((n|0)==17)ir(0);else if((n|0)==21){un(p);mw(o);l=u;return}}function Os(a,b){a=a|0;b=b|0;return}function Ps(a){a=a|0;un(a);cw(a);return}function Qs(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;b=l;l=l+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=Zs(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];l=b;return h|0}function Rs(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;b=l;l=l+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=Ys(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];l=b;return h|0}function Ss(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function Ts(a){a=a|0;return 0}function Us(a){a=a|0;return 0}function Vs(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Xs(c,d,e,1114111,0)|0}function Ws(a){a=a|0;return 4}function Xs(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c;p=b;if(((o-p|0)>2&(g&4|0)!=0?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0){n=0;b=(a[b+2>>0]|0)==-65?b+3|0:b}else n=0;a:while(1){if(!(n>>>0<e>>>0&b>>>0<c>>>0)){q=30;break}k=a[b>>0]|0;m=k&255;h=b+1|0;do if(k<<24>>24>-1)if(m>>>0>f>>>0){q=30;break a}else b=h;else{if((k&255)<194){q=30;break a}i=b+2|0;l=b;g=o-l|0;if((k&255)<224){if((g|0)<2){q=30;break a}g=d[h>>0]|0;if((g&192|0)!=128){q=30;break a}if((g&63|m<<6&1984)>>>0>f>>>0){q=30;break a}else{b=i;break}}j=b+3|0;if((k&255)<240){if((g|0)<3){q=30;break a}i=a[i>>0]|0;h=d[h>>0]|0;g=h&224;switch(k<<24>>24){case -32:{if((g|0)!=160){b=l;break a}break}case -19:{if((g|0)!=128){b=l;break a}break}default:if((h&192|0)!=128){b=l;break a}}g=i&255;if((g&192|0)!=128){q=30;break a}if((h<<6&4032|m<<12&61440|g&63)>>>0>f>>>0){q=30;break a}else{b=j;break}}if((g|0)<4|(k&255)>244){q=30;break a}h=a[h>>0]|0;g=a[i>>0]|0;i=a[j>>0]|0;j=h&255;switch(k<<24>>24){case -16:{if((h+112&255)>=48){b=l;break a}break}case -12:{if((j&240|0)!=128){b=l;break a}break}default:if((j&192|0)!=128){b=l;break a}}h=g&255;if((h&192|0)!=128){q=30;break a}g=i&255;if((g&192|0)!=128){q=30;break a}if((j<<12&258048|m<<18&1835008|h<<6&4032|g&63)>>>0>f>>>0){q=30;break a}else b=b+4|0}while(0);n=n+1|0}return b-p|0}function Ys(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;c[f>>2]=b;c[i>>2]=g;q=e;if((((k&4|0?(l=c[f>>2]|0,(q-l|0)>2):0)?(a[l>>0]|0)==-17:0)?(a[l+1>>0]|0)==-69:0)?(a[l+2>>0]|0)==-65:0)c[f>>2]=l+3;a:while(1){m=c[f>>2]|0;if(m>>>0>=e>>>0){b=0;break}p=c[i>>2]|0;if(p>>>0>=h>>>0){b=1;break}n=a[m>>0]|0;o=n&255;b=m+1|0;do if(n<<24>>24>-1){if(o>>>0>j>>>0){b=2;break a}c[p>>2]=o}else{if((n&255)<194){b=2;break a}l=m+2|0;g=q-m|0;if((n&255)<224){if((g|0)<2){b=1;break a}b=d[b>>0]|0;if((b&192|0)!=128){b=2;break a}b=b&63|o<<6&1984;if(b>>>0>j>>>0){b=2;break a}c[p>>2]=b;b=l;break}k=m+3|0;if((n&255)<240){if((g|0)<3){b=1;break a}g=a[l>>0]|0;l=d[b>>0]|0;b=l&224;switch(n<<24>>24){case -32:{if((b|0)!=160){b=2;break a}break}case -19:{if((b|0)!=128){b=2;break a}break}default:if((l&192|0)!=128){b=2;break a}}b=g&255;if((b&192|0)!=128){b=2;break a}b=l<<6&4032|o<<12&61440|b&63;if(b>>>0>j>>>0){b=2;break a}c[p>>2]=b;b=k;break}if((n&255)>=245){b=2;break a}if((g|0)<4){b=1;break a}g=a[b>>0]|0;b=a[l>>0]|0;l=a[k>>0]|0;k=g&255;switch(n<<24>>24){case -16:{if((g+112&255)>=48){b=2;break a}break}case -12:{if((k&240|0)!=128){b=2;break a}break}default:if((k&192|0)!=128){b=2;break a}}g=b&255;if((g&192|0)!=128){b=2;break a}b=l&255;if((b&192|0)!=128){b=2;break a}b=k<<12&258048|o<<18&1835008|g<<6&4032|b&63;if(b>>>0>j>>>0){b=2;break a}c[p>>2]=b;b=m+4|0}while(0);c[f>>2]=b;c[i>>2]=(c[i>>2]|0)+4}return b|0}function Zs(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;c[e>>2]=b;c[h>>2]=f;if(j&2)if((g-f|0)<3)b=1;else{c[h>>2]=f+1;a[f>>0]=-17;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-69;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-65;k=4}else k=4;a:do if((k|0)==4){b=c[e>>2]|0;while(1){if(b>>>0>=d>>>0){b=0;break a}m=c[b>>2]|0;if(m>>>0>i>>>0|(m&-2048|0)==55296){b=2;break a}do if(m>>>0>=128){l=(m&63|128)&255;if(m>>>0<2048){b=c[h>>2]|0;if((g-b|0)<2){b=1;break a}c[h>>2]=b+1;a[b>>0]=m>>>6|192;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=l;break}b=c[h>>2]|0;f=g-b|0;j=b+1|0;k=(m>>>6&63|128)&255;if(m>>>0<65536){if((f|0)<3){b=1;break a}c[h>>2]=j;a[b>>0]=m>>>12|224;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=k;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=l;break}else{if((f|0)<4){b=1;break a}c[h>>2]=j;a[b>>0]=m>>>18|240;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=m>>>12&63|128;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=k;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=l;break}}else{b=c[h>>2]|0;if((g-b|0)<1){b=1;break a}c[h>>2]=b+1;a[b>>0]=m}while(0);b=(c[e>>2]|0)+4|0;c[e>>2]=b}}while(0);return b|0}function _s(a){a=a|0;un(a);cw(a);return}function $s(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function at(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function bt(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function ct(a){a=a|0;return 1}function dt(a){a=a|0;return 1}function et(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=d-c|0;return (d>>>0<e>>>0?d:e)|0}function ft(a){a=a|0;return 1}function gt(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+16|0;q=r;o=r+8|0;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(c[k>>2]|0))break;k=k+4|0}c[j>>2]=h;c[g>>2]=e;n=i;p=b+8|0;a:while(1){if((h|0)==(i|0)|(e|0)==(f|0)){k=35;break}s=d;m=c[s+4>>2]|0;b=q;c[b>>2]=c[s>>2];c[b+4>>2]=m;b=Zl(c[p>>2]|0)|0;m=cm(h,g,k-e>>2,n-h|0,d)|0;if(b|0)Zl(b)|0;switch(m|0){case -1:{k=10;break a}case 0:{e=1;k=32;break a}default:{}}h=(c[j>>2]|0)+m|0;c[j>>2]=h;if((h|0)==(i|0)){k=33;break}if((k|0)==(f|0)){k=f;e=c[g>>2]|0}else{h=Zl(c[p>>2]|0)|0;e=Lk(o,0,d)|0;if(h|0)Zl(h)|0;if((e|0)==-1){e=2;k=31;break}if(e>>>0>(n-(c[j>>2]|0)|0)>>>0){e=1;k=31;break}else h=o;while(1){if(!e)break;m=a[h>>0]|0;s=c[j>>2]|0;c[j>>2]=s+1;a[s>>0]=m;h=h+1|0;e=e+-1|0}e=(c[g>>2]|0)+4|0;c[g>>2]=e;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(c[k>>2]|0))break;k=k+4|0}h=c[j>>2]|0}}if((k|0)==10){c[j>>2]=h;while(1){if((e|0)==(c[g>>2]|0))break;s=c[e>>2]|0;k=Zl(c[p>>2]|0)|0;h=Lk(h,s,q)|0;if(k|0)Zl(k)|0;if((h|0)==-1)break;h=(c[j>>2]|0)+h|0;c[j>>2]=h;e=e+4|0}c[g>>2]=e;e=2;k=32}else if((k|0)==31)k=32;else if((k|0)==33){e=c[g>>2]|0;k=35}if((k|0)!=32)if((k|0)==35)e=(e|0)!=(f|0)&1;l=r;return e|0}function ht(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,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;q=r;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(a[k>>0]|0))break;k=k+1|0}c[j>>2]=h;c[g>>2]=e;o=i;p=b+8|0;b=h;while(1){if((b|0)==(i|0)|(e|0)==(f|0)){b=32;break}m=d;h=c[m+4>>2]|0;n=q;c[n>>2]=c[m>>2];c[n+4>>2]=h;n=k;h=Zl(c[p>>2]|0)|0;m=Jl(b,g,n-e|0,o-b>>2,d)|0;if(h|0)Zl(h)|0;if((m|0)==-1){k=b;b=10;break}b=(c[j>>2]|0)+(m<<2)|0;c[j>>2]=b;if((b|0)==(i|0)){b=29;break}e=c[g>>2]|0;if((k|0)==(f|0))k=f;else{k=Zl(c[p>>2]|0)|0;e=nl(b,e,1,d)|0;if(k|0)Zl(k)|0;if(e|0){e=2;b=28;break}c[j>>2]=(c[j>>2]|0)+4;e=(c[g>>2]|0)+1|0;c[g>>2]=e;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(a[k>>0]|0))break;k=k+1|0}b=c[j>>2]|0}}do if((b|0)==10){a:while(1){c[j>>2]=k;if((e|0)==(c[g>>2]|0)){b=18;break}b=Zl(c[p>>2]|0)|0;k=nl(k,e,n-e|0,q)|0;if(b|0)Zl(b)|0;switch(k|0){case -1:{b=15;break a}case -2:{b=16;break a}case 0:{k=1;break}default:{}}e=e+k|0;k=(c[j>>2]|0)+4|0;b=10}if((b|0)==15){c[g>>2]=e;e=2;b=28;break}else if((b|0)==16){c[g>>2]=e;e=1;b=28;break}else if((b|0)==18){c[g>>2]=e;e=(e|0)!=(f|0)&1;b=28;break}}else if((b|0)==29){e=c[g>>2]|0;b=32}while(0);if((b|0)!=28)if((b|0)==32)e=(e|0)!=(f|0)&1;l=r;return e|0}function it(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=l;l=l+16|0;h=i;c[g>>2]=e;e=Zl(c[b+8>>2]|0)|0;b=Lk(h,0,d)|0;if(e|0)Zl(e)|0;a:do switch(b|0){case 0:case -1:{b=2;break}default:{b=b+-1|0;if(b>>>0>(f-(c[g>>2]|0)|0)>>>0)b=1;else while(1){if(!b){b=0;break a}d=a[h>>0]|0;f=c[g>>2]|0;c[g>>2]=f+1;a[f>>0]=d;h=h+1|0;b=b+-1|0}}}while(0);l=i;return b|0}function jt(a){a=a|0;var b=0,d=0;a=a+8|0;b=Zl(c[a>>2]|0)|0;d=Wk(0,0,4)|0;if(b|0)Zl(b)|0;if(!d){a=c[a>>2]|0;if(!a)a=1;else{b=Zl(a)|0;a=Ql()|0;if(b|0)Zl(b)|0;return (a|0)==1|0}}else a=-1;return a|0}function kt(a){a=a|0;return 0}function lt(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=e;j=a+8|0;h=0;i=0;a:while(1){if((d|0)==(e|0)|h>>>0>=f>>>0)break;g=Zl(c[j>>2]|0)|0;a=dm(d,k-d|0,b)|0;if(g|0)Zl(g)|0;switch(a|0){case -2:case -1:break a;case 0:{a=1;break}default:{}}h=h+1|0;i=a+i|0;d=d+a|0}return i|0}function mt(a){a=a|0;var b=0;a=c[a+8>>2]|0;if(a){b=Zl(a)|0;a=Ql()|0;if(b)Zl(b)|0}else a=1;return a|0}function nt(a){a=a|0;var b=0,d=0;c[a>>2]=9436;b=a+8|0;d=c[b>>2]|0;if((d|0)!=(Rn()|0))Ul(c[b>>2]|0);un(a);return}function ot(a){a=a|0;nt(a);cw(a);return}function pt(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;b=l;l=l+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=yt(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];l=b;return h|0}function qt(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;b=l;l=l+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=xt(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];l=b;return h|0}function rt(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function st(a){a=a|0;return 0}function tt(a){a=a|0;return 0}function ut(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return wt(c,d,e,1114111,0)|0}function vt(a){a=a|0;return 4}function wt(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=c;q=b;if(((p-q|0)>2&(g&4|0)!=0?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0){o=0;b=(a[b+2>>0]|0)==-65?b+3|0:b}else o=0;a:while(1){if(!(o>>>0<e>>>0&b>>>0<c>>>0)){r=31;break}k=a[b>>0]|0;n=k&255;if(n>>>0>f>>>0){r=31;break}i=b+1|0;do if(k<<24>>24<=-1){if((k&255)<194){r=31;break a}j=b+2|0;l=b;g=p-l|0;if((k&255)<224){if((g|0)<2){r=31;break a}g=d[i>>0]|0;if((g&192|0)!=128){r=31;break a}if((g&63|n<<6&1984)>>>0>f>>>0){r=31;break a}else{g=o;b=j;break}}m=b+3|0;if((k&255)<240){if((g|0)<3){r=31;break a}h=a[j>>0]|0;i=d[i>>0]|0;g=i&224;switch(k<<24>>24){case -32:{if((g|0)!=160){b=l;break a}break}case -19:{if((g|0)!=128){b=l;break a}break}default:if((i&192|0)!=128){b=l;break a}}g=h&255;if((g&192|0)!=128){r=31;break a}if((i<<6&4032|n<<12&61440|g&63)>>>0>f>>>0){r=31;break a}else{g=o;b=m;break}}if((k&255)>=245){r=31;break a}if((e-o|0)>>>0<2|(g|0)<4){r=31;break a}h=a[i>>0]|0;g=a[j>>0]|0;i=a[m>>0]|0;j=h&255;switch(k<<24>>24){case -16:{if((h+112&255)>=48){b=l;break a}break}case -12:{if((j&240|0)!=128){b=l;break a}break}default:if((j&192|0)!=128){b=l;break a}}h=g&255;if((h&192|0)!=128){r=31;break a}g=i&255;if((g&192|0)!=128){r=31;break a}if((j<<12&258048|n<<18&1835008|h<<6&4032|g&63)>>>0>f>>>0){r=31;break a}else{g=o+1|0;b=b+4|0}}else{g=o;b=i}while(0);o=g+1|0}return b-q|0}function xt(e,f,g,h,i,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c[g>>2]=e;c[j>>2]=h;s=f;if((((l&4|0?(m=c[g>>2]|0,(s-m|0)>2):0)?(a[m>>0]|0)==-17:0)?(a[m+1>>0]|0)==-69:0)?(a[m+2>>0]|0)==-65:0)c[g>>2]=m+3;r=i;a:while(1){h=c[g>>2]|0;e=h>>>0<f>>>0;if(!e){t=40;break}q=c[j>>2]|0;if(q>>>0>=i>>>0){t=40;break}o=a[h>>0]|0;p=o&255;if(p>>>0>k>>>0){e=2;break}e=h+1|0;do if(o<<24>>24>-1)b[q>>1]=o&255;else{if((o&255)<194){e=2;break a}m=s-h|0;l=h+2|0;if((o&255)<224){if((m|0)<2){e=1;break a}e=d[e>>0]|0;if((e&192|0)!=128){e=2;break a}e=e&63|p<<6&1984;if(e>>>0>k>>>0){e=2;break a}b[q>>1]=e;e=l;break}n=h+3|0;if((o&255)<240){if((m|0)<3){e=1;break a}h=a[l>>0]|0;m=d[e>>0]|0;e=m&224;switch(o<<24>>24){case -32:{if((e|0)!=160){e=2;break a}break}case -19:{if((e|0)!=128){e=2;break a}break}default:if((m&192|0)!=128){e=2;break a}}e=h&255;if((e&192|0)!=128){e=2;break a}e=m<<6&4032|p<<12|e&63;if((e&65535)>>>0>k>>>0){e=2;break a}b[q>>1]=e;e=n;break}if((o&255)>=245){e=2;break a}if((m|0)<4){e=1;break a}m=a[e>>0]|0;e=a[l>>0]|0;h=a[n>>0]|0;n=m&255;switch(o<<24>>24){case -16:{if((m+112&255)>=48){e=2;break a}break}case -12:{if((n&240|0)!=128){e=2;break a}break}default:if((n&192|0)!=128){e=2;break a}}l=e&255;if((l&192|0)!=128){e=2;break a}e=h&255;if((e&192|0)!=128){e=2;break a}if((r-q|0)<4){e=1;break a}h=p&7;m=l<<6;e=e&63;if((n<<12&258048|h<<18|m&4032|e)>>>0>k>>>0){e=2;break a}b[q>>1]=n<<2&60|l>>>4&3|((n>>>4&3|h<<2)<<6)+16320|55296;q=q+2|0;c[j>>2]=q;b[q>>1]=e|m&960|56320;e=(c[g>>2]|0)+4|0}while(0);c[g>>2]=e;c[j>>2]=(c[j>>2]|0)+2}if((t|0)==40)e=e&1;return e|0}function yt(d,f,g,h,i,j,k,l){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0;c[g>>2]=d;c[j>>2]=h;if(l&2)if((i-h|0)<3)d=1;else{c[j>>2]=h+1;a[h>>0]=-17;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-69;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-65;m=4}else m=4;a:do if((m|0)==4){q=f;d=c[g>>2]|0;while(1){if(d>>>0>=f>>>0){d=0;break a}h=b[d>>1]|0;p=h&65535;if(p>>>0>k>>>0){d=2;break a}do if((h&65535)<128){d=c[j>>2]|0;if((i-d|0)<1){d=1;break a}c[j>>2]=d+1;a[d>>0]=h}else{n=p&63;o=(n|128)&255;if((h&65535)<2048){d=c[j>>2]|0;if((i-d|0)<2){d=1;break a}c[j>>2]=d+1;a[d>>0]=p>>>6|192;p=c[j>>2]|0;c[j>>2]=p+1;a[p>>0]=o;break}l=(p>>>12|224)&255;m=(p>>>6&63|128)&255;if((h&65535)<55296){d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=l;p=c[j>>2]|0;c[j>>2]=p+1;a[p>>0]=m;p=c[j>>2]|0;c[j>>2]=p+1;a[p>>0]=o;break}if((h&65535)>=56320){if((h&65535)<57344){d=2;break a}d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=l;p=c[j>>2]|0;c[j>>2]=p+1;a[p>>0]=m;p=c[j>>2]|0;c[j>>2]=p+1;a[p>>0]=o;break}if((q-d|0)<4){d=1;break a}d=d+2|0;h=e[d>>1]|0;if((h&64512|0)!=56320){d=2;break a}if((i-(c[j>>2]|0)|0)<4){d=1;break a}l=p&960;if(((l<<10)+65536|n<<10|h&1023)>>>0>k>>>0){d=2;break a}c[g>>2]=d;n=(l>>>6)+1|0;o=c[j>>2]|0;c[j>>2]=o+1;a[o>>0]=n>>>2|240;o=c[j>>2]|0;c[j>>2]=o+1;a[o>>0]=p>>>2&15|n<<4&48|128;o=c[j>>2]|0;c[j>>2]=o+1;a[o>>0]=p<<4&48|h>>>6&15|128;p=c[j>>2]|0;c[j>>2]=p+1;a[p>>0]=h&63|128}while(0);d=(c[g>>2]|0)+2|0;c[g>>2]=d}}while(0);return d|0}function zt(a){a=a|0;var b=0,d=0,e=0,f=0;c[a>>2]=9484;e=a+8|0;f=a+12|0;d=0;while(1){b=c[e>>2]|0;if(d>>>0>=(c[f>>2]|0)-b>>2>>>0)break;b=c[b+(d<<2)>>2]|0;if(b|0)Zv(b)|0;d=d+1|0}mw(a+144|0);Bt(e);un(a);return}function At(a){a=a|0;zt(a);cw(a);return}function Bt(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b>>2]|0;do if(d|0){e=b+4|0;f=c[e>>2]|0;while(1){if((f|0)==(d|0))break;g=f+-4|0;c[e>>2]=g;f=g}if((b+16|0)==(d|0)){a[b+128>>0]=0;break}else{cw(d);break}}while(0);return}function Ct(b){b=b|0;var d=0;c[b>>2]=9504;d=c[b+8>>2]|0;if(d|0?a[b+12>>0]|0:0)dw(d);un(b);return}function Dt(a){a=a|0;Ct(a);cw(a);return}function Et(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(Nt()|0)+((b&255)<<2)>>2]&255;return b|0}function Ft(b,d,e){b=b|0;d=d|0;e=e|0;while(1){if((d|0)==(e|0))break;b=a[d>>0]|0;if(b<<24>>24>-1){b=Nt()|0;b=c[b+(a[d>>0]<<2)>>2]&255}a[d>>0]=b;d=d+1|0}return e|0}function Gt(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(Mt()|0)+(b<<24>>24<<2)>>2]&255;return b|0}function Ht(b,d,e){b=b|0;d=d|0;e=e|0;while(1){if((d|0)==(e|0))break;b=a[d>>0]|0;if(b<<24>>24>-1){b=Mt()|0;b=c[b+(a[d>>0]<<2)>>2]&255}a[d>>0]=b;d=d+1|0}return e|0}function It(a,b){a=a|0;b=b|0;return b|0}function Jt(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((c|0)==(d|0))break;a[e>>0]=a[c>>0]|0;e=e+1|0;c=c+1|0}return d|0}function Kt(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function Lt(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){if((c|0)==(d|0))break;b=a[c>>0]|0;a[f>>0]=b<<24>>24>-1?b:e;f=f+1|0;c=c+1|0}return d|0}function Mt(){return c[(Pl()|0)>>2]|0}function Nt(){return c[(Nl()|0)>>2]|0}function Ot(){return c[(Ol()|0)>>2]|0}function Pt(a){a=a|0;c[a>>2]=9556;mw(a+12|0);un(a);return}function Qt(a){a=a|0;Pt(a);cw(a);return}function Rt(b){b=b|0;return a[b+8>>0]|0}function St(b){b=b|0;return a[b+9>>0]|0}function Tt(a,b){a=a|0;b=b|0;lw(a,b+12|0);return}function Ut(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=l;l=l+16|0;e=g;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;f=oe(19625)|0;if(f>>>0>4294967279)jw(b);if(f>>>0<11){a[b+11>>0]=f;d=b}else{h=f+16&-16;d=aw(h)|0;c[b>>2]=d;c[b+8>>2]=h|-2147483648;c[b+4>>2]=f}Te(d,19625,f)|0;a[e>>0]=0;re(d+f|0,e);l=g;return}function Vt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=l;l=l+16|0;e=g;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;f=oe(19619)|0;if(f>>>0>4294967279)jw(b);if(f>>>0<11){a[b+11>>0]=f;d=b}else{h=f+16&-16;d=aw(h)|0;c[b>>2]=d;c[b+8>>2]=h|-2147483648;c[b+4>>2]=f}Te(d,19619,f)|0;a[e>>0]=0;re(d+f|0,e);l=g;return}function Wt(a){a=a|0;c[a>>2]=9596;mw(a+16|0);un(a);return}function Xt(a){a=a|0;Wt(a);cw(a);return}function Yt(a){a=a|0;return c[a+8>>2]|0}function Zt(a){a=a|0;return c[a+12>>2]|0}function _t(a,b){a=a|0;b=b|0;lw(a,b+16|0);return}function $t(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=l;l=l+16|0;e=g;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;f=Bq(9652)|0;if(f>>>0>1073741807)jw(b);do if(f>>>0>=2){d=f+4&-4;if(d>>>0>1073741823)Hb();else{h=aw(d<<2)|0;c[b>>2]=h;c[b+8>>2]=d|-2147483648;c[b+4>>2]=f;break}}else{a[b+8+3>>0]=f;h=b}while(0);Nm(h,9652,f)|0;c[e>>2]=0;An(h+(f<<2)|0,e);l=g;return}function au(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=l;l=l+16|0;e=g;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;f=Bq(9628)|0;if(f>>>0>1073741807)jw(b);do if(f>>>0>=2){d=f+4&-4;if(d>>>0>1073741823)Hb();else{h=aw(d<<2)|0;c[b>>2]=h;c[b+8>>2]=d|-2147483648;c[b+4>>2]=f;break}}else{a[b+8+3>>0]=f;h=b}while(0);Nm(h,9628,f)|0;c[e>>2]=0;An(h+(f<<2)|0,e);l=g;return}function bu(a){a=a|0;un(a);cw(a);return}function cu(a){a=a|0;un(a);cw(a);return}function du(a,c,d){a=a|0;c=c|0;d=d|0;if(d>>>0<128)a=(b[(Ot()|0)+(d<<1)>>1]&c)<<16>>16!=0;else a=0;return a|0}function eu(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;while(1){if((d|0)==(f|0))break;if((c[d>>2]|0)>>>0<128){a=Ot()|0;a=e[a+(c[d>>2]<<1)>>1]|0}else a=0;b[g>>1]=a;g=g+2|0;d=d+4|0}return f|0}function fu(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}if((c[e>>2]|0)>>>0<128?(a=Ot()|0,(b[a+(c[e>>2]<<1)>>1]&d)<<16>>16):0)break;e=e+4|0}return e|0}function gu(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}if((c[e>>2]|0)>>>0>=128)break;a=Ot()|0;if(!((b[a+(c[e>>2]<<1)>>1]&d)<<16>>16))break;e=e+4|0}return e|0}function hu(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(Nt()|0)+(b<<2)>>2]|0;return b|0}function iu(a,b,d){a=a|0;b=b|0;d=d|0;while(1){if((b|0)==(d|0))break;a=c[b>>2]|0;if(a>>>0<128){a=Nt()|0;a=c[a+(c[b>>2]<<2)>>2]|0}c[b>>2]=a;b=b+4|0}return d|0}function ju(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(Mt()|0)+(b<<2)>>2]|0;return b|0}function ku(a,b,d){a=a|0;b=b|0;d=d|0;while(1){if((b|0)==(d|0))break;a=c[b>>2]|0;if(a>>>0<128){a=Mt()|0;a=c[a+(c[b>>2]<<2)>>2]|0}c[b>>2]=a;b=b+4|0}return d|0}function lu(a,b){a=a|0;b=b|0;return b<<24>>24|0}function mu(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;while(1){if((d|0)==(e|0))break;c[f>>2]=a[d>>0];f=f+4|0;d=d+1|0}return e|0}function nu(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function ou(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=(e-d|0)>>>2;b=g;g=d;while(1){if((g|0)==(e|0))break;i=c[g>>2]|0;a[b>>0]=i>>>0<128?i&255:f;b=b+1|0;g=g+4|0}return d+(h<<2)|0}function pu(a){a=a|0;un(a);cw(a);return}function qu(a){a=a|0;un(a);cw(a);return}function ru(a){a=a|0;un(a);cw(a);return}function su(a){a=a|0;c[a>>2]=9912;return}function tu(a){a=a|0;c[a>>2]=9948;return}function uu(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b+4>>2]=f+-1;c[b>>2]=9504;f=b+8|0;c[f>>2]=d;a[b+12>>0]=e&1;if(!d)c[f>>2]=Ot()|0;return}function vu(a){a=a|0;Hb()}function wu(a){a=a|0;Hb()}function xu(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=l;l=l+16|0;g=h;c[b+4>>2]=d+-1;c[b>>2]=9484;e=b+8|0;yu(e,28);d=b+144|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;f=oe(17564)|0;if(f>>>0>4294967279)jw(d);if(f>>>0<11)a[d+11>>0]=f;else{j=f+16&-16;i=aw(j)|0;c[d>>2]=i;c[b+152>>2]=j|-2147483648;c[b+148>>2]=f;d=i}Te(d,17564,f)|0;a[g>>0]=0;re(d+f|0,g);d=c[e>>2]|0;e=b+12|0;f=c[e>>2]|0;while(1){if((f|0)==(d|0))break;j=f+-4|0;c[e>>2]=j;f=j}zu();Au(b,20552);Bu();Cu(b,20560);Du();Eu(b,20568);Fu();Gu(b,20584);Hu();Iu(b,20592);Ju();Ku(b,20600);Lu();Mu(b,20616);Nu();Ou(b,20624);Pu();Qu(b,20632);Ru();Su(b,20656);Tu();Uu(b,20688);Vu();Wu(b,20696);Xu();Yu(b,20704);Zu();_u(b,20712);$u();av(b,20720);bv();cv(b,20728);dv();ev(b,20736);fv();gv(b,20744);hv();iv(b,20752);jv();kv(b,20760);lv();mv(b,20768);nv();ov(b,20776);pv();qv(b,20784);rv();sv(b,20800);tv();uv(b,20816);vv();wv(b,20832);xv();yv(b,20848);zv();Av(b,20856);l=h;return}function yu(b,d){b=b|0;d=d|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+128>>0]=0;if(d|0){Nv(b,d);Ev(b,d)}return}function zu(){c[5139]=0;c[5138]=7148;return}function Au(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21656)|0);return}function Bu(){c[5141]=0;c[5140]=7180;return}function Cu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21664)|0);return}function Du(){uu(20568,0,0,1);return}function Eu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21672)|0);return}function Fu(){c[5147]=0;c[5146]=9700;return}function Gu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21704)|0);return}function Hu(){c[5149]=0;c[5148]=9768;return}function Iu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23464)|0);return}function Ju(){Mv(20600,1);return}function Ku(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23472)|0);return}function Lu(){c[5155]=0;c[5154]=9816;return}function Mu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23480)|0);return}function Nu(){c[5157]=0;c[5156]=9864;return}function Ou(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23488)|0);return}function Pu(){Lv(20632,1);return}function Qu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21688)|0);return}function Ru(){Kv(20656,1);return}function Su(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21712)|0);return}function Tu(){c[5173]=0;c[5172]=7212;return}function Uu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21696)|0);return}function Vu(){c[5175]=0;c[5174]=7276;return}function Wu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21720)|0);return}function Xu(){c[5177]=0;c[5176]=7340;return}function Yu(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21728)|0);return}function Zu(){c[5179]=0;c[5178]=7392;return}function _u(a,b){a=a|0;b=b|0;Bv(a,b,Tn(21736)|0);return}function $u(){c[5181]=0;c[5180]=8940;return}function av(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23384)|0);return}function bv(){c[5183]=0;c[5182]=8996;return}function cv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23392)|0);return}function dv(){c[5185]=0;c[5184]=9052;return}function ev(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23400)|0);return}function fv(){c[5187]=0;c[5186]=9108;return}function gv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23408)|0);return}function hv(){c[5189]=0;c[5188]=9164;return}function iv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23416)|0);return}function jv(){c[5191]=0;c[5190]=9192;return}function kv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23424)|0);return}function lv(){c[5193]=0;c[5192]=9220;return}function mv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23432)|0);return}function nv(){c[5195]=0;c[5194]=9248;return}function ov(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23440)|0);return}function pv(){c[5197]=0;c[5196]=9680;su(20792);c[5196]=7444;c[5198]=7492;return}function qv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(22548)|0);return}function rv(){c[5201]=0;c[5200]=9680;tu(20808);c[5200]=7528;c[5202]=7576;return}function sv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23360)|0);return}function tv(){c[5205]=0;c[5204]=9680;c[5206]=Rn()|0;c[5204]=8892;return}function uv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23368)|0);return}function vv(){c[5209]=0;c[5208]=9680;c[5210]=Rn()|0;c[5208]=8916;return}function wv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23376)|0);return}function xv(){c[5213]=0;c[5212]=9276;return}function yv(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23448)|0);return}function zv(){c[5215]=0;c[5214]=9308;return}function Av(a,b){a=a|0;b=b|0;Bv(a,b,Tn(23456)|0);return}function Bv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;Xv(b);f=a+8|0;e=c[f>>2]|0;if((c[a+12>>2]|0)-e>>2>>>0>d>>>0)a=f;else{Cv(f,d+1|0);a=f;e=c[f>>2]|0}e=c[e+(d<<2)>>2]|0;if(e|0)Zv(e)|0;c[(c[a>>2]|0)+(d<<2)>>2]=b;return}function Cv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=d-f>>2;a:do if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b<<2)|0;while(1){if((d|0)==(a|0))break a;f=d+-4|0;c[g>>2]=f;d=f}}}else Dv(a,b-e|0);while(0);return}function Dv(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=l;l=l+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0<b>>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=Fv(a)|0;if(e>>>0<d>>>0)vu(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;Gv(f,k>>2>>>0<e>>>1>>>0?(g>>>0<d>>>0?d:g):e,(c[h>>2]|0)-j>>2,a+16|0);Hv(f,b);Iv(a,f);Jv(f);break}}else Ev(a,b);while(0);l=i;return}function Ev(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{c[b>>2]=0;b=(c[d>>2]|0)+4|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Fv(a){a=a|0;return 1073741823}function Gv(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;c[b+12>>2]=0;c[b+16>>2]=f;do if(d){g=f+112|0;if(d>>>0<29&(a[g>>0]|0)==0){a[g>>0]=1;break}else{f=aw(d<<2)|0;break}}else f=0;while(0);c[b>>2]=f;e=f+(e<<2)|0;c[b+8>>2]=e;c[b+4>>2]=e;c[b+12>>2]=f+(d<<2);return}function Hv(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;a=b;b=c[d>>2]|0;do{c[b>>2]=0;b=(c[d>>2]|0)+4|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Iv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){Ox(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Jv(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b+4>>2]|0;e=b+8|0;f=c[e>>2]|0;while(1){if((f|0)==(d|0))break;g=f+-4|0;c[e>>2]=g;f=g}e=c[b>>2]|0;do if(e|0){d=c[b+16>>2]|0;if((d|0)==(e|0)){a[d+112>>0]=0;break}else{cw(e);break}}while(0);return}function Kv(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=9596;c[a+8>>2]=46;c[a+12>>2]=44;b=a+16|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a=0;while(1){if((a|0)==3)break;c[b+(a<<2)>>2]=0;a=a+1|0}return}function Lv(b,d){b=b|0;d=d|0;c[b+4>>2]=d+-1;c[b>>2]=9556;a[b+8>>0]=46;a[b+9>>0]=44;d=b+12|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}return}function Mv(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=9436;c[a+8>>2]=Rn()|0;return}function Nv(b,d){b=b|0;d=d|0;var e=0;if((Fv(b)|0)>>>0<d>>>0)vu(b);e=b+128|0;if(d>>>0<29&(a[e>>0]|0)==0){a[e>>0]=1;e=b+16|0}else e=aw(d<<2)|0;c[b+4>>2]=e;c[b>>2]=e;c[b+8>>2]=e+(d<<2);return}function Ov(){if((a[20864]|0)==0?Bx(20864)|0:0){Pv()|0;c[5875]=23496}return c[5875]|0}function Pv(){Qv();c[5874]=20872;return 23496}function Qv(){xu(20872,1);return}function Rv(){Sv(23504,Ov()|0);return 23504}function Sv(a,b){a=a|0;b=b|0;b=c[b>>2]|0;c[a>>2]=b;Xv(b);return}function Tv(){if((a[21032]|0)==0?Bx(21032)|0:0){Rv()|0;c[5877]=23504}return c[5877]|0}function Uv(a){a=a|0;var b=0;b=c[(Tv()|0)>>2]|0;c[a>>2]=b;Xv(b);return}function Vv(a,b,c){a=a|0;b=b|0;c=c|0;if(!c)a=0;else a=Dl(a,b,c)|0;return a|0}function Wv(a){a=a|0;return}function Xv(a){a=a|0;Yv(a+4|0);return}function Yv(a){a=a|0;c[a>>2]=(c[a>>2]|0)+1;return}function Zv(a){a=a|0;if((_v(a+4|0)|0)==-1){wc[c[(c[a>>2]|0)+8>>2]&127](a);a=1}else a=0;return a|0}function _v(a){a=a|0;var b=0;b=c[a>>2]|0;c[a>>2]=b+-1;return b+-1|0}function $v(a,b,d){a=a|0;b=b|0;d=d|0;Jx(23512)|0;while(1){if((c[a>>2]|0)!=1)break;Nb(23540,23512)|0}if(!(c[a>>2]|0)){c[a>>2]=1;Yx(23512)|0;wc[d&127](b);Jx(23512)|0;c[a>>2]=-1;Yx(23512)|0;Nx(23540)|0}else Yx(23512)|0;return}function aw(a){a=a|0;var b=0;b=(a|0)==0?1:a;while(1){a=Yj(b)|0;if(a|0)break;a=Dx()|0;if(!a){a=0;break}Fc[a&3]()}return a|0}function bw(a){a=a|0;return aw(a)|0}function cw(a){a=a|0;Zj(a);return}function dw(a){a=a|0;cw(a);return}function ew(){Hb()}function fw(a,b){a=a|0;b=b|0;var d=0,e=0;e=ok(b)|0;d=aw(e+13|0)|0;c[d>>2]=e;c[d+4>>2]=e;c[d+8>>2]=0;d=gw(d)|0;Ox(d|0,b|0,e+1|0)|0;c[a>>2]=d;return}function gw(a){a=a|0;return a+12|0}function hw(a,b){a=a|0;b=b|0;c[a>>2]=10072;fw(a+4|0,b);return}function iw(a){a=a|0;return 1}function jw(a){a=a|0;Hb()}function kw(a){a=a|0;Hb()}function lw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=l;l=l+16|0;e=g;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;if((a[d+11>>0]|0)<0){f=c[d>>2]|0;d=c[d+4>>2]|0;if(d>>>0>4294967279)jw(b);if(d>>>0<11)a[b+11>>0]=d;else{i=d+16&-16;h=aw(i)|0;c[b>>2]=h;c[b+8>>2]=i|-2147483648;c[b+4>>2]=d;b=h}Te(b,f,d)|0;a[e>>0]=0;re(b+d|0,e)}else{c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2]}l=g;return}function mw(b){b=b|0;if((a[b+11>>0]|0)<0)cw(c[b>>2]|0);return}function nw(b,d){b=b|0;d=d|0;var e=0,f=0;if((b|0)!=(d|0)){e=a[d+11>>0]|0;f=e<<24>>24<0;ow(b,f?c[d>>2]|0:d,f?c[d+4>>2]|0:e&255)|0}return b|0}function ow(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+16|0;i=k;j=b+11|0;f=a[j>>0]|0;g=f<<24>>24<0;if(g)h=(c[b+8>>2]&2147483647)+-1|0;else h=10;do if(h>>>0>=e>>>0){if(g)f=c[b>>2]|0;else f=b;pw(f,d,e)|0;a[i>>0]=0;re(f+e|0,i);if((a[j>>0]|0)<0){c[b+4>>2]=e;break}else{a[j>>0]=e;break}}else{if(g)f=c[b+4>>2]|0;else f=f&255;qw(b,h,e-h|0,f,0,f,e,d)}while(0);l=k;return b|0}function pw(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)Wx(a|0,b|0,c|0)|0;return a|0}function qw(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,m=0,n=0,o=0,p=0;p=l;l=l+16|0;o=p;if((-18-d|0)>>>0<e>>>0)jw(b);if((a[b+11>>0]|0)<0)n=c[b>>2]|0;else n=b;if(d>>>0<2147483623){k=e+d|0;m=d<<1;k=k>>>0<m>>>0?m:k;k=k>>>0<11?11:k+16&-16}else k=-17;m=aw(k)|0;if(g|0)Te(m,n,g)|0;if(i|0)Te(m+g|0,j,i)|0;e=f-h|0;f=e-g|0;if(f|0)Te(m+g+i|0,n+g+h|0,f)|0;if((d|0)!=10)cw(n);c[b>>2]=m;c[b+8>>2]=k|-2147483648;i=e+i|0;c[b+4>>2]=i;a[o>>0]=0;re(m+i|0,o);l=p;return}function rw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(d>>>0>4294967279)jw(b);i=b+11|0;f=a[i>>0]|0;g=f<<24>>24<0;if(g){j=c[b+4>>2]|0;e=(c[b+8>>2]&2147483647)+-1|0}else{j=f&255;e=10}h=j>>>0>d>>>0?j:d;d=h>>>0<11;h=d?10:(h+16&-16)+-1|0;do if((h|0)!=(e|0)){do if(d){d=c[b>>2]|0;if(g){g=0;e=d;d=b;f=13}else{Te(b,d,(f&255)+1|0)|0;cw(d);f=15}}else{d=aw(h+1|0)|0;if(g){g=1;e=c[b>>2]|0;f=13;break}else{Te(d,b,(f&255)+1|0)|0;f=14;break}}while(0);if((f|0)==13){Te(d,e,(c[b+4>>2]|0)+1|0)|0;cw(e);if(g)f=14;else f=15}if((f|0)==14){c[b+8>>2]=h+1|-2147483648;c[b+4>>2]=j;c[b>>2]=d;break}else if((f|0)==15){a[i>>0]=j;break}}while(0);return}function sw(a,b){a=a|0;b=b|0;return ow(a,b,oe(b)|0)|0}function tw(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;g=j;h=b+11|0;f=a[h>>0]|0;i=f<<24>>24<0;if(i)f=c[b+4>>2]|0;else f=f&255;do if(f>>>0>=d>>>0)if(i){i=(c[b>>2]|0)+d|0;a[g>>0]=0;re(i,g);c[b+4>>2]=d;break}else{a[g>>0]=0;re(b+d|0,g);a[h>>0]=d;break}else uw(b,d-f|0,e)|0;while(0);l=j;return}function uw(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;if(d|0){k=b+11|0;f=a[k>>0]|0;if(f<<24>>24<0){h=c[b+4>>2]|0;g=(c[b+8>>2]&2147483647)+-1|0}else{h=f&255;g=10}i=h+d|0;if((g-h|0)>>>0<d>>>0){vw(b,g,i-g|0,h,h,0,0);f=a[k>>0]|0}if(f<<24>>24<0)f=c[b>>2]|0;else f=b;qe(f+h|0,d,e)|0;if((a[k>>0]|0)<0)c[b+4>>2]=i;else a[k>>0]=i;a[j>>0]=0;re(f+i|0,j)}l=m;return b|0}function vw(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;if((-17-d|0)>>>0<e>>>0)jw(b);if((a[b+11>>0]|0)<0)l=c[b>>2]|0;else l=b;if(d>>>0<2147483623){j=e+d|0;k=d<<1;j=j>>>0<k>>>0?k:j;j=j>>>0<11?11:j+16&-16}else j=-17;k=aw(j)|0;if(g|0)Te(k,l,g)|0;e=f-h-g|0;if(e|0)Te(k+g+i|0,l+g+h|0,e)|0;if((d|0)!=10)cw(l);c[b>>2]=k;c[b+8>>2]=j|-2147483648;return}function ww(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+11|0;f=a[k>>0]|0;i=f<<24>>24<0;if(i){g=c[b+4>>2]|0;f=(c[b+8>>2]&2147483647)+-1|0}else{g=f&255;f=10}h=g+e|0;if((f-g|0)>>>0>=e>>>0){if(e|0){if(i)f=c[b>>2]|0;else f=b;Te(f+g|0,d,e)|0;if((a[k>>0]|0)<0)c[b+4>>2]=h;else a[k>>0]=h;a[j>>0]=0;re(f+h|0,j)}}else qw(b,f,h-f|0,g,g,0,e,d);l=m;return b|0}function xw(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+16|0;h=j;i=j+1|0;a[h>>0]=d;f=b+11|0;d=a[f>>0]|0;e=d<<24>>24<0;if(e){g=c[b+4>>2]|0;d=(c[b+8>>2]&2147483647)+-1|0}else{g=d&255;d=10}if((g|0)==(d|0)){vw(b,d,1,d,d,0,0);d=d+1|0;if((a[f>>0]|0)<0)e=8;else e=7}else{d=g+1|0;if(e)e=8;else e=7}if((e|0)==7){a[f>>0]=d;d=b}else if((e|0)==8){f=c[b>>2]|0;c[b+4>>2]=d;d=f}b=d+g|0;re(b,h);a[i>>0]=0;re(b+1|0,i);l=j;return}function yw(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=a[b+11>>0]|0;i=h<<24>>24<0;if(i)h=c[b+4>>2]|0;else h=h&255;if((g|0)==-1|h>>>0<d>>>0)kw(b);h=h-d|0;e=h>>>0<e>>>0?h:e;if(i)b=c[b>>2]|0;h=e>>>0>g>>>0;b=Vv(b+d|0,f,h?g:e)|0;if(!b)return (e>>>0<g>>>0?-1:h&1)|0;else return b|0;return 0}function zw(a,b){a=a|0;b=b|0;return yw(a,0,-1,b,oe(b)|0)|0}function Aw(b){b=b|0;if((a[b+8+3>>0]|0)<0)cw(c[b>>2]|0);return}function Bw(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;f=b+8|0;k=f+3|0;h=a[k>>0]|0;i=h<<24>>24<0;if(i)g=(c[f>>2]&2147483647)+-1|0;else g=1;do if(g>>>0>=e>>>0){if(i)f=c[b>>2]|0;else f=b;Cw(f,d,e)|0;c[j>>2]=0;An(f+(e<<2)|0,j);if((a[k>>0]|0)<0){c[b+4>>2]=e;break}else{a[k>>0]=e;break}}else{if(i)f=c[b+4>>2]|0;else f=h&255;Dw(b,g,e-g|0,f,0,f,e,d)}while(0);l=m;return b|0}function Cw(a,b,c){a=a|0;b=b|0;c=c|0;if(c)gm(a,b,c)|0;return a|0}function Dw(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,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;p=q;if((1073741806-d|0)>>>0<e>>>0)jw(b);m=b+8|0;if((a[m+3>>0]|0)<0)o=c[b>>2]|0;else o=b;if(d>>>0<536870887){e=e+d|0;k=d<<1;e=e>>>0<k>>>0?k:e;e=e>>>0<2?2:e+4&-4;if(e>>>0>1073741823)Hb();else n=e}else n=1073741807;k=aw(n<<2)|0;if(g|0)Nm(k,o,g)|0;if(i|0)Nm(k+(g<<2)|0,j,i)|0;e=f-h|0;f=e-g|0;if(f|0)Nm(k+(g<<2)+(i<<2)|0,o+(g<<2)+(h<<2)|0,f)|0;if((d|0)!=1)cw(o);c[b>>2]=k;c[m>>2]=n|-2147483648;i=e+i|0;c[b+4>>2]=i;c[p>>2]=0;An(k+(i<<2)|0,p);l=q;return}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;if(d>>>0>1073741807)jw(b);k=b+8|0;i=k+3|0;f=a[i>>0]|0;g=f<<24>>24<0;if(g){j=c[b+4>>2]|0;e=(c[k>>2]&2147483647)+-1|0}else{j=f&255;e=1}h=j>>>0>d>>>0?j:d;d=h>>>0<2;h=d?1:(h+4&-4)+-1|0;do if((h|0)!=(e|0)){do if(d){d=c[b>>2]|0;if(g){g=0;e=d;d=b;f=15}else{Nm(b,d,(f&255)+1|0)|0;cw(d);f=17}}else{d=h+1|0;if(d>>>0>1073741823)Hb();d=aw(d<<2)|0;if(g){g=1;e=c[b>>2]|0;f=15;break}else{Nm(d,b,(f&255)+1|0)|0;f=16;break}}while(0);if((f|0)==15){Nm(d,e,(c[b+4>>2]|0)+1|0)|0;cw(e);if(g)f=16;else f=17}if((f|0)==16){c[k>>2]=h+1|-2147483648;c[b+4>>2]=j;c[b>>2]=d;break}else if((f|0)==17){a[i>>0]=j;break}}while(0);return}function Fw(a,b){a=a|0;b=b|0;return Bw(a,b,Bq(b)|0)|0}function Gw(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;if((1073741807-d|0)>>>0<e>>>0)jw(b);m=b+8|0;if((a[m+3>>0]|0)<0)l=c[b>>2]|0;else l=b;if(d>>>0<536870887){e=e+d|0;j=d<<1;e=e>>>0<j>>>0?j:e;e=e>>>0<2?2:e+4&-4;if(e>>>0>1073741823)Hb();else k=e}else k=1073741807;j=aw(k<<2)|0;if(g|0)Nm(j,l,g)|0;e=f-h-g|0;if(e|0)Nm(j+(g<<2)+(i<<2)|0,l+(g<<2)+(h<<2)|0,e)|0;if((d|0)!=1)cw(l);c[b>>2]=j;c[m>>2]=k|-2147483648;return}function Hw(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;g=b+8|0;k=g+3|0;f=a[k>>0]|0;i=f<<24>>24<0;if(i){h=c[b+4>>2]|0;f=(c[g>>2]&2147483647)+-1|0}else{h=f&255;f=1}g=h+e|0;if((f-h|0)>>>0>=e>>>0){if(e|0){if(i)f=c[b>>2]|0;else f=b;Nm(f+(h<<2)|0,d,e)|0;if((a[k>>0]|0)<0)c[b+4>>2]=g;else a[k>>0]=g;c[j>>2]=0;An(f+(g<<2)|0,j)}}else Dw(b,f,g-f|0,h,h,0,e,d);l=m;return b|0}function Iw(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;i=k;j=k+4|0;c[i>>2]=d;e=b+8|0;g=e+3|0;d=a[g>>0]|0;f=d<<24>>24<0;if(f){h=c[b+4>>2]|0;d=(c[e>>2]&2147483647)+-1|0}else{h=d&255;d=1}if((h|0)==(d|0)){Gw(b,d,1,d,d,0,0);d=d+1|0;if((a[g>>0]|0)<0)e=8;else e=7}else{d=h+1|0;if(f)e=8;else e=7}if((e|0)==7){a[g>>0]=d;d=b}else if((e|0)==8){g=c[b>>2]|0;c[b+4>>2]=d;d=g}b=d+(h<<2)|0;An(b,i);c[j>>2]=0;An(b+4|0,j);l=k;return}function Jw(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0;f=l;l=l+48|0;h=f+32|0;d=f+24|0;i=f+16|0;g=f;f=f+36|0;a=Kw()|0;if(a|0?(e=c[a>>2]|0,e|0):0){a=e+48|0;b=c[a>>2]|0;a=c[a+4>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){c[d>>2]=c[2495];Lw(19783,d)}if((b|0)==1126902529&(a|0)==1129074247)a=c[e+44>>2]|0;else a=e+80|0;c[f>>2]=a;e=c[e>>2]|0;a=c[e+4>>2]|0;e=Dc[c[(c[458]|0)+16>>2]&31](1832,e,f)|0;b=c[2495]|0;if(e){i=c[f>>2]|0;i=Ac[c[(c[i>>2]|0)+8>>2]&63](i)|0;c[g>>2]=b;c[g+4>>2]=a;c[g+8>>2]=i;Lw(19697,g)}else{c[i>>2]=b;c[i+4>>2]=a;Lw(19742,i)}}Lw(19821,h)}function Kw(){var a=0,b=0;a=l;l=l+16|0;if(!($a(23588,2)|0)){b=vb(c[5898]|0)|0;l=a;return b|0}else Lw(19972,a);return 0}function Lw(a,b){a=a|0;b=b|0;var d=0;d=l;l=l+16|0;c[d>>2]=b;b=c[816]|0;uk(b,a,d)|0;Il(10,b)|0;Hb()}function Mw(a){a=a|0;return}function Nw(a){a=a|0;Mw(a);cw(a);return}function Ow(a){a=a|0;return}function Pw(a){a=a|0;return}function Qw(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;f=h;if(!(Uw(a,b,0)|0))if((b|0)!=0?(g=Yw(b,1856,1840,0)|0,(g|0)!=0):0){b=f+4|0;e=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(e|0));c[f>>2]=g;c[f+8>>2]=a;c[f+12>>2]=-1;c[f+48>>2]=1;Hc[c[(c[g>>2]|0)+28>>2]&7](g,f,c[d>>2]|0,1);if((c[f+24>>2]|0)==1){c[d>>2]=c[f+16>>2];b=1}else b=0}else b=0;else b=1;l=h;return b|0}function Rw(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(Uw(a,c[b+8>>2]|0,g)|0)Xw(0,b,d,e,f);return}function Sw(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;do if(!(Uw(b,c[d+8>>2]|0,g)|0)){if(Uw(b,c[d>>2]|0,g)|0){b=d+32|0;if((c[d+16>>2]|0)!=(e|0)?(h=d+20|0,(c[h>>2]|0)!=(e|0)):0){c[b>>2]=f;c[h>>2]=e;f=d+40|0;c[f>>2]=(c[f>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1;c[d+44>>2]=4;break}if((f|0)==1)c[b>>2]=1}}else Ww(0,d,e,f);while(0);return}function Tw(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(Uw(a,c[b+8>>2]|0,0)|0)Vw(0,b,d,e);return}function Uw(a,b,c){a=a|0;b=b|0;c=c|0;return (a|0)==(b|0)|0}function Vw(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;b=d+16|0;g=c[b>>2]|0;h=d+36|0;i=d+24|0;do if(g){if((g|0)!=(e|0)){c[h>>2]=(c[h>>2]|0)+1;c[i>>2]=2;a[d+54>>0]=1;break}if((c[i>>2]|0)==2)c[i>>2]=f}else{c[b>>2]=e;c[i>>2]=f;c[h>>2]=1}while(0);return}function Ww(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((c[b+4>>2]|0)==(d|0)?(f=b+28|0,(c[f>>2]|0)!=1):0)c[f>>2]=e;return}function Xw(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;a[d+53>>0]=1;do if((c[d+4>>2]|0)==(f|0)){a[d+52>>0]=1;f=d+16|0;h=c[f>>2]|0;j=d+54|0;k=d+48|0;i=d+24|0;b=d+36|0;if(!h){c[f>>2]=e;c[i>>2]=g;c[b>>2]=1;if(!((c[k>>2]|0)==1&(g|0)==1))break;a[j>>0]=1;break}if((h|0)!=(e|0)){c[b>>2]=(c[b>>2]|0)+1;a[j>>0]=1;break}b=c[i>>2]|0;if((b|0)==2){c[i>>2]=g;b=g}if((c[k>>2]|0)==1&(b|0)==1)a[j>>0]=1}while(0);return}function Yw(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;q=l;l=l+64|0;o=q;n=c[d>>2]|0;p=d+(c[n+-8>>2]|0)|0;n=c[n+-4>>2]|0;c[o>>2]=f;c[o+4>>2]=d;c[o+8>>2]=e;c[o+12>>2]=g;d=o+16|0;e=o+20|0;g=o+24|0;h=o+28|0;i=o+32|0;j=o+40|0;k=d;m=k+36|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));b[d+36>>1]=0;a[d+38>>0]=0;a:do if(Uw(n,f,0)|0){c[o+48>>2]=1;sc[c[(c[n>>2]|0)+20>>2]&7](n,o,p,p,1,0);d=(c[g>>2]|0)==1?p:0}else{tc[c[(c[n>>2]|0)+24>>2]&3](n,o,p,1,0);switch(c[o+36>>2]|0){case 0:{d=(c[j>>2]|0)==1&(c[h>>2]|0)==1&(c[i>>2]|0)==1?c[e>>2]|0:0;break a}case 1:break;default:{d=0;break a}}if((c[g>>2]|0)!=1?!((c[j>>2]|0)==0&(c[h>>2]|0)==1&(c[i>>2]|0)==1):0){d=0;break}d=c[d>>2]|0}while(0);l=q;return d|0}function Zw(a){a=a|0;Mw(a);cw(a);return}function _w(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(Uw(a,c[b+8>>2]|0,g)|0)Xw(0,b,d,e,f);else{a=c[a+8>>2]|0;sc[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e,f,g)}return}function $w(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;do if(!(Uw(b,c[d+8>>2]|0,g)|0)){h=b+8|0;if(!(Uw(b,c[d>>2]|0,g)|0)){j=c[h>>2]|0;tc[c[(c[j>>2]|0)+24>>2]&3](j,d,e,f,g);break}b=d+32|0;if((c[d+16>>2]|0)!=(e|0)?(i=d+20|0,(c[i>>2]|0)!=(e|0)):0){c[b>>2]=f;f=d+44|0;if((c[f>>2]|0)==4)break;b=d+52|0;a[b>>0]=0;k=d+53|0;a[k>>0]=0;h=c[h>>2]|0;sc[c[(c[h>>2]|0)+20>>2]&7](h,d,e,e,1,g);if(a[k>>0]|0)if(!(a[b>>0]|0)){b=3;j=11}else b=3;else{b=4;j=11}if((j|0)==11){c[i>>2]=e;k=d+40|0;c[k>>2]=(c[k>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1}c[f>>2]=b;break}if((f|0)==1)c[b>>2]=1}else Ww(0,d,e,f);while(0);return}function ax(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(Uw(a,c[b+8>>2]|0,0)|0)Vw(0,b,d,e);else{a=c[a+8>>2]|0;Hc[c[(c[a>>2]|0)+28>>2]&7](a,b,d,e)}return}function bx(a){a=a|0;return}function cx(){var a=0;a=l;l=l+16|0;if(!(Cb(23592,111)|0)){l=a;return}else Lw(20021,a)}function dx(a){a=a|0;var b=0;b=l;l=l+16|0;Zj(a);if(!(hc(c[5898]|0,0)|0)){l=b;return}else Lw(20071,b)}function ex(){var a=0,b=0;a=Kw()|0;if((a|0?(b=c[a>>2]|0,b|0):0)?(a=b+48|0,(c[a>>2]&-256|0)==1126902528?(c[a+4>>2]|0)==1129074247:0):0)fx(c[b+12>>2]|0);fx(gx()|0)}function fx(a){a=a|0;var b=0;b=l;l=l+16|0;Fc[a&3]();Lw(20124,b)}function gx(){var a=0;a=c[2494]|0;c[2494]=a+0;return a|0}function hx(a){a=a|0;return}function ix(a){a=a|0;c[a>>2]=10072;mx(a+4|0);return}function jx(a){a=a|0;ix(a);cw(a);return}function kx(a){a=a|0;return lx(a+4|0)|0}function lx(a){a=a|0;return c[a>>2]|0}function mx(a){a=a|0;var b=0,d=0;if(iw(a)|0?(b=nx(c[a>>2]|0)|0,d=b+8|0,a=c[d>>2]|0,c[d>>2]=a+-1,(a+-1|0)<0):0)cw(b);return}function nx(a){a=a|0;return a+-12|0}function ox(a){a=a|0;ix(a);cw(a);return}function px(a){a=a|0;Mw(a);cw(a);return}function qx(a,b,c){a=a|0;b=b|0;c=c|0;return Uw(a,b,0)|0}function rx(a){a=a|0;Mw(a);cw(a);return}function sx(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+64|0;h=j;c[d>>2]=c[c[d>>2]>>2];if(!(tx(a,b,0)|0))if(((b|0)!=0?(e=Yw(b,1856,1944,0)|0,(e|0)!=0):0)?(c[e+8>>2]&~c[a+8>>2]|0)==0:0){a=a+12|0;b=e+12|0;if(!(Uw(c[a>>2]|0,c[b>>2]|0,0)|0)?!(Uw(c[a>>2]|0,1976,0)|0):0){a=c[a>>2]|0;if((((a|0)!=0?(g=Yw(a,1856,1840,0)|0,(g|0)!=0):0)?(f=c[b>>2]|0,(f|0)!=0):0)?(i=Yw(f,1856,1840,0)|0,(i|0)!=0):0){a=h+4|0;b=a+52|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));c[h>>2]=i;c[h+8>>2]=g;c[h+12>>2]=-1;c[h+48>>2]=1;Hc[c[(c[i>>2]|0)+28>>2]&7](i,h,c[d>>2]|0,1);if((c[h+24>>2]|0)==1){c[d>>2]=c[h+16>>2];a=1}else a=0}else a=0}else a=1}else a=0;else a=1;l=j;return a|0}function tx(a,b,c){a=a|0;b=b|0;c=c|0;if(Uw(a,b,0)|0)a=1;else a=Uw(b,1984,0)|0;return a|0}function ux(a){a=a|0;Mw(a);cw(a);return}function vx(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;if(Uw(b,c[d+8>>2]|0,h)|0)Xw(0,d,e,f,g);else{p=d+52|0;i=a[p>>0]|0;j=d+53|0;k=a[j>>0]|0;o=c[b+12>>2]|0;l=b+16+(o<<3)|0;a[p>>0]=0;a[j>>0]=0;zx(b+16|0,d,e,f,g,h);a:do if((o|0)>1){m=d+24|0;n=d+54|0;o=b+8|0;b=b+24|0;do{if(a[n>>0]|0)break a;if(!(a[p>>0]|0)){if(a[j>>0]|0?(c[o>>2]&1|0)==0:0)break a}else{if((c[m>>2]|0)==1)break a;if(!(c[o>>2]&2))break a}a[p>>0]=0;a[j>>0]=0;zx(b,d,e,f,g,h);b=b+8|0}while(b>>>0<l>>>0)}while(0);a[p>>0]=i;a[j>>0]=k}return}function wx(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;a:do if(!(Uw(b,c[d+8>>2]|0,g)|0)){i=b+12|0;q=d+24|0;r=d+36|0;s=d+54|0;o=b+8|0;m=b+16|0;if(!(Uw(b,c[d>>2]|0,g)|0)){p=c[i>>2]|0;j=b+16+(p<<3)|0;Ax(m,d,e,f,g);h=b+24|0;if((p|0)<=1)break;i=c[o>>2]|0;if((i&2|0)==0?(c[r>>2]|0)!=1:0){if(!(i&1))while(1){if(a[s>>0]|0)break a;if((c[r>>2]|0)==1)break a;Ax(h,d,e,f,g);h=h+8|0;if(h>>>0>=j>>>0)break a}while(1){if(a[s>>0]|0)break a;if((c[r>>2]|0)==1?(c[q>>2]|0)==1:0)break a;Ax(h,d,e,f,g);h=h+8|0;if(h>>>0>=j>>>0)break a}}while(1){if(a[s>>0]|0)break a;Ax(h,d,e,f,g);h=h+8|0;if(h>>>0>=j>>>0)break a}}h=d+32|0;if((c[d+16>>2]|0)!=(e|0)?(p=d+20|0,(c[p>>2]|0)!=(e|0)):0){c[h>>2]=f;n=d+44|0;if((c[n>>2]|0)==4)break;f=b+16+(c[i>>2]<<3)|0;k=d+52|0;l=d+53|0;h=0;b=m;j=0;b:while(1){if(b>>>0>=f>>>0){i=18;break}a[k>>0]=0;a[l>>0]=0;zx(b,d,e,e,1,g);if(a[s>>0]|0){i=18;break}do if(a[l>>0]|0){if(!(a[k>>0]|0))if(!(c[o>>2]&1)){h=1;i=18;break b}else{h=1;i=j;break}if((c[q>>2]|0)==1){i=23;break b}if(!(c[o>>2]&2)){i=23;break b}else{h=1;i=1}}else i=j;while(0);b=b+8|0;j=i}do if((i|0)==18){if((!j?(c[p>>2]=e,e=d+40|0,c[e>>2]=(c[e>>2]|0)+1,(c[r>>2]|0)==1):0)?(c[q>>2]|0)==2:0){a[s>>0]=1;if(h){i=23;break}else{h=4;break}}if(h)i=23;else h=4}while(0);if((i|0)==23)h=3;c[n>>2]=h;break}if((f|0)==1)c[h>>2]=1}else Ww(0,d,e,f);while(0);return}function xx(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if(!(Uw(b,c[d+8>>2]|0,0)|0)){h=c[b+12>>2]|0;g=b+16+(h<<3)|0;yx(b+16|0,d,e,f);if((h|0)>1){h=d+54|0;b=b+24|0;do{yx(b,d,e,f);if(a[h>>0]|0)break a;b=b+8|0}while(b>>>0<g>>>0)}}else Vw(0,d,e,f);while(0);return}function yx(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[a+4>>2]|0;f=g>>8;if(g&1)f=c[(c[d>>2]|0)+f>>2]|0;a=c[a>>2]|0;Hc[c[(c[a>>2]|0)+28>>2]&7](a,b,d+f|0,g&2|0?e:2);return}function zx(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=c[a+4>>2]|0;h=i>>8;if(i&1)h=c[(c[e>>2]|0)+h>>2]|0;a=c[a>>2]|0;sc[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e+h|0,i&2|0?f:2,g);return}function Ax(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=c[a+4>>2]|0;g=h>>8;if(h&1)g=c[(c[d>>2]|0)+g>>2]|0;a=c[a>>2]|0;tc[c[(c[a>>2]|0)+24>>2]&3](a,b,d+g|0,h&2|0?e:2,f);return}function Bx(b){b=b|0;if((a[b>>0]|0)==1)b=0;else{a[b>>0]=1;b=1}return b|0}function Cx(a){a=a|0;return}function Dx(){var a=0;a=c[5899]|0;c[5899]=a+0;return a|0}function Ex(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;c[e>>2]=c[d>>2];a=Dc[c[(c[a>>2]|0)+16>>2]&31](a,b,e)|0;if(a)c[d>>2]=c[e>>2];l=f;return a&1|0}function Fx(a){a=a|0;if(!a)a=0;else a=(Yw(a,1856,1944,0)|0)!=0;return a&1|0}function Gx(){}function Hx(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 (A=d,a-c>>>0|0)|0}function Ix(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 Jx(a){a=a|0;return 0}function Kx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (A=b+d+(c>>>0<a>>>0|0)>>>0,c|0)|0}function Lx(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){A=b>>c;return a>>>c|(b&(1<<c)-1)<<32-c}A=(b|0)<0?-1:0;return b>>c-32|0}function Mx(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){A=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}A=0;return b>>>c-32|0}function Nx(a){a=a|0;return 0}function Ox(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192)return Ca(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 Px(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 Qx(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 (A=n,f)|0}else{if(!g){n=0;f=0;return (A=n,f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;f=0;return (A=n,f)|0}}g=(i|0)==0;do if(h){if(!g){g=(S(i|0)|0)-(S(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<<i;b=k>>>(m>>>0)&b;g=0;i=l<<i;break}if(!f){n=0;f=0;return (A=n,f)|0}c[f>>2]=a|0;c[f+4>>2]=j|b&0;n=0;f=0;return (A=n,f)|0}g=h-1|0;if(g&h|0){i=(S(h|0)|0)+33-(S(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<<m|l>>>(i>>>0))&b;b=b&k>>>(i>>>0);g=l<<p&j;i=(k<<p|l>>>(o>>>0))&j|l<<m&i-33>>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 (A=o,p)|0}else{p=Px(h|0)|0;o=k>>>(p>>>0)|0;p=k<<32-p|l>>>(p>>>0)|0;return (A=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 (A=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 (A=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>>>((Px(i|0)|0)>>>0);return (A=o,p)|0}g=(S(i|0)|0)-(S(k|0)|0)|0;if(g>>>0<=30){b=g+1|0;i=31-g|0;h=b;a=k<<i|l>>>(b>>>0);b=k>>>(b>>>0);g=0;i=l<<i;break}if(!f){o=0;p=0;return (A=o,p)|0}c[f>>2]=a|0;c[f+4>>2]=j|b&0;o=0;p=0;return (A=o,p)|0}while(0);if(!h){k=i;j=0;i=0}else{m=d|0|0;l=n|e&0;k=Kx(m|0,l|0,-1,-1)|0;d=A;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;Hx(k|0,d|0,e|0,n|0)|0;p=A;o=p>>31|((p|0)<0?-1:0)<<1;i=o&1;a=Hx(e|0,n|0,o&m|0,(((p|0)<0?-1:0)>>31|((p|0)<0?-1:0)<<1)&l|0)|0;b=A;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 (A=o,p)|0}function Rx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Qx(a,b,c,d,0)|0}function Sx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=P(e,f)|0;d=a>>>16;a=(c>>>16)+(P(e,d)|0)|0;e=b>>>16;b=P(e,f)|0;return (A=(a>>>16)+(P(e,d)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|c&65535|0)|0}function Tx(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=Sx(e,f)|0;a=A;return (A=(P(b,f)|0)+(P(d,e)|0)+a|a&0,c|0|0)|0}function Ux(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){X()|0;Ua(12);return -1}c[i>>2]=a;if((a|0)>(W()|0)?(V()|0)==0:0){c[i>>2]=b;Ua(12);return -1}return b|0}function Vx(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){A=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}A=a<<c-32;return 0}function Wx(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 Ox(b,c,d)|0;return b|0}function Xx(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;Qx(a,b,d,e,f)|0;l=g;return (A=c[f+4>>2]|0,c[f>>2]|0)|0}function Yx(a){a=a|0;return 0}function Zx(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function _x(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 qc[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function $x(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return rc[a&7](b|0,c|0,d|0,e|0)|0}function ay(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;sc[a&7](b|0,c|0,d|0,e|0,f|0,g|0)}function by(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;tc[a&3](b|0,c|0,d|0,e|0,f|0)}function cy(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;return uc[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function dy(a){a=a|0;return vc[a&1]()|0}function ey(a,b){a=a|0;b=b|0;wc[a&127](b|0)}function fy(a,b,c){a=a|0;b=b|0;c=c|0;xc[a&63](b|0,c|0)}function gy(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return yc[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function hy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return zc[a&7](b|0,c|0,d|0,e|0,+f)|0}function iy(a,b){a=a|0;b=b|0;return Ac[a&63](b|0)|0}function jy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Bc[a&1](b|0,c|0,+d)}function ky(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;Cc[a&1](b|0,c|0,d|0,+e)}function ly(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Dc[a&31](b|0,c|0,d|0)|0}function my(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ec[a&3](b|0,c|0,d|0)}function ny(a){a=a|0;Fc[a&3]()}function oy(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 Gc[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function py(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Hc[a&7](b|0,c|0,d|0,e|0)}function qy(a,b,c){a=a|0;b=b|0;c=c|0;return Ic[a&31](b|0,c|0)|0}function ry(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;return Jc[a&1](b|0,c|0,d|0,+e)|0}function sy(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 Kc[a&31](b|0,c|0,d|0,e|0,f|0)|0}function ty(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;T(0);return 0}function uy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;T(1);return 0}function vy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;T(2)}function wy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;T(3)}function xy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;T(4);return 0}function yy(){T(5);return 0}function zy(a){a=a|0;T(6)}function Ay(a,b){a=a|0;b=b|0;T(7)}function By(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;T(8);return 0}function Cy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;T(9);return 0}function Dy(a){a=a|0;T(10);return 0}function Ey(a,b,c){a=a|0;b=b|0;c=+c;T(11)}function Fy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;T(12)}function Gy(a,b,c){a=a|0;b=b|0;c=c|0;T(13);return 0}function Hy(a,b,c){a=a|0;b=b|0;c=c|0;T(14)}function Iy(){T(15)}function Jy(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;T(16);return 0}function Ky(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;T(17)}function Ly(a,b){a=a|0;b=b|0;T(18);return 0}function My(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;T(19);return 0}function Ny(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;T(20);return 0}
function Lc(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function Mc(){return l|0}function Nc(a){a=a|0;l=a}function Oc(a,b){a=a|0;b=b|0;l=a;m=b}function Pc(a,b){a=a|0;b=b|0;if(!p){p=a;q=b}}function Qc(a){a=a|0;A=a}function Rc(){return A|0}function Sc(a,b,c){a=a|0;b=b|0;c=c|0;return Yj(P(c,b)|0)|0}function Tc(a,b){a=a|0;b=b|0;Zj(b);return}function Uc(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(a){switch(b|0){case -15:case 15:break;default:{d=-1e4;break a}}c[a+44>>2]=0;c[a+48>>2]=0;c[a+24>>2]=0;c[a+8>>2]=0;c[a+20>>2]=0;c[a+52>>2]=0;e=a+32|0;d=c[e>>2]|0;if(!d){c[e>>2]=22;d=22}e=a+36|0;if(!(c[e>>2]|0))c[e>>2]=34;d=Dc[d&31](c[a+40>>2]|0,1,43784)|0;if(!d)d=-4;else{c[a+28>>2]=d;c[d>>2]=0;c[d+10992>>2]=0;c[d+10996>>2]=0;c[d+43780>>2]=1;c[d+11e3>>2]=1;c[d+11004>>2]=0;c[d+11008>>2]=b;d=0}}else d=-2;while(0);return d|0}function Vc(a){a=a|0;return Uc(a,15)|0}function Wc(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;A=l;l=l+16|0;w=A+4|0;x=A;a:do if((a|0)!=0?(y=c[a+28>>2]|0,(y|0)!=0):0){b=(b|0)==1?2:b;h=(b|0)!=4;switch(b|0){case 0:case 2:case 4:break;default:{b=-2;break a}}d=(c[y+11008>>2]|0)>0?9:8;u=a+4|0;i=c[u>>2]|0;v=y+11e3|0;e=c[v>>2]|0;c[v>>2]=0;v=y+43780|0;if((c[v>>2]|0)>=0){f=y+11004|0;g=c[f>>2]|0;if(h&(g|0)!=0)b=-2;else{t=(b|0)==4;c[f>>2]=g|t&1;if(t&(e|0)!=0){c[w>>2]=i;z=a+16|0;c[x>>2]=c[z>>2];t=a+12|0;b=c[t>>2]|0;b=Xc(y,c[a>>2]|0,w,b,b,x,d|4)|0;c[v>>2]=b;s=c[w>>2]|0;c[a>>2]=(c[a>>2]|0)+s;c[u>>2]=(c[u>>2]|0)-s;w=a+8|0;c[w>>2]=(c[w>>2]|0)+s;c[a+48>>2]=c[y+28>>2];y=c[x>>2]|0;c[t>>2]=(c[t>>2]|0)+y;c[z>>2]=(c[z>>2]|0)-y;z=a+20|0;c[z>>2]=(c[z>>2]|0)+y;if((b|0)<0){b=-3;break}if(!b){b=1;break}c[v>>2]=-1;b=-5;break}r=h?d|2:d;s=y+10996|0;b=c[s>>2]|0;if(b|0){w=a+16|0;x=c[(b>>>0<(c[w>>2]|0)>>>0?s:w)>>2]|0;b=a+12|0;z=y+10992|0;Ox(c[b>>2]|0,(c[z>>2]|0)+(y+11012)|0,x|0)|0;c[b>>2]=(c[b>>2]|0)+x;c[w>>2]=(c[w>>2]|0)-x;b=a+20|0;c[b>>2]=(c[b>>2]|0)+x;b=(c[s>>2]|0)-x|0;c[s>>2]=b;c[z>>2]=(c[z>>2]|0)+x&32767;b=(c[v>>2]|b|0)==0&1;break}g=y+10992|0;h=y+11012|0;j=a+8|0;k=y+28|0;m=a+48|0;n=a+16|0;o=a+12|0;p=a+20|0;q=(i|0)!=0;d=i;b=c[g>>2]|0;while(1){c[w>>2]=d;c[x>>2]=32768-b;d=Xc(y,c[a>>2]|0,w,h,y+11012+b|0,x,r)|0;c[v>>2]=d;e=c[w>>2]|0;c[a>>2]=(c[a>>2]|0)+e;c[u>>2]=(c[u>>2]|0)-e;c[j>>2]=(c[j>>2]|0)+e;c[m>>2]=c[k>>2];e=c[x>>2]|0;c[s>>2]=e;b=c[n>>2]|0;b=e>>>0<b>>>0?e:b;Ox(c[o>>2]|0,(c[g>>2]|0)+(y+11012)|0,b|0)|0;c[o>>2]=(c[o>>2]|0)+b;e=(c[n>>2]|0)-b|0;c[n>>2]=e;c[p>>2]=(c[p>>2]|0)+b;f=(c[s>>2]|0)-b|0;c[s>>2]=f;b=(c[g>>2]|0)+b&32767;c[g>>2]=b;if((d|0)<0){b=-3;break a}if(!(q|(d|0)!=1)){b=-5;break a}d=(d|0)==0;if(!t){if(d){z=22;break}d=c[u>>2]|0;if((e|0)!=0&(d|0)!=0&(f|0)==0)continue;else{b=0;break}}if(d){z=17;break}if(!e){b=-5;break a}d=c[u>>2]|0}if((z|0)==17){b=f|0?-5:1;break}else if((z|0)==22)b=(f|0)==0;b=b&1}}else b=-3}else b=-2;while(0);l=A;return b|0}function Xc(e,f,g,h,i,j,k){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,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;S=l;l=l+144|0;I=S+64|0;J=S;m=c[g>>2]|0;K=f+m|0;E=c[j>>2]|0;F=i+E|0;G=(k&4|0)!=0;L=i;H=h;E=G?-1:L+~H+E|0;t=E+1|0;a:do if(!(i>>>0<h>>>0|(t&E|0)!=0)){M=e+4|0;s=c[M>>2]|0;N=e+56|0;q=c[N>>2]|0;O=e+32|0;r=c[O>>2]|0;P=e+36|0;p=c[P>>2]|0;Q=e+40|0;o=c[Q>>2]|0;R=e+60|0;u=c[R>>2]|0;b:do switch(c[e>>2]|0){case 0:{c[e+12>>2]=0;c[e+8>>2]=0;c[e+28>>2]=1;c[e+16>>2]=1;if(k&1)if((m|0)<1){p=0;o=0;q=0;s=0;r=0;x=6}else{p=0;o=0;q=0;s=0;r=0;x=8}else{t=i;n=f;s=0;p=0;o=0;q=0;r=0;x=16}break}case 1:{if((m|0)>0)x=8;else x=6;break}case 2:{if((m|0)>0){n=f;x=12}else{n=f;x=10}break}case 36:{m=-1;t=i;v=p;n=f;p=36;x=246;break}case 3:{if((m|0)>0){t=i;n=f;x=20}else{t=i;n=f;x=18}break}case 5:{if((m|0)<=0)if(!(k&2)){m=0;n=f}else{m=1;t=i;v=p;n=f;p=5;x=246;break b}else{m=d[f>>0]|0;n=f+1|0}v=s+8|0;q=m<<s|q;t=i;x=27;break}case 6:{if((m|0)>0){t=i;n=f;x=34}else{t=i;n=f;x=32}break}case 7:{if((m|0)>0){t=i;n=f+1|0;m=a[f>>0]|0;x=41}else{t=i;n=f;x=38}break}case 39:{t=i;n=f;x=45;break}case 51:{if((m|0)>0){t=i;n=f;x=51}else{t=i;n=f;x=49}break}case 52:{t=i;n=f;x=54;break}case 9:{t=i;n=f;x=57;break}case 38:{t=i;n=f;x=58;break}case 40:{t=i;n=f;x=60;break}case 10:{t=i;n=f;x=62;break}case 11:{if((m|0)>0){t=i;n=f;x=69}else{t=i;n=f;x=67}break}case 14:{if((m|0)>0){t=i;n=f;x=78}else{t=i;n=f;x=76}break}case 35:{t=i;n=f;x=89;break}case 16:{if((m|0)>0){t=i;n=f;x=119}else{t=i;n=f;x=117}break}case 17:{t=i;n=f;x=128;break}case 18:{if((m|0)>0){t=i;n=f;x=133}else{t=i;n=f;x=131}break}case 21:{t=i;n=f;x=139;break}case 23:{if((m|0)>0){t=i;n=f;x=156}else{t=i;n=f;x=154}break}case 24:{t=i;n=f;x=163;break}case 25:{if((m|0)>0){t=i;n=f;x=185}else{t=i;n=f;x=183}break}case 26:{if((m|0)>0){t=i;n=f;x=198}else{t=i;n=f;x=196}break}case 27:{if((m|0)>0){t=i;n=f;x=209}else{t=i;n=f;x=207}break}case 37:{t=i;n=f;x=213;break}case 53:{t=i;n=f;x=216;break}case 32:{if((m|0)<=0)if(!(k&2)){m=0;n=f}else{m=1;t=i;v=p;n=f;p=32;x=246;break b}else{m=d[f>>0]|0;n=f+1|0}t=i;v=s+8|0;q=m<<s|q;x=229;break}case 41:{if((m|0)>0){t=i;m=q;n=f;x=236}else{t=i;n=f;x=234}break}case 42:{if((m|0)>0){v=d[f>>0]|0;t=i;n=f+1|0;m=q;x=244}else{t=i;n=f;x=240}break}case 34:{t=i;n=f;x=245;break}default:{m=-1;t=i;n=f;x=247}}while(0);if((x|0)==6)if(!(k&2)){n=f;m=0;x=9}else{m=1;t=i;v=p;n=f;p=1;x=246}else if((x|0)==8){n=f+1|0;m=a[f>>0]|0;x=9}if((x|0)==9){c[e+8>>2]=m&255;if(n>>>0<K>>>0)x=12;else x=10}if((x|0)==10)if(!(k&2)){p=n;m=0;x=13}else{m=1;t=i;v=p;p=2;x=246}else if((x|0)==12){p=n+1|0;m=a[n>>0]|0;x=13}if((x|0)==13){m=m&255;c[e+12>>2]=m;n=c[e+8>>2]|0;m=(n&15|0)!=8?1:(((n<<8|m)>>>0)%31|0|m&32|0)!=0;if(G)m=m&1;else{C=n>>>4;D=Vx(1,0,C+8|0)|0;m=(m|(256<<C>>>0>32768|t>>>0<D>>>0))&1}if(!m){t=i;n=p;p=0;x=16}else{m=-1;t=i;v=1;n=p;p=36;x=246}}c:while(1){switch(x|0){case 16:{if(s>>>0<3)x=17;else x=22;break}case 18:{if(!(k&2)){m=0;x=21}else{m=1;v=p;p=3;x=246;continue c}break}case 20:{m=a[n>>0]|0;n=n+1|0;x=21;break}case 27:{D=v&7;p=0;s=v-D|0;q=q>>>D;x=28;break}case 32:{if(!(k&2)){v=0;m=s;x=35}else{m=1;v=p;p=6;x=246;continue c}break}case 34:{v=a[n>>0]|0;n=n+1|0;m=s;x=35;break}case 38:if(!(k&2)){m=0;x=41;continue c}else{m=1;v=p;p=7;x=246;continue c}case 41:{a[e+10528+p>>0]=m;x=43;break}case 45:{m=-1;v=p;p=39;x=246;continue c}case 49:{if(!(k&2)){m=0;x=52}else{m=1;v=p;p=51;x=246;continue c}break}case 51:{m=a[n>>0]|0;n=n+1|0;x=52;break}case 54:{if(t>>>0>=F>>>0){m=2;v=p;p=52;x=246;continue c}a[t>>0]=r;t=t+1|0;p=p+-1|0;x=46;break}case 57:if(t>>>0<F>>>0){x=58;continue c}else{m=2;v=p;p=9;x=246;continue c}case 58:if(n>>>0>=K>>>0)if(!(k&2)){x=60;continue c}else{m=1;v=p;p=38;x=246;continue c}else{x=(F-t|0)>>>0<(K-n|0)>>>0;x=(x?F:K)-(x?t:n)|0;x=x>>>0<p>>>0?x:p;Ox(t|0,n|0,x|0)|0;t=t+x|0;p=p-x|0;n=n+x|0;x=56;break}case 60:{m=-1;v=p;p=40;x=246;continue c}case 62:{m=-1;v=p;p=10;x=246;continue c}case 67:{if(!(k&2)){m=0;x=70}else{m=1;v=p;p=11;x=246;continue c}break}case 69:{m=a[n>>0]|0;n=n+1|0;x=70;break}case 76:{if(!(k&2)){m=0;x=79}else{m=1;v=p;p=14;x=246;continue c}break}case 78:{m=a[n>>0]|0;n=n+1|0;x=79;break}case 89:{m=-1;v=p;p=35;x=246;continue c}case 117:{if(!(k&2)){m=0;x=120}else{m=1;v=p;p=16;x=246;continue c}break}case 119:{m=a[n>>0]|0;n=n+1|0;x=120;break}case 128:{m=-1;v=p;p=17;x=246;continue c}case 131:{if(!(k&2)){m=0;x=134}else{m=1;v=p;p=18;x=246;continue c}break}case 133:{m=a[n>>0]|0;n=n+1|0;x=134;break}case 139:{m=-1;v=p;p=21;x=246;continue c}case 154:{if(!(k&2)){m=0;x=157}else{m=1;v=p;p=23;x=246;continue c}break}case 156:{m=a[n>>0]|0;n=n+1|0;x=157;break}case 163:{if(t>>>0>=F>>>0){m=2;v=p;p=24;x=246;continue c}a[t>>0]=p;t=t+1|0;x=143;break}case 183:{if(!(k&2)){m=0;x=186}else{m=1;v=p;p=25;x=246;continue c}break}case 185:{m=a[n>>0]|0;n=n+1|0;x=186;break}case 196:{if(!(k&2)){m=0;x=199}else{m=1;v=p;p=26;x=246;continue c}break}case 198:{m=a[n>>0]|0;n=n+1|0;x=199;break}case 207:{if(!(k&2)){m=0;x=210}else{m=1;v=p;p=27;x=246;continue c}break}case 209:{m=a[n>>0]|0;n=n+1|0;x=210;break}case 213:{m=-1;v=p;p=37;x=246;continue c}case 216:{if(t>>>0>=F>>>0){m=2;v=p;p=53;x=246;continue c}a[t>>0]=a[h+(u-r&E)>>0]|0;u=u+1|0;t=t+1|0;x=215;break}case 229:{m=v&7;p=0;s=v-m|0;m=q>>>m;x=230;break}case 234:{if(!(k&2)){v=0;m=q;x=237}else{m=1;v=p;p=41;x=246;continue c}break}case 236:{v=a[n>>0]|0;n=n+1|0;x=237;break}case 240:if(!(k&2)){v=0;m=q;x=244;continue c}else{m=1;v=p;p=42;x=246;continue c}case 244:{J=e+16|0;c[J>>2]=c[J>>2]<<8|v;p=p+1|0;x=230;break}case 245:{m=0;v=p;p=34;x=246;continue c}case 246:{c[e>>2]=p;p=v;x=247;continue c}case 247:{c[M>>2]=s;c[N>>2]=q;c[O>>2]=r;c[P>>2]=p;c[Q>>2]=o;c[R>>2]=u;c[g>>2]=n-f;p=t-L|0;c[j>>2]=p;if((k&9|0)!=0&(m|0)>-1)break c;else break a}}switch(x|0){case 21:{q=(m&255)<<s|q;s=s+8|0;if(s>>>0<3)x=17;else x=22;break}case 35:{q=(v&255)<<m|q;s=m+8|0;if(m>>>0>4294967287)x=31;else x=36;break}case 52:{q=(m&255)<<s|q;m=s+8|0;if(s>>>0>4294967287){s=m;x=48}else{s=m;x=53}break}case 70:{q=(m&255)<<s|q;s=s+8|0;m=a[10968+p>>0]|0;if(s>>>0<m<<24>>24>>>0)x=66;else x=71;break}case 79:{q=(m&255)<<s|q;s=s+8|0;if(s>>>0<3)x=75;else x=80;break}case 120:{q=(m&255)<<s|q;s=s+8|0;if(s>>>0<15)x=111;else{w=n;v=s;x=122}break}case 134:{q=(m&255)<<s|q;s=s+8|0;if(s>>>0<o>>>0)x=130;else{v=o;x=135}break}case 157:{q=(m&255)<<s|q;s=s+8|0;if(s>>>0<15)x=148;else{w=n;v=s;x=159}break}case 186:{q=(m&255)<<s|q;s=s+8|0;if(s>>>0<o>>>0)x=182;else x=187;break}case 199:{q=(m&255)<<s|q;s=s+8|0;if(s>>>0<15)x=190;else{v=n;r=s;x=201}break}case 210:{q=(m&255)<<s|q;s=s+8|0;if(s>>>0<o>>>0)x=206;else{m=o;x=211}break}case 230:{if(p>>>0>=4){q=m;x=245;continue c}if(s|0)if(s>>>0<8){x=233;break}else{x=238;break}if(n>>>0>=K>>>0){s=0;q=m;x=240;continue c}v=d[n>>0]|0;n=n+1|0;s=0;x=244;continue c}case 237:{m=(v&255)<<s|m;q=s+8|0;if(s>>>0>4294967287){s=q;x=233}else{s=q;x=238}break}}d:do if((x|0)==17)if(n>>>0<K>>>0){x=20;continue c}else{x=18;continue c}else if((x|0)==22){D=q&7;c[e+20>>2]=D;q=q>>>3;s=s+-3|0;D=D>>>1;m=e+24|0;c[m>>2]=D;switch(D&3){case 0:{v=s;x=27;continue c}case 3:{x=62;continue c}case 1:break;default:{p=0;x=64;break d}}c[e+44>>2]=288;c[e+48>>2]=32;v=e+3552|0;c[v>>2]=84215045;c[v+4>>2]=84215045;c[v+8>>2]=84215045;c[v+12>>2]=84215045;c[v+16>>2]=84215045;c[v+20>>2]=84215045;c[v+24>>2]=84215045;c[v+28>>2]=84215045;Ix(e+64|0,8,144)|0;v=e+208|0;w=v+112|0;do{a[v>>0]=9;v=v+1|0}while((v|0)<(w|0));v=e+320|0;w=v+24|0;do{a[v>>0]=7;v=v+1|0}while((v|0)<(w|0));D=e+344|0;x=D;a[x>>0]=8;a[x+1>>0]=8;a[x+2>>0]=8;a[x+3>>0]=8;D=D+4|0;a[D>>0]=8;a[D+1>>0]=8;a[D+2>>0]=8;a[D+3>>0]=8;D=m;x=82}else if((x|0)==233)if(n>>>0<K>>>0){x=236;continue c}else{q=m;x=234;continue c}else if((x|0)==238){v=m&255;s=s+-8|0;m=m>>>8;x=244;continue c}while(0);e:while(1){f:switch(x|0){case 28:{if(p>>>0>=4){p=d[e+10529>>0]<<8|d[e+10528>>0];if((p|0)==((d[e+10531>>0]<<8|d[e+10530>>0])^65535|0)){x=46;continue e}else{x=45;continue c}}if(s|0)if(s>>>0<8){x=31;continue e}else{x=36;continue e}if(n>>>0>=K>>>0){s=0;x=38;continue c}a[e+10528+p>>0]=a[n>>0]|0;n=n+1|0;s=0;x=43;continue e}case 31:if(n>>>0<K>>>0){x=34;continue c}else{x=32;continue c}case 36:{a[e+10528+p>>0]=q;s=s+-8|0;q=q>>>8;x=43;continue e}case 43:{p=p+1|0;x=28;continue e}case 46:{if(!((p|0)!=0&(s|0)!=0)){x=56;continue e}if(s>>>0<8){x=48;continue e}else{x=53;continue e}}case 48:if(n>>>0<K>>>0){x=51;continue c}else{x=49;continue c}case 53:{r=q&255;s=s+-8|0;q=q>>>8;x=54;continue c}case 56:if(!p){p=0;x=223;break e}else{x=57;continue c}case 64:if(p>>>0<3){m=a[10968+p>>0]|0;if(s>>>0<m<<24>>24>>>0){x=66;continue e}else{x=71;continue e}}else{Ix(e+7040|0,0,288)|0;p=0;x=73;break}case 66:if(n>>>0<K>>>0){x=69;continue c}else{x=67;continue c}case 71:{D=m<<24>>24;c[e+44+(p<<2)>>2]=((1<<D)+-1&q)+(c[2608+(p<<2)>>2]|0);p=p+1|0;s=s-D|0;q=q>>>D;x=64;continue e}case 75:if(n>>>0<K>>>0){x=78;continue c}else{x=76;continue c}case 80:{a[(d[11303+p>>0]|0)+(e+7040)>>0]=q&7;p=p+1|0;s=s+-3|0;q=q>>>3;x=73;break}case 82:{C=c[D>>2]|0;if((C|0)>-1){v=J;w=v+64|0;do{c[v>>2]=0;v=v+4|0}while((v|0)<(w|0));Ix(e+64+(C*3488|0)+288|0,0,3200)|0;m=c[D>>2]|0;w=c[e+44+(m<<2)>>2]|0;y=(w|0)==0;if(!y){v=0;do{B=J+(d[e+64+(C*3488|0)+v>>0]<<2)|0;c[B>>2]=(c[B>>2]|0)+1;v=v+1|0}while(v>>>0<w>>>0)}c[I+4>>2]=0;c[I>>2]=0;v=0;w=1;x=0;do{B=c[J+(w<<2)>>2]|0;v=B+v|0;x=B+x<<1;w=w+1|0;c[I+(w<<2)>>2]=x}while((w|0)!=16);if((x|0)!=65536&v>>>0>1){x=89;continue c}if(!y){B=0;v=-1;do{z=a[e+64+(C*3488|0)+B>>0]|0;A=z&255;g:do if(z<<24>>24){x=I+(A<<2)|0;w=c[x>>2]|0;c[x>>2]=w+1;x=A;y=0;while(1){m=w&1|y<<1;x=x+-1|0;if(!x)break;else{w=w>>>1;y=m}}if((z&255)<11){x=(A<<9|B)&65535;if(m>>>0>=1024)break;w=1<<A;while(1){b[e+64+(C*3488|0)+288+(m<<1)>>1]=x;m=m+w|0;if(m>>>0>=1024)break g}}m=e+64+(C*3488|0)+288+((m&1023)<<1)|0;w=b[m>>1]|0;if(!(w<<16>>16)){b[m>>1]=v;m=v;v=v+-2|0}else m=w<<16>>16;w=y>>>9;m=(w&1)-m+-1|0;if((z&255)>11){y=A;x=w&4194303;do{m=e+64+(C*3488|0)+2336+(m<<1)|0;w=b[m>>1]|0;if(!(w<<16>>16)){b[m>>1]=v;m=v;v=v+-2|0}else m=w<<16>>16;y=y+-1|0;x=x>>>1;m=(x&1)-m+-1|0}while(y>>>0>11)}b[e+64+(C*3488|0)+2336+(m<<1)>>1]=B}while(0);B=B+1|0;m=c[D>>2]|0}while(B>>>0<(c[e+44+(m<<2)>>2]|0)>>>0)}if((m|0)==2){p=0;x=108}else{v=D;x=141}}else x=142;break}case 111:{D=b[e+7328+((q&1023)<<1)>>1]|0;m=D<<16>>16;if(D<<16>>16>-1)if(((m>>9)+-1|0)>>>0<s>>>0){w=n;v=s;x=122;continue e}else{x=116;break e}if(s>>>0>10)v=10;else{x=116;break e}while(1){m=b[e+9376+((q>>>v&1)+~m<<1)>>1]|0;if(m<<16>>16>=0){w=n;v=s;x=122;continue e}if(s>>>0<(v+2|0)>>>0){x=116;break e}else{v=v+1|0;m=m<<16>>16}}}case 122:{D=b[e+7328+((q&1023)<<1)>>1]|0;r=D<<16>>16;if(D<<16>>16>-1){m=r>>9;r=r&511}else{n=10;while(1){m=n+1|0;D=b[e+9376+((q>>>n&1)+~r<<1)>>1]|0;r=D<<16>>16;if(D<<16>>16<0)n=m;else break}}q=q>>>m;s=v-m|0;if(r>>>0<16){a[e+10532+p>>0]=r;p=p+1|0;n=w;x=108;break}if(!((p|0)!=0|(r|0)!=16)){r=16;p=0;n=w;x=128;continue c}o=a[10972+(r+-16)>>0]|0;if(s>>>0<o>>>0){n=w;x=130;continue e}else{n=w;v=o;x=135;continue e}}case 130:if(n>>>0<K>>>0){x=133;continue c}else{x=131;continue c}case 135:{o=(a[10976+(r+-16)>>0]|0)+((1<<v)+-1&q)|0;if((r|0)==16)m=d[p+-1+(e+10532)>>0]|0;else m=0;Ix(e+10532+p|0,m&255|0,o|0)|0;p=o+p|0;s=s-v|0;o=v;q=q>>>v;x=108;break}case 143:{y=K;m=y-n|0;v=s>>>0<15;h:do if((m|0)>=4){z=F;while(1){if((z-t|0)<2)break h;if(v){x=n+2|0;v=s+16|0;q=(d[n+1>>0]<<8|d[n>>0])<<s|q}else{x=n;v=s}D=b[e+352+((q&1023)<<1)>>1]|0;p=D<<16>>16;if(D<<16>>16>-1)m=p>>9;else{n=10;while(1){m=n+1|0;D=b[e+2400+((q>>>n&1)+~p<<1)>>1]|0;p=D<<16>>16;if(D<<16>>16<0)n=m;else break}}q=q>>>m;s=v-m|0;if(p&256|0){n=x;x=179;break f}if(s>>>0<15){n=x+2|0;w=s+16|0;q=(d[x+1>>0]<<8|d[x>>0])<<s|q}else{n=x;w=s}D=b[e+352+((q&1023)<<1)>>1]|0;m=D<<16>>16;if(D<<16>>16>-1)s=m>>9;else{v=10;while(1){s=v+1|0;D=b[e+2400+((q>>>v&1)+~m<<1)>>1]|0;m=D<<16>>16;if(D<<16>>16<0)v=s;else break}}q=q>>>s;s=w-s|0;a[t>>0]=p;if(m&256|0)break;a[t+1>>0]=m;t=t+2|0;m=y-n|0;v=s>>>0<15;if((m|0)<4)break h}t=t+1|0;p=m;x=179;break f}while(0);if(!v){w=n;v=s;x=159;continue e}if((m|0)<2){x=148;continue e}w=n+2|0;v=s+16|0;q=d[n>>0]<<s|q|d[n+1>>0]<<s+8;x=159;continue e}case 148:{D=b[e+352+((q&1023)<<1)>>1]|0;m=D<<16>>16;if(D<<16>>16>-1)if(((m>>9)+-1|0)>>>0<s>>>0){w=n;v=s;x=159;continue e}else{x=153;break e}if(s>>>0>10)v=10;else{x=153;break e}while(1){m=b[e+2400+((q>>>v&1)+~m<<1)>>1]|0;if(m<<16>>16>=0){w=n;v=s;x=159;continue e}if(s>>>0<(v+2|0)>>>0){x=153;break e}else{v=v+1|0;m=m<<16>>16}}}case 159:{D=b[e+352+((q&1023)<<1)>>1]|0;p=D<<16>>16;if(D<<16>>16>-1){m=p>>9;p=p&511}else{n=10;while(1){m=n+1|0;D=b[e+2400+((q>>>n&1)+~p<<1)>>1]|0;p=D<<16>>16;if(D<<16>>16<0)n=m;else break}}q=q>>>m;s=v-m|0;if(p>>>0>255){n=w;x=179}else{n=w;x=163;continue c}break}case 182:if(n>>>0<K>>>0){x=185;continue c}else{x=183;continue c}case 187:{p=((1<<o)+-1&q)+p|0;m=o;s=s-o|0;q=q>>>o;x=188;break}case 190:{D=b[e+3840+((q&1023)<<1)>>1]|0;m=D<<16>>16;if(D<<16>>16>-1)if(((m>>9)+-1|0)>>>0<s>>>0){v=n;r=s;x=201;continue e}else{x=195;break e}if(s>>>0>10)v=10;else{x=195;break e}while(1){m=b[e+5888+((q>>>v&1)+~m<<1)>>1]|0;if(m<<16>>16>=0){v=n;r=s;x=201;continue e}if(s>>>0<(v+2|0)>>>0){x=195;break e}else{v=v+1|0;m=m<<16>>16}}}case 201:{D=b[e+3840+((q&1023)<<1)>>1]|0;m=D<<16>>16;if(D<<16>>16>-1){n=m>>9;m=m&511}else{o=10;while(1){n=o+1|0;D=b[e+5888+((q>>>o&1)+~m<<1)>>1]|0;m=D<<16>>16;if(D<<16>>16<0)o=n;else break}}q=q>>>n;s=r-n|0;o=c[2480+(m<<2)>>2]|0;r=c[2352+(m<<2)>>2]|0;if((m+-4|0)>>>0<26)if(s>>>0<o>>>0){n=v;x=206;continue e}else{m=o;n=v;x=211;continue e}else{n=v;x=212}break}case 206:if(n>>>0<K>>>0){x=209;continue c}else{x=207;continue c}case 211:{r=((1<<m)+-1&q)+r|0;o=m;s=s-m|0;q=q>>>m;x=212;break}case 215:{m=p+-1|0;if(!p){p=m;x=142}else{p=m;x=216;continue c}break}}do if((x|0)==73){m=e+52|0;if(p>>>0<(c[m>>2]|0)>>>0)if(s>>>0<3){x=75;continue e}else{x=80;continue e}else{c[m>>2]=19;D=e+24|0;x=82;continue e}}else if((x|0)==108){m=c[e+44>>2]|0;v=c[e+48>>2]|0;w=v+m|0;if(p>>>0>=w>>>0){if((w|0)!=(p|0)){x=139;continue c}Ox(e+64|0,e+10532|0,m|0)|0;Ox(e+3552|0,e+10532+m|0,v|0)|0;m=e+24|0;v=m;m=c[m>>2]|0;x=141;break}if(s>>>0>=15){w=n;v=s;x=122;continue e}if((K-n|0)<2){x=111;continue e}w=n+2|0;v=s+16|0;q=d[n>>0]<<s|q|d[n+1>>0]<<s+8;x=122;continue e}else if((x|0)==179){m=p&511;if((m|0)==256){p=256;x=223;break e}p=m+-257|0;o=c[2228+(p<<2)>>2]|0;p=c[2104+(p<<2)>>2]|0;if((m+-265|0)>>>0<20)if(s>>>0<o>>>0){x=182;continue e}else{x=187;continue e}else{m=o;x=188}}else if((x|0)==212){u=t-H|0;if(!(u>>>0>=r>>>0|G^1)){x=213;continue c}m=h+(u-r&E)|0;if(((t>>>0>m>>>0?t:m)+p|0)>>>0>F>>>0){x=215;continue e}while(1){a[t>>0]=a[m>>0]|0;a[t+1>>0]=a[m+1>>0]|0;a[t+2>>0]=a[m+2>>0]|0;w=t+3|0;v=m+3|0;p=p+-3|0;if((p|0)<=2)break;else{m=v;t=w}}if((p|0)>0){a[w>>0]=a[v>>0]|0;if((p|0)!=1)a[t+4>>0]=a[m+4>>0]|0;t=w+p|0;x=142}else{t=w;x=142}}while(0);if((x|0)==141){c[v>>2]=m+-1;D=v;x=82;continue}else if((x|0)==142){x=143;continue}else if((x|0)==188){if(s>>>0>=15){v=n;r=s;x=201;continue}if((K-n|0)<2){o=m;x=190;continue}v=n+2|0;r=s+16|0;q=d[n>>0]<<s|q|d[n+1>>0]<<s+8;x=201;continue}}if((x|0)==116)if(n>>>0<K>>>0){x=119;continue}else{x=117;continue}else if((x|0)==153)if(n>>>0<K>>>0){x=156;continue}else{x=154;continue}else if((x|0)==195)if(n>>>0<K>>>0){x=198;continue}else{x=196;continue}else if((x|0)==223){if(!(c[e+20>>2]&1)){x=16;continue}if(!(k&1)){x=245;continue}else{v=s;x=229;continue}}}v=e+28|0;o=c[v>>2]|0;n=o&65535;o=o>>>16;if(p){u=(p>>>0)%5552|0;t=p;while(1){if(u>>>0>7){r=u+-8&-8;s=i+8|0;p=0;while(1){M=(d[i>>0]|0)+n|0;N=M+(d[i+1>>0]|0)|0;O=N+(d[i+2>>0]|0)|0;P=O+(d[i+3>>0]|0)|0;Q=P+(d[i+4>>0]|0)|0;R=Q+(d[i+5>>0]|0)|0;j=R+(d[i+6>>0]|0)|0;n=j+(d[i+7>>0]|0)|0;o=M+o+N+O+P+Q+R+j+n|0;p=p+8|0;if((p|7)>>>0>=u>>>0)break;else i=i+8|0}q=r+8|0;i=s+r|0}else q=0;if(u>>>0>q>>>0){r=u-q|0;p=i;while(1){n=(d[p>>0]|0)+n|0;o=n+o|0;q=q+1|0;if((q|0)==(u|0))break;else p=p+1|0}i=i+r|0}n=(n>>>0)%65521|0;o=(o>>>0)%65521|0;t=t-u|0;if(!t)break;else u=5552}}n=o<<16|n;c[v>>2]=n;if(!((k&1|0)==0|(m|0)!=0)){l=S;return ((n|0)==(c[e+16>>2]|0)?0:-2)|0}}else{c[j>>2]=0;c[g>>2]=0;m=-3}while(0);l=S;return m|0}function Yc(a){a=a|0;var b=0,d=0;if(a){b=a+28|0;d=c[b>>2]|0;if(!d)a=0;else{xc[c[a+36>>2]&63](c[a+40>>2]|0,d);c[b>>2]=0;a=0}}else a=-2;return a|0}function Zc(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;i=l;l=l+64|0;h=i;f=h+8|0;g=f+48|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[h>>2]=d;f=h+4|0;c[f>>2]=e;c[h+12>>2]=a;c[h+16>>2]=c[b>>2];d=Vc(h)|0;do if(!d){d=Wc(h,4)|0;if((d|0)==1){c[b>>2]=c[h+20>>2];d=Yc(h)|0;break}else{Yc(h)|0;d=(d|0)==-5&(c[f>>2]|0)==0?-3:d;break}}while(0);l=i;return d|0}function _c(a){a=a|0;if(a|0)Ix(a|0,0,67188)|0;return}function $c(a){a=a|0;if(a|0){c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0}return}function ad(a){a=a|0;var b=0,d=0,e=0,f=0;if(a){b=c[a+67168>>2]|0;if(b|0)Zj(b);b=c[a+67172>>2]|0;if(b|0)Zj(b);b=c[a+67184>>2]|0;if(b|0)Zj(b);f=a+92|0;b=c[f>>2]|0;if((b|0)>0){e=0;do{d=c[a+96+(e*524|0)+512>>2]|0;if(d){Zj(d);b=c[f>>2]|0}e=e+1|0}while((e|0)<(b|0));b=0}else b=0}else b=-3;return b|0}function bd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:do if(a){j=a+16|0;e=c[j>>2]|0;h=a+4|0;b=c[h>>2]|0;d=(b|0)!=0;if((e|0)>0){f=0;do{if(d?(g=c[b+(f<<2)>>2]|0,(g|0)!=0):0){Zj(g);e=c[j>>2]|0;b=c[h>>2]|0}f=f+1|0;d=(b|0)!=0}while((f|0)<(e|0))}if(d)Zj(b);d=c[a>>2]|0;if((d|0)!=0?(i=a+20|0,(c[i>>2]|0)>0):0){b=0;while(1){g=c[j>>2]|0;f=c[d+(b*28|0)+24>>2]|0;e=(f|0)!=0;if((g|0)>0){h=0;do{if(e?(k=c[f+(h<<2)>>2]|0,(k|0)!=0):0){Zj(k);g=c[j>>2]|0;d=c[a>>2]|0}h=h+1|0;f=c[d+(b*28|0)+24>>2]|0;e=(f|0)!=0}while((h|0)<(g|0));d=f}else d=f;if(e)Zj(d);b=b+1|0;if((b|0)>=(c[i>>2]|0)){b=0;break a}d=c[a>>2]|0}}else b=0}else b=-3;while(0);return b|0}function cd(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+128|0;i=k+16|0;j=k;if((b|0)==0|(e|0)==0)if(!g)e=-3;else{c[g>>2]=10996;e=-3}else if(f>>>0<8)e=-4;else{dd(i);ed(i);c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;e=fd(i,0,d,j,e+8|0,f+-8|0)|0;if((g|0)!=0&(e|0)!=0?(f=a[j+11>>0]|0,h=f<<24>>24<0,(h?c[j+4>>2]|0:f&255)|0):0)c[g>>2]=rk(h?c[j>>2]|0:j)|0;gd(b,i);c[b+56>>2]=c[d+4>>2];mw(j);hd(i)}l=k;return e|0}function dd(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function ed(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;e=a+4|0;b=c[e>>2]|0;if((b|0)!=(d|0))do{f=b+-28|0;c[e>>2]=f;qd(f);b=c[e>>2]|0}while((b|0)!=(d|0));b=c[a+12>>2]|0;d=a+16|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~(((0-b+(e+-524)|0)>>>0)/524|0)*524|0);b=a+24|0;d=b+80|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));return}function fd(b,e,f,h,i,j){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,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;ha=l;l=l+704|0;ea=ha+688|0;fa=ha+544|0;ca=ha+528|0;da=ha+524|0;ba=ha;k=(e|0)!=0;if(k)a[e>>0]=0;if((j|0)!=0&(c[f+16>>2]|0)!=0?(a[i>>0]|0)==0:0)if(k){a[e>>0]=1;e=0}else e=0;else ga=7;a:do if((ga|0)==7){R=b+24|0;S=b+28|0;T=b+32|0;U=b+36|0;V=b+40|0;W=b+44|0;X=b+48|0;Y=b+52|0;Z=b+56|0;_=b+60|0;$=b+64|0;aa=b+68|0;e=R;k=e+44|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(k|0));g[aa>>2]=-1.0;K=b+72|0;g[K>>2]=-1.0;L=b+80|0;M=b+84|0;N=b+88|0;O=b+92|0;P=b+12|0;c[L>>2]=-1;c[L+4>>2]=-1;c[L+8>>2]=-1;c[L+12>>2]=-1;e=c[P>>2]|0;Q=b+16|0;k=c[Q>>2]|0;if((k|0)!=(e|0))c[Q>>2]=k+(~(((0-e+(k+-524)|0)>>>0)/524|0)*524|0);H=ca+4|0;I=ca+8|0;v=f+4|0;J=(h|0)==0;w=b+100|0;x=b+4|0;y=b+76|0;z=ea+11|0;A=ba+256|0;B=fa+11|0;C=ba+255|0;D=ba+511|0;E=ba+516|0;F=ba+512|0;G=b+20|0;e=0;t=j;m=0;n=0;o=0;p=0;q=0;r=0;u=0;s=0;k=i;b:while(1){if(!t){e=-4;break a}if(!(a[k>>0]|0))break;c[ea>>2]=0;c[ea+4>>2]=0;c[ea+8>>2]=0;c[fa>>2]=0;c[fa+4>>2]=0;c[fa+8>>2]=0;c[ca>>2]=0;c[H>>2]=0;c[I>>2]=0;do if(wd(ea,fa,ca,da,k,t)|0){f=c[da>>2]|0;i=k+f|0;f=t-f|0;if(c[v>>2]|0?(zw(ea,11322)|0)==0:0){if(((c[H>>2]|0)-(c[ca>>2]|0)|0)!=9){ga=17;break b}ia=md(ca,0)|0;ia=d[ia>>0]|d[ia+1>>0]<<8|d[ia+2>>0]<<16|d[ia+3>>0]<<24;k=md(ca,4)|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;t=a[(c[ca>>2]|0)+8>>0]|0;c[L>>2]=ia;c[M>>2]=k;t=t&255;c[N>>2]=t&3;c[O>>2]=t>>>4&1;t=1;k=i;i=u;break}if(!(zw(ea,11143)|0)){k=a[c[ca>>2]>>0]|0;if(k<<24>>24==-128){if(J){t=0;k=i;e=-7;i=u;break}sw(h,11360)|0;t=0;k=i;e=-7;i=u;break}if((k&255)<5){c[w>>2]=k&255;t=1;k=i;i=1;break}if(J){t=0;k=i;e=-7;i=u;break}sw(h,11394)|0;t=0;k=i;e=-7;i=u;break}if(!(zw(ea,11134)|0)){xd(b,ca);if((c[x>>2]|0)!=(c[b>>2]|0)){t=1;k=i;s=1;i=u;break}if(J){t=0;k=i;e=-4;i=u;break}sw(h,11420)|0;t=0;k=i;e=-4;i=u;break}if(!(zw(ea,11155)|0)){t=md(ca,0)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[R>>0]=t;a[R+1>>0]=t>>8;a[R+2>>0]=t>>16;a[R+3>>0]=t>>24;t=md(ca,4)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[S>>0]=t;a[S+1>>0]=t>>8;a[S+2>>0]=t>>16;a[S+3>>0]=t>>24;t=md(ca,8)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[T>>0]=t;a[T+1>>0]=t>>8;a[T+2>>0]=t>>16;a[T+3>>0]=t>>24;t=md(ca,12)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[U>>0]=t;a[U+1>>0]=t>>8;a[U+2>>0]=t>>16;a[U+3>>0]=t>>24;t=1;k=i;r=1;i=u;break}if(!(zw(ea,11166)|0)){t=md(ca,0)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[W>>0]=t;a[W+1>>0]=t>>8;a[W+2>>0]=t>>16;a[W+3>>0]=t>>24;t=md(ca,4)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[X>>0]=t;a[X+1>>0]=t>>8;a[X+2>>0]=t>>16;a[X+3>>0]=t>>24;t=md(ca,8)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[Y>>0]=t;a[Y+1>>0]=t>>8;a[Y+2>>0]=t>>16;a[Y+3>>0]=t>>24;t=md(ca,12)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[Z>>0]=t;a[Z+1>>0]=t>>8;a[Z+2>>0]=t>>16;a[Z+3>>0]=t>>24;t=1;k=i;q=1;i=u;break}if(!(zw(ea,11180)|0)){c[V>>2]=d[c[ca>>2]>>0];t=1;k=i;p=1;i=u;break}if(!(zw(ea,11190)|0)){t=md(ca,0)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[K>>0]=t;a[K+1>>0]=t>>8;a[K+2>>0]=t>>16;a[K+3>>0]=t>>24;t=1;k=i;o=1;i=u;break}if(!(zw(ea,11207)|0)){t=md(ca,0)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[_>>0]=t;a[_+1>>0]=t>>8;a[_+2>>0]=t>>16;a[_+3>>0]=t>>24;t=md(ca,4)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[$>>0]=t;a[$+1>>0]=t>>8;a[$+2>>0]=t>>16;a[$+3>>0]=t>>24;t=1;k=i;n=1;i=u;break}if(!(zw(ea,11226)|0)){t=md(ca,0)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[aa>>0]=t;a[aa+1>>0]=t>>8;a[aa+2>>0]=t>>16;a[aa+3>>0]=t>>24;t=1;k=i;m=1;i=u;break}if(!(zw(ea,11443)|0)){t=md(ca,0)|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;a[y>>0]=t;a[y+1>>0]=t>>8;a[y+2>>0]=t>>16;a[y+3>>0]=t>>24;t=1;k=i;i=u;break}if((((c[Q>>2]|0)-(c[P>>2]|0)|0)/524|0)>>>0<128){hm(ba,(a[z>>0]|0)<0?c[ea>>2]|0:ea,255)|0;hm(A,(a[B>>0]|0)<0?c[fa>>2]|0:fa,255)|0;a[C>>0]=0;a[D>>0]=0;ia=(c[H>>2]|0)-(c[ca>>2]|0)|0;c[E>>2]=ia;ia=Yj(ia)|0;c[F>>2]=ia;k=md(ca,0)|0;Ox(ia|0,k|0,(c[H>>2]|0)-(c[ca>>2]|0)|0)|0;k=c[Q>>2]|0;if((k|0)==(c[G>>2]|0))Rd(P,ba);else{Ox(k|0,ba|0,524)|0;c[Q>>2]=(c[Q>>2]|0)+524}t=1;k=i;i=u}else{t=1;k=i;i=u}}else{f=t;t=0;e=-4;i=u}while(0);nd(ca);mw(fa);mw(ea);if(t){t=f;u=i}else break a}if((ga|0)==17)wa(11328,10980,10104,11345);ga=fa+64|0;ia=fa+8|0;c[ia>>2]=2652;e=fa+12|0;c[fa>>2]=140;c[ga>>2]=160;c[fa+4>>2]=0;en(fa+64|0,e);c[fa+136>>2]=0;c[fa+140>>2]=$d()|0;c[fa>>2]=2632;c[ga>>2]=2672;c[ia>>2]=2652;hn(e);c[e>>2]=2728;ia=fa+44|0;c[ia>>2]=0;c[ia+4>>2]=0;c[ia+8>>2]=0;c[ia+12>>2]=0;c[fa+60>>2]=24;c[ea>>2]=0;c[ea+4>>2]=0;c[ea+8>>2]=0;ae(e,ea);mw(ea);if(!u){ia=Pd(fa+8|0,11454)|0;fn(ea,ia+(c[(c[ia>>2]|0)+-12>>2]|0)|0);ga=On(ea,21672)|0;ga=Ic[c[(c[ga>>2]|0)+28>>2]&31](ga,10)|0;Pn(ea);mn(ia,ga)|0;jn(ia)|0}if(!s){ia=Pd(fa+8|0,11503)|0;fn(ea,ia+(c[(c[ia>>2]|0)+-12>>2]|0)|0);ga=On(ea,21672)|0;ga=Ic[c[(c[ga>>2]|0)+28>>2]&31](ga,10)|0;Pn(ea);mn(ia,ga)|0;jn(ia)|0}if(!p){ia=Pd(fa+8|0,11549)|0;fn(ea,ia+(c[(c[ia>>2]|0)+-12>>2]|0)|0);ga=On(ea,21672)|0;ga=Ic[c[(c[ga>>2]|0)+28>>2]&31](ga,10)|0;Pn(ea);mn(ia,ga)|0;jn(ia)|0}if(!q){ia=Pd(fa+8|0,11596)|0;fn(ea,ia+(c[(c[ia>>2]|0)+-12>>2]|0)|0);ga=On(ea,21672)|0;ga=Ic[c[(c[ga>>2]|0)+28>>2]&31](ga,10)|0;Pn(ea);mn(ia,ga)|0;jn(ia)|0}if(!r){ia=Pd(fa+8|0,11647)|0;fn(ea,ia+(c[(c[ia>>2]|0)+-12>>2]|0)|0);ga=On(ea,21672)|0;ga=Ic[c[(c[ga>>2]|0)+28>>2]&31](ga,10)|0;Pn(ea);mn(ia,ga)|0;jn(ia)|0}if(!o){ia=Pd(fa+8|0,11695)|0;fn(ea,ia+(c[(c[ia>>2]|0)+-12>>2]|0)|0);ga=On(ea,21672)|0;ga=Ic[c[(c[ga>>2]|0)+28>>2]&31](ga,10)|0;Pn(ea);mn(ia,ga)|0;jn(ia)|0}if(!m){ia=Pd(fa+8|0,11749)|0;fn(ea,ia+(c[(c[ia>>2]|0)+-12>>2]|0)|0);ga=On(ea,21672)|0;ga=Ic[c[(c[ga>>2]|0)+28>>2]&31](ga,10)|0;Pn(ea);mn(ia,ga)|0;jn(ia)|0}if(!n){ia=Pd(fa+8|0,11804)|0;fn(ea,ia+(c[(c[ia>>2]|0)+-12>>2]|0)|0);ga=On(ea,21672)|0;ga=Ic[c[(c[ga>>2]|0)+28>>2]&31](ga,10)|0;Pn(ea);mn(ia,ga)|0;jn(ia)|0}se(ea,e);ia=a[ea+11>>0]|0;ia=((ia<<24>>24<0?c[ea+4>>2]|0:ia&255)|0)==0;mw(ea);if(ia){Qd(fa);c[b+96>>2]=j+1-t;e=0;break}if(!J){se(ea,e);ia=a[ea+11>>0]|0;ga=ia<<24>>24<0;ww(h,ga?c[ea>>2]|0:ea,ga?c[ea+4>>2]|0:ia&255)|0;mw(ea)}Qd(fa);e=-8}while(0);l=ha;return e|0}function gd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;c[b>>2]=c[d+72>>2];c[b+40>>2]=c[d+60>>2];c[b+44>>2]=c[d+64>>2];c[b+48>>2]=c[d+68>>2];c[b+52>>2]=c[d+76>>2];c[b+24>>2]=c[d+44>>2];c[b+28>>2]=c[d+48>>2];c[b+32>>2]=c[d+52>>2];c[b+36>>2]=c[d+56>>2];c[b+8>>2]=c[d+24>>2];c[b+12>>2]=c[d+28>>2];c[b+16>>2]=c[d+32>>2];c[b+20>>2]=c[d+36>>2];c[b+4>>2]=c[d+40>>2];c[b+67180>>2]=c[d+100>>2];c[b+60>>2]=c[d+80>>2];c[b+64>>2]=c[d+84>>2];c[b+68>>2]=c[d+88>>2];c[b+72>>2]=c[d+92>>2];g=c[d>>2]|0;h=(c[d+4>>2]|0)-g|0;e=(h|0)/28|0;j=b+67176|0;c[j>>2]=e;f=Yj(e*272|0)|0;i=b+67168|0;c[i>>2]=f;if(!h)i=g;else{h=0;e=g;while(1){e=e+(h*28|0)|0;if((a[e+11>>0]|0)<0)e=c[e>>2]|0;hm(f+(h*272|0)|0,e,255)|0;a[(c[i>>2]|0)+(h*272|0)+255>>0]=0;g=c[d>>2]|0;f=c[i>>2]|0;c[f+(h*272|0)+256>>2]=c[g+(h*28|0)+12>>2];a[f+(h*272|0)+268>>0]=a[g+(h*28|0)+24>>0]|0;c[f+(h*272|0)+260>>2]=c[g+(h*28|0)+16>>2];c[f+(h*272|0)+264>>2]=c[g+(h*28|0)+20>>2];h=h+1|0;e=c[j>>2]|0;if(h>>>0>=e>>>0){i=g;break}else e=g}}f=Yj(e<<2)|0;c[b+67172>>2]=f;if(e){h=c[j>>2]|0;e=0;do{c[f+(e<<2)>>2]=c[i+(e*28|0)+12>>2];e=e+1|0}while(e>>>0<h>>>0);g=Yj(h<<2)|0;c[b+67184>>2]=g;if(h|0){f=c[j>>2]|0;e=0;do{c[g+(e<<2)>>2]=c[i+(e*28|0)+12>>2];e=e+1|0}while(e>>>0<f>>>0)}}else c[b+67184>>2]=Yj(0)|0;h=d+12|0;i=d+16|0;f=c[i>>2]|0;e=c[h>>2]|0;g=(f-e|0)/524|0;if(g>>>0>=128)wa(12063,10980,10358,12111);c[b+92>>2]=g;if((f|0)!=(e|0)){f=0;do{Ox(b+96+(f*524|0)|0,e+(f*524|0)|0,256)|0;Ox(b+96+(f*524|0)+256|0,(c[h>>2]|0)+(f*524|0)+256|0,256)|0;e=c[h>>2]|0;c[b+96+(f*524|0)+516>>2]=c[e+(f*524|0)+516>>2];c[b+96+(f*524|0)+512>>2]=c[e+(f*524|0)+512>>2];f=f+1|0}while(f>>>0<(((c[i>>2]|0)-e|0)/524|0)>>>0)}c[b+88>>2]=c[d+96>>2];return}function hd(a){a=a|0;ue(a+12|0);vd(a);return}function id(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+67248|0;j=u+67216|0;s=u+67192|0;t=u;if((a|0)==0|(e|0)==0)if(!h)i=-3;else{c[h>>2]=10996;i=-3}else{_c(t);i=jd(j,e,f)|0;do if(!i){i=cd(t,j,e,f,h)|0;if(!i){o=t+67176|0;i=c[o>>2]|0;if((i|0)>0){k=c[t+67172>>2]|0;m=c[t+67184>>2]|0;j=0;do{if((c[k+(j<<2)>>2]|0)==1){c[m+(j<<2)>>2]=2;i=c[o>>2]|0}j=j+1|0}while((j|0)<(i|0))}$c(s);i=kd(s,t,e,f,h)|0;if(!i){f=c[o>>2]|0;if((f|0)>0){p=c[t+67168>>2]|0;e=0;j=-1;k=-1;m=-1;o=-1;do{i=p+(e*272|0)|0;if(pk(i,11015)|0)if(pk(i,11017)|0)if(!(pk(i,11019)|0))k=e;else{r=(pk(i,11021)|0)==0;j=r?e:j}else m=e;else o=e;e=e+1|0}while((e|0)<(f|0));if((o|0)!=-1){if((m|0)==-1){if(!h){i=-4;break}c[h>>2]=11044;i=-4;break}if((k|0)==-1){if(!h){i=-4;break}c[h>>2]=11065;i=-4;break}h=c[s+8>>2]|0;q=c[s+12>>2]|0;r=Yj(P(h<<4,q)|0)|0;c[a>>2]=r;p=P(q,h)|0;if((p|0)>0){i=c[s+4>>2]|0;f=c[i+(o<<2)>>2]|0;e=c[i+(m<<2)>>2]|0;m=c[i+(k<<2)>>2]|0;o=(j|0)==-1;j=i+(j<<2)|0;i=0;do{k=i<<2;c[r+(k<<2)>>2]=c[f+(i<<2)>>2];c[r+((k|1)<<2)>>2]=c[e+(i<<2)>>2];c[r+((k|2)<<2)>>2]=c[m+(i<<2)>>2];if(o)n=1.0;else n=+g[(c[j>>2]|0)+(i<<2)>>2];g[r+((k|3)<<2)>>2]=n;i=i+1|0}while((i|0)<(p|0))}c[b>>2]=h;c[d>>2]=q;ad(t)|0;bd(s)|0;i=0;break}}if(!h)i=-4;else{c[h>>2]=11023;i=-4}}}}while(0)}l=u;return i|0}function jd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;if(!((b|0)==0|(d|0)==0))if(e>>>0>=8)if(!(Dl(d,11246,4)|0)){f=b+4|0;g=b+8|0;h=b+12|0;i=b+16|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;if((a[d+4>>0]|0)==2){c[b>>2]=2;b=d+5|0;e=a[b>>0]|0;if(e&2){c[f>>2]=1;e=a[b>>0]|0}if(e&4){c[g>>2]=1;e=a[b>>0]|0}if(e&8){c[h>>2]=1;e=a[b>>0]|0}if(!(e&16))e=0;else{c[i>>2]=1;e=0}}else e=-2}else e=-1;else e=-4;else e=-3;return e|0}function kd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;do if((a|0)==0|(d|0)==0|e>>>0<8)if(!f)a=-3;else{c[f>>2]=11086;a=-3}else{g=c[b+88>>2]|0;if(g|0){a=od(a,b,d,d+g+8|0,e,f)|0;break}if(!f)a=-3;else{c[f>>2]=11104;a=-3}}while(0);return a|0}function ld(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Vf(a,b);ye(a,b)}return}function md(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if(((c[a+4>>2]|0)-d|0)>>>0>b>>>0)return d+b|0;else wu(a);return 0}function nd(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){a=a+4|0;if((c[a>>2]|0)!=(b|0))c[a>>2]=b;cw(b)}return}function od(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,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+16|0;o=q;if((a|0)==0|(b|0)==0|(e|0)==0|(f|0)==0|g>>>0<9)if(!h)i=-3;else{c[h>>2]=11086;i=-3}else{switch(c[b+67180>>2]|0){case 128:case 3:{i=16;break}case 4:{i=32;break}default:i=1}j=(c[b+16>>2]|0)-(c[b+8>>2]|0)+1|0;k=(c[b+20>>2]|0)-(c[b+12>>2]|0)+1|0;m=c[b+52>>2]|0;do if((m|0)<=0)if(!(c[b+56>>2]|0)){m=(k>>>0)/(i>>>0)|0;m=((P(m,i)|0)>>>0<k>>>0&1)+m|0;break}else{n=c[b+60>>2]|0;m=(j>>>0)/(n>>>0)|0;m=((P(m,n)|0)>>>0<j>>>0&1)+m|0;j=c[b+64>>2]|0;n=(k>>>0)/(j>>>0)|0;m=P(((P(n,j)|0)>>>0<k>>>0&1)+n|0,m)|0;break}while(0);rd(o,m);a:do if(m){n=c[o>>2]|0;k=0;do{j=f;i=j;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;j=j+4|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(!(j>>>0<0|(j|0)==0&i>>>0<g>>>0)){p=15;break}f=f+8|0;r=n+(k<<3)|0;c[r>>2]=i;c[r+4>>2]=j;k=k+1|0}while(k>>>0<m>>>0);if((p|0)==15){if(!h){i=-4;break}c[h>>2]=12125;i=-4;break}j=c[o>>2]|0;i=0;while(1){r=j+(i<<3)|0;i=i+1|0;if((c[r>>2]|0)==0&(c[r+4>>2]|0)==0)break;if(i>>>0>=m>>>0){p=23;break a}}if(!(ve(o,m,e,f,g)|0))if(!h)i=-4;else{c[h>>2]=12147;i=-4}else p=23}else p=23;while(0);if((p|0)==23)i=Cd(a,b,o,e)|0;ud(o)}l=q;return i|0}function pd(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function qd(a){a=a|0;mw(a);return}function rd(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Zf(a,b);_f(a,b)}return}function sd(a,b){a=a|0;b=b|0;var d=0,f=0,h=0,i=0,k=0.0;i=e[b>>1]|0;d=i<<13;f=d&268427264;b=f+939524096|0;c[a>>2]=b;h=d&260046848;a:do if((h|0)<260046848){switch(h|0){case 0:break;default:break a}k=(c[j>>2]=f+947912704,+g[j>>2])+-.00006103515625;g[a>>2]=k;b=(g[j>>2]=k,c[j>>2]|0)}else{switch(h|0){case 260046848:break;default:break a}b=d|1879048192;c[a>>2]=b}while(0);c[a>>2]=b|i<<16&-2147483648;return}function td(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;e=d;if(d|0){a=a+4|0;b=c[a>>2]|0;if((b|0)!=(d|0))c[a>>2]=b+(~((b+-4-e|0)>>>2)<<2);cw(d)}return}function ud(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;e=d;if(d|0){a=a+4|0;b=c[a>>2]|0;if((b|0)!=(d|0))c[a>>2]=b+(~((b+-8-e|0)>>>3)<<3);cw(d)}return}function vd(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;if(b|0){e=a+4|0;d=c[e>>2]|0;if((d|0)!=(b|0)){do{f=d+-28|0;c[e>>2]=f;qd(f);d=c[e>>2]|0}while((d|0)!=(b|0));b=c[a>>2]|0}cw(b)}return}function wd(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,m=0,n=0,o=0,p=0,q=0;p=l;l=l+16|0;k=p+12|0;m=p;o=Zk(h,i)|0;if((o|0)!=(i|0)){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;if(o>>>0>4294967279)jw(m);if(o>>>0<11){a[m+11>>0]=o;j=m}else{q=o+16&-16;j=aw(q)|0;c[m>>2]=j;c[m+8>>2]=q|-2147483648;c[m+4>>2]=o}Te(j,h,o)|0;a[k>>0]=0;re(j+o|0,k);j=b+11|0;if((a[j>>0]|0)<0){q=c[b>>2]|0;a[k>>0]=0;re(q,k);c[b+4>>2]=0}else{a[k>>0]=0;re(b,k);a[j>>0]=0}rw(b,0);c[b>>2]=c[m>>2];c[b+4>>2]=c[m+4>>2];c[b+8>>2]=c[m+8>>2];c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;mw(m);q=o+1|0;b=h+q|0;h=i-q|0;i=Zk(b,h)|0;if((i|0)!=(h|0)){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;if(i>>>0>4294967279)jw(m);if(i>>>0<11){a[m+11>>0]=i;j=m}else{q=i+16&-16;j=aw(q)|0;c[m>>2]=j;c[m+8>>2]=q|-2147483648;c[m+4>>2]=i}Te(j,b,i)|0;a[k>>0]=0;re(j+i|0,k);j=e+11|0;if((a[j>>0]|0)<0){q=c[e>>2]|0;a[k>>0]=0;re(q,k);c[e+4>>2]=0}else{a[k>>0]=0;re(e,k);a[j>>0]=0}rw(e,0);c[e>>2]=c[m>>2];c[e+4>>2]=c[m+4>>2];c[e+8>>2]=c[m+8>>2];c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;mw(m);j=i+1|0;b=b+j|0;j=h-j|0;if(j>>>0>=4?(n=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24,(j+-4|0)>>>0>=n>>>0):0){we(f,n);Ox(md(f,0)|0,b+4|0,n|0)|0;c[g>>2]=o+6+i+n;j=1}else j=0}else j=0}else j=0;l=p;return j|0}function xd(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+32|0;n=o;e=Ue(e,0)|0;if(a[e>>0]|0){i=n+12|0;j=n+24|0;k=n+16|0;m=n+20|0;g=b+4|0;h=b+8|0;do{pd(n);e=Ve(n,e)|0;c[i>>2]=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[j>>0]=a[e+4>>0]|0;f=e+8|0;c[k>>2]=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;f=e+12|0;c[m>>2]=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;f=c[g>>2]|0;if((f|0)==(c[h>>2]|0))Of(b,n);else{Pf(f,n);c[g>>2]=(c[g>>2]|0)+28}e=e+16|0;qd(n)}while((a[e>>0]|0)!=0)}l=o;return}function yd(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Wf(a,b);Xf(a,b)}return}function zd(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;j=l;l=l+16|0;i=j;h=c[e>>2]|0;if((h|0)==(g|0))Ox(b|0,f|0,g|0)|0;else{ld(i,h);if(Zc(md(i,0)|0,e,f,g)|0)wa(12242,10980,7377,12262);g=md(i,0)|0;h=md(i,0)|0;h=h+(c[e>>2]|0)|0;f=g+1|0;if(f>>>0<h>>>0){g=a[g>>0]|0;do{g=(g&255)+128+(d[f>>0]|0)&255;a[f>>0]=g;f=f+1|0}while((f|0)!=(h|0))}f=md(i,0)|0;h=md(i,0)|0;g=c[e>>2]|0;e=b+g|0;a:do if((g|0)>0){h=h+((g+1|0)>>>1)|0;while(1){g=b+1|0;a[b>>0]=a[f>>0]|0;if(g>>>0>=e>>>0)break a;b=b+2|0;a[g>>0]=a[h>>0]|0;if(b>>>0>=e>>>0)break;else{h=h+1|0;f=f+1|0}}}while(0);nd(i)}l=j;return}function Ad(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;e=d;if(d|0){a=a+4|0;b=c[a>>2]|0;if((b|0)!=(d|0))c[a>>2]=b+(~((b+-8-e|0)>>>3)<<3);cw(d)}return}function Bd(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;e=d;if(d|0){a=a+4|0;b=c[a>>2]|0;if((b|0)!=(d|0))c[a>>2]=b+(~((b+-4-e|0)>>>2)<<2);cw(d)}return}function Cd(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,m=0,n=0,o=0,p=0,q=0,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;D=l;l=l+32|0;A=D+8|0;j=D+4|0;h=D;B=b+67176|0;C=c[B>>2]|0;w=b+67180|0;switch(c[w>>2]|0){case 128:case 3:{r=16;break}case 4:{r=32;break}default:r=1}y=(c[b+16>>2]|0)-(c[b+8>>2]|0)+1|0;s=b+20|0;t=b+12|0;z=(c[s>>2]|0)-(c[t>>2]|0)+1|0;g=e+4|0;i=(c[g>>2]|0)-(c[e>>2]|0)|0;u=i>>3;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[j>>2]=0;c[h>>2]=0;v=b+67168|0;We(A,j,h,C,c[v>>2]|0);a:do if(!(c[b+56>>2]|0)){p=b+67184|0;q=a+4|0;c[q>>2]=Xe(C,c[v>>2]|0,c[p>>2]|0,y,z)|0;if((i|0)>0){o=b+4|0;n=c[j>>2]|0;m=0;h=0;while(1){i=f+(c[(c[e>>2]|0)+(m<<3)>>2]|0)|0;g=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;j=i+4|0;k=g+r|0;E=(c[s>>2]|0)+1|0;k=((E|0)<(k|0)?E:k)-g|0;if((k|0)<=0){g=17;break}g=g-(c[t>>2]|0)|0;if((g|0)<0)h=1;else Ze(c[q>>2]|0,c[p>>2]|0,i+8|0,d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24,c[w>>2]|0,c[o>>2]|0,y,z,y,m,g,k,n,c[B>>2]|0,c[v>>2]|0,A);m=m+1|0;if((m|0)>=(u|0)){g=21;break}}if((g|0)==17)wa(12352,10980,10486,12301);else if((g|0)==21)if(h){x=-4;break}else{g=22;break}}else g=22}else{q=(c[g>>2]|0)-(c[e>>2]|0)>>3;c[a>>2]=Yj(q*28|0)|0;if(q){r=b+67184|0;s=b+4|0;t=b+60|0;u=b+64|0;j=c[j>>2]|0;k=a+20|0;g=0;while(1){m=Xe(C,c[v>>2]|0,c[r>>2]|0,y,z)|0;n=c[a>>2]|0;c[n+(g*28|0)+24>>2]=m;o=f+(c[(c[e>>2]|0)+(g<<3)>>2]|0)|0;h=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;i=o+4|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;E=o+8|0;if(d[E>>0]|d[E+1>>0]<<8|d[E+2>>0]<<16|d[E+3>>0]<<24|0){g=8;break}E=o+12|0;if(d[E>>0]|d[E+1>>0]<<8|d[E+2>>0]<<16|d[E+3>>0]<<24|0){g=10;break}p=o+16|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;if((p|0)<=3){g=12;break}Ye(m,n+(g*28|0)+16|0,n+(g*28|0)+20|0,c[r>>2]|0,o+20|0,p,c[w>>2]|0,c[s>>2]|0,y,z,h,i,c[t>>2]|0,c[u>>2]|0,j,c[B>>2]|0,c[v>>2]|0,A);E=c[a>>2]|0;c[E+(g*28|0)>>2]=h;c[E+(g*28|0)+4>>2]=i;c[E+(g*28|0)+8>>2]=0;c[E+(g*28|0)+12>>2]=0;c[k>>2]=q;g=g+1|0;if(g>>>0>=q>>>0){g=22;break a}}if((g|0)==8)wa(12276,10980,10426,12301);else if((g|0)==10)wa(12313,10980,10427,12301);else if((g|0)==12)wa(12338,10980,10433,12301)}else g=22}while(0);if((g|0)==22){if((c[B>>2]|0)>0){i=c[b+67184>>2]|0;h=c[b+67172>>2]|0;g=0;do{c[h+(g<<2)>>2]=c[i+(g<<2)>>2];g=g+1|0}while((g|0)<(c[B>>2]|0))}c[a+16>>2]=C;c[a+8>>2]=y;c[a+12>>2]=z;x=0}td(A);l=D;return x|0}function Dd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=a+4|0;h=c[e>>2]|0;g=c[a>>2]|0;f=h-g>>2;if(f>>>0>=b>>>0){if(f>>>0>b>>>0?(d=g+(b<<2)|0,(h|0)!=(d|0)):0)c[e>>2]=h+(~((h+-4-d|0)>>>2)<<2)}else cg(a,b-f|0);return}function Ed(){Fd(0);return}function Fd(a){a=a|0;Gd(11250);return}function Gd(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;b=l;l=l+16|0;d=b;e=b+8|0;og();h=qg()|0;f=rg()|0;o=tg()|0;n=ug()|0;m=vg()|0;k=wg()|0;j=Bg()|0;i=Cg()|0;g=Cg()|0;ab(o|0,n|0,m|0,k|0,j|0,52,i|0,h|0,g|0,f|0,a|0,Dg()|0,97);a=tg()|0;f=Gg(d)|0;g=Hg(d)|0;La(a|0,f|0,g|0,Bg()|0,53,1);c[d>>2]=35;c[d+4>>2]=0;g=tg()|0;f=Lg(e)|0;a=Mg(e)|0;h=Rg()|0;Zb(g|0,12727,f|0,a|0,h|0,1,Ng(d)|0,0);c[d>>2]=1;c[d+4>>2]=0;h=tg()|0;a=Tg(e)|0;f=Ug(e)|0;g=Yg()|0;Zb(h|0,12737,a|0,f|0,g|0,1,Vg(d)|0,0);c[d>>2]=54;c[d+4>>2]=0;g=tg()|0;f=_g(e)|0;a=$g(e)|0;h=eh()|0;Zb(g|0,12744,f|0,a|0,h|0,11,ah(d)|0,0);c[d>>2]=2;h=tg()|0;a=gh(e)|0;f=hh(e)|0;g=nh()|0;Zb(h|0,12749,a|0,f|0,g|0,23,ih(d)|0,0);c[d>>2]=24;g=tg()|0;f=yh(e)|0;e=zh(e)|0;a=Dh()|0;Zb(g|0,12753,f|0,e|0,a|0,1,Ah(d)|0,0);l=b;return}function Hd(){Id(0);return}function Id(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;a=l;l=l+16|0;b=a;e=a+8|0;Eh();g=Gh()|0;d=Hh()|0;n=Jh()|0;m=Kh()|0;k=Lh()|0;j=wg()|0;i=Bg()|0;h=Cg()|0;f=Cg()|0;ab(n|0,m|0,k|0,j|0,i|0,55,h|0,g|0,f|0,d|0,11262,Dg()|0,98);d=Jh()|0;f=Th(b)|0;g=Uh(b)|0;La(d|0,f|0,g|0,eh()|0,12,56);c[b>>2]=36;c[b+4>>2]=0;g=Jh()|0;f=_h(e)|0;d=$h(e)|0;h=eh()|0;Zb(g|0,11272,f|0,d|0,h|0,13,ai(b)|0,0);c[b>>2]=57;c[b+4>>2]=0;h=Jh()|0;d=ei(e)|0;f=fi(e)|0;g=eh()|0;Zb(h|0,11281,d|0,f|0,g|0,14,gi(b)|0,0);c[b>>2]=37;c[b+4>>2]=0;g=Jh()|0;f=ji(e)|0;d=ki(e)|0;h=eh()|0;Zb(g|0,11284,f|0,d|0,h|0,15,li(b)|0,0);c[b>>2]=58;c[b+4>>2]=0;h=Jh()|0;d=pi(e)|0;f=qi(e)|0;g=eh()|0;Zb(h|0,11290,d|0,f|0,g|0,16,ri(b)|0,0);c[b>>2]=59;c[b+4>>2]=0;g=Jh()|0;f=pi(e)|0;e=qi(e)|0;d=eh()|0;Zb(g|0,11296,f|0,e|0,d|0,16,ri(b)|0,0);l=a;return}function Jd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;e=d;f=c[b>>2]|0;Df(e,(c[b+4>>2]|0)-f>>2,f);Ff(a,e);l=d;return}function Kd(a){a=a|0;return (c[a+20>>2]|0)==0|0}function Ld(a,b){a=a|0;b=b|0;lw(a,b+24|0);return}function Md(a){a=a|0;return c[a+12>>2]|0}function Nd(a){a=a|0;return c[a+16>>2]|0}function Od(a){a=a|0;Ba(a|0)|0;ex()}function Pd(a,b){a=a|0;b=b|0;return ne(a,b,oe(b)|0)|0}function Qd(a){a=a|0;te(a,2680);tm(a+64|0);return}function Rd(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;h=l;l=l+32|0;d=h;e=a+4|0;f=(((c[e>>2]|0)-(c[a>>2]|0)|0)/524|0)+1|0;g=Vd(a)|0;if(g>>>0<f>>>0)vu(a);else{i=c[a>>2]|0;k=((c[a+8>>2]|0)-i|0)/524|0;j=k<<1;Sd(d,k>>>0<g>>>1>>>0?(j>>>0<f>>>0?f:j):g,((c[e>>2]|0)-i|0)/524|0,a+8|0);g=d+8|0;f=c[g>>2]|0;Ox(f|0,b|0,524)|0;c[g>>2]=f+524;Td(a,d);Ud(d);l=h;return}}function Sd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+12>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>8196502){d=rb(8)|0;hw(d,11860);c[d>>2]=10092;kc(d|0,1912,91)}else{e=aw(b*524|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*524|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[a+12>>2]=e+(b*524|0);return}function Td(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(((f|0)/-524|0)*524|0)|0;c[g>>2]=d;if((f|0)>0){Ox(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Ud(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~(((0-b+(e+-524)|0)>>>0)/524|0)*524|0);a=c[a>>2]|0;if(a|0)cw(a);return}function Vd(a){a=a|0;return 8196502}function Wd(a){a=a|0;Qd(a);cw(a);return}function Xd(a){a=a|0;Qd(a+-8|0);return}function Yd(a){a=a|0;Wd(a+-8|0);return}function Zd(a){a=a|0;Qd(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function _d(a){a=a|0;Wd(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function $d(){return -1}function ae(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=b+32|0;nw(i,d)|0;h=b+44|0;c[h>>2]=0;j=b+48|0;g=c[j>>2]|0;if(g&8|0){d=a[i+11>>0]|0;if(d<<24>>24<0){d=c[i>>2]|0;e=d;f=d;d=d+(c[b+36>>2]|0)|0}else{e=i;f=i;d=i+(d&255)|0}c[h>>2]=d;c[b+8>>2]=e;c[b+12>>2]=f;c[b+16>>2]=d}if(g&16|0){e=i+11|0;d=a[e>>0]|0;if(d<<24>>24<0){g=c[b+36>>2]|0;c[h>>2]=(c[i>>2]|0)+g;d=(c[b+40>>2]&2147483647)+-1|0;h=g}else{g=d&255;c[h>>2]=i+g;d=10;h=g}tw(i,d,0);d=a[e>>0]|0;if(d<<24>>24<0){e=c[i>>2]|0;g=e;f=c[b+36>>2]|0}else{g=i;f=d&255;e=i}d=b+24|0;c[d>>2]=e;c[b+20>>2]=e;c[b+28>>2]=g+f;if(c[j>>2]&3|0)c[d>>2]=e+h}return}function be(a){a=a|0;c[a>>2]=2728;mw(a+32|0);xm(a);return}function ce(a){a=a|0;be(a);cw(a);return}function de(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;i=d+44|0;j=c[i>>2]|0;m=d+24|0;n=c[m>>2]|0;k=n;if(j>>>0<n>>>0){c[i>>2]=n;l=k}else l=j;j=h&24;a:do if((j|0)!=0?!((g|0)==1&(j|0)==24):0){b:do switch(g|0){case 0:{i=0;j=0;break}case 1:if(!(h&8)){j=k-(c[d+20>>2]|0)|0;i=j;j=((j|0)<0)<<31>>31;break b}else{j=(c[d+12>>2]|0)-(c[d+8>>2]|0)|0;i=j;j=((j|0)<0)<<31>>31;break b}case 2:{i=d+32|0;if((a[i+11>>0]|0)<0)i=c[i>>2]|0;j=l-i|0;i=j;j=((j|0)<0)<<31>>31;break}default:{j=-1;i=-1;break a}}while(0);j=Kx(i|0,j|0,e|0,f|0)|0;i=A;if((i|0)>=0){k=d+32|0;if((a[k+11>>0]|0)<0)k=c[k>>2]|0;f=l-k|0;e=((f|0)<0)<<31>>31;if(!((e|0)<(i|0)|(e|0)==(i|0)&f>>>0<j>>>0)){k=h&8;if(!((j|0)==0&(i|0)==0)){if(k|0?(c[d+12>>2]|0)==0:0){j=-1;i=-1;break}if((h&16|0)!=0&(n|0)==0){j=-1;i=-1;break}}if(k|0){c[d+12>>2]=(c[d+8>>2]|0)+j;c[d+16>>2]=l}if(h&16)c[m>>2]=(c[d+20>>2]|0)+j}else{j=-1;i=-1}}else{j=-1;i=-1}}else{j=-1;i=-1}while(0);n=b;c[n>>2]=0;c[n+4>>2]=0;b=b+8|0;c[b>>2]=j;c[b+4>>2]=i;return}function ee(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;d=d+8|0;sc[c[(c[b>>2]|0)+16>>2]&7](a,b,c[d>>2]|0,c[d+4>>2]|0,0,e);return}function fe(b){b=b|0;var d=0,e=0,f=0,g=0;d=b+44|0;f=c[d>>2]|0;e=c[b+24>>2]|0;if(f>>>0<e>>>0){c[d>>2]=e;f=e}if(c[b+48>>2]&8){d=b+16|0;e=c[d>>2]|0;if(e>>>0<f>>>0){c[d>>2]=f;e=f}d=c[b+12>>2]|0;if(d>>>0<e>>>0)d=ie(a[d>>0]|0)|0;else g=8}else g=8;if((g|0)==8)d=$d()|0;return d|0}function ge(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=b+44|0;e=c[b+24>>2]|0;if((c[f>>2]|0)>>>0<e>>>0)c[f>>2]=e;e=b+12|0;do if((c[b+8>>2]|0)>>>0<(c[e>>2]|0)>>>0){if(je(d,$d()|0)|0){f=c[f>>2]|0;c[e>>2]=(c[e>>2]|0)+-1;c[b+16>>2]=f;d=ke(d)|0;break}if((c[b+48>>2]&16|0)==0?(h=me(d)|0,!(le(h,a[(c[e>>2]|0)+-1>>0]|0)|0)):0){g=9;break}h=c[f>>2]|0;c[e>>2]=(c[e>>2]|0)+-1;c[b+16>>2]=h;h=me(d)|0;a[c[e>>2]>>0]=h}else g=9;while(0);if((g|0)==9)d=$d()|0;return d|0}function he(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;u=l;l=l+16|0;p=u;do if(!(je(d,$d()|0)|0)){q=b+12|0;r=b+8|0;s=(c[q>>2]|0)-(c[r>>2]|0)|0;t=b+24|0;m=c[t>>2]|0;n=b+28|0;e=c[n>>2]|0;if((m|0)==(e|0)){h=b+48|0;if(!(c[h>>2]&16)){e=$d()|0;break}i=b+20|0;j=c[i>>2]|0;o=b+44|0;k=(c[o>>2]|0)-j|0;g=b+32|0;xw(g,0);e=g+11|0;if((a[e>>0]|0)<0)f=(c[b+40>>2]&2147483647)+-1|0;else f=10;tw(g,f,0);e=a[e>>0]|0;if(e<<24>>24<0){f=c[g>>2]|0;e=c[b+36>>2]|0}else{f=g;e=e&255}e=f+e|0;c[i>>2]=f;c[n>>2]=e;m=f+(m-j)|0;c[t>>2]=m;f=f+k|0;c[o>>2]=f;k=o;g=o;j=e}else{f=b+44|0;k=f;h=b+48|0;g=f;f=c[f>>2]|0;j=e}i=m+1|0;c[p>>2]=i;f=c[(i>>>0<f>>>0?g:p)>>2]|0;c[k>>2]=f;if(c[h>>2]&8|0){e=b+32|0;if((a[e+11>>0]|0)<0)e=c[e>>2]|0;c[r>>2]=e;c[q>>2]=e+s;c[b+16>>2]=f}e=d&255;if((m|0)==(j|0)){t=c[(c[b>>2]|0)+52>>2]|0;e=ie(e)|0;e=Ic[t&31](b,e)|0;break}else{c[t>>2]=i;a[m>>0]=e;e=ie(e)|0;break}}else e=ke(d)|0;while(0);l=u;return e|0}function ie(a){a=a|0;return a&255|0}function je(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function ke(a){a=a|0;if(je(a,$d()|0)|0)a=~($d()|0);return a|0}function le(a,b){a=a|0;b=b|0;return a<<24>>24==b<<24>>24|0}function me(a){a=a|0;return a&255|0}function ne(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;m=l;l=l+16|0;g=m+12|0;j=m;k=m+8|0;kn(j,b);if(a[j>>0]|0){h=(c[b>>2]|0)+-12|0;c[k>>2]=c[b+(c[h>>2]|0)+24>>2];h=b+(c[h>>2]|0)|0;i=c[h+4>>2]|0;f=d+e|0;n=$d()|0;e=h+76|0;if(je(n,c[e>>2]|0)|0){fn(g,h);n=On(g,21672)|0;n=Ic[c[(c[n>>2]|0)+28>>2]&31](n,32)|0;Pn(g);n=n<<24>>24;c[e>>2]=n;e=n}else e=c[e>>2]|0;c[g>>2]=c[k>>2];if(!(pe(g,d,(i&176|0)==32?f:d,f,h,e&255)|0)){n=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;dn(n,c[n+16>>2]|5)}}ln(j);l=m;return b|0}function oe(a){a=a|0;return ok(a)|0}function pe(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;q=l;l=l+16|0;o=q+12|0;p=q;i=c[b>>2]|0;a:do if(!i)i=0;else{j=d;k=f-j|0;n=g+12|0;m=c[n>>2]|0;k=(m|0)>(k|0)?m-k|0:0;m=e;g=m-j|0;if((g|0)>0?(Dc[c[(c[i>>2]|0)+48>>2]&31](i,d,g)|0)!=(g|0):0){c[b>>2]=0;i=0;break}do if((k|0)>0){c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;if(k>>>0<11){d=p+11|0;a[d>>0]=k;g=p;j=p}else{d=k+16&-16;g=aw(d)|0;c[p>>2]=g;c[p+8>>2]=d|-2147483648;c[p+4>>2]=k;d=p+11|0;j=p}qe(g,k,h)|0;a[o>>0]=0;re(g+k|0,o);if((Dc[c[(c[i>>2]|0)+48>>2]&31](i,(a[d>>0]|0)<0?c[j>>2]|0:p,k)|0)==(k|0)){mw(p);break}else{c[b>>2]=0;mw(p);i=0;break a}}while(0);f=f-m|0;if((f|0)>0?(Dc[c[(c[i>>2]|0)+48>>2]&31](i,e,f)|0)!=(f|0):0){c[b>>2]=0;i=0;break}c[n>>2]=0}while(0);l=q;return i|0}function qe(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)Ix(a|0,(ie(c)|0)&255|0,b|0)|0;return a|0}function re(b,c){b=b|0;c=c|0;a[b>>0]=a[c>>0]|0;return}function se(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=l;l=l+16|0;h=i;e=c[d+48>>2]|0;do if(!(e&16)){if(!(e&8)){c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;break}e=c[d+8>>2]|0;g=c[d+16>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=g-e|0;if(d>>>0>4294967279)jw(b);if(d>>>0<11)a[b+11>>0]=d;else{j=d+16&-16;f=aw(j)|0;c[b>>2]=f;c[b+8>>2]=j|-2147483648;c[b+4>>2]=d;b=f}if((e|0)!=(g|0)){f=b;while(1){re(f,e);e=e+1|0;if((e|0)==(g|0))break;else f=f+1|0}b=b+d|0}a[h>>0]=0;re(b,h)}else{f=d+44|0;g=c[f>>2]|0;e=c[d+24>>2]|0;if(g>>>0<e>>>0){c[f>>2]=e;g=e}e=c[d+20>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=g-e|0;if(d>>>0>4294967279)jw(b);if(d>>>0<11)a[b+11>>0]=d;else{f=d+16&-16;j=aw(f)|0;c[b>>2]=j;c[b+8>>2]=f|-2147483648;c[b+4>>2]=d;b=j}if((e|0)!=(g|0)){f=b;while(1){re(f,e);e=e+1|0;if((e|0)==(g|0))break;else f=f+1|0}b=b+d|0}a[h>>0]=0;re(b,h)}while(0);l=i;return}function te(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a>>2]=d;c[a+(c[d+-12>>2]|0)>>2]=c[b+32>>2];c[a+8>>2]=c[b+36>>2];be(a+12|0);cn(a,b+4|0);return}function ue(a){a=a|0;var b=0,d=0;d=c[a>>2]|0;if(d|0){a=a+4|0;b=c[a>>2]|0;if((b|0)!=(d|0))c[a>>2]=b+(~(((0-d+(b+-524)|0)>>>0)/524|0)*524|0);cw(d)}return}function ve(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;if(e>>>0>=f>>>0)wa(12184,10980,10534,12198);i=c[a>>2]|0;j=i;if(((c[a+4>>2]|0)-i>>3|0)!=(b|0))wa(12221,10980,10535,12198);a:do if(!b)a=1;else{i=0;a=f;while(1){f=a-e|0;if(f>>>0>=g>>>0){a=0;break a}h=a+4|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(h>>>0>=g>>>0){a=0;break a}k=j+(i<<3)|0;c[k>>2]=f;c[k+4>>2]=0;i=i+1|0;if(i>>>0>=b>>>0){a=1;break}else a=a+(h+8)|0}}while(0);return a|0}function we(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=a+4|0;h=c[e>>2]|0;g=c[a>>2]|0;f=h-g|0;if(f>>>0>=b>>>0){if(f>>>0>b>>>0?(d=g+b|0,(h|0)!=(d|0)):0)c[e>>2]=d}else xe(a,b-f|0);return}function xe(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=l;l=l+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if(((c[g>>2]|0)-d|0)>>>0<b>>>0){d=d-(c[a>>2]|0)+b|0;e=De(a)|0;if(e>>>0<d>>>0)vu(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k<<1;ze(f,k>>>0<e>>>1>>>0?(g>>>0<d>>>0?d:g):e,(c[h>>2]|0)-j|0,a+8|0);Ae(f,b);Be(a,f);Ce(f);break}}else ye(a,b);while(0);l=i;return}function ye(b,d){b=b|0;d=d|0;var e=0;e=b+4|0;b=d;d=c[e>>2]|0;do{a[d>>0]=0;d=(c[e>>2]|0)+1|0;c[e>>2]=d;b=b+-1|0}while((b|0)!=0);return}function ze(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+12>>2]=0;c[a+16>>2]=e;if(!b)e=0;else e=aw(b)|0;c[a>>2]=e;d=e+d|0;c[a+8>>2]=d;c[a+4>>2]=d;c[a+12>>2]=e+b;return}function Ae(b,d){b=b|0;d=d|0;var e=0;e=b+8|0;b=d;d=c[e>>2]|0;do{a[d>>0]=0;d=(c[e>>2]|0)+1|0;c[e>>2]=d;b=b+-1|0}while((b|0)!=0);return}function Be(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-f)|0;c[g>>2]=d;if((f|0)>0){Ox(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Ce(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;d=a+8|0;if((c[d>>2]|0)!=(b|0))c[d>>2]=b;a=c[a>>2]|0;if(a|0)cw(a);return}function De(a){a=a|0;return 2147483647}function Ee(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Ke(a,b);Le(a,b)}return}function Fe(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Ne(a,b);Oe(a,b)}return}function Ge(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((c[a+4>>2]|0)-d>>1>>>0>b>>>0)return d+(b<<1)|0;else wu(a);return 0}function He(a,c,d){a=a|0;c=c|0;d=d|0;var f=0,g=0;if((d|0)>0){f=0;do{g=c+(f<<1)|0;b[g>>1]=b[a+((e[g>>1]|0)<<1)>>1]|0;f=f+1|0}while((f|0)!=(d|0))}return}function Ie(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;e=d;if(d|0){a=a+4|0;b=c[a>>2]|0;if((b|0)!=(d|0))c[a>>2]=b+(~(((b+-24-e|0)>>>0)/24|0)*24|0);cw(d)}return}function Je(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;e=d;if(d|0){a=a+4|0;b=c[a>>2]|0;if((b|0)!=(d|0))c[a>>2]=b+(~((b+-2-e|0)>>>1)<<1);cw(d)}return}function Ke(a,b){a=a|0;b=b|0;var d=0;if((Me(a)|0)>>>0<b>>>0)vu(a);if((b|0)<0){b=rb(8)|0;hw(b,11860);c[b>>2]=10092;kc(b|0,1912,91)}else{d=aw(b<<1)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<1);return}}function Le(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;Ix(d|0,0,b<<1|0)|0;c[a>>2]=d+(b<<1);return}function Me(a){a=a|0;return 2147483647}function Ne(a,b){a=a|0;b=b|0;var d=0;if((Pe(a)|0)>>>0<b>>>0)vu(a);if(b>>>0>178956970){b=rb(8)|0;hw(b,11860);c[b>>2]=10092;kc(b|0,1912,91)}else{d=aw(b*24|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b*24|0);return}}function Oe(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;b=(c[d>>2]|0)+24|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Pe(a){a=a|0;return 178956970}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;g=l;l=l+480|0;f=g;Ix(f|0,0,472)|0;b=0;do{e=f+(c[a+(b<<3)>>2]<<3)|0;d=e;d=Kx(c[d>>2]|0,c[d+4>>2]|0,1,0)|0;c[e>>2]=d;c[e+4>>2]=A;b=b+1|0}while((b|0)!=65537);b=58;d=0;e=0;while(1){h=f+(b<<3)|0;j=h;j=Kx(c[j>>2]|0,c[j+4>>2]|0,d|0,e|0)|0;i=d;d=Lx(j|0,A|0,1)|0;c[h>>2]=i;c[h+4>>2]=e;if((b|0)<=1){b=0;break}else{b=b+-1|0;e=A}}do{d=a+(b<<3)|0;e=c[d>>2]|0;if((e|0)>0){h=f+(e<<3)|0;i=h;j=c[i>>2]|0;i=c[i+4>>2]|0;k=Kx(j|0,i|0,1,0)|0;c[h>>2]=k;c[h+4>>2]=A;i=Vx(j|0,i|0,6)|0;j=d;c[j>>2]=i|e;c[j+4>>2]=A|((e|0)<0)<<31>>31}b=b+1|0}while((b|0)!=65537);l=g;return}function Re(a,b){a=a|0;b=b|0;A=0;return a&63|0}function Se(a,b){a=a|0;b=b|0;b=Lx(a|0,b|0,6)|0;return b|0}function Te(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)Ox(a|0,b|0,c|0)|0;return a|0}function Ue(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if(((c[a+4>>2]|0)-d|0)>>>0>b>>>0)return d+b|0;else wu(a);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+16|0;i=m+12|0;j=m;f=d;while(1){k=f+1|0;if(!(a[f>>0]|0))break;else f=k}c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;h=f-d|0;if(h>>>0>4294967279)jw(j);if(h>>>0<11){a[j+11>>0]=h;e=j}else{g=h+16&-16;e=aw(g)|0;c[j>>2]=e;c[j+8>>2]=g|-2147483648;c[j+4>>2]=h}if((f|0)!=(d|0)){g=e;while(1){re(g,d);d=d+1|0;if((d|0)==(f|0))break;else g=g+1|0}e=e+h|0}a[i>>0]=0;re(e,i);e=b+11|0;if((a[e>>0]|0)<0){h=c[b>>2]|0;a[i>>0]=0;re(h,i);c[b+4>>2]=0}else{a[i>>0]=0;re(b,i);a[e>>0]=0}rw(b,0);c[b>>2]=c[j>>2];c[b+4>>2]=c[j+4>>2];c[b+8>>2]=c[j+8>>2];c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;mw(j);l=m;return k|0}function We(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;_e(a,e);c[b>>2]=0;c[d>>2]=0;a:do if(e|0){h=c[a>>2]|0;g=0;a=0;b:while(1){c[h+(g<<2)>>2]=a;switch(c[f+(g*272|0)+256>>2]|0){case 1:{a=2;break}case 0:case 2:{a=4;break}default:break b}c[b>>2]=(c[b>>2]|0)+a;a=(c[d>>2]|0)+a|0;c[d>>2]=a;g=g+1|0;if(g>>>0>=e>>>0)break a}wa(11244,10980,9972,12366)}while(0);return}function Xe(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=Yj(a<<2)|0;a:do if(a|0){g=P(f,e)|0;e=0;b:while(1){c:do switch(c[b+(e*272|0)+256>>2]|0){case 1:{switch(c[d+(e<<2)>>2]|0){case 2:{f=2;break c}case 1:break;default:{e=7;break b}}f=1;break}case 0:case 2:{f=2;break}default:{e=8;break b}}while(0);c[h+(e<<2)>>2]=Yj(g<<f)|0;e=e+1|0;if(e>>>0>=a>>>0)break a}if((e|0)==7)wa(11244,10980,1e4,12387);else if((e|0)==8)wa(11244,10980,10013,12387)}while(0);return h|0}function Ye(a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;var t=0,u=0;t=P(n,l)|0;if((t|0)>=(j|0))wa(12401,10980,9927,12442);u=P(o,m)|0;if((u|0)<(k|0)){l=(P(l+1|0,n)|0)<(j|0);c[b>>2]=l?n:j-t|0;j=(P(m+1|0,o)|0)<(k|0);k=j?o:k-u|0;c[d>>2]=k;Ze(a,e,f,g,h,i,c[b>>2]|0,o,n,0,0,k,p,q,r,s);return}else wa(12463,10980,9928,12442)}function Ze(a,d,f,g,h,i,j,k,m,n,o,p,q,r,s,t){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;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,F=0,G=0,H=0;H=l;l=l+48|0;F=H+36|0;G=H+20|0;E=H+12|0;A=H+32|0;B=H;C=H+16|0;D=H+8|0;x=H+4|0;a:do if((h|0)==4){ld(G,P(P(p,j)|0,q)|0);C=c[G+4>>2]|0;D=c[G>>2]|0;if(!(gf(md(G,0)|0,f,C-D|0,g,r,s,j,p)|0))wa(12505,10980,9397,12509);b:do if(r|0){y=(p|0)==0;z=(j|0)==0;f=(i|0)==0;x=k+-1|0;w=0;c:while(1){switch(c[s+(w*272|0)+256>>2]|0){case 1:{if(!y){i=d+(w<<2)|0;k=a+(w<<2)|0;h=0;do{u=P(h,q)|0;u=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+u|0,j)|0)|0;if(!z){n=h+o|0;n=P(f?n:x-n|0,m)|0;g=0;do{v=b[u+(g<<1)>>1]|0;if((c[i>>2]|0)==1)b[(c[k>>2]|0)+(g+n<<1)>>1]=v;else{c[A>>2]=v&65535;c[F>>2]=c[A>>2];sd(E,F);c[(c[k>>2]|0)+(g+n<<2)>>2]=c[E>>2]}g=g+1|0}while((g|0)!=(j|0))}h=h+1|0}while(h>>>0<p>>>0)}break}case 0:{if(c[d+(w<<2)>>2]|0){h=20;break c}if(!y){i=a+(w<<2)|0;h=0;do{k=P(h,q)|0;k=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+k|0,j)|0)|0;if(!z){u=c[i>>2]|0;n=h+o|0;n=P(f?n:x-n|0,m)|0;g=0;do{c[u+(g+n<<2)>>2]=c[k+(g<<2)>>2];g=g+1|0}while((g|0)!=(j|0))}h=h+1|0}while(h>>>0<p>>>0)}break}case 2:{if((c[d+(w<<2)>>2]|0)!=2){h=28;break c}if(!y){i=a+(w<<2)|0;g=0;do{k=P(g,q)|0;k=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+k|0,m)|0)|0;if(!z){u=c[i>>2]|0;n=g+o|0;n=P(f?n:x-n|0,m)|0;h=0;do{c[u+(h+n<<2)>>2]=c[k+(h<<2)>>2];h=h+1|0}while((h|0)!=(j|0))}g=g+1|0}while(g>>>0<p>>>0)}break}default:{h=33;break c}}w=w+1|0;if(w>>>0>=r>>>0)break b}if((h|0)==20)wa(12525,10980,9455,12509);else if((h|0)==28)wa(12576,10980,9482,12509);else if((h|0)==33)wa(11244,10980,9507,12509)}while(0);nd(G)}else{if((h|1|0)==3){ld(G,P(P(p,j)|0,q)|0);D=(c[G+4>>2]|0)-(c[G>>2]|0)|0;c[E>>2]=D;if(!D)wa(12628,10980,9522,12509);zd(md(G,0)|0,E,f,g);d:do if(r|0){y=(p|0)==0;z=(j|0)==0;f=(i|0)==0;x=k+-1|0;w=0;e:while(1){switch(c[s+(w*272|0)+256>>2]|0){case 1:{if(!y){i=d+(w<<2)|0;k=a+(w<<2)|0;g=0;do{u=P(g,q)|0;u=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+u|0,j)|0)|0;if(!z){n=g+o|0;n=P(f?n:x-n|0,m)|0;h=0;do{v=b[u+(h<<1)>>1]|0;if((c[i>>2]|0)==1)b[(c[k>>2]|0)+(h+n<<1)>>1]=v;else{c[C>>2]=v&65535;c[F>>2]=c[C>>2];sd(B,F);c[(c[k>>2]|0)+(h+n<<2)>>2]=c[B>>2]}h=h+1|0}while((h|0)!=(j|0))}g=g+1|0}while(g>>>0<p>>>0)}break}case 0:{if(c[d+(w<<2)>>2]|0){h=54;break e}if(!y){i=a+(w<<2)|0;g=0;do{k=P(g,q)|0;k=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+k|0,j)|0)|0;if(!z){u=c[i>>2]|0;n=g+o|0;n=P(f?n:x-n|0,m)|0;h=0;do{c[u+(h+n<<2)>>2]=c[k+(h<<2)>>2];h=h+1|0}while((h|0)!=(j|0))}g=g+1|0}while(g>>>0<p>>>0)}break}case 2:{if((c[d+(w<<2)>>2]|0)!=2){h=62;break e}if(!y){i=a+(w<<2)|0;g=0;do{k=P(g,q)|0;k=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+k|0,j)|0)|0;if(!z){u=c[i>>2]|0;n=g+o|0;n=P(f?n:x-n|0,m)|0;h=0;do{c[u+(h+n<<2)>>2]=c[k+(h<<2)>>2];h=h+1|0}while((h|0)!=(j|0))}g=g+1|0}while(g>>>0<p>>>0)}break}default:{h=67;break e}}w=w+1|0;if(w>>>0>=r>>>0)break d}if((h|0)==54)wa(12525,10980,9583,12509);else if((h|0)==62)wa(12576,10980,9610,12509);else if((h|0)==67)wa(11244,10980,9635,12509)}while(0);nd(G);break}switch(h|0){case 1:{ld(G,P(P(p,j)|0,q)|0);h=(c[G+4>>2]|0)-(c[G>>2]|0)|0;if(!h)wa(12628,10980,9645,12509);hf(md(G,0)|0,h,f,g);f:do if(r|0){y=(p|0)==0;z=(j|0)==0;f=(i|0)==0;x=k+-1|0;w=0;g:while(1){switch(c[s+(w*272|0)+256>>2]|0){case 1:{if(!y){i=d+(w<<2)|0;k=a+(w<<2)|0;g=0;do{u=P(g,q)|0;u=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+u|0,j)|0)|0;if(!z){n=g+o|0;n=P(f?n:x-n|0,m)|0;h=0;do{v=b[u+(h<<1)>>1]|0;if((c[i>>2]|0)==1)b[(c[k>>2]|0)+(h+n<<1)>>1]=v;else{c[D>>2]=v&65535;c[F>>2]=c[D>>2];sd(E,F);c[(c[k>>2]|0)+(h+n<<2)>>2]=c[E>>2]}h=h+1|0}while((h|0)!=(j|0))}g=g+1|0}while(g>>>0<p>>>0)}break}case 0:{if(c[d+(w<<2)>>2]|0){h=90;break g}if(!y){i=a+(w<<2)|0;g=0;do{k=P(g,q)|0;k=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+k|0,j)|0)|0;if(!z){u=c[i>>2]|0;n=g+o|0;n=P(f?n:x-n|0,m)|0;h=0;do{c[u+(h+n<<2)>>2]=c[k+(h<<2)>>2];h=h+1|0}while((h|0)!=(j|0))}g=g+1|0}while(g>>>0<p>>>0)}break}case 2:{if((c[d+(w<<2)>>2]|0)!=2){h=98;break g}if(!y){i=a+(w<<2)|0;g=0;do{k=P(g,q)|0;k=md(G,P((c[(c[t>>2]|0)+(w<<2)>>2]|0)+k|0,j)|0)|0;if(!z){u=c[i>>2]|0;n=g+o|0;n=P(f?n:x-n|0,m)|0;h=0;do{c[u+(h+n<<2)>>2]=c[k+(h<<2)>>2];h=h+1|0}while((h|0)!=(j|0))}g=g+1|0}while(g>>>0<p>>>0)}break}default:{h=103;break g}}w=w+1|0;if(w>>>0>=r>>>0)break f}if((h|0)==90)wa(12525,10980,9706,12509);else if((h|0)==98)wa(12576,10980,9733,12509);else if((h|0)==103)wa(11244,10980,9758,12509)}while(0);nd(G);break a}case 128:{wa(11244,10980,9827,12509);break}case 0:{if(!r)break a;w=j<<1;k=P((i|0)==0?n:k+-1-n|0,m)|0;u=(j|0)>0;v=j<<2;i=0;h:while(1){i:do switch(c[s+(i*272|0)+256>>2]|0){case 1:{n=f+(P(w,i)|0)|0;switch(c[d+(i<<2)>>2]|0){case 1:{g=(c[a+(i<<2)>>2]|0)+(k<<1)|0;if(u)h=0;else break i;do{b[g+(h<<1)>>1]=b[n+(h<<1)>>1]|0;h=h+1|0}while((h|0)!=(j|0));break}case 2:{g=(c[a+(i<<2)>>2]|0)+(k<<2)|0;if(u)h=0;else break i;do{c[x>>2]=e[n+(h<<1)>>1];c[F>>2]=c[x>>2];sd(G,F);c[g+(h<<2)>>2]=c[G>>2];h=h+1|0}while((h|0)!=(j|0));break}default:break h}break}case 2:{n=f+(P(v,i)|0)|0;g=(c[a+(i<<2)>>2]|0)+(k<<2)|0;if(u){h=0;do{c[g+(h<<2)>>2]=c[n+(h<<2)>>2];h=h+1|0}while((h|0)!=(j|0))}break}case 0:{n=f+(P(v,i)|0)|0;g=(c[a+(i<<2)>>2]|0)+(k<<2)|0;if(u){h=0;do{c[g+(h<<2)>>2]=c[n+(h<<2)>>2];h=h+1|0}while((h|0)!=(j|0))}break}default:{}}while(0);i=i+1|0;if(i>>>0>=r>>>0)break a}wa(11244,10980,9875,12509);break}default:break a}}while(0);l=H;return}function _e(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=a+4|0;h=c[e>>2]|0;g=c[a>>2]|0;f=h-g>>2;if(f>>>0>=b>>>0){if(f>>>0>b>>>0?(d=g+(b<<2)|0,(h|0)!=(d|0)):0)c[e>>2]=h+(~((h+-4-d|0)>>>2)<<2)}else $e(a,b-f|0);return}function $e(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=l;l=l+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0<b>>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=ff(a)|0;if(e>>>0<d>>>0)vu(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;bf(f,k>>2>>>0<e>>>1>>>0?(g>>>0<d>>>0?d:g):e,(c[h>>2]|0)-j>>2,a+8|0);cf(f,b);df(a,f);ef(f);break}}else af(a,b);while(0);l=i;return}function af(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;Ix(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function bf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+12>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){d=rb(8)|0;hw(d,11860);c[d>>2]=10092;kc(d|0,1912,91)}else{e=aw(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[a+12>>2]=e+(b<<2);return}function cf(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;Ix(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function df(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){Ox(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function ef(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-4-b|0)>>>2)<<2);a=c[a>>2]|0;if(a|0)cw(a);return}function ff(a){a=a|0;return 1073741823}function gf(a,d,e,f,g,h,i,j){a=a|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;u=l;l=l+139296|0;n=u+131096|0;q=u+24|0;s=u+12|0;t=u;if((f|0)==(e|0)){Ox(a|0,d|0,f|0)|0;f=1}else{Ix(n|0,0,8192)|0;m=b[d+2>>1]|0;f=d+4|0;if((m&65535)>8191)f=0;else{r=b[d>>1]|0;d=r&65535;k=(m&65535)-d+1|0;if((m&65535)>=(r&65535)){Ox(n+d|0,f|0,k|0)|0;f=f+k|0}Ix(q|0,0,131072)|0;o=jf(n,q)|0;d=c[f>>2]|0;Ee(s,e);kf(f+4|0,d,Ge(s,0)|0,e);Fe(t,g);d=Ge(s,0)|0;if(!g){f=c[t>>2]|0;r=t;k=f}else{n=c[t>>2]|0;f=n;m=P(j,i)|0;k=0;do{r=(c[h+(k*272|0)+256>>2]|0)==1;c[n+(k*24|0)>>2]=d;c[n+(k*24|0)+4>>2]=d;c[n+(k*24|0)+8>>2]=i;c[n+(k*24|0)+12>>2]=j;r=r?1:2;c[n+(k*24|0)+20>>2]=r;d=d+((P(m,r)|0)<<1)|0;k=k+1|0}while((k|0)!=(g|0));r=t;k=n}p=t+4|0;d=c[p>>2]|0;if((d|0)!=(f|0)){i=0;while(1){h=k+(i*24|0)+20|0;g=c[h>>2]|0;if((g|0)>0){m=k+(i*24|0)|0;n=k+(i*24|0)+8|0;k=k+(i*24|0)+12|0;d=0;f=g;do{g=c[n>>2]|0;lf((c[m>>2]|0)+(d<<1)|0,g,f,c[k>>2]|0,P(g,f)|0,o);d=d+1|0;f=c[h>>2]|0}while((d|0)<(f|0));k=c[r>>2]|0;d=c[p>>2]|0}else k=f;i=i+1|0;if(i>>>0>=((d-k|0)/24|0)>>>0)break;else f=k}}He(q,Ge(s,0)|0,e);if((j|0)>0){k=c[r>>2]|0;n=0;f=k;d=c[p>>2]|0;while(1){if((d|0)==(k|0)){m=k;d=k}else{m=0;do{k=P(c[f+(m*24|0)+20>>2]|0,c[f+(m*24|0)+8>>2]|0)|0;d=f+(m*24|0)+4|0;f=k<<1;Ox(a|0,c[d>>2]|0,f|0)|0;a=a+f|0;c[d>>2]=(c[d>>2]|0)+(k<<1);m=m+1|0;d=c[p>>2]|0;k=c[r>>2]|0;f=k}while(m>>>0<((d-k|0)/24|0)>>>0);m=k}n=n+1|0;if((n|0)==(j|0))break;else k=m}}Ie(t);Je(s);f=1}}l=u;return f|0}function hf(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=l;l=l+16|0;i=j;if((c|0)==(f|0))Ox(b|0,e|0,c|0)|0;else{ld(i,c);if((Cf(f,c,e,md(i,0)|0)|0)!=(c|0))wa(12639,10980,7624,12682);f=md(i,0)|0;g=(md(i,0)|0)+c|0;e=f+1|0;if(e>>>0<g>>>0){f=a[f>>0]|0;do{f=(f&255)+128+(d[e>>0]|0)&255;a[e>>0]=f;e=e+1|0}while((e|0)!=(g|0))}e=md(i,0)|0;f=md(i,0)|0;h=b+c|0;a:do if((c|0)>0){g=f+((c+1|0)>>>1)|0;while(1){f=b+1|0;a[b>>0]=a[e>>0]|0;if(f>>>0>=h>>>0)break a;b=b+2|0;a[f>>0]=a[g>>0]|0;if(b>>>0>=h>>>0)break;else{g=g+1|0;e=e+1|0}}}while(0);nd(i)}l=j;return}function jf(a,c){a=a|0;c=c|0;var e=0,f=0;f=0;e=0;do{if(!((f|0)!=0?((d[a+(f>>3)>>0]|0)&1<<(f&7)|0)==0:0)){b[c+(e<<1)>>1]=f;e=e+1|0}f=f+1|0}while((f|0)!=65536);if((e|0)<65536)Ix(c+(e<<1)|0,0,131072-(e<<1)|0)|0;return e+65535&65535|0}function kf(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;m=l;l=l+32|0;f=m+24|0;i=m+12|0;j=m;if(b|0?(k=mf(a)|0,g=mf(a+4|0)|0,h=mf(a+12|0)|0,!(k>>>0>65536|g>>>0>65536)):0){n=a+20|0;c[f>>2]=n;yd(i,65537);nf(j,16384);of(pf(j,0)|0);b=a+b|0;qf(f,b-n|0,k,g,rf(i,0)|0);a=c[f>>2]|0;if((h|0)>(b-a<<3|0)){vf(j);Ad(i)}else{n=rf(i,0)|0;sf(n,k,g,pf(j,0)|0);n=rf(i,0)|0;tf(n,pf(j,0)|0,a,h,g,e,d);uf(pf(j,0)|0);vf(j);Ad(i)}}l=m;return}function lf(a,c,d,e,f,g){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,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;A=F+6|0;C=F+4|0;D=F+2|0;E=F;h=(c|0)>(e|0)?e:c;i=1;while(1)if((i|0)>(h|0))break;else i=i<<1;z=(g&65535)<16384;h=i>>2;if((h|0)>0){v=i>>1;y=h;while(1){u=P(e-v|0,f)|0;p=a+(u<<1)|0;q=P(y,f)|0;r=P(v,f)|0;w=P(y,d)|0;x=P(v,d)|0;if((u|0)<0)h=a;else{s=P(c-v|0,d)|0;t=(y&c|0)==0;u=(s|0)<0;h=a;do{o=h+(s<<1)|0;if(u)g=h;else{g=h;do{i=g+(w<<1)|0;j=g+(q<<1)|0;k=j+(w<<1)|0;m=b[g>>1]|0;n=b[j>>1]|0;if(z){Af(m,n,A,D);Af(b[i>>1]|0,b[k>>1]|0,C,E);Af(b[A>>1]|0,b[C>>1]|0,g,i);Af(b[D>>1]|0,b[E>>1]|0,j,k)}else{Bf(m,n,A,D);Bf(b[i>>1]|0,b[k>>1]|0,C,E);Bf(b[A>>1]|0,b[C>>1]|0,g,i);Bf(b[D>>1]|0,b[E>>1]|0,j,k)}g=g+(x<<1)|0}while(g>>>0<=o>>>0)}if(!t){i=g+(q<<1)|0;j=b[g>>1]|0;k=b[i>>1]|0;if(z)Af(j,k,A,i);else Bf(j,k,A,i);b[g>>1]=b[A>>1]|0}h=h+(r<<1)|0}while(h>>>0<=p>>>0)}if(y&e|0?(v=P(c-v|0,d)|0,B=h+(v<<1)|0,(v|0)>=0):0)do{g=h+(w<<1)|0;i=b[h>>1]|0;j=b[g>>1]|0;if(z)Af(i,j,A,g);else Bf(i,j,A,g);b[h>>1]=b[A>>1]|0;h=h+(x<<1)|0}while(h>>>0<=B>>>0);h=y>>1;if((h|0)>0){v=y;y=h}else break}}l=F;return}function mf(a){a=a|0;return (d[a+1>>0]|0)<<8|(d[a>>0]|0)|(d[a+2>>0]|0)<<16|(d[a+3>>0]|0)<<24|0}function nf(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){wf(a,b);xf(a,b)}return}function of(a){a=a|0;Ix(a|0,0,131072)|0;return}function pf(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((c[a+4>>2]|0)-d>>3>>>0>b>>>0)return d+(b<<3)|0;else wu(a);return 0}function qf(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;p=l;l=l+16|0;k=p+12|0;m=p;n=p+8|0;Ix(f|0,0,524296)|0;g=c[a>>2]|0;c[k>>2]=g;j=m;c[j>>2]=0;c[j+4>>2]=0;c[n>>2]=0;a:do if((d|0)<=(e|0)){j=e+1|0;if((b|0)>=0){g=d;while(1){d=zf(6,m,n,k)|0;h=A;i=f+(g<<3)|0;q=i;c[q>>2]=d;c[q+4>>2]=h;if(!((d|0)==63&(h|0)==0))if((h|0)>0|(h|0)==0&d>>>0>58){d=Kx(d|0,h|0,-57,0)|0;h=d+g|0;if((h|0)>(j|0))break a;if(d){Ix(i|0,0,d<<3|0)|0;g=h}d=g+-1|0}else d=g;else{if(((c[k>>2]|0)-(c[a>>2]|0)|0)>(b|0))break a;d=zf(8,m,n,k)|0;d=Kx(d|0,A|0,6,0)|0;h=d+g|0;if((h|0)>(j|0))break a;if(d){Ix(i|0,0,d<<3|0)|0;g=h}d=g+-1|0}g=c[k>>2]|0;if((d|0)>=(e|0)){o=16;break a}if((g-(c[a>>2]|0)|0)>(b|0))break;else g=d+1|0}}}else o=16;while(0);if((o|0)==16){c[a>>2]=g;Qe(f)}l=p;return}function rf(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((c[a+4>>2]|0)-d>>3>>>0>b>>>0)return d+(b<<3)|0;else wu(a);return 0}function sf(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;a:do if((b|0)<=(d|0))while(1){h=a+(b<<3)|0;f=h;f=Se(c[f>>2]|0,c[f+4>>2]|0)|0;g=A;h=Re(c[h>>2]|0,c[h+4>>2]|0)|0;j=Lx(f|0,g|0,h|0)|0;if(!((j|0)==0&(A|0)==0))break a;if((h|0)<=14){if(h|0?(k=14-h|0,(k|0)!=63):0){j=Vx(1,0,k|0)|0;i=A;f=Vx(f|0,g|0,k|0)|0;g=h&255|b<<8;f=e+(f<<3)|0;h=j;while(1){if(c[f>>2]&255|0)break a;if(c[f+4>>2]|0)break a;c[f>>2]=g;j=h;h=Kx(h|0,i|0,-1,-1)|0;if(!((i|0)>0|(i|0)==0&j>>>0>1))break;else{f=f+8|0;i=A}}}}else{h=Lx(f|0,g|0,h+-14|0)|0;j=e+(h<<3)|0;f=c[j>>2]|0;if(f&255|0)break a;g=f+256|0;c[j>>2]=g;i=e+(h<<3)+4|0;h=c[i>>2]|0;if(!h){f=bw(4)|0;c[i>>2]=f}else{f=g>>8;g=bw(f>>>0>1073741823?-1:f<<2)|0;c[i>>2]=g;if((f|0)>1){f=0;do{c[g+(f<<2)>>2]=c[h+(f<<2)>>2];f=f+1|0}while((f|0)<((c[j>>2]>>8)+-1|0))}dw(h);g=c[j>>2]|0;f=c[i>>2]|0}c[f+((g>>8)+-1<<2)>>2]=b}if((b|0)<(d|0))b=b+1|0;else break}while(0);return}function tf(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,l=0,m=0,n=0,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,G=0;D=j+(i<<1)|0;v=f+((g+7|0)/8|0)|0;a:do if((g|0)>0){o=0;m=0;i=0;while(1){m=Vx(m|0,i|0,8)|0;i=A;n=f+1|0;m=d[f>>0]|0|m;o=o+8|0;b:do if((o|0)>13){f=n;do{q=o;while(1){s=Lx(m|0,i|0,q+-14|0)|0;s=s&16383;o=c[e+(s<<3)>>2]|0;s=c[e+(s<<3)+4>>2]|0;n=o<<24>>24;if(!n){C=15;break}q=q-n|0;n=o>>8;if((n|0)==(h|0)){C=7;break}if(j>>>0>=D>>>0)break a;o=j+2|0;b[j>>1]=n;if((q|0)>13)j=o;else{j=o;o=q;break b}}if((C|0)==7){C=0;if((q|0)<8){m=Vx(m|0,i|0,8)|0;s=f+1|0;n=q+8|0;m=d[f>>0]|0|m;i=A}else{s=f;n=q}o=n+-8|0;f=Lx(m|0,i|0,o|0)|0;if((j+((f&255)<<1)|0)>>>0>D>>>0)break a;f=f&255;q=b[j+-2>>1]|0;if(!(f<<24>>24))f=s;else{r=f+-1&255;n=j;while(1){f=f+-1<<24>>24;b[n>>1]=q;if(!(f<<24>>24))break;else n=n+2|0}f=s;j=j+2+(r<<1)|0}}else if((C|0)==15){C=0;if(!s)break a;u=o>>8;c:do if((u|0)>0){t=0;o=q;while(1){q=s+(t<<2)|0;r=a+(c[q>>2]<<3)|0;r=Re(c[r>>2]|0,c[r+4>>2]|0)|0;n=(o|0)<(r|0);if(n&f>>>0<v>>>0){n=f;while(1){m=Vx(m|0,i|0,8)|0;i=A;f=n+1|0;m=d[n>>0]|0|m;o=o+8|0;n=(o|0)<(r|0);if(n&f>>>0<v>>>0)n=f;else break}}if(!n?(G=a+(c[q>>2]<<3)|0,G=Se(c[G>>2]|0,c[G+4>>2]|0)|0,E=A,x=o-r|0,F=Lx(m|0,i|0,x|0)|0,n=A,r=Vx(1,0,r|0)|0,r=Kx(r|0,A|0,-1,-1)|0,(G|0)==(F&r|0)&(E|0)==(n&A|0)):0)break;n=t+1|0;if((n|0)<(u|0))t=n;else break c}n=c[q>>2]|0;if((n|0)!=(h|0)){if(j>>>0>=D>>>0)break a;b[j>>1]=n;n=t;o=x;j=j+2|0;break}if((x|0)<8){m=Vx(m|0,i|0,8)|0;s=f+1|0;n=x+8|0;m=d[f>>0]|0|m;i=A}else{s=f;n=x}o=n+-8|0;f=Lx(m|0,i|0,o|0)|0;if((j+((f&255)<<1)|0)>>>0>D>>>0)break a;f=f&255;q=b[j+-2>>1]|0;if(!(f<<24>>24)){n=t;f=s}else{r=f+-1&255;n=j;while(1){f=f+-1<<24>>24;b[n>>1]=q;if(!(f<<24>>24))break;else n=n+2|0}n=t;f=s;j=j+2+(r<<1)|0}}else{n=0;o=q}while(0);if((n|0)==(u|0))break a}}while((o|0)>13)}else f=n;while(0);if(f>>>0>=v>>>0){p=f;k=j;w=o;z=m;B=i;C=35;break}}}else{p=f;k=j;w=0;z=0;B=0;C=35}while(0);d:do if((C|0)==35?(y=0-g&7,l=w-y|0,(l|0)>0):0){f=Lx(z|0,B|0,y|0)|0;j=A;while(1){r=k;while(1){k=Vx(f|0,j|0,14-l|0)|0;k=c[e+((k&16383)<<3)>>2]|0;i=k<<24>>24;if(!i)break d;l=l-i|0;k=k>>8;if((k|0)==(h|0))break;if(r>>>0>=D>>>0)break d;b[r>>1]=k;if((l|0)<=0)break d;else r=r+2|0}if((l|0)<8){n=Vx(f|0,j|0,8)|0;q=p+1|0;m=l+8|0;n=d[p>>0]|0|n;o=A}else{q=p;m=l;n=f;o=j}l=m+-8|0;k=Lx(n|0,o|0,l|0)|0;if((r+((k&255)<<1)|0)>>>0>D>>>0)break d;k=k&255;j=b[r+-2>>1]|0;if(!(k<<24>>24))k=r;else{f=k+-1&255;i=r;while(1){k=k+-1<<24>>24;b[i>>1]=j;if(!(k<<24>>24))break;else i=i+2|0}k=r+2+(f<<1)|0}if((m|0)<=8)break;else{p=q;f=n;j=o}}}while(0);return}function uf(a){a=a|0;var b=0,d=0,e=0;b=0;do{d=a+(b<<3)+4|0;e=c[d>>2]|0;if(e|0){dw(e);c[d>>2]=0}b=b+1|0}while((b|0)!=16384);return}function vf(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;e=d;if(d|0){a=a+4|0;b=c[a>>2]|0;if((b|0)!=(d|0))c[a>>2]=b+(~((b+-8-e|0)>>>3)<<3);cw(d)}return}function wf(a,b){a=a|0;b=b|0;var d=0;if((yf(a)|0)>>>0<b>>>0)vu(a);if(b>>>0>536870911){b=rb(8)|0;hw(b,11860);c[b>>2]=10092;kc(b|0,1912,91)}else{d=aw(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function xf(a,b){a=a|0;b=b|0;var d=0,e=0;d=a+4|0;a=b;b=c[d>>2]|0;do{e=b;c[e>>2]=0;c[e+4>>2]=0;b=(c[d>>2]|0)+8|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function yf(a){a=a|0;return 536870911}function zf(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;i=c[e>>2]|0;g=b;h=c[g>>2]|0;g=c[g+4>>2]|0;if((i|0)<(a|0)){k=i+(a+-1-i&-8)|0;j=c[f>>2]|0;do{l=Vx(h|0,g|0,8)|0;g=A;m=j;j=j+1|0;c[f>>2]=j;h=d[m>>0]|0|l;l=b;c[l>>2]=h;c[l+4>>2]=g;i=i+8|0;c[e>>2]=i}while((i|0)<(a|0));i=k+8|0}l=i-a|0;c[e>>2]=l;l=Lx(h|0,g|0,l|0)|0;m=(1<<a)+-1|0;A=A&((m|0)<0)<<31>>31;return l&m|0}function Af(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;c=c<<16>>16;a=(c&1)+(a<<16>>16)+(c>>1)|0;b[d>>1]=a;b[e>>1]=a-c;return}function Bf(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0;f=c&65535;c=(a&65535)-(f>>>1)|0;b[e>>1]=c;b[d>>1]=f+32768+c;return}function Cf(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:do if((b|0)>0){h=b;b=e;g=d;while(1){d=a[g>>0]|0;f=d<<24>>24;i=g+1|0;if(d<<24>>24<0){d=0-f|0;c=f+c|0;if((c|0)<0){b=0;break a}Ox(b|0,i|0,d|0)|0;h=h+-1+f|0;f=i+d|0}else{d=f+1|0;c=c-d|0;if((c|0)<0){b=0;break a}Ix(b|0,a[i>>0]|0,d|0)|0;h=h+-2|0;f=g+2|0}b=b+d|0;if((h|0)>0)g=f;else{j=8;break}}}else{b=e;j=8}while(0);if((j|0)==8)b=b-e|0;return b|0}function Df(a,b,c){a=a|0;b=b|0;c=c|0;Gf(a,b,c);return}function Ef(a){a=a|0;return (c[a+4>>2]|0)-(c[a>>2]|0)>>2|0}function Ff(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;Hf(e,b);b=If()|0;c[a>>2]=Za(b|0,Jf(e)|0)|0;l=d;return}function Gf(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function Hf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;f=d+8|0;e=d;c[e>>2]=a;Lf(f,b);Kf(e,f);Mf(e);l=d;return}function If(){return Nf()|0}function Jf(a){a=a|0;return a|0}function Kf(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[a>>2]=(c[a>>2]|0)+8;return}function Lf(a,b){a=a|0;b=b|0;var d=0,e=0;e=b;d=c[e+4>>2]|0;b=a;c[b>>2]=c[e>>2];c[b+4>>2]=d;return}function Mf(a){a=a|0;return}function Nf(){return 240}function Of(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;h=l;l=l+32|0;d=h;e=a+4|0;f=(((c[e>>2]|0)-(c[a>>2]|0)|0)/28|0)+1|0;g=Tf(a)|0;if(g>>>0<f>>>0)vu(a);else{i=c[a>>2]|0;k=((c[a+8>>2]|0)-i|0)/28|0;j=k<<1;Qf(d,k>>>0<g>>>1>>>0?(j>>>0<f>>>0?f:j):g,((c[e>>2]|0)-i|0)/28|0,a+8|0);g=d+8|0;Pf(c[g>>2]|0,b);c[g>>2]=(c[g>>2]|0)+28;Rf(a,d);Sf(d);l=h;return}}function Pf(a,b){a=a|0;b=b|0;lw(a,b);a=a+12|0;b=b+12|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function Qf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+12>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>153391689){d=rb(8)|0;hw(d,11860);c[d>>2]=10092;kc(d|0,1912,91)}else{e=aw(b*28|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*28|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[a+12>>2]=e+(b*28|0);return}function Rf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=c[a>>2]|0;j=a+4|0;d=c[j>>2]|0;h=b+4|0;if((d|0)==(i|0)){f=h;g=a;e=c[h>>2]|0;d=i}else{e=c[h>>2]|0;do{d=d+-28|0;Uf(e+-28|0,d);e=(c[h>>2]|0)+-28|0;c[h>>2]=e}while((d|0)!=(i|0));f=h;g=a;d=c[a>>2]|0}c[g>>2]=e;c[f>>2]=d;i=b+8|0;h=c[j>>2]|0;c[j>>2]=c[i>>2];c[i>>2]=h;i=a+8|0;j=b+12|0;a=c[i>>2]|0;c[i>>2]=c[j>>2];c[j>>2]=a;c[b>>2]=c[f>>2];return}function Sf(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a+4>>2]|0;e=a+8|0;b=c[e>>2]|0;if((b|0)!=(d|0))do{f=b+-28|0;c[e>>2]=f;qd(f);b=c[e>>2]|0}while((b|0)!=(d|0));b=c[a>>2]|0;if(b|0)cw(b);return}function Tf(a){a=a|0;return 153391689}function Uf(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a=a+12|0;b=b+12|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function Vf(a,b){a=a|0;b=b|0;var d=0;if((De(a)|0)>>>0<b>>>0)vu(a);else{d=aw(b)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+b;return}}function Wf(a,b){a=a|0;b=b|0;var d=0;if((Yf(a)|0)>>>0<b>>>0)vu(a);if(b>>>0>536870911){b=rb(8)|0;hw(b,11860);c[b>>2]=10092;kc(b|0,1912,91)}else{d=aw(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function Xf(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;Ix(d|0,0,b<<3|0)|0;c[a>>2]=d+(b<<3);return}function Yf(a){a=a|0;return 536870911}function Zf(a,b){a=a|0;b=b|0;var d=0;if(($f(a)|0)>>>0<b>>>0)vu(a);if(b>>>0>536870911){b=rb(8)|0;hw(b,11860);c[b>>2]=10092;kc(b|0,1912,91)}else{d=aw(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function _f(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;Ix(d|0,0,b<<3|0)|0;c[a>>2]=d+(b<<3);return}function $f(a){a=a|0;return 536870911}function ag(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;Ix(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function bg(a){a=a|0;return 1073741823}function cg(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=l;l=l+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0<b>>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=bg(a)|0;if(e>>>0<d>>>0)vu(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;dg(f,k>>2>>>0<e>>>1>>>0?(g>>>0<d>>>0?d:g):e,(c[h>>2]|0)-j>>2,a+8|0);eg(f,b);fg(a,f);gg(f);break}}else ag(a,b);while(0);l=i;return}function dg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+12>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){d=rb(8)|0;hw(d,11860);c[d>>2]=10092;kc(d|0,1912,91)}else{e=aw(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[a+12>>2]=e+(b<<2);return}function eg(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;Ix(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function fg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){Ox(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function gg(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-4-b|0)>>>2)<<2);a=c[a>>2]|0;if(a|0)cw(a);return}function hg(a,b){a=a|0;b=b|0;var d=0,e=0;d=a+4|0;e=c[d>>2]|0;if((e|0)==(c[a+8>>2]|0))lg(a,b);else{c[e>>2]=c[b>>2];c[d>>2]=e+4}return}function ig(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=a+4|0;e=c[g>>2]|0;i=c[a>>2]|0;h=e-i>>2;if(h>>>0>=b>>>0){if(h>>>0>b>>>0?(f=i+(b<<2)|0,(e|0)!=(f|0)):0)c[g>>2]=e+(~((e+-4-f|0)>>>2)<<2)}else mg(a,b-h|0,d);return}function jg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[b>>2]|0;if((c[b+4>>2]|0)-e>>2>>>0>d>>>0)oh(a,e+(d<<2)|0);else ph(a);return}function kg(a,b,d){a=a|0;b=b|0;d=d|0;c[(c[a>>2]|0)+(b<<2)>>2]=c[d>>2];return 1}function lg(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;h=l;l=l+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=bg(a)|0;if(g>>>0<f>>>0)vu(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;dg(d,k>>2>>>0<g>>>1>>>0?(j>>>0<f>>>0?f:j):g,(c[e>>2]|0)-i>>2,a+8|0);g=d+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[g>>2]=f+4;fg(a,d);gg(d);l=h;return}}function mg(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;j=l;l=l+32|0;g=j;h=a+8|0;i=a+4|0;e=c[i>>2]|0;do if((c[h>>2]|0)-e>>2>>>0<b>>>0){e=(e-(c[a>>2]|0)>>2)+b|0;f=bg(a)|0;if(f>>>0<e>>>0)vu(a);else{k=c[a>>2]|0;m=(c[h>>2]|0)-k|0;h=m>>1;dg(g,m>>2>>>0<f>>>1>>>0?(h>>>0<e>>>0?e:h):f,(c[i>>2]|0)-k>>2,a+8|0);ng(g,b,d);fg(a,g);gg(g);break}}else{f=e+(b<<2)|0;while(1){c[e>>2]=c[d>>2];b=b+-1|0;if(!b)break;else e=e+4|0}c[i>>2]=f}while(0);l=j;return}function ng(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+8|0;a=c[f>>2]|0;e=a;while(1){c[e>>2]=c[d>>2];a=a+4|0;b=b+-1|0;if(!b)break;else e=a}c[f>>2]=a;return}function og(){return}function pg(a){a=a|0;return xg(a)|0}function qg(){return 0}function rg(){return 0}function sg(a){a=a|0;if(a|0){Bd(a);cw(a)}return}function tg(){return yg()|0}function ug(){return zg()|0}function vg(){return Ag()|0}function wg(){return 0}function xg(a){a=a|0;return 280}function yg(){return 280}function zg(){return 304}function Ag(){return 320}function Bg(){return 12949}function Cg(){return 12952}function Dg(){return 12954}function Eg(){var a=0;a=aw(12)|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return a|0}function Fg(a){a=a|0;return Ig(vc[a&1]()|0)|0}function Gg(a){a=a|0;return 1}function Hg(a){a=a|0;return Jg()|0}function Ig(a){a=a|0;return a|0}function Jg(){return 2784}function Kg(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,h=0,i=0;f=l;l=l+16|0;e=f;i=Og(b)|0;b=c[a>>2]|0;h=c[a+4>>2]|0;a=i+(h>>1)|0;if(h&1)b=c[(c[a>>2]|0)+b>>2]|0;g[e>>2]=+Pg(d);xc[b&63](a,e);l=f;return}function Lg(a){a=a|0;return 3}function Mg(a){a=a|0;return Qg()|0}function Ng(a){a=a|0;var b=0,d=0;b=aw(8)|0;d=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=d;return b|0}function Og(a){a=a|0;return a|0}function Pg(a){a=+a;return +a}function Qg(){return 2788}function Rg(){return 12957}function Sg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,h=0,i=0,j=0;h=l;l=l+16|0;f=h;j=Og(b)|0;b=c[a>>2]|0;i=c[a+4>>2]|0;a=j+(i>>1)|0;if(i&1)b=c[(c[a>>2]|0)+b>>2]|0;j=Wg(d)|0;g[f>>2]=+Pg(e);Ec[b&3](a,j,f);l=h;return}function Tg(a){a=a|0;return 4}function Ug(a){a=a|0;return Xg()|0}function Vg(a){a=a|0;var b=0,d=0;b=aw(8)|0;d=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=d;return b|0}function Wg(a){a=a|0;return a|0}function Xg(){return 2800}function Yg(){return 12962}function Zg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=l;l=l+16|0;d=e;g=ch(b)|0;b=c[a>>2]|0;f=c[a+4>>2]|0;a=g+(f>>1)|0;if(f&1)b=c[(c[a>>2]|0)+b>>2]|0;c[d>>2]=Ac[b&63](a)|0;g=bh(d)|0;l=e;return g|0}function _g(a){a=a|0;return 2}function $g(a){a=a|0;return dh()|0}function ah(a){a=a|0;var b=0,d=0;b=aw(8)|0;d=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=d;return b|0}function bh(a){a=a|0;return c[a>>2]|0}function ch(a){a=a|0;return a|0}function dh(){return 2816}function eh(){return 12968}function fh(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;a=c[a>>2]|0;b=kh(b)|0;d=Wg(d)|0;Ec[a&3](f,b,d);d=jh(f)|0;lh(f);l=e;return d|0}function gh(a){a=a|0;return 3}function hh(a){a=a|0;return mh()|0}function ih(a){a=a|0;var b=0;b=aw(4)|0;c[b>>2]=c[a>>2];return b|0}function jh(a){a=a|0;_b(c[a>>2]|0);return c[a>>2]|0}function kh(a){a=a|0;return a|0}function lh(a){a=a|0;_a(c[a>>2]|0);return}function mh(){return 2824}function nh(){return 12991}function oh(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;qh(e,b);b=rh()|0;c[a>>2]=Za(b|0,sh(e)|0)|0;l=d;return}function ph(a){a=a|0;wh(a,1);return}function qh(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;th(e,+uh(b));Mf(e);l=d;return}function rh(){return vh()|0}function sh(a){a=a|0;return a|0}function th(a,b){a=a|0;b=+b;var d=0;d=c[a>>2]|0;g[d>>2]=b;c[a>>2]=d+8;return}function uh(a){a=a|0;return +(+g[a>>2])}function vh(){return 2072}function wh(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function xh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,h=0;f=l;l=l+16|0;h=f;a=c[a>>2]|0;b=kh(b)|0;d=Wg(d)|0;g[h>>2]=+Pg(e);d=Bh(Dc[a&31](b,d,h)|0)|0;l=f;return d|0}function yh(a){a=a|0;return 4}function zh(a){a=a|0;return Ch()|0}function Ah(a){a=a|0;var b=0;b=aw(4)|0;c[b>>2]=c[a>>2];return b|0}function Bh(a){a=a|0;return a|0}function Ch(){return 2836}function Dh(){return 12996}function Eh(){return}function Fh(a){a=a|0;return Mh(a)|0}function Gh(){return 0}function Hh(){return 0}function Ih(a){a=a|0;if(a|0){Nh(a);cw(a)}return}function Jh(){return Oh()|0}function Kh(){return Ph()|0}function Lh(){return Qh()|0}function Mh(a){a=a|0;return 344}function Nh(a){a=a|0;mw(a+24|0);Bd(a);return}function Oh(){return 344}function Ph(){return 352}function Qh(){return 368}function Rh(a){a=a|0;var b=0;b=aw(36)|0;Yh(b,a);return b|0}function Sh(a,b){a=a|0;b=b|0;var c=0,d=0;c=l;l=l+16|0;d=c;Wh(d,b);b=Vh(Ac[a&63](d)|0)|0;mw(d);l=c;return b|0}function Th(a){a=a|0;return 2}function Uh(a){a=a|0;return Xh()|0}function Vh(a){a=a|0;return a|0}function Wh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=l;l=l+16|0;e=g;f=c[d>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;if(f>>>0>4294967279)jw(b);if(f>>>0<11)a[b+11>>0]=f;else{i=f+16&-16;h=aw(i)|0;c[b>>2]=h;c[b+8>>2]=i|-2147483648;c[b+4>>2]=f;b=h}Te(b,d+4|0,f)|0;a[e>>0]=0;re(b+f|0,e);l=g;return}function Xh(){return 2852}function Yh(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;n=l;l=l+32|0;j=n+20|0;f=n+16|0;g=n+12|0;k=n;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;m=b+24|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[f>>2]=0;h=b+12|0;c[h>>2]=-1;e=b+16|0;c[e>>2]=-1;c[g>>2]=0;i=m+11|0;a[j>>0]=0;re(m,j);a[i>>0]=0;o=a[d+11>>0]|0;p=o<<24>>24<0;d=id(f,h,e,p?c[d>>2]|0:d,p?c[d+4>>2]|0:o&255,g)|0;c[b+20>>2]=d;if(d){e=c[g>>2]|0;if(e|0){c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;f=oe(e)|0;if(f>>>0>4294967279)jw(k);if(f>>>0<11){a[k+11>>0]=f;d=k}else{p=f+16&-16;d=aw(p)|0;c[k>>2]=d;c[k+8>>2]=p|-2147483648;c[k+4>>2]=f}Te(d,e,f)|0;a[j>>0]=0;re(d+f|0,j);if((a[i>>0]|0)<0){p=c[m>>2]|0;a[j>>0]=0;re(p,j);c[b+28>>2]=0}else{a[j>>0]=0;re(m,j);a[i>>0]=0}rw(m,0);c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];c[m+8>>2]=c[k+8>>2];c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;mw(k)}}else{Dd(b,P(c[h>>2]<<2,c[e>>2]|0)|0);Ox(c[b>>2]|0,c[f>>2]|0,P(c[h>>2]<<4,c[e>>2]|0)|0)|0;Zj(c[f>>2]|0)}l=n;return}function Zh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=l;l=l+16|0;d=e;g=bi(b)|0;b=c[a>>2]|0;f=c[a+4>>2]|0;a=g+(f>>1)|0;if(f&1)b=c[(c[a>>2]|0)+b>>2]|0;xc[b&63](d,a);g=jh(d)|0;lh(d);l=e;return g|0}function _h(a){a=a|0;return 2}function $h(a){a=a|0;return ci()|0}function ai(a){a=a|0;var b=0,d=0;b=aw(8)|0;d=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=d;return b|0}function bi(a){a=a|0;return a|0}function ci(){return 2860}function di(a,b){a=a|0;b=b|0;var d=0,e=0;e=bi(b)|0;b=c[a>>2]|0;d=c[a+4>>2]|0;a=e+(d>>1)|0;if(d&1)b=c[(c[a>>2]|0)+b>>2]|0;return Bh(Ac[b&63](a)|0)|0}function ei(a){a=a|0;return 2}function fi(a){a=a|0;return hi()|0}function gi(a){a=a|0;var b=0,d=0;b=aw(8)|0;d=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=d;return b|0}function hi(){return 2868}function ii(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=l;l=l+16|0;d=e;g=bi(b)|0;b=c[a>>2]|0;f=c[a+4>>2]|0;a=g+(f>>1)|0;if(f&1)b=c[(c[a>>2]|0)+b>>2]|0;xc[b&63](d,a);g=mi(d)|0;mw(d);l=e;return g|0}function ji(a){a=a|0;return 2}function ki(a){a=a|0;return ni()|0}function li(a){a=a|0;var b=0,d=0;b=aw(8)|0;d=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=d;return b|0}function mi(b){b=b|0;var d=0,e=0,f=0;e=a[b+11>>0]|0;f=e<<24>>24<0;e=f?c[b+4>>2]|0:e&255;d=Yj(e+4|0)|0;c[d>>2]=e;Ox(d+4|0,(f?c[b>>2]|0:b)|0,e|0)|0;return d|0}function ni(){return 2876}function oi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=l;l=l+16|0;d=e;g=bi(b)|0;b=c[a>>2]|0;f=c[a+4>>2]|0;a=g+(f>>1)|0;if(f&1)b=c[(c[a>>2]|0)+b>>2]|0;c[d>>2]=Ac[b&63](a)|0;g=si(d)|0;l=e;return g|0}function pi(a){a=a|0;return 2}function qi(a){a=a|0;return ti()|0}function ri(a){a=a|0;var b=0,d=0;b=aw(8)|0;d=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=d;return b|0}function si(a){a=a|0;return c[a>>2]|0}function ti(){return 2884}function ui(){Ed();Hd();return}function vi(){wi();return}function wi(){xi(0);return}function xi(a){a=a|0;Ub(yi()|0,13139);Va(zi()|0,13144,1,1,0);Ai();Bi();Ci();Di();Ei();Fi();Gi();Hi();Ii();Ji();Ki();Fa(Li()|0,13149);Fa(Mi()|0,13161);Yb(Ni()|0,4,13194);hb(Oi()|0,13207);Pi();Qi(13223);Ri(13260);Si(13299);Ti(13330);Ui(13370);Vi(13399);Wi();Xi();Qi(13437);Ri(13469);Si(13502);Ti(13535);Ui(13569);Vi(13602);Yi();Zi();_i();return}function yi(){return Wj()|0}function zi(){return Vj()|0}function Ai(){qb(Tj()|0,14398,1,-128,127);return}function Bi(){qb(Rj()|0,14386,1,-128,127);return}function Ci(){qb(Pj()|0,14372,1,0,255);return}function Di(){qb(Nj()|0,14366,2,-32768,32767);return}function Ei(){qb(Lj()|0,14351,2,0,65535);return}function Fi(){qb(Jj()|0,14347,4,-2147483648,2147483647);return}function Gi(){qb(Hj()|0,14334,4,0,-1);return}function Hi(){qb(Fj()|0,14329,4,-2147483648,2147483647);return}function Ii(){qb(Dj()|0,14315,4,0,-1);return}function Ji(){ec(Bj()|0,14309,4);return}function Ki(){ec(zj()|0,14302,8);return}function Li(){return yj()|0}function Mi(){return xj()|0}function Ni(){return wj()|0}function Oi(){return vj()|0}function Pi(){Pb(tj()|0,0,14115);return}function Qi(a){a=a|0;Pb(rj()|0,0,a|0);return}function Ri(a){a=a|0;Pb(pj()|0,1,a|0);return}function Si(a){a=a|0;Pb(nj()|0,2,a|0);return}function Ti(a){a=a|0;Pb(lj()|0,3,a|0);return}function Ui(a){a=a|0;Pb(jj()|0,4,a|0);return}function Vi(a){a=a|0;Pb(hj()|0,5,a|0);return}function Wi(){Pb(fj()|0,4,13868);return}function Xi(){Pb(dj()|0,5,13798);return}function Yi(){Pb(If()|0,6,13767);return}function Zi(){Pb(bj()|0,7,13704);return}function _i(){Pb($i()|0,7,13636);return}function $i(){return aj()|0}function aj(){return 416}function bj(){return cj()|0}function cj(){return 424}function dj(){return ej()|0}function ej(){return 432}function fj(){return gj()|0}function gj(){return 440}function hj(){return ij()|0}function ij(){return 448}function jj(){return kj()|0}function kj(){return 456}function lj(){return mj()|0}function mj(){return 464}function nj(){return oj()|0}function oj(){return 472}function pj(){return qj()|0}function qj(){return 480}function rj(){return sj()|0}function sj(){return 488}function tj(){return uj()|0}function uj(){return 496}function vj(){return 336}function wj(){return 504}function xj(){return 528}function yj(){return 392}function zj(){return Aj()|0}function Aj(){return 2080}function Bj(){return Cj()|0}function Cj(){return 2072}function Dj(){return Ej()|0}function Ej(){return 2064}function Fj(){return Gj()|0}function Gj(){return 2056}function Hj(){return Ij()|0}function Ij(){return 2048}function Jj(){return Kj()|0}function Kj(){return 2040}function Lj(){return Mj()|0}function Mj(){return 2032}function Nj(){return Oj()|0}function Oj(){return 2024}function Pj(){return Qj()|0}function Qj(){return 2008}function Rj(){return Sj()|0}function Sj(){return 2016}function Tj(){return Uj()|0}function Uj(){return 2e3}function Vj(){return 1992}function Wj(){return 1976}function Xj(a){a=a|0;return rk(c[a+4>>2]|0)|0}
// EMSCRIPTEN_END_FUNCS
var qc=[ty,$q,fr,bs,cs,ms,ns,ty];var rc=[uy,Jt,eu,fu,gu,mu,uy,uy];var sc=[vy,de,Bm,Is,Ns,Rw,_w,vx];var tc=[wy,Sw,$w,wx];var uc=[xy,vs,Bs,xy];var vc=[yy,Eg];var wc=[zy,Qd,Wd,Xd,Yd,Zd,_d,Ym,Zm,_m,$m,an,bn,Om,Pm,Qm,Rm,Tm,Um,Vm,Wm,be,ce,um,wm,xm,ym,on,pn,qn,vn,wn,Bn,Cn,wo,xo,Xo,Yo,mp,np,Ap,Bp,lq,mq,Zq,_q,dr,er,jr,kr,ur,vr,Fr,Gr,Qr,Rr,$r,as,ks,ls,ts,us,zs,As,Fs,Gs,Ks,Ls,un,_s,Ps,nt,ot,zt,At,Ct,Dt,Pt,Qt,Wt,Xt,bu,cu,pu,qu,ru,Mw,Nw,Ow,Pw,Zw,ix,jx,ox,px,rx,ux,sg,Ih,Vn,Xn,mw,Rp,Tp,Vp,Aw,Dq,Fq,Hq,ds,Zj,dx,zy,zy,zy,zy,zy,zy,zy,zy,zy,zy,zy,zy,zy,zy,zy,zy];var xc=[Ay,zm,nr,or,pr,qr,sr,tr,yr,zr,Ar,Br,Dr,Er,Jr,Kr,Lr,Mr,Or,Pr,Ur,Vr,Wr,Xr,Zr,_r,Js,Os,Tt,Ut,Vt,_t,$t,au,Tc,hg,Jd,Ld,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay,Ay];var yc=[By,Dn,En,Fn,Gn,Hn,In,Jn,Kn,Ln,Mn,Nn,yo,zo,Ao,Bo,Co,Do,Eo,Fo,Go,Ho,Io,$o,bp,qp,sp,Dp,Ep,Fp,Gp,Hp,oq,pq,qq,rq,sq,ws,Cs,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By,By];var zc=[Cy,cp,dp,tp,up,Cy,Cy,Cy];var Ac=[Dy,Dm,Em,fe,Hm,bk,Gm,Cp,Jp,Kp,Lp,Mp,Np,Op,Pp,nq,uq,vq,wq,xq,yq,zq,Aq,lr,mr,rr,wr,xr,Cr,Hr,Ir,Nr,Sr,Tr,Yr,Ts,Us,Ws,jt,kt,mt,Rt,St,Yt,Zt,ct,dt,ft,st,tt,vt,kx,pg,Fg,Ef,Fh,Rh,Kd,Md,Nd,Dy,Dy,Dy,Dy];var Bc=[Ey,Kg];var Cc=[Fy,Sg];var Dc=[Gy,Am,Fm,Jm,ik,ck,jk,Vk,tn,zn,Hs,Ms,Ft,Ht,Kt,du,iu,ku,nu,Qw,qx,sx,Sc,fh,kg,gl,Gy,Gy,Gy,Gy,Gy,Gy];var Ec=[Hy,ig,jg,Hy];var Fc=[Iy,Jw,cx,Iy];var Gc=[Jy,Ip,tq,Qs,Rs,gt,ht,$s,at,pt,qt,Jy,Jy,Jy,Jy,Jy];var Hc=[Ky,ee,Cm,sn,yn,Tw,ax,xx];var Ic=[Ly,ge,he,Im,Km,Et,Gt,It,hu,ju,lu,Zg,Sh,Zh,di,ii,oi,Ly,Ly,Ly,Ly,Ly,Ly,Ly,Ly,Ly,Ly,Ly,Ly,Ly,Ly,Ly];var Jc=[My,xh];var Kc=[Ny,rn,xn,Zo,_o,ap,ep,op,pp,rp,vp,Ss,Vs,it,lt,Lt,ou,bt,et,rt,ut,Ny,Ny,Ny,Ny,Ny,Ny,Ny,Ny,Ny,Ny,Ny];return{dynCall_i:dy,stackSave:Mc,_i64Subtract:Hx,___udivdi3:Rx,dynCall_iiiiiii:gy,setThrew:Pc,dynCall_viii:my,_bitshift64Lshr:Mx,dynCall_iiiiiid:cy,_bitshift64Shl:Vx,dynCall_viiii:py,_fflush:al,___cxa_is_pointer_type:Fx,___errno_location:ek,dynCall_iiiiiiiii:oy,_bitshift64Ashr:Lx,_memset:Ix,dynCall_ii:iy,_sbrk:Ux,_memcpy:Ox,stackAlloc:Lc,___muldi3:Tx,__GLOBAL__sub_I_binding_cc:ui,dynCall_vii:fy,___uremdi3:Xx,dynCall_vi:ey,getTempRet0:Rc,__GLOBAL__sub_I_bind_cpp:vi,setTempRet0:Qc,_i64Add:Kx,dynCall_iiii:ly,_pthread_mutex_unlock:Yx,dynCall_iiiiid:hy,_emscripten_get_global_libc:kk,dynCall_iiiii:$x,___getTypeName:Xj,dynCall_viiid:ky,dynCall_iiiiiiii:_x,_pthread_cond_broadcast:Nx,dynCall_iiiiii:sy,_llvm_bswap_i32:Zx,dynCall_viiiii:by,___cxa_can_catch:Ex,_free:Zj,runPostSets:Gx,dynCall_viiiiii:ay,establishStackSpace:Oc,_memmove:Wx,stackRestore:Nc,_malloc:Yj,dynCall_iii:qy,_pthread_mutex_lock:Jx,dynCall_iiiid:ry,dynCall_viid:jy,dynCall_v:ny}})
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var stackSave=Module["stackSave"]=asm["stackSave"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var setThrew=Module["setThrew"]=asm["setThrew"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _fflush=Module["_fflush"]=asm["_fflush"];var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=asm["___cxa_is_pointer_type"];var _bitshift64Ashr=Module["_bitshift64Ashr"]=asm["_bitshift64Ashr"];var _memset=Module["_memset"]=asm["_memset"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var __GLOBAL__sub_I_binding_cc=Module["__GLOBAL__sub_I_binding_cc"]=asm["__GLOBAL__sub_I_binding_cc"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var __GLOBAL__sub_I_bind_cpp=Module["__GLOBAL__sub_I_bind_cpp"]=asm["__GLOBAL__sub_I_bind_cpp"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _pthread_mutex_unlock=Module["_pthread_mutex_unlock"]=asm["_pthread_mutex_unlock"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var ___getTypeName=Module["___getTypeName"]=asm["___getTypeName"];var _pthread_cond_broadcast=Module["_pthread_cond_broadcast"]=asm["_pthread_cond_broadcast"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var ___cxa_can_catch=Module["___cxa_can_catch"]=asm["___cxa_can_catch"];var _free=Module["_free"]=asm["_free"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var _memmove=Module["_memmove"]=asm["_memmove"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var _malloc=Module["_malloc"]=asm["_malloc"];var _pthread_mutex_lock=Module["_pthread_mutex_lock"]=asm["_pthread_mutex_lock"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=asm["dynCall_iiiiiid"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_iiiiid=Module["dynCall_iiiiid"]=asm["dynCall_iiiiid"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_viid=Module["dynCall_viid"]=asm["dynCall_viid"];var dynCall_viiid=Module["dynCall_viiid"]=asm["dynCall_viiid"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiiid=Module["dynCall_iiiid"]=asm["dynCall_iiiid"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];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;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);try{var ret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}Module.printErr("exception thrown: "+toLog);Module["quit"](1,e)}}finally{calledMain=true}};function run(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}Module["quit"](status,new ExitStatus(status))}Module["exit"]=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"]=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}run()