var DracoDecoderModule = (() => {
  var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
  if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;
  return (
function(DracoDecoderModule) {
  DracoDecoderModule = DracoDecoderModule || {};

var Module=typeof DracoDecoderModule!="undefined"?DracoDecoderModule:{};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=Object.assign({},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)}if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}var fs,nodePath;if(typeof require==="function"){fs=require("fs");nodePath=require("path")}read_=(filename,binary)=>{var ret=tryParseAsDataURI(filename);if(ret){return binary?ret:ret.toString()}filename=nodePath["normalize"](filename);return fs.readFileSync(filename,binary?undefined:"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)}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);Object.assign(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(qa){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,"YAQAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAE41ZHJhY28yOEF0dHJpYnV0ZU9jdGFoZWRyb25UcmFuc2Zvcm1FAAAYOwAAOAQAALAHAAAtKyAgIDBYMHgAX19uZXh0X3ByaW1lIG92ZXJmbG93AHZlY3RvcgBzdGQ6OmV4Y2VwdGlvbgBza2lwX2F0dHJpYnV0ZV90cmFuc2Zvcm0AYmFkX2FycmF5X25ld19sZW5ndGgAYmFzaWNfc3RyaW5nAHN0ZDo6YmFkX2FsbG9jAERSQUNPAFVzaW5nIGluY29tcGF0aWJsZSBkZWNvZGVyIGZvciB0aGUgaW5wdXQgZ2VvbWV0cnkuAEZhaWxlZCB0byBkZWNvZGUgcG9pbnQgYXR0cmlidXRlcy4ARmFpbGVkIHRvIGluaXRpYWxpemUgdGhlIGRlY29kZXIuAFVua25vd24gbWlub3IgdmVyc2lvbi4AVW5rbm93biBtYWpvciB2ZXJzaW9uLgBJbnB1dCBpcyBub3QgYSBtZXNoLgBVbnN1cHBvcnRlZCBnZW9tZXRyeSB0eXBlLgBOb3QgYSBEcmFjbyBmaWxlLgBJbnB1dCBpcyBub3QgYSBwb2ludCBjbG91ZC4AVW5zdXBwb3J0ZWQgZW5jb2RpbmcgbWV0aG9kLgBGYWlsZWQgdG8gZGVjb2RlIG1ldGFkYXRhLgBGYWlsZWQgdG8gZGVjb2RlIGdlb21ldHJ5IGRhdGEuAChudWxsKQBQdXJlIHZpcnR1YWwgZnVuY3Rpb24gY2FsbGVkIQBLZFRyZWVBdHRyaWJ1dGVzRGVjb2RlcjogY29tcHJlc3Npb24gbGV2ZWwgJWkgbm90IHN1cHBvcnRlZC4KAEZsb2F0UG9pbnRzVHJlZURlY29kZXI6IGNvbXByZXNzaW9uIGxldmVsICVpIG5vdCBzdXBwb3J0ZWQuCgBWZXJzaW9uIG5vdCBzdXBwb3J0ZWQuIAoATWV0aG9kIG5vdCBzdXBwb3J0ZWQuIAoAAAAAAACEBwAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAACwAAABgAAAAZAAAATjVkcmFjbzMwQXR0cmlidXRlUXVhbnRpemF0aW9uVHJhbnNmb3JtRQAAAAAYOwAAWAcAALAHAABONWRyYWNvMThBdHRyaWJ1dGVUcmFuc2Zvcm1FAAAAAPA6AACQBwAAAAAAADwIAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8AAAAgAAAAIQAAACIAAAAjAAAAJAAAACUAAABONWRyYWNvMTdBdHRyaWJ1dGVzRGVjb2RlckUATjVkcmFjbzI2QXR0cmlidXRlc0RlY29kZXJJbnRlcmZhY2VFAAAAAPA6AAAMCAAAGDsAAPAHAAA0CAAAAAAAAKQIAAAmAAAAJwAAABwAAAAdAAAAHgAAAB8AAAAgAAAAIQAAACIAAAAoAAAAKQAAACoAAABONWRyYWNvMjNLZFRyZWVBdHRyaWJ1dGVzRGVjb2RlckUAAAAYOwAAgAgAADwIAAAAAAAABAkAACsAAAAsAAAALQAAAC4AAAAvAAAAMAAAADEAAAAyAAAAMwAAAE41ZHJhY28yNlNlcXVlbnRpYWxBdHRyaWJ1dGVEZWNvZGVyRQAAAADwOgAA3AgAAP////8AAAAAfAkAADQAAAA1AAAAHAAAADYAAAA3AAAAHwAAACAAAAAhAAAAOAAAADkAAAA6AAAAOwAAADwAAABONWRyYWNvMzdTZXF1ZW50aWFsQXR0cmlidXRlRGVjb2RlcnNDb250cm9sbGVyRQAYOwAATAkAADwIAAAAAAAA8AkAAD0AAAA+AAAAPwAAAC4AAAAvAAAAMAAAAEAAAAAyAAAAQQAAAEIAAABDAAAARAAAAEUAAABONWRyYWNvMzNTZXF1ZW50aWFsSW50ZWdlckF0dHJpYnV0ZURlY29kZXJFABg7AADECQAABAkAAAAAAAB8DAAARgAAAEcAAABIAAAASQAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAABRAAAATjVkcmFjbzQwTWVzaFByZWRpY3Rpb25TY2hlbWVQYXJhbGxlbG9ncmFtRGVjb2RlcklpTlNfMzdQcmVkaWN0aW9uU2NoZW1lV3JhcERlY29kaW5nVHJhbnNmb3JtSWlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVFRUVFAE41ZHJhY28yN01lc2hQcmVkaWN0aW9uU2NoZW1lRGVjb2RlcklpTlNfMzdQcmVkaWN0aW9uU2NoZW1lV3JhcERlY29kaW5nVHJhbnNmb3JtSWlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVFRUVFAE41ZHJhY28yM1ByZWRpY3Rpb25TY2hlbWVEZWNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRGVjb2RpbmdUcmFuc2Zvcm1JaWlFRUVFAE41ZHJhY28zN1ByZWRpY3Rpb25TY2hlbWVUeXBlZERlY29kZXJJbnRlcmZhY2VJaWlFRQBONWRyYWNvMzJQcmVkaWN0aW9uU2NoZW1lRGVjb2RlckludGVyZmFjZUUATjVkcmFjbzI1UHJlZGljdGlvblNjaGVtZUludGVyZmFjZUUA8DoAACAMAAAYOwAA9QsAAEQMAAAYOwAAwQsAAEwMAAAYOwAAbQsAAFgMAAAYOwAA1woAAGQMAAAYOwAANAoAAHAMAAAAAAAAcAwAAEYAAABSAAAAIwAAAEkAAAAjAAAASwAAAEwAAABNAAAATgAAAE8AAABQAAAAIwAAAAAAAABkDAAARgAAAFMAAAAjAAAASQAAACMAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAAAjAAAAAAAAANgNAABGAAAAVAAAAFUAAABJAAAAVgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFcAAABONWRyYWNvNDVNZXNoUHJlZGljdGlvblNjaGVtZU11bHRpUGFyYWxsZWxvZ3JhbURlY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBEZWNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQAYOwAAMA0AAHAMAAAAAAAA0A4AAFgAAABZAAAAWgAAAEkAAABbAAAASwAAAEwAAABNAAAATgAAAE8AAABcAAAAXQAAAE41ZHJhY281Nk1lc2hQcmVkaWN0aW9uU2NoZW1lQ29uc3RyYWluZWRNdWx0aVBhcmFsbGVsb2dyYW1EZWNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRGVjb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUAABg7AAAcDgAAcAwAAAAAAAC0DwAAXgAAAF8AAABgAAAASQAAAGEAAABiAAAAYwAAAGQAAABOAAAATwAAAGUAAABmAAAATjVkcmFjbzM2TWVzaFByZWRpY3Rpb25TY2hlbWVUZXhDb29yZHNEZWNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRGVjb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUAABg7AAAUDwAAcAwAAAAAAACgEAAAZwAAAGgAAABpAAAASQAAAGoAAABrAAAAbAAAAG0AAABOAAAATwAAAG4AAABvAAAATjVkcmFjbzQ0TWVzaFByZWRpY3Rpb25TY2hlbWVUZXhDb29yZHNQb3J0YWJsZURlY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBEZWNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQAAGDsAAPgPAABwDAAAAAAAAIwRAABwAAAAcQAAAHIAAABJAAAAcwAAAHQAAAB1AAAAdgAAAE4AAABPAAAAdwAAAHgAAABONWRyYWNvNDJNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbERlY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBEZWNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQAAAAAYOwAA5BAAAHAMAAAAAAAAFBMAAHkAAAB6AAAAewAAAHwAAAB9AAAATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JBcmVhSWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRGVjb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JCYXNlSWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRGVjb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUAAADwOgAAXxIAABg7AAC0EQAADBMAAAAAAAAMEwAAeQAAAH4AAAAjAAAAfAAAACMAAAAAAAAAoBQAAEYAAAB/AAAAgAAAAEkAAACBAAAASwAAAEwAAABNAAAATgAAAE8AAABQAAAAggAAAE41ZHJhY280ME1lc2hQcmVkaWN0aW9uU2NoZW1lUGFyYWxsZWxvZ3JhbURlY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBEZWNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAE41ZHJhY28yN01lc2hQcmVkaWN0aW9uU2NoZW1lRGVjb2RlcklpTlNfMzdQcmVkaWN0aW9uU2NoZW1lV3JhcERlY29kaW5nVHJhbnNmb3JtSWlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18xMUNvcm5lclRhYmxlRUVFRUUAABg7AAAKFAAAZAwAABg7AAB0EwAAlBQAAAAAAACUFAAARgAAAIMAAAAjAAAASQAAACMAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAAAjAAAAAAAAALgVAABGAAAAhAAAAIUAAABJAAAAhgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAIcAAABONWRyYWNvNDVNZXNoUHJlZGljdGlvblNjaGVtZU11bHRpUGFyYWxsZWxvZ3JhbURlY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBEZWNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAAAYOwAAHBUAAJQUAAAAAAAApBYAAIgAAACJAAAAigAAAEkAAACLAAAASwAAAEwAAABNAAAATgAAAE8AAACMAAAAjQAAAE41ZHJhY281Nk1lc2hQcmVkaWN0aW9uU2NoZW1lQ29uc3RyYWluZWRNdWx0aVBhcmFsbGVsb2dyYW1EZWNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRGVjb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQAAABg7AAD8FQAAlBQAAAAAAAB8FwAAjgAAAI8AAACQAAAASQAAAJEAAACSAAAAkwAAAJQAAABOAAAATwAAAJUAAACWAAAATjVkcmFjbzM2TWVzaFByZWRpY3Rpb25TY2hlbWVUZXhDb29yZHNEZWNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRGVjb2RpbmdUcmFuc2Zvcm1JaWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQAAABg7AADoFgAAlBQAAAAAAABcGAAAlwAAAJgAAACZAAAASQAAAJoAAACbAAAAnAAAAJ0AAABOAAAATwAAAJ4AAACfAAAATjVkcmFjbzQ0TWVzaFByZWRpY3Rpb25TY2hlbWVUZXhDb29yZHNQb3J0YWJsZURlY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBEZWNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAAAAGDsAAMAXAACUFAAAAAAAADgZAACgAAAAoQAAAKIAAABJAAAAowAAAKQAAAClAAAApgAAAE4AAABPAAAApwAAAKgAAABONWRyYWNvNDJNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbERlY29kZXJJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBEZWNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFABg7AACgGAAAlBQAAAAAAACkGgAAqQAAAKoAAACrAAAArAAAAK0AAABONWRyYWNvNDhNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbFByZWRpY3RvckFyZWFJaU5TXzM3UHJlZGljdGlvblNjaGVtZVdyYXBEZWNvZGluZ1RyYW5zZm9ybUlpaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAE41ZHJhY280OE1lc2hQcmVkaWN0aW9uU2NoZW1lR2VvbWV0cmljTm9ybWFsUHJlZGljdG9yQmFzZUlpTlNfMzdQcmVkaWN0aW9uU2NoZW1lV3JhcERlY29kaW5nVHJhbnNmb3JtSWlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18xMUNvcm5lclRhYmxlRUVFRUUA8DoAAP4ZAAAYOwAAYBkAAJwaAAAAAAAAnBoAAKkAAACuAAAAIwAAAKwAAAAjAAAAAAAAAGAbAABGAAAArwAAALAAAABJAAAAsQAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAALIAAABONWRyYWNvMjhQcmVkaWN0aW9uU2NoZW1lRGVsdGFEZWNvZGVySWlOU18zN1ByZWRpY3Rpb25TY2hlbWVXcmFwRGVjb2RpbmdUcmFuc2Zvcm1JaWlFRUVFAAAAABg7AAAEGwAAZAwAAAAAAADUGwAAswAAALQAAAC1AAAALgAAAC8AAAC2AAAAQAAAADIAAABBAAAAtwAAALgAAAC5AAAAugAAAE41ZHJhY28zMlNlcXVlbnRpYWxOb3JtYWxBdHRyaWJ1dGVEZWNvZGVyRQAAGDsAAKgbAADwCQAAAAAAAOAdAAC7AAAAvAAAAL0AAAC+AAAAvwAAAMAAAADBAAAAwgAAAMMAAADEAAAAxQAAAMYAAABONWRyYWNvNDJNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbERlY29kZXJJaU5TXzQ5UHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25EZWNvZGluZ1RyYW5zZm9ybUlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVFRUVFAE41ZHJhY28yN01lc2hQcmVkaWN0aW9uU2NoZW1lRGVjb2RlcklpTlNfNDlQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkRlY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzIzUHJlZGljdGlvblNjaGVtZURlY29kZXJJaU5TXzQ5UHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25EZWNvZGluZ1RyYW5zZm9ybUlpRUVFRQAYOwAAaR0AAFgMAAAYOwAAyBwAAMgdAAAYOwAAGBwAANQdAAAAAAAAfB8AAMcAAADIAAAAyQAAAMoAAADLAAAATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JBcmVhSWlOU180OVByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uRGVjb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQBONWRyYWNvNDhNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbFByZWRpY3RvckJhc2VJaU5TXzQ5UHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25EZWNvZGluZ1RyYW5zZm9ybUlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVFRUVFAPA6AAC+HgAAGDsAAAgeAAB0HwAAAAAAAAQhAADMAAAAzQAAAM4AAAC+AAAAzwAAANAAAADRAAAA0gAAAMMAAADEAAAA0wAAANQAAABONWRyYWNvNDJNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbERlY29kZXJJaU5TXzQ5UHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25EZWNvZGluZ1RyYW5zZm9ybUlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18xMUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzI3TWVzaFByZWRpY3Rpb25TY2hlbWVEZWNvZGVySWlOU180OVByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uRGVjb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAAAYOwAAYyAAAMgdAAAYOwAAwB8AAPggAAAAAAAAiCIAANUAAADWAAAA1wAAANgAAADZAAAATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JBcmVhSWlOU180OVByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uRGVjb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAE41ZHJhY280OE1lc2hQcmVkaWN0aW9uU2NoZW1lR2VvbWV0cmljTm9ybWFsUHJlZGljdG9yQmFzZUlpTlNfNDlQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkRlY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQAAAPA6AADVIQAAGDsAACwhAACAIgAAAAAAADAjAADaAAAA2wAAANwAAAC+AAAA3QAAAN4AAADfAAAA4AAAAMMAAADEAAAA4QAAAOIAAABONWRyYWNvMjhQcmVkaWN0aW9uU2NoZW1lRGVsdGFEZWNvZGVySWlOU180OVByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uRGVjb2RpbmdUcmFuc2Zvcm1JaUVFRUUAGDsAAMwiAADIHQAAAAAAAGQlAADjAAAA5AAAAOUAAADmAAAA5wAAAOgAAADpAAAA6gAAAOsAAADsAAAA7QAAAO4AAABONWRyYWNvNDJNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbERlY29kZXJJaU5TXzYyUHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25DYW5vbmljYWxpemVkRGVjb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQBONWRyYWNvMjdNZXNoUHJlZGljdGlvblNjaGVtZURlY29kZXJJaU5TXzYyUHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25DYW5vbmljYWxpemVkRGVjb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMjRNZXNoQXR0cmlidXRlQ29ybmVyVGFibGVFRUVFRQBONWRyYWNvMjNQcmVkaWN0aW9uU2NoZW1lRGVjb2RlcklpTlNfNjJQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkNhbm9uaWNhbGl6ZWREZWNvZGluZ1RyYW5zZm9ybUlpRUVFRQAAGDsAAN8kAABYDAAAGDsAADEkAABMJQAAGDsAAHQjAABYJQAAAAAAABwnAADvAAAA8AAAAPEAAADyAAAA8wAAAE41ZHJhY280OE1lc2hQcmVkaWN0aW9uU2NoZW1lR2VvbWV0cmljTm9ybWFsUHJlZGljdG9yQXJlYUlpTlNfNjJQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkNhbm9uaWNhbGl6ZWREZWNvZGluZ1RyYW5zZm9ybUlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVFRUVFAE41ZHJhY280OE1lc2hQcmVkaWN0aW9uU2NoZW1lR2VvbWV0cmljTm9ybWFsUHJlZGljdG9yQmFzZUlpTlNfNjJQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkNhbm9uaWNhbGl6ZWREZWNvZGluZ1RyYW5zZm9ybUlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVFRUVFAAAA8DoAAE8mAAAYOwAAjCUAABQnAAAAAAAAwCgAAPQAAAD1AAAA9gAAAOYAAAD3AAAA+AAAAPkAAAD6AAAA6wAAAOwAAAD7AAAA/AAAAE41ZHJhY280Mk1lc2hQcmVkaWN0aW9uU2NoZW1lR2VvbWV0cmljTm9ybWFsRGVjb2RlcklpTlNfNjJQcmVkaWN0aW9uU2NoZW1lTm9ybWFsT2N0YWhlZHJvbkNhbm9uaWNhbGl6ZWREZWNvZGluZ1RyYW5zZm9ybUlpRUVOU18yNE1lc2hQcmVkaWN0aW9uU2NoZW1lRGF0YUlOU18xMUNvcm5lclRhYmxlRUVFRUUATjVkcmFjbzI3TWVzaFByZWRpY3Rpb25TY2hlbWVEZWNvZGVySWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZERlY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQAAAAAYOwAAECgAAEwlAAAYOwAAYCcAALQoAAAAAAAAXCoAAP0AAAD+AAAA/wAAAAABAAABAQAATjVkcmFjbzQ4TWVzaFByZWRpY3Rpb25TY2hlbWVHZW9tZXRyaWNOb3JtYWxQcmVkaWN0b3JBcmVhSWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZERlY29kaW5nVHJhbnNmb3JtSWlFRU5TXzI0TWVzaFByZWRpY3Rpb25TY2hlbWVEYXRhSU5TXzExQ29ybmVyVGFibGVFRUVFRQBONWRyYWNvNDhNZXNoUHJlZGljdGlvblNjaGVtZUdlb21ldHJpY05vcm1hbFByZWRpY3RvckJhc2VJaU5TXzYyUHJlZGljdGlvblNjaGVtZU5vcm1hbE9jdGFoZWRyb25DYW5vbmljYWxpemVkRGVjb2RpbmdUcmFuc2Zvcm1JaUVFTlNfMjRNZXNoUHJlZGljdGlvblNjaGVtZURhdGFJTlNfMTFDb3JuZXJUYWJsZUVFRUVFAPA6AACeKQAAGDsAAOgoAABUKgAAAAAAABQrAADaAAAAAgEAAAMBAADmAAAABAEAAAUBAAAGAQAABwEAAOsAAADsAAAACAEAAAkBAABONWRyYWNvMjhQcmVkaWN0aW9uU2NoZW1lRGVsdGFEZWNvZGVySWlOU182MlByZWRpY3Rpb25TY2hlbWVOb3JtYWxPY3RhaGVkcm9uQ2Fub25pY2FsaXplZERlY29kaW5nVHJhbnNmb3JtSWlFRUVFAAAAABg7AACgKgAATCUAAAAAAACYKwAACgEAAAsBAAAMAQAALgAAAC8AAAANAQAAQAAAADIAAABBAAAADgEAAEMAAABEAAAADwEAABABAAARAQAATjVkcmFjbzM4U2VxdWVudGlhbFF1YW50aXphdGlvbkF0dHJpYnV0ZURlY29kZXJFAAAAABg7AABkKwAA8AkAAAAAAAD4KwAAEgEAABMBAAAUAQAAFQEAACMAAAAWAQAAFwEAABgBAAAZAQAAGgEAABsBAAAcAQAAIwAAAE41ZHJhY28xMU1lc2hEZWNvZGVyRQAAABg7AADgKwAATDQAAAAAAABkLAAAHQEAAB4BAAAUAQAAHwEAACABAAAWAQAAFwEAABgBAAAhAQAAIgEAACMBAAAkAQAAJQEAAE41ZHJhY28yMk1lc2hFZGdlYnJlYWtlckRlY29kZXJFAAAAABg7AABALAAA+CsAAAAAAACILQAAJgEAACcBAAAoAQAAKQEAACoBAAArAQAALAEAAC0BAAAuAQAALwEAAP////8AAAAA7C0AADABAAAxAQAAMgEAADMBAAA0AQAANQEAADYBAAA3AQAAOAEAADkBAAAAAAAATC4AADoBAAA7AQAAPAEAAD0BAAA+AQAAPwEAAEABAABBAQAAQgEAAEMBAABONWRyYWNvMjZNZXNoRWRnZWJyZWFrZXJEZWNvZGVySW1wbElOU18zMU1lc2hFZGdlYnJlYWtlclRyYXZlcnNhbERlY29kZXJFRUUATjVkcmFjbzM1TWVzaEVkZ2VicmVha2VyRGVjb2RlckltcGxJbnRlcmZhY2VFAAAA8DoAAFAtAAAYOwAABC0AAIAtAABONWRyYWNvMjZNZXNoRWRnZWJyZWFrZXJEZWNvZGVySW1wbElOU180MU1lc2hFZGdlYnJlYWtlclRyYXZlcnNhbFByZWRpY3RpdmVEZWNvZGVyRUVFAAAAGDsAAJQtAACALQAATjVkcmFjbzI2TWVzaEVkZ2VicmVha2VyRGVjb2RlckltcGxJTlNfMzhNZXNoRWRnZWJyZWFrZXJUcmF2ZXJzYWxWYWxlbmNlRGVjb2RlckVFRQAAGDsAAPgtAACALQAAAAAAAEgvAABEAQAARQEAAEYBAABONWRyYWNvMTlEZXB0aEZpcnN0VHJhdmVyc2VySU5TXzI0TWVzaEF0dHJpYnV0ZUNvcm5lclRhYmxlRU5TXzM2TWVzaEF0dHJpYnV0ZUluZGljZXNFbmNvZGluZ09ic2VydmVySVMxX0VFRUUATjVkcmFjbzEzVHJhdmVyc2VyQmFzZUlOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVOU18zNk1lc2hBdHRyaWJ1dGVJbmRpY2VzRW5jb2RpbmdPYnNlcnZlcklTMV9FRUVFAPA6AADZLgAAGDsAAGwuAABALwAAAAAAAEAvAABHAQAASAEAAEYB");l(e,12148,"AQAAAAMAAAAFAAAABwAAAAAAAABIMAAASQEAAEoBAABLAQAATAEAAE41ZHJhY28yMk1lc2hUcmF2ZXJzYWxTZXF1ZW5jZXJJTlNfMjhNYXhQcmVkaWN0aW9uRGVncmVlVHJhdmVyc2VySU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzJfRUVFRUVFAE41ZHJhY28xNVBvaW50c1NlcXVlbmNlckUAAAAA8DoAACMwAAAYOwAAnC8AAEAwAAD/////AAAAADgxAABNAQAATgEAAE8BAABONWRyYWNvMjhNYXhQcmVkaWN0aW9uRGVncmVlVHJhdmVyc2VySU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzFfRUVFRQBONWRyYWNvMTNUcmF2ZXJzZXJCYXNlSU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzFfRUVFRQAA8DoAANUwAAAYOwAAbDAAADAxAAAAAAAAMDEAAFABAABRAQAATwEAAAAAAADwMQAAUgEAAFMBAABUAQAAVQEAAE41ZHJhY28yMk1lc2hUcmF2ZXJzYWxTZXF1ZW5jZXJJTlNfMTlEZXB0aEZpcnN0VHJhdmVyc2VySU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzJfRUVFRUVFAAAAGDsAAHAxAABAMAAAAAAAAHAyAABWAQAAVwEAAE8BAABONWRyYWNvMTlEZXB0aEZpcnN0VHJhdmVyc2VySU5TXzExQ29ybmVyVGFibGVFTlNfMzZNZXNoQXR0cmlidXRlSW5kaWNlc0VuY29kaW5nT2JzZXJ2ZXJJUzFfRUVFRQAYOwAAEDIAADAxAAAAAAAAIDMAAFgBAABZAQAAWgEAAFsBAABONWRyYWNvMjJNZXNoVHJhdmVyc2FsU2VxdWVuY2VySU5TXzE5RGVwdGhGaXJzdFRyYXZlcnNlcklOU18yNE1lc2hBdHRyaWJ1dGVDb3JuZXJUYWJsZUVOU18zNk1lc2hBdHRyaWJ1dGVJbmRpY2VzRW5jb2RpbmdPYnNlcnZlcklTMl9FRUVFRUUAABg7AACUMgAAQDA=");l(e,13108,"jDMAABIBAABcAQAAFAEAABUBAABdAQAAFgEAABcBAAAYAQAAGQEAABoBAAAbAQAAHAEAAF4BAABONWRyYWNvMjFNZXNoU2VxdWVudGlhbERlY29kZXJFABg7AABsMwAA+CsAAAAAAADMMwAAXwEAAGABAABhAQAAYgEAAE41ZHJhY28xNUxpbmVhclNlcXVlbmNlckUAAAAYOwAAsDMAAEAwAAAAAAAATDQAABIBAABjAQAAZAEAABUBAAAjAAAAZQEAABcBAAAYAQAAGQE=");l(e,13328,"RmFpbGVkIHRvIHBhcnNlIERyYWNvIGhlYWRlci4ATjVkcmFjbzE3UG9pbnRDbG91ZERlY29kZXJFAAAA8DoAAC40AAAAAAAApDQAABIBAABmAQAAZAEAABUBAABnAQAAaAEAABcBAAAYAQAAGQEAAE41ZHJhY28yM1BvaW50Q2xvdWRLZFRyZWVEZWNvZGVyRQAAABg7AACANAAATDQAAAAAAAAENQAAEgEAAGkBAABkAQAAFQEAAGoBAABrAQAAFwEAABgBAAAZAQAATjVkcmFjbzI3UG9pbnRDbG91ZFNlcXVlbnRpYWxEZWNvZGVyRQAAABg7AADcNAAATDQAAAEAAAABAAAAAgAAAAIAAAAEAAAABAAAAAgAAAAIAAAABAAAAAgAAAAB");l(e,13635,"wAAAAMAAAADAAAAAwP//////////AAAAAIA1AABsAQAAbQEAAG4BAABvAQAATjVkcmFjbzRNZXNoRQAAABg7AABwNQAAxDUAAP////8AAAAAAAAAAMQ1AABwAQAAcQEAAHIBAABzAQAATjVkcmFjbzEwUG9pbnRDbG91ZEUAAAAA8DoAAKw1AAC4PAAAGQAKABkZGQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAAZABEKGRkZAwoHAAEACQsYAAAJBgsAAAsABhkAAAAZGRk=");l(e,13857,"DgAAAAAAAAAAGQAKDRkZGQANAAACAAkOAAAACQAOAAAO");l(e,13915,"DA==");l(e,13927,"EwAAAAATAAAAAAkMAAAAAAAMAAAM");l(e,13973,"EA==");l(e,13985,"DwAAAAQPAAAAAAkQAAAAAAAQAAAQ");l(e,14031,"Eg==");l(e,14043,"EQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoa");l(e,14098,"GgAAABoaGgAAAAAAAAk=");l(e,14147,"FA==");l(e,14159,"FwAAAAAXAAAAAAkUAAAAAAAUAAAU");l(e,14205,"Fg==");l(e,14217,"FQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVGAAAAAAIAAAADAAAABQAAAAcAAAALAAAADQAAABEAAAATAAAAFwAAAB0AAAAfAAAAJQAAACkAAAArAAAALwAAADUAAAA7AAAAPQAAAEMAAABHAAAASQAAAE8AAABTAAAAWQAAAGEAAABlAAAAZwAAAGsAAABtAAAAcQAAAH8AAACDAAAAiQAAAIsAAACVAAAAlwAAAJ0AAACjAAAApwAAAK0AAACzAAAAtQAAAL8AAADBAAAAxQAAAMcAAADTAAAAAQAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAeQAAAH8AAACDAAAAiQAAAIsAAACPAAAAlQAAAJcAAACdAAAAowAAAKcAAACpAAAArQAAALMAAAC1AAAAuwAAAL8AAADBAAAAxQAAAMcAAADRAAAAMDAwMTAyMDMwNDA1MDYwNzA4MDkxMDExMTIxMzE0MTUxNjE3MTgxOTIwMjEyMjIzMjQyNTI2MjcyODI5MzAzMTMyMzMzNDM1MzYzNzM4Mzk0MDQxNDI0MzQ0NDU0NjQ3NDg0OTUwNTE1MjUzNTQ1NTU2NTc1ODU5NjA2MTYyNjM2NDY1NjY2NzY4Njk3MDcxNzI3Mzc0NzU3Njc3Nzg3OTgwODE4MjgzODQ4NTg2ODc4ODg5OTA5MTkyOTM5NDk1OTY5Nzk4OTk=");l(e,14852,"CgAAAGQAAADoAwAAECcAAKCGAQBAQg8AgJaYAADh9QUAypo7TjEwX19jeHhhYml2MTE2X19zaGltX3R5cGVfaW5mb0UAAAAAGDsAACg6AACsPAAATjEwX19jeHhhYml2MTE3X19jbGFzc190eXBlX2luZm9FAAAAGDsAAFg6AABMOgAATjEwX19jeHhhYml2MTE3X19wYmFzZV90eXBlX2luZm9FAAAAGDsAAIg6AABMOgAATjEwX19jeHhhYml2MTE5X19wb2ludGVyX3R5cGVfaW5mb0UAGDsAALg6AACsOgAAAAAAAHw6AAB5AQAAegEAAHsBAAB8AQAAfQEAAH4BAAB/AQAAgAEAAAAAAABgOwAAeQEAAIEBAAB7AQAAfAEAAH0BAACCAQAAgwEAAIQBAABOMTBfX2N4eGFiaXYxMjBfX3NpX2NsYXNzX3R5cGVfaW5mb0UAAAAAGDsAADg7AAB8OgAAAAAAANA7AAAOAAAAhQEAAIYBAAAAAAAA+DsAAA4AAACHAQAAiAEAAAAAAAC4OwAADgAAAIkBAACKAQAAU3Q5ZXhjZXB0aW9uAAAAAPA6AACoOwAAU3Q5YmFkX2FsbG9jAAAAABg7AADAOwAAuDsAAFN0MjBiYWRfYXJyYXlfbmV3X2xlbmd0aAAAAAAYOwAA3DsAANA7AAAAAAAAKDwAAAEAAACLAQAAjAEAAFN0MTFsb2dpY19lcnJvcgAYOwAAGDwAALg7AAAAAAAAXDwAAAEAAACNAQAAjAEAAFN0MTJsZW5ndGhfZXJyb3IAAAAAGDsAAEg8AAAoPAAAAAAAAJA8AAABAAAAjgEAAIwBAABTdDEyb3V0X29mX3JhbmdlAAAAABg7AAB8PAAAKDwAAFN0OXR5cGVfaW5mbwAAAADwOgAAnDw=");l(e,15544,"BQ==");l(e,15556,"dAE=");l(e,15580,"dQEAAHYBAABsPg==");l(e,15604,"Ag==");l(e,15620,"//////////8=");l(e,15688,"BQ==");l(e,15700,"dwE=");l(e,15724,"dQEAAHgBAAB4PgAAAAQ=");l(e,15748,"AQ==");l(e,15764,"/////wo=");l(e,15832,"IEVQ")}var r=new ArrayBuffer(16);var s=new Int32Array(r);var t=new Float32Array(r);var u=new Float64Array(r);function v(){throw new Error("abort")}function w(x){t[2]=x}function y(z){return s[z]}function A(z,x){s[z]=x}function B(){return t[2]}function pa(q){var C=q.a;var D=C.a;var E=D.buffer;D.grow=na;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=NaN;var Y=Infinity;var Z=C.b;var _=C.c;var $=C.d;var aa=C.e;var ba=C.f;var ca=C.g;var da=C.h;var ea=C.i;var fa=5260576;var ga=0;
// EMSCRIPTEN_START_FUNCS
function Td(a,b,c){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,w=0,x=0,y=0,z=0,A=0;x=fa-672|0;fa=x;d=H[b+12>>2];e=H[b+20>>2];i=H[b+16>>2];l=i+4|0;e=l>>>0<4?e+1|0:e;a:{b:{c:{if((d|0)<=(e|0)&l>>>0>K[b+8>>2]|(d|0)<(e|0)){break c}e=i+H[b>>2]|0;H[a>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];d=e;l=H[b+16>>2];i=l+4|0;e=i>>>0<4?d+1|0:d;n=i;H[b+16>>2]=i;H[b+20>>2]=e;if(K[a>>2]>31){break c}i=H[b+12>>2];e=d;d=l+8|0;e=d>>>0<8?e+1|0:e;if(d>>>0>K[b+8>>2]&(e|0)>=(i|0)|(e|0)>(i|0)){break c}e=n+H[b>>2]|0;H[a+4>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];d=e;l=H[b+16>>2];i=l+4|0;e=i>>>0<4?d+1|0:d;n=i;H[b+16>>2]=i;H[b+20>>2]=e;i=H[b+12>>2];e=d;d=l+8|0;e=d>>>0<8?e+1|0:e;if(d>>>0>K[b+8>>2]&(e|0)>=(i|0)|(e|0)>(i|0)){break c}e=n+H[b>>2]|0;H[a+12>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];d=e;l=H[b+16>>2];i=l+4|0;e=i>>>0<4?d+1|0:d;t=i;H[b+16>>2]=i;H[b+20>>2]=e;e=H[a+20>>2];n=H[a+12>>2];if((n|0)!=(e|0)?e:0){break c}i=H[b+12>>2];e=d;d=l+8|0;e=d>>>0<8?e+1|0:e;if(d>>>0>K[b+8>>2]&(e|0)>=(i|0)|(e|0)>(i|0)){break c}e=t+H[b>>2]|0;d=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[a+16>>2]=d;e=H[b+20>>2];i=H[b+16>>2]+4|0;e=i>>>0<4?e+1|0:e;H[b+16>>2]=i;H[b+20>>2]=e;if(d>>>0>=7){H[x>>2]=d;Pd(1713,x);break c}H[x+664>>2]=c;d:{if(!n){break d}e:{l=H[c>>2];if(n>>>0<=(H[c+8>>2]-l|0)/12>>>0){break e}if(n>>>0<357913942){i=H[c+4>>2];d=N(n,12);e=sa(d);n=d+e|0;d=e+N((i-l|0)/12|0,12)|0;e=d;if((i|0)!=(l|0)){e=d;while(1){e=e-12|0;i=i-12|0;H[e>>2]=H[i>>2];H[e+4>>2]=H[i+4>>2];H[e+8>>2]=H[i+8>>2];if((i|0)!=(l|0)){continue}break}}H[c+8>>2]=n;H[c+4>>2]=d;H[c>>2]=e;if(!l){break e}ra(l);break e}break b}f:{switch(H[a+16>>2]){case 0:g=zb(x+8|0,3);t=x+664|0;d=H[b+12>>2];e=H[b+20>>2];h=H[b+16>>2];i=h+4|0;e=i>>>0<4?e+1|0:e;g:{if((d|0)<=(e|0)&i>>>0>K[b+8>>2]|(d|0)<(e|0)){break g}e=h+H[b>>2]|0;H[g>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];d=e;i=H[b+16>>2];h=i+4|0;e=h>>>0<4?d+1|0:d;j=h;H[b+16>>2]=h;H[b+20>>2]=e;if(K[g>>2]>32){break g}h=H[b+12>>2];e=d;d=i+8|0;e=d>>>0<8?e+1|0:e;if(d>>>0>K[b+8>>2]&(e|0)>=(h|0)|(e|0)>(h|0)){break g}e=j+H[b>>2]|0;d=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[g+4>>2]=d;e=H[b+20>>2];h=H[b+16>>2]+4|0;e=h>>>0<4?e+1|0:e;H[b+16>>2]=h;H[b+20>>2]=e;if(!d){break g}H[g+8>>2]=0;if(!xa(g+16|0,b)){break g}if(!xa(g+36|0,b)){break g}if(!xa(g+56|0,b)){break g}if(!xa(g+76|0,b)){break g}q=H[g+4>>2];j=0;d=fa-32|0;fa=d;h=H[g+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;if(h){if(h>>>0>=1073741824){break b}b=h<<2;j=sa(b);H[d+8>>2]=j;f=b+j|0;H[d+16>>2]=f;ua(j,0,b);H[d+12>>2]=f}b=H[g+120>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);h=H[g+12>>2];j=H[d+8>>2];f=H[d+12>>2]}H[b+4>>2]=f;H[b>>2]=j;H[b+8>>2]=H[d+16>>2];j=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;h:{if(h){if(h>>>0>=1073741824){break b}b=h<<2;k=sa(b);H[d+8>>2]=k;j=b+k|0;H[d+16>>2]=j;ua(k,0,b);H[d+12>>2]=j}b=H[g+132>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);k=H[d+8>>2];j=H[d+12>>2]}H[b+4>>2]=j;H[b>>2]=k;H[b+8>>2]=H[d+16>>2];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;ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;e=(b>>>0)/341|0;b=H[H[d+12>>2]+(e<<2)>>2]+N(b-N(e,341)|0,12)|0;H[b+4>>2]=0;H[b+8>>2]=0;H[b>>2]=q;h=H[d+28>>2]+1|0;H[d+28>>2]=h;i:{if(!h){break i}z=g+96|0;while(1){b=H[d+12>>2];j=H[d+24>>2];k=h-1|0;e=j+k|0;f=(e>>>0)/341|0;e=H[b+(f<<2)>>2]+N(e-N(f,341)|0,12)|0;n=H[e+8>>2];f=H[e+4>>2];i=H[e>>2];H[d+28>>2]=k;e=H[d+16>>2];if((((b|0)!=(e|0)?N(e-b>>2,341)-1|0:0)-(h+j|0)|0)+1>>>0>=682){ra(H[e-4>>2]);H[d+16>>2]=H[d+16>>2]-4}e=0;if(i>>>0>q>>>0){break i}b=H[g+12>>2];h=(f|0)!=(b-1|0)?f+1|0:0;if(h>>>0>=b>>>0){break i}j=N(n,12);m=j+H[g+132>>2]|0;l=j+H[g+120>>2]|0;f=H[g>>2];o=h<<2;k=H[o+H[m>>2]>>2];j:{k:{if((f|0)==(k|0)){if(!i){break k}while(1){b=H[l>>2];m=H[b+8>>2];o=H[b+4>>2];p=H[b>>2];f=H[t>>2];h=H[f+4>>2];k=H[f+8>>2];l:{if(h>>>0<k>>>0){H[h+8>>2]=m;H[h+4>>2]=o;H[h>>2]=p;H[f+4>>2]=h+12;break l}j=H[f>>2];u=(h-j|0)/12|0;b=u+1|0;if(b>>>0>=357913942){break b}k=(k-j|0)/12|0;n=k<<1;n=k>>>0>=178956970?357913941:b>>>0<n>>>0?n:b;if(n){if(n>>>0>=357913942){break a}b=sa(N(n,12))}else{b=0}k=b+N(u,12)|0;H[k+8>>2]=m;H[k+4>>2]=o;H[k>>2]=p;m=k+12|0;if((h|0)!=(j|0)){while(1){k=k-12|0;h=h-12|0;H[k>>2]=H[h>>2];H[k+4>>2]=H[h+4>>2];H[k+8>>2]=H[h+8>>2];if((h|0)!=(j|0)){continue}break}}H[f+8>>2]=b+N(n,12);H[f+4>>2]=m;H[f>>2]=k;if(!j){break l}ra(j)}H[g+8>>2]=H[g+8>>2]+1;e=e+1|0;if((i|0)!=(e|0)){continue}break}break k}m:{n:{o:{p:{if(i>>>0<=2){b=H[g+108>>2];H[b>>2]=h;k=1;j=H[g+12>>2];if(j>>>0>1){break p}break m}if(K[g+8>>2]>K[g+4>>2]){break i}b=H[g+120>>2];p=n+1|0;m=N(p,12);e=b+m|0;if((e|0)!=(l|0)){Ca(e,H[l>>2],H[l+4>>2]);b=H[g+120>>2]}b=o+H[b+m>>2]|0;H[b>>2]=H[b>>2]+(1<<f+(k^-1));b=Q(i)^31;e=H[g+32>>2];k=32-e|0;q:{if((b|0)<=(k|0)){f=H[g+28>>2];if((f|0)==H[g+20>>2]){break o}k=H[f>>2];l=b+e|0;H[g+32>>2]=l;k=k<<e>>>32-b|0;if((l|0)!=32){break q}H[g+32>>2]=0;H[g+28>>2]=f+4;break q}f=H[g+28>>2];l=f+4|0;if((l|0)==H[g+20>>2]){break o}u=H[f>>2];H[g+28>>2]=l;k=b-k|0;H[g+32>>2]=k;k=H[f+4>>2]>>>32-k|u<<e>>>32-b}f=i>>>1|0;if(k>>>0>f>>>0){break i}break n}while(1){h=(j-1|0)!=(h|0)?h+1|0:0;H[b+(k<<2)>>2]=h;j=H[g+12>>2];k=k+1|0;if(j>>>0>k>>>0){continue}break}break m}f=i>>>1|0;k=0}r:{s:{b=f-k|0;e=i-b|0;t:{if((e|0)==(b|0)){e=b;break t}f=H[g+88>>2];if((f|0)==H[g+80>>2]){break s}i=H[f>>2];k=H[g+92>>2];l=k+1|0;H[g+92>>2]=l;i=i&-2147483648>>>k;u:{if((l|0)==32){H[g+92>>2]=0;H[g+88>>2]=f+4;if(i){break u}break s}if(!i){break s}}}f=e;e=b;break r}f=b}b=H[g+132>>2];i=b+j|0;j=H[i>>2];k=j+o|0;H[k>>2]=H[k>>2]+1;Ca(b+m|0,j,H[i+4>>2]);if(e){j=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];k=H[d+12>>2];if((j|0)==(((b|0)!=(k|0)?N(b-k>>2,341)-1|0:0)|0)){ya(d+8|0);k=H[d+12>>2];j=H[d+24>>2]+H[d+28>>2]|0}b=(j>>>0)/341|0;b=H[(b<<2)+k>>2]+N(j-N(b,341)|0,12)|0;H[b+8>>2]=n;H[b+4>>2]=h;H[b>>2]=e;H[d+28>>2]=H[d+28>>2]+1}if(!f){break k}j=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];k=H[d+12>>2];if((j|0)==(((b|0)!=(k|0)?N(b-k>>2,341)-1|0:0)|0)){ya(d+8|0);k=H[d+12>>2];j=H[d+24>>2]+H[d+28>>2]|0}b=(j>>>0)/341|0;b=H[(b<<2)+k>>2]+N(j-N(b,341)|0,12)|0;H[b+8>>2]=p;H[b+4>>2]=h;H[b>>2]=f;h=H[d+28>>2]+1|0;H[d+28>>2]=h;break j}if(!i){break k}while(1){if(H[g+12>>2]){j=H[g+40>>2];u=H[m>>2];f=H[g+96>>2];s=H[g+108>>2];h=0;while(1){k=s+(h<<2)|0;H[f+(H[k>>2]<<2)>>2]=0;b=H[g>>2];n=H[k>>2]<<2;o=H[n+u>>2];v:{if((b|0)==(o|0)){break v}n=f+n|0;b=b-o|0;o=H[g+52>>2];w=32-o|0;if((b|0)<=(w|0)){p=H[g+48>>2];if((p|0)==(j|0)){break i}H[n>>2]=H[p>>2]<<o>>>32-b;b=b+H[g+52>>2]|0;H[g+52>>2]=b;if((b|0)!=32){break v}H[g+52>>2]=0;H[g+48>>2]=p+4;break v}p=H[g+48>>2];r=p+4|0;if((r|0)==(j|0)){break i}y=H[p>>2];H[g+48>>2]=r;w=b-w|0;H[g+52>>2]=w;H[n>>2]=H[p+4>>2]>>>32-w|y<<o>>>32-b}b=H[k>>2]<<2;k=b+f|0;H[k>>2]=H[k>>2]|H[b+H[l>>2]>>2];h=h+1|0;if(h>>>0<K[g+12>>2]){continue}break}}nb(t,z);H[g+8>>2]=H[g+8>>2]+1;e=e+1|0;if((i|0)!=(e|0)){continue}break}}h=H[d+28>>2]}if(h){continue}break}}H[d+28>>2]=0;k=H[d+16>>2];h=H[d+12>>2];j=k-h|0;if(j>>>0>=9){while(1){ra(H[h>>2]);h=H[d+12>>2]+4|0;H[d+12>>2]=h;k=H[d+16>>2];j=k-h|0;if(j>>>0>8){continue}break}}b=170;w:{switch((j>>>2|0)-1|0){case 1:b=341;case 0:H[d+24>>2]=b;break;default:break w}}x:{if((h|0)==(k|0)){break x}while(1){ra(H[h>>2]);h=h+4|0;if((k|0)!=(h|0)){continue}break}b=H[d+16>>2];e=H[d+12>>2];if((b|0)==(e|0)){break x}H[d+16>>2]=b+((e-b|0)+3&-4)}b=H[d+8>>2];if(b){ra(b)}fa=d+32|0;break h}}Ab(g);break d;case 1:g=zb(x+8|0,3);n=x+664|0;f=H[b+12>>2];e=H[b+20>>2];d=H[b+16>>2];h=d+4|0;e=h>>>0<4?e+1|0:e;y:{if(h>>>0>K[b+8>>2]&(e|0)>=(f|0)|(e|0)>(f|0)){break y}e=d+H[b>>2]|0;H[g>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];f=e;h=H[b+16>>2];d=h+4|0;e=d>>>0<4?e+1|0:e;i=d;H[b+16>>2]=d;H[b+20>>2]=e;if(K[g>>2]>32){break y}d=H[b+12>>2];e=f;f=h+8|0;e=f>>>0<8?e+1|0:e;if((d|0)<=(e|0)&f>>>0>K[b+8>>2]|(d|0)<(e|0)){break y}e=i+H[b>>2]|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[g+4>>2]=f;e=H[b+20>>2];d=H[b+16>>2]+4|0;e=d>>>0<4?e+1|0:e;H[b+16>>2]=d;H[b+20>>2]=e;if(!f){break y}H[g+8>>2]=0;if(!xa(g+16|0,b)){break y}if(!xa(g+36|0,b)){break y}if(!xa(g+56|0,b)){break y}if(!xa(g+76|0,b)){break y}t=H[g+4>>2];f=0;d=fa-32|0;fa=d;h=H[g+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;if(h){if(h>>>0>=1073741824){break b}b=h<<2;k=sa(b);H[d+8>>2]=k;f=b+k|0;H[d+16>>2]=f;ua(k,0,b);H[d+12>>2]=f}b=H[g+120>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);h=H[g+12>>2];k=H[d+8>>2];f=H[d+12>>2]}H[b+4>>2]=f;H[b>>2]=k;H[b+8>>2]=H[d+16>>2];k=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;z:{if(h){if(h>>>0>=1073741824){break b}b=h<<2;j=sa(b);H[d+8>>2]=j;k=b+j|0;H[d+16>>2]=k;ua(j,0,b);H[d+12>>2]=k}b=H[g+132>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);k=H[d+12>>2];j=H[d+8>>2]}H[b+4>>2]=k;H[b>>2]=j;H[b+8>>2]=H[d+16>>2];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;ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;e=(b>>>0)/341|0;b=H[H[d+12>>2]+(e<<2)>>2]+N(b-N(e,341)|0,12)|0;H[b+4>>2]=0;H[b+8>>2]=0;H[b>>2]=t;h=H[d+28>>2]+1|0;H[d+28>>2]=h;A:{if(!h){break A}z=g+96|0;while(1){b=H[d+12>>2];k=H[d+24>>2];j=h-1|0;e=k+j|0;f=(e>>>0)/341|0;e=H[b+(f<<2)>>2]+N(e-N(f,341)|0,12)|0;i=H[e+8>>2];f=H[e+4>>2];e=H[e>>2];H[d+28>>2]=j;j=H[d+16>>2];if((((b|0)!=(j|0)?N(j-b>>2,341)-1|0:0)-(h+k|0)|0)+1>>>0>=682){ra(H[j-4>>2]);H[d+16>>2]=H[d+16>>2]-4}if(e>>>0>t>>>0){break A}b=H[g+12>>2];h=(f|0)!=(b-1|0)?f+1|0:0;if(h>>>0>=b>>>0){break A}b=H[g+120>>2];k=N(i,12);l=b+k|0;f=H[g>>2];q=h<<2;p=k+H[g+132>>2]|0;j=H[q+H[p>>2]>>2];B:{C:{if((f|0)==(j|0)){q=0;if(!e){break C}while(1){b=H[l>>2];m=H[b+8>>2];o=H[b+4>>2];p=H[b>>2];f=H[n>>2];h=H[f+4>>2];j=H[f+8>>2];D:{if(h>>>0<j>>>0){H[h+8>>2]=m;H[h+4>>2]=o;H[h>>2]=p;H[f+4>>2]=h+12;break D}i=H[f>>2];u=(h-i|0)/12|0;b=u+1|0;if(b>>>0>=357913942){break b}j=(j-i|0)/12|0;k=j<<1;k=j>>>0>=178956970?357913941:b>>>0<k>>>0?k:b;if(k){if(k>>>0>=357913942){break a}b=sa(N(k,12))}else{b=0}j=b+N(u,12)|0;H[j+8>>2]=m;H[j+4>>2]=o;H[j>>2]=p;m=j+12|0;if((h|0)!=(i|0)){while(1){j=j-12|0;h=h-12|0;H[j>>2]=H[h>>2];H[j+4>>2]=H[h+4>>2];H[j+8>>2]=H[h+8>>2];if((h|0)!=(i|0)){continue}break}}H[f+8>>2]=b+N(k,12);H[f+4>>2]=m;H[f>>2]=j;if(!i){break D}ra(i)}H[g+8>>2]=H[g+8>>2]+1;q=q+1|0;if((e|0)!=(q|0)){continue}break}break C}E:{F:{G:{H:{if(e>>>0<=2){b=H[g+108>>2];H[b>>2]=h;j=1;k=H[g+12>>2];if(k>>>0>1){break H}break E}if(K[g+8>>2]>K[g+4>>2]){break A}m=b;b=k+12|0;Ca(m+b|0,H[l>>2],H[l+4>>2]);b=q+H[b+H[g+120>>2]>>2]|0;H[b>>2]=H[b>>2]+(1<<f+(j^-1));b=Q(e)^31;f=H[g+32>>2];l=32-f|0;I:{if((b|0)<=(l|0)){j=H[g+28>>2];if((j|0)==H[g+20>>2]){break G}l=H[j>>2];m=b+f|0;H[g+32>>2]=m;f=l<<f>>>32-b|0;if((m|0)!=32){break I}H[g+32>>2]=0;H[g+28>>2]=j+4;break I}j=H[g+28>>2];m=j+4|0;if((m|0)==H[g+20>>2]){break G}o=H[j>>2];H[g+28>>2]=m;l=b-l|0;H[g+32>>2]=l;f=H[j+4>>2]>>>32-l|o<<f>>>32-b}j=e>>>1|0;if(j>>>0<f>>>0){break A}break F}while(1){h=(k-1|0)!=(h|0)?h+1|0:0;H[b+(j<<2)>>2]=h;j=j+1|0;k=H[g+12>>2];if(j>>>0<k>>>0){continue}break}break E}j=e>>>1|0;f=0}l=i+1|0;J:{K:{b=j-f|0;f=e-b|0;L:{if((f|0)==(b|0)){e=b;break L}e=H[g+88>>2];if((e|0)==H[g+80>>2]){break K}j=H[e>>2];m=H[g+92>>2];o=m+1|0;H[g+92>>2]=o;j=j&-2147483648>>>m;M:{if((o|0)==32){H[g+92>>2]=0;H[g+88>>2]=e+4;if(j){break M}break K}if(!j){break K}}e=f}f=b;break J}e=b}b=H[g+132>>2];j=b+k|0;k=H[j>>2];q=k+q|0;H[q>>2]=H[q>>2]+1;Ca(b+N(l,12)|0,k,H[j+4>>2]);if(f){k=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];j=H[d+12>>2];if((k|0)==(((b|0)!=(j|0)?N(b-j>>2,341)-1|0:0)|0)){ya(d+8|0);k=H[d+24>>2]+H[d+28>>2]|0;j=H[d+12>>2]}b=(k>>>0)/341|0;b=H[j+(b<<2)>>2]+N(k-N(b,341)|0,12)|0;H[b+8>>2]=i;H[b+4>>2]=h;H[b>>2]=f;H[d+28>>2]=H[d+28>>2]+1}if(!e){break C}k=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];j=H[d+12>>2];if((k|0)==(((b|0)!=(j|0)?N(b-j>>2,341)-1|0:0)|0)){ya(d+8|0);k=H[d+24>>2]+H[d+28>>2]|0;j=H[d+12>>2]}b=(k>>>0)/341|0;b=H[j+(b<<2)>>2]+N(k-N(b,341)|0,12)|0;H[b+8>>2]=l;H[b+4>>2]=h;H[b>>2]=e;h=H[d+28>>2]+1|0;H[d+28>>2]=h;break B}k=0;if(!e){break C}while(1){if(H[g+12>>2]){i=H[g+40>>2];u=H[p>>2];f=H[g+96>>2];s=H[g+108>>2];h=0;while(1){j=s+(h<<2)|0;H[f+(H[j>>2]<<2)>>2]=0;b=H[g>>2];q=H[j>>2]<<2;m=H[q+u>>2];N:{if((b|0)==(m|0)){break N}q=f+q|0;b=b-m|0;m=H[g+52>>2];w=32-m|0;if((b|0)<=(w|0)){o=H[g+48>>2];if((o|0)==(i|0)){break A}H[q>>2]=H[o>>2]<<m>>>32-b;b=b+H[g+52>>2]|0;H[g+52>>2]=b;if((b|0)!=32){break N}H[g+52>>2]=0;H[g+48>>2]=o+4;break N}o=H[g+48>>2];r=o+4|0;if((r|0)==(i|0)){break A}y=H[o>>2];H[g+48>>2]=r;w=b-w|0;H[g+52>>2]=w;H[q>>2]=H[o+4>>2]>>>32-w|y<<m>>>32-b}b=H[j>>2]<<2;j=b+f|0;H[j>>2]=H[j>>2]|H[b+H[l>>2]>>2];h=h+1|0;if(h>>>0<K[g+12>>2]){continue}break}}nb(n,z);H[g+8>>2]=H[g+8>>2]+1;k=k+1|0;if((e|0)!=(k|0)){continue}break}}h=H[d+28>>2]}if(h){continue}break}}H[d+28>>2]=0;j=H[d+16>>2];h=H[d+12>>2];k=j-h|0;if(k>>>0>=9){while(1){ra(H[h>>2]);h=H[d+12>>2]+4|0;H[d+12>>2]=h;j=H[d+16>>2];k=j-h|0;if(k>>>0>8){continue}break}}b=170;O:{switch((k>>>2|0)-1|0){case 1:b=341;case 0:H[d+24>>2]=b;break;default:break O}}P:{if((h|0)==(j|0)){break P}while(1){ra(H[h>>2]);h=h+4|0;if((j|0)!=(h|0)){continue}break}b=H[d+16>>2];e=H[d+12>>2];if((b|0)==(e|0)){break P}H[d+16>>2]=b+((e-b|0)+3&-4)}b=H[d+8>>2];if(b){ra(b)}fa=d+32|0;break z}}Ab(g);break d;case 2:h=xb(x+8|0,3);t=x+664|0;f=H[b+12>>2];e=H[b+20>>2];d=H[b+16>>2];g=d+4|0;e=g>>>0<4?e+1|0:e;Q:{if(g>>>0>K[b+8>>2]&(e|0)>=(f|0)|(e|0)>(f|0)){break Q}e=d+H[b>>2]|0;H[h>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];f=e;g=H[b+16>>2];d=g+4|0;e=d>>>0<4?e+1|0:e;i=d;H[b+16>>2]=d;H[b+20>>2]=e;if(K[h>>2]>32){break Q}d=H[b+12>>2];e=f;f=g+8|0;e=f>>>0<8?e+1|0:e;if((d|0)<=(e|0)&f>>>0>K[b+8>>2]|(d|0)<(e|0)){break Q}e=i+H[b>>2]|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[h+4>>2]=f;e=H[b+20>>2];d=H[b+16>>2]+4|0;e=d>>>0<4?e+1|0:e;H[b+16>>2]=d;H[b+20>>2]=e;if(!f){break Q}H[h+8>>2]=0;if(!wa(h+16|0,b)){break Q}if(!xa(h+32|0,b)){break Q}if(!xa(h+52|0,b)){break Q}if(!xa(h+72|0,b)){break Q}q=H[h+4>>2];e=0;d=fa-32|0;fa=d;g=H[h+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;if(g){if(g>>>0>=1073741824){break b}b=g<<2;j=sa(b);H[d+8>>2]=j;e=b+j|0;H[d+16>>2]=e;ua(j,0,b);H[d+12>>2]=e}b=H[h+116>>2];f=H[b>>2];if(f){H[b+4>>2]=f;ra(f);g=H[h+12>>2];j=H[d+8>>2];e=H[d+12>>2]}H[b+4>>2]=e;H[b>>2]=j;H[b+8>>2]=H[d+16>>2];j=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;R:{if(g){if(g>>>0>=1073741824){break b}b=g<<2;k=sa(b);H[d+8>>2]=k;j=b+k|0;H[d+16>>2]=j;ua(k,0,b);H[d+12>>2]=j}b=H[h+128>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);k=H[d+8>>2];j=H[d+12>>2]}H[b+4>>2]=j;H[b>>2]=k;H[b+8>>2]=H[d+16>>2];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;ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;e=(b>>>0)/341|0;b=H[H[d+12>>2]+(e<<2)>>2]+N(b-N(e,341)|0,12)|0;H[b+4>>2]=0;H[b+8>>2]=0;H[b>>2]=q;g=H[d+28>>2]+1|0;H[d+28>>2]=g;S:{if(!g){break S}z=h+92|0;u=h+16|0;while(1){b=H[d+12>>2];k=H[d+24>>2];f=g-1|0;e=k+f|0;i=(e>>>0)/341|0;e=H[b+(i<<2)>>2]+N(e-N(i,341)|0,12)|0;i=H[e+8>>2];j=H[e+4>>2];e=H[e>>2];H[d+28>>2]=f;f=H[d+16>>2];if((((b|0)!=(f|0)?N(f-b>>2,341)-1|0:0)-(g+k|0)|0)+1>>>0>=682){ra(H[f-4>>2]);H[d+16>>2]=H[d+16>>2]-4}f=0;if(e>>>0>q>>>0){break S}b=H[h+12>>2];g=(j|0)!=(b-1|0)?j+1|0:0;if(g>>>0>=b>>>0){break S}j=N(i,12);n=j+H[h+128>>2]|0;l=j+H[h+116>>2]|0;m=H[h>>2];k=g<<2;o=H[k+H[n>>2]>>2];T:{if((m|0)==(o|0)){if(!e){break T}while(1){b=H[l>>2];m=H[b+8>>2];o=H[b+4>>2];p=H[b>>2];i=H[t>>2];g=H[i+4>>2];k=H[i+8>>2];U:{if(g>>>0<k>>>0){H[g+8>>2]=m;H[g+4>>2]=o;H[g>>2]=p;H[i+4>>2]=g+12;break U}j=H[i>>2];s=(g-j|0)/12|0;b=s+1|0;if(b>>>0>=357913942){break b}k=(k-j|0)/12|0;n=k<<1;n=k>>>0>=178956970?357913941:b>>>0<n>>>0?n:b;if(n){if(n>>>0>=357913942){break a}b=sa(N(n,12))}else{b=0}k=b+N(s,12)|0;H[k+8>>2]=m;H[k+4>>2]=o;H[k>>2]=p;m=k+12|0;if((g|0)!=(j|0)){while(1){k=k-12|0;g=g-12|0;H[k>>2]=H[g>>2];H[k+4>>2]=H[g+4>>2];H[k+8>>2]=H[g+8>>2];if((g|0)!=(j|0)){continue}break}}H[i+8>>2]=b+N(n,12);H[i+4>>2]=m;H[i>>2]=k;if(!j){break U}ra(j)}H[h+8>>2]=H[h+8>>2]+1;f=f+1|0;if((e|0)!=(f|0)){continue}break}break T}V:{W:{X:{Y:{if(e>>>0<=2){b=H[h+104>>2];H[b>>2]=g;k=1;j=H[h+12>>2];if(j>>>0>1){break Y}break V}if(K[h+8>>2]>K[h+4>>2]){break S}b=H[h+116>>2];p=i+1|0;n=N(p,12);f=b+n|0;if((f|0)!=(l|0)){Ca(f,H[l>>2],H[l+4>>2]);b=H[h+116>>2]}b=k+H[b+n>>2]|0;H[b>>2]=H[b>>2]+(1<<m+(o^-1));H[d+4>>2]=0;qc(u,Q(e)^31,d+4|0);b=e>>>1|0;f=H[d+4>>2];if(b>>>0<f>>>0){break S}b=b-f|0;f=e-b|0;Z:{if((f|0)==(b|0)){e=b;break Z}e=H[h+84>>2];if((e|0)==H[h+76>>2]){break X}l=H[e>>2];m=H[h+88>>2];o=m+1|0;H[h+88>>2]=o;l=l&-2147483648>>>m;_:{if((o|0)==32){H[h+88>>2]=0;H[h+84>>2]=e+4;if(l){break _}break X}if(!l){break X}}e=f}f=b;break W}while(1){g=(j-1|0)!=(g|0)?g+1|0:0;H[b+(k<<2)>>2]=g;j=H[h+12>>2];k=k+1|0;if(j>>>0>k>>>0){continue}break}break V}e=b}l=k;b=H[h+128>>2];j=b+j|0;k=H[j>>2];l=l+k|0;H[l>>2]=H[l>>2]+1;Ca(b+n|0,k,H[j+4>>2]);if(f){j=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];k=H[d+12>>2];if((j|0)==(((b|0)!=(k|0)?N(b-k>>2,341)-1|0:0)|0)){ya(d+8|0);k=H[d+12>>2];j=H[d+24>>2]+H[d+28>>2]|0}b=(j>>>0)/341|0;b=H[(b<<2)+k>>2]+N(j-N(b,341)|0,12)|0;H[b+8>>2]=i;H[b+4>>2]=g;H[b>>2]=f;H[d+28>>2]=H[d+28>>2]+1}if(!e){break T}j=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];k=H[d+12>>2];if((j|0)==(((b|0)!=(k|0)?N(b-k>>2,341)-1|0:0)|0)){ya(d+8|0);k=H[d+12>>2];j=H[d+24>>2]+H[d+28>>2]|0}b=(j>>>0)/341|0;b=H[(b<<2)+k>>2]+N(j-N(b,341)|0,12)|0;H[b+8>>2]=p;H[b+4>>2]=g;H[b>>2]=e;H[d+28>>2]=H[d+28>>2]+1;break T}if(!e){break T}while(1){if(H[h+12>>2]){j=H[h+36>>2];s=H[n>>2];i=H[h+92>>2];w=H[h+104>>2];g=0;while(1){k=w+(g<<2)|0;H[i+(H[k>>2]<<2)>>2]=0;b=H[h>>2];m=H[k>>2]<<2;o=H[m+s>>2];$:{if((b|0)==(o|0)){break $}m=i+m|0;b=b-o|0;o=H[h+48>>2];r=32-o|0;if((b|0)<=(r|0)){p=H[h+44>>2];if((p|0)==(j|0)){break S}H[m>>2]=H[p>>2]<<o>>>32-b;b=b+H[h+48>>2]|0;H[h+48>>2]=b;if((b|0)!=32){break $}H[h+48>>2]=0;H[h+44>>2]=p+4;break $}p=H[h+44>>2];y=p+4|0;if((y|0)==(j|0)){break S}A=H[p>>2];H[h+44>>2]=y;r=b-r|0;H[h+48>>2]=r;H[m>>2]=H[p+4>>2]>>>32-r|A<<o>>>32-b}b=H[k>>2]<<2;k=b+i|0;H[k>>2]=H[k>>2]|H[b+H[l>>2]>>2];g=g+1|0;if(g>>>0<K[h+12>>2]){continue}break}}nb(t,z);H[h+8>>2]=H[h+8>>2]+1;f=f+1|0;if((e|0)!=(f|0)){continue}break}}g=H[d+28>>2];if(g){continue}break}}H[d+28>>2]=0;k=H[d+16>>2];g=H[d+12>>2];j=k-g|0;if(j>>>0>=9){while(1){ra(H[g>>2]);g=H[d+12>>2]+4|0;H[d+12>>2]=g;k=H[d+16>>2];j=k-g|0;if(j>>>0>8){continue}break}}b=170;aa:{switch((j>>>2|0)-1|0){case 1:b=341;case 0:H[d+24>>2]=b;break;default:break aa}}ba:{if((g|0)==(k|0)){break ba}while(1){ra(H[g>>2]);g=g+4|0;if((k|0)!=(g|0)){continue}break}b=H[d+16>>2];e=H[d+12>>2];if((b|0)==(e|0)){break ba}H[d+16>>2]=b+((e-b|0)+3&-4)}b=H[d+8>>2];if(b){ra(b)}fa=d+32|0;break R}}yb(h);break d;case 3:i=xb(x+8|0,3);n=x+664|0;d=H[b+12>>2];e=H[b+20>>2];g=H[b+16>>2];k=g+4|0;e=k>>>0<4?e+1|0:e;ca:{if((d|0)<=(e|0)&k>>>0>K[b+8>>2]|(d|0)<(e|0)){break ca}e=g+H[b>>2]|0;H[i>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];d=e;k=H[b+16>>2];g=k+4|0;e=g>>>0<4?d+1|0:d;l=g;H[b+16>>2]=g;H[b+20>>2]=e;if(K[i>>2]>32){break ca}g=H[b+12>>2];e=d;d=k+8|0;e=d>>>0<8?e+1|0:e;if(d>>>0>K[b+8>>2]&(e|0)>=(g|0)|(e|0)>(g|0)){break ca}e=l+H[b>>2]|0;d=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[i+4>>2]=d;e=H[b+20>>2];g=H[b+16>>2]+4|0;e=g>>>0<4?e+1|0:e;H[b+16>>2]=g;H[b+20>>2]=e;if(!d){break ca}H[i+8>>2]=0;if(!wa(i+16|0,b)){break ca}if(!xa(i+32|0,b)){break ca}if(!xa(i+52|0,b)){break ca}if(!xa(i+72|0,b)){break ca}t=H[i+4>>2];d=fa-32|0;fa=d;g=H[i+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;if(g){if(g>>>0>=1073741824){break b}b=g<<2;h=sa(b);H[d+8>>2]=h;f=b+h|0;H[d+16>>2]=f;ua(h,0,b);H[d+12>>2]=f}b=H[i+116>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);g=H[i+12>>2];h=H[d+8>>2];f=H[d+12>>2]}H[b+4>>2]=f;H[b>>2]=h;H[b+8>>2]=H[d+16>>2];h=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;da:{if(g){if(g>>>0>=1073741824){break b}b=g<<2;j=sa(b);H[d+8>>2]=j;h=b+j|0;H[d+16>>2]=h;ua(j,0,b);H[d+12>>2]=h}b=H[i+128>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);j=H[d+8>>2];h=H[d+12>>2]}H[b+4>>2]=h;H[b>>2]=j;H[b+8>>2]=H[d+16>>2];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;ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;e=(b>>>0)/341|0;b=H[H[d+12>>2]+(e<<2)>>2]+N(b-N(e,341)|0,12)|0;H[b+4>>2]=0;H[b+8>>2]=0;H[b>>2]=t;g=H[d+28>>2]+1|0;H[d+28>>2]=g;ea:{if(!g){break ea}z=i+92|0;u=i+16|0;while(1){b=H[d+12>>2];j=H[d+24>>2];h=g-1|0;e=j+h|0;f=(e>>>0)/341|0;e=H[b+(f<<2)>>2]+N(e-N(f,341)|0,12)|0;l=H[e+8>>2];f=H[e+4>>2];e=H[e>>2];H[d+28>>2]=h;h=H[d+16>>2];if((((b|0)!=(h|0)?N(h-b>>2,341)-1|0:0)-(g+j|0)|0)+1>>>0>=682){ra(H[h-4>>2]);H[d+16>>2]=H[d+16>>2]-4}if(e>>>0>t>>>0){break ea}b=H[i+12>>2];g=(f|0)!=(b-1|0)?f+1|0:0;if(g>>>0>=b>>>0){break ea}b=H[i+116>>2];h=N(l,12);k=b+h|0;f=H[i>>2];j=g<<2;p=h+H[i+128>>2]|0;q=H[j+H[p>>2]>>2];fa:{if((f|0)==(q|0)){q=0;if(!e){break fa}while(1){b=H[k>>2];m=H[b+8>>2];o=H[b+4>>2];p=H[b>>2];f=H[n>>2];g=H[f+4>>2];j=H[f+8>>2];ga:{if(g>>>0<j>>>0){H[g+8>>2]=m;H[g+4>>2]=o;H[g>>2]=p;H[f+4>>2]=g+12;break ga}h=H[f>>2];s=(g-h|0)/12|0;b=s+1|0;if(b>>>0>=357913942){break b}j=(j-h|0)/12|0;l=j<<1;l=j>>>0>=178956970?357913941:b>>>0<l>>>0?l:b;if(l){if(l>>>0>=357913942){break a}b=sa(N(l,12))}else{b=0}j=b+N(s,12)|0;H[j+8>>2]=m;H[j+4>>2]=o;H[j>>2]=p;m=j+12|0;if((g|0)!=(h|0)){while(1){j=j-12|0;g=g-12|0;H[j>>2]=H[g>>2];H[j+4>>2]=H[g+4>>2];H[j+8>>2]=H[g+8>>2];if((g|0)!=(h|0)){continue}break}}H[f+8>>2]=b+N(l,12);H[f+4>>2]=m;H[f>>2]=j;if(!h){break ga}ra(h)}H[i+8>>2]=H[i+8>>2]+1;q=q+1|0;if((e|0)!=(q|0)){continue}break}break fa}ha:{ia:{ja:{ka:{if(e>>>0<=2){b=H[i+104>>2];H[b>>2]=g;j=1;h=H[i+12>>2];if(h>>>0>1){break ka}break ha}if(K[i+8>>2]>K[i+4>>2]){break ea}m=b;b=h+12|0;Ca(m+b|0,H[k>>2],H[k+4>>2]);b=j+H[b+H[i+116>>2]>>2]|0;H[b>>2]=H[b>>2]+(1<<f+(q^-1));H[d+4>>2]=0;qc(u,Q(e)^31,d+4|0);b=e>>>1|0;f=H[d+4>>2];if(b>>>0<f>>>0){break ea}k=l+1|0;b=b-f|0;f=e-b|0;la:{if((f|0)==(b|0)){e=b;break la}e=H[i+84>>2];if((e|0)==H[i+76>>2]){break ja}q=H[e>>2];m=H[i+88>>2];o=m+1|0;H[i+88>>2]=o;q=q&-2147483648>>>m;ma:{if((o|0)==32){H[i+88>>2]=0;H[i+84>>2]=e+4;if(q){break ma}break ja}if(!q){break ja}}e=f}f=b;break ia}while(1){g=(h-1|0)!=(g|0)?g+1|0:0;H[b+(j<<2)>>2]=g;h=H[i+12>>2];j=j+1|0;if(h>>>0>j>>>0){continue}break}break ha}e=b}m=j;b=H[i+128>>2];h=b+h|0;j=H[h>>2];q=m+j|0;H[q>>2]=H[q>>2]+1;Ca(b+N(k,12)|0,j,H[h+4>>2]);if(f){h=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];j=H[d+12>>2];if((h|0)==(((b|0)!=(j|0)?N(b-j>>2,341)-1|0:0)|0)){ya(d+8|0);j=H[d+12>>2];h=H[d+24>>2]+H[d+28>>2]|0}b=(h>>>0)/341|0;b=H[(b<<2)+j>>2]+N(h-N(b,341)|0,12)|0;H[b+8>>2]=l;H[b+4>>2]=g;H[b>>2]=f;H[d+28>>2]=H[d+28>>2]+1}if(!e){break fa}h=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];j=H[d+12>>2];if((h|0)==(((b|0)!=(j|0)?N(b-j>>2,341)-1|0:0)|0)){ya(d+8|0);j=H[d+12>>2];h=H[d+24>>2]+H[d+28>>2]|0}b=(h>>>0)/341|0;b=H[(b<<2)+j>>2]+N(h-N(b,341)|0,12)|0;H[b+8>>2]=k;H[b+4>>2]=g;H[b>>2]=e;H[d+28>>2]=H[d+28>>2]+1;break fa}h=0;if(!e){break fa}while(1){if(H[i+12>>2]){j=H[i+36>>2];s=H[p>>2];f=H[i+92>>2];w=H[i+104>>2];g=0;while(1){l=w+(g<<2)|0;H[f+(H[l>>2]<<2)>>2]=0;b=H[i>>2];q=H[l>>2]<<2;m=H[q+s>>2];na:{if((b|0)==(m|0)){break na}q=f+q|0;b=b-m|0;m=H[i+48>>2];r=32-m|0;if((b|0)<=(r|0)){o=H[i+44>>2];if((o|0)==(j|0)){break ea}H[q>>2]=H[o>>2]<<m>>>32-b;b=b+H[i+48>>2]|0;H[i+48>>2]=b;if((b|0)!=32){break na}H[i+48>>2]=0;H[i+44>>2]=o+4;break na}o=H[i+44>>2];y=o+4|0;if((y|0)==(j|0)){break ea}A=H[o>>2];H[i+44>>2]=y;r=b-r|0;H[i+48>>2]=r;H[q>>2]=H[o+4>>2]>>>32-r|A<<m>>>32-b}b=H[l>>2]<<2;l=b+f|0;H[l>>2]=H[l>>2]|H[b+H[k>>2]>>2];g=g+1|0;if(g>>>0<K[i+12>>2]){continue}break}}nb(n,z);H[i+8>>2]=H[i+8>>2]+1;h=h+1|0;if((e|0)!=(h|0)){continue}break}}g=H[d+28>>2];if(g){continue}break}}H[d+28>>2]=0;j=H[d+16>>2];g=H[d+12>>2];h=j-g|0;if(h>>>0>=9){while(1){ra(H[g>>2]);g=H[d+12>>2]+4|0;H[d+12>>2]=g;j=H[d+16>>2];h=j-g|0;if(h>>>0>8){continue}break}}b=170;oa:{switch((h>>>2|0)-1|0){case 1:b=341;case 0:H[d+24>>2]=b;break;default:break oa}}pa:{if((g|0)==(j|0)){break pa}while(1){ra(H[g>>2]);g=g+4|0;if((j|0)!=(g|0)){continue}break}b=H[d+16>>2];e=H[d+12>>2];if((b|0)==(e|0)){break pa}H[d+16>>2]=b+((e-b|0)+3&-4)}b=H[d+8>>2];if(b){ra(b)}fa=d+32|0;break da}}yb(i);break d;case 4:h=cb(x+8|0,3);t=x+664|0;f=H[b+12>>2];e=H[b+20>>2];d=H[b+16>>2];i=d+4|0;e=i>>>0<4?e+1|0:e;qa:{if(i>>>0>K[b+8>>2]&(e|0)>=(f|0)|(e|0)>(f|0)){break qa}e=d+H[b>>2]|0;H[h>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];f=e;i=H[b+16>>2];d=i+4|0;e=d>>>0<4?e+1|0:e;j=d;H[b+16>>2]=d;H[b+20>>2]=e;if(K[h>>2]>32){break qa}d=H[b+12>>2];e=f;f=i+8|0;e=f>>>0<8?e+1|0:e;if((d|0)<=(e|0)&f>>>0>K[b+8>>2]|(d|0)<(e|0)){break qa}e=j+H[b>>2]|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[h+4>>2]=f;e=H[b+20>>2];d=H[b+16>>2]+4|0;e=d>>>0<4?e+1|0:e;H[b+16>>2]=d;H[b+20>>2]=e;if(!f){break qa}H[h+8>>2]=0;if(!vb(h+16|0,b)){break qa}if(!xa(h+544|0,b)){break qa}if(!xa(h+564|0,b)){break qa}if(!xa(h+584|0,b)){break qa}q=H[h+4>>2];i=0;e=0;d=fa-32|0;fa=d;f=H[h+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;if(f){if(f>>>0>=1073741824){break b}b=f<<2;i=sa(b);H[d+8>>2]=i;e=b+i|0;H[d+16>>2]=e;ua(i,0,b);H[d+12>>2]=e}b=H[h+628>>2];j=H[b>>2];if(j){H[b+4>>2]=j;ra(j);f=H[h+12>>2];i=H[d+8>>2];e=H[d+12>>2]}H[b+4>>2]=e;H[b>>2]=i;H[b+8>>2]=H[d+16>>2];i=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;ra:{if(f){if(f>>>0>=1073741824){break b}b=f<<2;g=sa(b);H[d+8>>2]=g;i=b+g|0;H[d+16>>2]=i;ua(g,0,b);H[d+12>>2]=i}b=H[h+640>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);i=H[d+12>>2];g=H[d+8>>2]}H[b+4>>2]=i;H[b>>2]=g;H[b+8>>2]=H[d+16>>2];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;ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;e=(b>>>0)/341|0;b=H[H[d+12>>2]+(e<<2)>>2]+N(b-N(e,341)|0,12)|0;H[b+4>>2]=0;H[b+8>>2]=0;H[b>>2]=q;f=H[d+28>>2]+1|0;H[d+28>>2]=f;sa:{if(!f){break sa}z=h+604|0;u=h+16|0;while(1){b=H[d+12>>2];j=H[d+24>>2];i=f-1|0;e=j+i|0;g=(e>>>0)/341|0;e=H[b+(g<<2)>>2]+N(e-N(g,341)|0,12)|0;k=H[e+8>>2];g=H[e+4>>2];e=H[e>>2];H[d+28>>2]=i;i=H[d+16>>2];if((((b|0)!=(i|0)?N(i-b>>2,341)-1|0:0)-(f+j|0)|0)+1>>>0>=682){ra(H[i-4>>2]);H[d+16>>2]=H[d+16>>2]-4}if(e>>>0>q>>>0){break sa}b=H[h+12>>2];g=(g|0)!=(b-1|0)?g+1|0:0;if(g>>>0>=b>>>0){break sa}l=N(k,12);n=l+H[h+640>>2]|0;j=l+H[h+628>>2]|0;f=H[h>>2];m=g<<2;i=H[m+H[n>>2]>>2];ta:{ua:{if((f|0)==(i|0)){k=0;if(!e){break ua}while(1){b=H[j>>2];m=H[b+8>>2];o=H[b+4>>2];p=H[b>>2];i=H[t>>2];f=H[i+4>>2];g=H[i+8>>2];va:{if(f>>>0<g>>>0){H[f+8>>2]=m;H[f+4>>2]=o;H[f>>2]=p;H[i+4>>2]=f+12;break va}l=H[i>>2];s=(f-l|0)/12|0;b=s+1|0;if(b>>>0>=357913942){break b}g=(g-l|0)/12|0;n=g<<1;n=g>>>0>=178956970?357913941:b>>>0<n>>>0?n:b;if(n){if(n>>>0>=357913942){break a}b=sa(N(n,12))}else{b=0}g=b+N(s,12)|0;H[g+8>>2]=m;H[g+4>>2]=o;H[g>>2]=p;m=g+12|0;if((f|0)!=(l|0)){while(1){g=g-12|0;f=f-12|0;H[g>>2]=H[f>>2];H[g+4>>2]=H[f+4>>2];H[g+8>>2]=H[f+8>>2];if((f|0)!=(l|0)){continue}break}}H[i+8>>2]=b+N(n,12);H[i+4>>2]=m;H[i>>2]=g;if(!l){break va}ra(l)}H[h+8>>2]=H[h+8>>2]+1;k=k+1|0;if((e|0)!=(k|0)){continue}break}break ua}wa:{xa:{ya:{if(e>>>0<=2){b=H[h+616>>2];H[b>>2]=g;f=1;i=H[h+12>>2];if(i>>>0>1){break ya}break wa}if(K[h+8>>2]>K[h+4>>2]){break sa}b=H[h+628>>2];o=k+1|0;n=N(o,12);p=b+n|0;if((p|0)!=(j|0)){Ca(p,H[j>>2],H[j+4>>2]);b=H[h+628>>2]}b=m+H[b+n>>2]|0;H[b>>2]=H[b>>2]+(1<<f+(i^-1));i=0;f=0;b=Q(e)^31;if(!b){f=e>>>1|0;break xa}while(1){i=Da(u+(f<<4)|0)|i<<1;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=e>>>1|0;if(i>>>0<=f>>>0){break xa}break sa}while(1){g=(i-1|0)!=(g|0)?g+1|0:0;H[b+(f<<2)>>2]=g;f=f+1|0;i=H[h+12>>2];if(f>>>0<i>>>0){continue}break}break wa}za:{Aa:{b=f-i|0;f=e-b|0;Ba:{if((f|0)==(b|0)){e=b;break Ba}e=H[h+596>>2];if((e|0)==H[h+588>>2]){break Aa}i=H[e>>2];j=H[h+600>>2];p=j+1|0;H[h+600>>2]=p;i=i&-2147483648>>>j;Ca:{if((p|0)==32){H[h+600>>2]=0;H[h+596>>2]=e+4;if(i){break Ca}break Aa}if(!i){break Aa}}e=f}f=b;break za}e=b}b=H[h+640>>2];i=b+l|0;j=H[i>>2];l=j+m|0;H[l>>2]=H[l>>2]+1;Ca(b+n|0,j,H[i+4>>2]);if(f){j=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];i=H[d+12>>2];if((j|0)==(((b|0)!=(i|0)?N(b-i>>2,341)-1|0:0)|0)){ya(d+8|0);j=H[d+24>>2]+H[d+28>>2]|0;i=H[d+12>>2]}b=(j>>>0)/341|0;b=H[i+(b<<2)>>2]+N(j-N(b,341)|0,12)|0;H[b+8>>2]=k;H[b+4>>2]=g;H[b>>2]=f;H[d+28>>2]=H[d+28>>2]+1}if(!e){break ua}i=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];f=H[d+12>>2];if((i|0)==(((b|0)!=(f|0)?N(b-f>>2,341)-1|0:0)|0)){ya(d+8|0);i=H[d+24>>2]+H[d+28>>2]|0;f=H[d+12>>2]}b=(i>>>0)/341|0;b=H[f+(b<<2)>>2]+N(i-N(b,341)|0,12)|0;H[b+8>>2]=o;H[b+4>>2]=g;H[b>>2]=e;f=H[d+28>>2]+1|0;H[d+28>>2]=f;break ta}g=0;if(!e){break ua}while(1){if(H[h+12>>2]){k=H[h+548>>2];s=H[n>>2];i=H[h+604>>2];w=H[h+616>>2];f=0;while(1){l=w+(f<<2)|0;H[i+(H[l>>2]<<2)>>2]=0;b=H[h>>2];m=H[l>>2]<<2;o=H[m+s>>2];Da:{if((b|0)==(o|0)){break Da}m=i+m|0;b=b-o|0;o=H[h+560>>2];r=32-o|0;if((b|0)<=(r|0)){p=H[h+556>>2];if((p|0)==(k|0)){break sa}H[m>>2]=H[p>>2]<<o>>>32-b;b=b+H[h+560>>2]|0;H[h+560>>2]=b;if((b|0)!=32){break Da}H[h+560>>2]=0;H[h+556>>2]=p+4;break Da}p=H[h+556>>2];y=p+4|0;if((y|0)==(k|0)){break sa}A=H[p>>2];H[h+556>>2]=y;r=b-r|0;H[h+560>>2]=r;H[m>>2]=H[p+4>>2]>>>32-r|A<<o>>>32-b}b=H[l>>2]<<2;l=b+i|0;H[l>>2]=H[l>>2]|H[b+H[j>>2]>>2];f=f+1|0;if(f>>>0<K[h+12>>2]){continue}break}}nb(t,z);H[h+8>>2]=H[h+8>>2]+1;g=g+1|0;if((e|0)!=(g|0)){continue}break}}f=H[d+28>>2]}if(f){continue}break}}H[d+28>>2]=0;g=H[d+16>>2];f=H[d+12>>2];i=g-f|0;if(i>>>0>=9){while(1){ra(H[f>>2]);f=H[d+12>>2]+4|0;H[d+12>>2]=f;g=H[d+16>>2];i=g-f|0;if(i>>>0>8){continue}break}}b=170;Ea:{switch((i>>>2|0)-1|0){case 1:b=341;case 0:H[d+24>>2]=b;break;default:break Ea}}Fa:{if((g|0)==(f|0)){break Fa}while(1){ra(H[f>>2]);f=f+4|0;if((g|0)!=(f|0)){continue}break}b=H[d+16>>2];e=H[d+12>>2];if((b|0)==(e|0)){break Fa}H[d+16>>2]=b+((e-b|0)+3&-4)}b=H[d+8>>2];if(b){ra(b)}fa=d+32|0;break ra}}db(h);break d;case 5:g=cb(x+8|0,3);t=x+664|0;f=H[b+12>>2];e=H[b+20>>2];d=H[b+16>>2];h=d+4|0;e=h>>>0<4?e+1|0:e;Ga:{if(h>>>0>K[b+8>>2]&(e|0)>=(f|0)|(e|0)>(f|0)){break Ga}e=d+H[b>>2]|0;H[g>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];f=e;h=H[b+16>>2];d=h+4|0;e=d>>>0<4?e+1|0:e;i=d;H[b+16>>2]=d;H[b+20>>2]=e;if(K[g>>2]>32){break Ga}d=H[b+12>>2];e=f;f=h+8|0;e=f>>>0<8?e+1|0:e;if((d|0)<=(e|0)&f>>>0>K[b+8>>2]|(d|0)<(e|0)){break Ga}e=i+H[b>>2]|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[g+4>>2]=f;e=H[b+20>>2];d=H[b+16>>2]+4|0;e=d>>>0<4?e+1|0:e;H[b+16>>2]=d;H[b+20>>2]=e;if(!f){break Ga}H[g+8>>2]=0;if(!vb(g+16|0,b)){break Ga}if(!xa(g+544|0,b)){break Ga}if(!xa(g+564|0,b)){break Ga}if(!xa(g+584|0,b)){break Ga}q=H[g+4>>2];i=0;e=0;d=fa-32|0;fa=d;f=H[g+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;if(f){if(f>>>0>=1073741824){break b}b=f<<2;i=sa(b);H[d+8>>2]=i;e=b+i|0;H[d+16>>2]=e;ua(i,0,b);H[d+12>>2]=e}b=H[g+628>>2];h=H[b>>2];if(h){H[b+4>>2]=h;ra(h);f=H[g+12>>2];i=H[d+8>>2];e=H[d+12>>2]}H[b+4>>2]=e;H[b>>2]=i;H[b+8>>2]=H[d+16>>2];i=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;Ha:{if(f){if(f>>>0>=1073741824){break b}b=f<<2;j=sa(b);H[d+8>>2]=j;i=b+j|0;H[d+16>>2]=i;ua(j,0,b);H[d+12>>2]=i}b=H[g+640>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);j=H[d+8>>2];i=H[d+12>>2]}H[b+4>>2]=i;H[b>>2]=j;H[b+8>>2]=H[d+16>>2];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;ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;e=(b>>>0)/341|0;b=H[H[d+12>>2]+(e<<2)>>2]+N(b-N(e,341)|0,12)|0;H[b+4>>2]=0;H[b+8>>2]=0;H[b>>2]=q;f=H[d+28>>2]+1|0;H[d+28>>2]=f;Ia:{if(!f){break Ia}z=g+604|0;u=g+16|0;while(1){b=H[d+12>>2];j=H[d+24>>2];h=f-1|0;e=j+h|0;i=(e>>>0)/341|0;e=H[b+(i<<2)>>2]+N(e-N(i,341)|0,12)|0;k=H[e+8>>2];i=H[e+4>>2];e=H[e>>2];H[d+28>>2]=h;h=H[d+16>>2];if((((b|0)!=(h|0)?N(h-b>>2,341)-1|0:0)-(f+j|0)|0)+1>>>0>=682){ra(H[h-4>>2]);H[d+16>>2]=H[d+16>>2]-4}if(e>>>0>q>>>0){break Ia}h=0;b=H[g+12>>2];j=(i|0)!=(b-1|0)?i+1|0:0;if(j>>>0>=b>>>0){break Ia}b=H[g+628>>2];n=N(k,12);l=b+n|0;f=H[g>>2];m=j<<2;p=n+H[g+640>>2]|0;i=H[m+H[p>>2]>>2];Ja:{Ka:{if((f|0)==(i|0)){if(!e){break Ka}while(1){b=H[l>>2];m=H[b+8>>2];o=H[b+4>>2];p=H[b>>2];i=H[t>>2];f=H[i+4>>2];j=H[i+8>>2];La:{if(f>>>0<j>>>0){H[f+8>>2]=m;H[f+4>>2]=o;H[f>>2]=p;H[i+4>>2]=f+12;break La}k=H[i>>2];s=(f-k|0)/12|0;b=s+1|0;if(b>>>0>=357913942){break b}j=(j-k|0)/12|0;n=j<<1;n=j>>>0>=178956970?357913941:b>>>0<n>>>0?n:b;if(n){if(n>>>0>=357913942){break a}b=sa(N(n,12))}else{b=0}j=b+N(s,12)|0;H[j+8>>2]=m;H[j+4>>2]=o;H[j>>2]=p;m=j+12|0;if((f|0)!=(k|0)){while(1){j=j-12|0;f=f-12|0;H[j>>2]=H[f>>2];H[j+4>>2]=H[f+4>>2];H[j+8>>2]=H[f+8>>2];if((f|0)!=(k|0)){continue}break}}H[i+8>>2]=b+N(n,12);H[i+4>>2]=m;H[i>>2]=j;if(!k){break La}ra(k)}H[g+8>>2]=H[g+8>>2]+1;h=h+1|0;if((e|0)!=(h|0)){continue}break}break Ka}Ma:{Na:{Oa:{if(e>>>0<=2){b=H[g+616>>2];H[b>>2]=j;f=1;i=H[g+12>>2];if(i>>>0>1){break Oa}break Ma}if(K[g+8>>2]>K[g+4>>2]){break Ia}h=b;b=n+12|0;Ca(h+b|0,H[l>>2],H[l+4>>2]);b=m+H[b+H[g+628>>2]>>2]|0;H[b>>2]=H[b>>2]+(1<<f+(i^-1));i=0;f=0;b=Q(e)^31;if(!b){f=e>>>1|0;break Na}while(1){i=Da(u+(f<<4)|0)|i<<1;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=e>>>1|0;if(i>>>0<=f>>>0){break Na}break Ia}while(1){j=(i-1|0)!=(j|0)?j+1|0:0;H[b+(f<<2)>>2]=j;f=f+1|0;i=H[g+12>>2];if(f>>>0<i>>>0){continue}break}break Ma}l=k+1|0;Pa:{Qa:{b=f-i|0;f=e-b|0;Ra:{if((f|0)==(b|0)){e=b;break Ra}e=H[g+596>>2];if((e|0)==H[g+588>>2]){break Qa}h=H[e>>2];i=H[g+600>>2];o=i+1|0;H[g+600>>2]=o;h=h&-2147483648>>>i;Sa:{if((o|0)==32){H[g+600>>2]=0;H[g+596>>2]=e+4;if(h){break Sa}break Qa}if(!h){break Qa}}e=f}f=b;break Pa}e=b}b=H[g+640>>2];h=b+n|0;i=H[h>>2];n=i+m|0;H[n>>2]=H[n>>2]+1;Ca(b+N(l,12)|0,i,H[h+4>>2]);if(f){h=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];i=H[d+12>>2];if((h|0)==(((b|0)!=(i|0)?N(b-i>>2,341)-1|0:0)|0)){ya(d+8|0);i=H[d+12>>2];h=H[d+24>>2]+H[d+28>>2]|0}b=(h>>>0)/341|0;b=H[(b<<2)+i>>2]+N(h-N(b,341)|0,12)|0;H[b+8>>2]=k;H[b+4>>2]=j;H[b>>2]=f;H[d+28>>2]=H[d+28>>2]+1}if(!e){break Ka}i=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];f=H[d+12>>2];if((i|0)==(((b|0)!=(f|0)?N(b-f>>2,341)-1|0:0)|0)){ya(d+8|0);i=H[d+24>>2]+H[d+28>>2]|0;f=H[d+12>>2]}b=(i>>>0)/341|0;b=H[f+(b<<2)>>2]+N(i-N(b,341)|0,12)|0;H[b+8>>2]=l;H[b+4>>2]=j;H[b>>2]=e;f=H[d+28>>2]+1|0;H[d+28>>2]=f;break Ja}if(!e){break Ka}while(1){if(H[g+12>>2]){j=H[g+548>>2];s=H[p>>2];i=H[g+604>>2];w=H[g+616>>2];f=0;while(1){k=w+(f<<2)|0;H[i+(H[k>>2]<<2)>>2]=0;b=H[g>>2];n=H[k>>2]<<2;m=H[n+s>>2];Ta:{if((b|0)==(m|0)){break Ta}n=i+n|0;b=b-m|0;m=H[g+560>>2];r=32-m|0;if((b|0)<=(r|0)){o=H[g+556>>2];if((o|0)==(j|0)){break Ia}H[n>>2]=H[o>>2]<<m>>>32-b;b=b+H[g+560>>2]|0;H[g+560>>2]=b;if((b|0)!=32){break Ta}H[g+560>>2]=0;H[g+556>>2]=o+4;break Ta}o=H[g+556>>2];y=o+4|0;if((y|0)==(j|0)){break Ia}A=H[o>>2];H[g+556>>2]=y;r=b-r|0;H[g+560>>2]=r;H[n>>2]=H[o+4>>2]>>>32-r|A<<m>>>32-b}b=H[k>>2]<<2;k=b+i|0;H[k>>2]=H[k>>2]|H[b+H[l>>2]>>2];f=f+1|0;if(f>>>0<K[g+12>>2]){continue}break}}nb(t,z);H[g+8>>2]=H[g+8>>2]+1;h=h+1|0;if((e|0)!=(h|0)){continue}break}}f=H[d+28>>2]}if(f){continue}break}}H[d+28>>2]=0;j=H[d+16>>2];f=H[d+12>>2];i=j-f|0;if(i>>>0>=9){while(1){ra(H[f>>2]);f=H[d+12>>2]+4|0;H[d+12>>2]=f;j=H[d+16>>2];i=j-f|0;if(i>>>0>8){continue}break}}b=170;Ua:{switch((i>>>2|0)-1|0){case 1:b=341;case 0:H[d+24>>2]=b;break;default:break Ua}}Va:{if((f|0)==(j|0)){break Va}while(1){ra(H[f>>2]);f=f+4|0;if((j|0)!=(f|0)){continue}break}b=H[d+16>>2];e=H[d+12>>2];if((b|0)==(e|0)){break Va}H[d+16>>2]=b+((e-b|0)+3&-4)}b=H[d+8>>2];if(b){ra(b)}fa=d+32|0;break Ha}}db(g);break d;case 6:break f;default:break c}}h=cb(x+8|0,3);t=x+664|0;f=H[b+12>>2];e=H[b+20>>2];d=H[b+16>>2];i=d+4|0;e=i>>>0<4?e+1|0:e;Wa:{if(i>>>0>K[b+8>>2]&(e|0)>=(f|0)|(e|0)>(f|0)){break Wa}e=d+H[b>>2]|0;H[h>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];f=e;i=H[b+16>>2];d=i+4|0;e=d>>>0<4?e+1|0:e;j=d;H[b+16>>2]=d;H[b+20>>2]=e;if(K[h>>2]>32){break Wa}d=H[b+12>>2];e=f;f=i+8|0;e=f>>>0<8?e+1|0:e;if((d|0)<=(e|0)&f>>>0>K[b+8>>2]|(d|0)<(e|0)){break Wa}e=j+H[b>>2]|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[h+4>>2]=f;e=H[b+20>>2];d=H[b+16>>2]+4|0;e=d>>>0<4?e+1|0:e;H[b+16>>2]=d;H[b+20>>2]=e;if(!f){break Wa}H[h+8>>2]=0;if(!vb(h+16|0,b)){break Wa}if(!xa(h+544|0,b)){break Wa}if(!xa(h+564|0,b)){break Wa}if(!xa(h+584|0,b)){break Wa}q=H[h+4>>2];i=0;e=0;d=fa-32|0;fa=d;f=H[h+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;if(f){if(f>>>0>=1073741824){break b}b=f<<2;i=sa(b);H[d+8>>2]=i;e=b+i|0;H[d+16>>2]=e;ua(i,0,b);H[d+12>>2]=e}b=H[h+628>>2];j=H[b>>2];if(j){H[b+4>>2]=j;ra(j);f=H[h+12>>2];i=H[d+8>>2];e=H[d+12>>2]}H[b+4>>2]=e;H[b>>2]=i;H[b+8>>2]=H[d+16>>2];i=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;Xa:{if(f){if(f>>>0>=1073741824){break b}b=f<<2;g=sa(b);H[d+8>>2]=g;i=b+g|0;H[d+16>>2]=i;ua(g,0,b);H[d+12>>2]=i}b=H[h+640>>2];e=H[b>>2];if(e){H[b+4>>2]=e;ra(e);i=H[d+12>>2];g=H[d+8>>2]}H[b+4>>2]=i;H[b>>2]=g;H[b+8>>2]=H[d+16>>2];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;ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;e=(b>>>0)/341|0;b=H[H[d+12>>2]+(e<<2)>>2]+N(b-N(e,341)|0,12)|0;H[b+4>>2]=0;H[b+8>>2]=0;H[b>>2]=q;f=H[d+28>>2]+1|0;H[d+28>>2]=f;Ya:{if(!f){break Ya}z=h+604|0;u=h+16|0;while(1){b=H[d+12>>2];i=H[d+24>>2];g=f-1|0;e=i+g|0;j=(e>>>0)/341|0;e=H[b+(j<<2)>>2]+N(e-N(j,341)|0,12)|0;k=H[e+8>>2];e=H[e>>2];H[d+28>>2]=g;g=H[d+16>>2];if((((b|0)!=(g|0)?N(g-b>>2,341)-1|0:0)-(f+i|0)|0)+1>>>0>=682){ra(H[g-4>>2]);H[d+16>>2]=H[d+16>>2]-4}if(e>>>0>q>>>0){break Ya}b=H[h+628>>2];l=N(k,12);n=l+H[h+640>>2]|0;g=Ud(h,e,n);if(g>>>0>=K[h+12>>2]){break Ya}j=b+l|0;f=H[h>>2];m=g<<2;i=H[m+H[n>>2]>>2];Za:{_a:{if((f|0)==(i|0)){k=0;if(!e){break _a}while(1){b=H[j>>2];m=H[b+8>>2];o=H[b+4>>2];p=H[b>>2];i=H[t>>2];f=H[i+4>>2];g=H[i+8>>2];$a:{if(f>>>0<g>>>0){H[f+8>>2]=m;H[f+4>>2]=o;H[f>>2]=p;H[i+4>>2]=f+12;break $a}l=H[i>>2];s=(f-l|0)/12|0;b=s+1|0;if(b>>>0>=357913942){break b}g=(g-l|0)/12|0;n=g<<1;n=g>>>0>=178956970?357913941:b>>>0<n>>>0?n:b;if(n){if(n>>>0>=357913942){break a}b=sa(N(n,12))}else{b=0}g=b+N(s,12)|0;H[g+8>>2]=m;H[g+4>>2]=o;H[g>>2]=p;m=g+12|0;if((f|0)!=(l|0)){while(1){g=g-12|0;f=f-12|0;H[g>>2]=H[f>>2];H[g+4>>2]=H[f+4>>2];H[g+8>>2]=H[f+8>>2];if((f|0)!=(l|0)){continue}break}}H[i+8>>2]=b+N(n,12);H[i+4>>2]=m;H[i>>2]=g;if(!l){break $a}ra(l)}H[h+8>>2]=H[h+8>>2]+1;k=k+1|0;if((e|0)!=(k|0)){continue}break}break _a}ab:{bb:{cb:{if(e>>>0<=2){b=H[h+616>>2];H[b>>2]=g;f=1;i=H[h+12>>2];if(i>>>0>1){break cb}break ab}if(K[h+8>>2]>K[h+4>>2]){break Ya}b=H[h+628>>2];o=k+1|0;n=N(o,12);p=b+n|0;if((p|0)!=(j|0)){Ca(p,H[j>>2],H[j+4>>2]);b=H[h+628>>2]}b=m+H[b+n>>2]|0;H[b>>2]=H[b>>2]+(1<<f+(i^-1));i=0;f=0;b=Q(e)^31;if(!b){f=e>>>1|0;break bb}while(1){i=Da(u+(f<<4)|0)|i<<1;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=e>>>1|0;if(i>>>0<=f>>>0){break bb}break Ya}while(1){g=(i-1|0)!=(g|0)?g+1|0:0;H[b+(f<<2)>>2]=g;f=f+1|0;i=H[h+12>>2];if(f>>>0<i>>>0){continue}break}break ab}db:{eb:{b=f-i|0;f=e-b|0;fb:{if((f|0)==(b|0)){e=b;break fb}e=H[h+596>>2];if((e|0)==H[h+588>>2]){break eb}i=H[e>>2];j=H[h+600>>2];p=j+1|0;H[h+600>>2]=p;i=i&-2147483648>>>j;gb:{if((p|0)==32){H[h+600>>2]=0;H[h+596>>2]=e+4;if(i){break gb}break eb}if(!i){break eb}}e=f}f=b;break db}e=b}b=H[h+640>>2];i=b+l|0;j=H[i>>2];l=j+m|0;H[l>>2]=H[l>>2]+1;Ca(b+n|0,j,H[i+4>>2]);if(f){j=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];i=H[d+12>>2];if((j|0)==(((b|0)!=(i|0)?N(b-i>>2,341)-1|0:0)|0)){ya(d+8|0);j=H[d+24>>2]+H[d+28>>2]|0;i=H[d+12>>2]}b=(j>>>0)/341|0;b=H[i+(b<<2)>>2]+N(j-N(b,341)|0,12)|0;H[b+8>>2]=k;H[b+4>>2]=g;H[b>>2]=f;H[d+28>>2]=H[d+28>>2]+1}if(!e){break _a}i=H[d+28>>2]+H[d+24>>2]|0;b=H[d+16>>2];f=H[d+12>>2];if((i|0)==(((b|0)!=(f|0)?N(b-f>>2,341)-1|0:0)|0)){ya(d+8|0);i=H[d+24>>2]+H[d+28>>2]|0;f=H[d+12>>2]}b=(i>>>0)/341|0;b=H[f+(b<<2)>>2]+N(i-N(b,341)|0,12)|0;H[b+8>>2]=o;H[b+4>>2]=g;H[b>>2]=e;f=H[d+28>>2]+1|0;H[d+28>>2]=f;break Za}g=0;if(!e){break _a}while(1){if(H[h+12>>2]){k=H[h+548>>2];s=H[n>>2];i=H[h+604>>2];w=H[h+616>>2];f=0;while(1){l=w+(f<<2)|0;H[i+(H[l>>2]<<2)>>2]=0;b=H[h>>2];m=H[l>>2]<<2;o=H[m+s>>2];hb:{if((b|0)==(o|0)){break hb}m=i+m|0;b=b-o|0;o=H[h+560>>2];r=32-o|0;if((b|0)<=(r|0)){p=H[h+556>>2];if((p|0)==(k|0)){break Ya}H[m>>2]=H[p>>2]<<o>>>32-b;b=b+H[h+560>>2]|0;H[h+560>>2]=b;if((b|0)!=32){break hb}H[h+560>>2]=0;H[h+556>>2]=p+4;break hb}p=H[h+556>>2];y=p+4|0;if((y|0)==(k|0)){break Ya}A=H[p>>2];H[h+556>>2]=y;r=b-r|0;H[h+560>>2]=r;H[m>>2]=H[p+4>>2]>>>32-r|A<<o>>>32-b}b=H[l>>2]<<2;l=b+i|0;H[l>>2]=H[l>>2]|H[b+H[j>>2]>>2];f=f+1|0;if(f>>>0<K[h+12>>2]){continue}break}}nb(t,z);H[h+8>>2]=H[h+8>>2]+1;g=g+1|0;if((e|0)!=(g|0)){continue}break}}f=H[d+28>>2]}if(f){continue}break}}H[d+28>>2]=0;g=H[d+16>>2];f=H[d+12>>2];i=g-f|0;if(i>>>0>=9){while(1){ra(H[f>>2]);f=H[d+12>>2]+4|0;H[d+12>>2]=f;g=H[d+16>>2];i=g-f|0;if(i>>>0>8){continue}break}}b=170;ib:{switch((i>>>2|0)-1|0){case 1:b=341;case 0:H[d+24>>2]=b;break;default:break ib}}jb:{if((g|0)==(f|0)){break jb}while(1){ra(H[f>>2]);f=f+4|0;if((g|0)!=(f|0)){continue}break}b=H[d+16>>2];e=H[d+12>>2];if((b|0)==(e|0)){break jb}H[d+16>>2]=b+((e-b|0)+3&-4)}b=H[d+8>>2];if(b){ra(b)}fa=d+32|0;break Xa}}db(h)}f=H[a+12>>2]==((H[c+4>>2]-H[c>>2]|0)/12|0)}fa=x+672|0;return f}va();v()}za();v()}function id(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;if(!a){return 1}e=H[c+20>>2];g=H[c+12>>2];i=H[c+16>>2];a:{if((e|0)>=(g|0)&i>>>0>=K[c+8>>2]|(e|0)>(g|0)){break a}g=I[i+H[c>>2]|0];i=i+1|0;e=i?e:e+1|0;H[c+16>>2]=i;H[c+20>>2]=e;b:{switch(g|0){case 0:f=a;e=b;k=d;d=0;m=fa+-64|0;fa=m;H[m+56>>2]=0;H[m+48>>2]=0;H[m+52>>2]=0;H[m+40>>2]=0;H[m+44>>2]=0;H[m+32>>2]=0;H[m+36>>2]=0;H[m+24>>2]=0;H[m+28>>2]=0;H[m+16>>2]=0;H[m+20>>2]=0;H[m+8>>2]=0;H[m+12>>2]=0;c:{if(!Le(m+8|0,c)){break c}if(!Ke(m+8|0,c)|(H[m+20>>2]?0:f)){break c}Fb(c,0,0);b=(f|0)!=0;d:{if(f){n=e<<2;q=H[m+36>>2];r=H[m+48>>2];s=H[m+24>>2];while(1){l=H[m+56>>2];e:{if(l>>>0>16383){break e}a=H[m+52>>2];while(1){if((a|0)<=0){break e}a=a-1|0;H[m+52>>2]=a;l=I[a+r|0]|l<<8;H[m+56>>2]=l;if(l>>>0<16384){continue}break}}a=l&4095;t=H[(a<<2)+s>>2];i=(t<<3)+q|0;H[m+56>>2]=(N(H[i>>2],l>>>12|0)+a|0)-H[i+4>>2];f:{if((e|0)<=0){break f}if(!I[c+36|0]|t>>>0>32){break d}if(!t){ua(k+(d<<2)|0,0,n);d=d+e|0;break f}w=t&-2;x=t&1;g=d+e|0;b=H[c+32>>2];j=H[c+28>>2];h=H[c+24>>2];while(1){l=0;a=b;i=0;p=0;if((t|0)!=1){while(1){o=h+(a>>>3|0)|0;g:{if(o>>>0>=j>>>0){o=0;break g}o=I[o|0];b=a+1|0;H[c+32>>2]=b;o=o>>>(a&7)&1;a=b}o=o<<l|i;i=0;u=h+(a>>>3|0)|0;if(u>>>0<j>>>0){i=I[u|0];b=a+1|0;H[c+32>>2]=b;i=i>>>(a&7)&1;a=b}u=l|1;l=l+2|0;i=o|i<<u;p=p+2|0;if((w|0)!=(p|0)){continue}break}}p=k+(d<<2)|0;if(x){o=h+(a>>>3|0)|0;if(o>>>0<j>>>0){o=I[o|0];b=a+1|0;H[c+32>>2]=b;a=o>>>(a&7)&1}else{a=0}i=a<<l|i}H[p>>2]=i;d=d+1|0;if((g|0)!=(d|0)){continue}break}d=g}v=e+v|0;b=f>>>0>v>>>0;if(b){continue}break}}F[c+36|0]=0;d=H[c+20>>2];e=0;a=H[c+32>>2]+7|0;e=a>>>0<7?1:e;f=(e&7)<<29|a>>>3;a=f+H[c+16>>2]|0;e=(e>>>3|0)+d|0;H[c+16>>2]=a;H[c+20>>2]=a>>>0<f>>>0?e+1|0:e}l=b^1}a=H[m+36>>2];if(a){H[m+40>>2]=a;ra(a)}a=H[m+24>>2];if(a){H[m+28>>2]=a;ra(a)}a=H[m+8>>2];if(a){H[m+12>>2]=a;ra(a)}fa=m- -64|0;return l&1;case 1:break b;default:break a}}b=0;e=H[c+20>>2];g=H[c+12>>2];i=H[c+16>>2];h:{if((e|0)>=(g|0)&i>>>0>=K[c+8>>2]|(e|0)>(g|0)){break h}g=I[i+H[c>>2]|0];i=i+1|0;e=i?e:e+1|0;H[c+16>>2]=i;H[c+20>>2]=e;i:{switch(g-1|0){case 8:m=a;t=d;g=fa+-64|0;fa=g;H[g+56>>2]=0;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;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;h=g+8|0;a=J[c+38>>1];j:{k:{if(!a){break k}l:{if(a>>>0<=511){a=H[c+12>>2];e=H[c+20>>2];b=H[c+16>>2];d=b+4|0;e=d>>>0<4?e+1|0:e;if((a|0)<=(e|0)&d>>>0>K[c+8>>2]|(a|0)<(e|0)){break k}a=b+H[c>>2]|0;j=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);H[h+12>>2]=j;e=H[c+20>>2];a=H[c+16>>2]+4|0;e=a>>>0<4?e+1|0:e;f=a;H[c+16>>2]=a;H[c+20>>2]=e;break l}if(!kb(1,h+12|0,c)){break k}f=H[c+16>>2];e=H[c+20>>2];j=H[h+12>>2]}a=H[c+8>>2];b=a-f|0;a=H[c+12>>2]-((a>>>0<f>>>0)+e|0)|0;if(b>>>0<j>>>6>>>0&(a|0)<=0|(a|0)<0){break k}b=H[h>>2];a=H[h+4>>2]-b>>2;m:{if(a>>>0<j>>>0){Aa(h,j-a|0);j=H[h+12>>2];break m}if(a>>>0<=j>>>0){break m}H[h+4>>2]=b+(j<<2)}d=1;if(!j){break j}f=H[c+16>>2];e=H[c+20>>2];q=H[h>>2];r=H[c+8>>2];o=H[c+12>>2];b=0;while(1){d=0;if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break j}d=H[c>>2];n=I[d+f|0];a=f+1|0;e=a?e:e+1|0;f=a;H[c+16>>2]=a;H[c+20>>2]=e;a=n>>>2|0;i=0;n:{o:{p:{q:{s=n&3;switch(s|0){case 0:break o;case 3:break q;default:break p}}a=a+b|0;d=0;if(a>>>0>=j>>>0){break j}ua(q+(b<<2)|0,0,(n&252)+4|0);b=a;break n}while(1){if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break k}j=I[d+f|0];f=f+1|0;e=f?e:e+1|0;H[c+16>>2]=f;H[c+20>>2]=e;a=j<<(i<<3|6)|a;i=i+1|0;if((s|0)!=(i|0)){continue}break}}H[q+(b<<2)>>2]=a}b=b+1|0;j=H[h+12>>2];if(b>>>0<j>>>0){continue}break}a=h+16|0;o=H[h>>2];d=H[h+16>>2];b=H[h+20>>2]-d|0;r:{if(b>>>0<=32767){Aa(a,8192-(b>>>2|0)|0);break r}if((b|0)==32768){break r}H[h+20>>2]=d+32768}d=h+28|0;b=H[d>>2];e=H[h+32>>2]-b>>3;s:{if(e>>>0<j>>>0){sb(d,j-e|0);b=H[d>>2];break s}if(e>>>0>j>>>0){H[h+32>>2]=(j<<3)+b}if(!j){break k}}h=H[a>>2];e=0;d=0;while(1){f=o+(e<<2)|0;i=H[f>>2];n=(e<<3)+b|0;a=d;H[n+4>>2]=a;H[n>>2]=i;f=H[f>>2];d=f+a|0;if(d>>>0>8192){break k}t:{if(a>>>0>=d>>>0){break t}i=0;n=f&7;if(n){while(1){H[h+(a<<2)>>2]=e;a=a+1|0;i=i+1|0;if((n|0)!=(i|0)){continue}break}}if(f-1>>>0<=6){break t}while(1){f=h+(a<<2)|0;H[f>>2]=e;H[f+28>>2]=e;H[f+24>>2]=e;H[f+20>>2]=e;H[f+16>>2]=e;H[f+12>>2]=e;H[f+8>>2]=e;H[f+4>>2]=e;a=a+8|0;if((d|0)!=(a|0)){continue}break}}e=e+1|0;if((j|0)!=(e|0)){continue}break}k=(d|0)==8192}d=k}u:{if(!d|(H[g+20>>2]?0:m)){break u}d=0;i=fa-16|0;fa=i;v:{w:{if(J[c+38>>1]<=511){j=H[c+12>>2];a=j;e=H[c+20>>2];k=H[c+16>>2];f=k+8|0;e=f>>>0<8?e+1|0:e;b=H[c+8>>2];if(b>>>0<f>>>0&(a|0)<=(e|0)|(a|0)<(e|0)){break v}k=k+H[c>>2]|0;a=I[k|0]|I[k+1|0]<<8|(I[k+2|0]<<16|I[k+3|0]<<24);k=I[k+4|0]|I[k+5|0]<<8|(I[k+6|0]<<16|I[k+7|0]<<24);H[c+16>>2]=f;H[c+20>>2]=e;break w}if(!jb(1,i+8|0,c)){break v}f=H[c+16>>2];e=H[c+20>>2];b=H[c+8>>2];j=H[c+12>>2];a=H[i+8>>2];k=H[i+12>>2]}h=b-f|0;b=j-((b>>>0<f>>>0)+e|0)|0;if((b|0)==(k|0)&a>>>0>h>>>0|b>>>0<k>>>0){break v}e=e+k|0;b=a+f|0;e=b>>>0<a>>>0?e+1|0:e;H[c+16>>2]=b;H[c+20>>2]=e;if((a|0)<=0){break v}b=f+H[c>>2]|0;H[g+48>>2]=b;c=a-1|0;e=c+b|0;f=I[e|0];x:{if(f>>>0<=63){H[g+52>>2]=c;a=I[e|0]&63;break x}y:{switch((f>>>6|0)-1|0){case 0:if(a>>>0<2){break v}a=a-2|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8&16128|I[a|0];break x;case 1:if(a>>>0<3){break v}a=a-3|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8|I[a+2|0]<<16&4128768|I[a|0];break x;default:break y}}a=a-4|0;H[g+52>>2]=a;a=a+b|0;a=I[a+2|0]<<16|I[a+3|0]<<24&1056964608|I[a+1|0]<<8|I[a|0]}H[g+56>>2]=a+32768;d=a>>>0<8355840}fa=i+16|0;if(!d){break u}if(!m){l=1;break u}a=H[g+56>>2];b=H[g+36>>2];c=H[g+48>>2];d=H[g+24>>2];while(1){z:{if(a>>>0>32767){break z}l=H[g+52>>2];while(1){if((l|0)<=0){break z}l=l-1|0;H[g+52>>2]=l;a=I[c+l|0]|a<<8;H[g+56>>2]=a;if(a>>>0<32768){continue}break}}e=a&8191;f=H[d+(e<<2)>>2];l=b+(f<<3)|0;a=(N(H[l>>2],a>>>13|0)+e|0)-H[l+4>>2]|0;H[g+56>>2]=a;H[t+(p<<2)>>2]=f;l=1;p=p+1|0;if((m|0)!=(p|0)){continue}break}}a=H[g+36>>2];if(a){H[g+40>>2]=a;ra(a)}a=H[g+24>>2];if(a){H[g+28>>2]=a;ra(a)}a=H[g+8>>2];if(a){H[g+12>>2]=a;ra(a)}fa=g- -64|0;b=l;break h;case 9:m=a;t=d;g=fa+-64|0;fa=g;H[g+56>>2]=0;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;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;h=g+8|0;a=J[c+38>>1];A:{B:{if(!a){break B}C:{if(a>>>0<=511){a=H[c+12>>2];e=H[c+20>>2];b=H[c+16>>2];d=b+4|0;e=d>>>0<4?e+1|0:e;if((a|0)<=(e|0)&d>>>0>K[c+8>>2]|(a|0)<(e|0)){break B}a=b+H[c>>2]|0;j=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);H[h+12>>2]=j;e=H[c+20>>2];a=H[c+16>>2]+4|0;e=a>>>0<4?e+1|0:e;f=a;H[c+16>>2]=a;H[c+20>>2]=e;break C}if(!kb(1,h+12|0,c)){break B}f=H[c+16>>2];e=H[c+20>>2];j=H[h+12>>2]}a=H[c+8>>2];b=a-f|0;a=H[c+12>>2]-((a>>>0<f>>>0)+e|0)|0;if(b>>>0<j>>>6>>>0&(a|0)<=0|(a|0)<0){break B}b=H[h>>2];a=H[h+4>>2]-b>>2;D:{if(a>>>0<j>>>0){Aa(h,j-a|0);j=H[h+12>>2];break D}if(a>>>0<=j>>>0){break D}H[h+4>>2]=b+(j<<2)}d=1;if(!j){break A}f=H[c+16>>2];e=H[c+20>>2];q=H[h>>2];r=H[c+8>>2];o=H[c+12>>2];b=0;while(1){d=0;if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break A}d=H[c>>2];n=I[d+f|0];a=f+1|0;e=a?e:e+1|0;f=a;H[c+16>>2]=a;H[c+20>>2]=e;a=n>>>2|0;i=0;E:{F:{G:{H:{s=n&3;switch(s|0){case 0:break F;case 3:break H;default:break G}}a=a+b|0;d=0;if(a>>>0>=j>>>0){break A}ua(q+(b<<2)|0,0,(n&252)+4|0);b=a;break E}while(1){if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break B}j=I[d+f|0];f=f+1|0;e=f?e:e+1|0;H[c+16>>2]=f;H[c+20>>2]=e;a=j<<(i<<3|6)|a;i=i+1|0;if((s|0)!=(i|0)){continue}break}}H[q+(b<<2)>>2]=a}b=b+1|0;j=H[h+12>>2];if(b>>>0<j>>>0){continue}break}a=h+16|0;o=H[h>>2];d=H[h+16>>2];b=H[h+20>>2]-d|0;I:{if(b>>>0<=131071){Aa(a,32768-(b>>>2|0)|0);break I}if((b|0)==131072){break I}H[h+20>>2]=d+131072}d=h+28|0;b=H[d>>2];e=H[h+32>>2]-b>>3;J:{if(e>>>0<j>>>0){sb(d,j-e|0);b=H[d>>2];break J}if(e>>>0>j>>>0){H[h+32>>2]=(j<<3)+b}if(!j){break B}}h=H[a>>2];e=0;d=0;while(1){f=o+(e<<2)|0;i=H[f>>2];n=(e<<3)+b|0;a=d;H[n+4>>2]=a;H[n>>2]=i;f=H[f>>2];d=f+a|0;if(d>>>0>32768){break B}K:{if(a>>>0>=d>>>0){break K}i=0;n=f&7;if(n){while(1){H[h+(a<<2)>>2]=e;a=a+1|0;i=i+1|0;if((n|0)!=(i|0)){continue}break}}if(f-1>>>0<=6){break K}while(1){f=h+(a<<2)|0;H[f>>2]=e;H[f+28>>2]=e;H[f+24>>2]=e;H[f+20>>2]=e;H[f+16>>2]=e;H[f+12>>2]=e;H[f+8>>2]=e;H[f+4>>2]=e;a=a+8|0;if((d|0)!=(a|0)){continue}break}}e=e+1|0;if((j|0)!=(e|0)){continue}break}k=(d|0)==32768}d=k}L:{if(!d|(H[g+20>>2]?0:m)){break L}d=0;h=fa-16|0;fa=h;M:{N:{if(J[c+38>>1]<=511){j=H[c+12>>2];a=j;e=H[c+20>>2];k=H[c+16>>2];f=k+8|0;e=f>>>0<8?e+1|0:e;b=H[c+8>>2];if(b>>>0<f>>>0&(a|0)<=(e|0)|(a|0)<(e|0)){break M}k=k+H[c>>2]|0;a=I[k|0]|I[k+1|0]<<8|(I[k+2|0]<<16|I[k+3|0]<<24);k=I[k+4|0]|I[k+5|0]<<8|(I[k+6|0]<<16|I[k+7|0]<<24);H[c+16>>2]=f;H[c+20>>2]=e;break N}if(!jb(1,h+8|0,c)){break M}f=H[c+16>>2];e=H[c+20>>2];b=H[c+8>>2];j=H[c+12>>2];a=H[h+8>>2];k=H[h+12>>2]}i=b-f|0;b=j-((b>>>0<f>>>0)+e|0)|0;if((b|0)==(k|0)&a>>>0>i>>>0|b>>>0<k>>>0){break M}i=e+k|0;b=a+f|0;i=b>>>0<a>>>0?i+1|0:i;H[c+16>>2]=b;H[c+20>>2]=i;if((a|0)<=0){break M}b=f+H[c>>2]|0;H[g+48>>2]=b;c=a-1|0;e=c+b|0;f=I[e|0];O:{if(f>>>0<=63){H[g+52>>2]=c;a=I[e|0]&63;break O}P:{switch((f>>>6|0)-1|0){case 0:if(a>>>0<2){break M}a=a-2|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8&16128|I[a|0];break O;case 1:if(a>>>0<3){break M}a=a-3|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8|I[a+2|0]<<16&4128768|I[a|0];break O;default:break P}}a=a-4|0;H[g+52>>2]=a;a=a+b|0;a=I[a+2|0]<<16|I[a+3|0]<<24&1056964608|I[a+1|0]<<8|I[a|0]}H[g+56>>2]=a+131072;d=a>>>0<33423360}fa=h+16|0;if(!d){break L}if(!m){l=1;break L}a=H[g+56>>2];b=H[g+36>>2];c=H[g+48>>2];d=H[g+24>>2];while(1){Q:{if(a>>>0>131071){break Q}l=H[g+52>>2];while(1){if((l|0)<=0){break Q}l=l-1|0;H[g+52>>2]=l;a=I[c+l|0]|a<<8;H[g+56>>2]=a;if(a>>>0<131072){continue}break}}e=a&32767;f=H[d+(e<<2)>>2];l=b+(f<<3)|0;a=(N(H[l>>2],a>>>15|0)+e|0)-H[l+4>>2]|0;H[g+56>>2]=a;H[t+(p<<2)>>2]=f;l=1;p=p+1|0;if((m|0)!=(p|0)){continue}break}}a=H[g+36>>2];if(a){H[g+40>>2]=a;ra(a)}a=H[g+24>>2];if(a){H[g+28>>2]=a;ra(a)}a=H[g+8>>2];if(a){H[g+12>>2]=a;ra(a)}fa=g- -64|0;b=l;break h;case 10:m=a;t=d;g=fa+-64|0;fa=g;H[g+56>>2]=0;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;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;h=g+8|0;a=J[c+38>>1];R:{S:{if(!a){break S}T:{if(a>>>0<=511){a=H[c+12>>2];e=H[c+20>>2];b=H[c+16>>2];d=b+4|0;e=d>>>0<4?e+1|0:e;if((a|0)<=(e|0)&d>>>0>K[c+8>>2]|(a|0)<(e|0)){break S}a=b+H[c>>2]|0;j=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);H[h+12>>2]=j;e=H[c+20>>2];a=H[c+16>>2]+4|0;e=a>>>0<4?e+1|0:e;f=a;H[c+16>>2]=a;H[c+20>>2]=e;break T}if(!kb(1,h+12|0,c)){break S}f=H[c+16>>2];e=H[c+20>>2];j=H[h+12>>2]}a=H[c+8>>2];b=a-f|0;a=H[c+12>>2]-((a>>>0<f>>>0)+e|0)|0;if(b>>>0<j>>>6>>>0&(a|0)<=0|(a|0)<0){break S}b=H[h>>2];a=H[h+4>>2]-b>>2;U:{if(a>>>0<j>>>0){Aa(h,j-a|0);j=H[h+12>>2];break U}if(a>>>0<=j>>>0){break U}H[h+4>>2]=b+(j<<2)}d=1;if(!j){break R}f=H[c+16>>2];e=H[c+20>>2];q=H[h>>2];r=H[c+8>>2];o=H[c+12>>2];b=0;while(1){d=0;if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break R}d=H[c>>2];n=I[d+f|0];a=f+1|0;i=a?e:e+1|0;f=a;H[c+16>>2]=a;e=i;H[c+20>>2]=e;a=n>>>2|0;i=0;V:{W:{X:{Y:{s=n&3;switch(s|0){case 0:break W;case 3:break Y;default:break X}}a=a+b|0;d=0;if(a>>>0>=j>>>0){break R}ua(q+(b<<2)|0,0,(n&252)+4|0);b=a;break V}while(1){if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break S}j=I[d+f|0];f=f+1|0;e=f?e:e+1|0;H[c+16>>2]=f;H[c+20>>2]=e;a=j<<(i<<3|6)|a;i=i+1|0;if((s|0)!=(i|0)){continue}break}}H[q+(b<<2)>>2]=a}b=b+1|0;j=H[h+12>>2];if(b>>>0<j>>>0){continue}break}a=h+16|0;o=H[h>>2];d=H[h+16>>2];b=H[h+20>>2]-d|0;Z:{if(b>>>0<=262143){Aa(a,65536-(b>>>2|0)|0);break Z}if((b|0)==262144){break Z}H[h+20>>2]=d+262144}d=h+28|0;b=H[d>>2];e=H[h+32>>2]-b>>3;_:{if(e>>>0<j>>>0){sb(d,j-e|0);b=H[d>>2];break _}if(e>>>0>j>>>0){H[h+32>>2]=(j<<3)+b}if(!j){break S}}h=H[a>>2];e=0;d=0;while(1){f=o+(e<<2)|0;i=H[f>>2];n=(e<<3)+b|0;a=d;H[n+4>>2]=a;H[n>>2]=i;f=H[f>>2];d=f+a|0;if(d>>>0>65536){break S}$:{if(a>>>0>=d>>>0){break $}i=0;n=f&7;if(n){while(1){H[h+(a<<2)>>2]=e;a=a+1|0;i=i+1|0;if((n|0)!=(i|0)){continue}break}}if(f-1>>>0<=6){break $}while(1){f=h+(a<<2)|0;H[f>>2]=e;H[f+28>>2]=e;H[f+24>>2]=e;H[f+20>>2]=e;H[f+16>>2]=e;H[f+12>>2]=e;H[f+8>>2]=e;H[f+4>>2]=e;a=a+8|0;if((d|0)!=(a|0)){continue}break}}e=e+1|0;if((j|0)!=(e|0)){continue}break}k=(d|0)==65536}d=k}aa:{if(!d|(H[g+20>>2]?0:m)){break aa}d=0;i=fa-16|0;fa=i;ba:{ca:{if(J[c+38>>1]<=511){j=H[c+12>>2];a=j;e=H[c+20>>2];k=H[c+16>>2];f=k+8|0;e=f>>>0<8?e+1|0:e;b=H[c+8>>2];if(b>>>0<f>>>0&(a|0)<=(e|0)|(a|0)<(e|0)){break ba}k=k+H[c>>2]|0;a=I[k|0]|I[k+1|0]<<8|(I[k+2|0]<<16|I[k+3|0]<<24);k=I[k+4|0]|I[k+5|0]<<8|(I[k+6|0]<<16|I[k+7|0]<<24);H[c+16>>2]=f;H[c+20>>2]=e;break ca}if(!jb(1,i+8|0,c)){break ba}f=H[c+16>>2];e=H[c+20>>2];b=H[c+8>>2];j=H[c+12>>2];a=H[i+8>>2];k=H[i+12>>2]}h=b-f|0;b=j-((b>>>0<f>>>0)+e|0)|0;if((b|0)==(k|0)&a>>>0>h>>>0|b>>>0<k>>>0){break ba}e=e+k|0;b=a+f|0;e=b>>>0<a>>>0?e+1|0:e;H[c+16>>2]=b;H[c+20>>2]=e;if((a|0)<=0){break ba}b=f+H[c>>2]|0;H[g+48>>2]=b;c=a-1|0;e=c+b|0;f=I[e|0];da:{if(f>>>0<=63){H[g+52>>2]=c;a=I[e|0]&63;break da}ea:{switch((f>>>6|0)-1|0){case 0:if(a>>>0<2){break ba}a=a-2|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8&16128|I[a|0];break da;case 1:if(a>>>0<3){break ba}a=a-3|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8|I[a+2|0]<<16&4128768|I[a|0];break da;default:break ea}}a=a-4|0;H[g+52>>2]=a;a=a+b|0;a=I[a+2|0]<<16|I[a+3|0]<<24&1056964608|I[a+1|0]<<8|I[a|0]}H[g+56>>2]=a+262144;d=a>>>0<66846720}fa=i+16|0;if(!d){break aa}if(!m){l=1;break aa}a=H[g+56>>2];b=H[g+36>>2];c=H[g+48>>2];d=H[g+24>>2];while(1){fa:{if(a>>>0>262143){break fa}l=H[g+52>>2];while(1){if((l|0)<=0){break fa}l=l-1|0;H[g+52>>2]=l;a=I[c+l|0]|a<<8;H[g+56>>2]=a;if(a>>>0<262144){continue}break}}e=a&65535;f=H[d+(e<<2)>>2];l=b+(f<<3)|0;a=(N(H[l>>2],a>>>16|0)+e|0)-H[l+4>>2]|0;H[g+56>>2]=a;H[t+(p<<2)>>2]=f;l=1;p=p+1|0;if((m|0)!=(p|0)){continue}break}}a=H[g+36>>2];if(a){H[g+40>>2]=a;ra(a)}a=H[g+24>>2];if(a){H[g+28>>2]=a;ra(a)}a=H[g+8>>2];if(a){H[g+12>>2]=a;ra(a)}fa=g- -64|0;b=l;break h;case 11:m=a;t=d;g=fa+-64|0;fa=g;H[g+56>>2]=0;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;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;h=g+8|0;a=J[c+38>>1];ga:{ha:{if(!a){break ha}ia:{if(a>>>0<=511){a=H[c+12>>2];e=H[c+20>>2];b=H[c+16>>2];d=b+4|0;e=d>>>0<4?e+1|0:e;if((a|0)<=(e|0)&d>>>0>K[c+8>>2]|(a|0)<(e|0)){break ha}a=b+H[c>>2]|0;j=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);H[h+12>>2]=j;i=H[c+20>>2];a=H[c+16>>2]+4|0;i=a>>>0<4?i+1|0:i;f=a;H[c+16>>2]=a;e=i;H[c+20>>2]=e;break ia}if(!kb(1,h+12|0,c)){break ha}f=H[c+16>>2];e=H[c+20>>2];j=H[h+12>>2]}a=H[c+8>>2];b=a-f|0;a=H[c+12>>2]-((a>>>0<f>>>0)+e|0)|0;if(b>>>0<j>>>6>>>0&(a|0)<=0|(a|0)<0){break ha}b=H[h>>2];a=H[h+4>>2]-b>>2;ja:{if(a>>>0<j>>>0){Aa(h,j-a|0);j=H[h+12>>2];break ja}if(a>>>0<=j>>>0){break ja}H[h+4>>2]=b+(j<<2)}d=1;if(!j){break ga}f=H[c+16>>2];e=H[c+20>>2];q=H[h>>2];r=H[c+8>>2];o=H[c+12>>2];b=0;while(1){d=0;if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break ga}d=H[c>>2];n=I[d+f|0];a=f+1|0;e=a?e:e+1|0;f=a;H[c+16>>2]=a;H[c+20>>2]=e;a=n>>>2|0;i=0;ka:{la:{ma:{na:{s=n&3;switch(s|0){case 0:break la;case 3:break na;default:break ma}}a=a+b|0;d=0;if(a>>>0>=j>>>0){break ga}ua(q+(b<<2)|0,0,(n&252)+4|0);b=a;break ka}while(1){if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break ha}j=I[d+f|0];f=f+1|0;e=f?e:e+1|0;H[c+16>>2]=f;H[c+20>>2]=e;a=j<<(i<<3|6)|a;i=i+1|0;if((s|0)!=(i|0)){continue}break}}H[q+(b<<2)>>2]=a}b=b+1|0;j=H[h+12>>2];if(b>>>0<j>>>0){continue}break}a=h+16|0;o=H[h>>2];d=H[h+16>>2];b=H[h+20>>2]-d|0;oa:{if(b>>>0<=1048575){Aa(a,262144-(b>>>2|0)|0);break oa}if((b|0)==1048576){break oa}H[h+20>>2]=d- -1048576}d=h+28|0;b=H[d>>2];e=H[h+32>>2]-b>>3;pa:{if(e>>>0<j>>>0){sb(d,j-e|0);b=H[d>>2];break pa}if(e>>>0>j>>>0){H[h+32>>2]=(j<<3)+b}if(!j){break ha}}h=H[a>>2];e=0;d=0;while(1){f=o+(e<<2)|0;i=H[f>>2];n=(e<<3)+b|0;a=d;H[n+4>>2]=a;H[n>>2]=i;f=H[f>>2];d=f+a|0;if(d>>>0>262144){break ha}qa:{if(a>>>0>=d>>>0){break qa}i=0;n=f&7;if(n){while(1){H[h+(a<<2)>>2]=e;a=a+1|0;i=i+1|0;if((n|0)!=(i|0)){continue}break}}if(f-1>>>0<=6){break qa}while(1){f=h+(a<<2)|0;H[f>>2]=e;H[f+28>>2]=e;H[f+24>>2]=e;H[f+20>>2]=e;H[f+16>>2]=e;H[f+12>>2]=e;H[f+8>>2]=e;H[f+4>>2]=e;a=a+8|0;if((d|0)!=(a|0)){continue}break}}e=e+1|0;if((j|0)!=(e|0)){continue}break}k=(d|0)==262144}d=k}ra:{if(!d|(H[g+20>>2]?0:m)){break ra}d=0;h=fa-16|0;fa=h;sa:{ta:{if(J[c+38>>1]<=511){j=H[c+12>>2];a=j;i=H[c+20>>2];k=H[c+16>>2];e=k+8|0;i=e>>>0<8?i+1|0:i;b=H[c+8>>2];f=e;e=i;if(b>>>0<f>>>0&(e|0)>=(a|0)|(a|0)<(e|0)){break sa}k=k+H[c>>2]|0;a=I[k|0]|I[k+1|0]<<8|(I[k+2|0]<<16|I[k+3|0]<<24);k=I[k+4|0]|I[k+5|0]<<8|(I[k+6|0]<<16|I[k+7|0]<<24);H[c+16>>2]=f;H[c+20>>2]=e;break ta}if(!jb(1,h+8|0,c)){break sa}f=H[c+16>>2];e=H[c+20>>2];b=H[c+8>>2];j=H[c+12>>2];a=H[h+8>>2];k=H[h+12>>2]}i=b-f|0;b=j-((b>>>0<f>>>0)+e|0)|0;if((b|0)==(k|0)&a>>>0>i>>>0|b>>>0<k>>>0){break sa}e=e+k|0;b=a+f|0;e=b>>>0<a>>>0?e+1|0:e;H[c+16>>2]=b;H[c+20>>2]=e;if((a|0)<=0){break sa}b=f+H[c>>2]|0;H[g+48>>2]=b;c=a-1|0;e=c+b|0;f=I[e|0];ua:{if(f>>>0<=63){H[g+52>>2]=c;a=I[e|0]&63;break ua}va:{switch((f>>>6|0)-1|0){case 0:if(a>>>0<2){break sa}a=a-2|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8&16128|I[a|0];break ua;case 1:if(a>>>0<3){break sa}a=a-3|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8|I[a+2|0]<<16&4128768|I[a|0];break ua;default:break va}}a=a-4|0;H[g+52>>2]=a;a=a+b|0;a=I[a+2|0]<<16|I[a+3|0]<<24&1056964608|I[a+1|0]<<8|I[a|0]}H[g+56>>2]=a- -1048576;d=a>>>0<267386880}fa=h+16|0;if(!d){break ra}if(!m){l=1;break ra}a=H[g+56>>2];b=H[g+36>>2];c=H[g+48>>2];d=H[g+24>>2];while(1){wa:{if(a>>>0>1048575){break wa}l=H[g+52>>2];while(1){if((l|0)<=0){break wa}l=l-1|0;H[g+52>>2]=l;a=I[c+l|0]|a<<8;H[g+56>>2]=a;if(a>>>0<1048576){continue}break}}e=a&262143;f=H[d+(e<<2)>>2];l=b+(f<<3)|0;a=(N(H[l>>2],a>>>18|0)+e|0)-H[l+4>>2]|0;H[g+56>>2]=a;H[t+(p<<2)>>2]=f;l=1;p=p+1|0;if((m|0)!=(p|0)){continue}break}}a=H[g+36>>2];if(a){H[g+40>>2]=a;ra(a)}a=H[g+24>>2];if(a){H[g+28>>2]=a;ra(a)}a=H[g+8>>2];if(a){H[g+12>>2]=a;ra(a)}fa=g- -64|0;b=l;break h;case 12:m=a;t=d;g=fa+-64|0;fa=g;H[g+56>>2]=0;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;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;h=g+8|0;a=J[c+38>>1];xa:{ya:{if(!a){break ya}za:{if(a>>>0<=511){a=H[c+12>>2];i=H[c+20>>2];b=H[c+16>>2];d=b+4|0;i=d>>>0<4?i+1|0:i;if((a|0)<=(i|0)&d>>>0>K[c+8>>2]|(a|0)<(i|0)){break ya}a=b+H[c>>2]|0;j=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);H[h+12>>2]=j;e=H[c+20>>2];a=H[c+16>>2]+4|0;e=a>>>0<4?e+1|0:e;f=a;H[c+16>>2]=a;H[c+20>>2]=e;break za}if(!kb(1,h+12|0,c)){break ya}f=H[c+16>>2];e=H[c+20>>2];j=H[h+12>>2]}a=H[c+8>>2];b=a-f|0;a=H[c+12>>2]-((a>>>0<f>>>0)+e|0)|0;if(b>>>0<j>>>6>>>0&(a|0)<=0|(a|0)<0){break ya}b=H[h>>2];a=H[h+4>>2]-b>>2;Aa:{if(a>>>0<j>>>0){Aa(h,j-a|0);j=H[h+12>>2];break Aa}if(a>>>0<=j>>>0){break Aa}H[h+4>>2]=b+(j<<2)}d=1;if(!j){break xa}f=H[c+16>>2];e=H[c+20>>2];q=H[h>>2];r=H[c+8>>2];o=H[c+12>>2];b=0;while(1){d=0;if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break xa}d=H[c>>2];n=I[d+f|0];a=f+1|0;e=a?e:e+1|0;f=a;H[c+16>>2]=a;H[c+20>>2]=e;a=n>>>2|0;i=0;Ba:{Ca:{Da:{Ea:{s=n&3;switch(s|0){case 0:break Ca;case 3:break Ea;default:break Da}}a=a+b|0;d=0;if(a>>>0>=j>>>0){break xa}ua(q+(b<<2)|0,0,(n&252)+4|0);b=a;break Ba}while(1){if((e|0)>=(o|0)&f>>>0>=r>>>0|(e|0)>(o|0)){break ya}j=I[d+f|0];f=f+1|0;e=f?e:e+1|0;H[c+16>>2]=f;H[c+20>>2]=e;a=j<<(i<<3|6)|a;i=i+1|0;if((s|0)!=(i|0)){continue}break}}H[q+(b<<2)>>2]=a}b=b+1|0;j=H[h+12>>2];if(b>>>0<j>>>0){continue}break}a=h+16|0;o=H[h>>2];d=H[h+16>>2];b=H[h+20>>2]-d|0;Fa:{if(b>>>0<=2097151){Aa(a,524288-(b>>>2|0)|0);break Fa}if((b|0)==2097152){break Fa}H[h+20>>2]=d+2097152}d=h+28|0;b=H[d>>2];e=H[h+32>>2]-b>>3;Ga:{if(e>>>0<j>>>0){sb(d,j-e|0);b=H[d>>2];break Ga}if(e>>>0>j>>>0){H[h+32>>2]=(j<<3)+b}if(!j){break ya}}h=H[a>>2];e=0;d=0;while(1){f=o+(e<<2)|0;i=H[f>>2];n=(e<<3)+b|0;a=d;H[n+4>>2]=a;H[n>>2]=i;f=H[f>>2];d=f+a|0;if(d>>>0>524288){break ya}Ha:{if(a>>>0>=d>>>0){break Ha}i=0;n=f&7;if(n){while(1){H[h+(a<<2)>>2]=e;a=a+1|0;i=i+1|0;if((n|0)!=(i|0)){continue}break}}if(f-1>>>0<=6){break Ha}while(1){f=h+(a<<2)|0;H[f>>2]=e;H[f+28>>2]=e;H[f+24>>2]=e;H[f+20>>2]=e;H[f+16>>2]=e;H[f+12>>2]=e;H[f+8>>2]=e;H[f+4>>2]=e;a=a+8|0;if((d|0)!=(a|0)){continue}break}}e=e+1|0;if((j|0)!=(e|0)){continue}break}k=(d|0)==524288}d=k}Ia:{if(!d|(H[g+20>>2]?0:m)){break Ia}d=0;i=fa-16|0;fa=i;Ja:{Ka:{if(J[c+38>>1]<=511){j=H[c+12>>2];a=j;e=H[c+20>>2];k=H[c+16>>2];f=k+8|0;e=f>>>0<8?e+1|0:e;b=H[c+8>>2];if(b>>>0<f>>>0&(a|0)<=(e|0)|(a|0)<(e|0)){break Ja}k=k+H[c>>2]|0;a=I[k|0]|I[k+1|0]<<8|(I[k+2|0]<<16|I[k+3|0]<<24);k=I[k+4|0]|I[k+5|0]<<8|(I[k+6|0]<<16|I[k+7|0]<<24);H[c+16>>2]=f;H[c+20>>2]=e;break Ka}if(!jb(1,i+8|0,c)){break Ja}f=H[c+16>>2];e=H[c+20>>2];b=H[c+8>>2];j=H[c+12>>2];a=H[i+8>>2];k=H[i+12>>2]}h=b-f|0;b=j-((b>>>0<f>>>0)+e|0)|0;if((b|0)==(k|0)&a>>>0>h>>>0|b>>>0<k>>>0){break Ja}e=e+k|0;b=a+f|0;e=b>>>0<a>>>0?e+1|0:e;H[c+16>>2]=b;H[c+20>>2]=e;if((a|0)<=0){break Ja}b=f+H[c>>2]|0;H[g+48>>2]=b;c=a-1|0;e=c+b|0;f=I[e|0];La:{if(f>>>0<=63){H[g+52>>2]=c;a=I[e|0]&63;break La}Ma:{switch((f>>>6|0)-1|0){case 0:if(a>>>0<2){break Ja}a=a-2|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8&16128|I[a|0];break La;case 1:if(a>>>0<3){break Ja}a=a-3|0;H[g+52>>2]=a;a=a+b|0;a=I[a+1|0]<<8|I[a+2|0]<<16&4128768|I[a|0];break La;default:break Ma}}a=a-4|0;H[g+52>>2]=a;a=a+b|0;a=I[a+2|0]<<16|I[a+3|0]<<24&1056964608|I[a+1|0]<<8|I[a|0]}H[g+56>>2]=a+2097152;d=a>>>0<534773760}fa=i+16|0;if(!d){break Ia}if(!m){l=1;break Ia}a=H[g+56>>2];b=H[g+36>>2];c=H[g+48>>2];d=H[g+24>>2];while(1){Na:{if(a>>>0>2097151){break Na}l=H[g+52>>2];while(1){if((l|0)<=0){break Na}l=l-1|0;H[g+52>>2]=l;a=I[c+l|0]|a<<8;H[g+56>>2]=a;if(a>>>0<2097152){continue}break}}e=a&524287;f=H[d+(e<<2)>>2];l=b+(f<<3)|0;a=(N(H[l>>2],a>>>19|0)+e|0)-H[l+4>>2]|0;H[g+56>>2]=a;H[t+(p<<2)>>2]=f;l=1;p=p+1|0;if((m|0)!=(p|0)){continue}break}}a=H[g+36>>2];if(a){H[g+40>>2]=a;ra(a)}a=H[g+24>>2];if(a){H[g+28>>2]=a;ra(a)}a=H[g+8>>2];if(a){H[g+12>>2]=a;ra(a)}fa=g- -64|0;b=l;break h;case 17:b=Je(a,c,d);break h;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:e=fa+-64|0;fa=e;H[e+56>>2]=0;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;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;Oa:{if(!Le(e+8|0,c)|(H[e+20>>2]?0:a)){break Oa}if(!Ke(e+8|0,c)){break Oa}if(!a){b=1;break Oa}c=H[e+56>>2];l=H[e+36>>2];k=H[e+48>>2];i=H[e+24>>2];while(1){Pa:{if(c>>>0>16383){break Pa}b=H[e+52>>2];while(1){if((b|0)<=0){break Pa}b=b-1|0;H[e+52>>2]=b;c=I[b+k|0]|c<<8;H[e+56>>2]=c;if(c>>>0<16384){continue}break}}b=c&4095;g=H[i+(b<<2)>>2];m=l+(g<<3)|0;c=(N(H[m>>2],c>>>12|0)+b|0)-H[m+4>>2]|0;H[e+56>>2]=c;H[(f<<2)+d>>2]=g;b=1;f=f+1|0;if((f|0)!=(a|0)){continue}break}}a=H[e+36>>2];if(a){H[e+40>>2]=a;ra(a)}a=H[e+24>>2];if(a){H[e+28>>2]=a;ra(a)}a=H[e+8>>2];if(a){H[e+12>>2]=a;ra(a)}fa=e- -64|0;break h;case 13:case 14:case 15:case 16:break i;default:break h}}b=Je(a,c,d)}f=b}return f}function gi(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,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,O=0,P=0,Q=0,R=0;t=fa+-64|0;fa=t;H[a+132>>2]=0;if(H[a+148>>2]){c=H[a+144>>2];if(c){while(1){d=H[c>>2];ra(c);c=d;if(c){continue}break}}c=0;H[a+144>>2]=0;d=H[a+140>>2];a:{if(!d){break a}if(d>>>0>=4){f=d&-4;while(1){b=c<<2;H[b+H[a+136>>2]>>2]=0;H[H[a+136>>2]+(b|4)>>2]=0;H[H[a+136>>2]+(b|8)>>2]=0;H[H[a+136>>2]+(b|12)>>2]=0;c=c+4|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}}d=d&3;if(!d){break a}while(1){H[H[a+136>>2]+(c<<2)>>2]=0;c=c+1|0;x=x+1|0;if((d|0)!=(x|0)){continue}break}}H[a+148>>2]=0}b:{c:{d:{c=H[a+4>>2];x=I[c+36|0];d=x<<8|I[c+37|0];if(d>>>0<=513){b=H[c+32>>2];e:{if(d>>>0<=511){g=H[b+20>>2];f=H[b+16>>2];d=f+4|0;g=d>>>0<4?g+1|0:g;e=d;d=g;i=H[b+12>>2];if(e>>>0>K[b+8>>2]&(d|0)>=(i|0)|(d|0)>(i|0)){break d}g=f+H[b>>2]|0;g=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);H[b+16>>2]=e;H[b+20>>2]=d;break e}if(!Ga(1,t,b)){break d}c=H[a+4>>2];x=I[c+36|0];g=H[t>>2]}H[a+132>>2]=g}g=H[c+32>>2];f:{g:{h:{if((x&255)>>>0<=1){x=0;d=H[g+20>>2];b=H[g+16>>2];f=b+4|0;d=f>>>0<4?d+1|0:d;e=H[g+12>>2];if((e|0)<=(d|0)&f>>>0>K[g+8>>2]|(d|0)>(e|0)){break c}b=b+H[g>>2]|0;b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[t+60>>2]=b;H[g+16>>2]=f;H[g+20>>2]=d;H[a+156>>2]=b;q=a+156|0;break h}x=0;if(!Ga(1,t+60|0,g)){break c}c=H[a+4>>2];d=I[c+36|0];H[a+156>>2]=H[t+60>>2];q=a+156|0;if(d>>>0>1){break g}}d=H[c+32>>2];c=H[d+8>>2];g=H[d+12>>2];i=c;c=H[d+20>>2];b=H[d+16>>2];f=b+4|0;c=f>>>0<4?c+1|0:c;if(i>>>0<f>>>0&(c|0)>=(g|0)|(c|0)>(g|0)){break c}g=b+H[d>>2]|0;g=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);H[t+56>>2]=g;H[d+16>>2]=f;H[d+20>>2]=c;break f}if(!Ga(1,t+56|0,H[c+32>>2])){break c}g=H[t+56>>2]}if(g>>>0>1431655765|K[q>>2]>N(g,3)>>>0){break c}l=H[a+4>>2];b=H[l+32>>2];B=H[b+8>>2];f=H[b+12>>2];d=H[b+20>>2];e=H[b+16>>2];if((f|0)<=(d|0)&B>>>0<=e>>>0|(d|0)>(f|0)){break c}j=H[b>>2];i=I[j+e|0];c=d;q=e+1|0;c=q?c:c+1|0;H[b+16>>2]=q;H[b+20>>2]=c;i:{if(I[l+36|0]<=1){c=f;f=e+5|0;d=f>>>0<5?d+1|0:d;if((c|0)<=(d|0)&f>>>0>B>>>0|(c|0)<(d|0)){break c}c=j+q|0;q=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[t+52>>2]=q;H[b+16>>2]=f;H[b+20>>2]=d;break i}if(!Ga(1,t+52|0,b)){break c}q=H[t+52>>2]}if(g>>>0<q>>>0|((q>>>0)/3|0)+q>>>0<g>>>0){break c}c=H[a+4>>2];b=H[c+32>>2];j:{if(I[c+36|0]<=1){c=H[b+20>>2];d=H[b+16>>2];f=d+4|0;c=f>>>0<4?c+1|0:c;e=H[b+12>>2];if((e|0)<=(c|0)&f>>>0>K[b+8>>2]|(c|0)>(e|0)){break c}d=d+H[b>>2]|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[t+48>>2]=d;H[b+16>>2]=f;H[b+20>>2]=c;break j}if(!Ga(1,t+48|0,b)){break c}d=H[t+48>>2]}if(d>>>0>q>>>0){break c}H[a+28>>2]=H[a+24>>2];b=ac(sa(88));c=H[a+8>>2];H[a+8>>2]=b;if(c){fb(c);if(!H[a+8>>2]){break c}}H[a+164>>2]=H[a+160>>2];Lb(a+160|0,g);H[a+176>>2]=H[a+172>>2];Lb(a+172|0,g);H[a- -64>>2]=0;H[a+92>>2]=-1;H[a+84>>2]=-1;H[a+88>>2]=-1;H[a+40>>2]=H[a+36>>2];H[a+52>>2]=H[a+48>>2];H[a+76>>2]=H[a+72>>2];C=a+216|0;cd(C);bd(C,i);if(!Kc(H[a+8>>2],g,H[a+156>>2]+d|0)){break c}c=H[a+156>>2];F[t|0]=1;Ra(a+120|0,c+d|0,t);c=H[a+4>>2];g=J[c+36>>1];g=(g<<8|g>>>8)&65535;k:{if(g>>>0<=513){b=H[c+32>>2];l:{if(g>>>0<=511){g=H[b+20>>2];f=H[b+16>>2];c=f+4|0;g=c>>>0<4?g+1|0:g;e=c;c=g;l=H[b+12>>2];if(e>>>0>K[b+8>>2]&(c|0)>=(l|0)|(c|0)>(l|0)){break c}g=f+H[b>>2]|0;g=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);H[b+16>>2]=e;H[b+20>>2]=c;break l}if(!Ga(1,t+44|0,b)){break c}g=H[t+44>>2]}if(!g){break c}c=H[H[a+4>>2]+32>>2];b=H[c+8>>2];f=H[c+16>>2];e=b-f|0;c=H[c+12>>2]-(H[c+20>>2]+(b>>>0<f>>>0)|0)|0;if(e>>>0<g>>>0&(c|0)<=0|(c|0)<0){break c}c=Ka(t);f=H[H[a+4>>2]+32>>2];b=H[f+16>>2];e=(b+H[f>>2]|0)+g|0;l=H[f+8>>2];g=(l-b|0)-g|0;G[c+38>>1]=J[f+38>>1];H[c>>2]=e;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=g;H[c+12>>2]=0;B=Kb(a,c);if((B|0)==-1){break c}O=B>>31;break k}B=-1;O=-1;if((Kb(a,H[c+32>>2])|0)==-1){break c}}e=a+232|0;Ce(e,a);H[a+372>>2]=i;H[a+384>>2]=H[a+156>>2]+d;E=Ka(t);b=E;g=0;i=fa-16|0;fa=i;m:{n:{c=H[e+144>>2];c=J[(ha[H[H[c>>2]+32>>2]](c)|0)+36>>1];if(((c<<8|c>>>8)&65535)>>>0<=513){c=H[e+4>>2];H[e+40>>2]=H[e>>2];H[e+44>>2]=c;c=H[e+36>>2];H[e+72>>2]=H[e+32>>2];H[e+76>>2]=c;d=H[e+28>>2];c=e- -64|0;H[c>>2]=H[e+24>>2];H[c+4>>2]=d;c=H[e+20>>2];H[e+56>>2]=H[e+16>>2];H[e+60>>2]=c;c=H[e+12>>2];H[e+48>>2]=H[e+8>>2];H[e+52>>2]=c;if(!Fb(e+40|0,1,i+8|0)){break n}c=H[e+44>>2];H[e>>2]=H[e+40>>2];H[e+4>>2]=c;c=H[e+76>>2];H[e+32>>2]=H[e+72>>2];H[e+36>>2]=c;c=H[e+68>>2];H[e+24>>2]=H[e+64>>2];H[e+28>>2]=c;d=H[e+60>>2];f=d;c=H[e+56>>2];H[e+16>>2]=c;H[e+20>>2]=d;l=H[e+52>>2];d=H[e+48>>2];H[e+8>>2]=d;H[e+12>>2]=l;j=d-c|0;m=H[i+12>>2];d=l-((c>>>0>d>>>0)+f|0)|0;l=H[i+8>>2];if((m|0)==(d|0)&j>>>0<l>>>0|d>>>0<m>>>0){break n}d=c;l=c+l|0;c=f+m|0;H[e+16>>2]=l;H[e+20>>2]=d>>>0>l>>>0?c+1|0:c}o:{if(J[e+38>>1]<=513){c=H[e+4>>2];H[e+96>>2]=H[e>>2];H[e+100>>2]=c;c=H[e+36>>2];H[e+128>>2]=H[e+32>>2];H[e+132>>2]=c;c=H[e+28>>2];H[e+120>>2]=H[e+24>>2];H[e+124>>2]=c;c=H[e+20>>2];H[e+112>>2]=H[e+16>>2];H[e+116>>2]=c;c=H[e+12>>2];H[e+104>>2]=H[e+8>>2];H[e+108>>2]=c;if(!Fb(e+96|0,1,i+8|0)){break n}c=H[e+100>>2];H[e>>2]=H[e+96>>2];H[e+4>>2]=c;c=H[e+132>>2];H[e+32>>2]=H[e+128>>2];H[e+36>>2]=c;c=H[e+124>>2];H[e+24>>2]=H[e+120>>2];H[e+28>>2]=c;d=H[e+116>>2];f=d;c=H[e+112>>2];H[e+16>>2]=c;H[e+20>>2]=d;l=H[e+108>>2];d=H[e+104>>2];H[e+8>>2]=d;H[e+12>>2]=l;j=d-c|0;m=H[i+12>>2];d=l-((c>>>0>d>>>0)+f|0)|0;l=H[i+8>>2];if((m|0)==(d|0)&j>>>0<l>>>0|d>>>0<m>>>0){break n}d=f+m|0;l=c+l|0;d=l>>>0<c>>>0?d+1|0:d;H[e+16>>2]=l;H[e+20>>2]=d;break o}if(!wa(e+80|0,e)){break m}}if(!De(e)){break m}c=H[e+4>>2];H[b>>2]=H[e>>2];H[b+4>>2]=c;c=H[e+36>>2];H[b+32>>2]=H[e+32>>2];H[b+36>>2]=c;c=H[e+28>>2];H[b+24>>2]=H[e+24>>2];H[b+28>>2]=c;c=H[e+20>>2];H[b+16>>2]=H[e+16>>2];H[b+20>>2]=c;c=H[e+12>>2];H[b+8>>2]=H[e+8>>2];H[b+12>>2]=c;c=H[e+144>>2];c=J[(ha[H[H[c>>2]+32>>2]](c)|0)+36>>1];p:{if(((c<<8|c>>>8)&65535)>>>0<=513){c=H[e+144>>2];q:{if(I[(ha[H[H[c>>2]+32>>2]](c)|0)+36|0]<=1){c=H[b+20>>2];d=H[b+16>>2];f=d+4|0;c=f>>>0<4?c+1|0:c;l=H[b+12>>2];if((l|0)<=(c|0)&f>>>0>K[b+8>>2]|(c|0)>(l|0)){break m}d=d+H[b>>2]|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=f;H[b+20>>2]=c;break q}if(!Ga(1,i+8|0,b)){break m}d=H[i+8>>2]}c=H[e+152>>2];if(d>>>0>=c>>>0){break m}d=H[b+20>>2];l=H[b+12>>2];f=H[b+16>>2];if((d|0)>=(l|0)&f>>>0>=K[b+8>>2]|(d|0)>(l|0)){break m}l=I[f+H[b>>2]|0];f=f+1|0;d=f?d:d+1|0;H[b+16>>2]=f;H[b+20>>2]=d;if(l){break m}H[e+176>>2]=2;H[e+180>>2]=7;break p}H[e+176>>2]=2;H[e+180>>2]=7;c=H[e+152>>2]}if((c|0)<0){break m}H[i+8>>2]=0;g=2;l=H[e+156>>2];f=H[e+160>>2]-l>>2;r:{if(f>>>0<c>>>0){Ia(e+156|0,c-f|0,i+8|0);g=H[e+176>>2];d=H[e+180>>2];break r}d=7;if(c>>>0>=f>>>0){break r}H[e+160>>2]=l+(c<<2)}f=e+184|0;d=(d-g|0)+1|0;c=H[e+188>>2];l=H[e+184>>2];g=(c-l|0)/12|0;s:{if(d>>>0>g>>>0){d=d-g|0;j=H[f+8>>2];c=H[f+4>>2];t:{if(d>>>0<=(j-c|0)/12>>>0){if(d){g=c;c=N(d,12)-12|0;c=(c-((c>>>0)%12|0)|0)+12|0;c=ua(g,0,c)+c|0}H[f+4>>2]=c;break t}u:{v:{w:{l=H[f>>2];m=(c-l|0)/12|0;g=m+d|0;if(g>>>0<357913942){j=(j-l|0)/12|0;h=j<<1;j=j>>>0>=178956970?357913941:g>>>0<h>>>0?h:g;if(j){if(j>>>0>=357913942){break w}y=sa(N(j,12))}g=N(m,12)+y|0;d=N(d,12)-12|0;m=(d-((d>>>0)%12|0)|0)+12|0;d=ua(g,0,m);m=d+m|0;j=N(j,12)+y|0;if((c|0)==(l|0)){break v}while(1){g=g-12|0;c=c-12|0;H[g>>2]=H[c>>2];H[g+4>>2]=H[c+4>>2];H[g+8>>2]=H[c+8>>2];H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;if((c|0)!=(l|0)){continue}break}H[f+8>>2]=j;d=H[f+4>>2];H[f+4>>2]=m;c=H[f>>2];H[f>>2]=g;if((c|0)==(d|0)){break u}while(1){g=d-12|0;l=H[g>>2];if(l){H[d-8>>2]=l;ra(l)}d=g;if((d|0)!=(c|0)){continue}break}break u}break b}za();v()}H[f+8>>2]=j;H[f+4>>2]=m;H[f>>2]=d}if(c){ra(c)}}d=H[e+188>>2];break s}if(d>>>0>=g>>>0){d=c;break s}d=l+N(d,12)|0;if((d|0)!=(c|0)){while(1){g=c-12|0;l=H[g>>2];if(l){H[c-8>>2]=l;ra(l)}c=g;if((d|0)!=(c|0)){continue}break}}H[e+188>>2]=d}j=e+196|0;g=H[e+184>>2];c=(d-g|0)/12|0;m=H[e+196>>2];l=H[e+200>>2]-m>>2;x:{if(c>>>0>l>>>0){Aa(j,c-l|0);g=H[e+184>>2];d=H[e+188>>2];break x}if(c>>>0>=l>>>0){break x}H[e+200>>2]=m+(c<<2)}if((d|0)==(g|0)){g=1;break m}c=0;while(1){if(!Ga(1,i+8|0,b)){break n}g=H[i+8>>2];d=H[e+148>>2];if(g>>>0>(H[d+4>>2]-H[d>>2]>>2>>>0)/3>>>0){break n}if(g){y=N(c,12);l=y+H[f>>2]|0;d=H[l>>2];m=H[l+4>>2]-d>>2;y:{if(m>>>0<g>>>0){Aa(l,g-m|0);d=H[y+H[f>>2]>>2];break y}if(g>>>0>=m>>>0){break y}H[l+4>>2]=(g<<2)+d}id(g,1,b,d);H[H[j>>2]+(c<<2)>>2]=g}g=1;c=c+1|0;if(c>>>0<(H[e+188>>2]-H[e+184>>2]|0)/12>>>0){continue}break}break m}g=0}fa=i+16|0;z:{if(!g){break z}c=0;f=0;g=0;d=0;l=0;y=0;n=fa-96|0;fa=n;H[n+72>>2]=0;H[n+64>>2]=0;H[n+68>>2]=0;H[n+48>>2]=0;H[n+52>>2]=0;H[n+40>>2]=0;H[n+44>>2]=0;H[n+56>>2]=1065353216;H[n+32>>2]=0;H[n+24>>2]=0;H[n+28>>2]=0;j=a;L=H[a+124>>2];A:{B:{C:{D:{if((q|0)<=0){break D}r=j+232|0;P=H[j+216>>2]!=H[j+220>>2];D=1;while(1){i=l;l=i+1|0;a=H[r+172>>2];E:{F:{if((a|0)!=-1){b=H[r+196>>2]+(a<<2)|0;m=H[b>>2];a=m-1|0;H[b>>2]=a;b=9;if((m|0)<=0){break E}a=H[H[H[r+184>>2]+N(H[r+172>>2],12)>>2]+(a<<2)>>2];if(a>>>0>4){break E}b=H[(a<<2)+12144>>2];break F}b=7;a=H[r+144>>2];a=J[(ha[H[H[a>>2]+32>>2]](a)|0)+36>>1];if(((a<<8|a>>>8)&65535)>>>0>513|!I[r+76|0]){break F}b=0;p=H[r- -64>>2];h=H[r+72>>2];a=p+(h>>>3|0)|0;o=H[r+68>>2];if(a>>>0>=o>>>0){break F}m=I[a|0];a=h+1|0;H[r+72>>2]=a;m=m>>>(h&7)&1;if(!m){break F}k=a>>>3|0;b=p+k|0;G:{if(b>>>0>=o>>>0){b=a;a=0;break G}s=I[b|0];b=h+2|0;H[r+72>>2]=b;k=b>>>3|0;a=s>>>(a&7)&1}h=k+p|0;if(h>>>0<o>>>0){h=I[h|0];H[r+72>>2]=b+1;b=h>>>(b&7)<<1&2}else{b=0}b=(a|b)<<1|m}H[r+168>>2]=b}H:{I:{if(!b){if((c|0)==(g|0)){m=-1;break C}a=-1;k=H[j+8>>2];s=H[k+24>>2];w=c-4|0;h=H[w>>2];b=-1;J:{if((h|0)==-1){break J}m=h+1|0;m=(m>>>0)%3|0?m:h-2|0;b=-1;if((m|0)==-1){break J}b=H[H[k>>2]+(m<<2)>>2]}f=H[s+(b<<2)>>2];if((f|0)!=-1){a=f+1|0;a=(a>>>0)%3|0?a:f-2|0}if((a|0)==(h|0)){m=-1;break C}if((h|0)!=-1){m=-1;if(H[H[k+12>>2]+(h<<2)>>2]!=-1){break C}}f=H[k+12>>2];if((a|0)!=-1){m=-1;if(H[f+(a<<2)>>2]!=-1){break C}}i=N(i,3);m=i+1|0;H[f+(h<<2)>>2]=m;D=m<<2;H[D+f>>2]=h;o=i+2|0;H[f+(a<<2)>>2]=o;z=o<<2;H[z+f>>2]=a;p=-1;f=-1;K:{if((h|0)==-1){break K}L:{if((h>>>0)%3|0){m=h-1|0;break L}m=h+2|0;f=-1;if((m|0)==-1){break K}}f=H[H[k>>2]+(m<<2)>>2]}M:{if((a|0)==-1){break M}m=a+1|0;a=(m>>>0)%3|0?m:a-2|0;if((a|0)==-1){break M}p=H[H[k>>2]+(a<<2)>>2]}m=-1;if((b|0)==(f|0)|(b|0)==(p|0)){break C}a=H[k>>2];H[a+(i<<2)>>2]=b;H[a+D>>2]=p;H[a+z>>2]=f;if((f|0)!=-1){H[s+(f<<2)>>2]=o}a=H[j+120>>2]+(b>>>3&536870908)|0;f=H[a>>2];Q=a,R=Rj(b)&f,H[Q>>2]=R;H[w>>2]=i;s=H[c-4>>2];break I}m=-1;N:{O:{P:{Q:{R:{S:{T:{U:{V:{switch(b-1|0){case 2:case 4:if((c|0)==(g|0)){break C}w=c-4|0;a=H[w>>2];h=H[j+8>>2];k=H[h+12>>2];if(!((a|0)==-1|H[k+(a<<2)>>2]==-1)){break C}f=N(i,3);o=(b|0)==5;s=f+(o?2:1)|0;z=s<<2;H[z+k>>2]=a;H[k+(a<<2)>>2]=s;Na(h+24|0,11424);b=H[j+8>>2];p=H[b+24>>2];if(H[b+28>>2]-p>>2>(L|0)){break C}b=H[b>>2];A=b+z|0;k=H[h+28>>2];h=H[h+24>>2];z=(k-h>>2)-1|0;H[A>>2]=z;if((h|0)!=(k|0)){H[p+(z<<2)>>2]=s}k=o?f:f+2|0;o=b+(f+o<<2)|0;W:{if((a|0)==-1){H[b+(k<<2)>>2]=-1;h=-1;break W}X:{Y:{Z:{if((a>>>0)%3|0){h=a-1|0;break Z}h=a+2|0;if((h|0)==-1){break Y}}h=H[b+(h<<2)>>2];H[b+(k<<2)>>2]=h;if((h|0)==-1){break X}H[p+(h<<2)>>2]=k;break X}H[b+(k<<2)>>2]=-1}k=a+1|0;a=(k>>>0)%3|0?k:a-2|0;h=-1;if((a|0)==-1){break W}h=H[b+(a<<2)>>2]}H[o>>2]=h;H[w>>2]=f;break U;case 0:if((c|0)==(f|0)){break C}a=c-4|0;p=H[a>>2];H[n+68>>2]=a;o=H[n+44>>2];_:{if(!o){c=a;break _}A=H[n+40>>2];s=Qj(o)>>>0>1;b=i&o+2147483647;$:{if(!s){break $}b=i;if(b>>>0<o>>>0){break $}b=(i>>>0)%(o>>>0)|0}h=b;b=H[A+(h<<2)>>2];if(!b){c=a;break _}k=H[b>>2];if(!k){c=a;break _}aa:{if(!s){b=o-1|0;while(1){o=H[k+4>>2];ba:{if((o|0)!=(i|0)){if((h|0)==(b&o)){break ba}c=a;break _}if((i|0)==H[k+8>>2]){break aa}}k=H[k>>2];if(k){continue}break}c=a;break _}while(1){b=H[k+4>>2];ca:{if((b|0)!=(i|0)){if(b>>>0>=o>>>0){b=(b>>>0)%(o>>>0)|0}if((b|0)==(h|0)){break ca}c=a;break _}if((i|0)==H[k+8>>2]){break aa}}k=H[k>>2];if(k){continue}break}c=a;break _}if((a|0)!=(u|0)){H[a>>2]=H[k+12>>2];H[n+68>>2]=c;break _}a=u-f|0;b=a>>2;c=b+1|0;if(c>>>0>=1073741824){break b}g=a>>1;c=a>>>0>=2147483644?1073741823:c>>>0<g>>>0?g:c;if(c){if(c>>>0>=1073741824){break B}g=sa(c<<2)}else{g=0}b=g+(b<<2)|0;H[b>>2]=H[k+12>>2];u=(c<<2)+g|0;c=b+4|0;if((a|0)>0){ta(g,f,a)}H[n+72>>2]=u;H[n+68>>2]=c;H[n+64>>2]=g;if(!f){break _}ra(f)}if((c|0)==(g|0)){break O}z=c-4|0;a=H[z>>2];if((a|0)==(p|0)){break O}b=(a|0)==-1;o=H[j+8>>2];if(!b&H[H[o+12>>2]+(a<<2)>>2]!=-1){break O}w=H[o+12>>2];if((p|0)!=-1&H[w+(p<<2)>>2]!=-1){break O}s=N(i,3);k=s+2|0;H[w+(a<<2)>>2]=k;i=k<<2;H[i+w>>2]=a;f=s+1|0;H[w+(p<<2)>>2]=f;A=f<<2;H[A+w>>2]=p;if(b){break S}if((a>>>0)%3|0){b=a-1|0;break R}b=a+2|0;if((b|0)!=-1){break R}h=H[o>>2];f=-1;break Q;case 6:break V;default:break C}}h=H[j+8>>2];Na(h+24|0,11424);b=H[j+8>>2];a=N(i,3);k=H[h+28>>2];p=H[h+24>>2];o=k-p|0;h=o>>2;s=h-1|0;H[H[b>>2]+(a<<2)>>2]=s;Na(b+24|0,11424);w=a+1|0;H[H[b>>2]+(w<<2)>>2]=(H[b+28>>2]-H[b+24>>2]>>2)-1;b=H[j+8>>2];Na(b+24|0,11424);z=a+2|0;H[H[b>>2]+(z<<2)>>2]=(H[b+28>>2]-H[b+24>>2]>>2)-1;A=H[j+8>>2];b=H[A+24>>2];if(H[A+28>>2]-b>>2>(L|0)){break C}da:{ea:{if((k|0)!=(p|0)){H[b+(s<<2)>>2]=a;p=0;if((o|0)==-4){break ea}}H[b+(h<<2)>>2]=w;p=h+1|0;if((p|0)==-1){break da}}H[b+(p<<2)>>2]=z}if((c|0)!=(u|0)){H[c>>2]=a;c=c+4|0;H[n+68>>2]=c;break T}b=c-f|0;h=b>>2;c=h+1|0;if(c>>>0>=1073741824){break b}g=b>>1;c=b>>>0>=2147483644?1073741823:c>>>0<g>>>0?g:c;if(c){if(c>>>0>=1073741824){break B}g=sa(c<<2)}else{g=0}h=g+(h<<2)|0;H[h>>2]=a;u=(c<<2)+g|0;c=h+4|0;if((b|0)>0){ta(g,f,b)}H[n+72>>2]=u;H[n+68>>2]=c;H[n+64>>2]=g;if(!f){break U}ra(f)}f=g}Ae(r,H[c-4>>2]);a=H[j+40>>2];if((a|0)==H[j+36>>2]){break H}b=a-12|0;h=H[b+4>>2];i=(i^-1)+q|0;if(h>>>0>i>>>0){break O}if((h|0)!=(i|0)){break H}k=I[a-4|0];h=H[b>>2];H[j+40>>2]=b;if((h|0)<0){break O}p=c-4|0;a=H[p>>2];H[n+20>>2]=(h^-1)+q;b=n+20|0;H[n+88>>2]=b;Ib(n,n+40|0,b,n+88|0);h=H[n>>2];fa:{if(k&1){b=-1;if((a|0)==-1){break fa}b=a+1|0;b=(b>>>0)%3|0?b:a-2|0;break fa}b=-1;if((a|0)==-1){break fa}b=a-1|0;if((a>>>0)%3|0){break fa}b=a+2|0}H[h+12>>2]=b;b=H[j+40>>2];if((b|0)==H[j+36>>2]){break H}while(1){a=b-12|0;h=H[a+4>>2];if(h>>>0>i>>>0){break O}if((h|0)!=(i|0)){break H}h=I[b-4|0];b=H[a>>2];H[j+40>>2]=a;if((b|0)<0){break O}a=H[p>>2];H[n+20>>2]=(b^-1)+q;b=n+20|0;H[n+88>>2]=b;Ib(n,n+40|0,b,n+88|0);o=H[n>>2];ga:{if(h&1){b=-1;if((a|0)==-1){break ga}b=a+1|0;b=(b>>>0)%3|0?b:a-2|0;break ga}b=-1;if((a|0)==-1){break ga}b=a-1|0;if((a>>>0)%3|0){break ga}b=a+2|0}H[o+12>>2]=b;b=H[j+40>>2];if((b|0)!=H[j+36>>2]){continue}break}break H}f=-1;h=H[o>>2];H[h+(s<<2)>>2]=-1;b=-1;break P}h=H[o>>2];f=H[h+(b<<2)>>2]}H[(s<<2)+h>>2]=f;b=a+1|0;a=(b>>>0)%3|0?b:a-2|0;b=-1;if((a|0)==-1){break P}b=H[(a<<2)+h>>2]}H[h+A>>2]=b;ha:{if((p|0)==-1){H[h+i>>2]=-1;k=-1;a=-1;break ha}ia:{ja:{ka:{if((p>>>0)%3|0){b=p-1|0;break ka}b=p+2|0;if((b|0)==-1){break ja}}a=H[(b<<2)+h>>2];H[h+i>>2]=a;if((a|0)==-1){break ia}H[H[o+24>>2]+(a<<2)>>2]=k;break ia}H[h+i>>2]=-1}k=-1;b=p+1|0;b=(b>>>0)%3|0?b:p-2|0;a=-1;if((b|0)==-1){break ha}k=H[(b<<2)+h>>2];a=b}b=H[j+388>>2];i=f<<2;p=b+i|0;A=b;b=k<<2;H[p>>2]=H[p>>2]+H[A+b>>2];A=b;b=H[o+24>>2];p=A+b|0;if((f|0)!=-1){H[b+i>>2]=H[p>>2]}b=a;while(1){if((b|0)==-1){break N}H[(b<<2)+h>>2]=f;o=b+1|0;b=(o>>>0)%3|0?o:b-2|0;i=-1;la:{if((b|0)==-1){break la}b=H[w+(b<<2)>>2];i=-1;if((b|0)==-1){break la}i=b+1|0;i=(i>>>0)%3|0?i:b-2|0}b=i;if((a|0)!=(b|0)){continue}break}}if(!D){break D}break C}H[p>>2]=-1;ma:{if(P){break ma}if((y|0)!=(M|0)){H[y>>2]=k;y=y+4|0;H[n+28>>2]=y;break ma}b=M-d|0;i=b>>2;a=i+1|0;if(a>>>0>=1073741824){break b}f=b>>1;f=b>>>0>=2147483644?1073741823:a>>>0<f>>>0?f:a;if(f){if(f>>>0>=1073741824){break B}a=sa(f<<2)}else{a=0}i=a+(i<<2)|0;H[i>>2]=k;M=a+(f<<2)|0;y=i+4|0;if((b|0)>0){ta(a,d,b)}H[n+32>>2]=M;H[n+28>>2]=y;H[n+24>>2]=a;if(d){ra(d)}d=a}H[z>>2]=s}Ae(r,s);f=g}D=(l|0)<(q|0);if((l|0)!=(q|0)){continue}break}l=q}m=-1;f=H[j+8>>2];if(H[f+28>>2]-H[f+24>>2]>>2>(L|0)){break C}if((c|0)!=(g|0)){s=j+72|0;f=j+60|0;w=j+312|0;while(1){c=c-4|0;q=H[c>>2];H[n+68>>2]=c;na:{oa:{pa:{if(J[j+270>>1]<=513){if(!I[j+364|0]){break oa}a=H[j+360>>2];b=H[j+352>>2]+(a>>>3|0)|0;if(b>>>0>=K[j+356>>2]){break pa}b=I[b|0];H[j+360>>2]=a+1;if(!(b>>>(a&7)&1)){break pa}break oa}if(Da(w)){break oa}}k=H[j+64>>2];a=H[j+68>>2];if((k|0)==a<<5){if((k+1|0)<0){break b}if(k>>>0<=1073741822){a=a<<6;b=(k&-32)+32|0;a=a>>>0>b>>>0?a:b}else{a=2147483647}tb(f,a);k=H[j+64>>2]}H[j+64>>2]=k+1;a=H[j+60>>2]+(k>>>3&536870908)|0;b=H[a>>2];Q=a,R=Rj(k)&b,H[Q>>2]=R;a=H[j+76>>2];if((a|0)!=H[j+80>>2]){H[a>>2]=q;H[j+76>>2]=a+4;break na}i=H[s>>2];b=a-i|0;k=b>>2;a=k+1|0;if(a>>>0<1073741824){h=b>>1;h=b>>>0>=2147483644?1073741823:a>>>0<h>>>0?h:a;if(h){if(h>>>0>=1073741824){break B}a=sa(h<<2)}else{a=0}k=a+(k<<2)|0;H[k>>2]=q;if((b|0)>0){ta(a,i,b)}H[j+80>>2]=a+(h<<2);H[j+76>>2]=k+4;H[j+72>>2]=a;if(!i){break na}ra(i);break na}break b}o=H[j+8>>2];r=H[o>>2];if(((H[o+4>>2]-r>>2>>>0)/3|0)<=(l|0)){break C}a=-1;u=H[o+24>>2];i=-1;qa:{if((q|0)==-1){break qa}h=q+1|0;h=(h>>>0)%3|0?h:q-2|0;i=-1;if((h|0)==-1){break qa}i=H[r+(h<<2)>>2]}b=H[u+(i<<2)>>2];ra:{if((b|0)==-1){p=1;h=-1;break ra}p=1;h=-1;k=b+1|0;b=(k>>>0)%3|0?k:b-2|0;if((b|0)==-1){break ra}p=0;a=b+1|0;a=(a>>>0)%3|0?a:b-2|0;if((a|0)!=-1){h=H[r+(a<<2)>>2]}a=b}k=-1;b=H[u+(h<<2)>>2];if((b|0)!=-1){k=b+1|0;k=(k>>>0)%3|0?k:b-2|0}if((a|0)==(q|0)|(k|0)==(q|0)|(a|0)==(k|0)){break C}if(!((q|0)==-1|H[H[o+12>>2]+(q<<2)>>2]==-1)|!(H[H[o+12>>2]+(a<<2)>>2]==-1|p)){break C}p=-1;b=H[o+12>>2];o=-1;sa:{if((k|0)==-1){break sa}if(H[b+(k<<2)>>2]!=-1){break C}u=k+1|0;u=(u>>>0)%3|0?u:k-2|0;o=-1;if((u|0)==-1){break sa}o=H[r+(u<<2)>>2]}u=N(l,3);H[n>>2]=u;H[b+(u<<2)>>2]=q;H[b+(q<<2)>>2]=u;q=H[n>>2]+1|0;H[b+(q<<2)>>2]=a;H[b+(a<<2)>>2]=q;a=H[n>>2]+2|0;H[b+(a<<2)>>2]=k;H[b+(k<<2)>>2]=a;a=H[n>>2];H[r+(a<<2)>>2]=h;b=a+1|0;q=r+(b<<2)|0;H[q>>2]=o;k=a+2|0;r=r+(k<<2)|0;H[r>>2]=i;a=H[j+120>>2];i=b?h:-1;h=a+(i>>>3&536870908)|0;o=H[h>>2];Q=h,R=Rj(i)&o,H[Q>>2]=R;p=(b|0)!=-1?H[q>>2]:p;b=a+(p>>>3&536870908)|0;i=H[b>>2];Q=b,R=Rj(p)&i,H[Q>>2]=R;b=-1;b=(k|0)!=-1?H[r>>2]:b;a=a+(b>>>3&536870908)|0;i=H[a>>2];Q=a,R=Rj(b)&i,H[Q>>2]=R;F[n+88|0]=1;Yc(f,n+88|0);Na(s,n);l=l+1|0}if((c|0)!=(g|0)){continue}break}f=H[j+8>>2]}if(((H[f+4>>2]-H[f>>2]>>2>>>0)/3|0)!=(l|0)){break C}m=H[f+28>>2]-H[f+24>>2]>>2;if((d|0)==(y|0)){d=y;break C}a=d;while(1){i=H[a>>2];l=H[f+24>>2];b=m-1|0;c=l+(b<<2)|0;if(H[c>>2]==-1){while(1){b=m-2|0;m=m-1|0;c=l+(b<<2)|0;if(H[c>>2]==-1){continue}break}}if(b>>>0>=i>>>0){H[n>>2]=f;c=H[c>>2];F[n+12|0]=1;H[n+8>>2]=c;H[n+4>>2]=c;if((c|0)!=-1){while(1){c=H[H[j+8>>2]>>2]+(c<<2)|0;if(H[c>>2]!=(b|0)){m=-1;break C}H[c>>2]=i;vc(n);c=H[n+8>>2];if((c|0)!=-1){continue}break}f=H[j+8>>2]}l=H[f+24>>2];c=l+(b<<2)|0;if((i|0)!=-1){H[l+(i<<2)>>2]=H[c>>2]}H[c>>2]=-1;c=1<<i;l=H[j+120>>2];i=l+(i>>>3&536870908)|0;l=l+(b>>>3&536870908)|0;b=1<<b;if(H[l>>2]&b){c=c|H[i>>2]}else{c=H[i>>2]&(c^-1)}H[i>>2]=c;H[l>>2]=H[l>>2]&(b^-1);m=m-1|0}a=a+4|0;if((y|0)!=(a|0)){continue}break}}if(d){ra(d)}a=H[n+48>>2];if(a){while(1){c=H[a>>2];ra(a);a=c;if(a){continue}break}}a=H[n+40>>2];H[n+40>>2]=0;if(a){ra(a)}if(g){H[n+68>>2]=g;ra(g)}fa=n+96|0;a=m;break A}za();v()}g=a;if((a|0)==-1){break z}a=H[E+16>>2];c=a+H[E>>2]|0;d=H[E+8>>2];d=d-a|0;a=H[H[j+4>>2]+32>>2];G[a+38>>1]=J[a+38>>1];H[a>>2]=c;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=d;H[a+12>>2]=0;a=H[j+4>>2];c=J[a+36>>1];b=c<<8|c>>>8;if((b&65535)>>>0<=513){a=H[a+32>>2];d=O+H[a+20>>2]|0;c=B+H[a+16>>2]|0;d=c>>>0<B>>>0?d+1|0:d;H[a+16>>2]=c;H[a+20>>2]=d}ta:{if(H[j+216>>2]==H[j+220>>2]){break ta}c=H[j+8>>2];a=H[c>>2];c=H[c+4>>2];ua:{if((b&65535)>>>0>=513){if((a|0)==(c|0)){break ta}c=0;break ua}if((a|0)==(c|0)){break ta}c=0;while(1){if(ad(j,c)){c=c+3|0;a=H[j+8>>2];if(c>>>0<H[a+4>>2]-H[a>>2]>>2>>>0){continue}break ta}break}break z}while(1){if($c(j,c)){c=c+3|0;a=H[j+8>>2];if(c>>>0<H[a+4>>2]-H[a>>2]>>2>>>0){continue}break ta}break}break z}_c(e);c=H[j+216>>2];if((c|0)!=H[j+220>>2]){q=0;while(1){d=N(q,144);Ic((d+c|0)+4|0,H[j+8>>2]);a=H[C>>2];b=a+d|0;c=H[b+132>>2];b=H[b+136>>2];if((c|0)!=(b|0)){while(1){Gc((d+H[C>>2]|0)+4|0,H[c>>2]);c=c+4|0;if((b|0)!=(c|0)){continue}break}a=H[C>>2]}if(!Hc((a+d|0)+4|0)){break z}q=q+1|0;c=H[j+216>>2];if(q>>>0<(H[j+220>>2]-c|0)/144>>>0){continue}break}}a=H[j+8>>2];Jb(j+184|0,H[a+28>>2]-H[a+24>>2]>>2);x=H[j+216>>2];if((x|0)!=H[j+220>>2]){c=0;while(1){a=N(c,144)+x|0;d=H[a+60>>2]-H[a+56>>2]>>2;b=a+104|0;a=H[j+8>>2];a=H[a+28>>2]-H[a+24>>2]>>2;Jb(b,(a|0)<(d|0)?d:a);c=c+1|0;x=H[j+216>>2];if(c>>>0<(H[j+220>>2]-x|0)/144>>>0){continue}break}}x=Zc(j,g)}break c}x=0}fa=t- -64|0;return x|0}va();v()}function hi(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,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0;t=fa+-64|0;fa=t;H[a+132>>2]=0;if(H[a+148>>2]){c=H[a+144>>2];if(c){while(1){d=H[c>>2];ra(c);c=d;if(c){continue}break}}c=0;H[a+144>>2]=0;o=H[a+140>>2];a:{if(!o){break a}if(o>>>0>=4){d=o&-4;while(1){h=c<<2;H[h+H[a+136>>2]>>2]=0;H[H[a+136>>2]+(h|4)>>2]=0;H[H[a+136>>2]+(h|8)>>2]=0;H[H[a+136>>2]+(h|12)>>2]=0;c=c+4|0;b=b+4|0;if((d|0)!=(b|0)){continue}break}}d=o&3;if(!d){break a}while(1){H[H[a+136>>2]+(c<<2)>>2]=0;c=c+1|0;z=z+1|0;if((d|0)!=(z|0)){continue}break}}H[a+148>>2]=0}b:{c:{c=H[a+4>>2];z=I[c+36|0];d=z<<8|I[c+37|0];if(d>>>0<=513){j=H[c+32>>2];d:{if(d>>>0<=511){d=H[j+20>>2];b=H[j+16>>2];h=b+4|0;d=h>>>0<4?d+1|0:d;o=h;h=H[j+12>>2];if(o>>>0>K[j+8>>2]&(h|0)<=(d|0)|(d|0)>(h|0)){break c}h=b+H[j>>2]|0;b=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);H[j+16>>2]=o;H[j+20>>2]=d;break d}if(!Ga(1,t,j)){break c}c=H[a+4>>2];z=I[c+36|0];b=H[t>>2]}H[a+132>>2]=b}j=H[c+32>>2];e:{f:{g:{if((z&255)>>>0<=1){z=0;d=H[j+20>>2];o=H[j+16>>2];h=o+4|0;d=h>>>0<4?d+1|0:d;b=h;h=H[j+12>>2];if(b>>>0>K[j+8>>2]&(h|0)<=(d|0)|(d|0)>(h|0)){break b}h=o+H[j>>2]|0;h=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);H[t+60>>2]=h;H[j+16>>2]=b;H[j+20>>2]=d;H[a+156>>2]=h;p=a+156|0;break g}z=0;if(!Ga(1,t+60|0,j)){break b}c=H[a+4>>2];d=I[c+36|0];H[a+156>>2]=H[t+60>>2];p=a+156|0;if(d>>>0>1){break f}}o=H[c+32>>2];c=H[o+8>>2];b=H[o+12>>2];e=c;c=H[o+20>>2];h=H[o+16>>2];d=h+4|0;c=d>>>0<4?c+1|0:c;if(e>>>0<d>>>0&(c|0)>=(b|0)|(c|0)>(b|0)){break b}h=h+H[o>>2]|0;b=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);H[t+56>>2]=b;H[o+16>>2]=d;H[o+20>>2]=c;break e}if(!Ga(1,t+56|0,H[c+32>>2])){break b}b=H[t+56>>2]}if(b>>>0>1431655765|K[p>>2]>N(b,3)>>>0){break b}i=H[a+4>>2];d=H[i+32>>2];e=H[d+8>>2];h=H[d+12>>2];c=H[d+20>>2];f=H[d+16>>2];if((h|0)<=(c|0)&f>>>0>=e>>>0|(c|0)>(h|0)){break b}k=H[d>>2];g=I[k+f|0];j=f+1|0;o=j?c:c+1|0;H[d+16>>2]=j;H[d+20>>2]=o;h:{if(I[i+36|0]<=1){o=f+5|0;c=o>>>0<5?c+1|0:c;if(o>>>0>e>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){break b}h=j+k|0;p=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);H[t+52>>2]=p;H[d+16>>2]=o;H[d+20>>2]=c;break h}if(!Ga(1,t+52|0,d)){break b}p=H[t+52>>2]}if(b>>>0<p>>>0|((p>>>0)/3|0)+p>>>0<b>>>0){break b}c=H[a+4>>2];j=H[c+32>>2];i:{if(I[c+36|0]<=1){c=H[j+20>>2];h=H[j+16>>2];d=h+4|0;c=d>>>0<4?c+1|0:c;o=d;d=H[j+12>>2];if(o>>>0>K[j+8>>2]&(d|0)<=(c|0)|(c|0)>(d|0)){break b}d=h+H[j>>2]|0;h=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[t+48>>2]=h;H[j+16>>2]=o;H[j+20>>2]=c;break i}if(!Ga(1,t+48|0,j)){break b}h=H[t+48>>2]}if(h>>>0>p>>>0){break b}H[a+28>>2]=H[a+24>>2];c=ac(sa(88));d=H[a+8>>2];H[a+8>>2]=c;if(d){fb(d);if(!H[a+8>>2]){break b}}H[a+164>>2]=H[a+160>>2];Lb(a+160|0,b);H[a+176>>2]=H[a+172>>2];Lb(a+172|0,b);H[a- -64>>2]=0;H[a+92>>2]=-1;H[a+84>>2]=-1;H[a+88>>2]=-1;H[a+40>>2]=H[a+36>>2];H[a+52>>2]=H[a+48>>2];H[a+76>>2]=H[a+72>>2];E=a+216|0;cd(E);bd(E,g);if(!Kc(H[a+8>>2],b,H[a+156>>2]+h|0)){break b}c=H[a+156>>2];F[t|0]=1;Ra(a+120|0,c+h|0,t);d=H[a+4>>2];c=J[d+36>>1];c=(c<<8|c>>>8)&65535;j:{if(c>>>0<=513){j=H[d+32>>2];k:{if(c>>>0<=511){d=H[j+20>>2];b=H[j+16>>2];c=b+4|0;d=c>>>0<4?d+1|0:d;o=c;c=H[j+12>>2];if(o>>>0>K[j+8>>2]&(c|0)<=(d|0)|(c|0)<(d|0)){break b}c=b+H[j>>2]|0;b=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[j+16>>2]=o;H[j+20>>2]=d;break k}if(!Ga(1,t+44|0,j)){break b}b=H[t+44>>2]}if(!b){break b}j=H[H[a+4>>2]+32>>2];o=H[j+8>>2];c=H[j+16>>2];d=o-c|0;c=H[j+12>>2]-(H[j+20>>2]+(c>>>0>o>>>0)|0)|0;if((c|0)<=0&b>>>0>d>>>0|(c|0)<0){break b}d=Ka(t);k=H[H[a+4>>2]+32>>2];c=H[k+16>>2];j=(c+H[k>>2]|0)+b|0;o=H[k+8>>2];c=(o-c|0)-b|0;G[d+38>>1]=J[k+38>>1];H[d>>2]=j;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=c;H[d+12>>2]=0;o=Kb(a,d);if((o|0)==-1){break b}P=o>>31;break j}o=-1;P=-1;if((Kb(a,H[d+32>>2])|0)==-1){break b}}C=a+232|0;Ce(C,a);H[a+372>>2]=g;H[a+384>>2]=H[a+156>>2]+h;Q=Ka(t);k=Q;e=0;j=fa-16|0;fa=j;l:{if(!Ee(C,k)){break l}d=H[k+20>>2];b=H[k+16>>2];c=b+4|0;d=c>>>0<4?d+1|0:d;h=c;c=H[k+12>>2];if(h>>>0>K[k+8>>2]&(c|0)<=(d|0)|(c|0)<(d|0)){break l}c=b+H[k>>2]|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[k+16>>2]=h;H[k+20>>2]=d;if((c|0)<0){break l}h=H[C+152>>2];if((h|0)<=(c|0)){break l}H[j+12>>2]=0;c=H[C+156>>2];d=H[C+160>>2]-c>>2;m:{if(d>>>0<h>>>0){Ia(C+156|0,h-d|0,j+12|0);break m}if(d>>>0<=h>>>0){break m}H[C+160>>2]=c+(h<<2)}e=wa(C+168|0,k)}fa=j+16|0;n:{if(!e){break n}e=0;c=0;d=0;h=0;j=0;l=fa-96|0;fa=l;H[l+72>>2]=0;H[l+64>>2]=0;H[l+68>>2]=0;H[l+48>>2]=0;H[l+52>>2]=0;H[l+40>>2]=0;H[l+44>>2]=0;H[l+56>>2]=1065353216;H[l+32>>2]=0;H[l+24>>2]=0;H[l+28>>2]=0;i=a;M=H[a+124>>2];o:{p:{q:{r:{s:{if((p|0)<=0){break s}L=i+400|0;R=i+232|0;y=H[i+216>>2]!=H[i+220>>2];B=1;while(1){k=j;j=j+1|0;t:{u:{v:{w:{x:{if(H[i+420>>2]!=-1){if(Da(L)){break x}}if(!I[i+308|0]){break w}y:{m=H[i+296>>2];s=H[i+304>>2];a=m+(s>>>3|0)|0;w=H[i+300>>2];if(a>>>0>=w>>>0){break y}b=I[a|0];a=s+1|0;H[i+304>>2]=a;g=b>>>(s&7)&1;if(!g){break y}n=a>>>3|0;b=m+n|0;z:{if(b>>>0>=w>>>0){b=a;a=0;break z}f=I[b|0];b=s+2|0;H[i+304>>2]=b;n=b>>>3|0;a=f>>>(a&7)&1}f=n+m|0;if(f>>>0<w>>>0){f=I[f|0];H[i+304>>2]=b+1;b=f>>>(b&7)<<1&2}else{b=0}b=(a|b)<<1|g;H[i+416>>2]=b;break v}H[i+416>>2]=0;break w}b=H[i+420>>2];H[i+416>>2]=b;if(b){break v}}if((c|0)==(d|0)){w=-1;break r}e=-1;B=H[i+8>>2];s=H[B+24>>2];m=c-4|0;n=H[m>>2];g=-1;A:{if((n|0)==-1){break A}b=n+1|0;b=(b>>>0)%3|0?b:n-2|0;g=-1;if((b|0)==-1){break A}g=H[H[B>>2]+(b<<2)>>2]}b=H[s+(g<<2)>>2];if((b|0)!=-1){a=b+1|0;e=(a>>>0)%3|0?a:b-2|0}if((e|0)==(n|0)){w=-1;break r}if((n|0)!=-1){w=-1;if(H[H[B+12>>2]+(n<<2)>>2]!=-1){break r}}b=H[B+12>>2];if((e|0)!=-1){w=-1;if(H[b+(e<<2)>>2]!=-1){break r}}u=N(k,3);a=u+1|0;H[b+(n<<2)>>2]=a;f=a<<2;H[f+b>>2]=n;r=u+2|0;H[b+(e<<2)>>2]=r;k=r<<2;H[k+b>>2]=e;x=-1;a=-1;B:{if((n|0)==-1){break B}C:{if((n>>>0)%3|0){b=n-1|0;break C}b=n+2|0;a=-1;if((b|0)==-1){break B}}a=H[H[B>>2]+(b<<2)>>2]}D:{if((e|0)==-1){break D}b=e+1|0;b=(b>>>0)%3|0?b:e-2|0;if((b|0)==-1){break D}x=H[H[B>>2]+(b<<2)>>2]}w=-1;if((a|0)==(g|0)|(g|0)==(x|0)){break r}b=H[B>>2];H[b+(u<<2)>>2]=g;H[b+f>>2]=x;H[b+k>>2]=a;if((a|0)!=-1){H[s+(a<<2)>>2]=r}b=H[i+120>>2]+(g>>>3&536870908)|0;a=H[b>>2];S=b,T=Rj(g)&a,H[S>>2]=T;H[m>>2]=u;e=H[c-4>>2];break u}w=-1;E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{switch(b-1|0){case 2:case 4:if((c|0)==(d|0)){break r}g=c-4|0;q=H[g>>2];r=H[i+8>>2];e=H[r+12>>2];if(!((q|0)==-1|H[e+(q<<2)>>2]==-1)){break r}u=N(k,3);m=(b|0)==5;f=u+(m?2:1)|0;a=f<<2;H[a+e>>2]=q;H[e+(q<<2)>>2]=f;Na(r+24|0,11424);b=H[i+8>>2];s=H[b+24>>2];if(H[b+28>>2]-s>>2>(M|0)){break r}n=H[b>>2];x=n+a|0;e=H[r+28>>2];b=H[r+24>>2];a=(e-b>>2)-1|0;H[x>>2]=a;if((b|0)!=(e|0)){H[s+(a<<2)>>2]=f}f=m?u:u+2|0;m=n+(m+u<<2)|0;P:{if((q|0)==-1){H[n+(f<<2)>>2]=-1;b=-1;break P}Q:{R:{S:{if((q>>>0)%3|0){e=q-1|0;break S}e=q+2|0;if((e|0)==-1){break R}}a=H[n+(e<<2)>>2];H[n+(f<<2)>>2]=a;if((a|0)==-1){break Q}H[s+(a<<2)>>2]=f;break Q}H[n+(f<<2)>>2]=-1}a=q+1|0;a=(a>>>0)%3|0?a:q-2|0;b=-1;if((a|0)==-1){break P}b=H[n+(a<<2)>>2]}H[m>>2]=b;H[g>>2]=u;break N;case 0:if((c|0)==(e|0)){break r}a=c-4|0;q=H[a>>2];H[l+68>>2]=a;m=H[l+44>>2];T:{if(!m){c=a;break T}s=H[l+40>>2];g=Qj(m)>>>0>1;b=k&m+2147483647;U:{if(!g){break U}b=k;if(b>>>0<m>>>0){break U}b=(k>>>0)%(m>>>0)|0}f=b;b=H[s+(f<<2)>>2];if(!b){c=a;break T}b=H[b>>2];if(!b){c=a;break T}V:{if(!g){m=m-1|0;while(1){g=H[b+4>>2];W:{if((g|0)!=(k|0)){if((f|0)==(g&m)){break W}c=a;break T}if((k|0)==H[b+8>>2]){break V}}b=H[b>>2];if(b){continue}break}c=a;break T}while(1){g=H[b+4>>2];X:{if((g|0)!=(k|0)){if(g>>>0>=m>>>0){g=(g>>>0)%(m>>>0)|0}if((f|0)==(g|0)){break X}c=a;break T}if((k|0)==H[b+8>>2]){break V}}b=H[b>>2];if(b){continue}break}c=a;break T}if((a|0)!=(A|0)){H[a>>2]=H[b+12>>2];H[l+68>>2]=c;break T}f=A-e|0;c=f>>2;d=c+1|0;if(d>>>0>=1073741824){break L}a=f>>1;g=f>>>0>=2147483644?1073741823:a>>>0>d>>>0?a:d;if(g){if(g>>>0>=1073741824){break p}d=sa(g<<2)}else{d=0}a=d+(c<<2)|0;H[a>>2]=H[b+12>>2];A=(g<<2)+d|0;c=a+4|0;if((f|0)>0){ta(d,e,f)}H[l+72>>2]=A;H[l+68>>2]=c;H[l+64>>2]=d;if(!e){break T}ra(e)}if((c|0)==(d|0)){break F}m=c-4|0;n=H[m>>2];if((n|0)==(q|0)){break F}g=(n|0)==-1;u=H[i+8>>2];if(!g&H[H[u+12>>2]+(n<<2)>>2]!=-1){break F}r=H[u+12>>2];if((q|0)!=-1&H[r+(q<<2)>>2]!=-1){break F}e=N(k,3);k=e+2|0;H[r+(n<<2)>>2]=k;s=k<<2;H[s+r>>2]=n;a=e+1|0;H[r+(q<<2)>>2]=a;b=a<<2;H[b+r>>2]=q;if(g){break K}if((n>>>0)%3|0){g=n-1|0;break I}g=n+2|0;if((g|0)!=-1){break I}x=H[u>>2];a=-1;break H;case 6:break O;default:break r}}a=H[i+8>>2];Na(a+24|0,11424);b=H[i+8>>2];q=N(k,3);r=H[a+28>>2];s=H[a+24>>2];m=r-s|0;u=m>>2;g=u-1|0;H[H[b>>2]+(q<<2)>>2]=g;Na(b+24|0,11424);f=q+1|0;H[H[b>>2]+(f<<2)>>2]=(H[b+28>>2]-H[b+24>>2]>>2)-1;a=H[i+8>>2];Na(a+24|0,11424);b=q+2|0;H[H[a>>2]+(b<<2)>>2]=(H[a+28>>2]-H[a+24>>2]>>2)-1;a=H[i+8>>2];n=H[a+24>>2];if(H[a+28>>2]-n>>2>(M|0)){break r}Y:{Z:{if((r|0)!=(s|0)){H[n+(g<<2)>>2]=q;g=0;if((m|0)==-4){break Z}}H[n+(u<<2)>>2]=f;g=u+1|0;if((g|0)==-1){break Y}}H[n+(g<<2)>>2]=b}if((c|0)!=(A|0)){H[c>>2]=q;c=c+4|0;H[l+68>>2]=c;break M}g=c-e|0;c=g>>2;d=c+1|0;if(d>>>0>=1073741824){break J}a=g>>1;b=g>>>0>=2147483644?1073741823:a>>>0>d>>>0?a:d;if(b){if(b>>>0>=1073741824){break p}d=sa(b<<2)}else{d=0}a=d+(c<<2)|0;H[a>>2]=q;A=(b<<2)+d|0;c=a+4|0;if((g|0)>0){ta(d,e,g)}H[l+72>>2]=A;H[l+68>>2]=c;H[l+64>>2]=d;if(!e){break N}ra(e)}e=d}Be(R,H[c-4>>2]);g=H[i+40>>2];if((g|0)==H[i+36>>2]){break t}b=g-12|0;a=H[b+4>>2];m=(k^-1)+p|0;if(a>>>0>m>>>0){break F}if((a|0)!=(m|0)){break t}k=I[g-4|0];a=H[b>>2];H[i+40>>2]=b;if((a|0)<0){break F}g=c-4|0;f=H[g>>2];H[l+20>>2]=(a^-1)+p;a=l+20|0;H[l+88>>2]=a;Ib(l,l+40|0,a,l+88|0);b=H[l>>2];_:{if(k&1){a=-1;if((f|0)==-1){break _}a=f+1|0;a=(a>>>0)%3|0?a:f-2|0;break _}a=-1;if((f|0)==-1){break _}a=f-1|0;if((f>>>0)%3|0){break _}a=f+2|0}H[b+12>>2]=a;b=H[i+40>>2];if((b|0)==H[i+36>>2]){break t}while(1){f=b-12|0;a=H[f+4>>2];if(a>>>0>m>>>0){break F}if((a|0)!=(m|0)){break t}k=I[b-4|0];a=H[f>>2];H[i+40>>2]=f;if((a|0)<0){break F}f=H[g>>2];H[l+20>>2]=(a^-1)+p;a=l+20|0;H[l+88>>2]=a;Ib(l,l+40|0,a,l+88|0);b=H[l>>2];$:{if(k&1){a=-1;if((f|0)==-1){break $}a=f+1|0;a=(a>>>0)%3|0?a:f-2|0;break $}a=-1;if((f|0)==-1){break $}a=f-1|0;if((f>>>0)%3|0){break $}a=f+2|0}H[b+12>>2]=a;b=H[i+40>>2];if((b|0)!=H[i+36>>2]){continue}break}break t}va();v()}g=-1;x=H[u>>2];H[x+(e<<2)>>2]=-1;f=-1;break G}va();v()}x=H[u>>2];a=H[x+(g<<2)>>2]}g=a;H[(e<<2)+x>>2]=a;a=n+1|0;a=(a>>>0)%3|0?a:n-2|0;f=-1;if((a|0)==-1){break G}f=H[(a<<2)+x>>2]}H[b+x>>2]=f;aa:{if((q|0)==-1){H[s+x>>2]=-1;n=-1;a=-1;break aa}ba:{ca:{da:{if((q>>>0)%3|0){b=q-1|0;break da}b=q+2|0;if((b|0)==-1){break ca}}a=H[(b<<2)+x>>2];H[s+x>>2]=a;if((a|0)==-1){break ba}H[H[u+24>>2]+(a<<2)>>2]=k;break ba}H[s+x>>2]=-1}n=-1;b=q+1|0;b=(b>>>0)%3|0?b:q-2|0;a=-1;if((b|0)==-1){break aa}n=H[(b<<2)+x>>2];a=b}f=H[i+388>>2];k=g<<2;b=f+k|0;s=b;q=H[b>>2];b=n<<2;H[s>>2]=q+H[b+f>>2];f=b;b=H[u+24>>2];s=f+b|0;if((g|0)!=-1){H[b+k>>2]=H[s>>2]}b=a;while(1){if((b|0)==-1){break E}H[(b<<2)+x>>2]=g;f=b+1|0;b=(f>>>0)%3|0?f:b-2|0;k=-1;ea:{if((b|0)==-1){break ea}f=H[r+(b<<2)>>2];k=-1;if((f|0)==-1){break ea}b=f+1|0;k=(b>>>0)%3|0?b:f-2|0}b=k;if((a|0)!=(b|0)){continue}break}}if(!B){break s}break r}H[s>>2]=-1;fa:{if(y){break fa}if((D|0)!=(O|0)){H[D>>2]=n;D=D+4|0;H[l+28>>2]=D;break fa}g=O-h|0;b=g>>2;k=b+1|0;if(k>>>0>=1073741824){break q}a=g>>1;k=g>>>0>=2147483644?1073741823:a>>>0>k>>>0?a:k;if(k){if(k>>>0>=1073741824){break p}a=sa(k<<2)}else{a=0}b=a+(b<<2)|0;H[b>>2]=n;O=a+(k<<2)|0;D=b+4|0;if((g|0)>0){ta(a,h,g)}H[l+32>>2]=O;H[l+28>>2]=D;H[l+24>>2]=a;if(h){ra(h)}h=a}H[m>>2]=e}Be(R,e);e=d}B=(j|0)<(p|0);if((j|0)!=(p|0)){continue}break}j=p}w=-1;e=H[i+8>>2];if(H[e+28>>2]-H[e+24>>2]>>2>(M|0)){break r}if((c|0)!=(d|0)){L=i+72|0;k=i+60|0;s=i+312|0;while(1){c=c-4|0;y=H[c>>2];H[l+68>>2]=c;ga:{ha:{ia:{if(J[i+270>>1]<=513){if(!I[i+364|0]){break ha}b=H[i+360>>2];a=H[i+352>>2]+(b>>>3|0)|0;if(a>>>0>=K[i+356>>2]){break ia}a=I[a|0];H[i+360>>2]=b+1;if(!(a>>>(b&7)&1)){break ia}break ha}if(Da(s)){break ha}}ja:{ka:{e=H[i+64>>2];b=H[i+68>>2];if((e|0)==b<<5){if((e+1|0)<0){break ka}if(e>>>0<=1073741822){g=b<<6;b=(e&-32)+32|0;a=b>>>0<g>>>0?g:b}else{a=2147483647}tb(k,a);e=H[i+64>>2]}H[i+64>>2]=e+1;b=H[i+60>>2]+(e>>>3&536870908)|0;a=H[b>>2];S=b,T=Rj(e)&a,H[S>>2]=T;a=H[i+76>>2];if((a|0)!=H[i+80>>2]){H[a>>2]=y;H[i+76>>2]=a+4;break ga}g=H[L>>2];f=a-g|0;b=f>>2;e=b+1|0;if(e>>>0>=1073741824){break ja}a=f>>1;e=f>>>0>=2147483644?1073741823:a>>>0>e>>>0?a:e;if(e){if(e>>>0>=1073741824){break p}a=sa(e<<2)}else{a=0}b=a+(b<<2)|0;H[b>>2]=y;if((f|0)>0){ta(a,g,f)}H[i+80>>2]=a+(e<<2);H[i+76>>2]=b+4;H[i+72>>2]=a;if(!g){break ga}ra(g);break ga}va();v()}va();v()}m=H[i+8>>2];r=H[m>>2];if(((H[m+4>>2]-r>>2>>>0)/3|0)<=(j|0)){break r}a=-1;f=H[m+24>>2];b=-1;la:{if((y|0)==-1){break la}e=y+1|0;e=(e>>>0)%3|0?e:y-2|0;b=-1;if((e|0)==-1){break la}b=H[r+(e<<2)>>2]}p=H[f+(b<<2)>>2];ma:{if((p|0)==-1){g=1;A=-1;break ma}g=1;A=-1;e=p+1|0;e=(e>>>0)%3|0?e:p-2|0;if((e|0)==-1){break ma}g=0;a=e+1|0;a=(a>>>0)%3|0?a:e-2|0;if((a|0)!=-1){A=H[r+(a<<2)>>2]}a=e}e=-1;f=H[f+(A<<2)>>2];if((f|0)!=-1){e=f+1|0;e=(e>>>0)%3|0?e:f-2|0}if((a|0)==(y|0)|(e|0)==(y|0)|(a|0)==(e|0)){break r}if(!((y|0)==-1|H[H[m+12>>2]+(y<<2)>>2]==-1)|!(H[H[m+12>>2]+(a<<2)>>2]==-1|g)){break r}g=-1;m=H[m+12>>2];p=-1;na:{if((e|0)==-1){break na}if(H[m+(e<<2)>>2]!=-1){break r}f=e+1|0;f=(f>>>0)%3|0?f:e-2|0;p=-1;if((f|0)==-1){break na}p=H[r+(f<<2)>>2]}f=N(j,3);H[l>>2]=f;H[m+(f<<2)>>2]=y;H[m+(y<<2)>>2]=f;f=H[l>>2]+1|0;H[m+(f<<2)>>2]=a;H[m+(a<<2)>>2]=f;a=H[l>>2]+2|0;H[m+(a<<2)>>2]=e;H[m+(e<<2)>>2]=a;a=H[l>>2];H[r+(a<<2)>>2]=A;y=a+1|0;m=r+(y<<2)|0;H[m>>2]=p;p=a+2|0;f=r+(p<<2)|0;H[f>>2]=b;r=H[i+120>>2];e=y?A:-1;b=r+(e>>>3&536870908)|0;a=H[b>>2];S=b,T=Rj(e)&a,H[S>>2]=T;g=(y|0)!=-1?H[m>>2]:g;b=r+(g>>>3&536870908)|0;a=H[b>>2];S=b,T=Rj(g)&a,H[S>>2]=T;b=-1;b=(p|0)!=-1?H[f>>2]:b;e=r+(b>>>3&536870908)|0;a=H[e>>2];S=e,T=Rj(b)&a,H[S>>2]=T;F[l+88|0]=1;Yc(k,l+88|0);Na(L,l);j=j+1|0}if((c|0)!=(d|0)){continue}break}e=H[i+8>>2]}if(((H[e+4>>2]-H[e>>2]>>2>>>0)/3|0)!=(j|0)){break r}w=H[e+28>>2]-H[e+24>>2]>>2;if((h|0)==(D|0)){h=D;break r}a=h;while(1){k=H[a>>2];j=H[e+24>>2];b=w-1|0;c=j+(b<<2)|0;if(H[c>>2]==-1){while(1){b=w-2|0;w=w-1|0;c=j+(b<<2)|0;if(H[c>>2]==-1){continue}break}}if(b>>>0>=k>>>0){H[l>>2]=e;c=H[c>>2];F[l+12|0]=1;H[l+8>>2]=c;H[l+4>>2]=c;if((c|0)!=-1){while(1){c=H[H[i+8>>2]>>2]+(c<<2)|0;if(H[c>>2]!=(b|0)){w=-1;break r}H[c>>2]=k;vc(l);c=H[l+8>>2];if((c|0)!=-1){continue}break}e=H[i+8>>2]}c=H[e+24>>2];j=c+(b<<2)|0;if((k|0)!=-1){H[c+(k<<2)>>2]=H[j>>2]}H[j>>2]=-1;g=1<<k;c=H[i+120>>2];j=c+(k>>>3&536870908)|0;k=c+(b>>>3&536870908)|0;c=1<<b;if(H[k>>2]&c){b=g|H[j>>2]}else{b=H[j>>2]&(g^-1)}H[j>>2]=b;H[k>>2]=H[k>>2]&(c^-1);w=w-1|0}a=a+4|0;if((D|0)!=(a|0)){continue}break}}if(h){ra(h)}a=H[l+48>>2];if(a){while(1){c=H[a>>2];ra(a);a=c;if(a){continue}break}}a=H[l+40>>2];H[l+40>>2]=0;if(a){ra(a)}if(d){H[l+68>>2]=d;ra(d)}fa=l+96|0;a=w;break o}va();v()}za();v()}d=a;if((a|0)==-1){break n}c=Q;a=H[c+16>>2];h=a+H[c>>2]|0;c=H[c+8>>2];a=c-a|0;c=H[H[i+4>>2]+32>>2];G[c+38>>1]=J[c+38>>1];H[c>>2]=h;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=a;H[c+12>>2]=0;c=H[i+4>>2];a=J[c+36>>1];h=a<<8|a>>>8;if((h&65535)>>>0<=513){a=H[c+32>>2];c=P+H[a+20>>2]|0;b=o+H[a+16>>2]|0;c=b>>>0<o>>>0?c+1|0:c;H[a+16>>2]=b;H[a+20>>2]=c}oa:{if(H[i+216>>2]==H[i+220>>2]){break oa}a=H[i+8>>2];c=H[a>>2];a=H[a+4>>2];pa:{if((h&65535)>>>0>=513){if((a|0)==(c|0)){break oa}c=0;break pa}if((a|0)==(c|0)){break oa}c=0;while(1){if(ad(i,c)){c=c+3|0;a=H[i+8>>2];if(c>>>0<H[a+4>>2]-H[a>>2]>>2>>>0){continue}break oa}break}break n}while(1){if($c(i,c)){c=c+3|0;a=H[i+8>>2];if(c>>>0<H[a+4>>2]-H[a>>2]>>2>>>0){continue}break oa}break}break n}_c(C);c=H[i+216>>2];if((c|0)!=H[i+220>>2]){p=0;while(1){b=N(p,144);Ic((b+c|0)+4|0,H[i+8>>2]);a=H[E>>2];h=a+b|0;c=H[h+132>>2];h=H[h+136>>2];if((c|0)!=(h|0)){while(1){Gc((b+H[E>>2]|0)+4|0,H[c>>2]);c=c+4|0;if((h|0)!=(c|0)){continue}break}a=H[E>>2]}if(!Hc((a+b|0)+4|0)){break n}p=p+1|0;c=H[i+216>>2];if(p>>>0<(H[i+220>>2]-c|0)/144>>>0){continue}break}}a=H[i+8>>2];Jb(i+184|0,H[a+28>>2]-H[a+24>>2]>>2);z=H[i+216>>2];if((z|0)!=H[i+220>>2]){c=0;while(1){a=N(c,144)+z|0;h=H[a+60>>2]-H[a+56>>2]>>2;b=a+104|0;a=H[i+8>>2];a=H[a+28>>2]-H[a+24>>2]>>2;Jb(b,(a|0)<(h|0)?h:a);c=c+1|0;z=H[i+216>>2];if(c>>>0<(H[i+220>>2]-z|0)/144>>>0){continue}break}}z=Zc(i,d)}break b}z=0}fa=t- -64|0;return z|0}function ki(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,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,O=0,P=0,Q=0;q=fa+-64|0;fa=q;H[a+132>>2]=0;if(H[a+148>>2]){d=H[a+144>>2];if(d){while(1){c=H[d>>2];ra(d);d=c;if(c){continue}break}}d=0;H[a+144>>2]=0;c=H[a+140>>2];a:{if(!c){break a}if(c>>>0>=4){m=c&-4;while(1){b=d<<2;H[b+H[a+136>>2]>>2]=0;H[H[a+136>>2]+(b|4)>>2]=0;H[H[a+136>>2]+(b|8)>>2]=0;H[H[a+136>>2]+(b|12)>>2]=0;d=d+4|0;e=e+4|0;if((m|0)!=(e|0)){continue}break}}e=c&3;if(!e){break a}while(1){H[H[a+136>>2]+(d<<2)>>2]=0;d=d+1|0;u=u+1|0;if((e|0)!=(u|0)){continue}break}}H[a+148>>2]=0}b:{c:{d=H[a+4>>2];u=I[d+36|0];e=u<<8|I[d+37|0];if(e>>>0<=513){b=H[d+32>>2];d:{if(e>>>0<=511){e=H[b+20>>2];m=H[b+16>>2];c=m+4|0;e=c>>>0<4?e+1|0:e;g=c;c=e;x=H[b+12>>2];if(g>>>0>K[b+8>>2]&(c|0)>=(x|0)|(c|0)>(x|0)){break c}e=m+H[b>>2]|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[b+16>>2]=g;H[b+20>>2]=c;break d}if(!Ga(1,q,b)){break c}d=H[a+4>>2];u=I[d+36|0];e=H[q>>2]}H[a+132>>2]=e}c=H[d+32>>2];e:{f:{g:{if((u&255)>>>0<=1){u=0;e=H[c+20>>2];b=H[c+16>>2];m=b+4|0;e=m>>>0<4?e+1|0:e;g=H[c+12>>2];if((g|0)<=(e|0)&m>>>0>K[c+8>>2]|(e|0)>(g|0)){break b}b=b+H[c>>2]|0;b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[q+60>>2]=b;H[c+16>>2]=m;H[c+20>>2]=e;H[a+156>>2]=b;o=a+156|0;break g}u=0;if(!Ga(1,q+60|0,c)){break b}d=H[a+4>>2];e=I[d+36|0];H[a+156>>2]=H[q+60>>2];o=a+156|0;if(e>>>0>1){break f}}c=H[d+32>>2];d=H[c+8>>2];e=H[c+12>>2];g=d;d=H[c+20>>2];b=H[c+16>>2];m=b+4|0;d=m>>>0<4?d+1|0:d;if(g>>>0<m>>>0&(d|0)>=(e|0)|(d|0)>(e|0)){break b}e=b+H[c>>2]|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[q+56>>2]=e;H[c+16>>2]=m;H[c+20>>2]=d;break e}if(!Ga(1,q+56|0,H[d+32>>2])){break b}e=H[q+56>>2]}if(e>>>0>1431655765|K[o>>2]>N(e,3)>>>0){break b}x=H[a+4>>2];c=H[x+32>>2];o=H[c+8>>2];b=o;m=H[c+12>>2];d=H[c+20>>2];g=H[c+16>>2];if((m|0)<=(d|0)&g>>>0>=b>>>0|(d|0)>(m|0)){break b}n=H[c>>2];h=I[n+g|0];b=d;f=g+1|0;b=f?b:b+1|0;H[c+16>>2]=f;H[c+20>>2]=b;h:{if(I[x+36|0]<=1){b=m;m=g+5|0;d=m>>>0<5?d+1|0:d;if((b|0)<=(d|0)&m>>>0>o>>>0|(b|0)<(d|0)){break b}b=f+n|0;o=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[q+52>>2]=o;H[c+16>>2]=m;H[c+20>>2]=d;break h}if(!Ga(1,q+52|0,c)){break b}o=H[q+52>>2]}if(e>>>0<o>>>0|((o>>>0)/3|0)+o>>>0<e>>>0){break b}d=H[a+4>>2];b=H[d+32>>2];i:{if(I[d+36|0]<=1){d=H[b+20>>2];c=H[b+16>>2];m=c+4|0;d=m>>>0<4?d+1|0:d;g=H[b+12>>2];if((g|0)<=(d|0)&m>>>0>K[b+8>>2]|(d|0)>(g|0)){break b}c=c+H[b>>2]|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[q+48>>2]=c;H[b+16>>2]=m;H[b+20>>2]=d;break i}if(!Ga(1,q+48|0,b)){break b}c=H[q+48>>2]}if(c>>>0>o>>>0){break b}H[a+28>>2]=H[a+24>>2];b=ac(sa(88));d=H[a+8>>2];H[a+8>>2]=b;if(d){fb(d);if(!H[a+8>>2]){break b}}H[a+164>>2]=H[a+160>>2];Lb(a+160|0,e);H[a+176>>2]=H[a+172>>2];Lb(a+172|0,e);H[a- -64>>2]=0;H[a+92>>2]=-1;H[a+84>>2]=-1;H[a+88>>2]=-1;H[a+40>>2]=H[a+36>>2];H[a+52>>2]=H[a+48>>2];H[a+76>>2]=H[a+72>>2];C=a+216|0;cd(C);bd(C,h);if(!Kc(H[a+8>>2],e,H[a+156>>2]+c|0)){break b}d=H[a+156>>2];F[q|0]=1;Ra(a+120|0,c+d|0,q);d=H[a+4>>2];e=J[d+36>>1];e=(e<<8|e>>>8)&65535;j:{if(e>>>0<=513){c=H[d+32>>2];k:{if(e>>>0<=511){e=H[c+20>>2];b=H[c+16>>2];d=b+4|0;e=d>>>0<4?e+1|0:e;m=d;d=e;g=H[c+12>>2];if(m>>>0>K[c+8>>2]&(d|0)>=(g|0)|(d|0)>(g|0)){break b}e=b+H[c>>2]|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[c+16>>2]=m;H[c+20>>2]=d;break k}if(!Ga(1,q+44|0,c)){break b}e=H[q+44>>2]}if(!e){break b}d=H[H[a+4>>2]+32>>2];c=H[d+8>>2];b=H[d+16>>2];m=c-b|0;d=H[d+12>>2]-(H[d+20>>2]+(b>>>0>c>>>0)|0)|0;if((d|0)<=0&e>>>0>m>>>0|(d|0)<0){break b}c=Ka(q);b=H[H[a+4>>2]+32>>2];d=H[b+16>>2];m=(d+H[b>>2]|0)+e|0;g=H[b+8>>2];d=(g-d|0)-e|0;G[c+38>>1]=J[b+38>>1];H[c>>2]=m;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=d;H[c+12>>2]=0;x=Kb(a,c);if((x|0)==-1){break b}L=x>>31;break j}x=-1;L=-1;if((Kb(a,H[d+32>>2])|0)==-1){break b}}M=a+232|0;e=M;H[e+144>>2]=a;d=H[(ha[H[H[a>>2]+32>>2]](a)|0)+32>>2];c=H[d>>2]+H[d+16>>2]|0;b=H[(ha[H[H[a>>2]+32>>2]](a)|0)+32>>2];d=H[b+8>>2];b=H[b+16>>2];d=d-b|0;P=e,Q=J[H[(ha[H[H[a>>2]+32>>2]](a)|0)+32>>2]+38>>1],G[P+38>>1]=Q;H[e>>2]=c;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=d;H[e+12>>2]=0;H[a+372>>2]=h;E=Ka(q);l:{if(!Ee(e,E)){break l}c=0;d=0;e=0;m=0;j=fa-96|0;fa=j;H[j+72>>2]=0;H[j+64>>2]=0;H[j+68>>2]=0;H[j+48>>2]=0;H[j+52>>2]=0;H[j+40>>2]=0;H[j+44>>2]=0;H[j+56>>2]=1065353216;H[j+32>>2]=0;H[j+24>>2]=0;H[j+28>>2]=0;h=a;w=H[a+124>>2];m:{n:{o:{p:{q:{if((o|0)<=0){break q}O=H[h+216>>2]!=H[h+220>>2];z=1;while(1){g=r;r=g+1|0;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{if(!I[h+308|0]){break F}f=H[h+296>>2];b=H[h+304>>2];a=f+(b>>>3|0)|0;i=H[h+300>>2];if(a>>>0>=i>>>0){break F}n=I[a|0];a=b+1|0;H[h+304>>2]=a;l=n>>>(b&7)&1;if(!l){break F}k=0;n=a>>>3|0;p=f+n|0;G:{if(p>>>0>=i>>>0){b=a;a=0;break G}p=I[p|0];b=b+2|0;H[h+304>>2]=b;n=b>>>3|0;a=p>>>(a&7)&1}n=f+n|0;if(n>>>0<i>>>0){n=I[n|0];H[h+304>>2]=b+1;k=n>>>(b&7)<<1&2}n=-1;f=l|(a|k)<<1;switch(f-1|0){case 6:break C;case 0:break D;case 2:case 4:break E;default:break p}}if((d|0)==(e|0)){n=-1;break p}c=-1;f=H[h+8>>2];p=H[f+24>>2];z=d-4|0;b=H[z>>2];a=-1;H:{if((b|0)==-1){break H}i=b+1|0;i=(i>>>0)%3|0?i:b-2|0;a=-1;if((i|0)==-1){break H}a=H[H[f>>2]+(i<<2)>>2]}n=H[p+(a<<2)>>2];if((n|0)!=-1){c=n+1|0;c=(c>>>0)%3|0?c:n-2|0}if((b|0)==(c|0)){n=-1;break p}if((b|0)!=-1){n=-1;if(H[H[f+12>>2]+(b<<2)>>2]!=-1){break p}}i=H[f+12>>2];if((c|0)!=-1){n=-1;if(H[i+(c<<2)>>2]!=-1){break p}}k=N(g,3);g=k+1|0;H[i+(b<<2)>>2]=g;t=g<<2;H[t+i>>2]=b;l=k+2|0;H[i+(c<<2)>>2]=l;g=i;i=l<<2;H[g+i>>2]=c;g=-1;n=-1;I:{if((b|0)==-1){break I}J:{if((b>>>0)%3|0){b=b-1|0;break J}b=b+2|0;n=-1;if((b|0)==-1){break I}}n=H[H[f>>2]+(b<<2)>>2]}b=n;K:{if((c|0)==-1){break K}n=c+1|0;c=(n>>>0)%3|0?n:c-2|0;if((c|0)==-1){break K}g=H[H[f>>2]+(c<<2)>>2]}n=-1;if((a|0)==(b|0)|(a|0)==(g|0)){break p}c=H[f>>2];H[c+(k<<2)>>2]=a;H[c+t>>2]=g;H[c+i>>2]=b;if((b|0)!=-1){H[p+(b<<2)>>2]=l}c=H[h+120>>2]+(a>>>3&536870908)|0;b=H[c>>2];P=c,Q=Rj(a)&b,H[P>>2]=Q;H[z>>2]=k;c=e;break r}if((d|0)==(e|0)){break p}p=d-4|0;c=H[p>>2];a=H[h+8>>2];b=H[a+12>>2];if(!((c|0)==-1|H[b+(c<<2)>>2]==-1)){break p}l=(f|0)==5;f=N(g,3);i=(l?2:1)+f|0;t=i<<2;H[t+b>>2]=c;H[b+(c<<2)>>2]=i;Na(a+24|0,11424);b=H[h+8>>2];k=H[b+24>>2];if(H[b+28>>2]-k>>2>(w|0)){break p}b=H[b>>2];B=b+t|0;t=H[a+28>>2];a=H[a+24>>2];A=(t-a>>2)-1|0;H[B>>2]=A;if((a|0)!=(t|0)){H[k+(A<<2)>>2]=i}i=l?f:f+2|0;l=b+(f+l<<2)|0;L:{if((c|0)==-1){H[b+(i<<2)>>2]=-1;a=-1;break L}M:{N:{O:{if((c>>>0)%3|0){a=c-1|0;break O}a=c+2|0;if((a|0)==-1){break N}}a=H[b+(a<<2)>>2];H[b+(i<<2)>>2]=a;if((a|0)==-1){break M}H[k+(a<<2)>>2]=i;break M}H[b+(i<<2)>>2]=-1}i=c+1|0;c=(i>>>0)%3|0?i:c-2|0;a=-1;if((c|0)==-1){break L}a=H[b+(c<<2)>>2]}H[l>>2]=a;H[p>>2]=f;break B}if((c|0)==(d|0)){break p}a=d-4|0;k=H[a>>2];H[j+68>>2]=a;l=H[j+44>>2];P:{if(!l){d=a;break P}f=H[j+40>>2];p=Qj(l)>>>0>1;b=g&l+2147483647;Q:{if(!p){break Q}b=g;if(b>>>0<l>>>0){break Q}b=(g>>>0)%(l>>>0)|0}i=b;b=H[f+(i<<2)>>2];if(!b){d=a;break P}b=H[b>>2];if(!b){d=a;break P}R:{if(!p){f=l-1|0;while(1){l=H[b+4>>2];S:{if((l|0)!=(g|0)){if((i|0)==(f&l)){break S}d=a;break P}if((g|0)==H[b+8>>2]){break R}}b=H[b>>2];if(b){continue}break}d=a;break P}while(1){f=H[b+4>>2];T:{if((f|0)!=(g|0)){if(f>>>0>=l>>>0){f=(f>>>0)%(l>>>0)|0}if((f|0)==(i|0)){break T}d=a;break P}if((g|0)==H[b+8>>2]){break R}}b=H[b>>2];if(b){continue}break}d=a;break P}if((a|0)!=(s|0)){H[a>>2]=H[b+12>>2];H[j+68>>2]=d;break P}a=s-c|0;f=a>>2;d=f+1|0;if(d>>>0>=1073741824){break z}e=a>>1;d=a>>>0>=2147483644?1073741823:d>>>0<e>>>0?e:d;if(d){if(d>>>0>=1073741824){break n}e=sa(d<<2)}else{e=0}f=e+(f<<2)|0;H[f>>2]=H[b+12>>2];s=(d<<2)+e|0;d=f+4|0;if((a|0)>0){ta(e,c,a)}H[j+72>>2]=s;H[j+68>>2]=d;H[j+64>>2]=e;if(!c){break P}ra(c)}if((d|0)==(e|0)){break t}A=d-4|0;c=H[A>>2];if((c|0)==(k|0)){break t}a=(c|0)==-1;f=H[h+8>>2];if(!a&H[H[f+12>>2]+(c<<2)>>2]!=-1){break t}i=H[f+12>>2];if((k|0)!=-1&H[i+(k<<2)>>2]!=-1){break t}p=N(g,3);t=p+2|0;H[i+(c<<2)>>2]=t;l=t<<2;H[l+i>>2]=c;b=p+1|0;H[i+(k<<2)>>2]=b;B=b<<2;H[B+i>>2]=k;if(a){break y}if((c>>>0)%3|0){g=c-1|0;break w}g=c+2|0;if((g|0)!=-1){break w}a=H[f>>2];g=-1;break v}f=H[h+8>>2];Na(f+24|0,11424);a=H[h+8>>2];b=N(g,3);k=H[f+28>>2];l=H[f+24>>2];p=k-l|0;i=p>>2;t=i-1|0;H[H[a>>2]+(b<<2)>>2]=t;Na(a+24|0,11424);A=b+1|0;H[H[a>>2]+(A<<2)>>2]=(H[a+28>>2]-H[a+24>>2]>>2)-1;a=H[h+8>>2];Na(a+24|0,11424);B=b+2|0;H[H[a>>2]+(B<<2)>>2]=(H[a+28>>2]-H[a+24>>2]>>2)-1;a=H[h+8>>2];f=H[a+24>>2];if(H[a+28>>2]-f>>2>(w|0)){break p}U:{V:{if((k|0)!=(l|0)){H[f+(t<<2)>>2]=b;a=0;if((p|0)==-4){break V}}H[f+(i<<2)>>2]=A;a=i+1|0;if((a|0)==-1){break U}}H[f+(a<<2)>>2]=B}if((d|0)!=(s|0)){H[d>>2]=b;d=d+4|0;H[j+68>>2]=d;break A}a=d-c|0;f=a>>2;d=f+1|0;if(d>>>0>=1073741824){break x}e=a>>1;d=a>>>0>=2147483644?1073741823:d>>>0<e>>>0?e:d;if(d){if(d>>>0>=1073741824){break n}e=sa(d<<2)}else{e=0}f=e+(f<<2)|0;H[f>>2]=b;s=(d<<2)+e|0;d=f+4|0;if((a|0)>0){ta(e,c,a)}H[j+72>>2]=s;H[j+68>>2]=d;H[j+64>>2]=e;if(!c){break B}ra(c)}c=e}a=H[h+40>>2];if((a|0)==H[h+36>>2]){break r}b=a-12|0;f=H[b+4>>2];g=(g^-1)+o|0;if(f>>>0>g>>>0){break t}if((g|0)!=(f|0)){break r}i=I[a-4|0];f=H[b>>2];H[h+40>>2]=b;if((f|0)<0){break t}k=d-4|0;a=H[k>>2];H[j+20>>2]=(f^-1)+o;b=j+20|0;H[j+88>>2]=b;Ib(j,j+40|0,b,j+88|0);f=H[j>>2];W:{if(i&1){b=-1;if((a|0)==-1){break W}b=a+1|0;b=(b>>>0)%3|0?b:a-2|0;break W}b=-1;if((a|0)==-1){break W}b=a-1|0;if((a>>>0)%3|0){break W}b=a+2|0}H[f+12>>2]=b;b=H[h+40>>2];if((b|0)==H[h+36>>2]){break r}while(1){a=b-12|0;f=H[a+4>>2];if(f>>>0>g>>>0){break t}if((g|0)!=(f|0)){break r}f=I[b-4|0];b=H[a>>2];H[h+40>>2]=a;if((b|0)<0){break t}a=H[k>>2];H[j+20>>2]=(b^-1)+o;b=j+20|0;H[j+88>>2]=b;Ib(j,j+40|0,b,j+88|0);i=H[j>>2];X:{if(f&1){b=-1;if((a|0)==-1){break X}b=a+1|0;b=(b>>>0)%3|0?b:a-2|0;break X}b=-1;if((a|0)==-1){break X}b=a-1|0;if((a>>>0)%3|0){break X}b=a+2|0}H[i+12>>2]=b;b=H[h+40>>2];if((b|0)!=H[h+36>>2]){continue}break}break r}va();v()}g=-1;a=H[f>>2];H[a+(p<<2)>>2]=-1;b=-1;break u}va();v()}a=H[f>>2];g=H[a+(g<<2)>>2]}H[(p<<2)+a>>2]=g;b=c+1|0;c=(b>>>0)%3|0?b:c-2|0;b=-1;if((c|0)==-1){break u}b=H[(c<<2)+a>>2]}H[a+B>>2]=b;Y:{if((k|0)==-1){H[a+l>>2]=-1;l=-1;c=-1;break Y}Z:{_:{$:{if((k>>>0)%3|0){b=k-1|0;break $}b=k+2|0;if((b|0)==-1){break _}}c=H[(b<<2)+a>>2];H[a+l>>2]=c;if((c|0)==-1){break Z}H[H[f+24>>2]+(c<<2)>>2]=t;break Z}H[a+l>>2]=-1}l=-1;b=k+1|0;b=(b>>>0)%3|0?b:k-2|0;c=-1;if((b|0)==-1){break Y}l=H[(b<<2)+a>>2];c=b}b=H[f+24>>2];k=b+(l<<2)|0;if((g|0)!=-1){H[b+(g<<2)>>2]=H[k>>2]}b=c;while(1){if((b|0)==-1){break s}H[(b<<2)+a>>2]=g;t=b+1|0;b=(t>>>0)%3|0?t:b-2|0;f=-1;aa:{if((b|0)==-1){break aa}b=H[i+(b<<2)>>2];f=-1;if((b|0)==-1){break aa}f=b+1|0;f=(f>>>0)%3|0?f:b-2|0}b=f;if((c|0)!=(b|0)){continue}break}}if(!z){break q}break p}H[k>>2]=-1;ba:{if(O){break ba}if((y|0)!=(D|0)){H[y>>2]=l;y=y+4|0;H[j+28>>2]=y;break ba}c=D-m|0;g=c>>2;a=g+1|0;if(a>>>0>=1073741824){break o}b=c>>1;b=c>>>0>=2147483644?1073741823:a>>>0<b>>>0?b:a;if(b){if(b>>>0>=1073741824){break n}a=sa(b<<2)}else{a=0}g=a+(g<<2)|0;H[g>>2]=l;D=a+(b<<2)|0;y=g+4|0;if((c|0)>0){ta(a,m,c)}H[j+32>>2]=D;H[j+28>>2]=y;H[j+24>>2]=a;if(m){ra(m)}m=a}H[A>>2]=p;c=e}z=(o|0)>(r|0);if((o|0)!=(r|0)){continue}break}r=o}n=-1;a=H[h+8>>2];if(H[a+28>>2]-H[a+24>>2]>>2>(w|0)){break p}if((d|0)!=(e|0)){p=h+72|0;o=h+60|0;D=h+312|0;while(1){d=d-4|0;k=H[d>>2];H[j+68>>2]=d;ca:{da:{ea:{if(J[h+270>>1]<=513){if(!I[h+364|0]){break da}a=H[h+360>>2];c=H[h+352>>2]+(a>>>3|0)|0;if(c>>>0>=K[h+356>>2]){break ea}c=I[c|0];H[h+360>>2]=a+1;if(!(c>>>(a&7)&1)){break ea}break da}if(Da(D)){break da}}fa:{ga:{c=H[h+64>>2];a=H[h+68>>2];if((c|0)==a<<5){if((c+1|0)<0){break ga}if(c>>>0<=1073741822){a=a<<6;c=(c&-32)+32|0;a=a>>>0>c>>>0?a:c}else{a=2147483647}tb(o,a);c=H[h+64>>2]}H[h+64>>2]=c+1;a=H[h+60>>2]+(c>>>3&536870908)|0;b=H[a>>2];P=a,Q=Rj(c)&b,H[P>>2]=Q;a=H[h+76>>2];if((a|0)!=H[h+80>>2]){H[a>>2]=k;H[h+76>>2]=a+4;break ca}b=H[p>>2];c=a-b|0;f=c>>2;a=f+1|0;if(a>>>0>=1073741824){break fa}g=c>>1;g=c>>>0>=2147483644?1073741823:a>>>0<g>>>0?g:a;if(g){if(g>>>0>=1073741824){break n}a=sa(g<<2)}else{a=0}f=a+(f<<2)|0;H[f>>2]=k;if((c|0)>0){ta(a,b,c)}H[h+80>>2]=a+(g<<2);H[h+76>>2]=f+4;H[h+72>>2]=a;if(!b){break ca}ra(b);break ca}va();v()}va();v()}s=H[h+8>>2];l=H[s>>2];if(((H[s+4>>2]-l>>2>>>0)/3|0)<=(r|0)){break p}a=-1;c=-1;w=H[s+24>>2];b=-1;ha:{if((k|0)==-1){break ha}f=k+1|0;f=(f>>>0)%3|0?f:k-2|0;b=-1;if((f|0)==-1){break ha}b=H[l+(f<<2)>>2]}f=b;i=H[w+(f<<2)>>2];ia:{if((i|0)==-1){g=1;b=-1;break ia}g=1;z=i+1|0;i=(z>>>0)%3|0?z:i-2|0;b=-1;if((i|0)==-1){break ia}g=0;a=i;b=a+1|0;b=(b>>>0)%3|0?b:a-2|0;if((b|0)!=-1){b=H[l+(b<<2)>>2]}else{b=-1}}i=H[(b<<2)+w>>2];if((i|0)!=-1){c=i+1|0;c=(c>>>0)%3|0?c:i-2|0}if((a|0)==(k|0)|(c|0)==(k|0)|(a|0)==(c|0)){break p}if(!((k|0)==-1|H[H[s+12>>2]+(k<<2)>>2]==-1)|!(H[H[s+12>>2]+(a<<2)>>2]==-1|g)){break p}g=-1;i=H[s+12>>2];s=-1;ja:{if((c|0)==-1){break ja}if(H[i+(c<<2)>>2]!=-1){break p}w=c+1|0;w=(w>>>0)%3|0?w:c-2|0;s=-1;if((w|0)==-1){break ja}s=H[l+(w<<2)>>2]}w=N(r,3);H[j>>2]=w;H[i+(w<<2)>>2]=k;H[i+(k<<2)>>2]=w;k=H[j>>2]+1|0;H[i+(k<<2)>>2]=a;H[i+(a<<2)>>2]=k;a=H[j>>2]+2|0;H[i+(a<<2)>>2]=c;H[i+(c<<2)>>2]=a;a=H[j>>2];H[l+(a<<2)>>2]=b;c=a+1|0;i=l+(c<<2)|0;H[i>>2]=s;k=a+2|0;l=l+(k<<2)|0;H[l>>2]=f;a=H[h+120>>2];b=c?b:-1;f=a+(b>>>3&536870908)|0;s=H[f>>2];P=f,Q=Rj(b)&s,H[P>>2]=Q;g=(c|0)!=-1?H[i>>2]:g;c=a+(g>>>3&536870908)|0;b=H[c>>2];P=c,Q=Rj(g)&b,H[P>>2]=Q;b=-1;b=(k|0)!=-1?H[l>>2]:b;a=a+(b>>>3&536870908)|0;c=H[a>>2];P=a,Q=Rj(b)&c,H[P>>2]=Q;F[j+88|0]=1;Yc(o,j+88|0);Na(p,j);r=r+1|0}if((d|0)!=(e|0)){continue}break}a=H[h+8>>2]}if(((H[a+4>>2]-H[a>>2]>>2>>>0)/3|0)!=(r|0)){break p}n=H[a+28>>2]-H[a+24>>2]>>2;if((m|0)==(y|0)){m=y;break p}d=m;while(1){g=H[d>>2];r=H[a+24>>2];b=n-1|0;c=r+(b<<2)|0;if(H[c>>2]==-1){while(1){b=n-2|0;n=n-1|0;c=r+(b<<2)|0;if(H[c>>2]==-1){continue}break}}if(b>>>0>=g>>>0){H[j>>2]=a;c=H[c>>2];F[j+12|0]=1;H[j+8>>2]=c;H[j+4>>2]=c;if((c|0)!=-1){while(1){a=H[H[h+8>>2]>>2]+(c<<2)|0;if(H[a>>2]!=(b|0)){n=-1;break p}H[a>>2]=g;vc(j);c=H[j+8>>2];if((c|0)!=-1){continue}break}a=H[h+8>>2]}r=H[a+24>>2];c=r+(b<<2)|0;if((g|0)!=-1){H[r+(g<<2)>>2]=H[c>>2]}H[c>>2]=-1;c=1<<g;r=H[h+120>>2];g=r+(g>>>3&536870908)|0;r=r+(b>>>3&536870908)|0;b=1<<b;if(H[r>>2]&b){c=c|H[g>>2]}else{c=H[g>>2]&(c^-1)}H[g>>2]=c;H[r>>2]=H[r>>2]&(b^-1);n=n-1|0}d=d+4|0;if((y|0)!=(d|0)){continue}break}}if(m){ra(m)}a=H[j+48>>2];if(a){while(1){d=H[a>>2];ra(a);a=d;if(a){continue}break}}a=H[j+40>>2];H[j+40>>2]=0;if(a){ra(a)}if(e){H[j+68>>2]=e;ra(e)}fa=j+96|0;a=n;break m}va();v()}za();v()}c=a;if((a|0)==-1){break l}a=H[E+16>>2];d=a+H[E>>2]|0;e=H[E+8>>2];e=e-a|0;a=H[H[h+4>>2]+32>>2];G[a+38>>1]=J[a+38>>1];H[a>>2]=d;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=e;H[a+12>>2]=0;a=H[h+4>>2];d=J[a+36>>1];b=d<<8|d>>>8;if((b&65535)>>>0<=513){a=H[a+32>>2];e=L+H[a+20>>2]|0;d=x+H[a+16>>2]|0;e=d>>>0<x>>>0?e+1|0:e;H[a+16>>2]=d;H[a+20>>2]=e}ka:{if(H[h+216>>2]==H[h+220>>2]){break ka}d=H[h+8>>2];a=H[d>>2];d=H[d+4>>2];la:{if((b&65535)>>>0>=513){if((a|0)==(d|0)){break ka}d=0;break la}if((a|0)==(d|0)){break ka}d=0;while(1){if(ad(h,d)){d=d+3|0;a=H[h+8>>2];if(d>>>0<H[a+4>>2]-H[a>>2]>>2>>>0){continue}break ka}break}break l}while(1){if($c(h,d)){d=d+3|0;a=H[h+8>>2];if(d>>>0<H[a+4>>2]-H[a>>2]>>2>>>0){continue}break ka}break}break l}_c(M);d=H[h+216>>2];if((d|0)!=H[h+220>>2]){o=0;while(1){e=N(o,144);Ic((e+d|0)+4|0,H[h+8>>2]);a=H[C>>2];b=a+e|0;d=H[b+132>>2];b=H[b+136>>2];if((d|0)!=(b|0)){while(1){Gc((e+H[C>>2]|0)+4|0,H[d>>2]);d=d+4|0;if((b|0)!=(d|0)){continue}break}a=H[C>>2]}if(!Hc((a+e|0)+4|0)){break l}o=o+1|0;d=H[h+216>>2];if(o>>>0<(H[h+220>>2]-d|0)/144>>>0){continue}break}}a=H[h+8>>2];Jb(h+184|0,H[a+28>>2]-H[a+24>>2]>>2);u=H[h+216>>2];if((u|0)!=H[h+220>>2]){d=0;while(1){a=N(d,144)+u|0;e=H[a+60>>2]-H[a+56>>2]>>2;b=a+104|0;a=H[h+8>>2];a=H[a+28>>2]-H[a+24>>2]>>2;Jb(b,(a|0)<(e|0)?e:a);d=d+1|0;u=H[h+216>>2];if(d>>>0<(H[h+220>>2]-u|0)/144>>>0){continue}break}}u=Zc(h,c)}break b}u=0}fa=q- -64|0;return u|0}function Ag(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,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;A=c;c=0;m=fa-96|0;fa=m;k=m+16|0;ua(k,0,76);H[m+92>>2]=-1;H[m+8>>2]=0;H[m>>2]=0;H[m+4>>2]=0;q=fa-16|0;fa=q;H[k+68>>2]=0;H[k+72>>2]=0;H[k>>2]=b;s=fa-16|0;fa=s;w=b;a=H[b+20>>2];a:{if((H[b+24>>2]-a|0)<=0){break a}a=H[a>>2];if((a|0)==-1){break a}c=H[H[w+8>>2]+(a<<2)>>2]}b:{c:{d:{if(!c){a=0;break d}a=H[w+100>>2];d=H[w+96>>2];H[s+8>>2]=0;H[s>>2]=0;H[s+4>>2]=0;e=a-d|0;b=(e|0)/12|0;e:{if((a|0)==(d|0)){break e}if(b>>>0>=357913942){break c}f=sa(e);H[s>>2]=f;H[s+8>>2]=f+N(b,12);a=0;g=f;e=e-12|0;f=(e-((e>>>0)%12|0)|0)+12|0;e=ua(g,0,f);H[s+4>>2]=e+f;if(I[c+84|0]){c=b>>>0<=1?1:b;g=c&1;if(b>>>0>=2){i=c&-2;c=0;while(1){f=N(a,12);b=f+d|0;h=H[b+4>>2];o=H[b>>2];f=e+f|0;H[f+8>>2]=H[b+8>>2];H[f>>2]=o;H[f+4>>2]=h;f=N(a|1,12);b=f+d|0;h=H[b+4>>2];o=H[b>>2];f=e+f|0;H[f+8>>2]=H[b+8>>2];H[f>>2]=o;H[f+4>>2]=h;a=a+2|0;c=c+2|0;if((i|0)!=(c|0)){continue}break}}if(!g){break e}b=N(a,12);a=b+d|0;c=H[a+4>>2];d=H[a>>2];b=b+e|0;H[b+8>>2]=H[a+8>>2];H[b>>2]=d;H[b+4>>2]=c;break e}g=b>>>0<=1?1:b;a=H[c+68>>2];c=0;while(1){f=N(c,12);b=f+d|0;i=H[a+(H[b>>2]<<2)>>2];h=H[a+(H[b+4>>2]<<2)>>2];f=e+f|0;H[f+8>>2]=H[a+(H[b+8>>2]<<2)>>2];H[f+4>>2]=h;H[f>>2]=i;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0;D=fa-16|0;fa=D;h=sa(88);ac(h);B=fa-16|0;fa=B;H[h+80>>2]=0;H[h+84>>2]=0;a=H[h+76>>2];H[h+76>>2]=0;if(a){ra(a)}H[h+68>>2]=0;H[h+72>>2]=0;b=h- -64|0;a=H[b>>2];H[b>>2]=0;if(a){ra(a)}d=H[s+4>>2];g=H[s>>2];b=(d-g|0)/12|0;a=N(b,3);f=H[h>>2];e=H[h+4>>2]-f>>2;f:{if(a>>>0>e>>>0){Aa(h,a-e|0);d=H[s+4>>2];g=H[s>>2];b=(d-g|0)/12|0;break f}if(a>>>0>=e>>>0){break f}H[h+4>>2]=f+(a<<2)}g:{if((d|0)==(g|0)){break g}d=b>>>0<=1?1:b;f=d&1;a=H[h>>2];if(b>>>0>=2){i=d&-2;b=0;while(1){d=N(c,12);o=d+a|0;e=d+g|0;H[o>>2]=H[e>>2];H[a+(d|4)>>2]=H[e+4>>2];H[o+8>>2]=H[e+8>>2];e=N(c|1,12);d=e+a|0;e=e+g|0;H[d>>2]=H[e>>2];H[d+4>>2]=H[e+4>>2];H[d+8>>2]=H[e+8>>2];c=c+2|0;b=b+2|0;if((i|0)!=(b|0)){continue}break}}if(!f){break g}b=N(c,12);a=b+a|0;b=b+g|0;H[a>>2]=H[b>>2];H[a+4>>2]=H[b+4>>2];H[a+8>>2]=H[b+8>>2]}H[B+12>>2]=-1;a=0;e=0;d=0;i=fa-32|0;fa=i;h:{i:{x=B+12|0;j:{if(!x){break j}b=H[h+4>>2];o=H[h>>2];c=b-o|0;j=c>>2;g=H[h+12>>2];f=H[h+16>>2]-g>>2;k:{if(j>>>0>f>>>0){Ia(h+12|0,j-f|0,13652);b=H[h+4>>2];o=H[h>>2];c=b-o|0;j=c>>2;break k}if(f>>>0<=j>>>0){break k}H[h+16>>2]=g+(j<<2)}H[i+24>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;f=(b|0)==(o|0);if(!f){if((c|0)<0){break i}e=sa(c);H[i+20>>2]=e;H[i+16>>2]=e;H[i+24>>2]=(j<<2)+e}l:{m:{n:{o:{p:{if(c){while(1){g=H[(a<<2)+o>>2];c=H[i+20>>2]-e>>2;q:{if(g>>>0<c>>>0){break q}H[i>>2]=0;f=g+1|0;if(f>>>0>c>>>0){Ia(i+16|0,f-c|0,i);o=H[h>>2];b=H[h+4>>2];e=H[i+16>>2];break q}if(c>>>0<=f>>>0){break q}H[i+20>>2]=(f<<2)+e}c=(g<<2)+e|0;H[c>>2]=H[c>>2]+1;a=a+1|0;c=b-o|0;j=c>>2;if(a>>>0<j>>>0){continue}break}break p}c=0;if(!f){break o}break n}if((b|0)==(o|0)){c=0;break n}if(c>>>0>=2147483645){break m}}c=sa(c<<1);ua(c,255,j<<3)}H[i+8>>2]=0;H[i>>2]=0;H[i+4>>2]=0;b=H[i+20>>2];a=b-e|0;t=a>>2;r:{s:{if((b|0)==(e|0)){break s}if((a|0)<0){break r}n=sa(a);H[i>>2]=n;H[i+8>>2]=(t<<2)+n;b=ua(n,0,a);H[i+4>>2]=b+a;f=t>>>0<=1?1:t;g=f&3;a=0;if(f-1>>>0>=3){r=f&-4;while(1){f=d<<2;H[f+b>>2]=a;y=f|4;a=H[e+f>>2]+a|0;H[y+b>>2]=a;u=f|8;a=a+H[e+y>>2]|0;H[u+b>>2]=a;f=f|12;a=a+H[e+u>>2]|0;H[f+b>>2]=a;a=a+H[e+f>>2]|0;d=d+4|0;p=p+4|0;if((r|0)!=(p|0)){continue}break}}if(!g){break s}while(1){f=d<<2;H[f+b>>2]=a;d=d+1|0;a=H[e+f>>2]+a|0;l=l+1|0;if((g|0)!=(l|0)){continue}break}}if(!j){break l}y=H[h+12>>2];f=0;while(1){E=f<<2;a=E+o|0;l=-1;g=f+1|0;b=(g>>>0)%3|0?g:f-2|0;if((b|0)!=-1){l=H[(b<<2)+o>>2]}b=H[a>>2];t:{u:{if(!((f>>>0)%3|0)){p=-1;a=f+2|0;if((a|0)!=-1){p=H[(a<<2)+o>>2]}if(!((b|0)==(l|0)|(b|0)==(p|0))&(l|0)!=(p|0)){break u}H[h+40>>2]=H[h+40>>2]+1;f=f+3|0;break t}p=H[a-4>>2]}a=p<<2;u=H[a+e>>2];v:{w:{if((u|0)<=0){break w}a=H[a+n>>2];d=0;while(1){r=(a<<3)+c|0;z=H[r>>2];if((z|0)==-1){break w}x:{if((l|0)!=(z|0)){break x}r=H[r+4>>2];if((r|0)!=-1){z=H[(r<<2)+o>>2]}else{z=-1}if((z|0)==(b|0)){break x}while(1){y:{b=a;d=d+1|0;if((u|0)<=(d|0)){break y}a=b+1|0;G=(a<<3)+c|0;z=H[G>>2];J=(b<<3)+c|0;H[J+4>>2]=H[G+4>>2];H[J>>2]=z;if((z|0)!=-1){continue}}break}H[(b<<3)+c>>2]=-1;if((r|0)==-1){break w}H[y+E>>2]=r;H[y+(r<<2)>>2]=f;break v}a=a+1|0;d=d+1|0;if((u|0)!=(d|0)){continue}break}}a=l<<2;l=H[a+e>>2];if((l|0)<=0){break v}a=H[a+n>>2];d=0;while(1){b=(a<<3)+c|0;if(H[b>>2]==-1){H[b>>2]=p;H[b+4>>2]=f;break v}a=a+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}f=g}if(j>>>0>f>>>0){continue}break}break l}break i}va();v()}H[x>>2]=t;if(n){ra(n)}if(c){ra(c)}a=H[i+16>>2];if(!a){break j}H[i+20>>2]=a;ra(a)}fa=i+32|0;y=(x|0)!=0;if(y){l=fa-32|0;fa=l;n=H[h>>2];a=H[h+4>>2];H[l+24>>2]=0;H[l+16>>2]=0;H[l+20>>2]=0;z:{if((a|0)==(n|0)){break z}c=a-n|0;if((c|0)<0){break i}b=c>>2;e=b-1>>>5|0;d=sa((e<<2)+4|0);H[l+16>>2]=d;H[d+((c>>>0>=132?e:0)<<2)>>2]=0;c=b>>>5<<2;d=ua(d,0,c);if((b|0)==(b&-32)){break z}c=c+d|0;H[c>>2]=H[c>>2]&(-1>>>32-(b&31)^-1)}H[l+8>>2]=0;H[l>>2]=0;while(1){A:{r=0;o=0;if((a|0)==(n|0)){break A}while(1){b=H[l+16>>2];B:{if(H[b+(o>>>3&536870908)>>2]>>>o&1){break B}e=H[l>>2];H[l+4>>2]=e;c=H[h+12>>2];a=o;while(1){C:{d=a+1|0;i=a;a=(d>>>0)%3|0?d:a-2|0;if((a|0)==-1){break C}a=H[c+(a<<2)>>2];if((a|0)==-1){break C}d=a+1|0;a=(d>>>0)%3|0?d:a-2|0;if((o|0)==(a|0)|(a|0)==-1){break C}if(!(H[b+(a>>>3&536870908)>>2]>>>a&1)){continue}}break}d=i;D:{E:{F:{while(1){a=H[l+16>>2]+(d>>>3&536870908)|0;H[a>>2]=H[a>>2]|1<<d;a=d+1|0;g=(a>>>0)%3|0?a:d-2|0;n=H[h>>2];u=(d>>>0)%3|0;b=(u?-1:2)+d|0;j=H[l>>2];G:{if((j|0)==(e|0)){break G}x=H[(g<<2)+n>>2];p=H[h+12>>2];a=j;if((b|0)!=-1){c=p+(b<<2)|0;while(1){H:{if((x|0)!=H[a>>2]){break H}f=H[a+4>>2];t=H[c>>2];if((f|0)==(t|0)){break H}e=-1;c=b;a=-1;if((f|0)==-1){break D}break E}a=a+8|0;if((e|0)!=(a|0)){continue}break}break G}while(1){if((x|0)==H[a>>2]){t=-1;c=-1;f=H[a+4>>2];if((f|0)!=-1){break E}}a=a+8|0;if((e|0)!=(a|0)){continue}break}}f=H[(b<<2)+n>>2];I:{if(H[l+8>>2]!=(e|0)){H[e>>2]=f;H[e+4>>2]=g;e=e+8|0;H[l+4>>2]=e;break I}b=e-j|0;e=b>>3;a=e+1|0;if(a>>>0>=536870912){break i}c=b>>2;c=b>>>0>=2147483640?536870911:a>>>0<c>>>0?c:a;if(c){if(c>>>0>=536870912){break F}a=sa(c<<3)}else{a=0}e=a+(e<<3)|0;H[e>>2]=f;H[e+4>>2]=g;e=e+8|0;if((b|0)>0){ta(a,j,b)}H[l+8>>2]=a+(c<<3);H[l+4>>2]=e;H[l>>2]=a;if(!j){break I}ra(j)}J:{K:{if(u){a=d-1|0;break K}a=d+2|0;if((a|0)==-1){break J}}a=H[H[h+12>>2]+(a<<2)>>2];if((a|0)==-1){break J}d=a+((a>>>0)%3|0?-1:2)|0;if((i|0)==(d|0)){break J}if((d|0)!=-1){continue}}break}n=H[h>>2];break B}za();v()}b=c;e=f;a=H[p+(e<<2)>>2]}if((t|0)!=-1){H[p+(t<<2)>>2]=-1}if((a|0)!=-1){H[H[h+12>>2]+(a<<2)>>2]=-1}a=H[h+12>>2];H[a+(b<<2)>>2]=-1;H[a+(e<<2)>>2]=-1;r=1}o=o+1|0;a=H[h+4>>2];if(o>>>0<a-n>>2>>>0){continue}break}if(r){continue}}break}a=H[l>>2];if(a){ra(a)}a=H[l+16>>2];if(a){ra(a)}fa=l+32|0;c=0;f=0;l=0;i=fa-32|0;fa=i;a=H[B+12>>2];H[h+36>>2]=a;o=h+24|0;d=H[h+24>>2];b=H[h+28>>2]-d>>2;L:{M:{if(b>>>0<a>>>0){Ia(o,a-b|0,13652);H[i+24>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;break M}if(a>>>0<b>>>0){H[h+28>>2]=d+(a<<2)}H[i+24>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;if(!a){break L}}if((a|0)<0){break i}b=a-1>>>5|0;d=b+1|0;c=sa(d<<2);H[i+24>>2]=d;H[i+16>>2]=c;H[i+20>>2]=a;H[((a>>>0>=33?b:0)<<2)+c>>2]=0;b=a>>>5<<2;d=ua(c,0,b);if((a&-32)==(a|0)){break L}b=b+d|0;H[b>>2]=H[b>>2]&(-1>>>32-(a&31)^-1)}j=H[h>>2];e=H[h+4>>2];H[i+8>>2]=0;H[i>>2]=0;H[i+4>>2]=0;d=e-j|0;N:{if((e|0)==(j|0)){break N}if((d|0)<0){break i}b=d>>2;g=b-1>>>5|0;n=g+1|0;f=sa(n<<2);H[i+8>>2]=n;H[i>>2]=f;H[i+4>>2]=b;H[((d>>>0>=132?g:0)<<2)+f>>2]=0;g=b>>>5<<2;n=ua(f,0,g);if((b|0)==(b&-32)){break N}g=g+n|0;H[g>>2]=H[g>>2]&(-1>>>32-(b&31)^-1)}if(d>>>0>=12){O:{P:{while(1){p=N(l,3);d=(p<<2)+j|0;b=H[d>>2];g=-1;n=p+1|0;if((n|0)!=-1){g=H[(n<<2)+j>>2]}Q:{if((b|0)==(g|0)){break Q}n=b;b=H[d+8>>2];if((n|0)==(b|0)){break Q}n=0;if((b|0)==(g|0)){break Q}while(1){b=n+p|0;if(!(H[(b>>>3&536870908)+f>>2]>>>b&1)){d=H[(b<<2)+j>>2];g=1<<d;j=d>>>5|0;t=g&H[(j<<2)+c>>2];if(t){c=H[h+28>>2];R:{if((c|0)!=H[h+32>>2]){H[c>>2]=-1;H[h+28>>2]=c+4;break R}f=H[o>>2];e=c-f|0;j=e>>2;c=j+1|0;if(c>>>0>=1073741824){break i}g=e>>1;g=e>>>0>=2147483644?1073741823:c>>>0<g>>>0?g:c;if(g){if(g>>>0>=1073741824){break P}c=sa(g<<2)}else{c=0}j=c+(j<<2)|0;H[j>>2]=-1;if((e|0)>0){ta(c,f,e)}H[h+32>>2]=c+(g<<2);H[h+28>>2]=j+4;H[h+24>>2]=c;if(!f){break R}ra(f)}c=H[h+52>>2];S:{if((c|0)!=H[h+56>>2]){H[c>>2]=d;H[h+52>>2]=c+4;break S}f=H[h+48>>2];e=c-f|0;j=e>>2;c=j+1|0;if(c>>>0>=1073741824){break i}g=e>>1;g=e>>>0>=2147483644?1073741823:c>>>0<g>>>0?g:c;if(g){if(g>>>0>=1073741824){break P}c=sa(g<<2)}else{c=0}j=c+(j<<2)|0;H[j>>2]=d;if((e|0)>0){ta(c,f,e)}H[h+56>>2]=c+(g<<2);H[h+52>>2]=j+4;H[h+48>>2]=c;if(!f){break S}ra(f)}g=H[i+20>>2];c=H[i+24>>2];if((g|0)==c<<5){if((g+1|0)<0){break i}d=i+16|0;if(g>>>0<=1073741822){c=c<<6;e=(g&-32)+32|0;c=c>>>0>e>>>0?c:e}else{c=2147483647}tb(d,c);g=H[i+20>>2]}H[i+20>>2]=g+1;c=H[i+16>>2]+(g>>>3&536870908)|0;d=H[c>>2];L=c,M=Rj(g)&d,H[L>>2]=M;g=1<<a;j=a>>>5|0;d=a;a=a+1|0}e=a;c=H[i+16>>2];a=c+(j<<2)|0;H[a>>2]=H[a>>2]|g;x=H[h+24>>2]+(d<<2)|0;r=H[h+12>>2];j=H[h>>2];f=H[i>>2];a=b;T:{U:{V:{while(1){if((a|0)==-1){break V}g=(a>>>3&536870908)+f|0;H[g>>2]=H[g>>2]|1<<a;H[x>>2]=a;if(t){H[(a<<2)+j>>2]=d}u=a+1|0;a=(u>>>0)%3|0?u:a-2|0;g=-1;W:{if((a|0)==-1){break W}a=H[r+(a<<2)>>2];g=-1;if((a|0)==-1){break W}g=a+1|0;g=(g>>>0)%3|0?g:a-2|0}a=g;if((b|0)!=(a|0)){continue}break}if((b|0)!=-1){break T}a=1;break U}if((b>>>0)%3|0){a=b-1|0;break U}a=b+2|0;if((a|0)==-1){break T}}a=H[r+(a<<2)>>2];if((a|0)==-1){break T}X:{if((a>>>0)%3|0){a=a-1|0;break X}a=a+2|0;if((a|0)==-1){break T}}b=H[h+12>>2];j=H[h>>2];f=H[i>>2];while(1){g=(a>>>3&536870908)+f|0;H[g>>2]=H[g>>2]|1<<a;if(t){H[(a<<2)+j>>2]=d}Y:{if((a>>>0)%3|0){a=a-1|0;break Y}a=a+2|0;if((a|0)==-1){break T}}a=H[b+(a<<2)>>2];if((a|0)==-1){break T}a=a+((a>>>0)%3|0?-1:2)|0;if((a|0)!=-1){continue}break}}a=e}n=n+1|0;if((n|0)!=3){continue}break}j=H[h>>2];e=H[h+4>>2]}l=l+1|0;if(l>>>0<(e-j>>2>>>0)/3>>>0){continue}break}break O}za();v()}c=H[i+16>>2]}a=0;H[h+44>>2]=0;b=H[i+20>>2];if(b){d=b&31;b=(b>>>3&536870908)+c|0;g=c;f=0;while(1){if(!(H[g>>2]>>>a&1)){f=f+1|0;H[h+44>>2]=f}e=(a|0)==31;a=e?0:a+1|0;g=(e<<2)+g|0;if((b|0)!=(g|0)|(a|0)!=(d|0)){continue}break}}a=H[i>>2];if(a){ra(a);c=H[i+16>>2]}if(c){ra(c)}fa=i+32|0}fa=B+16|0;if(!y){H[D+8>>2]=0;fb(h);h=0}fa=D+16|0;a=h;break h}va();v()}b=H[s>>2];if(!b){break d}H[s+4>>2]=b;ra(b)}fa=s+16|0;break b}va();v()}c=H[k+4>>2];b=a;H[k+4>>2]=a;if(c){fb(c);b=H[k+4>>2]}Z:{if(!b){break Z}a=H[w+100>>2];c=H[w+96>>2];F[q+12|0]=0;Ra(k+56|0,(a-c|0)/12|0,q+12|0);a=H[w+100>>2];c=H[w+96>>2];if((a|0)==(c|0)){break Z}while(1){if(!(H[H[k+56>>2]+(C>>>3&536870908)>>2]>>>C&1)){a=N(C,3);Fc(k,0,a);c=H[k+8>>2];d=H[k+12>>2];Fc(k,1,a+1|0);e=H[k+20>>2];f=H[k+24>>2];Fc(k,2,a+2|0);g=(c|0)==(d|0)?-1:0;a=f-e>>2;c=d-c>>2;d=a>>>0>c>>>0;c=H[k+36>>2]-H[k+32>>2]>>2>>>0>(d?a:c)>>>0?2:d?1:g;_:{if(H[k+68>>2]<=0){break _}H[q+12>>2]=H[k+76>>2];H[q+8>>2]=m;eb(q+8|0,q+12|0);a=H[((c<<2)+k|0)+44>>2];if((a|0)<0){a=-1}else{d=(a>>>0)/3|0;a=H[(H[H[k>>2]+96>>2]+N(d,12)|0)+(a-N(d,3)<<2)>>2]}H[q+12>>2]=a;H[q+8>>2]=m;eb(q+8|0,q+12|0);d=H[k+72>>2];H[k+72>>2]=d+2;if(!(d&1)){break _}H[q+12>>2]=a;H[q+8>>2]=m;eb(q+8|0,q+12|0);H[k+72>>2]=H[k+72>>2]+1}f=0;d=fa-16|0;fa=d;H[k+68>>2]=H[k+68>>2]+1;a=N(c,12)+k|0;a=H[a+12>>2]-H[a+8>>2]|0;if((a|0)>0){a=a>>>2|0;g=a>>>0<=1?1:a;c=H[((c<<2)+k|0)+44>>2];while(1){a=c;e=(a>>>0)/3|0;c=(a|0)==-1;i=c?-1:e;h=H[k+56>>2]+(i>>>3&536870908)|0;H[h>>2]=H[h>>2]|1<<i;H[k+72>>2]=H[k+72>>2]+1;$:{aa:{ba:{ca:{da:{if(!f){ea:{if((a|0)>=0){H[d+12>>2]=H[(H[H[k>>2]+96>>2]+N(e,12)|0)+((a>>>0)%3<<2)>>2];H[d+8>>2]=m;eb(d+8|0,d+12|0);break ea}H[d+12>>2]=-1;H[d+8>>2]=m;eb(d+8|0,d+12|0);if(c){break da}}c=-1;e=a+1|0;e=(e>>>0)%3|0?e:a-2|0;if((e|0)>=0){i=(e>>>0)/3|0;e=H[(H[H[k>>2]+96>>2]+N(i,12)|0)+(e-N(i,3)<<2)>>2]}else{e=-1}H[d+12>>2]=e;H[d+8>>2]=m;eb(d+8|0,d+12|0);e=((a>>>0)%3|0?-1:2)+a|0;if((e|0)<0){break ca}c=(e>>>0)/3|0;c=H[(H[H[k>>2]+96>>2]+N(c,12)|0)+(e-N(c,3)<<2)>>2];break ca}c=(a|0)<0?-1:H[(H[H[k>>2]+96>>2]+N(e,12)|0)+((a>>>0)%3<<2)>>2];H[k+76>>2]=c;H[d+12>>2]=c;H[d+8>>2]=m;eb(d+8|0,d+12|0);if(f&1){c=-1;if((a|0)==-1){break $}if((N(e,3)|0)!=(a|0)){a=a-1|0;break aa}a=a+2|0;break ba}c=-1;if((a|0)==-1){break $}c=a+1|0;a=(c>>>0)%3|0?c:a-2|0;break ba}c=-1;H[d+12>>2]=-1;H[d+8>>2]=m;eb(d+8|0,d+12|0)}H[k+76>>2]=c;H[d+12>>2]=c;H[d+8>>2]=m;eb(d+8|0,d+12|0)}c=-1;if((a|0)==-1){break $}}c=H[H[H[k+4>>2]+12>>2]+(a<<2)>>2]}f=f+1|0;if((g|0)!=(f|0)){continue}break}}fa=d+16|0;c=H[w+96>>2];a=H[w+100>>2]}C=C+1|0;if(C>>>0<(a-c|0)/12>>>0){continue}break}}fa=q+16|0;fa:{if(b){a=H[A>>2];if(a){H[A+4>>2]=a;ra(a)}H[A>>2]=H[m>>2];H[A+4>>2]=H[m+4>>2];H[A+8>>2]=H[m+8>>2];K=H[m+84>>2];break fa}a=H[m>>2];if(!a){break fa}H[m+4>>2]=a;ra(a)}a=H[m+72>>2];if(a){ra(a)}a=H[m+48>>2];if(a){H[m+52>>2]=a;ra(a)}a=H[m+36>>2];if(a){H[m+40>>2]=a;ra(a)}a=H[m+24>>2];if(a){H[m+28>>2]=a;ra(a)}a=H[m+20>>2];H[m+20>>2]=0;if(a){fb(a)}fa=m+96|0;return K|0}function qg(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;a:{b:{switch(d-1|0){case 0:a=0;i=H[b+80>>2];l=I[c+24|0];c:{if((N(i,l)|0)!=(e|0)){break c}b=H[c+28>>2]!=1;a=I[c+84|0];if(!(b|!a)){ta(f,H[H[c>>2]>>2]+H[c+48>>2]|0,e);a=1;break c}d=0;if(l){d=sa(l);ua(d,0,l)}d:{if(!i){break d}if(!b){if(l){b=0;a=0;while(1){h=H[H[c>>2]>>2];n=H[c+40>>2];e=H[c+48>>2]+Nj(n,H[c+44>>2],I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],0)|0;ta(b+f|0,ta(d,h+e|0,n),l);b=b+l|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}break d}if(a){e=H[c>>2];a=H[c+48>>2];l=H[c+44>>2];p=H[c+40>>2];if((i|0)!=1){m=i&-2;c=0;b=0;while(1){f=H[e>>2];h=Nj(p,l,c,0)+a|0;f=ta(d,f+h|0,p);k=H[e>>2];h=Nj(p,l,c|1,0)+a|0;ta(f,k+h|0,p);c=c+2|0;b=b+2|0;if((m|0)!=(b|0)){continue}break}h=c}if(!(i&1)){break d}c=H[e>>2];b=Nj(h,0,p,l)+a|0;ta(d,c+b|0,p);break d}e=H[c>>2];a=H[c+48>>2];h=H[c+68>>2];l=H[c+44>>2];p=H[c+40>>2];c=0;if((i|0)!=1){j=i&-2;b=0;while(1){f=H[e>>2];k=c<<2;m=Nj(p,l,H[k+h>>2],0)+a|0;f=ta(d,f+m|0,p);o=H[e>>2];m=Nj(p,l,H[h+(k|4)>>2],0)+a|0;ta(f,o+m|0,p);c=c+2|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}}if(!(i&1)){break d}e=H[e>>2];b=Nj(p,l,H[h+(c<<2)>>2],0)+a|0;ta(d,e+b|0,p);break d}a=0;g=1;if(!l){while(1){if(!kc(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],d)){break d}a=a+1|0;g=i>>>0>a>>>0;if((a|0)!=(i|0)){continue}break d}}b=0;while(1){if(!kc(c,I[c+84|0]?b:H[H[c+68>>2]+(b<<2)>>2],F[c+24|0],d)){break d}ta(a+f|0,d,l);a=a+l|0;b=b+1|0;g=i>>>0>b>>>0;if((b|0)!=(i|0)){continue}break}}a=!g;if(!d){break c}ra(d)}g=a&1;break a;case 2:k=I[c+24|0];n=k<<1;b=H[b+80>>2];e:{f:{if((N(n,b)|0)!=(e|0)){break f}d=H[c+28>>2]!=3;q=I[c+84|0];if(!(d|!q)){ta(f,H[H[c>>2]>>2]+H[c+48>>2]|0,e);g=1;break e}a=0;if(k){a=sa(n);ua(a,0,n)}g:{if(!b){break g}if(!d){d=H[c+68>>2];i=H[c>>2];e=H[c+48>>2];m=H[c+44>>2];j=H[c+40>>2];if(k){if(!q){c=0;while(1){o=H[i>>2];h=Nj(j,m,H[d+(g<<2)>>2],0)+e|0;ta((c<<1)+f|0,ta(a,o+h|0,j),n);c=c+k|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}break g}c=0;while(1){o=H[i>>2];d=Nj(h,g,j,m)+e|0;ta((c<<1)+f|0,ta(a,o+d|0,j),n);c=c+k|0;d=g;g=h+1|0;d=g?d:d+1|0;h=g;g=d;if((b|0)!=(h|0)|d){continue}break}break g}if(!q){c=0;if((b|0)!=1){h=b&-2;while(1){o=H[i>>2];k=c<<2;f=Nj(j,m,H[k+d>>2],0)+e|0;o=ta(a,o+f|0,j);n=H[i>>2];f=Nj(j,m,H[d+(k|4)>>2],0)+e|0;ta(o,n+f|0,j);c=c+2|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(!(b&1)){break g}f=H[i>>2];b=Nj(j,m,H[d+(c<<2)>>2],0)+e|0;ta(a,f+b|0,j);break g}f=b&1;if((b|0)!=1){k=b&-2;c=0;b=0;while(1){o=H[i>>2];d=Nj(h,g,j,m)+e|0;o=ta(a,o+d|0,j);n=H[i>>2];d=Nj(j,m,h|1,g)+e|0;ta(o,n+d|0,j);d=h+2|0;g=d>>>0<2?g+1|0:g;h=d;d=b;b=c+2|0;d=b>>>0<2?d+1|0:d;c=b;b=d;if((k|0)!=(c|0)|b){continue}break}}if(!f){break g}c=H[i>>2];b=Nj(h,g,j,m)+e|0;ta(a,c+b|0,j);break g}d=0;l=1;if(!k){while(1){if(!ic(c,I[c+84|0]?d:H[H[c+68>>2]+(d<<2)>>2],F[c+24|0],a)){break g}d=d+1|0;l=b>>>0>d>>>0;if((b|0)!=(d|0)){continue}break g}}while(1){if(!ic(c,I[c+84|0]?g:H[H[c+68>>2]+(g<<2)>>2],F[c+24|0],a)){break g}ta((d<<1)+f|0,a,n);d=d+k|0;g=g+1|0;l=b>>>0>g>>>0;if((b|0)!=(g|0)){continue}break}}g=!l;if(!a){break f}ra(a)}g=g&1}break a;case 4:k=I[c+24|0];n=k<<2;b=H[b+80>>2];h:{if((N(n,b)|0)!=(e|0)){break h}i=H[c+28>>2]!=5;d=I[c+84|0];if(!(i|!d)){ta(f,H[H[c>>2]>>2]+H[c+48>>2]|0,e);g=1;break h}a=0;if(k){a=sa(n);ua(a,0,n)}i:{if(!b){break i}if(!i){q=H[c+68>>2];i=H[c>>2];e=H[c+48>>2];m=H[c+44>>2];j=H[c+40>>2];if(k){if(!d){c=0;d=0;while(1){h=H[i>>2];g=Nj(j,m,H[q+(d<<2)>>2],0)+e|0;ta((c<<2)+f|0,ta(a,h+g|0,j),n);c=c+k|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}break i}d=b;c=0;while(1){o=H[i>>2];b=Nj(h,g,j,m)+e|0;ta((c<<2)+f|0,ta(a,o+b|0,j),n);c=c+k|0;b=g;g=h+1|0;b=g?b:b+1|0;h=g;g=b;if((d|0)!=(h|0)|b){continue}break}break i}if(!d){c=0;if((b|0)!=1){g=b&-2;d=0;while(1){k=H[i>>2];h=c<<2;f=Nj(j,m,H[h+q>>2],0)+e|0;k=ta(a,k+f|0,j);o=H[i>>2];f=Nj(j,m,H[q+(h|4)>>2],0)+e|0;ta(k,o+f|0,j);c=c+2|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(b&1)){break i}d=H[i>>2];b=Nj(j,m,H[q+(c<<2)>>2],0)+e|0;ta(a,d+b|0,j);break i}f=b&1;if((b|0)!=1){k=b&-2;c=0;b=0;while(1){o=H[i>>2];d=Nj(h,g,j,m)+e|0;o=ta(a,o+d|0,j);n=H[i>>2];d=Nj(j,m,h|1,g)+e|0;ta(o,n+d|0,j);d=g;g=h+2|0;d=g>>>0<2?d+1|0:d;h=g;g=d;c=c+2|0;b=c>>>0<2?b+1|0:b;if((k|0)!=(c|0)|b){continue}break}}if(!f){break i}c=H[i>>2];b=Nj(h,g,j,m)+e|0;ta(a,c+b|0,j);break i}l=1;if(!k){while(1){if(!gc(c,I[c+84|0]?g:H[H[c+68>>2]+(g<<2)>>2],F[c+24|0],a)){break i}g=g+1|0;l=b>>>0>g>>>0;if((b|0)!=(g|0)){continue}break i}}d=0;while(1){if(!gc(c,I[c+84|0]?d:H[H[c+68>>2]+(d<<2)>>2],F[c+24|0],a)){break i}ta((g<<2)+f|0,a,n);g=g+k|0;d=d+1|0;l=b>>>0>d>>>0;if((b|0)!=(d|0)){continue}break}}g=!l;if(!a){break h}ra(a)}g=g&1;break a;case 1:a=0;i=H[b+80>>2];l=I[c+24|0];j:{if((N(i,l)|0)!=(e|0)){break j}b=H[c+28>>2]!=2;a=I[c+84|0];if(!(b|!a)){ta(f,H[H[c>>2]>>2]+H[c+48>>2]|0,e);a=1;break j}d=0;if(l){d=sa(l);ua(d,0,l)}k:{if(!i){break k}if(!b){if(l){b=0;a=0;while(1){h=H[H[c>>2]>>2];n=H[c+40>>2];e=H[c+48>>2]+Nj(n,H[c+44>>2],I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],0)|0;ta(b+f|0,ta(d,h+e|0,n),l);b=b+l|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}break k}if(a){e=H[c>>2];a=H[c+48>>2];l=H[c+44>>2];p=H[c+40>>2];if((i|0)!=1){m=i&-2;c=0;b=0;while(1){f=H[e>>2];h=Nj(p,l,c,0)+a|0;f=ta(d,f+h|0,p);k=H[e>>2];h=Nj(p,l,c|1,0)+a|0;ta(f,k+h|0,p);c=c+2|0;b=b+2|0;if((m|0)!=(b|0)){continue}break}h=c}if(!(i&1)){break k}c=H[e>>2];b=Nj(h,0,p,l)+a|0;ta(d,c+b|0,p);break k}e=H[c>>2];a=H[c+48>>2];h=H[c+68>>2];l=H[c+44>>2];p=H[c+40>>2];c=0;if((i|0)!=1){j=i&-2;b=0;while(1){f=H[e>>2];k=c<<2;m=Nj(p,l,H[k+h>>2],0)+a|0;f=ta(d,f+m|0,p);o=H[e>>2];m=Nj(p,l,H[h+(k|4)>>2],0)+a|0;ta(f,o+m|0,p);c=c+2|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}}if(!(i&1)){break k}e=H[e>>2];b=Nj(p,l,H[h+(c<<2)>>2],0)+a|0;ta(d,e+b|0,p);break k}a=0;g=1;if(!l){while(1){if(!jc(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],d)){break k}a=a+1|0;g=i>>>0>a>>>0;if((a|0)!=(i|0)){continue}break k}}b=0;while(1){if(!jc(c,I[c+84|0]?b:H[H[c+68>>2]+(b<<2)>>2],F[c+24|0],d)){break k}ta(a+f|0,d,l);a=a+l|0;b=b+1|0;g=i>>>0>b>>>0;if((b|0)!=(i|0)){continue}break}}a=!g;if(!d){break j}ra(d)}g=a&1;break a;case 3:k=I[c+24|0];n=k<<1;b=H[b+80>>2];l:{m:{if((N(n,b)|0)!=(e|0)){break m}d=H[c+28>>2]!=4;q=I[c+84|0];if(!(d|!q)){ta(f,H[H[c>>2]>>2]+H[c+48>>2]|0,e);g=1;break l}a=0;if(k){a=sa(n);ua(a,0,n)}n:{if(!b){break n}if(!d){d=H[c+68>>2];i=H[c>>2];e=H[c+48>>2];m=H[c+44>>2];j=H[c+40>>2];if(k){if(!q){c=0;while(1){o=H[i>>2];h=Nj(j,m,H[d+(g<<2)>>2],0)+e|0;ta((c<<1)+f|0,ta(a,o+h|0,j),n);c=c+k|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}break n}c=0;while(1){o=H[i>>2];d=Nj(h,g,j,m)+e|0;ta((c<<1)+f|0,ta(a,o+d|0,j),n);c=c+k|0;d=g;g=h+1|0;d=g?d:d+1|0;h=g;g=d;if((b|0)!=(h|0)|d){continue}break}break n}if(!q){c=0;if((b|0)!=1){h=b&-2;while(1){o=H[i>>2];k=c<<2;f=Nj(j,m,H[k+d>>2],0)+e|0;o=ta(a,o+f|0,j);n=H[i>>2];f=Nj(j,m,H[d+(k|4)>>2],0)+e|0;ta(o,n+f|0,j);c=c+2|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(!(b&1)){break n}f=H[i>>2];b=Nj(j,m,H[d+(c<<2)>>2],0)+e|0;ta(a,f+b|0,j);break n}f=b&1;if((b|0)!=1){k=b&-2;c=0;b=0;while(1){o=H[i>>2];d=Nj(h,g,j,m)+e|0;o=ta(a,o+d|0,j);n=H[i>>2];d=Nj(j,m,h|1,g)+e|0;ta(o,n+d|0,j);d=h+2|0;g=d>>>0<2?g+1|0:g;h=d;d=b;b=c+2|0;d=b>>>0<2?d+1|0:d;c=b;b=d;if((k|0)!=(c|0)|b){continue}break}}if(!f){break n}c=H[i>>2];b=Nj(h,g,j,m)+e|0;ta(a,c+b|0,j);break n}d=0;l=1;if(!k){while(1){if(!hc(c,I[c+84|0]?d:H[H[c+68>>2]+(d<<2)>>2],F[c+24|0],a)){break n}d=d+1|0;l=b>>>0>d>>>0;if((b|0)!=(d|0)){continue}break n}}while(1){if(!hc(c,I[c+84|0]?g:H[H[c+68>>2]+(g<<2)>>2],F[c+24|0],a)){break n}ta((d<<1)+f|0,a,n);d=d+k|0;g=g+1|0;l=b>>>0>g>>>0;if((b|0)!=(g|0)){continue}break}}g=!l;if(!a){break m}ra(a)}g=g&1}break a;case 5:k=I[c+24|0];n=k<<2;b=H[b+80>>2];o:{if((N(n,b)|0)!=(e|0)){break o}i=H[c+28>>2]!=6;d=I[c+84|0];if(!(i|!d)){ta(f,H[H[c>>2]>>2]+H[c+48>>2]|0,e);g=1;break o}a=0;if(k){a=sa(n);ua(a,0,n)}p:{if(!b){break p}if(!i){q=H[c+68>>2];i=H[c>>2];e=H[c+48>>2];m=H[c+44>>2];j=H[c+40>>2];if(k){if(!d){c=0;d=0;while(1){h=H[i>>2];g=Nj(j,m,H[q+(d<<2)>>2],0)+e|0;ta((c<<2)+f|0,ta(a,h+g|0,j),n);c=c+k|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}break p}d=b;c=0;while(1){o=H[i>>2];b=Nj(h,g,j,m)+e|0;ta((c<<2)+f|0,ta(a,o+b|0,j),n);c=c+k|0;b=g;g=h+1|0;b=g?b:b+1|0;h=g;g=b;if((d|0)!=(h|0)|b){continue}break}break p}if(!d){c=0;if((b|0)!=1){g=b&-2;d=0;while(1){k=H[i>>2];h=c<<2;f=Nj(j,m,H[h+q>>2],0)+e|0;k=ta(a,k+f|0,j);o=H[i>>2];f=Nj(j,m,H[q+(h|4)>>2],0)+e|0;ta(k,o+f|0,j);c=c+2|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(b&1)){break p}d=H[i>>2];b=Nj(j,m,H[q+(c<<2)>>2],0)+e|0;ta(a,d+b|0,j);break p}f=b&1;if((b|0)!=1){k=b&-2;c=0;b=0;while(1){o=H[i>>2];d=Nj(h,g,j,m)+e|0;o=ta(a,o+d|0,j);n=H[i>>2];d=Nj(j,m,h|1,g)+e|0;ta(o,n+d|0,j);d=g;g=h+2|0;d=g>>>0<2?d+1|0:d;h=g;g=d;c=c+2|0;b=c>>>0<2?b+1|0:b;if((k|0)!=(c|0)|b){continue}break}}if(!f){break p}c=H[i>>2];b=Nj(h,g,j,m)+e|0;ta(a,c+b|0,j);break p}l=1;if(!k){while(1){if(!ec(c,I[c+84|0]?g:H[H[c+68>>2]+(g<<2)>>2],F[c+24|0],a)){break p}g=g+1|0;l=b>>>0>g>>>0;if((b|0)!=(g|0)){continue}break p}}d=0;while(1){if(!ec(c,I[c+84|0]?d:H[H[c+68>>2]+(d<<2)>>2],F[c+24|0],a)){break p}ta((g<<2)+f|0,a,n);g=g+k|0;d=d+1|0;l=b>>>0>d>>>0;if((b|0)!=(d|0)){continue}break}}g=!l;if(!a){break o}ra(a)}g=g&1;break a;case 8:break b;default:break a}}a=0;n=I[c+24|0];q=n<<2;i=H[b+80>>2];q:{if((N(q,i)|0)!=(e|0)){break q}e=H[c+28>>2];b=0;r:{if(!n){break r}b=sa(q);a=b;p=q-4|0;m=(p>>>2|0)+1&7;if(m){d=0;a=b;while(1){H[a>>2]=-1073741824;a=a+4|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}}if(p>>>0<28){break r}d=(n<<2)+b|0;while(1){H[a+24>>2]=-1073741824;H[a+28>>2]=-1073741824;H[a+16>>2]=-1073741824;H[a+20>>2]=-1073741824;H[a+8>>2]=-1073741824;H[a+12>>2]=-1073741824;H[a>>2]=-1073741824;H[a+4>>2]=-1073741824;a=a+32|0;if((d|0)!=(a|0)){continue}break}}s:{if(!i){break s}if((e|0)==9){j=H[c+68>>2];m=H[c>>2];e=H[c+48>>2];s=I[c+84|0];p=H[c+44>>2];c=H[c+40>>2];k=c;if(n){d=0;a=0;while(1){h=H[m>>2];g=Nj(c,p,s?a:H[j+(a<<2)>>2],0)+e|0;ta((d<<2)+f|0,ta(b,h+g|0,k),q);d=d+n|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}break s}if(!s){a=0;if((i|0)!=1){g=i&-2;d=0;while(1){l=H[m>>2];h=a<<2;f=Nj(c,p,H[h+j>>2],0)+e|0;l=ta(b,l+f|0,k);o=H[m>>2];f=Nj(c,p,H[j+(h|4)>>2],0)+e|0;ta(l,o+f|0,k);a=a+2|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(i&1)){break s}d=H[m>>2];a=Nj(c,p,H[j+(a<<2)>>2],0)+e|0;ta(b,d+a|0,k);break s}f=i&1;if((i|0)!=1){i=i&-2;while(1){d=H[m>>2];a=Nj(h,g,c,p)+e|0;d=ta(b,d+a|0,k);j=H[m>>2];a=Nj(c,p,h|1,g)+e|0;ta(d,j+a|0,k);a=h+2|0;g=a>>>0<2?g+1|0:g;h=a;d=l;a=o+2|0;d=a>>>0<2?d+1|0:d;o=a;l=d;if((i|0)!=(a|0)|d){continue}break}}if(!f){break s}d=H[m>>2];a=Nj(h,g,c,p)+e|0;ta(b,d+a|0,k);break s}a=0;r=1;if(!n){while(1){if(!Ya(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],b)){break s}a=a+1|0;r=i>>>0>a>>>0;if((a|0)!=(i|0)){continue}break s}}d=0;while(1){if(!Ya(c,I[c+84|0]?d:H[H[c+68>>2]+(d<<2)>>2],F[c+24|0],b)){break s}ta((a<<2)+f|0,b,q);a=a+n|0;d=d+1|0;r=i>>>0>d>>>0;if((d|0)!=(i|0)){continue}break}}a=!r;if(!b){break q}ra(b)}g=a&1}return g|0}function Hd(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=fa-16|0;fa=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(a>>>0<=244){e=H[4296];h=a>>>0<11?16:a+11&-8;c=h>>>3|0;b=e>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+17224|0;d=H[a+17232>>2];a=H[d+8>>2];l:{if((b|0)==(a|0)){m=17184,n=Rj(c)&e,H[m>>2]=n;break l}H[a+12>>2]=b;H[b+8>>2]=a}a=d+8|0;b=c<<3;H[d+4>>2]=b|3;b=b+d|0;H[b+4>>2]=H[b+4>>2]|1;break a}k=H[4298];if(k>>>0>=h>>>0){break k}if(b){a=2<<c;a=(0-a|a)&b<<c;b=a-1&(a^-1);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;d=(c|a)+(b>>>a|0)|0;a=d<<3;b=a+17224|0;g=H[a+17232>>2];a=H[g+8>>2];m:{if((b|0)==(a|0)){e=Rj(d)&e;H[4296]=e;break m}H[a+12>>2]=b;H[b+8>>2]=a}H[g+4>>2]=h|3;c=g+h|0;a=d<<3;d=a-h|0;H[c+4>>2]=d|1;H[a+g>>2]=d;if(k){b=(k&-8)+17224|0;f=H[4301];a=1<<(k>>>3);n:{if(!(a&e)){H[4296]=a|e;a=b;break n}a=H[b+8>>2]}H[b+8>>2]=f;H[a+12>>2]=f;H[f+12>>2]=b;H[f+8>>2]=a}a=g+8|0;H[4301]=c;H[4298]=d;break a}j=H[4297];if(!j){break k}b=j-1&(j^-1);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=H[((c|a)+(b>>>a|0)<<2)+17488>>2];f=(H[c+4>>2]&-8)-h|0;b=c;while(1){o:{a=H[b+16>>2];if(!a){a=H[b+20>>2];if(!a){break o}}b=(H[a+4>>2]&-8)-h|0;d=b>>>0<f>>>0;f=d?b:f;c=d?a:c;b=a;continue}break}i=H[c+24>>2];d=H[c+12>>2];if((d|0)!=(c|0)){a=H[c+8>>2];H[a+12>>2]=d;H[d+8>>2]=a;break b}b=c+20|0;a=H[b>>2];if(!a){a=H[c+16>>2];if(!a){break j}b=c+16|0}while(1){g=b;d=a;b=a+20|0;a=H[b>>2];if(a){continue}b=d+16|0;a=H[d+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[4297];if(!j){break k}f=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}b=H[(e<<2)+17488>>2];q:{r:{s:{if(!b){a=0;break s}a=0;c=h<<((e|0)!=31?25-(e>>>1|0)|0:0);while(1){t:{g=(H[b+4>>2]&-8)-h|0;if(g>>>0>=f>>>0){break t}d=b;f=g;if(f){break t}f=0;a=b;break r}g=H[b+20>>2];b=H[((c>>>29&4)+b|0)+16>>2];a=g?(g|0)==(b|0)?a:g:a;c=c<<1;if(b){continue}break}}if(!(a|d)){d=0;a=2<<e;a=(0-a|a)&j;if(!a){break k}b=a-1&(a^-1);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)+17488>>2]}if(!a){break q}}while(1){b=(H[a+4>>2]&-8)-h|0;c=b>>>0<f>>>0;f=c?b:f;d=c?a:d;b=H[a+16>>2];if(b){a=b}else{a=H[a+20>>2]}if(a){continue}break}}if(!d|H[4298]-h>>>0<=f>>>0){break k}e=H[d+24>>2];c=H[d+12>>2];if((d|0)!=(c|0)){a=H[d+8>>2];H[a+12>>2]=c;H[c+8>>2]=a;break c}b=d+20|0;a=H[b>>2];if(!a){a=H[d+16>>2];if(!a){break i}b=d+16|0}while(1){g=b;c=a;b=a+20|0;a=H[b>>2];if(a){continue}b=c+16|0;a=H[c+16>>2];if(a){continue}break}H[g>>2]=0;break c}c=H[4298];if(c>>>0>=h>>>0){d=H[4301];b=c-h|0;u:{if(b>>>0>=16){H[4298]=b;a=d+h|0;H[4301]=a;H[a+4>>2]=b|1;H[c+d>>2]=b;H[d+4>>2]=h|3;break u}H[4301]=0;H[4298]=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[4299];if(i>>>0>h>>>0){b=i-h|0;H[4299]=b;c=H[4302];a=c+h|0;H[4302]=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[4414]){c=H[4416]}else{H[4417]=-1;H[4418]=-1;H[4415]=4096;H[4416]=4096;H[4414]=l+12&-16^1431655768;H[4419]=0;H[4407]=0;c=4096}g=j+c|0;f=0-c|0;b=g&f;if(b>>>0<=h>>>0){break a}d=H[4406];if(d){c=H[4404];e=c+b|0;if(d>>>0<e>>>0|c>>>0>=e>>>0){break a}}if(I[17628]&4){break f}v:{w:{d=H[4302];if(d){a=17632;while(1){c=H[a>>2];if(c>>>0<=d>>>0&d>>>0<c+H[a+4>>2]>>>0){break w}a=H[a+8>>2];if(a){continue}break}}c=lb(0);if((c|0)==-1){break g}e=b;d=H[4415];a=d-1|0;if(a&c){e=(b-c|0)+(a+c&0-d)|0}if(e>>>0<=h>>>0|e>>>0>2147483646){break g}d=H[4406];if(d){a=H[4404];f=a+e|0;if(d>>>0<f>>>0|a>>>0>=f>>>0){break g}}a=lb(e);if((c|0)!=(a|0)){break v}break e}e=f&g-i;if(e>>>0>2147483646){break g}c=lb(e);if((c|0)==(H[a>>2]+H[a+4>>2]|0)){break h}a=c}if(!((a|0)==-1|h+48>>>0<=e>>>0)){c=H[4416];c=c+(j-e|0)&0-c;if(c>>>0>2147483646){c=a;break e}if((lb(c)|0)!=-1){e=c+e|0;c=a;break e}lb(0-e|0);break g}c=a;if((a|0)!=-1){break e}break g}d=0;break b}c=0;break c}if((c|0)!=-1){break e}}H[4407]=H[4407]|4}if(b>>>0>2147483646){break d}c=lb(b);a=lb(0);if((c|0)==-1|(a|0)==-1|a>>>0<=c>>>0){break d}e=a-c|0;if(e>>>0<=h+40>>>0){break d}}a=H[4404]+e|0;H[4404]=a;if(a>>>0>K[4405]){H[4405]=a}x:{y:{z:{g=H[4302];if(g){a=17632;while(1){d=H[a>>2];b=H[a+4>>2];if((d+b|0)==(c|0)){break z}a=H[a+8>>2];if(a){continue}break}break y}a=H[4300];if(!(a>>>0<=c>>>0?a:0)){H[4300]=c}a=0;H[4409]=e;H[4408]=c;H[4304]=-1;H[4305]=H[4414];H[4411]=0;while(1){d=a<<3;b=d+17224|0;H[d+17232>>2]=b;H[d+17236>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;H[4299]=b;a=a+c|0;H[4302]=a;H[a+4>>2]=b|1;H[(c+d|0)+4>>2]=40;H[4303]=H[4418];break x}if(I[a+12|0]&8|d>>>0>g>>>0|c>>>0<=g>>>0){break y}H[a+4>>2]=b+e;a=g+8&7?-8-g&7:0;c=a+g|0;H[4302]=c;b=H[4299]+e|0;a=b-a|0;H[4299]=a;H[c+4>>2]=a|1;H[(b+g|0)+4>>2]=40;H[4303]=H[4418];break x}if(K[4300]>c>>>0){H[4300]=c}b=c+e|0;a=17632;A:{B:{C:{D:{E:{F:{while(1){if((b|0)!=H[a>>2]){a=H[a+8>>2];if(a){continue}break F}break}if(!(I[a+12|0]&8)){break E}}a=17632;while(1){b=H[a>>2];if(b>>>0<=g>>>0){f=b+H[a+4>>2]|0;if(f>>>0>g>>>0){break D}}a=H[a+8>>2];continue}}H[a>>2]=c;H[a+4>>2]=H[a+4>>2]+e;j=(c+8&7?-8-c&7:0)+c|0;H[j+4>>2]=h|3;e=b+(b+8&7?-8-b&7:0)|0;i=h+j|0;a=e-i|0;if((e|0)==(g|0)){H[4302]=i;a=H[4299]+a|0;H[4299]=a;H[i+4>>2]=a|1;break B}if(H[4301]==(e|0)){H[4301]=i;a=H[4298]+a|0;H[4298]=a;H[i+4>>2]=a|1;H[a+i>>2]=a;break B}f=H[e+4>>2];if((f&3)==1){g=f&-8;G:{if(f>>>0<=255){d=H[e+8>>2];b=f>>>3|0;c=H[e+12>>2];if((c|0)==(d|0)){m=17184,n=H[4296]&Rj(b),H[m>>2]=n;break G}H[d+12>>2]=c;H[c+8>>2]=d;break G}h=H[e+24>>2];c=H[e+12>>2];H:{if((e|0)!=(c|0)){b=H[e+8>>2];H[b+12>>2]=c;H[c+8>>2]=b;break H}I:{f=e+20|0;b=H[f>>2];if(b){break I}f=e+16|0;b=H[f>>2];if(b){break I}c=0;break H}while(1){d=f;c=b;f=b+20|0;b=H[f>>2];if(b){continue}f=c+16|0;b=H[c+16>>2];if(b){continue}break}H[d>>2]=0}if(!h){break G}d=H[e+28>>2];b=(d<<2)+17488|0;J:{if(H[b>>2]==(e|0)){H[b>>2]=c;if(c){break J}m=17188,n=H[4297]&Rj(d),H[m>>2]=n;break G}H[h+(H[h+16>>2]==(e|0)?16:20)>>2]=c;if(!c){break G}}H[c+24>>2]=h;b=H[e+16>>2];if(b){H[c+16>>2]=b;H[b+24>>2]=c}b=H[e+20>>2];if(!b){break G}H[c+20>>2]=b;H[b+24>>2]=c}e=e+g|0;f=H[e+4>>2];a=a+g|0}H[e+4>>2]=f&-2;H[i+4>>2]=a|1;H[a+i>>2]=a;if(a>>>0<=255){b=(a&-8)+17224|0;c=H[4296];a=1<<(a>>>3);K:{if(!(c&a)){H[4296]=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}f=31;if(a>>>0<=16777215){b=a>>>8|0;f=b+1048320>>>16&8;b=b<<f;d=b+520192>>>16&4;b=b<<d;c=b+245760>>>16&2;b=(b<<c>>>15|0)-(c|(d|f))|0;f=(b<<1|a>>>b+21&1)+28|0}H[i+28>>2]=f;H[i+16>>2]=0;H[i+20>>2]=0;b=(f<<2)+17488|0;d=H[4297];c=1<<f;L:{if(!(d&c)){H[4297]=c|d;H[b>>2]=i;break L}f=a<<((f|0)!=31?25-(f>>>1|0)|0:0);c=H[b>>2];while(1){b=c;if((H[b+4>>2]&-8)==(a|0)){break C}c=f>>>29|0;f=f<<1;d=(c&4)+b|0;c=H[d+16>>2];if(c){continue}break}H[d+16>>2]=i}H[i+24>>2]=b;H[i+12>>2]=i;H[i+8>>2]=i;break B}d=e-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;H[4299]=b;a=a+c|0;H[4302]=a;H[a+4>>2]=b|1;H[(c+d|0)+4>>2]=40;H[4303]=H[4418];a=(f+(f-39&7?39-f&7:0)|0)-47|0;d=a>>>0<g+16>>>0?g:a;H[d+4>>2]=27;a=H[4411];H[d+16>>2]=H[4410];H[d+20>>2]=a;a=H[4409];H[d+8>>2]=H[4408];H[d+12>>2]=a;H[4410]=d+8;H[4409]=e;H[4408]=c;H[4411]=0;a=d+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((d|0)==(g|0)){break x}H[d+4>>2]=H[d+4>>2]&-2;f=d-g|0;H[g+4>>2]=f|1;H[d>>2]=f;if(f>>>0<=255){b=(f&-8)+17224|0;c=H[4296];a=1<<(f>>>3);M:{if(!(c&a)){H[4296]=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;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;H[g+16>>2]=0;H[g+20>>2]=0;b=(a<<2)+17488|0;d=H[4297];c=1<<a;N:{if(!(d&c)){H[4297]=c|d;H[b>>2]=g;break N}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);d=H[b>>2];while(1){b=d;if((f|0)==(H[b+4>>2]&-8)){break A}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;d=H[c+16>>2];if(d){continue}break}H[c+16>>2]=g}H[g+24>>2]=b;H[g+12>>2]=g;H[g+8>>2]=g;break x}a=H[b+8>>2];H[a+12>>2]=i;H[b+8>>2]=i;H[i+24>>2]=0;H[i+12>>2]=b;H[i+8>>2]=a}a=j+8|0;break a}a=H[b+8>>2];H[a+12>>2]=g;H[b+8>>2]=g;H[g+24>>2]=0;H[g+12>>2]=b;H[g+8>>2]=a}a=H[4299];if(a>>>0<=h>>>0){break d}b=a-h|0;H[4299]=b;c=H[4302];a=c+h|0;H[4302]=a;H[a+4>>2]=b|1;H[c+4>>2]=h|3;a=c+8|0;break a}H[3992]=48;a=0;break a}O:{if(!e){break O}b=H[d+28>>2];a=(b<<2)+17488|0;P:{if(H[a>>2]==(d|0)){H[a>>2]=c;if(c){break P}j=Rj(b)&j;H[4297]=j;break O}H[e+(H[e+16>>2]==(d|0)?16:20)>>2]=c;if(!c){break O}}H[c+24>>2]=e;a=H[d+16>>2];if(a){H[c+16>>2]=a;H[a+24>>2]=c}a=H[d+20>>2];if(!a){break O}H[c+20>>2]=a;H[a+24>>2]=c}Q:{if(f>>>0<=15){a=f+h|0;H[d+4>>2]=a|3;a=a+d|0;H[a+4>>2]=H[a+4>>2]|1;break Q}H[d+4>>2]=h|3;e=d+h|0;H[e+4>>2]=f|1;H[e+f>>2]=f;if(f>>>0<=255){b=(f&-8)+17224|0;c=H[4296];a=1<<(f>>>3);R:{if(!(c&a)){H[4296]=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(f>>>0<=16777215){a=f>>>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|f>>>a+21&1)+28|0}H[e+28>>2]=a;H[e+16>>2]=0;H[e+20>>2]=0;b=(a<<2)+17488|0;S:{c=1<<a;T:{if(!(c&j)){H[4297]=c|j;H[b>>2]=e;break T}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);h=H[b>>2];while(1){b=h;if((H[b+4>>2]&-8)==(f|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=d+8|0;break a}U:{if(!i){break U}b=H[c+28>>2];a=(b<<2)+17488|0;V:{if(H[a>>2]==(c|0)){H[a>>2]=d;if(d){break V}m=17188,n=Rj(b)&j,H[m>>2]=n;break U}H[i+(H[i+16>>2]==(c|0)?16:20)>>2]=d;if(!d){break U}}H[d+24>>2]=i;a=H[c+16>>2];if(a){H[d+16>>2]=a;H[a+24>>2]=d}a=H[c+20>>2];if(!a){break U}H[d+20>>2]=a;H[a+24>>2]=d}W:{if(f>>>0<=15){a=f+h|0;H[c+4>>2]=a|3;a=a+c|0;H[a+4>>2]=H[a+4>>2]|1;break W}H[c+4>>2]=h|3;d=c+h|0;H[d+4>>2]=f|1;H[d+f>>2]=f;if(k){b=(k&-8)+17224|0;g=H[4301];a=1<<(k>>>3);X:{if(!(a&e)){H[4296]=a|e;a=b;break X}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}H[4301]=d;H[4298]=f}a=c+8|0}fa=l+16|0;return a|0}function df(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;h=fa-48|0;fa=h;a:{b:{if((c|0)!=1){break b}g=H[a+4>>2];f=H[a+12>>2];H[h+40>>2]=0;H[h+32>>2]=0;H[h+36>>2]=0;H[h+24>>2]=0;H[h+28>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;H[h+8>>2]=0;H[h+12>>2]=0;d=h+8|0;c:{if((b|0)==-2){break c}m=H[H[H[g+4>>2]+8>>2]+(f<<2)>>2];if((ha[H[H[g>>2]+8>>2]](g)|0)==1){a=J[g+36>>1];l=(a<<8|a>>>8)&65535;a=0;i=fa-32|0;fa=i;j=H[H[H[g+4>>2]+8>>2]+(f<<2)>>2];d:{if((ha[H[H[g>>2]+8>>2]](g)|0)!=1|b-1>>>0>5){break d}e=ha[H[H[g>>2]+36>>2]](g)|0;k=ha[H[H[g>>2]+44>>2]](g,f)|0;if(!e|!k){break d}c=ha[H[H[g>>2]+40>>2]](g,f)|0;if(c){a=H[g+44>>2];H[i+12>>2]=c;H[i+8>>2]=a;H[i+20>>2]=k;H[i+16>>2]=k+12;f=i+8|0;a=0;e:{f:{switch(b-1|0){case 0:a=sa(60);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;H[a>>2]=2564;break e;case 1:a=sa(60);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;H[a>>2]=3328;break e;case 3:a=sa(112);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;H[a+60>>2]=0;H[a+64>>2]=0;H[a>>2]=3564;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;break e;case 2:a=sa(92);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;H[a+60>>2]=0;H[a+64>>2]=0;H[a>>2]=3812;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]=l;break e;case 4:a=sa(104);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;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]=4040;b=H[f+4>>2];H[a+88>>2]=H[f>>2];H[a+92>>2]=b;b=H[f+12>>2];H[a+96>>2]=H[f+8>>2];H[a+100>>2]=b;break e;case 5:break f;default:break e}}a=sa(128);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;g:{c=H[d+28>>2];b=H[d+24>>2];if((c|0)!=(b|0)){c=c-b|0;if((c|0)<0){break a}b=sa(c);H[a+32>>2]=b;H[a+36>>2]=b;H[a+40>>2]=b+(c&-4);c=H[d+24>>2];e=H[d+28>>2]-c|0;if((e|0)>0){b=ta(b,c,e)+e|0}H[a+36>>2]=b}H[a>>2]=3216;b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;b=a- -64|0;H[b>>2]=0;H[b+4>>2]=0;H[a+60>>2]=4904;H[a>>2]=4276;b=H[f+4>>2];H[a+72>>2]=H[f>>2];H[a+76>>2]=b;b=H[f+12>>2];H[a+80>>2]=H[f+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]=4512;H[a+112>>2]=0;H[a+116>>2]=0;F[a+117|0]=0;F[a+118|0]=0;F[a+119|0]=0;F[a+120|0]=0;F[a+121|0]=0;F[a+122|0]=0;F[a+123|0]=0;F[a+124|0]=0;break g}}break d}a=H[g+44>>2];H[i+12>>2]=e;H[i+8>>2]=a;H[i+20>>2]=k;H[i+16>>2]=k+12;f=i+8|0;a=0;h:{i:{switch(b-1|0){case 0:a=sa(60);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;H[a>>2]=4932;break h;case 1:a=sa(60);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;H[a>>2]=5356;break h;case 3:a=sa(112);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;H[a+60>>2]=0;H[a+64>>2]=0;H[a>>2]=5580;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;break h;case 2:a=sa(92);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;H[a+60>>2]=0;H[a+64>>2]=0;H[a>>2]=5816;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]=l;break h;case 4:a=sa(104);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[d+28>>2];c=H[d+24>>2];if((b|0)!=(c|0)){e=b-c|0;if((e|0)<0){break a}b=sa(e);H[a+32>>2]=b;H[a+40>>2]=b+(e&-4);n=a,o=ta(b,c,e)+e|0,H[n+36>>2]=o}b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;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]=6032;b=H[f+4>>2];H[a+88>>2]=H[f>>2];H[a+92>>2]=b;b=H[f+12>>2];H[a+96>>2]=H[f+8>>2];H[a+100>>2]=b;break h;case 5:break i;default:break h}}a=sa(128);H[a+4>>2]=j;H[a>>2]=3272;b=H[d+4>>2];H[a+8>>2]=H[d>>2];H[a+12>>2]=b;b=H[d+12>>2];H[a+16>>2]=H[d+8>>2];H[a+20>>2]=b;b=H[d+20>>2];H[a+24>>2]=H[d+16>>2];H[a+28>>2]=b;H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;j:{c=H[d+28>>2];b=H[d+24>>2];if((c|0)!=(b|0)){c=c-b|0;if((c|0)<0){break a}b=sa(c);H[a+32>>2]=b;H[a+36>>2]=b;H[a+40>>2]=b+(c&-4);c=H[d+24>>2];e=H[d+28>>2]-c|0;if((e|0)>0){b=ta(b,c,e)+e|0}H[a+36>>2]=b}H[a>>2]=5300;b=H[f+4>>2];H[a+44>>2]=H[f>>2];H[a+48>>2]=b;b=H[f+12>>2];H[a+52>>2]=H[f+8>>2];H[a+56>>2]=b;b=a- -64|0;H[b>>2]=0;H[b+4>>2]=0;H[a+60>>2]=6840;H[a>>2]=6256;b=H[f+4>>2];H[a+72>>2]=H[f>>2];H[a+76>>2]=b;b=H[f+12>>2];H[a+80>>2]=H[f+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]=6476;H[a+112>>2]=0;H[a+116>>2]=0;F[a+117|0]=0;F[a+118|0]=0;F[a+119|0]=0;F[a+120|0]=0;F[a+121|0]=0;F[a+122|0]=0;F[a+123|0]=0;F[a+124|0]=0;break j}}}fa=i+32|0;e=a;if(a){break c}}e=sa(44);H[e+4>>2]=m;H[e>>2]=3272;a=H[d+4>>2];H[e+8>>2]=H[d>>2];H[e+12>>2]=a;a=H[d+12>>2];H[e+16>>2]=H[d+8>>2];H[e+20>>2]=a;a=H[d+20>>2];H[e+24>>2]=H[d+16>>2];H[e+28>>2]=a;H[e+40>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;a=H[d+28>>2];b=H[d+24>>2];if((a|0)!=(b|0)){c=a-b|0;if((c|0)<0){break a}a=sa(c);H[e+32>>2]=a;H[e+40>>2]=a+(c&-4);n=e,o=ta(a,b,c)+c|0,H[n+36>>2]=o}H[e>>2]=6868;break c}a=H[h+32>>2];if(!a){break b}H[h+36>>2]=a;ra(a)}fa=h+48|0;return e|0}va();v()}function be(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,t=0,u=0,w=0,x=0,y=0,z=0,A=0;n=fa-32|0;fa=n;o=sa(12);H[o+8>>2]=0;H[o+4>>2]=b;H[o>>2]=0;t=o+12|0;b=t;a:{b:{c:{d:{while(1){b=b-12|0;w=H[b+8>>2];j=H[b+4>>2];u=H[b>>2];if(u){q=0;if((w|0)>1e3){break a}H[n+24>>2]=0;H[n+16>>2]=0;H[n+20>>2]=0;f=1;c=H[a>>2];d=H[c+8>>2];g=H[c+12>>2];e=H[c+20>>2];l=d;d=H[c+16>>2];e:{if((g|0)<=(e|0)&l>>>0<=d>>>0|(e|0)>(g|0)){break e}g=I[d+H[c>>2]|0];d=d+1|0;e=d?e:e+1|0;H[c+16>>2]=d;H[c+20>>2]=e;Cc(n+16|0,g);if(g){d=H[a>>2];m=Dc(n+16|0);e=H[d+20>>2];i=H[d+16>>2];c=g;l=i+c|0;h=H[d+12>>2];e=c>>>0>l>>>0?e+1|0:e;if(l>>>0>K[d+8>>2]&(h|0)<=(e|0)|(e|0)>(h|0)){break e}ta(m,i+H[d>>2]|0,g);e=H[d+20>>2];f=c+H[d+16>>2]|0;e=f>>>0<c>>>0?e+1|0:e;H[d+16>>2]=f;H[d+20>>2]=e}j=sa(24);c=j;H[c+4>>2]=0;H[c+8>>2]=0;c=c+16|0;H[c>>2]=0;H[c+4>>2]=0;H[j>>2]=j+4;H[j+12>>2]=c;e=fa-32|0;fa=e;g=u+12|0;c=n+16|0;p=rb(g,c);k=u+16|0;f:{if((p|0)==(k|0)){H[e+16>>2]=c;g:{h:{d=H[g+4>>2];i:{if(!d){f=g+4|0;c=f;break i}f=I[c+11|0];h=f<<24>>24<0;l=h?H[c>>2]:c;h=h?H[c+4>>2]:f;while(1){c=d;d=I[c+27|0];f=d<<24>>24<0;d=f?H[c+20>>2]:d;m=d>>>0<h>>>0;j:{k:{l:{m:{i=m?d:h;n:{if(i){f=f?H[c+16>>2]:c+16|0;r=Ha(l,f,i);if(!r){if(d>>>0>h>>>0){break n}break m}if((r|0)>=0){break m}break n}if(d>>>0<=h>>>0){break l}}f=c;d=H[c>>2];if(d){continue}break i}d=Ha(f,l,i);if(d){break k}}if(m){break j}break h}if((d|0)>=0){break h}}d=H[c+4>>2];if(d){continue}break}f=c+4|0}d=sa(32);l=d+16|0;h=H[e+16>>2];o:{if(F[h+11|0]>=0){m=H[h+4>>2];H[l>>2]=H[h>>2];H[l+4>>2]=m;H[l+8>>2]=H[h+8>>2];break o}Ba(l,H[h>>2],H[h+4>>2])}H[d+8>>2]=c;H[d>>2]=0;H[d+4>>2]=0;H[d+28>>2]=0;H[f>>2]=d;c=d;h=H[H[g>>2]>>2];if(h){H[g>>2]=h;c=H[f>>2]}Ub(H[g+4>>2],c);H[g+8>>2]=H[g+8>>2]+1;c=1;break g}d=c;c=0}F[e+28|0]=c;H[e+24>>2]=d;d=H[e+24>>2];c=H[d+28>>2];H[d+28>>2]=j;if(!c){break f}Ua(c+12|0,H[c+16>>2]);Ta(c,H[c+4>>2]);ra(c);break f}if(!j){break f}Ua(j+12|0,H[j+16>>2]);Ta(j,H[j+4>>2]);ra(j)}fa=e+32|0;f=(k|0)!=(p|0)}if(F[n+27|0]<0){ra(H[n+16>>2])}if(f){break a}}q=0;if(!j){break a}H[n+16>>2]=0;if(!Db(1,n+16|0,H[a>>2])){break a}p=0;x=H[n+16>>2];if(x){while(1){c=0;i=fa-32|0;fa=i;H[i+24>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;d=H[a>>2];f=H[d+8>>2];p:{q:{g=H[d+12>>2];e=H[d+20>>2];l=f;f=H[d+16>>2];r:{if((g|0)<=(e|0)&l>>>0<=f>>>0|(e|0)>(g|0)){break r}g=I[f+H[d>>2]|0];f=f+1|0;e=f?e:e+1|0;H[d+16>>2]=f;H[d+20>>2]=e;Cc(i+16|0,g);if(g){f=H[a>>2];m=Dc(i+16|0);e=H[f+20>>2];k=H[f+16>>2];d=g;l=k+d|0;h=H[f+12>>2];e=d>>>0>l>>>0?e+1|0:e;if(l>>>0>K[f+8>>2]&(h|0)<=(e|0)|(e|0)>(h|0)){break r}ta(m,k+H[f>>2]|0,g);e=H[f+20>>2];g=d+H[f+16>>2]|0;e=g>>>0<d>>>0?e+1|0:e;H[f+16>>2]=g;H[f+20>>2]=e}H[i+12>>2]=0;if(!Db(1,i+12|0,H[a>>2])){break r}d=H[i+12>>2];if(!d){break r}f=H[a>>2];e=H[f+8>>2];g=H[f+16>>2];h=e-g|0;e=H[f+12>>2]-(H[f+20>>2]+(e>>>0<g>>>0)|0)|0;if((e|0)<=0&d>>>0>h>>>0|(e|0)<0){break r}H[i+8>>2]=0;H[i>>2]=0;H[i+4>>2]=0;if((d|0)<0){break q}c=sa(d);H[i>>2]=c;e=c+d|0;H[i+8>>2]=e;m=ua(c,0,d);H[i+4>>2]=e;g=H[f+12>>2];r=g;e=H[f+20>>2];s:{y=H[f+8>>2];k=H[f+16>>2];l=d+k|0;z=l;e=d>>>0>l>>>0?e+1|0:e;l=e;if(y>>>0<z>>>0&(e|0)>=(g|0)|(e|0)>(g|0)){break s}ta(m,k+H[f>>2]|0,d);e=H[f+20>>2];c=d+H[f+16>>2]|0;e=c>>>0<d>>>0?e+1|0:e;H[f+16>>2]=c;H[f+20>>2]=e;g=fa-48|0;fa=g;e=rb(j,i+16|0);if((e|0)!=(j+4|0)){c=H[e+4>>2];t:{if(!c){c=e;while(1){d=H[c+8>>2];f=H[d>>2]!=(c|0);c=d;if(f){continue}break}break t}while(1){d=c;c=H[c>>2];if(c){continue}break}}if((e|0)==H[j>>2]){H[j>>2]=d}H[j+8>>2]=H[j+8>>2]-1;f=H[j+4>>2];u:{v:{h=e;d=e;e=H[d>>2];if(e){c=H[h+4>>2];if(!c){break v}while(1){d=c;c=H[c>>2];if(c){continue}break}}e=H[d+4>>2];if(e){break v}e=0;m=1;break u}H[e+8>>2]=H[d+8>>2];m=0}k=H[d+8>>2];c=H[k>>2];w:{if((d|0)==(c|0)){H[k>>2]=e;if((d|0)==(f|0)){c=0;f=e;break w}c=H[k+4>>2];break w}H[k+4>>2]=e}s=!I[d+12|0];if((d|0)!=(h|0)){k=H[h+8>>2];H[d+8>>2]=k;H[k+(((h|0)!=H[H[h+8>>2]>>2])<<2)>>2]=d;k=H[h>>2];H[d>>2]=k;H[k+8>>2]=d;k=H[h+4>>2];H[d+4>>2]=k;if(k){H[k+8>>2]=d}F[d+12|0]=I[h+12|0];f=(f|0)==(h|0)?d:f}x:{if(s|!f){break x}if(m){while(1){e=I[c+12|0];y:{d=H[c+8>>2];if(H[d>>2]!=(c|0)){if(!e){F[c+12|0]=1;F[d+12|0]=0;e=H[d+4>>2];m=H[e>>2];H[d+4>>2]=m;if(m){H[m+8>>2]=d}H[e+8>>2]=H[d+8>>2];m=H[d+8>>2];H[(((d|0)!=H[m>>2])<<2)+m>>2]=e;H[e>>2]=d;H[d+8>>2]=e;d=c;c=H[c>>2];f=(c|0)==(f|0)?d:f;c=H[c+4>>2]}z:{A:{d=H[c>>2];B:{if(!(I[d+12|0]?0:d)){e=H[c+4>>2];if(I[e+12|0]?0:e){break B}F[c+12|0]=0;c=H[c+8>>2];C:{if((f|0)==(c|0)){c=f;break C}if(I[c+12|0]){break y}}F[c+12|0]=1;break x}e=H[c+4>>2];if(!e){break A}}if(I[e+12|0]){break A}d=c;break z}F[d+12|0]=1;F[c+12|0]=0;e=H[d+4>>2];H[c>>2]=e;if(e){H[e+8>>2]=c}H[d+8>>2]=H[c+8>>2];e=H[c+8>>2];H[((H[e>>2]!=(c|0))<<2)+e>>2]=d;H[d+4>>2]=c;H[c+8>>2]=d;e=c}c=H[d+8>>2];F[d+12|0]=I[c+12|0];F[c+12|0]=1;F[e+12|0]=1;d=H[c+4>>2];e=H[d>>2];H[c+4>>2]=e;if(e){H[e+8>>2]=c}H[d+8>>2]=H[c+8>>2];e=H[c+8>>2];H[(((c|0)!=H[e>>2])<<2)+e>>2]=d;H[d>>2]=c;H[c+8>>2]=d;break x}if(!e){F[c+12|0]=1;F[d+12|0]=0;e=H[c+4>>2];H[d>>2]=e;if(e){H[e+8>>2]=d}H[c+8>>2]=H[d+8>>2];e=H[d+8>>2];H[(((d|0)!=H[e>>2])<<2)+e>>2]=c;H[c+4>>2]=d;H[d+8>>2]=c;f=(d|0)==(f|0)?c:f;c=H[d>>2]}e=H[c>>2];D:{if(!(!e|I[e+12|0])){d=c;break D}d=H[c+4>>2];if(!(I[d+12|0]?0:d)){F[c+12|0]=0;c=H[c+8>>2];if((c|0)!=(f|0)?I[c+12|0]:0){break y}F[c+12|0]=1;break x}if(e){if(!I[e+12|0]){d=c;break D}d=H[c+4>>2]}F[d+12|0]=1;F[c+12|0]=0;e=H[d>>2];H[c+4>>2]=e;if(e){H[e+8>>2]=c}H[d+8>>2]=H[c+8>>2];e=H[c+8>>2];H[((H[e>>2]!=(c|0))<<2)+e>>2]=d;H[d>>2]=c;H[c+8>>2]=d;e=c}c=H[d+8>>2];F[d+12|0]=I[c+12|0];F[c+12|0]=1;F[e+12|0]=1;d=H[c>>2];e=H[d+4>>2];H[c>>2]=e;if(e){H[e+8>>2]=c}H[d+8>>2]=H[c+8>>2];e=H[c+8>>2];H[(((c|0)!=H[e>>2])<<2)+e>>2]=d;H[d+4>>2]=c;H[c+8>>2]=d;break x}d=c;c=H[c+8>>2];c=H[(((d|0)==H[c>>2])<<2)+c>>2];continue}}F[e+12|0]=1}c=H[h+28>>2];if(c){H[h+32>>2]=c;ra(c)}if(F[h+27|0]<0){ra(H[h+16>>2])}ra(h)}H[g+8>>2]=0;H[g>>2]=0;H[g+4>>2]=0;c=H[i+4>>2];d=H[i>>2];f=c-d|0;e=0;E:{F:{if((c|0)!=(d|0)){if((f|0)<0){break F}e=sa(f);c=ua(e,0,f);h=c+f|0;H[g+8>>2]=h;H[g+4>>2]=h;H[g>>2]=c;c=d}ta(e,c,f);G:{if(F[i+27|0]>=0){H[g+24>>2]=H[i+24>>2];c=H[i+20>>2];H[g+16>>2]=H[i+16>>2];H[g+20>>2]=c;break G}Ba(g+16|0,H[i+16>>2],H[i+20>>2])}$d(g+28|0,g);f=g+16|0;c=f;H:{I:{d=H[j+4>>2];J:{if(!d){e=j+4|0;c=e;break J}e=I[c+11|0];h=e<<24>>24<0;m=h?H[c>>2]:c;h=h?H[c+4>>2]:e;while(1){c=d;d=I[c+27|0];e=d<<24>>24<0;d=e?H[c+20>>2]:d;k=d>>>0<h>>>0;K:{L:{M:{N:{s=k?d:h;O:{if(s){e=e?H[c+16>>2]:c+16|0;A=Ha(m,e,s);if(!A){if(d>>>0>h>>>0){break O}break N}if((A|0)>=0){break N}break O}if(d>>>0<=h>>>0){break M}}e=c;d=H[c>>2];if(d){continue}break J}d=Ha(e,m,s);if(d){break L}}if(k){break K}break I}if((d|0)>=0){break I}}d=H[c+4>>2];if(d){continue}break}e=c+4|0}d=sa(40);H[d+24>>2]=H[f+8>>2];h=H[f+4>>2];H[d+16>>2]=H[f>>2];H[d+20>>2]=h;H[f>>2]=0;H[f+4>>2]=0;H[f+8>>2]=0;$d(d+28|0,f+12|0);H[d+8>>2]=c;H[d>>2]=0;H[d+4>>2]=0;H[e>>2]=d;c=d;f=H[H[j>>2]>>2];if(f){H[j>>2]=f;c=H[e>>2]}Ub(H[j+4>>2],c);H[j+8>>2]=H[j+8>>2]+1;c=1;break H}d=c;c=0}F[g+44|0]=c;H[g+40>>2]=d;c=H[g+28>>2];if(c){H[g+32>>2]=c;ra(c)}if(F[g+27|0]<0){ra(H[g+16>>2])}c=H[g>>2];if(c){H[g+4>>2]=c;ra(c)}fa=g+48|0;break E}va();v()}c=H[i>>2];if(c){break s}c=1;break r}H[i+4>>2]=c;ra(c);c=(l|0)<=(r|0)&y>>>0>=z>>>0|(l|0)<(r|0)}if(F[i+27|0]<0){ra(H[i+16>>2])}fa=i+32|0;break p}va();v()}if(!c){break a}p=p+1|0;if((x|0)!=(p|0)){continue}break}}H[n+12>>2]=0;if(!Db(1,n+12|0,H[a>>2])){break b}c=H[a>>2];d=H[c+8>>2];e=H[c+16>>2];f=d-e|0;q=H[n+12>>2];c=H[c+12>>2]-(H[c+20>>2]+(d>>>0<e>>>0)|0)|0;if(f>>>0<q>>>0&(c|0)<=0|(c|0)<0){break b}if(q){p=0;g=((u|0)!=0)+w|0;while(1){P:{if(b>>>0<t>>>0){H[b+8>>2]=g;H[b+4>>2]=0;H[b>>2]=j;b=b+12|0;q=H[n+12>>2];break P}e=b-o|0;c=(e|0)/12|0;b=c+1|0;if(b>>>0>=357913942){break d}d=(t-o|0)/12|0;f=d<<1;f=d>>>0>=178956970?357913941:b>>>0<f>>>0?f:b;if(f){if(f>>>0>=357913942){break c}b=sa(N(f,12))}else{b=0}d=b+N(c,12)|0;H[d+8>>2]=g;H[d+4>>2]=0;H[d>>2]=j;c=d+N((e|0)/-12|0,12)|0;if((e|0)>0){ta(c,o,e)}t=b+N(f,12)|0;b=d+12|0;if(o){ra(o)}o=c}p=p+1|0;if(p>>>0<q>>>0){continue}break}}if((b|0)!=(o|0)){continue}break}q=1;break a}va();v()}za();v()}q=0}if(o){ra(o)}fa=n+32|0;return q}function se(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;h=fa-32|0;fa=h;H[b+32>>2]=d;H[b+40>>2]=c;H[b+4>>2]=e;oc(a,d,h+16|0);a:{if(H[a>>2]){break a}if(F[a+15|0]<0){ra(H[a+4>>2])}d=I[h+23|0];if((ha[H[H[b>>2]+8>>2]](b)|0)!=(d|0)){b=sa(64);F[b+50|0]=0;c=I[1314]|I[1315]<<8;F[b+48|0]=c;F[b+49|0]=c>>>8;c=I[1310]|I[1311]<<8|(I[1312]<<16|I[1313]<<24);d=I[1306]|I[1307]<<8|(I[1308]<<16|I[1309]<<24);F[b+40|0]=d;F[b+41|0]=d>>>8;F[b+42|0]=d>>>16;F[b+43|0]=d>>>24;F[b+44|0]=c;F[b+45|0]=c>>>8;F[b+46|0]=c>>>16;F[b+47|0]=c>>>24;c=I[1302]|I[1303]<<8|(I[1304]<<16|I[1305]<<24);d=I[1298]|I[1299]<<8|(I[1300]<<16|I[1301]<<24);F[b+32|0]=d;F[b+33|0]=d>>>8;F[b+34|0]=d>>>16;F[b+35|0]=d>>>24;F[b+36|0]=c;F[b+37|0]=c>>>8;F[b+38|0]=c>>>16;F[b+39|0]=c>>>24;c=I[1294]|I[1295]<<8|(I[1296]<<16|I[1297]<<24);d=I[1290]|I[1291]<<8|(I[1292]<<16|I[1293]<<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[1286]|I[1287]<<8|(I[1288]<<16|I[1289]<<24);d=I[1282]|I[1283]<<8|(I[1284]<<16|I[1285]<<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[1278]|I[1279]<<8|(I[1280]<<16|I[1281]<<24);d=I[1274]|I[1275]<<8|(I[1276]<<16|I[1277]<<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[1270]|I[1271]<<8|(I[1272]<<16|I[1273]<<24);d=I[1266]|I[1267]<<8|(I[1268]<<16|I[1269]<<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[a>>2]=-1;Ba(a+4|0,b,50);ra(b);break a}c=I[h+21|0];F[b+36|0]=c;e=I[h+22|0];F[b+37|0]=e;if((c-3&255)>>>0<=253){b=sa(32);F[b+22|0]=0;c=I[1427]|I[1428]<<8|(I[1429]<<16|I[1430]<<24);d=I[1423]|I[1424]<<8|(I[1425]<<16|I[1426]<<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[1421]|I[1422]<<8|(I[1423]<<16|I[1424]<<24);d=I[1417]|I[1418]<<8|(I[1419]<<16|I[1420]<<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[1413]|I[1414]<<8|(I[1415]<<16|I[1416]<<24);d=I[1409]|I[1410]<<8|(I[1411]<<16|I[1412]<<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[a>>2]=-5;Ba(a+4|0,b,22);ra(b);break a}if(!((c|0)!=2|e>>>0<=(d?2:3)>>>0)){b=sa(32);F[b+22|0]=0;c=I[1404]|I[1405]<<8|(I[1406]<<16|I[1407]<<24);d=I[1400]|I[1401]<<8|(I[1402]<<16|I[1403]<<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[1398]|I[1399]<<8|(I[1400]<<16|I[1401]<<24);d=I[1394]|I[1395]<<8|(I[1396]<<16|I[1397]<<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[1390]|I[1391]<<8|(I[1392]<<16|I[1393]<<24);d=I[1386]|I[1387]<<8|(I[1388]<<16|I[1389]<<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[a>>2]=-5;Ba(a+4|0,b,22);ra(b);break a}c=e|c<<8;G[H[b+32>>2]+38>>1]=c;b:{if((c&65535)>>>0<259|G[h+26>>1]>=0){break b}i=fa-16|0;fa=i;e=sa(36);c=e;H[c+4>>2]=0;H[c+8>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;c=c+16|0;H[c>>2]=0;H[c+4>>2]=0;H[e>>2]=e+4;H[e+32>>2]=0;H[e+12>>2]=c;H[i>>2]=0;d=H[b+32>>2];j=fa-16|0;fa=j;c=0;c:{if(!e){break c}H[i>>2]=d;H[j+12>>2]=0;c=0;if(!Db(1,j+12|0,d)){break c}m=H[j+12>>2];if(m){while(1){d:{if(Db(1,j+8|0,H[i>>2])){c=sa(28);H[c+4>>2]=0;H[c+8>>2]=0;d=c+16|0;H[d>>2]=0;H[d+4>>2]=0;H[c>>2]=c+4;H[c+12>>2]=d;H[c+24>>2]=H[j+8>>2];if(be(i,c)){break d}Ua(c+12|0,H[c+16>>2]);Ta(c,H[c+4>>2]);ra(c)}c=0;break c}f=fa-16|0;fa=f;H[f+8>>2]=c;e:{if(!c){break e}d=H[e+28>>2];f:{if(d>>>0<K[e+32>>2]){H[f+8>>2]=0;H[d>>2]=c;H[e+28>>2]=d+4;break f}d=0;g:{h:{i:{g=H[e+24>>2];l=H[e+28>>2]-g>>2;c=l+1|0;if(c>>>0<1073741824){g=H[e+32>>2]-g|0;k=g>>1;c=g>>>0>=2147483644?1073741823:c>>>0<k>>>0?k:c;if(c){if(c>>>0>=1073741824){break i}d=sa(c<<2)}k=H[f+8>>2];H[f+8>>2]=0;g=(l<<2)+d|0;H[g>>2]=k;l=(c<<2)+d|0;k=g+4|0;d=H[e+28>>2];c=H[e+24>>2];if((d|0)==(c|0)){break h}while(1){d=d-4|0;o=H[d>>2];H[d>>2]=0;g=g-4|0;H[g>>2]=o;if((c|0)!=(d|0)){continue}break}H[e+32>>2]=l;d=H[e+28>>2];H[e+28>>2]=k;c=H[e+24>>2];H[e+24>>2]=g;if((c|0)==(d|0)){break g}while(1){d=d-4|0;g=H[d>>2];H[d>>2]=0;if(g){Ua(g+12|0,H[g+16>>2]);Ta(g,H[g+4>>2]);ra(g)}if((c|0)!=(d|0)){continue}break}break g}va();v()}za();v()}H[e+32>>2]=l;H[e+28>>2]=k;H[e+24>>2]=g}if(c){ra(c)}}c=H[f+8>>2];H[f+8>>2]=0;if(!c){break e}Ua(c+12|0,H[c+16>>2]);Ta(c,H[c+4>>2]);ra(c)}fa=f+16|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}c=be(i,e)}fa=j+16|0;j:{if(c){d=H[b+4>>2];c=H[d+4>>2];H[d+4>>2]=e;if(c){Sc(c)}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;break j}c=sa(32);F[c+26|0]=0;d=I[1579]|I[1580]<<8;F[c+24|0]=d;F[c+25|0]=d>>>8;d=I[1575]|I[1576]<<8|(I[1577]<<16|I[1578]<<24);f=I[1571]|I[1572]<<8|(I[1573]<<16|I[1574]<<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]=d;F[c+21|0]=d>>>8;F[c+22|0]=d>>>16;F[c+23|0]=d>>>24;d=I[1567]|I[1568]<<8|(I[1569]<<16|I[1570]<<24);f=I[1563]|I[1564]<<8|(I[1565]<<16|I[1566]<<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[1559]|I[1560]<<8|(I[1561]<<16|I[1562]<<24);f=I[1555]|I[1556]<<8|(I[1557]<<16|I[1558]<<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;H[a>>2]=-1;Ba(a+4|0,c,26);ra(c);H[i+8>>2]=0;Sc(e)}fa=i+16|0;if(H[a>>2]){break a}if(F[a+15|0]>=0){break b}ra(H[a+4>>2])}if(!(ha[H[H[b>>2]+12>>2]](b)|0)){b=sa(48);F[b+33|0]=0;F[b+32|0]=I[1384];c=I[1380]|I[1381]<<8|(I[1382]<<16|I[1383]<<24);d=I[1376]|I[1377]<<8|(I[1378]<<16|I[1379]<<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[1372]|I[1373]<<8|(I[1374]<<16|I[1375]<<24);d=I[1368]|I[1369]<<8|(I[1370]<<16|I[1371]<<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[1364]|I[1365]<<8|(I[1366]<<16|I[1367]<<24);d=I[1360]|I[1361]<<8|(I[1362]<<16|I[1363]<<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[1356]|I[1357]<<8|(I[1358]<<16|I[1359]<<24);d=I[1352]|I[1353]<<8|(I[1354]<<16|I[1355]<<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[a>>2]=-1;Ba(a+4|0,b,33);ra(b);break a}if(!(ha[H[H[b>>2]+20>>2]](b)|0)){b=nc(h,1582);H[a>>2]=-1;a=a+4|0;if(F[b+11|0]>=0){c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;H[a+8>>2]=H[b+8>>2];break a}Ba(a,H[b>>2],H[b+4>>2]);if(F[b+11|0]>=0){break a}ra(H[b>>2]);break a}if(!(ha[H[H[b>>2]+24>>2]](b)|0)){b=nc(h,1317);H[a>>2]=-1;a=a+4|0;if(F[b+11|0]>=0){c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;H[a+8>>2]=H[b+8>>2];break a}Ba(a,H[b>>2],H[b+4>>2]);if(F[b+11|0]>=0){break a}ra(H[b>>2]);break a}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0}fa=h+32|0}function zf(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=O(0),q=0,r=0,s=0;f=fa-720|0;fa=f;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(J[b+38>>1]>=515){H[f+680>>2]=0;H[f+672>>2]=0;H[f+676>>2]=0;if((ha[H[H[a>>2]+24>>2]](a)|0)<=0){break d}while(1){c=ha[H[H[a>>2]+20>>2]](a,m)|0;d=H[H[H[(ha[H[H[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];if(H[d+28>>2]==9){g=H[f+672>>2];c=H[f+676>>2]-g>>2;e=I[d+24|0];j:{if(c>>>0<e>>>0){Aa(f+672|0,e-c|0);break j}if(c>>>0<=e>>>0){break j}H[f+676>>2]=g+(e<<2)}k=0;c=H[b+20>>2];j=H[b+16>>2];d=e<<2;h=j+d|0;g=H[b+12>>2];c=d>>>0>h>>>0?c+1|0:c;if(h>>>0>K[b+8>>2]&(g|0)<=(c|0)|(c|0)>(g|0)){break b}ta(H[f+672>>2],j+H[b>>2]|0,d);c=H[b+20>>2];g=d+H[b+16>>2]|0;c=g>>>0<d>>>0?c+1|0:c;H[b+16>>2]=g;H[b+20>>2]=c;l=H[b+12>>2];j=l;h=g+4|0;d=h>>>0<4?c+1|0:c;n=H[b+8>>2];if(n>>>0<h>>>0&(d|0)>=(j|0)|(d|0)>(j|0)){break b}o=H[b>>2];j=o+g|0;j=I[j|0]|I[j+1|0]<<8|(I[j+2|0]<<16|I[j+3|0]<<24);H[b+16>>2]=h;H[b+20>>2]=d;if((d|0)>=(l|0)&h>>>0>=n>>>0|(d|0)>(l|0)){break b}d=I[h+o|0];g=g+5|0;c=g>>>0<5?c+1|0:c;H[b+16>>2]=g;H[b+20>>2]=c;if(d>>>0>31){break b}p=(A(2,j),B());H[f+20>>2]=-1;H[f+16>>2]=1832;H[f+32>>2]=0;H[f+36>>2]=0;H[f+24>>2]=0;H[f+28>>2]=0;c=f+16|0;g=H[f+672>>2];h=d-1|0;if(h>>>0<=29){H[c+4>>2]=d;Ca(c+8|0,g,g+(e<<2)|0);L[c+20>>2]=p}k:{if(h>>>0>=30){break k}if(!Vc(f+16|0,H[H[a+60>>2]+((H[a+40>>2]-H[a+36>>2]|0)/24<<2)>>2])){break k}c=H[a+40>>2];l:{if((c|0)!=H[a+44>>2]){H[c>>2]=1832;d=H[f+20>>2];H[c+16>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c+4>>2]=d;d=H[f+28>>2];e=H[f+24>>2];if((d|0)!=(e|0)){e=d-e|0;if((e|0)<0){break i}d=sa(e);H[c+8>>2]=d;H[c+12>>2]=d;H[c+16>>2]=d+(e&-4);g=H[f+24>>2];e=H[f+28>>2]-g|0;if((e|0)>0){d=ta(d,g,e)+e|0}H[c+12>>2]=d}L[c+20>>2]=L[f+36>>2];H[a+40>>2]=c+24;break l}m:{n:{o:{p:{g=H[a+40>>2];d=H[a+36>>2];e=(g-d|0)/24|0;c=e+1|0;if(c>>>0<178956971){h=(H[a+44>>2]-d|0)/24|0;j=h<<1;h=h>>>0>=89478485?178956970:c>>>0<j>>>0?j:c;if(h){if(h>>>0>=178956971){break p}k=sa(N(h,24))}e=N(e,24)+k|0;H[e>>2]=1832;c=H[f+20>>2];H[e+16>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e+4>>2]=c;c=H[f+28>>2];j=H[f+24>>2];if((c|0)!=(j|0)){c=c-j|0;if((c|0)<0){break o}l=sa(c);H[e+8>>2]=l;H[e+16>>2]=l+(c&-4);r=e,s=ta(l,j,c)+c|0,H[r+12>>2]=s}c=N(h,24)+k|0;L[e+20>>2]=L[f+36>>2];h=e+24|0;if((d|0)==(g|0)){break n}while(1){e=e-24|0;H[e>>2]=1832;g=g-24|0;H[e+4>>2]=H[g+4>>2];H[e+8>>2]=H[g+8>>2];H[e+12>>2]=H[g+12>>2];H[e+16>>2]=H[g+16>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;L[e+20>>2]=L[g+20>>2];if((d|0)!=(g|0)){continue}break}H[a+44>>2]=c;k=H[a+40>>2];H[a+40>>2]=h;g=H[a+36>>2];H[a+36>>2]=e;if((g|0)==(k|0)){break m}while(1){k=k-24|0;ha[H[H[k>>2]>>2]](k)|0;if((g|0)!=(k|0)){continue}break}break m}va();v()}za();v()}va();v()}H[a+44>>2]=c;H[a+40>>2]=h;H[a+36>>2]=e}if(g){ra(g)}}k=1}H[f+16>>2]=1832;c=H[f+24>>2];if(c){H[f+28>>2]=c;ra(c)}if(!k){break c}}m=m+1|0;if((ha[H[H[a>>2]+24>>2]](a)|0)>(m|0)){continue}break}break d}m=ha[H[H[a>>2]+24>>2]](a)|0;H[f+712>>2]=0;H[f+704>>2]=0;H[f+708>>2]=0;if(m){if(m>>>0>=214748365){break h}c=N(m,20);d=sa(c);H[f+704>>2]=d;H[f+712>>2]=c+d;c=c-20|0;c=(c-((c>>>0)%20|0)|0)+20|0;r=f,s=ua(d,0,c)+c|0,H[r+708>>2]=s;while(1){c=ha[H[H[a>>2]+20>>2]](a,i)|0;d=H[H[H[(ha[H[H[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];h=H[d+28>>2];c=h-1|0;if(c>>>0<=10){c=H[(c<<2)+13584>>2]}else{c=-1}j=(c|0)>0?c:0;if(j>>>0>4){break f}c=H[f+704>>2]+N(i,20)|0;l=I[d+24|0];H[c+16>>2]=l;H[c+12>>2]=j;H[c+8>>2]=h;H[c+4>>2]=e;H[c>>2]=d;e=e+l|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}c=ha[H[H[a>>2]+20>>2]](a,0)|0;n=H[H[H[(ha[H[H[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];F[n+84|0]=1;H[n+72>>2]=H[n+68>>2];i=H[b+12>>2];c=i;d=H[b+20>>2];j=H[b+8>>2];h=H[b+16>>2];if((c|0)<=(d|0)&j>>>0<=h>>>0|(c|0)<(d|0)){break f}o=H[b>>2];q=I[o+h|0];c=d;l=h+1|0;c=l?c:c+1|0;H[b+16>>2]=l;H[b+20>>2]=c;q:{switch(q|0){case 0:a=H[f+704>>2];if((H[f+708>>2]-a|0)!=20){break e}if(H[a+16>>2]!=3){break f}r:{if(j>>>0<=l>>>0&(c|0)>=(i|0)|(c|0)>(i|0)){break r}c=d;a=h+2|0;c=a>>>0<2?c+1|0:c;H[b+16>>2]=a;H[b+20>>2]=c;c=d;d=h+6|0;c=d>>>0<6?c+1|0:c;if(d>>>0>j>>>0&(c|0)>=(i|0)|(c|0)>(i|0)){break r}a=a+o|0;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);H[b+16>>2]=d;H[b+20>>2]=c;qb(n,a);i=f+672|0;H[i+20>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i>>2]=0;H[i+4>>2]=0;H[i+20>>2]=a;d=Bc(f+16|0,f+704|0);e=fa-32|0;fa=e;H[e+24>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;h=H[b+12>>2];c=H[b+20>>2];a=c;j=H[b+16>>2];k=j+4|0;c=k>>>0<4?c+1|0:c;l=H[b+8>>2];s:{if(l>>>0<k>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){break s}n=H[b>>2];m=n+j|0;m=I[m|0]|I[m+1|0]<<8|(I[m+2|0]<<16|I[m+3|0]<<24);H[b+16>>2]=k;H[b+20>>2]=c;t:{u:{switch(m-2|0){case 1:if((c|0)>=(h|0)&k>>>0>=l>>>0|(c|0)>(h|0)){break s}k=F[k+n|0];c=a;a=j+5|0;c=a>>>0<5?c+1|0:c;H[b+16>>2]=a;H[b+20>>2]=c;H[i+8>>2]=k;if((k|0)==1){if(Td(i,b,e+16|0)){break t}break s}Qd(1799,23,H[3443]);break s;default:Qd(1774,24,H[3443]);break s;case 0:break u}}if(!Td(i,b,e+16|0)){break s}}H[e+8>>2]=H[e+16>>2];H[e>>2]=H[e+20>>2];c=fa-32|0;fa=c;a=H[i>>2];p=L[i+4>>2];h=c+24|0;H[h>>2]=1065353216;k=-1<<a^-1;a=k;if((a|0)>0){L[h>>2]=p/O(a|0)}i=H[e+8>>2];m=H[e>>2];if((i|0)!=(m|0)){a=H[d+28>>2];while(1){b=H[i>>2];g=H[i+4>>2];p=L[h>>2];L[c+16>>2]=p*O(H[i+8>>2]-k|0);L[c+12>>2]=p*O(g-k|0);L[c+8>>2]=p*O(b-k|0);b=a;j=H[d+16>>2];g=H[j>>2];if(!I[g+84|0]){b=H[H[g+68>>2]+(a<<2)>>2]}if(K[g+80>>2]>b>>>0){a=H[g+40>>2];ta(H[H[g>>2]>>2]+N(a,b)|0,(c+8|0)+(H[j+4>>2]<<2)|0,a);m=H[e>>2];a=H[d+28>>2]}a=a+1|0;H[d+28>>2]=a;i=i+12|0;if((m|0)!=(i|0)){continue}break}}fa=c+32|0;g=1}a=H[e+16>>2];if(a){H[e+20>>2]=a;ra(a)}fa=e+32|0;zc(d);k=1;if(g){break f}}k=0;break f;case 1:break q;default:break f}}if(j>>>0<=l>>>0&(c|0)>=(i|0)|(c|0)>(i|0)){break f}g=I[l+o|0];c=d;l=h+2|0;c=l>>>0<2?c+1|0:c;H[b+16>>2]=l;H[b+20>>2]=c;if(g>>>0>=7){H[f>>2]=g;Pd(1651,f);break f}c=d;d=h+6|0;c=d>>>0<6?c+1|0:c;h=d;if(d>>>0>j>>>0&(c|0)>=(i|0)|(c|0)>(i|0)){break f}d=l+o|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=h;H[b+20>>2]=c;if(m){i=0;while(1){c=ha[H[H[a>>2]+20>>2]](a,i)|0;c=H[H[H[(ha[H[H[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];qb(c,d);F[c+84|0]=1;H[c+72>>2]=H[c+68>>2];i=i+1|0;if((m|0)!=(i|0)){continue}break}}a=Bc(f+672|0,f+704|0);v:{w:{switch(g|0){case 1:c=zb(f+16|0,e);b=yd(c,b,a);Ab(c);if(!b){break g}break v;case 2:c=xb(f+16|0,e);b=xd(c,b,a);yb(c);if(!b){break g}break v;case 3:c=xb(f+16|0,e);b=wd(c,b,a);yb(c);if(!b){break g}break v;case 4:c=cb(f+16|0,e);b=vd(c,b,a);db(c);if(!b){break g}break v;case 5:c=cb(f+16|0,e);b=ud(c,b,a);db(c);if(!b){break g}break v;case 6:c=cb(f+16|0,e);b=td(c,b,a);db(c);if(b){break v}break g;case 0:break w;default:break g}}c=zb(f+16|0,e);b=zd(c,b,a);Ab(c);if(!b){break g}}zc(a);k=1;break f}va();v()}va();v()}zc(a)}a=H[f+704>>2]}if(!a){break a}H[f+708>>2]=a;ra(a);break a}k=1;if(H[a+52>>2]==H[a+48>>2]){break b}while(1){if(!sd(1,f+16|0,b)){break c}c=H[a+48>>2];d=H[f+16>>2];H[c+(i<<2)>>2]=d>>>1^0-(d&1);i=i+1|0;if(i>>>0<H[a+52>>2]-c>>2>>>0){continue}break}break b}k=0}a=H[f+672>>2];if(!a){break a}H[f+676>>2]=a;ra(a)}fa=f+720|0;return k|0}function pg(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,w=0,x=0,y=0,z=0,A=0,B=0;m=fa-16|0;fa=m;H[m+12>>2]=b;c=sa(32);H[m>>2]=c;H[m+4>>2]=24;H[m+8>>2]=-2147483616;d=I[1206]|I[1207]<<8|(I[1208]<<16|I[1209]<<24);b=I[1202]|I[1203]<<8|(I[1204]<<16|I[1205]<<24);F[c+16|0]=b;F[c+17|0]=b>>>8;F[c+18|0]=b>>>16;F[c+19|0]=b>>>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[1198]|I[1199]<<8|(I[1200]<<16|I[1201]<<24);b=I[1194]|I[1195]<<8|(I[1196]<<16|I[1197]<<24);F[c+8|0]=b;F[c+9|0]=b>>>8;F[c+10|0]=b>>>16;F[c+11|0]=b>>>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[1190]|I[1191]<<8|(I[1192]<<16|I[1193]<<24);b=I[1186]|I[1187]<<8|(I[1188]<<16|I[1189]<<24);F[c|0]=b;F[c+1|0]=b>>>8;F[c+2|0]=b>>>16;F[c+3|0]=b>>>24;F[c+4|0]=d;F[c+5|0]=d>>>8;F[c+6|0]=d>>>16;F[c+7|0]=d>>>24;F[c+24|0]=0;k=fa-48|0;fa=k;e=H[m+12>>2];c=a+16|0;b=H[c>>2];a:{b:{if(!b){break b}d=c;while(1){f=(e|0)>H[b+16>>2];d=f?d:b;b=H[(f?b+4|0:b)>>2];if(b){continue}break}if((d|0)==(c|0)){break b}if((e|0)>=H[d+16>>2]){break a}}H[k+28>>2]=0;H[k+32>>2]=0;A=k+24|0;H[k+24>>2]=A|4;b=k+16|0;H[b>>2]=0;H[b+4>>2]=0;H[k+8>>2]=e;H[k+12>>2]=b;x=k+8|0;b=x;y=fa-16|0;fa=y;u=a+12|0;d=H[u+4>>2];c:{d:{if(!d){o=u+4|0;c=o;break d}b=H[b>>2];while(1){c=d;a=H[c+16>>2];if((a|0)>(b|0)){o=c;d=H[c>>2];if(d){continue}break d}if((a|0)>=(b|0)){i=c;a=0;break c}d=H[c+4>>2];if(d){continue}break}o=c+4|0}i=sa(32);a=H[x>>2];r=i+24|0;b=r;H[b>>2]=0;H[b+4>>2]=0;H[i+16>>2]=a;t=i+20|0;H[t>>2]=b;d=H[x+4>>2];B=x+8|0;if((d|0)!=(B|0)){while(1){p=fa-16|0;fa=p;a=p+8|0;n=d+16|0;e:{f:{g:{h:{i:{j:{k:{f=r;e=t+4|0;l:{if((f|0)==(e|0)){break l}g=I[f+27|0];s=g<<24>>24<0;b=I[n+11|0];w=b<<24>>24;h=(w|0)<0;q=h?H[n+4>>2]:b;z=s?H[f+20>>2]:g;l=q>>>0>z>>>0;j=l?z:q;if(j){h=h?H[n>>2]:n;g=s?H[f+16>>2]:f+16|0;b=Ha(h,g,j);if(!b){if(q>>>0<z>>>0){break l}break k}if((b|0)>=0){break k}break l}if(q>>>0>=z>>>0){break j}}g=H[f>>2];m:{a=f;n:{if((a|0)==H[t>>2]){break n}o:{if(!g){b=f;while(1){a=H[b+8>>2];h=H[a>>2]==(b|0);b=a;if(h){continue}break}break o}b=g;while(1){a=b;b=H[b+4>>2];if(b){continue}break}}j=I[n+11|0];h=j<<24>>24;w=(h|0)<0;b=I[a+27|0];l=b<<24>>24<0;p:{s=w?H[n+4>>2]:j;j=l?H[a+20>>2]:b;b=j>>>0>s>>>0?s:j;if(b){b=Ha(l?H[a+16>>2]:a+16|0,w?H[n>>2]:n,b);if(b){break p}}if(j>>>0<s>>>0){break n}break m}if((b|0)>=0){break m}}if(!g){H[p+12>>2]=f;a=f;break e}H[p+12>>2]=a;a=a+4|0;break e}b=H[e>>2];if(!b){H[p+12>>2]=e;a=e;break e}j=(h|0)<0?H[n>>2]:n;f=e;while(1){a=b;b=I[b+27|0];e=b<<24>>24<0;l=e?H[a+20>>2]:b;h=l>>>0<s>>>0;q:{r:{s:{t:{g=h?l:s;u:{if(g){e=e?H[a+16>>2]:a+16|0;b=Ha(j,e,g);if(!b){if(l>>>0>s>>>0){break u}break t}if((b|0)>=0){break t}break u}if(l>>>0<=s>>>0){break s}}f=a;b=H[a>>2];if(b){continue}break g}b=Ha(e,j,g);if(b){break r}}if(h){break q}break g}if((b|0)>=0){break g}}f=a+4|0;b=H[a+4>>2];if(b){continue}break}break g}b=Ha(g,h,j);if(b){break i}}if(l){break h}break f}if((b|0)>=0){break f}}g=H[f+4>>2];v:{if(!g){b=f;while(1){a=H[b+8>>2];h=H[a>>2]!=(b|0);b=a;if(h){continue}break}break v}b=g;while(1){a=b;b=H[b>>2];if(b){continue}break}}w:{x:{if((a|0)==(e|0)){break x}b=I[a+27|0];j=b<<24>>24<0;y:{h=j?H[a+20>>2]:b;b=h>>>0<q>>>0?h:q;if(b){b=Ha((w|0)<0?H[n>>2]:n,j?H[a+16>>2]:a+16|0,b);if(b){break y}}if(h>>>0>q>>>0){break x}break w}if((b|0)>=0){break w}}if(!g){H[p+12>>2]=f;a=f+4|0;break e}H[p+12>>2]=a;break e}b=H[e>>2];if(!b){H[p+12>>2]=e;a=e;break e}j=(w|0)<0?H[n>>2]:n;f=e;while(1){a=b;b=I[b+27|0];e=b<<24>>24<0;l=e?H[a+20>>2]:b;h=l>>>0<q>>>0;z:{A:{B:{C:{g=h?l:q;D:{if(g){e=e?H[a+16>>2]:a+16|0;b=Ha(j,e,g);if(!b){if(l>>>0>q>>>0){break D}break C}if((b|0)>=0){break C}break D}if(l>>>0<=q>>>0){break B}}f=a;b=H[a>>2];if(b){continue}break g}b=Ha(e,j,g);if(b){break A}}if(h){break z}break g}if((b|0)>=0){break g}}f=a+4|0;b=H[a+4>>2];if(b){continue}break}}H[p+12>>2]=a;a=f;break e}H[p+12>>2]=f;H[a>>2]=f}f=a;a=H[a>>2];if(a){b=0}else{a=sa(40);e=a+16|0;E:{if(F[d+27|0]>=0){b=H[d+20>>2];H[e>>2]=H[d+16>>2];H[e+4>>2]=b;H[e+8>>2]=H[d+24>>2];break E}Ba(e,H[d+16>>2],H[d+20>>2])}e=a+28|0;F:{if(F[d+39|0]>=0){b=H[d+32>>2];H[e>>2]=H[d+28>>2];H[e+4>>2]=b;H[e+8>>2]=H[d+36>>2];break F}Ba(e,H[d+28>>2],H[d+32>>2])}H[a+8>>2]=H[p+12>>2];H[a>>2]=0;H[a+4>>2]=0;H[f>>2]=a;b=a;e=H[H[t>>2]>>2];if(e){H[t>>2]=e;b=H[f>>2]}Ub(H[t+4>>2],b);H[t+8>>2]=H[t+8>>2]+1;b=1}F[y+12|0]=b;H[y+8>>2]=a;fa=p+16|0;b=H[d+4>>2];G:{if(b){while(1){d=b;b=H[b>>2];if(b){continue}break G}}while(1){a=d;d=H[d+8>>2];if((a|0)!=H[d>>2]){continue}break}}if((d|0)!=(B|0)){continue}break}}H[i+8>>2]=c;H[i>>2]=0;H[i+4>>2]=0;H[o>>2]=i;d=i;a=H[H[u>>2]>>2];if(a){H[u>>2]=a;d=H[o>>2]}Ub(H[u+4>>2],d);H[u+8>>2]=H[u+8>>2]+1;a=1}F[k+44|0]=a;H[k+40>>2]=i;fa=y+16|0;d=H[k+40>>2];Mb(x|4,H[k+16>>2]);Mb(A,H[k+28>>2])}h=fa-48|0;fa=h;c=h+8|0;e=fa-32|0;fa=e;r=e+32|0;b=r;a=e+21|0;H:{if((b|0)==(a|0)){break H}}f=b-a|0;I:{if((f|0)<=9){i=61;if((f|0)<(K[3712]<=1|0)){break I}}F[a|0]=49;b=a+1|0;i=0}H[e+12>>2]=i;H[e+8>>2]=b;i=fa-16|0;fa=i;g=fa-16|0;fa=g;J:{e=H[e+8>>2];o=e-a|0;if(o>>>0<=4294967279){K:{if(o>>>0<11){F[c+11|0]=o;b=c;break K}if(o>>>0>=11){b=o+16&-16;f=b-1|0;b=(f|0)==11?b:f}else{b=10}f=b+1|0;b=sa(f);H[c>>2]=b;H[c+8>>2]=f|-2147483648;H[c+4>>2]=o}while(1){if((a|0)!=(e|0)){F[b|0]=I[a|0];b=b+1|0;a=a+1|0;continue}break}F[g+15|0]=0;F[b|0]=I[g+15|0];fa=g+16|0;break J}Qa();v()}fa=i+16|0;fa=r;H[h+32>>2]=m;L:{M:{g=d+20|0;c=H[g+4>>2];N:{if(!c){i=g+4|0;d=i;break N}b=I[m+11|0];a=b<<24>>24<0;e=a?H[m>>2]:m;r=a?H[m+4>>2]:b;while(1){d=c;a=I[c+27|0];b=a<<24>>24<0;i=b?H[c+20>>2]:a;f=i>>>0<r>>>0;O:{P:{Q:{R:{c=f?i:r;S:{if(c){b=b?H[d+16>>2]:d+16|0;a=Ha(e,b,c);if(!a){if(i>>>0>r>>>0){break S}break R}if((a|0)>=0){break R}break S}if(i>>>0<=r>>>0){break Q}}i=d;c=H[d>>2];if(c){continue}break N}a=Ha(b,e,c);if(a){break P}}if(f){break O}break M}if((a|0)>=0){break M}}c=H[d+4>>2];if(c){continue}break}i=d+4|0}c=sa(40);b=c+16|0;f=H[h+32>>2];T:{if(F[f+11|0]>=0){a=H[f+4>>2];H[b>>2]=H[f>>2];H[b+4>>2]=a;H[b+8>>2]=H[f+8>>2];break T}Ba(b,H[f>>2],H[f+4>>2])}H[c+8>>2]=d;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[i>>2]=c;d=c;a=H[H[g>>2]>>2];if(a){H[g>>2]=a;d=H[i>>2]}Ub(H[g+4>>2],d);H[g+8>>2]=H[g+8>>2]+1;a=1;break L}c=d;a=0}F[h+44|0]=a;H[h+40>>2]=c;b=H[h+40>>2];if(F[b+39|0]<0){ra(H[b+28>>2])}a=H[h+12>>2];H[b+28>>2]=H[h+8>>2];H[b+32>>2]=a;H[b+36>>2]=H[h+16>>2];fa=h+48|0;fa=k+48|0;if(F[m+11|0]<0){ra(H[m>>2])}fa=m+16|0}function zd(a,b,c){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;i=H[b+12>>2];e=H[b+20>>2];d=H[b+16>>2];j=d+4|0;e=j>>>0<4?e+1|0:e;a:{if(j>>>0>K[b+8>>2]&(e|0)>=(i|0)|(e|0)>(i|0)){break a}e=d+H[b>>2]|0;H[a>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];i=e;j=H[b+16>>2];d=j+4|0;e=d>>>0<4?e+1|0:e;k=d;H[b+16>>2]=d;H[b+20>>2]=e;if(K[a>>2]>32){break a}d=H[b+12>>2];e=i;i=j+8|0;e=i>>>0<8?e+1|0:e;if((d|0)<=(e|0)&i>>>0>K[b+8>>2]|(d|0)<(e|0)){break a}e=k+H[b>>2]|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[a+4>>2]=f;e=H[b+20>>2];i=H[b+16>>2]+4|0;e=i>>>0<4?e+1|0:e;H[b+16>>2]=i;H[b+20>>2]=e;if(!f){return 1}f=0;H[a+8>>2]=0;if(!xa(a+16|0,b)){break a}if(!xa(a+36|0,b)){break a}if(!xa(a+56|0,b)){break a}if(!xa(a+76|0,b)){break a}s=H[a+4>>2];i=c;b=0;d=fa-32|0;fa=d;f=a;a=H[a+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;b:{c:{if(a){if(a>>>0>=1073741824){break c}c=a<<2;b=sa(c);H[d+8>>2]=b;h=b+c|0;H[d+16>>2]=h;ua(b,0,c);H[d+12>>2]=h}c=H[f+120>>2];e=H[c>>2];if(e){H[c+4>>2]=e;ra(e);h=H[d+12>>2];b=H[d+8>>2];a=H[f+12>>2]}H[c+4>>2]=h;H[c>>2]=b;H[c+8>>2]=H[d+16>>2];b=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d:{if(a){if(a>>>0>=1073741824){break d}a=a<<2;g=sa(a);H[d+8>>2]=g;b=a+g|0;H[d+16>>2]=b;ua(g,0,a);H[d+12>>2]=b}a=H[f+132>>2];c=H[a>>2];if(c){H[a+4>>2]=c;ra(c);g=H[d+8>>2];b=H[d+12>>2]}H[a+4>>2]=b;H[a>>2]=g;H[a+8>>2]=H[d+16>>2];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;ya(d+8|0);a=H[d+24>>2]+H[d+28>>2]|0;b=(a>>>0)/341|0;a=H[H[d+12>>2]+(b<<2)>>2]+N(a-N(b,341)|0,12)|0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=s;c=1;a=H[d+28>>2]+1|0;H[d+28>>2]=a;e:{if(!a){break e}while(1){b=H[d+12>>2];g=H[d+24>>2];k=a-1|0;c=g+k|0;e=(c>>>0)/341|0;c=H[b+(e<<2)>>2]+N(c-N(e,341)|0,12)|0;h=H[c+8>>2];e=H[c+4>>2];j=H[c>>2];H[d+28>>2]=k;c=H[d+16>>2];if((((b|0)!=(c|0)?N(c-b>>2,341)-1|0:0)-(a+g|0)|0)+1>>>0>=682){ra(H[c-4>>2]);H[d+16>>2]=H[d+16>>2]-4}c=0;if(j>>>0>s>>>0){break e}b=H[f+12>>2];a=(b-1|0)!=(e|0)?e+1|0:0;if(a>>>0>=b>>>0){break e}g=N(h,12);o=g+H[f+132>>2]|0;k=g+H[f+120>>2]|0;e=H[f>>2];l=a<<2;m=H[l+H[o>>2]>>2];f:{g:{if((e|0)==(m|0)){if(!j){break g}o=0;b=H[i+20>>2];h=H[i+16>>2];if((b|0)==(h|0)){a=H[f+8>>2];H[i+28>>2]=j+H[i+28>>2];H[f+8>>2]=a+j;break g}while(1){c=(b|0)==(h|0);a=b;e=0;b=h;h:{if(c){break h}while(1){g=H[i+28>>2];b=a;c=N(e,20)+h|0;l=H[c>>2];if(!I[l+84|0]){g=H[H[l+68>>2]+(g<<2)>>2]}if(K[l+80>>2]<=g>>>0){break h}m=H[k>>2]+(H[c+4>>2]<<2)|0;h=H[c+12>>2];b=m;i:{if(h>>>0>3){break i}a=0;b=H[i+12>>2];if(!H[c+16>>2]){break i}while(1){b=ta(b,m+(a<<2)|0,h);h=H[c+12>>2];b=b+h|0;a=a+1|0;if(a>>>0<K[c+16>>2]){continue}break}b=H[i+12>>2]}a=H[l+40>>2];ta(H[H[l>>2]>>2]+N(a,g)|0,b,a);e=e+1|0;a=H[i+20>>2];b=a;h=H[i+16>>2];if(e>>>0<(b-h|0)/20>>>0){continue}break}}H[i+28>>2]=H[i+28>>2]+1;H[f+8>>2]=H[f+8>>2]+1;o=o+1|0;if((j|0)!=(o|0)){continue}break}break g}j:{k:{l:{m:{if(j>>>0<=2){c=H[f+108>>2];H[c>>2]=a;g=1;b=H[f+12>>2];if(b>>>0>1){break m}break j}if(K[f+8>>2]>K[f+4>>2]){break e}b=H[f+120>>2];n=h+1|0;o=N(n,12);p=b+o|0;if((p|0)!=(k|0)){Ca(p,H[k>>2],H[k+4>>2]);b=H[f+120>>2]}b=l+H[b+o>>2]|0;H[b>>2]=H[b>>2]+(1<<e+(m^-1));b=Q(j)^31;e=H[f+32>>2];m=32-e|0;n:{if((b|0)<=(m|0)){k=H[f+28>>2];if((k|0)==H[f+20>>2]){break l}m=H[k>>2];p=b+e|0;H[f+32>>2]=p;b=m<<e>>>32-b|0;if((p|0)!=32){break n}H[f+32>>2]=0;H[f+28>>2]=k+4;break n}k=H[f+28>>2];p=k+4|0;if((p|0)==H[f+20>>2]){break l}r=H[k>>2];H[f+28>>2]=p;m=b-m|0;H[f+32>>2]=m;b=H[k+4>>2]>>>32-m|r<<e>>>32-b}e=j>>>1|0;if(e>>>0<b>>>0){break e}break k}while(1){a=(b-1|0)!=(a|0)?a+1|0:0;H[c+(g<<2)>>2]=a;b=H[f+12>>2];g=g+1|0;if(b>>>0>g>>>0){continue}break}break j}e=j>>>1|0;b=0}o:{p:{b=e-b|0;c=j-b|0;q:{if((c|0)==(b|0)){c=b;break q}e=H[f+88>>2];if((e|0)==H[f+80>>2]){break p}j=H[e>>2];k=H[f+92>>2];m=k+1|0;H[f+92>>2]=m;j=j&-2147483648>>>k;r:{if((m|0)==32){H[f+92>>2]=0;H[f+88>>2]=e+4;if(j){break r}break p}if(!j){break p}}}e=c;c=b;break o}e=b}b=H[f+132>>2];g=b+g|0;j=H[g>>2];k=j+l|0;H[k>>2]=H[k>>2]+1;Ca(b+o|0,j,H[g+4>>2]);if(c){b=H[d+28>>2]+H[d+24>>2]|0;j=H[d+16>>2];g=H[d+12>>2];if((b|0)==(((g|0)!=(j|0)?N(j-g>>2,341)-1|0:0)|0)){ya(d+8|0);g=H[d+12>>2];b=H[d+24>>2]+H[d+28>>2]|0}m=g;g=(b>>>0)/341|0;b=H[m+(g<<2)>>2]+N(b-N(g,341)|0,12)|0;H[b+8>>2]=h;H[b+4>>2]=a;H[b>>2]=c;H[d+28>>2]=H[d+28>>2]+1}if(!e){break g}b=H[d+28>>2]+H[d+24>>2]|0;c=H[d+16>>2];g=H[d+12>>2];if((b|0)==(((c|0)!=(g|0)?N(c-g>>2,341)-1|0:0)|0)){ya(d+8|0);g=H[d+12>>2];b=H[d+24>>2]+H[d+28>>2]|0}c=(b>>>0)/341|0;b=H[(c<<2)+g>>2]+N(b-N(c,341)|0,12)|0;H[b+8>>2]=n;H[b+4>>2]=a;H[b>>2]=e;a=H[d+28>>2]+1|0;H[d+28>>2]=a;break f}m=0;if(!j){break g}while(1){if(H[f+12>>2]){e=H[f+40>>2];p=H[o>>2];c=H[f+96>>2];r=H[f+108>>2];a=0;while(1){h=r+(a<<2)|0;H[c+(H[h>>2]<<2)>>2]=0;b=H[f>>2];g=H[h>>2]<<2;l=H[g+p>>2];s:{if((b|0)==(l|0)){break s}g=c+g|0;b=b-l|0;l=H[f+52>>2];q=32-l|0;if((b|0)<=(q|0)){n=H[f+48>>2];if((n|0)==(e|0)){c=0;break e}H[g>>2]=H[n>>2]<<l>>>32-b;b=b+H[f+52>>2]|0;H[f+52>>2]=b;if((b|0)!=32){break s}H[f+52>>2]=0;H[f+48>>2]=n+4;break s}n=H[f+48>>2];t=n+4|0;if((e|0)==(t|0)){c=0;break e}u=H[n>>2];H[f+48>>2]=t;q=b-q|0;H[f+52>>2]=q;H[g>>2]=H[n+4>>2]>>>32-q|u<<l>>>32-b}b=H[h>>2]<<2;h=b+c|0;H[h>>2]=H[h>>2]|H[b+H[k>>2]>>2];a=a+1|0;if(a>>>0<K[f+12>>2]){continue}break}}e=0;a=H[i+16>>2];t:{if((a|0)==H[i+20>>2]){break t}while(1){g=H[i+28>>2];c=N(e,20)+a|0;l=H[c>>2];if(!I[l+84|0]){g=H[H[l+68>>2]+(g<<2)>>2]}if(K[l+80>>2]<=g>>>0){break t}n=H[f+96>>2]+(H[c+4>>2]<<2)|0;h=H[c+12>>2];b=n;u:{if(h>>>0>3){break u}a=0;b=H[i+12>>2];if(!H[c+16>>2]){break u}while(1){b=ta(b,n+(a<<2)|0,h);h=H[c+12>>2];b=b+h|0;a=a+1|0;if(a>>>0<K[c+16>>2]){continue}break}b=H[i+12>>2]}a=H[l+40>>2];ta(H[H[l>>2]>>2]+N(a,g)|0,b,a);e=e+1|0;a=H[i+16>>2];if(e>>>0<(H[i+20>>2]-a|0)/20>>>0){continue}break}}H[i+28>>2]=H[i+28>>2]+1;H[f+8>>2]=H[f+8>>2]+1;m=m+1|0;if((j|0)!=(m|0)){continue}break}}a=H[d+28>>2]}if(a){continue}break}c=1}H[d+28>>2]=0;g=H[d+16>>2];a=H[d+12>>2];b=g-a|0;if(b>>>0>=9){while(1){ra(H[a>>2]);a=H[d+12>>2]+4|0;H[d+12>>2]=a;g=H[d+16>>2];b=g-a|0;if(b>>>0>8){continue}break}}h=170;v:{switch((b>>>2|0)-1|0){case 1:h=341;case 0:H[d+24>>2]=h;break;default:break v}}w:{if((a|0)==(g|0)){break w}while(1){ra(H[a>>2]);a=a+4|0;if((g|0)!=(a|0)){continue}break}a=H[d+16>>2];b=H[d+12>>2];if((a|0)==(b|0)){break w}H[d+16>>2]=a+((b-a|0)+3&-4)}a=H[d+8>>2];if(a){ra(a)}fa=d+32|0;break b}va();v()}va();v()}f=c}return f}function yd(a,b,c){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;i=H[b+12>>2];d=H[b+20>>2];h=H[b+16>>2];e=h+4|0;d=e>>>0<4?d+1|0:d;a:{if(e>>>0>K[b+8>>2]&(d|0)>=(i|0)|(d|0)>(i|0)){break a}d=h+H[b>>2]|0;H[a>>2]=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);d=H[b+20>>2];i=d;e=H[b+16>>2];h=e+4|0;d=h>>>0<4?d+1|0:d;k=h;H[b+16>>2]=h;H[b+20>>2]=d;if(K[a>>2]>32){break a}h=H[b+12>>2];d=i;i=e+8|0;d=i>>>0<8?d+1|0:d;if(i>>>0>K[b+8>>2]&(d|0)>=(h|0)|(d|0)>(h|0)){break a}d=k+H[b>>2]|0;f=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[a+4>>2]=f;d=H[b+20>>2];i=H[b+16>>2]+4|0;d=i>>>0<4?d+1|0:d;H[b+16>>2]=i;H[b+20>>2]=d;if(!f){return 1}f=0;H[a+8>>2]=0;if(!xa(a+16|0,b)){break a}if(!xa(a+36|0,b)){break a}if(!xa(a+56|0,b)){break a}if(!xa(a+76|0,b)){break a}q=H[a+4>>2];i=c;b=0;c=0;e=fa-32|0;fa=e;f=a;a=H[a+12>>2];H[e+16>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;b:{c:{if(a){if(a>>>0>=1073741824){break c}d=a<<2;b=sa(d);H[e+8>>2]=b;c=b+d|0;H[e+16>>2]=c;ua(b,0,d);H[e+12>>2]=c}d=H[f+120>>2];h=H[d>>2];if(h){H[d+4>>2]=h;ra(h);c=H[e+12>>2];b=H[e+8>>2];a=H[f+12>>2]}H[d+4>>2]=c;H[d>>2]=b;H[d+8>>2]=H[e+16>>2];b=0;H[e+16>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;d:{if(a){if(a>>>0>=1073741824){break d}a=a<<2;g=sa(a);H[e+8>>2]=g;b=a+g|0;H[e+16>>2]=b;ua(g,0,a);H[e+12>>2]=b}a=H[f+132>>2];c=H[a>>2];if(c){H[a+4>>2]=c;ra(c);g=H[e+8>>2];b=H[e+12>>2]}H[a+4>>2]=b;H[a>>2]=g;H[a+8>>2]=H[e+16>>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;ya(e+8|0);a=H[e+24>>2]+H[e+28>>2]|0;b=(a>>>0)/341|0;a=H[H[e+12>>2]+(b<<2)>>2]+N(a-N(b,341)|0,12)|0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=q;h=1;a=H[e+28>>2]+1|0;H[e+28>>2]=a;e:{if(!a){break e}while(1){b=H[e+12>>2];h=H[e+24>>2];g=a-1|0;c=h+g|0;d=(c>>>0)/341|0;c=H[b+(d<<2)>>2]+N(c-N(d,341)|0,12)|0;l=H[c+8>>2];d=H[c+4>>2];k=H[c>>2];H[e+28>>2]=g;c=H[e+16>>2];if((((b|0)!=(c|0)?N(c-b>>2,341)-1|0:0)-(a+h|0)|0)+1>>>0>=682){ra(H[c-4>>2]);H[e+16>>2]=H[e+16>>2]-4}if(k>>>0>q>>>0){h=0;break e}h=0;b=H[f+12>>2];a=(d|0)!=(b-1|0)?d+1|0:0;if(a>>>0>=b>>>0){break e}b=H[f+120>>2];g=N(l,12);m=b+g|0;c=H[f>>2];n=a<<2;p=g+H[f+132>>2]|0;d=H[n+H[p>>2]>>2];f:{g:{if((c|0)==(d|0)){if(!k){break g}g=0;b=H[i+20>>2];c=H[i+16>>2];if((b|0)==(c|0)){a=H[f+8>>2];H[i+28>>2]=k+H[i+28>>2];H[f+8>>2]=a+k;break g}while(1){h=(b|0)==(c|0);a=b;d=0;b=c;h:{if(h){break h}while(1){h=H[i+28>>2];b=a;l=N(d,20)+c|0;n=H[l>>2];if(!I[n+84|0]){h=H[H[n+68>>2]+(h<<2)>>2]}if(K[n+80>>2]<=h>>>0){break h}j=H[m>>2]+(H[l+4>>2]<<2)|0;c=H[l+12>>2];b=j;i:{if(c>>>0>3){break i}a=0;b=H[i+12>>2];if(!H[l+16>>2]){break i}while(1){b=ta(b,j+(a<<2)|0,c);c=H[l+12>>2];b=b+c|0;a=a+1|0;if(a>>>0<K[l+16>>2]){continue}break}b=H[i+12>>2]}a=H[n+40>>2];ta(H[H[n>>2]>>2]+N(a,h)|0,b,a);d=d+1|0;a=H[i+20>>2];b=a;c=H[i+16>>2];if(d>>>0<(b-c|0)/20>>>0){continue}break}}H[i+28>>2]=H[i+28>>2]+1;H[f+8>>2]=H[f+8>>2]+1;g=g+1|0;if((k|0)!=(g|0)){continue}break}break g}j:{k:{l:{m:{if(k>>>0<=2){c=H[f+108>>2];H[c>>2]=a;g=1;b=H[f+12>>2];if(b>>>0>1){break m}break j}if(K[f+8>>2]>K[f+4>>2]){break e}j=b;b=g+12|0;Ca(j+b|0,H[m>>2],H[m+4>>2]);b=n+H[b+H[f+120>>2]>>2]|0;H[b>>2]=H[b>>2]+(1<<c+(d^-1));b=Q(k)^31;c=H[f+32>>2];m=32-c|0;n:{if((b|0)<=(m|0)){d=H[f+28>>2];if((d|0)==H[f+20>>2]){break l}m=H[d>>2];j=b+c|0;H[f+32>>2]=j;c=m<<c>>>32-b|0;if((j|0)!=32){break n}H[f+32>>2]=0;H[f+28>>2]=d+4;break n}d=H[f+28>>2];j=d+4|0;if((j|0)==H[f+20>>2]){break l}p=H[d>>2];H[f+28>>2]=j;m=b-m|0;H[f+32>>2]=m;c=H[d+4>>2]>>>32-m|p<<c>>>32-b}d=k>>>1|0;if(d>>>0<c>>>0){break e}break k}while(1){a=(b-1|0)!=(a|0)?a+1|0:0;H[c+(g<<2)>>2]=a;b=H[f+12>>2];g=g+1|0;if(b>>>0>g>>>0){continue}break}break j}d=k>>>1|0;c=0}h=l+1|0;o:{p:{b=d-c|0;c=k-b|0;q:{if((c|0)==(b|0)){c=b;break q}d=H[f+88>>2];if((d|0)==H[f+80>>2]){break p}k=H[d>>2];m=H[f+92>>2];j=m+1|0;H[f+92>>2]=j;k=k&-2147483648>>>m;r:{if((j|0)==32){H[f+92>>2]=0;H[f+88>>2]=d+4;if(k){break r}break p}if(!k){break p}}}d=c;c=b;break o}d=b}b=H[f+132>>2];g=b+g|0;k=H[g>>2];m=k+n|0;H[m>>2]=H[m>>2]+1;Ca(b+N(h,12)|0,k,H[g+4>>2]);if(c){b=H[e+28>>2]+H[e+24>>2]|0;k=H[e+16>>2];g=H[e+12>>2];if((b|0)==(((g|0)!=(k|0)?N(k-g>>2,341)-1|0:0)|0)){ya(e+8|0);g=H[e+12>>2];b=H[e+24>>2]+H[e+28>>2]|0}j=g;g=(b>>>0)/341|0;b=H[j+(g<<2)>>2]+N(b-N(g,341)|0,12)|0;H[b+8>>2]=l;H[b+4>>2]=a;H[b>>2]=c;H[e+28>>2]=H[e+28>>2]+1}if(!d){break g}b=H[e+28>>2]+H[e+24>>2]|0;c=H[e+16>>2];g=H[e+12>>2];if((b|0)==(((c|0)!=(g|0)?N(c-g>>2,341)-1|0:0)|0)){ya(e+8|0);g=H[e+12>>2];b=H[e+24>>2]+H[e+28>>2]|0}c=(b>>>0)/341|0;b=H[(c<<2)+g>>2]+N(b-N(c,341)|0,12)|0;H[b+8>>2]=h;H[b+4>>2]=a;H[b>>2]=d;a=H[e+28>>2]+1|0;H[e+28>>2]=a;break f}n=0;if(!k){break g}while(1){if(H[f+12>>2]){d=H[f+40>>2];s=H[p>>2];c=H[f+96>>2];t=H[f+108>>2];a=0;while(1){h=(a<<2)+t|0;H[c+(H[h>>2]<<2)>>2]=0;b=H[f>>2];g=H[h>>2]<<2;l=H[g+s>>2];s:{if((b|0)==(l|0)){break s}g=c+g|0;b=b-l|0;l=H[f+52>>2];o=32-l|0;if((b|0)<=(o|0)){j=H[f+48>>2];if((j|0)==(d|0)){h=0;break e}H[g>>2]=H[j>>2]<<l>>>32-b;b=b+H[f+52>>2]|0;H[f+52>>2]=b;if((b|0)!=32){break s}H[f+52>>2]=0;H[f+48>>2]=j+4;break s}j=H[f+48>>2];r=j+4|0;if((d|0)==(r|0)){h=0;break e}u=H[j>>2];H[f+48>>2]=r;o=b-o|0;H[f+52>>2]=o;H[g>>2]=H[j+4>>2]>>>32-o|u<<l>>>32-b}b=H[h>>2]<<2;h=b+c|0;H[h>>2]=H[h>>2]|H[b+H[m>>2]>>2];a=a+1|0;if(a>>>0<K[f+12>>2]){continue}break}}d=0;a=H[i+16>>2];t:{if((a|0)==H[i+20>>2]){break t}while(1){h=H[i+28>>2];g=N(d,20)+a|0;l=H[g>>2];if(!I[l+84|0]){h=H[H[l+68>>2]+(h<<2)>>2]}if(K[l+80>>2]<=h>>>0){break t}j=H[f+96>>2]+(H[g+4>>2]<<2)|0;c=H[g+12>>2];b=j;u:{if(c>>>0>3){break u}a=0;b=H[i+12>>2];if(!H[g+16>>2]){break u}while(1){b=ta(b,j+(a<<2)|0,c);c=H[g+12>>2];b=b+c|0;a=a+1|0;if(a>>>0<K[g+16>>2]){continue}break}b=H[i+12>>2]}a=H[l+40>>2];ta(H[H[l>>2]>>2]+N(a,h)|0,b,a);d=d+1|0;a=H[i+16>>2];if(d>>>0<(H[i+20>>2]-a|0)/20>>>0){continue}break}}H[i+28>>2]=H[i+28>>2]+1;H[f+8>>2]=H[f+8>>2]+1;n=n+1|0;if((k|0)!=(n|0)){continue}break}}a=H[e+28>>2]}if(a){continue}break}h=1}H[e+28>>2]=0;g=H[e+16>>2];a=H[e+12>>2];b=g-a|0;if(b>>>0>=9){while(1){ra(H[a>>2]);a=H[e+12>>2]+4|0;H[e+12>>2]=a;g=H[e+16>>2];b=g-a|0;if(b>>>0>8){continue}break}}c=170;v:{switch((b>>>2|0)-1|0){case 1:c=341;case 0:H[e+24>>2]=c;break;default:break v}}w:{if((a|0)==(g|0)){break w}while(1){ra(H[a>>2]);a=a+4|0;if((g|0)!=(a|0)){continue}break}a=H[e+16>>2];b=H[e+12>>2];if((a|0)==(b|0)){break w}H[e+16>>2]=a+((b-a|0)+3&-4)}a=H[e+8>>2];if(a){ra(a)}fa=e+32|0;a=h;break b}va();v()}va();v()}f=a}return f}function vd(a,b,c){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,w=0;d=H[b+12>>2];g=H[b+20>>2];f=H[b+16>>2];k=f+4|0;g=k>>>0<4?g+1|0:g;a:{if((d|0)<=(g|0)&k>>>0>K[b+8>>2]|(d|0)<(g|0)){break a}g=f+H[b>>2]|0;H[a>>2]=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);g=H[b+20>>2];d=g;k=H[b+16>>2];f=k+4|0;g=f>>>0<4?d+1|0:d;j=f;H[b+16>>2]=f;H[b+20>>2]=g;if(K[a>>2]>32){break a}f=H[b+12>>2];g=d;d=k+8|0;g=d>>>0<8?g+1|0:g;if(d>>>0>K[b+8>>2]&(g|0)>=(f|0)|(g|0)>(f|0)){break a}e=j+H[b>>2]|0;g=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[a+4>>2]=g;e=H[b+20>>2];d=H[b+16>>2]+4|0;e=d>>>0<4?e+1|0:e;H[b+16>>2]=d;H[b+20>>2]=e;if(!g){return 1}e=0;H[a+8>>2]=0;if(!vb(a+16|0,b)){break a}if(!xa(a+544|0,b)){break a}if(!xa(a+564|0,b)){break a}if(!xa(a+584|0,b)){break a}q=H[a+4>>2];g=c;b=0;c=0;d=fa-32|0;fa=d;e=a;a=H[a+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;b:{c:{if(a){if(a>>>0>=1073741824){break c}f=a<<2;b=sa(f);H[d+8>>2]=b;c=b+f|0;H[d+16>>2]=c;ua(b,0,f);H[d+12>>2]=c}f=H[e+628>>2];k=H[f>>2];if(k){H[f+4>>2]=k;ra(k);c=H[d+12>>2];b=H[d+8>>2];a=H[e+12>>2]}H[f+4>>2]=c;H[f>>2]=b;H[f+8>>2]=H[d+16>>2];b=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d:{if(a){if(a>>>0>=1073741824){break d}a=a<<2;h=sa(a);H[d+8>>2]=h;b=a+h|0;H[d+16>>2]=b;ua(h,0,a);H[d+12>>2]=b}a=H[e+640>>2];c=H[a>>2];if(c){H[a+4>>2]=c;ra(c);h=H[d+8>>2];b=H[d+12>>2]}H[a+4>>2]=b;H[a>>2]=h;H[a+8>>2]=H[d+16>>2];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;ya(d+8|0);a=H[d+24>>2]+H[d+28>>2]|0;b=(a>>>0)/341|0;a=H[H[d+12>>2]+(b<<2)>>2]+N(a-N(b,341)|0,12)|0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=q;c=1;a=H[d+28>>2]+1|0;H[d+28>>2]=a;e:{if(!a){break e}s=e+16|0;while(1){b=H[d+12>>2];j=H[d+24>>2];i=a-1|0;c=j+i|0;h=(c>>>0)/341|0;c=H[b+(h<<2)>>2]+N(c-N(h,341)|0,12)|0;k=H[c+8>>2];h=H[c+4>>2];f=H[c>>2];H[d+28>>2]=i;c=H[d+16>>2];if((((b|0)!=(c|0)?N(c-b>>2,341)-1|0:0)-(a+j|0)|0)+1>>>0>=682){ra(H[c-4>>2]);H[d+16>>2]=H[d+16>>2]-4}c=0;if(f>>>0>q>>>0){break e}a=H[e+12>>2];h=(h|0)!=(a-1|0)?h+1|0:0;if(h>>>0>=a>>>0){break e}j=N(k,12);n=j+H[e+640>>2]|0;o=j+H[e+628>>2]|0;b=H[e>>2];i=h<<2;l=H[i+H[n>>2]>>2];f:{g:{if((b|0)==(l|0)){if(!f){break g}c=H[g+16>>2];b=H[g+20>>2];i=0;while(1){h=(b|0)==(c|0);a=b;j=0;b=c;h:{if(h){break h}while(1){k=H[g+28>>2];b=a;h=N(j,20)+c|0;m=H[h>>2];if(!I[m+84|0]){k=H[H[m+68>>2]+(k<<2)>>2]}if(K[m+80>>2]<=k>>>0){break h}n=H[o>>2]+(H[h+4>>2]<<2)|0;c=H[h+12>>2];b=n;i:{if(c>>>0>3){break i}a=0;b=H[g+12>>2];if(!H[h+16>>2]){break i}while(1){b=ta(b,n+(a<<2)|0,c);c=H[h+12>>2];b=b+c|0;a=a+1|0;if(a>>>0<K[h+16>>2]){continue}break}b=H[g+12>>2]}a=H[m+40>>2];ta(H[H[m>>2]>>2]+N(a,k)|0,b,a);a=H[g+20>>2];b=a;j=j+1|0;c=H[g+16>>2];if(j>>>0<(a-c|0)/20>>>0){continue}break}}H[g+28>>2]=H[g+28>>2]+1;H[e+8>>2]=H[e+8>>2]+1;i=i+1|0;if((f|0)!=(i|0)){continue}break}break g}j:{k:{l:{if(f>>>0<=2){c=H[e+616>>2];H[c>>2]=h;a=1;b=H[e+12>>2];if(b>>>0>1){break l}break j}if(K[e+8>>2]>K[e+4>>2]){break e}a=H[e+628>>2];n=k+1|0;m=N(n,12);c=a+m|0;if((c|0)!=(o|0)){Ca(c,H[o>>2],H[o+4>>2]);a=H[e+628>>2]}a=i+H[a+m>>2]|0;H[a>>2]=H[a>>2]+(1<<b+(l^-1));b=0;a=0;c=Q(f)^31;if(!c){a=f>>>1|0;break k}while(1){b=Da((a<<4)+s|0)|b<<1;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=f>>>1|0;if(b>>>0<=a>>>0){break k}c=0;break e}while(1){h=(b-1|0)!=(h|0)?h+1|0:0;H[c+(a<<2)>>2]=h;a=a+1|0;b=H[e+12>>2];if(a>>>0<b>>>0){continue}break}break j}m:{n:{b=a-b|0;a=f-b|0;o:{if((a|0)==(b|0)){a=b;break o}c=H[e+596>>2];if((c|0)==H[e+588>>2]){break n}f=H[c>>2];o=H[e+600>>2];l=o+1|0;H[e+600>>2]=l;f=f&-2147483648>>>o;p:{if((l|0)==32){H[e+600>>2]=0;H[e+596>>2]=c+4;if(f){break p}break n}if(!f){break n}}}c=a;a=b;break m}c=b}b=H[e+640>>2];f=b+j|0;j=H[f>>2];i=j+i|0;H[i>>2]=H[i>>2]+1;Ca(b+m|0,j,H[f+4>>2]);if(a){i=H[d+28>>2]+H[d+24>>2]|0;f=H[d+16>>2];b=H[d+12>>2];if((i|0)==(((b|0)!=(f|0)?N(f-b>>2,341)-1|0:0)|0)){ya(d+8|0);i=H[d+24>>2]+H[d+28>>2]|0;l=H[d+12>>2]}else{l=b}b=(i>>>0)/341|0;b=H[l+(b<<2)>>2]+N(i-N(b,341)|0,12)|0;H[b+8>>2]=k;H[b+4>>2]=h;H[b>>2]=a;H[d+28>>2]=H[d+28>>2]+1}if(!c){break g}b=H[d+28>>2]+H[d+24>>2]|0;f=H[d+16>>2];a=H[d+12>>2];if((b|0)==(((a|0)!=(f|0)?N(f-a>>2,341)-1|0:0)|0)){ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;l=H[d+12>>2]}else{l=a}a=(b>>>0)/341|0;a=H[l+(a<<2)>>2]+N(b-N(a,341)|0,12)|0;H[a+8>>2]=n;H[a+4>>2]=h;H[a>>2]=c;a=H[d+28>>2]+1|0;H[d+28>>2]=a;break f}h=0;if(!f){break g}while(1){if(H[e+12>>2]){k=H[e+548>>2];t=H[n>>2];c=H[e+604>>2];u=H[e+616>>2];a=0;while(1){j=(a<<2)+u|0;H[c+(H[j>>2]<<2)>>2]=0;b=H[e>>2];i=H[j>>2]<<2;m=H[i+t>>2];q:{if((b|0)==(m|0)){break q}i=c+i|0;b=b-m|0;m=H[e+560>>2];p=32-m|0;if((b|0)<=(p|0)){l=H[e+556>>2];if((l|0)==(k|0)){c=0;break e}H[i>>2]=H[l>>2]<<m>>>32-b;b=b+H[e+560>>2]|0;H[e+560>>2]=b;if((b|0)!=32){break q}H[e+560>>2]=0;H[e+556>>2]=l+4;break q}l=H[e+556>>2];r=l+4|0;if((k|0)==(r|0)){c=0;break e}w=H[l>>2];H[e+556>>2]=r;p=b-p|0;H[e+560>>2]=p;H[i>>2]=H[l+4>>2]>>>32-p|w<<m>>>32-b}b=H[j>>2]<<2;j=b+c|0;H[j>>2]=H[j>>2]|H[b+H[o>>2]>>2];a=a+1|0;if(a>>>0<K[e+12>>2]){continue}break}}j=0;a=H[g+16>>2];r:{if((a|0)==H[g+20>>2]){break r}while(1){k=H[g+28>>2];i=N(j,20)+a|0;m=H[i>>2];if(!I[m+84|0]){k=H[H[m+68>>2]+(k<<2)>>2]}if(K[m+80>>2]<=k>>>0){break r}l=H[e+604>>2]+(H[i+4>>2]<<2)|0;c=H[i+12>>2];b=l;s:{if(c>>>0>3){break s}a=0;b=H[g+12>>2];if(!H[i+16>>2]){break s}while(1){b=ta(b,l+(a<<2)|0,c);c=H[i+12>>2];b=b+c|0;a=a+1|0;if(a>>>0<K[i+16>>2]){continue}break}b=H[g+12>>2]}a=H[m+40>>2];ta(H[H[m>>2]>>2]+N(a,k)|0,b,a);j=j+1|0;a=H[g+16>>2];if(j>>>0<(H[g+20>>2]-a|0)/20>>>0){continue}break}}H[g+28>>2]=H[g+28>>2]+1;H[e+8>>2]=H[e+8>>2]+1;h=h+1|0;if((f|0)!=(h|0)){continue}break}}a=H[d+28>>2]}if(a){continue}break}c=1}H[d+28>>2]=0;h=H[d+16>>2];a=H[d+12>>2];b=h-a|0;if(b>>>0>=9){while(1){ra(H[a>>2]);a=H[d+12>>2]+4|0;H[d+12>>2]=a;h=H[d+16>>2];b=h-a|0;if(b>>>0>8){continue}break}}e=170;t:{switch((b>>>2|0)-1|0){case 1:e=341;case 0:H[d+24>>2]=e;break;default:break t}}u:{if((a|0)==(h|0)){break u}while(1){ra(H[a>>2]);a=a+4|0;if((h|0)!=(a|0)){continue}break}a=H[d+16>>2];b=H[d+12>>2];if((a|0)==(b|0)){break u}H[d+16>>2]=a+((b-a|0)+3&-4)}a=H[d+8>>2];if(a){ra(a)}fa=d+32|0;break b}va();v()}va();v()}e=c}return e}function td(a,b,c){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,w=0;d=H[b+12>>2];g=H[b+20>>2];f=H[b+16>>2];i=f+4|0;g=i>>>0<4?g+1|0:g;a:{if((d|0)<=(g|0)&i>>>0>K[b+8>>2]|(d|0)<(g|0)){break a}g=f+H[b>>2]|0;H[a>>2]=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);g=H[b+20>>2];d=g;i=H[b+16>>2];f=i+4|0;g=f>>>0<4?d+1|0:d;k=f;H[b+16>>2]=f;H[b+20>>2]=g;if(K[a>>2]>32){break a}f=H[b+12>>2];g=d;d=i+8|0;g=d>>>0<8?g+1|0:g;if(d>>>0>K[b+8>>2]&(g|0)>=(f|0)|(g|0)>(f|0)){break a}e=k+H[b>>2]|0;g=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[a+4>>2]=g;e=H[b+20>>2];d=H[b+16>>2]+4|0;e=d>>>0<4?e+1|0:e;H[b+16>>2]=d;H[b+20>>2]=e;if(!g){return 1}e=0;H[a+8>>2]=0;if(!vb(a+16|0,b)){break a}if(!xa(a+544|0,b)){break a}if(!xa(a+564|0,b)){break a}if(!xa(a+584|0,b)){break a}q=H[a+4>>2];g=c;b=0;c=0;d=fa-32|0;fa=d;e=a;a=H[a+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;b:{c:{if(a){if(a>>>0>=1073741824){break c}f=a<<2;b=sa(f);H[d+8>>2]=b;c=b+f|0;H[d+16>>2]=c;ua(b,0,f);H[d+12>>2]=c}f=H[e+628>>2];i=H[f>>2];if(i){H[f+4>>2]=i;ra(i);c=H[d+12>>2];b=H[d+8>>2];a=H[e+12>>2]}H[f+4>>2]=c;H[f>>2]=b;H[f+8>>2]=H[d+16>>2];b=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d:{if(a){if(a>>>0>=1073741824){break d}a=a<<2;h=sa(a);H[d+8>>2]=h;b=a+h|0;H[d+16>>2]=b;ua(h,0,a);H[d+12>>2]=b}a=H[e+640>>2];c=H[a>>2];if(c){H[a+4>>2]=c;ra(c);h=H[d+8>>2];b=H[d+12>>2]}H[a+4>>2]=b;H[a>>2]=h;H[a+8>>2]=H[d+16>>2];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;ya(d+8|0);a=H[d+24>>2]+H[d+28>>2]|0;b=(a>>>0)/341|0;a=H[H[d+12>>2]+(b<<2)>>2]+N(a-N(b,341)|0,12)|0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=q;c=1;a=H[d+28>>2]+1|0;H[d+28>>2]=a;e:{if(!a){break e}s=e+16|0;while(1){b=H[d+12>>2];h=H[d+24>>2];c=a-1|0;f=h+c|0;i=(f>>>0)/341|0;f=H[b+(i<<2)>>2]+N(f-N(i,341)|0,12)|0;i=H[f+8>>2];f=H[f>>2];H[d+28>>2]=c;c=H[d+16>>2];if((((b|0)!=(c|0)?N(c-b>>2,341)-1|0:0)-(a+h|0)|0)+1>>>0>=682){ra(H[c-4>>2]);H[d+16>>2]=H[d+16>>2]-4}c=0;if(f>>>0>q>>>0){break e}a=H[e+628>>2];k=N(i,12);n=k+H[e+640>>2]|0;h=Ud(e,f,n);if(h>>>0>=K[e+12>>2]){break e}o=a+k|0;b=H[e>>2];j=h<<2;m=H[j+H[n>>2]>>2];f:{g:{if((b|0)==(m|0)){if(!f){break g}c=H[g+16>>2];b=H[g+20>>2];j=0;while(1){h=(b|0)==(c|0);a=b;k=0;b=c;h:{if(h){break h}while(1){i=H[g+28>>2];b=a;h=N(k,20)+c|0;l=H[h>>2];if(!I[l+84|0]){i=H[H[l+68>>2]+(i<<2)>>2]}if(K[l+80>>2]<=i>>>0){break h}n=H[o>>2]+(H[h+4>>2]<<2)|0;c=H[h+12>>2];b=n;i:{if(c>>>0>3){break i}a=0;b=H[g+12>>2];if(!H[h+16>>2]){break i}while(1){b=ta(b,n+(a<<2)|0,c);c=H[h+12>>2];b=b+c|0;a=a+1|0;if(a>>>0<K[h+16>>2]){continue}break}b=H[g+12>>2]}a=H[l+40>>2];ta(H[H[l>>2]>>2]+N(a,i)|0,b,a);a=H[g+20>>2];b=a;k=k+1|0;c=H[g+16>>2];if(k>>>0<(a-c|0)/20>>>0){continue}break}}H[g+28>>2]=H[g+28>>2]+1;H[e+8>>2]=H[e+8>>2]+1;j=j+1|0;if((f|0)!=(j|0)){continue}break}break g}j:{k:{l:{if(f>>>0<=2){c=H[e+616>>2];H[c>>2]=h;a=1;b=H[e+12>>2];if(b>>>0>1){break l}break j}if(K[e+8>>2]>K[e+4>>2]){break e}a=H[e+628>>2];n=i+1|0;l=N(n,12);c=a+l|0;if((c|0)!=(o|0)){Ca(c,H[o>>2],H[o+4>>2]);a=H[e+628>>2]}a=j+H[a+l>>2]|0;H[a>>2]=H[a>>2]+(1<<b+(m^-1));b=0;a=0;c=Q(f)^31;if(!c){a=f>>>1|0;break k}while(1){b=Da((a<<4)+s|0)|b<<1;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=f>>>1|0;if(b>>>0<=a>>>0){break k}c=0;break e}while(1){h=(b-1|0)!=(h|0)?h+1|0:0;H[c+(a<<2)>>2]=h;a=a+1|0;b=H[e+12>>2];if(a>>>0<b>>>0){continue}break}break j}m:{n:{b=a-b|0;a=f-b|0;o:{if((a|0)==(b|0)){a=b;break o}c=H[e+596>>2];if((c|0)==H[e+588>>2]){break n}f=H[c>>2];o=H[e+600>>2];m=o+1|0;H[e+600>>2]=m;f=f&-2147483648>>>o;p:{if((m|0)==32){H[e+600>>2]=0;H[e+596>>2]=c+4;if(f){break p}break n}if(!f){break n}}}c=a;a=b;break m}c=b}b=H[e+640>>2];f=b+k|0;k=H[f>>2];j=k+j|0;H[j>>2]=H[j>>2]+1;Ca(b+l|0,k,H[f+4>>2]);if(a){j=H[d+28>>2]+H[d+24>>2]|0;f=H[d+16>>2];b=H[d+12>>2];if((j|0)==(((b|0)!=(f|0)?N(f-b>>2,341)-1|0:0)|0)){ya(d+8|0);j=H[d+24>>2]+H[d+28>>2]|0;f=H[d+12>>2]}else{f=b}b=(j>>>0)/341|0;b=H[f+(b<<2)>>2]+N(j-N(b,341)|0,12)|0;H[b+8>>2]=i;H[b+4>>2]=h;H[b>>2]=a;H[d+28>>2]=H[d+28>>2]+1}if(!c){break g}b=H[d+28>>2]+H[d+24>>2]|0;f=H[d+16>>2];a=H[d+12>>2];if((b|0)==(((a|0)!=(f|0)?N(f-a>>2,341)-1|0:0)|0)){ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;f=H[d+12>>2]}else{f=a}a=(b>>>0)/341|0;a=H[f+(a<<2)>>2]+N(b-N(a,341)|0,12)|0;H[a+8>>2]=n;H[a+4>>2]=h;H[a>>2]=c;a=H[d+28>>2]+1|0;H[d+28>>2]=a;break f}h=0;if(!f){break g}while(1){if(H[e+12>>2]){i=H[e+548>>2];t=H[n>>2];c=H[e+604>>2];u=H[e+616>>2];a=0;while(1){k=(a<<2)+u|0;H[c+(H[k>>2]<<2)>>2]=0;b=H[e>>2];j=H[k>>2]<<2;l=H[j+t>>2];q:{if((b|0)==(l|0)){break q}j=c+j|0;b=b-l|0;l=H[e+560>>2];p=32-l|0;if((b|0)<=(p|0)){m=H[e+556>>2];if((m|0)==(i|0)){c=0;break e}H[j>>2]=H[m>>2]<<l>>>32-b;b=b+H[e+560>>2]|0;H[e+560>>2]=b;if((b|0)!=32){break q}H[e+560>>2]=0;H[e+556>>2]=m+4;break q}m=H[e+556>>2];r=m+4|0;if((i|0)==(r|0)){c=0;break e}w=H[m>>2];H[e+556>>2]=r;p=b-p|0;H[e+560>>2]=p;H[j>>2]=H[m+4>>2]>>>32-p|w<<l>>>32-b}b=H[k>>2]<<2;k=b+c|0;H[k>>2]=H[k>>2]|H[b+H[o>>2]>>2];a=a+1|0;if(a>>>0<K[e+12>>2]){continue}break}}k=0;a=H[g+16>>2];r:{if((a|0)==H[g+20>>2]){break r}while(1){i=H[g+28>>2];j=N(k,20)+a|0;l=H[j>>2];if(!I[l+84|0]){i=H[H[l+68>>2]+(i<<2)>>2]}if(K[l+80>>2]<=i>>>0){break r}m=H[e+604>>2]+(H[j+4>>2]<<2)|0;c=H[j+12>>2];b=m;s:{if(c>>>0>3){break s}a=0;b=H[g+12>>2];if(!H[j+16>>2]){break s}while(1){b=ta(b,m+(a<<2)|0,c);c=H[j+12>>2];b=b+c|0;a=a+1|0;if(a>>>0<K[j+16>>2]){continue}break}b=H[g+12>>2]}a=H[l+40>>2];ta(H[H[l>>2]>>2]+N(a,i)|0,b,a);k=k+1|0;a=H[g+16>>2];if(k>>>0<(H[g+20>>2]-a|0)/20>>>0){continue}break}}H[g+28>>2]=H[g+28>>2]+1;H[e+8>>2]=H[e+8>>2]+1;h=h+1|0;if((f|0)!=(h|0)){continue}break}}a=H[d+28>>2]}if(a){continue}break}c=1}H[d+28>>2]=0;h=H[d+16>>2];a=H[d+12>>2];b=h-a|0;if(b>>>0>=9){while(1){ra(H[a>>2]);a=H[d+12>>2]+4|0;H[d+12>>2]=a;h=H[d+16>>2];b=h-a|0;if(b>>>0>8){continue}break}}e=170;t:{switch((b>>>2|0)-1|0){case 1:e=341;case 0:H[d+24>>2]=e;break;default:break t}}u:{if((a|0)==(h|0)){break u}while(1){ra(H[a>>2]);a=a+4|0;if((h|0)!=(a|0)){continue}break}a=H[d+16>>2];b=H[d+12>>2];if((a|0)==(b|0)){break u}H[d+16>>2]=a+((b-a|0)+3&-4)}a=H[d+8>>2];if(a){ra(a)}fa=d+32|0;break b}va();v()}va();v()}e=c}return e}function ud(a,b,c){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,w=0;d=H[b+12>>2];f=H[b+20>>2];h=H[b+16>>2];k=h+4|0;f=k>>>0<4?f+1|0:f;a:{if((d|0)<=(f|0)&k>>>0>K[b+8>>2]|(d|0)<(f|0)){break a}f=h+H[b>>2]|0;H[a>>2]=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);f=H[b+20>>2];d=f;k=H[b+16>>2];h=k+4|0;f=h>>>0<4?d+1|0:d;j=h;H[b+16>>2]=h;H[b+20>>2]=f;if(K[a>>2]>32){break a}h=H[b+12>>2];f=d;d=k+8|0;f=d>>>0<8?f+1|0:f;if(d>>>0>K[b+8>>2]&(f|0)>=(h|0)|(f|0)>(h|0)){break a}e=j+H[b>>2]|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[a+4>>2]=f;e=H[b+20>>2];d=H[b+16>>2]+4|0;e=d>>>0<4?e+1|0:e;H[b+16>>2]=d;H[b+20>>2]=e;if(!f){return 1}e=0;H[a+8>>2]=0;if(!vb(a+16|0,b)){break a}if(!xa(a+544|0,b)){break a}if(!xa(a+564|0,b)){break a}if(!xa(a+584|0,b)){break a}p=H[a+4>>2];b=0;d=fa-32|0;fa=d;f=a;a=H[a+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;b:{c:{if(a){if(a>>>0>=1073741824){break c}e=a<<2;b=sa(e);H[d+8>>2]=b;i=b+e|0;H[d+16>>2]=i;ua(b,0,e);H[d+12>>2]=i}e=H[f+628>>2];h=H[e>>2];if(h){H[e+4>>2]=h;ra(h);i=H[d+12>>2];b=H[d+8>>2];a=H[f+12>>2]}H[e+4>>2]=i;H[e>>2]=b;H[e+8>>2]=H[d+16>>2];b=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d:{if(a){if(a>>>0>=1073741824){break d}a=a<<2;g=sa(a);H[d+8>>2]=g;b=a+g|0;H[d+16>>2]=b;ua(g,0,a);H[d+12>>2]=b}a=H[f+640>>2];e=H[a>>2];if(e){H[a+4>>2]=e;ra(e);g=H[d+8>>2];b=H[d+12>>2]}H[a+4>>2]=b;H[a>>2]=g;H[a+8>>2]=H[d+16>>2];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;ya(d+8|0);a=H[d+24>>2]+H[d+28>>2]|0;b=(a>>>0)/341|0;a=H[H[d+12>>2]+(b<<2)>>2]+N(a-N(b,341)|0,12)|0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=p;e=1;a=H[d+28>>2]+1|0;H[d+28>>2]=a;e:{if(!a){break e}s=f+16|0;while(1){b=H[d+12>>2];k=H[d+24>>2];j=a-1|0;e=k+j|0;i=(e>>>0)/341|0;e=H[b+(i<<2)>>2]+N(e-N(i,341)|0,12)|0;i=H[e+8>>2];g=H[e+4>>2];h=H[e>>2];H[d+28>>2]=j;e=H[d+16>>2];if((((b|0)!=(e|0)?N(e-b>>2,341)-1|0:0)-(a+k|0)|0)+1>>>0>=682){ra(H[e-4>>2]);H[d+16>>2]=H[d+16>>2]-4}if(h>>>0>p>>>0){e=0;break e}e=0;a=H[f+12>>2];g=(g|0)!=(a-1|0)?g+1|0:0;if(g>>>0>=a>>>0){break e}a=H[f+628>>2];k=N(i,12);n=a+k|0;b=H[f>>2];j=g<<2;q=k+H[f+640>>2]|0;l=H[j+H[q>>2]>>2];f:{g:{if((b|0)==(l|0)){if(!h){break g}i=H[c+16>>2];b=H[c+20>>2];k=0;while(1){e=(b|0)==(i|0);a=b;g=0;b=i;h:{if(e){break h}while(1){e=H[c+28>>2];b=a;j=N(g,20)+i|0;l=H[j>>2];if(!I[l+84|0]){e=H[H[l+68>>2]+(e<<2)>>2]}if(K[l+80>>2]<=e>>>0){break h}m=H[n>>2]+(H[j+4>>2]<<2)|0;i=H[j+12>>2];b=m;i:{if(i>>>0>3){break i}a=0;b=H[c+12>>2];if(!H[j+16>>2]){break i}while(1){b=ta(b,m+(a<<2)|0,i);i=H[j+12>>2];b=b+i|0;a=a+1|0;if(a>>>0<K[j+16>>2]){continue}break}b=H[c+12>>2]}a=H[l+40>>2];ta(H[H[l>>2]>>2]+N(a,e)|0,b,a);a=H[c+20>>2];b=a;g=g+1|0;i=H[c+16>>2];if(g>>>0<(a-i|0)/20>>>0){continue}break}}H[c+28>>2]=H[c+28>>2]+1;H[f+8>>2]=H[f+8>>2]+1;k=k+1|0;if((k|0)!=(h|0)){continue}break}break g}j:{k:{l:{if(h>>>0<=2){e=H[f+616>>2];H[e>>2]=g;a=1;b=H[f+12>>2];if(b>>>0>1){break l}break j}if(K[f+8>>2]>K[f+4>>2]){break e}m=a;a=k+12|0;Ca(m+a|0,H[n>>2],H[n+4>>2]);a=j+H[a+H[f+628>>2]>>2]|0;H[a>>2]=H[a>>2]+(1<<b+(l^-1));b=0;a=0;n=Q(h)^31;if(!n){a=h>>>1|0;break k}while(1){b=Da((a<<4)+s|0)|b<<1;a=a+1|0;if((n|0)!=(a|0)){continue}break}a=h>>>1|0;if(b>>>0<=a>>>0){break k}break e}while(1){g=(b-1|0)!=(g|0)?g+1|0:0;H[e+(a<<2)>>2]=g;a=a+1|0;b=H[f+12>>2];if(a>>>0<b>>>0){continue}break}break j}n=i+1|0;m:{n:{b=a-b|0;a=h-b|0;o:{if((a|0)==(b|0)){a=b;break o}e=H[f+596>>2];if((e|0)==H[f+588>>2]){break n}h=H[e>>2];l=H[f+600>>2];m=l+1|0;H[f+600>>2]=m;h=h&-2147483648>>>l;p:{if((m|0)==32){H[f+600>>2]=0;H[f+596>>2]=e+4;if(h){break p}break n}if(!h){break n}}}e=a;a=b;break m}e=b}b=H[f+640>>2];h=b+k|0;k=H[h>>2];j=k+j|0;H[j>>2]=H[j>>2]+1;Ca(b+N(n,12)|0,k,H[h+4>>2]);if(a){h=H[d+28>>2]+H[d+24>>2]|0;k=H[d+16>>2];b=H[d+12>>2];if((h|0)==(((b|0)!=(k|0)?N(k-b>>2,341)-1|0:0)|0)){ya(d+8|0);h=H[d+24>>2]+H[d+28>>2]|0;m=H[d+12>>2]}else{m=b}b=(h>>>0)/341|0;b=H[m+(b<<2)>>2]+N(h-N(b,341)|0,12)|0;H[b+8>>2]=i;H[b+4>>2]=g;H[b>>2]=a;H[d+28>>2]=H[d+28>>2]+1}if(!e){break g}b=H[d+28>>2]+H[d+24>>2]|0;i=H[d+16>>2];a=H[d+12>>2];if((b|0)==(((a|0)!=(i|0)?N(i-a>>2,341)-1|0:0)|0)){ya(d+8|0);b=H[d+24>>2]+H[d+28>>2]|0;m=H[d+12>>2]}else{m=a}a=(b>>>0)/341|0;a=H[m+(a<<2)>>2]+N(b-N(a,341)|0,12)|0;H[a+8>>2]=n;H[a+4>>2]=g;H[a>>2]=e;a=H[d+28>>2]+1|0;H[d+28>>2]=a;break f}k=0;if(!h){break g}while(1){if(H[f+12>>2]){i=H[f+548>>2];t=H[q>>2];e=H[f+604>>2];u=H[f+616>>2];a=0;while(1){g=u+(a<<2)|0;H[(H[g>>2]<<2)+e>>2]=0;b=H[f>>2];j=H[g>>2]<<2;l=H[j+t>>2];q:{if((b|0)==(l|0)){break q}j=e+j|0;b=b-l|0;l=H[f+560>>2];o=32-l|0;if((b|0)<=(o|0)){m=H[f+556>>2];if((m|0)==(i|0)){e=0;break e}H[j>>2]=H[m>>2]<<l>>>32-b;b=H[f+560>>2]+b|0;H[f+560>>2]=b;if((b|0)!=32){break q}H[f+560>>2]=0;H[f+556>>2]=m+4;break q}m=H[f+556>>2];r=m+4|0;if((r|0)==(i|0)){e=0;break e}w=H[m>>2];H[f+556>>2]=r;o=b-o|0;H[f+560>>2]=o;H[j>>2]=H[m+4>>2]>>>32-o|w<<l>>>32-b}b=H[g>>2]<<2;g=b+e|0;H[g>>2]=H[g>>2]|H[b+H[n>>2]>>2];a=a+1|0;if(a>>>0<K[f+12>>2]){continue}break}}g=0;a=H[c+16>>2];r:{if((a|0)==H[c+20>>2]){break r}while(1){e=H[c+28>>2];j=N(g,20)+a|0;l=H[j>>2];if(!I[l+84|0]){e=H[H[l+68>>2]+(e<<2)>>2]}if(K[l+80>>2]<=e>>>0){break r}m=H[f+604>>2]+(H[j+4>>2]<<2)|0;i=H[j+12>>2];b=m;s:{if(i>>>0>3){break s}a=0;b=H[c+12>>2];if(!H[j+16>>2]){break s}while(1){b=ta(b,m+(a<<2)|0,i);i=H[j+12>>2];b=b+i|0;a=a+1|0;if(a>>>0<K[j+16>>2]){continue}break}b=H[c+12>>2]}a=H[l+40>>2];ta(H[H[l>>2]>>2]+N(a,e)|0,b,a);g=g+1|0;a=H[c+16>>2];if(g>>>0<(H[c+20>>2]-a|0)/20>>>0){continue}break}}H[c+28>>2]=H[c+28>>2]+1;H[f+8>>2]=H[f+8>>2]+1;k=k+1|0;if((k|0)!=(h|0)){continue}break}}a=H[d+28>>2]}if(a){continue}break}e=1}H[d+28>>2]=0;g=H[d+16>>2];a=H[d+12>>2];b=g-a|0;if(b>>>0>=9){while(1){ra(H[a>>2]);a=H[d+12>>2]+4|0;H[d+12>>2]=a;g=H[d+16>>2];b=g-a|0;if(b>>>0>8){continue}break}}i=170;t:{switch((b>>>2|0)-1|0){case 1:i=341;case 0:H[d+24>>2]=i;break;default:break t}}u:{if((a|0)==(g|0)){break u}while(1){ra(H[a>>2]);a=a+4|0;if((g|0)!=(a|0)){continue}break}a=H[d+16>>2];b=H[d+12>>2];if((a|0)==(b|0)){break u}H[d+16>>2]=a+((b-a|0)+3&-4)}a=H[d+8>>2];if(a){ra(a)}fa=d+32|0;break b}va();v()}va();v()}}return e}
function xd(a,b,c){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,w=0;i=H[b+12>>2];e=H[b+20>>2];d=H[b+16>>2];j=d+4|0;e=j>>>0<4?e+1|0:e;a:{if(j>>>0>K[b+8>>2]&(e|0)>=(i|0)|(e|0)>(i|0)){break a}e=d+H[b>>2]|0;H[a>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];i=e;j=H[b+16>>2];d=j+4|0;e=d>>>0<4?e+1|0:e;l=d;H[b+16>>2]=d;H[b+20>>2]=e;if(K[a>>2]>32){break a}d=H[b+12>>2];e=i;i=j+8|0;e=i>>>0<8?e+1|0:e;if((d|0)<=(e|0)&i>>>0>K[b+8>>2]|(d|0)<(e|0)){break a}e=l+H[b>>2]|0;g=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[a+4>>2]=g;e=H[b+20>>2];i=H[b+16>>2]+4|0;e=i>>>0<4?e+1|0:e;H[b+16>>2]=i;H[b+20>>2]=e;if(!g){return 1}g=0;H[a+8>>2]=0;if(!wa(a+16|0,b)){break a}if(!xa(a+32|0,b)){break a}if(!xa(a+52|0,b)){break a}if(!xa(a+72|0,b)){break a}r=H[a+4>>2];i=c;b=0;d=fa-32|0;fa=d;g=a;a=H[a+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;b:{c:{if(a){if(a>>>0>=1073741824){break c}c=a<<2;b=sa(c);H[d+8>>2]=b;h=b+c|0;H[d+16>>2]=h;ua(b,0,c);H[d+12>>2]=h}c=H[g+116>>2];e=H[c>>2];if(e){H[c+4>>2]=e;ra(e);h=H[d+12>>2];b=H[d+8>>2];a=H[g+12>>2]}H[c+4>>2]=h;H[c>>2]=b;H[c+8>>2]=H[d+16>>2];b=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d:{if(a){if(a>>>0>=1073741824){break d}a=a<<2;f=sa(a);H[d+8>>2]=f;b=a+f|0;H[d+16>>2]=b;ua(f,0,a);H[d+12>>2]=b}a=H[g+128>>2];c=H[a>>2];if(c){H[a+4>>2]=c;ra(c);f=H[d+8>>2];b=H[d+12>>2]}H[a+4>>2]=b;H[a>>2]=f;H[a+8>>2]=H[d+16>>2];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;ya(d+8|0);a=H[d+24>>2]+H[d+28>>2]|0;b=(a>>>0)/341|0;a=H[H[d+12>>2]+(b<<2)>>2]+N(a-N(b,341)|0,12)|0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=r;c=1;a=H[d+28>>2]+1|0;H[d+28>>2]=a;e:{if(!a){break e}t=g+16|0;while(1){b=H[d+12>>2];f=H[d+24>>2];l=a-1|0;c=f+l|0;e=(c>>>0)/341|0;c=H[b+(e<<2)>>2]+N(c-N(e,341)|0,12)|0;h=H[c+8>>2];e=H[c+4>>2];j=H[c>>2];H[d+28>>2]=l;c=H[d+16>>2];if((((b|0)!=(c|0)?N(c-b>>2,341)-1|0:0)-(a+f|0)|0)+1>>>0>=682){ra(H[c-4>>2]);H[d+16>>2]=H[d+16>>2]-4}c=0;if(j>>>0>r>>>0){break e}b=H[g+12>>2];a=(b-1|0)!=(e|0)?e+1|0:0;if(a>>>0>=b>>>0){break e}f=N(h,12);o=f+H[g+128>>2]|0;l=f+H[g+116>>2]|0;e=H[g>>2];k=a<<2;m=H[k+H[o>>2]>>2];f:{if((e|0)==(m|0)){if(!j){break f}o=0;b=H[i+20>>2];h=H[i+16>>2];if((b|0)==(h|0)){a=H[g+8>>2];H[i+28>>2]=j+H[i+28>>2];H[g+8>>2]=a+j;break f}while(1){c=(b|0)==(h|0);a=b;e=0;b=h;g:{if(c){break g}while(1){f=H[i+28>>2];b=a;c=N(e,20)+h|0;k=H[c>>2];if(!I[k+84|0]){f=H[H[k+68>>2]+(f<<2)>>2]}if(K[k+80>>2]<=f>>>0){break g}m=H[l>>2]+(H[c+4>>2]<<2)|0;h=H[c+12>>2];b=m;h:{if(h>>>0>3){break h}a=0;b=H[i+12>>2];if(!H[c+16>>2]){break h}while(1){b=ta(b,m+(a<<2)|0,h);h=H[c+12>>2];b=b+h|0;a=a+1|0;if(a>>>0<K[c+16>>2]){continue}break}b=H[i+12>>2]}a=H[k+40>>2];ta(H[H[k>>2]>>2]+N(a,f)|0,b,a);e=e+1|0;a=H[i+20>>2];b=a;h=H[i+16>>2];if(e>>>0<(b-h|0)/20>>>0){continue}break}}H[i+28>>2]=H[i+28>>2]+1;H[g+8>>2]=H[g+8>>2]+1;o=o+1|0;if((j|0)!=(o|0)){continue}break}break f}i:{j:{k:{l:{if(j>>>0<=2){c=H[g+104>>2];H[c>>2]=a;f=1;b=H[g+12>>2];if(b>>>0>1){break l}break i}if(K[g+8>>2]>K[g+4>>2]){break e}b=H[g+116>>2];n=h+1|0;o=N(n,12);q=b+o|0;if((q|0)!=(l|0)){Ca(q,H[l>>2],H[l+4>>2]);b=H[g+116>>2]}b=k+H[b+o>>2]|0;H[b>>2]=H[b>>2]+(1<<e+(m^-1));H[d+4>>2]=0;qc(t,Q(j)^31,d+4|0);b=j>>>1|0;e=H[d+4>>2];if(b>>>0<e>>>0){break e}b=b-e|0;c=j-b|0;m:{if((c|0)==(b|0)){c=b;break m}e=H[g+84>>2];if((e|0)==H[g+76>>2]){break k}j=H[e>>2];l=H[g+88>>2];m=l+1|0;H[g+88>>2]=m;j=j&-2147483648>>>l;n:{if((m|0)==32){H[g+88>>2]=0;H[g+84>>2]=e+4;if(j){break n}break k}if(!j){break k}}}e=c;c=b;break j}while(1){a=(b-1|0)!=(a|0)?a+1|0:0;H[c+(f<<2)>>2]=a;b=H[g+12>>2];f=f+1|0;if(b>>>0>f>>>0){continue}break}break i}e=b}b=H[g+128>>2];f=b+f|0;j=H[f>>2];l=j+k|0;H[l>>2]=H[l>>2]+1;Ca(b+o|0,j,H[f+4>>2]);if(c){b=H[d+28>>2]+H[d+24>>2]|0;j=H[d+16>>2];f=H[d+12>>2];if((b|0)==(((f|0)!=(j|0)?N(j-f>>2,341)-1|0:0)|0)){ya(d+8|0);f=H[d+12>>2];b=H[d+24>>2]+H[d+28>>2]|0}m=f;f=(b>>>0)/341|0;b=H[m+(f<<2)>>2]+N(b-N(f,341)|0,12)|0;H[b+8>>2]=h;H[b+4>>2]=a;H[b>>2]=c;H[d+28>>2]=H[d+28>>2]+1}if(!e){break f}b=H[d+28>>2]+H[d+24>>2]|0;c=H[d+16>>2];f=H[d+12>>2];if((b|0)==(((c|0)!=(f|0)?N(c-f>>2,341)-1|0:0)|0)){ya(d+8|0);f=H[d+12>>2];b=H[d+24>>2]+H[d+28>>2]|0}c=(b>>>0)/341|0;b=H[(c<<2)+f>>2]+N(b-N(c,341)|0,12)|0;H[b+8>>2]=n;H[b+4>>2]=a;H[b>>2]=e;H[d+28>>2]=H[d+28>>2]+1;break f}m=0;if(!j){break f}while(1){if(H[g+12>>2]){e=H[g+36>>2];q=H[o>>2];c=H[g+92>>2];u=H[g+104>>2];a=0;while(1){h=(a<<2)+u|0;H[c+(H[h>>2]<<2)>>2]=0;b=H[g>>2];f=H[h>>2]<<2;k=H[f+q>>2];o:{if((b|0)==(k|0)){break o}f=c+f|0;b=b-k|0;k=H[g+48>>2];p=32-k|0;if((b|0)<=(p|0)){n=H[g+44>>2];if((n|0)==(e|0)){c=0;break e}H[f>>2]=H[n>>2]<<k>>>32-b;b=b+H[g+48>>2]|0;H[g+48>>2]=b;if((b|0)!=32){break o}H[g+48>>2]=0;H[g+44>>2]=n+4;break o}n=H[g+44>>2];s=n+4|0;if((e|0)==(s|0)){c=0;break e}w=H[n>>2];H[g+44>>2]=s;p=b-p|0;H[g+48>>2]=p;H[f>>2]=H[n+4>>2]>>>32-p|w<<k>>>32-b}b=H[h>>2]<<2;h=b+c|0;H[h>>2]=H[h>>2]|H[b+H[l>>2]>>2];a=a+1|0;if(a>>>0<K[g+12>>2]){continue}break}}e=0;a=H[i+16>>2];p:{if((a|0)==H[i+20>>2]){break p}while(1){f=H[i+28>>2];c=N(e,20)+a|0;k=H[c>>2];if(!I[k+84|0]){f=H[H[k+68>>2]+(f<<2)>>2]}if(K[k+80>>2]<=f>>>0){break p}n=H[g+92>>2]+(H[c+4>>2]<<2)|0;h=H[c+12>>2];b=n;q:{if(h>>>0>3){break q}a=0;b=H[i+12>>2];if(!H[c+16>>2]){break q}while(1){b=ta(b,n+(a<<2)|0,h);h=H[c+12>>2];b=b+h|0;a=a+1|0;if(a>>>0<K[c+16>>2]){continue}break}b=H[i+12>>2]}a=H[k+40>>2];ta(H[H[k>>2]>>2]+N(a,f)|0,b,a);e=e+1|0;a=H[i+16>>2];if(e>>>0<(H[i+20>>2]-a|0)/20>>>0){continue}break}}H[i+28>>2]=H[i+28>>2]+1;H[g+8>>2]=H[g+8>>2]+1;m=m+1|0;if((j|0)!=(m|0)){continue}break}}a=H[d+28>>2];if(a){continue}break}c=1}H[d+28>>2]=0;f=H[d+16>>2];a=H[d+12>>2];b=f-a|0;if(b>>>0>=9){while(1){ra(H[a>>2]);a=H[d+12>>2]+4|0;H[d+12>>2]=a;f=H[d+16>>2];b=f-a|0;if(b>>>0>8){continue}break}}h=170;r:{switch((b>>>2|0)-1|0){case 1:h=341;case 0:H[d+24>>2]=h;break;default:break r}}s:{if((a|0)==(f|0)){break s}while(1){ra(H[a>>2]);a=a+4|0;if((f|0)!=(a|0)){continue}break}a=H[d+16>>2];b=H[d+12>>2];if((a|0)==(b|0)){break s}H[d+16>>2]=a+((b-a|0)+3&-4)}a=H[d+8>>2];if(a){ra(a)}fa=d+32|0;break b}va();v()}va();v()}g=c}return g}function wd(a,b,c){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,w=0;i=H[b+12>>2];e=H[b+20>>2];h=H[b+16>>2];d=h+4|0;e=d>>>0<4?e+1|0:e;a:{if(d>>>0>K[b+8>>2]&(e|0)>=(i|0)|(e|0)>(i|0)){break a}e=h+H[b>>2]|0;H[a>>2]=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=H[b+20>>2];i=e;d=H[b+16>>2];h=d+4|0;e=h>>>0<4?e+1|0:e;j=h;H[b+16>>2]=h;H[b+20>>2]=e;if(K[a>>2]>32){break a}h=H[b+12>>2];e=i;i=d+8|0;e=i>>>0<8?e+1|0:e;if(i>>>0>K[b+8>>2]&(e|0)>=(h|0)|(e|0)>(h|0)){break a}e=j+H[b>>2]|0;g=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[a+4>>2]=g;e=H[b+20>>2];i=H[b+16>>2]+4|0;e=i>>>0<4?e+1|0:e;H[b+16>>2]=i;H[b+20>>2]=e;if(!g){return 1}g=0;H[a+8>>2]=0;if(!wa(a+16|0,b)){break a}if(!xa(a+32|0,b)){break a}if(!xa(a+52|0,b)){break a}if(!xa(a+72|0,b)){break a}p=H[a+4>>2];i=c;b=0;c=0;d=fa-32|0;fa=d;g=a;a=H[a+12>>2];H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;b:{c:{if(a){if(a>>>0>=1073741824){break c}e=a<<2;b=sa(e);H[d+8>>2]=b;c=b+e|0;H[d+16>>2]=c;ua(b,0,e);H[d+12>>2]=c}e=H[g+116>>2];h=H[e>>2];if(h){H[e+4>>2]=h;ra(h);c=H[d+12>>2];b=H[d+8>>2];a=H[g+12>>2]}H[e+4>>2]=c;H[e>>2]=b;H[e+8>>2]=H[d+16>>2];b=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d:{if(a){if(a>>>0>=1073741824){break d}a=a<<2;f=sa(a);H[d+8>>2]=f;b=a+f|0;H[d+16>>2]=b;ua(f,0,a);H[d+12>>2]=b}a=H[g+128>>2];c=H[a>>2];if(c){H[a+4>>2]=c;ra(c);f=H[d+8>>2];b=H[d+12>>2]}H[a+4>>2]=b;H[a>>2]=f;H[a+8>>2]=H[d+16>>2];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;ya(d+8|0);a=H[d+24>>2]+H[d+28>>2]|0;b=(a>>>0)/341|0;a=H[H[d+12>>2]+(b<<2)>>2]+N(a-N(b,341)|0,12)|0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=p;h=1;a=H[d+28>>2]+1|0;H[d+28>>2]=a;e:{if(!a){break e}s=g+16|0;while(1){b=H[d+12>>2];h=H[d+24>>2];f=a-1|0;c=h+f|0;e=(c>>>0)/341|0;c=H[b+(e<<2)>>2]+N(c-N(e,341)|0,12)|0;k=H[c+8>>2];e=H[c+4>>2];j=H[c>>2];H[d+28>>2]=f;c=H[d+16>>2];if((((b|0)!=(c|0)?N(c-b>>2,341)-1|0:0)-(a+h|0)|0)+1>>>0>=682){ra(H[c-4>>2]);H[d+16>>2]=H[d+16>>2]-4}if(j>>>0>p>>>0){h=0;break e}h=0;b=H[g+12>>2];a=(e|0)!=(b-1|0)?e+1|0:0;if(a>>>0>=b>>>0){break e}b=H[g+116>>2];f=N(k,12);n=b+f|0;c=H[g>>2];m=a<<2;q=f+H[g+128>>2]|0;e=H[m+H[q>>2]>>2];f:{if((c|0)==(e|0)){if(!j){break f}b=H[i+20>>2];c=H[i+16>>2];if((b|0)==(c|0)){a=H[g+8>>2];H[i+28>>2]=j+H[i+28>>2];H[g+8>>2]=a+j;break f}while(1){f=(b|0)==(c|0);a=b;e=0;b=c;g:{if(f){break g}while(1){f=H[i+28>>2];b=a;k=N(e,20)+c|0;m=H[k>>2];if(!I[m+84|0]){f=H[H[m+68>>2]+(f<<2)>>2]}if(K[m+80>>2]<=f>>>0){break g}l=H[n>>2]+(H[k+4>>2]<<2)|0;c=H[k+12>>2];b=l;h:{if(c>>>0>3){break h}a=0;b=H[i+12>>2];if(!H[k+16>>2]){break h}while(1){b=ta(b,l+(a<<2)|0,c);c=H[k+12>>2];b=b+c|0;a=a+1|0;if(a>>>0<K[k+16>>2]){continue}break}b=H[i+12>>2]}a=H[m+40>>2];ta(H[H[m>>2]>>2]+N(a,f)|0,b,a);e=e+1|0;a=H[i+20>>2];b=a;c=H[i+16>>2];if(e>>>0<(b-c|0)/20>>>0){continue}break}}H[i+28>>2]=H[i+28>>2]+1;H[g+8>>2]=H[g+8>>2]+1;h=h+1|0;if((j|0)!=(h|0)){continue}break}break f}i:{j:{k:{l:{if(j>>>0<=2){c=H[g+104>>2];H[c>>2]=a;f=1;b=H[g+12>>2];if(b>>>0>1){break l}break i}if(K[g+8>>2]>K[g+4>>2]){break e}l=b;b=f+12|0;Ca(l+b|0,H[n>>2],H[n+4>>2]);b=m+H[b+H[g+116>>2]>>2]|0;H[b>>2]=H[b>>2]+(1<<c+(e^-1));H[d+4>>2]=0;qc(s,Q(j)^31,d+4|0);b=j>>>1|0;c=H[d+4>>2];if(b>>>0<c>>>0){break e}h=k+1|0;b=b-c|0;c=j-b|0;m:{if((c|0)==(b|0)){c=b;break m}e=H[g+84>>2];if((e|0)==H[g+76>>2]){break k}j=H[e>>2];n=H[g+88>>2];l=n+1|0;H[g+88>>2]=l;j=j&-2147483648>>>n;n:{if((l|0)==32){H[g+88>>2]=0;H[g+84>>2]=e+4;if(j){break n}break k}if(!j){break k}}}e=c;c=b;break j}while(1){a=(b-1|0)!=(a|0)?a+1|0:0;H[c+(f<<2)>>2]=a;b=H[g+12>>2];f=f+1|0;if(b>>>0>f>>>0){continue}break}break i}e=b}b=H[g+128>>2];f=b+f|0;j=H[f>>2];n=j+m|0;H[n>>2]=H[n>>2]+1;Ca(b+N(h,12)|0,j,H[f+4>>2]);if(c){b=H[d+28>>2]+H[d+24>>2]|0;j=H[d+16>>2];f=H[d+12>>2];if((b|0)==(((f|0)!=(j|0)?N(j-f>>2,341)-1|0:0)|0)){ya(d+8|0);f=H[d+12>>2];b=H[d+24>>2]+H[d+28>>2]|0}l=f;f=(b>>>0)/341|0;b=H[l+(f<<2)>>2]+N(b-N(f,341)|0,12)|0;H[b+8>>2]=k;H[b+4>>2]=a;H[b>>2]=c;H[d+28>>2]=H[d+28>>2]+1}if(!e){break f}b=H[d+28>>2]+H[d+24>>2]|0;c=H[d+16>>2];f=H[d+12>>2];if((b|0)==(((c|0)!=(f|0)?N(c-f>>2,341)-1|0:0)|0)){ya(d+8|0);f=H[d+12>>2];b=H[d+24>>2]+H[d+28>>2]|0}c=(b>>>0)/341|0;b=H[(c<<2)+f>>2]+N(b-N(c,341)|0,12)|0;H[b+8>>2]=h;H[b+4>>2]=a;H[b>>2]=e;H[d+28>>2]=H[d+28>>2]+1;break f}m=0;if(!j){break f}while(1){if(H[g+12>>2]){e=H[g+36>>2];t=H[q>>2];c=H[g+92>>2];u=H[g+104>>2];a=0;while(1){h=(a<<2)+u|0;H[c+(H[h>>2]<<2)>>2]=0;b=H[g>>2];f=H[h>>2]<<2;k=H[f+t>>2];o:{if((b|0)==(k|0)){break o}f=c+f|0;b=b-k|0;k=H[g+48>>2];o=32-k|0;if((b|0)<=(o|0)){l=H[g+44>>2];if((l|0)==(e|0)){h=0;break e}H[f>>2]=H[l>>2]<<k>>>32-b;b=b+H[g+48>>2]|0;H[g+48>>2]=b;if((b|0)!=32){break o}H[g+48>>2]=0;H[g+44>>2]=l+4;break o}l=H[g+44>>2];r=l+4|0;if((e|0)==(r|0)){h=0;break e}w=H[l>>2];H[g+44>>2]=r;o=b-o|0;H[g+48>>2]=o;H[f>>2]=H[l+4>>2]>>>32-o|w<<k>>>32-b}b=H[h>>2]<<2;h=b+c|0;H[h>>2]=H[h>>2]|H[b+H[n>>2]>>2];a=a+1|0;if(a>>>0<K[g+12>>2]){continue}break}}e=0;a=H[i+16>>2];p:{if((a|0)==H[i+20>>2]){break p}while(1){f=H[i+28>>2];h=N(e,20)+a|0;k=H[h>>2];if(!I[k+84|0]){f=H[H[k+68>>2]+(f<<2)>>2]}if(K[k+80>>2]<=f>>>0){break p}l=H[g+92>>2]+(H[h+4>>2]<<2)|0;c=H[h+12>>2];b=l;q:{if(c>>>0>3){break q}a=0;b=H[i+12>>2];if(!H[h+16>>2]){break q}while(1){b=ta(b,l+(a<<2)|0,c);c=H[h+12>>2];b=b+c|0;a=a+1|0;if(a>>>0<K[h+16>>2]){continue}break}b=H[i+12>>2]}a=H[k+40>>2];ta(H[H[k>>2]>>2]+N(a,f)|0,b,a);e=e+1|0;a=H[i+16>>2];if(e>>>0<(H[i+20>>2]-a|0)/20>>>0){continue}break}}H[i+28>>2]=H[i+28>>2]+1;H[g+8>>2]=H[g+8>>2]+1;m=m+1|0;if((j|0)!=(m|0)){continue}break}}a=H[d+28>>2];if(a){continue}break}h=1}H[d+28>>2]=0;f=H[d+16>>2];a=H[d+12>>2];b=f-a|0;if(b>>>0>=9){while(1){ra(H[a>>2]);a=H[d+12>>2]+4|0;H[d+12>>2]=a;f=H[d+16>>2];b=f-a|0;if(b>>>0>8){continue}break}}c=170;r:{switch((b>>>2|0)-1|0){case 1:c=341;case 0:H[d+24>>2]=c;break;default:break r}}s:{if((a|0)==(f|0)){break s}while(1){ra(H[a>>2]);a=a+4|0;if((f|0)!=(a|0)){continue}break}a=H[d+16>>2];b=H[d+12>>2];if((a|0)==(b|0)){break s}H[d+16>>2]=a+((b-a|0)+3&-4)}a=H[d+8>>2];if(a){ra(a)}fa=d+32|0;a=h;break b}va();v()}va();v()}g=a}return g}function Cj(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,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,O=0,P=0;g=fa+-64|0;fa=g;H[a+8>>2]=e;y=a+32|0;f=H[y>>2];d=H[a+36>>2]-f>>2;a:{b:{if(d>>>0<e>>>0){Aa(y,e-d|0);H[g+56>>2]=0;H[g+60>>2]=0;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;H[g+24>>2]=0;H[g+28>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g>>2]=0;break b}if(d>>>0>e>>>0){H[a+36>>2]=f+(e<<2)}H[g+56>>2]=0;H[g+60>>2]=0;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;H[g+24>>2]=0;H[g+28>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g>>2]=0;d=0;if(!e){break a}}Ia(g+16|0,e,g);h=H[g+28>>2];d=H[g+32>>2]}H[g>>2]=0;d=d-h>>2;c:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break c}H[g+32>>2]=(e<<2)+h;break c}Ia(g+16|12,e-d|0,g)}H[g>>2]=0;f=H[g+40>>2];d=H[g+44>>2]-f>>2;d:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break d}H[g+44>>2]=f+(e<<2);break d}Ia(g+40|0,e-d|0,g)}H[g>>2]=0;f=H[g+52>>2];d=H[g+56>>2]-f>>2;e:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break e}H[g+56>>2]=f+(e<<2);break e}Ia(g+52|0,e-d|0,g)}f:{if(H[a+8>>2]<=0){break f}i=H[g+16>>2];j=H[a+32>>2];h=0;while(1){d=h<<2;f=H[d+i>>2];n=H[a+16>>2];g:{if((f|0)>(n|0)){H[d+j>>2]=n;break g}d=d+j|0;n=H[a+12>>2];if((n|0)>(f|0)){H[d>>2]=n;break g}H[d>>2]=f}h=h+1|0;d=H[a+8>>2];if((h|0)<(d|0)){continue}break}if((d|0)<=0){break f}d=0;while(1){i=d<<2;f=i+c|0;i=H[b+i>>2]+H[j+i>>2]|0;H[f>>2]=i;h:{if((i|0)>H[a+16>>2]){i=i-H[a+20>>2]|0}else{if((i|0)>=H[a+12>>2]){break h}i=i+H[a+20>>2]|0}H[f>>2]=i}d=d+1|0;if((d|0)<H[a+8>>2]){continue}break}}G=H[a+52>>2];q=H[a+48>>2];z=sa(16);d=z;H[d>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;H[g+8>>2]=0;H[g>>2]=0;H[g+4>>2]=0;i:{if(e){if(e>>>0>=1073741824){break i}d=e<<2;s=sa(d);H[g>>2]=s;H[g+8>>2]=d+s;ua(s,0,d)}d=H[a+56>>2];A=H[d>>2];d=H[d+4>>2]-A|0;j:{if((d|0)<5){break j}u=d>>2;I=(u|0)<=2?2:u;J=u>>>0<=1?1:u;B=e&-2;C=e&1;K=e&-4;D=e&3;E=e-1|0;L=e<<2;M=e>>>0<4;F=1;n=1;while(1){k:{l:{m:{n:{if((n|0)!=(J|0)){o:{p:{f=H[(n<<2)+A>>2];if((f|0)==-1){break p}k=1;d=f+2|0;j=(f>>>0)%3|0;w=j?f-1|0:d;o=1<<w;t=w>>>5|0;i=0;O=(j|0)!=0|(d|0)!=-1;P=H[q>>2];d=f;q:{while(1){r:{if(H[(d>>>3&536870908)+P>>2]>>>d&1){break r}j=H[H[H[q+64>>2]+12>>2]+(d<<2)>>2];if((j|0)==-1){break r}m=H[G>>2];h=H[q+28>>2];r=H[m+(H[h+(j<<2)>>2]<<2)>>2];if((r|0)>=(n|0)){break r}l=j+1|0;l=H[m+(H[h+(((l>>>0)%3|0?l:j-2|0)<<2)>>2]<<2)>>2];if((l|0)>=(n|0)){break r}h=H[m+(H[h+(j+((j>>>0)%3|0?-1:2)<<2)>>2]<<2)>>2];if((h|0)>=(n|0)){break r}s:{if(!e){break s}j=H[(g+16|0)+N(i,12)>>2];m=N(e,h);l=N(e,l);r=N(e,r);h=0;x=0;if(E){while(1){H[j+(h<<2)>>2]=(H[(h+m<<2)+c>>2]+H[(h+l<<2)+c>>2]|0)-H[(h+r<<2)+c>>2];p=h|1;H[j+(p<<2)>>2]=(H[(m+p<<2)+c>>2]+H[(l+p<<2)+c>>2]|0)-H[(r+p<<2)+c>>2];h=h+2|0;x=x+2|0;if((B|0)!=(x|0)){continue}break}}if(!C){break s}H[j+(h<<2)>>2]=(H[(h+m<<2)+c>>2]+H[(h+l<<2)+c>>2]|0)-H[(h+r<<2)+c>>2]}j=4;i=i+1|0;if((i|0)==4){break q}}t:{if(k&1){h=d-2|0;j=d+1|0;d=-1;j=(j>>>0)%3|0?j:h;if((j|0)==-1|H[H[q>>2]+(j>>>3&536870908)>>2]>>>j&1){break t}j=H[H[H[q+64>>2]+12>>2]+(j<<2)>>2];if((j|0)==-1){break t}d=j+1|0;d=(d>>>0)%3|0?d:j-2|0;break t}u:{if((d>>>0)%3|0){h=d-1|0;break u}h=d+2|0;d=-1;if((h|0)==-1){break t}}d=-1;if(H[H[q>>2]+(h>>>3&536870908)>>2]>>>h&1){break t}j=H[H[H[q+64>>2]+12>>2]+(h<<2)>>2];if((j|0)==-1){break t}if((j>>>0)%3|0){d=j-1|0;break t}d=j+2|0}v:{if((d|0)==(f|0)){break v}if(!((k^1)&1|(d|0)!=-1)){if(!O|o&H[H[q>>2]+(t<<2)>>2]){break v}d=H[H[H[q+64>>2]+12>>2]+(w<<2)>>2];if((d|0)==-1){break v}k=0;d=(d>>>0)%3|0?d-1|0:d+2|0}if((d|0)!=-1){continue}}break}j=i;if((j|0)<=0){break p}}if(e){ua(s,0,L)}d=j-1|0;r=(d<<2)+z|0;d=N(d,12)+a|0;w=d;x=H[d- -64>>2];k=0;d=H[g>>2];f=0;while(1){i=H[r>>2];H[r>>2]=i+1;if(i>>>0>=x>>>0){break j}w:{if(H[H[w+60>>2]+(i>>>3&536870908)>>2]>>>i&1){break w}f=f+1|0;if(!e){break w}m=H[(g+16|0)+N(k,12)>>2];i=0;h=0;p=0;if(!M){while(1){l=h<<2;o=l+d|0;H[o>>2]=H[m+l>>2]+H[o>>2];o=l|4;t=o+d|0;H[t>>2]=H[m+o>>2]+H[t>>2];o=l|8;t=o+d|0;H[t>>2]=H[m+o>>2]+H[t>>2];l=l|12;o=l+d|0;H[o>>2]=H[m+l>>2]+H[o>>2];h=h+4|0;p=p+4|0;if((K|0)!=(p|0)){continue}break}}if(!D){break w}while(1){l=h<<2;p=l+d|0;H[p>>2]=H[m+l>>2]+H[p>>2];h=h+1|0;i=i+1|0;if((D|0)!=(i|0)){continue}break}}k=k+1|0;if((k|0)!=(j|0)){continue}break}i=N(e,n);if(!f){break o}if(!e){break l}h=0;d=0;if(E){break n}break m}i=N(e,n)}if(H[a+8>>2]<=0){break k}k=(N(n-1|0,e)<<2)+c|0;j=H[y>>2];h=0;while(1){d=h<<2;f=H[d+k>>2];m=H[a+16>>2];x:{if((f|0)>(m|0)){H[d+j>>2]=m;break x}d=d+j|0;m=H[a+12>>2];if((m|0)>(f|0)){H[d>>2]=m;break x}H[d>>2]=f}h=h+1|0;f=H[a+8>>2];if((h|0)<(f|0)){continue}break}d=0;if((f|0)<=0){break k}f=i<<2;h=f+c|0;k=b+f|0;while(1){i=d<<2;f=i+h|0;i=H[i+k>>2]+H[j+i>>2]|0;H[f>>2]=i;y:{if((i|0)>H[a+16>>2]){i=i-H[a+20>>2]|0}else{if((i|0)>=H[a+12>>2]){break y}i=i+H[a+20>>2]|0}H[f>>2]=i}d=d+1|0;if((d|0)<H[a+8>>2]){continue}break}break k}Ea();v()}while(1){j=h<<2;k=j+s|0;H[k>>2]=H[k>>2]/(f|0);j=(j|4)+s|0;H[j>>2]=H[j>>2]/(f|0);h=h+2|0;d=d+2|0;if((B|0)!=(d|0)){continue}break}}if(!C){break l}d=(h<<2)+s|0;H[d>>2]=H[d>>2]/(f|0)}if(H[a+8>>2]<=0){break k}j=H[y>>2];h=0;while(1){d=h<<2;f=H[d+s>>2];k=H[a+16>>2];z:{if((f|0)>(k|0)){H[d+j>>2]=k;break z}d=d+j|0;k=H[a+12>>2];if((k|0)>(f|0)){H[d>>2]=k;break z}H[d>>2]=f}h=h+1|0;f=H[a+8>>2];if((h|0)<(f|0)){continue}break}d=0;if((f|0)<=0){break k}f=i<<2;h=f+c|0;k=b+f|0;while(1){i=d<<2;f=i+h|0;i=H[i+k>>2]+H[j+i>>2]|0;H[f>>2]=i;A:{if((i|0)>H[a+16>>2]){i=i-H[a+20>>2]|0}else{if((i|0)>=H[a+12>>2]){break A}i=i+H[a+20>>2]|0}H[f>>2]=i}d=d+1|0;if((d|0)<H[a+8>>2]){continue}break}}n=n+1|0;F=(u|0)>(n|0);if((n|0)!=(I|0)){continue}break}}a=H[g>>2];if(a){ra(a)}ra(z);a=H[g+52>>2];if(a){H[g+56>>2]=a;ra(a)}a=H[g+40>>2];if(a){H[g+44>>2]=a;ra(a)}a=H[g+28>>2];if(a){H[g+32>>2]=a;ra(a)}a=H[g+16>>2];if(a){H[g+20>>2]=a;ra(a)}fa=g- -64|0;return(F^-1)&1}va();v()}function Zc(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,t=0,u=0,w=0;f=fa-32|0;fa=f;k=H[H[a+4>>2]+44>>2];d=H[a+8>>2];h=H[d>>2];d=H[d+4>>2];H[f+24>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;e=(d-h>>2>>>0)/3|0;d=H[k+96>>2];g=(H[k+100>>2]-d|0)/12|0;a:{if(e>>>0>g>>>0){j=e-g|0;c=H[k+104>>2];h=H[k+100>>2];if(j>>>0<=(c-h|0)/12>>>0){b:{if(!j){break b}d=N(j,12);j=d;e=d-12|0;g=((e>>>0)/12|0)+1&3;c:{if(!g){d=h;break c}d=h;while(1){c=H[f+20>>2];H[d>>2]=H[f+16>>2];H[d+4>>2]=c;H[d+8>>2]=H[f+24>>2];d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}h=h+j|0;if(e>>>0<36){break b}while(1){c=H[f+20>>2];H[d>>2]=H[f+16>>2];H[d+4>>2]=c;H[d+8>>2]=H[f+24>>2];H[d+20>>2]=H[f+24>>2];c=H[f+20>>2];H[d+12>>2]=H[f+16>>2];H[d+16>>2]=c;H[d+32>>2]=H[f+24>>2];c=H[f+20>>2];H[d+24>>2]=H[f+16>>2];H[d+28>>2]=c;c=H[f+20>>2];H[d+36>>2]=H[f+16>>2];H[d+40>>2]=c;H[d+44>>2]=H[f+24>>2];d=d+48|0;if((h|0)!=(d|0)){continue}break}}H[k+100>>2]=h;break a}d:{d=H[k+96>>2];g=(h-d|0)/12|0;e=g+j|0;if(e>>>0<357913942){c=(c-d|0)/12|0;d=c<<1;l=c>>>0>=178956970?357913941:d>>>0>e>>>0?d:e;if(l){if(l>>>0>=357913942){break d}o=sa(N(l,12))}c=N(g,12)+o|0;d=c;m=N(j,12);j=m-12|0;e=((j>>>0)/12|0)+1&3;if(e){d=c;while(1){g=H[f+20>>2];H[d>>2]=H[f+16>>2];H[d+4>>2]=g;H[d+8>>2]=H[f+24>>2];d=d+12|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}e=c+m|0;if(j>>>0>=36){while(1){g=H[f+20>>2];H[d>>2]=H[f+16>>2];H[d+4>>2]=g;H[d+8>>2]=H[f+24>>2];H[d+20>>2]=H[f+24>>2];g=H[f+20>>2];H[d+12>>2]=H[f+16>>2];H[d+16>>2]=g;H[d+32>>2]=H[f+24>>2];g=H[f+20>>2];H[d+24>>2]=H[f+16>>2];H[d+28>>2]=g;g=H[f+20>>2];H[d+36>>2]=H[f+16>>2];H[d+40>>2]=g;H[d+44>>2]=H[f+24>>2];d=d+48|0;if((e|0)!=(d|0)){continue}break}}g=H[k+96>>2];h=h-g|0;d=c+N((h|0)/-12|0,12)|0;if((h|0)>0){ta(d,g,h)}H[k+104>>2]=N(l,12)+o;H[k+100>>2]=e;H[k+96>>2]=d;if(g){ra(g)}break a}va();v()}za();v()}if(e>>>0>=g>>>0){break a}H[k+100>>2]=d+N(e,12)}e:{if(H[a+216>>2]==H[a+220>>2]){e=H[a+4>>2];h=H[e+44>>2];d=H[h+100>>2];m=H[h+96>>2];if((d|0)!=(m|0)){d=(d-m|0)/12|0;g=d>>>0<=1?1:d;c=0;while(1){k=H[a+8>>2];h=m+N(c,12)|0;l=N(c,3);f:{g:{if((l|0)==-1){i=H[(H[k>>2]+(l<<2)|0)+4>>2];n=-1;d=1;break g}i=-1;n=H[H[k>>2]+(l<<2)>>2];d=l+1|0;if((d|0)==-1){d=0;break g}i=H[H[k>>2]+(d<<2)>>2];d=l+2|0;j=-1;if((d|0)==-1){break f}}j=H[H[k>>2]+(d<<2)>>2]}H[h+8>>2]=j;H[h+4>>2]=i;H[h>>2]=n;c=c+1|0;if((g|0)!=(c|0)){continue}break}}H[H[e+4>>2]+80>>2]=b;c=1;break e}h=0;H[f+24>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;o=H[a+8>>2];c=H[o>>2];d=H[o+4>>2];H[f+8>>2]=0;H[f>>2]=0;H[f+4>>2]=0;b=0;h:{i:{j:{k:{l:{m:{if((d|0)!=(c|0)){d=d-c|0;if((d|0)<0){break m}b=sa(d);H[f>>2]=b;H[f+8>>2]=(d&-4)+b;u=f,w=ua(b,0,d)+d|0,H[u+4>>2]=w}c=H[o+24>>2];if((H[o+28>>2]-c|0)<=0){break i}d=0;while(1){g=H[(q<<2)+c>>2];n:{if((g|0)==-1){break n}o:{if(H[H[a+120>>2]+(q>>>3&536870908)>>2]>>>q&1){break o}s=H[a+216>>2];c=H[a+220>>2];if((s|0)==(c|0)){break o}i=g+2|0;e=(g>>>0)%3|0;t=e?g-1|0:i;c=(c-s|0)/144|0;k=c>>>0<=1?1:c;r=0;l=(e|0)!=0|(i|0)!=-1;while(1){e=g<<2;i=N(r,144)+s|0;c=H[e+H[H[i+68>>2]>>2]>>2];p:{if(!(H[H[i+16>>2]+(c>>>3&536870908)>>2]>>>c&1)){break p}c=-1;q:{if(!l){break q}j=H[H[o+12>>2]+(t<<2)>>2];c=-1;if((j|0)==-1){break q}c=j-1|0;if((j>>>0)%3|0){break q}c=j+2|0}if((g|0)==(c|0)){break p}m=H[i+32>>2];j=H[m+e>>2];while(1){i=0;if((c|0)==-1){break h}if((j|0)!=H[m+(c<<2)>>2]){g=c;break o}r:{s:{if((c>>>0)%3|0){i=c-1|0;break s}i=c+2|0;e=-1;if((i|0)==-1){break r}}c=H[H[o+12>>2]+(i<<2)>>2];e=-1;if((c|0)==-1){break r}e=c-1|0;if((c>>>0)%3|0){break r}e=c+2|0}c=e;if((g|0)!=(c|0)){continue}break}}r=r+1|0;if((k|0)!=(r|0)){continue}break}}j=n-d|0;i=j>>2;H[(g<<2)+b>>2]=i;t:{if(n>>>0<p>>>0){H[n>>2]=g;n=n+4|0;H[f+20>>2]=n;break t}e=i+1|0;if(e>>>0>=1073741824){break l}c=p-d|0;h=c>>1;e=c>>>0>=2147483644?1073741823:e>>>0<h>>>0?h:e;if(e){if(e>>>0>=1073741824){break k}h=sa(e<<2)}else{h=0}c=h+(i<<2)|0;H[c>>2]=g;p=(e<<2)+h|0;n=c+4|0;if((j|0)>0){ta(h,d,j)}H[f+24>>2]=p;H[f+20>>2]=n;H[f+16>>2]=h;if(d){ra(d);o=H[a+8>>2]}d=h}if((g|0)==-1){break n}u:{if((g>>>0)%3|0){c=g-1|0;break u}c=g+2|0;if((c|0)==-1){break n}}c=H[H[o+12>>2]+(c<<2)>>2];if((c|0)==-1){break n}c=c+((c>>>0)%3|0?-1:2)|0;if((c|0)==-1){break n}i=g;if((g|0)==(c|0)){break n}while(1){e=c;v:{w:{c=H[a+220>>2];k=H[a+216>>2];if((c|0)==(k|0)){break w}c=(c-k|0)/144|0;l=c>>>0<=1?1:c;c=0;while(1){m=H[(k+N(c,144)|0)+32>>2];j=e<<2;if(H[m+j>>2]==H[m+(i<<2)>>2]){c=c+1|0;if((l|0)!=(c|0)){continue}break w}break}d=b+j|0;m=n-h|0;j=m>>2;H[d>>2]=j;if(n>>>0<p>>>0){H[n>>2]=e;n=n+4|0;H[f+20>>2]=n;d=h;break v}i=j+1|0;if(i>>>0>=1073741824){break j}c=p-h|0;d=c>>1;i=c>>>0>=2147483644?1073741823:d>>>0>i>>>0?d:i;if(i){if(i>>>0>=1073741824){break k}d=sa(i<<2)}else{d=0}c=d+(j<<2)|0;H[c>>2]=e;p=(i<<2)+d|0;n=c+4|0;if((m|0)>0){ta(d,h,m)}H[f+24>>2]=p;H[f+20>>2]=n;H[f+16>>2]=d;if(!h){h=d;break v}ra(h);o=H[a+8>>2];h=d;break v}H[(e<<2)+b>>2]=H[(i<<2)+b>>2]}if((e|0)==-1){break n}x:{if((e>>>0)%3|0){c=e-1|0;break x}c=e+2|0;if((c|0)==-1){break n}}c=H[H[o+12>>2]+(c<<2)>>2];if((c|0)==-1){break n}c=c+((c>>>0)%3|0?-1:2)|0;if((c|0)==-1){break n}i=e;if((c|0)!=(g|0)){continue}break}}q=q+1|0;c=H[o+24>>2];if((q|0)<H[o+28>>2]-c>>2){continue}break}break i}va();v()}va();v()}za();v()}va();v()}m=H[a+4>>2];d=H[m+44>>2];a=H[d+100>>2];k=H[d+96>>2];y:{if((a|0)==(k|0)){break y}d=(a-k|0)/12|0;a=d>>>0<=1?1:d;j=a&1;c=0;if(d>>>0>=2){i=a&-2;d=0;while(1){e=N(c,12);l=e+b|0;g=H[l+4>>2];a=H[l>>2];e=e+k|0;H[e+8>>2]=H[l+8>>2];H[e>>2]=a;H[e+4>>2]=g;e=N(c|1,12);l=e+b|0;g=H[l+4>>2];a=H[l>>2];e=e+k|0;H[e+8>>2]=H[l+8>>2];H[e>>2]=a;H[e+4>>2]=g;c=c+2|0;d=d+2|0;if((i|0)!=(d|0)){continue}break}}if(!j){break y}c=N(c,12);g=c+b|0;d=H[g+4>>2];a=H[g>>2];c=c+k|0;H[c+8>>2]=H[g+8>>2];H[c>>2]=a;H[c+4>>2]=d}H[H[m+4>>2]+80>>2]=n-h>>2;i=1}c=i;if(b){ra(b)}if(!h){break e}H[f+20>>2]=h;ra(h)}fa=f+32|0;return c}function mj(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,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;h=fa+-64|0;fa=h;H[a+8>>2]=e;x=a+32|0;f=H[x>>2];d=H[a+36>>2]-f>>2;a:{b:{if(d>>>0<e>>>0){Aa(x,e-d|0);H[h+56>>2]=0;H[h+60>>2]=0;H[h+48>>2]=0;H[h+52>>2]=0;H[h+40>>2]=0;H[h+44>>2]=0;H[h+32>>2]=0;H[h+36>>2]=0;H[h+24>>2]=0;H[h+28>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;H[h>>2]=0;break b}if(d>>>0>e>>>0){H[a+36>>2]=f+(e<<2)}H[h+56>>2]=0;H[h+60>>2]=0;H[h+48>>2]=0;H[h+52>>2]=0;H[h+40>>2]=0;H[h+44>>2]=0;H[h+32>>2]=0;H[h+36>>2]=0;H[h+24>>2]=0;H[h+28>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;H[h>>2]=0;d=0;if(!e){break a}}Ia(h+16|0,e,h);i=H[h+28>>2];d=H[h+32>>2]}H[h>>2]=0;d=d-i>>2;c:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break c}H[h+32>>2]=(e<<2)+i;break c}Ia(h+16|12,e-d|0,h)}H[h>>2]=0;f=H[h+40>>2];d=H[h+44>>2]-f>>2;d:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break d}H[h+44>>2]=f+(e<<2);break d}Ia(h+40|0,e-d|0,h)}H[h>>2]=0;f=H[h+52>>2];d=H[h+56>>2]-f>>2;e:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break e}H[h+56>>2]=f+(e<<2);break e}Ia(h+52|0,e-d|0,h)}f:{if(H[a+8>>2]<=0){break f}g=H[h+16>>2];j=H[a+32>>2];i=0;while(1){d=i<<2;f=H[d+g>>2];m=H[a+16>>2];g:{if((f|0)>(m|0)){H[d+j>>2]=m;break g}d=d+j|0;m=H[a+12>>2];if((m|0)>(f|0)){H[d>>2]=m;break g}H[d>>2]=f}i=i+1|0;d=H[a+8>>2];if((i|0)<(d|0)){continue}break}if((d|0)<=0){break f}d=0;while(1){g=d<<2;f=g+c|0;g=H[b+g>>2]+H[g+j>>2]|0;H[f>>2]=g;h:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break h}g=g+H[a+20>>2]|0}H[f>>2]=g}d=d+1|0;if((d|0)<H[a+8>>2]){continue}break}}G=H[a+52>>2];z=H[a+48>>2];y=sa(16);d=y;H[d>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;H[h+8>>2]=0;H[h>>2]=0;H[h+4>>2]=0;i:{if(e){if(e>>>0>=1073741824){break i}d=e<<2;t=sa(d);H[h>>2]=t;H[h+8>>2]=d+t;ua(t,0,d)}d=H[a+56>>2];A=H[d>>2];d=H[d+4>>2]-A|0;j:{if((d|0)<5){break j}w=d>>2;I=(w|0)<=2?2:w;J=w>>>0<=1?1:w;B=e&-2;C=e&1;K=e&-4;D=e&3;E=e-1|0;L=e<<2;M=e>>>0<4;F=1;m=1;while(1){k:{l:{m:{n:{if((m|0)!=(J|0)){o:{p:{f=H[(m<<2)+A>>2];if((f|0)==-1){break p}n=H[z+12>>2];d=f+2|0;g=(f>>>0)%3|0;q=n+((g?f-1|0:d)<<2)|0;j=0;u=(g|0)!=0|(d|0)!=-1;k=1;d=f;q:{while(1){g=H[n+(d<<2)>>2];r:{if((g|0)==-1){break r}l=-1;p=H[G>>2];r=H[z>>2];i=p+(H[r+(g<<2)>>2]<<2)|0;o=g+1|0;o=(o>>>0)%3|0?o:g-2|0;if((o|0)!=-1){l=H[r+(o<<2)>>2]}o=H[i>>2];s:{t:{if((g>>>0)%3|0){i=g-1|0;break t}i=g+2|0;s=-1;if((i|0)==-1){break s}}s=H[r+(i<<2)>>2]}if((m|0)<=(o|0)){break r}i=H[p+(l<<2)>>2];if((i|0)>=(m|0)){break r}l=H[p+(s<<2)>>2];if((l|0)>=(m|0)){break r}g=H[(h+16|0)+N(j,12)>>2];u:{if(!e){break u}l=N(e,l);r=N(e,i);p=N(e,o);i=0;s=0;if(E){while(1){H[g+(i<<2)>>2]=(H[(i+l<<2)+c>>2]+H[(i+r<<2)+c>>2]|0)-H[(i+p<<2)+c>>2];o=i|1;H[g+(o<<2)>>2]=(H[(l+o<<2)+c>>2]+H[(o+r<<2)+c>>2]|0)-H[(o+p<<2)+c>>2];i=i+2|0;s=s+2|0;if((B|0)!=(s|0)){continue}break}}if(!C){break u}H[g+(i<<2)>>2]=(H[(i+l<<2)+c>>2]+H[(i+r<<2)+c>>2]|0)-H[(i+p<<2)+c>>2]}g=4;j=j+1|0;if((j|0)==4){break q}}v:{if(k&1){i=d+1|0;d=(i>>>0)%3|0?i:d-2|0;g=-1;if((d|0)==-1){break v}d=H[n+(d<<2)>>2];g=-1;if((d|0)==-1){break v}g=d+1|0;g=(g>>>0)%3|0?g:d-2|0;break v}w:{if((d>>>0)%3|0){i=d-1|0;break w}i=d+2|0;g=-1;if((i|0)==-1){break v}}d=H[n+(i<<2)>>2];g=-1;if((d|0)==-1){break v}g=d-1|0;if((d>>>0)%3|0){break v}g=d+2|0}d=g;x:{if((f|0)==(d|0)){break x}if(!((k^1)&1|(d|0)!=-1)){if(!u){break x}d=H[q>>2];if((d|0)==-1){break x}k=0;d=(d>>>0)%3|0?d-1|0:d+2|0}if((d|0)!=-1){continue}}break}g=j;if((g|0)<=0){break p}}if(e){ua(t,0,L)}d=g-1|0;r=(d<<2)+y|0;d=N(d,12)+a|0;o=d;s=H[d- -64>>2];k=0;d=H[h>>2];f=0;while(1){j=H[r>>2];H[r>>2]=j+1;if(j>>>0>=s>>>0){break j}y:{if(H[H[o+60>>2]+(j>>>3&536870908)>>2]>>>j&1){break y}f=f+1|0;if(!e){break y}j=H[(h+16|0)+N(k,12)>>2];l=0;i=0;p=0;if(!M){while(1){n=i<<2;q=n+d|0;H[q>>2]=H[j+n>>2]+H[q>>2];q=n|4;u=q+d|0;H[u>>2]=H[j+q>>2]+H[u>>2];q=n|8;u=q+d|0;H[u>>2]=H[j+q>>2]+H[u>>2];n=n|12;q=n+d|0;H[q>>2]=H[j+n>>2]+H[q>>2];i=i+4|0;p=p+4|0;if((K|0)!=(p|0)){continue}break}}if(!D){break y}while(1){n=i<<2;p=n+d|0;H[p>>2]=H[j+n>>2]+H[p>>2];i=i+1|0;l=l+1|0;if((D|0)!=(l|0)){continue}break}}k=k+1|0;if((k|0)!=(g|0)){continue}break}g=N(e,m);if(!f){break o}if(!e){break l}i=0;d=0;if(E){break n}break m}g=N(e,m)}if(H[a+8>>2]<=0){break k}k=(N(m-1|0,e)<<2)+c|0;j=H[x>>2];i=0;while(1){d=i<<2;f=H[d+k>>2];l=H[a+16>>2];z:{if((f|0)>(l|0)){H[d+j>>2]=l;break z}d=d+j|0;l=H[a+12>>2];if((l|0)>(f|0)){H[d>>2]=l;break z}H[d>>2]=f}i=i+1|0;f=H[a+8>>2];if((i|0)<(f|0)){continue}break}d=0;if((f|0)<=0){break k}f=g<<2;i=f+c|0;k=b+f|0;while(1){g=d<<2;f=g+i|0;g=H[g+k>>2]+H[g+j>>2]|0;H[f>>2]=g;A:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break A}g=g+H[a+20>>2]|0}H[f>>2]=g}d=d+1|0;if((d|0)<H[a+8>>2]){continue}break}break k}Ea();v()}while(1){j=i<<2;k=j+t|0;H[k>>2]=H[k>>2]/(f|0);j=(j|4)+t|0;H[j>>2]=H[j>>2]/(f|0);i=i+2|0;d=d+2|0;if((B|0)!=(d|0)){continue}break}}if(!C){break l}d=(i<<2)+t|0;H[d>>2]=H[d>>2]/(f|0)}if(H[a+8>>2]<=0){break k}j=H[x>>2];i=0;while(1){d=i<<2;f=H[d+t>>2];k=H[a+16>>2];B:{if((f|0)>(k|0)){H[d+j>>2]=k;break B}d=d+j|0;k=H[a+12>>2];if((k|0)>(f|0)){H[d>>2]=k;break B}H[d>>2]=f}i=i+1|0;f=H[a+8>>2];if((i|0)<(f|0)){continue}break}d=0;if((f|0)<=0){break k}f=g<<2;i=f+c|0;k=b+f|0;while(1){g=d<<2;f=g+i|0;g=H[g+k>>2]+H[g+j>>2]|0;H[f>>2]=g;C:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break C}g=g+H[a+20>>2]|0}H[f>>2]=g}d=d+1|0;if((d|0)<H[a+8>>2]){continue}break}}m=m+1|0;F=(w|0)>(m|0);if((m|0)!=(I|0)){continue}break}}a=H[h>>2];if(a){ra(a)}ra(y);a=H[h+52>>2];if(a){H[h+56>>2]=a;ra(a)}a=H[h+40>>2];if(a){H[h+44>>2]=a;ra(a)}a=H[h+28>>2];if(a){H[h+32>>2]=a;ra(a)}a=H[h+16>>2];if(a){H[h+20>>2]=a;ra(a)}fa=h- -64|0;return(F^-1)&1}va();v()}function Od(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,w=0,x=0,y=0,z=0,A=0,B=0;i=fa-80|0;fa=i;H[i+76>>2]=b;y=i+55|0;r=i+56|0;a:{b:{c:{d:{e:while(1){h=b;if((o^2147483647)<(f|0)){break d}o=f+o|0;f:{g:{h:{f=h;g=I[f|0];if(g){while(1){i:{b=g&255;j:{if(!b){b=f;break j}if((b|0)!=37){break i}g=f;while(1){if(I[g+1|0]!=37){b=g;break j}f=f+1|0;j=I[g+2|0];b=g+2|0;g=b;if((j|0)==37){continue}break}}f=f-h|0;x=o^2147483647;if((f|0)>(x|0)){break d}if(a){Cb(a,h,f)}if(f){continue e}H[i+76>>2]=b;f=b+1|0;p=-1;if(!(I[b+2|0]!=36|F[b+1|0]-48>>>0>=10)){p=F[b+1|0]-48|0;s=1;f=b+3|0}H[i+76>>2]=f;n=0;g=F[f|0];b=g-32|0;k:{if(b>>>0>31){k=f;break k}k=f;b=1<<b;if(!(b&75913)){break k}while(1){k=f+1|0;H[i+76>>2]=k;n=b|n;g=F[f+1|0];b=g-32|0;if(b>>>0>=32){break k}f=k;b=1<<b;if(b&75913){continue}break}}l:{if((g|0)==42){m:{if(!(I[k+2|0]!=36|F[k+1|0]-48>>>0>=10)){H[((F[k+1|0]<<2)+e|0)-192>>2]=10;g=k+3|0;s=1;b=H[((F[k+1|0]<<3)+d|0)-384>>2];break m}if(s){break h}g=k+1|0;if(!a){H[i+76>>2]=g;s=0;q=0;break l}b=H[c>>2];H[c>>2]=b+4;s=0;b=H[b>>2]}H[i+76>>2]=g;q=b;if((b|0)>=0){break l}q=0-q|0;n=n|8192;break l}q=Nd(i+76|0);if((q|0)<0){break d}g=H[i+76>>2]}f=0;m=-1;n:{if(I[g|0]!=46){b=g;u=0;break n}if(I[g+1|0]==42){o:{if(!(I[g+3|0]!=36|F[g+2|0]-48>>>0>=10)){H[((F[g+2|0]<<2)+e|0)-192>>2]=10;b=g+4|0;m=H[((F[g+2|0]<<3)+d|0)-384>>2];break o}if(s){break h}b=g+2|0;m=0;if(!a){break o}j=H[c>>2];H[c>>2]=j+4;m=H[j>>2]}H[i+76>>2]=b;u=(m^-1)>>>31|0;break n}H[i+76>>2]=g+1;m=Nd(i+76|0);b=H[i+76>>2];u=1}while(1){l=f;k=28;g=b;f=F[g|0];if(f-123>>>0<4294967238){break c}b=g+1|0;f=I[(f+N(l,58)|0)+13711|0];if(f-1>>>0<8){continue}break}H[i+76>>2]=b;p:{q:{if((f|0)!=27){if(!f){break c}if((p|0)>=0){H[(p<<2)+e>>2]=f;j=(p<<3)+d|0;f=H[j+4>>2];H[i+64>>2]=H[j>>2];H[i+68>>2]=f;break q}if(!a){break f}Md(i- -64|0,f,c);break p}if((p|0)>=0){break c}}f=0;if(!a){continue e}}j=n&-65537;n=n&8192?j:n;p=0;t=1132;k=r;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{f=F[g|0];f=l?(f&15)==3?f&-33:f:f;switch(f-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;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 G}}H:{switch(f-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break g;default:break H}}if((f|0)==83){break w}break g}l=H[i+64>>2];j=H[i+68>>2];t=1132;break z}f=0;I:{switch(l&255){case 0:H[H[i+64>>2]>>2]=o;continue e;case 1:H[H[i+64>>2]>>2]=o;continue e;case 2:h=H[i+64>>2];H[h>>2]=o;H[h+4>>2]=o>>31;continue e;case 3:G[H[i+64>>2]>>1]=o;continue e;case 4:F[H[i+64>>2]]=o;continue e;case 6:H[H[i+64>>2]>>2]=o;continue e;case 7:break I;default:continue e}}h=H[i+64>>2];H[h>>2]=o;H[h+4>>2]=o>>31;continue e}m=m>>>0<=8?8:m;n=n|8;f=120}h=r;z=f&32;l=H[i+64>>2];j=H[i+68>>2];if(l|j){while(1){h=h-1|0;F[h|0]=z|I[(l&15)+14240|0];w=!j&l>>>0>15|(j|0)!=0;g=j;j=g>>>4|0;l=(g&15)<<28|l>>>4;if(w){continue}break}}if(!(H[i+64>>2]|H[i+68>>2])|!(n&8)){break y}t=(f>>>4|0)+1132|0;p=2;break y}f=r;h=H[i+68>>2];j=h;l=H[i+64>>2];if(h|l){while(1){f=f-1|0;F[f|0]=l&7|48;w=!j&l>>>0>7|(j|0)!=0;h=j;j=h>>>3|0;l=(h&7)<<29|l>>>3;if(w){continue}break}}h=f;if(!(n&8)){break y}f=r-h|0;m=(f|0)<(m|0)?m:f+1|0;break y}h=H[i+68>>2];j=h;l=H[i+64>>2];if((h|0)<0){j=0-(((l|0)!=0)+j|0)|0;l=0-l|0;H[i+64>>2]=l;H[i+68>>2]=j;p=1;t=1132;break z}if(n&2048){p=1;t=1133;break z}p=n&1;t=p?1134:1132}g=r;J:{if(!j){h=l;break J}while(1){g=g-1|0;h=Pj(l,j,10,0);f=ga;A=g,B=l-Nj(h,f,10,0)|48,F[A|0]=B;w=j>>>0>9;l=h;j=f;if(w){continue}break}}if(h){while(1){g=g-1|0;f=(h>>>0)/10|0;F[g|0]=h-N(f,10)|48;j=h>>>0>9;h=f;if(j){continue}break}}h=g}if((m|0)<0?u:0){break d}n=u?n&-65537:n;f=H[i+64>>2];j=H[i+68>>2];if(!(m|(f|j)!=0)){h=r;k=h;m=0;break g}f=!(f|j)+(r-h|0)|0;m=(f|0)<(m|0)?m:f;break g}l=m>>>0>=2147483647?2147483647:m;k=l;n=(l|0)!=0;h=H[i+64>>2];h=h?h:1614;f=h;K:{L:{M:{N:{if(!(f&3)|!l){break N}while(1){if(!I[f|0]){break M}k=k-1|0;n=(k|0)!=0;f=f+1|0;if(!(f&3)){break N}if(k){continue}break}}if(!n){break L}if(!(!I[f|0]|k>>>0<4)){while(1){g=H[f>>2];if((g^-1)&g-16843009&-2139062144){break M}f=f+4|0;k=k-4|0;if(k>>>0>3){continue}break}}if(!k){break L}}while(1){if(!I[f|0]){break K}f=f+1|0;k=k-1|0;if(k){continue}break}}f=0}f=f?f-h|0:l;k=f+h|0;if((m|0)>=0){n=j;m=f;break g}n=j;m=f;if(I[k|0]){break d}break g}if(m){g=H[i+64>>2];break u}f=0;mb(a,32,q,0,n);break t}H[i+12>>2]=0;H[i+8>>2]=H[i+64>>2];g=i+8|0;H[i+64>>2]=g;m=-1}f=0;O:{while(1){h=H[g>>2];if(!h){break O}j=Ld(i+4|0,h);h=(j|0)<0;if(!(h|j>>>0>m-f>>>0)){g=g+4|0;f=f+j|0;if(m>>>0>f>>>0){continue}break O}break}if(h){break b}}k=61;if((f|0)<0){break c}mb(a,32,q,f,n);if(!f){f=0;break t}k=0;g=H[i+64>>2];while(1){h=H[g>>2];if(!h){break t}h=Ld(i+4|0,h);k=h+k|0;if(k>>>0>f>>>0){break t}Cb(a,i+4|0,h);g=g+4|0;if(f>>>0>k>>>0){continue}break}}mb(a,32,q,f,n^8192);f=(f|0)<(q|0)?q:f;continue e}if((m|0)<0?u:0){break d}v()}F[i+55|0]=H[i+64>>2];m=1;h=y;n=j;break g}g=I[f+1|0];f=f+1|0;continue}}if(a){break a}if(!s){break f}f=1;while(1){a=H[(f<<2)+e>>2];if(a){Md((f<<3)+d|0,a,c);o=1;f=f+1|0;if((f|0)!=10){continue}break a}break}o=1;if(f>>>0>=10){break a}while(1){if(H[(f<<2)+e>>2]){break h}f=f+1|0;if((f|0)!=10){continue}break}break a}k=28;break c}g=k-h|0;j=(g|0)<(m|0)?m:g;if((j|0)>(p^2147483647)){break d}k=61;l=j+p|0;f=(l|0)<(q|0)?q:l;if((x|0)<(f|0)){break c}mb(a,32,f,l,n);Cb(a,t,p);mb(a,48,f,l,n^65536);mb(a,48,j,g,0);Cb(a,h,g);mb(a,32,f,l,n^8192);continue}break}o=0;break a}k=61}H[3992]=k}o=-1}fa=i+80|0;return o}function gj(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,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,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;a:{if((e|0)==2){H[a+8>>2]=2;H[a- -64>>2]=f;O=a+32|0;e=H[O>>2];d=H[a+36>>2]-e|0;b:{if(d>>>0<=7){Aa(O,2-(d>>>2|0)|0);break b}if((d|0)==8){break b}H[a+36>>2]=e+8}d=H[a+56>>2];d=H[d+4>>2]-H[d>>2]|0;c:{if((d|0)<=0){f=0;break c}p=a+60|0;P=d>>2;V=(P|0)<=1?1:P;W=a+68|0;f=1;while(1){e=H[a+56>>2];d=H[e>>2];if(H[e+4>>2]-d>>2>>>0<=u>>>0){break a}k=fa-80|0;fa=k;n=-1;d:{e:{d=H[d+(u<<2)>>2];if((d|0)==-1){break e}m=H[p+32>>2];e=d+1|0;e=(e>>>0)%3|0?e:d-2|0;if((e|0)!=-1){n=H[H[m>>2]+(e<<2)>>2]}e=-1;d=d+((d>>>0)%3|0?-1:2)|0;if((d|0)!=-1){e=H[H[m>>2]+(d<<2)>>2]}d=H[p+36>>2];m=H[d>>2];d=H[d+4>>2]-m>>2;if(d>>>0<=n>>>0|d>>>0<=e>>>0){break e}f:{g:{h:{i:{j:{k:{h=H[m+(e<<2)>>2];d=H[m+(n<<2)>>2];if((h|0)>=(u|0)|(d|0)>=(u|0)){break k}e=(h<<3)+c|0;y=H[e+4>>2];n=(d<<3)+c|0;m=H[n+4>>2];J=H[e>>2];n=H[n>>2];if(!((J|0)!=(n|0)|(m|0)!=(y|0))){H[p+8>>2]=n;H[p+12>>2]=m;break j}e=H[H[p+4>>2]+(u<<2)>>2];H[k+72>>2]=0;H[k+76>>2]=0;g=k- -64|0;H[g>>2]=0;H[g+4>>2]=0;H[k+56>>2]=0;H[k+60>>2]=0;g=H[p>>2];if(!I[g+84|0]){e=H[H[g+68>>2]+(e<<2)>>2]}Va(g,e,F[g+24|0],k+56|0);e=H[H[p+4>>2]+(d<<2)>>2];H[k+48>>2]=0;H[k+52>>2]=0;H[k+40>>2]=0;H[k+44>>2]=0;H[k+32>>2]=0;H[k+36>>2]=0;g=H[p>>2];if(!I[g+84|0]){e=H[H[g+68>>2]+(e<<2)>>2]}Va(g,e,F[g+24|0],k+32|0);e=H[H[p+4>>2]+(h<<2)>>2];H[k+24>>2]=0;H[k+28>>2]=0;H[k+16>>2]=0;H[k+20>>2]=0;H[k+8>>2]=0;H[k+12>>2]=0;g=H[p>>2];if(!I[g+84|0]){e=H[H[g+68>>2]+(e<<2)>>2]}Va(g,e,F[g+24|0],k+8|0);Q=H[k+44>>2];e=H[k+16>>2];K=H[k+40>>2];g=K;i=H[k+20>>2]-(Q+(e>>>0<g>>>0)|0)|0;s=e-g|0;e=Nj(s,i,s,i);h=ga;l=e;R=H[k+36>>2];e=H[k+8>>2];L=H[k+32>>2];g=L;o=H[k+12>>2]-(R+(e>>>0<g>>>0)|0)|0;g=e-g|0;r=Nj(g,o,g,o);e=l+r|0;l=ga+h|0;l=e>>>0<r>>>0?l+1|0:l;j=e;S=H[k+52>>2];e=H[k+24>>2];M=H[k+48>>2];h=M;r=H[k+28>>2]-(S+(e>>>0<h>>>0)|0)|0;w=e-h|0;t=Nj(w,r,w,r);h=j+t|0;e=ga+l|0;x=h;t=h>>>0<t>>>0?e+1|0:e;if(!(h|t)){break k}e=0;N=Pj(-1,2147483647,x,t);d=n>>31;T=d;l=d>>31;h=l;j=d^h;d=h^n;h=j-((h>>>0>d>>>0)+h|0)|0;A=d-l|0;d=m>>31;U=d;q=d>>31;B=q^m;C=B-q|0;l=d>>31;d=(l^d)-((q>>>0>B>>>0)+l|0)|0;l=(h|0)==(d|0)&A>>>0>C>>>0|d>>>0<h>>>0;q=l?A:C;D=ga;d=l?h:d;if((D|0)==(d|0)&q>>>0>N>>>0|d>>>0>D>>>0){break f}l=H[k+64>>2];d=l;D=H[k+68>>2];d=Nj(d-K|0,D-((d>>>0<K>>>0)+Q|0)|0,s,i);h=ga;j=d;A=H[k+56>>2];d=A;N=H[k+60>>2];q=Nj(d-L|0,N-((d>>>0<L>>>0)+R|0)|0,g,o);d=j+q|0;j=ga+h|0;j=d>>>0<q>>>0?j+1|0:j;h=d;B=H[k+72>>2];d=B;C=H[k+76>>2];q=Nj(d-M|0,C-((d>>>0<M>>>0)+S|0)|0,w,r);h=h+q|0;d=ga+j|0;z=h;q=h>>>0<q>>>0?d+1|0:d;d=o>>31;h=d;j=g^d;d=(d^o)-(d+(d>>>0>j>>>0)|0)|0;E=j-h|0;j=i>>31;h=j;j=h^s;G=j-h|0;h=(i^h)-((h>>>0>j>>>0)+h|0)|0;j=(d|0)==(h|0)&E>>>0>G>>>0|d>>>0>h>>>0;E=j?E:G;d=j?d:h;j=r>>31;h=j;j=h^w;G=j-h|0;h=(h^r)-((h>>>0>j>>>0)+h|0)|0;j=(d|0)==(h|0)&E>>>0>G>>>0|d>>>0>h>>>0;h=Pj(-1,2147483647,j?E:G,j?d:h)>>>0<z>>>0;d=ga;if(h&(d|0)<=(q|0)|(d|0)<(q|0)){break f}h=1;d=0;e=l;s=Oj(Nj(s,i,z,q),ga,x,t);l=s+K|0;i=ga+Q|0;i=l>>>0<s>>>0?i+1|0:i;i=D-((e>>>0<l>>>0)+i|0)|0;e=e-l|0;e=Nj(e,i,e,i);l=ga;i=A;j=e;o=Oj(Nj(g,o,z,q),ga,x,t);g=o+L|0;e=ga+R|0;e=g>>>0<o>>>0?e+1|0:e;e=N-((g>>>0>i>>>0)+e|0)|0;g=i-g|0;g=Nj(g,e,g,e);e=j+g|0;l=ga+l|0;l=e>>>0<g>>>0?l+1|0:l;g=e;e=B;j=g;o=Oj(Nj(w,r,z,q),ga,x,t);g=o+M|0;i=ga+S|0;i=g>>>0<o>>>0?i+1|0:i;i=C-((e>>>0<g>>>0)+i|0)|0;e=e-g|0;i=Nj(e,i,e,i);g=j+i|0;e=ga+l|0;i=Nj(g,g>>>0<i>>>0?e+1|0:e,x,t);e=ga;o=e;if(!e&i>>>0<=1){break i}r=i;g=o;while(1){e=d<<1|h>>>31;h=h<<1;d=e;l=!g&r>>>0>7|(g|0)!=0;r=(g&3)<<30|r>>>2;g=g>>>2|0;if(l){continue}break}break h}if((d|0)<(u|0)){d=d<<1}else{if((u|0)<=0){H[p+8>>2]=0;H[p+12>>2]=0;break j}d=(u<<1)-2|0}d=(d<<2)+c|0;H[p+8>>2]=H[d>>2];H[p+12>>2]=H[d+4>>2]}e=1;break f}d=o;h=i;if(h-1|0){break g}}while(1){e=Pj(i,o,h,d)+h|0;j=d+ga|0;j=e>>>0<h>>>0?j+1|0:j;h=(j&1)<<31|e>>>1;d=j>>>1|0;e=Nj(h,d,h,d);g=ga;if((o|0)==(g|0)&e>>>0>i>>>0|g>>>0>o>>>0){continue}break}}e=H[p+20>>2];if(e){g=e-1|0;o=H[H[p+16>>2]+(g>>>3&536870908)>>2];H[p+20>>2]=g;r=y-m|0;l=(y>>31)-((m>>>0>y>>>0)+U|0)|0;i=Nj(z,q,r,l);s=ga;w=Nj(x,t,m,U);m=w+i|0;i=ga+s|0;i=m>>>0<w>>>0?i+1|0:i;j=m;s=J-n|0;w=(J>>31)-((n>>>0>J>>>0)+T|0)|0;m=Nj(h,d,s,w);y=m;m=o>>>g&1;o=m?0-y|0:y;g=j+o|0;j=i;i=ga;j=j+(m?0-(i+((y|0)!=0)|0)|0:i)|0;X=p,Y=Oj(g,g>>>0<o>>>0?j+1|0:j,x,t),H[X+12>>2]=Y;g=Nj(s,w,z,q);i=ga;j=g;g=Nj(x,t,n,T);n=j+g|0;i=ga+i|0;i=g>>>0>n>>>0?i+1|0:i;d=Nj(h,d,r,l);g=m?d:0-d|0;n=g+n|0;h=ga;l=(m?h:0-(((d|0)!=0)+h|0)|0)+i|0;X=p,Y=Oj(n,g>>>0>n>>>0?l+1|0:l,x,t),H[X+8>>2]=Y}e=(e|0)!=0}fa=k+80|0;break d}Ea();v()}if(!e){break c}l:{if(H[a+8>>2]<=0){break l}n=H[O>>2];d=0;while(1){e=d<<2;f=H[e+W>>2];m=H[a+16>>2];m:{if((f|0)>(m|0)){H[e+n>>2]=m;break m}e=e+n|0;m=H[a+12>>2];if((m|0)>(f|0)){H[e>>2]=m;break m}H[e>>2]=f}d=d+1|0;f=H[a+8>>2];if((d|0)<(f|0)){continue}break}e=0;if((f|0)<=0){break l}d=u<<3;m=d+c|0;g=b+d|0;while(1){f=e<<2;d=f+m|0;f=H[f+g>>2]+H[f+n>>2]|0;H[d>>2]=f;n:{if((f|0)>H[a+16>>2]){f=f-H[a+20>>2]|0}else{if((f|0)>=H[a+12>>2]){break n}f=f+H[a+20>>2]|0}H[d>>2]=f}e=e+1|0;if((e|0)<H[a+8>>2]){continue}break}}u=u+1|0;f=(P|0)>(u|0);if((u|0)!=(V|0)){continue}break}}a=f^1}else{a=0}return a&1}Ea();v()}function vj(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,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,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;a:{if((e|0)==2){H[a+8>>2]=2;H[a- -64>>2]=f;O=a+32|0;e=H[O>>2];d=H[a+36>>2]-e|0;b:{if(d>>>0<=7){Aa(O,2-(d>>>2|0)|0);break b}if((d|0)==8){break b}H[a+36>>2]=e+8}d=H[a+56>>2];d=H[d+4>>2]-H[d>>2]|0;c:{if((d|0)<=0){f=0;break c}o=a+60|0;P=d>>2;V=(P|0)<=1?1:P;W=a+68|0;f=1;while(1){d=H[a+56>>2];m=H[d>>2];if(H[d+4>>2]-m>>2>>>0<=u>>>0){break a}k=fa-80|0;fa=k;e=-1;m=H[m+(u<<2)>>2];d=-1;d:{if((m|0)==-1){break d}d=m+1|0;e=(d>>>0)%3|0?d:m-2|0;d=m-1|0;if((m>>>0)%3|0){break d}d=m+2|0}l=H[o+36>>2];m=H[l>>2];e:{f:{g:{h:{i:{l=H[l+4>>2]-m>>2;g=e<<2;e=H[H[o+32>>2]+28>>2];j=H[g+e>>2];if(l>>>0<=j>>>0){break i}e=H[e+(d<<2)>>2];if(e>>>0>=l>>>0){break i}d=H[m+(j<<2)>>2];j:{k:{j=H[m+(e<<2)>>2];if((j|0)>=(u|0)|(d|0)>=(u|0)){break k}e=(j<<3)+c|0;w=H[e+4>>2];m=(d<<3)+c|0;l=H[m+4>>2];A=H[e>>2];m=H[m>>2];if(!((A|0)!=(m|0)|(l|0)!=(w|0))){H[o+8>>2]=m;H[o+12>>2]=l;break j}t=H[H[o+4>>2]+(u<<2)>>2];H[k+72>>2]=0;H[k+76>>2]=0;e=k- -64|0;H[e>>2]=0;H[e+4>>2]=0;H[k+56>>2]=0;H[k+60>>2]=0;e=H[o>>2];if(!I[e+84|0]){t=H[H[e+68>>2]+(t<<2)>>2]}Va(e,t,F[e+24|0],k+56|0);t=H[H[o+4>>2]+(d<<2)>>2];H[k+48>>2]=0;H[k+52>>2]=0;H[k+40>>2]=0;H[k+44>>2]=0;H[k+32>>2]=0;H[k+36>>2]=0;e=H[o>>2];if(!I[e+84|0]){t=H[H[e+68>>2]+(t<<2)>>2]}Va(e,t,F[e+24|0],k+32|0);t=H[H[o+4>>2]+(j<<2)>>2];H[k+24>>2]=0;H[k+28>>2]=0;H[k+16>>2]=0;H[k+20>>2]=0;H[k+8>>2]=0;H[k+12>>2]=0;e=H[o>>2];if(!I[e+84|0]){t=H[H[e+68>>2]+(t<<2)>>2]}Va(e,t,F[e+24|0],k+8|0);Q=H[k+44>>2];e=H[k+16>>2];z=H[k+40>>2];j=z;h=H[k+20>>2]-(Q+(e>>>0<j>>>0)|0)|0;s=e-j|0;e=Nj(s,h,s,h);r=ga;g=e;R=H[k+36>>2];e=H[k+8>>2];L=H[k+32>>2];j=L;n=H[k+12>>2]-(R+(e>>>0<j>>>0)|0)|0;j=e-j|0;p=Nj(j,n,j,n);g=g+p|0;e=ga+r|0;e=g>>>0<p>>>0?e+1|0:e;i=g;S=H[k+52>>2];g=H[k+24>>2];M=H[k+48>>2];p=M;r=H[k+28>>2]-(S+(g>>>0<p>>>0)|0)|0;x=g-p|0;p=Nj(x,r,x,r);g=i+p|0;e=ga+e|0;y=g;p=g>>>0<p>>>0?e+1|0:e;if(!(g|p)){break k}t=0;N=Pj(-1,2147483647,y,p);d=m>>31;T=d;e=d>>31;g=d^e;d=e^m;g=g-((e>>>0>d>>>0)+e|0)|0;C=d-e|0;d=l>>31;U=d;q=d>>31;D=q^l;E=D-q|0;e=d>>31;d=(e^d)-((q>>>0>D>>>0)+e|0)|0;e=(g|0)==(d|0)&C>>>0>E>>>0|d>>>0<g>>>0;q=e?C:E;G=ga;d=e?g:d;if((G|0)==(d|0)&q>>>0>N>>>0|d>>>0>G>>>0){break e}e=H[k+64>>2];G=H[k+68>>2];d=Nj(e-z|0,G-((e>>>0<z>>>0)+Q|0)|0,s,h);g=ga;i=d;C=H[k+56>>2];d=C;N=H[k+60>>2];q=Nj(d-L|0,N-((d>>>0<L>>>0)+R|0)|0,j,n);d=i+q|0;i=ga+g|0;i=d>>>0<q>>>0?i+1|0:i;g=d;D=H[k+72>>2];d=D;E=H[k+76>>2];q=Nj(d-M|0,E-((d>>>0<M>>>0)+S|0)|0,x,r);g=g+q|0;d=ga+i|0;B=g;q=g>>>0<q>>>0?d+1|0:d;d=n>>31;g=d;i=d^j;d=(d^n)-(d+(d>>>0>i>>>0)|0)|0;J=i-g|0;i=h>>31;g=i;i=g^s;K=i-g|0;g=(h^g)-((g>>>0>i>>>0)+g|0)|0;i=(d|0)==(g|0)&J>>>0>K>>>0|d>>>0>g>>>0;J=i?J:K;d=i?d:g;i=r>>31;g=i;i=g^x;K=i-g|0;g=(g^r)-((g>>>0>i>>>0)+g|0)|0;i=(d|0)==(g|0)&J>>>0>K>>>0|d>>>0>g>>>0;g=Pj(-1,2147483647,i?J:K,i?d:g)>>>0<B>>>0;d=ga;if(g&(d|0)<=(q|0)|(d|0)<(q|0)){break e}g=1;d=0;i=z;z=Oj(Nj(s,h,B,q),ga,y,p);s=i+z|0;h=ga+Q|0;h=s>>>0<z>>>0?h+1|0:h;h=G-((e>>>0<s>>>0)+h|0)|0;e=e-s|0;e=Nj(e,h,e,h);s=ga;h=C;i=e;n=Oj(Nj(j,n,B,q),ga,y,p);j=n+L|0;e=ga+R|0;e=j>>>0<n>>>0?e+1|0:e;e=N-((h>>>0<j>>>0)+e|0)|0;j=h-j|0;h=Nj(j,e,j,e);j=i+h|0;e=ga+s|0;e=h>>>0>j>>>0?e+1|0:e;h=j;j=e;e=D;i=h;r=Oj(Nj(x,r,B,q),ga,y,p);n=r+M|0;h=ga+S|0;h=n>>>0<r>>>0?h+1|0:h;h=E-((e>>>0<n>>>0)+h|0)|0;e=e-n|0;n=Nj(e,h,e,h);h=i+n|0;e=ga+j|0;h=Nj(h,h>>>0<n>>>0?e+1|0:e,y,p);e=ga;n=e;if(!e&h>>>0<=1){break h}r=h;j=n;while(1){e=d<<1|g>>>31;g=g<<1;d=e;s=!j&r>>>0>7|(j|0)!=0;r=(j&3)<<30|r>>>2;j=j>>>2|0;if(s){continue}break}break g}if((d|0)<(u|0)){d=d<<1}else{if((u|0)<=0){H[o+8>>2]=0;H[o+12>>2]=0;break j}d=(u<<1)-2|0}d=(d<<2)+c|0;H[o+8>>2]=H[d>>2];H[o+12>>2]=H[d+4>>2]}t=1;break e}Ea();v()}d=n;g=h;if(g-1|0){break f}}while(1){e=Pj(h,n,g,d)+g|0;i=d+ga|0;i=e>>>0<g>>>0?i+1|0:i;g=(i&1)<<31|e>>>1;d=i>>>1|0;e=Nj(g,d,g,d);j=ga;if((n|0)==(j|0)&e>>>0>h>>>0|j>>>0>n>>>0){continue}break}}j=H[o+20>>2];if(j){e=j-1|0;n=H[H[o+16>>2]+(e>>>3&536870908)>>2];H[o+20>>2]=e;r=w-l|0;s=(w>>31)-((l>>>0>w>>>0)+U|0)|0;h=Nj(B,q,r,s);x=ga;w=Nj(y,p,l,U);l=w+h|0;h=ga+x|0;h=l>>>0<w>>>0?h+1|0:h;i=l;x=A-m|0;w=(A>>31)-((m>>>0>A>>>0)+T|0)|0;l=Nj(g,d,x,w);A=l;e=n>>>e&1;n=e?0-l|0:l;l=i+n|0;i=h;h=ga;i=i+(e?0-(h+((A|0)!=0)|0)|0:h)|0;X=o,Y=Oj(l,l>>>0<n>>>0?i+1|0:i,y,p),H[X+12>>2]=Y;l=Nj(x,w,B,q);h=ga;n=l;l=Nj(y,p,m,T);m=n+l|0;h=ga+h|0;h=m>>>0<l>>>0?h+1|0:h;d=Nj(g,d,r,s);l=e?d:0-d|0;m=l+m|0;g=ga;e=(e?g:0-(((d|0)!=0)+g|0)|0)+h|0;X=o,Y=Oj(m,m>>>0<l>>>0?e+1|0:e,y,p),H[X+8>>2]=Y}t=(j|0)!=0}fa=k+80|0;if(!t){break c}l:{if(H[a+8>>2]<=0){break l}m=H[O>>2];d=0;while(1){e=d<<2;f=H[e+W>>2];l=H[a+16>>2];m:{if((f|0)>(l|0)){H[e+m>>2]=l;break m}e=e+m|0;l=H[a+12>>2];if((l|0)>(f|0)){H[e>>2]=l;break m}H[e>>2]=f}d=d+1|0;f=H[a+8>>2];if((d|0)<(f|0)){continue}break}e=0;if((f|0)<=0){break l}d=u<<3;l=d+c|0;j=b+d|0;while(1){f=e<<2;d=f+l|0;f=H[f+j>>2]+H[f+m>>2]|0;H[d>>2]=f;n:{if((f|0)>H[a+16>>2]){f=f-H[a+20>>2]|0}else{if((f|0)>=H[a+12>>2]){break n}f=f+H[a+20>>2]|0}H[d>>2]=f}e=e+1|0;if((e|0)<H[a+8>>2]){continue}break}}u=u+1|0;f=(P|0)>(u|0);if((u|0)!=(V|0)){continue}break}}a=f^1}else{a=0}return a&1}Ea();v()}function cb(a,b){var c=0,d=0,e=0,f=0,g=0;e=fa-16|0;fa=e;H[a+12>>2]=b;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;d=a+16|0;H[d>>2]=0;H[d+4>>2]=0;F[d+5|0]=0;F[d+6|0]=0;F[d+7|0]=0;F[d+8|0]=0;F[d+9|0]=0;F[d+10|0]=0;F[d+11|0]=0;F[d+12|0]=0;c=d+16|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+32|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+48|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d- -64|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+80|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+96|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+112|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+128|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+144|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+160|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+176|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+192|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+208|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+224|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+240|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+256|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+272|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+288|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+304|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+320|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+336|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+352|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+368|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+384|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+400|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+416|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+432|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+448|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+464|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c=d+480|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;d=d+496|0;H[d>>2]=0;H[d+4>>2]=0;F[d+5|0]=0;F[d+6|0]=0;F[d+7|0]=0;F[d+8|0]=0;F[d+9|0]=0;F[d+10|0]=0;F[d+11|0]=0;F[d+12|0]=0;H[a+528>>2]=0;H[a+532>>2]=0;F[a+533|0]=0;F[a+534|0]=0;F[a+535|0]=0;F[a+536|0]=0;F[a+537|0]=0;F[a+538|0]=0;F[a+539|0]=0;F[a+540|0]=0;H[a+544>>2]=0;H[a+548>>2]=0;H[a+560>>2]=0;H[a+552>>2]=0;H[a+556>>2]=0;H[a+564>>2]=0;H[a+568>>2]=0;H[a+580>>2]=0;H[a+572>>2]=0;H[a+576>>2]=0;H[a+584>>2]=0;H[a+588>>2]=0;H[a+600>>2]=0;H[a+592>>2]=0;H[a+596>>2]=0;H[a+612>>2]=0;H[a+604>>2]=0;H[a+608>>2]=0;g=a+628|0;a:{b:{if(b){if(b>>>0<1073741824){break b}va();v()}H[a+616>>2]=0;H[a+620>>2]=0;H[a+624>>2]=0;H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;d=1;break a}d=b<<2;c=sa(d);H[a+604>>2]=c;f=c+d|0;H[a+612>>2]=f;ua(c,0,d);H[a+624>>2]=0;H[a+616>>2]=0;H[a+620>>2]=0;H[a+608>>2]=f;c=sa(d);H[a+616>>2]=c;f=c+d|0;H[a+624>>2]=f;ua(c,0,d);H[a+620>>2]=f;c=sa(d);H[e>>2]=c;f=c+d|0;H[e+8>>2]=f;ua(c,0,d);H[e+4>>2]=f;d=b<<5|1}wb(g,d,e);c=H[e>>2];if(c){H[e+4>>2]=c;ra(c)}H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;if(b){b=b<<2;c=sa(b);H[e>>2]=c;f=b+c|0;H[e+8>>2]=f;ua(c,0,b);H[e+4>>2]=f}wb(a+640|0,d,e);b=H[e>>2];if(b){H[e+4>>2]=b;ra(b)}fa=e+16|0;return a}function ic(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=O(0),l=0,m=O(0),n=0;a:{b:{if(!d){break b}c:{switch(H[a+28>>2]-1|0){case 0:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}G[(h<<1)+d>>1]=F[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 1:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}G[(h<<1)+d>>1]=I[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 2:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}G[(h<<1)+d>>1]=J[b>>1];b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 3:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){return 0}e=G[b>>1];if((e|0)<0){break b}G[(h<<1)+d>>1]=e;b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 4:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b>>2];if(e-32768>>>0<4294901760){break b}G[(h<<1)+d>>1]=e;b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 5:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b>>2];if(e>>>0>32767){break b}G[(h<<1)+d>>1]=e;b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 6:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}l=H[b>>2];e=H[b+4>>2]-(l>>>0<32768)|0;if((e|0)==-1&l-32768>>>0<4294901760|(e|0)!=-1){break b}G[(h<<1)+d>>1]=l;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 7:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b+4>>2];l=H[b>>2];if(!e&l>>>0>32767|e){break b}G[(h<<1)+d>>1]=l;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 8:d:{e:{e=I[a+24|0];c=c&255;if(!(c>>>0>e>>>0?e:c)){break e}i=H[a>>2];g=H[i>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;h=g+b|0;f=H[i+4>>2];e=f-g|0;if(!I[a+32|0]){i=0;if((b|0)>=(e|0)){break d}b=0;while(1){k=L[h>>2];if(k<O(-32768)|k!=k){break d}m=O(P(k));if(m==O(Y)|k>=O(32767)){break d}g=(b<<1)+d|0;if(m<O(2147483648)){e=~~k}else{e=-2147483648}G[g>>1]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break e}h=h+4|0;if(f>>>0>h>>>0){continue}break}break d}i=0;if((b|0)>=(e|0)){break d}b=0;while(1){k=L[h>>2];if(k<O(-32768)|k!=k|(O(P(k))==O(Y)|k>=O(32767))){break d}if(k<O(0)|k>O(1)){break d}g=(b<<1)+d|0;j=T(+k*32767+.5);f:{if(P(j)<2147483648){e=~~j;break f}e=-2147483648}G[g>>1]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break e}h=h+4|0;if(f>>>0>h>>>0){continue}break}break d}i=1;if(c>>>0<=e>>>0){break d}ua((e<<1)+d|0,0,c-e<<1)}return i;case 9:g:{h:{e=I[a+24|0];c=c&255;if(!(c>>>0>e>>>0?e:c)){break h}i=H[a>>2];g=H[i>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;h=g+b|0;f=H[i+4>>2];e=f-g|0;if(!I[a+32|0]){i=0;if((b|0)>=(e|0)){break g}b=0;while(1){j=M[h>>3];if(j<-32768|j!=j){break g}n=P(j);if(n==Y|j>=32767){break g}g=(b<<1)+d|0;if(n<2147483648){e=~~j}else{e=-2147483648}G[g>>1]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break h}h=h+8|0;if(f>>>0>h>>>0){continue}break}break g}i=0;if((b|0)>=(e|0)){break g}b=0;while(1){j=M[h>>3];if(j<-32768|j!=j|(P(j)==Y|j>=32767)){break g}if(j<0|j>1){break g}g=(b<<1)+d|0;j=T(j*32767+.5);i:{if(P(j)<2147483648){e=~~j;break i}e=-2147483648}G[g>>1]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break h}h=h+8|0;if(f>>>0>h>>>0){continue}break}break g}i=1;if(c>>>0<=e>>>0){break g}ua((e<<1)+d|0,0,c-e<<1)}return i;case 10:break c;default:break b}}e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}G[(h<<1)+d>>1]=I[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}ua((e<<1)+d|0,0,(c&255)-e<<1)}return i}ua((e<<1)+d|0,0,(c&255)-e<<1);return 1}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,n=0,o=0;j=a;a:{b:{c:{d:{e:{f:{g:{h:{a=H[a+8>>2];switch(H[a+28>>2]-1|0){case 4:break c;case 5:break d;case 2:break e;case 3:break f;case 0:break g;case 1:break h;default:break a}}f=I[a+24|0];c=sa(f);a=H[j+16>>2];if(H[a+80>>2]){g=H[H[a>>2]>>2]+H[a+48>>2]|0}else{g=0}if(!b){break b}if(f){o=f&252;l=f&3;h=f>>>0<4;while(1){a=0;e=0;if(!h){while(1){k=g+(d<<2)|0;F[a+c|0]=H[k>>2];F[(a|1)+c|0]=H[k+4>>2];F[(a|2)+c|0]=H[k+8>>2];F[(a|3)+c|0]=H[k+12>>2];a=a+4|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=0;if(l){while(1){F[a+c|0]=H[g+(d<<2)>>2];a=a+1|0;d=d+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}ta(H[H[H[j+8>>2]+64>>2]>>2]+m|0,c,f);m=f+m|0;n=n+1|0;if((n|0)!=(b|0)){continue}break}break b}a=0;if((b|0)!=1){g=b&-2;while(1){ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,f);a=a+f|0;ta(a+H[H[H[j+8>>2]+64>>2]>>2]|0,c,f);a=a+f|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(b&1)){break b}ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,f);break b}f=I[a+24|0];c=sa(f);a=H[j+16>>2];if(H[a+80>>2]){g=H[H[a>>2]>>2]+H[a+48>>2]|0}else{g=0}if(!b){break b}if(f){o=f&252;l=f&3;h=f>>>0<4;while(1){a=0;e=0;if(!h){while(1){k=g+(d<<2)|0;F[a+c|0]=H[k>>2];F[(a|1)+c|0]=H[k+4>>2];F[(a|2)+c|0]=H[k+8>>2];F[(a|3)+c|0]=H[k+12>>2];a=a+4|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=0;if(l){while(1){F[a+c|0]=H[g+(d<<2)>>2];a=a+1|0;d=d+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}ta(H[H[H[j+8>>2]+64>>2]>>2]+m|0,c,f);m=f+m|0;n=n+1|0;if((n|0)!=(b|0)){continue}break}break b}a=0;if((b|0)!=1){g=b&-2;while(1){ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,f);a=a+f|0;ta(a+H[H[H[j+8>>2]+64>>2]>>2]|0,c,f);a=a+f|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(b&1)){break b}ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,f);break b}h=I[a+24|0];i=h<<1;c=sa(i);a=H[j+16>>2];if(H[a+80>>2]){g=H[H[a>>2]>>2]+H[a+48>>2]|0}else{g=0}if(!b){break b}if(h){o=h&252;l=h&3;h=h>>>0<4;while(1){a=0;e=0;if(!h){while(1){f=a<<1;k=g+(d<<2)|0;G[f+c>>1]=H[k>>2];G[(f|2)+c>>1]=H[k+4>>2];G[(f|4)+c>>1]=H[k+8>>2];G[(f|6)+c>>1]=H[k+12>>2];a=a+4|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=0;if(l){while(1){G[(a<<1)+c>>1]=H[g+(d<<2)>>2];a=a+1|0;d=d+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}ta(H[H[H[j+8>>2]+64>>2]>>2]+n|0,c,i);n=i+n|0;m=m+1|0;if((m|0)!=(b|0)){continue}break}break b}a=0;if((b|0)!=1){g=b&-2;while(1){ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,i);a=a+i|0;ta(a+H[H[H[j+8>>2]+64>>2]>>2]|0,c,i);a=a+i|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(b&1)){break b}ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,i);break b}h=I[a+24|0];i=h<<1;c=sa(i);a=H[j+16>>2];if(H[a+80>>2]){g=H[H[a>>2]>>2]+H[a+48>>2]|0}else{g=0}if(!b){break b}if(h){o=h&252;l=h&3;h=h>>>0<4;while(1){a=0;e=0;if(!h){while(1){f=a<<1;k=g+(d<<2)|0;G[f+c>>1]=H[k>>2];G[(f|2)+c>>1]=H[k+4>>2];G[(f|4)+c>>1]=H[k+8>>2];G[(f|6)+c>>1]=H[k+12>>2];a=a+4|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=0;if(l){while(1){G[(a<<1)+c>>1]=H[g+(d<<2)>>2];a=a+1|0;d=d+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}ta(H[H[H[j+8>>2]+64>>2]>>2]+n|0,c,i);n=i+n|0;m=m+1|0;if((m|0)!=(b|0)){continue}break}break b}a=0;if((b|0)!=1){g=b&-2;while(1){ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,i);a=a+i|0;ta(a+H[H[H[j+8>>2]+64>>2]>>2]|0,c,i);a=a+i|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(b&1)){break b}ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,i);break b}h=I[a+24|0];i=h<<2;c=sa(i);a=H[j+16>>2];if(H[a+80>>2]){g=H[H[a>>2]>>2]+H[a+48>>2]|0}else{g=0}if(!b){break b}if(h){o=h&252;l=h&3;h=h>>>0<4;while(1){a=0;e=0;if(!h){while(1){f=a<<2;k=g+(d<<2)|0;H[f+c>>2]=H[k>>2];H[(f|4)+c>>2]=H[k+4>>2];H[(f|8)+c>>2]=H[k+8>>2];H[(f|12)+c>>2]=H[k+12>>2];a=a+4|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=0;if(l){while(1){H[(a<<2)+c>>2]=H[g+(d<<2)>>2];a=a+1|0;d=d+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}ta(H[H[H[j+8>>2]+64>>2]>>2]+n|0,c,i);n=i+n|0;m=m+1|0;if((m|0)!=(b|0)){continue}break}break b}a=0;if((b|0)!=1){g=b&-2;while(1){ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,i);a=a+i|0;ta(a+H[H[H[j+8>>2]+64>>2]>>2]|0,c,i);a=a+i|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(b&1)){break b}ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,i);break b}h=I[a+24|0];i=h<<2;c=sa(i);a=H[j+16>>2];if(H[a+80>>2]){g=H[H[a>>2]>>2]+H[a+48>>2]|0}else{g=0}if(!b){break b}if(h){o=h&252;l=h&3;h=h>>>0<4;while(1){a=0;e=0;if(!h){while(1){f=a<<2;k=g+(d<<2)|0;H[f+c>>2]=H[k>>2];H[(f|4)+c>>2]=H[k+4>>2];H[(f|8)+c>>2]=H[k+8>>2];H[(f|12)+c>>2]=H[k+12>>2];a=a+4|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=0;if(l){while(1){H[(a<<2)+c>>2]=H[g+(d<<2)>>2];a=a+1|0;d=d+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}ta(H[H[H[j+8>>2]+64>>2]>>2]+n|0,c,i);n=i+n|0;m=m+1|0;if((m|0)!=(b|0)){continue}break}break b}a=0;if((b|0)!=1){g=b&-2;while(1){ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,i);a=a+i|0;ta(a+H[H[H[j+8>>2]+64>>2]>>2]|0,c,i);a=a+i|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(b&1)){break b}ta(H[H[H[j+8>>2]+64>>2]>>2]+a|0,c,i)}ra(c);c=1}return c|0}function gc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=O(0),l=0,m=O(0),n=0;a:{b:{if(!d){break b}c:{switch(H[a+28>>2]-1|0){case 0:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=F[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 1:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=I[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 2:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=G[b>>1];b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 3:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=J[b>>1];b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 4:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=H[b>>2];b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 5:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){return 0}e=H[b>>2];if((e|0)<0){break b}H[(h<<2)+d>>2]=e;b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 6:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}l=H[b>>2];if((H[b+4>>2]-(l>>>0<2147483648)|0)!=-1){break b}H[(h<<2)+d>>2]=l;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 7:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b+4>>2];l=H[b>>2];if(!e&l>>>0>2147483647|e){break b}H[(h<<2)+d>>2]=l;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 8:d:{e:{e=I[a+24|0];c=c&255;if(!(c>>>0>e>>>0?e:c)){break e}i=H[a>>2];g=H[i>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;h=g+b|0;f=H[i+4>>2];e=f-g|0;if(!I[a+32|0]){i=0;if((b|0)>=(e|0)){break d}b=0;while(1){k=L[h>>2];if(k<O(-2147483648)|k!=k){break d}m=O(P(k));if(m==O(Y)|k>=O(2147483648)){break d}g=(b<<2)+d|0;if(m<O(2147483648)){e=~~k}else{e=-2147483648}H[g>>2]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break e}h=h+4|0;if(f>>>0>h>>>0){continue}break}break d}i=0;if((b|0)>=(e|0)){break d}b=0;while(1){k=L[h>>2];if(k<O(-2147483648)|k!=k|(O(P(k))==O(Y)|k>=O(2147483648))){break d}if(k<O(0)|k>O(1)){break d}g=(b<<2)+d|0;j=T(+k*2147483647+.5);f:{if(P(j)<2147483648){e=~~j;break f}e=-2147483648}H[g>>2]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break e}h=h+4|0;if(f>>>0>h>>>0){continue}break}break d}i=1;if(c>>>0<=e>>>0){break d}ua((e<<2)+d|0,0,c-e<<2)}return i;case 9:g:{h:{e=I[a+24|0];c=c&255;if(!(c>>>0>e>>>0?e:c)){break h}i=H[a>>2];g=H[i>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;h=g+b|0;f=H[i+4>>2];e=f-g|0;if(!I[a+32|0]){i=0;if((b|0)>=(e|0)){break g}b=0;while(1){j=M[h>>3];if(j<-2147483648|j!=j){break g}n=P(j);if(n==Y|j>=2147483647){break g}g=(b<<2)+d|0;if(n<2147483648){e=~~j}else{e=-2147483648}H[g>>2]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break h}h=h+8|0;if(f>>>0>h>>>0){continue}break}break g}i=0;if((b|0)>=(e|0)){break g}b=0;while(1){j=M[h>>3];if(j<-2147483648|j!=j|(P(j)==Y|j>=2147483647)){break g}if(j<0|j>1){break g}g=(b<<2)+d|0;j=T(j*2147483647+.5);i:{if(P(j)<2147483648){e=~~j;break i}e=-2147483648}H[g>>2]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break h}h=h+8|0;if(f>>>0>h>>>0){continue}break}break g}i=1;if(c>>>0<=e>>>0){break g}ua((e<<2)+d|0,0,c-e<<2)}return i;case 10:break c;default:break b}}e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=I[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}ua((e<<2)+d|0,0,(c&255)-e<<2)}return i}ua((e<<2)+d|0,0,(c&255)-e<<2);return 1}function hc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=O(0),l=0;a:{b:{if(!d){break b}c:{switch(H[a+28>>2]-1|0){case 0:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){return 0}e=F[b|0];if((e|0)<0){break b}G[(h<<1)+d>>1]=e&255;b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 1:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}G[(h<<1)+d>>1]=I[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 2:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){return 0}e=G[b>>1];if((e|0)<0){break b}G[(h<<1)+d>>1]=e;b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 3:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}G[(h<<1)+d>>1]=J[b>>1];b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 4:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b>>2];if(e>>>0>65535){break b}G[(h<<1)+d>>1]=e;b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 5:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b>>2];if(e>>>0>65535){break b}G[(h<<1)+d>>1]=e;b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 6:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b+4>>2];l=H[b>>2];if(!e&l>>>0>65535|e){break b}G[(h<<1)+d>>1]=l;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 7:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b+4>>2];l=H[b>>2];if(!e&l>>>0>65535|e){break b}G[(h<<1)+d>>1]=l;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 8:d:{e:{e=I[a+24|0];c=c&255;if(!(c>>>0>e>>>0?e:c)){break e}j=H[a>>2];g=H[j>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;h=g+b|0;f=H[j+4>>2];e=f-g|0;if(!I[a+32|0]){j=0;if((b|0)>=(e|0)){break d}b=0;while(1){k=L[h>>2];if(k<O(0)|k!=k|(O(P(k))==O(Y)|k>=O(65535))){break d}g=(b<<1)+d|0;if(k<O(4294967296)&k>=O(0)){e=~~k>>>0}else{e=0}G[g>>1]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break e}h=h+4|0;if(f>>>0>h>>>0){continue}break}break d}j=0;if((b|0)>=(e|0)){break d}b=0;while(1){k=L[h>>2];if(k<O(0)|k!=k|(O(P(k))==O(Y)|k>=O(65535))){break d}if(k>O(1)){break d}g=(b<<1)+d|0;i=T(+k*65535+.5);f:{if(i<4294967296&i>=0){e=~~i>>>0;break f}e=0}G[g>>1]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break e}h=h+4|0;if(f>>>0>h>>>0){continue}break}break d}j=1;if(c>>>0<=e>>>0){break d}ua((e<<1)+d|0,0,c-e<<1)}return j;case 9:g:{h:{e=I[a+24|0];c=c&255;if(!(c>>>0>e>>>0?e:c)){break h}j=H[a>>2];g=H[j>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;h=g+b|0;f=H[j+4>>2];e=f-g|0;if(!I[a+32|0]){j=0;if((b|0)>=(e|0)){break g}b=0;while(1){i=M[h>>3];if(i<0|i!=i|(P(i)==Y|i>=65535)){break g}g=(b<<1)+d|0;if(i<4294967296&i>=0){e=~~i>>>0}else{e=0}G[g>>1]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break h}h=h+8|0;if(f>>>0>h>>>0){continue}break}break g}j=0;if((b|0)>=(e|0)){break g}b=0;while(1){i=M[h>>3];if(i<0|i!=i|(P(i)==Y|i>=65535)){break g}if(i>1){break g}g=(b<<1)+d|0;i=T(i*65535+.5);i:{if(i<4294967296&i>=0){e=~~i>>>0;break i}e=0}G[g>>1]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break h}h=h+8|0;if(f>>>0>h>>>0){continue}break}break g}j=1;if(c>>>0<=e>>>0){break g}ua((e<<1)+d|0,0,c-e<<1)}return j;case 10:break c;default:break b}}e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}G[(h<<1)+d>>1]=I[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}ua((e<<1)+d|0,0,(c&255)-e<<1)}return j}ua((e<<1)+d|0,0,(c&255)-e<<1);return 1}function Va(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=O(0),k=0,l=0,m=0,n=O(0),o=0;a:{if(!d){break a}b:{c:{switch(H[a+28>>2]-1|0){case 0:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(g<<3)+d|0;i=F[b|0];H[e>>2]=i;H[e+4>>2]=i>>31;b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 1:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(g<<3)+d|0;H[e>>2]=I[b|0];H[e+4>>2]=0;b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 2:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(g<<3)+d|0;i=G[b>>1];H[e>>2]=i;H[e+4>>2]=i>>31;b=b+2|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 3:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(g<<3)+d|0;H[e>>2]=J[b>>1];H[e+4>>2]=0;b=b+2|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 4:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(g<<3)+d|0;i=H[b>>2];H[e>>2]=i;H[e+4>>2]=i>>31;b=b+4|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 5:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(g<<3)+d|0;H[e>>2]=H[b>>2];H[e+4>>2]=0;b=b+4|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 6:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}i=H[b+4>>2];e=(g<<3)+d|0;H[e>>2]=H[b>>2];H[e+4>>2]=i;b=b+8|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 7:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=H[b>>2];i=H[b+4>>2];if((i|0)<0){break a}l=(g<<3)+d|0;H[l>>2]=e;H[l+4>>2]=i;b=b+8|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 8:d:{e=I[a+24|0];f=c&255;if(!(e>>>0<f>>>0?e:f)){break d}if(I[a+32|0]){break a}b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;e=H[a>>2];i=H[e+4>>2];e=H[e>>2];if((b|0)>=(i-e|0)){break a}g=b+e|0;h=c&255;b=0;while(1){j=L[g>>2];if(j>=O(0x8000000000000000)|j<O(-0x8000000000000000)|j!=j){break a}n=O(P(j));if(n==O(Y)){break a}e=(b<<3)+d|0;e:{if(n<O(0x8000000000000000)){l=O(P(j))>=O(1)?~~(j>O(0)?O(R(O(T(O(j*O(2.3283064365386963e-10)))),O(4294967296))):O(U(O(O(j-O(~~j>>>0>>>0))*O(2.3283064365386963e-10)))))>>>0:0;m=~~j>>>0;break e}l=-2147483648;m=0}H[e>>2]=m;H[e+4>>2]=l;b=b+1|0;e=I[a+24|0];if(b>>>0>=(e>>>0<h>>>0?e:h)>>>0){break d}g=g+4|0;if(i>>>0>g>>>0){continue}break}break a}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 9:f:{e=I[a+24|0];f=c&255;if(!(e>>>0<f>>>0?e:f)){break f}if(I[a+32|0]){break a}b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;e=H[a>>2];i=H[e+4>>2];e=H[e>>2];if((b|0)>=(i-e|0)){break a}g=b+e|0;h=c&255;b=0;while(1){k=M[g>>3];if(k>=0x8000000000000000|k<-0x8000000000000000|k!=k){break a}o=P(k);if(o==Y){break a}e=(b<<3)+d|0;g:{if(o<0x8000000000000000){l=P(k)>=1?~~(k>0?R(T(k*2.3283064365386963e-10),4294967295):U((k-+(~~k>>>0>>>0))*2.3283064365386963e-10))>>>0:0;m=~~k>>>0;break g}l=-2147483648;m=0}H[e>>2]=m;H[e+4>>2]=l;b=b+1|0;e=I[a+24|0];if(b>>>0>=(e>>>0<h>>>0?e:h)>>>0){break f}g=g+8|0;if(i>>>0>g>>>0){continue}break}break a}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0;break b;case 10:break c;default:break a}}e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[a>>2];h=H[e>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=h+b|0;h=H[e+4>>2];while(1){if(b>>>0>=h>>>0){break a}e=(g<<3)+d|0;H[e>>2]=I[b|0];H[e+4>>2]=0;b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}if(e>>>0>=f>>>0){break a}d=(e<<3)+d|0;a=(c&255)-e|0}ua(d,0,a<<3)}}function ed(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;g=fa-96|0;fa=g;n=H[a+4>>2];e=H[n+32>>2];k=H[e+8>>2];f=k;l=H[e+12>>2];d=l;c=H[e+20>>2];o=H[e+16>>2];a:{if((d|0)<=(c|0)&o>>>0>=f>>>0|(c|0)>(d|0)){break a}m=H[e>>2];p=I[m+o|0];f=o+1|0;d=f?c:c+1|0;H[e+16>>2]=f;H[e+20>>2]=d;if((d|0)>=(l|0)&f>>>0>=k>>>0|(d|0)>(l|0)){break a}j=I[f+m|0];f=o+2|0;d=f>>>0<2?c+1|0:c;i=f;H[e+16>>2]=f;H[e+20>>2]=d;q=p<<24>>24;b:{if((q|0)>=0){f=H[a+216>>2];if(p>>>0>=(H[a+220>>2]-f|0)/144>>>0){break a}f=f+N(p,144)|0;if(H[f>>2]<0){break b}break a}if(H[a+212>>2]>=0){break a}f=a+212|0}H[f>>2]=b;c:{d:{e:{f:{g:{h:{f=J[n+36>>1];i:{if(((f<<8|f>>>8)&65535)>>>0>=258){if((d|0)>=(l|0)&i>>>0>=k>>>0|(d|0)>(l|0)){break a}f=I[i+m|0];d=o+3|0;c=d>>>0<3?c+1|0:c;H[e+16>>2]=d;H[e+20>>2]=c;c=f>>>0>1;if(c){break a}c=c?0:f;if(!j){break i}if(!c){break h}break a}if(j){break g}c=0}if((q|0)<0){e=a+184|0}else{e=H[a+216>>2]+N(p,144)|0;F[e+100|0]=0;e=e+104|0}if((c|0)!=1){break e}c=fa-112|0;fa=c;m=H[H[a+4>>2]+44>>2];d=sa(120);H[d>>2]=12172;H[d+4>>2]=0;H[d+116>>2]=0;H[d+112>>2]=e;H[d+108>>2]=m;H[d+12>>2]=0;H[d+16>>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]=12384;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+104>>2]=0;H[d+96>>2]=0;H[d+100>>2]=0;k=H[a+8>>2];H[c+48>>2]=0;H[c+52>>2]=0;H[c+40>>2]=0;H[c+44>>2]=0;j=c+32|0;f=j;H[f>>2]=0;H[f+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;f=c- -64|0;H[f>>2]=0;H[f+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+16>>2]=0;H[c+20>>2]=0;H[c+56>>2]=0;H[c+60>>2]=0;H[c+8>>2]=12384;H[c+96>>2]=0;H[c+100>>2]=0;H[c+12>>2]=k;i=H[k>>2];f=H[k+4>>2];F[c+111|0]=0;l=j;j=c+111|0;Ra(l,(f-i>>2>>>0)/3|0,j);f=H[c+12>>2];i=H[f+28>>2];f=H[f+24>>2];F[c+111|0]=0;Ra(c+44|0,i-f>>2,j);H[c+28>>2]=d;H[c+24>>2]=m;H[c+20>>2]=e;H[c+16>>2]=k;e=d+8|0;f=c+8|0;dd(e,f);j:{if((f|0)==(e|0)){H[d+92>>2]=H[f+84>>2];break j}Eb(d+56|0,H[f+48>>2],H[f+52>>2]);Eb(d+68|0,H[f+60>>2],H[f- -64>>2]);Eb(d+80|0,H[f+72>>2],H[f+76>>2]);H[d+92>>2]=H[f+84>>2];Ca(d+96|0,H[f+88>>2],H[f+92>>2])}H[c+8>>2]=12384;e=H[c+96>>2];if(e){H[c+100>>2]=e;ra(e)}e=H[c+80>>2];if(e){H[c+84>>2]=e;ra(e)}e=H[c+68>>2];if(e){H[c+72>>2]=e;ra(e)}e=H[c+56>>2];if(e){H[c+60>>2]=e;ra(e)}H[c+8>>2]=12620;e=H[c+44>>2];if(e){ra(e)}e=H[c+32>>2];if(e){ra(e)}fa=c+112|0;c=d;break d}if((q|0)>=0){break f}break a}if((q|0)<0){break a}}e=H[a+216>>2];f=H[n+44>>2];c=sa(80);H[c>>2]=12932;H[c+4>>2]=0;H[c+76>>2]=0;H[c+68>>2]=f;H[c+8>>2]=11872;H[c+12>>2]=0;H[c+16>>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=e+N(p,144)|0;d=h+104|0;H[c+72>>2]=d;H[c- -64>>2]=0;H[c+56>>2]=0;H[c+60>>2]=0;H[g+24>>2]=f;H[g+68>>2]=0;H[g+72>>2]=0;H[g+60>>2]=0;H[g+64>>2]=0;H[g+52>>2]=0;H[g+56>>2]=0;H[g+44>>2]=0;H[g+48>>2]=0;H[g+84>>2]=0;H[g+88>>2]=0;H[g+76>>2]=0;H[g+80>>2]=0;H[g+28>>2]=c;e=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=e;H[g+20>>2]=d;d=h+4|0;H[g+16>>2]=d;H[g+36>>2]=0;H[g+40>>2]=0;H[g+32>>2]=11872;e=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=e;h=g+32|0;Ge(h,d,g);e=c+8|0;dd(e,h);if((e|0)!=(h|0)){Eb(c+56|0,H[h+48>>2],H[h+52>>2])}Fe(h);break c}d=fa+-64|0;fa=d;k=H[H[a+4>>2]+44>>2];c=sa(80);H[c>>2]=12640;H[c+4>>2]=0;H[c+76>>2]=0;H[c+72>>2]=e;H[c+68>>2]=k;H[c+8>>2]=12804;H[c+12>>2]=0;H[c+16>>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- -64>>2]=0;m=c+56|0;f=m;H[f>>2]=0;H[f+4>>2]=0;n=H[a+8>>2];H[d+40>>2]=0;H[d+44>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;j=d+24|0;f=j;H[f>>2]=0;H[f+4>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+56>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d>>2]=12804;H[d+4>>2]=n;i=H[n>>2];f=H[n+4>>2];F[d+63|0]=0;l=j;j=d+63|0;Ra(l,(f-i>>2>>>0)/3|0,j);f=H[d+4>>2];i=H[f+28>>2];f=H[f+24>>2];F[d+63|0]=0;Ra(d+36|0,i-f>>2,j);H[d+20>>2]=c;H[d+16>>2]=k;H[d+12>>2]=e;H[d+8>>2]=n;dd(c+8|0,d);Eb(m,H[d+48>>2],H[d+52>>2]);H[d>>2]=12804;e=H[d+48>>2];if(e){H[d+52>>2]=e;ra(e)}H[d>>2]=12620;e=H[d+36>>2];if(e){ra(e)}e=H[d+24>>2];if(e){ra(e)}fa=d- -64|0}if(!c){break a}}c=md(sa(64),c);i=H[a+4>>2];a=c;c=b;k:{l:{if((c|0)>=0){d=i+8|0;b=H[i+12>>2];e=H[i+8>>2];f=b-e>>2;m:{if((f|0)>(c|0)){break m}h=c+1|0;if(c>>>0>=f>>>0){Xb(d,h-f|0);break m}if(f>>>0<=h>>>0){break m}e=e+(h<<2)|0;if((e|0)!=(b|0)){while(1){b=b-4|0;h=H[b>>2];H[b>>2]=0;if(h){ha[H[H[h>>2]+4>>2]](h)}if((b|0)!=(e|0)){continue}break}}H[i+12>>2]=e}e=H[d>>2]+(c<<2)|0;b=H[e>>2];H[e>>2]=a;if(b){break l}break k}b=a;if(!a){break k}}ha[H[H[b>>2]+4>>2]](b)}h=(c^-1)>>>31|0}fa=g+96|0;return h|0}function ec(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=O(0);a:{b:{if(!d){break b}c:{switch(H[a+28>>2]-1|0){case 0:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=F[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 1:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=I[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 2:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=G[b>>1];b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 3:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=J[b>>1];b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 4:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=H[b>>2];b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 5:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=H[b>>2];b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 6:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b>>2];if(H[b+4>>2]){break b}H[(h<<2)+d>>2]=e;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 7:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}e=H[b>>2];if(H[b+4>>2]){break b}H[(h<<2)+d>>2]=e;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}break a;case 8:d:{e:{e=I[a+24|0];c=c&255;if(!(c>>>0>e>>>0?e:c)){break e}j=H[a>>2];g=H[j>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;h=g+b|0;f=H[j+4>>2];e=f-g|0;if(!I[a+32|0]){j=0;if((b|0)>=(e|0)){break d}b=0;while(1){k=L[h>>2];if(k<O(0)|k!=k|(O(P(k))==O(Y)|k>=O(4294967296))){break d}g=(b<<2)+d|0;if(k<O(4294967296)&k>=O(0)){e=~~k>>>0}else{e=0}H[g>>2]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break e}h=h+4|0;if(f>>>0>h>>>0){continue}break}break d}j=0;if((b|0)>=(e|0)){break d}b=0;while(1){k=L[h>>2];if(k<O(0)|k!=k|(O(P(k))==O(Y)|k>=O(4294967296))){break d}if(k>O(1)){break d}g=(b<<2)+d|0;i=T(+k*4294967295+.5);f:{if(i<4294967296&i>=0){e=~~i>>>0;break f}e=0}H[g>>2]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break e}h=h+4|0;if(f>>>0>h>>>0){continue}break}break d}j=1;if(c>>>0<=e>>>0){break d}ua((e<<2)+d|0,0,c-e<<2)}return j;case 9:g:{h:{e=I[a+24|0];c=c&255;if(!(c>>>0>e>>>0?e:c)){break h}j=H[a>>2];g=H[j>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;h=g+b|0;f=H[j+4>>2];e=f-g|0;if(!I[a+32|0]){j=0;if((b|0)>=(e|0)){break g}b=0;while(1){i=M[h>>3];if(i<0|i!=i|(P(i)==Y|i>=4294967295)){break g}g=(b<<2)+d|0;if(i<4294967296&i>=0){e=~~i>>>0}else{e=0}H[g>>2]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break h}h=h+8|0;if(f>>>0>h>>>0){continue}break}break g}j=0;if((b|0)>=(e|0)){break g}b=0;while(1){i=M[h>>3];if(i<0|i!=i|(P(i)==Y|i>=4294967295)){break g}if(i>1){break g}g=(b<<2)+d|0;i=T(i*4294967295+.5);i:{if(i<4294967296&i>=0){e=~~i>>>0;break i}e=0}H[g>>2]=e;b=b+1|0;e=I[a+24|0];if(b>>>0>=(c>>>0>e>>>0?e:c)>>>0){break h}h=h+8|0;if(f>>>0>h>>>0){continue}break}break g}j=1;if(c>>>0<=e>>>0){break g}ua((e<<2)+d|0,0,c-e<<2)}return j;case 10:break c;default:break b}}e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break b}H[(h<<2)+d>>2]=I[b|0];b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}j=1;if(e>>>0>=f>>>0){break b}ua((e<<2)+d|0,0,(c&255)-e<<2)}return j}ua((e<<2)+d|0,0,(c&255)-e<<2);return 1}function Kd(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=fa-16|0;fa=e;H[e+12>>2]=a;a:{if(a>>>0<=211){d=H[Jd(14256,14448,e+12|0)>>2];break a}if(a>>>0>=4294967292){Z();v()}f=(a>>>0)/210|0;d=N(f,210);H[e+8>>2]=a-d;g=Jd(14448,14640,e+8|0)-14448>>2;while(1){d=H[(g<<2)+14448>>2]+d|0;a=5;while(1){b:{if((a|0)==47){a=211;while(1){b=(d>>>0)/(a>>>0)|0;if(b>>>0<a>>>0){break a}if((N(a,b)|0)==(d|0)){break b}b=a+10|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+12|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+16|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+18|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+22|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+28|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+30|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+36|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+40|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+42|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+46|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+52|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+58|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+60|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+66|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+70|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+72|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+78|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+82|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+88|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+96|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+100|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+102|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+106|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+108|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+112|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+120|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+126|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+130|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+136|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+138|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+142|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+148|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+150|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+156|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+162|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+166|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+168|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+172|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+178|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+180|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+186|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+190|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+192|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+196|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+198|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}if((N(b,c)|0)==(d|0)){break b}b=a+208|0;c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}a=a+210|0;if((N(b,c)|0)!=(d|0)){continue}break}break b}b=H[(a<<2)+14256>>2];c=(d>>>0)/(b>>>0)|0;if(b>>>0>c>>>0){break a}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}}fa=e+16|0;return d}function Kb(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;j=fa-16|0;fa=j;a:{b:{c:{d:{if(I[H[a+4>>2]+36|0]<=1){l=-1;c=H[b+20>>2];g=H[b+16>>2];d=g+4|0;c=d>>>0<4?c+1|0:c;f=d;d=H[b+12>>2];if(f>>>0>K[b+8>>2]&(d|0)<=(c|0)|(c|0)>(d|0)){break c}d=g+H[b>>2]|0;m=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[j+12>>2]=m;H[b+16>>2]=f;H[b+20>>2]=c;break d}l=-1;if(!Ga(1,j+12|0,b)){break c}m=H[j+12>>2]}e:{f:{g:{h:{i:{if(!m){break i}c=H[a+8>>2];if((H[c+4>>2]-H[c>>2]>>2>>>0)/3>>>0<m>>>0){break c}c=J[H[a+4>>2]+36>>1];if(((c<<8|c>>>8)&65535)>>>0>=258){j:{while(1){if(!Ga(1,j+8|0,b)){break c}c=H[j+8>>2];if(!Ga(1,j+8|0,b)){break c}e=c+e|0;c=H[j+8>>2];if(e>>>0<c>>>0){break c}f=e-c|0;c=H[a+40>>2];k:{if((c|0)!=H[a+44>>2]){H[c+4>>2]=e;H[c>>2]=f;H[a+40>>2]=c+12;m=H[j+12>>2];break k}n=H[a+36>>2];h=c-n|0;g=(h|0)/12|0;d=g+1|0;if(d>>>0>=357913942){break j}c=g<<1;i=g>>>0>=178956970?357913941:c>>>0>d>>>0?c:d;if(i){if(i>>>0>=357913942){break b}c=sa(N(i,12))}else{c=0}g=c+N(g,12)|0;H[g+4>>2]=e;H[g>>2]=f;d=g+N((h|0)/-12|0,12)|0;if((h|0)>0){ta(d,n,h)}H[a+44>>2]=c+N(i,12);H[a+40>>2]=g+12;H[a+36>>2]=d;if(!n){break k}ra(n)}k=k+1|0;if(k>>>0<m>>>0){continue}break}l=0;Fb(b,0,0);if(m){while(1){e=I[b+36|0];c=J[H[a+4>>2]+36>>1];l:{m:{if(((c<<8|c>>>8)&65535)>>>0<=513){if(!e){break l}k=0;c=H[b+32>>2];o=c>>>3|0;g=H[b+24>>2];e=o+g|0;f=H[b+28>>2];n:{if(e>>>0>=f>>>0){e=c;break n}d=I[e|0];e=c+1|0;H[b+32>>2]=e;o=e>>>3|0;k=d>>>(c&7)&1}if(f>>>0>g+o>>>0){break m}break l}if(!e){break l}k=0;e=H[b+32>>2];c=H[b+24>>2]+(e>>>3|0)|0;if(c>>>0>=K[b+28>>2]){break l}k=I[c|0]>>>(e&7)&1}H[b+32>>2]=e+1}c=H[a+36>>2]+N(l,12)|0;F[c+8|0]=I[c+8|0]&254|k&1;l=l+1|0;if((m|0)!=(l|0)){continue}break}}F[b+36|0]=0;f=H[b+20>>2];e=0;c=H[b+32>>2]+7|0;e=c>>>0<7?1:e;d=c;c=e>>>3|0;e=(e&7)<<29|d>>>3;d=e+H[b+16>>2]|0;c=c+f|0;H[b+16>>2]=d;H[b+20>>2]=d>>>0<e>>>0?c+1|0:c;break i}va();v()}while(1){d=H[b+12>>2];c=H[b+20>>2];e=c;p=H[b+16>>2];f=p+4|0;c=f>>>0<4?c+1|0:c;n=H[b+8>>2];h=f;if(n>>>0<f>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break c}i=H[b>>2];f=i+p|0;g=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);H[b+16>>2]=h;H[b+20>>2]=c;c=e;f=p+8|0;c=f>>>0<8?c+1|0:c;k=f;if(f>>>0>n>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break c}f=h+i|0;f=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);H[b+16>>2]=k;H[b+20>>2]=c;if((c|0)>=(d|0)&k>>>0>=n>>>0|(c|0)>(d|0)){break c}d=I[i+k|0];c=p+9|0;e=c>>>0<9?e+1|0:e;H[b+16>>2]=c;H[b+20>>2]=e;d=d&1;c=H[a+40>>2];o:{if((c|0)!=H[a+44>>2]){F[c+8|0]=d;H[c+4>>2]=f;H[c>>2]=g;H[a+40>>2]=c+12;m=H[j+12>>2];break o}k=H[a+36>>2];n=c-k|0;h=(n|0)/12|0;e=h+1|0;if(e>>>0>=357913942){break h}c=h<<1;i=h>>>0>=178956970?357913941:c>>>0>e>>>0?c:e;if(i){if(i>>>0>=357913942){break b}c=sa(N(i,12))}else{c=0}h=c+N(h,12)|0;F[h+8|0]=d;H[h+4>>2]=f;H[h>>2]=g;e=h+N((n|0)/-12|0,12)|0;if((n|0)>0){ta(e,k,n)}H[a+44>>2]=c+N(i,12);H[a+40>>2]=h+12;H[a+36>>2]=e;if(!k){break o}ra(k)}o=o+1|0;if(o>>>0<m>>>0){continue}break}}H[j+8>>2]=0;c=J[H[a+4>>2]+36>>1];c=(c<<8|c>>>8)&65535;p:{if(c>>>0<=511){l=-1;c=H[b+20>>2];f=H[b+16>>2];e=f+4|0;c=e>>>0<4?c+1|0:c;d=e;e=H[b+12>>2];if(d>>>0>K[b+8>>2]&(e|0)<=(c|0)|(c|0)>(e|0)){break c}e=f+H[b>>2]|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[b+16>>2]=d;H[b+20>>2]=c;break p}if((c|0)!=512){break e}l=-1;if(!Ga(1,j+8|0,b)){break c}e=H[j+8>>2]}if(!e){break e}c=J[H[a+4>>2]+36>>1];if(((c<<8|c>>>8)&65535)>>>0<258){break f}o=0;m=0;while(1){if(!Ga(1,j+4|0,b)){break c}m=H[j+4>>2]+m|0;c=H[a+52>>2];q:{if((c|0)!=H[a+56>>2]){H[c>>2]=m;H[a+52>>2]=c+4;break q}g=H[a+48>>2];i=c-g|0;d=i>>2;f=d+1|0;if(f>>>0>=1073741824){break g}c=i>>1;f=i>>>0>=2147483644?1073741823:c>>>0>f>>>0?c:f;if(f){if(f>>>0>=1073741824){break b}c=sa(f<<2)}else{c=0}d=c+(d<<2)|0;H[d>>2]=m;if((i|0)>0){ta(c,g,i)}H[a+56>>2]=c+(f<<2);H[a+52>>2]=d+4;H[a+48>>2]=c;if(!g){break q}ra(g)}o=o+1|0;if((o|0)!=(e|0)){continue}break}break e}va();v()}va();v()}l=0;while(1){c=H[b+20>>2];g=H[b+16>>2];d=g+4|0;c=d>>>0<4?c+1|0:c;f=d;d=H[b+12>>2];if(f>>>0>K[b+8>>2]&(d|0)<=(c|0)|(c|0)>(d|0)){l=-1;break c}d=g+H[b>>2]|0;g=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=f;H[b+20>>2]=c;c=H[a+52>>2];r:{if((c|0)!=H[a+56>>2]){H[c>>2]=g;H[a+52>>2]=c+4;break r}i=H[a+48>>2];h=c-i|0;d=h>>2;f=d+1|0;if(f>>>0>=1073741824){break a}c=h>>1;f=h>>>0>=2147483644?1073741823:c>>>0>f>>>0?c:f;if(f){if(f>>>0>=1073741824){break b}c=sa(f<<2)}else{c=0}d=c+(d<<2)|0;H[d>>2]=g;if((h|0)>0){ta(c,i,h)}H[a+56>>2]=c+(f<<2);H[a+52>>2]=d+4;H[a+48>>2]=c;if(!i){break r}ra(i)}l=l+1|0;if((l|0)!=(e|0)){continue}break}}l=H[b+16>>2]}fa=j+16|0;return l}za();v()}va();v()}function we(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];h=c-d|0;f=h>>2;e=f+1|0;if(e>>>0>=1073741824){break a}c=h>>1;e=h>>>0>=2147483644?1073741823:c>>>0>e>>>0?c:e;if(e){if(e>>>0>=1073741824){break d}c=sa(e<<2)}else{c=0}f=c+(f<<2)|0;H[f>>2]=b;if((h|0)>0){ta(c,d,h)}H[a+56>>2]=c+(e<<2);H[a+52>>2]=f+4;H[a+48>>2]=c;if(!d){break f}ra(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]}i=c>>>3&536870908;e=H[a+36>>2];g=e+(f>>>3&536870908)|0;h=H[g>>2];d=1<<f;if(!(h&d)){H[g>>2]=d|h;g=a+8|0;if((b|0)!=-1){e=b+1|0;d=(e>>>0)%3|0?e:b-2|0}else{d=-1}Xa(g,f,d);e=H[a+36>>2]}d=e+i|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}Xa(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;Xa(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){i=(b>>>0)/3|0;c=(i>>>3&268435452)+f|0;H[c>>2]=H[c>>2]|1<<i;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;h=H[(H[H[a+16>>2]+96>>2]+N(i,12)|0)+((b>>>0)%3<<2)>>2];k=H[H[a+20>>2]+4>>2];c=H[k+4>>2];t:{if((c|0)!=H[k+8>>2]){H[c>>2]=h;H[k+4>>2]=c+4;break t}g=H[k>>2];j=c-g|0;e=j>>2;d=e+1|0;if(d>>>0>=1073741824){break s}c=j>>1;d=j>>>0>=2147483644?1073741823:c>>>0>d>>>0?c:d;if(d){if(d>>>0>=1073741824){break d}c=sa(d<<2)}else{c=0}e=c+(e<<2)|0;H[e>>2]=h;if((j|0)>0){ta(c,g,j)}H[k+8>>2]=c+(d<<2);H[k+4>>2]=e+4;H[k>>2]=c;if(!g){break t}ra(g)}j=H[a+12>>2];c=H[j+4>>2];u:{if((c|0)!=H[j+8>>2]){H[c>>2]=b;H[j+4>>2]=c+4;break u}h=H[j>>2];g=c-h|0;e=g>>2;d=e+1|0;if(d>>>0>=1073741824){break r}c=g>>1;d=g>>>0>=2147483644?1073741823:c>>>0>d>>>0?c:d;if(d){if(d>>>0>=1073741824){break d}c=sa(d<<2)}else{c=0}e=c+(e<<2)|0;H[e>>2]=b;if((g|0)>0){ta(c,h,g)}H[j+8>>2]=c+(d<<2);H[j+4>>2]=e+4;H[j>>2]=c;if(!h){break u}ra(h)}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}g=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[g+12>>2]+(c<<2)>>2]}v:{w:{if((N(i,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[g+12>>2]+(e<<2)>>2]}h=(b|0)==-1;e=(b>>>0)/3|0;if((f|0)!=-1){c=(f>>>0)/3|0;c=H[H[a+24>>2]+(c>>>3&268435452)>>2]&1<<c;if(h){break q}d=(c|0)!=0;break p}d=1;if(!h){break p}break k}va();v()}va();v()}if(!c){break o}break k}c=h?-1:e;x:{if(H[H[a+24>>2]+(c>>>3&536870908)>>2]>>>c&1){break x}e=0;c=H[H[g>>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}k=N(e,12)+a|0;c=H[k+52>>2];y:{if((c|0)!=H[k+56>>2]){H[c>>2]=b;H[k+52>>2]=c+4;break y}i=H[k+48>>2];j=c-i|0;h=j>>2;g=h+1|0;if(g>>>0>=1073741824){break c}c=j>>1;g=j>>>0>=2147483644?1073741823:c>>>0>g>>>0?c:g;if(g){if(g>>>0>=1073741824){break d}c=sa(g<<2)}else{c=0}h=c+(h<<2)|0;H[h>>2]=b;if((j|0)>0){ta(c,i,j)}H[k+48>>2]=c;H[k+52>>2]=h+4;H[k+56>>2]=c+(g<<2);if(!i){break y}ra(i)}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}i=N(e,12)+a|0;b=H[i+52>>2];z:{if((b|0)!=H[i+56>>2]){H[b>>2]=f;H[i+52>>2]=b+4;break z}h=H[i+48>>2];g=b-h|0;c=g>>2;d=c+1|0;if(d>>>0>=1073741824){break b}b=g>>1;d=g>>>0>=2147483644?1073741823:b>>>0>d>>>0?b:d;if(d){if(d>>>0>=1073741824){break d}b=sa(d<<2)}else{b=0}c=b+(c<<2)|0;H[c>>2]=f;if((g|0)>0){ta(b,h,g)}H[i+48>>2]=b;H[i+52>>2]=c+4;H[i+56>>2]=b+(d<<2);if(!h){break z}ra(h)}d=H[a+84>>2];if((d|0)<=(e|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}za();v()}va();v()}va();v()}va();v()}function Ya(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=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];j=I[a+32|0];while(1){if(b>>>0>=g>>>0){break a}i=O(F[b|0]);L[(h<<2)+d>>2]=j?O(i/O(127)):i;b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 1:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];j=I[a+32|0];while(1){if(b>>>0>=g>>>0){break a}i=O(I[b|0]);L[(h<<2)+d>>2]=j?O(i/O(255)):i;b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 2:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];j=I[a+32|0];while(1){if(b>>>0>=g>>>0){break a}i=O(G[b>>1]);L[(h<<2)+d>>2]=j?O(i/O(32767)):i;b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 3:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];j=I[a+32|0];while(1){if(b>>>0>=g>>>0){break a}i=O(J[b>>1]);L[(h<<2)+d>>2]=j?O(i/O(65535)):i;b=b+2|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 4:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];j=I[a+32|0];while(1){if(b>>>0>=g>>>0){break a}i=O(H[b>>2]);L[(h<<2)+d>>2]=j?O(i*O(4.656612873077393e-10)):i;b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 5:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];j=I[a+32|0];while(1){if(b>>>0>=g>>>0){break a}i=O(K[b>>2]);L[(h<<2)+d>>2]=j?O(i*O(2.3283064365386963e-10)):i;b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 6:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];j=I[a+32|0];while(1){if(b>>>0>=g>>>0){break a}i=O(+K[b>>2]+ +H[b+4>>2]*4294967296);L[(h<<2)+d>>2]=j?O(i*O(10842021724855044e-35)):i;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 7:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];j=I[a+32|0];while(1){if(b>>>0>=g>>>0){break a}i=O(+K[b>>2]+ +K[b+4>>2]*4294967296);L[(h<<2)+d>>2]=j?O(i*O(5.421010862427522e-20)):i;b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 8:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break a}L[(h<<2)+d>>2]=L[b>>2];b=b+4|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 9:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break a}L[(h<<2)+d>>2]=M[b>>3];b=b+8|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0;break b;case 10:break c;default:break a}}e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){g=H[a>>2];e=H[g>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;g=H[g+4>>2];while(1){if(b>>>0>=g>>>0){break a}L[(h<<2)+d>>2]=I[b|0]?O(1):O(0);b=b+1|0;h=h+1|0;e=I[a+24|0];if(h>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}k=1;if(e>>>0>=f>>>0){break a}d=(e<<2)+d|0;a=(c&255)-e|0}ua(d,0,a<<2)}return k}function Hh(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;g=fa-32|0;fa=g;c=H[a+32>>2];b=J[a+36>>1];a:{b:{if(((b<<8|b>>>8)&65535)>>>0<=513){d=H[c+12>>2];b=H[c+20>>2];f=b;n=H[c+16>>2];j=n+4|0;b=j>>>0<4?b+1|0:b;e=H[c+8>>2];h=j;if(e>>>0<j>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break a}i=H[c>>2];j=i+n|0;j=I[j|0]|I[j+1|0]<<8|(I[j+2|0]<<16|I[j+3|0]<<24);H[c+16>>2]=h;H[c+20>>2]=b;b=f;f=n+8|0;b=f>>>0<8?b+1|0:b;if(f>>>0>e>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break a}d=i+h|0;n=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[c+16>>2]=f;H[c+20>>2]=b;break b}if(!Hb(1,g+28|0,c)){break a}if(!Hb(1,g+24|0,H[a+32>>2])){break a}j=H[g+28>>2];n=H[g+24>>2]}if(j>>>0>1431655765){break a}d=H[a+32>>2];b=d;h=H[b+8>>2];f=H[b+16>>2];c=H[b+12>>2];b=H[b+20>>2];e=Oj(h-f|0,c-(b+(f>>>0>h>>>0)|0)|0,3,0);if(!ga&e>>>0<j>>>0){break a}e=Nj(j,0,3,0);if(!ga&e>>>0<n>>>0|((b|0)>=(c|0)&f>>>0>=h>>>0|(b|0)>(c|0))){break a}c=I[f+H[d>>2]|0];f=f+1|0;b=f?b:b+1|0;H[d+16>>2]=f;H[d+20>>2]=b;c:{d:{if(!c){d=0;b=fa-32|0;fa=b;H[b+24>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;e:{f:{f=N(j,3);if(f){if(f>>>0>=1073741824){break f}c=N(j,12);d=sa(c);ua(d,0,c)}if(id(f,1,H[a+32>>2],d)){g:{if(!j){f=0;break g}f=1;c=H[d>>2];h=c>>>1|0;c=c&1?0-h|0:h;if((c|0)<0){break g}h=0;while(1){H[b>>2]=c;o=c;e=(k<<2)+d|0;c=H[e+4>>2];i=c>>>1|0;c=o+(c&1?0-i|0:i)|0;if((c|0)<0){break g}H[b+4>>2]=c;e=H[e+8>>2];i=e>>>1|0;c=c+(e&1?0-i|0:i)|0;if((c|0)<0){break g}H[b+8>>2]=c;Tb(H[a+44>>2]+96|0,b);h=h+1|0;f=h>>>0<j>>>0;if((j|0)==(h|0)){break g}k=k+3|0;e=H[(k<<2)+d>>2];i=e>>>1|0;c=c+(e&1?0-i|0:i)|0;if((c|0)>=0){continue}break}}k=!f}if(d){ra(d)}fa=b+32|0;b=k&1;break e}va();v()}if(b){break d}break a}if(n>>>0<=255){if(!j){break d}while(1){h:{H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;d=H[a+32>>2];b=d;h=H[b+8>>2];c=H[b+12>>2];f=H[b+20>>2];k=H[b+16>>2];if((c|0)<=(f|0)&h>>>0<=k>>>0|(c|0)<(f|0)){break h}e=H[d>>2];l=I[e+k|0];b=f;i=k+1|0;b=i?b:b+1|0;H[d+16>>2]=i;H[d+20>>2]=b;H[g+8>>2]=l;if((b|0)>=(c|0)&i>>>0>=h>>>0|(b|0)>(c|0)){break h}l=I[e+i|0];b=f;i=k+2|0;b=i>>>0<2?b+1|0:b;H[d+16>>2]=i;H[d+20>>2]=b;H[g+12>>2]=l;if((b|0)>=(c|0)&i>>>0>=h>>>0|(b|0)>(c|0)){break h}c=I[e+i|0];b=f;f=k+3|0;b=f>>>0<3?b+1|0:b;H[d+16>>2]=f;H[d+20>>2]=b;H[g+16>>2]=c;Tb(H[a+44>>2]+96|0,g+8|0);m=m+1|0;if((m|0)!=(j|0)){continue}break d}break}m=0;break a}if(n>>>0<=65535){if(!j){break d}while(1){i:{H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;c=H[a+32>>2];d=H[c+12>>2];k=H[c+8>>2];b=H[c+20>>2];f=b;h=H[c+16>>2];e=h+2|0;b=e>>>0<2?b+1|0:b;if(e>>>0>k>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break i}i=H[c>>2];l=i+h|0;l=I[l|0]|I[l+1|0]<<8;H[c+16>>2]=e;H[c+20>>2]=b;H[g+8>>2]=l;b=f;l=h+4|0;b=l>>>0<4?b+1|0:b;if(l>>>0>k>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break i}e=e+i|0;e=I[e|0]|I[e+1|0]<<8;H[c+16>>2]=l;H[c+20>>2]=b;H[g+12>>2]=e;b=f;f=h+6|0;b=f>>>0<6?b+1|0:b;if(f>>>0>k>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break i}d=i+l|0;d=I[d|0]|I[d+1|0]<<8;H[c+16>>2]=f;H[c+20>>2]=b;H[g+16>>2]=d;Tb(H[a+44>>2]+96|0,g+8|0);m=m+1|0;if((m|0)!=(j|0)){continue}break d}break}m=0;break a}j:{if(n>>>0>2097151){break j}b=J[a+36>>1];if(((b<<8|b>>>8)&65535)>>>0<514){break j}if(!j){break d}while(1){k:{H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;if(!Hb(1,g+4|0,H[a+32>>2])){break k}H[g+8>>2]=H[g+4>>2];if(!Hb(1,g+4|0,H[a+32>>2])){break k}H[g+12>>2]=H[g+4>>2];if(!Hb(1,g+4|0,H[a+32>>2])){break k}H[g+16>>2]=H[g+4>>2];Tb(H[a+44>>2]+96|0,g+8|0);m=m+1|0;if((m|0)!=(j|0)){continue}break d}break}m=0;break a}if(!j){break d}while(1){H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;c=H[a+32>>2];d=H[c+12>>2];k=H[c+8>>2];b=H[c+20>>2];f=b;h=H[c+16>>2];e=h+4|0;b=e>>>0<4?b+1|0:b;i=e;if(e>>>0>k>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break c}l=H[c>>2];e=l+h|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[c+16>>2]=i;H[c+20>>2]=b;H[g+8>>2]=e;b=f;e=h+8|0;b=e>>>0<8?b+1|0:b;o=e;if(e>>>0>k>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break c}e=i+l|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[c+16>>2]=o;H[c+20>>2]=b;H[g+12>>2]=e;b=f;f=h+12|0;b=f>>>0<12?b+1|0:b;if(f>>>0>k>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break c}d=l+o|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[c+16>>2]=f;H[c+20>>2]=b;H[g+16>>2]=d;Tb(H[a+44>>2]+96|0,g+8|0);m=m+1|0;if((m|0)!=(j|0)){continue}break}}H[H[a+4>>2]+80>>2]=n;m=1;break a}m=0}fa=g+32|0;return m|0}function kc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=O(0),k=0,l=O(0);a:{b:{if(!d){break b}c:{switch(H[a+28>>2]-1|0){case 0:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}F[d+g|0]=I[b|0];b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 1:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){return 0}e=F[b|0];if((e|0)<0){break b}F[d+g|0]=e;b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 2:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=J[b>>1];if((e-128&65535)>>>0<65280){break b}F[d+g|0]=e;b=b+2|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 3:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=J[b>>1];if(e>>>0>127){break b}F[d+g|0]=e;b=b+2|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 4:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=H[b>>2];if(e-128>>>0<4294967040){break b}F[d+g|0]=e;b=b+4|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 5:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=H[b>>2];if(e>>>0>127){break b}F[d+g|0]=e;b=b+4|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 6:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}k=H[b>>2];e=H[b+4>>2]-(k>>>0<128)|0;if((e|0)==-1&k-128>>>0<4294967040|(e|0)!=-1){break b}F[d+g|0]=k;b=b+8|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 7:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=H[b+4>>2];k=H[b>>2];if(!e&k>>>0>127|e){break b}F[d+g|0]=k;b=b+8|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 8:e=I[a+24|0];c=c&255;d:{if(c>>>0>e>>>0?e:c){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break d}j=L[b>>2];if(j<O(-128)|j!=j){break d}l=O(P(j));if(l==O(Y)|j>=O(127)){break d}f=d+g|0;e:{f:{if(I[a+32|0]){if(j<O(0)|j>O(1)){break d}h=T(+j*127+.5);if(!(P(h)<2147483648)){break f}e=~~h;break e}if(!(l<O(2147483648))){break f}e=~~j;break e}e=-2147483648}F[f|0]=e;b=b+4|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(c>>>0>e>>>0?e:c)>>>0){continue}break}}i=1;if(c>>>0<=e>>>0){break d}ua(d+e|0,0,c-e|0)}return i;case 9:e=I[a+24|0];c=c&255;g:{if(c>>>0>e>>>0?e:c){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break g}h=M[b>>3];if(h<-128|h!=h|(P(h)==Y|h>=127)){break g}f=d+g|0;if(I[a+32|0]){if(h<0|h>1){break g}h=T(h*127+.5)}h:{if(P(h)<2147483648){e=~~h;break h}e=-2147483648}F[f|0]=e;b=b+8|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(c>>>0>e>>>0?e:c)>>>0){continue}break}}i=1;if(c>>>0<=e>>>0){break g}ua(d+e|0,0,c-e|0)}return i;case 10:break c;default:break b}}e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}F[d+g|0]=I[b|0];b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}ua(d+e|0,0,(c&255)-e|0)}return i}ua(d+e|0,0,(c&255)-e|0);return 1}function yf(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,u=0,v=O(0),w=0;q=fa-16|0;fa=q;a:{if(!(H[a+60>>2]!=H[a- -64>>2]|H[a+48>>2]!=H[a+52>>2])){f=1;break a}f=1;if((ha[H[H[a>>2]+24>>2]](a)|0)<=0){break a}while(1){b:{c=ha[H[H[a>>2]+20>>2]](a,w)|0;c:{d:{e:{e=H[H[H[(ha[H[H[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];switch(H[e+28>>2]-1|0){case 8:break d;case 0:case 2:case 4:break e;default:break c}}c=I[e+24|0];f:{if(!c){k=0;f=0;break f}f=0;c=c<<2;k=sa(c);ua(k,0,c);c=I[e+24|0];if(!c){break f}c=c<<2;f=sa(c);ua(f,0,c)}g:{h:{i:{switch(H[e+28>>2]-1|0){case 4:j=0;g=0;i=0;c=0;l=0;b=I[e+24|0];j:{if(!b){d=0;break j}b=b<<2;g=sa(b);ua(g,0,b);d=sa(b);ua(d,0,b)}k:{if(H[e+80>>2]){while(1){o=H[e>>2];p=H[o>>2];b=H[e+40>>2];h=H[e+48>>2]+Nj(b,H[e+44>>2],i,c)|0;m=ta(g,p+h|0,b);n=I[e+24|0];if(n){t=H[a+48>>2];h=0;while(1){r=h<<2;p=H[r+m>>2];if((p|0)<0){break k}H[d+r>>2]=p+H[t+(h+u<<2)>>2];h=h+1|0;if((n|0)!=(h|0)){continue}break}}ta(H[o>>2]+N(b,i)|0,d,b);b=i+1|0;c=b?c:c+1|0;i=b;if(!c&K[e+80>>2]>b>>>0){continue}break}}l=1}if(d){ra(d)}if(g){ra(g)}if(l){break h}break g;case 2:d=0;h=0;i=0;c=0;b=I[e+24|0];if(b){b=b<<1;h=sa(b);ua(h,0,b);d=sa(b);ua(d,0,b)}if(H[e+80>>2]){while(1){n=H[e>>2];p=H[n>>2];b=H[e+40>>2];g=H[e+48>>2]+Nj(b,H[e+44>>2],i,c)|0;m=ta(h,p+g|0,b);l=I[e+24|0];l:{if(!l){break l}o=H[a+48>>2];g=0;if((l|0)!=1){t=l&254;j=0;while(1){r=g<<1;G[r+d>>1]=J[m+r>>1]+J[o+(g+u<<2)>>1];r=g|1;p=r<<1;G[p+d>>1]=J[m+p>>1]+J[o+(r+u<<2)>>1];g=g+2|0;j=j+2|0;if((t|0)!=(j|0)){continue}break}}if(!(l&1)){break l}j=g<<1;G[j+d>>1]=J[m+j>>1]+J[o+(g+u<<2)>>1]}ta(H[n>>2]+N(b,i)|0,d,b);b=i+1|0;c=b?c:c+1|0;i=b;if(!c&K[e+80>>2]>b>>>0){continue}break}}if(d){ra(d)}if(h){ra(h)}break h;case 0:break i;default:break h}}g=0;h=0;i=0;c=0;b=I[e+24|0];if(b){h=sa(b);ua(h,0,b);g=sa(b);ua(g,0,b)}if(H[e+80>>2]){while(1){t=H[e>>2];p=H[t>>2];b=H[e+40>>2];d=H[e+48>>2]+Nj(b,H[e+44>>2],i,c)|0;m=ta(h,p+d|0,b);l=I[e+24|0];m:{if(!l){break m}o=H[a+48>>2];d=0;if((l|0)!=1){r=l&254;j=0;while(1){F[d+g|0]=I[d+m|0]+I[o+(d+u<<2)|0];n=d|1;F[n+g|0]=I[m+n|0]+I[o+(n+u<<2)|0];d=d+2|0;j=j+2|0;if((r|0)!=(j|0)){continue}break}}if(!(l&1)){break m}F[d+g|0]=I[d+m|0]+I[o+(d+u<<2)|0]}ta(H[t>>2]+N(b,i)|0,g,b);b=i+1|0;c=b?c:c+1|0;i=b;if(!c&K[e+80>>2]>b>>>0){continue}break}}if(g){ra(g)}if(h){ra(h)}}u=I[e+24|0]+u|0;j=1}if(f){ra(f)}if(k){ra(k)}if(j){break c}f=0;break a}m=H[H[a+60>>2]+(s<<2)>>2];f=H[a+36>>2];g=H[(ha[H[H[a>>2]+28>>2]](a)|0)+40>>2];H[q+12>>2]=H[e+56>>2];c=sa(32);H[q>>2]=c;H[q+4>>2]=24;H[q+8>>2]=-2147483616;b=I[1206]|I[1207]<<8|(I[1208]<<16|I[1209]<<24);d=I[1202]|I[1203]<<8|(I[1204]<<16|I[1205]<<24);F[c+16|0]=d;F[c+17|0]=d>>>8;F[c+18|0]=d>>>16;F[c+19|0]=d>>>24;F[c+20|0]=b;F[c+21|0]=b>>>8;F[c+22|0]=b>>>16;F[c+23|0]=b>>>24;b=I[1198]|I[1199]<<8|(I[1200]<<16|I[1201]<<24);d=I[1194]|I[1195]<<8|(I[1196]<<16|I[1197]<<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[1190]|I[1191]<<8|(I[1192]<<16|I[1193]<<24);d=I[1186]|I[1187]<<8|(I[1188]<<16|I[1189]<<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+24|0]=0;b=rd(g,q+12|0,q);if(F[q+11|0]<0){ra(H[q>>2])}c=s+1|0;n:{if(b){me(e,m);break n}i=f+N(s,24)|0;f=H[i+4>>2];s=I[e+24|0];d=s<<2;b=sa(d);H[q>>2]=1065353216;v=L[i+20>>2];f=-1<<f^-1;if((f|0)>0){L[q>>2]=v/O(f|0)}if((f|0)<=0){break b}o:{if(!H[m+80>>2]){break o}if(!s){k=0;f=0;while(1){ta(H[H[e+64>>2]>>2]+f|0,b,d);f=d+f|0;k=k+1|0;if(k>>>0<K[m+80>>2]){continue}break}break o}h=H[H[m>>2]>>2]+H[m+48>>2]|0;t=s&254;r=s&1;j=0;l=0;f=0;while(1){g=H[i+8>>2];v=L[q>>2];k=0;o=0;if((s|0)!=1){while(1){n=k<<2;p=h+(f<<2)|0;L[n+b>>2]=O(v*O(H[p>>2]))+L[g+n>>2];n=n|4;L[n+b>>2]=O(v*O(H[p+4>>2]))+L[g+n>>2];k=k+2|0;f=f+2|0;o=o+2|0;if((t|0)!=(o|0)){continue}break}}if(r){k=k<<2;L[k+b>>2]=O(v*O(H[h+(f<<2)>>2]))+L[g+k>>2];f=f+1|0}ta(H[H[e+64>>2]>>2]+l|0,b,d);l=d+l|0;j=j+1|0;if(j>>>0<K[m+80>>2]){continue}break}}ra(b)}s=c}f=1;w=w+1|0;if((ha[H[H[a>>2]+24>>2]](a)|0)>(w|0)){continue}break a}break}ra(b);f=0}fa=q+16|0;return f|0}function jc(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:{switch(H[a+28>>2]-1|0){case 0:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){return 0}e=F[b|0];if((e|0)<0){break b}F[d+g|0]=e;b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 1:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}F[d+g|0]=I[b|0];b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 2:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=J[b>>1];if(e>>>0>255){break b}F[d+g|0]=e;b=b+2|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 3:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=J[b>>1];if(e>>>0>255){break b}F[d+g|0]=e;b=b+2|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 4:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=H[b>>2];if(e>>>0>255){break b}F[d+g|0]=e;b=b+4|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 5:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=H[b>>2];if(e>>>0>255){break b}F[d+g|0]=e;b=b+4|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 6:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=H[b+4>>2];k=H[b>>2];if(!e&k>>>0>255|e){break b}F[d+g|0]=k;b=b+8|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 7:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}e=H[b+4>>2];k=H[b>>2];if(!e&k>>>0>255|e){break b}F[d+g|0]=k;b=b+8|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 8:e=I[a+24|0];c=c&255;d:{if(c>>>0>e>>>0?e:c){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break d}j=L[b>>2];if(j<O(0)|j!=j|(O(P(j))==O(Y)|j>=O(255))){break d}f=d+g|0;e:{f:{if(I[a+32|0]){if(j>O(1)){break d}h=T(+j*255+.5);if(!(h<4294967296&h>=0)){break f}e=~~h>>>0;break e}if(!(j<O(4294967296)&j>=O(0))){break f}e=~~j>>>0;break e}e=0}F[f|0]=e;b=b+4|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(c>>>0>e>>>0?e:c)>>>0){continue}break}}i=1;if(c>>>0<=e>>>0){break d}ua(d+e|0,0,c-e|0)}return i;case 9:e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}h=M[b>>3];if(h<0|h!=h|(P(h)==Y|h>=255)){break b}k=d+g|0;if(I[a+32|0]){if(h>1){break b}h=T(h*255+.5)}g:{if(h<4294967296&h>=0){e=~~h>>>0;break g}e=0}F[k|0]=e;b=b+8|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}break a;case 10:break c;default:break b}}e=I[a+24|0];f=c&255;if(e>>>0<f>>>0?e:f){e=H[H[a>>2]>>2];b=H[a+48>>2]+Nj(H[a+40>>2],H[a+44>>2],b,0)|0;b=e+b|0;while(1){if(K[H[a>>2]+4>>2]<=b>>>0){break b}F[d+g|0]=I[b|0];b=b+1|0;g=g+1|0;e=I[a+24|0];if(g>>>0<(e>>>0<f>>>0?e:f)>>>0){continue}break}}i=1;if(e>>>0>=f>>>0){break b}ua(d+e|0,0,(c&255)-e|0)}return i}ua(d+e|0,0,(c&255)-e|0);return 1}function Je(a,b,c){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;g=fa+-64|0;fa=g;H[g+56>>2]=0;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;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;i=g+8|0;d=J[b+38>>1];a:{b:{if(!d){break b}c:{if(d>>>0<=511){e=H[b+12>>2];d=H[b+20>>2];f=H[b+16>>2];h=f+4|0;d=h>>>0<4?d+1|0:d;if(h>>>0>K[b+8>>2]&(d|0)>=(e|0)|(d|0)>(e|0)){break b}d=f+H[b>>2]|0;j=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[i+12>>2]=j;d=H[b+20>>2];e=H[b+16>>2]+4|0;d=e>>>0<4?d+1|0:d;H[b+16>>2]=e;H[b+20>>2]=d;break c}if(!kb(1,i+12|0,b)){break b}e=H[b+16>>2];d=H[b+20>>2];j=H[i+12>>2]}f=H[b+8>>2];h=f-e|0;d=H[b+12>>2]-((e>>>0>f>>>0)+d|0)|0;if(h>>>0<j>>>6>>>0&(d|0)<=0|(d|0)<0){break b}e=H[i>>2];d=H[i+4>>2]-e>>2;d:{if(d>>>0<j>>>0){Aa(i,j-d|0);j=H[i+12>>2];break d}if(d>>>0<=j>>>0){break d}H[i+4>>2]=e+(j<<2)}k=1;if(!j){break a}e=H[b+16>>2];d=H[b+20>>2];r=H[i>>2];s=H[b+8>>2];p=H[b+12>>2];h=0;while(1){k=0;if((d|0)>=(p|0)&e>>>0>=s>>>0|(d|0)>(p|0)){break a}k=H[b>>2];n=I[k+e|0];e=e+1|0;d=e?d:d+1|0;H[b+16>>2]=e;H[b+20>>2]=d;f=n>>>2|0;m=0;e:{f:{g:{h:{t=n&3;switch(t|0){case 0:break f;case 3:break h;default:break g}}f=f+h|0;k=0;if(f>>>0>=j>>>0){break a}ua(r+(h<<2)|0,0,(n&252)+4|0);h=f;break e}while(1){if((d|0)>=(p|0)&e>>>0>=s>>>0|(d|0)>(p|0)){break b}j=I[e+k|0];e=e+1|0;d=e?d:d+1|0;H[b+16>>2]=e;H[b+20>>2]=d;f=j<<(m<<3|6)|f;m=m+1|0;if((t|0)!=(m|0)){continue}break}}H[r+(h<<2)>>2]=f}j=H[i+12>>2];h=h+1|0;if(j>>>0>h>>>0){continue}break}d=i+16|0;p=H[i>>2];f=H[i+16>>2];e=H[i+20>>2]-f|0;i:{if(e>>>0<=4194303){Aa(d,1048576-(e>>>2|0)|0);break i}if((e|0)==4194304){break i}H[i+20>>2]=f+4194304}e=i+28|0;h=H[e>>2];f=H[i+32>>2]-h>>3;j:{if(f>>>0<j>>>0){sb(e,j-f|0);h=H[e>>2];break j}if(f>>>0>j>>>0){H[i+32>>2]=(j<<3)+h}if(!j){break b}}i=H[d>>2];d=0;k=0;while(1){e=p+(d<<2)|0;m=H[e>>2];n=(d<<3)+h|0;f=k;H[n+4>>2]=f;H[n>>2]=m;e=H[e>>2];k=e+f|0;if(k>>>0>1048576){break b}k:{if(f>>>0>=k>>>0){break k}m=0;n=e&7;if(n){while(1){H[i+(f<<2)>>2]=d;f=f+1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}if(e-1>>>0<=6){break k}while(1){e=i+(f<<2)|0;H[e>>2]=d;H[e+28>>2]=d;H[e+24>>2]=d;H[e+20>>2]=d;H[e+16>>2]=d;H[e+12>>2]=d;H[e+8>>2]=d;H[e+4>>2]=d;f=f+8|0;if((k|0)!=(f|0)){continue}break}}d=d+1|0;if((j|0)!=(d|0)){continue}break}l=(k|0)==1048576}k=l}l:{if(!k|(H[g+20>>2]?0:a)){break l}k=0;i=fa-16|0;fa=i;m:{n:{if(J[b+38>>1]<=511){f=H[b+12>>2];j=f;d=H[b+20>>2];l=H[b+16>>2];e=l+8|0;d=e>>>0<8?d+1|0:d;h=H[b+8>>2];if(h>>>0<e>>>0&(d|0)>=(f|0)|(d|0)>(f|0)){break m}l=l+H[b>>2]|0;f=I[l|0]|I[l+1|0]<<8|(I[l+2|0]<<16|I[l+3|0]<<24);l=I[l+4|0]|I[l+5|0]<<8|(I[l+6|0]<<16|I[l+7|0]<<24);H[b+16>>2]=e;H[b+20>>2]=d;break n}if(!jb(1,i+8|0,b)){break m}e=H[b+16>>2];d=H[b+20>>2];h=H[b+8>>2];j=H[b+12>>2];f=H[i+8>>2];l=H[i+12>>2]}m=h-e|0;h=j-((e>>>0>h>>>0)+d|0)|0;if((h|0)==(l|0)&f>>>0>m>>>0|h>>>0<l>>>0){break m}d=d+l|0;h=e+f|0;d=h>>>0<f>>>0?d+1|0:d;H[b+16>>2]=h;H[b+20>>2]=d;if((f|0)<=0){break m}b=e+H[b>>2]|0;H[g+48>>2]=b;d=f-1|0;e=d+b|0;h=I[e|0];o:{if(h>>>0<=63){H[g+52>>2]=d;b=I[e|0]&63;break o}p:{switch((h>>>6|0)-1|0){case 0:if(f>>>0<2){break m}d=f-2|0;H[g+52>>2]=d;b=b+d|0;b=I[b+1|0]<<8&16128|I[b|0];break o;case 1:if(f>>>0<3){break m}d=f-3|0;H[g+52>>2]=d;b=b+d|0;b=I[b+1|0]<<8|I[b+2|0]<<16&4128768|I[b|0];break o;default:break p}}d=f-4|0;H[g+52>>2]=d;b=b+d|0;b=I[b+2|0]<<16|I[b+3|0]<<24&1056964608|I[b+1|0]<<8|I[b|0]}H[g+56>>2]=b+4194304;k=b>>>0<1069547520}fa=i+16|0;if(!k){break l}if(!a){o=1;break l}b=H[g+56>>2];d=H[g+36>>2];e=H[g+48>>2];f=H[g+24>>2];while(1){q:{if(b>>>0>4194303){break q}o=H[g+52>>2];while(1){if((o|0)<=0){break q}o=o-1|0;H[g+52>>2]=o;b=I[e+o|0]|b<<8;H[g+56>>2]=b;if(b>>>0<4194304){continue}break}}h=b&1048575;k=H[f+(h<<2)>>2];l=d+(k<<3)|0;b=(N(H[l>>2],b>>>20|0)+h|0)-H[l+4>>2]|0;H[g+56>>2]=b;H[(q<<2)+c>>2]=k;o=1;q=q+1|0;if((q|0)!=(a|0)){continue}break}}a=H[g+36>>2];if(a){H[g+40>>2]=a;ra(a)}a=H[g+24>>2];if(a){H[g+28>>2]=a;ra(a)}a=H[g+8>>2];if(a){H[g+12>>2]=a;ra(a)}fa=g- -64|0;return o}function Pb(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,w=0,x=0,y=0;f=fa-96|0;fa=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;k=H[a+20>>2];d=H[k>>2];a:{b:{e=H[H[e+28>>2]+(b<<2)>>2];if(e>>>0<H[k+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;k=f- -64|0;H[k>>2]=0;H[k+4>>2]=0;H[f+56>>2]=0;H[f+60>>2]=0;Va(e,d,F[e+24|0],f+56|0);if((b|0)!=-1){e=b+1|0;k=(e>>>0)%3|0?e:b-2|0;i=((b>>>0)%3|0?-1:2)+b|0;while(1){d=k;e=i;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}h=H[a+20>>2];b=H[h>>2];d=H[H[H[a+16>>2]+28>>2]+(d<<2)>>2];if(d>>>0>=H[h+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;Va(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;Va(b,d,F[b+24|0],f+8|0);e=H[f+8>>2];b=H[f+56>>2];d=e-b|0;h=H[f+60>>2];j=H[f+12>>2]-(h+(b>>>0>e>>>0)|0)|0;p=H[f+40>>2];e=H[f+64>>2];s=p-e|0;t=H[f+68>>2];p=H[f+44>>2]-(t+(e>>>0>p>>>0)|0)|0;u=Nj(d,j,s,p);w=n-u|0;n=g-(ga+(n>>>0<u>>>0)|0)|0;o=w;g=H[f+16>>2];u=g-e|0;t=H[f+20>>2]-((e>>>0>g>>>0)+t|0)|0;g=H[f+32>>2];w=g-b|0;h=H[f+36>>2]-((b>>>0>g>>>0)+h|0)|0;e=Nj(u,t,w,h);b=o+e|0;g=ga+n|0;g=b>>>0<e>>>0?g+1|0:g;n=b;e=l;o=d;y=j;b=H[f+48>>2];l=H[f+72>>2];d=b-l|0;j=H[f+76>>2];x=H[f+52>>2]-(j+(b>>>0<l>>>0)|0)|0;o=Nj(o,y,d,x);e=e+o|0;b=ga+m|0;b=e>>>0<o>>>0?b+1|0:b;m=H[f+24>>2];o=m-l|0;j=H[f+28>>2]-((l>>>0>m>>>0)+j|0)|0;m=Nj(o,j,w,h);l=e-m|0;m=b-(ga+(e>>>0<m>>>0)|0)|0;b=Nj(u,t,d,x);e=q-b|0;b=r-(ga+(b>>>0>q>>>0)|0)|0;r=Nj(o,j,s,p);q=r+e|0;b=ga+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;e=b^q;j=e-b|0;h=(b^r)-((b>>>0>e>>>0)+b|0)|0;p=-1;e=2147483647;b=m>>31;k=b^l;d=(b^m)-((b>>>0>k>>>0)+b|0)|0;b=k-b|0;s=b^-1;i=d^2147483647;k=g;m:{n:{if(!H[a+28>>2]){if((i|0)==(h|0)&j>>>0>s>>>0|i>>>0<h>>>0){break m}i=g;a=b;e=b+j|0;b=d+h|0;b=a>>>0>e>>>0?b+1|0:b;a=g>>31;d=a;h=d^n;j=h-d|0;g=e+j|0;d=(d^i)-((d>>>0>h>>>0)+d|0)|0;a=g;g=d^2147483647;g=(g|0)==(b|0)&(j^-1)>>>0<e>>>0|b>>>0>g>>>0;a=g?-1:a;if(!(g&0)&(a|0)<=536870912|(a|0)<536870912){break m}b=0;a=a>>>29|0;break n}o:{if((i|0)==(h|0)&j>>>0>s>>>0|i>>>0<h>>>0){break o}a=b;i=b+j|0;b=d+h|0;b=a>>>0>i>>>0?b+1|0:b;a=i;h=g;d=g>>31;g=d;i=d^n;d=(d^h)-(d+(d>>>0>i>>>0)|0)|0;g=i-g|0;i=d^2147483647;if((i|0)==(b|0)&(g^-1)>>>0<a>>>0|b>>>0>i>>>0){break o}b=b+d|0;a=a+g|0;b=a>>>0<g>>>0?b+1|0:b;p=a;e=b;if(!b&a>>>0<536870913){break m}}b=e>>>29|0;a=(e&536870911)<<3|p>>>29}n=Oj(n,k,a,b);l=Oj(l,m,a,b);q=Oj(q,r,a,b)}H[c+8>>2]=n;H[c+4>>2]=l;H[c>>2]=q;fa=f+96|0;return}Ea();v()}Ea();v()}Ea();v()}function Gj(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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;H[a+8>>2]=e;s=a+32|0;g=H[s>>2];f=H[a+36>>2]-g>>2;a:{if(f>>>0<e>>>0){Aa(s,e-f|0);d=H[a+8>>2];break a}d=e;if(d>>>0>=f>>>0){break a}H[a+36>>2]=g+(e<<2);d=e}w=e<<2;f=e>>>0>1073741823?-1:w;m=ua(sa(f),0,f);p=ua(sa(f),0,f);b:{if((d|0)<=0){break b}i=H[a+32>>2];while(1){d=h<<2;f=H[d+m>>2];g=H[a+16>>2];c:{if((f|0)>(g|0)){H[d+i>>2]=g;break c}d=d+i|0;g=H[a+12>>2];if((g|0)>(f|0)){H[d>>2]=g;break c}H[d>>2]=f}d=H[a+8>>2];h=h+1|0;if((d|0)>(h|0)){continue}break}if((d|0)<=0){break b}f=0;while(1){g=f<<2;d=g+c|0;g=H[b+g>>2]+H[g+i>>2]|0;H[d>>2]=g;d:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break d}g=g+H[a+20>>2]|0}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}f=H[a+56>>2];x=H[f>>2];f=H[f+4>>2]-x|0;if((f|0)>=5){C=H[a+52>>2];r=H[a+48>>2];u=f>>>2|0;D=u>>>0<=2?2:u;y=e&-2;z=e&1;E=e&-4;A=e&3;B=e-1|0;n=1;while(1){e:{f:{g:{h:{if((n|0)!=(u|0)){g=H[(n<<2)+x>>2];t=(e|0)<=0;if(!t){ua(m,0,w)}if((g|0)==-1){i=N(e,n);break f}F=H[r>>2];l=0;f=g;while(1){i:{if(H[(f>>>3&536870908)+F>>2]>>>f&1){break i}i=H[H[H[r+64>>2]+12>>2]+(f<<2)>>2];if((i|0)==-1){break i}j=H[C>>2];h=H[r+28>>2];o=H[j+(H[h+(i<<2)>>2]<<2)>>2];if((o|0)>=(n|0)){break i}k=i+1|0;k=H[j+(H[h+(((k>>>0)%3|0?k:i-2|0)<<2)>>2]<<2)>>2];if((k|0)>=(n|0)){break i}i=H[j+(H[h+(i+((i>>>0)%3|0?-1:2)<<2)>>2]<<2)>>2];if((i|0)>=(n|0)){break i}j:{if(t){break j}i=N(e,i);j=N(e,k);o=N(e,o);h=0;q=0;if(B){while(1){H[(h<<2)+p>>2]=(H[(h+i<<2)+c>>2]+H[(h+j<<2)+c>>2]|0)-H[(h+o<<2)+c>>2];k=h|1;H[(k<<2)+p>>2]=(H[(i+k<<2)+c>>2]+H[(j+k<<2)+c>>2]|0)-H[(k+o<<2)+c>>2];h=h+2|0;q=q+2|0;if((y|0)!=(q|0)){continue}break}}if(z){H[(h<<2)+p>>2]=(H[(h+i<<2)+c>>2]+H[(h+j<<2)+c>>2]|0)-H[(h+o<<2)+c>>2]}if(t){break j}o=0;h=0;i=0;if(e>>>0>3){while(1){j=h<<2;k=j+m|0;H[k>>2]=H[j+p>>2]+H[k>>2];k=j|4;q=k+m|0;H[q>>2]=H[k+p>>2]+H[q>>2];k=j|8;q=k+m|0;H[q>>2]=H[k+p>>2]+H[q>>2];j=j|12;k=j+m|0;H[k>>2]=H[j+p>>2]+H[k>>2];h=h+4|0;i=i+4|0;if((E|0)!=(i|0)){continue}break}}if(!A){break j}while(1){i=h<<2;j=i+m|0;H[j>>2]=H[i+p>>2]+H[j>>2];h=h+1|0;o=o+1|0;if((A|0)!=(o|0)){continue}break}}l=l+1|0}k:{l:{if((f>>>0)%3|0){h=f-1|0;break l}h=f+2|0;i=-1;if((h|0)==-1){break k}}i=-1;if(H[H[r>>2]+(h>>>3&536870908)>>2]>>>h&1){break k}f=H[H[H[r+64>>2]+12>>2]+(h<<2)>>2];i=-1;if((f|0)==-1){break k}i=f-1|0;if((f>>>0)%3|0){break k}i=f+2|0}f=i;if((g|0)!=(f|0)&(f|0)!=-1){continue}break}i=N(e,n);if(!l){break f}if(t){break g}h=0;f=0;if(!B){break h}while(1){g=h<<2;j=g+m|0;H[j>>2]=H[j>>2]/(l|0);g=(g|4)+m|0;H[g>>2]=H[g>>2]/(l|0);h=h+2|0;f=f+2|0;if((y|0)!=(f|0)){continue}break}break h}Ea();v()}if(!z){break g}f=(h<<2)+m|0;H[f>>2]=H[f>>2]/(l|0)}if((d|0)<=0){break e}l=H[s>>2];h=0;while(1){d=h<<2;f=H[d+m>>2];g=H[a+16>>2];m:{if((f|0)>(g|0)){H[d+l>>2]=g;break m}d=d+l|0;g=H[a+12>>2];if((g|0)>(f|0)){H[d>>2]=g;break m}H[d>>2]=f}d=H[a+8>>2];h=h+1|0;if((d|0)>(h|0)){continue}break}f=0;if((d|0)<=0){break e}d=i<<2;i=d+c|0;h=b+d|0;while(1){g=f<<2;d=g+i|0;g=H[h+g>>2]+H[g+l>>2]|0;H[d>>2]=g;n:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break n}g=g+H[a+20>>2]|0}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}break e}if((d|0)<=0){break e}g=(N(n-1|0,e)<<2)+c|0;l=H[s>>2];h=0;while(1){d=h<<2;f=H[d+g>>2];j=H[a+16>>2];o:{if((f|0)>(j|0)){H[d+l>>2]=j;break o}d=d+l|0;j=H[a+12>>2];if((j|0)>(f|0)){H[d>>2]=j;break o}H[d>>2]=f}d=H[a+8>>2];h=h+1|0;if((d|0)>(h|0)){continue}break}f=0;if((d|0)<=0){break e}d=i<<2;i=d+c|0;h=b+d|0;while(1){g=f<<2;d=g+i|0;g=H[h+g>>2]+H[g+l>>2]|0;H[d>>2]=g;p:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break p}g=g+H[a+20>>2]|0}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}n=n+1|0;if((D|0)!=(n|0)){continue}break}}ra(p);ra(m);return 1}function oc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=fa-48|0;fa=e;d=J[6677]|J[6678]<<16;f=J[6675]|J[6676]<<16;G[e+38>>1]=f;G[e+40>>1]=f>>>16;G[e+42>>1]=d;G[e+44>>1]=d>>>16;d=H[3337];H[e+32>>2]=H[3336];H[e+36>>2]=d;d=H[3335];H[e+24>>2]=H[3334];H[e+28>>2]=d;d=H[3333];H[e+16>>2]=H[3332];H[e+20>>2]=d;f=H[b+12>>2];d=H[b+20>>2];g=H[b+16>>2];h=g+5|0;d=h>>>0<5?d+1|0:d;a:{b:{if(h>>>0>K[b+8>>2]&(d|0)>=(f|0)|(d|0)>(f|0)){b=Pa(e+16|0);if(b>>>0>=4294967280){break a}c:{d:{if(b>>>0>=11){d=(b|15)+1|0;c=sa(d);H[e+8>>2]=d|-2147483648;H[e>>2]=c;H[e+4>>2]=b;break d}F[e+11|0]=b;c=e;if(!b){break c}}ta(c,e+16|0,b)}F[b+c|0]=0;H[a>>2]=-2;a=a+4|0;if(F[e+11|0]>=0){b=H[e+4>>2];H[a>>2]=H[e>>2];H[a+4>>2]=b;H[a+8>>2]=H[e+8>>2];break b}b=a;a=H[e>>2];Ba(b,a,H[e+4>>2]);ra(a);break b}d=g+H[b>>2]|0;f=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<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]=I[d+4|0];d=H[b+20>>2];f=H[b+16>>2]+5|0;d=f>>>0<5?d+1|0:d;H[b+16>>2]=f;H[b+20>>2]=d;if(Ha(c,1260,5)){b=sa(32);F[b+17|0]=0;F[b+16|0]=I[1496];c=I[1492]|I[1493]<<8|(I[1494]<<16|I[1495]<<24);d=I[1488]|I[1489]<<8|(I[1490]<<16|I[1491]<<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[1484]|I[1485]<<8|(I[1486]<<16|I[1487]<<24);d=I[1480]|I[1481]<<8|(I[1482]<<16|I[1483]<<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[a>>2]=-1;Ba(a+4|0,b,17);ra(b);break b}g=H[b+12>>2];if((g|0)<=(d|0)&K[b+8>>2]<=f>>>0|(d|0)>(g|0)){b=Pa(e+16|0);if(b>>>0>=4294967280){break a}e:{f:{if(b>>>0>=11){d=(b|15)+1|0;c=sa(d);H[e+8>>2]=d|-2147483648;H[e>>2]=c;H[e+4>>2]=b;break f}F[e+11|0]=b;c=e;if(!b){break e}}ta(c,e+16|0,b)}F[b+c|0]=0;H[a>>2]=-2;a=a+4|0;if(F[e+11|0]>=0){b=H[e+4>>2];H[a>>2]=H[e>>2];H[a+4>>2]=b;H[a+8>>2]=H[e+8>>2];break b}b=a;a=H[e>>2];Ba(b,a,H[e+4>>2]);ra(a);break b}F[c+5|0]=I[f+H[b>>2]|0];d=H[b+20>>2];f=H[b+16>>2]+1|0;d=f?d:d+1|0;H[b+16>>2]=f;H[b+20>>2]=d;g=H[b+12>>2];if((g|0)<=(d|0)&K[b+8>>2]<=f>>>0|(d|0)>(g|0)){b=Pa(e+16|0);if(b>>>0>=4294967280){break a}g:{h:{if(b>>>0>=11){d=(b|15)+1|0;c=sa(d);H[e+8>>2]=d|-2147483648;H[e>>2]=c;H[e+4>>2]=b;break h}F[e+11|0]=b;c=e;if(!b){break g}}ta(c,e+16|0,b)}F[b+c|0]=0;H[a>>2]=-2;a=a+4|0;if(F[e+11|0]>=0){b=H[e+4>>2];H[a>>2]=H[e>>2];H[a+4>>2]=b;H[a+8>>2]=H[e+8>>2];break b}b=a;a=H[e>>2];Ba(b,a,H[e+4>>2]);ra(a);break b}F[c+6|0]=I[f+H[b>>2]|0];d=H[b+20>>2];f=H[b+16>>2]+1|0;d=f?d:d+1|0;H[b+16>>2]=f;H[b+20>>2]=d;g=H[b+12>>2];if((g|0)<=(d|0)&K[b+8>>2]<=f>>>0|(d|0)>(g|0)){b=Pa(e+16|0);if(b>>>0>=4294967280){break a}i:{j:{if(b>>>0>=11){d=(b|15)+1|0;c=sa(d);H[e+8>>2]=d|-2147483648;H[e>>2]=c;H[e+4>>2]=b;break j}F[e+11|0]=b;c=e;if(!b){break i}}ta(c,e+16|0,b)}F[b+c|0]=0;H[a>>2]=-2;a=a+4|0;if(F[e+11|0]>=0){b=H[e+4>>2];H[a>>2]=H[e>>2];H[a+4>>2]=b;H[a+8>>2]=H[e+8>>2];break b}b=a;a=H[e>>2];Ba(b,a,H[e+4>>2]);ra(a);break b}F[c+7|0]=I[f+H[b>>2]|0];d=H[b+20>>2];f=H[b+16>>2]+1|0;d=f?d:d+1|0;H[b+16>>2]=f;H[b+20>>2]=d;g=H[b+12>>2];if((g|0)<=(d|0)&K[b+8>>2]<=f>>>0|(d|0)>(g|0)){b=nc(e,e+16|0);H[a>>2]=-2;a=a+4|0;if(F[b+11|0]>=0){c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;H[a+8>>2]=H[b+8>>2];break b}Ba(a,H[b>>2],H[b+4>>2]);if(F[b+11|0]>=0){break b}ra(H[b>>2]);break b}F[c+8|0]=I[f+H[b>>2]|0];d=H[b+20>>2];f=d;i=H[b+16>>2];g=i+1|0;d=g?d:d+1|0;H[b+16>>2]=g;H[b+20>>2]=d;h=H[b+12>>2];d=f;f=i+3|0;d=f>>>0<3?d+1|0:d;if(f>>>0>K[b+8>>2]&(d|0)>=(h|0)|(d|0)>(h|0)){b=nc(e,e+16|0);H[a>>2]=-2;a=a+4|0;if(F[b+11|0]>=0){c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;H[a+8>>2]=H[b+8>>2];break b}Ba(a,H[b>>2],H[b+4>>2]);if(F[b+11|0]>=0){break b}ra(H[b>>2]);break b}f=c;c=g+H[b>>2]|0;G[f+10>>1]=I[c|0]|I[c+1|0]<<8;d=H[b+20>>2];c=H[b+16>>2]+2|0;d=c>>>0<2?d+1|0:d;H[b+16>>2]=c;H[b+20>>2]=d;H[a+8>>2]=0;H[a+12>>2]=0;H[a>>2]=0;H[a+4>>2]=0}fa=e+48|0;return}Qa();v()}function qj(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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;H[a+8>>2]=e;r=a+32|0;f=H[r>>2];j=H[a+36>>2]-f>>2;a:{if(j>>>0<e>>>0){Aa(r,e-j|0);d=H[a+8>>2];break a}d=e;if(e>>>0>=j>>>0){break a}H[a+36>>2]=f+(e<<2);d=e}u=e<<2;f=e>>>0>1073741823?-1:u;m=ua(sa(f),0,f);p=ua(sa(f),0,f);b:{if((d|0)<=0){break b}i=H[a+32>>2];while(1){f=h<<2;j=H[f+m>>2];d=H[a+16>>2];c:{if((j|0)>(d|0)){H[f+i>>2]=d;break c}f=f+i|0;d=H[a+12>>2];if((d|0)>(j|0)){H[f>>2]=d;break c}H[f>>2]=j}d=H[a+8>>2];h=h+1|0;if((d|0)>(h|0)){continue}break}if((d|0)<=0){break b}f=0;while(1){j=f<<2;d=j+c|0;j=H[b+j>>2]+H[j+i>>2]|0;H[d>>2]=j;d:{if((j|0)>H[a+16>>2]){j=j-H[a+20>>2]|0}else{if((j|0)>=H[a+12>>2]){break d}j=j+H[a+20>>2]|0}H[d>>2]=j}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}f=H[a+56>>2];w=H[f>>2];f=H[f+4>>2]-w|0;if((f|0)>=5){D=H[a+52>>2];x=H[a+48>>2];t=f>>>2|0;E=t>>>0<=2?2:t;y=e&-2;z=e&1;F=e&-4;A=e&3;B=e-1|0;n=1;while(1){e:{f:{g:{h:{if((n|0)!=(t|0)){j=H[(n<<2)+w>>2];s=(e|0)<=0;if(!s){ua(m,0,u)}if((j|0)==-1){g=N(e,n);break f}C=H[x+12>>2];q=0;f=j;while(1){h=H[(f<<2)+C>>2];i:{if((h|0)==-1){break i}o=H[D>>2];l=H[x>>2];k=H[o+(H[l+(h<<2)>>2]<<2)>>2];i=h+1|0;i=(i>>>0)%3|0?i:h-2|0;if((i|0)!=-1){g=H[l+(i<<2)>>2]}else{g=-1}j:{k:{if((h>>>0)%3|0){h=h-1|0;break k}h=h+2|0;i=-1;if((h|0)==-1){break j}}i=H[l+(h<<2)>>2]}if((k|0)>=(n|0)){break i}g=H[(g<<2)+o>>2];if((g|0)>=(n|0)){break i}i=H[o+(i<<2)>>2];if((i|0)>=(n|0)){break i}l:{if(s){break l}l=N(e,i);o=N(e,g);k=N(e,k);h=0;i=0;if(B){while(1){H[(h<<2)+p>>2]=(H[(h+l<<2)+c>>2]+H[(h+o<<2)+c>>2]|0)-H[(h+k<<2)+c>>2];g=h|1;H[(g<<2)+p>>2]=(H[(g+l<<2)+c>>2]+H[(g+o<<2)+c>>2]|0)-H[(g+k<<2)+c>>2];h=h+2|0;i=i+2|0;if((y|0)!=(i|0)){continue}break}}if(z){H[(h<<2)+p>>2]=(H[(h+l<<2)+c>>2]+H[(h+o<<2)+c>>2]|0)-H[(h+k<<2)+c>>2]}if(s){break l}o=0;h=0;k=0;if(e>>>0>3){while(1){l=h<<2;i=l+m|0;H[i>>2]=H[l+p>>2]+H[i>>2];g=l|4;i=g+m|0;H[i>>2]=H[g+p>>2]+H[i>>2];g=l|8;i=g+m|0;H[i>>2]=H[g+p>>2]+H[i>>2];g=l|12;i=g+m|0;H[i>>2]=H[g+p>>2]+H[i>>2];h=h+4|0;k=k+4|0;if((F|0)!=(k|0)){continue}break}}if(!A){break l}while(1){g=h<<2;i=g+m|0;H[i>>2]=H[g+p>>2]+H[i>>2];h=h+1|0;o=o+1|0;if((A|0)!=(o|0)){continue}break}}q=q+1|0}m:{n:{if((f>>>0)%3|0){h=f-1|0;break n}h=f+2|0;g=-1;if((h|0)==-1){break m}}f=H[(h<<2)+C>>2];g=-1;if((f|0)==-1){break m}g=f-1|0;if((f>>>0)%3|0){break m}g=f+2|0}f=g;if((j|0)!=(f|0)&(f|0)!=-1){continue}break}g=N(e,n);if(!q){break f}if(s){break g}h=0;f=0;if(!B){break h}while(1){i=h<<2;j=i+m|0;H[j>>2]=H[j>>2]/(q|0);j=(i|4)+m|0;H[j>>2]=H[j>>2]/(q|0);h=h+2|0;f=f+2|0;if((y|0)!=(f|0)){continue}break}break h}Ea();v()}if(!z){break g}f=(h<<2)+m|0;H[f>>2]=H[f>>2]/(q|0)}if((d|0)<=0){break e}k=H[r>>2];h=0;while(1){f=h<<2;j=H[f+m>>2];d=H[a+16>>2];o:{if((j|0)>(d|0)){H[f+k>>2]=d;break o}f=f+k|0;d=H[a+12>>2];if((d|0)>(j|0)){H[f>>2]=d;break o}H[f>>2]=j}d=H[a+8>>2];h=h+1|0;if((d|0)>(h|0)){continue}break}f=0;if((d|0)<=0){break e}d=g<<2;i=d+c|0;j=b+d|0;while(1){g=f<<2;d=g+i|0;g=H[g+j>>2]+H[g+k>>2]|0;H[d>>2]=g;p:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break p}g=g+H[a+20>>2]|0}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}break e}if((d|0)<=0){break e}f=(N(n-1|0,e)<<2)+c|0;k=H[r>>2];h=0;while(1){j=h<<2;i=H[j+f>>2];d=H[a+16>>2];q:{if((i|0)>(d|0)){H[j+k>>2]=d;break q}j=j+k|0;d=H[a+12>>2];if((d|0)>(i|0)){H[j>>2]=d;break q}H[j>>2]=i}d=H[a+8>>2];h=h+1|0;if((d|0)>(h|0)){continue}break}f=0;if((d|0)<=0){break e}d=g<<2;i=d+c|0;j=b+d|0;while(1){g=f<<2;d=g+i|0;g=H[g+j>>2]+H[g+k>>2]|0;H[d>>2]=g;r:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break r}g=g+H[a+20>>2]|0}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}n=n+1|0;if((E|0)!=(n|0)){continue}break}}ra(p);ra(m);return 1}function yj(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=O(0),k=0,l=0,m=O(0),n=O(0),o=O(0),p=O(0),q=O(0),r=O(0),s=O(0),t=0,u=O(0),w=O(0),x=0,y=0,z=O(0),A=O(0),B=O(0),C=0;a:{if((e|0)==2){H[a+64>>2]=f;H[a+72>>2]=2;e=sa(8);d=H[a+68>>2];H[a+68>>2]=e;if(d){ra(d)}H[a+8>>2]=2;x=a+32|0;e=H[x>>2];d=H[a+36>>2]-e|0;b:{if(d>>>0<=7){Aa(x,2-(d>>>2|0)|0);break b}if((d|0)==8){break b}H[a+36>>2]=e+8}d=H[a+56>>2];d=H[d+4>>2]-H[d>>2]|0;c:{if((d|0)<=0){f=0;break c}y=d>>2;C=(y|0)<=1?1:y;f=1;while(1){d=H[a+56>>2];g=H[d>>2];if(H[d+4>>2]-g>>2>>>0<=l>>>0){break a}q=O(0);h=fa-48|0;fa=h;d=-1;g=H[g+(l<<2)>>2];e=-1;d:{if((g|0)==-1){break d}d=g+1|0;d=(d>>>0)%3|0?d:g-2|0;e=g-1|0;if((g>>>0)%3|0){break d}e=g+2|0}i=H[a+52>>2];g=H[i>>2];e:{f:{i=H[i+4>>2]-g>>2;t=d<<2;d=H[H[a+48>>2]+28>>2];t=H[t+d>>2];if(i>>>0<=t>>>0){break f}d=H[d+(e<<2)>>2];if(d>>>0>=i>>>0){break f}i=H[g+(d<<2)>>2];e=H[g+(t<<2)>>2];g:{if(!((i|0)>=(l|0)|(e|0)>=(l|0))){d=H[a+72>>2];g=(N(d,i)<<2)+c|0;m=O(H[g+4>>2]);d=(N(d,e)<<2)+c|0;p=O(H[d+4>>2]);z=O(H[d>>2]);n=O(H[g>>2]);if(!(z!=n|m!=p)){g=+m>2147483647;d=H[a+68>>2];if(O(P(m))<O(2147483648)){e=~~m}else{e=-2147483648}H[d+4>>2]=m<O(-2147483648)?-2147483648:g?-2147483648:e;g=+n>2147483647;if(O(P(n))<O(2147483648)){e=~~n}else{e=-2147483648}H[d>>2]=n<O(-2147483648)?-2147483648:g?-2147483648:e;e=1;break g}d=H[H[a+64>>2]+(l<<2)>>2];H[h+40>>2]=0;H[h+32>>2]=0;H[h+36>>2]=0;g=H[a+60>>2];if(!I[g+84|0]){d=H[H[g+68>>2]+(d<<2)>>2]}Ya(g,d,F[g+24|0],h+32|0);e=H[H[a+64>>2]+(e<<2)>>2];H[h+24>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;d=H[a+60>>2];if(!I[d+84|0]){e=H[H[d+68>>2]+(e<<2)>>2]}Ya(d,e,F[d+24|0],h+16|0);e=H[H[a+64>>2]+(i<<2)>>2];H[h+8>>2]=0;H[h>>2]=0;H[h+4>>2]=0;d=H[a+60>>2];if(!I[d+84|0]){e=H[H[d+68>>2]+(e<<2)>>2]}Ya(d,e,F[d+24|0],h);o=L[h+24>>2];r=O(L[h+8>>2]-o);s=L[h+20>>2];u=O(L[h+4>>2]-s);B=L[h+16>>2];w=O(L[h>>2]-B);A=O(O(r*r)+O(O(u*u)+O(O(w*w)+O(0))));h:{if(H[a+88>>2]>=258){j=O(0);if(!(A>O(0))){break h}}j=O(L[h+40>>2]-o);o=O(L[h+36>>2]-s);s=O(L[h+32>>2]-B);q=O(O(O(r*j)+O(O(u*o)+O(O(w*s)+O(0))))/A);j=O(j-O(r*q));r=O(j*j);j=O(o-O(u*q));o=O(j*j);j=O(s-O(w*q));j=O(W(O(O(r+O(o+O(O(j*j)+O(0))))/A)))}e=H[a+80>>2];if(e){d=e-1|0;g=H[H[a+76>>2]+(d>>>3&536870908)>>2];H[a+80>>2]=d;m=O(m-p);o=O(O(m*q)+p);n=O(n-z);p=O(n*j);d=g>>>d&1;p=O(o+(d?p:O(-p)));j=O(j*m);k=T(+O(O(O(n*q)+z)+(d?O(-j):j))+.5);i:{if(k<-2147483648|k!=k|k>2147483647){d=H[a+68>>2];H[d>>2]=-2147483648;break i}d=H[a+68>>2];if(P(k)<2147483648){g=~~k}else{g=-2147483648}H[d>>2]=g}k=T(+p+.5);i=k>2147483647;if(P(k)<2147483648){g=~~k}else{g=-2147483648}H[d+4>>2]=k<-2147483648?-2147483648:k!=k?-2147483648:i?-2147483648:g}e=(e|0)!=0;break g}j:{if((e|0)<(l|0)){d=H[a+72>>2];g=N(e,d);break j}if((l|0)<=0){e=1;if(H[a+72>>2]<=0){break g}g=H[a+68>>2];d=0;while(1){H[g+(d<<2)>>2]=0;d=d+1|0;if((d|0)<H[a+72>>2]){continue}break}break g}d=H[a+72>>2];g=N(d,l-1|0)}e=1;if((d|0)<=0){break g}i=H[a+68>>2];d=0;while(1){H[i+(d<<2)>>2]=H[(d+g<<2)+c>>2];d=d+1|0;if((d|0)<H[a+72>>2]){continue}break}}fa=h+48|0;break e}Ea();v()}if(!e){break c}k:{if(H[a+8>>2]<=0){break k}h=H[a+68>>2];g=H[x>>2];d=0;while(1){e=d<<2;f=H[e+h>>2];i=H[a+16>>2];l:{if((f|0)>(i|0)){H[e+g>>2]=i;break l}e=e+g|0;i=H[a+12>>2];if((i|0)>(f|0)){H[e>>2]=i;break l}H[e>>2]=f}d=d+1|0;f=H[a+8>>2];if((d|0)<(f|0)){continue}break}e=0;if((f|0)<=0){break k}d=l<<3;h=d+c|0;i=b+d|0;while(1){f=e<<2;d=f+h|0;f=H[f+i>>2]+H[f+g>>2]|0;H[d>>2]=f;m:{if((f|0)>H[a+16>>2]){f=f-H[a+20>>2]|0}else{if((f|0)>=H[a+12>>2]){break m}f=f+H[a+20>>2]|0}H[d>>2]=f}e=e+1|0;if((e|0)<H[a+8>>2]){continue}break}}l=l+1|0;f=(y|0)>(l|0);if((l|0)!=(C|0)){continue}break}}a=f^1}else{a=0}return a&1}Ea();v()}function jj(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=O(0),k=0,l=0,m=O(0),n=O(0),o=O(0),p=O(0),q=O(0),r=O(0),s=O(0),t=O(0),u=O(0),w=0,x=0,y=O(0),z=O(0),A=O(0),B=0;a:{if((e|0)==2){H[a+64>>2]=f;H[a+72>>2]=2;e=sa(8);d=H[a+68>>2];H[a+68>>2]=e;if(d){ra(d)}H[a+8>>2]=2;w=a+32|0;e=H[w>>2];d=H[a+36>>2]-e|0;b:{if(d>>>0<=7){Aa(w,2-(d>>>2|0)|0);break b}if((d|0)==8){break b}H[a+36>>2]=e+8}d=H[a+56>>2];d=H[d+4>>2]-H[d>>2]|0;c:{if((d|0)<=0){f=0;break c}x=d>>2;B=(x|0)<=1?1:x;f=1;while(1){e=H[a+56>>2];d=H[e>>2];if(H[e+4>>2]-d>>2>>>0<=l>>>0){break a}q=O(0);h=fa-48|0;fa=h;g=-1;d:{e:{d=H[d+(l<<2)>>2];if((d|0)==-1){break e}i=H[a+48>>2];e=d+1|0;e=(e>>>0)%3|0?e:d-2|0;if((e|0)!=-1){g=H[H[i>>2]+(e<<2)>>2]}e=-1;d=d+((d>>>0)%3|0?-1:2)|0;if((d|0)!=-1){e=H[H[i>>2]+(d<<2)>>2]}d=H[a+52>>2];i=H[d>>2];d=H[d+4>>2]-i>>2;if(d>>>0<=g>>>0|d>>>0<=e>>>0){break e}d=H[i+(g<<2)>>2];i=H[i+(e<<2)>>2];f:{if(!((i|0)>=(l|0)|(d|0)>=(l|0))){e=H[a+72>>2];g=(N(e,i)<<2)+c|0;m=O(H[g+4>>2]);e=(N(d,e)<<2)+c|0;p=O(H[e+4>>2]);y=O(H[e>>2]);n=O(H[g>>2]);if(!(y!=n|m!=p)){g=+m>2147483647;d=H[a+68>>2];if(O(P(m))<O(2147483648)){e=~~m}else{e=-2147483648}H[d+4>>2]=m<O(-2147483648)?-2147483648:g?-2147483648:e;g=+n>2147483647;if(O(P(n))<O(2147483648)){e=~~n}else{e=-2147483648}H[d>>2]=n<O(-2147483648)?-2147483648:g?-2147483648:e;d=1;break f}e=H[H[a+64>>2]+(l<<2)>>2];H[h+40>>2]=0;H[h+32>>2]=0;H[h+36>>2]=0;g=H[a+60>>2];if(!I[g+84|0]){e=H[H[g+68>>2]+(e<<2)>>2]}Ya(g,e,F[g+24|0],h+32|0);e=H[H[a+64>>2]+(d<<2)>>2];H[h+24>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;d=H[a+60>>2];if(!I[d+84|0]){e=H[H[d+68>>2]+(e<<2)>>2]}Ya(d,e,F[d+24|0],h+16|0);d=H[H[a+64>>2]+(i<<2)>>2];H[h+8>>2]=0;H[h>>2]=0;H[h+4>>2]=0;e=H[a+60>>2];if(!I[e+84|0]){d=H[H[e+68>>2]+(d<<2)>>2]}Ya(e,d,F[e+24|0],h);o=L[h+24>>2];r=O(L[h+8>>2]-o);s=L[h+20>>2];t=O(L[h+4>>2]-s);A=L[h+16>>2];u=O(L[h>>2]-A);z=O(O(r*r)+O(O(t*t)+O(O(u*u)+O(0))));g:{if(H[a+88>>2]>=258){j=O(0);if(!(z>O(0))){break g}}j=O(L[h+40>>2]-o);o=O(L[h+36>>2]-s);s=O(L[h+32>>2]-A);q=O(O(O(r*j)+O(O(t*o)+O(O(u*s)+O(0))))/z);j=O(j-O(r*q));r=O(j*j);j=O(o-O(t*q));o=O(j*j);j=O(s-O(u*q));j=O(W(O(O(r+O(o+O(O(j*j)+O(0))))/z)))}e=H[a+80>>2];if(e){d=e-1|0;g=H[H[a+76>>2]+(d>>>3&536870908)>>2];H[a+80>>2]=d;m=O(m-p);o=O(O(m*q)+p);n=O(n-y);p=O(n*j);d=g>>>d&1;p=O(o+(d?p:O(-p)));j=O(j*m);k=T(+O(O(O(n*q)+y)+(d?O(-j):j))+.5);h:{if(k<-2147483648|k!=k|k>2147483647){d=H[a+68>>2];H[d>>2]=-2147483648;break h}d=H[a+68>>2];if(P(k)<2147483648){g=~~k}else{g=-2147483648}H[d>>2]=g}k=T(+p+.5);i=k>2147483647;if(P(k)<2147483648){g=~~k}else{g=-2147483648}H[d+4>>2]=k<-2147483648?-2147483648:k!=k?-2147483648:i?-2147483648:g}d=(e|0)!=0;break f}i:{if((d|0)<(l|0)){e=H[a+72>>2];g=N(d,e);break i}if((l|0)<=0){d=1;if(H[a+72>>2]<=0){break f}g=H[a+68>>2];e=0;while(1){H[g+(e<<2)>>2]=0;e=e+1|0;if((e|0)<H[a+72>>2]){continue}break}break f}e=H[a+72>>2];g=N(e,l-1|0)}d=1;if((e|0)<=0){break f}i=H[a+68>>2];e=0;while(1){H[i+(e<<2)>>2]=H[(e+g<<2)+c>>2];e=e+1|0;if((e|0)<H[a+72>>2]){continue}break}}fa=h+48|0;break d}Ea();v()}if(!d){break c}j:{if(H[a+8>>2]<=0){break j}h=H[a+68>>2];g=H[w>>2];d=0;while(1){e=d<<2;f=H[e+h>>2];i=H[a+16>>2];k:{if((f|0)>(i|0)){H[e+g>>2]=i;break k}e=e+g|0;i=H[a+12>>2];if((i|0)>(f|0)){H[e>>2]=i;break k}H[e>>2]=f}d=d+1|0;f=H[a+8>>2];if((d|0)<(f|0)){continue}break}e=0;if((f|0)<=0){break j}d=l<<3;h=d+c|0;i=b+d|0;while(1){f=e<<2;d=f+h|0;f=H[f+i>>2]+H[f+g>>2]|0;H[d>>2]=f;l:{if((f|0)>H[a+16>>2]){f=f-H[a+20>>2]|0}else{if((f|0)>=H[a+12>>2]){break l}f=f+H[a+20>>2]|0}H[d>>2]=f}e=e+1|0;if((e|0)<H[a+8>>2]){continue}break}}l=l+1|0;f=(x|0)>(l|0);if((l|0)!=(B|0)){continue}break}}a=f^1}else{a=0}return a&1}Ea();v()}function Nf(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;f=fa-704|0;fa=f;n=1;a:{b:{c:{d:{if(J[b+38>>1]<515){break d}n=0;c=H[b+20>>2];i=H[b+12>>2];d=H[b+16>>2];if((c|0)>=(i|0)&d>>>0>=K[b+8>>2]|(c|0)>(i|0)){break d}o=I[d+H[b>>2]|0];d=d+1|0;c=d?c:c+1|0;H[b+16>>2]=d;H[b+20>>2]=c;i=H[H[(ha[H[H[a>>2]+28>>2]](a)|0)+4>>2]+80>>2];c=ha[H[H[a>>2]+24>>2]](a)|0;H[f+40>>2]=0;H[f+32>>2]=0;H[f+36>>2]=0;if(c){if(c>>>0>=214748365){break c}c=N(c,20);d=sa(c);H[f+32>>2]=d;H[f+40>>2]=c+d;c=c-20|0;c=(c-((c>>>0)%20|0)|0)+20|0;q=f,r=ua(d,0,c)+c|0,H[q+36>>2]=r}e:{if((ha[H[H[a>>2]+24>>2]](a)|0)>0){while(1){c=ha[H[H[a>>2]+20>>2]](a,m)|0;d=H[H[H[(ha[H[H[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];qb(d,i);F[d+84|0]=1;H[d+72>>2]=H[d+68>>2];c=H[d+28>>2];if(c>>>0>9){break e}f:{g:{h:{e=1<<c;if(!(e&42)){if(e&84){break f}if((c|0)!=9){break e}c=I[d+24|0];e=Gb(f+48|0);g=c;c=N(c,H[3401]);lc(e,H[d+56>>2],g,6,0,c,c>>31);c=fc(sa(96),e);H[f>>2]=c;F[c+84|0]=1;H[c+72>>2]=H[c+68>>2];qb(c,i);c=H[a+64>>2];if(c>>>0>=K[a+68>>2]){break h}d=H[f>>2];H[f>>2]=0;H[c>>2]=d;d=c+4|0;H[a+64>>2]=d;break g}h=0;if(!I[d+24|0]){break f}while(1){c=H[a+52>>2];g=H[a+56>>2];i:{if(c>>>0<g>>>0){H[c>>2]=0;H[a+52>>2]=c+4;break i}e=H[a+48>>2];l=c-e|0;k=l>>2;c=k+1|0;if(c>>>0>=1073741824){break b}p=k<<2;g=g-e|0;k=g>>1;g=g>>>0>=2147483644?1073741823:c>>>0<k>>>0?k:c;if(g){if(g>>>0>=1073741824){break a}c=sa(g<<2)}else{c=0}k=p+c|0;H[k>>2]=0;if((l|0)>0){ta(c,e,l)}H[a+56>>2]=c+(g<<2);H[a+52>>2]=k+4;H[a+48>>2]=c;if(!e){break i}ra(e)}h=h+1|0;if(h>>>0<I[d+24|0]){continue}break}break f}d=0;j:{k:{l:{e=H[a+60>>2];g=H[a+64>>2]-e>>2;c=g+1|0;if(c>>>0<1073741824){e=H[a+68>>2]-e|0;h=e>>1;c=e>>>0>=2147483644?1073741823:c>>>0<h>>>0?h:c;if(c){if(c>>>0>=1073741824){break l}d=sa(c<<2)}h=H[f>>2];H[f>>2]=0;e=(g<<2)+d|0;H[e>>2]=h;g=(c<<2)+d|0;h=e+4|0;d=H[a+64>>2];c=H[a+60>>2];if((d|0)==(c|0)){break k}while(1){d=d-4|0;l=H[d>>2];H[d>>2]=0;e=e-4|0;H[e>>2]=l;if((c|0)!=(d|0)){continue}break}H[a+68>>2]=g;d=H[a+64>>2];H[a+64>>2]=h;c=H[a+60>>2];H[a+60>>2]=e;if((c|0)==(d|0)){break j}while(1){d=d-4|0;e=H[d>>2];H[d>>2]=0;if(e){Ja(e)}if((c|0)!=(d|0)){continue}break}break j}va();v()}za();v()}H[a+68>>2]=g;H[a+64>>2]=h;H[a+60>>2]=e}if(c){ra(c)}d=H[a+64>>2]}d=H[d-4>>2];c=H[f>>2];H[f>>2]=0;if(!c){break f}Ja(c)}g=H[d+28>>2];c=g-1|0;if(c>>>0<=10){e=H[(c<<2)+13584>>2]}else{e=-1}c=H[f+32>>2]+N(m,20)|0;h=I[d+24|0];H[c+16>>2]=h;H[c+12>>2]=(e|0)>0?e:0;H[c+8>>2]=g;H[c+4>>2]=j;H[c>>2]=d;j=h+j|0;m=m+1|0;if((ha[H[H[a>>2]+24>>2]](a)|0)>(m|0)){continue}break}}a=Bc(f,f+32|0);m:{n:{o:{switch(o|0){case 0:c=zb(f+48|0,j);b=zd(c,b,a);d=H[c+8>>2];Ab(c);if(!b){break m}if((d|0)==(i|0)){break n}break m;case 1:c=zb(f+48|0,j);b=yd(c,b,a);d=H[c+8>>2];Ab(c);if(!b){break m}if((d|0)==(i|0)){break n}break m;case 2:c=xb(f+48|0,j);b=xd(c,b,a);d=H[c+8>>2];yb(c);if(!b){break m}if((d|0)==(i|0)){break n}break m;case 3:c=xb(f+48|0,j);b=wd(c,b,a);d=H[c+8>>2];yb(c);if(!b){break m}if((d|0)==(i|0)){break n}break m;case 4:c=cb(f+48|0,j);b=vd(c,b,a);d=H[c+8>>2];db(c);if(!b){break m}if((d|0)==(i|0)){break n}break m;case 5:c=cb(f+48|0,j);b=ud(c,b,a);d=H[c+8>>2];db(c);if(!b){break m}if((d|0)==(i|0)){break n}break m;case 6:break o;default:break m}}c=cb(f+48|0,j);b=td(c,b,a);d=H[c+8>>2];db(c);if(!b|(d|0)!=(i|0)){break m}}n=1}b=H[a+16>>2];if(b){H[a+20>>2]=b;ra(b)}b=H[a>>2];if(!b){break e}H[a+4>>2]=b;ra(b)}a=H[f+32>>2];if(!a){break d}H[f+36>>2]=a;ra(a)}fa=f+704|0;return n|0}va();v()}va();v()}za();v()}function Yi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=fa-32|0;fa=e;a:{b:{switch(c-2|0){case 0:c=H[a+4>>2];f=H[a+12>>2];H[e+24>>2]=-1;H[e+16>>2]=-1;H[e+20>>2]=1065353216;H[e+8>>2]=-1;H[e+12>>2]=-1;if((b|0)==-2){break a}i=H[H[H[c+4>>2]+8>>2]+(f<<2)>>2];if((ha[H[H[c>>2]+8>>2]](c)|0)==1){h=H[H[H[c+4>>2]+8>>2]+(f<<2)>>2];c:{if((ha[H[H[c>>2]+8>>2]](c)|0)!=1|b-1>>>0>5){break c}g=ha[H[H[c>>2]+36>>2]](c)|0;a=ha[H[H[c>>2]+44>>2]](c,f)|0;if(!g|!a){break c}f=ha[H[H[c>>2]+40>>2]](c,f)|0;d:{if(f){if((b|0)!=6){break c}b=H[c+44>>2];d=sa(112);H[d+4>>2]=h;c=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=c;c=H[e+20>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=c;H[d+24>>2]=H[e+24>>2];H[d+40>>2]=a;c=a+12|0;H[d+36>>2]=c;H[d+32>>2]=f;H[d+28>>2]=b;H[d+68>>2]=a;H[d- -64>>2]=c;H[d+60>>2]=f;H[d+56>>2]=b;H[d+48>>2]=0;H[d+52>>2]=0;H[d>>2]=7144;H[d+88>>2]=1065353216;H[d+92>>2]=-1;H[d+80>>2]=-1;H[d+84>>2]=-1;H[d+72>>2]=1;H[d+76>>2]=-1;H[d+44>>2]=7668;a=d+96|0;break d}if((b|0)!=6){break c}b=H[c+44>>2];d=sa(112);H[d+4>>2]=h;c=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=c;c=H[e+20>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=c;H[d+24>>2]=H[e+24>>2];H[d+40>>2]=a;c=a+12|0;H[d+36>>2]=c;H[d+32>>2]=g;H[d+28>>2]=b;H[d+68>>2]=a;H[d- -64>>2]=c;H[d+60>>2]=g;H[d+56>>2]=b;H[d+48>>2]=0;H[d+52>>2]=0;H[d>>2]=8080;H[d+88>>2]=1065353216;H[d+92>>2]=-1;H[d+80>>2]=-1;H[d+84>>2]=-1;H[d+72>>2]=1;H[d+76>>2]=-1;H[d+44>>2]=8472;a=d+96|0}H[a>>2]=0;H[a+4>>2]=0;F[a+5|0]=0;F[a+6|0]=0;F[a+7|0]=0;F[a+8|0]=0;F[a+9|0]=0;F[a+10|0]=0;F[a+11|0]=0;F[a+12|0]=0}if(d){break a}}d=sa(28);H[d+4>>2]=i;a=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=a;a=H[e+20>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=a;H[d+24>>2]=H[e+24>>2];H[d>>2]=8860;break a;case 1:break b;default:break a}}c=H[a+4>>2];f=H[a+12>>2];H[e+24>>2]=-1;H[e+16>>2]=-1;H[e+20>>2]=1065353216;H[e+8>>2]=-1;H[e+12>>2]=-1;if((b|0)==-2){break a}i=H[H[H[c+4>>2]+8>>2]+(f<<2)>>2];if((ha[H[H[c>>2]+8>>2]](c)|0)==1){h=H[H[H[c+4>>2]+8>>2]+(f<<2)>>2];e:{if((ha[H[H[c>>2]+8>>2]](c)|0)!=1|b-1>>>0>5){break e}g=ha[H[H[c>>2]+36>>2]](c)|0;a=ha[H[H[c>>2]+44>>2]](c,f)|0;if(!g|!a){break e}f=ha[H[H[c>>2]+40>>2]](c,f)|0;f:{if(f){if((b|0)!=6){break e}b=H[c+44>>2];d=sa(112);H[d+4>>2]=h;c=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=c;c=H[e+20>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=c;H[d+24>>2]=H[e+24>>2];H[d+40>>2]=a;c=a+12|0;H[d+36>>2]=c;H[d+32>>2]=f;H[d+28>>2]=b;H[d+68>>2]=a;H[d- -64>>2]=c;H[d+60>>2]=f;H[d+56>>2]=b;H[d+48>>2]=0;H[d+52>>2]=0;H[d>>2]=9028;H[d+88>>2]=1065353216;H[d+92>>2]=-1;H[d+80>>2]=-1;H[d+84>>2]=-1;H[d+72>>2]=1;H[d+76>>2]=-1;H[d+44>>2]=9592;a=d+96|0;break f}if((b|0)!=6){break e}b=H[c+44>>2];d=sa(112);H[d+4>>2]=h;c=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=c;c=H[e+20>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=c;H[d+24>>2]=H[e+24>>2];H[d+40>>2]=a;c=a+12|0;H[d+36>>2]=c;H[d+32>>2]=g;H[d+28>>2]=b;H[d+68>>2]=a;H[d- -64>>2]=c;H[d+60>>2]=g;H[d+56>>2]=b;H[d+48>>2]=0;H[d+52>>2]=0;H[d>>2]=10032;H[d+88>>2]=1065353216;H[d+92>>2]=-1;H[d+80>>2]=-1;H[d+84>>2]=-1;H[d+72>>2]=1;H[d+76>>2]=-1;H[d+44>>2]=10452;a=d+96|0}H[a>>2]=0;H[a+4>>2]=0;F[a+5|0]=0;F[a+6|0]=0;F[a+7|0]=0;F[a+8|0]=0;F[a+9|0]=0;F[a+10|0]=0;F[a+11|0]=0;F[a+12|0]=0}if(d){break a}}d=sa(28);H[d+4>>2]=i;a=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=a;a=H[e+20>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=a;H[d+24>>2]=H[e+24>>2];H[d>>2]=10864}fa=e+32|0;return d|0}function Ii(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=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;if(H[c>>2]==H[c+4>>2]){h=H[d+80>>2];u=fa-16|0;fa=u;q=H[a+4>>2];i=I[b+24|0];j=H[d+48>>2];d=H[H[d>>2]>>2];c=u+8|0;H[c>>2]=1065353216;L[c>>2]=O(-1<<q^-1)/L[a+20>>2];s=sa(i<<2);a:{if(!h|!i){break a}t=d+j|0;l=L[c>>2];k=H[a+8>>2];w=H[b>>2];c=H[b+48>>2];n=H[b+44>>2];v=H[b+40>>2];if(!I[b+84|0]){r=H[b+68>>2];q=i&254;j=i&1;a=0;while(1){d=H[w>>2];b=Nj(v,n,H[r+(o<<2)>>2],0)+c|0;p=ta(s,d+b|0,v);b=0;m=0;if((i|0)!=1){while(1){d=t+(a<<2)|0;g=b<<2;e=O(T(O(O(l*O(L[g+p>>2]-L[k+g>>2]))+O(.5))));b:{if(O(P(e))<O(2147483648)){f=~~e;break b}f=-2147483648}H[d>>2]=f;f=g|4;e=O(T(O(O(l*O(L[f+p>>2]-L[f+k>>2]))+O(.5))));c:{if(O(P(e))<O(2147483648)){f=~~e;break c}f=-2147483648}H[d+4>>2]=f;b=b+2|0;a=a+2|0;m=m+2|0;if((q|0)!=(m|0)){continue}break}}if(j){d=t+(a<<2)|0;b=b<<2;e=O(T(O(O(l*O(L[b+p>>2]-L[b+k>>2]))+O(.5))));d:{if(O(P(e))<O(2147483648)){b=~~e;break d}b=-2147483648}H[d>>2]=b;a=a+1|0}o=o+1|0;if((h|0)!=(o|0)){continue}break}break a}r=i&254;q=i&1;a=0;while(1){d=H[w>>2];b=Nj(v,n,p,f)+c|0;o=ta(s,d+b|0,v);b=0;m=0;if((i|0)!=1){while(1){d=t+(a<<2)|0;g=b<<2;e=O(T(O(O(l*O(L[g+o>>2]-L[k+g>>2]))+O(.5))));e:{if(O(P(e))<O(2147483648)){j=~~e;break e}j=-2147483648}H[d>>2]=j;j=g|4;e=O(T(O(O(l*O(L[j+o>>2]-L[k+j>>2]))+O(.5))));f:{if(O(P(e))<O(2147483648)){g=~~e;break f}g=-2147483648}H[d+4>>2]=g;b=b+2|0;a=a+2|0;m=m+2|0;if((r|0)!=(m|0)){continue}break}}if(q){d=t+(a<<2)|0;b=b<<2;e=O(T(O(O(l*O(L[b+o>>2]-L[b+k>>2]))+O(.5))));g:{if(O(P(e))<O(2147483648)){b=~~e;break g}b=-2147483648}H[d>>2]=b;a=a+1|0}b=p+1|0;f=b?f:f+1|0;p=b;if((h|0)!=(b|0)|f){continue}break}}ra(s);fa=u+16|0;return 1}u=fa-16|0;fa=u;f=H[a+4>>2];n=I[b+24|0];j=H[d+48>>2];h=H[H[d>>2]>>2];d=u+8|0;H[d>>2]=1065353216;L[d>>2]=O(-1<<f^-1)/L[a+20>>2];t=sa(n<<2);f=H[c+4>>2];s=H[c>>2];h:{if(!n|(f|0)==(s|0)){break h}m=j+h|0;c=f-s>>2;w=c>>>0<=1?1:c;l=L[d>>2];i=H[a+8>>2];x=H[b>>2];d=H[b+48>>2];v=H[b+44>>2];p=H[b+40>>2];if(I[b+84|0]){q=n&254;j=n&1;a=0;c=0;while(1){f=H[x>>2];b=Nj(p,v,H[s+(c<<2)>>2],0)+d|0;g=ta(t,f+b|0,p);b=0;k=0;if((n|0)!=1){while(1){f=m+(a<<2)|0;r=b<<2;e=O(T(O(O(l*O(L[r+g>>2]-L[i+r>>2]))+O(.5))));i:{if(O(P(e))<O(2147483648)){h=~~e;break i}h=-2147483648}H[f>>2]=h;h=r|4;e=O(T(O(O(l*O(L[h+g>>2]-L[i+h>>2]))+O(.5))));j:{if(O(P(e))<O(2147483648)){h=~~e;break j}h=-2147483648}H[f+4>>2]=h;b=b+2|0;a=a+2|0;k=k+2|0;if((q|0)!=(k|0)){continue}break}}if(j){f=m+(a<<2)|0;b=b<<2;e=O(T(O(O(l*O(L[b+g>>2]-L[b+i>>2]))+O(.5))));k:{if(O(P(e))<O(2147483648)){b=~~e;break k}b=-2147483648}H[f>>2]=b;a=a+1|0}c=c+1|0;if((w|0)!=(c|0)){continue}break}break h}r=H[b+68>>2];q=n&254;j=n&1;a=0;c=0;while(1){f=H[x>>2];b=Nj(p,v,H[r+(H[s+(c<<2)>>2]<<2)>>2],0)+d|0;o=ta(t,f+b|0,p);b=0;k=0;if((n|0)!=1){while(1){f=m+(a<<2)|0;g=b<<2;e=O(T(O(O(l*O(L[g+o>>2]-L[i+g>>2]))+O(.5))));l:{if(O(P(e))<O(2147483648)){h=~~e;break l}h=-2147483648}H[f>>2]=h;h=g|4;e=O(T(O(O(l*O(L[h+o>>2]-L[i+h>>2]))+O(.5))));m:{if(O(P(e))<O(2147483648)){g=~~e;break m}g=-2147483648}H[f+4>>2]=g;b=b+2|0;a=a+2|0;k=k+2|0;if((q|0)!=(k|0)){continue}break}}if(j){f=m+(a<<2)|0;b=b<<2;e=O(T(O(O(l*O(L[b+o>>2]-L[b+i>>2]))+O(.5))));n:{if(O(P(e))<O(2147483648)){b=~~e;break n}b=-2147483648}H[f>>2]=b;a=a+1|0}c=c+1|0;if((w|0)!=(c|0)){continue}break}}ra(t);fa=u+16|0;return 1}function bd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=H[a+4>>2];c=H[a>>2];e=(d-c|0)/144|0;if(e>>>0<b>>>0){c=a;e=b-e|0;f=H[a+8>>2];d=H[a+4>>2];a:{if(e>>>0<=(f-d|0)/144>>>0){b:{if(!e){break b}a=d;f=e&7;if(f){b=0;while(1){La(a);a=a+144|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}d=N(e,144)+d|0;if((e-1&268435455)>>>0<7){break b}while(1){La(a);La(a+144|0);La(a+288|0);La(a+432|0);La(a+576|0);La(a+720|0);La(a+864|0);La(a+1008|0);a=a+1152|0;if((d|0)!=(a|0)){continue}break}}H[c+4>>2]=d;break a}c:{d:{e:{b=H[c>>2];g=(d-b|0)/144|0;a=g+e|0;if(a>>>0<29826162){d=0;b=(f-b|0)/144|0;f=b<<1;f=b>>>0>=14913080?29826161:a>>>0<f>>>0?f:a;if(f){if(f>>>0>=29826162){break e}h=sa(N(f,144))}b=N(g,144)+h|0;a=b;g=e&7;if(g){a=b;while(1){La(a);a=a+144|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}g=N(e,144)+b|0;if((e-1&268435455)>>>0>=7){while(1){La(a);La(a+144|0);La(a+288|0);La(a+432|0);La(a+576|0);La(a+720|0);La(a+864|0);La(a+1008|0);a=a+1152|0;if((g|0)!=(a|0)){continue}break}}e=N(f,144)+h|0;a=H[c+4>>2];d=H[c>>2];if((a|0)==(d|0)){break d}while(1){b=b-144|0;a=a-144|0;H[b>>2]=H[a>>2];H[b+4>>2]=H[a+4>>2];H[b+8>>2]=H[a+8>>2];H[b+12>>2]=H[a+12>>2];H[a+12>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[b+16>>2]=H[a+16>>2];H[b+20>>2]=H[a+20>>2];H[b+24>>2]=H[a+24>>2];H[a+24>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;f=I[a+28|0];H[b+40>>2]=0;H[b+32>>2]=0;H[b+36>>2]=0;F[b+28|0]=f;H[b+32>>2]=H[a+32>>2];H[b+36>>2]=H[a+36>>2];H[b+40>>2]=H[a+40>>2];H[a+40>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[b+52>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+44>>2]=H[a+44>>2];H[b+48>>2]=H[a+48>>2];H[b+52>>2]=H[a+52>>2];H[a+52>>2]=0;H[a+44>>2]=0;H[a+48>>2]=0;f=b- -64|0;H[f>>2]=0;H[b+56>>2]=0;H[b+60>>2]=0;H[b+56>>2]=H[a+56>>2];H[b+60>>2]=H[a+60>>2];h=f;f=a- -64|0;H[h>>2]=H[f>>2];H[f>>2]=0;H[a+56>>2]=0;H[a+60>>2]=0;H[b+68>>2]=H[a+68>>2];f=H[a+72>>2];H[b+84>>2]=0;H[b+76>>2]=0;H[b+80>>2]=0;H[b+72>>2]=f;H[b+76>>2]=H[a+76>>2];H[b+80>>2]=H[a+80>>2];H[b+84>>2]=H[a+84>>2];H[a+84>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[b+96>>2]=0;H[b+88>>2]=0;H[b+92>>2]=0;H[b+88>>2]=H[a+88>>2];H[b+92>>2]=H[a+92>>2];H[b+96>>2]=H[a+96>>2];H[a+96>>2]=0;H[a+88>>2]=0;H[a+92>>2]=0;f=I[a+100|0];H[b+112>>2]=0;H[b+104>>2]=0;H[b+108>>2]=0;F[b+100|0]=f;H[b+104>>2]=H[a+104>>2];H[b+108>>2]=H[a+108>>2];H[b+112>>2]=H[a+112>>2];H[a+112>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;H[b+124>>2]=0;H[b+116>>2]=0;H[b+120>>2]=0;H[b+116>>2]=H[a+116>>2];H[b+120>>2]=H[a+120>>2];H[b+124>>2]=H[a+124>>2];H[a+124>>2]=0;H[a+116>>2]=0;H[a+120>>2]=0;f=H[a+128>>2];H[b+140>>2]=0;H[b+132>>2]=0;H[b+136>>2]=0;H[b+128>>2]=f;H[b+132>>2]=H[a+132>>2];H[b+136>>2]=H[a+136>>2];H[b+140>>2]=H[a+140>>2];H[a+140>>2]=0;H[a+132>>2]=0;H[a+136>>2]=0;if((a|0)!=(d|0)){continue}break}H[c+8>>2]=e;a=H[c+4>>2];H[c+4>>2]=g;d=H[c>>2];H[c>>2]=b;if((a|0)==(d|0)){break c}while(1){b=a-144|0;c=H[b+132>>2];if(c){H[a-8>>2]=c;ra(c)}c=H[a-28>>2];if(c){H[a-24>>2]=c;ra(c)}c=H[a-40>>2];if(c){H[a-36>>2]=c;ra(c)}pc(a-140|0);a=b;if((d|0)!=(a|0)){continue}break}break c}va();v()}za();v()}H[c+8>>2]=e;H[c+4>>2]=g;H[c>>2]=b}if(d){ra(d)}}return}if(b>>>0<e>>>0){c=c+N(b,144)|0;if((c|0)!=(d|0)){while(1){b=d-144|0;e=H[b+132>>2];if(e){H[d-8>>2]=e;ra(e)}e=H[d-28>>2];if(e){H[d-24>>2]=e;ra(e)}e=H[d-40>>2];if(e){H[d-36>>2]=e;ra(e)}pc(d-140|0);d=b;if((b|0)!=(c|0)){continue}break}}H[a+4>>2]=c}}function Ne(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=fa-80|0;fa=f;e=H[c+36>>2];H[f+72>>2]=H[c+32>>2];H[f+76>>2]=e;g=H[c+28>>2];e=f- -64|0;H[e>>2]=H[c+24>>2];H[e+4>>2]=g;e=H[c+20>>2];H[f+56>>2]=H[c+16>>2];H[f+60>>2]=e;e=H[c+12>>2];H[f+48>>2]=H[c+8>>2];H[f+52>>2]=e;e=H[c+4>>2];H[f+40>>2]=H[c>>2];H[f+44>>2]=e;oc(a,f+40|0,f+24|0);a:{if(H[a>>2]){break a}if(F[a+15|0]<0){ra(H[a+4>>2])}if(I[f+31|0]){b=sa(32);F[b+27|0]=0;c=I[1521]|I[1522]<<8|(I[1523]<<16|I[1524]<<24);F[b+23|0]=c;F[b+24|0]=c>>>8;F[b+25|0]=c>>>16;F[b+26|0]=c>>>24;c=I[1518]|I[1519]<<8|(I[1520]<<16|I[1521]<<24);d=I[1514]|I[1515]<<8|(I[1516]<<16|I[1517]<<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[1510]|I[1511]<<8|(I[1512]<<16|I[1513]<<24);d=I[1506]|I[1507]<<8|(I[1508]<<16|I[1509]<<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[1502]|I[1503]<<8|(I[1504]<<16|I[1505]<<24);d=I[1498]|I[1499]<<8|(I[1500]<<16|I[1501]<<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[a>>2]=-1;Ba(a+4|0,b,27);ra(b);break a}i=fa-16|0;fa=i;b:{c:{switch(F[f+32|0]){case 0:e=sa(44);H[e>>2]=0;H[e+4>>2]=0;H[e+40>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;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;e=Tc(e);H[e>>2]=13496;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;H[f+16>>2]=e;break b;case 1:e=sa(44);H[e>>2]=0;H[e+4>>2]=0;H[e+40>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;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;e=Tc(e);H[e>>2]=13404;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;H[f+16>>2]=e;break b;default:break c}}g=sa(32);F[g+28|0]=0;e=I[1550]|I[1551]<<8|(I[1552]<<16|I[1553]<<24);F[g+24|0]=e;F[g+25|0]=e>>>8;F[g+26|0]=e>>>16;F[g+27|0]=e>>>24;e=I[1546]|I[1547]<<8|(I[1548]<<16|I[1549]<<24);h=I[1542]|I[1543]<<8|(I[1544]<<16|I[1545]<<24);F[g+16|0]=h;F[g+17|0]=h>>>8;F[g+18|0]=h>>>16;F[g+19|0]=h>>>24;F[g+20|0]=e;F[g+21|0]=e>>>8;F[g+22|0]=e>>>16;F[g+23|0]=e>>>24;e=I[1538]|I[1539]<<8|(I[1540]<<16|I[1541]<<24);h=I[1534]|I[1535]<<8|(I[1536]<<16|I[1537]<<24);F[g+8|0]=h;F[g+9|0]=h>>>8;F[g+10|0]=h>>>16;F[g+11|0]=h>>>24;F[g+12|0]=e;F[g+13|0]=e>>>8;F[g+14|0]=e>>>16;F[g+15|0]=e>>>24;e=I[1530]|I[1531]<<8|(I[1532]<<16|I[1533]<<24);h=I[1526]|I[1527]<<8|(I[1528]<<16|I[1529]<<24);F[g|0]=h;F[g+1|0]=h>>>8;F[g+2|0]=h>>>16;F[g+3|0]=h>>>24;F[g+4|0]=e;F[g+5|0]=e>>>8;F[g+6|0]=e>>>16;F[g+7|0]=e>>>24;H[i>>2]=-1;e=i|4;Ba(e,g,28);j=F[i+15|0];H[f>>2]=H[i>>2];h=f+4|0;d:{if((j|0)>=0){j=H[e+4>>2];H[h>>2]=H[e>>2];H[h+4>>2]=j;H[h+8>>2]=H[e+8>>2];H[f+16>>2]=0;break d}Ba(h,H[i+4>>2],H[i+8>>2]);e=F[i+15|0];H[f+16>>2]=0;if((e|0)>=0){break d}ra(H[i+4>>2])}ra(g)}fa=i+16|0;e=H[f>>2];e:{if(e){H[a>>2]=e;a=a+4|0;if(F[f+15|0]>=0){b=f|4;c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;H[a+8>>2]=H[b+8>>2];break e}Ba(a,H[f+4>>2],H[f+8>>2]);break e}e=H[f+16>>2];H[f+16>>2]=0;se(a,e,b,c,d);if(!H[a>>2]){if(F[a+15|0]<0){ra(H[a+4>>2])}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0}ha[H[H[e>>2]+4>>2]](e)}a=H[f+16>>2];H[f+16>>2]=0;if(a){ha[H[H[a>>2]+4>>2]](a)}if(F[f+15|0]>=0){break a}ra(H[f+4>>2])}fa=f+80|0}function si(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=H[a+32>>2];e=H[b+16>>2];d=H[b+12>>2];c=H[b+20>>2];if(K[b+8>>2]>e>>>0&(d|0)>=(c|0)|(c|0)<(d|0)){f=I[e+H[b>>2]|0];d=e+1|0;c=d?c:c+1|0;H[b+16>>2]=d;H[b+20>>2]=c;b=H[a+48>>2];H[a+48>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}a:{b:{c:{d:{switch(f|0){case 0:b=sa(384);H[b>>2]=11384;ua(b+4|0,0,80);H[b+96>>2]=0;H[b+100>>2]=0;H[b+92>>2]=-1;H[b+84>>2]=-1;H[b+88>>2]=-1;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]=0;H[b+140>>2]=0;H[b+144>>2]=0;H[b+148>>2]=0;H[b+156>>2]=0;H[b+160>>2]=0;H[b+152>>2]=1065353216;H[b+164>>2]=0;H[b+168>>2]=0;H[b+172>>2]=0;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;H[b+196>>2]=0;H[b+200>>2]=0;H[b+204>>2]=0;H[b+208>>2]=0;H[b+212>>2]=-1;H[b+216>>2]=0;H[b+220>>2]=0;H[b+224>>2]=0;Ka(b+232|0);Ka(b+272|0);c=b+312|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;Ka(b+328|0);H[b+376>>2]=0;H[b+368>>2]=0;H[b+372>>2]=0;break c;case 1:b=sa(424);H[b>>2]=11436;ua(b+4|0,0,80);H[b+96>>2]=0;H[b+100>>2]=0;H[b+92>>2]=-1;H[b+84>>2]=-1;H[b+88>>2]=-1;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]=0;H[b+140>>2]=0;H[b+144>>2]=0;H[b+148>>2]=0;H[b+156>>2]=0;H[b+160>>2]=0;H[b+152>>2]=1065353216;H[b+164>>2]=0;H[b+168>>2]=0;H[b+172>>2]=0;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;H[b+196>>2]=0;H[b+200>>2]=0;H[b+204>>2]=0;H[b+208>>2]=0;H[b+212>>2]=-1;H[b+216>>2]=0;H[b+220>>2]=0;H[b+224>>2]=0;Ka(b+232|0);Ka(b+272|0);c=b+312|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;Ka(b+328|0);H[b+392>>2]=0;H[b+396>>2]=0;H[b+384>>2]=0;H[b+388>>2]=0;H[b+376>>2]=0;H[b+380>>2]=0;H[b+368>>2]=0;H[b+372>>2]=0;c=b+400|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;H[b+416>>2]=-1;H[b+420>>2]=-1;break c;case 2:break d;default:break b}}b=sa(440);H[b>>2]=11484;ua(b+4|0,0,80);H[b+96>>2]=0;H[b+100>>2]=0;H[b+92>>2]=-1;H[b+84>>2]=-1;H[b+88>>2]=-1;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]=0;H[b+140>>2]=0;H[b+144>>2]=0;H[b+148>>2]=0;H[b+156>>2]=0;H[b+160>>2]=0;H[b+152>>2]=1065353216;H[b+164>>2]=0;H[b+168>>2]=0;H[b+172>>2]=0;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;H[b+196>>2]=0;H[b+200>>2]=0;H[b+204>>2]=0;H[b+208>>2]=0;H[b+212>>2]=-1;H[b+216>>2]=0;H[b+220>>2]=0;H[b+224>>2]=0;Ka(b+232|0);Ka(b+272|0);c=b+312|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;Ka(b+328|0);H[b+392>>2]=0;H[b+396>>2]=0;H[b+384>>2]=0;H[b+388>>2]=0;H[b+376>>2]=0;H[b+380>>2]=0;H[b+368>>2]=0;H[b+372>>2]=0;H[b+416>>2]=0;H[b+420>>2]=0;H[b+408>>2]=2;H[b+412>>2]=7;H[b+400>>2]=-1;H[b+404>>2]=-1;H[b+424>>2]=0;H[b+428>>2]=0;H[b+432>>2]=0;H[b+436>>2]=0}c=H[a+48>>2];H[a+48>>2]=b;if(!c){break a}ha[H[H[c>>2]+4>>2]](c)}b=H[a+48>>2];if(b){break a}return 0}a=ha[H[H[b>>2]+8>>2]](b,a)|0}else{a=0}return a|0}function Nb(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,w=0,x=0,y=0;f=fa-96|0;fa=f;d=H[a+16>>2];F[f+92|0]=1;H[f+88>>2]=b;H[f+84>>2]=b;H[f+80>>2]=d;a:{if((b|0)==-1){break a}l=H[a+20>>2];e=H[l>>2];d=H[H[d>>2]+(b<<2)>>2];if(d>>>0>=H[l+4>>2]-e>>2>>>0){break a}d=H[H[a+8>>2]+(H[e+(d<<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;l=f- -64|0;H[l>>2]=0;H[l+4>>2]=0;H[f+56>>2]=0;H[f+60>>2]=0;Va(e,d,F[e+24|0],f+56|0);d=b+1|0;l=(d>>>0)%3|0?d:b-2|0;i=((b>>>0)%3|0?-1:2)+b|0;b:{c:{while(1){e=l;d=i;d:{if(!H[a+28>>2]){break d}d=b+1|0;e=(d>>>0)%3|0?d:b-2|0;d=b-1|0;if((b>>>0)%3|0){break d}d=b+2|0}if((e|0)==-1){break b}h=H[a+20>>2];b=H[h>>2];e=H[H[H[a+16>>2]>>2]+(e<<2)>>2];if(e>>>0>=H[h+4>>2]-b>>2>>>0){break b}e=H[H[a+8>>2]+(H[(e<<2)+b>>2]<<2)>>2];b=H[a+4>>2];if(!I[b+84|0]){e=H[H[b+68>>2]+(e<<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;Va(b,e,F[b+24|0],f+32|0);if((d|0)==-1){break c}e=H[a+20>>2];b=H[e>>2];d=H[H[H[a+16>>2]>>2]+(d<<2)>>2];if(d>>>0>=H[e+4>>2]-b>>2>>>0){break c}e=H[H[a+8>>2]+(H[b+(d<<2)>>2]<<2)>>2];b=H[a+4>>2];if(!I[b+84|0]){e=H[H[b+68>>2]+(e<<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;Va(b,e,F[b+24|0],f+8|0);d=H[f+8>>2];b=H[f+56>>2];e=d-b|0;h=H[f+60>>2];j=H[f+12>>2]-(h+(b>>>0>d>>>0)|0)|0;p=H[f+40>>2];d=H[f+64>>2];s=p-d|0;t=H[f+68>>2];p=H[f+44>>2]-(t+(d>>>0>p>>>0)|0)|0;u=Nj(e,j,s,p);w=o-u|0;o=g-(ga+(o>>>0<u>>>0)|0)|0;k=w;g=H[f+16>>2];u=g-d|0;t=H[f+20>>2]-((d>>>0>g>>>0)+t|0)|0;g=H[f+32>>2];w=g-b|0;h=H[f+36>>2]-((b>>>0>g>>>0)+h|0)|0;d=Nj(u,t,w,h);b=k+d|0;g=ga+o|0;g=b>>>0<d>>>0?g+1|0:g;o=b;y=m;k=e;d=j;b=H[f+48>>2];m=H[f+72>>2];e=b-m|0;j=H[f+76>>2];x=H[f+52>>2]-(j+(b>>>0<m>>>0)|0)|0;k=Nj(k,d,e,x);d=y+k|0;b=ga+n|0;b=d>>>0<k>>>0?b+1|0:b;n=H[f+24>>2];k=n-m|0;j=H[f+28>>2]-((m>>>0>n>>>0)+j|0)|0;n=Nj(k,j,w,h);m=d-n|0;n=b-(ga+(d>>>0<n>>>0)|0)|0;b=Nj(u,t,e,x);d=q-b|0;b=r-(ga+(b>>>0>q>>>0)|0)|0;r=Nj(k,j,s,p);q=r+d|0;b=ga+b|0;b=q>>>0<r>>>0?b+1|0:b;r=b;vc(f+80|0);b=H[f+88>>2];if((b|0)!=-1){continue}break}b=r>>31;d=b^q;j=d-b|0;h=(b^r)-((b>>>0>d>>>0)+b|0)|0;p=-1;d=2147483647;b=n>>31;l=b^m;e=(b^n)-((b>>>0>l>>>0)+b|0)|0;b=l-b|0;s=b^-1;i=e^2147483647;k=g;e:{f:{if(!H[a+28>>2]){if((i|0)==(h|0)&j>>>0>s>>>0|i>>>0<h>>>0){break e}i=g;a=b;d=b+j|0;b=e+h|0;b=a>>>0>d>>>0?b+1|0:b;a=g>>31;h=a^o;j=h-a|0;g=d+j|0;e=(a^i)-((a>>>0>h>>>0)+a|0)|0;a=g;g=e^2147483647;g=(g|0)==(b|0)&(j^-1)>>>0<d>>>0|b>>>0>g>>>0;a=g?-1:a;if(!(g&0)&(a|0)<=536870912|(a|0)<536870912){break e}b=0;a=a>>>29|0;break f}g:{if((i|0)==(h|0)&j>>>0>s>>>0|i>>>0<h>>>0){break g}a=b;i=b+j|0;b=e+h|0;b=a>>>0>i>>>0?b+1|0:b;a=i;h=g;e=g>>31;g=e;i=e^o;e=(e^h)-(e+(e>>>0>i>>>0)|0)|0;g=i-g|0;i=e^2147483647;if((i|0)==(b|0)&(g^-1)>>>0<a>>>0|b>>>0>i>>>0){break g}b=b+e|0;a=a+g|0;b=a>>>0<g>>>0?b+1|0:b;p=a;d=b;if(!b&a>>>0<536870913){break e}}b=d>>>29|0;a=(d&536870911)<<3|p>>>29}o=Oj(o,k,a,b);m=Oj(m,n,a,b);q=Oj(q,r,a,b)}H[c+8>>2]=o;H[c+4>>2]=m;H[c>>2]=q;fa=f+96|0;return}Ea();v()}Ea();v()}Ea();v()}function Vd(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}c=H[a+12>>2];d=H[a+8>>2];if(c-d>>2>>>0<=b>>>0){break a}e=d+(b<<2)|0;d=H[e>>2];i=H[d+60>>2];g=H[d+56>>2];d=e+4|0;b:{if((d|0)!=(c|0)){while(1){h=H[d>>2];H[d>>2]=0;f=H[e>>2];H[e>>2]=h;if(f){Ja(f)}e=e+4|0;d=d+4|0;if((d|0)!=(c|0)){continue}break}c=H[a+12>>2];if((e|0)==(c|0)){break b}}while(1){c=c-4|0;d=H[c>>2];H[c>>2]=0;if(d){Ja(d)}if((c|0)!=(e|0)){continue}break}}H[a+12>>2]=e;f=H[a+4>>2];c:{if(!f|(i|0)<0){break c}c=H[f+24>>2];d=H[f+28>>2];if((c|0)==(d|0)){break c}while(1){if((i|0)==H[H[c>>2]+24>>2]){e=c+4|0;i=H[f+28>>2];d:{if((e|0)!=(i|0)){while(1){h=H[e>>2];H[e>>2]=0;d=H[c>>2];H[c>>2]=h;if(d){Ua(d+12|0,H[d+16>>2]);Ta(d,H[d+4>>2]);ra(d)}c=c+4|0;e=e+4|0;if((i|0)!=(e|0)){continue}break}e=H[f+28>>2];if((e|0)==(c|0)){break d}}while(1){e=e-4|0;d=H[e>>2];H[e>>2]=0;if(d){Ua(d+12|0,H[d+16>>2]);Ta(d,H[d+4>>2]);ra(d)}if((c|0)!=(e|0)){continue}break}}H[f+28>>2]=c;break c}c=c+4|0;if((d|0)!=(c|0)){continue}break}}e:{if((g|0)>4){break e}f:{e=N(g,12)+a|0;c=H[e+20>>2];d=H[e+24>>2];if((c|0)==(d|0)){break f}while(1){if(H[c>>2]==(b|0)){break f}c=c+4|0;if((d|0)!=(c|0)){continue}break}break e}if((c|0)==(d|0)){break e}f=c+4|0;i=d-f|0;if((d|0)!=(f|0)){Sa(c,f,i)}H[e+24>>2]=c+i}c=H[a+24>>2];e=H[a+20>>2];g:{if((c|0)==(e|0)){break g}d=c-e|0;c=d>>2;f=c>>>0<=1?1:c;i=f&1;c=0;if(d>>>0>=8){f=f&-2;d=0;while(1){g=c<<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}c=c+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!i){break g}c=e+(c<<2)|0;d=H[c>>2];if((d|0)<=(b|0)){break g}H[c>>2]=d-1}c=H[a+36>>2];e=H[a+32>>2];h:{if((c|0)==(e|0)){break h}d=c-e|0;c=d>>2;f=c>>>0<=1?1:c;i=f&1;c=0;if(d>>>0>=8){f=f&-2;d=0;while(1){g=c<<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}c=c+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!i){break h}c=e+(c<<2)|0;d=H[c>>2];if((d|0)<=(b|0)){break h}H[c>>2]=d-1}c=H[a+48>>2];e=H[a+44>>2];i:{if((c|0)==(e|0)){break i}d=c-e|0;c=d>>2;f=c>>>0<=1?1:c;i=f&1;c=0;if(d>>>0>=8){f=f&-2;d=0;while(1){g=c<<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}c=c+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!i){break i}c=e+(c<<2)|0;d=H[c>>2];if((d|0)<=(b|0)){break i}H[c>>2]=d-1}c=H[a+60>>2];e=H[a+56>>2];j:{if((c|0)==(e|0)){break j}d=c-e|0;c=d>>2;f=c>>>0<=1?1:c;i=f&1;c=0;if(d>>>0>=8){f=f&-2;d=0;while(1){g=c<<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}c=c+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!i){break j}c=e+(c<<2)|0;d=H[c>>2];if((d|0)<=(b|0)){break j}H[c>>2]=d-1}c=H[a+72>>2];a=H[a+68>>2];if((c|0)==(a|0)){break a}d=c-a|0;c=d>>2;e=c>>>0<=1?1:c;f=e&1;c=0;if(d>>>0>=8){e=e&-2;d=0;while(1){i=c<<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}c=c+2|0;d=d+2|0;if((e|0)!=(d|0)){continue}break}}if(!f){break a}d=b;a=a+(c<<2)|0;b=H[a>>2];if((d|0)>=(b|0)){break a}H[a>>2]=b-1}}function ra(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[4300]){break a}a=a+b|0;if(H[4301]!=(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=17184,j=H[4296]&Rj(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)+17488|0;e:{if(H[c>>2]==(d|0)){H[c>>2]=b;if(b){break e}i=17188,j=H[4297]&Rj(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[4298]=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[4302]==(f|0)){H[4302]=d;a=H[4299]+a|0;H[4299]=a;H[d+4>>2]=a|1;if(H[4301]!=(d|0)){break a}H[4298]=0;H[4301]=0;return}if(H[4301]==(f|0)){H[4301]=d;a=H[4298]+a|0;H[4298]=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=17184,j=H[4296]&Rj(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)+17488|0;j:{if(H[c>>2]==(f|0)){H[c>>2]=b;if(b){break j}i=17188,j=H[4297]&Rj(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[4301]!=(d|0)){break f}H[4298]=a;return}H[f+4>>2]=b&-2;H[d+4>>2]=a|1;H[a+d>>2]=a}if(a>>>0<=255){b=(a&-8)+17224|0;c=H[4296];a=1<<(a>>>3);k:{if(!(c&a)){H[4296]=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;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;H[d+16>>2]=0;H[d+20>>2]=0;g=(e<<2)+17488|0;l:{m:{c=H[4297];b=1<<e;n:{if(!(c&b)){H[4297]=b|c;H[g>>2]=d;H[d+24>>2]=g;break n}e=a<<((e|0)!=31?25-(e>>>1|0)|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[4304]-1|0;H[4304]=a?a:-1}}function Ib(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=O(0),l=0,m=0,n=O(0);j=H[c>>2];a:{b:{f=H[b+4>>2];if(!f){break b}g=Qj(f);c:{if(g>>>0>=2){e=j;if(e>>>0>=f>>>0){e=(j>>>0)%(f>>>0)|0}c=H[H[b>>2]+(e<<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)!=(j|0)){if(f>>>0<=g>>>0){g=(g>>>0)%(f>>>0)|0}if((e|0)!=(g|0)){break b}}if(H[c+8>>2]!=(j|0)){continue}break}b=0;break a}e=f-1&j;c=H[H[b>>2]+(e<<2)>>2];if(!c){break b}}g=f-1|0;while(1){c=H[c>>2];if(!c){break b}h=H[c+4>>2];if((h|0)!=(j|0)&(g&h)!=(e|0)){break b}if(H[c+8>>2]!=(j|0)){continue}break}b=0;break a}c=sa(16);d=H[H[d>>2]>>2];H[c+12>>2]=0;H[c+8>>2]=d;H[c+4>>2]=j;H[c>>2]=0;n=O(H[b+12>>2]+1>>>0);k=L[b+16>>2];d:{if(n>O(k*O(f>>>0))?0:f){break d}e=2;g=(f-1&f)!=0|f>>>0<3|f<<1;k=O(U(O(n/k)));e:{if(k<O(4294967296)&k>=O(0)){d=~~k>>>0;break e}d=0}d=d>>>0<g>>>0?g:d;f:{if((d|0)==1){break f}if(!(d&d-1)){e=d;break f}e=Kd(d);f=H[b+4>>2]}g:{if(e>>>0<=f>>>0){if(e>>>0>=f>>>0){break g}g=f>>>0<3;k=O(U(O(O(K[b+12>>2])/L[b+16>>2])));h:{if(k<O(4294967296)&k>=O(0)){d=~~k>>>0;break h}d=0}i:{j:{if(g){break j}if(Qj(f)>>>0>1){break j}d=d>>>0<2?d:1<<32-Q(d-1|0);break i}d=Kd(d)}e=d>>>0<e>>>0?e:d;if(e>>>0>=f>>>0){break g}}f=0;h=e;k:{l:{m:{n:{if(e){if(h>>>0>=1073741824){break n}e=sa(h<<2);d=H[b>>2];H[b>>2]=e;if(d){ra(d)}H[b+4>>2]=h;e=0;if(h>>>0>=4){g=h&-4;while(1){d=e<<2;H[d+H[b>>2]>>2]=0;H[H[b>>2]+(d|4)>>2]=0;H[H[b>>2]+(d|8)>>2]=0;H[H[b>>2]+(d|12)>>2]=0;e=e+4|0;f=f+4|0;if((g|0)!=(f|0)){continue}break}}d=h&3;if(d){while(1){H[H[b>>2]+(e<<2)>>2]=0;e=e+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}f=H[b+8>>2];if(!f){break k}d=b+8|0;g=H[f+4>>2];e=Qj(h);if(e>>>0<2){break m}g=g>>>0>=h>>>0?(g>>>0)%(h>>>0)|0:g;H[H[b>>2]+(g<<2)>>2]=d;d=H[f>>2];if(!d){break k}if(e>>>0<=1){break l}while(1){i=H[d+4>>2];if(h>>>0<=i>>>0){i=(i>>>0)%(h>>>0)|0}o:{if((g|0)==(i|0)){f=d;break o}e=d;l=i<<2;m=l+H[b>>2]|0;if(!H[m>>2]){H[m>>2]=f;f=d;g=i;break o}while(1){i=e;e=H[e>>2];if(H[d+8>>2]==H[e+8>>2]?e:0){continue}break}H[f>>2]=e;H[i>>2]=H[H[l+H[b>>2]>>2]>>2];H[H[l+H[b>>2]>>2]>>2]=d}d=H[f>>2];if(d){continue}break}break k}d=H[b>>2];H[b>>2]=0;if(d){ra(d)}H[b+4>>2]=0;break k}za();v()}g=h-1&g;H[H[b>>2]+(g<<2)>>2]=d;d=H[f>>2];if(!d){break k}}l=h-1|0;while(1){h=l&H[d+4>>2];p:{if((h|0)==(g|0)){f=d;break p}e=d;i=h<<2;m=i+H[b>>2]|0;if(H[m>>2]){while(1){h=e;e=H[e>>2];if(H[d+8>>2]==H[e+8>>2]?e:0){continue}break}H[f>>2]=e;H[h>>2]=H[H[i+H[b>>2]>>2]>>2];H[H[i+H[b>>2]>>2]>>2]=d;break p}H[m>>2]=f;f=d;g=h}d=H[f>>2];if(d){continue}break}}}f=H[b+4>>2];d=f-1|0;if(!(d&f)){e=d&j;break d}if(f>>>0>j>>>0){e=j;break d}e=(j>>>0)%(f>>>0)|0}e=H[b>>2]+(e<<2)|0;d=H[e>>2];q:{r:{if(!d){d=b+8|0;H[c>>2]=H[d>>2];H[b+8>>2]=c;H[e>>2]=d;d=H[c>>2];if(!d){break q}d=H[d+4>>2];e=f-1|0;s:{if(!(e&f)){d=d&e;break s}if(d>>>0<f>>>0){break s}d=(d>>>0)%(f>>>0)|0}d=H[b>>2]+(d<<2)|0;break r}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 Hc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;H[a+56>>2]=H[a+52>>2];H[a+44>>2]=H[a+40>>2];d=H[a+64>>2];c=H[d+24>>2];if((c|0)==H[d+28>>2]){return 1}a:{b:{c:{while(1){e=b;c=H[(j<<2)+c>>2];d:{if((c|0)==-1){break d}b=H[a+56>>2];e:{if((b|0)!=H[a+60>>2]){H[b>>2]=e;H[a+56>>2]=b+4;break e}d=H[a+52>>2];h=b-d|0;g=h>>2;b=g+1|0;if(b>>>0>=1073741824){break c}f=h>>1;f=h>>>0>=2147483644?1073741823:b>>>0<f>>>0?f:b;if(f){if(f>>>0>=1073741824){break b}b=sa(f<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=e;if((h|0)>0){ta(b,d,h)}H[a+60>>2]=b+(f<<2);H[a+56>>2]=g+4;H[a+52>>2]=b;if(!d){break e}ra(d)}f:{g:{if(!(H[H[a+12>>2]+(j>>>3&536870908)>>2]>>>j&1)){break g}b=c+1|0;b=(b>>>0)%3|0?b:c-2|0;if((b|0)==-1|H[H[a>>2]+(b>>>3&536870908)>>2]>>>b&1){break g}b=H[H[H[a+64>>2]+12>>2]+(b<<2)>>2];if((b|0)==-1){break g}h=b+1|0;d=(h>>>0)%3|0?h:b-2|0;if((d|0)==-1){break g}f=H[a+64>>2];g=H[a>>2];while(1){h=d;d=-1;b=h+1|0;b=(b>>>0)%3|0?b:h-2|0;h:{if((b|0)==-1|H[g+(b>>>3&536870908)>>2]>>>b&1){break h}b=H[H[f+12>>2]+(b<<2)>>2];if((b|0)==-1){break h}d=b+1|0;d=(d>>>0)%3|0?d:b-2|0}if((d|0)!=(c|0)){if((d|0)==-1){break f}continue}break}return 0}h=c}H[H[a+28>>2]+(h<<2)>>2]=e;b=H[a+44>>2];i:{if((b|0)!=H[a+48>>2]){H[b>>2]=h;H[a+44>>2]=b+4;break i}c=H[a+40>>2];d=b-c|0;g=d>>2;b=g+1|0;if(b>>>0>=1073741824){break a}f=d>>1;f=d>>>0>=2147483644?1073741823:b>>>0<f>>>0?f:b;if(f){if(f>>>0>=1073741824){break b}b=sa(f<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=h;if((d|0)>0){ta(b,c,d)}H[a+48>>2]=b+(f<<2);H[a+44>>2]=g+4;H[a+40>>2]=b;if(!c){break i}ra(c)}b=e+1|0;d=H[a+64>>2];j:{if((h>>>0)%3|0){c=h-1|0;break j}c=h+2|0;if((c|0)==-1){break d}}c=H[H[d+12>>2]+(c<<2)>>2];if((c|0)==-1){break d}c=c+((c>>>0)%3|0?-1:2)|0;if((c|0)==-1|(c|0)==(h|0)){break d}while(1){d=c+1|0;d=(d>>>0)%3|0?d:c-2|0;if(H[H[a>>2]+(d>>>3&536870908)>>2]>>>d&1){e=H[a+56>>2];k:{if((e|0)!=H[a+60>>2]){H[e>>2]=b;H[a+56>>2]=e+4;break k}f=H[a+52>>2];d=e-f|0;i=d>>2;e=i+1|0;if(e>>>0>=1073741824){break c}g=d>>1;g=d>>>0>=2147483644?1073741823:e>>>0<g>>>0?g:e;if(g){if(g>>>0>=1073741824){break b}e=sa(g<<2)}else{e=0}i=e+(i<<2)|0;H[i>>2]=b;if((d|0)>0){ta(e,f,d)}H[a+60>>2]=e+(g<<2);H[a+56>>2]=i+4;H[a+52>>2]=e;if(!f){break k}ra(f)}d=b+1|0;e=H[a+44>>2];l:{if((e|0)!=H[a+48>>2]){H[e>>2]=c;H[a+44>>2]=e+4;break l}g=H[a+40>>2];f=e-g|0;k=f>>2;e=k+1|0;if(e>>>0>=1073741824){break a}i=f>>1;i=f>>>0>=2147483644?1073741823:e>>>0<i>>>0?i:e;if(i){if(i>>>0>=1073741824){break b}e=sa(i<<2)}else{e=0}k=e+(k<<2)|0;H[k>>2]=c;if((f|0)>0){ta(e,g,f)}H[a+48>>2]=e+(i<<2);H[a+44>>2]=k+4;H[a+40>>2]=e;if(!g){break l}ra(g)}e=b;b=d}H[H[a+28>>2]+(c<<2)>>2]=e;d=H[a+64>>2];m:{if((c>>>0)%3|0){c=c-1|0;break m}c=c+2|0;if((c|0)==-1){break d}}c=H[H[d+12>>2]+(c<<2)>>2];if((c|0)==-1){break d}c=c+((c>>>0)%3|0?-1:2)|0;if((c|0)==-1){break d}if((c|0)!=(h|0)){continue}break}}j=j+1|0;c=H[d+24>>2];if(j>>>0<H[d+28>>2]-c>>2>>>0){continue}break}return 1}va();v()}za();v()}va();v()}function rj(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,w=0;H[a+8>>2]=e;n=a+32|0;h=H[n>>2];f=H[a+36>>2]-h>>2;a:{if(f>>>0<e>>>0){Aa(n,e-f|0);d=H[a+8>>2];break a}d=e;if(d>>>0>=f>>>0){break a}H[a+36>>2]=h+(e<<2);d=e}s=H[a+52>>2];p=H[a+48>>2];f=0;h=e>>>0>1073741823?-1:e<<2;m=ua(sa(h),0,h);b:{if((d|0)<=0){break b}g=H[a+32>>2];while(1){d=f<<2;h=H[d+m>>2];j=H[a+16>>2];c:{if((h|0)>(j|0)){H[d+g>>2]=j;break c}d=d+g|0;j=H[a+12>>2];if((j|0)>(h|0)){H[d>>2]=j;break c}H[d>>2]=h}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}if((d|0)<=0){break b}f=0;while(1){h=f<<2;d=h+c|0;h=H[b+h>>2]+H[g+h>>2]|0;H[d>>2]=h;d:{if((h|0)>H[a+16>>2]){i=h-H[a+20>>2]|0}else{if((h|0)>=H[a+12>>2]){break d}i=h+H[a+20>>2]|0}H[d>>2]=i}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}f=H[a+56>>2];q=H[f>>2];f=H[f+4>>2]-q|0;if((f|0)>=5){o=f>>>2|0;t=o>>>0<=2?2:o;u=e&-2;w=e&1;h=1;while(1){e:{f:{if((h|0)!=(o|0)){r=N(e,h);f=H[(h<<2)+q>>2];if((f|0)==-1){break f}f=H[H[p+12>>2]+(f<<2)>>2];if((f|0)==-1){break f}j=H[s>>2];g=H[p>>2];k=H[j+(H[g+(f<<2)>>2]<<2)>>2];i=f+1|0;i=(i>>>0)%3|0?i:f-2|0;if((i|0)!=-1){i=H[g+(i<<2)>>2]}else{i=-1}g:{h:{if((f>>>0)%3|0){f=f-1|0;break h}f=f+2|0;l=-1;if((f|0)==-1){break g}}l=H[g+(f<<2)>>2]}if((h|0)<=(k|0)){break f}f=H[(i<<2)+j>>2];if((f|0)>=(h|0)){break f}g=H[j+(l<<2)>>2];if((g|0)>=(h|0)){break f}i:{if((e|0)<=0){break i}g=N(e,g);j=N(e,f);k=N(e,k);f=0;l=0;if((e|0)!=1){while(1){H[(f<<2)+m>>2]=(H[(f+g<<2)+c>>2]+H[(f+j<<2)+c>>2]|0)-H[(f+k<<2)+c>>2];i=f|1;H[(i<<2)+m>>2]=(H[(g+i<<2)+c>>2]+H[(j+i<<2)+c>>2]|0)-H[(i+k<<2)+c>>2];f=f+2|0;l=l+2|0;if((u|0)!=(l|0)){continue}break}}if(!w){break i}H[(f<<2)+m>>2]=(H[(f+g<<2)+c>>2]+H[(f+j<<2)+c>>2]|0)-H[(f+k<<2)+c>>2]}if((d|0)<=0){break e}j=H[n>>2];f=0;while(1){d=f<<2;g=H[d+m>>2];k=H[a+16>>2];j:{if((g|0)>(k|0)){H[d+j>>2]=k;break j}d=d+j|0;k=H[a+12>>2];if((k|0)>(g|0)){H[d>>2]=k;break j}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}f=0;if((d|0)<=0){break e}d=r<<2;k=d+c|0;i=b+d|0;while(1){g=f<<2;d=g+k|0;g=H[g+i>>2]+H[g+j>>2]|0;H[d>>2]=g;k:{if((g|0)>H[a+16>>2]){l=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break k}l=g+H[a+20>>2]|0}H[d>>2]=l}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}break e}Ea();v()}if((d|0)<=0){break e}k=(N(h-1|0,e)<<2)+c|0;j=H[n>>2];f=0;while(1){d=f<<2;g=H[d+k>>2];i=H[a+16>>2];l:{if((g|0)>(i|0)){H[d+j>>2]=i;break l}d=d+j|0;i=H[a+12>>2];if((i|0)>(g|0)){H[d>>2]=i;break l}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}f=0;if((d|0)<=0){break e}d=r<<2;k=d+c|0;i=b+d|0;while(1){g=f<<2;d=g+k|0;g=H[g+i>>2]+H[g+j>>2]|0;H[d>>2]=g;m:{if((g|0)>H[a+16>>2]){l=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break m}l=g+H[a+20>>2]|0}H[d>>2]=l}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}h=h+1|0;if((t|0)!=(h|0)){continue}break}}ra(m);return 1}function Ij(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,w=0;H[a+8>>2]=e;m=a+32|0;h=H[m>>2];f=H[a+36>>2]-h>>2;a:{if(f>>>0<e>>>0){Aa(m,e-f|0);d=H[a+8>>2];break a}d=e;if(d>>>0>=f>>>0){break a}H[a+36>>2]=h+(e<<2);d=e}s=H[a+52>>2];n=H[a+48>>2];f=0;h=e>>>0>1073741823?-1:e<<2;l=ua(sa(h),0,h);b:{if((d|0)<=0){break b}g=H[a+32>>2];while(1){d=f<<2;h=H[d+l>>2];i=H[a+16>>2];c:{if((h|0)>(i|0)){H[d+g>>2]=i;break c}d=d+g|0;i=H[a+12>>2];if((i|0)>(h|0)){H[d>>2]=i;break c}H[d>>2]=h}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}if((d|0)<=0){break b}f=0;while(1){h=f<<2;d=h+c|0;h=H[b+h>>2]+H[g+h>>2]|0;H[d>>2]=h;d:{if((h|0)>H[a+16>>2]){h=h-H[a+20>>2]|0}else{if((h|0)>=H[a+12>>2]){break d}h=h+H[a+20>>2]|0}H[d>>2]=h}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}f=H[a+56>>2];q=H[f>>2];f=H[f+4>>2]-q|0;if((f|0)>=5){o=f>>>2|0;t=o>>>0<=2?2:o;u=e&-2;w=e&1;h=1;while(1){e:{f:{if((h|0)!=(o|0)){r=N(e,h);f=H[(h<<2)+q>>2];if((f|0)==-1|H[H[n>>2]+(f>>>3&536870908)>>2]>>>f&1){break f}f=H[H[H[n+64>>2]+12>>2]+(f<<2)>>2];if((f|0)==-1){break f}i=H[s>>2];g=H[n+28>>2];k=H[i+(H[g+(f<<2)>>2]<<2)>>2];if((k|0)>=(h|0)){break f}j=f+1|0;j=H[i+(H[g+(((j>>>0)%3|0?j:f-2|0)<<2)>>2]<<2)>>2];if((j|0)>=(h|0)){break f}f=H[i+(H[g+(f+((f>>>0)%3|0?-1:2)<<2)>>2]<<2)>>2];if((f|0)>=(h|0)){break f}g:{if((e|0)<=0){break g}g=N(e,f);i=N(e,j);k=N(e,k);f=0;p=0;if((e|0)!=1){while(1){H[(f<<2)+l>>2]=(H[(f+g<<2)+c>>2]+H[(f+i<<2)+c>>2]|0)-H[(f+k<<2)+c>>2];j=f|1;H[(j<<2)+l>>2]=(H[(g+j<<2)+c>>2]+H[(i+j<<2)+c>>2]|0)-H[(k+j<<2)+c>>2];f=f+2|0;p=p+2|0;if((u|0)!=(p|0)){continue}break}}if(!w){break g}H[(f<<2)+l>>2]=(H[(f+g<<2)+c>>2]+H[(f+i<<2)+c>>2]|0)-H[(f+k<<2)+c>>2]}if((d|0)<=0){break e}i=H[m>>2];f=0;while(1){d=f<<2;g=H[d+l>>2];k=H[a+16>>2];h:{if((g|0)>(k|0)){H[d+i>>2]=k;break h}d=d+i|0;k=H[a+12>>2];if((k|0)>(g|0)){H[d>>2]=k;break h}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}f=0;if((d|0)<=0){break e}d=r<<2;k=d+c|0;j=b+d|0;while(1){g=f<<2;d=g+k|0;g=H[g+j>>2]+H[g+i>>2]|0;H[d>>2]=g;i:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break i}g=g+H[a+20>>2]|0}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}break e}Ea();v()}if((d|0)<=0){break e}k=(N(h-1|0,e)<<2)+c|0;i=H[m>>2];f=0;while(1){d=f<<2;g=H[d+k>>2];j=H[a+16>>2];j:{if((g|0)>(j|0)){H[d+i>>2]=j;break j}d=d+i|0;j=H[a+12>>2];if((j|0)>(g|0)){H[d>>2]=j;break j}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}f=0;if((d|0)<=0){break e}d=r<<2;k=d+c|0;j=b+d|0;while(1){g=f<<2;d=g+k|0;g=H[g+j>>2]+H[g+i>>2]|0;H[d>>2]=g;k:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break k}g=g+H[a+20>>2]|0}H[d>>2]=g}d=H[a+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}h=h+1|0;if((t|0)!=(h|0)){continue}break}}ra(l);return 1}function Me(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=fa-80|0;fa=f;e=H[c+36>>2];H[f+72>>2]=H[c+32>>2];H[f+76>>2]=e;g=H[c+28>>2];e=f- -64|0;H[e>>2]=H[c+24>>2];H[e+4>>2]=g;e=H[c+20>>2];H[f+56>>2]=H[c+16>>2];H[f+60>>2]=e;e=H[c+12>>2];H[f+48>>2]=H[c+8>>2];H[f+52>>2]=e;e=H[c+4>>2];H[f+40>>2]=H[c>>2];H[f+44>>2]=e;oc(a,f+40|0,f+24|0);a:{if(H[a>>2]){break a}if(F[a+15|0]<0){ra(H[a+4>>2])}if(I[f+31|0]!=1){b=sa(32);F[b+20|0]=0;c=I[1448]|I[1449]<<8|(I[1450]<<16|I[1451]<<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[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;H[a>>2]=-1;Ba(a+4|0,b,20);ra(b);break a}i=fa-16|0;fa=i;b:{c:{switch(I[f+32|0]){case 0:e=Ie(sa(48));H[e>>2]=13112;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;H[f+16>>2]=e;break b;case 1:e=Ie(sa(52));H[e+48>>2]=0;H[e>>2]=11276;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;H[f+16>>2]=e;break b;default:break c}}g=sa(32);F[g+28|0]=0;e=I[1550]|I[1551]<<8|(I[1552]<<16|I[1553]<<24);F[g+24|0]=e;F[g+25|0]=e>>>8;F[g+26|0]=e>>>16;F[g+27|0]=e>>>24;e=I[1546]|I[1547]<<8|(I[1548]<<16|I[1549]<<24);h=I[1542]|I[1543]<<8|(I[1544]<<16|I[1545]<<24);F[g+16|0]=h;F[g+17|0]=h>>>8;F[g+18|0]=h>>>16;F[g+19|0]=h>>>24;F[g+20|0]=e;F[g+21|0]=e>>>8;F[g+22|0]=e>>>16;F[g+23|0]=e>>>24;e=I[1538]|I[1539]<<8|(I[1540]<<16|I[1541]<<24);h=I[1534]|I[1535]<<8|(I[1536]<<16|I[1537]<<24);F[g+8|0]=h;F[g+9|0]=h>>>8;F[g+10|0]=h>>>16;F[g+11|0]=h>>>24;F[g+12|0]=e;F[g+13|0]=e>>>8;F[g+14|0]=e>>>16;F[g+15|0]=e>>>24;e=I[1530]|I[1531]<<8|(I[1532]<<16|I[1533]<<24);h=I[1526]|I[1527]<<8|(I[1528]<<16|I[1529]<<24);F[g|0]=h;F[g+1|0]=h>>>8;F[g+2|0]=h>>>16;F[g+3|0]=h>>>24;F[g+4|0]=e;F[g+5|0]=e>>>8;F[g+6|0]=e>>>16;F[g+7|0]=e>>>24;H[i>>2]=-1;e=i|4;Ba(e,g,28);j=F[i+15|0];H[f>>2]=H[i>>2];h=f+4|0;d:{if((j|0)>=0){j=H[e+4>>2];H[h>>2]=H[e>>2];H[h+4>>2]=j;H[h+8>>2]=H[e+8>>2];H[f+16>>2]=0;break d}Ba(h,H[i+4>>2],H[i+8>>2]);e=F[i+15|0];H[f+16>>2]=0;if((e|0)>=0){break d}ra(H[i+4>>2])}ra(g)}fa=i+16|0;e=H[f>>2];e:{if(e){H[a>>2]=e;a=a+4|0;if(F[f+15|0]>=0){b=f|4;c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;H[a+8>>2]=H[b+8>>2];break e}Ba(a,H[f+4>>2],H[f+8>>2]);break e}e=H[f+16>>2];H[f+16>>2]=0;H[e+44>>2]=d;se(a,e,b,c,d);if(!H[a>>2]){if(F[a+15|0]<0){ra(H[a+4>>2])}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0}ha[H[H[e>>2]+4>>2]](e)}a=H[f+16>>2];H[f+16>>2]=0;if(a){ha[H[H[a>>2]+4>>2]](a)}if(F[f+15|0]>=0){break a}ra(H[f+4>>2])}fa=f+80|0}function ue(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=sa(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}ra(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;Xa(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;Xa(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){b:{c:{c=c-4|0;b=H[c>>2];if((b|0)==-1){break c}d=(b>>>0)/3|0;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;Xa(k,d,c);break e}H[f>>2]=g|h;Xa(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;if((d|0)!=-1){c=H[a+24>>2];h=(d>>>0)/3|0;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?1073741823:b>>>0<g>>>0?g:b;if(g){if(g>>>0>=1073741824){break m}b=sa(g<<2)}else{b=0}c=b+(c<<2)|0;H[c>>2]=d;c=c+4|0;if((e|0)>0){ta(b,f,e)}H[a+56>>2]=b+(g<<2);H[a+52>>2]=c;H[a+48>>2]=b;if(!f){break b}ra(f);c=H[a+52>>2];break b}va();v()}za();v()}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 ya(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;f=fa-32|0;fa=f;a:{b:{c:{d:{b=H[a+16>>2];if(b>>>0>=341){H[a+16>>2]=b-341;b=H[a+4>>2];k=H[b>>2];c=b+4|0;H[a+4>>2]=c;b=H[a+8>>2];e:{if((b|0)!=H[a+12>>2]){d=b;break e}h=H[a>>2];if(h>>>0<c>>>0){g=b-c|0;e=((c-h>>2)+1|0)/-2<<2;d=e+c|0;if((b|0)!=(c|0)){Sa(d,c,g);c=H[a+4>>2]}d=d+g|0;H[a+8>>2]=d;H[a+4>>2]=c+e;break e}d=(b|0)==(h|0)?1:b-h>>1;if(d>>>0>=1073741824){break d}e=d<<2;i=sa(e);l=e+i|0;e=i+(d&-4)|0;d=e;f:{if((b|0)==(c|0)){break f}b=b-c|0;m=b&-4;j=b-4|0;g=(j>>>2|0)+1&7;g:{if(!g){b=e;break g}d=0;b=e;while(1){H[b>>2]=H[c>>2];c=c+4|0;b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=e+m|0;if(j>>>0<28){break f}while(1){H[b>>2]=H[c>>2];H[b+4>>2]=H[c+4>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=H[c+12>>2];H[b+16>>2]=H[c+16>>2];H[b+20>>2]=H[c+20>>2];H[b+24>>2]=H[c+24>>2];H[b+28>>2]=H[c+28>>2];c=c+32|0;b=b+32|0;if((d|0)!=(b|0)){continue}break}}H[a+12>>2]=l;H[a+8>>2]=d;H[a+4>>2]=e;H[a>>2]=i;if(!h){break e}ra(h);d=H[a+8>>2]}H[d>>2]=k;H[a+8>>2]=H[a+8>>2]+4;break a}b=H[a+8>>2];d=b-H[a+4>>2]>>2;g=H[a+12>>2];c=H[a>>2];e=g-c|0;if(d>>>0<e>>2>>>0){if((b|0)!=(g|0)){n=f,o=sa(4092),H[n+8>>2]=o;pd(a,f+8|0);break a}n=f,o=sa(4092),H[n+8>>2]=o;od(a,f+8|0);b=H[a+4>>2];k=H[b>>2];c=b+4|0;H[a+4>>2]=c;b=H[a+8>>2];h:{if((b|0)!=H[a+12>>2]){d=b;break h}h=H[a>>2];if(h>>>0<c>>>0){g=b-c|0;e=((c-h>>2)+1|0)/-2<<2;d=e+c|0;if((b|0)!=(c|0)){Sa(d,c,g);c=H[a+4>>2]}d=d+g|0;H[a+8>>2]=d;H[a+4>>2]=c+e;break h}d=(b|0)==(h|0)?1:b-h>>1;if(d>>>0>=1073741824){break d}e=d<<2;i=sa(e);l=e+i|0;e=i+(d&-4)|0;d=e;i:{if((b|0)==(c|0)){break i}b=b-c|0;m=b&-4;j=b-4|0;g=(j>>>2|0)+1&7;j:{if(!g){b=e;break j}d=0;b=e;while(1){H[b>>2]=H[c>>2];c=c+4|0;b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=e+m|0;if(j>>>0<28){break i}while(1){H[b>>2]=H[c>>2];H[b+4>>2]=H[c+4>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=H[c+12>>2];H[b+16>>2]=H[c+16>>2];H[b+20>>2]=H[c+20>>2];H[b+24>>2]=H[c+24>>2];H[b+28>>2]=H[c+28>>2];c=c+32|0;b=b+32|0;if((d|0)!=(b|0)){continue}break}}H[a+12>>2]=l;H[a+8>>2]=d;H[a+4>>2]=e;H[a>>2]=i;if(!h){break h}ra(h);d=H[a+8>>2]}H[d>>2]=k;H[a+8>>2]=H[a+8>>2]+4;break a}H[f+24>>2]=a+12;b=(c|0)==(g|0)?1:e>>1;if(b>>>0>=1073741824){break d}e=b<<2;c=sa(e);H[f+8>>2]=c;b=c+(d<<2)|0;H[f+16>>2]=b;H[f+20>>2]=c+e;H[f+12>>2]=b;n=f,o=sa(4092),H[n+4>>2]=o;pd(f+8|0,f+4|0);c=H[a+8>>2];if((c|0)==H[a+4>>2]){b=c;break b}while(1){c=c-4|0;od(f+8|0,c);if(H[a+4>>2]!=(c|0)){continue}break}break c}za();v()}b=H[a+8>>2]}d=H[a>>2];H[a>>2]=H[f+8>>2];H[f+8>>2]=d;H[a+4>>2]=H[f+12>>2];H[f+12>>2]=c;H[a+8>>2]=H[f+16>>2];H[f+16>>2]=b;e=H[a+12>>2];H[a+12>>2]=H[f+20>>2];H[f+20>>2]=e;if((b|0)!=(c|0)){H[f+16>>2]=b+((c-b|0)+3&-4)}if(!d){break a}ra(d)}fa=f+32|0}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;i=fa-32|0;fa=i;a:{if(J[b+38>>1]<=513){c=H[b+20>>2];h=H[b+12>>2];d=H[b+16>>2];if((c|0)>=(h|0)&d>>>0>=K[b+8>>2]|(c|0)>(h|0)){break a}h=I[d+H[b>>2]|0];d=d+1|0;c=d?c:c+1|0;H[b+16>>2]=d;H[b+20>>2]=c;if(h){break a}}b:{if(!ab(1,i+28|0,b)){break b}d=H[i+28>>2];c=H[H[a+48>>2]+64>>2];if(d>>>0>H[c+4>>2]-H[c>>2]>>2>>>0){break b}c:{if(d){$a(a+60|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;if(!wa(c,b)){break c}while(1){h=1<<e;f=Da(c);g=H[a+60>>2]+(e>>>3&536870908)|0;if(f){f=h|H[g>>2]}else{f=H[g>>2]&(h^-1)}H[g>>2]=f;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(!ab(1,i+28|0,b)){break b}d=H[i+28>>2];c=H[H[a+48>>2]+64>>2];if(d>>>0>H[c+4>>2]-H[c>>2]>>2>>>0){break b}if(d){e=0;$a(a+72|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;if(!wa(c,b)){break c}while(1){h=1<<e;f=Da(c);g=H[a+72>>2]+(e>>>3&536870908)|0;if(f){f=h|H[g>>2]}else{f=H[g>>2]&(h^-1)}H[g>>2]=f;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(!ab(1,i+28|0,b)){break b}d=H[i+28>>2];c=H[H[a+48>>2]+64>>2];if(d>>>0>H[c+4>>2]-H[c>>2]>>2>>>0){break b}if(d){e=0;$a(a+84|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;if(!wa(c,b)){break c}while(1){h=1<<e;f=Da(c);g=H[a+84>>2]+(e>>>3&536870908)|0;if(f){f=h|H[g>>2]}else{f=H[g>>2]&(h^-1)}H[g>>2]=f;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(!ab(1,i+28|0,b)){break b}d=H[i+28>>2];c=H[H[a+48>>2]+64>>2];if(d>>>0>H[c+4>>2]-H[c>>2]>>2>>>0){break b}if(d){e=0;$a(a+96|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;if(!wa(c,b)){break c}while(1){h=1<<e;f=Da(c);g=H[a+96>>2]+(e>>>3&536870908)|0;if(f){f=h|H[g>>2]}else{f=H[g>>2]&(h^-1)}H[g>>2]=f;e=e+1|0;if((d|0)!=(e|0)){continue}break}}e=0;d=H[b+12>>2];h=d;c=H[b+20>>2];g=c;f=H[b+16>>2];j=f+4|0;c=j>>>0<4?c+1|0:c;k=H[b+8>>2];if(k>>>0<j>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break a}l=H[b>>2];d=l+f|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=j;H[b+20>>2]=c;c=g;g=f+8|0;c=g>>>0<8?c+1|0:c;f=g;g=c;if(f>>>0>k>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){break a}c=j+l|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=f;H[b+20>>2]=g;if((c|0)<(d|0)){break a}H[a+16>>2]=c;H[a+12>>2]=d;b=(c>>31)-((d>>31)+(c>>>0<d>>>0)|0)|0;c=c-d|0;if(!b&c>>>0>2147483646|b){break a}e=1;b=c+1|0;H[a+20>>2]=b;c=b>>>1|0;H[a+24>>2]=c;H[a+28>>2]=0-c;if(b&1){break a}H[a+24>>2]=c-1;break a}}e=0}fa=i+32|0;return e|0}function nj(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;i=fa-32|0;fa=i;a:{if(J[b+38>>1]<=513){c=H[b+20>>2];h=H[b+12>>2];d=H[b+16>>2];if((c|0)>=(h|0)&d>>>0>=K[b+8>>2]|(c|0)>(h|0)){break a}h=I[d+H[b>>2]|0];d=d+1|0;c=d?c:c+1|0;H[b+16>>2]=d;H[b+20>>2]=c;if(h){break a}}b:{if(!ab(1,i+28|0,b)){break b}d=H[i+28>>2];c=H[a+48>>2];if(d>>>0>H[c+4>>2]-H[c>>2]>>2>>>0){break b}c:{if(d){$a(a+60|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;if(!wa(c,b)){break c}while(1){h=1<<e;f=Da(c);g=H[a+60>>2]+(e>>>3&536870908)|0;if(f){f=h|H[g>>2]}else{f=H[g>>2]&(h^-1)}H[g>>2]=f;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(!ab(1,i+28|0,b)){break b}d=H[i+28>>2];c=H[a+48>>2];if(d>>>0>H[c+4>>2]-H[c>>2]>>2>>>0){break b}if(d){e=0;$a(a+72|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;if(!wa(c,b)){break c}while(1){h=1<<e;f=Da(c);g=H[a+72>>2]+(e>>>3&536870908)|0;if(f){f=h|H[g>>2]}else{f=H[g>>2]&(h^-1)}H[g>>2]=f;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(!ab(1,i+28|0,b)){break b}d=H[i+28>>2];c=H[a+48>>2];if(d>>>0>H[c+4>>2]-H[c>>2]>>2>>>0){break b}if(d){e=0;$a(a+84|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;if(!wa(c,b)){break c}while(1){h=1<<e;f=Da(c);g=H[a+84>>2]+(e>>>3&536870908)|0;if(f){f=h|H[g>>2]}else{f=H[g>>2]&(h^-1)}H[g>>2]=f;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(!ab(1,i+28|0,b)){break b}d=H[i+28>>2];c=H[a+48>>2];if(d>>>0>H[c+4>>2]-H[c>>2]>>2>>>0){break b}if(d){e=0;$a(a+96|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;if(!wa(c,b)){break c}while(1){h=1<<e;f=Da(c);g=H[a+96>>2]+(e>>>3&536870908)|0;if(f){f=h|H[g>>2]}else{f=H[g>>2]&(h^-1)}H[g>>2]=f;e=e+1|0;if((d|0)!=(e|0)){continue}break}}e=0;d=H[b+12>>2];h=d;c=H[b+20>>2];g=c;f=H[b+16>>2];j=f+4|0;c=j>>>0<4?c+1|0:c;k=H[b+8>>2];if(k>>>0<j>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break a}l=H[b>>2];d=l+f|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=j;H[b+20>>2]=c;c=g;g=f+8|0;c=g>>>0<8?c+1|0:c;f=g;g=c;if(f>>>0>k>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){break a}c=j+l|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=f;H[b+20>>2]=g;if((c|0)<(d|0)){break a}H[a+16>>2]=c;H[a+12>>2]=d;b=(c>>31)-((d>>31)+(c>>>0<d>>>0)|0)|0;c=c-d|0;if(!b&c>>>0>2147483646|b){break a}e=1;b=c+1|0;H[a+20>>2]=b;c=b>>>1|0;H[a+24>>2]=c;H[a+28>>2]=0-c;if(b&1){break a}H[a+24>>2]=c-1;break a}}e=0}fa=i+32|0;return e|0}function Fc(a,b,c){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;i=N(b,12)+a|0;H[i+12>>2]=H[i+8>>2];j=(c|0)==-1?-1:(c>>>0)/3|0;l=1;k=c;a:{b:{c:{while(1){d:{n=e&1;if(n){if((k|0)==-1){break d}if((ce(a,((k>>>0)%3|0?-1:2)+k|0)|0)==-1){break a}c=k+1|0;c=(c>>>0)%3|0?c:k-2|0;if((c|0)==-1){break a}e=c+1|0;c=(e>>>0)%3|0?e:c-2|0;if((c|0)==-1){break a}c=H[H[H[a+4>>2]+12>>2]+(c<<2)>>2];if((c|0)==-1){break a}e=c+1|0;c=(e>>>0)%3|0?e:c-2|0;if((c|0)==-1){break a}j=(c>>>0)/3|0}d=H[a+56>>2]+(j>>>3&536870908)|0;g=H[d>>2];f=1<<j;e:{if(g&f){break e}e=0;while(1){H[d>>2]=g|f;d=H[i+12>>2];f:{if((d|0)!=H[i+16>>2]){H[d>>2]=j;H[i+12>>2]=d+4;break f}g=H[i+8>>2];h=d-g|0;m=h>>2;d=m+1|0;if(d>>>0>=1073741824){break c}f=h>>1;f=h>>>0>=2147483644?1073741823:d>>>0<f>>>0?f:d;if(f){if(f>>>0>=1073741824){break b}d=sa(f<<2)}else{d=0}m=d+(m<<2)|0;H[m>>2]=j;if((h|0)>0){ta(d,g,h)}H[i+8>>2]=d;H[i+12>>2]=m+4;H[i+16>>2]=d+(f<<2);if(!g){break f}ra(g)}h=e+1|0;g:{h:{i:{if(!e){break i}if(h&1){if((c|0)==-1){c=-1;break g}e=c+1|0;c=(e>>>0)%3|0?e:c-2|0;break i}k=n?c:k;if((c|0)==-1){c=-1;break g}if((c>>>0)%3|0){e=c-1|0;break h}c=c+2|0}d=c;c=-1;e=d;if((d|0)==-1){break g}}c=H[H[H[a+4>>2]+12>>2]+(e<<2)>>2];d=-1;g=-1;f=e+1|0;f=(f>>>0)%3|0?f:e-2|0;if((f|0)>=0){g=(f>>>0)/3|0;g=H[(H[H[a>>2]+96>>2]+N(g,12)|0)+(f-N(g,3)<<2)>>2]}j:{if((c|0)==-1){break j}f=((c>>>0)%3|0?-1:2)+c|0;if((f|0)<0){break j}d=(f>>>0)/3|0;d=H[(H[H[a>>2]+96>>2]+N(d,12)|0)+(f-N(d,3)<<2)>>2]}if((d|0)!=(g|0)){c=-1;break g}k:{l:{e=((e>>>0)%3|0?-1:2)+e|0;if((e|0)>=0){d=(e>>>0)/3|0;if((c|0)!=-1){break l}c=-1;break g}e=-1;if((c|0)!=-1){break k}c=-1;break g}e=H[(H[H[a>>2]+96>>2]+N(d,12)|0)+(e-N(d,3)<<2)>>2]}d=c+1|0;d=(d>>>0)%3|0?d:c-2|0;if((d|0)>=0){g=(d>>>0)/3|0;d=H[(H[H[a>>2]+96>>2]+N(g,12)|0)+(d-N(g,3)<<2)>>2]}else{d=-1}if((d|0)!=(e|0)){c=-1;break g}e=h;j=(c>>>0)/3|0;d=H[a+56>>2]+(j>>>3&268435452)|0;g=H[d>>2];f=1<<j;if(!(g&f)){continue}}break}if(!n|!(h&1)){break e}e=H[i+12>>2]-4|0;d=H[e>>2];h=H[a+56>>2]+(d>>>3&536870908)|0;g=H[h>>2];o=h,p=Rj(d)&g,H[o>>2]=p;H[i+12>>2]=e}e=1;d=l;l=0;if(d){continue}break a}break}k=-1;ce(a,-1);break a}va();v()}za();v()}H[((b<<2)+a|0)+44>>2]=k;c=H[i+12>>2];b=H[i+8>>2];m:{if((c|0)==(b|0)){break m}e=c-b|0;c=e>>2;d=c>>>0<=1?1:c;k=d&1;a=H[a+56>>2];c=0;if(e>>>0>=8){e=d&-2;j=0;while(1){d=c<<2;h=H[d+b>>2];l=a+(h>>>3&536870908)|0;i=H[l>>2];o=l,p=Rj(h)&i,H[o>>2]=p;d=H[b+(d|4)>>2];h=a+(d>>>3&536870908)|0;l=H[h>>2];o=h,p=Rj(d)&l,H[o>>2]=p;c=c+2|0;j=j+2|0;if((e|0)!=(j|0)){continue}break}}if(!k){break m}b=H[b+(c<<2)>>2];a=a+(b>>>3&536870908)|0;c=H[a>>2];o=a,p=Rj(b)&c,H[o>>2]=p}}function ve(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=sa(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}ra(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;Xa(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;Xa(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:{d:{c=c-4|0;b=H[c>>2];if((b|0)==-1){break d}d=(b>>>0)/3|0;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;Xa(j,c,b);break f}H[e>>2]=f|g;Xa(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;k:{if((c|0)!=-1){e=H[a+24>>2];g=(c>>>0)/3|0;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?1073741823:b>>>0<f>>>0?f:b;if(f){if(f>>>0>=1073741824){break l}b=sa(f<<2)}else{b=0}g=b+(g<<2)|0;H[g>>2]=c;c=g+4|0;if((d|0)>0){ta(b,e,d)}H[a+56>>2]=b+(f<<2);H[a+52>>2]=c;H[a+48>>2]=b;if(!e){break c}ra(e);c=H[a+52>>2];break c}va();v()}za();v()}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 sj(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;g=fa-32|0;fa=g;H[a+68>>2]=f;d=H[a+56>>2];e=H[d>>2];d=H[d+4>>2];H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;a:{d=d-e|0;if((d|0)>0){m=a+60|0;d=d>>>2|0;n=d>>>0<=1?1:d;o=a+112|0;while(1){e=H[a+56>>2];d=H[e>>2];if(H[e+4>>2]-d>>2>>>0<=k>>>0){break a}Pb(m,H[d+(k<<2)>>2],g+16|0);e=H[g+20>>2];d=e>>31;f=H[g+16>>2];h=f>>31;j=H[g+24>>2];i=j>>31;i=(i^j)-i|0;h=i+((d^e)-d+((f^h)-h)|0)|0;d=0;d=h>>>0<i>>>0?1:d;b:{if(!(d|h)){H[g+16>>2]=H[a+108>>2];break b}i=H[a+108>>2];l=i>>31;f=Oj(Nj(i,l,f,f>>31),ga,h,d);H[g+16>>2]=f;d=Oj(Nj(i,l,e,e>>31),ga,h,d);H[g+20>>2]=d;e=d;d=d>>31;e=(e^d)-d|0;d=f>>31;d=e+((d^f)-d|0)|0;if((j|0)>=0){H[g+24>>2]=i-d;break b}H[g+24>>2]=d-i}d=Da(o);f=H[g+16>>2];c:{if(d){H[g+24>>2]=0-H[g+24>>2];e=0-H[g+20>>2]|0;H[g+20>>2]=e;f=0-f|0;H[g+16>>2]=f;break c}e=H[g+20>>2]}d:{if((f|0)>=0){f=H[a+108>>2];d=f+H[g+24>>2]|0;f=e+f|0;break d}e:{if((e|0)<0){d=H[g+24>>2];f=d>>31;f=(d^f)-f|0;break e}d=H[g+24>>2];f=d>>31;f=H[a+100>>2]+(f-(d^f)|0)|0}if((d|0)<0){d=e>>31;d=(d^e)-d|0;break d}d=e>>31;d=H[a+100>>2]+(d-(d^e)|0)|0}e=H[a+100>>2];f:{if(!(d|f)){d=e;f=d;break f}if(!((d|0)!=(e|0)|f)){f=d;break f}if(!((e|0)!=(f|0)|d)){d=f;break f}g:{if(f){break g}h=H[a+108>>2];if((h|0)>=(d|0)){break g}d=(h<<1)-d|0;f=0;break f}h:{if((e|0)!=(f|0)){break h}h=H[a+108>>2];if((h|0)<=(d|0)){break h}d=(h<<1)-d|0;break f}i:{if((d|0)!=(e|0)){break i}e=H[a+108>>2];if((e|0)<=(f|0)){break i}f=(e<<1)-f|0;break f}if(d){break f}d=0;e=H[a+108>>2];if((e|0)>=(f|0)){break f}f=(e<<1)-f|0}H[g+12>>2]=d;H[g+8>>2]=f;j:{if(H[a+8>>2]<=0){break j}h=H[a+32>>2];f=0;while(1){d=f<<2;e=H[d+(g+8|0)>>2];j=H[a+16>>2];k:{if((e|0)>(j|0)){H[d+h>>2]=j;break k}d=d+h|0;j=H[a+12>>2];if((j|0)>(e|0)){H[d>>2]=j;break k}H[d>>2]=e}f=f+1|0;e=H[a+8>>2];if((f|0)<(e|0)){continue}break}d=0;if((e|0)<=0){break j}e=k<<3;j=e+c|0;i=b+e|0;while(1){f=d<<2;e=f+j|0;f=H[f+i>>2]+H[f+h>>2]|0;H[e>>2]=f;l:{if((f|0)>H[a+16>>2]){f=f-H[a+20>>2]|0}else{if((f|0)>=H[a+12>>2]){break l}f=f+H[a+20>>2]|0}H[e>>2]=f}d=d+1|0;if((d|0)<H[a+8>>2]){continue}break}}k=k+1|0;if((n|0)!=(k|0)){continue}break}}fa=g+32|0;return 1}Ea();v()}function cj(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;g=fa-32|0;fa=g;H[a+68>>2]=f;d=H[a+56>>2];e=H[d>>2];d=H[d+4>>2];H[g+24>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;a:{d=d-e|0;if((d|0)>0){m=a+60|0;d=d>>>2|0;n=d>>>0<=1?1:d;o=a+112|0;while(1){e=H[a+56>>2];d=H[e>>2];if(H[e+4>>2]-d>>2>>>0<=k>>>0){break a}Nb(m,H[d+(k<<2)>>2],g+16|0);e=H[g+20>>2];d=e>>31;f=H[g+16>>2];h=f>>31;j=H[g+24>>2];i=j>>31;i=(i^j)-i|0;h=i+((d^e)-d+((f^h)-h)|0)|0;d=0;d=h>>>0<i>>>0?1:d;b:{if(!(d|h)){H[g+16>>2]=H[a+108>>2];break b}i=H[a+108>>2];l=i>>31;f=Oj(Nj(i,l,f,f>>31),ga,h,d);H[g+16>>2]=f;d=Oj(Nj(i,l,e,e>>31),ga,h,d);H[g+20>>2]=d;e=d;d=d>>31;e=(e^d)-d|0;d=f>>31;d=e+((d^f)-d|0)|0;if((j|0)>=0){H[g+24>>2]=i-d;break b}H[g+24>>2]=d-i}d=Da(o);f=H[g+16>>2];c:{if(d){H[g+24>>2]=0-H[g+24>>2];e=0-H[g+20>>2]|0;H[g+20>>2]=e;f=0-f|0;H[g+16>>2]=f;break c}e=H[g+20>>2]}d:{if((f|0)>=0){f=H[a+108>>2];d=f+H[g+24>>2]|0;f=e+f|0;break d}e:{if((e|0)<0){d=H[g+24>>2];f=d>>31;f=(d^f)-f|0;break e}d=H[g+24>>2];f=d>>31;f=H[a+100>>2]+(f-(d^f)|0)|0}if((d|0)<0){d=e>>31;d=(d^e)-d|0;break d}d=e>>31;d=H[a+100>>2]+(d-(d^e)|0)|0}e=H[a+100>>2];f:{if(!(d|f)){d=e;f=d;break f}if(!((d|0)!=(e|0)|f)){f=d;break f}if(!((e|0)!=(f|0)|d)){d=f;break f}g:{if(f){break g}h=H[a+108>>2];if((h|0)>=(d|0)){break g}d=(h<<1)-d|0;f=0;break f}h:{if((e|0)!=(f|0)){break h}h=H[a+108>>2];if((h|0)<=(d|0)){break h}d=(h<<1)-d|0;break f}i:{if((d|0)!=(e|0)){break i}e=H[a+108>>2];if((e|0)<=(f|0)){break i}f=(e<<1)-f|0;break f}if(d){break f}d=0;e=H[a+108>>2];if((e|0)>=(f|0)){break f}f=(e<<1)-f|0}H[g+12>>2]=d;H[g+8>>2]=f;j:{if(H[a+8>>2]<=0){break j}h=H[a+32>>2];f=0;while(1){d=f<<2;e=H[d+(g+8|0)>>2];j=H[a+16>>2];k:{if((e|0)>(j|0)){H[d+h>>2]=j;break k}d=d+h|0;j=H[a+12>>2];if((j|0)>(e|0)){H[d>>2]=j;break k}H[d>>2]=e}f=f+1|0;e=H[a+8>>2];if((f|0)<(e|0)){continue}break}d=0;if((e|0)<=0){break j}e=k<<3;j=e+c|0;i=b+e|0;while(1){f=d<<2;e=f+j|0;f=H[f+i>>2]+H[f+h>>2]|0;H[e>>2]=f;l:{if((f|0)>H[a+16>>2]){f=f-H[a+20>>2]|0}else{if((f|0)>=H[a+12>>2]){break l}f=f+H[a+20>>2]|0}H[e>>2]=f}d=d+1|0;if((d|0)<H[a+8>>2]){continue}break}}k=k+1|0;if((n|0)!=(k|0)){continue}break}}fa=g+32|0;return 1}Ea();v()}function ld(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;l=ha[H[H[a>>2]+44>>2]](a)|0;a:{if((l|0)<=0){break a}h=H[b+4>>2]-H[b>>2]>>2;e=fa+-64|0;fa=e;d=Gb(e);f=N(H[3400],l);lc(d,H[H[a+8>>2]+56>>2],l&255,5,0,f,f>>31);d=fc(sa(96),d);F[d+84|0]=1;H[d+72>>2]=H[d+68>>2];qb(d,h);H[d+60>>2]=H[H[a+8>>2]+60>>2];f=H[a+16>>2];H[a+16>>2]=d;if(f){Ja(f)}fa=e- -64|0;d=H[a+16>>2];if(!H[d+80>>2]){break a}j=H[H[d>>2]>>2];if(!j){break a}i=H[c+12>>2];g=i;e=H[c+20>>2];k=H[c+8>>2];f=H[c+16>>2];if((g|0)<=(e|0)&k>>>0<=f>>>0|(e|0)>(g|0)){break a}h=N(h,l);j=j+H[d+48>>2]|0;m=H[c>>2];n=I[m+f|0];d=e;g=f+1|0;d=g?d:d+1|0;H[c+16>>2]=g;H[c+20>>2]=d;b:{c:{if(n){if(id(h,l,c,j)){break c}break a}if((d|0)>=(i|0)&g>>>0>=k>>>0|(d|0)>(i|0)){break a}d=I[g+m|0];f=f+2|0;e=f>>>0<2?e+1|0:e;H[c+16>>2]=f;H[c+20>>2]=e;e=H[H[a+16>>2]+64>>2];e=H[e+4>>2]-H[e>>2]|0;if((d|0)==H[3400]){d=h<<2;if(d>>>0>e>>>0){break a}f=H[c+12>>2];e=H[c+20>>2];i=H[c+16>>2];g=d+i|0;e=g>>>0<d>>>0?e+1|0:e;if(g>>>0>K[c+8>>2]&(e|0)>=(f|0)|(e|0)>(f|0)){break a}ta(j,i+H[c>>2]|0,d);e=d;f=d+H[c+16>>2]|0;d=H[c+20>>2];H[c+16>>2]=f;H[c+20>>2]=e>>>0>f>>>0?d+1|0:d;break c}if(e>>>0<N(d,h)>>>0){break a}e=H[c+8>>2];i=H[c+16>>2];f=i;g=e-f|0;f=e>>>0<f>>>0;e=H[c+20>>2];f=H[c+12>>2]-(f+e|0)|0;k=Nj(d,0,h,0)>>>0>g>>>0;g=ga;if(k&(g|0)>=(f|0)|(f|0)<(g|0)){break a}f=1;if(!h){break b}g=0;while(1){m=d+i|0;k=H[c+12>>2];e=d>>>0>m>>>0?e+1|0:e;if(m>>>0>K[c+8>>2]&(k|0)<=(e|0)|(e|0)>(k|0)){return 0}ta(j+(g<<2)|0,i+H[c>>2]|0,d);e=H[c+20>>2];i=d+H[c+16>>2]|0;e=i>>>0<d>>>0?e+1|0:e;H[c+16>>2]=i;H[c+20>>2]=e;g=g+1|0;if((h|0)!=(g|0)){continue}break}}f=1;if(!h){break b}d=H[a+20>>2];if(d){f=0;if(ha[H[H[d>>2]+32>>2]](d)|0){break b}}d=0;g=0;d:{if((h|0)<=0){break d}if((h|0)!=1){i=h&-2;while(1){e=d<<2;f=H[e+j>>2];H[e+j>>2]=0-(f&1)^f>>>1;f=e|4;e=H[f+j>>2];H[f+j>>2]=0-(e&1)^e>>>1;d=d+2|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(!(h&1)){break d}e=d<<2;d=H[e+j>>2];H[e+j>>2]=0-(d&1)^d>>>1}f=0}d=H[a+20>>2];e:{if(!d){break e}if(!(ha[H[H[d>>2]+40>>2]](d,c)|0)){break a}if(f){break e}a=H[a+20>>2];if(!(ha[H[H[a>>2]+44>>2]](a,j,j,h,l,H[b>>2])|0)){break a}}o=1}return o|0}function tb(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=fa-32|0;fa=g;a:{b:{if(H[a+8>>2]<<5>>>0>=b>>>0){break b}if((b|0)<0){break a}b=(b-1>>>5|0)+1|0;c=sa(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=fa-32|0;fa=f;i=H[g+4>>2];e=H[g+12>>2];j=H[g>>2];h=H[g+8>>2];b=(i-e|0)+(j-h<<3)|0;d=H[g+20>>2];c=b+d|0;H[g+20>>2]=c;if(!((c-1^d-1)>>>0<32?d:0)){H[H[g+16>>2]+((c>>>0>=33?c-1>>>5|0:0)<<2)>>2]=0}c=H[g+16>>2]+(d>>>3&536870908)|0;d=d&31;c:{if((d|0)==(e|0)){if((b|0)<=0){break c}if(e){i=32-e|0;d=(b|0)<(i|0)?b:i;i=-1<<e&-1>>>i-d;H[c>>2]=H[c>>2]&(i^-1)|i&H[h>>2];b=b-d|0;h=h+4|0;c=c+(d+e>>>3&536870908)|0}j=c;e=(b|0)/32|0;c=e<<2;d=Sa(j,h,c);b=b-(e<<5)|0;if((b|0)<=0){break c}e=c+d|0;b=-1>>>32-b|0;H[e>>2]=H[e>>2]&(b^-1)|b&H[c+h>>2];break c}H[f+28>>2]=e;H[f+24>>2]=h;H[f+20>>2]=i;H[f+16>>2]=j;H[f+12>>2]=d;H[f+8>>2]=c;b=H[f+28>>2];c=H[f+24>>2];h=(H[f+20>>2]-b|0)+(H[f+16>>2]-c<<3)|0;d:{if((h|0)<=0){b=H[f+12>>2];break d}e:{if(!b){b=H[f+12>>2];break e}e=H[f+12>>2];j=32-e|0;k=32-b|0;d=(h|0)<(k|0)?h:k;i=d>>>0>j>>>0?j:d;l=H[f+8>>2];m=H[l>>2]&(-1<<e&-1>>>j-i^-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+i|0;b=c&31;H[f+12>>2]=b;e=l+(c>>>3&536870908)|0;H[f+8>>2]=e;c=d-i|0;if((c|0)>0){H[e>>2]=H[e>>2]&(-1>>>32-c^-1)|j>>>i+H[f+28>>2];H[f+12>>2]=c;b=c}h=h-d|0;c=H[f+24>>2]+4|0;H[f+24>>2]=c}i=-1<<b;e=32-b|0;if((h|0)>=32){j=i^-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]=i&H[d+4>>2]|c>>>e;c=H[f+24>>2]+4|0;H[f+24>>2]=c;d=h>>>0>63;h=h-32|0;if(d){continue}break}}if((h|0)<=0){break d}d=H[f+8>>2];j=e;e=(e|0)<(h|0)?e:h;j=H[d>>2]&(i&-1>>>j-e^-1);i=H[c>>2]&-1>>>32-h;H[d>>2]=j|i<<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=h-e|0;if((c|0)<=0){break d}H[d>>2]=H[d>>2]&(-1>>>32-c^-1)|i>>>e;H[f+12>>2]=c;b=c}c=H[f+8>>2];H[f+4>>2]=b;H[f>>2]=c}fa=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}ra(b)}fa=g+32|0;return}va();v()}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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=fa-80|0;fa=i;a:{b:{if(I[H[a+28>>2]+36|0]<=1){d=H[b+20>>2];c=H[b+16>>2];e=c+4|0;d=e>>>0<4?d+1|0:d;f=H[b+12>>2];if((f|0)<=(d|0)&e>>>0>K[b+8>>2]|(d|0)>(f|0)){break a}c=c+H[b>>2]|0;j=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=e;H[b+20>>2]=d;break b}if(!Nc(1,i+76|0,b)){break a}j=H[i+76>>2]}if(!j){break a}d=H[b+8>>2];c=H[b+16>>2];d=Nj(d-c|0,H[b+12>>2]-(H[b+20>>2]+(c>>>0>d>>>0)|0)|0,5,0);c=ga;if(d>>>0<j>>>0&(c|0)<=0|(c|0)<0){break a}c=H[a+4>>2];d=H[a+8>>2]-c>>2;c:{if(d>>>0<j>>>0){Aa(a+4|0,j-d|0);break c}if(d>>>0<=j>>>0){break c}H[a+8>>2]=c+(j<<2)}q=a+16|0;l=H[a+32>>2];g=1;while(1){d:{h=H[b+12>>2];c=h;d=H[b+20>>2];n=H[b+8>>2];k=H[b+16>>2];if((c|0)<=(d|0)&n>>>0<=k>>>0|(c|0)<(d|0)){break d}o=H[b>>2];r=I[o+k|0];c=d;e=k+1|0;c=e?c:c+1|0;H[b+16>>2]=e;H[b+20>>2]=c;if((c|0)>=(h|0)&e>>>0>=n>>>0|(c|0)>(h|0)){break d}e=I[e+o|0];c=d;f=k+2|0;c=f>>>0<2?c+1|0:c;H[b+16>>2]=f;H[b+20>>2]=c;if((c|0)>=(h|0)&f>>>0>=n>>>0|(c|0)>(h|0)){break d}f=I[f+o|0];c=d;p=k+3|0;c=p>>>0<3?c+1|0:c;H[b+16>>2]=p;H[b+20>>2]=c;if((c|0)>=(h|0)&p>>>0>=n>>>0|(c|0)>(h|0)){break d}h=I[p+o|0];c=d;d=k+4|0;c=d>>>0<4?c+1|0:c;H[b+16>>2]=d;H[b+20>>2]=c;if(!f|((e-12&255)>>>0<245|r>>>0>4)){break d}k=Gb(i+8|0);h=(h|0)!=0;d=e-1|0;if(d>>>0<=10){c=H[(d<<2)+13584>>2]}else{c=-1}d=N(c,f);lc(k,r,f,e,h,d,d>>31);d=J[H[a+28>>2]+36>>1];e:{if(((d<<8|d>>>8)&65535)>>>0<=258){c=H[b+20>>2];d=H[b+16>>2];e=d+2|0;c=e>>>0<2?c+1|0:c;f=H[b+12>>2];if((f|0)<=(c|0)&e>>>0>K[b+8>>2]|(c|0)>(f|0)){break d}d=d+H[b>>2]|0;g=I[d|0]|I[d+1|0]<<8;H[b+16>>2]=e;H[b+20>>2]=c;break e}if(!Nc(1,i+4|0,b)){break d}g=H[i+4>>2]}H[i+68>>2]=g;d=fc(sa(96),k);ha[H[H[l>>2]+8>>2]](l,H[l+12>>2]-H[l+8>>2]>>2,d);d=(H[l+12>>2]-H[l+8>>2]>>2)-1|0;e=d<<2;H[H[e+H[l+8>>2]>>2]+60>>2]=g;H[H[a+4>>2]+(m<<2)>>2]=d;g=H[a+16>>2];c=H[a+20>>2]-g>>2;f:{if((c|0)>(d|0)){break f}H[i>>2]=-1;d=d+1|0;if(d>>>0>c>>>0){Ia(q,d-c|0,i);g=H[q>>2];break f}if(c>>>0<=d>>>0){break f}H[a+20>>2]=(d<<2)+g}H[e+g>>2]=m;m=m+1|0;g=m>>>0<j>>>0;if((j|0)!=(m|0)){continue}}break}m=!g}fa=i+80|0;return m&1}function Le(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;c=J[b+38>>1];a:{if(!c){break a}b:{if(c>>>0<=511){d=H[b+12>>2];c=H[b+20>>2];e=H[b+16>>2];g=e+4|0;c=g>>>0<4?c+1|0:c;if(g>>>0>K[b+8>>2]&(c|0)>=(d|0)|(c|0)>(d|0)){break a}c=e+H[b>>2]|0;f=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[a+12>>2]=f;c=H[b+20>>2];d=H[b+16>>2]+4|0;c=d>>>0<4?c+1|0:c;e=d;H[b+16>>2]=d;H[b+20>>2]=c;break b}if(!kb(1,a+12|0,b)){break a}e=H[b+16>>2];c=H[b+20>>2];f=H[a+12>>2]}d=H[b+8>>2];g=d-e|0;c=H[b+12>>2]-(c+(d>>>0<e>>>0)|0)|0;if(g>>>0<f>>>6>>>0&(c|0)<=0|(c|0)<0){break a}d=H[a>>2];c=H[a+4>>2]-d>>2;c:{if(c>>>0<f>>>0){Aa(a,f-c|0);f=H[a+12>>2];break c}if(c>>>0<=f>>>0){break c}H[a+4>>2]=d+(f<<2)}if(!f){return 1}e=H[b+16>>2];c=H[b+20>>2];k=H[a>>2];l=H[b+8>>2];j=H[b+12>>2];g=0;while(1){if((c|0)>=(j|0)&e>>>0>=l>>>0|(c|0)>(j|0)){return 0}m=H[b>>2];i=I[m+e|0];d=e+1|0;c=d?c:c+1|0;e=d;H[b+16>>2]=d;H[b+20>>2]=c;d=i>>>2|0;h=0;d:{e:{f:{g:{n=i&3;switch(n|0){case 0:break e;case 3:break g;default:break f}}d=d+g|0;if(d>>>0>=f>>>0){return 0}ua(k+(g<<2)|0,0,(i&252)+4|0);g=d;break d}while(1){if((c|0)>=(j|0)&e>>>0>=l>>>0|(c|0)>(j|0)){break a}f=I[e+m|0];e=e+1|0;c=e?c:c+1|0;H[b+16>>2]=e;H[b+20>>2]=c;d=f<<(h<<3|6)|d;h=h+1|0;if((n|0)!=(h|0)){continue}break}}H[k+(g<<2)>>2]=d}f=H[a+12>>2];g=g+1|0;if(f>>>0>g>>>0){continue}break}b=a+16|0;j=H[a>>2];d=H[a+16>>2];c=H[a+20>>2]-d|0;h:{if(c>>>0<=16383){Aa(b,4096-(c>>>2|0)|0);break h}if((c|0)==16384){break h}H[a+20>>2]=d+16384}c=a+28|0;g=H[c>>2];d=H[a+32>>2]-g>>3;i:{if(d>>>0<f>>>0){sb(c,f-d|0);g=H[c>>2];break i}if(d>>>0>f>>>0){H[a+32>>2]=(f<<3)+g}if(!f){break a}}e=H[b>>2];b=0;a=0;while(1){c=j+(b<<2)|0;h=H[c>>2];d=a;i=(b<<3)+g|0;H[i+4>>2]=d;H[i>>2]=h;c=H[c>>2];a=c+d|0;if(a>>>0>4096){break a}j:{if(a>>>0<=d>>>0){break j}h=0;i=c&7;if(i){while(1){H[e+(d<<2)>>2]=b;d=d+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if(c-1>>>0<=6){break j}while(1){c=e+(d<<2)|0;H[c>>2]=b;H[c+28>>2]=b;H[c+24>>2]=b;H[c+20>>2]=b;H[c+16>>2]=b;H[c+12>>2]=b;H[c+8>>2]=b;H[c+4>>2]=b;d=d+8|0;if((d|0)!=(a|0)){continue}break}}b=b+1|0;if((f|0)!=(b|0)){continue}break}o=(a|0)==4096}return o}function Mi(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;g=fa-48|0;fa=g;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;d=H[a+40>>2];e=H[d>>2];d=H[d+4>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;a:{d=d-e|0;if((d|0)>0){m=a+8|0;n=a+44|0;d=d>>>2|0;o=d>>>0<=1?1:d;p=a+96|0;while(1){e=H[a+40>>2];d=H[e>>2];if(H[e+4>>2]-d>>2>>>0<=j>>>0){break a}Pb(n,H[d+(j<<2)>>2],g+8|0);e=H[g+12>>2];d=e>>31;f=H[g+8>>2];h=f>>31;k=H[g+16>>2];i=k>>31;i=(i^k)-i|0;h=i+((d^e)-d+((f^h)-h)|0)|0;d=0;d=h>>>0<i>>>0?1:d;b:{if(!(d|h)){H[g+8>>2]=H[a+92>>2];break b}i=H[a+92>>2];l=i>>31;f=Oj(Nj(i,l,f,f>>31),ga,h,d);H[g+8>>2]=f;d=Oj(Nj(i,l,e,e>>31),ga,h,d);H[g+12>>2]=d;e=d>>31;e=(d^e)-e|0;d=f>>31;d=e+((d^f)-d|0)|0;if((k|0)>=0){H[g+16>>2]=i-d;break b}H[g+16>>2]=d-i}d=Da(p);f=H[g+8>>2];c:{if(d){H[g+16>>2]=0-H[g+16>>2];e=0-H[g+12>>2]|0;H[g+12>>2]=e;f=0-f|0;H[g+8>>2]=f;break c}e=H[g+12>>2]}d:{if((f|0)>=0){f=H[a+92>>2];d=f+H[g+16>>2]|0;f=e+f|0;break d}e:{if((e|0)<0){d=H[g+16>>2];f=d>>31;f=(d^f)-f|0;break e}d=H[g+16>>2];f=d>>31;f=H[a+84>>2]+(f-(d^f)|0)|0}if((d|0)<0){d=e>>31;d=(d^e)-d|0;break d}d=e>>31;d=H[a+84>>2]+(d-(d^e)|0)|0}e=H[a+84>>2];f:{if(!(d|f)){d=e;f=d;break f}if(!((d|0)!=(e|0)|f)){f=d;break f}if(!((e|0)!=(f|0)|d)){d=f;break f}g:{if(f){break g}h=H[a+92>>2];if((h|0)>=(d|0)){break g}d=(h<<1)-d|0;f=0;break f}h:{if((e|0)!=(f|0)){break h}h=H[a+92>>2];if((h|0)<=(d|0)){break h}d=(h<<1)-d|0;break f}i:{if((d|0)!=(e|0)){break i}e=H[a+92>>2];if((e|0)<=(f|0)){break i}f=(e<<1)-f|0;break f}if(d){break f}d=0;e=H[a+92>>2];if((e|0)>=(f|0)){break f}f=(e<<1)-f|0}e=j<<3;h=e+b|0;k=H[h+4>>2];h=H[h>>2];H[g+36>>2]=d;H[g+32>>2]=f;H[g+24>>2]=h;H[g+28>>2]=k;rc(g+40|0,m,g+32|0,g+24|0);d=c+e|0;H[d>>2]=H[g+40>>2];H[d+4>>2]=H[g+44>>2];j=j+1|0;if((o|0)!=(j|0)){continue}break}}fa=g+48|0;return 1}Ea();v()}function Hi(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;g=fa-48|0;fa=g;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;d=H[a+40>>2];e=H[d>>2];d=H[d+4>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;a:{d=d-e|0;if((d|0)>0){m=a+8|0;n=a+44|0;d=d>>>2|0;o=d>>>0<=1?1:d;p=a+96|0;while(1){e=H[a+40>>2];d=H[e>>2];if(H[e+4>>2]-d>>2>>>0<=j>>>0){break a}Nb(n,H[d+(j<<2)>>2],g+8|0);e=H[g+12>>2];d=e>>31;f=H[g+8>>2];h=f>>31;k=H[g+16>>2];i=k>>31;i=(i^k)-i|0;h=i+((d^e)-d+((f^h)-h)|0)|0;d=0;d=h>>>0<i>>>0?1:d;b:{if(!(d|h)){H[g+8>>2]=H[a+92>>2];break b}i=H[a+92>>2];l=i>>31;f=Oj(Nj(i,l,f,f>>31),ga,h,d);H[g+8>>2]=f;d=Oj(Nj(i,l,e,e>>31),ga,h,d);H[g+12>>2]=d;e=d>>31;e=(d^e)-e|0;d=f>>31;d=e+((d^f)-d|0)|0;if((k|0)>=0){H[g+16>>2]=i-d;break b}H[g+16>>2]=d-i}d=Da(p);f=H[g+8>>2];c:{if(d){H[g+16>>2]=0-H[g+16>>2];e=0-H[g+12>>2]|0;H[g+12>>2]=e;f=0-f|0;H[g+8>>2]=f;break c}e=H[g+12>>2]}d:{if((f|0)>=0){f=H[a+92>>2];d=f+H[g+16>>2]|0;f=e+f|0;break d}e:{if((e|0)<0){d=H[g+16>>2];f=d>>31;f=(d^f)-f|0;break e}d=H[g+16>>2];f=d>>31;f=H[a+84>>2]+(f-(d^f)|0)|0}if((d|0)<0){d=e>>31;d=(d^e)-d|0;break d}d=e>>31;d=H[a+84>>2]+(d-(d^e)|0)|0}e=H[a+84>>2];f:{if(!(d|f)){d=e;f=d;break f}if(!((d|0)!=(e|0)|f)){f=d;break f}if(!((e|0)!=(f|0)|d)){d=f;break f}g:{if(f){break g}h=H[a+92>>2];if((h|0)>=(d|0)){break g}d=(h<<1)-d|0;f=0;break f}h:{if((e|0)!=(f|0)){break h}h=H[a+92>>2];if((h|0)<=(d|0)){break h}d=(h<<1)-d|0;break f}i:{if((d|0)!=(e|0)){break i}e=H[a+92>>2];if((e|0)<=(f|0)){break i}f=(e<<1)-f|0;break f}if(d){break f}d=0;e=H[a+92>>2];if((e|0)>=(f|0)){break f}f=(e<<1)-f|0}e=j<<3;h=e+b|0;k=H[h+4>>2];h=H[h>>2];H[g+36>>2]=d;H[g+32>>2]=f;H[g+24>>2]=h;H[g+28>>2]=k;rc(g+40|0,m,g+32|0,g+24|0);d=c+e|0;H[d>>2]=H[g+40>>2];H[d+4>>2]=H[g+44>>2];j=j+1|0;if((o|0)!=(j|0)){continue}break}}fa=g+48|0;return 1}Ea();v()}function Vi(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;g=fa-48|0;fa=g;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;d=H[a+40>>2];e=H[d>>2];d=H[d+4>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;a:{d=d-e|0;if((d|0)>0){m=a+8|0;n=a+44|0;d=d>>>2|0;o=d>>>0<=1?1:d;p=a+96|0;while(1){e=H[a+40>>2];d=H[e>>2];if(H[e+4>>2]-d>>2>>>0<=j>>>0){break a}Pb(n,H[d+(j<<2)>>2],g+8|0);e=H[g+12>>2];d=e>>31;f=H[g+8>>2];h=f>>31;k=H[g+16>>2];i=k>>31;i=(i^k)-i|0;h=i+((d^e)-d+((f^h)-h)|0)|0;d=0;d=h>>>0<i>>>0?1:d;b:{if(!(d|h)){H[g+8>>2]=H[a+92>>2];break b}i=H[a+92>>2];l=i>>31;f=Oj(Nj(i,l,f,f>>31),ga,h,d);H[g+8>>2]=f;d=Oj(Nj(i,l,e,e>>31),ga,h,d);H[g+12>>2]=d;e=d>>31;e=(d^e)-e|0;d=f>>31;d=e+((d^f)-d|0)|0;if((k|0)>=0){H[g+16>>2]=i-d;break b}H[g+16>>2]=d-i}d=Da(p);f=H[g+8>>2];c:{if(d){H[g+16>>2]=0-H[g+16>>2];e=0-H[g+12>>2]|0;H[g+12>>2]=e;f=0-f|0;H[g+8>>2]=f;break c}e=H[g+12>>2]}d:{if((f|0)>=0){f=H[a+92>>2];d=f+H[g+16>>2]|0;f=e+f|0;break d}e:{if((e|0)<0){d=H[g+16>>2];f=d>>31;f=(d^f)-f|0;break e}d=H[g+16>>2];f=d>>31;f=H[a+84>>2]+(f-(d^f)|0)|0}if((d|0)<0){d=e>>31;d=(d^e)-d|0;break d}d=e>>31;d=H[a+84>>2]+(d-(d^e)|0)|0}e=H[a+84>>2];f:{if(!(d|f)){d=e;f=d;break f}if(!((d|0)!=(e|0)|f)){f=d;break f}if(!((e|0)!=(f|0)|d)){d=f;break f}g:{if(f){break g}h=H[a+92>>2];if((h|0)>=(d|0)){break g}d=(h<<1)-d|0;f=0;break f}h:{if((e|0)!=(f|0)){break h}h=H[a+92>>2];if((h|0)<=(d|0)){break h}d=(h<<1)-d|0;break f}i:{if((d|0)!=(e|0)){break i}e=H[a+92>>2];if((e|0)<=(f|0)){break i}f=(e<<1)-f|0;break f}if(d){break f}d=0;e=H[a+92>>2];if((e|0)>=(f|0)){break f}f=(e<<1)-f|0}e=j<<3;h=e+b|0;k=H[h+4>>2];H[g+40>>2]=H[h>>2];H[g+44>>2]=k;H[g+28>>2]=d;H[g+24>>2]=f;sc(g+32|0,m,g+24|0,g+40|0);d=c+e|0;H[d>>2]=H[g+32>>2];H[d+4>>2]=H[g+36>>2];j=j+1|0;if((o|0)!=(j|0)){continue}break}}fa=g+48|0;return 1}Ea();v()}function Qi(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;g=fa-48|0;fa=g;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;d=H[a+40>>2];e=H[d>>2];d=H[d+4>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;a:{d=d-e|0;if((d|0)>0){m=a+8|0;n=a+44|0;d=d>>>2|0;o=d>>>0<=1?1:d;p=a+96|0;while(1){e=H[a+40>>2];d=H[e>>2];if(H[e+4>>2]-d>>2>>>0<=j>>>0){break a}Nb(n,H[d+(j<<2)>>2],g+8|0);e=H[g+12>>2];d=e>>31;f=H[g+8>>2];h=f>>31;k=H[g+16>>2];i=k>>31;i=(i^k)-i|0;h=i+((d^e)-d+((f^h)-h)|0)|0;d=0;d=h>>>0<i>>>0?1:d;b:{if(!(d|h)){H[g+8>>2]=H[a+92>>2];break b}i=H[a+92>>2];l=i>>31;f=Oj(Nj(i,l,f,f>>31),ga,h,d);H[g+8>>2]=f;d=Oj(Nj(i,l,e,e>>31),ga,h,d);H[g+12>>2]=d;e=d>>31;e=(d^e)-e|0;d=f>>31;d=e+((d^f)-d|0)|0;if((k|0)>=0){H[g+16>>2]=i-d;break b}H[g+16>>2]=d-i}d=Da(p);f=H[g+8>>2];c:{if(d){H[g+16>>2]=0-H[g+16>>2];e=0-H[g+12>>2]|0;H[g+12>>2]=e;f=0-f|0;H[g+8>>2]=f;break c}e=H[g+12>>2]}d:{if((f|0)>=0){f=H[a+92>>2];d=f+H[g+16>>2]|0;f=e+f|0;break d}e:{if((e|0)<0){d=H[g+16>>2];f=d>>31;f=(d^f)-f|0;break e}d=H[g+16>>2];f=d>>31;f=H[a+84>>2]+(f-(d^f)|0)|0}if((d|0)<0){d=e>>31;d=(d^e)-d|0;break d}d=e>>31;d=H[a+84>>2]+(d-(d^e)|0)|0}e=H[a+84>>2];f:{if(!(d|f)){d=e;f=d;break f}if(!((d|0)!=(e|0)|f)){f=d;break f}if(!((e|0)!=(f|0)|d)){d=f;break f}g:{if(f){break g}h=H[a+92>>2];if((h|0)>=(d|0)){break g}d=(h<<1)-d|0;f=0;break f}h:{if((e|0)!=(f|0)){break h}h=H[a+92>>2];if((h|0)<=(d|0)){break h}d=(h<<1)-d|0;break f}i:{if((d|0)!=(e|0)){break i}e=H[a+92>>2];if((e|0)<=(f|0)){break i}f=(e<<1)-f|0;break f}if(d){break f}d=0;e=H[a+92>>2];if((e|0)>=(f|0)){break f}f=(e<<1)-f|0}e=j<<3;h=e+b|0;k=H[h+4>>2];H[g+40>>2]=H[h>>2];H[g+44>>2]=k;H[g+28>>2]=d;H[g+24>>2]=f;sc(g+32|0,m,g+24|0,g+40|0);d=c+e|0;H[d>>2]=H[g+32>>2];H[d+4>>2]=H[g+36>>2];j=j+1|0;if((o|0)!=(j|0)){continue}break}}fa=g+48|0;return 1}Ea();v()}function Ee(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fa-16|0;fa=f;c=H[a+4>>2];H[a+40>>2]=H[a>>2];H[a+44>>2]=c;c=H[a+36>>2];H[a+72>>2]=H[a+32>>2];H[a+76>>2]=c;d=H[a+28>>2];c=a- -64|0;H[c>>2]=H[a+24>>2];H[c+4>>2]=d;c=H[a+20>>2];H[a+56>>2]=H[a+16>>2];H[a+60>>2]=c;c=H[a+12>>2];H[a+48>>2]=H[a+8>>2];H[a+52>>2]=c;a:{b:{if(Fb(a+40|0,1,f+8|0)){c=H[a+44>>2];H[a>>2]=H[a+40>>2];H[a+4>>2]=c;c=H[a+76>>2];H[a+32>>2]=H[a+72>>2];H[a+36>>2]=c;c=H[a+68>>2];H[a+24>>2]=H[a+64>>2];H[a+28>>2]=c;d=H[a+60>>2];h=d;c=H[a+56>>2];H[a+16>>2]=c;H[a+20>>2]=d;e=H[a+52>>2];d=H[a+48>>2];H[a+8>>2]=d;H[a+12>>2]=e;i=d-c|0;g=H[f+12>>2];e=e-((c>>>0>d>>>0)+h|0)|0;d=H[f+8>>2];if((g|0)==(e|0)&i>>>0>=d>>>0|e>>>0>g>>>0){break b}}c=0;break a}e=c+d|0;c=h+g|0;H[a+16>>2]=e;H[a+20>>2]=d>>>0>e>>>0?c+1|0:c;c:{if(J[a+38>>1]<=513){c=H[a+4>>2];H[a+96>>2]=H[a>>2];H[a+100>>2]=c;c=H[a+36>>2];H[a+128>>2]=H[a+32>>2];H[a+132>>2]=c;c=H[a+28>>2];H[a+120>>2]=H[a+24>>2];H[a+124>>2]=c;c=H[a+20>>2];H[a+112>>2]=H[a+16>>2];H[a+116>>2]=c;c=H[a+12>>2];H[a+104>>2]=H[a+8>>2];H[a+108>>2]=c;d:{if(Fb(a+96|0,1,f+8|0)){c=H[a+100>>2];H[a>>2]=H[a+96>>2];H[a+4>>2]=c;c=H[a+132>>2];H[a+32>>2]=H[a+128>>2];H[a+36>>2]=c;c=H[a+124>>2];H[a+24>>2]=H[a+120>>2];H[a+28>>2]=c;d=H[a+116>>2];h=d;c=H[a+112>>2];H[a+16>>2]=c;H[a+20>>2]=d;e=H[a+108>>2];d=H[a+104>>2];H[a+8>>2]=d;H[a+12>>2]=e;i=d-c|0;g=H[f+12>>2];e=e-((c>>>0>d>>>0)+h|0)|0;d=H[f+8>>2];if((g|0)==(e|0)&i>>>0>=d>>>0|e>>>0>g>>>0){break d}}c=0;break a}e=c+d|0;c=h+g|0;H[a+16>>2]=e;H[a+20>>2]=d>>>0>e>>>0?c+1|0:c;break c}c=0;if(!wa(a+80|0,a)){break a}}c=0;if(!De(a)){break a}c=H[a+4>>2];H[b>>2]=H[a>>2];H[b+4>>2]=c;c=H[a+36>>2];H[b+32>>2]=H[a+32>>2];H[b+36>>2]=c;c=H[a+28>>2];H[b+24>>2]=H[a+24>>2];H[b+28>>2]=c;c=H[a+20>>2];H[b+16>>2]=H[a+16>>2];H[b+20>>2]=c;c=H[a+12>>2];H[b+8>>2]=H[a+8>>2];H[b+12>>2]=c;c=1}fa=f+16|0;return c}function og(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=fa-32|0;fa=f;e=f+8|0;c=fa-80|0;fa=c;a=H[b+36>>2];H[c+72>>2]=H[b+32>>2];H[c+76>>2]=a;d=H[b+28>>2];a=c- -64|0;H[a>>2]=H[b+24>>2];H[a+4>>2]=d;a=H[b+20>>2];H[c+56>>2]=H[b+16>>2];H[c+60>>2]=a;a=H[b+12>>2];H[c+48>>2]=H[b+8>>2];H[c+52>>2]=a;a=H[b+4>>2];H[c+40>>2]=H[b>>2];H[c+44>>2]=a;oc(c+8|0,c+40|0,c+24|0);a=H[c+8>>2];a:{if(a){H[e>>2]=a;a=e+4|0;if(F[c+23|0]>=0){b=c+8|4;e=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=e;H[a+8>>2]=H[b+8>>2];break a}Ba(a,H[c+12>>2],H[c+16>>2]);if(F[c+23|0]>=0){break a}ra(H[c+12>>2]);break a}if(F[c+23|0]<0){ra(H[c+12>>2])}a=I[c+31|0];if(a>>>0>=2){b=sa(32);F[b+26|0]=0;a=I[1477]|I[1478]<<8;F[b+24|0]=a;F[b+25|0]=a>>>8;a=I[1473]|I[1474]<<8|(I[1475]<<16|I[1476]<<24);d=I[1469]|I[1470]<<8|(I[1471]<<16|I[1472]<<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]=a;F[b+21|0]=a>>>8;F[b+22|0]=a>>>16;F[b+23|0]=a>>>24;a=I[1465]|I[1466]<<8|(I[1467]<<16|I[1468]<<24);d=I[1461]|I[1462]<<8|(I[1463]<<16|I[1464]<<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]=a;F[b+13|0]=a>>>8;F[b+14|0]=a>>>16;F[b+15|0]=a>>>24;a=I[1457]|I[1458]<<8|(I[1459]<<16|I[1460]<<24);d=I[1453]|I[1454]<<8|(I[1455]<<16|I[1456]<<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]=a;F[b+5|0]=a>>>8;F[b+6|0]=a>>>16;F[b+7|0]=a>>>24;H[c+8>>2]=-1;a=c+8|4;Ba(a,b,26);d=F[c+23|0];H[e>>2]=H[c+8>>2];e=e+4|0;if((d|0)>=0){d=H[a+4>>2];H[e>>2]=H[a>>2];H[e+4>>2]=d;H[e+8>>2]=H[a+8>>2];ra(b);break a}Ba(e,H[c+12>>2],H[c+16>>2]);if(F[c+23|0]<0){ra(H[c+12>>2])}ra(b);break a}H[e>>2]=0;H[e+4>>2]=0;H[e+16>>2]=a;H[e+8>>2]=0;H[e+12>>2]=0}fa=c+80|0;a=H[f+24>>2];if(F[f+23|0]<0){ra(H[f+12>>2])}fa=f+32|0;return a|0}function Wd(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=fa-16|0;fa=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=ua(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?1073741823:e>>>0<l>>>0?l:e;if(g){if(g>>>0>=1073741824){break d}j=sa(g<<2)}e=(i<<2)+j|0;i=f<<2;f=ua(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){Ja(e)}if((d|0)!=(f|0)){continue}break}break b}va();v()}za();v()}H[a+16>>2]=g;H[a+12>>2]=i;H[a+8>>2]=f}if(d){ra(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){Ja(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?1073741823:d>>>0<g>>>0?g:d;if(g){if(g>>>0>=1073741824){break e}d=sa(g<<2)}else{d=0}j=d+(j<<2)|0;H[j>>2]=b;if((f|0)>0){ta(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}ra(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){Ja(a)}a=H[k+8>>2];H[k+8>>2]=0;if(a){Ja(a)}fa=k+16|0;return}va();v()}za();v()}function Ng(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;i=c;d=a;a:{if(H[a+12>>2]==(b|0)){break a}a=b;b=H[d+4>>2];e=H[d>>2];if((b|0)!=(e|0)){while(1){c=b-12|0;if(F[b-1|0]<0){ra(H[c>>2])}b=c;if((e|0)!=(b|0)){continue}break}}H[d+12>>2]=a;H[d+4>>2]=e;c=H[a>>2];j=a+4|0;if((c|0)==(j|0)){break a}while(1){a=H[d+4>>2];b:{if((a|0)!=H[d+8>>2]){c:{if(F[c+27|0]>=0){b=H[c+20>>2];H[a>>2]=H[c+16>>2];H[a+4>>2]=b;H[a+8>>2]=H[c+24>>2];break c}Ba(a,H[c+16>>2],H[c+20>>2])}H[d+4>>2]=a+12;break b}g=0;d:{e:{f:{e=H[d+4>>2];a=H[d>>2];f=(e-a|0)/12|0;b=f+1|0;if(b>>>0<357913942){h=(H[d+8>>2]-a|0)/12|0;k=h<<1;b=h>>>0>=178956970?357913941:b>>>0<k>>>0?k:b;if(b){if(b>>>0>=357913942){break f}g=sa(N(b,12))}h=N(b,12);b=N(f,12)+g|0;g:{if(F[c+27|0]>=0){f=H[c+20>>2];H[b>>2]=H[c+16>>2];H[b+4>>2]=f;H[b+8>>2]=H[c+24>>2];break g}Ba(b,H[c+16>>2],H[c+20>>2]);e=H[d+4>>2];a=H[d>>2]}g=g+h|0;f=b+12|0;if((a|0)==(e|0)){break e}while(1){e=e-12|0;h=H[e+4>>2];b=b-12|0;H[b>>2]=H[e>>2];H[b+4>>2]=h;H[b+8>>2]=H[e+8>>2];H[e>>2]=0;H[e+4>>2]=0;H[e+8>>2]=0;if((a|0)!=(e|0)){continue}break}H[d+8>>2]=g;a=H[d+4>>2];H[d+4>>2]=f;e=H[d>>2];H[d>>2]=b;if((a|0)==(e|0)){break d}while(1){b=a-12|0;if(F[a-1|0]<0){ra(H[b>>2])}a=b;if((b|0)!=(e|0)){continue}break}break d}va();v()}za();v()}H[d+8>>2]=g;H[d+4>>2]=f;H[d>>2]=b}if(e){ra(e)}}b=H[c+4>>2];h:{if(b){while(1){a=b;b=H[b>>2];if(b){continue}break h}}while(1){a=H[c+8>>2];b=H[a>>2]!=(c|0);c=a;if(b){continue}break}}c=a;if((j|0)!=(a|0)){continue}break}}a=0;i:{if((i|0)<0){break i}b=H[d>>2];if((H[d+4>>2]-b|0)/12>>>0<=i>>>0){break i}a=b+N(i,12)|0;a=F[a+11|0]<0?H[a>>2]:a}return a|0}function $c(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=fa-16|0;fa=i;H[i>>2]=b;g=-1;a:{if((b|0)==-1){H[i+4>>2]=-1;break a}c=b+1|0;H[i+4>>2]=(c>>>0)%3|0?c:b-2|0;if((b>>>0)%3|0){g=b-1|0;break a}g=b+2|0}H[i+8>>2]=g;n=(b>>>0)/3|0;b:{c:{d:{while(1){e:{f:{k=H[(l<<2)+i>>2];if((k|0)!=-1){c=H[H[H[a+8>>2]+12>>2]+(k<<2)>>2];if((c|0)!=-1){break f}}g=0;c=H[a+216>>2];if((c|0)==H[a+220>>2]){break e}while(1){f=N(g,144)+c|0;c=H[f+136>>2];d=H[f+140>>2];g:{if(c>>>0<d>>>0){H[c>>2]=k;H[f+136>>2]=c+4;break g}h=H[f+132>>2];j=c-h|0;e=j>>2;c=e+1|0;if(c>>>0>=1073741824){break d}m=e<<2;d=d-h|0;e=d>>1;d=d>>>0>=2147483644?1073741823:c>>>0<e>>>0?e:c;if(d){if(d>>>0>=1073741824){break c}c=sa(d<<2)}else{c=0}e=m+c|0;H[e>>2]=k;if((j|0)>0){ta(c,h,j)}H[f+132>>2]=c;H[f+136>>2]=e+4;H[f+140>>2]=c+(d<<2);if(!h){break g}ra(h)}g=g+1|0;c=H[a+216>>2];if(g>>>0<(H[a+220>>2]-c|0)/144>>>0){continue}break}break e}if((b|0)==-1|(c>>>0)/3>>>0<n>>>0){break e}g=0;if(H[a+220>>2]==H[a+216>>2]){break e}while(1){h:{if(!Da(H[a+368>>2]+(g<<4)|0)){break h}f=H[a+216>>2]+N(g,144)|0;c=H[f+136>>2];d=H[f+140>>2];if(c>>>0<d>>>0){H[c>>2]=k;H[f+136>>2]=c+4;break h}h=H[f+132>>2];j=c-h|0;e=j>>2;c=e+1|0;if(c>>>0>=1073741824){break b}m=e<<2;d=d-h|0;e=d>>1;d=d>>>0>=2147483644?1073741823:c>>>0<e>>>0?e:c;if(d){if(d>>>0>=1073741824){break c}c=sa(d<<2)}else{c=0}e=m+c|0;H[e>>2]=k;if((j|0)>0){ta(c,h,j)}H[f+132>>2]=c;H[f+136>>2]=e+4;H[f+140>>2]=c+(d<<2);if(!h){break h}ra(h)}g=g+1|0;if(g>>>0<(H[a+220>>2]-H[a+216>>2]|0)/144>>>0){continue}break}}l=l+1|0;if((l|0)!=3){continue}break}fa=i+16|0;return 1}va();v()}za();v()}va();v()}function vg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=fa-16|0;fa=m;k=H[b+80>>2];b=I[c+24|0];a=N(k,b);a:{b:{c:{d:{e=H[c+28>>2];if(!(!I[c+84|0]|(e|0)!=1&(e|0)!=2)){b=H[c+48>>2];c=H[H[c>>2]>>2];H[m+8>>2]=0;H[m>>2]=0;H[m+4>>2]=0;if(a){if((a|0)<0){break d}g=sa(a);h=ta(g,b+c|0,a)+a|0}a=H[d>>2];if(a){H[d+4>>2]=a;ra(a)}H[d+8>>2]=h;H[d+4>>2]=h;H[d>>2]=g;a=1;break a}if(b){g=sa(b);ua(g,0,b)}e:{f=H[d+4>>2];e=H[d>>2];j=f-e|0;f:{if(j>>>0<a>>>0){l=a-j|0;i=H[d+8>>2];if(l>>>0<=i-f>>>0){n=d,o=ua(f,0,l)+l|0,H[n+4>>2]=o;break f}if((a|0)<0){break e}f=i-e|0;i=f<<1;i=f>>>0>=1073741823?2147483647:a>>>0<i>>>0?i:a;f=sa(i);ua(f+j|0,0,l);if((j|0)>0){ta(f,e,j)}H[d+8>>2]=f+i;H[d+4>>2]=a+f;H[d>>2]=f;if(!e){break f}ra(e);break f}if(a>>>0>=j>>>0){break f}H[d+4>>2]=a+e}if(!k){b=0;break c}if(!b){a=0;b=1;while(1){if(!kc(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],g)){break c}a=a+1|0;b=k>>>0>a>>>0;if((a|0)!=(k|0)){continue}break}break c}l=b&252;j=b&3;i=b>>>0<4;b=1;e=0;while(1){if(!kc(c,I[c+84|0]?e:H[H[c+68>>2]+(e<<2)>>2],F[c+24|0],g)){break c}b=0;a=0;f=0;if(!i){while(1){F[H[d>>2]+h|0]=I[a+g|0];F[(H[d>>2]+h|0)+1|0]=I[(a|1)+g|0];F[(H[d>>2]+h|0)+2|0]=I[(a|2)+g|0];F[(H[d>>2]+h|0)+3|0]=I[(a|3)+g|0];a=a+4|0;h=h+4|0;f=f+4|0;if((l|0)!=(f|0)){continue}break}}if(j){while(1){F[H[d>>2]+h|0]=I[a+g|0];a=a+1|0;h=h+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}e=e+1|0;b=k>>>0>e>>>0;if((e|0)!=(k|0)){continue}break}a=e>>>0>=k>>>0;break b}va();v()}va();v()}a=b^1;if(!g){break a}}ra(g)}fa=m+16|0;return a&1}function ug(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=fa-16|0;fa=m;k=H[b+80>>2];b=I[c+24|0];a=N(k,b);a:{b:{c:{d:{e=H[c+28>>2];if(!(!I[c+84|0]|(e|0)!=1&(e|0)!=2)){b=H[c+48>>2];c=H[H[c>>2]>>2];H[m+8>>2]=0;H[m>>2]=0;H[m+4>>2]=0;if(a){if((a|0)<0){break d}g=sa(a);h=ta(g,b+c|0,a)+a|0}a=H[d>>2];if(a){H[d+4>>2]=a;ra(a)}H[d+8>>2]=h;H[d+4>>2]=h;H[d>>2]=g;a=1;break a}if(b){g=sa(b);ua(g,0,b)}e:{f=H[d+4>>2];e=H[d>>2];j=f-e|0;f:{if(j>>>0<a>>>0){l=a-j|0;i=H[d+8>>2];if(l>>>0<=i-f>>>0){n=d,o=ua(f,0,l)+l|0,H[n+4>>2]=o;break f}if((a|0)<0){break e}f=i-e|0;i=f<<1;i=f>>>0>=1073741823?2147483647:a>>>0<i>>>0?i:a;f=sa(i);ua(f+j|0,0,l);if((j|0)>0){ta(f,e,j)}H[d+8>>2]=f+i;H[d+4>>2]=a+f;H[d>>2]=f;if(!e){break f}ra(e);break f}if(a>>>0>=j>>>0){break f}H[d+4>>2]=a+e}if(!k){b=0;break c}if(!b){a=0;b=1;while(1){if(!jc(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],g)){break c}a=a+1|0;b=k>>>0>a>>>0;if((a|0)!=(k|0)){continue}break}break c}l=b&252;j=b&3;i=b>>>0<4;b=1;e=0;while(1){if(!jc(c,I[c+84|0]?e:H[H[c+68>>2]+(e<<2)>>2],F[c+24|0],g)){break c}b=0;a=0;f=0;if(!i){while(1){F[H[d>>2]+h|0]=I[a+g|0];F[(H[d>>2]+h|0)+1|0]=I[(a|1)+g|0];F[(H[d>>2]+h|0)+2|0]=I[(a|2)+g|0];F[(H[d>>2]+h|0)+3|0]=I[(a|3)+g|0];a=a+4|0;h=h+4|0;f=f+4|0;if((l|0)!=(f|0)){continue}break}}if(j){while(1){F[H[d>>2]+h|0]=I[a+g|0];a=a+1|0;h=h+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}e=e+1|0;b=k>>>0>e>>>0;if((e|0)!=(k|0)){continue}break}a=e>>>0>=k>>>0;break b}va();v()}va();v()}a=b^1;if(!g){break a}}ra(g)}fa=m+16|0;return a&1}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;h=fa-16|0;fa=h;H[h>>2]=b;c=-1;a:{if((b|0)==-1){H[h+4>>2]=-1;break a}c=b+1|0;H[h+4>>2]=(c>>>0)%3|0?c:b-2|0;if((b>>>0)%3|0){c=b-1|0;break a}c=b+2|0}H[h+8>>2]=c;b:{c:{while(1){j=H[(k<<2)+h>>2];d:{if(!((j|0)==-1|H[H[H[a+8>>2]+12>>2]+(j<<2)>>2]==-1)){b=0;if(H[a+220>>2]==H[a+216>>2]){break d}while(1){e:{f:{if(!Da(H[a+368>>2]+(b<<4)|0)){break f}f=H[a+216>>2]+N(b,144)|0;c=H[f+136>>2];d=H[f+140>>2];if(c>>>0<d>>>0){H[c>>2]=j;H[f+136>>2]=c+4;break f}g=H[f+132>>2];i=c-g|0;e=i>>2;c=e+1|0;if(c>>>0>=1073741824){break e}l=e<<2;d=d-g|0;e=d>>1;d=d>>>0>=2147483644?1073741823:c>>>0<e>>>0?e:c;if(d){if(d>>>0>=1073741824){break b}c=sa(d<<2)}else{c=0}e=l+c|0;H[e>>2]=j;if((i|0)>0){ta(c,g,i)}H[f+132>>2]=c;H[f+136>>2]=e+4;H[f+140>>2]=c+(d<<2);if(!g){break f}ra(g)}b=b+1|0;if(b>>>0<(H[a+220>>2]-H[a+216>>2]|0)/144>>>0){continue}break d}break}va();v()}b=0;c=H[a+216>>2];if((c|0)==H[a+220>>2]){break d}while(1){f=N(b,144)+c|0;c=H[f+136>>2];d=H[f+140>>2];g:{if(c>>>0<d>>>0){H[c>>2]=j;H[f+136>>2]=c+4;break g}g=H[f+132>>2];i=c-g|0;e=i>>2;c=e+1|0;if(c>>>0>=1073741824){break c}l=e<<2;d=d-g|0;e=d>>1;d=d>>>0>=2147483644?1073741823:c>>>0<e>>>0?e:c;if(d){if(d>>>0>=1073741824){break b}c=sa(d<<2)}else{c=0}e=l+c|0;H[e>>2]=j;if((i|0)>0){ta(c,g,i)}H[f+132>>2]=c;H[f+136>>2]=e+4;H[f+140>>2]=c+(d<<2);if(!g){break g}ra(g)}b=b+1|0;c=H[a+216>>2];if(b>>>0<(H[a+220>>2]-c|0)/144>>>0){continue}break}}k=k+1|0;if((k|0)!=3){continue}break}fa=h+16|0;return 1}va();v()}za();v()}function rc(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;k=H[b+16>>2];h=H[c+4>>2]-k|0;f=h;e=H[c>>2]-k|0;H[c>>2]=e;H[c+4>>2]=f;l=H[b+16>>2];f=f>>31;g=(f^h)-f|0;f=e>>31;m=l>>>0>=g+((f^e)-f|0)>>>0;a:{if(m){f=h;break a}b:{c:{if((e|0)>=0){g=1;j=1;if((h|0)>=0){break b}i=1;g=-1;j=-1;if(e){break c}break b}i=-1;g=-1;j=-1;if((h|0)<=0){break b}}g=(h|0)<=0?-1:1;j=i}n=N(j,l);f=(e<<1)-n|0;i=(N(g,j)|0)>=0;e=N(g,l);f=((i?0-f|0:f)+e|0)/2|0;H[c+4>>2]=f;e=(h<<1)-e|0;e=((i?0-e|0:e)+n|0)/2|0;H[c>>2]=e}d:{e:{f:{g:{h:{i:{j:{if(e){if((e|0)<0){break j}if((f|0)>=0){break i}break f}if(f){break h}j=1;g=0;f=0;i=0;break d}j=1;if((f|0)>0){break g}i=(f|0)>0?253:0;g=f;f=e;break d}g=0-f|0;f=0-e|0;i=254;break e}if((f|0)<=0){break f}}f=0-f|0;g=e;i=253;break e}g=0-e|0;i=255}H[c>>2]=f;H[c+4>>2]=g;j=0}e=H[d>>2]+f|0;h=H[b+16>>2];k:{if((e|0)>(h|0)){e=e-H[b+4>>2]|0;break k}if((0-h|0)<=(e|0)){break k}e=H[b+4>>2]+e|0}c=H[d+4>>2]+g|0;l:{if((h|0)<(c|0)){c=c-H[b+4>>2]|0;break l}if((0-h|0)<=(c|0)){break l}c=H[b+4>>2]+c|0}m:{if(j){b=c;break m}b=c;n:{switch((i&3)-1|0){case 0:b=0-e|0;e=c;break m;case 1:b=0-c|0;e=0-e|0;break m;case 2:break n;default:break m}}b=e;e=0-c|0}o:{if(m){c=b;break o}p:{q:{if((e|0)>=0){c=1;f=1;if((b|0)>=0){break p}d=1;c=-1;f=-1;if(e){break q}break p}d=-1;c=-1;f=-1;if((b|0)<=0){break p}}c=(b|0)<=0?-1:1;f=d}d=e<<1;e=N(f,h);d=d-e|0;f=(N(c,f)|0)>=0;g=f?0-d|0:d;d=N(c,h);c=(g+d|0)/2|0;b=(b<<1)-d|0;e=(e+(f?0-b|0:b)|0)/2|0}b=a;H[b>>2]=e+k;H[b+4>>2]=c+k}function Yb(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=d-c|0;if((i|0)<=0){return}a:{g=H[a+8>>2];h=H[a+4>>2];if((g-h|0)>=(i|0)){j=h-b|0;if((j|0)>=(i|0)){f=h;g=d;break a}f=h;g=c+j|0;if((g|0)!=(d|0)){e=g;while(1){F[f|0]=I[e|0];f=f+1|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}}H[a+4>>2]=f;if((j|0)>0){break a}return}f=H[a>>2];e=(h-f|0)+i|0;if((e|0)>=0){j=b-f|0;g=g-f|0;k=g<<1;k=g>>>0>=1073741823?2147483647:e>>>0<k>>>0?k:e;if(k){g=sa(k)}else{g=0}e=j+g|0;if((c|0)!=(d|0)){e=ta(e,c,i)+i|0}if((j|0)>0){ta(g,f,j)}if((b|0)!=(h|0)){d=(b^-1)+h|0;f=h-b&7;if(f){c=0;while(1){F[e|0]=I[b|0];e=e+1|0;b=b+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(d>>>0>=7){while(1){F[e|0]=I[b|0];F[e+1|0]=I[b+1|0];F[e+2|0]=I[b+2|0];F[e+3|0]=I[b+3|0];F[e+4|0]=I[b+4|0];F[e+5|0]=I[b+5|0];F[e+6|0]=I[b+6|0];F[e+7|0]=I[b+7|0];e=e+8|0;b=b+8|0;if((h|0)!=(b|0)){continue}break}}f=H[a>>2]}H[a+8>>2]=g+k;H[a+4>>2]=e;H[a>>2]=g;if(f){ra(f)}return}va();v()}e=f;d=e-i|0;if(h>>>0>d>>>0){while(1){F[e|0]=I[d|0];e=e+1|0;d=d+1|0;if(h>>>0>d>>>0){continue}break}}H[a+4>>2]=e;a=b+i|0;if((a|0)!=(f|0)){a=f-a|0;Sa(f-a|0,b,a)}if((c|0)==(g|0)){return}a=(c^-1)+g|0;f=g-c&7;b:{if(!f){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((f|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((g|0)!=(c|0)){continue}break}}function me(a,b){var c=0,d=0,e=0,f=0;if(!H[a+64>>2]){c=sa(32);H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;d=H[a+64>>2];H[a+64>>2]=c;if(d){c=H[d>>2];if(c){H[d+4>>2]=c;ra(c)}ra(d);c=H[a+64>>2]}H[a>>2]=c;d=H[c+20>>2];H[a+8>>2]=H[c+16>>2];H[a+12>>2]=d;d=H[c+24>>2];c=H[c+28>>2];H[a+48>>2]=0;H[a+52>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+16>>2]=d;H[a+20>>2]=c}a:{F[a+24|0]=I[b+24|0];H[a+28>>2]=H[b+28>>2];F[a+32|0]=I[b+32|0];c=H[b+44>>2];H[a+40>>2]=H[b+40>>2];H[a+44>>2]=c;c=H[b+52>>2];H[a+48>>2]=H[b+48>>2];H[a+52>>2]=c;H[a+56>>2]=H[b+56>>2];c=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=c;c=H[b+20>>2];H[a+16>>2]=H[b+16>>2];H[a+20>>2]=c;H[a+60>>2]=H[b+60>>2];d=H[b>>2];b:{if(!d){H[a>>2]=0;c=1;break b}e=H[a>>2];c=0;if(!e){break b}c=H[d>>2];re(e,c,H[d+4>>2]-c|0,0);c=1}c:{if(!c){break c}F[a+84|0]=I[b+84|0];H[a+80>>2]=H[b+80>>2];if((a|0)!=(b|0)){Eb(a+68|0,H[b+68>>2],H[b+72>>2])}d=H[b+88>>2];d:{if(d){b=sa(40);c=H[d>>2];H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=c;c=H[d+12>>2];e=H[d+8>>2];if((c|0)!=(e|0)){e=c-e|0;if((e|0)<0){break a}c=sa(e);H[b+8>>2]=c;H[b+12>>2]=c;H[b+16>>2]=c+e;f=H[d+8>>2];e=H[d+12>>2]-f|0;if((e|0)>0){c=ta(c,f,e)+e|0}H[b+12>>2]=c}c=H[d+36>>2];H[b+32>>2]=H[d+32>>2];H[b+36>>2]=c;c=H[d+28>>2];H[b+24>>2]=H[d+24>>2];H[b+28>>2]=c;c=H[a+88>>2];H[a+88>>2]=b;if(c){break d}break c}c=H[a+88>>2];H[a+88>>2]=0;if(!c){break c}}a=H[c+8>>2];if(a){H[c+12>>2]=a;ra(a)}ra(c)}return}va();v()}function bj(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;m=a+32|0;h=H[m>>2];g=H[a+36>>2]-h>>2;a:{if(g>>>0<e>>>0){Aa(m,e-g|0);f=H[a+8>>2];break a}f=e;if(f>>>0>=g>>>0){break a}H[a+36>>2]=h+(e<<2);f=e}g=e>>>0>1073741823?-1:e<<2;n=ua(sa(g),0,g);b:{if((f|0)<=0){break b}h=H[a+32>>2];while(1){f=i<<2;g=H[f+n>>2];j=H[a+16>>2];c:{if((g|0)>(j|0)){H[f+h>>2]=j;break c}f=f+h|0;j=H[a+12>>2];if((j|0)>(g|0)){H[f>>2]=j;break c}H[f>>2]=g}f=H[a+8>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}if((f|0)<=0){break b}i=0;while(1){g=i<<2;f=g+c|0;g=H[b+g>>2]+H[g+h>>2]|0;H[f>>2]=g;d:{if((g|0)>H[a+16>>2]){g=g-H[a+20>>2]|0}else{if((g|0)>=H[a+12>>2]){break d}g=g+H[a+20>>2]|0}H[f>>2]=g}f=H[a+8>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}}if(!((d|0)<=(e|0)|(f|0)<=0)){p=0-e<<2;g=e;while(1){e:{if((f|0)<=0){break e}l=g<<2;o=l+c|0;q=o+p|0;j=H[m>>2];i=0;while(1){f=i<<2;h=H[f+q>>2];k=H[a+16>>2];f:{if((h|0)>(k|0)){H[f+j>>2]=k;break f}f=f+j|0;k=H[a+12>>2];if((k|0)>(h|0)){H[f>>2]=k;break f}H[f>>2]=h}f=H[a+8>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}i=0;if((f|0)<=0){break e}l=b+l|0;while(1){h=i<<2;f=h+o|0;h=H[h+l>>2]+H[h+j>>2]|0;H[f>>2]=h;g:{if((h|0)>H[a+16>>2]){h=h-H[a+20>>2]|0}else{if((h|0)>=H[a+12>>2]){break g}h=h+H[a+20>>2]|0}H[f>>2]=h}f=H[a+8>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}}g=e+g|0;if((g|0)<(d|0)){continue}break}}ra(n);return 1}function Be(a,b){var c=0,d=0,e=0,f=0,g=0;d=-1;f=-1;a:{if((b|0)==-1){break a}c=b+1|0;d=(c>>>0)%3|0?c:b-2|0;f=b-1|0;if((b>>>0)%3|0){break a}f=b+2|0}b:{c:{d:{e:{f:{g:{e=H[a+184>>2];switch(e|0){case 7:break d;case 3:break e;case 5:break f;case 0:case 1:break g;default:break b}}g=H[a+148>>2];c=-1;e=1;d=((d|0)!=-1?H[H[g>>2]+(d<<2)>>2]:c)<<2;c=H[a+156>>2];d=d+c|0;H[d>>2]=H[d>>2]+1;c=(((f|0)==-1?-1:H[H[g>>2]+(f<<2)>>2])<<2)+c|0;break c}g=H[a+148>>2];c=H[a+156>>2];e=c+(((b|0)==-1?-1:H[H[g>>2]+(b<<2)>>2])<<2)|0;H[e>>2]=H[e>>2]+1;d=(((d|0)==-1?-1:H[H[g>>2]+(d<<2)>>2])<<2)+c|0;H[d>>2]=H[d>>2]+1;e=2;c=(((f|0)==-1?-1:H[H[g>>2]+(f<<2)>>2])<<2)+c|0;break c}g=H[a+148>>2];c=H[a+156>>2];e=c+(((b|0)==-1?-1:H[H[g>>2]+(b<<2)>>2])<<2)|0;H[e>>2]=H[e>>2]+1;d=(((d|0)==-1?-1:H[H[g>>2]+(d<<2)>>2])<<2)+c|0;H[d>>2]=H[d>>2]+2;e=1;c=(((f|0)==-1?-1:H[H[g>>2]+(f<<2)>>2])<<2)+c|0;break c}g=H[a+148>>2];c=H[a+156>>2];e=c+(((b|0)==-1?-1:H[H[g>>2]+(b<<2)>>2])<<2)|0;H[e>>2]=H[e>>2]+2;d=(((d|0)==-1?-1:H[H[g>>2]+(d<<2)>>2])<<2)+c|0;H[d>>2]=H[d>>2]+2;e=2;c=(((f|0)==-1?-1:H[H[g>>2]+(f<<2)>>2])<<2)+c|0}H[c>>2]=H[c>>2]+e;e=H[a+184>>2]}h:{switch(e|0){case 0:case 5:f=H[a+156>>2];c=-1;i:{if((b|0)==-1){break i}d=b+1|0;b=(d>>>0)%3|0?d:b-2|0;c=-1;if((b|0)==-1){break i}c=H[H[H[a+148>>2]>>2]+(b<<2)>>2]}if(H[f+(c<<2)>>2]<=5){H[a+188>>2]=5;return}H[a+188>>2]=0;return;default:break h}}H[a+188>>2]=-1}function Ye(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;i=fa-32|0;fa=i;H[i+28>>2]=0;a:{b:{if(J[b+38>>1]<=513){c=H[b+20>>2];d=H[b+16>>2];f=d+4|0;c=f>>>0<4?c+1|0:c;e=H[b+12>>2];if((e|0)<=(c|0)&f>>>0>K[b+8>>2]|(c|0)>(e|0)){break a}d=d+H[b>>2]|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=f;H[b+20>>2]=c;break b}if(!ab(1,i+28|0,b)){break a}d=H[i+28>>2]}if(!d){break a}$a(a+76|0,d);c=i+8|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;c:{if(!wa(c,b)){break c}e=1;while(1){g=1<<h;j=Da(c);f=H[a+76>>2]+(h>>>3&536870908)|0;e=e^j;if(e&1){g=H[f>>2]&(g^-1)}else{g=g|H[f>>2]}e=e^1;H[f>>2]=g;h=h+1|0;if((h|0)!=(d|0)){continue}break}d=H[b+12>>2];h=d;c=H[b+20>>2];f=c;e=H[b+16>>2];g=e+4|0;c=g>>>0<4?c+1|0:c;j=H[b+8>>2];if(j>>>0<g>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break c}k=H[b>>2];d=k+e|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=g;H[b+20>>2]=c;c=f;f=e+8|0;c=f>>>0<8?c+1|0:c;e=f;f=c;if(e>>>0>j>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){break c}c=g+k|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=e;H[b+20>>2]=f;if((c|0)<(d|0)){break c}H[a+16>>2]=c;H[a+12>>2]=d;b=(c>>31)-((d>>31)+(c>>>0<d>>>0)|0)|0;c=c-d|0;if(!b&c>>>0>2147483646|b){break c}l=1;b=c+1|0;H[a+20>>2]=b;c=b>>>1|0;H[a+24>>2]=c;H[a+28>>2]=0-c;if(b&1){break c}H[a+24>>2]=c-1}}fa=i+32|0;return l|0}function wg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a=0;i=H[b+80>>2];e=I[c+24|0];g=N(i,e);a:{if(!e){break a}j=e<<2;a=sa(j);b=a;k=e&7;if(k){b=a;while(1){H[b>>2]=-1073741824;b=b+4|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if((e-1&1073741823)>>>0<7){break a}f=a+j|0;while(1){H[b+24>>2]=-1073741824;H[b+28>>2]=-1073741824;H[b+16>>2]=-1073741824;H[b+20>>2]=-1073741824;H[b+8>>2]=-1073741824;H[b+12>>2]=-1073741824;H[b>>2]=-1073741824;H[b+4>>2]=-1073741824;b=b+32|0;if((f|0)!=(b|0)){continue}break}}f=H[d>>2];b=H[d+4>>2]-f>>2;b:{if(b>>>0<g>>>0){Aa(d,g-b|0);break b}if(b>>>0<=g>>>0){break b}H[d+4>>2]=f+(g<<2)}c:{d:{e:{if(!i){break e}if(!e){b=0;h=1;while(1){if(!Ya(c,I[c+84|0]?b:H[H[c+68>>2]+(b<<2)>>2],F[c+24|0],a)){break e}b=b+1|0;h=i>>>0>b>>>0;if((b|0)!=(i|0)){continue}break}break e}n=e&252;j=e&3;f=0;o=e>>>0<4;h=1;while(1){if(!Ya(c,I[c+84|0]?l:H[H[c+68>>2]+(l<<2)>>2],F[c+24|0],a)){break e}k=H[d>>2];m=0;b=0;h=0;if(!o){while(1){e=k+(f<<2)|0;g=b<<2;L[e>>2]=L[g+a>>2];L[e+4>>2]=L[(g|4)+a>>2];L[e+8>>2]=L[(g|8)+a>>2];L[e+12>>2]=L[(g|12)+a>>2];b=b+4|0;f=f+4|0;h=h+4|0;if((n|0)!=(h|0)){continue}break}}if(j){while(1){L[k+(f<<2)>>2]=L[(b<<2)+a>>2];b=b+1|0;f=f+1|0;m=m+1|0;if((j|0)!=(m|0)){continue}break}}l=l+1|0;h=l>>>0<i>>>0;if((i|0)!=(l|0)){continue}break}break d}if(!a){break c}}ra(a)}return(h^-1)&1}function lf(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;e=fa-16|0;fa=e;h=ha[H[H[a>>2]+24>>2]](a)|0;a:{if((h|0)<=0){break a}l=a+48|0;i=1;while(1){b:{c:{if(!H[(ha[H[H[a>>2]+28>>2]](a)|0)+40>>2]){break c}j=f<<2;g=H[j+H[a+36>>2]>>2];b=H[g+8>>2];k=ub(g);if(!k){break c}g=H[(ha[H[H[a>>2]+28>>2]](a)|0)+40>>2];H[e+12>>2]=H[b+56>>2];b=sa(32);H[e>>2]=b;H[e+4>>2]=24;H[e+8>>2]=-2147483616;c=I[1206]|I[1207]<<8|(I[1208]<<16|I[1209]<<24);d=I[1202]|I[1203]<<8|(I[1204]<<16|I[1205]<<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[1198]|I[1199]<<8|(I[1200]<<16|I[1201]<<24);d=I[1194]|I[1195]<<8|(I[1196]<<16|I[1197]<<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[1190]|I[1191]<<8|(I[1192]<<16|I[1193]<<24);d=I[1186]|I[1187]<<8|(I[1188]<<16|I[1189]<<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+24|0]=0;b=rd(g,e+12|0,e);if(F[e+11|0]<0){ra(H[e>>2])}if(!b){break c}me(H[H[H[a+36>>2]+j>>2]+8>>2],k);break b}b=H[H[a+36>>2]+(f<<2)>>2];if(!(ha[H[H[b>>2]+24>>2]](b,l)|0)){break a}}f=f+1|0;i=(h|0)>(f|0);if((f|0)!=(h|0)){continue}break}}fa=e+16|0;return(i^-1)&1}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,k=0,l=0;j=fa-16|0;fa=j;c=H[b+20>>2];d=H[b+16>>2];g=d+4|0;c=g>>>0<4?c+1|0:c;e=H[b+12>>2];a:{if((e|0)<=(c|0)&g>>>0>K[b+8>>2]|(c|0)>(e|0)){break a}d=d+H[b>>2]|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=g;H[b+20>>2]=c;if((d|0)<0){break a}$a(a+76|0,d);c=j;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;b:{if(!wa(c,b)){break b}if(d){e=1;while(1){f=1<<h;i=Da(c);g=H[a+76>>2]+(h>>>3&536870908)|0;e=e^i;if(e&1){f=H[g>>2]&(f^-1)}else{f=f|H[g>>2]}e=e^1;H[g>>2]=f;h=h+1|0;if((d|0)!=(h|0)){continue}break}}h=0;d=H[b+12>>2];g=d;c=H[b+20>>2];e=c;f=H[b+16>>2];i=f+4|0;c=i>>>0<4?c+1|0:c;k=H[b+8>>2];if(k>>>0<i>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break b}l=H[b>>2];d=l+f|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=i;H[b+20>>2]=c;c=e;e=f+8|0;c=e>>>0<8?c+1|0:c;f=e;e=c;if(f>>>0>k>>>0&(c|0)>=(g|0)|(c|0)>(g|0)){break b}c=i+l|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=f;H[b+20>>2]=e;if((c|0)<(d|0)){break b}H[a+16>>2]=c;H[a+12>>2]=d;b=(c>>31)-((d>>31)+(c>>>0<d>>>0)|0)|0;c=c-d|0;if(!b&c>>>0>2147483646|b){break b}h=1;b=c+1|0;H[a+20>>2]=b;c=b>>>1|0;H[a+24>>2]=c;H[a+28>>2]=0-c;if(b&1){break b}H[a+24>>2]=c-1}}fa=j+16|0;return h|0}function rg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=fa-16|0;fa=k;i=H[b+80>>2];b=I[c+24|0];a=N(i,b);a:{b:{c:{d:{e=H[c+28>>2];if(!(!I[c+84|0]|(e|0)!=5&(e|0)!=6)){b=H[c+48>>2];c=H[H[c>>2]>>2];H[k+8>>2]=0;H[k>>2]=0;H[k+4>>2]=0;if(a){if((a|0)<0){break d}a=a<<2;f=sa(a);g=ta(f,b+c|0,a)+a|0}a=H[d>>2];if(a){H[d+4>>2]=a;ra(a)}H[d+8>>2]=g;H[d+4>>2]=g;H[d>>2]=f;a=1;break a}if(b){e=b<<2;f=sa(e);ua(f,0,e)}j=H[d>>2];e=H[d+4>>2]-j>>2;e:{if(e>>>0<a>>>0){Aa(d,a-e|0);break e}if(a>>>0>=e>>>0){break e}H[d+4>>2]=j+(a<<2)}if(!i){break c}if(!b){a=0;h=1;while(1){if(!ec(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],f)){break c}a=a+1|0;h=i>>>0>a>>>0;if((a|0)!=(i|0)){continue}break}break c}o=b&252;m=b&3;p=b>>>0<4;h=1;b=0;while(1){if(!ec(c,I[c+84|0]?b:H[H[c+68>>2]+(b<<2)>>2],F[c+24|0],f)){break c}n=H[d>>2];l=0;a=0;h=0;if(!p){while(1){e=(g<<2)+n|0;j=a<<2;H[e>>2]=H[j+f>>2];H[e+4>>2]=H[(j|4)+f>>2];H[e+8>>2]=H[(j|8)+f>>2];H[e+12>>2]=H[(j|12)+f>>2];a=a+4|0;g=g+4|0;h=h+4|0;if((o|0)!=(h|0)){continue}break}}if(m){while(1){H[(g<<2)+n>>2]=H[(a<<2)+f>>2];a=a+1|0;g=g+1|0;l=l+1|0;if((l|0)!=(m|0)){continue}break}}b=b+1|0;h=i>>>0>b>>>0;if((b|0)!=(i|0)){continue}break}a=b>>>0>=i>>>0;break b}va();v()}a=!h;if(!f){break a}}ra(f)}fa=k+16|0;return a&1}function ge(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=fa-16|0;fa=k;i=H[b+80>>2];b=I[c+24|0];a=N(i,b);a:{b:{c:{d:{e=H[c+28>>2];if(!(!I[c+84|0]|(e|0)!=5&(e|0)!=6)){b=H[c+48>>2];c=H[H[c>>2]>>2];H[k+8>>2]=0;H[k>>2]=0;H[k+4>>2]=0;if(a){if((a|0)<0){break d}a=a<<2;f=sa(a);g=ta(f,b+c|0,a)+a|0}a=H[d>>2];if(a){H[d+4>>2]=a;ra(a)}H[d+8>>2]=g;H[d+4>>2]=g;H[d>>2]=f;a=1;break a}if(b){e=b<<2;f=sa(e);ua(f,0,e)}j=H[d>>2];e=H[d+4>>2]-j>>2;e:{if(e>>>0<a>>>0){Aa(d,a-e|0);break e}if(a>>>0>=e>>>0){break e}H[d+4>>2]=j+(a<<2)}if(!i){break c}if(!b){a=0;h=1;while(1){if(!gc(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],f)){break c}a=a+1|0;h=i>>>0>a>>>0;if((a|0)!=(i|0)){continue}break}break c}o=b&252;m=b&3;p=b>>>0<4;h=1;b=0;while(1){if(!gc(c,I[c+84|0]?b:H[H[c+68>>2]+(b<<2)>>2],F[c+24|0],f)){break c}n=H[d>>2];l=0;a=0;h=0;if(!p){while(1){e=(g<<2)+n|0;j=a<<2;H[e>>2]=H[j+f>>2];H[e+4>>2]=H[(j|4)+f>>2];H[e+8>>2]=H[(j|8)+f>>2];H[e+12>>2]=H[(j|12)+f>>2];a=a+4|0;g=g+4|0;h=h+4|0;if((o|0)!=(h|0)){continue}break}}if(m){while(1){H[(g<<2)+n>>2]=H[(a<<2)+f>>2];a=a+1|0;g=g+1|0;l=l+1|0;if((l|0)!=(m|0)){continue}break}}b=b+1|0;h=i>>>0>b>>>0;if((b|0)!=(i|0)){continue}break}a=b>>>0>=i>>>0;break b}va();v()}a=!h;if(!f){break a}}ra(f)}fa=k+16|0;return a&1}function tg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=fa-16|0;fa=k;i=H[b+80>>2];b=I[c+24|0];a=N(i,b);a:{b:{c:{d:{e=H[c+28>>2];if(!(!I[c+84|0]|(e|0)!=3&(e|0)!=4)){b=H[c+48>>2];c=H[H[c>>2]>>2];H[k+8>>2]=0;H[k>>2]=0;H[k+4>>2]=0;if(a){if((a|0)<0){break d}a=a<<1;f=sa(a);g=ta(f,b+c|0,a)+a|0}a=H[d>>2];if(a){H[d+4>>2]=a;ra(a)}H[d+8>>2]=g;H[d+4>>2]=g;H[d>>2]=f;a=1;break a}if(b){e=b<<1;f=sa(e);ua(f,0,e)}j=H[d>>2];e=H[d+4>>2]-j>>1;e:{if(e>>>0<a>>>0){pe(d,a-e|0);break e}if(a>>>0>=e>>>0){break e}H[d+4>>2]=j+(a<<1)}if(!i){break c}if(!b){a=0;h=1;while(1){if(!ic(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],f)){break c}a=a+1|0;h=i>>>0>a>>>0;if((a|0)!=(i|0)){continue}break}break c}o=b&252;m=b&3;p=b>>>0<4;h=1;b=0;while(1){if(!ic(c,I[c+84|0]?b:H[H[c+68>>2]+(b<<2)>>2],F[c+24|0],f)){break c}n=H[d>>2];l=0;a=0;h=0;if(!p){while(1){e=(g<<1)+n|0;j=a<<1;G[e>>1]=J[j+f>>1];G[e+2>>1]=J[(j|2)+f>>1];G[e+4>>1]=J[(j|4)+f>>1];G[e+6>>1]=J[(j|6)+f>>1];a=a+4|0;g=g+4|0;h=h+4|0;if((o|0)!=(h|0)){continue}break}}if(m){while(1){G[(g<<1)+n>>1]=J[(a<<1)+f>>1];a=a+1|0;g=g+1|0;l=l+1|0;if((l|0)!=(m|0)){continue}break}}b=b+1|0;h=i>>>0>b>>>0;if((b|0)!=(i|0)){continue}break}a=b>>>0>=i>>>0;break b}va();v()}a=!h;if(!f){break a}}ra(f)}fa=k+16|0;return a&1}function sg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=fa-16|0;fa=k;i=H[b+80>>2];b=I[c+24|0];a=N(i,b);a:{b:{c:{d:{e=H[c+28>>2];if(!(!I[c+84|0]|(e|0)!=3&(e|0)!=4)){b=H[c+48>>2];c=H[H[c>>2]>>2];H[k+8>>2]=0;H[k>>2]=0;H[k+4>>2]=0;if(a){if((a|0)<0){break d}a=a<<1;f=sa(a);g=ta(f,b+c|0,a)+a|0}a=H[d>>2];if(a){H[d+4>>2]=a;ra(a)}H[d+8>>2]=g;H[d+4>>2]=g;H[d>>2]=f;a=1;break a}if(b){e=b<<1;f=sa(e);ua(f,0,e)}j=H[d>>2];e=H[d+4>>2]-j>>1;e:{if(e>>>0<a>>>0){pe(d,a-e|0);break e}if(a>>>0>=e>>>0){break e}H[d+4>>2]=j+(a<<1)}if(!i){break c}if(!b){a=0;h=1;while(1){if(!hc(c,I[c+84|0]?a:H[H[c+68>>2]+(a<<2)>>2],F[c+24|0],f)){break c}a=a+1|0;h=i>>>0>a>>>0;if((a|0)!=(i|0)){continue}break}break c}o=b&252;m=b&3;p=b>>>0<4;h=1;b=0;while(1){if(!hc(c,I[c+84|0]?b:H[H[c+68>>2]+(b<<2)>>2],F[c+24|0],f)){break c}n=H[d>>2];l=0;a=0;h=0;if(!p){while(1){e=(g<<1)+n|0;j=a<<1;G[e>>1]=J[j+f>>1];G[e+2>>1]=J[(j|2)+f>>1];G[e+4>>1]=J[(j|4)+f>>1];G[e+6>>1]=J[(j|6)+f>>1];a=a+4|0;g=g+4|0;h=h+4|0;if((o|0)!=(h|0)){continue}break}}if(m){while(1){G[(g<<1)+n>>1]=J[(a<<1)+f>>1];a=a+1|0;g=g+1|0;l=l+1|0;if((l|0)!=(m|0)){continue}break}}b=b+1|0;h=i>>>0>b>>>0;if((b|0)!=(i|0)){continue}break}a=b>>>0>=i>>>0;break b}va();v()}a=!h;if(!f){break a}}ra(f)}fa=k+16|0;return a&1}function Ae(a,b){var c=0,d=0,e=0,f=0,g=0;f=-1;d=-1;a:{if((b|0)==-1){break a}d=b+1|0;f=(d>>>0)%3|0?d:b-2|0;d=b-1|0;if((b>>>0)%3|0){break a}d=b+2|0}b:{c:{d:{switch(H[a+168>>2]){case 0:case 1:e=H[a+148>>2];c=1;b=H[a+156>>2];g=b+(((f|0)==-1?-1:H[H[e>>2]+(f<<2)>>2])<<2)|0;H[g>>2]=H[g>>2]+1;b=(((d|0)==-1?-1:H[H[e>>2]+(d<<2)>>2])<<2)+b|0;break c;case 5:e=H[a+148>>2];c=-1;c=((b|0)!=-1?H[H[e>>2]+(b<<2)>>2]:c)<<2;b=H[a+156>>2];c=c+b|0;H[c>>2]=H[c>>2]+1;c=(((f|0)==-1?-1:H[H[e>>2]+(f<<2)>>2])<<2)+b|0;H[c>>2]=H[c>>2]+1;c=2;b=(((d|0)==-1?-1:H[H[e>>2]+(d<<2)>>2])<<2)+b|0;break c;case 3:e=H[a+148>>2];c=-1;c=((b|0)!=-1?H[H[e>>2]+(b<<2)>>2]:c)<<2;b=H[a+156>>2];c=c+b|0;H[c>>2]=H[c>>2]+1;c=(((f|0)==-1?-1:H[H[e>>2]+(f<<2)>>2])<<2)+b|0;H[c>>2]=H[c>>2]+2;c=1;b=(((d|0)==-1?-1:H[H[e>>2]+(d<<2)>>2])<<2)+b|0;break c;case 7:break d;default:break b}}e=H[a+148>>2];c=-1;c=((b|0)!=-1?H[H[e>>2]+(b<<2)>>2]:c)<<2;b=H[a+156>>2];c=c+b|0;H[c>>2]=H[c>>2]+2;c=(((f|0)==-1?-1:H[H[e>>2]+(f<<2)>>2])<<2)+b|0;H[c>>2]=H[c>>2]+2;c=2;b=(((d|0)==-1?-1:H[H[e>>2]+(d<<2)>>2])<<2)+b|0}H[b>>2]=H[b>>2]+c}c=a;b=H[H[a+156>>2]+(((f|0)==-1?-1:H[H[H[a+148>>2]>>2]+(f<<2)>>2])<<2)>>2];d=H[a+180>>2];a=H[a+176>>2];H[c+172>>2]=(a|0)<=(b|0)?((b|0)<(d|0)?b:d)-a|0:0}function Ch(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;a:{c=H[a+32>>2];e=H[c+8>>2];f=H[c+12>>2];d=H[c+20>>2];g=e;e=H[c+16>>2];b=0;b:{if((f|0)<=(d|0)&g>>>0<=e>>>0|(d|0)>(f|0)){break b}g=I[e+H[c>>2]|0];f=e+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;c:{if(!g){break c}while(1){if(ha[H[H[a>>2]+16>>2]](a,b)|0){b=b+1|0;if((g|0)!=(b|0)){continue}break c}break}return 0}b=H[a+8>>2];d=H[a+12>>2];if((b|0)!=(d|0)){while(1){c=H[b>>2];if(!(ha[H[H[c>>2]+8>>2]](c,a,H[a+4>>2])|0)){break a}b=b+4|0;if((d|0)!=(b|0)){continue}break}}d:{if(!g){break d}b=0;while(1){c=H[H[a+8>>2]+(b<<2)>>2];if(!(ha[H[H[c>>2]+12>>2]](c,H[a+32>>2])|0)){break a}b=b+1|0;if((g|0)!=(b|0)){continue}break}if(!g){break d}e=a+20|0;while(1){b=0;f=h<<2;c=H[f+H[a+8>>2]>>2];d=ha[H[H[c>>2]+24>>2]](c)|0;if((d|0)>0){while(1){c=H[H[a+8>>2]+f>>2];k=ha[H[H[c>>2]+20>>2]](c,b)|0;i=H[a+20>>2];j=H[a+24>>2]-i>>2;e:{if(k>>>0<j>>>0){break e}c=k+1|0;if(c>>>0>j>>>0){Aa(e,c-j|0);i=H[e>>2];break e}if(c>>>0>=j>>>0){break e}H[a+24>>2]=(c<<2)+i}H[(k<<2)+i>>2]=h;b=b+1|0;if((d|0)!=(b|0)){continue}break}}h=h+1|0;if((g|0)!=(h|0)){continue}break}}b=0;if(!(ha[H[H[a>>2]+28>>2]](a)|0)){break b}b=ha[H[H[a>>2]+32>>2]](a)|0}return b|0}return 0}function wa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=fa-16|0;fa=i;e=H[b+20>>2];c=H[b+12>>2];g=H[b+16>>2];a:{if((e|0)>=(c|0)&g>>>0>=K[b+8>>2]|(c|0)<(e|0)){break a}F[a+12|0]=I[g+H[b>>2]|0];e=H[b+20>>2];c=e;g=H[b+16>>2];d=g+1|0;e=d?c:c+1|0;h=d;H[b+16>>2]=d;H[b+20>>2]=e;b:{if(J[b+38>>1]<=513){f=H[b+12>>2];e=c;c=g+5|0;e=c>>>0<5?e+1|0:e;d=H[b+8>>2];g=c;if(d>>>0<c>>>0&(e|0)>=(f|0)|(e|0)>(f|0)){break a}c=h+H[b>>2]|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=g;H[b+20>>2]=e;break b}if(!Oe(1,i+12|0,b)){break a}g=H[b+16>>2];e=H[b+20>>2];d=H[b+8>>2];f=H[b+12>>2];c=H[i+12>>2]}h=d-g|0;d=f-(e+(d>>>0<g>>>0)|0)|0;if((d|0)<=0&c>>>0>h>>>0|(d|0)<0|(c|0)<=0){break a}d=g+H[b>>2]|0;H[a>>2]=d;c:{d:{f=c-1|0;h=f+d|0;j=I[h|0];e:{if(j>>>0<=63){H[a+4>>2]=f;d=I[h|0]&63;break e}f:{switch((j>>>6|0)-1|0){case 1:break d;case 0:break f;default:break a}}if(c>>>0<2){break a}f=c-2|0;H[a+4>>2]=f;d=d+f|0;d=I[d+1|0]<<8&16128|I[d|0]}H[a+8>>2]=d+4096;break c}if(c>>>0<3){break a}f=c-3|0;H[a+4>>2]=f;h=a;a=d+f|0;a=I[a+1|0]<<8|I[a+2|0]<<16&4128768|I[a|0];H[h+8>>2]=a+4096;if(a>>>0>1044479){break a}}a=c+g|0;e=a>>>0<c>>>0?e+1|0:e;H[b+16>>2]=a;H[b+20>>2]=e;k=1}fa=i+16|0;return k}function Wf(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;Wd(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?1073741823:b>>>0<h>>>0?h:b;if(e){if(e>>>0>=1073741824){break d}i=sa(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){ta(i,f,j)}H[a+92>>2]=(e<<2)+i;H[a+88>>2]=c;H[a+84>>2]=i;if(f){ra(f)}break b}va();v()}za();v()}return}if(b>>>0>=d>>>0){break a}H[a+88>>2]=c+(b<<2)}}function Jc(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){f=H[a+4>>2];h=f-e>>2;i=b>>>0>h>>>0?h:b;a:{if(!i){break a}d=e;g=i;j=g&7;if(j){while(1){H[d>>2]=H[c>>2];g=g-1|0;d=d+4|0;k=k+1|0;if((k|0)!=(j|0)){continue}break}}if(i>>>0<8){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;g=g-8|0;if(g){continue}break}}if(b>>>0>h>>>0){b=(b-h<<2)+f|0;while(1){H[f>>2]=H[c>>2];f=f+4|0;if((b|0)!=(f|0)){continue}break}H[a+4>>2]=b;return}H[a+4>>2]=e+(b<<2);return}if(e){H[a+4>>2]=e;ra(e);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;d=0}b:{if(b>>>0>=1073741824){break b}e=d>>1;d=d>>>0>=2147483644?1073741823:b>>>0<e>>>0?e:b;if(d>>>0>=1073741824){break b}d=d<<2;e=sa(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();v()}function Ke(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=fa-16|0;fa=h;a:{b:{if(J[b+38>>1]<=511){g=H[b+12>>2];i=g;c=H[b+20>>2];e=H[b+16>>2];d=e+8|0;c=d>>>0<8?c+1|0:c;f=H[b+8>>2];if(f>>>0<d>>>0&(c|0)>=(g|0)|(c|0)>(g|0)){break a}e=e+H[b>>2]|0;g=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);H[b+16>>2]=d;H[b+20>>2]=c;break b}if(!jb(1,h+8|0,b)){break a}d=H[b+16>>2];c=H[b+20>>2];f=H[b+8>>2];i=H[b+12>>2];g=H[h+8>>2];e=H[h+12>>2]}j=f-d|0;f=i-(c+(d>>>0>f>>>0)|0)|0;if((f|0)==(e|0)&g>>>0>j>>>0|e>>>0>f>>>0){break a}c=c+e|0;f=d+g|0;c=f>>>0<d>>>0?c+1|0:c;H[b+16>>2]=f;H[b+20>>2]=c;c=g;if((c|0)<=0){break a}b=d+H[b>>2]|0;H[a+40>>2]=b;d=c-1|0;g=b+d|0;f=I[g|0];c:{if(f>>>0<=63){H[a+44>>2]=d;b=I[g|0]&63;break c}d:{switch((f>>>6|0)-1|0){case 0:if(c>>>0<2){break a}d=c-2|0;H[a+44>>2]=d;b=b+d|0;b=I[b+1|0]<<8&16128|I[b|0];break c;case 1:if(c>>>0<3){break a}d=c-3|0;H[a+44>>2]=d;b=b+d|0;b=I[b+1|0]<<8|I[b+2|0]<<16&4128768|I[b|0];break c;default:break d}}d=c-4|0;H[a+44>>2]=d;b=b+d|0;b=I[b+2|0]<<16|I[b+3|0]<<24&1056964608|I[b+1|0]<<8|I[b|0]}H[a+48>>2]=b+16384;k=b>>>0<4177920}fa=h+16|0;return k}function ta(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){ea(a|0,b|0,c|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 Ia(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?1073741823:d>>>0<i>>>0?i:d;if(f){if(f>>>0>=1073741824){break b}j=sa(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){ta(j,g,k)}H[a+8>>2]=(f<<2)+j;H[a+4>>2]=e;H[a>>2]=j;if(g){ra(g)}return}va();v()}za();v()}function xb(a,b){var c=0,d=0,e=0,f=0,g=0;d=fa-16|0;fa=d;H[a+12>>2]=b;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;c=a+16|0;H[c>>2]=0;H[c+4>>2]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=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+116|0;a:{b:{if(b){if(b>>>0<1073741824){break b}va();v()}H[a+104>>2]=0;H[a+108>>2]=0;H[a+112>>2]=0;H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0;c=1;break a}c=b<<2;e=sa(c);H[a+92>>2]=e;f=c+e|0;H[a+100>>2]=f;ua(e,0,c);H[a+112>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;H[a+96>>2]=f;e=sa(c);H[a+104>>2]=e;f=c+e|0;H[a+112>>2]=f;ua(e,0,c);H[a+108>>2]=f;e=sa(c);H[d>>2]=e;f=c+e|0;H[d+8>>2]=f;ua(e,0,c);H[d+4>>2]=f;c=b<<5|1}wb(g,c,d);e=H[d>>2];if(e){H[d+4>>2]=e;ra(e)}H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0;if(b){b=b<<2;e=sa(b);H[d>>2]=e;f=b+e|0;H[d+8>>2]=f;ua(e,0,b);H[d+4>>2]=f}wb(a+128|0,c,d);b=H[d>>2];if(b){H[d+4>>2]=b;ra(b)}fa=d+16|0;return a}function xe(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;H[a>>2]=11484;d=a+232|0;b=H[d+196>>2];if(b){H[d+200>>2]=b;ra(b)}c=H[d+184>>2];if(c){b=c;e=H[d+188>>2];if((b|0)!=(e|0)){while(1){b=e-12|0;f=H[b>>2];if(f){H[e-8>>2]=f;ra(f)}e=b;if((b|0)!=(c|0)){continue}break}b=H[d+184>>2]}H[d+188>>2]=c;ra(b)}b=H[d+156>>2];if(b){H[d+160>>2]=b;ra(b)}c=H[d+136>>2];H[d+136>>2]=0;if(c){e=c-4|0;b=H[e>>2];if(b){b=c+(b<<4)|0;while(1){b=b-16|0;if((c|0)!=(b|0)){continue}break}}ra(e)}Wc(a+216|0);b=H[a+196>>2];if(b){H[a+200>>2]=b;ra(b)}b=H[a+184>>2];if(b){H[a+188>>2]=b;ra(b)}b=H[a+172>>2];if(b){H[a+176>>2]=b;ra(b)}b=H[a+160>>2];if(b){H[a+164>>2]=b;ra(b)}b=H[a+144>>2];if(b){while(1){c=H[b>>2];ra(b);b=c;if(b){continue}break}}b=H[a+136>>2];H[a+136>>2]=0;if(b){ra(b)}b=H[a+120>>2];if(b){ra(b)}b=H[a+108>>2];if(b){ra(b)}b=H[a+96>>2];if(b){ra(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;ra(b)}b=H[a+60>>2];if(b){ra(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}b=H[a+36>>2];if(b){H[a+40>>2]=b;ra(b)}b=H[a+24>>2];if(b){H[a+28>>2]=b;ra(b)}b=H[a+12>>2];if(b){H[a+16>>2]=b;ra(b)}b=H[a+8>>2];H[a+8>>2]=0;if(b){fb(b)}return a|0}function Bc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;H[a+24>>2]=0;c=H[b+4>>2];g=H[b>>2];e=c-g|0;f=(e|0)/20|0;a:{if((c|0)==(g|0)){break a}b:{if(f>>>0<214748365){c=sa(e);H[a+16>>2]=c;H[a+20>>2]=c;H[a+24>>2]=c+N(f,20);f=H[b>>2];b=H[b+4>>2]-f|0;if((b|0)<=0){break a}f=ta(c,f,b);g=0;H[a+28>>2]=0;H[a+20>>2]=f+N((b>>>0)/20|0,20);b=(b|0)/20|0;e=b>>>0<=1?1:b;h=e&3;b=0;c=0;if(e-1>>>0>=3){i=e&-4;e=0;while(1){d=f+N(b,20)|0;d=N(H[d+16>>2],H[d+12>>2]);c=c>>>0>d>>>0?c:d;d=f+N(b|1,20)|0;d=N(H[d+16>>2],H[d+12>>2]);c=c>>>0>d>>>0?c:d;d=f+N(b|2,20)|0;d=N(H[d+16>>2],H[d+12>>2]);c=c>>>0>d>>>0?c:d;d=f+N(b|3,20)|0;d=N(H[d+16>>2],H[d+12>>2]);c=c>>>0>d>>>0?c:d;b=b+4|0;e=e+4|0;if((i|0)!=(e|0)){continue}break}}if(h){while(1){e=f+N(b,20)|0;e=N(H[e+16>>2],H[e+12>>2]);c=c>>>0>e>>>0?c:e;b=b+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}if(!c){H[a+12>>2]=0;return a}if((c|0)<0){break b}b=ua(sa(c),0,c);c=b+c|0;H[a+8>>2]=c;H[a+4>>2]=c;H[a>>2]=b;H[a+12>>2]=b;return a}va();v()}va();v()}H[a+28>>2]=0;H[a+12>>2]=0;return a}function Pj(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;ga=0;break a}if(!a){break h}if(!d){break g}if(d-1&d){break g}a=b>>>Sj(d)|0;ga=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;ga=0;break a}c=Q(d)-Q(b)|0;if(c>>>0<31){break e}break c}if((g|0)==1){break b}c=Sj(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}ga=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}}ga=b<<1|a>>>31;a=l|a<<1;break a}a=0;b=0}ga=b}return a}function zb(a,b){var c=0,d=0,e=0,f=0,g=0;c=fa-16|0;fa=c;H[a+12>>2]=b;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+32>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+36>>2]=0;H[a+40>>2]=0;H[a+52>>2]=0;H[a+44>>2]=0;H[a+48>>2]=0;H[a+56>>2]=0;H[a+60>>2]=0;H[a+72>>2]=0;H[a+64>>2]=0;H[a+68>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[a+92>>2]=0;H[a+84>>2]=0;H[a+88>>2]=0;H[a+104>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0;g=a+120|0;a:{b:{if(b){if(b>>>0<1073741824){break b}va();v()}H[a+108>>2]=0;H[a+112>>2]=0;H[a+116>>2]=0;H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;e=1;break a}e=b<<2;d=sa(e);H[a+96>>2]=d;f=d+e|0;H[a+104>>2]=f;ua(d,0,e);H[a+116>>2]=0;H[a+108>>2]=0;H[a+112>>2]=0;H[a+100>>2]=f;d=sa(e);H[a+108>>2]=d;f=d+e|0;H[a+116>>2]=f;ua(d,0,e);H[a+112>>2]=f;d=sa(e);H[c>>2]=d;f=d+e|0;H[c+8>>2]=f;ua(d,0,e);H[c+4>>2]=f;e=b<<5|1}wb(g,e,c);d=H[c>>2];if(d){H[c+4>>2]=d;ra(d)}H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;if(b){b=b<<2;d=sa(b);H[c>>2]=d;f=b+d|0;H[c+8>>2]=f;ua(d,0,b);H[c+4>>2]=f}wb(a+132|0,e,c);b=H[c>>2];if(b){H[c+4>>2]=b;ra(b)}fa=c+16|0;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];if((e|0)==(d|0)){e=H[c+4>>2];if(!(!e|I[e+12|0])){break b}c:{if(H[d>>2]==(b|0)){b=d;break c}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[((H[a>>2]!=(d|0))<<2)+a>>2]=b;H[b>>2]=d;H[d+8>>2]=b;c=H[b+8>>2];d=H[c>>2]}F[b+12|0]=1;F[c+12|0]=0;a=H[d+4>>2];H[c>>2]=a;if(a){H[a+8>>2]=c}H[d+8>>2]=H[c+8>>2];a=H[c+8>>2];H[((H[a>>2]!=(c|0))<<2)+a>>2]=d;H[d+4>>2]=c;H[c+8>>2]=d;return}if(!(I[e+12|0]|!e)){break b}d:{if(H[d>>2]!=(b|0)){b=d;break d}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[((H[a>>2]!=(d|0))<<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;H[c+8>>2]=a;break a}F[d+12|0]=1;F[c+12|0]=(a|0)==(c|0);F[e+12|0]=1;b=c;if((c|0)!=(a|0)){continue}break}}}function sc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=H[b+16>>2];h=H[c+4>>2]-k|0;e=h;f=H[c>>2]-k|0;H[c>>2]=f;H[c+4>>2]=e;g=H[b+16>>2];e=e>>31;i=(e^h)-e|0;e=f>>31;l=g>>>0>=i+((e^f)-e|0)>>>0;a:{if(l){e=h;break a}b:{c:{if((f|0)>=0){e=1;i=1;if((h|0)>=0){break b}j=1;e=-1;i=-1;if(f){break c}break b}j=-1;e=-1;i=-1;if((h|0)<=0){break b}}e=(h|0)<=0?-1:1;i=j}j=N(g,i);f=(f<<1)-j|0;i=(N(e,i)|0)>=0;g=N(e,g);e=((i?0-f|0:f)+g|0)/2|0;H[c+4>>2]=e;m=c;c=(h<<1)-g|0;f=(j+(i?0-c|0:c)|0)/2|0;H[m>>2]=f;g=H[b+16>>2]}c=H[d+4>>2]+e|0;f=H[d>>2]+f|0;d:{if((g|0)<(f|0)){f=f-H[b+4>>2]|0;break d}if((0-g|0)<=(f|0)){break d}f=H[b+4>>2]+f|0}e:{if((c|0)>(g|0)){c=c-H[b+4>>2]|0;break e}if((0-g|0)<=(c|0)){break e}c=H[b+4>>2]+c|0}f:{if(l){g=c;break f}g:{h:{if((f|0)>=0){b=1;e=1;if((c|0)>=0){break g}d=1;b=-1;e=-1;if(f){break h}break g}d=-1;b=-1;e=-1;if((c|0)<=0){break g}}b=(c|0)<=0?-1:1;e=d}d=N(e,g);h=(f<<1)-d|0;e=(N(b,e)|0)>=0;b=N(b,g);g=((e?0-h|0:h)+b|0)/2|0;b=(c<<1)-b|0;f=(d+(e?0-b|0:b)|0)/2|0}H[a>>2]=f+k;H[a+4>>2]=g+k}function re(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{if(!b){if((d|0)<0){break a}e=H[a+4>>2];b=H[a>>2];d=e-b|0;if(c>>>0>d>>>0){g=c-d|0;f=H[a+8>>2];if(g>>>0<=f-e>>>0){i=a,j=ua(e,0,g)+g|0,H[i+4>>2]=j;break c}if((c|0)<0){break b}e=f-b|0;f=e<<1;f=e>>>0>=1073741823?2147483647:c>>>0<f>>>0?f:c;e=sa(f);ua(e+d|0,0,g);if((d|0)>0){ta(e,b,d)}H[a+8>>2]=e+f;H[a+4>>2]=c+e;H[a>>2]=e;if(!b){break c}ra(b);break c}if(c>>>0>=d>>>0){break c}H[a+4>>2]=b+c;break c}if((d|0)<0){break a}h=H[a+4>>2];g=H[a>>2];e=h-g|0;d:{if((d|0)<=0&c>>>0<=e>>>0|(d|0)<0){break d}if(c>>>0>e>>>0){f=c-e|0;d=H[a+8>>2];if(f>>>0<=d-h>>>0){i=a,j=ua(h,0,f)+f|0,H[i+4>>2]=j;break d}if((c|0)<0){break b}d=d-g|0;h=d<<1;h=d>>>0>=1073741823?2147483647:c>>>0<h>>>0?h:c;d=sa(h);ua(d+e|0,0,f);if((e|0)>0){ta(d,g,e)}H[a+8>>2]=d+h;H[a+4>>2]=c+d;H[a>>2]=d;if(!g){break d}ra(g);break d}if(c>>>0>=e>>>0){break d}H[a+4>>2]=c+g}if(!c){break c}Sa(H[a>>2],b,c)}b=H[a+28>>2];c=H[a+24>>2]+1|0;b=c?b:b+1|0;H[a+24>>2]=c;H[a+28>>2]=b;e=1;break a}va();v()}return e}function pf(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;if(he(a,b)){i=a+36|0;g=ha[H[H[a>>2]+24>>2]](a)|0;d=H[a+40>>2];e=H[a+36>>2];c=d-e>>2;a:{if(g>>>0>c>>>0){Xb(i,g-c|0);break a}if(c>>>0<=g>>>0){break a}e=e+(g<<2)|0;if((e|0)!=(d|0)){while(1){d=d-4|0;c=H[d>>2];H[d>>2]=0;if(c){ha[H[H[c>>2]+4>>2]](c)}if((d|0)!=(e|0)){continue}break}}H[a+40>>2]=e}b:{if((g|0)<=0){e=0;break b}e=1;c=H[b+20>>2];d=H[b+12>>2];f=H[b+16>>2];if((c|0)>=(d|0)&f>>>0>=K[b+8>>2]|(c|0)>(d|0)){break b}d=0;while(1){h=I[f+H[b>>2]|0];f=f+1|0;c=f?c:c+1|0;H[b+16>>2]=f;H[b+20>>2]=c;f=ha[H[H[a>>2]+48>>2]](a,h)|0;h=d<<2;j=h+H[a+36>>2]|0;c=H[j>>2];H[j>>2]=f;if(c){ha[H[H[c>>2]+4>>2]](c)}c=H[H[i>>2]+h>>2];if(!c){break b}if(!(l=c,m=ha[H[H[a>>2]+28>>2]](a)|0,n=ha[H[H[a>>2]+20>>2]](a,d)|0,k=H[H[c>>2]+8>>2],ha[k](l|0,m|0,n|0)|0)){break b}d=d+1|0;e=(g|0)>(d|0);if((d|0)==(g|0)){break b}f=H[b+16>>2];c=H[b+20>>2];h=H[b+12>>2];if(f>>>0<K[b+8>>2]&(c|0)<=(h|0)|(c|0)<(h|0)){continue}break}}a=!e}else{a=0}return a|0}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;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);e=a+8|0;d=I[b+24|0];f=H[a+8>>2];g=H[a+12>>2]-f>>2;a:{if(d>>>0>g>>>0){Aa(e,d-g|0);d=I[b+24|0];break a}if(d>>>0>=g>>>0){break a}H[a+12>>2]=f+(d<<2)}g=H[c+8>>2];b:{if(!d){b=4;break b}h=d&3;e=H[e>>2];c:{if(d-1>>>0<3){b=4;d=0;break c}k=d&252;d=0;b=4;while(1){f=d<<2;c=b+g|0;H[f+e>>2]=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[e+(f|4)>>2]=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);H[e+(f|8)>>2]=I[c+8|0]|I[c+9|0]<<8|(I[c+10|0]<<16|I[c+11|0]<<24);H[e+(f|12)>>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((k|0)!=(i|0)){continue}break}}if(!h){break b}while(1){c=b+g|0;H[e+(d<<2)>>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}}d=a;a=b+g|0;H[d+20>>2]=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);d=1}return d|0}function Jh(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;k=H[a+12>>2];c=H[a+68>>2];d=H[c+80>>2];F[b+84|0]=0;m=b+68|0;i=H[b+68>>2];e=H[b+72>>2]-i>>2;a:{if(e>>>0<d>>>0){Ia(m,d-e|0,12372);c=H[a+68>>2];d=H[c+80>>2];break a}if(d>>>0>=e>>>0){break a}H[b+72>>2]=i+(d<<2)}b=H[c+100>>2];e=H[c+96>>2];i=(b-e|0)/12|0;b:{if((b|0)==(e|0)){break b}n=1;k=H[k+28>>2];f=H[k>>2];if((f|0)==-1){break b}o=i>>>0<=1?1:i;c=e;b=0;while(1){g=H[c>>2];if(g>>>0>=d>>>0){break b}j=H[H[a+72>>2]+12>>2];h=H[j+(f<<2)>>2];if(h>>>0>=d>>>0){break b}f=H[m>>2];H[f+(g<<2)>>2]=h;g=k+(l<<2)|0;h=H[g+4>>2];if((h|0)==-1){break b}l=H[c+4>>2];if(l>>>0>=d>>>0){break b}h=H[(h<<2)+j>>2];if(h>>>0>=d>>>0){break b}H[f+(l<<2)>>2]=h;g=H[g+8>>2];if((g|0)==-1){break b}c=H[c+8>>2];if(c>>>0>=d>>>0){break b}j=H[(g<<2)+j>>2];if(j>>>0>=d>>>0){break b}H[f+(c<<2)>>2]=j;b=b+1|0;n=i>>>0>b>>>0;if((b|0)==(o|0)){break b}c=e+N(b,12)|0;l=N(b,3);f=H[k+(l<<2)>>2];if((f|0)!=-1){continue}break}}return(n^-1)&1}function Pe(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=fa-16|0;fa=k;if(H[c+28>>2]==9){d=H[a+4>>2];h=I[c+24|0];e=h<<2;f=sa(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}if(h){p=H[H[b>>2]>>2]+H[b+48>>2]|0;t=h&254;u=h&1;b=0;while(1){m=H[a+8>>2];i=L[l>>2];d=0;n=0;if((h|0)!=1){while(1){g=d<<2;q=(b<<2)+p|0;L[g+f>>2]=O(i*O(H[q>>2]))+L[g+m>>2];g=g|4;L[g+f>>2]=O(i*O(H[q+4>>2]))+L[g+m>>2];d=d+2|0;b=b+2|0;n=n+2|0;if((t|0)!=(n|0)){continue}break}}if(u){d=d<<2;L[d+f>>2]=O(i*O(H[(b<<2)+p>>2]))+L[d+m>>2];b=b+1|0}ta(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}break a}b=0;if((j|0)!=1){a=j&-2;d=0;while(1){ta(H[H[c+64>>2]>>2]+b|0,f,e);b=b+e|0;ta(b+H[H[c+64>>2]>>2]|0,f,e);b=b+e|0;d=d+2|0;if((a|0)!=(d|0)){continue}break}}if(!(j&1)){break a}ta(H[H[c+64>>2]>>2]+b|0,f,e)}ra(f)}fa=k+16|0;return o|0}function Gh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=H[d+80>>2];e=fa-48|0;fa=e;a=H[a+4>>2];k=a-31|0;a:{if(k>>>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);f=H[c>>2];if((f|0)!=H[c+4>>2]){a=0;d=0;while(1){g=H[(d<<2)+f>>2];h=e+36|0;j=H[H[b>>2]>>2];m=H[b+48>>2];f=H[b+44>>2];l=H[b+40>>2];if(!I[b+84|0]){g=H[H[b+68>>2]+(g<<2)>>2]}g=Nj(l,f,g,0)+m|0;ta(h,g+j|0,l);fe(e+16|0,h,e+12|0,e+8|0);f=a<<2;H[f+i>>2]=H[e+12>>2];H[(f|4)+i>>2]=H[e+8>>2];a=a+2|0;d=d+1|0;f=H[c>>2];if(d>>>0<H[c+4>>2]-f>>2>>>0){continue}break}break a}if(!h){break a}d=0;a=0;while(1){j=e+36|0;c=H[H[b>>2]>>2];g=H[b+40>>2];f=H[b+48>>2]+Nj(g,H[b+44>>2],I[b+84|0]?a:H[H[b+68>>2]+(a<<2)>>2],0)|0;ta(j,c+f|0,g);fe(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;a=a+1|0;if((h|0)!=(a|0)){continue}break}}fa=e+48|0;return k>>>0>4294967266|0}function Wh(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;j=H[a+12>>2];c=H[a+108>>2];d=H[c+80>>2];F[b+84|0]=0;m=b+68|0;h=H[b+68>>2];f=H[b+72>>2]-h>>2;a:{if(f>>>0<d>>>0){Ia(m,d-f|0,12372);c=H[a+108>>2];d=H[c+80>>2];break a}if(d>>>0>=f>>>0){break a}H[b+72>>2]=h+(d<<2)}b=H[c+100>>2];f=H[c+96>>2];h=(b-f|0)/12|0;b:{if((b|0)==(f|0)){j=0;break b}n=h>>>0<=1?1:h;o=H[j>>2];c=f;b=0;j=1;while(1){e=(e<<2)+o|0;i=H[e>>2];if((i|0)==-1){break b}g=H[c>>2];if(g>>>0>=d>>>0){break b}l=H[H[a+112>>2]+12>>2];k=H[l+(i<<2)>>2];if(k>>>0>=d>>>0){break b}i=H[m>>2];H[i+(g<<2)>>2]=k;g=H[e+4>>2];if((g|0)==-1){break b}k=H[c+4>>2];if(k>>>0>=d>>>0){break b}g=H[(g<<2)+l>>2];if(g>>>0>=d>>>0){break b}H[i+(k<<2)>>2]=g;e=H[e+8>>2];if((e|0)==-1){break b}c=H[c+8>>2];if(c>>>0>=d>>>0){break b}e=H[(e<<2)+l>>2];if(e>>>0>=d>>>0){break b}H[i+(c<<2)>>2]=e;b=b+1|0;j=h>>>0>b>>>0;if((b|0)==(n|0)){break b}e=N(b,3);c=f+N(b,12)|0;if((b|0)!=1431655765){continue}break}}return(j^-1)&1}function Oh(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;j=H[a+12>>2];c=H[a+68>>2];d=H[c+80>>2];F[b+84|0]=0;m=b+68|0;h=H[b+68>>2];f=H[b+72>>2]-h>>2;a:{if(f>>>0<d>>>0){Ia(m,d-f|0,12372);c=H[a+68>>2];d=H[c+80>>2];break a}if(d>>>0>=f>>>0){break a}H[b+72>>2]=h+(d<<2)}b=H[c+100>>2];f=H[c+96>>2];h=(b-f|0)/12|0;b:{if((b|0)==(f|0)){j=0;break b}n=h>>>0<=1?1:h;o=H[j>>2];c=f;b=0;j=1;while(1){e=(e<<2)+o|0;i=H[e>>2];if((i|0)==-1){break b}g=H[c>>2];if(g>>>0>=d>>>0){break b}l=H[H[a+72>>2]+12>>2];k=H[l+(i<<2)>>2];if(k>>>0>=d>>>0){break b}i=H[m>>2];H[i+(g<<2)>>2]=k;g=H[e+4>>2];if((g|0)==-1){break b}k=H[c+4>>2];if(k>>>0>=d>>>0){break b}g=H[(g<<2)+l>>2];if(g>>>0>=d>>>0){break b}H[i+(k<<2)>>2]=g;e=H[e+8>>2];if((e|0)==-1){break b}c=H[c+8>>2];if(c>>>0>=d>>>0){break b}e=H[(e<<2)+l>>2];if(e>>>0>=d>>>0){break b}H[i+(c<<2)>>2]=e;b=b+1|0;j=h>>>0>b>>>0;if((b|0)==(n|0)){break b}e=N(b,3);c=f+N(b,12)|0;if((b|0)!=1431655765){continue}break}}return(j^-1)&1}function Xa(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?1073741823:d>>>0<f>>>0?f:d;if(f){if(f>>>0>=1073741824){break b}d=sa(f<<2)}else{d=0}j=d+(j<<2)|0;H[j>>2]=i;if((g|0)>0){ta(d,h,g)}H[e+8>>2]=d+(f<<2);H[e+4>>2]=j+4;H[e>>2]=d;if(h){ra(h)}break a}va();v()}za();v()}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?1073741823:d>>>0<f>>>0?f:d;if(f){if(f>>>0>=1073741824){break c}d=sa(f<<2)}else{d=0}i=d+(i<<2)|0;H[i>>2]=c;if((g|0)>0){ta(d,h,g)}H[e+8>>2]=d+(f<<2);H[e+4>>2]=i+4;H[e>>2]=d;if(!h){break e}ra(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();v()}za();v()}function pd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{c=H[a+8>>2];b:{if((c|0)!=H[a+12>>2]){e=c;break b}d=H[a+4>>2];g=H[a>>2];if(d>>>0>g>>>0){f=c-d|0;g=((d-g>>2)+1|0)/-2<<2;e=g+d|0;if((c|0)!=(d|0)){Sa(e,d,f);c=H[a+4>>2]}e=e+f|0;H[a+8>>2]=e;H[a+4>>2]=c+g;break b}f=(c|0)==(g|0)?1:c-g>>1;if(f>>>0>=1073741824){break a}e=f<<2;h=sa(e);k=h+e|0;f=(f&-4)+h|0;e=f;c:{if((c|0)==(d|0)){break c}c=c-d|0;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}ra(g);e=H[a+8>>2]}H[e>>2]=H[b>>2];H[a+8>>2]=H[a+8>>2]+4;return}za();v()}function od(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{f=H[a+4>>2];b:{if((f|0)!=H[a>>2]){c=f;break b}g=H[a+8>>2];c=H[a+12>>2];if(g>>>0<c>>>0){e=((c-g>>2)+1|0)/2<<2;c=e+g|0;if((f|0)!=(g|0)){d=g-f|0;c=c-d|0;Sa(c,f,d);f=H[a+8>>2]}H[a+4>>2]=c;H[a+8>>2]=e+f;break b}d=(c|0)==(f|0)?1:c-f>>1;if(d>>>0>=1073741824){break a}c=d<<2;i=sa(c);k=i+c|0;c=(d+3&-4)+i|0;h=c;c:{if((f|0)==(g|0)){break c}g=g-f|0;l=g&-4;e=c;d=f;j=g-4|0;g=(j>>>2|0)+1&7;if(g){h=0;while(1){H[e>>2]=H[d>>2];d=d+4|0;e=e+4|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}h=c+l|0;if(j>>>0<28){break c}while(1){H[e>>2]=H[d>>2];H[e+4>>2]=H[d+4>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=H[d+12>>2];H[e+16>>2]=H[d+16>>2];H[e+20>>2]=H[d+20>>2];H[e+24>>2]=H[d+24>>2];H[e+28>>2]=H[d+28>>2];d=d+32|0;e=e+32|0;if((h|0)!=(e|0)){continue}break}}H[a+12>>2]=k;H[a+8>>2]=h;H[a+4>>2]=c;H[a>>2]=i;if(!f){break b}ra(f);c=H[a+4>>2]}H[c-4>>2]=H[b>>2];H[a+4>>2]=H[a+4>>2]-4;return}za();v()}function Vh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=fa-16|0;fa=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=sa(c);h=c+(e<<2)|0;e=f-d|0;f=e+c|0;if((e|0)>0){ta(c,d,e)}H[b+8>>2]=h;H[b+4>>2]=f;H[b>>2]=c;if(!d){break b}ra(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){Ia(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=we(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=we(e,N(b,3));if(!d){break d}b=b+1|0;if((a|0)!=(b|0)){continue}break}}fa=g+16|0;return d|0}va();v()}function He(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=I[b+24|0];a:{if(d>>>0<b>>>0){Aa(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}ta(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 vb(a,b){var c=0;a:{if(!wa(a,b)){break a}if(!wa(a+16|0,b)){break a}if(!wa(a+32|0,b)){break a}if(!wa(a+48|0,b)){break a}if(!wa(a- -64|0,b)){break a}if(!wa(a+80|0,b)){break a}if(!wa(a+96|0,b)){break a}if(!wa(a+112|0,b)){break a}if(!wa(a+128|0,b)){break a}if(!wa(a+144|0,b)){break a}if(!wa(a+160|0,b)){break a}if(!wa(a+176|0,b)){break a}if(!wa(a+192|0,b)){break a}if(!wa(a+208|0,b)){break a}if(!wa(a+224|0,b)){break a}if(!wa(a+240|0,b)){break a}if(!wa(a+256|0,b)){break a}if(!wa(a+272|0,b)){break a}if(!wa(a+288|0,b)){break a}if(!wa(a+304|0,b)){break a}if(!wa(a+320|0,b)){break a}if(!wa(a+336|0,b)){break a}if(!wa(a+352|0,b)){break a}if(!wa(a+368|0,b)){break a}if(!wa(a+384|0,b)){break a}if(!wa(a+400|0,b)){break a}if(!wa(a+416|0,b)){break a}if(!wa(a+432|0,b)){break a}if(!wa(a+448|0,b)){break a}if(!wa(a+464|0,b)){break a}if(!wa(a+480|0,b)){break a}if(!wa(a+496|0,b)){break a}c=wa(a+512|0,b)}return c}function $a(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=fa-16|0;fa=d;a:{e=H[a+4>>2];b:{if(e>>>0<b>>>0){f=b-e|0;c=H[a+8>>2];g=c<<5;c:{if(!(f>>>0>g>>>0|e>>>0>g-f>>>0)){H[a+4>>2]=b;h=e&31;b=H[a>>2]+(e>>>3&536870908)|0;break c}H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0;if((b|0)<0){break a}if(g>>>0<=1073741822){c=c<<6;b=b+31&-32;b=b>>>0<c>>>0?c:b}else{b=2147483647}tb(d,b);c=H[a+4>>2];H[d+4>>2]=c+f;e=H[a>>2];b=H[d>>2];d:{if((c|0)<=0){break d}g=c>>>5<<2;b=Sa(b,e,g)+g|0;h=c&31;if(h){c=-1>>>32-h|0;H[b>>2]=H[b>>2]&(c^-1)|H[e+g>>2]&c}e=H[a>>2]}H[a>>2]=H[d>>2];H[d>>2]=e;c=H[a+4>>2];H[a+4>>2]=H[d+4>>2];H[d+4>>2]=c;c=H[a+8>>2];H[a+8>>2]=H[d+8>>2];H[d+8>>2]=c;if(!e){break c}ra(e)}if(!f){break b}if(h){c=32-h|0;a=c>>>0<f>>>0?c:f;H[b>>2]=H[b>>2]&(-1<<h&-1>>>c-a^-1);f=f-a|0;b=b+4|0}a=b;b=f>>>5<<2;a=ua(a,0,b);if((f&-32)==(f|0)){break b}a=a+b|0;H[a>>2]=H[a>>2]&(-1>>>32-(f&31)^-1);break b}H[a+4>>2]=b}fa=d+16|0;return}va();v()}function Cc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=I[a+11|0]>>>7|0?H[a+4>>2]:I[a+11|0];if(d>>>0<b>>>0){h=fa-16|0;fa=h;f=b-d|0;if(f){b=I[a+11|0]>>>7|0;g=b?H[a+4>>2]:I[a+11|0];i=g+f|0;b=b?(H[a+8>>2]&2147483647)-1|0:10;if(b-g>>>0<f>>>0){a:{d=fa-16|0;fa=d;c=-17;e=i-b|0;if(e>>>0<=-17-b>>>0){j=I[a+11|0]>>>7|0?H[a>>2]:a;if(b>>>0<2147483623){H[d+8>>2]=b<<1;H[d+12>>2]=b+e;c=fa-16|0;fa=c;fa=c+16|0;c=d+8|0;e=d+12|0;c=H[(K[e>>2]<K[c>>2]?c:e)>>2];if(c>>>0>=11){e=c+16&-16;c=e-1|0;c=(c|0)==11?e:c}else{c=10}c=c+1|0}e=sa(c);if(g){Bb(e,j,g)}if((b|0)!=10){ra(j)}H[a>>2]=e;H[a+8>>2]=c|-2147483648;fa=d+16|0;break a}Qa();v()}}b=I[a+11|0]>>>7|0?H[a>>2]:a;d=g+b|0;if(f){ua(d,0,f)}b:{if(I[a+11|0]>>>7|0){H[a+4>>2]=i;break b}F[a+11|0]=i}F[h+15|0]=0;F[b+i|0]=I[h+15|0]}fa=h+16|0;return}c=I[a+11|0]>>>7|0;f=c?H[a>>2]:a;d=fa-16|0;fa=d;c:{if(c){H[a+4>>2]=b;break c}F[a+11|0]=b}F[d+15|0]=0;F[b+f|0]=I[d+15|0];fa=d+16|0}function Ic(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=fa-16|0;fa=g;a:{b:{if(b){H[a+88>>2]=0;H[a+92>>2]=0;c=H[a+84>>2];H[a+84>>2]=0;if(c){ra(c)}H[a+76>>2]=0;H[a+80>>2]=0;c=H[a+72>>2];H[a+72>>2]=0;if(c){ra(c)}c=H[b>>2];d=H[b+4>>2];F[g+15|0]=0;Ra(a,d-c>>2,g+15|0);c=H[b+28>>2];d=H[b+24>>2];F[g+14|0]=0;Ra(a+12|0,c-d>>2,g+14|0);Jc(a+28|0,H[b+4>>2]-H[b>>2]>>2,13708);d=H[b+28>>2]-H[b+24>>2]|0;e=d>>2;c=H[a+52>>2];c:{if(e>>>0<=H[a+60>>2]-c>>2>>>0){break c}if((d|0)<0){break b}f=H[a+56>>2];d=sa(d);h=d+(e<<2)|0;e=f-c|0;f=e+d|0;if((e|0)>0){ta(d,c,e)}H[a+60>>2]=h;H[a+56>>2]=f;H[a+52>>2]=d;if(!c){break c}ra(c)}d=H[b+28>>2]-H[b+24>>2]|0;e=d>>2;c=H[a+40>>2];d:{if(e>>>0<=H[a+48>>2]-c>>2>>>0){break d}if((d|0)<0){break a}f=H[a+44>>2];d=sa(d);h=d+(e<<2)|0;e=f-c|0;f=e+d|0;if((e|0)>0){ta(d,c,e)}H[a+48>>2]=h;H[a+44>>2]=f;H[a+40>>2]=d;if(!c){break d}ra(c)}F[a+24|0]=1;H[a+64>>2]=b}fa=g+16|0;return}va();v()}va();v()}function fe(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|0;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)|0;i=(b|0)>0?b:0;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|0;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 Te(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=H[b+12>>2];c=f;d=H[b+20>>2];g=d;i=H[b+16>>2];e=i+4|0;d=e>>>0<4?d+1|0:d;j=H[b+8>>2];a:{if(j>>>0<e>>>0&(c|0)<=(d|0)|(c|0)<(d|0)){break a}k=H[b>>2];c=i+k|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=e;H[b+20>>2]=d;d=g;h=i+8|0;d=h>>>0<8?d+1|0:d;if(h>>>0>j>>>0&(d|0)>=(f|0)|(d|0)>(f|0)){break a}e=e+k|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[b+16>>2]=h;H[b+20>>2]=d;if((c|0)>(e|0)){break a}H[a+16>>2]=e;H[a+12>>2]=c;l=(e>>31)-((c>>31)+(c>>>0>e>>>0)|0)|0;c=e-c|0;if(!l&c>>>0>2147483646|l){break a}c=c+1|0;H[a+20>>2]=c;e=c>>>1|0;H[a+24>>2]=e;H[a+28>>2]=0-e;if(!(c&1)){H[a+24>>2]=e-1}if(J[b+38>>1]<=513){if((d|0)>=(f|0)&h>>>0>=j>>>0|(d|0)>(f|0)){break a}c=I[h+k|0];d=g;g=i+9|0;d=g>>>0<9?d+1|0:d;H[b+16>>2]=g;H[b+20>>2]=d;if(c>>>0>1){break a}H[a+88>>2]=c}m=wa(a+112|0,b)}return m|0}function Cd(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=(w(m),y(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=(w(l),y(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=(w(g),y(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 Gc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=H[a>>2];c=g+(b>>>3&536870908)|0;H[c>>2]=H[c>>2]|1<<b;f=H[a+64>>2];e=(b|0)==-1;d=-1;a:{if(e){break a}c=b+1|0;c=(c>>>0)%3|0?c:b-2|0;d=-1;if((c|0)==-1){break a}d=H[H[f>>2]+(c<<2)>>2]}c=H[a+12>>2];h=(d>>>3&536870908)+c|0;H[h>>2]=H[h>>2]|1<<d;b:{c:{if(!e){d:{e:{if((b>>>0)%3|0){e=b-1|0;break e}e=b+2|0;d=-1;if((e|0)==-1){break d}}d=H[H[f>>2]+(e<<2)>>2]}e=(d>>>3&536870908)+c|0;H[e>>2]=H[e>>2]|1<<d;d=-1;b=H[H[f+12>>2]+(b<<2)>>2];if((b|0)==-1){break b}F[a+24|0]=0;a=(b>>>3&536870908)+g|0;H[a>>2]=H[a>>2]|1<<b;a=b+1|0;a=(a>>>0)%3|0?a:b-2|0;if((a|0)!=-1){d=H[H[f>>2]+(a<<2)>>2]}a=c+(d>>>3&536870908)|0;H[a>>2]=H[a>>2]|1<<d;f:{g:{if((b>>>0)%3|0){b=b-1|0;break g}b=b+2|0;a=-1;if((b|0)==-1){break f}}a=H[H[f>>2]+(b<<2)>>2]}b=1<<a;a=c+(a>>>3&536870908)|0;c=H[a>>2];break c}a=c+536870908|0;b=H[c+536870908>>2];c=-2147483648}H[a>>2]=b|c}}function Ud(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(b>>>0<=63){b=0;a=H[a+12>>2];if(a>>>0<2){break a}b=a-1|0;e=b&3;d=H[c>>2];c=0;b:{if(a-2>>>0<3){a=1;b=0;break b}f=b&-4;b=0;a=1;while(1){g=a+3|0;h=a+2|0;i=a+1|0;b=K[d+(b<<2)>>2]>K[d+(a<<2)>>2]?a:b;b=K[d+(b<<2)>>2]>K[d+(i<<2)>>2]?i:b;b=K[d+(b<<2)>>2]>K[d+(h<<2)>>2]?h:b;b=K[d+(b<<2)>>2]>K[d+(g<<2)>>2]?g:b;a=a+4|0;j=j+4|0;if((f|0)!=(j|0)){continue}break}}if(!e){break a}while(1){b=K[d+(b<<2)>>2]>K[d+(a<<2)>>2]?a:b;a=a+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}break a}b=H[a+580>>2];d=32-b|0;if((d|0)>=4){c=H[a+576>>2];if((c|0)==H[a+568>>2]){return 0}d=H[c>>2];e=b+4|0;H[a+580>>2]=e;b=d<<b>>>28|0;if((e|0)!=32){break a}H[a+580>>2]=0;H[a+576>>2]=c+4;return b}c=H[a+576>>2];e=c+4|0;if((e|0)==H[a+568>>2]){return 0}f=H[c>>2];H[a+576>>2]=e;H[a+580>>2]=b-28;a=60-b|0;b=H[c+4>>2]>>>a|f<<b>>>a-d}return b}function ye(a){a=a|0;var b=0,c=0,d=0,e=0;H[a>>2]=11436;b=H[a+388>>2];if(b){H[a+392>>2]=b;ra(b)}d=H[a+368>>2];H[a+368>>2]=0;if(d){e=d-4|0;b=H[e>>2];if(b){c=(b<<4)+d|0;while(1){c=c-16|0;if((d|0)!=(c|0)){continue}break}}ra(e)}Wc(a+216|0);b=H[a+196>>2];if(b){H[a+200>>2]=b;ra(b)}b=H[a+184>>2];if(b){H[a+188>>2]=b;ra(b)}b=H[a+172>>2];if(b){H[a+176>>2]=b;ra(b)}b=H[a+160>>2];if(b){H[a+164>>2]=b;ra(b)}c=H[a+144>>2];if(c){while(1){b=H[c>>2];ra(c);c=b;if(b){continue}break}}b=H[a+136>>2];H[a+136>>2]=0;if(b){ra(b)}b=H[a+120>>2];if(b){ra(b)}b=H[a+108>>2];if(b){ra(b)}b=H[a+96>>2];if(b){ra(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;ra(b)}b=H[a+60>>2];if(b){ra(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}b=H[a+36>>2];if(b){H[a+40>>2]=b;ra(b)}b=H[a+24>>2];if(b){H[a+28>>2]=b;ra(b)}b=H[a+12>>2];if(b){H[a+16>>2]=b;ra(b)}b=H[a+8>>2];H[a+8>>2]=0;if(b){fb(b)}return a|0}function ze(a){a=a|0;var b=0,c=0,d=0,e=0;H[a>>2]=11384;d=H[a+368>>2];H[a+368>>2]=0;if(d){e=d-4|0;b=H[e>>2];if(b){c=(b<<4)+d|0;while(1){c=c-16|0;if((d|0)!=(c|0)){continue}break}}ra(e)}Wc(a+216|0);b=H[a+196>>2];if(b){H[a+200>>2]=b;ra(b)}b=H[a+184>>2];if(b){H[a+188>>2]=b;ra(b)}b=H[a+172>>2];if(b){H[a+176>>2]=b;ra(b)}b=H[a+160>>2];if(b){H[a+164>>2]=b;ra(b)}c=H[a+144>>2];if(c){while(1){b=H[c>>2];ra(c);c=b;if(b){continue}break}}b=H[a+136>>2];H[a+136>>2]=0;if(b){ra(b)}b=H[a+120>>2];if(b){ra(b)}b=H[a+108>>2];if(b){ra(b)}b=H[a+96>>2];if(b){ra(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;ra(b)}b=H[a+60>>2];if(b){ra(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}b=H[a+36>>2];if(b){H[a+40>>2]=b;ra(b)}b=H[a+24>>2];if(b){H[a+28>>2]=b;ra(b)}b=H[a+12>>2];if(b){H[a+16>>2]=b;ra(b)}b=H[a+8>>2];H[a+8>>2]=0;if(b){fb(b)}return a|0}function Rg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{a=fa-32|0;fa=a;e=Pa(c);if(e>>>0<4294967280){b:{c:{if(e>>>0>=11){g=(e|15)+1|0;f=sa(g);H[a+24>>2]=g|-2147483648;H[a+16>>2]=f;H[a+20>>2]=e;break c}F[a+27|0]=e;f=a+16|0;if(!e){break b}}ta(f,c,e)}F[e+f|0]=0;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;d:{c=rb(b,a+16|0);if((c|0)==(b+4|0)){break d}b=H[c+28>>2];f=H[c+32>>2];if((b|0)==(f|0)){break d}b=f-b|0;if(b&3){break d}e=b>>>2|0;f=H[a+4>>2];b=H[a>>2];g=f-b>>2;e:{if(e>>>0>g>>>0){Aa(a,e-g|0);b=H[a>>2];f=H[a+4>>2];break e}if(e>>>0>=g>>>0){break e}f=(e<<2)+b|0;H[a+4>>2]=f}if((b|0)!=(f|0)){e=b;b=H[c+28>>2];ta(e,b,H[c+32>>2]-b|0);break d}Ea();v()}b=H[d>>2];if(b){H[d+4>>2]=b;ra(b)}H[d>>2]=H[a>>2];H[d+4>>2]=H[a+4>>2];H[d+8>>2]=H[a+8>>2];if(F[a+27|0]<0){ra(H[a+16>>2])}fa=a+32|0;break a}Qa();v()}}function dd(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){d=H[a+24>>2];if(H[a+32>>2]<<5>>>0<c>>>0){if(d){ra(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=sa(c<<2);H[a+32>>2]=c;H[a+28>>2]=0;H[a+24>>2]=d;c=H[b+28>>2]}Sa(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=H[a+36>>2];if(H[a+44>>2]<<5>>>0<c>>>0){if(d){ra(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=sa(c<<2);H[a+44>>2]=c;H[a+40>>2]=0;H[a+36>>2]=d;c=H[b+40>>2]}Sa(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}va();v()}va();v()}function Tg(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;d=fa-16|0;fa=d;a:{e=Pa(c);if(e>>>0<4294967280){b:{c:{if(e>>>0>=11){f=(e|15)+1|0;a=sa(f);H[d+8>>2]=f|-2147483648;H[d>>2]=a;H[d+4>>2]=e;break c}F[d+11|0]=e;a=d;if(!e){break b}}ta(a,c,e)}F[a+e|0]=0;c=I[d+11|0];e=c<<24>>24;b=H[b+4>>2];a=0;d:{if(!b){break d}a=c;c=(e|0)<0;a=c?H[d+4>>2]:a;f=c?H[d>>2]:d;while(1){c=I[b+27|0];g=c<<24>>24<0;c=g?H[b+20>>2]:c;i=c>>>0<a>>>0;e:{f:{g:{h:{i:{j:{h=i?c:a;if(h){g=g?H[b+16>>2]:b+16|0;j=Ha(f,g,h);if(j){break j}if(a>>>0>=c>>>0){break i}break e}if(a>>>0>=c>>>0){break h}break e}if((j|0)<0){break e}}c=Ha(g,f,h);if(c){break g}}if(i){break f}a=1;break d}if((c|0)<0){break f}a=1;break d}b=b+4|0}b=H[b>>2];if(b){continue}break}a=0}if((e|0)<0){ra(H[d>>2])}fa=d+16|0;break a}Qa();v()}return a|0}function vc(a){var b=0,c=0,d=0;b=H[a+8>>2];d=H[a>>2];a:{if(I[a+12|0]){b:{c:{d:{e:{if((b|0)==-1){break e}c=b+1|0;b=(c>>>0)%3|0?c:b-2|0;if((b|0)==-1){break e}b=H[H[d+12>>2]+(b<<2)>>2];if((b|0)!=-1){break d}}H[a+8>>2]=-1;break c}c=b+1|0;b=(c>>>0)%3|0?c:b-2|0;H[a+8>>2]=b;if((b|0)!=-1){break b}}c=H[a+4>>2];b=-1;f:{if((c|0)==-1){break f}g:{if((c>>>0)%3|0){c=c-1|0;break g}c=c+2|0;b=-1;if((c|0)==-1){break f}}c=H[H[d+12>>2]+(c<<2)>>2];b=-1;if((c|0)==-1){break f}b=c-1|0;if((c>>>0)%3|0){break f}b=c+2|0}F[a+12|0]=0;H[a+8>>2]=b;return}if((b|0)!=H[a+4>>2]){break a}H[a+8>>2]=-1;return}c=-1;h:{if((b|0)==-1){break h}i:{if((b>>>0)%3|0){b=b-1|0;break i}b=b+2|0;c=-1;if((b|0)==-1){break h}}b=H[H[d+12>>2]+(b<<2)>>2];c=-1;if((b|0)==-1){break h}c=b-1|0;if((b>>>0)%3|0){break h}c=b+2|0}H[a+8>>2]=c}}function Qf(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=fa-32|0;fa=f;d=H[a+28>>2];H[f+16>>2]=d;g=H[a+20>>2];H[f+28>>2]=c;H[f+24>>2]=b;b=g-d|0;H[f+20>>2]=b;g=b+c|0;i=2;a:{b:{b=f+16|0;d=aa(H[a+60>>2],b|0,2,f+12|0)|0;if(d){H[3992]=d;d=-1}else{d=0}c:{d:{if(d){d=b;break d}while(1){e=H[f+12>>2];if((e|0)==(g|0)){break c}if((e|0)<0){d=b;break b}h=H[b+4>>2];j=h>>>0<e>>>0;d=(j<<3)+b|0;h=e-(j?h:0)|0;H[d>>2]=h+H[d>>2];b=(j?12:4)+b|0;H[b>>2]=H[b>>2]-h;g=g-e|0;b=d;i=i-j|0;e=aa(H[a+60>>2],b|0,i|0,f+12|0)|0;if(e){H[3992]=e;e=-1}else{e=0}if(!e){continue}break}}if((g|0)!=-1){break b}}b=H[a+44>>2];H[a+28>>2]=b;H[a+20>>2]=b;H[a+16>>2]=b+H[a+48>>2];a=c;break a}H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a>>2]=H[a>>2]|32;a=0;if((i|0)==2){break a}a=c-H[d+4>>2]|0}fa=f+32|0;return a|0}function Re(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;f=H[b+12>>2];c=H[b+20>>2];d=c;i=H[b+16>>2];e=i+4|0;c=e>>>0<4?c+1|0:c;j=H[b+8>>2];g=e;a:{if(j>>>0<e>>>0&(c|0)>=(f|0)|(c|0)>(f|0)){break a}k=H[b>>2];e=i+k|0;h=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[b+16>>2]=g;H[b+20>>2]=c;e=J[b+38>>1];if(e>>>0<=513){c=d;d=i+8|0;c=d>>>0<8?c+1|0:c;g=d;if(d>>>0>j>>>0&(c|0)>=(f|0)|(c|0)>(f|0)){break a}H[b+16>>2]=g;H[b+20>>2]=c}if(!(h&1)){break a}d=Q(h)^31;if(d-30>>>0<4294967267){break a}H[a+8>>2]=d+1;d=-2<<d;h=d^-2;H[a+16>>2]=h;H[a+12>>2]=d^-1;H[a+24>>2]=(h|0)/2;L[a+20>>2]=O(2)/O(h|0);if(e>>>0<=513){if((c|0)>=(f|0)&g>>>0>=j>>>0|(c|0)>(f|0)){break a}f=I[g+k|0];d=g+1|0;c=d?c:c+1|0;H[b+16>>2]=d;H[b+20>>2]=c;if(f>>>0>1){break a}H[a+72>>2]=f}l=wa(a+96|0,b)}return l|0}function Qe(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;f=H[b+12>>2];c=H[b+20>>2];g=c;h=H[b+16>>2];d=h+4|0;c=d>>>0<4?c+1|0:c;i=H[b+8>>2];a:{if(i>>>0<d>>>0&(c|0)>=(f|0)|(c|0)>(f|0)){break a}k=H[b>>2];e=h+k|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[b+16>>2]=d;H[b+20>>2]=c;c=g;d=h+8|0;c=d>>>0<8?c+1|0:c;j=d;if(d>>>0>i>>>0&(c|0)>=(f|0)|(c|0)>(f|0)){break a}H[b+16>>2]=j;H[b+20>>2]=c;if(!(e&1)){break a}d=Q(e)^31;if(d-30>>>0<4294967267){break a}H[a+8>>2]=d+1;d=-2<<d;e=d^-2;H[a+16>>2]=e;H[a+12>>2]=d^-1;H[a+24>>2]=(e|0)/2;L[a+20>>2]=O(2)/O(e|0);if(J[b+38>>1]<=513){if((c|0)>=(f|0)&j>>>0>=i>>>0|(c|0)>(f|0)){break a}f=I[j+k|0];c=h+9|0;g=c>>>0<9?g+1|0:g;H[b+16>>2]=c;H[b+20>>2]=g;if(f>>>0>1){break a}H[a+72>>2]=f}l=wa(a+96|0,b)}return l|0}function Sa(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 ta(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 ef(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;h=H[c+12>>2];d=h;e=H[c+20>>2];i=H[c+8>>2];f=H[c+16>>2];a:{if((d|0)<=(e|0)&i>>>0<=f>>>0|(d|0)<(e|0)){break a}j=H[c>>2];k=F[j+f|0];d=e;g=f+1|0;d=g?d:d+1|0;H[c+16>>2]=g;H[c+20>>2]=d;b:{if((k|0)==-2){break b}if((d|0)>=(h|0)&g>>>0>=i>>>0|(d|0)>(h|0)){break a}d=F[g+j|0];f=f+2|0;e=f>>>0<2?e+1|0:e;H[c+16>>2]=f;H[c+20>>2]=e;if((d-4&255)>>>0<251){break a}e=ha[H[H[a>>2]+40>>2]](a,k,d)|0;d=H[a+20>>2];H[a+20>>2]=e;if(!d){break b}ha[H[H[d>>2]+4>>2]](d)}d=H[a+20>>2];if(d){if(!(ha[H[H[a>>2]+28>>2]](a,d)|0)){break a}}if(!(ha[H[H[a>>2]+36>>2]](a,b,c)|0)){break a}c=H[a+4>>2];if(!(!c|I[c+36|0]>1)){if(!(ha[H[H[a>>2]+48>>2]](a,H[b+4>>2]-H[b>>2]>>2)|0)){break a}}l=1}return l|0}function Xb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=H[a+8>>2];c=H[a+4>>2];if(d-c>>2>>>0>=b>>>0){if(b){b=b<<2;c=ua(c,0,b)+b|0}H[a+4>>2]=c;return}a:{b:{c:{g=H[a>>2];f=c-g>>2;e=f+b|0;if(e>>>0<1073741824){d=d-g|0;h=d>>1;e=d>>>0>=2147483644?1073741823:e>>>0<h>>>0?h:e;if(e){if(e>>>0>=1073741824){break c}i=sa(e<<2)}d=(f<<2)+i|0;f=b<<2;b=ua(d,0,f);f=b+f|0;e=(e<<2)+i|0;if((c|0)==(g|0)){break b}while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;d=d-4|0;H[d>>2]=b;if((c|0)!=(g|0)){continue}break}H[a+8>>2]=e;b=H[a+4>>2];H[a+4>>2]=f;c=H[a>>2];H[a>>2]=d;if((b|0)==(c|0)){break a}while(1){b=b-4|0;a=H[b>>2];H[b>>2]=0;if(a){ha[H[H[a>>2]+4>>2]](a)}if((b|0)!=(c|0)){continue}break}break a}va();v()}za();v()}H[a+8>>2]=e;H[a+4>>2]=f;H[a>>2]=b}if(c){ra(c)}}function Md(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:v();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 Ed(a,b){var c=0,d=0,e=0;c=fa+-64|0;fa=c;d=H[a>>2];e=H[d-4>>2];d=H[d-8>>2];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;F[c+55|0]=0;F[c+56|0]=0;F[c+57|0]=0;F[c+58|0]=0;F[c+59|0]=0;F[c+60|0]=0;F[c+61|0]=0;F[c+62|0]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+20>>2]=0;H[c+16>>2]=14924;H[c+12>>2]=a;H[c+8>>2]=b;a=a+d|0;d=0;a:{if(Za(e,b,0)){H[c+56>>2]=1;ha[H[H[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=H[c+32>>2]==1?a:0;break a}ha[H[H[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(H[c+44>>2]){case 0:d=H[c+48>>2]==1?H[c+36>>2]==1?H[c+40>>2]==1?H[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(H[c+32>>2]!=1){if(H[c+48>>2]|H[c+36>>2]!=1|H[c+40>>2]!=1){break a}}d=H[c+24>>2]}fa=c- -64|0;return d}function xa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;H[a+16>>2]=0;c=H[a>>2];H[a+4>>2]=c;H[a+12>>2]=c;g=H[b+12>>2];c=g;d=H[b+20>>2];f=H[b+16>>2];e=f+4|0;d=e>>>0<4?d+1|0:d;h=H[b+8>>2];a:{if(h>>>0<e>>>0&(c|0)<=(d|0)|(c|0)<(d|0)){break a}c=f+H[b>>2]|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=e;H[b+20>>2]=d;if(!c|c&3){break a}f=g-(d+(e>>>0>h>>>0)|0)|0;if(h-e>>>0<c>>>0&(f|0)<=0|(f|0)<0){break a}if(c>>>0>=4){Aa(a,c>>>2|0);h=H[b+8>>2];g=H[b+12>>2];e=H[b+16>>2];d=H[b+20>>2]}f=c+e|0;d=c>>>0>f>>>0?d+1|0:d;if(f>>>0>h>>>0&(d|0)>=(g|0)|(d|0)>(g|0)){break a}ta(H[a>>2],e+H[b>>2]|0,c);d=H[b+20>>2];e=c+H[b+16>>2]|0;d=e>>>0<c>>>0?d+1|0:d;H[b+16>>2]=e;H[b+20>>2]=d;H[a+16>>2]=0;H[a+12>>2]=H[a>>2];i=1}return i}function ce(a,b){var c=0,d=0,e=0,f=0;d=-1;e=-1;f=-1;a:{b:{if((b|0)==-1){break b}e=H[H[H[a+4>>2]+12>>2]+(b<<2)>>2];c=b+1|0;c=(c>>>0)%3|0?c:b-2|0;if((c|0)>=0){f=(c>>>0)/3|0;f=H[(H[H[a>>2]+96>>2]+N(f,12)|0)+(c-N(f,3)<<2)>>2]}c:{if((e|0)==-1){break c}c=((e>>>0)%3|0?-1:2)+e|0;if((c|0)<0){break c}d=(c>>>0)/3|0;d=H[(H[H[a>>2]+96>>2]+N(d,12)|0)+(c-N(d,3)<<2)>>2]}c=-1;if((d|0)!=(f|0)){break a}f=-1;d:{b=((b>>>0)%3|0?-1:2)+b|0;if((b|0)>=0){d=(b>>>0)/3|0;d=H[(H[H[a>>2]+96>>2]+N(d,12)|0)+(b-N(d,3)<<2)>>2];if((e|0)==-1){break b}break d}d=-1;if((e|0)!=-1){break d}break b}b=e+1|0;b=(b>>>0)%3|0?b:e-2|0;if((b|0)<0){break b}c=H[H[a>>2]+96>>2];a=(b>>>0)/3|0;f=H[(c+N(a,12)|0)+(b-N(a,3)<<2)>>2]}c=(d|0)!=(f|0)?-1:e}return c}function zh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=sa(72);H[c+4>>2]=0;H[c+8>>2]=0;H[c>>2]=1984;H[c+12>>2]=0;H[c+16>>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>>2]=2128;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;a:{if((b|0)>=0){g=a+8|0;c=H[a+12>>2];e=H[a+8>>2];f=c-e>>2;b:{if((f|0)>(b|0)){break b}d=b+1|0;if(b>>>0>=f>>>0){Xb(g,d-f|0);break b}if(d>>>0>=f>>>0){break b}e=(d<<2)+e|0;if((e|0)!=(c|0)){while(1){c=c-4|0;d=H[c>>2];H[c>>2]=0;if(d){ha[H[H[d>>2]+4>>2]](d)}if((c|0)!=(e|0)){continue}break}}H[a+12>>2]=e}a=H[g>>2]+(b<<2)|0;c=H[a>>2];H[a>>2]=h;if(!c){break a}}ha[H[H[c>>2]+4>>2]](c)}return(b^-1)>>>31|0}function ua(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=Nj(d,0,1,1);e=ga;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 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;d=H[b+12>>2];h=d;c=H[b+20>>2];e=c;f=H[b+16>>2];g=f+4|0;c=g>>>0<4?c+1|0:c;i=H[b+8>>2];a:{if(i>>>0<g>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break a}j=H[b>>2];d=j+f|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=g;H[b+20>>2]=c;c=e;e=f+8|0;c=e>>>0<8?c+1|0:c;f=e;e=c;if(f>>>0>i>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){break a}c=g+j|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=f;H[b+20>>2]=e;if((c|0)<(d|0)){break a}H[a+16>>2]=c;H[a+12>>2]=d;b=(c>>31)-((d>>31)+(c>>>0<d>>>0)|0)|0;c=c-d|0;if(!b&c>>>0>2147483646|b){break a}k=1;b=c+1|0;H[a+20>>2]=b;c=b>>>1|0;H[a+24>>2]=c;H[a+28>>2]=0-c;if(b&1){break a}H[a+24>>2]=c-1}return k|0}function Ih(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=sa(c);g=c+(e<<2)|0;e=f-d|0;f=e+c|0;if((e|0)>0){ta(c,d,e)}H[b+8>>2]=g;H[b+4>>2]=f;H[b>>2]=c;if(!d){break b}ra(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=ue(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=ue(e,N(b,3));if(!c){break c}b=b+1|0;if((a|0)!=(b|0)){continue}break}}return c|0}va();v()}function rd(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}f=H[b>>2];b=e;while(1){g=(f|0)>H[d+16>>2];b=g?b:d;d=H[(g?d+4|0:d)>>2];if(d){continue}break}if((b|0)==(e|0)|(f|0)<H[b+16>>2]){break a}d=H[b+24>>2];if(!d){break a}f=b+20|0;b=I[c+11|0];e=b<<24>>24<0;g=e?H[c>>2]:c;b=e?H[c+4>>2]:b;while(1){e=I[d+27|0];h=e<<24>>24<0;e=h?H[d+20>>2]:e;j=e>>>0<b>>>0;b:{c:{d:{e:{f:{g:{i=j?e:b;if(i){h=h?H[d+16>>2]:d+16|0;k=Ha(g,h,i);if(k){break g}if(b>>>0>=e>>>0){break f}break b}if(b>>>0>=e>>>0){break e}break b}if((k|0)<0){break b}}e=Ha(h,g,i);if(e){break d}}if(j){break c}return Rc(f,c)}if((e|0)<0){break c}return Rc(f,c)}d=d+4|0}d=H[d>>2];if(d){continue}break}}return Rc(a,c)}function Nh(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=sa(c);g=c+(e<<2)|0;e=f-d|0;f=e+c|0;if((e|0)>0){ta(c,d,e)}H[b+8>>2]=g;H[b+4>>2]=f;H[b>>2]=c;if(!d){break b}ra(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=ve(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=ve(e,N(b,3));if(!c){break c}b=b+1|0;if((a|0)!=(b|0)){continue}break}}return c|0}va();v()}function ae(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=fa-16|0;fa=d;f=H[a+24>>2];k=H[a+28>>2];a:{if((f|0)!=(k|0)){while(1){H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0;a=_d(H[f>>2],b,d);g=I[d+11|0];h=g<<24>>24;i=3;b:{c:{d:{if(!a){break d}i=0;a=I[c+11|0];e=a<<24>>24;j=(h|0)<0?H[d+4>>2]:g;if((j|0)!=(((e|0)<0?H[c+4>>2]:a)|0)){break d}a=(e|0)<0?H[c>>2]:c;e=(h|0)<0;e:{if(!e){e=d;if(!h){break e}while(1){if(I[e|0]!=I[a|0]){break d}a=a+1|0;e=e+1|0;g=g-1|0;if(g){continue}break}break e}if(!j){break e}if(Ha(e?H[d>>2]:d,a,j)){break c}}l=H[f>>2];i=1}if((h|0)>=0){break b}}ra(H[d>>2])}f:{switch(i|0){case 0:case 3:break f;default:break a}}f=f+4|0;if((k|0)!=(f|0)){continue}break}}l=0}fa=d+16|0;return l}function Ra(a,b,c){var d=0,e=0,f=0,g=0;f=fa-16|0;fa=f;H[a+4>>2]=0;a:{b:{if(!b){break b}d=H[a+8>>2];e=d<<5;c:{if(e>>>0>=b>>>0){H[a+4>>2]=b;break c}H[f+8>>2]=0;H[f>>2]=0;H[f+4>>2]=0;if((b|0)<0){break a}if(e>>>0<=1073741822){d=d<<6;e=b+31&-32;d=d>>>0>e>>>0?d:e}else{d=2147483647}tb(f,d);d=H[a>>2];H[a>>2]=H[f>>2];H[f>>2]=d;e=H[a+4>>2];H[a+4>>2]=b;H[f+4>>2]=e;e=H[a+8>>2];H[a+8>>2]=H[f+8>>2];H[f+8>>2]=e;if(!d){break c}ra(d)}g=b&-32;d=b>>>5|0;e=d<<2;a=H[a>>2];if(I[c|0]){a=ua(a,255,e);if((b|0)==(g|0)){break b}a=a+(d<<2)|0;H[a>>2]=H[a>>2]|-1>>>32-(b&31);break b}a=ua(a,0,e);if((b|0)==(g|0)){break b}a=a+(d<<2)|0;H[a>>2]=H[a>>2]&(-1>>>32-(b&31)^-1)}fa=f+16|0;return}va();v()}function sf(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;d=H[b>>2];b=H[b+4>>2];f=H[H[a+8>>2]+40>>2];m=sa((f|0)<0?-1:f);g=1;h=b-d|0;a:{if((h|0)<=0){break a}b=0;g=0;d=0+H[c+20>>2]|0;i=H[c+16>>2];e=f+i|0;d=e>>>0<f>>>0?d+1|0:d;j=e;e=H[c+12>>2];if(j>>>0>K[c+8>>2]&(e|0)<=(d|0)|(d|0)>(e|0)){break a}k=h>>2;g=(k|0)<=1?1:k;while(1){b:{e=ta(m,i+H[c>>2]|0,f);H[c+16>>2]=j;H[c+20>>2]=d;ta(H[H[H[a+8>>2]+64>>2]>>2]+b|0,e,f);l=l+1|0;if((g|0)==(l|0)){break b}b=b+f|0;d=n+H[c+20>>2]|0;i=H[c+16>>2];e=f+i|0;d=e>>>0<f>>>0?d+1|0:d;j=e;h=e;e=H[c+12>>2];if((e|0)>=(d|0)&K[c+8>>2]>=h>>>0|(d|0)<(e|0)){continue}}break}g=(l|0)>=(k|0)}ra(m);return g|0}function nb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=H[b>>2];h=H[b+8>>2];i=H[b+4>>2];j=H[b>>2];d=H[a>>2];b=H[d+4>>2];a=H[d+8>>2];if(b>>>0<a>>>0){H[b+8>>2]=h;H[b+4>>2]=i;H[b>>2]=j;H[d+4>>2]=b+12;return}a:{e=H[d>>2];g=(b-e|0)/12|0;c=g+1|0;if(c>>>0<357913942){f=(a-e|0)/12|0;a=f<<1;c=f>>>0>=178956970?357913941:a>>>0>c>>>0?a:c;if(c){if(c>>>0>=357913942){break a}f=sa(N(c,12))}else{f=0}a=f+N(g,12)|0;H[a+8>>2]=h;H[a+4>>2]=i;H[a>>2]=j;g=a+12|0;if((b|0)!=(e|0)){while(1){a=a-12|0;b=b-12|0;H[a>>2]=H[b>>2];H[a+4>>2]=H[b+4>>2];H[a+8>>2]=H[b+8>>2];if((b|0)!=(e|0)){continue}break}}H[d+8>>2]=f+N(c,12);H[d+4>>2]=g;H[d>>2]=a;if(e){ra(e)}return}va();v()}za();v()}function kf(a,b){a=a|0;b=b|0;a=0;a:{switch(b|0){case 0:a=sa(20);H[a+12>>2]=-1;H[a+16>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=2232;return a|0;case 1:a=sa(24);H[a+12>>2]=-1;H[a+16>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=2232;H[a+20>>2]=0;H[a>>2]=2448;return a|0;case 2:a=sa(48);H[a+12>>2]=-1;H[a+16>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=2232;H[a+20>>2]=0;H[a>>2]=2448;H[a+24>>2]=1832;H[a>>2]=11048;H[a+32>>2]=0;H[a+36>>2]=0;H[a+28>>2]=-1;H[a+40>>2]=0;H[a+44>>2]=0;return a|0;case 3:a=sa(32);H[a+12>>2]=-1;H[a+16>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=2232;H[a+20>>2]=0;H[a>>2]=2448;H[a+24>>2]=1032;H[a>>2]=7028;H[a+28>>2]=-1;break;default:break a}}return a|0}function Gg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=fa-32|0;fa=e;a:{b:{f=Pa(c);if(f>>>0<4294967280){c:{d:{if(f>>>0>=11){g=(f|15)+1|0;a=sa(g);H[e+24>>2]=g|-2147483648;H[e+16>>2]=a;H[e+20>>2]=f;break d}F[e+27|0]=f;a=e+16|0;if(!f){break c}}ta(a,c,f)}F[a+f|0]=0;c=Pa(d);if(c>>>0>=4294967280){break b}e:{f:{if(c>>>0>=11){f=(c|15)+1|0;a=sa(f);H[e+8>>2]=f|-2147483648;H[e>>2]=a;H[e+4>>2]=c;break f}F[e+11|0]=c;a=e;if(!c){break e}}ta(a,d,c)}F[a+c|0]=0;c=H[b+4>>2];a=-1;g:{if(!c){break g}c=ae(c,e+16|0,e);a=-1;if(!c){break g}a=Xd(b,H[c+24>>2])}if(F[e+11|0]<0){ra(H[e>>2])}if(F[e+27|0]<0){ra(H[e+16>>2])}fa=e+32|0;break a}Qa();v()}Qa();v()}return a|0}function Ri(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){mc(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){mc(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){mc(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 Pi(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;f=fa-32|0;fa=f;g=e>>>0>1073741823?-1:e<<2;l=ua(sa(g),0,g);g=l;i=H[g>>2];g=H[g+4>>2];k=H[b+4>>2];H[f+24>>2]=H[b>>2];H[f+28>>2]=k;H[f+8>>2]=i;H[f+12>>2]=g;i=a+8|0;sc(f+16|0,i,f+8|0,f+24|0);H[c>>2]=H[f+16>>2];H[c+4>>2]=H[f+20>>2];if((d|0)>(e|0)){k=0-e<<2;a=e;while(1){h=a<<2;g=h+c|0;j=g+k|0;m=H[j>>2];j=H[j+4>>2];h=b+h|0;n=H[h+4>>2];H[f+24>>2]=H[h>>2];H[f+28>>2]=n;H[f+8>>2]=m;H[f+12>>2]=j;sc(f+16|0,i,f+8|0,f+24|0);H[g>>2]=H[f+16>>2];H[g+4>>2]=H[f+20>>2];a=a+e|0;if((d|0)>(a|0)){continue}break}}ra(l);fa=f+32|0;return 1}function Eb(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];f=d-e|0;h=f>>2;f=g>>>0>h>>>0?b+f|0:c;if((f|0)!=(b|0)){while(1){H[e>>2]=H[b>>2];e=e+4|0;b=b+4|0;if((f|0)!=(b|0)){continue}break}}if(g>>>0>h>>>0){b=c-f|0;if((b|0)>0){d=ta(d,f,b)+b|0}H[a+4>>2]=d;return}H[a+4>>2]=e;return}if(e){H[a+4>>2]=e;ra(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?1073741823:e>>>0>g>>>0?e:g;if(d>>>0>=1073741824){break a}e=d<<2;d=sa(e);H[a>>2]=d;H[a+4>>2]=d;H[a+8>>2]=d+e;if((b|0)!=(c|0)){d=ta(d,b,f)+f|0}H[a+4>>2]=d;return}va();v()}function Gi(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;f=fa-32|0;fa=f;h=e>>>0>1073741823?-1:e<<2;h=ua(sa(h),0,h);g=H[b>>2];i=H[b+4>>2];k=H[h+4>>2];H[f+16>>2]=H[h>>2];H[f+20>>2]=k;H[f+8>>2]=g;H[f+12>>2]=i;i=a+8|0;rc(f+24|0,i,f+16|0,f+8|0);H[c>>2]=H[f+24>>2];H[c+4>>2]=H[f+28>>2];if((d|0)>(e|0)){k=0-e<<2;a=e;while(1){g=a<<2;j=g+b|0;m=H[j>>2];j=H[j+4>>2];g=c+g|0;l=g+k|0;n=H[l+4>>2];H[f+16>>2]=H[l>>2];H[f+20>>2]=n;H[f+8>>2]=m;H[f+12>>2]=j;rc(f+24|0,i,f+16|0,f+8|0);H[g>>2]=H[f+24>>2];H[g+4>>2]=H[f+28>>2];a=a+e|0;if((d|0)>(a|0)){continue}break}}ra(h);fa=f+32|0;return 1}function zg(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;a:{if(K[b+80>>2]>65535){break a}a=H[b+100>>2];b=H[b+96>>2];e=(a-b|0)/12|0;f=N(e,6);g=(f|0)==(c|0);if((a|0)==(b|0)|(c|0)!=(f|0)){break a}g=1;c=e>>>0<=1?1:e;i=c&1;a=0;if(e>>>0>=2){j=c&-2;c=0;while(1){f=N(a,6);h=f+d|0;e=b+N(a,12)|0;G[h>>1]=H[e>>2];G[(f|2)+d>>1]=H[e+4>>2];G[h+4>>1]=H[e+8>>2];f=a|1;e=N(f,6)+d|0;f=b+N(f,12)|0;G[e>>1]=H[f>>2];G[e+2>>1]=H[f+4>>2];G[e+4>>1]=H[f+8>>2];a=a+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!i){break a}c=N(a,6)+d|0;a=b+N(a,12)|0;G[c>>1]=H[a>>2];G[c+2>>1]=H[a+4>>2];G[c+4>>1]=H[a+8>>2]}return g|0}function Ui(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=H[b+12>>2];c=H[b+20>>2];f=c;g=H[b+16>>2];d=g+4|0;c=d>>>0<4?c+1|0:c;h=H[b+8>>2];i=d;a:{if(h>>>0<d>>>0&(c|0)>=(e|0)|(c|0)>(e|0)){break a}d=g+H[b>>2]|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=i;H[b+20>>2]=c;if(J[b+38>>1]<=513){c=f;f=g+8|0;c=f>>>0<8?c+1|0:c;if(f>>>0>h>>>0&(c|0)>=(e|0)|(c|0)>(e|0)){break a}H[b+16>>2]=f;H[b+20>>2]=c}if(!(d&1)){break a}b=Q(d)^31;c=b-30|0;if(c>>>0>=4294967267){H[a+8>>2]=b+1;e=-2<<b;b=e^-2;H[a+16>>2]=b;H[a+12>>2]=e^-1;H[a+24>>2]=(b|0)/2;L[a+20>>2]=O(2)/O(b|0)}j=c>>>0>4294967266}return j|0}function tf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=1;a:{if((ha[H[H[b>>2]+20>>2]](b)|0)<=0){break a}while(1){f=0;c=Yd(H[H[a+4>>2]+4>>2],ha[H[H[b>>2]+24>>2]](b,g)|0);if((c|0)==-1){break a}e=H[a+4>>2];b:{if(I[e+36|0]<=1){if(ha[H[H[b>>2]+28>>2]](b,H[H[H[e+4>>2]+8>>2]+(c<<2)>>2])|0){break b}break a}d=0;c:{if((c|0)<0){break c}h=H[e+4>>2];if(H[h+12>>2]-H[h+8>>2]>>2<=(c|0)){break c}d=H[H[e+8>>2]+(H[H[e+20>>2]+(c<<2)>>2]<<2)>>2];d=ha[H[H[d>>2]+32>>2]](d,c)|0}if(!d){break a}if(!(ha[H[H[b>>2]+28>>2]](b,d)|0)){break a}}f=1;g=g+1|0;if((ha[H[H[b>>2]+20>>2]](b)|0)>(g|0)){continue}break}}return f|0}function Qg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a=fa-32|0;fa=a;H[a+24>>2]=0;H[a+28>>2]=0;a:{d=Pa(c);if(d>>>0<4294967280){b:{c:{if(d>>>0>=11){f=(d|15)+1|0;e=sa(f);H[a+16>>2]=f|-2147483648;H[a+8>>2]=e;H[a+12>>2]=d;break c}F[a+19|0]=d;e=a+8|0;if(!d){break b}}ta(e,c,d)}F[d+e|0]=0;c=b+4|0;b=rb(b,a+8|0);d:{if((c|0)==(b|0)){break d}c=H[b+32>>2];b=H[b+28>>2];if((c-b|0)!=8){break d}c=I[b+4|0]|I[b+5|0]<<8|(I[b+6|0]<<16|I[b+7|0]<<24);H[a+24>>2]=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[a+28>>2]=c}g=M[a+24>>3];if(F[a+19|0]<0){ra(H[a+8>>2])}fa=a+32|0;break a}Qa();v()}return+g}function De(a){var b=0,c=0,d=0,e=0,f=0;f=1;c=H[a+140>>2];a:{if((c|0)<=0){break a}b=c<<4;d=sa(c>>>0>268435455?-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;F[b+5|0]=0;F[b+6|0]=0;F[b+7|0]=0;F[b+8|0]=0;F[b+9|0]=0;F[b+10|0]=0;F[b+11|0]=0;F[b+12|0]=0;b=b+16|0;if((c|0)!=(b|0)){continue}break}e=H[a+136>>2];H[a+136>>2]=d;if(e){c=e-4|0;d=H[c>>2];if(d){b=(d<<4)+e|0;while(1){b=b-16|0;if((e|0)!=(b|0)){continue}break}}ra(c)}b=0;if(H[a+140>>2]<=0){break a}while(1){f=wa(H[a+136>>2]+(b<<4)|0,a);if(!f){break a}b=b+1|0;if((b|0)<H[a+140>>2]){continue}break}}return f}function qb(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(H[a+64>>2]){break a}c=sa(32);H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;d=H[a+64>>2];H[a+64>>2]=c;if(!d){break a}c=H[d>>2];if(c){H[d+4>>2]=c;ra(c)}ra(d)}e=H[a+64>>2];c=H[a+28>>2]-1|0;if(c>>>0<=10){d=H[(c<<2)+13584>>2]}else{d=-1}c=N(d,I[a+24|0]);d=c;g=c>>31;e=re(e,0,Nj(c,g,b,0),ga);if(e){c=H[a+64>>2];H[a>>2]=c;f=H[c+20>>2];H[a+8>>2]=H[c+16>>2];H[a+12>>2]=f;f=H[c+24>>2];c=H[c+28>>2];H[a+48>>2]=0;H[a+52>>2]=0;H[a+40>>2]=d;H[a+44>>2]=g;H[a+16>>2]=f;H[a+20>>2]=c;H[a+80>>2]=b}return e}function Li(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;f=H[b+12>>2];c=H[b+20>>2];e=c;g=H[b+16>>2];d=g+4|0;c=d>>>0<4?c+1|0:c;h=H[b+8>>2];i=d;a:{if(h>>>0<d>>>0&(c|0)>=(f|0)|(c|0)>(f|0)){break a}d=g+H[b>>2]|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+16>>2]=i;H[b+20>>2]=c;c=e;e=g+8|0;c=e>>>0<8?c+1|0:c;if(e>>>0>h>>>0&(c|0)>=(f|0)|(c|0)>(f|0)){break a}H[b+16>>2]=e;H[b+20>>2]=c;if(!(d&1)){break a}b=Q(d)^31;if(b-30>>>0<4294967267){break a}j=1;H[a+8>>2]=b+1;c=-2<<b;b=c^-2;H[a+16>>2]=b;H[a+12>>2]=c^-1;H[a+24>>2]=(b|0)/2;L[a+20>>2]=O(2)/O(b|0)}return j|0}function fc(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 Ca(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=c-b|0;f=g>>2;e=H[a+8>>2];d=H[a>>2];if(f>>>0<=e-d>>2>>>0){e=H[a+4>>2]-d|0;g=e>>2;e=g>>>0<f>>>0?b+e|0:c;h=e-b|0;if((b|0)!=(e|0)){Sa(d,b,h)}if(g>>>0<f>>>0){b=H[a+4>>2];c=c-e|0;if((c|0)>0){b=ta(b,e,c)+c|0}H[a+4>>2]=b;return}H[a+4>>2]=d+h;return}if(d){H[a+4>>2]=d;ra(d);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;e=0}a:{if((g|0)<0){break a}d=e>>1;d=e>>>0>=2147483644?1073741823:d>>>0>f>>>0?d:f;if(d>>>0>=1073741824){break a}f=d<<2;d=sa(f);H[a>>2]=d;H[a+4>>2]=d;H[a+8>>2]=d+f;if((b|0)!=(c|0)){d=ta(d,b,g)+g|0}H[a+4>>2]=d;return}va();v()}function yg(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;a=H[b+100>>2];b=H[b+96>>2];h=a-b|0;a:{if((h|0)!=(c|0)|(a|0)==(b|0)){break a}g=(c|0)/12|0;e=g>>>0<=1?1:g;j=e&1;a=0;if(g>>>0>=2){k=e&-2;g=0;while(1){e=N(a,12);i=e+d|0;f=b+e|0;H[i>>2]=H[f>>2];H[(e|4)+d>>2]=H[f+4>>2];H[i+8>>2]=H[f+8>>2];f=N(a|1,12);e=f+d|0;f=b+f|0;H[e>>2]=H[f>>2];H[e+4>>2]=H[f+4>>2];H[e+8>>2]=H[f+8>>2];a=a+2|0;g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(!j){break a}e=d;d=N(a,12);a=e+d|0;b=b+d|0;H[a>>2]=H[b>>2];H[a+4>>2]=H[b+4>>2];H[a+8>>2]=H[b+8>>2]}return(c|0)==(h|0)|0}function rb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=a+4|0;a=H[a+4>>2];a:{b:{if(!a){break b}d=I[b+11|0];c=d<<24>>24<0;g=c?H[b>>2]:b;d=c?H[b+4>>2]:d;b=f;while(1){e=I[a+27|0];c=e<<24>>24<0;e=c?H[a+20>>2]:e;h=e>>>0>d>>>0;i=h?d:e;c:{if(i){c=Ha(c?H[a+16>>2]:a+16|0,g,i);if(c){break c}}c=d>>>0>e>>>0?-1:h}c=(c|0)<0;b=c?b:a;a=H[(c?a+4|0:a)>>2];if(a){continue}break}if((b|0)==(f|0)){break b}c=I[b+27|0];a=c<<24>>24<0;d:{c=a?H[b+20>>2]:c;e=c>>>0<d>>>0?c:d;if(e){a=Ha(g,a?H[b+16>>2]:b+16|0,e);if(a){break d}}if(c>>>0>d>>>0){break b}break a}if((a|0)>=0){break a}}b=f}return b}function If(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Za(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(Za(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];ha[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];ha[H[H[a>>2]+24>>2]](a,b,c,d,e)}}function Fb(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(!b){break b}if(J[a+38>>1]<=513){e=H[a+12>>2];b=H[a+20>>2];f=H[a+16>>2];g=f+8|0;b=g>>>0<8?b+1|0:b;if(g>>>0>K[a+8>>2]&(b|0)>=(e|0)|(b|0)>(e|0)){break a}b=f+H[a>>2]|0;d=I[b+4|0]|I[b+5|0]<<8|(I[b+6|0]<<16|I[b+7|0]<<24);H[c>>2]=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[c+4>>2]=d;b=H[a+20>>2];c=H[a+16>>2]+8|0;b=c>>>0<8?b+1|0:b;H[a+16>>2]=c;H[a+20>>2]=b;break b}if(!qe(1,c,a)){break a}}F[a+36|0]=1;H[a+32>>2]=0;b=H[a+16>>2];c=b+H[a>>2]|0;H[a+24>>2]=c;d=a;a=H[a+8>>2];H[d+28>>2]=c+(a-b|0);d=1}return d}function te(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=sa(64);c=sa(12);H[c+8>>2]=H[H[a+4>>2]+80>>2];H[c>>2]=13216;H[c+4>>2]=0;f=md(f,c);a:{b:{if((b|0)<0){c=f;break b}h=a+8|0;c=H[a+12>>2];e=H[a+8>>2];g=c-e>>2;c:{if((g|0)>(b|0)){break c}d=b+1|0;if(b>>>0>=g>>>0){Xb(h,d-g|0);break c}if(d>>>0>=g>>>0){break c}e=e+(d<<2)|0;if((e|0)!=(c|0)){while(1){c=c-4|0;d=H[c>>2];H[c>>2]=0;if(d){ha[H[H[d>>2]+4>>2]](d)}if((c|0)!=(e|0)){continue}break}}H[a+12>>2]=e}a=H[h>>2]+(b<<2)|0;c=H[a>>2];H[a>>2]=f;if(!c){break a}}ha[H[H[c>>2]+4>>2]](c)}return(b^-1)>>>31|0}function Pd(a,b){var c=0,d=0,e=0,f=0;d=fa-16|0;fa=d;H[d+12>>2]=b;c=fa-208|0;fa=c;H[c+204>>2]=b;b=c+160|0;ua(b,0,40);H[c+200>>2]=H[c+204>>2];a:{if((Od(0,a,c+200|0,c+80|0,b)|0)<0){break a}f=H[3941]>=0;b=H[3922];if(H[3940]<=0){H[3922]=b&-33}b:{c:{d:{if(!H[3934]){H[3934]=80;H[3929]=0;H[3926]=0;H[3927]=0;e=H[3933];H[3933]=c;break d}if(H[3926]){break c}}if(Rd(15688)){break b}}Od(15688,a,c+200|0,c+80|0,c+160|0)}if(e){ha[H[3931]](15688,0,0)|0;H[3934]=0;H[3933]=e;H[3929]=0;H[3926]=0;H[3927]=0}H[3922]=H[3922]|b&32;if(!f){break a}}fa=c+208|0;fa=d+16|0}function wb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=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=sa(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];c:{if((f|0)==(c|0)){c=b;b=d-12|0;ua(c,0,(b-((b>>>0)%12|0)|0)+12|0);break c}c=c-f|0;if((c|0)<0){break a}g=c&-4;while(1){H[b+8>>2]=0;H[b>>2]=0;H[b+4>>2]=0;d=sa(c);H[b>>2]=d;H[b+4>>2]=d;H[b+8>>2]=d+g;h=b,i=ta(d,f,c)+g|0,H[h+4>>2]=i;b=b+12|0;if((e|0)!=(b|0)){continue}break}}H[a+4>>2]=e}return}va();v()}H[b+8>>2]=0;H[b>>2]=0;H[b+4>>2]=0;va();v()}function Kc(a,b,c){var d=0,e=0,f=0,g=0;a:{if((b|c)>=0){b:{if(b>>>0>1431655765){break b}d=N(b,3);Jc(a,d,13648);Jc(a+12|0,d,13652);d=H[a+24>>2];c:{if(H[a+32>>2]-d>>2>>>0>=c>>>0){break c}if(c>>>0>=1073741824){break a}e=H[a+28>>2];f=c<<2;c=sa(f);f=c+f|0;e=e-d|0;g=e+c|0;if((e|0)>0){ta(c,d,e)}H[a+32>>2]=f;H[a+28>>2]=g;H[a+24>>2]=c;if(!d){break c}ra(d)}H[a+80>>2]=0;H[a+84>>2]=0;c=H[a+76>>2];H[a+76>>2]=0;if(c){ra(c)}H[a+68>>2]=0;H[a+72>>2]=0;c=a- -64|0;a=H[c>>2];H[c>>2]=0;if(!a){break b}ra(a)}a=b>>>0<1431655766}else{a=0}return a}va();v()}function of(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=H[a+60>>2];a:{if(!c){break a}H[c+4>>2]=a+48;if(!(ha[H[H[c>>2]+12>>2]](c)|0)){break a}b:{c=ha[H[H[a>>2]+24>>2]](a)|0;if((c|0)<=0){break b}while(1){c:{f=H[(ha[H[H[a>>2]+28>>2]](a)|0)+4>>2];g=ha[H[H[a>>2]+20>>2]](a,d)|0;e=H[a+60>>2];if(!(ha[H[H[e>>2]+8>>2]](e,H[H[f+8>>2]+(g<<2)>>2])|0)){break c}d=d+1|0;if((c|0)!=(d|0)){continue}break b}break}return 0}d=0;if(!(ha[H[H[a>>2]+36>>2]](a,b)|0)){break a}if(!(ha[H[H[a>>2]+40>>2]](a,b)|0)){break a}d=ha[H[H[a>>2]+44>>2]](a)|0}return d|0}function Tb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=H[a+4>>2];if((c|0)!=H[a+8>>2]){d=H[b+4>>2];H[c>>2]=H[b>>2];H[c+4>>2]=d;H[c+8>>2]=H[b+8>>2];H[a+4>>2]=c+12;return}a:{f=H[a>>2];g=c-f|0;d=(g|0)/12|0;c=d+1|0;if(c>>>0<357913942){e=d<<1;e=d>>>0>=178956970?357913941:c>>>0<e>>>0?e:c;if(e){if(e>>>0>=357913942){break a}c=sa(N(e,12))}else{c=0}d=c+N(d,12)|0;h=H[b+4>>2];H[d>>2]=H[b>>2];H[d+4>>2]=h;H[d+8>>2]=H[b+8>>2];b=d+N((g|0)/-12|0,12)|0;if((g|0)>0){ta(b,f,g)}H[a+8>>2]=c+N(e,12);H[a+4>>2]=d+12;H[a>>2]=b;if(f){ra(f)}return}va();v()}za();v()}function Fd(a,b,c,d,e,f,g){var h=0,i=0,j=0;i=fa-16|0;fa=i;h=-17;if((b^-1)-17>>>0>=c>>>0){if(I[a+11|0]>>>7|0){j=H[a>>2]}else{j=a}if(b>>>0<2147483623){H[i+8>>2]=b<<1;H[i+12>>2]=b+c;c=fa-16|0;fa=c;fa=c+16|0;c=i+8|0;h=i+12|0;c=H[(K[h>>2]<K[c>>2]?c:h)>>2];if(c>>>0>=11){h=c+16&-16;c=h-1|0;c=(c|0)==11?h:c}else{c=10}h=c+1|0}c=sa(h);if(f){Bb(c,g,f)}g=d-e|0;if((d|0)!=(e|0)){Bb(c+f|0,e+j|0,g)}if((b|0)!=10){ra(j)}H[a>>2]=c;H[a+8>>2]=h|-2147483648;b=a;a=f+g|0;H[b+4>>2]=a;F[i+7|0]=0;F[a+c|0]=I[i+7|0];fa=i+16|0;return}Qa();v()}function gd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[a+216>>2];if((c|0)!=H[a+220>>2]){while(1){a:{c=H[N(e,144)+c>>2];if((c|0)<0){break a}d=H[a+4>>2];f=H[d+8>>2];if((c|0)>=H[d+12>>2]-f>>2){break a}d=0;c=H[(c<<2)+f>>2];if((ha[H[H[c>>2]+24>>2]](c)|0)<=0){break a}while(1){if((ha[H[H[c>>2]+20>>2]](c,d)|0)!=(b|0)){d=d+1|0;if((ha[H[H[c>>2]+24>>2]](c)|0)>(d|0)){continue}break a}break}a=H[a+216>>2]+N(e,144)|0;return(I[a+100|0]?a+4|0:0)|0}e=e+1|0;c=H[a+216>>2];if(e>>>0<(H[a+220>>2]-c|0)/144>>>0){continue}break}}return 0}function qd(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=2128;d=H[a+60>>2];if(d){b=d;c=H[a- -64>>2];if((b|0)!=(c|0)){while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){Ja(b)}if((c|0)!=(d|0)){continue}break}b=H[a+60>>2]}H[a+64>>2]=d;ra(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}d=H[a+36>>2];if(d){b=d;c=H[a+40>>2];if((b|0)!=(c|0)){while(1){c=c-24|0;ha[H[H[c>>2]>>2]](c)|0;if((c|0)!=(d|0)){continue}break}b=H[a+36>>2]}H[a+40>>2]=d;ra(b)}H[a>>2]=1984;b=H[a+16>>2];if(b){H[a+20>>2]=b;ra(b)}b=H[a+4>>2];if(b){H[a+8>>2]=b;ra(b)}return a|0}function Ab(a){var b=0,c=0,d=0,e=0;c=H[a+132>>2];if(c){d=c;b=H[a+136>>2];if((c|0)!=(b|0)){while(1){d=b-12|0;e=H[d>>2];if(e){H[b-8>>2]=e;ra(e)}b=d;if((c|0)!=(b|0)){continue}break}d=H[a+132>>2]}H[a+136>>2]=c;ra(d)}c=H[a+120>>2];if(c){d=c;b=H[a+124>>2];if((c|0)!=(b|0)){while(1){d=b-12|0;e=H[d>>2];if(e){H[b-8>>2]=e;ra(e)}b=d;if((c|0)!=(b|0)){continue}break}d=H[a+120>>2]}H[a+124>>2]=c;ra(d)}b=H[a+108>>2];if(b){H[a+112>>2]=b;ra(b)}b=H[a+96>>2];if(b){H[a+100>>2]=b;ra(b)}_a(a+76|0);_a(a+56|0);_a(a+36|0);_a(a+16|0)}function ub(a){var b=0,c=0,d=0,e=0,f=0;d=H[a+8>>2];a:{if(I[d+84|0]){break a}b=H[a+16>>2];if(!b|!I[b+84|0]){break a}c=H[d+72>>2];e=H[d+68>>2];F[b+84|0]=0;c=c-e>>2;f=H[b+68>>2];e=H[b+72>>2]-f>>2;b:{if(c>>>0>e>>>0){Ia(b+68|0,c-e|0,2316);d=H[a+8>>2];break b}if(c>>>0>=e>>>0){break b}H[b+72>>2]=f+(c<<2)}if(I[d+84|0]){break a}c=H[d+68>>2];if((c|0)==H[d+72>>2]){break a}e=H[H[a+16>>2]+68>>2];b=0;while(1){f=b<<2;H[f+e>>2]=H[c+f>>2];b=b+1|0;c=H[d+68>>2];if(b>>>0<H[d+72>>2]-c>>2>>>0){continue}break}}return H[a+16>>2]}function Kg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=fa+-64|0;fa=e;f=Ka(e+8|0);H[f+16>>2]=0;H[f+20>>2]=0;H[f>>2]=b;H[f+8>>2]=c;H[f+12>>2]=0;b=e+48|0;Ne(b,a,f,d);H[a+24>>2]=H[e+48>>2];f=a+24|0;a:{if((f|0)==(b|0)){break a}b=a+28|0;c=e+48|4;g=I[e+63|0];d=g<<24>>24;if(F[a+39|0]>=0){if((d|0)>=0){a=H[c+4>>2];H[b>>2]=H[c>>2];H[b+4>>2]=a;H[b+8>>2]=H[c+8>>2];break a}Zb(b,H[e+52>>2],H[e+56>>2]);break a}a=(d|0)<0;_b(b,a?H[e+52>>2]:c,a?H[e+56>>2]:g)}if(F[e+63|0]<0){ra(H[e+52>>2])}fa=e- -64|0;return f|0}function Jg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=fa+-64|0;fa=e;f=Ka(e+8|0);H[f+16>>2]=0;H[f+20>>2]=0;H[f>>2]=b;H[f+8>>2]=c;H[f+12>>2]=0;b=e+48|0;Me(b,a,f,d);H[a+24>>2]=H[e+48>>2];f=a+24|0;a:{if((f|0)==(b|0)){break a}b=a+28|0;c=e+48|4;g=I[e+63|0];d=g<<24>>24;if(F[a+39|0]>=0){if((d|0)>=0){a=H[c+4>>2];H[b>>2]=H[c>>2];H[b+4>>2]=a;H[b+8>>2]=H[c+8>>2];break a}Zb(b,H[e+52>>2],H[e+56>>2]);break a}a=(d|0)<0;_b(b,a?H[e+52>>2]:c,a?H[e+56>>2]:g)}if(F[e+63|0]<0){ra(H[e+52>>2])}fa=e- -64|0;return f|0}function fd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[a+216>>2];if((c|0)!=H[a+220>>2]){while(1){a:{c=H[N(e,144)+c>>2];if((c|0)<0){break a}d=H[a+4>>2];f=H[d+8>>2];if((c|0)>=H[d+12>>2]-f>>2){break a}d=0;c=H[(c<<2)+f>>2];if((ha[H[H[c>>2]+24>>2]](c)|0)<=0){break a}while(1){if((ha[H[H[c>>2]+20>>2]](c,d)|0)!=(b|0)){d=d+1|0;if((ha[H[H[c>>2]+24>>2]](c)|0)>(d|0)){continue}break a}break}return(H[a+216>>2]+N(e,144)|0)+104|0}e=e+1|0;c=H[a+216>>2];if(e>>>0<(H[a+220>>2]-c|0)/144>>>0){continue}break}}return a+184|0}function db(a){var b=0,c=0,d=0,e=0;c=H[a+640>>2];if(c){d=c;b=H[a+644>>2];if((c|0)!=(b|0)){while(1){d=b-12|0;e=H[d>>2];if(e){H[b-8>>2]=e;ra(e)}b=d;if((c|0)!=(b|0)){continue}break}d=H[a+640>>2]}H[a+644>>2]=c;ra(d)}c=H[a+628>>2];if(c){d=c;b=H[a+632>>2];if((c|0)!=(b|0)){while(1){d=b-12|0;e=H[d>>2];if(e){H[b-8>>2]=e;ra(e)}b=d;if((c|0)!=(b|0)){continue}break}d=H[a+628>>2]}H[a+632>>2]=c;ra(d)}b=H[a+616>>2];if(b){H[a+620>>2]=b;ra(b)}b=H[a+604>>2];if(b){H[a+608>>2]=b;ra(b)}_a(a+584|0);_a(a+564|0);_a(a+544|0)}function mc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{c=H[a+4>>2];d=H[a>>2];f=c-d|0;b:{if(f>>>0<b>>>0){g=b-f|0;e=H[a+8>>2];if(g>>>0<=e-c>>>0){h=a,i=ua(c,0,g)+g|0,H[h+4>>2]=i;break b}if((b|0)<0){break a}c=e-d|0;e=c<<1;e=c>>>0>=1073741823?2147483647:b>>>0<e>>>0?e:b;c=sa(e);ua(c+f|0,0,g);if((f|0)>0){ta(c,d,f)}H[a+8>>2]=c+e;H[a+4>>2]=b+c;H[a>>2]=c;if(!d){break b}ra(d);break b}if(b>>>0>=f>>>0){break b}H[a+4>>2]=b+d}b=H[a+28>>2];c=b;d=b+1|0;b=H[a+24>>2]+1|0;d=b?c:d;H[a+24>>2]=b;H[a+28>>2]=d;return}va();v()}function yb(a){var b=0,c=0,d=0,e=0;c=H[a+128>>2];if(c){d=c;b=H[a+132>>2];if((c|0)!=(b|0)){while(1){d=b-12|0;e=H[d>>2];if(e){H[b-8>>2]=e;ra(e)}b=d;if((c|0)!=(b|0)){continue}break}d=H[a+128>>2]}H[a+132>>2]=c;ra(d)}c=H[a+116>>2];if(c){d=c;b=H[a+120>>2];if((c|0)!=(b|0)){while(1){d=b-12|0;e=H[d>>2];if(e){H[b-8>>2]=e;ra(e)}b=d;if((c|0)!=(b|0)){continue}break}d=H[a+116>>2]}H[a+120>>2]=c;ra(d)}b=H[a+104>>2];if(b){H[a+108>>2]=b;ra(b)}b=H[a+92>>2];if(b){H[a+96>>2]=b;ra(b)}_a(a+72|0);_a(a+52|0);_a(a+32|0)}function Hg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=fa-32|0;fa=a;a:{d=Pa(c);if(d>>>0<4294967280){b:{c:{if(d>>>0>=11){f=(d|15)+1|0;e=sa(f);H[a+24>>2]=f|-2147483648;H[a+16>>2]=e;H[a+20>>2]=d;break c}F[a+27|0]=d;e=a+16|0;if(!d){break b}}ta(e,c,d)}F[d+e|0]=0;F[a+4|0]=0;H[a>>2]=1701667182;F[a+11|0]=4;d=H[b+4>>2];c=-1;d:{if(!d){break d}d=ae(d,a,a+16|0);c=-1;if(!d){break d}c=Xd(b,H[d+24>>2])}b=c;if(F[a+11|0]<0){ra(H[a>>2])}if(F[a+27|0]<0){ra(H[a+16>>2])}fa=a+32|0;break a}Qa();v()}return b|0}function La(a){H[a>>2]=-1;H[a+4>>2]=0;H[a+8>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;F[a+28|0]=1;H[a+20>>2]=0;H[a+24>>2]=0;H[a+12>>2]=0;H[a+16>>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+68>>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+72>>2]=a+4;H[a+104>>2]=0;H[a+108>>2]=0;F[a+100|0]=1;H[a+112>>2]=0;H[a+116>>2]=0;H[a+120>>2]=0;H[a+124>>2]=0;H[a+128>>2]=0;H[a+132>>2]=0;H[a+136>>2]=0;H[a+140>>2]=0}function Sg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=fa-16|0;fa=d;H[d+12>>2]=0;a:{e=Pa(c);if(e>>>0<4294967280){b:{c:{if(e>>>0>=11){f=(e|15)+1|0;a=sa(f);H[d+8>>2]=f|-2147483648;H[d>>2]=a;H[d+4>>2]=e;break c}F[d+11|0]=e;a=d;if(!e){break b}}ta(a,c,e)}F[a+e|0]=0;a=rb(b,d);d:{if((a|0)==(b+4|0)){break d}b=H[a+32>>2];a=H[a+28>>2];if((b-a|0)!=4){break d}H[d+12>>2]=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24)}a=H[d+12>>2];if(F[d+11|0]<0){ra(H[d>>2])}fa=d+16|0;break a}Qa();v()}return a|0}function Ld(a,b){if(!a){return 0}a:{b:{if(a){if(b>>>0<=127){break b}c:{if(!H[H[4290]>>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[3992]=25;a=-1}else{a=1}break a}F[a|0]=b;a=1}return a}function $b(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=13724;b=H[a+68>>2];if(b){H[a+72>>2]=b;ra(b)}b=H[a+56>>2];if(b){H[a+60>>2]=b;ra(b)}b=H[a+44>>2];if(b){H[a+48>>2]=b;ra(b)}b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}b=H[a+20>>2];if(b){H[a+24>>2]=b;ra(b)}b=H[a+8>>2];if(b){d=b;c=H[a+12>>2];if((b|0)!=(c|0)){while(1){c=c-4|0;d=H[c>>2];H[c>>2]=0;if(d){Ja(d)}if((b|0)!=(c|0)){continue}break}d=H[a+8>>2]}H[a+12>>2]=b;ra(d)}b=H[a+4>>2];H[a+4>>2]=0;if(b){Sc(b)}return a|0}function Aa(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=ua(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?1073741823:d>>>0<i>>>0?i:d;if(d){if(d>>>0>=1073741824){break a}c=sa(d<<2)}b=b<<2;b=ua((h<<2)+c|0,0,b)+b|0;if((g|0)>0){ta(c,f,g)}H[a+8>>2]=(d<<2)+c;H[a+4>>2]=b;H[a>>2]=c;if(f){ra(f)}return}va();v()}za();v()}function sb(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=ua(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?536870911:d>>>0<i>>>0?i:d;if(d){if(d>>>0>=536870912){break a}c=sa(d<<3)}b=b<<3;b=ua((h<<3)+c|0,0,b)+b|0;if((g|0)>0){ta(c,f,g)}H[a+8>>2]=(d<<3)+c;H[a+4>>2]=b;H[a>>2]=c;if(f){ra(f)}return}va();v()}za();v()}function eb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=H[a>>2];a=H[e+4>>2];c=H[e+8>>2];if(a>>>0<c>>>0){H[a>>2]=H[b>>2];H[e+4>>2]=a+4;return}a:{f=H[e>>2];g=a-f|0;d=g>>2;a=d+1|0;if(a>>>0<1073741824){h=d<<2;c=c-f|0;d=c>>1;c=c>>>0>=2147483644?1073741823:a>>>0<d>>>0?d:a;if(c){if(c>>>0>=1073741824){break a}a=sa(c<<2)}else{a=0}d=h+a|0;H[d>>2]=H[b>>2];if((g|0)>0){ta(a,f,g)}H[e+8>>2]=a+(c<<2);H[e+4>>2]=d+4;H[e>>2]=a;if(f){ra(f)}return}va();v()}za();v()}function Rc(a,b){var c=0,d=0,e=0,f=0;c=a+4|0;a=rb(a,b);a:{if((c|0)==(a|0)){break a}b=a+28|0;b=F[a+39|0]<0?H[b>>2]:b;while(1){a=b;b=a+1|0;c=F[a|0];if((c|0)==32|c-9>>>0<5){continue}break}b:{c:{d:{c=F[a|0];switch(c-43|0){case 0:break c;case 2:break d;default:break b}}e=1}c=F[b|0];a=b}if(c-48>>>0<10){while(1){d=(N(d,10)-F[a|0]|0)+48|0;b=F[a+1|0];a=a+1|0;if(b-48>>>0<10){continue}break}}a=e?d:0-d|0;if((a|0)==-1){break a}f=(a|0)!=0}return f}function jf(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=2328;b=H[a+60>>2];H[a+60>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}d=H[a+36>>2];if(d){c=H[a+40>>2];b=d;if((c|0)!=(b|0)){while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}if((c|0)!=(d|0)){continue}break}b=H[a+36>>2]}H[a+40>>2]=d;ra(b)}H[a>>2]=1984;b=H[a+16>>2];if(b){H[a+20>>2]=b;ra(b)}b=H[a+4>>2];if(b){H[a+8>>2]=b;ra(b)}return a|0}function hf(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=2328;b=H[a+60>>2];H[a+60>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}d=H[a+36>>2];if(d){c=H[a+40>>2];b=d;if((c|0)!=(b|0)){while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}if((c|0)!=(d|0)){continue}break}b=H[a+36>>2]}H[a+40>>2]=d;ra(b)}H[a>>2]=1984;b=H[a+16>>2];if(b){H[a+20>>2]=b;ra(b)}b=H[a+4>>2];if(b){H[a+8>>2]=b;ra(b)}ra(a)}function pe(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=H[a+8>>2];c=H[a+4>>2];if(e-c>>1>>>0>=b>>>0){if(b){b=b<<1;c=ua(c,0,b)+b|0}H[a+4>>2]=c;return}a:{f=H[a>>2];g=c-f|0;h=g>>1;d=h+b|0;if((d|0)>=0){c=0;e=e-f|0;d=e>>>0>=2147483646?2147483647:d>>>0<e>>>0?e:d;if(d){if((d|0)<0){break a}c=sa(d<<1)}b=b<<1;b=ua((h<<1)+c|0,0,b)+b|0;if((g|0)>0){ta(c,f,g)}H[a+8>>2]=(d<<1)+c;H[a+4>>2]=b;H[a>>2]=c;if(f){ra(f)}return}va();v()}za();v()}function vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=fa-16|0;fa=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}Yb(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}Yb(b,H[b+4>>2],a+20|0,a+24|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}Yb(b,H[b+4>>2],d+15|0,d+16|0)}fa=d+16|0;return(e|0)!=-1|0}function Dh(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){Aa(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}Ea();v()}function Na(a,b){var c=0,d=0,e=0,f=0,g=0;c=H[a+4>>2];if((c|0)!=H[a+8>>2]){H[c>>2]=H[b>>2];H[a+4>>2]=c+4;return}a:{g=H[a>>2];e=c-g|0;f=e>>2;c=f+1|0;if(c>>>0<1073741824){d=e>>1;d=e>>>0>=2147483644?1073741823:c>>>0<d>>>0?d:c;if(d){if(d>>>0>=1073741824){break a}c=sa(d<<2)}else{c=0}f=c+(f<<2)|0;H[f>>2]=H[b>>2];if((e|0)>0){ta(c,g,e)}H[a+8>>2]=c+(d<<2);H[a+4>>2]=f+4;H[a>>2]=c;if(g){ra(g)}return}va();v()}za();v()}function ng(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=fa-16|0;fa=d;Ne(d,a,b,c);H[a+24>>2]=H[d>>2];e=a+24|0;a:{if((e|0)==(d|0)){break a}b=a+28|0;c=d|4;f=I[d+15|0];g=f<<24>>24;if(F[a+39|0]>=0){if((g|0)>=0){a=H[c+4>>2];H[b>>2]=H[c>>2];H[b+4>>2]=a;H[b+8>>2]=H[c+8>>2];break a}Zb(b,H[d+4>>2],H[d+8>>2]);break a}a=(g|0)<0;_b(b,a?H[d+4>>2]:c,a?H[d+8>>2]:f)}if(F[d+15|0]<0){ra(H[d+4>>2])}fa=d+16|0;return e|0}function mg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=fa-16|0;fa=d;Me(d,a,b,c);H[a+24>>2]=H[d>>2];e=a+24|0;a:{if((e|0)==(d|0)){break a}b=a+28|0;c=d|4;f=I[d+15|0];g=f<<24>>24;if(F[a+39|0]>=0){if((g|0)>=0){a=H[c+4>>2];H[b>>2]=H[c>>2];H[b+4>>2]=a;H[b+8>>2]=H[c+8>>2];break a}Zb(b,H[d+4>>2],H[d+8>>2]);break a}a=(g|0)<0;_b(b,a?H[d+4>>2]:c,a?H[d+8>>2]:f)}if(F[d+15|0]<0){ra(H[d+4>>2])}fa=d+16|0;return e|0}function Ec(a,b,c){var d=0,e=0,f=0;d=H[c+16>>2];a:{if(!d){if(Rd(c)){break a}d=H[c+16>>2]}f=H[c+20>>2];if(d-f>>>0<b>>>0){return ha[H[c+36>>2]](c,a,b)|0}b:{if(H[c+80>>2]<0){d=0;break b}e=b;while(1){d=e;if(!d){d=0;break b}e=d-1|0;if(I[e+a|0]!=10){continue}break}e=ha[H[c+36>>2]](c,a,d)|0;if(e>>>0<d>>>0){break a}a=a+d|0;b=b-d|0;f=H[c+20>>2]}ta(f,a,b);H[c+20>>2]=H[c+20>>2]+b;e=b+d|0}return e}function Jb(a,b){var c=0,d=0,e=0,f=0;d=H[a+12>>2];c=H[a+16>>2]-d>>2;a:{if(c>>>0<b>>>0){Aa(a+12|0,b-c|0);break a}if(b>>>0>=c>>>0){break a}H[a+16>>2]=d+(b<<2)}b:{c=H[a>>2];c:{if(H[a+8>>2]-c>>2>>>0>=b>>>0){break c}if(b>>>0>=1073741824){break b}d=H[a+4>>2];e=b<<2;b=sa(e);e=b+e|0;d=d-c|0;f=d+b|0;if((d|0)>0){ta(b,c,d)}H[a+8>>2]=e;H[a+4>>2]=f;H[a>>2]=b;if(!c){break c}ra(c)}return}va();v()}function Pg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=fa-16|0;fa=d;a:{e=Pa(c);if(e>>>0<4294967280){b:{c:{if(e>>>0>=11){g=(e|15)+1|0;f=sa(g);H[d+8>>2]=g|-2147483648;H[d>>2]=f;H[d+4>>2]=e;break c}F[d+11|0]=e;f=d;if(!e){break b}}ta(f,c,e)}F[e+f|0]=0;f=a+16|0;c=_d(b,d,f);b=H[a+16>>2];a=F[a+27|0];if(F[d+11|0]<0){ra(H[d>>2])}fa=d+16|0;a=c?(a|0)<0?b:f:0;break a}Qa();v()}return a|0}function _c(a){var b=0,c=0,d=0,e=0;if(I[a+76|0]){F[a+76|0]=0;d=H[a+60>>2];c=H[a+72>>2]+7|0;b=c>>>0<7?1:b;e=b>>>3|0;c=b<<29|c>>>3;b=c+H[a+56>>2]|0;d=d+e|0;H[a+56>>2]=b;H[a+60>>2]=b>>>0<c>>>0?d+1|0:d}if(J[a+38>>1]<=513){F[a+132|0]=0;d=H[a+116>>2];b=0;c=H[a+128>>2]+7|0;b=c>>>0<7?1:b;e=b>>>3|0;c=b<<29|c>>>3;b=c+H[a+112>>2]|0;d=d+e|0;H[a+112>>2]=b;H[a+116>>2]=b>>>0<c>>>0?d+1|0:d}}function qe(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>10){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=F[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;b:{if((e|0)<0){if(!qe(a+1|0,b,c)){break a}c=H[b>>2];a=H[b+4>>2]<<7|c>>>25;c=e&127|c<<7;break b}a=0;c=e&255}H[b>>2]=c;H[b+4>>2]=a;g=1}return g}function jb(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>10){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=F[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;b:{if((e|0)<0){if(!jb(a+1|0,b,c)){break a}c=H[b>>2];a=H[b+4>>2]<<7|c>>>25;c=e&127|c<<7;break b}a=0;c=e&255}H[b>>2]=c;H[b+4>>2]=a;g=1}return g}function Ce(a,b){var c=0,d=0,e=0,f=0,g=0;H[a+144>>2]=b;c=H[(ha[H[H[b>>2]+32>>2]](b)|0)+32>>2];e=H[c>>2]+H[c+16>>2]|0;d=H[(ha[H[H[b>>2]+32>>2]](b)|0)+32>>2];c=H[d+8>>2];d=H[d+16>>2];c=c-d|0;f=a,g=J[H[(ha[H[H[b>>2]+32>>2]](b)|0)+32>>2]+38>>1],G[f+38>>1]=g;H[a>>2]=e;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=c;H[a+12>>2]=0;f=a,g=ha[H[H[b>>2]+36>>2]](b)|0,H[f+148>>2]=g}function Hf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Za(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(!Za(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 Fh(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=fa+-64|0;fa=d;e=ha[H[H[a>>2]+44>>2]](a,b)|0;a=ha[H[H[a>>2]+40>>2]](a,b)|0;f=Gb(d);g=H[b+56>>2];h=e&255;i=a;a=a-1|0;if(a>>>0<=10){a=H[(a<<2)+13584>>2]}else{a=-1}a=N(a,e);lc(f,g,h,i,0,a,a>>31);a=fc(sa(96),f);qb(a,c);F[a+84|0]=1;H[a+72>>2]=H[a+68>>2];H[a+60>>2]=H[b+60>>2];fa=d- -64|0;return a|0}function pi(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=11276;b=H[a+48>>2];H[a+48>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}H[a>>2]=13280;b=H[a+20>>2];if(b){H[a+24>>2]=b;ra(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];b=d;if((c|0)!=(b|0)){while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}if((c|0)!=(d|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;ra(b)}return a|0}function Ah(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=H[a+32>>2];f=H[b+8>>2];e=H[b+12>>2];d=H[b+20>>2];h=f;f=H[b+16>>2];g=f+4|0;d=g>>>0<4?d+1|0:d;a:{if(h>>>0<g>>>0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}c=f+H[b>>2]|0;e=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+16>>2]=g;H[b+20>>2]=d;c=0;if((e|0)<0){break a}H[H[a+4>>2]+80>>2]=e;c=1}return c|0}function qc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!b){H[c>>2]=0;return}g=0-I[a+12|0]&255;e=H[a+8>>2];h=H[a>>2];while(1){i=d<<1;a:{if(e>>>0>4095){break a}d=H[a+4>>2];if((d|0)<=0){break a}d=d-1|0;H[a+4>>2]=d;e=I[d+h|0]|e<<8}f=e&255;d=f>>>0<g>>>0;j=f;f=N(e>>>8|0,g);e=d?j+f|0:e-(g+f|0)|0;H[a+8>>2]=e;d=d|i;b=b-1|0;if(b){continue}break}H[c>>2]=d}function Bd(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 oi(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=11276;b=H[a+48>>2];H[a+48>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}H[a>>2]=13280;b=H[a+20>>2];if(b){H[a+24>>2]=b;ra(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];b=d;if((c|0)!=(b|0)){while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}if((c|0)!=(d|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;ra(b)}ra(a)}function yh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=H[a+32>>2];e=H[d+12>>2];g=H[d+8>>2];b=g;c=H[d+20>>2];h=H[d+16>>2];f=h+4|0;c=f>>>0<4?c+1|0:c;if((c|0)<=(e|0)&b>>>0>=f>>>0|(c|0)<(e|0)){b=h+H[d>>2]|0;b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[d+16>>2]=f;H[d+20>>2]=c;H[H[a+4>>2]+80>>2]=b}return(c|0)<=(e|0)&f>>>0<=g>>>0|(c|0)<(e|0)}function Lf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=fa+-64|0;fa=e;d=1;a:{if(Za(a,b,0)){break a}d=0;if(!b){break a}b=Ed(b,14972);d=0;if(!b){break a}d=e+8|0;ua(d|4,0,52);H[e+56>>2]=1;H[e+20>>2]=-1;H[e+16>>2]=a;H[e+8>>2]=b;ha[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}fa=e- -64|0;return d|0}function Ge(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=fa-16|0;fa=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;fa=d+16|0}function xg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a=fa-16|0;fa=a;f=F[b+24|0];e=H[3411];H[a+8>>2]=H[3410];H[a+12>>2]=e;e=H[3409];H[a>>2]=H[3408];H[a+4>>2]=e;e=Ya(b,c,f,a);if(e){b=0;if(f){c=(f&255)<<2;b=sa(c);g=ta(b,a,c)+c|0}c=H[d>>2];if(c){H[d+4>>2]=c;ra(c)}H[d+8>>2]=g;H[d+4>>2]=g;H[d>>2]=b}fa=a+16|0;return e|0}function nf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=ha[H[H[a>>2]+24>>2]](a)|0;c=1;a:{if((f|0)<=0){break a}d=H[H[a+36>>2]>>2];g=a+48|0;c=0;if(!(ha[H[H[d>>2]+16>>2]](d,g,b)|0)){break a}while(1){e=e+1|0;if((f|0)!=(e|0)){d=H[H[a+36>>2]+(e<<2)>>2];if(ha[H[H[d>>2]+16>>2]](d,g,b)|0){continue}}break}c=(e|0)>=(f|0)}return c|0}function mf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=ha[H[H[a>>2]+24>>2]](a)|0;c=1;a:{if((f|0)<=0){break a}d=H[H[a+36>>2]>>2];g=a+48|0;c=0;if(!(ha[H[H[d>>2]+20>>2]](d,g,b)|0)){break a}while(1){e=e+1|0;if((f|0)!=(e|0)){d=H[H[a+36>>2]+(e<<2)>>2];if(ha[H[H[d>>2]+20>>2]](d,g,b)|0){continue}}break}c=(e|0)>=(f|0)}return c|0}function ac(a){var b=0;H[a>>2]=0;H[a+4>>2]=0;H[a+56>>2]=0;H[a+48>>2]=0;H[a+52>>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;b=a- -64|0;H[b>>2]=0;H[b+4>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[a+84>>2]=0;H[a+60>>2]=a;return a}function _h(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=fa-16|0;fa=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;fa=d+16|0}function Yc(a,b){var c=0,d=0;a:{c=H[a+4>>2];d=H[a+8>>2];if((c|0)==d<<5){if((c+1|0)<0){break a}if(c>>>0<=1073741822){d=d<<6;c=(c&-32)+32|0;c=c>>>0<d>>>0?d:c}else{c=2147483647}tb(a,c);c=H[a+4>>2]}H[a+4>>2]=c+1;d=1<<c;a=H[a>>2]+(c>>>3&536870908)|0;if(I[b|0]){H[a>>2]=d|H[a>>2];return}H[a>>2]=H[a>>2]&(d^-1);return}va();v()}function sd(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>5){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=I[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;d=e<<24>>24;if((d|0)<0){if(!sd(a+1|0,b,c)){break a}e=d&127|H[b>>2]<<7}H[b>>2]=e;g=1}return g}function kb(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>5){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=I[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;d=e<<24>>24;if((d|0)<0){if(!kb(a+1|0,b,c)){break a}e=d&127|H[b>>2]<<7}H[b>>2]=e;g=1}return g}function ab(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>5){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=I[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;d=e<<24>>24;if((d|0)<0){if(!ab(a+1|0,b,c)){break a}e=d&127|H[b>>2]<<7}H[b>>2]=e;g=1}return g}function Oe(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>5){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=I[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;d=e<<24>>24;if((d|0)<0){if(!Oe(a+1|0,b,c)){break a}e=d&127|H[b>>2]<<7}H[b>>2]=e;g=1}return g}function Nc(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>5){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=I[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;d=e<<24>>24;if((d|0)<0){if(!Nc(a+1|0,b,c)){break a}e=d&127|H[b>>2]<<7}H[b>>2]=e;g=1}return g}function Hb(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>5){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=I[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;d=e<<24>>24;if((d|0)<0){if(!Hb(a+1|0,b,c)){break a}e=d&127|H[b>>2]<<7}H[b>>2]=e;g=1}return g}function Ga(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>5){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=I[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;d=e<<24>>24;if((d|0)<0){if(!Ga(a+1|0,b,c)){break a}e=d&127|H[b>>2]<<7}H[b>>2]=e;g=1}return g}function Db(a,b,c){var d=0,e=0,f=0,g=0;a:{if(a>>>0>5){break a}d=H[c+20>>2];e=H[c+12>>2];f=H[c+16>>2];if((d|0)>=(e|0)&f>>>0>=K[c+8>>2]|(d|0)>(e|0)){break a}e=I[f+H[c>>2]|0];f=f+1|0;d=f?d:d+1|0;H[c+16>>2]=f;H[c+20>>2]=d;d=e<<24>>24;if((d|0)<0){if(!Db(a+1|0,b,c)){break a}e=d&127|H[b>>2]<<7}H[b>>2]=e;g=1}return g}function Ha(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 Wc(a){var b=0,c=0,d=0,e=0;d=H[a>>2];if(d){e=d;c=H[a+4>>2];if((d|0)!=(c|0)){while(1){e=c-144|0;b=H[e+132>>2];if(b){H[c-8>>2]=b;ra(b)}b=H[c-28>>2];if(b){H[c-24>>2]=b;ra(b)}b=H[c-40>>2];if(b){H[c-36>>2]=b;ra(b)}pc(c-140|0);c=e;if((d|0)!=(c|0)){continue}break}e=H[a>>2]}H[a+4>>2]=d;ra(e)}}function Cg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=H[b+4>>2];a:{if(!d){break a}b=H[H[H[b+8>>2]+(c<<2)>>2]+60>>2];if((b|0)<0){break a}a=H[d+24>>2];c=H[d+28>>2];if((a|0)==(c|0)){break a}b:{while(1){e=H[a>>2];if((b|0)==H[e+24>>2]){break b}a=a+4|0;if((c|0)!=(a|0)){continue}break}e=0}}return e|0}function Yh(a){a=a|0;var b=0;H[a+8>>2]=12384;H[a>>2]=12172;b=H[a+96>>2];if(b){H[a+100>>2]=b;ra(b)}b=H[a+80>>2];if(b){H[a+84>>2]=b;ra(b)}b=H[a+68>>2];if(b){H[a+72>>2]=b;ra(b)}b=H[a+56>>2];if(b){H[a+60>>2]=b;ra(b)}H[a+8>>2]=12620;b=H[a+44>>2];if(b){ra(b)}b=H[a+32>>2];if(b){ra(b)}return a|0}function Sc(a){var b=0,c=0,d=0;if(a){d=H[a+24>>2];if(d){b=d;c=H[a+28>>2];if((b|0)!=(c|0)){while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){Ua(b+12|0,H[b+16>>2]);Ta(b,H[b+4>>2]);ra(b)}if((c|0)!=(d|0)){continue}break}b=H[a+24>>2]}H[a+28>>2]=d;ra(b)}Ua(a+12|0,H[a+16>>2]);Ta(a,H[a+4>>2]);ra(a)}}function Xh(a){a=a|0;var b=0;H[a+8>>2]=12384;H[a>>2]=12172;b=H[a+96>>2];if(b){H[a+100>>2]=b;ra(b)}b=H[a+80>>2];if(b){H[a+84>>2]=b;ra(b)}b=H[a+68>>2];if(b){H[a+72>>2]=b;ra(b)}b=H[a+56>>2];if(b){H[a+60>>2]=b;ra(b)}H[a+8>>2]=12620;b=H[a+44>>2];if(b){ra(b)}b=H[a+32>>2];if(b){ra(b)}ra(a)}function ui(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=13280;b=H[a+20>>2];if(b){H[a+24>>2]=b;ra(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];b=d;if((c|0)!=(b|0)){while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}if((c|0)!=(d|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;ra(b)}return a|0}function yc(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 Uc(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=13280;b=H[a+20>>2];if(b){H[a+24>>2]=b;ra(b)}d=H[a+8>>2];if(d){c=H[a+12>>2];b=d;if((c|0)!=(b|0)){while(1){c=c-4|0;b=H[c>>2];H[c>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}if((c|0)!=(d|0)){continue}break}b=H[a+8>>2]}H[a+12>>2]=d;ra(b)}ra(a)}function Za(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 Zh(a){a=a|0;var b=0;H[a>>2]=12384;b=H[a+88>>2];if(b){H[a+92>>2]=b;ra(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;ra(b)}b=H[a+60>>2];if(b){H[a- -64>>2]=b;ra(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}H[a>>2]=12620;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}return a|0}function Eg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=H[b+12>>2];b=H[b+8>>2];a=0;a:{if((d|0)==(b|0)){break a}a=d-b>>2;d=a>>>0<=1?1:a;a=0;b:{while(1){e=H[b+(a<<2)>>2];if(H[e+60>>2]==(c|0)){break b}a=a+1|0;if((d|0)!=(a|0)){continue}break}a=0;break a}a=(a|0)!=-1?e:0}return a|0}function $d(a,b){var c=0,d=0,e=0;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;a:{c=H[b+4>>2];d=H[b>>2];b:{if((c|0)==(d|0)){a=c;break b}c=c-d|0;if((c|0)<0){break a}d=c;e=sa(c);c=ua(e,0,c);d=d+c|0;H[a+8>>2]=d;H[a+4>>2]=d;H[a>>2]=c;c=H[b>>2];a=H[b+4>>2]}ta(e,c,a-c|0);return}va();v()}function cd(a){var b=0,c=0,d=0,e=0;c=H[a+4>>2];d=H[a>>2];if((c|0)!=(d|0)){while(1){e=c-144|0;b=H[e+132>>2];if(b){H[c-8>>2]=b;ra(b)}b=H[c-28>>2];if(b){H[c-24>>2]=b;ra(b)}b=H[c-40>>2];if(b){H[c-36>>2]=b;ra(b)}pc(c-140|0);c=e;if((d|0)!=(c|0)){continue}break}}H[a+4>>2]=d}function Uh(a){a=a|0;var b=0;H[a>>2]=12384;b=H[a+88>>2];if(b){H[a+92>>2]=b;ra(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;ra(b)}b=H[a+60>>2];if(b){H[a- -64>>2]=b;ra(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}H[a>>2]=12620;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}ra(a)}function Lb(a,b){var c=0,d=0,e=0,f=0;a:{c=H[a>>2];b:{if(H[a+8>>2]-c>>2>>>0>=b>>>0){break b}if(b>>>0>=1073741824){break a}d=H[a+4>>2];e=b<<2;b=sa(e);e=b+e|0;d=d-c|0;f=d+b|0;if((d|0)>0){ta(b,c,d)}H[a+8>>2]=e;H[a+4>>2]=f;H[a>>2]=b;if(!c){break b}ra(c)}return}va();v()}function fb(a){var b=0;if(a){b=H[a+76>>2];if(b){H[a+80>>2]=b;ra(b)}b=H[a- -64>>2];if(b){H[a+68>>2]=b;ra(b)}b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}b=H[a+24>>2];if(b){H[a+28>>2]=b;ra(b)}b=H[a+12>>2];if(b){H[a+16>>2]=b;ra(b)}b=H[a>>2];if(b){H[a+4>>2]=b;ra(b)}ra(a)}}function pc(a){var b=0;b=H[a+84>>2];if(b){H[a+88>>2]=b;ra(b)}b=H[a+72>>2];if(b){H[a+76>>2]=b;ra(b)}b=H[a+52>>2];if(b){H[a+56>>2]=b;ra(b)}b=H[a+40>>2];if(b){H[a+44>>2]=b;ra(b)}b=H[a+28>>2];if(b){H[a+32>>2]=b;ra(b)}b=H[a+12>>2];if(b){ra(b)}a=H[a>>2];if(a){ra(a)}}function Jd(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=fa-16|0;fa=f;d=fa-16|0;fa=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}fa=d+16|0;fa=f+16|0;return a}function Ba(a,b,c){var d=0,e=0;a:{b:{if(c>>>0<11){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=sa(e);H[a>>2]=d;H[a+8>>2]=e|-2147483648;H[a+4>>2]=c}Bb(d,b,c+1|0);return}Qa();v()}function Vc(a,b){var c=0,d=0;d=sa(40);H[d>>2]=-1;c=d+8|0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;ha[H[H[a>>2]+16>>2]](a,d);a=H[b+88>>2];H[b+88>>2]=d;if(a){b=H[a+8>>2];if(b){H[a+12>>2]=b;ra(b)}ra(a)}return 1}function Pa(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}while(1){b=c;c=b+1|0;if(I[b|0]){continue}break}}return b-a|0}function Da(a){var b=0,c=0,d=0,e=0,f=0;d=I[a+12|0];c=H[a+8>>2];a:{if(c>>>0>4095){break a}b=H[a+4>>2];if((b|0)<=0){break a}b=b-1|0;H[a+4>>2]=b;c=I[b+H[a>>2]|0]|c<<8}d=0-d&255;b=N(d,c>>>8|0);e=c&255;f=e>>>0<d>>>0;H[a+8>>2]=f?b+e|0:c-(b+d|0)|0;return f}function md(a,b){H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=1984;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>>2]=2328;H[a+60>>2]=b;H[a+44>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;return a}function Mg(a){a=a|0;var b=0,c=0,d=0;if(a){if(F[a+27|0]<0){ra(H[a+16>>2])}b=H[a>>2];if(b){c=b;d=H[a+4>>2];if((b|0)!=(d|0)){while(1){c=d-12|0;if(F[d-1|0]<0){ra(H[c>>2])}d=c;if((d|0)!=(b|0)){continue}break}c=H[a>>2]}H[a+4>>2]=b;ra(c)}ra(a)}}function Ja(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;ra(c)}ra(b)}b=H[a+68>>2];if(b){H[a+72>>2]=b;ra(b)}b=H[a+64>>2];H[a+64>>2]=0;if(b){c=H[b>>2];if(c){H[b+4>>2]=c;ra(c)}ra(b)}ra(a)}}function Nd(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)>(b^2147483647)?-1:c+b|0}H[a>>2]=d+1;b=c;if(F[d+1|0]-48>>>0<10){continue}break}return b}function nc(a,b){var c=0,d=0,e=0;c=Pa(b);if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=(c|15)+1|0;d=sa(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}}ta(d,b,c)}F[c+d|0]=0;return a}Qa();v()}function zi(a){a=a|0;var b=0;H[a+24>>2]=1832;H[a>>2]=11048;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}H[a>>2]=2448;b=H[a+20>>2];H[a+20>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}H[a>>2]=2232;b=H[a+16>>2];H[a+16>>2]=0;if(b){Ja(b)}return a|0}function Bg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=H[b+96>>2];a=sa(12);b=b+N(c,12)|0;c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;H[a+8>>2]=H[b+8>>2];b=H[d>>2];if(b){H[d+4>>2]=b;ra(b)}H[d>>2]=a;a=a+12|0;H[d+8>>2]=a;H[d+4>>2]=a;return 1}function Oj(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=Pj(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;ga=(g^ga)-((a>>>0<f>>>0)+g|0)|0;return b}function yi(a){a=a|0;var b=0;H[a+24>>2]=1832;H[a>>2]=11048;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}H[a>>2]=2448;b=H[a+20>>2];H[a+20>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}H[a>>2]=2232;b=H[a+16>>2];H[a+16>>2]=0;if(b){Ja(b)}ra(a)}function _b(a,b,c){var d=0,e=0,f=0;e=fa-16|0;fa=e;d=H[a+8>>2]&2147483647;a:{if(d>>>0>c>>>0){d=H[a>>2];H[a+4>>2]=c;Bb(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];Fd(f,d-1|0,(c-d|0)+1|0,a,a,c,b)}fa=e+16|0}function Af(a,b){a=a|0;b=b|0;var c=0,d=0;c=fa-16|0;fa=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}Yb(b,H[b+4>>2],c+15|0,c+16|0)}fa=c+16|0;return(a|0)!=-1|0}function Nj(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;ga=(N(b,c)+j|0)+N(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function Dd(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 sh(){var a=0;a=Gb(sa(96));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|0}function xi(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){mc(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 pj(a){a=a|0;var b=0;H[a>>2]=5580;b=H[a+96>>2];if(b){ra(b)}b=H[a+84>>2];if(b){ra(b)}b=H[a+72>>2];if(b){ra(b)}b=H[a+60>>2];if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function mb(a,b,c,d,e){var f=0;f=fa-256|0;fa=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;ua(f,b&255,c?d:256);if(!c){while(1){Cb(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}Cb(a,f,d)}fa=f+256|0}function Fj(a){a=a|0;var b=0;H[a>>2]=3564;b=H[a+96>>2];if(b){ra(b)}b=H[a+84>>2];if(b){ra(b)}b=H[a+72>>2];if(b){ra(b)}b=H[a+60>>2];if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function Bh(a){a=a|0;var b=0,c=0,d=0;b=H[a+8>>2];d=H[a+12>>2];if((b|0)==(d|0)){return 1}while(1){c=H[b>>2];c=ha[H[H[c>>2]+16>>2]](c,H[a+32>>2])|0;if(c){b=b+4|0;if((d|0)!=(b|0)){continue}}break}return c|0}function Xd(a,b){var c=0,d=0;c=H[a+8>>2];a=H[a+12>>2];if((c|0)!=(a|0)){a=a-c>>2;d=a>>>0<=1?1:a;a=0;while(1){if(H[H[(a<<2)+c>>2]+60>>2]==(b|0)){return a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}return-1}function Vf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;Vd(a,b);a:{if((b|0)<0){break a}d=H[a+88>>2];c=H[a+84>>2];if(d-c>>2<=(b|0)){break a}b=c+(b<<2)|0;c=b+4|0;e=d-c|0;if((c|0)!=(d|0)){Sa(b,c,e)}H[a+88>>2]=b+e}}function oj(a){a=a|0;var b=0;H[a>>2]=5580;b=H[a+96>>2];if(b){ra(b)}b=H[a+84>>2];if(b){ra(b)}b=H[a+72>>2];if(b){ra(b)}b=H[a+60>>2];if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function Ej(a){a=a|0;var b=0;H[a>>2]=3564;b=H[a+96>>2];if(b){ra(b)}b=H[a+84>>2];if(b){ra(b)}b=H[a+72>>2];if(b){ra(b)}b=H[a+60>>2];if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function _d(a,b,c){var d=0,e=0;d=a+4|0;a=rb(a,b);if((d|0)==(a|0)){return 0}b=H[a+32>>2];d=H[a+28>>2];if((b|0)!=(d|0)){Cc(c,b-d|0);e=Dc(c);c=H[a+28>>2];ta(e,c,H[a+32>>2]-c|0)}return(b|0)!=(d|0)}function Pf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=fa-16|0;fa=e;a=ba(H[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){H[3992]=a;a=-1}else{a=0}fa=e+16|0;ga=a?-1:H[e+12>>2];return(a?-1:H[e+8>>2])|0}function Rd(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 Gb(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 gf(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}c=ub(H[H[a+36>>2]+(b<<2)>>2])}return c|0}function Lg(){var a=0,b=0;a=sa(40);H[a+4>>2]=0;H[a+8>>2]=0;H[a+24>>2]=0;H[a+28>>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;H[a+32>>2]=0;H[a+36>>2]=0;return a|0}function lb(a){var b=0,c=0;b=H[3958];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>ia()<<16>>>0){if(!(ca(a|0)|0)){break a}}H[3958]=a;return b}H[3992]=48;return-1}function Zb(a,b,c){var d=0,e=0;d=fa-16|0;fa=d;a:{if(c>>>0<=10){F[a+11|0]=c;Bb(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];Fd(e,10,c-10|0,a,a,c,b)}fa=d+16|0}function Qh(a){a=a|0;var b=0;H[a+8>>2]=12804;H[a>>2]=12640;b=H[a+56>>2];if(b){H[a+60>>2]=b;ra(b)}H[a+8>>2]=12620;b=H[a+44>>2];if(b){ra(b)}b=H[a+32>>2];if(b){ra(b)}return a|0}function Lh(a){a=a|0;var b=0;H[a+8>>2]=11872;H[a>>2]=12932;b=H[a+56>>2];if(b){H[a+60>>2]=b;ra(b)}H[a+8>>2]=12124;b=H[a+44>>2];if(b){ra(b)}b=H[a+32>>2];if(b){ra(b)}return a|0}function aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=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;a=H[a+8>>2];if(I[a+24|0]==3){d=H[a+28>>2]==9}return d|0}function vf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=H[a+8>>2];a:{if(!I[d+24|0]){break a}if(!qb(d,H[b+4>>2]-H[b>>2]>>2)){break a}e=ha[H[H[a>>2]+32>>2]](a,b,c)|0}return e|0}function Ph(a){a=a|0;var b=0;H[a+8>>2]=12804;H[a>>2]=12640;b=H[a+56>>2];if(b){H[a+60>>2]=b;ra(b)}H[a+8>>2]=12620;b=H[a+44>>2];if(b){ra(b)}b=H[a+32>>2];if(b){ra(b)}ra(a)}function Kh(a){a=a|0;var b=0;H[a+8>>2]=11872;H[a>>2]=12932;b=H[a+56>>2];if(b){H[a+60>>2]=b;ra(b)}H[a+8>>2]=12124;b=H[a+44>>2];if(b){ra(b)}b=H[a+32>>2];if(b){ra(b)}ra(a)}function lj(a){a=a|0;var b=0;H[a>>2]=5816;b=H[a+76>>2];if(b){ra(b)}b=H[a+68>>2];H[a+68>>2]=0;if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function Ua(a,b){if(b){Ua(a,H[b>>2]);Ua(a,H[b+4>>2]);a=H[b+28>>2];H[b+28>>2]=0;if(a){Ua(a+12|0,H[a+16>>2]);Ta(a,H[a+4>>2]);ra(a)}if(F[b+27|0]<0){ra(H[b+16>>2])}ra(b)}}function Fi(a,b,c){a=a|0;b=b|0;c=c|0;var d=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;return H[H[H[H[b+4>>2]+8>>2]+(c<<2)>>2]+28>>2]==9|0}function Bj(a){a=a|0;var b=0;H[a>>2]=3812;b=H[a+76>>2];if(b){ra(b)}b=H[a+68>>2];H[a+68>>2]=0;if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function Tc(a){H[a+40>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=13280;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;G[a+36>>1]=0;return a}function Gd(a,b){var c=0,d=0,e=0,f=0;H[a>>2]=15260;H[a>>2]=15372;c=Pa(b);d=sa(c+13|0);H[d+8>>2]=0;H[d+4>>2]=c;H[d>>2]=c;e=a,f=ta(d+12|0,b,c+1|0),H[e+4>>2]=f;return a}function Zf(a,b){a=a|0;b=b|0;var c=0;a:{if(!(ha[H[H[a>>2]+36>>2]](a,b)|0)){break a}if(!(ha[H[H[a>>2]+40>>2]](a,b)|0)){break a}c=ha[H[H[a>>2]+44>>2]](a)|0}return c|0}function kj(a){a=a|0;var b=0;H[a>>2]=5816;b=H[a+76>>2];if(b){ra(b)}b=H[a+68>>2];H[a+68>>2]=0;if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function Aj(a){a=a|0;var b=0;H[a>>2]=3812;b=H[a+76>>2];if(b){ra(b)}b=H[a+68>>2];H[a+68>>2]=0;if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function Ve(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]|!H[a+56>>2]){break a}b=H[a+92>>2]!=-1}return b|0}function bf(a){a=a|0;var b=0;H[a>>2]=2448;b=H[a+20>>2];H[a+20>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}H[a>>2]=2232;b=H[a+16>>2];H[a+16>>2]=0;if(b){Ja(b)}return a|0}function Mj(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 uc(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]|!H[a+40>>2]){break a}b=H[a+76>>2]!=-1}return b|0}function Rh(a){a=a|0;var b=0;H[a>>2]=12804;b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}H[a>>2]=12620;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}return a|0}function Fe(a){a=a|0;var b=0;H[a>>2]=11872;b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}H[a>>2]=12124;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}return a|0}function af(a){a=a|0;var b=0;H[a>>2]=2448;b=H[a+20>>2];H[a+20>>2]=0;if(b){ha[H[H[b>>2]+4>>2]](b)}H[a>>2]=2232;b=H[a+16>>2];H[a+16>>2]=0;if(b){Ja(b)}ra(a)}function vh(){var a=0,b=0;b=sa(40);H[b>>2]=-1;a=b+8|0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;return b|0}function ff(a,b){a=a|0;b=b|0;var c=0,d=0;d=H[a+4>>2];a:{if(d){c=1;if(I[d+36|0]<2){break a}}c=ha[H[H[a>>2]+48>>2]](a,H[b+4>>2]-H[b>>2]>>2)|0}return c|0}function bi(a){a=a|0;var b=0;H[a>>2]=11872;b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}H[a>>2]=12124;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}ra(a)}function Mh(a){a=a|0;var b=0;H[a>>2]=12804;b=H[a+48>>2];if(b){H[a+52>>2]=b;ra(b)}H[a>>2]=12620;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}ra(a)}function Ka(a){H[a+8>>2]=0;H[a+12>>2]=0;H[a>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+32>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;G[a+38>>1]=0;F[a+36|0]=0;return a}function Gf(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(Za(a,H[b+8>>2],f)){Bd(b,c,d,e);return}a=H[a+8>>2];ha[H[H[a>>2]+20>>2]](a,b,c,d,e,f)}function Di(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(I[H[a+4>>2]+36|0]>=2){b=0;if(!(ha[H[H[a>>2]+52>>2]](a)|0)){break a}}b=Vc(a+24|0,H[a+16>>2])}return b|0}function Ei(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(I[H[a+4>>2]+36|0]<=1){d=0;if(!(ha[H[H[a>>2]+52>>2]](a)|0)){break a}}d=ld(a,b,c)}return d|0}function fh(){var a=0;a=Zd(sa(108));H[a+84>>2]=0;H[a+88>>2]=0;H[a>>2]=13664;H[a+92>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0;H[a+104>>2]=0;return a|0}function Yd(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 lc(a,b,c,d,e,f,g){H[a>>2]=0;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]=e;H[a+28>>2]=d;F[a+24|0]=c}function _i(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(I[H[a+4>>2]+36|0]>=2){b=0;if(!yc(a+24|0,ub(a),c)){break a}}b=Vc(a+24|0,H[a+16>>2])}return b|0}function $i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(I[H[a+4>>2]+36|0]<=1){d=0;if(!yc(a+24|0,H[a+8>>2],c)){break a}}d=ld(a,b,c)}return d|0}function Yf(a){a=a|0;var b=0;H[a>>2]=13664;b=H[a+96>>2];if(b){H[a+100>>2]=b;ra(b)}b=H[a+84>>2];if(b){H[a+88>>2]=b;ra(b)}return $b(a)|0}function Dc(a){var b=0;if(I[a+11|0]>>>7|0){b=H[a+4>>2]}else{b=I[a+11|0]}if(!b){$e(1232);v()}if(I[a+11|0]>>>7|0){a=H[a>>2]}return a}function Xf(a){a=a|0;var b=0;H[a>>2]=13664;b=H[a+96>>2];if(b){H[a+100>>2]=b;ra(b)}b=H[a+84>>2];if(b){H[a+88>>2]=b;ra(b)}ra($b(a))}function xj(a){a=a|0;var b=0;H[a>>2]=4040;b=H[a+76>>2];if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function ij(a){a=a|0;var b=0;H[a>>2]=6032;b=H[a+76>>2];if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function Ta(a,b){if(b){Ta(a,H[b>>2]);Ta(a,H[b+4>>2]);a=H[b+28>>2];if(a){H[b+32>>2]=a;ra(a)}if(F[b+27|0]<0){ra(H[b+16>>2])}ra(b)}}function Ug(){var a=0;a=sa(28);H[a>>2]=0;H[a+4>>2]=0;H[a+24>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;return a|0}function kg(a){a=a|0;var b=0;H[a>>2]=1984;b=H[a+16>>2];if(b){H[a+20>>2]=b;ra(b)}b=H[a+4>>2];if(b){H[a+8>>2]=b;ra(b)}return a|0}function dh(){var a=0,b=0;a=sa(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 Jf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Za(a,H[b+8>>2],0)){Dd(b,c,d);return}a=H[a+8>>2];ha[H[H[a>>2]+28>>2]](a,b,c,d)}function wj(a){a=a|0;var b=0;H[a>>2]=4040;b=H[a+76>>2];if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function hj(a){a=a|0;var b=0;H[a>>2]=6032;b=H[a+76>>2];if(b){ra(b)}H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function sa(a){var b=0;a=a?a:1;a:{while(1){b=Hd(a);if(b){break a}b=H[4420];if(b){ha[b|0]();continue}break}Z();v()}return b}function Mb(a,b){if(b){Mb(a,H[b>>2]);Mb(a,H[b+4>>2]);if(F[b+39|0]<0){ra(H[b+28>>2])}if(F[b+27|0]<0){ra(H[b+16>>2])}ra(b)}}function Ad(a){a=a|0;var b=0,c=0;H[a>>2]=15372;b=H[a+4>>2]-12|0;c=H[b+8>>2]-1|0;H[b+8>>2]=c;if((c|0)<0){ra(b)}return a|0}function kh(){var a=0;a=sa(24);H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=-1;H[a>>2]=1832;H[a+16>>2]=0;H[a+20>>2]=0;return a|0}function nd(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 xc(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 uj(a){a=a|0;var b=0;H[a>>2]=4276;H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function fj(a){a=a|0;var b=0;H[a>>2]=6256;H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function ai(a){a=a|0;var b=0;H[a>>2]=12124;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}return a|0}function Th(a){a=a|0;var b=0;H[a>>2]=12620;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}return a|0}function lg(a){a=a|0;if(a){if(F[a+39|0]<0){ra(H[a+28>>2])}Mc(a+12|0,H[a+16>>2]);Mb(a,H[a+4>>2]);ra(a)}}function Rb(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 wc(a,b){a=a|0;b=b|0;var c=0;if(!(H[b+56>>2]|!b|I[b+24|0]!=3)){H[a+60>>2]=b;c=1}return c|0}function tj(a){a=a|0;var b=0;H[a>>2]=4276;H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function dj(a){a=a|0;var b=0;H[a>>2]=6256;H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function Sh(a){a=a|0;var b=0;H[a>>2]=12620;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}ra(a)}function $h(a){a=a|0;var b=0;H[a>>2]=12124;b=H[a+36>>2];if(b){ra(b)}b=H[a+24>>2];if(b){ra(b)}ra(a)}function wh(a,b,c){a=a|0;b=b|0;c=c|0;H[a+16>>2]=0;H[a+20>>2]=0;H[a>>2]=b;H[a+8>>2]=c;H[a+12>>2]=0}function Ue(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 zc(a){var b=0;b=H[a+16>>2];if(b){H[a+20>>2]=b;ra(b)}b=H[a>>2];if(b){H[a+4>>2]=b;ra(b)}}function tc(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 Ff(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(Za(a,H[b+8>>2],f)){Bd(b,c,d,e)}}function za(){var a=0;a=$(4)|0;H[a>>2]=15260;H[a>>2]=15220;H[a>>2]=15240;_(a|0,15352,14);v()}function rf(a){a=a|0;var b=0;H[a>>2]=2232;b=H[a+16>>2];H[a+16>>2]=0;if(b){Ja(b)}return a|0}function Hj(a){a=a|0;var b=0;H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}return a|0}function ji(a){a=a|0;var b=0;H[a>>2]=1832;b=H[a+8>>2];if(b){H[a+12>>2]=b;ra(b)}return a|0}function Bi(a){a=a|0;var b=0;b=ub(a);return He(a+24|0,b?b:H[a+8>>2],H[H[a+4>>2]+32>>2])|0}function qf(a){a=a|0;var b=0;H[a>>2]=2232;b=H[a+16>>2];H[a+16>>2]=0;if(b){Ja(b)}ra(a)}function Wb(a){a=a|0;var b=0;H[a>>2]=3272;b=H[a+32>>2];if(b){H[a+36>>2]=b;ra(b)}ra(a)}function ii(a){a=a|0;var b=0;H[a>>2]=1832;b=H[a+8>>2];if(b){H[a+12>>2]=b;ra(b)}ra(a)}function _a(a){var b=0;H[a+16>>2]=0;b=H[a>>2];H[a+4>>2]=b;H[a+12>>2]=b;if(b){ra(b)}}function Mc(a,b){if(b){Mc(a,H[b>>2]);Mc(a,H[b+4>>2]);Mb(b+20|0,H[b+24>>2]);ra(b)}}function wi(a){a=a|0;if(!H[a+44>>2]){return 0}return ha[H[H[a>>2]+48>>2]](a)|0}function uh(a){a=a|0;var b=0;if(a){b=H[a+8>>2];if(b){H[a+12>>2]=b;ra(b)}ra(a)}}function ti(a,b){a=a|0;b=b|0;a=H[a+48>>2];return ha[H[H[a>>2]+20>>2]](a,b)|0}
function Qj(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function Kf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Za(a,H[b+8>>2],0)){Dd(b,c,d)}}function mi(a,b){a=a|0;b=b|0;a=H[a+48>>2];return ha[H[H[a>>2]+12>>2]](a,b)|0}function li(a,b){a=a|0;b=b|0;a=H[a+48>>2];return ha[H[H[a>>2]+16>>2]](a,b)|0}function pb(){var a=0;a=sa(12);H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return a|0}function ob(a){a=a|0;var b=0;if(a){b=H[a>>2];if(b){H[a+4>>2]=b;ra(b)}ra(a)}}function Rj(a){var b=0;b=a&31;a=0-a&31;return(-1>>>b&-2)<<b|(-1<<a&-2)>>>a}function ch(a){a=a|0;if(a){Ua(a+12|0,H[a+16>>2]);Ta(a,H[a+4>>2]);ra(a)}}function Wg(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 Qd(a,b,c){a:{if(H[c+76>>2]<0){a=Ec(a,b,c);break a}a=Ec(a,b,c)}}function Ob(a,b){a=a|0;b=b|0;if(b>>>0<=1){H[a+28>>2]=b}return b>>>0<2|0}function Eh(a,b){a=a|0;b=b|0;F[b+84|0]=1;H[b+72>>2]=H[b+68>>2];return 1}function ri(a){a=a|0;a=H[a+48>>2];return ha[H[H[a>>2]+24>>2]](a)|0}function qi(a){a=a|0;a=H[a+48>>2];return ha[H[H[a>>2]+28>>2]](a)|0}function ni(a){a=a|0;a=H[a+48>>2];return ha[H[H[a>>2]+36>>2]](a)|0}function hh(){var a=0;a=sa(8);H[a+4>>2]=-1;H[a>>2]=1032;return a|0}function Fg(a,b,c){a=a|0;b=b|0;c=c|0;return H[H[b+8>>2]+(c<<2)>>2]}function Zi(a,b){a=a|0;b=b|0;return Cd(a+24|0,ub(a),H[a+8>>2])|0}function Ai(a,b){a=a|0;b=b|0;return Pe(a+24|0,ub(a),H[a+8>>2])|0}function wf(a,b){a=a|0;b=b|0;H[a+12>>2]=-1;H[a+8>>2]=b;return 1}function ne(a,b){a=a|0;b=b|0;return ha[H[H[a>>2]+12>>2]](a,b)|0}function Ef(a){a=a|0;if(!a){return 0}return(Ed(a,15068)|0)!=0|0}function Ci(a,b){a=a|0;b=b|0;return ha[H[H[a>>2]+56>>2]](a,b)|0}function $g(a){a=a|0;if(a){if(F[a+15|0]<0){ra(H[a+4>>2])}ra(a)}}function Se(a){a=Gd($(8)|0,a);H[a>>2]=15420;_(a|0,15452,1);v()}function $e(a){a=Gd($(8)|0,a);H[a>>2]=15472;_(a|0,15504,1);v()}function jh(a,b){a=a|0;b=b|0;return O(L[H[a+8>>2]+(b<<2)>>2])}function _g(a,b){a=a|0;b=b|0;return O(L[H[a>>2]+(b<<2)>>2])}function eh(a){a=a|0;return(H[a+100>>2]-H[a+96>>2]|0)/12|0}function ah(a){a=a|0;return(F[a+15|0]<0?H[a+4>>2]:a+4|0)|0}function Uf(a,b){a=a|0;b=b|0;return H[H[a+4>>2]+(b<<2)>>2]}function Of(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ga=0;return 0}function Ie(a){a=Tc(a);H[a+44>>2]=0;H[a>>2]=11180;return a}function ie(a,b){a=a|0;b=b|0;return H[H[a>>2]+(b<<2)>>2]}function Xg(a,b){a=a|0;b=b|0;return G[H[a>>2]+(b<<1)>>1]}function Vg(a,b){a=a|0;b=b|0;return J[H[a>>2]+(b<<1)>>1]}function Ig(a,b,c){a=a|0;b=b|0;c=c|0;return Yd(b,c)|0}function Zd(a){H[a>>2]=13724;ua(a+4|0,0,80);return a}function Sj(a){if(a){return 31-Q(a-1^a)|0}return 32}
function le(a){a=a|0;return H[a+12>>2]-H[a+8>>2]>>2}function dc(a){a=a|0;if(a){ha[H[H[a>>2]+4>>2]](a)}}function Zg(a,b){a=a|0;b=b|0;return F[H[a>>2]+b|0]}function Yg(a,b){a=a|0;b=b|0;return I[H[a>>2]+b|0]}function Tf(a){a=a|0;return H[a+8>>2]-H[a+4>>2]>>2}function hd(a,b){a=a|0;b=b|0;H[a+4>>2]=b;return 1}function je(a){a=a|0;return H[a+4>>2]-H[a>>2]>>1}function Oc(a){a=a|0;return H[a+4>>2]-H[a>>2]>>2}function ke(a){a=a|0;return H[a+4>>2]-H[a>>2]|0}function Cb(a,b,c){if(!(I[a|0]&32)){Ec(b,c,a)}}function uf(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function ci(a,b){a=a|0;b=b|0;return I[b+24|0]}function Og(a,b){a=a|0;b=b|0;return H[b+8>>2]}function Kj(a){a=a|0;return I[H[a+8>>2]+24|0]}function Ki(a){a=a|0;H[a>>2]=10032;return a|0}function Dg(a,b){a=a|0;b=b|0;return H[b+4>>2]}function Xi(a){a=a|0;H[a>>2]=7144;return a|0}function Ti(a){a=a|0;H[a>>2]=8080;return a|0}function Rf(a){a=a|0;return da(H[a+60>>2])|0}function Oi(a){a=a|0;H[a>>2]=9028;return a|0}function ih(a){a=a|0;return O(L[a+20>>2])}function Ji(a){a=a|0;H[a>>2]=10032;ra(a)}function Wi(a){a=a|0;H[a>>2]=7144;ra(a)}function Si(a){a=a|0;H[a>>2]=8080;ra(a)}function Ni(a){a=a|0;H[a>>2]=9028;ra(a)}function rh(a){a=a|0;return H[a+88>>2]}function qh(a){a=a|0;return H[a+56>>2]}function nh(a){a=a|0;return H[a+40>>2]}function mh(a){a=a|0;return H[a+48>>2]}function lh(a){a=a|0;return H[a+60>>2]}function hb(a){a=a|0;return H[a+28>>2]}function cf(){H[4290]=17048;H[4272]=42}function Pc(a){a=a|0;return H[a+80>>2]}function zj(a,b){a=a|0;b=b|0;return 2}function ph(a){a=a|0;return F[a+24|0]}function oh(a){a=a|0;return I[a+32|0]}function kd(a,b){a=a|0;b=b|0;return-1}function gb(a){a=a|0;return H[a+4>>2]}function bh(a){a=a|0;return!H[a>>2]|0}function Ze(a,b){a=a|0;b=b|0;return 6}function Xc(a){a=a|0;return H[a+8>>2]}function Ma(a,b){a=a|0;b=b|0;return 0}function Id(a,b){a=a|0;b=b|0;return 1}function oe(a){a=a|0;return H[a>>2]}function Bb(a,b,c){if(c){ta(a,b,c)}}function xh(){return Ka(sa(40))|0}function th(){return Gb(sa(64))|0}function gh(){return Zd(sa(84))|0}function Qc(a){a=a|0;if(a){ra(a)}}function Df(a){a=a|0;return 1171}function Cf(a){a=a|0;return 1245}function Bf(a){a=a|0;return 1211}function Ac(a){a=a|0;Ad(a);ra(a)}function Wa(a){a=a|0;return a|0}function xf(a){a=a|0;ra(qd(a))}function fi(a){a=a|0;ra(ze(a))}function ei(a){a=a|0;ra(ye(a))}function di(a){a=a|0;ra(xe(a))}function Xe(a){a=a|0;return 5}
function Sf(a){a=a|0;ra($b(a))}function jd(a){a=a|0;return 3}function bb(a){a=a|0;return 0}function _e(a){a=a|0;return 4}function Vb(a){a=a|0;return 2}function Qb(a){a=a|0;return 6}function Fa(a){a=a|0;return 1}function va(){Se(1164);v()}function Qa(){Se(1232);v()}function Oa(a){a=a|0;ra(a)}function Ea(){$e(1164);v()}function ib(a){a=a|0;v()}function eg(){return 10}function dg(){return 11}function cg(){return 12}function jg(){return 5}function ig(){return 6}function hg(){return 7}function gg(){return 8}function fg(){return 9}function ee(){return 3}function de(){return 4}function cc(){return-1}function bg(){return-2}function bc(){return 1}function ag(){return-3}function _f(){return-5}function Sb(){return 0}function Lc(){return 2}function $f(){return-4}function Mf(){Z();v()}function Sd(a){a=a|0}
// EMSCRIPTEN_END_FUNCS
e=I;p(q);var ha=c([null,Ad,Wa,Oa,Vb,Mj,xi,Gh,Cd,Af,yc,Fh,Ze,zj,Wa,ji,ii,Fa,ej,Ri,Ii,Pe,vi,He,Ze,ci,kg,ib,Wg,he,Zf,Uf,Tf,hb,Ma,Mf,Id,Fa,qd,xf,Nf,zf,yf,rf,qf,nd,wf,vf,uf,Id,tf,sf,jf,hf,pf,of,gf,nf,mf,lf,kf,bf,af,nd,ff,ef,ld,df,Kj,Lj,Hj,Wb,Fa,gb,Rb,bb,kd,Ma,bb,Fa,Jj,Ij,ib,ib,Wb,Vb,Rb,Gj,Fj,Ej,_e,Rb,Dj,Cj,Bj,Aj,jd,xc,Fa,Ma,wc,Ye,yj,xj,wj,Xe,xc,Fa,Ma,wc,We,vj,uj,tj,Qb,Ve,Fa,Ma,Ue,Te,sj,Wa,Oa,Ob,hb,Pb,ib,Wb,Fa,Rb,rj,ib,Wb,Vb,Rb,qj,pj,oj,_e,Rb,nj,mj,lj,kj,jd,xc,Fa,Ma,wc,Ye,jj,ij,hj,Xe,xc,Fa,Ma,wc,We,gj,fj,dj,Qb,Ve,Fa,Ma,Ue,Te,cj,Wa,Oa,Ob,hb,Nb,ib,Wb,bb,Fa,bj,bf,af,aj,_i,$i,Yi,Vb,Zi,Xi,Wi,Qb,gb,uc,Fa,Ma,tc,Fa,Vb,Re,Vi,Wa,Oa,Ob,hb,Pb,Ti,Si,Qb,uc,Fa,Ma,tc,Re,Qi,Wa,Oa,Ob,hb,Nb,Wa,Oa,bb,Fa,bb,kd,Ma,Ui,Pi,Oi,Ni,Qb,gb,uc,Fa,Ma,tc,Fa,jd,Qe,Mi,Wa,Oa,Ob,hb,Pb,Ki,Ji,Qb,uc,Fa,Ma,tc,Qe,Hi,Wa,Oa,Ob,hb,Nb,Oa,bb,Fa,bb,kd,Ma,Li,Gi,zi,yi,Fi,Di,Ei,Ci,Bi,Ai,ui,ib,Fa,Fa,wi,Ch,Bh,Fa,bb,Ma,Ma,pi,oi,si,ti,qi,ni,mi,li,ri,ze,fi,hd,gd,fd,ed,ki,Fa,gb,Xc,ye,ei,hd,gd,fd,ed,hi,Fa,gb,Xc,xe,di,hd,gd,fd,ed,gi,Fa,gb,Xc,Fe,bi,Ge,ai,$h,Yh,Xh,Wh,Vh,Zh,Uh,_h,Th,Sh,Qh,Ph,Oh,Nh,Rh,Mh,Lh,Kh,Jh,Ih,Uc,te,Hh,Wa,Oa,Eh,Dh,ib,bb,Fa,Uc,zh,Ah,Uc,te,yh,Yf,Xf,Wf,Vf,$b,Sf,Wd,Vd,Rf,Qf,Pf,bb,Of,Wa,Oa,Sd,Sd,Lf,Ff,Hf,Kf,Oa,Gf,If,Jf,Oa,Cf,Oa,Bf,Oa,Df,Ac,gb,Ac,Ac]);function ia(){return E.byteLength/65536|0}function na(oa){oa=oa|0;var ja=ia()|0;var ka=ja+oa|0;if(ja<ka&&ka<65536){var la=new ArrayBuffer(N(ka,65536));var ma=new Int8Array(la);ma.set(F);F=new Int8Array(la);G=new Int16Array(la);H=new Int32Array(la);I=new Uint8Array(la);J=new Uint16Array(la);K=new Uint32Array(la);L=new Float32Array(la);M=new Float64Array(la);E=la;D.buffer=E;e=I}return ja}return{"j":cf,"k":ha,"l":Qc,"m":xh,"n":wh,"o":Qc,"p":vh,"q":oe,"r":uh,"s":th,"t":Qc,"u":sh,"v":Pc,"w":rh,"x":qh,"y":hb,"z":ph,"A":oh,"B":nh,"C":mh,"D":lh,"E":Ja,"F":kh,"G":ne,"H":gb,"I":jh,"J":ih,"K":dc,"L":hh,"M":ne,"N":gb,"O":dc,"P":gh,"Q":le,"R":Pc,"S":dc,"T":fh,"U":eh,"V":le,"W":Pc,"X":dc,"Y":dh,"Z":ch,"_":oe,"$":bh,"aa":ah,"ba":$g,"ca":pb,"da":_g,"ea":Oc,"fa":ob,"ga":pb,"ha":Zg,"ia":ke,"ja":ob,"ka":pb,"la":Yg,"ma":ke,"na":ob,"oa":pb,"pa":Xg,"qa":je,"ra":ob,"sa":pb,"ta":Vg,"ua":je,"va":ob,"wa":pb,"xa":ie,"ya":Oc,"za":ob,"Aa":pb,"Ba":ie,"Ca":Oc,"Da":ob,"Ea":Ug,"Fa":Tg,"Ga":Sg,"Ha":Rg,"Ia":Qg,"Ja":Pg,"Ka":Og,"La":Ng,"Ma":Mg,"Na":Lg,"Oa":Kg,"Pa":Jg,"Qa":Ig,"Ra":Hg,"Sa":Gg,"Ta":Fg,"Ua":Eg,"Va":Dg,"Wa":Cg,"Xa":Bg,"Ya":Ag,"Za":zg,"_a":yg,"$a":xg,"ab":wg,"bb":ge,"cb":vg,"db":ug,"eb":tg,"fb":sg,"gb":ge,"hb":rg,"ib":qg,"jb":pg,"kb":og,"lb":ng,"mb":mg,"nb":lg,"ob":cc,"pb":Sb,"qb":bc,"rb":Lc,"sb":cc,"tb":Sb,"ub":bc,"vb":Lc,"wb":ee,"xb":de,"yb":cc,"zb":Sb,"Ab":bc,"Bb":Sb,"Cb":bc,"Db":Lc,"Eb":ee,"Fb":de,"Gb":jg,"Hb":ig,"Ib":hg,"Jb":gg,"Kb":fg,"Lb":eg,"Mb":dg,"Nb":cg,"Ob":Sb,"Pb":cc,"Qb":bg,"Rb":ag,"Sb":$f,"Tb":_f,"Ub":Hd,"Vb":ra,"Wb":Ef}}return pa(qa)}
// EMSCRIPTEN_END_ASM

)(info)},instantiate:function(binary,info){return{then:function(ok){var module=new WebAssembly.Module(binary);ok({"instance":new WebAssembly.Instance(module,info)})}}},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)}}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx<endPtr){var u0=heapOrArray[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=heapOrArray[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=heapOrArray[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u0=(u0&7)<<18|u1<<12|u2<<6|heapOrArray[idx++]&63}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}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 c=str.charCodeAt(i);if(c<=127){len++}else if(c<=2047){len+=2}else if(c>=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}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;function keepRuntimeAlive(){return noExitRuntime}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()}}}function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS 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_decoder.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)}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"]["k"];addOnInit(Module["asm"]["j"]);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)&&!ENVIRONMENT_IS_NODE&&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);readyPromiseReject(e)}}instantiateAsync().catch(readyPromiseReject);return{}}function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}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("")}function ___cxa_allocate_exception(size){return _malloc(size+24)+24}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-24;this.set_type=function(type){HEAPU32[this.ptr+4>>2]=type};this.get_type=function(){return HEAPU32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAPU32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAPU32[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_adjusted_ptr(0);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};this.set_adjusted_ptr=function(adjustedPtr){HEAPU32[this.ptr+16>>2]=adjustedPtr};this.get_adjusted_ptr=function(){return HEAPU32[this.ptr+16>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_type());if(isPointer){return HEAPU32[this.excPtr>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.excPtr}}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 getHeapMax(){return 2147483648}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=getHeapMax();if(requestedSize>maxHeapSize){return false}let alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;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 SYSCALLS={varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret}};function _fd_close(fd){return 52}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){return 70}var printCharBuffers=[null,[],[]];function printChar(stream,curr){var buffer=printCharBuffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}}function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i<iovcnt;i++){var ptr=HEAPU32[iov>>2];var len=HEAPU32[iov+4>>2];iov+=8;for(var j=0;j<len;j++){printChar(fd,HEAPU8[ptr+j])}num+=len}HEAPU32[pnum>>2]=num;return 0}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}var ASSERTIONS=false;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={"d":___cxa_allocate_exception,"c":___cxa_throw,"b":_abort,"i":_emscripten_memcpy_big,"g":_emscripten_resize_heap,"h":_fd_close,"f":_fd_seek,"e":_fd_write,"a":wasmMemory};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["j"]).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"]["l"]).apply(null,arguments)};var _emscripten_bind_DecoderBuffer_DecoderBuffer_0=Module["_emscripten_bind_DecoderBuffer_DecoderBuffer_0"]=function(){return(_emscripten_bind_DecoderBuffer_DecoderBuffer_0=Module["_emscripten_bind_DecoderBuffer_DecoderBuffer_0"]=Module["asm"]["m"]).apply(null,arguments)};var _emscripten_bind_DecoderBuffer_Init_2=Module["_emscripten_bind_DecoderBuffer_Init_2"]=function(){return(_emscripten_bind_DecoderBuffer_Init_2=Module["_emscripten_bind_DecoderBuffer_Init_2"]=Module["asm"]["n"]).apply(null,arguments)};var _emscripten_bind_DecoderBuffer___destroy___0=Module["_emscripten_bind_DecoderBuffer___destroy___0"]=function(){return(_emscripten_bind_DecoderBuffer___destroy___0=Module["_emscripten_bind_DecoderBuffer___destroy___0"]=Module["asm"]["o"]).apply(null,arguments)};var _emscripten_bind_AttributeTransformData_AttributeTransformData_0=Module["_emscripten_bind_AttributeTransformData_AttributeTransformData_0"]=function(){return(_emscripten_bind_AttributeTransformData_AttributeTransformData_0=Module["_emscripten_bind_AttributeTransformData_AttributeTransformData_0"]=Module["asm"]["p"]).apply(null,arguments)};var _emscripten_bind_AttributeTransformData_transform_type_0=Module["_emscripten_bind_AttributeTransformData_transform_type_0"]=function(){return(_emscripten_bind_AttributeTransformData_transform_type_0=Module["_emscripten_bind_AttributeTransformData_transform_type_0"]=Module["asm"]["q"]).apply(null,arguments)};var _emscripten_bind_AttributeTransformData___destroy___0=Module["_emscripten_bind_AttributeTransformData___destroy___0"]=function(){return(_emscripten_bind_AttributeTransformData___destroy___0=Module["_emscripten_bind_AttributeTransformData___destroy___0"]=Module["asm"]["r"]).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"]["s"]).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"]["t"]).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"]["u"]).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"]["v"]).apply(null,arguments)};var _emscripten_bind_PointAttribute_GetAttributeTransformData_0=Module["_emscripten_bind_PointAttribute_GetAttributeTransformData_0"]=function(){return(_emscripten_bind_PointAttribute_GetAttributeTransformData_0=Module["_emscripten_bind_PointAttribute_GetAttributeTransformData_0"]=Module["asm"]["w"]).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"]["x"]).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"]["y"]).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"]["z"]).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"]["A"]).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"]["B"]).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"]["C"]).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"]["D"]).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"]["E"]).apply(null,arguments)};var _emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=Module["_emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0"]=function(){return(_emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=Module["_emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0"]=Module["asm"]["F"]).apply(null,arguments)};var _emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=Module["_emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1"]=function(){return(_emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=Module["_emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1"]=Module["asm"]["G"]).apply(null,arguments)};var _emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=Module["_emscripten_bind_AttributeQuantizationTransform_quantization_bits_0"]=function(){return(_emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=Module["_emscripten_bind_AttributeQuantizationTransform_quantization_bits_0"]=Module["asm"]["H"]).apply(null,arguments)};var _emscripten_bind_AttributeQuantizationTransform_min_value_1=Module["_emscripten_bind_AttributeQuantizationTransform_min_value_1"]=function(){return(_emscripten_bind_AttributeQuantizationTransform_min_value_1=Module["_emscripten_bind_AttributeQuantizationTransform_min_value_1"]=Module["asm"]["I"]).apply(null,arguments)};var _emscripten_bind_AttributeQuantizationTransform_range_0=Module["_emscripten_bind_AttributeQuantizationTransform_range_0"]=function(){return(_emscripten_bind_AttributeQuantizationTransform_range_0=Module["_emscripten_bind_AttributeQuantizationTransform_range_0"]=Module["asm"]["J"]).apply(null,arguments)};var _emscripten_bind_AttributeQuantizationTransform___destroy___0=Module["_emscripten_bind_AttributeQuantizationTransform___destroy___0"]=function(){return(_emscripten_bind_AttributeQuantizationTransform___destroy___0=Module["_emscripten_bind_AttributeQuantizationTransform___destroy___0"]=Module["asm"]["K"]).apply(null,arguments)};var _emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=Module["_emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0"]=function(){return(_emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=Module["_emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0"]=Module["asm"]["L"]).apply(null,arguments)};var _emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=Module["_emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1"]=function(){return(_emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=Module["_emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1"]=Module["asm"]["M"]).apply(null,arguments)};var _emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=Module["_emscripten_bind_AttributeOctahedronTransform_quantization_bits_0"]=function(){return(_emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=Module["_emscripten_bind_AttributeOctahedronTransform_quantization_bits_0"]=Module["asm"]["N"]).apply(null,arguments)};var _emscripten_bind_AttributeOctahedronTransform___destroy___0=Module["_emscripten_bind_AttributeOctahedronTransform___destroy___0"]=function(){return(_emscripten_bind_AttributeOctahedronTransform___destroy___0=Module["_emscripten_bind_AttributeOctahedronTransform___destroy___0"]=Module["asm"]["O"]).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"]["P"]).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"]["Q"]).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"]["R"]).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"]["S"]).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"]["T"]).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"]["U"]).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"]["V"]).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"]["W"]).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"]["X"]).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"]["Y"]).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"]["Z"]).apply(null,arguments)};var _emscripten_bind_Status_code_0=Module["_emscripten_bind_Status_code_0"]=function(){return(_emscripten_bind_Status_code_0=Module["_emscripten_bind_Status_code_0"]=Module["asm"]["_"]).apply(null,arguments)};var _emscripten_bind_Status_ok_0=Module["_emscripten_bind_Status_ok_0"]=function(){return(_emscripten_bind_Status_ok_0=Module["_emscripten_bind_Status_ok_0"]=Module["asm"]["$"]).apply(null,arguments)};var _emscripten_bind_Status_error_msg_0=Module["_emscripten_bind_Status_error_msg_0"]=function(){return(_emscripten_bind_Status_error_msg_0=Module["_emscripten_bind_Status_error_msg_0"]=Module["asm"]["aa"]).apply(null,arguments)};var _emscripten_bind_Status___destroy___0=Module["_emscripten_bind_Status___destroy___0"]=function(){return(_emscripten_bind_Status___destroy___0=Module["_emscripten_bind_Status___destroy___0"]=Module["asm"]["ba"]).apply(null,arguments)};var _emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=Module["_emscripten_bind_DracoFloat32Array_DracoFloat32Array_0"]=function(){return(_emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=Module["_emscripten_bind_DracoFloat32Array_DracoFloat32Array_0"]=Module["asm"]["ca"]).apply(null,arguments)};var _emscripten_bind_DracoFloat32Array_GetValue_1=Module["_emscripten_bind_DracoFloat32Array_GetValue_1"]=function(){return(_emscripten_bind_DracoFloat32Array_GetValue_1=Module["_emscripten_bind_DracoFloat32Array_GetValue_1"]=Module["asm"]["da"]).apply(null,arguments)};var _emscripten_bind_DracoFloat32Array_size_0=Module["_emscripten_bind_DracoFloat32Array_size_0"]=function(){return(_emscripten_bind_DracoFloat32Array_size_0=Module["_emscripten_bind_DracoFloat32Array_size_0"]=Module["asm"]["ea"]).apply(null,arguments)};var _emscripten_bind_DracoFloat32Array___destroy___0=Module["_emscripten_bind_DracoFloat32Array___destroy___0"]=function(){return(_emscripten_bind_DracoFloat32Array___destroy___0=Module["_emscripten_bind_DracoFloat32Array___destroy___0"]=Module["asm"]["fa"]).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"]["ga"]).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"]["ha"]).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"]["ia"]).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"]["ja"]).apply(null,arguments)};var _emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=Module["_emscripten_bind_DracoUInt8Array_DracoUInt8Array_0"]=function(){return(_emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=Module["_emscripten_bind_DracoUInt8Array_DracoUInt8Array_0"]=Module["asm"]["ka"]).apply(null,arguments)};var _emscripten_bind_DracoUInt8Array_GetValue_1=Module["_emscripten_bind_DracoUInt8Array_GetValue_1"]=function(){return(_emscripten_bind_DracoUInt8Array_GetValue_1=Module["_emscripten_bind_DracoUInt8Array_GetValue_1"]=Module["asm"]["la"]).apply(null,arguments)};var _emscripten_bind_DracoUInt8Array_size_0=Module["_emscripten_bind_DracoUInt8Array_size_0"]=function(){return(_emscripten_bind_DracoUInt8Array_size_0=Module["_emscripten_bind_DracoUInt8Array_size_0"]=Module["asm"]["ma"]).apply(null,arguments)};var _emscripten_bind_DracoUInt8Array___destroy___0=Module["_emscripten_bind_DracoUInt8Array___destroy___0"]=function(){return(_emscripten_bind_DracoUInt8Array___destroy___0=Module["_emscripten_bind_DracoUInt8Array___destroy___0"]=Module["asm"]["na"]).apply(null,arguments)};var _emscripten_bind_DracoInt16Array_DracoInt16Array_0=Module["_emscripten_bind_DracoInt16Array_DracoInt16Array_0"]=function(){return(_emscripten_bind_DracoInt16Array_DracoInt16Array_0=Module["_emscripten_bind_DracoInt16Array_DracoInt16Array_0"]=Module["asm"]["oa"]).apply(null,arguments)};var _emscripten_bind_DracoInt16Array_GetValue_1=Module["_emscripten_bind_DracoInt16Array_GetValue_1"]=function(){return(_emscripten_bind_DracoInt16Array_GetValue_1=Module["_emscripten_bind_DracoInt16Array_GetValue_1"]=Module["asm"]["pa"]).apply(null,arguments)};var _emscripten_bind_DracoInt16Array_size_0=Module["_emscripten_bind_DracoInt16Array_size_0"]=function(){return(_emscripten_bind_DracoInt16Array_size_0=Module["_emscripten_bind_DracoInt16Array_size_0"]=Module["asm"]["qa"]).apply(null,arguments)};var _emscripten_bind_DracoInt16Array___destroy___0=Module["_emscripten_bind_DracoInt16Array___destroy___0"]=function(){return(_emscripten_bind_DracoInt16Array___destroy___0=Module["_emscripten_bind_DracoInt16Array___destroy___0"]=Module["asm"]["ra"]).apply(null,arguments)};var _emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=Module["_emscripten_bind_DracoUInt16Array_DracoUInt16Array_0"]=function(){return(_emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=Module["_emscripten_bind_DracoUInt16Array_DracoUInt16Array_0"]=Module["asm"]["sa"]).apply(null,arguments)};var _emscripten_bind_DracoUInt16Array_GetValue_1=Module["_emscripten_bind_DracoUInt16Array_GetValue_1"]=function(){return(_emscripten_bind_DracoUInt16Array_GetValue_1=Module["_emscripten_bind_DracoUInt16Array_GetValue_1"]=Module["asm"]["ta"]).apply(null,arguments)};var _emscripten_bind_DracoUInt16Array_size_0=Module["_emscripten_bind_DracoUInt16Array_size_0"]=function(){return(_emscripten_bind_DracoUInt16Array_size_0=Module["_emscripten_bind_DracoUInt16Array_size_0"]=Module["asm"]["ua"]).apply(null,arguments)};var _emscripten_bind_DracoUInt16Array___destroy___0=Module["_emscripten_bind_DracoUInt16Array___destroy___0"]=function(){return(_emscripten_bind_DracoUInt16Array___destroy___0=Module["_emscripten_bind_DracoUInt16Array___destroy___0"]=Module["asm"]["va"]).apply(null,arguments)};var _emscripten_bind_DracoInt32Array_DracoInt32Array_0=Module["_emscripten_bind_DracoInt32Array_DracoInt32Array_0"]=function(){return(_emscripten_bind_DracoInt32Array_DracoInt32Array_0=Module["_emscripten_bind_DracoInt32Array_DracoInt32Array_0"]=Module["asm"]["wa"]).apply(null,arguments)};var _emscripten_bind_DracoInt32Array_GetValue_1=Module["_emscripten_bind_DracoInt32Array_GetValue_1"]=function(){return(_emscripten_bind_DracoInt32Array_GetValue_1=Module["_emscripten_bind_DracoInt32Array_GetValue_1"]=Module["asm"]["xa"]).apply(null,arguments)};var _emscripten_bind_DracoInt32Array_size_0=Module["_emscripten_bind_DracoInt32Array_size_0"]=function(){return(_emscripten_bind_DracoInt32Array_size_0=Module["_emscripten_bind_DracoInt32Array_size_0"]=Module["asm"]["ya"]).apply(null,arguments)};var _emscripten_bind_DracoInt32Array___destroy___0=Module["_emscripten_bind_DracoInt32Array___destroy___0"]=function(){return(_emscripten_bind_DracoInt32Array___destroy___0=Module["_emscripten_bind_DracoInt32Array___destroy___0"]=Module["asm"]["za"]).apply(null,arguments)};var _emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=Module["_emscripten_bind_DracoUInt32Array_DracoUInt32Array_0"]=function(){return(_emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=Module["_emscripten_bind_DracoUInt32Array_DracoUInt32Array_0"]=Module["asm"]["Aa"]).apply(null,arguments)};var _emscripten_bind_DracoUInt32Array_GetValue_1=Module["_emscripten_bind_DracoUInt32Array_GetValue_1"]=function(){return(_emscripten_bind_DracoUInt32Array_GetValue_1=Module["_emscripten_bind_DracoUInt32Array_GetValue_1"]=Module["asm"]["Ba"]).apply(null,arguments)};var _emscripten_bind_DracoUInt32Array_size_0=Module["_emscripten_bind_DracoUInt32Array_size_0"]=function(){return(_emscripten_bind_DracoUInt32Array_size_0=Module["_emscripten_bind_DracoUInt32Array_size_0"]=Module["asm"]["Ca"]).apply(null,arguments)};var _emscripten_bind_DracoUInt32Array___destroy___0=Module["_emscripten_bind_DracoUInt32Array___destroy___0"]=function(){return(_emscripten_bind_DracoUInt32Array___destroy___0=Module["_emscripten_bind_DracoUInt32Array___destroy___0"]=Module["asm"]["Da"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier_MetadataQuerier_0=Module["_emscripten_bind_MetadataQuerier_MetadataQuerier_0"]=function(){return(_emscripten_bind_MetadataQuerier_MetadataQuerier_0=Module["_emscripten_bind_MetadataQuerier_MetadataQuerier_0"]=Module["asm"]["Ea"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier_HasEntry_2=Module["_emscripten_bind_MetadataQuerier_HasEntry_2"]=function(){return(_emscripten_bind_MetadataQuerier_HasEntry_2=Module["_emscripten_bind_MetadataQuerier_HasEntry_2"]=Module["asm"]["Fa"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier_GetIntEntry_2=Module["_emscripten_bind_MetadataQuerier_GetIntEntry_2"]=function(){return(_emscripten_bind_MetadataQuerier_GetIntEntry_2=Module["_emscripten_bind_MetadataQuerier_GetIntEntry_2"]=Module["asm"]["Ga"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier_GetIntEntryArray_3=Module["_emscripten_bind_MetadataQuerier_GetIntEntryArray_3"]=function(){return(_emscripten_bind_MetadataQuerier_GetIntEntryArray_3=Module["_emscripten_bind_MetadataQuerier_GetIntEntryArray_3"]=Module["asm"]["Ha"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier_GetDoubleEntry_2=Module["_emscripten_bind_MetadataQuerier_GetDoubleEntry_2"]=function(){return(_emscripten_bind_MetadataQuerier_GetDoubleEntry_2=Module["_emscripten_bind_MetadataQuerier_GetDoubleEntry_2"]=Module["asm"]["Ia"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier_GetStringEntry_2=Module["_emscripten_bind_MetadataQuerier_GetStringEntry_2"]=function(){return(_emscripten_bind_MetadataQuerier_GetStringEntry_2=Module["_emscripten_bind_MetadataQuerier_GetStringEntry_2"]=Module["asm"]["Ja"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier_NumEntries_1=Module["_emscripten_bind_MetadataQuerier_NumEntries_1"]=function(){return(_emscripten_bind_MetadataQuerier_NumEntries_1=Module["_emscripten_bind_MetadataQuerier_NumEntries_1"]=Module["asm"]["Ka"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier_GetEntryName_2=Module["_emscripten_bind_MetadataQuerier_GetEntryName_2"]=function(){return(_emscripten_bind_MetadataQuerier_GetEntryName_2=Module["_emscripten_bind_MetadataQuerier_GetEntryName_2"]=Module["asm"]["La"]).apply(null,arguments)};var _emscripten_bind_MetadataQuerier___destroy___0=Module["_emscripten_bind_MetadataQuerier___destroy___0"]=function(){return(_emscripten_bind_MetadataQuerier___destroy___0=Module["_emscripten_bind_MetadataQuerier___destroy___0"]=Module["asm"]["Ma"]).apply(null,arguments)};var _emscripten_bind_Decoder_Decoder_0=Module["_emscripten_bind_Decoder_Decoder_0"]=function(){return(_emscripten_bind_Decoder_Decoder_0=Module["_emscripten_bind_Decoder_Decoder_0"]=Module["asm"]["Na"]).apply(null,arguments)};var _emscripten_bind_Decoder_DecodeArrayToPointCloud_3=Module["_emscripten_bind_Decoder_DecodeArrayToPointCloud_3"]=function(){return(_emscripten_bind_Decoder_DecodeArrayToPointCloud_3=Module["_emscripten_bind_Decoder_DecodeArrayToPointCloud_3"]=Module["asm"]["Oa"]).apply(null,arguments)};var _emscripten_bind_Decoder_DecodeArrayToMesh_3=Module["_emscripten_bind_Decoder_DecodeArrayToMesh_3"]=function(){return(_emscripten_bind_Decoder_DecodeArrayToMesh_3=Module["_emscripten_bind_Decoder_DecodeArrayToMesh_3"]=Module["asm"]["Pa"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeId_2=Module["_emscripten_bind_Decoder_GetAttributeId_2"]=function(){return(_emscripten_bind_Decoder_GetAttributeId_2=Module["_emscripten_bind_Decoder_GetAttributeId_2"]=Module["asm"]["Qa"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeIdByName_2=Module["_emscripten_bind_Decoder_GetAttributeIdByName_2"]=function(){return(_emscripten_bind_Decoder_GetAttributeIdByName_2=Module["_emscripten_bind_Decoder_GetAttributeIdByName_2"]=Module["asm"]["Ra"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=Module["_emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=Module["_emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3"]=Module["asm"]["Sa"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttribute_2=Module["_emscripten_bind_Decoder_GetAttribute_2"]=function(){return(_emscripten_bind_Decoder_GetAttribute_2=Module["_emscripten_bind_Decoder_GetAttribute_2"]=Module["asm"]["Ta"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeByUniqueId_2=Module["_emscripten_bind_Decoder_GetAttributeByUniqueId_2"]=function(){return(_emscripten_bind_Decoder_GetAttributeByUniqueId_2=Module["_emscripten_bind_Decoder_GetAttributeByUniqueId_2"]=Module["asm"]["Ua"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetMetadata_1=Module["_emscripten_bind_Decoder_GetMetadata_1"]=function(){return(_emscripten_bind_Decoder_GetMetadata_1=Module["_emscripten_bind_Decoder_GetMetadata_1"]=Module["asm"]["Va"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeMetadata_2=Module["_emscripten_bind_Decoder_GetAttributeMetadata_2"]=function(){return(_emscripten_bind_Decoder_GetAttributeMetadata_2=Module["_emscripten_bind_Decoder_GetAttributeMetadata_2"]=Module["asm"]["Wa"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetFaceFromMesh_3=Module["_emscripten_bind_Decoder_GetFaceFromMesh_3"]=function(){return(_emscripten_bind_Decoder_GetFaceFromMesh_3=Module["_emscripten_bind_Decoder_GetFaceFromMesh_3"]=Module["asm"]["Xa"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=Module["_emscripten_bind_Decoder_GetTriangleStripsFromMesh_2"]=function(){return(_emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=Module["_emscripten_bind_Decoder_GetTriangleStripsFromMesh_2"]=Module["asm"]["Ya"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetTrianglesUInt16Array_3=Module["_emscripten_bind_Decoder_GetTrianglesUInt16Array_3"]=function(){return(_emscripten_bind_Decoder_GetTrianglesUInt16Array_3=Module["_emscripten_bind_Decoder_GetTrianglesUInt16Array_3"]=Module["asm"]["Za"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetTrianglesUInt32Array_3=Module["_emscripten_bind_Decoder_GetTrianglesUInt32Array_3"]=function(){return(_emscripten_bind_Decoder_GetTrianglesUInt32Array_3=Module["_emscripten_bind_Decoder_GetTrianglesUInt32Array_3"]=Module["asm"]["_a"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeFloat_3=Module["_emscripten_bind_Decoder_GetAttributeFloat_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeFloat_3=Module["_emscripten_bind_Decoder_GetAttributeFloat_3"]=Module["asm"]["$a"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3"]=Module["asm"]["ab"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeIntForAllPoints_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeIntForAllPoints_3"]=Module["asm"]["bb"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3"]=Module["asm"]["cb"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3"]=Module["asm"]["db"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3"]=Module["asm"]["eb"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3"]=Module["asm"]["fb"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3"]=Module["asm"]["gb"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3"]=function(){return(_emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=Module["_emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3"]=Module["asm"]["hb"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=Module["_emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5"]=function(){return(_emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=Module["_emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5"]=Module["asm"]["ib"]).apply(null,arguments)};var _emscripten_bind_Decoder_SkipAttributeTransform_1=Module["_emscripten_bind_Decoder_SkipAttributeTransform_1"]=function(){return(_emscripten_bind_Decoder_SkipAttributeTransform_1=Module["_emscripten_bind_Decoder_SkipAttributeTransform_1"]=Module["asm"]["jb"]).apply(null,arguments)};var _emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=Module["_emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1"]=function(){return(_emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=Module["_emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1"]=Module["asm"]["kb"]).apply(null,arguments)};var _emscripten_bind_Decoder_DecodeBufferToPointCloud_2=Module["_emscripten_bind_Decoder_DecodeBufferToPointCloud_2"]=function(){return(_emscripten_bind_Decoder_DecodeBufferToPointCloud_2=Module["_emscripten_bind_Decoder_DecodeBufferToPointCloud_2"]=Module["asm"]["lb"]).apply(null,arguments)};var _emscripten_bind_Decoder_DecodeBufferToMesh_2=Module["_emscripten_bind_Decoder_DecodeBufferToMesh_2"]=function(){return(_emscripten_bind_Decoder_DecodeBufferToMesh_2=Module["_emscripten_bind_Decoder_DecodeBufferToMesh_2"]=Module["asm"]["mb"]).apply(null,arguments)};var _emscripten_bind_Decoder___destroy___0=Module["_emscripten_bind_Decoder___destroy___0"]=function(){return(_emscripten_bind_Decoder___destroy___0=Module["_emscripten_bind_Decoder___destroy___0"]=Module["asm"]["nb"]).apply(null,arguments)};var _emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=Module["_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM"]=function(){return(_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=Module["_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM"]=Module["asm"]["ob"]).apply(null,arguments)};var _emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=Module["_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM"]=function(){return(_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=Module["_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM"]=Module["asm"]["pb"]).apply(null,arguments)};var _emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=Module["_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM"]=function(){return(_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=Module["_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM"]=Module["asm"]["qb"]).apply(null,arguments)};var _emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=Module["_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM"]=function(){return(_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=Module["_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM"]=Module["asm"]["rb"]).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"]["sb"]).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"]["tb"]).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"]["ub"]).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"]["vb"]).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"]["wb"]).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"]["xb"]).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"]["yb"]).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"]["zb"]).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"]["Ab"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_INVALID=Module["_emscripten_enum_draco_DataType_DT_INVALID"]=function(){return(_emscripten_enum_draco_DataType_DT_INVALID=Module["_emscripten_enum_draco_DataType_DT_INVALID"]=Module["asm"]["Bb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_INT8=Module["_emscripten_enum_draco_DataType_DT_INT8"]=function(){return(_emscripten_enum_draco_DataType_DT_INT8=Module["_emscripten_enum_draco_DataType_DT_INT8"]=Module["asm"]["Cb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_UINT8=Module["_emscripten_enum_draco_DataType_DT_UINT8"]=function(){return(_emscripten_enum_draco_DataType_DT_UINT8=Module["_emscripten_enum_draco_DataType_DT_UINT8"]=Module["asm"]["Db"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_INT16=Module["_emscripten_enum_draco_DataType_DT_INT16"]=function(){return(_emscripten_enum_draco_DataType_DT_INT16=Module["_emscripten_enum_draco_DataType_DT_INT16"]=Module["asm"]["Eb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_UINT16=Module["_emscripten_enum_draco_DataType_DT_UINT16"]=function(){return(_emscripten_enum_draco_DataType_DT_UINT16=Module["_emscripten_enum_draco_DataType_DT_UINT16"]=Module["asm"]["Fb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_INT32=Module["_emscripten_enum_draco_DataType_DT_INT32"]=function(){return(_emscripten_enum_draco_DataType_DT_INT32=Module["_emscripten_enum_draco_DataType_DT_INT32"]=Module["asm"]["Gb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_UINT32=Module["_emscripten_enum_draco_DataType_DT_UINT32"]=function(){return(_emscripten_enum_draco_DataType_DT_UINT32=Module["_emscripten_enum_draco_DataType_DT_UINT32"]=Module["asm"]["Hb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_INT64=Module["_emscripten_enum_draco_DataType_DT_INT64"]=function(){return(_emscripten_enum_draco_DataType_DT_INT64=Module["_emscripten_enum_draco_DataType_DT_INT64"]=Module["asm"]["Ib"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_UINT64=Module["_emscripten_enum_draco_DataType_DT_UINT64"]=function(){return(_emscripten_enum_draco_DataType_DT_UINT64=Module["_emscripten_enum_draco_DataType_DT_UINT64"]=Module["asm"]["Jb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_FLOAT32=Module["_emscripten_enum_draco_DataType_DT_FLOAT32"]=function(){return(_emscripten_enum_draco_DataType_DT_FLOAT32=Module["_emscripten_enum_draco_DataType_DT_FLOAT32"]=Module["asm"]["Kb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_FLOAT64=Module["_emscripten_enum_draco_DataType_DT_FLOAT64"]=function(){return(_emscripten_enum_draco_DataType_DT_FLOAT64=Module["_emscripten_enum_draco_DataType_DT_FLOAT64"]=Module["asm"]["Lb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_BOOL=Module["_emscripten_enum_draco_DataType_DT_BOOL"]=function(){return(_emscripten_enum_draco_DataType_DT_BOOL=Module["_emscripten_enum_draco_DataType_DT_BOOL"]=Module["asm"]["Mb"]).apply(null,arguments)};var _emscripten_enum_draco_DataType_DT_TYPES_COUNT=Module["_emscripten_enum_draco_DataType_DT_TYPES_COUNT"]=function(){return(_emscripten_enum_draco_DataType_DT_TYPES_COUNT=Module["_emscripten_enum_draco_DataType_DT_TYPES_COUNT"]=Module["asm"]["Nb"]).apply(null,arguments)};var _emscripten_enum_draco_StatusCode_OK=Module["_emscripten_enum_draco_StatusCode_OK"]=function(){return(_emscripten_enum_draco_StatusCode_OK=Module["_emscripten_enum_draco_StatusCode_OK"]=Module["asm"]["Ob"]).apply(null,arguments)};var _emscripten_enum_draco_StatusCode_DRACO_ERROR=Module["_emscripten_enum_draco_StatusCode_DRACO_ERROR"]=function(){return(_emscripten_enum_draco_StatusCode_DRACO_ERROR=Module["_emscripten_enum_draco_StatusCode_DRACO_ERROR"]=Module["asm"]["Pb"]).apply(null,arguments)};var _emscripten_enum_draco_StatusCode_IO_ERROR=Module["_emscripten_enum_draco_StatusCode_IO_ERROR"]=function(){return(_emscripten_enum_draco_StatusCode_IO_ERROR=Module["_emscripten_enum_draco_StatusCode_IO_ERROR"]=Module["asm"]["Qb"]).apply(null,arguments)};var _emscripten_enum_draco_StatusCode_INVALID_PARAMETER=Module["_emscripten_enum_draco_StatusCode_INVALID_PARAMETER"]=function(){return(_emscripten_enum_draco_StatusCode_INVALID_PARAMETER=Module["_emscripten_enum_draco_StatusCode_INVALID_PARAMETER"]=Module["asm"]["Rb"]).apply(null,arguments)};var _emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=Module["_emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION"]=function(){return(_emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=Module["_emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION"]=Module["asm"]["Sb"]).apply(null,arguments)};var _emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=Module["_emscripten_enum_draco_StatusCode_UNKNOWN_VERSION"]=function(){return(_emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=Module["_emscripten_enum_draco_StatusCode_UNKNOWN_VERSION"]=Module["asm"]["Tb"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["Ub"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["Vb"]).apply(null,arguments)};var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=function(){return(___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=Module["asm"]["Wb"]).apply(null,arguments)};var ___start_em_js=Module["___start_em_js"]=15856;var ___stop_em_js=Module["___stop_em_js"]=15954;var calledRun;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()}}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 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 DecoderBuffer(){this.ptr=_emscripten_bind_DecoderBuffer_DecoderBuffer_0();getCache(DecoderBuffer)[this.ptr]=this}DecoderBuffer.prototype=Object.create(WrapperObject.prototype);DecoderBuffer.prototype.constructor=DecoderBuffer;DecoderBuffer.prototype.__class__=DecoderBuffer;DecoderBuffer.__cache__={};Module["DecoderBuffer"]=DecoderBuffer;DecoderBuffer.prototype["Init"]=DecoderBuffer.prototype.Init=function(data,data_size){var self=this.ptr;ensureCache.prepare();if(typeof data=="object"){data=ensureInt8(data)}if(data_size&&typeof data_size==="object")data_size=data_size.ptr;_emscripten_bind_DecoderBuffer_Init_2(self,data,data_size)};DecoderBuffer.prototype["__destroy__"]=DecoderBuffer.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DecoderBuffer___destroy___0(self)};function AttributeTransformData(){this.ptr=_emscripten_bind_AttributeTransformData_AttributeTransformData_0();getCache(AttributeTransformData)[this.ptr]=this}AttributeTransformData.prototype=Object.create(WrapperObject.prototype);AttributeTransformData.prototype.constructor=AttributeTransformData;AttributeTransformData.prototype.__class__=AttributeTransformData;AttributeTransformData.__cache__={};Module["AttributeTransformData"]=AttributeTransformData;AttributeTransformData.prototype["transform_type"]=AttributeTransformData.prototype.transform_type=function(){var self=this.ptr;return _emscripten_bind_AttributeTransformData_transform_type_0(self)};AttributeTransformData.prototype["__destroy__"]=AttributeTransformData.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_AttributeTransformData___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["GetAttributeTransformData"]=PointAttribute.prototype.GetAttributeTransformData=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_PointAttribute_GetAttributeTransformData_0(self),AttributeTransformData)};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 AttributeQuantizationTransform(){this.ptr=_emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0();getCache(AttributeQuantizationTransform)[this.ptr]=this}AttributeQuantizationTransform.prototype=Object.create(WrapperObject.prototype);AttributeQuantizationTransform.prototype.constructor=AttributeQuantizationTransform;AttributeQuantizationTransform.prototype.__class__=AttributeQuantizationTransform;AttributeQuantizationTransform.__cache__={};Module["AttributeQuantizationTransform"]=AttributeQuantizationTransform;AttributeQuantizationTransform.prototype["InitFromAttribute"]=AttributeQuantizationTransform.prototype.InitFromAttribute=function(att){var self=this.ptr;if(att&&typeof att==="object")att=att.ptr;return!!_emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1(self,att)};AttributeQuantizationTransform.prototype["quantization_bits"]=AttributeQuantizationTransform.prototype.quantization_bits=function(){var self=this.ptr;return _emscripten_bind_AttributeQuantizationTransform_quantization_bits_0(self)};AttributeQuantizationTransform.prototype["min_value"]=AttributeQuantizationTransform.prototype.min_value=function(axis){var self=this.ptr;if(axis&&typeof axis==="object")axis=axis.ptr;return _emscripten_bind_AttributeQuantizationTransform_min_value_1(self,axis)};AttributeQuantizationTransform.prototype["range"]=AttributeQuantizationTransform.prototype.range=function(){var self=this.ptr;return _emscripten_bind_AttributeQuantizationTransform_range_0(self)};AttributeQuantizationTransform.prototype["__destroy__"]=AttributeQuantizationTransform.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_AttributeQuantizationTransform___destroy___0(self)};function AttributeOctahedronTransform(){this.ptr=_emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0();getCache(AttributeOctahedronTransform)[this.ptr]=this}AttributeOctahedronTransform.prototype=Object.create(WrapperObject.prototype);AttributeOctahedronTransform.prototype.constructor=AttributeOctahedronTransform;AttributeOctahedronTransform.prototype.__class__=AttributeOctahedronTransform;AttributeOctahedronTransform.__cache__={};Module["AttributeOctahedronTransform"]=AttributeOctahedronTransform;AttributeOctahedronTransform.prototype["InitFromAttribute"]=AttributeOctahedronTransform.prototype.InitFromAttribute=function(att){var self=this.ptr;if(att&&typeof att==="object")att=att.ptr;return!!_emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1(self,att)};AttributeOctahedronTransform.prototype["quantization_bits"]=AttributeOctahedronTransform.prototype.quantization_bits=function(){var self=this.ptr;return _emscripten_bind_AttributeOctahedronTransform_quantization_bits_0(self)};AttributeOctahedronTransform.prototype["__destroy__"]=AttributeOctahedronTransform.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_AttributeOctahedronTransform___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["__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 Status(){throw"cannot construct a Status, no constructor in IDL"}Status.prototype=Object.create(WrapperObject.prototype);Status.prototype.constructor=Status;Status.prototype.__class__=Status;Status.__cache__={};Module["Status"]=Status;Status.prototype["code"]=Status.prototype.code=function(){var self=this.ptr;return _emscripten_bind_Status_code_0(self)};Status.prototype["ok"]=Status.prototype.ok=function(){var self=this.ptr;return!!_emscripten_bind_Status_ok_0(self)};Status.prototype["error_msg"]=Status.prototype.error_msg=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_Status_error_msg_0(self))};Status.prototype["__destroy__"]=Status.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Status___destroy___0(self)};function DracoFloat32Array(){this.ptr=_emscripten_bind_DracoFloat32Array_DracoFloat32Array_0();getCache(DracoFloat32Array)[this.ptr]=this}DracoFloat32Array.prototype=Object.create(WrapperObject.prototype);DracoFloat32Array.prototype.constructor=DracoFloat32Array;DracoFloat32Array.prototype.__class__=DracoFloat32Array;DracoFloat32Array.__cache__={};Module["DracoFloat32Array"]=DracoFloat32Array;DracoFloat32Array.prototype["GetValue"]=DracoFloat32Array.prototype.GetValue=function(index){var self=this.ptr;if(index&&typeof index==="object")index=index.ptr;return _emscripten_bind_DracoFloat32Array_GetValue_1(self,index)};DracoFloat32Array.prototype["size"]=DracoFloat32Array.prototype.size=function(){var self=this.ptr;return _emscripten_bind_DracoFloat32Array_size_0(self)};DracoFloat32Array.prototype["__destroy__"]=DracoFloat32Array.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DracoFloat32Array___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 DracoUInt8Array(){this.ptr=_emscripten_bind_DracoUInt8Array_DracoUInt8Array_0();getCache(DracoUInt8Array)[this.ptr]=this}DracoUInt8Array.prototype=Object.create(WrapperObject.prototype);DracoUInt8Array.prototype.constructor=DracoUInt8Array;DracoUInt8Array.prototype.__class__=DracoUInt8Array;DracoUInt8Array.__cache__={};Module["DracoUInt8Array"]=DracoUInt8Array;DracoUInt8Array.prototype["GetValue"]=DracoUInt8Array.prototype.GetValue=function(index){var self=this.ptr;if(index&&typeof index==="object")index=index.ptr;return _emscripten_bind_DracoUInt8Array_GetValue_1(self,index)};DracoUInt8Array.prototype["size"]=DracoUInt8Array.prototype.size=function(){var self=this.ptr;return _emscripten_bind_DracoUInt8Array_size_0(self)};DracoUInt8Array.prototype["__destroy__"]=DracoUInt8Array.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DracoUInt8Array___destroy___0(self)};function DracoInt16Array(){this.ptr=_emscripten_bind_DracoInt16Array_DracoInt16Array_0();getCache(DracoInt16Array)[this.ptr]=this}DracoInt16Array.prototype=Object.create(WrapperObject.prototype);DracoInt16Array.prototype.constructor=DracoInt16Array;DracoInt16Array.prototype.__class__=DracoInt16Array;DracoInt16Array.__cache__={};Module["DracoInt16Array"]=DracoInt16Array;DracoInt16Array.prototype["GetValue"]=DracoInt16Array.prototype.GetValue=function(index){var self=this.ptr;if(index&&typeof index==="object")index=index.ptr;return _emscripten_bind_DracoInt16Array_GetValue_1(self,index)};DracoInt16Array.prototype["size"]=DracoInt16Array.prototype.size=function(){var self=this.ptr;return _emscripten_bind_DracoInt16Array_size_0(self)};DracoInt16Array.prototype["__destroy__"]=DracoInt16Array.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DracoInt16Array___destroy___0(self)};function DracoUInt16Array(){this.ptr=_emscripten_bind_DracoUInt16Array_DracoUInt16Array_0();getCache(DracoUInt16Array)[this.ptr]=this}DracoUInt16Array.prototype=Object.create(WrapperObject.prototype);DracoUInt16Array.prototype.constructor=DracoUInt16Array;DracoUInt16Array.prototype.__class__=DracoUInt16Array;DracoUInt16Array.__cache__={};Module["DracoUInt16Array"]=DracoUInt16Array;DracoUInt16Array.prototype["GetValue"]=DracoUInt16Array.prototype.GetValue=function(index){var self=this.ptr;if(index&&typeof index==="object")index=index.ptr;return _emscripten_bind_DracoUInt16Array_GetValue_1(self,index)};DracoUInt16Array.prototype["size"]=DracoUInt16Array.prototype.size=function(){var self=this.ptr;return _emscripten_bind_DracoUInt16Array_size_0(self)};DracoUInt16Array.prototype["__destroy__"]=DracoUInt16Array.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DracoUInt16Array___destroy___0(self)};function DracoInt32Array(){this.ptr=_emscripten_bind_DracoInt32Array_DracoInt32Array_0();getCache(DracoInt32Array)[this.ptr]=this}DracoInt32Array.prototype=Object.create(WrapperObject.prototype);DracoInt32Array.prototype.constructor=DracoInt32Array;DracoInt32Array.prototype.__class__=DracoInt32Array;DracoInt32Array.__cache__={};Module["DracoInt32Array"]=DracoInt32Array;DracoInt32Array.prototype["GetValue"]=DracoInt32Array.prototype.GetValue=function(index){var self=this.ptr;if(index&&typeof index==="object")index=index.ptr;return _emscripten_bind_DracoInt32Array_GetValue_1(self,index)};DracoInt32Array.prototype["size"]=DracoInt32Array.prototype.size=function(){var self=this.ptr;return _emscripten_bind_DracoInt32Array_size_0(self)};DracoInt32Array.prototype["__destroy__"]=DracoInt32Array.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DracoInt32Array___destroy___0(self)};function DracoUInt32Array(){this.ptr=_emscripten_bind_DracoUInt32Array_DracoUInt32Array_0();getCache(DracoUInt32Array)[this.ptr]=this}DracoUInt32Array.prototype=Object.create(WrapperObject.prototype);DracoUInt32Array.prototype.constructor=DracoUInt32Array;DracoUInt32Array.prototype.__class__=DracoUInt32Array;DracoUInt32Array.__cache__={};Module["DracoUInt32Array"]=DracoUInt32Array;DracoUInt32Array.prototype["GetValue"]=DracoUInt32Array.prototype.GetValue=function(index){var self=this.ptr;if(index&&typeof index==="object")index=index.ptr;return _emscripten_bind_DracoUInt32Array_GetValue_1(self,index)};DracoUInt32Array.prototype["size"]=DracoUInt32Array.prototype.size=function(){var self=this.ptr;return _emscripten_bind_DracoUInt32Array_size_0(self)};DracoUInt32Array.prototype["__destroy__"]=DracoUInt32Array.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DracoUInt32Array___destroy___0(self)};function MetadataQuerier(){this.ptr=_emscripten_bind_MetadataQuerier_MetadataQuerier_0();getCache(MetadataQuerier)[this.ptr]=this}MetadataQuerier.prototype=Object.create(WrapperObject.prototype);MetadataQuerier.prototype.constructor=MetadataQuerier;MetadataQuerier.prototype.__class__=MetadataQuerier;MetadataQuerier.__cache__={};Module["MetadataQuerier"]=MetadataQuerier;MetadataQuerier.prototype["HasEntry"]=MetadataQuerier.prototype.HasEntry=function(metadata,entry_name){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);return!!_emscripten_bind_MetadataQuerier_HasEntry_2(self,metadata,entry_name)};MetadataQuerier.prototype["GetIntEntry"]=MetadataQuerier.prototype.GetIntEntry=function(metadata,entry_name){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);return _emscripten_bind_MetadataQuerier_GetIntEntry_2(self,metadata,entry_name)};MetadataQuerier.prototype["GetIntEntryArray"]=MetadataQuerier.prototype.GetIntEntryArray=function(metadata,entry_name,out_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(out_values&&typeof out_values==="object")out_values=out_values.ptr;_emscripten_bind_MetadataQuerier_GetIntEntryArray_3(self,metadata,entry_name,out_values)};MetadataQuerier.prototype["GetDoubleEntry"]=MetadataQuerier.prototype.GetDoubleEntry=function(metadata,entry_name){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);return _emscripten_bind_MetadataQuerier_GetDoubleEntry_2(self,metadata,entry_name)};MetadataQuerier.prototype["GetStringEntry"]=MetadataQuerier.prototype.GetStringEntry=function(metadata,entry_name){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);return UTF8ToString(_emscripten_bind_MetadataQuerier_GetStringEntry_2(self,metadata,entry_name))};MetadataQuerier.prototype["NumEntries"]=MetadataQuerier.prototype.NumEntries=function(metadata){var self=this.ptr;if(metadata&&typeof metadata==="object")metadata=metadata.ptr;return _emscripten_bind_MetadataQuerier_NumEntries_1(self,metadata)};MetadataQuerier.prototype["GetEntryName"]=MetadataQuerier.prototype.GetEntryName=function(metadata,entry_id){var self=this.ptr;if(metadata&&typeof metadata==="object")metadata=metadata.ptr;if(entry_id&&typeof entry_id==="object")entry_id=entry_id.ptr;return UTF8ToString(_emscripten_bind_MetadataQuerier_GetEntryName_2(self,metadata,entry_id))};MetadataQuerier.prototype["__destroy__"]=MetadataQuerier.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_MetadataQuerier___destroy___0(self)};function Decoder(){this.ptr=_emscripten_bind_Decoder_Decoder_0();getCache(Decoder)[this.ptr]=this}Decoder.prototype=Object.create(WrapperObject.prototype);Decoder.prototype.constructor=Decoder;Decoder.prototype.__class__=Decoder;Decoder.__cache__={};Module["Decoder"]=Decoder;Decoder.prototype["DecodeArrayToPointCloud"]=Decoder.prototype.DecodeArrayToPointCloud=function(data,data_size,out_point_cloud){var self=this.ptr;ensureCache.prepare();if(typeof data=="object"){data=ensureInt8(data)}if(data_size&&typeof data_size==="object")data_size=data_size.ptr;if(out_point_cloud&&typeof out_point_cloud==="object")out_point_cloud=out_point_cloud.ptr;return wrapPointer(_emscripten_bind_Decoder_DecodeArrayToPointCloud_3(self,data,data_size,out_point_cloud),Status)};Decoder.prototype["DecodeArrayToMesh"]=Decoder.prototype.DecodeArrayToMesh=function(data,data_size,out_mesh){var self=this.ptr;ensureCache.prepare();if(typeof data=="object"){data=ensureInt8(data)}if(data_size&&typeof data_size==="object")data_size=data_size.ptr;if(out_mesh&&typeof out_mesh==="object")out_mesh=out_mesh.ptr;return wrapPointer(_emscripten_bind_Decoder_DecodeArrayToMesh_3(self,data,data_size,out_mesh),Status)};Decoder.prototype["GetAttributeId"]=Decoder.prototype.GetAttributeId=function(pc,type){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(type&&typeof type==="object")type=type.ptr;return _emscripten_bind_Decoder_GetAttributeId_2(self,pc,type)};Decoder.prototype["GetAttributeIdByName"]=Decoder.prototype.GetAttributeIdByName=function(pc,name){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);return _emscripten_bind_Decoder_GetAttributeIdByName_2(self,pc,name)};Decoder.prototype["GetAttributeIdByMetadataEntry"]=Decoder.prototype.GetAttributeIdByMetadataEntry=function(pc,name,value){var self=this.ptr;ensureCache.prepare();if(pc&&typeof pc==="object")pc=pc.ptr;if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);if(value&&typeof value==="object")value=value.ptr;else value=ensureString(value);return _emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3(self,pc,name,value)};Decoder.prototype["GetAttribute"]=Decoder.prototype.GetAttribute=function(pc,att_id){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(att_id&&typeof att_id==="object")att_id=att_id.ptr;return wrapPointer(_emscripten_bind_Decoder_GetAttribute_2(self,pc,att_id),PointAttribute)};Decoder.prototype["GetAttributeByUniqueId"]=Decoder.prototype.GetAttributeByUniqueId=function(pc,unique_id){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(unique_id&&typeof unique_id==="object")unique_id=unique_id.ptr;return wrapPointer(_emscripten_bind_Decoder_GetAttributeByUniqueId_2(self,pc,unique_id),PointAttribute)};Decoder.prototype["GetMetadata"]=Decoder.prototype.GetMetadata=function(pc){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;return wrapPointer(_emscripten_bind_Decoder_GetMetadata_1(self,pc),Metadata)};Decoder.prototype["GetAttributeMetadata"]=Decoder.prototype.GetAttributeMetadata=function(pc,att_id){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(att_id&&typeof att_id==="object")att_id=att_id.ptr;return wrapPointer(_emscripten_bind_Decoder_GetAttributeMetadata_2(self,pc,att_id),Metadata)};Decoder.prototype["GetFaceFromMesh"]=Decoder.prototype.GetFaceFromMesh=function(m,face_id,out_values){var self=this.ptr;if(m&&typeof m==="object")m=m.ptr;if(face_id&&typeof face_id==="object")face_id=face_id.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetFaceFromMesh_3(self,m,face_id,out_values)};Decoder.prototype["GetTriangleStripsFromMesh"]=Decoder.prototype.GetTriangleStripsFromMesh=function(m,strip_values){var self=this.ptr;if(m&&typeof m==="object")m=m.ptr;if(strip_values&&typeof strip_values==="object")strip_values=strip_values.ptr;return _emscripten_bind_Decoder_GetTriangleStripsFromMesh_2(self,m,strip_values)};Decoder.prototype["GetTrianglesUInt16Array"]=Decoder.prototype.GetTrianglesUInt16Array=function(m,out_size,out_values){var self=this.ptr;if(m&&typeof m==="object")m=m.ptr;if(out_size&&typeof out_size==="object")out_size=out_size.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetTrianglesUInt16Array_3(self,m,out_size,out_values)};Decoder.prototype["GetTrianglesUInt32Array"]=Decoder.prototype.GetTrianglesUInt32Array=function(m,out_size,out_values){var self=this.ptr;if(m&&typeof m==="object")m=m.ptr;if(out_size&&typeof out_size==="object")out_size=out_size.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetTrianglesUInt32Array_3(self,m,out_size,out_values)};Decoder.prototype["GetAttributeFloat"]=Decoder.prototype.GetAttributeFloat=function(pa,att_index,out_values){var self=this.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(att_index&&typeof att_index==="object")att_index=att_index.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeFloat_3(self,pa,att_index,out_values)};Decoder.prototype["GetAttributeFloatForAllPoints"]=Decoder.prototype.GetAttributeFloatForAllPoints=function(pc,pa,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3(self,pc,pa,out_values)};Decoder.prototype["GetAttributeIntForAllPoints"]=Decoder.prototype.GetAttributeIntForAllPoints=function(pc,pa,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeIntForAllPoints_3(self,pc,pa,out_values)};Decoder.prototype["GetAttributeInt8ForAllPoints"]=Decoder.prototype.GetAttributeInt8ForAllPoints=function(pc,pa,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3(self,pc,pa,out_values)};Decoder.prototype["GetAttributeUInt8ForAllPoints"]=Decoder.prototype.GetAttributeUInt8ForAllPoints=function(pc,pa,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3(self,pc,pa,out_values)};Decoder.prototype["GetAttributeInt16ForAllPoints"]=Decoder.prototype.GetAttributeInt16ForAllPoints=function(pc,pa,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3(self,pc,pa,out_values)};Decoder.prototype["GetAttributeUInt16ForAllPoints"]=Decoder.prototype.GetAttributeUInt16ForAllPoints=function(pc,pa,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3(self,pc,pa,out_values)};Decoder.prototype["GetAttributeInt32ForAllPoints"]=Decoder.prototype.GetAttributeInt32ForAllPoints=function(pc,pa,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3(self,pc,pa,out_values)};Decoder.prototype["GetAttributeUInt32ForAllPoints"]=Decoder.prototype.GetAttributeUInt32ForAllPoints=function(pc,pa,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3(self,pc,pa,out_values)};Decoder.prototype["GetAttributeDataArrayForAllPoints"]=Decoder.prototype.GetAttributeDataArrayForAllPoints=function(pc,pa,data_type,out_size,out_values){var self=this.ptr;if(pc&&typeof pc==="object")pc=pc.ptr;if(pa&&typeof pa==="object")pa=pa.ptr;if(data_type&&typeof data_type==="object")data_type=data_type.ptr;if(out_size&&typeof out_size==="object")out_size=out_size.ptr;if(out_values&&typeof out_values==="object")out_values=out_values.ptr;return!!_emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5(self,pc,pa,data_type,out_size,out_values)};Decoder.prototype["SkipAttributeTransform"]=Decoder.prototype.SkipAttributeTransform=function(att_type){var self=this.ptr;if(att_type&&typeof att_type==="object")att_type=att_type.ptr;_emscripten_bind_Decoder_SkipAttributeTransform_1(self,att_type)};Decoder.prototype["GetEncodedGeometryType_Deprecated"]=Decoder.prototype.GetEncodedGeometryType_Deprecated=function(in_buffer){var self=this.ptr;if(in_buffer&&typeof in_buffer==="object")in_buffer=in_buffer.ptr;return _emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1(self,in_buffer)};Decoder.prototype["DecodeBufferToPointCloud"]=Decoder.prototype.DecodeBufferToPointCloud=function(in_buffer,out_point_cloud){var self=this.ptr;if(in_buffer&&typeof in_buffer==="object")in_buffer=in_buffer.ptr;if(out_point_cloud&&typeof out_point_cloud==="object")out_point_cloud=out_point_cloud.ptr;return wrapPointer(_emscripten_bind_Decoder_DecodeBufferToPointCloud_2(self,in_buffer,out_point_cloud),Status)};Decoder.prototype["DecodeBufferToMesh"]=Decoder.prototype.DecodeBufferToMesh=function(in_buffer,out_mesh){var self=this.ptr;if(in_buffer&&typeof in_buffer==="object")in_buffer=in_buffer.ptr;if(out_mesh&&typeof out_mesh==="object")out_mesh=out_mesh.ptr;return wrapPointer(_emscripten_bind_Decoder_DecodeBufferToMesh_2(self,in_buffer,out_mesh),Status)};Decoder.prototype["__destroy__"]=Decoder.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Decoder___destroy___0(self)};(function(){function setupEnums(){Module["ATTRIBUTE_INVALID_TRANSFORM"]=_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM();Module["ATTRIBUTE_NO_TRANSFORM"]=_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM();Module["ATTRIBUTE_QUANTIZATION_TRANSFORM"]=_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM();Module["ATTRIBUTE_OCTAHEDRON_TRANSFORM"]=_emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM();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["DT_INVALID"]=_emscripten_enum_draco_DataType_DT_INVALID();Module["DT_INT8"]=_emscripten_enum_draco_DataType_DT_INT8();Module["DT_UINT8"]=_emscripten_enum_draco_DataType_DT_UINT8();Module["DT_INT16"]=_emscripten_enum_draco_DataType_DT_INT16();Module["DT_UINT16"]=_emscripten_enum_draco_DataType_DT_UINT16();Module["DT_INT32"]=_emscripten_enum_draco_DataType_DT_INT32();Module["DT_UINT32"]=_emscripten_enum_draco_DataType_DT_UINT32();Module["DT_INT64"]=_emscripten_enum_draco_DataType_DT_INT64();Module["DT_UINT64"]=_emscripten_enum_draco_DataType_DT_UINT64();Module["DT_FLOAT32"]=_emscripten_enum_draco_DataType_DT_FLOAT32();Module["DT_FLOAT64"]=_emscripten_enum_draco_DataType_DT_FLOAT64();Module["DT_BOOL"]=_emscripten_enum_draco_DataType_DT_BOOL();Module["DT_TYPES_COUNT"]=_emscripten_enum_draco_DataType_DT_TYPES_COUNT();Module["OK"]=_emscripten_enum_draco_StatusCode_OK();Module["DRACO_ERROR"]=_emscripten_enum_draco_StatusCode_DRACO_ERROR();Module["IO_ERROR"]=_emscripten_enum_draco_StatusCode_IO_ERROR();Module["INVALID_PARAMETER"]=_emscripten_enum_draco_StatusCode_INVALID_PARAMETER();Module["UNSUPPORTED_VERSION"]=_emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION();Module["UNKNOWN_VERSION"]=_emscripten_enum_draco_StatusCode_UNKNOWN_VERSION()}if(runtimeInitialized)setupEnums();else addOnInit(setupEnums)})();if(typeof Module["onModuleParsed"]==="function"){Module["onModuleParsed"]()}Module["Decoder"].prototype.GetEncodedGeometryType=function(array){if(array.__class__&&array.__class__===Module.DecoderBuffer){return Module.Decoder.prototype.GetEncodedGeometryType_Deprecated(array)}if(array.byteLength<8)return Module.INVALID_GEOMETRY_TYPE;switch(array[7]){case 0:return Module.POINT_CLOUD;case 1:return Module.TRIANGULAR_MESH;default:return Module.INVALID_GEOMETRY_TYPE}};

  return DracoDecoderModule.ready
}
);
})();
if (typeof exports === 'object' && typeof module === 'object')
  module.exports = DracoDecoderModule;
else if (typeof define === 'function' && define['amd'])
  define([], function() { return DracoDecoderModule; });
else if (typeof exports === 'object')
  exports["DracoDecoderModule"] = DracoDecoderModule;