-
Notifications
You must be signed in to change notification settings - Fork 0
/
draco_encoder.js
38 lines (30 loc) · 883 KB
/
draco_encoder.js
1
2
3
4
5
6
7
8
9
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
36
37
38
var DracoEncoderModule = (() => {
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;
return (
function(DracoEncoderModule) {
DracoEncoderModule = DracoEncoderModule || {};
var Module=typeof DracoEncoderModule!=="undefined"?DracoEncoderModule:{};var objAssign=Object.assign;var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise(function(resolve,reject){readyPromiseResolve=resolve;readyPromiseReject=reject});var isRuntimeInitialized=false;var isModuleParsed=false;Module["onRuntimeInitialized"]=function(){isRuntimeInitialized=true;if(isModuleParsed){if(typeof Module["onModuleLoaded"]==="function"){Module["onModuleLoaded"](Module)}}};Module["onModuleParsed"]=function(){isModuleParsed=true;if(isRuntimeInitialized){if(typeof Module["onModuleLoaded"]==="function"){Module["onModuleLoaded"](Module)}}};function isVersionSupported(versionString){if(typeof versionString!=="string")return false;const version=versionString.split(".");if(version.length<2||version.length>3)return false;if(version[0]==1&&version[1]>=0&&version[1]<=5)return true;if(version[0]!=0||version[1]>10)return false;return true}Module["isVersionSupported"]=isVersionSupported;var moduleOverrides=objAssign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;function logExceptionOnExit(e){if(e instanceof ExitStatus)return;let toLog=e;err("exiting due to exception: "+toLog)}var fs;var nodePath;var requireNodeFS;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}requireNodeFS=(()=>{if(!nodePath){fs=require("fs");nodePath=require("path")}});read_=function shell_read(filename,binary){var ret=tryParseAsDataURI(filename);if(ret){return binary?ret:ret.toString()}requireNodeFS();filename=nodePath["normalize"](filename);return fs.readFileSync(filename,binary?null:"utf8")};readBinary=(filename=>{var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}return ret});readAsync=((filename,onload,onerror)=>{var ret=tryParseAsDataURI(filename);if(ret){onload(ret)}requireNodeFS();filename=nodePath["normalize"](filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else onload(data.buffer)})});if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);quit_=((status,toThrow)=>{if(keepRuntimeAlive()){process["exitCode"]=status;throw toThrow}logExceptionOnExit(toThrow);process["exit"](status)});Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!=="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=(url=>{try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}});if(ENVIRONMENT_IS_WORKER){readBinary=(url=>{try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}})}readAsync=((url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=(()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()});xhr.onerror=onerror;xhr.send(null)})}setWindowTitle=(title=>document.title=title)}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);objAssign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;var WebAssembly={Memory:function(opts){this.buffer=new ArrayBuffer(opts["initial"]*65536)},Module:function(binary){},Instance:function(module,info){this.exports=(
// EMSCRIPTEN_START_ASM
function instantiate(pa){function c(d){d.set=function(a,b){this[a]=b};d.get=function(a){return this[a]};return d}var e;var f=new Uint8Array(123);for(var a=25;a>=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a<j;a+=4){g=f[o.charCodeAt(a+1)];h=f[o.charCodeAt(a+2)];m[i++]=f[o.charCodeAt(a)]<<2|g>>4;if(i<k)m[i++]=g<<4|h>>2;if(i<k)m[i++]=h<<6|f[o.charCodeAt(a+3)]}}function p(q){l(e,1028,"YAQAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAE41ZHJhY28yOEF0dHJpYnV0ZU9jdGFoZWRyb25UcmFuc2Zvcm1FAACoSAAAOAQAAJQIAAAAAAAA0AQAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAAAoAAAAXAAAAGAAAAE41ZHJhY28zMEF0dHJpYnV0ZVF1YW50aXphdGlvblRyYW5zZm9ybUUAAAAAqEgAAKQEAACUCAAAY29tcHJlc3NfY29ubmVjdGl2aXR5AGluZmluaXR5AC0rICAgMFgweAAtMFgrMFggMFgtMHgrMHggMHgAX19uZXh0X3ByaW1lIG92ZXJmbG93AHN0b3JlX251bWJlcl9vZl9lbmNvZGVkX3BvaW50cwBxdWFudGl6YXRpb25fYml0cwBzcGxpdF9tZXNoX29uX3NlYW1zAHN0b3JlX251bWJlcl9vZl9lbmNvZGVkX2ZhY2VzAHZlY3RvcgBwcmVkaWN0aXZlX2VkZ2VicmVha2VyAHN0YW5kYXJkX2VkZ2VicmVha2VyAHN0ZDo6ZXhjZXB0aW9uAHVzZV9idWlsdF9pbl9hdHRyaWJ1dGVfY29tcHJlc3Npb24AcXVhbnRpemF0aW9uX29yaWdpbgBuYW4Ac3ltYm9sX2VuY29kaW5nX2NvbXByZXNzaW9uX2xldmVsAGJhc2ljX3N0cmluZwBpbmYAJWYAYWxsb2NhdG9yPFQ+OjphbGxvY2F0ZShzaXplX3QgbikgJ24nIGV4Y2VlZHMgbWF4aW11bSBzdXBwb3J0ZWQgc2l6ZQBwcmVkaWN0aW9uX3NjaGVtZQBxdWFudGl6YXRpb25fcmFuZ2UAZWRnZWJyZWFrZXJfbWV0aG9kAHN5bWJvbF9lbmNvZGluZ19tZXRob2QAZW5jb2Rpbmdfc3BlZWQAZGVjb2Rpbmdfc3BlZWQARFJBQ08ATkFOAElORgBJbnZhbGlkIGlucHV0IGdlb21ldHJ5LgBGYWlsZWQgdG8gZW5jb2RlIG1lc2ggY29tcG9uZW50LgBGYWlsZWQgdG8gZW5jb2RlIHBvaW50IGF0dHJpYnV0ZXMuAEZhaWxlZCB0byBwcm9jZXNzIG1lc2ggaG9sZXMuAEZhaWxlZCB0byBpbml0aWFsaXplIGVuY29kZXIuAEFsbCB0cmlhbmdsZXMgYXJlIGRlZ2VuZXJhdGUuAEludmFsaWQgZW5jb2RpbmcgbWV0aG9kLgBGYWlsZWQgdG8gZW5jb2RlIG1ldGFkYXRhLgBGYWlsZWQgdG8gZW5jb2RlIHNwbGl0IGRhdGEuAEZhaWxlZCB0byBlbmNvZGUgaW50ZXJuYWwgZGF0YS4ARmFpbGVkIHRvIGluaXRpYWxpemUgYXR0cmlidXRlIGRhdGEuAChudWxsKQBQdXJlIHZpcnR1YWwgZnVuY3Rpb24gY2FsbGVkIQAgAE41ZHJhY28xOEF0dHJpYnV0ZVRyYW5zZm9ybUUAAIBIAAB2CAAA/////wAAAAD4CAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAdAAAAJAAAAE41ZHJhY28xN0F0dHJpYnV0ZXNFbmNvZGVyRQCASAAA3AgAAAAAAABgCQAAJQAAACYAAAAbAAAAHAAAACcAAAAeAAAAHwAAACAAAAAhAAAAIgAAACgAAAApAAAAKgAAAE41ZHJhY28yM0tkVHJlZUF0dHJpYnV0ZXNFbmNvZGVyRQAAAKhIAAA8CQAA+AgAAAAAAADMCQAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAATjVkcmFjbzI2U2VxdWVudGlhbEF0dHJpYnV0ZUVuY29kZXJFAAAAAIBIAACkCQAAAAAAAEgKAAA3AAAAOAAAADkAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAQQAAAEIAAABDAAAARAAAAEUAAABONWRyYWNvMzdTZXF1ZW50aWFsQXR0cmlidXRlRW5jb2RlcnNDb250cm9sbGVyRQCoSAAAGAoAAPgIAAAAAAAAwAoAAEYAAABHAAAASAAAAC4AAABJAAAAMAAAADEAAAAyAAAASgAAADQAAAA1AAAASwAAAEwAAABNAAAATjVkcmFjbzMzU2VxdWVudGlhbEludGVnZXJBdHRyaWJ1dGVFbmNvZGVyRQCoSAAAlAoAAMwJAAD/////AAAAAFANAABOAAAATwAAAFAAAABRAAAAUgAAAFMAAABUAAAAVQAAAFYAAABXAAAAWAAAAFkAAABONWRyYWNvNDBNZXNoUHJlZGljdGlvblNjaGVtZVBhcmFsbGVsb2dyYW1FbmNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRW5jb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzI3TWVzaFByZWRpY3Rpb25TY2hlbWVFbmNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRW5jb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzIzUHJlZGljdGlvblNjaGVtZUVuY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBFbmNvZGluZ1RyYW5zZm9ybUlpaUVFRUUATjVkcmFjbzM3UHJlZGljdGlvblNjaGVtZVR5cGVkRW5jb2RlckludGVyZmFjZUlpaUVFAE41ZHJhY28zMlByZWRpY3Rpb25TY2hlbWVFbmNvZGVySW50ZXJmYWNlRQBONWRyYWNvMjVQcmVkaWN0aW9uU2NoZW1lSW50ZXJmYWNlRQCASAAA9AwAAKhIAADJDAAAGA0AAKhIAACVDAAAIA0AAKhIAABBDAAALA0AAKhIAACrCwAAOA0AAKhIAAAICwAARA0AAAAAAABEDQAATgAAAFoAAAAdAAAAUQAAAB0AAABTAAAAVAAAAFUAAABWAAAAVwAAAFgAAAAdAAAAAAAAADgNAABOAAAAWwAAAB0AAABRAAAAHQAAAFMAAABUAAAAVQAAAFYAAABXAAAAWAAAAB0AAAAAAAAAuA4AAFwAAABdAAAAXgAAAFEAAABfAAAAUwAAAFQAAABVAAAAVgAAAFcAAABgAAAAYQAAAE41ZHJhY281Nk1lc2hQcmVkaWN0aW9uU2NoZW1lQ29uc3RyYWluZWRNdWx0aVBhcmFsbGVsb2dyYW1FbmNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRW5jb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUAAKhIAAAEDgAARA0AAAAAAACkDwAAYgAAAGMAAABkAAAAUQAAAGUAAABmAAAAZwAAAGgAAABWAAAAVwAAAGkAAABqAAAATjVkcmFjbzQ0TWVzaFByZWRpY3Rpb25TY2hlbWVUZXhDb29yZHNQb3J0YWJsZUVuY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBFbmNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQAAqEgAAPwOAABEDQAAAAAAAJAQAABrAAAAbAAAAG0AAABRAAAAbgAAAG8AAABwAAAAcQAAAFYAAABXAAAAcgAAAHMAAABONWRyYWNvNDJNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbEVuY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBFbmNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQAAAACoSAAA6A8AAEQNAAAAAAAAGBIAAHQAAAB1AAAAdgAAAHcAAAB4AAAATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JBcmVhSWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRW5jb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JCYXNlSWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRW5jb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUAAACASAAAYxEAAKhIAAC4EAAAEBIAAAAAAAAQEgAAdAAAAHkAAAAdAAAAdwAAAB0AAAAAAAAApBMAAE4AAAB6AAAAewAAAFEAAAB8AAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAfQAAAE41ZHJhY280ME1lc2hQcmVkaWN0aW9uU2NoZW1lUGFyYWxsZWxvZ3JhbUVuY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBFbmNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAE41ZHJhY28yN01lc2hQcmVkaWN0aW9uU2NoZW1lRW5jb2RlcklpTlNfMzdQcmVkaWN0aW9uU2NoZW1lV3JhcEVuY29kaW5nVHJhbnNmb3JtSWlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18xMUNvcm5lclRhYmxlRUVFRUUAAKhIAAAOEwAAOA0AAKhIAAB4EgAAmBMAAAAAAACYEwAATgAAAH4AAAAdAAAAUQAAAB0AAABTAAAAVAAAAFUAAABWAAAAVwAAAFgAAAAdAAAAAAAAAMgUAAB/AAAAgAAAAIEAAABRAAAAggAAAFMAAABUAAAAVQAAAFYAAABXAAAAgwAAAIQAAABONWRyYWNvNTZNZXNoUHJlZGljdGlvblNjaGVtZUNvbnN0cmFpbmVkTXVsdGlQYXJhbGxlbG9ncmFtRW5jb2RlcklpTlNfMzdQcmVkaWN0aW9uU2NoZW1lV3JhcEVuY29kaW5nVHJhbnNmb3JtSWlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18xMUNvcm5lclRhYmxlRUVFRUUAAACoSAAAIBQAAJgTAAAAAAAAqBUAAIUAAACGAAAAhwAAAFEAAACIAAAAiQAAAIoAAACLAAAAVgAAAFcAAACMAAAAjQAAAE41ZHJhY280NE1lc2hQcmVkaWN0aW9uU2NoZW1lVGV4Q29vcmRzUG9ydGFibGVFbmNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRW5jb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQAAAKhIAAAMFQAAmBMAAAAAAACEFgAAjgAAAI8AAACQAAAAUQAAAJEAAACSAAAAkwAAAJQAAABWAAAAVwAAAJUAAACWAAAATjVkcmFjbzQyTWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxFbmNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRW5jb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQCoSAAA7BUAAJgTAAAAAAAA8BcAAJcAAACYAAAAmQAAAJoAAACbAAAATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JBcmVhSWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRW5jb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQBONWRyYWNvNDhNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbFByZWRpY3RvckJhc2VJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBFbmNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAIBIAABKFwAAqEgAAKwWAADoFwAAAAAAAOgXAACXAAAAnAAAAB0AAACaAAAAHQAAAAAAAACsGAAATgAAAJ0AAACeAAAAUQAAAJ8AAABTAAAAVAAAAFUAAABWAAAAVwAAAFgAAACgAAAATjVkcmFjbzI4UHJlZGljdGlvblNjaGVtZURlbHRhRW5jb2RlcklpTlNfMzdQcmVkaWN0aW9uU2NoZW1lV3JhcEVuY29kaW5nVHJhbnNmb3JtSWlpRUVFRQAAAACoSAAAUBgAADgNAAAAAAAAJBkAAKEAAACiAAAAowAAAC4AAABJAAAAMAAAAKQAAAClAAAApgAAADQAAAA1AAAASwAAAKcAAACoAAAATjVkcmFjbzMyU2VxdWVudGlhbE5vcm1hbEF0dHJpYnV0ZUVuY29kZXJFAACoSAAA+BgAAMAKAAAAAAAAWBsAAKkAAACqAAAAqwAAAKwAAACtAAAArgAAAK8AAACwAAAAsQAAALIAAACzAAAAtAAAAE41ZHJhY280ME1lc2hQcmVkaWN0aW9uU2NoZW1lUGFyYWxsZWxvZ3JhbUVuY29kZXJJaU5TXzYyUHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25DYW5vbmljYWxpemVkRW5jb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQBONWRyYWNvMjdNZXNoUHJlZGljdGlvblNjaGVtZUVuY29kZXJJaU5TXzYyUHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25DYW5vbmljYWxpemVkRW5jb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQBONWRyYWNvMjNQcmVkaWN0aW9uU2NoZW1lRW5jb2RlcklpTlNfNjJQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkNhbm9uaWNhbGl6ZWRFbmNvZGluZ1RyYW5zZm9ybUlpRUVFRQAAAACoSAAA0RoAACwNAACoSAAAIxoAAEAbAACoSAAAaBkAAEwbAAAAAAAAaBwAALUAAAC2AAAAtwAAAKwAAAC4AAAArgAAAK8AAACwAAAAsQAAALIAAAC5AAAAugAAAE41ZHJhY281Nk1lc2hQcmVkaWN0aW9uU2NoZW1lQ29uc3RyYWluZWRNdWx0aVBhcmFsbGVsb2dyYW1FbmNvZGVySWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZEVuY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUAAKhIAACcGwAATBsAAAAAAABsHQAAuwAAALwAAAC9AAAArAAAAL4AAAC/AAAAwAAAAMEAAACxAAAAsgAAAMIAAADDAAAATjVkcmFjbzQ0TWVzaFByZWRpY3Rpb25TY2hlbWVUZXhDb29yZHNQb3J0YWJsZUVuY29kZXJJaU5TXzYyUHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25DYW5vbmljYWxpemVkRW5jb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQAAqEgAAKwcAABMGwAAAAAAAHAeAADEAAAAxQAAAMYAAACsAAAAxwAAAMgAAADJAAAAygAAALEAAACyAAAAywAAAMwAAABONWRyYWNvNDJNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbEVuY29kZXJJaU5TXzYyUHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25DYW5vbmljYWxpemVkRW5jb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQAAAACoSAAAsB0AAEwbAAAAAAAAKCAAAM0AAADOAAAAzwAAANAAAADRAAAATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JBcmVhSWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZEVuY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JCYXNlSWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZEVuY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUAAACASAAAWx8AAKhIAACYHgAAICAAAAAAAADIIQAAqQAAANIAAADTAAAArAAAANQAAACuAAAArwAAALAAAACxAAAAsgAAALMAAADVAAAATjVkcmFjbzQwTWVzaFByZWRpY3Rpb25TY2hlbWVQYXJhbGxlbG9ncmFtRW5jb2RlcklpTlNfNjJQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkNhbm9uaWNhbGl6ZWRFbmNvZGluZ1RyYW5zZm9ybUlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18xMUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzI3TWVzaFByZWRpY3Rpb25TY2hlbWVFbmNvZGVySWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZEVuY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQAAqEgAABohAABAGwAAqEgAAGwgAAC8IQAAAAAAAMwiAADWAAAA1wAAANgAAACsAAAA2QAAAK4AAACvAAAAsAAAALEAAACyAAAA2gAAANsAAABONWRyYWNvNTZNZXNoUHJlZGljdGlvblNjaGVtZUNvbnN0cmFpbmVkTXVsdGlQYXJhbGxlbG9ncmFtRW5jb2RlcklpTlNfNjJQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkNhbm9uaWNhbGl6ZWRFbmNvZGluZ1RyYW5zZm9ybUlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18xMUNvcm5lclRhYmxlRUVFRUUAAACoSAAADCIAALwhAAAAAAAAxCMAANwAAADdAAAA3gAAAKwAAADfAAAA4AAAAOEAAADiAAAAsQAAALIAAADjAAAA5AAAAE41ZHJhY280NE1lc2hQcmVkaWN0aW9uU2NoZW1lVGV4Q29vcmRzUG9ydGFibGVFbmNvZGVySWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZEVuY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQAAAKhIAAAQIwAAvCEAAAAAAAC4JAAA5QAAAOYAAADnAAAArAAAAOgAAADpAAAA6gAAAOsAAACxAAAAsgAAAOwAAADtAAAATjVkcmFjbzQyTWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxFbmNvZGVySWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZEVuY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQCoSAAACCQAALwhAAAAAAAAVCYAAO4AAADvAAAA8AAAAPEAAADyAAAATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JBcmVhSWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZEVuY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQBONWRyYWNvNDhNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbFByZWRpY3RvckJhc2VJaU5TXzYyUHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25DYW5vbmljYWxpemVkRW5jb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAIBIAACWJQAAqEgAAOAkAABMJgAAAAAAAAwnAACpAAAA8wAAAPQAAACsAAAA9QAAAK4AAACvAAAAsAAAALEAAACyAAAAswAAAPYAAABONWRyYWNvMjhQcmVkaWN0aW9uU2NoZW1lRGVsdGFFbmNvZGVySWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZEVuY29kaW5nVHJhbnNmb3JtSWlFRUVFAAAAAKhIAACYJgAAQBsAAAAAAACMJwAA9wAAAPgAAAD5AAAALgAAAEkAAAAwAAAA+gAAAPsAAAD8AAAANAAAADUAAABLAAAATAAAAP0AAABONWRyYWNvMzhTZXF1ZW50aWFsUXVhbnRpemF0aW9uQXR0cmlidXRlRW5jb2RlckUAAAAAqEgAAFgnAADACgAAAAAAABgoAAD+AAAA/wAAAAABAAABAQAATjVkcmFjbzdFbmNvZGVyRQBONWRyYWNvMTFFbmNvZGVyQmFzZUlOU18xOEVuY29kZXJPcHRpb25zQmFzZUlOU18xN0dlb21ldHJ5QXR0cmlidXRlNFR5cGVFRUVFRQAAgEgAAMEnAACoSAAAsCcAABAoAAAAAAAAaCgAAAIBAAADAQAATjVkcmFjbzExRW5jb2RlckJhc2VJTlNfMThFbmNvZGVyT3B0aW9uc0Jhc2VJaUVFRUUAAIBIAAA0KAAAAAAAABAoAAD+AAAABAE=");l(e,10376,"rCgAAAIBAAAFAQAATjVkcmFjbzEzRXhwZXJ0RW5jb2RlckUAqEgAAJQoAABoKAAAAAAAACwpAAAGAQAABwEAAAgBAAAJAQAACgEAAAsBAAAMAQAADQEAAA4BAAAPAQAAEAEAABEBAAASAQAAEwEAABQBAAAVAQAAFgEAABcBAABONWRyYWNvMjJNZXNoRWRnZWJyZWFrZXJFbmNvZGVyRQAAAACoSAAACCkAAPQvAAAAAAAAJCoAABgBAAAZAQAAGgEAABsBAAAcAQAAHQEAAB4BAAAfAQAAIAEAACEBAAAiAQAAAAAAAIQqAAAjAQAAJAEAACUBAAAmAQAAJwEAACgBAAApAQAAKgEAACsBAAAsAQAALQEAAE41ZHJhY28yNk1lc2hFZGdlYnJlYWtlckVuY29kZXJJbXBsSU5TXzMxTWVzaEVkZ2VicmVha2VyVHJhdmVyc2FsRW5jb2RlckVFRQBONWRyYWNvMzVNZXNoRWRnZWJyZWFrZXJFbmNvZGVySW1wbEludGVyZmFjZUUAAACASAAA7CkAAKhIAACgKQAAHCoAAE41ZHJhY28yNk1lc2hFZGdlYnJlYWtlckVuY29kZXJJbXBsSU5TXzM4TWVzaEVkZ2VicmVha2VyVHJhdmVyc2FsVmFsZW5jZUVuY29kZXJFRUUAAKhIAAAwKgAAHCoAAAAAAACAKwAALgEAAC8BAAAwAQAATjVkcmFjbzE5RGVwdGhGaXJzdFRyYXZlcnNlcklOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVOU18zNk1lc2hBdHRyaWJ1dGVJbmRpY2VzRW5jb2RpbmdPYnNlcnZlcklTMV9FRUVFAE41ZHJhY28xM1RyYXZlcnNlckJhc2VJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzFfRUVFRQCASAAAESsAAKhIAACkKgAAeCsAAAAAAAB4KwAAMQEAADIBAAAwAQAAAQAAAAMAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAQAAAAUAAAACAAAABQAAAAMAAAAFAAAABAAAAAAAAACkLAAAMwEAADQBAAA1AQAANgEAAE41ZHJhY28yMk1lc2hUcmF2ZXJzYWxTZXF1ZW5jZXJJTlNfMjhNYXhQcmVkaWN0aW9uRGVncmVlVHJhdmVyc2VySU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzJfRUVFRUVFAE41ZHJhY28xNVBvaW50c1NlcXVlbmNlckUAAAAAgEgAAH8sAACoSAAA+CsAAJwsAAD/////AAAAAJQtAAA3AQAAOAEAADkBAABONWRyYWNvMjhNYXhQcmVkaWN0aW9uRGVncmVlVHJhdmVyc2VySU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzFfRUVFRQBONWRyYWNvMTNUcmF2ZXJzZXJCYXNlSU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzFfRUVFRQAAgEgAADEtAACoSAAAyCwAAIwtAAAAAAAAjC0AADoBAAA7AQAAOQEAAAAAAABMLgAAPAEAAD0BAAA+AQAAPwEAAE41ZHJhY28yMk1lc2hUcmF2ZXJzYWxTZXF1ZW5jZXJJTlNfMTlEZXB0aEZpcnN0VHJhdmVyc2VySU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzJfRUVFRUVFAAAAqEgAAMwtAACcLAAAAAAAAMwuAABAAQAAQQEAADkBAABONWRyYWNvMTlEZXB0aEZpcnN0VHJhdmVyc2VySU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzFfRUVFRQCoSAAAbC4AAIwtAAAAAAAAfC8AAEIBAABDAQAARAEAAEUBAABONWRyYWNvMjJNZXNoVHJhdmVyc2FsU2VxdWVuY2VySU5TXzE5RGVwdGhGaXJzdFRyYXZlcnNlcklOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVOU18zNk1lc2hBdHRyaWJ1dGVJbmRpY2VzRW5jb2RpbmdPYnNlcnZlcklTMl9FRUVFRUUAAKhIAADwLgAAnCw=");l(e,12176,"9C8AAEYBAABHAQAACAEAAB0AAABIAQAACwEAAAwBAAANAQAADgEAAB0AAABJAQAAEQEAAB0AAABKAQAASwEAAEwBAAAdAAAAHQAAAE41ZHJhY28xMU1lc2hFbmNvZGVyRQAAAKhIAADcLwAAFDEAAAAAAABwMAAARgEAAE0BAAAIAQAATgEAAEgBAAALAQAADAEAAA0BAAAOAQAATwEAAEkBAAARAQAAUAEAAEoBAABLAQAATAEAAFEBAABSAQAATjVkcmFjbzIxTWVzaFNlcXVlbnRpYWxFbmNvZGVyRQCoSAAAUDAAAPQvAAAAAAAAsDAAAFMBAABUAQAAVQEAAFYBAABONWRyYWNvMTVMaW5lYXJTZXF1ZW5jZXJFAAAAqEgAAJQwAACcLAAAAAAAABQxAABGAQAAVwEAAFgBAAAdAAAASAEAAAsBAABZAQAADQEAAA4BAAAdAAAASQEAABEBAAAdAAAATjVkcmFjbzE3UG9pbnRDbG91ZEVuY29kZXJFAIBIAAD4MAAAAAAAAHwxAABGAQAAWgEAAFgBAABbAQAASAEAAAsBAABcAQAADQEAAA4BAABdAQAASQEAABEBAABeAQAATjVkcmFjbzIzUG9pbnRDbG91ZEtkVHJlZUVuY29kZXJFAAAAqEgAAFgxAAAUMQAAAAAAAOwxAABGAQAAXwEAAFgBAABgAQAASAEAAAsBAABhAQAADQEAAA4BAABiAQAASQEAABEBAABjAQAATjVkcmFjbzI3UG9pbnRDbG91ZFNlcXVlbnRpYWxFbmNvZGVyRQAAAKhIAADEMQAAFDE=");l(e,12820,"AQAAAFZVVVUCAAAAAAAAAAIAAACamZmZAwAAAFZVVVUDAAAAJUmSJAMAAAAAAAAAAwAAAMhxHMcEAAAAmpmZmQQAAABGF110BAAAAFZVVVUEAAAAPLETOwQAAAAlSZIkBAAAABIREREEAAAAAAAAAAQAAADi4eHhBQAAAMhxHMcFAAAAy2sorwUAAACamZmZBQAAAIdhGIYFAAAARhdddAUAAACRhSxkBQAAAFZVVVUFAAAAexSuRwUAAAA8sRM7BQAAANtLaC8FAAAAJUmSJAUAAAASlnsaBQAAABIREREFAAAAhRBCCAUAAAAAAAAABQAAAAgffPAGAAAA4uHh4QYAAADVQR3UBgAAAMhxHMcGAAAATZHPugYAAADLayivBgAAAKVBGqQGAAAAmpmZmQYAAAD6GJyPBgAAAIdhGIYGAAAAGPQFfQYAAABGF110BgAAAG3BFmwGAAAAkYUsZAYAAAC6gphcBgAAAFZVVVUGAAAAcwpeTgYAAAB7FK5HBgAAAEJBQUEGAAAAPLETOwYAAACzzyE1BgAAANtLaC8GAAAAnxLkKQYAAAAlSZIkBgAAAN1HcB8GAAAAEpZ7GgYAAAD45bEVBgAAABIREREGAAAA/BSXDAYAAACFEEIIBgAAAAVBEAQGAAAAAAAAAAYAAAD5gR/4BwAAAAgffPAHAAAAwBoT6QcAAADi4eHhBwAAAGwH5toHAAAA1UEd1AcAAACRaIXNBwAAAMhxHMcHAAAAOXDgwAcAAABNkc+6BwAAAE8b6LQHAAAAy2sorwcAAAAH9o6pBwAAAKVBGqQHAAAAUunIngcAAACamZmZBwAAAM4Pi5QHAAAA+hicjwcAAAD3kMuKBwAAAIdhGIYHAAAAgoGBgQcAAAAY9AV9BwAAABjIpHgHAAAARhdddAcAAADBBS5wBwAAAG3BFmwHAAAAaYEWaAcAAACRhSxkBwAAAAYWWGAHAAAAuoKYXAcAAAAJI+1YBwAAAFZVVVUHAAAAr37QUQcAAABzCl5OBwAAAAZq/UoHAAAAexSuRwcAAABXhm9EBwAAAEJBQUEHAAAAz8siPgcAAAA8sRM7BwAAADmBEzgHAAAAs88hNQcAAACjND4yBwAAANtLaC8HAAAA2bSfLAcAAACfEuQpBwAAAIkLNScHAAAAJUmSJAcAAAATePshBwAAAN1HcB8HAAAA22rwHAcAAAASlnsaBwAAABmBERgHAAAA+OWxFQcAAAAUgVwTBwAAABIREREHAAAAv1bPDgcAAAD8FJcMBwAAAKcQaAoHAAAAhRBCCAcAAAAw3SQGBwAAAAVBEAQHAAAAEQgEAgcAAAAAAAAABwAAACDwB/wIAAAA+YEf+AgAAADlWUb0CAAAAAgffPAIAAAAMXvA7AgAAADAGhPpCAAAAJGsc+UIAAAA4uHh4QgAAABAbl3eCAAAAGwH5toIAAAATGV71wgAAADVQR3UCAAAAPdYy9AIAAAAkWiFzQgAAABWMEvKCAAAAMhxHMcIAAAAHfD4wwgAAAA5cODACAAAAJq40r0IAAAATZHPuggAAADew9a3CAAAAE8b6LQIAAAAB2QDsggAAADLayivCAAAAK0BV6wIAAAAB/aOqQgAAABuGtCmCAAAAKVBGqQIAAAAmD9toQgAAABS6cieCAAAAO8ULZwIAAAAmpmZmQgAAACBTw6XCAAAAM4Pi5QIAAAAnrQPkggAAAD6GJyPCAAAANQYMI0IAAAA95DLiggAAAALX26ICAAAAIdhGIYIAAAArHfJgwgAAACCgYGBCAAAANFfQH8IAAAAGPQFfQgAAACPINJ6CAAAABjIpHgIAAAARM59dggAAABGF110CAAAAPWHQnIIAAAAwQUucAgAAAC1dh9uCAAAAG3BFmwIAAAAFs0TaggAAABpgRZoCAAAAKbGHmYIAAAAkYUsZAgAAABxpz9iCAAAAAYWWGAIAAAAjrt1XggAAAC6gphcCAAAALFWwFoIAAAACSPtWAgAAADG0x5XCAAAAFZVVVUIAAAAkJSQUwgAAACvftBRCAAAAFEBFVAIAAAAcwpeTggAAABziKtMCAAAAAZq/UoIAAAAPJ5TSQgAAAB7FK5HCAAAAIC8DEYIAAAAV4ZvRAgAAABeYtZCCAAAAEJBQUEIAAAA/BOwPwgAAADPyyI+CAAAAEhamTwIAAAAPLETOwgAAADCwpE5CAAAADmBEzgIAAAAPt+YNggAAACzzyE1CAAAALZFrjMIAAAAozQ+MggAAAAUkNEwCAAAANtLaC8IAAAABVwCLggAAADZtJ8sCAAAANFKQCsIAAAAnxLkKQgAAAApAYsoCAAAAIkLNScIAAAACSfiJQgAAAAlSZIkCAAAAIpnRSMIAAAAE3j7IQgAAADHcLQgCAAAAN1HcB8IAAAAtPMuHggAAADbavAcCAAAAAWktBsIAAAAEpZ7GggAAAAJOEUZCAAAABmBERgIAAAAlWjgFggAAAD45bEVCAAAAOHwhRQIAAAAFIFcEwgAAAB2jjUSCAAAABIREREIAAAAEAHvDwgAAAC/Vs8OCAAAAIkKsg0IAAAA/BSXDAgAAADDbn4LCAAAAKcQaAoIAAAAkfNTCQgAAACFEEIICAAAAKVgMgcIAAAAMN0kBggAAAB+fxkFCAAAAAVBEAQIAAAAUhsJAwgAAAARCAQCCAAAAAIBAQEIAAAAAQAAAAEAAAACAAAAAgAAAAQAAAAEAAAACAAAAAgAAAAEAAAACAAAAAEAAAAAAAAA/////wAAAABoOgAAZAEAAGUBAABmAQAAZwEAAGgBAABpAQAAagEAAE41ZHJhY280TWVzaEUAAACoSAAAWDoAALg6AAD/////AAAAAAAAAAC4OgAAawEAAGwBAABtAQAAbgEAAGgBAABpAQAAbwEAAE41ZHJhY28xMFBvaW50Q2xvdWRFAAAAAIBIAACgOgAA/////wAAAAAAACBlRxX3PwCi7y78Bec9OYMrZUcV57++BDrcCcfeP/svcGRHFde/SEwDUGx30j+8kuoos8fOvy75F+ElYso//oIrZUcV57/3AzrcCcfePz98K2VHFde/5FvwUGx30j/lj3bdCcfOvzbnxB52Yco/m6dkvD8Vx79KG/BU0YTEPzw4LKfkicK/Zu5aKC+zwD/4rLFrKCT3PwCwze5fCeG/oczSZvfh9j8A0Ha9lITgv4rUMA49ofY/APjorkMB4L+FbNAy7GH2PwBACzbF/t6/+JgRlfoj9j8A4Lca2f3dv2wCz6Rb5/U/AJDHDK7/3L+4TyFaBaz1PwCg/RE4BNy/Hm4WD+1x9T8A4DoyZwvbvzX4C1kJOfU/ALAtWi8V2r/drWHtTwH1PwBg+Fp/Idm/0HtIjrjK9D8AkHGwTTDYv+5PM7Q5lfQ/AOCp+YlB179p1a/fy2D0PwCQGbUrVda/U7nkTmYt9D8AEJuiI2vVv6bYHREB+/M/AKBfD2WD1L82WAy3lcnzPwCg9jfpndO/Sv22ShyZ8z8AYI1TobrSv7WZ4AyOafM/AEDKQIPZ0b+y5xOC5DrzPwDgQDqF+tC/sb2FGRkN8z8AMOcynB3Qv9dxssol4PI/AGD6on2Fzr+CzRPPBLTyPwCAPWPI08y/UMt8LLCI8j8AoBRMAybLv+VNlGMiXvI/AOBPLxx8yb+xFYY9VjTyPwAAgD8C1se/OK8+40YL8j8A4AUapzPGv92jzf3u4vE/AABX6fWUxL8wOQtYSrvxPwCg4CTk+cK/ACJ/hFOU8T8AwP1aWWLBvzzX1cAGbvE/AIC9dZqcv7/C5LdHX0jxPwDA+VtXe7y/0YUArVgj8T8AgPQPxmC5vyciUw/w/vA/AAC2R+JMtr+POtB3INvwPwBAAbJ4P7O/2YBZ1ua38D8AwEIafTiwv41Ae/4+lfA/AAC1CJJvqr+DO8XKJXPwPwAAd0+VeqS/XBsN5JdR8D8AAAzFqCOdv6KOIMGRMPA/AAB4KSZqkb8hfrMlEBDwPwAA6Nj4IHe/a6fK+X7A7z8AAFCxU/6GP4Tx9tNlRO8/AIAP4cwcoT9/EISfB8zuPwCAi4z8Taw/6FqXmTpX7j8AQFceMqqzP+Y9vfDW5e0/AICL0KAYuT+zOP+BtnftPwBABNrpcr4/Q+lNcrUM7T8AYH9Q0tzBP2N1DtyypOw/AKDeA6t2xD9Ry9bojj/sPwAg4ndDB8c/TAwCTyvd6z8AQKmL3o7JP8oVYABsfes/AODSargNzD+PMy5uNiDrPwDgzq8KhM4/OVApJnDF6j8AgGe0CnnQP90xJ7wBbeo/AMABaAWs0T+L8T+80xbqPwDg/tQR29I/rf5nSdHC6T8AgMVORgbUPwKZfPTkcOk/APA6Cb4t1T/yvII5+yDpPwDQUCCQUdY/8Vn3hwHT6D8A8OrN0nHXP232uevlhug/AJB9hZyO2D+UuVi2lzzoPwBg4VUBqNk/IhDG/wX05z8A0NNuGL7aP8oVFBgirec/AOCgrvLQ2z+M/5753GfnPwBAvz2k4Nw/jgq5EgAg5j8FtkQGqwSJPKY0VwQAYOY/qfdi6pv/YTzF8iXD/5/mP7qQPMvPfoI8BFq5OADg5j8mk3NWiP+IPOOUmeD/H+c/sYJfJ0D9ijwQDlkVAGDnP0GDI7R1/XK81VtlEgCg5z92KyR85gh4PKbpWTIA4Oc/tyL2JuQIYrzSsrTt/x/oPy/JpR5GAoS8w/z6LQBg6D8fmvKi9PdtPFBrjPf/n+g//ZVJCVMEjrxmFWc5AODoP0V7x77zBIq8RRe/4v8f6T88IA5ANPp3vNGfXMz/X+k/XWmgBYD/drxnR7o7AKDpPwN+7MTE+HA8pS255//f6T8CRoxH2X+OPK/9Ltf/H+o/fq7NTVUMaryV/wTe/1/qP2uy6YypfYY8K41eyv+f6j/eE0y1yYSCvOoDrd3/3+o/PC5g6sgSWDxNPQ3x/x/rP5x4J63d+o68WhYhzv9f6z83EsYZF8tTPHTmUNn/n+s/AM6UQdn3czyvqJwTAODrP8CbXSHECnU8md9GWwAg7D/JwelTpu5rPK73uUAAYOw/1nBKJ58HfLyK/VViAKDsPx9M6HZAC3q8XQlM2f/f7D/XtZr5M/mIPM/Wdfn/H+0/vuFfZggsWLyTHFai/1/tP/OV0psoBHu8DIsinf+f7T82og80UQKHPBZ+vGUA4O0/DNikFh4BdbyRR/YCACDuP+Bi7wkvgIk82KbXVwBg7j/69wxYdQt+vAzA7ScAoO4/EZhFCYOEjLx8y/VsAODuP/R2FZUngI+8zH0reAAg7z+PU3Ry2YGPvApFDCYAYO8/3P8nJwBxQLwz1Yzo/5/vP7Co/eHcG1i8iYYP1f/f7z9ujpHLGvmHPGcjKQQAIPA/gUYyZfN/mzxo1uPj/1/wP3uVrt0I+oY8V6eFCgCg8D+R+9OA3uJXvMw/XxoA4PA/FPDFBTOCkbz1uq/4/x/xP8K6gGa7+ou8rZFN5f9f8T/v5zcXEn+dvOE2rBEAoPE///UWBQoAnDxIQsgZAODxP6Bd2uT7gpC8bl7+DwAg8j9D+5xM0P2IvJHYnyYAYPI/gtGUeSr+jDza5qYpAKDyP8WLXnFzAnC8OT4p4P/f8j/5prLaOXybPILw3Pf/H/M/VFLcbjPxfTxgi1rw/1/zP+sxzUxWA568zK4OLgCg8z93pNNL5/B1PDayOwQA4PM/M4idFMt9nDz/h9ECACD0Pyg9Lc+vCH48sXw4DQBg9D+mmWWFNwiCPImfVgQAoPQ/0rxPkFz6ibzzQzUEAOD0PylTF+0lEXi8D38CzP8f9T/cVHeE2IOYPG+zh/3/X/U/ByjQMecJh7y69x3y/5/1PwJ7cmif94c8gTT86//f9T8+6TAukICRvAAAAAAAAAAA0XSeAFedvSqAcFIP//8+JwoAAABkAAAA6AMAABAnAACghgEAQEIPAICWmAAA4fUFGAAAADUAAABxAAAAa////877//+Sv///AAAAAAAAAAAZAAoAGRkZAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABkAEQoZGRkDCgcAAQAJCxgAAAkGCwAACwAGGQAAABkZGQ==");l(e,17409,"DgAAAAAAAAAAGQAKDRkZGQANAAACAAkOAAAACQAOAAAO");l(e,17467,"DA==");l(e,17479,"EwAAAAATAAAAAAkMAAAAAAAMAAAM");l(e,17525,"EA==");l(e,17537,"DwAAAAQPAAAAAAkQAAAAAAAQAAAQ");l(e,17583,"Eg==");l(e,17595,"EQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoa");l(e,17650,"GgAAABoaGgAAAAAAAAk=");l(e,17699,"FA==");l(e,17711,"FwAAAAAXAAAAAAkUAAAAAAAUAAAU");l(e,17757,"Fg==");l(e,17769,"FQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVGAAAAAAIAAAADAAAABQAAAAcAAAALAAAADQAAABEAAAATAAAAFwAAAB0AAAAfAAAAJQAAACkAAAArAAAALwAAADUAAAA7AAAAPQAAAEMAAABHAAAASQAAAE8AAABTAAAAWQAAAGEAAABlAAAAZwAAAGsAAABtAAAAcQAAAH8AAACDAAAAiQAAAIsAAACVAAAAlwAAAJ0AAACjAAAApwAAAK0AAACzAAAAtQAAAL8AAADBAAAAxQAAAMcAAADTAAAAAQAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAeQAAAH8AAACDAAAAiQAAAIsAAACPAAAAlQAAAJcAAACdAAAAowAAAKcAAACpAAAArQAAALMAAAC1AAAAuwAAAL8AAADBAAAAxQAAAMcAAADR");l(e,18208,"MDAwMTAyMDMwNDA1MDYwNzA4MDkxMDExMTIxMzE0MTUxNjE3MTgxOTIwMjEyMjIzMjQyNTI2MjcyODI5MzAzMTMyMzMzNDM1MzYzNzM4Mzk0MDQxNDI0MzQ0NDU0NjQ3NDg0OTUwNTE1MjUzNTQ1NTU2NTc1ODU5NjA2MTYyNjM2NDY1NjY2NzY4Njk3MDcxNzI3Mzc0NzU3Njc3Nzg3OTgwODE4MjgzODQ4NTg2ODc4ODg5OTA5MTkyOTM5NDk1OTY5Nzk4OTk=");l(e,18420,"CgAAAGQAAADoAwAAECcAAKCGAQBAQg8AgJaYAADh9QUAypo7TjEwX19jeHhhYml2MTE2X19zaGltX3R5cGVfaW5mb0UAAAAAqEgAABhIAACcSQAATjEwX19jeHhhYml2MTE3X19jbGFzc190eXBlX2luZm9FAAAAqEgAAEhIAAA8SAAAAAAAAGxIAABzAQAAdAEAAHUBAAB2AQAAdwEAAHgBAAB5AQAAegEAAAAAAADwSAAAcwEAAHsBAAB1AQAAdgEAAHcBAAB8AQAAfQEAAH4BAABOMTBfX2N4eGFiaXYxMjBfX3NpX2NsYXNzX3R5cGVfaW5mb0UAAAAAqEgAAMhIAABsSAAAAAAAACBJAAB/AQAAgAEAAIEBAABTdDlleGNlcHRpb24AAAAAgEgAABBJAAAAAAAATEkAAA0AAACCAQAAgwEAAFN0MTFsb2dpY19lcnJvcgCoSAAAPEkAACBJAAAAAAAAgEkAAA0AAACEAQAAgwEAAFN0MTJsZW5ndGhfZXJyb3IAAAAAqEgAAGxJAABMSQAAU3Q5dHlwZV9pbmZvAAAAAIBIAACMSQ==");l(e,18852,"sExQ")}var r=new ArrayBuffer(16);var s=new Int32Array(r);var t=new Float32Array(r);var u=new Float64Array(r);function v(w){return s[w]}function x(w,y){s[w]=y}function z(){return u[0]}function A(y){u[0]=y}function B(y){t[2]=y}function C(){return t[2]}function na(oa){var D=oa.a;var E=D.buffer;D.grow=la;var F=new Int8Array(E);var G=new Int16Array(E);var H=new Int32Array(E);var I=new Uint8Array(E);var J=new Uint16Array(E);var K=new Uint32Array(E);var L=new Float32Array(E);var M=new Float64Array(E);var N=Math.imul;var O=Math.fround;var P=Math.abs;var Q=Math.clz32;var R=Math.min;var S=Math.max;var T=Math.floor;var U=Math.ceil;var V=Math.trunc;var W=Math.sqrt;var X=oa.abort;var Y=NaN;var Z=Infinity;var _=oa.b;var $=oa.c;var aa=oa.d;var ba=oa.e;var ca=oa.f;var da=5262512;var ea=0;
// EMSCRIPTEN_START_FUNCS
function Yd(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,J=0;D=da-48|0;da=D;a:{b:{c:{d:{e:{if((b|0)<0){break e}if(!b){j=1;break e}if(b>>>0>=1073741824){break b}f=b<<2;w=ra(f);H[D+36>>2]=w;H[D+32>>2]=w;f=f+w|0;i=(c|0)>1?c:1;j=i-1|0;s=j&-4;t=j&3;E=i-2>>>0>2;h=w;n=h;while(1){j=H[(q<<2)+a>>2];f:{if((c|0)<2){break f}p=0;m=1;if(E){while(1){k=(m+q<<2)+a|0;x=H[k+12>>2];v=H[k+8>>2];A=H[k+4>>2];k=H[k>>2];j=j>>>0<k>>>0?k:j;j=j>>>0<A>>>0?A:j;j=j>>>0<v>>>0?v:j;j=j>>>0<x>>>0?x:j;m=m+4|0;p=p+4|0;if((s|0)!=(p|0)){continue}break}}p=0;if(!t){break f}while(1){k=H[(m+q<<2)+a>>2];j=j>>>0<k>>>0?k:j;m=m+1|0;p=p+1|0;if((t|0)!=(p|0)){continue}break}}k=j?(Q(j)^31)+1|0:1;g:{if(f>>>0>n>>>0){H[n>>2]=k;n=n+4|0;H[D+36>>2]=n;break g}p=n-h|0;n=p>>2;m=n+1|0;if(m>>>0>=1073741824){break c}f=f-h|0;x=f>>1;f=f>>>0<2147483644?m>>>0>x>>>0?m:x:1073741823;if(f){if(f>>>0>=1073741824){break d}w=ra(f<<2)}else{w=0}m=w+(n<<2)|0;H[m>>2]=k;n=m+4|0;if((p|0)>0){sa(w,h,p)}f=(f<<2)+w|0;H[D+36>>2]=n;if(h){qa(h)}h=w}l=j>>>0>l>>>0?j:l;q=i+q|0;if((q|0)<(b|0)){continue}break}H[D+40>>2]=f;H[D+32>>2]=w;m=0;H[D+24>>2]=0;H[D+16>>2]=0;H[D+20>>2]=0;c=n-w|0;if(c){if((c|0)<0){break a}m=ra(c);H[D+16>>2]=m;H[D+24>>2]=(c>>2<<2)+m;c=sa(m,w,c)+c|0}else{c=0}f=c-m|0;c=f>>2;h:{if(!f){break h}f=c>>>0>1?c:1;h=f&3;q=0;i:{if(f-1>>>0<3){j=0;break i}t=f&-4;j=0;p=0;while(1){f=r;r=j<<2;n=H[r+m>>2];f=f+n|0;k=f>>>0<n>>>0?g+1|0:g;n=H[(r|4)+m>>2];g=n+f|0;f=k;f=g>>>0<n>>>0?f+1|0:f;k=H[(r|8)+m>>2];g=k+g|0;f=g>>>0<k>>>0?f+1|0:f;r=H[(r|12)+m>>2];g=r+g|0;k=g>>>0<r>>>0?f+1|0:f;r=g;g=k;j=j+4|0;p=p+4|0;if((t|0)!=(p|0)){continue}break}}if(!h){break h}while(1){f=g;p=H[(j<<2)+m>>2];k=p+r|0;r=k;g=k>>>0<p>>>0?f+1|0:f;j=j+1|0;q=q+1|0;if((h|0)!=(q|0)){continue}break}}t=Cg(m,c,32,D);q=ea;n=H[D>>2];if(m){H[D+20>>2]=m;qa(m)}s=Cg(a,b,l,D);E=ea;h=H[D>>2];x=(l-h|0)/64|0;j:{if(d){c=ra(32);f=I[1746]|I[1747]<<8|(I[1748]<<16|I[1749]<<24);j=I[1742]|I[1743]<<8|(I[1744]<<16|I[1745]<<24);F[c+14|0]=j;F[c+15|0]=j>>>8;F[c+16|0]=j>>>16;F[c+17|0]=j>>>24;F[c+18|0]=f;F[c+19|0]=f>>>8;F[c+20|0]=f>>>16;F[c+21|0]=f>>>24;f=I[1740]|I[1741]<<8|(I[1742]<<16|I[1743]<<24);j=I[1736]|I[1737]<<8|(I[1738]<<16|I[1739]<<24);F[c+8|0]=j;F[c+9|0]=j>>>8;F[c+10|0]=j>>>16;F[c+11|0]=j>>>24;F[c+12|0]=f;F[c+13|0]=f>>>8;F[c+14|0]=f>>>16;F[c+15|0]=f>>>24;f=I[1732]|I[1733]<<8|(I[1734]<<16|I[1735]<<24);j=I[1728]|I[1729]<<8|(I[1730]<<16|I[1731]<<24);F[c|0]=j;F[c+1|0]=j>>>8;F[c+2|0]=j>>>16;F[c+3|0]=j>>>24;F[c+4|0]=f;F[c+5|0]=f>>>8;F[c+6|0]=f>>>16;F[c+7|0]=f>>>24;F[c+22|0]=0;j=H[d+4>>2];if(j){while(1){f=I[j+27|0];k=f<<24>>24<0;f=k?H[j+20>>2]:f;p=f>>>0<22;k:{l:{m=p?f:22;m:{n:{if(m){v=j+16|0;k=k?H[v>>2]:v;v=Ga(c,k,m);o:{if(!v){if(f>>>0<=22){break o}break k}if((v|0)<0){break k}}f=Ga(k,c,m);if(!f){break n}if((f|0)>=0){break m}break l}if(f>>>0>22){break k}}if(p){break l}}qa(c);c=ra(32);H[D>>2]=c;H[D+4>>2]=22;H[D+8>>2]=-2147483616;F[c+22|0]=0;g=I[1746]|I[1747]<<8|(I[1748]<<16|I[1749]<<24);f=I[1742]|I[1743]<<8|(I[1744]<<16|I[1745]<<24);F[c+14|0]=f;F[c+15|0]=f>>>8;F[c+16|0]=f>>>16;F[c+17|0]=f>>>24;F[c+18|0]=g;F[c+19|0]=g>>>8;F[c+20|0]=g>>>16;F[c+21|0]=g>>>24;g=I[1740]|I[1741]<<8|(I[1742]<<16|I[1743]<<24);f=I[1736]|I[1737]<<8|(I[1738]<<16|I[1739]<<24);F[c+8|0]=f;F[c+9|0]=f>>>8;F[c+10|0]=f>>>16;F[c+11|0]=f>>>24;F[c+12|0]=g;F[c+13|0]=g>>>8;F[c+14|0]=g>>>16;F[c+15|0]=g>>>24;g=I[1732]|I[1733]<<8|(I[1734]<<16|I[1735]<<24);f=I[1728]|I[1729]<<8|(I[1730]<<16|I[1731]<<24);F[c|0]=f;F[c+1|0]=f>>>8;F[c+2|0]=f>>>16;F[c+3|0]=f>>>24;F[c+4|0]=g;F[c+5|0]=g>>>8;F[c+6|0]=g>>>16;F[c+7|0]=g>>>24;m=Df(d,D);if(F[D+11|0]>=0){break j}qa(H[D>>2]);break j}j=j+4|0}j=H[j>>2];if(j){continue}break}}qa(c)}if((Q(l>>>0>1?l:1)^30)>>>0<18){g=xl(r,g,i,0);c=g+t|0;f=ea+q|0;f=c>>>0<g>>>0?f+1|0:f;k=c;c=n<<3;g=c>>31;p=g<<1|c>>>31;g=c<<1;c=k+g|0;k=f+p|0;k=c>>>0<g>>>0?k+1|0:k;g=c;c=h+x<<3;f=c>>31;r=c;j=h<<3;p=j;c=j+s|0;j=(j>>31)+E|0;j=c>>>0<p>>>0?j+1|0:j;p=c;c=r+c|0;f=f+j|0;f=c>>>0<p>>>0?f+1|0:f;m=(f|0)<=(k|0)&c>>>0<=g>>>0|(f|0)<(k|0)}else{m=0}}F[D|0]=m;c=H[e+20>>2];if(!H[e+16>>2]&(c|0)<=0|(c|0)<0){wa(e,H[e+4>>2],D,D+1|0)}j=0;p:{q:{switch(m|0){case 0:l=0;w=da-336|0;da=w;ta(w+80|0,0,256);c=H[D+32>>2];d=H[D+36>>2]-c|0;r:{if(!d){break r}d=d>>2;d=d>>>0>1?d:1;m=d&3;if(d-1>>>0>=3){r=d&-4;while(1){k=w+80|0;g=l<<2;d=k+(H[g+c>>2]<<3)|0;f=H[d+4>>2];p=H[d>>2]+1|0;f=p?f:f+1|0;H[d>>2]=p;H[d+4>>2]=f;d=k+(H[c+(g|4)>>2]<<3)|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;f=k+(H[c+(g|8)>>2]<<3)|0;d=H[f+4>>2];p=H[f>>2]+1|0;d=p?d:d+1|0;H[f>>2]=p;H[f+4>>2]=d;d=k+(H[c+(g|12)>>2]<<3)|0;f=H[d+4>>2];g=H[d>>2]+1|0;f=g?f:f+1|0;H[d>>2]=g;H[d+4>>2]=f;l=l+4|0;j=j+4|0;if((r|0)!=(j|0)){continue}break}}if(!m){break r}j=0;while(1){d=(w+80|0)+(H[c+(l<<2)>>2]<<3)|0;p=H[d+4>>2];g=H[d>>2]+1|0;p=g?p:p+1|0;H[d>>2]=g;H[d+4>>2]=p;l=l+1|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}}c=w+48|0;H[c>>2]=0;H[c+4>>2]=0;F[c+24|0]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[w+8>>2]=0;H[w+12>>2]=0;H[w+16>>2]=0;H[w+20>>2]=0;H[w+24>>2]=0;H[w+28>>2]=0;H[w+32>>2]=0;H[w>>2]=0;H[w+4>>2]=0;H[w+40>>2]=0;H[w+44>>2]=0;Ag(w,w+80|0,32,e);f=H[w+16>>2];d=H[w+20>>2];g=H[e+4>>2]-H[e>>2]|0;H[w+40>>2]=g;H[w+44>>2]=0;p=d<<1|f>>>31;f=(f<<1)+39|0;d=p;d=f>>>0<39?d+1|0:d;k=d>>>3|0;d=g+((d&7)<<29|f>>>3)|0;f=k;f=d>>>0<g>>>0?f+1|0:f;d=d+8|0;Na(e,d);d=H[e>>2];H[w+28>>2]=0;H[w+32>>2]=16384;H[w+24>>2]=d+H[w+40>>2];d=c;c=b;yd(d,c<<5,c>>31<<5|c>>>27,0);b=c-i|0;if((b|0)>=0){k=(i|0)<=0;c=b;while(1){l=H[w+32>>2];m=H[D+32>>2];f=H[w>>2]+(H[m+((c|0)/(i|0)<<2)>>2]<<3)|0;g=H[f>>2];j=g<<10;if(l>>>0>=j>>>0){while(1){p=H[w+28>>2];H[w+28>>2]=p+1;F[p+H[w+24>>2]|0]=l;l=H[w+32>>2]>>>8|0;H[w+32>>2]=l;if(j>>>0<=l>>>0){continue}break}m=H[D+32>>2]}r=H[f+4>>2];f=(l>>>0)/(g>>>0)|0;H[w+32>>2]=r+((f<<12)+(l-N(f,g)|0)|0);p=b-c|0;f=(p|0)/(i|0)|0;s:{if(k){break s}r=H[d+16>>2];g=H[d+20>>2];if(!r&(g|0)<=0|(g|0)<0){break s}f=H[(f<<2)+m>>2];m=0;while(1){if(!(!r&(g|0)<=0|(g|0)<0|(f|0)<=0)){r=H[(m+p<<2)+a>>2];g=H[d+12>>2];h=H[g+4>>2];j=0;while(1){t=h>>>3|0;l=t+H[g>>2]|0;q=I[l|0];h=h&7;G=l,J=Bl(h)&q,F[G|0]=J;t=t+H[g>>2]|0;F[t|0]=I[t|0]|(r>>>j&1)<<h;h=H[g+4>>2]+1|0;H[g+4>>2]=h;j=j+1|0;if((f|0)!=(j|0)){continue}break}}m=m+1|0;if((i|0)==(m|0)){break s}r=H[d+16>>2];g=H[d+20>>2];continue}}c=c-i|0;if((c|0)>=0){continue}break}}Ab(w,e);xd(d);a=H[e+20>>2];if(!H[e+16>>2]&(a|0)<=0|(a|0)<0){wa(e,H[e+4>>2],H[d>>2],H[d+4>>2])}a=H[w>>2];if(a){H[w+4>>2]=a;qa(a)}a=H[d+12>>2];H[d+12>>2]=0;if(a){qa(a)}a=H[d>>2];if(a){H[d+4>>2]=a;qa(a)}da=w+336|0;j=1;w=H[D+32>>2];break p;case 1:break q;default:break p}}E=da-32|0;da=E;m=1;t:{if((h|0)>0){c=Q(h);if((c^30)>>>0>17){break t}m=32-c|0}u:{if(!d){break u}c=ra(48);F[c+32|0]=I[1582];g=I[1578]|I[1579]<<8|(I[1580]<<16|I[1581]<<24);f=I[1574]|I[1575]<<8|(I[1576]<<16|I[1577]<<24);F[c+24|0]=f;F[c+25|0]=f>>>8;F[c+26|0]=f>>>16;F[c+27|0]=f>>>24;F[c+28|0]=g;F[c+29|0]=g>>>8;F[c+30|0]=g>>>16;F[c+31|0]=g>>>24;g=I[1570]|I[1571]<<8|(I[1572]<<16|I[1573]<<24);f=I[1566]|I[1567]<<8|(I[1568]<<16|I[1569]<<24);F[c+16|0]=f;F[c+17|0]=f>>>8;F[c+18|0]=f>>>16;F[c+19|0]=f>>>24;F[c+20|0]=g;F[c+21|0]=g>>>8;F[c+22|0]=g>>>16;F[c+23|0]=g>>>24;g=I[1562]|I[1563]<<8|(I[1564]<<16|I[1565]<<24);f=I[1558]|I[1559]<<8|(I[1560]<<16|I[1561]<<24);F[c+8|0]=f;F[c+9|0]=f>>>8;F[c+10|0]=f>>>16;F[c+11|0]=f>>>24;F[c+12|0]=g;F[c+13|0]=g>>>8;F[c+14|0]=g>>>16;F[c+15|0]=g>>>24;g=I[1554]|I[1555]<<8|(I[1556]<<16|I[1557]<<24);f=I[1550]|I[1551]<<8|(I[1552]<<16|I[1553]<<24);F[c|0]=f;F[c+1|0]=f>>>8;F[c+2|0]=f>>>16;F[c+3|0]=f>>>24;F[c+4|0]=g;F[c+5|0]=g>>>8;F[c+6|0]=g>>>16;F[c+7|0]=g>>>24;F[c+33|0]=0;j=H[d+4>>2];if(j){v:{while(1){g=I[j+27|0];f=g<<24>>24<0;g=f?H[j+20>>2]:g;k=g>>>0<33;w:{x:{p=k?g:33;y:{z:{if(p){r=j+16|0;f=f?H[r>>2]:r;r=Ga(c,f,p);A:{if(!r){if(g>>>0<=33){break A}break w}if((r|0)<0){break w}}g=Ga(f,c,p);if(!g){break z}if((g|0)>=0){break y}break x}if(g>>>0>33){break w}}if(k){break x}}qa(c);c=ra(48);H[E+16>>2]=c;H[E+20>>2]=33;H[E+24>>2]=-2147483600;F[c+33|0]=0;F[c+32|0]=I[1582];g=I[1578]|I[1579]<<8|(I[1580]<<16|I[1581]<<24);f=I[1574]|I[1575]<<8|(I[1576]<<16|I[1577]<<24);F[c+24|0]=f;F[c+25|0]=f>>>8;F[c+26|0]=f>>>16;F[c+27|0]=f>>>24;F[c+28|0]=g;F[c+29|0]=g>>>8;F[c+30|0]=g>>>16;F[c+31|0]=g>>>24;g=I[1570]|I[1571]<<8|(I[1572]<<16|I[1573]<<24);f=I[1566]|I[1567]<<8|(I[1568]<<16|I[1569]<<24);F[c+16|0]=f;F[c+17|0]=f>>>8;F[c+18|0]=f>>>16;F[c+19|0]=f>>>24;F[c+20|0]=g;F[c+21|0]=g>>>8;F[c+22|0]=g>>>16;F[c+23|0]=g>>>24;g=I[1562]|I[1563]<<8|(I[1564]<<16|I[1565]<<24);f=I[1558]|I[1559]<<8|(I[1560]<<16|I[1561]<<24);F[c+8|0]=f;F[c+9|0]=f>>>8;F[c+10|0]=f>>>16;F[c+11|0]=f>>>24;F[c+12|0]=g;F[c+13|0]=g>>>8;F[c+14|0]=g>>>16;F[c+15|0]=g>>>24;g=I[1554]|I[1555]<<8|(I[1556]<<16|I[1557]<<24);f=I[1550]|I[1551]<<8|(I[1552]<<16|I[1553]<<24);F[c|0]=f;F[c+1|0]=f>>>8;F[c+2|0]=f>>>16;F[c+3|0]=f>>>24;F[c+4|0]=g;F[c+5|0]=g>>>8;F[c+6|0]=g>>>16;F[c+7|0]=g>>>24;c=Df(d,E+16|0);if(F[E+27|0]<0){qa(H[E+16>>2])}if((c|0)>3){break v}m=m-2|0;break u}j=j+4|0}j=H[j>>2];if(j){continue}break}qa(c);break u}if(c>>>0<=5){m=m-1|0;break u}if(c>>>0>=10){m=m+2|0;break u}m=(c>>>0>7)+m|0;break u}qa(c)}c=(m|0)>1?m:1;c=c>>>0<18?c:18;F[E+15|0]=c;d=H[e+20>>2];if(!H[e+16>>2]&(d|0)<=0|(d|0)<0){wa(e,H[e+4>>2],E+15|0,E+16|0)}j=0;B:{switch(c-1|0){case 0:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;C:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}D:{if((b|0)<=0){break D}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;f=(H[t+(c|4)>>2]<<3)+q|0;d=H[f+4>>2];k=H[f>>2]+1|0;d=k?d:d+1|0;H[f>>2]=k;H[f+4>>2]=d;d=(H[t+(c|8)>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;c=(H[t+(c|12)>>2]<<3)+q|0;p=H[c+4>>2];d=H[c>>2]+1|0;p=d?p:p+1|0;H[c>>2]=d;H[c+4>>2]=p;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}f=b&3;if(!f){break D}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;d=H[c+4>>2];j=H[c>>2]+1|0;d=j?d:d+1|0;H[c>>2]=j;H[c+4>>2]=d;a=a+1|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;E:{if((d|0)<=0){break E}n=d&3;F:{if(d-1>>>0<3){h=0;break F}C=d&-4;h=0;while(1){l=h|1;f=(l<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|p?l:!(A|k)?y:h;l=f;y=p;f=g+A|0;p=k+r|0;f=p>>>0<k>>>0?f+1|0:f;k=p;g=y+k|0;p=d+f|0;p=g>>>0<k>>>0?p+1|0:p;d=g+x|0;f=l+p|0;f=d>>>0<g>>>0?f+1|0:f;g=d;d=d+v|0;j=f+j|0;r=d;g=d>>>0<g>>>0?j+1|0:j;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!n){break E}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;f=d+r|0;d=a+g|0;d=f>>>0<r>>>0?d+1|0:d;r=f;g=d;m=m+1|0;if((n|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;G:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break G}if(d>>>0<=f>>>0){break G}H[i+4>>2]=(f<<3)+a}l=0;n=0;H:{I:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*4096+.5;J:{if(o<4294967296&o>=0){d=~~o>>>0;break J}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==4096){break I}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;K:{if((c|0)<0){break K}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break K}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;L:{if((g|0)<=512){$b(l,a,s+24|0,d,0,0);break L}h=d>>>0<536870911?d:536870911;M:{while(1){g=ra(h<<2);if(g){break M}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}$b(l,a,s+24|0,d,0,0);break L}$b(l,a,s+24|0,d,g,h);qa(g)}N:{O:{if((n|0)<4096){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+4096;break O}P:{if((c|0)>0){m=n-4096|0;while(1){o=4096/+(n|0);j=H[i>>2];a=c;Q:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));R:{if(P(u)<2147483648){g=~~u;break R}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==4096){n=4096;break Q}d=(a|0)>1;a=a-1|0;if(d){continue}break Q}break}if((a|0)==(c|0)){break P}}if((m|0)<=0){break N}l=H[s+8>>2];continue}}if(n>>>0<4097){break O}while(1)continue}qa(l);break H}if(!l){break I}}qa(l)}if((c|0)<0){break H}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=4096){break H}h=0;o=0;S:{if((c|0)<0){break S}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break S}a=h<<3;c=H[a+g>>2];if(!c){break S}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*.000244140625)+o}o=U(-o);T:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break T}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;f=a>>>0<39?f+1|0:f;a=c+((f&7)<<29|a>>>3)|0;j=f>>>3|0;j=a>>>0<c>>>0?j+1|0:j;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=16384;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=16384;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<12)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}Ab(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break C}j=1;break t;case 1:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;U:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}V:{if((b|0)<=0){break V}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|4)>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|8)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;c=(H[t+(c|12)>>2]<<3)+q|0;f=H[c+4>>2];d=H[c>>2]+1|0;f=d?f:f+1|0;H[c>>2]=d;H[c+4>>2]=f;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}d=b&3;if(!d){break V}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;f=H[c+4>>2];j=H[c>>2]+1|0;f=j?f:f+1|0;H[c>>2]=j;H[c+4>>2]=f;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;W:{if((d|0)<=0){break W}l=d&3;X:{if(d-1>>>0<3){h=0;break X}C=d&-4;h=0;while(1){p=h|1;f=(p<<3)+q|0;d=H[f+4>>2];n=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|n?p:!(A|k)?y:h;p=j;j=f;f=k;r=f+r|0;k=g+A|0;k=f>>>0>r>>>0?k+1|0:k;g=r+n|0;f=d+k|0;f=g>>>0<r>>>0?f+1|0:f;d=g+x|0;j=f+j|0;j=d>>>0<g>>>0?j+1|0:j;g=d;d=d+v|0;p=j+p|0;r=d;g=d>>>0<g>>>0?p+1|0:p;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!l){break W}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;f=a+g|0;d=d+r|0;f=d>>>0<r>>>0?f+1|0:f;r=d;g=f;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;Y:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break Y}if(d>>>0<=f>>>0){break Y}H[i+4>>2]=(f<<3)+a}l=0;n=0;Z:{_:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*4096+.5;$:{if(o<4294967296&o>=0){d=~~o>>>0;break $}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==4096){break _}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;aa:{if((c|0)<0){break aa}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break aa}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;ba:{if((g|0)<=512){_b(l,a,s+24|0,d,0,0);break ba}h=d>>>0<536870911?d:536870911;ca:{while(1){g=ra(h<<2);if(g){break ca}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}_b(l,a,s+24|0,d,0,0);break ba}_b(l,a,s+24|0,d,g,h);qa(g)}da:{ea:{if((n|0)<4096){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+4096;break ea}fa:{if((c|0)>0){m=n-4096|0;while(1){o=4096/+(n|0);j=H[i>>2];a=c;ga:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));ha:{if(P(u)<2147483648){g=~~u;break ha}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==4096){n=4096;break ga}d=(a|0)>1;a=a-1|0;if(d){continue}break ga}break}if((a|0)==(c|0)){break fa}}if((m|0)<=0){break da}l=H[s+8>>2];continue}}if(n>>>0<4097){break ea}while(1)continue}qa(l);break Z}if(!l){break _}}qa(l)}if((c|0)<0){break Z}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=4096){break Z}h=0;o=0;ia:{if((c|0)<0){break ia}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break ia}a=h<<3;c=H[a+g>>2];if(!c){break ia}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*.000244140625)+o}o=U(-o);ja:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break ja}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;j=a<<1|d>>>31;a=(d<<1)+39|0;k=a>>>0<39?j+1|0:j;a=c+((k&7)<<29|a>>>3)|0;p=k>>>3|0;p=a>>>0<c>>>0?p+1|0:p;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=16384;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=16384;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<12)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}Ab(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break U}j=1;break t;case 2:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;ka:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}la:{if((b|0)<=0){break la}a=0;if(b-1>>>0>=3){p=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;j=H[d+4>>2];f=H[d>>2]+1|0;j=f?j:j+1|0;H[d>>2]=f;H[d+4>>2]=j;d=(H[t+(c|4)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;f=(H[t+(c|8)>>2]<<3)+q|0;d=H[f+4>>2];j=H[f>>2]+1|0;d=j?d:d+1|0;H[f>>2]=j;H[f+4>>2]=d;c=(H[t+(c|12)>>2]<<3)+q|0;j=H[c+4>>2];d=H[c>>2]+1|0;j=d?j:j+1|0;H[c>>2]=d;H[c+4>>2]=j;a=a+4|0;n=n+4|0;if((p|0)!=(n|0)){continue}break}}d=b&3;if(!d){break la}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;k=H[c+4>>2];f=H[c>>2]+1|0;k=f?k:k+1|0;H[c>>2]=f;H[c+4>>2]=k;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;ma:{if((d|0)<=0){break ma}n=d&3;na:{if(d-1>>>0<3){h=0;break na}C=d&-4;h=0;while(1){l=h|1;f=(l<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|p?l:!(A|k)?y:h;l=j;j=d;y=p;d=g+A|0;p=k+r|0;d=p>>>0<k>>>0?d+1|0:d;k=p;g=y+k|0;j=d+j|0;j=g>>>0<k>>>0?j+1|0:j;d=g+x|0;p=f+j|0;p=d>>>0<g>>>0?p+1|0:p;g=d;d=d+v|0;f=l+p|0;r=d;g=d>>>0<g>>>0?f+1|0:f;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!n){break ma}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;k=a+g|0;d=d+r|0;k=d>>>0<r>>>0?k+1|0:k;r=d;g=k;m=m+1|0;if((n|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;oa:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break oa}if(d>>>0<=f>>>0){break oa}H[i+4>>2]=(f<<3)+a}l=0;n=0;pa:{qa:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*4096+.5;ra:{if(o<4294967296&o>=0){d=~~o>>>0;break ra}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==4096){break qa}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;sa:{if((c|0)<0){break sa}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break sa}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;ta:{if((g|0)<=512){Zb(l,a,s+24|0,d,0,0);break ta}h=d>>>0<536870911?d:536870911;ua:{while(1){g=ra(h<<2);if(g){break ua}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Zb(l,a,s+24|0,d,0,0);break ta}Zb(l,a,s+24|0,d,g,h);qa(g)}va:{wa:{if((n|0)<4096){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+4096;break wa}xa:{if((c|0)>0){m=n-4096|0;while(1){o=4096/+(n|0);j=H[i>>2];a=c;ya:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));za:{if(P(u)<2147483648){g=~~u;break za}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==4096){n=4096;break ya}d=(a|0)>1;a=a-1|0;if(d){continue}break ya}break}if((a|0)==(c|0)){break xa}}if((m|0)<=0){break va}l=H[s+8>>2];continue}}if(n>>>0<4097){break wa}while(1)continue}qa(l);break pa}if(!l){break qa}}qa(l)}if((c|0)<0){break pa}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=4096){break pa}h=0;o=0;Aa:{if((c|0)<0){break Aa}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Aa}a=h<<3;c=H[a+g>>2];if(!c){break Aa}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*.000244140625)+o}o=U(-o);Ba:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break Ba}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;p=a<<1|d>>>31;a=(d<<1)+39|0;d=p;d=a>>>0<39?d+1|0:d;a=c+((d&7)<<29|a>>>3)|0;f=d>>>3|0;f=a>>>0<c>>>0?f+1|0:f;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=16384;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=16384;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<12)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}Ab(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break ka}j=1;break t;case 3:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;Ca:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}Da:{if((b|0)<=0){break Da}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;f=(H[t+(c|4)>>2]<<3)+q|0;d=H[f+4>>2];k=H[f>>2]+1|0;d=k?d:d+1|0;H[f>>2]=k;H[f+4>>2]=d;d=(H[t+(c|8)>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;c=(H[t+(c|12)>>2]<<3)+q|0;p=H[c+4>>2];d=H[c>>2]+1|0;p=d?p:p+1|0;H[c>>2]=d;H[c+4>>2]=p;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}f=b&3;if(!f){break Da}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;d=H[c+4>>2];j=H[c>>2]+1|0;d=j?d:d+1|0;H[c>>2]=j;H[c+4>>2]=d;a=a+1|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;Ea:{if((d|0)<=0){break Ea}n=d&3;Fa:{if(d-1>>>0<3){h=0;break Fa}C=d&-4;h=0;while(1){l=h|1;f=(l<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|p?l:!(A|k)?y:h;l=f;y=p;f=g+A|0;p=k+r|0;f=p>>>0<k>>>0?f+1|0:f;k=p;g=y+k|0;p=d+f|0;p=g>>>0<k>>>0?p+1|0:p;d=g+x|0;f=l+p|0;f=d>>>0<g>>>0?f+1|0:f;g=d;d=d+v|0;j=f+j|0;r=d;g=d>>>0<g>>>0?j+1|0:j;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!n){break Ea}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;f=d+r|0;d=a+g|0;d=f>>>0<r>>>0?d+1|0:d;r=f;g=d;m=m+1|0;if((n|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;Ga:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break Ga}if(d>>>0<=f>>>0){break Ga}H[i+4>>2]=(f<<3)+a}l=0;n=0;Ha:{Ia:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*4096+.5;Ja:{if(o<4294967296&o>=0){d=~~o>>>0;break Ja}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==4096){break Ia}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;Ka:{if((c|0)<0){break Ka}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break Ka}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;La:{if((g|0)<=512){Yb(l,a,s+24|0,d,0,0);break La}h=d>>>0<536870911?d:536870911;Ma:{while(1){g=ra(h<<2);if(g){break Ma}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Yb(l,a,s+24|0,d,0,0);break La}Yb(l,a,s+24|0,d,g,h);qa(g)}Na:{Oa:{if((n|0)<4096){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+4096;break Oa}Pa:{if((c|0)>0){m=n-4096|0;while(1){o=4096/+(n|0);j=H[i>>2];a=c;Qa:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Ra:{if(P(u)<2147483648){g=~~u;break Ra}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==4096){n=4096;break Qa}d=(a|0)>1;a=a-1|0;if(d){continue}break Qa}break}if((a|0)==(c|0)){break Pa}}if((m|0)<=0){break Na}l=H[s+8>>2];continue}}if(n>>>0<4097){break Oa}while(1)continue}qa(l);break Ha}if(!l){break Ia}}qa(l)}if((c|0)<0){break Ha}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=4096){break Ha}h=0;o=0;Sa:{if((c|0)<0){break Sa}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Sa}a=h<<3;c=H[a+g>>2];if(!c){break Sa}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*.000244140625)+o}o=U(-o);Ta:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break Ta}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;f=a>>>0<39?f+1|0:f;a=c+((f&7)<<29|a>>>3)|0;j=f>>>3|0;j=a>>>0<c>>>0?j+1|0:j;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=16384;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=16384;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<12)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}Ab(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break Ca}j=1;break t;case 4:c=0;h=0;m=0;q=0;g=da+-64|0;da=g;H[g+56>>2]=0;H[g+48>>2]=0;H[g+52>>2]=0;Ua:{d=l+1|0;if(d>>>0>=l>>>0){if(d>>>0>=536870912){break a}d=d<<3;c=ra(d);H[g+48>>2]=c;h=c+d|0;H[g+56>>2]=h;ta(c,0,(l<<3)+8|0);H[g+52>>2]=h}Va:{if((b|0)<=0){break Va}l=0;if(b-1>>>0>=3){p=b&-4;while(1){d=l<<2;j=(H[d+a>>2]<<3)+c|0;f=H[j+4>>2];k=H[j>>2]+1|0;f=k?f:f+1|0;H[j>>2]=k;H[j+4>>2]=f;j=(H[(d|4)+a>>2]<<3)+c|0;f=H[j+4>>2];k=H[j>>2]+1|0;f=k?f:f+1|0;H[j>>2]=k;H[j+4>>2]=f;f=(H[(d|8)+a>>2]<<3)+c|0;k=H[f+4>>2];j=H[f>>2]+1|0;k=j?k:k+1|0;H[f>>2]=j;H[f+4>>2]=k;d=(H[(d|12)+a>>2]<<3)+c|0;f=H[d+4>>2];j=H[d>>2]+1|0;f=j?f:f+1|0;H[d>>2]=j;H[d+4>>2]=f;l=l+4|0;m=m+4|0;if((p|0)!=(m|0)){continue}break}}j=b&3;if(!j){break Va}while(1){d=(H[(l<<2)+a>>2]<<3)+c|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;l=l+1|0;q=q+1|0;if((j|0)!=(q|0)){continue}break}}H[g+8>>2]=0;H[g+12>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+24>>2]=0;H[g+28>>2]=0;H[g+32>>2]=0;H[g>>2]=0;H[g+4>>2]=0;H[g+40>>2]=0;H[g+44>>2]=0;Ag(g,c,h-c>>3,e);f=H[g+16>>2];c=H[g+20>>2];d=H[e+4>>2]-H[e>>2]|0;H[g+40>>2]=d;H[g+44>>2]=0;j=f;f=c<<1|f>>>31;c=(j<<1)+39|0;k=c>>>0<39?f+1|0:f;c=d+((k&7)<<29|c>>>3)|0;f=k>>>3|0;f=c>>>0<d>>>0?f+1|0:f;c=c+8|0;Na(e,c);c=H[e>>2];H[g+28>>2]=0;H[g+32>>2]=16384;H[g+24>>2]=c+H[g+40>>2];if((b|0)>0){l=16384;while(1){c=b-1|0;f=H[g>>2]+(H[(c<<2)+a>>2]<<3)|0;d=H[f>>2];j=d<<10;if(j>>>0<=l>>>0){while(1){k=H[g+28>>2];H[g+28>>2]=k+1;F[k+H[g+24>>2]|0]=l;l=H[g+32>>2]>>>8|0;H[g+32>>2]=l;if(j>>>0<=l>>>0){continue}break}}k=H[f+4>>2];f=(l>>>0)/(d>>>0)|0;l=k+((f<<12)+(l-N(d,f)|0)|0)|0;H[g+32>>2]=l;d=(b|0)>1;b=c;if(d){continue}break}}Ab(g,e);a=H[g>>2];if(a){H[g+4>>2]=a;qa(a)}a=H[g+48>>2];if(a){qa(a)}da=g- -64|0;break Ua}j=1;break t;case 5:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;Wa:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}Xa:{if((b|0)<=0){break Xa}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|4)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;d=(H[t+(c|8)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;c=(H[t+(c|12)>>2]<<3)+q|0;f=H[c+4>>2];d=H[c>>2]+1|0;f=d?f:f+1|0;H[c>>2]=d;H[c+4>>2]=f;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}d=b&3;if(!d){break Xa}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;k=H[c+4>>2];f=H[c>>2]+1|0;k=f?k:k+1|0;H[c>>2]=f;H[c+4>>2]=k;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;Ya:{if((d|0)<=0){break Ya}n=d&3;Za:{if(d-1>>>0<3){h=0;break Za}C=d&-4;h=0;while(1){l=h|1;f=(l<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|p?l:!(A|k)?y:h;l=f;y=p;p=g+A|0;f=k+r|0;p=f>>>0<k>>>0?p+1|0:p;k=f;g=y+f|0;f=d+p|0;f=g>>>0<k>>>0?f+1|0:f;d=g+x|0;f=f+l|0;f=d>>>0<g>>>0?f+1|0:f;g=d;d=d+v|0;j=f+j|0;r=d;g=d>>>0<g>>>0?j+1|0:j;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!n){break Ya}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;k=a+g|0;d=d+r|0;k=d>>>0<r>>>0?k+1|0:k;r=d;g=k;m=m+1|0;if((n|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;_a:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break _a}if(d>>>0<=f>>>0){break _a}H[i+4>>2]=(f<<3)+a}l=0;n=0;$a:{ab:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*4096+.5;bb:{if(o<4294967296&o>=0){d=~~o>>>0;break bb}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==4096){break ab}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;cb:{if((c|0)<0){break cb}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break cb}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;db:{if((g|0)<=512){Xb(l,a,s+24|0,d,0,0);break db}h=d>>>0<536870911?d:536870911;eb:{while(1){g=ra(h<<2);if(g){break eb}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Xb(l,a,s+24|0,d,0,0);break db}Xb(l,a,s+24|0,d,g,h);qa(g)}fb:{gb:{if((n|0)<4096){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+4096;break gb}hb:{if((c|0)>0){m=n-4096|0;while(1){o=4096/+(n|0);j=H[i>>2];a=c;ib:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));jb:{if(P(u)<2147483648){g=~~u;break jb}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==4096){n=4096;break ib}d=(a|0)>1;a=a-1|0;if(d){continue}break ib}break}if((a|0)==(c|0)){break hb}}if((m|0)<=0){break fb}l=H[s+8>>2];continue}}if(n>>>0<4097){break gb}while(1)continue}qa(l);break $a}if(!l){break ab}}qa(l)}if((c|0)<0){break $a}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=4096){break $a}h=0;o=0;kb:{if((c|0)<0){break kb}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break kb}a=h<<3;c=H[a+g>>2];if(!c){break kb}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*.000244140625)+o}o=U(-o);lb:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break lb}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;p=a>>>0<39?f+1|0:f;a=c+((p&7)<<29|a>>>3)|0;j=p>>>3|0;j=a>>>0<c>>>0?j+1|0:j;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=16384;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=16384;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<12)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}Ab(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break Wa}j=1;break t;case 6:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;mb:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}nb:{if((b|0)<=0){break nb}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|4)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;f=(H[t+(c|8)>>2]<<3)+q|0;d=H[f+4>>2];k=H[f>>2]+1|0;d=k?d:d+1|0;H[f>>2]=k;H[f+4>>2]=d;c=(H[t+(c|12)>>2]<<3)+q|0;f=H[c+4>>2];d=H[c>>2]+1|0;f=d?f:f+1|0;H[c>>2]=d;H[c+4>>2]=f;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}d=b&3;if(!d){break nb}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;p=H[c+4>>2];f=H[c>>2]+1|0;p=f?p:p+1|0;H[c>>2]=f;H[c+4>>2]=p;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;ob:{if((d|0)<=0){break ob}l=d&3;pb:{if(d-1>>>0<3){h=0;break pb}C=d&-4;h=0;while(1){p=h|1;f=(p<<3)+q|0;d=H[f+4>>2];n=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|n?p:!(A|k)?y:h;p=j;j=f;f=d;d=g+A|0;r=k+r|0;d=r>>>0<k>>>0?d+1|0:d;k=r;g=k+n|0;f=d+f|0;f=g>>>0<k>>>0?f+1|0:f;d=g+x|0;j=f+j|0;j=d>>>0<g>>>0?j+1|0:j;g=d;d=d+v|0;f=j+p|0;r=d;g=d>>>0<g>>>0?f+1|0:f;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!l){break ob}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;p=a+g|0;d=d+r|0;p=d>>>0<r>>>0?p+1|0:p;r=d;g=p;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;qb:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break qb}if(d>>>0<=f>>>0){break qb}H[i+4>>2]=(f<<3)+a}l=0;n=0;rb:{sb:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*4096+.5;tb:{if(o<4294967296&o>=0){d=~~o>>>0;break tb}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==4096){break sb}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;ub:{if((c|0)<0){break ub}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break ub}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;vb:{if((g|0)<=512){Wb(l,a,s+24|0,d,0,0);break vb}h=d>>>0<536870911?d:536870911;wb:{while(1){g=ra(h<<2);if(g){break wb}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Wb(l,a,s+24|0,d,0,0);break vb}Wb(l,a,s+24|0,d,g,h);qa(g)}xb:{yb:{if((n|0)<4096){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+4096;break yb}zb:{if((c|0)>0){m=n-4096|0;while(1){o=4096/+(n|0);j=H[i>>2];a=c;Ab:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Bb:{if(P(u)<2147483648){g=~~u;break Bb}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==4096){n=4096;break Ab}d=(a|0)>1;a=a-1|0;if(d){continue}break Ab}break}if((a|0)==(c|0)){break zb}}if((m|0)<=0){break xb}l=H[s+8>>2];continue}}if(n>>>0<4097){break yb}while(1)continue}qa(l);break rb}if(!l){break sb}}qa(l)}if((c|0)<0){break rb}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=4096){break rb}h=0;o=0;Cb:{if((c|0)<0){break Cb}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Cb}a=h<<3;c=H[a+g>>2];if(!c){break Cb}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*.000244140625)+o}o=U(-o);Db:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break Db}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;j=a<<1|d>>>31;a=(d<<1)+39|0;d=j;d=a>>>0<39?d+1|0:d;f=d>>>3|0;a=c+((d&7)<<29|a>>>3)|0;f=a>>>0<c>>>0?f+1|0:f;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=16384;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=16384;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<12)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}Ab(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break mb}j=1;break t;case 7:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;Eb:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}Fb:{if((b|0)<=0){break Fb}a=0;if(b-1>>>0>=3){p=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;j=H[d+4>>2];f=H[d>>2]+1|0;j=f?j:j+1|0;H[d>>2]=f;H[d+4>>2]=j;f=(H[t+(c|4)>>2]<<3)+q|0;d=H[f+4>>2];j=H[f>>2]+1|0;d=j?d:d+1|0;H[f>>2]=j;H[f+4>>2]=d;d=(H[t+(c|8)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;c=(H[t+(c|12)>>2]<<3)+q|0;j=H[c+4>>2];d=H[c>>2]+1|0;j=d?j:j+1|0;H[c>>2]=d;H[c+4>>2]=j;a=a+4|0;n=n+4|0;if((p|0)!=(n|0)){continue}break}}f=b&3;if(!f){break Fb}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;d=H[c+4>>2];j=H[c>>2]+1|0;d=j?d:d+1|0;H[c>>2]=j;H[c+4>>2]=d;a=a+1|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;Gb:{if((d|0)<=0){break Gb}l=d&3;Hb:{if(d-1>>>0<3){h=0;break Hb}C=d&-4;h=0;while(1){p=h|1;f=(p<<3)+q|0;d=H[f+4>>2];n=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|n?p:!(A|k)?y:h;p=j;j=k;r=j+r|0;k=g+A|0;k=j>>>0>r>>>0?k+1|0:k;g=r+n|0;j=d+k|0;j=g>>>0<r>>>0?j+1|0:j;d=g+x|0;f=f+j|0;f=d>>>0<g>>>0?f+1|0:f;g=d;d=d+v|0;f=f+p|0;r=d;g=d>>>0<g>>>0?f+1|0:f;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!l){break Gb}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;f=d+r|0;d=a+g|0;d=f>>>0<r>>>0?d+1|0:d;r=f;g=d;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;Ib:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break Ib}if(d>>>0<=f>>>0){break Ib}H[i+4>>2]=(f<<3)+a}l=0;n=0;Jb:{Kb:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*4096+.5;Lb:{if(o<4294967296&o>=0){d=~~o>>>0;break Lb}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==4096){break Kb}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;Mb:{if((c|0)<0){break Mb}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break Mb}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;Nb:{if((g|0)<=512){Vb(l,a,s+24|0,d,0,0);break Nb}h=d>>>0<536870911?d:536870911;Ob:{while(1){g=ra(h<<2);if(g){break Ob}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Vb(l,a,s+24|0,d,0,0);break Nb}Vb(l,a,s+24|0,d,g,h);qa(g)}Pb:{Qb:{if((n|0)<4096){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+4096;break Qb}Rb:{if((c|0)>0){m=n-4096|0;while(1){o=4096/+(n|0);j=H[i>>2];a=c;Sb:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Tb:{if(P(u)<2147483648){g=~~u;break Tb}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==4096){n=4096;break Sb}d=(a|0)>1;a=a-1|0;if(d){continue}break Sb}break}if((a|0)==(c|0)){break Rb}}if((m|0)<=0){break Pb}l=H[s+8>>2];continue}}if(n>>>0<4097){break Qb}while(1)continue}qa(l);break Jb}if(!l){break Kb}}qa(l)}if((c|0)<0){break Jb}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=4096){break Jb}h=0;o=0;Ub:{if((c|0)<0){break Ub}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.000244140625)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Ub}a=h<<3;c=H[a+g>>2];if(!c){break Ub}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*.000244140625)+o}o=U(-o);Vb:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break Vb}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;k=a>>>0<39?f+1|0:f;a=c+((k&7)<<29|a>>>3)|0;f=k>>>3|0;f=a>>>0<c>>>0?f+1|0:f;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=16384;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=16384;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<12)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}Ab(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break Eb}j=1;break t;case 8:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;Wb:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}Xb:{if((b|0)<=0){break Xb}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|4)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;d=(H[t+(c|8)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;c=(H[t+(c|12)>>2]<<3)+q|0;f=H[c+4>>2];d=H[c>>2]+1|0;f=d?f:f+1|0;H[c>>2]=d;H[c+4>>2]=f;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}d=b&3;if(!d){break Xb}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;k=H[c+4>>2];f=H[c>>2]+1|0;k=f?k:k+1|0;H[c>>2]=f;H[c+4>>2]=k;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;Yb:{if((d|0)<=0){break Yb}n=d&3;Zb:{if(d-1>>>0<3){h=0;break Zb}C=d&-4;h=0;while(1){l=h|1;f=(l<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|p?l:!(A|k)?y:h;l=f;y=p;p=g+A|0;f=k+r|0;p=f>>>0<k>>>0?p+1|0:p;k=f;g=y+f|0;f=d+p|0;f=g>>>0<k>>>0?f+1|0:f;d=g+x|0;f=f+l|0;f=d>>>0<g>>>0?f+1|0:f;g=d;d=d+v|0;j=f+j|0;r=d;g=d>>>0<g>>>0?j+1|0:j;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!n){break Yb}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;k=a+g|0;d=d+r|0;k=d>>>0<r>>>0?k+1|0:k;r=d;g=k;m=m+1|0;if((n|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;_b:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break _b}if(d>>>0<=f>>>0){break _b}H[i+4>>2]=(f<<3)+a}l=0;n=0;$b:{ac:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*8192+.5;bc:{if(o<4294967296&o>=0){d=~~o>>>0;break bc}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==8192){break ac}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;cc:{if((c|0)<0){break cc}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break cc}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;dc:{if((g|0)<=512){Ub(l,a,s+24|0,d,0,0);break dc}h=d>>>0<536870911?d:536870911;ec:{while(1){g=ra(h<<2);if(g){break ec}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Ub(l,a,s+24|0,d,0,0);break dc}Ub(l,a,s+24|0,d,g,h);qa(g)}fc:{gc:{if((n|0)<8192){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)- -8192;break gc}hc:{if((c|0)>0){m=n+-8192|0;while(1){o=8192/+(n|0);j=H[i>>2];a=c;ic:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));jc:{if(P(u)<2147483648){g=~~u;break jc}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==8192){n=8192;break ic}d=(a|0)>1;a=a-1|0;if(d){continue}break ic}break}if((a|0)==(c|0)){break hc}}if((m|0)<=0){break fc}l=H[s+8>>2];continue}}if(n>>>0<8193){break gc}while(1)continue}qa(l);break $b}if(!l){break ac}}qa(l)}if((c|0)<0){break $b}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=8192){break $b}h=0;o=0;kc:{if((c|0)<0){break kc}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.0001220703125)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*.0001220703125)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break kc}a=h<<3;c=H[a+g>>2];if(!c){break kc}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*.0001220703125)+o}o=U(-o);lc:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break lc}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;p=a>>>0<39?f+1|0:f;a=c+((p&7)<<29|a>>>3)|0;j=p>>>3|0;j=a>>>0<c>>>0?j+1|0:j;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=32768;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=32768;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<13)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}a=da-32|0;da=a;c=H[e>>2]+H[i+40>>2]|0;d=H[i+32>>2];b=d-32768|0;mc:{if(b>>>0<=63){F[H[i+24>>2]+H[i+28>>2]|0]=b;b=H[i+28>>2]+1|0;break mc}if(b>>>0<=16383){b=H[i+24>>2]+H[i+28>>2]|0;d=d-16384|0;F[b|0]=d;F[b+1|0]=d>>>8;b=H[i+28>>2]+2|0;break mc}if(b>>>0<=4194303){b=H[i+24>>2]+H[i+28>>2]|0;d=d+8355840|0;F[b+2|0]=d>>>16;F[b+1|0]=d>>>8;F[b|0]=d;b=H[i+28>>2]+3|0;break mc}if(b>>>0<=1073741823){b=H[i+24>>2]+H[i+28>>2]|0;d=d-1073774592|0;F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;b=H[i+28>>2]+4|0;break mc}b=H[i+28>>2]}H[a>>2]=0;H[a+4>>2]=0;F[a+24|0]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;f=b>>31;zb(b,f,a);d=H[a+4>>2]-H[a>>2]|0;xa(d+c|0,c,b);sa(c,H[a>>2],d);g=H[i+44>>2];c=b+d|0;f=c>>>0<b>>>0?f+1|0:f;b=c+H[i+40>>2]|0;Na(e,b);b=H[a+12>>2];H[a+12>>2]=0;if(b){qa(b)}b=H[a>>2];if(b){H[a+4>>2]=b;qa(b)}da=a+32|0;a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break Wb}j=1;break t;case 9:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;nc:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}oc:{if((b|0)<=0){break oc}a=0;if(b-1>>>0>=3){k=b&-4;while(1){c=a<<2;f=(H[c+t>>2]<<3)+q|0;d=H[f+4>>2];j=H[f>>2]+1|0;d=j?d:d+1|0;H[f>>2]=j;H[f+4>>2]=d;d=(H[t+(c|4)>>2]<<3)+q|0;j=H[d+4>>2];f=H[d>>2]+1|0;j=f?j:j+1|0;H[d>>2]=f;H[d+4>>2]=j;d=(H[t+(c|8)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;c=(H[t+(c|12)>>2]<<3)+q|0;d=H[c+4>>2];f=H[c>>2]+1|0;d=f?d:d+1|0;H[c>>2]=f;H[c+4>>2]=d;a=a+4|0;n=n+4|0;if((k|0)!=(n|0)){continue}break}}d=b&3;if(!d){break oc}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;j=H[c+4>>2];f=H[c>>2]+1|0;j=f?j:j+1|0;H[c>>2]=f;H[c+4>>2]=j;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;pc:{if((d|0)<=0){break pc}l=d&3;qc:{if(d-1>>>0<3){h=0;break qc}A=d&-4;h=0;while(1){C=h|1;f=(C<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];n=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];x=H[k>>2];y=c;c=(h<<3)+q|0;v=H[c+4>>2];k=H[c>>2];c=j|x?z:f|n?B:d|p?C:!(v|k)?y:h;y=p;p=g+v|0;r=k+r|0;p=r>>>0<k>>>0?p+1|0:p;k=r;g=y+k|0;d=d+p|0;d=g>>>0<k>>>0?d+1|0:d;k=g;g=g+n|0;f=d+f|0;f=g>>>0<k>>>0?f+1|0:f;d=g+x|0;f=f+j|0;r=d;g=d>>>0<g>>>0?f+1|0:f;h=h+4|0;a=a+4|0;if((A|0)!=(a|0)){continue}break}}if(!l){break pc}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;j=a+g|0;d=d+r|0;j=d>>>0<r>>>0?j+1|0:j;r=d;g=j;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;rc:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break rc}if(d>>>0<=f>>>0){break rc}H[i+4>>2]=(f<<3)+a}l=0;n=0;sc:{tc:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*32768+.5;uc:{if(o<4294967296&o>=0){d=~~o>>>0;break uc}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==32768){break tc}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;vc:{if((c|0)<0){break vc}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break vc}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;wc:{if((g|0)<=512){Tb(l,a,s+24|0,d,0,0);break wc}h=d>>>0<536870911?d:536870911;xc:{while(1){g=ra(h<<2);if(g){break xc}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Tb(l,a,s+24|0,d,0,0);break wc}Tb(l,a,s+24|0,d,g,h);qa(g)}yc:{zc:{if((n|0)<32768){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+32768;break zc}Ac:{if((c|0)>0){m=n-32768|0;while(1){o=32768/+(n|0);j=H[i>>2];a=c;Bc:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Cc:{if(P(u)<2147483648){g=~~u;break Cc}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==32768){n=32768;break Bc}d=(a|0)>1;a=a-1|0;if(d){continue}break Bc}break}if((a|0)==(c|0)){break Ac}}if((m|0)<=0){break yc}l=H[s+8>>2];continue}}if(n>>>0<32769){break zc}while(1)continue}qa(l);break sc}if(!l){break tc}}qa(l)}if((c|0)<0){break sc}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=32768){break sc}h=0;o=0;Dc:{if((c|0)<0){break Dc}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*30517578125e-15)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*30517578125e-15)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Dc}a=h<<3;c=H[a+g>>2];if(!c){break Dc}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*30517578125e-15)+o}o=U(-o);Ec:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break Ec}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;p=a>>>0<39?f+1|0:f;a=c+((p&7)<<29|a>>>3)|0;f=p>>>3|0;f=a>>>0<c>>>0?f+1|0:f;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=131072;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=131072;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<15)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}b=da-32|0;da=b;c=H[e>>2]+H[i+40>>2]|0;d=H[i+32>>2];a=d-131072|0;Fc:{if(a>>>0<=63){F[H[i+24>>2]+H[i+28>>2]|0]=a;a=H[i+28>>2]+1|0;break Fc}if(a>>>0<=16383){a=H[i+24>>2]+H[i+28>>2]|0;d=d-114688|0;F[a|0]=d;F[a+1|0]=d>>>8;a=H[i+28>>2]+2|0;break Fc}if(a>>>0<=4194303){a=H[i+24>>2]+H[i+28>>2]|0;d=d+8257536|0;F[a+2|0]=d>>>16;F[a+1|0]=d>>>8;F[a|0]=d;a=H[i+28>>2]+3|0;break Fc}if(a>>>0<=1073741823){a=H[i+24>>2]+H[i+28>>2]|0;d=d-1073872896|0;F[a|0]=d;F[a+1|0]=d>>>8;F[a+2|0]=d>>>16;F[a+3|0]=d>>>24;a=H[i+28>>2]+4|0;break Fc}a=H[i+28>>2]}H[b>>2]=0;H[b+4>>2]=0;F[b+24|0]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;f=a>>31;zb(a,f,b);d=H[b+4>>2]-H[b>>2]|0;xa(d+c|0,c,a);sa(c,H[b>>2],d);g=H[i+44>>2];c=a+d|0;f=c>>>0<a>>>0?f+1|0:f;a=c+H[i+40>>2]|0;Na(e,a);a=H[b+12>>2];H[b+12>>2]=0;if(a){qa(a)}a=H[b>>2];if(a){H[b+4>>2]=a;qa(a)}da=b+32|0;a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break nc}j=1;break t;case 10:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;Gc:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}Hc:{if((b|0)<=0){break Hc}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;d=(H[t+(c|4)>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|8)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;c=(H[t+(c|12)>>2]<<3)+q|0;k=H[c+4>>2];d=H[c>>2]+1|0;k=d?k:k+1|0;H[c>>2]=d;H[c+4>>2]=k;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}d=b&3;if(!d){break Hc}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;f=H[c+4>>2];j=H[c>>2]+1|0;f=j?f:f+1|0;H[c>>2]=j;H[c+4>>2]=f;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;Ic:{if((d|0)<=0){break Ic}l=d&3;Jc:{if(d-1>>>0<3){h=0;break Jc}A=d&-4;h=0;while(1){C=h|1;f=(C<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];n=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];x=H[k>>2];y=c;c=(h<<3)+q|0;v=H[c+4>>2];k=H[c>>2];c=j|x?z:f|n?B:d|p?C:!(v|k)?y:h;y=p;p=g+v|0;r=k+r|0;p=r>>>0<k>>>0?p+1|0:p;g=y+r|0;k=d+p|0;k=g>>>0<r>>>0?k+1|0:k;d=g+n|0;f=f+k|0;f=d>>>0<g>>>0?f+1|0:f;k=d;g=d+x|0;d=f+j|0;r=g;g=g>>>0<k>>>0?d+1|0:d;h=h+4|0;a=a+4|0;if((A|0)!=(a|0)){continue}break}}if(!l){break Ic}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;f=a+g|0;d=d+r|0;f=d>>>0<r>>>0?f+1|0:f;r=d;g=f;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;Kc:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break Kc}if(d>>>0<=f>>>0){break Kc}H[i+4>>2]=(f<<3)+a}l=0;n=0;Lc:{Mc:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*65536+.5;Nc:{if(o<4294967296&o>=0){d=~~o>>>0;break Nc}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==65536){break Mc}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;Oc:{if((c|0)<0){break Oc}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break Oc}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;Pc:{if((g|0)<=512){Sb(l,a,s+24|0,d,0,0);break Pc}h=d>>>0<536870911?d:536870911;Qc:{while(1){g=ra(h<<2);if(g){break Qc}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Sb(l,a,s+24|0,d,0,0);break Pc}Sb(l,a,s+24|0,d,g,h);qa(g)}Rc:{Sc:{if((n|0)<65536){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+65536;break Sc}Tc:{if((c|0)>0){m=n-65536|0;while(1){o=65536/+(n|0);j=H[i>>2];a=c;Uc:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Vc:{if(P(u)<2147483648){g=~~u;break Vc}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==65536){n=65536;break Uc}d=(a|0)>1;a=a-1|0;if(d){continue}break Uc}break}if((a|0)==(c|0)){break Tc}}if((m|0)<=0){break Rc}l=H[s+8>>2];continue}}if(n>>>0<65537){break Sc}while(1)continue}qa(l);break Lc}if(!l){break Mc}}qa(l)}if((c|0)<0){break Lc}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=65536){break Lc}h=0;o=0;Wc:{if((c|0)<0){break Wc}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*152587890625e-16)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*152587890625e-16)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Wc}a=h<<3;c=H[a+g>>2];if(!c){break Wc}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*152587890625e-16)+o}o=U(-o);Xc:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break Xc}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;p=a>>>0<39?f+1|0:f;a=c+((p&7)<<29|a>>>3)|0;d=p>>>3|0;d=a>>>0<c>>>0?d+1|0:d;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=262144;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=262144;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<16)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}b=da-32|0;da=b;c=H[e>>2]+H[i+40>>2]|0;d=H[i+32>>2];a=d-262144|0;Yc:{if(a>>>0<=63){F[H[i+24>>2]+H[i+28>>2]|0]=a;a=H[i+28>>2]+1|0;break Yc}if(a>>>0<=16383){a=H[i+24>>2]+H[i+28>>2]|0;d=d-245760|0;F[a|0]=d;F[a+1|0]=d>>>8;a=H[i+28>>2]+2|0;break Yc}if(a>>>0<=4194303){a=H[i+24>>2]+H[i+28>>2]|0;d=d+8126464|0;F[a+2|0]=d>>>16;F[a+1|0]=d>>>8;F[a|0]=d;a=H[i+28>>2]+3|0;break Yc}if(a>>>0<=1073741823){a=H[i+24>>2]+H[i+28>>2]|0;d=d-1074003968|0;F[a|0]=d;F[a+1|0]=d>>>8;F[a+2|0]=d>>>16;F[a+3|0]=d>>>24;a=H[i+28>>2]+4|0;break Yc}a=H[i+28>>2]}H[b>>2]=0;H[b+4>>2]=0;F[b+24|0]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;f=a>>31;zb(a,f,b);d=H[b+4>>2]-H[b>>2]|0;xa(d+c|0,c,a);sa(c,H[b>>2],d);g=H[i+44>>2];c=a+d|0;f=c>>>0<a>>>0?f+1|0:f;a=c+H[i+40>>2]|0;Na(e,a);a=H[b+12>>2];H[b+12>>2]=0;if(a){qa(a)}a=H[b>>2];if(a){H[b+4>>2]=a;qa(a)}da=b+32|0;a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break Gc}j=1;break t;case 11:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;Zc:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}_c:{if((b|0)<=0){break _c}a=0;if(b-1>>>0>=3){k=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;j=H[d+4>>2];f=H[d>>2]+1|0;j=f?j:j+1|0;H[d>>2]=f;H[d+4>>2]=j;f=(H[t+(c|4)>>2]<<3)+q|0;d=H[f+4>>2];j=H[f>>2]+1|0;d=j?d:d+1|0;H[f>>2]=j;H[f+4>>2]=d;d=(H[t+(c|8)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;c=(H[t+(c|12)>>2]<<3)+q|0;j=H[c+4>>2];d=H[c>>2]+1|0;j=d?j:j+1|0;H[c>>2]=d;H[c+4>>2]=j;a=a+4|0;n=n+4|0;if((k|0)!=(n|0)){continue}break}}f=b&3;if(!f){break _c}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;d=H[c+4>>2];j=H[c>>2]+1|0;d=j?d:d+1|0;H[c>>2]=j;H[c+4>>2]=d;a=a+1|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;$c:{if((d|0)<=0){break $c}n=d&3;ad:{if(d-1>>>0<3){h=0;break ad}C=d&-4;h=0;while(1){l=h|1;f=(l<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|p?l:!(A|k)?y:h;l=j;y=p;p=g+A|0;j=k+r|0;p=j>>>0<k>>>0?p+1|0:p;k=j;g=y+j|0;j=d+p|0;j=g>>>0<k>>>0?j+1|0:j;d=g+x|0;f=f+j|0;f=d>>>0<g>>>0?f+1|0:f;g=d;d=d+v|0;k=f+l|0;r=d;g=d>>>0<g>>>0?k+1|0:k;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!n){break $c}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;f=d+r|0;d=a+g|0;d=f>>>0<r>>>0?d+1|0:d;r=f;g=d;m=m+1|0;if((n|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;bd:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break bd}if(d>>>0<=f>>>0){break bd}H[i+4>>2]=(f<<3)+a}l=0;n=0;cd:{dd:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*262144+.5;ed:{if(o<4294967296&o>=0){d=~~o>>>0;break ed}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==262144){break dd}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;fd:{if((c|0)<0){break fd}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break fd}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;gd:{if((g|0)<=512){Rb(l,a,s+24|0,d,0,0);break gd}h=d>>>0<536870911?d:536870911;hd:{while(1){g=ra(h<<2);if(g){break hd}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Rb(l,a,s+24|0,d,0,0);break gd}Rb(l,a,s+24|0,d,g,h);qa(g)}id:{jd:{if((n|0)<262144){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+262144;break jd}kd:{if((c|0)>0){m=n-262144|0;while(1){o=262144/+(n|0);j=H[i>>2];a=c;ld:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));md:{if(P(u)<2147483648){g=~~u;break md}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==262144){n=262144;break ld}d=(a|0)>1;a=a-1|0;if(d){continue}break ld}break}if((a|0)==(c|0)){break kd}}if((m|0)<=0){break id}l=H[s+8>>2];continue}}if(n>>>0<262145){break jd}while(1)continue}qa(l);break cd}if(!l){break dd}}qa(l)}if((c|0)<0){break cd}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=262144){break cd}h=0;o=0;nd:{if((c|0)<0){break nd}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*3814697265625e-18)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*3814697265625e-18)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break nd}a=h<<3;c=H[a+g>>2];if(!c){break nd}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*3814697265625e-18)+o}o=U(-o);od:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break od}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;p=a>>>0<39?f+1|0:f;a=c+((p&7)<<29|a>>>3)|0;k=p>>>3|0;k=a>>>0<c>>>0?k+1|0:k;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=1048576;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=1048576;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<18)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}a=da-32|0;da=a;c=H[e>>2]+H[i+40>>2]|0;d=H[i+32>>2];b=d+-1048576|0;pd:{if(b>>>0<=63){F[H[i+24>>2]+H[i+28>>2]|0]=b;b=H[i+28>>2]+1|0;break pd}if(b>>>0<=16383){b=H[i+24>>2]+H[i+28>>2]|0;d=d-1032192|0;F[b|0]=d;F[b+1|0]=d>>>8;b=H[i+28>>2]+2|0;break pd}if(b>>>0<=4194303){b=H[i+24>>2]+H[i+28>>2]|0;d=d+7340032|0;F[b+2|0]=d>>>16;F[b+1|0]=d>>>8;F[b|0]=d;b=H[i+28>>2]+3|0;break pd}if(b>>>0<=1073741823){b=H[i+24>>2]+H[i+28>>2]|0;d=d-1074790400|0;F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;b=H[i+28>>2]+4|0;break pd}b=H[i+28>>2]}H[a>>2]=0;H[a+4>>2]=0;F[a+24|0]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;f=b>>31;zb(b,f,a);d=H[a+4>>2]-H[a>>2]|0;xa(d+c|0,c,b);sa(c,H[a>>2],d);g=H[i+44>>2];c=b+d|0;f=c>>>0<b>>>0?f+1|0:f;b=c+H[i+40>>2]|0;Na(e,b);b=H[a+12>>2];H[a+12>>2]=0;if(b){qa(b)}b=H[a>>2];if(b){H[a+4>>2]=b;qa(b)}da=a+32|0;a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break Zc}j=1;break t;case 12:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;qd:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}rd:{if((b|0)<=0){break rd}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|4)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;d=(H[t+(c|8)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;c=(H[t+(c|12)>>2]<<3)+q|0;f=H[c+4>>2];d=H[c>>2]+1|0;f=d?f:f+1|0;H[c>>2]=d;H[c+4>>2]=f;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}d=b&3;if(!d){break rd}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;k=H[c+4>>2];f=H[c>>2]+1|0;k=f?k:k+1|0;H[c>>2]=f;H[c+4>>2]=k;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;sd:{if((d|0)<=0){break sd}n=d&3;td:{if(d-1>>>0<3){h=0;break td}C=d&-4;h=0;while(1){l=h|1;f=(l<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|p?l:!(A|k)?y:h;l=f;y=p;p=g+A|0;f=k+r|0;p=f>>>0<k>>>0?p+1|0:p;k=f;g=y+f|0;f=d+p|0;f=g>>>0<k>>>0?f+1|0:f;d=g+x|0;f=f+l|0;f=d>>>0<g>>>0?f+1|0:f;g=d;d=d+v|0;j=f+j|0;r=d;g=d>>>0<g>>>0?j+1|0:j;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!n){break sd}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;k=a+g|0;d=d+r|0;k=d>>>0<r>>>0?k+1|0:k;r=d;g=k;m=m+1|0;if((n|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;ud:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break ud}if(d>>>0<=f>>>0){break ud}H[i+4>>2]=(f<<3)+a}l=0;n=0;vd:{wd:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*524288+.5;xd:{if(o<4294967296&o>=0){d=~~o>>>0;break xd}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==524288){break wd}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;yd:{if((c|0)<0){break yd}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break yd}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;zd:{if((g|0)<=512){Qb(l,a,s+24|0,d,0,0);break zd}h=d>>>0<536870911?d:536870911;Ad:{while(1){g=ra(h<<2);if(g){break Ad}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Qb(l,a,s+24|0,d,0,0);break zd}Qb(l,a,s+24|0,d,g,h);qa(g)}Bd:{Cd:{if((n|0)<524288){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)+524288;break Cd}Dd:{if((c|0)>0){m=n-524288|0;while(1){o=524288/+(n|0);j=H[i>>2];a=c;Ed:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Fd:{if(P(u)<2147483648){g=~~u;break Fd}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==524288){n=524288;break Ed}d=(a|0)>1;a=a-1|0;if(d){continue}break Ed}break}if((a|0)==(c|0)){break Dd}}if((m|0)<=0){break Bd}l=H[s+8>>2];continue}}if(n>>>0<524289){break Cd}while(1)continue}qa(l);break vd}if(!l){break wd}}qa(l)}if((c|0)<0){break vd}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=524288){break vd}h=0;o=0;Gd:{if((c|0)<0){break Gd}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*19073486328125e-19)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*19073486328125e-19)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Gd}a=h<<3;c=H[a+g>>2];if(!c){break Gd}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*19073486328125e-19)+o}o=U(-o);Hd:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break Hd}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;p=a>>>0<39?f+1|0:f;a=c+((p&7)<<29|a>>>3)|0;j=p>>>3|0;j=a>>>0<c>>>0?j+1|0:j;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=2097152;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=2097152;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<19)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}a=da-32|0;da=a;c=H[e>>2]+H[i+40>>2]|0;d=H[i+32>>2];b=d-2097152|0;Id:{if(b>>>0<=63){F[H[i+24>>2]+H[i+28>>2]|0]=b;b=H[i+28>>2]+1|0;break Id}if(b>>>0<=16383){b=H[i+24>>2]+H[i+28>>2]|0;d=d-2080768|0;F[b|0]=d;F[b+1|0]=d>>>8;b=H[i+28>>2]+2|0;break Id}if(b>>>0<=4194303){b=H[i+24>>2]+H[i+28>>2]|0;d=d+6291456|0;F[b+2|0]=d>>>16;F[b+1|0]=d>>>8;F[b|0]=d;b=H[i+28>>2]+3|0;break Id}if(b>>>0<=1073741823){b=H[i+24>>2]+H[i+28>>2]|0;d=d-1075838976|0;F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;b=H[i+28>>2]+4|0;break Id}b=H[i+28>>2]}H[a>>2]=0;H[a+4>>2]=0;F[a+24|0]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;f=b>>31;zb(b,f,a);d=H[a+4>>2]-H[a>>2]|0;xa(d+c|0,c,b);sa(c,H[a>>2],d);g=H[i+44>>2];c=b+d|0;f=c>>>0<b>>>0?f+1|0:f;b=c+H[i+40>>2]|0;Na(e,b);b=H[a+12>>2];H[a+12>>2]=0;if(b){qa(b)}b=H[a>>2];if(b){H[a+4>>2]=b;qa(b)}da=a+32|0;a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break qd}j=1;break t;case 13:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;Jd:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}Kd:{if((b|0)<=0){break Kd}a=0;if(b-1>>>0>=3){k=b&-4;while(1){c=a<<2;f=(H[c+t>>2]<<3)+q|0;d=H[f+4>>2];j=H[f>>2]+1|0;d=j?d:d+1|0;H[f>>2]=j;H[f+4>>2]=d;d=(H[t+(c|4)>>2]<<3)+q|0;j=H[d+4>>2];f=H[d>>2]+1|0;j=f?j:j+1|0;H[d>>2]=f;H[d+4>>2]=j;d=(H[t+(c|8)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;c=(H[t+(c|12)>>2]<<3)+q|0;d=H[c+4>>2];f=H[c>>2]+1|0;d=f?d:d+1|0;H[c>>2]=f;H[c+4>>2]=d;a=a+4|0;n=n+4|0;if((k|0)!=(n|0)){continue}break}}d=b&3;if(!d){break Kd}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;j=H[c+4>>2];f=H[c>>2]+1|0;j=f?j:j+1|0;H[c>>2]=f;H[c+4>>2]=j;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;Ld:{if((d|0)<=0){break Ld}l=d&3;Md:{if(d-1>>>0<3){h=0;break Md}A=d&-4;h=0;while(1){C=h|1;f=(C<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];n=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];x=H[k>>2];y=c;c=(h<<3)+q|0;v=H[c+4>>2];k=H[c>>2];c=j|x?z:f|n?B:d|p?C:!(v|k)?y:h;y=p;p=g+v|0;r=k+r|0;p=r>>>0<k>>>0?p+1|0:p;k=r;g=y+k|0;d=d+p|0;d=g>>>0<k>>>0?d+1|0:d;k=g;g=g+n|0;f=d+f|0;f=g>>>0<k>>>0?f+1|0:f;d=g+x|0;f=f+j|0;r=d;g=d>>>0<g>>>0?f+1|0:f;h=h+4|0;a=a+4|0;if((A|0)!=(a|0)){continue}break}}if(!l){break Ld}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;j=a+g|0;d=d+r|0;j=d>>>0<r>>>0?j+1|0:j;r=d;g=j;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;Nd:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break Nd}if(d>>>0<=f>>>0){break Nd}H[i+4>>2]=(f<<3)+a}l=0;n=0;Od:{Pd:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*1048576+.5;Qd:{if(o<4294967296&o>=0){d=~~o>>>0;break Qd}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==1048576){break Pd}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;Rd:{if((c|0)<0){break Rd}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break Rd}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;Sd:{if((g|0)<=512){Pb(l,a,s+24|0,d,0,0);break Sd}h=d>>>0<536870911?d:536870911;Td:{while(1){g=ra(h<<2);if(g){break Td}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Pb(l,a,s+24|0,d,0,0);break Sd}Pb(l,a,s+24|0,d,g,h);qa(g)}Ud:{Vd:{if((n|0)<1048576){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)- -1048576;break Vd}Wd:{if((c|0)>0){m=n+-1048576|0;while(1){o=1048576/+(n|0);j=H[i>>2];a=c;Xd:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Yd:{if(P(u)<2147483648){g=~~u;break Yd}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==1048576){n=1048576;break Xd}d=(a|0)>1;a=a-1|0;if(d){continue}break Xd}break}if((a|0)==(c|0)){break Wd}}if((m|0)<=0){break Ud}l=H[s+8>>2];continue}}if(n>>>0<1048577){break Vd}while(1)continue}qa(l);break Od}if(!l){break Pd}}qa(l)}if((c|0)<0){break Od}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=1048576){break Od}h=0;o=0;Zd:{if((c|0)<0){break Zd}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Zd}a=h<<3;c=H[a+g>>2];if(!c){break Zd}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*9.5367431640625e-7)+o}o=U(-o);_d:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break _d}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;p=a>>>0<39?f+1|0:f;a=c+((p&7)<<29|a>>>3)|0;f=p>>>3|0;f=a>>>0<c>>>0?f+1|0:f;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=4194304;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=4194304;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<20)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}qc(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break Jd}j=1;break t;case 14:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;$d:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}ae:{if((b|0)<=0){break ae}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|4)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;d=(H[t+(c|8)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;c=(H[t+(c|12)>>2]<<3)+q|0;f=H[c+4>>2];d=H[c>>2]+1|0;f=d?f:f+1|0;H[c>>2]=d;H[c+4>>2]=f;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}d=b&3;if(!d){break ae}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;p=H[c+4>>2];f=H[c>>2]+1|0;p=f?p:p+1|0;H[c>>2]=f;H[c+4>>2]=p;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;be:{if((d|0)<=0){break be}l=d&3;ce:{if(d-1>>>0<3){h=0;break ce}C=d&-4;h=0;while(1){p=h|1;f=(p<<3)+q|0;d=H[f+4>>2];n=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|n?p:!(A|k)?y:h;p=f;f=k;r=f+r|0;k=g+A|0;k=f>>>0>r>>>0?k+1|0:k;g=r+n|0;f=d+k|0;f=g>>>0<r>>>0?f+1|0:f;d=g+x|0;f=f+p|0;f=d>>>0<g>>>0?f+1|0:f;k=d;g=d+v|0;d=f+j|0;r=g;g=g>>>0<k>>>0?d+1|0:d;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!l){break be}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;p=a+g|0;d=d+r|0;p=d>>>0<r>>>0?p+1|0:p;r=d;g=p;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;de:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break de}if(d>>>0<=f>>>0){break de}H[i+4>>2]=(f<<3)+a}l=0;n=0;ee:{fe:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*1048576+.5;ge:{if(o<4294967296&o>=0){d=~~o>>>0;break ge}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==1048576){break fe}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;he:{if((c|0)<0){break he}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break he}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;ie:{if((g|0)<=512){Ob(l,a,s+24|0,d,0,0);break ie}h=d>>>0<536870911?d:536870911;je:{while(1){g=ra(h<<2);if(g){break je}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Ob(l,a,s+24|0,d,0,0);break ie}Ob(l,a,s+24|0,d,g,h);qa(g)}ke:{le:{if((n|0)<1048576){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)- -1048576;break le}me:{if((c|0)>0){m=n+-1048576|0;while(1){o=1048576/+(n|0);j=H[i>>2];a=c;ne:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));oe:{if(P(u)<2147483648){g=~~u;break oe}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==1048576){n=1048576;break ne}d=(a|0)>1;a=a-1|0;if(d){continue}break ne}break}if((a|0)==(c|0)){break me}}if((m|0)<=0){break ke}l=H[s+8>>2];continue}}if(n>>>0<1048577){break le}while(1)continue}qa(l);break ee}if(!l){break fe}}qa(l)}if((c|0)<0){break ee}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=1048576){break ee}h=0;o=0;pe:{if((c|0)<0){break pe}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break pe}a=h<<3;c=H[a+g>>2];if(!c){break pe}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*9.5367431640625e-7)+o}o=U(-o);qe:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break qe}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;k=a>>>0<39?f+1|0:f;a=c+((k&7)<<29|a>>>3)|0;d=k>>>3|0;d=a>>>0<c>>>0?d+1|0:d;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=4194304;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=4194304;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<20)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}qc(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break $d}j=1;break t;case 15:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;re:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}se:{if((b|0)<=0){break se}a=0;if(b-1>>>0>=3){p=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;f=H[d+4>>2];j=H[d>>2]+1|0;f=j?f:f+1|0;H[d>>2]=j;H[d+4>>2]=f;d=(H[t+(c|4)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;d=(H[t+(c|8)>>2]<<3)+q|0;j=H[d+4>>2];f=H[d>>2]+1|0;j=f?j:j+1|0;H[d>>2]=f;H[d+4>>2]=j;c=(H[t+(c|12)>>2]<<3)+q|0;f=H[c+4>>2];d=H[c>>2]+1|0;f=d?f:f+1|0;H[c>>2]=d;H[c+4>>2]=f;a=a+4|0;n=n+4|0;if((p|0)!=(n|0)){continue}break}}d=b&3;if(!d){break se}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;k=H[c+4>>2];f=H[c>>2]+1|0;k=f?k:k+1|0;H[c>>2]=f;H[c+4>>2]=k;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;te:{if((d|0)<=0){break te}n=d&3;ue:{if(d-1>>>0<3){h=0;break ue}B=d&-4;h=0;while(1){p=h|1;f=(p<<3)+q|0;d=H[f+4>>2];x=H[f>>2];l=h|2;j=(l<<3)+q|0;f=H[j+4>>2];v=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];A=H[k>>2];y=c;c=(h<<3)+q|0;C=H[c+4>>2];k=H[c>>2];c=j|A?z:f|v?l:d|x?p:!(C|k)?y:h;p=j;l=f;j=g+C|0;f=k+r|0;j=f>>>0<k>>>0?j+1|0:j;k=f;g=f+x|0;f=d+j|0;f=g>>>0<k>>>0?f+1|0:f;j=g;g=g+v|0;d=f+l|0;d=g>>>0<j>>>0?d+1|0:d;j=g;g=g+A|0;f=d+p|0;r=g;g=g>>>0<j>>>0?f+1|0:f;h=h+4|0;a=a+4|0;if((B|0)!=(a|0)){continue}break}}if(!n){break te}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;k=a+g|0;d=d+r|0;k=d>>>0<r>>>0?k+1|0:k;r=d;g=k;m=m+1|0;if((n|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;ve:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break ve}if(d>>>0<=f>>>0){break ve}H[i+4>>2]=(f<<3)+a}l=0;n=0;we:{xe:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*1048576+.5;ye:{if(o<4294967296&o>=0){d=~~o>>>0;break ye}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==1048576){break xe}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;ze:{if((c|0)<0){break ze}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break ze}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;Ae:{if((g|0)<=512){Nb(l,a,s+24|0,d,0,0);break Ae}h=d>>>0<536870911?d:536870911;Be:{while(1){g=ra(h<<2);if(g){break Be}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Nb(l,a,s+24|0,d,0,0);break Ae}Nb(l,a,s+24|0,d,g,h);qa(g)}Ce:{De:{if((n|0)<1048576){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)- -1048576;break De}Ee:{if((c|0)>0){m=n+-1048576|0;while(1){o=1048576/+(n|0);j=H[i>>2];a=c;Fe:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Ge:{if(P(u)<2147483648){g=~~u;break Ge}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==1048576){n=1048576;break Fe}d=(a|0)>1;a=a-1|0;if(d){continue}break Fe}break}if((a|0)==(c|0)){break Ee}}if((m|0)<=0){break Ce}l=H[s+8>>2];continue}}if(n>>>0<1048577){break De}while(1)continue}qa(l);break we}if(!l){break xe}}qa(l)}if((c|0)<0){break we}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=1048576){break we}h=0;o=0;He:{if((c|0)<0){break He}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break He}a=h<<3;c=H[a+g>>2];if(!c){break He}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*9.5367431640625e-7)+o}o=U(-o);Ie:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break Ie}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;g=d;d=a<<1|d>>>31;a=(g<<1)+39|0;j=a>>>0<39?d+1|0:d;f=j>>>3|0;a=c+((j&7)<<29|a>>>3)|0;f=a>>>0<c>>>0?f+1|0:f;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=4194304;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=4194304;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<20)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}qc(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break re}j=1;break t;case 16:t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;Je:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}Ke:{if((b|0)<=0){break Ke}a=0;if(b-1>>>0>=3){k=b&-4;while(1){c=a<<2;f=(H[c+t>>2]<<3)+q|0;d=H[f+4>>2];j=H[f>>2]+1|0;d=j?d:d+1|0;H[f>>2]=j;H[f+4>>2]=d;d=(H[t+(c|4)>>2]<<3)+q|0;j=H[d+4>>2];f=H[d>>2]+1|0;j=f?j:j+1|0;H[d>>2]=f;H[d+4>>2]=j;d=(H[t+(c|8)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;c=(H[t+(c|12)>>2]<<3)+q|0;d=H[c+4>>2];f=H[c>>2]+1|0;d=f?d:d+1|0;H[c>>2]=f;H[c+4>>2]=d;a=a+4|0;n=n+4|0;if((k|0)!=(n|0)){continue}break}}d=b&3;if(!d){break Ke}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;j=H[c+4>>2];f=H[c>>2]+1|0;j=f?j:j+1|0;H[c>>2]=f;H[c+4>>2]=j;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;Le:{if((d|0)<=0){break Le}l=d&3;Me:{if(d-1>>>0<3){h=0;break Me}A=d&-4;h=0;while(1){C=h|1;f=(C<<3)+q|0;d=H[f+4>>2];p=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];n=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];x=H[k>>2];y=c;c=(h<<3)+q|0;v=H[c+4>>2];k=H[c>>2];c=j|x?z:f|n?B:d|p?C:!(v|k)?y:h;y=p;p=g+v|0;r=k+r|0;p=r>>>0<k>>>0?p+1|0:p;k=r;g=y+k|0;d=d+p|0;d=g>>>0<k>>>0?d+1|0:d;k=g;g=g+n|0;f=d+f|0;f=g>>>0<k>>>0?f+1|0:f;d=g+x|0;f=f+j|0;r=d;g=d>>>0<g>>>0?f+1|0:f;h=h+4|0;a=a+4|0;if((A|0)!=(a|0)){continue}break}}if(!l){break Le}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;j=a+g|0;d=d+r|0;j=d>>>0<r>>>0?j+1|0:j;r=d;g=j;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;Ne:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break Ne}if(d>>>0<=f>>>0){break Ne}H[i+4>>2]=(f<<3)+a}l=0;n=0;Oe:{Pe:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*1048576+.5;Qe:{if(o<4294967296&o>=0){d=~~o>>>0;break Qe}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==1048576){break Pe}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;Re:{if((c|0)<0){break Re}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break Re}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;Se:{if((g|0)<=512){Mb(l,a,s+24|0,d,0,0);break Se}h=d>>>0<536870911?d:536870911;Te:{while(1){g=ra(h<<2);if(g){break Te}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Mb(l,a,s+24|0,d,0,0);break Se}Mb(l,a,s+24|0,d,g,h);qa(g)}Ue:{Ve:{if((n|0)<1048576){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)- -1048576;break Ve}We:{if((c|0)>0){m=n+-1048576|0;while(1){o=1048576/+(n|0);j=H[i>>2];a=c;Xe:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));Ye:{if(P(u)<2147483648){g=~~u;break Ye}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==1048576){n=1048576;break Xe}d=(a|0)>1;a=a-1|0;if(d){continue}break Xe}break}if((a|0)==(c|0)){break We}}if((m|0)<=0){break Ue}l=H[s+8>>2];continue}}if(n>>>0<1048577){break Ve}while(1)continue}qa(l);break Oe}if(!l){break Pe}}qa(l)}if((c|0)<0){break Oe}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=1048576){break Oe}h=0;o=0;Ze:{if((c|0)<0){break Ze}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break Ze}a=h<<3;c=H[a+g>>2];if(!c){break Ze}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*9.5367431640625e-7)+o}o=U(-o);_e:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break _e}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;p=a>>>0<39?f+1|0:f;a=c+((p&7)<<29|a>>>3)|0;f=p>>>3|0;f=a>>>0<c>>>0?f+1|0:f;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=4194304;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=4194304;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<20)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}qc(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break Je}j=1;break t;case 17:break B;default:break t}}t=a;h=0;q=0;n=0;m=0;r=0;g=0;i=da+-64|0;da=i;H[i+56>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;$e:{a=l+1|0;if(a>>>0>=l>>>0){if(a>>>0>=536870912){break a}a=a<<3;q=ra(a);H[i+48>>2]=q;h=a+q|0;H[i+56>>2]=h;ta(q,0,(l<<3)+8|0);H[i+52>>2]=h}af:{if((b|0)<=0){break af}a=0;if(b-1>>>0>=3){j=b&-4;while(1){c=a<<2;d=(H[c+t>>2]<<3)+q|0;f=H[d+4>>2];k=H[d>>2]+1|0;f=k?f:f+1|0;H[d>>2]=k;H[d+4>>2]=f;d=(H[t+(c|4)>>2]<<3)+q|0;p=H[d+4>>2];f=H[d>>2]+1|0;p=f?p:p+1|0;H[d>>2]=f;H[d+4>>2]=p;d=(H[t+(c|8)>>2]<<3)+q|0;k=H[d+4>>2];f=H[d>>2]+1|0;k=f?k:k+1|0;H[d>>2]=f;H[d+4>>2]=k;c=(H[t+(c|12)>>2]<<3)+q|0;f=H[c+4>>2];d=H[c>>2]+1|0;f=d?f:f+1|0;H[c>>2]=d;H[c+4>>2]=f;a=a+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}d=b&3;if(!d){break af}while(1){c=(H[t+(a<<2)>>2]<<3)+q|0;p=H[c+4>>2];f=H[c>>2]+1|0;p=f?p:p+1|0;H[c>>2]=f;H[c+4>>2]=p;a=a+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;m=0;c=0;a=0;s=da-32|0;da=s;d=h-q>>3;bf:{if((d|0)<=0){break bf}l=d&3;cf:{if(d-1>>>0<3){h=0;break cf}C=d&-4;h=0;while(1){p=h|1;f=(p<<3)+q|0;d=H[f+4>>2];n=H[f>>2];B=h|2;j=(B<<3)+q|0;f=H[j+4>>2];x=H[j>>2];z=h|3;k=(z<<3)+q|0;j=H[k+4>>2];v=H[k>>2];y=c;c=(h<<3)+q|0;A=H[c+4>>2];k=H[c>>2];c=j|v?z:f|x?B:d|n?p:!(A|k)?y:h;p=f;f=k;r=f+r|0;k=g+A|0;k=f>>>0>r>>>0?k+1|0:k;g=r+n|0;f=d+k|0;f=g>>>0<r>>>0?f+1|0:f;d=g+x|0;f=f+p|0;f=d>>>0<g>>>0?f+1|0:f;k=d;g=d+v|0;d=f+j|0;r=g;g=g>>>0<k>>>0?d+1|0:d;h=h+4|0;a=a+4|0;if((C|0)!=(a|0)){continue}break}}if(!l){break bf}while(1){f=c;c=(h<<3)+q|0;a=H[c+4>>2];d=H[c>>2];c=!(a|d)?f:h;h=h+1|0;p=a+g|0;d=d+r|0;p=d>>>0<r>>>0?p+1|0:p;r=d;g=p;m=m+1|0;if((l|0)!=(m|0)){continue}break}}f=c+1|0;H[i+12>>2]=f;a=H[i>>2];d=H[i+4>>2]-a>>3;df:{if(d>>>0<f>>>0){Ya(i,f-d|0);a=H[i>>2];break df}if(d>>>0<=f>>>0){break df}H[i+4>>2]=(f<<3)+a}l=0;n=0;ef:{ff:{if((c|0)>=0){u=+(r>>>0)+ +(g>>>0)*4294967296;h=0;while(1){g=h<<3;j=g+q|0;d=H[j+4>>2];j=H[j>>2];k=(d|j)!=0;g=a+g|0;o=(+(j>>>0)+ +(d>>>0)*4294967296)/u*1048576+.5;gf:{if(o<4294967296&o>=0){d=~~o>>>0;break gf}d=0}d=d?d:k?1:d;H[g>>2]=d;n=d+n|0;d=(c|0)==(h|0);h=h+1|0;if(!d){continue}break}if((n|0)==1048576){break ff}}H[s+16>>2]=0;H[s+8>>2]=0;H[s+12>>2]=0;a=0;if(f){if(f>>>0>=1073741824){break a}a=f<<2;l=ra(a);H[s+8>>2]=l;H[s+16>>2]=a+l;a=(c<<2)+4|0;a=ta(l,0,a)+a|0;H[s+12>>2]=a}h=0;hf:{if((c|0)<0){break hf}g=c+1|0;d=g&7;if(c>>>0>=7){g=g&-8;m=0;while(1){H[(h<<2)+l>>2]=h;f=h|1;H[(f<<2)+l>>2]=f;f=h|2;H[(f<<2)+l>>2]=f;f=h|3;H[(f<<2)+l>>2]=f;f=h|4;H[(f<<2)+l>>2]=f;f=h|5;H[(f<<2)+l>>2]=f;f=h|6;H[(f<<2)+l>>2]=f;f=h|7;H[(f<<2)+l>>2]=f;h=h+8|0;m=m+8|0;if((g|0)!=(m|0)){continue}break}}if(!d){break hf}m=0;while(1){H[(h<<2)+l>>2]=h;h=h+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}H[s+24>>2]=i;g=a-l|0;d=g>>2;jf:{if((g|0)<=512){Lb(l,a,s+24|0,d,0,0);break jf}h=d>>>0<536870911?d:536870911;kf:{while(1){g=ra(h<<2);if(g){break kf}g=h>>>0>1;h=h>>>1|0;if(g){continue}break}Lb(l,a,s+24|0,d,0,0);break jf}Lb(l,a,s+24|0,d,g,h);qa(g)}lf:{mf:{if((n|0)<1048576){a=H[i>>2]+(H[a-4>>2]<<3)|0;H[a>>2]=(H[a>>2]-n|0)- -1048576;break mf}nf:{if((c|0)>0){m=n+-1048576|0;while(1){o=1048576/+(n|0);j=H[i>>2];a=c;of:{while(1){g=j+(H[(a<<2)+l>>2]<<3)|0;d=H[g>>2];if(d>>>0>=2){k=d-1|0;f=g;r=d;u=T(o*+(d>>>0));pf:{if(P(u)<2147483648){g=~~u;break pf}g=-2147483648}g=d-g|0;g=g?g:1;d=(d|0)>(g|0)?g:k;d=(d|0)>(m|0)?m:d;H[f>>2]=r-d;m=m-d|0;n=n-d|0;if((n|0)==1048576){n=1048576;break of}d=(a|0)>1;a=a-1|0;if(d){continue}break of}break}if((a|0)==(c|0)){break nf}}if((m|0)<=0){break lf}l=H[s+8>>2];continue}}if(n>>>0<1048577){break mf}while(1)continue}qa(l);break ef}if(!l){break ff}}qa(l)}if((c|0)<0){break ef}a=H[i>>2];d=c+1|0;f=d&3;n=0;m=0;h=0;if(c>>>0>=3){j=d&-4;l=0;while(1){g=m<<3;k=g+a|0;H[k+4>>2]=h;p=a+(g|8)|0;k=H[k>>2]+h|0;H[p+4>>2]=k;r=a+(g|16)|0;k=k+H[p>>2]|0;H[r+4>>2]=k;g=a+(g|24)|0;k=k+H[r>>2]|0;H[g+4>>2]=k;h=k+H[g>>2]|0;m=m+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}if(f){while(1){g=a+(m<<3)|0;H[g+4>>2]=h;m=m+1|0;h=H[g>>2]+h|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if((h|0)!=1048576){break ef}h=0;o=0;qf:{if((c|0)<0){break qf}g=H[i>>2];if(c){c=d&-2;a=0;while(1){f=h<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}f=(h|1)<<3;j=H[f+g>>2];if(j){f=f+q|0;o=(+K[f>>2]+ +K[f+4>>2]*4294967296)*za(+(j>>>0)*9.5367431640625e-7)+o}h=h+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}if(!(d&1)){break qf}a=h<<3;c=H[a+g>>2];if(!c){break qf}a=a+q|0;o=(+K[a>>2]+ +K[a+4>>2]*4294967296)*za(+(c>>>0)*9.5367431640625e-7)+o}o=U(-o);rf:{if(o<0x10000000000000000&o>=0){c=P(o)>=1?~~(o>0?R(T(o*2.3283064365386963e-10),4294967295):U((o-+(~~o>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~o>>>0;break rf}c=0;a=0}H[i+16>>2]=a;H[i+20>>2]=c;Xa(i,e)}da=s+32|0;d=H[i+16>>2];a=H[i+20>>2];c=H[e+4>>2]-H[e>>2]|0;H[i+40>>2]=c;H[i+44>>2]=0;f=a<<1|d>>>31;a=(d<<1)+39|0;k=a>>>0<39?f+1|0:f;a=c+((k&7)<<29|a>>>3)|0;d=k>>>3|0;d=a>>>0<c>>>0?d+1|0:d;a=a+8|0;Na(e,a);a=H[e>>2];H[i+28>>2]=0;H[i+32>>2]=4194304;H[i+24>>2]=a+H[i+40>>2];if((b|0)>0){a=4194304;while(1){c=b-1|0;g=H[i>>2]+(H[t+(c<<2)>>2]<<3)|0;d=H[g>>2];f=d<<10;if(f>>>0<=a>>>0){while(1){j=H[i+28>>2];H[i+28>>2]=j+1;F[j+H[i+24>>2]|0]=a;a=H[i+32>>2]>>>8|0;H[i+32>>2]=a;if(a>>>0>=f>>>0){continue}break}}f=H[g+4>>2];g=(a>>>0)/(d>>>0)|0;a=f+((g<<20)+(a-N(d,g)|0)|0)|0;H[i+32>>2]=a;d=(b|0)>1;b=c;if(d){continue}break}}qc(i,e);a=H[i>>2];if(a){H[i+4>>2]=a;qa(a)}a=H[i+48>>2];if(a){qa(a)}da=i- -64|0;break $e}j=1}da=E+32|0}if(!w){break e}H[D+36>>2]=w;qa(w)}da=D+48|0;return j}H[D+32>>2]=w;ya(1604);X()}H[D+40>>2]=f;H[D+32>>2]=w;break a}ya(1604);X()}va();X()}function Bh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,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,P=O(0),R=0,S=0,T=0,U=0,V=0,W=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0,fa=0;e=da-1696|0;da=e;d=10-bb(H[H[a+28>>2]+48>>2])|0;d=(d|0)<6?d:6;c=H[a+72>>2];F[e+1695|0]=(d&255)==6?(c|0)>15?5:d:d;d=H[b+20>>2];if(!H[b+16>>2]&(d|0)<=0|(d|0)<0){wa(b,H[b+4>>2],e+1695|0,e+1696|0);c=H[a+72>>2]}f=H[a+28>>2];s=H[H[f+4>>2]+80>>2];H[e+1684>>2]=0;H[e+1676>>2]=0;H[e+1680>>2]=0;H[e+1664>>2]=s;H[e+1668>>2]=c;H[e+1672>>2]=c<<2;a:{t=N(c,s);if(t){if(t>>>0>=1073741824){break a}d=t<<2;i=ra(d);H[e+1676>>2]=i;g=d+i|0;H[e+1684>>2]=g;ta(i,0,d);H[e+1680>>2]=g}H[e+1688>>2]=i;d=H[a+4>>2];b:{if((d|0)!=H[a+8>>2]){t=0;while(1){c=H[H[H[f+4>>2]+8>>2]+(H[(j<<2)+d>>2]<<2)>>2];d=H[c+28>>2];if(d-1>>>0>=6){if((d|0)!=9){break b}c=H[H[a+60>>2]+(m<<2)>>2];if(!c){break b}m=m+1|0;d=H[c+28>>2]}c:{d:{switch(d-1|0){case 5:d=0;if(!s){break c}while(1){h=(H[e+1688>>2]+(n<<2)|0)+(N(H[e+1668>>2],d)<<2)|0;i=H[H[c>>2]>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],I[c+84|0]?d:H[H[c+68>>2]+(d<<2)>>2],0)|0;sa(h,i+f|0,F[c+24|0]<<2);d=d+1|0;if((s|0)!=(d|0)){continue}break};break c;case 0:case 2:case 4:d=F[c+24|0];H[e+464>>2]=0;H[e+456>>2]=0;H[e+460>>2]=0;e:{if(!d){d=0;H[e+1648>>2]=0;break e}if((d|0)<0){break a}f=d<<2;i=ra(f);H[e+456>>2]=i;H[e+464>>2]=f+i;d=0;ta(i,0,f);f=F[c+24|0];H[e+1656>>2]=0;H[e+1648>>2]=0;H[e+1652>>2]=0;if(!f){break e}if((f|0)<0){break a}f=f<<2;d=ra(f);H[e+1648>>2]=d;ta(d,0,f)}f=0;if(s){while(1){o=H[e+456>>2];_c(c,I[c+84|0]?f:H[H[c+68>>2]+(f<<2)>>2],F[c+24|0],o);i=H[e+1648>>2];g=F[c+24|0];f:{if((g|0)<=0){break f}h=H[a+48>>2];d=0;if((g|0)!=1){l=g&-2;q=0;while(1){x=d<<2;H[x+i>>2]=H[o+x>>2]-H[h+(d+t<<2)>>2];x=d|1;B=x<<2;H[B+i>>2]=H[o+B>>2]-H[h+(t+x<<2)>>2];d=d+2|0;q=q+2|0;if((l|0)!=(q|0)){continue}break}}if(!(g&1)){break f}l=d<<2;H[l+i>>2]=H[l+o>>2]-H[h+(d+t<<2)>>2]}sa((H[e+1688>>2]+(n<<2)|0)+(N(H[e+1668>>2],f)<<2)|0,i,g<<2);f=f+1|0;if((s|0)!=(f|0)){continue}break}d=H[e+1648>>2]}f=F[c+24|0];if(d){qa(d)}d=H[e+456>>2];if(d){qa(d)}t=f+t|0;break c;default:break d}}i=F[c+24|0];d=0;H[e+464>>2]=0;H[e+456>>2]=0;H[e+460>>2]=0;f=0;if(i){if((i|0)<0){break a}i=i<<2;f=ra(i);H[e+456>>2]=f;ta(f,0,i)}if(s){while(1){f=I[c+84|0]?d:H[H[c+68>>2]+(d<<2)>>2];i=F[c+24|0];h=0;o=H[e+456>>2];g:{if(!o){break g}h:{i:{switch(H[c+28>>2]-1|0){case 0:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}H[o+(h<<2)>>2]=F[f|0];f=f+1|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 1:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}H[o+(h<<2)>>2]=I[f|0];f=f+1|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 2:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}H[o+(h<<2)>>2]=G[f>>1];f=f+2|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 3:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}H[o+(h<<2)>>2]=J[f>>1];f=f+2|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 4:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}H[o+(h<<2)>>2]=H[f>>2];f=f+4|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 5:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}H[o+(h<<2)>>2]=H[f>>2];f=f+4|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 6:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}g=H[f>>2];if(H[f+4>>2]){break g}H[o+(h<<2)>>2]=g;f=f+8|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 7:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}g=H[f>>2];if(H[f+4>>2]){break g}H[o+(h<<2)>>2]=g;f=f+8|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 8:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}x=o+(h<<2)|0;P=L[f>>2];j:{if(P<O(4294967296)&P>=O(0)){k=~~P>>>0;break j}k=0}H[x>>2]=k;f=f+4|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 9:g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}x=o+(h<<2)|0;R=M[f>>3];k:{if(R<4294967296&R>=0){k=~~R>>>0;break k}k=0}H[x>>2]=k;f=f+8|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)<(i|0)){break h}break g;case 10:break i;default:break g}}g=F[c+24|0];if((((g|0)>(i|0)?i:g)|0)>0){g=H[c>>2];k=H[g>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],f,0)|0;f=k+f|0;l=H[g+4>>2];while(1){if(f>>>0>=l>>>0){break g}H[o+(h<<2)>>2]=I[f|0];f=f+1|0;h=h+1|0;g=F[c+24|0];if((h|0)<(((g|0)>(i|0)?i:g)|0)){continue}break}}if((g|0)>=(i|0)){break g}}ta(o+(g<<2)|0,0,i-g<<2)}sa((H[e+1688>>2]+(n<<2)|0)+(N(H[e+1668>>2],d)<<2)|0,o,F[c+24|0]<<2);d=d+1|0;if((s|0)!=(d|0)){continue}break}f=H[e+456>>2]}if(!f){break c}qa(f)}j=j+1|0;d=H[a+4>>2];if(j>>>0<H[a+8>>2]-d>>2>>>0){n=F[c+24|0]+n|0;f=H[a+28>>2];continue}break}c=H[a+72>>2];t=N(s,c);i=H[e+1688>>2]}d=0;l:{if((t|0)<=0){break l}a=t&1;m:{if((t|0)==1){f=0;break m}g=t&-2;f=0;t=0;while(1){o=f<<2;s=H[o+i>>2];if(s){s=Q(s);d=(s^31)<(d|0)?d:32-s|0}o=H[(o|4)+i>>2];if(o){o=Q(o);d=(o^31)<(d|0)?d:32-o|0}f=f+2|0;t=t+2|0;if((g|0)!=(t|0)){continue}break}}if(!a){break l}a=H[(f<<2)+i>>2];if(!a){break l}a=Q(a);d=(a^31)<(d|0)?d:32-a|0}n:{o:{switch(I[e+1695|0]){case 6:m=Yc(e+456|0,c);a=H[e+1668>>2];H[e+448>>2]=a;H[e+432>>2]=a;H[e+32>>2]=a;H[e+16>>2]=a;H[e+440>>2]=0;H[e+424>>2]=H[e+1664>>2];a=e+1664|0;H[e+444>>2]=a;c=H[e+444>>2];H[e+24>>2]=H[e+440>>2];H[e+28>>2]=c;H[e+428>>2]=a;H[e+1648>>2]=d;a=H[e+428>>2];H[e+8>>2]=H[e+424>>2];H[e+12>>2]=a;l=da-32|0;da=l;H[m>>2]=H[e+1648>>2];a=H[e+8>>2]-H[e+24>>2]|0;H[m+4>>2]=a;d=H[b+20>>2];if(!H[b+16>>2]&(d|0)<=0|(d|0)<0){a=m+4|0;wa(b,H[b+4>>2],m,a);d=H[b+20>>2];if(!H[b+16>>2]&(d|0)<=0|(d|0)<0){wa(b,H[b+4>>2],a,a+4|0)}a=H[a>>2]}if(a){U=m+12|0;ke(U);V=m+1068|0;a=V;H[a+12>>2]=0;H[a+16>>2]=0;H[a+4>>2]=H[a>>2];W=m+1088|0;a=W;H[a+12>>2]=0;H[a+16>>2]=0;H[a+4>>2]=H[a>>2];Y=m+1108|0;a=Y;H[a+12>>2]=0;H[a+16>>2]=0;H[a+4>>2]=H[a>>2];H[l+24>>2]=H[e+32>>2];a=H[e+28>>2];H[l+16>>2]=H[e+24>>2];H[l+20>>2]=a;H[l+8>>2]=H[e+16>>2];a=H[e+12>>2];H[l>>2]=H[e+8>>2];H[l+4>>2]=a;d=0;h=0;j=da+-64|0;da=j;c=H[m+8>>2];H[j+48>>2]=0;H[j+40>>2]=0;H[j+44>>2]=0;if(c){if(c>>>0>=1073741824){break a}a=c<<2;d=ra(a);H[j+40>>2]=d;h=a+d|0;H[j+48>>2]=h;ta(d,0,a);H[j+44>>2]=h}a=H[m+1164>>2];f=H[a>>2];if(f){H[a+4>>2]=f;qa(f);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;c=H[m+8>>2];h=H[j+44>>2];d=H[j+40>>2]}H[a+4>>2]=h;H[a>>2]=d;H[a+8>>2]=H[j+48>>2];d=0;H[j+48>>2]=0;H[j+40>>2]=0;H[j+44>>2]=0;a=0;p:{if(c){if(c>>>0>=1073741824){break a}c=c<<2;a=ra(c);H[j+40>>2]=a;d=a+c|0;H[j+48>>2]=d;ta(a,0,c);H[j+44>>2]=d}c=H[m+1176>>2];f=H[c>>2];if(f){H[c+4>>2]=f;qa(f);H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=H[j+44>>2];a=H[j+40>>2]}H[c+4>>2]=d;H[c>>2]=a;H[c+8>>2]=H[j+48>>2];g=H[l+4>>2];o=H[l+8>>2];t=H[l+20>>2];s=H[l+24>>2];d=H[l>>2];c=H[l+16>>2];H[j+56>>2]=0;H[j+60>>2]=0;H[j+48>>2]=0;H[j+52>>2]=0;H[j+40>>2]=0;H[j+44>>2]=0;gb(j+40|0);a=H[j+56>>2]+H[j+60>>2]|0;f=(a>>>0)/113|0;a=H[H[j+44>>2]+(f<<2)>>2]+N(a-N(f,113)|0,36)|0;H[a+32>>2]=0;H[a+28>>2]=d-c;H[a+24>>2]=0;H[a+12>>2]=d;H[a+4>>2]=t;H[a+8>>2]=s;H[a>>2]=c;H[a+16>>2]=g;H[a+20>>2]=o;a=H[j+60>>2];c=a+1|0;H[j+60>>2]=c;if(a>>>0<=c>>>0){_=m+1068|0;$=m+1108|0;B=t;x=s;aa=s&-4;Z=s&3;ba=s-1>>>0<3;while(1){n=H[j+44>>2];d=H[j+56>>2];h=c-1|0;a=d+h|0;f=(a>>>0)/113|0;a=H[n+(f<<2)>>2]+N(a-N(f,113)|0,36)|0;S=H[a+32>>2];i=H[a+12>>2];f=H[a>>2];H[j+60>>2]=h;a=H[j+48>>2];h=a-n|0;if(((h?N(h>>2,113)-1|0:0)-(c+d|0)|0)+1>>>0>=226){qa(H[a-4>>2]);H[j+48>>2]=H[j+48>>2]-4}H[l+16>>2]=f;H[l>>2]=i;a=H[m+1164>>2];d=H[m+1176>>2];H[j+32>>2]=H[l+24>>2];c=H[l+20>>2];H[j+24>>2]=H[l+16>>2];H[j+28>>2]=c;H[j+16>>2]=H[l+8>>2];c=H[l+4>>2];H[j+8>>2]=H[l>>2];H[j+12>>2]=c;T=N(S,12);u=a+T|0;c=u;D=d+T|0;a=D;n=0;q:{r:{s:{t:{p=H[j+8>>2];d=H[j+24>>2];v=p-d|0;if(v>>>0>=64){if(!H[m+8>>2]){d=0;break r}z=H[m+1140>>2];A=H[a>>2];E=H[m+1128>>2];if((d|0)!=(p|0)){break t}a=0;while(1){d=a<<2;c=d+E|0;H[c>>2]=0;h=d+z|0;d=H[m>>2]-H[d+A>>2]|0;H[h>>2]=d;if(d){d=H[c>>2];h=v-d|0;H[c>>2]=d>>>0>h>>>0?d:h}a=a+1|0;c=H[m+8>>2];if(a>>>0<c>>>0){continue}break}break s}d=0;h=H[m+8>>2];if(h>>>0<2){break q}c=H[a>>2];a=h-1|0;n=a&3;q=0;u:{if(h-2>>>0<3){a=1;break u}p=a&-4;a=1;h=0;while(1){v=a+3|0;r=a+2|0;w=a+1|0;d=K[c+(d<<2)>>2]>K[c+(a<<2)>>2]?a:d;d=K[c+(d<<2)>>2]>K[c+(w<<2)>>2]?w:d;d=K[c+(d<<2)>>2]>K[c+(r<<2)>>2]?r:d;d=K[c+(d<<2)>>2]>K[c+(v<<2)>>2]?v:d;a=a+4|0;h=h+4|0;if((p|0)!=(h|0)){continue}break}}if(!n){break q}while(1){d=K[c+(d<<2)>>2]>K[c+(a<<2)>>2]?a:d;a=a+1|0;q=q+1|0;if((n|0)!=(q|0)){continue}break}break q}y=H[j+28>>2];C=H[c>>2];ca=v&1;h=d+1|0;ea=(p|0)!=(h|0);k=H[j+32>>2];fa=N(k,d)<<2;while(1){a=n<<2;q=a+E|0;H[q>>2]=0;c=H[m>>2]-H[a+A>>2]|0;H[a+z>>2]=c;if(c){r=H[a+C>>2]+(1<<c-1)|0;w=a+H[y+24>>2]|0;c=H[q>>2];if(ca){c=(r>>>0>K[w+fa>>2])+c|0;H[q>>2]=c;a=h}else{a=d}if(ea){while(1){c=(r>>>0>K[w+(N(a,k)<<2)>>2])+c|0;H[q>>2]=c;c=c+(r>>>0>K[w+(N(k,a+1|0)<<2)>>2])|0;H[q>>2]=c;a=a+2|0;if((p|0)!=(a|0)){continue}break}}a=v-c|0;H[q>>2]=a>>>0<c>>>0?c:a}c=H[m+8>>2];n=n+1|0;if(c>>>0>n>>>0){continue}break}}if(!c){d=0;break r}n=H[m+1128>>2];q=H[m+1140>>2];v=c&1;v:{if((c|0)==1){a=0;c=0;d=0;break v}r=c&-2;a=0;c=0;d=0;h=0;while(1){p=a<<2;if(H[p+q>>2]){w=H[n+p>>2];p=w>>>0>c>>>0;c=p?w:c;d=p?a:d}w=a|1;p=w<<2;if(H[p+q>>2]){z=H[n+p>>2];p=z>>>0>c>>>0;c=p?z:c;d=p?w:d}a=a+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}if(!v){break r}h=a<<2;if(!H[h+q>>2]){break r}d=K[h+n>>2]>c>>>0?a:d}bc(m+1088|0,4,d)}c=d;n=c<<2;d=H[m>>2]-H[n+H[D>>2]>>2]|0;w:{x:{if(!d){break x}y:{z:{v=i-f|0;if(v>>>0<=2){i=H[m+1152>>2];H[i>>2]=c;d=1;a=H[m+8>>2];if(a>>>0>1){break z}break y}a=H[m+1164>>2];E=S+1|0;w=N(E,12);h=a+w|0;if((h|0)!=(u|0)){db(h,H[u>>2],H[u+4>>2]);a=H[m+1164>>2]}a=n+H[a+w>>2]|0;q=H[a>>2]+(1<<d-1)|0;H[a>>2]=q;a=f;A:{if((i|0)==(a|0)){break A}D=H[B+24>>2];d=f;a=i;if(!x){if(q>>>0>K[n+D>>2]){break A}while(1){a=a-1|0;if((d|0)==(a|0)){a=d;break A}if(q>>>0<=K[(n+H[g+24>>2]|0)+(N(a,o)<<2)>>2]){continue}d=d+1|0;if((d|0)!=(a|0)){continue}break}break A}while(1){u=D+(N(d,x)<<2)|0;if(q>>>0>K[u+n>>2]){d=d+1|0;if((d|0)!=(a|0)){continue}break A}while(1){a=a-1|0;if((d|0)==(a|0)){a=d;break A}p=H[g+24>>2]+(N(a,o)<<2)|0;if(q>>>0<=K[p+n>>2]){continue}break}z=0;h=0;A=0;if(!ba){while(1){r=h<<2;k=r+u|0;y=H[k>>2];C=k;k=p+r|0;H[C>>2]=H[k>>2];H[k>>2]=y;k=r|4;y=k+u|0;C=H[y>>2];k=p+k|0;H[y>>2]=H[k>>2];H[k>>2]=C;k=r|8;y=k+u|0;C=H[y>>2];k=p+k|0;H[y>>2]=H[k>>2];H[k>>2]=C;r=r|12;k=r+u|0;y=H[k>>2];r=p+r|0;H[k>>2]=H[r>>2];H[r>>2]=y;h=h+4|0;A=A+4|0;if((aa|0)!=(A|0)){continue}break}}if(Z){while(1){r=h<<2;A=r+u|0;k=H[A>>2];r=p+r|0;H[A>>2]=H[r>>2];H[r>>2]=k;h=h+1|0;z=z+1|0;if((Z|0)!=(z|0)){continue}break}}d=d+1|0;if((d|0)!=(a|0)){continue}break}}q=a-f|0;u=i-a|0;if((q|0)!=(u|0)){xc($,q>>>0<u>>>0)}d=Q(v);p=d^31;h=v>>>1|0;B:{if(q>>>0<u>>>0){if(!p){break B}v=h-q|0;d=1<<30-d;h=0;while(1){Fa((m+(h<<5)|0)+12|0,(d&v)!=0);d=d>>>1|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}break B}if(!p){break B}v=h-u|0;d=1<<30-d;h=0;while(1){Fa((m+(h<<5)|0)+12|0,(d&v)!=0);d=d>>>1|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}}k=n;d=H[m+1176>>2];h=d+T|0;n=H[h>>2];p=k+n|0;H[p>>2]=H[p>>2]+1;db(d+w|0,n,H[h+4>>2]);if((a|0)!=(f|0)){d=H[j+60>>2]+H[j+56>>2]|0;h=H[j+44>>2];n=H[j+48>>2]-h|0;if((d|0)==((n?N(n>>2,113)-1|0:0)|0)){gb(j+40|0);h=H[j+44>>2];d=H[j+56>>2]+H[j+60>>2]|0}n=h;h=(d>>>0)/113|0;d=H[n+(h<<2)>>2]+N(d-N(h,113)|0,36)|0;H[d+32>>2]=S;H[d+28>>2]=q;H[d+24>>2]=c;H[d+12>>2]=a;H[d+4>>2]=t;H[d+8>>2]=s;H[d>>2]=f;H[d+20>>2]=x;H[d+16>>2]=B;H[j+60>>2]=H[j+60>>2]+1}if((a|0)==(i|0)){break x}d=H[j+60>>2]+H[j+56>>2]|0;h=H[j+44>>2];f=H[j+48>>2]-h|0;if((d|0)==((f?N(f>>2,113)-1|0:0)|0)){gb(j+40|0);h=H[j+44>>2];d=H[j+56>>2]+H[j+60>>2]|0}f=(d>>>0)/113|0;d=H[(f<<2)+h>>2]+N(d-N(f,113)|0,36)|0;H[d+32>>2]=E;H[d+28>>2]=u;H[d+24>>2]=c;H[d+12>>2]=i;H[d+8>>2]=x;H[d+4>>2]=B;H[d>>2]=a;H[d+16>>2]=g;H[d+20>>2]=o;c=H[j+60>>2]+1|0;H[j+60>>2]=c;break w}while(1){c=(a-1|0)==(c|0)?0:c+1|0;H[i+(d<<2)>>2]=c;a=H[m+8>>2];d=d+1|0;if(a>>>0>d>>>0){continue}break}}h=0;d=a;if(!v){break x}while(1){C:{if(!d){d=0;break C}i=H[B+24>>2]+(N(H[B+4>>2],f+h|0)<<2)|0;c=0;while(1){d=H[H[m+1152>>2]+(c<<2)>>2]<<2;n=H[m>>2]-H[d+H[D>>2]>>2]|0;if(n){bc(_,n,H[d+i>>2]);a=H[m+8>>2]}d=a;c=c+1|0;if(a>>>0>c>>>0){continue}break}}h=h+1|0;if((v|0)!=(h|0)){continue}break}}c=H[j+60>>2]}if(c){continue}break}}H[j+60>>2]=0;f=H[j+48>>2];c=H[j+44>>2];a=f-c|0;if(a>>>0>=9){while(1){qa(H[c>>2]);c=H[j+44>>2]+4|0;H[j+44>>2]=c;f=H[j+48>>2];a=f-c|0;if(a>>>0>8){continue}break}}d=56;D:{switch((a>>>2|0)-1|0){case 1:d=113;case 0:H[j+56>>2]=d;break;default:break D}}E:{if((c|0)==(f|0)){break E}while(1){qa(H[c>>2]);c=c+4|0;if((f|0)!=(c|0)){continue}break}a=H[j+48>>2];d=H[j+44>>2];if((a|0)==(d|0)){break E}H[j+48>>2]=a+(((a-d|0)-4>>>2^-1)<<2)}a=H[j+40>>2];if(a){qa(a)}da=j- -64|0;break p}je(U,b);fb(V,b);fb(W,b);fb(Y,b)}da=l+32|0;Zc(m);break n;case 5:c=Yc(e+456|0,c);a=H[e+1668>>2];H[e+416>>2]=a;H[e+400>>2]=a;H[e- -64>>2]=a;H[e+48>>2]=a;H[e+408>>2]=0;H[e+392>>2]=H[e+1664>>2];a=e+1664|0;H[e+412>>2]=a;f=H[e+412>>2];H[e+56>>2]=H[e+408>>2];H[e+60>>2]=f;H[e+396>>2]=a;H[e+1648>>2]=d;a=H[e+396>>2];H[e+40>>2]=H[e+392>>2];H[e+44>>2]=a;a=re(c,e+56|0,e+40|0,e+1648|0,b);Zc(c);if(a){break n}break b;case 4:c=Yc(e+456|0,c);a=H[e+1668>>2];H[e+384>>2]=a;H[e+368>>2]=a;H[e+96>>2]=a;H[e+80>>2]=a;H[e+376>>2]=0;H[e+360>>2]=H[e+1664>>2];a=e+1664|0;H[e+380>>2]=a;f=H[e+380>>2];H[e+88>>2]=H[e+376>>2];H[e+92>>2]=f;H[e+364>>2]=a;H[e+1648>>2]=d;a=H[e+364>>2];H[e+72>>2]=H[e+360>>2];H[e+76>>2]=a;a=re(c,e+88|0,e+72|0,e+1648|0,b);Zc(c);if(a){break n}break b;case 3:c=qe(e+456|0,c);a=H[e+1668>>2];H[e+352>>2]=a;H[e+336>>2]=a;H[e+128>>2]=a;H[e+112>>2]=a;H[e+344>>2]=0;H[e+328>>2]=H[e+1664>>2];a=e+1664|0;H[e+348>>2]=a;f=H[e+348>>2];H[e+120>>2]=H[e+344>>2];H[e+124>>2]=f;H[e+332>>2]=a;H[e+1648>>2]=d;a=H[e+332>>2];H[e+104>>2]=H[e+328>>2];H[e+108>>2]=a;a=pe(c,e+120|0,e+104|0,e+1648|0,b);oe(c);if(a){break n}break b;case 2:c=qe(e+456|0,c);a=H[e+1668>>2];H[e+320>>2]=a;H[e+304>>2]=a;H[e+160>>2]=a;H[e+144>>2]=a;H[e+312>>2]=0;H[e+296>>2]=H[e+1664>>2];a=e+1664|0;H[e+316>>2]=a;f=H[e+316>>2];H[e+152>>2]=H[e+312>>2];H[e+156>>2]=f;H[e+300>>2]=a;H[e+1648>>2]=d;a=H[e+300>>2];H[e+136>>2]=H[e+296>>2];H[e+140>>2]=a;a=pe(c,e+152|0,e+136|0,e+1648|0,b);oe(c);if(a){break n}break b;case 1:c=ne(e+456|0,c);a=H[e+1668>>2];H[e+288>>2]=a;H[e+272>>2]=a;H[e+192>>2]=a;H[e+176>>2]=a;H[e+280>>2]=0;H[e+264>>2]=H[e+1664>>2];a=e+1664|0;H[e+284>>2]=a;f=H[e+284>>2];H[e+184>>2]=H[e+280>>2];H[e+188>>2]=f;H[e+268>>2]=a;H[e+1648>>2]=d;a=H[e+268>>2];H[e+168>>2]=H[e+264>>2];H[e+172>>2]=a;a=me(c,e+184|0,e+168|0,e+1648|0,b);le(c);if(a){break n}break b;case 0:break o;default:break b}}c=ne(e+456|0,c);a=H[e+1668>>2];H[e+256>>2]=a;H[e+240>>2]=a;H[e+224>>2]=a;H[e+208>>2]=a;H[e+248>>2]=0;H[e+232>>2]=H[e+1664>>2];a=e+1664|0;H[e+252>>2]=a;f=H[e+252>>2];H[e+216>>2]=H[e+248>>2];H[e+220>>2]=f;H[e+236>>2]=a;H[e+1648>>2]=d;a=H[e+236>>2];H[e+200>>2]=H[e+232>>2];H[e+204>>2]=a;a=me(c,e+216|0,e+200|0,e+1648|0,b);le(c);if(!a){break b}}u=1}a=H[e+1676>>2];if(a){H[e+1680>>2]=a;qa(a)}da=e+1696|0;return u|0}va();X()}function Ne(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,G=0,J=0,L=0,M=0;y=da-160|0;da=y;H[y+60>>2]=b;H[y+20>>2]=b;H[y+24>>2]=-1;g=y+16|0;H[g+112>>2]=0;H[g+116>>2]=0;i=H[g+44>>2]-H[g+4>>2]|0;H[g+120>>2]=i;H[g+124>>2]=i>>31;H[g+104>>2]=H[g+8>>2];t=da-48|0;da=t;if(d>>>0<=2){a:{d=d<<2;x=H[d+17308>>2];E=H[d+17296>>2];while(1){d=H[g+4>>2];b:{if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;i=I[d|0];break b}i=Qa(g)}if((i|0)==32|i-9>>>0<5){continue}break}p=1;c:{d:{switch(i-43|0){case 0:case 2:break d;default:break c}}p=(i|0)==45?-1:1;d=H[g+4>>2];if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;i=I[d|0];break c}i=Qa(g)}e:{f:{while(1){if(F[h+1266|0]==(i|32)){g:{if(h>>>0>6){break g}d=H[g+4>>2];if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;i=I[d|0];break g}i=Qa(g)}h=h+1|0;if((h|0)!=8){continue}break f}break}if((h|0)!=3){if((h|0)==8){break f}if(h>>>0<4){break e}if((h|0)==8){break f}}d=H[g+116>>2];if((d|0)>0|(d|0)>=0){H[g+4>>2]=H[g+4>>2]-1}if(h>>>0<4){break f}d=(d|0)<0;while(1){if(!d){H[g+4>>2]=H[g+4>>2]-1}h=h-1|0;if(h>>>0>3){continue}break}}l=da-16|0;da=l;m=(B(O(O(p|0)*O(Z))),v(2));d=m&2147483647;h:{if(d-8388608>>>0<=2130706431){s=d<<25;i=(d>>>7|0)+1065353216|0;break h}s=m<<25;i=m>>>7|2147418112;if(d>>>0>=2139095040){break h}s=0;i=0;if(!d){break h}j=d;d=Q(d);Ta(l,j,0,0,0,d+81|0);j=H[l>>2];k=H[l+4>>2];s=H[l+8>>2];i=H[l+12>>2]^65536|16265-d<<16}H[t>>2]=j;H[t+4>>2]=k;H[t+8>>2]=s;H[t+12>>2]=m&-2147483648|i;da=l+16|0;j=H[t+8>>2];k=H[t+12>>2];l=H[t>>2];m=H[t+4>>2];break a}i:{j:{k:{if(h){break k}h=0;while(1){if(F[h+1546|0]!=(i|32)){break k}l:{if(h>>>0>1){break l}d=H[g+4>>2];if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;i=I[d|0];break l}i=Qa(g)}h=h+1|0;if((h|0)!=3){continue}break}break j}m:{switch(h|0){case 0:n:{if((i|0)!=48){break n}d=H[g+4>>2];o:{if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;d=I[d|0];break o}d=Qa(g)}if((d&-33)==88){f=da-432|0;da=f;d=H[g+4>>2];p:{if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;h=I[d|0];break p}h=Qa(g)}q:{r:{while(1){if((h|0)!=48){s:{if((h|0)!=46){break q}d=H[g+4>>2];if((d|0)==H[g+104>>2]){break s}H[g+4>>2]=d+1;h=I[d|0];break r}}else{d=H[g+4>>2];if((d|0)!=H[g+104>>2]){w=1;H[g+4>>2]=d+1;h=I[d|0]}else{w=1;h=Qa(g)}continue}break}h=Qa(g)}e=1;if((h|0)!=48){break q}while(1){d=s;s=d-1|0;u=u-!d|0;d=H[g+4>>2];t:{if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;h=I[d|0];break t}h=Qa(g)}if((h|0)==48){continue}break}w=1}m=1073676288;u:{while(1){v:{d=h|32;w:{x:{i=h-48|0;if(i>>>0<10){break x}if((h|0)!=46&d-97>>>0>=6){break u}if((h|0)!=46){break x}if(e){break v}e=1;s=j;u=k;break w}d=(h|0)>57?d-87|0:i;y:{if((k|0)<=0&j>>>0<=7|(k|0)<0){o=d+(o<<4)|0;break y}if(!k&j>>>0<=28){cb(f+48|0,d);Ha(f+32|0,C,D,l,m,0,0,0,1073414144);C=H[f+32>>2];D=H[f+36>>2];l=H[f+40>>2];m=H[f+44>>2];Ha(f+16|0,H[f+48>>2],H[f+52>>2],H[f+56>>2],H[f+60>>2],C,D,l,m);ab(f,H[f+16>>2],H[f+20>>2],H[f+24>>2],H[f+28>>2],n,r,z,A);z=H[f+8>>2];A=H[f+12>>2];n=H[f>>2];r=H[f+4>>2];break y}if(q|!d){break y}Ha(f+80|0,C,D,l,m,0,0,0,1073610752);ab(f- -64|0,H[f+80>>2],H[f+84>>2],H[f+88>>2],H[f+92>>2],n,r,z,A);z=H[f+72>>2];A=H[f+76>>2];q=1;n=H[f+64>>2];r=H[f+68>>2]}d=j+1|0;k=d?k:k+1|0;j=d;w=1}d=H[g+4>>2];if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;h=I[d|0]}else{h=Qa(g)}continue}break}h=46}z:{if(!w){d=H[g+116>>2];if((d|0)>0|(d|0)>=0){A:{d=H[g+4>>2];H[g+4>>2]=d-1;H[g+4>>2]=d-2;if(!e){break A}H[g+4>>2]=d-3}}rb(f+96|0,+(p|0)*0);n=H[f+96>>2];r=H[f+100>>2];j=H[f+108>>2];d=H[f+104>>2];break z}if((k|0)<=0&j>>>0<=7|(k|0)<0){l=j;m=k;while(1){o=o<<4;d=l+1|0;m=d?m:m+1|0;l=d;if((d|0)!=8|m){continue}break}}B:{C:{D:{if((h&-33)==80){l=Oe(g);d=ea;m=d;if(l|(d|0)!=-2147483648){break B}d=H[g+116>>2];if((d|0)>0|(d|0)>=0){break D}break C}l=0;m=0;if(H[g+116>>2]<0){break B}}H[g+4>>2]=H[g+4>>2]-1}l=0;m=0}if(!o){rb(f+112|0,+(p|0)*0);n=H[f+112>>2];r=H[f+116>>2];j=H[f+124>>2];d=H[f+120>>2];break z}d=e?s:j;k=(e?u:k)<<2|d>>>30;d=l+(d<<2)|0;h=k+m|0;h=d>>>0<l>>>0?h+1|0:h;j=d-32|0;k=h-(d>>>0<32)|0;d=k;if(j>>>0>0-x>>>0&(d|0)>=0|(d|0)>0){H[4739]=68;cb(f+160|0,p);Ha(f+144|0,H[f+160>>2],H[f+164>>2],H[f+168>>2],H[f+172>>2],-1,-1,-1,2147418111);Ha(f+128|0,H[f+144>>2],H[f+148>>2],H[f+152>>2],H[f+156>>2],-1,-1,-1,2147418111);n=H[f+128>>2];r=H[f+132>>2];j=H[f+140>>2];d=H[f+136>>2];break z}d=x-226|0;i=d>>31;if((k|0)>=(i|0)&d>>>0<=j>>>0|(i|0)<(k|0)){if((o|0)>=0){while(1){ab(f+416|0,n,r,z,A,0,0,0,-1073807360);i=id(n,r,z,A,1073610752);d=(i|0)<0;ab(f+400|0,n,r,z,A,d?n:H[f+416>>2],d?r:H[f+420>>2],d?z:H[f+424>>2],d?A:H[f+428>>2]);d=j;j=d-1|0;k=k-!d|0;z=H[f+408>>2];A=H[f+412>>2];n=H[f+400>>2];r=H[f+404>>2];o=o<<1|(i|0)>=0;if((o|0)>=0){continue}break}}h=k-((x>>31)+(j>>>0<x>>>0)|0)|0;d=(j-x|0)+32|0;h=d>>>0<32?h+1|0:h;i=d>>>0<E>>>0&(h|0)<=0|(h|0)<0?(d|0)>0?d:0:E;E:{if((i|0)>=113){cb(f+384|0,p);s=H[f+392>>2];u=H[f+396>>2];C=H[f+384>>2];D=H[f+388>>2];k=0;d=0;break E}rb(f+352|0,jd(144-i|0));cb(f+336|0,p);C=H[f+336>>2];D=H[f+340>>2];s=H[f+344>>2];u=H[f+348>>2];Re(f+368|0,H[f+352>>2],H[f+356>>2],H[f+360>>2],H[f+364>>2],C,D,s,u);G=H[f+376>>2];J=H[f+380>>2];k=H[f+372>>2];d=H[f+368>>2]}i=!(o&1)&((Kb(n,r,z,A,0,0,0,0)|0)!=0&(i|0)<32);dc(f+320|0,i+o|0);Ha(f+304|0,C,D,s,u,H[f+320>>2],H[f+324>>2],H[f+328>>2],H[f+332>>2]);h=d;ab(f+272|0,H[f+304>>2],H[f+308>>2],H[f+312>>2],H[f+316>>2],d,k,G,J);d=i;Ha(f+288|0,C,D,s,u,d?0:n,d?0:r,d?0:z,d?0:A);ab(f+256|0,H[f+288>>2],H[f+292>>2],H[f+296>>2],H[f+300>>2],H[f+272>>2],H[f+276>>2],H[f+280>>2],H[f+284>>2]);hd(f+240|0,H[f+256>>2],H[f+260>>2],H[f+264>>2],H[f+268>>2],h,k,G,J);d=H[f+240>>2];i=H[f+244>>2];h=H[f+248>>2];k=H[f+252>>2];if(!Kb(d,i,h,k,0,0,0,0)){H[4739]=68}Qe(f+224|0,d,i,h,k,j);n=H[f+224>>2];r=H[f+228>>2];j=H[f+236>>2];d=H[f+232>>2];break z}H[4739]=68;cb(f+208|0,p);Ha(f+192|0,H[f+208>>2],H[f+212>>2],H[f+216>>2],H[f+220>>2],0,0,0,65536);Ha(f+176|0,H[f+192>>2],H[f+196>>2],H[f+200>>2],H[f+204>>2],0,0,0,65536);n=H[f+176>>2];r=H[f+180>>2];j=H[f+188>>2];d=H[f+184>>2]}H[t+16>>2]=n;H[t+20>>2]=r;H[t+24>>2]=d;H[t+28>>2]=j;da=f+432|0;j=H[t+24>>2];k=H[t+28>>2];l=H[t+16>>2];m=H[t+20>>2];break a}if(H[g+116>>2]<0){break n}H[g+4>>2]=H[g+4>>2]-1}f=p;h=0;p=0;e=da-8976|0;da=e;J=x+E|0;M=0-J|0;F:{G:{while(1){if((i|0)!=48){H:{if((i|0)!=46){break F}d=H[g+4>>2];if((d|0)==H[g+104>>2]){break H}H[g+4>>2]=d+1;i=I[d|0];break G}}else{d=H[g+4>>2];if((d|0)!=H[g+104>>2]){h=1;H[g+4>>2]=d+1;i=I[d|0]}else{h=1;i=Qa(g)}continue}break}i=Qa(g)}q=1;if((i|0)!=48){break F}while(1){d=j;j=d-1|0;k=k-!d|0;d=H[g+4>>2];I:{if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;i=I[d|0];break I}i=Qa(g)}if((i|0)==48){continue}break}h=1}H[e+784>>2]=0;J:{K:{d=(i|0)==46;n=i-48|0;L:{M:{N:{if(!(!d&n>>>0>9)){while(1){O:{if(d&1){if(!q){j=l;k=m;q=1;break O}d=!h;break N}d=l+1|0;m=d?m:m+1|0;l=d;if((p|0)<=2044){G=(i|0)==48?G:l;d=(e+784|0)+(p<<2)|0;if(w){n=(N(H[d>>2],10)+i|0)-48|0}H[d>>2]=n;h=1;i=w+1|0;d=(i|0)==9;w=d?0:i;p=d+p|0;break O}if((i|0)==48){break O}H[e+8960>>2]=H[e+8960>>2]|1;G=18396}d=H[g+4>>2];P:{if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;i=I[d|0];break P}i=Qa(g)}d=(i|0)==46;n=i-48|0;if(d|n>>>0<10){continue}break}}j=q?j:l;k=q?k:m;if(!(!h|(i&-33)!=69)){n=Oe(g);d=ea;r=d;Q:{if(n|(d|0)!=-2147483648){break Q}n=0;r=0;if(H[g+116>>2]<0){break Q}H[g+4>>2]=H[g+4>>2]-1}if(!h){break L}k=k+r|0;d=j+n|0;k=d>>>0<n>>>0?k+1|0:k;j=d;break K}d=!h;if((i|0)<0){break M}}if(H[g+116>>2]<0){break M}H[g+4>>2]=H[g+4>>2]-1}if(!d){break K}}H[4739]=28;l=0;m=0;H[g+112>>2]=0;H[g+116>>2]=0;d=H[g+44>>2]-H[g+4>>2]|0;H[g+120>>2]=d;H[g+124>>2]=d>>31;H[g+104>>2]=H[g+8>>2];j=0;d=0;break J}d=H[e+784>>2];if(!d){rb(e,+(f|0)*0);l=H[e>>2];m=H[e+4>>2];j=H[e+12>>2];d=H[e+8>>2];break J}if(!(l>>>0>9&(m|0)>=0|(m|0)>0|((j|0)!=(l|0)|(k|0)!=(m|0))|(d>>>E|0?(E|0)<=30:0))){cb(e+48|0,f);dc(e+32|0,d);Ha(e+16|0,H[e+48>>2],H[e+52>>2],H[e+56>>2],H[e+60>>2],H[e+32>>2],H[e+36>>2],H[e+40>>2],H[e+44>>2]);l=H[e+16>>2];m=H[e+20>>2];j=H[e+28>>2];d=H[e+24>>2];break J}if(j>>>0>(x|0)/-2>>>0&(k|0)>=0|(k|0)>0){H[4739]=68;cb(e+96|0,f);Ha(e+80|0,H[e+96>>2],H[e+100>>2],H[e+104>>2],H[e+108>>2],-1,-1,-1,2147418111);Ha(e- -64|0,H[e+80>>2],H[e+84>>2],H[e+88>>2],H[e+92>>2],-1,-1,-1,2147418111);l=H[e+64>>2];m=H[e+68>>2];j=H[e+76>>2];d=H[e+72>>2];break J}d=x-226|0;i=j>>>0<d>>>0;d=d>>31;if(i&(k|0)<=(d|0)|(d|0)>(k|0)){H[4739]=68;cb(e+144|0,f);Ha(e+128|0,H[e+144>>2],H[e+148>>2],H[e+152>>2],H[e+156>>2],0,0,0,65536);Ha(e+112|0,H[e+128>>2],H[e+132>>2],H[e+136>>2],H[e+140>>2],0,0,0,65536);l=H[e+112>>2];m=H[e+116>>2];j=H[e+124>>2];d=H[e+120>>2];break J}if(w){if((w|0)<=8){d=(e+784|0)+(p<<2)|0;o=H[d>>2];while(1){o=N(o,10);w=w+1|0;if((w|0)!=9){continue}break}H[d>>2]=o}p=p+1|0}R:{q=j;if((G|0)>(j|0)|(G|0)>=9|(j|0)>17){break R}if((q|0)==9){cb(e+192|0,f);dc(e+176|0,H[e+784>>2]);Ha(e+160|0,H[e+192>>2],H[e+196>>2],H[e+200>>2],H[e+204>>2],H[e+176>>2],H[e+180>>2],H[e+184>>2],H[e+188>>2]);l=H[e+160>>2];m=H[e+164>>2];j=H[e+172>>2];d=H[e+168>>2];break J}if((q|0)<=8){cb(e+272|0,f);dc(e+256|0,H[e+784>>2]);Ha(e+240|0,H[e+272>>2],H[e+276>>2],H[e+280>>2],H[e+284>>2],H[e+256>>2],H[e+260>>2],H[e+264>>2],H[e+268>>2]);cb(e+224|0,H[(0-q<<2)+17296>>2]);Fe(e+208|0,H[e+240>>2],H[e+244>>2],H[e+248>>2],H[e+252>>2],H[e+224>>2],H[e+228>>2],H[e+232>>2],H[e+236>>2]);l=H[e+208>>2];m=H[e+212>>2];j=H[e+220>>2];d=H[e+216>>2];break J}d=(N(q,-3)+E|0)+27|0;j=H[e+784>>2];if(j>>>d|0?(d|0)<=30:0){break R}cb(e+352|0,f);dc(e+336|0,j);Ha(e+320|0,H[e+352>>2],H[e+356>>2],H[e+360>>2],H[e+364>>2],H[e+336>>2],H[e+340>>2],H[e+344>>2],H[e+348>>2]);cb(e+304|0,H[(q<<2)+17224>>2]);Ha(e+288|0,H[e+320>>2],H[e+324>>2],H[e+328>>2],H[e+332>>2],H[e+304>>2],H[e+308>>2],H[e+312>>2],H[e+316>>2]);l=H[e+288>>2];m=H[e+292>>2];j=H[e+300>>2];d=H[e+296>>2];break J}while(1){i=p;p=i-1|0;if(!H[(e+784|0)+(p<<2)>>2]){continue}break}w=0;d=(q|0)%9|0;S:{if(!d){d=0;break S}j=(q|0)>=0?d:d+9|0;T:{if(!i){d=0;i=0;break T}h=H[(0-j<<2)+17296>>2];m=1e9/(h|0)|0;n=0;o=0;d=0;while(1){k=n;l=(e+784|0)+(o<<2)|0;p=H[l>>2];n=(p>>>0)/(h>>>0)|0;k=k+n|0;H[l>>2]=k;k=!k&(d|0)==(o|0);d=k?d+1&2047:d;q=k?q-9|0:q;n=N(m,p-N(h,n)|0);o=o+1|0;if((o|0)!=(i|0)){continue}break}if(!n){break T}H[(e+784|0)+(i<<2)>>2]=n;i=i+1|0}q=(q-j|0)+9|0}while(1){p=(e+784|0)+(d<<2)|0;U:{while(1){if(((q|0)!=36|K[p>>2]>=10384593)&(q|0)>=36){break U}h=i+2047|0;n=0;while(1){l=h&2047;g=(e+784|0)+(l<<2)|0;j=H[g>>2];m=j>>>3|0;k=j<<29;j=k+n|0;h=m;h=j>>>0<k>>>0?h+1|0:h;k=h;if(!h&j>>>0<1000000001){n=0}else{h=j;n=zl(h,k,1e9,0);j=h-xl(n,ea,1e9,0)|0}H[g>>2]=j;i=(l|0)!=(i-1&2047)?i:(d|0)==(l|0)?i:j?i:l;h=l-1|0;if((d|0)!=(l|0)){continue}break}w=w-29|0;if(!n){continue}break}d=d-1&2047;if((i|0)==(d|0)){j=e+784|0;h=j+((i+2046&2047)<<2)|0;i=i-1&2047;H[h>>2]=H[h>>2]|H[j+(i<<2)>>2]}q=q+9|0;H[(e+784|0)+(d<<2)>>2]=n;continue}break}V:{W:while(1){j=i+1&2047;m=(e+784|0)+((i-1&2047)<<2)|0;while(1){k=(q|0)>45?9:1;X:{while(1){h=d;o=0;Y:{while(1){Z:{d=h+o&2047;if((d|0)==(i|0)){break Z}d=H[(e+784|0)+(d<<2)>>2];l=H[(o<<2)+17248>>2];if(d>>>0<l>>>0){break Z}if(d>>>0>l>>>0){break Y}o=o+1|0;if((o|0)!=4){continue}}break}if((q|0)!=36){break Y}j=0;k=0;o=0;l=0;m=0;while(1){d=h+o&2047;if((d|0)==(i|0)){i=i+1&2047;H[(e+(i<<2)|0)+780>>2]=0}dc(e+768|0,H[(e+784|0)+(d<<2)>>2]);Ha(e+752|0,j,k,l,m,0,0,1342177280,1075633366);ab(e+736|0,H[e+752>>2],H[e+756>>2],H[e+760>>2],H[e+764>>2],H[e+768>>2],H[e+772>>2],H[e+776>>2],H[e+780>>2]);l=H[e+744>>2];m=H[e+748>>2];j=H[e+736>>2];k=H[e+740>>2];o=o+1|0;if((o|0)!=4){continue}break}cb(e+720|0,f);Ha(e+704|0,j,k,l,m,H[e+720>>2],H[e+724>>2],H[e+728>>2],H[e+732>>2]);l=H[e+712>>2];m=H[e+716>>2];j=0;k=0;n=H[e+704>>2];r=H[e+708>>2];g=w+113|0;p=g-x|0;q=(p|0)<(E|0);d=q?(p|0)>0?p:0:E;if((d|0)<=112){break X}break V}w=k+w|0;d=i;if((h|0)==(d|0)){continue}break}p=1e9>>>k|0;n=-1<<k^-1;o=0;d=h;while(1){l=o;g=(e+784|0)+(h<<2)|0;o=H[g>>2];l=l+(o>>>k|0)|0;H[g>>2]=l;l=!l&(d|0)==(h|0);d=l?d+1&2047:d;q=l?q-9|0:q;o=N(p,n&o);h=h+1&2047;if((h|0)!=(i|0)){continue}break}if(!o){continue}if((d|0)!=(j|0)){H[(e+784|0)+(i<<2)>>2]=o;i=j;continue W}H[m>>2]=H[m>>2]|1;d=j;continue}break}break}rb(e+656|0,jd(225-d|0));Re(e+688|0,H[e+656>>2],H[e+660>>2],H[e+664>>2],H[e+668>>2],n,r,l,m);z=H[e+696>>2];A=H[e+700>>2];C=H[e+688>>2];D=H[e+692>>2];rb(e+640|0,jd(113-d|0));Pe(e+672|0,n,r,l,m,H[e+640>>2],H[e+644>>2],H[e+648>>2],H[e+652>>2]);j=H[e+672>>2];k=H[e+676>>2];s=H[e+680>>2];u=H[e+684>>2];hd(e+624|0,n,r,l,m,j,k,s,u);ab(e+608|0,C,D,z,A,H[e+624>>2],H[e+628>>2],H[e+632>>2],H[e+636>>2]);l=H[e+616>>2];m=H[e+620>>2];n=H[e+608>>2];r=H[e+612>>2]}x=h+4&2047;_:{if((x|0)==(i|0)){break _}x=H[(e+784|0)+(x<<2)>>2];$:{if(x>>>0<=499999999){if(!x&(h+5&2047)==(i|0)){break $}rb(e+496|0,+(f|0)*.25);ab(e+480|0,j,k,s,u,H[e+496>>2],H[e+500>>2],H[e+504>>2],H[e+508>>2]);s=H[e+488>>2];u=H[e+492>>2];j=H[e+480>>2];k=H[e+484>>2];break $}if((x|0)!=5e8){rb(e+592|0,+(f|0)*.75);ab(e+576|0,j,k,s,u,H[e+592>>2],H[e+596>>2],H[e+600>>2],H[e+604>>2]);s=H[e+584>>2];u=H[e+588>>2];j=H[e+576>>2];k=H[e+580>>2];break $}L=+(f|0);if((h+5&2047)==(i|0)){rb(e+528|0,L*.5);ab(e+512|0,j,k,s,u,H[e+528>>2],H[e+532>>2],H[e+536>>2],H[e+540>>2]);s=H[e+520>>2];u=H[e+524>>2];j=H[e+512>>2];k=H[e+516>>2];break $}rb(e+560|0,L*.75);ab(e+544|0,j,k,s,u,H[e+560>>2],H[e+564>>2],H[e+568>>2],H[e+572>>2]);s=H[e+552>>2];u=H[e+556>>2];j=H[e+544>>2];k=H[e+548>>2]}if((d|0)>111){break _}Pe(e+464|0,j,k,s,u,0,0,0,1073676288);if(Kb(H[e+464>>2],H[e+468>>2],H[e+472>>2],H[e+476>>2],0,0,0,0)){break _}ab(e+448|0,j,k,s,u,0,0,0,1073676288);s=H[e+456>>2];u=H[e+460>>2];j=H[e+448>>2];k=H[e+452>>2]}ab(e+432|0,n,r,l,m,j,k,s,u);hd(e+416|0,H[e+432>>2],H[e+436>>2],H[e+440>>2],H[e+444>>2],C,D,z,A);l=H[e+424>>2];m=H[e+428>>2];n=H[e+416>>2];r=H[e+420>>2];aa:{if((-2-J|0)>=(g&2147483647)){break aa}H[e+408>>2]=l;H[e+412>>2]=m&2147483647;H[e+400>>2]=n;H[e+404>>2]=r;Ha(e+384|0,n,r,l,m,0,0,0,1073610752);f=H[e+400>>2];x=H[e+404>>2];g=H[e+408>>2];o=H[e+412>>2];i=id(f,x,g,o,1081081856);h=(i|0)<0;l=h?l:H[e+392>>2];m=h?m:H[e+396>>2];n=h?n:H[e+384>>2];r=h?r:H[e+388>>2];w=((i|0)>=0)+w|0;if((w+110|0)<=(M|0)){if((((id(f,x,g,o,1081081856)|0)<0?q:q&(d|0)!=(p|0))|0)!=1){break aa}if(!Kb(j,k,s,u,0,0,0,0)){break aa}}H[4739]=68}Qe(e+368|0,n,r,l,m,w);l=H[e+368>>2];m=H[e+372>>2];j=H[e+380>>2];d=H[e+376>>2]}H[t+40>>2]=d;H[t+44>>2]=j;H[t+32>>2]=l;H[t+36>>2]=m;da=e+8976|0;j=H[t+40>>2];k=H[t+44>>2];l=H[t+32>>2];m=H[t+36>>2];break a;case 3:break j;default:break m}}d=H[g+116>>2];if((d|0)>0|(d|0)>=0){H[g+4>>2]=H[g+4>>2]-1}H[4739]=28;break i}ba:{d=H[g+4>>2];ca:{if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;d=I[d|0];break ca}d=Qa(g)}if((d|0)==40){h=1;break ba}k=2147450880;if(H[g+116>>2]<0){break a}H[g+4>>2]=H[g+4>>2]-1;break a}while(1){da:{d=H[g+4>>2];ea:{if((d|0)!=H[g+104>>2]){H[g+4>>2]=d+1;d=I[d|0];break ea}d=Qa(g)}if(!(d-48>>>0<10|d-65>>>0<26|(d|0)==95)){if(d-97>>>0>=26){break da}}h=h+1|0;continue}break}k=2147450880;if((d|0)==41){break a}d=H[g+116>>2];if((d|0)>0|(d|0)>=0){H[g+4>>2]=H[g+4>>2]-1}if(!h){break a}while(1){h=h-1|0;if((d|0)>0|(d|0)>=0){H[g+4>>2]=H[g+4>>2]-1}if(h){continue}break}break a}H[g+112>>2]=0;H[g+116>>2]=0;d=H[g+44>>2]-H[g+4>>2]|0;H[g+120>>2]=d;H[g+124>>2]=d>>31;H[g+104>>2]=H[g+8>>2]}}H[y>>2]=l;H[y+4>>2]=m;H[y+8>>2]=j;H[y+12>>2]=k;da=t+48|0;d=H[y+8>>2];j=H[y+12>>2];i=H[y>>2];h=H[y+4>>2];if(c){H[c>>2]=((H[y+20>>2]+H[y+136>>2]|0)-H[y+60>>2]|0)+b}H[a+8>>2]=d;H[a+12>>2]=j;H[a>>2]=i;H[a+4>>2]=h;da=y+160|0}function Zk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,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,G=0,J=0,K=0,L=0,M=0,O=0,Q=0,S=0,V=0,W=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,fa=0,ga=0,ha=0,ia=0;h=da-224|0;da=h;H[a+8>>2]=e;g=a+32|0;l=H[g>>2];f=H[a+36>>2]-l>>2;a:{if(f>>>0<e>>>0){Ea(g,e-f|0);break a}if(e>>>0>=f>>>0){break a}H[a+36>>2]=l+(e<<2)}b:{if(!d){break b}f=H[b>>2];c:{if((d|0)<2){d=f;break c}i=1;g=d-1|0;k=g&1;d:{if((d|0)==2){d=f;break d}n=g&-2;d=f;while(1){l=(i<<2)+b|0;g=H[l+4>>2];l=H[l>>2];u=(l|0)<(d|0);d=u?l:d;m=(d|0)>(g|0);d=m?g:d;f=u?f:(f|0)<(l|0)?l:f;f=m?f:(f|0)<(g|0)?g:f;i=i+2|0;j=j+2|0;if((n|0)!=(j|0)){continue}break}}if(!k){break c}g=H[(i<<2)+b>>2];l=(g|0)<(d|0);d=l?g:d;f=l?f:(f|0)<(g|0)?g:f}H[a+16>>2]=f;H[a+12>>2]=d;g=(f>>31)-((d>>31)+(d>>>0>f>>>0)|0)|0;d=f-d|0;if(!g&d>>>0>2147483646|g){break b}d=d+1|0;H[a+20>>2]=d;f=d>>>1|0;H[a+24>>2]=f;H[a+28>>2]=0-f;if(d&1){break b}H[a+24>>2]=f-1}_=H[a+52>>2];v=H[a+48>>2];H[h+184>>2]=0;H[h+188>>2]=0;H[h+176>>2]=0;H[h+180>>2]=0;H[h+168>>2]=0;H[h+172>>2]=0;H[h+160>>2]=0;H[h+164>>2]=0;H[h+152>>2]=0;H[h+156>>2]=0;H[h+144>>2]=0;H[h+148>>2]=0;e:{if(!e){f=0;d=0;break e}Ea(h+144|0,e);f=H[h+156>>2];d=H[h+160>>2]}d=d-f>>2;f:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break f}H[h+160>>2]=(e<<2)+f;break f}Ea(h+144|12,e-d|0)}f=H[h+168>>2];d=H[h+172>>2]-f>>2;g:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break g}H[h+172>>2]=f+(e<<2);break g}Ea(h+168|0,e-d|0)}h:{i:{f=H[h+180>>2];d=H[h+184>>2]-f>>2;j:{k:{if(d>>>0>=e>>>0){if(d>>>0>e>>>0){H[h+184>>2]=f+(e<<2)}H[h+136>>2]=0;H[h+128>>2]=0;H[h+132>>2]=0;if(e){break k}d=1;break j}Ea(h+180|0,e-d|0);H[h+136>>2]=0;H[h+128>>2]=0;H[h+132>>2]=0}if(e>>>0>=1073741824){break i}d=e<<2;f=ra(d);H[h+128>>2]=f;g=d+f|0;H[h+136>>2]=g;ta(f,0,d);H[h+132>>2]=g;d=0}J=a+152|0;g=H[a+152>>2];f=H[a+156>>2]-g>>2;l:{if(f>>>0<e>>>0){Ea(J,e-f|0);break l}if(e>>>0>=f>>>0){break l}H[a+156>>2]=g+(e<<2)}H[h+104>>2]=0;H[h+108>>2]=0;H[h+96>>2]=0;H[h+100>>2]=0;H[h+88>>2]=0;H[h+92>>2]=0;H[h+80>>2]=0;H[h+84>>2]=0;H[h+72>>2]=0;H[h+76>>2]=0;f=h- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[h+56>>2]=0;H[h+60>>2]=0;H[h+48>>2]=0;H[h+52>>2]=0;if(!d){d=e<<2;r=ra(d);y=ta(r,0,d)+d|0}f=H[a+56>>2];d=H[f>>2];f=H[f+4>>2]-d|0;if((f|0)<5){break h}E=f>>>2|0;g=E-1|0;if(g>>>0<f>>2>>>0){K=a+112|0;$=h+125|0;aa=h+36|0;ba=h+24|0;S=e<<2;L=y-r|0;V=L&-4;B=L>>2;M=e&-2;O=e&1;ca=e&-4;W=e&3;G=e-1|0;while(1){u=g;j=H[(g<<2)+d>>2];d=(j>>>0)%3|0;l=0;m:{if((j|0)==-1){break m}g=0;f=j+2|0;w=(d|0)!=0|(f|0)!=-1;k=1;q=d?j-1|0:f;p=1<<q;C=q>>>5|0;z=H[v>>2];d=j;while(1){n:{if(H[z+(d>>>3&536870908)>>2]>>>d&1){break n}f=H[H[H[v+64>>2]+12>>2]+(d<<2)>>2];if((f|0)==-1){break n}i=H[_>>2];l=H[v+28>>2];n=H[i+(H[l+(f<<2)>>2]<<2)>>2];if((n|0)>=(u|0)){break n}m=f+1|0;m=H[i+(H[l+(((m>>>0)%3|0?m:f-2|0)<<2)>>2]<<2)>>2];if((m|0)>=(u|0)){break n}f=H[i+(H[l+(f+((f>>>0)%3|0?-1:2)<<2)>>2]<<2)>>2];if((f|0)>=(u|0)){break n}o:{if(!e){break o}l=H[(h+144|0)+N(g,12)>>2];i=N(e,f);m=N(e,m);n=N(e,n);f=0;x=0;if(G){while(1){H[l+(f<<2)>>2]=(H[(f+i<<2)+b>>2]+H[(f+m<<2)+b>>2]|0)-H[(f+n<<2)+b>>2];o=f|1;H[l+(o<<2)>>2]=(H[(i+o<<2)+b>>2]+H[(m+o<<2)+b>>2]|0)-H[(n+o<<2)+b>>2];f=f+2|0;x=x+2|0;if((M|0)!=(x|0)){continue}break}}if(!O){break o}H[l+(f<<2)>>2]=(H[(f+i<<2)+b>>2]+H[(f+m<<2)+b>>2]|0)-H[(f+n<<2)+b>>2]}l=4;g=g+1|0;if((g|0)==4){break m}}p:{if(k&1){l=d-2|0;f=d+1|0;d=-1;f=(f>>>0)%3|0?f:l;if((f|0)==-1|H[H[v>>2]+(f>>>3&536870908)>>2]>>>f&1){break p}f=H[H[H[v+64>>2]+12>>2]+(f<<2)>>2];if((f|0)==-1){break p}d=f+1|0;d=(d>>>0)%3|0?d:f-2|0;break p}q:{if((d>>>0)%3|0){f=d-1|0;break q}f=d+2|0;d=-1;if((f|0)==-1){break p}}d=-1;if(H[H[v>>2]+(f>>>3&536870908)>>2]>>>f&1){break p}f=H[H[H[v+64>>2]+12>>2]+(f<<2)>>2];if((f|0)==-1){break p}if((f>>>0)%3|0){d=f-1|0;break p}d=f+2|0}if((d|0)==(j|0)){l=g;break m}if(!((k^1)&1|(d|0)!=-1)){if(!w){l=g;break m}if(p&H[H[v>>2]+(C<<2)>>2]){l=g;break m}d=H[H[H[v+64>>2]+12>>2]+(q<<2)>>2];if((d|0)==-1){l=g;break m}k=0;d=(d>>>0)%3|0?d-1|0:d+2|0}l=g;if((d|0)!=-1){continue}break}}g=0;F[h+16|0]=0;H[h+8>>2]=0;H[h+12>>2]=0;H[h+44>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;H[h+28>>2]=0;H[h+32>>2]=0;H[h+20>>2]=0;H[h+24>>2]=0;Y=N(e,u)<<2;C=Y+b|0;m=(N(E-2|0,e)<<2)+b|0;i=H[a+152>>2];d=0;if(e){while(1){j=g<<2;f=H[j+m>>2]-H[j+C>>2]|0;H[j+r>>2]=f;H[i+j>>2]=(f|0)>=0?f<<1:(f^-1)<<1|1;j=d;d=f>>31;d=j+(d+f^d)|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}}f=h+200|0;Fb(f,K,i,e);g=Eb(f);j=ea;n=g;g=H[f+12>>2];f=H[f+16>>2];g=(((g-f|0)+1|0)/64|0)+f<<3;i=f<<3;k=i;f=g+i|0;i=(g>>31)+(i>>31)|0;i=f>>>0<k>>>0?i+1|0:i;k=f;g=n+f|0;f=i+j|0;f=g>>>0<k>>>0?f+1|0:f;j=g;Q=(l|0)>0;r:{if(!Q){z=l-1|0;break r}z=l-1|0;k=z<<3;g=k+(h+48|0)|0;n=g;i=l+H[g>>2]|0;g=H[g+4>>2];g=i>>>0<l>>>0?g+1|0:g;H[n>>2]=i;H[n+4>>2]=g;t=U(Gb(i,H[k+(h+80|0)>>2])*(+(i>>>0)+ +(g|0)*4294967296));s:{if(P(t)<0x8000000000000000){i=P(t)>=1?~~(t>0?R(T(t*2.3283064365386963e-10),4294967295):U((t-+(~~t>>>0>>>0))*2.3283064365386963e-10))>>>0:0;g=~~t>>>0;break s}i=-2147483648;g=0}g=g+j|0;j=g}x=0;H[h+20>>2]=0;F[h+16|0]=0;H[h+8>>2]=j;H[h+12>>2]=d;db(ba,m,m+S|0);Vc(aa,r,y);d=z<<3;n=d+(h+80|0)|0;fa=h+200|0;t:{u:{v:{w:{if((l|0)>0){f=h+124|0;o=f+l|0;q=o-2|0;m=o-1|0;ga=!l|(m|0)==(f|0);Z=d+(h+48|0)|0;w=1;while(1){x=x+1|0;if((l|0)>0){ta(h+124|0,1,l)}ta(h+124|0,0,x);x:{y:while(1){if(e){ta(H[h+128>>2],0,S)}A=0;k=0;if((l|0)>0){while(1){if(!I[(h+124|0)+k|0]){z:{if(!e){break z}d=H[h+128>>2];g=H[(h+144|0)+N(k,12)>>2];i=0;f=0;j=0;if(G>>>0>2){while(1){p=f<<2;s=p+d|0;H[s>>2]=H[s>>2]+H[g+p>>2];s=p|4;D=s+d|0;H[D>>2]=H[D>>2]+H[g+s>>2];s=p|8;D=s+d|0;H[D>>2]=H[D>>2]+H[g+s>>2];p=p|12;s=p+d|0;H[s>>2]=H[s>>2]+H[g+p>>2];f=f+4|0;j=j+4|0;if((ca|0)!=(j|0)){continue}break}}if(!W){break z}while(1){j=f<<2;p=j+d|0;H[p>>2]=H[p>>2]+H[g+j>>2];f=f+1|0;i=i+1|0;if((W|0)!=(i|0)){continue}break}}A=1<<k|A}k=k+1|0;if((k|0)!=(l|0)){continue}break}}g=H[h+128>>2];A:{B:{C:{if(e){f=0;d=0;if(G){break C}break B}j=H[a+152>>2];i=0;break A}while(1){j=f<<2;i=j+g|0;H[i>>2]=H[i>>2]/(w|0);j=(j|4)+g|0;H[j>>2]=H[j>>2]/(w|0);f=f+2|0;d=d+2|0;if((M|0)!=(d|0)){continue}break}}if(O){d=(f<<2)+g|0;H[d>>2]=H[d>>2]/(w|0)}j=H[a+152>>2];g=H[h+128>>2];d=0;i=0;if(!e){break A}while(1){k=d<<2;f=H[k+g>>2]-H[k+C>>2]|0;H[k+r>>2]=f;H[j+k>>2]=(f|0)>=0?f<<1:(f^-1)<<1|1;k=f;f=f>>31;i=(k+f^f)+i|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=h+200|0;Fb(d,K,j,e);f=Eb(d);k=f;f=H[d+12>>2];d=H[d+16>>2];f=(((f-d|0)+1|0)/64|0)+d<<3;j=d<<3;d=f+j|0;d=k+d|0;f=d;if(Q){d=H[Z+4>>2];j=H[Z>>2];t=U(Gb(j,H[n>>2]+w|0)*(+(j>>>0)+ +(d|0)*4294967296));D:{if(P(t)<0x8000000000000000){d=~~t>>>0;break D}d=0}f=d+f|0}d=H[h+8>>2];if(!((d|0)<=(f|0)&((d|0)<(f|0)|(i|0)>=H[h+12>>2]))){H[h+20>>2]=w;F[h+16|0]=A;H[h+8>>2]=f;H[h+12>>2]=i;j=H[h+132>>2];k=j-g|0;i=k>>2;d=H[h+32>>2];f=H[h+24>>2];E:{if(i>>>0<=d-f>>2>>>0){k=H[h+28>>2]-f|0;d=k+g|0;p=k>>2;A=p>>>0<i>>>0?d:j;k=A-g|0;if(k){xa(f,g,k)}if(i>>>0>p>>>0){f=H[h+28>>2];if((j|0)==(A|0)){break E}while(1){H[f>>2]=H[d>>2];f=f+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}break E}f=f+k|0;break E}if(f){H[h+28>>2]=f;qa(f);H[h+32>>2]=0;H[h+24>>2]=0;H[h+28>>2]=0;d=0}if((k|0)<0){break w}f=d>>1;d=d>>>0<2147483644?f>>>0<i>>>0?i:f:1073741823;if(d>>>0>=1073741824){break w}d=d<<2;f=ra(d);H[h+24>>2]=f;H[h+28>>2]=f;H[h+32>>2]=d+f;if((g|0)==(j|0)){break E}d=k&-4;f=sa(f,g,d)+d|0}H[h+28>>2]=f;d=H[h+44>>2];f=H[h+36>>2];F:{if(d-f>>2>>>0>=B>>>0){g=H[h+40>>2]-f|0;d=g+r|0;j=g>>2;i=j>>>0<B>>>0?d:y;g=i-r|0;if(g){xa(f,r,g)}if(j>>>0<B>>>0){f=H[h+40>>2];if((i|0)==(y|0)){break F}while(1){H[f>>2]=H[d>>2];f=f+4|0;d=d+4|0;if((y|0)!=(d|0)){continue}break}break F}f=f+g|0;break F}if(f){H[h+40>>2]=f;qa(f);H[h+44>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;d=0}if((L|0)<0){break v}f=d>>1;d=d>>>0<2147483644?f>>>0<B>>>0?B:f:1073741823;if(d>>>0>=1073741824){break v}d=d<<2;f=ra(d);H[h+36>>2]=f;H[h+44>>2]=d+f;if((r|0)==(y|0)){break F}f=sa(f,r,V)+V|0}H[h+40>>2]=f}if(ga){break x}g=-1;j=I[m|0];f=j;while(1){i=f&255;d=g-1|0;k=d+o|0;f=I[k|0];if(i>>>0>f>>>0){i=m;d=o;if((j&255)>>>0<=f>>>0){while(1){j=i;i=i-1|0;p=d-2|0;d=j;if(I[p|0]<=f>>>0){continue}break}j=1}d=g+o|0;F[k|0]=j;F[i|0]=f;f=m;if((g|0)==-1){continue y}while(1){g=I[d|0];F[d|0]=I[f|0];F[f|0]=g;d=d+1|0;f=f-1|0;if(d>>>0<f>>>0){continue}break}continue y}g=d;if((k|0)!=(h+124|0)){continue}break}break}if(m>>>0<=h+124>>>0){break x}d=I[h+124|0];F[h+124|0]=j;F[m|0]=d;d=$;f=q;if(d>>>0>=f>>>0){break x}while(1){g=I[d|0];F[d|0]=I[f|0];F[f|0]=g;d=d+1|0;f=f-1|0;if(d>>>0<f>>>0){continue}break}}w=w+1|0;if((l|0)!=(x|0)){continue}break}}if(Q){f=H[h+20>>2];g=f;d=f+H[n>>2]|0;f=H[n+4>>2]+(f>>31)|0;H[n>>2]=d;H[n+4>>2]=d>>>0<g>>>0?f+1|0:f}d=H[J>>2];if(!e){break t}g=H[h+36>>2];f=0;j=0;if(!G){break u}while(1){m=f<<2;i=H[m+g>>2];H[d+m>>2]=(i|0)>=0?i<<1:(i^-1)<<1|1;m=m|4;i=H[m+g>>2];H[d+m>>2]=(i|0)>=0?i<<1:(i^-1)<<1|1;f=f+2|0;j=j+2|0;if((M|0)!=(j|0)){continue}break}break u}va();X()}va();X()}if(O){j=g;g=f<<2;f=H[j+g>>2];H[d+g>>2]=(f|0)>=0?f<<1:(f^-1)<<1|1}d=H[J>>2]}Oc(fa,K,d,e);G:{if((l|0)<=0){break G}i=N(z,12)+a|0;j=i- -64|0;d=0;while(1){H:{g=H[i+68>>2];m=g<<5;f=H[j>>2];I:{if(!(I[h+16|0]>>>d&1)){J:{K:{if((f|0)!=(m|0)){break K}if((f+1|0)<0){break H}L:{if(f>>>0<=1073741822){m=f+32&-32;g=g<<6;g=g>>>0<m>>>0?m:g;if(g>>>0<=f>>>0){break K}H[h+208>>2]=0;H[h+200>>2]=0;H[h+204>>2]=0;if((g|0)>=0){break L}La();X()}g=-1;if(f>>>0>2147483646){break J}g=2147483647}k=(g-1>>>5|0)+1|0;g=ra(k<<2);H[h+208>>2]=k;H[h+204>>2]=0;H[h+200>>2]=g;m=H[i+60>>2];M:{N:{if(f>>>0>=33){H[g+(f-1>>>3&536870908)>>2]=0;break N}H[g>>2]=0;if(!f){break M}}o=f>>>5|0;n=o<<2;q=xa(g,m,n);o=f-(o<<5)|0;if((o|0)<=0){break M}q=n+q|0;o=-1>>>32-o|0;H[q>>2]=H[q>>2]&(o^-1)|o&H[m+n>>2]}H[i+60>>2]=g;H[j>>2]=f;H[i+68>>2]=k;if(!m){break K}qa(m);f=H[j>>2]}g=f}H[j>>2]=g+1;f=H[i+60>>2]+(g>>>3&536870908)|0;H[f>>2]=H[f>>2]|1<<g;break I}O:{P:{if((f|0)!=(m|0)){break P}if((f+1|0)<0){break H}Q:{if(f>>>0<=1073741822){m=f+32&-32;g=g<<6;g=g>>>0<m>>>0?m:g;if(g>>>0<=f>>>0){break P}H[h+208>>2]=0;H[h+200>>2]=0;H[h+204>>2]=0;if((g|0)>=0){break Q}La();X()}g=-1;if(f>>>0>2147483646){break O}g=2147483647}k=(g-1>>>5|0)+1|0;g=ra(k<<2);H[h+208>>2]=k;H[h+204>>2]=0;H[h+200>>2]=g;m=H[i+60>>2];R:{S:{if(f>>>0>=33){H[g+(f-1>>>3&536870908)>>2]=0;break S}H[g>>2]=0;if(!f){break R}}o=f>>>5|0;n=o<<2;q=xa(g,m,n);o=f-(o<<5)|0;if((o|0)<=0){break R}q=n+q|0;o=-1>>>32-o|0;H[q>>2]=H[q>>2]&(o^-1)|o&H[m+n>>2]}H[i+60>>2]=g;H[j>>2]=f;H[i+68>>2]=k;if(!m){break P}qa(m);f=H[j>>2]}g=f}H[j>>2]=g+1;f=H[i+60>>2]+(g>>>3&536870908)|0;m=H[f>>2];ha=f,ia=Bl(g)&m,H[ha>>2]=ia}d=d+1|0;if((l|0)!=(d|0)){continue}break G}break}La();X()}k=H[h+24>>2];d=H[a+8>>2];if((d|0)>0){m=c+Y|0;g=0;j=k;while(1){l=H[a+32>>2];f=0;if((d|0)>0){while(1){d=f<<2;i=H[d+j>>2];n=H[a+16>>2];T:{if((i|0)>(n|0)){H[d+l>>2]=n;break T}d=d+l|0;n=H[a+12>>2];if((n|0)>(i|0)){H[d>>2]=n;break T}H[d>>2]=i}f=f+1|0;if((f|0)<H[a+8>>2]){continue}break}}f=g<<2;d=f+m|0;f=H[f+C>>2]-H[f+l>>2]|0;H[d>>2]=f;U:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break U}f=f-H[a+20>>2]|0}H[d>>2]=f}j=l;d=H[a+8>>2];g=g+1|0;if((d|0)>(g|0)){continue}break}}d=H[h+36>>2];if(d){H[h+40>>2]=d;qa(d);k=H[h+24>>2]}if(k){H[h+28>>2]=k;qa(k)}if((E|0)<3){break h}E=u;f=H[a+56>>2];d=H[f>>2];g=u-1|0;if(g>>>0<H[f+4>>2]-d>>2>>>0){continue}break}}ua();X()}va();X()}j=H[h+144>>2];if(e){ta(j,0,e<<2);j=H[h+144>>2]}d=H[a+8>>2];if((d|0)>0){g=0;while(1){e=H[a+32>>2];f=0;if((d|0)>0){while(1){d=f<<2;l=H[d+j>>2];i=H[a+16>>2];V:{if((l|0)>(i|0)){H[d+e>>2]=i;break V}d=d+e|0;i=H[a+12>>2];if((i|0)>(l|0)){H[d>>2]=i;break V}H[d>>2]=l}f=f+1|0;if((f|0)<H[a+8>>2]){continue}break}}f=g<<2;d=f+c|0;f=H[b+f>>2]-H[e+f>>2]|0;H[d>>2]=f;W:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break W}f=f-H[a+20>>2]|0}H[d>>2]=f}j=e;d=H[a+8>>2];g=g+1|0;if((d|0)>(g|0)){continue}break}}if(r){qa(r)}a=H[h+128>>2];if(a){H[h+132>>2]=a;qa(a)}a=H[h+180>>2];if(a){H[h+184>>2]=a;qa(a)}a=H[h+168>>2];if(a){H[h+172>>2]=a;qa(a)}a=H[h+156>>2];if(a){H[h+160>>2]=a;qa(a)}a=H[h+144>>2];if(a){H[h+148>>2]=a;qa(a)}da=h+224|0;return 1}function Pk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,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,G=0,J=0,K=0,L=0,M=0,O=0,Q=0,S=0,V=0,W=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,fa=0,ga=0,ha=0,ia=0;h=da-224|0;da=h;H[a+8>>2]=e;g=a+32|0;l=H[g>>2];f=H[a+36>>2]-l>>2;a:{if(f>>>0<e>>>0){Ea(g,e-f|0);break a}if(e>>>0>=f>>>0){break a}H[a+36>>2]=l+(e<<2)}b:{if(!d){break b}f=H[b>>2];c:{if((d|0)<2){d=f;break c}i=1;g=d-1|0;o=g&1;d:{if((d|0)==2){d=f;break d}m=g&-2;d=f;while(1){l=(i<<2)+b|0;g=H[l+4>>2];l=H[l>>2];v=(l|0)<(d|0);d=v?l:d;k=(d|0)>(g|0);d=k?g:d;f=v?f:(f|0)<(l|0)?l:f;f=k?f:(f|0)<(g|0)?g:f;i=i+2|0;j=j+2|0;if((m|0)!=(j|0)){continue}break}}if(!o){break c}g=H[(i<<2)+b>>2];l=(g|0)<(d|0);d=l?g:d;f=l?f:(f|0)<(g|0)?g:f}H[a+16>>2]=f;H[a+12>>2]=d;g=(f>>31)-((d>>31)+(d>>>0>f>>>0)|0)|0;d=f-d|0;if(!g&d>>>0>2147483646|g){break b}d=d+1|0;H[a+20>>2]=d;f=d>>>1|0;H[a+24>>2]=f;H[a+28>>2]=0-f;if(d&1){break b}H[a+24>>2]=f-1}_=H[a+52>>2];Q=H[a+48>>2];H[h+184>>2]=0;H[h+188>>2]=0;H[h+176>>2]=0;H[h+180>>2]=0;H[h+168>>2]=0;H[h+172>>2]=0;H[h+160>>2]=0;H[h+164>>2]=0;H[h+152>>2]=0;H[h+156>>2]=0;H[h+144>>2]=0;H[h+148>>2]=0;e:{if(!e){f=0;d=0;break e}Ea(h+144|0,e);f=H[h+156>>2];d=H[h+160>>2]}d=d-f>>2;f:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break f}H[h+160>>2]=(e<<2)+f;break f}Ea(h+144|12,e-d|0)}f=H[h+168>>2];d=H[h+172>>2]-f>>2;g:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break g}H[h+172>>2]=f+(e<<2);break g}Ea(h+168|0,e-d|0)}h:{i:{f=H[h+180>>2];d=H[h+184>>2]-f>>2;j:{k:{if(d>>>0>=e>>>0){if(d>>>0>e>>>0){H[h+184>>2]=f+(e<<2)}H[h+136>>2]=0;H[h+128>>2]=0;H[h+132>>2]=0;if(e){break k}d=1;break j}Ea(h+180|0,e-d|0);H[h+136>>2]=0;H[h+128>>2]=0;H[h+132>>2]=0}if(e>>>0>=1073741824){break i}d=e<<2;f=ra(d);H[h+128>>2]=f;g=d+f|0;H[h+136>>2]=g;ta(f,0,d);H[h+132>>2]=g;d=0}E=a+152|0;g=H[a+152>>2];f=H[a+156>>2]-g>>2;l:{if(f>>>0<e>>>0){Ea(E,e-f|0);break l}if(e>>>0>=f>>>0){break l}H[a+156>>2]=g+(e<<2)}H[h+104>>2]=0;H[h+108>>2]=0;H[h+96>>2]=0;H[h+100>>2]=0;H[h+88>>2]=0;H[h+92>>2]=0;H[h+80>>2]=0;H[h+84>>2]=0;H[h+72>>2]=0;H[h+76>>2]=0;f=h- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[h+56>>2]=0;H[h+60>>2]=0;H[h+48>>2]=0;H[h+52>>2]=0;if(!d){d=e<<2;s=ra(d);x=ta(s,0,d)+d|0}f=H[a+56>>2];d=H[f>>2];f=H[f+4>>2]-d|0;if((f|0)<5){break h}B=f>>>2|0;g=B-1|0;if(g>>>0<f>>2>>>0){G=a+112|0;$=h+125|0;aa=h+36|0;ba=h+24|0;S=e<<2;J=x-s|0;V=J&-4;z=J>>2;K=e&-2;L=e&1;ca=e&-4;W=e&3;C=e-1|0;while(1){v=g;j=H[(g<<2)+d>>2];d=(j>>>0)%3|0;l=0;m:{if((j|0)==-1){break m}g=0;f=j+2|0;p=(d|0)!=0|(f|0)!=-1;k=H[Q+12>>2];r=k+((d?j-1|0:f)<<2)|0;q=1;d=j;while(1){f=H[k+(d<<2)>>2];n:{if((f|0)==-1){break n}i=-1;o=H[_>>2];l=H[Q>>2];m=o+(H[l+(f<<2)>>2]<<2)|0;n=f+1|0;n=(n>>>0)%3|0?n:f-2|0;if((n|0)!=-1){i=H[l+(n<<2)>>2]}m=H[m>>2];o:{p:{if((f>>>0)%3|0){f=f-1|0;break p}f=f+2|0;n=-1;if((f|0)==-1){break o}}n=H[l+(f<<2)>>2]}if((m|0)>=(v|0)){break n}f=H[o+(i<<2)>>2];if((f|0)>=(v|0)){break n}i=H[o+(n<<2)>>2];if((i|0)>=(v|0)){break n}l=H[(h+144|0)+N(g,12)>>2];q:{if(!e){break q}i=N(e,i);o=N(e,f);m=N(e,m);f=0;w=0;if(C){while(1){H[l+(f<<2)>>2]=(H[(f+i<<2)+b>>2]+H[(f+o<<2)+b>>2]|0)-H[(f+m<<2)+b>>2];n=f|1;H[l+(n<<2)>>2]=(H[(i+n<<2)+b>>2]+H[(o+n<<2)+b>>2]|0)-H[(m+n<<2)+b>>2];f=f+2|0;w=w+2|0;if((K|0)!=(w|0)){continue}break}}if(!L){break q}H[l+(f<<2)>>2]=(H[(f+i<<2)+b>>2]+H[(f+o<<2)+b>>2]|0)-H[(f+m<<2)+b>>2]}l=4;g=g+1|0;if((g|0)==4){break m}}r:{if(q&1){f=d+1|0;d=(f>>>0)%3|0?f:d-2|0;i=-1;if((d|0)==-1){break r}d=H[k+(d<<2)>>2];i=-1;if((d|0)==-1){break r}f=d+1|0;i=(f>>>0)%3|0?f:d-2|0;break r}s:{if((d>>>0)%3|0){f=d-1|0;break s}f=d+2|0;i=-1;if((f|0)==-1){break r}}d=H[k+(f<<2)>>2];i=-1;if((d|0)==-1){break r}i=d-1|0;if((d>>>0)%3|0){break r}i=d+2|0}d=i;if((j|0)==(d|0)){l=g;break m}if(!((q^1)&1|(d|0)!=-1)){if(!p){l=g;break m}d=H[r>>2];if((d|0)==-1){l=g;break m}q=0;d=(d>>>0)%3|0?d-1|0:d+2|0}l=g;if((d|0)!=-1){continue}break}}g=0;F[h+16|0]=0;H[h+8>>2]=0;H[h+12>>2]=0;H[h+44>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;H[h+28>>2]=0;H[h+32>>2]=0;H[h+20>>2]=0;H[h+24>>2]=0;Y=N(e,v)<<2;M=Y+b|0;j=(N(B-2|0,e)<<2)+b|0;k=H[a+152>>2];d=0;if(e){while(1){i=g<<2;f=H[i+j>>2]-H[i+M>>2]|0;H[i+s>>2]=f;H[i+k>>2]=(f|0)>=0?f<<1:(f^-1)<<1|1;i=d;d=f>>31;d=i+(d+f^d)|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}}f=h+200|0;Fb(f,G,k,e);g=Eb(f);k=ea;m=g;g=H[f+12>>2];f=H[f+16>>2];g=(((g-f|0)+1|0)/64|0)+f<<3;i=f<<3;o=i;f=g+i|0;i=(g>>31)+(i>>31)|0;i=f>>>0<o>>>0?i+1|0:i;o=f;g=m+f|0;f=i+k|0;f=g>>>0<o>>>0?f+1|0:f;i=g;O=(l|0)>0;t:{if(!O){D=l-1|0;break t}D=l-1|0;o=D<<3;g=o+(h+48|0)|0;m=g;k=l+H[g>>2]|0;g=H[g+4>>2];g=k>>>0<l>>>0?g+1|0:g;H[m>>2]=k;H[m+4>>2]=g;u=U(Gb(k,H[o+(h+80|0)>>2])*(+(k>>>0)+ +(g|0)*4294967296));u:{if(P(u)<0x8000000000000000){k=P(u)>=1?~~(u>0?R(T(u*2.3283064365386963e-10),4294967295):U((u-+(~~u>>>0>>>0))*2.3283064365386963e-10))>>>0:0;g=~~u>>>0;break u}k=-2147483648;g=0}g=g+i|0;i=g}w=0;H[h+20>>2]=0;F[h+16|0]=0;H[h+8>>2]=i;H[h+12>>2]=d;db(ba,j,j+S|0);Vc(aa,s,x);d=D<<3;o=d+(h+80|0)|0;fa=h+200|0;v:{w:{x:{y:{if((l|0)>0){f=h+124|0;m=f+l|0;n=m-2|0;k=m-1|0;ga=!l|(k|0)==(f|0);Z=d+(h+48|0)|0;q=1;while(1){w=w+1|0;if((l|0)>0){ta(h+124|0,1,l)}ta(h+124|0,0,w);z:{A:while(1){if(e){ta(H[h+128>>2],0,S)}y=0;g=0;if((l|0)>0){while(1){if(!I[(h+124|0)+g|0]){B:{if(!e){break B}d=H[h+128>>2];p=H[(h+144|0)+N(g,12)>>2];i=0;f=0;j=0;if(C>>>0>2){while(1){r=f<<2;t=r+d|0;H[t>>2]=H[t>>2]+H[p+r>>2];t=r|4;A=t+d|0;H[A>>2]=H[A>>2]+H[p+t>>2];t=r|8;A=t+d|0;H[A>>2]=H[A>>2]+H[p+t>>2];r=r|12;t=r+d|0;H[t>>2]=H[t>>2]+H[p+r>>2];f=f+4|0;j=j+4|0;if((ca|0)!=(j|0)){continue}break}}if(!W){break B}while(1){j=f<<2;r=j+d|0;H[r>>2]=H[r>>2]+H[j+p>>2];f=f+1|0;i=i+1|0;if((W|0)!=(i|0)){continue}break}}y=1<<g|y}g=g+1|0;if((l|0)!=(g|0)){continue}break}}g=H[h+128>>2];C:{D:{E:{if(e){f=0;d=0;if(C){break E}break D}j=H[a+152>>2];i=0;break C}while(1){i=f<<2;j=i+g|0;H[j>>2]=H[j>>2]/(q|0);i=(i|4)+g|0;H[i>>2]=H[i>>2]/(q|0);f=f+2|0;d=d+2|0;if((K|0)!=(d|0)){continue}break}}if(L){d=(f<<2)+g|0;H[d>>2]=H[d>>2]/(q|0)}j=H[a+152>>2];g=H[h+128>>2];d=0;i=0;if(!e){break C}while(1){p=d<<2;f=H[p+g>>2]-H[p+M>>2]|0;H[p+s>>2]=f;H[j+p>>2]=(f|0)>=0?f<<1:(f^-1)<<1|1;p=f;f=f>>31;i=(p+f^f)+i|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=h+200|0;Fb(d,G,j,e);f=Eb(d);p=f;f=H[d+12>>2];d=H[d+16>>2];f=(((f-d|0)+1|0)/64|0)+d<<3;j=d<<3;d=f+j|0;d=p+d|0;f=d;if(O){d=H[Z+4>>2];j=H[Z>>2];u=U(Gb(j,H[o>>2]+q|0)*(+(j>>>0)+ +(d|0)*4294967296));F:{if(P(u)<0x8000000000000000){d=~~u>>>0;break F}d=0}f=d+f|0}d=H[h+8>>2];if(!((d|0)<=(f|0)&((d|0)<(f|0)|(i|0)>=H[h+12>>2]))){H[h+20>>2]=q;F[h+16|0]=y;H[h+8>>2]=f;H[h+12>>2]=i;i=H[h+132>>2];p=i-g|0;j=p>>2;d=H[h+32>>2];f=H[h+24>>2];G:{if(j>>>0<=d-f>>2>>>0){p=H[h+28>>2]-f|0;d=p+g|0;r=p>>2;y=r>>>0<j>>>0?d:i;p=y-g|0;if(p){xa(f,g,p)}if(j>>>0>r>>>0){f=H[h+28>>2];if((i|0)==(y|0)){break G}while(1){H[f>>2]=H[d>>2];f=f+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}break G}f=f+p|0;break G}if(f){H[h+28>>2]=f;qa(f);H[h+32>>2]=0;H[h+24>>2]=0;H[h+28>>2]=0;d=0}if((p|0)<0){break y}f=d>>1;d=d>>>0<2147483644?f>>>0<j>>>0?j:f:1073741823;if(d>>>0>=1073741824){break y}d=d<<2;f=ra(d);H[h+24>>2]=f;H[h+28>>2]=f;H[h+32>>2]=d+f;if((g|0)==(i|0)){break G}d=p&-4;f=sa(f,g,d)+d|0}H[h+28>>2]=f;d=H[h+44>>2];f=H[h+36>>2];H:{if(d-f>>2>>>0>=z>>>0){g=H[h+40>>2]-f|0;d=g+s|0;i=g>>2;j=i>>>0<z>>>0?d:x;g=j-s|0;if(g){xa(f,s,g)}if(i>>>0<z>>>0){f=H[h+40>>2];if((j|0)==(x|0)){break H}while(1){H[f>>2]=H[d>>2];f=f+4|0;d=d+4|0;if((x|0)!=(d|0)){continue}break}break H}f=f+g|0;break H}if(f){H[h+40>>2]=f;qa(f);H[h+44>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;d=0}if((J|0)<0){break x}f=d>>1;d=d>>>0<2147483644?f>>>0<z>>>0?z:f:1073741823;if(d>>>0>=1073741824){break x}d=d<<2;f=ra(d);H[h+36>>2]=f;H[h+44>>2]=d+f;if((s|0)==(x|0)){break H}f=sa(f,s,V)+V|0}H[h+40>>2]=f}if(ga){break z}g=-1;j=I[k|0];f=j;while(1){i=f&255;d=g-1|0;p=d+m|0;f=I[p|0];if(i>>>0>f>>>0){i=k;d=m;if((j&255)>>>0<=f>>>0){while(1){j=i;i=i-1|0;r=d-2|0;d=j;if(I[r|0]<=f>>>0){continue}break}j=1}d=g+m|0;F[p|0]=j;F[i|0]=f;f=k;if((g|0)==-1){continue A}while(1){g=I[d|0];F[d|0]=I[f|0];F[f|0]=g;d=d+1|0;f=f-1|0;if(d>>>0<f>>>0){continue}break}continue A}g=d;if((p|0)!=(h+124|0)){continue}break}break}if(k>>>0<=h+124>>>0){break z}d=I[h+124|0];F[h+124|0]=j;F[k|0]=d;d=$;f=n;if(d>>>0>=f>>>0){break z}while(1){g=I[d|0];F[d|0]=I[f|0];F[f|0]=g;d=d+1|0;f=f-1|0;if(d>>>0<f>>>0){continue}break}}q=q+1|0;if((l|0)!=(w|0)){continue}break}}if(O){f=H[h+20>>2];g=f;d=f+H[o>>2]|0;f=H[o+4>>2]+(f>>31)|0;H[o>>2]=d;H[o+4>>2]=d>>>0<g>>>0?f+1|0:f}d=H[E>>2];if(!e){break v}g=H[h+36>>2];f=0;j=0;if(!C){break w}while(1){k=f<<2;i=H[k+g>>2];H[d+k>>2]=(i|0)>=0?i<<1:(i^-1)<<1|1;k=k|4;i=H[k+g>>2];H[d+k>>2]=(i|0)>=0?i<<1:(i^-1)<<1|1;f=f+2|0;j=j+2|0;if((K|0)!=(j|0)){continue}break}break w}va();X()}va();X()}if(L){j=g;g=f<<2;f=H[j+g>>2];H[d+g>>2]=(f|0)>=0?f<<1:(f^-1)<<1|1}d=H[E>>2]}Oc(fa,G,d,e);I:{if((l|0)<=0){break I}j=N(D,12)+a|0;i=j- -64|0;d=0;while(1){J:{g=H[j+68>>2];k=g<<5;f=H[i>>2];K:{if(!(I[h+16|0]>>>d&1)){L:{M:{if((f|0)!=(k|0)){break M}if((f+1|0)<0){break J}N:{if(f>>>0<=1073741822){k=f+32&-32;g=g<<6;g=g>>>0<k>>>0?k:g;if(g>>>0<=f>>>0){break M}H[h+208>>2]=0;H[h+200>>2]=0;H[h+204>>2]=0;if((g|0)>=0){break N}La();X()}g=-1;if(f>>>0>2147483646){break L}g=2147483647}o=(g-1>>>5|0)+1|0;g=ra(o<<2);H[h+208>>2]=o;H[h+204>>2]=0;H[h+200>>2]=g;k=H[j+60>>2];O:{P:{if(f>>>0>=33){H[g+(f-1>>>3&536870908)>>2]=0;break P}H[g>>2]=0;if(!f){break O}}n=f>>>5|0;m=n<<2;q=xa(g,k,m);n=f-(n<<5)|0;if((n|0)<=0){break O}q=m+q|0;n=-1>>>32-n|0;H[q>>2]=H[q>>2]&(n^-1)|n&H[k+m>>2]}H[j+60>>2]=g;H[i>>2]=f;H[j+68>>2]=o;if(!k){break M}qa(k);f=H[i>>2]}g=f}H[i>>2]=g+1;f=H[j+60>>2]+(g>>>3&536870908)|0;H[f>>2]=H[f>>2]|1<<g;break K}Q:{R:{if((f|0)!=(k|0)){break R}if((f+1|0)<0){break J}S:{if(f>>>0<=1073741822){k=f+32&-32;g=g<<6;g=g>>>0<k>>>0?k:g;if(g>>>0<=f>>>0){break R}H[h+208>>2]=0;H[h+200>>2]=0;H[h+204>>2]=0;if((g|0)>=0){break S}La();X()}g=-1;if(f>>>0>2147483646){break Q}g=2147483647}o=(g-1>>>5|0)+1|0;g=ra(o<<2);H[h+208>>2]=o;H[h+204>>2]=0;H[h+200>>2]=g;k=H[j+60>>2];T:{U:{if(f>>>0>=33){H[g+(f-1>>>3&536870908)>>2]=0;break U}H[g>>2]=0;if(!f){break T}}n=f>>>5|0;m=n<<2;q=xa(g,k,m);n=f-(n<<5)|0;if((n|0)<=0){break T}q=m+q|0;n=-1>>>32-n|0;H[q>>2]=H[q>>2]&(n^-1)|n&H[k+m>>2]}H[j+60>>2]=g;H[i>>2]=f;H[j+68>>2]=o;if(!k){break R}qa(k);f=H[i>>2]}g=f}H[i>>2]=g+1;f=H[j+60>>2]+(g>>>3&536870908)|0;k=H[f>>2];ha=f,ia=Bl(g)&k,H[ha>>2]=ia}d=d+1|0;if((l|0)!=(d|0)){continue}break I}break}La();X()}g=H[h+24>>2];d=H[a+8>>2];if((d|0)>0){o=c+Y|0;i=0;j=g;while(1){l=H[a+32>>2];f=0;if((d|0)>0){while(1){d=f<<2;k=H[d+j>>2];m=H[a+16>>2];V:{if((k|0)>(m|0)){H[d+l>>2]=m;break V}d=d+l|0;m=H[a+12>>2];if((m|0)>(k|0)){H[d>>2]=m;break V}H[d>>2]=k}f=f+1|0;if((f|0)<H[a+8>>2]){continue}break}}f=i<<2;d=f+o|0;f=H[f+M>>2]-H[f+l>>2]|0;H[d>>2]=f;W:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break W}f=f-H[a+20>>2]|0}H[d>>2]=f}j=l;d=H[a+8>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}}d=H[h+36>>2];if(d){H[h+40>>2]=d;qa(d);g=H[h+24>>2]}if(g){H[h+28>>2]=g;qa(g)}if((B|0)<3){break h}B=v;f=H[a+56>>2];d=H[f>>2];g=v-1|0;if(g>>>0<H[f+4>>2]-d>>2>>>0){continue}break}}ua();X()}va();X()}j=H[h+144>>2];if(e){ta(j,0,e<<2);j=H[h+144>>2]}d=H[a+8>>2];if((d|0)>0){i=0;while(1){e=H[a+32>>2];f=0;if((d|0)>0){while(1){d=f<<2;g=H[d+j>>2];l=H[a+16>>2];X:{if((g|0)>(l|0)){H[d+e>>2]=l;break X}d=d+e|0;l=H[a+12>>2];if((l|0)>(g|0)){H[d>>2]=l;break X}H[d>>2]=g}f=f+1|0;if((f|0)<H[a+8>>2]){continue}break}}f=i<<2;d=f+c|0;f=H[b+f>>2]-H[e+f>>2]|0;H[d>>2]=f;Y:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break Y}f=f-H[a+20>>2]|0}H[d>>2]=f}j=e;d=H[a+8>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}}if(s){qa(s)}a=H[h+128>>2];if(a){H[h+132>>2]=a;qa(a)}a=H[h+180>>2];if(a){H[h+184>>2]=a;qa(a)}a=H[h+168>>2];if(a){H[h+172>>2]=a;qa(a)}a=H[h+156>>2];if(a){H[h+160>>2]=a;qa(a)}a=H[h+144>>2];if(a){H[h+148>>2]=a;qa(a)}da=h+224|0;return 1}function Dj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=da-32|0;da=k;c=H[b+8>>2];a:{b:{if(I[b+352|0]){e=af(c);c=H[b+12>>2];H[b+12>>2]=e;if(!c){break a}d=b+12|0;break b}e=bf(c);c=H[b+12>>2];H[b+12>>2]=e;if(!c){break a}d=b+12|0}pc(d,c)}c:{c=H[b+12>>2];d:{if(!(H[c+40>>2]!=((H[c+4>>2]-H[c>>2]>>2>>>0)/3|0)?c:0)){b=ra(32);c=I[1972]|I[1973]<<8|(I[1974]<<16|I[1975]<<24);e=I[1968]|I[1969]<<8|(I[1970]<<16|I[1971]<<24);F[b+21|0]=e;F[b+22|0]=e>>>8;F[b+23|0]=e>>>16;F[b+24|0]=e>>>24;F[b+25|0]=c;F[b+26|0]=c>>>8;F[b+27|0]=c>>>16;F[b+28|0]=c>>>24;c=I[1967]|I[1968]<<8|(I[1969]<<16|I[1970]<<24);e=I[1963]|I[1964]<<8|(I[1965]<<16|I[1966]<<24);F[b+16|0]=e;F[b+17|0]=e>>>8;F[b+18|0]=e>>>16;F[b+19|0]=e>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[1959]|I[1960]<<8|(I[1961]<<16|I[1962]<<24);e=I[1955]|I[1956]<<8|(I[1957]<<16|I[1958]<<24);F[b+8|0]=e;F[b+9|0]=e>>>8;F[b+10|0]=e>>>16;F[b+11|0]=e>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1951]|I[1952]<<8|(I[1953]<<16|I[1954]<<24);e=I[1947]|I[1948]<<8|(I[1949]<<16|I[1950]<<24);F[b|0]=e;F[b+1|0]=e>>>8;F[b+2|0]=e>>>16;F[b+3|0]=e>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+29|0]=0;H[a>>2]=-1;Ia(a+4|0,b,29);qa(b);break d}i=b+200|0;H[i+128>>2]=2;H[i+132>>2]=7;H[i+64>>2]=b;c=fa[H[H[b>>2]+32>>2]](b)|0;H[i+88>>2]=c;e=H[c+28>>2]-H[c+24>>2]>>2;c=H[i+108>>2];d=H[i+104>>2];f=c-d>>2;e:{if(e>>>0>f>>>0){Ea(i+104|0,e-f|0);d=H[i+104>>2];c=H[i+108>>2];break e}if(e>>>0>=f>>>0){break e}c=(e<<2)+d|0;H[i+108>>2]=c}if((c|0)!=(d|0)){d=0;while(1){p=H[i+104>>2];r=p+(d<<2)|0;c=H[i+88>>2];j=-1;g=d;f:{if((d|0)==-1){break f}j=0;d=H[H[c+24>>2]+(g<<2)>>2];if((d|0)==-1){break f}o=H[c+12>>2];e=1;c=d;while(1){j=j+1|0;f=e;g:{if(e&255){e=0;h=c+1|0;c=(h>>>0)%3|0?h:c-2|0;if((c|0)==-1){c=d;break g}h=H[o+(c<<2)>>2];if((h|0)==-1){c=d;break g}c=d;q=h+1|0;h=(q>>>0)%3|0?q:h-2|0;if((h|0)==-1){break g}e=f;c=h;if((d|0)!=(c|0)){break g}break f}h:{if((c>>>0)%3|0){c=c-1|0;break h}c=c+2|0;if((c|0)==-1){break f}}c=H[o+(c<<2)>>2];if((c|0)==-1){break f}c=(c>>>0)%3|0?c-1|0:c+2|0;e=0}if((c|0)!=-1){continue}break}}H[r>>2]=j;d=g+1|0;if(d>>>0<H[i+108>>2]-p>>2>>>0){continue}break}}d=H[i+88>>2];c=H[d>>2];e=H[d+4>>2]-c>>2;f=H[i+92>>2];g=H[i+96>>2]-f>>2;i:{if(e>>>0>g>>>0){Ea(i+92|0,e-g|0);f=H[i+92>>2];d=H[i+88>>2];c=H[d>>2];break i}if(e>>>0>=g>>>0){break i}H[i+96>>2]=(e<<2)+f}e=H[d+4>>2]-c|0;j:{if(!e){break j}e=e>>2;e=e>>>0>1?e:1;g=e&3;d=0;if(e-1>>>0>=3){h=e&-4;while(1){e=d<<2;H[e+f>>2]=H[c+e>>2];j=e|4;H[j+f>>2]=H[c+j>>2];j=e|8;H[j+f>>2]=H[c+j>>2];e=e|12;H[e+f>>2]=H[c+e>>2];d=d+4|0;l=l+4|0;if((h|0)!=(l|0)){continue}break}}if(!g){break j}while(1){e=d<<2;H[e+f>>2]=H[c+e>>2];d=d+1|0;t=t+1|0;if((g|0)!=(t|0)){continue}break}}d=(H[i+132>>2]-H[i+128>>2]|0)+1|0;c=H[i+140>>2];e=H[i+136>>2];g=(c-e|0)/12|0;k:{if(d>>>0>g>>>0){f=0;c=d-g|0;h=H[i+144>>2];e=H[i+140>>2];if(c>>>0<=(h-e|0)/12>>>0){if(c){c=N((N(c,12)-12>>>0)/12|0,12)+12|0;e=ta(e,0,c)+c|0}H[i+140>>2]=e;break k}l:{m:{n:{g=H[i+136>>2];l=(e-g|0)/12|0;d=l+c|0;if(d>>>0<357913942){h=(h-g|0)/12|0;j=h<<1;h=h>>>0<178956970?d>>>0>j>>>0?d:j:357913941;if(h){if(h>>>0>=357913942){break n}f=ra(N(h,12))}d=N(l,12)+f|0;l=N((N(c,12)-12>>>0)/12|0,12)+12|0;c=ta(d,0,l);l=c+l|0;f=N(h,12)+f|0;if((e|0)==(g|0)){break m}while(1){d=d-12|0;e=e-12|0;H[d>>2]=H[e>>2];H[d+4>>2]=H[e+4>>2];H[d+8>>2]=H[e+8>>2];H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;if((e|0)!=(g|0)){continue}break}H[i+144>>2]=f;c=H[i+140>>2];H[i+140>>2]=l;e=H[i+136>>2];H[i+136>>2]=d;if((c|0)==(e|0)){break l}while(1){d=c-12|0;f=H[d>>2];if(f){H[c-8>>2]=f;qa(f)}c=d;if((e|0)!=(c|0)){continue}break}break l}va();X()}ya(1604);X()}H[i+144>>2]=f;H[i+140>>2]=l;H[i+136>>2]=c}if(e){qa(e)}break k}if(d>>>0<g>>>0){d=e+N(d,12)|0;if((d|0)!=(c|0)){while(1){e=c-12|0;f=H[e>>2];if(f){H[c-8>>2]=f;qa(f)}c=e;if((d|0)!=(c|0)){continue}break}}H[i+140>>2]=d}}c=H[b+12>>2];Da((H[c+28>>2]-H[c+24>>2]>>2)-H[c+44>>2]|0,H[H[b+4>>2]+44>>2]);c=H[b+12>>2];Da(((H[c+4>>2]-H[c>>2]>>2>>>0)/3|0)-H[c+40>>2]|0,H[H[b+4>>2]+44>>2]);c=H[b+8>>2];e=H[c+100>>2];c=H[c+96>>2];F[k+16|0]=0;l=b+28|0;d=(e-c|0)/12|0;c=k+16|0;Ra(l,d,c);e=H[b+12>>2];d=H[e+28>>2];e=H[e+24>>2];H[k+16>>2]=-1;yb(b+52|0,d-e>>2,c);e=H[b+40>>2];H[b+44>>2]=e;c=H[b+12>>2];d=H[c+4>>2]-H[c>>2]>>2;d=d-((d>>>0)%3|0)|0;o:{if(d>>>0<=H[b+48>>2]-e>>2>>>0){break o}if(d>>>0>=1073741824){break c}f=d<<2;d=ra(f);H[b+44>>2]=d;H[b+40>>2]=d;H[b+48>>2]=d+f;if(!e){break o}qa(e);c=H[b+12>>2]}e=H[c+28>>2];c=H[c+24>>2];F[k+16|0]=0;Ra(b+84|0,e-c>>2,k+16|0);H[b+164>>2]=-1;H[b+168>>2]=0;H[b+100>>2]=H[b+96>>2];H[b+112>>2]=H[b+108>>2];if(H[b+132>>2]){c=H[b+128>>2];if(c){while(1){e=H[c>>2];qa(c);c=e;if(c){continue}break}}c=0;H[b+128>>2]=0;e=H[b+124>>2];p:{if(!e){break p}if(e-1>>>0>=3){g=e&-4;d=0;while(1){f=c<<2;H[f+H[b+120>>2]>>2]=0;H[H[b+120>>2]+(f|4)>>2]=0;H[H[b+120>>2]+(f|8)>>2]=0;H[H[b+120>>2]+(f|12)>>2]=0;c=c+4|0;d=d+4|0;if((g|0)!=(d|0)){continue}break}}e=e&3;if(!e){break p}while(1){H[H[b+120>>2]+(c<<2)>>2]=0;c=c+1|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}}H[b+132>>2]=0}H[b+144>>2]=0;c=H[b+12>>2];e=H[c+28>>2];c=H[c+24>>2];H[k+16>>2]=-1;yb(b+152|0,e-c>>2,k+16|0);c=H[b+72>>2];H[b+76>>2]=c;e=H[b+12>>2];e=H[e+4>>2]-H[e>>2]|0;d=(e>>2>>>0)/3|0;q:{if(d>>>0<=H[b+80>>2]-c>>2>>>0){break q}if((e|0)<0){break c}d=d<<2;e=ra(d);H[b+76>>2]=e;H[b+72>>2]=e;H[b+80>>2]=d+e;if(!c){break q}qa(c)}H[b- -64>>2]=0;if(!bg(b)){b=ra(32);c=I[1912]|I[1913]<<8|(I[1914]<<16|I[1915]<<24);e=I[1908]|I[1909]<<8|(I[1910]<<16|I[1911]<<24);F[b+21|0]=e;F[b+22|0]=e>>>8;F[b+23|0]=e>>>16;F[b+24|0]=e>>>24;F[b+25|0]=c;F[b+26|0]=c>>>8;F[b+27|0]=c>>>16;F[b+28|0]=c>>>24;c=I[1907]|I[1908]<<8|(I[1909]<<16|I[1910]<<24);e=I[1903]|I[1904]<<8|(I[1905]<<16|I[1906]<<24);F[b+16|0]=e;F[b+17|0]=e>>>8;F[b+18|0]=e>>>16;F[b+19|0]=e>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[1899]|I[1900]<<8|(I[1901]<<16|I[1902]<<24);e=I[1895]|I[1896]<<8|(I[1897]<<16|I[1898]<<24);F[b+8|0]=e;F[b+9|0]=e>>>8;F[b+10|0]=e>>>16;F[b+11|0]=e>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1891]|I[1892]<<8|(I[1893]<<16|I[1894]<<24);e=I[1887]|I[1888]<<8|(I[1889]<<16|I[1890]<<24);F[b|0]=e;F[b+1|0]=e>>>8;F[b+2|0]=e>>>16;F[b+3|0]=e>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+29|0]=0;H[a>>2]=-1;Ia(a+4|0,b,29);qa(b);break d}r:{if(I[b+352|0]){break r}c=H[b+8>>2];e=H[c+12>>2]-H[c+8>>2]|0;d=e>>2;c=d-1|0;f=H[b+176>>2];h=H[b+172>>2];g=(f-h|0)/136|0;s:{if(c>>>0>g>>>0){Wf(b+172|0,c-g|0);break s}if(c>>>0>=g>>>0){break s}c=h+N(c,136)|0;if((c|0)!=(f|0)){while(1){g=H[f-20>>2];if(g){H[f-16>>2]=g;qa(g)}g=H[f-32>>2];if(g){H[f-28>>2]=g;qa(g)}oc(f-132|0);f=f-136|0;if((c|0)!=(f|0)){continue}break}}H[b+176>>2]=c}if((e|0)==4|(e|0)<=0){break r}h=(d|0)>1?d:1;f=0;d=0;t:{while(1){m=H[H[H[b+8>>2]+8>>2]+(f<<2)>>2];if(H[m+56>>2]){j=N(d,136);c=j+H[b+172>>2]|0;H[c>>2]=f;e=H[c+104>>2];H[c+108>>2]=e;g=H[b+12>>2];g=H[g+4>>2]-H[g>>2]|0;o=g>>2;u:{if(o>>>0<=H[c+112>>2]-e>>2>>>0){break u}if((g|0)<0){break t}g=ra(g);H[c+104>>2]=g;H[c+108>>2]=g;H[c+112>>2]=g+(o<<2);if(!e){break u}qa(e)}c=j+H[b+172>>2]|0;H[c+128>>2]=0;cf(c+4|0,H[b+8>>2],H[b+12>>2],m);d=d+1|0}f=f+1|0;if((h|0)!=(f|0)){continue}break}break r}ya(1604);X()}c=(H[b+176>>2]-H[b+172>>2]|0)/136|0;F[k+31|0]=c;e=H[H[b+4>>2]+44>>2];d=H[e+20>>2];if(!H[e+16>>2]&(d|0)<=0|(d|0)<0){wa(e,H[e+4>>2],k+31|0,k+32|0);c=I[k+31|0]}H[b+284>>2]=c&255;c=H[b+12>>2];d=H[c>>2];c=H[c+4>>2];ag(i);H[k+24>>2]=0;H[k+16>>2]=0;H[k+20>>2]=0;e=0;v:{w:{x:{y:{c=c-d|0;if((c|0)>0){c=c>>>2|0;o=c>>>0>1?c:1;c=0;while(1){d=(c>>>0)/3|0;p=d>>>5<<2;r=1<<d;z:{if(H[p+H[l>>2]>>2]&r){break z}if(Fc(H[b+12>>2],d)){break z}H[k>>2]=0;d=$f(b,d,k);Fa(i,d);g=H[k>>2];if(d){h=-1;f=-1;m=-1;A:{if((g|0)==-1){break A}j=H[H[b+12>>2]>>2];d=j+(g<<2)|0;h=g+1|0;h=(h>>>0)%3|0?h:g-2|0;if((h|0)!=-1){f=H[j+(h<<2)>>2]}h=H[d>>2];B:{if((g>>>0)%3|0){d=g-1|0;break B}d=g+2|0;m=-1;if((d|0)==-1){break A}}m=H[j+(d<<2)>>2]}d=H[b+84>>2];j=d+(h>>>3&536870908)|0;H[j>>2]=H[j>>2]|1<<h;h=d+(f>>>3&536870908)|0;H[h>>2]=H[h>>2]|1<<f;d=d+(m>>>3&536870908)|0;H[d>>2]=H[d>>2]|1<<m;d=H[b+100>>2];h=H[b+104>>2];C:{if(d>>>0<h>>>0){H[d>>2]=1;H[b+100>>2]=d+4;break C}f=H[b+96>>2];m=d-f|0;j=m>>2;d=j+1|0;if(d>>>0>=1073741824){break y}h=h-f|0;q=h>>1;h=h>>>0<2147483644?d>>>0>q>>>0?d:q:1073741823;if(h){if(h>>>0>=1073741824){break c}d=ra(h<<2)}else{d=0}j=d+(j<<2)|0;H[j>>2]=1;if((m|0)>0){sa(d,f,m)}H[b+104>>2]=d+(h<<2);H[b+100>>2]=j+4;H[b+96>>2]=d;if(!f){break C}qa(f)}d=p+H[l>>2]|0;H[d>>2]=r|H[d>>2];h=-1;if((g|0)!=-1){d=g+1|0;h=(d>>>0)%3|0?d:g-2|0}D:{if(n>>>0<s>>>0){H[n>>2]=h;n=n+4|0;H[k+20>>2]=n;break D}m=n-e|0;n=m>>2;d=n+1|0;if(d>>>0>=1073741824){break x}f=s-e|0;j=f>>1;f=f>>>0<2147483644?d>>>0>j>>>0?d:j:1073741823;if(f){if(f>>>0>=1073741824){break c}d=ra(f<<2)}else{d=0}n=d+(n<<2)|0;H[n>>2]=h;s=d+(f<<2)|0;n=n+4|0;if((m|0)>0){sa(d,e,m)}H[k+24>>2]=s;H[k+20>>2]=n;H[k+16>>2]=d;if(e){qa(e)}e=d}if((g|0)==-1){break z}d=g+1|0;d=(d>>>0)%3|0?d:g-2|0;if((d|0)==-1){break z}d=H[H[H[b+12>>2]+12>>2]+(d<<2)>>2];if((d|0)==-1){break z}f=(d>>>0)/3|0;if(H[H[l>>2]+(f>>>3&268435452)>>2]>>>f&1){break z}if(Sf(b,d)){break z}break w}if((g|0)!=-1){d=g+1|0;d=(d>>>0)%3|0?d:g-2|0}else{d=-1}Hc(b,d,1);if(!Sf(b,H[k>>2])){break w}}c=c+1|0;if((o|0)!=(c|0)){continue}break}}f=b+72|0;c=H[b+72>>2];d=H[b+76>>2];E:{if((c|0)==(d|0)){break E}m=d-4|0;if(m>>>0<=c>>>0){break E}while(1){g=H[c>>2];H[c>>2]=H[m>>2];H[m>>2]=g;c=c+4|0;m=m-4|0;if(c>>>0<m>>>0){continue}break}}Zf(f,d,e,n);F:{if(H[b+172>>2]==H[b+176>>2]){break F}c=H[b+8>>2];d=H[c+100>>2];c=H[c+96>>2];F[k|0]=0;Ra(l,(d-c|0)/12|0,k);c=H[b+72>>2];d=H[b+76>>2];if((c|0)==(d|0)){break F}while(1){Yf(b,H[c>>2]);c=c+4|0;if((d|0)!=(c|0)){continue}break}}c=i+32|0;Ba(i,c);d=H[i+80>>2];G:{if(!d){break G}l=1;if(H[i+84>>2]<=0){break G}Ba(d,c);if(H[i+84>>2]<2){break G}while(1){Ba(H[i+80>>2]+(l<<5)|0,c);l=l+1|0;if((l|0)<H[i+84>>2]){continue}break}}l=H[i+136>>2];if((l|0)!=H[i+140>>2]){d=0;while(1){f=N(d,12);g=f+l|0;Da(H[g+4>>2]-H[g>>2]>>2,c);l=H[i+136>>2];g=f+l|0;f=H[g>>2];g=H[g+4>>2]-f|0;if(g){Yd(f,g>>2,1,0,c);l=H[i+136>>2]}d=d+1|0;if(d>>>0<(H[i+140>>2]-l|0)/12>>>0){continue}break}}Da(H[b+324>>2],H[H[b+4>>2]+44>>2]);Da(H[b+168>>2],H[H[b+4>>2]+44>>2]);if(!Xf(b)){b=tc(k,2029);H[a>>2]=-1;a=a+4|0;if(F[b+11|0]>=0){b=H[k+4>>2];H[a>>2]=H[k>>2];H[a+4>>2]=b;H[a+8>>2]=H[k+8>>2];break v}Ia(a,H[b>>2],H[b+4>>2]);if(F[b+11|0]>=0){break v}qa(H[b>>2]);break v}c=H[H[b+4>>2]+44>>2];d=H[c+20>>2];if(!H[c+16>>2]&(d|0)<=0|(d|0)<0){wa(c,H[c+4>>2],H[b+232>>2],H[b+236>>2])}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;break v}va();X()}va();X()}b=ra(48);c=I[1847]|I[1848]<<8|(I[1849]<<16|I[1850]<<24);d=I[1843]|I[1844]<<8|(I[1845]<<16|I[1846]<<24);F[b+24|0]=d;F[b+25|0]=d>>>8;F[b+26|0]=d>>>16;F[b+27|0]=d>>>24;F[b+28|0]=c;F[b+29|0]=c>>>8;F[b+30|0]=c>>>16;F[b+31|0]=c>>>24;c=I[1839]|I[1840]<<8|(I[1841]<<16|I[1842]<<24);d=I[1835]|I[1836]<<8|(I[1837]<<16|I[1838]<<24);F[b+16|0]=d;F[b+17|0]=d>>>8;F[b+18|0]=d>>>16;F[b+19|0]=d>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[1831]|I[1832]<<8|(I[1833]<<16|I[1834]<<24);d=I[1827]|I[1828]<<8|(I[1829]<<16|I[1830]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1823]|I[1824]<<8|(I[1825]<<16|I[1826]<<24);d=I[1819]|I[1820]<<8|(I[1821]<<16|I[1822]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+32|0]=0;H[a>>2]=-1;Ia(a+4|0,b,32);qa(b)}if(!e){break d}qa(e)}da=k+32|0;return}ya(1604);X()}function yk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,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,G=0,J=0,K=0,L=0,M=0,O=0,Q=0,S=0,V=0,W=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;h=da-240|0;da=h;$=H[a+36>>2];u=H[a+32>>2];H[h+184>>2]=0;H[h+188>>2]=0;H[h+176>>2]=0;H[h+180>>2]=0;H[h+168>>2]=0;H[h+172>>2]=0;H[h+160>>2]=0;H[h+164>>2]=0;H[h+152>>2]=0;H[h+156>>2]=0;H[h+144>>2]=0;H[h+148>>2]=0;if(e){Ea(h+144|0,e);i=H[h+160>>2];d=H[h+156>>2]}else{d=0}f=i-d>>2;a:{if(f>>>0>=e>>>0){if(e>>>0>=f>>>0){break a}H[h+160>>2]=d+(e<<2);break a}Ea(h+144|12,e-f|0)}f=H[h+168>>2];d=H[h+172>>2]-f>>2;b:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break b}H[h+172>>2]=f+(e<<2);break b}Ea(h+168|0,e-d|0)}c:{d:{f=H[h+180>>2];d=H[h+184>>2]-f>>2;e:{f:{if(d>>>0>=e>>>0){if(d>>>0>e>>>0){H[h+184>>2]=f+(e<<2)}H[h+136>>2]=0;H[h+128>>2]=0;H[h+132>>2]=0;if(e){break f}d=1;break e}Ea(h+180|0,e-d|0);H[h+136>>2]=0;H[h+128>>2]=0;H[h+132>>2]=0}if(e>>>0>=1073741824){break d}d=e<<2;f=ra(d);H[h+128>>2]=f;i=d+f|0;H[h+136>>2]=i;ta(f,0,d);H[h+132>>2]=i;d=0}J=a+136|0;i=H[a+136>>2];f=H[a+140>>2]-i>>2;g:{if(f>>>0<e>>>0){Ea(J,e-f|0);break g}if(e>>>0>=f>>>0){break g}H[a+140>>2]=i+(e<<2)}H[h+104>>2]=0;H[h+108>>2]=0;H[h+96>>2]=0;H[h+100>>2]=0;H[h+88>>2]=0;H[h+92>>2]=0;H[h+80>>2]=0;H[h+84>>2]=0;H[h+72>>2]=0;H[h+76>>2]=0;f=h- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[h+56>>2]=0;H[h+60>>2]=0;H[h+48>>2]=0;H[h+52>>2]=0;if(!d){d=e<<2;r=ra(d);x=ta(r,0,d)+d|0}S=a+8|0;d=H[a+40>>2];i=H[d>>2];d=H[d+4>>2]-i|0;if((d|0)<5){break c}E=d>>>2|0;f=E-1|0;if(f>>>0<d>>2>>>0){K=a+96|0;aa=h+125|0;ba=h+36|0;ca=h+24|0;V=e<<2;L=x-r|0;W=L&-4;C=L>>2;M=e&-2;O=e&1;fa=e&-4;Y=e&3;G=e-1|0;while(1){y=f;j=H[(f<<2)+i>>2];i=(j>>>0)%3|0;d=0;h:{if((j|0)==-1){break h}f=0;d=j+2|0;v=(i|0)!=0|(d|0)!=-1;m=1;q=i?j-1|0:d;z=1<<q;p=q>>>5|0;A=H[u>>2];i=j;while(1){i:{if(H[A+(i>>>3&536870908)>>2]>>>i&1){break i}d=H[H[H[u+64>>2]+12>>2]+(i<<2)>>2];if((d|0)==-1){break i}l=H[$>>2];g=H[u+28>>2];o=H[l+(H[g+(d<<2)>>2]<<2)>>2];if((o|0)>=(y|0)){break i}k=d+1|0;k=H[l+(H[g+(((k>>>0)%3|0?k:d-2|0)<<2)>>2]<<2)>>2];if((k|0)>=(y|0)){break i}g=H[l+(H[g+(d+((d>>>0)%3|0?-1:2)<<2)>>2]<<2)>>2];if((g|0)>=(y|0)){break i}j:{if(!e){break j}d=H[(h+144|0)+N(f,12)>>2];l=N(e,g);k=N(e,k);o=N(e,o);g=0;w=0;if(G){while(1){H[d+(g<<2)>>2]=(H[(g+l<<2)+b>>2]+H[(g+k<<2)+b>>2]|0)-H[(g+o<<2)+b>>2];n=g|1;H[d+(n<<2)>>2]=(H[(l+n<<2)+b>>2]+H[(k+n<<2)+b>>2]|0)-H[(o+n<<2)+b>>2];g=g+2|0;w=w+2|0;if((M|0)!=(w|0)){continue}break}}if(!O){break j}H[d+(g<<2)>>2]=(H[(g+l<<2)+b>>2]+H[(g+k<<2)+b>>2]|0)-H[(g+o<<2)+b>>2]}d=4;f=f+1|0;if((f|0)==4){break h}}k:{if(m&1){g=i-2|0;d=i+1|0;i=-1;d=(d>>>0)%3|0?d:g;if((d|0)==-1|H[H[u>>2]+(d>>>3&536870908)>>2]>>>d&1){break k}d=H[H[H[u+64>>2]+12>>2]+(d<<2)>>2];if((d|0)==-1){break k}i=d+1|0;i=(i>>>0)%3|0?i:d-2|0;break k}l:{if((i>>>0)%3|0){g=i-1|0;break l}g=i+2|0;i=-1;if((g|0)==-1){break k}}i=-1;if(H[H[u>>2]+(g>>>3&536870908)>>2]>>>g&1){break k}d=H[H[H[u+64>>2]+12>>2]+(g<<2)>>2];if((d|0)==-1){break k}if((d>>>0)%3|0){i=d-1|0;break k}i=d+2|0}if((i|0)==(j|0)){d=f;break h}if(!((m^1)&1|(i|0)!=-1)){if(!v){d=f;break h}if(z&H[H[u>>2]+(p<<2)>>2]){d=f;break h}d=H[H[H[u+64>>2]+12>>2]+(q<<2)>>2];if((d|0)==-1){d=f;break h}m=0;i=(d>>>0)%3|0?d-1|0:d+2|0}d=f;if((i|0)!=-1){continue}break}}f=0;F[h+16|0]=0;H[h+8>>2]=0;H[h+12>>2]=0;H[h+44>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;H[h+28>>2]=0;H[h+32>>2]=0;H[h+20>>2]=0;H[h+24>>2]=0;Z=N(e,y)<<2;z=Z+b|0;l=(N(E-2|0,e)<<2)+b|0;k=H[a+136>>2];i=0;if(e){while(1){j=f<<2;g=H[j+l>>2]-H[j+z>>2]|0;H[j+r>>2]=g;H[j+k>>2]=(g|0)>=0?g<<1:(g^-1)<<1|1;j=i;i=g>>31;i=j+(i+g^i)|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=h+200|0;Fb(f,K,k,e);g=Eb(f);k=ea;n=g;g=H[f+12>>2];f=H[f+16>>2];g=(((g-f|0)+1|0)/64|0)+f<<3;j=f<<3;o=j;f=g+j|0;j=(g>>31)+(j>>31)|0;j=f>>>0<o>>>0?j+1|0:j;o=f;f=n+f|0;g=j+k|0;j=f;f=f>>>0<o>>>0?g+1|0:g;Q=(d|0)>0;m:{if(!Q){A=d-1|0;break m}A=d-1|0;o=A<<3;g=o+(h+48|0)|0;n=g;k=d+H[g>>2]|0;g=H[g+4>>2];g=d>>>0>k>>>0?g+1|0:g;H[n>>2]=k;H[n+4>>2]=g;t=U(Gb(k,H[o+(h+80|0)>>2])*(+(k>>>0)+ +(g|0)*4294967296));n:{if(P(t)<0x8000000000000000){k=P(t)>=1?~~(t>0?R(T(t*2.3283064365386963e-10),4294967295):U((t-+(~~t>>>0>>>0))*2.3283064365386963e-10))>>>0:0;g=~~t>>>0;break n}k=-2147483648;g=0}g=g+j|0;j=g}w=0;H[h+20>>2]=0;F[h+16|0]=0;H[h+8>>2]=j;H[h+12>>2]=i;db(ca,l,l+V|0);Vc(ba,r,x);f=A<<3;o=f+(h+80|0)|0;ga=h+200|0;o:{p:{q:{r:{if((d|0)>0){i=h+124|0;n=i+d|0;q=n-2|0;l=n-1|0;ha=!d|(l|0)==(i|0);_=f+(h+48|0)|0;v=1;while(1){w=w+1|0;if((d|0)>0){ta(h+124|0,1,d)}ta(h+124|0,0,w);s:{t:while(1){if(e){ta(H[h+128>>2],0,V)}B=0;m=0;if((d|0)>0){while(1){if(!I[(h+124|0)+m|0]){u:{if(!e){break u}f=H[h+128>>2];i=H[(h+144|0)+N(m,12)>>2];j=0;g=0;k=0;if(G>>>0>2){while(1){p=g<<2;s=p+f|0;H[s>>2]=H[s>>2]+H[i+p>>2];s=p|4;D=s+f|0;H[D>>2]=H[D>>2]+H[i+s>>2];s=p|8;D=s+f|0;H[D>>2]=H[D>>2]+H[i+s>>2];p=p|12;s=p+f|0;H[s>>2]=H[s>>2]+H[i+p>>2];g=g+4|0;k=k+4|0;if((fa|0)!=(k|0)){continue}break}}if(!Y){break u}while(1){k=g<<2;p=k+f|0;H[p>>2]=H[p>>2]+H[i+k>>2];g=g+1|0;j=j+1|0;if((Y|0)!=(j|0)){continue}break}}B=1<<m|B}m=m+1|0;if((m|0)!=(d|0)){continue}break}}f=H[h+128>>2];v:{w:{x:{if(e){g=0;i=0;if(G){break x}break w}k=H[a+136>>2];j=0;break v}while(1){j=g<<2;k=j+f|0;H[k>>2]=H[k>>2]/(v|0);j=(j|4)+f|0;H[j>>2]=H[j>>2]/(v|0);g=g+2|0;i=i+2|0;if((M|0)!=(i|0)){continue}break}}if(O){f=(g<<2)+f|0;H[f>>2]=H[f>>2]/(v|0)}k=H[a+136>>2];f=H[h+128>>2];i=0;j=0;if(!e){break v}while(1){m=i<<2;g=H[m+f>>2]-H[m+z>>2]|0;H[m+r>>2]=g;H[k+m>>2]=(g|0)>=0?g<<1:(g^-1)<<1|1;m=g;g=g>>31;j=(m+g^g)+j|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}i=h+200|0;Fb(i,K,k,e);g=Eb(i);m=g;g=H[i+12>>2];i=H[i+16>>2];g=(((g-i|0)+1|0)/64|0)+i<<3;k=i<<3;i=g+k|0;i=m+i|0;g=i;if(Q){i=H[_+4>>2];k=H[_>>2];t=U(Gb(k,H[o>>2]+v|0)*(+(k>>>0)+ +(i|0)*4294967296));y:{if(P(t)<0x8000000000000000){i=~~t>>>0;break y}i=0}g=i+g|0}i=H[h+8>>2];if(!((i|0)<=(g|0)&((g|0)>(i|0)|(j|0)>=H[h+12>>2]))){H[h+20>>2]=v;F[h+16|0]=B;H[h+8>>2]=g;H[h+12>>2]=j;j=H[h+132>>2];m=j-f|0;k=m>>2;i=H[h+32>>2];g=H[h+24>>2];z:{if(k>>>0<=i-g>>2>>>0){m=H[h+28>>2]-g|0;i=m+f|0;p=m>>2;B=p>>>0<k>>>0?i:j;m=B-f|0;if(m){xa(g,f,m)}if(k>>>0>p>>>0){g=H[h+28>>2];if((j|0)==(B|0)){break z}while(1){H[g>>2]=H[i>>2];g=g+4|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}break z}g=g+m|0;break z}if(g){H[h+28>>2]=g;qa(g);H[h+32>>2]=0;H[h+24>>2]=0;H[h+28>>2]=0;i=0}if((m|0)<0){break r}g=i>>1;i=i>>>0<2147483644?g>>>0<k>>>0?k:g:1073741823;if(i>>>0>=1073741824){break r}i=i<<2;g=ra(i);H[h+24>>2]=g;H[h+28>>2]=g;H[h+32>>2]=g+i;if((f|0)==(j|0)){break z}j=f;f=m&-4;g=sa(g,j,f)+f|0}H[h+28>>2]=g;i=H[h+44>>2];f=H[h+36>>2];A:{if(i-f>>2>>>0>=C>>>0){g=H[h+40>>2]-f|0;i=g+r|0;j=g>>2;k=j>>>0<C>>>0?i:x;g=k-r|0;if(g){xa(f,r,g)}if(j>>>0<C>>>0){g=H[h+40>>2];if((k|0)==(x|0)){break A}while(1){H[g>>2]=H[i>>2];g=g+4|0;i=i+4|0;if((x|0)!=(i|0)){continue}break}break A}g=f+g|0;break A}if(f){H[h+40>>2]=f;qa(f);H[h+44>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;i=0}if((L|0)<0){break q}f=i>>1;f=i>>>0<2147483644?f>>>0<C>>>0?C:f:1073741823;if(f>>>0>=1073741824){break q}f=f<<2;g=ra(f);H[h+36>>2]=g;H[h+44>>2]=f+g;if((r|0)==(x|0)){break A}g=sa(g,r,W)+W|0}H[h+40>>2]=g}if(ha){break s}f=-1;k=I[l|0];g=k;while(1){j=g&255;i=f-1|0;m=i+n|0;g=I[m|0];if(j>>>0>g>>>0){j=l;i=n;if((k&255)>>>0<=g>>>0){while(1){k=j;j=j-1|0;p=i-2|0;i=k;if(I[p|0]<=g>>>0){continue}break}k=1}i=f+n|0;F[m|0]=k;F[j|0]=g;g=l;if((f|0)==-1){continue t}while(1){f=I[i|0];F[i|0]=I[g|0];F[g|0]=f;g=g-1|0;i=i+1|0;if(g>>>0>i>>>0){continue}break}continue t}f=i;if((m|0)!=(h+124|0)){continue}break}break}if(l>>>0<=h+124>>>0){break s}f=I[h+124|0];F[h+124|0]=k;F[l|0]=f;g=q;i=aa;if(g>>>0<=i>>>0){break s}while(1){f=I[i|0];F[i|0]=I[g|0];F[g|0]=f;g=g-1|0;i=i+1|0;if(g>>>0>i>>>0){continue}break}}v=v+1|0;if((d|0)!=(w|0)){continue}break}}if(Q){f=H[h+20>>2];g=f;i=g+H[o>>2]|0;f=H[o+4>>2]+(g>>31)|0;H[o>>2]=i;H[o+4>>2]=g>>>0>i>>>0?f+1|0:f}f=H[J>>2];if(!e){break o}i=H[h+36>>2];g=0;k=0;if(!G){break p}while(1){l=g<<2;j=H[l+i>>2];H[f+l>>2]=(j|0)>=0?j<<1:(j^-1)<<1|1;l=l|4;j=H[l+i>>2];H[f+l>>2]=(j|0)>=0?j<<1:(j^-1)<<1|1;g=g+2|0;k=k+2|0;if((M|0)!=(k|0)){continue}break}break p}va();X()}va();X()}if(O){g=g<<2;i=H[g+i>>2];H[f+g>>2]=(i|0)>=0?i<<1:(i^-1)<<1|1}f=H[J>>2]}Oc(ga,K,f,e);B:{if((d|0)<=0){break B}j=N(A,12)+a|0;i=0;while(1){C:{f=H[j+52>>2];l=f<<5;g=H[j+48>>2];D:{if(!(I[h+16|0]>>>i&1)){E:{F:{if((g|0)!=(l|0)){break F}if((g+1|0)<0){break C}G:{if(g>>>0<=1073741822){l=g+32&-32;f=f<<6;f=f>>>0<l>>>0?l:f;if(g>>>0>=f>>>0){break F}H[h+208>>2]=0;H[h+200>>2]=0;H[h+204>>2]=0;if((f|0)>=0){break G}La();X()}f=-1;if(g>>>0>2147483646){break E}f=2147483647}k=(f-1>>>5|0)+1|0;f=ra(k<<2);H[h+208>>2]=k;H[h+204>>2]=0;H[h+200>>2]=f;l=H[j+44>>2];H:{I:{if(g>>>0>=33){H[f+(g-1>>>3&536870908)>>2]=0;break I}H[f>>2]=0;if(!g){break H}}n=g>>>5|0;o=n<<2;q=xa(f,l,o);n=g-(n<<5)|0;if((n|0)<=0){break H}q=o+q|0;n=-1>>>32-n|0;H[q>>2]=H[q>>2]&(n^-1)|n&H[l+o>>2]}H[j+44>>2]=f;H[j+48>>2]=g;H[j+52>>2]=k;if(!l){break F}qa(l);g=H[j+48>>2]}f=g}H[j+48>>2]=f+1;g=H[j+44>>2]+(f>>>3&536870908)|0;H[g>>2]=H[g>>2]|1<<f;break D}J:{K:{if((g|0)!=(l|0)){break K}if((g+1|0)<0){break C}L:{if(g>>>0<=1073741822){l=g+32&-32;f=f<<6;f=f>>>0<l>>>0?l:f;if(g>>>0>=f>>>0){break K}H[h+208>>2]=0;H[h+200>>2]=0;H[h+204>>2]=0;if((f|0)>=0){break L}La();X()}f=-1;if(g>>>0>2147483646){break J}f=2147483647}k=(f-1>>>5|0)+1|0;f=ra(k<<2);H[h+208>>2]=k;H[h+204>>2]=0;H[h+200>>2]=f;l=H[j+44>>2];M:{N:{if(g>>>0>=33){H[f+(g-1>>>3&536870908)>>2]=0;break N}H[f>>2]=0;if(!g){break M}}n=g>>>5|0;o=n<<2;q=xa(f,l,o);n=g-(n<<5)|0;if((n|0)<=0){break M}q=o+q|0;n=-1>>>32-n|0;H[q>>2]=H[q>>2]&(n^-1)|n&H[l+o>>2]}H[j+44>>2]=f;H[j+48>>2]=g;H[j+52>>2]=k;if(!l){break K}qa(l);g=H[j+48>>2]}f=g}H[j+48>>2]=f+1;g=H[j+44>>2]+(f>>>3&536870908)|0;l=H[g>>2];ia=g,ja=Bl(f)&l,H[ia>>2]=ja}i=i+1|0;if((i|0)!=(d|0)){continue}break B}break}La();X()}d=H[h+24>>2];f=H[d>>2];d=H[d+4>>2];i=H[z+4>>2];H[h+232>>2]=H[z>>2];H[h+236>>2]=i;H[h+224>>2]=f;H[h+228>>2]=d;_a(h+200|0,S,h+232|0,h+224|0);d=c+Z|0;H[d>>2]=H[h+200>>2];H[d+4>>2]=H[h+204>>2];d=H[h+36>>2];if(d){H[h+40>>2]=d;qa(d)}d=H[h+24>>2];if(d){H[h+28>>2]=d;qa(d)}if((E|0)<3){break c}E=y;d=H[a+40>>2];i=H[d>>2];f=y-1|0;if(f>>>0<H[d+4>>2]-i>>2>>>0){continue}break}}ua();X()}va();X()}a=H[h+144>>2];if(e){ta(a,0,e<<2);a=H[h+144>>2]}d=H[a>>2];a=H[a+4>>2];e=H[b+4>>2];H[h+200>>2]=H[b>>2];H[h+204>>2]=e;H[h+232>>2]=d;H[h+236>>2]=a;_a(h+8|0,S,h+200|0,h+232|0);H[c>>2]=H[h+8>>2];H[c+4>>2]=H[h+12>>2];if(r){qa(r)}a=H[h+128>>2];if(a){H[h+132>>2]=a;qa(a)}a=H[h+180>>2];if(a){H[h+184>>2]=a;qa(a)}a=H[h+168>>2];if(a){H[h+172>>2]=a;qa(a)}a=H[h+156>>2];if(a){H[h+160>>2]=a;qa(a)}a=H[h+144>>2];if(a){H[h+148>>2]=a;qa(a)}da=h+240|0;return 1}function mk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,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,G=0,J=0,K=0,L=0,M=0,O=0,Q=0,S=0,V=0,W=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;h=da-240|0;da=h;$=H[a+36>>2];Q=H[a+32>>2];H[h+184>>2]=0;H[h+188>>2]=0;H[h+176>>2]=0;H[h+180>>2]=0;H[h+168>>2]=0;H[h+172>>2]=0;H[h+160>>2]=0;H[h+164>>2]=0;H[h+152>>2]=0;H[h+156>>2]=0;H[h+144>>2]=0;H[h+148>>2]=0;if(e){Ea(h+144|0,e);i=H[h+160>>2];d=H[h+156>>2]}else{d=0}f=i-d>>2;a:{if(f>>>0>=e>>>0){if(e>>>0>=f>>>0){break a}H[h+160>>2]=d+(e<<2);break a}Ea(h+144|12,e-f|0)}f=H[h+168>>2];d=H[h+172>>2]-f>>2;b:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break b}H[h+172>>2]=f+(e<<2);break b}Ea(h+168|0,e-d|0)}c:{d:{f=H[h+180>>2];d=H[h+184>>2]-f>>2;e:{f:{if(d>>>0>=e>>>0){if(d>>>0>e>>>0){H[h+184>>2]=f+(e<<2)}H[h+136>>2]=0;H[h+128>>2]=0;H[h+132>>2]=0;if(e){break f}d=1;break e}Ea(h+180|0,e-d|0);H[h+136>>2]=0;H[h+128>>2]=0;H[h+132>>2]=0}if(e>>>0>=1073741824){break d}d=e<<2;f=ra(d);H[h+128>>2]=f;i=d+f|0;H[h+136>>2]=i;ta(f,0,d);H[h+132>>2]=i;d=0}G=a+136|0;i=H[a+136>>2];f=H[a+140>>2]-i>>2;g:{if(f>>>0<e>>>0){Ea(G,e-f|0);break g}if(e>>>0>=f>>>0){break g}H[a+140>>2]=i+(e<<2)}H[h+104>>2]=0;H[h+108>>2]=0;H[h+96>>2]=0;H[h+100>>2]=0;H[h+88>>2]=0;H[h+92>>2]=0;H[h+80>>2]=0;H[h+84>>2]=0;H[h+72>>2]=0;H[h+76>>2]=0;f=h- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[h+56>>2]=0;H[h+60>>2]=0;H[h+48>>2]=0;H[h+52>>2]=0;if(!d){d=e<<2;r=ra(d);v=ta(r,0,d)+d|0}S=a+8|0;d=H[a+40>>2];i=H[d>>2];f=H[d+4>>2]-i|0;if((f|0)<5){break c}C=f>>>2|0;d=C-1|0;if(d>>>0<f>>2>>>0){J=a+96|0;aa=h+125|0;ba=h+36|0;ca=h+24|0;V=e<<2;K=v-r|0;W=K&-4;A=K>>2;L=e&-2;M=e&1;fa=e&-4;Y=e&3;D=e-1|0;while(1){w=d;j=H[(d<<2)+i>>2];i=(j>>>0)%3|0;f=0;h:{if((j|0)==-1){break h}d=0;f=j+2|0;x=(i|0)!=0|(f|0)!=-1;l=H[Q+12>>2];y=l+((i?j-1|0:f)<<2)|0;s=1;i=j;while(1){f=H[l+(i<<2)>>2];i:{if((f|0)==-1){break i}o=H[$>>2];k=H[Q>>2];p=H[o+(H[k+(f<<2)>>2]<<2)>>2];g=f+1|0;g=(g>>>0)%3|0?g:f-2|0;if((g|0)!=-1){n=H[k+(g<<2)>>2]}else{n=-1}j:{k:{if((f>>>0)%3|0){g=f-1|0;break k}g=f+2|0;m=-1;if((g|0)==-1){break j}}m=H[k+(g<<2)>>2]}if((p|0)>=(w|0)){break i}f=H[(n<<2)+o>>2];if((f|0)>=(w|0)){break i}g=H[o+(m<<2)>>2];if((g|0)>=(w|0)){break i}k=H[(h+144|0)+N(d,12)>>2];l:{if(!e){break l}o=N(e,g);n=N(e,f);p=N(e,p);g=0;f=0;if(D){while(1){H[k+(g<<2)>>2]=(H[(g+o<<2)+b>>2]+H[(g+n<<2)+b>>2]|0)-H[(g+p<<2)+b>>2];m=g|1;H[k+(m<<2)>>2]=(H[(m+o<<2)+b>>2]+H[(m+n<<2)+b>>2]|0)-H[(m+p<<2)+b>>2];g=g+2|0;f=f+2|0;if((L|0)!=(f|0)){continue}break}}if(!M){break l}H[k+(g<<2)>>2]=(H[(g+o<<2)+b>>2]+H[(g+n<<2)+b>>2]|0)-H[(g+p<<2)+b>>2]}f=4;d=d+1|0;if((d|0)==4){break h}}m:{if(s&1){g=i+1|0;i=(g>>>0)%3|0?g:i-2|0;f=-1;if((i|0)==-1){break m}i=H[l+(i<<2)>>2];f=-1;if((i|0)==-1){break m}f=i+1|0;f=(f>>>0)%3|0?f:i-2|0;break m}n:{if((i>>>0)%3|0){g=i-1|0;break n}g=i+2|0;f=-1;if((g|0)==-1){break m}}i=H[l+(g<<2)>>2];f=-1;if((i|0)==-1){break m}f=i-1|0;if((i>>>0)%3|0){break m}f=i+2|0}i=f;if((j|0)==(i|0)){f=d;break h}if(!((s^1)&1|(i|0)!=-1)){if(!x){f=d;break h}f=H[y>>2];if((f|0)==-1){f=d;break h}s=0;i=(f>>>0)%3|0?f-1|0:f+2|0}f=d;if((i|0)!=-1){continue}break}}d=0;F[h+16|0]=0;H[h+8>>2]=0;H[h+12>>2]=0;H[h+44>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;H[h+28>>2]=0;H[h+32>>2]=0;H[h+20>>2]=0;H[h+24>>2]=0;Z=N(e,w)<<2;x=Z+b|0;l=(N(C-2|0,e)<<2)+b|0;k=H[a+136>>2];i=0;if(e){while(1){j=d<<2;g=H[j+l>>2]-H[j+x>>2]|0;H[j+r>>2]=g;H[j+k>>2]=(g|0)>=0?g<<1:(g^-1)<<1|1;j=i;i=g>>31;i=j+(i+g^i)|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=h+200|0;Fb(d,J,k,e);g=Eb(d);k=ea;n=g;g=H[d+12>>2];d=H[d+16>>2];g=(((g-d|0)+1|0)/64|0)+d<<3;j=d<<3;o=j;d=g+j|0;j=(g>>31)+(j>>31)|0;j=d>>>0<o>>>0?j+1|0:j;o=d;d=n+d|0;g=j+k|0;j=d;d=d>>>0<o>>>0?g+1|0:g;O=(f|0)>0;o:{if(!O){E=f-1|0;break o}E=f-1|0;o=E<<3;g=o+(h+48|0)|0;n=g;k=f+H[g>>2]|0;g=H[g+4>>2];g=f>>>0>k>>>0?g+1|0:g;H[n>>2]=k;H[n+4>>2]=g;u=U(Gb(k,H[o+(h+80|0)>>2])*(+(k>>>0)+ +(g|0)*4294967296));p:{if(P(u)<0x8000000000000000){k=P(u)>=1?~~(u>0?R(T(u*2.3283064365386963e-10),4294967295):U((u-+(~~u>>>0>>>0))*2.3283064365386963e-10))>>>0:0;g=~~u>>>0;break p}k=-2147483648;g=0}g=g+j|0;j=g}y=0;H[h+20>>2]=0;F[h+16|0]=0;H[h+8>>2]=j;H[h+12>>2]=i;db(ca,l,l+V|0);Vc(ba,r,v);d=E<<3;o=d+(h+80|0)|0;ga=h+200|0;q:{r:{s:{t:{if((f|0)>0){i=h+124|0;n=i+f|0;p=n-2|0;l=n-1|0;ha=!f|(l|0)==(i|0);_=d+(h+48|0)|0;s=1;while(1){y=y+1|0;if((f|0)>0){ta(h+124|0,1,f)}ta(h+124|0,0,y);u:{v:while(1){if(e){ta(H[h+128>>2],0,V)}z=0;d=0;if((f|0)>0){while(1){if(!I[(h+124|0)+d|0]){w:{if(!e){break w}i=H[h+128>>2];m=H[(h+144|0)+N(d,12)>>2];j=0;g=0;k=0;if(D>>>0>2){while(1){q=g<<2;t=q+i|0;H[t>>2]=H[t>>2]+H[m+q>>2];t=q|4;B=t+i|0;H[B>>2]=H[B>>2]+H[m+t>>2];t=q|8;B=t+i|0;H[B>>2]=H[B>>2]+H[m+t>>2];q=q|12;t=q+i|0;H[t>>2]=H[t>>2]+H[m+q>>2];g=g+4|0;k=k+4|0;if((fa|0)!=(k|0)){continue}break}}if(!Y){break w}while(1){k=g<<2;q=k+i|0;H[q>>2]=H[q>>2]+H[k+m>>2];g=g+1|0;j=j+1|0;if((Y|0)!=(j|0)){continue}break}}z=1<<d|z}d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=H[h+128>>2];x:{y:{z:{if(e){g=0;i=0;if(D){break z}break y}k=H[a+136>>2];j=0;break x}while(1){j=g<<2;k=j+d|0;H[k>>2]=H[k>>2]/(s|0);j=(j|4)+d|0;H[j>>2]=H[j>>2]/(s|0);g=g+2|0;i=i+2|0;if((L|0)!=(i|0)){continue}break}}if(M){d=(g<<2)+d|0;H[d>>2]=H[d>>2]/(s|0)}k=H[a+136>>2];d=H[h+128>>2];i=0;j=0;if(!e){break x}while(1){m=i<<2;g=H[m+d>>2]-H[m+x>>2]|0;H[m+r>>2]=g;H[k+m>>2]=(g|0)>=0?g<<1:(g^-1)<<1|1;m=g;g=g>>31;j=(m+g^g)+j|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}i=h+200|0;Fb(i,J,k,e);g=Eb(i);m=g;g=H[i+12>>2];i=H[i+16>>2];g=(((g-i|0)+1|0)/64|0)+i<<3;k=i<<3;i=g+k|0;i=m+i|0;g=i;if(O){i=H[_+4>>2];k=H[_>>2];u=U(Gb(k,H[o>>2]+s|0)*(+(k>>>0)+ +(i|0)*4294967296));A:{if(P(u)<0x8000000000000000){i=~~u>>>0;break A}i=0}g=i+g|0}i=H[h+8>>2];if(!((i|0)<=(g|0)&((g|0)>(i|0)|(j|0)>=H[h+12>>2]))){H[h+20>>2]=s;F[h+16|0]=z;H[h+8>>2]=g;H[h+12>>2]=j;j=H[h+132>>2];m=j-d|0;k=m>>2;i=H[h+32>>2];g=H[h+24>>2];B:{if(k>>>0<=i-g>>2>>>0){m=H[h+28>>2]-g|0;i=m+d|0;q=m>>2;z=q>>>0<k>>>0?i:j;m=z-d|0;if(m){xa(g,d,m)}if(k>>>0>q>>>0){g=H[h+28>>2];if((j|0)==(z|0)){break B}while(1){H[g>>2]=H[i>>2];g=g+4|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}break B}g=g+m|0;break B}if(g){H[h+28>>2]=g;qa(g);H[h+32>>2]=0;H[h+24>>2]=0;H[h+28>>2]=0;i=0}if((m|0)<0){break t}g=i>>1;i=i>>>0<2147483644?g>>>0<k>>>0?k:g:1073741823;if(i>>>0>=1073741824){break t}i=i<<2;g=ra(i);H[h+24>>2]=g;H[h+28>>2]=g;H[h+32>>2]=g+i;if((d|0)==(j|0)){break B}j=d;d=m&-4;g=sa(g,j,d)+d|0}H[h+28>>2]=g;i=H[h+44>>2];d=H[h+36>>2];C:{if(i-d>>2>>>0>=A>>>0){g=H[h+40>>2]-d|0;i=g+r|0;j=g>>2;k=j>>>0<A>>>0?i:v;g=k-r|0;if(g){xa(d,r,g)}if(j>>>0<A>>>0){g=H[h+40>>2];if((k|0)==(v|0)){break C}while(1){H[g>>2]=H[i>>2];g=g+4|0;i=i+4|0;if((v|0)!=(i|0)){continue}break}break C}g=d+g|0;break C}if(d){H[h+40>>2]=d;qa(d);H[h+44>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;i=0}if((K|0)<0){break s}d=i>>1;d=i>>>0<2147483644?d>>>0<A>>>0?A:d:1073741823;if(d>>>0>=1073741824){break s}d=d<<2;g=ra(d);H[h+36>>2]=g;H[h+44>>2]=d+g;if((r|0)==(v|0)){break C}g=sa(g,r,W)+W|0}H[h+40>>2]=g}if(ha){break u}d=-1;k=I[l|0];g=k;while(1){j=g&255;i=d-1|0;m=i+n|0;g=I[m|0];if(j>>>0>g>>>0){j=l;i=n;if((k&255)>>>0<=g>>>0){while(1){k=j;j=j-1|0;q=i-2|0;i=k;if(I[q|0]<=g>>>0){continue}break}k=1}i=d+n|0;F[m|0]=k;F[j|0]=g;g=l;if((d|0)==-1){continue v}while(1){d=I[i|0];F[i|0]=I[g|0];F[g|0]=d;g=g-1|0;i=i+1|0;if(g>>>0>i>>>0){continue}break}continue v}d=i;if((m|0)!=(h+124|0)){continue}break}break}if(l>>>0<=h+124>>>0){break u}d=I[h+124|0];F[h+124|0]=k;F[l|0]=d;g=p;i=aa;if(g>>>0<=i>>>0){break u}while(1){d=I[i|0];F[i|0]=I[g|0];F[g|0]=d;g=g-1|0;i=i+1|0;if(g>>>0>i>>>0){continue}break}}s=s+1|0;if((f|0)!=(y|0)){continue}break}}if(O){d=H[h+20>>2];g=d;i=g+H[o>>2]|0;d=H[o+4>>2]+(g>>31)|0;H[o>>2]=i;H[o+4>>2]=g>>>0>i>>>0?d+1|0:d}d=H[G>>2];if(!e){break q}i=H[h+36>>2];g=0;k=0;if(!D){break r}while(1){l=g<<2;j=H[l+i>>2];H[d+l>>2]=(j|0)>=0?j<<1:(j^-1)<<1|1;l=l|4;j=H[l+i>>2];H[d+l>>2]=(j|0)>=0?j<<1:(j^-1)<<1|1;g=g+2|0;k=k+2|0;if((L|0)!=(k|0)){continue}break}break r}va();X()}va();X()}if(M){g=g<<2;i=H[g+i>>2];H[d+g>>2]=(i|0)>=0?i<<1:(i^-1)<<1|1}d=H[G>>2]}Oc(ga,J,d,e);D:{if((f|0)<=0){break D}j=N(E,12)+a|0;i=0;while(1){E:{d=H[j+52>>2];l=d<<5;g=H[j+48>>2];F:{if(!(I[h+16|0]>>>i&1)){G:{H:{if((g|0)!=(l|0)){break H}if((g+1|0)<0){break E}I:{if(g>>>0<=1073741822){l=g+32&-32;d=d<<6;d=d>>>0<l>>>0?l:d;if(g>>>0>=d>>>0){break H}H[h+208>>2]=0;H[h+200>>2]=0;H[h+204>>2]=0;if((d|0)>=0){break I}La();X()}d=-1;if(g>>>0>2147483646){break G}d=2147483647}k=(d-1>>>5|0)+1|0;d=ra(k<<2);H[h+208>>2]=k;H[h+204>>2]=0;H[h+200>>2]=d;l=H[j+44>>2];J:{K:{if(g>>>0>=33){H[d+(g-1>>>3&536870908)>>2]=0;break K}H[d>>2]=0;if(!g){break J}}n=g>>>5|0;o=n<<2;p=xa(d,l,o);n=g-(n<<5)|0;if((n|0)<=0){break J}p=o+p|0;n=-1>>>32-n|0;H[p>>2]=H[p>>2]&(n^-1)|n&H[l+o>>2]}H[j+44>>2]=d;H[j+48>>2]=g;H[j+52>>2]=k;if(!l){break H}qa(l);g=H[j+48>>2]}d=g}H[j+48>>2]=d+1;g=H[j+44>>2]+(d>>>3&536870908)|0;H[g>>2]=H[g>>2]|1<<d;break F}L:{M:{if((g|0)!=(l|0)){break M}if((g+1|0)<0){break E}N:{if(g>>>0<=1073741822){l=g+32&-32;d=d<<6;d=d>>>0<l>>>0?l:d;if(g>>>0>=d>>>0){break M}H[h+208>>2]=0;H[h+200>>2]=0;H[h+204>>2]=0;if((d|0)>=0){break N}La();X()}d=-1;if(g>>>0>2147483646){break L}d=2147483647}k=(d-1>>>5|0)+1|0;d=ra(k<<2);H[h+208>>2]=k;H[h+204>>2]=0;H[h+200>>2]=d;l=H[j+44>>2];O:{P:{if(g>>>0>=33){H[d+(g-1>>>3&536870908)>>2]=0;break P}H[d>>2]=0;if(!g){break O}}n=g>>>5|0;o=n<<2;p=xa(d,l,o);n=g-(n<<5)|0;if((n|0)<=0){break O}p=o+p|0;n=-1>>>32-n|0;H[p>>2]=H[p>>2]&(n^-1)|n&H[l+o>>2]}H[j+44>>2]=d;H[j+48>>2]=g;H[j+52>>2]=k;if(!l){break M}qa(l);g=H[j+48>>2]}d=g}H[j+48>>2]=d+1;g=H[j+44>>2]+(d>>>3&536870908)|0;l=H[g>>2];ia=g,ja=Bl(d)&l,H[ia>>2]=ja}i=i+1|0;if((i|0)!=(f|0)){continue}break D}break}La();X()}d=H[h+24>>2];f=H[d>>2];d=H[d+4>>2];i=H[x+4>>2];H[h+232>>2]=H[x>>2];H[h+236>>2]=i;H[h+224>>2]=f;H[h+228>>2]=d;_a(h+200|0,S,h+232|0,h+224|0);d=c+Z|0;H[d>>2]=H[h+200>>2];H[d+4>>2]=H[h+204>>2];d=H[h+36>>2];if(d){H[h+40>>2]=d;qa(d)}d=H[h+24>>2];if(d){H[h+28>>2]=d;qa(d)}if((C|0)<3){break c}C=w;f=H[a+40>>2];i=H[f>>2];d=w-1|0;if(d>>>0<H[f+4>>2]-i>>2>>>0){continue}break}}ua();X()}va();X()}a=H[h+144>>2];if(e){ta(a,0,e<<2);a=H[h+144>>2]}d=H[a>>2];a=H[a+4>>2];e=H[b+4>>2];H[h+200>>2]=H[b>>2];H[h+204>>2]=e;H[h+232>>2]=d;H[h+236>>2]=a;_a(h+8|0,S,h+200|0,h+232|0);H[c>>2]=H[h+8>>2];H[c+4>>2]=H[h+12>>2];if(r){qa(r)}a=H[h+128>>2];if(a){H[h+132>>2]=a;qa(a)}a=H[h+180>>2];if(a){H[h+184>>2]=a;qa(a)}a=H[h+168>>2];if(a){H[h+172>>2]=a;qa(a)}a=H[h+156>>2];if(a){H[h+160>>2]=a;qa(a)}a=H[h+144>>2];if(a){H[h+148>>2]=a;qa(a)}da=h+240|0;return 1}function Ce(a){a=a|0;var 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;l=da-16|0;da=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(a>>>0<=244){e=H[4782];h=a>>>0<11?16:a+11&-8;c=h>>>3|0;b=e>>>c|0;if(b&3){d=c+((b^-1)&1)|0;b=d<<3;f=H[b+19176>>2];a=f+8|0;c=H[f+8>>2];b=b+19168|0;l:{if((c|0)==(b|0)){m=19128,n=Bl(d)&e,H[m>>2]=n;break l}H[c+12>>2]=b;H[b+8>>2]=c}b=d<<3;H[f+4>>2]=b|3;b=b+f|0;H[b+4>>2]=H[b+4>>2]|1;break a}k=H[4784];if(k>>>0>=h>>>0){break k}if(b){a=2<<c;a=(0-a|a)&b<<c;b=(0-a&a)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;c=(c|a)+(b>>>a|0)|0;a=c<<3;g=H[a+19176>>2];b=H[g+8>>2];a=a+19168|0;m:{if((b|0)==(a|0)){e=Bl(c)&e;H[4782]=e;break m}H[b+12>>2]=a;H[a+8>>2]=b}a=g+8|0;H[g+4>>2]=h|3;d=g+h|0;b=c<<3;f=b-h|0;H[d+4>>2]=f|1;H[b+g>>2]=f;if(k){b=k>>>3|0;c=(b<<3)+19168|0;g=H[4787];b=1<<b;n:{if(!(b&e)){H[4782]=b|e;b=c;break n}b=H[c+8>>2]}H[c+8>>2]=g;H[b+12>>2]=g;H[g+12>>2]=c;H[g+8>>2]=b}H[4787]=d;H[4784]=f;break a}j=H[4783];if(!j){break k}b=(j&0-j)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;b=H[((c|a)+(b>>>a|0)<<2)+19432>>2];d=(H[b+4>>2]&-8)-h|0;c=b;while(1){o:{a=H[c+16>>2];if(!a){a=H[c+20>>2];if(!a){break o}}c=(H[a+4>>2]&-8)-h|0;f=c>>>0<d>>>0;d=f?c:d;b=f?a:b;c=a;continue}break}i=H[b+24>>2];f=H[b+12>>2];if((f|0)!=(b|0)){a=H[b+8>>2];H[a+12>>2]=f;H[f+8>>2]=a;break b}c=b+20|0;a=H[c>>2];if(!a){a=H[b+16>>2];if(!a){break j}c=b+16|0}while(1){g=c;f=a;c=a+20|0;a=H[c>>2];if(a){continue}c=f+16|0;a=H[f+16>>2];if(a){continue}break}H[g>>2]=0;break b}h=-1;if(a>>>0>4294967231){break k}a=a+11|0;h=a&-8;j=H[4783];if(!j){break k}d=0-h|0;e=0;p:{if(h>>>0<256){break p}e=31;if(h>>>0>16777215){break p}a=a>>>8|0;g=a+1048320>>>16&8;a=a<<g;c=a+520192>>>16&4;a=a<<c;b=a+245760>>>16&2;a=(a<<b>>>15|0)-(b|(c|g))|0;e=(a<<1|h>>>a+21&1)+28|0}c=H[(e<<2)+19432>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=h<<((e|0)==31?0:25-(e>>>1|0)|0);while(1){t:{g=(H[c+4>>2]&-8)-h|0;if(g>>>0>=d>>>0){break t}f=c;d=g;if(d){break t}d=0;a=c;break r}g=H[c+20>>2];c=H[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|f)){f=0;a=2<<e;a=(0-a|a)&j;if(!a){break k}b=(a&0-a)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;a=H[((c|a)+(b>>>a|0)<<2)+19432>>2]}if(!a){break q}}while(1){b=(H[a+4>>2]&-8)-h|0;c=b>>>0<d>>>0;d=c?b:d;f=c?a:f;b=H[a+16>>2];if(b){a=b}else{a=H[a+20>>2]}if(a){continue}break}}if(!f|H[4784]-h>>>0<=d>>>0){break k}e=H[f+24>>2];b=H[f+12>>2];if((f|0)!=(b|0)){a=H[f+8>>2];H[a+12>>2]=b;H[b+8>>2]=a;break c}c=f+20|0;a=H[c>>2];if(!a){a=H[f+16>>2];if(!a){break i}c=f+16|0}while(1){g=c;b=a;c=a+20|0;a=H[c>>2];if(a){continue}c=b+16|0;a=H[b+16>>2];if(a){continue}break}H[g>>2]=0;break c}c=H[4784];if(c>>>0>=h>>>0){d=H[4787];b=c-h|0;u:{if(b>>>0>=16){H[4784]=b;a=d+h|0;H[4787]=a;H[a+4>>2]=b|1;H[c+d>>2]=b;H[d+4>>2]=h|3;break u}H[4787]=0;H[4784]=0;H[d+4>>2]=c|3;a=c+d|0;H[a+4>>2]=H[a+4>>2]|1}a=d+8|0;break a}i=H[4785];if(i>>>0>h>>>0){b=i-h|0;H[4785]=b;c=H[4788];a=c+h|0;H[4788]=a;H[a+4>>2]=b|1;H[c+4>>2]=h|3;a=c+8|0;break a}a=0;j=h+47|0;if(H[4900]){c=H[4902]}else{H[4903]=-1;H[4904]=-1;H[4901]=4096;H[4902]=4096;H[4900]=l+12&-16^1431655768;H[4905]=0;H[4893]=0;c=4096}g=j+c|0;f=0-c|0;c=g&f;if(c>>>0<=h>>>0){break a}d=H[4892];if(d){b=H[4890];e=b+c|0;if(d>>>0<e>>>0|b>>>0>=e>>>0){break a}}if(I[19572]&4){break f}v:{w:{d=H[4788];if(d){a=19576;while(1){b=H[a>>2];if(b>>>0<=d>>>0&d>>>0<b+H[a+4>>2]>>>0){break w}a=H[a+8>>2];if(a){continue}break}}b=Ib(0);if((b|0)==-1){break g}e=c;d=H[4901];a=d-1|0;if(a&b){e=(c-b|0)+(a+b&0-d)|0}if(e>>>0<=h>>>0|e>>>0>2147483646){break g}d=H[4892];if(d){a=H[4890];f=a+e|0;if(d>>>0<f>>>0|a>>>0>=f>>>0){break g}}a=Ib(e);if((b|0)!=(a|0)){break v}break e}e=f&g-i;if(e>>>0>2147483646){break g}b=Ib(e);if((b|0)==(H[a>>2]+H[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|h+48>>>0<=e>>>0)){b=H[4902];b=b+(j-e|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((Ib(b)|0)!=-1){e=b+e|0;b=a;break e}Ib(0-e|0);break g}b=a;if((a|0)!=-1){break e}break g}f=0;break b}b=0;break c}if((b|0)!=-1){break e}}H[4893]=H[4893]|4}if(c>>>0>2147483646){break d}b=Ib(c);a=Ib(0);if((b|0)==-1|(a|0)==-1|a>>>0<=b>>>0){break d}e=a-b|0;if(e>>>0<=h+40>>>0){break d}}a=H[4890]+e|0;H[4890]=a;if(a>>>0>K[4891]){H[4891]=a}x:{y:{z:{g=H[4788];if(g){a=19576;while(1){d=H[a>>2];c=H[a+4>>2];if((d+c|0)==(b|0)){break z}a=H[a+8>>2];if(a){continue}break}break y}a=H[4786];if(!(a>>>0<=b>>>0?a:0)){H[4786]=b}a=0;H[4895]=e;H[4894]=b;H[4790]=-1;H[4791]=H[4900];H[4897]=0;while(1){d=a<<3;c=d+19168|0;H[d+19176>>2]=c;H[d+19180>>2]=c;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;H[4785]=c;a=a+b|0;H[4788]=a;H[a+4>>2]=c|1;H[(b+d|0)+4>>2]=40;H[4789]=H[4904];break x}if(I[a+12|0]&8|d>>>0>g>>>0|b>>>0<=g>>>0){break y}H[a+4>>2]=c+e;a=g+8&7?-8-g&7:0;c=a+g|0;H[4788]=c;b=H[4785]+e|0;a=b-a|0;H[4785]=a;H[c+4>>2]=a|1;H[(b+g|0)+4>>2]=40;H[4789]=H[4904];break x}if(K[4786]>b>>>0){H[4786]=b}c=b+e|0;a=19576;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=H[a>>2]){a=H[a+8>>2];if(a){continue}break F}break}if(!(I[a+12|0]&8)){break E}}a=19576;while(1){c=H[a>>2];if(c>>>0<=g>>>0){f=c+H[a+4>>2]|0;if(f>>>0>g>>>0){break D}}a=H[a+8>>2];continue}}H[a>>2]=b;H[a+4>>2]=H[a+4>>2]+e;j=(b+8&7?-8-b&7:0)+b|0;H[j+4>>2]=h|3;e=c+(c+8&7?-8-c&7:0)|0;i=h+j|0;c=e-i|0;if((e|0)==(g|0)){H[4788]=i;a=H[4785]+c|0;H[4785]=a;H[i+4>>2]=a|1;break B}if(H[4787]==(e|0)){H[4787]=i;a=H[4784]+c|0;H[4784]=a;H[i+4>>2]=a|1;H[a+i>>2]=a;break B}a=H[e+4>>2];if((a&3)==1){g=a&-8;G:{if(a>>>0<=255){d=H[e+8>>2];a=a>>>3|0;b=H[e+12>>2];if((b|0)==(d|0)){m=19128,n=H[4782]&Bl(a),H[m>>2]=n;break G}H[d+12>>2]=b;H[b+8>>2]=d;break G}h=H[e+24>>2];b=H[e+12>>2];H:{if((e|0)!=(b|0)){a=H[e+8>>2];H[a+12>>2]=b;H[b+8>>2]=a;break H}I:{a=e+20|0;d=H[a>>2];if(d){break I}a=e+16|0;d=H[a>>2];if(d){break I}b=0;break H}while(1){f=a;b=d;a=b+20|0;d=H[a>>2];if(d){continue}a=b+16|0;d=H[b+16>>2];if(d){continue}break}H[f>>2]=0}if(!h){break G}d=H[e+28>>2];a=(d<<2)+19432|0;J:{if(H[a>>2]==(e|0)){H[a>>2]=b;if(b){break J}m=19132,n=H[4783]&Bl(d),H[m>>2]=n;break G}H[h+(H[h+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break G}}H[b+24>>2]=h;a=H[e+16>>2];if(a){H[b+16>>2]=a;H[a+24>>2]=b}a=H[e+20>>2];if(!a){break G}H[b+20>>2]=a;H[a+24>>2]=b}e=e+g|0;c=c+g|0}H[e+4>>2]=H[e+4>>2]&-2;H[i+4>>2]=c|1;H[c+i>>2]=c;if(c>>>0<=255){a=c>>>3|0;b=(a<<3)+19168|0;c=H[4782];a=1<<a;K:{if(!(c&a)){H[4782]=a|c;a=b;break K}a=H[b+8>>2]}H[b+8>>2]=i;H[a+12>>2]=i;H[i+12>>2]=b;H[i+8>>2]=a;break B}a=31;if(c>>>0<=16777215){a=c>>>8|0;f=a+1048320>>>16&8;a=a<<f;d=a+520192>>>16&4;a=a<<d;b=a+245760>>>16&2;a=(a<<b>>>15|0)-(b|(d|f))|0;a=(a<<1|c>>>a+21&1)+28|0}H[i+28>>2]=a;H[i+16>>2]=0;H[i+20>>2]=0;f=(a<<2)+19432|0;d=H[4783];b=1<<a;L:{if(!(d&b)){H[4783]=b|d;H[f>>2]=i;H[i+24>>2]=f;break L}a=c<<((a|0)==31?0:25-(a>>>1|0)|0);b=H[f>>2];while(1){d=b;if((H[b+4>>2]&-8)==(c|0)){break C}b=a>>>29|0;a=a<<1;f=d+(b&4)|0;b=H[f+16>>2];if(b){continue}break}H[f+16>>2]=i;H[i+24>>2]=d}H[i+12>>2]=i;H[i+8>>2]=i;break B}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;H[4785]=c;a=a+b|0;H[4788]=a;H[a+4>>2]=c|1;H[(b+d|0)+4>>2]=40;H[4789]=H[4904];a=(f+(f-39&7?39-f&7:0)|0)-47|0;c=a>>>0<g+16>>>0?g:a;H[c+4>>2]=27;a=H[4897];H[c+16>>2]=H[4896];H[c+20>>2]=a;a=H[4895];H[c+8>>2]=H[4894];H[c+12>>2]=a;H[4896]=c+8;H[4895]=e;H[4894]=b;H[4897]=0;a=c+24|0;while(1){H[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0<f>>>0){continue}break}if((c|0)==(g|0)){break x}H[c+4>>2]=H[c+4>>2]&-2;f=c-g|0;H[g+4>>2]=f|1;H[c>>2]=f;if(f>>>0<=255){a=f>>>3|0;b=(a<<3)+19168|0;c=H[4782];a=1<<a;M:{if(!(c&a)){H[4782]=a|c;a=b;break M}a=H[b+8>>2]}H[b+8>>2]=g;H[a+12>>2]=g;H[g+12>>2]=b;H[g+8>>2]=a;break x}a=31;H[g+16>>2]=0;H[g+20>>2]=0;if(f>>>0<=16777215){a=f>>>8|0;d=a+1048320>>>16&8;a=a<<d;c=a+520192>>>16&4;a=a<<c;b=a+245760>>>16&2;a=(a<<b>>>15|0)-(b|(c|d))|0;a=(a<<1|f>>>a+21&1)+28|0}H[g+28>>2]=a;d=(a<<2)+19432|0;c=H[4783];b=1<<a;N:{if(!(c&b)){H[4783]=b|c;H[d>>2]=g;H[g+24>>2]=d;break N}a=f<<((a|0)==31?0:25-(a>>>1|0)|0);b=H[d>>2];while(1){c=b;if((f|0)==(H[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;d=c+(b&4)|0;b=H[d+16>>2];if(b){continue}break}H[d+16>>2]=g;H[g+24>>2]=c}H[g+12>>2]=g;H[g+8>>2]=g;break x}a=H[d+8>>2];H[a+12>>2]=i;H[d+8>>2]=i;H[i+24>>2]=0;H[i+12>>2]=d;H[i+8>>2]=a}a=j+8|0;break a}a=H[c+8>>2];H[a+12>>2]=g;H[c+8>>2]=g;H[g+24>>2]=0;H[g+12>>2]=c;H[g+8>>2]=a}a=H[4785];if(a>>>0<=h>>>0){break d}b=a-h|0;H[4785]=b;c=H[4788];a=c+h|0;H[4788]=a;H[a+4>>2]=b|1;H[c+4>>2]=h|3;a=c+8|0;break a}H[4739]=48;a=0;break a}O:{if(!e){break O}c=H[f+28>>2];a=(c<<2)+19432|0;P:{if(H[a>>2]==(f|0)){H[a>>2]=b;if(b){break P}j=Bl(c)&j;H[4783]=j;break O}H[e+(H[e+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break O}}H[b+24>>2]=e;a=H[f+16>>2];if(a){H[b+16>>2]=a;H[a+24>>2]=b}a=H[f+20>>2];if(!a){break O}H[b+20>>2]=a;H[a+24>>2]=b}Q:{if(d>>>0<=15){a=d+h|0;H[f+4>>2]=a|3;a=a+f|0;H[a+4>>2]=H[a+4>>2]|1;break Q}H[f+4>>2]=h|3;e=f+h|0;H[e+4>>2]=d|1;H[d+e>>2]=d;if(d>>>0<=255){a=d>>>3|0;b=(a<<3)+19168|0;c=H[4782];a=1<<a;R:{if(!(c&a)){H[4782]=a|c;a=b;break R}a=H[b+8>>2]}H[b+8>>2]=e;H[a+12>>2]=e;H[e+12>>2]=b;H[e+8>>2]=a;break Q}a=31;if(d>>>0<=16777215){a=d>>>8|0;g=a+1048320>>>16&8;a=a<<g;c=a+520192>>>16&4;a=a<<c;b=a+245760>>>16&2;a=(a<<b>>>15|0)-(b|(c|g))|0;a=(a<<1|d>>>a+21&1)+28|0}H[e+28>>2]=a;H[e+16>>2]=0;H[e+20>>2]=0;b=(a<<2)+19432|0;S:{c=1<<a;T:{if(!(c&j)){H[4783]=c|j;H[b>>2]=e;break T}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);h=H[b>>2];while(1){b=h;if((H[b+4>>2]&-8)==(d|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;h=H[c+16>>2];if(h){continue}break}H[c+16>>2]=e}H[e+24>>2]=b;H[e+12>>2]=e;H[e+8>>2]=e;break Q}a=H[b+8>>2];H[a+12>>2]=e;H[b+8>>2]=e;H[e+24>>2]=0;H[e+12>>2]=b;H[e+8>>2]=a}a=f+8|0;break a}U:{if(!i){break U}c=H[b+28>>2];a=(c<<2)+19432|0;V:{if(H[a>>2]==(b|0)){H[a>>2]=f;if(f){break V}m=19132,n=Bl(c)&j,H[m>>2]=n;break U}H[i+(H[i+16>>2]==(b|0)?16:20)>>2]=f;if(!f){break U}}H[f+24>>2]=i;a=H[b+16>>2];if(a){H[f+16>>2]=a;H[a+24>>2]=f}a=H[b+20>>2];if(!a){break U}H[f+20>>2]=a;H[a+24>>2]=f}W:{if(d>>>0<=15){a=d+h|0;H[b+4>>2]=a|3;a=a+b|0;H[a+4>>2]=H[a+4>>2]|1;break W}H[b+4>>2]=h|3;f=b+h|0;H[f+4>>2]=d|1;H[d+f>>2]=d;if(k){a=k>>>3|0;c=(a<<3)+19168|0;g=H[4787];a=1<<a;X:{if(!(a&e)){H[4782]=a|e;a=c;break X}a=H[c+8>>2]}H[c+8>>2]=g;H[a+12>>2]=g;H[g+12>>2]=c;H[g+8>>2]=a}H[4787]=f;H[4784]=d}a=b+8|0}da=l+16|0;return a|0}function Gj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=da-32|0;da=j;c=H[b+8>>2];a:{b:{if(I[b+288|0]){c=af(c);d=H[b+12>>2];H[b+12>>2]=c;if(!d){break a}c=b+12|0;break b}c=bf(c);d=H[b+12>>2];H[b+12>>2]=c;if(!d){break a}c=b+12|0}pc(c,d)}c:{c=H[b+12>>2];d:{if(!(H[c+40>>2]!=((H[c+4>>2]-H[c>>2]>>2>>>0)/3|0)?c:0)){b=ra(32);c=I[1972]|I[1973]<<8|(I[1974]<<16|I[1975]<<24);d=I[1968]|I[1969]<<8|(I[1970]<<16|I[1971]<<24);F[b+21|0]=d;F[b+22|0]=d>>>8;F[b+23|0]=d>>>16;F[b+24|0]=d>>>24;F[b+25|0]=c;F[b+26|0]=c>>>8;F[b+27|0]=c>>>16;F[b+28|0]=c>>>24;c=I[1967]|I[1968]<<8|(I[1969]<<16|I[1970]<<24);d=I[1963]|I[1964]<<8|(I[1965]<<16|I[1966]<<24);F[b+16|0]=d;F[b+17|0]=d>>>8;F[b+18|0]=d>>>16;F[b+19|0]=d>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[1959]|I[1960]<<8|(I[1961]<<16|I[1962]<<24);d=I[1955]|I[1956]<<8|(I[1957]<<16|I[1958]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1951]|I[1952]<<8|(I[1953]<<16|I[1954]<<24);d=I[1947]|I[1948]<<8|(I[1949]<<16|I[1950]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+29|0]=0;H[a>>2]=-1;Ia(a+4|0,b,29);qa(b);break d}H[b+264>>2]=b;Da((H[c+28>>2]-H[c+24>>2]>>2)-H[c+44>>2]|0,H[H[b+4>>2]+44>>2]);c=H[b+12>>2];Da(((H[c+4>>2]-H[c>>2]>>2>>>0)/3|0)-H[c+40>>2]|0,H[H[b+4>>2]+44>>2]);c=H[b+8>>2];d=H[c+100>>2];c=H[c+96>>2];F[j+16|0]=0;o=b+28|0;d=(d-c|0)/12|0;c=j+16|0;Ra(o,d,c);d=H[b+12>>2];f=H[d+28>>2];d=H[d+24>>2];H[j+16>>2]=-1;yb(b+52|0,f-d>>2,c);c=H[b+40>>2];H[b+44>>2]=c;d=H[b+12>>2];f=H[d+4>>2]-H[d>>2]>>2;f=f-((f>>>0)%3|0)|0;e:{if(f>>>0<=H[b+48>>2]-c>>2>>>0){break e}if(f>>>0>=1073741824){break c}g=f<<2;f=ra(g);H[b+44>>2]=f;H[b+40>>2]=f;H[b+48>>2]=f+g;if(!c){break e}qa(c);d=H[b+12>>2]}c=H[d+28>>2];d=H[d+24>>2];F[j+16|0]=0;Ra(b+84|0,c-d>>2,j+16|0);H[b+164>>2]=-1;H[b+168>>2]=0;H[b+100>>2]=H[b+96>>2];H[b+112>>2]=H[b+108>>2];if(H[b+132>>2]){d=H[b+128>>2];if(d){while(1){c=H[d>>2];qa(d);d=c;if(c){continue}break}}d=0;H[b+128>>2]=0;c=H[b+124>>2];f:{if(!c){break f}if(c-1>>>0>=3){g=c&-4;while(1){f=d<<2;H[f+H[b+120>>2]>>2]=0;H[H[b+120>>2]+(f|4)>>2]=0;H[H[b+120>>2]+(f|8)>>2]=0;H[H[b+120>>2]+(f|12)>>2]=0;d=d+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}c=c&3;if(!c){break f}while(1){H[H[b+120>>2]+(d<<2)>>2]=0;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}H[b+132>>2]=0}H[b+144>>2]=0;c=H[b+12>>2];d=H[c+28>>2];c=H[c+24>>2];H[j+16>>2]=-1;yb(b+152|0,d-c>>2,j+16|0);c=H[b+72>>2];H[b+76>>2]=c;d=H[b+12>>2];d=H[d+4>>2]-H[d>>2]|0;f=(d>>2>>>0)/3|0;g:{if(f>>>0<=H[b+80>>2]-c>>2>>>0){break g}if((d|0)<0){break c}f=f<<2;d=ra(f);H[b+76>>2]=d;H[b+72>>2]=d;H[b+80>>2]=d+f;if(!c){break g}qa(c)}H[b- -64>>2]=0;if(!bg(b)){b=ra(32);c=I[1912]|I[1913]<<8|(I[1914]<<16|I[1915]<<24);d=I[1908]|I[1909]<<8|(I[1910]<<16|I[1911]<<24);F[b+21|0]=d;F[b+22|0]=d>>>8;F[b+23|0]=d>>>16;F[b+24|0]=d>>>24;F[b+25|0]=c;F[b+26|0]=c>>>8;F[b+27|0]=c>>>16;F[b+28|0]=c>>>24;c=I[1907]|I[1908]<<8|(I[1909]<<16|I[1910]<<24);d=I[1903]|I[1904]<<8|(I[1905]<<16|I[1906]<<24);F[b+16|0]=d;F[b+17|0]=d>>>8;F[b+18|0]=d>>>16;F[b+19|0]=d>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[1899]|I[1900]<<8|(I[1901]<<16|I[1902]<<24);d=I[1895]|I[1896]<<8|(I[1897]<<16|I[1898]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1891]|I[1892]<<8|(I[1893]<<16|I[1894]<<24);d=I[1887]|I[1888]<<8|(I[1889]<<16|I[1890]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+29|0]=0;H[a>>2]=-1;Ia(a+4|0,b,29);qa(b);break d}c=b;h:{if(I[b+288|0]){break h}b=H[c+8>>2];f=H[b+12>>2]-H[b+8>>2]|0;e=f>>2;d=e-1|0;b=H[c+176>>2];i=H[c+172>>2];g=(b-i|0)/136|0;i:{if(d>>>0>g>>>0){Wf(c+172|0,d-g|0);break i}if(d>>>0>=g>>>0){break i}d=i+N(d,136)|0;if((d|0)!=(b|0)){while(1){g=H[b-20>>2];if(g){H[b-16>>2]=g;qa(g)}g=H[b-32>>2];if(g){H[b-28>>2]=g;qa(g)}oc(b-132|0);b=b-136|0;if((d|0)!=(b|0)){continue}break}}H[c+176>>2]=d}if((f|0)==4|(f|0)<=0){break h}i=(e|0)>1?e:1;b=0;f=0;j:{while(1){h=H[H[H[c+8>>2]+8>>2]+(b<<2)>>2];if(H[h+56>>2]){l=N(f,136);d=l+H[c+172>>2]|0;H[d>>2]=b;e=H[d+104>>2];H[d+108>>2]=e;g=H[c+12>>2];g=H[g+4>>2]-H[g>>2]|0;p=g>>2;k:{if(p>>>0<=H[d+112>>2]-e>>2>>>0){break k}if((g|0)<0){break j}g=ra(g);H[d+104>>2]=g;H[d+108>>2]=g;H[d+112>>2]=g+(p<<2);if(!e){break k}qa(e)}d=l+H[c+172>>2]|0;H[d+128>>2]=0;cf(d+4|0,H[c+8>>2],H[c+12>>2],h);f=f+1|0}b=b+1|0;if((i|0)!=(b|0)){continue}break}break h}ya(1604);X()}b=(H[c+176>>2]-H[c+172>>2]|0)/136|0;F[j+31|0]=b;d=H[H[c+4>>2]+44>>2];f=H[d+20>>2];if(!H[d+16>>2]&(f|0)<=0|(f|0)<0){wa(d,H[d+4>>2],j+31|0,j+32|0);b=I[j+31|0]}H[c+284>>2]=b&255;b=H[c+12>>2];d=H[b>>2];b=H[b+4>>2];g=c+200|0;ag(g);H[j+24>>2]=0;H[j+16>>2]=0;H[j+20>>2]=0;f=0;l:{m:{n:{o:{b=b-d|0;if((b|0)>0){b=b>>>2|0;r=b>>>0>1?b:1;d=0;while(1){b=(d>>>0)/3|0;p=b>>>5<<2;q=1<<b;p:{if(q&H[H[o>>2]+p>>2]){break p}if(Fc(H[c+12>>2],b)){break p}H[j>>2]=0;b=$f(c,b,j);Fa(g,b);e=H[j>>2];if(b){i=-1;b=-1;l=-1;q:{if((e|0)==-1){break q}m=H[H[c+12>>2]>>2];i=m+(e<<2)|0;h=e+1|0;h=(h>>>0)%3|0?h:e-2|0;if((h|0)!=-1){b=H[m+(h<<2)>>2]}i=H[i>>2];r:{if((e>>>0)%3|0){h=e-1|0;break r}h=e+2|0;l=-1;if((h|0)==-1){break q}}l=H[m+(h<<2)>>2]}h=H[c+84>>2];m=h+(i>>>3&536870908)|0;H[m>>2]=H[m>>2]|1<<i;i=h+(b>>>3&536870908)|0;H[i>>2]=H[i>>2]|1<<b;b=h+(l>>>3&536870908)|0;H[b>>2]=H[b>>2]|1<<l;b=H[c+100>>2];h=H[c+104>>2];s:{if(b>>>0<h>>>0){H[b>>2]=1;H[c+100>>2]=b+4;break s}i=H[c+96>>2];l=b-i|0;m=l>>2;b=m+1|0;if(b>>>0>=1073741824){break o}s=m<<2;h=h-i|0;m=h>>1;h=h>>>0<2147483644?b>>>0>m>>>0?b:m:1073741823;if(h){if(h>>>0>=1073741824){break c}b=ra(h<<2)}else{b=0}m=s+b|0;H[m>>2]=1;if((l|0)>0){sa(b,i,l)}H[c+104>>2]=b+(h<<2);H[c+100>>2]=m+4;H[c+96>>2]=b;if(!i){break s}qa(i)}b=H[o>>2]+p|0;H[b>>2]=H[b>>2]|q;i=-1;if((e|0)!=-1){b=e+1|0;i=(b>>>0)%3|0?b:e-2|0}t:{if(k>>>0<n>>>0){H[k>>2]=i;k=k+4|0;H[j+20>>2]=k;break t}h=k-f|0;l=h>>2;b=l+1|0;if(b>>>0>=1073741824){break n}k=n-f|0;n=k>>1;k=k>>>0<2147483644?b>>>0>n>>>0?b:n:1073741823;if(k){if(k>>>0>=1073741824){break c}b=ra(k<<2)}else{b=0}l=b+(l<<2)|0;H[l>>2]=i;n=b+(k<<2)|0;k=l+4|0;if((h|0)>0){sa(b,f,h)}H[j+24>>2]=n;H[j+20>>2]=k;H[j+16>>2]=b;if(f){qa(f)}f=b}if((e|0)==-1){break p}b=e+1|0;b=(b>>>0)%3|0?b:e-2|0;if((b|0)==-1){break p}b=H[H[H[c+12>>2]+12>>2]+(b<<2)>>2];if((b|0)==-1){break p}e=(b>>>0)/3|0;if(H[H[o>>2]+(e>>>3&268435452)>>2]>>>e&1){break p}if(_f(c,b)){break p}break m}if((e|0)!=-1){b=e+1|0;b=(b>>>0)%3|0?b:e-2|0}else{b=-1}Hc(c,b,1);if(!_f(c,H[j>>2])){break m}}d=d+1|0;if((r|0)!=(d|0)){continue}break}}i=c+72|0;d=H[c+72>>2];b=H[c+76>>2];u:{if((d|0)==(b|0)){break u}e=b-4|0;if(e>>>0<=d>>>0){break u}while(1){h=H[d>>2];H[d>>2]=H[e>>2];H[e>>2]=h;d=d+4|0;e=e-4|0;if(d>>>0<e>>>0){continue}break}}Zf(i,b,f,k);v:{if(H[c+172>>2]==H[c+176>>2]){break v}b=H[c+8>>2];d=H[b+100>>2];b=H[b+96>>2];F[j|0]=0;Ra(o,(d-b|0)/12|0,j);d=H[c+72>>2];b=H[c+76>>2];if((d|0)==(b|0)){break v}while(1){Yf(c,H[d>>2]);d=d+4|0;if((b|0)!=(d|0)){continue}break}}h=g+32|0;b=H[g+64>>2];b=H[(fa[H[H[b>>2]+40>>2]](b)|0)+56>>2];yd(h,N((H[b+100>>2]-H[b+96>>2]|0)/12|0,3),0,1);w:{e=H[g+68>>2];d=H[g+72>>2]-e|0;if((d|0)<=0){break w}b=H[g+52>>2];i=b;k=H[g+48>>2];if(!k&(b|0)<=0|(b|0)<0){break w}b=d>>2;while(1){d=b-1|0;x:{if(!k&(i|0)<=0|(i|0)<0){break x}o=H[(d<<2)+e>>2];if(!(171>>>o&1)){break x}l=H[(o<<2)+11168>>2];e=H[g+44>>2];i=H[e+4>>2];k=0;while(1){n=i>>>3|0;p=n+H[e>>2]|0;m=I[p|0];i=i&7;t=p,u=Bl(i)&m,F[t|0]=u;n=n+H[e>>2]|0;F[n|0]=I[n|0]|(o>>>k&1)<<i;i=H[e+4>>2]+1|0;H[e+4>>2]=i;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if((b|0)<2){break w}k=H[g+48>>2];i=H[g+52>>2];e=H[g+68>>2];b=d;continue}}xd(h);b=c+232|0;Ba(g,b);e=H[c+280>>2];y:{if(!e){break y}d=1;if(H[c+284>>2]<=0){break y}Ba(e,b);if(H[c+284>>2]<2){break y}while(1){Ba(H[c+280>>2]+(d<<5)|0,b);d=d+1|0;if((d|0)<H[c+284>>2]){continue}break}}Da(H[c+272>>2]-H[c+268>>2]>>2,H[H[c+4>>2]+44>>2]);Da(H[c+168>>2],H[H[c+4>>2]+44>>2]);if(!Xf(c)){b=tc(j,2029);H[a>>2]=-1;a=a+4|0;if(F[b+11|0]>=0){b=H[j+4>>2];H[a>>2]=H[j>>2];H[a+4>>2]=b;H[a+8>>2]=H[j+8>>2];break l}Ia(a,H[b>>2],H[b+4>>2]);if(F[b+11|0]>=0){break l}qa(H[b>>2]);break l}b=H[H[c+4>>2]+44>>2];d=H[b+20>>2];if(!H[b+16>>2]&(d|0)<=0|(d|0)<0){wa(b,H[b+4>>2],H[c+232>>2],H[c+236>>2])}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;break l}va();X()}va();X()}b=ra(48);c=I[1847]|I[1848]<<8|(I[1849]<<16|I[1850]<<24);d=I[1843]|I[1844]<<8|(I[1845]<<16|I[1846]<<24);F[b+24|0]=d;F[b+25|0]=d>>>8;F[b+26|0]=d>>>16;F[b+27|0]=d>>>24;F[b+28|0]=c;F[b+29|0]=c>>>8;F[b+30|0]=c>>>16;F[b+31|0]=c>>>24;c=I[1839]|I[1840]<<8|(I[1841]<<16|I[1842]<<24);d=I[1835]|I[1836]<<8|(I[1837]<<16|I[1838]<<24);F[b+16|0]=d;F[b+17|0]=d>>>8;F[b+18|0]=d>>>16;F[b+19|0]=d>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[1831]|I[1832]<<8|(I[1833]<<16|I[1834]<<24);d=I[1827]|I[1828]<<8|(I[1829]<<16|I[1830]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1823]|I[1824]<<8|(I[1825]<<16|I[1826]<<24);d=I[1819]|I[1820]<<8|(I[1821]<<16|I[1822]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+32|0]=0;H[a>>2]=-1;Ia(a+4|0,b,32);qa(b)}if(!f){break d}qa(f)}da=j+32|0;return}ya(1604);X()}function ef(a){var 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,A=0;v=da-16|0;da=v;d=ra(88);H[d>>2]=0;H[d+4>>2]=0;H[d+56>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d+40>>2]=0;H[d+44>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;b=d- -64|0;H[b>>2]=0;H[b+4>>2]=0;H[d+72>>2]=0;H[d+76>>2]=0;H[d+80>>2]=0;H[d+84>>2]=0;H[d+60>>2]=d;u=da-16|0;da=u;H[d+80>>2]=0;H[d+84>>2]=0;b=H[d+76>>2];H[d+76>>2]=0;if(b){qa(b)}H[d+68>>2]=0;H[d+72>>2]=0;c=d- -64|0;b=H[c>>2];H[c>>2]=0;if(b){qa(b)}e=H[a>>2];b=H[a+4>>2]-e|0;k=(b|0)/12|0;c=N(k,3);i=H[d>>2];f=H[d+4>>2]-i>>2;a:{if(c>>>0>f>>>0){Ea(d,c-f|0);e=H[a>>2];b=H[a+4>>2]-e|0;k=(b|0)/12|0;i=H[d>>2];break a}if(c>>>0>=f>>>0){break a}H[d+4>>2]=(c<<2)+i}if(b){f=k>>>0>1?k:1;a=0;while(1){c=N(a,12);b=c+i|0;c=c+e|0;H[b>>2]=H[c>>2];H[b+4>>2]=H[c+4>>2];H[b+8>>2]=H[c+8>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}}H[u+12>>2]=-1;g=da-48|0;da=g;b:{s=u+12|0;c:{if(!s){break c}e=H[d+4>>2];n=H[d>>2];b=e-n|0;m=b>>2;c=H[d+12>>2];a=H[d+16>>2]-c>>2;d:{if(m>>>0>a>>>0){Ma(d+12|0,m-a|0,14896);e=H[d+4>>2];n=H[d>>2];b=e-n|0;m=b>>2;break d}if(a>>>0<=m>>>0){break d}H[d+16>>2]=c+(m<<2)}c=0;H[g+40>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;e:{f:{g:{if(!b){H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;break g}h:{if((b|0)>=0){c=ra(b);H[g+36>>2]=c;H[g+32>>2]=c;H[g+40>>2]=(m<<2)+c;a=c;b=0;while(1){i=H[(b<<2)+n>>2];a=a-c>>2;i:{if(i>>>0<a>>>0){break i}H[g+16>>2]=0;f=i+1|0;if(f>>>0>a>>>0){Ma(g+32|0,f-a|0,g+16|0);n=H[d>>2];e=H[d+4>>2];c=H[g+32>>2];break i}if(a>>>0<=f>>>0){break i}H[g+36>>2]=(f<<2)+c}a=(i<<2)+c|0;H[a>>2]=H[a>>2]+1;b=b+1|0;a=e-n|0;m=a>>2;if(b>>>0>=m>>>0){break h}a=H[g+36>>2];continue}}break b}H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;if(!a){break g}if(a>>>0>=2147483645){break f}b=a<<1;a=ra(b);H[g+16>>2]=a;e=a+(m<<3)|0;H[g+24>>2]=e;ta(a,255,b);H[g+20>>2]=e}e=0;H[g+8>>2]=0;H[g>>2]=0;H[g+4>>2]=0;a=H[g+36>>2]-c|0;i=a>>2;j:{k:{if(!a){break k}if((a|0)<0){break j}l=ra(a);H[g>>2]=l;a=i<<2;b=a+l|0;H[g+8>>2]=b;a=ta(l,0,a);H[g+4>>2]=b;f=i>>>0>1?i:1;k=f&3;b=0;if(f-1>>>0>=3){p=f&-4;while(1){f=h<<2;H[f+a>>2]=b;t=f|4;b=H[c+f>>2]+b|0;H[t+a>>2]=b;r=f|8;b=b+H[c+t>>2]|0;H[r+a>>2]=b;f=f|12;b=b+H[c+r>>2]|0;H[f+a>>2]=b;b=b+H[c+f>>2]|0;h=h+4|0;j=j+4|0;if((p|0)!=(j|0)){continue}break}}if(!k){break k}while(1){f=h<<2;H[f+a>>2]=b;h=h+1|0;b=H[c+f>>2]+b|0;o=o+1|0;if((k|0)!=(o|0)){continue}break}}if(!m){break e}t=H[d+12>>2];while(1){w=e<<2;b=w+n|0;j=-1;f=e+1|0;a=(f>>>0)%3|0?f:e-2|0;if((a|0)!=-1){j=H[(a<<2)+n>>2]}a=H[b>>2];l:{m:{if(!((e>>>0)%3|0)){o=-1;b=e+2|0;if((b|0)!=-1){o=H[(b<<2)+n>>2]}if(!((a|0)==(j|0)|(a|0)==(o|0))&(j|0)!=(o|0)){break m}H[d+40>>2]=H[d+40>>2]+1;e=e+3|0;break l}o=H[b-4>>2]}b=o<<2;r=H[b+c>>2];n:{o:{if((r|0)<=0){break o}k=H[g+16>>2];b=H[b+l>>2];h=0;while(1){p=k+(b<<3)|0;q=H[p>>2];if((q|0)==-1){break o}p:{if((j|0)!=(q|0)){break p}p=H[p+4>>2];if((p|0)!=-1){q=H[(p<<2)+n>>2]}else{q=-1}if((q|0)==(a|0)){break p}while(1){q:{a=b;h=h+1|0;if((r|0)<=(h|0)){break q}q=k+(a<<3)|0;b=a+1|0;x=k+(b<<3)|0;y=H[x>>2];H[q>>2]=y;H[q+4>>2]=H[x+4>>2];if((y|0)!=-1){continue}}break}H[k+(a<<3)>>2]=-1;if((p|0)==-1){break o}H[t+w>>2]=p;H[t+(p<<2)>>2]=e;break n}b=b+1|0;h=h+1|0;if((r|0)!=(h|0)){continue}break}}a=j<<2;k=H[a+c>>2];if((k|0)<=0){break n}j=H[g+16>>2];b=H[a+l>>2];h=0;while(1){a=j+(b<<3)|0;if(H[a>>2]==-1){H[a>>2]=o;H[a+4>>2]=e;break n}b=b+1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}e=f}if(e>>>0<m>>>0){continue}break}break e}va();X()}va();X()}H[s>>2]=i;if(l){qa(l)}a=H[g+16>>2];if(a){H[g+20>>2]=a;qa(a)}a=H[g+32>>2];if(!a){break c}H[g+36>>2]=a;qa(a)}da=g+48|0;t=(s|0)!=0;if(t){h=da-32|0;da=h;m=H[d>>2];a=H[d+4>>2];H[h+24>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;r:{s:{b=a-m|0;t:{if(!b){break t}if((b|0)<0){break s}c=b>>2;f=c-1>>>5|0;g=f+1|0;e=ra(g<<2);H[h+24>>2]=g;H[h+16>>2]=e;H[h+20>>2]=c;H[e+((b>>>0<132?0:f)<<2)>>2]=0;b=c>>>5<<2;e=ta(e,0,b);c=c&31;if(!c){break t}b=b+e|0;H[b>>2]=H[b>>2]&(-1>>>32-c^-1)}H[h+8>>2]=0;H[h>>2]=0;while(1){u:{p=0;e=0;if((a|0)==(m|0)){break u}while(1){i=H[h+16>>2];v:{if(H[i+(e>>>3&536870908)>>2]>>>e&1){break v}c=H[h>>2];H[h+4>>2]=c;b=H[d+12>>2];a=e;while(1){w:{f=a+1|0;g=a;a=(f>>>0)%3|0?f:a-2|0;if((a|0)==-1){break w}a=H[b+(a<<2)>>2];if((a|0)==-1){break w}f=a+1|0;a=(f>>>0)%3|0?f:a-2|0;if((e|0)==(a|0)|(a|0)==-1){break w}if(!(H[(a>>>3&536870908)+i>>2]>>>a&1)){continue}}break}b=c;k=g;x:{y:{z:{while(1){a=(k>>>3&536870908)+i|0;H[a>>2]=H[a>>2]|1<<k;a=k+1|0;f=(a>>>0)%3|0?a:k-2|0;r=(k>>>0)%3|0;n=(r?-1:2)+k|0;l=n<<2;A:{if((b|0)==(c|0)){break A}s=H[(f<<2)+m>>2];j=H[d+12>>2];a=b;if((n|0)!=-1){q=j+l|0;while(1){B:{if((s|0)!=H[a>>2]){break B}i=H[a+4>>2];o=H[q>>2];if((i|0)==(o|0)){break B}c=-1;a=-1;if((i|0)==-1){break x}break y}a=a+8|0;if((c|0)!=(a|0)){continue}break}break A}while(1){if((s|0)==H[a>>2]){o=-1;n=-1;i=H[a+4>>2];if((i|0)!=-1){break y}}a=a+8|0;if((c|0)!=(a|0)){continue}break}}l=H[l+m>>2];C:{if(H[h+8>>2]!=(c|0)){H[c>>2]=l;H[c+4>>2]=f;c=c+8|0;H[h+4>>2]=c;break C}i=c-b|0;c=i>>3;a=c+1|0;if(a>>>0>=536870912){break z}j=i>>2;j=i>>>0<2147483640?a>>>0>j>>>0?a:j:536870911;if(j){if(j>>>0>=536870912){break b}a=ra(j<<3)}else{a=0}c=a+(c<<3)|0;H[c>>2]=l;H[c+4>>2]=f;c=c+8|0;if((i|0)>0){sa(a,b,i)}H[h+8>>2]=a+(j<<3);H[h+4>>2]=c;H[h>>2]=a;if(!b){break C}qa(b)}D:{E:{if(r){a=k-1|0;break E}a=k+2|0;if((a|0)==-1){break D}}a=H[H[d+12>>2]+(a<<2)>>2];if((a|0)==-1){break D}k=a+((a>>>0)%3|0?-1:2)|0;if((g|0)==(k|0)|(k|0)==-1){break D}m=H[d>>2];b=H[h>>2];i=H[h+16>>2];continue}break}m=H[d>>2];break v}va();X()}c=i;a=H[j+(c<<2)>>2]}if((o|0)!=-1){H[j+(o<<2)>>2]=-1}if((a|0)!=-1){H[H[d+12>>2]+(a<<2)>>2]=-1}a=H[d+12>>2];H[a+(n<<2)>>2]=-1;H[a+(c<<2)>>2]=-1;p=1}e=e+1|0;a=H[d+4>>2];if(e>>>0<a-m>>2>>>0){continue}break}if(p){continue}}break}a=H[h>>2];if(a){qa(a)}a=H[h+16>>2];if(a){qa(a)}da=h+32|0;break r}La();X()}n=0;h=da-32|0;da=h;a=H[u+12>>2];H[d+36>>2]=a;m=d+24|0;F:{G:{H:{I:{J:{K:{L:{c=H[d+24>>2];b=H[d+28>>2]-c>>2;M:{N:{if(b>>>0<a>>>0){Ma(m,a-b|0,14896);H[h+24>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;break N}if(a>>>0<b>>>0){H[d+28>>2]=c+(a<<2)}e=0;H[h+24>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;if(!a){break M}}if((a|0)<0){break L}b=a-1>>>5|0;c=b+1|0;e=ra(c<<2);H[h+24>>2]=c;H[h+16>>2]=e;H[h+20>>2]=a;H[((a>>>0<33?0:b)<<2)+e>>2]=0;b=a>>>5<<2;c=ta(e,0,b);f=a&31;if(!f){break M}b=b+c|0;H[b>>2]=H[b>>2]&(-1>>>32-f^-1)}l=H[d>>2];k=H[d+4>>2];H[h+8>>2]=0;H[h>>2]=0;H[h+4>>2]=0;b=k-l|0;if(!b){break F}if((b|0)<0){break K}c=b>>2;f=c-1>>>5|0;g=f+1|0;j=ra(g<<2);H[h+8>>2]=g;H[h>>2]=j;H[h+4>>2]=c;o=0;H[((b>>>0<132?0:f)<<2)+j>>2]=0;f=c>>>5<<2;g=ta(j,0,f);c=c&31;if(c){f=f+g|0;H[f>>2]=H[f>>2]&(-1>>>32-c^-1)}if(b>>>0<12){break F}while(1){s=N(o,3);c=(s<<2)+l|0;b=H[c>>2];i=-1;f=s+1|0;if((f|0)!=-1){i=H[(f<<2)+l>>2]}O:{if((b|0)==(i|0)){break O}f=b;b=H[c+8>>2];if((f|0)==(b|0)){break O}p=0;if((b|0)==(i|0)){break O}while(1){c=p+s|0;if(!(H[(c>>>3&536870908)+j>>2]>>>c&1)){b=H[(c<<2)+l>>2];i=1<<b;j=b>>>5|0;k=i&H[(j<<2)+e>>2];if(k){e=H[d+28>>2];P:{if((e|0)!=H[d+32>>2]){H[e>>2]=-1;H[d+28>>2]=e+4;break P}g=H[m>>2];f=e-g|0;j=f>>2;e=j+1|0;if(e>>>0>=1073741824){break J}i=f>>1;i=f>>>0<2147483644?e>>>0>i>>>0?e:i:1073741823;if(i){if(i>>>0>=1073741824){break b}e=ra(i<<2)}else{e=0}j=e+(j<<2)|0;H[j>>2]=-1;if((f|0)>0){sa(e,g,f)}H[d+32>>2]=e+(i<<2);H[d+28>>2]=j+4;H[d+24>>2]=e;if(!g){break P}qa(g)}e=H[d+52>>2];Q:{if((e|0)!=H[d+56>>2]){H[e>>2]=b;H[d+52>>2]=e+4;break Q}g=H[d+48>>2];f=e-g|0;j=f>>2;e=j+1|0;if(e>>>0>=1073741824){break I}i=f>>1;i=f>>>0<2147483644?e>>>0>i>>>0?e:i:1073741823;if(i){if(i>>>0>=1073741824){break b}e=ra(i<<2)}else{e=0}j=e+(j<<2)|0;H[j>>2]=b;if((f|0)>0){sa(e,g,f)}H[d+56>>2]=e+(i<<2);H[d+52>>2]=j+4;H[d+48>>2]=e;if(!g){break Q}qa(g)}i=H[h+20>>2];b=H[h+24>>2];if((i|0)==b<<5){if((i+1|0)<0){break H}e=h+16|0;if(i>>>0<=1073741822){f=i+32&-32;b=b<<6;b=b>>>0<f>>>0?f:b}else{b=2147483647}Hb(e,b);i=H[h+20>>2]}H[h+20>>2]=i+1;b=H[h+16>>2]+(i>>>3&536870908)|0;e=H[b>>2];z=b,A=Bl(i)&e,H[z>>2]=A;i=1<<a;j=a>>>5|0;b=a;a=a+1|0}f=a;e=H[h+16>>2];a=e+(j<<2)|0;H[a>>2]=H[a>>2]|i;r=H[d+24>>2]+(b<<2)|0;i=H[d+12>>2];l=H[d>>2];j=H[h>>2];a=c;R:{S:{T:{U:{V:{W:{while(1){if((a|0)==-1){break W}g=(a>>>3&536870908)+j|0;H[g>>2]=H[g>>2]|1<<a;H[r>>2]=a;if(k){H[(a<<2)+l>>2]=b}q=a+1|0;a=(q>>>0)%3|0?q:a-2|0;g=-1;X:{if((a|0)==-1){break X}a=H[i+(a<<2)>>2];g=-1;if((a|0)==-1){break X}g=a+1|0;g=(g>>>0)%3|0?g:a-2|0}a=g;if((c|0)!=(a|0)){continue}break}if((c|0)!=-1){break R}a=1;break V}if((c>>>0)%3|0){a=c-1|0;break V}a=c+2|0;if((a|0)==-1){break U}}a=H[i+(a<<2)>>2];if((a|0)==-1){break U}if(!((a>>>0)%3|0)){break T}a=a-1|0;l=H[d>>2];j=H[h>>2];break S}l=H[d>>2];j=H[h>>2];break R}l=H[d>>2];j=H[h>>2];a=a+2|0;if((a|0)==-1){break R}}c=H[d+12>>2];while(1){g=(a>>>3&536870908)+j|0;H[g>>2]=H[g>>2]|1<<a;if(k){H[(a<<2)+l>>2]=b}Y:{if((a>>>0)%3|0){a=a-1|0;break Y}a=a+2|0;if((a|0)==-1){break R}}a=H[c+(a<<2)>>2];if((a|0)==-1){break R}a=a+((a>>>0)%3|0?-1:2)|0;if((a|0)!=-1){continue}break}}a=f}p=p+1|0;if((p|0)!=3){continue}break}l=H[d>>2];k=H[d+4>>2]}o=o+1|0;if(o>>>0<(k-l>>2>>>0)/3>>>0){continue}break}break G}La();X()}La();X()}va();X()}va();X()}La();X()}e=H[h+16>>2]}H[d+44>>2]=0;a=H[h+20>>2];if(a){b=a&31;c=(a>>>3&536870908)+e|0;a=e;j=0;while(1){if(!(H[a>>2]>>>n&1)){j=j+1|0;H[d+44>>2]=j}f=(n|0)==31;n=f?0:n+1|0;a=(f<<2)+a|0;if((c|0)!=(a|0)|(b|0)!=(n|0)){continue}break}}a=H[h>>2];if(a){qa(a);e=H[h+16>>2]}if(e){qa(e)}da=h+32|0}da=u+16|0;if(!t){H[v+8>>2]=0;pc(v+8|0,d);d=0}da=v+16|0;return d}ya(1604);X()}function cf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=da-16|0;da=e;a:{b:{if(c){H[a+88>>2]=0;H[a+92>>2]=0;f=H[a+84>>2];H[a+84>>2]=0;if(f){qa(f)}H[a+76>>2]=0;H[a+80>>2]=0;f=H[a+72>>2];H[a+72>>2]=0;if(f){qa(f)}f=H[c>>2];g=H[c+4>>2];F[e+15|0]=0;Ra(a,g-f>>2,e+15|0);f=H[c+28>>2];g=H[c+24>>2];F[e+14|0]=0;Ra(a+12|0,f-g>>2,e+14|0);yb(a+28|0,H[c+4>>2]-H[c>>2]>>2,14964);g=H[c+28>>2]-H[c+24>>2]|0;h=g>>2;f=H[a+52>>2];c:{if(h>>>0<=H[a+60>>2]-f>>2>>>0){break c}if((g|0)<0){break a}j=H[a+56>>2];g=ra(g);i=g+(h<<2)|0;h=j-f|0;j=h+g|0;if((h|0)>0){sa(g,f,h)}H[a+60>>2]=i;H[a+56>>2]=j;H[a+52>>2]=g;if(!f){break c}qa(f)}g=H[c+28>>2]-H[c+24>>2]|0;h=g>>2;f=H[a+40>>2];d:{if(h>>>0<=H[a+48>>2]-f>>2>>>0){break d}if((g|0)<0){break a}j=H[a+44>>2];g=ra(g);i=g+(h<<2)|0;h=j-f|0;j=h+g|0;if((h|0)>0){sa(g,f,h)}H[a+48>>2]=i;H[a+44>>2]=j;H[a+40>>2]=g;if(!f){break d}qa(f)}F[a+24|0]=1;H[a+64>>2]=c}da=e+16|0;c=(c|0)!=0;break b}if(c){H[a+88>>2]=0;H[a+92>>2]=0;c=H[a+84>>2];H[a+84>>2]=0;if(c){qa(c)}H[a+76>>2]=0;H[a+80>>2]=0;c=H[a+72>>2];H[a+72>>2]=0;if(c){qa(c)}g=H[a+64>>2];if(H[g+4>>2]!=H[g>>2]){c=0;while(1){m=(c>>>0)/3|0;e=Fc(g,m);g=H[a+64>>2];e:{if(e){break e}i=H[H[g+12>>2]+(c<<2)>>2];f:{g:{if((i|0)==-1){e=H[a>>2]+(c>>>3&536870908)|0;H[e>>2]=H[e>>2]|1<<c;e=-1;f=c+1|0;f=(f>>>0)%3|0?f:c-2|0;if((f|0)!=-1){e=H[H[g>>2]+(f<<2)>>2]}j=H[a+12>>2];f=j+(e>>>3&536870908)|0;H[f>>2]=H[f>>2]|1<<e;if((c>>>0)%3|0){e=c-1|0;break g}h=-1;e=c+2|0;if((e|0)!=-1){break g}break f}if(c>>>0>i>>>0){break e}e=-1;l=I[d+84|0];h=-1;k=c+1|0;n=c-2|0;j=(k>>>0)%3|0?k:n;if((j|0)>=0){f=(j>>>0)/3|0;h=H[(H[b+96>>2]+N(f,12)|0)+(j-N(f,3)<<2)>>2]}f=i+((i>>>0)%3|0?-1:2)|0;if((f|0)>=0){e=(f>>>0)/3|0;e=H[(H[b+96>>2]+N(e,12)|0)+(f-N(e,3)<<2)>>2]}if(!l){o=H[d+68>>2];e=H[o+(e<<2)>>2];h=H[(h<<2)+o>>2]}if((e|0)==(h|0)){e=-1;h=-1;if((j|0)!=-1){h=j+1|0;h=(h>>>0)%3|0?h:j-2|0}h:{if((f|0)==-1){break h}if((f>>>0)%3|0){e=f-1|0;break h}e=f+2|0}j=-1;f=-1;if((h|0)>=0){f=(h>>>0)/3|0;f=H[(H[b+96>>2]+N(f,12)|0)+(h-N(f,3)<<2)>>2]}if((e|0)>=0){h=(e>>>0)/3|0;j=H[(H[b+96>>2]+N(h,12)|0)+(e-N(h,3)<<2)>>2]}if(!l){e=H[d+68>>2];j=H[e+(j<<2)>>2];f=H[e+(f<<2)>>2]}if((f|0)==(j|0)){break e}}F[a+24|0]=0;e=H[a>>2];f=e+(c>>>3&536870908)|0;H[f>>2]=H[f>>2]|1<<c;e=e+(i>>>3&536870908)|0;H[e>>2]=H[e>>2]|1<<i;f=-1;e=(k>>>0)%3|0?k:n;if((e|0)!=-1){f=H[H[g>>2]+(e<<2)>>2]}j=H[a+12>>2];e=j+(f>>>3&536870908)|0;H[e>>2]=H[e>>2]|1<<f;i:{j:{if((N(m,3)|0)!=(c|0)){e=c-1|0;break j}e=c+2|0;f=-1;if((e|0)==-1){break i}}f=H[H[g>>2]+(e<<2)>>2]}e=(f>>>3&536870908)+j|0;H[e>>2]=H[e>>2]|1<<f;h=-1;e=i+1|0;e=(e>>>0)%3|0?e:i-2|0;if((e|0)!=-1){h=H[H[g>>2]+(e<<2)>>2]}e=(h>>>3&536870908)+j|0;H[e>>2]=H[e>>2]|1<<h;if((i>>>0)%3|0){e=i-1|0;break g}h=-1;e=i+2|0;if((e|0)==-1){break f}}h=H[H[g>>2]+(e<<2)>>2]}e=(h>>>3&536870908)+j|0;H[e>>2]=H[e>>2]|1<<h}c=c+1|0;if(c>>>0<H[g+4>>2]-H[g>>2]>>2>>>0){continue}break}}if(!(!b|!d)){j=b;b=0;h=0;f=a;H[f+56>>2]=H[f+52>>2];H[f+44>>2]=H[f+40>>2];k:{l:{m:{g=H[f+64>>2];e=H[g+24>>2];if((e|0)!=H[g+28>>2]){while(1){a=b;c=H[(h<<2)+e>>2];n:{if((c|0)==-1){break n}if((c|0)<0){e=-1}else{b=(c>>>0)/3|0;e=H[(H[j+96>>2]+N(b,12)|0)+(c-N(b,3)<<2)>>2]}e=I[d+84|0]?e:H[H[d+68>>2]+(e<<2)>>2];b=H[f+56>>2];i=H[f+60>>2];o:{if(b>>>0<i>>>0){H[b>>2]=e;H[f+56>>2]=b+4;break o}g=H[f+52>>2];k=b-g|0;l=k>>2;b=l+1|0;if(b>>>0>=1073741824){break m}i=i-g|0;m=i>>1;i=i>>>0<2147483644?b>>>0>m>>>0?b:m:1073741823;if(i){if(i>>>0>=1073741824){break a}b=ra(i<<2)}else{b=0}l=b+(l<<2)|0;H[l>>2]=e;if((k|0)>0){sa(b,g,k)}H[f+60>>2]=b+(i<<2);H[f+56>>2]=l+4;H[f+52>>2]=b;if(!g){break o}qa(g)}p:{if(!(H[H[f+12>>2]+(h>>>3&536870908)>>2]>>>h&1)){break p}b=c+1|0;b=(b>>>0)%3|0?b:c-2|0;if((b|0)==-1){break p}g=H[f>>2];if(H[g+(b>>>3&536870908)>>2]>>>b&1){break p}b=H[H[H[f+64>>2]+12>>2]+(b<<2)>>2];if((b|0)==-1){break p}e=b+1|0;e=(e>>>0)%3|0?e:b-2|0;if((e|0)==-1){break p}i=H[f+64>>2];while(1){c=e;b=e+1|0;b=(b>>>0)%3|0?b:e-2|0;if((b|0)==-1|H[g+(b>>>3&536870908)>>2]>>>b&1){break p}b=H[H[i+12>>2]+(b<<2)>>2];if((b|0)==-1){break p}e=b+1|0;e=(e>>>0)%3|0?e:b-2|0;if((e|0)!=-1){continue}break}}H[H[f+28>>2]+(c<<2)>>2]=a;b=H[f+44>>2];q:{if((b|0)!=H[f+48>>2]){H[b>>2]=c;H[f+44>>2]=b+4;break q}g=H[f+40>>2];e=b-g|0;k=e>>2;b=k+1|0;if(b>>>0>=1073741824){break l}i=e>>1;i=e>>>0<2147483644?b>>>0>i>>>0?b:i:1073741823;if(i){if(i>>>0>=1073741824){break a}b=ra(i<<2)}else{b=0}k=b+(k<<2)|0;H[k>>2]=c;if((e|0)>0){sa(b,g,e)}H[f+48>>2]=b+(i<<2);H[f+44>>2]=k+4;H[f+40>>2]=b;if(!g){break q}qa(g)}b=a+1|0;g=H[f+64>>2];r:{if((c>>>0)%3|0){e=c-1|0;break r}e=c+2|0;if((e|0)==-1){break n}}e=H[H[g+12>>2]+(e<<2)>>2];if((e|0)==-1){break n}e=e+((e>>>0)%3|0?-1:2)|0;if((e|0)==-1|(c|0)==(e|0)){break n}while(1){g=e+1|0;g=(g>>>0)%3|0?g:e-2|0;if(H[H[f>>2]+(g>>>3&536870908)>>2]>>>g&1){g=(e|0)<0?-1:H[(H[j+96>>2]+N((e>>>0)/3|0,12)|0)+((e>>>0)%3<<2)>>2];g=I[d+84|0]?g:H[H[d+68>>2]+(g<<2)>>2];a=H[f+56>>2];k=H[f+60>>2];s:{if(a>>>0<k>>>0){H[a>>2]=g;H[f+56>>2]=a+4;break s}i=H[f+52>>2];l=a-i|0;m=l>>2;a=m+1|0;if(a>>>0>=1073741824){break m}k=k-i|0;n=k>>1;k=k>>>0<2147483644?a>>>0>n>>>0?a:n:1073741823;if(k){if(k>>>0>=1073741824){break a}a=ra(k<<2)}else{a=0}m=a+(m<<2)|0;H[m>>2]=g;if((l|0)>0){sa(a,i,l)}H[f+60>>2]=a+(k<<2);H[f+56>>2]=m+4;H[f+52>>2]=a;if(!i){break s}qa(i)}g=b+1|0;a=H[f+44>>2];t:{if((a|0)!=H[f+48>>2]){H[a>>2]=e;H[f+44>>2]=a+4;break t}k=H[f+40>>2];i=a-k|0;m=i>>2;a=m+1|0;if(a>>>0>=1073741824){break l}l=i>>1;l=i>>>0<2147483644?a>>>0>l>>>0?a:l:1073741823;if(l){if(l>>>0>=1073741824){break a}a=ra(l<<2)}else{a=0}m=a+(m<<2)|0;H[m>>2]=e;if((i|0)>0){sa(a,k,i)}H[f+48>>2]=a+(l<<2);H[f+44>>2]=m+4;H[f+40>>2]=a;if(!k){break t}qa(k)}a=b;b=g}H[H[f+28>>2]+(e<<2)>>2]=a;g=H[f+64>>2];u:{if((e>>>0)%3|0){e=e-1|0;break u}e=e+2|0;if((e|0)==-1){break n}}e=H[H[g+12>>2]+(e<<2)>>2];if((e|0)==-1){break n}e=e+((e>>>0)%3|0?-1:2)|0;if((e|0)==-1){break n}if((c|0)!=(e|0)){continue}break}}h=h+1|0;e=H[g+24>>2];if(h>>>0<H[g+28>>2]-e>>2>>>0){continue}break}}break k}va();X()}va();X()}return}b=0;j=0;f=a;H[f+56>>2]=H[f+52>>2];H[f+44>>2]=H[f+40>>2];v:{w:{x:{e=H[f+64>>2];c=H[e+24>>2];if((c|0)!=H[e+28>>2]){while(1){a=b;d=H[(j<<2)+c>>2];y:{if((d|0)==-1){break y}b=H[f+56>>2];z:{if((b|0)!=H[f+60>>2]){H[b>>2]=a;H[f+56>>2]=b+4;break z}e=H[f+52>>2];c=b-e|0;h=c>>2;b=h+1|0;if(b>>>0>=1073741824){break x}g=c>>1;g=c>>>0<2147483644?b>>>0>g>>>0?b:g:1073741823;if(g){if(g>>>0>=1073741824){break a}b=ra(g<<2)}else{b=0}h=b+(h<<2)|0;H[h>>2]=a;if((c|0)>0){sa(b,e,c)}H[f+60>>2]=b+(g<<2);H[f+56>>2]=h+4;H[f+52>>2]=b;if(!e){break z}qa(e)}A:{if(!(H[H[f+12>>2]+(j>>>3&536870908)>>2]>>>j&1)){break A}b=d+1|0;b=(b>>>0)%3|0?b:d-2|0;if((b|0)==-1){break A}e=H[f>>2];if(H[e+(b>>>3&536870908)>>2]>>>b&1){break A}b=H[H[H[f+64>>2]+12>>2]+(b<<2)>>2];if((b|0)==-1){break A}c=b+1|0;c=(c>>>0)%3|0?c:b-2|0;if((c|0)==-1){break A}g=H[f+64>>2];while(1){d=c;b=c+1|0;b=(b>>>0)%3|0?b:c-2|0;if((b|0)==-1|H[e+(b>>>3&536870908)>>2]>>>b&1){break A}b=H[H[g+12>>2]+(b<<2)>>2];if((b|0)==-1){break A}c=b+1|0;c=(c>>>0)%3|0?c:b-2|0;if((c|0)!=-1){continue}break}}H[H[f+28>>2]+(d<<2)>>2]=a;b=H[f+44>>2];B:{if((b|0)!=H[f+48>>2]){H[b>>2]=d;H[f+44>>2]=b+4;break B}e=H[f+40>>2];c=b-e|0;h=c>>2;b=h+1|0;if(b>>>0>=1073741824){break w}g=c>>1;g=c>>>0<2147483644?b>>>0>g>>>0?b:g:1073741823;if(g){if(g>>>0>=1073741824){break a}b=ra(g<<2)}else{b=0}h=b+(h<<2)|0;H[h>>2]=d;if((c|0)>0){sa(b,e,c)}H[f+48>>2]=b+(g<<2);H[f+44>>2]=h+4;H[f+40>>2]=b;if(!e){break B}qa(e)}b=a+1|0;e=H[f+64>>2];C:{if((d>>>0)%3|0){c=d-1|0;break C}c=d+2|0;if((c|0)==-1){break y}}c=H[H[e+12>>2]+(c<<2)>>2];if((c|0)==-1){break y}c=c+((c>>>0)%3|0?-1:2)|0;if((c|0)==-1|(c|0)==(d|0)){break y}while(1){e=c+1|0;e=(e>>>0)%3|0?e:c-2|0;if(H[H[f>>2]+(e>>>3&536870908)>>2]>>>e&1){a=H[f+56>>2];D:{if((a|0)!=H[f+60>>2]){H[a>>2]=b;H[f+56>>2]=a+4;break D}g=H[f+52>>2];e=a-g|0;i=e>>2;a=i+1|0;if(a>>>0>=1073741824){break x}h=e>>1;h=e>>>0<2147483644?a>>>0>h>>>0?a:h:1073741823;if(h){if(h>>>0>=1073741824){break a}a=ra(h<<2)}else{a=0}i=a+(i<<2)|0;H[i>>2]=b;if((e|0)>0){sa(a,g,e)}H[f+60>>2]=a+(h<<2);H[f+56>>2]=i+4;H[f+52>>2]=a;if(!g){break D}qa(g)}e=b+1|0;a=H[f+44>>2];E:{if((a|0)!=H[f+48>>2]){H[a>>2]=c;H[f+44>>2]=a+4;break E}h=H[f+40>>2];g=a-h|0;k=g>>2;a=k+1|0;if(a>>>0>=1073741824){break w}i=g>>1;i=g>>>0<2147483644?a>>>0>i>>>0?a:i:1073741823;if(i){if(i>>>0>=1073741824){break a}a=ra(i<<2)}else{a=0}k=a+(k<<2)|0;H[k>>2]=c;if((g|0)>0){sa(a,h,g)}H[f+48>>2]=a+(i<<2);H[f+44>>2]=k+4;H[f+40>>2]=a;if(!h){break E}qa(h)}a=b;b=e}H[H[f+28>>2]+(c<<2)>>2]=a;e=H[f+64>>2];F:{if((c>>>0)%3|0){c=c-1|0;break F}c=c+2|0;if((c|0)==-1){break y}}c=H[H[e+12>>2]+(c<<2)>>2];if((c|0)==-1){break y}c=c+((c>>>0)%3|0?-1:2)|0;if((c|0)==-1){break y}if((c|0)!=(d|0)){continue}break}}j=j+1|0;c=H[e+24>>2];if(j>>>0<H[e+28>>2]-c>>2>>>0){continue}break}}break v}va();X()}va();X()}}return}ya(1604);X()}function Dh(a){a=a|0;var 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=O(0),q=0,r=0;e=da+-64|0;da=e;h=H[a+28>>2];g=H[h+4>>2];l=H[a+8>>2];b=H[a+4>>2];c=l-b|0;a:{if(!c){break a}c=c>>2;j=c>>>0>1?c:1;i=j&3;f=H[g+8>>2];c=0;if(j-1>>>0>=3){j=j&-4;while(1){m=d;d=c<<2;d=(((m+F[H[f+(H[d+b>>2]<<2)>>2]+24|0]|0)+F[H[f+(H[(d|4)+b>>2]<<2)>>2]+24|0]|0)+F[H[f+(H[(d|8)+b>>2]<<2)>>2]+24|0]|0)+F[H[f+(H[(d|12)+b>>2]<<2)>>2]+24|0]|0;c=c+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}if(!i){break a}while(1){d=F[H[f+(H[(c<<2)+b>>2]<<2)>>2]+24|0]+d|0;c=c+1|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}n=H[g+80>>2];H[a+72>>2]=d;b:{c:{if((b|0)==(l|0)){c=1;break c}while(1){b=H[(o<<2)+b>>2];H[e+60>>2]=b;d:{e:{f:{j=H[H[g+8>>2]+(b<<2)>>2];switch(H[j+28>>2]-1|0){case 0:case 2:case 4:break e;case 8:break f;default:break d}}H[e+36>>2]=-1;H[e+32>>2]=1140;H[e+48>>2]=0;H[e+52>>2]=0;H[e+40>>2]=0;H[e+44>>2]=0;f=H[h+48>>2];b=ra(32);H[e+16>>2]=b;H[e+20>>2]=17;H[e+24>>2]=-2147483616;F[b+17|0]=0;F[b+16|0]=I[1373];c=I[1369]|I[1370]<<8|(I[1371]<<16|I[1372]<<24);d=I[1365]|I[1366]<<8|(I[1367]<<16|I[1368]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1361]|I[1362]<<8|(I[1363]<<16|I[1364]<<24);d=I[1357]|I[1358]<<8|(I[1359]<<16|I[1360]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;h=xb(f,e+60|0,e+16|0,-1);if(F[e+27|0]<0){qa(H[e+16>>2])}g:{if((h|0)<=0){break g}g=H[H[a+28>>2]+48>>2];b=ra(32);H[e+16>>2]=b;H[e+20>>2]=19;H[e+24>>2]=-2147483616;f=0;F[b+19|0]=0;c=I[1541]|I[1542]<<8|(I[1543]<<16|I[1544]<<24);F[b+15|0]=c;F[b+16|0]=c>>>8;F[b+17|0]=c>>>16;F[b+18|0]=c>>>24;c=I[1538]|I[1539]<<8|(I[1540]<<16|I[1541]<<24);d=I[1534]|I[1535]<<8|(I[1536]<<16|I[1537]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1530]|I[1531]<<8|(I[1532]<<16|I[1533]<<24);d=I[1526]|I[1527]<<8|(I[1528]<<16|I[1529]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;h:{if(!yc(g,e+60|0,e+16|0)){break h}f=H[H[a+28>>2]+48>>2];b=ra(32);H[e>>2]=b;H[e+4>>2]=18;H[e+8>>2]=-2147483616;F[b+18|0]=0;c=I[1706]|I[1707]<<8;F[b+16|0]=c;F[b+17|0]=c>>>8;c=I[1702]|I[1703]<<8|(I[1704]<<16|I[1705]<<24);d=I[1698]|I[1699]<<8|(I[1700]<<16|I[1701]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1694]|I[1695]<<8|(I[1696]<<16|I[1697]<<24);d=I[1690]|I[1691]<<8|(I[1692]<<16|I[1693]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;f=yc(f,e+60|0,e);if(F[e+11|0]>=0){break h}qa(H[e>>2])}if(F[e+27|0]<0){qa(H[e+16>>2])}i:{if(f){c=F[j+24|0];b=0;H[e+24>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;if(c){if((c|0)<0){break b}c=c<<2;b=ra(c);H[e+16>>2]=b;d=b+c|0;H[e+24>>2]=d;ta(b,0,c);H[e+20>>2]=d}g=H[H[a+28>>2]+48>>2];c=ra(32);H[e>>2]=c;H[e+4>>2]=19;H[e+8>>2]=-2147483616;F[c+19|0]=0;d=I[1541]|I[1542]<<8|(I[1543]<<16|I[1544]<<24);F[c+15|0]=d;F[c+16|0]=d>>>8;F[c+17|0]=d>>>16;F[c+18|0]=d>>>24;d=I[1538]|I[1539]<<8|(I[1540]<<16|I[1541]<<24);f=I[1534]|I[1535]<<8|(I[1536]<<16|I[1537]<<24);F[c+8|0]=f;F[c+9|0]=f>>>8;F[c+10|0]=f>>>16;F[c+11|0]=f>>>24;F[c+12|0]=d;F[c+13|0]=d>>>8;F[c+14|0]=d>>>16;F[c+15|0]=d>>>24;d=I[1530]|I[1531]<<8|(I[1532]<<16|I[1533]<<24);f=I[1526]|I[1527]<<8|(I[1528]<<16|I[1529]<<24);F[c|0]=f;F[c+1|0]=f>>>8;F[c+2|0]=f>>>16;F[c+3|0]=f>>>24;F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;ue(g,e+60|0,e,F[j+24|0],b);if(F[e+11|0]<0){qa(H[e>>2])}g=H[H[a+28>>2]+48>>2];c=ra(32);H[e>>2]=c;H[e+4>>2]=18;H[e+8>>2]=-2147483616;F[c+18|0]=0;d=I[1706]|I[1707]<<8;F[c+16|0]=d;F[c+17|0]=d>>>8;d=I[1702]|I[1703]<<8|(I[1704]<<16|I[1705]<<24);f=I[1698]|I[1699]<<8|(I[1700]<<16|I[1701]<<24);F[c+8|0]=f;F[c+9|0]=f>>>8;F[c+10|0]=f>>>16;F[c+11|0]=f>>>24;F[c+12|0]=d;F[c+13|0]=d>>>8;F[c+14|0]=d>>>16;F[c+15|0]=d>>>24;d=I[1694]|I[1695]<<8|(I[1696]<<16|I[1697]<<24);f=I[1690]|I[1691]<<8|(I[1692]<<16|I[1693]<<24);F[c|0]=f;F[c+1|0]=f>>>8;F[c+2|0]=f>>>16;F[c+3|0]=f>>>24;F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;p=te(g,e+60|0,e);if(F[e+11|0]<0){qa(H[e>>2])}Vg(e+32|0,h,b,F[j+24|0],p);if(!b){break i}qa(b);break i}if(!Tg(e+32|0,j,h)){break g}}b=H[a+40>>2];j:{if((b|0)!=H[a+44>>2]){H[b>>2]=1140;c=H[e+36>>2];H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b+4>>2]=c;d=H[e+44>>2]-H[e+40>>2]|0;if(d){if((d|0)<0){break b}c=ra(d);H[b+8>>2]=c;H[b+12>>2]=c;H[b+16>>2]=c+(d>>2<<2);f=H[e+40>>2];d=H[e+44>>2]-f|0;if((d|0)>0){c=sa(c,f,d)+d|0}H[b+12>>2]=c}L[b+20>>2]=L[e+52>>2];H[a+40>>2]=b+24;break j}f=0;k:{l:{m:{c=H[a+40>>2];h=H[a+36>>2];d=(c-h|0)/24|0;b=d+1|0;if(b>>>0<178956971){g=(H[a+44>>2]-h|0)/24|0;i=g<<1;g=g>>>0<89478485?b>>>0>i>>>0?b:i:178956970;if(g){if(g>>>0>=178956971){break m}f=ra(N(g,24))}b=N(d,24)+f|0;H[b>>2]=1140;d=H[e+36>>2];H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b+4>>2]=d;l=H[e+40>>2];d=H[e+44>>2]-l|0;if(d){if((d|0)<0){break b}i=ra(d);H[b+8>>2]=i;H[b+16>>2]=i+(d>>2<<2);q=b,r=sa(i,l,d)+d|0,H[q+12>>2]=r}d=N(g,24)+f|0;L[b+20>>2]=L[e+52>>2];f=b+24|0;if((c|0)==(h|0)){break l}while(1){b=b-24|0;H[b>>2]=1140;H[b+4>>2]=H[c-20>>2];g=c-16|0;H[b+8>>2]=H[g>>2];H[b+12>>2]=H[c-12>>2];i=c-8|0;H[b+16>>2]=H[i>>2];H[i>>2]=0;H[g>>2]=0;H[g+4>>2]=0;L[b+20>>2]=L[c-4>>2];c=c-24|0;if((h|0)!=(c|0)){continue}break}H[a+44>>2]=d;d=H[a+40>>2];H[a+40>>2]=f;c=H[a+36>>2];H[a+36>>2]=b;if((c|0)==(d|0)){break k}while(1){d=d-24|0;fa[H[H[d>>2]>>2]](d)|0;if((c|0)!=(d|0)){continue}break}break k}break b}ya(1604);X()}H[a+44>>2]=d;H[a+40>>2]=f;H[a+36>>2]=b}if(c){qa(c)}}b=e+32|0;c=Nc(b,j,n);H[e>>2]=c;H[e+24>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;be(b,j,e+16|0,c);b=H[e+16>>2];if(b){H[e+20>>2]=b;qa(b)}b=H[a+64>>2];n:{if(b>>>0<K[a+68>>2]){c=H[e>>2];H[e>>2]=0;H[b>>2]=c;H[a+64>>2]=b+4;break n}b=0;o:{p:{q:{d=H[a+60>>2];f=H[a+64>>2]-d>>2;c=f+1|0;if(c>>>0<1073741824){d=H[a+68>>2]-d|0;j=d>>1;c=d>>>0<2147483644?c>>>0>j>>>0?c:j:1073741823;if(c){if(c>>>0>=1073741824){break q}b=ra(c<<2)}j=H[e>>2];H[e>>2]=0;d=(f<<2)+b|0;H[d>>2]=j;f=(c<<2)+b|0;j=d+4|0;b=H[a+64>>2];c=H[a+60>>2];if((b|0)==(c|0)){break p}while(1){b=b-4|0;h=H[b>>2];H[b>>2]=0;d=d-4|0;H[d>>2]=h;if((b|0)!=(c|0)){continue}break}H[a+68>>2]=f;b=H[a+64>>2];H[a+64>>2]=j;c=H[a+60>>2];H[a+60>>2]=d;if((b|0)==(c|0)){break o}while(1){b=b-4|0;d=H[b>>2];H[b>>2]=0;if(d){Pa(d)}if((b|0)!=(c|0)){continue}break}break o}break b}ya(1604);X()}H[a+68>>2]=f;H[a+64>>2]=j;H[a+60>>2]=d}if(c){qa(c)}}b=H[e>>2];H[e>>2]=0;if(b){Pa(b)}H[e+32>>2]=1140;b=H[e+40>>2];if(!b){break d}H[e+44>>2]=b;qa(b);break d}H[e+32>>2]=1140;a=H[e+40>>2];if(a){H[e+44>>2]=a;qa(a)}c=0;break c}d=F[j+24|0];H[e+40>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;r:{if(!d){f=0;H[e+24>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;d=0;break r}if((d|0)<0){break b}b=d<<2;f=ra(b);H[e+32>>2]=f;h=b+f|0;H[e+40>>2]=h;c=0;b=f;g=d&7;if(g){while(1){H[b>>2]=2147483647;b=b+4|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if((d-1&1073741823)>>>0>=7){while(1){H[b+24>>2]=2147483647;H[b+28>>2]=2147483647;H[b+16>>2]=2147483647;H[b+20>>2]=2147483647;H[b+8>>2]=2147483647;H[b+12>>2]=2147483647;H[b>>2]=2147483647;H[b+4>>2]=2147483647;b=b+32|0;if((h|0)!=(b|0)){continue}break}}H[e+36>>2]=h;b=F[j+24|0];d=0;H[e+24>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;if(!b){break r}if((b|0)<0){break b}b=b<<2;d=ra(b);H[e+16>>2]=d;c=b+d|0;H[e+24>>2]=c;ta(d,0,b);H[e+20>>2]=c}h=I[j+24|0];g=0;b=d;if(H[j+80>>2]){while(1){c=d;_c(j,g,h<<24>>24,b);h=F[j+24|0];s:{if((h|0)<=0){break s}b=0;if((h|0)!=1){l=h&-2;d=0;while(1){i=b<<2;k=i+f|0;m=H[c+i>>2];if(H[k>>2]>(m|0)){H[k>>2]=m}i=i|4;k=i+f|0;i=H[c+i>>2];if(H[k>>2]>(i|0)){H[k>>2]=i}b=b+2|0;d=d+2|0;if((l|0)!=(d|0)){continue}break}}if(!(h&1)){break s}b=b<<2;d=b+f|0;b=H[b+c>>2];if(H[d>>2]<=(b|0)){break s}H[d>>2]=b}g=g+1|0;if(g>>>0<K[j+80>>2]){d=H[e+16>>2];f=H[e+32>>2];b=c;continue}break}d=c}b=0;t:{if(h<<24>>24<=0){break t}u:{while(1){v:{l=(b<<2)+f|0;c=H[a+52>>2];w:{if((c|0)!=H[a+56>>2]){H[c>>2]=H[l>>2];H[a+52>>2]=c+4;break w}g=H[a+48>>2];h=c-g|0;k=h>>2;c=k+1|0;if(c>>>0>=1073741824){break v}i=h>>1;i=h>>>0<2147483644?c>>>0>i>>>0?c:i:1073741823;if(i){if(i>>>0>=1073741824){break u}c=ra(i<<2)}else{c=0}k=c+(k<<2)|0;H[k>>2]=H[l>>2];if((h|0)>0){sa(c,g,h)}H[a+56>>2]=c+(i<<2);H[a+52>>2]=k+4;H[a+48>>2]=c;if(!g){break w}qa(g)}b=b+1|0;if((b|0)<F[j+24|0]){continue}break t}break}break b}ya(1604);X()}if(d){qa(d)}if(!f){break d}qa(f)}c=1;o=o+1|0;b=H[a+4>>2];if(o>>>0>=H[a+8>>2]-b>>2>>>0){break c}h=H[a+28>>2];g=H[h+4>>2];continue}}da=e- -64|0;return c|0}va();X()}function Ad(a,b){var 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=O(0),r=0,s=0,t=0,u=O(0);e=da-112|0;da=e;H[e+88>>2]=0;H[e+92>>2]=0;H[e+80>>2]=0;H[e+84>>2]=0;H[e+96>>2]=1065353216;c=H[a+80>>2];H[e+40>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;g=ra(d);H[e+32>>2]=g;c=d+g|0;H[e+40>>2]=c;ta(g,0,d);H[e+36>>2]=c;while(1){c=H[H[b>>2]>>2];d=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;h=c+d|0;c=I[h+12|0]|I[h+13|0]<<8|(I[h+14|0]<<16|I[h+15|0]<<24);H[e+72>>2]=I[h+8|0]|I[h+9|0]<<8|(I[h+10|0]<<16|I[h+11|0]<<24);H[e+76>>2]=c;c=I[h+4|0]|I[h+5|0]<<8|(I[h+6|0]<<16|I[h+7|0]<<24);H[e+64>>2]=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);H[e+68>>2]=c;f=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);d=I[h+4|0]|I[h+5|0]<<8|(I[h+6|0]<<16|I[h+7|0]<<24);c=I[h+12|0]|I[h+13|0]<<8|(I[h+14|0]<<16|I[h+15|0]<<24);H[e+56>>2]=I[h+8|0]|I[h+9|0]<<8|(I[h+10|0]<<16|I[h+11|0]<<24);H[e+60>>2]=c;H[e+48>>2]=f;H[e+52>>2]=d;d=0;i=H[e+84>>2];c:{if(!i){break c}h=H[e+80>>2];j=H[e+60>>2]^(H[e+56>>2]^(H[e+52>>2]^(H[e+48>>2]^318)+239)+239)+239;c=j&i-1;f=Al(i);d:{if(f>>>0<=1){break d}c=j;if(c>>>0<i>>>0){break d}c=(j>>>0)%(i>>>0)|0}k=h;h=c;c=H[k+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(f>>>0>=2){k=H[e+60>>2];p=H[e+56>>2];n=H[e+52>>2];m=H[e+48>>2];while(1){f=H[c+4>>2];f:{if((f|0)!=(j|0)){if(f>>>0>=i>>>0){f=(f>>>0)%(i>>>0)|0}if((h|0)!=(f|0)){break c}break f}f=H[c+8>>2];g:{if((f|0)!=(m|0)){f=(f|0)==(m|0);break g}f=H[c+12>>2];if((f|0)!=(n|0)){f=(f|0)==(n|0);break g}f=H[c+16>>2];if((f|0)!=(p|0)){f=(f|0)==(p|0);break g}f=(k|0)==H[c+20>>2]}if(f){break e}}c=H[c>>2];if(c){continue}break}break c}m=i-1|0;k=H[e+60>>2];i=H[e+56>>2];p=H[e+52>>2];n=H[e+48>>2];while(1){f=H[c+4>>2];h:{if((f|0)!=(j|0)){if((h|0)!=(f&m)){break c}break h}f=H[c+8>>2];if((f|0)!=(n|0)){if((f|0)!=(n|0)){break h}break e}f=H[c+12>>2];if((f|0)!=(p|0)){if((f|0)!=(p|0)){break h}break e}f=H[c+16>>2];if((f|0)!=(i|0)){if((f|0)!=(i|0)){break h}break e}if((k|0)==H[c+20>>2]){break e}}c=H[c>>2];if(c){continue}break}break c}d=c}i:{if(d){H[(s<<2)+g>>2]=H[d+24>>2];break i}c=H[e+60>>2];H[e+16>>2]=H[e+56>>2];H[e+20>>2]=c;c=H[e+52>>2];H[e+8>>2]=H[e+48>>2];H[e+12>>2]=c;H[e+24>>2]=r;c=0;h=H[e+20>>2]^(H[e+16>>2]^(H[e+12>>2]^(H[e+8>>2]^318)+239)+239)+239;j:{k:{l=e+80|0;g=H[l+4>>2];if(!g){break k}d=Al(g);l:{if(d>>>0>=2){c=h;if(g>>>0<=c>>>0){c=(h>>>0)%(g>>>0)|0}i=H[H[l>>2]+(c<<2)>>2];if(!i){break k}if(d>>>0<2){break l}f=H[e+20>>2];m=H[e+16>>2];k=H[e+12>>2];j=H[e+8>>2];while(1){i=H[i>>2];if(!i){break k}d=H[i+4>>2];if((d|0)!=(h|0)){if(d>>>0>=g>>>0){d=(d>>>0)%(g>>>0)|0}if((c|0)!=(d|0)){break k}}d=H[i+8>>2];m:{if((d|0)!=(j|0)){d=(d|0)==(j|0);break m}d=H[i+12>>2];if((d|0)!=(k|0)){d=(d|0)==(k|0);break m}d=H[i+16>>2];if((d|0)!=(m|0)){d=(d|0)==(m|0);break m}d=(f|0)==H[i+20>>2]}if(!d){continue}break}c=0;break j}c=h&g-1;i=H[H[l>>2]+(c<<2)>>2];if(!i){break k}}j=g-1|0;f=H[e+20>>2];n=H[e+16>>2];m=H[e+12>>2];k=H[e+8>>2];while(1){i=H[i>>2];if(!i){break k}d=H[i+4>>2];if((d|0)!=(h|0)&(d&j)!=(c|0)){break k}d=H[i+8>>2];n:{if((d|0)!=(k|0)){d=(d|0)==(k|0);break n}d=H[i+12>>2];if((d|0)!=(m|0)){d=(d|0)==(m|0);break n}d=H[i+16>>2];if((d|0)!=(n|0)){d=(d|0)==(n|0);break n}d=(f|0)==H[i+20>>2]}if(!d){continue}break}c=0;break j}i=ra(28);d=H[e+20>>2];H[i+16>>2]=H[e+16>>2];H[i+20>>2]=d;d=H[e+12>>2];H[i+8>>2]=H[e+8>>2];H[i+12>>2]=d;d=H[e+24>>2];H[i>>2]=0;H[i+4>>2]=h;H[i+24>>2]=d;q=O(H[l+12>>2]+1>>>0);u=L[l+16>>2];o:{if(q>O(u*O(g>>>0))?0:g){break o}d=(g-1&g)!=0|g>>>0<3|g<<1;c=2;q=O(U(O(q/u)));p:{if(q<O(4294967296)&q>=O(0)){f=~~q>>>0;break p}f=0}d=d>>>0<f>>>0?f:d;q:{if((d|0)==1){break q}if(!(d&d-1)){c=d;break q}c=Ja(d);g=H[l+4>>2]}r:{if(c>>>0<=g>>>0){if(c>>>0>=g>>>0){break r}f=g>>>0<3;q=O(U(O(O(K[l+12>>2])/L[l+16>>2])));s:{if(q<O(4294967296)&q>=O(0)){d=~~q>>>0;break s}d=0}t:{u:{if(f){break u}if(Al(g)>>>0>1){break u}d=d>>>0<2?d:1<<32-Q(d-1|0);break t}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(g>>>0<=c>>>0){break r}}d=0;j=0;k=c;v:{w:{x:{y:{if(c){if(k>>>0>=1073741824){break y}c=ra(k<<2);g=H[l>>2];H[l>>2]=c;if(g){qa(g)}H[l+4>>2]=k;if(k-1>>>0>=3){c=k&-4;g=0;while(1){f=d<<2;H[f+H[l>>2]>>2]=0;H[H[l>>2]+(f|4)>>2]=0;H[H[l>>2]+(f|8)>>2]=0;H[H[l>>2]+(f|12)>>2]=0;d=d+4|0;g=g+4|0;if((c|0)!=(g|0)){continue}break}}c=k&3;if(c){while(1){H[H[l>>2]+(d<<2)>>2]=0;d=d+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}g=H[l+8>>2];if(!g){break v}c=l+8|0;f=H[g+4>>2];d=Al(k);if(d>>>0<2){break x}f=f>>>0>=k>>>0?(f>>>0)%(k>>>0)|0:f;H[H[l>>2]+(f<<2)>>2]=c;c=H[g>>2];if(!c){break v}if(d>>>0<=1){break w}while(1){j=H[c+4>>2];if(k>>>0<=j>>>0){j=(j>>>0)%(k>>>0)|0}z:{if((f|0)==(j|0)){g=c;break z}d=c;p=j<<2;m=p+H[l>>2]|0;if(!H[m>>2]){H[m>>2]=g;g=c;f=j;break z}while(1){j=d;d=H[d>>2];if(d){n=H[c+8>>2];m=H[d+8>>2];A:{if((n|0)!=(m|0)){m=(m|0)==(n|0);break A}n=H[c+12>>2];m=H[d+12>>2];if((n|0)!=(m|0)){m=(m|0)==(n|0);break A}n=H[c+16>>2];m=H[d+16>>2];if((n|0)!=(m|0)){m=(m|0)==(n|0);break A}m=H[c+20>>2]==H[d+20>>2]}if(m){continue}}break}H[g>>2]=d;H[j>>2]=H[H[p+H[l>>2]>>2]>>2];H[H[p+H[l>>2]>>2]>>2]=c}c=H[g>>2];if(c){continue}break}break v}c=H[l>>2];H[l>>2]=0;if(c){qa(c)}H[l+4>>2]=0;break v}ya(1604);X()}f=k-1&f;H[H[l>>2]+(f<<2)>>2]=c;c=H[g>>2];if(!c){break v}}n=k-1|0;while(1){j=n&H[c+4>>2];B:{if((j|0)==(f|0)){g=c;break B}d=c;p=j<<2;k=p+H[l>>2]|0;if(H[k>>2]){while(1){j=d;d=H[d>>2];if(d){m=H[c+8>>2];k=H[d+8>>2];C:{if((m|0)!=(k|0)){k=(k|0)==(m|0);break C}m=H[c+12>>2];k=H[d+12>>2];if((m|0)!=(k|0)){k=(k|0)==(m|0);break C}m=H[c+16>>2];k=H[d+16>>2];if((m|0)!=(k|0)){k=(k|0)==(m|0);break C}k=H[c+20>>2]==H[d+20>>2]}if(k){continue}}break}H[g>>2]=d;H[j>>2]=H[H[p+H[l>>2]>>2]>>2];H[H[p+H[l>>2]>>2]>>2]=c;break B}H[k>>2]=g;g=c;f=j}c=H[g>>2];if(c){continue}break}}}g=H[l+4>>2];c=g-1|0;if(!(c&g)){c=c&h;break o}if(g>>>0>h>>>0){c=h;break o}c=(h>>>0)%(g>>>0)|0}c=H[l>>2]+(c<<2)|0;d=H[c>>2];D:{if(!d){H[i>>2]=H[l+8>>2];H[l+8>>2]=i;H[c>>2]=l+8;c=H[i>>2];if(!c){break D}c=H[c+4>>2];d=g-1|0;E:{if(!(d&g)){c=c&d;break E}if(c>>>0<g>>>0){break E}c=(c>>>0)%(g>>>0)|0}H[H[l>>2]+(c<<2)>>2]=i;break D}H[i>>2]=H[d>>2];H[d>>2]=i}H[l+12>>2]=H[l+12>>2]+1;c=1}F[e+108|0]=c;H[e+104>>2]=i;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,r)|0,e- -64|0,c);g=H[e+32>>2];H[g+(s<<2)>>2]=r;r=r+1|0}c=s+1|0;o=c?o:o+1|0;s=c;c=H[a+80>>2];if(!o&c>>>0>s>>>0){continue}break}if((c|0)==(r|0)){break b}F:{if(!I[a+84|0]){j=H[a+68>>2];b=H[a+72>>2]-j|0;if(!b){break F}h=H[e+32>>2];b=b>>2;c=b>>>0>1?b:1;o=c&3;b=0;if(c-1>>>0>=3){d=c&-4;g=0;while(1){f=b<<2;c=f+j|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=j+(f|4)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=j+(f|8)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=j+(f|12)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+4|0;g=g+4|0;if((d|0)!=(g|0)){continue}break}}if(!o){break F}while(1){c=j+(b<<2)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+1|0;t=t+1|0;if((o|0)!=(t|0)){continue}break}break F}F[a+84|0]=0;d=H[a+68>>2];b=H[a+72>>2]-d>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);d=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+d}if(!c){break F}j=H[e+32>>2];b=0;if(c-1>>>0>=3){f=c&-4;g=0;while(1){h=b<<2;H[h+d>>2]=H[h+j>>2];o=h|4;H[o+d>>2]=H[j+o>>2];o=h|8;H[o+d>>2]=H[j+o>>2];o=h|12;H[o+d>>2]=H[j+o>>2];b=b+4|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}}g=c&3;if(!g){break F}while(1){c=b<<2;H[c+d>>2]=H[c+j>>2];b=b+1|0;t=t+1|0;if((g|0)!=(t|0)){continue}break}}H[a+80>>2]=r}a=H[e+32>>2];if(a){qa(a)}b=H[e+88>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[e+80>>2];H[e+80>>2]=0;if(a){qa(a)}da=e+112|0;return r}va();X()}function Fe(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,L=0,M=0,N=0;l=da-336|0;da=l;m=i&65535;p=d;q=e&65535;s=(e^i)&-2147483648;k=h;x=i>>>16&32767;y=e>>>16&32767;a:{b:{if(x-32767>>>0>4294934529&y-32767>>>0>=4294934530){break b}j=e&2147483647;if(!(!d&(j|0)==2147418112?!(b|c):j>>>0<2147418112)){o=d;s=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){o=h;s=i|32768;b=f;c=g;break a}if(!(b|d|(j^2147418112|c))){if(!(f|h|(e^2147418112|g))){b=0;c=0;s=2147450880;break a}s=s|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){b=0;c=0;break a}if(!(b|d|(c|j))){b=!(f|h|(e|g));o=b?0:o;s=b?2147450880:s;b=0;c=0;break a}if(!(f|h|(e|g))){s=s|2147418112;b=0;c=0;break a}if((j|0)==65535|j>>>0<65535){i=b;d=!(p|q);h=d<<6;j=Q(d?b:p)+32|0;b=Q(d?c:q);b=h+((b|0)==32?j:b)|0;Ta(l+320|0,i,c,p,q,b-15|0);n=16-b|0;p=H[l+328>>2];q=H[l+332>>2];c=H[l+324>>2];b=H[l+320>>2]}if(e>>>0>65535){break b}d=!(k|m);e=d<<6;h=Q(d?f:k)+32|0;d=Q(d?g:m);d=e+((d|0)==32?h:d)|0;Ta(l+304|0,f,g,k,m,d-15|0);n=(d+n|0)-16|0;k=H[l+312>>2];m=H[l+316>>2];f=H[l+304>>2];g=H[l+308>>2]}e=m|65536;z=e;A=k;d=k;k=e<<15|d>>>17;d=d<<15|g>>>17;h=0-d|0;e=k;i=1963258675-(e+((d|0)!=0)|0)|0;Za(l+288|0,d,e,0,0,h,i,0,0);j=H[l+296>>2];Za(l+272|0,0-j|0,0-(H[l+300>>2]+((j|0)!=0)|0)|0,0,0,h,i,0,0);h=H[l+280>>2];i=h<<1|H[l+276>>2]>>>31;h=H[l+284>>2]<<1|h>>>31;Za(l+256|0,i,h,0,0,d,e,0,0);j=h;h=H[l+264>>2];Za(l+240|0,i,j,0,0,0-h|0,0-(H[l+268>>2]+((h|0)!=0)|0)|0,0,0);h=H[l+248>>2];i=h<<1|H[l+244>>2]>>>31;h=H[l+252>>2]<<1|h>>>31;Za(l+224|0,i,h,0,0,d,e,0,0);j=h;h=H[l+232>>2];Za(l+208|0,i,j,0,0,0-h|0,0-(H[l+236>>2]+((h|0)!=0)|0)|0,0,0);h=H[l+216>>2];i=h<<1|H[l+212>>2]>>>31;h=H[l+220>>2]<<1|h>>>31;Za(l+192|0,i,h,0,0,d,e,0,0);e=h;h=H[l+200>>2];Za(l+176|0,i,e,0,0,0-h|0,0-(H[l+204>>2]+((h|0)!=0)|0)|0,0,0);i=d;h=H[l+184>>2];d=h<<1|H[l+180>>2]>>>31;e=d-1|0;h=(H[l+188>>2]<<1|h>>>31)-!d|0;Za(l+160|0,i,k,0,0,e,h,0,0);d=f;j=g<<15|d>>>17;Za(l+144|0,d<<15,j,0,0,e,h,0,0);k=H[l+172>>2];m=H[l+160>>2];B=H[l+152>>2];d=m+B|0;i=H[l+164>>2];j=i+H[l+156>>2]|0;j=d>>>0<B>>>0?j+1|0:j;m=(i|0)==(j|0)&d>>>0<m>>>0|i>>>0>j>>>0;i=m+H[l+168>>2]|0;k=i>>>0<m>>>0?k+1|0:k;m=!j&d>>>0>1|(j|0)!=0;i=m+i|0;k=i>>>0<m>>>0?k+1|0:k;Za(l+112|0,e,h,0,0,0-i|0,0-(((i|0)!=0)+k|0)|0,0,0);Za(l+128|0,1-d|0,0-((d>>>0>1)+j|0)|0,0,0,e,h,0,0);G=(y-x|0)+n|0;e=H[l+116>>2];w=e;d=H[l+112>>2];j=e<<1|d>>>31;m=d<<1;n=j;d=j;h=H[l+140>>2];u=h;e=H[l+136>>2];j=h<<1|e>>>31;i=e<<1|H[l+132>>2]>>>31;h=i+m|0;j=d+j|0;j=h>>>0<i>>>0?j+1|0:j;i=h;e=j;j=j-(h>>>0<13927)|0;r=j;k=q|65536;L=k;B=p;j=p;k=k<<1|j>>>31;p=j<<1|c>>>31;d=0;j=d|k;q=j;v=xl(r,d,j,0);d=ea;t=d;j=b;d=c<<1|j>>>31;x=j<<1;y=d;h=h-13927|0;j=(e|0)==(r|0)&h>>>0<i>>>0|e>>>0>r>>>0;e=(e|0)==(n|0)&i>>>0<m>>>0|e>>>0<n>>>0;d=H[l+120>>2];k=H[l+124>>2]<<1|d>>>31;i=d<<1;m=j;n=e;e=u>>>31|0;d=e+(w>>>31|i)|0;j=k;j=d>>>0<e>>>0?j+1|0:j;e=d;d=n+d|0;j=d>>>0<e>>>0?j+1|0:j;e=d;d=m+d|0;k=d>>>0<e>>>0?j+1|0:j;e=d;d=d-1|0;C=k-!e|0;D=0;i=xl(y,o,C,D);e=i+v|0;k=ea+t|0;k=e>>>0<i>>>0?k+1|0:k;m=(k|0)==(t|0)&e>>>0<v>>>0|k>>>0<t>>>0;v=d;i=xl(d,0,p,0);d=i+e|0;j=ea+k|0;j=d>>>0<i>>>0?j+1|0:j;n=d;i=j;e=(j|0)==(k|0)&d>>>0<e>>>0|j>>>0<k>>>0;d=m+e|0;k=0;k=d>>>0<e>>>0?1:k;e=xl(q,o,C,D);d=e+d|0;j=ea+k|0;u=d;d=d>>>0<e>>>0?j+1|0:j;m=xl(q,o,v,o);k=ea;w=xl(C,D,p,o);e=w+m|0;j=ea+k|0;j=e>>>0<w>>>0?j+1|0:j;w=e;e=j;j=(k|0)==(j|0)&m>>>0>w>>>0|j>>>0<k>>>0;m=u+e|0;d=d+j|0;j=m;m=j>>>0<e>>>0?d+1|0:d;u=j;e=0;d=e+n|0;j=i+w|0;j=d>>>0<e>>>0?j+1|0:j;e=j;k=(j|0)==(i|0)&d>>>0<n>>>0|i>>>0>j>>>0;i=u+k|0;j=m;u=i;i=i>>>0<k>>>0?j+1|0:j;n=d;m=e;w=h;h=xl(h,0,p,o);e=ea;t=xl(r,o,y,o);d=t+h|0;j=ea+e|0;j=d>>>0<t>>>0?j+1|0:j;e=(e|0)==(j|0)&d>>>0<h>>>0|e>>>0>j>>>0;h=j;E=u;t=e;F=x&-2;k=xl(v,o,F,0);e=k+d|0;j=ea+j|0;j=e>>>0<k>>>0?j+1|0:j;u=e;k=e;e=j;h=(j|0)==(h|0)&d>>>0>k>>>0|h>>>0>j>>>0;d=t+h|0;k=0;k=d>>>0<h>>>0?1:k;j=d;h=n+d|0;d=k+m|0;d=h>>>0<j>>>0?d+1|0:d;t=h;j=h;h=d;k=(d|0)==(m|0)&j>>>0<n>>>0|d>>>0<m>>>0;d=E+k|0;j=i;M=d;n=d>>>0<k>>>0?j+1|0:j;I=xl(q,o,w,o);E=ea;i=xl(C,D,F,o);d=i+I|0;j=ea+E|0;j=d>>>0<i>>>0?j+1|0:j;C=d;k=xl(r,o,p,o);i=d+k|0;m=j;d=j+ea|0;d=i>>>0<k>>>0?d+1|0:d;J=i;j=xl(y,o,v,o);i=i+j|0;k=ea+d|0;D=i;k=i>>>0<j>>>0?k+1|0:k;i=k;v=0;N=(d|0)==(k|0)&D>>>0<J>>>0|d>>>0>k>>>0;j=(d|0)==(m|0)&C>>>0>J>>>0|d>>>0<m>>>0;d=j+((m|0)==(E|0)&C>>>0<I>>>0|m>>>0<E>>>0)|0;k=0;d=N+d|0;m=i|0;k=m+t|0;j=(d|v)+h|0;v=k;d=k;j=d>>>0<m>>>0?j+1|0:j;m=j;h=(h|0)==(j|0)&d>>>0<t>>>0|h>>>0>j>>>0;d=h+M|0;j=n;E=d;h=d>>>0<h>>>0?j+1|0:j;t=xl(r,o,F,o);r=ea;k=xl(y,o,w,o);d=k+t|0;j=ea+r|0;j=d>>>0<k>>>0?j+1|0:j;n=0;k=(j|0)==(r|0)&d>>>0<t>>>0|j>>>0<r>>>0;r=j;d=j+u|0;j=(k|n)+e|0;n=d;j=d>>>0<r>>>0?j+1|0:j;u=(e|0)==(j|0)&d>>>0<u>>>0|e>>>0>j>>>0;i=0;e=i+d|0;d=j;k=D+d|0;k=e>>>0<i>>>0?k+1|0:k;e=(d|0)==(k|0)&e>>>0<n>>>0|d>>>0>k>>>0;d=u+e|0;j=0;j=d>>>0<e>>>0?1:j;e=d;d=d+v|0;j=j+m|0;j=d>>>0<e>>>0?j+1|0:j;e=j;j=(m|0)==(j|0)&d>>>0<v>>>0|j>>>0<m>>>0;i=j+E|0;k=h;h=i;k=h>>>0<j>>>0?k+1|0:k;i=k;c:{if((k|0)==131071|k>>>0<131071){Za(l+80|0,d,e,h,i,f,g,A,z);j=b<<17;b=0;c=H[l+88>>2];n=b-c|0;k=H[l+80>>2];m=H[l+84>>2];B=(k|m)!=0;r=n-B|0;n=(j-(H[l+92>>2]+(b>>>0<c>>>0)|0)|0)-(n>>>0<B>>>0)|0;b=k;k=0-k|0;m=0-(((b|0)!=0)+m|0)|0;b=G+16382|0;break c}k=h<<31;d=(e&1)<<31|d>>>1;e=e>>>1|k;h=(i&1)<<31|h>>>1;i=i>>>1|0;Za(l+96|0,d,e,h,i,f,g,A,z);q=0;m=H[l+104>>2];n=q-m|0;k=H[l+96>>2];p=H[l+100>>2];x=(k|p)!=0;r=n-x|0;n=((b<<16)-(H[l+108>>2]+(m>>>0>q>>>0)|0)|0)-(n>>>0<x>>>0)|0;j=k;k=0-j|0;m=0-(((j|0)!=0)+p|0)|0;x=b;y=c;p=B;q=L;b=G+16383|0}if((b|0)>=32767){s=s|2147418112;b=0;c=0;break a}d:{if((b|0)>0){c=r;j=n<<1|c>>>31;r=c<<1|m>>>31;n=j;p=h;q=i&65535|b<<16;j=m<<1|k>>>31;b=k<<1;break d}if((b|0)<=-113){b=0;c=0;break a}Jb(l- -64|0,d,e,h,i,1-b|0);Ta(l+48|0,x,y,p,q,b+112|0);d=H[l+64>>2];e=H[l+68>>2];p=H[l+72>>2];q=H[l+76>>2];Za(l+32|0,f,g,A,z,d,e,p,q);c=H[l+40>>2];i=c<<1;c=H[l+44>>2]<<1|c>>>31;b=H[l+56>>2];h=H[l+36>>2];n=h>>>31|i;i=b-n|0;n=H[l+60>>2]-((b>>>0<n>>>0)+c|0)|0;c=H[l+32>>2];k=h<<1|c>>>31;c=c<<1;j=H[l+52>>2];b=H[l+48>>2];h=(k|0)==(j|0)&c>>>0>b>>>0|j>>>0<k>>>0;r=i-h|0;n=n-(h>>>0>i>>>0)|0;h=b;b=h-c|0;j=j-((c>>>0>h>>>0)+k|0)|0}Za(l+16|0,f,g,A,z,3,0,0,0);Za(l,f,g,A,z,5,0,0,0);h=d;m=p;p=d&1;c=b+p|0;d=0;k=j+d|0;k=b>>>0>c>>>0?k+1|0:k;i=c;c=k;g=(k|0)==(g|0)&i>>>0>f>>>0|g>>>0<k>>>0;d=(d|0)==(k|0)&i>>>0<p>>>0|d>>>0>k>>>0;b=d+r|0;j=n;j=b>>>0<d>>>0?j+1|0:j;f=b;d=b;b=j;g=(d|0)==(A|0)&(j|0)==(z|0)?g:(z|0)==(j|0)&d>>>0>A>>>0|j>>>0>z>>>0;d=h+g|0;k=e;k=d>>>0<g>>>0?k+1|0:k;g=(e|0)==(k|0)&d>>>0<h>>>0|e>>>0>k>>>0;e=m+g|0;j=q;j=e>>>0<g>>>0?j+1|0:j;g=e;e=d;m=g;d=H[l+20>>2];h=(d|0)==(c|0)&K[l+16>>2]<i>>>0|c>>>0>d>>>0;d=H[l+28>>2];g=H[l+24>>2];h=j>>>0<2147418112&((f|0)==(g|0)&(b|0)==(d|0)?h:(d|0)==(b|0)&g>>>0<f>>>0|b>>>0>d>>>0);g=e+h|0;d=k;d=g>>>0<h>>>0?d+1|0:d;h=(d|0)==(k|0)&e>>>0>g>>>0|d>>>0<k>>>0;e=m+h|0;k=e>>>0<h>>>0?j+1|0:j;h=e;e=H[l+4>>2];i=(e|0)==(c|0)&K[l>>2]<i>>>0|c>>>0>e>>>0;c=H[l+12>>2];e=H[l+8>>2];c=k>>>0<2147418112&((e|0)==(f|0)&(b|0)==(c|0)?i:(c|0)==(b|0)&e>>>0<f>>>0|b>>>0>c>>>0);b=c+g|0;j=b>>>0<c>>>0?d+1|0:d;c=j;f=(d|0)==(j|0)&b>>>0<g>>>0|d>>>0>j>>>0;e=h+f|0;d=k;o=e|o;s=s|(e>>>0<f>>>0?d+1|0:d)}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=o;H[a+12>>2]=s;da=l+336|0}function fl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=da-48|0;da=k;c=H[a+4>>2];g=H[a+12>>2];H[k+40>>2]=0;a=k;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;l=H[H[H[c+4>>2]+8>>2]+(g<<2)>>2];d=a+8|0;if((b|0)==-1){b=Ug(g,c)}a:{if((b|0)==-2){break a}if((fa[H[H[c>>2]+8>>2]](c)|0)==1){j=da-32|0;da=j;f=H[H[H[c+4>>2]+8>>2]+(g<<2)>>2];b:{c:{d:{if((fa[H[H[c>>2]+8>>2]](c)|0)!=1|b-1>>>0>5){break d}h=fa[H[H[c>>2]+52>>2]](c)|0;a=fa[H[H[c>>2]+60>>2]](c,g)|0;if(!h|!a){break d}e=fa[H[H[c>>2]+56>>2]](c,g)|0;if(e){c=H[c+56>>2];H[j+20>>2]=e;H[j+16>>2]=c;H[j+28>>2]=a;H[j+24>>2]=a+12;e=j+16|0;a=0;e:{f:{switch(b-1|0){case 0:a=ra(60);H[a+4>>2]=f;H[a>>2]=3484;b=H[d+8>>2];c=H[d+12>>2];f=H[d+16>>2];g=H[d+20>>2];h=H[d>>2];i=H[d+4>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=f;H[a+28>>2]=g;H[a+16>>2]=b;H[a+20>>2]=c;H[a+8>>2]=h;H[a+12>>2]=i;f=H[d+24>>2];b=H[d+28>>2]-f|0;if(b){if((b|0)<0){break c}c=ra(b);H[a+32>>2]=c;H[a+40>>2]=c+(b>>2<<2);m=a,n=sa(c,f,b)+b|0,H[m+36>>2]=n}b=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=b;b=H[e+12>>2];H[a+52>>2]=H[e+8>>2];H[a+56>>2]=b;H[a>>2]=2776;break e;case 3:a=ra(168);H[a+4>>2]=f;H[a>>2]=3484;b=H[d+8>>2];c=H[d+12>>2];f=H[d+16>>2];g=H[d+20>>2];h=H[d>>2];i=H[d+4>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=f;H[a+28>>2]=g;H[a+16>>2]=b;H[a+20>>2]=c;H[a+8>>2]=h;H[a+12>>2]=i;f=H[d+24>>2];b=H[d+28>>2]-f|0;if(b){if((b|0)<0){break c}c=ra(b);H[a+32>>2]=c;H[a+40>>2]=c+(b>>2<<2);m=a,n=sa(c,f,b)+b|0,H[m+36>>2]=n}b=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=b;b=H[e+12>>2];H[a+52>>2]=H[e+8>>2];H[a+56>>2]=b;H[a+60>>2]=0;H[a+64>>2]=0;H[a>>2]=3540;H[a+68>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[a+84>>2]=0;H[a+88>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;H[a+128>>2]=0;H[a+132>>2]=0;H[a+120>>2]=0;H[a+112>>2]=0;H[a+116>>2]=0;H[a+136>>2]=0;H[a+140>>2]=0;H[a+144>>2]=0;H[a+160>>2]=0;H[a+152>>2]=0;H[a+156>>2]=0;break e;case 4:a=ra(104);H[a+4>>2]=f;H[a>>2]=3484;b=H[d+8>>2];c=H[d+12>>2];f=H[d+16>>2];g=H[d+20>>2];h=H[d>>2];i=H[d+4>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=f;H[a+28>>2]=g;H[a+16>>2]=b;H[a+20>>2]=c;H[a+8>>2]=h;H[a+12>>2]=i;f=H[d+24>>2];b=H[d+28>>2]-f|0;if(b){if((b|0)<0){break c}c=ra(b);H[a+32>>2]=c;H[a+40>>2]=c+(b>>2<<2);m=a,n=sa(c,f,b)+b|0,H[m+36>>2]=n}b=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=b;b=H[e+8>>2];c=H[e+12>>2];H[a+84>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[a+60>>2]=0;H[a+64>>2]=0;H[a>>2]=3788;H[a+52>>2]=b;H[a+56>>2]=c;b=H[e+4>>2];H[a+88>>2]=H[e>>2];H[a+92>>2]=b;b=H[e+12>>2];H[a+96>>2]=H[e+8>>2];H[a+100>>2]=b;break e;case 5:break f;default:break e}}a=ra(144);H[a+4>>2]=f;H[a>>2]=3484;b=H[d+8>>2];c=H[d+12>>2];f=H[d+16>>2];g=H[d+20>>2];h=H[d>>2];i=H[d+4>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=f;H[a+28>>2]=g;H[a+16>>2]=b;H[a+20>>2]=c;H[a+8>>2]=h;H[a+12>>2]=i;g:{h:{c=H[d+28>>2]-H[d+24>>2]|0;if(c){if((c|0)<0){break h}b=ra(c);H[a+32>>2]=b;H[a+36>>2]=b;H[a+40>>2]=b+(c>>2<<2);f=H[d+24>>2];c=H[d+28>>2]-f|0;if((c|0)>0){b=sa(b,f,c)+c|0}H[a+36>>2]=b}H[a>>2]=3428;b=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=b;b=H[e+12>>2];H[a+52>>2]=H[e+8>>2];H[a+56>>2]=b;b=a- -64|0;H[b>>2]=0;H[b+4>>2]=0;H[a+60>>2]=4652;H[a>>2]=4024;b=H[e+4>>2];H[a+72>>2]=H[e>>2];H[a+76>>2]=b;b=H[e+12>>2];H[a+80>>2]=H[e+8>>2];H[a+84>>2]=b;H[a+104>>2]=1065353216;H[a+108>>2]=-1;H[a+96>>2]=-1;H[a+100>>2]=-1;H[a+88>>2]=1;H[a+92>>2]=-1;H[a+60>>2]=4260;H[a+112>>2]=0;H[a+116>>2]=0;H[a+136>>2]=0;H[a+140>>2]=0;H[a+128>>2]=0;H[a+132>>2]=0;H[a+120>>2]=0;H[a+124>>2]=0;break g}va();X()}break e}e=a;break d}e=H[c+56>>2];H[j+20>>2]=h;H[j+16>>2]=e;H[j+28>>2]=a;H[j+24>>2]=a+12;e=j+16|0;a=0;i:{j:{switch(b-1|0){case 0:a=ra(60);H[a+4>>2]=f;H[a>>2]=3484;b=H[d+8>>2];c=H[d+12>>2];f=H[d+16>>2];g=H[d+20>>2];h=H[d>>2];i=H[d+4>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=f;H[a+28>>2]=g;H[a+16>>2]=b;H[a+20>>2]=c;H[a+8>>2]=h;H[a+12>>2]=i;f=H[d+24>>2];b=H[d+28>>2]-f|0;if(b){if((b|0)<0){break c}c=ra(b);H[a+32>>2]=c;H[a+40>>2]=c+(b>>2<<2);m=a,n=sa(c,f,b)+b|0,H[m+36>>2]=n}b=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=b;b=H[e+12>>2];H[a+52>>2]=H[e+8>>2];H[a+56>>2]=b;H[a>>2]=4680;break i;case 3:a=ra(168);H[a+4>>2]=f;H[a>>2]=3484;b=H[d+8>>2];c=H[d+12>>2];f=H[d+16>>2];g=H[d+20>>2];h=H[d>>2];i=H[d+4>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=f;H[a+28>>2]=g;H[a+16>>2]=b;H[a+20>>2]=c;H[a+8>>2]=h;H[a+12>>2]=i;f=H[d+24>>2];b=H[d+28>>2]-f|0;if(b){if((b|0)<0){break c}c=ra(b);H[a+32>>2]=c;H[a+40>>2]=c+(b>>2<<2);m=a,n=sa(c,f,b)+b|0,H[m+36>>2]=n}b=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=b;b=H[e+12>>2];H[a+52>>2]=H[e+8>>2];H[a+56>>2]=b;H[a+60>>2]=0;H[a+64>>2]=0;H[a>>2]=5104;H[a+68>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[a+84>>2]=0;H[a+88>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;H[a+128>>2]=0;H[a+132>>2]=0;H[a+120>>2]=0;H[a+112>>2]=0;H[a+116>>2]=0;H[a+136>>2]=0;H[a+140>>2]=0;H[a+144>>2]=0;H[a+160>>2]=0;H[a+152>>2]=0;H[a+156>>2]=0;break i;case 4:a=ra(104);H[a+4>>2]=f;H[a>>2]=3484;b=H[d+8>>2];c=H[d+12>>2];f=H[d+16>>2];g=H[d+20>>2];h=H[d>>2];i=H[d+4>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=f;H[a+28>>2]=g;H[a+16>>2]=b;H[a+20>>2]=c;H[a+8>>2]=h;H[a+12>>2]=i;f=H[d+24>>2];b=H[d+28>>2]-f|0;if(b){if((b|0)<0){break c}c=ra(b);H[a+32>>2]=c;H[a+40>>2]=c+(b>>2<<2);m=a,n=sa(c,f,b)+b|0,H[m+36>>2]=n}b=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=b;b=H[e+8>>2];c=H[e+12>>2];H[a+84>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[a+60>>2]=0;H[a+64>>2]=0;H[a>>2]=5340;H[a+52>>2]=b;H[a+56>>2]=c;b=H[e+4>>2];H[a+88>>2]=H[e>>2];H[a+92>>2]=b;b=H[e+12>>2];H[a+96>>2]=H[e+8>>2];H[a+100>>2]=b;break i;case 5:break j;default:break i}}a=ra(144);H[a+4>>2]=f;H[a>>2]=3484;b=H[d+8>>2];c=H[d+12>>2];f=H[d+16>>2];g=H[d+20>>2];h=H[d>>2];i=H[d+4>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=f;H[a+28>>2]=g;H[a+16>>2]=b;H[a+20>>2]=c;H[a+8>>2]=h;H[a+12>>2]=i;k:{l:{c=H[d+28>>2]-H[d+24>>2]|0;if(c){if((c|0)<0){break l}b=ra(c);H[a+32>>2]=b;H[a+36>>2]=b;H[a+40>>2]=b+(c>>2<<2);f=H[d+24>>2];c=H[d+28>>2]-f|0;if((c|0)>0){b=sa(b,f,c)+c|0}H[a+36>>2]=b}H[a>>2]=5048;b=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=b;b=H[e+12>>2];H[a+52>>2]=H[e+8>>2];H[a+56>>2]=b;b=a- -64|0;H[b>>2]=0;H[b+4>>2]=0;H[a+60>>2]=6148;H[a>>2]=5564;b=H[e+4>>2];H[a+72>>2]=H[e>>2];H[a+76>>2]=b;b=H[e+12>>2];H[a+80>>2]=H[e+8>>2];H[a+84>>2]=b;H[a+104>>2]=1065353216;H[a+108>>2]=-1;H[a+96>>2]=-1;H[a+100>>2]=-1;H[a+88>>2]=1;H[a+92>>2]=-1;H[a+60>>2]=5784;H[a+112>>2]=0;H[a+116>>2]=0;H[a+136>>2]=0;H[a+140>>2]=0;H[a+128>>2]=0;H[a+132>>2]=0;H[a+120>>2]=0;H[a+124>>2]=0;break k}va();X()}break i}e=a}da=j+32|0;break b}va();X()}if(e){break a}}e=ra(44);H[e+4>>2]=l;H[e>>2]=3484;a=H[d+8>>2];b=H[d+12>>2];c=H[d+16>>2];j=H[d+20>>2];f=H[d>>2];g=H[d+4>>2];H[e+40>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;H[e+24>>2]=c;H[e+28>>2]=j;H[e+16>>2]=a;H[e+20>>2]=b;H[e+8>>2]=f;H[e+12>>2]=g;m:{a=H[d+28>>2];d=H[d+24>>2];a=a-d|0;if(a){if((a|0)<0){break m}b=ra(a);H[e+32>>2]=b;H[e+40>>2]=b+(a>>2<<2);m=e,n=sa(b,d,a)+a|0,H[m+36>>2]=n}H[e>>2]=6176;break a}va();X()}a=H[k+32>>2];if(a){H[k+36>>2]=a;qa(a)}da=k+48|0;return e|0}function of(a,b){var 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=O(0),q=0,r=0,s=0,t=0,u=O(0);f=da-80|0;da=f;H[f+56>>2]=0;H[f+60>>2]=0;H[f+48>>2]=0;H[f+52>>2]=0;H[f+64>>2]=1065353216;c=H[a+80>>2];H[f+24>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;g=ra(d);H[f+16>>2]=g;c=d+g|0;H[f+24>>2]=c;ta(g,0,d);H[f+20>>2]=c;while(1){c=H[H[b>>2]>>2];d=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;c=c+d|0;d=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[f+32>>2]=c;H[f+36>>2]=d;H[f+40>>2]=c;H[f+44>>2]=d;d=0;n=H[f+52>>2];c:{if(!n){break c}h=H[f+48>>2];m=J[f+38>>1]^(J[f+36>>1]^(J[f+34>>1]^(J[f+32>>1]^318)+239)+239)+239;c=m&n-1;e=Al(n);d:{if(e>>>0<=1){break d}c=m;if(c>>>0<n>>>0){break d}c=(m>>>0)%(n>>>0)|0}l=h;h=c;c=H[l+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(e>>>0>=2){o=J[f+32>>1];j=J[f+34>>1];i=J[f+36>>1];l=J[f+38>>1];while(1){e=H[c+4>>2];f:{if((e|0)!=(m|0)){if(e>>>0>=n>>>0){e=(e>>>0)%(n>>>0)|0}if((e|0)!=(h|0)){break c}break f}e=J[c+8>>1];g:{if((e|0)!=(o|0)){e=(e|0)==(o|0);break g}e=J[c+10>>1];if((e|0)!=(j|0)){e=(e|0)==(j|0);break g}e=J[c+12>>1];if((e|0)!=(i|0)){e=(e|0)==(i|0);break g}e=(l|0)==J[c+14>>1]}if(e){break e}}c=H[c>>2];if(c){continue}break}break c}i=n-1|0;n=J[f+32>>1];o=J[f+34>>1];j=J[f+36>>1];l=J[f+38>>1];while(1){e=H[c+4>>2];h:{if((e|0)!=(m|0)){if((h|0)!=(e&i)){break c}break h}e=J[c+8>>1];if((e|0)!=(n|0)){if((e|0)!=(n|0)){break h}break e}e=J[c+10>>1];if((e|0)!=(o|0)){if((e|0)!=(o|0)){break h}break e}e=J[c+12>>1];if((e|0)!=(j|0)){if((e|0)!=(j|0)){break h}break e}if((l|0)==J[c+14>>1]){break e}}c=H[c>>2];if(c){continue}break}break c}d=c}i:{if(d){H[(s<<2)+g>>2]=H[d+16>>2];break i}H[f+8>>2]=r;c=H[f+36>>2];H[f>>2]=H[f+32>>2];H[f+4>>2]=c;c=0;m=J[f+6>>1]^(J[f+4>>1]^(J[f+2>>1]^(J[f>>1]^318)+239)+239)+239;j:{k:{k=f+48|0;e=H[k+4>>2];if(!e){break k}d=Al(e);l:{if(d>>>0>=2){c=m;if(e>>>0<=c>>>0){c=(m>>>0)%(e>>>0)|0}g=H[H[k>>2]+(c<<2)>>2];if(!g){break k}if(d>>>0<2){break l}j=J[f>>1];i=J[f+2>>1];l=J[f+4>>1];h=J[f+6>>1];while(1){g=H[g>>2];if(!g){break k}d=H[g+4>>2];if((d|0)!=(m|0)){if(d>>>0>=e>>>0){d=(d>>>0)%(e>>>0)|0}if((c|0)!=(d|0)){break k}}d=J[g+8>>1];m:{if((d|0)!=(j|0)){d=(d|0)==(j|0);break m}d=J[g+10>>1];if((d|0)!=(i|0)){d=(d|0)==(i|0);break m}d=J[g+12>>1];if((d|0)!=(l|0)){d=(d|0)==(l|0);break m}d=(h|0)==J[g+14>>1]}if(!d){continue}break}c=0;break j}c=m&e-1;g=H[H[k>>2]+(c<<2)>>2];if(!g){break k}}l=e-1|0;o=J[f>>1];j=J[f+2>>1];i=J[f+4>>1];h=J[f+6>>1];while(1){g=H[g>>2];if(!g){break k}d=H[g+4>>2];if((d|0)!=(m|0)&(d&l)!=(c|0)){break k}d=J[g+8>>1];n:{if((d|0)!=(o|0)){d=(d|0)==(o|0);break n}d=J[g+10>>1];if((d|0)!=(j|0)){d=(d|0)==(j|0);break n}d=J[g+12>>1];if((d|0)!=(i|0)){d=(d|0)==(i|0);break n}d=(h|0)==J[g+14>>1]}if(!d){continue}break}c=0;break j}g=ra(20);d=H[f+4>>2];H[g+8>>2]=H[f>>2];H[g+12>>2]=d;d=H[f+8>>2];H[g+4>>2]=m;H[g+16>>2]=d;H[g>>2]=0;p=O(H[k+12>>2]+1>>>0);u=L[k+16>>2];o:{if(p>O(u*O(e>>>0))?0:e){break o}d=(e-1&e)!=0|e>>>0<3|e<<1;c=2;p=O(U(O(p/u)));p:{if(p<O(4294967296)&p>=O(0)){h=~~p>>>0;break p}h=0}d=d>>>0<h>>>0?h:d;q:{if((d|0)==1){break q}if(!(d&d-1)){c=d;break q}c=Ja(d);e=H[k+4>>2]}r:{if(c>>>0<=e>>>0){if(c>>>0>=e>>>0){break r}h=e>>>0<3;p=O(U(O(O(K[k+12>>2])/L[k+16>>2])));s:{if(p<O(4294967296)&p>=O(0)){d=~~p>>>0;break s}d=0}t:{u:{if(h){break u}if(Al(e)>>>0>1){break u}d=d>>>0<2?d:1<<32-Q(d-1|0);break t}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(e>>>0<=c>>>0){break r}}d=0;l=0;i=c;v:{w:{x:{y:{if(c){if(i>>>0>=1073741824){break y}c=ra(i<<2);e=H[k>>2];H[k>>2]=c;if(e){qa(e)}H[k+4>>2]=i;if(i-1>>>0>=3){c=i&-4;e=0;while(1){h=d<<2;H[h+H[k>>2]>>2]=0;H[H[k>>2]+(h|4)>>2]=0;H[H[k>>2]+(h|8)>>2]=0;H[H[k>>2]+(h|12)>>2]=0;d=d+4|0;e=e+4|0;if((c|0)!=(e|0)){continue}break}}c=i&3;if(c){while(1){H[H[k>>2]+(d<<2)>>2]=0;d=d+1|0;l=l+1|0;if((c|0)!=(l|0)){continue}break}}e=H[k+8>>2];if(!e){break v}c=k+8|0;h=H[e+4>>2];d=Al(i);if(d>>>0<2){break x}h=h>>>0>=i>>>0?(h>>>0)%(i>>>0)|0:h;H[H[k>>2]+(h<<2)>>2]=c;c=H[e>>2];if(!c){break v}if(d>>>0<=1){break w}while(1){l=H[c+4>>2];if(i>>>0<=l>>>0){l=(l>>>0)%(i>>>0)|0}z:{if((h|0)==(l|0)){e=c;break z}d=c;n=l<<2;j=n+H[k>>2]|0;if(!H[j>>2]){H[j>>2]=e;e=c;h=l;break z}while(1){l=d;d=H[d>>2];if(d){o=J[c+8>>1];j=J[d+8>>1];A:{if((o|0)!=(j|0)){j=(j|0)==(o|0);break A}o=J[c+10>>1];j=J[d+10>>1];if((o|0)!=(j|0)){j=(j|0)==(o|0);break A}o=J[c+12>>1];j=J[d+12>>1];if((o|0)!=(j|0)){j=(j|0)==(o|0);break A}j=J[c+14>>1]==J[d+14>>1]}if(j){continue}}break}H[e>>2]=d;H[l>>2]=H[H[n+H[k>>2]>>2]>>2];H[H[n+H[k>>2]>>2]>>2]=c}c=H[e>>2];if(c){continue}break}break v}c=H[k>>2];H[k>>2]=0;if(c){qa(c)}H[k+4>>2]=0;break v}ya(1604);X()}h=i-1&h;H[H[k>>2]+(h<<2)>>2]=c;c=H[e>>2];if(!c){break v}}o=i-1|0;while(1){l=o&H[c+4>>2];B:{if((l|0)==(h|0)){e=c;break B}d=c;n=l<<2;i=n+H[k>>2]|0;if(H[i>>2]){while(1){l=d;d=H[d>>2];if(d){j=J[c+8>>1];i=J[d+8>>1];C:{if((j|0)!=(i|0)){i=(i|0)==(j|0);break C}j=J[c+10>>1];i=J[d+10>>1];if((j|0)!=(i|0)){i=(i|0)==(j|0);break C}j=J[c+12>>1];i=J[d+12>>1];if((j|0)!=(i|0)){i=(i|0)==(j|0);break C}i=J[c+14>>1]==J[d+14>>1]}if(i){continue}}break}H[e>>2]=d;H[l>>2]=H[H[n+H[k>>2]>>2]>>2];H[H[n+H[k>>2]>>2]>>2]=c;break B}H[i>>2]=e;e=c;h=l}c=H[e>>2];if(c){continue}break}}}e=H[k+4>>2];c=e-1|0;if(!(c&e)){c=c&m;break o}if(e>>>0>m>>>0){c=m;break o}c=(m>>>0)%(e>>>0)|0}c=H[k>>2]+(c<<2)|0;d=H[c>>2];D:{if(!d){H[g>>2]=H[k+8>>2];H[k+8>>2]=g;H[c>>2]=k+8;c=H[g>>2];if(!c){break D}c=H[c+4>>2];d=e-1|0;E:{if(!(d&e)){c=c&d;break E}if(c>>>0<e>>>0){break E}c=(c>>>0)%(e>>>0)|0}H[H[k>>2]+(c<<2)>>2]=g;break D}H[g>>2]=H[d>>2];H[d>>2]=g}H[k+12>>2]=H[k+12>>2]+1;c=1}F[f+76|0]=c;H[f+72>>2]=g;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,r)|0,f+40|0,c);g=H[f+16>>2];H[g+(s<<2)>>2]=r;r=r+1|0}c=s+1|0;q=c?q:q+1|0;s=c;c=H[a+80>>2];if(!q&c>>>0>s>>>0){continue}break}if((c|0)==(r|0)){break b}F:{if(!I[a+84|0]){l=H[a+68>>2];b=H[a+72>>2]-l|0;if(!b){break F}m=H[f+16>>2];b=b>>2;c=b>>>0>1?b:1;q=c&3;e=0;b=0;if(c-1>>>0>=3){d=c&-4;while(1){h=b<<2;c=h+l|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];c=l+(h|4)|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];c=l+(h|8)|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];c=l+(h|12)|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];b=b+4|0;t=t+4|0;if((d|0)!=(t|0)){continue}break}}if(!q){break F}while(1){c=l+(b<<2)|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];b=b+1|0;e=e+1|0;if((q|0)!=(e|0)){continue}break}break F}F[a+84|0]=0;g=H[a+68>>2];b=H[a+72>>2]-g>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);g=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+g}if(!c){break F}m=H[f+16>>2];e=0;b=0;if(c-1>>>0>=3){q=c&-4;while(1){h=b<<2;H[h+g>>2]=H[h+m>>2];d=h|4;H[d+g>>2]=H[d+m>>2];d=h|8;H[d+g>>2]=H[d+m>>2];d=h|12;H[d+g>>2]=H[d+m>>2];b=b+4|0;t=t+4|0;if((q|0)!=(t|0)){continue}break}}d=c&3;if(!d){break F}while(1){c=b<<2;H[c+g>>2]=H[c+m>>2];b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}H[a+80>>2]=r}a=H[f+16>>2];if(a){qa(a)}b=H[f+56>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[f+48>>2];H[f+48>>2]=0;if(a){qa(a)}da=f+80|0;return r}va();X()}function Bd(a,b){var 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=O(0),q=0,r=0,s=0,t=0,u=O(0);f=da-96|0;da=f;H[f+72>>2]=0;H[f+76>>2]=0;H[f+64>>2]=0;H[f+68>>2]=0;H[f+80>>2]=1065353216;c=H[a+80>>2];H[f+24>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}e=c<<2;n=ra(e);H[f+16>>2]=n;c=e+n|0;H[f+24>>2]=c;ta(n,0,e);H[f+20>>2]=c;while(1){c=H[H[b>>2]>>2];d=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;d=c+d|0;H[f+56>>2]=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);c=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);H[f+48>>2]=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[f+52>>2]=c;e=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);c=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[f+40>>2]=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);H[f+32>>2]=c;H[f+36>>2]=e;e=0;c=f- -64|0;o=H[c+4>>2];c:{if(!o){break c}h=H[c>>2];m=H[f+40>>2]^(H[f+36>>2]^(H[f+32>>2]^318)+239)+239;c=m&o-1;d=Al(o);d:{if(d>>>0<=1){break d}c=m;if(c>>>0<o>>>0){break d}c=(m>>>0)%(o>>>0)|0}k=h;h=c;c=H[k+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(d>>>0>=2){k=H[f+40>>2];g=H[f+36>>2];l=H[f+32>>2];while(1){d=H[c+4>>2];f:{if((d|0)!=(m|0)){if(d>>>0>=o>>>0){d=(d>>>0)%(o>>>0)|0}if((d|0)!=(h|0)){break c}break f}d=H[c+8>>2];g:{if((d|0)!=(l|0)){d=(d|0)==(l|0);break g}d=H[c+12>>2];if((d|0)!=(g|0)){d=(d|0)==(g|0);break g}d=(k|0)==H[c+16>>2]}if(d){break e}}c=H[c>>2];if(c){continue}break}break c}l=o-1|0;k=H[f+40>>2];o=H[f+36>>2];g=H[f+32>>2];while(1){d=H[c+4>>2];h:{if((d|0)!=(m|0)){if((h|0)!=(d&l)){break c}break h}d=H[c+8>>2];if((d|0)!=(g|0)){if((d|0)!=(g|0)){break h}break e}d=H[c+12>>2];if((d|0)!=(o|0)){if((d|0)!=(o|0)){break h}break e}if((k|0)==H[c+16>>2]){break e}}c=H[c>>2];if(c){continue}break}break c}e=c}i:{if(e){H[(s<<2)+n>>2]=H[e+20>>2];break i}H[f+8>>2]=H[f+40>>2];c=H[f+36>>2];H[f>>2]=H[f+32>>2];H[f+4>>2]=c;H[f+12>>2]=r;c=0;m=H[f+8>>2]^(H[f+4>>2]^(H[f>>2]^318)+239)+239;j:{k:{i=f- -64|0;g=H[i+4>>2];if(!g){break k}e=Al(g);l:{if(e>>>0>=2){c=m;if(g>>>0<=c>>>0){c=(m>>>0)%(g>>>0)|0}j=H[H[i>>2]+(c<<2)>>2];if(!j){break k}if(e>>>0<2){break l}d=H[f+8>>2];k=H[f+4>>2];h=H[f>>2];while(1){j=H[j>>2];if(!j){break k}e=H[j+4>>2];if((e|0)!=(m|0)){if(e>>>0>=g>>>0){e=(e>>>0)%(g>>>0)|0}if((c|0)!=(e|0)){break k}}e=H[j+8>>2];m:{if((e|0)!=(h|0)){e=(e|0)==(h|0);break m}e=H[j+12>>2];if((e|0)!=(k|0)){e=(e|0)==(k|0);break m}e=(d|0)==H[j+16>>2]}if(!e){continue}break}c=0;break j}c=m&g-1;j=H[H[i>>2]+(c<<2)>>2];if(!j){break k}}h=g-1|0;d=H[f+8>>2];l=H[f+4>>2];k=H[f>>2];while(1){j=H[j>>2];if(!j){break k}e=H[j+4>>2];if((e|0)!=(m|0)&(e&h)!=(c|0)){break k}e=H[j+8>>2];n:{if((e|0)!=(k|0)){e=(e|0)==(k|0);break n}e=H[j+12>>2];if((e|0)!=(l|0)){e=(e|0)==(l|0);break n}e=(d|0)==H[j+16>>2]}if(!e){continue}break}c=0;break j}j=ra(24);H[j+16>>2]=H[f+8>>2];e=H[f+4>>2];H[j+8>>2]=H[f>>2];H[j+12>>2]=e;e=H[f+12>>2];H[j>>2]=0;H[j+4>>2]=m;H[j+20>>2]=e;u=O(H[i+12>>2]+1>>>0);p=L[i+16>>2];o:{if(u>O(p*O(g>>>0))?0:g){break o}e=(g-1&g)!=0|g>>>0<3|g<<1;c=2;p=O(U(O(u/p)));p:{if(p<O(4294967296)&p>=O(0)){d=~~p>>>0;break p}d=0}e=d>>>0>e>>>0?d:e;q:{if((e|0)==1){break q}if(!(e&e-1)){c=e;break q}c=Ja(e);g=H[i+4>>2]}r:{if(c>>>0<=g>>>0){if(c>>>0>=g>>>0){break r}d=g>>>0<3;p=O(U(O(O(K[i+12>>2])/L[i+16>>2])));s:{if(p<O(4294967296)&p>=O(0)){e=~~p>>>0;break s}e=0}t:{u:{if(d){break u}if(Al(g)>>>0>1){break u}e=e>>>0<2?e:1<<32-Q(e-1|0);break t}e=Ja(e)}c=c>>>0<e>>>0?e:c;if(g>>>0<=c>>>0){break r}}d=0;k=0;l=c;v:{w:{x:{y:{if(c){if(l>>>0>=1073741824){break y}c=ra(l<<2);e=H[i>>2];H[i>>2]=c;if(e){qa(e)}H[i+4>>2]=l;if(l-1>>>0>=3){c=l&-4;e=0;while(1){h=d<<2;H[h+H[i>>2]>>2]=0;H[H[i>>2]+(h|4)>>2]=0;H[H[i>>2]+(h|8)>>2]=0;H[H[i>>2]+(h|12)>>2]=0;d=d+4|0;e=e+4|0;if((c|0)!=(e|0)){continue}break}}c=l&3;if(c){while(1){H[H[i>>2]+(d<<2)>>2]=0;d=d+1|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}e=H[i+8>>2];if(!e){break v}c=i+8|0;h=H[e+4>>2];d=Al(l);if(d>>>0<2){break x}h=h>>>0>=l>>>0?(h>>>0)%(l>>>0)|0:h;H[H[i>>2]+(h<<2)>>2]=c;c=H[e>>2];if(!c){break v}if(d>>>0<=1){break w}while(1){k=H[c+4>>2];if(l>>>0<=k>>>0){k=(k>>>0)%(l>>>0)|0}z:{if((h|0)==(k|0)){e=c;break z}d=c;n=k<<2;g=n+H[i>>2]|0;if(!H[g>>2]){H[g>>2]=e;e=c;h=k;break z}while(1){k=d;d=H[d>>2];if(d){o=H[c+8>>2];g=H[d+8>>2];A:{if((o|0)!=(g|0)){g=(g|0)==(o|0);break A}o=H[c+12>>2];g=H[d+12>>2];if((o|0)!=(g|0)){g=(g|0)==(o|0);break A}g=H[c+16>>2]==H[d+16>>2]}if(g){continue}}break}H[e>>2]=d;H[k>>2]=H[H[n+H[i>>2]>>2]>>2];H[H[n+H[i>>2]>>2]>>2]=c}c=H[e>>2];if(c){continue}break}break v}c=H[i>>2];H[i>>2]=0;if(c){qa(c)}H[i+4>>2]=0;break v}ya(1604);X()}h=l-1&h;H[H[i>>2]+(h<<2)>>2]=c;c=H[e>>2];if(!c){break v}}o=l-1|0;while(1){k=o&H[c+4>>2];B:{if((k|0)==(h|0)){e=c;break B}d=c;n=k<<2;l=n+H[i>>2]|0;if(H[l>>2]){while(1){k=d;d=H[d>>2];if(d){g=H[c+8>>2];l=H[d+8>>2];C:{if((g|0)!=(l|0)){g=(g|0)==(l|0);break C}g=H[c+12>>2];l=H[d+12>>2];if((g|0)!=(l|0)){g=(g|0)==(l|0);break C}g=H[c+16>>2]==H[d+16>>2]}if(g){continue}}break}H[e>>2]=d;H[k>>2]=H[H[n+H[i>>2]>>2]>>2];H[H[n+H[i>>2]>>2]>>2]=c;break B}H[l>>2]=e;e=c;h=k}c=H[e>>2];if(c){continue}break}}}g=H[i+4>>2];c=g-1|0;if(!(c&g)){c=c&m;break o}if(g>>>0>m>>>0){c=m;break o}c=(m>>>0)%(g>>>0)|0}c=H[i>>2]+(c<<2)|0;e=H[c>>2];D:{if(!e){H[j>>2]=H[i+8>>2];H[i+8>>2]=j;H[c>>2]=i+8;c=H[j>>2];if(!c){break D}c=H[c+4>>2];e=g-1|0;E:{if(!(e&g)){c=c&e;break E}if(c>>>0<g>>>0){break E}c=(c>>>0)%(g>>>0)|0}H[H[i>>2]+(c<<2)>>2]=j;break D}H[j>>2]=H[e>>2];H[e>>2]=j}H[i+12>>2]=H[i+12>>2]+1;c=1}F[f+92|0]=c;H[f+88>>2]=j;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,r)|0,f+48|0,c);n=H[f+16>>2];H[n+(s<<2)>>2]=r;r=r+1|0}c=s+1|0;q=c?q:q+1|0;s=c;c=H[a+80>>2];if(!q&c>>>0>s>>>0){continue}break}if((c|0)==(r|0)){break b}F:{if(!I[a+84|0]){m=H[a+68>>2];b=H[a+72>>2]-m|0;if(!b){break F}h=H[f+16>>2];b=b>>2;c=b>>>0>1?b:1;d=c&3;b=0;if(c-1>>>0>=3){e=c&-4;n=0;while(1){q=b<<2;c=q+m|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|4)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|8)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|12)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+4|0;n=n+4|0;if((e|0)!=(n|0)){continue}break}}if(!d){break F}while(1){c=m+(b<<2)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+1|0;t=t+1|0;if((d|0)!=(t|0)){continue}break}break F}F[a+84|0]=0;e=H[a+68>>2];b=H[a+72>>2]-e>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);e=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+e}if(!c){break F}m=H[f+16>>2];b=0;if(c-1>>>0>=3){q=c&-4;n=0;while(1){h=b<<2;H[h+e>>2]=H[h+m>>2];d=h|4;H[d+e>>2]=H[d+m>>2];d=h|8;H[d+e>>2]=H[d+m>>2];d=h|12;H[d+e>>2]=H[d+m>>2];b=b+4|0;n=n+4|0;if((q|0)!=(n|0)){continue}break}}d=c&3;if(!d){break F}while(1){c=b<<2;H[c+e>>2]=H[c+m>>2];b=b+1|0;t=t+1|0;if((d|0)!=(t|0)){continue}break}}H[a+80>>2]=r}a=H[f+16>>2];if(a){qa(a)}b=H[f+72>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[f+64>>2];H[f+64>>2]=0;if(a){qa(a)}da=f+96|0;return r}va();X()}function Bf(a,b){var 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=O(0),q=0,r=0,s=0,t=0,u=O(0);f=da+-64|0;da=f;H[f+40>>2]=0;H[f+44>>2]=0;H[f+32>>2]=0;H[f+36>>2]=0;H[f+48>>2]=1065353216;c=H[a+80>>2];H[f+16>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;g=ra(d);H[f+8>>2]=g;c=d+g|0;H[f+16>>2]=c;ta(g,0,d);H[f+12>>2]=c;while(1){c=H[H[b>>2]>>2];e=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;c=c+e|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[f+24>>2]=c;H[f+28>>2]=c;d=0;n=H[f+36>>2];c:{if(!n){break c}h=H[f+32>>2];m=I[f+27|0]^(I[f+26|0]^(I[f+25|0]^(I[f+24|0]^318)+239)+239)+239;c=m&n-1;e=Al(n);d:{if(e>>>0<=1){break d}c=m;if(c>>>0<n>>>0){break d}c=(m>>>0)%(n>>>0)|0}l=h;h=c;c=H[l+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(e>>>0>=2){o=I[f+24|0];j=I[f+25|0];i=I[f+26|0];l=I[f+27|0];while(1){e=H[c+4>>2];f:{if((e|0)!=(m|0)){if(e>>>0>=n>>>0){e=(e>>>0)%(n>>>0)|0}if((e|0)!=(h|0)){break c}break f}e=I[c+8|0];g:{if((e|0)!=(o|0)){e=(e|0)==(o|0);break g}e=I[c+9|0];if((e|0)!=(j|0)){e=(e|0)==(j|0);break g}e=I[c+10|0];if((e|0)!=(i|0)){e=(e|0)==(i|0);break g}e=(l|0)==I[c+11|0]}if(e){break e}}c=H[c>>2];if(c){continue}break}break c}i=n-1|0;n=I[f+24|0];o=I[f+25|0];j=I[f+26|0];l=I[f+27|0];while(1){e=H[c+4>>2];h:{if((e|0)!=(m|0)){if((h|0)!=(e&i)){break c}break h}e=I[c+8|0];if((e|0)!=(n|0)){if((e|0)!=(n|0)){break h}break e}e=I[c+9|0];if((e|0)!=(o|0)){if((e|0)!=(o|0)){break h}break e}e=I[c+10|0];if((e|0)!=(j|0)){if((e|0)!=(j|0)){break h}break e}if((l|0)==I[c+11|0]){break e}}c=H[c>>2];if(c){continue}break}break c}d=c}i:{if(d){H[(s<<2)+g>>2]=H[d+12>>2];break i}H[f+4>>2]=r;H[f>>2]=H[f+24>>2];c=0;m=I[f+3|0]^(I[f+2|0]^(I[f+1|0]^(I[f|0]^318)+239)+239)+239;j:{k:{k=f+32|0;e=H[k+4>>2];if(!e){break k}d=Al(e);l:{if(d>>>0>=2){c=m;if(e>>>0<=c>>>0){c=(m>>>0)%(e>>>0)|0}g=H[H[k>>2]+(c<<2)>>2];if(!g){break k}if(d>>>0<2){break l}j=I[f|0];i=I[f+1|0];l=I[f+2|0];h=I[f+3|0];while(1){g=H[g>>2];if(!g){break k}d=H[g+4>>2];if((d|0)!=(m|0)){if(d>>>0>=e>>>0){d=(d>>>0)%(e>>>0)|0}if((c|0)!=(d|0)){break k}}d=I[g+8|0];m:{if((d|0)!=(j|0)){d=(d|0)==(j|0);break m}d=I[g+9|0];if((d|0)!=(i|0)){d=(d|0)==(i|0);break m}d=I[g+10|0];if((d|0)!=(l|0)){d=(d|0)==(l|0);break m}d=(h|0)==I[g+11|0]}if(!d){continue}break}c=0;break j}c=m&e-1;g=H[H[k>>2]+(c<<2)>>2];if(!g){break k}}l=e-1|0;o=I[f|0];j=I[f+1|0];i=I[f+2|0];h=I[f+3|0];while(1){g=H[g>>2];if(!g){break k}d=H[g+4>>2];if((d|0)!=(m|0)&(d&l)!=(c|0)){break k}d=I[g+8|0];n:{if((d|0)!=(o|0)){d=(d|0)==(o|0);break n}d=I[g+9|0];if((d|0)!=(j|0)){d=(d|0)==(j|0);break n}d=I[g+10|0];if((d|0)!=(i|0)){d=(d|0)==(i|0);break n}d=(h|0)==I[g+11|0]}if(!d){continue}break}c=0;break j}g=ra(16);H[g+8>>2]=H[f>>2];d=H[f+4>>2];H[g+4>>2]=m;H[g+12>>2]=d;H[g>>2]=0;p=O(H[k+12>>2]+1>>>0);u=L[k+16>>2];o:{if(p>O(u*O(e>>>0))?0:e){break o}d=(e-1&e)!=0|e>>>0<3|e<<1;c=2;p=O(U(O(p/u)));p:{if(p<O(4294967296)&p>=O(0)){h=~~p>>>0;break p}h=0}d=d>>>0<h>>>0?h:d;q:{if((d|0)==1){break q}if(!(d&d-1)){c=d;break q}c=Ja(d);e=H[k+4>>2]}r:{if(c>>>0<=e>>>0){if(c>>>0>=e>>>0){break r}h=e>>>0<3;p=O(U(O(O(K[k+12>>2])/L[k+16>>2])));s:{if(p<O(4294967296)&p>=O(0)){d=~~p>>>0;break s}d=0}t:{u:{if(h){break u}if(Al(e)>>>0>1){break u}d=d>>>0<2?d:1<<32-Q(d-1|0);break t}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(e>>>0<=c>>>0){break r}}d=0;l=0;i=c;v:{w:{x:{y:{if(c){if(i>>>0>=1073741824){break y}c=ra(i<<2);e=H[k>>2];H[k>>2]=c;if(e){qa(e)}H[k+4>>2]=i;if(i-1>>>0>=3){c=i&-4;e=0;while(1){h=d<<2;H[h+H[k>>2]>>2]=0;H[H[k>>2]+(h|4)>>2]=0;H[H[k>>2]+(h|8)>>2]=0;H[H[k>>2]+(h|12)>>2]=0;d=d+4|0;e=e+4|0;if((c|0)!=(e|0)){continue}break}}c=i&3;if(c){while(1){H[H[k>>2]+(d<<2)>>2]=0;d=d+1|0;l=l+1|0;if((c|0)!=(l|0)){continue}break}}e=H[k+8>>2];if(!e){break v}c=k+8|0;h=H[e+4>>2];d=Al(i);if(d>>>0<2){break x}h=h>>>0>=i>>>0?(h>>>0)%(i>>>0)|0:h;H[H[k>>2]+(h<<2)>>2]=c;c=H[e>>2];if(!c){break v}if(d>>>0<=1){break w}while(1){l=H[c+4>>2];if(i>>>0<=l>>>0){l=(l>>>0)%(i>>>0)|0}z:{if((h|0)==(l|0)){e=c;break z}d=c;n=l<<2;j=n+H[k>>2]|0;if(!H[j>>2]){H[j>>2]=e;e=c;h=l;break z}while(1){l=d;d=H[d>>2];if(d){o=I[c+8|0];j=I[d+8|0];A:{if((o|0)!=(j|0)){j=(j|0)==(o|0);break A}o=I[c+9|0];j=I[d+9|0];if((o|0)!=(j|0)){j=(j|0)==(o|0);break A}o=I[c+10|0];j=I[d+10|0];if((o|0)!=(j|0)){j=(j|0)==(o|0);break A}j=I[c+11|0]==I[d+11|0]}if(j){continue}}break}H[e>>2]=d;H[l>>2]=H[H[n+H[k>>2]>>2]>>2];H[H[n+H[k>>2]>>2]>>2]=c}c=H[e>>2];if(c){continue}break}break v}c=H[k>>2];H[k>>2]=0;if(c){qa(c)}H[k+4>>2]=0;break v}ya(1604);X()}h=i-1&h;H[H[k>>2]+(h<<2)>>2]=c;c=H[e>>2];if(!c){break v}}o=i-1|0;while(1){l=o&H[c+4>>2];B:{if((l|0)==(h|0)){e=c;break B}d=c;n=l<<2;i=n+H[k>>2]|0;if(H[i>>2]){while(1){l=d;d=H[d>>2];if(d){j=I[c+8|0];i=I[d+8|0];C:{if((j|0)!=(i|0)){i=(i|0)==(j|0);break C}j=I[c+9|0];i=I[d+9|0];if((j|0)!=(i|0)){i=(i|0)==(j|0);break C}j=I[c+10|0];i=I[d+10|0];if((j|0)!=(i|0)){i=(i|0)==(j|0);break C}i=I[c+11|0]==I[d+11|0]}if(i){continue}}break}H[e>>2]=d;H[l>>2]=H[H[n+H[k>>2]>>2]>>2];H[H[n+H[k>>2]>>2]>>2]=c;break B}H[i>>2]=e;e=c;h=l}c=H[e>>2];if(c){continue}break}}}e=H[k+4>>2];c=e-1|0;if(!(c&e)){c=c&m;break o}if(e>>>0>m>>>0){c=m;break o}c=(m>>>0)%(e>>>0)|0}c=H[k>>2]+(c<<2)|0;d=H[c>>2];D:{if(!d){H[g>>2]=H[k+8>>2];H[k+8>>2]=g;H[c>>2]=k+8;c=H[g>>2];if(!c){break D}c=H[c+4>>2];d=e-1|0;E:{if(!(d&e)){c=c&d;break E}if(c>>>0<e>>>0){break E}c=(c>>>0)%(e>>>0)|0}H[H[k>>2]+(c<<2)>>2]=g;break D}H[g>>2]=H[d>>2];H[d>>2]=g}H[k+12>>2]=H[k+12>>2]+1;c=1}F[f+60|0]=c;H[f+56>>2]=g;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,r)|0,f+28|0,c);g=H[f+8>>2];H[g+(s<<2)>>2]=r;r=r+1|0}c=s+1|0;q=c?q:q+1|0;s=c;c=H[a+80>>2];if(!q&c>>>0>s>>>0){continue}break}if((c|0)==(r|0)){break b}F:{if(!I[a+84|0]){l=H[a+68>>2];b=H[a+72>>2]-l|0;if(!b){break F}m=H[f+8>>2];b=b>>2;c=b>>>0>1?b:1;q=c&3;e=0;b=0;if(c-1>>>0>=3){d=c&-4;while(1){h=b<<2;c=h+l|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];c=l+(h|4)|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];c=l+(h|8)|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];c=l+(h|12)|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];b=b+4|0;t=t+4|0;if((d|0)!=(t|0)){continue}break}}if(!q){break F}while(1){c=l+(b<<2)|0;H[c>>2]=H[m+(H[c>>2]<<2)>>2];b=b+1|0;e=e+1|0;if((q|0)!=(e|0)){continue}break}break F}F[a+84|0]=0;g=H[a+68>>2];b=H[a+72>>2]-g>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);g=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+g}if(!c){break F}m=H[f+8>>2];e=0;b=0;if(c-1>>>0>=3){q=c&-4;while(1){h=b<<2;H[h+g>>2]=H[h+m>>2];d=h|4;H[d+g>>2]=H[d+m>>2];d=h|8;H[d+g>>2]=H[d+m>>2];d=h|12;H[d+g>>2]=H[d+m>>2];b=b+4|0;t=t+4|0;if((q|0)!=(t|0)){continue}break}}d=c&3;if(!d){break F}while(1){c=b<<2;H[c+g>>2]=H[c+m>>2];b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}H[a+80>>2]=r}a=H[f+8>>2];if(a){qa(a)}b=H[f+40>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[f+32>>2];H[f+32>>2]=0;if(a){qa(a)}da=f- -64|0;return r}va();X()}function pe(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,L=0,M=0,O=0;r=da-32|0;da=r;H[a>>2]=H[d>>2];d=H[c>>2]-H[b>>2]|0;H[a+4>>2]=d;n=H[e+20>>2];if(!H[e+16>>2]&(n|0)<=0|(n|0)<0){d=a+4|0;wa(e,H[e+4>>2],a,d);n=H[e+20>>2];if(!H[e+16>>2]&(n|0)<=0|(n|0)<0){wa(e,H[e+4>>2],d,d+4|0)}d=H[d>>2]}if(d){D=a+12|0;Ca(D);E=a+44|0;d=E;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];F=a- -64|0;d=F;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];G=a+84|0;d=G;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];H[r+24>>2]=H[b+8>>2];d=H[b+4>>2];H[r+16>>2]=H[b>>2];H[r+20>>2]=d;H[r+8>>2]=H[c+8>>2];b=H[c+4>>2];H[r>>2]=H[c>>2];H[r+4>>2]=b;b=0;f=da-32|0;da=f;d=a;h=H[a+8>>2];H[f+16>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;a:{b:{if(h){if(h>>>0>=1073741824){break b}a=h<<2;b=ra(a);H[f+8>>2]=b;k=a+b|0;H[f+16>>2]=k;ta(b,0,a);H[f+12>>2]=k}a=H[d+140>>2];c=H[a>>2];if(c){H[a+4>>2]=c;qa(c);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;h=H[d+8>>2];k=H[f+12>>2];b=H[f+8>>2]}H[a+4>>2]=k;H[a>>2]=b;H[a+8>>2]=H[f+16>>2];b=0;H[f+16>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;a=0;c:{if(h){if(h>>>0>=1073741824){break c}c=h<<2;a=ra(c);H[f+8>>2]=a;b=a+c|0;H[f+16>>2]=b;ta(a,0,c);H[f+12>>2]=b}c=H[d+152>>2];n=H[c>>2];if(n){H[c+4>>2]=n;qa(n);H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;b=H[f+12>>2];a=H[f+8>>2]}H[c+4>>2]=b;H[c>>2]=a;H[c+8>>2]=H[f+16>>2];z=H[r+4>>2];A=H[r+8>>2];x=H[r+20>>2];v=H[r+24>>2];n=H[r>>2];c=H[r+16>>2];H[f+24>>2]=0;H[f+28>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;gb(f+8|0);a=H[f+24>>2]+H[f+28>>2]|0;b=(a>>>0)/113|0;a=H[H[f+12>>2]+(b<<2)>>2]+N(a-N(b,113)|0,36)|0;H[a+32>>2]=0;H[a+28>>2]=n-c;H[a+24>>2]=0;H[a+12>>2]=n;H[a+4>>2]=x;H[a+8>>2]=v;H[a>>2]=c;H[a+16>>2]=z;H[a+20>>2]=A;a=H[f+28>>2];h=a+1|0;H[f+28>>2]=h;if(a>>>0<=h>>>0){J=d+44|0;m=d+12|0;L=d+84|0;M=v&-4;I=v&3;O=v-1>>>0<3;while(1){q=H[f+12>>2];g=H[f+24>>2];k=h-1|0;a=g+k|0;b=(a>>>0)/113|0;a=H[q+(b<<2)>>2]+N(a-N(b,113)|0,36)|0;C=H[a+32>>2];b=H[a+24>>2];n=H[a+12>>2];c=H[a>>2];H[f+28>>2]=k;a=H[f+16>>2];k=a-q|0;if(((k?N(k>>2,113)-1|0:0)-(g+h|0)|0)+1>>>0>=226){qa(H[a-4>>2]);H[f+16>>2]=H[f+16>>2]-4}h=(b|0)==(H[d+8>>2]-1|0)?0:b+1|0;k=h<<2;B=N(C,12);q=B+H[d+152>>2]|0;b=H[d>>2]-H[k+H[q>>2]>>2]|0;d:{e:{if(!b){break e}f:{g:{p=n-c|0;if(p>>>0<=2){g=H[d+128>>2];H[g>>2]=h;b=1;a=H[d+8>>2];if(a>>>0>1){break g}break f}g=H[d+140>>2];a=g+B|0;j=g;g=B+12|0;db(j+g|0,H[a>>2],H[a+4>>2]);a=H[g+H[d+140>>2]>>2]+k|0;q=H[a>>2]+(1<<b-1)|0;H[a>>2]=q;a=c;h:{if((n|0)==(a|0)){break h}o=H[x+24>>2];b=c;a=n;if(!v){if(q>>>0>K[k+o>>2]){break h}while(1){a=a-1|0;if((b|0)==(a|0)){a=b;break h}if(q>>>0<=K[(H[z+24>>2]+k|0)+(N(a,A)<<2)>>2]){continue}b=b+1|0;if((b|0)!=(a|0)){continue}break}break h}while(1){s=o+(N(b,v)<<2)|0;if(q>>>0>K[s+k>>2]){b=b+1|0;if((b|0)!=(a|0)){continue}break h}while(1){a=a-1|0;if((b|0)==(a|0)){a=b;break h}i=H[z+24>>2]+(N(a,A)<<2)|0;if(q>>>0<=K[i+k>>2]){continue}break}t=0;g=0;u=0;if(!O){while(1){l=g<<2;j=l+s|0;w=H[j>>2];y=j;j=i+l|0;H[y>>2]=H[j>>2];H[j>>2]=w;j=l|4;w=j+s|0;y=H[w>>2];j=i+j|0;H[w>>2]=H[j>>2];H[j>>2]=y;j=l|8;w=j+s|0;y=H[w>>2];j=i+j|0;H[w>>2]=H[j>>2];H[j>>2]=y;l=l|12;j=l+s|0;w=H[j>>2];l=i+l|0;H[j>>2]=H[l>>2];H[l>>2]=w;g=g+4|0;u=u+4|0;if((M|0)!=(u|0)){continue}break}}if(I){while(1){l=g<<2;u=l+s|0;j=H[u>>2];l=i+l|0;H[u>>2]=H[l>>2];H[l>>2]=j;g=g+1|0;t=t+1|0;if((I|0)!=(t|0)){continue}break}}b=b+1|0;if((b|0)!=(a|0)){continue}break}}q=a-c|0;s=n-a|0;if((q|0)!=(s|0)){xc(L,q>>>0<s>>>0)}b=H[m>>2];g=H[b+12>>2];j=H[b+8>>2];i=(p>>>1|0)-(q>>>0<s>>>0?q:s)|0;i=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);i=i>>>4&252645135|(i&252645135)<<4;i=i>>>2&858993459|(i&858993459)<<2;t=i>>>1&1431655765|(i&1431655765)<<1;i=Q(p)^31;o=32-i|0;p=t>>>o|0;t=Al(p);l=j+t|0;H[b+8>>2]=l;H[b+12>>2]=l>>>0<t>>>0?g+1|0:g;g=i-t|0;t=g;l=g+H[b>>2]|0;g=H[b+4>>2]+(g>>31)|0;H[b>>2]=l;H[b+4>>2]=l>>>0<t>>>0?g+1|0:g;i:{j:{k:{l:{m:{b=H[m+28>>2];t=32-b|0;n:{if((t|0)>=(i|0)){g=b+i|0;H[m+28>>2]=g;i=-1>>>o<<b;l=H[m+24>>2]&(i^-1)|i&p<<b;H[m+24>>2]=l;if((g|0)!=32){break i}b=H[m+16>>2];if((b|0)!=H[m+20>>2]){H[b>>2]=l;H[m+16>>2]=b+4;b=0;g=0;break n}i=H[m+12>>2];g=b-i|0;o=g>>2;b=o+1|0;if(b>>>0>=1073741824){break m}p=g>>1;p=g>>>0<2147483644?b>>>0>p>>>0?b:p:1073741823;if(p){if(p>>>0>=1073741824){break l}b=ra(p<<2)}else{b=0}o=b+(o<<2)|0;H[o>>2]=l;if((g|0)>0){sa(b,i,g)}H[m+20>>2]=b+(p<<2);H[m+16>>2]=o+4;H[m+12>>2]=b;b=0;if(!i){g=0;break n}qa(i);g=0;break n}u=H[m+24>>2]&(-1<<b^-1)|p<<b;H[m+24>>2]=u;b=H[m+16>>2];o:{if((b|0)!=H[m+20>>2]){H[b>>2]=u;H[m+16>>2]=b+4;break o}l=H[m+12>>2];g=b-l|0;j=g>>2;b=j+1|0;if(b>>>0>=1073741824){break k}o=g>>1;o=g>>>0<2147483644?b>>>0>o>>>0?b:o:1073741823;if(o){if(o>>>0>=1073741824){break j}b=ra(o<<2)}else{b=0}j=b+(j<<2)|0;H[j>>2]=u;if((g|0)>0){sa(b,l,g)}H[m+20>>2]=b+(o<<2);H[m+16>>2]=j+4;H[m+12>>2]=b;if(!l){break o}qa(l)}g=i-t|0;b=-1>>>32-g&p>>>t}H[m+28>>2]=g;H[m+24>>2]=b;break i}va();X()}ya(1604);X()}va();X()}ya(1604);X()}j=k;b=H[d+152>>2];g=b+B|0;k=H[g>>2];i=j+k|0;H[i>>2]=H[i>>2]+1;i=C+1|0;db(b+N(i,12)|0,k,H[g+4>>2]);if((a|0)!=(c|0)){k=H[f+28>>2]+H[f+24>>2]|0;g=H[f+12>>2];b=H[f+16>>2]-g|0;if((k|0)==((b?N(b>>2,113)-1|0:0)|0)){gb(f+8|0);k=H[f+24>>2]+H[f+28>>2]|0;g=H[f+12>>2]}b=(k>>>0)/113|0;b=H[g+(b<<2)>>2]+N(k-N(b,113)|0,36)|0;H[b+32>>2]=C;H[b+28>>2]=q;H[b+24>>2]=h;H[b+12>>2]=a;H[b+4>>2]=x;H[b+8>>2]=v;H[b>>2]=c;H[b+20>>2]=v;H[b+16>>2]=x;H[f+28>>2]=H[f+28>>2]+1}if((a|0)==(n|0)){break e}b=H[f+28>>2]+H[f+24>>2]|0;k=H[f+12>>2];g=H[f+16>>2]-k|0;if((b|0)==((g?N(g>>2,113)-1|0:0)|0)){gb(f+8|0);k=H[f+12>>2];b=H[f+24>>2]+H[f+28>>2]|0}g=(b>>>0)/113|0;b=H[(g<<2)+k>>2]+N(b-N(g,113)|0,36)|0;H[b+32>>2]=i;H[b+28>>2]=s;H[b+24>>2]=h;H[b+12>>2]=n;H[b+8>>2]=v;H[b+4>>2]=x;H[b>>2]=a;H[b+16>>2]=z;H[b+20>>2]=A;h=H[f+28>>2]+1|0;H[f+28>>2]=h;break d}while(1){h=(a-1|0)==(h|0)?0:h+1|0;H[g+(b<<2)>>2]=h;a=H[d+8>>2];b=b+1|0;if(a>>>0>b>>>0){continue}break}}if(!p|!a){break e}g=0;b=1;while(1){h=0;p:{if(!b){b=0;break p}k=H[x+24>>2]+(N(H[x+4>>2],c+g|0)<<2)|0;while(1){b=H[H[d+128>>2]+(h<<2)>>2]<<2;s=H[d>>2]-H[b+H[q>>2]>>2]|0;if(s){bc(J,s,H[b+k>>2]);a=H[d+8>>2]}b=a;h=h+1|0;if(b>>>0>h>>>0){continue}break}}g=g+1|0;if((p|0)!=(g|0)){continue}break}}h=H[f+28>>2]}if(h){continue}break}}H[r+16>>2]=c;H[r>>2]=n;H[f+28>>2]=0;a=H[f+16>>2];h=H[f+12>>2];c=a-h|0;if(c>>>0>=9){while(1){qa(H[h>>2]);h=H[f+12>>2]+4|0;H[f+12>>2]=h;a=H[f+16>>2];c=a-h|0;if(c>>>0>8){continue}break}}b=56;q:{switch((c>>>2|0)-1|0){case 1:b=113;case 0:H[f+24>>2]=b;break;default:break q}}r:{if((a|0)==(h|0)){break r}while(1){qa(H[h>>2]);h=h+4|0;if((h|0)!=(a|0)){continue}break}a=H[f+16>>2];b=H[f+12>>2];if((a|0)==(b|0)){break r}H[f+16>>2]=a+(((a-b|0)-4>>>2^-1)<<2)}a=H[f+8>>2];if(a){qa(a)}da=f+32|0;break a}va();X()}va();X()}Ba(D,e);fb(E,e);fb(F,e);fb(G,e)}da=r+32|0;return 1}function rf(a,b){var 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=O(0),q=0,r=0,s=0,t=O(0);g=da-80|0;da=g;H[g+56>>2]=0;H[g+60>>2]=0;H[g+48>>2]=0;H[g+52>>2]=0;H[g+64>>2]=1065353216;c=H[a+80>>2];H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;n=ra(d);H[g+16>>2]=n;c=d+n|0;H[g+24>>2]=c;ta(n,0,d);H[g+20>>2]=c;while(1){c=H[H[b>>2]>>2];e=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;d=c+e|0;G[g+44>>1]=I[d+4|0]|I[d+5|0]<<8;H[g+40>>2]=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);c=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);G[g+36>>1]=I[d+4|0]|I[d+5|0]<<8;H[g+32>>2]=c;d=0;o=H[g+52>>2];c:{if(!o){break c}h=H[g+48>>2];m=J[g+36>>1]^(J[g+34>>1]^(J[g+32>>1]^318)+239)+239;c=m&o+262143;e=Al(o);d:{if(e>>>0<=1){break d}c=m;if(c>>>0<o>>>0){break d}c=(m>>>0)%(o>>>0)|0}j=h;h=c;c=H[j+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(e>>>0>=2){f=J[g+32>>1];k=J[g+34>>1];j=J[g+36>>1];while(1){e=H[c+4>>2];f:{if((e|0)!=(m|0)){if(e>>>0>=o>>>0){e=(e>>>0)%(o>>>0)|0}if((e|0)!=(h|0)){break c}break f}e=J[c+8>>1];g:{if((e|0)!=(f|0)){e=(e|0)==(f|0);break g}e=J[c+10>>1];if((e|0)!=(k|0)){e=(e|0)==(k|0);break g}e=(j|0)==J[c+12>>1]}if(e){break e}}c=H[c>>2];if(c){continue}break}break c}k=o-1|0;o=J[g+32>>1];f=J[g+34>>1];j=J[g+36>>1];while(1){e=H[c+4>>2];h:{if((e|0)!=(m|0)){if((h|0)!=(e&k)){break c}break h}e=J[c+8>>1];if((e|0)!=(o|0)){if((e|0)!=(o|0)){break h}break e}e=J[c+10>>1];if((e|0)!=(f|0)){if((e|0)!=(f|0)){break h}break e}if((j|0)==J[c+12>>1]){break e}}c=H[c>>2];if(c){continue}break}break c}d=c}i:{if(d){H[(s<<2)+n>>2]=H[d+16>>2];break i}G[g+4>>1]=J[g+36>>1];H[g>>2]=H[g+32>>2];H[g+8>>2]=r;c=0;m=J[g+4>>1]^(J[g+2>>1]^(J[g>>1]^318)+239)+239;j:{k:{i=g+48|0;f=H[i+4>>2];if(!f){break k}d=Al(f);l:{if(d>>>0>=2){c=m;if(f>>>0<=c>>>0){c=(m>>>0)%(f>>>0)|0}l=H[H[i>>2]+(c<<2)>>2];if(!l){break k}if(d>>>0<2){break l}j=J[g>>1];h=J[g+2>>1];e=J[g+4>>1];while(1){l=H[l>>2];if(!l){break k}d=H[l+4>>2];if((d|0)!=(m|0)){if(d>>>0>=f>>>0){d=(d>>>0)%(f>>>0)|0}if((c|0)!=(d|0)){break k}}d=J[l+8>>1];m:{if((d|0)!=(j|0)){d=(d|0)==(j|0);break m}d=J[l+10>>1];if((d|0)!=(h|0)){d=(d|0)==(h|0);break m}d=(e|0)==J[l+12>>1]}if(!d){continue}break}c=0;break j}c=m&f+262143;l=H[H[i>>2]+(c<<2)>>2];if(!l){break k}}h=f-1|0;k=J[g>>1];j=J[g+2>>1];e=J[g+4>>1];while(1){l=H[l>>2];if(!l){break k}d=H[l+4>>2];if((d|0)!=(m|0)&(d&h)!=(c|0)){break k}d=J[l+8>>1];n:{if((d|0)!=(k|0)){d=(d|0)==(k|0);break n}d=J[l+10>>1];if((d|0)!=(j|0)){d=(d|0)==(j|0);break n}d=(e|0)==J[l+12>>1]}if(!d){continue}break}c=0;break j}l=ra(20);G[l+12>>1]=J[g+4>>1];H[l+8>>2]=H[g>>2];d=H[g+8>>2];H[l>>2]=0;H[l+4>>2]=m;H[l+16>>2]=d;t=O(H[i+12>>2]+1>>>0);p=L[i+16>>2];o:{if(t>O(p*O(f>>>0))?0:f){break o}d=(f-1&f)!=0|f>>>0<3|f<<1;c=2;p=O(U(O(t/p)));p:{if(p<O(4294967296)&p>=O(0)){e=~~p>>>0;break p}e=0}d=d>>>0<e>>>0?e:d;q:{if((d|0)==1){break q}if(!(d&d-1)){c=d;break q}c=Ja(d);f=H[i+4>>2]}r:{if(c>>>0<=f>>>0){if(c>>>0>=f>>>0){break r}e=f>>>0<3;p=O(U(O(O(K[i+12>>2])/L[i+16>>2])));s:{if(p<O(4294967296)&p>=O(0)){d=~~p>>>0;break s}d=0}t:{u:{if(e){break u}if(Al(f)>>>0>1){break u}d=d>>>0<2?d:1<<32-Q(d-1|0);break t}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(f>>>0<=c>>>0){break r}}e=0;j=0;k=c;v:{w:{x:{y:{if(c){if(k>>>0>=1073741824){break y}c=ra(k<<2);d=H[i>>2];H[i>>2]=c;if(d){qa(d)}H[i+4>>2]=k;if(k-1>>>0>=3){c=k&-4;d=0;while(1){h=e<<2;H[h+H[i>>2]>>2]=0;H[H[i>>2]+(h|4)>>2]=0;H[H[i>>2]+(h|8)>>2]=0;H[H[i>>2]+(h|12)>>2]=0;e=e+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}c=k&3;if(c){while(1){H[H[i>>2]+(e<<2)>>2]=0;e=e+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}d=H[i+8>>2];if(!d){break v}c=i+8|0;h=H[d+4>>2];e=Al(k);if(e>>>0<2){break x}h=h>>>0>=k>>>0?(h>>>0)%(k>>>0)|0:h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}if(e>>>0<=1){break w}while(1){j=H[c+4>>2];if(k>>>0<=j>>>0){j=(j>>>0)%(k>>>0)|0}z:{if((h|0)==(j|0)){d=c;break z}e=c;n=j<<2;f=n+H[i>>2]|0;if(!H[f>>2]){H[f>>2]=d;d=c;h=j;break z}while(1){j=e;e=H[e>>2];if(e){o=J[c+8>>1];f=J[e+8>>1];A:{if((o|0)!=(f|0)){f=(f|0)==(o|0);break A}o=J[c+10>>1];f=J[e+10>>1];if((o|0)!=(f|0)){f=(f|0)==(o|0);break A}f=J[c+12>>1]==J[e+12>>1]}if(f){continue}}break}H[d>>2]=e;H[j>>2]=H[H[n+H[i>>2]>>2]>>2];H[H[n+H[i>>2]>>2]>>2]=c}c=H[d>>2];if(c){continue}break}break v}c=H[i>>2];H[i>>2]=0;if(c){qa(c)}H[i+4>>2]=0;break v}ya(1604);X()}h=k-1&h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}}o=k-1|0;while(1){j=o&H[c+4>>2];B:{if((j|0)==(h|0)){d=c;break B}e=c;n=j<<2;k=n+H[i>>2]|0;if(H[k>>2]){while(1){j=e;e=H[e>>2];if(e){f=J[c+8>>1];k=J[e+8>>1];C:{if((f|0)!=(k|0)){f=(f|0)==(k|0);break C}f=J[c+10>>1];k=J[e+10>>1];if((f|0)!=(k|0)){f=(f|0)==(k|0);break C}f=J[c+12>>1]==J[e+12>>1]}if(f){continue}}break}H[d>>2]=e;H[j>>2]=H[H[n+H[i>>2]>>2]>>2];H[H[n+H[i>>2]>>2]>>2]=c;break B}H[k>>2]=d;d=c;h=j}c=H[d>>2];if(c){continue}break}}}f=H[i+4>>2];c=f-1|0;if(!(c&f)){c=c&m;break o}if(f>>>0>m>>>0){c=m;break o}c=(m>>>0)%(f>>>0)|0}c=H[i>>2]+(c<<2)|0;d=H[c>>2];D:{if(!d){H[l>>2]=H[i+8>>2];H[i+8>>2]=l;H[c>>2]=i+8;c=H[l>>2];if(!c){break D}c=H[c+4>>2];d=f-1|0;E:{if(!(d&f)){c=c&d;break E}if(c>>>0<f>>>0){break E}c=(c>>>0)%(f>>>0)|0}H[H[i>>2]+(c<<2)>>2]=l;break D}H[l>>2]=H[d>>2];H[d>>2]=l}H[i+12>>2]=H[i+12>>2]+1;c=1}F[g+76|0]=c;H[g+72>>2]=l;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,r)|0,g+40|0,c);n=H[g+16>>2];H[n+(s<<2)>>2]=r;r=r+1|0}c=s+1|0;q=c?q:q+1|0;s=c;c=H[a+80>>2];if(!q&c>>>0>s>>>0){continue}break}if((c|0)==(r|0)){break b}F:{if(!I[a+84|0]){m=H[a+68>>2];b=H[a+72>>2]-m|0;if(!b){break F}h=H[g+16>>2];b=b>>2;c=b>>>0>1?b:1;e=c&3;n=0;b=0;if(c-1>>>0>=3){d=c&-4;f=0;while(1){q=b<<2;c=q+m|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|4)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|8)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|12)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+4|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}if(!e){break F}while(1){c=m+(b<<2)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+1|0;n=n+1|0;if((e|0)!=(n|0)){continue}break}break F}F[a+84|0]=0;d=H[a+68>>2];b=H[a+72>>2]-d>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);d=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+d}if(!c){break F}m=H[g+16>>2];n=0;b=0;if(c-1>>>0>=3){q=c&-4;f=0;while(1){h=b<<2;H[h+d>>2]=H[h+m>>2];e=h|4;H[e+d>>2]=H[e+m>>2];e=h|8;H[e+d>>2]=H[e+m>>2];e=h|12;H[e+d>>2]=H[e+m>>2];b=b+4|0;f=f+4|0;if((q|0)!=(f|0)){continue}break}}e=c&3;if(!e){break F}while(1){c=b<<2;H[c+d>>2]=H[c+m>>2];b=b+1|0;n=n+1|0;if((e|0)!=(n|0)){continue}break}}H[a+80>>2]=r}a=H[g+16>>2];if(a){qa(a)}b=H[g+56>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[g+48>>2];H[g+48>>2]=0;if(a){qa(a)}da=g+80|0;return r}va();X()}function Ef(a,b){var 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=O(0),q=0,r=0,s=0,t=O(0);g=da+-64|0;da=g;H[g+40>>2]=0;H[g+44>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;H[g+48>>2]=1065353216;c=H[a+80>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;n=ra(d);H[g+8>>2]=n;c=d+n|0;H[g+16>>2]=c;ta(n,0,d);H[g+12>>2]=c;while(1){c=H[H[b>>2]>>2];e=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;d=c+e|0;F[g+30|0]=I[d+2|0];G[g+28>>1]=I[d|0]|I[d+1|0]<<8;c=I[d|0]|I[d+1|0]<<8;F[g+26|0]=I[d+2|0];G[g+24>>1]=c;d=0;o=H[g+36>>2];c:{if(!o){break c}h=H[g+32>>2];m=I[g+26|0]^(I[g+25|0]^(I[g+24|0]^318)+239)+239;c=m&o-1;e=Al(o);d:{if(e>>>0<=1){break d}c=m;if(c>>>0<o>>>0){break d}c=(m>>>0)%(o>>>0)|0}j=h;h=c;c=H[j+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(e>>>0>=2){f=I[g+24|0];k=I[g+25|0];j=I[g+26|0];while(1){e=H[c+4>>2];f:{if((e|0)!=(m|0)){if(e>>>0>=o>>>0){e=(e>>>0)%(o>>>0)|0}if((e|0)!=(h|0)){break c}break f}e=I[c+8|0];g:{if((e|0)!=(f|0)){e=(e|0)==(f|0);break g}e=I[c+9|0];if((e|0)!=(k|0)){e=(e|0)==(k|0);break g}e=(j|0)==I[c+10|0]}if(e){break e}}c=H[c>>2];if(c){continue}break}break c}k=o-1|0;o=I[g+24|0];f=I[g+25|0];j=I[g+26|0];while(1){e=H[c+4>>2];h:{if((e|0)!=(m|0)){if((h|0)!=(e&k)){break c}break h}e=I[c+8|0];if((e|0)!=(o|0)){if((e|0)!=(o|0)){break h}break e}e=I[c+9|0];if((e|0)!=(f|0)){if((e|0)!=(f|0)){break h}break e}if((j|0)==I[c+10|0]){break e}}c=H[c>>2];if(c){continue}break}break c}d=c}i:{if(d){H[(s<<2)+n>>2]=H[d+12>>2];break i}F[g+2|0]=I[g+26|0];G[g>>1]=J[g+24>>1];H[g+4>>2]=r;c=0;m=I[g+2|0]^(I[g+1|0]^(I[g|0]^318)+239)+239;j:{k:{i=g+32|0;f=H[i+4>>2];if(!f){break k}d=Al(f);l:{if(d>>>0>=2){c=m;if(f>>>0<=c>>>0){c=(m>>>0)%(f>>>0)|0}l=H[H[i>>2]+(c<<2)>>2];if(!l){break k}if(d>>>0<2){break l}j=I[g|0];h=I[g+1|0];e=I[g+2|0];while(1){l=H[l>>2];if(!l){break k}d=H[l+4>>2];if((d|0)!=(m|0)){if(d>>>0>=f>>>0){d=(d>>>0)%(f>>>0)|0}if((c|0)!=(d|0)){break k}}d=I[l+8|0];m:{if((d|0)!=(j|0)){d=(d|0)==(j|0);break m}d=I[l+9|0];if((d|0)!=(h|0)){d=(d|0)==(h|0);break m}d=(e|0)==I[l+10|0]}if(!d){continue}break}c=0;break j}c=m&f-1;l=H[H[i>>2]+(c<<2)>>2];if(!l){break k}}h=f-1|0;k=I[g|0];j=I[g+1|0];e=I[g+2|0];while(1){l=H[l>>2];if(!l){break k}d=H[l+4>>2];if((d|0)!=(m|0)&(d&h)!=(c|0)){break k}d=I[l+8|0];n:{if((d|0)!=(k|0)){d=(d|0)==(k|0);break n}d=I[l+9|0];if((d|0)!=(j|0)){d=(d|0)==(j|0);break n}d=(e|0)==I[l+10|0]}if(!d){continue}break}c=0;break j}l=ra(16);F[l+10|0]=I[g+2|0];G[l+8>>1]=J[g>>1];d=H[g+4>>2];H[l>>2]=0;H[l+4>>2]=m;H[l+12>>2]=d;t=O(H[i+12>>2]+1>>>0);p=L[i+16>>2];o:{if(t>O(p*O(f>>>0))?0:f){break o}d=(f-1&f)!=0|f>>>0<3|f<<1;c=2;p=O(U(O(t/p)));p:{if(p<O(4294967296)&p>=O(0)){e=~~p>>>0;break p}e=0}d=d>>>0<e>>>0?e:d;q:{if((d|0)==1){break q}if(!(d&d-1)){c=d;break q}c=Ja(d);f=H[i+4>>2]}r:{if(c>>>0<=f>>>0){if(c>>>0>=f>>>0){break r}e=f>>>0<3;p=O(U(O(O(K[i+12>>2])/L[i+16>>2])));s:{if(p<O(4294967296)&p>=O(0)){d=~~p>>>0;break s}d=0}t:{u:{if(e){break u}if(Al(f)>>>0>1){break u}d=d>>>0<2?d:1<<32-Q(d-1|0);break t}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(f>>>0<=c>>>0){break r}}e=0;j=0;k=c;v:{w:{x:{y:{if(c){if(k>>>0>=1073741824){break y}c=ra(k<<2);d=H[i>>2];H[i>>2]=c;if(d){qa(d)}H[i+4>>2]=k;if(k-1>>>0>=3){c=k&-4;d=0;while(1){h=e<<2;H[h+H[i>>2]>>2]=0;H[H[i>>2]+(h|4)>>2]=0;H[H[i>>2]+(h|8)>>2]=0;H[H[i>>2]+(h|12)>>2]=0;e=e+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}c=k&3;if(c){while(1){H[H[i>>2]+(e<<2)>>2]=0;e=e+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}d=H[i+8>>2];if(!d){break v}c=i+8|0;h=H[d+4>>2];e=Al(k);if(e>>>0<2){break x}h=h>>>0>=k>>>0?(h>>>0)%(k>>>0)|0:h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}if(e>>>0<=1){break w}while(1){j=H[c+4>>2];if(k>>>0<=j>>>0){j=(j>>>0)%(k>>>0)|0}z:{if((h|0)==(j|0)){d=c;break z}e=c;n=j<<2;f=n+H[i>>2]|0;if(!H[f>>2]){H[f>>2]=d;d=c;h=j;break z}while(1){j=e;e=H[e>>2];if(e){o=I[c+8|0];f=I[e+8|0];A:{if((o|0)!=(f|0)){f=(f|0)==(o|0);break A}o=I[c+9|0];f=I[e+9|0];if((o|0)!=(f|0)){f=(f|0)==(o|0);break A}f=I[c+10|0]==I[e+10|0]}if(f){continue}}break}H[d>>2]=e;H[j>>2]=H[H[n+H[i>>2]>>2]>>2];H[H[n+H[i>>2]>>2]>>2]=c}c=H[d>>2];if(c){continue}break}break v}c=H[i>>2];H[i>>2]=0;if(c){qa(c)}H[i+4>>2]=0;break v}ya(1604);X()}h=k-1&h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}}o=k-1|0;while(1){j=o&H[c+4>>2];B:{if((j|0)==(h|0)){d=c;break B}e=c;n=j<<2;k=n+H[i>>2]|0;if(H[k>>2]){while(1){j=e;e=H[e>>2];if(e){f=I[c+8|0];k=I[e+8|0];C:{if((f|0)!=(k|0)){f=(f|0)==(k|0);break C}f=I[c+9|0];k=I[e+9|0];if((f|0)!=(k|0)){f=(f|0)==(k|0);break C}f=I[c+10|0]==I[e+10|0]}if(f){continue}}break}H[d>>2]=e;H[j>>2]=H[H[n+H[i>>2]>>2]>>2];H[H[n+H[i>>2]>>2]>>2]=c;break B}H[k>>2]=d;d=c;h=j}c=H[d>>2];if(c){continue}break}}}f=H[i+4>>2];c=f-1|0;if(!(c&f)){c=c&m;break o}if(f>>>0>m>>>0){c=m;break o}c=(m>>>0)%(f>>>0)|0}c=H[i>>2]+(c<<2)|0;d=H[c>>2];D:{if(!d){H[l>>2]=H[i+8>>2];H[i+8>>2]=l;H[c>>2]=i+8;c=H[l>>2];if(!c){break D}c=H[c+4>>2];d=f-1|0;E:{if(!(d&f)){c=c&d;break E}if(c>>>0<f>>>0){break E}c=(c>>>0)%(f>>>0)|0}H[H[i>>2]+(c<<2)>>2]=l;break D}H[l>>2]=H[d>>2];H[d>>2]=l}H[i+12>>2]=H[i+12>>2]+1;c=1}F[g+60|0]=c;H[g+56>>2]=l;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,r)|0,g+28|0,c);n=H[g+8>>2];H[n+(s<<2)>>2]=r;r=r+1|0}c=s+1|0;q=c?q:q+1|0;s=c;c=H[a+80>>2];if(!q&c>>>0>s>>>0){continue}break}if((c|0)==(r|0)){break b}F:{if(!I[a+84|0]){m=H[a+68>>2];b=H[a+72>>2]-m|0;if(!b){break F}h=H[g+8>>2];b=b>>2;c=b>>>0>1?b:1;e=c&3;n=0;b=0;if(c-1>>>0>=3){d=c&-4;f=0;while(1){q=b<<2;c=q+m|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|4)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|8)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(q|12)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+4|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}if(!e){break F}while(1){c=m+(b<<2)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+1|0;n=n+1|0;if((e|0)!=(n|0)){continue}break}break F}F[a+84|0]=0;d=H[a+68>>2];b=H[a+72>>2]-d>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);d=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+d}if(!c){break F}m=H[g+8>>2];n=0;b=0;if(c-1>>>0>=3){q=c&-4;f=0;while(1){h=b<<2;H[h+d>>2]=H[h+m>>2];e=h|4;H[e+d>>2]=H[e+m>>2];e=h|8;H[e+d>>2]=H[e+m>>2];e=h|12;H[e+d>>2]=H[e+m>>2];b=b+4|0;f=f+4|0;if((q|0)!=(f|0)){continue}break}}e=c&3;if(!e){break F}while(1){c=b<<2;H[c+d>>2]=H[c+m>>2];b=b+1|0;n=n+1|0;if((e|0)!=(n|0)){continue}break}}H[a+80>>2]=r}a=H[g+8>>2];if(a){qa(a)}b=H[g+40>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[g+32>>2];H[g+32>>2]=0;if(a){qa(a)}da=g- -64|0;return r}va();X()}function Cd(a,b){var 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=O(0),q=0,r=0,s=0,t=0,u=O(0);g=da-80|0;da=g;H[g+56>>2]=0;H[g+60>>2]=0;H[g+48>>2]=0;H[g+52>>2]=0;H[g+64>>2]=1065353216;c=H[a+80>>2];H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;n=ra(d);H[g+16>>2]=n;c=d+n|0;H[g+24>>2]=c;ta(n,0,d);H[g+20>>2]=c;while(1){c=H[H[b>>2]>>2];d=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;c=c+d|0;d=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[g+32>>2]=c;H[g+36>>2]=d;H[g+40>>2]=c;H[g+44>>2]=d;d=0;l=H[g+52>>2];c:{if(!l){break c}h=H[g+48>>2];m=H[g+36>>2]^(H[g+32>>2]^318)+239;c=m&l-1;f=Al(l);d:{if(f>>>0<=1){break d}c=m;if(c>>>0<l>>>0){break d}c=(m>>>0)%(l>>>0)|0}k=h;h=c;c=H[k+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(f>>>0>=2){k=H[g+36>>2];e=H[g+32>>2];while(1){f=H[c+4>>2];f:{if((f|0)!=(m|0)){if(f>>>0>=l>>>0){f=(f>>>0)%(l>>>0)|0}if((f|0)!=(h|0)){break c}break f}f=H[c+8>>2];g:{if((f|0)!=(e|0)){f=(e|0)==(f|0);break g}f=(k|0)==H[c+12>>2]}if(f){break e}}c=H[c>>2];if(c){continue}break}break c}e=l-1|0;k=H[g+36>>2];l=H[g+32>>2];while(1){f=H[c+4>>2];h:{if((f|0)!=(m|0)){if((h|0)!=(e&f)){break c}break h}f=H[c+8>>2];if((f|0)!=(l|0)){if((f|0)!=(l|0)){break h}break e}if((k|0)==H[c+12>>2]){break e}}c=H[c>>2];if(c){continue}break}break c}d=c}i:{if(d){H[(s<<2)+n>>2]=H[d+16>>2];break i}H[g+8>>2]=q;c=H[g+36>>2];H[g>>2]=H[g+32>>2];H[g+4>>2]=c;c=0;m=H[g+4>>2]^(H[g>>2]^318)+239;j:{k:{i=g+48|0;e=H[i+4>>2];if(!e){break k}d=Al(e);l:{if(d>>>0>=2){c=m;if(e>>>0<=c>>>0){c=(m>>>0)%(e>>>0)|0}j=H[H[i>>2]+(c<<2)>>2];if(!j){break k}if(d>>>0<2){break l}f=H[g+4>>2];h=H[g>>2];while(1){j=H[j>>2];if(!j){break k}d=H[j+4>>2];if((d|0)!=(m|0)){if(d>>>0>=e>>>0){d=(d>>>0)%(e>>>0)|0}if((c|0)!=(d|0)){break k}}d=H[j+8>>2];m:{if((d|0)!=(h|0)){d=(d|0)==(h|0);break m}d=(f|0)==H[j+12>>2]}if(!d){continue}break}c=0;break j}c=m&e-1;j=H[H[i>>2]+(c<<2)>>2];if(!j){break k}}h=e-1|0;f=H[g+4>>2];k=H[g>>2];while(1){j=H[j>>2];if(!j){break k}d=H[j+4>>2];if((d|0)!=(m|0)&(d&h)!=(c|0)){break k}d=H[j+8>>2];n:{if((d|0)!=(k|0)){d=(d|0)==(k|0);break n}d=(f|0)==H[j+12>>2]}if(!d){continue}break}c=0;break j}j=ra(20);d=H[g+4>>2];H[j+8>>2]=H[g>>2];H[j+12>>2]=d;d=H[g+8>>2];H[j+4>>2]=m;H[j+16>>2]=d;H[j>>2]=0;u=O(H[i+12>>2]+1>>>0);p=L[i+16>>2];o:{if(u>O(p*O(e>>>0))?0:e){break o}d=(e-1&e)!=0|e>>>0<3|e<<1;c=2;p=O(U(O(u/p)));p:{if(p<O(4294967296)&p>=O(0)){f=~~p>>>0;break p}f=0}d=d>>>0<f>>>0?f:d;q:{if((d|0)==1){break q}if(!(d&d-1)){c=d;break q}c=Ja(d);e=H[i+4>>2]}r:{if(c>>>0<=e>>>0){if(c>>>0>=e>>>0){break r}f=e>>>0<3;p=O(U(O(O(K[i+12>>2])/L[i+16>>2])));s:{if(p<O(4294967296)&p>=O(0)){d=~~p>>>0;break s}d=0}t:{u:{if(f){break u}if(Al(e)>>>0>1){break u}d=d>>>0<2?d:1<<32-Q(d-1|0);break t}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(e>>>0<=c>>>0){break r}}f=0;k=0;e=c;v:{w:{x:{y:{if(c){if(e>>>0>=1073741824){break y}c=ra(e<<2);d=H[i>>2];H[i>>2]=c;if(d){qa(d)}H[i+4>>2]=e;if(e-1>>>0>=3){c=e&-4;d=0;while(1){h=f<<2;H[h+H[i>>2]>>2]=0;H[H[i>>2]+(h|4)>>2]=0;H[H[i>>2]+(h|8)>>2]=0;H[H[i>>2]+(h|12)>>2]=0;f=f+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}c=e&3;if(c){while(1){H[H[i>>2]+(f<<2)>>2]=0;f=f+1|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}d=H[i+8>>2];if(!d){break v}c=i+8|0;h=H[d+4>>2];f=Al(e);if(f>>>0<2){break x}h=e>>>0<=h>>>0?(h>>>0)%(e>>>0)|0:h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}if(f>>>0<=1){break w}while(1){k=H[c+4>>2];if(e>>>0<=k>>>0){k=(k>>>0)%(e>>>0)|0}z:{if((h|0)==(k|0)){d=c;break z}f=c;r=k<<2;l=r+H[i>>2]|0;if(!H[l>>2]){H[l>>2]=d;d=c;h=k;break z}while(1){k=f;f=H[f>>2];if(f){n=H[c+8>>2];l=H[f+8>>2];A:{if((n|0)!=(l|0)){l=(n|0)==(l|0);break A}l=H[c+12>>2]==H[f+12>>2]}if(l){continue}}break}H[d>>2]=f;H[k>>2]=H[H[r+H[i>>2]>>2]>>2];H[H[r+H[i>>2]>>2]>>2]=c}c=H[d>>2];if(c){continue}break}break v}c=H[i>>2];H[i>>2]=0;if(c){qa(c)}H[i+4>>2]=0;break v}ya(1604);X()}h=e-1&h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}}n=e-1|0;while(1){k=n&H[c+4>>2];B:{if((k|0)==(h|0)){d=c;break B}f=c;r=k<<2;e=r+H[i>>2]|0;if(H[e>>2]){while(1){k=f;f=H[f>>2];if(f){l=H[c+8>>2];e=H[f+8>>2];C:{if((l|0)!=(e|0)){e=(e|0)==(l|0);break C}e=H[c+12>>2]==H[f+12>>2]}if(e){continue}}break}H[d>>2]=f;H[k>>2]=H[H[r+H[i>>2]>>2]>>2];H[H[r+H[i>>2]>>2]>>2]=c;break B}H[e>>2]=d;d=c;h=k}c=H[d>>2];if(c){continue}break}}}e=H[i+4>>2];c=e-1|0;if(!(c&e)){c=c&m;break o}if(e>>>0>m>>>0){c=m;break o}c=(m>>>0)%(e>>>0)|0}c=H[i>>2]+(c<<2)|0;d=H[c>>2];D:{if(!d){H[j>>2]=H[i+8>>2];H[i+8>>2]=j;H[c>>2]=i+8;c=H[j>>2];if(!c){break D}c=H[c+4>>2];d=e-1|0;E:{if(!(d&e)){c=c&d;break E}if(c>>>0<e>>>0){break E}c=(c>>>0)%(e>>>0)|0}H[H[i>>2]+(c<<2)>>2]=j;break D}H[j>>2]=H[d>>2];H[d>>2]=j}H[i+12>>2]=H[i+12>>2]+1;c=1}F[g+76|0]=c;H[g+72>>2]=j;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,q)|0,g+40|0,c);n=H[g+16>>2];H[n+(s<<2)>>2]=q;q=q+1|0}c=s+1|0;o=c?o:o+1|0;s=c;c=H[a+80>>2];if(!o&c>>>0>s>>>0){continue}break}if((c|0)==(q|0)){break b}F:{if(!I[a+84|0]){m=H[a+68>>2];b=H[a+72>>2]-m|0;if(!b){break F}h=H[g+16>>2];b=b>>2;c=b>>>0>1?b:1;f=c&3;e=0;b=0;if(c-1>>>0>=3){d=c&-4;while(1){o=b<<2;c=o+m|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|4)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|8)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|12)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+4|0;t=t+4|0;if((d|0)!=(t|0)){continue}break}}if(!f){break F}while(1){c=m+(b<<2)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break F}F[a+84|0]=0;n=H[a+68>>2];b=H[a+72>>2]-n>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);n=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+n}if(!c){break F}h=H[g+16>>2];e=0;b=0;if(c-1>>>0>=3){f=c&-4;while(1){o=b<<2;H[o+n>>2]=H[h+o>>2];d=o|4;H[d+n>>2]=H[d+h>>2];d=o|8;H[d+n>>2]=H[d+h>>2];d=o|12;H[d+n>>2]=H[d+h>>2];b=b+4|0;t=t+4|0;if((f|0)!=(t|0)){continue}break}}d=c&3;if(!d){break F}while(1){c=b<<2;H[c+n>>2]=H[c+h>>2];b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}H[a+80>>2]=q}a=H[g+16>>2];if(a){qa(a)}b=H[g+56>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[g+48>>2];H[g+48>>2]=0;if(a){qa(a)}da=g+80|0;return q}va();X()}function wf(a,b){var 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=O(0),q=0,r=0,s=0,t=0,u=O(0);g=da+-64|0;da=g;H[g+40>>2]=0;H[g+44>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;H[g+48>>2]=1065353216;c=H[a+80>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;n=ra(d);H[g+8>>2]=n;c=d+n|0;H[g+16>>2]=c;ta(n,0,d);H[g+12>>2]=c;while(1){c=H[H[b>>2]>>2];f=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;c=c+f|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[g+24>>2]=c;H[g+28>>2]=c;d=0;l=H[g+36>>2];c:{if(!l){break c}h=H[g+32>>2];m=J[g+26>>1]^(J[g+24>>1]^318)+239;c=m&l+131071;f=Al(l);d:{if(f>>>0<=1){break d}c=m;if(c>>>0<l>>>0){break d}c=(m>>>0)%(l>>>0)|0}j=h;h=c;c=H[j+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(f>>>0>=2){e=J[g+24>>1];j=J[g+26>>1];while(1){f=H[c+4>>2];f:{if((f|0)!=(m|0)){if(f>>>0>=l>>>0){f=(f>>>0)%(l>>>0)|0}if((f|0)!=(h|0)){break c}break f}f=J[c+8>>1];g:{if((f|0)!=(e|0)){f=(e|0)==(f|0);break g}f=(j|0)==J[c+10>>1]}if(f){break e}}c=H[c>>2];if(c){continue}break}break c}e=l-1|0;l=J[g+24>>1];j=J[g+26>>1];while(1){f=H[c+4>>2];h:{if((f|0)!=(m|0)){if((h|0)!=(e&f)){break c}break h}f=J[c+8>>1];if((f|0)!=(l|0)){if((f|0)!=(l|0)){break h}break e}if((j|0)==J[c+10>>1]){break e}}c=H[c>>2];if(c){continue}break}break c}d=c}i:{if(d){H[(s<<2)+n>>2]=H[d+12>>2];break i}H[g+4>>2]=q;H[g>>2]=H[g+24>>2];c=0;m=J[g+2>>1]^(J[g>>1]^318)+239;j:{k:{i=g+32|0;e=H[i+4>>2];if(!e){break k}d=Al(e);l:{if(d>>>0>=2){c=m;if(e>>>0<=c>>>0){c=(m>>>0)%(e>>>0)|0}k=H[H[i>>2]+(c<<2)>>2];if(!k){break k}if(d>>>0<2){break l}h=J[g>>1];f=J[g+2>>1];while(1){k=H[k>>2];if(!k){break k}d=H[k+4>>2];if((d|0)!=(m|0)){if(d>>>0>=e>>>0){d=(d>>>0)%(e>>>0)|0}if((c|0)!=(d|0)){break k}}d=J[k+8>>1];m:{if((d|0)!=(h|0)){d=(d|0)==(h|0);break m}d=(f|0)==J[k+10>>1]}if(!d){continue}break}c=0;break j}c=m&e+131071;k=H[H[i>>2]+(c<<2)>>2];if(!k){break k}}h=e-1|0;j=J[g>>1];f=J[g+2>>1];while(1){k=H[k>>2];if(!k){break k}d=H[k+4>>2];if((d|0)!=(m|0)&(d&h)!=(c|0)){break k}d=J[k+8>>1];n:{if((d|0)!=(j|0)){d=(d|0)==(j|0);break n}d=(f|0)==J[k+10>>1]}if(!d){continue}break}c=0;break j}k=ra(16);H[k+8>>2]=H[g>>2];d=H[g+4>>2];H[k+4>>2]=m;H[k+12>>2]=d;H[k>>2]=0;u=O(H[i+12>>2]+1>>>0);p=L[i+16>>2];o:{if(u>O(p*O(e>>>0))?0:e){break o}d=(e-1&e)!=0|e>>>0<3|e<<1;c=2;p=O(U(O(u/p)));p:{if(p<O(4294967296)&p>=O(0)){f=~~p>>>0;break p}f=0}d=d>>>0<f>>>0?f:d;q:{if((d|0)==1){break q}if(!(d&d-1)){c=d;break q}c=Ja(d);e=H[i+4>>2]}r:{if(c>>>0<=e>>>0){if(c>>>0>=e>>>0){break r}f=e>>>0<3;p=O(U(O(O(K[i+12>>2])/L[i+16>>2])));s:{if(p<O(4294967296)&p>=O(0)){d=~~p>>>0;break s}d=0}t:{u:{if(f){break u}if(Al(e)>>>0>1){break u}d=d>>>0<2?d:1<<32-Q(d-1|0);break t}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(e>>>0<=c>>>0){break r}}f=0;j=0;e=c;v:{w:{x:{y:{if(c){if(e>>>0>=1073741824){break y}c=ra(e<<2);d=H[i>>2];H[i>>2]=c;if(d){qa(d)}H[i+4>>2]=e;if(e-1>>>0>=3){c=e&-4;d=0;while(1){h=f<<2;H[h+H[i>>2]>>2]=0;H[H[i>>2]+(h|4)>>2]=0;H[H[i>>2]+(h|8)>>2]=0;H[H[i>>2]+(h|12)>>2]=0;f=f+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}c=e&3;if(c){while(1){H[H[i>>2]+(f<<2)>>2]=0;f=f+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}d=H[i+8>>2];if(!d){break v}c=i+8|0;h=H[d+4>>2];f=Al(e);if(f>>>0<2){break x}h=e>>>0<=h>>>0?(h>>>0)%(e>>>0)|0:h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}if(f>>>0<=1){break w}while(1){j=H[c+4>>2];if(e>>>0<=j>>>0){j=(j>>>0)%(e>>>0)|0}z:{if((h|0)==(j|0)){d=c;break z}f=c;r=j<<2;l=r+H[i>>2]|0;if(!H[l>>2]){H[l>>2]=d;d=c;h=j;break z}while(1){j=f;f=H[f>>2];if(f){n=J[c+8>>1];l=J[f+8>>1];A:{if((n|0)!=(l|0)){l=(n|0)==(l|0);break A}l=J[c+10>>1]==J[f+10>>1]}if(l){continue}}break}H[d>>2]=f;H[j>>2]=H[H[r+H[i>>2]>>2]>>2];H[H[r+H[i>>2]>>2]>>2]=c}c=H[d>>2];if(c){continue}break}break v}c=H[i>>2];H[i>>2]=0;if(c){qa(c)}H[i+4>>2]=0;break v}ya(1604);X()}h=e-1&h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}}n=e-1|0;while(1){j=n&H[c+4>>2];B:{if((j|0)==(h|0)){d=c;break B}f=c;r=j<<2;e=r+H[i>>2]|0;if(H[e>>2]){while(1){j=f;f=H[f>>2];if(f){l=J[c+8>>1];e=J[f+8>>1];C:{if((l|0)!=(e|0)){e=(e|0)==(l|0);break C}e=J[c+10>>1]==J[f+10>>1]}if(e){continue}}break}H[d>>2]=f;H[j>>2]=H[H[r+H[i>>2]>>2]>>2];H[H[r+H[i>>2]>>2]>>2]=c;break B}H[e>>2]=d;d=c;h=j}c=H[d>>2];if(c){continue}break}}}e=H[i+4>>2];c=e-1|0;if(!(c&e)){c=c&m;break o}if(e>>>0>m>>>0){c=m;break o}c=(m>>>0)%(e>>>0)|0}c=H[i>>2]+(c<<2)|0;d=H[c>>2];D:{if(!d){H[k>>2]=H[i+8>>2];H[i+8>>2]=k;H[c>>2]=i+8;c=H[k>>2];if(!c){break D}c=H[c+4>>2];d=e-1|0;E:{if(!(d&e)){c=c&d;break E}if(c>>>0<e>>>0){break E}c=(c>>>0)%(e>>>0)|0}H[H[i>>2]+(c<<2)>>2]=k;break D}H[k>>2]=H[d>>2];H[d>>2]=k}H[i+12>>2]=H[i+12>>2]+1;c=1}F[g+60|0]=c;H[g+56>>2]=k;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,q)|0,g+28|0,c);n=H[g+8>>2];H[n+(s<<2)>>2]=q;q=q+1|0}c=s+1|0;o=c?o:o+1|0;s=c;c=H[a+80>>2];if(!o&c>>>0>s>>>0){continue}break}if((c|0)==(q|0)){break b}F:{if(!I[a+84|0]){m=H[a+68>>2];b=H[a+72>>2]-m|0;if(!b){break F}h=H[g+8>>2];b=b>>2;c=b>>>0>1?b:1;f=c&3;e=0;b=0;if(c-1>>>0>=3){d=c&-4;while(1){o=b<<2;c=o+m|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|4)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|8)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|12)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+4|0;t=t+4|0;if((d|0)!=(t|0)){continue}break}}if(!f){break F}while(1){c=m+(b<<2)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break F}F[a+84|0]=0;n=H[a+68>>2];b=H[a+72>>2]-n>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);n=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+n}if(!c){break F}h=H[g+8>>2];e=0;b=0;if(c-1>>>0>=3){f=c&-4;while(1){o=b<<2;H[o+n>>2]=H[h+o>>2];d=o|4;H[d+n>>2]=H[d+h>>2];d=o|8;H[d+n>>2]=H[d+h>>2];d=o|12;H[d+n>>2]=H[d+h>>2];b=b+4|0;t=t+4|0;if((f|0)!=(t|0)){continue}break}}d=c&3;if(!d){break F}while(1){c=b<<2;H[c+n>>2]=H[c+h>>2];b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}H[a+80>>2]=q}a=H[g+8>>2];if(a){qa(a)}b=H[g+40>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[g+32>>2];H[g+32>>2]=0;if(a){qa(a)}da=g- -64|0;return q}va();X()}function Hf(a,b){var 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=O(0),q=0,r=0,s=0,t=0,u=O(0);g=da+-64|0;da=g;H[g+40>>2]=0;H[g+44>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;H[g+48>>2]=1065353216;c=H[a+80>>2];H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;n=ra(d);H[g+16>>2]=n;c=d+n|0;H[g+24>>2]=c;ta(n,0,d);H[g+20>>2]=c;while(1){c=H[H[b>>2]>>2];f=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],s,0)|0;c=c+f|0;c=I[c|0]|I[c+1|0]<<8;G[g+28>>1]=c;G[g+30>>1]=c;d=0;l=H[g+36>>2];c:{if(!l){break c}h=H[g+32>>2];m=I[g+29|0]^(I[g+28|0]^318)+239;c=m&l+1023;f=Al(l);d:{if(f>>>0<=1){break d}c=m;if(c>>>0<l>>>0){break d}c=(m>>>0)%(l>>>0)|0}j=h;h=c;c=H[j+(c<<2)>>2];if(!c){break c}c=H[c>>2];if(!c){break c}e:{if(f>>>0>=2){e=I[g+28|0];j=I[g+29|0];while(1){f=H[c+4>>2];f:{if((f|0)!=(m|0)){if(f>>>0>=l>>>0){f=(f>>>0)%(l>>>0)|0}if((f|0)!=(h|0)){break c}break f}f=I[c+8|0];g:{if((f|0)!=(e|0)){f=(e|0)==(f|0);break g}f=(j|0)==I[c+9|0]}if(f){break e}}c=H[c>>2];if(c){continue}break}break c}e=l-1|0;l=I[g+28|0];j=I[g+29|0];while(1){f=H[c+4>>2];h:{if((f|0)!=(m|0)){if((h|0)!=(e&f)){break c}break h}f=I[c+8|0];if((f|0)!=(l|0)){if((f|0)!=(l|0)){break h}break e}if((j|0)==I[c+9|0]){break e}}c=H[c>>2];if(c){continue}break}break c}d=c}i:{if(d){H[(s<<2)+n>>2]=H[d+12>>2];break i}H[g+12>>2]=q;G[g+8>>1]=J[g+28>>1];c=0;m=I[g+9|0]^(I[g+8|0]^318)+239;j:{k:{i=g+32|0;e=H[i+4>>2];if(!e){break k}d=Al(e);l:{if(d>>>0>=2){c=m;if(e>>>0<=c>>>0){c=(m>>>0)%(e>>>0)|0}k=H[H[i>>2]+(c<<2)>>2];if(!k){break k}if(d>>>0<2){break l}h=I[g+8|0];f=I[g+9|0];while(1){k=H[k>>2];if(!k){break k}d=H[k+4>>2];if((d|0)!=(m|0)){if(d>>>0>=e>>>0){d=(d>>>0)%(e>>>0)|0}if((c|0)!=(d|0)){break k}}d=I[k+8|0];m:{if((d|0)!=(h|0)){d=(d|0)==(h|0);break m}d=(f|0)==I[k+9|0]}if(!d){continue}break}c=0;break j}c=m&e+1023;k=H[H[i>>2]+(c<<2)>>2];if(!k){break k}}h=e-1|0;j=I[g+8|0];f=I[g+9|0];while(1){k=H[k>>2];if(!k){break k}d=H[k+4>>2];if((d|0)!=(m|0)&(d&h)!=(c|0)){break k}d=I[k+8|0];n:{if((d|0)!=(j|0)){d=(d|0)==(j|0);break n}d=(f|0)==I[k+9|0]}if(!d){continue}break}c=0;break j}k=ra(16);G[k+8>>1]=J[g+8>>1];d=H[g+12>>2];H[k+4>>2]=m;H[k+12>>2]=d;H[k>>2]=0;u=O(H[i+12>>2]+1>>>0);p=L[i+16>>2];o:{if(u>O(p*O(e>>>0))?0:e){break o}d=(e-1&e)!=0|e>>>0<3|e<<1;c=2;p=O(U(O(u/p)));p:{if(p<O(4294967296)&p>=O(0)){f=~~p>>>0;break p}f=0}d=d>>>0<f>>>0?f:d;q:{if((d|0)==1){break q}if(!(d&d-1)){c=d;break q}c=Ja(d);e=H[i+4>>2]}r:{if(c>>>0<=e>>>0){if(c>>>0>=e>>>0){break r}f=e>>>0<3;p=O(U(O(O(K[i+12>>2])/L[i+16>>2])));s:{if(p<O(4294967296)&p>=O(0)){d=~~p>>>0;break s}d=0}t:{u:{if(f){break u}if(Al(e)>>>0>1){break u}d=d>>>0<2?d:1<<32-Q(d-1|0);break t}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(e>>>0<=c>>>0){break r}}f=0;j=0;e=c;v:{w:{x:{y:{if(c){if(e>>>0>=1073741824){break y}c=ra(e<<2);d=H[i>>2];H[i>>2]=c;if(d){qa(d)}H[i+4>>2]=e;if(e-1>>>0>=3){c=e&-4;d=0;while(1){h=f<<2;H[h+H[i>>2]>>2]=0;H[H[i>>2]+(h|4)>>2]=0;H[H[i>>2]+(h|8)>>2]=0;H[H[i>>2]+(h|12)>>2]=0;f=f+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}c=e&3;if(c){while(1){H[H[i>>2]+(f<<2)>>2]=0;f=f+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}d=H[i+8>>2];if(!d){break v}c=i+8|0;h=H[d+4>>2];f=Al(e);if(f>>>0<2){break x}h=e>>>0<=h>>>0?(h>>>0)%(e>>>0)|0:h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}if(f>>>0<=1){break w}while(1){j=H[c+4>>2];if(e>>>0<=j>>>0){j=(j>>>0)%(e>>>0)|0}z:{if((h|0)==(j|0)){d=c;break z}f=c;r=j<<2;l=r+H[i>>2]|0;if(!H[l>>2]){H[l>>2]=d;d=c;h=j;break z}while(1){j=f;f=H[f>>2];if(f){n=I[c+8|0];l=I[f+8|0];A:{if((n|0)!=(l|0)){l=(n|0)==(l|0);break A}l=I[c+9|0]==I[f+9|0]}if(l){continue}}break}H[d>>2]=f;H[j>>2]=H[H[r+H[i>>2]>>2]>>2];H[H[r+H[i>>2]>>2]>>2]=c}c=H[d>>2];if(c){continue}break}break v}c=H[i>>2];H[i>>2]=0;if(c){qa(c)}H[i+4>>2]=0;break v}ya(1604);X()}h=e-1&h;H[H[i>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break v}}n=e-1|0;while(1){j=n&H[c+4>>2];B:{if((j|0)==(h|0)){d=c;break B}f=c;r=j<<2;e=r+H[i>>2]|0;if(H[e>>2]){while(1){j=f;f=H[f>>2];if(f){l=I[c+8|0];e=I[f+8|0];C:{if((l|0)!=(e|0)){e=(e|0)==(l|0);break C}e=I[c+9|0]==I[f+9|0]}if(e){continue}}break}H[d>>2]=f;H[j>>2]=H[H[r+H[i>>2]>>2]>>2];H[H[r+H[i>>2]>>2]>>2]=c;break B}H[e>>2]=d;d=c;h=j}c=H[d>>2];if(c){continue}break}}}e=H[i+4>>2];c=e-1|0;if(!(c&e)){c=c&m;break o}if(e>>>0>m>>>0){c=m;break o}c=(m>>>0)%(e>>>0)|0}c=H[i>>2]+(c<<2)|0;d=H[c>>2];D:{if(!d){H[k>>2]=H[i+8>>2];H[i+8>>2]=k;H[c>>2]=i+8;c=H[k>>2];if(!c){break D}c=H[c+4>>2];d=e-1|0;E:{if(!(d&e)){c=c&d;break E}if(c>>>0<e>>>0){break E}c=(c>>>0)%(e>>>0)|0}H[H[i>>2]+(c<<2)>>2]=k;break D}H[k>>2]=H[d>>2];H[d>>2]=k}H[i+12>>2]=H[i+12>>2]+1;c=1}F[g+60|0]=c;H[g+56>>2]=k;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,q)|0,g+30|0,c);n=H[g+16>>2];H[n+(s<<2)>>2]=q;q=q+1|0}c=s+1|0;o=c?o:o+1|0;s=c;c=H[a+80>>2];if(!o&c>>>0>s>>>0){continue}break}if((c|0)==(q|0)){break b}F:{if(!I[a+84|0]){m=H[a+68>>2];b=H[a+72>>2]-m|0;if(!b){break F}h=H[g+16>>2];b=b>>2;c=b>>>0>1?b:1;f=c&3;e=0;b=0;if(c-1>>>0>=3){d=c&-4;while(1){o=b<<2;c=o+m|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|4)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|8)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];c=m+(o|12)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+4|0;t=t+4|0;if((d|0)!=(t|0)){continue}break}}if(!f){break F}while(1){c=m+(b<<2)|0;H[c>>2]=H[h+(H[c>>2]<<2)>>2];b=b+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break F}F[a+84|0]=0;n=H[a+68>>2];b=H[a+72>>2]-n>>2;G:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);n=H[a+68>>2];c=H[a+80>>2];break G}if(b>>>0<=c>>>0){break G}H[a+72>>2]=(c<<2)+n}if(!c){break F}h=H[g+16>>2];e=0;b=0;if(c-1>>>0>=3){f=c&-4;while(1){o=b<<2;H[o+n>>2]=H[h+o>>2];d=o|4;H[d+n>>2]=H[d+h>>2];d=o|8;H[d+n>>2]=H[d+h>>2];d=o|12;H[d+n>>2]=H[d+h>>2];b=b+4|0;t=t+4|0;if((f|0)!=(t|0)){continue}break}}d=c&3;if(!d){break F}while(1){c=b<<2;H[c+n>>2]=H[c+h>>2];b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}H[a+80>>2]=q}a=H[g+16>>2];if(a){qa(a)}b=H[g+40>>2];if(b){while(1){a=H[b>>2];qa(b);b=a;if(b){continue}break}}a=H[g+32>>2];H[g+32>>2]=0;if(a){qa(a)}da=g- -64|0;return q}va();X()}function Th(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;l=da-560|0;da=l;H[l+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;w=1285;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;w=1288;break a}s=e&1;w=s?1291:1286;z=!s}b:{if((g&2146435072)==2146435072){d=s+3|0;Ua(a,32,c,d,e&-65537);Sa(a,w,s);f=f&32;Sa(a,b!=b?f?1546:1787:f?1597:1791,3);Ua(a,32,c,d,e^8192);i=(c|0)>(d|0)?c:d;break b}u=l+16|0;c:{d:{e:{b=Le(b,l+44|0);b=b+b;if(b!=0){g=H[l+44>>2];H[l+44>>2]=g-1;r=f|32;if((r|0)!=97){break e}break c}r=f|32;if((r|0)==97){break c}k=H[l+44>>2];m=(d|0)<0?6:d;break d}k=g-29|0;H[l+44>>2]=k;b=b*268435456;m=(d|0)<0?6:d}p=(k|0)<0?l+48|0:l+336|0;h=p;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}H[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<=0){d=k;g=h;j=p;break f}j=p;d=k;while(1){d=d>>>0<29?d:29;g=h-4|0;g:{if(j>>>0>g>>>0){break g}i=0;while(1){o=H[g>>2];n=d&31;x=i;if((d&63)>>>0>=32){i=o<<n;o=0}else{i=(1<<n)-1&o>>>32-n;o=o<<n}n=x+o|0;i=i+y|0;i=n>>>0<o>>>0?i+1|0:i;i=zl(n,i,1e9,0);o=xl(i,ea,1e9,0);H[g>>2]=n-o;g=g-4|0;if(j>>>0<=g>>>0){continue}break}if(!i){break g}j=j-4|0;H[j>>2]=i}while(1){g=h;if(j>>>0<g>>>0){h=g-4|0;if(!H[h>>2]){continue}}break}d=H[l+44>>2]-d|0;H[l+44>>2]=d;h=g;if((d|0)>0){continue}break}}h=(m+25>>>0)/9|0;if((d|0)<0){t=h+1|0;n=(r|0)==102;while(1){d=0-d|0;i=d>>>0<9?d:9;h:{if(g>>>0>j>>>0){o=1e9>>>i|0;y=-1<<i^-1;d=0;h=j;while(1){x=d;d=H[h>>2];H[h>>2]=x+(d>>>i|0);d=N(o,d&y);h=h+4|0;if(h>>>0<g>>>0){continue}break}h=H[j>>2];if(!d){break h}H[g>>2]=d;g=g+4|0;break h}h=H[j>>2]}d=i+H[l+44>>2]|0;H[l+44>>2]=d;j=(!h<<2)+j|0;h=n?p:j;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=j>>>0){break i}d=N(p-j>>2,9);h=10;i=H[j>>2];if(i>>>0<10){break i}while(1){d=d+1|0;h=N(h,10);if(i>>>0>=h>>>0){continue}break}}h=(m-((r|0)==102?0:d)|0)-((r|0)==103&(m|0)!=0)|0;if((h|0)<(N(g-p>>2,9)-9|0)){i=h+9216|0;n=(i|0)/9|0;k=((((k|0)<0?4:292)+l|0)+(n<<2)|0)-4048|0;h=10;i=i-N(n,9)|0;if((i|0)<=7){while(1){h=N(h,10);i=i+1|0;if((i|0)!=8){continue}break}}n=H[k>>2];t=(n>>>0)/(h>>>0)|0;i=n-N(h,t)|0;o=k+4|0;j:{if(!i&(o|0)==(g|0)){break j}k:{if(!(t&1)){b=9007199254740992;if(!(F[k-4|0]&1)|((h|0)!=1e9|j>>>0>=k>>>0)){break k}}b=9007199254740994}q=(g|0)==(o|0)?1:1.5;o=h>>>1|0;q=i>>>0<o>>>0?.5:(o|0)==(i|0)?q:1.5;if(!(I[w|0]!=45|z)){q=-q;b=-b}i=n-i|0;H[k>>2]=i;if(b+q==b){break j}d=h+i|0;H[k>>2]=d;if(d>>>0>=1e9){while(1){H[k>>2]=0;k=k-4|0;if(k>>>0<j>>>0){j=j-4|0;H[j>>2]=0}d=H[k>>2]+1|0;H[k>>2]=d;if(d>>>0>999999999){continue}break}}d=N(p-j>>2,9);h=10;i=H[j>>2];if(i>>>0<10){break j}while(1){d=d+1|0;h=N(h,10);if(i>>>0>=h>>>0){continue}break}}h=k+4|0;g=g>>>0>h>>>0?h:g}while(1){h=g;i=g>>>0<=j>>>0;if(!i){g=h-4|0;if(!H[g>>2]){continue}}break}l:{if((r|0)!=103){k=e&8;break l}g=m?m:1;k=(g|0)>(d|0)&(d|0)>-5;m=(k?d^-1:-1)+g|0;f=(k?-1:-2)+f|0;k=e&8;if(k){break l}g=-9;m:{if(i){break m}n=H[h-4>>2];if(!n){break m}i=10;g=0;if((n>>>0)%10|0){break m}while(1){k=g;g=g+1|0;i=N(i,10);if(!((n>>>0)%(i>>>0)|0)){continue}break}g=k^-1}i=N(h-p>>2,9);if((f&-33)==70){k=0;g=(g+i|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g;break l}k=0;g=((d+i|0)+g|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g}i=-1;r=k|m;if(((r?2147483645:2147483646)|0)<(m|0)){break b}n=(((r|0)!=0)+m|0)+1|0;o=f&-33;n:{if((o|0)==70){if((2147483647-n|0)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=ec(g+d^g,0,u);if((u-g|0)<=1){while(1){g=g-1|0;F[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;F[t|0]=f;F[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(2147483647-n|0)){break b}}d=g+n|0;if((d|0)>(s^2147483647)){break b}f=d+s|0;Ua(a,32,c,f,e);Sa(a,w,s);Ua(a,48,c,f,e^65536);o:{p:{q:{if((o|0)==70){g=l+16|0;d=g|8;k=g|9;i=j>>>0>p>>>0?p:j;j=i;while(1){g=ec(H[j>>2],0,k);r:{if((i|0)!=(j|0)){if(l+16>>>0>=g>>>0){break r}while(1){g=g-1|0;F[g|0]=48;if(l+16>>>0<g>>>0){continue}break}break r}if((g|0)!=(k|0)){break r}F[l+24|0]=48;g=d}Sa(a,g,k-g|0);j=j+4|0;if(p>>>0>=j>>>0){continue}break}if(r){Sa(a,2125,1)}if((m|0)<=0|h>>>0<=j>>>0){break q}while(1){g=ec(H[j>>2],0,k);if(g>>>0>l+16>>>0){while(1){g=g-1|0;F[g|0]=48;if(l+16>>>0<g>>>0){continue}break}}Sa(a,g,(m|0)<9?m:9);g=m-9|0;j=j+4|0;if(h>>>0<=j>>>0){break p}d=(m|0)>9;m=g;if(d){continue}break}break p}s:{if((m|0)<0){break s}i=h>>>0>j>>>0?h:j+4|0;d=l+16|0;p=d|9;d=d|8;h=j;while(1){g=ec(H[h>>2],0,p);if((p|0)==(g|0)){F[l+24|0]=48;g=d}t:{if((h|0)!=(j|0)){if(l+16>>>0>=g>>>0){break t}while(1){g=g-1|0;F[g|0]=48;if(l+16>>>0<g>>>0){continue}break}break t}Sa(a,g,1);g=g+1|0;if(!(k|m)){break t}Sa(a,2125,1)}x=g;g=p-g|0;Sa(a,x,(g|0)<(m|0)?g:m);m=m-g|0;h=h+4|0;if(i>>>0<=h>>>0){break s}if((m|0)>=0){continue}break}}Ua(a,48,m+18|0,18,0);Sa(a,t,u-t|0);break o}g=m}Ua(a,48,g+9|0,9,0)}Ua(a,32,c,f,e^8192);i=(c|0)>(f|0)?c:f;break b}m=(f<<26>>31&9)+w|0;u:{if(d>>>0>11){break u}g=12-d|0;q=16;while(1){q=q*16;g=g-1|0;if(g){continue}break}if(I[m|0]==45){b=-(q+(-b-q));break u}b=b+q-q}h=H[l+44>>2];g=h>>31;g=ec(g^g+h,0,u);if((u|0)==(g|0)){F[l+15|0]=48;g=l+15|0}k=s|2;j=f&32;h=H[l+44>>2];p=g-2|0;F[p|0]=f+15;F[g-1|0]=(h|0)<0?45:43;i=e&8;h=l+16|0;while(1){f=h;if(P(b)<2147483648){g=~~b}else{g=-2147483648}F[h|0]=j|I[g+17792|0];b=(b-+(g|0))*16;h=f+1|0;if(!(!((d|0)>0|i)&b==0|(h-(l+16|0)|0)!=1)){F[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}i=-1;n=u-p|0;f=n+k|0;if((2147483645-f|0)<(d|0)){break b}v:{w:{if(!d){break w}j=h-(l+16|0)|0;if((j-2|0)>=(d|0)){break w}g=d+2|0;break v}j=h-(l+16|0)|0;g=j}d=g+f|0;Ua(a,32,c,d,e);Sa(a,m,k);Ua(a,48,c,d,e^65536);Sa(a,l+16|0,j);Ua(a,48,g-j|0,0,0);Sa(a,p,n);Ua(a,32,c,d,e^8192);i=(c|0)>(d|0)?c:d}da=l+560|0;return i|0}function Ke(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;f=da-80|0;da=f;H[f+76>>2]=1601;v=f+55|0;r=f+56|0;a:{b:{c:{d:{e:while(1){if((2147483647-m|0)<(e|0)){break d}m=e+m|0;f:{g:{h:{l=H[f+76>>2];e=l;k=I[e|0];if(k){while(1){i:{g=k&255;j:{if(!g){k=e;break j}if((g|0)!=37){break i}k=e;while(1){if(I[e+1|0]!=37){break j}g=e+2|0;H[f+76>>2]=g;k=k+1|0;h=I[e+2|0];e=g;if((h|0)==37){continue}break}}e=k-l|0;u=2147483647-m|0;if((e|0)>(u|0)){break d}if(a){Sa(a,l,e)}if(e){continue e}p=-1;g=1;e=H[f+76>>2];if(!(F[e+1|0]-48>>>0>=10|I[e+2|0]!=36)){p=F[e+1|0]-48|0;t=1;g=3}e=g+e|0;H[f+76>>2]=e;n=0;i=F[e|0];h=i-32|0;k:{if(h>>>0>31){g=e;break k}g=e;j=1<<h;if(!(j&75913)){break k}while(1){g=e+1|0;H[f+76>>2]=g;n=j|n;i=F[e+1|0];h=i-32|0;if(h>>>0>=32){break k}e=g;j=1<<h;if(j&75913){continue}break}}l:{if((i|0)==42){m:{n:{if(F[g+1|0]-48>>>0>=10){break n}e=H[f+76>>2];if(I[e+2|0]!=36){break n}H[((F[e+1|0]<<2)+d|0)-192>>2]=10;o=H[((F[e+1|0]<<3)+c|0)-384>>2];t=1;e=e+3|0;break m}if(t){break h}t=0;o=0;if(a){e=H[b>>2];H[b>>2]=e+4;o=H[e>>2]}e=H[f+76>>2]+1|0}H[f+76>>2]=e;if((o|0)>=0){break l}o=0-o|0;n=n|8192;break l}o=Je(f+76|0);if((o|0)<0){break d}e=H[f+76>>2]}g=0;j=-1;q=0;o:{if(I[e|0]!=46){break o}if(I[e+1|0]==42){p:{q:{if(F[e+2|0]-48>>>0>=10){break q}e=H[f+76>>2];if(I[e+3|0]!=36){break q}H[((F[e+2|0]<<2)+d|0)-192>>2]=10;j=H[((F[e+2|0]<<3)+c|0)-384>>2];e=e+4|0;break p}if(t){break h}if(a){e=H[b>>2];H[b>>2]=e+4;j=H[e>>2]}else{j=0}e=H[f+76>>2]+2|0}H[f+76>>2]=e;q=(j^-1)>>>31|0;break o}H[f+76>>2]=e+1;j=Je(f+76|0);e=H[f+76>>2];q=1}while(1){s=g;k=28;if(F[e|0]-123>>>0<4294967238){break c}i=e+1|0;H[f+76>>2]=i;g=F[e|0];e=i;g=I[(g+N(s,58)|0)+17263|0];if(g-1>>>0<8){continue}break}r:{s:{if((g|0)!=27){if(!g){break c}if((p|0)>=0){H[(p<<2)+d>>2]=g;e=(p<<3)+c|0;g=H[e+4>>2];H[f+64>>2]=H[e>>2];H[f+68>>2]=g;break s}if(!a){break f}Ie(f- -64|0,g,b);i=H[f+76>>2];break r}if((p|0)>=0){break c}}e=0;if(!a){continue e}}h=n&-65537;g=n&8192?h:n;n=0;p=1275;k=r;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{e=F[i-1|0];e=s?(e&15)==3?e&-33:e:e;switch(e-88|0){case 11:break t;case 9:case 13:case 14:case 15:break u;case 27:break z;case 12:case 17:break C;case 23:break D;case 0:case 32:break E;case 24:break F;case 22:break G;case 29:break H;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break g;default:break I}}J:{switch(e-65|0){case 0:case 4:case 5:case 6:break u;case 2:break x;case 1:case 3:break g;default:break J}}if((e|0)==83){break y}break g}i=H[f+64>>2];h=H[f+68>>2];p=1275;break B}e=0;K:{switch(s&255){case 0:H[H[f+64>>2]>>2]=m;continue e;case 1:H[H[f+64>>2]>>2]=m;continue e;case 2:g=H[f+64>>2];H[g>>2]=m;H[g+4>>2]=m>>31;continue e;case 3:G[H[f+64>>2]>>1]=m;continue e;case 4:F[H[f+64>>2]]=m;continue e;case 6:H[H[f+64>>2]>>2]=m;continue e;case 7:break K;default:continue e}}g=H[f+64>>2];H[g>>2]=m;H[g+4>>2]=m>>31;continue e}j=j>>>0>8?j:8;g=g|8;e=120}l=r;w=e&32;i=H[f+64>>2];h=H[f+68>>2];if(i|h){while(1){l=l-1|0;F[l|0]=w|I[(i&15)+17792|0];x=!h&i>>>0>15|(h|0)!=0;s=h;h=h>>>4|0;i=(s&15)<<28|i>>>4;if(x){continue}break}}if(!(H[f+64>>2]|H[f+68>>2])|!(g&8)){break A}p=(e>>>4|0)+1275|0;n=2;break A}e=r;i=H[f+64>>2];h=H[f+68>>2];if(i|h){while(1){e=e-1|0;F[e|0]=i&7|48;s=!h&i>>>0>7|(h|0)!=0;l=h;h=h>>>3|0;i=(l&7)<<29|i>>>3;if(s){continue}break}}l=e;if(!(g&8)){break A}e=r-l|0;j=(e|0)<(j|0)?j:e+1|0;break A}e=H[f+68>>2];h=e;i=H[f+64>>2];if((e|0)<0){h=0-(h+((i|0)!=0)|0)|0;i=0-i|0;H[f+64>>2]=i;H[f+68>>2]=h;n=1;p=1275;break B}if(g&2048){n=1;p=1276;break B}n=g&1;p=n?1277:1275}l=ec(i,h,r)}if((j|0)<0?q:0){break d}g=q?g&-65537:g;h=H[f+64>>2];e=H[f+68>>2];if(!(j|(h|e)!=0)){l=r;k=l;j=0;break g}e=!(e|h)+(r-l|0)|0;j=(e|0)<(j|0)?j:e;break g}q=(j|0)<0?2147483647:j;i=q;g=(i|0)!=0;e=H[f+64>>2];l=e?e:2127;k=l;e=l;L:{M:{N:{O:{if(!(e&3)|!i){break O}while(1){if(!I[e|0]){break N}i=i-1|0;g=(i|0)!=0;e=e+1|0;if(!(e&3)){break O}if(i){continue}break}}if(!g){break M}}P:{if(!I[e|0]|i>>>0<4){break P}while(1){g=H[e>>2];if((g^-1)&g-16843009&-2139062144){break P}e=e+4|0;i=i-4|0;if(i>>>0>3){continue}break}}if(!i){break M}while(1){if(!I[e|0]){break L}e=e+1|0;i=i-1|0;if(i){continue}break}}e=0}e=e?e-k|0:q;k=e+l|0;if((j|0)>=0){g=h;j=e;break g}g=h;j=e;if(I[k|0]){break d}break g}if(j){k=H[f+64>>2];break w}e=0;Ua(a,32,o,0,g);break v}H[f+12>>2]=0;H[f+8>>2]=H[f+64>>2];k=f+8|0;H[f+64>>2]=k;j=-1}e=0;Q:{while(1){h=H[k>>2];if(!h){break Q}h=Ge(f+4|0,h);l=(h|0)<0;if(!(l|h>>>0>j-e>>>0)){k=k+4|0;e=e+h|0;if(j>>>0>e>>>0){continue}break Q}break}if(l){break b}}k=61;if((e|0)<0){break c}Ua(a,32,o,e,g);if(!e){e=0;break v}j=0;k=H[f+64>>2];while(1){h=H[k>>2];if(!h){break v}h=Ge(f+4|0,h);j=h+j|0;if(j>>>0>e>>>0){break v}Sa(a,f+4|0,h);k=k+4|0;if(e>>>0>j>>>0){continue}break}}Ua(a,32,o,e,g^8192);e=(e|0)<(o|0)?o:e;continue e}if((j|0)<0?q:0){break d}k=61;e=fa[368](a,M[f+64>>3],o,j,g,e)|0;if((e|0)>=0){continue e}break c}F[f+55|0]=H[f+64>>2];j=1;l=v;g=h;break g}g=e+1|0;H[f+76>>2]=g;k=I[e+1|0];e=g;continue}}if(a){break a}if(!t){break f}e=1;while(1){a=H[(e<<2)+d>>2];if(a){Ie((e<<3)+c|0,a,b);m=1;e=e+1|0;if((e|0)!=10){continue}break a}break}m=1;if(e>>>0>=10){break a}while(1){if(H[(e<<2)+d>>2]){break h}e=e+1|0;if((e|0)!=10){continue}break}break a}k=28;break c}i=k-l|0;j=(j|0)<(i|0)?i:j;if((j|0)>(2147483647-n|0)){break d}k=61;h=j+n|0;e=(h|0)>(o|0)?h:o;if((u|0)<(e|0)){break c}Ua(a,32,e,h,g);Sa(a,p,n);Ua(a,48,e,h,g^65536);Ua(a,48,j,i,0);Sa(a,l,i);Ua(a,32,e,h,g^8192);continue}break}m=0;break a}k=61}H[4739]=k}m=-1}da=f+80|0;return m}function re(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,L=0,M=0;n=da-32|0;da=n;H[a>>2]=H[d>>2];d=H[c>>2]-H[b>>2]|0;H[a+4>>2]=d;k=H[e+20>>2];if(!H[e+16>>2]&(k|0)<=0|(k|0)<0){d=a+4|0;wa(e,H[e+4>>2],a,d);k=H[e+20>>2];if(!H[e+16>>2]&(k|0)<=0|(k|0)<0){wa(e,H[e+4>>2],d,d+4|0)}d=H[d>>2]}if(d){B=a+12|0;ke(B);C=a+1068|0;d=C;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];D=a+1088|0;d=D;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];E=a+1108|0;d=E;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];H[n+24>>2]=H[b+8>>2];d=H[b+4>>2];H[n+16>>2]=H[b>>2];H[n+20>>2]=d;H[n+8>>2]=H[c+8>>2];b=H[c+4>>2];H[n>>2]=H[c>>2];H[n+4>>2]=b;b=0;f=da-32|0;da=f;d=a;h=H[a+8>>2];H[f+16>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;a:{b:{if(h){if(h>>>0>=1073741824){break b}a=h<<2;b=ra(a);H[f+8>>2]=b;g=a+b|0;H[f+16>>2]=g;ta(b,0,a);H[f+12>>2]=g}a=H[d+1164>>2];c=H[a>>2];if(c){H[a+4>>2]=c;qa(c);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;h=H[d+8>>2];g=H[f+12>>2];b=H[f+8>>2]}H[a+4>>2]=g;H[a>>2]=b;H[a+8>>2]=H[f+16>>2];b=0;H[f+16>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;a=0;c:{if(h){if(h>>>0>=1073741824){break c}c=h<<2;a=ra(c);H[f+8>>2]=a;b=a+c|0;H[f+16>>2]=b;ta(a,0,c);H[f+12>>2]=b}c=H[d+1176>>2];k=H[c>>2];if(k){H[c+4>>2]=k;qa(k);H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;b=H[f+12>>2];a=H[f+8>>2]}H[c+4>>2]=b;H[c>>2]=a;H[c+8>>2]=H[f+16>>2];w=H[n+4>>2];x=H[n+8>>2];u=H[n+20>>2];r=H[n+24>>2];k=H[n>>2];c=H[n+16>>2];H[f+24>>2]=0;H[f+28>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;gb(f+8|0);a=H[f+24>>2]+H[f+28>>2]|0;b=(a>>>0)/113|0;a=H[H[f+12>>2]+(b<<2)>>2]+N(a-N(b,113)|0,36)|0;H[a+32>>2]=0;H[a+28>>2]=k-c;H[a+24>>2]=0;H[a+12>>2]=k;H[a+4>>2]=u;H[a+8>>2]=r;H[a>>2]=c;H[a+16>>2]=w;H[a+20>>2]=x;a=H[f+28>>2];h=a+1|0;H[f+28>>2]=h;if(a>>>0<=h>>>0){I=d+1068|0;J=d+1108|0;L=r&-4;F=r&3;M=r-1>>>0<3;while(1){m=H[f+12>>2];g=H[f+24>>2];i=h-1|0;a=g+i|0;b=(a>>>0)/113|0;a=H[m+(b<<2)>>2]+N(a-N(b,113)|0,36)|0;z=H[a+32>>2];b=H[a+24>>2];k=H[a+12>>2];c=H[a>>2];H[f+28>>2]=i;a=H[f+16>>2];i=a-m|0;if(((i?N(i>>2,113)-1|0:0)-(g+h|0)|0)+1>>>0>=226){qa(H[a-4>>2]);H[f+16>>2]=H[f+16>>2]-4}h=(b|0)==(H[d+8>>2]-1|0)?0:b+1|0;i=h<<2;y=N(z,12);m=y+H[d+1176>>2]|0;b=H[d>>2]-H[i+H[m>>2]>>2]|0;d:{e:{if(!b){break e}f:{g:{s=k-c|0;if(s>>>0<=2){g=H[d+1152>>2];H[g>>2]=h;b=1;a=H[d+8>>2];if(a>>>0>1){break g}break f}g=H[d+1164>>2];a=g+y|0;q=g;g=y+12|0;db(q+g|0,H[a>>2],H[a+4>>2]);a=i+H[g+H[d+1164>>2]>>2]|0;m=H[a>>2]+(1<<b-1)|0;H[a>>2]=m;a=c;h:{if((k|0)==(a|0)){break h}G=H[u+24>>2];b=c;a=k;if(!r){if(m>>>0>K[i+G>>2]){break h}while(1){a=a-1|0;if((b|0)==(a|0)){a=b;break h}if(m>>>0<=K[(i+H[w+24>>2]|0)+(N(a,x)<<2)>>2]){continue}b=b+1|0;if((b|0)!=(a|0)){continue}break}break h}while(1){o=(N(b,r)<<2)+G|0;if(m>>>0>K[o+i>>2]){b=b+1|0;if((b|0)!=(a|0)){continue}break h}while(1){a=a-1|0;if((b|0)==(a|0)){a=b;break h}p=H[w+24>>2]+(N(a,x)<<2)|0;if(m>>>0<=K[p+i>>2]){continue}break}A=0;g=0;v=0;if(!M){while(1){l=g<<2;j=l+o|0;t=H[j>>2];q=j;j=l+p|0;H[q>>2]=H[j>>2];H[j>>2]=t;j=l|4;t=j+o|0;q=H[t>>2];j=j+p|0;H[t>>2]=H[j>>2];H[j>>2]=q;j=l|8;t=j+o|0;q=H[t>>2];j=j+p|0;H[t>>2]=H[j>>2];H[j>>2]=q;l=l|12;j=l+o|0;t=H[j>>2];l=l+p|0;H[j>>2]=H[l>>2];H[l>>2]=t;g=g+4|0;v=v+4|0;if((L|0)!=(v|0)){continue}break}}if(F){while(1){l=g<<2;v=l+o|0;j=H[v>>2];l=l+p|0;H[v>>2]=H[l>>2];H[l>>2]=j;g=g+1|0;A=A+1|0;if((A|0)!=(F|0)){continue}break}}b=b+1|0;if((b|0)!=(a|0)){continue}break}}m=a-c|0;o=k-a|0;if((m|0)!=(o|0)){xc(J,m>>>0<o>>>0)}l=z+1|0;b=Q(s);p=b^31;g=s>>>1|0;i:{if(m>>>0<o>>>0){if(!p){break i}s=g-m|0;b=1<<30-b;g=0;while(1){Fa((d+(g<<5)|0)+12|0,(b&s)!=0);b=b>>>1|0;g=g+1|0;if((p|0)!=(g|0)){continue}break}break i}if(!p){break i}s=g-o|0;b=1<<30-b;g=0;while(1){Fa((d+(g<<5)|0)+12|0,(b&s)!=0);b=b>>>1|0;g=g+1|0;if((p|0)!=(g|0)){continue}break}}q=i;b=H[d+1176>>2];g=b+y|0;i=H[g>>2];p=q+i|0;H[p>>2]=H[p>>2]+1;db(b+N(l,12)|0,i,H[g+4>>2]);if((a|0)!=(c|0)){b=H[f+28>>2]+H[f+24>>2]|0;g=H[f+12>>2];i=H[f+16>>2]-g|0;if((b|0)==((i?N(i>>2,113)-1|0:0)|0)){gb(f+8|0);g=H[f+12>>2];b=H[f+24>>2]+H[f+28>>2]|0}q=g;g=(b>>>0)/113|0;b=H[q+(g<<2)>>2]+N(b-N(g,113)|0,36)|0;H[b+32>>2]=z;H[b+28>>2]=m;H[b+24>>2]=h;H[b+12>>2]=a;H[b+4>>2]=u;H[b+8>>2]=r;H[b>>2]=c;H[b+20>>2]=r;H[b+16>>2]=u;H[f+28>>2]=H[f+28>>2]+1}if((a|0)==(k|0)){break e}b=H[f+28>>2]+H[f+24>>2]|0;g=H[f+12>>2];i=H[f+16>>2]-g|0;if((b|0)==((i?N(i>>2,113)-1|0:0)|0)){gb(f+8|0);g=H[f+12>>2];b=H[f+24>>2]+H[f+28>>2]|0}q=g;g=(b>>>0)/113|0;b=H[q+(g<<2)>>2]+N(b-N(g,113)|0,36)|0;H[b+32>>2]=l;H[b+28>>2]=o;H[b+24>>2]=h;H[b+12>>2]=k;H[b+8>>2]=r;H[b+4>>2]=u;H[b>>2]=a;H[b+16>>2]=w;H[b+20>>2]=x;h=H[f+28>>2]+1|0;H[f+28>>2]=h;break d}while(1){h=(a-1|0)==(h|0)?0:h+1|0;H[g+(b<<2)>>2]=h;a=H[d+8>>2];b=b+1|0;if(a>>>0>b>>>0){continue}break}}g=0;b=a;if(!s){break e}while(1){j:{if(!b){b=0;break j}i=H[u+24>>2]+(N(H[u+4>>2],c+g|0)<<2)|0;h=0;while(1){b=H[H[d+1152>>2]+(h<<2)>>2]<<2;o=H[d>>2]-H[b+H[m>>2]>>2]|0;if(o){bc(I,o,H[b+i>>2]);a=H[d+8>>2]}b=a;h=h+1|0;if(h>>>0<a>>>0){continue}break}}g=g+1|0;if((s|0)!=(g|0)){continue}break}}h=H[f+28>>2]}if(h){continue}break}}H[n+16>>2]=c;H[n>>2]=k;H[f+28>>2]=0;c=H[f+16>>2];h=H[f+12>>2];a=c-h|0;if(a>>>0>=9){while(1){qa(H[h>>2]);h=H[f+12>>2]+4|0;H[f+12>>2]=h;c=H[f+16>>2];a=c-h|0;if(a>>>0>8){continue}break}}b=56;k:{switch((a>>>2|0)-1|0){case 1:b=113;case 0:H[f+24>>2]=b;break;default:break k}}l:{if((c|0)==(h|0)){break l}while(1){qa(H[h>>2]);h=h+4|0;if((h|0)!=(c|0)){continue}break}a=H[f+16>>2];b=H[f+12>>2];if((a|0)==(b|0)){break l}H[f+16>>2]=a+(((a-b|0)-4>>>2^-1)<<2)}a=H[f+8>>2];if(a){qa(a)}da=f+32|0;break a}va();X()}va();X()}je(B,e);fb(C,e);fb(D,e);fb(E,e)}da=n+32|0;return 1}function If(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=da-16|0;da=h;H[b+44>>2]=d;H[b+48>>2]=c;d=H[b+12>>2];f=H[b+8>>2];if((d|0)!=(f|0)){while(1){d=d-4|0;e=H[d>>2];H[d>>2]=0;if(e){fa[H[H[e>>2]+4>>2]](e)}if((d|0)!=(f|0)){continue}break}}H[b+12>>2]=f;H[b+24>>2]=H[b+20>>2];H[b+36>>2]=H[b+32>>2];a:{if(!H[b+4>>2]){b=ra(32);c=I[1814]|I[1815]<<8|(I[1816]<<16|I[1817]<<24);d=I[1810]|I[1811]<<8|(I[1812]<<16|I[1813]<<24);F[b+15|0]=d;F[b+16|0]=d>>>8;F[b+17|0]=d>>>16;F[b+18|0]=d>>>24;F[b+19|0]=c;F[b+20|0]=c>>>8;F[b+21|0]=c>>>16;F[b+22|0]=c>>>24;c=I[1807]|I[1808]<<8|(I[1809]<<16|I[1810]<<24);d=I[1803]|I[1804]<<8|(I[1805]<<16|I[1806]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1799]|I[1800]<<8|(I[1801]<<16|I[1802]<<24);d=I[1795]|I[1796]<<8|(I[1797]<<16|I[1798]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+23|0]=0;H[a>>2]=-1;Ia(a+4|0,b,23);qa(b);break a}d=da-16|0;da=d;e=H[b+44>>2];f=H[e+20>>2];if(!H[e+16>>2]&(f|0)<=0|(f|0)<0){wa(e,H[e+4>>2],1781,1786)}e=fa[H[H[b>>2]+8>>2]](b)|0;F[d+15|0]=e;F[d+14|0]=2;F[d+13|0]=e&255?2:3;e=H[b+44>>2];f=H[e+20>>2];b:{if(!!H[e+16>>2]&(f|0)>=0|(f|0)>0){break b}wa(e,H[e+4>>2],d+14|0,d+15|0);e=H[b+44>>2];f=H[e+20>>2];if(!!H[e+16>>2]&(f|0)>=0|(f|0)>0){break b}wa(e,H[e+4>>2],d+13|0,d+14|0);e=H[b+44>>2];f=H[e+20>>2];if(!!H[e+16>>2]&(f|0)>=0|(f|0)>0){break b}wa(e,H[e+4>>2],d+15|0,d+16|0);e=H[b+44>>2]}k=d,l=fa[H[H[b>>2]+12>>2]](b)|0,F[k+12|0]=l;f=H[e+20>>2];if(!H[e+16>>2]&(f|0)<=0|(f|0)<0){wa(e,H[e+4>>2],d+12|0,d+13|0)}G[d+10>>1]=(H[H[b+4>>2]+4>>2]!=0)<<15;e=H[b+44>>2];f=H[e+20>>2];if(!H[e+16>>2]&(f|0)<=0|(f|0)<0){wa(e,H[e+4>>2],d+10|0,d+12|0)}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;da=d+16|0;if(H[a>>2]){break a}e=a+4|0;if(F[a+15|0]<0){qa(H[e>>2])}d=H[H[b+4>>2]+4>>2];c:{if(!d){H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;break c}f=H[b+44>>2];if(d){Da(H[d+28>>2]-H[d+24>>2]>>2,f);g=H[d+24>>2];j=H[d+28>>2];if((g|0)!=(j|0)){while(1){i=H[g>>2];if(i){Da(H[i+24>>2],f);md(h,f,i)}g=g+4|0;if((j|0)!=(g|0)){continue}break}}md(h,f,d)}if(d){H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;break c}d=ra(32);f=I[2026]|I[2027]<<8;F[d+24|0]=f;F[d+25|0]=f>>>8;f=I[2022]|I[2023]<<8|(I[2024]<<16|I[2025]<<24);g=I[2018]|I[2019]<<8|(I[2020]<<16|I[2021]<<24);F[d+16|0]=g;F[d+17|0]=g>>>8;F[d+18|0]=g>>>16;F[d+19|0]=g>>>24;F[d+20|0]=f;F[d+21|0]=f>>>8;F[d+22|0]=f>>>16;F[d+23|0]=f>>>24;f=I[2014]|I[2015]<<8|(I[2016]<<16|I[2017]<<24);g=I[2010]|I[2011]<<8|(I[2012]<<16|I[2013]<<24);F[d+8|0]=g;F[d+9|0]=g>>>8;F[d+10|0]=g>>>16;F[d+11|0]=g>>>24;F[d+12|0]=f;F[d+13|0]=f>>>8;F[d+14|0]=f>>>16;F[d+15|0]=f>>>24;f=I[2006]|I[2007]<<8|(I[2008]<<16|I[2009]<<24);g=I[2002]|I[2003]<<8|(I[2004]<<16|I[2005]<<24);F[d|0]=g;F[d+1|0]=g>>>8;F[d+2|0]=g>>>16;F[d+3|0]=g>>>24;F[d+4|0]=f;F[d+5|0]=f>>>8;F[d+6|0]=f>>>16;F[d+7|0]=f>>>24;F[d+26|0]=0;H[a>>2]=-1;Ia(e,d,26);qa(d);if(H[a>>2]){break a}}if(F[e+11|0]<0){qa(H[e>>2])}if(!(fa[H[H[b>>2]+16>>2]](b)|0)){b=ra(32);c=I[1942]|I[1943]<<8|(I[1944]<<16|I[1945]<<24);d=I[1938]|I[1939]<<8|(I[1940]<<16|I[1941]<<24);F[b+21|0]=d;F[b+22|0]=d>>>8;F[b+23|0]=d>>>16;F[b+24|0]=d>>>24;F[b+25|0]=c;F[b+26|0]=c>>>8;F[b+27|0]=c>>>16;F[b+28|0]=c>>>24;c=I[1937]|I[1938]<<8|(I[1939]<<16|I[1940]<<24);d=I[1933]|I[1934]<<8|(I[1935]<<16|I[1936]<<24);F[b+16|0]=d;F[b+17|0]=d>>>8;F[b+18|0]=d>>>16;F[b+19|0]=d>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[1929]|I[1930]<<8|(I[1931]<<16|I[1932]<<24);d=I[1925]|I[1926]<<8|(I[1927]<<16|I[1928]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1921]|I[1922]<<8|(I[1923]<<16|I[1924]<<24);d=I[1917]|I[1918]<<8|(I[1919]<<16|I[1920]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+29|0]=0;H[a>>2]=-1;Ia(e,b,29);qa(b);break a}if(!(fa[H[H[b>>2]+20>>2]](b)|0)){b=ra(32);c=I[2085]|I[2086]<<8|(I[2087]<<16|I[2088]<<24);d=I[2081]|I[2082]<<8|(I[2083]<<16|I[2084]<<24);F[b+23|0]=d;F[b+24|0]=d>>>8;F[b+25|0]=d>>>16;F[b+26|0]=d>>>24;F[b+27|0]=c;F[b+28|0]=c>>>8;F[b+29|0]=c>>>16;F[b+30|0]=c>>>24;c=I[2078]|I[2079]<<8|(I[2080]<<16|I[2081]<<24);d=I[2074]|I[2075]<<8|(I[2076]<<16|I[2077]<<24);F[b+16|0]=d;F[b+17|0]=d>>>8;F[b+18|0]=d>>>16;F[b+19|0]=d>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[2070]|I[2071]<<8|(I[2072]<<16|I[2073]<<24);d=I[2066]|I[2067]<<8|(I[2068]<<16|I[2069]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[2062]|I[2063]<<8|(I[2064]<<16|I[2065]<<24);d=I[2058]|I[2059]<<8|(I[2060]<<16|I[2061]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+31|0]=0;H[a>>2]=-1;Ia(e,b,31);qa(b);break a}fa[H[H[b>>2]+24>>2]](a,b);if(H[a>>2]){break a}if(F[e+11|0]<0){qa(H[e>>2])}if(!(fa[H[H[b>>2]+28>>2]](b)|0)){b=tc(h,1852);H[a>>2]=-1;if(F[b+11|0]>=0){a=H[h+4>>2];H[e>>2]=H[h>>2];H[e+4>>2]=a;H[e+8>>2]=H[h+8>>2];break a}Ia(e,H[b>>2],H[b+4>>2]);if(F[b+11|0]>=0){break a}qa(H[b>>2]);break a}d=c;c=tc(h,1326);d=fc(d,c,0);if(F[c+11|0]<0){qa(H[c>>2])}if(d){fa[H[H[b>>2]+48>>2]](b)}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0}da=h+16|0}function me(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,L=0,M=0,O=0;n=da-32|0;da=n;H[a>>2]=H[d>>2];d=H[c>>2]-H[b>>2]|0;H[a+4>>2]=d;k=H[e+20>>2];if(!H[e+16>>2]&(k|0)<=0|(k|0)<0){d=a+4|0;wa(e,H[e+4>>2],a,d);k=H[e+20>>2];if(!H[e+16>>2]&(k|0)<=0|(k|0)<0){wa(e,H[e+4>>2],d,d+4|0)}d=H[d>>2]}if(d){B=a+12|0;d=B;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];C=a+32|0;d=C;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];D=a+52|0;d=D;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];E=a+72|0;d=E;H[d+12>>2]=0;H[d+16>>2]=0;H[d+4>>2]=H[d>>2];H[n+24>>2]=H[b+8>>2];d=H[b+4>>2];H[n+16>>2]=H[b>>2];H[n+20>>2]=d;H[n+8>>2]=H[c+8>>2];b=H[c+4>>2];H[n>>2]=H[c>>2];H[n+4>>2]=b;b=0;f=da-32|0;da=f;d=a;g=H[a+8>>2];H[f+16>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;a:{b:{if(g){if(g>>>0>=1073741824){break b}a=g<<2;b=ra(a);H[f+8>>2]=b;i=a+b|0;H[f+16>>2]=i;ta(b,0,a);H[f+12>>2]=i}a=H[d+128>>2];c=H[a>>2];if(c){H[a+4>>2]=c;qa(c);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;g=H[d+8>>2];i=H[f+12>>2];b=H[f+8>>2]}H[a+4>>2]=i;H[a>>2]=b;H[a+8>>2]=H[f+16>>2];b=0;H[f+16>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;a=0;c:{if(g){if(g>>>0>=1073741824){break c}c=g<<2;a=ra(c);H[f+8>>2]=a;b=a+c|0;H[f+16>>2]=b;ta(a,0,c);H[f+12>>2]=b}c=H[d+140>>2];k=H[c>>2];if(k){H[c+4>>2]=k;qa(k);H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;b=H[f+12>>2];a=H[f+8>>2]}H[c+4>>2]=b;H[c>>2]=a;H[c+8>>2]=H[f+16>>2];w=H[n+4>>2];x=H[n+8>>2];s=H[n+20>>2];q=H[n+24>>2];k=H[n>>2];c=H[n+16>>2];H[f+24>>2]=0;H[f+28>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;gb(f+8|0);a=H[f+24>>2]+H[f+28>>2]|0;b=(a>>>0)/113|0;a=H[H[f+12>>2]+(b<<2)>>2]+N(a-N(b,113)|0,36)|0;H[a+32>>2]=0;H[a+28>>2]=k-c;H[a+24>>2]=0;H[a+12>>2]=k;H[a+4>>2]=s;H[a+8>>2]=q;H[a>>2]=c;H[a+16>>2]=w;H[a+20>>2]=x;a=H[f+28>>2];g=a+1|0;H[f+28>>2]=g;if(a>>>0<=g>>>0){I=d+32|0;J=d+12|0;L=d+72|0;M=q&-4;F=q&3;O=q-1>>>0<3;while(1){l=H[f+12>>2];h=H[f+24>>2];i=g-1|0;a=h+i|0;b=(a>>>0)/113|0;a=H[l+(b<<2)>>2]+N(a-N(b,113)|0,36)|0;z=H[a+32>>2];b=H[a+24>>2];k=H[a+12>>2];c=H[a>>2];H[f+28>>2]=i;a=H[f+16>>2];i=a-l|0;if(((i?N(i>>2,113)-1|0:0)-(g+h|0)|0)+1>>>0>=226){qa(H[a-4>>2]);H[f+16>>2]=H[f+16>>2]-4}g=(b|0)==(H[d+8>>2]-1|0)?0:b+1|0;i=g<<2;y=N(z,12);l=y+H[d+140>>2]|0;b=H[d>>2]-H[i+H[l>>2]>>2]|0;d:{e:{if(!b){break e}f:{g:{u=k-c|0;if(u>>>0<=2){h=H[d+116>>2];H[h>>2]=g;b=1;a=H[d+8>>2];if(a>>>0>1){break g}break f}h=H[d+128>>2];a=h+y|0;j=h;h=y+12|0;db(j+h|0,H[a>>2],H[a+4>>2]);a=i+H[h+H[d+128>>2]>>2]|0;l=H[a>>2]+(1<<b-1)|0;H[a>>2]=l;a=c;h:{if((k|0)==(a|0)){break h}G=H[s+24>>2];b=c;a=k;if(!q){if(l>>>0>K[i+G>>2]){break h}while(1){a=a-1|0;if((b|0)==(a|0)){a=b;break h}if(l>>>0<=K[(i+H[w+24>>2]|0)+(N(a,x)<<2)>>2]){continue}b=b+1|0;if((b|0)!=(a|0)){continue}break}break h}while(1){o=(N(b,q)<<2)+G|0;if(l>>>0>K[o+i>>2]){b=b+1|0;if((b|0)!=(a|0)){continue}break h}while(1){a=a-1|0;if((b|0)==(a|0)){a=b;break h}p=H[w+24>>2]+(N(a,x)<<2)|0;if(l>>>0<=K[p+i>>2]){continue}break}A=0;h=0;t=0;if(!O){while(1){m=h<<2;j=m+o|0;r=H[j>>2];v=j;j=m+p|0;H[v>>2]=H[j>>2];H[j>>2]=r;j=m|4;r=j+o|0;v=H[r>>2];j=j+p|0;H[r>>2]=H[j>>2];H[j>>2]=v;j=m|8;r=j+o|0;v=H[r>>2];j=j+p|0;H[r>>2]=H[j>>2];H[j>>2]=v;m=m|12;j=m+o|0;r=H[j>>2];m=m+p|0;H[j>>2]=H[m>>2];H[m>>2]=r;h=h+4|0;t=t+4|0;if((M|0)!=(t|0)){continue}break}}if(F){while(1){m=h<<2;t=m+o|0;j=H[t>>2];m=m+p|0;H[t>>2]=H[m>>2];H[m>>2]=j;h=h+1|0;A=A+1|0;if((A|0)!=(F|0)){continue}break}}b=b+1|0;if((b|0)!=(a|0)){continue}break}}l=a-c|0;o=k-a|0;if((l|0)!=(o|0)){xc(L,l>>>0<o>>>0)}bc(J,Q(u)^31,(u>>>1|0)-(l>>>0<o>>>0?l:o)|0);j=i;b=H[d+140>>2];h=b+y|0;i=H[h>>2];p=j+i|0;H[p>>2]=H[p>>2]+1;p=z+1|0;db(b+N(p,12)|0,i,H[h+4>>2]);if((a|0)!=(c|0)){i=H[f+28>>2]+H[f+24>>2]|0;h=H[f+12>>2];b=H[f+16>>2]-h|0;if((i|0)==((b?N(b>>2,113)-1|0:0)|0)){gb(f+8|0);i=H[f+24>>2]+H[f+28>>2]|0;h=H[f+12>>2]}b=(i>>>0)/113|0;b=H[h+(b<<2)>>2]+N(i-N(b,113)|0,36)|0;H[b+32>>2]=z;H[b+28>>2]=l;H[b+24>>2]=g;H[b+12>>2]=a;H[b+4>>2]=s;H[b+8>>2]=q;H[b>>2]=c;H[b+20>>2]=q;H[b+16>>2]=s;H[f+28>>2]=H[f+28>>2]+1}if((a|0)==(k|0)){break e}b=H[f+28>>2]+H[f+24>>2]|0;i=H[f+12>>2];h=H[f+16>>2]-i|0;if((b|0)==((h?N(h>>2,113)-1|0:0)|0)){gb(f+8|0);i=H[f+12>>2];b=H[f+24>>2]+H[f+28>>2]|0}h=(b>>>0)/113|0;b=H[(h<<2)+i>>2]+N(b-N(h,113)|0,36)|0;H[b+32>>2]=p;H[b+28>>2]=o;H[b+24>>2]=g;H[b+12>>2]=k;H[b+8>>2]=q;H[b+4>>2]=s;H[b>>2]=a;H[b+16>>2]=w;H[b+20>>2]=x;g=H[f+28>>2]+1|0;H[f+28>>2]=g;break d}while(1){g=(a-1|0)==(g|0)?0:g+1|0;H[h+(b<<2)>>2]=g;a=H[d+8>>2];b=b+1|0;if(a>>>0>b>>>0){continue}break}}if(!u|!a){break e}h=0;b=1;while(1){g=0;i:{if(!b){b=0;break i}i=H[s+24>>2]+(N(H[s+4>>2],c+h|0)<<2)|0;while(1){b=H[H[d+116>>2]+(g<<2)>>2]<<2;o=H[d>>2]-H[b+H[l>>2]>>2]|0;if(o){bc(I,o,H[b+i>>2]);a=H[d+8>>2]}b=a;g=g+1|0;if(g>>>0<a>>>0){continue}break}}h=h+1|0;if((u|0)!=(h|0)){continue}break}}g=H[f+28>>2]}if(g){continue}break}}H[n+16>>2]=c;H[n>>2]=k;H[f+28>>2]=0;a=H[f+16>>2];g=H[f+12>>2];c=a-g|0;if(c>>>0>=9){while(1){qa(H[g>>2]);g=H[f+12>>2]+4|0;H[f+12>>2]=g;a=H[f+16>>2];c=a-g|0;if(c>>>0>8){continue}break}}b=56;j:{switch((c>>>2|0)-1|0){case 1:b=113;case 0:H[f+24>>2]=b;break;default:break j}}k:{if((a|0)==(g|0)){break k}while(1){qa(H[g>>2]);g=g+4|0;if((g|0)!=(a|0)){continue}break}a=H[f+16>>2];b=H[f+12>>2];if((a|0)==(b|0)){break k}H[f+16>>2]=a+(((a-b|0)-4>>>2^-1)<<2)}a=H[f+8>>2];if(a){qa(a)}da=f+32|0;break a}va();X()}va();X()}fb(B,e);fb(C,e);fb(D,e);fb(E,e)}da=n+32|0;return 1}function Xh(a){a=a|0;var 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=O(0),r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=O(0),z=0,A=0;c=da+-64|0;da=c;f=H[a+80>>2];H[c+40>>2]=0;H[c+44>>2]=0;H[c+56>>2]=a;H[c+48>>2]=a;H[c+32>>2]=0;H[c+36>>2]=0;H[c+52>>2]=1065353216;e=2;a:{if((f|0)!=1){if(f&f-1){f=Ja(f)}e=f;if(!f){break a}}Ue(c+32|0,e)}f=H[a+80>>2];H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;b:{c:{d:{e:{if(!f){H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;break e}if(f>>>0>=1073741824){break b}f=f<<2;s=ra(f);H[c+16>>2]=s;b=f+s|0;H[c+24>>2]=b;ta(s,0,f);H[c+20>>2]=b;H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;z=c+40|0;f=0;while(1){d=0;b=H[c+48>>2];m=H[b+8>>2];n=H[b+12>>2]-m|0;u=(n|0)<=0;f:{if(u){break f}b=n>>>2|0;b=b>>>0>1?b:1;i=b&1;e=0;if(n>>>0>=8){j=b&1073741822;b=0;while(1){g=e<<2;h=H[g+m>>2];if(I[h+84|0]){h=f}else{h=H[H[h+68>>2]+(f<<2)>>2]}e=e+2|0;h=h<<3^d<<2;d=H[m+(g|4)>>2];if(I[d+84|0]){d=f}else{d=H[H[d+68>>2]+(f<<2)>>2]}d=h^d<<2;b=b+2|0;if((j|0)!=(b|0)){continue}break}}if(!i){break f}b=H[m+(e<<2)>>2];if(I[b+84|0]){b=f}else{b=H[H[b+68>>2]+(f<<2)>>2]}d=b<<2^d<<1}g:{h:{g=H[c+36>>2];if(!g){break h}i=H[c+32>>2];e=Al(g)>>>0>1;b=g-1&d;i:{if(!e){break i}b=d;if(b>>>0<g>>>0){break i}b=(d>>>0)%(g>>>0)|0}h=b;b=H[i+(h<<2)>>2];if(!b){break h}k=H[b>>2];if(!k){break h}p=H[c+56>>2];j:{k:{if(!e){v=g-1|0;while(1){b=H[k+4>>2];l:{if((b|0)!=(d|0)){if((h|0)==(b&v)){break l}break h}w=H[p+8>>2];b=H[p+12>>2]-w|0;if((b|0)<=0){break j}i=H[k+8>>2];l=1;o=b>>2;A=(o|0)>1?o:1;e=0;while(1){b=f;j=H[w+(e<<2)>>2];if(I[j+84|0]){j=i}else{j=H[j+68>>2];b=H[j+(f<<2)>>2];j=H[j+(i<<2)>>2]}if((b|0)==(j|0)){e=e+1|0;l=(o|0)>(e|0);if((e|0)!=(A|0)){continue}}break}if(!l){break k}}k=H[k>>2];if(k){continue}break}break h}while(1){b=H[k+4>>2];m:{if((b|0)!=(d|0)){if(b>>>0>=g>>>0){b=(b>>>0)%(g>>>0)|0}if((b|0)==(h|0)){break m}break h}v=H[p+8>>2];b=H[p+12>>2]-v|0;if((b|0)<=0){break j}i=H[k+8>>2];l=1;o=b>>2;w=(o|0)>1?o:1;e=0;while(1){b=f;j=H[v+(e<<2)>>2];if(I[j+84|0]){j=i}else{j=H[j+68>>2];b=H[j+(f<<2)>>2];j=H[j+(i<<2)>>2]}if((b|0)==(j|0)){e=e+1|0;l=(o|0)>(e|0);if((e|0)!=(w|0)){continue}}break}if(!l){break k}}k=H[k>>2];if(k){continue}break}break h}if(!k){break h}}H[(f<<2)+s>>2]=H[k+12>>2];break g}n:{if(u){h=0;break n}b=n>>>2|0;b=b>>>0>1?b:1;i=b&1;h=0;e=0;if(n>>>0>=8){j=b&1073741822;b=0;while(1){l=e<<2;d=H[l+m>>2];if(I[d+84|0]){d=f}else{d=H[H[d+68>>2]+(f<<2)>>2]}e=e+2|0;h=d<<3^h<<2;d=H[m+(l|4)>>2];if(I[d+84|0]){d=f}else{d=H[H[d+68>>2]+(f<<2)>>2]}h=h^d<<2;b=b+2|0;if((j|0)!=(b|0)){continue}break}}if(!i){break n}b=H[m+(e<<2)>>2];if(I[b+84|0]){b=f}else{b=H[H[b+68>>2]+(f<<2)>>2]}h=b<<2^h<<1}o:{p:{if(!g){break p}l=g-1|0;if(l&g){k=g>>>0<=h>>>0?(h>>>0)%(g>>>0)|0:h;j=H[H[c+32>>2]+(k<<2)>>2];if(!j){break p}m=H[c+56>>2];while(1){j=H[j>>2];if(!j){break p}b=H[j+4>>2];if((b|0)!=(h|0)){if(b>>>0>=g>>>0){b=(b>>>0)%(g>>>0)|0}if((b|0)!=(k|0)){break p}}p=H[m+8>>2];b=H[m+12>>2]-p|0;if((b|0)<=0){break o}d=H[j+8>>2];l=1;n=b>>2;o=(n|0)>1?n:1;e=0;while(1){b=f;i=H[p+(e<<2)>>2];if(I[i+84|0]){i=d}else{i=H[i+68>>2];b=H[i+(f<<2)>>2];i=H[i+(d<<2)>>2]}if((b|0)==(i|0)){e=e+1|0;l=(n|0)>(e|0);if((e|0)!=(o|0)){continue}}break}if(l){continue}break}break o}k=h&l;j=H[H[c+32>>2]+(k<<2)>>2];if(!j){break p}m=H[c+56>>2];while(1){j=H[j>>2];if(!j){break p}b=H[j+4>>2];if((b|0)!=(h|0)&(b&l)!=(k|0)){break p}o=H[m+8>>2];b=H[m+12>>2]-o|0;if((b|0)<=0){break o}d=H[j+8>>2];n=1;p=b>>2;u=(p|0)>1?p:1;e=0;while(1){b=f;i=H[o+(e<<2)>>2];if(I[i+84|0]){i=d}else{i=H[i+68>>2];b=H[i+(f<<2)>>2];i=H[i+(d<<2)>>2]}if((b|0)==(i|0)){e=e+1|0;n=(p|0)>(e|0);if((e|0)!=(u|0)){continue}}break}if(n){continue}break}break o}e=ra(16);H[e+8>>2]=f;H[e+4>>2]=h;H[e>>2]=0;H[e+12>>2]=t;y=O(H[c+44>>2]+1>>>0);q=L[c+52>>2];q:{if(y>O(q*O(g>>>0))?0:g){break q}k=(g-1&g)!=0|g>>>0<3|g<<1;d=2;q=O(U(O(y/q)));r:{if(q<O(4294967296)&q>=O(0)){b=~~q>>>0;break r}b=0}b=b>>>0>k>>>0?b:k;s:{if((b|0)==1){break s}if(!(b&b-1)){d=b;break s}d=Ja(b);g=H[c+36>>2]}t:{if(d>>>0<=g>>>0){if(d>>>0>=g>>>0){break t}k=g>>>0<3;q=O(U(O(O(K[c+44>>2])/L[c+52>>2])));u:{if(q<O(4294967296)&q>=O(0)){b=~~q>>>0;break u}b=0}v:{w:{if(k){break w}if(Al(g)>>>0>1){break w}b=b>>>0<2?b:1<<32-Q(b-1|0);break v}b=Ja(b)}d=b>>>0>d>>>0?b:d;if(g>>>0<=d>>>0){break t}}Ue(c+32|0,d)}g=H[c+36>>2];b=g-1|0;if(!(b&g)){k=b&h;break q}if(g>>>0>h>>>0){k=h;break q}k=(h>>>0)%(g>>>0)|0}d=H[c+32>>2]+(k<<2)|0;b=H[d>>2];x:{if(!b){H[e>>2]=H[c+40>>2];H[c+40>>2]=e;H[d>>2]=z;b=H[e>>2];if(!b){break x}d=H[b+4>>2];b=g-1|0;y:{if(!(b&g)){d=b&d;break y}if(d>>>0<g>>>0){break y}d=(d>>>0)%(g>>>0)|0}H[H[c+32>>2]+(d<<2)>>2]=e;break x}H[e>>2]=H[b>>2];H[b>>2]=e}H[c+44>>2]=H[c+44>>2]+1;x=H[c+8>>2];r=H[c+4>>2];s=H[c+16>>2]}H[(f<<2)+s>>2]=t;t=t+1|0;if((r|0)!=(x|0)){H[r>>2]=f;r=r+4|0;H[c+4>>2]=r;break g}h=H[c>>2];d=x-h|0;i=d>>2;b=i+1|0;if(b>>>0>=1073741824){break d}e=d>>1;e=d>>>0<2147483644?b>>>0>e>>>0?b:e:1073741823;if(e){if(e>>>0>=1073741824){break c}b=ra(e<<2)}else{b=0}i=b+(i<<2)|0;H[i>>2]=f;x=b+(e<<2)|0;r=i+4|0;if((d|0)>0){sa(b,h,d)}H[c+8>>2]=x;H[c+4>>2]=r;H[c>>2]=b;if(!h){break g}qa(h)}f=f+1|0;b=H[a+80>>2];if(f>>>0<b>>>0){continue}break}if((b|0)==(t|0)){break e}fa[H[H[a>>2]+24>>2]](a,c+16|0,c);H[a+80>>2]=t}a=H[c>>2];if(a){H[c+4>>2]=a;qa(a)}a=H[c+16>>2];if(a){H[c+20>>2]=a;qa(a)}f=H[c+40>>2];if(f){while(1){a=H[f>>2];qa(f);f=a;if(f){continue}break}}a=H[c+32>>2];H[c+32>>2]=0;if(a){qa(a)}da=c- -64|0;return}va();X()}ya(1604);X()}va();X()}function xf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=O(0),o=0,p=0,q=0,r=0,s=O(0);j=da+-64|0;da=j;H[j+40>>2]=0;H[j+44>>2]=0;H[j+32>>2]=0;H[j+36>>2]=0;H[j+48>>2]=1065353216;c=H[a+80>>2];H[j+24>>2]=0;H[j+16>>2]=0;H[j+20>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;k=ra(d);H[j+16>>2]=k;c=d+k|0;H[j+24>>2]=c;ta(k,0,d);H[j+20>>2]=c;while(1){c=H[H[b>>2]>>2];f=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],q,0)|0;c=c+f|0;e=I[c|0]|I[c+1|0]<<8;G[j+30>>1]=e;c:{d:{e:{if(!i){break e}g=H[j+32>>2];h=e^318;d=Al(i)>>>0>1;c=h&i-1;f:{if(!d){break f}c=h;if(c>>>0<i>>>0){break f}c=(h>>>0)%(i>>>0)|0}f=c;c=H[g+(f<<2)>>2];if(!c){break e}c=H[c>>2];if(!c){break e}if(!d){i=i-1|0;while(1){d=H[c+4>>2];g:{if((d|0)!=(h|0)){if((f|0)==(d&i)){break g}break e}if((e|0)==J[c+8>>1]){break d}}c=H[c>>2];if(c){continue}break}break e}while(1){d=H[c+4>>2];h:{if((d|0)!=(h|0)){if(d>>>0>=i>>>0){d=(d>>>0)%(i>>>0)|0}if((d|0)==(f|0)){break h}break e}if((e|0)==J[c+8>>1]){break d}}c=H[c>>2];if(c){continue}break}}H[j+12>>2]=o;G[j+8>>1]=e;c=0;h=J[j+8>>1];i=h^318;i:{j:{g=j+32|0;e=H[g+4>>2];if(!e){break j}d=Al(e);k:{if(d>>>0>=2){c=i;if(e>>>0<=c>>>0){c=(i>>>0)%(e>>>0)|0}l=H[H[g>>2]+(c<<2)>>2];if(!l){break j}if(d>>>0<=1){break k}while(1){l=H[l>>2];if(!l){break j}d=H[l+4>>2];if((d|0)!=(i|0)){if(d>>>0>=e>>>0){d=(d>>>0)%(e>>>0)|0}if((c|0)!=(d|0)){break j}}if((h|0)!=J[l+8>>1]){continue}break}c=0;break i}c=i&e-1;l=H[H[g>>2]+(c<<2)>>2];if(!l){break j}}f=e-1|0;while(1){l=H[l>>2];if(!l){break j}d=H[l+4>>2];if((d|0)!=(i|0)&(d&f)!=(c|0)){break j}if((h|0)!=J[l+8>>1]){continue}break}c=0;break i}l=ra(16);G[l+8>>1]=J[j+8>>1];d=H[j+12>>2];H[l+4>>2]=i;H[l+12>>2]=d;H[l>>2]=0;s=O(H[g+12>>2]+1>>>0);n=L[g+16>>2];l:{if(s>O(n*O(e>>>0))?0:e){break l}d=(e-1&e)!=0|e>>>0<3|e<<1;c=2;n=O(U(O(s/n)));m:{if(n<O(4294967296)&n>=O(0)){f=~~n>>>0;break m}f=0}d=d>>>0<f>>>0?f:d;n:{if((d|0)==1){break n}if(!(d&d-1)){c=d;break n}c=Ja(d);e=H[g+4>>2]}o:{if(c>>>0<=e>>>0){if(c>>>0>=e>>>0){break o}f=e>>>0<3;n=O(U(O(O(K[g+12>>2])/L[g+16>>2])));p:{if(n<O(4294967296)&n>=O(0)){d=~~n>>>0;break p}d=0}q:{r:{if(f){break r}if(Al(e)>>>0>1){break r}d=d>>>0<2?d:1<<32-Q(d-1|0);break q}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(e>>>0<=c>>>0){break o}}d=0;e=0;k=c;s:{t:{u:{v:{if(c){if(k>>>0>=1073741824){break v}c=ra(k<<2);f=H[g>>2];H[g>>2]=c;if(f){qa(f)}H[g+4>>2]=k;f=0;if(k-1>>>0>=3){c=k&-4;while(1){h=f<<2;H[h+H[g>>2]>>2]=0;H[H[g>>2]+(h|4)>>2]=0;H[H[g>>2]+(h|8)>>2]=0;H[H[g>>2]+(h|12)>>2]=0;f=f+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}c=k&3;if(c){while(1){H[H[g>>2]+(f<<2)>>2]=0;f=f+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}d=H[g+8>>2];if(!d){break s}c=g+8|0;h=H[d+4>>2];f=Al(k);if(f>>>0<2){break u}h=h>>>0>=k>>>0?(h>>>0)%(k>>>0)|0:h;H[H[g>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break s}if(f>>>0<=1){break t}while(1){e=H[c+4>>2];if(k>>>0<=e>>>0){e=(e>>>0)%(k>>>0)|0}w:{if((e|0)==(h|0)){d=c;break w}f=c;p=e<<2;r=p+H[g>>2]|0;if(!H[r>>2]){H[r>>2]=d;d=c;h=e;break w}while(1){e=f;f=H[e>>2];if(J[c+8>>1]==J[f+8>>1]?f:0){continue}break}H[d>>2]=f;H[e>>2]=H[H[p+H[g>>2]>>2]>>2];H[H[p+H[g>>2]>>2]>>2]=c}c=H[d>>2];if(c){continue}break}break s}c=H[g>>2];H[g>>2]=0;if(c){qa(c)}H[g+4>>2]=0;break s}ya(1604);X()}h=k-1&h;H[H[g>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break s}}r=k-1|0;while(1){e=r&H[c+4>>2];x:{if((e|0)==(h|0)){d=c;break x}f=c;p=e<<2;k=p+H[g>>2]|0;if(H[k>>2]){while(1){e=f;f=H[e>>2];if(J[c+8>>1]==J[f+8>>1]?f:0){continue}break}H[d>>2]=f;H[e>>2]=H[H[p+H[g>>2]>>2]>>2];H[H[p+H[g>>2]>>2]>>2]=c;break x}H[k>>2]=d;d=c;h=e}c=H[d>>2];if(c){continue}break}}}e=H[g+4>>2];c=e-1|0;if(!(c&e)){c=c&i;break l}if(e>>>0>i>>>0){c=i;break l}c=(i>>>0)%(e>>>0)|0}c=H[g>>2]+(c<<2)|0;d=H[c>>2];y:{if(!d){H[l>>2]=H[g+8>>2];H[g+8>>2]=l;H[c>>2]=g+8;c=H[l>>2];if(!c){break y}c=H[c+4>>2];d=e-1|0;z:{if(!(d&e)){c=c&d;break z}if(c>>>0<e>>>0){break z}c=(c>>>0)%(e>>>0)|0}H[H[g>>2]+(c<<2)>>2]=l;break y}H[l>>2]=H[d>>2];H[d>>2]=l}H[g+12>>2]=H[g+12>>2]+1;c=1}F[j+60|0]=c;H[j+56>>2]=l;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,o)|0,j+30|0,c);k=H[j+16>>2];H[k+(q<<2)>>2]=o;o=o+1|0;break c}H[(q<<2)+k>>2]=H[c+12>>2]}c=q+1|0;m=c?m:m+1|0;q=c;c=H[a+80>>2];if(!m&c>>>0>q>>>0){i=H[j+36>>2];continue}break}if((c|0)==(o|0)){break b}A:{if(!I[a+84|0]){i=H[a+68>>2];b=H[a+72>>2]-i|0;if(!b){break A}h=H[j+16>>2];b=b>>2;b=b>>>0>1?b:1;f=b&3;e=0;c=0;if(b-1>>>0>=3){d=b&-4;k=0;while(1){m=c<<2;b=m+i|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];b=i+(m|4)|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];b=i+(m|8)|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];b=i+(m|12)|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];c=c+4|0;k=k+4|0;if((d|0)!=(k|0)){continue}break}}if(!f){break A}while(1){b=i+(c<<2)|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break A}F[a+84|0]=0;i=H[a+68>>2];b=H[a+72>>2]-i>>2;B:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);i=H[a+68>>2];c=H[a+80>>2];break B}if(b>>>0<=c>>>0){break B}H[a+72>>2]=(c<<2)+i}if(!c){break A}h=H[j+16>>2];e=0;b=0;if(c-1>>>0>=3){f=c&-4;k=0;while(1){m=b<<2;H[m+i>>2]=H[h+m>>2];d=m|4;H[d+i>>2]=H[d+h>>2];d=m|8;H[d+i>>2]=H[d+h>>2];d=m|12;H[d+i>>2]=H[d+h>>2];b=b+4|0;k=k+4|0;if((f|0)!=(k|0)){continue}break}}d=c&3;if(!d){break A}while(1){c=b<<2;H[c+i>>2]=H[c+h>>2];b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}H[a+80>>2]=o}a=H[j+16>>2];if(a){qa(a)}c=H[j+40>>2];if(c){while(1){a=H[c>>2];qa(c);c=a;if(c){continue}break}}a=H[j+32>>2];H[j+32>>2]=0;if(a){qa(a)}da=j- -64|0;return o}va();X()}function Jf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=O(0),o=0,p=0,q=0,r=0,s=O(0);j=da+-64|0;da=j;H[j+40>>2]=0;H[j+44>>2]=0;H[j+32>>2]=0;H[j+36>>2]=0;H[j+48>>2]=1065353216;c=H[a+80>>2];H[j+24>>2]=0;H[j+16>>2]=0;H[j+20>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}d=c<<2;k=ra(d);H[j+16>>2]=k;c=d+k|0;H[j+24>>2]=c;ta(k,0,d);H[j+20>>2]=c;while(1){c=H[H[b>>2]>>2];f=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],q,0)|0;e=I[c+f|0];F[j+31|0]=e;c:{d:{e:{if(!i){break e}g=H[j+32>>2];h=e^318;d=Al(i)>>>0>1;c=h&i-1;f:{if(!d){break f}c=h;if(c>>>0<i>>>0){break f}c=(h>>>0)%(i>>>0)|0}f=c;c=H[g+(f<<2)>>2];if(!c){break e}c=H[c>>2];if(!c){break e}if(!d){i=i-1|0;while(1){d=H[c+4>>2];g:{if((d|0)!=(h|0)){if((f|0)==(d&i)){break g}break e}if((e|0)==I[c+8|0]){break d}}c=H[c>>2];if(c){continue}break}break e}while(1){d=H[c+4>>2];h:{if((d|0)!=(h|0)){if(d>>>0>=i>>>0){d=(d>>>0)%(i>>>0)|0}if((d|0)==(f|0)){break h}break e}if((e|0)==I[c+8|0]){break d}}c=H[c>>2];if(c){continue}break}}H[j+12>>2]=o;F[j+8|0]=e;c=0;h=I[j+8|0];i=h^318;i:{j:{g=j+32|0;e=H[g+4>>2];if(!e){break j}d=Al(e);k:{if(d>>>0>=2){c=i;if(e>>>0<=c>>>0){c=(i>>>0)%(e>>>0)|0}l=H[H[g>>2]+(c<<2)>>2];if(!l){break j}if(d>>>0<=1){break k}while(1){l=H[l>>2];if(!l){break j}d=H[l+4>>2];if((d|0)!=(i|0)){if(d>>>0>=e>>>0){d=(d>>>0)%(e>>>0)|0}if((c|0)!=(d|0)){break j}}if((h|0)!=I[l+8|0]){continue}break}c=0;break i}c=i&e-1;l=H[H[g>>2]+(c<<2)>>2];if(!l){break j}}f=e-1|0;while(1){l=H[l>>2];if(!l){break j}d=H[l+4>>2];if((d|0)!=(i|0)&(d&f)!=(c|0)){break j}if((h|0)!=I[l+8|0]){continue}break}c=0;break i}l=ra(16);F[l+8|0]=I[j+8|0];d=H[j+12>>2];H[l+4>>2]=i;H[l+12>>2]=d;H[l>>2]=0;s=O(H[g+12>>2]+1>>>0);n=L[g+16>>2];l:{if(s>O(n*O(e>>>0))?0:e){break l}d=(e-1&e)!=0|e>>>0<3|e<<1;c=2;n=O(U(O(s/n)));m:{if(n<O(4294967296)&n>=O(0)){f=~~n>>>0;break m}f=0}d=d>>>0<f>>>0?f:d;n:{if((d|0)==1){break n}if(!(d&d-1)){c=d;break n}c=Ja(d);e=H[g+4>>2]}o:{if(c>>>0<=e>>>0){if(c>>>0>=e>>>0){break o}f=e>>>0<3;n=O(U(O(O(K[g+12>>2])/L[g+16>>2])));p:{if(n<O(4294967296)&n>=O(0)){d=~~n>>>0;break p}d=0}q:{r:{if(f){break r}if(Al(e)>>>0>1){break r}d=d>>>0<2?d:1<<32-Q(d-1|0);break q}d=Ja(d)}c=c>>>0<d>>>0?d:c;if(e>>>0<=c>>>0){break o}}d=0;e=0;k=c;s:{t:{u:{v:{if(c){if(k>>>0>=1073741824){break v}c=ra(k<<2);f=H[g>>2];H[g>>2]=c;if(f){qa(f)}H[g+4>>2]=k;f=0;if(k-1>>>0>=3){c=k&-4;while(1){h=f<<2;H[h+H[g>>2]>>2]=0;H[H[g>>2]+(h|4)>>2]=0;H[H[g>>2]+(h|8)>>2]=0;H[H[g>>2]+(h|12)>>2]=0;f=f+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}c=k&3;if(c){while(1){H[H[g>>2]+(f<<2)>>2]=0;f=f+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}d=H[g+8>>2];if(!d){break s}c=g+8|0;h=H[d+4>>2];f=Al(k);if(f>>>0<2){break u}h=h>>>0>=k>>>0?(h>>>0)%(k>>>0)|0:h;H[H[g>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break s}if(f>>>0<=1){break t}while(1){e=H[c+4>>2];if(k>>>0<=e>>>0){e=(e>>>0)%(k>>>0)|0}w:{if((e|0)==(h|0)){d=c;break w}f=c;p=e<<2;r=p+H[g>>2]|0;if(!H[r>>2]){H[r>>2]=d;d=c;h=e;break w}while(1){e=f;f=H[e>>2];if(I[c+8|0]==I[f+8|0]?f:0){continue}break}H[d>>2]=f;H[e>>2]=H[H[p+H[g>>2]>>2]>>2];H[H[p+H[g>>2]>>2]>>2]=c}c=H[d>>2];if(c){continue}break}break s}c=H[g>>2];H[g>>2]=0;if(c){qa(c)}H[g+4>>2]=0;break s}ya(1604);X()}h=k-1&h;H[H[g>>2]+(h<<2)>>2]=c;c=H[d>>2];if(!c){break s}}r=k-1|0;while(1){e=r&H[c+4>>2];x:{if((e|0)==(h|0)){d=c;break x}f=c;p=e<<2;k=p+H[g>>2]|0;if(H[k>>2]){while(1){e=f;f=H[e>>2];if(I[c+8|0]==I[f+8|0]?f:0){continue}break}H[d>>2]=f;H[e>>2]=H[H[p+H[g>>2]>>2]>>2];H[H[p+H[g>>2]>>2]>>2]=c;break x}H[k>>2]=d;d=c;h=e}c=H[d>>2];if(c){continue}break}}}e=H[g+4>>2];c=e-1|0;if(!(c&e)){c=c&i;break l}if(e>>>0>i>>>0){c=i;break l}c=(i>>>0)%(e>>>0)|0}c=H[g>>2]+(c<<2)|0;d=H[c>>2];y:{if(!d){H[l>>2]=H[g+8>>2];H[g+8>>2]=l;H[c>>2]=g+8;c=H[l>>2];if(!c){break y}c=H[c+4>>2];d=e-1|0;z:{if(!(d&e)){c=c&d;break z}if(c>>>0<e>>>0){break z}c=(c>>>0)%(e>>>0)|0}H[H[g>>2]+(c<<2)>>2]=l;break y}H[l>>2]=H[d>>2];H[d>>2]=l}H[g+12>>2]=H[g+12>>2]+1;c=1}F[j+60|0]=c;H[j+56>>2]=l;c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,o)|0,j+31|0,c);k=H[j+16>>2];H[k+(q<<2)>>2]=o;o=o+1|0;break c}H[(q<<2)+k>>2]=H[c+12>>2]}c=q+1|0;m=c?m:m+1|0;q=c;c=H[a+80>>2];if(!m&c>>>0>q>>>0){i=H[j+36>>2];continue}break}if((c|0)==(o|0)){break b}A:{if(!I[a+84|0]){i=H[a+68>>2];b=H[a+72>>2]-i|0;if(!b){break A}h=H[j+16>>2];b=b>>2;b=b>>>0>1?b:1;f=b&3;e=0;c=0;if(b-1>>>0>=3){d=b&-4;k=0;while(1){m=c<<2;b=m+i|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];b=i+(m|4)|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];b=i+(m|8)|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];b=i+(m|12)|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];c=c+4|0;k=k+4|0;if((d|0)!=(k|0)){continue}break}}if(!f){break A}while(1){b=i+(c<<2)|0;H[b>>2]=H[h+(H[b>>2]<<2)>>2];c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break A}F[a+84|0]=0;i=H[a+68>>2];b=H[a+72>>2]-i>>2;B:{if(b>>>0<c>>>0){Ma(a+68|0,c-b|0,2204);i=H[a+68>>2];c=H[a+80>>2];break B}if(b>>>0<=c>>>0){break B}H[a+72>>2]=(c<<2)+i}if(!c){break A}h=H[j+16>>2];e=0;b=0;if(c-1>>>0>=3){f=c&-4;k=0;while(1){m=b<<2;H[m+i>>2]=H[h+m>>2];d=m|4;H[d+i>>2]=H[d+h>>2];d=m|8;H[d+i>>2]=H[d+h>>2];d=m|12;H[d+i>>2]=H[d+h>>2];b=b+4|0;k=k+4|0;if((f|0)!=(k|0)){continue}break}}d=c&3;if(!d){break A}while(1){c=b<<2;H[c+i>>2]=H[c+h>>2];b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}H[a+80>>2]=o}a=H[j+16>>2];if(a){qa(a)}c=H[j+40>>2];if(c){while(1){a=H[c>>2];qa(c);c=a;if(c){continue}break}}a=H[j+32>>2];H[j+32>>2]=0;if(a){qa(a)}da=j- -64|0;return o}va();X()}function _f(a,b){var 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;j=da-32|0;da=j;c=H[a+16>>2];H[a+20>>2]=c;a:{b:{c:{d:{e:{if((c|0)!=H[a+24>>2]){H[c>>2]=b;b=c+4|0;H[a+20>>2]=b;f=c;break e}f=ra(4);H[f>>2]=b;b=f+4|0;H[a+24>>2]=b;H[a+20>>2]=b;H[a+16>>2]=f;if(c){break d}}c=H[a+8>>2];c=H[c+100>>2]-H[c+96>>2]|0;break c}qa(c);b=H[a+20>>2];f=H[a+16>>2];if((b|0)==(f|0)){break b}c=H[a+8>>2];c=H[c+100>>2]-H[c+96>>2]|0}if((c|0)<=0){d=H[a+28>>2];while(1){c=b-4|0;e=H[c>>2];f:{if((e|0)!=-1){e=(e>>>0)/3|0;if(!(H[d+(e>>>3&268435452)>>2]>>>e&1)){break f}}H[a+20>>2]=c;b=c}if((b|0)!=(f|0)){continue}break}break b}p=a+120|0;c=(c|0)/12|0;q=(c|0)>1?c:1;g:{h:{i:{while(1){j:{k:{l:{c=b-4|0;b=H[c>>2];if((b|0)==-1){break l}d=H[a+28>>2];f=(b>>>0)/3|0;if(H[d+(f>>>3&268435452)>>2]>>>f&1){break l}i=0;while(1){H[a+164>>2]=H[a+164>>2]+1;h=(b>>>0)/3|0;g=(b|0)==-1;l=g?-1:h;c=(l>>>3&536870908)+d|0;H[c>>2]=H[c>>2]|1<<l;c=H[a+76>>2];m:{if((c|0)!=H[a+80>>2]){H[c>>2]=b;H[a+76>>2]=c+4;break m}d=H[a+72>>2];f=c-d|0;k=f>>2;c=k+1|0;if(c>>>0>1073741823){break j}e=f>>1;e=f>>>0<2147483644?c>>>0>e>>>0?c:e:1073741823;if(e){if(e>>>0>1073741823){break a}c=ra(e<<2)}else{c=0}k=c+(k<<2)|0;H[k>>2]=b;if((f|0)>0){sa(c,d,f)}H[a+80>>2]=c+(e<<2);H[a+76>>2]=k+4;H[a+72>>2]=c;if(!d){break m}qa(d)}c=-1;c=(b|0)!=-1?H[H[H[a+12>>2]>>2]+(b<<2)>>2]:c;m=c<<2;k=H[m+H[a+152>>2]>>2];n:{o:{f=H[a+84>>2]+(c>>>3&536870908)|0;d=H[f>>2];c=1<<c;if(!(d&c)){H[f>>2]=c|d;if((k|0)==-1){break o}}p:{if(g){break p}c=-1;f=b+1|0;g=(f>>>0)%3|0?f:b-2|0;if((g|0)!=-1){c=H[H[H[a+12>>2]+12>>2]+(g<<2)>>2]}q:{r:{h=b-N(h,3)|0;s:{if(h){f=b-1|0;break s}f=b+2|0;if((f|0)==-1){break r}}f=H[H[H[a+12>>2]+12>>2]+(f<<2)>>2];e=(f|0)==-1?-1:(f>>>0)/3|0;d=(c|0)==-1?-1:(c>>>0)/3|0;break q}e=-1;f=-1;d=(c|0)==-1?-1:(c>>>0)/3|0}t:{if((g|0)==-1){break t}n=H[H[a+12>>2]+12>>2];g=H[n+(g<<2)>>2];if((g|0)==-1){break t}o=H[a+28>>2];g=(g>>>0)/3|0;if(H[o+(g>>>3&268435452)>>2]>>>g&1){break t}u:{v:{if(h){d=b-1|0;break v}d=b+2|0;if((d|0)==-1){break u}}d=H[(d<<2)+n>>2];if((d|0)==-1){break u}d=(d>>>0)/3|0;if(H[(d>>>3&268435452)+o>>2]>>>d&1){break u}d=H[a+272>>2];w:{if((d|0)!=H[a+276>>2]){H[d>>2]=1;H[a+272>>2]=d+4;break w}g=H[a+268>>2];e=d-g|0;h=e>>2;d=h+1|0;if(d>>>0>1073741823){break i}i=e>>1;i=e>>>0<2147483644?d>>>0>i>>>0?d:i:1073741823;if(i){if(i>>>0>1073741823){break a}d=ra(i<<2)}else{d=0}h=d+(h<<2)|0;H[h>>2]=1;if((e|0)>0){sa(d,g,e)}H[a+276>>2]=d+(i<<2);H[a+272>>2]=h+4;H[a+268>>2]=d;if(!g){break w}qa(g)}H[a+168>>2]=H[a+168>>2]+1;x:{if((k|0)==-1){break x}d=H[H[a+152>>2]+m>>2];if(H[H[a+140>>2]+(d>>>3&536870908)>>2]>>>d&1){break x}Hc(a,b,0)}b=H[a+164>>2];H[j+4>>2]=l;d=j+4|0;H[j+16>>2]=d;Vf(j+24|0,p,d,j+16|0);H[H[j+24>>2]+12>>2]=b;b=H[a+20>>2];H[b-4>>2]=f;if((b|0)!=H[a+24>>2]){H[b>>2]=c;H[a+20>>2]=b+4;break k}d=H[a+16>>2];f=b-d|0;g=f>>2;b=g+1|0;if(b>>>0>1073741823){break h}e=f>>1;e=f>>>0<2147483644?b>>>0>e>>>0?b:e:1073741823;if(e){if(e>>>0>1073741823){break g}b=ra(e<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=c;if((f|0)>0){sa(b,d,f)}H[a+24>>2]=b+(e<<2);H[a+20>>2]=g+4;H[a+16>>2]=b;if(!d){break k}qa(d);break k}if((e|0)!=-1){gc(a,H[a+164>>2],0,e)}b=H[a+272>>2];if((b|0)!=H[a+276>>2]){H[b>>2]=3;H[a+272>>2]=b+4;break n}d=H[a+268>>2];f=b-d|0;g=f>>2;b=g+1|0;if(b>>>0>1073741823){break i}e=f>>1;e=f>>>0<2147483644?b>>>0>e>>>0?b:e:1073741823;if(e){if(e>>>0>1073741823){break a}b=ra(e<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=3;if((f|0)>0){sa(b,d,f)}H[a+276>>2]=b+(e<<2);H[a+272>>2]=g+4;H[a+268>>2]=b;if(!d){break n}qa(d);break n}if((d|0)!=-1){gc(a,H[a+164>>2],1,d)}y:{z:{if(h){b=b-1|0;break z}b=b+2|0;if((b|0)==-1){break y}}b=H[H[H[a+12>>2]+12>>2]+(b<<2)>>2];if((b|0)==-1){break y}b=(b>>>0)/3|0;if(H[H[a+28>>2]+(b>>>3&268435452)>>2]>>>b&1){break y}b=H[a+272>>2];if((b|0)!=H[a+276>>2]){H[b>>2]=5;H[a+272>>2]=b+4;c=f;break n}d=H[a+268>>2];c=b-d|0;g=c>>2;b=g+1|0;if(b>>>0>1073741823){break i}e=c>>1;e=c>>>0<2147483644?b>>>0>e>>>0?b:e:1073741823;if(e){if(e>>>0>1073741823){break a}b=ra(e<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=5;if((c|0)>0){sa(b,d,c)}H[a+276>>2]=b+(e<<2);H[a+272>>2]=g+4;H[a+268>>2]=b;if(!d){c=f;break n}qa(d);c=f;break n}if((e|0)==-1){break p}gc(a,H[a+164>>2],0,e)}b=H[a+272>>2];A:{if((b|0)!=H[a+276>>2]){H[b>>2]=7;H[a+272>>2]=b+4;break A}f=H[a+268>>2];c=b-f|0;e=c>>2;b=e+1|0;if(b>>>0>1073741823){break i}d=c>>1;d=c>>>0<2147483644?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>1073741823){break a}b=ra(d<<2)}else{b=0}e=b+(e<<2)|0;H[e>>2]=7;if((c|0)>0){sa(b,f,c)}H[a+276>>2]=b+(d<<2);H[a+272>>2]=e+4;H[a+268>>2]=b;if(!f){break A}qa(f)}H[a+20>>2]=H[a+20>>2]-4;break k}c=H[a+272>>2];B:{if((c|0)!=H[a+276>>2]){H[c>>2]=0;H[a+272>>2]=c+4;break B}d=H[a+268>>2];f=c-d|0;g=f>>2;c=g+1|0;if(c>>>0>1073741823){break i}e=f>>1;e=f>>>0<2147483644?c>>>0>e>>>0?c:e:1073741823;if(e){if(e>>>0>1073741823){break a}c=ra(e<<2)}else{c=0}g=c+(g<<2)|0;H[g>>2]=0;if((f|0)>0){sa(c,d,f)}H[a+276>>2]=c+(e<<2);H[a+272>>2]=g+4;H[a+268>>2]=c;if(!d){break B}qa(d)}c=-1;if((b|0)==-1){break n}f=b+1|0;b=(f>>>0)%3|0?f:b-2|0;if((b|0)==-1){break n}c=H[H[H[a+12>>2]+12>>2]+(b<<2)>>2]}i=i+1|0;if((q|0)==(i|0)){break k}d=H[a+28>>2];b=c;continue}}H[a+20>>2]=c}b=H[a+20>>2];if((b|0)!=H[a+16>>2]){continue}break b}break}va();X()}va();X()}va();X()}break a}da=j+32|0;return 1}ya(1604);X()}function Zd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=H[b+48>>2];if(!h){b=ra(32);c=I[1814]|I[1815]<<8|(I[1816]<<16|I[1817]<<24);f=I[1810]|I[1811]<<8|(I[1812]<<16|I[1813]<<24);F[b+15|0]=f;F[b+16|0]=f>>>8;F[b+17|0]=f>>>16;F[b+18|0]=f>>>24;F[b+19|0]=c;F[b+20|0]=c>>>8;F[b+21|0]=c>>>16;F[b+22|0]=c>>>24;c=I[1807]|I[1808]<<8|(I[1809]<<16|I[1810]<<24);f=I[1803]|I[1804]<<8|(I[1805]<<16|I[1806]<<24);F[b+8|0]=f;F[b+9|0]=f>>>8;F[b+10|0]=f>>>16;F[b+11|0]=f>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1799]|I[1800]<<8|(I[1801]<<16|I[1802]<<24);f=I[1795]|I[1796]<<8|(I[1797]<<16|I[1798]<<24);F[b|0]=f;F[b+1|0]=f>>>8;F[b+2|0]=f>>>16;F[b+3|0]=f>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+23|0]=0;H[a>>2]=-1;Ia(a+4|0,b,23);qa(b);return}g=H[b+52>>2];if(!g){f=da-32|0;da=f;e=ra(16);H[f+16>>2]=e;H[f+20>>2]=15;H[f+24>>2]=-2147483632;F[e+15|0]=0;d=I[1746]|I[1747]<<8|(I[1748]<<16|I[1749]<<24);g=I[1742]|I[1743]<<8|(I[1744]<<16|I[1745]<<24);F[e+7|0]=g;F[e+8|0]=g>>>8;F[e+9|0]=g>>>16;F[e+10|0]=g>>>24;F[e+11|0]=d;F[e+12|0]=d>>>8;F[e+13|0]=d>>>16;F[e+14|0]=d>>>24;d=I[1739]|I[1740]<<8|(I[1741]<<16|I[1742]<<24);g=I[1735]|I[1736]<<8|(I[1737]<<16|I[1738]<<24);F[e|0]=g;F[e+1|0]=g>>>8;F[e+2|0]=g>>>16;F[e+3|0]=g>>>24;F[e+4|0]=d;F[e+5|0]=d>>>8;F[e+6|0]=d>>>16;F[e+7|0]=d>>>24;g=b+4|0;j=Db(g,f+16|0,-1);if(F[f+27|0]<0){qa(H[f+16>>2])}a:{b:{c:{d:{e:{switch(j+1|0){case 1:d=ra(56);H[d>>2]=0;H[d+4>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d+40>>2]=0;H[d+44>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;e=mc(d);H[d>>2]=12688;break c;case 0:break e;default:break d}}if((bb(g)|0)!=10){break d}d=ra(56);H[d>>2]=0;H[d+4>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d+40>>2]=0;H[d+44>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;e=mc(d);H[d>>2]=12688;break c}e=0;H[f+12>>2]=0;f:{i=H[h+12>>2];d=H[h+8>>2];if((i-d|0)>0){while(1){k=H[H[(e<<2)+d>>2]+28>>2];if(k-1>>>0>=6){if((k|0)!=9){break f}e=ra(32);H[f+16>>2]=e;H[f+20>>2]=17;H[f+24>>2]=-2147483616;F[e+17|0]=0;F[e+16|0]=I[1373];d=I[1369]|I[1370]<<8|(I[1371]<<16|I[1372]<<24);i=I[1365]|I[1366]<<8|(I[1367]<<16|I[1368]<<24);F[e+8|0]=i;F[e+9|0]=i>>>8;F[e+10|0]=i>>>16;F[e+11|0]=i>>>24;F[e+12|0]=d;F[e+13|0]=d>>>8;F[e+14|0]=d>>>16;F[e+15|0]=d>>>24;d=I[1361]|I[1362]<<8|(I[1363]<<16|I[1364]<<24);i=I[1357]|I[1358]<<8|(I[1359]<<16|I[1360]<<24);F[e|0]=i;F[e+1|0]=i>>>8;F[e+2|0]=i>>>16;F[e+3|0]=i>>>24;F[e+4|0]=d;F[e+5|0]=d>>>8;F[e+6|0]=d>>>16;F[e+7|0]=d>>>24;e=xb(g,f+12|0,f+16|0,-1);if(F[f+27|0]<0){qa(H[f+16>>2])}if((e|0)<=0){break f}d=H[h+8>>2];i=H[h+12>>2];e=H[f+12>>2]}e=e+1|0;H[f+12>>2]=e;if(i-d>>2>(e|0)){continue}break}}d=ra(56);H[d>>2]=0;H[d+4>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d+40>>2]=0;H[d+44>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;e=mc(d);H[d>>2]=12580;break c}if((j|0)==1){break b}d=ra(56);H[d>>2]=0;H[d+4>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d+40>>2]=0;H[d+44>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;e=mc(d);H[d>>2]=12688}H[e+4>>2]=h;If(a,e,g,c);if(!H[a>>2]){if(F[a+15|0]<0){qa(H[a+4>>2])}c=H[e+52>>2];H[b+44>>2]=0;H[b+40>>2]=c;H[a+8>>2]=0;H[a+12>>2]=0;H[a>>2]=0;H[a+4>>2]=0}fa[H[H[e>>2]+4>>2]](e);break a}b=ra(32);c=I[1997]|I[1998]<<8|(I[1999]<<16|I[2e3]<<24);e=I[1993]|I[1994]<<8|(I[1995]<<16|I[1996]<<24);F[b+16|0]=e;F[b+17|0]=e>>>8;F[b+18|0]=e>>>16;F[b+19|0]=e>>>24;F[b+20|0]=c;F[b+21|0]=c>>>8;F[b+22|0]=c>>>16;F[b+23|0]=c>>>24;c=I[1989]|I[1990]<<8|(I[1991]<<16|I[1992]<<24);e=I[1985]|I[1986]<<8|(I[1987]<<16|I[1988]<<24);F[b+8|0]=e;F[b+9|0]=e>>>8;F[b+10|0]=e>>>16;F[b+11|0]=e>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1981]|I[1982]<<8|(I[1983]<<16|I[1984]<<24);e=I[1977]|I[1978]<<8|(I[1979]<<16|I[1980]<<24);F[b|0]=e;F[b+1|0]=e>>>8;F[b+2|0]=e>>>16;F[b+3|0]=e>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;F[b+24|0]=0;H[a>>2]=-1;Ia(a+4|0,b,24);qa(b)}da=f+32|0;return}e=da-16|0;da=e;f=ra(16);H[e>>2]=f;H[e+4>>2]=15;H[e+8>>2]=-2147483632;F[f+15|0]=0;d=I[1746]|I[1747]<<8|(I[1748]<<16|I[1749]<<24);h=I[1742]|I[1743]<<8|(I[1744]<<16|I[1745]<<24);F[f+7|0]=h;F[f+8|0]=h>>>8;F[f+9|0]=h>>>16;F[f+10|0]=h>>>24;F[f+11|0]=d;F[f+12|0]=d>>>8;F[f+13|0]=d>>>16;F[f+14|0]=d>>>24;d=I[1739]|I[1740]<<8|(I[1741]<<16|I[1742]<<24);h=I[1735]|I[1736]<<8|(I[1737]<<16|I[1738]<<24);F[f|0]=h;F[f+1|0]=h>>>8;F[f+2|0]=h>>>16;F[f+3|0]=h>>>24;F[f+4|0]=d;F[f+5|0]=d>>>8;F[f+6|0]=d>>>16;F[f+7|0]=d>>>24;d=b+4|0;f=Db(d,e,-1);if(F[e+11|0]<0){qa(H[e>>2])}g:{h:{i:{switch(f+1|0){case 0:if((bb(d)|0)==10){break h}break;case 2:break i;default:break h}}f=ra(68);Mf(f);H[f+64>>2]=0;H[f>>2]=10432;break g}f=ra(64);Mf(f);H[f>>2]=12296}H[f+56>>2]=g;H[f+4>>2]=g;If(a,f,d,c);if(!H[a>>2]){if(F[a+15|0]<0){qa(H[a+4>>2])}H[b+40>>2]=H[f+52>>2];H[b+44>>2]=H[f+60>>2];H[a+8>>2]=0;H[a+12>>2]=0;H[a>>2]=0;H[a+4>>2]=0}fa[H[H[f>>2]+4>>2]](f);da=e+16|0}function Vj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=da-16|0;da=e;f=H[a+48>>2];b=ra(32);H[e>>2]=b;H[e+4>>2]=20;H[e+8>>2]=-2147483616;F[b+20|0]=0;c=I[1471]|I[1472]<<8|(I[1473]<<16|I[1474]<<24);F[b+16|0]=c;F[b+17|0]=c>>>8;F[b+18|0]=c>>>16;F[b+19|0]=c>>>24;c=I[1467]|I[1468]<<8|(I[1469]<<16|I[1470]<<24);d=I[1463]|I[1464]<<8|(I[1465]<<16|I[1466]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1459]|I[1460]<<8|(I[1461]<<16|I[1462]<<24);d=I[1455]|I[1456]<<8|(I[1457]<<16|I[1458]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;f=Cf(f+24|0,e);if(F[e+11|0]<0){qa(H[e>>2])}g=H[a+48>>2];b=ra(32);H[e>>2]=b;H[e+4>>2]=22;H[e+8>>2]=-2147483616;F[b+22|0]=0;c=I[1450]|I[1451]<<8|(I[1452]<<16|I[1453]<<24);d=I[1446]|I[1447]<<8|(I[1448]<<16|I[1449]<<24);F[b+14|0]=d;F[b+15|0]=d>>>8;F[b+16|0]=d>>>16;F[b+17|0]=d>>>24;F[b+18|0]=c;F[b+19|0]=c>>>8;F[b+20|0]=c>>>16;F[b+21|0]=c>>>24;c=I[1444]|I[1445]<<8|(I[1446]<<16|I[1447]<<24);d=I[1440]|I[1441]<<8|(I[1442]<<16|I[1443]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1436]|I[1437]<<8|(I[1438]<<16|I[1439]<<24);d=I[1432]|I[1433]<<8|(I[1434]<<16|I[1435]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;g=Cf(g+24|0,e);if(F[e+11|0]<0){qa(H[e>>2])}b=H[a+64>>2];H[a+64>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}b=H[a+56>>2];h=H[b+100>>2];i=H[a+48>>2];j=H[b+96>>2];b=ra(32);H[e>>2]=b;H[e+4>>2]=18;H[e+8>>2]=-2147483616;F[b+18|0]=0;c=I[1725]|I[1726]<<8;F[b+16|0]=c;F[b+17|0]=c>>>8;c=I[1721]|I[1722]<<8|(I[1723]<<16|I[1724]<<24);d=I[1717]|I[1718]<<8|(I[1719]<<16|I[1720]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1713]|I[1714]<<8|(I[1715]<<16|I[1716]<<24);d=I[1709]|I[1710]<<8|(I[1711]<<16|I[1712]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;b=Db(i,e,-1);if(F[e+11|0]<0){qa(H[e>>2])}c=(h-j|0)/12|0;a:{b:{c:{d:{e:{f:{g:{h:{switch(b+1|0){case 1:break f;case 3:break g;case 0:break h;default:break c}}if(!f){break g}if(c>>>0<1e3|(bb(H[a+48>>2])|0)>4|g^1){break e}}b=H[a+44>>2];F[e|0]=2;c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],e,e+1|0)}b=ra(360);H[b+4>>2]=0;H[b+8>>2]=0;H[b+72>>2]=0;H[b+76>>2]=0;H[b>>2]=10612;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b+36>>2]=0;H[b+40>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+52>>2]=0;H[b+56>>2]=0;H[b+60>>2]=0;H[b+64>>2]=0;H[b+80>>2]=0;H[b+84>>2]=0;H[b+88>>2]=0;H[b+92>>2]=0;H[b+96>>2]=0;H[b+100>>2]=0;H[b+104>>2]=0;H[b+108>>2]=0;H[b+112>>2]=0;H[b+116>>2]=0;H[b+120>>2]=0;H[b+124>>2]=0;H[b+128>>2]=0;H[b+132>>2]=0;H[b+136>>2]=1065353216;H[b+156>>2]=0;H[b+160>>2]=0;H[b+148>>2]=0;H[b+152>>2]=0;H[b+140>>2]=0;H[b+144>>2]=0;H[b+168>>2]=0;H[b+172>>2]=0;H[b+164>>2]=-1;H[b+176>>2]=0;H[b+180>>2]=0;H[b+184>>2]=0;H[b+188>>2]=0;H[b+192>>2]=0;c=b+200|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=b+232|0;H[c>>2]=0;H[c+4>>2]=0;F[c+24|0]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[b+304>>2]=0;H[b+308>>2]=0;H[b+296>>2]=0;H[b+300>>2]=0;H[b+288>>2]=0;H[b+292>>2]=0;H[b+280>>2]=0;H[b+284>>2]=0;H[b+272>>2]=0;H[b+276>>2]=0;H[b+264>>2]=0;H[b+268>>2]=0;F[b+352|0]=0;H[b+344>>2]=0;H[b+336>>2]=0;H[b+340>>2]=0;H[b+328>>2]=2;H[b+332>>2]=7;H[b+320>>2]=-1;H[b+324>>2]=0;H[b+312>>2]=0;H[b+316>>2]=-1;break d}if(!f){break c}}b=H[a+44>>2];F[e|0]=0;c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],e,e+1|0)}b=ra(296);H[b+4>>2]=0;H[b+8>>2]=0;H[b+72>>2]=0;H[b+76>>2]=0;H[b>>2]=10560;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b+36>>2]=0;H[b+40>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+52>>2]=0;H[b+56>>2]=0;H[b+60>>2]=0;H[b+64>>2]=0;H[b+80>>2]=0;H[b+84>>2]=0;H[b+88>>2]=0;H[b+92>>2]=0;H[b+96>>2]=0;H[b+100>>2]=0;H[b+104>>2]=0;H[b+108>>2]=0;H[b+112>>2]=0;H[b+116>>2]=0;H[b+120>>2]=0;H[b+124>>2]=0;H[b+128>>2]=0;H[b+132>>2]=0;H[b+136>>2]=1065353216;H[b+156>>2]=0;H[b+160>>2]=0;H[b+148>>2]=0;H[b+152>>2]=0;H[b+140>>2]=0;H[b+144>>2]=0;H[b+168>>2]=0;H[b+172>>2]=0;H[b+164>>2]=-1;H[b+176>>2]=0;H[b+180>>2]=0;H[b+184>>2]=0;H[b+188>>2]=0;H[b+192>>2]=0;c=b+200|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=b+232|0;H[c>>2]=0;H[c+4>>2]=0;F[c+24|0]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;F[b+288|0]=0;H[b+280>>2]=0;H[b+284>>2]=0;H[b+272>>2]=0;H[b+276>>2]=0;H[b+264>>2]=0;H[b+268>>2]=0}c=H[a+64>>2];H[a+64>>2]=b;if(!c){break b}fa[H[H[c>>2]+4>>2]](c)}b=H[a+64>>2];if(b){break b}a=0;break a}a=fa[H[H[b>>2]+8>>2]](b,a)|0}da=e+16|0;return a|0}function Yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=da-16|0;da=e;H[a+8>>2]=b;H[a>>2]=0;d=a+12|0;H[d>>2]=0;H[d+4>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;c=d+32|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d- -64|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+96|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+128|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+160|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+192|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+224|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+256|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+288|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+320|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+352|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+384|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+416|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+448|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+480|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+512|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+544|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+576|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+608|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+640|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+672|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+704|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+736|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+768|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+800|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+832|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+864|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+896|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+928|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=d+960|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;d=d+992|0;H[d>>2]=0;H[d+4>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d=a+1036|0;H[d>>2]=0;H[d+4>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d=a+1068|0;H[d>>2]=0;H[d+4>>2]=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d=a+1088|0;H[d>>2]=0;H[d+4>>2]=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d=a+1108|0;H[d>>2]=0;H[d+4>>2]=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;H[a+1136>>2]=0;H[a+1128>>2]=0;H[a+1132>>2]=0;h=a+1164|0;a:{b:{if(b){if(b>>>0<1073741824){break b}va();X()}H[a+1140>>2]=0;H[a+1144>>2]=0;d=a+1156|0;H[d>>2]=0;H[d+4>>2]=0;d=a+1148|0;H[d>>2]=0;H[d+4>>2]=0;H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;d=1;break a}d=b<<2;c=ra(d);H[a+1128>>2]=c;f=c+d|0;H[a+1136>>2]=f;ta(c,0,d);g=a+1148|0;H[g>>2]=0;H[a+1140>>2]=0;H[a+1144>>2]=0;H[a+1132>>2]=f;c=ra(d);H[a+1140>>2]=c;f=c+d|0;H[g>>2]=f;ta(c,0,d);g=a+1160|0;H[g>>2]=0;H[a+1152>>2]=0;H[a+1156>>2]=0;H[a+1144>>2]=f;c=ra(d);H[a+1152>>2]=c;f=c+d|0;H[g>>2]=f;ta(c,0,d);H[a+1156>>2]=f;c=ra(d);H[e>>2]=c;f=c+d|0;H[e+8>>2]=f;ta(c,0,d);H[e+4>>2]=f;d=b<<5|1}cc(h,d,e);c=H[e>>2];if(c){H[e+4>>2]=c;qa(c)}H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;if(b){b=b<<2;c=ra(b);H[e>>2]=c;f=b+c|0;H[e+8>>2]=f;ta(c,0,b);H[e+4>>2]=f}cc(a+1176|0,d,e);b=H[e>>2];if(b){H[e+4>>2]=b;qa(b)}da=e+16|0;return a}function hh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;g=da-80|0;da=g;i=-1;f=-1;a:{if((b|0)==-1){break a}f=b+1|0;i=(f>>>0)%3|0?f:b-2|0;f=b-1|0;if((b>>>0)%3|0){break a}f=b+2|0}e=H[a+36>>2];b=H[e>>2];b:{c:{d:{e:{f:{g:{e=H[e+4>>2]-b>>2;h=i<<2;i=H[H[a+32>>2]+28>>2];j=H[h+i>>2];if(e>>>0<=j>>>0){break g}f=H[i+(f<<2)>>2];if(f>>>0>=e>>>0){break g}h:{i:{e=H[b+(f<<2)>>2];k=H[b+(j<<2)>>2];if((e|0)>=(d|0)|(k|0)>=(d|0)){break i}b=(e<<3)+c|0;n=H[b+4>>2];f=(k<<3)+c|0;i=H[f+4>>2];q=H[f>>2];A=H[b>>2];if(!((q|0)!=(A|0)|(i|0)!=(n|0))){H[a+8>>2]=q;H[a+12>>2]=i;break h}b=H[H[a+4>>2]+(d<<2)>>2];H[g+72>>2]=0;H[g+76>>2]=0;f=g- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[g+56>>2]=0;H[g+60>>2]=0;f=H[a>>2];if(!I[f+84|0]){b=H[H[f+68>>2]+(b<<2)>>2]}ib(f,b,F[f+24|0],g+56|0);b=H[H[a+4>>2]+(k<<2)>>2];H[g+48>>2]=0;H[g+52>>2]=0;H[g+40>>2]=0;H[g+44>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;f=H[a>>2];if(!I[f+84|0]){b=H[H[f+68>>2]+(b<<2)>>2]}ib(f,b,F[f+24|0],g+32|0);b=H[H[a+4>>2]+(e<<2)>>2];H[g+24>>2]=0;H[g+28>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;f=H[a>>2];if(!I[f+84|0]){b=H[H[f+68>>2]+(b<<2)>>2]}ib(f,b,F[f+24|0],g+8|0);E=H[g+44>>2];b=H[g+16>>2];p=H[g+40>>2];f=p;j=H[g+20>>2]-(E+(b>>>0<f>>>0)|0)|0;r=b-f|0;b=xl(r,j,r,j);f=ea;s=b;G=H[g+36>>2];b=H[g+8>>2];B=H[g+32>>2];e=B;h=H[g+12>>2]-(G+(b>>>0<e>>>0)|0)|0;v=b-e|0;l=xl(v,h,v,h);b=s+l|0;e=ea+f|0;e=b>>>0<l>>>0?e+1|0:e;x=b;J=H[g+52>>2];b=H[g+24>>2];s=H[g+48>>2];f=s;l=H[g+28>>2]-(J+(b>>>0<f>>>0)|0)|0;w=b-f|0;o=xl(w,l,w,l);b=x+o|0;f=ea+e|0;t=b;o=b>>>0<o>>>0?f+1|0:f;if(!(b|o)){break i}x=H[g+64>>2];b=x;C=H[g+68>>2];b=xl(b-p|0,C-((b>>>0<p>>>0)+E|0)|0,r,j);f=ea;k=b;K=H[g+56>>2];b=K;L=H[g+60>>2];e=xl(b-B|0,L-((b>>>0<B>>>0)+G|0)|0,v,h);b=k+e|0;f=ea+f|0;f=b>>>0<e>>>0?f+1|0:f;e=b;M=H[g+72>>2];b=M;N=H[g+76>>2];k=xl(b-s|0,N-((b>>>0<s>>>0)+J|0)|0,w,l);b=e+k|0;e=ea+f|0;e=b>>>0<k>>>0?e+1|0:e;k=b;u=e;b=l>>31;e=b+w|0;f=b+l|0;f=e>>>0<b>>>0?f+1|0:f;D=e^b;b=b^f;f=b;b=j>>31;m=b+r|0;e=b+j|0;e=m>>>0<b>>>0?e+1|0:e;y=m^b;b=b^e;e=b;b=h>>31;z=b+v|0;m=b+h|0;m=z>>>0<b>>>0?m+1|0:m;z=z^b;b=b^m;m=(b|0)==(e|0)&y>>>0>z>>>0|b>>>0<e>>>0;y=m?y:z;b=m?e:b;e=(b|0)==(f|0)&y>>>0<D>>>0|b>>>0<f>>>0;f=zl(-1,2147483647,e?D:y,e?f:b)>>>0<k>>>0;b=ea;if(f&(b|0)<=(u|0)|(b|0)<(u|0)){break c}b=i;y=n-b|0;f=b>>31;z=(n>>31)-(f+(b>>>0>n>>>0)|0)|0;b=xl(k,u,y,z);e=ea;i=xl(i,f,t,o);f=i+b|0;b=ea+e|0;n=f;D=f>>>0<i>>>0?b+1|0:b;b=q;O=A-b|0;f=b>>31;P=(A>>31)-(f+(b>>>0>A>>>0)|0)|0;b=xl(k,u,O,P);i=ea;f=xl(q,f,t,o);b=f+b|0;e=ea+i|0;q=b;A=b>>>0<f>>>0?e+1|0:e;i=1;f=0;b=x;r=yl(xl(r,j,k,u),ea,t,o);j=r+p|0;e=ea+E|0;e=j>>>0<r>>>0?e+1|0:e;e=C-((b>>>0<j>>>0)+e|0)|0;b=b-j|0;b=xl(b,e,b,e);r=ea;e=K;p=b;h=yl(xl(v,h,k,u),ea,t,o);j=h+B|0;b=ea+G|0;b=h>>>0>j>>>0?b+1|0:b;b=L-((e>>>0<j>>>0)+b|0)|0;e=e-j|0;j=xl(e,b,e,b);b=p+j|0;e=ea+r|0;h=b;j=b>>>0<j>>>0?e+1|0:e;b=M;p=h;l=yl(xl(w,l,k,u),ea,t,o);h=l+s|0;e=ea+J|0;e=h>>>0<l>>>0?e+1|0:e;e=N-((b>>>0<h>>>0)+e|0)|0;b=b-h|0;h=xl(b,e,b,e);e=p+h|0;b=ea+j|0;j=xl(e,e>>>0<h>>>0?b+1|0:b,t,o);b=ea;h=b;if(!b&j>>>0<=1){break f}l=j;e=h;while(1){b=f<<1|i>>>31;i=i<<1;f=b;k=!e&l>>>0>7|(e|0)!=0;l=(e&3)<<30|l>>>2;e=e>>>2|0;if(k){continue}break}break e}if((d|0)>(k|0)){b=k<<1}else{if((d|0)<=0){H[a+8>>2]=0;H[a+12>>2]=0;break h}b=(d<<1)-2|0}b=(b<<2)+c|0;H[a+8>>2]=H[b>>2];H[a+12>>2]=H[b+4>>2]}break c}ua();X()}f=h;i=j;if(j-1|0){break d}}while(1){b=zl(j,h,i,f)+i|0;m=f+ea|0;m=b>>>0<i>>>0?m+1|0:m;i=(m&1)<<31|b>>>1;f=m>>>1|0;b=xl(i,f,i,f);e=ea;if((h|0)==(e|0)&b>>>0>j>>>0|e>>>0>h>>>0){continue}break}}j=a+16|0;w=H[a+24>>2];u=w<<5;b=H[a+20>>2];h=(d<<3)+c|0;d=H[h+4>>2];p=xl(i,f,O,P);c=p;B=ea;c=yl(n-c|0,D-(B+(c>>>0>n>>>0)|0)|0,t,o);k=d-c|0;l=d>>31;e=l-(ea+(c>>>0>d>>>0)|0)|0;s=xl(k,e,k,e);x=ea;h=H[h>>2];e=h>>31;k=h;r=e;v=xl(i,f,y,z);f=q+v|0;C=ea;m=A+C|0;i=yl(f,f>>>0<q>>>0?m+1|0:m,t,o);f=e-(ea+(h>>>0<i>>>0)|0)|0;e=h-i|0;h=xl(e,f,e,f);f=h+s|0;e=ea+x|0;s=f;h=f>>>0<h>>>0?e+1|0:e;f=d;e=D+B|0;d=n+p|0;e=d>>>0<n>>>0?e+1|0:e;d=yl(d,e,t,o);e=l-(ea+(d>>>0>f>>>0)|0)|0;f=f-d|0;e=xl(f,e,f,e);p=ea;x=e;f=yl(q-v|0,A-((q>>>0<v>>>0)+C|0)|0,t,o);n=k-f|0;e=r-(ea+(f>>>0>k>>>0)|0)|0;q=xl(n,e,n,e);n=x+q|0;e=ea+p|0;e=n>>>0<q>>>0?e+1|0:e;j:{if((e|0)==(h|0)&n>>>0>s>>>0|e>>>0>h>>>0){if((b|0)==(u|0)){if((b+1|0)<0){break b}if(b>>>0<=1073741822){b=b+32&-32;d=w<<6;b=b>>>0>d>>>0?b:d}else{b=2147483647}Hb(j,b);b=H[a+20>>2]}H[a+20>>2]=b+1;d=H[a+16>>2]+(b>>>3&536870908)|0;H[d>>2]=H[d>>2]|1<<b;break j}if((b|0)==(u|0)){if((b+1|0)<0){break b}if(b>>>0<=1073741822){b=b+32&-32;c=w<<6;b=b>>>0>c>>>0?b:c}else{b=2147483647}Hb(j,b);b=H[a+20>>2]}H[a+20>>2]=b+1;c=H[a+16>>2]+(b>>>3&536870908)|0;i=H[c>>2];Q=c,R=Bl(b)&i,H[Q>>2]=R;c=d;i=f}H[a+8>>2]=i;H[a+12>>2]=c}da=g+80|0;return}La();X()}function ch(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;g=da-80|0;da=g;f=-1;a:{if((b|0)==-1){break a}i=H[a+32>>2];e=b+1|0;e=(e>>>0)%3|0?e:b-2|0;if((e|0)!=-1){f=H[H[i>>2]+(e<<2)>>2]}e=((b>>>0)%3|0?-1:2)+b|0;b=-1;b=(e|0)!=-1?H[H[i>>2]+(e<<2)>>2]:b;e=H[a+36>>2];i=H[e>>2];e=H[e+4>>2]-i>>2;if(e>>>0<=f>>>0|b>>>0>=e>>>0){break a}b:{c:{d:{e:{f:{g:{e=H[i+(b<<2)>>2];k=H[i+(f<<2)>>2];if((e|0)>=(d|0)|(k|0)>=(d|0)){break g}b=(e<<3)+c|0;n=H[b+4>>2];f=(k<<3)+c|0;i=H[f+4>>2];q=H[f>>2];A=H[b>>2];if(!((q|0)!=(A|0)|(i|0)!=(n|0))){H[a+8>>2]=q;H[a+12>>2]=i;break c}b=H[H[a+4>>2]+(d<<2)>>2];H[g+72>>2]=0;H[g+76>>2]=0;f=g- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[g+56>>2]=0;H[g+60>>2]=0;f=H[a>>2];if(!I[f+84|0]){b=H[H[f+68>>2]+(b<<2)>>2]}ib(f,b,F[f+24|0],g+56|0);b=H[H[a+4>>2]+(k<<2)>>2];H[g+48>>2]=0;H[g+52>>2]=0;H[g+40>>2]=0;H[g+44>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;f=H[a>>2];if(!I[f+84|0]){b=H[H[f+68>>2]+(b<<2)>>2]}ib(f,b,F[f+24|0],g+32|0);b=H[H[a+4>>2]+(e<<2)>>2];H[g+24>>2]=0;H[g+28>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;f=H[a>>2];if(!I[f+84|0]){b=H[H[f+68>>2]+(b<<2)>>2]}ib(f,b,F[f+24|0],g+8|0);E=H[g+44>>2];b=H[g+16>>2];p=H[g+40>>2];f=p;j=H[g+20>>2]-(E+(b>>>0<f>>>0)|0)|0;r=b-f|0;b=xl(r,j,r,j);f=ea;s=b;G=H[g+36>>2];b=H[g+8>>2];B=H[g+32>>2];e=B;h=H[g+12>>2]-(G+(b>>>0<e>>>0)|0)|0;v=b-e|0;l=xl(v,h,v,h);b=s+l|0;e=ea+f|0;e=b>>>0<l>>>0?e+1|0:e;x=b;J=H[g+52>>2];b=H[g+24>>2];s=H[g+48>>2];f=s;l=H[g+28>>2]-(J+(b>>>0<f>>>0)|0)|0;w=b-f|0;o=xl(w,l,w,l);b=x+o|0;f=ea+e|0;t=b;o=b>>>0<o>>>0?f+1|0:f;if(!(b|o)){break g}x=H[g+64>>2];b=x;C=H[g+68>>2];b=xl(b-p|0,C-((b>>>0<p>>>0)+E|0)|0,r,j);f=ea;k=b;K=H[g+56>>2];b=K;L=H[g+60>>2];e=xl(b-B|0,L-((b>>>0<B>>>0)+G|0)|0,v,h);b=k+e|0;f=ea+f|0;f=b>>>0<e>>>0?f+1|0:f;e=b;M=H[g+72>>2];b=M;N=H[g+76>>2];k=xl(b-s|0,N-((b>>>0<s>>>0)+J|0)|0,w,l);b=e+k|0;e=ea+f|0;e=b>>>0<k>>>0?e+1|0:e;k=b;u=e;b=l>>31;e=b+w|0;f=b+l|0;f=e>>>0<b>>>0?f+1|0:f;D=e^b;b=b^f;f=b;b=j>>31;m=b+r|0;e=b+j|0;e=m>>>0<b>>>0?e+1|0:e;y=m^b;b=b^e;e=b;b=h>>31;z=b+v|0;m=b+h|0;m=z>>>0<b>>>0?m+1|0:m;z=z^b;b=b^m;m=(b|0)==(e|0)&y>>>0>z>>>0|b>>>0<e>>>0;y=m?y:z;b=m?e:b;e=(b|0)==(f|0)&y>>>0<D>>>0|b>>>0<f>>>0;f=zl(-1,2147483647,e?D:y,e?f:b)>>>0<k>>>0;b=ea;if(f&(b|0)<=(u|0)|(b|0)<(u|0)){break c}b=i;y=n-b|0;f=b>>31;z=(n>>31)-(f+(b>>>0>n>>>0)|0)|0;b=xl(k,u,y,z);e=ea;i=xl(i,f,t,o);f=i+b|0;b=ea+e|0;n=f;D=f>>>0<i>>>0?b+1|0:b;b=q;O=A-b|0;f=b>>31;P=(A>>31)-(f+(b>>>0>A>>>0)|0)|0;b=xl(k,u,O,P);i=ea;f=xl(q,f,t,o);b=f+b|0;e=ea+i|0;q=b;A=b>>>0<f>>>0?e+1|0:e;i=1;f=0;b=x;r=yl(xl(r,j,k,u),ea,t,o);j=r+p|0;e=ea+E|0;e=j>>>0<r>>>0?e+1|0:e;e=C-((b>>>0<j>>>0)+e|0)|0;b=b-j|0;b=xl(b,e,b,e);r=ea;e=K;p=b;h=yl(xl(v,h,k,u),ea,t,o);j=h+B|0;b=ea+G|0;b=h>>>0>j>>>0?b+1|0:b;b=L-((e>>>0<j>>>0)+b|0)|0;e=e-j|0;j=xl(e,b,e,b);b=p+j|0;e=ea+r|0;h=b;j=b>>>0<j>>>0?e+1|0:e;b=M;p=h;l=yl(xl(w,l,k,u),ea,t,o);h=l+s|0;e=ea+J|0;e=h>>>0<l>>>0?e+1|0:e;e=N-((b>>>0<h>>>0)+e|0)|0;b=b-h|0;h=xl(b,e,b,e);e=p+h|0;b=ea+j|0;j=xl(e,e>>>0<h>>>0?b+1|0:b,t,o);b=ea;h=b;if(!b&j>>>0<=1){break f}l=j;e=h;while(1){b=f<<1|i>>>31;i=i<<1;f=b;k=!e&l>>>0>7|(e|0)!=0;l=(e&3)<<30|l>>>2;e=e>>>2|0;if(k){continue}break}break e}if((d|0)>(k|0)){b=k<<1}else{if((d|0)<=0){H[a+8>>2]=0;H[a+12>>2]=0;break c}b=(d<<1)-2|0}b=(b<<2)+c|0;H[a+8>>2]=H[b>>2];H[a+12>>2]=H[b+4>>2];break c}f=h;i=j;if(i-1|0){break d}}while(1){b=zl(j,h,i,f)+i|0;m=f+ea|0;m=b>>>0<i>>>0?m+1|0:m;i=(m&1)<<31|b>>>1;f=m>>>1|0;b=xl(i,f,i,f);e=ea;if((h|0)==(e|0)&b>>>0>j>>>0|e>>>0>h>>>0){continue}break}}j=a+16|0;w=H[a+24>>2];u=w<<5;b=H[a+20>>2];h=(d<<3)+c|0;d=H[h+4>>2];p=xl(i,f,O,P);c=p;B=ea;c=yl(n-c|0,D-(B+(c>>>0>n>>>0)|0)|0,t,o);k=d-c|0;l=d>>31;e=l-(ea+(c>>>0>d>>>0)|0)|0;s=xl(k,e,k,e);x=ea;h=H[h>>2];e=h>>31;k=h;r=e;v=xl(i,f,y,z);f=q+v|0;C=ea;m=A+C|0;i=yl(f,f>>>0<q>>>0?m+1|0:m,t,o);f=e-(ea+(h>>>0<i>>>0)|0)|0;e=h-i|0;h=xl(e,f,e,f);f=h+s|0;e=ea+x|0;s=f;h=f>>>0<h>>>0?e+1|0:e;f=d;e=D+B|0;d=n+p|0;e=d>>>0<n>>>0?e+1|0:e;d=yl(d,e,t,o);e=l-(ea+(d>>>0>f>>>0)|0)|0;f=f-d|0;e=xl(f,e,f,e);p=ea;x=e;f=yl(q-v|0,A-((q>>>0<v>>>0)+C|0)|0,t,o);n=k-f|0;e=r-(ea+(f>>>0>k>>>0)|0)|0;q=xl(n,e,n,e);n=x+q|0;e=ea+p|0;e=n>>>0<q>>>0?e+1|0:e;h:{if((e|0)==(h|0)&n>>>0>s>>>0|e>>>0>h>>>0){if((b|0)==(u|0)){if((b+1|0)<0){break b}if(b>>>0<=1073741822){b=b+32&-32;d=w<<6;b=b>>>0>d>>>0?b:d}else{b=2147483647}Hb(j,b);b=H[a+20>>2]}H[a+20>>2]=b+1;d=H[a+16>>2]+(b>>>3&536870908)|0;H[d>>2]=H[d>>2]|1<<b;break h}if((b|0)==(u|0)){if((b+1|0)<0){break b}if(b>>>0<=1073741822){b=b+32&-32;c=w<<6;b=b>>>0>c>>>0?b:c}else{b=2147483647}Hb(j,b);b=H[a+20>>2]}H[a+20>>2]=b+1;c=H[a+16>>2]+(b>>>3&536870908)|0;i=H[c>>2];Q=c,R=Bl(b)&i,H[Q>>2]=R;c=d;i=f}H[a+8>>2]=i;H[a+12>>2]=c}da=g+80|0;return}La();X()}ua();X()}function Ja(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=da-16|0;da=e;H[e+12>>2]=a;a:{if(a>>>0<=211){d=H[De(17808,18e3,e+12|0)>>2];break a}if(a>>>0>=4294967292){gd();X()}f=(a>>>0)/210|0;d=N(f,210);H[e+8>>2]=a-d;g=De(18e3,18192,e+8|0)-18e3>>2;while(1){d=H[(g<<2)+18e3>>2]+d|0;a=5;b:{while(1){c:{if((a|0)==47){a=211;while(1){b=(d>>>0)/(a>>>0)|0;if(b>>>0<a>>>0){break b}if((N(a,b)|0)==(d|0)){break c}b=a+10|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+12|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+16|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+18|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+22|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+28|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+30|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+36|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+40|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+42|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+46|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+52|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+58|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+60|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+66|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+70|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+72|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+78|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+82|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+88|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+96|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+100|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+102|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+106|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+108|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+112|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+120|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+126|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+130|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+136|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+138|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+142|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+148|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+150|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+156|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+162|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+166|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+168|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+172|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+178|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+180|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+186|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+190|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+192|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+196|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+198|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}if((N(b,c)|0)==(d|0)){break c}b=a+208|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}a=a+210|0;if((N(b,c)|0)!=(d|0)){continue}break}break c}b=H[(a<<2)+17808>>2];c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break b}a=a+1|0;if((N(b,c)|0)!=(d|0)){continue}}break}d=g+1|0;a=(d|0)==48;g=a?0:d;f=a+f|0;d=N(f,210);continue}break}H[e+12>>2]=d}da=e+16|0;return d}function el(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=da-32|0;da=g;a:{b:{if(!H[H[a+8>>2]+80>>2]){d=1;break b}F[g+31|0]=254;i=H[a+36>>2];if(i){if(!(fa[H[H[a>>2]+40>>2]](a,i)|0)){break b}d=H[a+36>>2];n=g,o=fa[H[H[d>>2]+8>>2]](d)|0,F[n+31|0]=o}d=H[c+20>>2];if(!H[c+16>>2]&(d|0)<=0|(d|0)<0){wa(c,H[c+4>>2],g+31|0,g+32|0)}d=H[a+36>>2];c:{if(!d){break c}n=g,o=fa[H[H[d>>2]+36>>2]](d)|0,F[n+16|0]=o;d=H[c+20>>2];if(!!H[c+16>>2]&(d|0)>=0|(d|0)>0){break c}wa(c,H[c+4>>2],g+16|0,g+17|0)}d=H[a+32>>2];e=H[d+48>>2];f=H[H[d>>2]>>2];h=H[d+80>>2];k=F[d+24|0];i=0;H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;h=N(h,k);if(h){if(h>>>0>=1073741824){break a}d=h<<2;i=ra(d);H[g+16>>2]=i;j=d+i|0;H[g+24>>2]=j;ta(i,0,d);H[g+20>>2]=j}d=e+f|0;e=H[a+36>>2];d:{e:{if(!e){break e}fa[H[H[e>>2]+44>>2]](e,d,i,h,k,H[b>>2])|0;e=H[a+36>>2];if(!e){break e}if(fa[H[H[e>>2]+32>>2]](e)|0){break d}d=H[a+36>>2]?i:d}e=0;f=0;f:{if((h|0)<=0){break f}if((h|0)!=1){m=h&-2;while(1){l=e<<2;j=H[l+d>>2];H[i+l>>2]=(j|0)>=0?j<<1:(j^-1)<<1|1;l=l|4;j=H[l+d>>2];H[i+l>>2]=(j|0)>=0?j<<1:(j^-1)<<1|1;e=e+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}}if(!(h&1)){break f}e=e<<2;d=H[e+d>>2];H[e+i>>2]=(d|0)>=0?d<<1:(d^-1)<<1|1}}g:{h:{i:{j:{k:{d=H[a+4>>2];if(!d){break k}j=H[d+48>>2];d=ra(48);H[g>>2]=d;H[g+4>>2]=34;H[g+8>>2]=-2147483600;F[d+34|0]=0;e=I[1523]|I[1524]<<8;F[d+32|0]=e;F[d+33|0]=e>>>8;e=I[1519]|I[1520]<<8|(I[1521]<<16|I[1522]<<24);f=I[1515]|I[1516]<<8|(I[1517]<<16|I[1518]<<24);F[d+24|0]=f;F[d+25|0]=f>>>8;F[d+26|0]=f>>>16;F[d+27|0]=f>>>24;F[d+28|0]=e;F[d+29|0]=e>>>8;F[d+30|0]=e>>>16;F[d+31|0]=e>>>24;e=I[1511]|I[1512]<<8|(I[1513]<<16|I[1514]<<24);f=I[1507]|I[1508]<<8|(I[1509]<<16|I[1510]<<24);F[d+16|0]=f;F[d+17|0]=f>>>8;F[d+18|0]=f>>>16;F[d+19|0]=f>>>24;F[d+20|0]=e;F[d+21|0]=e>>>8;F[d+22|0]=e>>>16;F[d+23|0]=e>>>24;e=I[1503]|I[1504]<<8|(I[1505]<<16|I[1506]<<24);f=I[1499]|I[1500]<<8|(I[1501]<<16|I[1502]<<24);F[d+8|0]=f;F[d+9|0]=f>>>8;F[d+10|0]=f>>>16;F[d+11|0]=f>>>24;F[d+12|0]=e;F[d+13|0]=e>>>8;F[d+14|0]=e>>>16;F[d+15|0]=e>>>24;e=I[1495]|I[1496]<<8|(I[1497]<<16|I[1498]<<24);f=I[1491]|I[1492]<<8|(I[1493]<<16|I[1494]<<24);F[d|0]=f;F[d+1|0]=f>>>8;F[d+2|0]=f>>>16;F[d+3|0]=f>>>24;F[d+4|0]=e;F[d+5|0]=e>>>8;F[d+6|0]=e>>>16;F[d+7|0]=e>>>24;d=fc(j,g,1);if(F[g+11|0]<0){qa(H[g>>2])}if(d){break k}if(!h){break j}e=0;d=0;b=0;if(h-1>>>0>=3){j=h&-4;f=0;while(1){k=d<<2;b=H[(k|12)+i>>2]|(H[(k|8)+i>>2]|(H[(k|4)+i>>2]|(H[i+k>>2]|b)));d=d+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}f=h&3;if(f){while(1){b=H[(d<<2)+i>>2]|b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(!b){break j}b=4-(Q(b)>>>3|0)|0;break i}F[g|0]=1;d=H[c+20>>2];if(!H[c+16>>2]&(d|0)<=0|(d|0)<0){wa(c,H[c+4>>2],g,g+1|0)}H[g+4>>2]=0;H[g+8>>2]=0;H[g>>2]=g+4;d=H[a+4>>2];if(d){j=10-bb(H[d+48>>2])|0;h=da-16|0;da=h;l:{if(j>>>0>10){break l}d=ra(48);H[h>>2]=d;H[h+4>>2]=33;H[h+8>>2]=-2147483600;F[d+33|0]=0;F[d+32|0]=I[1582];e=I[1578]|I[1579]<<8|(I[1580]<<16|I[1581]<<24);f=I[1574]|I[1575]<<8|(I[1576]<<16|I[1577]<<24);F[d+24|0]=f;F[d+25|0]=f>>>8;F[d+26|0]=f>>>16;F[d+27|0]=f>>>24;F[d+28|0]=e;F[d+29|0]=e>>>8;F[d+30|0]=e>>>16;F[d+31|0]=e>>>24;e=I[1570]|I[1571]<<8|(I[1572]<<16|I[1573]<<24);f=I[1566]|I[1567]<<8|(I[1568]<<16|I[1569]<<24);F[d+16|0]=f;F[d+17|0]=f>>>8;F[d+18|0]=f>>>16;F[d+19|0]=f>>>24;F[d+20|0]=e;F[d+21|0]=e>>>8;F[d+22|0]=e>>>16;F[d+23|0]=e>>>24;e=I[1562]|I[1563]<<8|(I[1564]<<16|I[1565]<<24);f=I[1558]|I[1559]<<8|(I[1560]<<16|I[1561]<<24);F[d+8|0]=f;F[d+9|0]=f>>>8;F[d+10|0]=f>>>16;F[d+11|0]=f>>>24;F[d+12|0]=e;F[d+13|0]=e>>>8;F[d+14|0]=e>>>16;F[d+15|0]=e>>>24;e=I[1554]|I[1555]<<8|(I[1556]<<16|I[1557]<<24);f=I[1550]|I[1551]<<8|(I[1552]<<16|I[1553]<<24);F[d|0]=f;F[d+1|0]=f>>>8;F[d+2|0]=f>>>16;F[d+3|0]=f>>>24;F[d+4|0]=e;F[d+5|0]=e>>>8;F[d+6|0]=e>>>16;F[d+7|0]=e>>>24;tb(g,h,j);if(F[h+11|0]>=0){break l}qa(H[h>>2])}da=h+16|0}b=Yd(i,N(k,H[b+4>>2]-H[b>>2]>>2),k,g,c);Ka(g,H[g+4>>2]);d=0;if(b){break h}break g}b=1}F[g|0]=0;d=H[c+20>>2];m:{if(!!H[c+16>>2]&(d|0)>=0|(d|0)>0){break m}e=g+1|0;wa(c,H[c+4>>2],g,e);d=H[c+20>>2];f=H[c+16>>2];F[g|0]=b;if(!!f&(d|0)>=0|(d|0)>0){break m}wa(c,H[c+4>>2],g,e)}if((b|0)!=H[3716]){if(!h){break h}d=H[c+20>>2];e=d;f=H[c+16>>2];if(!!f&(d|0)>=0|(d|0)>0){break h}d=0;while(1){if(!f&(e|0)<=0|(e|0)<0){e=(d<<2)+i|0;wa(c,H[c+4>>2],e,b+e|0)}d=d+1|0;if((h|0)==(d|0)){break h}f=H[c+16>>2];e=H[c+20>>2];continue}}b=H[c+20>>2];if(!!H[c+16>>2]&(b|0)>=0|(b|0)>0){break h}wa(c,H[c+4>>2],i,(h<<2)+i|0)}d=1;a=H[a+36>>2];if(!a){break g}fa[H[H[a>>2]+40>>2]](a,c)|0}if(!i){break b}qa(i)}da=g+32|0;return d|0}va();X()}function Pf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{if(H[a+92>>2]==H[a+88>>2]){break e}c=H[a+52>>2];f:{if((c|0)!=H[a+56>>2]){H[c>>2]=b;H[a+52>>2]=c+4;break f}d=H[a+48>>2];i=c-d|0;f=i>>2;e=f+1|0;if(e>>>0>=1073741824){break b}c=i>>1;e=i>>>0<2147483644?c>>>0<e>>>0?e:c:1073741823;if(e){if(e>>>0>=1073741824){break a}c=ra(e<<2)}else{c=0}f=c+(f<<2)|0;H[f>>2]=b;if((i|0)>0){sa(c,d,i)}H[a+56>>2]=c+(e<<2);H[a+52>>2]=f+4;H[a+48>>2]=c;if(!d){break f}qa(d)}H[a+84>>2]=0;f=-1;c=-1;g:{if((b|0)==-1){break g}e=H[a+4>>2];c=b+1|0;c=(c>>>0)%3|0?c:b-2|0;if((c|0)!=-1){f=H[H[e>>2]+(c<<2)>>2]}h:{if((b>>>0)%3|0){d=b-1|0;break h}d=b+2|0;c=-1;if((d|0)==-1){break g}}c=H[H[e>>2]+(d<<2)>>2]}h=c>>>3&536870908;e=H[a+36>>2];g=e+(f>>>3&536870908)|0;i=H[g>>2];d=1<<f;if(!(i&d)){H[g>>2]=d|i;g=a+8|0;if((b|0)!=-1){e=b+1|0;d=(e>>>0)%3|0?e:b-2|0}else{d=-1}nb(g,f,d);e=H[a+36>>2]}d=e+h|0;e=H[d>>2];f=1<<c;if(!(e&f)){H[d>>2]=e|f;d=a+8|0;f=-1;i:{if((b|0)==-1){break i}f=b-1|0;if((b>>>0)%3|0){break i}f=b+2|0}nb(d,c,f)}f=-1;f=(b|0)!=-1?H[H[H[a+4>>2]>>2]+(b<<2)>>2]:f;d=H[a+36>>2]+(f>>>3&536870908)|0;e=H[d>>2];c=1<<f;if(!(e&c)){H[d>>2]=c|e;nb(a+8|0,f,b)}d=H[a+84>>2];if((d|0)>2){break e}while(1){f=N(d,12)+a|0;b=H[f+52>>2];if((b|0)==H[f+48>>2]){d=d+1|0;if((d|0)!=3){continue}break e}c=b-4|0;b=H[c>>2];H[f+52>>2]=c;H[a+84>>2]=d;if((b|0)==-1){break e}f=H[a+24>>2];c=(b>>>0)/3|0;j:{if(H[f+(c>>>3&268435452)>>2]>>>c&1){break j}k:{while(1){k=(b>>>0)/3|0;c=(k>>>3&268435452)+f|0;H[c>>2]=H[c>>2]|1<<k;f=-1;l:{m:{n:{o:{p:{q:{r:{s:{f=(b|0)!=-1?H[H[H[a+4>>2]>>2]+(b<<2)>>2]:f;d=H[a+36>>2]+(f>>>3&536870908)|0;e=H[d>>2];c=1<<f;if(!(e&c)){H[d>>2]=c|e;i=H[(H[H[a+16>>2]+96>>2]+N(k,12)|0)+((b>>>0)%3<<2)>>2];j=H[H[a+20>>2]+4>>2];c=H[j+4>>2];t:{if((c|0)!=H[j+8>>2]){H[c>>2]=i;H[j+4>>2]=c+4;break t}g=H[j>>2];h=c-g|0;e=h>>2;d=e+1|0;if(d>>>0>=1073741824){break s}c=h>>1;d=h>>>0<2147483644?c>>>0<d>>>0?d:c:1073741823;if(d){if(d>>>0>=1073741824){break a}c=ra(d<<2)}else{c=0}e=c+(e<<2)|0;H[e>>2]=i;if((h|0)>0){sa(c,g,h)}H[j+8>>2]=c+(d<<2);H[j+4>>2]=e+4;H[j>>2]=c;if(!g){break t}qa(g)}h=H[a+12>>2];c=H[h+4>>2];u:{if((c|0)!=H[h+8>>2]){H[c>>2]=b;H[h+4>>2]=c+4;break u}i=H[h>>2];g=c-i|0;e=g>>2;d=e+1|0;if(d>>>0>=1073741824){break r}c=g>>1;d=g>>>0<2147483644?c>>>0<d>>>0?d:c:1073741823;if(d){if(d>>>0>=1073741824){break a}c=ra(d<<2)}else{c=0}e=c+(e<<2)|0;H[e>>2]=b;if((g|0)>0){sa(c,i,g)}H[h+8>>2]=c+(d<<2);H[h+4>>2]=e+4;H[h>>2]=c;if(!i){break u}qa(i)}c=H[a+12>>2];H[H[c+12>>2]+(f<<2)>>2]=H[c+24>>2];H[c+24>>2]=H[c+24>>2]+1}if((b|0)==-1){break k}h=H[a+4>>2];f=-1;c=b+1|0;c=(c>>>0)%3|0?c:b-2|0;if((c|0)!=-1){f=H[H[h+12>>2]+(c<<2)>>2]}v:{w:{if((N(k,3)|0)!=(b|0)){e=b-1|0;break w}e=b+2|0;b=-1;if((e|0)==-1){break v}}b=H[H[h+12>>2]+(e<<2)>>2]}g=(b|0)==-1;i=(b>>>0)/3|0;e=(f>>>0)/3|0;c=(f|0)==-1;if(!c){c=c?-1:e;c=H[H[a+24>>2]+(c>>>3&536870908)>>2]&1<<c;if(g){break q}d=(c|0)!=0;break p}d=1;if(!g){break p}break k}va();X()}va();X()}if(!c){break o}break k}c=g?-1:i;x:{if(H[H[a+24>>2]+(c>>>3&536870908)>>2]>>>c&1){break x}e=0;c=H[H[h>>2]+(b<<2)>>2];if(!(H[H[a+36>>2]+(c>>>3&536870908)>>2]>>>c&1)){c=H[a+88>>2]+(c<<2)|0;e=H[c>>2];H[c>>2]=e+1;e=(e|0)<=0?2:1}if(H[a+84>>2]>=(e|0)?d:0){break m}j=N(e,12)+a|0;c=H[j+52>>2];y:{if((c|0)!=H[j+56>>2]){H[c>>2]=b;H[j+52>>2]=c+4;break y}h=H[j+48>>2];k=c-h|0;i=k>>2;g=i+1|0;if(g>>>0>=1073741824){break d}c=k>>1;g=k>>>0<2147483644?c>>>0<g>>>0?g:c:1073741823;if(g){if(g>>>0>=1073741824){break a}c=ra(g<<2)}else{c=0}i=c+(i<<2)|0;H[i>>2]=b;if((k|0)>0){sa(c,h,k)}H[j+48>>2]=c;H[j+52>>2]=i+4;H[j+56>>2]=c+(g<<2);if(!h){break y}qa(h)}if(H[a+84>>2]<=(e|0)){break x}H[a+84>>2]=e}if(d){break k}b=-1;if((f|0)==-1){break n}}b=H[H[H[a+4>>2]>>2]+(f<<2)>>2]}e=0;if(!(H[H[a+36>>2]+(b>>>3&536870908)>>2]>>>b&1)){b=H[a+88>>2]+(b<<2)|0;c=H[b>>2];H[b>>2]=c+1;e=(c|0)<=0?2:1}if(H[a+84>>2]<(e|0)){break l}b=f}f=H[a+24>>2];continue}break}h=N(e,12)+a|0;b=H[h+52>>2];z:{if((b|0)!=H[h+56>>2]){H[b>>2]=f;H[h+52>>2]=b+4;break z}i=H[h+48>>2];g=b-i|0;c=g>>2;d=c+1|0;if(d>>>0>=1073741824){break c}b=g>>1;d=g>>>0<2147483644?b>>>0<d>>>0?d:b:1073741823;if(d){if(d>>>0>=1073741824){break a}b=ra(d<<2)}else{b=0}c=b+(c<<2)|0;H[c>>2]=f;if((g|0)>0){sa(b,i,g)}H[h+48>>2]=b;H[h+52>>2]=c+4;H[h+56>>2]=b+(d<<2);if(!i){break z}qa(i)}d=H[a+84>>2];if((e|0)>=(d|0)){break j}H[a+84>>2]=e;d=e;break j}d=H[a+84>>2]}if((d|0)<3){continue}break}}return 1}va();X()}va();X()}va();X()}ya(1604);X()}function Zi(a){a=a|0;var 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;r=da-16|0;da=r;a:{if(!(fa[H[H[a>>2]+32>>2]](a)|0)){break a}e=H[a+44>>2];d=H[a+12>>2];b=H[a+8>>2];F[r+15|0]=d-b>>>2;g=H[e+20>>2];if(!H[e+16>>2]&(g|0)<=0|(g|0)<0){wa(e,H[e+4>>2],r+15|0,r+16|0);b=H[a+8>>2];d=H[a+12>>2]}if((b|0)!=(d|0)){while(1){g=H[b>>2];if(!(fa[H[H[g>>2]+8>>2]](g,a,H[a+4>>2])|0)){break a}b=b+4|0;if((d|0)!=(b|0)){continue}break}}f=da-48|0;da=f;s=a+32|0;d=H[a+12>>2];h=H[a+8>>2];i=d-h|0;b=i>>2;g=H[a+32>>2];e=H[a+36>>2]-g>>2;b:{if(b>>>0>e>>>0){Ea(s,b-e|0);d=H[a+12>>2];h=H[a+8>>2];i=d-h|0;b=i>>2;break b}if(b>>>0>=e>>>0){break b}H[a+36>>2]=g+(b<<2)}H[f+40>>2]=0;H[f+32>>2]=0;H[f+36>>2]=0;c:{d:{e:{if(!i){break e}if((i|0)<0){break d}e=b-1>>>5|0;g=e+1|0;m=ra(g<<2);H[f+40>>2]=g;H[f+32>>2]=m;H[f+36>>2]=b;H[m+((i>>>0<132?0:e)<<2)>>2]=0;e=m;m=b>>>5<<2;e=ta(e,0,m);g=b&31;if(!g){break e}b=e+m|0;H[b>>2]=H[b>>2]&(-1>>>32-g^-1)}while(1){f:{g:{b=d-h|0;if(b>>2>>>0>o>>>0){if(!b){p=0;b=0;break g}m=H[f+32>>2];p=0;l=0;while(1){k=m+(l>>>3&536870908)|0;d=H[k>>2];e=1<<l;h:{if(d&e){break h}j=l<<2;i=H[j+h>>2];b=H[i+4>>2];if((b|0)!=H[i+8>>2]){q=0;d=1;g=H[f+32>>2];while(1){h=0;n=H[(q<<2)+b>>2];i:{if((fa[H[H[i>>2]+24>>2]](i,n)|0)<=0){break i}while(1){j:{b=H[j+H[a+8>>2]>>2];b=fa[H[H[b>>2]+28>>2]](b,n,h)|0;if((b|0)==(l|0)){break j}b=H[H[a+20>>2]+(b<<2)>>2];if(H[(b>>>3&536870908)+g>>2]>>>b&1){break j}d=0;break i}b=H[j+H[a+8>>2]>>2];h=h+1|0;if((fa[H[H[b>>2]+24>>2]](b,n)|0)>(h|0)){continue}break}}h=H[a+8>>2];i=H[j+h>>2];b=H[i+4>>2];q=q+1|0;if(q>>>0<H[i+8>>2]-b>>2>>>0){continue}break}if(!d){break h}d=H[k>>2]}H[H[s>>2]+(o<<2)>>2]=l;H[k>>2]=d|e;p=1;o=o+1|0}d=H[a+12>>2];b=d-h>>2;l=l+1|0;if(b>>>0>l>>>0){continue}break}break g}p=0;H[f+24>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;c=H[a+4>>2];b=H[c+12>>2];c=H[c+8>>2];H[f+8>>2]=0;H[f>>2]=0;H[f+4>>2]=0;l=0;k:{l:{m:{g=b-c|0;n:{if(!g){break n}if((g|0)<0){break m}e=g>>2;b=e-1>>>5|0;c=b+1|0;l=ra(c<<2);H[f+8>>2]=c;H[f>>2]=l;H[f+4>>2]=e;H[((g>>>0<132?0:b)<<2)+l>>2]=0;g=e>>>5<<2;c=ta(l,0,g);b=e&31;if(!b){break n}c=c+g|0;H[c>>2]=H[c>>2]&(-1>>>32-b^-1)}o:{if((d|0)==(h|0)){c=1;break o}while(1){n=H[H[s>>2]+(p<<2)>>2]<<2;c=H[n+h>>2];c=H[c+8>>2]-H[c+4>>2]|0;p:{if((c|0)<8){break p}k=c>>2;c=H[f+16>>2];d=H[f+20>>2]-c>>2;q:{if(k>>>0>d>>>0){Ea(f+16|0,k-d|0);break q}if(d>>>0<=k>>>0){break q}H[f+20>>2]=c+(k<<2)}e=(k|0)>1?k:1;o=0;r:{while(1){if((k|0)<=(o|0)){break r}d=0;q=0;while(1){b=1<<d;g=d>>>5<<2;s:{if(b&H[g+l>>2]){break s}c=H[n+H[a+8>>2]>>2];m=H[H[c+4>>2]+(d<<2)>>2];if((fa[H[H[c>>2]+24>>2]](c,m)|0)>0){h=0;l=H[f>>2];while(1){c=H[n+H[a+8>>2]>>2];c=fa[H[H[c>>2]+28>>2]](c,m,h)|0;if(!(H[(c>>>3&536870908)+l>>2]>>>c&1)){break s}c=H[n+H[a+8>>2]>>2];h=h+1|0;if((fa[H[H[c>>2]+24>>2]](c,m)|0)>(h|0)){continue}break}}H[H[f+16>>2]+(o<<2)>>2]=d;c=g+l|0;H[c>>2]=b|H[c>>2];q=1;o=o+1|0}d=d+1|0;if((e|0)!=(d|0)){continue}break}if((k|0)<=(o|0)|q){continue}break}c=0;break o}h=H[a+8>>2];j=H[n+h>>2];d=H[j+4>>2];H[j+8>>2]=d;H[j+20>>2]=H[j+16>>2];i=H[f+16>>2];g=H[f+20>>2];if((i|0)==(g|0)){break p}m=j+16|0;b=d;while(1){k=H[i>>2];t:{if(H[j+12>>2]!=(b|0)){H[b>>2]=k;H[j+8>>2]=b+4;break t}n=b-d|0;b=n>>2;e=b+1|0;if(e>>>0>=1073741824){break l}c=n>>1;e=n>>>0<2147483644?c>>>0<e>>>0?e:c:1073741823;if(e){if(e>>>0>=1073741824){break k}c=ra(e<<2)}else{c=0}b=c+(b<<2)|0;H[b>>2]=k;if((n|0)>0){sa(c,d,n)}H[j+12>>2]=c+(e<<2);H[j+8>>2]=b+4;H[j+4>>2]=c;if(!d){break t}qa(d)}b=H[j+16>>2];d=H[j+20>>2]-b>>2;u:{if((d|0)>(k|0)){break u}H[f+44>>2]=-1;c=k+1|0;if(c>>>0>d>>>0){Ma(m,c-d|0,f+44|0);b=H[m>>2];break u}if(d>>>0<=c>>>0){break u}H[j+20>>2]=(c<<2)+b}c=(k<<2)+b|0;b=H[j+8>>2];d=H[j+4>>2];H[c>>2]=(b-d>>2)-1;i=i+4|0;if((g|0)!=(i|0)){continue}break}h=H[a+8>>2]}c=1;p=p+1|0;if(p>>>0<H[a+12>>2]-h>>2>>>0){continue}break}}d=H[f>>2];if(d){qa(d)}d=H[f+16>>2];if(!d){break f}H[f+20>>2]=d;qa(d);break f}La();X()}va();X()}ya(1604);X()}if(p&1|b>>>0<=o>>>0){continue}}break}d=H[f+32>>2];if(d){qa(d)}da=f+48|0;break c}La();X()}if(!c){break a}b=H[a+32>>2];c=H[a+36>>2];v:{if((b|0)==(c|0)){break v}while(1){if(!(fa[H[H[a>>2]+40>>2]](a,H[b>>2])|0)){break a}b=b+4|0;if((c|0)!=(b|0)){continue}break}b=H[a+32>>2];d=H[a+36>>2];if((b|0)==(d|0)){break v}while(1){c=H[H[a+8>>2]+(H[b>>2]<<2)>>2];if(!(fa[H[H[c>>2]+12>>2]](c,H[a+44>>2])|0)){break a}b=b+4|0;if((d|0)!=(b|0)){continue}break}}t=fa[H[H[a>>2]+44>>2]](a)|0}da=r+16|0;return t|0}function Ha(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,R=0;k=da-96|0;da=k;t=h;u=i&65535;m=(e^i)&-2147483648;l=e&65535;p=l;z=l;J=i>>>16&32767;K=e>>>16&32767;a:{b:{if(J-32767>>>0>4294934529&K-32767>>>0>=4294934530){break b}l=e&2147483647;j=d;if(!(!d&(l|0)==2147418112?!(b|c):l>>>0<2147418112)){o=d;m=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){o=h;m=i|32768;b=f;c=g;break a}if(!(b|j|(l^2147418112|c))){if(!(f|h|(e|g))){m=2147450880;b=0;c=0;break a}m=m|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){d=b|j;e=c|l;b=0;c=0;if(!(d|e)){m=2147450880;break a}m=m|2147418112;break a}if(!(b|j|(c|l))){b=0;c=0;break a}if(!(f|h|(e|g))){b=0;c=0;break a}if((l|0)==65535|l>>>0<65535){j=b;h=!(d|p);i=h<<6;l=Q(h?b:d)+32|0;b=Q(h?c:p);b=i+((b|0)==32?l:b)|0;Ta(k+80|0,j,c,d,p,b-15|0);s=16-b|0;d=H[k+88>>2];z=H[k+92>>2];c=H[k+84>>2];b=H[k+80>>2]}if(e>>>0>65535){break b}e=!(t|u);h=e<<6;i=Q(e?f:t)+32|0;e=Q(e?g:u);e=h+((e|0)==32?i:e)|0;Ta(k- -64|0,f,g,t,u,e-15|0);s=(s-e|0)+16|0;t=H[k+72>>2];u=H[k+76>>2];f=H[k+64>>2];g=H[k+68>>2]}e=f;j=g<<15|e>>>17;h=e<<15;e=j;p=h&-32768;q=c;A=xl(p,0,c,0);c=ea;w=c;B=e;i=0;j=xl(e,0,b,i);e=j+A|0;h=ea+c|0;h=e>>>0<j>>>0?h+1|0:h;c=e;j=e;n=xl(b,i,p,i);l=0+n|0;e=ea+e|0;e=l>>>0<n>>>0?e+1|0:e;x=l;n=l;l=e;C=(j|0)==(e|0)&r>>>0>n>>>0|e>>>0<j>>>0;r=d;L=xl(p,i,d,0);F=ea;e=xl(q,i,B,i);d=e+L|0;j=ea+F|0;n=d;d=d>>>0<e>>>0?j+1|0:j;e=t;j=u<<15|e>>>17;y=e<<15|g>>>17;g=j;j=xl(y,0,b,i);e=j+n|0;f=ea+d|0;G=e;f=e>>>0<j>>>0?f+1|0:f;u=f;e=f;f=(h|0)==(w|0)&c>>>0<A>>>0|h>>>0<w>>>0;c=h+G|0;f=e+f|0;A=c;f=c>>>0<h>>>0?f+1|0:f;t=f;c=f;D=z|65536;z=v;M=xl(p,i,D,v);I=ea;h=xl(r,o,B,i);f=h+M|0;e=ea+I|0;N=f;e=f>>>0<h>>>0?e+1|0:e;v=e;E=g|-2147483648;w=0;g=xl(E,w,b,i);b=g+f|0;f=ea+e|0;f=b>>>0<g>>>0?f+1|0:f;O=b;e=xl(y,o,q,i);b=b+e|0;p=f;j=f+ea|0;P=b;g=b>>>0<e>>>0?j+1|0:j;f=0;b=f+A|0;e=c+P|0;e=b>>>0<f>>>0?e+1|0:e;R=b;c=b;b=b+C|0;C=e;f=b>>>0<c>>>0?e+1|0:e;c=f;s=((K+J|0)+s|0)-16383|0;j=xl(E,w,q,i);h=ea;i=xl(D,z,B,i);e=i+j|0;f=ea+h|0;f=e>>>0<i>>>0?f+1|0:f;i=(f|0)==(h|0)&e>>>0<j>>>0|f>>>0<h>>>0;h=e;q=i;i=xl(y,o,r,o);e=i+e|0;j=ea+f|0;j=e>>>0<i>>>0?j+1|0:j;i=(f|0)==(j|0)&e>>>0<h>>>0|f>>>0>j>>>0;f=q+i|0;h=0;h=f>>>0<i>>>0?1:h;q=xl(E,w,D,z);i=q+f|0;f=ea+h|0;f=i>>>0<q>>>0?f+1|0:f;q=e;h=j;B=i;e=(d|0)==(u|0)&n>>>0>G>>>0|d>>>0>u>>>0;d=e+((d|0)==(F|0)&n>>>0<L>>>0|d>>>0<F>>>0)|0;j=0;j=d>>>0<e>>>0?1:j;i=d;d=q+d|0;e=h+j|0;e=d>>>0<i>>>0?e+1|0:e;n=d;i=e;e=(e|0)==(h|0)&d>>>0<q>>>0|e>>>0<h>>>0;d=B+e|0;h=d>>>0<e>>>0?f+1|0:f;q=d;j=xl(y,o,D,z);e=ea;r=xl(E,w,r,o);d=r+j|0;f=ea+e|0;f=d>>>0<r>>>0?f+1|0:f;r=d;d=f;f=(e|0)==(f|0)&j>>>0>r>>>0|e>>>0>f>>>0;y=d+q|0;e=f+h|0;e=d>>>0>y>>>0?e+1|0:e;h=0;d=h+n|0;f=i+r|0;f=d>>>0<h>>>0?f+1|0:f;h=f;j=(i|0)==(f|0)&d>>>0<n>>>0|f>>>0<i>>>0;i=j+y|0;n=i;i=i>>>0<j>>>0?e+1|0:e;r=d;e=d;d=h;j=(p|0)==(v|0)&N>>>0>O>>>0|p>>>0<v>>>0;f=j+((v|0)==(I|0)&N>>>0<M>>>0|v>>>0<I>>>0)|0;h=0;j=f+((g|0)==(p|0)&O>>>0>P>>>0|g>>>0<p>>>0)|0;f=g+e|0;e=d+j|0;e=f>>>0<g>>>0?e+1|0:e;g=f;h=(d|0)==(e|0)&f>>>0<r>>>0|d>>>0>e>>>0;d=h+n|0;f=i;f=d>>>0<h>>>0?f+1|0:f;h=e;n=d;i=(t|0)==(C|0)&A>>>0>R>>>0|t>>>0>C>>>0;d=i+((t|0)==(u|0)&A>>>0<G>>>0|t>>>0<u>>>0)|0;j=0;j=d>>>0<i>>>0?1:j;i=d;d=d+g|0;e=e+j|0;e=d>>>0<i>>>0?e+1|0:e;h=(e|0)==(h|0)&d>>>0<g>>>0|e>>>0<h>>>0;g=n+h|0;f=g>>>0<h>>>0?f+1|0:f;h=g;i=f;c:{if(f&65536){s=s+1|0;break c}v=l>>>31|0;f=i<<1|h>>>31;h=g<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;g=x;f=l<<1|g>>>31;x=g<<1;l=f;f=c<<1|b>>>31;b=b<<1|v;c=f}if((s|0)>=32767){m=m|2147418112;b=0;c=0;break a}d:{if((s|0)<=0){f=1-s|0;if(f>>>0>=128){b=0;c=0;break a}g=s+127|0;Ta(k+48|0,x,l,b,c,g);Ta(k+32|0,d,e,h,i,g);Jb(k+16|0,x,l,b,c,f);Jb(k,d,e,h,i,f);x=H[k+32>>2]|H[k+16>>2]|(H[k+48>>2]|H[k+56>>2]|(H[k+52>>2]|H[k+60>>2]))!=0;l=H[k+36>>2]|H[k+20>>2];b=H[k+40>>2]|H[k+24>>2];c=H[k+44>>2]|H[k+28>>2];d=H[k>>2];e=H[k+4>>2];f=H[k+8>>2];g=H[k+12>>2];break d}f=h;g=i&65535|s<<16}o=f|o;m=g|m;if(!(!b&(c|0)==-2147483648?!(l|x):(c|0)>0|(c|0)>=0)){b=d+1|0;j=b?e:e+1|0;c=j;f=(e|0)==(j|0)&b>>>0<d>>>0|e>>>0>j>>>0;d=f+o|0;e=m;o=d;m=d>>>0<f>>>0?e+1|0:e;break a}if(b|x|(c^-2147483648|l)){b=d;c=e;break a}j=m;c=d&1;b=c+d|0;f=b>>>0<c>>>0?e+1|0:e;c=f;e=(e|0)==(f|0)&b>>>0<d>>>0|e>>>0>f>>>0;d=e+o|0;o=d;m=d>>>0<e>>>0?j+1|0:j}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=o;H[a+12>>2]=m;da=k+96|0}function cj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=da-16|0;da=j;c=H[b+56>>2];f=H[c+100>>2]-H[c+96>>2]|0;n=(f|0)/12|0;Da(n,H[b+44>>2]);Da(H[H[b+56>>2]+80>>2],H[b+44>>2]);g=H[b+48>>2];c=ra(32);H[j>>2]=c;H[j+4>>2]=21;H[j+8>>2]=-2147483616;F[c+21|0]=0;d=I[1261]|I[1262]<<8|(I[1263]<<16|I[1264]<<24);e=I[1257]|I[1258]<<8|(I[1259]<<16|I[1260]<<24);F[c+13|0]=e;F[c+14|0]=e>>>8;F[c+15|0]=e>>>16;F[c+16|0]=e>>>24;F[c+17|0]=d;F[c+18|0]=d>>>8;F[c+19|0]=d>>>16;F[c+20|0]=d>>>24;d=I[1256]|I[1257]<<8|(I[1258]<<16|I[1259]<<24);e=I[1252]|I[1253]<<8|(I[1254]<<16|I[1255]<<24);F[c+8|0]=e;F[c+9|0]=e>>>8;F[c+10|0]=e>>>16;F[c+11|0]=e>>>24;F[c+12|0]=d;F[c+13|0]=d>>>8;F[c+14|0]=d>>>16;F[c+15|0]=d>>>24;d=I[1248]|I[1249]<<8|(I[1250]<<16|I[1251]<<24);e=I[1244]|I[1245]<<8|(I[1246]<<16|I[1247]<<24);F[c|0]=e;F[c+1|0]=e>>>8;F[c+2|0]=e>>>16;F[c+3|0]=e>>>24;F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;c=fc(g,j,0);if(F[j+11|0]<0){qa(H[j>>2])}g=H[b+44>>2];a:{if(c){F[j|0]=0;c=H[g+20>>2];if(!H[g+16>>2]&(c|0)<=0|(c|0)<0){wa(g,H[g+4>>2],j,j+1|0)}c=0;m=da-16|0;da=m;H[m>>2]=0;H[m+4>>2]=0;g=b;b=H[b+56>>2];e=H[b+96>>2];b=H[b+100>>2]-e|0;if(b){b=(b|0)/12|0;n=b>>>0>1?b:1;b=H[m>>2];b:{c:{while(1){d:{o=N(p,12)+e|0;l=H[o>>2];d=l-h|0;e=d>>31;h=(e^d+e)<<1|d>>>31;e:{if((i|0)!=(k|0)){H[i>>2]=h;i=i+4|0;H[m+4>>2]=i;break e}k=i-c|0;d=k>>2;f=d+1|0;if(f>>>0>=1073741824){break d}e=k>>1;f=k>>>0<2147483644?e>>>0<f>>>0?f:e:1073741823;if(f){if(f>>>0>=1073741824){break c}b=ra(f<<2)}else{b=0}e=b+(d<<2)|0;H[e>>2]=h;i=e+4|0;if((k|0)>0){sa(b,c,k)}k=(f<<2)+b|0;H[m+4>>2]=i;if(c){qa(c)}c=b}f=H[o+4>>2];d=f-l|0;e=d>>31;l=(e^d+e)<<1|d>>>31;f:{if((i|0)!=(k|0)){H[i>>2]=l;i=i+4|0;H[m+4>>2]=i;break f}k=i-c|0;d=k>>2;h=d+1|0;if(h>>>0>1073741823){break d}e=k>>1;h=k>>>0<2147483644?e>>>0<h>>>0?h:e:1073741823;if(h){if(h>>>0>1073741823){break c}b=ra(h<<2)}else{b=0}e=b+(d<<2)|0;H[e>>2]=l;i=e+4|0;if((k|0)>0){sa(b,c,k)}k=(h<<2)+b|0;H[m+4>>2]=i;if(c){qa(c)}c=b}h=H[o+8>>2];d=h-f|0;e=d>>31;l=(e^d+e)<<1|d>>>31;g:{if((i|0)!=(k|0)){H[i>>2]=l;i=i+4|0;H[m+4>>2]=i;break g}o=i-c|0;d=o>>2;f=d+1|0;if(f>>>0>1073741823){break d}e=o>>1;f=o>>>0<2147483644?e>>>0<f>>>0?f:e:1073741823;if(f){if(f>>>0>1073741823){break c}b=ra(f<<2)}else{b=0}e=b+(d<<2)|0;H[e>>2]=l;i=e+4|0;if((o|0)>0){sa(b,c,o)}k=(f<<2)+b|0;H[m+4>>2]=i;if(c){qa(c)}c=b}p=p+1|0;if((n|0)==(p|0)){break b}e=H[H[g+56>>2]+96>>2];continue}break}H[m+8>>2]=i;H[m>>2]=b;va();X()}H[m>>2]=b;ya(1604);X()}H[m>>2]=b}Yd(c,i-c>>2,1,0,H[g+44>>2]);if(c){qa(c)}da=m+16|0;break a}F[j|0]=1;c=H[g+20>>2];if(!H[g+16>>2]&(c|0)<=0|(c|0)<0){wa(g,H[g+4>>2],j,j+1|0)}h=H[b+56>>2];c=H[h+80>>2];if(c>>>0<=255){if(!f){break a}l=j+1|0;e=n>>>0>1?n:1;c=0;while(1){d=H[b+44>>2];h=H[h+96>>2]+N(c,12)|0;F[j|0]=H[h>>2];g=H[d+20>>2];h:{if(!!H[d+16>>2]&(g|0)>=0|(g|0)>0){break h}wa(d,H[d+4>>2],j,l);f=H[b+44>>2];d=H[f+20>>2];g=H[f+16>>2];F[j|0]=H[h+4>>2];if(!!g&(d|0)>=0|(d|0)>0){break h}wa(f,H[f+4>>2],j,l);f=H[b+44>>2];g=H[f+16>>2];d=H[f+20>>2];F[j|0]=H[h+8>>2];if(!!g&(d|0)>=0|(d|0)>0){break h}wa(f,H[f+4>>2],j,l)}c=c+1|0;if((e|0)==(c|0)){break a}h=H[b+56>>2];continue}}if(c>>>0<=65535){if(!f){break a}l=j+2|0;e=n>>>0>1?n:1;c=0;while(1){d=H[b+44>>2];h=H[h+96>>2]+N(c,12)|0;G[j>>1]=H[h>>2];g=H[d+20>>2];i:{if(!!H[d+16>>2]&(g|0)>=0|(g|0)>0){break i}wa(d,H[d+4>>2],j,l);f=H[b+44>>2];d=H[f+20>>2];g=H[f+16>>2];G[j>>1]=H[h+4>>2];if(!!g&(d|0)>=0|(d|0)>0){break i}wa(f,H[f+4>>2],j,l);f=H[b+44>>2];g=H[f+16>>2];d=H[f+20>>2];G[j>>1]=H[h+8>>2];if(!!g&(d|0)>=0|(d|0)>0){break i}wa(f,H[f+4>>2],j,l)}c=c+1|0;if((e|0)==(c|0)){break a}h=H[b+56>>2];continue}}if(c>>>0>=2097152){if(!f){break a}i=H[b+44>>2];c=i;g=H[c+20>>2];d=H[c+16>>2];if(!!d&(g|0)>=0|(g|0)>0){break a}e=n>>>0>1?n:1;c=0;while(1){if(!d&(g|0)<=0|(g|0)<0){g=H[h+96>>2]+N(c,12)|0;wa(i,H[i+4>>2],g,g+12|0)}c=c+1|0;if((e|0)==(c|0)){break a}h=H[b+56>>2];i=H[b+44>>2];d=H[i+16>>2];g=H[i+20>>2];continue}}if(!f){break a}g=n>>>0>1?n:1;c=0;while(1){e=H[h+96>>2]+N(c,12)|0;Da(H[e>>2],H[b+44>>2]);Da(H[e+4>>2],H[b+44>>2]);Da(H[e+8>>2],H[b+44>>2]);c=c+1|0;if((g|0)==(c|0)){break a}h=H[b+56>>2];continue}}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;da=j+16|0}function ib(a,b,c,d){var e=0,f=0,g=0,h=0,i=O(0),j=0,k=0;a:{if(!d){break a}b:{c:{switch(H[a+28>>2]-1|0){case 0:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(f<<3)+d|0;g=F[b|0];H[e>>2]=g;H[e+4>>2]=g>>31;b=b+1|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 1:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(f<<3)+d|0;H[e>>2]=I[b|0];H[e+4>>2]=0;b=b+1|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 2:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(f<<3)+d|0;g=G[b>>1];H[e>>2]=g;H[e+4>>2]=g>>31;b=b+2|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 3:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(f<<3)+d|0;H[e>>2]=J[b>>1];H[e+4>>2]=0;b=b+2|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 4:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(f<<3)+d|0;g=H[b>>2];H[e>>2]=g;H[e+4>>2]=g>>31;b=b+4|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 5:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(f<<3)+d|0;H[e>>2]=H[b>>2];H[e+4>>2]=0;b=b+4|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 6:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}g=H[b+4>>2];e=(f<<3)+d|0;H[e>>2]=H[b>>2];H[e+4>>2]=g;b=b+8|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 7:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=H[b>>2];g=H[b+4>>2];if((g|0)<0){break a}k=(f<<3)+d|0;H[k>>2]=e;H[k+4>>2]=g;b=b+8|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 8:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;k=H[e+4>>2];while(1){if(b>>>0>=k>>>0){break a}e=(f<<3)+d|0;i=L[b>>2];d:{if(O(P(i))<O(0x8000000000000000)){g=O(P(i))>=O(1)?~~(i>O(0)?O(R(O(T(O(i*O(2.3283064365386963e-10)))),O(4294967296))):O(U(O(O(i-O(~~i>>>0>>>0))*O(2.3283064365386963e-10)))))>>>0:0;h=~~i>>>0;break d}g=-2147483648;h=0}H[e>>2]=h;H[e+4>>2]=g;b=b+4|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 9:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;k=H[e+4>>2];while(1){if(b>>>0>=k>>>0){break a}e=(f<<3)+d|0;j=M[b>>3];e:{if(P(j)<0x8000000000000000){g=P(j)>=1?~~(j>0?R(T(j*2.3283064365386963e-10),4294967295):U((j-+(~~j>>>0>>>0))*2.3283064365386963e-10))>>>0:0;h=~~j>>>0;break e}g=-2147483648;h=0}H[e>>2]=h;H[e+4>>2]=g;b=b+8|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break b}break a;case 10:break c;default:break a}}e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];g=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=g+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(f<<3)+d|0;H[e>>2]=I[b|0];H[e+4>>2]=0;b=b+1|0;f=f+1|0;e=F[a+24|0];if((f|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)<=(e|0)){break a}}ta((e<<3)+d|0,0,c-e<<3)}}function Sc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;f=da-96|0;da=f;e=H[a+16>>2];F[f+92|0]=1;H[f+88>>2]=b;H[f+84>>2]=b;H[f+80>>2]=e;m=H[a+20>>2];d=H[m>>2];a:{b:{e=H[H[e+28>>2]+(b<<2)>>2];if(e>>>0<H[m+4>>2]-d>>2>>>0){d=H[H[a+8>>2]+(H[d+(e<<2)>>2]<<2)>>2];e=H[a+4>>2];if(!I[e+84|0]){d=H[H[e+68>>2]+(d<<2)>>2]}H[f+72>>2]=0;H[f+76>>2]=0;m=f- -64|0;H[m>>2]=0;H[m+4>>2]=0;H[f+56>>2]=0;H[f+60>>2]=0;ib(e,d,F[e+24|0],f+56|0);e=b+1|0;d=(e>>>0)%3|0;if(b>>>0<=e>>>0){m=d?e:b-2|0;h=((b>>>0)%3|0?-1:2)+b|0;while(1){d=m;e=h;c:{if(!H[a+28>>2]){break c}e=b+1|0;d=(e>>>0)%3|0?e:b-2|0;e=b-1|0;if((b>>>0)%3|0){break c}e=b+2|0}k=H[a+20>>2];b=H[k>>2];d=H[H[H[a+16>>2]+28>>2]+(d<<2)>>2];if(d>>>0>=H[k+4>>2]-b>>2>>>0){break b}d=H[H[a+8>>2]+(H[b+(d<<2)>>2]<<2)>>2];b=H[a+4>>2];if(!I[b+84|0]){d=H[H[b+68>>2]+(d<<2)>>2]}H[f+48>>2]=0;H[f+52>>2]=0;H[f+40>>2]=0;H[f+44>>2]=0;H[f+32>>2]=0;H[f+36>>2]=0;ib(b,d,F[b+24|0],f+32|0);d=H[a+20>>2];b=H[d>>2];e=H[H[H[a+16>>2]+28>>2]+(e<<2)>>2];if(e>>>0>=H[d+4>>2]-b>>2>>>0){break a}d=H[H[a+8>>2]+(H[b+(e<<2)>>2]<<2)>>2];b=H[a+4>>2];if(!I[b+84|0]){d=H[H[b+68>>2]+(d<<2)>>2]}H[f+24>>2]=0;H[f+28>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;ib(b,d,F[b+24|0],f+8|0);e=H[f+8>>2];b=H[f+56>>2];d=e-b|0;k=H[f+60>>2];n=H[f+12>>2]-(k+(b>>>0>e>>>0)|0)|0;i=H[f+40>>2];e=H[f+64>>2];s=i-e|0;t=H[f+68>>2];i=H[f+44>>2]-(t+(e>>>0>i>>>0)|0)|0;u=xl(d,n,s,i);v=j-u|0;g=g-(ea+(j>>>0<u>>>0)|0)|0;w=v;j=H[f+16>>2];u=j-e|0;t=H[f+20>>2]-((e>>>0>j>>>0)+t|0)|0;j=H[f+32>>2];v=j-b|0;k=H[f+36>>2]-((b>>>0>j>>>0)+k|0)|0;e=xl(u,t,v,k);j=w+e|0;b=ea+g|0;b=e>>>0>j>>>0?b+1|0:b;g=b;w=o;p=n;b=H[f+48>>2];e=H[f+72>>2];n=b-e|0;o=H[f+76>>2];x=H[f+52>>2]-(o+(b>>>0<e>>>0)|0)|0;p=xl(d,p,n,x);d=w+p|0;b=ea+l|0;b=d>>>0<p>>>0?b+1|0:b;l=H[f+24>>2];p=l-e|0;e=H[f+28>>2]-((e>>>0>l>>>0)+o|0)|0;l=xl(p,e,v,k);o=d-l|0;l=b-(ea+(d>>>0<l>>>0)|0)|0;b=xl(u,t,n,x);d=q-b|0;b=r-(ea+(b>>>0>q>>>0)|0)|0;r=xl(p,e,s,i);q=r+d|0;b=ea+b|0;b=q>>>0<r>>>0?b+1|0:b;r=b;b=H[f+88>>2];e=H[f+80>>2];d:{if(I[f+92|0]){e:{f:{g:{h:{if((b|0)==-1){break h}d=b+1|0;b=(d>>>0)%3|0?d:b-2|0;if((b|0)==-1|H[H[e>>2]+(b>>>3&536870908)>>2]>>>b&1){break h}b=H[H[H[e+64>>2]+12>>2]+(b<<2)>>2];if((b|0)!=-1){break g}}H[f+88>>2]=-1;break f}d=b+1|0;b=(d>>>0)%3|0?d:b-2|0;H[f+88>>2]=b;if((b|0)!=-1){break e}}b=H[f+84>>2];d=-1;i:{if((b|0)==-1){break i}j:{if((b>>>0)%3|0){b=b-1|0;break j}b=b+2|0;d=-1;if((b|0)==-1){break i}}d=-1;if(H[H[e>>2]+(b>>>3&536870908)>>2]>>>b&1){break i}b=H[H[H[e+64>>2]+12>>2]+(b<<2)>>2];d=-1;if((b|0)==-1){break i}d=b-1|0;if((b>>>0)%3|0){break i}d=b+2|0}F[f+92|0]=0;H[f+88>>2]=d;break d}if((b|0)!=H[f+84>>2]){break d}H[f+88>>2]=-1;break d}d=-1;k:{if((b|0)==-1){break k}l:{if((b>>>0)%3|0){b=b-1|0;break l}b=b+2|0;d=-1;if((b|0)==-1){break k}}d=-1;if(H[H[e>>2]+(b>>>3&536870908)>>2]>>>b&1){break k}b=H[H[H[e+64>>2]+12>>2]+(b<<2)>>2];d=-1;if((b|0)==-1){break k}d=b-1|0;if((b>>>0)%3|0){break k}d=b+2|0}H[f+88>>2]=d}b=H[f+88>>2];if((b|0)!=-1){continue}break}}b=r>>31;d=b+q|0;e=b;b=b+r|0;k=d^e;h=e^(d>>>0<e>>>0?b+1|0:b);n=-1;d=2147483647;b=l>>31;i=b;e=b+o|0;b=b+l|0;b=e>>>0<i>>>0?b+1|0:b;e=e^i;b=b^i;i=b;s=e^-1;b=b^2147483647;m=g;m:{n:{if(!H[a+28>>2]){if((b|0)==(h|0)&k>>>0>s>>>0|b>>>0<h>>>0){break m}b=h+i|0;a=e+k|0;b=a>>>0<e>>>0?b+1|0:b;e=a;a=b;b=g>>31;d=b+j|0;h=g;g=b;b=h+b|0;b=d>>>0<g>>>0?b+1|0:b;h=d^g;d=h+e|0;g=b^g;b=d;g=g^2147483647;a=(g|0)==(a|0)&(h^-1)>>>0<e>>>0|a>>>0>g>>>0;g=!(a&0);a=a?-1:b;if(g&(a|0)<=536870912|(a|0)<536870912){break m}b=0;a=a>>>29|0;break n}o:{if((b|0)==(h|0)&k>>>0>s>>>0|b>>>0<h>>>0){break o}b=h+i|0;a=e+k|0;b=a>>>0<e>>>0?b+1|0:b;e=b;h=g;b=g>>31;g=b+j|0;i=h;h=b;b=i+b|0;b=g>>>0<h>>>0?b+1|0:b;g=g^h;b=b^h;h=b^2147483647;if((h|0)==(e|0)&(g^-1)>>>0<a>>>0|e>>>0>h>>>0){break o}b=b+e|0;a=a+g|0;b=a>>>0<g>>>0?b+1|0:b;n=a;d=b;if(!b&a>>>0<536870913){break m}}b=d>>>29|0;a=(d&536870911)<<3|n>>>29}j=yl(j,m,a,b);o=yl(o,l,a,b);q=yl(q,r,a,b)}H[c+8>>2]=j;H[c+4>>2]=o;H[c>>2]=q;da=f+96|0;return}ua();X()}ua();X()}ua();X()}function Wh(a){a=a|0;var 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=O(0);d=1;a:{if(!H[a+80>>2]){break a}b=H[a+8>>2];if((H[a+12>>2]-b|0)<=0){break a}while(1){c=H[(o<<2)+b>>2];g=0;n=0;h=0;d=0;b=-1;b:{c:{d:{e:{switch(H[c+28>>2]-1|0){case 8:f:{switch(F[c+24|0]-1|0){case 0:e=da+-64|0;da=e;H[e+40>>2]=0;H[e+44>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;H[e+48>>2]=1065353216;b=H[c+80>>2];H[e+24>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;g:{h:{i:{if(!b){break i}if(b>>>0>=1073741824){break h}f=b<<2;j=ra(f);H[e+16>>2]=j;b=f+j|0;H[e+24>>2]=b;ta(j,0,f);H[e+20>>2]=b;while(1){b=H[H[c>>2]>>2];f=H[c+48>>2]+xl(H[c+40>>2],H[c+44>>2],h,0)|0;b=b+f|0;p=(x(2,I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24)),C());L[e+28>>2]=p;j:{k:{l:{if(!g){break l}i=H[e+32>>2];m=(B(p),v(2));k=m^318;f=Al(g)>>>0>1;b=k&g-1;m:{if(!f){break m}b=k;if(b>>>0<g>>>0){break m}b=(k>>>0)%(g>>>0)|0}l=b;b=H[i+(l<<2)>>2];if(!b){break l}b=H[b>>2];if(!b){break l}if(!f){i=g-1|0;while(1){f=H[b+4>>2];n:{if((f|0)!=(k|0)){if((l|0)==(f&i)){break n}break l}if((m|0)==H[b+8>>2]){break k}}b=H[b>>2];if(b){continue}break}break l}while(1){f=H[b+4>>2];o:{if((f|0)!=(k|0)){if(g>>>0<=f>>>0){f=(f>>>0)%(g>>>0)|0}if((f|0)==(l|0)){break o}break l}if((m|0)==H[b+8>>2]){break k}}b=H[b>>2];if(b){continue}break}}H[e+12>>2]=n;L[e+8>>2]=p;b=e+8|0;lf(e+56|0,e+32|0,b,b);b=H[c+40>>2];sa(H[H[c>>2]>>2]+N(b,n)|0,e+28|0,b);j=H[e+16>>2];H[j+(h<<2)>>2]=n;n=n+1|0;break j}H[(h<<2)+j>>2]=H[b+12>>2]}b=h+1|0;d=b?d:d+1|0;h=b;b=H[c+80>>2];if(!d&b>>>0>h>>>0){g=H[e+36>>2];continue}break}if((b|0)==(n|0)){break i}p:{if(!I[c+84|0]){m=H[c+68>>2];b=H[c+72>>2]-m|0;if(!b){break p}i=H[e+16>>2];b=b>>2;d=b>>>0>1?b:1;l=d&3;j=0;b=0;if(d-1>>>0>=3){f=d&-4;k=0;while(1){h=b<<2;d=h+m|0;H[d>>2]=H[i+(H[d>>2]<<2)>>2];d=m+(h|4)|0;H[d>>2]=H[i+(H[d>>2]<<2)>>2];d=m+(h|8)|0;H[d>>2]=H[i+(H[d>>2]<<2)>>2];d=m+(h|12)|0;H[d>>2]=H[i+(H[d>>2]<<2)>>2];b=b+4|0;k=k+4|0;if((f|0)!=(k|0)){continue}break}}if(!l){break p}while(1){d=m+(b<<2)|0;H[d>>2]=H[i+(H[d>>2]<<2)>>2];b=b+1|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}break p}F[c+84|0]=0;g=H[c+68>>2];d=H[c+72>>2]-g>>2;q:{if(d>>>0<b>>>0){Ma(c+68|0,b-d|0,2204);g=H[c+68>>2];b=H[c+80>>2];break q}if(b>>>0>=d>>>0){break q}H[c+72>>2]=(b<<2)+g}if(!b){break p}h=H[e+16>>2];j=0;i=0;if(b-1>>>0>=3){f=b&-4;k=0;while(1){l=i<<2;H[l+g>>2]=H[h+l>>2];d=l|4;H[d+g>>2]=H[d+h>>2];d=l|8;H[d+g>>2]=H[d+h>>2];d=l|12;H[d+g>>2]=H[d+h>>2];i=i+4|0;k=k+4|0;if((f|0)!=(k|0)){continue}break}}d=b&3;if(!d){break p}while(1){b=i<<2;H[b+g>>2]=H[b+h>>2];i=i+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}H[c+80>>2]=n}b=H[e+16>>2];if(b){qa(b)}b=H[e+40>>2];if(b){while(1){d=H[b>>2];qa(b);b=d;if(b){continue}break}}b=H[e+32>>2];H[e+32>>2]=0;if(b){qa(b)}da=e- -64|0;b=n;break g}va();X()}break d;case 1:b=Cd(c,c);break d;case 2:b=Bd(c,c);break d;case 3:break f;default:break c}}b=Ad(c,c);break d;case 0:r:{switch(F[c+24|0]-1|0){case 0:b=Jf(c,c);break d;case 1:b=Hf(c,c);break d;case 2:b=Ef(c,c);break d;case 3:break r;default:break c}}b=Bf(c,c);break d;case 1:case 10:s:{switch(F[c+24|0]-1|0){case 0:b=Jf(c,c);break d;case 1:b=Hf(c,c);break d;case 2:b=Ef(c,c);break d;case 3:break s;default:break c}}b=Bf(c,c);break d;case 3:t:{switch(F[c+24|0]-1|0){case 0:b=xf(c,c);break d;case 1:b=wf(c,c);break d;case 2:b=rf(c,c);break d;case 3:break t;default:break c}}b=of(c,c);break d;case 2:u:{switch(F[c+24|0]-1|0){case 0:b=xf(c,c);break d;case 1:b=wf(c,c);break d;case 2:b=rf(c,c);break d;case 3:break u;default:break c}}b=of(c,c);break d;case 5:v:{switch(F[c+24|0]-1|0){case 0:b=nf(c,c);break d;case 1:b=Cd(c,c);break d;case 2:b=Bd(c,c);break d;case 3:break v;default:break c}}b=Ad(c,c);break d;case 4:break e;default:break b}}w:{switch(F[c+24|0]-1|0){case 0:b=nf(c,c);break d;case 1:b=Cd(c,c);break d;case 2:b=Bd(c,c);break d;case 3:break w;default:break c}}b=Ad(c,c)}if(b){break b}}b=-1}d=b;if(b){o=o+1|0;b=H[a+8>>2];if((o|0)<H[a+12>>2]-b>>2){continue}}break}d=(d|0)!=0}return d|0}function Qc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=da-96|0;da=e;d=H[a+16>>2];F[e+92|0]=1;H[e+88>>2]=b;H[e+84>>2]=b;H[e+80>>2]=d;a:{if((b|0)==-1){break a}m=H[a+20>>2];f=H[m>>2];d=H[H[d>>2]+(b<<2)>>2];if(d>>>0>=H[m+4>>2]-f>>2>>>0){break a}f=H[H[a+8>>2]+(H[f+(d<<2)>>2]<<2)>>2];d=H[a+4>>2];if(!I[d+84|0]){f=H[H[d+68>>2]+(f<<2)>>2]}H[e+72>>2]=0;H[e+76>>2]=0;m=e- -64|0;H[m>>2]=0;H[m+4>>2]=0;H[e+56>>2]=0;H[e+60>>2]=0;ib(d,f,F[d+24|0],e+56|0);d=b+1|0;m=(d>>>0)%3|0?d:b-2|0;h=((b>>>0)%3|0?-1:2)+b|0;b:{c:{while(1){f=m;d=h;d:{if(!H[a+28>>2]){break d}d=b+1|0;f=(d>>>0)%3|0?d:b-2|0;d=b-1|0;if((b>>>0)%3|0){break d}d=b+2|0}if((f|0)==-1){break b}k=H[a+20>>2];b=H[k>>2];f=H[H[H[a+16>>2]>>2]+(f<<2)>>2];if(f>>>0>=H[k+4>>2]-b>>2>>>0){break b}f=H[H[a+8>>2]+(H[b+(f<<2)>>2]<<2)>>2];b=H[a+4>>2];if(!I[b+84|0]){f=H[H[b+68>>2]+(f<<2)>>2]}H[e+48>>2]=0;H[e+52>>2]=0;H[e+40>>2]=0;H[e+44>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;ib(b,f,F[b+24|0],e+32|0);if((d|0)==-1){break c}f=H[a+20>>2];b=H[f>>2];d=H[H[H[a+16>>2]>>2]+(d<<2)>>2];if(d>>>0>=H[f+4>>2]-b>>2>>>0){break c}f=H[H[a+8>>2]+(H[b+(d<<2)>>2]<<2)>>2];b=H[a+4>>2];if(!I[b+84|0]){f=H[H[b+68>>2]+(f<<2)>>2]}H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;ib(b,f,F[b+24|0],e+8|0);d=H[e+8>>2];b=H[e+56>>2];f=d-b|0;k=H[e+60>>2];n=H[e+12>>2]-(k+(b>>>0>d>>>0)|0)|0;i=H[e+40>>2];d=H[e+64>>2];s=i-d|0;t=H[e+68>>2];i=H[e+44>>2]-(t+(d>>>0>i>>>0)|0)|0;u=xl(f,n,s,i);v=j-u|0;g=g-(ea+(j>>>0<u>>>0)|0)|0;w=v;j=H[e+16>>2];u=j-d|0;t=H[e+20>>2]-((d>>>0>j>>>0)+t|0)|0;j=H[e+32>>2];v=j-b|0;k=H[e+36>>2]-((b>>>0>j>>>0)+k|0)|0;d=xl(u,t,v,k);j=w+d|0;b=ea+g|0;b=d>>>0>j>>>0?b+1|0:b;g=b;w=o;p=n;b=H[e+48>>2];d=H[e+72>>2];n=b-d|0;o=H[e+76>>2];x=H[e+52>>2]-(o+(b>>>0<d>>>0)|0)|0;p=xl(f,p,n,x);f=w+p|0;b=ea+l|0;b=f>>>0<p>>>0?b+1|0:b;l=H[e+24>>2];p=l-d|0;d=H[e+28>>2]-((d>>>0>l>>>0)+o|0)|0;l=xl(p,d,v,k);o=f-l|0;l=b-(ea+(f>>>0<l>>>0)|0)|0;b=xl(u,t,n,x);f=q-b|0;b=r-(ea+(b>>>0>q>>>0)|0)|0;r=xl(p,d,s,i);q=r+f|0;b=ea+b|0;b=q>>>0<r>>>0?b+1|0:b;r=b;b=H[e+88>>2];f=H[e+80>>2];e:{if(I[e+92|0]){f:{g:{h:{i:{if((b|0)==-1){break i}d=b+1|0;b=(d>>>0)%3|0?d:b-2|0;if((b|0)==-1){break i}b=H[H[f+12>>2]+(b<<2)>>2];if((b|0)!=-1){break h}}H[e+88>>2]=-1;break g}d=b+1|0;b=(d>>>0)%3|0?d:b-2|0;H[e+88>>2]=b;if((b|0)!=-1){break f}}b=H[e+84>>2];d=-1;j:{if((b|0)==-1){break j}k:{if((b>>>0)%3|0){b=b-1|0;break k}b=b+2|0;d=-1;if((b|0)==-1){break j}}b=H[H[f+12>>2]+(b<<2)>>2];d=-1;if((b|0)==-1){break j}d=b-1|0;if((b>>>0)%3|0){break j}d=b+2|0}F[e+92|0]=0;H[e+88>>2]=d;break e}if((b|0)!=H[e+84>>2]){break e}H[e+88>>2]=-1;break e}d=-1;l:{if((b|0)==-1){break l}m:{if((b>>>0)%3|0){b=b-1|0;break m}b=b+2|0;d=-1;if((b|0)==-1){break l}}b=H[H[f+12>>2]+(b<<2)>>2];d=-1;if((b|0)==-1){break l}d=b-1|0;if((b>>>0)%3|0){break l}d=b+2|0}H[e+88>>2]=d}b=H[e+88>>2];if((b|0)!=-1){continue}break}b=r>>31;f=b+q|0;d=b;b=b+r|0;k=f^d;h=d^(f>>>0<d>>>0?b+1|0:b);n=-1;f=2147483647;b=l>>31;i=b;d=b+o|0;b=b+l|0;b=d>>>0<i>>>0?b+1|0:b;d=d^i;b=b^i;i=b;s=d^-1;b=b^2147483647;m=g;n:{o:{if(!H[a+28>>2]){if((b|0)==(h|0)&k>>>0>s>>>0|b>>>0<h>>>0){break n}b=h+i|0;a=d+k|0;b=a>>>0<d>>>0?b+1|0:b;d=a;a=b;b=g>>31;f=b+j|0;h=g;g=b;b=h+b|0;b=f>>>0<g>>>0?b+1|0:b;h=f^g;f=h+d|0;g=b^g;b=f;g=g^2147483647;a=(g|0)==(a|0)&(h^-1)>>>0<d>>>0|a>>>0>g>>>0;d=!(a&0);a=a?-1:b;if(d&(a|0)<=536870912|(a|0)<536870912){break n}b=0;a=a>>>29|0;break o}p:{if((b|0)==(h|0)&k>>>0>s>>>0|b>>>0<h>>>0){break p}b=h+i|0;a=d+k|0;b=a>>>0<d>>>0?b+1|0:b;d=b;h=g;b=g>>31;g=b+j|0;i=h;h=b;b=i+b|0;b=g>>>0<h>>>0?b+1|0:b;g=g^h;b=b^h;h=b^2147483647;if((h|0)==(d|0)&(g^-1)>>>0<a>>>0|d>>>0>h>>>0){break p}b=b+d|0;a=a+g|0;b=a>>>0<g>>>0?b+1|0:b;n=a;f=b;if(!b&a>>>0<536870913){break n}}b=f>>>29|0;a=(f&536870911)<<3|n>>>29}j=yl(j,m,a,b);o=yl(o,l,a,b);q=yl(q,r,a,b)}H[c+8>>2]=j;H[c+4>>2]=o;H[c>>2]=q;da=e+96|0;return}ua();X()}ua();X()}ua();X()}function Dk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=da-48|0;da=b;g=H[H[a+4>>2]+48>>2];H[b+8>>2]=H[a+12>>2];d=ra(32);H[b+24>>2]=d;H[b+28>>2]=17;H[b+32>>2]=-2147483616;F[d+17|0]=0;F[d+16|0]=I[1373];e=I[1369]|I[1370]<<8|(I[1371]<<16|I[1372]<<24);f=I[1365]|I[1366]<<8|(I[1367]<<16|I[1368]<<24);F[d+8|0]=f;F[d+9|0]=f>>>8;F[d+10|0]=f>>>16;F[d+11|0]=f>>>24;F[d+12|0]=e;F[d+13|0]=e>>>8;F[d+14|0]=e>>>16;F[d+15|0]=e>>>24;e=I[1361]|I[1362]<<8|(I[1363]<<16|I[1364]<<24);f=I[1357]|I[1358]<<8|(I[1359]<<16|I[1360]<<24);F[d|0]=f;F[d+1|0]=f>>>8;F[d+2|0]=f>>>16;F[d+3|0]=f>>>24;F[d+4|0]=e;F[d+5|0]=e>>>8;F[d+6|0]=e>>>16;F[d+7|0]=e>>>24;d=xb(g,b+8|0,b+24|0,-1);if(F[b+35|0]<0){qa(H[b+24>>2])}H[b+32>>2]=-1;H[b+36>>2]=1065353216;H[b+24>>2]=-1;H[b+28>>2]=-1;H[b+40>>2]=-1;d=-1<<d^-1;a:{if(!(d&1)){break a}d=Q(d)^31;if(d-30>>>0<4294967267){break a}H[b+24>>2]=d+1;d=-2<<d;H[b+28>>2]=d^-1;d=-2-d|0;H[b+32>>2]=d;H[b+40>>2]=(d|0)/2;L[b+36>>2]=O(2)/O(d|0)}g=Ug(H[a+12>>2],H[a+4>>2]);h=H[H[a+4>>2]+48>>2];H[b+20>>2]=H[a+12>>2];d=ra(32);H[b+8>>2]=d;H[b+12>>2]=17;H[b+16>>2]=-2147483616;F[d+17|0]=0;F[d+16|0]=I[1688];e=I[1684]|I[1685]<<8|(I[1686]<<16|I[1687]<<24);f=I[1680]|I[1681]<<8|(I[1682]<<16|I[1683]<<24);F[d+8|0]=f;F[d+9|0]=f>>>8;F[d+10|0]=f>>>16;F[d+11|0]=f>>>24;F[d+12|0]=e;F[d+13|0]=e>>>8;F[d+14|0]=e>>>16;F[d+15|0]=e>>>24;e=I[1676]|I[1677]<<8|(I[1678]<<16|I[1679]<<24);f=I[1672]|I[1673]<<8|(I[1674]<<16|I[1675]<<24);F[d|0]=f;F[d+1|0]=f>>>8;F[d+2|0]=f>>>16;F[d+3|0]=f>>>24;F[d+4|0]=e;F[d+5|0]=e>>>8;F[d+6|0]=e>>>16;F[d+7|0]=e>>>24;d=xb(h,b+20|0,b+8|0,g);if(F[b+19|0]<0){qa(H[b+8>>2])}b:{c:{switch(d|0){case 6:e=H[a+4>>2];g=H[a+12>>2];j=H[H[H[e+4>>2]+8>>2]+(g<<2)>>2];if((fa[H[H[e>>2]+8>>2]](e)|0)==1){a=b+24|0;d=da-32|0;da=d;h=H[H[H[e+4>>2]+8>>2]+(g<<2)>>2];d:{if((fa[H[H[e>>2]+8>>2]](e)|0)!=1){break d}i=fa[H[H[e>>2]+52>>2]](e)|0;f=fa[H[H[e>>2]+60>>2]](e,g)|0;if(!i|!f){break d}c=fa[H[H[e>>2]+56>>2]](e,g)|0;if(c){e=H[e+56>>2];H[d+20>>2]=c;H[d+16>>2]=e;H[d+28>>2]=f;H[d+24>>2]=f+12;c=ra(128);H[c+4>>2]=h;e=H[a+4>>2];H[c+8>>2]=H[a>>2];H[c+12>>2]=e;e=H[a+12>>2];H[c+16>>2]=H[a+8>>2];H[c+20>>2]=e;H[c+24>>2]=H[a+16>>2];a=H[d+20>>2];H[c+28>>2]=H[d+16>>2];H[c+32>>2]=a;a=H[d+28>>2];H[c+36>>2]=H[d+24>>2];H[c+40>>2]=a;H[c+48>>2]=0;H[c+52>>2]=0;H[c>>2]=7552;a=H[d+20>>2];H[c+56>>2]=H[d+16>>2];H[c+60>>2]=a;e=H[d+28>>2];a=c- -64|0;H[a>>2]=H[d+24>>2];H[a+4>>2]=e;H[c+88>>2]=1065353216;H[c+92>>2]=-1;H[c+80>>2]=-1;H[c+84>>2]=-1;H[c+72>>2]=1;H[c+76>>2]=-1;H[c+44>>2]=7812;H[c+96>>2]=0;H[c+100>>2]=0;H[c+120>>2]=0;H[c+124>>2]=0;H[c+112>>2]=0;H[c+116>>2]=0;H[c+104>>2]=0;H[c+108>>2]=0;break d}c=H[e+56>>2];H[d+20>>2]=i;H[d+16>>2]=c;H[d+28>>2]=f;H[d+24>>2]=f+12;c=ra(128);H[c+4>>2]=h;e=H[a+4>>2];H[c+8>>2]=H[a>>2];H[c+12>>2]=e;e=H[a+12>>2];H[c+16>>2]=H[a+8>>2];H[c+20>>2]=e;H[c+24>>2]=H[a+16>>2];a=H[d+20>>2];H[c+28>>2]=H[d+16>>2];H[c+32>>2]=a;a=H[d+28>>2];H[c+36>>2]=H[d+24>>2];H[c+40>>2]=a;H[c+48>>2]=0;H[c+52>>2]=0;H[c>>2]=9176;a=H[d+20>>2];H[c+56>>2]=H[d+16>>2];H[c+60>>2]=a;e=H[d+28>>2];a=c- -64|0;H[a>>2]=H[d+24>>2];H[a+4>>2]=e;H[c+88>>2]=1065353216;H[c+92>>2]=-1;H[c+80>>2]=-1;H[c+84>>2]=-1;H[c+72>>2]=1;H[c+76>>2]=-1;H[c+44>>2]=9420;H[c+96>>2]=0;H[c+100>>2]=0;H[c+120>>2]=0;H[c+124>>2]=0;H[c+112>>2]=0;H[c+116>>2]=0;H[c+104>>2]=0;H[c+108>>2]=0}da=d+32|0;if(c){break b}}c=ra(28);H[c+4>>2]=j;a=H[b+28>>2];H[c+8>>2]=H[b+24>>2];H[c+12>>2]=a;a=H[b+36>>2];H[c+16>>2]=H[b+32>>2];H[c+20>>2]=a;H[c+24>>2]=H[b+40>>2];H[c>>2]=9832;break b;case 0:break c;default:break b}}c=H[a+4>>2];a=H[H[H[c+4>>2]+8>>2]+(H[a+12>>2]<<2)>>2];if((fa[H[H[c>>2]+8>>2]](c)|0)==1){fa[H[H[c>>2]+8>>2]](c)|0}c=ra(28);H[c+4>>2]=a;a=H[b+28>>2];H[c+8>>2]=H[b+24>>2];H[c+12>>2]=a;a=H[b+36>>2];H[c+16>>2]=H[b+32>>2];H[c+20>>2]=a;H[c+24>>2]=H[b+40>>2];H[c>>2]=9832}da=b+48|0;return c|0}function _c(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=O(0),k=0;a:{b:{if(!d){break b}c:{d:{switch(H[a+28>>2]-1|0){case 0:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}H[(g<<2)+d>>2]=F[b|0];b=b+1|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 1:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}H[(g<<2)+d>>2]=I[b|0];b=b+1|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 2:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}H[(g<<2)+d>>2]=G[b>>1];b=b+2|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 3:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}H[(g<<2)+d>>2]=J[b>>1];b=b+2|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 4:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}H[(g<<2)+d>>2]=H[b>>2];b=b+4|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 5:e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}e=H[b>>2];if((e|0)<0){break b}H[(g<<2)+d>>2]=e;b=b+4|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}h=1;if((c|0)>(e|0)){break c}break b;case 6:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}e=H[b>>2];if((H[b+4>>2]-(e>>>0<2147483648)|0)!=-1){break a}H[(g<<2)+d>>2]=e;b=b+8|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 7:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}e=H[b+4>>2];i=H[b>>2];if(!e&i>>>0>2147483647|e){break a}H[(g<<2)+d>>2]=i;b=b+8|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 8:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}i=(g<<2)+d|0;j=L[b>>2];e:{if(O(P(j))<O(2147483648)){e=~~j;break e}e=-2147483648}H[i>>2]=e;b=b+4|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 9:h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}i=(g<<2)+d|0;k=M[b>>3];f:{if(P(k)<2147483648){e=~~k;break f}e=-2147483648}H[i>>2]=e;b=b+8|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)>(e|0)){break c}break b;case 10:break d;default:break b}}h=1;e=F[a+24|0];if((((c|0)<(e|0)?c:e)|0)>0){e=H[a>>2];f=H[e>>2];b=H[a+48>>2]+xl(H[a+40>>2],H[a+44>>2],b,0)|0;b=f+b|0;f=H[e+4>>2];while(1){if(b>>>0>=f>>>0){break a}H[(g<<2)+d>>2]=I[b|0];b=b+1|0;g=g+1|0;e=F[a+24|0];if((g|0)<(((c|0)<(e|0)?c:e)|0)){continue}break}}if((c|0)<=(e|0)){break b}}ta((e<<2)+d|0,0,c-e<<2)}return h}return 0}function Ag(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;o=da-32|0;da=o;a:{if((c|0)<=0){break a}p=c&3;b:{if(c-1>>>0<3){c=0;break b}z=c&-4;c=0;while(1){t=c|1;k=(t<<3)+b|0;f=H[k+4>>2];q=H[k>>2];u=c|2;m=(u<<3)+b|0;k=H[m+4>>2];v=H[m>>2];w=c|3;i=(w<<3)+b|0;m=H[i+4>>2];x=H[i>>2];r=j;j=(c<<3)+b|0;y=H[j+4>>2];i=H[j>>2];j=m|x?w:k|v?u:f|q?t:!(y|i)?r:c;e=e+y|0;n=i+n|0;e=n>>>0<i>>>0?e+1|0:e;i=n+q|0;e=e+f|0;e=i>>>0<n>>>0?e+1|0:e;f=i+v|0;e=e+k|0;e=f>>>0<i>>>0?e+1|0:e;k=f;f=f+x|0;e=e+m|0;e=f>>>0<k>>>0?e+1|0:e;n=f;c=c+4|0;g=g+4|0;if((z|0)!=(g|0)){continue}break}}if(!p){break a}while(1){g=(c<<3)+b|0;f=H[g+4>>2];g=H[g>>2];j=f|g?c:j;c=c+1|0;e=e+f|0;k=g+n|0;e=k>>>0<g>>>0?e+1|0:e;n=k;h=h+1|0;if((p|0)!=(h|0)){continue}break}}h=j+1|0;H[a+12>>2]=h;g=H[a>>2];c=H[a+4>>2]-g>>3;c:{if(c>>>0<h>>>0){Ya(a,h-c|0);g=H[a>>2];break c}if(c>>>0<=h>>>0){break c}H[a+4>>2]=(h<<3)+g}f=0;k=0;d:{e:{if((j|0)>=0){s=+(n>>>0)+ +(e>>>0)*4294967296;c=0;while(1){m=c<<3;i=m+b|0;e=H[i+4>>2];i=H[i>>2];n=(e|i)!=0;r=g+m|0;l=(+(i>>>0)+ +(e>>>0)*4294967296)/s*4096+.5;f:{if(l<4294967296&l>=0){e=~~l>>>0;break f}e=0}e=e?e:n?1:e;H[r>>2]=e;k=e+k|0;e=(c|0)==(j|0);c=c+1|0;if(!e){continue}break}if((k|0)==4096){break e}}H[o+16>>2]=0;H[o+8>>2]=0;H[o+12>>2]=0;g=0;g:{h:{i:{if(h){if(h>>>0>=1073741824){break i}c=h<<2;f=ra(c);H[o+8>>2]=f;H[o+16>>2]=c+f;c=(j<<2)+4|0;g=ta(f,0,c)+c|0;H[o+12>>2]=g}c=0;j:{if((j|0)<0){break j}h=j+1|0;e=h&7;if(j>>>0>=7){m=h&-8;h=0;while(1){H[(c<<2)+f>>2]=c;i=c|1;H[(i<<2)+f>>2]=i;i=c|2;H[(i<<2)+f>>2]=i;i=c|3;H[(i<<2)+f>>2]=i;i=c|4;H[(i<<2)+f>>2]=i;i=c|5;H[(i<<2)+f>>2]=i;i=c|6;H[(i<<2)+f>>2]=i;i=c|7;H[(i<<2)+f>>2]=i;c=c+8|0;h=h+8|0;if((m|0)!=(h|0)){continue}break}}if(!e){break j}h=0;while(1){H[(c<<2)+f>>2]=c;c=c+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}H[o+24>>2]=a;c=g-f|0;e=c>>2;k:{if((c|0)<=512){ac(f,g,o+24|0,e,0,0);break k}c=e>>>0<536870911?e:536870911;l:{while(1){h=ra(c<<2);if(h){break l}h=c>>>0>1;c=c>>>1|0;if(h){continue}break}ac(f,g,o+24|0,e,0,0);break k}ac(f,g,o+24|0,e,h,c);qa(h)}if((k|0)<4096){c=H[a>>2]+(H[g-4>>2]<<3)|0;H[c>>2]=(H[c>>2]-k|0)+4096;break h}m:{if((j|0)>0){h=k-4096|0;while(1){l=4096/+(k|0);i=H[a>>2];g=j;n:{while(1){e=i+(H[(g<<2)+f>>2]<<3)|0;c=H[e>>2];if(c>>>0>=2){n=c-1|0;r=e;m=c;s=T(l*+(c>>>0));o:{if(P(s)<2147483648){e=~~s;break o}e=-2147483648}e=c-e|0;e=e?e:1;c=(c|0)>(e|0)?e:n;c=(c|0)>(h|0)?h:c;H[r>>2]=m-c;h=h-c|0;k=k-c|0;if((k|0)==4096){k=4096;break n}c=(g|0)>1;g=g-1|0;if(c){continue}break n}break}if((g|0)==(j|0)){break m}}if((h|0)<=0){break g}f=H[o+8>>2];continue}}if(k>>>0<4097){break h}while(1)continue}qa(f);break d}va();X()}if(!f){break e}}qa(f)}if((j|0)<0){break d}e=H[a>>2];m=j+1|0;i=m&3;k=0;h=0;c=0;if(j>>>0>=3){n=m&-4;f=0;while(1){g=h<<3;p=g+e|0;H[p+4>>2]=c;q=e+(g|8)|0;c=H[p>>2]+c|0;H[q+4>>2]=c;p=e+(g|16)|0;c=c+H[q>>2]|0;H[p+4>>2]=c;g=e+(g|24)|0;c=c+H[p>>2]|0;H[g+4>>2]=c;c=c+H[g>>2]|0;h=h+4|0;f=f+4|0;if((n|0)!=(f|0)){continue}break}}if(i){while(1){g=e+(h<<3)|0;H[g+4>>2]=c;h=h+1|0;c=H[g>>2]+c|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}if((c|0)!=4096){break d}c=0;l=0;p:{if((j|0)<0){break p}e=H[a>>2];if(j){h=m&-2;g=0;while(1){j=c<<3;f=H[j+e>>2];if(f){j=b+j|0;l=(+K[j>>2]+ +K[j+4>>2]*4294967296)*za(+(f>>>0)*.000244140625)+l}j=(c|1)<<3;f=H[j+e>>2];if(f){j=b+j|0;l=(+K[j>>2]+ +K[j+4>>2]*4294967296)*za(+(f>>>0)*.000244140625)+l}c=c+2|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(!(m&1)){break p}c=c<<3;e=H[c+e>>2];if(!e){break p}b=b+c|0;l=(+K[b>>2]+ +K[b+4>>2]*4294967296)*za(+(e>>>0)*.000244140625)+l}l=U(-l);q:{if(l<0x10000000000000000&l>=0){c=P(l)>=1?~~(l>0?R(T(l*2.3283064365386963e-10),4294967295):U((l-+(~~l>>>0>>>0))*2.3283064365386963e-10))>>>0:0;b=~~l>>>0;break q}c=0;b=0}H[a+16>>2]=b;H[a+20>>2]=c;Xa(a,d)}da=o+32|0}function ek(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=O(0);f=da-32|0;da=f;H[f+28>>2]=c;a:{b:{if(!de(a,b,c)){break b}i=H[H[H[b+4>>2]+8>>2]+(c<<2)>>2];if(H[i+28>>2]!=9){break b}g=H[b+48>>2];c=ra(32);H[f+16>>2]=c;H[f+20>>2]=17;H[f+24>>2]=-2147483616;F[c+17|0]=0;F[c+16|0]=I[1373];d=I[1369]|I[1370]<<8|(I[1371]<<16|I[1372]<<24);h=I[1365]|I[1366]<<8|(I[1367]<<16|I[1368]<<24);F[c+8|0]=h;F[c+9|0]=h>>>8;F[c+10|0]=h>>>16;F[c+11|0]=h>>>24;F[c+12|0]=d;F[c+13|0]=d>>>8;F[c+14|0]=d>>>16;F[c+15|0]=d>>>24;d=I[1361]|I[1362]<<8|(I[1363]<<16|I[1364]<<24);h=I[1357]|I[1358]<<8|(I[1359]<<16|I[1360]<<24);F[c|0]=h;F[c+1|0]=h>>>8;F[c+2|0]=h>>>16;F[c+3|0]=h>>>24;F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;h=xb(g,f+28|0,f+16|0,-1);if(F[f+27|0]<0){qa(H[f+16>>2])}if((h|0)<=0){break b}j=H[b+48>>2];c=ra(32);H[f+16>>2]=c;H[f+20>>2]=19;H[f+24>>2]=-2147483616;F[c+19|0]=0;d=I[1541]|I[1542]<<8|(I[1543]<<16|I[1544]<<24);F[c+15|0]=d;F[c+16|0]=d>>>8;F[c+17|0]=d>>>16;F[c+18|0]=d>>>24;d=I[1538]|I[1539]<<8|(I[1540]<<16|I[1541]<<24);g=I[1534]|I[1535]<<8|(I[1536]<<16|I[1537]<<24);F[c+8|0]=g;F[c+9|0]=g>>>8;F[c+10|0]=g>>>16;F[c+11|0]=g>>>24;F[c+12|0]=d;F[c+13|0]=d>>>8;F[c+14|0]=d>>>16;F[c+15|0]=d>>>24;d=I[1530]|I[1531]<<8|(I[1532]<<16|I[1533]<<24);g=I[1526]|I[1527]<<8|(I[1528]<<16|I[1529]<<24);F[c|0]=g;F[c+1|0]=g>>>8;F[c+2|0]=g>>>16;F[c+3|0]=g>>>24;F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;c:{if(!yc(j,f+28|0,f+16|0)){break c}g=H[b+48>>2];c=ra(32);H[f>>2]=c;H[f+4>>2]=18;H[f+8>>2]=-2147483616;F[c+18|0]=0;e=I[1706]|I[1707]<<8;F[c+16|0]=e;F[c+17|0]=e>>>8;e=I[1702]|I[1703]<<8|(I[1704]<<16|I[1705]<<24);d=I[1698]|I[1699]<<8|(I[1700]<<16|I[1701]<<24);F[c+8|0]=d;F[c+9|0]=d>>>8;F[c+10|0]=d>>>16;F[c+11|0]=d>>>24;F[c+12|0]=e;F[c+13|0]=e>>>8;F[c+14|0]=e>>>16;F[c+15|0]=e>>>24;e=I[1694]|I[1695]<<8|(I[1696]<<16|I[1697]<<24);d=I[1690]|I[1691]<<8|(I[1692]<<16|I[1693]<<24);F[c|0]=d;F[c+1|0]=d>>>8;F[c+2|0]=d>>>16;F[c+3|0]=d>>>24;F[c+4|0]=e;F[c+5|0]=e>>>8;F[c+6|0]=e>>>16;F[c+7|0]=e>>>24;e=yc(g,f+28|0,f);if(F[f+11|0]>=0){break c}qa(H[f>>2])}if(F[f+27|0]<0){qa(H[f+16>>2])}d:{if(e){e=F[i+24|0];H[f+24>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;c=0;if(e){if((e|0)<0){break a}e=e<<2;c=ra(e);H[f+16>>2]=c;d=c+e|0;H[f+24>>2]=d;ta(c,0,e);H[f+20>>2]=d}j=H[b+48>>2];e=ra(32);H[f>>2]=e;H[f+4>>2]=19;H[f+8>>2]=-2147483616;F[e+19|0]=0;d=I[1541]|I[1542]<<8|(I[1543]<<16|I[1544]<<24);F[e+15|0]=d;F[e+16|0]=d>>>8;F[e+17|0]=d>>>16;F[e+18|0]=d>>>24;d=I[1538]|I[1539]<<8|(I[1540]<<16|I[1541]<<24);g=I[1534]|I[1535]<<8|(I[1536]<<16|I[1537]<<24);F[e+8|0]=g;F[e+9|0]=g>>>8;F[e+10|0]=g>>>16;F[e+11|0]=g>>>24;F[e+12|0]=d;F[e+13|0]=d>>>8;F[e+14|0]=d>>>16;F[e+15|0]=d>>>24;d=I[1530]|I[1531]<<8|(I[1532]<<16|I[1533]<<24);g=I[1526]|I[1527]<<8|(I[1528]<<16|I[1529]<<24);F[e|0]=g;F[e+1|0]=g>>>8;F[e+2|0]=g>>>16;F[e+3|0]=g>>>24;F[e+4|0]=d;F[e+5|0]=d>>>8;F[e+6|0]=d>>>16;F[e+7|0]=d>>>24;ue(j,f+28|0,f,F[i+24|0],c);if(F[f+11|0]<0){qa(H[f>>2])}g=H[b+48>>2];b=ra(32);H[f>>2]=b;H[f+4>>2]=18;H[f+8>>2]=-2147483616;F[b+18|0]=0;e=I[1706]|I[1707]<<8;F[b+16|0]=e;F[b+17|0]=e>>>8;e=I[1702]|I[1703]<<8|(I[1704]<<16|I[1705]<<24);d=I[1698]|I[1699]<<8|(I[1700]<<16|I[1701]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=e;F[b+13|0]=e>>>8;F[b+14|0]=e>>>16;F[b+15|0]=e>>>24;e=I[1694]|I[1695]<<8|(I[1696]<<16|I[1697]<<24);d=I[1690]|I[1691]<<8|(I[1692]<<16|I[1693]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=e;F[b+5|0]=e>>>8;F[b+6|0]=e>>>16;F[b+7|0]=e>>>24;k=te(g,f+28|0,f);if(F[f+11|0]<0){qa(H[f>>2])}a=Vg(a+40|0,h,c,F[i+24|0],k);if(c){qa(c)}e=0;if(a){break d}break b}e=0;if(!Tg(a+40|0,i,h)){break b}}e=1}da=f+32|0;return e|0}va();X()}function Sk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=da-48|0;da=j;H[a+68>>2]=f;o=a+112|0;Ca(o);f=H[a+56>>2];e=H[f>>2];d=H[f+4>>2];H[j+40>>2]=0;H[j+32>>2]=0;H[j+36>>2]=0;H[j+16>>2]=0;H[j+20>>2]=0;H[j+8>>2]=0;H[j+12>>2]=0;H[j>>2]=0;H[j+4>>2]=0;a:{d=d-e|0;if((d|0)<=0){break a}i=H[f>>2];if((i|0)!=H[f+4>>2]){p=a+60|0;d=d>>>2|0;q=d>>>0>1?d:1;r=c+4|0;while(1){Sc(p,H[(n<<2)+i>>2],j+32|0);f=H[j+36>>2];k=f>>31;g=H[j+32>>2];h=g>>31;i=H[j+40>>2];d=i>>31;e=d^d+i;h=e+((k^f+k)+(h^g+h)|0)|0;d=0;l=h;d=e>>>0>h>>>0?1:d;b:{if(!(h|d)){m=H[a+108>>2];g=m;break b}m=H[a+108>>2];h=m;e=h>>31;f=yl(xl(h,e,f,f>>31),ea,l,d);k=f>>31;g=yl(xl(h,e,g,g>>31),ea,l,d);d=g>>31;d=(k^f+k)+(d^d+g)|0;i=(i|0)>=0?h-d|0:d-h|0}c:{if((g|0)>=0){h=f+m|0;k=i+m|0;break c}d:{if((f|0)<0){d=i>>31;h=d+i^d;break d}d=i>>31;h=H[a+100>>2]-(d+i^d)|0}if((i|0)<0){d=f>>31;k=d+f^d;break c}d=f>>31;k=H[a+100>>2]-(d+f^d)|0}d=H[a+100>>2];l=d;e=d;e:{if(!(h|k)){break e}if(!((d|0)!=(k|0)|h)){l=k;e=k;break e}if(!((d|0)!=(h|0)|k)){l=h;e=h;break e}if(!((k|0)<=(m|0)|h)){l=(m<<1)-k|0;e=0;break e}if(!((d|0)!=(h|0)|(k|0)>=(m|0))){l=(m<<1)-k|0;e=h;break e}if(!((d|0)!=(k|0)|(h|0)>=(m|0))){l=k;e=(m<<1)-h|0;break e}if(k){l=k;e=h;break e}l=0;e=h;if((e|0)<=(m|0)){break e}e=(m<<1)-h|0}H[j+28>>2]=l;H[j+24>>2]=e;H[j+40>>2]=0-i;H[j+36>>2]=0-f;H[j+32>>2]=0-g;f:{if((g|0)<=0){g=m-i|0;e=m-f|0;break f}e=f>>31;e=e+f^e;g=(i|0)>0?e:d-e|0;e=i>>31;e=e+i^e;e=(f|0)>0?e:d-e|0}g:{if(!(e|g)){g=d;break g}if(!((d|0)!=(g|0)|e)){g=d;break g}f=(d|0)!=(e|0);if(!(g|f)){g=d;break g}if(!((g|0)<=(m|0)|e)){g=(m<<1)-g|0;d=0;break g}if(!((g|0)>=(m|0)|f)){g=(m<<1)-g|0;break g}if(!((d|0)!=(g|0)|(e|0)>=(m|0))){g=d;d=(m<<1)-e|0;break g}if(g){d=e;break g}g=0;if((e|0)<=(m|0)){d=e;break g}d=(m<<1)-e|0}H[j+20>>2]=g;H[j+16>>2]=d;i=H[a+8>>2];h:{if((i|0)<=0){break h}m=(n<<3)+b|0;h=0;e=j+24|0;while(1){k=H[a+32>>2];f=0;if((i|0)>0){while(1){l=f<<2;g=H[l+e>>2];d=H[a+16>>2];i:{if((g|0)>(d|0)){H[k+l>>2]=d;break i}l=k+l|0;d=H[a+12>>2];if((d|0)>(g|0)){H[l>>2]=d;break i}H[l>>2]=g}f=f+1|0;i=H[a+8>>2];if((f|0)<(i|0)){continue}break}}d=h<<2;e=d+(j+8|0)|0;f=H[d+m>>2]-H[d+k>>2]|0;H[e>>2]=f;d=H[a+28>>2];j:{if((f|0)<(d|0)){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break j}f=f-H[a+20>>2]|0}H[e>>2]=f}e=k;h=h+1|0;if((h|0)<(i|0)){continue}break}h=0;e=j+16|0;if((i|0)<=0){break h}while(1){k=H[a+32>>2];f=0;if((i|0)>0){while(1){l=f<<2;g=H[l+e>>2];d=H[a+16>>2];k:{if((g|0)>(d|0)){H[k+l>>2]=d;break k}l=k+l|0;d=H[a+12>>2];if((d|0)>(g|0)){H[l>>2]=d;break k}H[l>>2]=g}f=f+1|0;i=H[a+8>>2];if((f|0)<(i|0)){continue}break}d=H[a+28>>2]}f=h<<2;e=f+j|0;f=H[f+m>>2]-H[f+k>>2]|0;H[e>>2]=f;l:{if((d|0)>(f|0)){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break l}f=f-H[a+20>>2]|0}H[e>>2]=f}e=k;h=h+1|0;if((h|0)<(i|0)){continue}break}}f=H[j+8>>2];e=H[a+108>>2];m:{if((f|0)>(e|0)){f=f-H[a+96>>2]|0;break m}if((0-e|0)<=(f|0)){break m}f=H[a+96>>2]+f|0}H[j+8>>2]=f;i=H[j+12>>2];n:{if((e|0)<(i|0)){i=i-H[a+96>>2]|0;break n}if((0-e|0)<=(i|0)){break n}i=H[a+96>>2]+i|0}H[j+12>>2]=i;d=H[j>>2];o:{if((e|0)<(d|0)){d=d-H[a+96>>2]|0;break o}if((0-e|0)<=(d|0)){break o}d=H[a+96>>2]+d|0}l=n<<1;H[j>>2]=d;g=H[j+4>>2];p:{if((e|0)<(g|0)){g=g-H[a+96>>2]|0;break p}if((0-e|0)<=(g|0)){break p}g=H[a+96>>2]+g|0}H[j+4>>2]=g;e=i>>31;h=e+i^e;e=f>>31;e=e+f^e;k=e>>>0>(h^2147483647)>>>0?2147483647:h+e|0;e=g>>31;h=e+g^e;e=d>>31;e=e+d^e;e=e>>>0>(h^2147483647)>>>0?2147483647:h+e|0;Fa(o,k>>>0>=e>>>0);h=l<<2;e=e>>>0>k>>>0;d=e?f:d;H[h+c>>2]=(H[a+96>>2]&d>>31)+d;d=e?i:g;H[h+r>>2]=(H[a+96>>2]&d>>31)+d;n=n+1|0;if((q|0)==(n|0)){break a}d=H[a+56>>2];i=H[d>>2];if(H[d+4>>2]-i>>2>>>0>n>>>0){continue}break}}ua();X()}da=j+48|0;return 1}function Ik(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=da-48|0;da=j;H[a+68>>2]=f;o=a+112|0;Ca(o);f=H[a+56>>2];e=H[f>>2];d=H[f+4>>2];H[j+40>>2]=0;H[j+32>>2]=0;H[j+36>>2]=0;H[j+16>>2]=0;H[j+20>>2]=0;H[j+8>>2]=0;H[j+12>>2]=0;H[j>>2]=0;H[j+4>>2]=0;a:{d=d-e|0;if((d|0)<=0){break a}i=H[f>>2];if((i|0)!=H[f+4>>2]){p=a+60|0;d=d>>>2|0;q=d>>>0>1?d:1;r=c+4|0;while(1){Qc(p,H[(n<<2)+i>>2],j+32|0);f=H[j+36>>2];k=f>>31;g=H[j+32>>2];h=g>>31;i=H[j+40>>2];d=i>>31;e=d^d+i;h=e+((k^f+k)+(h^g+h)|0)|0;d=0;l=h;d=e>>>0>h>>>0?1:d;b:{if(!(h|d)){m=H[a+108>>2];g=m;break b}m=H[a+108>>2];h=m;e=h>>31;f=yl(xl(h,e,f,f>>31),ea,l,d);k=f>>31;g=yl(xl(h,e,g,g>>31),ea,l,d);d=g>>31;d=(k^f+k)+(d^d+g)|0;i=(i|0)>=0?h-d|0:d-h|0}c:{if((g|0)>=0){h=f+m|0;k=i+m|0;break c}d:{if((f|0)<0){d=i>>31;h=d+i^d;break d}d=i>>31;h=H[a+100>>2]-(d+i^d)|0}if((i|0)<0){d=f>>31;k=d+f^d;break c}d=f>>31;k=H[a+100>>2]-(d+f^d)|0}d=H[a+100>>2];l=d;e=d;e:{if(!(h|k)){break e}if(!((d|0)!=(k|0)|h)){l=k;e=k;break e}if(!((d|0)!=(h|0)|k)){l=h;e=h;break e}if(!((k|0)<=(m|0)|h)){l=(m<<1)-k|0;e=0;break e}if(!((d|0)!=(h|0)|(k|0)>=(m|0))){l=(m<<1)-k|0;e=h;break e}if(!((d|0)!=(k|0)|(h|0)>=(m|0))){l=k;e=(m<<1)-h|0;break e}if(k){l=k;e=h;break e}l=0;e=h;if((e|0)<=(m|0)){break e}e=(m<<1)-h|0}H[j+28>>2]=l;H[j+24>>2]=e;H[j+40>>2]=0-i;H[j+36>>2]=0-f;H[j+32>>2]=0-g;f:{if((g|0)<=0){g=m-i|0;e=m-f|0;break f}e=f>>31;e=e+f^e;g=(i|0)>0?e:d-e|0;e=i>>31;e=e+i^e;e=(f|0)>0?e:d-e|0}g:{if(!(e|g)){g=d;break g}if(!((d|0)!=(g|0)|e)){g=d;break g}f=(d|0)!=(e|0);if(!(g|f)){g=d;break g}if(!((g|0)<=(m|0)|e)){g=(m<<1)-g|0;d=0;break g}if(!((g|0)>=(m|0)|f)){g=(m<<1)-g|0;break g}if(!((d|0)!=(g|0)|(e|0)>=(m|0))){g=d;d=(m<<1)-e|0;break g}if(g){d=e;break g}g=0;if((e|0)<=(m|0)){d=e;break g}d=(m<<1)-e|0}H[j+20>>2]=g;H[j+16>>2]=d;i=H[a+8>>2];h:{if((i|0)<=0){break h}m=(n<<3)+b|0;h=0;e=j+24|0;while(1){k=H[a+32>>2];f=0;if((i|0)>0){while(1){l=f<<2;g=H[l+e>>2];d=H[a+16>>2];i:{if((g|0)>(d|0)){H[k+l>>2]=d;break i}l=k+l|0;d=H[a+12>>2];if((d|0)>(g|0)){H[l>>2]=d;break i}H[l>>2]=g}f=f+1|0;i=H[a+8>>2];if((f|0)<(i|0)){continue}break}}d=h<<2;e=d+(j+8|0)|0;f=H[d+m>>2]-H[d+k>>2]|0;H[e>>2]=f;d=H[a+28>>2];j:{if((f|0)<(d|0)){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break j}f=f-H[a+20>>2]|0}H[e>>2]=f}e=k;h=h+1|0;if((h|0)<(i|0)){continue}break}h=0;e=j+16|0;if((i|0)<=0){break h}while(1){k=H[a+32>>2];f=0;if((i|0)>0){while(1){l=f<<2;g=H[l+e>>2];d=H[a+16>>2];k:{if((g|0)>(d|0)){H[k+l>>2]=d;break k}l=k+l|0;d=H[a+12>>2];if((d|0)>(g|0)){H[l>>2]=d;break k}H[l>>2]=g}f=f+1|0;i=H[a+8>>2];if((f|0)<(i|0)){continue}break}d=H[a+28>>2]}f=h<<2;e=f+j|0;f=H[f+m>>2]-H[f+k>>2]|0;H[e>>2]=f;l:{if((d|0)>(f|0)){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break l}f=f-H[a+20>>2]|0}H[e>>2]=f}e=k;h=h+1|0;if((h|0)<(i|0)){continue}break}}f=H[j+8>>2];e=H[a+108>>2];m:{if((f|0)>(e|0)){f=f-H[a+96>>2]|0;break m}if((0-e|0)<=(f|0)){break m}f=H[a+96>>2]+f|0}H[j+8>>2]=f;i=H[j+12>>2];n:{if((e|0)<(i|0)){i=i-H[a+96>>2]|0;break n}if((0-e|0)<=(i|0)){break n}i=H[a+96>>2]+i|0}H[j+12>>2]=i;d=H[j>>2];o:{if((e|0)<(d|0)){d=d-H[a+96>>2]|0;break o}if((0-e|0)<=(d|0)){break o}d=H[a+96>>2]+d|0}l=n<<1;H[j>>2]=d;g=H[j+4>>2];p:{if((e|0)<(g|0)){g=g-H[a+96>>2]|0;break p}if((0-e|0)<=(g|0)){break p}g=H[a+96>>2]+g|0}H[j+4>>2]=g;e=i>>31;h=e+i^e;e=f>>31;e=e+f^e;k=e>>>0>(h^2147483647)>>>0?2147483647:h+e|0;e=g>>31;h=e+g^e;e=d>>31;e=e+d^e;e=e>>>0>(h^2147483647)>>>0?2147483647:h+e|0;Fa(o,k>>>0>=e>>>0);h=l<<2;e=e>>>0>k>>>0;d=e?f:d;H[h+c>>2]=(H[a+96>>2]&d>>31)+d;d=e?i:g;H[h+r>>2]=(H[a+96>>2]&d>>31)+d;n=n+1|0;if((q|0)==(n|0)){break a}d=H[a+56>>2];i=H[d>>2];if(H[d+4>>2]-i>>2>>>0>n>>>0){continue}break}}ua();X()}da=j+48|0;return 1}function Sf(a,b){var 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;i=da-32|0;da=i;c=H[a+16>>2];H[a+20>>2]=c;a:{b:{c:{d:{if((c|0)!=H[a+24>>2]){H[c>>2]=b;b=c+4|0;H[a+20>>2]=b;d=c;break d}d=ra(4);H[d>>2]=b;b=d+4|0;H[a+24>>2]=b;H[a+20>>2]=b;H[a+16>>2]=d;if(c){break c}}c=H[a+8>>2];c=H[c+100>>2]-H[c+96>>2]|0;break b}qa(c);b=H[a+20>>2];d=H[a+16>>2];if((b|0)==(d|0)){break a}c=H[a+8>>2];c=H[c+100>>2]-H[c+96>>2]|0}if((c|0)<=0){f=H[a+28>>2];while(1){c=b-4|0;h=H[c>>2];e:{if((h|0)!=-1){h=(h>>>0)/3|0;if(!(H[f+(h>>>3&268435452)>>2]>>>h&1)){break e}}H[a+20>>2]=c;b=c}if((b|0)!=(d|0)){continue}break}break a}q=a+120|0;h=a+200|0;c=(c|0)/12|0;r=(c|0)>1?c:1;f:{g:{h:{while(1){i:{j:{k:{c=b-4|0;b=H[c>>2];if((b|0)==-1){break k}e=H[a+28>>2];d=(b>>>0)/3|0;if(H[e+(d>>>3&268435452)>>2]>>>d&1){break k}l=0;while(1){H[a+164>>2]=H[a+164>>2]+1;g=(b>>>0)/3|0;k=(b|0)==-1;m=k?-1:g;c=(m>>>3&536870908)+e|0;H[c>>2]=H[c>>2]|1<<m;c=H[a+76>>2];l:{if((c|0)!=H[a+80>>2]){H[c>>2]=b;H[a+76>>2]=c+4;break l}f=H[a+72>>2];d=c-f|0;j=d>>2;c=j+1|0;if(c>>>0>1073741823){break i}e=d>>1;e=d>>>0<2147483644?c>>>0>e>>>0?c:e:1073741823;if(e){if(e>>>0>1073741823){break h}c=ra(e<<2)}else{c=0}j=c+(j<<2)|0;H[j>>2]=b;if((d|0)>0){sa(c,f,d)}H[a+80>>2]=c+(e<<2);H[a+76>>2]=j+4;H[a+72>>2]=c;if(!f){break l}qa(f)}H[a+320>>2]=b;c=-1;c=(b|0)!=-1?H[H[H[a+12>>2]>>2]+(b<<2)>>2]:c;n=c<<2;j=H[n+H[a+152>>2]>>2];m:{n:{d=H[a+84>>2]+(c>>>3&536870908)|0;f=H[d>>2];c=1<<c;if(!(f&c)){H[d>>2]=c|f;if((j|0)==-1){break n}}o:{if(k){break o}c=-1;d=b+1|0;e=(d>>>0)%3|0?d:b-2|0;if((e|0)!=-1){c=H[H[H[a+12>>2]+12>>2]+(e<<2)>>2]}p:{q:{k=b-N(g,3)|0;r:{if(k){d=b-1|0;break r}d=b+2|0;if((d|0)==-1){break q}}g=(c|0)==-1?-1:(c>>>0)/3|0;d=H[H[H[a+12>>2]+12>>2]+(d<<2)>>2];f=(d|0)==-1?-1:(d>>>0)/3|0;break p}g=(c|0)==-1?-1:(c>>>0)/3|0;d=-1;f=-1}s:{if((e|0)==-1){break s}o=H[H[a+12>>2]+12>>2];e=H[o+(e<<2)>>2];if((e|0)==-1){break s}p=H[a+28>>2];e=(e>>>0)/3|0;if(H[p+(e>>>3&268435452)>>2]>>>e&1){break s}t:{u:{if(k){e=b-1|0;break u}e=b+2|0;if((e|0)==-1){break t}}e=H[(e<<2)+o>>2];if((e|0)==-1){break t}e=(e>>>0)/3|0;if(H[(e>>>3&268435452)+p>>2]>>>e&1){break t}nc(h,1);H[a+168>>2]=H[a+168>>2]+1;v:{if((j|0)==-1){break v}f=H[H[a+152>>2]+n>>2];if(H[H[a+140>>2]+(f>>>3&536870908)>>2]>>>f&1){break v}Hc(a,b,0)}b=H[a+164>>2];H[i+4>>2]=m;f=i+4|0;H[i+16>>2]=f;Vf(i+24|0,q,f,i+16|0);H[H[i+24>>2]+12>>2]=b;b=H[a+20>>2];H[b-4>>2]=d;if((b|0)!=H[a+24>>2]){H[b>>2]=c;H[a+20>>2]=b+4;break j}f=H[a+16>>2];d=b-f|0;g=d>>2;b=g+1|0;if(b>>>0>1073741823){break g}e=d>>1;e=d>>>0<2147483644?b>>>0>e>>>0?b:e:1073741823;if(e){if(e>>>0>1073741823){break f}b=ra(e<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=c;if((d|0)>0){sa(b,f,d)}H[a+24>>2]=b+(e<<2);H[a+20>>2]=g+4;H[a+16>>2]=b;if(!f){break j}qa(f);break j}if((f|0)!=-1){gc(a,H[a+164>>2],0,f)}nc(h,3);break m}if((g|0)!=-1){gc(a,H[a+164>>2],1,g)}w:{x:{if(k){b=b-1|0;break x}b=b+2|0;if((b|0)==-1){break w}}b=H[H[H[a+12>>2]+12>>2]+(b<<2)>>2];if((b|0)==-1){break w}b=(b>>>0)/3|0;if(H[H[a+28>>2]+(b>>>3&268435452)>>2]>>>b&1){break w}nc(h,5);c=d;break m}if((f|0)==-1){break o}gc(a,H[a+164>>2],0,f)}nc(h,7);H[a+20>>2]=H[a+20>>2]-4;break j}nc(h,0);c=-1;if((b|0)==-1){break m}d=b+1|0;b=(d>>>0)%3|0?d:b-2|0;if((b|0)==-1){break m}c=H[H[H[a+12>>2]+12>>2]+(b<<2)>>2]}l=l+1|0;if((r|0)==(l|0)){break j}e=H[a+28>>2];b=c;continue}}H[a+20>>2]=c}b=H[a+20>>2];if((b|0)!=H[a+16>>2]){continue}break a}break}va();X()}ya(1604);X()}va();X()}ya(1604);X()}da=i+32|0;return 1}function be(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=O(0),f=0,g=0,h=0,i=0,j=0,k=O(0),l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if(H[c>>2]==H[c+4>>2]){g=H[d+80>>2];v=da-16|0;da=v;j=H[a+4>>2];h=H[d+48>>2];d=H[H[d>>2]>>2];i=F[b+24|0];c=v+8|0;H[c>>2]=1065353216;u=c;L[c>>2]=O(-1<<j^-1)/L[a+20>>2];w=ra((i|0)!=(i&1073741823)?-1:i<<2);a:{if(!g|(i|0)<=0){break a}s=d+h|0;y=H[b>>2];c=H[b+48>>2];z=H[b+44>>2];x=H[b+40>>2];if(!I[b+84|0]){n=H[b+68>>2];t=i&-2;j=i&1;b=0;while(1){f=H[y>>2];d=xl(x,z,H[n+(o<<2)>>2],0)+c|0;p=sa(w,f+d|0,x);k=L[u>>2];l=H[a+8>>2];d=0;m=0;if((i|0)!=1){while(1){f=s+(b<<2)|0;q=d<<2;e=O(T(O(O(k*O(L[q+p>>2]-L[l+q>>2]))+O(.5))));b:{if(O(P(e))<O(2147483648)){h=~~e;break b}h=-2147483648}H[f>>2]=h;h=q|4;e=O(T(O(O(k*O(L[h+p>>2]-L[l+h>>2]))+O(.5))));c:{if(O(P(e))<O(2147483648)){h=~~e;break c}h=-2147483648}H[f+4>>2]=h;d=d+2|0;b=b+2|0;m=m+2|0;if((t|0)!=(m|0)){continue}break}}if(j){f=s+(b<<2)|0;d=d<<2;e=O(T(O(O(k*O(L[d+p>>2]-L[d+l>>2]))+O(.5))));d:{if(O(P(e))<O(2147483648)){d=~~e;break d}d=-2147483648}H[f>>2]=d;b=b+1|0}o=o+1|0;if((g|0)!=(o|0)){continue}break}break a}n=i&-2;t=i&1;b=0;while(1){h=H[y>>2];d=xl(x,z,o,f)+c|0;p=sa(w,h+d|0,x);k=L[u>>2];l=H[a+8>>2];d=0;m=0;if((i|0)!=1){while(1){h=s+(b<<2)|0;q=d<<2;e=O(T(O(O(k*O(L[q+p>>2]-L[l+q>>2]))+O(.5))));e:{if(O(P(e))<O(2147483648)){j=~~e;break e}j=-2147483648}H[h>>2]=j;j=q|4;e=O(T(O(O(k*O(L[j+p>>2]-L[l+j>>2]))+O(.5))));f:{if(O(P(e))<O(2147483648)){j=~~e;break f}j=-2147483648}H[h+4>>2]=j;d=d+2|0;b=b+2|0;m=m+2|0;if((n|0)!=(m|0)){continue}break}}if(t){h=s+(b<<2)|0;d=d<<2;e=O(T(O(O(k*O(L[d+p>>2]-L[d+l>>2]))+O(.5))));g:{if(O(P(e))<O(2147483648)){d=~~e;break g}d=-2147483648}H[h>>2]=d;b=b+1|0}d=o+1|0;f=d?f:f+1|0;o=d;if((g|0)!=(d|0)|f){continue}break}}qa(w);da=v+16|0;return 1}v=da-16|0;da=v;u=H[a+4>>2];g=H[d+48>>2];f=H[H[d>>2]>>2];r=F[b+24|0];d=v+8|0;H[d>>2]=1065353216;h=d;L[d>>2]=O(-1<<u^-1)/L[a+20>>2];w=ra((r|0)!=(r&1073741823)?-1:r<<2);y=H[c>>2];c=H[c+4>>2]-y|0;h:{if(!c|(r|0)<=0){break h}s=f+g|0;z=H[b>>2];d=H[b+48>>2];x=H[b+44>>2];o=H[b+40>>2];c=c>>2;q=c>>>0>1?c:1;if(I[b+84|0]){j=r&-2;u=r&1;b=0;while(1){f=H[z>>2];c=xl(o,x,H[y+(m<<2)>>2],0)+d|0;l=sa(w,f+c|0,o);k=L[h>>2];n=H[a+8>>2];c=0;i=0;if((r|0)!=1){while(1){f=s+(b<<2)|0;t=c<<2;e=O(T(O(O(k*O(L[t+l>>2]-L[n+t>>2]))+O(.5))));i:{if(O(P(e))<O(2147483648)){g=~~e;break i}g=-2147483648}H[f>>2]=g;g=t|4;e=O(T(O(O(k*O(L[g+l>>2]-L[n+g>>2]))+O(.5))));j:{if(O(P(e))<O(2147483648)){g=~~e;break j}g=-2147483648}H[f+4>>2]=g;c=c+2|0;b=b+2|0;i=i+2|0;if((j|0)!=(i|0)){continue}break}}if(u){f=s+(b<<2)|0;c=c<<2;e=O(T(O(O(k*O(L[c+l>>2]-L[c+n>>2]))+O(.5))));k:{if(O(P(e))<O(2147483648)){c=~~e;break k}c=-2147483648}H[f>>2]=c;b=b+1|0}m=m+1|0;if((q|0)!=(m|0)){continue}break}break h}t=H[b+68>>2];j=r&-2;u=r&1;b=0;while(1){f=H[z>>2];c=xl(o,x,H[t+(H[y+(m<<2)>>2]<<2)>>2],0)+d|0;p=sa(w,f+c|0,o);k=L[h>>2];l=H[a+8>>2];c=0;i=0;if((r|0)!=1){while(1){f=s+(b<<2)|0;n=c<<2;e=O(T(O(O(k*O(L[n+p>>2]-L[l+n>>2]))+O(.5))));l:{if(O(P(e))<O(2147483648)){g=~~e;break l}g=-2147483648}H[f>>2]=g;g=n|4;e=O(T(O(O(k*O(L[g+p>>2]-L[l+g>>2]))+O(.5))));m:{if(O(P(e))<O(2147483648)){g=~~e;break m}g=-2147483648}H[f+4>>2]=g;c=c+2|0;b=b+2|0;i=i+2|0;if((j|0)!=(i|0)){continue}break}}if(u){f=s+(b<<2)|0;c=c<<2;e=O(T(O(O(k*O(L[c+p>>2]-L[c+l>>2]))+O(.5))));n:{if(O(P(e))<O(2147483648)){c=~~e;break n}c=-2147483648}H[f>>2]=c;b=b+1|0}m=m+1|0;if((q|0)!=(m|0)){continue}break}}qa(w);da=v+16|0;return 1}function Rk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;H[a+8>>2]=e;g=a+32|0;f=H[g>>2];h=H[a+36>>2]-f>>2;a:{if(h>>>0<e>>>0){Ea(g,e-h|0);break a}if(e>>>0>=h>>>0){break a}H[a+36>>2]=f+(e<<2)}b:{if(!d){break b}g=H[b>>2];c:{if((d|0)<2){d=g;break c}q=1;f=d-1|0;i=f&1;d:{if((d|0)==2){d=g;break d}p=f&-2;f=0;d=g;while(1){h=(q<<2)+b|0;j=H[h+4>>2];k=H[h>>2];o=(k|0)<(d|0);d=o?k:d;h=(d|0)>(j|0);d=h?j:d;g=o?g:(g|0)<(k|0)?k:g;g=h?g:(g|0)<(j|0)?j:g;q=q+2|0;f=f+2|0;if((p|0)!=(f|0)){continue}break}}if(!i){break c}h=H[(q<<2)+b>>2];f=(h|0)<(d|0);d=f?h:d;g=f?g:(g|0)<(h|0)?h:g}H[a+16>>2]=g;H[a+12>>2]=d;f=(g>>31)-((d>>31)+(d>>>0>g>>>0)|0)|0;d=g-d|0;if(!f&d>>>0>2147483646|f){break b}f=d+1|0;H[a+20>>2]=f;d=f>>>1|0;H[a+24>>2]=d;H[a+28>>2]=0-d;if(f&1){break b}H[a+24>>2]=d-1}d=(e&1073741823)!=(e|0)?-1:e<<2;h=ta(ra(d),0,d);d=H[a+56>>2];r=H[d>>2];d=H[d+4>>2]-r|0;if((d|0)>=5){t=H[a+52>>2];s=H[a+48>>2];u=e&-2;v=e&1;q=d>>2;o=q;while(1){p=o;e:{f:{o=o-1|0;if(q>>>0>o>>>0){l=N(e,o);d=H[(o<<2)+r>>2];if((d|0)==-1){break f}m=H[H[s+12>>2]+(d<<2)>>2];if((m|0)==-1){break f}f=-1;k=H[t>>2];j=H[s>>2];g=k+(H[j+(m<<2)>>2]<<2)|0;d=m+1|0;d=(d>>>0)%3|0?d:m-2|0;if((d|0)!=-1){f=H[j+(d<<2)>>2]}i=H[g>>2];g:{h:{if((m>>>0)%3|0){g=m-1|0;break h}g=m+2|0;d=-1;if((g|0)==-1){break g}}d=H[j+(g<<2)>>2]}if((i|0)>=(o|0)){break f}f=H[k+(f<<2)>>2];if((f|0)>=(o|0)){break f}d=H[k+(d<<2)>>2];if((d|0)>=(o|0)){break f}i:{if((e|0)<=0){break i}j=N(d,e);k=N(e,f);i=N(e,i);g=0;f=0;if((e|0)!=1){while(1){H[h+(g<<2)>>2]=(H[(g+j<<2)+b>>2]+H[(g+k<<2)+b>>2]|0)-H[(g+i<<2)+b>>2];d=g|1;H[h+(d<<2)>>2]=(H[(d+j<<2)+b>>2]+H[(d+k<<2)+b>>2]|0)-H[(d+i<<2)+b>>2];g=g+2|0;f=f+2|0;if((u|0)!=(f|0)){continue}break}}if(!v){break i}H[h+(g<<2)>>2]=(H[(g+j<<2)+b>>2]+H[(g+k<<2)+b>>2]|0)-H[(g+i<<2)+b>>2]}d=H[a+8>>2];if((d|0)<=0){break e}f=l<<2;j=f+c|0;k=b+f|0;n=0;f=h;while(1){i=H[a+32>>2];g=0;if((d|0)>0){while(1){l=g<<2;m=H[l+f>>2];d=H[a+16>>2];j:{if((m|0)>(d|0)){H[i+l>>2]=d;break j}l=i+l|0;d=H[a+12>>2];if((d|0)>(m|0)){H[l>>2]=d;break j}H[l>>2]=m}g=g+1|0;if((g|0)<H[a+8>>2]){continue}break}}f=n<<2;d=f+j|0;f=H[f+k>>2]-H[f+i>>2]|0;H[d>>2]=f;k:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break k}f=f-H[a+20>>2]|0}H[d>>2]=f}f=i;d=H[a+8>>2];n=n+1|0;if((d|0)>(n|0)){continue}break}break e}ua();X()}d=H[a+8>>2];if((d|0)<=0){break e}f=l<<2;j=f+c|0;k=b+f|0;f=(N(p-2|0,e)<<2)+b|0;n=0;while(1){i=H[a+32>>2];g=0;if((d|0)>0){while(1){l=g<<2;m=H[l+f>>2];d=H[a+16>>2];l:{if((m|0)>(d|0)){H[i+l>>2]=d;break l}l=i+l|0;d=H[a+12>>2];if((d|0)>(m|0)){H[l>>2]=d;break l}H[l>>2]=m}g=g+1|0;if((g|0)<H[a+8>>2]){continue}break}}f=n<<2;d=f+j|0;f=H[f+k>>2]-H[f+i>>2]|0;H[d>>2]=f;m:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break m}f=f-H[a+20>>2]|0}H[d>>2]=f}f=i;d=H[a+8>>2];n=n+1|0;if((d|0)>(n|0)){continue}break}}if((p|0)>2){continue}break}}if((e|0)>0){ta(h,0,e<<2)}d=H[a+8>>2];if((d|0)>0){n=0;f=h;while(1){e=H[a+32>>2];g=0;if((d|0)>0){while(1){p=g<<2;i=H[p+f>>2];d=H[a+16>>2];n:{if((i|0)>(d|0)){H[e+p>>2]=d;break n}p=e+p|0;d=H[a+12>>2];if((d|0)>(i|0)){H[p>>2]=d;break n}H[p>>2]=i}g=g+1|0;if((g|0)<H[a+8>>2]){continue}break}}f=n<<2;d=f+c|0;f=H[b+f>>2]-H[e+f>>2]|0;H[d>>2]=f;o:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break o}f=f-H[a+20>>2]|0}H[d>>2]=f}f=e;d=H[a+8>>2];n=n+1|0;if((d|0)>(n|0)){continue}break}}qa(h);return 1}function $k(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;H[a+8>>2]=e;g=a+32|0;f=H[g>>2];i=H[a+36>>2]-f>>2;a:{if(i>>>0<e>>>0){Ea(g,e-i|0);break a}if(e>>>0>=i>>>0){break a}H[a+36>>2]=f+(e<<2)}b:{if(!d){break b}g=H[b>>2];c:{if((d|0)<2){d=g;break c}p=1;f=d-1|0;h=f&1;d:{if((d|0)==2){d=g;break d}n=f&-2;f=0;d=g;while(1){i=(p<<2)+b|0;o=H[i+4>>2];l=H[i>>2];m=(l|0)<(d|0);d=m?l:d;i=(d|0)>(o|0);d=i?o:d;g=m?g:(g|0)<(l|0)?l:g;g=i?g:(g|0)<(o|0)?o:g;p=p+2|0;f=f+2|0;if((n|0)!=(f|0)){continue}break}}if(!h){break c}i=H[(p<<2)+b>>2];f=(i|0)<(d|0);d=f?i:d;g=f?g:(g|0)<(i|0)?i:g}H[a+16>>2]=g;H[a+12>>2]=d;f=(g>>31)-((d>>31)+(d>>>0>g>>>0)|0)|0;d=g-d|0;if(!f&d>>>0>2147483646|f){break b}f=d+1|0;H[a+20>>2]=f;d=f>>>1|0;H[a+24>>2]=d;H[a+28>>2]=0-d;if(f&1){break b}H[a+24>>2]=d-1}d=(e&1073741823)!=(e|0)?-1:e<<2;i=ta(ra(d),0,d);d=H[a+56>>2];s=H[d>>2];d=H[d+4>>2]-s|0;if((d|0)>=5){t=H[a+52>>2];r=H[a+48>>2];u=e&-2;v=e&1;p=d>>2;m=p;while(1){n=m;e:{f:{m=m-1|0;if(p>>>0>m>>>0){o=N(e,m);d=H[(m<<2)+s>>2];if((d|0)==-1|H[H[r>>2]+(d>>>3&536870908)>>2]>>>d&1){break f}j=H[H[H[r+64>>2]+12>>2]+(d<<2)>>2];if((j|0)==-1){break f}h=H[t>>2];l=H[r+28>>2];g=H[h+(H[l+(j<<2)>>2]<<2)>>2];if((g|0)>=(m|0)){break f}d=j+1|0;f=H[h+(H[l+(((d>>>0)%3|0?d:j-2|0)<<2)>>2]<<2)>>2];if((f|0)>=(m|0)){break f}d=H[h+(H[l+(j+((j>>>0)%3|0?-1:2)<<2)>>2]<<2)>>2];if((d|0)>=(m|0)){break f}g:{if((e|0)<=0){break g}l=N(d,e);h=N(e,f);f=N(e,g);g=0;k=0;if((e|0)!=1){while(1){H[i+(g<<2)>>2]=(H[(g+l<<2)+b>>2]+H[(g+h<<2)+b>>2]|0)-H[(f+g<<2)+b>>2];d=g|1;H[i+(d<<2)>>2]=(H[(d+l<<2)+b>>2]+H[(d+h<<2)+b>>2]|0)-H[(d+f<<2)+b>>2];g=g+2|0;k=k+2|0;if((u|0)!=(k|0)){continue}break}}if(!v){break g}H[i+(g<<2)>>2]=(H[(g+l<<2)+b>>2]+H[(g+h<<2)+b>>2]|0)-H[(f+g<<2)+b>>2]}d=H[a+8>>2];if((d|0)<=0){break e}f=o<<2;o=f+c|0;l=b+f|0;k=0;f=i;while(1){h=H[a+32>>2];g=0;if((d|0)>0){while(1){j=g<<2;q=H[j+f>>2];d=H[a+16>>2];h:{if((q|0)>(d|0)){H[h+j>>2]=d;break h}j=h+j|0;d=H[a+12>>2];if((d|0)>(q|0)){H[j>>2]=d;break h}H[j>>2]=q}g=g+1|0;if((g|0)<H[a+8>>2]){continue}break}}f=k<<2;d=f+o|0;f=H[f+l>>2]-H[f+h>>2]|0;H[d>>2]=f;i:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break i}f=f-H[a+20>>2]|0}H[d>>2]=f}f=h;d=H[a+8>>2];k=k+1|0;if((d|0)>(k|0)){continue}break}break e}ua();X()}d=H[a+8>>2];if((d|0)<=0){break e}f=o<<2;o=f+c|0;l=b+f|0;f=(N(n-2|0,e)<<2)+b|0;k=0;while(1){h=H[a+32>>2];g=0;if((d|0)>0){while(1){j=g<<2;q=H[j+f>>2];d=H[a+16>>2];j:{if((q|0)>(d|0)){H[h+j>>2]=d;break j}j=h+j|0;d=H[a+12>>2];if((d|0)>(q|0)){H[j>>2]=d;break j}H[j>>2]=q}g=g+1|0;if((g|0)<H[a+8>>2]){continue}break}}f=k<<2;d=f+o|0;f=H[f+l>>2]-H[f+h>>2]|0;H[d>>2]=f;k:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break k}f=f-H[a+20>>2]|0}H[d>>2]=f}f=h;d=H[a+8>>2];k=k+1|0;if((d|0)>(k|0)){continue}break}}if((n|0)>2){continue}break}}if((e|0)>0){ta(i,0,e<<2)}d=H[a+8>>2];if((d|0)>0){k=0;f=i;while(1){e=H[a+32>>2];g=0;if((d|0)>0){while(1){n=g<<2;h=H[n+f>>2];d=H[a+16>>2];l:{if((h|0)>(d|0)){H[e+n>>2]=d;break l}n=e+n|0;d=H[a+12>>2];if((d|0)>(h|0)){H[n>>2]=d;break l}H[n>>2]=h}g=g+1|0;if((g|0)<H[a+8>>2]){continue}break}}f=k<<2;d=f+c|0;f=H[b+f>>2]-H[e+f>>2]|0;H[d>>2]=f;m:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break m}f=f-H[a+20>>2]|0}H[d>>2]=f}f=e;d=H[a+8>>2];k=k+1|0;if((d|0)>(k|0)){continue}break}}qa(i);return 1}function ic(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=da-16|0;da=k;a:{if(!H[a+8>>2]){break a}e=H[a>>2];H[a>>2]=a+4;H[H[a+4>>2]+8>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;f=H[e+4>>2];e=f?f:e;if(!e){Ka(a,e);break a}g=H[e+8>>2];b:{if(!g){break b}f=H[g>>2];if((f|0)==(e|0)){H[g>>2]=0;f=H[g+4>>2];if(!f){d=g;break b}while(1){d=f;f=H[d>>2];if(f){continue}f=H[d+4>>2];if(f){continue}break}break b}H[g+4>>2]=0;if(!f){d=g;break b}while(1){d=f;f=H[d>>2];if(f){continue}f=H[d+4>>2];if(f){continue}break}}c:{if((b|0)==(c|0)){g=e;break c}f=b;while(1){g=d;H[k+12>>2]=e+28;H[k+8>>2]=e+16;h=f+16|0;i=H[k+8>>2];d:{if((h|0)==(i|0)){break d}d=I[h+11|0];b=d<<24>>24;if(F[i+11|0]>=0){if((b|0)>=0){b=H[h+4>>2];H[i>>2]=H[h>>2];H[i+4>>2]=b;H[i+8>>2]=H[h+8>>2];break d}bd(i,H[h>>2],H[h+4>>2]);break d}b=(b|0)<0;cd(i,b?H[h>>2]:h,b?H[h+4>>2]:d)}j=H[k+12>>2];i=h+12|0;if((j|0)!=(i|0)){e:{d=I[i+11|0];b=d<<24>>24;if(F[j+11|0]>=0){if((b|0)>=0){b=H[i+4>>2];H[j>>2]=H[i>>2];H[j+4>>2]=b;H[j+8>>2]=H[i+8>>2];break e}bd(j,H[h+12>>2],H[h+16>>2]);break e}b=(b|0)<0;cd(j,b?H[h+12>>2]:i,b?H[h+16>>2]:d)}}b=H[a+4>>2];f:{g:{if(b){d=I[e+27|0];i=d<<24>>24<0;m=i?H[e+20>>2]:d;j=i?H[e+16>>2]:e+16|0;while(1){d=I[b+27|0];l=d<<24>>24<0;h:{i:{j:{k:{h=l?H[b+20>>2]:d;i=h>>>0<m>>>0?h:m;if(i){d=b+16|0;d=Ga(j,l?H[d>>2]:d,i);if(d){break k}}if(h>>>0>m>>>0){break j}break i}if((d|0)>=0){break i}}d=H[b>>2];if(!d){break g}break h}d=H[b+4>>2];if(d){break h}d=b+4|0;break f}b=d;continue}}b=a+4|0}d=b}H[e+8>>2]=b;H[e>>2]=0;H[e+4>>2]=0;H[d>>2]=e;b=H[H[a>>2]>>2];if(b){H[a>>2]=b;e=H[d>>2]}ub(H[a+4>>2],e);H[a+8>>2]=H[a+8>>2]+1;d=0;l:{if(!g){break l}e=H[g+8>>2];if(!e){break l}b=H[e>>2];if((g|0)==(b|0)){H[e>>2]=0;b=H[e+4>>2];if(!b){d=e;break l}while(1){d=b;b=H[b>>2];if(b){continue}b=H[d+4>>2];if(b){continue}break}break l}H[e+4>>2]=0;if(!b){d=e;break l}while(1){d=b;b=H[b>>2];if(b){continue}b=H[d+4>>2];if(b){continue}break}}e=H[f+4>>2];m:{if(!e){b=H[f+8>>2];if(H[b>>2]==(f|0)){break m}f=f+8|0;while(1){e=H[f>>2];f=e+8|0;b=H[e+8>>2];if((e|0)!=H[b>>2]){continue}break}break m}while(1){b=e;e=H[b>>2];if(e){continue}break}}if(!g){break c}e=g;f=b;if((b|0)!=(c|0)){continue}break}}Ka(a,g);if(!d){break a}while(1){f=H[d+8>>2];if(f){d=f;continue}break}Ka(a,d)}if((b|0)!=(c|0)){while(1){e=ra(40);g=e+16|0;f=b;n:{if(F[b+27|0]>=0){d=H[b+20>>2];H[g>>2]=H[b+16>>2];H[g+4>>2]=d;H[g+8>>2]=H[b+24>>2];break n}Ia(g,H[b+16>>2],H[b+20>>2])}g=e+28|0;o:{if(F[b+39|0]>=0){d=H[b+32>>2];H[g>>2]=H[b+28>>2];H[g+4>>2]=d;H[g+8>>2]=H[b+36>>2];break o}Ia(g,H[b+28>>2],H[b+32>>2])}b=H[a+4>>2];p:{q:{if(b){d=I[e+27|0];g=d<<24>>24<0;l=g?H[e+20>>2]:d;i=g?H[e+16>>2]:e+16|0;while(1){d=I[b+27|0];h=d<<24>>24<0;r:{s:{t:{u:{j=h?H[b+20>>2]:d;g=j>>>0<l>>>0?j:l;if(g){d=b+16|0;d=Ga(i,h?H[d>>2]:d,g);if(d){break u}}if(j>>>0>l>>>0){break t}break s}if((d|0)>=0){break s}}d=H[b>>2];if(!d){break q}break r}d=H[b+4>>2];if(d){break r}d=b+4|0;break p}b=d;continue}}b=a+4|0}d=b}H[e+8>>2]=b;H[e>>2]=0;H[e+4>>2]=0;H[d>>2]=e;b=H[H[a>>2]>>2];if(b){H[a>>2]=b;e=H[d>>2]}ub(H[a+4>>2],e);H[a+8>>2]=H[a+8>>2]+1;e=H[f+4>>2];v:{if(!e){b=H[f+8>>2];if((f|0)==H[b>>2]){break v}d=f+8|0;while(1){f=H[d>>2];d=f+8|0;b=H[f+8>>2];if((f|0)!=H[b>>2]){continue}break}break v}while(1){b=e;e=H[b>>2];if(e){continue}break}}if((b|0)!=(c|0)){continue}break}}da=k+16|0}function ab(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=da-112|0;da=j;k=i&2147483647;l=e&2147483647;m=l;a:{b:{n=!(b|c);if(!(d|l?l-2147418112>>>0<2147549184:n)){p=k-2147418112|0;if(!h&(p|0)==-2147418112?f|g:(p|0)==-2147418112&(h|0)!=0|p>>>0>2147549184){break b}}if(!(!d&(m|0)==2147418112?n:m>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!h&(k|0)==2147418112?!(f|g):k>>>0<2147418112)){i=i|32768;break a}if(!(b|d|(m^2147418112|c))){m=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:m;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|h|(k^2147418112|g))){break a}if(!(b|d|(c|m))){if(f|h|(g|k)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|h|(g|k)){break b}f=b;g=c;h=d;i=e;break a}l=(k|0)==(m|0);q=l&(d|0)==(h|0)?(c|0)==(g|0)&b>>>0<f>>>0|c>>>0<g>>>0:l&d>>>0<h>>>0|k>>>0>m>>>0;k=q;n=k?f:b;l=k?g:c;m=k?i:e;p=m;o=k?h:d;m=m&65535;e=k?e:i;r=e;h=k?d:h;d=e>>>16&32767;k=p>>>16&32767;if(!k){e=!(m|o);i=e<<6;k=Q(e?n:o)+32|0;e=Q(e?l:m);e=i+((e|0)==32?k:e)|0;Ta(j+96|0,n,l,o,m,e-15|0);o=H[j+104>>2];m=H[j+108>>2];n=H[j+96>>2];k=16-e|0;l=H[j+100>>2]}f=q?b:f;g=q?c:g;i=r&65535;if(!d){b=!(h|i);c=b<<6;d=Q(b?f:h)+32|0;b=Q(b?g:i);b=c+((b|0)==32?d:b)|0;Ta(j+80|0,f,g,h,i,b-15|0);h=H[j+88>>2];i=H[j+92>>2];f=H[j+80>>2];g=H[j+84>>2];d=16-b|0}c=h;b=i<<3|c>>>29;h=c<<3|g>>>29;i=b|524288;c=o;b=m<<3|c>>>29;e=c<<3|l>>>29;m=b;o=p^r;c=f;b=g<<3|c>>>29;c=c<<3;d=k-d|0;c:{if(!d){break c}if(d>>>0>127){h=0;i=0;b=0;c=1;break c}Ta(j- -64|0,c,b,h,i,128-d|0);Jb(j+48|0,c,b,h,i,d);h=H[j+56>>2];i=H[j+60>>2];b=H[j+52>>2];c=H[j+48>>2]|(H[j+64>>2]|H[j+72>>2]|(H[j+68>>2]|H[j+76>>2]))!=0}f=b;m=m|524288;d=n;b=l<<3|d>>>29;d=d<<3;d:{if((o|0)<0){n=d-c|0;g=h;o=e-h|0;q=(b|0)==(f|0)&c>>>0>d>>>0|b>>>0<f>>>0;h=o-q|0;l=b-((c>>>0>d>>>0)+f|0)|0;i=(m-((e>>>0<g>>>0)+i|0)|0)-(o>>>0<q>>>0)|0;if(!(n|h|(l|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}b=!(h|i);c=b<<6;d=Q(b?n:h)+32|0;b=Q(b?l:i);b=c+((b|0)==32?d:b)|0;b=b-12|0;Ta(j+32|0,n,l,h,i,b);k=k-b|0;h=H[j+40>>2];i=H[j+44>>2];n=H[j+32>>2];l=H[j+36>>2];break d}b=b+f|0;g=c+d|0;b=g>>>0<d>>>0?b+1|0:b;n=g;d=g;l=b;f=(f|0)==(b|0)&c>>>0>d>>>0|b>>>0<f>>>0;b=i+m|0;c=e+h|0;b=c>>>0<h>>>0?b+1|0:b;d=c;c=f+c|0;h=c;i=c>>>0<d>>>0?b+1|0:b;if(!(i&1048576)){break d}n=n&1|((l&1)<<31|n>>>1);c=h;l=c<<31|l>>>1;k=k+1|0;h=(i&1)<<31|c>>>1;i=i>>>1|0}d=0;m=p&-2147483648;if((k|0)>=32767){h=d;i=m|2147418112;f=0;g=0;break a}c=0;e:{if((k|0)>0){c=k;break e}Ta(j+16|0,n,l,h,i,k+127|0);Jb(j,n,l,h,i,1-k|0);n=H[j>>2]|(H[j+16>>2]|H[j+24>>2]|(H[j+20>>2]|H[j+28>>2]))!=0;l=H[j+4>>2];h=H[j+8>>2];i=H[j+12>>2]}e=h<<29;b=l>>>3|0;k=(l&7)<<29|n>>>3;l=n&7;g=l>>>0>4;f=k+g|0;e=b|e;b=e;b=f>>>0<g>>>0?b+1|0:b;g=b;e=(e|0)==(b|0)&f>>>0<k>>>0|b>>>0<e>>>0;b=i>>>3&65535;h=(i&7)<<29|h>>>3;i=c<<16;d=d|h;c=d+e|0;b=m|(b|i);h=c;i=c>>>0<d>>>0?b+1|0:b;f:{if((l|0)==4){d=0;b=g+d|0;e=f&1;c=f+e|0;b=c>>>0<f>>>0?b+1|0:b;f=c;g=b;c=(d|0)==(b|0)&c>>>0<e>>>0|b>>>0<d>>>0;b=c+h|0;i=b>>>0<c>>>0?i+1|0:i;h=b;break f}if(!l){break a}}}H[a>>2]=f;H[a+4>>2]=g;H[a+8>>2]=h;H[a+12>>2]=i;da=j+112|0}function We(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if((b|0)<0){break a}d=H[a+12>>2];c=H[a+8>>2];if(d-c>>2>>>0<=b>>>0){break a}e=c+(b<<2)|0;f=H[e>>2];i=H[f+60>>2];g=H[f+56>>2];c=e+4|0;b:{if((c|0)!=(d|0)){while(1){h=H[c>>2];H[c>>2]=0;H[e>>2]=h;if(f){Pa(f)}e=e+4|0;c=c+4|0;if((c|0)!=(d|0)){f=H[e>>2];continue}break}d=H[a+12>>2];if((e|0)==(d|0)){break b}}while(1){d=d-4|0;c=H[d>>2];H[d>>2]=0;if(c){Pa(c)}if((d|0)!=(e|0)){continue}break}}H[a+12>>2]=e;f=H[a+4>>2];c:{if(!f|(i|0)<0){break c}d=H[f+24>>2];c=H[f+28>>2];if((d|0)==(c|0)){break c}while(1){if((i|0)==H[H[d>>2]+24>>2]){e=d+4|0;i=H[f+28>>2];d:{if((e|0)!=(i|0)){while(1){h=H[e>>2];H[e>>2]=0;c=H[d>>2];H[d>>2]=h;if(c){mb(c+12|0,H[c+16>>2]);lb(c,H[c+4>>2]);qa(c)}d=d+4|0;e=e+4|0;if((i|0)!=(e|0)){continue}break}e=H[f+28>>2];if((e|0)==(d|0)){break d}}while(1){e=e-4|0;c=H[e>>2];H[e>>2]=0;if(c){mb(c+12|0,H[c+16>>2]);lb(c,H[c+4>>2]);qa(c)}if((d|0)!=(e|0)){continue}break}}H[f+28>>2]=d;break c}d=d+4|0;if((c|0)!=(d|0)){continue}break}}e:{if((g|0)>4){break e}f:{e=N(g,12)+a|0;d=H[e+20>>2];c=H[e+24>>2];if((d|0)==(c|0)){break f}while(1){if(H[d>>2]==(b|0)){break f}d=d+4|0;if((c|0)!=(d|0)){continue}break}break e}if((d|0)==(c|0)){break e}f=d+4|0;c=c-f|0;if(c){xa(d,f,c)}H[e+24>>2]=d+c}e=H[a+20>>2];c=H[a+24>>2]-e|0;g:{if(!c){break g}d=c>>2;f=d>>>0>1?d:1;i=f&1;d=0;if(c>>>0>=8){f=f&-2;c=0;while(1){g=d<<2;h=g+e|0;j=H[h>>2];if((j|0)>(b|0)){H[h>>2]=j-1}g=e+(g|4)|0;h=H[g>>2];if((h|0)>(b|0)){H[g>>2]=h-1}d=d+2|0;c=c+2|0;if((f|0)!=(c|0)){continue}break}}if(!i){break g}d=e+(d<<2)|0;c=H[d>>2];if((c|0)<=(b|0)){break g}H[d>>2]=c-1}e=H[a+32>>2];c=H[a+36>>2]-e|0;h:{if(!c){break h}d=c>>2;f=d>>>0>1?d:1;i=f&1;d=0;if(c>>>0>=8){f=f&-2;c=0;while(1){g=d<<2;h=g+e|0;j=H[h>>2];if((j|0)>(b|0)){H[h>>2]=j-1}g=e+(g|4)|0;h=H[g>>2];if((h|0)>(b|0)){H[g>>2]=h-1}d=d+2|0;c=c+2|0;if((f|0)!=(c|0)){continue}break}}if(!i){break h}d=e+(d<<2)|0;c=H[d>>2];if((c|0)<=(b|0)){break h}H[d>>2]=c-1}e=H[a+44>>2];c=H[a+48>>2]-e|0;i:{if(!c){break i}d=c>>2;f=d>>>0>1?d:1;i=f&1;d=0;if(c>>>0>=8){f=f&-2;c=0;while(1){g=d<<2;h=g+e|0;j=H[h>>2];if((j|0)>(b|0)){H[h>>2]=j-1}g=e+(g|4)|0;h=H[g>>2];if((h|0)>(b|0)){H[g>>2]=h-1}d=d+2|0;c=c+2|0;if((f|0)!=(c|0)){continue}break}}if(!i){break i}d=e+(d<<2)|0;c=H[d>>2];if((c|0)<=(b|0)){break i}H[d>>2]=c-1}e=H[a+56>>2];c=H[a+60>>2]-e|0;j:{if(!c){break j}d=c>>2;f=d>>>0>1?d:1;i=f&1;d=0;if(c>>>0>=8){f=f&-2;c=0;while(1){g=d<<2;h=g+e|0;j=H[h>>2];if((j|0)>(b|0)){H[h>>2]=j-1}g=e+(g|4)|0;h=H[g>>2];if((h|0)>(b|0)){H[g>>2]=h-1}d=d+2|0;c=c+2|0;if((f|0)!=(c|0)){continue}break}}if(!i){break j}d=e+(d<<2)|0;c=H[d>>2];if((c|0)<=(b|0)){break j}H[d>>2]=c-1}c=H[a+72>>2];a=H[a+68>>2];c=c-a|0;if(!c){break a}d=c>>2;e=d>>>0>1?d:1;f=e&1;d=0;if(c>>>0>=8){e=e&-2;c=0;while(1){i=d<<2;g=i+a|0;h=H[g>>2];if((h|0)>(b|0)){H[g>>2]=h-1}i=a+(i|4)|0;g=H[i>>2];if((g|0)>(b|0)){H[i>>2]=g-1}d=d+2|0;c=c+2|0;if((e|0)!=(c|0)){continue}break}}if(!f){break a}c=b;a=a+(d<<2)|0;b=H[a>>2];if((c|0)>=(b|0)){break a}H[a>>2]=b-1}}function qa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=H[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=H[d>>2];d=d-b|0;if(d>>>0<K[4786]){break a}a=a+b|0;if(H[4787]!=(d|0)){if(b>>>0<=255){e=H[d+8>>2];b=b>>>3|0;c=H[d+12>>2];if((c|0)==(e|0)){i=19128,j=H[4782]&Bl(b),H[i>>2]=j;break b}H[e+12>>2]=c;H[c+8>>2]=e;break b}h=H[d+24>>2];b=H[d+12>>2];c:{if((d|0)!=(b|0)){c=H[d+8>>2];H[c+12>>2]=b;H[b+8>>2]=c;break c}d:{e=d+20|0;c=H[e>>2];if(c){break d}e=d+16|0;c=H[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=H[e>>2];if(c){continue}e=b+16|0;c=H[b+16>>2];if(c){continue}break}H[g>>2]=0}if(!h){break b}e=H[d+28>>2];c=(e<<2)+19432|0;e:{if(H[c>>2]==(d|0)){H[c>>2]=b;if(b){break e}i=19132,j=H[4783]&Bl(e),H[i>>2]=j;break b}H[h+(H[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}H[b+24>>2]=h;c=H[d+16>>2];if(c){H[b+16>>2]=c;H[c+24>>2]=b}c=H[d+20>>2];if(!c){break b}H[b+20>>2]=c;H[c+24>>2]=b;break b}b=H[f+4>>2];if((b&3)!=3){break b}H[4784]=a;H[f+4>>2]=b&-2;H[d+4>>2]=a|1;H[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=H[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(H[4788]==(f|0)){H[4788]=d;a=H[4785]+a|0;H[4785]=a;H[d+4>>2]=a|1;if(H[4787]!=(d|0)){break a}H[4784]=0;H[4787]=0;return}if(H[4787]==(f|0)){H[4787]=d;a=H[4784]+a|0;H[4784]=a;H[d+4>>2]=a|1;H[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){e=H[f+8>>2];b=b>>>3|0;c=H[f+12>>2];if((c|0)==(e|0)){i=19128,j=H[4782]&Bl(b),H[i>>2]=j;break g}H[e+12>>2]=c;H[c+8>>2]=e;break g}h=H[f+24>>2];b=H[f+12>>2];h:{if((f|0)!=(b|0)){c=H[f+8>>2];H[c+12>>2]=b;H[b+8>>2]=c;break h}i:{e=f+20|0;c=H[e>>2];if(c){break i}e=f+16|0;c=H[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=H[e>>2];if(c){continue}e=b+16|0;c=H[b+16>>2];if(c){continue}break}H[g>>2]=0}if(!h){break g}e=H[f+28>>2];c=(e<<2)+19432|0;j:{if(H[c>>2]==(f|0)){H[c>>2]=b;if(b){break j}i=19132,j=H[4783]&Bl(e),H[i>>2]=j;break g}H[h+(H[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}H[b+24>>2]=h;c=H[f+16>>2];if(c){H[b+16>>2]=c;H[c+24>>2]=b}c=H[f+20>>2];if(!c){break g}H[b+20>>2]=c;H[c+24>>2]=b}H[d+4>>2]=a|1;H[a+d>>2]=a;if(H[4787]!=(d|0)){break f}H[4784]=a;return}H[f+4>>2]=b&-2;H[d+4>>2]=a|1;H[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+19168|0;c=H[4782];a=1<<a;k:{if(!(c&a)){H[4782]=a|c;a=b;break k}a=H[b+8>>2]}H[b+8>>2]=d;H[a+12>>2]=d;H[d+12>>2]=b;H[d+8>>2]=a;return}e=31;H[d+16>>2]=0;H[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<<g;e=b+520192>>>16&4;b=b<<e;c=b+245760>>>16&2;b=(b<<c>>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}H[d+28>>2]=e;g=(e<<2)+19432|0;l:{m:{c=H[4783];b=1<<e;n:{if(!(c&b)){H[4783]=b|c;H[g>>2]=d;H[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=H[g>>2];while(1){c=b;if((H[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=H[g+16>>2];if(b){continue}break}H[g+16>>2]=d;H[d+24>>2]=c}H[d+12>>2]=d;H[d+8>>2]=d;break l}a=H[c+8>>2];H[a+12>>2]=d;H[c+8>>2]=d;H[d+24>>2]=0;H[d+12>>2]=c;H[d+8>>2]=a}a=H[4790]-1|0;H[4790]=a?a:-1}}function rk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=da-48|0;da=l;d=H[a+8>>2];if(d-31>>>0>=4294967267){H[a+76>>2]=d;e=-1<<d;d=-2-e|0;H[a+84>>2]=d;H[a+80>>2]=e^-1;H[a+92>>2]=(d|0)/2;L[a+88>>2]=O(2)/O(d|0)}H[a+52>>2]=f;o=a+96|0;Ca(o);d=H[a+40>>2];e=H[d>>2];f=H[d+4>>2];H[l+16>>2]=0;H[l+8>>2]=0;H[l+12>>2]=0;a:{e=f-e|0;if((e|0)<=0){break a}j=H[d>>2];if((j|0)!=H[d+4>>2]){p=a+8|0;q=a+44|0;d=e>>>2|0;r=d>>>0>1?d:1;s=c+4|0;while(1){Sc(q,H[(n<<2)+j>>2],l+8|0);f=H[l+12>>2];d=f>>31;e=H[l+8>>2];i=e>>31;j=H[l+16>>2];g=j>>31;g=g^g+j;i=g+((d^d+f)+(i^e+i)|0)|0;d=0;d=g>>>0>i>>>0?1:d;b:{if(!(d|i)){k=H[a+92>>2];h=k;break b}k=H[a+92>>2];m=k>>31;f=yl(xl(k,m,f,f>>31),ea,i,d);g=f>>31;h=yl(xl(k,m,e,e>>31),ea,i,d);d=h>>31;d=(g^f+g)+(d^d+h)|0;j=(j|0)>=0?k-d|0:d-k|0}c:{if((h|0)>=0){i=f+k|0;g=j+k|0;break c}d:{if((f|0)<0){d=j>>31;i=d+j^d;break d}d=j>>31;i=H[a+84>>2]-(d+j^d)|0}if((j|0)<0){d=f>>31;g=d+f^d;break c}d=f>>31;g=H[a+84>>2]-(d+f^d)|0}d=H[a+84>>2];m=d;e=d;e:{if(!(g|i)){break e}if(!((d|0)!=(g|0)|i)){m=g;e=g;break e}if(!((d|0)!=(i|0)|g)){m=i;e=i;break e}if(!((g|0)<=(k|0)|i)){m=(k<<1)-g|0;e=0;break e}if(!((d|0)!=(i|0)|(g|0)>=(k|0))){m=(k<<1)-g|0;e=i;break e}if(!((d|0)!=(g|0)|(i|0)>=(k|0))){m=g;e=(k<<1)-i|0;break e}if(g){m=g;e=i;break e}m=0;e=i;if((e|0)<=(k|0)){break e}e=(k<<1)-i|0}i=e;H[l+16>>2]=0-j;H[l+12>>2]=0-f;H[l+8>>2]=0-h;f:{if((h|0)<=0){h=k-j|0;e=k-f|0;break f}e=f>>31;e=e+f^e;h=(j|0)>0?e:d-e|0;e=j>>31;e=e+j^e;e=(f|0)>0?e:d-e|0}g:{if(!(e|h)){h=d;break g}if(!((d|0)!=(h|0)|e)){h=d;break g}f=(d|0)!=(e|0);if(!(h|f)){h=d;break g}if(!((h|0)<=(k|0)|e)){h=(k<<1)-h|0;d=0;break g}if(!((h|0)>=(k|0)|f)){h=(k<<1)-h|0;break g}if(!((d|0)!=(h|0)|(e|0)>=(k|0))){h=d;d=(k<<1)-e|0;break g}if(h){d=e;break g}h=0;if((e|0)<=(k|0)){d=e;break g}d=(k<<1)-e|0}e=(n<<3)+b|0;f=H[e+4>>2];H[l+32>>2]=H[e>>2];H[l+36>>2]=f;H[l+28>>2]=m;H[l+24>>2]=i;i=l+40|0;g=l+32|0;m=l+24|0;_a(i,p,g,m);f=H[l+44>>2];j=H[l+40>>2];k=H[e+4>>2];H[l+32>>2]=H[e>>2];H[l+36>>2]=k;H[l+28>>2]=h;H[l+24>>2]=d;_a(i,p,g,m);d=H[l+44>>2];h=H[l+40>>2];e=H[a+92>>2];h:{if((e|0)<(j|0)){j=j-H[a+80>>2]|0;break h}if((0-e|0)<=(j|0)){break h}j=H[a+80>>2]+j|0}i:{if((e|0)<(f|0)){f=f-H[a+80>>2]|0;break i}if((0-e|0)<=(f|0)){break i}f=H[a+80>>2]+f|0}j:{if((e|0)<(h|0)){h=h-H[a+80>>2]|0;break j}if((0-e|0)<=(h|0)){break j}h=H[a+80>>2]+h|0}i=n<<1;k:{if((d|0)>(e|0)){d=d-H[a+80>>2]|0;break k}if((0-e|0)<=(d|0)){break k}d=H[a+80>>2]+d|0}e=f>>31;e=e+f^e;g=j>>31;g=g+j^g;e=g>>>0>(e^2147483647)>>>0?2147483647:e+g|0;g=d>>31;g=g+d^g;m=h>>31;m=m+h^m;g=m>>>0>(g^2147483647)>>>0?2147483647:g+m|0;Fa(o,e>>>0>=g>>>0);i=i<<2;e=e>>>0<g>>>0;g=e?j:h;H[i+c>>2]=(H[a+80>>2]&g>>31)+g;d=e?f:d;H[i+s>>2]=(H[a+80>>2]&d>>31)+d;n=n+1|0;if((r|0)==(n|0)){break a}d=H[a+40>>2];j=H[d>>2];if(H[d+4>>2]-j>>2>>>0>n>>>0){continue}break}}ua();X()}da=l+48|0;return 1}function gk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=da-48|0;da=l;d=H[a+8>>2];if(d-31>>>0>=4294967267){H[a+76>>2]=d;e=-1<<d;d=-2-e|0;H[a+84>>2]=d;H[a+80>>2]=e^-1;H[a+92>>2]=(d|0)/2;L[a+88>>2]=O(2)/O(d|0)}H[a+52>>2]=f;o=a+96|0;Ca(o);d=H[a+40>>2];e=H[d>>2];f=H[d+4>>2];H[l+16>>2]=0;H[l+8>>2]=0;H[l+12>>2]=0;a:{e=f-e|0;if((e|0)<=0){break a}j=H[d>>2];if((j|0)!=H[d+4>>2]){p=a+8|0;q=a+44|0;d=e>>>2|0;r=d>>>0>1?d:1;s=c+4|0;while(1){Qc(q,H[(n<<2)+j>>2],l+8|0);f=H[l+12>>2];d=f>>31;e=H[l+8>>2];i=e>>31;j=H[l+16>>2];g=j>>31;g=g^g+j;i=g+((d^d+f)+(i^e+i)|0)|0;d=0;d=g>>>0>i>>>0?1:d;b:{if(!(d|i)){k=H[a+92>>2];h=k;break b}k=H[a+92>>2];m=k>>31;f=yl(xl(k,m,f,f>>31),ea,i,d);g=f>>31;h=yl(xl(k,m,e,e>>31),ea,i,d);d=h>>31;d=(g^f+g)+(d^d+h)|0;j=(j|0)>=0?k-d|0:d-k|0}c:{if((h|0)>=0){i=f+k|0;g=j+k|0;break c}d:{if((f|0)<0){d=j>>31;i=d+j^d;break d}d=j>>31;i=H[a+84>>2]-(d+j^d)|0}if((j|0)<0){d=f>>31;g=d+f^d;break c}d=f>>31;g=H[a+84>>2]-(d+f^d)|0}d=H[a+84>>2];m=d;e=d;e:{if(!(g|i)){break e}if(!((d|0)!=(g|0)|i)){m=g;e=g;break e}if(!((d|0)!=(i|0)|g)){m=i;e=i;break e}if(!((g|0)<=(k|0)|i)){m=(k<<1)-g|0;e=0;break e}if(!((d|0)!=(i|0)|(g|0)>=(k|0))){m=(k<<1)-g|0;e=i;break e}if(!((d|0)!=(g|0)|(i|0)>=(k|0))){m=g;e=(k<<1)-i|0;break e}if(g){m=g;e=i;break e}m=0;e=i;if((e|0)<=(k|0)){break e}e=(k<<1)-i|0}i=e;H[l+16>>2]=0-j;H[l+12>>2]=0-f;H[l+8>>2]=0-h;f:{if((h|0)<=0){h=k-j|0;e=k-f|0;break f}e=f>>31;e=e+f^e;h=(j|0)>0?e:d-e|0;e=j>>31;e=e+j^e;e=(f|0)>0?e:d-e|0}g:{if(!(e|h)){h=d;break g}if(!((d|0)!=(h|0)|e)){h=d;break g}f=(d|0)!=(e|0);if(!(h|f)){h=d;break g}if(!((h|0)<=(k|0)|e)){h=(k<<1)-h|0;d=0;break g}if(!((h|0)>=(k|0)|f)){h=(k<<1)-h|0;break g}if(!((d|0)!=(h|0)|(e|0)>=(k|0))){h=d;d=(k<<1)-e|0;break g}if(h){d=e;break g}h=0;if((e|0)<=(k|0)){d=e;break g}d=(k<<1)-e|0}e=(n<<3)+b|0;f=H[e+4>>2];H[l+32>>2]=H[e>>2];H[l+36>>2]=f;H[l+28>>2]=m;H[l+24>>2]=i;i=l+40|0;g=l+32|0;m=l+24|0;_a(i,p,g,m);f=H[l+44>>2];j=H[l+40>>2];k=H[e+4>>2];H[l+32>>2]=H[e>>2];H[l+36>>2]=k;H[l+28>>2]=h;H[l+24>>2]=d;_a(i,p,g,m);d=H[l+44>>2];h=H[l+40>>2];e=H[a+92>>2];h:{if((e|0)<(j|0)){j=j-H[a+80>>2]|0;break h}if((0-e|0)<=(j|0)){break h}j=H[a+80>>2]+j|0}i:{if((e|0)<(f|0)){f=f-H[a+80>>2]|0;break i}if((0-e|0)<=(f|0)){break i}f=H[a+80>>2]+f|0}j:{if((e|0)<(h|0)){h=h-H[a+80>>2]|0;break j}if((0-e|0)<=(h|0)){break j}h=H[a+80>>2]+h|0}i=n<<1;k:{if((d|0)>(e|0)){d=d-H[a+80>>2]|0;break k}if((0-e|0)<=(d|0)){break k}d=H[a+80>>2]+d|0}e=f>>31;e=e+f^e;g=j>>31;g=g+j^g;e=g>>>0>(e^2147483647)>>>0?2147483647:e+g|0;g=d>>31;g=g+d^g;m=h>>31;m=m+h^m;g=m>>>0>(g^2147483647)>>>0?2147483647:g+m|0;Fa(o,e>>>0>=g>>>0);i=i<<2;e=e>>>0<g>>>0;g=e?j:h;H[i+c>>2]=(H[a+80>>2]&g>>31)+g;d=e?f:d;H[i+s>>2]=(H[a+80>>2]&d>>31)+d;n=n+1|0;if((r|0)==(n|0)){break a}d=H[a+40>>2];j=H[d>>2];if(H[d+4>>2]-j>>2>>>0>n>>>0){continue}break}}ua();X()}da=l+48|0;return 1}function Mg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=da-16|0;da=g;H[g+12>>2]=b;b=ra(32);H[g>>2]=b;H[g+4>>2]=17;H[g+8>>2]=-2147483616;F[b+17|0]=0;F[b+16|0]=I[1373];i=I[1369]|I[1370]<<8|(I[1371]<<16|I[1372]<<24);h=I[1365]|I[1366]<<8|(I[1367]<<16|I[1368]<<24);F[b+8|0]=h;F[b+9|0]=h>>>8;F[b+10|0]=h>>>16;F[b+11|0]=h>>>24;F[b+12|0]=i;F[b+13|0]=i>>>8;F[b+14|0]=i>>>16;F[b+15|0]=i>>>24;i=I[1361]|I[1362]<<8|(I[1363]<<16|I[1364]<<24);h=I[1357]|I[1358]<<8|(I[1359]<<16|I[1360]<<24);F[b|0]=h;F[b+1|0]=h>>>8;F[b+2|0]=h>>>16;F[b+3|0]=h>>>24;F[b+4|0]=i;F[b+5|0]=i>>>8;F[b+6|0]=i>>>16;F[b+7|0]=i>>>24;i=a+4|0;tb(sc(i,g+12|0),g,c);if(F[g+11|0]<0){qa(H[g>>2])}a=ra(32);H[g>>2]=a;H[g+4>>2]=19;H[g+8>>2]=-2147483616;F[a+19|0]=0;b=I[1541]|I[1542]<<8|(I[1543]<<16|I[1544]<<24);F[a+15|0]=b;F[a+16|0]=b>>>8;F[a+17|0]=b>>>16;F[a+18|0]=b>>>24;b=I[1538]|I[1539]<<8|(I[1540]<<16|I[1541]<<24);c=I[1534]|I[1535]<<8|(I[1536]<<16|I[1537]<<24);F[a+8|0]=c;F[a+9|0]=c>>>8;F[a+10|0]=c>>>16;F[a+11|0]=c>>>24;F[a+12|0]=b;F[a+13|0]=b>>>8;F[a+14|0]=b>>>16;F[a+15|0]=b>>>24;b=I[1530]|I[1531]<<8|(I[1532]<<16|I[1533]<<24);c=I[1526]|I[1527]<<8|(I[1528]<<16|I[1529]<<24);F[a|0]=c;F[a+1|0]=c>>>8;F[a+2|0]=c>>>16;F[a+3|0]=c>>>24;F[a+4|0]=b;F[a+5|0]=b>>>8;F[a+6|0]=b>>>16;F[a+7|0]=b>>>24;c=sc(i,g+12|0);a=da-48|0;da=a;H[a+24>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;a:{if((d|0)<=0){break a}ad(a,L[e>>2]);b=I[a+11|0];h=b<<24>>24<0;dd(a+16|0,h?H[a>>2]:a,h?H[a+4>>2]:b);if(F[a+11|0]<0){qa(H[a>>2])}b=1;if((d|0)==1){break a}while(1){h=a+16|0;dd(h,2164,sb(2164));ad(a,L[(b<<2)+e>>2]);k=h;h=I[a+11|0];j=h<<24>>24<0;dd(k,j?H[a>>2]:a,j?H[a+4>>2]:h);if(F[a+11|0]<0){qa(H[a>>2])}b=b+1|0;if((d|0)!=(b|0)){continue}break}}H[a+40>>2]=g;_d(a,c,g,a+40|0);b=H[a>>2]+28|0;b:{if((b|0)==(a+16|0)){break b}d=I[a+27|0];c=d<<24>>24;if(F[b+11|0]>=0){if((c|0)>=0){c=H[a+20>>2];H[b>>2]=H[a+16>>2];H[b+4>>2]=c;H[b+8>>2]=H[a+24>>2];break b}bd(b,H[a+16>>2],H[a+20>>2]);break b}e=b;b=(c|0)<0;cd(e,b?H[a+16>>2]:a+16|0,b?H[a+20>>2]:d)}if(F[a+27|0]<0){qa(H[a+16>>2])}da=a+48|0;if(F[g+11|0]<0){qa(H[g>>2])}a=ra(32);H[g>>2]=a;H[g+4>>2]=18;H[g+8>>2]=-2147483616;F[a+18|0]=0;b=I[1706]|I[1707]<<8;F[a+16|0]=b;F[a+17|0]=b>>>8;b=I[1702]|I[1703]<<8|(I[1704]<<16|I[1705]<<24);c=I[1698]|I[1699]<<8|(I[1700]<<16|I[1701]<<24);F[a+8|0]=c;F[a+9|0]=c>>>8;F[a+10|0]=c>>>16;F[a+11|0]=c>>>24;F[a+12|0]=b;F[a+13|0]=b>>>8;F[a+14|0]=b>>>16;F[a+15|0]=b>>>24;b=I[1694]|I[1695]<<8|(I[1696]<<16|I[1697]<<24);c=I[1690]|I[1691]<<8|(I[1692]<<16|I[1693]<<24);F[a|0]=c;F[a+1|0]=c>>>8;F[a+2|0]=c>>>16;F[a+3|0]=c>>>24;F[a+4|0]=b;F[a+5|0]=b>>>8;F[a+6|0]=b>>>16;F[a+7|0]=b>>>24;b=sc(i,g+12|0);a=da-48|0;da=a;ad(a+8|0,f);H[a+32>>2]=g;_d(a+40|0,b,g,a+32|0);b=H[a+40>>2];if(F[b+39|0]<0){qa(H[b+28>>2])}c=H[a+12>>2];H[b+28>>2]=H[a+8>>2];H[b+32>>2]=c;H[b+36>>2]=H[a+16>>2];da=a+48|0;if(F[g+11|0]<0){qa(H[g>>2])}da=g+16|0}function Nf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((b|0)==-1){return 1}c=(b>>>0)/3|0;if(!(H[H[a+24>>2]+(c>>>3&268435452)>>2]>>>c&1)){d=H[a+48>>2];H[a+52>>2]=d;a:{if((d|0)!=H[a+56>>2]){H[d>>2]=b;H[a+52>>2]=d+4;break a}e=ra(4);H[e>>2]=b;f=e+4|0;H[a+56>>2]=f;H[a+52>>2]=f;H[a+48>>2]=e;if(!d){break a}qa(d)}f=H[H[a+4>>2]+28>>2];d=b+1|0;e=(d>>>0)%3|0?d:b-2|0;d=H[f+(e<<2)>>2];if((d|0)==-1){return 0}g=(b-N(c,3)|0?-1:2)+b|0;c=H[f+(g<<2)>>2];if((c|0)==-1){return 0}b=H[a+36>>2];f=b+(d>>>3&536870908)|0;h=H[f>>2];i=1<<d;if(!(h&i)){H[f>>2]=h|i;nb(a+8|0,d,e);b=H[a+36>>2]}b=(c>>>3&536870908)+b|0;d=H[b>>2];e=1<<c;if(!(d&e)){H[b>>2]=d|e;nb(a+8|0,c,g)}c=H[a+52>>2];if((c|0)==H[a+48>>2]){return 1}k=a+8|0;while(1){c=c-4|0;b=H[c>>2];d=(b>>>0)/3|0;b:{c:{if((b|0)==-1){break c}e=H[a+24>>2]+(d>>>3&268435452)|0;f=H[e>>2];d=1<<d;if(f&d){break c}H[e>>2]=d|f;e=H[a+4>>2];d=H[H[e+28>>2]+(b<<2)>>2];if((d|0)==-1){return 0}while(1){c=b;d:{e:{f=H[a+36>>2]+(d>>>3&536870908)|0;g=H[f>>2];h=1<<d;if(g&h){break e}f:{b=H[H[e+40>>2]+(d<<2)>>2];g:{if((b|0)==-1){break g}i=b+1|0;b=(i>>>0)%3|0?i:b-2|0;if((b|0)==-1|H[H[e>>2]+(b>>>3&536870908)>>2]>>>b&1){break g}b=H[H[H[e+64>>2]+12>>2]+(b<<2)>>2];if((b|0)!=-1){break f}}H[f>>2]=g|h;nb(k,d,c);break e}H[f>>2]=g|h;nb(k,d,c);d=b+1|0;if((((d>>>0)%3|0?d:b-2|0)|0)==-1){break e}b=-1;e=H[a+4>>2];h:{if((c|0)==-1){break h}d=c+1|0;d=(d>>>0)%3|0?d:c-2|0;if((d|0)==-1|H[H[e>>2]+(d>>>3&536870908)>>2]>>>d&1){break h}b=H[H[H[e+64>>2]+12>>2]+(d<<2)>>2]}d=(b>>>0)/3|0;h=1<<d;c=H[a+24>>2];i=d>>>5|0;f=H[c+(i<<2)>>2];break d}i:{j:{if((c|0)==-1){break j}d=-1;b=c+1|0;b=(b>>>0)%3|0?b:c-2|0;e=H[a+4>>2];if(!((b|0)==-1|H[H[e>>2]+(b>>>3&536870908)>>2]>>>b&1)){d=H[H[H[e+64>>2]+12>>2]+(b<<2)>>2]}k:{l:{if((c>>>0)%3|0){c=c-1|0;break l}c=c+2|0;b=-1;if((c|0)==-1){break k}}b=-1;if(H[H[e>>2]+(c>>>3&536870908)>>2]>>>c&1){break k}b=H[H[H[e+64>>2]+12>>2]+(c<<2)>>2]}j=(b|0)==-1;g=j?-1:(b>>>0)/3|0;f=(d>>>0)/3|0;h=(d|0)==-1;if(!h){c=H[a+24>>2];h=h?-1:f;i=h>>>5|0;f=H[c+(i<<2)>>2];h=1<<h;if(!(f&h)){break i}}if(j){break j}h=1<<g;c=H[a+24>>2];i=g>>>5|0;f=H[c+(i<<2)>>2];if(!(h&f)){break d}}c=H[a+52>>2]-4|0;H[a+52>>2]=c;break b}if(j){b=d;break d}if(H[(g>>>3&536870908)+c>>2]>>>g&1){b=d;break d}c=H[a+52>>2];H[c-4>>2]=b;if((c|0)!=H[a+56>>2]){H[c>>2]=d;c=c+4|0;break c}m:{f=H[a+48>>2];e=c-f|0;c=e>>2;b=c+1|0;if(b>>>0<1073741824){g=e>>1;g=e>>>0<2147483644?b>>>0>g>>>0?b:g:1073741823;if(g){if(g>>>0>=1073741824){break m}b=ra(g<<2)}else{b=0}c=b+(c<<2)|0;H[c>>2]=d;c=c+4|0;if((e|0)>0){sa(b,f,e)}H[a+56>>2]=b+(g<<2);H[a+52>>2]=c;H[a+48>>2]=b;if(!f){break b}qa(f);c=H[a+52>>2];break b}va();X()}ya(1604);X()}H[(i<<2)+c>>2]=f|h;d=H[H[e+28>>2]+(b<<2)>>2];if((d|0)!=-1){continue}break}return 0}H[a+52>>2]=c}if(H[a+48>>2]!=(c|0)){continue}break}}return 1}function Jj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=da+-64|0;da=e;a:{b:{c:{d:{if(!I[a+288|0]){break d}c=1;h=fa[H[H[a>>2]+40>>2]](a)|0;if((H[h+12>>2]-H[h+8>>2]|0)<=0){break d}jc(H[H[(fa[H[H[a>>2]+40>>2]](a)|0)+8>>2]>>2],b);break c}c=b<<2;f=H[c+H[H[(fa[H[H[a>>2]+40>>2]](a)|0)+56>>2]+84>>2]>>2];i=H[c+H[H[(fa[H[H[a>>2]+40>>2]](a)|0)+4>>2]+8>>2]>>2];h=-1;d=H[a+172>>2];c=H[a+176>>2]-d|0;e:{if(!c){break e}c=(c|0)/136|0;g=c>>>0>1?c:1;c=0;while(1){if(H[d+N(c,136)>>2]==(b|0)){h=c;break e}c=c+1|0;if((g|0)!=(c|0)){continue}break}}f:{g:{h:{i:{j:{k:{if(!I[a+288|0]){c=H[i+56>>2];if(!(!f|!c)&(!I[(d+N(h,136)|0)+28|0]|(f|0)!=1)){break i}if(c){break k}}c=a+40|0;break j}c=H[a+12>>2];f=H[c+28>>2];c=H[c+24>>2];H[e>>2]=-1;k=d;d=N(h,136);g=k+d|0;yb(g+116|0,f-c>>2,e);F[(d+H[a+172>>2]|0)+100|0]=0;c=g+104|0}d=0;if(bb(H[(fa[H[H[a>>2]+40>>2]](a)|0)+48>>2])|H[i+56>>2]){break h}if(!I[a+288|0]){d=1;c=Kc(a,c);break g}d=H[a+8>>2];f=H[d+12>>2]-H[d+8>>2]|0;d=(f|0)<5;if((f|0)>4){break h}c=Kc(a,c);break g}d=d+N(h,136)|0;c=H[d+56>>2];f=H[d+60>>2];H[e>>2]=-1;yb(d+116|0,f-c>>2,e);c=ra(80);f=H[a+8>>2];H[c+12>>2]=0;H[c+16>>2]=0;H[c>>2]=12e3;H[c+4>>2]=0;H[c+20>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[c+40>>2]=0;H[c+44>>2]=0;H[c+48>>2]=0;H[c+52>>2]=0;H[c+76>>2]=0;i=d+104|0;H[c+72>>2]=i;H[c+68>>2]=f;H[c- -64>>2]=0;g=c+56|0;H[g>>2]=0;H[g+4>>2]=0;H[c+8>>2]=10904;H[e+40>>2]=0;H[e+44>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;j=e+24|0;H[j>>2]=0;H[j+4>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e+56>>2]=0;H[e+48>>2]=0;H[e+52>>2]=0;H[e>>2]=10904;l=d+4|0;H[e+4>>2]=l;d=H[d+68>>2];k=H[d>>2];d=H[d+4>>2];F[e+63|0]=0;k=(d-k>>2>>>0)/3|0;d=e+63|0;Ra(j,k,d);j=H[e+4>>2];k=H[j+56>>2];j=H[j+52>>2];F[e+63|0]=0;Ra(e+36|0,k-j>>2,d);H[e+20>>2]=c;H[e+16>>2]=f;H[e+12>>2]=i;H[e+8>>2]=l;H[c+76>>2]=a+72;Jc(c+8|0,e);hc(g,H[e+48>>2],H[e+52>>2]);H[e>>2]=10904;d=H[e+48>>2];if(d){H[e+52>>2]=d;qa(d)}H[e>>2]=11156;d=H[e+36>>2];if(d){qa(d)}d=H[e+24>>2];if(d){qa(d)}d=0;break f}c=eg(a,c)}if(c){break f}c=0;break c}H[((h|0)==-1?a+68|0:(H[a+172>>2]+N(h,136)|0)+132|0)>>2]=d;i=ge(ra(76),c,b);b=H[a+188>>2];l:{if((b|0)!=H[a+192>>2]){H[b>>2]=h;H[a+188>>2]=b+4;break l}d=H[a+184>>2];c=b-d|0;g=c>>2;b=g+1|0;if(b>>>0>=1073741824){break b}f=c>>1;f=c>>>0<2147483644?b>>>0>f>>>0?b:f:1073741823;if(f){if(f>>>0>=1073741824){break a}b=ra(f<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=h;if((c|0)>0){sa(b,d,c)}H[a+192>>2]=b+(f<<2);H[a+188>>2]=g+4;H[a+184>>2]=b;if(!d){break l}qa(d)}a=fa[H[H[a>>2]+40>>2]](a)|0;H[e>>2]=i;b=H[a+12>>2];m:{if(b>>>0<K[a+16>>2]){H[e>>2]=0;H[b>>2]=i;H[a+12>>2]=b+4;break m}Ic(a+8|0,e)}a=H[e>>2];H[e>>2]=0;if(a){fa[H[H[a>>2]+4>>2]](a)}c=1}da=e- -64|0;return c|0}va();X()}ya(1604);X()}function Ej(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=da+-64|0;da=e;a:{b:{c:{d:{if(!I[a+352|0]){break d}c=1;h=fa[H[H[a>>2]+40>>2]](a)|0;if((H[h+12>>2]-H[h+8>>2]|0)<=0){break d}jc(H[H[(fa[H[H[a>>2]+40>>2]](a)|0)+8>>2]>>2],b);break c}c=b<<2;f=H[c+H[H[(fa[H[H[a>>2]+40>>2]](a)|0)+56>>2]+84>>2]>>2];i=H[c+H[H[(fa[H[H[a>>2]+40>>2]](a)|0)+4>>2]+8>>2]>>2];h=-1;d=H[a+172>>2];c=H[a+176>>2]-d|0;e:{if(!c){break e}c=(c|0)/136|0;g=c>>>0>1?c:1;c=0;while(1){if(H[d+N(c,136)>>2]==(b|0)){h=c;break e}c=c+1|0;if((g|0)!=(c|0)){continue}break}}f:{g:{h:{i:{j:{k:{if(!I[a+352|0]){c=H[i+56>>2];if(!(!f|!c)&(!I[(d+N(h,136)|0)+28|0]|(f|0)!=1)){break i}if(c){break k}}c=a+40|0;break j}c=H[a+12>>2];f=H[c+28>>2];c=H[c+24>>2];H[e>>2]=-1;k=d;d=N(h,136);g=k+d|0;yb(g+116|0,f-c>>2,e);F[(d+H[a+172>>2]|0)+100|0]=0;c=g+104|0}d=0;if(bb(H[(fa[H[H[a>>2]+40>>2]](a)|0)+48>>2])|H[i+56>>2]){break h}if(!I[a+352|0]){d=1;c=Kc(a,c);break g}d=H[a+8>>2];f=H[d+12>>2]-H[d+8>>2]|0;d=(f|0)<5;if((f|0)>4){break h}c=Kc(a,c);break g}d=d+N(h,136)|0;c=H[d+56>>2];f=H[d+60>>2];H[e>>2]=-1;yb(d+116|0,f-c>>2,e);c=ra(80);f=H[a+8>>2];H[c+12>>2]=0;H[c+16>>2]=0;H[c>>2]=12e3;H[c+4>>2]=0;H[c+20>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[c+40>>2]=0;H[c+44>>2]=0;H[c+48>>2]=0;H[c+52>>2]=0;H[c+76>>2]=0;i=d+104|0;H[c+72>>2]=i;H[c+68>>2]=f;H[c- -64>>2]=0;g=c+56|0;H[g>>2]=0;H[g+4>>2]=0;H[c+8>>2]=10904;H[e+40>>2]=0;H[e+44>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;j=e+24|0;H[j>>2]=0;H[j+4>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e+56>>2]=0;H[e+48>>2]=0;H[e+52>>2]=0;H[e>>2]=10904;l=d+4|0;H[e+4>>2]=l;d=H[d+68>>2];k=H[d>>2];d=H[d+4>>2];F[e+63|0]=0;k=(d-k>>2>>>0)/3|0;d=e+63|0;Ra(j,k,d);j=H[e+4>>2];k=H[j+56>>2];j=H[j+52>>2];F[e+63|0]=0;Ra(e+36|0,k-j>>2,d);H[e+20>>2]=c;H[e+16>>2]=f;H[e+12>>2]=i;H[e+8>>2]=l;H[c+76>>2]=a+72;Jc(c+8|0,e);hc(g,H[e+48>>2],H[e+52>>2]);H[e>>2]=10904;d=H[e+48>>2];if(d){H[e+52>>2]=d;qa(d)}H[e>>2]=11156;d=H[e+36>>2];if(d){qa(d)}d=H[e+24>>2];if(d){qa(d)}d=0;break f}c=eg(a,c)}if(c){break f}c=0;break c}H[((h|0)==-1?a+68|0:(H[a+172>>2]+N(h,136)|0)+132|0)>>2]=d;i=ge(ra(76),c,b);b=H[a+188>>2];l:{if((b|0)!=H[a+192>>2]){H[b>>2]=h;H[a+188>>2]=b+4;break l}d=H[a+184>>2];c=b-d|0;g=c>>2;b=g+1|0;if(b>>>0>=1073741824){break b}f=c>>1;f=c>>>0<2147483644?b>>>0>f>>>0?b:f:1073741823;if(f){if(f>>>0>=1073741824){break a}b=ra(f<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=h;if((c|0)>0){sa(b,d,c)}H[a+192>>2]=b+(f<<2);H[a+188>>2]=g+4;H[a+184>>2]=b;if(!d){break l}qa(d)}a=fa[H[H[a>>2]+40>>2]](a)|0;H[e>>2]=i;b=H[a+12>>2];m:{if(b>>>0<K[a+16>>2]){H[e>>2]=0;H[b>>2]=i;H[a+12>>2]=b+4;break m}Ic(a+8|0,e)}a=H[e>>2];H[e>>2]=0;if(a){fa[H[H[a>>2]+4>>2]](a)}c=1}da=e- -64|0;return c|0}va();X()}ya(1604);X()}function nc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=da-16|0;da=j;H[a+124>>2]=H[a+124>>2]+1;h=-1;d=H[a+120>>2];c=-1;a:{if((d|0)==-1){break a}c=d+1|0;h=(c>>>0)%3|0?c:d-2|0;c=d-1|0;if((d>>>0)%3|0){break a}c=d+2|0}f=H[a+104>>2];e=H[a+92>>2];g=e+(h<<2)|0;k=f+(H[g>>2]<<2)|0;i=H[k>>2];b:{c:{switch(b|0){case 0:case 1:H[k>>2]=i-1;d=(H[(c<<2)+e>>2]<<2)+f|0;H[d>>2]=H[d>>2]-1;if((b|0)!=1){break b}d:{if((c|0)==-1){g=a- -64|0;d=1;break d}g=a- -64|0;d=1;c=H[H[H[a+88>>2]+12>>2]+(c<<2)>>2];if((c|0)==-1){break d}while(1){e:{e=H[g>>2];if(fa[H[H[e>>2]+36>>2]](e,(c>>>0)/3|0)|0){break e}e=c+1|0;c=(e>>>0)%3|0?e:c-2|0;if((c|0)==-1){d=d+1|0;break e}d=d+1|0;c=H[H[H[a+88>>2]+12>>2]+(c<<2)>>2];if((c|0)!=-1){continue}}break}f=H[a+104>>2];e=H[a+92>>2]}H[(H[(H[a+120>>2]<<2)+e>>2]<<2)+f>>2]=d;f:{if((h|0)==-1){e=1;break f}e=1;c=H[H[H[a+88>>2]+12>>2]+(h<<2)>>2];if((c|0)==-1){break f}f=H[a+108>>2]-f>>2;while(1){d=H[g>>2];h=(c>>>0)/3|0;if(fa[H[H[d>>2]+36>>2]](d,h)|0){break f}d=c+1|0;H[H[a+92>>2]+(((d>>>0)%3|0?d:c-2|0)<<2)>>2]=f;d=H[a+88>>2];g:{if((N(h,3)|0)!=(c|0)){c=c-1|0;break g}c=c+2|0;if((c|0)!=-1){break g}e=e+1|0;break f}e=e+1|0;c=H[H[d+12>>2]+(c<<2)>>2];if((c|0)!=-1){continue}break}}H[j+12>>2]=e;h:{c=H[a+108>>2];f=H[a+112>>2];if(c>>>0<f>>>0){H[c>>2]=H[j+12>>2];H[a+108>>2]=c+4;break h}i:{e=H[a+104>>2];d=c-e|0;h=d>>2;c=h+1|0;if(c>>>0<1073741824){f=f-e|0;g=f>>1;f=f>>>0<2147483644?c>>>0>g>>>0?c:g:1073741823;if(f){if(f>>>0>=1073741824){break i}c=ra(f<<2)}else{c=0}h=c+(h<<2)|0;H[h>>2]=H[j+12>>2];if((d|0)>0){sa(c,e,d)}H[a+112>>2]=c+(f<<2);H[a+108>>2]=h+4;H[a+104>>2]=c;if(e){qa(e)}break h}va();X()}ya(1604);X()}break b;case 7:d=(H[(d<<2)+e>>2]<<2)+f|0;H[d>>2]=H[d>>2]-2;d=(H[g>>2]<<2)+f|0;H[d>>2]=H[d>>2]-2;c=(H[(c<<2)+e>>2]<<2)+f|0;H[c>>2]=H[c>>2]-2;break b;case 3:d=(H[(d<<2)+e>>2]<<2)+f|0;H[d>>2]=H[d>>2]-1;d=(H[g>>2]<<2)+f|0;H[d>>2]=H[d>>2]-2;c=(H[(c<<2)+e>>2]<<2)+f|0;H[c>>2]=H[c>>2]-1;break b;case 5:break c;default:break b}}d=(H[(d<<2)+e>>2]<<2)+f|0;H[d>>2]=H[d>>2]-1;d=(H[g>>2]<<2)+f|0;H[d>>2]=H[d>>2]-1;c=(H[(c<<2)+e>>2]<<2)+f|0;H[c>>2]=H[c>>2]-2}j:{k:{c=H[a+116>>2];l:{if((c|0)==-1){break l}h=H[(c<<2)+11200>>2];c=H[a+132>>2];d=(c|0)<(i|0)?c:i;c=H[a+128>>2];e=H[a+136>>2]+N((c|0)>(i|0)?0:d-c|0,12)|0;c=H[e+4>>2];d=H[e+8>>2];if(c>>>0<d>>>0){H[c>>2]=h;H[e+4>>2]=c+4;break l}f=H[e>>2];i=c-f|0;g=i>>2;c=g+1|0;if(c>>>0>=1073741824){break k}d=d-f|0;k=d>>1;d=d>>>0<2147483644?c>>>0>k>>>0?c:k:1073741823;if(d){if(d>>>0>=1073741824){break j}c=ra(d<<2)}else{c=0}g=c+(g<<2)|0;H[g>>2]=h;if((i|0)>0){sa(c,f,i)}H[e>>2]=c;H[e+4>>2]=g+4;H[e+8>>2]=c+(d<<2);if(!f){break l}qa(f)}H[a+116>>2]=b;da=j+16|0;return}va();X()}ya(1604);X()}function Dg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=a+4|0;if((e|0)!=(b|0)){ic(e,H[b>>2],b+4|0);c=H[b+12>>2];l=b+16|0;e=0;g=a+16|0;a:{if(!H[g+8>>2]){break a}f=H[g>>2];k=g+4|0;H[g>>2]=k;H[H[g+4>>2]+8>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0;d=H[f+4>>2];h=d?d:f;if(!h){ob(g,h);break a}f=H[h+8>>2];b:{if(!f){break b}d=H[f>>2];if((h|0)==(d|0)){H[f>>2]=0;d=H[f+4>>2];if(!d){e=f;break b}while(1){e=d;d=H[d>>2];if(d){continue}d=H[e+4>>2];if(d){continue}break}break b}H[f+4>>2]=0;if(!d){e=f;break b}while(1){e=d;d=H[d>>2];if(d){continue}d=H[e+4>>2];if(d){continue}break}}c:{if((c|0)==(l|0)){f=h;break c}i=c;while(1){f=e;H[h+16>>2]=H[i+16>>2];if((h|0)!=(i|0)){ic(h+20|0,H[i+20>>2],i+24|0)}d:{c=H[k>>2];if(!c){c=k;d=c;break d}e=H[h+16>>2];while(1){e:{if((e|0)<H[c+16>>2]){d=H[c>>2];if(d){break e}d=c;break d}d=H[c+4>>2];if(d){break e}d=c+4|0;break d}c=d;continue}}H[h+8>>2]=c;H[h>>2]=0;H[h+4>>2]=0;H[d>>2]=h;e=H[H[g>>2]>>2];if(e){H[g>>2]=e;h=H[d>>2]}ub(H[g+4>>2],h);H[g+8>>2]=H[g+8>>2]+1;e=0;f:{if(!f){break f}d=H[f+8>>2];if(!d){break f}c=H[d>>2];if((f|0)==(c|0)){H[d>>2]=0;c=H[d+4>>2];if(!c){e=d;break f}while(1){e=c;c=H[c>>2];if(c){continue}c=H[e+4>>2];if(c){continue}break}break f}H[d+4>>2]=0;if(!c){e=d;break f}while(1){e=c;c=H[c>>2];if(c){continue}c=H[e+4>>2];if(c){continue}break}}d=H[i+4>>2];g:{if(!d){c=H[i+8>>2];if(H[c>>2]==(i|0)){break g}h=i+8|0;while(1){d=H[h>>2];h=d+8|0;c=H[d+8>>2];if((d|0)!=H[c>>2]){continue}break}break g}while(1){c=d;d=H[c>>2];if(d){continue}break}}if(!f){break c}i=c;h=f;if((c|0)!=(l|0)){continue}break}}ob(g,f);if(!e){break a}while(1){d=H[e+8>>2];if(d){e=d;continue}break}ob(g,e)}if((c|0)!=(l|0)){while(1){k=da-16|0;da=k;j=ra(32);f=c;c=c+16|0;e=H[c>>2];m=j+24|0;H[m>>2]=0;H[m+4>>2]=0;H[j+16>>2]=e;h=j+20|0;H[h>>2]=m;e=H[c+4>>2];i=c+8|0;if((e|0)!=(i|0)){while(1){d=e;c=d+16|0;Ig(k+8|0,h,m,c,c);c=H[d+4>>2];h:{if(!c){e=H[d+8>>2];if((d|0)==H[e>>2]){break h}c=d+8|0;while(1){d=H[c>>2];c=d+8|0;e=H[d+8>>2];if((d|0)!=H[e>>2]){continue}break}break h}while(1){e=c;c=H[c>>2];if(c){continue}break}}if((e|0)!=(i|0)){continue}break}}c=H[g+4>>2];i:{j:{if(c){d=H[j+16>>2];while(1){k:{if((d|0)<H[c+16>>2]){e=H[c>>2];if(!e){break j}break k}e=H[c+4>>2];if(e){break k}e=c+4|0;break i}c=e;continue}}c=g+4|0}e=c}H[j+8>>2]=c;H[j>>2]=0;H[j+4>>2]=0;H[e>>2]=j;c=H[H[g>>2]>>2];if(c){H[g>>2]=c;j=H[e>>2]}ub(H[g+4>>2],j);H[g+8>>2]=H[g+8>>2]+1;da=k+16|0;d=H[f+4>>2];l:{if(!d){c=H[f+8>>2];if((f|0)==H[c>>2]){break l}e=f+8|0;while(1){d=H[e>>2];e=d+8|0;c=H[d+8>>2];if((d|0)!=H[c>>2]){continue}break}break l}while(1){c=d;d=H[c>>2];if(d){continue}break}}if((c|0)!=(l|0)){continue}break}}ic(a+28|0,H[b+24>>2],b+28|0)}}function Dc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=H[b+4>>2];a:{if(!c){d=H[b+8>>2];if(H[d>>2]==(b|0)){break a}e=b+8|0;while(1){c=H[e>>2];e=c+8|0;d=H[c+8>>2];if((c|0)!=H[d>>2]){continue}break}break a}while(1){d=c;c=H[c>>2];if(c){continue}break}}if(H[a>>2]==(b|0)){H[a>>2]=d}H[a+8>>2]=H[a+8>>2]-1;d=H[a+4>>2];f=b;b:{c:{c=H[b>>2];if(c){a=H[f+4>>2];if(!a){break c}while(1){b=a;a=H[a>>2];if(a){continue}break}}c=H[b+4>>2];if(c){break c}c=0;e=1;break b}H[c+8>>2]=H[b+8>>2];e=0}g=H[b+8>>2];a=H[g>>2];d:{if((b|0)==(a|0)){H[g>>2]=c;if((b|0)==(d|0)){a=0;d=c;break d}a=H[g+4>>2];break d}H[g+4>>2]=c}h=!I[b+12|0];if((b|0)!=(f|0)){g=H[f+8>>2];H[b+8>>2]=g;H[g+(((f|0)!=H[H[f+8>>2]>>2])<<2)>>2]=b;g=H[f>>2];H[b>>2]=g;H[g+8>>2]=b;g=H[f+4>>2];H[b+4>>2]=g;if(g){H[g+8>>2]=b}F[b+12|0]=I[f+12|0];d=(d|0)==(f|0)?b:d}e:{if(h|!d){break e}if(e){while(1){b=I[a+12|0];f:{e=H[a+8>>2];if(H[e>>2]!=(a|0)){if(!b){F[a+12|0]=1;F[e+12|0]=0;c=H[e+4>>2];b=H[c>>2];H[e+4>>2]=b;if(b){H[b+8>>2]=e}H[c+8>>2]=H[e+8>>2];b=H[e+8>>2];H[(((e|0)!=H[b>>2])<<2)+b>>2]=c;H[c>>2]=e;H[e+8>>2]=c;b=a;a=H[a>>2];d=(a|0)==(d|0)?b:d;a=H[a+4>>2]}g:{h:{b=H[a>>2];i:{if(!(I[b+12|0]?0:b)){c=H[a+4>>2];if(I[c+12|0]?0:c){break i}F[a+12|0]=0;a=H[a+8>>2];j:{if((d|0)==(a|0)){a=d;break j}if(I[a+12|0]){break f}}F[a+12|0]=1;break e}c=H[a+4>>2];if(!c){break h}}if(I[c+12|0]){break h}b=a;break g}F[b+12|0]=1;F[a+12|0]=0;c=H[b+4>>2];H[a>>2]=c;if(c){H[c+8>>2]=a}H[b+8>>2]=H[a+8>>2];c=H[a+8>>2];H[((H[c>>2]!=(a|0))<<2)+c>>2]=b;H[b+4>>2]=a;H[a+8>>2]=b;c=a}d=H[b+8>>2];F[b+12|0]=I[d+12|0];F[d+12|0]=1;F[c+12|0]=1;b=H[d+4>>2];a=H[b>>2];H[d+4>>2]=a;if(a){H[a+8>>2]=d}H[b+8>>2]=H[d+8>>2];a=H[d+8>>2];H[(((d|0)!=H[a>>2])<<2)+a>>2]=b;H[b>>2]=d;H[d+8>>2]=b;break e}if(!b){F[a+12|0]=1;F[e+12|0]=0;b=H[a+4>>2];H[e>>2]=b;if(b){H[b+8>>2]=e}H[a+8>>2]=H[e+8>>2];b=H[e+8>>2];H[(((e|0)!=H[b>>2])<<2)+b>>2]=a;H[a+4>>2]=e;H[e+8>>2]=a;d=(d|0)==(e|0)?a:d;a=H[e>>2]}c=H[a>>2];k:{if(!(!c|I[c+12|0])){b=a;break k}b=H[a+4>>2];if(!(I[b+12|0]?0:b)){F[a+12|0]=0;a=H[a+8>>2];if((a|0)!=(d|0)?I[a+12|0]:0){break f}F[a+12|0]=1;break e}if(c){if(!I[c+12|0]){b=a;break k}b=H[a+4>>2]}F[b+12|0]=1;F[a+12|0]=0;c=H[b>>2];H[a+4>>2]=c;if(c){H[c+8>>2]=a}H[b+8>>2]=H[a+8>>2];c=H[a+8>>2];H[((H[c>>2]!=(a|0))<<2)+c>>2]=b;H[b>>2]=a;H[a+8>>2]=b;c=a}d=H[b+8>>2];F[b+12|0]=I[d+12|0];F[d+12|0]=1;F[c+12|0]=1;b=H[d>>2];a=H[b+4>>2];H[d>>2]=a;if(a){H[a+8>>2]=d}H[b+8>>2]=H[d+8>>2];a=H[d+8>>2];H[(((d|0)!=H[a>>2])<<2)+a>>2]=b;H[b+4>>2]=d;H[d+8>>2]=b;break e}b=a;a=H[a+8>>2];a=H[(((b|0)==H[a>>2])<<2)+a>>2];continue}}F[c+12|0]=1}a=H[f+28>>2];if(a){H[f+32>>2]=a;qa(a)}if(F[f+27|0]<0){qa(H[f+16>>2])}qa(f)}function Wf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=H[a+8>>2];c=H[a+4>>2];if((d-c|0)/136>>>0>=b>>>0){d=a;if(b){a=N(b,136)+c|0;while(1){H[c>>2]=-1;df(c+4|0);H[c+104>>2]=0;H[c+108>>2]=0;F[c+100|0]=1;H[c+112>>2]=0;H[c+116>>2]=0;H[c+120>>2]=0;H[c+124>>2]=0;H[c+128>>2]=0;c=c+136|0;if((a|0)!=(c|0)){continue}break}c=a}H[d+4>>2]=c;return}a:{b:{c:{f=H[a>>2];g=(c-f|0)/136|0;c=g+b|0;if(c>>>0<31580642){d=(d-f|0)/136|0;f=d<<1;f=d>>>0<15790320?c>>>0>f>>>0?c:f:31580641;if(f){if(f>>>0>=31580642){break c}e=ra(N(f,136))}d=N(g,136)+e|0;g=d+N(b,136)|0;c=d;while(1){H[c>>2]=-1;df(c+4|0);H[c+104>>2]=0;H[c+108>>2]=0;F[c+100|0]=1;H[c+112>>2]=0;H[c+116>>2]=0;H[c+120>>2]=0;H[c+124>>2]=0;H[c+128>>2]=0;c=c+136|0;if((g|0)!=(c|0)){continue}break}f=N(f,136)+e|0;b=H[a>>2];c=H[a+4>>2];if((b|0)==(c|0)){break b}while(1){d=d-136|0;c=c-136|0;H[d>>2]=H[c>>2];H[d+4>>2]=H[c+4>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=H[c+12>>2];H[c+12>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;H[d+16>>2]=H[c+16>>2];H[d+20>>2]=H[c+20>>2];H[d+24>>2]=H[c+24>>2];H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;e=I[c+28|0];H[d+40>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;F[d+28|0]=e;H[d+32>>2]=H[c+32>>2];H[d+36>>2]=H[c+36>>2];H[d+40>>2]=H[c+40>>2];H[c+40>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[d+52>>2]=0;H[d+44>>2]=0;H[d+48>>2]=0;H[d+44>>2]=H[c+44>>2];H[d+48>>2]=H[c+48>>2];H[d+52>>2]=H[c+52>>2];H[c+52>>2]=0;H[c+44>>2]=0;H[c+48>>2]=0;e=d- -64|0;H[e>>2]=0;H[d+56>>2]=0;H[d+60>>2]=0;H[d+56>>2]=H[c+56>>2];H[d+60>>2]=H[c+60>>2];h=e;e=c- -64|0;H[h>>2]=H[e>>2];H[e>>2]=0;H[c+56>>2]=0;H[c+60>>2]=0;H[d+68>>2]=H[c+68>>2];e=H[c+72>>2];H[d+84>>2]=0;H[d+76>>2]=0;H[d+80>>2]=0;H[d+72>>2]=e;H[d+76>>2]=H[c+76>>2];H[d+80>>2]=H[c+80>>2];H[d+84>>2]=H[c+84>>2];H[c+84>>2]=0;H[c+76>>2]=0;H[c+80>>2]=0;H[d+96>>2]=0;H[d+88>>2]=0;H[d+92>>2]=0;H[d+88>>2]=H[c+88>>2];H[d+92>>2]=H[c+92>>2];H[d+96>>2]=H[c+96>>2];H[c+96>>2]=0;H[c+88>>2]=0;H[c+92>>2]=0;e=I[c+100|0];H[d+112>>2]=0;H[d+104>>2]=0;H[d+108>>2]=0;F[d+100|0]=e;H[d+104>>2]=H[c+104>>2];H[d+108>>2]=H[c+108>>2];H[d+112>>2]=H[c+112>>2];H[c+112>>2]=0;H[c+104>>2]=0;H[c+108>>2]=0;H[d+124>>2]=0;H[d+116>>2]=0;H[d+120>>2]=0;H[d+116>>2]=H[c+116>>2];H[d+120>>2]=H[c+120>>2];H[d+124>>2]=H[c+124>>2];H[c+124>>2]=0;H[c+116>>2]=0;H[c+120>>2]=0;H[d+128>>2]=H[c+128>>2];H[d+132>>2]=H[c+132>>2];if((b|0)!=(c|0)){continue}break}H[a+8>>2]=f;c=H[a+4>>2];H[a+4>>2]=g;b=H[a>>2];H[a>>2]=d;if((b|0)==(c|0)){break a}while(1){a=H[c-20>>2];if(a){H[c-16>>2]=a;qa(a)}a=H[c-32>>2];if(a){H[c-28>>2]=a;qa(a)}oc(c-132|0);c=c-136|0;if((c|0)!=(b|0)){continue}break}break a}va();X()}ya(1604);X()}H[a+8>>2]=f;H[a+4>>2]=g;H[a>>2]=d}if(b){qa(b)}}function Of(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if((b|0)==-1){return 1}d=(b>>>0)/3|0;if(!(H[H[a+24>>2]+(d>>>3&268435452)>>2]>>>d&1)){c=H[a+48>>2];H[a+52>>2]=c;a:{if((c|0)!=H[a+56>>2]){H[c>>2]=b;H[a+52>>2]=c+4;break a}e=ra(4);H[e>>2]=b;f=e+4|0;H[a+56>>2]=f;H[a+52>>2]=f;H[a+48>>2]=e;if(!c){break a}qa(c)}e=-1;f=H[a+4>>2];c=b+1|0;g=(c>>>0)%3|0?c:b-2|0;if((g|0)!=-1){e=H[H[f>>2]+(g<<2)>>2]}b:{h=b-N(d,3)|0;if(h){c=b-1|0;break b}c=b+2|0;if((c|0)!=-1){break b}return 0}if((e|0)==-1){return 0}d=H[H[f>>2]+(c<<2)>>2];if((d|0)==-1){return 0}c=H[a+36>>2];f=c+(e>>>3&536870908)|0;i=H[f>>2];j=1<<e;if(!(i&j)){H[f>>2]=i|j;nb(a+8|0,e,g);c=H[a+36>>2]}c=(d>>>3&536870908)+c|0;e=H[c>>2];f=1<<d;if(!(e&f)){H[c>>2]=e|f;nb(a+8|0,d,(h?-1:2)+b|0)}c=H[a+52>>2];if((c|0)==H[a+48>>2]){return 1}j=a+8|0;while(1){c=c-4|0;b=H[c>>2];d=(b>>>0)/3|0;c:{d:{if((b|0)==-1){break d}e=H[a+24>>2]+(d>>>3&268435452)|0;f=H[e>>2];d=1<<d;if(f&d){break d}H[e>>2]=d|f;while(1){d=H[a+4>>2];c=H[H[d>>2]+(b<<2)>>2];if((c|0)==-1){return 0}e:{f:{e=H[a+36>>2]+(c>>>3&536870908)|0;f=H[e>>2];g=1<<c;if(f&g){break f}g:{h=H[H[d+24>>2]+(c<<2)>>2];h:{if((h|0)==-1){break h}i=h+1|0;h=(i>>>0)%3|0?i:h-2|0;if((h|0)==-1){break h}d=H[H[d+12>>2]+(h<<2)>>2];if((d|0)!=-1){break g}}H[e>>2]=f|g;nb(j,c,b);break f}H[e>>2]=f|g;nb(j,c,b);c=d+1|0;if((((c>>>0)%3|0?c:d-2|0)|0)==-1){break f}d=b-2|0;c=b+1|0;b=-1;c=(c>>>0)%3|0?c:d;if((c|0)!=-1){b=H[H[H[a+4>>2]+12>>2]+(c<<2)>>2]}c=(b>>>0)/3|0;g=1<<c;e=H[a+24>>2];h=c>>>5|0;d=H[e+(h<<2)>>2];break e}c=-1;f=H[a+4>>2];d=b+1|0;d=(d>>>0)%3|0?d:b-2|0;if((d|0)!=-1){c=H[H[f+12>>2]+(d<<2)>>2]}i:{j:{if((b>>>0)%3|0){e=b-1|0;break j}e=b+2|0;b=-1;if((e|0)==-1){break i}}b=H[H[f+12>>2]+(e<<2)>>2]}i=(b|0)==-1;f=i?-1:(b>>>0)/3|0;d=(c>>>0)/3|0;k:{g=(c|0)==-1;if(!g){e=H[a+24>>2];g=g?-1:d;h=g>>>5|0;d=H[e+(h<<2)>>2];g=1<<g;if(!(d&g)){break k}}if(!i){g=1<<f;e=H[a+24>>2];h=f>>>5|0;d=H[e+(h<<2)>>2];if(!(g&d)){break e}}c=H[a+52>>2]-4|0;H[a+52>>2]=c;break c}if(i){b=c;break e}if(H[(f>>>3&536870908)+e>>2]>>>f&1){b=c;break e}d=H[a+52>>2];H[d-4>>2]=b;if((d|0)!=H[a+56>>2]){H[d>>2]=c;c=d+4|0;break d}l:{e=H[a+48>>2];d=d-e|0;g=d>>2;b=g+1|0;if(b>>>0<1073741824){f=d>>1;f=d>>>0<2147483644?b>>>0>f>>>0?b:f:1073741823;if(f){if(f>>>0>=1073741824){break l}b=ra(f<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=c;c=g+4|0;if((d|0)>0){sa(b,e,d)}H[a+56>>2]=b+(f<<2);H[a+52>>2]=c;H[a+48>>2]=b;if(!e){break c}qa(e);c=H[a+52>>2];break c}va();X()}ya(1604);X()}H[(h<<2)+e>>2]=d|g;if((b|0)!=-1){continue}break}return 0}H[a+52>>2]=c}if(H[a+48>>2]!=(c|0)){continue}break}}return 1}
function nf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=da+-64|0;da=e;H[e+40>>2]=0;H[e+44>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;H[e+48>>2]=1065353216;c=H[a+80>>2];H[e+24>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;a:{b:{if(!c){break b}if(c>>>0>=1073741824){break a}f=c<<2;k=ra(f);H[e+16>>2]=k;c=f+k|0;H[e+24>>2]=c;ta(k,0,f);H[e+20>>2]=c;while(1){c=H[H[b>>2]>>2];j=H[b+48>>2]+xl(H[b+40>>2],H[b+44>>2],i,0)|0;c=c+j|0;n=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[e+28>>2]=n;c:{d:{e:{if(!g){break e}d=H[e+32>>2];j=n^318;l=Al(g)>>>0>1;c=j&g-1;f:{if(!l){break f}c=j;if(c>>>0<g>>>0){break f}c=(j>>>0)%(g>>>0)|0}f=c;c=H[d+(f<<2)>>2];if(!c){break e}d=H[c>>2];if(!d){break e}if(!l){l=g-1|0;while(1){c=H[d+4>>2];g:{if((c|0)!=(j|0)){if((f|0)==(c&l)){break g}break e}if((n|0)==H[d+8>>2]){break d}}d=H[d>>2];if(d){continue}break}break e}while(1){c=H[d+4>>2];h:{if((c|0)!=(j|0)){if(c>>>0>=g>>>0){c=(c>>>0)%(g>>>0)|0}if((c|0)==(f|0)){break h}break e}if((n|0)==H[d+8>>2]){break d}}d=H[d>>2];if(d){continue}break}}H[e+12>>2]=m;H[e+8>>2]=n;c=e+8|0;lf(e+56|0,e+32|0,c,c);c=H[a+40>>2];sa(H[H[a>>2]>>2]+N(c,m)|0,e+28|0,c);k=H[e+16>>2];H[k+(i<<2)>>2]=m;m=m+1|0;break c}H[(i<<2)+k>>2]=H[d+12>>2]}c=i+1|0;h=c?h:h+1|0;i=c;d=H[a+80>>2];if(!h&d>>>0>c>>>0){g=H[e+36>>2];continue}break}if((d|0)==(m|0)){break b}i:{if(!I[a+84|0]){l=H[a+68>>2];b=H[a+72>>2]-l|0;if(!b){break i}i=H[e+16>>2];b=b>>2;b=b>>>0>1?b:1;c=b&3;j=0;d=0;if(b-1>>>0>=3){h=b&-4;k=0;while(1){f=d<<2;b=f+l|0;H[b>>2]=H[i+(H[b>>2]<<2)>>2];b=l+(f|4)|0;H[b>>2]=H[i+(H[b>>2]<<2)>>2];b=l+(f|8)|0;H[b>>2]=H[i+(H[b>>2]<<2)>>2];b=l+(f|12)|0;H[b>>2]=H[i+(H[b>>2]<<2)>>2];d=d+4|0;k=k+4|0;if((h|0)!=(k|0)){continue}break}}if(!c){break i}while(1){b=l+(d<<2)|0;H[b>>2]=H[i+(H[b>>2]<<2)>>2];d=d+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}break i}F[a+84|0]=0;g=H[a+68>>2];b=H[a+72>>2]-g>>2;j:{if(b>>>0<d>>>0){Ma(a+68|0,d-b|0,2204);g=H[a+68>>2];d=H[a+80>>2];break j}if(b>>>0<=d>>>0){break j}H[a+72>>2]=(d<<2)+g}if(!d){break i}i=H[e+16>>2];j=0;b=0;if(d-1>>>0>=3){c=d&-4;k=0;while(1){f=b<<2;H[f+g>>2]=H[i+f>>2];h=f|4;H[h+g>>2]=H[i+h>>2];h=f|8;H[h+g>>2]=H[i+h>>2];h=f|12;H[h+g>>2]=H[i+h>>2];b=b+4|0;k=k+4|0;if((c|0)!=(k|0)){continue}break}}c=d&3;if(!c){break i}while(1){h=b<<2;H[h+g>>2]=H[i+h>>2];b=b+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}H[a+80>>2]=m}a=H[e+16>>2];if(a){qa(a)}d=H[e+40>>2];if(d){while(1){a=H[d>>2];qa(d);d=a;if(d){continue}break}}a=H[e+32>>2];H[e+32>>2]=0;if(a){qa(a)}da=e- -64|0;return m}va();X()}function gl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=da-16|0;da=l;a:{f=H[a+4>>2];b:{c:{if(f){if(fa[H[H[a>>2]+52>>2]](a,b,H[H[f+4>>2]+80>>2])|0){break c}break b}if(!(fa[H[H[a>>2]+52>>2]](a,b,0)|0)){break b}}n=1;if(!I[a+28|0]){break b}d=H[a+32>>2];i=H[a+8>>2];c=H[i+80>>2];f=0;H[l+8>>2]=0;H[l>>2]=0;H[l+4>>2]=0;if(c){if(c>>>0>=1073741824){break a}c=c<<2;f=ra(c);H[l>>2]=f;e=c+f|0;H[l+8>>2]=e;ta(f,0,c);H[l+4>>2]=e}e=H[b>>2];b=H[b+4>>2]-e|0;d:{if(!b){break d}b=b>>2;if(I[i+84|0]){c=b>>>0>1?b:1;h=c&3;b=0;if(c-1>>>0>=3){j=c&-4;c=0;while(1){H[(H[e+(b<<2)>>2]<<2)+f>>2]=b;k=b|1;H[(H[e+(k<<2)>>2]<<2)+f>>2]=k;k=b|2;H[(H[e+(k<<2)>>2]<<2)+f>>2]=k;k=b|3;H[(H[e+(k<<2)>>2]<<2)+f>>2]=k;b=b+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}if(!h){break d}while(1){H[(H[e+(b<<2)>>2]<<2)+f>>2]=b;b=b+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break d}g=b>>>0>1?b:1;j=g&3;h=H[i+68>>2];c=0;b=0;if(g-1>>>0>=3){k=g&-4;g=0;while(1){H[(H[h+(H[e+(b<<2)>>2]<<2)>>2]<<2)+f>>2]=b;m=b|1;H[(H[h+(H[e+(m<<2)>>2]<<2)>>2]<<2)+f>>2]=m;m=b|2;H[(H[h+(H[e+(m<<2)>>2]<<2)>>2]<<2)+f>>2]=m;m=b|3;H[(H[h+(H[e+(m<<2)>>2]<<2)>>2]<<2)+f>>2]=m;b=b+4|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}if(!j){break d}while(1){H[(H[h+(H[e+(b<<2)>>2]<<2)>>2]<<2)+f>>2]=b;b=b+1|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}e:{if(!I[d+84|0]){break e}b=H[H[H[a+4>>2]+4>>2]+80>>2];F[d+84|0]=0;e=H[d+68>>2];c=H[d+72>>2]-e>>2;if(c>>>0<b>>>0){Ma(d+68|0,b-c|0,2764);break e}if(b>>>0>=c>>>0){break e}H[d+72>>2]=e+(b<<2)}h=H[H[H[a+4>>2]+4>>2]+80>>2];f:{if(!h){break f}e=H[d+68>>2];if(I[i+84|0]){a=0;b=0;if(h-1>>>0>=3){g=h&-4;c=0;while(1){d=b<<2;H[d+e>>2]=H[f+d>>2];i=d|4;H[i+e>>2]=H[f+i>>2];i=d|8;H[i+e>>2]=H[f+i>>2];d=d|12;H[d+e>>2]=H[f+d>>2];b=b+4|0;c=c+4|0;if((g|0)!=(c|0)){continue}break}}c=h&3;if(!c){break f}while(1){d=b<<2;H[d+e>>2]=H[f+d>>2];b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}break f}a=H[i+68>>2];c=0;b=0;if(h-1>>>0>=3){i=h&-4;g=0;while(1){d=b<<2;H[d+e>>2]=H[(H[a+d>>2]<<2)+f>>2];j=d|4;H[j+e>>2]=H[(H[a+j>>2]<<2)+f>>2];j=d|8;H[j+e>>2]=H[(H[a+j>>2]<<2)+f>>2];d=d|12;H[d+e>>2]=H[(H[a+d>>2]<<2)+f>>2];b=b+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}}d=h&3;if(!d){break f}while(1){g=b<<2;H[g+e>>2]=H[(H[a+g>>2]<<2)+f>>2];b=b+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=H[l>>2];if(!a){break b}qa(a)}da=l+16|0;return n|0}va();X()}function ld(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=da-32|0;da=i;H[a+4>>2]=0;H[a+8>>2]=0;c=a+16|0;H[c>>2]=0;H[c+4>>2]=0;l=a+4|0;H[a>>2]=l;H[a+12>>2]=c;c=H[b>>2];k=b+4|0;if((c|0)!=(k|0)){while(1){f=da-16|0;da=f;g=c;c=c+16|0;h=Hg(a,l,f+12|0,f+8|0,c);d=H[h>>2];if(d){c=0}else{d=ra(40);e=d+16|0;a:{if(F[c+11|0]>=0){m=H[c+4>>2];H[e>>2]=H[c>>2];H[e+4>>2]=m;H[e+8>>2]=H[c+8>>2];break a}Ia(e,H[c>>2],H[c+4>>2])}H[d+36>>2]=0;e=d+28|0;H[e>>2]=0;H[e+4>>2]=0;eb(e,H[c+16>>2]-H[c+12>>2]|0);j=H[e>>2];e=H[c+12>>2];sa(j,e,H[c+16>>2]-e|0);H[d+8>>2]=H[f+12>>2];H[d>>2]=0;H[d+4>>2]=0;H[h>>2]=d;c=H[H[a>>2]>>2];if(c){H[a>>2]=c;c=H[h>>2]}else{c=d}ub(H[a+4>>2],c);H[a+8>>2]=H[a+8>>2]+1;c=1}F[i+28|0]=c;H[i+24>>2]=d;da=f+16|0;d=H[g+4>>2];b:{if(!d){c=H[g+8>>2];if((g|0)==H[c>>2]){break b}d=g+8|0;while(1){g=H[d>>2];d=g+8|0;c=H[g+8>>2];if((g|0)!=H[c>>2]){continue}break}break b}while(1){c=d;d=H[c>>2];if(d){continue}break}}if((c|0)!=(k|0)){continue}break}}c=H[b+12>>2];m=b+16|0;if((c|0)!=(m|0)){f=a+12|0;while(1){g=c;n=ra(24);ld(n,H[c+28>>2]);b=c+16|0;H[i+16>>2]=b;a=H[f+4>>2];c:{d:{if(a){c=I[b+11|0];d=c<<24>>24<0;e=d?H[b>>2]:b;d=d?H[b+4>>2]:c;b=f+4|0;while(1){c=I[a+27|0];h=c<<24>>24<0;c=h?H[a+20>>2]:c;l=c>>>0<d>>>0;e:{f:{g:{h:{i:{k=l?c:d;j:{if(k){j=a+16|0;h=h?H[j>>2]:j;j=Ga(e,h,k);if(!j){if(c>>>0>d>>>0){break j}break i}if((j|0)>=0){break i}break j}if(c>>>0<=d>>>0){break h}}c=H[a>>2];if(c){break e}break d}c=Ga(h,e,k);if(c){break g}}if(l){break f}break c}if((c|0)>=0){break c}}b=a+4|0;c=H[a+4>>2];if(!c){break c}a=b}b=a;a=c;continue}}a=f+4|0}b=a}c=H[b>>2];if(c){a=0}else{c=ra(32);e=c+16|0;d=H[i+16>>2];k:{if(F[d+11|0]>=0){h=H[d+4>>2];H[e>>2]=H[d>>2];H[e+4>>2]=h;H[e+8>>2]=H[d+8>>2];break k}Ia(e,H[d>>2],H[d+4>>2])}H[c+8>>2]=a;H[c>>2]=0;H[c+4>>2]=0;H[c+28>>2]=0;H[b>>2]=c;a=H[H[f>>2]>>2];if(a){H[f>>2]=a;a=H[b>>2]}else{a=c}ub(H[f+4>>2],a);H[f+8>>2]=H[f+8>>2]+1;a=1}F[i+28|0]=a;H[i+24>>2]=c;b=H[i+24>>2];a=H[b+28>>2];H[b+28>>2]=n;if(a){mb(a+12|0,H[a+16>>2]);lb(a,H[a+4>>2]);qa(a)}d=H[g+4>>2];l:{if(!d){c=H[g+8>>2];if((g|0)==H[c>>2]){break l}d=g+8|0;while(1){a=H[d>>2];d=a+8|0;c=H[a+8>>2];if((a|0)!=H[c>>2]){continue}break}break l}while(1){c=d;d=H[c>>2];if(d){continue}break}}if((c|0)!=(m|0)){continue}break}}da=i+32|0}function Hb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=da-32|0;da=g;a:{b:{if(H[a+8>>2]<<5>>>0>=b>>>0){break b}H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;if((b|0)<0){break a}b=(b-1>>>5|0)+1|0;c=ra(b<<2);H[g+24>>2]=b;H[g+20>>2]=0;H[g+16>>2]=c;b=H[a>>2];H[g+12>>2]=0;H[g+8>>2]=b;c=H[a+4>>2];H[g+4>>2]=c&31;H[g>>2]=b+(c>>>3&536870908);f=da-32|0;da=f;j=H[g+4>>2];e=H[g+12>>2];k=H[g>>2];i=H[g+8>>2];b=(j-e|0)+(k-i<<3)|0;d=H[g+20>>2];h=b+d|0;H[g+20>>2]=h;c:{if(!(!d|(h-1^d-1)>>>0>31)){c=H[g+16>>2];break c}c=H[g+16>>2];if(h>>>0<=32){H[c>>2]=0;break c}H[(h-1>>>3&536870908)+c>>2]=0}c=(d>>>3&536870908)+c|0;d=d&31;d:{if((d|0)==(e|0)){if((b|0)<=0){break d}if(e){h=32-e|0;d=(b|0)<(h|0)?b:h;h=-1<<e&-1>>>h-d;H[c>>2]=H[c>>2]&(h^-1)|h&H[i>>2];b=b-d|0;i=i+4|0;c=c+(d+e>>>3&536870908)|0}j=c;e=(b|0)/32|0;c=e<<2;d=xa(j,i,c);b=b-(e<<5)|0;if((b|0)<=0){break d}e=c+d|0;b=-1>>>32-b|0;H[e>>2]=H[e>>2]&(b^-1)|b&H[c+i>>2];break d}H[f+28>>2]=e;H[f+24>>2]=i;H[f+20>>2]=j;H[f+16>>2]=k;H[f+12>>2]=d;H[f+8>>2]=c;b=H[f+28>>2];c=H[f+24>>2];i=(H[f+20>>2]-b|0)+(H[f+16>>2]-c<<3)|0;e:{if((i|0)<=0){b=H[f+12>>2];break e}f:{if(!b){b=H[f+12>>2];break f}e=H[f+12>>2];j=32-e|0;k=32-b|0;d=(i|0)<(k|0)?i:k;h=d>>>0>j>>>0?j:d;l=H[f+8>>2];m=H[l>>2]&(-1<<e&-1>>>j-h^-1);j=H[c>>2]&(-1<<b&-1>>>k-d);H[l>>2]=m|(b>>>0<e>>>0?j<<e-b:j>>>b-e|0);c=e+h|0;b=c&31;H[f+12>>2]=b;e=l+(c>>>3&536870908)|0;H[f+8>>2]=e;c=d-h|0;if((c|0)>0){H[e>>2]=H[e>>2]&(-1>>>32-c^-1)|j>>>h+H[f+28>>2];H[f+12>>2]=c;b=c}i=i-d|0;c=H[f+24>>2]+4|0;H[f+24>>2]=c}e=32-b|0;h=-1<<b;if((i|0)>=32){j=h^-1;while(1){d=H[f+8>>2];c=H[c>>2];H[d>>2]=j&H[d>>2]|c<<b;H[f+8>>2]=d+4;H[d+4>>2]=h&H[d+4>>2]|c>>>e;c=H[f+24>>2]+4|0;H[f+24>>2]=c;d=i>>>0>63;i=i-32|0;if(d){continue}break}}if((i|0)<=0){break e}d=H[f+8>>2];j=e;e=(e|0)<(i|0)?e:i;j=H[d>>2]&(h&-1>>>j-e^-1);h=H[c>>2]&-1>>>32-i;H[d>>2]=j|h<<b;c=b+e|0;b=c&31;H[f+12>>2]=b;d=d+(c>>>3&536870908)|0;H[f+8>>2]=d;c=i-e|0;if((c|0)<=0){break e}H[d>>2]=H[d>>2]&(-1>>>32-c^-1)|h>>>e;H[f+12>>2]=c;b=c}c=H[f+8>>2];H[f+4>>2]=b;H[f>>2]=c}da=f+32|0;b=H[a>>2];H[a>>2]=H[g+16>>2];H[g+16>>2]=b;c=H[a+4>>2];H[a+4>>2]=H[g+20>>2];H[g+20>>2]=c;c=H[a+8>>2];H[a+8>>2]=H[g+24>>2];H[g+24>>2]=c;if(!b){break b}qa(b)}da=g+32|0;return}La();X()}function Rj(a){a=a|0;var 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;h=da-16|0;da=h;b=H[a+64>>2];a:{if(!b){break a}i=fa[H[H[b>>2]+32>>2]](b)|0;if(!i){break a}m=(H[i+28>>2]-H[i+24>>2]>>2)-H[i+44>>2]|0;b=H[a+56>>2];d=H[b+8>>2];b:{if((H[b+12>>2]-d|0)<5){break b}H[h+8>>2]=0;H[h>>2]=0;H[h+4>>2]=0;c:{d:{while(1){e:{f:{if(!H[H[(c<<2)+d>>2]+56>>2]){break f}j=fa[H[H[a>>2]+56>>2]](a,c)|0;if(!j){break f}if(H[h+8>>2]!=(e|0)){H[e>>2]=j;e=e+4|0;H[h+4>>2]=e;break f}f=H[h>>2];d=e-f|0;e=d>>2;b=e+1|0;if(b>>>0>=1073741824){break e}g=d>>1;g=d>>>0<2147483644?b>>>0>g>>>0?b:g:1073741823;if(g){if(g>>>0>=1073741824){break d}b=ra(g<<2)}else{b=0}e=b+(e<<2)|0;H[e>>2]=j;e=e+4|0;if((d|0)>0){sa(b,f,d)}H[h+8>>2]=b+(g<<2);H[h+4>>2]=e;H[h>>2]=b;if(!f){break f}qa(f)}l=H[a+56>>2];d=H[l+8>>2];c=c+1|0;if((c|0)<H[l+12>>2]-d>>2){continue}break c}break}va();X()}ya(1604);X()}j=H[h>>2];o=H[i+24>>2];b=H[i+28>>2]-o|0;if(b){b=b>>2;q=b>>>0>1?b:1;p=e-j|0;b=p>>2;r=b>>>0>1?b:1;while(1){f=H[(n<<2)+o>>2];if((f|0)!=-1){g:{if((f|0)<0){c=(f>>>0)%3|0;b=-1;break g}b=(f>>>0)/3|0;c=f-N(b,3)|0;b=H[(H[l+96>>2]+N(b,12)|0)+(c<<2)>>2]}h:{i:{if(c){c=f-1|0;break i}c=f+2|0;if((c|0)!=-1){break i}g=0;break h}g=0;c=H[H[i+12>>2]+(c<<2)>>2];if((c|0)==-1){break h}j:{if((c>>>0)%3|0){d=c-1|0;break j}d=c+2|0;if((d|0)==-1){break h}}e=f;while(1){c=(d|0)<0?-1:H[(H[l+96>>2]+N((d>>>0)/3|0,12)|0)+((d>>>0)%3<<2)>>2];k:{if((b|0)==(c|0)){c=0;if(!p){c=b;break k}l:{while(1){k=H[H[(c<<2)+j>>2]+28>>2];if(H[k+(d<<2)>>2]!=H[k+(e<<2)>>2]){break l}c=c+1|0;if((r|0)!=(c|0)){continue}break}c=b;break k}c=b}g=g+1|0}if((d|0)==(f|0)|(d|0)==-1){break h}m:{if((d>>>0)%3|0){e=d-1|0;break m}e=d+2|0;if((e|0)==-1){break h}}k=H[H[i+12>>2]+(e<<2)>>2];if((k|0)==-1){break h}b=c;e=d;c=k+((k>>>0)%3|0?-1:2)|0;d=c;if((c|0)!=-1){continue}break}}c=1;b=f+1|0;b=(b>>>0)%3|0?b:f-2|0;n:{if((b|0)==-1){break n}b=H[H[i+12>>2]+(b<<2)>>2];if((b|0)==-1){break n}c=b+1|0;c=(((c>>>0)%3|0?c:b-2|0)|0)==-1}m=(g+m|0)-((c^-1)&(g|0)!=0)|0}n=n+1|0;if((q|0)!=(n|0)){continue}break}}if(!j){break b}qa(j)}H[a+52>>2]=m}da=h+16|0}function Pe(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=da-128|0;da=j;a:{b:{c:{if(!Kb(f,g,h,i,0,0,0,0)){break c}m=i&65535;n=i>>>16&32767;d:{e:{if((n|0)!=32767){l=4;if(n){break e}l=f|h|(g|m)?3:2;break d}l=!(f|h|(g|m))}}r=e>>>16|0;o=r&32767;if((o|0)==32767){break c}if(l){break b}}Ha(j+16|0,b,c,d,e,f,g,h,i);e=H[j+16>>2];d=H[j+20>>2];c=H[j+24>>2];b=H[j+28>>2];Fe(j,e,d,c,b,e,d,c,b);d=H[j+8>>2];e=H[j+12>>2];h=H[j>>2];i=H[j+4>>2];break a}m=e&65535|o<<16;p=m;l=d;m=h;q=i>>>16&32767;k=i&65535|q<<16;if((Kb(b,c,l,p,f,g,h,k)|0)<=0){if(Kb(b,c,l,p,f,g,m,k)){h=b;i=c;break a}Ha(j+112|0,b,c,d,e,0,0,0,0);d=H[j+120>>2];e=H[j+124>>2];h=H[j+112>>2];i=H[j+116>>2];break a}if(o){i=c;h=b}else{Ha(j+96|0,b,c,l,p,0,0,0,1081540608);h=H[j+108>>2];p=h;l=H[j+104>>2];o=(h>>>16|0)-120|0;i=H[j+100>>2];h=H[j+96>>2]}if(!q){Ha(j+80|0,f,g,m,k,0,0,0,1081540608);f=H[j+92>>2];k=f;m=H[j+88>>2];q=(k>>>16|0)-120|0;g=H[j+84>>2];f=H[j+80>>2]}s=k&65535|65536;p=p&65535|65536;if((o|0)>(q|0)){while(1){t=l-m|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=(p-((l>>>0<m>>>0)+s|0)|0)-(t>>>0<k>>>0)|0;k=t-k|0;f:{if((n|0)>0|(n|0)>=0){l=h;h=h-f|0;i=i-((f>>>0>l>>>0)+g|0)|0;if(!(h|k|(i|n))){Ha(j+32|0,b,c,d,e,0,0,0,0);d=H[j+40>>2];e=H[j+44>>2];h=H[j+32>>2];i=H[j+36>>2];break a}n=n<<1|k>>>31;l=k<<1|i>>>31;p=n;break f}n=p<<1|l>>>31;l=l<<1|i>>>31;p=n}n=i<<1|h>>>31;h=h<<1;i=n;o=o-1|0;if((q|0)<(o|0)){continue}break}o=q}q=l-m|0;n=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;k=(p-((l>>>0<m>>>0)+s|0)|0)-(q>>>0<n>>>0)|0;m=q-n|0;g:{if((k|0)<0){m=l;k=p;break g}l=h;h=h-f|0;i=i-((f>>>0>l>>>0)+g|0)|0;if(h|m|(i|k)){break g}Ha(j+48|0,b,c,d,e,0,0,0,0);d=H[j+56>>2];e=H[j+60>>2];h=H[j+48>>2];i=H[j+52>>2];break a}if((k|0)==65535|k>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;p=i<<1|h>>>31;h=h<<1;i=p;c=b;b=m;k=k<<1|b>>>31;m=c|b<<1;if(k>>>0<65536){continue}break}}b=r&32768;if((o|0)<=0){Ha(j- -64|0,h,i,m,k&65535|(b|o+120)<<16,0,0,0,1065811968);d=H[j+72>>2];e=H[j+76>>2];h=H[j+64>>2];i=H[j+68>>2];break a}d=m;e=k&65535|(b|o)<<16}H[a>>2]=h;H[a+4>>2]=i;H[a+8>>2]=d;H[a+12>>2]=e;da=j+128|0}function ff(a,b){var c=0,d=0,e=0,f=0;f=da-16|0;da=f;e=ra(32);H[f>>2]=e;H[f+4>>2]=30;H[f+8>>2]=-2147483616;F[e+30|0]=0;c=I[1352]|I[1353]<<8|(I[1354]<<16|I[1355]<<24);d=I[1348]|I[1349]<<8|(I[1350]<<16|I[1351]<<24);F[e+22|0]=d;F[e+23|0]=d>>>8;F[e+24|0]=d>>>16;F[e+25|0]=d>>>24;F[e+26|0]=c;F[e+27|0]=c>>>8;F[e+28|0]=c>>>16;F[e+29|0]=c>>>24;c=I[1346]|I[1347]<<8|(I[1348]<<16|I[1349]<<24);d=I[1342]|I[1343]<<8|(I[1344]<<16|I[1345]<<24);F[e+16|0]=d;F[e+17|0]=d>>>8;F[e+18|0]=d>>>16;F[e+19|0]=d>>>24;F[e+20|0]=c;F[e+21|0]=c>>>8;F[e+22|0]=c>>>16;F[e+23|0]=c>>>24;c=I[1338]|I[1339]<<8|(I[1340]<<16|I[1341]<<24);d=I[1334]|I[1335]<<8|(I[1336]<<16|I[1337]<<24);F[e+8|0]=d;F[e+9|0]=d>>>8;F[e+10|0]=d>>>16;F[e+11|0]=d>>>24;F[e+12|0]=c;F[e+13|0]=c>>>8;F[e+14|0]=c>>>16;F[e+15|0]=c>>>24;c=I[1330]|I[1331]<<8|(I[1332]<<16|I[1333]<<24);d=I[1326]|I[1327]<<8|(I[1328]<<16|I[1329]<<24);F[e|0]=d;F[e+1|0]=d>>>8;F[e+2|0]=d>>>16;F[e+3|0]=d>>>24;F[e+4|0]=c;F[e+5|0]=c>>>8;F[e+6|0]=c>>>16;F[e+7|0]=c>>>24;e=a+4|0;tb(e,f,b);if(F[f+11|0]<0){qa(H[f>>2])}a=ra(32);H[f>>2]=a;H[f+4>>2]=29;H[f+8>>2]=-2147483616;F[a+29|0]=0;c=I[1420]|I[1421]<<8|(I[1422]<<16|I[1423]<<24);d=I[1416]|I[1417]<<8|(I[1418]<<16|I[1419]<<24);F[a+21|0]=d;F[a+22|0]=d>>>8;F[a+23|0]=d>>>16;F[a+24|0]=d>>>24;F[a+25|0]=c;F[a+26|0]=c>>>8;F[a+27|0]=c>>>16;F[a+28|0]=c>>>24;c=I[1415]|I[1416]<<8|(I[1417]<<16|I[1418]<<24);d=I[1411]|I[1412]<<8|(I[1413]<<16|I[1414]<<24);F[a+16|0]=d;F[a+17|0]=d>>>8;F[a+18|0]=d>>>16;F[a+19|0]=d>>>24;F[a+20|0]=c;F[a+21|0]=c>>>8;F[a+22|0]=c>>>16;F[a+23|0]=c>>>24;c=I[1407]|I[1408]<<8|(I[1409]<<16|I[1410]<<24);d=I[1403]|I[1404]<<8|(I[1405]<<16|I[1406]<<24);F[a+8|0]=d;F[a+9|0]=d>>>8;F[a+10|0]=d>>>16;F[a+11|0]=d>>>24;F[a+12|0]=c;F[a+13|0]=c>>>8;F[a+14|0]=c>>>16;F[a+15|0]=c>>>24;c=I[1399]|I[1400]<<8|(I[1401]<<16|I[1402]<<24);d=I[1395]|I[1396]<<8|(I[1397]<<16|I[1398]<<24);F[a|0]=d;F[a+1|0]=d>>>8;F[a+2|0]=d>>>16;F[a+3|0]=d>>>24;F[a+4|0]=c;F[a+5|0]=c>>>8;F[a+6|0]=c>>>16;F[a+7|0]=c>>>24;tb(e,f,b);if(F[f+11|0]<0){qa(H[f>>2])}da=f+16|0}function Qd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Qd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Qd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}
function Xd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Xd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Xd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Wd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Wd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Wd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Vd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Vd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Vd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Ud(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Ud(a,j,i,d,o,q,g,h);a=i;b=l;break g}Ud(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Td(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Td(a,j,i,d,o,q,g,h);a=i;b=l;break g}Td(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Sd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Sd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Sd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Rd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Rd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Rd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Pd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Pd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Pd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Od(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Od(a,j,i,d,o,q,g,h);a=i;b=l;break g}Od(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Nd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Nd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Nd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Md(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Md(a,j,i,d,o,q,g,h);a=i;b=l;break g}Md(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Ld(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Ld(a,j,i,d,o,q,g,h);a=i;b=l;break g}Ld(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Kd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Kd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Kd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Jd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Jd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Jd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Id(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Id(a,j,i,d,o,q,g,h);a=i;b=l;break g}Id(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Hd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Hd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Hd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Gd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!f){break a}while(1){b:{c:{if(!((e|0)<=(h|0)|(f|0)<=(h|0))){if(!e){break a}i=H[d>>2];k=H[i>>2];m=H[i+4>>2]-k>>3;s=H[b>>2];d:{if(m>>>0<=s>>>0){break d}l=k+(s<<3)|0;while(1){i=H[a>>2];if(i>>>0>=m>>>0){break d}if(K[l>>2]>=K[k+(i<<3)>>2]){a=a+4|0;e=e-1|0;if(e){continue}break a}break}if((e|0)<(f|0)){q=(f|0)/2|0;l=(q<<2)+b|0;j=a;i=b-j|0;e:{if(!i){break e}j=H[l>>2];if(j>>>0>=m>>>0){break d}o=i>>2;i=o>>>1|0;p=(i<<2)+a|0;n=H[p>>2];if(n>>>0>=m>>>0){break d}r=p+4|0;p=H[k+(j<<3)>>2];n=p>>>0<K[k+(n<<3)>>2];j=n?a:r;i=n?i:o+(i^-1)|0;if(!i){break e}while(1){o=i>>>1|0;n=(o<<2)+j|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=p>>>0<K[k+(r<<3)>>2];j=n?j:t;i=n?o:(o^-1)+i|0;if(i){continue}break}}o=j-a>>2;break b}if((e|0)==1){H[a>>2]=s;H[b>>2]=i;return}o=(e|0)/2|0;j=(o<<2)+a|0;i=c-b|0;if(!i){l=b;break c}i=i>>2;l=H[j>>2];if(l>>>0<m>>>0){p=k+(l<<3)|0;l=b;while(1){q=i>>>1|0;n=(q<<2)+l|0;r=H[n>>2];if(r>>>0>=m>>>0){break d}t=n+4|0;n=K[k+(r<<3)>>2]<K[p>>2];l=n?t:l;i=n?(q^-1)+i|0:q;if(i){continue}break}break c}}ua();X()}Va(a,b,c,d,e,f,g);return}q=l-b>>2}f=f-q|0;e=e-o|0;i=l;f:{if((b|0)==(j|0)){break f}i=j;if((b|0)==(l|0)){break f}m=j+4|0;if((m|0)==(b|0)){k=H[j>>2];i=l-b|0;if(i){xa(j,b,i)}i=i+j|0;H[i>>2]=k;break f}if((b+4|0)==(l|0)){b=l-4|0;k=H[b>>2];i=l;b=b-j|0;if(b){i=l-b|0;xa(i,j,b)}H[j>>2]=k;break f}n=l-b>>2;i=n;p=b-j>>2;k=p;if((i|0)==(k|0)){i=H[j>>2];H[j>>2]=s;H[b>>2]=i;i=b;if((m|0)==(i|0)){break f}while(1){k=H[m>>2];H[m>>2]=H[i+4>>2];H[i+4>>2]=k;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break f}while(1){b=k;k=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(k){b=(k<<2)+j|0;while(1){b=b-4|0;i=p<<2;m=b+i|0;s=H[b>>2];k=b;while(1){r=k;k=m;H[r>>2]=H[k>>2];m=l-k>>2;m=(m|0)>(p|0)?i+k|0:(p-m<<2)+j|0;if((m|0)!=(b|0)){continue}break}H[k>>2]=s;if((b|0)!=(j|0)){continue}break}}i=(n<<2)+j|0}g:{if((o+q|0)<(e+f|0)){Gd(a,j,i,d,o,q,g,h);a=i;b=l;break g}Gd(i,l,c,d,e,f,g,h);f=q;e=o;c=i;b=j}if(f){continue}break}}}function Hk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;H[a+8>>2]=e;h=a+32|0;f=H[h>>2];g=H[a+36>>2]-f>>2;a:{if(g>>>0<e>>>0){Ea(h,e-g|0);break a}if(e>>>0>=g>>>0){break a}H[a+36>>2]=f+(e<<2)}b:{if(!d){break b}g=H[b>>2];c:{if((d|0)<2){h=g;break c}j=1;f=d-1|0;o=f&1;d:{if((d|0)==2){h=g;break d}l=f&-2;f=0;h=g;while(1){i=(j<<2)+b|0;m=H[i+4>>2];k=H[i>>2];n=(k|0)<(h|0);h=n?k:h;i=(h|0)>(m|0);h=i?m:h;g=n?g:(g|0)<(k|0)?k:g;g=i?g:(g|0)<(m|0)?m:g;j=j+2|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}}if(!o){break c}i=H[(j<<2)+b>>2];f=(i|0)<(h|0);h=f?i:h;g=f?g:(g|0)<(i|0)?i:g}H[a+16>>2]=g;H[a+12>>2]=h;f=(g>>31)-((h>>31)+(g>>>0<h>>>0)|0)|0;h=g-h|0;if(!f&h>>>0>2147483646|f){break b}h=h+1|0;H[a+20>>2]=h;f=h>>>1|0;H[a+24>>2]=f;H[a+28>>2]=0-f;if(h&1){break b}H[a+24>>2]=f-1}d=d-e|0;i=H[a+8>>2];if(!((d|0)<=0|(i|0)<=0)){n=0-e<<2;while(1){if((i|0)>0){f=d<<2;o=f+c|0;l=b+f|0;f=l+n|0;j=0;while(1){h=H[a+32>>2];g=0;if((i|0)>0){while(1){k=g<<2;m=H[k+f>>2];i=H[a+16>>2];e:{if((m|0)>(i|0)){H[h+k>>2]=i;break e}k=h+k|0;i=H[a+12>>2];if((i|0)>(m|0)){H[k>>2]=i;break e}H[k>>2]=m}g=g+1|0;if((g|0)<H[a+8>>2]){continue}break}}g=j<<2;f=g+o|0;g=H[g+l>>2]-H[g+h>>2]|0;H[f>>2]=g;f:{if((g|0)<H[a+28>>2]){g=g+H[a+20>>2]|0}else{if((g|0)<=H[a+24>>2]){break f}g=g-H[a+20>>2]|0}H[f>>2]=g}f=h;i=H[a+8>>2];j=j+1|0;if((i|0)>(j|0)){continue}break}}d=d-e|0;if((d|0)>0){continue}break}}d=(e&1073741823)!=(e|0)?-1:e<<2;e=ta(ra(d),0,d);if((i|0)>0){j=0;f=e;while(1){h=H[a+32>>2];g=0;if((i|0)>0){while(1){i=g<<2;l=H[i+f>>2];d=H[a+16>>2];g:{if((l|0)>(d|0)){H[h+i>>2]=d;break g}i=h+i|0;d=H[a+12>>2];if((d|0)>(l|0)){H[i>>2]=d;break g}H[i>>2]=l}g=g+1|0;if((g|0)<H[a+8>>2]){continue}break}}f=j<<2;d=f+c|0;f=H[b+f>>2]-H[f+h>>2]|0;H[d>>2]=f;h:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break h}f=f-H[a+20>>2]|0}H[d>>2]=f}f=h;i=H[a+8>>2];j=j+1|0;if((i|0)>(j|0)){continue}break}}qa(e);return 1}function Fj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=da-16|0;da=f;H[a+4>>2]=b;H[a+8>>2]=H[b+56>>2];H[a+188>>2]=H[a+184>>2];e=H[b+48>>2];c=ra(32);b=I[1390]|I[1391]<<8|(I[1392]<<16|I[1393]<<24);F[c+15|0]=b;F[c+16|0]=b>>>8;F[c+17|0]=b>>>16;F[c+18|0]=b>>>24;b=I[1387]|I[1388]<<8|(I[1389]<<16|I[1390]<<24);d=I[1383]|I[1384]<<8|(I[1385]<<16|I[1386]<<24);F[c+8|0]=d;F[c+9|0]=d>>>8;F[c+10|0]=d>>>16;F[c+11|0]=d>>>24;F[c+12|0]=b;F[c+13|0]=b>>>8;F[c+14|0]=b>>>16;F[c+15|0]=b>>>24;b=I[1379]|I[1380]<<8|(I[1381]<<16|I[1382]<<24);d=I[1375]|I[1376]<<8|(I[1377]<<16|I[1378]<<24);F[c|0]=d;F[c+1|0]=d>>>8;F[c+2|0]=d>>>16;F[c+3|0]=d>>>24;F[c+4|0]=b;F[c+5|0]=b>>>8;F[c+6|0]=b>>>16;F[c+7|0]=b>>>24;F[c+19|0]=0;b=H[e+4>>2];a:{if(b){while(1){d=I[b+27|0];e=d<<24>>24<0;d=e?H[b+20>>2]:d;i=d>>>0<19;b:{c:{h=i?d:19;d:{e:{if(h){g=b+16|0;e=e?H[g>>2]:g;g=Ga(c,e,h);f:{if(!g){if(d>>>0<=19){break f}break b}if((g|0)<0){break b}}d=Ga(e,c,h);if(!d){break e}if((d|0)>=0){break d}break c}if(d>>>0>19){break b}}if(i){break c}}qa(c);e=H[H[a+4>>2]+48>>2];b=ra(32);H[f>>2]=b;H[f+4>>2]=19;H[f+8>>2]=-2147483616;F[b+19|0]=0;c=I[1390]|I[1391]<<8|(I[1392]<<16|I[1393]<<24);F[b+15|0]=c;F[b+16|0]=c>>>8;F[b+17|0]=c>>>16;F[b+18|0]=c>>>24;c=I[1387]|I[1388]<<8|(I[1389]<<16|I[1390]<<24);d=I[1383]|I[1384]<<8|(I[1385]<<16|I[1386]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1379]|I[1380]<<8|(I[1381]<<16|I[1382]<<24);d=I[1375]|I[1376]<<8|(I[1377]<<16|I[1378]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;j=a,k=fc(e,f,0),F[j+352|0]=k;if(F[f+11|0]>=0){break a}qa(H[f>>2]);break a}b=b+4|0}b=H[b>>2];if(b){continue}break}}qa(c);if((bb(H[H[a+4>>2]+48>>2])|0)>=6){F[a+352|0]=1;break a}F[a+352|0]=0}da=f+16|0;return 1}
function Kj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=da-16|0;da=f;H[a+4>>2]=b;H[a+8>>2]=H[b+56>>2];H[a+188>>2]=H[a+184>>2];e=H[b+48>>2];c=ra(32);b=I[1390]|I[1391]<<8|(I[1392]<<16|I[1393]<<24);F[c+15|0]=b;F[c+16|0]=b>>>8;F[c+17|0]=b>>>16;F[c+18|0]=b>>>24;b=I[1387]|I[1388]<<8|(I[1389]<<16|I[1390]<<24);d=I[1383]|I[1384]<<8|(I[1385]<<16|I[1386]<<24);F[c+8|0]=d;F[c+9|0]=d>>>8;F[c+10|0]=d>>>16;F[c+11|0]=d>>>24;F[c+12|0]=b;F[c+13|0]=b>>>8;F[c+14|0]=b>>>16;F[c+15|0]=b>>>24;b=I[1379]|I[1380]<<8|(I[1381]<<16|I[1382]<<24);d=I[1375]|I[1376]<<8|(I[1377]<<16|I[1378]<<24);F[c|0]=d;F[c+1|0]=d>>>8;F[c+2|0]=d>>>16;F[c+3|0]=d>>>24;F[c+4|0]=b;F[c+5|0]=b>>>8;F[c+6|0]=b>>>16;F[c+7|0]=b>>>24;F[c+19|0]=0;b=H[e+4>>2];a:{if(b){while(1){d=I[b+27|0];e=d<<24>>24<0;d=e?H[b+20>>2]:d;i=d>>>0<19;b:{c:{h=i?d:19;d:{e:{if(h){g=b+16|0;e=e?H[g>>2]:g;g=Ga(c,e,h);f:{if(!g){if(d>>>0<=19){break f}break b}if((g|0)<0){break b}}d=Ga(e,c,h);if(!d){break e}if((d|0)>=0){break d}break c}if(d>>>0>19){break b}}if(i){break c}}qa(c);e=H[H[a+4>>2]+48>>2];b=ra(32);H[f>>2]=b;H[f+4>>2]=19;H[f+8>>2]=-2147483616;F[b+19|0]=0;c=I[1390]|I[1391]<<8|(I[1392]<<16|I[1393]<<24);F[b+15|0]=c;F[b+16|0]=c>>>8;F[b+17|0]=c>>>16;F[b+18|0]=c>>>24;c=I[1387]|I[1388]<<8|(I[1389]<<16|I[1390]<<24);d=I[1383]|I[1384]<<8|(I[1385]<<16|I[1386]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1379]|I[1380]<<8|(I[1381]<<16|I[1382]<<24);d=I[1375]|I[1376]<<8|(I[1377]<<16|I[1378]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;j=a,k=fc(e,f,0),F[j+288|0]=k;if(F[f+11|0]>=0){break a}qa(H[f>>2]);break a}b=b+4|0}b=H[b>>2];if(b){continue}break}}qa(c);if((bb(H[H[a+4>>2]+48>>2])|0)>=6){F[a+288|0]=1;break a}F[a+288|0]=0}da=f+16|0;return 1}function lh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da-32|0;da=c;d=a- -64|0;Da(H[d>>2],b);if(H[d>>2]){H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);d=H[a+64>>2];if((d|0)>0){while(1){f=d-1|0;Fa(c,H[H[a+60>>2]+(f>>>3&536870908)>>2]>>>f&1);e=d>>>0>1;d=f;if(e){continue}break}}Ba(c,b);Aa(c)}Da(H[a+76>>2],b);if(H[a+76>>2]){H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);d=H[a+76>>2];if((d|0)>=2){while(1){f=d-2|0;Fa(c,H[H[a+72>>2]+(f>>>3&536870908)>>2]>>>f&1);e=d-1|0;Fa(c,H[H[a+72>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d>>>0>3;d=f;if(e){continue}break}}Ba(c,b);Aa(c)}Da(H[a+88>>2],b);if(H[a+88>>2]){H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);d=H[a+88>>2];if((d|0)>=3){while(1){f=d-3|0;Fa(c,H[H[a+84>>2]+(f>>>3&536870908)>>2]>>>f&1);e=d-2|0;Fa(c,H[H[a+84>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d-1|0;Fa(c,H[H[a+84>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d>>>0>5;d=f;if(e){continue}break}}Ba(c,b);Aa(c)}Da(H[a+100>>2],b);if(H[a+100>>2]){H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);d=H[a+100>>2];if((d|0)>=4){while(1){f=d-4|0;Fa(c,H[H[a+96>>2]+(f>>>3&536870908)>>2]>>>f&1);e=d-3|0;Fa(c,H[H[a+96>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d-2|0;Fa(c,H[H[a+96>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d-1|0;Fa(c,H[H[a+96>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d>>>0>7;d=f;if(e){continue}break}}Ba(c,b);Aa(c)}H[c>>2]=H[a+12>>2];d=H[b+20>>2];a:{if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}f=c+4|0;wa(b,H[b+4>>2],c,f);d=H[b+20>>2];e=H[b+16>>2];H[c>>2]=H[a+16>>2];if(!!e&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c,f)}da=c+32|0;return 1}function ah(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da-32|0;da=c;Da(H[a+48>>2],b);if(H[a+48>>2]){H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);d=H[a+48>>2];if((d|0)>0){while(1){f=d-1|0;Fa(c,H[H[a+44>>2]+(f>>>3&536870908)>>2]>>>f&1);e=d>>>0>1;d=f;if(e){continue}break}}Ba(c,b);Aa(c)}Da(H[a+60>>2],b);if(H[a+60>>2]){H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);d=H[a+60>>2];if((d|0)>=2){while(1){f=d-2|0;Fa(c,H[H[a+56>>2]+(f>>>3&536870908)>>2]>>>f&1);e=d-1|0;Fa(c,H[H[a+56>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d>>>0>3;d=f;if(e){continue}break}}Ba(c,b);Aa(c)}Da(H[a+72>>2],b);if(H[a+72>>2]){H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);d=H[a+72>>2];if((d|0)>=3){while(1){f=d-3|0;Fa(c,H[H[a+68>>2]+(f>>>3&536870908)>>2]>>>f&1);e=d-2|0;Fa(c,H[H[a+68>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d-1|0;Fa(c,H[H[a+68>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d>>>0>5;d=f;if(e){continue}break}}Ba(c,b);Aa(c)}Da(H[a+84>>2],b);if(H[a+84>>2]){H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);d=H[a+84>>2];if((d|0)>=4){while(1){f=d-4|0;Fa(c,H[H[a+80>>2]+(f>>>3&536870908)>>2]>>>f&1);e=d-3|0;Fa(c,H[H[a+80>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d-2|0;Fa(c,H[H[a+80>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d-1|0;Fa(c,H[H[a+80>>2]+(e>>>3&536870908)>>2]>>>e&1);e=d>>>0>7;d=f;if(e){continue}break}}Ba(c,b);Aa(c)}H[c>>2]=H[a+12>>2];d=H[b+20>>2];a:{if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}f=c+4|0;wa(b,H[b+4>>2],c,f);d=H[b+20>>2];e=H[b+16>>2];H[c>>2]=H[a+24>>2];if(!!e&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c,f)}da=c+32|0;return 1}function qk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;i=da-32|0;da=i;d=(e&1073741823)!=(e|0)?-1:e<<2;l=ta(ra(d),0,d);o=a+8|0;d=H[a+40>>2];g=H[d>>2];a:{h=H[d+4>>2]-g|0;if((h|0)<5){break a}f=h>>>2|0;d=f-1|0;if(d>>>0<h>>2>>>0){q=H[a+36>>2];p=H[a+32>>2];r=e&-2;s=e&1;while(1){t=N(d,e);b:{c:{g=H[(d<<2)+g>>2];if((g|0)==-1){break c}g=H[H[p+12>>2]+(g<<2)>>2];if((g|0)==-1){break c}k=H[q>>2];h=H[p>>2];m=H[k+(H[h+(g<<2)>>2]<<2)>>2];j=g+1|0;j=(j>>>0)%3|0?j:g-2|0;if((j|0)!=-1){j=H[h+(j<<2)>>2]}else{j=-1}d:{e:{if((g>>>0)%3|0){g=g-1|0;break e}g=g+2|0;n=-1;if((g|0)==-1){break d}}n=H[h+(g<<2)>>2]}if((d|0)<=(m|0)){break c}g=H[(j<<2)+k>>2];if((g|0)>=(d|0)){break c}h=H[k+(n<<2)>>2];if((h|0)>=(d|0)){break c}f:{if((e|0)<=0){break f}h=N(e,h);k=N(e,g);m=N(e,m);g=0;n=0;if((e|0)!=1){while(1){H[(g<<2)+l>>2]=(H[(g+h<<2)+b>>2]+H[(g+k<<2)+b>>2]|0)-H[(g+m<<2)+b>>2];j=g|1;H[(j<<2)+l>>2]=(H[(h+j<<2)+b>>2]+H[(j+k<<2)+b>>2]|0)-H[(j+m<<2)+b>>2];g=g+2|0;n=n+2|0;if((r|0)!=(n|0)){continue}break}}if(!s){break f}H[(g<<2)+l>>2]=(H[(g+h<<2)+b>>2]+H[(g+k<<2)+b>>2]|0)-H[(g+m<<2)+b>>2]}g=H[l>>2];h=H[l+4>>2];break b}h=(N(f-2|0,e)<<2)+b|0;g=H[h>>2];h=H[h+4>>2]}k=t<<2;m=k+b|0;j=H[m+4>>2];H[i+16>>2]=H[m>>2];H[i+20>>2]=j;H[i+8>>2]=g;H[i+12>>2]=h;_a(i+24|0,o,i+16|0,i+8|0);g=c+k|0;H[g>>2]=H[i+24>>2];H[g+4>>2]=H[i+28>>2];if((f|0)<3){break a}f=d;h=H[a+40>>2];g=H[h>>2];d=d-1|0;if(d>>>0<H[h+4>>2]-g>>2>>>0){continue}break}}ua();X()}if((e|0)>0){ta(l,0,e<<2)}a=H[l>>2];d=H[l+4>>2];e=H[b+4>>2];H[i+16>>2]=H[b>>2];H[i+20>>2]=e;H[i+8>>2]=a;H[i+12>>2]=d;_a(i+24|0,o,i+16|0,i+8|0);H[c>>2]=H[i+24>>2];H[c+4>>2]=H[i+28>>2];qa(l);da=i+32|0;return 1}function Di(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=da+-64|0;da=e;a:{b:{c:{d:{e:{f:{if(!b){break f}f=sb(c);if(f>>>0>=4294967280){break e}g:{h:{if(f>>>0>=11){g=f+16&-16;a=ra(g);H[e+56>>2]=g|-2147483648;H[e+48>>2]=a;H[e+52>>2]=f;break h}F[e+59|0]=f;a=e+48|0;if(!f){break g}}sa(a,c,f)}F[a+f|0]=0;f=sb(d);if(f>>>0>=4294967280){break d}i:{j:{if(f>>>0>=11){g=f+16&-16;a=ra(g);H[e+40>>2]=g|-2147483648;H[e+32>>2]=a;H[e+36>>2]=f;break j}F[e+43|0]=f;a=e+32|0;if(!f){break i}}sa(a,d,f)}F[a+f|0]=0;f=sb(c);if(f>>>0>=4294967280){break c}k:{l:{if(f>>>0>=11){g=f+16&-16;a=ra(g);H[e+24>>2]=g|-2147483648;H[e+16>>2]=a;H[e+20>>2]=f;break l}F[e+27|0]=f;a=e+16|0;if(!f){break k}}sa(a,c,f)}F[a+f|0]=0;c=sb(d);if(c>>>0>=4294967280){break b}m:{n:{if(c>>>0>=11){f=c+16&-16;a=ra(f);H[e+8>>2]=f|-2147483648;H[e>>2]=a;H[e+4>>2]=c;break n}F[e+11|0]=c;a=e;if(!c){break m}}sa(a,d,c)}F[a+c|0]=0;a=da-48|0;da=a;c=pb(b,e+16|0);if((c|0)!=(b+4|0)){Dc(b,c)}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;c=F[e+11|0];eb(a,(c|0)<0?H[e+4>>2]:c&255);c=I[e+11|0];d=c<<24>>24<0;sa(H[a>>2],d?H[e>>2]:e,d?H[e+4>>2]:c);o:{if(F[e+27|0]>=0){H[a+24>>2]=H[e+24>>2];c=H[e+20>>2];H[a+16>>2]=H[e+16>>2];H[a+20>>2]=c;break o}Ia(a+16|0,H[e+16>>2],H[e+20>>2])}H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;eb(a+28|0,H[a+4>>2]-H[a>>2]|0);c=H[a>>2];sa(H[a+28>>2],c,H[a+4>>2]-c|0);c=a+16|0;Cc(a+40|0,b,c,c);c=H[a+28>>2];if(c){H[a+32>>2]=c;qa(c)}if(F[a+27|0]<0){qa(H[a+16>>2])}c=H[a>>2];if(c){H[a+4>>2]=c;qa(c)}da=a+48|0;if(F[e+11|0]<0){qa(H[e>>2])}if(F[e+27|0]<0){qa(H[e+16>>2])}if(F[e+43|0]<0){qa(H[e+32>>2])}if(F[e+59|0]>=0){break f}qa(H[e+48>>2])}da=e- -64|0;a=(b|0)!=0;break a}hb();X()}hb();X()}hb();X()}hb();X()}return a|0}function Ba(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=da-32|0;da=g;d=H[a>>2];e=H[d>>2];c=H[d+4>>2];j=+(e>>>0)+ +(c>>>0)*4294967296;c=H[d+12>>2]+c|0;d=H[d+8>>2];e=d+e|0;c=e>>>0<d>>>0?c+1|0:c;d=!(c|e);j=j/(+((d?1:e)>>>0)+ +((d?0:c)>>>0)*4294967296)*256+.5;a:{if(j<4294967296&j>=0){c=~~j>>>0;break a}c=0}c=c>>>0<255?c:255;k=!(c&255)+c|0;F[g+23|0]=k;i=H[a+16>>2];n=H[a+12>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;b:{c:{c=(i-n<<1)- -64|0;if(c){if((c|0)<0){break c}h=ra(c);H[g+8>>2]=h;d=c+h|0;H[g+16>>2]=d;ta(h,0,c);H[g+12>>2]=d}c=H[a+28>>2]-1|0;if((c|0)<0){e=4096;break b}l=0-k|0;o=l&255;p=H[a+24>>2];e=4096;while(1){m=p&1<<c;d=(m?l:k)&255;if(d<<12>>>0<=e>>>0){F[f+h|0]=e;f=f+1|0;e=e>>>8|0}q=256-d|0;d=(d<<3)+12800|0;xl(H[d>>2],0,e,0);e=((m?0:o)+e|0)+N(q,ea+e>>>H[d+4>>2]|0)|0;c=c-1|0;if((c|0)>=0){continue}break}break b}va();X()}if((i|0)!=(n|0)){l=0-k|0;o=l&255;while(1){i=i-4|0;p=H[i>>2];c=31;while(1){d=c;m=p&1<<c;c=(m?l:k)&255;if(c<<12>>>0<=e>>>0){F[f+h|0]=e;f=f+1|0;e=e>>>8|0}q=256-c|0;c=(c<<3)+12800|0;xl(H[c>>2],0,e,0);e=((m?0:o)+e|0)+N(q,ea+e>>>H[c+4>>2]|0)|0;c=d-1|0;if(d){continue}break}if((i|0)!=(n|0)){continue}break}}c=e-4096|0;d:{if(c>>>0<=63){F[f+h|0]=c;f=f+1|0;break d}if(c>>>0<=16383){c=f+h|0;d=e+12288|0;F[c|0]=d;F[c+1|0]=d>>>8;f=f+2|0;break d}if(c>>>0>4194303){break d}c=f+h|0;d=e+8384512|0;F[c|0]=d;F[c+2|0]=d>>>16;F[c+1|0]=d>>>8;f=f+3|0}c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],g+23|0,g+24|0)}Da(f,b);c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],h,f+h|0)}H[g+24>>2]=0;H[g+28>>2]=0;ae(a,g+24|0);H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=H[a+12>>2];if(h){qa(h)}da=g+32|0}function Tg(a,b,c){var d=O(0),e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=O(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;o=da-16|0;da=o;a:{if(!(H[a+4>>2]!=-1|c-1>>>0>29)){H[a+4>>2]=c;f=F[b+24|0];c=0;H[a+20>>2]=0;H[o+8>>2]=0;H[o>>2]=0;H[o+4>>2]=0;if(f){if((f|0)<0){break a}c=f<<2;m=ra(c);c=ta(m,0,c)+c|0}g=H[a+8>>2];if(g){H[a+12>>2]=g;qa(g)}H[a+8>>2]=m;H[a+16>>2]=c;H[a+12>>2]=c;c=(f&1073741823)!=(f|0)?-1:f<<2;j=ra(c);c=ra(c);r=H[b+44>>2];e=c;g=H[b+48>>2];c=g;n=H[b>>2];h=H[b+40>>2];s=sa(e,c+H[n>>2]|0,h);sa(m,c+H[n>>2]|0,h);t=sa(j,c+H[n>>2]|0,h);b=H[b+80>>2];b:{if(b>>>0<2){break b}j=b;if(f){e=1;c=0;while(1){p=H[n>>2];b=xl(e,c,h,r)+g|0;p=sa(s,p+b|0,h);b=0;while(1){q=b<<2;i=q+m|0;k=q+p|0;d=L[k>>2];if(d<L[i>>2]){L[i>>2]=d;d=L[k>>2]}k=q+t|0;if(L[k>>2]<d){L[k>>2]=d}b=b+1|0;if((f|0)!=(b|0)){continue}break}m=H[a+8>>2];b=c;c=e+1|0;b=c?b:b+1|0;e=c;c=b;if((j|0)!=(e|0)|b){continue}break}break b}e=1;c=0;i=j-1|0;j=0-!j|0;u=i&1;if((b|0)!=2){q=i&-2;while(1){i=H[n>>2];b=xl(e,c,h,r)+g|0;v=sa(s,i+b|0,h);w=H[n>>2];b=c;i=e+1|0;b=i?b:b+1|0;b=xl(h,r,i,b)+g|0;sa(v,w+b|0,h);b=e+2|0;c=b>>>0<2?c+1|0:c;e=b;b=p+2|0;k=b>>>0<2?k+1|0:k;p=b;if((q|0)!=(b|0)|(j|0)!=(k|0)){continue}break}}if(!(u|x)){break b}j=H[n>>2];b=xl(e,c,h,r)+g|0;sa(s,j+b|0,h)}c=1;c:{d:{e:{if((f|0)>0){d=L[m>>2];if(d!=d|O(P(d))==O(Z)){break c}b=0;break e}d=L[a+20>>2];c=0;break d}while(1){l=L[(b<<2)+t>>2];if(l!=l|O(P(l))==O(Z)){break c}l=O(l-d);d=L[a+20>>2];if(l>d){L[a+20>>2]=l;d=l}b=b+1|0;c=(f|0)>(b|0);if((b|0)==(f|0)){break d}d=L[(b<<2)+m>>2];if(d!=d){break c}if(O(P(d))!=O(Z)){continue}break}break c}if(d!=O(0)){break c}H[a+20>>2]=1065353216}qa(s);qa(t);g=c^1}da=o+16|0;return g&1}va();X()}function Bk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=da-32|0;da=h;d=(e&1073741823)!=(e|0)?-1:e<<2;l=ta(ra(d),0,d);p=a+8|0;d=H[a+40>>2];g=H[d>>2];a:{n=H[d+4>>2]-g|0;if((n|0)<5){break a}f=n>>>2|0;d=f-1|0;if(d>>>0<n>>2>>>0){q=H[a+36>>2];n=H[a+32>>2];r=e&-2;s=e&1;while(1){t=N(d,e);b:{c:{g=H[(d<<2)+g>>2];if((g|0)==-1|H[H[n>>2]+(g>>>3&536870908)>>2]>>>g&1){break c}g=H[H[H[n+64>>2]+12>>2]+(g<<2)>>2];if((g|0)==-1){break c}k=H[q>>2];i=H[n+28>>2];m=H[k+(H[i+(g<<2)>>2]<<2)>>2];if((m|0)>=(d|0)){break c}j=g+1|0;j=H[k+(H[i+(((j>>>0)%3|0?j:g-2|0)<<2)>>2]<<2)>>2];if((j|0)>=(d|0)){break c}g=H[k+(H[i+(g+((g>>>0)%3|0?-1:2)<<2)>>2]<<2)>>2];if((g|0)>=(d|0)){break c}d:{if((e|0)<=0){break d}i=N(e,g);k=N(e,j);m=N(e,m);g=0;o=0;if((e|0)!=1){while(1){H[(g<<2)+l>>2]=(H[(g+i<<2)+b>>2]+H[(g+k<<2)+b>>2]|0)-H[(g+m<<2)+b>>2];j=g|1;H[(j<<2)+l>>2]=(H[(i+j<<2)+b>>2]+H[(j+k<<2)+b>>2]|0)-H[(j+m<<2)+b>>2];g=g+2|0;o=o+2|0;if((r|0)!=(o|0)){continue}break}}if(!s){break d}H[(g<<2)+l>>2]=(H[(g+i<<2)+b>>2]+H[(g+k<<2)+b>>2]|0)-H[(g+m<<2)+b>>2]}g=H[l>>2];i=H[l+4>>2];break b}i=(N(f-2|0,e)<<2)+b|0;g=H[i>>2];i=H[i+4>>2]}k=t<<2;m=k+b|0;j=H[m+4>>2];H[h+16>>2]=H[m>>2];H[h+20>>2]=j;H[h+8>>2]=g;H[h+12>>2]=i;_a(h+24|0,p,h+16|0,h+8|0);g=c+k|0;H[g>>2]=H[h+24>>2];H[g+4>>2]=H[h+28>>2];if((f|0)<3){break a}f=d;i=H[a+40>>2];g=H[i>>2];d=d-1|0;if(d>>>0<H[i+4>>2]-g>>2>>>0){continue}break}}ua();X()}if((e|0)>0){ta(l,0,e<<2)}a=H[l>>2];d=H[l+4>>2];e=H[b+4>>2];H[h+16>>2]=H[b>>2];H[h+20>>2]=e;H[h+8>>2]=a;H[h+12>>2]=d;_a(h+24|0,p,h+16|0,h+8|0);H[c>>2]=H[h+24>>2];H[c+4>>2]=H[h+28>>2];qa(l);da=h+32|0;return 1}function Xe(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=da-16|0;da=k;H[k+8>>2]=c;e=H[a+12>>2];d=H[a+8>>2];f=e-d>>2;a:{if((f|0)>(b|0)){break a}h=b+1|0;if(h>>>0>f>>>0){f=h-f|0;g=H[a+16>>2];d=H[a+12>>2];if(f>>>0<=g-d>>2>>>0){if(f){e=d;d=f<<2;d=ta(e,0,d)+d|0}H[a+12>>2]=d;break a}b:{c:{d:{h=H[a+8>>2];i=d-h>>2;e=i+f|0;if(e>>>0<1073741824){g=g-h|0;l=g>>1;g=g>>>0<2147483644?e>>>0>l>>>0?e:l:1073741823;if(g){if(g>>>0>=1073741824){break d}j=ra(g<<2)}e=(i<<2)+j|0;i=f<<2;f=ta(e,0,i);i=f+i|0;g=(g<<2)+j|0;if((d|0)==(h|0)){break c}while(1){d=d-4|0;f=H[d>>2];H[d>>2]=0;e=e-4|0;H[e>>2]=f;if((d|0)!=(h|0)){continue}break}H[a+16>>2]=g;f=H[a+12>>2];H[a+12>>2]=i;d=H[a+8>>2];H[a+8>>2]=e;if((d|0)==(f|0)){break b}while(1){f=f-4|0;e=H[f>>2];H[f>>2]=0;if(e){Pa(e)}if((d|0)!=(f|0)){continue}break}break b}va();X()}ya(1604);X()}H[a+16>>2]=g;H[a+12>>2]=i;H[a+8>>2]=f}if(d){qa(d)}break a}if(f>>>0<=h>>>0){break a}d=d+(h<<2)|0;if((d|0)!=(e|0)){while(1){e=e-4|0;c=H[e>>2];H[e>>2]=0;if(c){Pa(c)}if((d|0)!=(e|0)){continue}break}c=H[k+8>>2]}H[a+12>>2]=d}e:{f:{d=H[c+56>>2];g:{if((d|0)>4){break g}e=N(d,12)+a|0;d=H[e+24>>2];if((d|0)!=H[e+28>>2]){H[d>>2]=b;H[e+24>>2]=d+4;break g}h=H[e+20>>2];f=d-h|0;j=f>>2;d=j+1|0;if(d>>>0>=1073741824){break f}g=f>>1;g=f>>>0<2147483644?d>>>0>g>>>0?d:g:1073741823;if(g){if(g>>>0>=1073741824){break e}d=ra(g<<2)}else{d=0}j=d+(j<<2)|0;H[j>>2]=b;if((f|0)>0){sa(d,h,f)}H[e+20>>2]=d;H[e+24>>2]=j+4;H[e+28>>2]=d+(g<<2);if(!h){break g}qa(h)}H[c+60>>2]=b;a=H[a+8>>2];H[k+8>>2]=0;b=a+(b<<2)|0;a=H[b>>2];H[b>>2]=c;if(a){Pa(a)}a=H[k+8>>2];H[k+8>>2]=0;if(a){Pa(a)}da=k+16|0;return}va();X()}ya(1604);X()}function lf(a,b,c,d){var e=0,f=0,g=0,h=0,i=O(0),j=0,k=0,l=O(0);j=H[c>>2];g=j^318;a:{b:{f=H[b+4>>2];if(!f){break b}h=Al(f);c:{if(h>>>0>=2){e=g;if(f>>>0<=e>>>0){e=(g>>>0)%(f>>>0)|0}c=H[H[b>>2]+(e<<2)>>2];if(!c){break b}if(h>>>0<=1){break c}while(1){c=H[c>>2];if(!c){break b}h=H[c+4>>2];if((h|0)!=(g|0)){if(f>>>0<=h>>>0){h=(h>>>0)%(f>>>0)|0}if((e|0)!=(h|0)){break b}}if(H[c+8>>2]!=(j|0)){continue}break}b=0;break a}e=f-1&g;c=H[H[b>>2]+(e<<2)>>2];if(!c){break b}}h=f-1|0;while(1){c=H[c>>2];if(!c){break b}k=H[c+4>>2];if((k|0)!=(g|0)&(h&k)!=(e|0)){break b}if(H[c+8>>2]!=(j|0)){continue}break}b=0;break a}c=ra(16);H[c+8>>2]=H[d>>2];d=H[d+4>>2];H[c+4>>2]=g;H[c+12>>2]=d;H[c>>2]=0;i=O(H[b+12>>2]+1>>>0);l=L[b+16>>2];d:{if(i>O(l*O(f>>>0))?0:f){break d}h=(f-1&f)!=0|f>>>0<3|f<<1;d=2;i=O(U(O(i/l)));e:{if(i<O(4294967296)&i>=O(0)){e=~~i>>>0;break e}e=0}e=e>>>0>h>>>0?e:h;f:{if((e|0)==1){break f}if(!(e&e-1)){d=e;break f}d=Ja(e);f=H[b+4>>2]}g:{if(d>>>0<=f>>>0){if(d>>>0>=f>>>0){break g}h=f>>>0<3;i=O(U(O(O(K[b+12>>2])/L[b+16>>2])));h:{if(i<O(4294967296)&i>=O(0)){e=~~i>>>0;break h}e=0}i:{j:{if(h){break j}if(Al(f)>>>0>1){break j}e=e>>>0<2?e:1<<32-Q(e-1|0);break i}e=Ja(e)}d=d>>>0<e>>>0?e:d;if(f>>>0<=d>>>0){break g}}$e(b,d)}f=H[b+4>>2];d=f-1|0;if(!(d&f)){e=d&g;break d}if(f>>>0>g>>>0){e=g;break d}e=(g>>>0)%(f>>>0)|0}g=H[b>>2]+(e<<2)|0;d=H[g>>2];k:{if(!d){H[c>>2]=H[b+8>>2];H[b+8>>2]=c;H[g>>2]=b+8;d=H[c>>2];if(!d){break k}d=H[d+4>>2];g=f-1|0;l:{if(!(g&f)){d=d&g;break l}if(d>>>0<f>>>0){break l}d=(d>>>0)%(f>>>0)|0}H[H[b>>2]+(d<<2)>>2]=c;break k}H[c>>2]=H[d>>2];H[d>>2]=c}H[b+12>>2]=H[b+12>>2]+1;b=1}F[a+4|0]=b;H[a>>2]=c}function Vf(a,b,c,d){var e=0,f=0,g=0,h=0,i=O(0),j=0,k=O(0);h=H[c>>2];a:{b:{e=H[b+4>>2];if(!e){break b}g=Al(e);c:{if(g>>>0>=2){f=h;if(f>>>0>=e>>>0){f=(h>>>0)%(e>>>0)|0}c=H[H[b>>2]+(f<<2)>>2];if(!c){break b}if(g>>>0<=1){break c}while(1){c=H[c>>2];if(!c){break b}g=H[c+4>>2];if((g|0)!=(h|0)){if(e>>>0<=g>>>0){g=(g>>>0)%(e>>>0)|0}if((f|0)!=(g|0)){break b}}if(H[c+8>>2]!=(h|0)){continue}break}b=0;break a}f=e-1&h;c=H[H[b>>2]+(f<<2)>>2];if(!c){break b}}g=e-1|0;while(1){c=H[c>>2];if(!c){break b}j=H[c+4>>2];if((j|0)!=(h|0)&(g&j)!=(f|0)){break b}if(H[c+8>>2]!=(h|0)){continue}break}b=0;break a}c=ra(16);d=H[H[d>>2]>>2];H[c+12>>2]=0;H[c+8>>2]=d;H[c+4>>2]=h;H[c>>2]=0;k=O(H[b+12>>2]+1>>>0);i=L[b+16>>2];d:{if(k>O(i*O(e>>>0))?0:e){break d}g=(e-1&e)!=0|e>>>0<3|e<<1;f=2;i=O(U(O(k/i)));e:{if(i<O(4294967296)&i>=O(0)){d=~~i>>>0;break e}d=0}d=d>>>0>g>>>0?d:g;f:{if((d|0)==1){break f}if(!(d&d-1)){f=d;break f}f=Ja(d);e=H[b+4>>2]}g:{if(e>>>0>=f>>>0){if(e>>>0<=f>>>0){break g}g=e>>>0<3;i=O(U(O(O(K[b+12>>2])/L[b+16>>2])));h:{if(i<O(4294967296)&i>=O(0)){d=~~i>>>0;break h}d=0}i:{j:{if(g){break j}if(Al(e)>>>0>1){break j}d=d>>>0<2?d:1<<32-Q(d-1|0);break i}d=Ja(d)}f=d>>>0>f>>>0?d:f;if(f>>>0>=e>>>0){break g}}$e(b,f)}e=H[b+4>>2];d=e-1|0;if(!(d&e)){f=d&h;break d}if(e>>>0>h>>>0){f=h;break d}f=(h>>>0)%(e>>>0)|0}f=H[b>>2]+(f<<2)|0;d=H[f>>2];k:{if(!d){H[c>>2]=H[b+8>>2];H[b+8>>2]=c;H[f>>2]=b+8;d=H[c>>2];if(!d){break k}d=H[d+4>>2];f=e-1|0;l:{if(!(f&e)){d=d&f;break l}if(d>>>0<e>>>0){break l}d=(d>>>0)%(e>>>0)|0}H[H[b>>2]+(d<<2)>>2]=c;break k}H[c>>2]=H[d>>2];H[d>>2]=c}H[b+12>>2]=H[b+12>>2]+1;b=1}F[a+4|0]=b;H[a>>2]=c}function Wk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;H[a+8>>2]=e;H[a- -64>>2]=f;g=a+32|0;f=H[g>>2];h=H[a+36>>2]-f>>2;a:{if(h>>>0<e>>>0){Ea(g,e-h|0);break a}if(e>>>0>=h>>>0){break a}H[a+36>>2]=f+(e<<2)}b:{if(!d){break b}f=H[b>>2];c:{if((d|0)<2){d=f;break c}i=1;g=d-1|0;j=g&1;d:{if((d|0)==2){d=f;break d}n=g&-2;g=0;d=f;while(1){h=(i<<2)+b|0;k=H[h+4>>2];l=H[h>>2];o=(l|0)<(d|0);d=o?l:d;h=(d|0)>(k|0);d=h?k:d;f=o?f:(f|0)<(l|0)?l:f;f=h?f:(f|0)<(k|0)?k:f;i=i+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}if(!j){break c}h=H[(i<<2)+b>>2];g=(h|0)<(d|0);d=g?h:d;f=g?f:(f|0)<(h|0)?h:f}H[a+16>>2]=f;H[a+12>>2]=d;g=(f>>31)-((d>>31)+(d>>>0>f>>>0)|0)|0;d=f-d|0;if(!g&d>>>0>2147483646|g){break b}f=d+1|0;H[a+20>>2]=f;d=f>>>1|0;H[a+24>>2]=d;H[a+28>>2]=0-d;if(f&1){break b}H[a+24>>2]=d-1}f=H[a+56>>2];d=H[f>>2];e:{f=H[f+4>>2]-d|0;if((f|0)<=0){break e}n=f>>>2|0;i=n-1|0;if(i>>>0<f>>2>>>0){k=a+60|0;h=a+68|0;while(1){hh(k,H[(i<<2)+d>>2],b,i);d=H[a+8>>2];if((d|0)>0){f=N(e,i)<<2;l=f+c|0;o=b+f|0;p=0;g=h;while(1){j=H[a+32>>2];f=0;if((d|0)>0){while(1){m=f<<2;q=H[m+g>>2];d=H[a+16>>2];f:{if((q|0)>(d|0)){H[j+m>>2]=d;break f}m=j+m|0;d=H[a+12>>2];if((d|0)>(q|0)){H[m>>2]=d;break f}H[m>>2]=q}f=f+1|0;if((f|0)<H[a+8>>2]){continue}break}}f=p<<2;d=f+l|0;f=H[f+o>>2]-H[f+j>>2]|0;H[d>>2]=f;g:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break g}f=f-H[a+20>>2]|0}H[d>>2]=f}g=j;d=H[a+8>>2];p=p+1|0;if((d|0)>(p|0)){continue}break}}if((n|0)<2){break e}n=i;f=H[a+56>>2];d=H[f>>2];i=i-1|0;if(i>>>0<H[f+4>>2]-d>>2>>>0){continue}break}}ua();X()}return 1}function Mk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;H[a+8>>2]=e;H[a- -64>>2]=f;g=a+32|0;f=H[g>>2];h=H[a+36>>2]-f>>2;a:{if(h>>>0<e>>>0){Ea(g,e-h|0);break a}if(e>>>0>=h>>>0){break a}H[a+36>>2]=f+(e<<2)}b:{if(!d){break b}f=H[b>>2];c:{if((d|0)<2){d=f;break c}i=1;g=d-1|0;j=g&1;d:{if((d|0)==2){d=f;break d}n=g&-2;g=0;d=f;while(1){h=(i<<2)+b|0;k=H[h+4>>2];l=H[h>>2];o=(l|0)<(d|0);d=o?l:d;h=(d|0)>(k|0);d=h?k:d;f=o?f:(f|0)<(l|0)?l:f;f=h?f:(f|0)<(k|0)?k:f;i=i+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}if(!j){break c}h=H[(i<<2)+b>>2];g=(h|0)<(d|0);d=g?h:d;f=g?f:(f|0)<(h|0)?h:f}H[a+16>>2]=f;H[a+12>>2]=d;g=(f>>31)-((d>>31)+(d>>>0>f>>>0)|0)|0;d=f-d|0;if(!g&d>>>0>2147483646|g){break b}f=d+1|0;H[a+20>>2]=f;d=f>>>1|0;H[a+24>>2]=d;H[a+28>>2]=0-d;if(f&1){break b}H[a+24>>2]=d-1}f=H[a+56>>2];d=H[f>>2];e:{f=H[f+4>>2]-d|0;if((f|0)<=0){break e}n=f>>>2|0;i=n-1|0;if(i>>>0<f>>2>>>0){k=a+60|0;h=a+68|0;while(1){ch(k,H[(i<<2)+d>>2],b,i);d=H[a+8>>2];if((d|0)>0){f=N(e,i)<<2;l=f+c|0;o=b+f|0;p=0;g=h;while(1){j=H[a+32>>2];f=0;if((d|0)>0){while(1){m=f<<2;q=H[m+g>>2];d=H[a+16>>2];f:{if((q|0)>(d|0)){H[j+m>>2]=d;break f}m=j+m|0;d=H[a+12>>2];if((d|0)>(q|0)){H[m>>2]=d;break f}H[m>>2]=q}f=f+1|0;if((f|0)<H[a+8>>2]){continue}break}}f=p<<2;d=f+l|0;f=H[f+o>>2]-H[f+j>>2]|0;H[d>>2]=f;g:{if((f|0)<H[a+28>>2]){f=f+H[a+20>>2]|0}else{if((f|0)<=H[a+24>>2]){break g}f=f-H[a+20>>2]|0}H[d>>2]=f}g=j;d=H[a+8>>2];p=p+1|0;if((d|0)>(p|0)){continue}break}}if((n|0)<2){break e}n=i;f=H[a+56>>2];d=H[f>>2];i=i-1|0;if(i>>>0<H[f+4>>2]-d>>2>>>0){continue}break}}ua();X()}return 1}function $d(a){var b=0,c=0,d=0,e=0;e=da-16|0;da=e;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=a+4;b=a+16|0;H[b>>2]=0;H[b+4>>2]=0;H[a+12>>2]=b;a=a+24|0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=a+4;b=ra(32);H[e>>2]=b;H[e+4>>2]=20;H[e+8>>2]=-2147483616;F[b+20|0]=0;c=I[1471]|I[1472]<<8|(I[1473]<<16|I[1474]<<24);F[b+16|0]=c;F[b+17|0]=c>>>8;F[b+18|0]=c>>>16;F[b+19|0]=c>>>24;c=I[1467]|I[1468]<<8|(I[1469]<<16|I[1470]<<24);d=I[1463]|I[1464]<<8|(I[1465]<<16|I[1466]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1459]|I[1460]<<8|(I[1461]<<16|I[1462]<<24);d=I[1455]|I[1456]<<8|(I[1457]<<16|I[1458]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;tb(a,e,1);if(F[e+11|0]<0){qa(H[e>>2])}b=ra(32);H[e>>2]=b;H[e+4>>2]=22;H[e+8>>2]=-2147483616;F[b+22|0]=0;c=I[1450]|I[1451]<<8|(I[1452]<<16|I[1453]<<24);d=I[1446]|I[1447]<<8|(I[1448]<<16|I[1449]<<24);F[b+14|0]=d;F[b+15|0]=d>>>8;F[b+16|0]=d>>>16;F[b+17|0]=d>>>24;F[b+18|0]=c;F[b+19|0]=c>>>8;F[b+20|0]=c>>>16;F[b+21|0]=c>>>24;c=I[1444]|I[1445]<<8|(I[1446]<<16|I[1447]<<24);d=I[1440]|I[1441]<<8|(I[1442]<<16|I[1443]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1436]|I[1437]<<8|(I[1438]<<16|I[1439]<<24);d=I[1432]|I[1433]<<8|(I[1434]<<16|I[1435]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;tb(a,e,1);if(F[e+11|0]<0){qa(H[e>>2])}da=e+16|0}function Kc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=da-112|0;da=c;d=ra(120);i=H[a+8>>2];H[d+12>>2]=0;H[d+16>>2]=0;H[d>>2]=11240;H[d+4>>2]=0;H[d+20>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;H[d+40>>2]=0;H[d+44>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d+56>>2]=0;H[d+60>>2]=0;H[d+8>>2]=11452;f=d- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[d+72>>2]=0;H[d+76>>2]=0;H[d+80>>2]=0;H[d+84>>2]=0;H[d+88>>2]=0;H[d+116>>2]=0;H[d+112>>2]=b;H[d+108>>2]=i;H[d+104>>2]=0;H[d+96>>2]=0;H[d+100>>2]=0;f=H[a+12>>2];H[c+48>>2]=0;H[c+52>>2]=0;H[c+40>>2]=0;H[c+44>>2]=0;g=c+32|0;H[g>>2]=0;H[g+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;e=c- -64|0;H[e>>2]=0;H[e+4>>2]=0;H[c+72>>2]=0;H[c+76>>2]=0;H[c+80>>2]=0;H[c+84>>2]=0;H[c+88>>2]=0;H[c+104>>2]=0;H[c+56>>2]=0;H[c+60>>2]=0;H[c+8>>2]=11452;H[c+96>>2]=0;H[c+100>>2]=0;H[c+12>>2]=f;e=H[f>>2];h=H[f+4>>2];F[c+111|0]=0;j=g;g=c+111|0;Ra(j,(h-e>>2>>>0)/3|0,g);e=H[c+12>>2];h=H[e+28>>2];e=H[e+24>>2];F[c+111|0]=0;Ra(c+44|0,h-e>>2,g);H[c+28>>2]=d;H[c+24>>2]=i;H[c+20>>2]=b;H[c+16>>2]=f;H[d+116>>2]=a+72;b=d+8|0;a=c+8|0;Jc(b,a);a:{if((a|0)==(b|0)){H[d+92>>2]=H[a+84>>2];break a}hc(d+56|0,H[a+48>>2],H[a+52>>2]);hc(d+68|0,H[a+60>>2],H[a- -64>>2]);hc(d+80|0,H[a+72>>2],H[a+76>>2]);H[d+92>>2]=H[a+84>>2];db(d+96|0,H[a+88>>2],H[a+92>>2])}H[c+8>>2]=11452;a=H[c+96>>2];if(a){H[c+100>>2]=a;qa(a)}a=H[c+80>>2];if(a){H[c+84>>2]=a;qa(a)}a=H[c+68>>2];if(a){H[c+72>>2]=a;qa(a)}a=H[c+56>>2];if(a){H[c+60>>2]=a;qa(a)}H[c+8>>2]=11688;a=H[c+44>>2];if(a){qa(a)}a=H[c+32>>2];if(a){qa(a)}da=c+112|0;return d}function gf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=H[a+8>>2];g=H[a+4>>2];if((e-g|0)/12>>>0>=b>>>0){a:{if(!b){break a}d=g;e=N(b,12)-12|0;f=((e>>>0)/12|0)+1&3;if(f){while(1){j=H[c+4>>2];H[d>>2]=H[c>>2];H[d+4>>2]=j;H[d+8>>2]=H[c+8>>2];d=d+12|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}g=N(b,12)+g|0;if(e>>>0<36){break a}while(1){b=H[c+4>>2];H[d>>2]=H[c>>2];H[d+4>>2]=b;H[d+8>>2]=H[c+8>>2];H[d+20>>2]=H[c+8>>2];b=H[c+4>>2];H[d+12>>2]=H[c>>2];H[d+16>>2]=b;H[d+32>>2]=H[c+8>>2];b=H[c+4>>2];H[d+24>>2]=H[c>>2];H[d+28>>2]=b;b=H[c+4>>2];H[d+36>>2]=H[c>>2];H[d+40>>2]=b;H[d+44>>2]=H[c+8>>2];d=d+48|0;if((g|0)!=(d|0)){continue}break}}H[a+4>>2]=g;return}b:{f=H[a>>2];i=(g-f|0)/12|0;d=i+b|0;if(d>>>0<357913942){e=(e-f|0)/12|0;f=e<<1;f=e>>>0<178956970?d>>>0>f>>>0?d:f:357913941;if(f){if(f>>>0>=357913942){break b}j=ra(N(f,12))}e=N(i,12)+j|0;d=e;b=N(b,12);i=b-12|0;k=((i>>>0)/12|0)+1&3;if(k){d=e;while(1){l=H[c+4>>2];H[d>>2]=H[c>>2];H[d+4>>2]=l;H[d+8>>2]=H[c+8>>2];d=d+12|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}h=b+e|0;if(i>>>0>=36){while(1){b=H[c+4>>2];H[d>>2]=H[c>>2];H[d+4>>2]=b;H[d+8>>2]=H[c+8>>2];H[d+20>>2]=H[c+8>>2];b=H[c+4>>2];H[d+12>>2]=H[c>>2];H[d+16>>2]=b;H[d+32>>2]=H[c+8>>2];b=H[c+4>>2];H[d+24>>2]=H[c>>2];H[d+28>>2]=b;b=H[c+4>>2];H[d+36>>2]=H[c>>2];H[d+40>>2]=b;H[d+44>>2]=H[c+8>>2];d=d+48|0;if((h|0)!=(d|0)){continue}break}}b=H[a>>2];c=g-b|0;d=e+N((c|0)/-12|0,12)|0;if((c|0)>0){sa(d,b,c)}H[a+8>>2]=N(f,12)+j;H[a+4>>2]=h;H[a>>2]=d;if(b){qa(b)}return}va();X()}ya(1604);X()}function Hg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{c:{d:{e:{l=a+4|0;f:{if((l|0)==(b|0)){break f}f=I[b+27|0];h=f<<24>>24<0;i=I[e+11|0];n=i<<24>>24;g=(n|0)<0;f=h?H[b+20>>2]:f;i=g?H[e+4>>2]:i;j=f>>>0<i>>>0;k=j?f:i;if(k){g=g?H[e>>2]:e;m=b+16|0;h=h?H[m>>2]:m;m=Ga(g,h,k);if(!m){if(f>>>0>i>>>0){break f}break e}if((m|0)>=0){break e}break f}if(f>>>0<=i>>>0){break d}}h=H[b>>2];d=b;g:{h:{if(H[a>>2]==(b|0)){break h}i:{if(h){f=h;while(1){d=f;f=H[f+4>>2];if(f){continue}break}break i}d=b+8|0;if(H[H[b+8>>2]>>2]==(b|0)){while(1){f=H[d>>2];d=f+8|0;if((f|0)==H[H[f+8>>2]>>2]){continue}break}}d=H[d>>2]}g=I[e+11|0];f=g<<24>>24<0;j=I[d+27|0];i=j<<24>>24<0;j:{g=f?H[e+4>>2]:g;j=i?H[d+20>>2]:j;k=g>>>0<j>>>0?g:j;if(k){l=d+16|0;f=Ga(i?H[l>>2]:l,f?H[e>>2]:e,k);if(f){break j}}if(g>>>0>j>>>0){break h}break g}if((f|0)>=0){break g}}if(!h){H[c>>2]=b;return b}H[c>>2]=d;return d+4|0}return Gg(a,c,e)}f=Ga(h,g,k);if(f){break c}}if(j){break b}break a}if((f|0)>=0){break a}}h=H[b+4>>2];k:{if(h){f=h;while(1){d=f;f=H[f>>2];if(f){continue}break}break k}d=H[b+8>>2];if(H[d>>2]==(b|0)){break k}f=b+8|0;while(1){g=H[f>>2];f=g+8|0;d=H[g+8>>2];if((g|0)!=H[d>>2]){continue}break}}l:{m:{if((d|0)==(l|0)){break m}g=I[d+27|0];f=g<<24>>24<0;n:{g=f?H[d+20>>2]:g;j=g>>>0<i>>>0?g:i;if(j){k=d+16|0;f=Ga((n|0)<0?H[e>>2]:e,f?H[k>>2]:k,j);if(f){break n}}if(g>>>0>i>>>0){break m}break l}if((f|0)>=0){break l}}if(!h){H[c>>2]=b;return b+4|0}H[c>>2]=d;return d}return Gg(a,c,e)}H[c>>2]=b;H[d>>2]=b;return d}function Ue(a,b){var 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;a:{b:{if(b){if(b>>>0>=1073741824){break a}d=ra(b<<2);e=H[a>>2];H[a>>2]=d;if(e){qa(e)}H[a+4>>2]=b;if(b-1>>>0>=3){f=b&-4;e=0;while(1){d=c<<2;H[d+H[a>>2]>>2]=0;H[H[a>>2]+(d|4)>>2]=0;H[H[a>>2]+(d|8)>>2]=0;H[H[a>>2]+(d|12)>>2]=0;c=c+4|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}e=b&3;if(e){while(1){H[H[a>>2]+(c<<2)>>2]=0;c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=H[a+8>>2];if(!f){break b}e=a+8|0;g=H[f+4>>2];d=Al(b);c:{if(d>>>0<=1){g=b-1&g;break c}if(b>>>0>g>>>0){break c}g=(g>>>0)%(b>>>0)|0}H[H[a>>2]+(g<<2)>>2]=e;e=H[f>>2];if(!e){break b}q=b-1|0;r=d>>>0>1;while(1){c=H[e+4>>2];d:{if(!r){c=c&q;break d}if(b>>>0>c>>>0){break d}c=(c>>>0)%(b>>>0)|0}e:{if((c|0)==(g|0)){f=e;break e}f:{g:{k=c<<2;d=k+H[a>>2]|0;if(H[d>>2]){j=0;c=H[e>>2];if(!c){d=e;break f}d=H[a+24>>2];m=H[d+8>>2];d=H[d+12>>2]-m|0;if((d|0)<=0){break g}l=d>>2;s=(l|0)>1?l:1;n=H[e+8>>2];d=e;while(1){j=c;o=H[c+8>>2];c=0;p=1;while(1){i=o;h=H[(c<<2)+m>>2];if(I[h+84|0]){h=n}else{h=H[h+68>>2];i=H[h+(o<<2)>>2];h=H[h+(n<<2)>>2]}if((h|0)==(i|0)){c=c+1|0;p=(l|0)>(c|0);if((c|0)!=(s|0)){continue}}break}if(p){break f}d=j;c=H[d>>2];if(c){continue}break}j=0;break f}H[d>>2]=f;f=e;g=c;break e}while(1){d=c;c=H[c>>2];if(c){continue}break}}H[f>>2]=j;H[d>>2]=H[H[H[a>>2]+k>>2]>>2];H[H[H[a>>2]+k>>2]>>2]=e}e=H[f>>2];if(e){continue}break}break b}b=H[a>>2];H[a>>2]=0;if(b){qa(b)}H[a+4>>2]=0}return}ya(1604);X()}function se(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=da-32|0;da=g;n=a+4|0;a=pb(a,b);a:{if((n|0)==(a|0)){break a}b:{if(F[a+39|0]>=0){H[g+24>>2]=H[a+36>>2];b=H[a+32>>2];H[g+16>>2]=H[a+28>>2];H[g+20>>2]=b;break b}Ia(g+16|0,H[a+28>>2],H[a+32>>2])}b=I[g+27|0];a=b<<24>>24;if(!(!((a|0)<0?H[g+20>>2]:b)|(c|0)<=0)){b=0;a=(a|0)<0?H[g+16>>2]:g+16|0;while(1){c:{m=da-16|0;da=m;Ne(m,a,g+12|0,0);h=H[m>>2];l=H[m+4>>2];i=da-32|0;da=i;o=H[m+12>>2];j=o&2147483647;f=j;e=f-1065418752|0;k=f-1082064896|0;j=H[m+8>>2];d:{if((e|0)==(k|0)&j>>>0<j>>>0|e>>>0<k>>>0){f=(o&33554431)<<7|j>>>25;e=0;n=e;k=j&33554431;if(!(!e&(k|0)==16777216?!(h|l):!e&k>>>0<16777216)){e=f+1073741825|0;break d}e=f+1073741824|0;if(k^16777216|h|(l|n)){break d}e=(f&1)+e|0;break d}if(!(!j&(f|0)==2147418112?!(h|l):f>>>0<2147418112)){e=((o&33554431)<<7|j>>>25)&4194303|2143289344;break d}e=2139095040;if(f>>>0>1082064895){break d}e=0;f=f>>>16|0;if(f>>>0<16145){break d}e=o&65535|65536;Ta(i+16|0,h,l,j,e,f-16129|0);Jb(i,h,l,j,e,16257-f|0);h=H[i+8>>2];e=(H[i+12>>2]&33554431)<<7|h>>>25;k=H[i>>2]|(H[i+16>>2]|H[i+24>>2]|(H[i+20>>2]|H[i+28>>2]))!=0;l=H[i+4>>2];f=0;h=h&33554431;if(!(!f&(h|0)==16777216?!(k|l):!f&h>>>0<16777216)){e=e+1|0;break d}if(h^16777216|k|(f|l)){break d}e=(e&1)+e|0}da=i+32|0;da=m+16|0;n=a;a=H[g+12>>2];if((n|0)==(a|0)){break c}H[(b<<2)+d>>2]=o&-2147483648|e;b=b+1|0;if((c|0)!=(b|0)){continue}}break}a=I[g+27|0]}if(a<<24>>24>=0){break a}qa(H[g+16>>2])}da=g+32|0}function wa(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=d-c|0;if((h|0)<=0){return}a:{f=H[a+8>>2];i=H[a+4>>2];if((h|0)<=(f-i|0)){j=i-b|0;if((j|0)>=(h|0)){g=i;f=d;break a}g=i;f=c+j|0;if((f|0)!=(d|0)){e=f;while(1){F[g|0]=I[e|0];g=g+1|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}}H[a+4>>2]=g;if((j|0)>0){break a}return}e=H[a>>2];d=h+(i-e|0)|0;if((d|0)>=0){g=b-e|0;f=f-e|0;j=f<<1;f=f>>>0<1073741823?d>>>0>j>>>0?d:j:2147483647;if(f){d=ra(f)}else{d=0}c=sa(g+d|0,c,h);if((g|0)>0){sa(d,e,g)}c=c+h|0;if((b|0)!=(i|0)){g=(b^-1)+i|0;h=i-b&7;if(h){e=0;while(1){F[c|0]=I[b|0];c=c+1|0;b=b+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(g>>>0>=7){while(1){F[c|0]=I[b|0];F[c+1|0]=I[b+1|0];F[c+2|0]=I[b+2|0];F[c+3|0]=I[b+3|0];F[c+4|0]=I[b+4|0];F[c+5|0]=I[b+5|0];F[c+6|0]=I[b+6|0];F[c+7|0]=I[b+7|0];c=c+8|0;b=b+8|0;if((i|0)!=(b|0)){continue}break}}e=H[a>>2]}H[a+8>>2]=d+f;H[a+4>>2]=c;H[a>>2]=d;if(e){qa(e)}return}va();X()}e=g;d=e-h|0;if(i>>>0>d>>>0){while(1){F[e|0]=I[d|0];e=e+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}}H[a+4>>2]=e;a=g-(b+h|0)|0;if(a){xa(g-a|0,b,a)}if((c|0)==(f|0)){return}a=(c^-1)+f|0;g=f-c&7;b:{if(!g){e=b;break b}d=0;e=b;while(1){F[e|0]=I[c|0];e=e+1|0;c=c+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(a>>>0<7){return}while(1){F[e|0]=I[c|0];F[e+1|0]=I[c+1|0];F[e+2|0]=I[c+2|0];F[e+3|0]=I[c+3|0];F[e+4|0]=I[c+4|0];F[e+5|0]=I[c+5|0];F[e+6|0]=I[c+6|0];F[e+7|0]=I[c+7|0];e=e+8|0;c=c+8|0;if((f|0)!=(c|0)){continue}break}}function ac(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){zg(a,h,c,g,e);f=b;b=e+i|0;zg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}ac(a,h,c,g,e,f);d=d-g|0;ac(h,b,c,d,e,f);Xd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function _b(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){xg(a,h,c,g,e);f=b;b=e+i|0;xg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}_b(a,h,c,g,e,f);d=d-g|0;_b(h,b,c,d,e,f);Vd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Zb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){wg(a,h,c,g,e);f=b;b=e+i|0;wg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Zb(a,h,c,g,e,f);d=d-g|0;Zb(h,b,c,d,e,f);Ud(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Yb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){vg(a,h,c,g,e);f=b;b=e+i|0;vg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Yb(a,h,c,g,e,f);d=d-g|0;Yb(h,b,c,d,e,f);Td(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Xb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){ug(a,h,c,g,e);f=b;b=e+i|0;ug(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Xb(a,h,c,g,e,f);d=d-g|0;Xb(h,b,c,d,e,f);Sd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Wb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){tg(a,h,c,g,e);f=b;b=e+i|0;tg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Wb(a,h,c,g,e,f);d=d-g|0;Wb(h,b,c,d,e,f);Rd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Vb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){sg(a,h,c,g,e);f=b;b=e+i|0;sg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Vb(a,h,c,g,e,f);d=d-g|0;Vb(h,b,c,d,e,f);Qd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Ub(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){rg(a,h,c,g,e);f=b;b=e+i|0;rg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Ub(a,h,c,g,e,f);d=d-g|0;Ub(h,b,c,d,e,f);Pd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Tb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){qg(a,h,c,g,e);f=b;b=e+i|0;qg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Tb(a,h,c,g,e,f);d=d-g|0;Tb(h,b,c,d,e,f);Od(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Sb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){pg(a,h,c,g,e);f=b;b=e+i|0;pg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Sb(a,h,c,g,e,f);d=d-g|0;Sb(h,b,c,d,e,f);Nd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Rb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){og(a,h,c,g,e);f=b;b=e+i|0;og(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Rb(a,h,c,g,e,f);d=d-g|0;Rb(h,b,c,d,e,f);Md(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Qb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){mg(a,h,c,g,e);f=b;b=e+i|0;mg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Qb(a,h,c,g,e,f);d=d-g|0;Qb(h,b,c,d,e,f);Ld(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Pb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){lg(a,h,c,g,e);f=b;b=e+i|0;lg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Pb(a,h,c,g,e,f);d=d-g|0;Pb(h,b,c,d,e,f);Kd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Ob(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){kg(a,h,c,g,e);f=b;b=e+i|0;kg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Ob(a,h,c,g,e,f);d=d-g|0;Ob(h,b,c,d,e,f);Jd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Nb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){jg(a,h,c,g,e);f=b;b=e+i|0;jg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Nb(a,h,c,g,e,f);d=d-g|0;Nb(h,b,c,d,e,f);Id(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Mb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){ig(a,h,c,g,e);f=b;b=e+i|0;ig(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Mb(a,h,c,g,e,f);d=d-g|0;Mb(h,b,c,d,e,f);Hd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Lb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){hg(a,h,c,g,e);f=b;b=e+i|0;hg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}Lb(a,h,c,g,e,f);d=d-g|0;Lb(h,b,c,d,e,f);Gd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function $b(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;e=b-4|0;b=H[e>>2];if(d>>>0<=b>>>0){break c}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break c}if(K[c+(b<<3)>>2]>=K[c+(d<<3)>>2]){break a}H[a>>2]=b;H[e>>2]=d;break a;case 0:case 1:break a;default:break d}}if((d|0)>128){break b}if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}while(1){g=H[d>>2];e:{e=a;if((e|0)==(d|0)){break e}e=H[c>>2];h=H[e>>2];f:{j=H[e+4>>2]-h>>3;if(g>>>0>=j>>>0){break f}k=h+(g<<3)|0;e=d;while(1){f=e-4|0;i=H[f>>2];if(i>>>0>=j>>>0){break f}if(K[k>>2]>=K[h+(i<<3)>>2]){break e}H[e>>2]=i;e=f;if((e|0)!=(a|0)){continue}break}e=a;break e}ua();X()}H[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}ua();X()}g=d>>>1|0;i=g<<2;h=i+a|0;g:{h:{if((d|0)<=(f|0)){yg(a,h,c,g,e);f=b;b=e+i|0;yg(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=H[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){H[a>>2]=H[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=H[c>>2];i=H[c+4>>2]-g>>3;h=H[d>>2];if(i>>>0<=h>>>0){break h}j=i;i=H[e>>2];if(j>>>0<=i>>>0){break h}i:{if(K[g+(h<<3)>>2]<K[g+(i<<3)>>2]){H[a>>2]=h;d=d+4|0;break i}H[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break g}$b(a,h,c,g,e,f);d=d-g|0;$b(h,b,c,d,e,f);Wd(a,h,b,c,g,d,e,f);return}ua();X()}if((d|0)==(f|0)){break a}while(1){H[a>>2]=H[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function ml(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da-16|0;da=c;b=H[H[a+4>>2]+(b<<2)>>2];H[c+12>>2]=b;a=H[a+28>>2];e=H[H[H[a+4>>2]+8>>2]+(b<<2)>>2];b=H[e+28>>2];a:{if(b-1>>>0>=6){b:{if((b|0)!=9){break b}f=H[a+48>>2];a=ra(32);H[c>>2]=a;H[c+4>>2]=17;H[c+8>>2]=-2147483616;F[a+17|0]=0;F[a+16|0]=I[1373];b=I[1369]|I[1370]<<8|(I[1371]<<16|I[1372]<<24);d=I[1365]|I[1366]<<8|(I[1367]<<16|I[1368]<<24);F[a+8|0]=d;F[a+9|0]=d>>>8;F[a+10|0]=d>>>16;F[a+11|0]=d>>>24;F[a+12|0]=b;F[a+13|0]=b>>>8;F[a+14|0]=b>>>16;F[a+15|0]=b>>>24;b=I[1361]|I[1362]<<8|(I[1363]<<16|I[1364]<<24);d=I[1357]|I[1358]<<8|(I[1359]<<16|I[1360]<<24);F[a|0]=d;F[a+1|0]=d>>>8;F[a+2|0]=d>>>16;F[a+3|0]=d>>>24;F[a+4|0]=b;F[a+5|0]=b>>>8;F[a+6|0]=b>>>16;F[a+7|0]=b>>>24;a=xb(f,c+12|0,c,-1);if(F[c+11|0]<0){qa(H[c>>2])}if((a|0)<=0){break b}if(H[e+56>>2]==1){a=ra(48);H[a>>2]=0;H[a+4>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;ee(a);H[a+44>>2]=-1;H[a+40>>2]=1032;H[a>>2]=6336;break a}a=ra(64);ee(a);H[a+48>>2]=0;H[a+52>>2]=0;H[a+44>>2]=-1;H[a+40>>2]=1140;H[a>>2]=10016;H[a+56>>2]=0;H[a+60>>2]=0;break a}a=ra(36);H[a+32>>2]=0;H[a+12>>2]=-1;H[a+4>>2]=0;H[a+8>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a>>2]=2420;F[a+21|0]=0;F[a+22|0]=0;F[a+23|0]=0;F[a+24|0]=0;F[a+25|0]=0;F[a+26|0]=0;F[a+27|0]=0;F[a+28|0]=0;break a}a=ee(ra(40))}da=c+16|0;return a|0}function Qf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;H[a>>2]=10612;d=a+200|0;c=H[d+136>>2];if(c){b=H[d+140>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;f=H[e>>2];if(f){H[b-8>>2]=f;qa(f)}b=e;if((c|0)!=(b|0)){continue}break}b=H[d+136>>2]}H[d+140>>2]=c;qa(b)}b=H[d+104>>2];if(b){H[d+108>>2]=b;qa(b)}b=H[d+92>>2];if(b){H[d+96>>2]=b;qa(b)}c=H[d+80>>2];H[d+80>>2]=0;if(c){e=c-4|0;b=H[e>>2];if(b){b=c+(b<<5)|0;while(1){b=Aa(b-32|0);if((c|0)!=(b|0)){continue}break}}qa(e)}b=H[d+68>>2];if(b){H[d+72>>2]=b;qa(b)}b=H[d+44>>2];H[d+44>>2]=0;if(b){qa(b)}b=H[d+32>>2];if(b){H[d+36>>2]=b;qa(b)}Aa(d);b=H[a+184>>2];if(b){H[a+188>>2]=b;qa(b)}c=H[a+172>>2];if(c){b=H[a+176>>2];if((c|0)==(b|0)){b=c}else{while(1){e=H[b-20>>2];if(e){H[b-16>>2]=e;qa(e)}e=H[b-32>>2];if(e){H[b-28>>2]=e;qa(e)}oc(b-132|0);b=b-136|0;if((c|0)!=(b|0)){continue}break}b=H[a+172>>2]}H[a+176>>2]=c;qa(b)}b=H[a+152>>2];if(b){H[a+156>>2]=b;qa(b)}b=H[a+140>>2];if(b){qa(b)}b=H[a+128>>2];if(b){while(1){c=H[b>>2];qa(b);b=c;if(b){continue}break}}b=H[a+120>>2];H[a+120>>2]=0;if(b){qa(b)}b=H[a+108>>2];if(b){H[a+112>>2]=b;qa(b)}b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+84>>2];if(b){qa(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;qa(b)}b=H[a+52>>2];if(b){H[a+56>>2]=b;qa(b)}b=H[a+40>>2];if(b){H[a+44>>2]=b;qa(b)}b=H[a+28>>2];if(b){qa(b)}b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}b=H[a+12>>2];H[a+12>>2]=0;if(b){pc(a+12|0,b)}return a|0}function nl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=H[a+8>>2]-H[a+4>>2]>>2;b=H[a+40>>2];c=H[a+36>>2];d=b-c>>2;a:{if(e>>>0>d>>>0){g=e-d|0;c=H[a+44>>2];b=H[a+40>>2];if(g>>>0<=c-b>>2>>>0){if(g){i=b;b=g<<2;b=ta(i,0,b)+b|0}H[a+40>>2]=b;break a}b:{c:{d:{j=H[a+36>>2];e=b-j>>2;f=e+g|0;if(f>>>0<1073741824){d=c-j|0;c=d>>1;d=d>>>0<2147483644?c>>>0<f>>>0?f:c:1073741823;if(d){if(d>>>0>=1073741824){break d}i=ra(d<<2)}h=(e<<2)+i|0;c=g<<2;f=ta(h,0,c);e=c+f|0;d=(d<<2)+i|0;if((b|0)==(j|0)){break c}while(1){b=b-4|0;c=H[b>>2];H[b>>2]=0;h=h-4|0;H[h>>2]=c;if((b|0)!=(j|0)){continue}break}H[a+44>>2]=d;d=H[a+40>>2];H[a+40>>2]=e;b=H[a+36>>2];H[a+36>>2]=h;if((b|0)==(d|0)){break b}while(1){d=d-4|0;c=H[d>>2];H[d>>2]=0;if(c){fa[H[H[c>>2]+4>>2]](c)}if((b|0)!=(d|0)){continue}break}break b}va();X()}ya(1604);X()}H[a+44>>2]=d;H[a+40>>2]=e;H[a+36>>2]=f}if(b){qa(b)}break a}if(d>>>0<=e>>>0){break a}c=c+(e<<2)|0;if((c|0)!=(b|0)){while(1){b=b-4|0;d=H[b>>2];H[b>>2]=0;if(d){fa[H[H[d>>2]+4>>2]](d)}if((b|0)!=(c|0)){continue}break}}H[a+40>>2]=c}if(H[a+8>>2]==H[a+4>>2]){return 1}b=0;while(1){e=fa[H[H[a>>2]+56>>2]](a,b)|0;d=b<<2;c=d+H[a+36>>2]|0;f=H[c>>2];H[c>>2]=e;if(f){fa[H[H[f>>2]+4>>2]](f)}c=H[d+H[a+36>>2]>>2];if(c){if(!(!(H[H[a+48>>2]+(b>>>3&536870908)>>2]>>>b&1)|K[a+52>>2]<=b>>>0)){F[c+28|0]=1}b=b+1|0;if(b>>>0<H[a+8>>2]-H[a+4>>2]>>2>>>0){continue}}break}return(c|0)!=0|0}function Xa(a,b){var 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;f=da-16|0;da=f;Da(H[a+12>>2],b);e=1;a:{if(!H[a+12>>2]){break a}m=f+14|0;n=f+15|0;o=f+16|0;while(1){b:{c:{c=H[a>>2];j=H[c+(h<<3)>>2];if(j>>>0>=64){d=1;if(j>>>0<16384){break c}if(j>>>0<=4194303){d=2;break c}break a}e=0;d=0;if(j){break c}while(1){d:{if(H[(c+(e+h<<3)|0)+8>>2]){d=e;break d}d=e+1|0;if(H[(c+(h+d<<3)|0)+8>>2]){break d}d=e+2|0;if(H[(c+(h+d<<3)|0)+8>>2]){break d}d=63;e=e+3|0;if((e|0)!=63){continue}}break}F[f+15|0]=d<<2|3;c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],f+15|0,o)}h=d+h|0;break b}F[f+14|0]=j<<2|d;c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],f+14|0,n)}if(!e){break b}e=H[b+20>>2];g=e;c=H[b+16>>2];if(!!c&(e|0)>=0|(e|0)>0){break b}p=d>>>0>1?d:1;e=0;while(1){e=e+1|0;l=j>>>(e<<3)-2|0;F[f+13|0]=l;e:{if(!!c&(g|0)>=0|(g|0)>0){break e}c=H[b+8>>2];d=H[b+4>>2];if((c-d|0)>0){if((f+13|0)==(m|0)){H[b+4>>2]=d;break e}F[d|0]=I[f+13|0];H[b+4>>2]=d+1;break e}k=H[b>>2];d=d-k|0;i=d+1|0;if((i|0)>=0){g=c-k|0;c=g<<1;i=g>>>0<1073741823?c>>>0<i>>>0?i:c:2147483647;if(i){c=ra(i)}else{c=0}g=c+d|0;F[g|0]=l;if((d|0)>0){sa(c,k,d)}H[b+8>>2]=c+i;H[b+4>>2]=g+1;H[b>>2]=c;if(!k){break e}qa(k);break e}va();X()}if((e|0)==(p|0)){break b}c=H[b+16>>2];g=H[b+20>>2];continue}}e=1;h=h+1|0;if(h>>>0<K[a+12>>2]){continue}break}}da=f+16|0}function $e(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(b){if(b>>>0>=1073741824){break d}d=ra(b<<2);c=H[a>>2];H[a>>2]=d;if(c){qa(c)}H[a+4>>2]=b;d=0;if(b-1>>>0>=3){g=b&-4;while(1){c=d<<2;H[c+H[a>>2]>>2]=0;H[H[a>>2]+(c|4)>>2]=0;H[H[a>>2]+(c|8)>>2]=0;H[H[a>>2]+(c|12)>>2]=0;d=d+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}c=b&3;if(c){while(1){H[H[a>>2]+(d<<2)>>2]=0;d=d+1|0;f=f+1|0;if((c|0)!=(f|0)){continue}break}}e=H[a+8>>2];if(!e){break a}c=a+8|0;g=H[e+4>>2];d=Al(b);if(d>>>0<2){break c}g=b>>>0<=g>>>0?(g>>>0)%(b>>>0)|0:g;H[H[a>>2]+(g<<2)>>2]=c;c=H[e>>2];if(!c){break a}if(d>>>0<=1){break b}while(1){f=H[c+4>>2];if(f>>>0>=b>>>0){f=(f>>>0)%(b>>>0)|0}e:{if((g|0)==(f|0)){e=c;break e}d=c;h=f<<2;i=h+H[a>>2]|0;if(!H[i>>2]){H[i>>2]=e;e=c;g=f;break e}while(1){f=d;d=H[d>>2];if(H[c+8>>2]==H[d+8>>2]?d:0){continue}break}H[e>>2]=d;H[f>>2]=H[H[h+H[a>>2]>>2]>>2];H[H[h+H[a>>2]>>2]>>2]=c}c=H[e>>2];if(c){continue}break}break a}b=H[a>>2];H[a>>2]=0;if(b){qa(b)}H[a+4>>2]=0;break a}ya(1604);X()}g=b-1&g;H[H[a>>2]+(g<<2)>>2]=c;c=H[e>>2];if(!c){break a}}h=b-1|0;while(1){b=h&H[c+4>>2];f:{if((b|0)==(g|0)){e=c;break f}d=c;f=b<<2;i=f+H[a>>2]|0;if(H[i>>2]){while(1){b=d;d=H[b>>2];if(H[c+8>>2]==H[d+8>>2]?d:0){continue}break}H[e>>2]=d;H[b>>2]=H[H[f+H[a>>2]>>2]>>2];H[H[f+H[a>>2]>>2]>>2]=c;break f}H[i>>2]=e;e=c;g=b}c=H[e>>2];if(c){continue}break}}}function ad(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=da-16|0;da=d;h=da-16|0;da=h;Be(d);da=h+16|0;fd(d,I[d+11|0]>>>7|0?(H[d+8>>2]&2147483647)-1|0:10);i=da-16|0;da=i;l=+b;if(I[d+11|0]>>>7|0){h=H[d+4>>2]}else{h=I[d+11|0]}while(1){a:{if(I[d+11|0]>>>7|0){e=H[d>>2]}else{e=d}c=e;M[i>>3]=l;k=da-16|0;da=k;H[k+12>>2]=i;f=da-160|0;da=f;e=-1;g=h+1|0;H[f+148>>2]=g?g-1|0:0;j=g?c:f+158|0;H[f+144>>2]=j;c=ta(f,0,144);H[c+76>>2]=-1;H[c+36>>2]=370;H[c+80>>2]=-1;H[c+44>>2]=c+159;H[c+84>>2]=c+144;b:{if((g|0)<0){H[4739]=61;break b}F[j|0]=0;g=0;f=da-208|0;da=f;H[f+204>>2]=i;e=f+160|0;ta(e,0,40);H[f+200>>2]=H[f+204>>2];c:{if((Ke(0,f+200|0,f+80|0,e)|0)<0){e=-1;break c}m=H[c+76>>2]>=0;j=H[c>>2];if(H[c+72>>2]<=0){H[c>>2]=j&-33}d:{e:{f:{if(!H[c+48>>2]){H[c+48>>2]=80;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;g=H[c+44>>2];H[c+44>>2]=f;break f}if(H[c+16>>2]){break e}}e=-1;if(Me(c)){break d}}e=Ke(c,f+200|0,f+80|0,f+160|0)}if(g){fa[H[c+36>>2]](c,0,0)|0;H[c+48>>2]=0;H[c+44>>2]=g;H[c+28>>2]=0;g=H[c+20>>2];H[c+16>>2]=0;H[c+20>>2]=0;e=g?e:-1}g=H[c>>2];H[c>>2]=g|j&32;e=g&32?-1:e;if(!m){break c}}da=f+208|0}da=c+160|0;da=k+16|0;g:{if((e|0)>=0){if(e>>>0<=h>>>0){break a}h=e;break g}h=h<<1|1}fd(d,h);continue}break}fd(d,e);h=H[d+4>>2];H[a>>2]=H[d>>2];H[a+4>>2]=h;H[a+8>>2]=H[d+8>>2];Be(d);da=i+16|0;if(I[d+11|0]>>>7|0){qa(H[d>>2])}da=d+16|0}function _a(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=H[b+16>>2];e=H[c+4>>2]-g|0;H[c>>2]=0|H[c>>2]-g;H[c+4>>2]=e;e=H[d+4>>2]-g|0;f=H[d>>2]-g|0;H[d>>2]=j|f;H[d+4>>2]=e;h=H[b+16>>2];g=e>>31;j=g+e^g;g=f>>31;if((h|0)<(j+(g+f^g)|0)){i=H[c+4>>2];k=H[c>>2];a:{b:{if((k|0)>=0){e=1;g=1;if((i|0)>=0){break a}f=1;e=-1;g=-1;if(k){break b}break a}f=-1;e=-1;g=-1;if((i|0)<=0){break a}}e=(i|0)<=0?-1:1;g=f}f=1;j=-1;l=k<<1;k=N(g,h);l=l-k|0;g=(N(e,g)|0)>=0;e=N(e,h);H[c+4>>2]=((g?0-l|0:l)+e|0)/2;e=(i<<1)-e|0;H[c>>2]=(k+(g?0-e|0:e)|0)/2;g=H[d+4>>2];i=H[d>>2];c:{d:{if((i|0)>=0){e=1;if((g|0)>=0){break c}j=1;f=-1;e=-1;if(i){break d}break c}f=-1;e=-1;if((g|0)<=0){break c}}f=(g|0)<=0?-1:1;e=j}h=i<<1;j=H[b+16>>2];i=N(j,e);h=h-i|0;l=0-h|0;k=h;h=(N(e,f)|0)>=0;f=N(f,j);e=((h?l:k)+f|0)/2|0;H[d+4>>2]=e;f=(g<<1)-f|0;f=(i+(h?0-f|0:f)|0)/2|0;H[d>>2]=f}e:{f:{g:{h:{i:{j:{if(f){if((f|0)>=0){break j}if((e|0)>0){break h}break e}if(e){break i}e=0;f=0;break e}if((e|0)<0){break g}e=0-H[c+4>>2]|0;H[c>>2]=0-H[c>>2];H[c+4>>2]=e;f=0-H[d>>2]|0;e=0-H[d+4>>2]|0;break f}if((e|0)<=0){break g}}e=H[c>>2];H[c>>2]=0-H[c+4>>2];H[c+4>>2]=e;f=0-H[d+4>>2]|0;e=H[d>>2];break f}e=0-H[c>>2]|0;H[c>>2]=H[c+4>>2];H[c+4>>2]=e;f=H[d+4>>2];e=0-H[d>>2]|0}H[d>>2]=f;H[d+4>>2]=e}d=H[c>>2];b=H[b+4>>2];c=H[c+4>>2]-e|0;H[a+4>>2]=(b&c>>31)+c;c=a;a=d-f|0;H[c>>2]=(b&a>>31)+a}function pf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;a=0;a:{if(!d|(!b|(c|0)<0)){break a}f=H[b+8>>2];if(H[b+12>>2]-f>>2<=(c|0)){break a}if(!H[b+4>>2]){a=ra(36);H[a+4>>2]=0;H[a+8>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;e=a+16|0;H[e>>2]=0;H[e+4>>2]=0;H[a>>2]=a+4;H[a+32>>2]=0;H[a+12>>2]=e;H[b+4>>2]=a}a=H[H[f+(c<<2)>>2]+60>>2];e=ra(28);ld(e,d);H[e+24>>2]=a;a=H[b+4>>2];c=da-16|0;da=c;H[c+8>>2]=e;b:{if(!e){H[c+8>>2]=0;break b}b=H[a+28>>2];c:{if(b>>>0<K[a+32>>2]){H[c+8>>2]=0;H[b>>2]=e;H[a+28>>2]=b+4;break c}b=0;d:{e:{f:{e=H[a+24>>2];f=H[a+28>>2]-e>>2;d=f+1|0;if(d>>>0<1073741824){e=H[a+32>>2]-e|0;g=e>>1;d=e>>>0<2147483644?d>>>0>g>>>0?d:g:1073741823;if(d){if(d>>>0>=1073741824){break f}b=ra(d<<2)}g=H[c+8>>2];H[c+8>>2]=0;e=(f<<2)+b|0;H[e>>2]=g;f=(d<<2)+b|0;g=e+4|0;b=H[a+28>>2];d=H[a+24>>2];if((b|0)==(d|0)){break e}while(1){b=b-4|0;h=H[b>>2];H[b>>2]=0;e=e-4|0;H[e>>2]=h;if((b|0)!=(d|0)){continue}break}H[a+32>>2]=f;b=H[a+28>>2];H[a+28>>2]=g;d=H[a+24>>2];H[a+24>>2]=e;if((b|0)==(d|0)){break d}while(1){b=b-4|0;a=H[b>>2];H[b>>2]=0;if(a){mb(a+12|0,H[a+16>>2]);lb(a,H[a+4>>2]);qa(a)}if((b|0)!=(d|0)){continue}break}break d}va();X()}ya(1604);X()}H[a+32>>2]=f;H[a+28>>2]=g;H[a+24>>2]=e}if(d){qa(d)}}a=H[c+8>>2];H[c+8>>2]=0;if(!a){break b}mb(a+12|0,H[a+16>>2]);lb(a,H[a+4>>2]);qa(a)}da=c+16|0;a=1}return a|0}function Yf(a,b){var c=0,d=0,e=0,f=0,g=0;e=-1;c=(b|0)==-1;d=-1;a:{if(c){break a}d=b+1|0;e=(d>>>0)%3|0?d:b-2|0;d=b-1|0;if((b>>>0)%3|0){break a}d=b+2|0}f=c?-1:(b>>>0)/3|0;g=H[a+28>>2]+(f>>>3&536870908)|0;H[g>>2]=H[g>>2]|1<<f;b:{if(c){break b}c=H[H[H[a+12>>2]+12>>2]+(b<<2)>>2];if((c|0)==-1){break b}c=(c>>>0)/3|0;if(H[H[a+28>>2]+(c>>>3&268435452)>>2]>>>c&1){break b}f=H[a+172>>2];if((f|0)==H[a+176>>2]){break b}g=1<<b;c=0;b=b>>>5<<2;while(1){Fa(H[a+280>>2]+(c<<5)|0,(g&H[b+H[(N(c,136)+f|0)+4>>2]>>2])!=0);c=c+1|0;f=H[a+172>>2];if(c>>>0<(H[a+176>>2]-f|0)/136>>>0){continue}break}}c:{if((e|0)==-1){break c}b=H[H[H[a+12>>2]+12>>2]+(e<<2)>>2];if((b|0)==-1){break c}b=(b>>>0)/3|0;if(H[H[a+28>>2]+(b>>>3&268435452)>>2]>>>b&1){break c}b=H[a+172>>2];if((b|0)==H[a+176>>2]){break c}f=1<<e;c=0;e=e>>>5<<2;while(1){Fa(H[a+280>>2]+(c<<5)|0,(f&H[e+H[(N(c,136)+b|0)+4>>2]>>2])!=0);c=c+1|0;b=H[a+172>>2];if(c>>>0<(H[a+176>>2]-b|0)/136>>>0){continue}break}}d:{if((d|0)==-1){break d}b=H[H[H[a+12>>2]+12>>2]+(d<<2)>>2];if((b|0)==-1){break d}b=(b>>>0)/3|0;if(H[H[a+28>>2]+(b>>>3&268435452)>>2]>>>b&1){break d}b=H[a+172>>2];if((b|0)==H[a+176>>2]){break d}e=1<<d;c=0;d=d>>>5<<2;while(1){Fa(H[a+280>>2]+(c<<5)|0,(e&H[d+H[(N(c,136)+b|0)+4>>2]>>2])!=0);c=c+1|0;b=H[a+172>>2];if(c>>>0<(H[a+176>>2]-b|0)/136>>>0){continue}break}}}function sc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=da-48|0;da=e;f=a+16|0;d=H[f>>2];a:{b:{if(!d){break b}g=H[b>>2];c=f;while(1){h=(g|0)>H[d+16>>2];c=h?c:d;d=H[(h<<2)+d>>2];if(d){continue}break}if((c|0)==(f|0)){break b}if((g|0)>=H[c+16>>2]){break a}}h=e+24|0;H[h+4>>2]=0;H[h+8>>2]=0;i=h+4|0;H[h>>2]=i;b=H[b>>2];j=e+16|0;d=j;H[d>>2]=0;H[d+4>>2]=0;H[e+8>>2]=b;H[e+12>>2]=d;c=H[h>>2];if((i|0)!=(c|0)){g=e+8|4;while(1){b=c;d=c+16|0;Ig(e+40|0,g,j,d,d);d=H[c+4>>2];c:{if(!d){c=H[b+8>>2];if((b|0)==H[c>>2]){break c}d=b+8|0;while(1){b=H[d>>2];d=b+8|0;c=H[b+8>>2];if((b|0)!=H[c>>2]){continue}break}break c}while(1){c=d;d=H[c>>2];if(d){continue}break}}if((c|0)!=(i|0)){continue}break}}d=H[f>>2];d:{if(d){f=a+16|0;g=H[e+8>>2];while(1){b=H[d+16>>2];e:{if((b|0)>(g|0)){c=H[d>>2];if(c){break e}f=d;break d}if((b|0)>=(g|0)){break d}f=d+4|0;c=H[d+4>>2];if(!c){break d}d=f}f=d;d=c;continue}}d=f}c=H[f>>2];if(!c){c=ra(32);H[c+16>>2]=H[e+8>>2];H[c+20>>2]=H[e+12>>2];i=c+24|0;g=H[e+16>>2];H[i>>2]=g;b=H[e+20>>2];H[c+28>>2]=b;f:{if(!b){H[c+20>>2]=i;break f}H[g+8>>2]=i;H[e+16>>2]=0;H[e+20>>2]=0;H[e+12>>2]=j}H[c+8>>2]=d;H[c>>2]=0;H[c+4>>2]=0;H[f>>2]=c;b=H[H[a+12>>2]>>2];if(b){H[a+12>>2]=b;b=H[f>>2]}else{b=c}ub(H[a+16>>2],b);H[a+20>>2]=H[a+20>>2]+1}Ka(e+8|4,H[e+16>>2]);Ka(h,H[h+4>>2])}da=e+48|0;return c+20|0}function Zf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=H[a>>2];b=b-e|0;h=(b&-4)+e|0;i=d-c|0;if((i|0)<=0){return}a:{j=i>>2;f=H[a+8>>2];g=H[a+4>>2];if((j|0)<=f-g>>2){i=g-h|0;e=i>>2;if((e|0)>=(j|0)){b=g;f=d;break a}b=g;f=(e<<2)+c|0;if((f|0)!=(d|0)){e=f;while(1){H[b>>2]=H[e>>2];b=b+4|0;e=e+4|0;if((e|0)!=(d|0)){continue}break}}H[a+4>>2]=b;if((i|0)>0){break a}return}b:{d=j+(g-e>>2)|0;if(d>>>0<1073741824){f=f-e|0;k=f>>1;f=f>>>0<2147483644?d>>>0>k>>>0?d:k:1073741823;if(f){if(f>>>0>=1073741824){break b}d=ra(f<<2)}else{d=0}c=sa(d+(b>>2<<2)|0,c,i&-4);if((b|0)>0){sa(d,e,b)}b=c+(j<<2)|0;if((g|0)!=(h|0)){while(1){H[b>>2]=H[h>>2];b=b+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}H[a+8>>2]=d+(f<<2);H[a+4>>2]=b;H[a>>2]=d;if(e){qa(e)}return}va();X()}ya(1604);X()}d=b;i=b-((j<<2)+h|0)|0;e=(i&-4)+h|0;if(g>>>0>e>>>0){j=e;while(1){H[d>>2]=H[j>>2];d=d+4|0;j=j+4|0;if(g>>>0>j>>>0){continue}break}}H[a+4>>2]=d;c:{if(!i){break c}a=i-4|0;g=(a>>>2|0)+1&3;if(g){d=0;while(1){b=b-4|0;e=e-4|0;H[b>>2]=H[e>>2];d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(a>>>0<12){break c}while(1){H[b-4>>2]=H[e-4>>2];H[b-8>>2]=H[e-8>>2];H[b-12>>2]=H[e-12>>2];b=b-16|0;e=e-16|0;H[b>>2]=H[e>>2];if((e|0)!=(h|0)){continue}break}}if((c|0)==(f|0)){return}b=h;while(1){H[b>>2]=H[c>>2];b=b+4|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}function Bg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=da-16|0;da=l;g=H[b+28>>2];h=H[b+24>>2];H[a+8>>2]=h;H[a+12>>2]=g;g=H[b+20>>2];H[a>>2]=H[b+16>>2];H[a+4>>2]=g;g=H[b+36>>2];H[a+16>>2]=H[b+32>>2];H[a+20>>2]=g;H[a+8>>2]=d+h;a:{b:{if((d|0)>0){g=H[b>>2];while(1){f=H[b+4>>2]-g>>2;h=H[(i<<2)+c>>2];if(f>>>0<=h>>>0){H[l+12>>2]=0;j=h+1|0;c:{if(j>>>0>f>>>0){Ma(b,j-f|0,l+12|0);break c}if(f>>>0<=j>>>0){break c}H[b+4>>2]=(j<<2)+g}g=H[b>>2]}j=(h<<2)+g|0;f=H[j>>2];d:{if((f|0)>=2){k=+(f|0);k=za(k)*k;break d}k=0;if(f){break d}H[a+16>>2]=H[a+16>>2]+1;if(h>>>0<=K[a+12>>2]){break d}H[a+12>>2]=h}h=f+1|0;H[j>>2]=h;m=+(h|0);n=a,o=za(m)*m-k+M[a>>3],M[n>>3]=o;i=i+1|0;if((i|0)!=(d|0)){continue}break}if(e){break b}if((d|0)<=0){break a}a=H[b>>2];e=0;i=0;if(d-1>>>0>=3){h=d&-4;g=0;while(1){b=i<<2;f=a+(H[b+c>>2]<<2)|0;H[f>>2]=H[f>>2]-1;f=a+(H[(b|4)+c>>2]<<2)|0;H[f>>2]=H[f>>2]-1;f=a+(H[(b|8)+c>>2]<<2)|0;H[f>>2]=H[f>>2]-1;b=a+(H[(b|12)+c>>2]<<2)|0;H[b>>2]=H[b>>2]-1;i=i+4|0;g=g+4|0;if((h|0)!=(g|0)){continue}break}}b=d&3;if(!b){break a}while(1){d=a+(H[(i<<2)+c>>2]<<2)|0;H[d>>2]=H[d>>2]-1;i=i+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break a}if(!e){break a}}c=H[a+4>>2];H[b+16>>2]=H[a>>2];H[b+20>>2]=c;H[b+32>>2]=H[a+16>>2];c=H[a+12>>2];H[b+24>>2]=H[a+8>>2];H[b+28>>2]=c}da=l+16|0}function il(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=H[a+16>>2];a:{if(H[a+20>>2]-e>>2<=(b|0)){break a}i=H[e+(b<<2)>>2];if((i|0)<0){break a}if(K[a+52>>2]<=i>>>0){b:{b=da-16|0;da=b;c:{f=H[a+52>>2];c=i+1|0;d:{if(f>>>0<c>>>0){e=c-f|0;g=H[a+56>>2];d=g<<5;e:{if(!(e>>>0>d>>>0|f>>>0>d-e>>>0)){H[a+52>>2]=c;d=f&31;c=H[a+48>>2]+(f>>>3&536870908)|0;break e}H[b+8>>2]=0;H[b>>2]=0;H[b+4>>2]=0;if((c|0)<0){break c}if(d>>>0<=1073741822){c=c+31&-32;d=g<<6;h=c>>>0>d>>>0?c:d}else{h=2147483647}Hb(b,h);d=H[a+52>>2];H[b+4>>2]=d+e;f=H[a+48>>2];c=H[b>>2];f:{if((d|0)<=0){d=0;break f}h=d>>>5|0;g=h<<2;c=xa(c,f,g)+g|0;d=d-(h<<5)|0;g:{if((d|0)<=0){d=0;break g}h=-1>>>32-d|0;H[c>>2]=H[c>>2]&(h^-1)|h&H[f+g>>2]}f=H[a+48>>2]}H[a+48>>2]=H[b>>2];H[b>>2]=f;g=H[a+52>>2];H[a+52>>2]=H[b+4>>2];H[b+4>>2]=g;g=H[a+56>>2];H[a+56>>2]=H[b+8>>2];H[b+8>>2]=g;if(!f){break e}qa(f)}if(!e){break d}if(d){f=32-d|0;g=f>>>0>e>>>0?e:f;H[c>>2]=H[c>>2]&(-1<<d&-1>>>f-g^-1);e=e-g|0;c=c+4|0}h=c;c=e>>>5<<2;d=ta(h,0,c);e=e&31;if(!e){break d}c=c+d|0;H[c>>2]=H[c>>2]&(-1>>>32-e^-1);break d}H[a+52>>2]=c}da=b+16|0;break b}La();X()}}c=1;b=H[a+48>>2]+(i>>>3&536870908)|0;H[b>>2]=H[b>>2]|1<<i;b=H[a+40>>2];a=H[a+36>>2];if(b-a>>2>>>0<=i>>>0){break a}F[H[a+(i<<2)>>2]+28|0]=1}return c|0}function Oe(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{b=H[a+4>>2];f:{if((b|0)!=H[a+104>>2]){H[a+4>>2]=b+1;b=I[b|0];break f}b=Qa(a)}switch(b-43|0){case 0:case 2:break e;default:break d}}f=(b|0)==45;b=H[a+4>>2];g:{if((b|0)!=H[a+104>>2]){H[a+4>>2]=b+1;b=I[b|0];break g}b=Qa(a)}e=b-58|0;if(e>>>0>4294967285){break c}if(H[a+116>>2]<0){break b}H[a+4>>2]=H[a+4>>2]-1;break b}e=b-58|0}if(e>>>0<4294967286){break b}e=b-48|0;if(e>>>0<10){while(1){d=(N(d,10)+b|0)-48|0;c=(d|0)<214748364;b=H[a+4>>2];h:{if((b|0)!=H[a+104>>2]){H[a+4>>2]=b+1;b=I[b|0];break h}b=Qa(a)}e=b-48|0;if(c&e>>>0<=9){continue}break}c=d>>31}i:{if(e>>>0>=10){break i}while(1){c=xl(d,c,10,0);d=c+b|0;b=ea;b=c>>>0>d>>>0?b+1|0:b;c=d;d=c-48|0;c=b-(c>>>0<48)|0;b=H[a+4>>2];j:{if((b|0)!=H[a+104>>2]){H[a+4>>2]=b+1;b=I[b|0];break j}b=Qa(a)}e=b-48|0;if(e>>>0>9){break i}if(d>>>0<2061584302&(c|0)<=21474836|(c|0)<21474836){continue}break}}if(e>>>0<10){while(1){b=H[a+4>>2];k:{if((b|0)!=H[a+104>>2]){H[a+4>>2]=b+1;b=I[b|0];break k}b=Qa(a)}if(b-48>>>0<10){continue}break}}b=H[a+116>>2];if((b|0)>0|(b|0)>=0){H[a+4>>2]=H[a+4>>2]-1}a=d;d=f?0-a|0:a;c=f?0-(((a|0)!=0)+c|0)|0:c;break a}c=-2147483648;if(H[a+116>>2]<0){break a}H[a+4>>2]=H[a+4>>2]-1;ea=-2147483648;return 0}ea=c;return d}function qe(a,b){var c=0,d=0,e=0,f=0,g=0;e=da-16|0;da=e;H[a+8>>2]=b;H[a>>2]=0;c=a+12|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[a+44>>2]=0;H[a+48>>2]=0;H[a+60>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;c=a- -64|0;H[c>>2]=0;H[c+4>>2]=0;H[c+16>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[a+84>>2]=0;H[a+88>>2]=0;H[a+100>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0;H[a+112>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;g=a+140|0;a:{b:{if(b){if(b>>>0<1073741824){break b}va();X()}H[a+116>>2]=0;H[a+120>>2]=0;H[a+132>>2]=0;H[a+136>>2]=0;H[a+124>>2]=0;H[a+128>>2]=0;H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;c=1;break a}c=b<<2;d=ra(c);H[a+104>>2]=d;f=c+d|0;H[a+112>>2]=f;ta(d,0,c);H[a+124>>2]=0;H[a+116>>2]=0;H[a+120>>2]=0;H[a+108>>2]=f;d=ra(c);H[a+116>>2]=d;f=c+d|0;H[a+124>>2]=f;ta(d,0,c);H[a+136>>2]=0;H[a+128>>2]=0;H[a+132>>2]=0;H[a+120>>2]=f;d=ra(c);H[a+128>>2]=d;f=c+d|0;H[a+136>>2]=f;ta(d,0,c);H[a+132>>2]=f;d=ra(c);H[e>>2]=d;f=c+d|0;H[e+8>>2]=f;ta(d,0,c);H[e+4>>2]=f;c=b<<5|1}cc(g,c,e);d=H[e>>2];if(d){H[e+4>>2]=d;qa(d)}H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;if(b){b=b<<2;d=ra(b);H[e>>2]=d;f=b+d|0;H[e+8>>2]=f;ta(d,0,b);H[e+4>>2]=f}cc(a+152|0,c,e);b=H[e>>2];if(b){H[e+4>>2]=b;qa(b)}da=e+16|0;return a}function ej(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=da-16|0;da=f;fa[H[H[b>>2]+64>>2]](a,b);if(!H[a>>2]){if(F[a+15|0]<0){qa(H[a+4>>2])}g=H[b+48>>2];c=ra(32);H[f>>2]=c;H[f+4>>2]=29;H[f+8>>2]=-2147483616;F[c+29|0]=0;d=I[1420]|I[1421]<<8|(I[1422]<<16|I[1423]<<24);e=I[1416]|I[1417]<<8|(I[1418]<<16|I[1419]<<24);F[c+21|0]=e;F[c+22|0]=e>>>8;F[c+23|0]=e>>>16;F[c+24|0]=e>>>24;F[c+25|0]=d;F[c+26|0]=d>>>8;F[c+27|0]=d>>>16;F[c+28|0]=d>>>24;d=I[1415]|I[1416]<<8|(I[1417]<<16|I[1418]<<24);e=I[1411]|I[1412]<<8|(I[1413]<<16|I[1414]<<24);F[c+16|0]=e;F[c+17|0]=e>>>8;F[c+18|0]=e>>>16;F[c+19|0]=e>>>24;F[c+20|0]=d;F[c+21|0]=d>>>8;F[c+22|0]=d>>>16;F[c+23|0]=d>>>24;d=I[1407]|I[1408]<<8|(I[1409]<<16|I[1410]<<24);e=I[1403]|I[1404]<<8|(I[1405]<<16|I[1406]<<24);F[c+8|0]=e;F[c+9|0]=e>>>8;F[c+10|0]=e>>>16;F[c+11|0]=e>>>24;F[c+12|0]=d;F[c+13|0]=d>>>8;F[c+14|0]=d>>>16;F[c+15|0]=d>>>24;d=I[1399]|I[1400]<<8|(I[1401]<<16|I[1402]<<24);e=I[1395]|I[1396]<<8|(I[1397]<<16|I[1398]<<24);F[c|0]=e;F[c+1|0]=e>>>8;F[c+2|0]=e>>>16;F[c+3|0]=e>>>24;F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;c=fc(g,f,0);if(F[f+11|0]<0){qa(H[f>>2])}if(c){fa[H[H[b>>2]+68>>2]](b)}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0}da=f+16|0}function ae(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{c=H[a+8>>2];d=H[a>>2];if(c-d>>3>>>0>=2){f=H[a+4>>2];h=f-d>>3;g=h>>>0<2?h:2;b:{if(!g){break b}j=g-1|0;i=g&7;c:{if(!i){c=d;break c}c=d;while(1){k=H[b+4>>2];H[c>>2]=H[b>>2];H[c+4>>2]=k;g=g-1|0;c=c+8|0;e=e+1|0;if((e|0)!=(i|0)){continue}break}}if(j>>>0<7){break b}while(1){e=H[b+4>>2];H[c>>2]=H[b>>2];H[c+4>>2]=e;e=H[b+4>>2];H[c+8>>2]=H[b>>2];H[c+12>>2]=e;e=H[b+4>>2];H[c+16>>2]=H[b>>2];H[c+20>>2]=e;e=H[b+4>>2];H[c+24>>2]=H[b>>2];H[c+28>>2]=e;e=H[b+4>>2];H[c+32>>2]=H[b>>2];H[c+36>>2]=e;e=H[b+4>>2];H[c+40>>2]=H[b>>2];H[c+44>>2]=e;e=H[b+4>>2];H[c+48>>2]=H[b>>2];H[c+52>>2]=e;e=H[b+4>>2];H[c+56>>2]=H[b>>2];H[c+60>>2]=e;c=c- -64|0;g=g-8|0;if(g){continue}break}}if(h>>>0<2){d=a;a=2-h|0;if(a){a=(a<<3)+f|0;while(1){c=H[b+4>>2];H[f>>2]=H[b>>2];H[f+4>>2]=c;f=f+8|0;if((a|0)!=(f|0)){continue}break}}else{a=f}H[d+4>>2]=a;return}break a}if(d){H[a+4>>2]=d;qa(d);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;c=0}d=c>>2;d=c>>>0<2147483640?d>>>0<2?2:d:536870911;if(d>>>0<536870912){c=d<<3;d=ra(c);H[a>>2]=d;H[a+8>>2]=c+d;e=H[b>>2];f=H[b+4>>2];c=d;b=0;while(1){H[c>>2]=e;H[c+4>>2]=f;c=c+8|0;b=b+1|0;if((b|0)!=2){continue}break}break a}va();X()}H[a+4>>2]=d+16}function yb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=H[a+8>>2];e=H[a>>2];if(d-e>>2>>>0>=b>>>0){g=H[a+4>>2];h=g-e>>2;f=b>>>0>h>>>0?h:b;a:{if(!f){break a}k=f-1|0;i=f&7;b:{if(!i){d=e;break b}d=e;while(1){H[d>>2]=H[c>>2];f=f-1|0;d=d+4|0;j=j+1|0;if((j|0)!=(i|0)){continue}break}}if(k>>>0<7){break a}while(1){H[d>>2]=H[c>>2];H[d+4>>2]=H[c>>2];H[d+8>>2]=H[c>>2];H[d+12>>2]=H[c>>2];H[d+16>>2]=H[c>>2];H[d+20>>2]=H[c>>2];H[d+24>>2]=H[c>>2];H[d+28>>2]=H[c>>2];d=d+32|0;f=f-8|0;if(f){continue}break}}if(b>>>0>h>>>0){d=a;a=b-h|0;if(a){a=(a<<2)+g|0;while(1){H[g>>2]=H[c>>2];g=g+4|0;if((a|0)!=(g|0)){continue}break}}else{a=g}H[d+4>>2]=a;return}H[a+4>>2]=e+(b<<2);return}if(e){H[a+4>>2]=e;qa(e);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;d=0}c:{if(b>>>0>=1073741824){break c}e=d>>1;d=d>>>0<2147483644?b>>>0>e>>>0?b:e:1073741823;if(d>>>0>=1073741824){break c}d=d<<2;e=ra(d);H[a>>2]=e;H[a+8>>2]=d+e;c=H[c>>2];d=e;g=b&7;if(g){while(1){H[d>>2]=c;d=d+4|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}e=e+(b<<2)|0;if((b-1&1073741823)>>>0>=7){while(1){H[d+28>>2]=c;H[d+24>>2]=c;H[d+20>>2]=c;H[d+16>>2]=c;H[d+12>>2]=c;H[d+8>>2]=c;H[d+4>>2]=c;H[d>>2]=c;d=d+32|0;if((e|0)!=(d|0)){continue}break}}H[a+4>>2]=e;return}va();X()}function Zh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;Xe(a,b,c);c=H[a+84>>2];d=H[a+88>>2]-c>>2;a:{if((d|0)>(b|0)){break a}b=b+1|0;if(b>>>0>d>>>0){b:{d=b-d|0;e=H[a+92>>2];c=H[a+88>>2];if(d>>>0<=e-c>>2>>>0){c:{if(!d){break c}b=c;f=d&7;if(f){while(1){H[b>>2]=1;b=b+4|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}c=(d<<2)+c|0;if((d-1&1073741823)>>>0<7){break c}while(1){H[b+24>>2]=1;H[b+28>>2]=1;H[b+16>>2]=1;H[b+20>>2]=1;H[b+8>>2]=1;H[b+12>>2]=1;H[b>>2]=1;H[b+4>>2]=1;b=b+32|0;if((c|0)!=(b|0)){continue}break}}H[a+88>>2]=c;break b}d:{f=H[a+84>>2];j=c-f|0;c=j>>2;b=c+d|0;if(b>>>0<1073741824){e=e-f|0;h=e>>1;e=e>>>0<2147483644?b>>>0>h>>>0?b:h:1073741823;if(e){if(e>>>0>=1073741824){break d}i=ra(e<<2)}c=(c<<2)+i|0;b=c;h=d&7;if(h){b=c;while(1){H[b>>2]=1;b=b+4|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}c=c+(d<<2)|0;if((d-1&1073741823)>>>0>=7){while(1){H[b+24>>2]=1;H[b+28>>2]=1;H[b+16>>2]=1;H[b+20>>2]=1;H[b+8>>2]=1;H[b+12>>2]=1;H[b>>2]=1;H[b+4>>2]=1;b=b+32|0;if((c|0)!=(b|0)){continue}break}}if((j|0)>0){sa(i,f,j)}H[a+92>>2]=(e<<2)+i;H[a+88>>2]=c;H[a+84>>2]=i;if(f){qa(f)}break b}va();X()}ya(1604);X()}return}if(b>>>0>=d>>>0){break a}H[a+88>>2]=c+(b<<2)}}function bb(a){var b=0,c=0,d=0,e=0,f=0;e=da-16|0;da=e;b=ra(16);H[e>>2]=b;H[e+4>>2]=14;H[e+8>>2]=-2147483632;F[b+14|0]=0;c=I[1761]|I[1762]<<8|(I[1763]<<16|I[1764]<<24);d=I[1757]|I[1758]<<8|(I[1759]<<16|I[1760]<<24);F[b+6|0]=d;F[b+7|0]=d>>>8;F[b+8|0]=d>>>16;F[b+9|0]=d>>>24;F[b+10|0]=c;F[b+11|0]=c>>>8;F[b+12|0]=c>>>16;F[b+13|0]=c>>>24;c=I[1755]|I[1756]<<8|(I[1757]<<16|I[1758]<<24);d=I[1751]|I[1752]<<8|(I[1753]<<16|I[1754]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;f=Db(a,e,-1);if(F[e+11|0]<0){qa(H[e>>2])}b=ra(16);H[e>>2]=b;H[e+4>>2]=14;H[e+8>>2]=-2147483632;F[b+14|0]=0;c=I[1776]|I[1777]<<8|(I[1778]<<16|I[1779]<<24);d=I[1772]|I[1773]<<8|(I[1774]<<16|I[1775]<<24);F[b+6|0]=d;F[b+7|0]=d>>>8;F[b+8|0]=d>>>16;F[b+9|0]=d>>>24;F[b+10|0]=c;F[b+11|0]=c>>>8;F[b+12|0]=c>>>16;F[b+13|0]=c>>>24;c=I[1770]|I[1771]<<8|(I[1772]<<16|I[1773]<<24);d=I[1766]|I[1767]<<8|(I[1768]<<16|I[1769]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;a=Db(a,e,-1);if(F[e+11|0]<0){qa(H[e>>2])}da=e+16|0;a=(a|0)>(f|0)?a:f;return(a|0)==-1?5:a}function ne(a,b){var c=0,d=0,e=0,f=0,g=0;d=da-16|0;da=d;H[a+8>>2]=b;H[a>>2]=0;H[a+12>>2]=0;H[a+16>>2]=0;H[a+28>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+48>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;H[a+68>>2]=0;H[a+60>>2]=0;H[a+64>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;H[a+88>>2]=0;H[a+80>>2]=0;H[a+84>>2]=0;H[a+100>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0;g=a+128|0;a:{b:{if(b){if(b>>>0<1073741824){break b}va();X()}H[a+104>>2]=0;H[a+108>>2]=0;H[a+120>>2]=0;H[a+124>>2]=0;H[a+112>>2]=0;H[a+116>>2]=0;H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0;e=1;break a}e=b<<2;c=ra(e);H[a+92>>2]=c;f=c+e|0;H[a+100>>2]=f;ta(c,0,e);H[a+112>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;H[a+96>>2]=f;c=ra(e);H[a+104>>2]=c;f=c+e|0;H[a+112>>2]=f;ta(c,0,e);H[a+124>>2]=0;H[a+116>>2]=0;H[a+120>>2]=0;H[a+108>>2]=f;c=ra(e);H[a+116>>2]=c;f=c+e|0;H[a+124>>2]=f;ta(c,0,e);H[a+120>>2]=f;c=ra(e);H[d>>2]=c;f=c+e|0;H[d+8>>2]=f;ta(c,0,e);H[d+4>>2]=f;e=b<<5|1}cc(g,e,d);c=H[d>>2];if(c){H[d+4>>2]=c;qa(c)}H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0;if(b){b=b<<2;c=ra(b);H[d>>2]=c;f=b+c|0;H[d+8>>2]=f;ta(c,0,b);H[d+4>>2]=f}cc(a+140|0,e,d);b=H[d>>2];if(b){H[d+4>>2]=b;qa(b)}da=d+16|0;return a}function Hc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=-1;a:{if((b|0)==-1){h=H[a+12>>2];i=h+12|0;d=1;g=-1;break a}b:{c:{if((b>>>0)%3|0){e=b-1|0;h=H[a+12>>2];i=h+12|0;break c}h=H[a+12>>2];i=h+12|0;e=b+2|0;if((e|0)!=-1){break c}d=1;break b}g=H[h+12>>2];while(1){f=e;d=H[g+(e<<2)>>2];if((d|0)!=-1){f=-1;e=d+1|0;e=(e>>>0)%3|0?e:d-2|0;if((e|0)!=-1){continue}}break}d=(d|0)!=-1;g=-1;if((b|0)==-1){break a}}g=H[H[h>>2]+(b<<2)>>2]}b=0;if(c){b=H[a+84>>2]+(g>>>3&536870908)|0;H[b>>2]=H[b>>2]|1<<g;b=1}c=H[H[a+152>>2]+(g<<2)>>2];e=H[a+140>>2]+(c>>>3&536870908)|0;H[e>>2]=H[e>>2]|1<<c;c=-1;d:{if(d){break d}e:{if((f>>>0)%3|0){e=f-1|0;break e}e=f+2|0;if((e|0)!=-1){break e}f=-3;break d}c=H[H[h>>2]+(e<<2)>>2]}if((c|0)!=(g|0)){j=H[a+84>>2];while(1){a=f;f=(c>>>3&536870908)+j|0;H[f>>2]=H[f>>2]|1<<c;f=-1;c=-1;f:{if((a|0)==-1){break f}d=a+1|0;d=(d>>>0)%3|0?d:a-2|0;if((d|0)==-1){break f}e=H[i>>2];while(1){a=H[e+(d<<2)>>2];if((a|0)!=-1){d=a+1|0;d=(d>>>0)%3|0?d:a-2|0;if((d|0)!=-1){continue}break f}break}g:{if((d>>>0)%3|0){e=d-1|0;break g}e=d+2|0;if((e|0)!=-1){break g}f=-3;break f}c=H[H[h>>2]+(e<<2)>>2];f=d}b=b+1|0;if((c|0)!=(g|0)){continue}break}}}function bg(a){var 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;a:{b:{b=H[a+12>>2];c=H[b+4>>2]-H[b>>2]|0;if(!c){break b}j=a+140|0;c=c>>2;k=c>>>0>1?c:1;while(1){c:{if(Fc(b,(e>>>0)/3|0)){break c}b=H[a+12>>2];if(H[H[b+12>>2]+(e<<2)>>2]!=-1){break c}f=H[a+152>>2];d=e+1|0;d=(d>>>0)%3|0?d:e-2|0;if((d|0)!=-1){b=H[H[b>>2]+(d<<2)>>2]}else{b=-1}c=b<<2;if(H[f+c>>2]!=-1){break c}g=-1;h=H[a+144>>2];b=h;d=H[a+148>>2];if((b|0)==d<<5){if((h+1|0)<0){break a}if(h>>>0<=1073741822){b=h+32&-32;d=d<<6;b=b>>>0>d>>>0?b:d}else{b=2147483647}Hb(j,b);f=H[a+152>>2];g=H[c+f>>2];b=H[a+144>>2]}H[a+144>>2]=b+1;d=H[a+140>>2]+(b>>>3&536870908)|0;i=H[d>>2];m=d,n=Bl(b)&i,H[m>>2]=n;if((g|0)!=-1){break c}i=H[a+12>>2];c=c+f|0;b=e;while(1){d=b;H[c>>2]=h;b=-1;g=-1;d:{if((d|0)==-1){break d}c=d+1|0;c=(c>>>0)%3|0?c:d-2|0;if((c|0)==-1){break d}l=H[i+12>>2];while(1){d=H[(c<<2)+l>>2];if((d|0)!=-1){c=d+1|0;c=(c>>>0)%3|0?c:d-2|0;if((c|0)!=-1){continue}break d}break}b=c+1|0;b=(b>>>0)%3|0?b:c-2|0;if((b|0)!=-1){g=H[H[i>>2]+(b<<2)>>2]}b=c}c=(g<<2)+f|0;if(H[c>>2]==-1){continue}break}}e=e+1|0;if((k|0)==(e|0)){break b}b=H[a+12>>2];continue}}return 1}La();X()}function Og(a,b,c){var d=0,e=0,f=0,g=0;f=da-16|0;da=f;d=ra(16);H[f>>2]=d;H[f+4>>2]=14;H[f+8>>2]=-2147483632;F[d+14|0]=0;g=I[1761]|I[1762]<<8|(I[1763]<<16|I[1764]<<24);e=I[1757]|I[1758]<<8|(I[1759]<<16|I[1760]<<24);F[d+6|0]=e;F[d+7|0]=e>>>8;F[d+8|0]=e>>>16;F[d+9|0]=e>>>24;F[d+10|0]=g;F[d+11|0]=g>>>8;F[d+12|0]=g>>>16;F[d+13|0]=g>>>24;g=I[1755]|I[1756]<<8|(I[1757]<<16|I[1758]<<24);e=I[1751]|I[1752]<<8|(I[1753]<<16|I[1754]<<24);F[d|0]=e;F[d+1|0]=e>>>8;F[d+2|0]=e>>>16;F[d+3|0]=e>>>24;F[d+4|0]=g;F[d+5|0]=g>>>8;F[d+6|0]=g>>>16;F[d+7|0]=g>>>24;d=a+4|0;tb(d,f,b);if(F[f+11|0]<0){qa(H[f>>2])}a=ra(16);H[f>>2]=a;H[f+4>>2]=14;H[f+8>>2]=-2147483632;F[a+14|0]=0;e=I[1776]|I[1777]<<8|(I[1778]<<16|I[1779]<<24);b=I[1772]|I[1773]<<8|(I[1774]<<16|I[1775]<<24);F[a+6|0]=b;F[a+7|0]=b>>>8;F[a+8|0]=b>>>16;F[a+9|0]=b>>>24;F[a+10|0]=e;F[a+11|0]=e>>>8;F[a+12|0]=e>>>16;F[a+13|0]=e>>>24;e=I[1770]|I[1771]<<8|(I[1772]<<16|I[1773]<<24);b=I[1766]|I[1767]<<8|(I[1768]<<16|I[1769]<<24);F[a|0]=b;F[a+1|0]=b>>>8;F[a+2|0]=b>>>16;F[a+3|0]=b>>>24;F[a+4|0]=e;F[a+5|0]=e>>>8;F[a+6|0]=e>>>16;F[a+7|0]=e>>>24;tb(d,f,c);if(F[f+11|0]<0){qa(H[f>>2])}da=f+16|0}function Rf(a){a=a|0;var b=0,c=0,d=0,e=0;H[a>>2]=10560;e=H[a+280>>2];H[a+280>>2]=0;if(e){d=e-4|0;b=H[d>>2];if(b){c=(b<<5)+e|0;while(1){c=Aa(c-32|0);if((e|0)!=(c|0)){continue}break}}qa(d)}b=H[a+268>>2];if(b){H[a+272>>2]=b;qa(b)}b=H[a+244>>2];H[a+244>>2]=0;if(b){qa(b)}b=H[a+232>>2];if(b){H[a+236>>2]=b;qa(b)}Aa(a+200|0);b=H[a+184>>2];if(b){H[a+188>>2]=b;qa(b)}d=H[a+172>>2];if(d){c=H[a+176>>2];if((d|0)==(c|0)){b=d}else{while(1){b=H[c-20>>2];if(b){H[c-16>>2]=b;qa(b)}b=H[c-32>>2];if(b){H[c-28>>2]=b;qa(b)}oc(c-132|0);c=c-136|0;if((d|0)!=(c|0)){continue}break}b=H[a+172>>2]}H[a+176>>2]=d;qa(b)}b=H[a+152>>2];if(b){H[a+156>>2]=b;qa(b)}b=H[a+140>>2];if(b){qa(b)}c=H[a+128>>2];if(c){while(1){b=H[c>>2];qa(c);c=b;if(b){continue}break}}b=H[a+120>>2];H[a+120>>2]=0;if(b){qa(b)}b=H[a+108>>2];if(b){H[a+112>>2]=b;qa(b)}b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+84>>2];if(b){qa(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;qa(b)}b=H[a+52>>2];if(b){H[a+56>>2]=b;qa(b)}b=H[a+40>>2];if(b){H[a+44>>2]=b;qa(b)}b=H[a+28>>2];if(b){qa(b)}b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}b=H[a+12>>2];H[a+12>>2]=0;if(b){pc(a+12|0,b)}return a|0}function sa(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){aa(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if(!c){c=a;break b}c=a;while(1){F[c|0]=I[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0<e>>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0<c>>>0){break c}while(1){H[c>>2]=H[b>>2];H[c+4>>2]=H[b+4>>2];H[c+8>>2]=H[b+8>>2];H[c+12>>2]=H[b+12>>2];H[c+16>>2]=H[b+16>>2];H[c+20>>2]=H[b+20>>2];H[c+24>>2]=H[b+24>>2];H[c+28>>2]=H[b+28>>2];H[c+32>>2]=H[b+32>>2];H[c+36>>2]=H[b+36>>2];H[c+40>>2]=H[b+40>>2];H[c+44>>2]=H[b+44>>2];H[c+48>>2]=H[b+48>>2];H[c+52>>2]=H[b+52>>2];H[c+56>>2]=H[b+56>>2];H[c+60>>2]=H[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){H[c>>2]=H[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0<a>>>0){c=a;break a}c=a;while(1){F[c|0]=I[b|0];F[c+1|0]=I[b+1|0];F[c+2|0]=I[b+2|0];F[c+3|0]=I[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0<e>>>0){while(1){F[c|0]=I[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function Qa(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=H[a+112>>2];d=H[a+116>>2];e=!!(b|d);c=b;a:{i=e;e=H[a+4>>2];f=H[a+44>>2];b=e-f|0;h=b;g=b+H[a+120>>2]|0;b=H[a+124>>2]+(b>>31)|0;b=g>>>0<h>>>0?b+1|0:b;if(!(i&(c>>>0<=g>>>0&(b|0)>=(d|0)|(b|0)>(d|0)))){d=da-16|0;da=d;e=-1;c=H[a+72>>2];H[a+72>>2]=c-1|c;if(H[a+20>>2]!=H[a+28>>2]){fa[H[a+36>>2]](a,0,0)|0}H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;c=H[a>>2];b:{if(c&4){H[a>>2]=c|32;c=-1;break b}f=H[a+44>>2]+H[a+48>>2]|0;H[a+8>>2]=f;H[a+4>>2]=f;c=c<<27>>31}c:{if(c){break c}if((fa[H[a+32>>2]](a,d+15|0,1)|0)!=1){break c}e=I[d+15|0]}da=d+16|0;if((e|0)>=0){break a}f=H[a+44>>2];e=H[a+4>>2]}H[a+112>>2]=-1;H[a+116>>2]=-1;H[a+104>>2]=e;d=f-e|0;e=d+g|0;b=(d>>31)+b|0;H[a+120>>2]=e;H[a+124>>2]=d>>>0>e>>>0?b+1|0:b;return-1}d=g+1|0;b=d?b:b+1|0;g=H[a+4>>2];f=H[a+8>>2];c=H[a+112>>2];h=H[a+116>>2];d:{if(!(c|h)){break d}i=c-d|0;c=h-(b+(d>>>0>c>>>0)|0)|0;j=f-g|0;h=j>>31;if((c|0)>=(h|0)&i>>>0>=j>>>0|(c|0)>(h|0)){break d}f=g+i|0}H[a+104>>2]=f;c=H[a+44>>2];f=c-g|0;d=f+d|0;b=(f>>31)+b|0;H[a+120>>2]=d;H[a+124>>2]=d>>>0<f>>>0?b+1|0:b;if(c>>>0>=g>>>0){F[g-1|0]=e}return e}function Ma(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=H[a+8>>2];e=H[a+4>>2];if(f-e>>2>>>0>=b>>>0){a:{if(!b){break a}d=e;g=b&7;if(g){while(1){H[d>>2]=H[c>>2];d=d+4|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}e=(b<<2)+e|0;if((b-1&1073741823)>>>0<7){break a}while(1){H[d>>2]=H[c>>2];H[d+4>>2]=H[c>>2];H[d+8>>2]=H[c>>2];H[d+12>>2]=H[c>>2];H[d+16>>2]=H[c>>2];H[d+20>>2]=H[c>>2];H[d+24>>2]=H[c>>2];H[d+28>>2]=H[c>>2];d=d+32|0;if((e|0)!=(d|0)){continue}break}}H[a+4>>2]=e;return}b:{g=H[a>>2];k=e-g|0;e=k>>2;d=e+b|0;if(d>>>0<1073741824){f=f-g|0;i=f>>1;f=f>>>0<2147483644?d>>>0>i>>>0?d:i:1073741823;if(f){if(f>>>0>=1073741824){break b}j=ra(f<<2)}e=(e<<2)+j|0;d=e;i=b&7;if(i){d=e;while(1){H[d>>2]=H[c>>2];d=d+4|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}e=e+(b<<2)|0;if((b-1&1073741823)>>>0>=7){while(1){H[d>>2]=H[c>>2];H[d+4>>2]=H[c>>2];H[d+8>>2]=H[c>>2];H[d+12>>2]=H[c>>2];H[d+16>>2]=H[c>>2];H[d+20>>2]=H[c>>2];H[d+24>>2]=H[c>>2];H[d+28>>2]=H[c>>2];d=d+32|0;if((e|0)!=(d|0)){continue}break}}if((k|0)>0){sa(j,g,k)}H[a+8>>2]=(f<<2)+j;H[a+4>>2]=e;H[a>>2]=j;if(g){qa(g)}return}va();X()}ya(1604);X()}function Bi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a=da-32|0;da=a;a:{b:{c:{d:{if(!b){break d}f=sb(c);if(f>>>0>=4294967280){break c}e:{f:{if(f>>>0>=11){h=f+16&-16;g=ra(h);H[a+24>>2]=h|-2147483648;H[a+16>>2]=g;H[a+20>>2]=f;break f}F[a+27|0]=f;g=a+16|0;if(!f){break e}}sa(g,c,f)}F[f+g|0]=0;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;if(e){if((e|0)<0){break b}c=e<<2;e=ra(c);H[a>>2]=e;f=c+e|0;H[a+8>>2]=f;sa(e,d,c);H[a+4>>2]=f}c=da-48|0;da=c;d=pb(b,a+16|0);if((d|0)!=(b+4|0)){Dc(b,d)}H[c>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;d=H[a+4>>2]-H[a>>2]|0;eb(c,d);sa(H[c>>2],H[a>>2],d);g:{if(F[a+27|0]>=0){H[c+24>>2]=H[a+24>>2];d=H[a+20>>2];H[c+16>>2]=H[a+16>>2];H[c+20>>2]=d;break g}Ia(c+16|0,H[a+16>>2],H[a+20>>2])}H[c+36>>2]=0;H[c+28>>2]=0;H[c+32>>2]=0;eb(c+28|0,H[c+4>>2]-H[c>>2]|0);d=H[c>>2];sa(H[c+28>>2],d,H[c+4>>2]-d|0);d=c+16|0;Cc(c+40|0,b,d,d);d=H[c+28>>2];if(d){H[c+32>>2]=d;qa(d)}if(F[c+27|0]<0){qa(H[c+16>>2])}d=H[c>>2];if(d){H[c+4>>2]=d;qa(d)}da=c+48|0;c=H[a>>2];if(c){H[a+4>>2]=c;qa(c)}if(F[a+27|0]>=0){break d}qa(H[a+16>>2])}da=a+32|0;a=(b|0)!=0;break a}hb();X()}va();X()}return a|0}function gc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{e=H[a+124>>2];c:{if(!e){break c}f=H[a+120>>2];i=Al(e);h=e-1&d;d:{if(i>>>0<=1){break d}h=d;if(d>>>0<e>>>0){break d}h=(d>>>0)%(e>>>0)|0}f=H[f+(h<<2)>>2];if(!f){break c}g=H[f>>2];if(!g){break c}e:{if(i>>>0<=1){f=e-1|0;while(1){e=H[g+4>>2];f:{if((e|0)!=(d|0)){if((h|0)==(e&f)){break f}break c}if(H[g+8>>2]==(d|0)){break e}}g=H[g>>2];if(g){continue}break}break c}while(1){f=H[g+4>>2];g:{if((f|0)!=(d|0)){if(e>>>0<=f>>>0){f=(f>>>0)%(e>>>0)|0}if((f|0)==(h|0)){break g}break c}if(H[g+8>>2]==(d|0)){break e}}g=H[g>>2];if(g){continue}break}break c}h=H[g+12>>2];if((h|0)==-1){break c}g=c&1;c=H[a+112>>2];if((c|0)!=H[a+116>>2]){F[c+8|0]=g;H[c+4>>2]=b;H[c>>2]=h;H[a+112>>2]=c+12;return}d=H[a+108>>2];f=c-d|0;c=(f|0)/12|0;e=c+1|0;if(e>>>0>=357913942){break b}i=c<<1;e=c>>>0<178956970?e>>>0>i>>>0?e:i:357913941;if(e>>>0>=357913942){break a}e=N(e,12);i=ra(e);c=i+N(c,12)|0;F[c+8|0]=g;H[c+4>>2]=b;H[c>>2]=h;b=c+N((f|0)/-12|0,12)|0;if((f|0)>0){sa(b,d,f)}H[a+116>>2]=e+i;H[a+112>>2]=c+12;H[a+108>>2]=b;if(!d){break c}qa(d)}return}va();X()}ya(1604);X()}function tb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=da-48|0;da=f;e=da-32|0;da=e;i=e+21|0;d=i;l=e+32|0;if(!((d|0)==(l|0)|(c|0)>=0)){F[d|0]=45;d=d+1|0;c=0-c|0}a:{b:{h=l-d|0;if((h|0)<=9){g=N(32-Q(c|1)|0,1233)>>>12|0;if((h|0)<((g-(K[(g<<2)+18416>>2]>c>>>0)|0)+1|0)){break b}}h=e;c:{if(c>>>0<=99999999){d:{if(c>>>0<=9999){c=ze(d,c);break d}g=d;d=(c>>>0)/1e4|0;c=Ac(ze(g,d),c-N(d,1e4)|0)}break c}g=(c>>>0)/1e8|0;j=c-N(g,1e8)|0;c=(j>>>0)/1e4|0;c=Ac(Ac(Ae(d,g),c),j-N(c,1e4)|0)}H[h+8>>2]=c;c=0;break a}H[e+8>>2]=l;c=61}H[e+12>>2]=c;g=da-16|0;da=g;h=da-16|0;da=h;c=f+8|0;e:{j=H[e+8>>2];e=j-i|0;if(e>>>0<=4294967279){f:{if(e>>>0<=10){F[c+11|0]=e;d=c;break f}if(e>>>0>=11){k=e+16&-16;d=k-1|0;d=(d|0)==11?k:d}else{d=10}k=d+1|0;d=ra(k);H[c>>2]=d;H[c+8>>2]=k|-2147483648;H[c+4>>2]=e}while(1){if((i|0)!=(j|0)){F[d|0]=I[i|0];d=d+1|0;i=i+1|0;continue}break}F[h+15|0]=0;F[d|0]=I[h+15|0];da=h+16|0;break e}hb();X()}da=g+16|0;da=l;H[f+32>>2]=b;_d(f+40|0,a,b,f+32|0);a=H[f+40>>2];if(F[a+39|0]<0){qa(H[a+28>>2])}b=H[f+12>>2];H[a+28>>2]=H[f+8>>2];H[a+32>>2]=b;H[a+36>>2]=H[f+16>>2];da=f+48|0}function yc(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{g=a+16|0;d=H[g>>2];if(!d){break b}h=H[b>>2];b=g;while(1){f=(h|0)>H[d+16>>2];b=f?b:d;d=H[(f<<2)+d>>2];if(d){continue}break}if((b|0)==(g|0)|(h|0)<H[b+16>>2]){break b}d=H[b+24>>2];if(!d){break a}a=I[c+11|0];b=a<<24>>24<0;g=b?H[c>>2]:c;a=b?H[c+4>>2]:a;while(1){b=I[d+27|0];c=b<<24>>24<0;b=c?H[d+20>>2]:b;h=b>>>0<a>>>0;c:{d:{f=h?b:a;e:{if(f){e=d+16|0;c=c?H[e>>2]:e;e=Ga(g,c,f);f:{if(!e){if(a>>>0>=b>>>0){break f}break c}if((e|0)<0){break c}}b=Ga(c,g,f);if(!b){break e}if((b|0)<0){break d}return 1}if(a>>>0<b>>>0){break c}}if(h){break d}return 1}d=d+4|0}d=H[d>>2];if(d){continue}break}break a}d=H[a+4>>2];if(!d){break a}a=I[c+11|0];b=a<<24>>24<0;g=b?H[c>>2]:c;a=b?H[c+4>>2]:a;while(1){b=I[d+27|0];c=b<<24>>24<0;b=c?H[d+20>>2]:b;h=b>>>0<a>>>0;g:{h:{f=h?b:a;i:{if(f){e=d+16|0;c=c?H[e>>2]:e;e=Ga(g,c,f);j:{if(!e){if(a>>>0>=b>>>0){break j}break g}if((e|0)<0){break g}}b=Ga(c,g,f);if(!b){break i}if((b|0)<0){break h}return 1}if(a>>>0<b>>>0){break g}}if(h){break h}return 1}d=d+4|0}d=H[d>>2];if(d){continue}break}}return 0}function de(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;H[a+4>>2]=b;d=H[H[H[b+4>>2]+8>>2]+(c<<2)>>2];H[a+12>>2]=c;H[a+8>>2]=d;a:{if((fa[H[H[a>>2]+32>>2]](a)|0)==1&H[H[a+8>>2]+28>>2]-1>>>0>5){break a}f=H[b+48>>2];d=da-16|0;da=d;H[d+12>>2]=c;b=ra(32);H[d>>2]=b;H[d+4>>2]=17;H[d+8>>2]=-2147483616;F[b+17|0]=0;F[b+16|0]=I[1688];c=I[1684]|I[1685]<<8|(I[1686]<<16|I[1687]<<24);e=I[1680]|I[1681]<<8|(I[1682]<<16|I[1683]<<24);F[b+8|0]=e;F[b+9|0]=e>>>8;F[b+10|0]=e>>>16;F[b+11|0]=e>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1676]|I[1677]<<8|(I[1678]<<16|I[1679]<<24);e=I[1672]|I[1673]<<8|(I[1674]<<16|I[1675]<<24);F[b|0]=e;F[b+1|0]=e>>>8;F[b+2|0]=e>>>16;F[b+3|0]=e>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;b=xb(f,d+12|0,d,-1);if(F[d+11|0]<0){qa(H[d>>2])}da=d+16|0;b=fa[H[H[a>>2]+48>>2]](a,(b|0)==-1?-1:b>>>0>6?-2:b)|0;c=H[a+36>>2];H[a+36>>2]=b;e=1;if(c){fa[H[H[c>>2]+4>>2]](c);b=H[a+36>>2]}if(!b){break a}if(fa[H[H[a>>2]+36>>2]](a,b)|0){break a}b=H[a+36>>2];H[a+36>>2]=0;if(!b){break a}fa[H[H[b>>2]+4>>2]](b)}return e|0}function bc(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=32-b|0;c=c<<d;a:{b:{c:{e=H[a+16>>2];f=32-e|0;d:{if((f|0)>=(b|0)){b=b+e|0;H[a+16>>2]=b;f=H[a+12>>2]|c>>>e;H[a+12>>2]=f;if((b|0)!=32){break d}b=H[a+4>>2];e:{if((b|0)!=H[a+8>>2]){H[b>>2]=f;H[a+4>>2]=b+4;break e}e=H[a>>2];c=b-e|0;g=c>>2;b=g+1|0;if(b>>>0>=1073741824){break c}d=c>>1;d=c>>>0<2147483644?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break b}b=ra(d<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=f;if((c|0)>0){sa(b,e,c)}H[a+8>>2]=b+(d<<2);H[a+4>>2]=g+4;H[a>>2]=b;if(!e){break e}qa(e)}H[a+12>>2]=0;H[a+16>>2]=0;return}b=b-f|0;H[a+16>>2]=b;g=c>>>d|0;f=H[a+12>>2]|g>>>b;H[a+12>>2]=f;b=H[a+4>>2];f:{if((b|0)!=H[a+8>>2]){H[b>>2]=f;H[a+4>>2]=b+4;break f}e=H[a>>2];c=b-e|0;h=c>>2;b=h+1|0;if(b>>>0>=1073741824){break c}d=c>>1;d=c>>>0<2147483644?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break a}b=ra(d<<2)}else{b=0}h=b+(h<<2)|0;H[h>>2]=f;if((c|0)>0){sa(b,e,c)}H[a+8>>2]=b+(d<<2);H[a+4>>2]=h+4;H[a>>2]=b;if(!e){break f}qa(e)}H[a+12>>2]=g<<32-H[a+16>>2]}return}va();X()}ya(1604);X()}ya(1604);X()}function zl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(b){if(!g){break k}if(!d){break j}c=Q(d)-Q(b)|0;if(c>>>0<=31){break i}break c}if((d|0)==1|d>>>0>1){break c}a=(a>>>0)/(g>>>0)|0;ea=0;break a}if(!a){break h}if(!d){break g}if(d-1&d){break g}a=b>>>Cl(d)|0;ea=0;break a}if(!(g-1&g)){break f}h=(Q(g)+33|0)-Q(b)|0;e=0-h|0;break d}h=c+1|0;e=63-c|0;break d}a=(b>>>0)/(d>>>0)|0;ea=0;break a}c=Q(d)-Q(b)|0;if(c>>>0<31){break e}break c}if((g|0)==1){break b}c=Cl(g);d=c&31;if((c&63)>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<<d)-1&b)<<32-d|a>>>d}ea=c;break a}h=c+1|0;e=63-c|0}c=h&63;f=c&31;if(c>>>0>=32){c=0;i=b>>>f|0}else{c=b>>>f|0;i=((1<<f)-1&b)<<32-f|a>>>f}f=c;c=e&63;e=c&31;if(c>>>0>=32){c=a<<e;a=0}else{c=(1<<e)-1&a>>>32-e|b<<e;a=a<<e}b=c;if(h){c=d-1|0;e=g-1|0;m=(e|0)!=-1?c+1|0:c;while(1){c=i<<1|b>>>31;f=f<<1|i>>>31;j=m-(f+(c>>>0>e>>>0)|0)>>31;k=g&j;i=c-k|0;f=f-((d&j)+(c>>>0<k>>>0)|0)|0;b=b<<1|a>>>31;a=l|a<<1;l=j&1;h=h-1|0;if(h){continue}break}}ea=b<<1|a>>>31;a=l|a<<1;break a}a=0;b=0}ea=b}return a}function bf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=da-16|0;da=e;a:{d=Ye(a);b:{if(!d){a=0;break b}b=H[a+100>>2];g=H[a+96>>2];H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;f=b-g|0;b=(f|0)/12|0;c:{if(!f){break c}if(b>>>0>=357913942){break a}c=ra(f);H[e>>2]=c;H[e+8>>2]=c+N(b,12);a=0;h=c;c=N((f-12>>>0)/12|0,12)+12|0;f=ta(h,0,c);H[e+4>>2]=c+f;if(I[d+84|0]){d=b>>>0>1?b:1;i=d&1;if(b>>>0>=2){j=d&-2;b=0;while(1){c=N(a,12);d=c+g|0;h=H[d+4>>2];k=H[d>>2];c=c+f|0;H[c+8>>2]=H[d+8>>2];H[c>>2]=k;H[c+4>>2]=h;c=N(a|1,12);d=c+g|0;h=H[d+8>>2];k=H[d+4>>2];c=c+f|0;H[c>>2]=H[d>>2];H[c+4>>2]=k;H[c+8>>2]=h;a=a+2|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}}if(!i){break c}b=N(a,12);a=b+g|0;g=H[a+4>>2];d=H[a>>2];b=b+f|0;H[b+8>>2]=H[a+8>>2];H[b>>2]=d;H[b+4>>2]=g;break c}i=b>>>0>1?b:1;a=H[d+68>>2];b=0;while(1){c=N(b,12);d=c+g|0;j=H[a+(H[d>>2]<<2)>>2];h=H[a+(H[d+4>>2]<<2)>>2];c=c+f|0;H[c+8>>2]=H[a+(H[d+8>>2]<<2)>>2];H[c+4>>2]=h;H[c>>2]=j;b=b+1|0;if((i|0)!=(b|0)){continue}break}}a=ef(e);b=H[e>>2];if(!b){break b}H[e+4>>2]=b;qa(b)}da=e+16|0;return a}va();X()}function za(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;A(+a);c=v(1)|0;b=v(0)|0;d=c-1072604335|0;if((d|0)==135337|d>>>0<135337){if(!b&(c|0)==1072693248){return 0}f=M[1881];a=a+-1;A(+a);b=v(1)|0;v(0)|0;x(0,0);x(1,b|0);g=+z();h=f*g;e=a*a;i=e*(a*M[1890]+M[1889]);j=h+i;l=e*e;return j+(l*(l*(e*(a*M[1898]+M[1897])+(a*M[1896]+M[1895]))+(e*(a*M[1894]+M[1893])+(a*M[1892]+M[1891])))+((a-g)*f+a*M[1882]+(i+(h-j))))}d=c>>>16|0;a:{if(d-32752>>>0<=4294934559){if(!(c&2147483647|b)){b=da-16|0;M[b+8>>3]=-1;return M[b+8>>3]/0}if(!b&(c|0)==2146435072){break a}if(!(!(d&32768)&(d&32752)!=32752)){a=a-a;return a/a}A(+(a*4503599627370496));c=v(1)|0;b=v(0)|0;c=c-54525952|0}d=c-1072037888|0;k=(d>>>14&63)<<4;f=M[k+15200>>3]+ +(d>>20);g=M[1881];a=M[k+15192>>3];x(0,b-0|0);x(1,c-((d&-1048576)+(b>>>0<m>>>0)|0)|0);a=a*(+z()-M[k+16216>>3]-M[k+16224>>3]);A(+a);b=v(1)|0;v(0)|0;x(0,0);x(1,b|0);h=+z();i=g*h;j=f+i;e=a*a;a=j+(e*(e*e*(a*M[1888]+M[1887])+(e*(a*M[1886]+M[1885])+(a*M[1884]+M[1883])))+((a-h)*g+M[1882]*a+(i+(f-j))))}return a}function Te(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=H[a+12>>2];g=H[a+8>>2];j=m-g|0;e=H[c>>2];n=H[c+4>>2];a:{if((e|0)==(n|0)){break a}p=H[b>>2];if((j|0)<=0){while(1){b=H[(H[e>>2]<<2)+p>>2];d=b>>>0<d>>>0?d:b+1|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}break a}b=j>>2;b=(b|0)>1?b:1;r=b&2147483646;s=b&1;t=(j|0)<8;while(1){c=H[e>>2];k=c<<2;l=H[p+k>>2];if(l>>>0>=d>>>0){d=0;i=0;if(!t){while(1){q=d<<2;h=H[q+g>>2];f=H[h+68>>2];b=c;b=I[h+84|0]?b:H[f+k>>2];h=f;f=l<<2;H[h+f>>2]=b;h=f;b=H[(q|4)+g>>2];f=H[b+68>>2];H[h+f>>2]=I[b+84|0]?c:H[f+k>>2];d=d+2|0;i=i+2|0;if((r|0)!=(i|0)){continue}break}}if(s){b=H[(d<<2)+g>>2];d=H[b+68>>2];i=d+(l<<2)|0;if(!I[b+84|0]){c=H[d+k>>2]}H[i>>2]=c}d=l+1|0}e=e+4|0;if((n|0)!=(e|0)){continue}break}}if((j|0)>0){while(1){b=H[(o<<2)+g>>2];F[b+84|0]=0;e=H[b+68>>2];c=H[b+72>>2]-e>>2;b:{if(c>>>0<d>>>0){Ma(b+68|0,d-c|0,15040);g=H[a+8>>2];m=H[a+12>>2];break b}if(c>>>0<=d>>>0){break b}H[b+72>>2]=e+(d<<2)}o=o+1|0;if((o|0)<m-g>>2){continue}break}}}function Cg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=da-16|0;da=j;H[j+8>>2]=0;H[j>>2]=0;H[j+4>>2]=0;a:{b:{e=c+1|0;if(e>>>0>=c>>>0){if(e>>>0>=1073741824){break b}h=ra(e<<2);ta(h,0,(c<<2)+4|0)}c:{if((b|0)<=0){break c}e=0;if(b-1>>>0>=3){k=b&-4;while(1){f=e<<2;i=(H[f+a>>2]<<2)+h|0;H[i>>2]=H[i>>2]+1;i=(H[(f|4)+a>>2]<<2)+h|0;H[i>>2]=H[i>>2]+1;i=(H[(f|8)+a>>2]<<2)+h|0;H[i>>2]=H[i>>2]+1;f=(H[(f|12)+a>>2]<<2)+h|0;H[f>>2]=H[f>>2]+1;e=e+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}f=b&3;if(!f){break c}while(1){k=(H[(e<<2)+a>>2]<<2)+h|0;H[k>>2]=H[k>>2]+1;e=e+1|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}}e=0;if((c|0)<0){a=0;break a}o=+(b|0);a=0;while(1){b=H[(e<<2)+h>>2];if((b|0)>0){n=+(b|0);g=n*za(n/o)+g;a=a+1|0}b=(c|0)==(e|0);e=e+1|0;if(!b){continue}break}break a}va();X()}if(d){H[d>>2]=a}if(h){qa(h)}g=-g;d:{if(P(g)<0x8000000000000000){b=P(g)>=1?~~(g>0?R(T(g*2.3283064365386963e-10),4294967295):U((g-+(~~g>>>0>>>0))*2.3283064365386963e-10))>>>0:0;a=~~g>>>0;break d}b=-2147483648;a=0}da=j+16|0;ea=b;return a}function ub(a,b){var c=0,d=0,e=0;c=(a|0)==(b|0);F[b+12|0]=c;a:{if(c){break a}while(1){d=H[b+8>>2];if(I[d+12|0]){break a}b:{c=H[d+8>>2];e=H[c>>2];c:{if((d|0)==(e|0)){e=H[c+4>>2];if(!(!e|I[e+12|0])){break b}d:{if(H[d>>2]==(b|0)){b=d;break d}b=H[d+4>>2];a=H[b>>2];H[d+4>>2]=a;if(a){H[a+8>>2]=d;c=H[d+8>>2]}H[b+8>>2]=c;a=H[d+8>>2];H[(((d|0)!=H[a>>2])<<2)+a>>2]=b;H[b>>2]=d;H[d+8>>2]=b;c=H[b+8>>2]}F[b+12|0]=1;F[c+12|0]=0;a=H[c>>2];b=H[a+4>>2];H[c>>2]=b;if(b){H[b+8>>2]=c}H[a+8>>2]=H[c+8>>2];b=H[c+8>>2];H[((H[b>>2]!=(c|0))<<2)+b>>2]=a;H[a+4>>2]=c;b=c+8|0;break c}if(!(I[e+12|0]|!e)){break b}e:{if(H[d>>2]!=(b|0)){b=d;break e}a=H[b+4>>2];H[d>>2]=a;if(a){H[a+8>>2]=d;c=H[d+8>>2]}H[b+8>>2]=c;a=H[d+8>>2];H[(((d|0)!=H[a>>2])<<2)+a>>2]=b;H[b+4>>2]=d;H[d+8>>2]=b;c=H[b+8>>2]}F[b+12|0]=1;F[c+12|0]=0;a=H[c+4>>2];b=H[a>>2];H[c+4>>2]=b;if(b){H[b+8>>2]=c}H[a+8>>2]=H[c+8>>2];b=H[c+8>>2];H[((H[b>>2]!=(c|0))<<2)+b>>2]=a;H[a>>2]=c;b=c+8|0}H[b>>2]=a;break a}F[d+12|0]=1;d=(a|0)==(c|0);F[c+12|0]=d;F[e+12|0]=1;b=c;if(!d){continue}break}}}function Va(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;a:{b:{if((e|0)<=(f|0)){if((a|0)==(b|0)){break b}e=g;f=a;while(1){H[e>>2]=H[f>>2];e=e+4|0;f=f+4|0;if((f|0)!=(b|0)){continue}break}if((e|0)==(g|0)){break b}d=H[d>>2];while(1){if((b|0)==(c|0)){b=e-g|0;if(!b){break b}xa(a,g,b);return}c:{f=H[d>>2];h=H[d+4>>2]-f>>3;i=H[b>>2];if(h>>>0<=i>>>0){break c}j=h;h=H[g>>2];if(j>>>0<=h>>>0){break c}d:{if(K[f+(i<<3)>>2]<K[f+(h<<3)>>2]){H[a>>2]=i;b=b+4|0;break d}H[a>>2]=h;g=g+4|0}a=a+4|0;if((e|0)!=(g|0)){continue}break b}break}ua();X()}if((b|0)==(c|0)){break b}e=g;f=b;while(1){H[e>>2]=H[f>>2];e=e+4|0;f=f+4|0;if((f|0)!=(c|0)){continue}break}if((e|0)==(g|0)){break b}while(1){if((a|0)==(b|0)){while(1){c=c-4|0;e=e-4|0;H[c>>2]=H[e>>2];if((e|0)!=(g|0)){continue}break b}}i=H[d>>2];f=H[i>>2];h=H[i+4>>2]-f>>3;k=e-4|0;i=H[k>>2];if(h>>>0<=i>>>0){break a}j=h;l=b-4|0;h=H[l>>2];if(j>>>0<=h>>>0){break a}c=c-4|0;f=K[f+(i<<3)>>2]<K[f+(h<<3)>>2];H[c>>2]=f?h:i;b=f?l:b;e=f?e:k;if((g|0)!=(e|0)){continue}break}}return}ua();X()}function gb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=da-32|0;da=b;c=H[a+16>>2];a:{if(c>>>0>=113){H[a+16>>2]=c-113;c=H[a+4>>2];H[b+8>>2]=H[c>>2];H[a+4>>2]=c+4;wc(a,b+8|0);break a}b:{c:{d:{e:{e=H[a+8>>2];f=e-H[a+4>>2]>>2;d=H[a+12>>2];c=d-H[a>>2]|0;if(f>>>0<c>>2>>>0){if((d|0)==(e|0)){break e}g=b,h=ra(4068),H[g+8>>2]=h;wc(a,b+8|0);break a}H[b+24>>2]=a+12;c=c?c>>1:1;if(c>>>0>=1073741824){break d}d=c<<2;c=ra(d);H[b+8>>2]=c;e=c+(f<<2)|0;H[b+16>>2]=e;H[b+20>>2]=c+d;H[b+12>>2]=e;g=b,h=ra(4068),H[g+4>>2]=h;wc(b+8|0,b+4|0);d=H[a+8>>2];if((d|0)==H[a+4>>2]){c=d;break b}while(1){d=d-4|0;he(b+8|0,d);if(H[a+4>>2]!=(d|0)){continue}break}break c}g=b,h=ra(4068),H[g+8>>2]=h;c=b+8|0;he(a,c);d=H[a+4>>2];H[b+8>>2]=H[d>>2];H[a+4>>2]=d+4;wc(a,c);break a}ya(1604);X()}c=H[a+8>>2]}e=H[a>>2];H[a>>2]=H[b+8>>2];H[b+8>>2]=e;H[a+4>>2]=H[b+12>>2];H[b+12>>2]=d;H[a+8>>2]=H[b+16>>2];H[b+16>>2]=c;f=H[a+12>>2];H[a+12>>2]=H[b+20>>2];H[b+20>>2]=f;if((c|0)!=(d|0)){H[b+16>>2]=c+(((c-d|0)-4>>>2^-1)<<2)}if(!e){break a}qa(e)}da=b+32|0}function vk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=O(0),j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k=da-16|0;da=k;if(H[c+28>>2]==9){d=H[a+4>>2];g=F[c+24|0];e=g<<2;f=ra((g&1073741823)!=(g|0)?-1:e);l=k+8|0;H[l>>2]=1065353216;i=L[a+20>>2];d=-1<<d^-1;if((d|0)>0){L[l>>2]=i/O(d|0)}o=(d|0)>0;a:{if(!o){break a}j=H[c+80>>2];if(!j){break a}d=0;if((g|0)<=0){if((j|0)!=1){a=j&-2;b=0;while(1){sa(H[H[c+64>>2]>>2]+d|0,f,e);d=d+e|0;sa(d+H[H[c+64>>2]>>2]|0,f,e);d=d+e|0;b=b+2|0;if((a|0)!=(b|0)){continue}break}}if(!(j&1)){break a}sa(H[H[c+64>>2]>>2]+d|0,f,e);break a}p=H[H[b>>2]>>2]+H[b+48>>2]|0;t=g&-2;u=g&1;while(1){m=H[a+8>>2];i=L[l>>2];b=0;n=0;if((g|0)!=1){while(1){h=b<<2;q=(d<<2)+p|0;L[h+f>>2]=O(i*O(H[q>>2]))+L[h+m>>2];h=h|4;L[h+f>>2]=O(i*O(H[q+4>>2]))+L[h+m>>2];b=b+2|0;d=d+2|0;n=n+2|0;if((t|0)!=(n|0)){continue}break}}if(u){b=b<<2;L[b+f>>2]=O(i*O(H[(d<<2)+p>>2]))+L[b+m>>2];d=d+1|0}sa(H[H[c+64>>2]>>2]+r|0,f,e);r=e+r|0;s=s+1|0;if((s|0)!=(j|0)){continue}break}}qa(f)}da=k+16|0;return o|0}function fd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(I[a+11|0]>>>7|0){d=H[a+4>>2]}else{d=I[a+11|0]}if(d>>>0<b>>>0){i=da-16|0;da=i;h=b-d|0;if(h){e=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:10;if(I[a+11|0]>>>7|0){b=H[a+4>>2]}else{b=I[a+11|0]}j=b+h|0;if(e-b>>>0<h>>>0){b:{g=da-16|0;da=g;c=j-e|0;if(c>>>0<=-17-e>>>0){if(I[a+11|0]>>>7|0){d=H[a>>2]}else{d=a}c:{if(e>>>0<2147483623){H[g+8>>2]=e<<1;H[g+12>>2]=c+e;c=da-16|0;da=c;da=c+16|0;c=g+8|0;f=g+12|0;c=H[(K[f>>2]<K[c>>2]?c:f)>>2];if(c>>>0>=11){f=c+16&-16;c=f-1|0;c=(c|0)==11?f:c}else{c=10}break c}c=-18}f=c+1|0;c=ra(f);if(b){Cb(c,d,b)}if((e|0)!=10){qa(d)}H[a>>2]=c;H[a+8>>2]=f|-2147483648;da=g+16|0;break b}hb();X()}}d=b;if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}d=d+b|0;if(h){ta(d,0,h)}d:{if(I[a+11|0]>>>7|0){H[a+4>>2]=j;break d}F[a+11|0]=j}F[i+15|0]=0;F[b+j|0]=I[i+15|0]}da=i+16|0;break a}d=da-16|0;da=d;e:{if(I[a+11|0]>>>7|0){e=H[a>>2];F[d+15|0]=0;F[b+e|0]=I[d+15|0];H[a+4>>2]=b;break e}F[d+14|0]=0;F[a+b|0]=I[d+14|0];F[a+11|0]=b}da=d+16|0}}function Vk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=H[b+88>>2];if(!(!c|H[c>>2]!=1)){d=H[c+8>>2];H[a+4>>2]=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);d=F[b+24|0];e=H[a+8>>2];f=H[a+12>>2]-e>>2;a:{if(d>>>0>f>>>0){Ea(a+8|0,d-f|0);d=F[b+24|0];e=H[a+8>>2];break a}if(d>>>0>=f>>>0){break a}H[a+12>>2]=(d<<2)+e}k=1;f=H[c+8>>2];b:{if((d|0)<=0){b=4;break b}h=d&3;c:{if(d-1>>>0<3){b=4;d=0;break c}l=d&-4;d=0;b=4;while(1){g=d<<2;c=b+f|0;H[g+e>>2]=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[(g|4)+e>>2]=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);H[(g|8)+e>>2]=I[c+8|0]|I[c+9|0]<<8|(I[c+10|0]<<16|I[c+11|0]<<24);H[(g|12)+e>>2]=I[c+12|0]|I[c+13|0]<<8|(I[c+14|0]<<16|I[c+15|0]<<24);d=d+4|0;b=b+16|0;i=i+4|0;if((l|0)!=(i|0)){continue}break}}if(!h){break b}while(1){c=b+f|0;H[(d<<2)+e>>2]=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);d=d+1|0;b=b+4|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}c=a;a=b+f|0;H[c+20>>2]=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24)}return k|0}function Ee(a,b,c,d){var e=0,f=0,g=0,h=0;g=da-32|0;da=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;a:{if((f|0)==(e|0)&0|e>>>0>f>>>0){e=d<<4|c>>>28;f=c<<4|b>>>28;c=e;b=b&268435455;if((b|0)==134217728&(a|0)!=0|b>>>0>134217728){e=c+1073741824|0;a=f+1|0;e=a?e:e+1|0;f=a;break a}e=c+1073741824|0;if(b^134217728|a){break a}b=f&1;a=b+f|0;e=a>>>0<b>>>0?e+1|0:e;f=a;break a}if(!(!c&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){e=c;c=d<<4|e>>>28;f=e<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Ta(g+16|0,a,b,c,e,h-15233|0);Jb(g,a,b,c,e,15361-h|0);e=H[g+4>>2];h=e;a=H[g+8>>2];c=H[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;b=H[g>>2]|(H[g+16>>2]|H[g+24>>2]|(H[g+20>>2]|H[g+28>>2]))!=0;if((a|0)==134217728&(b|0)!=0|a>>>0>134217728){a=f+1|0;e=a?e:e+1|0;f=a;break a}if(a^134217728|b){break a}a=f+(f&1)|0;e=a>>>0<f>>>0?e+1|0:e;f=a}da=g+32|0;x(0,f|0);x(1,d&-2147483648|e);return+z()}function Zc(a){var b=0,c=0,d=0,e=0;c=H[a+1176>>2];if(c){b=H[a+1180>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=H[e>>2];if(d){H[b-8>>2]=d;qa(d)}b=e;if((c|0)!=(b|0)){continue}break}b=H[a+1176>>2]}H[a+1180>>2]=c;qa(b)}c=H[a+1164>>2];if(c){b=H[a+1168>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=H[e>>2];if(d){H[b-8>>2]=d;qa(d)}b=e;if((c|0)!=(b|0)){continue}break}b=H[a+1164>>2]}H[a+1168>>2]=c;qa(b)}b=H[a+1152>>2];if(b){H[a+1156>>2]=b;qa(b)}b=H[a+1140>>2];if(b){H[a+1144>>2]=b;qa(b)}b=H[a+1128>>2];if(b){H[a+1132>>2]=b;qa(b)}vb(a+1108|0);vb(a+1088|0);vb(a+1068|0);Aa(a+1036|0);a=a+12|0;Aa(a+992|0);Aa(a+960|0);Aa(a+928|0);Aa(a+896|0);Aa(a+864|0);Aa(a+832|0);Aa(a+800|0);Aa(a+768|0);Aa(a+736|0);Aa(a+704|0);Aa(a+672|0);Aa(a+640|0);Aa(a+608|0);Aa(a+576|0);Aa(a+544|0);Aa(a+512|0);Aa(a+480|0);Aa(a+448|0);Aa(a+416|0);Aa(a+384|0);Aa(a+352|0);Aa(a+320|0);Aa(a+288|0);Aa(a+256|0);Aa(a+224|0);Aa(a+192|0);Aa(a+160|0);Aa(a+128|0);Aa(a+96|0);Aa(a- -64|0);Aa(a+32|0);Aa(a)}function nb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=(c>>>0)/3|0;i=H[(H[H[a+8>>2]+96>>2]+N(d,12)|0)+(c-N(d,3)<<2)>>2];e=H[H[a+12>>2]+4>>2];d=H[e+4>>2];a:{if((d|0)!=H[e+8>>2]){H[d>>2]=i;H[e+4>>2]=d+4;break a}b:{h=H[e>>2];g=d-h|0;j=g>>2;d=j+1|0;if(d>>>0<1073741824){f=g>>1;f=g>>>0<2147483644?d>>>0>f>>>0?d:f:1073741823;if(f){if(f>>>0>=1073741824){break b}d=ra(f<<2)}else{d=0}j=d+(j<<2)|0;H[j>>2]=i;if((g|0)>0){sa(d,h,g)}H[e+8>>2]=d+(f<<2);H[e+4>>2]=j+4;H[e>>2]=d;if(h){qa(h)}break a}va();X()}ya(1604);X()}e=H[a+4>>2];d=H[e+4>>2];c:{d:{e:{if((d|0)!=H[e+8>>2]){H[d>>2]=c;H[e+4>>2]=d+4;break e}h=H[e>>2];g=d-h|0;i=g>>2;d=i+1|0;if(d>>>0>=1073741824){break d}f=g>>1;f=g>>>0<2147483644?d>>>0>f>>>0?d:f:1073741823;if(f){if(f>>>0>=1073741824){break c}d=ra(f<<2)}else{d=0}i=d+(i<<2)|0;H[i>>2]=c;if((g|0)>0){sa(d,h,g)}H[e+8>>2]=d+(f<<2);H[e+4>>2]=i+4;H[e>>2]=d;if(!h){break e}qa(h)}a=H[a+4>>2];H[H[a+12>>2]+(b<<2)>>2]=H[a+24>>2];H[a+24>>2]=H[a+24>>2]+1;return}va();X()}ya(1604);X()}function eg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=da+-64|0;da=c;d=ra(80);i=H[a+8>>2];H[d+12>>2]=0;H[d+16>>2]=0;H[d>>2]=11708;H[d+4>>2]=0;H[d+20>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;H[d+40>>2]=0;H[d+44>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d+76>>2]=0;H[d+72>>2]=b;H[d+68>>2]=i;H[d- -64>>2]=0;j=d+56|0;e=j;H[e>>2]=0;H[e+4>>2]=0;H[d+8>>2]=11872;e=H[a+12>>2];H[c+40>>2]=0;H[c+44>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;f=c+24|0;H[f>>2]=0;H[f+4>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c+56>>2]=0;H[c+48>>2]=0;H[c+52>>2]=0;H[c>>2]=11872;H[c+4>>2]=e;g=H[e>>2];h=H[e+4>>2];F[c+63|0]=0;k=f;f=c+63|0;Ra(k,(h-g>>2>>>0)/3|0,f);g=H[c+4>>2];h=H[g+28>>2];g=H[g+24>>2];F[c+63|0]=0;Ra(c+36|0,h-g>>2,f);H[c+20>>2]=d;H[c+16>>2]=i;H[c+12>>2]=b;H[c+8>>2]=e;H[d+76>>2]=a+72;Jc(d+8|0,c);hc(j,H[c+48>>2],H[c+52>>2]);H[c>>2]=11872;a=H[c+48>>2];if(a){H[c+52>>2]=a;qa(a)}H[c>>2]=11688;a=H[c+36>>2];if(a){qa(a)}a=H[c+24>>2];if(a){qa(a)}da=c- -64|0;return d}function zg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;ac(a,g,c,f,e,f);d=d-f|0;ac(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function yg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;$b(a,g,c,f,e,f);d=d-f|0;$b(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function xg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;_b(a,g,c,f,e,f);d=d-f|0;_b(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function wg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Zb(a,g,c,f,e,f);d=d-f|0;Zb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function vg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Yb(a,g,c,f,e,f);d=d-f|0;Yb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function ug(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Xb(a,g,c,f,e,f);d=d-f|0;Xb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function tg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Wb(a,g,c,f,e,f);d=d-f|0;Wb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function sg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Vb(a,g,c,f,e,f);d=d-f|0;Vb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function rg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Ub(a,g,c,f,e,f);d=d-f|0;Ub(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function qg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Tb(a,g,c,f,e,f);d=d-f|0;Tb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function pg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Sb(a,g,c,f,e,f);d=d-f|0;Sb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function og(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Rb(a,g,c,f,e,f);d=d-f|0;Rb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function mg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Qb(a,g,c,f,e,f);d=d-f|0;Qb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function lg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Pb(a,g,c,f,e,f);d=d-f|0;Pb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function kg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Ob(a,g,c,f,e,f);d=d-f|0;Ob(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function jg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Nb(a,g,c,f,e,f);d=d-f|0;Nb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function ig(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Mb(a,g,c,f,e,f);d=d-f|0;Mb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function hg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{switch(d|0){case 2:d=H[c>>2];c=H[d>>2];d=H[d+4>>2]-c>>3;g=b-4|0;b=H[g>>2];if(d>>>0<=b>>>0){break d}f=d;d=H[a>>2];if(f>>>0<=d>>>0){break d}if(K[c+(b<<3)>>2]<K[c+(d<<3)>>2]){H[e>>2]=b;H[e+4>>2]=H[a>>2];return}H[e>>2]=d;H[e+4>>2]=H[g>>2];return;default:if((d|0)<=8){Wa(a,b,e,c);return}f=d>>>1|0;h=f<<2;g=h+a|0;Lb(a,g,c,f,e,f);d=d-f|0;Lb(g,b,c,d,e+h|0,d);c=H[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){H[e>>2]=H[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=H[c>>2];j=H[c+4>>2]-f>>3;h=H[d>>2];if(j>>>0<=h>>>0){break c}i=H[a>>2];if(j>>>0<=i>>>0){break c}f:{if(K[f+(h<<3)>>2]<K[f+(i<<3)>>2]){H[e>>2]=h;d=d+4|0;break f}H[e>>2]=i;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break};break b;case 0:break a;case 1:break e}}H[e>>2]=H[a>>2];break a}ua();X()}ua();X()}if((b|0)==(d|0)){break a}while(1){H[e>>2]=H[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function ng(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=H[d+80>>2];e=da-48|0;da=e;a=H[a+4>>2];a:{if(a-31>>>0<4294967267){break a}i=H[H[d>>2]>>2]+H[d+48>>2]|0;H[e+16>>2]=a;a=-1<<a;H[e+20>>2]=a^-1;a=-2-a|0;H[e+24>>2]=a;H[e+32>>2]=(a|0)/2;L[e+28>>2]=O(2)/O(a|0);g=H[c>>2];if((g|0)!=H[c+4>>2]){a=0;d=0;while(1){f=H[(d<<2)+g>>2];h=e+36|0;j=H[H[b>>2]>>2];l=H[b+48>>2];g=H[b+44>>2];k=H[b+40>>2];if(!I[b+84|0]){f=H[H[b+68>>2]+(f<<2)>>2]}f=xl(k,g,f,0)+l|0;sa(h,f+j|0,k);Kf(e+16|0,h,e+12|0,e+8|0);g=a<<2;H[g+i>>2]=H[e+12>>2];H[(g|4)+i>>2]=H[e+8>>2];f=1;a=a+2|0;d=d+1|0;g=H[c>>2];if(d>>>0<H[c+4>>2]-g>>2>>>0){continue}break}break a}if(!h){f=1;break a}d=0;a=0;while(1){j=e+36|0;c=H[H[b>>2]>>2];f=H[b+40>>2];g=H[b+48>>2]+xl(f,H[b+44>>2],I[b+84|0]?a:H[H[b+68>>2]+(a<<2)>>2],0)|0;sa(j,c+g|0,f);Kf(e+16|0,j,e+12|0,e+8|0);c=d<<2;H[c+i>>2]=H[e+12>>2];H[(c|4)+i>>2]=H[e+8>>2];d=d+2|0;f=1;a=a+1|0;if((h|0)!=(a|0)){continue}break}}da=e+48|0;return f|0}function Cc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=H[b+4>>2];a:{b:{if(f){g=I[c+11|0];e=g<<24>>24<0;k=e?H[c>>2]:c;e=e?H[c+4>>2]:g;g=b+4|0;while(1){c=I[f+27|0];h=c<<24>>24<0;c=h?H[f+20>>2]:c;l=c>>>0<e>>>0;c:{d:{e:{f:{g:{j=l?c:e;h:{if(j){i=f+16|0;h=h?H[i>>2]:i;i=Ga(k,h,j);if(!i){if(c>>>0>e>>>0){break h}break g}if((i|0)>=0){break g}break h}if(c>>>0<=e>>>0){break f}}c=H[f>>2];if(c){break c}break b}c=Ga(h,k,j);if(c){break e}}if(l){break d}break a}if((c|0)>=0){break a}}g=f+4|0;c=H[f+4>>2];if(!c){break a}f=g}g=f;f=c;continue}}f=b+4|0}g=f}c=H[g>>2];if(c){b=0}else{c=ra(40);H[c+24>>2]=H[d+8>>2];e=H[d+4>>2];H[c+16>>2]=H[d>>2];H[c+20>>2]=e;H[d>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;H[c+36>>2]=0;e=c+28|0;H[e>>2]=0;H[e+4>>2]=0;eb(e,H[d+16>>2]-H[d+12>>2]|0);h=H[e>>2];e=H[d+12>>2];sa(h,e,H[d+16>>2]-e|0);H[c+8>>2]=f;H[c>>2]=0;H[c+4>>2]=0;H[g>>2]=c;d=H[H[b>>2]>>2];if(d){H[b>>2]=d;d=H[g>>2]}else{d=c}ub(H[b+4>>2],d);H[b+8>>2]=H[b+8>>2]+1;b=1}F[a+4|0]=b;H[a>>2]=c}function Yi(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=H[a+4>>2];b=H[b+12>>2]-H[b+8>>2]|0;a:{if((b|0)>0){while(1){if(fa[H[H[a>>2]+36>>2]](a,c)|0){b=H[a+4>>2];b=H[b+12>>2]-H[b+8>>2]>>2;c=c+1|0;if((b|0)>(c|0)){continue}break a}break}return 0}b=b>>2}h=a+20|0;d=H[a+20>>2];c=H[a+24>>2]-d>>2;b:{if(c>>>0<b>>>0){Ea(h,b-c|0);break b}if(b>>>0>=c>>>0){break b}H[a+24>>2]=d+(b<<2)}i=H[a+8>>2];a=H[a+12>>2]-i|0;if(!a){return 1}a=a>>2;k=a>>>0>1?a:1;c=0;while(1){a=H[(c<<2)+i>>2];b=H[a+4>>2];a=H[a+8>>2]-b|0;c:{if(!a){break c}d=H[h>>2];a=a>>2;e=a>>>0>1?a:1;j=e&3;f=0;a=0;if(e-1>>>0>=3){l=e&-4;g=0;while(1){e=a<<2;H[d+(H[e+b>>2]<<2)>>2]=c;H[d+(H[b+(e|4)>>2]<<2)>>2]=c;H[d+(H[b+(e|8)>>2]<<2)>>2]=c;H[d+(H[b+(e|12)>>2]<<2)>>2]=c;a=a+4|0;g=g+4|0;if((l|0)!=(g|0)){continue}break}}if(!j){break c}while(1){H[d+(H[b+(a<<2)>>2]<<2)>>2]=c;a=a+1|0;f=f+1|0;if((f|0)!=(j|0)){continue}break}}c=c+1|0;if((k|0)!=(c|0)){continue}break}return 1}function sj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=da-16|0;da=g;b=H[a+4>>2];d=H[b>>2];a:{c=H[a+12>>2];c=H[c+28>>2]-H[c+24>>2]|0;e=c>>2;b:{if(e>>>0<=H[b+8>>2]-d>>2>>>0){break b}if((c|0)<0){break a}f=H[b+4>>2];c=ra(c);h=c+(e<<2)|0;e=f-d|0;f=e+c|0;if((e|0)>0){sa(c,d,e)}H[b+8>>2]=h;H[b+4>>2]=f;H[b>>2]=c;if(!d){break b}qa(d)}b=H[a+12>>2];d=H[b+28>>2];b=H[b+24>>2];H[g+12>>2]=0;b=d-b>>2;c=a+96|0;e=H[c>>2];d=H[a+100>>2]-e>>2;c:{if(b>>>0>d>>>0){Ma(c,b-d|0,g+12|0);break c}if(b>>>0>=d>>>0){break c}H[a+100>>2]=e+(b<<2)}e=a+8|0;b=H[a+116>>2];d:{if(b){c=H[b>>2];if((c|0)==H[b+4>>2]){d=1;break d}b=0;while(1){d=Pf(e,H[(b<<2)+c>>2]);if(!d){break d}f=H[a+116>>2];c=H[f>>2];b=b+1|0;if(b>>>0<H[f+4>>2]-c>>2>>>0){continue}break}break d}d=1;a=H[a+12>>2];a=H[a+4>>2]-H[a>>2]|0;if(a>>>0<12){break d}a=(a>>2>>>0)/3|0;b=0;while(1){d=Pf(e,N(b,3));if(!d){break d}b=b+1|0;if((a|0)!=(b|0)){continue}break}}da=g+16|0;return d|0}ya(1604);X()}function tj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=H[a+12>>2];c=H[a+108>>2];e=H[c+80>>2];F[b+84|0]=0;f=H[b+68>>2];d=H[b+72>>2]-f>>2;a:{if(d>>>0<e>>>0){Ma(b+68|0,e-d|0,11440);c=H[a+108>>2];e=H[c+80>>2];break a}if(e>>>0>=d>>>0){break a}H[b+72>>2]=f+(e<<2)}k=H[c+96>>2];c=H[c+100>>2]-k|0;if(!c){return 1}c=(c|0)/12|0;m=c>>>0>1?c:1;c=0;b:{while(1){if((c|0)==1431655765){break b}d=H[l>>2]+(N(c,3)<<2)|0;h=H[d>>2];if((h|0)==-1){break b}f=N(c,12)+k|0;g=H[f>>2];if(g>>>0>=e>>>0){break b}j=H[H[a+112>>2]+12>>2];i=H[j+(h<<2)>>2];if(i>>>0>=e>>>0){break b}h=H[b+68>>2];H[h+(g<<2)>>2]=i;g=H[d+4>>2];if((g|0)==-1){break b}i=H[f+4>>2];if(i>>>0>=e>>>0){break b}g=H[(g<<2)+j>>2];if(g>>>0>=e>>>0){break b}H[h+(i<<2)>>2]=g;d=H[d+8>>2];if((d|0)==-1){break b}f=H[f+8>>2];if(f>>>0>=e>>>0){break b}d=H[(d<<2)+j>>2];if(d>>>0>=e>>>0){break b}H[h+(f<<2)>>2]=d;c=c+1|0;if((m|0)!=(c|0)){continue}break}return 1}return 0}function od(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c-b|0;e=H[a+8>>2];d=H[a>>2];if(f>>>0<=e-d>>>0){h=H[a+4>>2]-d|0;e=h+b|0;g=f>>>0>h>>>0?e:c;a:{if((g|0)==(b|0)){break a}k=(b^-1)+g|0;i=g-b&7;if(i){while(1){F[d|0]=I[b|0];d=d+1|0;b=b+1|0;j=j+1|0;if((j|0)!=(i|0)){continue}break}}if(k>>>0<7){break a}while(1){F[d|0]=I[b|0];F[d+1|0]=I[b+1|0];F[d+2|0]=I[b+2|0];F[d+3|0]=I[b+3|0];F[d+4|0]=I[b+4|0];F[d+5|0]=I[b+5|0];F[d+6|0]=I[b+6|0];F[d+7|0]=I[b+7|0];d=d+8|0;b=b+8|0;if((g|0)!=(b|0)){continue}break}}if(f>>>0>h>>>0){b=H[a+4>>2];if((c|0)!=(g|0)){while(1){F[b|0]=I[e|0];b=b+1|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}}H[a+4>>2]=b;return}H[a+4>>2]=d;return}if(d){H[a+4>>2]=d;qa(d);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;e=0}b:{if((f|0)<0){break b}d=e<<1;e=e>>>0<1073741823?d>>>0<f>>>0?f:d:2147483647;if((e|0)<0){break b}d=ra(e);H[a>>2]=d;H[a+4>>2]=d;H[a+8>>2]=d+e;if((b|0)!=(c|0)){d=sa(d,b,f)+f|0}H[a+4>>2]=d;return}va();X()}function lj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=H[a+12>>2];c=H[a+68>>2];e=H[c+80>>2];F[b+84|0]=0;f=H[b+68>>2];d=H[b+72>>2]-f>>2;a:{if(d>>>0<e>>>0){Ma(b+68|0,e-d|0,11440);c=H[a+68>>2];e=H[c+80>>2];break a}if(e>>>0>=d>>>0){break a}H[b+72>>2]=f+(e<<2)}k=H[c+96>>2];c=H[c+100>>2]-k|0;if(!c){return 1}c=(c|0)/12|0;m=c>>>0>1?c:1;c=0;b:{while(1){if((c|0)==1431655765){break b}d=H[l>>2]+(N(c,3)<<2)|0;h=H[d>>2];if((h|0)==-1){break b}f=N(c,12)+k|0;g=H[f>>2];if(g>>>0>=e>>>0){break b}j=H[H[a+72>>2]+12>>2];i=H[j+(h<<2)>>2];if(i>>>0>=e>>>0){break b}h=H[b+68>>2];H[h+(g<<2)>>2]=i;g=H[d+4>>2];if((g|0)==-1){break b}i=H[f+4>>2];if(i>>>0>=e>>>0){break b}g=H[(g<<2)+j>>2];if(g>>>0>=e>>>0){break b}H[h+(i<<2)>>2]=g;d=H[d+8>>2];if((d|0)==-1){break b}f=H[f+8>>2];if(f>>>0>=e>>>0){break b}d=H[(d<<2)+j>>2];if(d>>>0>=e>>>0){break b}H[h+(f<<2)>>2]=d;c=c+1|0;if((m|0)!=(c|0)){continue}break}return 1}return 0}function Zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=H[a+12>>2];h=H[a+8>>2];d=f-h>>2;b=F[b+24|0];a:{if(d>>>0<b>>>0){Ea(a+8|0,b-d|0);h=H[a+8>>2];f=H[a+12>>2];break a}if(b>>>0>=d>>>0){break a}f=(b<<2)+h|0;H[a+12>>2]=f}b=0;i=H[c+20>>2];e=H[c+16>>2];d=f-h|0;f=d;g=e+d|0;j=H[c+12>>2];i=d>>>0>g>>>0?i+1|0:i;b:{if(g>>>0>K[c+8>>2]&(j|0)<=(i|0)|(i|0)>(j|0)){break b}sa(h,e+H[c>>2]|0,d);d=H[c+20>>2];e=f+H[c+16>>2]|0;d=e>>>0<f>>>0?d+1|0:d;g=e;H[c+16>>2]=e;H[c+20>>2]=d;e=H[c+12>>2];f=g+4|0;d=f>>>0<4?d+1|0:d;if(f>>>0>K[c+8>>2]&(d|0)>=(e|0)|(d|0)>(e|0)){break b}d=g+H[c>>2]|0;H[a+20>>2]=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);d=H[c+20>>2];g=H[c+16>>2];e=g+4|0;f=e>>>0<4?d+1|0:d;j=e;H[c+16>>2]=e;H[c+20>>2]=f;e=H[c+12>>2];if((f|0)>=(e|0)&j>>>0>=K[c+8>>2]|(f|0)>(e|0)){break b}e=I[j+H[c>>2]|0];f=g+5|0;d=f>>>0<5?d+1|0:d;H[c+16>>2]=f;H[c+20>>2]=d;if(e-1>>>0>29){break b}H[a+4>>2]=e;b=1}return b|0}function wc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{e=H[a+8>>2];b:{if((e|0)!=H[a+12>>2]){break b}d=H[a+4>>2];g=H[a>>2];if(d>>>0>g>>>0){g=((d-g>>2)+1|0)/-2<<2;c=g+d|0;f=e-d|0;if(f){xa(c,d,f);d=H[a+4>>2]}e=c+f|0;H[a+8>>2]=e;H[a+4>>2]=d+g;break b}c=e-g|0;f=c?c>>1:1;if(f>>>0>=1073741824){break a}c=f<<2;h=ra(c);k=h+c|0;c=e-d|0;f=(f&-4)+h|0;e=f;c:{if(!c){break c}l=c&-4;i=c-4|0;j=(i>>>2|0)+1&7;d:{if(!j){c=f;break d}e=0;c=f;while(1){H[c>>2]=H[d>>2];d=d+4|0;c=c+4|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}e=f+l|0;if(i>>>0<28){break c}while(1){H[c>>2]=H[d>>2];H[c+4>>2]=H[d+4>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=H[d+12>>2];H[c+16>>2]=H[d+16>>2];H[c+20>>2]=H[d+20>>2];H[c+24>>2]=H[d+24>>2];H[c+28>>2]=H[d+28>>2];d=d+32|0;c=c+32|0;if((e|0)!=(c|0)){continue}break}}H[a+12>>2]=k;H[a+8>>2]=e;H[a+4>>2]=f;H[a>>2]=h;if(!g){break b}qa(g);e=H[a+8>>2]}H[e>>2]=H[b>>2];H[a+8>>2]=H[a+8>>2]+4;return}ya(1604);X()}function _d(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=H[b+4>>2];a:{b:{if(e){g=I[c+11|0];f=g<<24>>24<0;j=f?H[c>>2]:c;f=f?H[c+4>>2]:g;g=b+4|0;while(1){c=I[e+27|0];h=c<<24>>24<0;c=h?H[e+20>>2]:c;l=c>>>0<f>>>0;c:{d:{e:{f:{g:{k=l?c:f;h:{if(k){i=e+16|0;h=h?H[i>>2]:i;i=Ga(j,h,k);if(!i){if(c>>>0>f>>>0){break h}break g}if((i|0)>=0){break g}break h}if(c>>>0<=f>>>0){break f}}c=H[e>>2];if(c){break c}break b}c=Ga(h,j,k);if(c){break e}}if(l){break d}break a}if((c|0)>=0){break a}}g=e+4|0;c=H[e+4>>2];if(!c){break a}e=g}g=e;e=c;continue}}e=b+4|0}g=e}c=H[g>>2];if(c){b=0}else{c=ra(40);f=c+16|0;d=H[d>>2];i:{if(F[d+11|0]>=0){j=H[d+4>>2];H[f>>2]=H[d>>2];H[f+4>>2]=j;H[f+8>>2]=H[d+8>>2];break i}Ia(f,H[d>>2],H[d+4>>2])}H[c+8>>2]=e;H[c>>2]=0;H[c+4>>2]=0;H[c+36>>2]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[g>>2]=c;d=H[H[b>>2]>>2];if(d){H[b>>2]=d;d=H[g>>2]}else{d=c}ub(H[b+4>>2],d);H[b+8>>2]=H[b+8>>2]+1;b=1}F[a+4|0]=b;H[a>>2]=c}function he(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{g=H[a+4>>2];b:{if((g|0)!=H[a>>2]){c=g;break b}d=H[a+8>>2];c=H[a+12>>2];if(d>>>0<c>>>0){f=((c-d>>2)+1|0)/2<<2;c=f+d|0;e=d-g|0;if(e){c=c-e|0;xa(c,g,e);d=H[a+8>>2]}H[a+4>>2]=c;H[a+8>>2]=d+f;break b}c=c-g|0;c=c?c>>1:1;if(c>>>0>=1073741824){break a}e=c<<2;h=ra(e);l=h+e|0;c=(c+3&-4)+h|0;f=c;i=d-g|0;c:{if(!i){break c}d=c;e=g;j=i-4|0;k=(j>>>2|0)+1&7;if(k){f=0;while(1){H[d>>2]=H[e>>2];e=e+4|0;d=d+4|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}f=(i&-4)+c|0;if(j>>>0<28){break c}while(1){H[d>>2]=H[e>>2];H[d+4>>2]=H[e+4>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=H[e+12>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=H[e+20>>2];H[d+24>>2]=H[e+24>>2];H[d+28>>2]=H[e+28>>2];e=e+32|0;d=d+32|0;if((f|0)!=(d|0)){continue}break}}H[a+12>>2]=l;H[a+8>>2]=f;H[a+4>>2]=c;H[a>>2]=h;if(!g){break b}qa(g);c=H[a+4>>2]}H[c-4>>2]=H[b>>2];H[a+4>>2]=H[a+4>>2]-4;return}ya(1604);X()}function qc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=da-32|0;da=e;f=H[b>>2]+H[a+40>>2]|0;d=H[a+32>>2];c=d-4194304|0;a:{if(c>>>0<=63){F[H[a+24>>2]+H[a+28>>2]|0]=c;c=H[a+28>>2]+1|0;break a}if(c>>>0<=16383){c=H[a+24>>2]+H[a+28>>2]|0;d=d-4177920|0;F[c|0]=d;F[c+1|0]=d>>>8;c=H[a+28>>2]+2|0;break a}if(c>>>0<=4194303){c=H[a+24>>2]+H[a+28>>2]|0;d=d+4194304|0;F[c+2|0]=d>>>16;F[c+1|0]=d>>>8;F[c|0]=d;c=H[a+28>>2]+3|0;break a}if(c>>>0<=1073741823){c=H[a+24>>2]+H[a+28>>2]|0;d=d-1077936128|0;F[c|0]=d;F[c+1|0]=d>>>8;F[c+2|0]=d>>>16;F[c+3|0]=d>>>24;c=H[a+28>>2]+4|0;break a}c=H[a+28>>2]}H[e>>2]=0;H[e+4>>2]=0;F[e+24|0]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;h=c;d=c>>31;zb(c,d,e);g=H[e+4>>2]-H[e>>2]|0;xa(g+f|0,f,c);sa(f,H[e>>2],g);c=H[a+44>>2];f=b;i=H[a+40>>2];a=d;b=h+g|0;a=b>>>0<h>>>0?a+1|0:a;d=b;b=i+d|0;Na(f,b);a=H[e+12>>2];H[e+12>>2]=0;if(a){qa(a)}a=H[e>>2];if(a){H[e+4>>2]=a;qa(a)}da=e+32|0}function gj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=H[a+12>>2];c=H[a+68>>2];e=H[c+80>>2];F[b+84|0]=0;g=H[b+68>>2];d=H[b+72>>2]-g>>2;a:{if(d>>>0<e>>>0){Ma(b+68|0,e-d|0,11440);c=H[a+68>>2];e=H[c+80>>2];break a}if(e>>>0>=d>>>0){break a}H[b+72>>2]=g+(e<<2)}k=H[c+96>>2];c=H[c+100>>2]-k|0;if(!c){return 1}c=(c|0)/12|0;l=c>>>0>1?c:1;m=H[h+28>>2];c=0;b:{while(1){d=(N(c,3)<<2)+m|0;g=H[d>>2];if((g|0)==-1){break b}h=N(c,12)+k|0;i=H[h>>2];if(i>>>0>=e>>>0){break b}f=g<<2;g=H[H[a+72>>2]+12>>2];f=H[f+g>>2];if(f>>>0>=e>>>0){break b}j=i<<2;i=H[b+68>>2];H[j+i>>2]=f;f=H[d+4>>2];if((f|0)==-1){break b}j=H[h+4>>2];if(j>>>0>=e>>>0){break b}f=H[g+(f<<2)>>2];if(f>>>0>=e>>>0){break b}H[i+(j<<2)>>2]=f;d=H[d+8>>2];if((d|0)==-1){break b}h=H[h+8>>2];if(h>>>0>=e>>>0){break b}d=H[g+(d<<2)>>2];if(d>>>0>=e>>>0){break b}H[i+(h<<2)>>2]=d;c=c+1|0;if((l|0)!=(c|0)){continue}break}return 1}return 0}function Ab(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=da-32|0;da=e;f=H[b>>2]+H[a+40>>2]|0;c=H[a+32>>2];d=c-16384|0;a:{if(d>>>0<=63){F[H[a+24>>2]+H[a+28>>2]|0]=d;c=H[a+28>>2]+1|0;break a}if(d>>>0<=16383){d=H[a+24>>2]+H[a+28>>2]|0;F[d|0]=c;F[d+1|0]=c>>>8;c=H[a+28>>2]+2|0;break a}if(d>>>0<=4194303){d=H[a+24>>2]+H[a+28>>2]|0;c=c+8372224|0;F[d+2|0]=c>>>16;F[d+1|0]=c>>>8;F[d|0]=c;c=H[a+28>>2]+3|0;break a}if(d>>>0<=1073741823){d=H[a+24>>2]+H[a+28>>2]|0;c=c-1073758208|0;F[d|0]=c;F[d+1|0]=c>>>8;F[d+2|0]=c>>>16;F[d+3|0]=c>>>24;c=H[a+28>>2]+4|0;break a}c=H[a+28>>2]}H[e>>2]=0;H[e+4>>2]=0;F[e+24|0]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;h=c;d=c>>31;zb(c,d,e);g=H[e+4>>2]-H[e>>2]|0;xa(g+f|0,f,c);sa(f,H[e>>2],g);c=H[a+44>>2];f=b;i=H[a+40>>2];a=d;b=h+g|0;a=b>>>0<h>>>0?a+1|0:a;d=b;b=i+d|0;Na(f,b);a=H[e+12>>2];H[e+12>>2]=0;if(a){qa(a)}a=H[e>>2];if(a){H[e+4>>2]=a;qa(a)}da=e+32|0}function Kf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=+L[b>>2];k=+L[b+4>>2];l=+L[b+8>>2];g=P(j)+P(k)+P(l);a:{if(!(g>1e-6)){j=1;k=0;e=0;break a}g=1/g;k=g*k;j=g*j;e=g*l<0}h=H[a+16>>2];l=+(h|0);g=T(j*l+.5);b:{if(P(g)<2147483648){m=~~g;break b}m=-2147483648}f=m>>31;i=f+m^f;g=T(k*l+.5);c:{if(P(g)<2147483648){f=~~g;break c}f=-2147483648}b=f>>31;b=h-(i+(f+b^b)|0)|0;i=(b|0)<0?0:b;e=e?0-i|0:i;f=f+(b>>31&((f|0)>0?b:0-b|0))|0;d:{if((m|0)>=0){b=e+h|0;a=H[a+8>>2];e=h+f|0;break d}b=f>>31;b=b+f^b;a=H[a+8>>2];b=(e|0)<0?b:a-b|0;e=(f|0)<0?i:a-i|0}e:{if(!(b|e)){b=a;break e}if(!((a|0)!=(b|0)|e)){b=a;break e}if(!((a|0)!=(e|0)|b)){b=a;break e}if(!((b|0)<=(h|0)|e)){b=(h<<1)-b|0;a=0;break e}if(!((a|0)!=(e|0)|(b|0)>=(h|0))){b=(h<<1)-b|0;break e}if(!((a|0)!=(b|0)|(e|0)>=(h|0))){b=a;a=(h<<1)-e|0;break e}if(b){a=e;break e}b=0;if((e|0)<=(h|0)){a=e;break e}a=(h<<1)-e|0}H[c>>2]=a;H[d>>2]=b}function ai(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=O(0),f=O(0),g=O(0),h=O(0),i=O(0),j=0,k=O(0),l=O(0),m=O(0),n=O(0),o=0;a:{if(H[c+28>>2]!=9|I[c+24|0]!=3){break a}a=H[a+4>>2];if(a-31>>>0<4294967267){break a}o=1;j=H[c+80>>2];if(!j){break a}k=O(O(2)/O((1<<a)-2|0));c=H[H[c>>2]>>2]+H[c+48>>2]|0;a=H[H[b>>2]>>2]+H[b+48>>2]|0;b=0;while(1){g=O(0);l=O(0);m=O(0);e=O(O(O(H[a>>2])*k)+O(-1));f=O(O(O(H[a+4>>2])*k)+O(-1));i=O(O(O(1)-O(P(e)))-O(P(f)));h=O(S(O(-i),O(0)));n=O(-h);f=O(f+(f<O(0)?h:n));e=O(e+(e<O(0)?h:n));h=O(O(f*f)+O(O(i*i)+O(e*e)));if(!(+h<1e-6)){g=O(O(1)/O(W(h)));m=O(f*g);l=O(e*g);g=O(i*g)}a=a+8|0;d=(B(m),v(2));F[c+8|0]=d;F[c+9|0]=d>>>8;F[c+10|0]=d>>>16;F[c+11|0]=d>>>24;d=(B(l),v(2));F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;d=(B(g),v(2));F[c|0]=d;F[c+1|0]=d>>>8;F[c+2|0]=d>>>16;F[c+3|0]=d>>>24;c=c+12|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}return o|0}function Ai(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,f=0,g=0,h=0;f=da-16|0;da=f;a:{b:{c:{if(!b){break c}g=sb(c);if(g>>>0>=4294967280){break b}d:{e:{if(g>>>0>=11){h=g+16&-16;a=ra(h);H[f+8>>2]=h|-2147483648;H[f>>2]=a;H[f+4>>2]=g;break e}F[f+11|0]=g;a=f;if(!g){break d}}sa(a,c,g)}F[a+g|0]=0;g=da-16|0;da=g;M[g+8>>3]=d;e=da-32|0;da=e;a=pb(b,f);if((a|0)!=(b+4|0)){Dc(b,a)}c=H[g+8>>2];a=H[g+12>>2];f:{if(F[f+11|0]>=0){H[e+8>>2]=H[f+8>>2];h=H[f+4>>2];H[e>>2]=H[f>>2];H[e+4>>2]=h;break f}Ia(e,H[f>>2],H[f+4>>2])}H[e+20>>2]=0;H[e+12>>2]=0;H[e+16>>2]=0;eb(e+12|0,8);h=H[e+12>>2];F[h|0]=c;F[h+1|0]=c>>>8;F[h+2|0]=c>>>16;F[h+3|0]=c>>>24;F[h+4|0]=a;F[h+5|0]=a>>>8;F[h+6|0]=a>>>16;F[h+7|0]=a>>>24;Cc(e+24|0,b,e,e);a=H[e+12>>2];if(a){H[e+16>>2]=a;qa(a)}if(F[e+11|0]<0){qa(H[e>>2])}da=e+32|0;da=g+16|0;if(F[f+11|0]>=0){break c}qa(H[f>>2])}da=f+16|0;a=(b|0)!=0;break a}hb();X()}return a|0}function cg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da-16|0;da=c;b=H[H[a+184>>2]+(b<<2)>>2];F[c+15|0]=b;e=H[H[a+4>>2]+44>>2];d=H[e+20>>2];if(!H[e+16>>2]&(d|0)<=0|(d|0)<0){wa(e,H[e+4>>2],c+15|0,c+16|0);b=I[c+15|0]}a:{b:{c:{if(b<<24>>24<0){e=H[a+68>>2];break c}b=H[H[a+172>>2]+N(b&255,136)>>2];d=fa[H[H[a>>2]+40>>2]](a)|0;f=H[a+172>>2]+N(F[c+15|0],136)|0;e=H[f+132>>2];d:{switch(H[H[H[d+56>>2]+84>>2]+(b<<2)>>2]){case 0:break c;case 1:break d;default:break b}}if(!I[f+28|0]){break b}}b=H[H[a+4>>2]+44>>2];F[c+14|0]=0;d=H[b+20>>2];if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+14|0,c+15|0);break a}b=H[H[a+4>>2]+44>>2];F[c+13|0]=1;d=H[b+20>>2];if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+13|0,c+14|0)}a=H[H[a+4>>2]+44>>2];F[c+12|0]=e;b=H[a+20>>2];if(!H[a+16>>2]&(b|0)<=0|(b|0)<0){wa(a,H[a+4>>2],c+12|0,c+13|0)}da=c+16|0;return 1}function Jc(a,b){var c=0,d=0;c=H[b+8>>2];H[a+4>>2]=H[b+4>>2];H[a+8>>2]=c;H[a+20>>2]=H[b+20>>2];c=H[b+16>>2];H[a+12>>2]=H[b+12>>2];H[a+16>>2]=c;a:{b:{if((a|0)!=(b|0)){c=H[b+28>>2];if(c){c:{if(H[a+32>>2]<<5>>>0>=c>>>0){d=H[a+24>>2];break c}d=H[a+24>>2];if(d){qa(d);H[a+32>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;c=H[b+28>>2]}if((c|0)<0){break b}c=(c-1>>>5|0)+1|0;d=ra(c<<2);H[a+32>>2]=c;H[a+28>>2]=0;H[a+24>>2]=d;c=H[b+28>>2]}xa(d,H[b+24>>2],(c-1>>>3&536870908)+4|0);c=H[b+28>>2]}else{c=0}H[a+28>>2]=c;c=H[b+40>>2];if(c){d:{if(H[a+44>>2]<<5>>>0>=c>>>0){d=H[a+36>>2];break d}d=H[a+36>>2];if(d){qa(d);H[a+44>>2]=0;H[a+36>>2]=0;H[a+40>>2]=0;c=H[b+40>>2]}if((c|0)<0){break a}c=(c-1>>>5|0)+1|0;d=ra(c<<2);H[a+44>>2]=c;H[a+40>>2]=0;H[a+36>>2]=d;c=H[b+40>>2]}xa(d,H[b+36>>2],(c-1>>>3&536870908)+4|0);b=H[b+40>>2]}else{b=0}H[a+40>>2]=b}return}La();X()}La();X()}function md(a,b,c){var d=0,e=0,f=0,g=0;Da(H[c+8>>2],b);d=H[c>>2];g=c+4|0;if((d|0)!=(g|0)){while(1){f=d;if(!_e(b,d+16|0)){return}d=H[f+32>>2]-H[f+28>>2]|0;Da(d,b);e=H[b+20>>2];if(!H[b+16>>2]&(e|0)<=0|(e|0)<0){e=H[f+28>>2];wa(b,H[b+4>>2],e,e+d|0)}e=H[f+4>>2];a:{if(!e){d=H[f+8>>2];if((f|0)==H[d>>2]){break a}e=f+8|0;while(1){f=H[e>>2];e=f+8|0;d=H[f+8>>2];if((f|0)!=H[d>>2]){continue}break}break a}while(1){d=e;e=H[d>>2];if(e){continue}break}}if((d|0)!=(g|0)){continue}break}}Da(H[c+20>>2],b);d=H[c+12>>2];f=c+16|0;if((d|0)==(f|0)){return}while(1){c=d;if(!_e(b,d+16|0)){return}md(a,b,H[c+28>>2]);e=H[c+4>>2];b:{if(!e){d=H[c+8>>2];if((c|0)==H[d>>2]){break b}e=c+8|0;while(1){c=H[e>>2];e=c+8|0;d=H[c+8>>2];if((c|0)!=H[d>>2]){continue}break}break b}while(1){d=e;e=H[d>>2];if(e){continue}break}}if((d|0)!=(f|0)){continue}break}}function uh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if((fa[H[H[b>>2]+20>>2]](b)|0)>0){while(1){d=kc(H[H[a+4>>2]+4>>2],fa[H[H[b>>2]+24>>2]](b,i)|0);if((d|0)!=-1){c=H[a+20>>2];c:{if((c|0)!=H[a+24>>2]){H[c>>2]=d;H[a+20>>2]=c+4;break c}h=H[a+16>>2];e=c-h|0;g=e>>2;c=g+1|0;if(c>>>0>=1073741824){break b}f=e>>1;f=e>>>0<2147483644?c>>>0>f>>>0?c:f:1073741823;if(f){if(f>>>0>=1073741824){break a}c=ra(f<<2)}else{c=0}g=c+(g<<2)|0;H[g>>2]=d;if((e|0)>0){sa(c,h,e)}H[a+24>>2]=c+(f<<2);H[a+20>>2]=g+4;H[a+16>>2]=c;if(!h){break c}qa(h)}c=H[a+4>>2];d:{if((d|0)<0){break d}e=H[c+4>>2];if(H[e+12>>2]-H[e+8>>2]>>2<=(d|0)){break d}c=H[H[c+8>>2]+(H[H[c+20>>2]+(d<<2)>>2]<<2)>>2];fa[H[H[c>>2]+32>>2]](c,d)|0}i=i+1|0;if((fa[H[H[b>>2]+20>>2]](b)|0)>(i|0)){continue}}break}a=(d|0)!=-1}else{a=1}return a|0}va();X()}ya(1604);X()}function Ci(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=da-16|0;da=e;a:{b:{c:{if(!b){break c}f=sb(c);if(f>>>0>=4294967280){break b}d:{e:{if(f>>>0>=11){g=f+16&-16;a=ra(g);H[e+8>>2]=g|-2147483648;H[e>>2]=a;H[e+4>>2]=f;break e}F[e+11|0]=f;a=e;if(!f){break d}}sa(a,c,f)}F[a+f|0]=0;f=da-16|0;da=f;H[f+12>>2]=d;a=da-32|0;da=a;c=pb(b,e);if((c|0)!=(b+4|0)){Dc(b,c)}c=H[f+12>>2];f:{if(F[e+11|0]>=0){H[a+8>>2]=H[e+8>>2];d=H[e+4>>2];H[a>>2]=H[e>>2];H[a+4>>2]=d;break f}Ia(a,H[e>>2],H[e+4>>2])}H[a+20>>2]=0;H[a+12>>2]=0;H[a+16>>2]=0;eb(a+12|0,4);d=H[a+12>>2];F[d|0]=c;F[d+1|0]=c>>>8;F[d+2|0]=c>>>16;F[d+3|0]=c>>>24;Cc(a+24|0,b,a,a);c=H[a+12>>2];if(c){H[a+16>>2]=c;qa(c)}if(F[a+11|0]<0){qa(H[a>>2])}da=a+32|0;da=f+16|0;if(F[e+11|0]>=0){break c}qa(H[e>>2])}da=e+16|0;a=(b|0)!=0;break a}hb();X()}return a|0}function Xf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=H[a+112>>2]-H[a+108>>2]|0;e=(d|0)/12|0;Da(e,H[H[a+4>>2]+44>>2]);if(d){f=e>>>0>1?e:1;d=0;while(1){b=H[a+108>>2]+N(d,12)|0;Da(H[b+4>>2]-c|0,H[H[a+4>>2]+44>>2]);Da(H[b+4>>2]-H[b>>2]|0,H[H[a+4>>2]+44>>2]);c=H[b+4>>2];d=d+1|0;if((f|0)!=(d|0)){continue}break}d=0;yd(H[H[a+4>>2]+44>>2],e,0,0);a:{b=H[H[a+4>>2]+44>>2];f=H[b+16>>2];c=H[b+20>>2];if(!f&(c|0)<=0|(c|0)<0){break a}h=e>>>0>1?e:1;while(1){if(!!f&(c|0)>=0|(c|0)>0){f=I[(H[a+108>>2]+N(d,12)|0)+8|0];e=H[b+12>>2];c=H[e+4>>2];b=c>>>3|0;g=b+H[e>>2]|0;i=I[g|0];c=c&7;j=g,k=Bl(c)&i,F[j|0]=k;b=b+H[e>>2]|0;F[b|0]=I[b|0]|(f&1)<<c;H[e+4>>2]=H[e+4>>2]+1}d=d+1|0;if((h|0)==(d|0)){break a}b=H[H[a+4>>2]+44>>2];f=H[b+16>>2];c=H[b+20>>2];continue}}xd(H[H[a+4>>2]+44>>2])}return 1}function af(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=da-16|0;da=e;b=H[a+100>>2];g=H[a+96>>2];H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;f=b-g|0;b=(f|0)/12|0;a:{b:{if(!f){break b}if(b>>>0>=357913942){break a}c=ra(f);H[e>>2]=c;H[e+8>>2]=c+N(b,12);a=0;d=c;c=N((f-12>>>0)/12|0,12)+12|0;f=ta(d,0,c);H[e+4>>2]=c+f;c=b>>>0>1?b:1;j=c&1;if(b>>>0>=2){k=c&-2;b=0;while(1){d=N(a,12);c=d+g|0;h=H[c+4>>2];i=H[c>>2];d=d+f|0;H[d+8>>2]=H[c+8>>2];H[d>>2]=i;H[d+4>>2]=h;d=N(a|1,12);c=d+g|0;h=H[c+8>>2];i=H[c+4>>2];d=d+f|0;H[d>>2]=H[c>>2];H[d+4>>2]=i;H[d+8>>2]=h;a=a+2|0;b=b+2|0;if((k|0)!=(b|0)){continue}break}}if(!j){break b}b=N(a,12);a=b+g|0;g=H[a+4>>2];c=H[a>>2];b=b+f|0;H[b+8>>2]=H[a+8>>2];H[b>>2]=c;H[b+4>>2]=g}b=ef(e);a=H[e>>2];if(a){H[e+4>>2]=a;qa(a)}da=e+16|0;return b}va();X()}function fb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=da-16|0;da=f;a:{b:{c=H[a+4>>2];c:{if((c|0)!=H[a+8>>2]){H[c>>2]=H[a+12>>2];d=c+4|0;H[a+4>>2]=d;break c}h=H[a>>2];g=c-h|0;d=g>>2;c=d+1|0;if(c>>>0>=1073741824){break b}e=g>>1;e=g>>>0<2147483644?c>>>0>e>>>0?c:e:1073741823;if(e){if(e>>>0>=1073741824){break a}c=ra(e<<2)}else{c=0}d=c+(d<<2)|0;H[d>>2]=H[a+12>>2];d=d+4|0;if((g|0)>0){sa(c,h,g)}H[a+8>>2]=(e<<2)+c;H[a+4>>2]=d;H[a>>2]=c;if(!h){break c}qa(h);d=H[a+4>>2]}c=d;d=H[a>>2];H[f+12>>2]=c-d;c=H[b+20>>2];d:{if(!!H[b+16>>2]&(c|0)>=0|(c|0)>0){break d}wa(b,H[b+4>>2],f+12|0,f+16|0);d=H[a>>2];c=H[b+20>>2];if(!!H[b+16>>2]&(c|0)>=0|(c|0)>0){break d}wa(b,H[b+4>>2],d,H[f+12>>2]+d|0);d=H[a>>2]}H[a+12>>2]=0;H[a+16>>2]=0;H[a+4>>2]=d;da=f+16|0;return}va();X()}ya(1604);X()}function He(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=da-16|0;da=c;Da(H[a+8>>2]-H[a+4>>2]>>2,b);e=H[a+4>>2];if((e|0)!=H[a+8>>2]){h=c+13|0;i=c+14|0;j=c+15|0;k=c+16|0;while(1){e=H[H[H[a+32>>2]+8>>2]+(H[(g<<2)+e>>2]<<2)>>2];F[c+15|0]=H[e+56>>2];d=H[b+20>>2];a:{if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+15|0,k);d=H[b+20>>2];f=H[b+16>>2];F[c+14|0]=H[e+28>>2];if(!!f&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+14|0,j);d=H[b+20>>2];f=H[b+16>>2];F[c+13|0]=I[e+24|0];if(!!f&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+13|0,i);d=H[b+20>>2];f=H[b+16>>2];F[c+12|0]=I[e+32|0];if(!!f&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+12|0,h)}Da(H[e+60>>2],b);g=g+1|0;e=H[a+4>>2];if(g>>>0<H[a+8>>2]-e>>2>>>0){continue}break}}da=c+16|0;return 1}function Gk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=da-16|0;da=e;H[e+12>>2]=c;if(!(!de(a,b,c)|I[H[a+8>>2]+24|0]!=3)){f=H[b+48>>2];b=ra(32);H[e>>2]=b;H[e+4>>2]=17;H[e+8>>2]=-2147483616;F[b+17|0]=0;F[b+16|0]=I[1373];c=I[1369]|I[1370]<<8|(I[1371]<<16|I[1372]<<24);d=I[1365]|I[1366]<<8|(I[1367]<<16|I[1368]<<24);F[b+8|0]=d;F[b+9|0]=d>>>8;F[b+10|0]=d>>>16;F[b+11|0]=d>>>24;F[b+12|0]=c;F[b+13|0]=c>>>8;F[b+14|0]=c>>>16;F[b+15|0]=c>>>24;c=I[1361]|I[1362]<<8|(I[1363]<<16|I[1364]<<24);d=I[1357]|I[1358]<<8|(I[1359]<<16|I[1360]<<24);F[b|0]=d;F[b+1|0]=d>>>8;F[b+2|0]=d>>>16;F[b+3|0]=d>>>24;F[b+4|0]=c;F[b+5|0]=c>>>8;F[b+6|0]=c>>>16;F[b+7|0]=c>>>24;b=xb(f,e+12|0,e,-1);if(F[e+11|0]<0){qa(H[e>>2])}if((b|0)>0){H[a+44>>2]=b}d=(b|0)>0}da=e+16|0;return d|0}function xa(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}e=a+c|0;if(b-e>>>0<=0-(c<<1)>>>0){return sa(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0<b>>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}F[d|0]=I[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(e&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;F[d|0]=I[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;H[c+a>>2]=H[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;F[c+a|0]=I[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){H[d>>2]=H[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){F[d|0]=I[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function $f(a,b,c){var d=0,e=0,f=0,g=0;a:{b=N(b,3);if((b|0)==-1){break a}b:{e=H[a+12>>2];f=H[e+12>>2];d=b<<2;c:{if(H[f+d>>2]==-1){break c}a=H[a+152>>2];e=H[e>>2];if(H[a+(H[e+d>>2]<<2)>>2]!=-1){break b}d=b+1|0;b=(d>>>0)%3|0?d:b-2|0;if((b|0)==-1){break a}d=b<<2;if(H[d+f>>2]==-1){break c}if(H[a+(H[d+e>>2]<<2)>>2]!=-1){break b}d=b+1|0;b=(d>>>0)%3|0?d:b-2|0;if((b|0)==-1){break a}d=b<<2;if(H[d+f>>2]==-1){break c}if(H[a+(H[d+e>>2]<<2)>>2]!=-1){break b}g=1;a=b+1|0;b=(a>>>0)%3|0?a:b-2|0}H[c>>2]=b;return g}while(1){d:{a=b;e:{if((b>>>0)%3|0){b=a-1|0;break e}b=a+2|0;if((b|0)==-1){break d}}b=H[(b<<2)+f>>2];if((b|0)==-1){break d}b=b+((b>>>0)%3|0?-1:2)|0;if((b|0)!=-1){continue}}break}H[c>>2]=a+((a>>>0)%3|0?-1:2);return 0}H[c>>2]=-1;return 0}function Ie(a,b,c){a:{switch(b-9|0){case 0:b=H[c>>2];H[c>>2]=b+4;H[a>>2]=H[b>>2];return;case 6:b=H[c>>2];H[c>>2]=b+4;b=G[b>>1];H[a>>2]=b;H[a+4>>2]=b>>31;return;case 7:b=H[c>>2];H[c>>2]=b+4;H[a>>2]=J[b>>1];H[a+4>>2]=0;return;case 8:b=H[c>>2];H[c>>2]=b+4;b=F[b|0];H[a>>2]=b;H[a+4>>2]=b>>31;return;case 9:b=H[c>>2];H[c>>2]=b+4;H[a>>2]=I[b|0];H[a+4>>2]=0;return;case 16:b=H[c>>2]+7&-8;H[c>>2]=b+8;M[a>>3]=M[b>>3];return;case 17:fa[369](a,c);default:return;case 1:case 4:case 14:b=H[c>>2];H[c>>2]=b+4;b=H[b>>2];H[a>>2]=b;H[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=H[c>>2];H[c>>2]=b+4;H[a>>2]=H[b>>2];H[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=H[c>>2]+7&-8;H[c>>2]=b+8;c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c}function Qe(a,b,c,d,e,f){var g=0;g=da-80|0;da=g;a:{if((f|0)>=16384){Ha(g+32|0,b,c,d,e,0,0,0,2147352576);d=H[g+40>>2];e=H[g+44>>2];b=H[g+32>>2];c=H[g+36>>2];if(f>>>0<32767){f=f-16383|0;break a}Ha(g+16|0,b,c,d,e,0,0,0,2147352576);f=(f>>>0<49149?f:49149)-32766|0;d=H[g+24>>2];e=H[g+28>>2];b=H[g+16>>2];c=H[g+20>>2];break a}if((f|0)>-16383){break a}Ha(g- -64|0,b,c,d,e,0,0,0,7471104);d=H[g+72>>2];e=H[g+76>>2];b=H[g+64>>2];c=H[g+68>>2];if(f>>>0>4294934644){f=f+16269|0;break a}Ha(g+48|0,b,c,d,e,0,0,0,7471104);f=(f>>>0>4294918376?f:-48920)+32538|0;d=H[g+56>>2];e=H[g+60>>2];b=H[g+48>>2];c=H[g+52>>2]}Ha(g,b,c,d,e,0,0,0,f+16383<<16);b=H[g+12>>2];H[a+8>>2]=H[g+8>>2];H[a+12>>2]=b;b=H[g+4>>2];H[a>>2]=H[g>>2];H[a+4>>2]=b;da=g+80|0}function Fa(a,b){var c=0,d=0,e=0,f=0;c=H[a>>2];a:{if(b){b=H[c+12>>2];d=H[c+8>>2]+1|0;b=d?b:b+1|0;H[c+8>>2]=d;H[c+12>>2]=b;b=H[a+28>>2];H[a+24>>2]=H[a+24>>2]|1<<b;break a}b=H[c+4>>2];d=H[c>>2]+1|0;b=d?b:b+1|0;H[c>>2]=d;H[c+4>>2]=b;b=H[a+28>>2]}b=b+1|0;H[a+28>>2]=b;b:{c:{if((b|0)==32){b=H[a+16>>2];d:{if((b|0)!=H[a+20>>2]){H[b>>2]=H[a+24>>2];H[a+16>>2]=b+4;break d}d=H[a+12>>2];c=b-d|0;f=c>>2;b=f+1|0;if(b>>>0>=1073741824){break c}e=c>>1;e=c>>>0<2147483644?b>>>0>e>>>0?b:e:1073741823;if(e){if(e>>>0>=1073741824){break b}b=ra(e<<2)}else{b=0}f=b+(f<<2)|0;H[f>>2]=H[a+24>>2];if((c|0)>0){sa(b,d,c)}H[a+20>>2]=b+(e<<2);H[a+16>>2]=f+4;H[a+12>>2]=b;if(!d){break d}qa(d)}H[a+24>>2]=0;H[a+28>>2]=0}return}va();X()}ya(1604);X()}function ta(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}F[a|0]=b;e=a+c|0;F[e-1|0]=b;if(c>>>0<3){break a}F[a+2|0]=b;F[a+1|0]=b;F[e-3|0]=b;F[e-2|0]=b;if(c>>>0<7){break a}F[a+3|0]=b;F[e-4|0]=b;if(c>>>0<9){break a}e=0-a&3;f=e+a|0;d=N(b&255,16843009);H[f>>2]=d;b=c-e&-4;c=b+f|0;H[c-4>>2]=d;if(b>>>0<9){break a}H[f+8>>2]=d;H[f+4>>2]=d;H[c-8>>2]=d;H[c-12>>2]=d;if(b>>>0<25){break a}H[f+24>>2]=d;H[f+20>>2]=d;H[f+16>>2]=d;H[f+12>>2]=d;H[c-16>>2]=d;H[c-20>>2]=d;H[c-24>>2]=d;H[c-28>>2]=d;c=b;b=f&4|24;c=c-b|0;if(c>>>0<32){break a}d=xl(d,0,1,1);e=ea;b=b+f|0;while(1){H[b+24>>2]=d;H[b+28>>2]=e;H[b+16>>2]=d;H[b+20>>2]=e;H[b+8>>2]=d;H[b+12>>2]=e;H[b>>2]=d;H[b+4>>2]=e;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function Rg(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=da-16|0;da=g;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=a+4;d=a+16|0;H[d>>2]=0;H[d+4>>2]=0;H[a+12>>2]=d;d=a+24|0;H[d+4>>2]=0;H[d+8>>2]=0;H[d>>2]=d+4;if((b+4|0)!=(a|0)){ic(a,H[b+4>>2],b+8|0)}if((d|0)!=(b+28|0)){ic(d,H[b+28>>2],b+32|0)}H[g+12>>2]=0;a:{f=H[c+8>>2];if((H[c+12>>2]-f|0)<=0){break a}d=b+20|0;b=H[d>>2];if(!b){break a}while(1){b:{if(!b){break b}h=H[H[(e<<2)+f>>2]+56>>2];e=d;while(1){f=H[b+16>>2]<(h|0);e=f?e:b;b=H[(f<<2)+b>>2];if(b){continue}break}if((d|0)==(e|0)|H[e+16>>2]>(h|0)){break b}b=sc(a,g+12|0);if((b|0)==(e+20|0)){break b}ic(b,H[e+20>>2],e+24|0)}e=H[g+12>>2]+1|0;H[g+12>>2]=e;f=H[c+8>>2];if(H[c+12>>2]-f>>2<=(e|0)){break a}b=H[d>>2];continue}}da=g+16|0}function fj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=H[a+4>>2];d=H[b>>2];a:{c=H[a+12>>2];c=H[c+56>>2]-H[c+52>>2]|0;e=c>>2;b:{if(e>>>0<=H[b+8>>2]-d>>2>>>0){break b}if((c|0)<0){break a}f=H[b+4>>2];c=ra(c);g=c+(e<<2)|0;e=f-d|0;f=e+c|0;if((e|0)>0){sa(c,d,e)}H[b+8>>2]=g;H[b+4>>2]=f;H[b>>2]=c;if(!d){break b}qa(d)}e=a+8|0;b=H[a+76>>2];c:{if(b){d=H[b>>2];if((d|0)==H[b+4>>2]){return 1}b=0;while(1){c=Nf(e,H[(b<<2)+d>>2]);if(!c){break c}f=H[a+76>>2];d=H[f>>2];b=b+1|0;if(b>>>0<H[f+4>>2]-d>>2>>>0){continue}break}break c}c=1;a=H[H[a+12>>2]+64>>2];a=H[a+4>>2]-H[a>>2]|0;if(a>>>0<12){break c}a=(a>>2>>>0)/3|0;b=0;while(1){c=Nf(e,N(b,3));if(!c){break c}b=b+1|0;if((a|0)!=(b|0)){continue}break}}return c|0}ya(1604);X()}function kj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=H[a+4>>2];d=H[b>>2];a:{c=H[a+12>>2];c=H[c+28>>2]-H[c+24>>2]|0;e=c>>2;b:{if(e>>>0<=H[b+8>>2]-d>>2>>>0){break b}if((c|0)<0){break a}f=H[b+4>>2];c=ra(c);g=c+(e<<2)|0;e=f-d|0;f=e+c|0;if((e|0)>0){sa(c,d,e)}H[b+8>>2]=g;H[b+4>>2]=f;H[b>>2]=c;if(!d){break b}qa(d)}e=a+8|0;b=H[a+76>>2];c:{if(b){d=H[b>>2];if((d|0)==H[b+4>>2]){return 1}b=0;while(1){c=Of(e,H[(b<<2)+d>>2]);if(!c){break c}f=H[a+76>>2];d=H[f>>2];b=b+1|0;if(b>>>0<H[f+4>>2]-d>>2>>>0){continue}break}break c}c=1;a=H[a+12>>2];a=H[a+4>>2]-H[a>>2]|0;if(a>>>0<12){break c}a=(a>>2>>>0)/3|0;b=0;while(1){c=Of(e,N(b,3));if(!c){break c}b=b+1|0;if((a|0)!=(b|0)){continue}break}}return c|0}ya(1604);X()}function jc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=da-16|0;da=h;a:{b:{c=H[a+8>>2];c:{if((c|0)!=H[a+12>>2]){H[c>>2]=b;H[a+8>>2]=c+4;break c}e=H[a+4>>2];d=c-e|0;g=d>>2;c=g+1|0;if(c>>>0>=1073741824){break b}f=d>>1;f=d>>>0<2147483644?c>>>0>f>>>0?c:f:1073741823;if(f){if(f>>>0>=1073741824){break a}c=ra(f<<2)}else{c=0}g=c+(g<<2)|0;H[g>>2]=b;if((d|0)>0){sa(c,e,d)}H[a+12>>2]=c+(f<<2);H[a+8>>2]=g+4;H[a+4>>2]=c;if(!e){break c}qa(e)}c=H[a+16>>2];d=H[a+20>>2]-c>>2;d:{if((d|0)>(b|0)){break d}H[h+12>>2]=-1;e=b+1|0;if(e>>>0>d>>>0){Ma(a+16|0,e-d|0,h+12|0);c=H[a+16>>2];break d}if(d>>>0<=e>>>0){break d}H[a+20>>2]=(e<<2)+c}H[(b<<2)+c>>2]=(H[a+8>>2]-H[a+4>>2]>>2)-1;da=h+16|0;return}va();X()}ya(1604);X()}function dl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=H[b+4>>2]-H[b>>2]>>2;f=H[a+8>>2];i=F[f+24|0];d=i;g=da+-64|0;da=g;h=Mc(g);d=N(d,H[3716]);Fd(h,H[H[a+8>>2]+56>>2],0,i,5,d,d>>31);j=ra(96);Dd(dg(j,h),e);d=H[a+32>>2];H[a+32>>2]=j;if(d){Pa(d)}a:{if(!c){break a}d=H[a+32>>2];F[d+84|0]=0;h=H[d+68>>2];e=H[d+72>>2]-h>>2;if(e>>>0<c>>>0){Ma(d+68|0,c-e|0,2764);break a}if(c>>>0>=e>>>0){break a}H[d+72>>2]=h+(c<<2)}da=g- -64|0;c=H[b>>2];d=H[b+4>>2];if((c|0)==(d|0)){return 1}a=H[a+32>>2];g=H[H[a>>2]>>2]+H[a+48>>2]|0;b=0;while(1){a=H[c>>2];if(!I[f+84|0]){a=H[H[f+68>>2]+(a<<2)>>2]}a=_c(f,a,F[f+24|0],g+(b<<2)|0);if(a){b=b+i|0;c=c+4|0;if((d|0)!=(c|0)){continue}}break}return a|0}function ue(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{g=a+16|0;f=H[g>>2];b:{if(!f){break b}i=H[b>>2];b=g;while(1){h=(i|0)>H[f+16>>2];b=h?b:f;f=H[(h<<2)+f>>2];if(f){continue}break}if((b|0)==(g|0)|(i|0)<H[b+16>>2]){break b}f=H[b+24>>2];if(!f){break b}g=I[c+11|0];h=g<<24>>24<0;i=h?H[c>>2]:c;g=h?H[c+4>>2]:g;m=b+20|0;while(1){b=I[f+27|0];h=b<<24>>24<0;b=h?H[f+20>>2]:b;l=b>>>0<g>>>0;c:{d:{k=l?b:g;e:{if(k){j=f+16|0;h=h?H[j>>2]:j;j=Ga(i,h,k);f:{if(!j){if(b>>>0<=g>>>0){break f}break c}if((j|0)<0){break c}}b=Ga(h,i,k);if(!b){break e}if((b|0)<0){break d}break a}if(b>>>0>g>>>0){break c}}if(l){break d}break a}f=f+4|0}f=H[f>>2];if(f){continue}break}}se(a,c,d,e);return}se(m,c,d,e)}function xb(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=a+16|0;e=H[f>>2];a:{if(!e){break a}h=H[b>>2];b=f;while(1){g=(h|0)>H[e+16>>2];b=g?b:e;e=H[(g<<2)+e>>2];if(e){continue}break}if((b|0)==(f|0)|(h|0)<H[b+16>>2]){break a}e=H[b+24>>2];if(!e){break a}f=I[c+11|0];g=f<<24>>24<0;h=g?H[c>>2]:c;f=g?H[c+4>>2]:f;g=b+20|0;while(1){b=I[e+27|0];i=b<<24>>24<0;b=i?H[e+20>>2]:b;l=b>>>0<f>>>0;b:{c:{k=l?b:f;d:{if(k){j=e+16|0;i=i?H[j>>2]:j;j=Ga(h,i,k);e:{if(!j){if(b>>>0<=f>>>0){break e}break b}if((j|0)<0){break b}}b=Ga(i,h,k);if(!b){break d}if((b|0)<0){break c}return Db(g,c,d)}if(b>>>0>f>>>0){break b}}if(l){break c}return Db(g,c,d)}e=e+4|0}e=H[e>>2];if(e){continue}break}}return Db(a,c,d)}function Zg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=da-48|0;da=d;H[d+40>>2]=H[a- -64>>2];c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],d+40|0,d+44|0)}c=d+8|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);if(H[d+40>>2]>0){f=1;while(1){g=f;f=H[H[a+60>>2]+(e>>>3&536870908)>>2]>>>e|0;Fa(c,(g^f^-1)&1);f=f&1;e=e+1|0;if((e|0)<H[d+40>>2]){continue}break}}Ba(c,b);H[d+44>>2]=H[a+12>>2];e=H[b+20>>2];a:{if(!!H[b+16>>2]&(e|0)>=0|(e|0)>0){break a}f=d+48|0;wa(b,H[b+4>>2],d+44|0,f);e=H[b+20>>2];g=H[b+16>>2];H[d+44>>2]=H[a+24>>2];if(!!g&(e|0)>=0|(e|0)>0){break a}wa(b,H[b+4>>2],d+44|0,f)}Aa(c);da=d+48|0;return 1}function ih(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=da-48|0;da=d;H[d+40>>2]=H[a+80>>2];c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],d+40|0,d+44|0)}c=d+8|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;Ca(c);if(H[d+40>>2]>0){f=1;while(1){g=f;f=H[H[a+76>>2]+(e>>>3&536870908)>>2]>>>e|0;Fa(c,(g^f^-1)&1);f=f&1;e=e+1|0;if((e|0)<H[d+40>>2]){continue}break}}Ba(c,b);H[d+44>>2]=H[a+12>>2];e=H[b+20>>2];a:{if(!!H[b+16>>2]&(e|0)>=0|(e|0)>0){break a}f=d+48|0;wa(b,H[b+4>>2],d+44|0,f);e=H[b+20>>2];g=H[b+16>>2];H[d+44>>2]=H[a+16>>2];if(!!g&(e|0)>=0|(e|0)>0){break a}wa(b,H[b+4>>2],d+44|0,f)}Aa(c);da=d+48|0;return 1}function Ic(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d=H[a>>2];g=H[a+4>>2]-d>>2;e=g+1|0;if(e>>>0<1073741824){d=H[a+8>>2]-d|0;f=d>>1;d=d>>>0<2147483644?e>>>0>f>>>0?e:f:1073741823;if(d){if(d>>>0>=1073741824){break c}c=ra(d<<2)}f=H[b>>2];H[b>>2]=0;e=(g<<2)+c|0;H[e>>2]=f;d=(d<<2)+c|0;g=e+4|0;b=H[a>>2];c=H[a+4>>2];if((b|0)==(c|0)){break b}while(1){c=c-4|0;f=H[c>>2];H[c>>2]=0;e=e-4|0;H[e>>2]=f;if((b|0)!=(c|0)){continue}break}H[a+8>>2]=d;c=H[a+4>>2];H[a+4>>2]=g;b=H[a>>2];H[a>>2]=e;if((b|0)==(c|0)){break a}while(1){c=c-4|0;a=H[c>>2];H[c>>2]=0;if(a){fa[H[H[a>>2]+4>>2]](a)}if((b|0)!=(c|0)){continue}break}break a}va();X()}ya(1604);X()}H[a+8>>2]=d;H[a+4>>2]=g;H[a>>2]=e}if(b){qa(b)}}function te(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=a+16|0;d=H[e>>2];a:{if(!d){break a}g=H[b>>2];b=e;while(1){f=(g|0)>H[d+16>>2];b=f?b:d;d=H[(f<<2)+d>>2];if(d){continue}break}if((b|0)==(e|0)|(g|0)<H[b+16>>2]){break a}d=H[b+24>>2];if(!d){break a}e=I[c+11|0];f=e<<24>>24<0;g=f?H[c>>2]:c;e=f?H[c+4>>2]:e;f=b+20|0;while(1){b=I[d+27|0];h=b<<24>>24<0;b=h?H[d+20>>2]:b;k=b>>>0<e>>>0;b:{c:{j=k?b:e;d:{if(j){i=d+16|0;h=h?H[i>>2]:i;i=Ga(g,h,j);e:{if(!i){if(b>>>0<=e>>>0){break e}break b}if((i|0)<0){break b}}b=Ga(h,g,j);if(!b){break d}if((b|0)<0){break c}return wd(f,c)}if(b>>>0>e>>>0){break b}}if(k){break c}return wd(f,c)}d=d+4|0}d=H[d>>2];if(d){continue}break}}return wd(a,c)}function Dd(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(H[a+64>>2]){break a}d=ra(32);H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0;H[d+24>>2]=0;H[d+28>>2]=0;c=H[a+64>>2];H[a+64>>2]=d;if(!c){break a}d=H[c>>2];if(d){H[c+4>>2]=d;qa(d)}qa(c)}d=H[a+64>>2];c=H[a+28>>2]-1|0;if(c>>>0<=10){c=H[(c<<2)+14848>>2]}else{c=-1}c=N(c,F[a+24|0]);g=c;f=c>>31;e=xl(c,f,b,0);c=0;b:{if((ea|0)<0){break b}eb(d,e);c=H[d+28>>2];e=H[d+24>>2]+1|0;c=e?c:c+1|0;H[d+24>>2]=e;H[d+28>>2]=c;c=1}if(c){d=H[a+64>>2];H[a>>2]=d;c=H[d+20>>2];H[a+8>>2]=H[d+16>>2];H[a+12>>2]=c;c=H[d+24>>2];d=H[d+28>>2];H[a+48>>2]=0;H[a+52>>2]=0;H[a+40>>2]=g;H[a+44>>2]=f;H[a+16>>2]=c;H[a+20>>2]=d;H[a+80>>2]=b}}function Wa(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if((a|0)==(b|0)){break a}e=H[a>>2];H[c>>2]=e;f=a+4|0;if((f|0)==(b|0)){break a}a=H[d>>2];g=H[a>>2];d=H[f>>2];h=H[a+4>>2]-g>>3;b:{if(d>>>0>=h>>>0){break b}a=c;while(1){if(e>>>0>=h>>>0){break b}j=a+4|0;c:{if(K[(d<<3)+g>>2]<K[(e<<3)+g>>2]){H[a+4>>2]=e;i=c;d:{if((a|0)==(c|0)){break d}while(1){k=H[f>>2];if(k>>>0>=h>>>0){break b}e=a-4|0;d=H[e>>2];if(d>>>0>=h>>>0){break b}i=a;if(K[(k<<3)+g>>2]>=K[(d<<3)+g>>2]){break d}H[a>>2]=d;a=e;if((c|0)!=(a|0)){continue}break}i=c}H[i>>2]=H[f>>2];break c}H[j>>2]=d}f=f+4|0;if((f|0)==(b|0)){break a}e=H[j>>2];a=j;d=H[f>>2];if(h>>>0>d>>>0){continue}break}}ua();X()}}function Kk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;H[b>>2]=1;f=b+8|0;c=H[b+8>>2];d=H[b+12>>2]-c|0;if(d>>>0<=4294967291){Gc(f,d+4|0);c=H[f>>2]}c=c+d|0;d=H[a+4>>2];F[c|0]=d;F[c+1|0]=d>>>8;F[c+2|0]=d>>>16;F[c+3|0]=d>>>24;c=H[a+8>>2];if((c|0)!=H[a+12>>2]){d=0;while(1){g=(d<<2)+c|0;c=H[b+8>>2];e=H[b+12>>2]-c|0;if(e>>>0<=4294967291){Gc(f,e+4|0);c=H[f>>2]}c=c+e|0;e=H[g>>2];F[c|0]=e;F[c+1|0]=e>>>8;F[c+2|0]=e>>>16;F[c+3|0]=e>>>24;d=d+1|0;c=H[a+8>>2];if(d>>>0<H[a+12>>2]-c>>2>>>0){continue}break}}c=H[b+12>>2];b=H[b+8>>2];c=c-b|0;if(c>>>0<=4294967291){Gc(f,c+4|0);b=H[f>>2]}b=b+c|0;a=H[a+20>>2];F[b|0]=a;F[b+1|0]=a>>>8;F[b+2|0]=a>>>16;F[b+3|0]=a>>>24}function Ra(a,b,c){var d=0,e=0,f=0,g=0;e=da-16|0;da=e;H[a+4>>2]=0;a:{b:{if(!b){break b}g=H[a+8>>2];d=g<<5;c:{if(d>>>0>=b>>>0){H[a+4>>2]=b;break c}H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;if((b|0)<0){break a}if(d>>>0<=1073741822){f=b+31&-32;d=g<<6;d=d>>>0<f>>>0?f:d}else{d=2147483647}Hb(e,d);f=H[a>>2];H[a>>2]=H[e>>2];H[e>>2]=f;d=H[a+4>>2];H[a+4>>2]=b;H[e+4>>2]=d;d=H[a+8>>2];H[a+8>>2]=H[e+8>>2];H[e+8>>2]=d;if(!f){break c}qa(f)}f=b>>>5|0;d=f<<2;a=H[a>>2];if(I[c|0]){a=ta(a,255,d);b=b&31;if(!b){break b}a=a+(f<<2)|0;H[a>>2]=H[a>>2]|-1>>>32-b;break b}a=ta(a,0,d);b=b&31;if(!b){break b}a=a+(f<<2)|0;H[a>>2]=H[a>>2]&(-1>>>32-b^-1)}da=e+16|0;return}La();X()}function Ug(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=da-16|0;da=e;d=H[b+48>>2];a:{if((bb(d)|0)>9){break a}if((fa[H[H[b>>2]+8>>2]](b)|0)!=1){break a}b:{f=H[H[H[b+4>>2]+8>>2]+(a<<2)>>2];a=H[f+56>>2];if((a|0)==3){if(I[f+24|0]!=2){break b}c=5;if((bb(d)|0)<4){break a}a=H[f+56>>2]}if((a|0)!=1){break b}c:{if((bb(d)|0)>3){break c}g=e,h=kc(H[b+4>>2],0),H[g+12>>2]=h;a=Ye(H[b+4>>2]);if(!a){break c}a=H[a+28>>2]-1|0;if(a>>>0<11&1279>>>a){c=6;break a}a=tc(e,1357);b=xb(d,e+12|0,a,-1);if(F[a+11|0]<0){qa(H[a>>2])}c=6;if((b|0)>0){break a}}c=0;break a}c=0;if((bb(d)|0)>7){break a}c=1;if((bb(d)|0)>1){break a}c=K[H[b+4>>2]+80>>2]<40?1:4}da=e+16|0;return c}function Ng(a,b,c){var d=0,e=0,f=0;d=da-16|0;da=d;H[d+12>>2]=b;b=ra(32);H[d>>2]=b;H[d+4>>2]=17;H[d+8>>2]=-2147483616;F[b+17|0]=0;F[b+16|0]=I[1373];e=I[1369]|I[1370]<<8|(I[1371]<<16|I[1372]<<24);f=I[1365]|I[1366]<<8|(I[1367]<<16|I[1368]<<24);F[b+8|0]=f;F[b+9|0]=f>>>8;F[b+10|0]=f>>>16;F[b+11|0]=f>>>24;F[b+12|0]=e;F[b+13|0]=e>>>8;F[b+14|0]=e>>>16;F[b+15|0]=e>>>24;e=I[1361]|I[1362]<<8|(I[1363]<<16|I[1364]<<24);f=I[1357]|I[1358]<<8|(I[1359]<<16|I[1360]<<24);F[b|0]=f;F[b+1|0]=f>>>8;F[b+2|0]=f>>>16;F[b+3|0]=f>>>24;F[b+4|0]=e;F[b+5|0]=e>>>8;F[b+6|0]=e>>>16;F[b+7|0]=e>>>24;tb(sc(a+4|0,d+12|0),d,c);if(F[d+11|0]<0){qa(H[d>>2])}da=d+16|0}function Vc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=c-b|0;g=f>>2;d=H[a+8>>2];e=H[a>>2];if(g>>>0<=d-e>>2>>>0){f=H[a+4>>2]-e|0;d=f+b|0;h=f>>2;i=h>>>0<g>>>0?d:c;f=i-b|0;if(f){xa(e,b,f)}if(g>>>0>h>>>0){b=H[a+4>>2];if((c|0)!=(i|0)){while(1){H[b>>2]=H[d>>2];b=b+4|0;d=d+4|0;if((d|0)!=(c|0)){continue}break}}H[a+4>>2]=b;return}H[a+4>>2]=e+f;return}if(e){H[a+4>>2]=e;qa(e);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;d=0}a:{if((f|0)<0){break a}e=d>>1;d=d>>>0<2147483644?e>>>0<g>>>0?g:e:1073741823;if(d>>>0>=1073741824){break a}e=d<<2;d=ra(e);H[a>>2]=d;H[a+4>>2]=d;H[a+8>>2]=d+e;if((b|0)!=(c|0)){c=b;b=f&-4;d=sa(d,c,b)+b|0}H[a+4>>2]=d;return}va();X()}function fk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;f=da-32|0;da=f;a=a+8|0;d=d-e|0;if((d|0)>0){i=0-e<<2;while(1){j=d<<2;g=j+b|0;h=g+i|0;k=H[h>>2];h=H[h+4>>2];l=H[g+4>>2];H[f+16>>2]=H[g>>2];H[f+20>>2]=l;H[f+8>>2]=k;H[f+12>>2]=h;_a(f+24|0,a,f+16|0,f+8|0);g=c+j|0;H[g>>2]=H[f+24>>2];H[g+4>>2]=H[f+28>>2];d=d-e|0;if((d|0)>0){continue}break}}d=(e&1073741823)!=(e|0)?-1:e<<2;d=ta(ra(d),0,d);e=H[d>>2];g=H[d+4>>2];i=H[b+4>>2];H[f+16>>2]=H[b>>2];H[f+20>>2]=i;H[f+8>>2]=e;H[f+12>>2]=g;_a(f+24|0,a,f+16|0,f+8|0);H[c>>2]=H[f+24>>2];H[c+4>>2]=H[f+28>>2];qa(d);da=f+32|0;return 1}function xd(a){var b=0,c=0,d=0,e=0,f=0;c=da-32|0;da=c;b=H[a+20>>2];e=H[a+16>>2];if(!!e&(b|0)>=0|(b|0)>0){b=H[H[a+12>>2]+4>>2]+7|0;d=b>>>0<7?1:d;f=d<<29|b>>>3;b=d>>>3|0;if(I[a+24|0]){d=H[a+4>>2];F[c+24|0]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;zb(f,b,c);d=d-e|0;b=d-8|0;e=H[c+4>>2]-H[c>>2]|0;xa(b+e|0,d,f);sa(b,H[c>>2],e);b=8-e|0;d=b+H[a+16>>2]|0;e=H[a+20>>2];H[a+16>>2]=d;H[a+20>>2]=b>>>0>d>>>0?e+1|0:e;b=H[c+12>>2];H[c+12>>2]=0;if(b){qa(b)}b=H[c>>2];if(b){H[c+4>>2]=b;qa(b)}b=H[a+16>>2]}else{b=e}eb(a,f-b+(H[a+4>>2]-H[a>>2])|0);H[a+16>>2]=0;H[a+20>>2]=0}da=c+32|0}function hc(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=c-b|0;g=f>>2;d=H[a+8>>2];e=H[a>>2];if(g>>>0<=d-e>>2>>>0){f=H[a+4>>2];d=f-e|0;h=d>>2;d=g>>>0>h>>>0?b+d|0:c;if((d|0)!=(b|0)){while(1){H[e>>2]=H[b>>2];e=e+4|0;b=b+4|0;if((d|0)!=(b|0)){continue}break}}if(g>>>0>h>>>0){b=c-d|0;if((b|0)>0){f=sa(f,d,b)+b|0}H[a+4>>2]=f;return}H[a+4>>2]=e;return}if(e){H[a+4>>2]=e;qa(e);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;d=0}a:{if((f|0)<0){break a}c=d>>1;c=d>>>0<2147483644?c>>>0<g>>>0?g:c:1073741823;if(c>>>0>=1073741824){break a}e=c<<2;c=ra(e);H[a>>2]=c;H[a+4>>2]=c;H[a+8>>2]=c+e;if(f){c=sa(c,b,f)+f|0}H[a+4>>2]=c;return}va();X()}function zi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a=da-16|0;da=a;a:{if(!b){break a}H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;h=b+96|0;g=H[b+96>>2];e=(H[b+100>>2]-g|0)/12|0;b:{if(e>>>0<c>>>0){gf(h,c-e|0,a);break b}if(c>>>0<e>>>0){H[b+100>>2]=g+N(c,12)}if(!c){break a}}g=H[h>>2];e=0;while(1){i=N(e,12);f=i+d|0;j=H[f>>2];k=H[f+8>>2];l=H[f+4>>2];f=(H[b+100>>2]-g|0)/12|0;c:{if(f>>>0>e>>>0){e=e+1|0;break c}H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;e=e+1|0;gf(h,e-f|0,a);g=H[h>>2]}f=g+i|0;H[f+8>>2]=k;H[f+4>>2]=l;H[f>>2]=j;if((c|0)!=(e|0)){continue}break}}da=a+16|0;return(b|0)!=0|0}function uk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=da-32|0;da=g;H[a+48>>2]=f;d=H[a+40>>2];h=H[d>>2];a:{i=H[d+4>>2]-h|0;if((i|0)<=0){break a}d=i>>>2|0;f=d-1|0;if(f>>>0<i>>2>>>0){i=a+8|0;m=a+44|0;while(1){hh(m,H[(f<<2)+h>>2],b,f);h=H[a+52>>2];j=H[a+56>>2];k=N(e,f)<<2;l=k+b|0;n=H[l+4>>2];H[g+16>>2]=H[l>>2];H[g+20>>2]=n;H[g+8>>2]=h;H[g+12>>2]=j;_a(g+24|0,i,g+16|0,g+8|0);h=c+k|0;H[h>>2]=H[g+24>>2];H[h+4>>2]=H[g+28>>2];if(d>>>0<2){break a}d=f;j=H[a+40>>2];h=H[j>>2];f=f-1|0;if(f>>>0<H[j+4>>2]-h>>2>>>0){continue}break}}ua();X()}da=g+32|0;return 1}function jk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=da-32|0;da=g;H[a+48>>2]=f;d=H[a+40>>2];h=H[d>>2];a:{i=H[d+4>>2]-h|0;if((i|0)<=0){break a}d=i>>>2|0;f=d-1|0;if(f>>>0<i>>2>>>0){i=a+8|0;m=a+44|0;while(1){ch(m,H[(f<<2)+h>>2],b,f);h=H[a+52>>2];j=H[a+56>>2];k=N(e,f)<<2;l=k+b|0;n=H[l+4>>2];H[g+16>>2]=H[l>>2];H[g+20>>2]=n;H[g+8>>2]=h;H[g+12>>2]=j;_a(g+24|0,i,g+16|0,g+8|0);h=c+k|0;H[h>>2]=H[g+24>>2];H[h+4>>2]=H[g+28>>2];if(d>>>0<2){break a}d=f;j=H[a+40>>2];h=H[j>>2];f=f-1|0;if(f>>>0<H[j+4>>2]-h>>2>>>0){continue}break}}ua();X()}da=g+32|0;return 1}function Lg(a,b){var c=0,d=0,e=0,f=0;f=da-16|0;da=f;c=ra(16);H[f>>2]=c;H[f+4>>2]=15;H[f+8>>2]=-2147483632;F[c+15|0]=0;d=I[1746]|I[1747]<<8|(I[1748]<<16|I[1749]<<24);e=I[1742]|I[1743]<<8|(I[1744]<<16|I[1745]<<24);F[c+7|0]=e;F[c+8|0]=e>>>8;F[c+9|0]=e>>>16;F[c+10|0]=e>>>24;F[c+11|0]=d;F[c+12|0]=d>>>8;F[c+13|0]=d>>>16;F[c+14|0]=d>>>24;d=I[1739]|I[1740]<<8|(I[1741]<<16|I[1742]<<24);e=I[1735]|I[1736]<<8|(I[1737]<<16|I[1738]<<24);F[c|0]=e;F[c+1|0]=e>>>8;F[c+2|0]=e>>>16;F[c+3|0]=e>>>24;F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;tb(a+4|0,f,b);if(F[f+11|0]<0){qa(H[f>>2])}da=f+16|0}function Kb(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=1;j=d&2147483647;l=j;k=(j|0)==2147418112;a:{if(k&!c?a|b:k&(c|0)!=0|j>>>0>2147418112){break a}j=h&2147483647;k=(j|0)==2147418112;if(k&!g?e|f:k&(g|0)!=0|j>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(j|l)))){return 0}i=d&h;if((i|0)>0|(i|0)>=0){i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0<e>>>0|b>>>0<f>>>0:c>>>0<g>>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}i=(a^e|c^g|(b^f|d^h))!=0}return i}function Gg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+4|0;a:{a=H[a+4>>2];if(a){e=I[c+11|0];d=e<<24>>24<0;i=d?H[c>>2]:c;e=d?H[c+4>>2]:e;while(1){c=I[a+27|0];d=c<<24>>24<0;c=d?H[a+20>>2]:c;j=c>>>0<e>>>0;b:{c:{d:{e:{f:{h=j?c:e;g:{if(h){g=a+16|0;d=d?H[g>>2]:g;g=Ga(i,d,h);if(!g){if(c>>>0>e>>>0){break g}break f}if((g|0)>=0){break f}break g}if(c>>>0<=e>>>0){break e}}c=H[a>>2];if(c){break b}H[b>>2]=a;return a}c=Ga(d,i,h);if(c){break d}}if(j){break c}break a}if((c|0)>=0){break a}}f=a+4|0;c=H[a+4>>2];if(!c){break a}a=f}f=a;a=c;continue}}H[b>>2]=f;return f}H[b>>2]=a;return f}function dg(a,b){var c=0;c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;c=H[b+60>>2];H[a+56>>2]=H[b+56>>2];H[a+60>>2]=c;c=H[b+52>>2];H[a+48>>2]=H[b+48>>2];H[a+52>>2]=c;c=H[b+44>>2];H[a+40>>2]=H[b+40>>2];H[a+44>>2]=c;c=H[b+36>>2];H[a+32>>2]=H[b+32>>2];H[a+36>>2]=c;c=H[b+28>>2];H[a+24>>2]=H[b+24>>2];H[a+28>>2]=c;c=H[b+20>>2];H[a+16>>2]=H[b+16>>2];H[a+20>>2]=c;c=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=c;H[a+88>>2]=0;H[a+64>>2]=0;H[a+68>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;F[a+77|0]=0;F[a+78|0]=0;F[a+79|0]=0;F[a+80|0]=0;F[a+81|0]=0;F[a+82|0]=0;F[a+83|0]=0;F[a+84|0]=0;return a}function pb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=a+4|0;a=H[a+4>>2];a:{b:{if(!a){break b}d=I[b+11|0];c=d<<24>>24<0;i=c?H[b>>2]:b;e=c?H[b+4>>2]:d;c=g;while(1){b=I[a+27|0];j=b<<24>>24<0;h=j?H[a+20>>2]:b;f=h>>>0>e>>>0;d=f?e:h;c:{if(d){b=a+16|0;b=Ga(j?H[b>>2]:b,i,d);if(b){break c}}b=e>>>0>h>>>0?-1:f}c=(b|0)<0?c:a;a=H[(b>>>29&4)+a>>2];if(a){continue}break}if((c|0)==(g|0)){break b}a=I[c+27|0];f=a<<24>>24<0;d:{d=f?H[c+20>>2]:a;b=d>>>0<e>>>0?d:e;if(b){a=c+16|0;a=Ga(i,f?H[a>>2]:a,b);if(a){break d}}if(d>>>0>e>>>0){break b}break a}if((a|0)>=0){break a}}c=g}return c}function oe(a){var b=0,c=0,d=0,e=0;c=H[a+152>>2];if(c){b=H[a+156>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=H[e>>2];if(d){H[b-8>>2]=d;qa(d)}b=e;if((c|0)!=(b|0)){continue}break}b=H[a+152>>2]}H[a+156>>2]=c;qa(b)}c=H[a+140>>2];if(c){b=H[a+144>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=H[e>>2];if(d){H[b-8>>2]=d;qa(d)}b=e;if((c|0)!=(b|0)){continue}break}b=H[a+140>>2]}H[a+144>>2]=c;qa(b)}b=H[a+128>>2];if(b){H[a+132>>2]=b;qa(b)}b=H[a+116>>2];if(b){H[a+120>>2]=b;qa(b)}b=H[a+104>>2];if(b){H[a+108>>2]=b;qa(b)}vb(a+84|0);vb(a- -64|0);vb(a+44|0);Aa(a+12|0)}
function ed(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=da-16|0;da=i;if((b^-1)-17>>>0>=c>>>0){if(I[a+11|0]>>>7|0){k=H[a>>2]}else{k=a}a:{if(b>>>0<2147483623){H[i+8>>2]=b<<1;H[i+12>>2]=b+c;c=da-16|0;da=c;da=c+16|0;c=i+8|0;j=i+12|0;c=H[(K[j>>2]<K[c>>2]?c:j)>>2];if(c>>>0>=11){j=c+16&-16;c=j-1|0;c=(c|0)==11?j:c}else{c=10}break a}c=-18}j=c+1|0;c=ra(j);if(e){Cb(c,k,e)}if(g){Cb(c+e|0,h,g)}d=d-(e+f|0)|0;if(d){Cb((c+e|0)+g|0,(e+k|0)+f|0,d)}if((b|0)!=10){qa(k)}H[a>>2]=c;H[a+8>>2]=j|-2147483648;b=a;a=d+(e+g|0)|0;H[b+4>>2]=a;F[i+7|0]=0;F[a+c|0]=I[i+7|0];da=i+16|0;return}hb();X()}function le(a){var b=0,c=0,d=0,e=0;c=H[a+140>>2];if(c){b=H[a+144>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=H[e>>2];if(d){H[b-8>>2]=d;qa(d)}b=e;if((c|0)!=(b|0)){continue}break}b=H[a+140>>2]}H[a+144>>2]=c;qa(b)}c=H[a+128>>2];if(c){b=H[a+132>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=H[e>>2];if(d){H[b-8>>2]=d;qa(d)}b=e;if((c|0)!=(b|0)){continue}break}b=H[a+128>>2]}H[a+132>>2]=c;qa(b)}b=H[a+116>>2];if(b){H[a+120>>2]=b;qa(b)}b=H[a+104>>2];if(b){H[a+108>>2]=b;qa(b)}b=H[a+92>>2];if(b){H[a+96>>2]=b;qa(b)}vb(a+72|0);vb(a+52|0);vb(a+32|0);vb(a+12|0)}function xc(a,b){var c=0,d=0,e=0,f=0;c=H[a+16>>2];if(b){H[a+12>>2]=H[a+12>>2]|-2147483648>>>c}b=c+1|0;H[a+16>>2]=b;a:{b:{if((b|0)==32){b=H[a+4>>2];c:{if((b|0)!=H[a+8>>2]){H[b>>2]=H[a+12>>2];H[a+4>>2]=b+4;break c}f=H[a>>2];c=b-f|0;e=c>>2;b=e+1|0;if(b>>>0>=1073741824){break b}d=c>>1;d=c>>>0<2147483644?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break a}b=ra(d<<2)}else{b=0}e=b+(e<<2)|0;H[e>>2]=H[a+12>>2];if((c|0)>0){sa(b,f,c)}H[a+8>>2]=b+(d<<2);H[a+4>>2]=e+4;H[a>>2]=b;if(!f){break c}qa(f)}H[a+12>>2]=0;H[a+16>>2]=0}return}va();X()}ya(1604);X()}function Lh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(qb(a,H[b+8>>2],e)){if(!(H[b+28>>2]==1|H[b+4>>2]!=(c|0))){H[b+28>>2]=d}return}a:{if(qb(a,H[b>>2],e)){if(!(H[b+16>>2]!=(c|0)&H[b+20>>2]!=(c|0))){if((d|0)!=1){break a}H[b+32>>2]=1;return}H[b+32>>2]=d;b:{if(H[b+44>>2]==4){break b}G[b+52>>1]=0;a=H[a+8>>2];fa[H[H[a>>2]+20>>2]](a,b,c,c,1,e);if(I[b+53|0]){H[b+44>>2]=3;if(!I[b+52|0]){break b}break a}H[b+44>>2]=4}H[b+20>>2]=c;H[b+40>>2]=H[b+40>>2]+1;if(H[b+36>>2]!=1|H[b+24>>2]!=2){break a}F[b+54|0]=1;return}a=H[a+8>>2];fa[H[H[a>>2]+24>>2]](a,b,c,d,e)}}function cc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;a:{b:{if(b){if(b>>>0>=357913942){break b}d=N(b,12);b=ra(d);H[a>>2]=b;H[a+4>>2]=b;e=b+d|0;H[a+8>>2]=e;f=H[c>>2];c=H[c+4>>2]-f|0;c:{if(!c){c=b;b=d-12|0;ta(c,0,(b-((b>>>0)%12|0)|0)+12|0);break c}if((c|0)<0){break a}g=c>>2<<2;h=c>>>2<<2;while(1){H[b+8>>2]=0;H[b>>2]=0;H[b+4>>2]=0;d=ra(c);H[b>>2]=d;H[b+4>>2]=d;H[b+8>>2]=d+g;i=b,j=sa(d,f,c)+h|0,H[i+4>>2]=j;b=b+12|0;if((e|0)!=(b|0)){continue}break}}H[a+4>>2]=e}return}va();X()}H[b+8>>2]=0;H[b>>2]=0;H[b+4>>2]=0;va();X()}function Ig(a,b,c,d,e){var f=0,g=0,h=0;f=da-16|0;da=f;g=Hg(b,c,f+12|0,f+8|0,d);c=H[g>>2];if(c){b=0}else{c=ra(40);d=c+16|0;a:{if(F[e+11|0]>=0){h=H[e+4>>2];H[d>>2]=H[e>>2];H[d+4>>2]=h;H[d+8>>2]=H[e+8>>2];break a}Ia(d,H[e>>2],H[e+4>>2])}d=c+28|0;b:{if(F[e+23|0]>=0){e=e+12|0;h=H[e+4>>2];H[d>>2]=H[e>>2];H[d+4>>2]=h;H[d+8>>2]=H[e+8>>2];break b}Ia(d,H[e+12>>2],H[e+16>>2])}H[c+8>>2]=H[f+12>>2];H[c>>2]=0;H[c+4>>2]=0;H[g>>2]=c;d=H[H[b>>2]>>2];if(d){H[b>>2]=d;d=H[g>>2]}else{d=c}ub(H[b+4>>2],d);H[b+8>>2]=H[b+8>>2]+1;b=1}F[a+4|0]=b;H[a>>2]=c;da=f+16|0}function db(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=c-b|0;g=f>>2;d=H[a+8>>2];e=H[a>>2];if(g>>>0<=d-e>>2>>>0){d=H[a+4>>2]-e|0;f=d>>2;d=f>>>0<g>>>0?b+d|0:c;h=d-b|0;if(h){xa(e,b,h)}if(f>>>0<g>>>0){b=H[a+4>>2];c=c-d|0;if((c|0)>0){b=sa(b,d,c)+c|0}H[a+4>>2]=b;return}H[a+4>>2]=e+h;return}if(e){H[a+4>>2]=e;qa(e);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;d=0}a:{if((f|0)<0){break a}c=d>>1;c=d>>>0<2147483644?c>>>0<g>>>0?g:c:1073741823;if(c>>>0>=1073741824){break a}e=c<<2;c=ra(e);H[a>>2]=c;H[a+4>>2]=c;H[a+8>>2]=c+e;if(f){c=sa(c,b,f)+f|0}H[a+4>>2]=c;return}va();X()}function ag(a){var b=0,c=0,d=0,e=0;Ca(a);c=H[a+84>>2];a:{if((c|0)<=0){break a}b=c<<5;d=ra((c|0)!=(c&134217727)?-1:b|4);H[d>>2]=c;d=d+4|0;c=d+b|0;b=d;while(1){H[b>>2]=0;H[b+4>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;b=b+32|0;if((c|0)!=(b|0)){continue}break}e=H[a+80>>2];H[a+80>>2]=d;if(e){c=e-4|0;d=H[c>>2];if(d){b=(d<<5)+e|0;while(1){b=Aa(b-32|0);if((e|0)!=(b|0)){continue}break}}qa(c)}if(H[a+84>>2]<=0){break a}b=0;while(1){Ca(H[a+80>>2]+(b<<5)|0);b=b+1|0;if((b|0)<H[a+84>>2]){continue}break}}}function ye(a,b,c){var d=0,e=0,f=0;d=da+-64|0;da=d;f=H[a>>2];e=H[f-4>>2];f=H[f-8>>2];H[d+20>>2]=0;H[d+16>>2]=b;H[d+12>>2]=a;H[d+8>>2]=c;b=0;ta(d+24|0,0,39);a=a+f|0;a:{if(qb(e,c,0)){H[d+56>>2]=1;fa[H[H[e>>2]+20>>2]](e,d+8|0,a,a,1,0);b=H[d+32>>2]==1?a:0;break a}fa[H[H[e>>2]+24>>2]](e,d+8|0,a,1,0);b:{switch(H[d+44>>2]){case 0:b=H[d+48>>2]==1?H[d+36>>2]==1?H[d+40>>2]==1?H[d+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(H[d+32>>2]!=1){if(H[d+48>>2]|H[d+36>>2]!=1|H[d+40>>2]!=1){break a}}b=H[d+24>>2]}da=d- -64|0;return b}function rb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=da-16|0;da=f;A(+b);g=v(1)|0;d=v(0)|0;c=g&2147483647;e=c+-1048576|0;a:{if((e|0)==2145386495|e>>>0<2145386495){h=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){h=d<<28;c=(g&15)<<28|d>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}e=c;c=c?Q(c):Q(d)+32|0;Ta(f,d,e,0,0,c+49|0);i=H[f>>2];h=H[f+4>>2];e=15372-c<<16;c=H[f+8>>2];d=e|H[f+12>>2]^65536}H[a>>2]=i;H[a+4>>2]=h;H[a+8>>2]=c;H[a+12>>2]=g&-2147483648|d;da=f+16|0}function ri(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=da-48|0;da=f;a:{if(!b){a=0;break a}e=f+16|0;H[e>>2]=0;H[e+4>>2]=0;F[e+24|0]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;g=0;b:{if((kc(b,0)|0)==-1){break b}if(c){g=0;if(!(fa[H[H[b>>2]+16>>2]](b)|0)){break b}fa[H[H[b>>2]+20>>2]](b)}Sg(f,a,b,e);a=H[f>>2];if(F[f+15|0]<0){qa(H[f+4>>2])}g=0;if(a){break b}od(d,H[e>>2],H[e+4>>2]);g=H[e+4>>2]-H[e>>2]|0}a=g;b=H[e+12>>2];H[e+12>>2]=0;if(b){qa(b)}b=H[e>>2];if(!b){break a}H[e+4>>2]=b;qa(b)}da=f+48|0;return a|0}function ie(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=2312;b=H[a+60>>2];if(b){c=H[a- -64>>2];if((b|0)==(c|0)){c=b}else{while(1){c=c-4|0;d=H[c>>2];H[c>>2]=0;if(d){Pa(d)}if((b|0)!=(c|0)){continue}break}c=H[a+60>>2]}H[a+64>>2]=b;qa(c)}b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}b=H[a+36>>2];if(b){c=H[a+40>>2];if((b|0)==(c|0)){c=b}else{while(1){c=c-24|0;fa[H[H[c>>2]>>2]](c)|0;if((b|0)!=(c|0)){continue}break}c=H[a+36>>2]}H[a+40>>2]=b;qa(c)}H[a>>2]=2216;b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}b=H[a+4>>2];if(b){H[a+8>>2]=b;qa(b)}return a|0}function si(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=da-48|0;da=e;a:{if(!b){a=0;break a}d=e+16|0;H[d>>2]=0;H[d+4>>2]=0;F[d+24|0]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;f=0;b:{if((kc(b,0)|0)==-1){break b}f=0;if(!(fa[H[H[b>>2]+16>>2]](b)|0)){break b}fa[H[H[b>>2]+20>>2]](b);Pg(e,a,b,d);a=H[e>>2];if(F[e+15|0]<0){qa(H[e+4>>2])}f=0;if(a){break b}od(c,H[d>>2],H[d+4>>2]);f=H[d+4>>2]-H[d>>2]|0}a=f;b=H[d+12>>2];H[d+12>>2]=0;if(b){qa(b)}b=H[d>>2];if(!b){break a}H[d+4>>2]=b;qa(b)}da=e+48|0;return a|0}function vh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=H[a+8>>2];d=H[e+40>>2];g=ra((d|0)>=0?d:-1);a:{f=H[b>>2];h=H[b+4>>2];if((f|0)==(h|0)){break a}k=d+g|0;while(1){d=H[(i<<2)+f>>2];l=H[H[e>>2]>>2];m=H[e+48>>2];j=H[e+40>>2];n=H[e+44>>2];if(!I[e+84|0]){d=H[H[e+68>>2]+(d<<2)>>2]}d=xl(j,n,d,0)+m|0;e=sa(g,d+l|0,j);d=H[c+20>>2];if(!H[c+16>>2]&(d|0)<=0|(d|0)<0){wa(c,H[c+4>>2],e,k);h=H[b+4>>2];f=H[b>>2]}i=i+1|0;if(i>>>0>=h-f>>2>>>0){break a}e=H[a+8>>2];continue}}qa(g);return 1}function Jb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<<b)-1&e)<<32-b|d>>>b}d=0;e=0;break a}if(!f){break a}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=i<<g;j=0}else{h=(1<<g)-1&i>>>32-g|e<<g;j=i<<g}i=b;b=f&31;if((f&63)>>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<<b)-1&c)<<32-b|i>>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<<d)-1&e)<<32-d|g>>>d}e=h}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=d;H[a+12>>2]=e}function _e(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=da-16|0;da=c;e=I[b+11|0];e=e<<24>>24<0?H[b+4>>2]:e;a:{if(e>>>0>255){break a}if(!e){F[c+15|0]=0;b=H[a+20>>2];if(!!H[a+16>>2]&(b|0)>=0|(b|0)>0){break a}wa(a,H[a+4>>2],c+15|0,c+16|0);break a}F[c+14|0]=e;d=H[a+20>>2];if(!!H[a+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(a,H[a+4>>2],c+14|0,c+15|0);d=H[a+20>>2];if(!!H[a+16>>2]&(d|0)>=0|(d|0)>0){break a}g=a;h=H[a+4>>2];a=I[b+11|0];d=a<<24>>24<0;f=d?H[b>>2]:b;wa(g,h,f,(d?H[b+4>>2]:a)+f|0)}da=c+16|0;return e>>>0<256}function ii(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=da-48|0;da=d;e=H[a+4>>2];a:{if(!e){break a}if(b){if(!(fa[H[H[e>>2]+16>>2]](e)|0)){break a}b=H[a+4>>2];fa[H[H[b>>2]+20>>2]](b)}b=d+16|0;H[b>>2]=0;H[b+4>>2]=0;F[b+24|0]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;Zd(d,H[a>>2],b);a=H[d>>2];if(F[d+15|0]<0){qa(H[d+4>>2])}if(!a){od(c,H[b>>2],H[b+4>>2]);f=H[b+4>>2]-H[b>>2]|0}a=H[b+12>>2];H[b+12>>2]=0;if(a){qa(a)}a=H[b>>2];if(!a){break a}H[b+4>>2]=a;qa(a)}da=d+48|0;return f|0}function Ta(a,b,c,d,e,f){var g=0,h=0,i=0;a:{if(f&64){d=b;e=f+-64|0;b=e&31;if((e&63)>>>0>=32){e=d<<b;d=0}else{e=(1<<b)-1&d>>>32-b|c<<b;d=d<<b}b=0;c=0;break a}if(!f){break a}g=d;d=f&31;if((f&63)>>>0>=32){h=g<<d;i=0}else{h=(1<<d)-1&g>>>32-d|e<<d;i=g<<d}g=b;e=64-f|0;d=e&31;if((e&63)>>>0>=32){e=0;b=c>>>d|0}else{e=c>>>d|0;b=((1<<d)-1&c)<<32-d|g>>>d}d=i|b;e=e|h;b=f&31;if((f&63)>>>0>=32){h=g<<b;b=0}else{h=(1<<b)-1&g>>>32-b|c<<b;b=g<<b}c=h}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=d;H[a+12>>2]=e}function th(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if((fa[H[H[b>>2]+20>>2]](b)|0)<=0){return 1}a:{while(1){d=kc(H[H[a+4>>2]+4>>2],fa[H[H[b>>2]+24>>2]](b,e)|0);if((d|0)==-1){break a}c=H[a+4>>2];f=0;b:{if((d|0)<0){break b}g=H[c+4>>2];if(H[g+12>>2]-H[g+8>>2]>>2<=(d|0)){break b}c=H[H[c+8>>2]+(H[H[c+20>>2]+(d<<2)>>2]<<2)>>2];f=fa[H[H[c>>2]+36>>2]](c,d)|0}if(!(fa[H[H[b>>2]+28>>2]](b,f)|0)){break a}e=e+1|0;if((fa[H[H[b>>2]+20>>2]](b)|0)>(e|0)){continue}break}return 1}return 0}function je(a,b){Ba(a,b);Ba(a+32|0,b);Ba(a- -64|0,b);Ba(a+96|0,b);Ba(a+128|0,b);Ba(a+160|0,b);Ba(a+192|0,b);Ba(a+224|0,b);Ba(a+256|0,b);Ba(a+288|0,b);Ba(a+320|0,b);Ba(a+352|0,b);Ba(a+384|0,b);Ba(a+416|0,b);Ba(a+448|0,b);Ba(a+480|0,b);Ba(a+512|0,b);Ba(a+544|0,b);Ba(a+576|0,b);Ba(a+608|0,b);Ba(a+640|0,b);Ba(a+672|0,b);Ba(a+704|0,b);Ba(a+736|0,b);Ba(a+768|0,b);Ba(a+800|0,b);Ba(a+832|0,b);Ba(a+864|0,b);Ba(a+896|0,b);Ba(a+928|0,b);Ba(a+960|0,b);Ba(a+992|0,b);Ba(a+1024|0,b)}function Ge(a,b){if(!a){return 0}a:{b:{if(a){if(b>>>0<=127){break b}c:{if(!H[H[4776]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){F[a+1|0]=b&63|128;F[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){F[a+2|0]=b&63|128;F[a|0]=b>>>12|224;F[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){F[a+3|0]=b&63|128;F[a|0]=b>>>18|240;F[a+2|0]=b>>>6&63|128;F[a+1|0]=b>>>12&63|128;a=4;break a}}H[4739]=25;a=-1}else{a=1}break a}F[a|0]=b;a=1}return a}function Vi(a,b){a=a|0;b=b|0;var c=0,d=0;d=da-16|0;da=d;c=H[a+8>>2];a:{if((c|0)==H[a+12>>2]){c=ra(76);Ve(c,b);H[c+36>>2]=0;H[c+40>>2]=0;H[c>>2]=2312;H[c+44>>2]=0;H[c+48>>2]=0;H[c+52>>2]=0;H[c+56>>2]=0;H[c+60>>2]=0;H[c+64>>2]=0;H[c+68>>2]=0;H[c+72>>2]=0;H[d+8>>2]=c;b=H[a+12>>2];b:{if(b>>>0<K[a+16>>2]){H[d+8>>2]=0;H[b>>2]=c;H[a+12>>2]=b+4;break b}Ic(a+8|0,d+8|0)}a=H[d+8>>2];H[d+8>>2]=0;if(!a){break a}fa[H[H[a>>2]+4>>2]](a);break a}jc(H[c>>2],b)}da=d+16|0;return 1}function Za(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;h=xl(b,c,h,i);i=ea;j=h;h=xl(d,e,f,g);e=j+h|0;d=ea+i|0;i=e;h=i>>>0<h>>>0?d+1|0:d;j=i;k=g;e=0;l=c;d=0;i=xl(g,e,c,d);g=j+i|0;c=ea+h|0;j=g;g=g>>>0<i>>>0?c+1|0:c;h=f;i=b;f=xl(h,0,i,0);b=ea;c=0;d=xl(h,c,l,d);b=b+d|0;c=ea+c|0;c=b>>>0<d>>>0?c+1|0:c;h=c;c=c+j|0;d=g;d=c>>>0<h>>>0?d+1|0:d;h=c;c=d;d=xl(i,m,k,e)+b|0;e=ea;e=b>>>0>d>>>0?e+1|0:e;g=a;i=e;h=i+h|0;H[g+8>>2]=h;H[g+12>>2]=h>>>0<i>>>0?c+1|0:c;H[g>>2]=f;H[g+4>>2]=d}function Ec(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=14980;b=H[a+68>>2];if(b){H[a+72>>2]=b;qa(b)}b=H[a+56>>2];if(b){H[a+60>>2]=b;qa(b)}b=H[a+44>>2];if(b){H[a+48>>2]=b;qa(b)}b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}b=H[a+20>>2];if(b){H[a+24>>2]=b;qa(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];if((c|0)==(d|0)){b=d}else{while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){Pa(b)}if((d|0)!=(c|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;qa(b)}b=H[a+4>>2];H[a+4>>2]=0;if(b){hf(b)}return a|0}function rh(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=2524;b=H[a+72>>2];H[a+72>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}b=H[a+60>>2];if(b){H[a- -64>>2]=b;qa(b)}b=H[a+48>>2];if(b){qa(b)}d=H[a+36>>2];if(d){c=H[a+40>>2];if((c|0)==(d|0)){b=d}else{while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}if((d|0)!=(c|0)){continue}break}b=H[a+36>>2]}H[a+40>>2]=d;qa(b)}H[a>>2]=2216;b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}b=H[a+4>>2];if(b){H[a+8>>2]=b;qa(b)}return a|0}function Ea(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=H[a+8>>2];c=H[a+4>>2];if(e-c>>2>>>0>=b>>>0){if(b){b=b<<2;c=ta(c,0,b)+b|0}H[a+4>>2]=c;return}a:{f=H[a>>2];g=c-f|0;h=g>>2;d=h+b|0;if(d>>>0<1073741824){c=0;e=e-f|0;i=e>>1;d=e>>>0<2147483644?d>>>0>i>>>0?d:i:1073741823;if(d){if(d>>>0>=1073741824){break a}c=ra(d<<2)}b=b<<2;b=ta((h<<2)+c|0,0,b)+b|0;if((g|0)>0){sa(c,f,g)}H[a+8>>2]=(d<<2)+c;H[a+4>>2]=b;H[a>>2]=c;if(f){qa(f)}return}va();X()}ya(1604);X()}function Ya(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=H[a+8>>2];c=H[a+4>>2];if(e-c>>3>>>0>=b>>>0){if(b){b=b<<3;c=ta(c,0,b)+b|0}H[a+4>>2]=c;return}a:{f=H[a>>2];g=c-f|0;h=g>>3;d=h+b|0;if(d>>>0<536870912){c=0;e=e-f|0;i=e>>2;d=e>>>0<2147483640?d>>>0>i>>>0?d:i:536870911;if(d){if(d>>>0>=536870912){break a}c=ra(d<<3)}b=b<<3;b=ta((h<<3)+c|0,0,b)+b|0;if((g|0)>0){sa(c,f,g)}H[a+8>>2]=(d<<3)+c;H[a+4>>2]=b;H[a>>2]=c;if(f){qa(f)}return}va();X()}ya(1604);X()}function id(a,b,c,d,e){var f=0,g=0,h=0,i=0;h=-1;f=d&2147483647;i=f;g=(f|0)==2147418112;a:{if(g&!c?a|b:g&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;g=(f|0)==2147418112;if(g?0:g&0|f>>>0>2147418112){break a}if(!(a|c|(f|i|b))){return 0}f=d&e;if((f|0)>0|(f|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c|(d^e|b))!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}h=(a|c|(d^e|b))!=0}return h}function eb(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=H[a+4>>2];e=H[a>>2];f=c-e|0;b:{if(f>>>0<b>>>0){g=b-f|0;d=H[a+8>>2];if(g>>>0<=d-c>>>0){if(g){c=ta(c,0,g)+g|0}H[a+4>>2]=c;return}if((b|0)<0){break a}c=d-e|0;d=c<<1;d=c>>>0<1073741823?b>>>0>d>>>0?b:d:2147483647;c=ra(d);ta(c+f|0,0,g);if((f|0)>0){sa(c,e,f)}H[a+8>>2]=c+d;H[a+4>>2]=b+c;H[a>>2]=c;if(!e){break b}qa(e);return}if(b>>>0>=f>>>0){break b}H[a+4>>2]=b+e}return}va();X()}function Qg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=da-16|0;da=d;e=H[a+4>>2];a:{if((e|0)==-1){break a}c=H[b+20>>2];if(!!H[b+16>>2]&(c|0)>=0|(c|0)>0){break a}wa(b,H[b+4>>2],H[a+8>>2],H[a+12>>2]);c=H[b+20>>2];if(!!H[b+16>>2]&(c|0)>=0|(c|0)>0){break a}c=a+20|0;wa(b,H[b+4>>2],c,c+4|0);c=H[b+20>>2];f=H[b+16>>2];F[d+15|0]=H[a+4>>2];if(!!f&(c|0)>=0|(c|0)>0){break a}wa(b,H[b+4>>2],d+15|0,d+16|0)}da=d+16|0;return(e|0)!=-1|0}function _i(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{b=H[a+8>>2];b:{if((b|0)<0){break b}c=H[a+4>>2];e=H[c>>2];d=H[c+4>>2]-e>>2;c:{if(d>>>0<b>>>0){Ea(c,b-d|0);f=H[a+8>>2];break c}f=b;if(b>>>0>=d>>>0){break c}H[c+4>>2]=e+(b<<2);f=b}d=f;if((d|0)<=0){break b}a=H[a+4>>2];c=H[a>>2];e=H[a+4>>2]-c>>2;a=0;while(1){if((a|0)==(e|0)){break a}H[c+(a<<2)>>2]=a;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return(b^-1)>>>31|0}ua();X()}function ke(a){Ca(a);Ca(a+32|0);Ca(a- -64|0);Ca(a+96|0);Ca(a+128|0);Ca(a+160|0);Ca(a+192|0);Ca(a+224|0);Ca(a+256|0);Ca(a+288|0);Ca(a+320|0);Ca(a+352|0);Ca(a+384|0);Ca(a+416|0);Ca(a+448|0);Ca(a+480|0);Ca(a+512|0);Ca(a+544|0);Ca(a+576|0);Ca(a+608|0);Ca(a+640|0);Ca(a+672|0);Ca(a+704|0);Ca(a+736|0);Ca(a+768|0);Ca(a+800|0);Ca(a+832|0);Ca(a+864|0);Ca(a+896|0);Ca(a+928|0);Ca(a+960|0);Ca(a+992|0);Ca(a+1024|0)}function Pg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=da-96|0;da=e;f=Eg(e+40|0,c);Rg(e,b,c);Dg(f,e);Ka(e+24|0,H[e+28>>2]);ob(e+12|0,H[e+16>>2]);Ka(e,H[e+4>>2]);Zd(a,f,d);if(!H[a>>2]){if(F[a+15|0]<0){qa(H[a+4>>2])}H[b+40>>2]=H[f+40>>2];H[b+44>>2]=H[f+44>>2];H[a+8>>2]=0;H[a+12>>2]=0;H[a>>2]=0;H[a+4>>2]=0}H[f>>2]=10284;Ka(f+28|0,H[f+32>>2]);ob(f+16|0,H[f+20>>2]);Ka(f+4|0,H[f+8>>2]);da=e+96|0}function Pj(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=10432;b=H[a+64>>2];H[a+64>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}H[a>>2]=12484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}b=H[a+20>>2];if(b){H[a+24>>2]=b;qa(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];if((c|0)==(d|0)){b=d}else{while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}if((d|0)!=(c|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;qa(b)}return a|0}function Sa(a,b,c){var d=0,e=0,f=0;if(!(I[a|0]&32)){a:{d=b;b=a;a=H[b+16>>2];b:{if(!a){if(Me(b)){break b}a=H[b+16>>2]}f=H[b+20>>2];if(a-f>>>0<c>>>0){fa[H[b+36>>2]](b,d,c)|0;break a}c:{if(H[b+80>>2]<0){break c}a=c;while(1){e=a;if(!a){break c}a=e-1|0;if(I[d+a|0]!=10){continue}break}if(fa[H[b+36>>2]](b,d,e)>>>0<e>>>0){break b}d=d+e|0;c=c-e|0;f=H[b+20>>2]}sa(f,d,c);H[b+20>>2]=H[b+20>>2]+c}}}}function Oj(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=10432;b=H[a+64>>2];H[a+64>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}H[a>>2]=12484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}b=H[a+20>>2];if(b){H[a+24>>2]=b;qa(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];if((c|0)==(d|0)){b=d}else{while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}if((d|0)!=(c|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;qa(b)}qa(a)}function sl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=da-16|0;da=d;f=He(a,b);a:{if(!f){break a}c=H[a+36>>2];if((c|0)==H[a+40>>2]){break a}g=d+16|0;while(1){c=H[(e<<2)+c>>2];h=d,i=fa[H[H[c>>2]+32>>2]](c)|0,F[h+15|0]=i;c=H[b+20>>2];if(!H[b+16>>2]&(c|0)<=0|(c|0)<0){wa(b,H[b+4>>2],d+15|0,g)}e=e+1|0;c=H[a+36>>2];if(e>>>0<H[a+40>>2]-c>>2>>>0){continue}break}}da=d+16|0;return f|0}function dd(a,b,c){var d=0,e=0,f=0;f=da-16|0;da=f;d=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:10;if(I[a+11|0]>>>7|0){e=H[a+4>>2]}else{e=I[a+11|0]}a:{if(d-e>>>0>=c>>>0){if(!c){break a}if(I[a+11|0]>>>7|0){d=H[a>>2]}else{d=a}Cb(d+e|0,b,c);b=c+e|0;b:{if(I[a+11|0]>>>7|0){H[a+4>>2]=b;break b}F[a+11|0]=b}F[f+15|0]=0;F[b+d|0]=I[f+15|0];break a}ed(a,d,(c+e|0)-d|0,e,e,0,c,b)}da=f+16|0}function zb(a,b,c){var d=0,e=0,f=0,g=0;d=da-16|0;da=d;F[d+15|0]=a&127;a:{b:{if(!b&a>>>0>=128|b){F[d+15|0]=a|128;f=H[c+20>>2];e=0;if(!!H[c+16>>2]&(f|0)>=0|(f|0)>0){break b}wa(c,H[c+4>>2],d+15|0,d+16|0);a=zb((b&127)<<25|a>>>7,b>>>7|0,c);break a}b=H[c+16>>2];a=H[c+20>>2];if(!b&(a|0)<=0|(a|0)<0){wa(c,H[c+4>>2],d+15|0,d+16|0)}e=!b&(a|0)<=0|(a|0)<0}g=e;a=0}da=d+16|0;return a|g}function Lf(a,b){a=a|0;b=b|0;var c=0,d=0;c=da-16|0;da=c;a:{if(!b){d=ra(76);b=ra(12);H[b+8>>2]=H[H[a+4>>2]+80>>2];H[b>>2]=12420;H[b+4>>2]=0;d=ge(d,b,0);H[c+8>>2]=d;b=H[a+12>>2];b:{if(b>>>0<K[a+16>>2]){H[c+8>>2]=0;H[b>>2]=d;H[a+12>>2]=b+4;break b}Ic(a+8|0,c+8|0)}a=H[c+8>>2];H[c+8>>2]=0;if(!a){break a}fa[H[H[a>>2]+4>>2]](a);break a}jc(H[H[a+8>>2]>>2],b)}da=c+16|0;return 1}function Ch(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[a+36>>2];if((c|0)!=H[a+40>>2]){while(1){c=N(d,24)+c|0;fa[H[H[c>>2]+28>>2]](c,b)|0;d=d+1|0;c=H[a+36>>2];if(d>>>0<(H[a+40>>2]-c|0)/24>>>0){continue}break}}c=H[a+48>>2];if((c|0)!=H[a+52>>2]){d=0;while(1){c=H[(d<<2)+c>>2];Da((c|0)>=0?c<<1:(c^-1)<<1|1,b);d=d+1|0;c=H[a+48>>2];if(d>>>0<H[a+52>>2]-c>>2>>>0){continue}break}}return 1}function fg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=H[a+172>>2];c=H[a+176>>2]-d|0;e=(c|0)/136|0;a:{if(!c){break a}c=0;b:{c:{d:{if(H[d>>2]!=(b|0)){f=e>>>0>1?e:1;while(1){c=c+1|0;if((f|0)==(c|0)){break d}if(H[N(c,136)+d>>2]!=(b|0)){continue}break}b=c>>>0<e>>>0}else{b=1}if(b){break c}break a}if(c>>>0<e>>>0){break b}break a}d=(N(c,136)+d|0)+104|0}return d|0}return a+40|0}function nd(a,b,c,d,e,f){var g=0,h=0,i=0;i=-1;a:{if(!a){break a}g=Lc(ra(96));Ed(g,b,d<<24>>24,f,c);b=kd(a,g);if(c){g=H[H[a+8>>2]+(b<<2)>>2];while(1){f=H[g+40>>2];sa(H[H[g>>2]>>2]+N(f,I[g+84|0]?h:H[H[g+68>>2]+(h<<2)>>2])|0,(N(d,h)<<2)+e|0,f);h=h+1|0;if((h|0)!=(c|0)){continue}break}}d=H[a+80>>2];b:{if(!d){H[a+80>>2]=c;break b}if((c|0)!=(d|0)){break a}}i=b}return i}function jf(a,b,c,d,e,f){var g=0,h=0,i=0;i=-1;a:{if(!a){break a}g=Lc(ra(96));Ed(g,b,d<<24>>24,f,c);b=kd(a,g);if(c){g=H[H[a+8>>2]+(b<<2)>>2];while(1){f=H[g+40>>2];sa(H[H[g>>2]>>2]+N(f,I[g+84|0]?h:H[H[g+68>>2]+(h<<2)>>2])|0,(N(d,h)<<1)+e|0,f);h=h+1|0;if((h|0)!=(c|0)){continue}break}}d=H[a+80>>2];b:{if(!d){H[a+80>>2]=c;break b}if((c|0)!=(d|0)){break a}}i=b}return i}function Nc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=da+-64|0;da=d;e=fa[H[H[a>>2]+44>>2]](a,b)|0;a=fa[H[H[a>>2]+40>>2]](a,b)|0;f=Mc(d);g=H[b+56>>2];h=e<<24>>24;i=a;a=a-1|0;if(a>>>0<=10){a=H[(a<<2)+14848>>2]}else{a=-1}a=N(a,e);Fd(f,g,0,h,i,a,a>>31);a=dg(ra(96),f);Dd(a,c);F[a+84|0]=1;H[a+72>>2]=H[a+68>>2];H[a+60>>2]=H[b+60>>2];da=d- -64|0;return a|0}function yd(a,b,c,d){var e=0;a:{if(!b&(c|0)<=0|(c|0)<0){break a}e=H[a+20>>2];if(!!H[a+16>>2]&(e|0)>=0|(e|0)>0){break a}F[a+24|0]=d;b=b+7|0;c=b>>>0<7?c+1|0:c;e=b;b=c>>>3|0;c=(c&7)<<29|e>>>3;H[a+16>>2]=c;H[a+20>>2]=b;e=c;b=H[a+4>>2]-H[a>>2]|0;c=b+8|0;c=d?c:b;b=e+c|0;eb(a,b);d=H[a>>2];b=ra(8);H[b+4>>2]=0;H[b>>2]=c+d;c=H[a+12>>2];H[a+12>>2]=b;if(!c){break a}qa(c)}}function kf(a,b,c,d,e,f){var g=0,h=0,i=0;i=-1;a:{if(!a){break a}g=Lc(ra(96));Ed(g,b,d<<24>>24,f,c);b=kd(a,g);if(c){g=H[H[a+8>>2]+(b<<2)>>2];while(1){f=H[g+40>>2];sa(H[H[g>>2]>>2]+N(f,I[g+84|0]?h:H[H[g+68>>2]+(h<<2)>>2])|0,N(d,h)+e|0,f);h=h+1|0;if((h|0)!=(c|0)){continue}break}}d=H[a+80>>2];b:{if(!d){H[a+80>>2]=c;break b}if((c|0)!=(d|0)){break a}}i=b}return i}function Kh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(qb(a,H[b+8>>2],e)){if(!(H[b+28>>2]==1|H[b+4>>2]!=(c|0))){H[b+28>>2]=d}return}a:{if(!qb(a,H[b>>2],e)){break a}if(!(H[b+16>>2]!=(c|0)&H[b+20>>2]!=(c|0))){if((d|0)!=1){break a}H[b+32>>2]=1;return}H[b+20>>2]=c;H[b+32>>2]=d;H[b+40>>2]=H[b+40>>2]+1;if(!(H[b+36>>2]!=1|H[b+24>>2]!=2)){F[b+54|0]=1}H[b+44>>2]=4}}function Ed(a,b,c,d,e){var f=0,g=0,h=0;f=ra(32);H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f>>2]=0;H[f+4>>2]=0;H[f+24>>2]=0;H[f+28>>2]=0;g=H[a+64>>2];H[a+64>>2]=f;if(g){f=H[g>>2];if(f){H[g+4>>2]=f;qa(f)}qa(g);f=H[a+64>>2]}h=b;g=d-1|0;if(g>>>0<=10){b=H[(g<<2)+14848>>2]}else{b=-1}b=N(b,c);Fd(a,h,f,c,d,b,b>>31);Dd(a,e);F[a+84|0]=1;H[a+72>>2]=H[a+68>>2]}function Da(a,b){var c=0,d=0,e=0,f=0;c=da-16|0;da=c;F[c+15|0]=a&127;a:{b:{if(a>>>0>=128){F[c+15|0]=a|128;d=H[b+20>>2];e=0;if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break b}wa(b,H[b+4>>2],c+15|0,c+16|0);a=Da(a>>>7|0,b);break a}d=H[b+16>>2];a=H[b+20>>2];if(!d&(a|0)<=0|(a|0)<0){wa(b,H[b+4>>2],c+15|0,c+16|0)}e=!d&(a|0)<=0|(a|0)<0}f=e;a=0}da=c+16|0;return a|f}function Qh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=H[a+84>>2];f=H[e+4>>2];g=H[a+28>>2];d=H[a+20>>2]-g|0;d=d>>>0>f>>>0?f:d;if(d){sa(H[e>>2],g,d);H[e>>2]=d+H[e>>2];f=H[e+4>>2]-d|0;H[e+4>>2]=f}d=H[e>>2];f=c>>>0>f>>>0?f:c;if(f){sa(d,b,f);d=f+H[e>>2]|0;H[e>>2]=d;H[e+4>>2]=H[e+4>>2]-f}F[d|0]=0;b=H[a+44>>2];H[a+28>>2]=b;H[a+20>>2]=b;return c|0}function we(a,b,c,d){F[a+53|0]=1;a:{if(H[a+4>>2]!=(c|0)){break a}F[a+52|0]=1;c=H[a+16>>2];b:{if(!c){H[a+36>>2]=1;H[a+24>>2]=d;H[a+16>>2]=b;if((d|0)!=1){break a}if(H[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=H[a+24>>2];if((c|0)==2){H[a+24>>2]=d;c=d}if(H[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}H[a+36>>2]=H[a+36>>2]+1}F[a+54|0]=1}}function Fc(a,b){var c=0,d=0,e=0,f=0;d=1;a:{if((b|0)==-1){break a}b=N(b,3);if((b|0)==-1){break a}d=-1;e=H[a>>2];a=e+(b<<2)|0;c=b+1|0;c=(c>>>0)%3|0?c:b-2|0;if((c|0)!=-1){d=H[(c<<2)+e>>2]}a=H[a>>2];f=(a|0)==(d|0);b:{c:{if((b>>>0)%3|0){b=b-1|0;break c}b=b+2|0;c=-1;if((b|0)==-1){break b}}c=H[(b<<2)+e>>2]}d=f|(c|0)==(a|0)|(d|0)==(c|0)}return d}function Ph(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da+-64|0;da=e;d=1;a:{if(qb(a,b,0)){break a}d=0;if(!b){break a}b=ye(b,18492,18540);d=0;if(!b){break a}d=e+8|0;ta(d|4,0,52);H[e+56>>2]=1;H[e+20>>2]=-1;H[e+16>>2]=a;H[e+8>>2]=b;fa[H[H[b>>2]+28>>2]](b,d,H[c>>2],1);a=H[e+32>>2];if((a|0)==1){H[c>>2]=H[e+24>>2]}d=(a|0)==1}da=e- -64|0;return d|0}function tl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;H[a+32>>2]=c;H[a+28>>2]=b;a:{if(!(fa[H[H[a>>2]+52>>2]](a)|0)){break a}e=H[a+4>>2];if((e|0)==H[a+8>>2]){return 1}c=0;while(1){d=c<<2;f=H[d+H[a+36>>2]>>2];d=fa[H[H[f>>2]+8>>2]](f,b,H[d+e>>2])|0;if(!d){break a}c=c+1|0;e=H[a+4>>2];if(c>>>0<H[a+8>>2]-e>>2>>>0){continue}break}}return d|0}function Ij(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da-16|0;da=d;H[a+4>>2]=b;b=H[b+64>>2];e=H[b>>2];b=H[b+4>>2];F[d+15|0]=0;Ra(a+24|0,(b-e>>2>>>0)/3|0,d+15|0);b=H[a+4>>2];e=H[b+56>>2];b=H[b+52>>2];F[d+14|0]=0;Ra(a+36|0,e-b>>2,d+14|0);b=H[c+12>>2];H[a+16>>2]=H[c+8>>2];H[a+20>>2]=b;b=H[c+4>>2];H[a+8>>2]=H[c>>2];H[a+12>>2]=b;da=d+16|0}function dj(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=12484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}b=H[a+20>>2];if(b){H[a+24>>2]=b;qa(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];if((c|0)==(d|0)){b=d}else{while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}if((d|0)!=(c|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;qa(b)}return a|0}function df(a){H[a>>2]=0;H[a+4>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;F[a+24|0]=1;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;H[a+36>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;H[a+60>>2]=0;H[a+64>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[a+84>>2]=0;H[a+88>>2]=0;H[a+92>>2]=0;H[a+68>>2]=a}function xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da-16|0;da=d;H[a+4>>2]=b;e=H[b>>2];b=H[b+4>>2];F[d+15|0]=0;Ra(a+24|0,(b-e>>2>>>0)/3|0,d+15|0);b=H[a+4>>2];e=H[b+28>>2];b=H[b+24>>2];F[d+14|0]=0;Ra(a+36|0,e-b>>2,d+14|0);b=H[c+12>>2];H[a+16>>2]=H[c+8>>2];H[a+20>>2]=b;b=H[c+4>>2];H[a+8>>2]=H[c>>2];H[a+12>>2]=b;da=d+16|0}function Bc(a){var b=0,c=0,d=0,e=0;while(1){b=a;a=b+1|0;c=F[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=F[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=F[a|0];b=a}if(c-48>>>0<10){while(1){d=(N(d,10)-F[b|0]|0)+48|0;a=F[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return e?d:0-d|0}function zd(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=12484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}b=H[a+20>>2];if(b){H[a+24>>2]=b;qa(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];if((c|0)==(d|0)){b=d}else{while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}if((d|0)!=(c|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;qa(b)}qa(a)}function eh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da-16|0;da=c;H[c+12>>2]=H[a+12>>2];d=H[b+20>>2];a:{if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+12|0,c+16|0);d=H[b+20>>2];e=H[b+16>>2];H[c+8>>2]=H[a+16>>2];if(!!e&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+8|0,c+12|0)}Ba(a+112|0,b);da=c+16|0;return 1}function Wg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da-16|0;da=c;H[c+12>>2]=H[a+12>>2];d=H[b+20>>2];a:{if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+12|0,c+16|0);d=H[b+20>>2];e=H[b+16>>2];H[c+8>>2]=H[a+24>>2];if(!!e&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+8|0,c+12|0)}Ba(a+96|0,b);da=c+16|0;return 1}function jd(a){var b=0;b=1;a:{if((a|0)>=1024){b=8.98846567431158e307;if(a>>>0<2047){a=a-1023|0;break a}b=Z;a=(a>>>0<3069?a:3069)-2046|0;break a}if((a|0)>-1023){break a}b=2.004168360008973e-292;if(a>>>0>4294965304){a=a+969|0;break a}b=0;a=(a>>>0>4294964336?a:-2960)+1938|0}x(0,0);x(1,a+1023<<20);return b*+z()}function al(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da-16|0;da=c;H[c+12>>2]=H[a+12>>2];d=H[b+20>>2];a:{if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+12|0,c+16|0);d=H[b+20>>2];e=H[b+16>>2];H[c+8>>2]=H[a+16>>2];if(!!e&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+8|0,c+12|0)}da=c+16|0;return 1}function Ck(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da-16|0;da=c;H[c+12>>2]=H[a+12>>2];d=H[b+20>>2];a:{if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+12|0,c+16|0);d=H[b+20>>2];e=H[b+16>>2];H[c+8>>2]=H[a+24>>2];if(!!e&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+8|0,c+12|0)}da=c+16|0;return 1}function bi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;Te(a,b,c);d=H[a+96>>2];a=H[a+100>>2]-d|0;if(a){b=H[b>>2];a=(a|0)/12|0;e=a>>>0>1?a:1;c=0;while(1){a=N(c,12)+d|0;H[a>>2]=H[b+(H[a>>2]<<2)>>2];H[a+4>>2]=H[b+(H[a+4>>2]<<2)>>2];H[a+8>>2]=H[b+(H[a+8>>2]<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function Ga(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(H[a>>2]!=H[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}while(1){d=I[a|0];e=I[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}return d-e|0}return 0}function hf(a){var b=0,c=0,d=0;if(a){d=H[a+24>>2];if(d){c=H[a+28>>2];if((c|0)==(d|0)){b=d}else{while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){mb(b+12|0,H[b+16>>2]);lb(b,H[b+4>>2]);qa(b)}if((d|0)!=(c|0)){continue}break}b=H[a+24>>2]}H[a+28>>2]=d;qa(b)}mb(a+12|0,H[a+16>>2]);lb(a,H[a+4>>2]);qa(a)}}function cb(a,b){var c=0,d=0,e=0,f=0;d=da-16|0;da=d;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=Q(e);Ta(d,e,0,0,0,c+81|0);e=0+H[d+8>>2]|0;c=(H[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0<f>>>0?c+1|0:c;f=b&-2147483648|c;c=H[d+4>>2];b=H[d>>2]}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=e;H[a+12>>2]=f;da=d+16|0}function vj(a){a=a|0;var b=0;H[a+8>>2]=11452;H[a>>2]=11240;b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+80>>2];if(b){H[a+84>>2]=b;qa(b)}b=H[a+68>>2];if(b){H[a+72>>2]=b;qa(b)}b=H[a+56>>2];if(b){H[a+60>>2]=b;qa(b)}H[a+8>>2]=11688;b=H[a+44>>2];if(b){qa(b)}b=H[a+32>>2];if(b){qa(b)}return a|0}function uj(a){a=a|0;var b=0;H[a+8>>2]=11452;H[a>>2]=11240;b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+80>>2];if(b){H[a+84>>2]=b;qa(b)}b=H[a+68>>2];if(b){H[a+72>>2]=b;qa(b)}b=H[a+56>>2];if(b){H[a+60>>2]=b;qa(b)}H[a+8>>2]=11688;b=H[a+44>>2];if(b){qa(b)}b=H[a+32>>2];if(b){qa(b)}qa(a)}function mh(a){a=a|0;var b=0;H[a>>2]=3540;b=H[a+152>>2];if(b){H[a+156>>2]=b;qa(b)}b=H[a+112>>2];if(b){H[a+116>>2]=b;qa(b)}b=H[a+96>>2];if(b){qa(b)}b=H[a+84>>2];if(b){qa(b)}b=H[a+72>>2];if(b){qa(b)}b=H[a+60>>2];if(b){qa(b)}H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}return a|0}function dh(a){a=a|0;var b=0;H[a>>2]=5104;b=H[a+152>>2];if(b){H[a+156>>2]=b;qa(b)}b=H[a+112>>2];if(b){H[a+116>>2]=b;qa(b)}b=H[a+96>>2];if(b){qa(b)}b=H[a+84>>2];if(b){qa(b)}b=H[a+72>>2];if(b){qa(b)}b=H[a+60>>2];if(b){qa(b)}H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}return a|0}function sb(a){var b=0,c=0,d=0;b=a;a:{if(b&3){while(1){if(!I[b|0]){break a}b=b+1|0;if(b&3){continue}break}}while(1){c=b;b=b+4|0;d=H[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=I[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function Ah(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=H[c+8>>2];e=H[c+16>>2];g=H[c+12>>2];f=g;d=H[c+20>>2];if(h>>>0>e>>>0&(f|0)>=(d|0)|(d|0)<(f|0)){b=I[e+H[c>>2]|0];i=e+1|0;f=i?d:d+1|0;H[c+16>>2]=i;H[c+20>>2]=f;H[a+4>>2]=b}return e>>>0<h>>>0&(d|0)<=(g|0)|(d|0)<(g|0)}function qb(a,b,c){var d=0;if(!c){return H[a+4>>2]==H[b+4>>2]}if((a|0)==(b|0)){return 1}d=H[a+4>>2];a=I[d|0];c=H[b+4>>2];b=I[c|0];a:{if(!a|(b|0)!=(a|0)){break a}while(1){b=I[c+1|0];a=I[d+1|0];if(!a){break a}c=c+1|0;d=d+1|0;if((a|0)==(b|0)){continue}break}}return(a|0)==(b|0)}function Eb(a){var b=0,c=0;c=H[a+8>>2];if((c|0)>=2){b=+(c|0);b=U(b*za(b)-M[a>>3]);if(P(b)<0x8000000000000000){ea=P(b)>=1?~~(b>0?R(T(b*2.3283064365386963e-10),4294967295):U((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0:0;return~~b>>>0}a=-2147483648}else{a=0}ea=a;return 0}function wj(a){a=a|0;var b=0;H[a>>2]=11452;b=H[a+88>>2];if(b){H[a+92>>2]=b;qa(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;qa(b)}b=H[a+60>>2];if(b){H[a- -64>>2]=b;qa(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}H[a>>2]=11688;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}return a|0}function oi(a){a=a|0;var b=0,c=0,d=0;b=ra(8);H[b+4>>2]=a;H[b>>2]=0;a:{b:{c:{if(!a){break c}c=ye(a,15032,14952);if(!c){break c}d=ra(56);Eg(d,c);a=H[b>>2];H[b>>2]=d;if(a){break b}break a}c=ra(56);Fg(c,a);a=H[b>>2];H[b>>2]=c;if(!a){break a}}fa[H[H[a>>2]+4>>2]](a)}return b|0}function dc(a,b){var c=0,d=0,e=0,f=0;c=da-16|0;da=c;a:{if(!b){b=0;break a}d=b;b=Q(b);Ta(c,d,0,0,0,b+81|0);e=16414-b<<16;b=0;d=b+H[c+8>>2]|0;e=e+(H[c+12>>2]^65536)|0;e=b>>>0>d>>>0?e+1|0:e;f=d;d=H[c>>2];b=H[c+4>>2]}H[a>>2]=d;H[a+4>>2]=b;H[a+8>>2]=f;H[a+12>>2]=e;da=c+16|0}function rj(a){a=a|0;var b=0;H[a>>2]=11452;b=H[a+88>>2];if(b){H[a+92>>2]=b;qa(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;qa(b)}b=H[a+60>>2];if(b){H[a- -64>>2]=b;qa(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}H[a>>2]=11688;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}qa(a)}function ec(a,b,c){var d=0,e=0,f=0;a:{if(!b){d=a;break a}while(1){d=zl(a,b,10,0);f=ea;e=xl(d,f,10,0);c=c-1|0;F[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;F[c|0]=d-N(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function bk(a){a=a|0;var b=0;H[a+40>>2]=1140;H[a>>2]=10016;b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}H[a>>2]=2652;b=H[a+36>>2];H[a+36>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}H[a>>2]=2420;b=H[a+32>>2];H[a+32>>2]=0;if(b){Pa(b)}b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}return a|0}function Sg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=da-96|0;da=e;f=Fg(e+40|0,c);Rg(e,b,c);Dg(f,e);Ka(e+24|0,H[e+28>>2]);ob(e+12|0,H[e+16>>2]);Ka(e,H[e+4>>2]);Zd(a,f,d);H[f>>2]=10284;Ka(f+28|0,H[f+32>>2]);ob(f+16|0,H[f+20>>2]);Ka(f+4|0,H[f+8>>2]);da=e+96|0}function oc(a){var b=0;b=H[a+84>>2];if(b){H[a+88>>2]=b;qa(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;qa(b)}b=H[a+52>>2];if(b){H[a+56>>2]=b;qa(b)}b=H[a+40>>2];if(b){H[a+44>>2]=b;qa(b)}b=H[a+28>>2];if(b){H[a+32>>2]=b;qa(b)}b=H[a+12>>2];if(b){qa(b)}a=H[a>>2];if(a){qa(a)}}function De(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=da-16|0;da=f;d=da-16|0;da=d;b=b-a>>2;while(1){if(b){H[d+12>>2]=a;e=b>>>1|0;H[d+12>>2]=H[d+12>>2]+(e<<2);h=(e^-1)+b|0;b=e;e=H[d+12>>2];g=K[e>>2]<K[c>>2];b=g?h:b;a=g?e+4|0:a;continue}break}da=d+16|0;da=f+16|0;return a}function ak(a){a=a|0;var b=0;H[a+40>>2]=1140;H[a>>2]=10016;b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}H[a>>2]=2652;b=H[a+36>>2];H[a+36>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}H[a>>2]=2420;b=H[a+32>>2];H[a+32>>2]=0;if(b){Pa(b)}b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}qa(a)}function pc(a,b){if(b){a=H[b+76>>2];if(a){H[b+80>>2]=a;qa(a)}a=H[b- -64>>2];if(a){H[b+68>>2]=a;qa(a)}a=H[b+48>>2];if(a){H[b+52>>2]=a;qa(a)}a=H[b+24>>2];if(a){H[b+28>>2]=a;qa(a)}a=H[b+12>>2];if(a){H[b+16>>2]=a;qa(a)}a=H[b>>2];if(a){H[b+4>>2]=a;qa(a)}qa(b)}}function Ia(a,b,c){var d=0,e=0;a:{b:{if(c>>>0<=10){d=a;F[d+11|0]=c;break b}if(c>>>0>4294967279){break a}if(c>>>0>=11){e=c+16&-16;d=e-1|0;d=(d|0)==11?e:d}else{d=10}e=d+1|0;d=ra(e);H[a>>2]=d;H[a+8>>2]=e|-2147483648;H[a+4>>2]=c}Cb(d,b,c+1|0);return}hb();X()}function rl(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[a+72>>2];a:{if(!c){break a}H[c+4>>2]=a+60;if(!(fa[H[H[c>>2]+12>>2]](c)|0)){break a}if(!(fa[H[H[a>>2]+40>>2]](a)|0)){break a}if(!(fa[H[H[a>>2]+44>>2]](a,b)|0)){break a}d=fa[H[H[a>>2]+48>>2]](a,b)|0}return d|0}function ck(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da-16|0;da=e;d=a+40|0;c=Nc(d,H[a+8>>2],H[b+4>>2]-H[b>>2]>>2);d=be(d,H[a+8>>2],b,c);a:{if(d){b=H[a+32>>2];H[a+32>>2]=c;if(!b){break a}Pa(b);break a}H[e+8>>2]=0;if(!c){break a}Pa(c)}da=e+16|0;return d|0}function Ek(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da-16|0;da=e;d=a+40|0;c=Nc(d,H[a+8>>2],H[b+4>>2]-H[b>>2]>>2);d=ng(d,H[a+8>>2],b,c);a:{if(d){b=H[a+32>>2];H[a+32>>2]=c;if(!b){break a}Pa(b);break a}H[e+8>>2]=0;if(!c){break a}Pa(c)}da=e+16|0;return d|0}function Fd(a,b,c,d,e,f,g){var h=0;H[a>>2]=c;if(c){h=H[c+20>>2];H[a+8>>2]=H[c+16>>2];H[a+12>>2]=h;h=H[c+28>>2];H[a+16>>2]=H[c+24>>2];H[a+20>>2]=h}H[a+56>>2]=b;H[a+48>>2]=0;H[a+52>>2]=0;H[a+40>>2]=f;H[a+44>>2]=g;F[a+32|0]=0;H[a+28>>2]=e;F[a+24|0]=d}function Le(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=Le(a*0x10000000000000000,b);c=H[b>>2]+-64|0}H[b>>2]=c;return a}H[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function pl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[a+36>>2];if((c|0)==H[a+40>>2]){return 1}f=a+60|0;while(1){c=H[(d<<2)+c>>2];e=fa[H[H[c>>2]+20>>2]](c,f,b)|0;if(e){d=d+1|0;c=H[a+36>>2];if(d>>>0<H[a+40>>2]-c>>2>>>0){continue}}break}return e|0}function gg(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[a+172>>2];a=H[a+176>>2]-c|0;if(a){a=(a|0)/136|0;d=a>>>0>1?a:1;a=0;while(1){if(H[N(a,136)+c>>2]==(b|0)){a=N(a,136)+c|0;return(I[a+100|0]?a+4|0:0)|0}a=a+1|0;if((d|0)!=(a|0)){continue}break}}return 0}function ee(a){H[a+32>>2]=0;H[a+12>>2]=-1;H[a+4>>2]=0;H[a+8>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a>>2]=2420;F[a+21|0]=0;F[a+22|0]=0;F[a+23|0]=0;F[a+24|0]=0;F[a+25|0]=0;F[a+26|0]=0;F[a+27|0]=0;F[a+28|0]=0;H[a+36>>2]=0;H[a>>2]=2652;return a}function ql(a){a=a|0;var b=0,c=0,d=0,e=0;b=H[a+36>>2];if((b|0)==H[a+40>>2]){return 1}e=a+60|0;while(1){b=H[(c<<2)+b>>2];d=fa[H[H[b>>2]+16>>2]](b,e)|0;if(d){c=c+1|0;b=H[a+36>>2];if(c>>>0<H[a+40>>2]-b>>2>>>0){continue}}break}return d|0}function ok(a){a=a|0;var b=0;H[a>>2]=8668;b=H[a+136>>2];if(b){H[a+140>>2]=b;qa(b)}b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+80>>2];if(b){qa(b)}b=H[a+68>>2];if(b){qa(b)}b=H[a+56>>2];if(b){qa(b)}b=H[a+44>>2];if(b){qa(b)}return a|0}function Je(a){var b=0,c=0,d=0;if(F[H[a>>2]]-48>>>0>=10){return 0}while(1){d=H[a>>2];c=-1;if(b>>>0<=214748364){c=F[d|0]-48|0;b=N(b,10);c=(c|0)>(2147483647-b|0)?-1:c+b|0}H[a>>2]=d+1;b=c;if(F[d+1|0]-48>>>0<10){continue}break}return b}function Gf(a,b){a=a|0;b=b|0;var c=0,d=0;c=da-16|0;da=c;H[c+12>>2]=H[H[b+4>>2]+80>>2];b=H[b+44>>2];d=H[b+20>>2];if(!H[b+16>>2]&(d|0)<=0|(d|0)<0){wa(b,H[b+4>>2],c+12|0,c+16|0)}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;da=c+16|0}function Ak(a){a=a|0;var b=0;H[a>>2]=7020;b=H[a+136>>2];if(b){H[a+140>>2]=b;qa(b)}b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+80>>2];if(b){qa(b)}b=H[a+68>>2];if(b){qa(b)}b=H[a+56>>2];if(b){qa(b)}b=H[a+44>>2];if(b){qa(b)}return a|0}function Pa(a){a=a|0;var b=0,c=0;if(a){b=H[a+88>>2];H[a+88>>2]=0;if(b){c=H[b+8>>2];if(c){H[b+12>>2]=c;qa(c)}qa(b)}b=H[a+68>>2];if(b){H[a+72>>2]=b;qa(b)}b=H[a+64>>2];H[a+64>>2]=0;if(b){c=H[b>>2];if(c){H[b+4>>2]=c;qa(c)}qa(b)}qa(a)}}function ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=H[a+36>>2];if((c|0)==H[a+40>>2]){return 1}while(1){c=H[(d<<2)+c>>2];e=fa[H[H[c>>2]+24>>2]](c,b)|0;if(e){d=d+1|0;c=H[a+36>>2];if(d>>>0<H[a+40>>2]-c>>2>>>0){continue}}break}return e|0}function zk(a){a=a|0;var b=0;H[a>>2]=7020;b=H[a+136>>2];if(b){H[a+140>>2]=b;qa(b)}b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+80>>2];if(b){qa(b)}b=H[a+68>>2];if(b){qa(b)}b=H[a+56>>2];if(b){qa(b)}b=H[a+44>>2];if(b){qa(b)}qa(a)}function nk(a){a=a|0;var b=0;H[a>>2]=8668;b=H[a+136>>2];if(b){H[a+140>>2]=b;qa(b)}b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+80>>2];if(b){qa(b)}b=H[a+68>>2];if(b){qa(b)}b=H[a+56>>2];if(b){qa(b)}b=H[a+44>>2];if(b){qa(b)}qa(a)}function tc(a,b){var c=0,d=0,e=0;c=sb(b);if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=c+16&-16;d=ra(e);H[a+8>>2]=e|-2147483648;H[a>>2]=d;H[a+4>>2]=c;break b}F[a+11|0]=c;d=a;if(!c){break a}}sa(d,b,c)}F[c+d|0]=0;return a}hb();X()}function Xi(a){a=a|0;var b=0,c=0,d=0;b=H[a+32>>2];d=H[a+36>>2];if((b|0)==(d|0)){return 1}while(1){c=H[H[a+8>>2]+(H[b>>2]<<2)>>2];c=fa[H[H[c>>2]+20>>2]](c,H[a+44>>2])|0;if(c){b=b+4|0;if((d|0)!=(b|0)){continue}}break}return c|0}function yl(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0<e>>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=zl(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;ea=(g^ea)-((a>>>0<f>>>0)+g|0)|0;return b}function cd(a,b,c){var d=0,e=0,f=0;e=da-16|0;da=e;d=H[a+8>>2]&2147483647;a:{if(d>>>0>c>>>0){d=H[a>>2];H[a+4>>2]=c;Cb(d,b,c);F[e+15|0]=0;F[c+d|0]=I[e+15|0];break a}f=a;a=H[a+4>>2];ed(f,d-1|0,(c-d|0)+1|0,a,0,a,c,b)}da=e+16|0}function ve(a,b){a=a|0;b=b|0;var c=0,d=0;c=da-16|0;da=c;a=H[a+4>>2];a:{if((a|0)==-1){break a}F[c+15|0]=a;d=H[b+20>>2];if(!!H[b+16>>2]&(d|0)>=0|(d|0)>0){break a}wa(b,H[b+4>>2],c+15|0,c+16|0)}da=c+16|0;return(a|0)!=-1|0}function xl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=N(e,f);g=c&65535;h=a&65535;i=N(g,h);f=(i>>>16|0)+N(f,g)|0;e=(f&65535)+N(e,h)|0;ea=(N(b,c)+j|0)+N(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function xe(a,b,c){var d=0;d=H[a+16>>2];if(!d){H[a+36>>2]=1;H[a+24>>2]=c;H[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(H[a+24>>2]!=2){break a}H[a+24>>2]=c;return}F[a+54|0]=1;H[a+24>>2]=2;H[a+36>>2]=H[a+36>>2]+1}}function pk(a,b){a=a|0;b=b|0;var c=0,d=0;H[b>>2]=2;c=H[b+8>>2];d=H[b+12>>2]-c|0;if(d>>>0<=4294967291){Gc(b+8|0,d+4|0);c=H[b+8>>2]}b=c+d|0;a=H[a+4>>2];F[b|0]=a;F[b+1|0]=a>>>8;F[b+2|0]=a>>>16;F[b+3|0]=a>>>24}function ya(a){var b=0,c=0,d=0,e=0,f=0;b=ca(8)|0;H[b>>2]=18692;H[b>>2]=18736;c=sb(a);d=ra(c+13|0);H[d+8>>2]=0;H[d+4>>2]=c;H[d>>2]=c;e=b,f=sa(d+12|0,a,c+1|0),H[e+4>>2]=f;H[b>>2]=18784;ba(b|0,18816,13);X()}function Ua(a,b,c,d,e){var f=0;f=da-256|0;da=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;ta(f,b&255,d?c:256);if(!d){while(1){Sa(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Sa(a,f,c)}da=f+256|0}function hl(a,b){a=a|0;b=b|0;var c=0,d=0;d=H[a+16>>2];c=0;a:{if(H[a+20>>2]-d>>2<=(b|0)){break a}b=H[(b<<2)+d>>2];c=0;if((b|0)<0){break a}a=H[H[a+36>>2]+(b<<2)>>2];b=H[a+32>>2];c=b?b:H[a+8>>2]}return c|0}function kl(a,b){a=a|0;b=b|0;var c=0,d=0;d=H[a+16>>2];c=0;a:{if(H[a+20>>2]-d>>2<=(b|0)){break a}b=H[(b<<2)+d>>2];c=0;if((b|0)<0){break a}a=H[H[a+36>>2]+(b<<2)>>2];c=H[a+20>>2]-H[a+16>>2]>>2}return c|0}function jl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=-1;e=H[a+16>>2];a:{if(H[a+20>>2]-e>>2<=(b|0)){break a}b=H[(b<<2)+e>>2];if((b|0)<0){break a}d=H[H[H[H[a+36>>2]+(b<<2)>>2]+16>>2]+(c<<2)>>2]}return d|0}function wd(a,b){var c=O(0),d=0;b=pb(a,b);if((b|0)!=(a+4|0)){a=da-16|0;da=a;Ne(a,F[b+39|0]<0?H[b+28>>2]:b+28|0,0,1);d=Ee(H[a>>2],H[a+4>>2],H[a+8>>2],H[a+12>>2]);da=a+16|0;c=O(d)}else{c=O(1)}return c}function ph(a){a=a|0;var b=0;H[a>>2]=2652;b=H[a+36>>2];H[a+36>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}H[a>>2]=2420;b=H[a+32>>2];H[a+32>>2]=0;if(b){Pa(b)}b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}return a|0}function Aa(a){var b=0,c=0;c=da-16|0;da=c;H[c+8>>2]=0;H[c+12>>2]=0;ae(a,c+8|0);H[a+24>>2]=0;H[a+28>>2]=0;b=H[a+12>>2];H[a+16>>2]=b;if(b){qa(b)}b=H[a>>2];if(b){H[a+4>>2]=b;qa(b)}da=c+16|0;return a}function oh(a){a=a|0;var b=0;H[a>>2]=2652;b=H[a+36>>2];H[a+36>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}H[a>>2]=2420;b=H[a+32>>2];H[a+32>>2]=0;if(b){Pa(b)}b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}qa(a)}function mc(a){H[a+52>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=12484;H[a+12>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;return a}function Lc(a){Mc(a);H[a+64>>2]=0;H[a+68>>2]=0;H[a+88>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;F[a+77|0]=0;F[a+78|0]=0;F[a+79|0]=0;F[a+80|0]=0;F[a+81|0]=0;F[a+82|0]=0;F[a+83|0]=0;F[a+84|0]=0;return a}function Me(a){var b=0;b=H[a+72>>2];H[a+72>>2]=b-1|b;b=H[a>>2];if(b&8){H[a>>2]=b|32;return-1}H[a+4>>2]=0;H[a+8>>2]=0;b=H[a+44>>2];H[a+28>>2]=b;H[a+20>>2]=b;H[a+16>>2]=b+H[a+48>>2];return 0}function Mc(a){H[a+8>>2]=0;H[a+12>>2]=0;H[a>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+28>>2]=9;F[a+24|0]=1;H[a+56>>2]=-1;H[a+60>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;return a}function hd(a,b,c,d,e,f,g,h,i){var j=0;j=da-16|0;da=j;ab(j,b,c,d,e,f,g,h,i^-2147483648);d=H[j>>2];c=H[j+4>>2];b=H[j+12>>2];H[a+8>>2]=H[j+8>>2];H[a+12>>2]=b;H[a>>2]=d;H[a+4>>2]=c;da=j+16|0}function ze(a,b){var c=0;if(b>>>0<=99){return Ae(a,b)}if(b>>>0<=999){c=(b>>>0)/100|0;F[a|0]=c+48;a=a+1|0;b=J[(b-N(c,100)<<1)+18208>>1];F[a|0]=b;F[a+1|0]=b>>>8;return a+2|0}return Ac(a,b)}function rd(a,b,c){a=a|0;b=b|0;c=c|0;a=0;a:{if(H[b+4>>2]|!b){break a}a=ra(36);ld(a,c);H[a+32>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;c=H[b+4>>2];H[b+4>>2]=a;a=1;if(!c){break a}hf(c)}return a|0}function Yh(a,b){a=a|0;b=b|0;var c=0,d=0;We(a,b);a:{if((b|0)<0){break a}c=H[a+88>>2];d=H[a+84>>2];if(c-d>>2<=(b|0)){break a}b=d+(b<<2)|0;d=b+4|0;c=c-d|0;if(c){xa(b,d,c)}H[a+88>>2]=b+c}}function ge(a,b,c){Ve(a,c);H[a+36>>2]=0;H[a+40>>2]=0;H[a>>2]=2524;H[a+44>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;H[a+60>>2]=0;H[a+64>>2]=0;H[a+68>>2]=0;H[a+72>>2]=b;return a}function bd(a,b,c){var d=0,e=0;d=da-16|0;da=d;a:{if(c>>>0<=10){F[a+11|0]=c;Cb(a,b,c);F[d+15|0]=0;F[a+c|0]=I[d+15|0];break a}e=a;a=I[a+11|0];ed(e,10,c-10|0,a,0,a,c,b)}da=d+16|0}function nj(a){a=a|0;var b=0;H[a+8>>2]=11872;H[a>>2]=11708;b=H[a+56>>2];if(b){H[a+60>>2]=b;qa(b)}H[a+8>>2]=11688;b=H[a+44>>2];if(b){qa(b)}b=H[a+32>>2];if(b){qa(b)}return a|0}function ij(a){a=a|0;var b=0;H[a+8>>2]=10904;H[a>>2]=12e3;b=H[a+56>>2];if(b){H[a+60>>2]=b;qa(b)}H[a+8>>2]=11156;b=H[a+44>>2];if(b){qa(b)}b=H[a+32>>2];if(b){qa(b)}return a|0}function Ib(a){var b=0,c=0;b=H[4713];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>ga()<<16>>>0){if(!($(a|0)|0)){break a}}H[4713]=a;return b}H[4739]=48;return-1}function mj(a){a=a|0;var b=0;H[a+8>>2]=11872;H[a>>2]=11708;b=H[a+56>>2];if(b){H[a+60>>2]=b;qa(b)}H[a+8>>2]=11688;b=H[a+44>>2];if(b){qa(b)}b=H[a+32>>2];if(b){qa(b)}qa(a)}function hj(a){a=a|0;var b=0;H[a+8>>2]=10904;H[a>>2]=12e3;b=H[a+56>>2];if(b){H[a+60>>2]=b;qa(b)}H[a+8>>2]=11156;b=H[a+44>>2];if(b){qa(b)}b=H[a+32>>2];if(b){qa(b)}qa(a)}function mb(a,b){if(b){mb(a,H[b>>2]);mb(a,H[b+4>>2]);a=H[b+28>>2];H[b+28>>2]=0;if(a){mb(a+12|0,H[a+16>>2]);lb(a,H[a+4>>2]);qa(a)}if(F[b+27|0]<0){qa(H[b+16>>2])}qa(b)}}function Oh(a,b){a=a|0;b=b|0;var c=0;a:{if(!(fa[H[H[a>>2]+40>>2]](a)|0)){break a}if(!(fa[H[H[a>>2]+44>>2]](a,b)|0)){break a}c=fa[H[H[a>>2]+48>>2]](a,b)|0}return c|0}function Ac(a,b){var c=0,d=0;c=(b>>>0)/100|0;d=J[(c<<1)+18208>>1];F[a|0]=d;F[a+1|0]=d>>>8;a=a+2|0;b=J[(b-N(c,100)<<1)+18208>>1];F[a|0]=b;F[a+1|0]=b>>>8;return a+2|0}function wl(a,b){a=a|0;b=b|0;var c=0;b=H[b+88>>2];if(!(!b|H[b>>2]!=2)){c=a;a=H[b+8>>2];H[c+4>>2]=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=1}return c|0}function Qj(a){a=a|0;var b=0;a:{b=H[a+64>>2];if(!b){break a}b=fa[H[H[b>>2]+32>>2]](b)|0;if(!b){break a}H[a+60>>2]=((H[b+4>>2]-H[b>>2]>>2>>>0)/3|0)-H[b+40>>2]}}function oj(a){a=a|0;var b=0;H[a>>2]=11872;b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}H[a>>2]=11688;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}return a|0}function Hj(a){a=a|0;var b=0;H[a>>2]=10904;b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}H[a>>2]=11156;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}return a|0}function Cf(a,b){var c=0;a:{c=a+4|0;a=pb(a,b);if((c|0)==(a|0)){break a}a=Bc(F[a+39|0]<0?H[a+28>>2]:a+28|0);if((a|0)==-1){break a}return(a|0)!=0}return 0}function jj(a){a=a|0;var b=0;H[a>>2]=11872;b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}H[a>>2]=11688;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}qa(a)}function fc(a,b,c){var d=0;d=a+4|0;a=pb(a,b);a:{if((d|0)==(a|0)){break a}a=Bc(F[a+39|0]<0?H[a+28>>2]:a+28|0);if((a|0)==-1){break a}c=(a|0)!=0}return c}function Aj(a){a=a|0;var b=0;H[a>>2]=10904;b=H[a+48>>2];if(b){H[a+52>>2]=b;qa(b)}H[a>>2]=11156;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}qa(a)}function Jh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(qb(a,H[b+8>>2],f)){we(b,c,d,e);return}a=H[a+8>>2];fa[H[H[a>>2]+20>>2]](a,b,c,d,e,f)}function gh(a){a=a|0;var b=0;a:{if(!H[a- -64>>2]|!H[a+68>>2]|(!H[a+44>>2]|!H[a+48>>2])){break a}if(!H[a+52>>2]){break a}b=H[a+56>>2]!=0}return b|0}function Yg(a){a=a|0;var b=0;a:{if(!H[a+48>>2]|!H[a+52>>2]|(!H[a+28>>2]|!H[a+32>>2])){break a}if(!H[a+36>>2]){break a}b=H[a+40>>2]!=0}return b|0}function Mi(){var a=0;a=ra(108);Ze(a);H[a+84>>2]=0;H[a+88>>2]=0;H[a>>2]=14908;H[a+92>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0;H[a+104>>2]=0;return a|0}function kc(a,b){var c=0;c=-1;a:{if((b|0)==-1|(b|0)>4){break a}b=N(b,12)+a|0;a=H[b+20>>2];if((H[b+24>>2]-a|0)<=0){break a}c=H[a>>2]}return c}function Ye(a){var b=0,c=0;b=H[a+20>>2];a:{if((H[a+24>>2]-b|0)<=0){break a}b=H[b>>2];if((b|0)==-1){break a}c=H[H[a+8>>2]+(b<<2)>>2]}return c}function Ve(a,b){H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=2216;H[a+12>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;jc(a,b)}function $h(a){a=a|0;var b=0;H[a>>2]=14908;b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+84>>2];if(b){H[a+88>>2]=b;qa(b)}Ec(a);return a|0}function Sh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=H[b>>2]+7&-8;H[c>>2]=b+16;d=a,e=Ee(H[b>>2],H[b+4>>2],H[b+8>>2],H[b+12>>2]),M[d>>3]=e}function Ca(a){var b=0;b=da-16|0;da=b;H[b+8>>2]=0;H[b+12>>2]=0;ae(a,b+8|0);H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=H[a+12>>2];da=b+16|0}function _h(a){a=a|0;var b=0;H[a>>2]=14908;b=H[a+96>>2];if(b){H[a+100>>2]=b;qa(b)}b=H[a+84>>2];if(b){H[a+88>>2]=b;qa(b)}Ec(a);qa(a)}function vl(a){a=a|0;var b=0;H[a>>2]=2420;b=H[a+32>>2];H[a+32>>2]=0;if(b){Pa(b)}b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}return a|0}function lb(a,b){if(b){lb(a,H[b>>2]);lb(a,H[b+4>>2]);a=H[b+28>>2];if(a){H[b+32>>2]=a;qa(a)}if(F[b+27|0]<0){qa(H[b+16>>2])}qa(b)}}function Yk(a){a=a|0;var b=0;H[a>>2]=3788;b=H[a+76>>2];if(b){qa(b)}H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}return a|0}function Ok(a){a=a|0;var b=0;H[a>>2]=5340;b=H[a+76>>2];if(b){qa(b)}H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}return a|0}function Rh(a){a=a|0;var b=0;H[a>>2]=2216;b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}b=H[a+4>>2];if(b){H[a+8>>2]=b;qa(b)}return a|0}function Mh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(qb(a,H[b+8>>2],0)){xe(b,c,d);return}a=H[a+8>>2];fa[H[H[a>>2]+28>>2]](a,b,c,d)}function Ji(){var a=0,b=0;a=ra(24);H[a+4>>2]=0;H[a+8>>2]=0;b=a+16|0;H[b>>2]=0;H[b+4>>2]=0;H[a>>2]=a+4;H[a+12>>2]=b;return a|0}function ul(a){a=a|0;var b=0;H[a>>2]=2420;b=H[a+32>>2];H[a+32>>2]=0;if(b){Pa(b)}b=H[a+16>>2];if(b){H[a+20>>2]=b;qa(b)}qa(a)}function Xk(a){a=a|0;var b=0;H[a>>2]=3788;b=H[a+76>>2];if(b){qa(b)}H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}qa(a)}function Nk(a){a=a|0;var b=0;H[a>>2]=5340;b=H[a+76>>2];if(b){qa(b)}H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}qa(a)}function ra(a){var b=0;a=a?a:1;a:{while(1){b=Ce(a);if(b){break a}b=H[4906];if(b){fa[b|0]();continue}break}_();X()}return b}function Ka(a,b){if(b){Ka(a,H[b>>2]);Ka(a,H[b+4>>2]);if(F[b+39|0]<0){qa(H[b+28>>2])}if(F[b+27|0]<0){qa(H[b+16>>2])}qa(b)}}function Rc(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 1:b=1;case 0:H[a+28>>2]=b;c=1;break;default:break a}}return c|0}function $c(a){a=a|0;var b=0,c=0;H[a>>2]=18736;b=H[a+4>>2]-12|0;c=H[b+8>>2]-1|0;H[b+8>>2]=c;if((c|0)<0){qa(b)}return a|0}function Vg(a,b,c,d,e){var f=0;f=b-1|0;if(f>>>0<=29){H[a+4>>2]=b;db(a+8|0,c,(d<<2)+c|0);L[a+20>>2]=e}return f>>>0<30}function yh(a,b,c){a=a|0;b=b|0;c=c|0;H[a+4>>2]=b;b=H[H[H[b+4>>2]+8>>2]+(c<<2)>>2];H[a+12>>2]=c;H[a+8>>2]=b;return 1}function Uk(a){a=a|0;var b=0;H[a>>2]=4024;Aa(a+112|0);H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}return a|0}function Re(a,b,c,d,e,f,g,h,i){H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=d;H[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function Lk(a){a=a|0;var b=0;H[a>>2]=5564;Aa(a+112|0);H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}return a|0}function Fg(a,b){H[a>>2]=10284;$d(a+4|0);H[a+40>>2]=0;H[a+44>>2]=0;H[a+52>>2]=0;H[a+48>>2]=b;H[a>>2]=10380;return a}function Eg(a,b){H[a>>2]=10284;$d(a+4|0);H[a+40>>2]=0;H[a+44>>2]=0;H[a+52>>2]=b;H[a+48>>2]=b;H[a>>2]=10380;return a}function kh(a){a=a|0;var b=0;if(!(!H[a+60>>2]|!H[a+44>>2]|(!H[a+48>>2]|!H[a+52>>2]))){b=H[a+56>>2]!=0}return b|0}function Ae(a,b){if(b>>>0<=9){F[a|0]=b+48;return a+1|0}b=J[(b<<1)+18208>>1];F[a|0]=b;F[a+1|0]=b>>>8;return a+2|0}function $g(a){a=a|0;var b=0;if(!(!H[a+44>>2]|!H[a+28>>2]|(!H[a+32>>2]|!H[a+36>>2]))){b=H[a+40>>2]!=0}return b|0}function pi(a){a=a|0;if(a){H[a>>2]=10360;Ka(a+28|0,H[a+32>>2]);rc(a+16|0,H[a+20>>2]);Ka(a+4|0,H[a+8>>2]);qa(a)}}function Tk(a){a=a|0;var b=0;H[a>>2]=4024;Aa(a+112|0);H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}qa(a)}function Jk(a){a=a|0;var b=0;H[a>>2]=5564;Aa(a+112|0);H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}qa(a)}function Gb(a,b){var c=0,d=0;if(!(!a|!b|(a|0)==(b|0))){c=+(b>>>0)/+(a>>>0);d=1-c;c=-(c*za(c)+d*za(d))}return c}function _j(a){a=a|0;H[a>>2]=10360;Ka(a+28|0,H[a+32>>2]);rc(a+16|0,H[a+20>>2]);Ka(a+4|0,H[a+8>>2]);return a|0}function Df(a,b){var c=0;c=a+4|0;a=pb(a,b);if((c|0)==(a|0)){return-1}return Bc(F[a+39|0]<0?H[a+28>>2]:a+28|0)}function $j(a){a=a|0;H[a>>2]=10284;Ka(a+28|0,H[a+32>>2]);ob(a+16|0,H[a+20>>2]);Ka(a+4|0,H[a+8>>2]);return a|0}function Gc(a,b){var c=0,d=0;eb(a,b);b=H[a+28>>2];c=b;d=b+1|0;b=H[a+24>>2]+1|0;H[a+24>>2]=b;H[a+28>>2]=b?c:d}function Db(a,b,c){var d=0;d=a+4|0;a=pb(a,b);if((d|0)!=(a|0)){c=Bc(F[a+39|0]<0?H[a+28>>2]:a+28|0)}return c}function yi(){var a=0;a=ra(48);H[a>>2]=10360;$d(a+4|0);H[a+40>>2]=0;H[a+44>>2]=0;H[a>>2]=10144;return a|0}function Kg(a){a=a|0;H[a>>2]=10360;Ka(a+28|0,H[a+32>>2]);rc(a+16|0,H[a+20>>2]);Ka(a+4|0,H[a+8>>2]);qa(a)}function Jg(a){a=a|0;H[a>>2]=10284;Ka(a+28|0,H[a+32>>2]);ob(a+16|0,H[a+20>>2]);Ka(a+4|0,H[a+8>>2]);qa(a)}function zj(a){a=a|0;var b=0;H[a>>2]=11156;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}return a|0}function qj(a){a=a|0;var b=0;H[a>>2]=11688;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}return a|0}function kd(a,b){fa[H[H[a>>2]+8>>2]](a,H[a+12>>2]-H[a+8>>2]>>2,b);return(H[a+12>>2]-H[a+8>>2]>>2)-1|0}function Xc(a){a=a|0;var b=0;if(!(!H[a+52>>2]|(!H[a+44>>2]|!H[a+48>>2]))){b=H[a+56>>2]!=0}return b|0}function Pc(a){a=a|0;var b=0;if(!(!H[a+36>>2]|(!H[a+28>>2]|!H[a+32>>2]))){b=H[a+40>>2]!=0}return b|0}function yj(a){a=a|0;var b=0;H[a>>2]=11156;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}qa(a)}function pj(a){a=a|0;var b=0;H[a>>2]=11688;b=H[a+36>>2];if(b){qa(b)}b=H[a+24>>2];if(b){qa(b)}qa(a)}function fh(a,b){a=a|0;b=b|0;var c=0;if(!(H[b+56>>2]|I[b+24|0]!=3)){H[a- -64>>2]=b;c=1}return c|0}function jh(a,b){a=a|0;b=b|0;var c=0;if(!(H[b+56>>2]|I[b+24|0]!=3)){H[a+60>>2]=b;c=1}return c|0}function _g(a,b){a=a|0;b=b|0;var c=0;if(!(H[b+56>>2]|I[b+24|0]!=3)){H[a+44>>2]=b;c=1}return c|0}function Xg(a,b){a=a|0;b=b|0;var c=0;if(!(H[b+56>>2]|I[b+24|0]!=3)){H[a+48>>2]=b;c=1}return c|0}function Ih(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(qb(a,H[b+8>>2],f)){we(b,c,d,e)}}function Be(a){var b=0;b=a;a=0;while(1){if((a|0)!=3){H[(a<<2)+b>>2]=0;a=a+1|0;continue}break}}function fi(a){a=a|0;var b=0;if(a){b=H[a>>2];H[a>>2]=0;if(b){fa[H[H[b>>2]+4>>2]](b)}qa(a)}}function cl(a){a=a|0;var b=0;H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}return a|0}function Yj(a){a=a|0;var b=0;H[a>>2]=1140;b=H[a+8>>2];if(b){H[a+12>>2]=b;qa(b)}return a|0}function vb(a){var b=0;H[a+12>>2]=0;H[a+16>>2]=0;b=a;a=H[a>>2];H[b+4>>2]=a;if(a){qa(a)}}function aj(a){a=a|0;var b=0;b=a;a=H[a+56>>2];H[b+60>>2]=(H[a+100>>2]-H[a+96>>2]|0)/12}function vf(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 kf(b,c,d,e,f,1)|0}function uf(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 kf(b,c,d,e,f,2)|0}function tf(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 jf(b,c,d,e,f,3)|0}function td(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 nd(b,c,d,e,f,9)|0}function sf(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 jf(b,c,d,e,f,4)|0}function sd(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 nd(b,c,d,e,f,5)|0}function qf(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 nd(b,c,d,e,f,6)|0}function ce(a){a=a|0;var b=0;H[a>>2]=3484;b=H[a+32>>2];if(b){H[a+36>>2]=b;qa(b)}qa(a)}function Xj(a){a=a|0;var b=0;H[a>>2]=1140;b=H[a+8>>2];if(b){H[a+12>>2]=b;qa(b)}qa(a)}function li(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=O(f);Mg(H[a>>2],b,c,d,e,f)}function rc(a,b){if(b){rc(a,H[b>>2]);rc(a,H[b+4>>2]);Ka(b+20|0,H[b+24>>2]);qa(b)}}function ob(a,b){if(b){ob(a,H[b>>2]);ob(a,H[b+4>>2]);Ka(b+20|0,H[b+24>>2]);qa(b)}}function Sj(a,b){a=a|0;b=b|0;var c=0;c=a;a=H[b+64>>2];fa[H[H[a>>2]+28>>2]](c,a)}function xk(a){a=a|0;var b=0;H[a>>2]=7292;b=H[a+60>>2];if(b){qa(b)}return a|0}function vi(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=O(f);Mg(a,b,c,d,e,f)}function lk(a){a=a|0;var b=0;H[a>>2]=8928;b=H[a+60>>2];if(b){qa(b)}return a|0}function Nh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(qb(a,H[b+8>>2],0)){xe(b,c,d)}}function Al(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function Uj(a,b){a=a|0;b=b|0;a=H[a+64>>2];return fa[H[H[a>>2]+20>>2]](a,b)|0}function Tj(a,b){a=a|0;b=b|0;a=H[a+64>>2];return fa[H[H[a>>2]+24>>2]](a,b)|0}function Tf(a,b){a=a|0;b=b|0;return H[H[a+28>>2]+(b>>>3&536870908)>>2]>>>b&1}function Mj(a,b){a=a|0;b=b|0;a=H[a+64>>2];return fa[H[H[a>>2]+12>>2]](a,b)|0}function Lj(a,b){a=a|0;b=b|0;a=H[a+64>>2];return fa[H[H[a>>2]+16>>2]](a,b)|0}function Wi(a,b){a=a|0;b=b|0;H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0}function Hi(){var a=0;a=ra(12);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;return a|0}function Ei(a){a=a|0;var b=0;if(a){b=H[a>>2];if(b){H[a+4>>2]=b;qa(b)}qa(a)}}function Bl(a){var b=0;b=a&31;a=0-a&31;return(-1>>>b&-2)<<b|(-1<<a&-2)>>>a}function wh(a,b,c){a=a|0;b=b|0;c=c|0;return fa[H[H[a>>2]+44>>2]](a,b,c)|0}function wk(a){a=a|0;var b=0;H[a>>2]=7292;b=H[a+60>>2];if(b){qa(b)}qa(a)}function kk(a){a=a|0;var b=0;H[a>>2]=8928;b=H[a+60>>2];if(b){qa(b)}qa(a)}function Uh(a,b,c){a=a|0;b=b|0;c=c|0;H[a+32>>2]=c;H[a+28>>2]=b;return 1}function Ii(a){a=a|0;if(a){mb(a+12|0,H[a+16>>2]);lb(a,H[a+4>>2]);qa(a)}}function $i(a,b){a=a|0;b=b|0;F[b+84|0]=1;H[b+72>>2]=H[b+68>>2];return 1}function Nj(a){a=a|0;a=H[a+64>>2];return fa[H[H[a>>2]+32>>2]](a)|0}function xh(a,b){a=a|0;b=b|0;H[a+12>>2]=-1;H[a+8>>2]=b;return 1}function Mf(a){mc(a);H[a+56>>2]=0;H[a+60>>2]=0;H[a>>2]=12180}function Li(a){a=a|0;return(H[a+100>>2]-H[a+96>>2]|0)/12|0}function tk(a){a=a|0;H[a>>2]=7552;Aa(a+96|0);return a|0}function ik(a){a=a|0;H[a>>2]=9176;Aa(a+96|0);return a|0}function mi(a,b,c){a=a|0;b=b|0;c=c|0;Ng(H[a>>2],b,c)}function ki(a,b,c){a=a|0;b=b|0;c=c|0;Og(H[a>>2],b,c)}function Ze(a){H[a>>2]=14980;ta(a+4|0,0,80);return a}function Cl(a){if(a){return 31-Q(a-1^a)|0}return 32}
function zf(a){a=a|0;return H[a+12>>2]-H[a+8>>2]>>2}function bj(a){a=a|0;H[a+52>>2]=H[H[a+56>>2]+80>>2]}function yf(a){a=a|0;if(a){fa[H[H[a>>2]+4>>2]](a)}}function sk(a){a=a|0;H[a>>2]=7552;Aa(a+96|0);qa(a)}function hk(a){a=a|0;H[a>>2]=9176;Aa(a+96|0);qa(a)}function dk(a,b){a=a|0;b=b|0;return Qg(a+40|0,b)|0}function Gi(a,b){a=a|0;b=b|0;return F[H[a>>2]+b|0]}function Fk(a,b){a=a|0;b=b|0;return ve(a+40|0,b)|0}function Ff(a){a=a|0;H[a+52>>2]=H[H[a+4>>2]+80>>2]}function Fi(a){a=a|0;return H[a+4>>2]-H[a>>2]|0}function wi(a,b,c){a=a|0;b=b|0;c=c|0;Ng(a,b,c)}function ui(a,b,c){a=a|0;b=b|0;c=c|0;Og(a,b,c)}function Wj(a,b){a=a|0;b=b|0;return F[b+24|0]}function Eh(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function hi(a){a=a|0;return H[H[a>>2]+40>>2]}function gi(a){a=a|0;return H[H[a>>2]+44>>2]}function ni(a,b){a=a|0;b=b|0;Lg(H[a>>2],b)}function ji(a,b){a=a|0;b=b|0;ff(H[a>>2],b)}function Ki(a,b){a=a|0;b=b|0;H[a+80>>2]=b}function vd(a){a=a|0;return H[a+80>>2]}function uc(a){a=a|0;return H[a+28>>2]}function sh(){H[4776]=18992;H[4758]=42}function qi(a){a=a|0;return H[a+44>>2]}function Uf(a){a=a|0;return H[a+12>>2]}function Si(a){a=a|0;return H[a+56>>2]}function Pi(a){a=a|0;return H[a+48>>2]}function Oi(a){a=a|0;return H[a+60>>2]}function Af(a){a=a|0;return H[a+40>>2]}function zc(a,b){a=a|0;b=b|0;return 1}function vc(a){a=a|0;return H[a+4>>2]}function qh(a,b){a=a|0;b=b|0;return 6}function nh(a,b){a=a|0;b=b|0;return-1}function bl(a,b){a=a|0;b=b|0;return 2}function Ri(a){a=a|0;return F[a+24|0]}function Qi(a){a=a|0;return I[a+32|0]}function $a(a,b){a=a|0;b=b|0;return 0}function xi(a,b){a=a|0;b=b|0;Lg(a,b)}function ti(a,b){a=a|0;b=b|0;ff(a,b)}function Cb(a,b,c){if(c){sa(a,b,c)}}function Oc(a,b,c,d){Bg(a,b,c,d,1)}function Fb(a,b,c,d){Bg(a,b,c,d,0)}function lc(a){a=a|0;if(a){qa(a)}}function Ui(){return Mc(ra(64))|0}function Ti(){return Lc(ra(96))|0}function Ni(){return Ze(ra(84))|0}function Hh(a){a=a|0;return 1476}function Fh(a){a=a|0;$c(a);qa(a)}function wb(a){a=a|0;return a|0}function zh(a){a=a|0;qa(ie(a))}function ll(a){a=a|0;qa(rh(a))}function _k(a){a=a|0;qa(mh(a))}function Vh(a){a=a|0;qa(Ec(a))}function Qk(a){a=a|0;qa(dh(a))}function Gh(a){a=a|0;qa($c(a))}function Cj(a){a=a|0;qa(Rf(a))}function Bj(a){a=a|0;qa(Qf(a))}function jb(a){a=a|0;return 0}function fe(a){a=a|0;return 2}function bh(a){a=a|0;return 3}function Wc(a){a=a|0;return 4}function Uc(a){a=a|0;return 5}function Tc(a){a=a|0;return 6}function Oa(a){a=a|0;return 1}function ud(){return ra(1)|0}function kb(a){a=a|0;qa(a)}function hb(){ya(1584);X()}function La(){ya(1425);X()}function Na(a,b){eb(a,b)}function Bb(a){a=a|0;X()}function va(){La();X()}function ua(){gd();X()}function qd(){return 0}function pd(){return 1}function mf(){return-1}function ei(){return 2}function di(){return 3}function ci(){return 4}function gd(){_();X()}function Se(a){a=a|0}
// EMSCRIPTEN_END_FUNCS
e=I;p(oa);var fa=c([null,wb,kb,fe,wl,pk,ng,ai,ve,Ah,Nc,qh,bl,$c,Yj,Xj,Oa,Vk,Kk,be,vk,Qg,Zj,qh,Wj,Rh,Bb,Uh,He,gd,Oh,$a,Eh,$a,$a,Oa,zc,ie,zh,fe,Dh,Bh,Ch,vl,ul,yh,xh,zc,wh,zc,jb,jb,uh,th,vh,rh,ll,tl,sl,jb,rl,kl,jl,il,hl,ql,pl,ol,nl,ml,ph,oh,de,gl,Oa,el,fl,dl,cl,ce,Oa,vc,Xc,jb,nh,$a,jb,Oa,al,$k,Bb,Bb,mh,_k,Wc,Xc,lh,Zk,Yk,Xk,Uc,kh,Oa,$a,jh,ih,Wk,Uk,Tk,Tc,gh,Oa,$a,fh,eh,Sk,wb,kb,Rc,uc,Sc,Bb,ce,Oa,Xc,Rk,Bb,dh,Qk,Wc,Xc,lh,Pk,Ok,Nk,Uc,kh,Oa,$a,jh,ih,Mk,Lk,Jk,Tc,gh,Oa,$a,fh,eh,Ik,wb,kb,Rc,uc,Qc,Bb,ce,jb,Oa,Hk,ph,oh,Gk,Fk,Oa,bh,Dk,Ek,wb,kb,Oa,vc,Pc,jb,nh,$a,Oa,bh,Ck,Bk,Ak,zk,Wc,Pc,ah,yk,xk,wk,Uc,$g,Oa,$a,_g,Zg,uk,tk,sk,Tc,Yg,Oa,$a,Xg,Wg,rk,wb,kb,Rc,uc,Sc,kb,Oa,Pc,qk,ok,nk,Wc,Pc,ah,mk,lk,kk,Uc,$g,Oa,$a,_g,Zg,jk,ik,hk,Tc,Yg,Oa,$a,Xg,Wg,gk,wb,kb,Rc,uc,Qc,kb,jb,Oa,fk,bk,ak,ek,dk,Oa,fe,ck,_j,Kg,Sg,Pg,$j,Jg,Kg,Jg,Pj,Oj,Oa,Oa,Vj,Oa,ej,Zi,Yi,Uj,Tj,Xi,Rj,Nj,Mj,Lj,Sj,Qj,Rf,Cj,Kj,gg,fg,Jj,cg,Gj,Uf,Tf,vc,Qf,Bj,Fj,gg,fg,Ej,cg,Dj,Uf,Tf,vc,Hj,Aj,Ij,zj,yj,vj,uj,tj,sj,wj,rj,xj,qj,pj,nj,mj,lj,kj,oj,jj,ij,hj,gj,fj,dj,Bb,Oa,zc,jb,$a,$a,zd,jb,Lf,bj,cj,aj,wb,kb,$i,_i,Bb,jb,Wi,zd,Oa,Gf,Vi,Ff,zd,jb,Gf,Lf,Ff,$h,_h,Zh,Yh,Wh,Xh,bi,Ec,Vh,Xe,We,Te,Th,Sh,Qh,wb,kb,Se,Se,Ph,Ih,Kh,Nh,kb,Jh,Lh,Mh,wb,kb,Hh,Gh,vc,Fh]);function ga(){return E.byteLength/65536|0}function la(ma){ma=ma|0;var ha=ga()|0;var ia=ha+ma|0;if(ha<ia&&ia<65536){var ja=new ArrayBuffer(N(ia,65536));var ka=new Int8Array(ja);ka.set(F);F=new Int8Array(ja);G=new Int16Array(ja);H=new Int32Array(ja);I=new Uint8Array(ja);J=new Uint16Array(ja);K=new Uint32Array(ja);L=new Float32Array(ja);M=new Float64Array(ja);E=ja;D.buffer=E;e=I}return ha}return{"g":sh,"h":fa,"i":lc,"j":Ui,"k":lc,"l":Ti,"m":vd,"n":Si,"o":uc,"p":Ri,"q":Qi,"r":Af,"s":Pi,"t":Oi,"u":Pa,"v":Ni,"w":zf,"x":vd,"y":yf,"z":Mi,"A":Li,"B":zf,"C":vd,"D":Ki,"E":yf,"F":Ji,"G":Ii,"H":Hi,"I":Gi,"J":Fi,"K":Ei,"L":ud,"M":Di,"N":Ci,"O":Bi,"P":Ai,"Q":lc,"R":ud,"S":td,"T":vf,"U":uf,"V":tf,"W":sf,"X":sd,"Y":qf,"Z":rd,"_":pf,"$":lc,"aa":ud,"ba":zi,"ca":td,"da":sd,"ea":rd,"fa":td,"ga":vf,"ha":uf,"ia":tf,"ja":sf,"ka":sd,"la":qf,"ma":rd,"na":pf,"oa":lc,"pa":yi,"qa":xi,"ra":wi,"sa":vi,"ta":ui,"ua":ti,"va":si,"wa":ri,"xa":Af,"ya":qi,"za":pi,"Aa":oi,"Ba":ni,"Ca":mi,"Da":li,"Ea":ki,"Fa":ji,"Ga":ii,"Ha":hi,"Ia":gi,"Ja":fi,"Ka":mf,"La":qd,"Ma":pd,"Na":ei,"Oa":di,"Pa":ci,"Qa":mf,"Ra":qd,"Sa":pd,"Ta":qd,"Ua":pd,"Va":Ce,"Wa":qa}}return na(pa)}
// EMSCRIPTEN_END_ASM
)(asmLibraryArg)},instantiate:function(binary,info){return{then:function(ok){var module=new WebAssembly.Module(binary);ok({"instance":new WebAssembly.Instance(module)})}}},RuntimeError:Error};wasmBinary=[];if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort(text)}}function stringToUTF8Array(str,heap,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){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}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 len+=4}return len}function alignUp(x,multiple){if(x%multiple>0){x+=multiple-x%multiple}return x}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":2147483648/65536})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeKeepaliveCounter=0;function keepRuntimeAlive(){return noExitRuntime||runtimeKeepaliveCounter>0}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 initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}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["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}function isFileURI(filename){return filename.startsWith("file://")}var wasmBinaryFile;wasmBinaryFile="draco_encoder.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}var binary=tryParseAsDataURI(file);if(binary){return binary}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}else{if(readAsync){return new Promise(function(resolve,reject){readAsync(wasmBinaryFile,function(response){resolve(new Uint8Array(response))},reject)})}}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmTable=Module["asm"]["h"];addOnInit(Module["asm"]["g"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync().catch(readyPromiseReject);return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){getWasmTableEntry(func)()}else{getWasmTableEntry(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var wasmTableMirror=[];function getWasmTableEntry(funcPtr){var func=wasmTableMirror[funcPtr];if(!func){if(funcPtr>=wasmTableMirror.length)wasmTableMirror.length=funcPtr+1;wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)}return func}function ___cxa_allocate_exception(size){return _malloc(size+16)+16}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-16;this.set_type=function(type){HEAP32[this.ptr+4>>2]=type};this.get_type=function(){return HEAP32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1}}var exceptionLast=0;var uncaughtExceptionCount=0;function ___cxa_throw(ptr,type,destructor){var info=new ExceptionInfo(ptr);info.init(type,destructor);exceptionLast=ptr;uncaughtExceptionCount++;throw ptr}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ASSERTIONS=false;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}function intArrayToString(array){var ret=[];for(var i=0;i<array.length;i++){var chr=array[i];if(chr>255){if(ASSERTIONS){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.")}chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}var decodeBase64=typeof atob==="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i<input.length);return output};function intArrayFromBase64(s){if(typeof ENVIRONMENT_IS_NODE==="boolean"&&ENVIRONMENT_IS_NODE){var buf=Buffer.from(s,"base64");return new Uint8Array(buf["buffer"],buf["byteOffset"],buf["byteLength"])}try{var decoded=decodeBase64(s);var bytes=new Uint8Array(decoded.length);for(var i=0;i<decoded.length;++i){bytes[i]=decoded.charCodeAt(i)}return bytes}catch(_){throw new Error("Converting base64 string to bytes failed.")}}function tryParseAsDataURI(filename){if(!isDataURI(filename)){return}return intArrayFromBase64(filename.slice(dataURIPrefix.length))}var asmLibraryArg={"f":___cxa_allocate_exception,"e":___cxa_throw,"b":_abort,"d":_emscripten_memcpy_big,"c":_emscripten_resize_heap,"a":wasmMemory};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["g"]).apply(null,arguments)};var _emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=function(){return(_emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=Module["asm"]["i"]).apply(null,arguments)};var _emscripten_bind_GeometryAttribute_GeometryAttribute_0=Module["_emscripten_bind_GeometryAttribute_GeometryAttribute_0"]=function(){return(_emscripten_bind_GeometryAttribute_GeometryAttribute_0=Module["_emscripten_bind_GeometryAttribute_GeometryAttribute_0"]=Module["asm"]["j"]).apply(null,arguments)};var _emscripten_bind_GeometryAttribute___destroy___0=Module["_emscripten_bind_GeometryAttribute___destroy___0"]=function(){return(_emscripten_bind_GeometryAttribute___destroy___0=Module["_emscripten_bind_GeometryAttribute___destroy___0"]=Module["asm"]["k"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_PointAttribute_0=Module["_emscripten_bind_PointAttribute_PointAttribute_0"]=function(){return(_emscripten_bind_PointAttribute_PointAttribute_0=Module["_emscripten_bind_PointAttribute_PointAttribute_0"]=Module["asm"]["l"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_size_0=Module["_emscripten_bind_PointAttribute_size_0"]=function(){return(_emscripten_bind_PointAttribute_size_0=Module["_emscripten_bind_PointAttribute_size_0"]=Module["asm"]["m"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_attribute_type_0=Module["_emscripten_bind_PointAttribute_attribute_type_0"]=function(){return(_emscripten_bind_PointAttribute_attribute_type_0=Module["_emscripten_bind_PointAttribute_attribute_type_0"]=Module["asm"]["n"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_data_type_0=Module["_emscripten_bind_PointAttribute_data_type_0"]=function(){return(_emscripten_bind_PointAttribute_data_type_0=Module["_emscripten_bind_PointAttribute_data_type_0"]=Module["asm"]["o"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_num_components_0=Module["_emscripten_bind_PointAttribute_num_components_0"]=function(){return(_emscripten_bind_PointAttribute_num_components_0=Module["_emscripten_bind_PointAttribute_num_components_0"]=Module["asm"]["p"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_normalized_0=Module["_emscripten_bind_PointAttribute_normalized_0"]=function(){return(_emscripten_bind_PointAttribute_normalized_0=Module["_emscripten_bind_PointAttribute_normalized_0"]=Module["asm"]["q"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_byte_stride_0=Module["_emscripten_bind_PointAttribute_byte_stride_0"]=function(){return(_emscripten_bind_PointAttribute_byte_stride_0=Module["_emscripten_bind_PointAttribute_byte_stride_0"]=Module["asm"]["r"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_byte_offset_0=Module["_emscripten_bind_PointAttribute_byte_offset_0"]=function(){return(_emscripten_bind_PointAttribute_byte_offset_0=Module["_emscripten_bind_PointAttribute_byte_offset_0"]=Module["asm"]["s"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_unique_id_0=Module["_emscripten_bind_PointAttribute_unique_id_0"]=function(){return(_emscripten_bind_PointAttribute_unique_id_0=Module["_emscripten_bind_PointAttribute_unique_id_0"]=Module["asm"]["t"]).apply(null,arguments)};var _emscripten_bind_PointAttribute___destroy___0=Module["_emscripten_bind_PointAttribute___destroy___0"]=function(){return(_emscripten_bind_PointAttribute___destroy___0=Module["_emscripten_bind_PointAttribute___destroy___0"]=Module["asm"]["u"]).apply(null,arguments)};var _emscripten_bind_PointCloud_PointCloud_0=Module["_emscripten_bind_PointCloud_PointCloud_0"]=function(){return(_emscripten_bind_PointCloud_PointCloud_0=Module["_emscripten_bind_PointCloud_PointCloud_0"]=Module["asm"]["v"]).apply(null,arguments)};var _emscripten_bind_PointCloud_num_attributes_0=Module["_emscripten_bind_PointCloud_num_attributes_0"]=function(){return(_emscripten_bind_PointCloud_num_attributes_0=Module["_emscripten_bind_PointCloud_num_attributes_0"]=Module["asm"]["w"]).apply(null,arguments)};var _emscripten_bind_PointCloud_num_points_0=Module["_emscripten_bind_PointCloud_num_points_0"]=function(){return(_emscripten_bind_PointCloud_num_points_0=Module["_emscripten_bind_PointCloud_num_points_0"]=Module["asm"]["x"]).apply(null,arguments)};var _emscripten_bind_PointCloud___destroy___0=Module["_emscripten_bind_PointCloud___destroy___0"]=function(){return(_emscripten_bind_PointCloud___destroy___0=Module["_emscripten_bind_PointCloud___destroy___0"]=Module["asm"]["y"]).apply(null,arguments)};var _emscripten_bind_Mesh_Mesh_0=Module["_emscripten_bind_Mesh_Mesh_0"]=function(){return(_emscripten_bind_Mesh_Mesh_0=Module["_emscripten_bind_Mesh_Mesh_0"]=Module["asm"]["z"]).apply(null,arguments)};var _emscripten_bind_Mesh_num_faces_0=Module["_emscripten_bind_Mesh_num_faces_0"]=function(){return(_emscripten_bind_Mesh_num_faces_0=Module["_emscripten_bind_Mesh_num_faces_0"]=Module["asm"]["A"]).apply(null,arguments)};var _emscripten_bind_Mesh_num_attributes_0=Module["_emscripten_bind_Mesh_num_attributes_0"]=function(){return(_emscripten_bind_Mesh_num_attributes_0=Module["_emscripten_bind_Mesh_num_attributes_0"]=Module["asm"]["B"]).apply(null,arguments)};var _emscripten_bind_Mesh_num_points_0=Module["_emscripten_bind_Mesh_num_points_0"]=function(){return(_emscripten_bind_Mesh_num_points_0=Module["_emscripten_bind_Mesh_num_points_0"]=Module["asm"]["C"]).apply(null,arguments)};var _emscripten_bind_Mesh_set_num_points_1=Module["_emscripten_bind_Mesh_set_num_points_1"]=function(){return(_emscripten_bind_Mesh_set_num_points_1=Module["_emscripten_bind_Mesh_set_num_points_1"]=Module["asm"]["D"]).apply(null,arguments)};var _emscripten_bind_Mesh___destroy___0=Module["_emscripten_bind_Mesh___destroy___0"]=function(){return(_emscripten_bind_Mesh___destroy___0=Module["_emscripten_bind_Mesh___destroy___0"]=Module["asm"]["E"]).apply(null,arguments)};var _emscripten_bind_Metadata_Metadata_0=Module["_emscripten_bind_Metadata_Metadata_0"]=function(){return(_emscripten_bind_Metadata_Metadata_0=Module["_emscripten_bind_Metadata_Metadata_0"]=Module["asm"]["F"]).apply(null,arguments)};var _emscripten_bind_Metadata___destroy___0=Module["_emscripten_bind_Metadata___destroy___0"]=function(){return(_emscripten_bind_Metadata___destroy___0=Module["_emscripten_bind_Metadata___destroy___0"]=Module["asm"]["G"]).apply(null,arguments)};var _emscripten_bind_DracoInt8Array_DracoInt8Array_0=Module["_emscripten_bind_DracoInt8Array_DracoInt8Array_0"]=function(){return(_emscripten_bind_DracoInt8Array_DracoInt8Array_0=Module["_emscripten_bind_DracoInt8Array_DracoInt8Array_0"]=Module["asm"]["H"]).apply(null,arguments)};var _emscripten_bind_DracoInt8Array_GetValue_1=Module["_emscripten_bind_DracoInt8Array_GetValue_1"]=function(){return(_emscripten_bind_DracoInt8Array_GetValue_1=Module["_emscripten_bind_DracoInt8Array_GetValue_1"]=Module["asm"]["I"]).apply(null,arguments)};var _emscripten_bind_DracoInt8Array_size_0=Module["_emscripten_bind_DracoInt8Array_size_0"]=function(){return(_emscripten_bind_DracoInt8Array_size_0=Module["_emscripten_bind_DracoInt8Array_size_0"]=Module["asm"]["J"]).apply(null,arguments)};var _emscripten_bind_DracoInt8Array___destroy___0=Module["_emscripten_bind_DracoInt8Array___destroy___0"]=function(){return(_emscripten_bind_DracoInt8Array___destroy___0=Module["_emscripten_bind_DracoInt8Array___destroy___0"]=Module["asm"]["K"]).apply(null,arguments)};var _emscripten_bind_MetadataBuilder_MetadataBuilder_0=Module["_emscripten_bind_MetadataBuilder_MetadataBuilder_0"]=function(){return(_emscripten_bind_MetadataBuilder_MetadataBuilder_0=Module["_emscripten_bind_MetadataBuilder_MetadataBuilder_0"]=Module["asm"]["L"]).apply(null,arguments)};var _emscripten_bind_MetadataBuilder_AddStringEntry_3=Module["_emscripten_bind_MetadataBuilder_AddStringEntry_3"]=function(){return(_emscripten_bind_MetadataBuilder_AddStringEntry_3=Module["_emscripten_bind_MetadataBuilder_AddStringEntry_3"]=Module["asm"]["M"]).apply(null,arguments)};var _emscripten_bind_MetadataBuilder_AddIntEntry_3=Module["_emscripten_bind_MetadataBuilder_AddIntEntry_3"]=function(){return(_emscripten_bind_MetadataBuilder_AddIntEntry_3=Module["_emscripten_bind_MetadataBuilder_AddIntEntry_3"]=Module["asm"]["N"]).apply(null,arguments)};var _emscripten_bind_MetadataBuilder_AddIntEntryArray_4=Module["_emscripten_bind_MetadataBuilder_AddIntEntryArray_4"]=function(){return(_emscripten_bind_MetadataBuilder_AddIntEntryArray_4=Module["_emscripten_bind_MetadataBuilder_AddIntEntryArray_4"]=Module["asm"]["O"]).apply(null,arguments)};var _emscripten_bind_MetadataBuilder_AddDoubleEntry_3=Module["_emscripten_bind_MetadataBuilder_AddDoubleEntry_3"]=function(){return(_emscripten_bind_MetadataBuilder_AddDoubleEntry_3=Module["_emscripten_bind_MetadataBuilder_AddDoubleEntry_3"]=Module["asm"]["P"]).apply(null,arguments)};var _emscripten_bind_MetadataBuilder___destroy___0=Module["_emscripten_bind_MetadataBuilder___destroy___0"]=function(){return(_emscripten_bind_MetadataBuilder___destroy___0=Module["_emscripten_bind_MetadataBuilder___destroy___0"]=Module["asm"]["Q"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=Module["_emscripten_bind_PointCloudBuilder_PointCloudBuilder_0"]=function(){return(_emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=Module["_emscripten_bind_PointCloudBuilder_PointCloudBuilder_0"]=Module["asm"]["R"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=Module["_emscripten_bind_PointCloudBuilder_AddFloatAttribute_5"]=function(){return(_emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=Module["_emscripten_bind_PointCloudBuilder_AddFloatAttribute_5"]=Module["asm"]["S"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddInt8Attribute_5"]=function(){return(_emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddInt8Attribute_5"]=Module["asm"]["T"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5"]=function(){return(_emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5"]=Module["asm"]["U"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddInt16Attribute_5"]=function(){return(_emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddInt16Attribute_5"]=Module["asm"]["V"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5"]=function(){return(_emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5"]=Module["asm"]["W"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddInt32Attribute_5"]=function(){return(_emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddInt32Attribute_5"]=Module["asm"]["X"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5"]=function(){return(_emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=Module["_emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5"]=Module["asm"]["Y"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_AddMetadata_2=Module["_emscripten_bind_PointCloudBuilder_AddMetadata_2"]=function(){return(_emscripten_bind_PointCloudBuilder_AddMetadata_2=Module["_emscripten_bind_PointCloudBuilder_AddMetadata_2"]=Module["asm"]["Z"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=Module["_emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3"]=function(){return(_emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=Module["_emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3"]=Module["asm"]["_"]).apply(null,arguments)};var _emscripten_bind_PointCloudBuilder___destroy___0=Module["_emscripten_bind_PointCloudBuilder___destroy___0"]=function(){return(_emscripten_bind_PointCloudBuilder___destroy___0=Module["_emscripten_bind_PointCloudBuilder___destroy___0"]=Module["asm"]["$"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_MeshBuilder_0=Module["_emscripten_bind_MeshBuilder_MeshBuilder_0"]=function(){return(_emscripten_bind_MeshBuilder_MeshBuilder_0=Module["_emscripten_bind_MeshBuilder_MeshBuilder_0"]=Module["asm"]["aa"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddFacesToMesh_3=Module["_emscripten_bind_MeshBuilder_AddFacesToMesh_3"]=function(){return(_emscripten_bind_MeshBuilder_AddFacesToMesh_3=Module["_emscripten_bind_MeshBuilder_AddFacesToMesh_3"]=Module["asm"]["ba"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=Module["_emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5"]=function(){return(_emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=Module["_emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5"]=Module["asm"]["ca"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=Module["_emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5"]=function(){return(_emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=Module["_emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5"]=Module["asm"]["da"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddMetadataToMesh_2=Module["_emscripten_bind_MeshBuilder_AddMetadataToMesh_2"]=function(){return(_emscripten_bind_MeshBuilder_AddMetadataToMesh_2=Module["_emscripten_bind_MeshBuilder_AddMetadataToMesh_2"]=Module["asm"]["ea"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddFloatAttribute_5=Module["_emscripten_bind_MeshBuilder_AddFloatAttribute_5"]=function(){return(_emscripten_bind_MeshBuilder_AddFloatAttribute_5=Module["_emscripten_bind_MeshBuilder_AddFloatAttribute_5"]=Module["asm"]["fa"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddInt8Attribute_5=Module["_emscripten_bind_MeshBuilder_AddInt8Attribute_5"]=function(){return(_emscripten_bind_MeshBuilder_AddInt8Attribute_5=Module["_emscripten_bind_MeshBuilder_AddInt8Attribute_5"]=Module["asm"]["ga"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddUInt8Attribute_5=Module["_emscripten_bind_MeshBuilder_AddUInt8Attribute_5"]=function(){return(_emscripten_bind_MeshBuilder_AddUInt8Attribute_5=Module["_emscripten_bind_MeshBuilder_AddUInt8Attribute_5"]=Module["asm"]["ha"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddInt16Attribute_5=Module["_emscripten_bind_MeshBuilder_AddInt16Attribute_5"]=function(){return(_emscripten_bind_MeshBuilder_AddInt16Attribute_5=Module["_emscripten_bind_MeshBuilder_AddInt16Attribute_5"]=Module["asm"]["ia"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddUInt16Attribute_5=Module["_emscripten_bind_MeshBuilder_AddUInt16Attribute_5"]=function(){return(_emscripten_bind_MeshBuilder_AddUInt16Attribute_5=Module["_emscripten_bind_MeshBuilder_AddUInt16Attribute_5"]=Module["asm"]["ja"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddInt32Attribute_5=Module["_emscripten_bind_MeshBuilder_AddInt32Attribute_5"]=function(){return(_emscripten_bind_MeshBuilder_AddInt32Attribute_5=Module["_emscripten_bind_MeshBuilder_AddInt32Attribute_5"]=Module["asm"]["ka"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddUInt32Attribute_5=Module["_emscripten_bind_MeshBuilder_AddUInt32Attribute_5"]=function(){return(_emscripten_bind_MeshBuilder_AddUInt32Attribute_5=Module["_emscripten_bind_MeshBuilder_AddUInt32Attribute_5"]=Module["asm"]["la"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_AddMetadata_2=Module["_emscripten_bind_MeshBuilder_AddMetadata_2"]=function(){return(_emscripten_bind_MeshBuilder_AddMetadata_2=Module["_emscripten_bind_MeshBuilder_AddMetadata_2"]=Module["asm"]["ma"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=Module["_emscripten_bind_MeshBuilder_SetMetadataForAttribute_3"]=function(){return(_emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=Module["_emscripten_bind_MeshBuilder_SetMetadataForAttribute_3"]=Module["asm"]["na"]).apply(null,arguments)};var _emscripten_bind_MeshBuilder___destroy___0=Module["_emscripten_bind_MeshBuilder___destroy___0"]=function(){return(_emscripten_bind_MeshBuilder___destroy___0=Module["_emscripten_bind_MeshBuilder___destroy___0"]=Module["asm"]["oa"]).apply(null,arguments)};var _emscripten_bind_Encoder_Encoder_0=Module["_emscripten_bind_Encoder_Encoder_0"]=function(){return(_emscripten_bind_Encoder_Encoder_0=Module["_emscripten_bind_Encoder_Encoder_0"]=Module["asm"]["pa"]).apply(null,arguments)};var _emscripten_bind_Encoder_SetEncodingMethod_1=Module["_emscripten_bind_Encoder_SetEncodingMethod_1"]=function(){return(_emscripten_bind_Encoder_SetEncodingMethod_1=Module["_emscripten_bind_Encoder_SetEncodingMethod_1"]=Module["asm"]["qa"]).apply(null,arguments)};var _emscripten_bind_Encoder_SetAttributeQuantization_2=Module["_emscripten_bind_Encoder_SetAttributeQuantization_2"]=function(){return(_emscripten_bind_Encoder_SetAttributeQuantization_2=Module["_emscripten_bind_Encoder_SetAttributeQuantization_2"]=Module["asm"]["ra"]).apply(null,arguments)};var _emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=Module["_emscripten_bind_Encoder_SetAttributeExplicitQuantization_5"]=function(){return(_emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=Module["_emscripten_bind_Encoder_SetAttributeExplicitQuantization_5"]=Module["asm"]["sa"]).apply(null,arguments)};var _emscripten_bind_Encoder_SetSpeedOptions_2=Module["_emscripten_bind_Encoder_SetSpeedOptions_2"]=function(){return(_emscripten_bind_Encoder_SetSpeedOptions_2=Module["_emscripten_bind_Encoder_SetSpeedOptions_2"]=Module["asm"]["ta"]).apply(null,arguments)};var _emscripten_bind_Encoder_SetTrackEncodedProperties_1=Module["_emscripten_bind_Encoder_SetTrackEncodedProperties_1"]=function(){return(_emscripten_bind_Encoder_SetTrackEncodedProperties_1=Module["_emscripten_bind_Encoder_SetTrackEncodedProperties_1"]=Module["asm"]["ua"]).apply(null,arguments)};var _emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=Module["_emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2"]=function(){return(_emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=Module["_emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2"]=Module["asm"]["va"]).apply(null,arguments)};var _emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=Module["_emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3"]=function(){return(_emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=Module["_emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3"]=Module["asm"]["wa"]).apply(null,arguments)};var _emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=Module["_emscripten_bind_Encoder_GetNumberOfEncodedPoints_0"]=function(){return(_emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=Module["_emscripten_bind_Encoder_GetNumberOfEncodedPoints_0"]=Module["asm"]["xa"]).apply(null,arguments)};var _emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=Module["_emscripten_bind_Encoder_GetNumberOfEncodedFaces_0"]=function(){return(_emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=Module["_emscripten_bind_Encoder_GetNumberOfEncodedFaces_0"]=Module["asm"]["ya"]).apply(null,arguments)};var _emscripten_bind_Encoder___destroy___0=Module["_emscripten_bind_Encoder___destroy___0"]=function(){return(_emscripten_bind_Encoder___destroy___0=Module["_emscripten_bind_Encoder___destroy___0"]=Module["asm"]["za"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_ExpertEncoder_1=Module["_emscripten_bind_ExpertEncoder_ExpertEncoder_1"]=function(){return(_emscripten_bind_ExpertEncoder_ExpertEncoder_1=Module["_emscripten_bind_ExpertEncoder_ExpertEncoder_1"]=Module["asm"]["Aa"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_SetEncodingMethod_1=Module["_emscripten_bind_ExpertEncoder_SetEncodingMethod_1"]=function(){return(_emscripten_bind_ExpertEncoder_SetEncodingMethod_1=Module["_emscripten_bind_ExpertEncoder_SetEncodingMethod_1"]=Module["asm"]["Ba"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=Module["_emscripten_bind_ExpertEncoder_SetAttributeQuantization_2"]=function(){return(_emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=Module["_emscripten_bind_ExpertEncoder_SetAttributeQuantization_2"]=Module["asm"]["Ca"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=Module["_emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5"]=function(){return(_emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=Module["_emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5"]=Module["asm"]["Da"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_SetSpeedOptions_2=Module["_emscripten_bind_ExpertEncoder_SetSpeedOptions_2"]=function(){return(_emscripten_bind_ExpertEncoder_SetSpeedOptions_2=Module["_emscripten_bind_ExpertEncoder_SetSpeedOptions_2"]=Module["asm"]["Ea"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=Module["_emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1"]=function(){return(_emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=Module["_emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1"]=Module["asm"]["Fa"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=Module["_emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2"]=function(){return(_emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=Module["_emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2"]=Module["asm"]["Ga"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=Module["_emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0"]=function(){return(_emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=Module["_emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0"]=Module["asm"]["Ha"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=Module["_emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0"]=function(){return(_emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=Module["_emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0"]=Module["asm"]["Ia"]).apply(null,arguments)};var _emscripten_bind_ExpertEncoder___destroy___0=Module["_emscripten_bind_ExpertEncoder___destroy___0"]=function(){return(_emscripten_bind_ExpertEncoder___destroy___0=Module["_emscripten_bind_ExpertEncoder___destroy___0"]=Module["asm"]["Ja"]).apply(null,arguments)};var _emscripten_enum_draco_GeometryAttribute_Type_INVALID=Module["_emscripten_enum_draco_GeometryAttribute_Type_INVALID"]=function(){return(_emscripten_enum_draco_GeometryAttribute_Type_INVALID=Module["_emscripten_enum_draco_GeometryAttribute_Type_INVALID"]=Module["asm"]["Ka"]).apply(null,arguments)};var _emscripten_enum_draco_GeometryAttribute_Type_POSITION=Module["_emscripten_enum_draco_GeometryAttribute_Type_POSITION"]=function(){return(_emscripten_enum_draco_GeometryAttribute_Type_POSITION=Module["_emscripten_enum_draco_GeometryAttribute_Type_POSITION"]=Module["asm"]["La"]).apply(null,arguments)};var _emscripten_enum_draco_GeometryAttribute_Type_NORMAL=Module["_emscripten_enum_draco_GeometryAttribute_Type_NORMAL"]=function(){return(_emscripten_enum_draco_GeometryAttribute_Type_NORMAL=Module["_emscripten_enum_draco_GeometryAttribute_Type_NORMAL"]=Module["asm"]["Ma"]).apply(null,arguments)};var _emscripten_enum_draco_GeometryAttribute_Type_COLOR=Module["_emscripten_enum_draco_GeometryAttribute_Type_COLOR"]=function(){return(_emscripten_enum_draco_GeometryAttribute_Type_COLOR=Module["_emscripten_enum_draco_GeometryAttribute_Type_COLOR"]=Module["asm"]["Na"]).apply(null,arguments)};var _emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=Module["_emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD"]=function(){return(_emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=Module["_emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD"]=Module["asm"]["Oa"]).apply(null,arguments)};var _emscripten_enum_draco_GeometryAttribute_Type_GENERIC=Module["_emscripten_enum_draco_GeometryAttribute_Type_GENERIC"]=function(){return(_emscripten_enum_draco_GeometryAttribute_Type_GENERIC=Module["_emscripten_enum_draco_GeometryAttribute_Type_GENERIC"]=Module["asm"]["Pa"]).apply(null,arguments)};var _emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=Module["_emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE"]=function(){return(_emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=Module["_emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE"]=Module["asm"]["Qa"]).apply(null,arguments)};var _emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=Module["_emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD"]=function(){return(_emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=Module["_emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD"]=Module["asm"]["Ra"]).apply(null,arguments)};var _emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=Module["_emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH"]=function(){return(_emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=Module["_emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH"]=Module["asm"]["Sa"]).apply(null,arguments)};var _emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=Module["_emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING"]=function(){return(_emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=Module["_emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING"]=Module["asm"]["Ta"]).apply(null,arguments)};var _emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=Module["_emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING"]=function(){return(_emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=Module["_emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING"]=Module["asm"]["Ua"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["Va"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["Wa"]).apply(null,arguments)};var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};Module["WrapperObject"]=WrapperObject;function getCache(__class__){return(__class__||WrapperObject).__cache__}Module["getCache"]=getCache;function wrapPointer(ptr,__class__){var cache=getCache(__class__);var ret=cache[ptr];if(ret)return ret;ret=Object.create((__class__||WrapperObject).prototype);ret.ptr=ptr;return cache[ptr]=ret}Module["wrapPointer"]=wrapPointer;function castObject(obj,__class__){return wrapPointer(obj.ptr,__class__)}Module["castObject"]=castObject;Module["NULL"]=wrapPointer(0);function destroy(obj){if(!obj["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";obj["__destroy__"]();delete getCache(obj.__class__)[obj.ptr]}Module["destroy"]=destroy;function compare(obj1,obj2){return obj1.ptr===obj2.ptr}Module["compare"]=compare;function getPointer(obj){return obj.ptr}Module["getPointer"]=getPointer;function getClass(obj){return obj.__class__}Module["getClass"]=getClass;var ensureCache={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ensureCache.needed){for(var i=0;i<ensureCache.temps.length;i++){Module["_free"](ensureCache.temps[i])}ensureCache.temps.length=0;Module["_free"](ensureCache.buffer);ensureCache.buffer=0;ensureCache.size+=ensureCache.needed;ensureCache.needed=0}if(!ensureCache.buffer){ensureCache.size+=128;ensureCache.buffer=Module["_malloc"](ensureCache.size);assert(ensureCache.buffer)}ensureCache.pos=0},alloc:function(array,view){assert(ensureCache.buffer);var bytes=view.BYTES_PER_ELEMENT;var len=array.length*bytes;len=len+7&-8;var ret;if(ensureCache.pos+len>=ensureCache.size){assert(len>0);ensureCache.needed+=len;ret=Module["_malloc"](len);ensureCache.temps.push(ret)}else{ret=ensureCache.buffer+ensureCache.pos;ensureCache.pos+=len}return ret},copy:function(array,view,offset){offset>>>=0;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offset>>>=1;break;case 4:offset>>>=2;break;case 8:offset>>>=3;break}for(var i=0;i<array.length;i++){view[offset+i]=array[i]}}};function ensureString(value){if(typeof value==="string"){var intArray=intArrayFromString(value);var offset=ensureCache.alloc(intArray,HEAP8);ensureCache.copy(intArray,HEAP8,offset);return offset}return value}function ensureInt8(value){if(typeof value==="object"){var offset=ensureCache.alloc(value,HEAP8);ensureCache.copy(value,HEAP8,offset);return offset}return value}function ensureInt16(value){if(typeof value==="object"){var offset=ensureCache.alloc(value,HEAP16);ensureCache.copy(value,HEAP16,offset);return offset}return value}function ensureInt32(value){if(typeof value==="object"){var offset=ensureCache.alloc(value,HEAP32);ensureCache.copy(value,HEAP32,offset);return offset}return value}function ensureFloat32(value){if(typeof value==="object"){var offset=ensureCache.alloc(value,HEAPF32);ensureCache.copy(value,HEAPF32,offset);return offset}return value}function VoidPtr(){throw"cannot construct a VoidPtr, no constructor in IDL"}VoidPtr.prototype=Object.create(WrapperObject.prototype);VoidPtr.prototype.constructor=VoidPtr;VoidPtr.prototype.__class__=VoidPtr;VoidPtr.__cache__={};Module["VoidPtr"]=VoidPtr;VoidPtr.prototype["__destroy__"]=VoidPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_VoidPtr___destroy___0(self)};function GeometryAttribute(){this.ptr=_emscripten_bind_GeometryAttribute_GeometryAttribute_0();getCache(GeometryAttribute)[this.ptr]=this}GeometryAttribute.prototype=Object.create(WrapperObject.prototype);GeometryAttribute.prototype.constructor=GeometryAttribute;GeometryAttribute.prototype.__class__=GeometryAttribute;GeometryAttribute.__cache__={};Module["GeometryAttribute"]=GeometryAttribute;GeometryAttribute.prototype["__destroy__"]=GeometryAttribute.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_GeometryAttribute___destroy___0(self)};function PointAttribute(){this.ptr=_emscripten_bind_PointAttribute_PointAttribute_0();getCache(PointAttribute)[this.ptr]=this}PointAttribute.prototype=Object.create(WrapperObject.prototype);PointAttribute.prototype.constructor=PointAttribute;PointAttribute.prototype.__class__=PointAttribute;PointAttribute.__cache__={};Module["PointAttribute"]=PointAttribute;PointAttribute.prototype["size"]=PointAttribute.prototype.size=function(){var self=this.ptr;return _emscripten_bind_PointAttribute_size_0(self)};PointAttribute.prototype["attribute_type"]=PointAttribute.prototype.attribute_type=function(){var self=this.ptr;return _emscripten_bind_PointAttribute_attribute_type_0(self)};PointAttribute.prototype["data_type"]=PointAttribute.prototype.data_type=function(){var self=this.ptr;return _emscripten_bind_PointAttribute_data_type_0(self)};PointAttribute.prototype["num_components"]=PointAttribute.prototype.num_components=function(){var self=this.ptr;return _emscripten_bind_PointAttribute_num_components_0(self)};PointAttribute.prototype["normalized"]=PointAttribute.prototype.normalized=function(){var self=this.ptr;return!!_emscripten_bind_PointAttribute_normalized_0(self)};PointAttribute.prototype["byte_stride"]=PointAttribute.prototype.byte_stride=function(){var self=this.ptr;return _emscripten_bind_PointAttribute_byte_stride_0(self)};PointAttribute.prototype["byte_offset"]=PointAttribute.prototype.byte_offset=function(){var self=this.ptr;return _emscripten_bind_PointAttribute_byte_offset_0(self)};PointAttribute.prototype["unique_id"]=PointAttribute.prototype.unique_id=function(){var self=this.ptr;return _emscripten_bind_PointAttribute_unique_id_0(self)};PointAttribute.prototype["__destroy__"]=PointAttribute.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_PointAttribute___destroy___0(self)};function PointCloud(){this.ptr=_emscripten_bind_PointCloud_PointCloud_0();getCache(PointCloud)[this.ptr]=this}PointCloud.prototype=Object.create(WrapperObject.prototype);PointCloud.prototype.constructor=PointCloud;PointCloud.prototype.__class__=PointCloud;PointCloud.__cache__={};Module["PointCloud"]=PointCloud;PointCloud.prototype["num_attributes"]=PointCloud.prototype.num_attributes=function(){var self=this.ptr;return _emscripten_bind_PointCloud_num_attributes_0(self)};PointCloud.prototype["num_points"]=PointCloud.prototype.num_points=function(){var self=this.ptr;return _emscripten_bind_PointCloud_num_points_0(self)};PointCloud.prototype["__destroy__"]=PointCloud.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_PointCloud___destroy___0(self)};function Mesh(){this.ptr=_emscripten_bind_Mesh_Mesh_0();getCache(Mesh)[this.ptr]=this}Mesh.prototype=Object.create(WrapperObject.prototype);Mesh.prototype.constructor=Mesh;Mesh.prototype.__class__=Mesh;Mesh.__cache__={};Module["Mesh"]=Mesh;Mesh.prototype["num_faces"]=Mesh.prototype.num_faces=function(){var self=this.ptr;return _emscripten_bind_Mesh_num_faces_0(self)};Mesh.prototype["num_attributes"]=Mesh.prototype.num_attributes=function(){var self=this.ptr;return _emscripten_bind_Mesh_num_attributes_0(self)};Mesh.prototype["num_points"]=Mesh.prototype.num_points=function(){var self=this.ptr;return _emscripten_bind_Mesh_num_points_0(self)};Mesh.prototype["set_num_points"]=Mesh.prototype.set_num_points=function(num_points){var self=this.ptr;if(num_points&&typeof num_points==="object")num_points=num_points.ptr;_emscripten_bind_Mesh_set_num_points_1(self,num_points)};Mesh.prototype["__destroy__"]=Mesh.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Mesh___destroy___0(self)};function Metadata(){this.ptr=_emscripten_bind_Metadata_Metadata_0();getCache(Metadata)[this.ptr]=this}Metadata.prototype=Object.create(WrapperObject.prototype);Metadata.prototype.constructor=Metadata;Metadata.prototype.__class__=Metadata;Metadata.__cache__={};Module["Metadata"]=Metadata;Metadata.prototype["__destroy__"]=Metadata.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Metadata___destroy___0(self)};function DracoInt8Array(){this.ptr=_emscripten_bind_DracoInt8Array_DracoInt8Array_0();getCache(DracoInt8Array)[this.ptr]=this}DracoInt8Array.prototype=Object.create(WrapperObject.prototype);DracoInt8Array.prototype.constructor=DracoInt8Array;DracoInt8Array.prototype.__class__=DracoInt8Array;DracoInt8Array.__cache__={};Module["DracoInt8Array"]=DracoInt8Array;DracoInt8Array.prototype["GetValue"]=DracoInt8Array.prototype.GetValue=function(index){var self=this.ptr;if(index&&typeof index==="object")index=index.ptr;return _emscripten_bind_DracoInt8Array_GetValue_1(self,index)};DracoInt8Array.prototype["size"]=DracoInt8Array.prototype.size=function(){var self=this.ptr;return _emscripten_bind_DracoInt8Array_size_0(self)};DracoInt8Array.prototype["__destroy__"]=DracoInt8Array.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DracoInt8Array___destroy___0(self)};function MetadataBuilder(){this.ptr=_emscripten_bind_MetadataBuilder_MetadataBuilder_0();getCache(MetadataBuilder)[this.ptr]=this}MetadataBuilder.prototype=Object.create(WrapperObject.prototype);MetadataBuilder.prototype.constructor=MetadataBuilder;MetadataBuilder.prototype.__class__=MetadataBuilder;MetadataBuilder.__cache__={};Module["MetadataBuilder"]=MetadataBuilder;MetadataBuilder.prototype["AddStringEntry"]=MetadataBuilder.prototype.AddStringEntry=function(metadata,entry_name,entry_value){var self=this.ptr;ensureCache.prepare();if(metadata&&typeof metadata==="object")metadata=metadata.ptr;if(entry_name&&typeof entry_name==="object")entry_name=entry_name.ptr;else entry_name=ensureString(entry_name);if(entry_value&&typeof entry_value==="object")entry_value=entry_value.ptr;else entry_value=ensureString(entry_value);return!!_emscripten_bind_MetadataBuilder_AddStringEntry_3(self,metadata,entry_name,entry_value)};MetadataBuilder.prototype["AddIntEntry"]=MetadataBuilder.prototype.AddIntEntry=function(metadata,entry_name,entry_value){var self=this.ptr;ensureCache.prepare();if(metadata&&typeof metadata==="object")metadata=metadata.ptr;if(entry_name&&typeof entry_name==="object")entry_name=entry_name.ptr;else entry_name=ensureString(entry_name);if(entry_value&&typeof entry_value==="object")entry_value=entry_value.ptr;return!!_emscripten_bind_MetadataBuilder_AddIntEntry_3(self,metadata,entry_name,entry_value)};MetadataBuilder.prototype["AddIntEntryArray"]=MetadataBuilder.prototype.AddIntEntryArray=function(metadata,entry_name,att_values,num_values){var self=this.ptr;ensureCache.prepare();if(metadata&&typeof metadata==="object")metadata=metadata.ptr;if(entry_name&&typeof entry_name==="object")entry_name=entry_name.ptr;else entry_name=ensureString(entry_name);if(typeof att_values=="object"){att_values=ensureInt32(att_values)}if(num_values&&typeof num_values==="object")num_values=num_values.ptr;return!!_emscripten_bind_MetadataBuilder_AddIntEntryArray_4(self,metadata,entry_name,att_values,num_values)};MetadataBuilder.prototype["AddDoubleEntry"]=MetadataBuilder.prototype.AddDoubleEntry=function(metadata,entry_name,entry_value){var self=this.ptr;ensureCache.prepare();if(metadata&&typeof metadata==="object")metadata=metadata.ptr;if(entry_name&&typeof entry_name==="object")entry_name=entry_name.ptr;else entry_name=ensureString(entry_name);if(entry_value&&typeof entry_value==="object")entry_value=entry_value.ptr;return!!_emscripten_bind_MetadataBuilder_AddDoubleEntry_3(self,metadata,entry_name,entry_value)};MetadataBuilder.prototype["__destroy__"]=MetadataBuilder.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_MetadataBuilder___destroy___0(self)};function PointCloudBuilder(){this.ptr=_emscripten_bind_PointCloudBuilder_PointCloudBuilder_0();getCache(PointCloudBuilder)[this.ptr]=this}PointCloudBuilder.prototype=Object.create(WrapperObject.prototype);PointCloudBuilder.prototype.constructor=PointCloudBuilder;PointCloudBuilder.prototype.__class__=PointCloudBuilder;PointCloudBuilder.__cache__={};Module["PointCloudBuilder"]=PointCloudBuilder;PointCloudBuilder.prototype["AddFloatAttribute"]=PointCloudBuilder.prototype.AddFloatAttribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureFloat32(att_values)}return _emscripten_bind_PointCloudBuilder_AddFloatAttribute_5(self,pc,type,num_vertices,num_components,att_values)};PointCloudBuilder.prototype["AddInt8Attribute"]=PointCloudBuilder.prototype.AddInt8Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt8(att_values)}return _emscripten_bind_PointCloudBuilder_AddInt8Attribute_5(self,pc,type,num_vertices,num_components,att_values)};PointCloudBuilder.prototype["AddUInt8Attribute"]=PointCloudBuilder.prototype.AddUInt8Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt8(att_values)}return _emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5(self,pc,type,num_vertices,num_components,att_values)};PointCloudBuilder.prototype["AddInt16Attribute"]=PointCloudBuilder.prototype.AddInt16Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt16(att_values)}return _emscripten_bind_PointCloudBuilder_AddInt16Attribute_5(self,pc,type,num_vertices,num_components,att_values)};PointCloudBuilder.prototype["AddUInt16Attribute"]=PointCloudBuilder.prototype.AddUInt16Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt16(att_values)}return _emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5(self,pc,type,num_vertices,num_components,att_values)};PointCloudBuilder.prototype["AddInt32Attribute"]=PointCloudBuilder.prototype.AddInt32Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt32(att_values)}return _emscripten_bind_PointCloudBuilder_AddInt32Attribute_5(self,pc,type,num_vertices,num_components,att_values)};PointCloudBuilder.prototype["AddUInt32Attribute"]=PointCloudBuilder.prototype.AddUInt32Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt32(att_values)}return _emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5(self,pc,type,num_vertices,num_components,att_values)};PointCloudBuilder.prototype["AddMetadata"]=PointCloudBuilder.prototype.AddMetadata=function(pc,metadata){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(metadata&&typeof metadata==="object")metadata=metadata.ptr;return!!_emscripten_bind_PointCloudBuilder_AddMetadata_2(self,pc,metadata)};PointCloudBuilder.prototype["SetMetadataForAttribute"]=PointCloudBuilder.prototype.SetMetadataForAttribute=function(pc,attribute_id,metadata){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(attribute_id&&typeof attribute_id==="object")attribute_id=attribute_id.ptr;if(metadata&&typeof metadata==="object")metadata=metadata.ptr;return!!_emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3(self,pc,attribute_id,metadata)};PointCloudBuilder.prototype["__destroy__"]=PointCloudBuilder.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_PointCloudBuilder___destroy___0(self)};function MeshBuilder(){this.ptr=_emscripten_bind_MeshBuilder_MeshBuilder_0();getCache(MeshBuilder)[this.ptr]=this}MeshBuilder.prototype=Object.create(WrapperObject.prototype);MeshBuilder.prototype.constructor=MeshBuilder;MeshBuilder.prototype.__class__=MeshBuilder;MeshBuilder.__cache__={};Module["MeshBuilder"]=MeshBuilder;MeshBuilder.prototype["AddFacesToMesh"]=MeshBuilder.prototype.AddFacesToMesh=function(mesh,num_faces,faces){var self=this.ptr;ensureCache.prepare();if(mesh&&typeof mesh==="object")mesh=mesh.ptr;if(num_faces&&typeof num_faces==="object")num_faces=num_faces.ptr;if(typeof faces=="object"){faces=ensureInt32(faces)}return!!_emscripten_bind_MeshBuilder_AddFacesToMesh_3(self,mesh,num_faces,faces)};MeshBuilder.prototype["AddFloatAttributeToMesh"]=MeshBuilder.prototype.AddFloatAttributeToMesh=function(mesh,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(mesh&&typeof mesh==="object")mesh=mesh.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureFloat32(att_values)}return _emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5(self,mesh,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddInt32AttributeToMesh"]=MeshBuilder.prototype.AddInt32AttributeToMesh=function(mesh,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(mesh&&typeof mesh==="object")mesh=mesh.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt32(att_values)}return _emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5(self,mesh,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddMetadataToMesh"]=MeshBuilder.prototype.AddMetadataToMesh=function(mesh,metadata){var self=this.ptr;if(mesh&&typeof mesh==="object")mesh=mesh.ptr;if(metadata&&typeof metadata==="object")metadata=metadata.ptr;return!!_emscripten_bind_MeshBuilder_AddMetadataToMesh_2(self,mesh,metadata)};MeshBuilder.prototype["AddFloatAttribute"]=MeshBuilder.prototype.AddFloatAttribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureFloat32(att_values)}return _emscripten_bind_MeshBuilder_AddFloatAttribute_5(self,pc,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddInt8Attribute"]=MeshBuilder.prototype.AddInt8Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt8(att_values)}return _emscripten_bind_MeshBuilder_AddInt8Attribute_5(self,pc,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddUInt8Attribute"]=MeshBuilder.prototype.AddUInt8Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt8(att_values)}return _emscripten_bind_MeshBuilder_AddUInt8Attribute_5(self,pc,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddInt16Attribute"]=MeshBuilder.prototype.AddInt16Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt16(att_values)}return _emscripten_bind_MeshBuilder_AddInt16Attribute_5(self,pc,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddUInt16Attribute"]=MeshBuilder.prototype.AddUInt16Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt16(att_values)}return _emscripten_bind_MeshBuilder_AddUInt16Attribute_5(self,pc,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddInt32Attribute"]=MeshBuilder.prototype.AddInt32Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt32(att_values)}return _emscripten_bind_MeshBuilder_AddInt32Attribute_5(self,pc,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddUInt32Attribute"]=MeshBuilder.prototype.AddUInt32Attribute=function(pc,type,num_vertices,num_components,att_values){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;if(num_vertices&&typeof num_vertices==="object")num_vertices=num_vertices.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof att_values=="object"){att_values=ensureInt32(att_values)}return _emscripten_bind_MeshBuilder_AddUInt32Attribute_5(self,pc,type,num_vertices,num_components,att_values)};MeshBuilder.prototype["AddMetadata"]=MeshBuilder.prototype.AddMetadata=function(pc,metadata){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(metadata&&typeof metadata==="object")metadata=metadata.ptr;return!!_emscripten_bind_MeshBuilder_AddMetadata_2(self,pc,metadata)};MeshBuilder.prototype["SetMetadataForAttribute"]=MeshBuilder.prototype.SetMetadataForAttribute=function(pc,attribute_id,metadata){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(attribute_id&&typeof attribute_id==="object")attribute_id=attribute_id.ptr;if(metadata&&typeof metadata==="object")metadata=metadata.ptr;return!!_emscripten_bind_MeshBuilder_SetMetadataForAttribute_3(self,pc,attribute_id,metadata)};MeshBuilder.prototype["__destroy__"]=MeshBuilder.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_MeshBuilder___destroy___0(self)};function Encoder(){this.ptr=_emscripten_bind_Encoder_Encoder_0();getCache(Encoder)[this.ptr]=this}Encoder.prototype=Object.create(WrapperObject.prototype);Encoder.prototype.constructor=Encoder;Encoder.prototype.__class__=Encoder;Encoder.__cache__={};Module["Encoder"]=Encoder;Encoder.prototype["SetEncodingMethod"]=Encoder.prototype.SetEncodingMethod=function(method){var self=this.ptr;if(method&&typeof method==="object")method=method.ptr;_emscripten_bind_Encoder_SetEncodingMethod_1(self,method)};Encoder.prototype["SetAttributeQuantization"]=Encoder.prototype.SetAttributeQuantization=function(type,quantization_bits){var self=this.ptr;if(type&&typeof type==="object")type=type.ptr;if(quantization_bits&&typeof quantization_bits==="object")quantization_bits=quantization_bits.ptr;_emscripten_bind_Encoder_SetAttributeQuantization_2(self,type,quantization_bits)};Encoder.prototype["SetAttributeExplicitQuantization"]=Encoder.prototype.SetAttributeExplicitQuantization=function(type,quantization_bits,num_components,origin,range){var self=this.ptr;ensureCache.prepare();if(type&&typeof type==="object")type=type.ptr;if(quantization_bits&&typeof quantization_bits==="object")quantization_bits=quantization_bits.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof origin=="object"){origin=ensureFloat32(origin)}if(range&&typeof range==="object")range=range.ptr;_emscripten_bind_Encoder_SetAttributeExplicitQuantization_5(self,type,quantization_bits,num_components,origin,range)};Encoder.prototype["SetSpeedOptions"]=Encoder.prototype.SetSpeedOptions=function(encoding_speed,decoding_speed){var self=this.ptr;if(encoding_speed&&typeof encoding_speed==="object")encoding_speed=encoding_speed.ptr;if(decoding_speed&&typeof decoding_speed==="object")decoding_speed=decoding_speed.ptr;_emscripten_bind_Encoder_SetSpeedOptions_2(self,encoding_speed,decoding_speed)};Encoder.prototype["SetTrackEncodedProperties"]=Encoder.prototype.SetTrackEncodedProperties=function(flag){var self=this.ptr;if(flag&&typeof flag==="object")flag=flag.ptr;_emscripten_bind_Encoder_SetTrackEncodedProperties_1(self,flag)};Encoder.prototype["EncodeMeshToDracoBuffer"]=Encoder.prototype.EncodeMeshToDracoBuffer=function(mesh,encoded_data){var self=this.ptr;if(mesh&&typeof mesh==="object")mesh=mesh.ptr;if(encoded_data&&typeof encoded_data==="object")encoded_data=encoded_data.ptr;return _emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2(self,mesh,encoded_data)};Encoder.prototype["EncodePointCloudToDracoBuffer"]=Encoder.prototype.EncodePointCloudToDracoBuffer=function(pc,deduplicate_values,encoded_data){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(deduplicate_values&&typeof deduplicate_values==="object")deduplicate_values=deduplicate_values.ptr;if(encoded_data&&typeof encoded_data==="object")encoded_data=encoded_data.ptr;return _emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3(self,pc,deduplicate_values,encoded_data)};Encoder.prototype["GetNumberOfEncodedPoints"]=Encoder.prototype.GetNumberOfEncodedPoints=function(){var self=this.ptr;return _emscripten_bind_Encoder_GetNumberOfEncodedPoints_0(self)};Encoder.prototype["GetNumberOfEncodedFaces"]=Encoder.prototype.GetNumberOfEncodedFaces=function(){var self=this.ptr;return _emscripten_bind_Encoder_GetNumberOfEncodedFaces_0(self)};Encoder.prototype["__destroy__"]=Encoder.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Encoder___destroy___0(self)};function ExpertEncoder(pc){if(pc&&typeof pc==="object")pc=pc.ptr;this.ptr=_emscripten_bind_ExpertEncoder_ExpertEncoder_1(pc);getCache(ExpertEncoder)[this.ptr]=this}ExpertEncoder.prototype=Object.create(WrapperObject.prototype);ExpertEncoder.prototype.constructor=ExpertEncoder;ExpertEncoder.prototype.__class__=ExpertEncoder;ExpertEncoder.__cache__={};Module["ExpertEncoder"]=ExpertEncoder;ExpertEncoder.prototype["SetEncodingMethod"]=ExpertEncoder.prototype.SetEncodingMethod=function(method){var self=this.ptr;if(method&&typeof method==="object")method=method.ptr;_emscripten_bind_ExpertEncoder_SetEncodingMethod_1(self,method)};ExpertEncoder.prototype["SetAttributeQuantization"]=ExpertEncoder.prototype.SetAttributeQuantization=function(att_id,quantization_bits){var self=this.ptr;if(att_id&&typeof att_id==="object")att_id=att_id.ptr;if(quantization_bits&&typeof quantization_bits==="object")quantization_bits=quantization_bits.ptr;_emscripten_bind_ExpertEncoder_SetAttributeQuantization_2(self,att_id,quantization_bits)};ExpertEncoder.prototype["SetAttributeExplicitQuantization"]=ExpertEncoder.prototype.SetAttributeExplicitQuantization=function(att_id,quantization_bits,num_components,origin,range){var self=this.ptr;ensureCache.prepare();if(att_id&&typeof att_id==="object")att_id=att_id.ptr;if(quantization_bits&&typeof quantization_bits==="object")quantization_bits=quantization_bits.ptr;if(num_components&&typeof num_components==="object")num_components=num_components.ptr;if(typeof origin=="object"){origin=ensureFloat32(origin)}if(range&&typeof range==="object")range=range.ptr;_emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5(self,att_id,quantization_bits,num_components,origin,range)};ExpertEncoder.prototype["SetSpeedOptions"]=ExpertEncoder.prototype.SetSpeedOptions=function(encoding_speed,decoding_speed){var self=this.ptr;if(encoding_speed&&typeof encoding_speed==="object")encoding_speed=encoding_speed.ptr;if(decoding_speed&&typeof decoding_speed==="object")decoding_speed=decoding_speed.ptr;_emscripten_bind_ExpertEncoder_SetSpeedOptions_2(self,encoding_speed,decoding_speed)};ExpertEncoder.prototype["SetTrackEncodedProperties"]=ExpertEncoder.prototype.SetTrackEncodedProperties=function(flag){var self=this.ptr;if(flag&&typeof flag==="object")flag=flag.ptr;_emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1(self,flag)};ExpertEncoder.prototype["EncodeToDracoBuffer"]=ExpertEncoder.prototype.EncodeToDracoBuffer=function(deduplicate_values,encoded_data){var self=this.ptr;if(deduplicate_values&&typeof deduplicate_values==="object")deduplicate_values=deduplicate_values.ptr;if(encoded_data&&typeof encoded_data==="object")encoded_data=encoded_data.ptr;return _emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2(self,deduplicate_values,encoded_data)};ExpertEncoder.prototype["GetNumberOfEncodedPoints"]=ExpertEncoder.prototype.GetNumberOfEncodedPoints=function(){var self=this.ptr;return _emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0(self)};ExpertEncoder.prototype["GetNumberOfEncodedFaces"]=ExpertEncoder.prototype.GetNumberOfEncodedFaces=function(){var self=this.ptr;return _emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0(self)};ExpertEncoder.prototype["__destroy__"]=ExpertEncoder.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_ExpertEncoder___destroy___0(self)};(function(){function setupEnums(){Module["INVALID"]=_emscripten_enum_draco_GeometryAttribute_Type_INVALID();Module["POSITION"]=_emscripten_enum_draco_GeometryAttribute_Type_POSITION();Module["NORMAL"]=_emscripten_enum_draco_GeometryAttribute_Type_NORMAL();Module["COLOR"]=_emscripten_enum_draco_GeometryAttribute_Type_COLOR();Module["TEX_COORD"]=_emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD();Module["GENERIC"]=_emscripten_enum_draco_GeometryAttribute_Type_GENERIC();Module["INVALID_GEOMETRY_TYPE"]=_emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE();Module["POINT_CLOUD"]=_emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD();Module["TRIANGULAR_MESH"]=_emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH();Module["MESH_SEQUENTIAL_ENCODING"]=_emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING();Module["MESH_EDGEBREAKER_ENCODING"]=_emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING()}if(runtimeInitialized)setupEnums();else addOnInit(setupEnums)})();if(typeof Module["onModuleParsed"]==="function"){Module["onModuleParsed"]()}
return DracoEncoderModule.ready
}
);
})();
if (typeof exports === 'object' && typeof module === 'object')
module.exports = DracoEncoderModule;
else if (typeof define === 'function' && define['amd'])
define([], function() { return DracoEncoderModule; });
else if (typeof exports === 'object')
exports["DracoEncoderModule"] = DracoEncoderModule;